.demo-replay{--replay-line:hsl(var(--border-subtle));--replay-accent:#b7c8e0;max-width:1600px;margin:0 auto;padding:8px 24px 24px;color:hsl(var(--foreground))}.demo-replay button,.demo-replay input,.demo-replay select,.demo-replay summary{-webkit-tap-highlight-color:transparent}.demo-replay button:focus-visible,.demo-replay input:focus-visible,.demo-replay select:focus-visible,.demo-replay summary:focus-visible{outline:2px solid var(--replay-accent);outline-offset:3px}.demo-replay button:disabled{opacity:.35;cursor:not-allowed}.demo-replay button,.demo-replay summary{touch-action:manipulation}.demo-replay small{color:hsl(var(--muted-foreground))}.replay-eyebrow{display:inline-flex;align-items:center;gap:7px;padding:4px 10px;border:1px solid hsl(var(--primary)/.25);border-radius:999px;background:hsl(var(--primary)/.08);font-size:10px;letter-spacing:.14em;font-weight:650;color:hsl(var(--primary))}.replay-eyebrow>i{width:6px;height:6px;border-radius:50%;background:hsl(var(--primary));box-shadow:0 0 8px hsl(var(--primary))}.replay-welcome{max-width:1080px;min-height:calc(100svh - 190px);margin:auto;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(360px,.94fr);align-items:stretch;align-content:center;gap:24px 32px;padding:24px 12px 36px}.replay-welcome h1{font-size:clamp(30px,3.4vw,40px);letter-spacing:-.04em;font-weight:700;margin:12px 0 6px;line-height:1.15}.replay-welcome .replay-subtitle{color:hsl(var(--foreground));font-size:17px;font-weight:500;margin-bottom:6px}.replay-welcome .replay-intro{color:hsl(var(--muted-foreground));font-size:13.5px;line-height:1.7;max-width:520px}.replay-welcome-copy{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 32px;min-width:0}.replay-welcome-heading{min-width:0;flex:1 1 420px}.replay-welcome-preview{position:relative;display:flex;flex-direction:column;width:100%;text-align:start;border:1px solid var(--replay-line);border-radius:16px;background:hsl(var(--card));overflow:hidden;box-shadow:0 20px 48px rgba(0,0,0,.32);transition:border-color .16s ease,transform .16s ease}.replay-welcome-preview:focus-within,.replay-welcome-preview:hover{border-color:hsl(var(--primary)/.45);transform:translateY(-1px)}.replay-preview-link{display:flex;flex-direction:column;flex:1;width:100%;text-align:start}.replay-preview-link:focus-visible{outline-offset:-2px}.replay-preview-motion.replay-icon-button{position:absolute;inset:auto 10px 10px auto;background:hsl(var(--surface-inset)/.9);border:1px solid var(--replay-line)}@media (prefers-reduced-motion:reduce){.replay-preview-motion.replay-icon-button{display:none}.replay-welcome-preview{transition:none}.replay-welcome-preview:is(:hover,:focus-within){transform:none}}.replay-preview-hud{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:10px 16px;border-bottom:1px solid var(--replay-line);background:hsl(var(--surface-subtle)/.7);font-size:11px;font-variant-numeric:tabular-nums}.replay-preview-map{font-weight:700;letter-spacing:.06em;color:hsl(var(--foreground))}.replay-preview-tag{display:inline-flex;align-items:center;gap:5px;color:hsl(var(--muted-foreground))}.replay-preview-stage{display:flex;flex:1;align-items:center;justify-content:center;background:#0b0e14;overflow:hidden}.replay-preview-stage img{display:block;width:100%;max-height:410px;height:auto;object-fit:contain}.replay-welcome-chips{display:flex;flex-wrap:wrap;gap:8px}.replay-welcome-chips>span{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border:1px solid var(--replay-line);border-radius:999px;background:hsl(var(--surface-subtle)/.7);color:hsl(var(--muted-foreground));font-size:11px}.replay-welcome-chips svg{color:var(--replay-accent)}.replay-import{border:1px solid var(--replay-line);border-radius:16px;background:hsl(var(--card));box-shadow:0 20px 48px rgba(0,0,0,.32);display:flex;flex-direction:column;overflow:hidden}.replay-import-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:10px 16px;border-bottom:1px solid var(--replay-line);background:hsl(var(--surface-subtle)/.7)}.replay-import-format{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;letter-spacing:.05em;color:hsl(var(--muted-foreground))}.replay-import-format b{padding:2px 6px;border:1px solid var(--replay-line);border-radius:5px;background:hsl(var(--surface-inset));color:hsl(var(--foreground));font-family:var(--font-mono,monospace);font-size:10px}.replay-import-local{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:hsl(var(--muted-foreground))}.replay-import-local>i{width:6px;height:6px;border-radius:50%;background:#34d399;box-shadow:0 0 8px rgba(52,211,153,.55)}.replay-import-drop{flex:1;margin:14px;padding:32px 22px;text-align:center;border:1px dashed hsl(var(--border));border-radius:12px;background:radial-gradient(circle at 50% 0,hsl(var(--primary)/.12),transparent 68%),hsl(var(--surface-inset)/.65);display:flex;align-items:center;justify-content:center;flex-direction:column}.replay-import-icon{width:54px;height:54px;border:1px solid hsl(var(--primary)/.28);border-radius:14px;background:hsl(var(--primary)/.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);display:grid;place-items:center;margin-bottom:18px;color:hsl(var(--primary))}.replay-import h2{font-size:18px;font-weight:600;letter-spacing:-.01em}.replay-import-drop>p{font-size:12px;color:hsl(var(--muted-foreground));margin:6px 0 22px}.replay-import-actions{display:flex;flex-direction:column;gap:10px;width:min(100%,260px)}.replay-primary{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:43px;padding:10px 20px;border-radius:8px;background:hsl(var(--primary));color:hsl(var(--primary-foreground));box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 4px 14px hsl(var(--primary)/.25);font-size:13px;font-weight:600}.replay-primary:hover{filter:brightness(1.08)}.replay-primary:active{transform:scale(.98)}.replay-text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:12px;padding:8px 0;color:hsl(var(--foreground))}.replay-text-button:hover{color:var(--replay-accent)}.replay-import-help{border-top:1px solid var(--replay-line);background:hsl(var(--surface-inset)/.45);color:hsl(var(--muted-foreground));font-size:12px}.replay-import-help summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;cursor:pointer;list-style:none;font-weight:500;transition:color .14s ease}.replay-import-help summary::-webkit-details-marker{display:none}.replay-import-help summary:hover{color:hsl(var(--foreground))}.replay-import-help summary svg{flex-shrink:0;transition:transform .16s ease}.replay-import-help[open] summary svg{transform:rotate(180deg)}.replay-import-help p{font-size:12px;line-height:1.7;padding:0 16px 14px;color:hsl(var(--muted-foreground))}.replay-workspace{position:relative;border:1px solid var(--replay-line);border-radius:12px;background:hsl(var(--card));display:flex;flex-direction:column}.replay-workspace-empty{border:0;max-width:1060px;margin:auto}.replay-workspace:fullscreen{width:100%;height:100dvh;max-width:none;border:0;border-radius:0;overflow:auto}.replay-workspace:fullscreen .replay-body{flex:1;min-height:0;height:auto}.replay-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 18px;border-bottom:1px solid var(--replay-line);min-height:58px}.replay-heading{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-width:0}.replay-heading-main{display:flex;max-width:100%;align-items:center;gap:10px;min-width:0}.replay-heading h1{font-size:15px;font-weight:700;letter-spacing:.04em;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.replay-meta-pill{display:inline-flex;flex:none;align-items:center;gap:5px;height:22px;padding:0 8px;border:1px solid var(--replay-line);border-radius:999px;background:hsl(var(--surface-inset));color:hsl(var(--muted-foreground));font-size:10px;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}.replay-meta-pill strong{color:hsl(var(--foreground));font-weight:600}.replay-file-name{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.2;color:hsl(var(--muted-foreground))}.replay-header-actions{display:flex;gap:4px;align-items:center;margin-left:auto}.replay-icon-button,.replay-popover>summary{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:6px;color:hsl(var(--muted-foreground));cursor:pointer}.replay-icon-button:hover,.replay-popover>summary:hover{color:hsl(var(--foreground));background:hsl(var(--surface-strong))}.replay-icon-button[aria-pressed=true]{color:var(--replay-accent);background:hsl(var(--glow-1)/.1)}.replay-popover{position:relative}.replay-popover>summary{list-style:none}.replay-popover>summary::-webkit-details-marker{display:none}.replay-popover-content{position:absolute;right:0;top:calc(100% + 10px);z-index:70;width:250px;padding:18px;background:hsl(var(--popover));border:1px solid hsl(var(--border));border-radius:9px;box-shadow:0 12px 36px #0004;font-size:12px}.replay-popover-content strong{display:block;font-size:12px;margin-bottom:12px}.replay-popover-content p{color:hsl(var(--muted-foreground));line-height:2}.replay-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;cursor:pointer}.replay-setting input{appearance:none;position:relative;width:30px;height:17px;flex-shrink:0;border:1px solid hsl(var(--muted-foreground));border-radius:20px;background:hsl(var(--surface-inset));cursor:pointer}.replay-setting input:before{content:"";position:absolute;inset:2px auto 2px 2px;aspect-ratio:1;border-radius:50%;background:hsl(var(--foreground))}.replay-setting input:checked{background:var(--replay-accent);border-color:var(--replay-accent)}.replay-setting input:checked:before{left:auto;right:2px;background:hsl(var(--background))}.replay-setting input:focus-visible,.replay-speed:focus-visible{outline:2px solid var(--replay-accent);outline-offset:2px}.replay-body{display:grid;grid-template-columns:minmax(0,1fr) 282px;height:clamp(380px,calc(100svh - 375px),780px)}.replay-body-wide{grid-template-columns:minmax(0,1fr)}.replay-stage{min-width:0;min-height:0;display:flex;flex-direction:column;background:hsl(var(--surface-inset))}.replay-bomb-status{display:inline-flex;align-items:center;gap:4px;color:#efb052;font-size:11px;font-weight:600}.replay-map-viewport{flex:1;min-height:0;display:flex;justify-content:center;align-items:center;container-type:size}.replay-map,.replay-map-viewport{position:relative;overflow:hidden}.replay-map{height:100%;max-width:100%;aspect-ratio:1;touch-action:none}@supports (width:1cqh){.replay-map{width:min(100cqw,100cqh);height:min(100cqw,100cqh)}}.replay-map-dragging{cursor:grabbing}.replay-map-content{position:absolute;inset:0;transform-origin:center}.replay-radar-image{position:absolute;inset:0;background-size:100% 100%;background-repeat:no-repeat;opacity:.82;filter:saturate(.65) contrast(1.08)}.replay-other-floor>button{opacity:.2}.replay-map-tools{position:absolute;bottom:12px;right:14px;z-index:45;display:flex;gap:8px}.replay-zoom{display:flex;align-items:center;gap:1px;border:1px solid var(--replay-line);background:hsl(var(--background)/.93);border-radius:7px;padding:2px}.replay-zoom>button:not(.replay-icon-button){font-size:10px;width:36px;font-variant-numeric:tabular-nums}.replay-zoom .replay-icon-button{width:28px;height:28px}.replay-map-hint{position:absolute;bottom:18px;left:16px;font-size:10px}.replay-no-radar{position:absolute;inset:0;gap:12px;justify-content:center;align-items:center;padding:40px;text-align:center;color:hsl(var(--muted-foreground));font-size:13px}.replay-no-radar,.replay-panel{display:flex;flex-direction:column}.replay-panel{min-width:0;min-height:0;border-left:1px solid var(--replay-line)}.replay-panel-tabs{display:flex;height:44px;border-bottom:1px solid var(--replay-line);flex-shrink:0;padding:0 12px;gap:20px}.replay-panel-tabs button{position:relative;font-size:12px;color:hsl(var(--muted-foreground))}.replay-panel-tabs button[aria-pressed=true]{color:hsl(var(--foreground))}.replay-panel-tabs button[aria-pressed=true]:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--replay-accent)}.replay-panel-scroll{overflow-y:auto;min-height:0;scrollbar-color:hsl(var(--border)) transparent}.replay-team{padding:12px 10px 6px}.replay-team+.replay-team{border-top:1px solid var(--replay-line)}.replay-team-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 6px 8px;font-size:11px}.replay-team-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.replay-team-heading>span{color:hsl(var(--muted-foreground));font-size:10px}.replay-player{display:flex;width:100%;gap:9px;align-items:center;text-align:left;padding:9px 7px;border-radius:6px;font-size:12px;min-height:40px}.replay-player:hover{background:hsl(var(--surface-subtle))}.replay-player[aria-pressed=true]{background:hsl(var(--glow-1)/.1);outline:1px solid hsl(var(--glow-1)/.3)}.replay-player-dot{display:grid;place-items:center;color:#101114;font-size:9px;font-weight:700;width:17px;height:17px;flex-shrink:0;border-radius:50%}.replay-player-dead{opacity:.45}.replay-player-dead .replay-player-dot{background:transparent!important;color:inherit}.replay-player-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.replay-hp-track{display:block;width:100%;height:2px;background:hsl(var(--surface-strong));margin-top:6px}.replay-hp-track>span{display:block;height:100%;opacity:.8}.replay-player-hp{width:24px;text-align:right;flex-shrink:0;font-size:10px;font-variant-numeric:tabular-nums}.replay-selected{border-top:1px solid var(--replay-line);padding:12px 16px;font-size:12px}.replay-selected>div{display:flex;align-items:center;justify-content:space-between}.replay-selected dl{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding-bottom:6px}.replay-selected dl div:last-child{grid-column:1/-1}.replay-selected dt{font-size:10px;color:hsl(var(--muted-foreground))}.replay-selected dd{font-size:12px;font-variant-numeric:tabular-nums}.replay-event-filters{padding:14px 12px 10px;position:sticky;top:0;z-index:1;background:hsl(var(--card));border-bottom:1px solid var(--replay-line)}.replay-event-filters select{width:100%;padding:8px;border:1px solid var(--replay-line);border-radius:5px;background:hsl(var(--background));color:hsl(var(--foreground));font-size:12px;margin-bottom:9px}.replay-segmented{display:flex;padding:3px;background:hsl(var(--background)/.95);border:1px solid var(--replay-line);border-radius:6px}.replay-segmented button{flex:1;padding:5px 9px;border-radius:4px;font-size:11px;white-space:nowrap;color:hsl(var(--muted-foreground))}.replay-segmented button[aria-pressed=true]{background:hsl(var(--surface-strong));color:hsl(var(--foreground))}.replay-scope{display:flex;align-items:center;gap:7px;margin-top:12px;font-size:11px;color:hsl(var(--muted-foreground))}.replay-event-filters p{font-size:10px;color:hsl(var(--muted-foreground));margin-top:10px}.replay-event-list{padding:6px}.replay-event{display:flex;align-items:center;width:100%;gap:8px;padding:11px 7px;border-radius:6px;text-align:left;font-size:11px}.replay-event:hover{background:hsl(var(--surface-subtle))}.replay-event[aria-pressed=true]{background:hsl(var(--glow-1)/.1)}.replay-event small{font-size:10px}.replay-event-icon{color:hsl(var(--muted-foreground));flex-shrink:0}.replay-panel-empty{padding:30px 12px;text-align:center;color:hsl(var(--muted-foreground));font-size:12px}.replay-stats{padding:14px 12px}.replay-stats>p{font-size:10px;color:hsl(var(--muted-foreground));margin-bottom:12px}.replay-stats table{width:100%;font-size:11px;font-variant-numeric:tabular-nums}.replay-stats th{color:hsl(var(--muted-foreground));font-weight:400;text-align:right;padding:8px 3px}.replay-stats td:first-child,.replay-stats th:first-child{text-align:left}.replay-stats td{text-align:right;padding:9px 3px;border-top:1px solid var(--replay-line)}.replay-stats td button{text-align:left;max-width:125px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.replay-stats td button:hover{color:var(--replay-accent)}.replay-round-summary{border-top:1px solid var(--replay-line);margin-top:20px;padding-top:15px;font-size:11px}.replay-round-summary p{color:hsl(var(--muted-foreground));margin-top:8px}.replay-transport{border-top:1px solid var(--replay-line);padding:12px 18px;flex-shrink:0}.replay-rounds{width:max-content;max-width:100%;margin-inline:auto;display:flex;align-items:center;gap:5px;overflow-x:auto;padding:3px 2px 9px;scrollbar-width:none}.replay-rounds::-webkit-scrollbar{display:none}.replay-rounds button{min-width:26px;height:29px;flex-shrink:0;font-size:10px;color:hsl(var(--muted-foreground));border-bottom:2px solid var(--round-color);border-radius:4px;font-variant-numeric:tabular-nums}.replay-rounds button:hover{background:hsl(var(--surface-strong))}.replay-rounds button[aria-current=true]{background:hsl(var(--foreground));color:hsl(var(--background));border-bottom-color:transparent}.replay-timeline{padding:17px 0 7px;position:relative}.replay-event-markers{position:absolute;left:8px;right:8px;top:0;height:18px}.replay-event-markers button{width:14px;height:18px;position:absolute;transform:translateX(-50%)}.replay-event-markers button:after{content:"";position:absolute;left:6px;width:2px;height:7px;bottom:0;background:var(--event-color,hsl(var(--muted-foreground)))}.replay-event-markers .replay-marker-selected:after,.replay-event-markers button:hover:after{background:var(--replay-accent);height:12px}.replay-event-markers .replay-bomb-marker:after{background:hsl(var(--rank-gold))}.replay-timeline input{-webkit-appearance:none;appearance:none;width:100%;display:block;height:18px;cursor:pointer;background:transparent;margin:0;touch-action:none}.replay-timeline input::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(to right,var(--replay-accent) var(--replay-progress),hsl(var(--surface-strong)) var(--replay-progress))}.replay-timeline input::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:12px;border-radius:50%;background:hsl(var(--foreground));margin-top:-4px;border:2px solid hsl(var(--card))}.replay-timeline input::-moz-range-track{border-radius:4px;background:hsl(var(--surface-strong))}.replay-timeline input::-moz-range-progress{height:4px;background:var(--replay-accent)}.replay-timeline input::-moz-range-thumb{width:10px;height:10px;border:2px solid hsl(var(--card));border-radius:50%;background:hsl(var(--foreground))}.replay-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.replay-playback-buttons{display:flex;align-items:center;gap:5px}.replay-play{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:hsl(var(--foreground));color:hsl(var(--background));margin:0 5px}.replay-five{font-size:11px;font-variant-numeric:tabular-nums}.replay-speed-control{position:relative}.replay-speed-control>svg{position:absolute;right:6px;top:50%;transform:translateY(-50%);pointer-events:none}.replay-speed{appearance:none;cursor:pointer;font-size:11px;background:hsl(var(--card));border:1px solid var(--replay-line);padding:5px 21px 5px 7px;border-radius:5px}.replay-event-navigation{gap:2px;border-left:1px solid var(--replay-line);padding-left:8px;font-size:10px}.replay-auto-skip,.replay-event-navigation{display:flex;align-items:center;color:hsl(var(--muted-foreground))}.replay-auto-skip{gap:6px;font-size:11px;min-height:34px;padding-inline:6px;border-radius:6px}.replay-auto-skip:hover{background:hsl(var(--surface-strong))}.replay-auto-skip>span{display:flex;align-items:center;flex:none;width:23px;height:13px;padding-inline:2px;border:1px solid hsl(var(--muted-foreground));border-radius:999px}.replay-auto-skip>span:before{content:"";width:7px;height:7px;border-radius:50%;background:hsl(var(--muted-foreground))}.replay-auto-skip[aria-pressed=true]>span{justify-content:flex-end;border-color:var(--replay-accent);background:var(--replay-accent)}.replay-auto-skip[aria-pressed=true]>span:before{background:hsl(var(--background))}.replay-loop[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--replay-accent)}.replay-loop-label{display:none}.replay-play-state{margin-left:auto;font-size:10px;color:hsl(var(--muted-foreground))}.replay-shortcuts .replay-popover-content{top:auto;bottom:calc(100% + 12px);width:280px}.replay-footnote{gap:15px;margin-top:14px;font-size:10px;line-height:1.7;color:hsl(var(--muted-foreground))}.replay-footnote,.replay-message{display:flex;justify-content:space-between}.replay-message{gap:12px;align-items:center;padding:12px 18px;border-bottom:1px solid var(--replay-line);font-size:12px}.replay-message p{margin-top:4px;color:hsl(var(--muted-foreground));line-height:1.7}.replay-message-actions{display:flex;gap:12px;align-items:center;flex-shrink:0}.replay-message-actions>button:not(.replay-icon-button){text-decoration:underline;text-underline-offset:4px}.replay-error{background:hsl(var(--destructive)/.06)}.replay-error>svg{flex-shrink:0;color:hsl(var(--destructive))}.replay-loading{padding:16px 18px;border-bottom:1px solid var(--replay-line)}.replay-loading>div{display:flex;gap:12px;align-items:center;font-size:12px}.replay-loading-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:hsl(var(--muted-foreground))}.replay-loading button{text-decoration:underline;text-underline-offset:4px}.replay-loading progress{display:block;width:100%;height:3px;margin-top:14px;accent-color:var(--replay-accent)}.replay-loading progress::-webkit-progress-bar{background:hsl(var(--surface-strong));border-radius:3px}.replay-loading progress::-webkit-progress-value{background:var(--replay-accent);border-radius:3px}.replay-loading p{margin-top:10px}.replay-health details,.replay-loading p{font-size:11px;color:hsl(var(--muted-foreground))}.replay-health details{padding:10px 18px;border-bottom:1px solid var(--replay-line)}.replay-health summary{display:flex;align-items:center;gap:8px;cursor:pointer}.replay-health p{margin-top:8px}.replay-drop-overlay{position:fixed;inset:12px;z-index:100;border:2px dashed var(--replay-accent);border-radius:14px;background:hsl(var(--background)/.94);display:flex;flex-direction:column;gap:20px;align-items:center;justify-content:center;pointer-events:none}@media (min-width:1500px){.replay-body{grid-template-columns:minmax(0,1fr) 310px}.replay-body-wide{grid-template-columns:1fr}}@media (max-width:1100px){.replay-file-name,.replay-meta-pill-label{display:none}.replay-header{gap:12px}.replay-header-actions{margin-left:0}.replay-body{grid-template-columns:minmax(0,1fr) 250px}.replay-body-wide{grid-template-columns:1fr}.replay-play-state{display:none}.replay-controls{gap:8px}}@media (max-width:767px){.demo-replay{padding:0 10px 18px}.replay-welcome{grid-template-columns:1fr;max-width:500px;gap:24px;padding:24px 6px}.replay-welcome h1{font-size:32px}.replay-welcome .replay-intro{max-width:none}.replay-header{flex-wrap:wrap;padding:8px 12px 10px;gap:8px}.replay-heading{flex:1 0 auto;max-width:100%}.replay-heading-main{gap:7px}.replay-header-actions{order:2}.replay-body{display:contents}.replay-stage{order:1;flex:none;min-height:250px;height:clamp(250px,42svh,430px);max-height:580px}.replay-panel{border-left:0;border-top:1px solid var(--replay-line);order:3;max-height:min(65svh,520px);min-height:300px}.replay-team{padding:8px}.replay-player{min-height:42px}.replay-transport{order:2;padding:8px 12px max(10px,env(safe-area-inset-bottom));position:sticky;top:60px;bottom:auto;z-index:50;background:hsl(var(--card));border-radius:0;border-bottom:1px solid var(--replay-line);box-shadow:0 5px 16px hsl(var(--background)/.12)}.replay-controls{gap:6px}.replay-playback-buttons{gap:0}.replay-icon-button{width:44px;height:44px}.replay-event-navigation{margin-left:auto;padding-left:0;border:0}.replay-auto-skip{margin:5px 0 0}.replay-shortcuts{margin-left:auto}.replay-shortcuts .replay-popover-content{width:min(280px,calc(100vw - 55px))}.replay-footnote{flex-direction:column;gap:3px;font-size:10px}.replay-message{flex-wrap:wrap;font-size:11px;padding:10px 12px}.replay-loading-name{display:none}.replay-loading>div>strong{flex:1}.replay-map-hint{display:none}.replay-workspace:fullscreen .replay-body{flex:none}}@media (prefers-reduced-motion:reduce){.demo-replay *,.demo-replay :after,.demo-replay :before{animation:none!important;transition:none!important}}.replay-focus-strip{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:3px 12px;border-bottom:1px solid var(--replay-line);background:hsl(var(--glow-1)/.05);flex-shrink:0}.replay-focus-name{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--replay-accent);min-width:0}.replay-focus-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.replay-workspace{scroll-margin-top:100px}.replay-time-readout{display:flex;justify-content:space-between;gap:12px;padding:0 1px 8px;color:hsl(var(--muted-foreground));font-size:11px;font-variant-numeric:tabular-nums}.replay-time-readout>span:first-child{color:hsl(var(--foreground))}.replay-time-separator{opacity:.45;padding:0 3px}.replay-tab-count{margin-left:6px;font-size:10px;opacity:.6;font-variant-numeric:tabular-nums}.replay-rounds{position:relative;overscroll-behavior-x:contain}.replay-panel-scroll{overscroll-behavior-y:contain;scrollbar-width:thin}.replay-icon-button:not(:disabled):active,.replay-play:active{transform:scale(.95)}.replay-timeline input{height:26px}.replay-event{min-height:56px}.replay-focus-name{min-height:36px}@media (hover:hover) and (pointer:fine){.replay-icon-button,.replay-play{transition:background-color .12s ease,color .12s ease}.replay-timeline input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px hsl(var(--glow-1)/.15)}}@media (max-width:767px){.replay-welcome{min-height:0;padding:18px 4px;gap:20px}.replay-welcome .replay-subtitle{font-size:16px;margin-bottom:8px}.replay-welcome-preview{display:none}.replay-import-drop{margin:10px;padding:22px 16px}.replay-import-icon{margin-bottom:14px}.replay-import-actions{width:100%}.replay-import .replay-primary{width:100%;min-height:46px}.replay-header{padding:8px 10px 10px;gap:8px 4px}.replay-header-actions{gap:0}.replay-heading h1{font-size:14px}.replay-controls{display:grid;grid-template-columns:1fr 64px 44px;gap:4px}.replay-playback-buttons{justify-content:space-between;min-width:0}.replay-playback-buttons .replay-icon-button{width:36px}.replay-play{width:44px;height:44px;flex-shrink:0;margin:0 2px}.replay-speed{height:40px;font-size:13px}.replay-event-navigation{grid-column:1/-1;grid-row:2;justify-content:center;margin:0;gap:16px}.replay-event-navigation .replay-icon-button{width:64px;height:36px}.replay-event-navigation span{font-size:11px}.replay-auto-skip,.replay-controls>.replay-text-button,.replay-play-state,.replay-shortcuts{display:none}.replay-rounds{padding-bottom:3px;gap:6px}.replay-rounds button{min-width:36px;height:36px;font-size:12px}.replay-timeline{padding-top:14px;padding-bottom:0}.replay-timeline input{height:30px}.replay-timeline input::-webkit-slider-thumb{width:18px;height:18px;margin-top:-7px}.replay-timeline input::-moz-range-thumb{width:16px;height:16px}.replay-time-readout{padding-bottom:3px;font-size:10px}.replay-panel-tabs{height:48px;justify-content:space-around;gap:0}.replay-panel-tabs button{flex:1;height:48px;font-size:13px}.replay-player{min-height:48px}.replay-event{min-height:60px;font-size:12px}.replay-event-filters select{min-height:44px;font-size:16px}.replay-scope,.replay-segmented button{min-height:40px}.replay-workspace:fullscreen .replay-transport{top:0}}@media (max-width:359px){.replay-header-actions .replay-icon-button,.replay-header-actions summary{width:36px}.replay-controls{grid-template-columns:1fr 56px 36px}.replay-playback-buttons .replay-icon-button{width:30px}}@media (prefers-reduced-motion:reduce){.replay-icon-button:not(:disabled):active,.replay-play:active{transform:none}}@media (min-width:768px){.replay-team{padding:6px 10px}.replay-team-heading{padding-bottom:4px}.replay-player{min-height:30px;padding:3px 7px}}.replay-primary{gap:8px}.demo-replay[data-loading=true] .replay-welcome{min-height:0;padding-top:24px;padding-bottom:24px}@media (max-width:767px){.replay-header-actions summary{width:44px;height:44px}.replay-header-actions .replay-header-status>summary{width:auto;height:32px;min-height:32px}.replay-panel{scroll-margin-top:280px}.demo-replay[data-loading=true] .replay-import-help,.demo-replay[data-loading=true] .replay-welcome-copy{display:none}}@media (max-width:359px){.replay-header-actions summary{width:36px}.replay-header-actions .replay-header-status>summary{width:auto}}.replay-scoreboard{min-width:0;justify-self:center}.replay-scorebug{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px}.replay-score-side{display:flex;align-items:center;gap:10px;min-width:0}.replay-score-side-left{justify-content:flex-end}.replay-score-side-right{justify-content:flex-start}.replay-team-name{font-size:12px;font-weight:600;letter-spacing:.02em;max-width:112px}.replay-team-score{font-size:20px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums;color:hsl(var(--foreground));flex-shrink:0}.replay-clock-pill{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:88px;padding:4px 12px;border:1px solid var(--replay-line);border-radius:8px;background:hsl(var(--surface-inset));text-align:center}.replay-clock-pill[data-planted]{border-color:#efb05280;background:#efb05214}.replay-clock-time{color:hsl(var(--foreground));font-size:15px;font-weight:650;line-height:1.15;letter-spacing:.02em;font-variant-numeric:tabular-nums}.replay-clock-meta{display:inline-flex;align-items:center;justify-content:center;gap:4px;color:hsl(var(--muted-foreground));font-size:10px;line-height:1.15;white-space:nowrap;font-variant-numeric:tabular-nums}.replay-clock-meta b{font-weight:650}.replay-alive-sep{opacity:.45;font-size:9px}.replay-player-avatar{width:24px;height:24px;object-fit:cover;border-radius:4px;flex-shrink:0}@media (max-width:767px){.replay-scoreboard{order:3;width:100%;padding-top:8px;border-top:1px solid var(--replay-line)}.replay-scorebug{gap:10px}.replay-score-side{gap:7px}.replay-team-name{font-size:11px;max-width:84px}.replay-team-score{font-size:18px}.replay-clock-pill{min-width:74px;padding:3px 10px}.replay-clock-time{font-size:14px}}@media (min-width:768px){.replay-workspace:not(.replay-workspace-empty):not(:fullscreen){--replay-window-height:calc(100dvh - var(--replay-workspace-top, 118px) - 8px);width:min(100%,clamp(760px,calc(var(--replay-window-height) + 160px),1160px));height:var(--replay-window-height);min-height:440px;margin-inline:auto}.replay-workspace .replay-body{flex:1;height:auto;min-height:0}.replay-workspace .replay-transport{display:grid;grid-template-columns:minmax(0,1fr);justify-content:center;padding-block:9px}.replay-workspace .replay-rounds{padding-bottom:5px}.replay-workspace .replay-timeline{padding-bottom:3px}}@media (min-width:768px){.replay-workspace:not(:fullscreen) .replay-file-name{display:none}}.replay-header{flex-shrink:0;position:relative;z-index:55}.replay-header-status>summary{display:inline-flex;align-items:center;width:auto;height:30px;min-height:30px;padding:0 10px;margin-right:4px;border:1px solid var(--replay-line);border-radius:6px;background:hsl(var(--surface-inset));color:hsl(var(--foreground));font-size:11px;font-weight:500;white-space:nowrap;cursor:pointer}.replay-resume>summary{gap:6px}.replay-health:empty{display:none}@media (max-width:1100px){.replay-header-actions .replay-resume>summary{width:34px;height:34px;margin-right:0;padding:0}.replay-resume-label{display:none}}@media (max-width:767px){.replay-header-actions .replay-resume>summary{width:44px;height:44px}}@media (max-width:359px){.replay-header-actions .replay-resume>summary{width:36px}}.replay-header-status>summary:hover{border-color:hsl(var(--border));background:hsl(var(--surface-strong))}.replay-header .replay-health details{padding:0;border:0}.replay-header .replay-health summary{width:34px;height:34px;min-height:34px;padding:0;margin-right:0;border:0;background:transparent;color:hsl(var(--rank-gold))}.replay-header-status .replay-message-actions{margin-top:10px}.replay-absent{margin:8px 12px;color:hsl(var(--muted-foreground));font-size:11px}.replay-absent summary{cursor:pointer;padding:6px 0}.replay-absent li{padding:3px 0 3px 10px}.replay-example-button{display:inline-flex;align-items:center;justify-content:center;width:100%;gap:7px;min-height:43px;padding:8px 14px;border:1px solid var(--replay-line);border-radius:8px;background:hsl(var(--surface-subtle));color:hsl(var(--foreground));font-size:12.5px;font-weight:500;transition:background-color .14s ease,border-color .14s ease}.replay-example-button:hover{border-color:hsl(var(--border));background:hsl(var(--surface-strong))}.replay-example-button small{padding:1px 6px;border-radius:999px;background:hsl(var(--surface-inset));border:1px solid var(--replay-line);font-size:10px;line-height:1.4}.replay-event-markers .replay-marker-selected:after{width:4px;height:13px;background:var(--replay-accent)}@media (max-width:767px){.replay-header-actions{flex:none;margin-inline-start:auto}.replay-header-status .replay-popover-content{width:min(240px,calc(100vw - 100px))}.replay-example-button{width:100%;min-height:44px}}.replay-event-filters [role=group]{margin-top:8px}.replay-header-status>summary:focus-visible{outline-offset:-2px}@media (max-width:767px){.replay-header-status{position:static}.replay-header-status .replay-popover-content{right:10px;top:calc(100% + 4px)}}.replay-utility-burst{--burst-color:#ffad68;position:absolute;z-index:30;display:grid;place-items:center;width:46px;height:46px;transform:translate(-50%,-50%);color:var(--burst-color);filter:drop-shadow(0 1px 2px #101014)}.replay-utility-shards{position:absolute;inset:0;transform:scale(var(--burst-scale));opacity:var(--burst-opacity)}.replay-utility-shards i{position:absolute;width:12px;height:3px;background:linear-gradient(90deg,#ffe3a4,var(--burst-color));clip-path:polygon(0 25%,100% 0,82% 100%,0 80%)}.replay-utility-shards i:first-child{left:2px;top:10px;transform:rotate(32deg)}.replay-utility-shards i:nth-child(2){right:4px;top:6px;transform:rotate(-56deg)}.replay-utility-shards i:nth-child(3){right:0;bottom:13px;transform:rotate(16deg)}.replay-utility-core{z-index:1;display:grid;place-items:center;width:18px;height:18px;border-radius:3px;background:#171822}.replay-flashed-avatar{filter:saturate(.35) brightness(1.13)}.replay-flashed-player{inset:-6px;border:1px solid #ecfaff;border-radius:50%;box-shadow:0 0 8px #e6f5ffbb}.replay-aim,.replay-flashed-player{position:absolute;pointer-events:none}.replay-aim{left:50%;top:calc(50% - 8px);width:36px;height:16px;transform-origin:left center;clip-path:polygon(0 50%,100% 0,100% 100%);background:linear-gradient(to right,var(--player-color),transparent);opacity:.75}.replay-aim-scoped{top:calc(50% - 2px);width:56px;height:4px;clip-path:polygon(0 50%,100% 10%,100% 90%)}.replay-marker-health{position:absolute;inset:-5px;width:30px;height:30px;transform:rotate(-90deg);fill:none;stroke-width:2.5px;pointer-events:none}.replay-marker-number{position:absolute;right:-5px;bottom:-5px;min-width:13px;padding-inline:2px;border:1px solid var(--player-color);border-radius:4px;background:#10141c;color:#f5f7fb;text-align:center;font-size:8px;line-height:11px}.replay-bomb-pulse{position:absolute;inset:-2px;border:1px solid #efb052;border-radius:inherit;pointer-events:none}@media (prefers-reduced-motion:reduce){.replay-bomb-pulse,.replay-kill-impact{display:none}}.replay-flash-trail{fill:none;stroke:#f4dda2;stroke-width:1.35px;stroke-dasharray:4px 3px;stroke-linecap:round;vector-effect:non-scaling-stroke;opacity:.87;filter:drop-shadow(0 1px 1px #11121c)}.replay-flash-point{position:absolute;z-index:19;width:11px;height:2px;transform:translate(-50%,-50%) rotate(-32deg);background:#fff3cf;box-shadow:0 0 4px #f7df8e}.replay-flash-point-flying{width:5px;height:3px}@media (prefers-reduced-motion:reduce){.replay-utility-shards{transform:none;opacity:.9}}.replay-shortcuts kbd{padding:1px 4px;border:1px solid var(--replay-line);border-radius:4px;background:hsl(var(--surface-inset));color:hsl(var(--foreground));white-space:nowrap}.replay-kill-feed{position:absolute;inset:10px 10px auto auto;z-index:45;display:flex;flex-direction:column;align-items:flex-end;gap:4px;max-width:min(250px,72%);pointer-events:none}.replay-kill-feed-entry{display:flex;align-items:center;gap:4px;min-width:0;max-width:100%;min-height:24px;padding:2px 6px;border:1px solid var(--replay-line);border-inline-start-width:2px;border-radius:4px;background:hsl(var(--surface-inset)/.88);font-size:10px}.replay-kill-feed-entry .truncate{max-width:96px}.replay-side-badge{padding:2px 5px;border-radius:4px;background:color-mix(in srgb,currentColor 14%,transparent)}.replay-team-economy{margin-inline-start:auto}.replay-player-money{flex:none;color:hsl(var(--muted-foreground));font-size:10px;font-variant-numeric:tabular-nums}.replay-dead-marker>span:first-child{border-color:transparent;background:none;box-shadow:none;color:var(--player-color);opacity:.65;filter:drop-shadow(0 1px 1px #10141c)}.replay-stats th[scope=rowgroup]{text-align:start}@media (min-width:768px){.replay-loop{width:auto;gap:5px;padding-inline:8px;margin-inline-start:auto}.replay-loop-label{display:inline;font-size:11px;white-space:nowrap}}.replay-hp-track{background:#ffffff20}.replay-rounds button[data-half-start]{position:relative;margin-inline-start:8px}.replay-rounds button[data-half-start]:before{content:"";position:absolute;inset:3px auto 3px -7px;width:1px;background:var(--replay-line)}.replay-speed-control .replay-speed{display:flex;gap:4px;padding-inline:7px}.replay-speed-options{min-width:72px}.replay-speed-options button{display:block;width:100%;padding:5px;border-radius:4px}.replay-speed-options button:is(:hover,:focus-visible,[aria-pressed=true]){background:hsl(var(--surface-strong))}@media (min-width:768px){.replay-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}.replay-header-actions{justify-self:end;margin-left:0}}.replay-timeline input{--replay-phase-track:linear-gradient(to right,#8793a640 var(--replay-freeze-end),hsl(var(--surface-strong)) var(--replay-freeze-end) var(--replay-plant),#efb05285 var(--replay-plant))}.replay-timeline input::-webkit-slider-runnable-track{background:linear-gradient(to right,#b7c8e080 var(--replay-progress),transparent var(--replay-progress)),var(--replay-phase-track)}.replay-timeline input::-moz-range-track{height:4px;background:var(--replay-phase-track)}.replay-speed-control .replay-popover-content{top:auto;bottom:calc(100% + 8px)}.replay-marker-tooltip{display:none;position:absolute;bottom:100%;left:50%;transform:translateX(-50%);z-index:5;align-items:center;gap:4px;width:max-content;max-width:min(230px,55vw);padding:4px 7px;border:1px solid var(--replay-line);border-radius:5px;background:hsl(var(--card));color:hsl(var(--foreground));font-size:11px;pointer-events:none}.replay-event-markers button:is(:hover,:focus-visible) .replay-marker-tooltip{display:flex}