html:has(.replay-page), body.replay-page { height: 100%; margin: 0; overflow: hidden; }
.replay-page .ollama-toggle { z-index: 2000; }
.replay-page .ollama-panel { z-index: 1999; }
.replay-page { display: flex; flex-direction: column; height: 100%; min-height: 100vh; }
.replay-page .navbar { flex-shrink: 0; }
.replay-shell {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background:
        radial-gradient(ellipse 80% 55% at 12% 20%, rgba(60, 40, 110, 0.28), transparent 55%),
        radial-gradient(ellipse 70% 50% at 88% 80%, rgba(20, 50, 90, 0.22), transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(30, 20, 70, 0.18), transparent 60%),
        #050510;
}
.replay-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1rem;
    padding: 0.55rem 1rem;
    background: #12122a;
    border-bottom: 1px solid #2a2a55;
    flex-shrink: 0;
}
.replay-toolbar .replay-title {
    position: relative;
    font-weight: 600;
    color: #dce2ff;
    margin-right: 0.4rem;
    cursor: help;
}
.replay-game-tip {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 20;
    min-width: 240px;
    max-width: min(420px, 80vw);
    padding: 8px 10px;
    background: rgba(12, 12, 28, 0.97);
    border: 1px solid #5555bb;
    border-radius: 8px;
    color: #dce2ff;
    font-weight: 400;
    font-size: 0.78rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.45);
    white-space: normal;
}
.replay-game-tip .kv-grid { margin-top: 4px; }
.replay-game-tip .desc { color: #a8b0cc; margin-top: 6px; font-size: 0.72rem; }
.replay-chart-ctrls {
    display: flex;
    gap: 2px;
    margin-left: auto;
    flex-shrink: 0;
}
.replay-chart-ctrls button {
    width: 22px;
    height: 20px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: #8899bb;
    font-size: 0.65rem;
    cursor: pointer;
}
.replay-chart-ctrls button:hover { color: #fff; background: rgba(70,70,140,0.4); }
.replay-chart-card.is-max {
    position: fixed;
    inset: 8px;
    z-index: 40;
    background: #0c0c1c;
    border: 1px solid #5555bb;
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
}
.replay-chart-card.is-max .replay-chart { min-height: calc(100vh - 80px); }
body.replay-chart-max .replay-side { z-index: 35; }
.replay-turn-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 280px;
    min-width: 200px;
}
.replay-turn-wrap input[type="range"] { flex: 1; accent-color: #5555bb; }
.replay-turn-label { color: #aabbdd; font-variant-numeric: tabular-nums; min-width: 5.5rem; }
.replay-layers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.85rem;
    color: #c8cee8;
    font-size: 0.85rem;
}
.replay-layers label { cursor: pointer; user-select: none; white-space: nowrap; }
.replay-layers input { accent-color: #5555bb; margin-right: 0.25rem; }
.replay-layers input:disabled + span { opacity: 0.45; }
.replay-speed { color: #aabbdd; font-size: 0.85rem; }
.replay-speed select {
    background: #1a1a32;
    color: #dce2ff;
    border: 1px solid #3a3a60;
    border-radius: 4px;
    padding: 1px 4px;
}
.replay-poi {
    display: flex;
    align-items: center;
    gap: 0.55rem 0.75rem;
    padding: 0.35rem 0.85rem;
    background: linear-gradient(180deg, #161632 0%, #101028 100%);
    border-bottom: 1px solid #2a2a55;
    flex-shrink: 0;
    min-height: 2.4rem;
}
.replay-poi[hidden] { display: none !important; }
.replay-poi-label {
    color: #c9b36a;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}
.replay-poi-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    min-width: 0;
}
.replay-poi-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #4a4a88;
    background: rgba(30, 30, 70, 0.75);
    color: #e8ecff;
    border-radius: 999px;
    padding: 0.15rem 0.65rem;
    font-size: 0.75rem;
    cursor: pointer;
    max-width: 280px;
}
.replay-poi-chip:hover, .replay-poi-chip:focus {
    border-color: #8888ee;
    background: rgba(70, 70, 140, 0.85);
    outline: none;
}
.replay-poi-chip .poi-ico { color: #f5c542; }
.replay-poi-quiet { color: #8899bb; font-size: 0.78rem; }
.replay-body {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(230px, 22vw) minmax(0, 1fr) minmax(230px, 22vw);
    min-height: 0;
}
.replay-body.side-left-min {
    grid-template-columns: 28px minmax(0, 1fr) minmax(230px, 22vw);
}
.replay-body.side-right-min {
    grid-template-columns: minmax(230px, 22vw) minmax(0, 1fr) 28px;
}
.replay-body.side-left-min.side-right-min {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
}
.replay-side {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    background: rgba(8, 8, 22, 0.72);
    border-color: #2a2a55;
    border-style: solid;
    border-width: 0;
}
.replay-side-left { border-right-width: 1px; }
.replay-side-right { border-left-width: 1px; }
.replay-side-toggle {
    position: absolute;
    top: 50%;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 48px;
    padding: 0;
    border: 1px solid #3a3a70;
    border-radius: 6px;
    background: rgba(18, 18, 42, 0.95);
    color: #aabbdd;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
#replayMapMax[aria-pressed="true"] {
    background: #3a3a88;
    color: #fff;
    border-color: #3a3a88;
}
.replay-side-left .replay-side-toggle { right: -9px; }
.replay-side-right .replay-side-toggle { left: -9px; }
.replay-side-toggle:hover,
.replay-side-toggle:focus {
    color: #fff;
    background: #2a2a66;
    outline: none;
}
.replay-side.is-min {
    overflow: hidden;
    align-items: stretch;
}
.replay-side.is-min .replay-chart-card { display: none; }
.replay-side.is-min .replay-side-toggle {
    position: static;
    transform: none;
    width: 100%;
    height: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    right: auto;
    left: auto;
}
body.replay-map-max .navbar,
body.replay-map-max .site-disclaimer,
body.replay-map-max .ollama-toggle,
body.replay-map-max .ollama-panel {
    display: none !important;
}
body.replay-map-max .replay-side { display: none !important; }
body.replay-map-max .replay-body {
    grid-template-columns: minmax(0, 1fr);
}
.replay-shell:fullscreen,
.replay-shell:-webkit-full-screen {
    width: 100%;
    height: 100%;
    background: #050510;
}
.replay-chart-card {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0.4rem 0.45rem 0.15rem;
    border-bottom: 1px solid #222248;
}
.replay-chart-card:last-child { border-bottom: 0; }
.replay-chart-card h6,
.replay-chart-pick {
    color: #c8cee8;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin: 0 0 0.15rem;
    flex-shrink: 0;
}
.replay-chart-pick {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}
.replay-chart-pick i { flex-shrink: 0; }
.replay-chart-pick select {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 1px solid transparent;
    color: #c8cee8;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 1px 2px;
    cursor: pointer;
    border-radius: 3px;
}
.replay-chart-pick select:hover,
.replay-chart-pick select:focus {
    border-color: #3a3a60;
    background: #1a1a32;
    outline: none;
}
.replay-chart-pick select option {
    background: #1a1a32;
    color: #dce2ff;
    text-transform: none;
}
.replay-chart {
    flex: 1 1 auto;
    min-height: 140px;
    width: 100%;
    position: relative;
}
.replay-tools {
    position: absolute;
    z-index: 4;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    padding: 4px;
    background: rgba(12, 12, 28, 0.88);
    border: 1px solid #3a3a70;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.replay-tool {
    width: 34px;
    height: 32px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #c8cee8;
    cursor: pointer;
}
.replay-tool:hover { color: #fff; background: rgba(70, 70, 140, 0.45); }
.replay-tool.on {
    color: #fff;
    background: rgba(85, 85, 187, 0.45);
    border-color: #6666cc;
}
#replayCanvas.is-measure, #replayCanvas.is-select { cursor: crosshair; }
.replay-measure-hud {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    background: rgba(16, 16, 36, 0.92);
    border: 1px solid #c9b36a;
    color: #f5e6b0;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.replay-select-box {
    position: absolute;
    z-index: 4;
    border: 1px dashed #88aaff;
    background: rgba(80, 110, 220, 0.16);
    pointer-events: none;
}
.replay-combat-panel {
    position: absolute;
    z-index: 6;
    right: 10px;
    top: 52px;
    width: min(360px, calc(100% - 20px));
    max-height: min(70%, 420px);
    overflow: auto;
    background: rgba(12, 12, 28, 0.95);
    border: 1px solid #5555bb;
    border-radius: 8px;
    padding: 8px 10px;
    color: #dce2ff;
    font-size: 0.78rem;
    box-shadow: 0 0 16px rgba(85, 85, 187, 0.3);
}
.replay-combat-panel header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-weight: 600;
}
.replay-combat-dest { color: #c9b36a; font-size: 0.72rem; margin-bottom: 6px; }
.replay-combat-list { display: flex; flex-direction: column; gap: 4px; }
.replay-combat-row {
    display: grid;
    grid-template-columns: 1.4rem 10px 1fr auto;
    gap: 6px;
    align-items: center;
    padding: 3px 4px;
    border-radius: 4px;
    background: rgba(255,255,255,0.03);
}
.replay-combat-row .ord { color: #f5c542; font-variant-numeric: tabular-nums; font-weight: 700; }
.replay-combat-row .note { color: #c9b36a; font-size: 0.68rem; grid-column: 3 / -1; }
.replay-diplo {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    font-size: 0.7rem;
    color: #d0d6f0;
}
.replay-diplo-head {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
    color: #8899bb;
    font-size: 0.65rem;
}
.replay-diplo-wrap { overflow: auto; flex: 1; min-height: 0; }
.replay-diplo-table {
    border-collapse: collapse;
    width: max-content;
    min-width: 100%;
}
.replay-diplo-table th, .replay-diplo-table td {
    border: 1px solid #2a2a55;
    padding: 2px 3px;
    text-align: center;
    min-width: 2.4rem;
}
.replay-diplo-table th { background: #161632; font-weight: 600; }
.replay-diplo-table .corner { min-width: 3.2rem; font-size: 0.6rem; color: #8899bb; }
.replay-diplo-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    text-align: left;
    max-width: 4.6rem;
}
.replay-diplo-name small { color: #8899bb; font-weight: 400; }
.replay-diplo-name a.lg-name { color: inherit; text-decoration: none; }
.replay-diplo-name a.lg-name:hover { text-decoration: underline; }
.replay-diplo-cell {
    cursor: pointer;
    line-height: 1.15;
    background: transparent;
}
.replay-diplo-cell:hover { background: rgba(85, 85, 187, 0.28); }
.replay-diplo-cell .tn { color: #f5c542; font-weight: 700; }
.replay-diplo-cell .tt { color: #8a96b8; font-size: 0.62rem; }
.replay-diplo-cell.is-zero { cursor: default; color: #3a3a60; }
.replay-flow-empty {
    color: #8899bb;
    font-size: 0.75rem;
    padding: 1rem 0.4rem;
    text-align: center;
}
.replay-flow-hint {
    color: #6a7698;
    font-size: 0.65rem;
    text-align: center;
    margin-top: 2px;
}
.replay-flow-panel {
    position: absolute;
    inset: 0;
    z-index: 6;
    background: rgba(10, 10, 26, 0.96);
    border: 1px solid #3a3a70;
    overflow: auto;
    padding: 6px 8px 8px;
    font-size: 0.72rem;
    color: #d0d6f0;
}
.replay-flow-panel header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: #e8ecff;
    font-size: 0.75rem;
}
.replay-flow-panel header .tip-count {
    background: #333366;
    border-radius: 8px;
    padding: 0 6px;
    font-size: 0.68rem;
}
.replay-flow-close {
    margin-left: auto;
    background: transparent;
    border: 0;
    color: #aabbdd;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
}
.replay-flow-close:hover { color: #fff; }
.replay-flow-panel .msg { margin-bottom: 0.55rem; }
.replay-flow-panel .msg-turn { color: #c9b36a; font-size: 0.65rem; margin-bottom: 1px; }
.replay-flow-panel .msg-h { font-weight: 600; }
.replay-flow-panel .msg-body { color: #b8c0dc; margin-top: 2px; white-space: pre-wrap; }
.replay-stage {
    position: relative;
    min-height: 320px;
    min-width: 0;
    overflow: hidden;
}
.replay-stage::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 80px 18px rgba(4, 4, 14, 0.55);
    z-index: 2;
}
#replayCanvas {
    display: block;
    width: 100%;
    height: 100%;
    touch-action: none;
    cursor: grab;
}
#replayCanvas.is-dragging { cursor: grabbing; }
.replay-legend {
    position: absolute;
    z-index: 3;
    top: 10px;
    left: 10px;
    max-width: 220px;
    background: rgba(12, 12, 28, 0.82);
    border: 1px solid #333366;
    border-radius: 8px;
    padding: 4px 8px 6px;
    font-size: 0.78rem;
    color: #d0d6f0;
    max-height: 55%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.replay-legend .lg-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    background: transparent;
    border: 0;
    color: #c8cee8;
    padding: 4px 2px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.replay-legend .lg-toggle:hover { color: #fff; }
.replay-legend .lg-count {
    font-weight: 500;
    color: #8899bb;
    text-transform: none;
    letter-spacing: 0;
}
.replay-legend .lg-chevron {
    margin-left: auto;
    font-size: 0.65rem;
    transition: transform 0.15s ease;
}
.replay-legend.is-collapsed .lg-chevron { transform: rotate(-90deg); }
.replay-legend .lg-body {
    overflow-y: auto;
    min-height: 0;
    padding-bottom: 2px;
}
.replay-legend.is-collapsed .lg-body { display: none; }
.replay-legend .lg-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0;
}
.replay-legend .lg-name {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.replay-legend .lg-name:hover,
.replay-legend .lg-name:focus {
    color: #fff;
    text-decoration: underline;
    outline: none;
}
.replay-legend .lg-swatch {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.replay-view-mode {
    display: inline-flex;
    border: 1px solid #3a3a6a;
    border-radius: 6px;
    overflow: hidden;
}
.replay-view-mode .btn {
    border: 0;
    border-radius: 0;
    min-width: 2.4rem;
    color: #a8b0cc;
}
.replay-view-mode .btn.on {
    background: #3a3a88;
    color: #fff;
}
.replay-hint {
    position: absolute;
    z-index: 3;
    left: 10px;
    bottom: 10px;
    color: #8899bb;
    font-size: 0.75rem;
    background: rgba(12, 12, 28, 0.7);
    padding: 4px 8px;
    border-radius: 6px;
    pointer-events: none;
}
.replay-tooltip {
    position: absolute;
    display: none;
    pointer-events: none;
    z-index: 5;
    background: rgba(16, 16, 36, 0.94);
    border: 1px solid #5555bb;
    border-radius: 8px;
    padding: 8px 10px;
    color: #e8ecff;
    font-size: 0.82rem;
    max-width: 360px;
    box-shadow: 0 0 16px rgba(85, 85, 187, 0.35);
}
.replay-tooltip.is-pinned {
    pointer-events: auto;
    max-width: 400px;
    max-height: min(70vh, 460px);
    overflow: auto;
}
.replay-tooltip strong { color: #fff; }
.replay-tooltip .stars { color: #f5c542; letter-spacing: 1px; }
.replay-tooltip .coords { color: #8899bb; font-size: 0.75rem; margin-top: 4px; }
.replay-tooltip .stale { color: #c9b36a; font-size: 0.75rem; }
.replay-tooltip .sb { color: #9ad0ff; font-weight: 600; }
.replay-tooltip .kv-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1px 12px;
    margin-top: 4px;
}
.replay-tooltip .kv { display: contents; }
.replay-tooltip .kv span:first-child { color: #9aa6c8; }
.replay-tooltip .kv span:last-child { font-variant-numeric: tabular-nums; text-align: right; }
.replay-tooltip .mins {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 5px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}
.replay-tooltip .min-n { color: #7ec8ff; }
.replay-tooltip .min-d { color: #ffcc66; }
.replay-tooltip .min-t { color: #ff8888; }
.replay-tooltip .min-m { color: #cc88ff; }
.replay-tooltip .ship-tip { display: flex; gap: 10px; align-items: flex-start; }
.replay-tooltip .hull-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    flex-shrink: 0;
}
.replay-tooltip .hull-img.sm {
    width: 40px;
    height: 40px;
}
.replay-tooltip .ship-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 280px;
    overflow: auto;
}
.replay-tooltip .ship-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 4px 6px;
    color: inherit;
    cursor: pointer;
}
.replay-tooltip .ship-row:hover {
    border-color: #f5c542;
    background: rgba(245, 197, 66, 0.08);
}
.replay-tooltip .ship-row-txt {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.replay-tooltip .ship-row-txt small {
    color: #9aa6c8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.replay-tooltip .tip-back {
    background: transparent;
    border: 0;
    color: #9ad0ff;
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0 0 6px;
}
.replay-tooltip .hull-name { color: #c5d0ff; }
.replay-tooltip .tip-msg-hint { color: #c9b36a; font-size: 0.75rem; margin-top: 6px; }
.replay-tooltip .tip-tabs {
    display: flex;
    gap: 4px;
    margin: -2px 0 8px;
    border-bottom: 1px solid #333366;
}
.replay-tooltip .tip-tab {
    background: transparent;
    border: 0;
    color: #9aa6c8;
    padding: 3px 8px 5px;
    font-size: 0.75rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.replay-tooltip .tip-tab.on { color: #f5c542; border-bottom-color: #f5c542; }
.replay-tooltip .tip-count {
    display: inline-block;
    min-width: 1.1rem;
    padding: 0 4px;
    border-radius: 8px;
    background: #3a3a70;
    color: #e8ecff;
    font-size: 0.68rem;
}
.replay-tooltip .poi-sec {
    color: #c9b36a;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 8px 0 2px;
}
.replay-tooltip .poi-list {
    margin: 0;
    padding-left: 1.1rem;
}
.replay-tooltip .poi-list li { margin: 2px 0; }
.replay-tooltip .tip-msgs { display: flex; flex-direction: column; gap: 8px; }
.replay-tooltip .msg {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 6px 8px;
}
.replay-tooltip .msg-h { font-weight: 600; color: #fff; }
.replay-tooltip .msg-body { color: #c8cee8; margin-top: 3px; white-space: pre-wrap; }
.replay-tooltip .tip-quiet { color: #8899bb; }
.replay-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aabbdd;
    background: rgba(7, 7, 20, 0.55);
    z-index: 4;
    font-size: 1rem;
}
.replay-loading.hidden { display: none; }
.replay-loading-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 220px;
}
.replay-load-count {
    font-size: 0.88rem;
    color: #c5cef8;
    font-variant-numeric: tabular-nums;
}
.replay-load-status {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.28rem 0.9rem;
    font-size: 0.84rem;
    font-variant-numeric: tabular-nums;
    color: #d5dcf8;
    background: rgba(40, 40, 90, 0.55);
    border-bottom: 1px solid rgba(136, 153, 255, 0.28);
}
.replay-load-status .fa-spinner { color: #f5c542; font-size: 0.78rem; }
.replay-empty { color: #aabbdd; padding: 3rem 1rem; text-align: center; }
@media (max-width: 1100px) {
    .replay-body,
    .replay-body.side-left-min,
    .replay-body.side-right-min,
    .replay-body.side-left-min.side-right-min {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: minmax(360px, 1fr) auto auto;
    }
    .replay-stage { grid-column: 1 / -1; min-height: 360px; }
    .replay-side { max-height: 240px; }
    .replay-side-toggle {
        position: static;
        transform: none;
        width: 100%;
        height: 28px;
        border: 0;
        border-bottom: 1px solid #2a2a55;
        border-radius: 0;
        box-shadow: none;
        right: auto;
        left: auto;
    }
    .replay-side.is-min { max-height: 28px; }
}
