@import"https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap";:root{color-scheme:dark;--bg:#171316;--surface:#211b1d;--card:#2b2324;--card2:#35292a;--line:#4b3a3a;--muted:#b5a7a4;--ivory:#fff8e9;--red:#d6424d;--red-dark:#a52b36;--coral:#f26d66;--gold:#f5b84c;--green:#77d49a;--shadow:0 16px 44px rgba(0,0,0,.35);--font:"Noto Sans KR",sans-serif;--display:"Black Han Sans","Noto Sans KR",sans-serif;font-family:var(--font);color:var(--ivory);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 15% 8%,rgba(214,66,77,.18),transparent 26rem),radial-gradient(circle at 85% 70%,rgba(245,184,76,.08),transparent 30rem),var(--bg)}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.48}.app-shell{min-height:100dvh;display:flex;flex-direction:column;overflow-x:hidden}.site-header{height:64px;padding:0 max(20px,env(safe-area-inset-left));border-bottom:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:space-between;background:#171316e0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);position:relative;z-index:20}.wordmark{min-height:44px;padding:0;border:0;background:none;font:400 18px var(--display);letter-spacing:1px;color:var(--ivory)}.wordmark b{color:var(--coral)}.site-header>div{display:flex;align-items:center;gap:18px}.header-room{font-size:12px;color:var(--muted)}.header-room b{color:var(--ivory);letter-spacing:2px;margin-left:5px}.rules-button{min-height:44px;padding:0 2px;border:0;background:none;color:#e7dad4;font-size:13px}.rules-button span{display:inline-grid;place-items:center;width:24px;height:24px;border:1px solid #766160;border-radius:50%;margin-left:5px}.page,.landing{flex:1;width:min(1160px,100%);margin:auto;padding:38px clamp(20px,5vw,60px)}.primary,.secondary,.gold,.danger-button{min-height:52px;border:0;border-radius:15px;padding:0 22px;font-weight:800;color:#fff;box-shadow:0 6px #00000038;transition:transform .15s,filter .15s}.primary{background:linear-gradient(#eb5660,#c9323e);border-bottom:2px solid #8f222d}.primary:not(:disabled):hover,.secondary:not(:disabled):hover,.gold:not(:disabled):hover{filter:brightness(1.08);transform:translateY(-1px)}.primary:not(:disabled):active,.secondary:not(:disabled):active,.gold:not(:disabled):active{transform:translateY(3px);box-shadow:0 2px #0003}.primary span{float:right;font-size:20px}.secondary{background:#47383a;border:1px solid #6a5352;box-shadow:0 5px #161113}.gold{background:linear-gradient(#f8c357,#d89126);color:#35200c}.danger-button{background:#a8323b}.full{width:100%}.text-button{min-height:44px;border:0;background:none;color:var(--muted);padding:8px 12px}.text-button.danger,.home-button{color:#ef9aa0}button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #ffd473;outline-offset:3px}.overline,.micro{margin:0;text-transform:none;color:var(--gold);font-size:12px;font-weight:800;letter-spacing:.04em}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.landing{display:grid;grid-template-columns:1fr .9fr;gap:clamp(42px,8vw,100px);align-items:center;min-height:calc(100dvh - 110px)}.hero{position:relative}.brand-mark{display:flex;gap:9px;margin-bottom:22px}.brand-mark span{display:grid;place-items:center;width:38px;height:38px;background:linear-gradient(145deg,#fff7e5,#d8cab6);border-radius:10px;color:#3c2929;font-weight:900;box-shadow:0 5px #8c7c6d}.brand-mark span:nth-child(2){background:linear-gradient(145deg,#ee6269,#a92833);color:#fff}.hero h1{font:400 clamp(54px,8vw,94px)/.9 var(--display);letter-spacing:-1px;margin:16px 0 20px;text-shadow:0 7px 0 rgba(0,0,0,.2)}.hero h1 em{color:var(--coral);font-style:normal}.tagline{font-size:clamp(16px,2vw,21px);line-height:1.65;margin:0;color:#e9dcd5;font-weight:600}.hero-chips{display:flex;gap:8px;margin-top:22px}.hero-chips span{padding:7px 11px;background:#ffffff12;border:1px solid rgba(255,255,255,.1);border-radius:99px;color:#d8cac5;font-size:12px}.entry-card{background:linear-gradient(150deg,#342728,#251d20);border:1px solid #574243;border-radius:26px;padding:30px;box-shadow:var(--shadow),inset 0 1px #ffffff14}.entry-card>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.entry-card h2{margin:3px 0 0;font-size:25px}.tiny-die{font-size:33px;color:var(--gold)}.field-label{display:block;font-weight:700;font-size:13px;margin:0 0 8px}.entry-card>input,.code-native{width:100%;height:52px;border:1px solid #675051;border-radius:13px;background:#191417;color:#fff;padding:0 15px;font-size:16px}.entry-card>input::placeholder{color:#87797a}.mode-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;background:#191417;border-radius:14px;margin:18px 0}.mode-tabs button{min-height:44px;border:0;border-radius:11px;background:transparent;color:#a99997;font-size:13px;font-weight:700}.mode-tabs button[aria-selected=true]{background:#4a3638;color:#fff;box-shadow:0 3px 10px #0d090b}.mode-panel>p{color:var(--muted);font-size:12px;margin:0 0 14px}.code-control{height:60px;position:relative}.code-native{position:absolute;inset:0;z-index:2;opacity:.01;letter-spacing:30px}.code-slots{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;height:58px}.code-slots span{display:grid;place-items:center;border:1px solid #675051;background:#191417;border-radius:10px;font-size:20px;font-weight:800}.code-slots span.filled{border-color:#db6268;background:#342023}.code-control:focus-within .code-slots span{border-color:#8b5e5e}.code-control.invalid .code-slots span{border-color:#d6424d}.code-help,.name-help{min-height:18px;color:#a99b99;font-size:11px;margin:7px 0 11px}.code-help[role=alert],.name-help{color:#f4a1a5}.privacy-note{text-align:center;color:#8f8281;font-size:11px;margin:17px 0 0!important}.connection-banner{position:sticky;top:0;z-index:40;display:flex;justify-content:center;align-items:center;gap:9px;min-height:42px;padding:8px 18px;background:#805c22;color:#fff7dc;font-size:13px}.connection-banner span{width:9px;height:9px;border-radius:50%;background:#ffd36a;animation:pulse 1.2s infinite}.connection-banner.restored{background:#256442}.connection-banner.restored span{background:#9cf4bb}.connection-banner.restore-failed{background:#7a3036}.toast{position:fixed;z-index:80;top:78px;left:50%;transform:translate(-50%);width:min(420px,calc(100% - 28px));display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px 14px;background:#4c2328;border:1px solid #a3444e;border-radius:14px;box-shadow:var(--shadow)}.toast>span{display:grid;place-items:center;width:27px;height:27px;background:#bd3b45;border-radius:50%;font-weight:700}.toast p{margin:0;font-size:13px}.toast button{min-width:44px;min-height:44px;background:none;border:0;color:#fff;font-size:22px}.lobby{max-width:880px}.lobby-head{text-align:center}.lobby-head h1{font:400 40px var(--display);margin:8px 0}.lobby-head>p:last-child{margin:0;color:var(--muted);font-size:13px}.invite-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;margin:28px auto 18px;padding:18px 20px;background:linear-gradient(135deg,#3a2a2b,#2b2225);border:1px solid #624849;border-radius:20px}.invite-card>div span{display:block;color:var(--gold);font-size:11px;font-weight:800}.invite-card strong{font-size:28px;letter-spacing:7px}.invite-card .secondary{min-height:48px}.share-feedback{grid-column:1/-1;margin:0;color:var(--muted);font-size:11px}.seats{display:grid;grid-template-columns:1fr 1fr;gap:14px}.seat{min-height:138px;border:1px solid #5b4646;background:#2b2224;border-radius:21px;display:flex;align-items:center;gap:15px;padding:19px;position:relative}.seat.occupied{box-shadow:inset 0 1px #ffffff0f}.avatar{flex:none;width:58px;height:58px;display:grid;place-items:center;border-radius:19px;background:linear-gradient(145deg,#e35b63,#912a34);color:#fff;font-size:22px;font-weight:800;box-shadow:0 5px #611b23}.seat-info{min-width:0}.seat-badges{display:flex;gap:4px}.seat-badges span{padding:2px 6px;border-radius:8px;background:#624248;color:#ffd1d0;font-size:10px}.seat h2{font-size:17px;margin:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seat p{font-size:11px;margin:0}.seat p i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green)}.seat p.offline{color:#d7ae78}.seat p.offline i{background:#d7ae78}.seat .ready,.seat .not-ready{margin-left:auto;padding:6px 8px;border-radius:9px;font-size:11px;white-space:nowrap}.seat .ready{color:#b6f5c9;background:#244d35}.seat .not-ready{color:#c0afac;background:#403335}.seat.empty{padding:0;border-style:dashed}.empty-seat{width:100%;height:100%;min-height:136px;border:0;background:none;color:var(--muted);display:grid;place-content:center;justify-items:center}.empty-seat>span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#433436;color:var(--coral);font-size:26px}.empty-seat b{margin-top:6px;color:#eadbd5}.empty-seat small{font-size:10px}.lobby-actions{display:grid;grid-template-columns:1fr 1fr;gap:13px;max-width:640px;margin:22px auto 0}.blocked-reason{grid-column:1/-1;text-align:center;color:#d9aaa7;font-size:12px;margin:0}.host-wait{grid-column:2;display:grid;place-items:center;min-height:52px;color:var(--muted);font-size:12px}.lobby-foot{display:flex;align-items:center;justify-content:space-between;margin-top:20px;border-top:1px solid rgba(255,255,255,.08);padding-top:14px}.lobby-foot p{margin:0;color:var(--muted);font-size:11px}.game{max-width:1280px;padding-top:22px}.match-strip{display:grid;grid-template-columns:108px 1fr 48px;align-items:center;gap:14px}.round small{display:block;color:var(--gold);font-size:10px;font-weight:800}.round strong{font-size:28px}.round strong i{font-size:12px;color:var(--muted);font-style:normal}.round>span{display:block;color:var(--muted);font-size:10px}.versus{display:flex;justify-content:center;gap:8px}.versus article{position:relative;width:min(220px,42%);min-height:66px;background:#2b2224;border:1px solid #493839;border-radius:16px;padding:10px 13px;display:flex;justify-content:space-between;align-items:center}.versus article.active-player{border-color:#e15a63;background:#3c282c;box-shadow:0 0 0 2px #d6424d1f}.versus article>div small{display:block;color:var(--gold);font-size:9px}.versus article b{display:block;max-width:100px;overflow:hidden;text-overflow:ellipsis}.presence{font-size:9px;color:var(--green)}.presence.offline{color:#e0ac78}.versus article>strong{font-size:26px}.versus article>strong small{font-size:10px;margin-left:2px}.versus article em{position:absolute;top:-9px;left:50%;transform:translate(-50%);background:var(--red);border-radius:10px;padding:2px 8px;font-size:9px;font-style:normal;white-space:nowrap}.game-menu{position:relative}.icon-button{min-width:44px;min-height:44px;border:1px solid #5c4848;border-radius:12px;background:#2a2223;color:#fff}.menu-popover{position:absolute;right:0;top:50px;z-index:5;width:150px;background:#302526;border:1px solid #63494a;border-radius:12px;padding:5px;box-shadow:var(--shadow)}.menu-popover button{width:100%;min-height:44px;border:0;background:none;color:#f19a9f}.progress-track{height:5px;margin:15px 0 0;background:#32282a;border-radius:4px;overflow:hidden}.progress-track span{display:block;height:100%;background:linear-gradient(90deg,var(--red),var(--gold));border-radius:4px;transition:width .4s}.game-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:18px;padding-top:16px}.table{border:1px solid #4a3839;background:#231c1eeb;border-radius:22px;overflow:hidden}.table>header{text-align:center;padding:23px 16px 18px;background:linear-gradient(180deg,#42272b,transparent);border-bottom:1px solid #493638}.table>header.waiting{background:linear-gradient(180deg,#302a29,transparent)}.table>header p{margin:0;color:var(--gold);font-size:10px;font-weight:800}.table>header h1{font-size:21px;margin:5px}.table>header>span{color:var(--muted);font-size:11px}.submission-progress{display:flex;justify-content:center;gap:7px;margin-top:13px}.submission-progress span{padding:5px 9px;background:#493a3b;border-radius:10px;color:#c9b9b6;font-size:10px}.submission-progress span.done{color:#c7f7d5;background:#285039}.dice-zone,.secret-zone,.reveal-zone{padding:21px;text-align:center;border-bottom:1px solid #453536}.zone-label{display:flex;align-items:center;gap:9px;text-align:left;margin-bottom:17px}.zone-label>span{padding:3px 7px;border-radius:7px;background:#61452a;color:#ffd183;font-size:9px;font-weight:800}.zone-label b{font-size:13px}.zone-label em{font-size:10px;font-style:normal;color:#f3a7aa;margin-left:auto}.triple-token{margin-left:auto;padding:6px 9px;border:1px solid #b57d27;border-radius:12px;background:#4b341c;color:#ffd16e;font-size:10px}.triple-token.used{filter:grayscale(1);opacity:.6}.triple-token i{font-style:normal}.dice-row{display:flex;justify-content:center;gap:clamp(9px,2vw,17px)}.die{position:relative;width:clamp(66px,8vw,84px);aspect-ratio:1;display:grid;grid-template:repeat(3,1fr)/repeat(3,1fr);padding:14px;border:0;border-radius:19%;background:linear-gradient(145deg,#fffdf4,#d9cdbc);box-shadow:0 8px #9a8978,0 12px 20px #00000047;transition:transform .15s}.die:not(:disabled):hover{transform:translateY(-3px)}.die.selected{outline:4px solid var(--gold);transform:translateY(-4px)}.die.fixed{background:linear-gradient(145deg,#ff7a7c,#b82f3b);box-shadow:0 8px #701e27}.pip{width:10px;height:10px;border-radius:50%;background:#372728;place-self:center;opacity:0}.pip.visible{opacity:1}.fixed .pip{background:#fff4df}.dice-lock{position:absolute;right:-6px;top:-8px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--gold);color:#4e3013;font-size:11px}.selection-count{margin:16px 0 10px;color:var(--muted);font-size:11px}.action-button{min-width:260px}.secret-slots{display:flex;justify-content:center;gap:12px;margin:8px 0 17px}.secret-slots>button,.empty-secret{width:86px;height:86px;border-radius:18px;border:2px dashed #6d5253;background:#302426;color:#fff;display:grid;place-content:center}.secret-slots>button{border-style:solid;border-color:#e26168;background:linear-gradient(145deg,#69383d,#3e272a)}.secret-slots b{font-size:30px}.secret-slots small{font-size:9px;color:#ceb9b6}.number-picker{display:flex;justify-content:center;gap:7px}.number-picker button{width:46px;height:46px;border:1px solid #655051;border-radius:13px;background:#3b2d2f;color:#fff;font-size:17px;font-weight:800}.number-picker button:not(:disabled):hover{background:#683a3e;border-color:#e2636b}.secret-actions{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:16px}.locked-secret{display:flex;align-items:center;text-align:left;gap:13px;max-width:390px;margin:auto;padding:16px;background:#2b4435;border:1px solid #477257;border-radius:16px}.locked-secret>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--green);color:#183324;font-weight:700}.locked-secret p{margin:4px 0 0;color:#bcd0c3;font-size:11px}.reveal-zone h2{margin:4px 0 17px}.reveal .die{width:clamp(52px,7vw,69px);padding:11px}.score-choice{background:#f5eddf;color:#332728;padding:8px 17px 19px}.sheet-handle{width:40px;height:4px;background:#b6aaa0;border-radius:3px;margin:0 auto 8px}.score-choice>header{display:flex;justify-content:space-between;align-items:end;text-align:left}.score-choice header p{margin:0;color:#ad313b;font-size:10px;font-weight:800}.score-choice h2{margin:2px 0;font-size:19px}.score-choice header>span{font-size:10px;color:#7f706d}.score-options{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}.score-options button{min-height:56px;border:1px solid #d5c8bb;border-radius:13px;background:#fffaf0;color:#3a2a2b;padding:8px 11px;display:flex;justify-content:space-between;align-items:center;text-align:left}.score-options button span small{display:block;color:#9a8983;font-size:8px}.score-options button strong{color:#ba323d;font-size:14px}.score-options button i{font-style:normal;margin-left:7px}.mobile-tabs{display:none}.score-sheet{border:1px solid #4c3b3c;border-radius:19px;background:#282022;overflow:hidden}.score-sheet>header{display:grid;grid-template-columns:1.4fr repeat(2,1fr);align-items:end;min-height:66px;padding:10px;background:#3a2b2d}.score-sheet>header>div:first-child span{display:block;color:var(--gold);font-size:8px}.score-sheet>header>div:first-child b{font-size:17px}.score-player{min-width:0;text-align:center}.score-player small{display:block;color:var(--muted);font-size:8px}.score-player b{display:block;overflow:hidden;text-overflow:ellipsis;font-size:11px}.score-player.me b{color:#ffb0b1}.score-row{display:grid;grid-template-columns:1.4fr repeat(2,1fr);min-height:40px;border-bottom:1px solid #3e3031}.score-row>div:first-child{padding:6px 10px}.score-row>div:first-child b{display:block;font-size:11px}.score-row>div:first-child small{display:block;color:#8d7e7c;font-size:7px}.score-cell{display:grid;place-items:center;border-left:1px solid #3e3031;font-size:13px}.score-cell .empty{color:#6c5f5e}.score-cell button{width:100%;height:100%;min-height:40px;border:0;background:#5e3539;color:#ffd9d5;font-weight:700}.score-sheet>footer{display:grid;grid-template-columns:1.4fr repeat(2,1fr);align-items:center;min-height:52px;padding:0 10px;background:#3d2c2d}.score-sheet>footer span{font-size:12px}.score-sheet>footer span small{font-size:8px;color:var(--muted)}.score-sheet>footer strong{text-align:center;font-size:21px}.history{margin-top:12px;border:1px solid #453638;border-radius:14px;background:#251e20;padding:0 13px}.history summary{min-height:46px;display:flex;align-items:center;cursor:pointer;font-size:12px}.history p{color:var(--muted);font-size:11px}.history ol{padding:0;list-style:none}.history li{display:grid;grid-template-columns:1fr 1fr 1fr;font-size:10px;padding:7px 0;border-top:1px solid #423335}.history li span:last-child{text-align:right}.end{max-width:1000px;display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:start}.result-hero{text-align:center;background:#2b2224b3;border:1px solid #4b3a3c;border-radius:26px;padding:30px}.result-symbol{font-size:48px}.result-hero h1{font:400 42px var(--display);margin:6px}.result-hero>p:not(.overline):not(.rematch-note){color:var(--muted);font-size:12px}.final-scores{margin:24px 0}.final-scores article{display:grid;grid-template-columns:52px 1fr auto;align-items:center;text-align:left;padding:12px;border:1px solid #49393a;background:#2a2223}.final-scores article:first-child{border-radius:15px 15px 0 0}.final-scores article:last-child{border-radius:0 0 15px 15px}.final-scores article.winner{background:#513035;border-color:#a7464d}.final-scores .avatar{width:42px;height:42px;border-radius:13px;font-size:16px}.final-scores article div small{display:block;color:var(--gold);font-size:9px}.final-scores article>strong{font-size:28px}.final-scores article>strong small{font-size:11px}.rematch-button{min-width:250px}.rematch-note{color:#918482!important;font-size:10px!important}.incoming-rematch{margin:-10px 0 15px;color:#ffd47e;font-size:12px}.home-button{display:block;margin:8px auto}.celebrate .result-symbol{animation:celebrate .6s ease-out}.modal-backdrop{position:fixed;inset:0;z-index:100;background:#0c080ad1;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);display:grid;place-items:center;padding:18px}.confirm-dialog{width:min(410px,100%);background:#302426;border:1px solid #704d50;border-radius:24px;padding:28px;text-align:center;box-shadow:var(--shadow)}.warning-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;margin:auto;background:#6a2f35;color:#ffafb1;font-size:27px;font-weight:700}.confirm-dialog h2{margin:14px 0 7px}.confirm-dialog p{color:var(--muted);font-size:12px;line-height:1.7}.confirm-dialog>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}.rules-modal{width:min(700px,100%);max-height:90dvh;overflow:auto;background:#2c2324;border:1px solid #634b4c;border-radius:24px;box-shadow:var(--shadow)}.rules-modal>header{position:sticky;top:0;z-index:2;background:#322729;display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #514041}.rules-modal h2{margin:2px 0;font-size:23px}.rules-body{padding:24px}.rule-lead{display:flex;align-items:center;gap:20px;background:#422b2e;border-radius:16px;padding:16px 20px}.rule-lead>strong{font-size:45px;color:var(--coral)}.rule-lead p{margin:0;line-height:1.7}.rules-body ol{list-style:none;padding:0;margin:20px 0}.rules-body li{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid #49393a}.rules-body li>span{color:var(--coral);font-weight:800}.rules-body h3{margin:0 0 5px;font-size:14px}.rules-body li p{margin:0;color:var(--muted);font-size:11px;line-height:1.7}.rules-body li ul{list-style:none;margin:9px 0 0;padding:9px;background:#21191b;border-radius:9px}.rules-body li li{display:block;border:0;padding:3px;font-size:10px;color:#d1bfba}.rule-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid #554344;border-radius:13px;overflow:hidden}.rule-grid p{display:grid;grid-template-columns:1fr auto;margin:0;padding:11px;border:1px solid #443536}.rule-grid b{font-size:11px}.rule-grid span{grid-row:2;color:var(--muted);font-size:9px}.rule-grid strong{grid-column:2;grid-row:1/3;color:var(--gold)}.house-rule{font-size:10px;color:var(--muted)}.site-footer{min-height:48px;padding:10px max(20px,env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.07);display:flex;justify-content:space-between;align-items:center;color:#796d6d;font-size:9px}.site-footer .online{color:#69bd87}.site-footer .offline{color:#c47b7f}@keyframes pulse{50%{opacity:.3}}@keyframes celebrate{0%{transform:scale(.4) rotate(-20deg)}70%{transform:scale(1.2) rotate(8deg)}to{transform:none}}@media(max-width:800px){.site-header{height:56px;padding-left:16px;padding-right:16px}.page{padding:22px 14px}.landing{display:flex;flex-direction:column;justify-content:center;gap:18px;min-height:calc(100dvh - 98px);padding:18px 16px 24px}.hero{text-align:center}.brand-mark{justify-content:center;margin-bottom:10px}.brand-mark span{width:30px;height:30px;border-radius:8px}.hero h1{font-size:45px;margin:9px 0}.hero .overline{font-size:10px}.tagline{font-size:13px;line-height:1.55}.hero-chips{justify-content:center;margin-top:10px}.hero-chips span{font-size:10px;padding:5px 8px}.entry-card{width:min(460px,100%);padding:19px;border-radius:21px}.entry-card>header{margin-bottom:13px}.entry-card h2{font-size:20px}.tiny-die{font-size:25px}.entry-card>input{height:48px}.mode-tabs{margin:12px 0}.mode-tabs button{height:42px;font-size:12px}.mode-panel .primary{min-height:49px}.privacy-note{margin-top:10px!important}.site-footer{display:none}.lobby-head h1{font-size:30px}.invite-card{margin:20px 0 14px;padding:15px}.invite-card strong{font-size:23px;letter-spacing:5px}.seats{grid-template-columns:1fr}.seat{min-height:112px}.empty-seat{min-height:110px}.lobby-actions{grid-template-columns:1fr;position:sticky;bottom:0;z-index:4;padding:12px 0 calc(12px + env(safe-area-inset-bottom));margin-top:10px;background:linear-gradient(transparent,var(--bg) 18%)}.host-wait,.blocked-reason{grid-column:1}.lobby-foot{margin-top:4px}.lobby-foot p{max-width:70%}.match-strip{grid-template-columns:66px 1fr 44px;gap:6px}.round strong{font-size:22px}.versus{gap:4px}.versus article{width:50%;min-height:59px;padding:8px}.versus article b{font-size:11px;max-width:55px}.versus article>strong{font-size:18px}.presence{display:none}.versus article em{font-size:8px}.game-grid{display:block;padding-top:10px}.mobile-tabs{display:grid;grid-template-columns:1fr 1fr;margin-top:11px;background:#211a1c;padding:3px;border-radius:12px}.mobile-tabs button{min-height:44px;border:0;border-radius:9px;background:none;color:#a59694;font-size:12px}.mobile-tabs button.active{background:#4b3538;color:#fff}.mobile-hidden{display:none!important}.score-aside:not(.mobile-hidden){display:block}.table{border-radius:18px}.table>header{padding:18px 10px 14px}.table>header h1{font-size:18px}.dice-zone,.secret-zone,.reveal-zone{padding:18px 10px}.die{width:68px;padding:12px}.pip{width:8px;height:8px}.triple-token{font-size:9px;padding:5px 6px}.action-button{min-width:min(280px,100%)}.secret-slots>button,.empty-secret{width:78px;height:78px}.number-picker{gap:5px}.number-picker button{width:43px;height:44px}.secret-actions{align-items:stretch}.secret-actions .action-button{min-width:0;flex:1}.reveal.dice-row{gap:5px}.reveal .die{width:57px;padding:9px}.score-options{grid-template-columns:1fr}.score-choice{padding-bottom:calc(18px + env(safe-area-inset-bottom))}.end{display:block}.result-hero{padding:24px 18px}.result-hero h1{font-size:34px}.end>.score-sheet{margin-top:20px}.rules-modal>header,.rules-body{padding:18px}.rule-grid{grid-template-columns:1fr}}@media(max-width:380px){.landing{justify-content:flex-start}.hero-chips{display:none}.entry-card{padding:16px}.die{width:61px}.reveal .die{width:50px}.seat{padding:14px}.invite-card{grid-template-columns:1fr}.invite-card .secondary{width:100%}.confirm-dialog>div:last-child{grid-template-columns:1fr}.rules-button{font-size:0}.rules-button span{font-size:12px}}.code-help,.name-help,.privacy-note,.share-feedback,.invite-card>div span,.seat-badges span,.seat p,.seat .ready,.seat .not-ready,.empty-seat small,.lobby-foot p,.round small,.round>span,.versus article>div small,.versus article b,.versus article>strong small,.versus article em,.presence,.table>header p,.table>header>span,.submission-progress span,.zone-label>span,.zone-label em,.triple-token,.dice-lock,.selection-count,.secret-slots small,.locked-secret p,.score-choice header p,.score-choice header>span,.score-options button span small,.score-sheet>header>div:first-child span,.score-player small,.score-player b,.score-row>div:first-child b,.score-row>div:first-child small,.score-sheet>footer span small,.history p,.history li,.final-scores article div small,.final-scores article>strong small,.rematch-note,.incoming-rematch,.rules-body li p,.rules-body li li,.rule-grid b,.rule-grid span,.house-rule,.site-footer{font-size:12px}@media(max-width:800px){.hero .overline,.hero-chips span{font-size:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition:none!important;scroll-behavior:auto!important}}
