.boardCard{box-sizing:border-box;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffff0f;border:1px solid #ffffff1a;border-radius:22px;flex-direction:column;width:100%;height:100%;padding:14px;display:flex}.boardTitle{opacity:.95;margin-bottom:10px;font-weight:700}.boardGridWrap{flex:1;place-items:center;min-height:0;display:grid}.grid3{aspect-ratio:1;box-sizing:border-box;background:#0000001f;border:1px solid #ffffff14;border-radius:18px;grid-template-columns:repeat(3,1fr);gap:12px;width:100%;height:100%;padding:12px;display:grid}.grid3.isDisabled{opacity:.75;pointer-events:none}.cell{aspect-ratio:1;background:#0000002e;border:1px solid #ffffff1a;border-radius:18px;place-items:center;width:100%;transition:transform 80ms,filter 80ms;display:grid}.cell:active{transform:scale(.98)}.cell.empty{opacity:.85}.cell.filled{opacity:1}.pip{font-weight:900;line-height:1;box-shadow:none!important;background:0 0!important;border:none!important;border-radius:0!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important}.pip:before,.pip:after{content:none!important}.boardCard{border:1px solid var(--stroke);background:var(--card);border-radius:var(--radius)}.boardCard .grid3{box-shadow:none!important;background:0 0!important;border:none!important;margin:0!important;padding:0!important}.boardCard{flex-direction:column;display:flex}.boardCard .grid3{flex:1;grid-template-columns:repeat(3,1fr);place-content:center;gap:12px;display:grid}.boardCard .cell{aspect-ratio:1;place-items:center;display:grid;padding:0!important}.boardCard .pip{place-items:center;margin:0;line-height:1;display:grid;transform:translateY(0)}.pip{color:var(--pip-active);font-weight:900}.isOver .pip{color:var(--pip-over)}:root{--bg0:#0b0d12;--bg1:#0b0d12;--text:#ffffffeb;--muted:#ffffff9e;--pip-active:#ffffffeb;--pip-over:#fff9;--card:#ffffff0f;--card2:#ffffff14;--stroke:#ffffff1f;--stroke2:#ffffff2e;--shadow:0 20px 60px #00000073;--radius:26px;--accent:#8c8cff8c}:root[data-theme=light]{--bg0:#f2f3f8;--bg1:#f2f3f8;--text:#0a0e19eb;--muted:#0a0e199e;--pip-active:#0a0e19eb;--pip-over:#0a0e198c;--card:#ffffffd9;--card2:#fffffff2;--stroke:#0a0e191a;--stroke2:#0a0e1924;--shadow:0 18px 50px #0a0e191f;--accent:#6e6eff66}*{box-sizing:border-box}html,body{height:100%}body{color:var(--text);background:radial-gradient(1200px 800px at 80% 10%, #783c7840, transparent 55%), radial-gradient(900px 700px at 20% 40%, #3c50a02e, transparent 60%), linear-gradient(180deg, var(--bg0), var(--bg1));-webkit-font-smoothing:antialiased;margin:0;font-family:ui-sans-serif,-apple-system,system-ui,Segoe UI,Roboto,Helvetica,Arial;overflow:hidden}.appRoot{place-items:center;width:100vw;height:100dvh;display:grid;overflow:hidden}.card{background:var(--card);border:1px solid var(--stroke);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}.card.clickable{cursor:pointer}.cardTitle{letter-spacing:.2px;margin-bottom:10px;font-weight:800}.muted{color:var(--muted)}.rowBetween{justify-content:space-between;align-items:center;gap:12px;display:flex}.primary{border:1px solid var(--stroke2);color:var(--text);background:#7878ff40;border-radius:18px;padding:12px 16px;font-weight:800}.ghost{border:1px solid var(--stroke);color:var(--text);background:#ffffff0f;border-radius:16px;padding:10px 14px;font-weight:700}.select{border:1px solid var(--stroke);width:100%;color:var(--text);background:#ffffff0f;border-radius:16px;padding:12px 14px;font-weight:700}.select option,:root[data-theme=dark] .select option{color:#111}.iosSwitch{border:1px solid var(--stroke2);background:#ffffff1f;border-radius:999px;width:58px;height:34px;padding:0;position:relative}.iosSwitch .knob{background:#ffffffeb;border-radius:999px;width:28px;height:28px;transition:transform .18s;position:absolute;top:3px;left:3px;box-shadow:0 8px 20px #00000040}.iosSwitch.on{background:#7878ff73}.iosSwitch.on .knob{transform:translate(24px)}.menuScreen{grid-template-rows:auto 1fr;gap:16px;width:min(780px,92vw);height:100dvh;padding:18px 0;display:grid;overflow:hidden}.menuHeader{padding:0 4px}.brand{letter-spacing:-1px;font-size:44px;font-weight:900;line-height:1}.tagline{color:var(--muted);margin-top:6px}.menuStack{gap:14px;padding:0 4px 18px;display:grid;overflow:auto}.modeRow{grid-template-columns:1fr auto;align-items:center;gap:12px;display:grid}.rules p{margin:8px 0}.onlineOptions{grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;display:grid}.onlineField{gap:6px;display:grid}.input{border:1px solid var(--stroke);width:100%;color:var(--text);background:#ffffff0f;border-radius:16px;padding:12px 14px;font-weight:700}.gameScreen{grid-template-rows:auto 1fr;gap:12px;width:min(1200px,96vw);height:100dvh;padding:14px;display:grid;overflow:hidden}.topBar{grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;display:grid}.topBar button:first-child{justify-self:start}.topBar button:last-child{justify-self:end}.topTitle{letter-spacing:.8px;opacity:.95;justify-self:center;font-size:22px;font-weight:900}.boardCard{background:var(--card);border:1px solid var(--stroke);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px;overflow:hidden}.boardTitle{color:var(--text);opacity:.95;margin-bottom:10px;font-size:22px;font-weight:900}.grid3{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.cell{aspect-ratio:1;border:1px solid var(--stroke2);cursor:pointer;background:#ffffff0d;border-radius:22px;place-items:center;padding:0;display:grid}.cell.filled{background:#ffffff14}.cell:disabled{cursor:not-allowed;opacity:.85}.pip{border:1px solid var(--stroke2);background:#ffffff1a;border-radius:16px;place-items:center;width:52%;height:52%;font-size:clamp(18px,4vw,28px);font-weight:900;display:grid}.gameMobile{width:min(720px,98vw)}.mobileTopPanel{background:var(--card);border:1px solid var(--stroke);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px}.mTopGrid{grid-template-columns:1fr 1fr 1fr;grid-auto-rows:minmax(88px,auto);gap:12px;display:grid}.mCard{border:1px solid var(--stroke);text-align:center;background:#ffffff0a;border-radius:22px;place-items:center;gap:8px;padding:12px;display:grid}.mCard.center{justify-content:center}.mName{font-size:26px;font-weight:900}.avatarSquare{border:1px solid var(--stroke2);background:#ffffff1a;border-radius:18px;place-items:center;width:56px;height:56px;font-size:22px;font-weight:900;display:grid}.scoreBig{letter-spacing:-1px;font-size:46px;font-weight:900}.dieSquare{border:1px solid var(--stroke2);background:#ffffff1a;border-radius:18px;place-items:center;width:56px;height:56px;font-size:28px;font-weight:900;display:grid}.turnCard{grid-column:span 2;justify-items:center;width:100%}.turnTitle{letter-spacing:.8px;font-weight:900}.turnValue{font-size:28px;font-weight:900}.mobileBoards{grid-template-rows:1fr 1fr;gap:12px;min-height:0;display:grid;overflow:hidden}.gameDesktop{width:min(1300px,96vw)}.deskWrap{grid-template-columns:1fr 380px 1fr;align-items:stretch;gap:16px;min-height:0;display:grid}.deskLeft,.deskRight{min-height:0}.deskCenter{align-content:start;min-height:0;display:grid}.hudCard{background:var(--card);border:1px solid var(--stroke);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}.hudScore{letter-spacing:-1px;text-align:center;margin-bottom:14px;font-size:42px;font-weight:900}.hudRow{grid-template-columns:120px 1fr;gap:12px;display:grid}.hudBlock{border:1px solid var(--stroke);background:#ffffff0a;border-radius:22px;place-items:center;gap:8px;padding:12px;display:grid}.hudBlock.wide{place-items:center}.isDisabled{filter:grayscale(.1);opacity:.92}@media (height<=520px){.mTopGrid{grid-auto-rows:minmax(76px,auto)}.scoreBig{font-size:38px}.mName{font-size:22px}.turnValue{font-size:24px}}.gameMobileV2 .mLayout{box-sizing:border-box;grid-template:"dice turn""side opp"1fr"side me"1fr/minmax(104px,26vw) 1fr;gap:clamp(8px,2.2vw,10px);height:calc(100svh - 64px);padding:clamp(8px,2.2vw,10px);display:grid;overflow:hidden}.gameMobileV2 .mDiceCard{grid-area:dice}.gameMobileV2 .mTurnCard{grid-area:turn}.gameMobileV2 .mSideCard{grid-area:side}.gameMobileV2 .mBoardOpp{grid-area:opp}.gameMobileV2 .mBoardMe{grid-area:me}.gameMobileV2 .mDiceCard,.gameMobileV2 .mTurnCard{text-align:center;place-items:center;display:grid}.gameMobileV2 .mTurnCard{gap:8px}.gameMobileV2 .mSideCard{grid-template-rows:1fr auto 1fr;display:grid;overflow:hidden}.gameMobileV2 .mSideTop,.gameMobileV2 .mSideBot{place-items:center;gap:10px;display:grid}.gameMobileV2 .mSideMid{border-top:1px solid #ffffff14;border-bottom:1px solid #ffffff14;place-items:center;gap:6px;padding:10px;display:grid}.gameMobileV2 .mBoardWrap{width:100%;height:100%;overflow:hidden}.gameMobileV2 .mBoardWrap>*{height:100%}@supports (aspect-ratio:1 / 1){.gameMobileV2 .mBoardWrap{place-items:center;display:grid}.gameMobileV2 .mBoardWrap>*{aspect-ratio:1;width:100%;height:100%}}.gameMobileV2 .scoreStack{place-items:center;gap:6px;display:grid}.gameMobileV2 .scoreLine{font-size:30px;font-weight:950;line-height:1}.gameDesktopA{width:min(1200px,96vw)}.gameDesktopA .deskStage{box-sizing:border-box;grid-template-columns:1fr minmax(260px,320px) 1fr;align-items:stretch;gap:18px;width:100%;height:calc(100dvh - 84px);max-height:820px;margin:0 auto;padding:16px;display:grid}.gameDesktopA .deskSide{grid-template-rows:auto 1fr;gap:12px;padding:14px;display:grid;overflow:hidden}.gameDesktopA .deskSideTitle{font-size:20px;font-weight:900}.gameDesktopA .deskCenter{grid-template-rows:auto auto;align-content:start;gap:14px;padding:14px;display:grid}.gameDesktopA .deskScore{letter-spacing:-.5px;text-align:center;font-size:44px;font-weight:950}.gameDesktopA .deskMidRow{grid-template-columns:1fr 1fr;gap:12px;display:grid}.gameDesktopA .deskMini{text-align:center;border-radius:22px;place-items:center;gap:8px;padding:12px;display:grid}.gameDesktopA .dieSquareLg{width:62px;height:62px;font-size:30px}.gameDesktopA .deskTurnValue{font-size:28px}.gameDesktopA .deskBoardWrap{aspect-ratio:1;place-self:start center;place-items:stretch stretch;width:min(460px,100%);display:grid;overflow:hidden}.gameDesktopA .deskBoardWrap .boardCard{width:100%;height:100%;padding:14px}.gameDesktopA .deskBoardWrap .boardTitle{display:none}.gameDesktopA .deskBoardWrap .grid3{height:100%}@media (width>=900px){.gameDesktopA{width:min(1200px,96vw)}.gameDesktopA .deskStage{box-sizing:border-box;grid-template-columns:1fr minmax(240px,300px) 1fr;align-items:start;gap:14px;width:100%;height:calc(100dvh - 84px);max-height:760px;margin:0 auto;padding:12px;display:grid}.gameDesktopA .deskSide{grid-template-rows:auto 1fr;gap:10px;padding:12px;display:grid;overflow:hidden}.gameDesktopA .deskSideTitle{font-size:18px;font-weight:900}.gameDesktopA .deskCenter{grid-template-rows:auto auto;align-content:start;gap:12px;padding:12px;display:grid}.gameDesktopA .deskScore{letter-spacing:-.5px;text-align:center;font-size:38px;font-weight:950}.gameDesktopA .deskMidRow{grid-template-columns:1fr 1fr;gap:10px;display:grid}.gameDesktopA .deskMini{text-align:center;border-radius:22px;place-items:center;gap:6px;padding:10px;display:grid}.gameDesktopA .dieSquareLg{width:56px;height:56px;font-size:28px}.gameDesktopA .deskTurnValue{font-size:24px}.gameDesktopA .deskBoardWrap{aspect-ratio:1;place-self:start center;place-items:stretch stretch;width:min(380px,100%);display:grid;overflow:hidden}.gameDesktopA .deskBoardWrap .boardCard{width:100%;height:100%;padding:12px}.gameDesktopA .deskBoardWrap .boardTitle{display:none}.gameDesktopA .deskBoardWrap .grid3{height:100%}}.gameMobileV2{gap:clamp(6px,1.8vw,10px);width:min(820px,100vw);padding:clamp(6px,2.1vw,12px)}.gameMobileV2 .topTitle{font-size:clamp(18px,5.2vw,24px)}.gameMobileV2 .mLayout{grid-template-rows:auto 1fr 1fr;grid-template-columns:minmax(84px,26vw) 1fr;height:100%;min-height:0}.gameMobileV2 .mDiceCard,.gameMobileV2 .mTurnCard{min-height:clamp(84px,13vh,120px);padding:clamp(10px,2.2vw,14px)}.gameMobileV2 .muted{font-size:clamp(15px,3.8vw,19px)}.gameMobileV2 .turnTitle{font-size:clamp(16px,3.8vw,20px)}.gameMobileV2 .turnValue{font-size:clamp(32px,6.6vw,42px)}.gameMobileV2 .dieSquare,.gameMobileV2 .avatarSquare{border-width:1px;border-radius:14px;width:clamp(42px,11vw,52px);height:clamp(42px,11vw,52px);font-size:clamp(20px,5.2vw,24px)}.gameMobileV2 .mSideCard{padding:clamp(10px,2vw,14px)}.gameMobileV2 .mSideTop,.gameMobileV2 .mSideBot{gap:8px}.gameMobileV2 .mSideCard,.gameMobileV2 .mBoardWrap,.gameMobileV2 .mBoardWrap>*{min-height:0}.gameMobileV2 .mSideCard{height:100%}.gameMobileV2 .mBoardWrap{height:100%;display:block}.gameMobileV2 .mBoardWrap .boardCard{aspect-ratio:auto;width:100%;max-width:none;height:100%;max-height:none}.gameMobileV2 .mBoardWrap .boardTitle{display:none}.gameMobileV2 .mBoardWrap .boardGridWrap{flex:1;place-items:center;min-height:0;display:grid}.gameMobileV2 .mBoardWrap .grid3{aspect-ratio:1;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:clamp(6px,1.7vw,9px);width:100%;max-width:100%;height:auto}.gameMobileV2 .mBoardWrap .cell{aspect-ratio:1;border-width:1px;border-radius:clamp(14px,3.4vw,20px);width:100%;height:100%}.gameMobileV2 .mBoardWrap .pip{border-radius:clamp(10px,2.6vw,14px);width:50%;height:50%;font-size:clamp(16px,4.5vw,24px)}.gameMobileV2 .scoreLine{font-size:clamp(32px,6.8vw,44px)}.gameMobileV2 .mName{font-size:clamp(20px,4.2vw,34px)}@media (width<=420px){.gameMobileV2{padding:8px}.gameMobileV2 .mLayout{grid-template-columns:minmax(78px,25vw) 1fr;gap:8px}.gameMobileV2 .ghost{padding:8px 10px;font-size:14px}.gameMobileV2 .turnValue{font-size:clamp(28px,7vw,36px)}.gameMobileV2 .avatarSquare,.gameMobileV2 .dieSquare{border-radius:14px;width:44px;height:44px;font-size:18px}.gameMobileV2 .scoreLine{font-size:clamp(28px,6.8vw,36px)}.gameMobileV2 .mName{font-size:clamp(18px,4.2vw,24px)}}@media (height<=760px){.gameMobileV2 .mLayout{grid-template-columns:minmax(84px,24vw) 1fr}.gameMobileV2 .mDiceCard,.gameMobileV2 .mTurnCard{min-height:84px}}@media (width>=900px){.gameDesktopA{width:min(1320px,98vw)}.gameDesktopA .deskStage{max-height:min(760px,100dvh - 92px);margin-inline:auto}}.gameMobileV2.localLiteralScreen.localTurnP1{--local-ui-rot:0deg;--local-pip-color:#8fd6ff}.gameMobileV2.localLiteralScreen.localTurnP2{--local-ui-rot:180deg;--local-pip-color:#ffb3dc}.gameMobileV2.localLiteralScreen{grid-template-rows:1fr;gap:0;padding:6px}.gameMobileV2 .localLiteralLayout{grid-template-rows:minmax(0,1fr) minmax(72px,auto) minmax(0,1fr);gap:8px;height:100%;padding:6px;display:grid;overflow:hidden}.gameMobileV2 .literalBoard{min-width:0;min-height:0;overflow:hidden}.gameMobileV2 .literalBoard .boardCard{padding:clamp(3px,.8vw,6px);transition:box-shadow .18s,border-color .18s}.gameMobileV2.localLiteralScreen.localActiveP2 .literalBoardTop .boardCard,.gameMobileV2.localLiteralScreen.localActiveP1 .literalBoardBottom .boardCard{border-color:#92bfffd9;box-shadow:0 0 0 2px #92bfff4d,0 0 20px #7878ff59}.gameMobileV2 .literalBoard .boardTitle{display:none}.gameMobileV2 .literalBoard .boardGridWrap{place-items:center;display:grid;container-type:size}.gameMobileV2 .literalBoard .grid3{aspect-ratio:1;gap:clamp(4px,1vw,8px);width:min(100%,100cqh)!important;max-width:100%!important;height:auto!important;max-height:100%!important}.gameMobileV2 .literalBoard .cell{border-radius:clamp(10px,2vw,14px)}.gameMobileV2 .literalBoard .pip{color:var(--local-pip-color);transform:rotate(var(--local-ui-rot));transform-origin:50%;font-size:clamp(16px,3.8vw,28px)}.gameMobileV2 .literalCenterBar{border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 14px;display:grid}.gameMobileV2 .literalActionBtn{min-width:34px;padding:6px 0}.gameMobileV2 .literalCenterLeft,.gameMobileV2 .literalCenterRight{white-space:nowrap;font-size:clamp(14px,3.4vw,22px);font-weight:800}.gameMobileV2 .literalCenterRight{text-align:right}.gameMobileV2 .literalTurnReadable{transform:rotate(var(--local-ui-rot));transform-origin:50%}.gameMobileV2 .literalDiceBox{border:1px solid var(--stroke2);border-radius:10px;place-items:center;min-width:56px;padding:6px 12px;display:grid}.gameMobileV2 .literalDieValue{font-size:clamp(20px,4.5vw,28px);font-weight:900;line-height:1;display:inline-block}@media (width<=420px),(height<=760px){.gameMobileV2.localLiteralScreen{padding:4px}.gameMobileV2 .localLiteralLayout{gap:6px;padding:4px}.gameMobileV2 .literalCenterBar{gap:6px;padding:8px 10px}.gameMobileV2 .literalDiceBox{min-width:46px;padding:4px 8px}.gameMobileV2 .literalActionBtn{min-width:30px;padding:4px 0;font-size:13px}}.resultOverlay{z-index:1000;background:#080a10b8;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.resultCard{text-align:center;gap:12px;width:min(420px,92vw);display:grid}.resultCard h3{margin:0;font-size:24px}.resultWinner{margin:0;font-size:22px;font-weight:900}.resultScores{justify-content:center;gap:18px;font-size:18px;display:flex}.resultActions{justify-content:center;gap:10px;display:flex}
