/* The bottom panel shown while the year replays. */

.replay {
    position: fixed;
    left: 50%;
    bottom: 24px;
    width: 640px;
    max-width: calc(100% - 32px);
    transform: translateX(-50%);
    z-index: 7;
    padding: 20px 24px 22px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.rp-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}
.rp-left {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 0;
}
.rp-tile {
    width: 52px;
    height: 52px;
    border-radius: 14px;
}
.rp-tile svg.i {
    width: 26px;
    height: 26px;
}
.rp-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.rp-when {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
}
.rp-route {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rp-sub {
    font-size: 14px;
    color: var(--ink-2);
}
.rp-right {
    text-align: right;
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rp-right span:first-child,
.rp-right span:last-child {
    font-size: 12px;
    color: var(--ink-2);
}
.rp-right span:first-child {
    font-weight: 600;
}
.rp-sofar {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
    font-variant-numeric: tabular-nums;
}
.rp-track {
    position: relative;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .12);
}
.rp-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 3px;
    background: linear-gradient(90deg, #64D2FF, #0A84FF);
    transition: width .5s ease;
}
.rp-dot {
    position: absolute;
    top: 50%;
    width: 4px;
    height: 4px;
    margin: -2px 0 0 -2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
}
.rp-dot.done {
    background: #fff;
}
.rp-knob {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .5);
    transition: left .5s ease;
}
.rp-months {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--ink-3);
    margin-top: 8px;
}
