:root{--navy:#062f5f;--blue:#0b63b6;--red:#d92d20;--text:#10213d;--muted:#60708a;--line:#d8e1ec;--soft:#f4f7fb}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:linear-gradient(rgba(3,31,63,.22),rgba(3,31,63,.22)),url('../../assets/images/hero.jpg') center/cover fixed no-repeat}.replay-page{padding:28px 0 48px}.replay-container{width:min(1380px,calc(100% - 28px));margin:auto}.replay-shell{overflow:hidden;border-radius:20px;background:rgba(255,255,255,.98);box-shadow:0 25px 65px rgba(0,0,0,.25)}.replay-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px;color:#fff;background:linear-gradient(135deg,var(--navy),var(--blue))}.replay-kicker{display:block;margin-bottom:7px;font-size:.76rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#bfdbfe}.replay-hero h1{margin:0;font-size:clamp(1.65rem,3.4vw,2.65rem)}.replay-hero p{margin:8px 0 0;color:#dbeafe}.replay-back{display:inline-flex;min-height:44px;padding:0 16px;align-items:center;border-radius:10px;background:#fff;color:#0751a1;font-weight:900;text-decoration:none;white-space:nowrap}.replay-player{padding:12px 16px;border-bottom:1px solid var(--line);background:#eef2f8}.replay-controls{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}.replay-controls button{height:38px;min-width:42px;padding:0 11px;border:1px solid #b8c3d2;background:#fff;color:#3c2f2b;border-radius:4px;font-size:1rem;font-weight:900;cursor:pointer}.replay-controls button:hover{background:#e7effa}.replay-controls button:disabled{opacity:.45;cursor:not-allowed}.replay-controls .control-main{min-width:116px;background:#fff}.replay-clock{min-width:230px;height:38px;padding:0 14px;display:flex;align-items:center;justify-content:center;border:1px solid #b8c3d2;background:#fff;font-size:1.08rem;font-weight:900;color:#4a352d}.replay-progress-row{display:flex;align-items:center;gap:13px;margin-top:10px}.replay-progress-row input{width:100%;accent-color:var(--blue)}.replay-progress-row strong{min-width:72px;text-align:right;color:#30425e}.replay-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(285px,1fr);min-height:670px}.replay-map-wrap{position:relative;min-height:670px;border-right:1px solid var(--line)}#replay-map{position:absolute;inset:0}.replay-loading{position:absolute;z-index:700;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.86);font-weight:900;color:var(--navy)}.privacy-note{position:absolute;z-index:500;left:14px;bottom:14px;max-width:430px;padding:9px 12px;border-radius:9px;background:rgba(255,255,255,.94);box-shadow:0 6px 18px rgba(0,0,0,.17);font-size:.78rem;color:#536781}.replay-sidebar{padding:22px;background:#fff}.current-label{font-size:.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.current-arrival{margin-top:9px;padding:18px;border-radius:14px;border:1px solid var(--line);background:linear-gradient(180deg,#fff,#f7faff)}.current-arrival.empty{color:var(--muted)}.current-arrival .arrival-order{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;margin-bottom:12px;border-radius:50%;background:#fee2e2;color:#b42318;font-size:1.1rem;font-weight:900}.current-arrival h2{margin:0;font-size:1.28rem}.current-arrival .club{margin:5px 0 0;color:var(--muted)}.current-arrival dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 0}.current-arrival dt{font-size:.7rem;text-transform:uppercase;font-weight:900;color:var(--muted)}.current-arrival dd{margin:3px 0 0;font-weight:900;color:#20324e}.replay-help{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.replay-help h2{margin:0 0 10px;font-size:1.08rem}.replay-help p{margin:8px 0;color:#536781;line-height:1.45;font-size:.88rem}.chronology-marker{width:22px;height:22px;border-radius:50%;background:#d92d20;border:3px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.3)}.chronology-marker.current{width:28px;height:28px;background:#ef2d1f;animation:arrivalPulse 1.2s ease-out infinite}.chronology-marker.past{background:#a91f17}@keyframes arrivalPulse{0%{box-shadow:0 0 0 0 rgba(217,45,32,.55),0 4px 12px rgba(0,0,0,.3)}75%{box-shadow:0 0 0 16px rgba(217,45,32,0),0 4px 12px rgba(0,0,0,.3)}100%{box-shadow:0 0 0 0 rgba(217,45,32,0),0 4px 12px rgba(0,0,0,.3)}}.leaflet-popup-content{min-width:190px}.popup-title{font-weight:900}.popup-sub{margin-top:3px;color:#60708a}.popup-time{margin-top:8px;color:#0751a1;font-weight:900}@media(max-width:900px){.replay-hero{align-items:flex-start;flex-direction:column}.replay-layout{grid-template-columns:1fr}.replay-map-wrap{min-height:60vh;border-right:0;border-bottom:1px solid var(--line)}.replay-sidebar{padding:18px}}@media(max-width:580px){.replay-page{padding:12px 0 28px}.replay-container{width:calc(100% - 14px)}.replay-hero{padding:20px 16px}.replay-clock{width:100%;min-width:0;order:-1}.replay-controls button{flex:1}.replay-controls .control-main{min-width:100%}.replay-progress-row{align-items:stretch;flex-direction:column}.replay-progress-row strong{text-align:left}.privacy-note{right:10px;left:10px}.current-arrival dl{grid-template-columns:1fr}}
.speed-control{display:flex;align-items:center;gap:5px;height:38px;padding:0 6px;border:1px solid #b8c3d2;border-radius:5px;background:#fff}.speed-control span{padding:0 3px;font-size:.76rem;font-weight:900;color:#536781;text-transform:uppercase}.replay-controls .speed-button{height:28px;min-width:36px;padding:0 7px;border:0;border-radius:5px;background:#edf2f8;color:#30425e;font-size:.82rem}.replay-controls .speed-button.active{background:var(--blue);color:#fff;box-shadow:0 2px 7px rgba(11,99,182,.28)}.timeline-time{min-width:64px;font-size:.78rem;font-weight:900;color:#536781;font-variant-numeric:tabular-nums}.replay-stats{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.replay-stats h2{margin:0 0 11px;font-size:1.08rem}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.stats-grid>div{padding:11px;border:1px solid var(--line);border-radius:10px;background:#f7faff}.stats-grid span{display:block;font-size:.68rem;font-weight:900;text-transform:uppercase;color:var(--muted)}.stats-grid strong{display:block;margin-top:5px;font-size:1rem;color:#20324e;font-variant-numeric:tabular-nums}@media(max-width:720px){.speed-control{width:100%;justify-content:center;order:2}.timeline-time{display:none}}@media(max-width:580px){.stats-grid{grid-template-columns:1fr 1fr}.replay-controls .speed-button{flex:0 0 auto}.speed-control span{display:none}}
/* Sprint 3 */
.replay-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.replay-tools select,.replay-controls .tool-button{height:38px;border:1px solid #b8c3d2;border-radius:5px;background:#fff;color:#30425e;font-weight:800;padding:0 10px}.replay-controls .tool-button{font-size:.78rem;min-width:auto}.replay-controls .tool-button.active{background:#e5f0ff;color:#0751a1;border-color:#7db1e8}.map-legend{position:absolute;z-index:500;top:12px;left:50%;transform:translateX(-50%);padding:8px 11px;border-radius:9px;background:rgba(255,255,255,.94);box-shadow:0 5px 16px rgba(0,0,0,.15);font-size:.72rem;font-weight:800;white-space:nowrap}.map-legend span{display:inline-block;vertical-align:middle;margin:0 4px 0 8px}.legend-current,.legend-past{width:10px;height:10px;border-radius:50%}.legend-current{background:#ef2d1f}.legend-past{background:#a91f17}.legend-line{width:23px;border-top:2px dashed #0b63b6}.chronology-marker span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:10px;filter:grayscale(1) brightness(5)}.chronology-marker.current span{font-size:13px;animation:pigeonFloat .7s ease-in-out infinite alternate}.chronology-trail{stroke:#0b63b6}.replay-radar{position:absolute;z-index:490;width:120px;height:120px;pointer-events:none;transform:translate(-50%,-50%);opacity:0}.replay-radar span,.replay-radar:before,.replay-radar:after{content:"";position:absolute;inset:0;border:2px solid rgba(11,99,182,.55);border-radius:50%}.replay-radar.active{animation:radarFade 1.5s ease-out}.replay-radar.active span{animation:radarRing 1.5s ease-out}.replay-radar.active:before{animation:radarRing 1.5s .2s ease-out}.replay-radar.active:after{animation:radarRing 1.5s .4s ease-out}.replay-toast{position:absolute;z-index:900;left:50%;bottom:62px;transform:translate(-50%,15px);padding:10px 16px;border-radius:9px;background:#062f5f;color:#fff;font-weight:800;opacity:0;pointer-events:none;transition:.2s}.replay-toast.show{opacity:1;transform:translate(-50%,0)}.replay-shell:fullscreen{background:#fff;border-radius:0;width:100vw;height:100vh}.replay-shell:fullscreen .replay-layout{height:calc(100vh - 198px);min-height:0}.replay-shell:fullscreen .replay-map-wrap{min-height:0}.replay-shell:fullscreen .replay-hero{padding:12px 22px}.replay-shell:fullscreen .replay-hero p{display:none}@keyframes radarRing{0%{transform:scale(.08);opacity:1}100%{transform:scale(1);opacity:0}}@keyframes radarFade{0%,90%{opacity:1}100%{opacity:0}}@keyframes pigeonFloat{from{transform:translateY(-1px) rotate(-5deg)}to{transform:translateY(2px) rotate(5deg)}}@media(max-width:1050px){.replay-tools{width:100%;justify-content:center;order:3}.map-legend{white-space:normal;text-align:center;max-width:calc(100% - 24px)}}@media(max-width:580px){.replay-tools select{width:100%}.replay-controls .tool-button{flex:1}.map-legend{display:none}.replay-shell:fullscreen .replay-layout{height:calc(100vh - 250px)}}
