.game-history-page{--gh-ink:#0f172a;--gh-muted:#64748b;--gh-line:#e2e8f0;--gh-surface:#fff;--gh-bg:#f1f5f9;--gh-accent:#2563eb;--gh-accent-soft:#eff6ff;--gh-win:#15803d;--gh-win-soft:#dcfce7;--gh-win-glow:#15803d1f;--gh-loss:#dc2626;--gh-loss-soft:#fee2e2;--gh-loss-glow:#dc26261a;--gh-draw:#475569;--gh-draw-soft:#f1f5f9;--gh-practical:#7c3aed;--gh-practical-soft:#f3e8ff;--gh-pvp:#0369a1;--gh-pvp-soft:#e0f2fe;--gh-custom:#b45309;--gh-custom-soft:#fef3c7;--gh-radius:16px;--gh-shadow:0 1px 3px #0f172a0f,0 4px 16px #0f172a0a;--gh-shadow-hover:0 8px 28px #0f172a1a;box-sizing:border-box;background:var(--gh-bg);width:90%;min-height:100vh;margin-left:10%;padding:1.5rem 1.75rem 2.5rem}.gh-page-header{margin-bottom:1.25rem}.gh-page-title{color:var(--gh-ink);letter-spacing:-.035em;margin:0;font-size:1.75rem;font-weight:800;line-height:1.15}.gh-page-subtitle{color:var(--gh-muted);max-width:40rem;margin:.35rem 0 0;font-size:.94rem;line-height:1.5}.gh-toolbar-panel{background:var(--gh-surface);border:1px solid var(--gh-line);border-radius:var(--gh-radius);box-shadow:var(--gh-shadow);flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem 1.5rem;margin-bottom:1.5rem;padding:1rem 1.15rem;display:flex}.gh-toolbar-selects{flex-wrap:wrap;flex:1;gap:.85rem 1rem;min-width:0;display:flex}.gh-toolbar-field{flex-direction:column;flex:1;gap:.35rem;min-width:160px;max-width:240px;display:flex}.gh-toolbar-field label{letter-spacing:.07em;text-transform:uppercase;color:var(--gh-muted);font-size:.68rem;font-weight:700}.gh-toolbar-field select{appearance:none;border:1px solid var(--gh-line);width:100%;color:var(--gh-ink);cursor:pointer;background:#fafbfc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.2 1.2l4.8 4.8 4.8-4.8'/%3E%3C/svg%3E") right .85rem center no-repeat;border-radius:10px;padding:.62rem 2rem .62rem .85rem;font-size:.9rem;font-weight:600;transition:border-color .15s,box-shadow .15s}.gh-toolbar-field select:disabled{opacity:.5;cursor:not-allowed}.gh-toolbar-field select:hover:not(:disabled){border-color:#cbd5e1}.gh-toolbar-field select:focus{border-color:#93c5fd;outline:none;box-shadow:0 0 0 3px #2563eb1f}.gh-toolbar-filters{flex-direction:column;gap:.4rem;display:flex}.gh-toolbar-filters-label{letter-spacing:.07em;text-transform:uppercase;color:var(--gh-muted);font-size:.68rem;font-weight:700}.gh-filter-pills{border:1px solid var(--gh-line);background:#f8fafc;border-radius:999px;flex-wrap:wrap;gap:.4rem;padding:.25rem;display:flex}.gh-filter-pill{color:var(--gh-muted);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:999px;padding:.45rem .9rem;font-size:.82rem;font-weight:650;transition:background .15s,color .15s,box-shadow .15s}.gh-filter-pill:hover:not(.is-active){color:var(--gh-ink);background:#fffc}.gh-filter-pill.is-active{background:var(--gh-surface);color:var(--gh-accent);box-shadow:0 1px 4px #0f172a14}.gh-list-section{--gh-list-cols:5.5rem minmax(9rem,1.15fr)minmax(9rem,1.15fr)7.25rem 6.75rem 4.75rem 4rem 6.25rem;--gh-list-gap:.65rem .85rem;--gh-list-pad-x:1rem;flex-direction:column;gap:.75rem;display:flex}.gh-list-heading-row{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.75rem;display:flex}.gh-list-heading{color:var(--gh-muted);margin:0;font-size:.95rem;font-weight:600}.gh-list-heading span{color:var(--gh-ink);font-weight:700}.gh-list-count{color:#94a3b8;font-size:.78rem;font-weight:600}.gh-list{background:var(--gh-surface);border:1px solid var(--gh-line);box-shadow:var(--gh-shadow);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.gh-list-header,.gh-row{grid-template-columns:var(--gh-list-cols);gap:var(--gh-list-gap);padding-left:var(--gh-list-pad-x);padding-right:var(--gh-list-pad-x);align-items:center;display:grid}.gh-list-header{border-bottom:1px solid var(--gh-line);letter-spacing:.06em;text-transform:uppercase;color:#94a3b8;background:#f8fafc;padding-top:.7rem;padding-bottom:.7rem;font-size:.68rem;font-weight:750}.gh-list-header-rating,.gh-list-header-action{text-align:right}.gh-row{background:var(--gh-surface);border-bottom:1px solid #eef2f7;padding-top:.78rem;padding-bottom:.78rem;transition:background .15s,box-shadow .15s;position:relative}.gh-row:last-child{border-bottom:none}.gh-row:before{content:"";background:0 0;border-radius:0 3px 3px 0;width:3px;position:absolute;top:.55rem;bottom:.55rem;left:0}.gh-row--win:before{background:var(--gh-win)}.gh-row--loss:before{background:var(--gh-loss)}.gh-row--draw:before{background:#94a3b8}.gh-row--clickable{cursor:pointer}.gh-row--clickable:hover{background:#f8fafc}.gh-row--clickable:focus-visible{background:var(--gh-accent-soft);outline:none;box-shadow:inset 0 0 0 2px #2563eb40}.gh-row--no-moves{cursor:default}.gh-row-outcome{letter-spacing:.01em;border-radius:999px;align-items:center;gap:.35rem;width:fit-content;padding:.28rem .58rem;font-size:.72rem;font-weight:800;display:inline-flex}.gh-row-outcome--win{color:var(--gh-win);background:var(--gh-win-soft)}.gh-row-outcome--loss{color:var(--gh-loss);background:var(--gh-loss-soft)}.gh-row-outcome--draw{color:var(--gh-draw);background:var(--gh-draw-soft)}.gh-row-outcome-dot{background:currentColor;border-radius:50%;flex-shrink:0;width:.4rem;height:.4rem}.gh-row-player{align-items:center;gap:.45rem;min-width:0;display:flex}.gh-row-player.is-student .gh-row-handle{color:var(--gh-ink);font-weight:750}.gh-row-player-body{flex-direction:column;justify-content:center;gap:.08rem;min-width:0;display:flex}.gh-row-player-main{align-items:center;gap:.35rem;min-width:0;display:flex}.gh-row-side{letter-spacing:.02em;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:1.35rem;height:1.35rem;font-size:.62rem;font-weight:800;line-height:1;display:inline-flex}.gh-row-side--white{color:#5b21b6;background:#ede9fe}.gh-row-side--black{color:#1e293b;background:#e2e8f0}.gh-row-handle{color:#475569;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:.88rem;font-weight:650;line-height:1.2;overflow:hidden}.gh-row-rating{color:#94a3b8;font-variant-numeric:tabular-nums;flex-shrink:0;font-size:.75rem;font-weight:600;line-height:1.2}.gh-row-you{color:var(--gh-accent);letter-spacing:.02em;font-size:.62rem;font-weight:650;line-height:1.1}.gh-row-tags{flex-direction:column;align-items:flex-start;gap:.25rem;min-width:0;display:flex}.gh-row-type{white-space:nowrap;border-radius:6px;align-items:center;gap:.28rem;padding:.22rem .48rem;font-size:.68rem;font-weight:700;display:inline-flex}.gh-row-type--pvp{color:var(--gh-pvp);background:var(--gh-pvp-soft)}.gh-row-type--practical_session{color:var(--gh-practical);background:var(--gh-practical-soft)}.gh-row-type--custom{color:var(--gh-custom);background:var(--gh-custom-soft)}.gh-row-date{color:#475569;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:.82rem;font-weight:600}.gh-row-moves{white-space:nowrap;font-variant-numeric:tabular-nums;align-items:baseline;gap:.25rem;display:flex}.gh-row-moves-num{color:var(--gh-ink);font-size:.88rem;font-weight:750}.gh-row-moves-label,.gh-row-moves-empty{color:#94a3b8;font-size:.72rem;font-weight:600}.gh-row-delta{font-variant-numeric:tabular-nums;text-align:right;color:#94a3b8;font-size:.86rem;font-weight:750}.gh-row-delta.is-up{color:var(--gh-win)}.gh-row-delta.is-down{color:var(--gh-loss)}.gh-row-delta.is-empty{color:#cbd5e1}.gh-row-action{justify-content:flex-end;display:flex}.gh-row-review{background:var(--gh-accent-soft);color:#1d4ed8;cursor:pointer;border:1px solid #bfdbfe;border-radius:8px;justify-content:center;align-items:center;min-width:5.5rem;padding:.45rem .75rem;font-size:.78rem;font-weight:700;transition:background .15s,border-color .15s,color .15s,transform .1s;display:inline-flex}.gh-row-review:hover:not(:disabled){color:#1e40af;background:#dbeafe;border-color:#93c5fd}.gh-row-review:active:not(:disabled){transform:scale(.98)}.gh-row-review:disabled{cursor:not-allowed;color:#94a3b8;background:#f1f5f9;border-color:#e2e8f0}.gh-row--skeleton{pointer-events:none}.gh-row--skeleton:before{background:#e2e8f0}.gh-row--skeleton .gh-skeleton{background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%) 0 0/200% 100%;border-radius:6px;height:1.2rem;animation:1.2s ease-in-out infinite gh-shimmer}.gh-row--skeleton .gh-skeleton--outcome{border-radius:999px;width:3.6rem;height:1.5rem}.gh-row--skeleton .gh-skeleton--player{width:78%}.gh-row--skeleton .gh-skeleton--tag{width:4.2rem;height:1.35rem}.gh-row--skeleton .gh-skeleton--date{width:5.2rem}.gh-row--skeleton .gh-skeleton--moves{width:3rem}.gh-row--skeleton .gh-skeleton--delta{justify-self:end;width:2rem}.gh-row--skeleton .gh-skeleton--btn{justify-self:end;width:5.5rem;height:2rem}@keyframes gh-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.gh-state{text-align:center;background:var(--gh-surface);border:1px dashed var(--gh-line);border-radius:var(--gh-radius);flex-direction:column;justify-content:center;align-items:center;gap:.5rem;padding:3.5rem 1.5rem;display:flex}.gh-state--error{color:var(--gh-loss);background:#fff7f7;border-color:#fecaca}.gh-state--empty{border-style:solid;border-color:var(--gh-line)}.gh-state-icon{opacity:.5;font-size:1.75rem;line-height:1}.gh-state-title{color:var(--gh-ink);margin:0;font-size:1rem;font-weight:700}.gh-state-hint{color:var(--gh-muted);max-width:22rem;margin:0;font-size:.88rem}.gh-state p{margin:0}.gh-pagination-bar{background:var(--gh-surface);border:1px solid var(--gh-line);box-shadow:var(--gh-shadow);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-top:1.25rem;padding:.9rem 1.15rem;display:flex}.gh-summary{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.gh-summary-games{color:var(--gh-ink);font-size:.92rem;font-weight:800}.gh-summary-pages,.gh-summary-per-page{color:var(--gh-muted);font-size:.86rem;font-weight:600}.gh-summary-sep{color:#cbd5e1;font-weight:600}.gh-pagination{align-items:center;gap:.5rem;display:flex}.gh-pagination-btn{border:1px solid var(--gh-line);background:var(--gh-surface);color:var(--gh-ink);cursor:pointer;border-radius:999px;padding:.48rem 1.05rem;font-size:.86rem;font-weight:650;transition:background .15s,border-color .15s}.gh-pagination-btn:disabled{opacity:.38;cursor:not-allowed}.gh-pagination-btn:not(:disabled):hover{background:var(--gh-accent-soft);color:var(--gh-accent);border-color:#bfdbfe}.gh-review-overlay{z-index:1000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0f172a9e;justify-content:stretch;align-items:stretch;padding:0;display:flex;position:fixed;inset:0}.gh-review-modal{background:var(--gh-bg);width:100%;height:100%;max-height:100vh;box-shadow:none;border-radius:0;flex-direction:column;display:flex;overflow:hidden}.gh-review-header{background:var(--gh-surface);border-bottom:1px solid var(--gh-line);flex-shrink:0;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;padding:.85rem 1.35rem;display:grid}.gh-review-logo{object-fit:contain;flex-shrink:0;justify-self:start;width:auto;height:2.25rem}.gh-review-header-main{text-align:center;min-width:0}.gh-review-title{color:var(--gh-ink);letter-spacing:-.02em;margin:0;font-size:1.15rem}.gh-review-sub{flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem;margin-top:.4rem;display:flex}.gh-card-badge{border-radius:999px;padding:.2rem .55rem;font-size:.72rem;font-weight:700}.gh-card-badge--win{color:var(--gh-win);background:var(--gh-win-soft)}.gh-card-badge--loss{color:var(--gh-loss);background:var(--gh-loss-soft)}.gh-card-badge--draw{color:var(--gh-draw);background:var(--gh-draw-soft)}.gh-review-id,.gh-review-result{color:var(--gh-muted);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.78rem}.gh-review-nav-btn,.gh-review-tool-btn{border:1px solid var(--gh-line);background:var(--gh-surface);color:var(--gh-ink);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:.45rem .85rem;font-size:.84rem;font-weight:600;display:inline-flex}.gh-review-nav-btn:disabled,.gh-review-tool-btn:disabled{opacity:.45;cursor:not-allowed}.gh-review-nav-btn:not(:disabled):hover,.gh-review-tool-btn:not(:disabled):hover{background:var(--gh-accent-soft)}.gh-review-close{color:#fff;cursor:pointer;background:#dc2626;border:1px solid #b91c1c;border-radius:10px;flex-shrink:0;justify-content:center;justify-self:end;align-items:center;gap:.35rem;min-width:6.5rem;height:2.6rem;padding:0 .9rem;font-size:.92rem;font-weight:700;line-height:1;display:inline-flex;box-shadow:0 1px 3px #b91c1c59}.gh-review-close:hover{background:#b91c1c}.gh-review-close:focus-visible{outline-offset:2px;outline:2px solid #fecaca}.gh-review-close-icon{font-size:1.45rem;font-weight:500;line-height:1}.gh-review-close-label{letter-spacing:.01em;font-size:.88rem}.gh-review-loading{color:#134e70;background:#e8f4fc;border-radius:8px;flex-shrink:0;margin:.65rem 1.35rem 0;padding:.55rem .75rem;font-size:.9rem}.gh-review-error{color:var(--gh-loss);background:#fee2e2;border-radius:8px;flex-shrink:0;margin:.65rem 1.35rem 0;padding:.55rem .75rem;font-size:.9rem}.gh-review-body{flex:1;grid-template-columns:minmax(0,1.45fr) minmax(320px,.7fr);align-items:stretch;gap:1.15rem;min-height:0;padding:1rem 1.35rem 1.25rem;display:grid}.gh-review-board-col{flex-direction:column;gap:.75rem;min-width:0;min-height:0;display:flex}.gh-review-board-wrap{max-width:min(100%,85vh);margin:0 auto;padding-right:28px;overflow:visible}.gh-review-board-wrap .chessboard-box{width:100%}.gh-review-board-wrap .chsbrd-cntr{overflow:visible}.gh-review-flip-btn{background:var(--gh-accent-soft);min-width:5.25rem;height:2.6rem;color:var(--gh-accent);cursor:pointer;border:1px solid #bfdbfe;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;gap:.4rem;padding:0 .8rem;font-size:.88rem;font-weight:700;display:inline-flex}.gh-review-flip-btn:hover{color:#1d4ed8;background:#dbeafe;border-color:#93c5fd}.gh-review-flip-btn:focus-visible{outline-offset:2px;outline:2px solid #93c5fd}.gh-review-flip-icon{object-fit:contain;width:1.15rem;height:1.15rem}.gh-review-flip-label{letter-spacing:.01em;line-height:1}.gh-review-sound-btn{background:var(--gh-accent-soft);width:40px;min-width:0;height:40px;color:var(--gh-accent);cursor:pointer;border:1px solid #bfdbfe;border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.gh-review-sound-btn:hover{background:#dbeafe;border-color:#93c5fd}.gh-review-sound-btn:focus-visible{outline-offset:2px;outline:2px solid #93c5fd}.gh-review-sound-btn.is-off{background:#f8fafc;border-color:#e2e8f0}.gh-review-sound-btn.is-off:hover{background:#f1f5f9;border-color:#cbd5e1}.gh-review-sound-icon{width:24px;height:24px;display:block}.gh-review-colors{gap:.35rem;display:inline-flex}.gh-review-color{cursor:pointer;border:1px solid #0000;border-radius:3px;width:1rem;height:1rem;padding:0}.gh-review-color.active{border-color:var(--gh-ink);transform:scale(1.15)}.gh-review-side-col{background:var(--gh-surface);border:1px solid var(--gh-line);border-radius:14px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.gh-review-game-nav{border-bottom:1px solid var(--gh-line);flex-shrink:0;grid-template-columns:1fr 1fr;gap:.5rem;padding:.85rem .85rem .65rem;display:grid}.gh-review-game-nav .gh-review-nav-btn{justify-content:center;width:100%}.gh-review-ply-nav{border-top:1px solid var(--gh-line);flex-shrink:0;justify-content:center;align-items:center;gap:.65rem;padding:.65rem .85rem .85rem;display:flex}.gh-review-ply-nav .moves-navigation{flex:1;justify-content:center;width:auto}.gh-review-tabs{border-bottom:1px solid var(--gh-line);flex-shrink:0;display:flex}.gh-review-tab{color:var(--gh-muted);cursor:pointer;background:0 0;border:none;flex:1;padding:.7rem;font-weight:700}.gh-review-tab.active{color:var(--gh-accent);box-shadow:inset 0 -2px 0 var(--gh-accent)}.gh-review-tab-panel{flex:1;min-height:0;padding:.75rem .85rem 1rem;overflow:auto}@media (max-width:1200px) and (min-width:901px){.gh-list{overflow-x:auto}.gh-list-header,.gh-row{min-width:960px}}@media (max-width:900px){.game-history-page{float:none;width:100%;padding:1.15rem 1rem 2rem}.gh-toolbar-panel{flex-direction:column;align-items:stretch}.gh-toolbar-selects{flex-direction:column}.gh-toolbar-field{max-width:none}.gh-list-section{--gh-list-cols:1fr;--gh-list-pad-x:.85rem}.gh-list-header{display:none}.gh-row{grid-template-columns:auto 1fr auto;grid-template-areas:"outcome white action""outcome black action""type type type""date moves delta";gap:.35rem .65rem;padding-top:.85rem;padding-bottom:.85rem}.gh-row-outcome{grid-area:outcome;align-self:start}.gh-row-player--white{grid-area:#fff}.gh-row-player--black{grid-area:#000}.gh-row-tags{flex-flow:wrap;grid-area:type;margin-top:.2rem}.gh-row-date{grid-area:date}.gh-row-moves{grid-area:moves}.gh-row-delta{grid-area:delta}.gh-row-action{grid-area:action;align-self:start}.gh-row--skeleton{grid-template-columns:1fr;grid-template-areas:none;gap:.45rem}.gh-row--skeleton .gh-skeleton{width:100%;max-width:14rem}.gh-row--skeleton .gh-skeleton--player:first-of-type{max-width:none}.gh-row--skeleton .gh-skeleton--btn{justify-self:end;max-width:6rem}.gh-review-modal{overflow:auto}.gh-review-body{grid-template-columns:1fr;overflow:auto}.gh-review-board-wrap{flex:none;max-width:min(100%,92vw)}.gh-review-side-col{min-height:420px}.gh-review-header{align-items:center}}@media (min-width:1400px){.gh-review-body{grid-template-columns:minmax(0,1.55fr) minmax(360px,.65fr);gap:1.35rem;padding:1.15rem 1.6rem 1.4rem}}
.cp-game-review{z-index:70;padding:var(--space-4);background:color-mix(in srgb,var(--color-neutral-900)50%,transparent);animation:cp-fade-in var(--duration)var(--ease-out);place-items:center;display:grid;position:fixed;inset:0}.cp-game-review__panel{background:var(--color-neutral-100);border:1px solid var(--color-neutral-300);border-radius:var(--radius-lg);width:min(1180px,100%);max-height:min(92vh,900px);box-shadow:var(--shadow-lg);font-family:var(--font-body);color:var(--color-text);flex-direction:column;display:flex;overflow:hidden}.cp-game-review__head{align-items:flex-start;gap:var(--space-4);padding:var(--space-4)var(--space-5);border-bottom:1px solid var(--color-divider);display:flex}.cp-game-review__title{font-family:var(--font-heading);font-size:var(--text-section-title);margin:0;line-height:1.15}.cp-game-review__sub{color:var(--color-neutral-600);flex-wrap:wrap;gap:8px;margin-top:6px;font-size:12.5px;display:flex}.cp-game-review__badge{border-radius:var(--radius-pill);font-size:11px;font-weight:var(--font-weight-strong);align-items:center;padding:3px 10px;display:inline-flex}.cp-game-review__badge--win{background:var(--color-accent-2-200);color:var(--color-accent-2-900)}.cp-game-review__badge--loss{background:var(--color-accent-100);color:var(--color-accent-800)}.cp-game-review__badge--draw{background:var(--color-neutral-200);color:var(--color-neutral-700)}.cp-game-review__body{gap:var(--space-4);min-height:0;padding:var(--space-4)var(--space-5)var(--space-5);flex:1;grid-template-columns:minmax(0,1fr) minmax(280px,360px);display:grid}@media (max-width:900px){.cp-game-review__body{grid-template-columns:1fr}}.cp-game-review__board{min-width:0}.cp-game-review__board .chsbrd-cntr{width:100%;max-width:560px;margin:0 auto}.cp-game-review__side{gap:var(--space-3);border-left:1px solid var(--color-divider);min-width:0;min-height:0;padding-left:var(--space-4);flex-direction:column;display:flex}@media (max-width:900px){.cp-game-review__side{border-left:0;border-top:1px solid var(--color-divider);padding-left:0;padding-top:var(--space-4)}}.cp-game-review__nav{gap:var(--space-2);display:flex}.cp-game-review__nav button{border-radius:var(--radius-pill);border:1px solid var(--color-neutral-300);background:var(--color-neutral-100);height:36px;font-family:var(--font-body);font-size:12.5px;font-weight:var(--font-weight-label);cursor:pointer;flex:1}.cp-game-review__nav button:disabled{opacity:.45;cursor:not-allowed}.cp-game-review__nav button:not(:disabled):hover{border-color:var(--color-accent-400);background:var(--color-accent-100)}.cp-game-review__nav-short{display:none}.cp-game-review__tabs{background:var(--color-neutral-200);border-radius:var(--radius-pill);gap:4px;padding:4px;display:flex}.cp-game-review__tabs button{border-radius:var(--radius-pill);height:32px;font-family:var(--font-body);font-weight:var(--font-weight-medium);cursor:pointer;background:0 0;border:0;flex:1;font-size:13px}.cp-game-review__tabs button.is-on{background:var(--color-neutral-100);color:var(--color-accent-800);box-shadow:var(--shadow-sm)}.cp-game-review__panel-moves{border:1px solid var(--color-neutral-300);border-radius:var(--radius-md);min-height:200px;max-height:min(48vh,420px);padding:var(--space-3);background:var(--color-bg);flex:1;font-size:13px;overflow:auto}.cp-game-review__panel-moves::-webkit-scrollbar{width:6px}.cp-game-review__panel-moves::-webkit-scrollbar-thumb{background:var(--color-neutral-400);border-radius:var(--radius-pill)}.cp-game-review__ply{padding:var(--space-3)0 0;border-top:1px solid var(--color-divider);flex-wrap:nowrap;flex:none;justify-content:center;align-items:center;gap:10px;display:flex}.cp-game-review__ply .moves-navigation{flex:auto;justify-content:center;align-items:center;gap:6px;width:auto;min-width:0;margin:0;padding:0;display:flex}.cp-game-review__flip{border:1px solid color-mix(in srgb,var(--color-sub-bar)35%,var(--color-neutral-300));border-radius:var(--radius-md);background:var(--color-sub-chip-bg);min-width:5.25rem;height:40px;color:var(--color-sub-chip-fg);font-family:var(--font-body);font-size:13px;font-weight:var(--font-weight-label);cursor:pointer;flex:none;justify-content:center;align-items:center;gap:6px;padding:0 12px;display:inline-flex}.cp-game-review__flip:hover{background:color-mix(in srgb,var(--color-sub-chip-bg)70%,var(--color-neutral-100));border-color:var(--color-sub-bar)}.cp-game-review__flip-icon{object-fit:contain;width:18px;height:18px}.cp-game-review__flip-label{letter-spacing:.01em;line-height:1}.cp-game-review__sound{border:1px solid color-mix(in srgb,var(--color-sub-bar)35%,var(--color-neutral-300));border-radius:var(--radius-md);background:var(--color-sub-chip-bg);width:40px;height:40px;color:var(--color-sub-chip-fg);cursor:pointer;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.cp-game-review__sound:hover{background:color-mix(in srgb,var(--color-sub-chip-bg)70%,var(--color-neutral-100));border-color:var(--color-sub-bar)}.cp-game-review__sound.is-off{background:var(--color-neutral-100);border-color:var(--color-neutral-300);color:var(--color-neutral-500)}.cp-game-review__sound-icon{width:20px;height:20px}.cp-game-review__loading,.cp-game-review__error{padding:var(--space-4);text-align:center;color:var(--color-neutral-600);font-size:14px}.cp-game-review__error{color:var(--color-accent-700)}@media (max-width:900px){.cp-game-review{padding:max(8px,var(--safe-top))8px max(8px,var(--safe-bottom));place-items:stretch stretch}.cp-game-review__panel{width:100%;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);overflow:hidden}.cp-game-review__head{padding:var(--space-3)var(--space-4);flex:none}.cp-game-review__title{white-space:nowrap;text-overflow:ellipsis;max-width:calc(100vw - 88px);font-size:16px;overflow:hidden}.cp-game-review__body{gap:var(--space-3);padding:var(--space-3)var(--space-4)var(--space-4);flex-direction:column;grid-template-columns:none;min-height:0;display:flex;overflow:hidden}.cp-game-review__board{flex:none}.cp-game-review__board .chsbrd-cntr{max-width:min(100%,520px,54dvh);margin:0 auto}.cp-game-review__side{gap:var(--space-2);border-top:1px solid var(--color-divider);min-height:0;padding-top:var(--space-3);border-left:0;flex-direction:column;flex:auto;padding-left:0;display:flex;overflow:hidden}.cp-game-review__nav{flex:none;order:1}.cp-game-review__nav-full{display:none}.cp-game-review__nav-short{display:inline}.cp-game-review__tabs{flex:none;order:2}.cp-game-review__ply{padding:var(--space-2)0;border-top:0;border-bottom:1px solid var(--color-divider);background:var(--color-neutral-100);flex:none;order:3;margin-top:0}.cp-game-review__panel-moves{flex:auto;order:4;min-height:120px;max-height:none;overflow:auto}.cp-game-review__flip{min-width:0;height:40px;padding:0 10px}.cp-game-review__flip-label{display:none}.cp-game-review .moves-navigation button{min-width:34px;max-width:48px;height:40px}.cp-game-review .chsbrd-cntr .color-select-container-board-view{display:none}}@media (max-width:767px){.cp-game-review{background:color-mix(in srgb,var(--color-neutral-900)45%,transparent);place-items:end stretch;padding:0}.cp-game-review__panel{border-radius:var(--radius-lg)var(--radius-lg)0 0;width:100%;height:min(96dvh,100%);max-height:96dvh;padding-bottom:var(--safe-bottom);border-bottom:0;border-left:0;border-right:0;animation:.22s ease-out cp-sheet-up}.cp-game-review__head{gap:var(--space-2);padding:12px 14px 10px}.cp-game-review__title{max-width:calc(100vw - 72px);font-size:15px}.cp-game-review__sub{gap:6px;margin-top:4px;font-size:12px}.cp-game-review__body{gap:10px;padding:10px 14px 12px}.cp-game-review__board .chsbrd-cntr{max-width:min(100%,58dvh)}.cp-game-review__side{gap:8px;padding-top:10px}.cp-game-review__nav button{height:34px;font-size:12px}.cp-game-review__panel-moves{border-radius:var(--radius-md);min-height:140px}.cp-game-review__ply{gap:8px;padding:8px 0}.cp-game-review__tools{flex:none;order:4;gap:8px;padding-top:4px;display:flex}.cp-game-review__tool-btn{border-radius:var(--radius-pill);flex:1;height:42px;font-size:14px}.cp-game-review__sheet{z-index:5;background:var(--color-neutral-100);padding-bottom:var(--safe-bottom);flex-direction:column;animation:.22s ease-out cp-sheet-up;display:flex;position:absolute;inset:0}.cp-game-review__sheet-head{align-items:center;gap:var(--space-3);border-bottom:1px solid var(--color-divider);flex:none;padding:12px 14px;display:flex}.cp-game-review__sheet-title{min-width:0;font-family:var(--font-heading);flex:1;font-size:18px;line-height:1.2}.cp-game-review__sheet-body{-webkit-overflow-scrolling:touch;flex:1;min-height:0;padding:12px 14px 16px;overflow:auto}.cp-game-review__panel{position:relative}}.cp-game-review .chsbrd-cntr .color-select-container-board-view{right:-26px}.cp-game-review .chsbrd-cntr .color-select-container-board-view .color-select-box{border-radius:var(--radius-sm);border:1px solid var(--color-neutral-300);box-shadow:var(--shadow-sm);margin-bottom:4px}.cp-game-review .move-tree-content{padding:0}.cp-game-review .move-pair{margin-bottom:var(--space-2);background:0 0;padding:0}.cp-game-review .move-pair-row{background:var(--color-neutral-100);border:1px solid var(--color-neutral-300);border-radius:var(--radius-md);box-shadow:none;padding:4px 6px}.cp-game-review .move-number{color:var(--color-neutral-600);font-weight:var(--font-weight-label)}.cp-game-review .move-button{border-radius:var(--radius-pill);transition:background var(--duration-fast)var(--ease-out),border-color var(--duration-fast)var(--ease-out),color var(--duration-fast)var(--ease-out);border:1.5px solid #0000;margin:3px;font-weight:700}.cp-game-review .move-button.white-move{background:var(--color-accent-2-100);color:var(--color-accent-2-800);border-color:var(--color-accent-2-300)}.cp-game-review .move-button.white-move:hover{background:var(--color-accent-2-200);border-color:var(--color-accent-2-400);transform:none}.cp-game-review .move-button.white-move.current{background:var(--color-accent-2-600);color:#fff;border-color:var(--color-accent-2-500);box-shadow:var(--shadow-sm)}.cp-game-review .move-button.black-move{background:var(--color-accent-100);color:var(--color-accent-800);border-color:var(--color-accent-300)}.cp-game-review .move-button.black-move:hover{background:var(--color-accent-200);border-color:var(--color-accent-400);transform:none}.cp-game-review .move-button.black-move.current{background:var(--color-accent-600);color:#fff;border-color:var(--color-accent-500);box-shadow:var(--shadow-sm)}.cp-game-review .move-button.variation{background:var(--color-neutral-200);color:var(--color-neutral-800)}.cp-game-review .move-button.variation:hover{background:var(--color-neutral-300)}.cp-game-review .move-button.on-path{background:var(--color-accent-2-200);color:var(--color-accent-2-900);border-left:3px solid var(--color-accent-2-500)}.cp-game-review .chess-move-tree .move-pair>.move-with-comment .move-button.white-move,.cp-game-review .chess-move-tree .move-pair>.move-with-comment .move-button.black-move{border:1.5px solid}.cp-game-review .variation-line,.cp-game-review .sub-variation-line{background:var(--color-neutral-200);border-left-color:var(--color-neutral-400);border-radius:var(--radius-sm)}.cp-game-review .chess-move-tree .move-variations .variation-line .move-button,.cp-game-review .chess-move-tree .sub-variations .sub-variation-line .move-button.sub-variation{border-radius:var(--radius-sm)}.cp-game-review .chess-move-tree .move-variations .variation-line .move-button.white-move,.cp-game-review .chess-move-tree .sub-variations .sub-variation-line .move-button.sub-variation.white-move{color:var(--color-accent-2-700);border:1px solid var(--color-accent-2-500);background:0 0}.cp-game-review .chess-move-tree .move-variations .variation-line .move-button.white-move:hover,.cp-game-review .chess-move-tree .sub-variations .sub-variation-line .move-button.sub-variation.white-move:hover{background:var(--color-accent-2-100)}.cp-game-review .chess-move-tree .move-variations .variation-line .move-button.white-move.current,.cp-game-review .chess-move-tree .sub-variations .sub-variation-line .move-button.sub-variation.white-move.current{background:var(--color-accent-2-600);color:#fff;border-color:var(--color-accent-2-600)}.cp-game-review .chess-move-tree .move-variations .variation-line .move-button.black-move,.cp-game-review .chess-move-tree .sub-variations .sub-variation-line .move-button.sub-variation.black-move{color:var(--color-accent-700);border:1px solid var(--color-accent-500);background:0 0}.cp-game-review .chess-move-tree .move-variations .variation-line .move-button.black-move:hover,.cp-game-review .chess-move-tree .sub-variations .sub-variation-line .move-button.sub-variation.black-move:hover{background:var(--color-accent-100)}.cp-game-review .chess-move-tree .move-variations .variation-line .move-button.black-move.current,.cp-game-review .chess-move-tree .sub-variations .sub-variation-line .move-button.sub-variation.black-move.current{background:var(--color-accent-600);color:#fff;border-color:var(--color-accent-600)}.cp-game-review .move-pre-comment,.cp-game-review .move-with-comment .move-comment,.cp-game-review .variation-move-with-comment .move-comment{background:var(--color-accent-100);border-left-color:var(--color-accent-500);color:var(--color-neutral-700);border-radius:var(--radius-sm)}.cp-game-review .moves-navigation button{background:var(--color-neutral-100);border:1px solid var(--color-neutral-300);min-width:36px;max-width:52px;color:var(--color-neutral-500);box-shadow:0 2px 0 var(--color-neutral-300);border-radius:var(--radius-md);cursor:pointer;height:40px;transition:background var(--duration-fast)var(--ease-out),border-color var(--duration-fast)var(--ease-out),box-shadow var(--duration-fast)var(--ease-out),color var(--duration-fast)var(--ease-out),transform var(--duration-fast)var(--ease-out);flex:1 1 0;justify-content:center;align-items:center;padding:0;display:inline-flex}.cp-game-review .moves-navigation button:hover:not(:disabled):not(.is-pressed){color:var(--color-sub-chip-fg);background:var(--color-sub-chip-bg);border-color:color-mix(in srgb,var(--color-sub-bar)40%,var(--color-neutral-300));box-shadow:0 2px 0 color-mix(in srgb,var(--color-sub-bar)25%,var(--color-neutral-300))}.cp-game-review .moves-navigation button:disabled{opacity:.45;cursor:not-allowed}.cp-game-review .moves-navigation button:active:not(:disabled),.cp-game-review .moves-navigation button.is-pressed{color:var(--color-sub-chip-fg);background:var(--color-sub-chip-bg);border-color:var(--color-sub-bar);box-shadow:none;transform:translateY(2px)}
@font-face{font-family:Caprasimo;font-style:normal;font-display:swap;font-weight:400;src:url(../media/caprasimo-latin-ext-400-normal.8ea64ebd.woff2)format("woff2"),url(../media/caprasimo-latin-ext-400-normal.a7ce4fa0.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Caprasimo;font-style:normal;font-display:swap;font-weight:400;src:url(../media/caprasimo-latin-400-normal.db0774eb.woff2)format("woff2"),url(../media/caprasimo-latin-400-normal.f79d979f.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Figtree;font-style:normal;font-display:swap;font-weight:400;src:url(../media/figtree-latin-ext-400-normal.4a3e583f.woff2)format("woff2"),url(../media/figtree-latin-ext-400-normal.aaa5005d.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Figtree;font-style:normal;font-display:swap;font-weight:400;src:url(../media/figtree-latin-400-normal.90dca50a.woff2)format("woff2"),url(../media/figtree-latin-400-normal.e33f59e8.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Figtree;font-style:normal;font-display:swap;font-weight:500;src:url(../media/figtree-latin-ext-500-normal.8ca0706d.woff2)format("woff2"),url(../media/figtree-latin-ext-500-normal.3db5c08d.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Figtree;font-style:normal;font-display:swap;font-weight:500;src:url(../media/figtree-latin-500-normal.baf0e16a.woff2)format("woff2"),url(../media/figtree-latin-500-normal.76aa203b.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Figtree;font-style:normal;font-display:swap;font-weight:600;src:url(../media/figtree-latin-ext-600-normal.15487051.woff2)format("woff2"),url(../media/figtree-latin-ext-600-normal.6eb9aac0.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Figtree;font-style:normal;font-display:swap;font-weight:600;src:url(../media/figtree-latin-600-normal.67a505ea.woff2)format("woff2"),url(../media/figtree-latin-600-normal.178a8c1f.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Figtree;font-style:normal;font-display:swap;font-weight:700;src:url(../media/figtree-latin-ext-700-normal.ca7353d8.woff2)format("woff2"),url(../media/figtree-latin-ext-700-normal.3f0c3777.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Figtree;font-style:normal;font-display:swap;font-weight:700;src:url(../media/figtree-latin-700-normal.ff4acee7.woff2)format("woff2"),url(../media/figtree-latin-700-normal.027e3ca7.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Figtree;font-style:normal;font-display:swap;font-weight:800;src:url(../media/figtree-latin-ext-800-normal.10e4b513.woff2)format("woff2"),url(../media/figtree-latin-ext-800-normal.ae215dff.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Figtree;font-style:normal;font-display:swap;font-weight:800;src:url(../media/figtree-latin-800-normal.62100f39.woff2)format("woff2"),url(../media/figtree-latin-800-normal.bf6b79b2.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
