.ui-button>[data-ui-button-content]{align-items:center;justify-content:inherit;gap:inherit;transform-origin:50%;width:100%;min-width:0;line-height:1;transition:transform 75ms ease-out;display:inline-flex;transform:scale(1)}.ui-button[data-pressed=true]:not(:disabled):not([aria-disabled=true])>[data-ui-button-content],.ui-button:active:not(:disabled):not([aria-disabled=true])>[data-ui-button-content]{transform:scale(var(--ui-button-press-scale,.96))}.ui-button[data-pressed=true]:not(:disabled):not([aria-disabled=true]){box-shadow:none}.ui-button>[data-ui-button-content]>*{align-self:center}.ui-button>[data-ui-button-content]>[data-ui-button-label]{line-height:1;display:block}.ui-button>[data-ui-button-content]>svg{flex-shrink:0;align-self:center;display:block}.ui-select-trigger{border:1px solid var(--ui-border);background:var(--ui-bg-2);min-height:40px;color:var(--ui-text-primary);text-align:left;border-radius:8px;align-items:center;gap:10px;padding:9px 12px;font-size:12px;font-weight:500;display:inline-flex}.ui-select-trigger:hover:not(:disabled){border-color:var(--ui-border-strong)}.ui-select-trigger[aria-expanded=true]{border-color:var(--ui-brand);box-shadow:0 0 0 2px var(--ui-brand-soft)}.ui-select-trigger>[data-ui-button-content]{justify-content:space-between}.ui-select-value{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.ui-select-chevron{color:var(--ui-text-muted);flex-shrink:0;transition:transform .15s ease-out}.ui-select-chevron.open{transform:rotate(180deg)}.ui-select-menu{z-index:1000;overscroll-behavior:contain;overflow-anchor:none;scrollbar-width:thin;scrollbar-color:var(--ui-bg-4) transparent;border:1px solid var(--ui-border-strong);background:var(--ui-bg-2);border-radius:12px;outline:none;padding:8px;animation:.14s cubic-bezier(.16,1,.3,1) sunatia-menu-in;overflow:auto;box-shadow:0 20px 45px -15px #000a}.ui-select-option{width:100%;min-height:40px;color:var(--ui-text-secondary);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;margin:2px 0;padding:10px 12px;font-size:12px;display:flex}.ui-select-option>[data-ui-button-content]{justify-content:space-between;align-items:center;gap:12px;width:100%;transition:transform 75ms ease-out;display:flex}.ui-select-option:active:not(:disabled)>[data-ui-button-content]{transform:scale(.97)}.ui-select-option.highlighted:not(:disabled):not([aria-selected=true]),.ui-select-option:hover:not(:disabled):not([aria-selected=true]){background:var(--ui-bg-3);color:var(--ui-text-primary)}.ui-select-option[aria-selected=true],.ui-select-option[aria-selected=true]:hover{background:var(--ui-brand);color:#fff}.ui-select-option:disabled{background:var(--ui-bg-3);color:var(--ui-text-muted);cursor:not-allowed;opacity:.5}.ui-select-option svg{flex-shrink:0}.ui-switch{box-sizing:border-box;background:var(--ui-bg-4);width:36px;min-width:36px;height:20px;min-height:20px;box-shadow:none;cursor:pointer;touch-action:pan-y;border:2px solid #0000;border-radius:999px;flex-shrink:0;justify-content:flex-start;align-items:center;padding:0;transition:background-color .15s;display:inline-flex;position:relative}.ui-switch:before{content:"";border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .15s;position:absolute;inset:-2px;box-shadow:0 0 0 4px #b7c0d820}.ui-switch:hover:not(:disabled):before{opacity:1}.ui-switch:focus-visible{outline:2px solid color-mix(in srgb, var(--ui-brand) 50%, transparent);outline-offset:2px}.ui-switch:disabled{opacity:.5;cursor:not-allowed}.ui-switch[aria-checked=true]{background:var(--ui-brand)}.ui-switch-thumb{pointer-events:none;background:#fff;border-radius:50%;flex-shrink:0;width:16px;height:16px;transition:transform .15s;display:block;box-shadow:0 1px 2px #0003}@keyframes sunatia-menu-in{0%{opacity:0;transform:translateY(-4px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.ui-button>[data-ui-button-content],.ui-select-chevron,.ui-switch,.ui-switch:before,.ui-switch-thumb{transition:none!important}.ui-select-menu{animation:none!important}}.ui-select-menu::-webkit-scrollbar{width:6px;height:6px}.ui-select-menu::-webkit-scrollbar-track{background:0 0}.ui-select-menu::-webkit-scrollbar-thumb{background:var(--ui-bg-4);border-radius:999px}.ui-select-menu::-webkit-scrollbar-thumb:hover{background:var(--ui-border-strong)}.illustrated-board{isolation:isolate;filter:drop-shadow(0 16px 32px #0005);border-radius:22px;width:100%;position:relative}.illustrated-board .board{aspect-ratio:1;border-radius:22px;width:100%;position:relative}.illustrated-board .board-map{width:100%;height:100%;display:block;overflow:visible}.illustrated-board .pawn{width:calc(5.1% * var(--board-grid-scale,1));aspect-ratio:64/76;opacity:1;cursor:default;transform-origin:50%;touch-action:manipulation;-webkit-tap-highlight-color:transparent;filter:drop-shadow(0 2px 2px #050c1740);background:0 0;border:0;border-radius:50%;padding:0;transition:filter .16s;position:absolute}.illustrated-board .pawn:disabled{opacity:1;pointer-events:none}.illustrated-board .pawn .pawn-art{width:100%;height:100%;display:block;overflow:visible}.illustrated-board .pawn.playable{cursor:pointer;filter:drop-shadow(0 0 3px #f1f7ff70)}.illustrated-board .pawn.playable:before{content:"";background:color-mix(in srgb, var(--pawn), transparent 90%);height:34%;box-shadow:0 0 10px color-mix(in srgb, var(--pawn), transparent 50%);z-index:-1;pointer-events:none;border:2px solid #f2f7ffbb;border-radius:50%;animation:1.5s ease-in-out infinite board-pawn-halo;position:absolute;bottom:3%;left:5%;right:5%}.illustrated-board .pawn.playable:hover{filter:brightness(1.12) drop-shadow(0 0 7px color-mix(in srgb, var(--pawn), white 20%))}.illustrated-board .pawn:focus-visible{outline-offset:2px;outline:2px solid #fff}.illustrated-board .pawn.is-moving{filter:drop-shadow(0 8px 3px #03081660);pointer-events:none}.illustrated-board .pawn.is-moving:before{display:none}.illustrated-board .board-burst{z-index:50;pointer-events:none;width:0;height:0;position:absolute}.illustrated-board .board-burst i{color:#f1d899;text-shadow:0 0 7px #f9d37c66;font-size:15px;font-style:normal;animation:.55s cubic-bezier(.15,.7,.35,1) both board-arrival-burst;position:absolute}@keyframes board-pawn-halo{50%{opacity:.4;scale:1.12}}@keyframes board-arrival-burst{0%{opacity:0;transform:translate(-50%, -50%) rotate(var(--burst-angle)) translateY(0) scale(.2)}18%{opacity:1}to{opacity:0;transform:translate(-50%, -50%) rotate(var(--burst-angle)) translateY(calc(-1 * var(--burst-distance))) scale(.45)}}@media (width<=680px){.illustrated-board,.illustrated-board .board{border-radius:15px}.illustrated-board .pawn{width:calc(5.1% * var(--board-grid-scale,1))}.illustrated-board .pawn.playable:before{border-width:1.5px}.illustrated-board .board-burst i{font-size:10px}}@media (prefers-reduced-motion:reduce){.illustrated-board *,.illustrated-board :before{transition:none!important;animation:none!important}}.illustrated-board .board-roll-reveal{z-index:45;pointer-events:none;background:radial-gradient(at 50% 35%,#26396a,#0c111df5 75%);border:1px solid #6f87dfaa;border-radius:24px;place-items:center;width:98px;height:98px;animation:2.5s cubic-bezier(.16,.8,.28,1) both board-roll-reveal;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 12px 30px #02071180,0 0 30px #4058b840,inset 0 1px #c5d4ff22}.illustrated-board .board-roll-reveal .dice-3d{--depth:30px;--cube:60px;width:60px;height:60px}.illustrated-board .board-roll-reveal .dice-face{border-radius:12px;gap:5px;padding:12px}@keyframes board-roll-reveal{0%{opacity:1;transform:translate(-50%,-50%)scale(.94)rotate(-5deg)}12%{opacity:1;transform:translate(-50%,-50%)scale(1.03)rotate(1deg)}24%,90%{opacity:1;transform:translate(-50%,-50%)scale(1)rotate(0)}to{opacity:0;transform:translate(-50%,-56%)scale(.95)}}@media (width<=680px){.illustrated-board .board-roll-reveal{border-radius:22px;width:86px;height:86px}}@media (prefers-reduced-motion:reduce){.illustrated-board .board-roll-reveal{display:none}}:root,[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ui-bg-0:#05070d;--ui-bg-1:#070a12;--ui-bg-2:#0c111d;--ui-bg-3:#141b2c;--ui-bg-4:#1d2639;--ui-border:#1c2742;--ui-border-strong:#28365a;--ui-surface-raised:#1d2639;--ui-surface-raised-hover:#273349;--ui-on-surface-raised:#f2f5fc;--ui-surface-inset:#0c111d;--ui-text-primary:#f2f5fc;--ui-text-secondary:#b7c0d8;--ui-text-muted:#7e88a3;--ui-brand:#4058b8;--ui-brand-hover:#4f68cf;--ui-brand-soft:#4058b82e;--ui-success:#34d573;--ui-warning:#f5c84b;--ui-danger:#f25a4f;--ui-info:#58a8ff;--ui-brand-accent:#93a8f2;--ui-success-accent:#34d573;--ui-warning-accent:#f5c84b;--ui-danger-accent:#f25a4f;--ui-info-accent:#58a8ff;--ui-grid-line:#93a8f209;--ui-card-shadow:0 14px 34px -30px #000000e6}:root{color:var(--ui-text-primary);background:var(--ui-bg-1);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;-webkit-font-smoothing:antialiased;font-family:Geist,Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--ui-bg-1);min-width:320px;min-height:100dvh;margin:0}button,input,select{font:inherit}button{touch-action:manipulation}button:disabled{cursor:not-allowed}button:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--ui-brand-accent);outline-offset:4px}.app{max-width:1500px;margin:auto;padding:0 26px 16px}.topbar{border-bottom:1px solid var(--ui-border);align-items:center;gap:12px;height:62px;display:flex}.brand{letter-spacing:-.5px;align-items:center;gap:10px;font-size:20px;line-height:1;display:flex}.brand strong,.brand-game{text-box-trim:trim-both;text-box-edge:cap alphabetic;line-height:1}.brand strong{font-weight:650}.brand-mark{color:#0000;background:linear-gradient(145deg,#21e4dc,#567df0 66%,#ac6bfa);-webkit-background-clip:text;background-clip:text;font-size:37px;font-style:normal;font-weight:1000;line-height:1}.brand-divider{background:var(--ui-border);width:1px;height:23px;margin:0 6px}.brand-game{color:var(--ui-text-secondary);font-size:13px;font-weight:500}.connection{color:var(--ui-text-muted);align-items:center;gap:7px;margin-left:auto;margin-right:12px;font-size:10px;display:flex}.connection i{background:var(--ui-text-muted);border-radius:50%;width:6px;height:6px}.connection.on i{background:var(--ui-success)}.ui-button{min-height:40px;color:var(--ui-text-primary);cursor:pointer;-webkit-user-select:none;user-select:none;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-size:12px;font-weight:500;line-height:1;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s;display:inline-flex}.ui-button:disabled{opacity:.5;cursor:not-allowed}.ui-primary{background:var(--ui-brand);color:#fff;box-shadow:0 2px 6px #4058b830}.ui-primary:not(:disabled):hover{background:var(--ui-brand-hover)}.ui-secondary{background:var(--ui-bg-2);border-color:var(--ui-border)}.ui-secondary:not(:disabled):hover{border-color:var(--ui-border-strong);background:var(--ui-bg-3)}.ui-ghost{color:var(--ui-text-secondary);background:0 0}.ui-ghost:not(:disabled):hover{background:var(--ui-bg-3);color:var(--ui-text-primary)}.ui-card{background:var(--ui-bg-2);border:1px solid var(--ui-border);color:var(--ui-text-primary);border-radius:16px;transition:background-color .15s,border-color .15s,box-shadow .15s}.icon-button{width:38px;min-width:38px;height:38px;min-height:38px;padding:9px}.coin-wallet{color:var(--ui-warning);font-variant-numeric:tabular-nums;font-weight:600}.coin-wallet small{color:var(--ui-text-secondary);margin-left:5px;font-size:14px}.language-select{min-width:70px;min-height:38px!important}.language-select.ui-select-trigger{font-size:11px}.match-heading{justify-content:space-between;align-items:center;max-width:1200px;height:60px;margin:auto;display:flex}.eyebrow{text-transform:uppercase;letter-spacing:2px;color:var(--ui-text-muted);font-size:8px;font-weight:600}h1{letter-spacing:-1px;align-items:center;margin:5px 0 0;font-size:27px;font-weight:650;line-height:1;display:flex}.title-dot{color:var(--ui-brand-accent)}h1 small{letter-spacing:0;color:var(--ui-text-muted);margin-left:17px;font-size:11px;font-weight:400}.match-tools{align-items:center;gap:9px;display:flex}.timer{font-variant-numeric:tabular-nums;letter-spacing:1px;color:var(--ui-text-secondary);border:1px solid var(--ui-border);background:var(--ui-bg-2);border-radius:8px;padding:8px 11px;font-size:12px}.timer.urgent{color:var(--ui-danger);border-color:var(--ui-danger)}.arena{--board-size:min(780px, calc(100dvh - 240px));grid-template-columns:190px minmax(0, var(--board-size)) 190px;grid-template-rows:1fr 1fr auto;justify-content:center;align-items:start;gap:14px 28px;width:100%;max-width:1240px;margin:auto;display:grid}.table{grid-area:1/2/3;align-self:center;width:100%;min-width:0;position:relative}.board-shell{width:100%;max-width:var(--board-size);margin:auto}.seat{align-self:start;min-width:0;padding:16px 14px 10px;position:relative;overflow:visible;box-shadow:0 8px 25px #0002}.seat[data-position=top-left]{grid-area:1/1}.seat[data-position=bottom-left]{grid-area:2/1;align-self:end}.seat[data-position=top-right]{grid-area:1/3}.seat[data-position=bottom-right]{grid-area:2/3;align-self:end}.seat.active{border-color:var(--player-color);background:linear-gradient(145deg, color-mix(in srgb, var(--player-color), var(--ui-bg-2) 94%), var(--ui-bg-2));box-shadow:0 0 0 3px color-mix(in srgb, var(--player-color), transparent 94%), 0 10px 30px #0002}.seat.active:before{content:"";background:var(--player-color);border-radius:0 0 4px 4px;width:28px;height:3px;position:absolute;top:-1px;left:calc(50% - 14px)}.player-top{align-items:center;gap:9px;min-height:42px;display:flex}.portrait{--portrait-cutout:radial-gradient(circle at calc(100% - 1.5px) calc(100% - 2.5px), transparent 7px, #000 7.5px);width:40px;height:40px;color:var(--player-color);background:0 0;border:0;border-radius:13px;flex-shrink:0;place-items:center;font-size:18px;font-weight:650;display:grid;position:relative;container-type:size}.portrait:before{content:"";border-radius:inherit;background:var(--ui-bg-3);border:1px solid color-mix(in srgb, var(--player-color), transparent 25%);-webkit-mask-image:var(--portrait-cutout);mask-image:var(--portrait-cutout);position:absolute;inset:0}.portrait>span{z-index:1;position:relative}.portrait img{object-fit:cover;border-radius:inherit;width:100%;height:100%;-webkit-mask-image:var(--portrait-cutout);mask-image:var(--portrait-cutout);z-index:1;position:absolute;inset:0}.presence{border:2px solid var(--ui-bg-2);z-index:4;background:#586178;border-radius:50%;width:9px;height:9px;position:absolute;bottom:-2px;right:-3px}.presence.present{background:var(--ui-success)}.player-info{flex:1;align-self:stretch;align-items:center;min-width:0;display:flex}.player-info strong{text-box-trim:trim-both;text-box-edge:cap alphabetic;white-space:nowrap;text-overflow:ellipsis;width:100%;min-width:0;font-size:12px;font-weight:600;line-height:1;display:block;overflow:hidden}.player-info small{color:var(--ui-text-muted);white-space:nowrap;text-overflow:ellipsis;margin-top:5px;font-size:9px;display:block;overflow:hidden}.score{white-space:nowrap;font-variant-numeric:tabular-nums;flex-shrink:0;font-size:15px;font-weight:600}.score small{color:var(--ui-text-muted);font-size:9px;font-weight:400}.reaction-stage{isolation:isolate;justify-content:center;align-items:center;height:49px;min-height:49px;margin-top:5px;display:flex;position:relative;overflow:visible}.reaction-display{z-index:2;justify-content:center;align-items:center;width:100%;display:flex}.reaction-stage.has-controls .reaction-display{padding-inline:30px}.card-reactions{z-index:10;flex-shrink:0;position:relative}.seat-caption{letter-spacing:.2px;color:var(--ui-text-muted);font-size:9px}.seat.active .seat-caption{color:var(--player-color)}.emote-bubble{background:var(--ui-bg-3);border:1px solid var(--ui-border-strong);pointer-events:none;border-radius:14px;place-items:center;min-width:44px;height:42px;font-size:28px;line-height:1;animation:5s both reaction-life;display:grid}.portrait .avatar-reaction{z-index:3;border-radius:inherit;width:100%;min-width:0;height:100%;font-size:max(16px,75cqw);position:absolute;inset:0}.player-dice{border-top:1px solid var(--ui-border);justify-content:center;align-items:center;gap:5px;height:50px;min-height:50px;padding:3px 0;display:flex}.player-dice>small{color:var(--ui-text-muted);padding-left:4px;font-size:9px}.seat-progress{justify-content:center;gap:5px;margin-top:9px;display:flex}.seat-progress i{background:var(--ui-bg-4);border-radius:3px;width:17px;height:3px}.seat-progress i.arrived{background:var(--player-color)}.vacant{opacity:.45;box-shadow:none;background:0 0;border-style:dashed}.die-button.ui-button{background:0 0;border:1px solid #0000;border-radius:11px;width:43px;min-width:0;height:43px;min-height:43px;padding:4px}.die-button.selected{border-color:var(--ui-brand-accent);background:var(--ui-brand-soft)}.die-button.ui-button:not(:disabled):hover{border-color:var(--ui-brand-accent);background:var(--ui-bg-3)}.die-button:disabled{opacity:.7}.die-button:not(.selected):disabled{opacity:.5}.dice{--depth:17px;perspective:260px;vertical-align:middle;flex-shrink:0;width:34px;height:34px;padding:0;display:inline-block;position:relative}.dice-view{transform-style:preserve-3d;display:block;position:absolute;inset:0;transform:none}.dice-cube{transform-style:preserve-3d;transform:rotateX(var(--rx)) rotateY(var(--ry));transition:transform var(--roll-spin-duration,1.1s) cubic-bezier(.2, .8, .2, 1);display:block;position:absolute;inset:0}.dice-face{backface-visibility:hidden;background:linear-gradient(145deg,#fff,#d7e0ef);border:1px solid #90a1bf55;border-radius:7px;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);gap:3px;padding:7px;display:grid;position:absolute;inset:0;box-shadow:inset 0 -2px #667c9c33}.dice-face i{visibility:hidden;background:#1c2c46;border-radius:50%}.dice-face i.visible{visibility:visible}.face-1{transform:translateZ(var(--depth))}.face-2{transform:rotateY(90deg) translateZ(var(--depth))}.face-3{transform:rotateX(90deg) translateZ(var(--depth))}.face-4{transform:rotateX(-90deg) translateZ(var(--depth))}.face-5{transform:rotateY(-90deg) translateZ(var(--depth))}.face-6{transform:rotateY(180deg) translateZ(var(--depth))}.dice>b{color:var(--ui-text-muted);background:var(--ui-bg-3);border:1px solid var(--ui-border-strong);border-radius:8px;place-items:center;font-size:19px;font-weight:600;display:grid;position:absolute;inset:0}.is-rolling .dice-cube{animation:cube-tumble var(--roll-spin-duration,1.1s) cubic-bezier(.2, .7, .25, 1)}.control-panel{grid-area:3/2;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 20px;min-width:0;padding:14px 17px;display:grid;position:relative}.control-panel.my-turn{border-color:var(--ui-border-strong)}.control-eyebrow{letter-spacing:1.8px;text-transform:uppercase;color:var(--ui-brand-accent);font-size:8px;font-weight:600;display:block}.control-panel h2{letter-spacing:-.2px;margin:5px 0;font-size:14px;font-weight:600;line-height:1.3}.control-panel p{color:var(--ui-text-muted);max-width:310px;margin:0;font-size:9px;line-height:1.4}.dock-actions{min-width:0}.dock-actions>.ui-button{min-height:44px}.roll-button{min-width:170px}.roll-button>.dice{margin-right:5px}.pawn-controls{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.pawn-choice.ui-button{background:var(--ui-bg-3);border:1px solid var(--ui-border);width:42px;height:47px;min-height:47px;padding:1px 5px}.pawn-choice:not(:disabled){border-color:var(--ui-brand);background:var(--ui-brand-soft)}.pawn-choice .pawn-art{width:32px;height:41px;display:block}.turn-progress{background:var(--ui-bg-4);border-radius:3px;grid-column:1/-1;height:2px;margin-top:5px;overflow:hidden}.turn-progress span{background:var(--ui-brand-accent);height:100%;transition:width .25s linear;display:block}.waiting-pill{color:var(--ui-success);font-size:11px}.spectator-status{color:var(--ui-text-muted);align-items:center;gap:12px;font-size:11px;display:flex}.header-actions{align-items:center;gap:6px;min-width:0;display:flex}.header-actions>.ui-button{white-space:nowrap;min-height:34px;padding:8px 10px;font-size:10px}.header-actions .leave{color:var(--ui-text-muted);background:0 0;border-color:#0000}.reaction-toggle.ui-button{border-radius:8px;width:28px;height:28px;min-height:28px;padding:4px}.emote-picker{z-index:20;background:var(--ui-bg-2);border:1px solid var(--ui-border-strong);border-radius:12px;grid-template-columns:repeat(3,32px);gap:4px;padding:6px;animation:.15s ease-out menu-show;display:grid;position:absolute;bottom:calc(100% + 8px);right:0;box-shadow:0 8px 24px #0006}.emote-picker .ui-button{background:var(--ui-bg-2);border:1px solid var(--ui-border);width:32px;height:32px;min-height:32px;padding:4px;font-size:22px}.loading-panel{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:70vh;display:flex}.loading-symbol{border:1px solid var(--ui-border-strong);width:76px;height:76px;color:var(--ui-brand-accent);background:var(--ui-bg-2);border-radius:24px;place-items:center;display:grid}.loading-panel h2{font-size:20px;font-weight:600}.loading-panel p{color:var(--ui-text-muted);font-size:12px}.game-dialog{background:var(--ui-bg-2);color:var(--ui-text-primary);border:1px solid var(--ui-border-strong);border-radius:16px;width:min(820px,94vw);max-height:90dvh;padding:26px;overflow:auto;box-shadow:0 30px 100px #0009}.game-dialog::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#05070dd9}.dialog-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;display:flex}.dialog-header h2{letter-spacing:-.7px;margin:6px 0 0;font-size:24px;font-weight:600}.shop-balance{border:1px solid var(--ui-border);background:var(--ui-bg-3);border-radius:12px;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.shop-balance>span,.shop-balance>small{align-items:center;gap:8px;display:flex}.shop-balance>span{color:var(--ui-warning);font-size:14px;font-weight:600}.shop-balance small{color:var(--ui-text-muted);font-size:11px}.shop-hint{color:var(--ui-text-secondary);margin:16px 0;font-size:12px;line-height:1.7}.skin-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.skin-card{text-align:center;border-radius:12px;min-width:0;padding:12px;overflow:hidden}.skin-card.equipped{border-color:var(--ui-brand);background:var(--ui-brand-soft)}.skin-preview{background:radial-gradient(#93a8f215,#0000 65%);border-radius:10px;place-items:center;height:140px;display:grid;position:relative}.skin-preview:after{content:"";filter:blur(6px);background:#0004;border-radius:50%;width:70%;height:12px;position:absolute;bottom:8px}.skin-preview .pawn-art{z-index:1;width:90px;height:105px;position:relative}.skin-preview.royal{background:radial-gradient(#f5c84b17,#0000 65%)}.skin-preview.cosmic{background:radial-gradient(#9572ee1b,#0000 65%)}.skin-card h3{margin:7px 0;font-size:14px;font-weight:600}.skin-card>span{color:var(--ui-text-muted);margin:8px 0 15px;font-size:10px;display:block}.skin-card>.ui-button{width:100%;padding:9px 6px;font-size:10px}.preview-note{color:var(--ui-text-muted);margin-top:18px;font-size:10px;line-height:1.6;display:block}.setting-row{border-bottom:1px solid var(--ui-border);color:var(--ui-text-secondary);justify-content:space-between;align-items:center;gap:20px;padding:15px 0;font-size:13px;display:flex}.setting-row .ui-select-trigger{min-width:145px;min-height:44px}.rules{margin-top:24px}.rules h3{font-size:14px;font-weight:600}.rules p{color:var(--ui-text-muted);font-size:12px;line-height:1.8}.toast{z-index:2000;background:var(--ui-bg-3);max-width:90vw;color:var(--ui-text-primary);border:1px solid var(--ui-border-strong);border-radius:10px;padding:13px 18px;font-size:12px;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #0006}.offline-banner{z-index:2000;background:var(--ui-bg-3);border:1px solid var(--ui-warning);border-radius:10px;padding:12px;font-size:12px;position:fixed;bottom:20px;left:20px}.offline-banner .ui-button{margin-left:10px}.focused .match-heading{height:38px}.focused .match-heading h1{margin:0;font-size:18px}.focused .match-heading .eyebrow,.focused .match-heading h1 small{display:none}.focused .arena{--board-size:min(860px, calc(100dvh - 198px));column-gap:20px}.focused .topbar{height:56px}.focused .app{padding-bottom:8px}@keyframes reaction-life{0%{opacity:0;transform:translateY(5px)scale(.7)}10%,85%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(-8px)scale(.9)}}@keyframes menu-show{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes cube-tumble{0%{transform:rotateX(calc(var(--rx) - 145deg)) rotateY(calc(var(--ry) - 225deg))}35%{transform:translateY(-10px) rotateX(calc(var(--rx) - 90deg)) rotateY(calc(var(--ry) - 120deg))}75%{transform:translateY(1px) rotateX(calc(var(--rx) + 8deg)) rotateY(calc(var(--ry) + 8deg))}to{transform:rotateX(var(--rx)) rotateY(var(--ry))}}@media (width>=1500px){.arena{grid-template-columns:205px minmax(0, var(--board-size)) 205px;column-gap:40px}.seat{padding:19px 17px 12px}.portrait{width:44px;height:44px}}@media (width<=1050px) and (width>=701px){.app{padding:0 16px 14px}.arena{grid-template-columns:148px minmax(0, var(--board-size)) 148px;column-gap:15px}.seat{padding:12px 9px 9px}.portrait{border-radius:11px;width:33px;height:33px}.portrait img{border-radius:10px}.player-top{gap:6px}.player-info strong{font-size:10px}.player-info small{font-size:8px}.score{font-size:12px}.dice{--depth:15px;width:30px;height:30px}.dice-face{gap:2px;padding:6px}.die-button.ui-button{width:37px;height:37px;min-height:37px;padding:3px}.control-panel{gap:10px;padding:12px}.control-panel p{font-size:8px}.roll-button{min-width:140px}.pawn-choice.ui-button{width:32px;height:41px;min-height:41px;padding:2px}.pawn-choice .pawn-art{width:27px;height:35px}.focused .arena{column-gap:12px}}@media (width<=700px){.app{padding:0 10px 12px}.topbar{gap:7px;height:56px}.brand{gap:6px;font-size:17px}.brand-mark{font-size:32px}.brand-game,.brand-divider{display:none}.connection{gap:0;margin-left:auto;margin-right:3px;font-size:0;display:none}.connection i{width:5px;height:5px}.icon-button{width:32px;min-width:32px;height:34px;min-height:34px;padding:7px}.topbar>.icon-button[aria-label=Son],.topbar>.icon-button[aria-label=Sound]{display:none}.coin-wallet{gap:5px;min-height:34px;padding:7px;font-size:11px}.coin-wallet small{margin:0}.coin-wallet svg{width:15px}.language-select{gap:3px;min-width:57px;min-height:34px!important;padding:7px!important;font-size:10px!important}.ui-select-chevron{width:12px}.match-heading{height:56px}.match-heading h1{font-size:24px}.match-heading h1 small{max-width:145px;margin-left:10px;font-size:9px;line-height:1.3}.match-heading .eyebrow{font-size:7px}.timer{padding:7px;font-size:10px}.match-tools{gap:5px}.arena,.focused .arena{--board-size:100%;grid-template-rows:auto auto auto auto;grid-template-columns:1fr 1fr;gap:9px;max-width:520px}.seat{box-shadow:none;border-radius:12px;padding:9px 10px 7px}.seat[data-position=top-left]{grid-area:1/1}.seat[data-position=top-right]{grid-area:1/2}.seat[data-position=bottom-left]{grid-area:3/1;align-self:stretch}.seat[data-position=bottom-right]{grid-area:3/2;align-self:stretch}.table{grid-area:2/1/auto/-1;width:100%}.board-shell{max-width:none}.portrait{border-radius:10px;width:31px;height:31px;font-size:14px}.portrait img{border-radius:9px}.player-top{gap:7px;min-height:31px}.player-info strong{font-size:10px}.player-info small{margin-top:3px;font-size:7px}.score{font-size:13px}.score small{font-size:8px}.reaction-stage{height:32px;min-height:32px;margin-top:0}.emote-bubble{border-radius:10px;min-width:33px;height:30px;font-size:22px}.seat-caption{font-size:8px}.player-dice{gap:5px;height:37px;min-height:37px;padding:0}.player-dice>small{font-size:8px}.dice{--depth:12.5px;width:25px;height:25px}.dice-face{border-radius:6px;gap:2px;padding:5px}.dice>b{border-radius:6px;font-size:16px}.die-button.ui-button{border-radius:8px;width:32px;height:32px;min-height:32px;padding:3px}.seat-progress{margin-top:5px}.seat-progress i{width:14px;height:2px}.control-panel{border-radius:12px;grid-area:4/1/auto/-1;column-gap:12px;padding:12px}.control-panel h2{font-size:13px}.control-panel p{max-width:160px;font-size:8px}.control-eyebrow{letter-spacing:1px;font-size:7px}.dock-actions>.ui-button{min-height:42px;padding:10px;font-size:10px}.roll-button{min-width:142px}.pawn-controls{gap:4px}.pawn-choice.ui-button{width:31px;height:40px;min-height:40px;padding:1px 3px}.pawn-choice .pawn-art{width:27px;height:35px}.turn-progress{margin-top:3px}.emote-picker{grid-template-columns:repeat(3,28px)}.emote-picker .ui-button{width:28px;height:32px;min-height:32px;padding:3px;font-size:19px}.game-dialog{width:94vw;max-height:88dvh;padding:20px}.dialog-header{margin-bottom:18px}.dialog-header h2{font-size:21px}.skin-grid{grid-template-columns:1fr 1fr;gap:10px}.skin-preview{height:110px}.skin-preview .pawn-art{width:76px;height:90px}.skin-card{padding:10px}.shop-balance{padding:12px}.shop-balance>span{font-size:12px}.shop-balance small{font-size:9px}.shop-hint{font-size:11px}.skin-card .ui-button{padding:9px 5px;font-size:10px}.focused .match-heading{height:44px}.focused .match-heading h1{font-size:22px}.focused .topbar{height:56px}}@media (prefers-reduced-motion:reduce){*,:before{transition:none!important;animation:none!important}}[data-animations=false] .dice-cube{transition:none!important;animation:none!important}.dice:has(>b) .dice-view{visibility:hidden}@media (width>=701px) and (height<=850px){.app{padding-bottom:8px}.topbar,.match-heading{height:52px}.match-heading .eyebrow{display:none}.match-heading h1{margin:0;font-size:24px}.arena{row-gap:10px}.control-panel{row-gap:4px;padding:11px 14px}.control-panel h2{margin:3px 0}.control-panel p{display:none}.turn-progress{margin-top:3px}}.player-dice{margin-top:10px}@media (width<=700px){.player-dice{margin-top:8px}}.arena{margin-top:12px}.focused .match-heading{height:56px;min-height:56px;padding-top:6px;padding-bottom:6px}.focused .arena{margin-top:12px}.dice-idle{box-shadow:none;color:var(--ui-brand-accent);background:0 0;border:0;place-items:center;display:inline-grid}.dice-idle svg{width:25px;height:25px;display:block}@media (width<=700px){.dice-idle svg{width:22px;height:22px}.focused .match-heading{height:56px;min-height:56px}}@media (width<=1100px){.header-actions{gap:4px}.header-actions .header-action-label{display:none}.header-actions>.ui-button{width:34px;min-width:34px;height:34px;min-height:34px;padding:7px}.connection{gap:0;margin-right:0;font-size:0}}@media (width<=700px){.header-actions>.ui-button{width:30px;min-width:30px;padding:6px}.reaction-stage.has-controls .reaction-display{padding-inline:26px}}@media (width<=380px){.topbar{gap:5px}.brand{gap:4px;font-size:14px}.brand-mark{font-size:26px}.header-actions{gap:3px}.header-actions>.ui-button{width:28px;min-width:28px;height:32px;min-height:32px;padding:5px}.topbar>.icon-button{width:28px;min-width:28px;height:32px;min-height:32px;padding:6px}.coin-wallet{min-height:32px;padding:6px;font-size:10px}.coin-wallet small{display:none}.language-select{min-width:45px;min-height:32px!important;padding:5px!important}}body{height:100dvh;overflow:hidden}.app{flex-direction:column;height:100dvh;min-height:0;display:flex}.topbar,.match-heading{flex-shrink:0}.match-heading{width:100%;margin:0 auto}.arena,.focused .arena{--board-cap:780px;grid-template-columns:var(--seat-width,190px) minmax(0, 1fr) var(--seat-width,190px);flex:1 1 0;grid-template-rows:minmax(0,1fr) minmax(0,1fr) auto;align-content:stretch;row-gap:12px;min-height:0;margin:12px auto 0}.focused .arena{--board-cap:860px;max-width:1360px;margin-top:8px}.table{place-items:center;height:100%;min-height:0;display:grid;container-type:size}.table .board-shell{width:min(100cqw, 100cqh, var(--board-cap));max-width:none;height:auto}.seat{min-height:0;max-height:100%}.control-panel{grid-column:1/-1;gap:4px 16px;width:100%;padding:10px 14px}.dock-status{align-items:center;gap:12px;min-width:0;display:flex}.dock-status .control-eyebrow{flex-shrink:0}.dock-status h2{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;overflow:hidden}.dock-status p{min-width:0}.dock-actions>.ui-button{min-height:42px;padding:8px 12px}.roll-button .dice{--depth:13px;width:26px;height:26px}.focused .control-panel{padding:8px 14px}.focused .dock-actions>.ui-button{min-height:38px;padding-block:6px}.header-leave{color:var(--ui-text-muted);margin-left:4px}.header-leave:not(:disabled):hover{color:var(--ui-danger)}@media (width<=1050px) and (width>=701px){.arena,.focused .arena{--seat-width:140px}}@media (width>=701px) and (height<=720px){.seat{padding:8px 10px}.player-top{gap:6px;min-height:32px}.portrait{border-radius:10px;width:32px;height:32px;font-size:14px}.reaction-stage{height:26px;min-height:26px;margin-top:3px}.emote-bubble{min-width:28px;height:26px;font-size:21px}.player-dice{height:38px;min-height:38px;margin-top:6px;padding-block:2px}.seat-progress{margin-top:6px}}@media (width<=700px),(orientation:landscape) and (height<=500px){.app{padding-bottom:8px}.arena,.focused .arena{grid-template-rows:auto minmax(0,1fr) auto auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:520px;margin-top:8px}.seat{max-height:none;padding:6px 8px}.player-top{gap:6px;min-height:28px}.portrait{border-radius:9px;width:26px;height:26px;font-size:12px}.player-info small{margin-top:2px;font-size:7px}.seat:has(.card-reactions) .player-info{padding-right:26px}.score{font-size:11px;position:absolute;bottom:10px;right:8px}.reaction-stage{display:contents}.reaction-display{width:26px;height:26px;position:absolute;top:6px;left:8px}.reaction-stage.has-controls .reaction-display{padding:0}.reaction-display .seat-caption{display:none}.emote-bubble{border-radius:9px;min-width:26px;height:26px;font-size:20px}.card-reactions{position:absolute;top:19px;right:6px;transform:translateY(-50%)}.reaction-toggle.ui-button{width:24px;height:24px;min-height:24px;padding:3px}.player-dice{border-top:0;justify-content:flex-start;gap:3px;height:28px;min-height:28px;margin-top:6px;padding:0 24px 0 0}.die-button.ui-button{width:26px;height:26px;min-height:26px;padding:2px}.player-dice .dice{--depth:11px;width:22px;height:22px}.seat-progress{display:none}.control-panel,.focused .control-panel{column-gap:10px;padding:8px 10px}.dock-status{display:block}.dock-status h2{margin-top:4px}.dock-status p{display:none}.header-leave{margin-left:0}}@media (orientation:landscape) and (height<=500px){.app{padding:0 10px 6px}.topbar,.focused .topbar{gap:6px;height:44px}.brand{font-size:15px}.brand-mark{font-size:28px}.topbar .icon-button,.header-actions>.ui-button{width:30px;min-width:30px;height:30px;min-height:30px;padding:5px}.coin-wallet{min-height:32px;padding:6px}.language-select{min-height:32px!important;padding-block:5px!important}.match-heading,.focused .match-heading{height:42px;min-height:42px;padding:0}.match-heading .eyebrow,.match-heading h1 small{display:none}.match-heading h1{margin:0;font-size:18px}.match-tools .icon-button{width:28px;height:28px;min-height:28px}.arena,.focused .arena{grid-template-rows:minmax(0,1fr) minmax(0,1fr) auto;grid-template-columns:112px minmax(0,1fr) 112px;gap:6px 8px;max-width:none;margin-top:6px}.seat[data-position=top-left]{grid-area:1/1}.seat[data-position=top-right]{grid-area:1/3}.seat[data-position=bottom-left]{grid-area:2/1}.seat[data-position=bottom-right]{grid-area:2/3}.table{grid-area:1/2/3/3}.control-panel{grid-row:3}.player-top{min-height:24px}.portrait{width:22px;height:22px;font-size:11px}.player-info strong{font-size:9px}.player-info small{display:none}.player-dice{gap:2px;height:24px;min-height:24px;margin-top:4px;padding-right:16px}.die-button.ui-button{width:23px;height:23px;min-height:23px;padding:1px}.score{font-size:9px;top:auto;bottom:8px;right:6px}.card-reactions{top:18px;right:4px}.reaction-toggle.ui-button{width:21px;height:21px;min-height:21px;padding:2px}.seat:has(.card-reactions) .player-info{padding-right:22px}.reaction-display{width:22px;height:22px}}.app{--game-gutter:26px;--game-bottom-space:16px;--game-safe-top:max(0px, var(--discord-safe-area-inset-top,env(safe-area-inset-top,0px)));--game-safe-bottom:max(0px, var(--discord-safe-area-inset-bottom,env(safe-area-inset-bottom,0px)));--game-safe-left:max(0px, var(--discord-safe-area-inset-left,env(safe-area-inset-left,0px)));--game-safe-right:max(0px, var(--discord-safe-area-inset-right,env(safe-area-inset-right,0px)));padding:var(--game-safe-top) calc(var(--game-gutter) + var(--game-safe-right)) calc(var(--game-bottom-space) + var(--game-safe-bottom)) calc(var(--game-gutter) + var(--game-safe-left))}@media (width<=1050px) and (width>=701px){.app{--game-gutter:16px}}@media (width>=701px) and (height<=850px){.app{--game-bottom-space:8px}}@media (width<=700px){.app{--game-gutter:8px;--game-bottom-space:6px}.topbar,.focused .topbar,.match-heading,.focused .match-heading{height:44px;min-height:44px}.match-heading,.focused .match-heading{padding-block:0}.topbar{gap:5px}.brand{gap:4px;font-size:15px}.brand-mark{font-size:28px}.header-actions{gap:4px;margin-left:auto}.header-actions>.ui-button,.topbar>.icon-button{width:28px;min-width:28px;height:30px;min-height:30px;padding:5px}.coin-wallet{gap:4px;min-height:30px;padding:5px 6px;font-size:10px}.coin-wallet small{display:none}.language-select{min-width:48px;min-height:30px!important;padding:5px!important}.match-heading .eyebrow,.match-heading h1 small{display:none}.match-heading h1{margin:0;font-size:20px}.match-tools .icon-button{width:30px;height:30px;min-height:30px;padding:6px}.seat{padding-block:4px}.player-top{min-height:26px}.player-dice{height:24px;min-height:24px;margin-top:4px}.die-button.ui-button{width:24px;height:24px;min-height:24px;padding:2px}.player-dice .dice{--depth:10px;width:20px;height:20px}}@media (width<=380px){.brand strong{display:none}}@media (orientation:landscape) and (height<=500px){.app{--game-gutter:8px;--game-bottom-space:6px}.arena,.focused .arena{grid-template-columns:112px minmax(0,1fr) 112px}.control-panel,.focused .control-panel{padding:6px 10px}.dock-status{gap:8px;display:flex}.dock-status h2{margin:0;font-size:11px}.dock-actions>.ui-button{min-height:32px;padding-block:4px}}.app[data-layout=compact-desktop] .topbar{gap:8px;height:48px;min-height:48px}.app[data-layout=compact-desktop] .connection{gap:0;margin-right:0;font-size:0}.app[data-layout=compact-desktop] .header-action-label{display:none}.app[data-layout=compact-desktop] .header-actions>.ui-button,.app[data-layout=compact-desktop] .topbar .icon-button{width:32px;min-width:32px;height:32px;min-height:32px;padding:6px}.app[data-layout=compact-desktop] .match-tools{flex-shrink:0;gap:6px}.app[data-layout=compact-desktop] .timer{padding:7px 9px;font-size:11px}.app[data-layout=compact-desktop] .arena{--board-cap:980px;grid-template-columns:var(--compact-seat-width,190px) minmax(0, 1fr) var(--compact-seat-width,190px);grid-template-rows:minmax(0,1fr) auto minmax(0,1fr);gap:8px 18px;max-width:none;margin-top:8px}.app[data-layout=compact-desktop] .table{grid-area:1/2/4/3}.app[data-layout=compact-desktop] .seat[data-position=top-left]{grid-area:1/1}.app[data-layout=compact-desktop] .seat[data-position=top-right]{grid-area:1/3}.app[data-layout=compact-desktop] .seat[data-position=bottom-left]{grid-area:3/1}.app[data-layout=compact-desktop] .seat[data-position=bottom-right]{grid-area:3/3}.app[data-layout=compact-desktop] .control-panel{flex-direction:column;grid-area:2/3;align-items:stretch;gap:8px;padding:10px;display:flex}.app[data-layout=compact-desktop] .dock-status{display:block}.app[data-layout=compact-desktop] .dock-status h2{margin-top:4px;font-size:12px}.app[data-layout=compact-desktop] .dock-status p{display:none}.app[data-layout=compact-desktop] .dock-actions{width:100%}.app[data-layout=compact-desktop] .dock-actions>.ui-button{width:100%;min-width:0;min-height:40px;padding:8px 6px;font-size:10px}.app[data-layout=compact-desktop] .pawn-controls{gap:4px;width:100%}.app[data-layout=compact-desktop] .pawn-choice.ui-button{width:100%;min-width:0;height:40px;min-height:40px;padding:2px}.app[data-layout=compact-desktop] .pawn-choice .pawn-art{width:100%;max-width:28px;height:34px}.app[data-layout=compact-desktop] .turn-progress{width:100%;margin-top:0}.app[data-layout=compact-desktop] .emote-picker{top:0;bottom:auto}.app[data-layout=compact-desktop] :is(.seat[data-position=top-left],.seat[data-position=bottom-left]) .emote-picker{left:calc(100% + 8px);right:auto}.app[data-layout=compact-desktop] :is(.seat[data-position=top-right],.seat[data-position=bottom-right]) .emote-picker{left:auto;right:calc(100% + 8px)}@media (width<=1050px){.app[data-layout=compact-desktop] .arena{--compact-seat-width:140px;column-gap:12px}.app[data-layout=compact-desktop] .brand strong{display:none}.app[data-layout=compact-desktop] .brand-mark{font-size:30px}.app[data-layout=compact-desktop] .topbar{gap:6px}.app[data-layout=compact-desktop] .coin-wallet{min-height:32px;padding:6px 8px}.app[data-layout=compact-desktop] .language-select{min-width:56px;min-height:32px!important;padding:6px!important}.app[data-layout=compact-desktop] .control-panel{padding:8px}}.seat.vacant.selectable{opacity:1;border-color:color-mix(in srgb, var(--player-color), var(--ui-border) 45%);background:var(--ui-bg-2)}.portrait .seat-choice.ui-button{border-radius:inherit;width:100%;min-width:0;height:100%;min-height:0;color:var(--player-color);font-size:inherit;background:0 0;border:0;padding:0;position:absolute;inset:0}.portrait .seat-choice.ui-button:not(:disabled):hover{background:color-mix(in srgb, var(--player-color), transparent 86%)}.portrait:has(.seat-choice) .presence{pointer-events:none}.settings-dialog .dialog-header{margin-bottom:12px}.settings-dialog .settings-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;display:grid}.settings-dialog .setting-row{gap:12px;padding-block:12px}.settings-dialog .setting-row:nth-child(3){grid-column:1/-1}.settings-dialog .setting-row .ui-select-trigger{min-width:92px;min-height:38px}.settings-dialog .rules{margin-top:16px}.settings-dialog .rules h3{margin:0 0 8px}.settings-dialog .rules p{margin:0;line-height:1.65}@media (width>=701px){.settings-dialog{width:min(860px,94vw);max-height:calc(100dvh - 32px - var(--game-safe-top,0px) - var(--game-safe-bottom,0px));padding:22px}}@media (width>=701px) and (height<=600px){.settings-dialog{padding:16px 20px}.settings-dialog .dialog-header h2{font-size:21px}.settings-dialog .setting-row{padding-block:8px}}@media (width<=700px){.settings-dialog .settings-fields{grid-template-columns:minmax(0,1fr)}.settings-dialog .setting-row:nth-child(3){grid-column:auto}}.reaction-display{pointer-events:none}
