:root,[data-theme=dark]{color-scheme:dark;--bg:#0c1323;--surface:#141e31;--surface-2:#1c2940;--surface-3:#263650;--text:#f1f4fb;--muted:#a8b6cd;--subtle:#94a4bd;--line:#2d3d58;--accent:#2f4d85;--accent-text:#ffffff;--accent-ink:#b6caff;--accent-soft:#1f3255;--accent-hover:#3c5f9e;--nav:rgba(15,24,42,.96);--hero:#172742;--hero-grid:rgba(174,199,241,.07);--hero-text:#f4f7fd;--hero-muted:#b5c2d8;--shadow:0 18px 60px #00000028;--card-shadow:0 4px 15px #00000018;--coral:#ffaaa2;--aqua:#9cbbf1;--gold:#e6ca76;--tile:#edf2fb;--tile-text:#253652;--focus:#b6caff;--bad:#ff9c9c;--toast-bg:#e8efff;--toast-text:#182b4a;--backdrop:#050b18b8;--art-front:#2c497d;--art-front-text:#f5f8ff;--art-front-line:#6b89b9;--art-back:#bac8de;--art-back-text:#213757;--art-back-line:#e0e8f5;--art-token:#c2cfe3;--art-token-text:#2b4163;--art-token-line:#e6eefc;--art-token-edge:#7387aa}[data-theme=light]{color-scheme:light;--bg:#e8ebf0;--surface:#f4f5f8;--surface-2:#e4e8ee;--surface-3:#dbe0e8;--text:#27334a;--muted:#535f74;--subtle:#566278;--line:#d0d6e0;--accent:#2d4877;--accent-text:#ffffff;--accent-ink:#2f4a78;--accent-soft:#dfe5ef;--accent-hover:#3a5788;--nav:rgba(236,239,244,.97);--hero:#e0e5ee;--hero-grid:rgba(58,84,132,.05);--hero-text:#26385a;--hero-muted:#4f5d75;--shadow:0 12px 32px #1c31540f;--card-shadow:0 2px 10px #233b5b08;--coral:#b04a45;--aqua:#3a6299;--gold:#86651a;--tile:#f7f8fa;--tile-text:#2a3a56;--focus:#2f4a78;--bad:#ad3a3e;--toast-bg:#2a3e60;--toast-text:#f2f5fb;--backdrop:#14233d70;--art-front:#2d4877;--art-front-text:#f3f6fc;--art-front-line:#6581ad;--art-back:#c8d1df;--art-back-text:#27395a;--art-back-line:#eef2f8;--art-token:#d3dbe7;--art-token-text:#33496d;--art-token-line:#a3b2c8;--art-token-edge:#8a9bb5}*{box-sizing:border-box}html{min-height:100%;background:var(--bg);scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Pretendard,Noto Sans CJK KR,Noto Sans KR,Apple SD Gothic Neo,Malgun Gothic,system-ui,sans-serif;-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.55;word-break:keep-all}button,input,select{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.4}button,input,select{outline-offset:4px}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--focus)}button{transition:background .16s,border-color .16s,transform .16s}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.05em}button svg{pointer-events:none}.ui-icon{display:inline-block;flex-shrink:0;vertical-align:middle}svg{max-width:100%}.page{min-height:100dvh;padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}.shell{position:relative;width:100%;max-width:560px;padding:0 22px 22px;margin:0 auto}.shell.compact{padding-bottom:20px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:88px;padding-top:env(safe-area-inset-top,0px)}.top-left{display:flex;align-items:center;gap:10px;min-width:0}.brand-avatar{width:35px;height:35px;color:var(--accent-ink);border:1px solid var(--line);border-radius:10px;display:grid;place-items:center;flex-shrink:0}.brand-avatar svg{width:23px;height:23px}.brand-title{font-size:17px;font-weight:850;letter-spacing:-.055em;line-height:1.4;white-space:nowrap}.brand-sub{font-size:8px;letter-spacing:2.1px;color:var(--subtle);font-weight:700;margin-top:2px;white-space:nowrap}.top-actions{display:flex;gap:8px;align-items:center}.icon-btn{width:38px;min-height:40px;background:transparent;border:0;display:grid;place-items:center;border-radius:12px;color:var(--muted)}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.icon-btn svg{width:21px;height:21px}.back{width:25px}.wallet-link{height:36px;display:flex;align-items:center;gap:7px;border:1px solid var(--line);background:var(--surface);border-radius:30px;padding:0 12px}.wallet-link strong{font-size:13px;line-height:1;font-variant-numeric:tabular-nums}.chip-icon{color:var(--accent-ink);display:flex}.chip-icon svg{height:17px;width:17px}.lobby-eyebrow{display:flex;justify-content:space-between;align-items:center;color:var(--subtle);font-size:9px;letter-spacing:1.9px;font-weight:650;margin:9px 0 18px}.collection-label{font-size:8px;letter-spacing:1.1px;display:flex;align-items:center;gap:7px}.collection-label i{width:3px;height:3px;background:var(--subtle);border-radius:50%}.hero{position:relative;overflow:hidden;background:var(--hero);border:1px solid var(--line);border-radius:22px;min-height:342px;padding:23px 23px 19px;box-shadow:var(--shadow);isolation:isolate}.hero-grid{position:absolute;inset:0;z-index:-2;background-image:linear-gradient(var(--hero-grid) 1px,transparent 1px),linear-gradient(90deg,var(--hero-grid) 1px,transparent 1px);background-size:30px 30px;-webkit-mask-image:linear-gradient(100deg,transparent 15%,black 100%);mask-image:linear-gradient(100deg,transparent 15%,black 100%)}.hero-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.kicker{display:inline-flex;align-items:center;gap:7px;font-size:9px;font-weight:650;letter-spacing:1.5px;color:var(--accent-ink)}.kicker i{width:5px;height:5px;border-radius:50%;background:currentColor}.edition{font-size:6px;color:var(--hero-muted);letter-spacing:1.35px}.hero-copy{position:relative;z-index:2;pointer-events:none}.hero h1{font-size:clamp(30px,8.4vw,42px);font-weight:850;line-height:1.27;margin:22px 0 12px;letter-spacing:-.075em;color:var(--hero-text)}.hero h1 em{font-style:normal;color:var(--accent-ink)}.hero p{font-size:11px;line-height:1.8;color:var(--hero-muted);letter-spacing:-.025em}.hero-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;z-index:3;background:var(--accent);color:var(--accent-text);border:0;border-radius:10px;padding:12px 14px;font-size:12px;font-weight:800;min-height:45px;margin-top:26px;width:174px;box-shadow:0 5px 15px #0000000a}.hero-cta:hover{background:var(--accent-hover);transform:translateY(-2px)}.hero-cta svg{width:17px;height:17px}.hero-bottom{display:flex;justify-content:space-between;margin-top:20px;border-top:1px solid var(--line);padding-top:12px;font-size:8px;letter-spacing:1px;color:var(--hero-muted);position:relative;z-index:2}.hero-art{position:absolute;right:-4px;bottom:48px;width:140px;height:174px;z-index:1;pointer-events:none}.hero-tile{position:absolute;border-radius:10px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:2px 10px #00000025,0 20px 40px #00000030;width:86px;height:119px;padding:9px 10px;transform-origin:center}.hero-tile>small{font:600 5px/1.3 system-ui,sans-serif;letter-spacing:.8px}.hero-tile>strong{font:750 65px/.9 system-ui,sans-serif;letter-spacing:-9px}.hero-tile>strong>span{font-size:30px;vertical-align:top;letter-spacing:-2px}.hero-tile>span{font:650 5px system-ui,sans-serif;letter-spacing:.5px;display:flex;align-items:center;justify-content:space-between}.hero-tile>span svg{width:11px;height:11px}.tile-front{background:var(--art-front);color:var(--art-front-text);left:31px;top:37px;transform:rotate(13deg);border:1px solid var(--art-front-line)}.tile-back{background:var(--art-back);color:var(--art-back-text);left:-7px;top:14px;transform:rotate(-16deg);border:1px solid var(--art-back-line)}.hero-token{position:absolute;right:7px;top:4px;border:1px solid var(--art-token-line);background:var(--art-token);color:var(--art-token-text);border-radius:50%;width:53px;height:53px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;transform:rotate(22deg);box-shadow:2px 3px 0 var(--art-token-edge)}.hero-token span{font:700 4px system-ui;letter-spacing:1px}.hero-token svg{width:22px;height:22px}.orbit{position:absolute;border:1px solid var(--line);border-radius:50%;width:160px;height:160px;top:4px;left:-4px;opacity:.8}.orbit-two{width:205px;height:205px;top:-20px;left:-26px;opacity:.4}.art-spark{position:absolute;right:3px;top:97px;color:var(--accent-ink);font:300 24px system-ui}.quick-modes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 28px}.quick-modes button{display:flex;align-items:center;text-align:left;gap:9px;padding:14px 11px;background:var(--surface);border:1px solid var(--line);border-radius:13px}.quick-modes button>svg:first-child{color:var(--accent-ink);width:21px;height:21px}.quick-modes button>svg:last-child{margin-left:auto;width:12px;height:12px;color:var(--subtle)}.quick-modes strong{display:block;font-size:11px;font-weight:750;letter-spacing:-.04em}.quick-modes small{display:block;font-size:8px;letter-spacing:-.04em;color:var(--muted);margin-top:3px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 16px}.section-title.tight{margin-top:25px}.mini-kicker{display:block;font-size:8px;letter-spacing:1.9px;font-weight:600;color:var(--subtle)}.section-title h2{font-size:20px;margin-top:6px;line-height:1.35;font-weight:800}.section-count{font:500 32px/1.2 system-ui,sans-serif;color:var(--subtle);letter-spacing:-1.5px}.filters{display:flex;align-items:center;gap:6px;margin-bottom:17px}.filters button{min-height:34px;font-size:11px;border:1px solid var(--line);border-radius:30px;background:transparent;color:var(--muted);padding:6px 15px;font-weight:600}.filters button.active{background:var(--text);border-color:var(--text);color:var(--bg)}.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.game-card{min-width:0;display:block;text-align:left;border:1px solid var(--line);padding:0;background:var(--surface);border-radius:16px;overflow:hidden;box-shadow:var(--card-shadow)}.game-card:hover{border-color:var(--subtle);transform:translateY(-3px)}.game-card:active{transform:scale(.985)}.game-art{height:135px;position:relative;overflow:hidden;border-bottom:1px solid var(--line)}.game-art:before{content:"";position:absolute;inset:0;background-image:radial-gradient(currentColor .65px,transparent .65px);background-size:11px 11px;opacity:.13}.violet{background:#203453;color:#c6d6f7}.amber{background:#302b24;color:#f1d4a8}.teal{background:#233449;color:#b3cbe6}.rose{background:#2c2733;color:#c4b0ed}[data-theme=light] .violet{background:#dfe7f5;color:#294774}[data-theme=light] .amber{background:#f0e8dc;color:#79602f}[data-theme=light] .teal{background:#e1e9f3;color:#3a557b}[data-theme=light] .rose{background:#eae3f2;color:#65517e}.art-index{position:absolute;top:11px;left:11px;font:600 7px system-ui;letter-spacing:1.3px;opacity:.65}.art-caption{position:absolute;bottom:9px;right:10px;font:600 6px system-ui;letter-spacing:1.8px;opacity:.65}.art-deck{position:absolute;inset:28px 12px 20px;display:flex;align-items:center;justify-content:center;isolation:isolate}.mini-tile{display:flex;align-items:center;justify-content:center;width:41px;height:60px;border:1px solid #eff4ff;border-radius:6px;box-shadow:0 4px #7c91b8,0 8px 10px #0002;background:#dce6f8;color:#233b66;font:700 36px/1 system-ui;transform:rotate(-13deg);flex-shrink:0}.mini-tile:nth-child(2){transform:translateY(-3px) rotate(0);z-index:1;margin-left:-5px}.mini-tile:nth-child(3){transform:rotate(13deg);margin-left:-5px;background:#90abd8}.amber .mini-tile{background:#e8d3b0;border-color:#fae8c9;color:#463a29;box-shadow:0 4px #928164,0 8px 10px #0002;width:48px;height:66px;transform:rotate(12deg)}.amber .mini-tile.dark-tile{background:#4b463c;border-color:#7d7565;color:#eedec3;transform:rotate(-15deg);margin-right:-4px;box-shadow:0 4px #302d24}.amber .mini-tile:nth-child(2){transform:rotate(13deg);margin-left:2px}.shape{width:35px;height:35px;box-shadow:3px 4px #00000035;display:block}.shape-triangle{width:0;height:0;border-left:22px solid transparent;border-right:22px solid transparent;border-bottom:41px solid #aac6eb;box-shadow:none;filter:drop-shadow(1px 4px #48648b);transform:rotate(-13deg)}.shape-circle{background:#e1e9f6;border-radius:50%;margin:0 2px;transform:translateY(-9px);z-index:1}.shape-square{background:#7194c3;border-radius:5px;transform:rotate(18deg)}.trust-orb{width:65px;height:65px;border:1px solid #b9a1d2;background:#cbb9dc;color:#473958;border-radius:50%;display:grid;place-items:center;font:800 9px system-ui;letter-spacing:.6px;box-shadow:1px 5px #5f536b;transform:rotate(-17deg)}.betray-orb{background:#4e435d;border-color:#86709f;color:#e9d1ff;margin-left:-17px;font-size:35px;transform:translateY(8px) rotate(17deg)}.card-info{padding:12px}.card-genre{display:flex;justify-content:space-between;gap:5px;font-size:8px;color:var(--muted);margin-bottom:6px}.card-genre>span{display:flex;align-items:center;gap:3px;white-space:nowrap}.card-genre svg{height:10px;width:10px}.card-info>strong{font-size:15px;letter-spacing:-.055em;font-weight:800;display:block}.card-info p{font-size:10px;line-height:1.7;min-height:34px;color:var(--muted);margin-top:6px;word-break:keep-all}.card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:10px;border-top:1px solid var(--line);gap:4px}.card-bottom>span:first-child{font-size:8px;color:var(--subtle)}.card-arrow{width:23px;height:23px;background:var(--surface-2);border-radius:50%;display:grid;place-items:center;color:var(--text)}.card-arrow svg{height:12px;width:12px}.info-banner{display:flex;align-items:center;gap:12px;margin-top:25px;border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:16px 12px}.banner-icon{width:36px;height:36px;flex:0 0 36px;background:var(--accent-soft);border-radius:11px;display:grid;place-items:center;color:var(--accent-ink)}.banner-icon svg{width:22px;height:22px}.info-banner>div:nth-child(2){flex:1}.info-banner strong{display:block;font-size:11px;font-weight:700}.info-banner p{font-size:9px;color:var(--muted);margin-top:4px}.info-banner button{height:32px;width:28px;border:0;background:transparent;color:var(--muted)}.info-banner button svg{width:17px;height:17px}.lobby-foot{display:flex;justify-content:space-between;margin:24px 0 14px;color:var(--subtle);font-size:8px;letter-spacing:.6px}.legal-note,.fineprint{font-size:10px;color:var(--muted);line-height:1.8;margin:20px 0 5px}.legal-note{font-size:8px;opacity:.85;text-align:center}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);z-index:10;width:100%;max-width:560px;display:grid;grid-template-columns:repeat(4,1fr);padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));background:var(--nav);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-top:1px solid var(--line)}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--subtle);background:transparent;border:0;min-height:48px;position:relative}.bottom-nav button svg{width:21px;height:21px}.bottom-nav button small{font-size:9px;line-height:1.4;font-weight:600}.bottom-nav button.active{color:var(--accent-ink)}.bottom-nav button.active:before{content:"";position:absolute;top:-10px;width:20px;height:2px;background:var(--accent-ink);border-radius:0 0 3px 3px}.detail-hero{border-radius:20px;padding:25px 23px;position:relative;min-height:176px;border:1px solid var(--line);overflow:hidden}.detail-badge{font-size:10px;opacity:.8}.detail-symbol{position:absolute;right:20px;top:8px;font:800 100px system-ui;opacity:.14;letter-spacing:-8px;pointer-events:none}.detail-hero h1{font-size:31px;line-height:1.3;margin:19px 0 9px;position:relative}.detail-hero p{font-size:12px;line-height:1.7;position:relative;max-width:290px}.challenge-callout{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--accent-soft);color:var(--accent-ink);padding:15px;border:1px solid var(--line);border-radius:13px;margin-top:15px}.challenge-callout div{display:flex;flex-direction:column;gap:5px}.challenge-callout span{font-size:11px}.challenge-callout strong{font-size:16px}.challenge-flame{font-size:26px!important}.rule-preview{background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:8px 15px}.rule-line{display:flex;align-items:flex-start;gap:13px;padding:13px 0}.rule-line+.rule-line{border-top:1px solid var(--line)}.rule-line span{font:600 11px system-ui;color:var(--accent-ink);margin-top:2px}.rule-line p{font-size:12px;color:var(--muted);line-height:1.75}.mode-list{display:flex;flex-direction:column;gap:9px}.mode-card{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:15px 12px}.mode-card:hover{border-color:var(--accent-ink)}.mode-card.featured{background:var(--accent-soft);border-color:var(--accent-ink)}.mode-icon{height:39px;width:39px;flex:0 0 39px;display:grid;place-items:center;border-radius:12px;background:var(--surface-2);color:var(--accent-ink);font-size:23px}.mode-icon svg{width:22px;height:22px}.mode-card>span:nth-child(2){flex:1;min-width:0}.mode-card strong{font-size:13px;display:block}.mode-card small{font-size:10px;line-height:1.6;color:var(--muted);display:block;margin-top:4px}.mode-go{font-size:19px;color:var(--subtle)}.difficulty-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);background:var(--surface-2);border-radius:12px;padding:10px 14px;color:var(--muted);font-size:12px}.difficulty-row select{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:9px;padding:9px 12px;font-size:12px}.nickname-row{display:flex;flex-direction:column;gap:10px;margin-top:22px;font-size:12px;color:var(--muted)}.nickname-row input{border:1px solid var(--line);background:var(--surface);border-radius:11px;padding:13px;color:var(--text);font-size:16px;width:100%}.settings-intro{padding:22px 0 25px}.settings-intro h1{font-size:31px;line-height:1.35;margin-top:18px}.settings-intro p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:14px}.theme-options{display:flex;flex-direction:column;gap:10px}.theme-option{display:flex;align-items:center;gap:15px;min-height:86px;border-radius:15px;border:1px solid var(--line);padding:15px;text-align:left;background:var(--surface)}.theme-option.selected{border-color:var(--accent-ink);background:var(--accent-soft)}.theme-option-icon{height:42px;width:42px;display:grid;place-items:center;border:1px solid var(--line);border-radius:12px;color:var(--accent-ink)}.theme-option>span:nth-child(2){flex:1}.theme-option strong{display:block;font-size:14px}.theme-option small{font-size:11px;color:var(--muted);display:block;margin-top:4px}.selection-ring{height:22px;width:22px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center}.selected .selection-ring{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.selection-ring svg{width:15px;height:15px}.settings-note{display:flex;align-items:flex-start;gap:10px;background:var(--surface-2);border-radius:13px;margin-top:18px;padding:16px}.settings-note>svg{width:17px;height:17px;color:var(--accent-ink)}.settings-note p{font-size:11px;line-height:1.8;color:var(--muted)}.build-info{margin:40px 0 0;padding-top:18px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:8px;letter-spacing:1px;color:var(--subtle)}.game-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:6px 0 17px}.help-btn{min-height:36px;background:var(--surface);border:1px solid var(--line);border-radius:9px;font-size:11px;padding:6px 10px;color:var(--muted)}.score-panel{display:flex;align-items:center;border:1px solid var(--line);border-radius:17px;background:var(--surface);padding:17px 20px;gap:15px}.score-panel>div:not(.score-divider){flex:1;display:flex;flex-direction:column;gap:5px}.score-panel>div:last-child{text-align:right}.score-panel span{font-size:11px;color:var(--muted)}.score-panel strong{font:700 32px/1.2 system-ui;letter-spacing:-1px;font-variant-numeric:tabular-nums}.score-panel>div:last-child strong{color:var(--accent-ink)}.score-divider{width:1px;height:38px;background:var(--line)}.match-status{font-size:11px;color:var(--muted);text-align:center;margin:12px 0 17px}.play-panel,.hand-panel{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:17px 13px;margin-top:14px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.panel-heading h2,.hand-panel h2{font-size:16px;margin-top:6px;line-height:1.4}.round-tag{font:600 11px system-ui;color:var(--accent-ink);background:var(--accent-soft);padding:7px 9px;border-radius:8px;white-space:nowrap}.meter{height:3px;background:var(--surface-3);border-radius:3px;margin:0 0 16px;overflow:hidden}.meter span{display:block;height:100%;background:var(--accent-ink);border-radius:3px;transition:width .2s}.flip-lanes{display:flex;flex-direction:column;gap:8px}.flip-lane{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface-2);border-radius:11px;padding:9px 8px;min-height:60px;width:100%}.flip-lane.glow,.flip-lane.hinted{border-color:var(--accent-ink);background:var(--accent-soft)}.flip-lane.hinted{outline:2px solid var(--accent-ink);outline-offset:2px}.flip-lane>b{font:500 9px system-ui;color:var(--subtle);width:18px;flex:0 0 18px}.tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;flex:1}.tiles>span{font:650 20px/1 system-ui;display:grid;place-items:center;min-height:37px;background:var(--tile);color:var(--tile-text);border-radius:6px;box-shadow:0 2px #00000015}.tiles .empty{border:1px dashed var(--line);background:transparent;box-shadow:none;color:var(--subtle);font-size:13px}.tiles .n-2,.tiles .n-8{background:#dde3f1}.tiles .n-3,.tiles .n-7{background:#cbdaf6}.tiles .n-4,.tiles .n-6{background:#d2e1f0}.tiles .n-5{background:#dcd4e4}.flip-lane small{width:35px;flex:0 0 35px;font-size:8px;line-height:1.4;color:var(--muted)}.flip-lane.glow small{color:var(--accent-ink)}.flip-footer{display:flex;justify-content:space-between;margin-top:13px;font-size:10px;color:var(--muted)}.hand-inner{display:flex;gap:18px;align-items:center;margin-top:18px}.big-tile{height:139px;width:105px;flex:0 0 105px;background:var(--art-front);color:var(--art-front-text);display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid var(--art-front-line);border-radius:13px;box-shadow:0 4px #122644}.big-tile.alt{background:#e6d4a4;color:#493a19;border-color:#f8e9c5;box-shadow:0 4px #968457}.big-tile small{font:600 7px system-ui;letter-spacing:2px}.big-tile strong{font:750 65px/1.2 system-ui}.big-tile span{font-size:9px}.hand-side{flex:1;min-width:0}.flip-cta{display:flex;align-items:center;gap:9px;width:100%;padding:11px 9px;background:var(--surface-2);border:1px solid var(--line);border-radius:12px;text-align:left;min-height:62px}.flip-cta>span{font-size:26px;color:var(--accent-ink)}.flip-cta strong{display:block;font-size:12px}.flip-cta small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.upnext{display:flex;align-items:center;justify-content:space-between;margin-top:17px;font-size:14px}.upnext small{font-size:10px;color:var(--muted)}.example-strip{display:flex;justify-content:space-around;gap:10px;font-size:10px;color:var(--muted);margin:18px 0}.example-strip b{color:var(--accent-ink);font-weight:650}.hint-row{display:flex;align-items:center;gap:12px;border:1px solid var(--line);background:var(--surface);border-radius:13px;margin:17px 0 10px;padding:14px 12px}.hint-row>div{flex:1;min-width:0}.hint-row strong{font-size:12px;display:block}.hint-row small{font-size:9px;color:var(--muted);display:block;margin-top:5px;line-height:1.6}.hint-row button{min-height:38px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--accent-soft);color:var(--accent-ink);font-size:11px;font-weight:700;white-space:nowrap}.hint-result{border:1px solid var(--accent-ink);border-radius:11px;background:var(--accent-soft);color:var(--accent-ink);font-size:12px;padding:13px;line-height:1.7}.leave-game{width:100%;min-height:44px;margin-top:13px;border:0;background:transparent;color:var(--muted);font-size:12px}.duel-board{display:flex;align-items:center;justify-content:center;gap:20px;margin:22px 0}.duel-player{display:flex;align-items:center;flex-direction:column;gap:10px}.duel-player small{font-size:11px;color:var(--muted)}.face-card{width:89px;height:116px;border:1px solid var(--art-front-line);background:var(--art-front);color:var(--art-front-text);box-shadow:0 4px #122644;display:grid;place-items:center;border-radius:12px;font:700 58px system-ui}.face-card.cpu{background:var(--surface-2);border-color:var(--line);color:var(--text);box-shadow:0 4px 0 var(--line)}.duel-player>span{font-size:11px;color:var(--accent-ink)}.duel-versus{font:700 13px system-ui;color:var(--subtle)}.round-outcome{text-align:center;font-size:11px;color:var(--muted);margin:10px 0 21px;min-height:20px}.choice-title{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;gap:6px}.choice-title small{font-size:9px;color:var(--muted);font-weight:400}.number-choices{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:13px}.number-choices button{min-height:51px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);font:650 23px system-ui;color:var(--text)}.number-choices button:disabled{text-decoration:line-through;opacity:.25}.number-choices .hinted{outline:2px solid var(--accent-ink);background:var(--accent-soft);color:var(--accent-ink)}.sub-stats{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:18px;font-size:10px;color:var(--muted)}.triad-description{font-size:11px;line-height:1.8;color:var(--muted);margin-bottom:17px}.triad-description strong{font-weight:700;color:var(--text)}.triad-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.triad-card{aspect-ratio:.94;background:var(--surface-2);border:1px solid var(--line);border-radius:11px;display:flex;flex-wrap:wrap;justify-content:center;align-content:center;gap:2px;min-width:0;padding:6px}.triad-card span{font-size:20px;line-height:1.25}.triad-card.coral{color:var(--coral)}.triad-card.aqua{color:var(--aqua)}.triad-card.gold{color:var(--gold)}.triad-card.selected{border-color:var(--accent-ink);outline:1px solid var(--accent-ink);background:var(--accent-soft)}.triad-card.hinted{outline:2px dashed var(--accent-ink);outline-offset:1px}.skip-btn{min-height:36px;background:transparent;border:0;color:var(--muted);font-size:10px;padding:5px}.payoff-box{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.payoff-box>div{border-radius:10px;border:1px solid var(--line);background:var(--surface-2);padding:13px 11px}.payoff-box span{display:block;font-size:10px;color:var(--muted);margin-bottom:6px}.payoff-box strong{font-size:12px}.last-choice{text-align:center;font-size:11px;line-height:1.8;color:var(--muted);margin:19px 0}.last-choice b{color:var(--accent-ink)}.trust-actions{display:flex;gap:12px}.trust-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;flex:1;background:var(--accent-soft);border:1px solid var(--line);color:var(--accent-ink);border-radius:14px;padding:18px 6px;min-height:129px}.trust-actions button:nth-child(2){background:var(--surface-2);color:var(--text)}.trust-actions button>span svg{width:27px;height:27px}.trust-actions strong{font-size:18px}.trust-actions small{color:var(--muted);font-size:10px}.modal-backdrop{position:fixed;inset:0;background:var(--backdrop);z-index:20;display:flex;justify-content:center;align-items:center;padding:20px;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.modal-card{width:100%;max-width:435px;background:var(--surface);border:1px solid var(--line);border-radius:21px;padding:22px;max-height:85dvh;overflow-y:auto;box-shadow:var(--shadow)}.modal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.modal-top h2{font-size:19px}.modal-top button{width:34px;height:34px;font-size:24px}.btn{border-radius:11px;min-height:49px;font-size:12px;font-weight:750;padding:12px}.btn.full{width:100%;margin-top:10px}.btn.primary{background:var(--accent);color:var(--accent-text);border:1px solid var(--accent)}.btn.secondary{border:1px solid var(--line);background:var(--surface-2);color:var(--text)}.btn.tertiary{border:1px solid var(--line);background:transparent;color:var(--muted)}.result-box{background:var(--surface);border:1px solid var(--line);border-radius:23px;padding:27px 19px;text-align:center}.result-emblem{width:70px;height:70px;border-radius:21px;background:var(--accent-soft);border:1px solid var(--line);color:var(--accent-ink);display:grid;place-items:center;font-size:35px;margin:0 auto 22px}.result-box h1{font-size:22px;margin:12px auto 9px;line-height:1.4;max-width:330px}.result-box>p{font-size:11px;color:var(--muted);margin-bottom:20px}.result-numbers{display:flex;align-items:center;justify-content:space-around;background:var(--surface-2);border:1px solid var(--line);padding:20px 10px;border-radius:15px;margin:19px 0}.result-numbers>div:not(.result-vs){display:flex;flex-direction:column;gap:9px}.result-numbers span{color:var(--muted);font-size:11px}.result-numbers strong{font:700 28px system-ui;font-variant-numeric:tabular-nums}.result-numbers>div:last-child strong{color:var(--accent-ink)}.result-vs{font-size:11px;color:var(--subtle)}.reward-box{text-align:left;display:flex;align-items:center;justify-content:space-between;gap:9px;background:var(--accent-soft);border:1px solid var(--line);border-radius:12px;padding:14px 11px;margin:18px 0}.reward-box>div{display:flex;align-items:center;gap:9px}.reward-icon{color:var(--accent-ink);font-size:28px}.reward-box strong{font-size:12px}.reward-box small{display:block;font-size:9px;color:var(--muted);margin-top:5px;line-height:1.6}.reward-box>span{white-space:nowrap;font-size:9px;color:var(--accent-ink)}.ad-card{text-align:left;background:var(--surface-2);border:1px dashed var(--line);border-radius:14px;padding:17px;margin-top:24px}.ad-card>span{font-size:8px;letter-spacing:1.5px;color:var(--subtle)}.ad-card strong{display:block;font-size:13px;margin-top:9px}.ad-card p{font-size:11px;color:var(--muted);line-height:1.7;margin:8px 0 14px}.ad-card button{background:var(--surface);border:1px solid var(--line);color:var(--text);padding:12px;border-radius:9px;width:100%;font-size:11px;font-weight:700;min-height:42px}.wallet-hero{border-radius:21px;border:1px solid var(--line);background:var(--hero);padding:30px 22px;text-align:center}.wallet-balance{display:flex;align-items:center;justify-content:center;gap:12px;margin:19px 0}.wallet-big-icon{font-size:42px;color:var(--accent-ink)}.wallet-balance strong{font:700 48px/1 system-ui;font-variant-numeric:tabular-nums;letter-spacing:-2px}.wallet-balance>span:last-child{font-size:10px;color:var(--muted)}.wallet-hero p{color:var(--muted);font-size:11px;line-height:1.8}.shop-card{display:flex;gap:11px;align-items:center;border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:14px 11px;margin:10px 0}.shop-icon{height:40px;width:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:11px;background:var(--surface-2);color:var(--accent-ink);font-size:21px}.shop-icon.gift,.shop-icon.hint{background:var(--accent-soft)}.shop-card>div:nth-child(2){flex:1;min-width:0}.shop-card strong{font-size:12px}.shop-card p{font-size:10px;color:var(--muted);line-height:1.7;margin:5px 0 0}.shop-card button{background:var(--accent-soft);border:1px solid var(--line);color:var(--accent-ink);padding:9px 12px;border-radius:9px;font-size:11px;font-weight:700;white-space:nowrap;min-height:38px}.price-tag{font-size:12px;color:var(--accent-ink);white-space:nowrap}.record-list{display:flex;flex-direction:column;gap:10px}.record-row{width:100%;display:flex;align-items:center;gap:12px;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:14px;padding:14px 12px;text-align:left}.record-icon{width:44px;height:48px;display:grid;place-items:center;border-radius:10px;font:700 23px system-ui}.record-row>span:nth-child(2){display:flex;flex-direction:column;gap:5px;flex:1}.record-row>span:nth-child(2) strong{font-size:12px}.record-row small{color:var(--muted);font-size:10px}.record-row>b{font-size:13px;color:var(--accent-ink)}.record-row em{font-size:14px;font-style:normal;color:var(--subtle)}.history-list>div{display:flex;justify-content:space-between;gap:12px;border:1px solid var(--line);background:var(--surface);padding:14px;border-radius:11px;margin-bottom:8px;color:var(--muted);font-size:11px}.history-list strong{color:var(--text);white-space:nowrap}.toast{position:fixed;bottom:calc(92px + env(safe-area-inset-bottom,0px));left:50%;transform:translate(-50%,12px);background:var(--toast-bg);color:var(--toast-text);padding:13px 18px;border-radius:12px;box-shadow:var(--shadow);max-width:min(90vw,450px);width:max-content;text-align:center;font-size:12px;line-height:1.7;opacity:0;pointer-events:none;z-index:30;transition:opacity .16s,transform .16s}.toast.show{opacity:1;transform:translate(-50%)}@media(max-width:365px){.shell{padding-left:15px;padding-right:15px}.topbar{min-height:79px}.top-left{gap:7px}.brand-title{font-size:15px}.brand-sub{font-size:7px;letter-spacing:1.4px}.brand-avatar{width:29px;height:32px}.top-actions{gap:3px}.theme-toggle{width:31px}.wallet-link{padding:0 9px;gap:4px}.hero{padding:20px 18px 16px;min-height:338px}.hero h1{font-size:29px;line-height:1.32}.hero p{font-size:10px}.hero-art{right:-20px;bottom:48px;transform:scale(.86);transform-origin:right bottom}.hero-cta{font-size:11px;width:158px;padding:11px}.edition{font-size:5px;letter-spacing:.7px}.quick-modes{gap:8px}.quick-modes button{gap:7px;padding:13px 9px}.quick-modes button>svg:last-child{display:none}.quick-modes small{font-size:7.5px}.section-title h2{font-size:19px}.game-grid{gap:10px}.game-art{height:124px}.card-info{padding:10px}.card-info>strong{font-size:13px}.card-info p{font-size:9px;min-height:32px}.card-genre{font-size:7.5px}.flip-lane{gap:5px;padding:8px 6px}.flip-lane>b{width:16px;flex-basis:16px}.flip-lane small{width:28px;flex-basis:28px}.tiles{gap:4px}.tiles>span{min-height:34px;font-size:18px}.hand-inner{gap:13px}.big-tile{width:94px;flex-basis:94px}.triad-card span{font-size:18px}}@media(min-width:480px){.hero{min-height:350px;padding:27px}.hero-art{width:175px;transform:scale(1.15);right:6px;bottom:59px}.hero-cta{width:190px}.hero h1{font-size:41px}.hero p{font-size:12px}.game-art{height:160px}.art-deck{transform:scale(1.1)}.card-info{padding:16px}.card-info>strong{font-size:17px}.card-info p{font-size:11px}.card-genre{font-size:9px}.quick-modes strong{font-size:13px}.quick-modes small{font-size:10px}.quick-modes button{padding:15px;gap:11px}}@media(min-width:900px){.lobby-shell{max-width:1060px;padding-left:35px;padding-right:35px}.lobby-shell .topbar{min-height:100px}.lobby-eyebrow{margin:20px 0}.hero{min-height:360px;padding:29px 34px}.hero h1{font-size:51px;margin:23px 0 12px}.hero p{font-size:13px}.hero-cta{margin-top:25px}.hero-art{right:110px;bottom:75px;transform:scale(1.8)}.hero-bottom{margin-top:24px}.hero-top .edition{font-size:8px}.quick-modes{gap:18px}.quick-modes button{padding:18px 25px}.quick-modes strong{font-size:15px}.quick-modes small{font-size:11px}.quick-modes button>svg:first-child{width:26px;height:26px}.quick-modes button>svg:last-child{width:18px;height:18px}.lobby-shell .game-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.game-art{height:150px}.lobby-shell .card-info p{min-height:56px}.lobby-shell .info-banner{padding:20px}.info-banner strong{font-size:13px}.info-banner p{font-size:11px}.bottom-nav{border-left:1px solid var(--line);border-right:1px solid var(--line);border-top-left-radius:20px;border-top-right-radius:20px}.lobby-shell .lobby-foot{margin-top:30px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.in-toss .topbar{padding-top:calc(var(--toss-top,0px) + 6px);padding-right:calc(var(--toss-right,0px) + 100px);min-height:calc(var(--toss-top,0px) + 58px)}.in-toss .theme-toggle{display:none}.in-toss .bottom-nav{padding-bottom:calc(10px + max(env(safe-area-inset-bottom,0px),var(--toss-bottom,0px)))}.filters button{min-height:40px;font-size:12px;padding:8px 16px}.in-toss .wallet-link{min-height:40px}.violet{--g:#8b6cff;--g-deep:#2a2257;--g-pastel:#ece8ff;--g-ink:#5a3fd0}.amber{--g:#f5a524;--g-deep:#3a2b10;--g-pastel:#fdf0d9;--g-ink:#a3660a}.teal{--g:#19c2ad;--g-deep:#0f3330;--g-pastel:#dcf5f1;--g-ink:#0f7f72}.rose{--g:#ff5c7a;--g-deep:#3d1621;--g-pastel:#ffe3e9;--g-ink:#c22f4e}.green{--g:#3fcf6e;--g-deep:#123321;--g-pastel:#def6e5;--g-ink:#1e8a45}.sky{--g:#33b5ff;--g-deep:#0e2c44;--g-pastel:#dcf0fd;--g-ink:#1675b8}.coral{--g:#ff8a4c;--g-deep:#3d1f10;--g-pastel:#ffe9dc;--g-ink:#c25a20}.game-art.violet,.game-art.amber,.game-art.teal,.game-art.rose,.game-art.green,.game-art.sky,.game-art.coral,.detail-hero.violet,.detail-hero.amber,.detail-hero.teal,.detail-hero.rose,.detail-hero.green,.detail-hero.sky,.detail-hero.coral{background:radial-gradient(120% 140% at 85% 0%,color-mix(in srgb,var(--g) 45%,transparent) 0%,transparent 60%),var(--g-deep);color:#fff}[data-theme=light] .game-art:is(.violet,.amber,.teal,.rose,.green,.sky,.coral),[data-theme=light] .detail-hero:is(.violet,.amber,.teal,.rose,.green,.sky,.coral){background:radial-gradient(120% 140% at 85% 0%,color-mix(in srgb,var(--g) 30%,transparent) 0%,transparent 62%),var(--g-pastel);color:var(--g-ink)}.game-art .art-caption,.game-art .art-index{opacity:.85}html[data-game]{--accent:var(--gx);--accent-hover:var(--gx);--accent-ink:var(--gx-ink);--accent-soft:var(--gx-soft);--focus:var(--gx-ink)}html[data-game=violet]{--gx:#6f52e6;--gx-ink:#b9a8ff;--gx-soft:#2a2257}html[data-game=amber]{--gx:#c9800f;--gx-ink:#ffcd7a;--gx-soft:#3a2b10}html[data-game=teal]{--gx:#12968a;--gx-ink:#7fe6d8;--gx-soft:#0f3330}html[data-game=rose]{--gx:#d93a5c;--gx-ink:#ff9fb2;--gx-soft:#3d1621}html[data-game=green]{--gx:#24a352;--gx-ink:#8ff0ad;--gx-soft:#123321}html[data-game=sky]{--gx:#1d8fd6;--gx-ink:#8fd3ff;--gx-soft:#0e2c44}html[data-game=coral]{--gx:#e0662a;--gx-ink:#ffb48a;--gx-soft:#3d1f10}html[data-theme=light][data-game=violet]{--gx-ink:#5a3fd0;--gx-soft:#ece8ff}html[data-theme=light][data-game=amber]{--gx:#b8720a;--gx-ink:#94600a;--gx-soft:#fbefd8}html[data-theme=light][data-game=teal]{--gx:#0f8a7d;--gx-ink:#0c7166;--gx-soft:#dcf3ef}html[data-theme=light][data-game=rose]{--gx-ink:#b42a48;--gx-soft:#fde3e9}html[data-theme=light][data-game=green]{--gx:#1e8f46;--gx-ink:#18793b;--gx-soft:#dff4e6}html[data-theme=light][data-game=sky]{--gx:#1b7fc2;--gx-ink:#16689e;--gx-soft:#ddeefb}html[data-theme=light][data-game=coral]{--gx:#cf5a1f;--gx-ink:#a8481a;--gx-soft:#fde8dc}html[data-game] .score-panel strong,html[data-game] .round-tag,html[data-game] .mini-kicker{color:var(--accent-ink)}html[data-game] .round-tag{background:var(--accent-soft)}.primary-btn{width:100%;min-height:48px;border:0;border-radius:14px;background:var(--accent);color:#fff;font-weight:800;font-size:15px}.primary-btn:disabled{opacity:.45}.ghost-btn{min-height:48px;padding:0 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);color:var(--text);font-weight:700}.choice-btn{flex:1;min-height:56px;border:1px solid var(--line);border-radius:14px;background:var(--accent-soft);color:var(--accent-ink);font-weight:800;font-size:14px}.choice-btn:disabled{opacity:.35}.bb-slots{display:flex;justify-content:center;gap:12px;margin:6px 0 16px}.bb-slot{width:64px;height:78px;border-radius:14px;border:2px dashed var(--line);display:grid;place-items:center;font:800 40px system-ui;color:var(--text)}.bb-slot.filled{border-style:solid;border-color:var(--accent);background:var(--accent-soft);color:var(--accent-ink)}.bb-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.bb-pad button{min-height:52px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);font:800 22px system-ui}.bb-pad button:disabled{opacity:.3}.bb-actions{display:flex;gap:8px;margin:12px 0}.bb-actions .primary-btn{flex:1}.bb-log{display:grid;gap:6px;max-height:240px;overflow:auto}.bb-log div{display:flex;align-items:center;gap:10px;background:var(--surface-2);border-radius:10px;padding:9px 12px;font-size:14px}.bb-log span{color:var(--muted);width:22px}.bb-log b{letter-spacing:.2em;font-size:17px;flex:1}.bb-log em{font-style:normal;font-weight:800;color:var(--accent-ink)}.bb-log em.hit{color:#fff;background:var(--accent);padding:2px 8px;border-radius:8px}.bb-log p{color:var(--muted);font-size:12px;text-align:center;margin:6px 0}.nim-score{display:flex;justify-content:space-around;font-size:13px;color:var(--muted);margin-bottom:10px}.nim-score b{font-size:20px;color:var(--accent-ink)}.nim-pile{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:14px;border-radius:14px;background:var(--surface-2);min-height:84px}.nim-stone{width:26px;height:26px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffffffcc,transparent 45%),var(--accent);box-shadow:0 3px #0003}.nim-stone.last{background:radial-gradient(circle at 35% 30%,#ffffffcc,transparent 45%),#ff5c7a}.nim-count{text-align:center;margin:10px 0 0;color:var(--muted)}.nim-count b{font-size:22px;color:var(--text)}.nim-actions{display:flex;gap:8px}.auc-lot{display:flex;align-items:center;gap:14px;padding:16px;border-radius:16px;background:var(--accent-soft);margin-bottom:12px}.auc-lot.trap{background:#ff5c7a22;outline:1px solid #ff5c7a66}.auc-icon{font-size:44px;line-height:1}.auc-lot strong{display:block;font-size:19px}.auc-lot small{color:var(--muted);font-size:13px}.auc-wallets{display:flex;gap:8px;margin-bottom:12px}.auc-wallets div{flex:1;background:var(--surface-2);border-radius:12px;padding:10px;text-align:center}.auc-wallets span{display:block;font-size:11px;color:var(--muted)}.auc-wallets b{font-size:22px}.auc-bid{display:flex;align-items:center;gap:6px;margin-bottom:10px}.auc-bid button{width:52px;min-height:48px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);font-weight:800}.auc-bid strong{flex:1;text-align:center;font:800 34px system-ui;color:var(--accent-ink)}.auc-bid small{font-size:14px;margin-left:2px}.auc-bag{display:flex;align-items:center;gap:6px;margin-top:4px;font-size:12px;color:var(--muted)}.auc-bag i{font-style:normal;font-size:22px}.auc-bag em{font-style:normal}.bb-ball{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font:800 20px system-ui;background:#fff;color:#1e8a45;box-shadow:0 4px #0002;margin:0 -4px}.game-art .nim-stone{width:22px;height:22px;margin:0 2px;background:radial-gradient(circle at 35% 30%,#fff,transparent 45%),var(--g)}.game-art .nim-stone.last{background:radial-gradient(circle at 35% 30%,#fff,transparent 45%),#ff5c7a}.auc-item{font-size:34px;filter:drop-shadow(0 4px 4px #0003);margin:0 2px}
