html body .play-hub{--ph-surface:var(--card,#fff);--ph-soft:var(--soft,#f8fafc);--ph-raised:#f1f1f3;--ph-hover:#e9e9ec;--ph-line:var(--line,#e5e7eb);--ph-line-strong:#cfcfd4;--ph-ink:var(--ink,#0f172a);--ph-muted:var(--muted,#64748b);--ph-accent:#18181b;--ph-accent-hover:#3f3f46;--ph-accent-text:#18181b;--ph-on-accent:#fff;--ph-good:#15803d;--ph-bad:#c62828;--ph-board-light:#f1e4cc;--ph-board-dark:#b8875f;--ph-board-frame:#2a2a2e;--ph-card-back:#2a2a2e;--ph-card-back-line:#f2f2f3;--ph-radius:16px;width:100%;max-width:1280px;color:var(--ph-ink);box-sizing:border-box;margin:0 auto;padding:8px 0 48px}html body .play-hub .ph-body{align-content:start;gap:24px;min-width:0;display:grid;container:ph-body/inline-size}html[data-theme=dark] body .play-hub{--ph-surface:var(--dk-card);--ph-soft:var(--dk-soft);--ph-raised:var(--dk-raised);--ph-hover:var(--dk-hover);--ph-line:var(--dk-line);--ph-line-strong:var(--dk-line-strong);--ph-ink:var(--dk-text);--ph-muted:var(--dk-text-secondary);--ph-accent:var(--dk-gray-96);--ph-accent-hover:var(--dk-gray-82);--ph-accent-text:var(--dk-text);--ph-on-accent:var(--dk-gray-20);--ph-good:#4ade80;--ph-bad:#f87171;--ph-board-light:#dccbb0;--ph-board-dark:#9a6f4f;--ph-board-frame:#070707;--ph-card-back:var(--dk-gray-32);--ph-card-back-line:var(--dk-gray-71)}html body .play-hub *,html body .play-hub :before,html body .play-hub :after{box-sizing:border-box}html body .play-hub h1,html body .play-hub h2,html body .play-hub h3,html body .play-hub p,html body .play-hub ul,html body .play-hub ol,html body .play-hub fieldset{margin:0;padding:0}html body .play-hub ul,html body .play-hub ol{list-style:none}html body .play-hub fieldset{border:0;min-width:0}html body .play-hub .ph-sr{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}html body .play-hub .ph-icon{flex:none;width:20px;height:20px}html body .play-hub .ph-eyebrow{color:var(--ph-muted);letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:750}html body .play-hub .ph-fineprint{color:var(--ph-muted);font-size:.76rem;line-height:1.45}html body .play-hub .ph-panel-note{color:var(--ph-muted);font-size:.88rem;line-height:1.5}html body .play-hub .ph-panel-value{color:var(--ph-muted);font-size:.92rem}html body .play-hub .ph-panel-value b{color:var(--ph-ink);font-size:1.15rem}html body .play-hub .ph-form-error{color:var(--ph-bad);font-size:.86rem;font-weight:650}html body .play-hub .ph-btn{min-height:44px;font:inherit;white-space:nowrap;cursor:pointer;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-size:.9rem;font-weight:700;line-height:1.1;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}html body .play-hub .ph-btn .ph-icon{width:18px;height:18px}html body .play-hub .ph-btn:disabled{opacity:.55;cursor:not-allowed}html body .play-hub .ph-btn-primary{background:var(--ph-accent);border-color:var(--ph-accent);color:var(--ph-on-accent)}html body .play-hub .ph-btn-primary:hover:not(:disabled){background:var(--ph-accent-hover);border-color:var(--ph-accent-hover)}html body .play-hub .ph-btn-ghost{border-color:var(--ph-line-strong);background:var(--ph-surface);color:var(--ph-ink)}html body .play-hub .ph-btn-ghost:hover:not(:disabled){background:var(--ph-raised)}html body .play-hub .ph-icon-btn{width:44px;height:44px;color:var(--ph-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:12px;flex:none;place-items:center;padding:0;transition:background-color .15s,color .15s;display:inline-grid}html body .play-hub .ph-icon-btn:hover:not(:disabled){background:var(--ph-raised);color:var(--ph-ink)}html body .play-hub .ph-icon-btn.is-primary{background:var(--ph-accent);color:var(--ph-on-accent)}html body .play-hub .ph-icon-btn.is-primary:hover:not(:disabled){background:var(--ph-accent-hover);color:var(--ph-on-accent)}html body .play-hub .ph-icon-btn:disabled{opacity:.5;cursor:not-allowed}html body .play-hub .ph-link{min-height:32px;color:var(--ph-accent-text);font:inherit;cursor:pointer;background:0 0;border:0;padding:0 4px;font-size:.84rem;font-weight:700}html body .play-hub .ph-link:hover{text-decoration:underline}html body .play-hub button:focus-visible,html body .play-hub a:focus-visible,html body .play-hub input:focus-visible,html body .play-hub [tabindex]:focus-visible{outline:2px solid var(--ph-accent);outline-offset:2px}html body .play-hub .ph-tile{border:1px solid var(--ph-line);background:var(--ph-soft);width:48px;height:48px;color:var(--ph-ink);border-radius:12px;flex:none;place-items:center;display:grid}html body .play-hub .ph-tile .ph-icon{width:26px;height:26px}html body .play-hub .ph-tile.is-small{border-radius:9px;width:32px;height:32px}html body .play-hub .ph-tile.is-small .ph-icon{width:18px;height:18px}html body .play-hub .ph-tile.is-large{border-radius:18px;width:72px;height:72px}html body .play-hub .ph-tile.is-large .ph-icon{width:38px;height:38px}html body .play-hub .ph-badge{border:1px solid var(--ph-line);background:var(--ph-soft);color:var(--ph-muted);letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;border-radius:999px;flex:none;padding:4px 9px;font-size:.68rem;font-weight:750}html body .play-hub .ph-badge.is-accent{border-color:var(--ph-accent);background:var(--ph-surface);color:var(--ph-accent-text)}html body .play-hub .ph-badge.is-live{border-color:var(--ph-good);background:var(--ph-surface);color:var(--ph-good)}html body .play-hub .ph-count{background:var(--ph-raised);color:var(--ph-muted);font-variant-numeric:tabular-nums;border-radius:999px;padding:4px 9px;font-size:.72rem;font-weight:750}html body .play-hub .ph-section{align-content:start;gap:12px;min-width:0;display:grid}html body .play-hub .ph-section-head{justify-content:space-between;align-items:center;gap:12px;min-height:32px;display:flex}html body .play-hub .ph-section-head h2{letter-spacing:-.01em;font-size:1.05rem;font-weight:750}html body .play-hub .ph-tally{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;display:grid}html body .play-hub .ph-tally span{border:1px solid var(--ph-line);background:var(--ph-soft);color:var(--ph-muted);text-align:center;border-radius:12px;gap:2px;padding:10px 6px;font-size:.72rem;font-weight:700;display:grid}html body .play-hub .ph-tally b{color:var(--ph-ink);font-variant-numeric:tabular-nums;font-size:1.35rem;line-height:1.15}html body .play-hub .ph-avatar{background:var(--ph-raised);width:40px;height:40px;color:var(--ph-ink);border-radius:50%;flex:none;place-items:center;font-size:.8rem;font-weight:750;display:grid;overflow:hidden}html body .play-hub .ph-avatar img{object-fit:cover;width:100%;height:100%}html body .play-hub .ph-friend-name{text-align:left;gap:1px;min-width:0;display:grid}html body .play-hub .ph-friend-name strong,html body .play-hub .ph-friend-name small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}html body .play-hub .ph-friend-name strong{font-size:.9rem;font-weight:700}html body .play-hub .ph-friend-name small{color:var(--ph-muted);font-size:.78rem}html body .play-hub .ph-empty{justify-items:start;gap:10px;display:grid}html body .play-hub .ph-top{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px 20px;display:grid}html body .play-hub .ph-top-copy{gap:4px;min-width:0;display:grid}html body .play-hub .ph-top h1{letter-spacing:-.03em;font-size:1.75rem;font-weight:800;line-height:1.1}html body .play-hub .ph-top-copy p{color:var(--ph-muted);font-size:.95rem;line-height:1.45}html body .play-hub .ph-pills{flex-wrap:wrap;gap:8px;display:flex}html body .play-hub .ph-pills li{border:1px solid var(--ph-line);background:var(--ph-surface);min-height:44px;color:var(--ph-muted);white-space:nowrap;border-radius:12px;align-items:center;gap:6px;padding:0 12px;font-size:.82rem;font-weight:650;display:inline-flex}html body .play-hub .ph-pills .ph-icon{width:18px;height:18px;color:var(--ph-accent)}html body .play-hub .ph-pills b{color:var(--ph-ink);font-variant-numeric:tabular-nums;font-size:1rem}html body .play-hub .ph-continue{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:12px;display:grid}html body .play-hub .ph-continue-card{border:1px solid var(--ph-line);border-radius:var(--ph-radius);background:var(--ph-surface);grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"tile text close""badge badge btn";align-items:center;gap:10px 12px;min-width:0;padding:12px;display:grid}html body .play-hub .ph-continue-card:not(:has(.ph-icon-btn)){grid-template-areas:"tile text text""badge badge btn"}html body .play-hub .ph-continue-card>.ph-tile{grid-area:tile}html body .play-hub .ph-continue-card>.ph-continue-text{grid-area:text}html body .play-hub .ph-continue-card>.ph-badge{grid-area:badge;justify-self:start}html body .play-hub .ph-continue-card>.ph-btn{grid-area:btn}html body .play-hub .ph-continue-card>.ph-icon-btn{grid-area:close;place-self:start end;margin:-4px -4px 0 0}html body .play-hub .ph-continue-text{gap:2px;min-width:0;display:grid}html body .play-hub .ph-continue-text strong{font-size:.95rem}html body .play-hub .ph-continue-text small{color:var(--ph-muted);overflow-wrap:anywhere;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:.8rem;display:-webkit-box;overflow:hidden}html body .play-hub .ph-hub-grid{grid-template-columns:minmax(0,1fr);align-items:start;gap:24px;display:grid}html body .play-hub .ph-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:12px;display:grid}html body .play-hub .ph-card{border:1px solid var(--ph-line);border-radius:var(--ph-radius);background:var(--ph-surface);grid-template-rows:auto 1fr auto auto;gap:12px;min-width:0;padding:16px;transition:border-color .15s;display:grid;container-type:inline-size}html body .play-hub .ph-card:hover{border-color:var(--ph-line-strong)}html body .play-hub .ph-card-top{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;display:grid}html body .play-hub .ph-card-title{gap:4px;min-width:0;display:grid}html body .play-hub .ph-card-title h3{letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;font-size:1.05rem;font-weight:750;overflow:hidden}html body .play-hub .ph-card-meta{color:var(--ph-muted);flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:.78rem;font-weight:650;display:flex}html body .play-hub .ph-card-meta>span:first-child{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}html body .play-hub .ph-card-meta .ph-icon{width:14px;height:14px}html body .play-hub .ph-card-meta .ph-badge{padding:2px 8px;font-size:.64rem}html body .play-hub .ph-card-desc{color:var(--ph-muted);-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:.88rem;line-height:1.5;display:-webkit-box;overflow:hidden}html body .play-hub .ph-card-actions{grid-template-columns:minmax(0,1fr);gap:8px;display:grid}html body .play-hub .ph-card-actions .ph-btn{min-width:0;padding:0 12px}html body .play-hub .ph-card-pass{min-height:32px;color:var(--ph-muted);justify-self:start;align-items:center;gap:6px;margin:-4px 0 -6px;display:inline-flex}html body .play-hub .ph-card-pass .ph-icon{width:16px;height:16px}html body .play-hub .ph-card-pass:hover{color:var(--ph-ink)}@container (min-width:420px){html body .play-hub .ph-card-actions.is-pair{grid-template-columns:repeat(2,minmax(0,1fr))}}html body .play-hub .ph-rail{align-content:start;gap:16px;min-width:0;display:grid}html body .play-hub .ph-box{border:1px solid var(--ph-line);border-radius:var(--ph-radius);background:var(--ph-surface);padding:16px}html body .play-hub .ph-friends{gap:2px;margin:0 -8px;display:grid}html body .play-hub .ph-friend{width:100%;min-height:56px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px 8px;transition:background-color .15s;display:grid}html body .play-hub .ph-friend:hover{background:var(--ph-raised)}html body .play-hub .ph-friend-cta{border:1px solid var(--ph-line-strong);color:var(--ph-ink);border-radius:999px;padding:6px 10px;font-size:.76rem;font-weight:700}html body .play-hub .ph-friend:hover .ph-friend-cta{border-color:var(--ph-accent);color:var(--ph-accent-text)}html body .play-hub .ph-records{gap:8px;display:grid}html body .play-hub .ph-records li{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}html body .play-hub .ph-record-name{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;font-weight:650;overflow:hidden}html body .play-hub .ph-record-score{color:var(--ph-muted);font-variant-numeric:tabular-nums;align-items:baseline;gap:3px;font-size:.74rem;font-weight:700;display:inline-flex}html body .play-hub .ph-record-score b{color:var(--ph-ink);margin-left:5px;font-size:.95rem}html body .play-hub .ph-picker{gap:10px;min-width:0;display:grid}html body .play-hub .ph-picker-head{justify-content:space-between;align-items:center;gap:8px;display:flex}html body .play-hub .ph-picker-head h3{font-size:.92rem;font-weight:750}html body .play-hub .ph-picker-current{color:var(--ph-accent-text);white-space:nowrap;font-size:.8rem;font-weight:750}html body .play-hub .ph-picker-note{color:var(--ph-muted);font-size:.82rem}html body .play-hub .ph-level-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}html body .play-hub .ph-picker.is-compact .ph-level-grid{grid-template-columns:repeat(3,minmax(0,1fr))}html body .play-hub .ph-level-grid-5 .ph-level:last-child{grid-column:1/-1}html body .play-hub .ph-level{border:1px solid var(--ph-line);background:var(--ph-surface);min-width:0;min-height:56px;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:12px;align-content:space-between;gap:8px;padding:9px 10px;transition:border-color .15s,background-color .15s;display:grid}html body .play-hub .ph-level:hover{border-color:var(--ph-line-strong);background:var(--ph-soft)}html body .play-hub .ph-level.is-active{border-color:var(--ph-accent);background:var(--ph-soft);box-shadow:inset 0 0 0 1px var(--ph-accent)}html body .play-hub .ph-level-text{gap:2px;min-width:0;display:grid}html body .play-hub .ph-level-text strong{font-size:.84rem;font-weight:700;line-height:1.2}html body .play-hub .ph-level-text small{color:var(--ph-muted);font-size:.74rem;line-height:1.3}html body .play-hub .ph-level-meter{gap:3px;display:flex}html body .play-hub .ph-level-meter i{background:var(--ph-hover);border-radius:4px;flex:1;height:4px}html body .play-hub .ph-level-meter i.on{background:var(--ph-muted)}html body .play-hub .ph-level.is-active .ph-level-meter i.on{background:var(--ph-accent)}html body .play-hub .ph-game-head{grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}html body .play-hub .ph-back{border:1px solid var(--ph-line-strong);background:var(--ph-surface);min-height:44px;color:var(--ph-ink);font:inherit;cursor:pointer;border-radius:12px;align-items:center;gap:4px;padding:0 14px 0 8px;font-size:.9rem;font-weight:700;transition:background-color .15s;display:inline-flex}html body .play-hub .ph-back:hover{background:var(--ph-raised)}html body .play-hub .ph-game-title{gap:2px;min-width:0;display:grid}html body .play-hub .ph-game-title h1{letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap;font-size:1.4rem;font-weight:800;line-height:1.15;overflow:hidden}html body .play-hub .ph-game-title p{color:var(--ph-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;overflow:hidden}html body .play-hub .ph-segment{border:1px solid var(--ph-line);background:var(--ph-soft);border-radius:14px;gap:4px;padding:4px;display:inline-flex}html body .play-hub .ph-segment button{min-height:40px;color:var(--ph-muted);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:.84rem;font-weight:700;transition:background-color .15s,color .15s;display:inline-flex}html body .play-hub .ph-segment button .ph-icon{width:16px;height:16px}html body .play-hub .ph-segment button:hover{color:var(--ph-ink)}html body .play-hub .ph-segment button.is-active{border-color:var(--ph-line-strong);background:var(--ph-surface);color:var(--ph-ink)}html body .play-hub .ph-segment button.is-active .ph-icon{color:var(--ph-accent)}html body .play-hub .ph-alert{border:1px solid var(--ph-bad);background:var(--ph-surface);color:var(--ph-ink);border-radius:12px;padding:12px 14px;font-size:.9rem;font-weight:650}html body .play-hub .ph-play{grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;display:grid}html body .play-hub .ph-board-col{justify-self:center;gap:10px;width:100%;min-width:0;display:grid}html body .play-hub .ph-play{--ph-chrome:440px}html body .play-hub .ph-play-chess .ph-board-col{max-width:min(720px, max(280px, calc(100dvh - var(--ph-chrome))))}html body .play-hub .ph-play-ttt .ph-board-col{max-width:min(520px, max(260px, calc(100dvh - var(--ph-chrome) + 40px)))}html body .play-hub .ph-play-memory .ph-board-col{max-width:min(520px, max(260px, calc(100dvh - var(--ph-chrome) + 80px)))}html body .play-hub .ph-play-rps .ph-board-col{max-width:560px}html body .play-hub .ph-side{align-content:start;justify-self:center;gap:12px;width:100%;min-width:0;max-width:720px;display:grid}html body .play-hub .ph-panel-card{border:1px solid var(--ph-line);border-radius:var(--ph-radius);background:var(--ph-surface);gap:10px;min-width:0;padding:14px;display:grid}html body .play-hub .ph-panel-card h3{font-size:.92rem;font-weight:750}html body .play-hub .ph-panel-head{color:var(--ph-muted);justify-content:space-between;align-items:center;gap:8px;display:flex}html body .play-hub .ph-panel-head h3{color:var(--ph-ink)}html body .play-hub .ph-inline-actions{flex-wrap:wrap;gap:8px;display:flex}html body .play-hub .ph-inline-actions .ph-btn{flex:120px}html body .play-hub .ph-actions{flex-wrap:wrap;gap:8px;display:flex}html body .play-hub .ph-actions .ph-btn{flex:130px}html body .play-hub .ph-status{border:1px solid var(--ph-line);background:var(--ph-surface);min-height:44px;color:var(--ph-muted);border-radius:12px;align-items:center;gap:8px;padding:8px 14px;font-size:.92rem;font-weight:650;line-height:1.35;display:flex}html body .play-hub .ph-status.is-you{border-color:var(--ph-accent);box-shadow:inset 4px 0 0 var(--ph-accent);color:var(--ph-ink)}html body .play-hub .ph-status.is-thinking{color:var(--ph-ink)}html body .play-hub .ph-status.is-result{border-color:var(--ph-line-strong);background:var(--ph-raised);color:var(--ph-ink)}html body .play-hub .ph-status.is-result.is-w{border-color:var(--ph-good);box-shadow:inset 4px 0 0 var(--ph-good)}html body .play-hub .ph-status.is-result.is-l{border-color:var(--ph-bad);box-shadow:inset 4px 0 0 var(--ph-bad)}html body .play-hub .ph-thinking-dot{background:var(--ph-accent);border-radius:50%;flex:none;width:9px;height:9px;animation:.8s ease-in-out infinite alternate phPulse}@keyframes phPulse{to{opacity:.35;transform:scale(.45)}}html body .play-hub .ph-player{border:1px solid var(--ph-line);background:var(--ph-surface);border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:44px;padding:6px 12px;transition:border-color .15s;display:grid}html body .play-hub .ph-player.is-turn{border-color:var(--ph-accent)}html body .play-hub .ph-player-dot{border:2px solid #2a2a2e;border-radius:50%;width:14px;height:14px}html body .play-hub .ph-player-dot-w{background:#fff}html body .play-hub .ph-player-dot-b{background:#1c1c1f}html[data-theme=dark] body .play-hub .ph-player-dot{border-color:var(--dk-gray-64)}html body .play-hub .ph-player-name{align-items:baseline;gap:8px;min-width:0;display:flex}html body .play-hub .ph-player-name b{text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:750;overflow:hidden}html body .play-hub .ph-player-name small{color:var(--ph-muted);white-space:nowrap;flex:none;font-size:.78rem;font-weight:650}html body .play-hub .ph-captured{flex-wrap:wrap;justify-content:flex-end;align-items:center;max-width:200px;min-height:18px;display:flex}html body .play-hub .ph-captured i{margin-left:-3px;font-family:Segoe UI Symbol,DejaVu Sans,"Noto Sans Symbols 2",Apple Symbols,sans-serif;font-size:1.05rem;font-style:normal;line-height:1}html body .play-hub .ph-captured em{color:var(--ph-muted);margin-left:6px;font-size:.75rem;font-style:normal;font-weight:750}html body .play-hub .ph-turn-tag{background:var(--ph-accent);color:var(--ph-on-accent);letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;border-radius:999px;padding:3px 8px;font-size:.66rem;font-weight:750}html body .play-hub .ph-chess-wrap{width:100%;position:relative;container-type:inline-size}html body .play-hub .ph-chess{border:6px solid var(--ph-board-frame);background:var(--ph-board-frame);border-radius:12px;grid-template-columns:repeat(8,minmax(0,1fr));width:100%;display:grid;overflow:hidden}html body .play-hub .ph-chess button{aspect-ratio:1;min-width:0;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;border:0;border-radius:0;place-items:center;padding:0;display:grid;position:relative}html body .play-hub .ph-chess button.is-light{background-color:var(--ph-board-light)}html body .play-hub .ph-chess button.is-dark{background-color:var(--ph-board-dark)}html body .play-hub .ph-chess button.is-light.is-last{background-color:#f2dc8c}html body .play-hub .ph-chess button.is-dark.is-last{background-color:#cfa850}html body .play-hub .ph-chess button.is-light.is-selected{background-color:#f4b26c}html body .play-hub .ph-chess button.is-dark.is-selected{background-color:#e08a3c}html body .play-hub .ph-chess button.is-check{background-color:#e25c50}html body .play-hub .ph-chess button.is-target:after{content:"";aspect-ratio:1;pointer-events:none;background:#18181b52;border-radius:50%;width:28%;position:absolute}html body .play-hub .ph-chess button.is-capture:after{content:"";pointer-events:none;border:4px solid #18181b57;border-radius:50%;position:absolute;inset:6%}html body .play-hub .ph-chess button:focus-visible{outline-offset:-3px;z-index:2;outline:3px solid #18181b;box-shadow:inset 0 0 0 5px #fff}html body .play-hub .ph-chess-wrap.is-locked .ph-chess button{cursor:progress}html body .play-hub .ph-piece{z-index:1;pointer-events:none;-webkit-user-select:none;user-select:none;font-family:Segoe UI Symbol,DejaVu Sans,"Noto Sans Symbols 2",Apple Symbols,sans-serif;font-size:clamp(20px,9.4cqw,64px);line-height:1;transition:transform .12s;position:relative}html body .play-hub .ph-piece-w{color:#fffdf8;text-shadow:0 0 1px #1c1c1f,1px 0 #1c1c1f,-1px 0 #1c1c1f,0 1px #1c1c1f,0 -1px #1c1c1f,0 3px 4px #0000004d}html body .play-hub .ph-piece-b{color:#1c1c1f;text-shadow:0 1px #ffffff40,0 3px 4px #00000047}html body .play-hub .ph-chess button.is-selected .ph-piece{transform:scale(1.08)}html body .play-hub .ph-rank,html body .play-hub .ph-file{z-index:1;pointer-events:none;font-size:clamp(8px,1.9cqw,11px);font-style:normal;font-weight:800;line-height:1;position:absolute}html body .play-hub .ph-rank{top:4px;left:4px}html body .play-hub .ph-file{bottom:3px;right:4px}html body .play-hub .ph-chess button.is-light .ph-rank,html body .play-hub .ph-chess button.is-light .ph-file{color:var(--ph-board-dark)}html body .play-hub .ph-chess button.is-dark .ph-rank,html body .play-hub .ph-chess button.is-dark .ph-file{color:var(--ph-board-light)}html body .play-hub .ph-result{z-index:3;color:#fff;text-align:center;background:#0c0c0ec7;border-radius:12px;place-content:center;justify-items:center;gap:8px;padding:16px;animation:.2s ease-out phFade;display:grid;position:absolute;inset:0}html body .play-hub .ph-result strong{letter-spacing:-.03em;font-size:clamp(1.4rem,7cqw,2.4rem);font-weight:800;line-height:1.1}html body .play-hub .ph-result>span{color:#e4e4e7;font-size:.95rem}html body .play-hub .ph-result-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:6px;display:flex}html body .play-hub .ph-result .ph-btn-primary{color:#18181b;background:#fff;border-color:#fff}html body .play-hub .ph-result .ph-btn-primary:hover:not(:disabled){background:#e4e4e7;border-color:#e4e4e7}html body .play-hub .ph-result .ph-btn-ghost{color:#fff;background:0 0;border-color:#fff}html body .play-hub .ph-result .ph-btn-ghost:hover{background:#ffffff24}@keyframes phFade{0%{opacity:0}}html body .play-hub .ph-moves{border:1px solid var(--ph-line);background:var(--ph-soft);border-radius:12px;min-height:84px;max-height:260px;padding:8px;overflow-y:auto}html body .play-hub .ph-moves>p{color:var(--ph-muted);text-align:center;padding:20px 8px;font-size:.86rem}html body .play-hub .ph-moves ol{gap:2px;display:grid}html body .play-hub .ph-moves li{font-variant-numeric:tabular-nums;border-radius:8px;grid-template-columns:2.4em 1fr 1fr;gap:6px;padding:4px 6px;font-size:.88rem;display:grid}html body .play-hub .ph-moves li:nth-child(2n){background:var(--ph-raised)}html body .play-hub .ph-moves li em{color:var(--ph-muted);font-style:normal}html body .play-hub .ph-moves li span{font-weight:700}html body .play-hub .ph-match-bar{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;display:grid}html body .play-hub .ph-chip{border:1px solid var(--ph-line);background:var(--ph-surface);min-width:0;min-height:44px;color:var(--ph-ink);text-overflow:ellipsis;white-space:nowrap;border-radius:12px;align-items:center;gap:8px;padding:6px 12px;font-size:.84rem;font-weight:700;display:inline-flex;overflow:hidden}html body .play-hub .ph-chip .ph-mark{width:20px;height:20px;color:var(--ph-accent);flex:none}html body .play-hub .ph-chip.is-turn{border-color:var(--ph-accent)}html body .play-hub .ph-vs{color:var(--ph-muted);letter-spacing:.06em;text-transform:uppercase;font-size:.72rem;font-weight:750}html body .play-hub .ph-ttt-wrap{width:100%}html body .play-hub .ph-ttt{border:1px solid var(--ph-line);background:var(--ph-raised);border-radius:18px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;padding:8px;display:grid}html body .play-hub .ph-ttt button{aspect-ratio:1;border:1px solid var(--ph-line);background:var(--ph-surface);min-width:0;color:var(--ph-accent);cursor:pointer;border-radius:12px;place-items:center;padding:0;transition:background-color .15s,border-color .15s;display:grid}html body .play-hub .ph-ttt button:hover:not(.mark-x):not(.mark-o){border-color:var(--ph-line-strong);background:var(--ph-soft)}html body .play-hub .ph-ttt .ph-mark{width:56%;height:56%;animation:.18s ease-out phPop}html body .play-hub .ph-ttt button.mark-o{color:var(--ph-muted)}html body .play-hub .ph-ttt.is-over button:not(.is-win){opacity:.5}html body .play-hub .ph-ttt button.is-win{border-color:var(--ph-accent);box-shadow:inset 0 0 0 2px var(--ph-accent)}@keyframes phPop{0%{opacity:0;transform:scale(.5)}}html body .play-hub .ph-result-bar{border:1px solid var(--ph-line-strong);border-radius:var(--ph-radius);background:var(--ph-surface);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;padding:12px 14px;display:flex}html body .play-hub .ph-result-bar strong{letter-spacing:-.02em;font-size:1.25rem;font-weight:800}html body .play-hub .ph-result-bar .ph-result-actions{margin-top:0}html body .play-hub .ph-rps-arena{border:1px solid var(--ph-line);background:var(--ph-raised);border-radius:18px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;padding:16px;display:grid}html body .play-hub .ph-rps-hand{border:1px solid var(--ph-line);background:var(--ph-surface);color:var(--ph-ink);border-radius:14px;justify-items:center;gap:8px;padding:18px 8px 12px;display:grid}html body .play-hub .ph-rps-hand .ph-icon,html body .play-hub .ph-rps-blank{width:clamp(48px,16vw,84px);height:clamp(48px,16vw,84px)}html body .play-hub .ph-rps-blank{border:2px dashed var(--ph-line-strong);border-radius:50%}html body .play-hub .ph-rps-hand small{color:var(--ph-muted);font-size:.78rem;font-weight:700}html body .play-hub .ph-rps-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}html body .play-hub .ph-rps-actions button{border:1px solid var(--ph-line-strong);background:var(--ph-surface);min-height:88px;color:var(--ph-ink);font:inherit;cursor:pointer;border-radius:14px;justify-items:center;gap:6px;padding:14px 8px;font-size:.9rem;font-weight:700;transition:border-color .15s,background-color .15s;display:grid}html body .play-hub .ph-rps-actions button .ph-icon{width:30px;height:30px}html body .play-hub .ph-rps-actions button:hover{border-color:var(--ph-accent);background:var(--ph-soft)}html body .play-hub .ph-memory-wrap{width:100%;position:relative;container-type:inline-size}html body .play-hub .ph-memory{border:1px solid var(--ph-line);background:var(--ph-raised);border-radius:18px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;padding:8px;display:grid}html body .play-hub .ph-memory-card{aspect-ratio:1;border:1px solid var(--ph-line-strong);background:var(--ph-card-back);min-width:0;color:var(--ph-ink);cursor:pointer;border-radius:12px;place-items:center;padding:0;transition:background-color .15s,border-color .15s;display:grid}html body .play-hub .ph-memory-back{border:2px solid var(--ph-card-back-line);opacity:.55;border-radius:6px;width:34%;height:34%;transform:rotate(45deg)}html body .play-hub .ph-memory-card:hover:not(.is-up) .ph-memory-back{opacity:1}html body .play-hub .ph-memory-card.is-up{border-color:var(--ph-line-strong);background:var(--ph-surface);cursor:default}html body .play-hub .ph-memory-card .ph-icon{width:52%;height:52%;animation:.18s ease-out phPop}html body .play-hub .ph-memory-card.is-matched{border-color:var(--ph-accent);color:var(--ph-accent-text);box-shadow:inset 0 0 0 1px var(--ph-accent)}html body .play-hub .ph-lobby{border:1px solid var(--ph-line);border-radius:var(--ph-radius);background:var(--ph-surface);text-align:center;justify-items:center;gap:14px;max-width:560px;padding:36px 20px}html body .play-hub .ph-lobby h2{letter-spacing:-.02em;font-size:1.3rem;font-weight:800}html body .play-hub .ph-lobby p{max-width:440px;color:var(--ph-muted);font-size:.95rem;line-height:1.5}html body .play-hub .ph-lobby .ph-actions{justify-content:center;width:100%}html body .play-hub .ph-lobby .ph-actions .ph-btn{flex:0 220px}html body .play-hub .ph-chat-log{overscroll-behavior:contain;border:1px solid var(--ph-line);background:var(--ph-soft);border-radius:12px;align-content:start;gap:8px;height:200px;padding:10px;display:grid;overflow-y:auto}html body .play-hub .ph-chat-empty{color:var(--ph-muted);text-align:center;align-self:center;font-size:.86rem}html body .play-hub .ph-chat-msg{border:1px solid var(--ph-line);background:var(--ph-surface);overflow-wrap:anywhere;border-radius:12px;justify-self:start;gap:2px;max-width:85%;padding:7px 10px;font-size:.88rem;line-height:1.4;display:grid}html body .play-hub .ph-chat-msg small{color:var(--ph-muted);font-size:.7rem;font-weight:700}html body .play-hub .ph-chat-msg.is-mine{border-color:var(--ph-line-strong);background:var(--ph-raised);justify-self:end}html body .play-hub .ph-chat-msg.is-pending{opacity:.6}html body .play-hub .ph-chat-form{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}html body .play-hub .ph-chat-form input,html body .play-hub .ph-link-field,html body .play-hub .ph-invite-friends input[type=search]{border:1px solid var(--ph-line-strong);background:var(--ph-surface);width:100%;min-height:44px;color:var(--ph-ink);font:inherit;border-radius:12px;padding:0 12px;font-size:.92rem}html body .play-hub .ph-chat-form input::placeholder,html body .play-hub .ph-invite-friends input::placeholder{color:var(--ph-muted)}html body .play-hub .ph-toast{z-index:80;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));border:1px solid var(--ph-line-strong);background:var(--ph-ink);width:max-content;max-width:min(92vw,520px);color:var(--ph-surface);text-align:center;border-radius:12px;padding:12px 16px;font-size:.88rem;font-weight:650;line-height:1.4;position:fixed;transform:translate(-50%)}html body .play-hub .ph-modal-backdrop{z-index:1200;overscroll-behavior:contain;background:#0c0c0e9e;place-items:center;padding:16px;display:grid;position:fixed;inset:0;overflow-y:auto}html[data-theme=dark] body .play-hub .ph-modal-backdrop{background:#000000b8}html body .play-hub .ph-modal{border:1px solid var(--ph-line);background:var(--ph-surface);width:min(100%,420px);max-height:calc(100dvh - 32px);color:var(--ph-ink);border-radius:20px;gap:16px;padding:20px;animation:.18s ease-out phFade;display:grid;overflow-y:auto;box-shadow:0 24px 64px #0000004d}html body .play-hub .ph-modal.is-wide{width:min(100%,520px)}html body .play-hub .ph-modal:focus{outline:none}html body .play-hub .ph-modal-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}html body .play-hub .ph-modal-head>div{gap:4px;min-width:0;display:grid}html body .play-hub .ph-modal-head h2{letter-spacing:-.02em;font-size:1.3rem;font-weight:800;line-height:1.2}html body .play-hub .ph-modal-head .ph-icon-btn{margin:-8px -8px 0 0}html body .play-hub .ph-modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}html body .play-hub .ph-invite{gap:14px;min-width:0;display:grid}html body .play-hub .ph-invite legend,html body .play-hub .ph-invite-friends>label{margin-bottom:8px;font-size:.84rem;font-weight:750}html body .play-hub .ph-invite-games{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}html body .play-hub .ph-invite-games legend{grid-column:1/-1}html body .play-hub .ph-invite-friends{min-width:0;display:grid}html body .play-hub .ph-invite-friends input[type=search]{margin-bottom:8px}html body .play-hub .ph-friend-list{overscroll-behavior:contain;gap:6px;max-height:min(38dvh,300px);padding:2px;display:grid;overflow-y:auto}html body .play-hub .ph-choice{border:1px solid var(--ph-line);background:var(--ph-surface);cursor:pointer;border-radius:12px;align-items:center;gap:8px;min-width:0;min-height:48px;padding:8px 10px;font-size:.86rem;font-weight:700;transition:border-color .15s,background-color .15s;display:flex;position:relative}html body .play-hub .ph-choice>span:not(.ph-avatar):not(.ph-choice-mark){text-overflow:ellipsis;min-width:0;overflow:hidden}html body .play-hub .ph-choice input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}html body .play-hub .ph-choice:hover{border-color:var(--ph-line-strong);background:var(--ph-soft)}html body .play-hub .ph-choice.is-active{border-color:var(--ph-accent);background:var(--ph-soft);box-shadow:inset 0 0 0 1px var(--ph-accent)}html body .play-hub .ph-choice:has(input:focus-visible){outline:2px solid var(--ph-accent);outline-offset:2px}html body .play-hub .ph-choice-friend{gap:10px}html body .play-hub .ph-choice-friend .ph-friend-name{flex:auto}html body .play-hub .ph-choice-mark{border:1px solid var(--ph-line-strong);color:#0000;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;display:grid}html body .play-hub .ph-choice-mark .ph-icon{width:14px;height:14px}html body .play-hub .ph-choice.is-active .ph-choice-mark{border-color:var(--ph-accent);background:var(--ph-accent);color:var(--ph-on-accent)}html body .play-hub .ph-invite-done{text-align:center;justify-items:center}html body .play-hub .ph-invite-done .ph-modal-actions{justify-content:center;width:100%}html body .play-hub .ph-invite-done .ph-modal-actions .ph-btn{flex:120px}html body .play-hub .ph-qr{border:1px solid var(--ph-line);background:#fff;border-radius:16px;place-items:center;padding:6px;display:grid;position:relative}html body .play-hub .ph-qr svg{max-width:100%;height:auto;display:block}html body .play-hub .ph-qr img{background:#fff;border-radius:10px;width:40px;height:40px;padding:4px;position:absolute}html body .play-hub .ph-link-field{color:var(--ph-muted);text-overflow:ellipsis;font-size:.82rem}@container ph-body (min-width:600px){html body .play-hub .ph-game-head{grid-template-columns:auto auto minmax(0,1fr) auto}html body .play-hub .ph-segment{grid-column:auto;display:inline-flex}html body .play-hub .ph-rail{grid-template-columns:repeat(2,minmax(0,1fr))}}@container ph-body (min-width:760px){html body .play-hub .ph-play{grid-template-columns:minmax(0,1fr) minmax(260px,320px);gap:20px}html body .play-hub .ph-play.is-single{grid-template-columns:minmax(0,1fr)}html body .play-hub .ph-side{max-width:none}}@container ph-body (min-width:1100px){html body .play-hub .ph-play{grid-template-columns:minmax(0,1fr) minmax(300px,380px);gap:24px}html body .play-hub .ph-play.is-single{grid-template-columns:minmax(0,1fr)}}@container ph-body (min-width:1240px){html body .play-hub .ph-hub-grid{grid-template-columns:minmax(0,1fr) 320px}html body .play-hub .ph-rail{grid-template-columns:minmax(0,1fr)}}@container ph-body (min-width:1400px){html body .play-hub .ph-hub-grid{grid-template-columns:minmax(0,1fr) 360px}html body .play-hub .ph-play-chess .ph-side,html body .play-hub .ph-play-ttt .ph-side{grid-template-columns:minmax(0,1fr)}}@container ph-body (max-width:999px){html body .play-hub .ph-top{grid-template-columns:minmax(0,1fr) auto}html body .play-hub .ph-pills{grid-area:2/1/auto/-1}}@container ph-body (max-width:599px){html body .play-hub .ph-top{grid-template-columns:minmax(0,1fr)}html body .play-hub .ph-pills{grid-row:auto}html body .play-hub .ph-top-cta{width:100%}html body .play-hub .ph-game-head{grid-template-columns:auto auto minmax(0,1fr)}html body .play-hub .ph-segment{grid-column:1/-1;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;display:grid}html body .play-hub .ph-pills{gap:6px}html body .play-hub .ph-pills li{min-height:36px;padding:0 10px;font-size:.78rem}}@container ph-body (max-width:420px){html body .play-hub .ph-segment button{padding:0 6px;font-size:.78rem}html body .play-hub .ph-player-name small{display:none}html body .play-hub .ph-picker.is-compact .ph-level-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html body .play-hub .ph-back span{display:none}html body .play-hub .ph-back{padding:0 10px}html body .play-hub .ph-rps-actions button{min-height:76px;padding:10px 4px}}@media (max-width:820px){html body .play-hub .ph-play{--ph-chrome:500px}}@media (max-width:719px){html body .play-hub{padding:16px 16px 32px}html body .play-hub .ph-body{gap:16px}html body .play-hub .ph-top h1{font-size:1.5rem}html body .play-hub .ph-game-title h1{font-size:1.2rem}html body .play-hub .ph-chess{border-width:4px;border-radius:10px}html body .play-hub .ph-captured{max-width:120px}html body .play-hub .ph-captured i{font-size:.9rem}html body .play-hub .ph-toast{bottom:calc(108px + env(safe-area-inset-bottom))}html body .play-hub .ph-modal-backdrop{place-items:end center;padding:0}html body .play-hub .ph-modal,html body .play-hub .ph-modal.is-wide{width:100%;max-height:92dvh;padding:18px 16px calc(18px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0}html body .play-hub .ph-modal-actions .ph-btn{flex:130px}}@media (max-width:420px){html body .play-hub .ph-invite-games{grid-template-columns:minmax(0,1fr)}html body .play-hub .ph-invite-games .ph-choice{min-height:44px}}@media (max-height:520px) and (orientation:landscape){html body .play-hub .ph-play{--ph-chrome:300px}html body .play-hub .ph-play-chess .ph-board-col,html body .play-hub .ph-play-ttt .ph-board-col,html body .play-hub .ph-play-memory .ph-board-col{max-width:max(220px,100dvh - 120px)}}@media (prefers-reduced-motion:reduce){html body .play-hub *,html body .play-hub :before,html body .play-hub :after{transition:none!important;animation:none!important}}html body .play-hub .ph-g-chess,html body .play-hub.ph-g-chess{--g-tile:#7b4a2a;--g-ink:#ffe9c4;--g-alt:#2f6f4e;--g-table:#2f6f4e;--g-tile-tex:url(/assets/games/wood-grain-light.svg);--g-tile-size:60px;--g-table-tex:url(/assets/games/felt.svg);--g-table-size:100px;--g-accent:#2f6f4e;--g-accent-hover:#25593f;--g-on:#fff}html body .play-hub .ph-g-tic-tac-toe,html body .play-hub.ph-g-tic-tac-toe{--g-tile:#2563eb;--g-ink:#fff;--g-alt:#ff6b6b;--g-table:#2563eb;--g-tile-tex:url(/assets/games/paper-dots.svg);--g-tile-size:14px;--g-table-tex:url(/assets/games/paper-dots.svg);--g-table-size:20px;--g-accent:#2563eb;--g-accent-hover:#1d4fc4;--g-on:#fff;--ph-x:#1d4ed8;--ph-o:#d63a3f}html body .play-hub .ph-g-rock-paper-scissors,html body .play-hub.ph-g-rock-paper-scissors{--g-tile:#6d28d9;--g-ink:#fff;--g-alt:#ffd23f;--g-table:#6d28d9;--g-tile-tex:url(/assets/games/confetti.svg);--g-tile-size:48px;--g-table-tex:url(/assets/games/confetti.svg);--g-table-size:80px;--g-accent:#6d28d9;--g-accent-hover:#5b21b6;--g-on:#fff}html body .play-hub .ph-g-memory,html body .play-hub.ph-g-memory{--g-tile:#0f766e;--g-ink:#fff;--g-alt:#fbbf24;--g-table:#0f766e;--g-tile-tex:url(/assets/games/card-lattice.svg);--g-tile-size:16px;--g-table-tex:url(/assets/games/card-lattice.svg);--g-table-size:36px;--g-accent:#0f766e;--g-accent-hover:#0b5f58;--g-on:#fff}html body .play-hub .ph-g-word-duel,html body .play-hub.ph-g-word-duel{--g-tile:#be185d;--g-ink:#fff;--g-alt:#fcd34d;--g-table:#be185d;--g-tile-tex:url(/assets/games/letter-tiles.svg);--g-tile-size:24px;--g-table-tex:url(/assets/games/letter-tiles.svg);--g-table-size:36px;--g-accent:#be185d;--g-accent-hover:#9d174d;--g-on:#fff}html[data-theme=dark] body .play-hub .ph-g-chess,html[data-theme=dark] body .play-hub.ph-g-chess{--g-accent:#5cc08f;--g-accent-hover:#7ad0a4;--g-on:#06210f}html[data-theme=dark] body .play-hub .ph-g-tic-tac-toe,html[data-theme=dark] body .play-hub.ph-g-tic-tac-toe{--g-accent:#7aa2ff;--g-accent-hover:#9db9ff;--g-on:#101114;--ph-x:#7aa2ff;--ph-o:#ff8a8a}html[data-theme=dark] body .play-hub .ph-g-rock-paper-scissors,html[data-theme=dark] body .play-hub.ph-g-rock-paper-scissors{--g-accent:#a48bff;--g-accent-hover:#bba8ff;--g-on:#1c0b3f}html[data-theme=dark] body .play-hub .ph-g-memory,html[data-theme=dark] body .play-hub.ph-g-memory{--g-accent:#2dd4bf;--g-accent-hover:#5eead4;--g-on:#04302c}html[data-theme=dark] body .play-hub .ph-g-word-duel,html[data-theme=dark] body .play-hub.ph-g-word-duel{--g-accent:#f472b6;--g-accent-hover:#f9a8d4;--g-on:#3b0620}html body .play-hub .ph-g-chess,html body .play-hub .ph-g-tic-tac-toe,html body .play-hub .ph-g-rock-paper-scissors,html body .play-hub .ph-g-memory,html body .play-hub .ph-g-word-duel,html body .play-hub.ph-g-chess,html body .play-hub.ph-g-tic-tac-toe,html body .play-hub.ph-g-rock-paper-scissors,html body .play-hub.ph-g-memory,html body .play-hub.ph-g-word-duel{--ph-accent:var(--g-accent);--ph-accent-hover:var(--g-accent-hover);--ph-accent-text:var(--g-accent);--ph-on-accent:var(--g-on)}html body .play-hub .ph-tile[class*=ph-g-]{background-color:var(--g-tile);background-image:var(--g-tile-tex);background-size:var(--g-tile-size);color:var(--g-ink);box-shadow:inset 0 -4px 0 var(--g-alt);border-color:#0000}html body .play-hub .ph-tile.is-small[class*=ph-g-]{box-shadow:inset 0 -3px 0 var(--g-alt)}html body .play-hub .ph-card[class*=ph-g-]{padding-top:24px;position:relative;overflow:hidden}html body .play-hub .ph-card[class*=ph-g-]:before{content:"";background-color:var(--g-tile);background-image:var(--g-tile-tex);background-size:var(--g-tile-size);height:8px;box-shadow:inset 0 -2px 0 var(--g-alt);position:absolute;top:0;left:0;right:0}html body .play-hub .ph-card[class*=ph-g-]:hover{border-color:var(--g-accent)}html body .play-hub .ph-card[class*=ph-g-] .ph-card-meta .ph-icon{color:var(--g-accent)}html body .play-hub .ph-play-chess .ph-board-col,html body .play-hub .ph-play-ttt .ph-board-col,html body .play-hub .ph-play-rps .ph-board-col,html body .play-hub .ph-play-memory .ph-board-col{background-color:var(--g-table);background-image:var(--g-table-tex);background-size:var(--g-table-size);border-radius:20px;padding:12px;box-shadow:inset 0 0 0 1px #00000038}html body .play-hub .ph-board-col .ph-vs{color:#fff}html body .play-hub .ph-lobby{padding-top:44px;position:relative;overflow:hidden}html body .play-hub .ph-lobby:before{content:"";background-color:var(--g-tile);background-image:var(--g-tile-tex);background-size:var(--g-tile-size);height:12px;box-shadow:inset 0 -3px 0 var(--g-alt);position:absolute;top:0;left:0;right:0}html body .play-hub .ph-play-chess .ph-chess{background-color:#5b3a1e;background-image:url(/assets/games/wood-grain-light.svg);background-size:140px;border-color:#0000}html body .play-hub .ph-chess button.is-light,html body .play-hub .ph-chess button.is-dark{background-image:url(/assets/games/wood-grain.svg);background-size:150px}html body .play-hub .ph-chess button:nth-child(3n+1){background-position:0 0}html body .play-hub .ph-chess button:nth-child(3n+2){background-position:47px 31px}html body .play-hub .ph-chess button:nth-child(3n){background-position:91px 73px}html body .play-hub .ph-chess button.is-last,html body .play-hub .ph-chess button.is-selected,html body .play-hub .ph-chess button.is-check{background-image:none}html body .play-hub .ph-player-dot-w{box-shadow:inset 0 0 0 2px #f6dfb4}html body .play-hub .ph-player.is-you{border-left:4px solid #7b4a2a}html body .play-hub .ph-play-ttt .ph-ttt{background-color:#1d4ed8;background-image:url(/assets/games/paper-dots.svg);background-size:18px;border-color:#0000;gap:8px}html body .play-hub .ph-play-ttt .ph-ttt button{color:#1d4ed8;background-color:#fff8e7;border-color:#e7d9b8}html body .play-hub .ph-play-ttt .ph-ttt button:hover:not(.mark-x):not(.mark-o){background-color:#fff0c4;border-color:#1d4ed8}html body .play-hub .ph-play-ttt .ph-ttt button.mark-x{color:#1d4ed8}html body .play-hub .ph-play-ttt .ph-ttt button.mark-o{color:#d63a3f}html body .play-hub .ph-play-ttt .ph-ttt.is-over button:not(.is-win){opacity:.78}html body .play-hub .ph-play-ttt .ph-ttt button.is-win{background-color:#ffe08a;border-color:#1d4ed8;box-shadow:inset 0 0 0 3px #1d4ed8}html body .play-hub .ph-chip .ph-mark{color:var(--ph-x,var(--ph-accent))}html body .play-hub .ph-chip.is-o .ph-mark{color:var(--ph-o,var(--ph-muted))}html body .play-hub .ph-rps-hand.is-rock .ph-icon{color:#b45309}html body .play-hub .ph-rps-hand.is-paper .ph-icon{color:#0369a1}html body .play-hub .ph-rps-hand.is-scissors .ph-icon{color:#be185d}html body .play-hub .ph-rps-hand.is-winner{border-color:#ffd23f;box-shadow:inset 0 0 0 3px #ffd23f}html body .play-hub .ph-rps-actions button{border-color:#0000;font-weight:800;transition:transform .12s,box-shadow .12s}html body .play-hub .ph-rps-actions button.is-rock{color:#2d1b00;background-color:#f59e0b}html body .play-hub .ph-rps-actions button.is-paper{color:#04283d;background-color:#38bdf8}html body .play-hub .ph-rps-actions button.is-scissors{color:#3d0420;background-color:#f472b6}html body .play-hub .ph-rps-actions button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 0 0 3px #fff,0 0 0 5px #1c1c1f}html body .play-hub .ph-rps-actions button:disabled{opacity:.5;cursor:not-allowed}html body .play-hub .ph-play-memory .ph-memory{background-color:#0a5a53;border-color:#0000}html body .play-hub .ph-memory-card{background-color:#0f766e;background-image:url(/assets/games/card-lattice.svg);background-size:24px;border-color:#0a4d48}html body .play-hub .ph-memory-card:hover:not(.is-up){background-color:#12877d}html body .play-hub .ph-memory-back{opacity:.8;border-color:#ffe9a8}html body .play-hub .ph-memory-card.is-up{color:#0f766e;background-color:#fff8e7;background-image:none;border-color:#e7d9b8}html body .play-hub .ph-memory-card.is-sym-0{color:#b45309}html body .play-hub .ph-memory-card.is-sym-1{color:#be185d}html body .play-hub .ph-memory-card.is-sym-2{color:#a16207}html body .play-hub .ph-memory-card.is-sym-3{color:#c2410c}html body .play-hub .ph-memory-card.is-sym-4{color:#4338ca}html body .play-hub .ph-memory-card.is-sym-5{color:#15803d}html body .play-hub .ph-memory-card.is-sym-6{color:#7e22ce}html body .play-hub .ph-memory-card.is-sym-7{color:#0f766e}html body .play-hub .ph-memory-card.is-matched{background-color:#dcfce7;border-color:#16a34a;box-shadow:inset 0 0 0 2px #16a34a}html body .play-hub .ph-result{box-shadow:inset 0 8px #e4e4e7}html body .play-hub .ph-result.is-win{box-shadow:inset 0 8px #22c55e}html body .play-hub .ph-result.is-loss{box-shadow:inset 0 8px #ef4444}html body .play-hub .ph-result.is-draw{box-shadow:inset 0 8px #facc15}html body .play-hub .ph-result.is-win strong{color:#86efac}html body .play-hub .ph-result.is-loss strong{color:#fca5a5}html body .play-hub .ph-result.is-draw strong{color:#fde68a}html body .play-hub .ph-result-bar.is-win{border-color:var(--ph-good);box-shadow:inset 6px 0 0 var(--ph-good)}html body .play-hub .ph-result-bar.is-loss{border-color:var(--ph-bad);box-shadow:inset 6px 0 0 var(--ph-bad)}html body .play-hub .ph-result-bar.is-draw{border-color:var(--ph-line-strong);box-shadow:inset 6px 0 #facc15}html body .play-hub .ph-btn-forfeit{border-color:var(--ph-bad);color:var(--ph-bad)}html body .play-hub .ph-btn-forfeit:hover:not(:disabled){background:var(--ph-raised)}html body .play-hub .ph-btn-danger{border-color:var(--ph-bad);background:var(--ph-bad);color:#fff}html body .play-hub .ph-btn-danger:hover:not(:disabled){background:#a31f1f;border-color:#a31f1f}html[data-theme=dark] body .play-hub .ph-btn-danger{color:#2b0707}html[data-theme=dark] body .play-hub .ph-btn-danger:hover:not(:disabled){background:#fca5a5;border-color:#fca5a5}@media (max-width:719px){html body .play-hub .ph-play-chess .ph-board-col,html body .play-hub .ph-play-ttt .ph-board-col,html body .play-hub .ph-play-rps .ph-board-col,html body .play-hub .ph-play-memory .ph-board-col{border-radius:16px;padding:8px}}html body .play-hub .ph-play-word .ph-board-col{background-color:var(--g-table);background-image:var(--g-table-tex);background-size:var(--g-table-size);border-radius:20px;max-width:520px;padding:12px;box-shadow:inset 0 0 0 1px #00000038}html body .play-hub .ph-chip.is-score{justify-content:space-between}html body .play-hub .ph-chip.is-score b{font-variant-numeric:tabular-nums;font-size:1.15rem}html body .play-hub .ph-result-detail{color:var(--ph-muted);letter-spacing:0;margin-top:2px;font-size:.8rem;font-weight:650;display:block}html body .play-hub .ph-rps-actions button.is-chosen{opacity:1;box-shadow:0 0 0 3px #fff,0 0 0 5px #1c1c1f}html body .play-hub .ph-round-log{gap:6px;margin:0;padding:0;list-style:none;display:grid}html body .play-hub .ph-round-log li{border:1px solid var(--ph-line);background:var(--ph-soft);border-radius:10px;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 10px;font-size:.84rem;display:grid}html body .play-hub .ph-round-log li em{color:var(--ph-muted);font-style:normal;font-weight:700}html body .play-hub .ph-round-log li b{font-weight:800}html body .play-hub .ph-round-log li.is-w{box-shadow:inset 4px 0 0 var(--ph-good)}html body .play-hub .ph-round-log li.is-l{box-shadow:inset 4px 0 0 var(--ph-bad)}html body .play-hub .ph-round-log li.is-d{box-shadow:inset 4px 0 #facc15}html body .play-hub .ph-memory-card.is-matched.is-theirs{background-color:#e0e7ff;border-color:#4338ca;box-shadow:inset 0 0 0 2px #4338ca}html body .play-hub .ph-memory.is-locked .ph-memory-card:not(.is-up){cursor:not-allowed}html body .play-hub .ph-memory.is-locked .ph-memory-card:hover:not(.is-up){background-color:#0f766e}html body .play-hub .ph-word-grid{gap:6px;width:100%;max-width:340px;margin:0 auto;display:grid}html body .play-hub .ph-word-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}html body .play-hub .ph-word-tile{aspect-ratio:1;color:#3b0620;text-transform:uppercase;background-color:#fff8e7;border:2px solid #e7d9b8;border-radius:10px;place-items:center;font-size:clamp(1.3rem,6vw,1.9rem);font-weight:850;display:grid}html body .play-hub .ph-word-tile.is-filled{border-color:#be185d}html body .play-hub .ph-word-tile.is-c{color:#fff;background-color:#16a34a;border-color:#15803d}html body .play-hub .ph-word-tile.is-p{color:#2d1b00;background-color:#fbbf24;border-color:#d97706}html body .play-hub .ph-word-tile.is-a{color:#fff;background-color:#52525b;border-color:#3f3f46}html body .play-hub .ph-word-kbd{gap:6px;width:100%;max-width:420px;margin:4px auto 0;display:grid}html body .play-hub .ph-word-kbd-row{justify-content:center;gap:4px;display:flex}html body .play-hub .ph-word-key{color:#3b0620;min-width:0;min-height:46px;font:inherit;text-transform:uppercase;cursor:pointer;background-color:#fff8e7;border:1px solid #e7d9b8;border-radius:8px;flex:1 1 0;padding:0;font-size:.95rem;font-weight:800}html body .play-hub .ph-word-key.is-wide{flex:1.6 1 0;font-size:.74rem}html body .play-hub .ph-word-key:hover:not(:disabled){border-color:#be185d}html body .play-hub .ph-word-key:disabled{opacity:.55;cursor:not-allowed}html body .play-hub .ph-word-key.is-c{color:#fff;background-color:#16a34a;border-color:#15803d}html body .play-hub .ph-word-key.is-p{color:#2d1b00;background-color:#fbbf24;border-color:#d97706}html body .play-hub .ph-word-key.is-a{color:#fff;background-color:#52525b;border-color:#3f3f46}html body .play-hub .ph-word-opp{gap:5px;width:100%;max-width:220px;display:grid}html body .play-hub .ph-word-opp-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;display:grid}html body .play-hub .ph-word-pip{aspect-ratio:1;border:1px solid var(--ph-line-strong);background:var(--ph-soft);border-radius:5px;display:block}html body .play-hub .ph-word-pip.is-c{background:#16a34a;border-color:#15803d}html body .play-hub .ph-word-pip.is-p{background:#fbbf24;border-color:#d97706}html body .play-hub .ph-word-pip.is-a{background:#52525b;border-color:#3f3f46}html body .play-hub .ph-side .ph-word-grid{max-width:220px;margin:0}html body .play-hub .ph-side .ph-word-grid .ph-word-tile{border-radius:6px;font-size:1rem}@media (max-width:719px){html body .play-hub .ph-play-word .ph-board-col{border-radius:16px;padding:8px}html body .play-hub .ph-word-key{min-height:44px}}
