.sim-launch{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;white-space:nowrap}.sim-launch svg,.sim-controls svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}.sim-dialog{width:min(1160px,calc(100vw - 48px));max-width:1160px;padding:26px;border:1px solid var(--line);border-radius:18px;background:var(--bg);color:var(--text);overflow:auto;max-height:92dvh}.sim-heading{display:flex;align-items:start;justify-content:space-between;margin-bottom:18px;gap:14px}.sim-heading h2{margin:0;font-size:25px;letter-spacing:-.6px}.sim-heading p{color:var(--muted);font-size:12px;margin:7px 0 0}.sim-close{display:grid;place-items:center;border:1px solid var(--line);background:var(--surface);color:var(--muted);width:34px;height:34px;border-radius:50%;padding:7px;cursor:pointer}.sim-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.sim-toolbar{display:flex;align-items:end;gap:10px;margin-bottom:22px}.sim-toolbar label{display:grid;gap:7px;flex:1;font-size:11px;color:var(--muted)}.sim-toolbar select{height:40px;font-size:12px}.sim-toolbar .button{height:40px;font-size:12px}.sim-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px}.sim-scoreboard{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:8px 0 24px}.sim-score-team{display:flex;align-items:center;gap:10px}.sim-score-team img{width:40px;height:40px;object-fit:contain}.sim-score-team strong{font-size:16px}.sim-score-team b{font-size:43px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-1.6px;margin-left:8px}.sim-home{justify-content:end}.sim-home b{margin:0 8px 0 0}.sim-clock{text-align:center;min-width:100px;font-variant-numeric:tabular-nums}.sim-clock>span{font-size:15px;font-weight:600}.sim-clock small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.sim-stage{position:relative;border:1px solid var(--line);border-radius:12px;overflow:hidden}.sim-surface{display:block;width:100%;height:auto}.sim-stage-tag{position:absolute;bottom:9px;left:12px;font-size:8px;letter-spacing:1.4px;color:#ebefdc99;pointer-events:none}.sim-controls{display:flex;align-items:center;gap:8px;margin-top:16px}.sim-controls .button{font-size:11px;padding:10px 12px;display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:40px}.sim-controls .primary{flex:1}.sim-speed select{height:40px;min-height:0;width:62px;padding:7px;font-size:12px}.sim-seek{display:block;margin:12px 0 18px}.sim-seek input{width:100%;height:5px;min-height:0;padding:0;accent-color:var(--accent);cursor:pointer}.sim-message{font-size:14px;min-height:40px;line-height:1.5}.sim-feed{list-style:none;margin:10px 0 0;padding:0;border-top:1px solid var(--line);min-height:140px}.sim-feed li{display:flex;gap:10px;align-items:baseline;color:var(--muted);font-size:11px;line-height:1.4;padding:9px 0;border-bottom:1px solid #ffffff06}.sim-feed li>span{font-size:9px;min-width:26px;color:var(--accent)}.sim-feed li>div{flex:1}.sim-feed li>b{color:var(--accent);font-variant-numeric:tabular-nums}.sim-feed .sim-latest{color:var(--text)}.sim-note,.sim-source{font-size:10px;color:var(--muted);line-height:1.55;margin:14px 0 0}.sim-box{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px;align-self:start}.sim-box-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.sim-box-heading h3{margin:0;font-size:15px}.sim-team-tabs{display:flex;gap:3px;border:1px solid var(--line);border-radius:7px;padding:3px}.sim-team-tabs button{display:flex;align-items:center;gap:5px;font:inherit;font-size:10px;border:0;border-radius:4px;padding:5px 7px;background:none;color:var(--muted);cursor:pointer}.sim-team-tabs img{width:17px;height:17px;object-fit:contain}.sim-team-tabs [aria-pressed=true]{background:#a5d6b31a;color:var(--accent)}.sim-box-scroll{overflow:auto}.sim-box table{width:100%;border-collapse:collapse}.sim-box th{font-size:8px;letter-spacing:.3px;padding:8px 5px;color:var(--muted);text-align:right;background:none;white-space:nowrap}.sim-box th:first-child{text-align:left}.sim-box td{padding:10px 5px;font-size:11px;font-variant-numeric:tabular-nums;text-align:right;border-top:1px solid #ffffff08;white-space:nowrap}.sim-box td:first-child{display:flex;gap:6px;text-align:left;align-items:center;min-width:135px}.sim-box td img{width:27px;height:30px;object-fit:contain;flex-shrink:0}.sim-box td small{font-size:8px;color:var(--muted);display:block;margin-top:3px}.sim-hot td{color:var(--accent);background:#a5d6b306}.sim-projection{border-top:1px solid var(--line);padding-top:16px;margin-top:15px}.sim-projection>span{font-size:10px;color:var(--muted)}.sim-projection strong{display:flex;align-items:center;gap:10px;font-size:13px;margin-top:8px;font-variant-numeric:tabular-nums}.sim-projection strong span{color:var(--muted);font-size:10px}.sim-projection p{font-size:10px;color:var(--muted);margin:8px 0 0;line-height:1.5}#sim-ball{transition:transform .6s cubic-bezier(.2,.7,.2,1)}.sim-players{transition:transform .6s ease}.sim-dialog .sheet-grip{display:none}
@media(max-width:900px){.sim-layout{grid-template-columns:1fr}.sim-box{margin-top:0}.sim-feed{min-height:0}.sim-dialog{width:calc(100vw - 32px);padding:22px}.sim-box td:first-child{width:100%}}
@media(max-width:650px){.sim-dialog.app-dialog{width:100%;max-width:100%;max-height:var(--sheet-height,96dvh);margin:auto 0 0;padding:20px 16px 24px;border-radius:19px 19px 0 0;box-sizing:border-box;overscroll-behavior:contain}.sim-dialog .sheet-grip{display:block}.sim-heading h2{font-size:22px}.sim-heading p{font-size:11px}.sim-toolbar{margin-bottom:15px}.sim-scoreboard{gap:7px;padding:4px 0 18px}.sim-score-team{gap:5px}.sim-score-team img{width:26px;height:26px}.sim-score-team strong{font-size:11px}.sim-score-team b{font-size:32px;margin-left:3px}.sim-home b{margin-right:3px}.sim-clock{min-width:85px}.sim-clock>span{font-size:12px}.sim-clock small{font-size:9px}.sim-controls{gap:6px}.sim-controls .button{font-size:10px;padding:8px}.sim-speed select{width:49px;font-size:11px}.sim-stage-tag{font-size:6px;bottom:7px}.sim-message{font-size:12px;min-height:36px}.sim-layout{gap:18px}.sim-box{padding:13px}.sim-box td{font-size:11px;padding:9px 4px}.sim-box td:first-child{min-width:140px}.sim-note{font-size:9px}.sim-launch{font-size:11px;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){#sim-ball,.sim-player{transition:none}}

.sim-game-nav{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);margin:10px 0 20px}.sim-game-nav .nba-tabs{flex:1;margin:0;border:0}.sim-player{transition:transform .6s ease}
@media(prefers-reduced-motion:reduce){.sim-player{transition:none}}
.sim-dialog .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media(max-width:650px){.sim-layout{display:flex;flex-direction:column;gap:10px}.sim-watch{display:contents}.sim-stage{order:1}.sim-message{order:2;min-height:30px;margin-top:2px}.sim-controls{order:3;margin-top:0}.sim-seek{order:4;margin:4px 0 6px}.sim-box{order:5;width:100%;box-sizing:border-box}.sim-feed{order:6;margin-top:8px}.sim-note{order:7;margin-top:0}.sim-box-scroll{max-height:310px}.sim-box th{position:sticky;top:0;background:var(--surface);z-index:1}}

.sim-toolbar .sim-mode-label{flex:0 0 130px;min-width:0}.sim-toolbar label{min-width:0}.sim-toolbar #sim-new{min-width:75px}.sim-lobby>p{color:var(--muted);font-size:13px;margin:8px 0 22px}.sim-lobby-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.sim-lobby-card{padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.sim-lobby-matchup{display:flex;align-items:center;justify-content:space-between;margin:22px 0 25px;gap:16px}.sim-lobby-matchup>div{display:grid;grid-template-columns:auto auto;align-items:center;gap:8px}.sim-lobby-matchup img{width:36px;height:36px;object-fit:contain}.sim-lobby-matchup strong{font-size:15px}.sim-lobby-matchup b{grid-column:1/-1;font-size:30px;font-variant-numeric:tabular-nums;letter-spacing:-.8px}.sim-lobby-matchup>div:last-child{text-align:right}.sim-lobby-matchup>span{font-size:11px;color:var(--muted)}
@media(max-width:800px){.mobile-nav,.nba-mobile-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.mobile-nav a,.nba-mobile-nav a{font-size:10px;min-width:0;padding-left:2px;padding-right:2px}.sim-lobby-games{grid-template-columns:1fr}.sim-lobby-card{padding:20px}.sim-toolbar .sim-mode-label{flex-basis:112px}.sim-toolbar #sim-new{min-width:58px;padding-left:9px;padding-right:9px}.sim-score-team b{font-size:28px}.sim-score-team{gap:4px}}

/* The simulator is a primary action, alongside the matchup it belongs to. */
.button.sim-launch{
  min-height:46px;padding:12px 18px;border:1px solid var(--accent);
  border-radius:8px;background:var(--accent);color:#15221a;
  font-size:13px;font-weight:650;line-height:1.2;cursor:pointer;gap:9px;
}
.button.sim-launch:hover{background:#bce4c7;border-color:#bce4c7}
.sim-launch svg{width:18px;height:18px}
.sim-launch:focus-visible,.sim-entry select:focus-visible,.sim-dialog button:focus-visible{
  outline:2px solid var(--accent);outline-offset:4px;
}
.sim-entry{
  display:flex;align-items:center;justify-content:space-between;gap:28px;
  padding:22px 24px;margin:22px 0 26px;
  background:var(--surface);border:1px solid #a5d6b34d;border-radius:14px;
}
.sim-entry-intro{display:flex;align-items:center;gap:14px;min-width:0}
.sim-entry-icon{
  display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;
  border:1px solid #a5d6b333;background:#a5d6b310;border-radius:50%;color:var(--accent);
}
.sim-entry-icon svg{width:24px;height:24px;fill:currentColor;stroke:none}
.sim-entry h3{margin:0;font-size:18px;letter-spacing:-.35px;line-height:1.3}
.sim-entry p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.4}
.sim-entry-actions{display:flex;align-items:end;gap:12px;flex:0 1 440px;min-width:0}
.sim-entry-actions label{flex:1;min-width:0;font-size:11px;gap:7px;color:var(--muted)}
.sim-entry-actions select{height:46px;min-width:0;font-size:14px;padding:10px 12px;border-radius:8px}
.sim-entry-actions .sim-launch{flex-shrink:0}
.sim-card-actions{display:flex;align-items:center;gap:10px;padding-top:18px;margin-top:18px;border-top:1px solid var(--line)}
.sim-card-actions .sim-launch{flex:1}
.sim-card-actions>.button:not(.sim-launch){width:auto;min-height:46px;margin:0;padding:10px 14px;border-radius:8px;font-size:12px;text-align:center}
.game-match .sim-launch{min-height:36px;margin-top:12px;padding:8px 11px;font-size:11px}
.game-match .sim-launch svg{width:15px;height:15px}
.sim-lobby>p{font-size:14px;line-height:1.6;max-width:540px;margin:0 0 24px}
.sim-lobby-games{gap:18px}
.sim-lobby-card{display:flex;flex-direction:column;padding:24px;border-radius:14px}
.sim-lobby-meta{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}
.sim-lobby-matchup{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;margin:26px 0}
.sim-lobby-matchup>div{display:grid;grid-template-columns:44px auto;gap:9px;justify-content:start}
.sim-lobby-matchup>div:last-child{justify-content:end}
.sim-lobby-matchup img{width:44px;height:44px}
.sim-lobby-matchup strong{font-size:17px}
.sim-lobby-matchup b{font-size:40px;line-height:1.15;letter-spacing:-1.5px}
.sim-lobby-matchup>span{font-size:10px}
.sim-lobby-card>.sim-launch{width:100%;margin-top:auto}
.sim-close{width:44px;height:44px;flex-shrink:0}
.sim-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;gap:12px}
.sim-toolbar select,.sim-toolbar .button{height:44px;font-size:13px;border-radius:8px}
.sim-toolbar #sim-new{min-width:85px}
.sim-controls{gap:10px}
.sim-controls .button{min-height:46px;font-size:13px;border-radius:8px;padding:10px 14px}
.sim-speed select{height:46px;border-radius:8px}
.sim-team-tabs button{min-height:36px;font-size:11px;padding:6px 9px}
@media(max-width:900px){
  .sim-entry{gap:18px;padding:20px}
  .sim-entry-intro{gap:12px}
  .sim-entry h3{font-size:17px}
  .sim-entry-actions{flex-basis:370px}
}
@media(max-width:650px){
  .sim-entry{display:block;padding:17px;margin:18px 0 22px;border-radius:12px}
  .sim-entry-intro{gap:12px;margin-bottom:16px}
  .sim-entry-icon{width:40px;height:40px;flex-basis:40px}
  .sim-entry-icon svg{width:21px;height:21px}
  .sim-entry h3{font-size:17px}
  .sim-entry p{font-size:12px;margin-top:3px}
  .sim-entry-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
  .sim-entry-actions label{font-size:10px;gap:6px}
  .sim-entry-actions select{font-size:16px;padding:10px;height:48px}
  .sim-entry-actions .sim-launch{font-size:12px;padding:12px;min-height:48px;align-self:end}
  .sim-card-actions{gap:9px;margin-top:16px;padding-top:16px}
  .sim-card-actions .sim-launch{min-height:48px;font-size:13px}
  .sim-card-actions>.button:not(.sim-launch){min-height:48px;font-size:12px;padding:10px 12px}
  .sim-lobby-games{gap:14px}
  .sim-lobby-card{padding:18px}
  .sim-lobby>p{font-size:13px;margin-bottom:20px}
  .sim-lobby-meta{font-size:11px}
  .sim-lobby-matchup{gap:10px;margin:20px 0}
  .sim-lobby-matchup>div{grid-template-columns:38px auto;gap:8px}
  .sim-lobby-matchup img{width:38px;height:38px}
  .sim-lobby-matchup strong{font-size:15px}
  .sim-lobby-matchup b{font-size:34px;letter-spacing:-1px}
  .sim-lobby-card>.sim-launch{min-height:48px;font-size:13px}
  .sim-dialog.app-dialog .sheet-grip{display:flex;height:20px;margin:-10px 0 2px}
  .sim-dialog .sim-heading{background:var(--bg);padding:6px 0 14px;margin:0 0 14px}
  .sim-heading{align-items:center;margin-bottom:18px}
  .sim-heading h2{font-size:23px}
  .sim-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:20px}
  .sim-toolbar>label:first-child{grid-column:1/-1}
  .sim-toolbar label{font-size:11px}
  .sim-toolbar .sim-mode-label{flex-basis:auto}
  .sim-toolbar select{height:46px;font-size:16px}
  .sim-toolbar #sim-new{height:46px;min-width:90px;font-size:13px}
  .sim-scoreboard{gap:8px;padding-bottom:20px}
  .sim-score-team img{width:28px;height:28px}
  .sim-score-team b{font-size:31px;letter-spacing:-1px}
  .sim-score-team strong{font-size:11px}
  .sim-clock{min-width:82px}
  .sim-controls{gap:7px}
  .sim-controls .button{min-height:46px;font-size:12px;padding:10px}
  .sim-controls svg{width:15px;height:15px}
  .sim-speed select{width:49px;height:46px;font-size:13px}
  .sim-message{font-size:13px;line-height:1.5;min-height:36px}
  .sim-seek{padding:8px 0;margin:0}
  .sim-seek input{height:20px}
  .sim-box-heading{flex-wrap:wrap;gap:12px}
  .sim-box-heading h3{font-size:15px}
  .sim-box-scroll{max-height:300px}
  .sim-team-tabs button{min-height:38px;font-size:11px;padding:6px 10px}
}
@media(max-width:360px){
  .sim-entry-actions{grid-template-columns:minmax(0,1fr)}
  .sim-entry-actions .sim-launch{width:100%}
  .sim-score-team strong{display:none}
  .sim-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}
  .sim-controls #sim-play{grid-column:1/-1}
}

/* The arena is an isolated, lazily loaded 3D view of the same replay. */
.sim-dialog{width:min(1320px,calc(100vw - 48px));max-width:1320px}
.sim-layout{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}
.sim-stage{height:clamp(280px,calc(100dvh - 430px),500px);isolation:isolate;background:#0b1118;border-color:#34434d;border-radius:15px;overflow:hidden}
.sim-flat{display:grid;place-items:center;height:100%;width:100%;background:#101c21}
.sim-flat .sim-surface{width:100%;height:auto}
.sim-arena-mount{position:absolute;inset:0;visibility:hidden}
.sim-stage.has-3d .sim-arena-mount{visibility:visible}
.sim-stage.has-3d .sim-flat{visibility:hidden}
.arena-canvas{display:block;width:100%;height:100%;outline:0;touch-action:pan-y;cursor:grab}
.arena-canvas:active{cursor:grabbing}
.arena-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.arena-player-label{position:absolute;left:0;top:0;display:flex;align-items:center;flex-direction:column;gap:3px;pointer-events:none}
.arena-face{position:relative;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:2px solid var(--player-color);background:#17242b;color:#fff;box-shadow:0 3px 8px #0008;font-size:9px;font-weight:700;overflow:hidden}
.arena-face img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 15%}
.arena-face-name{display:none;padding:3px 6px;border-radius:4px;background:#0b151fe6;color:#f3f8f6;font-size:10px;font-weight:600;line-height:1.2;white-space:nowrap;box-shadow:0 2px 7px #0005}
.arena-player-label.is-active .arena-face{width:40px;height:40px;border-color:#d6ffe8;box-shadow:0 0 0 4px #b3ebcc22,0 4px 12px #0008}
.arena-player-label.is-active .arena-face-name{display:block}
.sim-arena-badge{position:absolute;left:14px;top:14px;z-index:22;display:flex;align-items:center;gap:7px;background:#101a23db;border:1px solid #caddea19;color:#dbe8e3;padding:8px 10px;border-radius:7px;font-size:10px;font-weight:550;line-height:1;pointer-events:none}
.sim-arena-badge>span{color:#79978e}
.sim-arena-tools{position:absolute;top:12px;right:12px;z-index:24;display:flex;align-items:center;gap:6px}
.sim-arena-tools[hidden],.sim-active-player[hidden],.arena-player-label[hidden],.arena-labels[hidden]{display:none}
.sim-arena-tools select,.sim-arena-tools button{min-height:36px;height:36px;border:1px solid #b9d9d52e;border-radius:7px;background:#101a23e8;color:#e2efea;font-size:11px;line-height:1.2;box-shadow:0 2px 8px #0003}
.sim-arena-tools select{width:146px;padding:7px 9px}
.sim-arena-tools button{display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 10px;cursor:pointer}
.sim-arena-tools button[aria-pressed=true]{color:#cdf0db;border-color:#a5d6b36b;background:#1a312aeb}
.sim-arena-tools button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7}
.sim-active-player{position:absolute;left:14px;bottom:14px;z-index:23;display:flex;align-items:center;gap:10px;max-width:calc(100% - 28px);padding:8px 14px 8px 8px;border:1px solid #bdddd92e;border-radius:10px;background:#0e1b25e8;box-shadow:0 4px 20px #0005;pointer-events:none}
.sim-active-player>img{width:48px;height:48px;object-fit:contain;object-position:bottom;flex-shrink:0}
.sim-active-player>div{min-width:0}
.sim-active-player strong{display:block;font-size:13px;font-weight:600;line-height:1.4;color:#f0f7f3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sim-active-player span{display:block;color:#a8c3b9;font-size:10px;line-height:1.4;margin-top:4px;font-variant-numeric:tabular-nums}
.sim-arena-hint{position:absolute;bottom:13px;right:14px;z-index:22;color:#c4d5d26e;font-size:9px;pointer-events:none;display:none}
.has-3d .sim-arena-hint{display:block}
.sim-stage[data-renderer=flat] .sim-arena-badge{opacity:.8}
@media(max-width:1000px){.sim-layout{grid-template-columns:minmax(0,1fr)}.sim-stage{height:clamp(280px,calc(100dvh - 430px),460px)}}
@media(max-width:650px){
  .sim-dialog.app-dialog{width:100%;max-width:100%}
  .sim-stage{height:310px;border-radius:12px}
  .sim-arena-badge,.has-3d .sim-arena-hint{display:none}
  .sim-arena-tools{top:9px;right:9px;gap:6px}
  .sim-arena-tools select,.sim-arena-tools button{height:42px;min-height:42px;font-size:12px}
  .sim-arena-tools select{width:153px;padding:8px}
  .sim-arena-tools button{width:42px;padding:0}
  .sim-arena-tools button svg{width:17px;height:17px}
  .sim-arena-tools button>span{display:none}
  .arena-face{width:24px;height:24px;font-size:7px;border-width:1.5px}
  .arena-player-label.is-active .arena-face{width:32px;height:32px}
  .arena-face-name{font-size:8px;padding:3px 5px}
  .sim-active-player{left:10px;bottom:10px;padding:5px 10px 5px 5px;gap:8px;max-width:calc(100% - 20px);border-radius:8px}
  .sim-active-player>img{width:38px;height:40px}
  .sim-active-player strong{font-size:12px}
  .sim-active-player span{font-size:9px;margin-top:2px}
}
@media(prefers-reduced-motion:reduce){.arena-player-label{will-change:auto}}

/* Give each play a readable beat, with the latest action beside its team. */
.sim-message{display:flex;align-items:center;gap:14px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:12px;min-height:90px;box-sizing:border-box}
.sim-current-face{display:grid;place-items:center;flex:0 0 58px;height:62px;overflow:hidden}
.sim-current-face img{width:100%;height:100%;object-fit:contain}
.sim-current-copy{min-width:0;flex:1}
.sim-current-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.sim-current-meta b{color:var(--accent);font-size:14px}
.sim-current-copy>strong{display:flex;align-items:center;gap:7px;margin:6px 0 4px;font-size:16px;line-height:1.3}
.sim-current-copy>strong img{width:23px;height:23px;object-fit:contain;flex:none}
.sim-current-copy p,.sim-ready p{margin:0;font-size:13px;color:var(--muted);line-height:1.5}
.sim-ready strong{font-size:15px}
.sim-ready p{margin-top:4px}
.sim-active-player strong{display:flex;align-items:center;gap:5px}
.sim-active-player strong img{width:20px;height:20px;object-fit:contain;flex:none}
.sim-play-by-play{margin-top:22px;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}
.sim-pbp-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 16px;border-bottom:1px solid var(--line)}
.sim-pbp-heading h3{font-size:16px;margin:0;letter-spacing:-.2px}
.sim-pbp-heading>span{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.sim-feed{margin:0;border:0;min-height:0;max-height:350px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.sim-feed li{align-items:flex-start;padding:14px 16px;gap:11px;border-bottom:1px solid #ffffff09;font-size:13px;line-height:1.5}
.sim-feed li:last-child{border-bottom:0}
.sim-feed .sim-latest{background:#a5d6b309}
.sim-feed li>.sim-feed-logo{display:grid;place-items:center;flex:0 0 28px;width:28px;height:30px}
.sim-feed-logo img{width:28px;height:28px;object-fit:contain}
.sim-feed-copy{min-width:0}
.sim-feed-meta{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.sim-feed-meta strong{font-size:12px;font-weight:600;color:var(--text)}
.sim-feed-meta time{font-size:10px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.sim-feed-copy p{margin:4px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}
.sim-feed-score{display:inline-block;margin-top:7px;font-size:10px;font-weight:650;color:var(--accent);letter-spacing:.25px}
.sim-feed .sim-feed-empty{font-size:12px;min-height:62px;align-items:center}
#sim-earlier{width:100%;border:0;border-top:1px solid var(--line);background:none;color:var(--accent);padding:13px;min-height:44px;cursor:pointer;font:inherit;font-size:12px}
#sim-earlier[hidden]{display:none}
.sim-celebration{position:absolute;inset:0;z-index:25;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at center,#183b31f2 0%,#0a151de8 75%);pointer-events:none;animation:sim-score-in .25s ease-out}
.sim-celebration[hidden]{display:none}
.sim-celebration-content{position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;gap:7px;text-align:center;padding:18px;max-width:100%;box-sizing:border-box}
.sim-celebration-content>img{width:60px;height:60px;object-fit:contain;filter:drop-shadow(0 4px 10px #0005)}
.sim-celebration-title{display:block;font-size:clamp(27px,3.2vw,48px);font-weight:850;line-height:1.1;letter-spacing:-1.5px;color:#d1f6df;animation:sim-score-pop .45s cubic-bezier(.15,.75,.25,1.3)}
.sim-celebration-content>strong{font-size:16px;color:#f0f7f3;line-height:1.35}
.sim-celebration-detail{font-size:11px;color:#a7c7b9}
.sim-celebration-score{display:flex;align-items:center;gap:13px;margin-top:6px;font-size:18px;font-weight:650;color:#fff;font-variant-numeric:tabular-nums}
.sim-celebration-score>span{font-size:12px;color:#a7c7b9}
.sim-score-sparks{position:absolute;left:50%;top:45%;width:1px;height:1px}
.sim-score-sparks i{position:absolute;width:5px;height:13px;border-radius:2px;background:var(--accent);opacity:0;transform:rotate(calc(var(--spark)*36deg));animation:sim-score-spark 1.4s ease-out 2;animation-delay:calc(var(--spark)*15ms)}
.sim-score-sparks i:nth-child(3n){background:#f0c77e}
@keyframes sim-score-in{from{opacity:0}to{opacity:1}}
@keyframes sim-score-pop{from{opacity:0;transform:scale(.8) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}
@keyframes sim-score-spark{0%{opacity:0;transform:rotate(calc(var(--spark)*36deg)) translateY(-60px)}20%{opacity:.7}100%{opacity:0;transform:rotate(calc(var(--spark)*36deg)) translateY(-220px)}}
@media(max-width:650px){
  .sim-message{gap:10px;min-height:95px;padding:12px;margin:0}
  .sim-current-face{flex-basis:44px;height:50px}
  .sim-current-meta{font-size:10px}
  .sim-current-copy>strong{font-size:14px;margin-top:4px;gap:5px}
  .sim-current-copy>strong img{width:20px;height:20px}
  .sim-current-copy p,.sim-ready p{font-size:12px}
  .sim-active-player strong img{width:17px;height:17px}
  .sim-play-by-play{order:5;margin:0}
  .sim-box{order:6}
  .sim-pbp-heading{padding:14px 12px}
  .sim-pbp-heading h3{font-size:15px}
  .sim-pbp-heading>span{font-size:10px}
  .sim-feed{max-height:265px}
  .sim-feed li{padding:13px 12px;gap:9px}
  .sim-feed li>.sim-feed-logo{flex-basis:25px;width:25px;height:28px}
  .sim-feed-logo img{width:25px;height:25px}
  .sim-feed-meta{gap:6px;flex-wrap:wrap}
  .sim-feed-meta strong{font-size:12px}
  .sim-feed-meta time{font-size:9px}
  .sim-celebration-title{font-size:32px;letter-spacing:-1px}
  .sim-celebration-content>img{width:50px;height:50px}
  .sim-celebration-content>strong{font-size:14px}
  .sim-celebration-content{gap:7px;padding:14px}
}
@media(prefers-reduced-motion:reduce){.sim-celebration,.sim-celebration-title,.sim-score-sparks i{animation:none}.sim-score-sparks{display:none}}

.sim-side{display:flex;flex-direction:column;gap:20px;min-width:0}
.sim-side .sim-play-by-play{margin-top:0}
.sim-side .sim-box{width:100%;box-sizing:border-box}
.sim-side .sim-feed{max-height:245px}
@media(max-width:650px){.sim-side{display:contents}.sim-side .sim-feed{max-height:265px}}
