:root{--bg-app:radial-gradient(ellipse at 50% 40%, #fffffff0 0 45%, #e9f0f9d9 78%, #dbe5f0eb 100%), #dbe5f0;--bg-surface:#ffffff8c;--bg-surface-elevated:#ffffffb3;--bg-surface-muted:#e1ebf7bf;--text-primary:#111827;--text-secondary:#64748b;--text-muted:#94a3b8;--text-inverse:#f8fafc;--border-soft:#ffffff80;--border-strong:#64748b47;--shadow-soft:0 10px 26px #233a581a;--shadow-elevated:0 20px 50px #2e47671f;--accent-gold:linear-gradient(180deg, #ffe56a, #ffc638);--accent-gold-solid:#ffc638;--accent-violet:#7047eb;--accent-danger:#dc2626;--accent-success:#22c55e;--accent-info:#2563eb;--overlay-soft:#060c1629;--overlay-strong:#060c168c;--glass-bg:#ffffff8c;--glass-border:#fff9;--game-red:#e5484d;--game-blue:#3b82f6;--game-green:#22c55e;--game-gold:#eab308;--game-violet:#7047eb;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}:root[data-theme=dark]{--bg-app:radial-gradient(ellipse at 50% 35%, #2a2f3a8c 0%, #16192080 55%, #0a0b0fb3 100%), #0e0f13;--bg-surface:#ffffff0f;--bg-surface-elevated:#ffffff18;--bg-surface-muted:#ffffff0b;--text-primary:#eef1f6;--text-secondary:#9aa5b3;--text-muted:#6b7482;--text-inverse:#f8fafc;--border-soft:#ffffff1a;--border-strong:#ffffff2e;--shadow-soft:0 10px 26px #00000061;--shadow-elevated:0 22px 54px #0000008c;--accent-gold:linear-gradient(180deg, #ffe56a, #ffc638);--accent-gold-solid:#ffc638;--accent-violet:#7047eb;--accent-danger:#f87171;--accent-success:#4ade80;--accent-info:#60a5fa;--overlay-soft:#00000061;--overlay-strong:#000000ad;--glass-bg:#ffffff0e;--glass-border:#ffffff1f;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body,.panel,.role-card,.btn,.text-input,.lobby-player-list li,.lobby-table-device,.lobby-invite,.avatar-option,.winner-overlay__scores{transition:background-color .2s,border-color .2s,color .2s}@media (prefers-reduced-motion:reduce){body,.panel,.role-card,.btn,.text-input,.lobby-player-list li,.lobby-table-device,.lobby-invite,.avatar-option,.winner-overlay__scores{transition:none}}#root{box-sizing:border-box;flex-direction:column;width:100%;max-width:100%;min-height:100svh;margin:0 auto;display:flex}body{color:var(--text-primary);margin:0}h1,h2{color:var(--text-primary);font-weight:500}.avatar-grid{grid-template-columns:repeat(6,1fr);gap:8px;max-height:320px;padding:2px;display:grid;overflow-y:auto}.avatar-option{aspect-ratio:3/4;border:2px solid var(--border-strong);background:var(--bg-surface);cursor:pointer;border-radius:10px;padding:0;position:relative;overflow:hidden}.avatar-option--selected{border-color:var(--accent-gold-solid);box-shadow:0 0 0 2px color-mix(in srgb, var(--accent-gold-solid) 40%, transparent)}.avatar-option__img{object-fit:contain;object-position:bottom center;pointer-events:none;width:100%;height:100%;display:block}.theme-switch{border:1px solid var(--border-strong);background:var(--bg-surface-muted);border-radius:999px;align-items:center;gap:2px;padding:3px;display:inline-flex}.theme-switch__option{width:28px;height:28px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:999px;place-items:center;padding:0;transition:background-color .15s,color .15s,box-shadow .15s;display:grid}.theme-switch__option:hover{color:var(--text-primary)}.theme-switch__option--active{color:var(--text-primary);background:var(--bg-surface-elevated);box-shadow:0 2px 8px #0000001f}.theme-switch__option:focus-visible{outline:2px solid var(--accent-info);outline-offset:2px}@media (prefers-reduced-motion:reduce){.theme-switch__option{transition:none}}.uno-card{--card-aspect:5 / 7;aspect-ratio:var(--card-aspect);cursor:pointer;background:0 0;border:none;border-radius:12px;padding:0;transition:transform .12s,box-shadow .12s;display:inline-block;position:relative;overflow:hidden;box-shadow:0 4px 10px #00000059}.uno-card--normal{width:74px}.uno-card--small{width:50px}.uno-card--table{width:78px}.uno-card--hero{border-radius:16px;width:160px;box-shadow:0 14px 30px #1a3b6852,0 0 0 2px #ffffffb8}@media (width<=760px){.uno-card--table{width:56px}.uno-card--hero{width:108px}}@media (width<=420px){.uno-card--table{width:50px}.uno-card--hero{width:96px}}@media (width<=320px){.uno-card--table{width:46px}.uno-card--hero{width:88px}}.uno-card__art{object-fit:contain;pointer-events:none;width:100%;height:100%;display:block}.uno-card--playable:hover{transform:translateY(-10px);box-shadow:0 10px 18px #00000073}.uno-card--selected{transform-origin:50% 100%;outline:3px solid #fff;transform:translateY(-30px)scale(1.35)}.uno-card__caption{z-index:5;white-space:nowrap;pointer-events:none;background:#0c192af5;border-radius:10px;flex-direction:column;align-items:center;gap:2px;padding:6px 12px;display:flex;position:absolute;top:-8px;left:50%;transform:translate(-50%,-100%);box-shadow:0 6px 16px #00000059}.uno-card__caption strong{color:#ffe16a;letter-spacing:.02em;font-size:.85rem}.uno-card__caption small{color:#eaf1fa;letter-spacing:.03em;font-size:.62rem}.uno-card--disabled{opacity:.55;filter:saturate(.65);box-shadow:none;cursor:not-allowed}.uno-card--disabled:not(.uno-card--selected):hover,.uno-card--disabled:not(.uno-card--selected):active{box-shadow:none;transform:none}.uno-card--back{border-radius:12px}.uno-card:not(.uno-card--back):empty{box-shadow:none;border:2px dashed #ffffff4d}.player-hand{padding:22px 0 calc(var(--fan-bottom-reserve,48px) + env(safe-area-inset-bottom));justify-content:center;align-items:flex-end;width:100%;display:flex;overflow:visible}.player-hand__rows{flex-direction:column;align-items:center;width:100%;min-width:0;display:flex}.player-hand__row+.player-hand__row{margin-top:clamp(-46px,-8vh,-30px)}.player-hand--rows-3 .player-hand__row+.player-hand__row{margin-top:clamp(-54px,-9vh,-36px)}.player-hand__row{scrollbar-width:none;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;width:100%;min-width:0;transform:translateX(var(--row-indent,0px));scroll-padding-inline:42px;overflow:auto visible;-webkit-mask-image:linear-gradient(90deg,#0000,#000 26px calc(100% - 26px),#0000);mask-image:linear-gradient(90deg,#0000,#000 26px calc(100% - 26px),#0000)}.player-hand__row::-webkit-scrollbar{height:0}.player-hand__fan{box-sizing:border-box;transform-origin:50% 100%;justify-content:center;align-items:flex-end;width:max-content;min-width:100%;padding-inline:max(42px,11vw);display:flex}.player-hand--rows-2 .player-hand__fan{transform:scale(.94)}.player-hand--rows-3 .player-hand__fan{transform:scale(.82)}.player-hand__slot{animation:.42s cubic-bezier(.2,.8,.2,1) both hand-card-deal;animation-delay:calc(var(--hand-index,0) * 35ms);flex-shrink:0;margin-right:clamp(-42px,-3vw,-25px);transition:transform .15s}.player-hand__slot:has(.uno-card--selected){z-index:100!important}.player-hand__slot .uno-card--selected{outline:2px solid #ffe064;box-shadow:0 0 0 4px #ffd24533,0 0 28px #ffbe23b8}.player-hand__slot:last-child{margin-right:0}.player-hand__empty{color:#a1a1aa;padding:20px}@keyframes hand-card-deal{0%{opacity:0;translate:0 34px;scale:.88}to{opacity:1;translate:0;scale:1}}@media (prefers-reduced-motion:reduce){.player-hand__slot{animation:none}}@media (width<=420px){.player-hand__fan{padding-inline:54px}.player-hand__slot{margin-right:-28px}.player-hand--rows-2 .player-hand__fan{transform:scale(.9)}.player-hand--rows-3 .player-hand__fan{transform:scale(.76)}}.player-ring--full{z-index:4;position:absolute;inset:0}.player-unit{align-items:center;transition:filter .22s;display:flex;position:absolute;transform:translate(-50%,-50%)}.player-unit--left{flex-direction:row-reverse}.player-unit--right{flex-direction:row}.player-unit--top{flex-direction:column-reverse}.player-unit--bottom{flex-direction:column}.player-unit__avatar{z-index:2;color:#fff;filter:drop-shadow(0 4px 9px #141e3252);flex-shrink:0;place-items:center;width:clamp(56px,5.4vw,76px);height:clamp(56px,5.4vw,76px);font-size:.8rem;font-weight:900;display:grid;position:relative}.player-unit__avatar img{object-fit:contain;object-position:bottom center;width:100%;height:100%}.player-unit__avatar:not(:has(img)){filter:none;background:linear-gradient(145deg,#64748b,#0f172a);border:2px solid #ffffffa6;border-radius:12px}.player-unit__avatar--bot:not(:has(img)){background:linear-gradient(145deg,#a78bfa,#4c2fb0)}.player-unit__presence{background:#22c55e;border:2px solid #fff;border-radius:50%;width:10px;height:10px;position:absolute;bottom:6%;right:6%;box-shadow:0 2px 6px #00000040}.player-unit__presence--offline{background:#94a3b8}.player-unit__pill{z-index:1;color:#f1f5fb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(135deg,#1b2b42e6,#0a182bd6);border:1px solid #ffffff24;border-radius:14px;flex-direction:column;flex-shrink:0;gap:1px;width:max-content;min-width:76px;max-width:106px;padding:6px 10px;transition:border-color .18s,box-shadow .18s;display:flex;position:relative;box-shadow:0 8px 18px #14233c33,inset 0 1px #ffffff14}.player-unit__name{text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;overflow:hidden}.player-unit__meta{color:#93a6bd;letter-spacing:.03em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:.54rem;overflow:hidden}.player-unit--own .player-unit__pill{color:#111827;background:linear-gradient(135deg,#f8fafcf5,#e5e9f1eb)}.player-unit--own .player-unit__meta{color:#64748b}.player-unit--left .player-unit__avatar{margin-left:-16%}.player-unit--right .player-unit__avatar{margin-right:-16%}.player-unit--top .player-unit__avatar{margin-top:-14%}.player-unit--bottom .player-unit__avatar{margin-bottom:-14%}.player-unit--left .player-unit__pill{padding-right:16px}.player-unit--right .player-unit__pill{padding-left:16px}.player-unit--top .player-unit__pill{padding-bottom:11px}.player-unit--bottom .player-unit__pill{padding-top:11px}.player-unit--active .player-unit__pill{border-color:#ffd250;box-shadow:0 0 0 1.5px #ffd25052,0 0 14px #ffbe234d,0 8px 18px #14233c38}.player-unit--highlight-actor .player-unit__pill{border-color:#ffbe3cd9;box-shadow:0 0 0 1.5px #ffbe3c42,0 8px 18px #96641438}.player-unit--highlight-target .player-unit__pill{border-color:#ef4444cc;box-shadow:0 0 0 1.5px #ef444442,0 8px 18px #961e1e33}.player-unit--skipped{filter:grayscale(.5)opacity(.6)}.player-unit--draw-effect .player-unit__pill{border-color:#2563ebbf}.player-unit--rotate-participant .player-unit__pill{border-color:#78aaff99;box-shadow:0 0 0 1.5px #78aaff38,0 8px 18px #14233c33}.player-unit--skip-all-dim{filter:grayscale(.6)brightness(.55);transition:filter .3s}.player-unit--editable{cursor:pointer}.player-unit--editable:hover .player-unit__pill{border-color:#7047eb80;box-shadow:0 0 0 2px #7047eb40,0 10px 22px #3c287838}.player-unit--seat-selected .player-unit__pill{border-color:#7047eb;box-shadow:0 0 0 2px #7047eb73,0 12px 26px #3c28784d}.player-unit__turn-badge{z-index:3;color:#3a2600;letter-spacing:.04em;white-space:nowrap;background:linear-gradient(#ffe66f,#ffc936);border:1px solid #ffe58cd9;border-radius:999px;padding:2px 10px;font-size:.5rem;font-weight:900;position:absolute;bottom:-5px;left:50%;transform:translate(-50%)scale(.94);box-shadow:0 3px 9px #f5aa0052}.player-unit__badge{z-index:3;color:#fff;white-space:nowrap;border-radius:999px;padding:2px 7px;font-size:.54rem;font-weight:900;position:absolute;top:-6px;right:-6px}.player-unit__badge--skip{background:#ef4444;border:2px solid #140a0c80;place-items:center;width:20px;height:20px;padding:0;font-size:.62rem;display:grid;top:-4px;right:-4px;box-shadow:0 3px 8px #00000059}.player-unit__badge--draw{background:#2563eb}.player-unit__remove{z-index:3;color:#ef4444;cursor:pointer;background:#fff;border:1px solid #ef444466;border-radius:50%;width:20px;height:20px;font-weight:900;line-height:1;position:absolute;top:-6px;left:-6px}@media (prefers-reduced-motion:reduce){.player-unit{transition:none}}.player-ring__avatar{width:42px;height:42px;color:var(--text-secondary);background:var(--bg-surface-muted);border-radius:12px;place-items:center;font-weight:800;display:grid;position:relative;overflow:hidden}.player-ring__avatar img{object-fit:contain;object-position:bottom center;width:100%;height:100%}.player-ring__avatar--bot{background:color-mix(in srgb, var(--accent-violet) 18%, var(--bg-surface-muted))}.player-ring__presence{background:#22c55e;border:2px solid #fff;border-radius:50%;width:10px;height:10px;position:absolute;bottom:-2px;right:-2px}.player-ring__presence--offline{background:#94a3b8}.player-ring__copy{min-width:0;color:var(--text-primary)}.player-ring__name{white-space:nowrap;text-overflow:ellipsis;font-size:.74rem;display:block;overflow:hidden}.player-ring__count{color:var(--text-secondary);font-size:.58rem}.player-ring__badge{color:#fff;border-radius:999px;padding:2px 7px;font-size:.58rem;font-weight:900;position:absolute;top:-8px;right:-8px}.player-ring__badge--skip{background:#ef4444}.player-ring__badge--draw{background:#2563eb}.player-ring__remove{color:#ef4444;cursor:pointer;background:#fff;border:1px solid #ef444466;border-radius:50%;width:20px;height:20px;font-weight:900;line-height:1;position:absolute;top:-8px;left:-8px}.player-ring--compact{z-index:4;position:absolute;inset:0}.player-ring__seat--compact{flex-direction:column;align-items:center;gap:3px;transition:filter .2s;display:flex;position:absolute;transform:translate(-50%,-50%)}.player-ring__avatar-wrap{position:relative}.player-ring__seat--compact .player-ring__avatar{border:2px solid #ffffffd9;border-radius:50%;width:34px;height:34px;transition:border-color .2s,box-shadow .2s;box-shadow:0 3px 9px #14284633}.player-ring__seat--compact .player-ring__copy{background:var(--bg-surface-elevated);box-shadow:var(--shadow-soft);border-radius:8px;flex-direction:column;align-items:center;padding:1px 7px;display:flex}.player-ring__seat--compact .player-ring__name{text-align:center;max-width:62px;font-size:.5rem}.player-ring__seat--compact .player-ring__count{font-size:.42rem}.player-ring__seat--compact .player-ring__badge{padding:1px 5px;font-size:.48rem;top:-4px;right:-4px}.player-ring__seat--compact.player-ring__seat--active .player-ring__avatar{border-color:#58a1ff;box-shadow:0 0 0 3px #5894ff73,0 0 18px #5894ff99}.player-ring__seat--compact.player-ring__seat--active .player-ring__copy{background:var(--bg-surface-elevated);box-shadow:0 4px 14px #5894ff4d}.player-ring__seat--compact.player-ring__seat--next-up .player-ring__avatar{border-color:#5894ff8c;box-shadow:0 0 0 2px #5894ff33}.player-ring__seat--rotate-participant .player-ring__avatar{border-color:#78aaffcc;box-shadow:0 0 0 2px #78aaff59}.player-ring__seat--skip-all-dim{filter:grayscale(.6)brightness(.7);opacity:.6;transition:filter .3s,opacity .3s}.player-ring__seat--highlight-actor .player-ring__avatar{border-color:#ffbe3cf2;box-shadow:0 0 0 2px #ffbe3c66}.player-ring__seat--highlight-target .player-ring__avatar{border-color:#ef4444e6;box-shadow:0 0 0 2px #ef444459}.center-halo{z-index:0;filter:blur(2px);pointer-events:none;background:radial-gradient(circle,#78aaff38 0%,#dcecff1a 45%,#0000 72%);border-radius:50%;width:190%;height:190%;transition:background .42s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.center-halo--colored{background:radial-gradient(circle, color-mix(in srgb, var(--halo-color) 38%, transparent) 0%, color-mix(in srgb, var(--halo-color) 14%, transparent) 46%, transparent 74%)}.center-halo--chaos{background:radial-gradient(circle,#46465a4d 0%,#8c78c81f 40%,#0000 72%);animation:3.4s ease-in-out infinite center-halo-holo}@keyframes center-halo-holo{0%,to{filter:blur(2px)hue-rotate()}50%{filter:blur(2px)hue-rotate(35deg)}}@media (prefers-reduced-motion:reduce){.center-halo--chaos{animation:none}}.discard-stage{z-index:5;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.discard-stage__grid{align-items:center;gap:clamp(18px,4vw,40px);display:flex;position:relative}.discard-stage__pile{flex-direction:column;align-items:center;gap:6px;display:flex;position:relative}.discard-stage__pile--draw{opacity:.92;transform:translateY(6%)}.discard-stage__card-stack--draw{filter:drop-shadow(0 8px 14px #1e325029);position:relative}.discard-stage__count--badge{z-index:3;padding:1px 8px;font-size:.58rem;position:absolute;bottom:-6px;right:-8px}.discard-stage__card-stack--hero{z-index:2;filter:drop-shadow(0 18px 30px #14284638);position:relative}.discard-stage__count{color:var(--text-primary);background:var(--bg-surface-elevated);box-shadow:var(--shadow-soft);border-radius:999px;padding:2px 10px;font-size:.62rem;font-weight:800}.discard-stage__resolved-tint{z-index:2;mix-blend-mode:color;opacity:.82;pointer-events:none;border-radius:16px;animation:.3s both discard-tint-in;position:absolute;inset:0}.discard-stage__resolved-tint--RED{background:var(--game-red)}.discard-stage__resolved-tint--BLUE{background:var(--game-blue)}.discard-stage__resolved-tint--GREEN{background:var(--game-green)}.discard-stage__resolved-tint--YELLOW{background:var(--game-gold)}.discard-stage__resolved-tint--VIOLET{background:var(--game-violet)}@keyframes discard-tint-in{0%{opacity:0}to{opacity:.82}}.discard-stage__resolved-color{z-index:3;border:3px solid #fff;border-radius:50%;width:22px;height:22px;position:absolute;bottom:-6px;right:-6px;box-shadow:0 3px 10px #0000004d}.discard-stage__resolved-color--RED{background:var(--game-red)}.discard-stage__resolved-color--BLUE{background:var(--game-blue)}.discard-stage__resolved-color--GREEN{background:var(--game-green)}.discard-stage__resolved-color--YELLOW{background:var(--game-gold)}.discard-stage__resolved-color--VIOLET{background:var(--game-violet)}.game-table--focus .discard-stage__stack-chip{opacity:0}.discard-stage__stack-chip{z-index:6;color:#fff;white-space:nowrap;background:linear-gradient(#2563eb,#1d4ed8);border-radius:999px;align-items:center;gap:6px;padding:6px 14px;font-weight:900;transition:opacity .16s;display:flex;position:absolute;top:-14%;left:50%;transform:translate(-50%);box-shadow:0 8px 20px #2563eb61}.discard-stage--compact .discard-stage__grid{gap:clamp(8px,2.4vw,14px)}.discard-stage--compact .discard-stage__count{padding:1px 8px;font-size:.56rem}.discard-stage--compact .discard-stage__card-stack--hero .uno-card{width:clamp(50px,16vw,80px)!important}.discard-stage--compact .discard-stage__card-stack--draw .uno-card{width:clamp(28px,9vw,46px)!important}.discard-stage:not(.discard-stage--compact) .discard-stage__card-stack--hero .uno-card{width:clamp(188px,14vw,222px)!important}.discard-stage:not(.discard-stage--compact) .discard-stage__card-stack--draw .uno-card{width:clamp(104px,7.7vw,122px)!important}.discard-stage:not(.discard-stage--compact) .discard-stage__grid{gap:clamp(10px,1.6vw,18px)}@media (width<=760px){.discard-stage__grid{gap:clamp(10px,3vw,22px)}}.orbit-flow{z-index:1;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.orbit-flow__track{fill:none;stroke:#6e91be42;stroke-width:.45px;vector-effect:non-scaling-stroke}.orbit-flow__pulse{fill:none;stroke:#64a0ffb8;stroke-width:.7px;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:7 30;filter:drop-shadow(0 0 4px #64a0ff99);animation:8s linear infinite orbit-flow-cw}.orbit-flow__pulse--b{opacity:.6;animation-delay:-4s}.orbit-flow--ccw .orbit-flow__pulse{animation-direction:reverse}.orbit-flow--reversing .orbit-flow__pulse{stroke:#ffffffe6;filter:drop-shadow(0 0 6px #fffc);animation-duration:2.4s}.orbit-flow__marker{fill:#96beff59;filter:drop-shadow(0 0 3px #64a0ff73);transform-box:fill-box;transform-origin:50%;animation:2s ease-in-out infinite orbit-flow-marker-chase}.orbit-flow--reversing .orbit-flow__marker{fill:#fffc;animation-duration:.9s}@keyframes orbit-flow-marker-chase{0%,75%,to{opacity:.35;transform:scale(1)}25%{opacity:1;transform:scale(1.6)}}@keyframes orbit-flow-cw{to{stroke-dashoffset:-370px}}.orbit-flow--turn-arc-mode .orbit-flow__pulse{opacity:.18}.orbit-flow__turn-arc{fill:none;stroke:#78b2fff2;stroke-width:1.1px;stroke-linecap:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 5px #64a0ffd9);animation:.3s both orbit-flow-turn-arc-in}.orbit-flow__turn-pulse{fill:#eaf2ff;filter:drop-shadow(0 0 5px #96c8fff2)}@keyframes orbit-flow-turn-arc-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.orbit-flow__pulse{opacity:.5;animation:none}.orbit-flow--reversing .orbit-flow__pulse{opacity:1}.orbit-flow__marker{opacity:.6;animation:none}.orbit-flow__turn-arc{animation:none}}:root[data-theme=dark] .orbit-flow__track{stroke:#8caad257}.action-focus{z-index:18;pointer-events:none;position:absolute;inset:0}.action-focus__scrim{background:radial-gradient(#060c1629 0%,#060c164d 100%);animation:.3s both action-focus-scrim-in;position:absolute;inset:0}.action-focus__headline{z-index:2;text-align:center;flex-direction:column;align-items:center;gap:2px;animation:.32s cubic-bezier(.2,.8,.2,1) both action-focus-headline-in;display:flex;position:absolute;top:14%;left:50%;transform:translate(-50%)}.action-focus--major .action-focus__headline{top:10%}.game-table--remote_mobile_full .action-focus__headline{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 6px 18px #00000038, 0 0 20px -4px var(--action-accent,transparent);background:#0a101c66;border-radius:14px;gap:0;padding:3px 16px 4px;top:calc(166px + 5.72vh)}@media (width<=760px){.game-table--remote_mobile_full .action-focus__headline{top:calc(138px + 5.72vh)}}.game-table--remote_mobile_full .action-focus__title{font-size:clamp(.78rem,3.4vw,.95rem);line-height:1.05}.game-table--remote_mobile_full .action-focus--major .action-focus__title{font-size:clamp(.85rem,3.8vw,1.05rem)}.game-table--remote_mobile_full .action-focus__subtitle{margin-top:1px;font-size:clamp(.48rem,2vw,.58rem);line-height:1.05}.action-focus--table .action-focus__headline{gap:0;animation-name:action-focus-headline-in-table;top:26.3%;transform:translate(-50%)}.action-focus__title{letter-spacing:.04em;color:#fff;text-shadow:0 4px 16px #00000073;font-size:clamp(1.1rem,2.6vw,1.6rem);font-weight:950}.action-focus--major .action-focus__title{font-size:clamp(1.5rem,3.4vw,2.1rem)}.action-focus--table .action-focus__title{color:#eef3fb;text-shadow:0 3px 10px #00000080, 0 0 20px var(--action-accent,transparent);font-size:clamp(.8rem,1.4vw,1rem);line-height:1.1}.action-focus--table.action-focus--major .action-focus__title{font-size:clamp(.9rem,1.6vw,1.1rem)}.action-focus__subtitle{letter-spacing:.05em;color:#dbeafe;text-shadow:0 2px 10px #0006;font-size:clamp(.68rem,1.3vw,.82rem);font-weight:800}.action-focus--table .action-focus__subtitle{margin-top:1px;font-size:clamp(.48rem,.85vw,.58rem);line-height:1.1}.action-focus__skip{z-index:3;color:#eef6ff;width:30px;height:30px;font:inherit;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);cursor:pointer;pointer-events:auto;background:#1420328c;border:1px solid #ffffff4d;border-radius:50%;font-weight:800;position:absolute;bottom:14px;right:14px}.action-focus__narrator{color:#eef6ff;text-align:left;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:linear-gradient(145deg,#13263ef5,#081526f0);border:1px solid #ffffffb8;border-radius:22px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;width:min(420px,100% - 32px);min-height:58px;padding:8px 10px;animation:.28s cubic-bezier(.2,.8,.2,1) both action-focus-narrator-in;display:grid;position:absolute;top:30%;left:50%;transform:translate(-50%);box-shadow:0 14px 34px #1f395a4d,0 0 24px #468bff29}.action-focus__avatar{background:#243852;border:2px solid #ffd34ab8;border-radius:10px;width:40px;height:40px;overflow:hidden}.action-focus__avatar img{object-fit:contain;object-position:bottom center;width:100%;height:100%}.action-focus__avatar span{place-items:center;height:100%;display:grid}.action-focus__copy{flex-direction:column;min-width:0;display:flex}.action-focus__copy small{color:#8eadd2;letter-spacing:.08em;font-size:.55rem;font-weight:800}.action-focus__copy strong{font-size:.78rem;line-height:1.2}.action-focus__narrator button{pointer-events:auto;color:#dcecff;font:inherit;cursor:pointer;background:#ffffff14;border:1px solid #ffffff40;border-radius:999px;padding:7px 10px;font-size:.58rem;font-weight:800}.action-focus__motion{filter:drop-shadow(0 12px 16px #10264461);position:absolute;top:45%;left:50%;transform:translate(-50%,-50%)}.action-focus--play .action-focus__motion,.action-focus--extra .action-focus__motion{animation:.72s cubic-bezier(.2,.72,.25,1) both action-focus-card-flight}.action-focus--major .action-focus__motion{top:38%}@keyframes action-focus-scrim-in{0%{opacity:0}to{opacity:1}}@keyframes action-focus-headline-in{0%{opacity:0;transform:translate(-50%)scale(.88)}to{opacity:1;transform:translate(-50%)scale(1)}}@keyframes action-focus-headline-in-table{0%{opacity:0;transform:translate(-50%)scale(.88)}to{opacity:1;transform:translate(-50%)scale(1)}}@keyframes action-focus-narrator-in{0%{opacity:0;translate:0 -12px;scale:.96}to{opacity:1;translate:0;scale:1}}@keyframes action-focus-card-flight{0%{opacity:0;translate:-190px -60px;rotate:-16deg;scale:.7}70%{opacity:1;translate:0;rotate:3deg;scale:1.15}to{opacity:0;translate:0 18px;rotate:0;scale:.9}}@media (width<=760px){.action-focus__narrator{border-radius:18px;grid-template-columns:34px minmax(0,1fr) auto;min-height:48px;top:29%}.action-focus__avatar{width:32px;height:32px}.action-focus__copy strong{font-size:.68rem}.action-focus__narrator button{padding:6px 8px;font-size:.5rem}.action-focus__motion{top:48%}}@media (prefers-reduced-motion:reduce){.action-focus__narrator{animation:.18s both action-focus-fade}.action-focus__motion,.action-focus:after,.action-focus__headline,.action-focus__scrim{animation:.18s both action-focus-fade!important}@keyframes action-focus-fade{0%{opacity:0}to{opacity:1}}}.action-focus--persistent .action-focus__narrator{opacity:.92;animation:none;box-shadow:0 8px 20px #1f395a38}.action-choreo{z-index:8;pointer-events:none;position:absolute;inset:0}.action-choreo__handstack{z-index:3;width:clamp(30px,2.8vw,40px);height:clamp(40px,3.8vw,54px);transition:left .48s cubic-bezier(.4,.1,.3,1),top .48s cubic-bezier(.4,.1,.3,1);position:absolute;transform:translate(-50%,-50%)}.action-choreo__handstack-leaf{background:linear-gradient(150deg,#2c3f5c 0%,#101f36 100%);border:1px solid #ffffff61;border-radius:5px;position:absolute;inset:0;box-shadow:0 5px 10px #00000059}.action-choreo__handstack-leaf:first-child{z-index:1;opacity:.82;transform:translate(-4px,2px)rotate(-9deg)}.action-choreo__handstack-leaf:nth-child(2){z-index:2;opacity:.92;transform:translate(3px,1px)rotate(7deg)}.action-choreo__handstack-leaf:nth-child(3){z-index:3;background:linear-gradient(150deg,#34496a 0%,#142438 100%);border-color:#ffffff8c;box-shadow:0 6px 12px #0006}.action-choreo__handstack-leaf:nth-child(3):after{content:"";background:#ffffff38;border-radius:2px;position:absolute;inset:22% 30%}.action-choreo__cardback{z-index:3;background:linear-gradient(150deg,#2c3f5c 0%,#101f36 100%);border:1px solid #ffffff80;border-radius:4px;width:clamp(20px,1.9vw,27px);height:clamp(28px,2.7vw,38px);transition:left .55s cubic-bezier(.4,.1,.3,1),top .55s cubic-bezier(.4,.1,.3,1);position:absolute;transform:translate(-50%,-50%);box-shadow:0 6px 12px #00000059}.action-choreo__cardback:after{content:"";background:#fff3;border-radius:2px;position:absolute;inset:26% 32%}.action-choreo__link{z-index:2;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.action-choreo__target-line{stroke-width:.55px;stroke-linecap:round;stroke-dasharray:1.6 2.4;vector-effect:non-scaling-stroke;opacity:.8;filter:drop-shadow(0 0 2px);animation:1.1s linear infinite action-choreo-dash}.action-choreo__swap-path{fill:none;stroke-width:.5px;stroke-linecap:round;stroke-dasharray:1.4 2.2;vector-effect:non-scaling-stroke;opacity:.6;animation:1.3s linear infinite action-choreo-dash}.action-choreo__marker{z-index:3;background:#0a101c80;border:2px solid #ef4444;border-radius:50%;width:15px;height:15px;animation:.3s both action-choreo-marker-in;position:absolute;transform:translate(-50%,-50%)}@keyframes action-choreo-dash{to{stroke-dashoffset:-8px}}@keyframes action-choreo-marker-in{0%{opacity:0;transform:translate(-50%,-50%)scale(.4)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}@media (prefers-reduced-motion:reduce){.action-choreo__handstack,.action-choreo__cardback{transition-duration:.18s}.action-choreo__target-line,.action-choreo__swap-path{animation:none}}.mobile-action-motion{z-index:9;pointer-events:none;position:absolute;inset:0}.mobile-action-motion__glyph{z-index:2;width:16px;height:22px;transition:left .42s cubic-bezier(.4,.1,.3,1),top .42s cubic-bezier(.4,.1,.3,1);position:absolute;transform:translate(-50%,-50%)}.mobile-action-motion__glyph--cardback{width:14px;height:19px}.mobile-action-motion__leaf{opacity:.85;background:linear-gradient(150deg,#2c3f5c 0%,#101f36 100%);border:1px solid #fff6;border-radius:3px;position:absolute;inset:0;transform:translate(-2px,1px)rotate(-6deg);box-shadow:0 3px 7px #00000052}.mobile-action-motion__leaf--front{z-index:1;opacity:1;background:linear-gradient(150deg,#34496a 0%,#142438 100%);border-color:#ffffff8c;transform:none}.mobile-action-motion__leaf--front:after{content:"";background:#ffffff38;border-radius:2px;position:absolute;inset:22% 28%}.mobile-action-motion__link{position:absolute;inset:0;overflow:visible}.mobile-action-motion__target-line,.mobile-action-motion__swap-line{stroke-width:2px;stroke-linecap:round;stroke-dasharray:5 6;opacity:.85;filter:drop-shadow(0 0 2px);animation:1s linear infinite mobile-action-motion-dash}.mobile-action-motion__marker{z-index:3;background:#0a101c80;border:2px solid #ef4444;border-radius:50%;width:13px;height:13px;animation:.25s both mobile-action-motion-marker-in;position:absolute;transform:translate(-50%,-50%)}@keyframes mobile-action-motion-dash{to{stroke-dashoffset:-11px}}@keyframes mobile-action-motion-marker-in{0%{opacity:0;transform:translate(-50%,-50%)scale(.4)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}@media (prefers-reduced-motion:reduce){.mobile-action-motion__glyph{transition-duration:.16s}.mobile-action-motion__target-line,.mobile-action-motion__swap-line{animation:none}}.game-table{flex-direction:column;width:100%;height:100%;display:flex;position:relative}.game-table__surface{flex:1;min-height:0;position:relative}.game-table--table_device .game-table__surface{width:100%;max-width:1120px;min-height:420px;max-height:760px;margin-inline:auto}.game-table__seat-edit-toggle{z-index:30;color:#d2dcebbf;width:30px;height:30px;font:inherit;box-shadow:none;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff24;border-radius:999px;align-items:center;gap:5px;padding:0;font-size:.68rem;font-weight:800;transition:background .18s,color .18s,width .18s,padding .18s;display:flex;position:absolute;top:14px;right:14px}.game-table__seat-edit-toggle:hover{color:#e6ebf5f2;background:#ffffff1f}.game-table__seat-edit-toggle span:first-child{flex-shrink:0;place-items:center;width:30px;height:30px;display:grid}.game-table__seat-edit-toggle--active{color:#fff;background:linear-gradient(#7047eb,#5a34c9);width:auto;padding:0 14px 0 4px;box-shadow:0 8px 22px #5a34c957}.game-table--remote_mobile_full .game-table__surface{min-height:200px;max-height:44vh}@media (prefers-reduced-motion:reduce){.game-table__seat-edit-toggle{transition:none}}.table-game__theme-switch{z-index:30;position:absolute;top:14px;left:14px}.hand-dock{z-index:10;border:1px solid var(--glass-border);min-height:0;color:var(--text-inverse);background:var(--glass-bg);-webkit-backdrop-filter:blur(18px)saturate(140%);backdrop-filter:blur(18px)saturate(140%);isolation:isolate;border-bottom:0;border-radius:28px 28px 0 0;grid-template-columns:minmax(0,1fr) 168px;align-items:center;padding:30px 26px 6px;display:grid;position:relative;box-shadow:0 -16px 44px #0000001f,inset 0 1px #ffffff1a}@media (width<=760px){.hand-dock{grid-template-columns:minmax(0,1fr) 72px;padding:26px 4px 2px}}.winner-overlay{z-index:50;text-align:center;color:var(--text-primary);background:var(--bg-app);flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px;display:flex;position:fixed;inset:0}.winner-overlay__trophy{filter:drop-shadow(0 4px 14px #ffc12a73);font-size:4rem;line-height:1}.winner-overlay__name{color:var(--text-primary);font-size:2.2rem;font-weight:900}.winner-overlay__caption{letter-spacing:.1em;color:color-mix(in srgb, var(--accent-gold-solid) 70%, var(--text-primary));margin-bottom:8px;font-size:1.05rem;font-weight:800}.winner-overlay__scores{border:1px solid var(--border-strong);background:var(--bg-surface-muted);box-shadow:inset 0 1px #ffffff12, var(--shadow-soft);border-radius:16px;min-width:240px;padding:16px 24px}.winner-overlay__scores .field-label{color:var(--text-secondary)}.winner-overlay__scores ul{color:var(--text-primary);flex-direction:column;gap:6px;margin:8px 0 0;padding:0;font-weight:650;list-style:none;display:flex}.winner-overlay__scores li{justify-content:space-between;gap:24px;display:flex}.winner-overlay__player{align-items:center;gap:8px;display:flex}.winner-overlay__avatar{object-fit:contain;object-position:bottom center;border-radius:6px;width:28px;height:32px}.winner-overlay__actions{flex-direction:column;gap:10px;width:min(280px,90vw);margin-top:12px;display:flex}.winner-overlay__actions .btn--primary{color:#312200;background:linear-gradient(#ffe56a,#ffc638);border:1px solid #ffe178;box-shadow:0 0 24px #ffc12a6b,inset 0 1px #ffffffb8}.winner-overlay__actions .btn--secondary{color:#eaf1fa;background:linear-gradient(#20344c,#122237);border:1px solid #97b1cf80;box-shadow:inset 0 1px #ffffff1f,0 8px 18px #0000002e}.winner-overlay .field-label{color:var(--text-secondary)}.player-game{height:100dvh;color:var(--text-primary);background:var(--bg-app);grid-template-rows:auto minmax(0,1fr) clamp(250px,34vh,360px);display:grid;overflow:hidden}.player-game--hand-collapsed{grid-template-rows:auto minmax(0,1fr) 54px}.player-game--turn-attention:before{content:"";z-index:100;pointer-events:none;border:4px solid #ef2d37e0;animation:1.15s ease-in-out infinite turn-attention-pulse;position:fixed;inset:0;box-shadow:inset 0 0 18px #ef2d37a6,inset 0 0 58px #ef2d3752}@keyframes turn-attention-pulse{50%{border-color:#ef2d3759;box-shadow:inset 0 0 8px #ef2d3740,inset 0 0 26px #ef2d371f}}.player-game__topbar{z-index:20;pointer-events:none;grid-template-columns:auto auto 1fr;align-items:start;gap:24px;padding:18px 26px;display:grid;position:absolute;top:0;left:0;right:0}.player-game__brand{text-align:left;align-items:flex-start;gap:18px;display:flex}.player-game__brand strong{letter-spacing:-.05em;font-size:1.25rem;line-height:.88}.player-game__brand span{width:145px;color:var(--text-secondary);font-size:.62rem;line-height:1.25}.player-game__room{border:1px solid var(--border-strong);text-align:left;background:var(--bg-surface-muted);border-radius:14px;flex-direction:column;justify-self:start;padding:8px 18px;display:flex;box-shadow:inset 0 1px #ffffff12}.player-game__room span{color:var(--text-secondary);font-size:.56rem}.player-game__room strong{letter-spacing:.08em;font-size:.9rem}.player-game__meta{color:var(--text-primary);background:var(--bg-surface-muted);border-radius:16px;justify-self:end;align-items:center;gap:8px;padding:10px 16px;display:flex}.player-game__top-actions{pointer-events:auto;justify-self:end;align-items:center;gap:10px;display:flex}.player-game__view-switch{border:1px solid var(--border-strong);background:var(--bg-surface-muted);border-radius:13px;padding:3px;display:flex}.player-game__view-switch button{color:var(--text-secondary);box-shadow:none;background:0 0;border:0;border-radius:10px;padding:7px 10px}.player-game__view-switch button[aria-pressed=true]{color:var(--text-primary);background:var(--bg-surface-elevated);box-shadow:var(--shadow-soft)}.player-game__top-actions button,.player-game__spectator-note button{border:1px solid var(--border-strong);color:var(--text-primary);font:inherit;background:var(--bg-surface-muted);cursor:pointer;border-radius:14px;padding:10px 16px;font-size:.68rem;font-weight:800}.player-game__board{grid-area:1/1/3;min-height:0}.player-game__board>.game-table{background:0 0;padding-top:116px}.player-game__dock{z-index:10;border:1px solid var(--glass-border);min-height:0;color:var(--text-inverse);background:var(--glass-bg);-webkit-backdrop-filter:blur(18px)saturate(140%);backdrop-filter:blur(18px)saturate(140%);isolation:isolate;border-bottom:0;border-radius:28px 28px 0 0;grid-area:3/1;grid-template-columns:minmax(0,1fr) 168px;align-items:center;padding:30px 26px 6px;transition:grid-template-rows .2s;display:grid;position:relative;box-shadow:0 -16px 44px #0000001f,inset 0 1px #ffffff1a}.player-game:has(.player-hand--rows-2){grid-template-rows:auto minmax(0,1fr) clamp(280px,38vh,400px)}.player-game:has(.player-hand--rows-3){grid-template-rows:auto minmax(0,1fr) clamp(310px,42vh,440px)}.player-game:has(.game-table--focus-severity-major):not(.player-game--hand-only){grid-template-rows:auto minmax(0,1fr) clamp(150px,20vh,210px)!important}.player-game:has(.game-table--focus-severity-major):not(.player-game--hand-only) .player-game__dock{padding-top:12px}.player-game--hand-only{grid-template-rows:minmax(0,1fr)!important}.player-game--hand-only .player-game__board{z-index:15;pointer-events:none;position:fixed;inset:0}.player-game--hand-only .game-table__surface,.player-game--hand-only .game-table__seat-edit-toggle{visibility:hidden}.player-game--hand-only .player-game__dock{border-radius:0;grid-row:1;padding-top:104px}.player-game--hand-only .player-game__hand-wrap{align-self:center}.player-game__hand-only-status{z-index:12;border:1px solid var(--glass-border);color:var(--text-primary);background:var(--bg-surface-elevated);box-shadow:var(--shadow-soft);white-space:nowrap;border-radius:999px;align-items:center;gap:10px;padding:8px 14px;display:flex;position:absolute;top:72px;left:50%;transform:translate(-50%)}.player-game__hand-only-status span{color:var(--text-secondary);font-size:.68rem}.player-game__hand-toggle{z-index:20;border:1px solid var(--border-strong);color:var(--text-primary);font:inherit;background:var(--bg-surface-elevated);box-shadow:var(--shadow-soft);cursor:pointer;border-radius:999px;padding:6px 16px;font-size:.64rem;font-weight:850;position:absolute;top:4px;left:50%;transform:translate(-50%)}.player-game--hand-collapsed .player-game__dock{min-height:54px;padding:0;display:block}.player-game__draw,.player-game__play,.player-game__retry button,.player-game__targets button{color:#eaf1fa;font:inherit;cursor:pointer;background:linear-gradient(#20344c,#122237);border:1px solid #97b1cf80;border-radius:999px;font-size:.72rem;font-weight:750;box-shadow:inset 0 1px #ffffff1f,0 8px 18px #0000002e}.player-game__sort{z-index:5;border:1px solid var(--border-strong);color:var(--text-primary);font:inherit;background:var(--bg-surface-elevated);box-shadow:var(--shadow-soft);cursor:pointer;border-radius:999px;align-items:center;gap:4px;padding:5px 10px;font-size:.58rem;font-weight:800;display:flex;position:absolute;top:-2px;left:4px}.player-game__sort span{font-size:.78rem}.player-game__sort--active{border-color:var(--accent-info);color:var(--accent-info);background:color-mix(in srgb, var(--accent-info) 16%, var(--bg-surface-elevated))}.player-game__hand-wrap{align-self:end;min-width:0;transition:opacity .18s,filter .18s;position:relative}.player-game__hand-wrap--receded{opacity:.38;filter:blur(1px);pointer-events:none}.player-game__actions{flex-direction:column;gap:12px;display:flex}.player-game__play,.player-game__draw{min-height:54px;padding:10px 18px}.player-game__play{color:#312200;background:linear-gradient(#ffe56a,#ffc638);border-color:#ffe178;box-shadow:0 0 24px #ffc12a6b,inset 0 1px #ffffffb8}.player-game__play--ready:not(:disabled){box-shadow:0 0 30px #ffc12a99,inset 0 1px #fffc}.player-game__actions span{margin-right:9px}.player-game button:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}.player-game__retry,.player-game__choice,.player-game__instruction{z-index:30;text-align:center;color:#fff;background:#0c192af5;border:1px solid #ffffff2e;border-radius:18px;padding:10px 16px;position:absolute;top:18px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #00000057}.player-game--spectating{grid-template-rows:minmax(0,1fr)}.player-game--spectating .player-game__board{grid-row:1}.player-game__spectator-note{z-index:40;left:50%;bottom:max(18px, env(safe-area-inset-bottom));color:var(--text-primary);background:var(--bg-surface-elevated);box-shadow:var(--shadow-elevated);border-radius:18px;align-items:center;gap:12px;padding:10px 14px;display:flex;position:absolute;transform:translate(-50%)}.player-game__spectator-note span{font-size:.7rem}.player-game__retry{align-items:center;gap:8px;display:flex;top:-58px}.player-game__retry p{font-size:.7rem}.player-game__retry button{padding:6px 10px}.player-game__choice strong{margin-bottom:8px;font-size:.72rem;display:block}.player-game__choice>div{justify-content:center;gap:10px;display:flex}.player-game__choice>div:not(.player-game__targets) button{cursor:pointer;border:3px solid #fff;border-radius:50%;width:36px;height:36px;box-shadow:0 3px 10px #00000059}.player-game__targets button{padding:7px 12px}.player-game__instruction{color:#ffe16a;font-size:.72rem;font-weight:800;top:12px}@media (width<=760px){.player-game{grid-template-rows:auto minmax(0,1fr) clamp(245px,36vh,320px)}.player-game--hand-collapsed{grid-template-rows:auto minmax(0,1fr) 48px}.player-game__topbar{grid-template-columns:1fr auto;align-items:start;padding:10px 12px}.player-game__brand,.player-game__meta{display:none}.player-game__room{background:var(--bg-surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:var(--shadow-soft);border-radius:999px;flex-direction:row;justify-self:start;align-items:baseline;gap:5px;padding:5px 12px}.player-game__room span{letter-spacing:.04em;text-transform:uppercase;font-size:.48rem}.player-game__room strong{letter-spacing:.05em;font-size:.68rem}.player-game__top-actions{gap:6px}.player-game__view-switch{position:fixed;top:8px;left:50%;transform:translate(-50%)}.player-game__view-switch button{padding:6px 8px;font-size:.5rem}.player-game__top-actions button{color:var(--text-secondary);background:var(--bg-surface-muted);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:var(--shadow-soft);border:none;border-radius:999px;padding:6px 12px;font-size:.54rem;font-weight:750}.player-game__dock{grid-template-columns:minmax(0,1fr) 72px;padding:26px 4px 2px}.player-game__sort{padding:4px 8px;font-size:.5rem}.player-game__actions{gap:8px}.player-game__play,.player-game__draw{min-height:46px;padding:5px 3px;font-size:.52rem}.player-game__actions span{margin:0;display:block}.player-game__board>.game-table{padding-top:88px}.player-game__choice{max-width:80%;top:8px}.player-game__targets{flex-wrap:wrap}.player-game__spectator-note{box-sizing:border-box;flex-wrap:wrap;justify-content:center;width:calc(100% - 24px)}.player-game--hand-only .player-game__dock{grid-template-columns:minmax(0,1fr) 68px;padding-top:96px}.player-game__hand-only-status{box-sizing:border-box;white-space:normal;text-align:center;flex-direction:column;gap:2px;max-width:calc(100% - 24px);top:54px}.player-game__hand-only-status strong{font-size:.82rem}.player-game__hand-only-status span{font-size:.6rem}}@media (height<=700px){.player-game{grid-template-rows:auto minmax(0,1fr) 230px}.player-game--hand-collapsed{grid-template-rows:auto minmax(0,1fr) 46px}.player-game__dock{padding-top:14px}.player-game__topbar{padding-top:7px}.player-game__brand span{display:none}}@media (height<=450px) and (orientation:portrait){.player-game{grid-template-rows:auto minmax(84px,1fr) 170px}.player-game__board>.game-table{padding-top:58px}.game-table--remote_mobile_full .game-table__surface{max-height:34vh}.player-ring__seat--compact .player-ring__avatar{width:26px;height:26px}.player-ring__seat--compact .player-ring__copy{display:none}}@media (orientation:landscape) and (height<=500px) and (width>=560px){:is(.player-game,.player-game:has(.player-hand--rows-2),.player-game:has(.player-hand--rows-3)){grid-template-rows:100%;grid-template-columns:minmax(0,1fr) minmax(220px,34vw)}.player-game--hand-collapsed{grid-template-columns:minmax(0,1fr) 60px}.player-game__board{grid-area:1/1}.player-game__board>.game-table{padding-top:46px}.player-game .game-table--remote_mobile_full .game-table__surface{min-height:260px;max-height:none}.player-game__brand,.player-game__meta{display:none}.player-ring__seat--compact .player-ring__name{max-width:76px;font-size:.56rem}.player-ring__seat--compact .player-ring__count{font-size:.46rem}.player-game__topbar{padding:8px 10px}.player-game__room{background:var(--bg-surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:var(--shadow-soft);border-radius:999px;flex-direction:row;align-items:baseline;gap:5px;padding:4px 10px}.player-game__room span{letter-spacing:.04em;text-transform:uppercase;font-size:.46rem}.player-game__room strong{letter-spacing:.05em;font-size:.64rem}.player-game__top-actions button{color:var(--text-secondary);background:var(--bg-surface-muted);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:var(--shadow-soft);border:none;border-radius:999px;padding:5px 10px;font-size:.5rem;font-weight:750}.player-game__dock{border-left:1px solid var(--glass-border);border-bottom:1px solid var(--glass-border);border-top:0;border-radius:0 0 0 26px;grid-area:1/2;grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);height:100%;padding:40px 10px 10px;overflow-y:auto}.player-game--hand-collapsed .player-game__dock{justify-content:center;align-items:flex-start;display:flex}.player-game__hand-wrap{grid-row:2;align-self:center}.player-game__actions{flex-direction:row;grid-row:3;gap:6px}.player-game__play,.player-game__draw{min-height:40px;padding:6px 4px;font-size:.5rem}.player-game__hand-toggle{margin:0 auto 6px;position:static;transform:none}.player-game__hand-only-status{max-width:calc(100% - 16px)}}@media (prefers-reduced-motion:reduce){.player-game__hand-wrap{transition:none}.player-game--turn-attention:before{animation:none}}*{box-sizing:border-box}body{background:var(--bg-app);color:var(--text-primary);margin:0;font-family:Segoe UI,system-ui,sans-serif}.page{min-height:100dvh;padding:24px;position:relative}.page--centered{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:24px;display:flex}.page__theme-switch{z-index:50;top:max(16px, env(safe-area-inset-top));right:max(16px, env(safe-area-inset-right));position:fixed}.brand-title{letter-spacing:.02em;color:var(--text-primary);font-size:2rem;font-weight:900}.brand-title--hero{color:var(--text-primary);font-size:2.4rem;line-height:1.05}.brand-title__censor{color:var(--game-red);padding:0 .02em}.brand-tagline{color:var(--text-secondary);margin-top:-8px;font-size:.95rem;font-style:italic}.panel{background:var(--glass-bg);border:1px solid var(--glass-border);width:min(360px,90vw);color:var(--text-primary);box-shadow:var(--shadow-elevated), inset 0 1px #ffffff12;-webkit-backdrop-filter:blur(16px)saturate(130%);backdrop-filter:blur(16px)saturate(130%);border-radius:20px;flex-direction:column;gap:12px;padding:24px;display:flex}.panel--wide{width:min(480px,92vw)}.field-label{color:var(--text-secondary);margin:0;font-size:.85rem}.text-input{background:var(--bg-surface-elevated);border:1px solid var(--border-strong);color:var(--text-primary);border-radius:8px;padding:10px 12px;font-size:1rem}.text-input::placeholder{color:var(--text-muted)}.text-input--code{letter-spacing:.2em;text-transform:uppercase;text-align:center;font-weight:700}.btn{cursor:pointer;border:none;border-radius:10px;padding:12px 16px;font-size:1rem;font-weight:700}.btn:disabled{opacity:.5;cursor:not-allowed}.btn:focus-visible{outline:2px solid var(--accent-info);outline-offset:2px}.btn--primary{background:var(--accent-gold);color:#312200;box-shadow:0 8px 20px #ffc12a59,inset 0 1px #ffffffb8}.btn--secondary{background:var(--bg-surface);color:var(--text-primary);border:1px solid var(--border-strong)}.error-text{color:var(--accent-danger);font-size:.9rem}.role-grid{flex-direction:column;gap:10px;display:flex}.role-card{background:var(--bg-surface);border:2px solid var(--border-strong);color:var(--text-primary);cursor:pointer;text-align:left;border-radius:10px;align-items:center;gap:12px;padding:12px 16px;display:flex}.role-card--selected{border-color:var(--accent-gold-solid);background:color-mix(in srgb, var(--accent-gold-solid) 18%, transparent)}.role-card__icon{font-size:1.5rem}.role-card__title{color:var(--text-primary);font-weight:700;display:block}.role-card__subtitle{color:var(--text-secondary);font-size:.8rem;display:block}.lobby-player-list{text-align:left;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.reconnect-toast{z-index:200;top:max(18px, env(safe-area-inset-top));color:#f8fafc;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#166534eb;border:1px solid #ffffffb8;border-radius:999px;padding:10px 18px;font-size:.82rem;font-weight:800;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 12px 30px #0f172a38}.reconnect-toast--table{background:#166534d1;padding:6px 12px;font-size:.62rem;font-weight:700;top:14px;left:14px;right:auto;transform:none;box-shadow:0 6px 16px #0f172a2e}.lobby-invite{border:1px solid color-mix(in srgb, var(--accent-gold-solid) 40%, transparent);background:color-mix(in srgb, var(--accent-gold-solid) 12%, transparent);border-radius:12px;gap:8px;padding:12px;display:grid}.lobby-invite .field-label{margin:0}.lobby-invite__url{overflow-wrap:anywhere;color:var(--text-primary)}.lobby-invite__button{width:100%}.lobby-invite__status{color:color-mix(in srgb, var(--accent-gold-solid) 55%, var(--text-primary));margin:0;font-size:.82rem}.lobby-player-list li{background:var(--bg-surface);border:1px solid var(--glass-border);border-radius:8px;justify-content:space-between;padding:10px 14px;display:flex}.lobby-player-list__identity{color:var(--text-primary);align-items:center;gap:8px;display:flex}.lobby-player-list__badge{letter-spacing:.04em;border-radius:999px;padding:2px 8px;font-size:.62rem;font-weight:800}.lobby-player-list__badge--host{color:#312200;background:var(--accent-gold)}.lobby-table-device{border:1px solid var(--border-strong);background:var(--bg-surface-muted);text-align:left;border-radius:10px;align-items:center;gap:10px;padding:10px 14px;display:flex}.lobby-table-device--connected{border-color:color-mix(in srgb, var(--accent-gold-solid) 50%, transparent);background:color-mix(in srgb, var(--accent-gold-solid) 16%, transparent)}.lobby-table-device__icon{font-size:1.3rem}.lobby-table-device__copy{min-width:0;color:var(--text-primary);flex-direction:column;flex:1;gap:1px;display:flex}.lobby-table-device__copy span{color:var(--text-secondary);font-size:.76rem}.lobby-table-device__self{color:var(--text-secondary);background:var(--bg-surface);white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:.62rem;font-weight:800}.lobby-player-list__avatar{object-fit:contain;object-position:bottom center;border-radius:6px;width:28px;height:32px}.lobby-player-list__status{color:var(--text-secondary);font-size:.8rem}.lobby-player-list__remove{background:var(--bg-surface-elevated);border:1px solid color-mix(in srgb, var(--accent-danger) 40%, transparent);color:var(--accent-danger);cursor:pointer;border-radius:6px;padding:2px 10px;font-size:.75rem}
