/* The side panel with its Overview, Journeys and Places tabs. */

.panel {
    position: fixed;
    top: 16px;
    right: 16px;
    bottom: 16px;
    width: 400px;
    z-index: 6;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
body.is-replay .panel {
    display: none;
}
.grabber {
    display: none;
}
.panel-head {
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px 24px;
    overscroll-behavior: contain;
}
.tabpanel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.range {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
}
.hero {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero h1 {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.big {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
    font-variant-numeric: tabular-nums;
}
.big-unit {
    font-size: 23px;
    font-weight: 600;
    color: var(--ink-2);
    letter-spacing: -0.02em;
}
.recap {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    color: var(--ink-2);
}
.recap b {
    color: var(--ink);
    font-weight: 600;
}
.box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, .055);
    border-radius: 16px;
}
.tabpanel h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}
.stack {
    display: flex;
    gap: 2px;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}
.stack span {
    display: block;
}
.modes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.modes li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto 44px;
    gap: 10px;
    align-items: center;
    min-height: 36px;
}
.m-name {
    font-size: 14.5px;
}
.m-km {
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.m-pct {
    font-size: 13px;
    color: var(--ink-2);
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.stats {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.stats > div {
    padding: 14px;
    background: rgba(255, 255, 255, .055);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.stats dt {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink-2);
}
.stats dd {
    margin: 0;
    font-size: 12.5px;
    color: var(--ink-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.stats dd.v {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.chips li {
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
}
.j-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.j-head h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.j-head span {
    font-size: 14px;
    color: var(--ink-2);
}
.month {
    margin: 6px 0 2px;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.jlist {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.jrow {
    width: 100%;
    min-height: 56px;
    padding: 8px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    text-align: left;
    cursor: pointer;
}
.jrow:hover {
    background: rgba(255, 255, 255, .06);
}
.jrow .tile {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}
.jrow .tile svg.i {
    width: 18px;
    height: 18px;
}
.j-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.j-route {
    font-size: 14.5px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.j-sub {
    font-size: 12.5px;
    color: var(--ink-2);
}
.j-date {
    font-size: 13px;
    color: var(--ink-2);
    font-variant-numeric: tabular-nums;
}
.jrow[aria-pressed="true"] {
    background: rgba(10, 132, 255, .28);
}
.jrow[aria-pressed="true"] .j-sub,
.jrow[aria-pressed="true"] .j-date {
    color: #D6E8FF;
}
.empty {
    margin: 0;
    padding: 18px 8px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-2);
}
.homecard {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, .055);
    border-radius: 16px;
}
.homecard .tile {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
}
.homecard .tile svg.i {
    width: 22px;
    height: 22px;
}
.hc-name {
    font-size: 17px;
    font-weight: 600;
}
.hc-sub {
    font-size: 13px;
    color: var(--ink-2);
    margin-top: 2px;
}
.plist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.plist li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 6px 10px;
    align-items: center;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.p-rank {
    font-size: 13px;
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
}
.p-name {
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.p-time {
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.p-bar {
    grid-column: 2 / 4;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}
.p-bar i {
    display: block;
    height: 100%;
    min-width: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, #64D2FF, #0A84FF);
}
.more {
    align-self: flex-start;
    height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
}
