.game-review-overlay{position:fixed;inset:0;z-index:14000;display:grid;place-items:center;padding:14px;background:rgba(5,9,15,.82);backdrop-filter:blur(4px)}
.game-review-overlay[hidden]{display:none}.game-review-dialog{display:flex;flex-direction:column;width:min(1260px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:hidden;border:1px solid #334155;border-radius:17px;background:#15191f;color:#eef2f7;box-shadow:0 30px 90px rgba(0,0,0,.48)}
.game-review-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 18px;border-bottom:1px solid #343a43;background:#1d2229}.game-review-head h2{margin:0;font-size:1.45rem}.game-review-head p{margin:3px 0 0;color:#a9b3c1}.game-review-close{width:38px;height:38px;border:1px solid #46505d;border-radius:9px;background:#272d35;color:#fff;font-size:1.4rem;cursor:pointer}
.game-review-progress{height:5px;background:#2e3641}.game-review-progress>i{display:block;width:0;height:100%;background:#6fae43;transition:width .2s ease}.game-review-body{min-height:0;overflow:auto;padding:16px 18px 22px}.game-review-loading{display:grid;place-items:center;min-height:430px;text-align:center}.game-review-loading .play-spinner{width:34px;height:34px}.game-review-loading h3{margin:16px 0 5px}.game-review-loading p{margin:0;color:#a7b0bc}.game-review-loading-note{max-width:560px;margin-top:9px!important}
.game-review-interactive{display:grid;grid-template-columns:minmax(420px,650px) minmax(340px,1fr);gap:16px;align-items:start}.game-review-board-panel,.game-review-detail-panel,.game-review-chart-card,.game-review-scorecard,.game-review-overview{border:1px solid #363e48;border-radius:13px;background:#20252c;overflow:hidden}.game-review-board-panel{padding:11px}.game-review-playerbar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;min-height:39px;padding:5px 7px;color:#dce3eb}.game-review-playerbar strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-review-playerbar small{color:#aeb8c5;font-variant-numeric:tabular-nums}.game-review-player-dot{width:16px;height:16px;border:2px solid #8c96a4;border-radius:4px}.game-review-player-dot.white{background:#f4f4ed}.game-review-player-dot.black{background:#20242a}
.game-review-board-row{display:grid;grid-template-columns:24px minmax(0,1fr);gap:6px}.game-review-evalbar{position:relative;overflow:hidden;border-radius:4px;background:#171b20;color:#fff;box-shadow:inset 0 0 0 1px #454d58}.game-review-evalbar>div{position:absolute;right:0;bottom:0;left:0;height:50%;background:#eef0e7;transition:height .18s ease}.game-review-evalbar span{position:absolute;z-index:2;top:5px;left:50%;writing-mode:vertical-rl;transform:translateX(-50%);font-size:.66rem;font-weight:900;mix-blend-mode:difference}.game-review-board-wrap{position:relative;width:100%;aspect-ratio:1;background:#789b59;border:2px solid #111923;overflow:hidden}.game-review-board{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(8,minmax(0,1fr));width:100%;height:100%;container-type:inline-size}.game-review-square{position:relative;display:grid;place-items:center;min-width:0;min-height:0;overflow:hidden}.game-review-square.is-light{background:#eeeecf}.game-review-square.is-dark{background:#789b59}.game-review-square.is-last{box-shadow:inset 0 0 0 999px rgba(238,224,72,.31)}.game-review-piece{position:relative;z-index:2;display:grid;place-items:center;width:100%;height:100%}.game-review-piece>.tjk-chess-piece{width:92%;height:92%}.game-review-coordinate{position:absolute;z-index:3;font-size:clamp(8px,1.35cqw,12px);font-weight:900;pointer-events:none}.game-review-file{right:4px;bottom:2px}.game-review-rank{left:4px;top:2px}.game-review-square.is-light .game-review-coordinate{color:#789b59}.game-review-square.is-dark .game-review-coordinate{color:#eeeecf}.game-review-board-arrows{position:absolute;inset:0;z-index:5;width:100%;height:100%;pointer-events:none}.game-review-square-badge{position:absolute;z-index:7;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;transform:translate(-86%,-14%);color:#fff;font-weight:950;font-size:.78rem;box-shadow:0 3px 8px rgba(0,0,0,.35)}
.game-review-navigation{display:flex;justify-content:center;gap:6px;padding-top:9px}.game-review-navigation button,.game-review-options button,.game-review-actions button{min-height:38px;padding:7px 12px;border:1px solid #47515e;border-radius:8px;background:#292f37;color:#fff;font-weight:780;cursor:pointer}.game-review-navigation button:disabled{opacity:.38;cursor:not-allowed}.game-review-navigation button:hover:not(:disabled),.game-review-options button:hover,.game-review-actions button:hover{background:#343b45}
.game-review-detail-panel{display:flex;flex-direction:column;min-height:548px;max-height:704px}.game-review-current{display:grid;grid-template-columns:45px minmax(0,1fr);align-items:center;gap:11px;padding:15px;border-bottom:1px solid #373f49;background:#252b33}.game-review-current .game-review-icon{width:40px;height:40px}.game-review-current>div{display:grid;gap:2px}.game-review-current span{color:#aeb8c5;font-size:.78rem;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.game-review-current strong{font-size:1.24rem}.game-review-current small{color:#aab4c1}.review-start{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#4b5563;color:#fff;font-weight:900}.game-review-options{display:flex;flex-wrap:wrap;gap:7px;padding:10px 12px;border-bottom:1px solid #373f49}.game-review-options button.is-active{border-color:#7eaf58;background:#527d36}.game-review-line{display:grid;gap:3px;padding:11px 13px;border-bottom:1px solid #373f49;background:#1b2026}.game-review-line span{color:#8f9aa8;font-size:.72rem;font-weight:850;text-transform:uppercase}.game-review-line strong{line-height:1.45}.game-review-line small{color:#8f9aa8}.game-review-notation{min-height:0;overflow:auto;padding:9px 10px 13px}.game-review-move-row{display:grid;grid-template-columns:34px minmax(0,1fr) minmax(0,1fr);gap:5px;align-items:center;min-height:39px;border-radius:7px}.game-review-move-row:nth-child(odd){background:rgba(255,255,255,.025)}.game-review-move-number{padding-left:5px;color:#87919e}.game-review-notation-move{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;padding:7px 8px;border:1px solid transparent;border-radius:7px;background:transparent;color:#eef2f7;text-align:left;cursor:pointer}.game-review-notation-move>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:820}.game-review-notation-move:hover{background:#2b323b}.game-review-notation-move.is-current{border-color:#80b355;background:#344927}.game-review-mini-icon{display:grid;place-items:center;flex:0 0 auto;width:25px;height:25px;border-radius:50%;color:#fff;font-size:.69rem;font-style:normal;font-weight:950}
.game-review-icon{display:grid;place-items:center;width:30px;height:30px;margin:auto;border-radius:50%;color:#fff;font-style:normal;font-weight:950}.review-brilliant{background:#21bfa5}.review-theory{background:#c99668}.review-only{background:#59a9db}.review-best{background:#7fbd43}.review-excellent{background:#6c9f55}.review-good{background:#90ad73}.review-inaccuracy{background:#e9ae26}.review-mistake{background:#e9863d}.review-blunder{background:#e94a3d}
.game-review-chart-card{padding:14px}.game-review-chart-wide{margin-top:16px}.game-review-chart-card h3{margin:0 0 10px}.game-review-chart{display:block;width:100%;height:210px;border:1px solid #343b45;border-radius:9px;background:#0c0f13;cursor:crosshair}.game-review-chart .zero{stroke:#7b838c;stroke-width:1}.game-review-chart .phase{stroke:#606975;stroke-width:1;stroke-dasharray:5 6}.game-review-chart .area{fill:rgba(209,214,220,.38)}.game-review-chart .line{fill:none;stroke:#e6e9ed;stroke-width:2}.game-review-chart .cursor{stroke:#6ea8ff;stroke-width:1.4;stroke-dasharray:3 3;pointer-events:none}.game-review-chart .cursor-point{fill:#8fc0ff;stroke:#17202a;stroke-width:1.5;pointer-events:none}.game-review-chart-note{display:flex;margin-top:7px;color:#9099a5;font-size:.76rem}.game-review-chart-note span{min-width:0;text-align:center}.game-review-chart-help{margin:7px 0 0;color:#818c9a;font-size:.74rem}
.game-review-overview{margin-top:16px}.game-review-overview>summary{padding:13px 15px;cursor:pointer;font-weight:850;background:#252b33}.game-review-overview[open]>summary{border-bottom:1px solid #373f49}.game-review-scorecard{border:0;border-radius:0}.game-review-score-head{display:grid;grid-template-columns:1fr 115px 115px;align-items:center;padding:14px 16px;border-bottom:1px solid #373f49}.game-review-player{display:grid;text-align:center}.game-review-player strong{font-size:1.05rem}.game-review-player b{margin-top:6px;padding:7px;border-radius:7px;background:#f7f7f7;color:#20242a;font-size:1.35rem}.game-review-player.black b{background:#30353c;color:#fff}.game-review-table{padding:10px 15px 14px}.game-review-row{display:grid;grid-template-columns:1fr 80px 44px 80px;align-items:center;min-height:39px;border-bottom:1px solid rgba(255,255,255,.045)}.game-review-row:last-child{border:0}.game-review-row span:first-child{font-weight:750}.game-review-row b{text-align:center;font-size:1.05rem}.game-review-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:14px}
@media(max-width:900px){.game-review-interactive{grid-template-columns:1fr}.game-review-detail-panel{min-height:420px;max-height:none}.game-review-board-panel{max-width:690px;margin:auto}.game-review-score-head{grid-template-columns:1fr 90px 90px}.game-review-row{grid-template-columns:1fr 58px 36px 58px}}
@media(max-width:560px){.game-review-overlay{padding:0}.game-review-dialog{width:100vw;max-height:100dvh;border-radius:0}.game-review-body{padding:10px}.game-review-board-row{grid-template-columns:18px 1fr}.game-review-navigation button{padding-inline:9px}.game-review-score-head{grid-template-columns:1fr 74px 74px}.game-review-current{padding:11px}.game-review-options{padding:8px}}

/* TJK-Chess 14.6.4 interactive review additions */
.game-review-head-actions{display:flex;align-items:center;gap:10px}.game-review-head-actions>[data-review-save-state]{color:#94a3b8;font-size:.78rem;font-weight:750}
.game-review-square.is-selected::after{content:"";position:absolute;inset:4%;z-index:4;border:4px solid rgba(241,196,25,.92);pointer-events:none}.game-review-square.is-legal::before{content:"";position:absolute;z-index:4;width:23%;aspect-ratio:1;border-radius:50%;background:rgba(20,42,24,.35);pointer-events:none}.game-review-square.is-capture::before{content:"";position:absolute;inset:9%;z-index:4;border:5px solid rgba(20,42,24,.33);border-radius:50%;pointer-events:none}.game-review-piece{cursor:grab}.game-review-piece.is-hidden{visibility:hidden}.game-review-drag-ghost{position:fixed;z-index:16000;display:grid;place-items:center;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 7px 8px rgba(0,0,0,.3))}.game-review-drag-ghost>.tjk-chess-piece{width:94%;height:94%}
.game-review-current-icon.review-analysis{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#42658f;color:#fff;font-size:1.25rem;font-weight:900}
.game-review-engine-controls{display:grid;grid-template-columns:auto minmax(95px,1.2fr) 82px 72px auto auto;gap:7px;align-items:end;padding:10px 12px;border-bottom:1px solid #373f49;background:#222831}.game-review-engine-controls label{display:grid;gap:4px;color:#9aa6b5;font-size:.68rem;font-weight:850;text-transform:uppercase}.game-review-engine-controls select,.game-review-engine-controls button{min-height:36px;padding:6px 9px;border:1px solid #485464;border-radius:7px;background:#2a313a;color:#f1f5f9;font:inherit;font-weight:760}.game-review-engine-controls button{cursor:pointer}.game-review-engine-controls button:hover{background:#343d48}.game-review-engine-controls button.is-active{border-color:#7eaf58;background:#527d36}.game-review-engine-switch{align-self:center!important;display:flex!important;grid-auto-flow:column;align-items:center;gap:6px!important;margin-top:14px}.game-review-engine-switch input{width:17px;height:17px}.game-review-engine-state{min-height:28px;padding:6px 12px;border-bottom:1px solid #343c46;color:#9ba7b6;font-size:.76rem}.game-review-pv-list{display:grid;gap:4px;max-height:210px;overflow:auto;padding:8px 10px;border-bottom:1px solid #373f49;background:#191e24}.game-review-pv-list>p{margin:4px;color:#9aa6b5}.game-review-pv-row{display:grid;grid-template-columns:62px minmax(0,1fr) 38px;gap:8px;align-items:center;width:100%;min-height:35px;padding:6px 8px;border:1px solid transparent;border-radius:7px;background:#232a32;color:#eef2f7;text-align:left;cursor:pointer}.game-review-pv-row:hover:not(:disabled){border-color:#56667a;background:#2b343e}.game-review-pv-row b{color:#8fb6ff;font-variant-numeric:tabular-nums}.game-review-pv-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:720}.game-review-pv-row small{text-align:right;color:#8e9aaa}.game-review-pv-row.is-loading{opacity:.72;cursor:default}.game-review-options{border-bottom:1px solid #373f49}.game-review-options [data-review-return-game]{border-color:#6e9f49;background:#405f2f}.game-review-detail-panel{min-height:620px;max-height:760px}.game-review-notation{flex:1}
@media(max-width:1050px){.game-review-engine-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.game-review-engine-switch{margin-top:0}.game-review-detail-panel{max-height:none}}
@media(max-width:560px){.game-review-head-actions>[data-review-save-state]{display:none}.game-review-engine-controls{grid-template-columns:1fr 1fr}.game-review-pv-list{max-height:170px}}

/* TJK-Chess 15.0 personal mistake training */
.game-review-training-actions{display:grid;gap:10px;padding:14px;border:1px solid rgba(214,169,56,.45);border-radius:13px;background:rgba(214,169,56,.08)}.game-review-training-actions>div:first-child{display:grid}.game-review-training-actions span{font-size:.7rem;letter-spacing:.09em;font-weight:900;color:var(--muted,#667085)}.game-review-training-actions small{margin-top:4px;color:var(--muted,#667085)}.game-review-training-actions>div:last-child{display:flex;gap:7px;flex-wrap:wrap}.game-review-training-actions button{border:1px solid var(--line,#dbe2ec);border-radius:9px;background:var(--panel,#fff);color:inherit;padding:8px 10px;font-weight:750;cursor:pointer}.game-review-training-actions button:nth-child(1),.game-review-training-actions button:nth-child(3){background:#dfb64a;color:#1c1a13;border-color:#dfb64a}@media(max-width:720px){.game-review-training-actions>div:last-child{display:grid;grid-template-columns:1fr 1fr}.game-review-training-actions button{width:100%}}

/* v15.1.59: readable training actions, three visible engine lines, and mistake trainer. */
.game-review-training-actions button{background:#2a313a!important;color:#f1f5f9!important;border-color:#485464!important}
.game-review-training-actions button:nth-child(1),.game-review-training-actions button:nth-child(3){background:#dfb64a!important;color:#1c1a13!important;border-color:#dfb64a!important}
.game-review-training-actions span,.game-review-training-actions small{color:#c6cfdb!important}
.game-review-pv-list{min-height:133px;max-height:245px}
.game-review-options [data-review-train-errors]{border-color:#d5a92f;background:#d9b542;color:#17150e;font-weight:850}
.game-review-options [data-review-train-errors]:disabled{opacity:.5;cursor:not-allowed}
.game-review-mistake-trainer{display:grid;gap:10px;padding:12px 14px;border-bottom:1px solid #4b5563;background:#20282f;color:#f1f5f9}
.game-review-mistake-trainer[hidden]{display:none!important}
.game-review-mistake-trainer>div:first-child{display:grid;gap:3px}
.game-review-mistake-trainer span{color:#f0c54a;font-size:.7rem;font-weight:900;letter-spacing:.08em}
.game-review-mistake-trainer small{color:#cbd5e1;line-height:1.35}
.game-review-mistake-trainer>div:last-child{display:flex;gap:8px;flex-wrap:wrap}
.game-review-mistake-trainer button{min-height:36px;padding:7px 11px;border:1px solid #596678;border-radius:8px;background:#2d3742;color:#f8fafc;font-weight:800;cursor:pointer}
.game-review-mistake-trainer [data-review-trainer-next]{background:#d9b542;color:#17150e;border-color:#d9b542}
.game-review-trainer-hint{min-height:88px;display:flex;align-items:center;padding:10px!important;color:#d6dee9!important}
@media(max-width:560px){.game-review-pv-list{min-height:126px;max-height:190px}}


/* v15.1.60 — same interaction language as every other TJK-Chess board. */
.game-review-drag-ghost{left:0!important;top:0!important;will-change:transform}
.game-review-square.is-selected::after{border-color:#f1c419!important}
.game-review-square.is-legal::before,.game-review-square.is-drag-legal:not(.is-capture)::before{background:rgba(44,51,58,.36)!important}
.game-review-square.is-capture::before,.game-review-square.is-drag-legal.is-capture::before{background:transparent!important;border-color:rgba(44,51,58,.36)!important}
.game-review-action-feedback{grid-column:1/-1;margin:0;padding:8px 10px;border-radius:8px;background:#182b1d;color:#d7f2dd;font-size:.78rem;font-weight:800}
.game-review-action-feedback.is-error{background:#3a1f23;color:#ffd5d8}

/* v15.1.65: keep piece dragging on the compositor and out of layout. */
.game-review-drag-ghost{pointer-events:none!important;will-change:transform!important;contain:layout paint style!important;transition:none!important;animation:none!important}
.game-review-board,.game-review-square,.game-review-piece{touch-action:none}
.game-review-trainer-grade{display:inline-flex;align-items:center;gap:6px;margin-top:6px;font-style:normal;font-weight:800}

/* v15.1.66: keep drag/annotation layers on the compositor. */
.game-review-board,.game-review-board-stage,.game-review-overlay{contain:layout paint style}
.game-review-drag-ghost{will-change:transform!important;transition:none!important;pointer-events:none!important;transform-origin:center center}
.game-review-annotations{will-change:contents;pointer-events:none}

/* v15.1.66 interaction performance: full-screen backdrop blur forced a costly
   recomposite on every pointer frame. Keep the same dark overlay without blur. */
.game-review-overlay{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.game-review-drag-ghost{filter:none!important;box-shadow:none!important}
.game-review-board-arrows{contain:strict!important}

/* v15.1.67: give the played-move list more room while keeping three engine
   lines visible, and make the course chart behave like the other accordions. */
.game-review-detail-panel{min-height:690px;max-height:860px}
.game-review-pv-list{min-height:118px;max-height:145px}
.game-review-notation{flex:1 1 auto;min-height:230px;max-height:390px}
.game-review-course>.game-review-chart-card{margin-top:0;border:0;border-radius:0}
@media(max-width:1050px){.game-review-detail-panel{min-height:590px;max-height:none}.game-review-notation{min-height:220px;max-height:360px}}
@media(max-width:560px){.game-review-detail-panel{min-height:0}.game-review-pv-list{min-height:118px;max-height:145px}.game-review-notation{min-height:210px;max-height:330px}}


/* v15.1.69: Opening Lab target picker stays inside Computer Analysis. */
.game-review-opening-lab-picker[hidden]{display:none!important}
.game-review-opening-lab-picker{position:absolute;inset:0;z-index:18;display:grid;place-items:center;padding:20px;background:rgba(8,12,18,.72)}
.game-review-detail-panel{position:relative}
.game-review-opening-lab-card{display:grid;gap:12px;width:min(440px,calc(100% - 20px));padding:17px;border:1px solid #526071;border-radius:12px;background:#222831;box-shadow:0 18px 46px rgba(0,0,0,.38)}
.game-review-opening-lab-card>strong{font-size:1.05rem}.game-review-opening-lab-card label{display:grid;gap:5px;color:#c9d2de;font-size:.78rem;font-weight:800}
.game-review-opening-lab-card select,.game-review-opening-lab-card input{width:100%;min-height:39px;padding:7px 9px;border:1px solid #526071;border-radius:8px;background:#171c22;color:#f4f7fb;font:inherit}
.game-review-opening-lab-card>div{display:flex;justify-content:flex-end;gap:8px}.game-review-opening-lab-card button{min-height:38px;padding:7px 12px;border:1px solid #526071;border-radius:8px;background:#2b333d;color:#f4f7fb;font-weight:800;cursor:pointer}.game-review-opening-lab-card [data-review-opening-lab-confirm]{background:#dfb64a;color:#1c1a13;border-color:#dfb64a}
/* With only three remaining training actions the intended primary buttons are first and last. */
.game-review-training-actions button:nth-child(3){background:#dfb64a!important;color:#1c1a13!important;border-color:#dfb64a!important}

/* v15.1.70: native [hidden] loses against the label display:grid rule in some
   browsers; keep the new-lab name row truly conditional. */
.game-review-opening-lab-card [data-review-opening-lab-new-row][hidden]{display:none!important}
.game-review-training-actions .game-review-opening-lab-open{background:#2a66d9!important;color:#fff!important;border-color:#2a66d9!important;width:max-content}

.game-review-player .game-review-performance{display:block;margin-top:2px;font-size:.68rem;font-weight:750;line-height:1.15;opacity:.72;white-space:nowrap}

/* v15.1.73 — denser computer review and readable accuracy/performance. */
.game-review-dialog{zoom:.90;width:min(1400px,calc((100vw - 22px)/.90));max-height:calc((100dvh - 22px)/.90)}
.game-review-score-head{grid-template-columns:minmax(130px,1fr) minmax(155px,190px) minmax(155px,190px);gap:10px}
.game-review-player{min-width:0;align-self:stretch}.game-review-player strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-review-player b{font-variant-numeric:tabular-nums}
.game-review-performance{display:grid;gap:2px;margin-top:6px;color:#aeb8c5;font-size:.74rem;line-height:1.12;white-space:normal}.game-review-performance span{display:block}.game-review-performance em{display:block;color:#dce4ee;font-size:.8rem;font-style:normal;font-weight:850}
@media(max-width:900px){.game-review-score-head{grid-template-columns:minmax(110px,1fr) minmax(135px,170px) minmax(135px,170px)}}
@media(max-width:560px){.game-review-dialog{zoom:.90;width:111.111vw;max-height:111.111dvh;border-radius:0}.game-review-score-head{grid-template-columns:1fr 1fr;gap:8px}.game-review-score-head>strong{grid-column:1/-1}.game-review-player b{font-size:1.15rem}.game-review-performance{font-size:.68rem}}

/* v15.1.74 — on phones the computer-review board owns the viewport width.
   Desktop retains the deliberate 90% density from v15.1.73. */
@media(max-width:720px){
  .game-review-overlay{place-items:start center!important;padding:0!important;overflow:hidden!important}
  .game-review-dialog{zoom:1!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-width:0!important;border-radius:0!important}
  .game-review-head{flex:0 0 auto;padding:7px 9px!important;gap:6px!important}
  .game-review-head h2{font-size:1.05rem!important}.game-review-head p{display:none!important}.game-review-close{width:34px!important;height:34px!important}
  .game-review-body{padding:3px!important;overflow:auto!important;overscroll-behavior:contain}
  .game-review-interactive{display:block!important;width:100%!important;max-width:100%!important}
  .game-review-board-panel{width:100%!important;max-width:none!important;margin:0!important;padding:2px!important;border-radius:5px!important}
  .game-review-playerbar{min-height:30px!important;padding:2px 4px!important;gap:5px!important;font-size:.75rem!important}
  .game-review-board-row{grid-template-columns:16px minmax(0,1fr)!important;gap:2px!important;width:100%!important}
  .game-review-evalbar span{font-size:.55rem!important;top:3px!important}
  .game-review-board-wrap{width:100%!important;max-width:none!important;border-width:1px!important}
  .game-review-detail-panel{width:100%!important;max-width:100%!important;margin-top:5px!important;min-height:0!important;max-height:none!important;border-radius:7px!important}
  .game-review-score-head{grid-template-columns:1fr 1fr!important;gap:6px!important;padding:8px!important}
  .game-review-score-head>strong{grid-column:1/-1!important}.game-review-player b{font-size:1.05rem!important}.game-review-performance{font-size:.65rem!important}
}

/* v15.1.86 — reliable hidden badge and tighter board navigation. */
.game-review-square-badge[hidden]{display:none!important}
.game-review-navigation{padding-top:3px!important;margin-top:-2px!important}

/* v15.1.155 — percentage-first analysis progress, similar to modern review UIs. */
.game-review-loading-percent{
  display:block;
  margin:10px 0 6px;
  font-size:clamp(2rem,5vw,3.4rem);
  line-height:1;
  font-weight:950;
  letter-spacing:-.045em;
  font-variant-numeric:tabular-nums;
  color:#dfe9f8;
}
html:not([data-theme="dark"]) .game-review-loading-percent{color:#102a56}
.game-review-loading>div>p:first-of-type{margin-top:6px;font-weight:750}
