/* © doudizhu — 压缩产物，源码见仓库 public/ */
:root{--bg: #a81117;--bg-2: #7c0f14;--felt: #2f9455;--felt-2: #1f7a44;--felt-3: #145a32;--felt-hi: #4cb271;--rail: #f2dca4;--panel: rgba(255, 252, 243, .96);--panel-2: rgba(255, 250, 240, .98);--line: rgba(150, 108, 44, .25);--line-2: rgba(212, 152, 62, .6);--muted: #8a7350;--gold: #ffd75e;--gold-2: #f0a83c;--gold-3: #c8892a;--text: #5a3a1e;--pos: #e23c3c;--neg: #1fa856;--accent: #e8762a;--danger: #e23c3c;--cta-hi: #ffe08e;--cta: #f6a93b;--cta-lo: #d97f16;--radius: 16px;--shadow: 0 16px 40px rgba(90, 10, 6, .35);--font: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;padding:0;height:100%;background:var(--bg);color:var(--text);font-family:var(--font);overflow:hidden}#app{height:100%}::selection{background:#ffd75e66}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#ffd67859;border-radius:8px}::-webkit-scrollbar-track{background:transparent}.screen{display:none;height:100%}.screen.active{display:block}button{font-family:inherit;font-size:14px;cursor:pointer;border:1.5px solid rgba(184,120,40,.55);background:linear-gradient(180deg,#fff4cf,#ffe29a 46%,#f9c55e);color:#6e3a08;border-radius:13px;padding:10px 16px;font-weight:700;box-shadow:inset 0 1px #fffc,0 3px #965a1473,0 6px 14px #78320a40;transition:transform .08s ease,filter .14s ease,box-shadow .14s ease}@media(hover:hover){button:hover:not(:disabled){filter:brightness(1.05) saturate(1.05)}}button:active:not(:disabled){transform:translateY(2px);box-shadow:inset 0 1px #ffffffb3,0 1px #965a1473,0 3px 8px #78320a33}button:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.25)}button.primary{background:linear-gradient(180deg,#fff3b8,#ffd35e 42%,#f9a83b 78%,#ef8f22);border-color:#c07a1a;color:#6e3a08;font-weight:900;letter-spacing:2px;box-shadow:inset 0 2px #ffffffd9,inset 0 -3px #c8781e66,0 4px #c47a18,0 10px 22px #b4641466}@media(hover:hover){button.primary:hover:not(:disabled){background:linear-gradient(180deg,#fff7cc,#ffdc74 42%,#ffb449 78%,#f39828)}}button.primary:active:not(:disabled){transform:translateY(3px);box-shadow:inset 0 2px #ffffffb3,inset 0 -2px #c8781e59,0 1px #c47a18,0 4px 10px #b4641459}button.ghost{background:#ffffff29;border-color:#ffe2aa80;color:#fff2d8;box-shadow:inset 0 1px #ffffff2e}@media(hover:hover){button.ghost:hover:not(:disabled){background:#ffffff3d}}.icon{width:14px;height:14px;vertical-align:-2px;margin-right:3px}.row{display:flex;align-items:center;gap:10px}.row .spacer,.spacer{flex:1}input{font-family:inherit;font-size:14px;width:100%;padding:11px 13px;border-radius:12px;border:1.5px solid #e0c48c;background:#fffdf4;color:var(--text);outline:none;box-shadow:inset 0 2px 4px #96641e1a;transition:border-color .15s ease,box-shadow .15s ease}input:focus{border-color:var(--gold-2);box-shadow:0 0 0 3px #f6a93b40,inset 0 2px 4px #96641e14}input::placeholder{color:#c2a878}@media(pointer:coarse){input,.chat-input{font-size:16px}}.field{margin-bottom:14px}.field label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px;letter-spacing:.5px}.pill{display:inline-flex;align-items:center;gap:4px;padding:4px 11px;border-radius:999px;background:#5a140e59;border:1px solid rgba(255,214,120,.35);font-size:12px;color:#ffe3ae;white-space:nowrap}.pill--room{color:#ffe9bd;border-color:#ffd6788c;font-weight:600}.pill--phase{color:#ffc59d;border-color:#ffa06e73}.pill--mult{color:var(--gold);cursor:pointer;font-weight:800;border-color:#ffd67899;background:#5a140e80}#screen-lobby.active{display:block}.lobby-bg{position:fixed;inset:0;z-index:0;background:radial-gradient(ellipse 1000px 520px at 50% -12%,rgba(255,210,95,.55) 0%,rgba(255,150,60,.22) 42%,transparent 68%),radial-gradient(circle at 50% 118%,rgba(255,180,90,.28),transparent 55%),linear-gradient(180deg,#e2453a,#c81f24 38%,#a81117 72%,#7c0f14)}.lobby-bg__rays,.lobby-lantern,.lobby-cloud{display:none}.lobby-top{position:relative;z-index:3;display:flex;align-items:center;gap:10px;padding:14px 16px 6px}.player-chip{display:flex;align-items:center;gap:12px;padding:8px 14px 8px 8px;border-radius:18px;background:linear-gradient(180deg,#7e1014e0,#600a0ed1);border:1.5px solid rgba(255,206,110,.75);box-shadow:0 8px 20px #50060480,inset 0 1px #ffe2aa4d;max-width:min(64vw,480px)}.lobby-avatar{flex:0 0 auto;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(160deg,#fff3d2,#f6cf7e);border:2.5px solid #ffd76e;box-shadow:0 0 0 2px #ffa03c66,0 4px 10px #3c060480;color:#a05a10}.player-chip__id{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px}.player-chip__name{display:flex;align-items:center;gap:6px;font-size:12px;color:#ffe6c0;overflow:hidden;white-space:nowrap}.player-chip__name b{color:#ffe9bd;font-size:15px;overflow:hidden;text-overflow:ellipsis}#screen-lobby .rank-chip{flex:0 0 auto;background:#ffd67833;border-color:#ffd67899;color:#ffd98a}.player-chip__beans{display:inline-flex;align-items:center;gap:6px;font-size:20px;font-weight:900;color:#ffd76e;font-variant-numeric:tabular-nums}.player-chip__side{display:flex;flex-direction:column;gap:5px;flex:0 0 auto}.chip-btn{font-size:11px;font-weight:800;letter-spacing:1px;padding:4px 12px;border-radius:999px;min-height:32px;display:inline-flex;align-items:center;background:linear-gradient(180deg,#ffe08e,#f2b13e);border:1.5px solid #b47818;color:#5c2c04;box-shadow:inset 0 1px #fff9,0 2px #8c500e80}.chip-btn--aid{background:linear-gradient(180deg,#ffd2c2,#f2987e);border-color:#b4502e;color:#6e2410}button,.card,.pill--mult,.dock__btn,.qc-btn,.chip-btn,.room-card,.mode-card,.seat,.co-suit,.hist-replay,.ghost,.pill{touch-action:manipulation}.dock{display:flex;gap:8px}.dock__btn{display:flex;flex-direction:column;align-items:center;gap:3px;width:60px;padding:9px 4px 7px;border-radius:16px;font-size:11px;letter-spacing:2px;font-weight:800;background:linear-gradient(180deg,#ffe29a,#f4b446);border:1.5px solid #b47818;color:#5c2c04;box-shadow:inset 0 1px #ffffffa6,0 3px #8c500e80,0 8px 16px #50060466}.dock__btn span{padding-left:2px}.dock__btn:active:not(:disabled){box-shadow:inset 0 1px #fff9,0 1px #8c500e80}.dock__btn--muted{filter:saturate(.55) brightness(.92)}.lobby-stage{position:relative;z-index:2;flex:1 1 auto;min-height:0;width:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin}.lobby-stage__inner{width:100%;max-width:680px;margin:0 auto;padding:6px 18px 12px;display:flex;flex-direction:column}.brand{text-align:center;margin:6px 0 14px}.brand__crown{width:52px;height:31px;display:block;margin:0 auto 2px;filter:drop-shadow(0 3px 6px rgba(80,8,4,.5))}.brand h1{margin:0 0 8px;font-size:clamp(32px,7vw,44px);letter-spacing:4px;font-weight:900;background:linear-gradient(180deg,#fff7d4 8%,#ffe28a 38%,#ffc44e 70%,#f2952c 96%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 2px 0 #a8450c}.brand .sub{color:#ffedcf;font-size:12px;letter-spacing:3px;display:inline-flex;align-items:center;gap:10px}.brand .sub:before,.brand .sub:after{content:"";width:28px;height:1.5px;background:linear-gradient(90deg,transparent,rgba(255,214,120,.8))}.brand .sub:after{transform:scaleX(-1)}.guest-card{width:100%;max-width:430px;margin:0 auto 18px;padding:18px 18px 14px;border-radius:20px;background:linear-gradient(180deg,#fff9e8,#ffefc8);border:2px solid #e8b64c;box-shadow:0 14px 34px #46080680,inset 0 1px #fff}.auth-tabs{display:flex;gap:6px;margin-bottom:14px;padding:4px;border-radius:12px;background:#7850141f;border:1px solid rgba(150,100,30,.25)}.auth-tab{flex:1;padding:8px;font-size:13px;background:transparent;border:none;border-radius:9px;box-shadow:none;color:var(--muted)}.auth-tab.active{color:#5a2c00;background:linear-gradient(180deg,#ffe08e,#f2b13e);font-weight:800;box-shadow:inset 0 1px #fff9,0 3px 8px #e8762a59}.auth-tip{margin-top:11px;font-size:11px;color:var(--muted);text-align:center;line-height:1.7}.auth-tip b{color:#c05e14}.auth-remember{display:flex;align-items:center;gap:7px;margin-top:11px;font-size:12px;color:var(--muted);cursor:pointer;-webkit-user-select:none;user-select:none;line-height:1.4}.auth-remember input{width:15px;height:15px;accent-color:#c05e14;margin:0;flex:none}.section-title{font-size:14px;letter-spacing:2.5px;color:#ffeecb;font-weight:800;margin:10px 0 12px;display:flex;align-items:center;gap:12px}.section-title:before,.section-title:after{content:"";height:1.5px;flex:1;background:linear-gradient(90deg,transparent,rgba(255,214,120,.65),transparent)}.room-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.room-card{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto auto;grid-template-areas:"icon name" "icon desc" "icon gate";column-gap:11px;row-gap:2px;align-items:center;padding:13px 14px;border-radius:18px;text-align:left;background:linear-gradient(168deg,#ffe9b2,#f6bd55);border:2px solid #c8892a;color:#5c2c04;overflow:hidden;box-shadow:inset 0 1px #ffffff8c,0 4px #8c541073,0 10px 20px #50060459;transition:transform .12s ease,box-shadow .15s ease}@media(hover:hover){.room-card:hover:not(:disabled){transform:translateY(-3px);box-shadow:inset 0 1px #ffffff8c,0 6px #8c541073,0 14px 26px #50060466}}.room-card.active{border:2.5px solid #fff6d8;transform:translateY(-2px);box-shadow:0 0 0 3px #ffd6788c,inset 0 1px #fff9,0 8px 18px #50060473}.room-card__icon{grid-area:icon;font-size:30px;line-height:1;align-self:center}.room-card__name{grid-area:name;font-size:15px;font-weight:900;color:#8a3d06;letter-spacing:1px}.room-card__desc{grid-area:desc;font-size:11px;color:#7c5626;line-height:1.4}.room-card__gate{grid-area:gate;font-size:11px;color:#14682f;font-weight:700}.room-card__gate:before{content:"\1f6aa  "}.room-card--wild{border-color:#b03a1a;background:linear-gradient(168deg,#ffd9a8,#f2955a)}.room-card--wild:after{content:"\1f525";position:absolute;top:8px;right:10px;font-size:14px;filter:drop-shadow(0 0 5px rgba(255,150,60,.8))}.room-tip{min-height:16px;font-size:11px;color:#ffe3b8;margin:10px 0 4px;text-align:center}.room-tip b,.room-tip .warn{color:#ffe08e}.mode-cards{display:flex;flex-direction:column;gap:12px;margin:8px 0 18px}.mode-cards--casual{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mode-card--casual .mode-card__icon{background:linear-gradient(160deg,#7de0a8,#2f9455);border-color:#1e6e3c;color:#eafff2}.mode-cards--casual .mode-card{column-gap:12px;padding:13px 14px}.mode-cards--casual .mode-card__title{font-size:15px;letter-spacing:.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mode-cards--casual .mode-card__desc{font-size:12px}.mode-cards--casual .mode-card__go{width:34px;height:34px;padding:0;display:grid;place-items:center;font-size:18px;line-height:1;border-radius:50%}.mode-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"icon body go";column-gap:14px;align-items:center;width:100%;text-align:left;padding:14px 16px;border-radius:18px;background:linear-gradient(168deg,#7e1014eb,#580a0ee0);border:1.5px solid rgba(255,206,110,.65);box-shadow:0 8px 20px #3c060473,inset 0 1px #ffe2aa38;transition:transform .12s ease,border-color .15s ease}@media(hover:hover){.mode-card:hover:not(:disabled){transform:translateY(-3px);border-color:#ffdc8ce6}}.mode-card__icon{grid-area:icon;flex:0 0 auto;width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(160deg,#fff3b0,#ffce56);border:2px solid #b47818;color:#6e3204;box-shadow:inset 0 1px #ffffff8c,0 4px 10px #3c060466}.mode-card__body{grid-area:body;min-width:0;display:flex;flex-direction:column;gap:4px}.mode-card__title{font-size:16px;font-weight:900;letter-spacing:1px;color:#ffe9bd}.mode-card__desc{font-size:12px;color:#ffedcf;line-height:1.5}.mode-card__go{grid-area:go;justify-self:end;text-align:center;font-size:13px;font-weight:900;letter-spacing:1px;color:#6e3a08;background:linear-gradient(180deg,#fff3b8,#ffd35e 46%,#f9a83b);border:1.5px solid #c07a1a;padding:8px 16px;border-radius:999px;white-space:nowrap;box-shadow:inset 0 1px #ffffffd9,0 2px #c47a18,0 5px 12px #b4641459}.mode-card__tag{position:absolute;top:-9px;right:12px;font-size:10px;font-weight:800;letter-spacing:1px;color:#6e3a08;padding:2px 10px;border-radius:999px;background:linear-gradient(180deg,#ffe08e,#f2b13e);border:1.5px solid #b47818;box-shadow:0 2px 5px #50060459}.mode-card__tag--on{color:#fff;background:linear-gradient(180deg,#ff6a4a,#d92c18);border-color:#a81f0e}.mode-card--hero{padding:16px;background:radial-gradient(ellipse 120% 100% at 50% 0%,rgba(255,160,70,.28),transparent 55%),linear-gradient(165deg,#d93826,#b02015 55%,#7c0f0b);border-color:#ffe296e6;box-shadow:0 12px 30px #4608048c,inset 0 1px #ffe6aa66,inset 0 -14px 24px #5a0a0466}.mode-card--hero .mode-card__icon{width:58px;height:58px;background:linear-gradient(160deg,#fff7cc,#ffd45e)}.mode-card--hero .mode-card__title{font-size:18px;color:#fff6d8}.mode-card--hero .mode-card__desc{color:#fff1d9;font-size:12px}.mode-card--hero .mode-card__go{font-size:13px;letter-spacing:1px;padding:8px 18px;background:linear-gradient(180deg,#fff7cc,#ffdd6e 46%,#fbab3c);box-shadow:inset 0 1px #ffffffe6,0 2px #c47a18,0 5px 12px #b4641466}#custom-form{width:100%;margin:0 0 16px;padding:16px 16px 14px;border-radius:16px;background:var(--panel-2);border:1px solid var(--line);box-shadow:0 18px 44px #00000073}.mode-toggle{font-size:12px;padding:7px 13px;border-radius:999px;background:#ffffff0f;border:1px solid var(--line-strong);color:var(--text)}.mode-toggle.active{color:#221806;font-weight:800;background:linear-gradient(180deg,#ffe08e,#f2b13e);border-color:var(--gold-deep);box-shadow:inset 0 1px #ffffff80,0 3px 8px #0000004d}.rules-wrap{margin-top:2px;border-radius:14px;background:var(--panel);border:1px solid var(--line-strong);overflow:hidden}.rules-wrap summary{cursor:pointer;-webkit-user-select:none;user-select:none;padding:12px 15px;font-size:12px;letter-spacing:3px;font-weight:800;color:var(--gold-2);list-style:none;display:flex;align-items:center;gap:8px}.rules-wrap summary::-webkit-details-marker{display:none}.rules-wrap summary:before{content:"\25b8";color:var(--gold-2);transition:transform .15s ease}.rules-wrap[open] summary:before{transform:rotate(90deg)}.rules{font-size:11px;color:var(--muted);line-height:1.85;padding:0 15px 13px;background:transparent;border:none;border-radius:0}.rules b{color:var(--gold-2)}.overlay{display:none;position:fixed;inset:0;z-index:60;align-items:center;justify-content:center;padding:18px;background:#4614088c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.overlay.show{display:flex;animation:fadeIn .18s ease}.result-card{width:100%;max-width:480px;max-height:92vh;max-height:92dvh;overflow-y:auto;background:var(--panel);border:1px solid var(--line-strong);border-radius:20px;padding:22px;box-shadow:var(--shadow);animation:popIn .22s cubic-bezier(.2,1.3,.4,1)}@keyframes popIn{0%{transform:scale(.92);opacity:0}to{transform:none;opacity:1}}.result-card--action{max-width:380px}.result-card h2{margin:0 0 6px;text-align:center;font-size:21px;letter-spacing:3px;color:var(--text)}.result-card h2.win{font-size:30px;letter-spacing:6px;background:linear-gradient(180deg,#ffd75e,#f7952c 55%,#d97706);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 2px 0 rgba(150,70,10,.4)}.result-card h2.lose{font-size:30px;letter-spacing:6px;background:linear-gradient(180deg,#aeb9c6,#78899c 60%,#57687c);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 2px 0 rgba(50,62,80,.45)}.act-sub{color:var(--muted);font-size:13px;text-align:center;margin:0 0 4px;line-height:1.6}.act-info{color:var(--muted-2);font-size:11px;text-align:center;margin-bottom:16px;min-height:16px}.act-buttons{justify-content:center;flex-wrap:wrap;margin-top:8px}.act-buttons button{min-width:92px}.act-wait{color:var(--muted);font-size:13px;padding:10px;text-align:center}.score-list{margin:14px 0}.score-row{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:12px;background:#ffffff0a;border:1px solid var(--line);margin-bottom:7px;font-size:13px}.score-row .name{color:var(--text)}.score-row .name b{color:var(--gold-2);font-size:11px}.score-row .row-right{display:flex;align-items:center;gap:10px}.beans-mini{font-size:11px;color:var(--muted)}.delta{font-weight:800;font-variant-numeric:tabular-nums;font-size:15px}.delta.pos{color:var(--pos)}.delta.neg{color:var(--neg)}.pos{color:var(--pos)}.neg{color:var(--neg)}.mult-breakdown{margin:8px 0 4px;padding:11px 12px;border-radius:12px;background:#ffd68240;border:1px dashed rgba(212,152,62,.6);font-size:11px;color:var(--muted)}.mb-head{color:var(--text);margin-bottom:6px}.mb-head b{color:#c05e14;font-size:15px}.mb-items{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:6px}.mb-item{padding:1px 8px;border-radius:999px;background:#fff;border:1px solid #ecdcba;color:#a35c00}.mb-dbl{color:var(--muted)}.hist-list{max-height:52vh;max-height:52dvh;overflow-y:auto;margin:12px 0}.hist-summary{font-size:12px;color:var(--muted);margin-bottom:8px}.hist-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding:9px 11px;border-radius:11px;background:#ffffff0a;border:1px solid var(--line);margin-bottom:6px}.hist-row--win{border-left:3px solid var(--gold-2);background:#d6b26a1a}.hist-time{color:var(--muted-2)}.hist-role{color:var(--gold-2);font-weight:700}.hist-result{font-weight:700;color:var(--text)}.hist-mult{color:var(--muted-2);margin-left:auto}.hist-row .pos{color:var(--gold-2);font-weight:700}.hist-row .neg{color:var(--red-soft);font-weight:700}.hist-empty{padding:30px;text-align:center;color:var(--muted);font-size:13px}.hist-replay{font-size:11px;padding:3px 9px;border-radius:999px;min-height:32px;display:inline-flex;align-items:center;color:#8fc0f2;border-color:#508cdc73;background:#508cdc24}@media(hover:hover){.hist-replay:hover{color:#b9d8f7}}.lb-row{font-size:12px}.lb-no{width:26px;text-align:center;font-weight:900;color:#b49a6e}.lb-row:first-child .lb-no{color:#d98f1f}.lb-row:nth-child(2) .lb-no{color:#8a94a0}.lb-row:nth-child(3) .lb-no{color:#b87333}.lb-rank{color:#96804f;font-size:10.5px}.lb-name{color:var(--text);font-weight:600}.lb-beans{color:#b9760f;font-weight:800;font-variant-numeric:tabular-nums}.lb-rate{color:var(--muted);font-size:11px}.lb-row--me{border:1px solid var(--line-2)!important;background:#ffd68252!important}.rp-meta{font-size:11.5px;color:var(--muted);text-align:center;margin-bottom:8px}.rp-stage{display:flex;gap:8px;justify-content:center;min-height:130px;align-items:flex-start;padding:10px 4px;border-radius:14px;background:radial-gradient(ellipse at 50% 30%,#48b26a38,#78501414 75%);border:1px solid #ecdcba}.rp-seat{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}.rp-seat__name{font-size:11px;color:var(--muted);white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.rp-seat--landlord .rp-seat__name{color:#b06f10;font-weight:800}.rp-seat__cards{display:flex;flex-wrap:wrap;gap:2px;justify-content:center;min-height:30px}.rp-bottom{margin-top:6px;min-height:34px}.rp-wait{color:var(--muted);font-size:12px;text-align:center;padding:8px}.rp-progress{text-align:center;font-size:11px;color:var(--muted);margin:8px 0 4px}.rp-controls{justify-content:center;margin-top:6px}.rank-chip{display:inline-block;font-size:10.5px;font-weight:800;letter-spacing:1px;padding:2px 9px;border-radius:999px;background:#ffd68266;border:1px solid rgba(212,152,62,.65);color:#a35c00}.res-rank{text-align:center;font-size:14px;min-height:18px;margin:6px 0 0}.res-rank .pos,.res-rank .neg{margin-left:8px}#toasts{position:fixed;top:calc(16px + env(safe-area-inset-top,0px));left:50%;transform:translate(-50%);z-index:100;display:flex;flex-direction:column;gap:6px;pointer-events:none;width:max-content;max-width:90vw}.toast{padding:10px 18px;border-radius:999px;background:#c8281ef2;color:#fff;font-size:13px;border:1.5px solid rgba(255,170,150,.55);box-shadow:0 10px 26px #78280a66;animation:toastIn .2s ease;text-align:center}.toast.info{background:#167642f2;border-color:#8ce6b480}@keyframes toastIn{0%{transform:translateY(-10px);opacity:0}to{transform:none;opacity:1}}#table{position:relative;height:100%;display:flex;flex-direction:column;padding:8px 10px 10px;background:radial-gradient(ellipse 120% 90% at 50% 26%,var(--felt-hi) 0%,var(--felt) 38%,var(--felt-2) 68%,var(--felt-3) 100%);box-shadow:inset 0 0 110px #00281080,inset 0 0 0 1px #001e0c59}#table:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:repeating-linear-gradient(45deg,rgba(255,255,255,.015) 0 2px,transparent 2px 5px),repeating-linear-gradient(-45deg,rgba(0,0,0,.02) 0 2px,transparent 2px 5px)}#table:after{content:"";position:absolute;inset:6px;pointer-events:none;border-radius:26px;border:2px solid rgba(255,232,180,.4);box-shadow:inset 0 0 40px #ffe8b41a,0 0 24px #001e0c59}.topbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:calc(7px + env(safe-area-inset-top,0px)) 10px 7px;background:#08341a73;border:1px solid rgba(255,232,180,.35);border-radius:14px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);position:relative;z-index:10}.topbar .room{font-size:13px;font-weight:700;color:#ffe9b8}.topbar button{background:linear-gradient(180deg,#fffdf4,#ffe9bd);border-color:#e8c887;color:#7a4a00;box-shadow:0 2px 4px #001e0c4d}.topbar button.ghost{background:#ffffff24;border-color:#ffe8b466;color:#ffe9b8}.topbar button.primary{color:#fff}.topbar button.active-trustee{background:linear-gradient(180deg,#ffe08e,#f2b13e);border-color:#e8a23c;color:#5a2c00;font-weight:700;box-shadow:0 0 10px #ffd75e8c}.topbar button#btn-counter.is-off{opacity:.55;text-decoration:line-through;border-color:#ffe8b438}.mult-panel{max-height:0;overflow:hidden;transition:max-height .25s ease,margin .25s ease,opacity .2s ease;opacity:0;margin-top:0;position:relative;z-index:10}.mult-panel.show{max-height:240px;opacity:1;margin-top:6px}.mult-panel__title{font-size:11px;color:#cfe6d4;letter-spacing:2px;margin-bottom:4px}.mult-panel__rows{background:#08341a8c;border:1px solid rgba(255,232,180,.35);border-radius:12px;padding:8px 12px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.mult-row{display:flex;align-items:center;gap:8px;font-size:12px;padding:2px 0;color:#d8ecda}.mult-row b{color:#ffe9b8;font-variant-numeric:tabular-nums}.mult-row i{font-style:normal;font-size:11px;color:#9dc4a5;margin-left:auto}.mult-row--empty{color:#8fb998}.mult-row--total{border-top:1px dashed rgba(255,232,180,.4);margin-top:4px;padding-top:6px;color:#fff;font-weight:700}.mult-row--total b{color:#ffb347;font-size:15px}.middle{flex:1;position:relative;min-height:0;padding:4px 0}.seat--side{position:absolute;top:8px;width:150px;display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 6px 7px;border-radius:16px;background:linear-gradient(180deg,#08341a80,#08341a4d);border:1px solid rgba(255,232,180,.38);box-shadow:0 6px 16px #001e0c59;transition:border-color .2s ease,box-shadow .2s ease;z-index:5;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.seat--left{left:0}.seat--right{right:0}.seat--side.turn{border-color:#ffd75e;box-shadow:0 0 0 1px #ffd75e8c,0 0 26px #ffd75e73}.seat--side.turn:after{content:"";position:absolute;inset:-3px;border-radius:18px;border:1px solid rgba(255,215,94,.45);animation:seatPulse 1.3s ease-in-out infinite;pointer-events:none}@keyframes seatPulse{0%,to{opacity:.3}50%{opacity:1}}.seat--side.offline{opacity:.55}.seat--side.empty{border-style:dashed;border-color:#ffffff4d;background:#00281033;animation:emptyBreath 2.2s ease-in-out infinite}.seat--side.empty .seat__avatar{opacity:.45}@keyframes emptyBreath{0%,to{opacity:.55}50%{opacity:.95}}.seat__frame{position:relative}.seat__frame--me{flex:0 0 auto;margin-right:2px}.seat__avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(160deg,#fff8e6,#ffe4ac);border:2px solid rgba(255,236,190,.85);color:#a0620c;box-shadow:0 3px 10px #001e0c66}.seat__avatar.bot{border-color:#9fd0ff;color:#2f6cb4;background:linear-gradient(160deg,#eaf4ff,#c9e2ff);box-shadow:0 0 0 2px #78b4f066,0 3px 10px #001e0c66}.seat__count{position:absolute;top:-7px;right:-9px;min-width:21px;height:21px;display:grid;place-items:center;padding:0 5px;border-radius:999px;font-size:11px;font-weight:800;color:#7a4a00;background:linear-gradient(180deg,#ffe08e,#f2b13e);border:1px solid #fff2cf;box-shadow:0 2px 6px #001e0c73;font-variant-numeric:tabular-nums}.myinfo .seat__count{position:static;background:#08341a80;color:#ffe9b8;border:1px solid rgba(255,232,180,.4)}.seat__name{font-size:12px;color:#fff;max-width:100%;overflow:hidden;white-space:nowrap}.seat__chips{display:flex;flex-wrap:wrap;gap:3px;justify-content:center}.chip{font-size:10px;padding:1px 7px;border-radius:999px;background:#00281059;border:1px solid rgba(255,255,255,.18);color:#d8ecda;white-space:nowrap}.chip--beans{color:#ffe9b8;border-color:#ffe8b466;font-variant-numeric:tabular-nums}.chip--double{color:#ffc59d;border-color:#ff8a3d80;font-weight:700}.chip--super{color:#fff;font-weight:800;background:linear-gradient(180deg,var(--cta-hi),var(--cta));border-color:#ffdcbeb3;box-shadow:0 0 10px #e8482f80}.chip--ming{color:#dcc5ff;border-color:#aa82ff80}.badge{position:absolute;top:-18px;left:50%;transform:translate(-50%);line-height:0;filter:drop-shadow(0 2px 4px rgba(0,30,12,.5));z-index:2;transform-origin:50% 100%;animation:hatSway 2.6s ease-in-out infinite}.badge svg{width:24px;height:19px}@keyframes hatSway{0%,to{transform:translate(-50%) rotate(-6deg)}50%{transform:translate(-50%) rotate(6deg)}}.seat__reveal{display:flex;flex-wrap:wrap;gap:2px;justify-content:center;max-height:58px;overflow:hidden;pointer-events:none}.seat__bubble{position:absolute;top:calc(100% + 7px);left:50%;transform:translate(-50%) scale(.9);transform-origin:top center;max-width:170px;padding:6px 11px;border-radius:12px;background:linear-gradient(180deg,#fffef8,#f3ecd8);color:#3a3325;font-size:12px;line-height:1.4;box-shadow:0 6px 16px #001e0c59;opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease;z-index:9;word-break:break-all}.seat__bubble.show{opacity:1;transform:translate(-50%) scale(1)}.seat__bubble:after{content:"";position:absolute;top:-5px;left:50%;transform:translate(-50%) rotate(45deg);width:10px;height:10px;background:#fffef8;border-radius:2px}.played{position:absolute;top:42%;display:flex;flex-wrap:wrap;gap:2px;align-items:center;max-width:30%;z-index:6}.played--left{left:12px;justify-content:flex-start}.played--right{right:12px;justify-content:flex-end}.played .card{-webkit-user-select:none;user-select:none;width:44px;height:62px}.played .card+.card{margin-left:-16px}.play-tag,.pass-tag{font-size:11px;padding:2px 9px;border-radius:999px;background:#00281073;color:#d8ecda;border:1px solid rgba(255,255,255,.2)}.pass-tag{color:#ffc59d;border-color:#ff8a3d80;font-weight:700}.center{position:absolute;top:6px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:4px;z-index:4}.center__label{font-size:10px;color:#fff9;letter-spacing:2px}.center__label b{color:#ffe9b8}.bottom-cards,.lastplay{display:flex;flex-wrap:wrap;gap:3px;justify-content:center;min-height:46px;align-items:center}.lastplay{min-height:30px}.timer{font-size:12px;color:#fffc;min-height:18px}.timer b{color:#ffe9b8;font-size:15px;font-weight:900}.phase-actions{display:none;align-items:center;justify-content:center;gap:14px;min-height:54px}.phase-actions.show{display:flex;animation:fadeIn .18s ease}.phase-actions__tip{font-size:12px;color:#ffffffd9;margin-right:6px}.act-btn{min-width:108px;padding:12px 24px;font-size:16px;font-weight:800;letter-spacing:2px;border-radius:999px;border:1px solid rgba(255,255,255,.3);box-shadow:0 5px #001e0c66,0 8px 18px #001e0c52,inset 0 1px #ffffff6b}.act-btn:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px #001e0c66}.act-btn--yes{background:linear-gradient(180deg,#ff8a4d,#e8482f);color:#fff;border-color:#ffb08a}.act-btn--mid{background:linear-gradient(180deg,#ffe08e,#f2a72e);color:#5a2c00;border-color:#fff0c4}.act-btn--no{background:linear-gradient(180deg,#6fb2e8,#3a7cc2);color:#fff;border-color:#a8d0f2}.my-played{display:flex;flex-wrap:wrap;gap:3px;justify-content:center;align-items:center;min-height:8px}.my-played .card{width:46px;height:65px}.my-played .card+.card{margin-left:-18px}.counter{display:flex;align-items:center;gap:10px;margin-top:6px;padding:6px 12px;background:#08341a80;border:1px solid rgba(255,232,180,.32);border-radius:12px;font-size:11px;overflow-x:auto;scrollbar-width:thin;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);position:relative;z-index:10;mask-image:linear-gradient(90deg,#000 calc(100% - 26px),transparent);-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 26px),transparent)}.counter.fade-l{-webkit-mask-image:linear-gradient(90deg,transparent,#000 26px);mask-image:linear-gradient(90deg,transparent,#000 26px)}.counter.fade-r{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 26px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 26px),transparent)}.counter.fade-l.fade-r{-webkit-mask-image:linear-gradient(90deg,transparent,#000 26px,#000 calc(100% - 26px),transparent);mask-image:linear-gradient(90deg,transparent,#000 26px,#000 calc(100% - 26px),transparent)}.counter::-webkit-scrollbar{height:4px}.counter__title{color:#ffe9b8;white-space:nowrap;letter-spacing:1px;font-weight:700}.counter__grid{display:flex;gap:8px;flex-wrap:nowrap}.counter__cell{color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap;padding:2px 8px;border-radius:8px;background:#ffffff1f;border:1px solid rgba(255,255,255,.1)}.counter__cell--out{color:#86a88e;text-decoration:line-through;background:#001e0c59;border-color:transparent}.bottom{display:flex;flex-direction:column;gap:6px;position:relative}.myinfo{display:flex;align-items:center;gap:8px;padding:6px 10px;background:#08341a73;border:1px solid rgba(255,232,180,.28);border-radius:12px;font-size:12px;flex-wrap:wrap;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}#my-role{font-weight:800;color:#fffc}#my-role.is-landlord{color:#ffe9b8}.strength-chip{color:#ffd98a}.chat-box{display:flex;flex-direction:column;gap:2px;min-width:130px;max-width:240px}.chat-log{font-size:11px;color:#d8ecda;max-height:38px;overflow:hidden;line-height:1.3}.chat-input{padding:4px 9px;font-size:16px;border-radius:9px}.quick-chat{display:flex;gap:4px;flex-wrap:wrap;flex-basis:100%;justify-content:flex-end}.qc-btn{font-size:10px;padding:3px 8px;border-radius:999px;min-height:30px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;background:#ffffff1f;color:#d8ecda;border:1px solid rgba(255,255,255,.2)}@media(hover:hover){.qc-btn:hover{color:#fff;border-color:#ffe8b480}}.btn-ming{color:#fff;border-color:#ffb08a;background:linear-gradient(90deg,#e8482f,#ff8a3d);font-weight:700;box-shadow:0 4px 12px #e8482f66}.hand-viewport{position:relative;overflow:hidden;min-height:122px;padding:28px 10px 2px;touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.hand{display:flex;justify-content:flex-start;align-items:flex-end;width:max-content;will-change:transform;transform:translateZ(0);backface-visibility:hidden}.hand-viewport.is-scrollable:before,.hand-viewport.is-scrollable:after{content:"";position:absolute;top:24px;bottom:0;width:18px;pointer-events:none;z-index:3;opacity:0;transition:opacity .18s ease}.hand-viewport.is-scrollable:before{left:0;background:linear-gradient(90deg,rgba(4,46,22,.55),transparent)}.hand-viewport.is-scrollable:after{right:0;background:linear-gradient(270deg,rgba(4,46,22,.55),transparent)}.hand-viewport.is-scrollable.can-left:before{opacity:1}.hand-viewport.is-scrollable.can-right:after{opacity:1}.hand>.card:first-child{margin-left:0}.hand>.card:last-child{margin-right:0}.actions{display:flex;align-items:center;gap:10px;justify-content:center;position:relative;margin-bottom:env(safe-area-inset-bottom,0px)}.actions .primary{min-width:110px;font-size:15px;padding:10px 22px}.actions button:not(.ghost){font-size:14px;padding:10px 20px}.actions .actions-side{margin-left:auto;display:flex;align-items:center;gap:8px}.actions .actions-side .ghost{position:static;transform:none}.actions .actions-side .ghost:active{transform:scale(.98)}.card{position:relative;flex:0 0 auto;width:62px;height:87px;border-radius:8px;background:linear-gradient(160deg,#fff,#fbf6ea);border:1px solid #d9d2c0;box-shadow:0 3px 8px #00281059,inset 0 0 0 1px #fff9;color:#23272f;cursor:pointer;-webkit-user-select:none;user-select:none;transition:transform .12s ease,box-shadow .15s ease}.card--red{color:#dd3352}.card--small{width:36px;height:51px;border-radius:5px}.card--tiny{width:20px;height:28px;border-radius:3px}.card--static{cursor:default}@media(hover:hover){.card--static:hover{transform:none}}.card__corner{position:absolute;top:3px;left:5px;font-size:13px;font-weight:900;line-height:1.05;display:flex;flex-direction:column;align-items:center;font-family:"Segoe UI",var(--font)}.card__corner i{font-style:normal;font-size:11px}.card__corner--br{inset:auto 5px 3px auto;transform:rotate(180deg)}.card--small .card__corner{font-size:10px;top:2px;left:3px}.card--small .card__corner i{font-size:8px}.card--small .card__corner--br{inset:auto 3px 2px auto}.card--tiny .card__corner{font-size:7px;top:1px;left:2px}.card--tiny .card__corner i,.card--tiny .card__center,.card--tiny .card__corner--br{display:none}.card__center{position:absolute;inset:0;display:grid;place-items:center;font-size:30px}.card--small .card__center{font-size:16px}.card--joker .card__center{color:inherit;opacity:1}.card--joker .card__corner{font-size:10px;letter-spacing:1px}@media(hover:hover){.card:hover:not(.card--static):not(.selected){transform:translateY(-9px);box-shadow:0 10px 20px #00281073}}.hand .card+.card{margin-left:-24px}.hand .card{touch-action:pan-y}.card.selected{transform:translateY(-20px) scale(1.02);transition:transform .18s cubic-bezier(.34,1.56,.64,1),box-shadow .18s ease;box-shadow:0 0 0 2.5px #ffd75e,0 12px 24px #00281080,0 0 20px #ffd75e80}@media(hover:hover){.card.selected:hover{transform:translateY(-20px) scale(1.02)}}.card.focus{transform:translateY(-9px) scale(1.03);box-shadow:0 0 0 2px #ffffffd9,0 10px 18px #00281073;z-index:2}.card.selected.focus{transform:translateY(-20px) scale(1.02)}.card--back{background:repeating-linear-gradient(45deg,rgba(255,255,255,.12) 0 3px,transparent 3px 9px),repeating-linear-gradient(-45deg,rgba(255,255,255,.12) 0 3px,transparent 3px 9px),linear-gradient(160deg,#3a7cd4,#1e4fa0);border:1px solid #9cc0ec;box-shadow:inset 0 0 0 2.5px #fffc,inset 0 0 0 3.5px #285aaa,0 3px 8px #001e0c66;cursor:default}.card--back:after{content:"\2756";position:absolute;inset:0;display:grid;place-items:center;color:#ffffff8c;font-size:15px}.card--small.card--back:after{font-size:10px}.card--wild{box-shadow:0 0 0 2px #ffd75ed9,0 0 16px #ffd75e8c,0 3px 8px #00281059}.card__wild{position:absolute;bottom:4px;left:50%;transform:translate(-50%);font-size:9px;font-weight:900;color:#7a4a00;background:linear-gradient(180deg,#ffe08e,#f2b13e);border-radius:999px;padding:0 5px;line-height:1.5;box-shadow:0 1px 4px #001e0c4d}.card--small .card__wild{font-size:8px;padding:0 3px;bottom:2px}.teammate{display:flex;align-items:center;justify-content:center;gap:8px;padding:7px 12px;border-radius:12px;background:linear-gradient(90deg,#48b26a4d,#08341a73);border:1px solid rgba(120,230,170,.4);font-size:12px}.teammate__label{color:#b8f0d2;font-weight:600}.teammate__cards{display:flex;gap:2px;flex-wrap:wrap}.teammate__cards .card{margin:0}.seat--top{left:50%;right:auto;transform:translate(-50%);top:8px}.seat--top.turn{transform:translate(-50%)}.seat--top .seat__bubble{top:calc(100% + 7px)}.table--four .center{top:158px}.table--four .counter{margin-top:4px}.hand-vp--many{min-height:104px;padding-top:24px}.hand--many .card{width:42px;height:60px}.hand--many .card+.card{margin-left:-27px}.hand--many .card.selected{transform:translateY(-14px) scale(1.02)}@media(hover:hover){.hand--many .card:hover:not(.card--static):not(.selected){transform:translateY(-6px)}}.hand--many .card__center{display:none}.hand--many .card__corner{font-size:10px;top:2px;left:3px}#deal-layer{position:fixed;inset:0;pointer-events:none;z-index:70;overflow:hidden}.deal-ghost{position:fixed;width:46px;height:64px;border-radius:6px;background:linear-gradient(160deg,#4a86cc,#1d4e8f 60%,#163d72);border:1px solid rgba(255,232,180,.5);box-shadow:0 4px 12px #00140866;will-change:transform,opacity}body.dealing #my-hand,body.dealing .phase-actions,body.dealing .actions{pointer-events:none}body.dealing .actions>*{opacity:.55}#my-hand .card--back{margin-left:-22px;transform:rotate(var(--rot, 0deg));box-shadow:0 3px 8px #00140859}#my-hand .card--back:first-of-type{margin-left:auto}#my-hand .card--back.deal-back-in{animation:dealBackIn .3s cubic-bezier(.25,.7,.35,1) backwards}@keyframes dealBackIn{0%{opacity:0;transform:translateY(-46px) rotate(calc(var(--rot, 0deg) - 14deg)) scale(.72)}to{opacity:1;transform:translateY(0) rotate(var(--rot, 0deg)) scale(1)}}#my-hand .card.deal-in{animation:dealFlip .38s cubic-bezier(.25,.7,.35,1) both}@keyframes dealFlip{0%{opacity:0;transform:translateY(-52px) rotateY(180deg) scale(.72)}60%{opacity:1}to{opacity:1;transform:translateY(0) rotateY(0) scale(1)}}#fx-layer{position:fixed;inset:0;pointer-events:none;z-index:80;overflow:hidden}.fx-flash{position:absolute;inset:0;animation:fxFlash .5s ease-out forwards}.fx-flash.fx-bomb{background:radial-gradient(circle,rgba(255,150,40,.55),transparent 68%)}.fx-flash.fx-rocket{background:radial-gradient(circle,rgba(255,220,120,.62),transparent 70%)}.fx-flash.fx-spring{background:radial-gradient(circle,rgba(255,150,210,.35),transparent 70%)}.fx-flash.fx-grab{background:radial-gradient(circle,rgba(140,200,255,.45),transparent 70%)}@keyframes fxFlash{0%{opacity:1}to{opacity:0}}.fx-bigtext{position:absolute;top:34%;left:50%;transform:translate(-50%,-50%);font-size:48px;font-weight:900;letter-spacing:4px;animation:fxBig 1.4s cubic-bezier(.2,1.4,.4,1) forwards;white-space:nowrap}.fx-bigtext.fx-bomb{color:#ffb347}.fx-bigtext.fx-rocket{color:#ffe9a3}.fx-bigtext.fx-spring{color:#ff9ed2;font-size:40px}.fx-bigtext.fx-grab{color:#a8d8ff;font-size:40px}@keyframes fxBig{0%{transform:translate(-50%,-50%) scale(.3);opacity:0}25%{transform:translate(-50%,-50%) scale(1.15);opacity:1}70%{transform:translate(-50%,-50%) scale(1);opacity:1}to{transform:translate(-50%,-50%) scale(1.3);opacity:0}}.fx-ring{position:absolute;top:50%;left:50%;width:90px;height:90px;border-radius:50%;border:4px solid rgba(255,180,70,.85);transform:translate(-50%,-50%);animation:fxRing .9s ease-out forwards}.fx-ring.fx-rocket{border-color:#ffeb96e6}.fx-ring.fx-grab{border-color:#96cdffe6}@keyframes fxRing{0%{width:60px;height:60px;opacity:1}to{width:620px;height:620px;opacity:0}}.fx-particle{position:absolute;top:50%;left:50%;width:9px;height:9px;border-radius:50%;background:#ffb347;animation:fxParticle .95s ease-out forwards}.fx-particle.fx-rocket{background:#ffe9a3;width:11px;height:11px}.fx-particle.fx-grab{background:#a8d8ff}.fx-particle.fx-spring{width:auto;height:auto;background:none;font-size:20px;animation:fxFall 1.6s linear forwards}@keyframes fxParticle{0%{transform:translate(-50%,-50%) scale(1);opacity:1}to{transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) scale(.2);opacity:0}}@keyframes fxFall{0%{transform:translate(0) rotate(0);opacity:1}to{transform:translate(var(--dx),var(--dy)) rotate(540deg);opacity:0}}.fx-bolt{position:absolute;top:0;width:3px;height:100%;background:linear-gradient(180deg,transparent,#fff8d0,transparent);animation:fxBolt .5s ease-out forwards}@keyframes fxBolt{0%{opacity:1}to{opacity:0}}#table.fx-shake{animation:shake .42s ease}#table.fx-shake-hard{animation:shakeHard .6s ease}@keyframes shake{0%,to{transform:translate(0)}20%{transform:translate(-5px,3px)}40%{transform:translate(5px,-3px)}60%{transform:translate(-4px,-2px)}80%{transform:translate(4px,2px)}}@keyframes shakeHard{0%,to{transform:translate(0)}15%{transform:translate(-11px,6px)}30%{transform:translate(11px,-6px)}45%{transform:translate(-9px,-5px)}60%{transform:translate(9px,5px)}75%{transform:translate(-5px,3px)}}@media(prefers-reduced-motion:reduce){#table.fx-shake,#table.fx-shake-hard{animation:none}.fx-flash,.fx-ring,.fx-particle,.fx-bolt{display:none}.fx-bigtext{animation:none;opacity:1;transform:translate(-50%,-50%)}}@media(max-width:720px){.seat--side{width:116px;padding:7px 4px 5px}.seat__avatar{width:38px;height:38px}.badge{top:-15px}.badge svg{width:18px;height:15px}.seat__count{min-width:19px;height:19px;font-size:10px;top:-6px;right:-8px}.card{width:47px;height:66px}.card--small{width:30px;height:43px}.hand .card+.card{margin-left:-21px}.counter{font-size:10px;gap:7px}.counter__grid{gap:6px}.fx-bigtext{font-size:32px}.lobby-top{flex-wrap:wrap;row-gap:8px;padding:calc(10px + env(safe-area-inset-top,0px)) 10px 10px 4px;gap:8px}.lobby-top .spacer{display:none}.dock{order:2;margin-left:auto}#online-pill{order:3}.player-chip{max-width:calc(100vw - 196px);padding:5px 8px 5px 5px;gap:8px}.lobby-avatar{width:38px;height:38px}.lobby-avatar svg{width:21px;height:21px}.player-chip__name{flex-wrap:wrap;row-gap:2px}.player-chip__name b{max-width:100%}.rank-chip{font-size:10px;padding:1px 6px}.player-chip__beans{font-size:15px;gap:5px}.chip-btn{font-size:10px;padding:3px 8px}.dock{gap:6px}.dock__btn{width:50px;padding:7px 3px 6px;border-radius:13px;font-size:9.5px;letter-spacing:1px}.dock__btn svg{width:17px;height:17px}.lobby-stage__inner{padding:4px 12px 8px}.guest-card,#custom-form{padding:14px 13px 12px}.lobby-bottom{padding:6px 10px 10px}.mode-card{column-gap:11px;padding:13px}.mode-card__go{font-size:12.5px;padding:7px 13px}.mode-card--hero .mode-card__go{font-size:13.5px;padding:9px 16px}.mode-card--hero .mode-card__title{font-size:17px;text-wrap:balance}.act-btn{min-width:86px;font-size:14px;padding:10px 16px}.played{max-width:32%;top:42%}.played .card{width:32px;height:46px}.my-played .card{width:36px;height:51px}.room-grid{grid-template-columns:1fr}.room-card__icon{font-size:26px}.mode-cards--casual{grid-template-columns:1fr}.table--four .center{top:148px}}:root{--sp-w: 74px;--sp-h: 96px;--sp-up: 30px;--sp-down: 13px}#screen-24,#screen-spider,#screen-online{display:none;flex-direction:column;position:relative;background:var(--bg)}#screen-24.active,#screen-spider.active,#screen-online.active{display:flex}.casual-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:calc(9px + env(safe-area-inset-top,0px)) 14px;background:#081410f0;border-bottom:1px solid var(--line);color:var(--text);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:3}.casual-bar__title{font-size:17px;font-weight:800;letter-spacing:2px;color:var(--gold-2)}.casual-bar .ghost{color:var(--text);border-color:var(--line-strong);background:transparent}@media(hover:hover){.casual-bar .ghost:hover:not(:disabled){background:#ffffff0f}}.casual-bar .ghost:disabled{opacity:.4;cursor:not-allowed}.casual-bar .pill{color:var(--gold-2);border-color:#d6b26a66;background:#d6b26a24}.casual-bar .pill--timer{font-variant-numeric:tabular-nums;min-width:52px;text-align:center}.casual-bar .spacer{flex:1}.diff{display:inline-flex;border-radius:10px;overflow:hidden;border:1px solid rgba(255,220,150,.38)}.diff button{background:#0003;color:#ffebc8c7;border:0;padding:5px 10px;font-size:12px;cursor:pointer;font-family:inherit;transition:background .15s,color .15s}.diff button.active{background:#ffd35c;color:#7c0f14;font-weight:800}.c24-wrap{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;align-items:center;gap:20px;padding:26px 16px 44px}.c24-wrap:before,.c24-wrap:after{content:"";margin:auto 0}.c24-tip{color:#ffe9bd;font-size:15px;text-align:center;min-height:24px;transition:color .2s}.c24-tip.win{color:#ffd35c;font-weight:800;font-size:19px}.c24-cards{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}.c24-card{width:86px;height:120px;border-radius:15px;padding:0;background:linear-gradient(170deg,#fffdf6,#f3e2ba);color:#b3450f;font-size:34px;font-weight:900;font-family:inherit;border:2px solid rgba(212,152,62,.65);box-shadow:0 10px 22px #0000004d;cursor:pointer;display:flex;align-items:center;justify-content:center;font-variant-numeric:tabular-nums;transition:transform .13s ease,box-shadow .13s ease}@media(hover:hover){.c24-card:hover{transform:translateY(-4px)}}.c24-card.sel{outline:3px solid #ffd35c;transform:translateY(-7px) scale(1.05);box-shadow:0 16px 28px #0006}.c24-ops{display:flex;gap:14px}.c24-ops button{width:64px;height:64px;border-radius:50%;font-size:27px;font-weight:800;font-family:inherit;background:linear-gradient(160deg,#ff8a4d,#e8482f);color:#fff;border:2px solid rgba(255,220,150,.6);cursor:pointer;box-shadow:0 9px 18px #781e0a61;transition:transform .13s ease,background .15s ease}@media(hover:hover){.c24-ops button:hover{transform:translateY(-3px)}}.c24-ops button.sel{background:linear-gradient(160deg,#ffe08a,#f3b34a);color:#8e5a12;transform:scale(1.1)}.c24-actions{display:flex;gap:10px}.c24-actions .ghost{color:#ffe9bd;border-color:#ffdc966b;background:#0000002e;font-size:13.5px;padding:8px 18px}@media(hover:hover){.c24-actions .ghost:hover:not(:disabled){background:#ffdc9629}}.c24-actions .ghost:disabled{opacity:.4;cursor:not-allowed}.c24-log{width:min(580px,100%);color:#ffebc8d1;font-size:13px;line-height:1.7;font-variant-numeric:tabular-nums}.c24-log__line{padding:3px 2px;border-bottom:1px dashed rgba(255,220,150,.16)}.c24-log__line.win{color:#ffd35c;font-weight:700}.c24-log__line.bad{color:#ff9a9a}.c24-log__line.ans{color:#9ee6b8}.sp-board{flex:1;min-height:0;display:flex;flex-direction:column;background:radial-gradient(120% 80% at 50% 0%,var(--felt-hi),var(--felt-2) 55%,var(--felt-3))}.sp-top{display:flex;align-items:center;gap:10px;padding:9px 14px 4px}.sp-found{display:flex;gap:4px}.sp-found__slot{width:26px;height:36px;border-radius:5px;border:1px dashed rgba(255,255,255,.4);display:flex;align-items:center;justify-content:center;color:#ffd35c;font-size:15px;font-weight:800}.sp-found__slot.done{border-style:solid;background:#ffd35c38;box-shadow:0 0 8px #ffd35c66}.sp-stock{position:relative;width:var(--sp-w);height:var(--sp-h);cursor:pointer}.sp-stock__back{width:100%;height:100%;border-radius:7px;background:repeating-linear-gradient(45deg,#3a7cd4,#3a7cd4 6px,#2d63ad 6px 12px);border:2px solid #eaf2ff;box-shadow:0 4px 10px #00000059}.sp-stock__num{position:absolute;right:-7px;top:-7px;background:#e8482f;color:#fff;font-size:11px;font-weight:800;border-radius:999px;padding:1px 7px;box-shadow:0 2px 5px #0000004d}.sp-stock.empty{opacity:.32;cursor:default}.sp-cols{flex:1;min-height:0;overflow:auto;padding:0}.sp-cols__inner{display:flex;gap:8px;align-items:flex-start;width:max-content;margin:0 auto;padding:8px 14px 18px}.sp-col{position:relative;width:var(--sp-w);flex:0 0 var(--sp-w);min-height:var(--sp-h);border-radius:8px}.sp-col:before{content:"";position:absolute;inset:0 0 auto;height:var(--sp-h);border-radius:7px;border:1px dashed rgba(255,255,255,.16)}.sp-card{position:absolute;left:0;width:var(--sp-w);height:var(--sp-h);border-radius:7px;background:#fffdf6;border:1px solid rgba(0,0,0,.3);box-shadow:0 2px 5px #00000047;display:flex;flex-direction:column;padding:3px 5px;font-weight:800;-webkit-user-select:none;user-select:none}.sp-card.up{color:#1d1d1d}.sp-card.up.red{color:#d3282f}.sp-card.down{background:repeating-linear-gradient(45deg,#3a7cd4,#3a7cd4 6px,#2d63ad 6px 12px);border-color:#eaf2ff}.sp-card__top{display:flex;align-items:baseline;gap:2px;line-height:1.05}.sp-card__r{font-size:calc(var(--sp-h) * .21);line-height:1.05}.sp-card__s{font-size:calc(var(--sp-h) * .18);line-height:1.05}.sp-card.sel{outline:3px solid #ffd35c;box-shadow:0 0 0 3px #ffd35c66,0 5px 12px #0006}.sp-msg{padding:0 14px 12px;color:#ffffffe0;font-size:12.5px;min-height:18px}.sp-win{position:absolute;inset:0;z-index:10;background:#14000080;display:flex;align-items:center;justify-content:center}.sp-win[hidden]{display:none!important}.sp-win__card{background:linear-gradient(180deg,#fff9e8,#ffefc8);border-radius:20px;padding:28px 34px 24px;text-align:center;box-shadow:var(--shadow),inset 0 1px #fff;border:2px solid #e8b64c}.sp-win__card h2{margin:0 0 8px;color:#b3450f;font-size:24px}.sp-win__card p{margin:0 0 18px;color:var(--muted);font-size:14px}@media(max-width:720px){:root{--sp-w: 50px;--sp-h: 66px;--sp-up: 21px;--sp-down: 10px}.sp-cols{gap:6px;padding:6px 10px 16px}.sp-found__slot{width:20px;height:28px;font-size:12px}.casual-bar{padding:8px 10px;gap:6px}.casual-bar__title{font-size:15px;letter-spacing:1px}.casual-bar .pill{font-size:11px}.diff button{padding:4px 7px;font-size:11px}.c24-wrap{gap:15px;padding:18px 12px 34px}.c24-card{width:66px;height:92px;font-size:26px;border-radius:12px}.c24-cards{gap:10px}.c24-ops button{width:54px;height:54px;font-size:23px}.c24-ops{gap:10px}}#screen-online{background:radial-gradient(ellipse 1000px 520px at 50% -12%,rgba(255,210,95,.45) 0%,transparent 66%),linear-gradient(180deg,#d63a2e,#b0161b 42%,#7c0f14)}.co-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.co-center{flex:1;min-height:0;display:flex;padding:24px 16px;overflow-y:auto}.co-center>*{margin:auto}.co-card{width:min(430px,100%);background:linear-gradient(180deg,#fff9e8,#ffefc8);border-radius:20px;padding:22px 22px 20px;box-shadow:0 14px 34px #46080680,inset 0 1px #fff;border:2px solid #e8b64c}.co-card__title{font-size:22px;font-weight:900;color:#b3450f;text-align:center}.co-card__sub{text-align:center;color:var(--muted);font-size:13px;margin:6px 0 16px}.co-card__tip{margin-top:12px;color:var(--muted);font-size:12px;text-align:center;min-height:16px}.co-card--over .co-ranklist{margin:8px 0 18px}.co-copybox{position:fixed;inset:0;z-index:110;background:#0009;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px}.co-copybox input{width:min(520px,100%);padding:12px 14px;font-size:16px;border-radius:10px;border:2px solid rgba(212,152,62,.6);background:#fffdf6;color:#4a2c12;font-family:inherit;-webkit-user-select:text;user-select:text}.co-wrap{flex:1;min-height:0;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;align-items:center}.co-head{width:min(680px,100%);text-align:center}.co-code{font-size:15px;color:#ffe9bd;display:flex;align-items:center;justify-content:center;gap:10px}.co-code b{font-size:22px;letter-spacing:3px;color:#ffd35c;font-variant-numeric:tabular-nums}.co-code .ghost{color:#ffe9bd;border-color:#ffdc966b;background:#0000002e;font-size:12px;padding:5px 12px}.co-hint{color:#ffebc8b3;font-size:12.5px;margin-top:4px}.co-wait{flex:1;display:flex;align-items:center;justify-content:center;color:#ffe9bd;font-size:14px}.co-playhead{padding:12px 16px 0}.co-hud{width:min(680px,100%);margin:0 auto;display:flex;flex-direction:column;gap:10px}.co-strip{display:flex;align-items:center;gap:8px;justify-content:center;flex-wrap:wrap}.co-strip .pill{color:#ffe9bd;border-color:#ffdc9659;background:#00000038}.co-strip .pill--timer{font-variant-numeric:tabular-nums;min-width:54px;text-align:center;color:#ffd35c;font-weight:800}.co-players{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.co-player{background:#0000003d;border:1px solid rgba(255,220,150,.3);border-radius:12px;padding:8px 11px;color:#ffe9bd}.co-player.me{border-color:#ffd35cbf;box-shadow:0 0 0 1px #ffd35c59 inset}.co-player.off{opacity:.5}.co-player__top{display:flex;align-items:center;justify-content:space-between;gap:8px}.co-player__name{font-weight:700;font-size:14px;display:flex;align-items:center;gap:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.co-host{font-size:10px;background:#ffd35c;color:#7c0f14;border-radius:6px;padding:1px 5px;font-weight:800}.co-bot{font-size:10px;background:#7ed9ff33;color:#7ed9ff;border-radius:6px;padding:1px 5px;font-weight:800}.co-you{font-size:10px;background:#ffd35c38;color:#ffd35c;border-radius:6px;padding:1px 5px}.co-player__score{font-weight:800;color:#ffd35c;font-size:13px;white-space:nowrap}.co-player__st{font-size:12px;color:#ffebc8b8;margin-top:2px}.co-player__st .ok{color:#9ee6b8;font-style:normal;font-weight:700}.co-bar{height:5px;border-radius:999px;background:#ffffff29;margin-top:6px;overflow:hidden}.co-bar i{display:block;height:100%;background:linear-gradient(90deg,#ffd35c,#ff9a3d)}.co-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center;padding:4px 0 calc(2px + env(safe-area-inset-bottom,0px))}.co-actions__hint{color:#ffebc8b3;font-size:12.5px}.co-actions__hint.is-warn{color:#ffb36b;font-weight:700;opacity:1}.co-actions .ghost{color:#ffe9bd;border-color:#ffdc966b;background:#0000002e}@media(hover:hover){.co-actions .ghost:hover:not(:disabled){background:#ffdc9629}}.co-actions button:disabled{opacity:.45;cursor:not-allowed}.co-suits{display:flex;align-items:center;gap:6px}.co-suits__label{color:#ffebc8b3;font-size:12px}.co-suit{background:#0003;color:#ffebc8cc;border:1px solid rgba(255,220,150,.38);border-radius:8px;padding:4px 10px;font-size:12px;cursor:pointer;font-family:inherit;min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}.co-suit.on{background:#ffd35c;color:#7c0f14;font-weight:800}.co-emote-bar{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;padding-bottom:6px}.co-emote-bar .qc-btn{font-size:11px;padding:4px 10px}.co-feed{position:absolute;right:14px;left:auto;bottom:calc(max(132px,16vh) + env(safe-area-inset-bottom,0px));z-index:20;display:flex;flex-direction:column;gap:6px;align-items:flex-end;max-width:min(300px,72vw);pointer-events:none}.co-feed__item{background:#0000009e;color:#ffe9bd;font-size:12.5px;padding:6px 12px;border-radius:999px;border:1px solid rgba(255,220,150,.3);animation:coFeedIn .25s ease}@keyframes coFeedIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.co-ranklist{display:flex;flex-direction:column;gap:7px}.co-rank{display:flex;align-items:center;gap:10px;background:#f7ecd2;border:1px solid rgba(212,152,62,.45);border-radius:12px;padding:9px 13px;color:#6b3a10;font-weight:700}.co-rank.me{background:#fff4d6;border-color:#f3b34a;box-shadow:0 0 0 2px #f3b34a59}.co-rank__no{font-size:17px;width:26px;text-align:center}.co-rank__name{flex:1;display:flex;align-items:center;gap:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.co-rank__val{color:#b3450f;font-variant-numeric:tabular-nums}.co-rank .co-you{background:#f3b34a40;color:#8e5a12}@media(max-width:720px){.co-wrap{padding:12px 10px}.co-playhead{padding:10px 10px 0}.co-code{flex-wrap:wrap}.co-code b{font-size:19px}.co-players{grid-template-columns:repeat(auto-fit,minmax(128px,1fr))}.co-feed{right:10px;max-width:min(260px,74vw)}.co-card{padding:18px 16px 16px}}.bd-stage{flex:1 1 auto;min-height:0;display:flex;padding:10px 12px;overflow:auto}.bd-stage>*{margin:auto}.bd-wrap{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%}.bd-svg{display:block;width:100%;height:auto}.bd-svg--gomoku{max-width:min(540px,70vh);max-width:min(540px,70dvh)}.bd-svg--xiangqi{max-width:min(440px,68vh);max-width:min(440px,68dvh)}.bd-svg--junqi{max-width:min(600px,72vh);max-width:min(600px,72dvh)}.bd-hit{fill:transparent;cursor:pointer}.bd-stage,.bd-hit,.bd-go-hit{touch-action:pan-x pan-y}.bd-hint{font-size:13px;color:#ffe9bd;opacity:.8}.bd-wrap.is-myturn .bd-hint{color:#ffd35c;font-weight:700;opacity:1}.bd-wrap.is-warn .bd-hint{color:#ffb36b;font-weight:700;opacity:1}.bd-svg--gomoku{background:#f3e3c3;border-radius:10px;padding:2px}.bd-line{stroke:#6b5330;stroke-width:.7;opacity:.55}.bd-star{fill:#6b5330;opacity:.6}.bd-stone--black{fill:#24211d;stroke:#0d0c0b;stroke-width:.8}.bd-stone--white{fill:#fdfbf5;stroke:#a99a7d;stroke-width:.8}.bd-stone.is-last{stroke:#e8762a;stroke-width:2.6}.bd-stone.is-win{stroke:#e23c3c;stroke-width:2.8}.bd-winline{stroke:#e23c3c;stroke-width:3;stroke-linecap:round;opacity:.7}.bd-svg--xiangqi{background:#f6e7c6;border-radius:10px}.bd-svg--xiangqi .bd-line{stroke:#7a5c33;stroke-width:1;opacity:.72}.bd-river{fill:#8a7350;font-size:21px;opacity:.8}.bd-xq__disc{fill:#fdf6e6;stroke:#b08a4a;stroke-width:2}.bd-xq__inner{fill:none;stroke:#cbb07c;stroke-width:1}.bd-xq__txt{font-size:25px;font-weight:700}.bd-xq.is-red .bd-xq__txt{fill:#c62828}.bd-xq.is-black .bd-xq__txt{fill:#2f2a24}.bd-xq.is-sel .bd-xq__disc{stroke:#e8762a;stroke-width:3.4;fill:#fff4e0}.bd-xq.is-last .bd-xq__inner{stroke:#e8762a;stroke-width:2}.bd-dot{fill:#e8762a;opacity:.85}.bd-capture{fill:none;stroke:#e8762a;stroke-width:2.6;stroke-dasharray:4 3}.bd-path .bd-path-from{fill:none;stroke:#e8762ae6;stroke-width:3}.bd-path .bd-path-line{stroke:#e8762a8c;stroke-width:5;stroke-linecap:round}.bd-path .bd-path-arrow{fill:#e8762acc}.bd-jq__face{stroke-width:2}.bd-jq.is-red .bd-jq__face{fill:url(#jqan-red);stroke:#a4591f}.bd-jq.is-black .bd-jq__face{fill:url(#jqan-black);stroke:#17203a}.bd-jq__gloss{fill:#ffffff80}.bd-jq.is-black .bd-jq__gloss{fill:#ffffff1f}.bd-jq__keyline{fill:none;stroke:#ffecbe8c;stroke-width:1.2}.bd-jq.is-black .bd-jq__keyline{stroke:#a8bee259}.bd-jq__txt{font-size:27px;font-weight:900;letter-spacing:2px}.bd-jq.is-red .bd-jq__txt{fill:#8e1c0c}.bd-jq.is-black .bd-jq__txt{fill:#e3ecfa}.bd-jq.is-sel .bd-jq__face{stroke:#fc3;stroke-width:3.6}.bd-jq.is-sel{filter:url(#jqan-shadow) drop-shadow(0 0 8px rgba(255,200,60,.8))}.bd-jq.is-last .bd-jq__face{stroke:#f0a02a;stroke-width:3}.bd-jq__backface{fill:url(#jqan-back);stroke:#141c2e;stroke-width:2}.bd-jq__backkey{fill:none;stroke:#cedef44d;stroke-width:1}.bd-jq__backdot{fill:#cedef473}.bd-jq__seal{fill:#e8be6024;stroke:#e8be608c;stroke-width:1.6}.bd-jq__backtxt{fill:#e8c770;font-size:28px;font-weight:900}.bd-jq__tip{fill:#e8762a2e;stroke:#e8762a;stroke-width:1.6;stroke-dasharray:4 3}.bd-jq-empty{fill:#785a3212;stroke:#966c2c38;stroke-width:1}.co-rank--win .co-rank__val{color:#e23c3c;font-weight:800}.co-rank--lose .co-rank__val{color:#1fa856}.co-rank--draw .co-rank__val{color:#8a7350}.co-rank--off{opacity:.55}.co-rank .co-off{background:#0000001f;color:#8a7350;font-size:11px;padding:1px 6px;border-radius:8px;font-weight:600}.mode-cards--board{grid-template-columns:1fr 1fr}@media(max-width:560px){.mode-cards--board{grid-template-columns:1fr}}@media(max-width:720px){.bd-stage{padding:8px 6px}.bd-svg--gomoku{max-width:min(360px,56vh);max-width:min(360px,56dvh)}.bd-svg--xiangqi{max-width:min(330px,54vh);max-width:min(330px,54dvh)}.bd-svg--junqi{max-width:min(420px,56vh);max-width:min(420px,56dvh)}.bd-hint{font-size:12px}}.bd-svg--go{width:100%;max-width:640px;background:linear-gradient(160deg,#d9b978,#c9a45e);border-radius:12px}.bd-svg--go .bd-line{stroke:#4a3413;stroke-width:1}.bd-svg--go .bd-star{fill:#4a3413}.bd-go-hit{fill:transparent}.bd-go-b{fill:#111;stroke:#444;stroke-width:1}.bd-go-w{fill:#f5f5f0;stroke:#999;stroke-width:1}.bd-go-last-b{fill:#7de0a8}.bd-go-last-w{fill:#2f9455}.bd-wrap:has(>.bd-svg--jstd){height:100%;min-height:0}.bd-svg--jstd{flex:0 1 auto;width:auto;height:auto;max-width:min(560px,100%);max-height:calc(100% - 28px);min-width:min(200px,100%);background:repeating-linear-gradient(92deg,rgba(120,80,30,.045) 0 2px,transparent 2px 9px),linear-gradient(155deg,#f3e6c4,#e3cfa2 52%,#d2b783);border-radius:16px;box-shadow:inset 0 0 0 1px #5a3c1438,0 10px 26px #0000004d}.bd-svg--jstd{border-radius:14px;box-shadow:0 10px 26px #0000004d}.bd-svg--jstd{--jstd-frame-fill: #67a24a;--jstd-frame-stroke: #4c7d36;--jstd-field-fill: #d6ca92;--jstd-field-stroke: rgba(90, 120, 50, .35);--jstd-road: rgba(110, 104, 66, .55);--jstd-rail-base: #3a3423;--jstd-rail-dash: #e9e3cd;--jstd-station-fill: #7cb342;--jstd-station-stroke: #4e7c2a;--jstd-station-text: #eef7e2;--jstd-camp-fill: #f7f4e4;--jstd-camp-stroke: #c0392b;--jstd-camp-text: #c0392b;--jstd-hq-fill: rgba(192, 57, 43, .1);--jstd-hq-stroke: #c0392b;--jstd-hq-text: #c0392b;--jstd-front-stroke: #c0392b;--jstd-front-text: #c0392b;--jstd-mountain: rgba(120, 80, 30, .5);--jstd-wood: rgba(120, 90, 40, .1);--jstd-frame-inner: rgba(60, 45, 15, .4)}.bd-svg--jstd.t-war{--jstd-frame-fill: #2a1d13;--jstd-frame-stroke: #4a3320;--jstd-field-fill: #3a2b1d;--jstd-field-stroke: rgba(245, 158, 11, .22);--jstd-road: rgba(214, 171, 108, .42);--jstd-rail-base: #6b3f14;--jstd-rail-dash: #f0a72c;--jstd-station-fill: #46331f;--jstd-station-stroke: rgba(245, 158, 11, .38);--jstd-station-text: #f0d9b0;--jstd-camp-fill: #4d3823;--jstd-camp-stroke: #e0a53c;--jstd-camp-text: #f7cf8a;--jstd-hq-fill: rgba(245, 158, 11, .1);--jstd-hq-stroke: #e0a53c;--jstd-hq-text: #f7cf8a;--jstd-front-stroke: #e0a53c;--jstd-front-text: #f7cf8a;--jstd-mountain: rgba(245, 158, 11, .32);--jstd-wood: rgba(255, 196, 120, .045);--jstd-frame-inner: rgba(245, 158, 11, .3);--jstd-brass: #e0a53c;background:linear-gradient(180deg,#241a12,#1b130d);box-shadow:0 0 0 3px #3a2c20,0 0 0 6px #201610,0 22px 46px #0000008c}.bd-svg--jstd.t-dark{--jstd-frame-fill: #3a4453;--jstd-frame-stroke: #26303d;--jstd-field-fill: #2d2d37;--jstd-field-stroke: rgba(120, 130, 160, .35);--jstd-road: rgba(150, 160, 190, .4);--jstd-rail-base: #191922;--jstd-rail-dash: #4a4a5e;--jstd-station-fill: #3f4a5c;--jstd-station-stroke: #26303d;--jstd-station-text: #b9c6dd;--jstd-camp-fill: #323a4a;--jstd-camp-stroke: #d9695f;--jstd-camp-text: #e08a80;--jstd-hq-fill: rgba(217, 105, 95, .14);--jstd-hq-stroke: #d9695f;--jstd-hq-text: #e08a80;--jstd-front-stroke: #d9695f;--jstd-front-text: #e08a80;--jstd-mountain: rgba(200, 210, 230, .35);--jstd-wood: rgba(255, 255, 255, .05);--jstd-frame-inner: rgba(180, 195, 225, .25)}.bd-svg--jstd.t-bright{--jstd-frame-fill: #79b8d8;--jstd-frame-stroke: #4e93b5;--jstd-field-fill: #eefaff;--jstd-field-stroke: rgba(90, 150, 175, .4);--jstd-road: rgba(90, 150, 175, .5);--jstd-rail-base: #2e4a5a;--jstd-rail-dash: #e8f7ff;--jstd-station-fill: #6cc0de;--jstd-station-stroke: #3f93b3;--jstd-station-text: #f0fbff;--jstd-camp-fill: #f2fcff;--jstd-camp-stroke: #d97b3f;--jstd-camp-text: #c9602a;--jstd-hq-fill: rgba(217, 123, 63, .1);--jstd-hq-stroke: #d97b3f;--jstd-hq-text: #c9602a;--jstd-front-stroke: #d97b3f;--jstd-front-text: #c9602a;--jstd-mountain: rgba(90, 140, 160, .5);--jstd-wood: rgba(90, 150, 175, .08);--jstd-frame-inner: rgba(255, 255, 255, .6)}.bd-svg--jstd.t-retro{--jstd-frame-fill: #a9825a;--jstd-frame-stroke: #7c5c3a;--jstd-field-fill: #dcbe96;--jstd-field-stroke: rgba(100, 80, 60, .4);--jstd-road: rgba(100, 80, 60, .55);--jstd-rail-base: #4a3a26;--jstd-rail-dash: #f0e2c0;--jstd-station-fill: #b08c52;--jstd-station-stroke: #7c5c3a;--jstd-station-text: #f5ecd8;--jstd-camp-fill: #f2e4c0;--jstd-camp-stroke: #a44a3a;--jstd-camp-text: #a44a3a;--jstd-hq-fill: rgba(164, 74, 58, .12);--jstd-hq-stroke: #a44a3a;--jstd-hq-text: #a44a3a;--jstd-front-stroke: #a44a3a;--jstd-front-text: #a44a3a;--jstd-mountain: rgba(100, 80, 50, .55);--jstd-wood: rgba(90, 60, 20, .12);--jstd-frame-inner: rgba(70, 50, 25, .45)}.jstd-greenframe{fill:var(--jstd-frame-fill);stroke:var(--jstd-frame-stroke);stroke-width:3}.jstd-frame-inner{fill:none;stroke:var(--jstd-frame-inner);stroke-width:1.5;pointer-events:none}.jstd-field{fill:var(--jstd-field-fill);stroke:var(--jstd-field-stroke);stroke-width:1.5}.jstd-wood{stroke:var(--jstd-wood);stroke-width:1.2}.jstd-road{stroke:var(--jstd-road);stroke-width:1.3}.jstd-rail{stroke:var(--jstd-rail-base);stroke-width:8;stroke-linecap:round}.jstd-rail-dash{stroke:var(--jstd-rail-dash);stroke-width:4.2;stroke-dasharray:7 7}.jstd-station{fill:var(--jstd-station-fill);stroke:var(--jstd-station-stroke);stroke-width:1.4}.jstd-station__txt{fill:var(--jstd-station-text);font-size:12.5px;font-weight:800;font-family:inherit}.jstd-camp{fill:var(--jstd-camp-fill);stroke:var(--jstd-camp-stroke);stroke-width:1.8}.jstd-camp__txt{fill:var(--jstd-camp-text);font-size:12px;font-weight:800;font-family:inherit}.jstd-hq{fill:var(--jstd-hq-fill);stroke:var(--jstd-hq-stroke);stroke-width:2}.jstd-hq__txt{fill:var(--jstd-hq-text);font-size:11px;font-weight:800;font-family:inherit}.jstd-frontbox{fill:none;stroke:var(--jstd-front-stroke);stroke-width:1.5;stroke-dasharray:4 3}.jstd-front__txt{fill:var(--jstd-front-text);font-size:12.5px;font-weight:800;font-family:inherit}.jstd-mountain{fill:var(--jstd-mountain);font-size:11px;font-weight:800;text-anchor:middle;dominant-baseline:central;letter-spacing:1px}.jstd-brass-arm{fill:none;stroke:var(--jstd-brass, #e0a53c);stroke-width:3.2;stroke-linecap:round;opacity:0}.bd-svg--jstd.t-war .jstd-brass-arm{opacity:1;filter:drop-shadow(0 0 4px rgba(224,165,60,.45))}.jstd-themes{flex-basis:100%;display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin-top:8px}.jstd-theme-btn{border:1.5px solid rgba(255,235,200,.4);background:#ffffff14;color:#ffe9c9;border-radius:999px;padding:3px 12px;font-size:12px;font-weight:700;cursor:pointer}.jstd-theme-btn.on{background:#ffd35c;border-color:#ffd35c;color:#7c0f14}.deploy-panel{width:100%;max-width:min(560px,96vw);margin:10px auto 0;display:flex;flex-direction:column;gap:8px;background:#0000002e;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:10px}.deploy-tray{display:flex;flex-wrap:wrap;gap:5px}.deploy-pc{font-size:12px;padding:4px 8px;border-radius:8px;background:#f2e3bd;color:#6d4318;border:1.5px solid #b08a4a;cursor:pointer;font-weight:700}.deploy-pc.sel{background:#ffd35c;border-color:#e8a020;box-shadow:0 0 8px #ffc83c8c}.deploy-pc.off{opacity:.38;cursor:default}.deploy-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.deploy-actions button{font-size:12px;padding:5px 10px}.deploy-actions .primary{margin-left:auto}.deploy-sel{font-size:12px;padding:4px 6px;border-radius:8px;max-width:150px}.deploy-sep{width:1px;height:20px;background:#ffffff2e}.deploy-tip{font-size:12px;color:var(--muted, #9fb0a6)}.deploy-tip b{color:#ffd35c}.fly-wrap{display:flex;gap:12px;align-items:flex-start;width:100%;max-width:min(760px,96vw);margin:0 auto}.fly-svg{flex:1 1 auto;min-width:0;border-radius:14px;background:#fff;box-shadow:0 14px 34px #28060273}.fly-side{flex:0 0 128px;display:flex;flex-direction:column;gap:10px;align-items:stretch}.fly-msg{font-size:12px;color:#fff2d8;min-height:48px;line-height:1.5}.fly-dice-wrap{width:100%;aspect-ratio:1;border-radius:18px;display:grid;place-items:center;background:#280e0847;border:1px solid rgba(255,226,170,.3)}.fly-dice-svg{width:82%;height:82%;display:block}.fly-board-base{fill:#fff;stroke:#d8d8d8;stroke-width:2}.fly-cell{stroke:#fff;stroke-width:2}.fly-cell__dot{fill:#fff;pointer-events:none}.fly-mark-plane{stroke:#0000002e;stroke-width:1;pointer-events:none}.fly-launch-arrow{opacity:.9;pointer-events:none}.fly-line{fill:none;stroke-width:2.6;stroke-dasharray:9 6;stroke-linecap:round;opacity:.8;pointer-events:none}.fly-corner{stroke:#fff;stroke-width:2;pointer-events:none}.fly-hangar{stroke-width:2.4}.fly-hangar__inner{fill:none;stroke:#fffdf6;stroke-width:1.6;opacity:.5;pointer-events:none}.fly-hangar__pad{fill:#fff;pointer-events:none}.fly-hangar__plane{stroke:#0000002e;stroke-width:1;pointer-events:none}.fly-wind{stroke:#fff;stroke-width:3;stroke-linejoin:round}.fly-dice-plate{fill:#fff;stroke:#c9c9c9;stroke-width:2.5;filter:drop-shadow(0 3px 5px rgba(0,0,0,.22))}.fly-dice-g.is-myroll{animation:flyDicePulse 1.1s ease-in-out infinite}.fly-dice-g.is-myroll .fly-dice-plate{stroke-width:4}@keyframes flyDicePulse{50%{transform:scale(1.07)}}.fly-dice-hint{font-size:19px;font-weight:900;text-anchor:middle;dominant-baseline:central;pointer-events:none}.fly-plane__body{fill:var(--pc, #e8483e);stroke:#fffdf6;stroke-width:2}.fly-plane__cockpit{fill:#ffffffeb;pointer-events:none}.fly-plane.is-movable .fly-plane__body{stroke:#ffd35c;stroke-width:2.6}.fly-plane.is-movable{cursor:pointer}@media(max-width:640px){.fly-wrap{flex-direction:column}.fly-side{flex:none;flex-direction:row;align-items:center}.fly-dice-wrap{width:74px;flex:0 0 74px}.fly-msg{flex:1;min-height:0;min-width:0}.fly-side button{flex:0 0 auto}}.bd-svg--chess{width:100%;max-width:min(520px,92vw);border-radius:10px;box-shadow:0 10px 26px #0000004d}.cs-sq--light{fill:#f0d9b5}.cs-sq--dark{fill:#b58863}.cs-coord{fill:#3c28148c;font-size:12px;font-weight:700}.cs-last{fill:#ffd54f73}.cs-sel{fill:#ffc83c8c;stroke:#e8a020;stroke-width:2}.cs-dot{fill:#285a328c}.cs-capture{fill:none;stroke:#be3c28d9;stroke-width:3}.cs-pc{font-size:42px;text-anchor:middle;dominant-baseline:central;font-family:Segoe UI Symbol,"Noto Sans Symbols 2",serif}.cs-pc--w{fill:#fdfdfd;stroke:#3a3a3a;stroke-width:1.2;paint-order:stroke}.cs-pc--b{fill:#1f1f1f;stroke:#d8d8d8;stroke-width:1;paint-order:stroke}.cs-pc--sel{filter:drop-shadow(0 0 6px rgba(255,200,60,.9))}.promo-picker{position:absolute;inset:0;z-index:30;display:flex;gap:14px;align-items:center;justify-content:center;background:#0a0e0ab8;border-radius:10px}.bd-stage{position:relative}.promo-btn{font-size:20px;padding:14px 20px;border-radius:12px}.jstd-piece .jstd-disc{stroke:#54320cd9;stroke-width:2}.jstd-piece.is-red .jstd-disc{fill:url(#jsg-red);stroke:#a4591f}.jstd-piece.is-black .jstd-disc{fill:url(#jsg-blue);stroke:#17203a}.jstd-piece .jstd-gloss{fill:#ffffff8c}.jstd-piece.is-black .jstd-gloss{fill:#ffffff24}.jstd-piece .jstd-keyline{fill:none;stroke:#ffecbe80;stroke-width:1}.jstd-piece.is-black .jstd-keyline{stroke:#a8bee252}.jstd-piece.is-mine .jstd-disc{stroke-width:2.6}.jstd-backface{fill:url(#jsg-back);stroke:#c4d6f059;stroke-width:1}.jstd-backdot{fill:#cedef480}.jstd-piece .jstd-txt{fill:#7e1f0e;font-size:17px;font-weight:900;font-family:inherit;letter-spacing:1px}.jstd-piece.is-black .jstd-txt{fill:#d5e1f5}.jstd-piece.is-sel .jstd-disc{stroke:#fc3;stroke-width:3.4}.jstd-piece.is-sel{filter:url(#jsg-shadow) drop-shadow(0 0 7px rgba(255,200,60,.75))}.jstd-piece.is-last .jstd-disc{stroke:#f0a02a;stroke-width:3}.jstd-tip{fill:#2ea05aeb;stroke:#fffc;stroke-width:1.4}.jstd-tip--attack{fill:none;stroke:#e05a3a;stroke-width:3;stroke-dasharray:5 4}@media(hover:hover){.bd-go-hit:hover{fill:#fff2}}@media(max-width:560px){.topbar{flex-wrap:wrap;gap:4px 5px;padding-bottom:6px}.topbar>*{flex:0 0 auto}.topbar .room{font-size:12px}.topbar .pill{font-size:10.5px;padding:2px 7px}.topbar button{font-size:11.5px;padding:4px 8px}.topbar .spacer{flex:1 1 100%;height:0}.quick-chat{flex-wrap:wrap;justify-content:flex-start;gap:4px}.qc-btn{font-size:10px;padding:3px 7px}.counter{gap:6px;padding:5px 10px}.counter__grid{gap:5px}.counter__cell{padding:2px 6px}.seat--side{width:126px;padding:8px 4px 6px}.seat__name{font-size:11px}.played{top:196px;max-width:40%}.played .card{width:34px;height:48px}.played .card+.card{margin-left:-18px}.center{z-index:12}.actions{gap:6px}.act-btn{min-width:86px;padding:10px 14px;font-size:14.5px;letter-spacing:1px}.co-actions{gap:8px}.co-actions .ghost{padding:9px 16px}.co-actions__hint{order:10;flex:1 1 100%;text-align:center}.chat-box{position:relative;z-index:5}.hand{position:relative;z-index:12}.played{pointer-events:none}}.custom-stage{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;max-width:760px;margin:0 auto;width:100%;padding:16px 14px calc(20px + env(safe-area-inset-bottom,0px));box-sizing:border-box}@media(max-width:560px){.custom-stage{padding:12px 12px calc(16px + env(safe-area-inset-bottom,0px))}.custom-stage .field label{font-size:12.5px}}.hall-list{display:flex;flex-direction:column;gap:8px;margin-top:4px}.hall-empty{text-align:center;padding:42px 16px;color:var(--muted);border:1px dashed var(--line-strong);border-radius:12px;font-size:15px;font-weight:700;line-height:1.9}.hall-empty span{font-size:12.5px;font-weight:400;opacity:.75}.hall-room{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border-radius:12px;background:var(--panel-2);border:1px solid var(--line)}.hall-room__main{display:flex;flex-direction:column;gap:3px;min-width:0}.hall-room__game{font-size:14.5px;font-weight:800;color:var(--gold-2)}.hall-room__id{font-size:12.5px;color:var(--muted);font-family:ui-monospace,monospace}.hall-room__host{font-size:12px;color:var(--muted);opacity:.85}.hall-room__side{display:flex;align-items:center;gap:10px;flex:0 0 auto}.hall-room__count{font-size:13px;font-weight:700;color:var(--text)}.hall-room__count.full{color:var(--red-soft)}.hall-room__btn{padding:8px 18px;font-size:13.5px}.hall-join{padding:12px 14px 14px;margin-bottom:12px;border-radius:12px;background:#0000002e;border:1px solid var(--line-strong)}@media(max-width:560px){.casual-bar .hall-create{padding:8px 14px;font-size:13.5px}.hall-room{padding:10px 11px}}#online-pill{font-weight:800;color:#fff6e0;background:#3c080a73;border:1px solid rgba(255,210,120,.45);white-space:nowrap}@media(orientation:landscape)and (max-height:480px){.topbar{padding:2px 8px;gap:4px}.topbar .room{font-size:11px}.topbar .pill{font-size:10px;padding:1px 6px}.topbar button{font-size:11px;padding:3px 7px}.quick-chat{gap:3px}.qc-btn{font-size:9.5px;padding:2px 6px;min-height:28px}.counter{padding:3px 8px;margin-top:2px;gap:6px}.counter__grid{gap:4px}.counter__cell{padding:1px 5px}.hand{min-height:84px;padding:14px 8px 2px}.card{width:48px;height:68px}.my-played .card{width:38px;height:54px}.played .card{width:34px;height:48px}.played{top:28%;max-width:34%}.middle{padding:2px 0}.seat--side{width:104px;padding:5px 4px 4px;top:4px;gap:1px;border-radius:12px}.seat__name{font-size:10px}.seat__avatar{width:34px;height:34px}.seat__count{min-width:18px;height:18px;font-size:10px}.seat__reveal{max-height:40px}.actions{gap:6px}.actions .primary{min-width:92px;font-size:14px;padding:8px 16px}.actions button:not(.ghost){font-size:13px;padding:8px 14px}.act-btn{min-width:92px;padding:8px 16px;font-size:14px;letter-spacing:1px}.phase-actions{min-height:40px;gap:10px}.phase-actions__tip{font-size:11px}.chat-box{min-width:108px;max-width:170px}.chat-log{max-height:22px;font-size:10px}.chat-input{padding:3px 8px}.center{top:2px;gap:2px}.bottom-cards,.lastplay{min-height:34px}.lastplay{min-height:22px}.timer{min-height:14px;font-size:11px}.timer b{font-size:13px}}.cheat-overlay{position:fixed;inset:0;z-index:9999;background:#d9453f;color:#fff;display:flex;flex-direction:column;align-items:stretch;padding:20px 0 30px;animation:cheat-in .25s ease}.cheat-overlay.cheat-out{opacity:0;transition:opacity .22s ease}@keyframes cheat-in{0%{opacity:0}to{opacity:1}}.cheat-line{height:1px;background:#ffffff8c;flex:0 0 auto}.cheat-mid{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 24px 20px}.cheat-logo{width:128px;height:58px;margin-bottom:6px;overflow:visible}.cheat-logo-t{font-family:Arial Black,Avenir Heavy,Segoe UI,sans-serif;font-size:46px;font-weight:900;font-style:italic;letter-spacing:3px;text-anchor:middle}.cheat-logo-shadow{fill:#ffffffe6}.cheat-logo-face{fill:#d9453f;stroke:#fff;stroke-width:2.4;paint-order:stroke}.cheat-title{font-size:30px;font-weight:700;letter-spacing:3px;margin:6px 0 18px}.cheat-sub{font-size:16px;margin-bottom:10px}.cheat-desc{font-size:11px;opacity:.92;margin:0}.cheat-btn{flex:0 0 auto;margin:0 auto 26px;min-width:150px;padding:9px 34px;background:#ffffff24;color:#fff;border:1px solid rgba(255,255,255,.85);font-size:14px;letter-spacing:4px;cursor:pointer;transition:background .15s ease,transform .1s ease}.cheat-btn:hover{background:#ffffff42}.cheat-btn:active{transform:scale(.98)}body.is-spectator .actions,body.is-spectator #phase-actions,body.is-spectator #btn-ming,body.is-spectator #btn-trustee,body.is-spectator #btn-start,body.is-spectator #btn-again,body.is-spectator .quick-chat,body.is-spectator #counter{display:none!important}body.is-spectator .hand .card{cursor:default}body.is-spectator .hand .card.focus,body.is-spectator .hand .card.selected{transform:none;box-shadow:none}body.is-spectator .hand{touch-action:pan-x}.sp-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:6px 10px;margin:0 0 6px;background:#0000002e;border:1px solid rgba(255,255,255,.14);border-radius:10px;font-size:12px;color:#eaf5ee}.sp-bar--watching{background:#ffd75e1f;border-color:#ffd75e61}.sp-tag{font-weight:600;letter-spacing:.5px;white-space:nowrap}.sp-watch{opacity:.9;white-space:nowrap}.sp-watch b{color:#ffd75e}.sp-switch{display:flex;gap:6px;flex-wrap:wrap}.sp-seat{padding:3px 10px;border-radius:999px;font-size:12px;cursor:pointer;border:1px solid rgba(255,255,255,.24);background:#ffffff0f;color:inherit;transition:background .15s ease,border-color .15s ease,color .15s ease}.sp-seat:hover{border-color:#ffd75e}.sp-seat.is-on{background:#ffd75e;color:#3a2a00;border-color:#ffd75e;font-weight:600}.sp-aud{opacity:.85;white-space:nowrap}.sp-names{opacity:.68;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:46%}.sp-exit{padding:3px 10px;font-size:12px}.mj-wrap{width:min(860px,100%);margin:0 auto;padding:6px 0 14px}.mj-table{display:grid;grid-template-areas:"msg  msg   msg" "top  top   top" "left river right" "act  act   act" "me   me    me";grid-template-columns:108px minmax(0,1fr) 108px;grid-template-rows:auto auto minmax(240px,1fr) auto auto;gap:6px;padding:12px;border-radius:18px;border:10px solid #7a4f28;background:radial-gradient(ellipse at 50% 42%,#2f8f5b,#23744a 55%,#1a5c3a);box-shadow:inset 0 0 70px #00000061,inset 0 0 0 2px #ffffff14,0 10px 26px #00000073}.mj-msg{grid-area:msg;justify-self:center;max-width:100%;font-size:13px;color:#f2f7ee;background:#00000052;border-radius:999px;padding:4px 16px;min-height:20px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mj-seat{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}.mj-seat--top{grid-area:top}.mj-seat--left{grid-area:left;justify-content:center}.mj-seat--right{grid-area:right;justify-content:center}.mj-seat__head{display:flex;align-items:baseline;gap:6px;font-size:12px;color:#f0f8eebf;background:#00000047;border-radius:999px;padding:3px 12px;white-space:nowrap}.mj-seat__head b{color:#f2f7ee;font-size:13px}.mj-seat__head.is-turn{background:#e8b34ce6;color:#3a2c07;box-shadow:0 0 10px #e8b34c8c}.mj-seat__head.is-turn b{color:#241a02}.mj-seat__backs{display:flex;justify-content:center}.mj-seat__backs .mj-tile--back{margin-left:-14px}.mj-seat__backs .mj-tile--back:first-child{margin-left:0}.mj-seat__backs--v{flex-direction:column;align-items:center}.mj-seat__backs--v .mj-tile--back{margin-left:0;margin-top:-13px}.mj-seat__backs--v .mj-tile--back:first-child{margin-top:0}.mj-seat__melds{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;max-width:100%}.mj-river{grid-area:river;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-rows:auto minmax(96px,1fr) auto;gap:6px;min-width:0}.mj-river__q{display:flex;flex-wrap:wrap;gap:3px;align-content:center;min-width:0}.mj-river__q--top{grid-column:1 / 4;justify-content:center;align-content:flex-end}.mj-river__q--bottom{grid-column:1 / 4;justify-content:center;align-content:flex-start}.mj-river__q--left{justify-content:flex-end}.mj-river__q--right{justify-content:flex-start}.mj-center{align-self:center;justify-self:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:132px;min-height:128px;padding:10px;border-radius:14px;background:#00000042;border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 0 22px #0000004d;text-align:center}.mj-center__wall{font-size:13px;font-weight:700;color:#f2f7ee;letter-spacing:1px}.mj-center__dice svg{width:34px;height:34px;display:block;filter:drop-shadow(0 2px 3px rgba(0,0,0,.4))}.mj-center__turn{font-size:13px;color:#f0f8eecc}.mj-center__turn.is-me{color:#ffd97a;font-weight:700}.mj-center__claim{margin-top:2px}.mj-actions{grid-area:act;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;min-height:40px}.mj-actions__label{font-size:13px;color:#f2f7ee;margin-right:4px}.mj-actions .co-actions__hint{color:#f0f8eeb3}.mj-btn{min-width:64px;padding:9px 14px;font-size:15px}.mj-btn--hu{background:#d9433c;border-color:#d9433c}.mj-btn--gang{background:#b98a2e;border-color:#b98a2e}.mj-btn--peng{background:#3f7fc2;border-color:#3f7fc2}.mj-me{grid-area:me;display:flex;align-items:flex-end;justify-content:center;gap:12px;flex-wrap:wrap}.mj-me__melds{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-end}.mj-hand{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:center;gap:4px;min-height:66px}.mj-hand__gap{width:14px}.mj-tile{position:relative;display:inline-block;width:44px;height:60px;border-radius:6px;-webkit-user-select:none;user-select:none;flex:none}.mj-tile svg{display:block;width:100%;height:100%}.mj-tile--face{background:linear-gradient(180deg,#fffdf6,#f3ecd9 78%,#e4d9bd);border:1px solid #c8bb98;box-shadow:0 3px #b3a67f,0 5px 7px #0000006b}.mj-tile--back{width:27px;height:37px;background:linear-gradient(160deg,#35906a,#22684a 60%,#1a563b);border:1px solid #12402c;box-shadow:0 2px #d9d2ba,0 3px 5px #0006}.mj-tile--v{width:37px;height:24px}.mj-tile--sm{width:24px;height:33px;border-radius:4px}.mj-tile--sm.mj-tile--face{box-shadow:0 2px #b3a67f,0 3px 4px #00000061}.mj-tile--hand.mj-tile--play{cursor:pointer;transition:transform .08s ease,box-shadow .08s ease}.mj-tile--hand.mj-tile--play:hover{transform:translateY(-8px);box-shadow:0 3px #b3a67f,0 10px 14px #00000080;border-color:#e8b34c}.mj-tile--que{opacity:.55;outline:1.5px dashed #d9433c;outline-offset:-3px}.mj-tile--claim{outline:2px solid #ffd97a;outline-offset:1px;box-shadow:0 0 10px #ffd97ab3}.mj-meld{display:inline-flex;gap:2px;padding:2px;border-radius:5px;background:#0000002e}.mj-meld--gang{outline:1.5px solid #e8b34c}.mj-none{font-size:13px;color:#f0f8eebf;align-self:center}@media(max-width:640px){.mj-table{grid-template-columns:64px minmax(0,1fr) 64px;padding:8px;border-width:7px;gap:4px}.mj-tile{width:32px;height:44px}.mj-tile--sm{width:19px;height:26px}.mj-tile--back{width:22px;height:30px}.mj-tile--v{width:30px;height:19px}.mj-seat__backs .mj-tile--back{margin-left:-12px}.mj-seat__backs--v .mj-tile--back{margin-top:-11px}.mj-center{width:96px;min-height:96px;padding:6px}.mj-center__dice svg{width:26px;height:26px}.mj-seat__head{font-size:11px;padding:2px 8px}.mj-hand{gap:3px;min-height:50px}.mj-hand__gap{width:9px}}.co-ai{font-style:normal;font-size:10px;background:#4a80d8;color:#fff;border-radius:4px;padding:1px 5px;margin-left:4px;vertical-align:1px}.co-ailine{font-size:12px;color:#9fc3f0;background:#4a80d81f;border-left:2px solid #4a80d8;border-radius:4px;padding:4px 8px;margin-bottom:3px;word-break:break-all}:root{--felt:#0a2a1e;--felt-2:#0f3d2b;--felt-3:#145239;--ink:#081410;--panel:#0e2f22;--panel-2:#123a2a;--line:rgba(246,239,224,.14);--line-strong:rgba(246,239,224,.24);--paper:#f7f1de;--paper-2:#fffaf0;--paper-dim:#e9dfc6;--gold:#d6b26a;--gold-2:#eecf8a;--gold-deep:#9a7d3f;--red:#c62f3b;--red-soft:#e85d68;--text:#f2ecda;--muted:#a8c0b2;--muted-2:#7fa08f;--black-suit:#1a2420;--shadow:0 18px 40px rgba(0,0,0,.38);--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ink);color:var(--text);font-family:Noto Sans SC,system-ui,-apple-system,PingFang SC,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased}button,[role=button],select,summary,input:not([type=checkbox],[type=radio]){min-height:36px}button{font-family:inherit;cursor:pointer}a{color:inherit}::selection{background:var(--gold);color:#1a1405}:focus-visible{outline:2px solid var(--gold-2);outline-offset:2px}button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}#lobby,#rooms,#games,#rank{scroll-margin-top:82px}.stat .num,.rank-score .s,.beans-chip,.room-meta .v,.game .g-meta .n{font-variant-numeric:tabular-nums}.topbar{position:sticky;top:0;z-index:40;background:#081410eb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);transition:box-shadow .25s ease}.topbar.scrolled{box-shadow:0 14px 34px #0000006b}.topbar-inner{max-width:1180px;margin:0 auto;padding:0 20px;height:64px;display:flex;align-items:center;gap:18px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;flex-shrink:0}.brand-mark{width:38px;height:38px;border-radius:9px;background:var(--paper);color:var(--ink);display:grid;place-items:center;font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-weight:900;font-size:20px;box-shadow:inset 0 0 0 2px #fff,0 4px 14px #00000059;transform:rotate(-4deg)}.brand-mark span{color:var(--red)}.brand-name{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-weight:900;font-size:19px;letter-spacing:.04em;line-height:1}.brand-sub{font-size:11px;color:var(--muted);letter-spacing:.22em;margin-top:3px}.nav{display:flex;gap:4px;margin-left:10px}.nav a{text-decoration:none;font-size:14px;font-weight:500;color:var(--muted);padding:9px 13px;border-radius:999px;min-height:36px;display:inline-flex;align-items:center}.nav a:hover{color:var(--text);background:#ffffff0f}.nav a.active{color:#171106;background:var(--gold);font-weight:700}.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.top-actions .btn,.top-actions .beans-chip,.top-actions .user-chip{flex-shrink:0}.beans-chip{display:none;align-items:center;gap:7px;background:#1a1408;border:1px solid rgba(214,178,106,.45);color:var(--gold-2);border-radius:999px;padding:6px 12px 6px 8px;font-size:13px;font-weight:700}.beans-chip .coin{width:20px;height:20px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f7e2a0,var(--gold) 55%,var(--gold-deep));color:#4a3510;display:grid;place-items:center;font-size:11px;font-weight:900}.beans-chip.show{display:inline-flex}.user-chip{display:none;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--text);background:#ffffff0f;border:1px solid var(--line);border-radius:999px;padding:5px 12px 5px 5px}.user-chip.show{display:inline-flex}.user-chip .avatar{width:26px;height:26px;border-radius:50%;background:var(--felt-3);border:1px solid var(--gold);display:grid;place-items:center;font-size:12px;color:var(--gold-2);font-weight:900}.btn{border:0;border-radius:999px;font-weight:700;font-size:14px;padding:9px 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;white-space:nowrap;transition:transform .15s ease,background .15s ease,box-shadow .15s ease}.btn:active{transform:translateY(1px)}.btn-gold{background-color:var(--gold);background-image:linear-gradient(100deg,transparent 32%,rgba(255,255,255,.38) 50%,transparent 68%),linear-gradient(180deg,var(--gold-2),var(--gold));background-size:230% 100%,100% 100%;background-position:125% 0,0 0;animation:goldSheen 4.8s ease-in-out infinite;color:#221806;box-shadow:0 6px 18px #d6b26a47}@keyframes goldSheen{0%,52%{background-position:125% 0,0 0}88%,to{background-position:-125% 0,0 0}}.btn-gold:hover{box-shadow:0 8px 22px #d6b26a66;transform:translateY(-1px)}.btn-ghost{background:transparent;color:var(--text);border:1px solid var(--line-strong)}.btn-ghost:hover{background:#ffffff0f}.btn-paper{background:var(--paper);color:var(--ink)}.btn-paper:hover{background:var(--paper-2)}.btn-sm{padding:7px 14px;font-size:13px}.hero{position:relative;overflow:hidden;background:radial-gradient(1100px 480px at 78% -10%,rgba(238,207,138,.14),transparent 55%),radial-gradient(900px 600px at 12% 110%,rgba(20,82,57,.85),transparent 60%),linear-gradient(180deg,var(--felt-2) 0%,var(--felt) 58%,var(--ink) 100%);border-bottom:1px solid var(--line)}.hero:before{content:"";position:absolute;inset:0;opacity:.5;pointer-events:none;background-image:radial-gradient(rgba(255,255,255,.045) 1px,transparent 1px);background-size:22px 22px}.hero-inner{position:relative;max-width:1180px;margin:0 auto;padding:52px 20px 0;display:grid;grid-template-columns:1.08fr .92fr;gap:28px;align-items:center}.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.18em;color:var(--gold-2);border:1px solid rgba(214,178,106,.4);border-radius:999px;padding:6px 12px;background:#00000038;font-weight:700}.hero-eyebrow .dot{width:7px;height:7px;border-radius:50%;background:#5fd68a;box-shadow:0 0 0 4px #5fd68a2e;animation:pulse 1.8s ease-in-out infinite}h1.hero-title{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-weight:900;font-size:clamp(38px,5.4vw,62px);line-height:1.12;letter-spacing:.02em;margin:20px 0 14px;color:var(--paper-2)}h1.hero-title em{font-style:normal;color:var(--gold-2)}.hero-lead{font-size:16px;line-height:1.75;color:#cfddcf;max-width:34em;margin:0 0 26px}.hero-cta{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.btn-match{font-size:17px;padding:14px 28px;border-radius:14px}.btn-match .sub{font-size:12px;font-weight:500;opacity:.75;display:block;line-height:1.2}.btn-match .main{line-height:1.25}.hero-note{font-size:12.5px;color:var(--muted);margin-top:14px}.hero-note b{color:var(--gold-2);font-weight:700}.fan-wrap{position:relative;min-height:340px;display:flex;align-items:flex-end;justify-content:center}.fan-table{position:absolute;bottom:-34px;left:50%;transform:translate(-50%);width:480px;height:480px;border-radius:50%;background:radial-gradient(circle at 50% 42%,#17573c,#0d3524 68%);border:14px solid #241708;box-shadow:0 0 0 3px #d6b26a59,0 30px 60px #00000080,inset 0 0 80px #00000073}.fan-table:before{content:"\6597\5730\4e3b";position:absolute;top:15%;left:50%;transform:translate(-50%);font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-weight:900;font-size:44px;letter-spacing:.35em;white-space:nowrap;color:#eecf8a14}.fan-table:after{content:"";position:absolute;inset:24px;border-radius:50%;border:1px solid rgba(238,207,138,.16)}.fan{position:relative;width:340px;height:300px}.pcard{position:absolute;bottom:26px;left:50%;width:118px;height:168px;margin-left:-59px;background:linear-gradient(160deg,#fffdf6,var(--paper) 70%);border-radius:12px;color:var(--black-suit);box-shadow:0 16px 30px #00000073,inset 0 0 0 1px #00000014;transform-origin:50% 115%;padding:10px 12px;transition:transform .35s ease}.pcard .rank{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-weight:900;font-size:26px;line-height:1}.pcard .suit{font-size:20px;line-height:1.15}.pcard .big{position:absolute;inset:0;display:grid;place-items:center;font-size:56px;opacity:.92}.pcard.red{color:var(--red)}.pcard.c1{transform:rotate(-36deg) translateY(12px)}.pcard.c2{transform:rotate(-18deg) translateY(0)}.pcard.c3{transform:rotate(0) translateY(-4px)}.pcard.c4{transform:rotate(18deg) translateY(0)}.pcard.joker{transform:rotate(36deg) translateY(12px);background:linear-gradient(160deg,#2b2b30,#101013);color:var(--gold-2)}.pcard.joker .big{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-size:30px;font-weight:900;letter-spacing:.1em}@media(hover:hover)and (prefers-reduced-motion:no-preference){.fan-wrap:hover .pcard.c1{transform:rotate(-41deg) translateY(10px)}.fan-wrap:hover .pcard.c2{transform:rotate(-21deg) translateY(-4px)}.fan-wrap:hover .pcard.c3{transform:rotate(0) translateY(-7px)}.fan-wrap:hover .pcard.c4{transform:rotate(21deg) translateY(-4px)}.fan-wrap:hover .pcard.joker{transform:rotate(41deg) translateY(10px)}}.fan-chip{position:absolute;display:flex;align-items:center;gap:8px;background:#06100cdb;border:1px solid var(--line-strong);border-radius:12px;padding:9px 13px;font-size:12.5px;color:var(--paper-dim);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.fan-chip b{color:#fff;font-size:13.5px}.fan-chip.tl{top:6px;left:-8px}.fan-chip.br{bottom:44px;right:-16px}.fan-chip .mini-av{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:900;color:#10231a}.fan-chip .timer-ring{width:26px;height:26px;border-radius:50%;flex-shrink:0;background:radial-gradient(circle,#0a1f16 0 57%,transparent 58%),conic-gradient(var(--gold-2) 0 80%,rgba(214,178,106,.22) 80% 100%);display:grid;place-items:center;font-size:10px;font-weight:900;color:var(--gold-2)}.stats{position:relative;max-width:1180px;margin:34px auto 0;padding:0 20px}.stats-bar{display:grid;grid-template-columns:repeat(4,1fr);background:#06100cb8;border:1px solid var(--line);border-bottom:0;border-radius:16px 16px 0 0;overflow:hidden}.stat{padding:18px 20px 20px;border-left:1px solid var(--line)}.stat:first-child{border-left:0}.stat .num{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-size:27px;font-weight:900;color:#fff;line-height:1.1}.stat .num small{font-size:14px;color:var(--gold-2)}.stat .lab{font-size:12.5px;color:var(--muted);margin-top:4px;letter-spacing:.06em}.wrap{max-width:1180px;margin:0 auto;padding:0 20px}section.block{padding:54px 0 6px}.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}.sec-head h2{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-size:27px;font-weight:900;margin:0;color:var(--paper-2);letter-spacing:.02em}.sec-head p{margin:6px 0 0;color:var(--muted);font-size:14px;line-height:1.6}.sec-link{font-size:13.5px;color:var(--gold-2);text-decoration:none;font-weight:700;padding:8px 4px;min-height:36px;display:inline-flex;align-items:center}.sec-link:hover{text-decoration:underline}.rooms{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.room{background:linear-gradient(180deg,var(--panel-2),var(--panel));border:1px solid var(--line);border-radius:var(--radius);padding:20px 18px 18px;display:flex;flex-direction:column;gap:0;position:relative;overflow:hidden;text-align:left;width:100%;color:var(--text);transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.room:hover{border-color:#d6b26a8c;transform:translateY(-3px);box-shadow:0 16px 32px #00000052}.room:after{content:"";position:absolute;right:-34px;top:-34px;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,rgba(214,178,106,.16),transparent 70%)}.room-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.room-name{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-size:21px;font-weight:900;color:#fff}.room-tag{font-size:11px;font-weight:700;letter-spacing:.08em;padding:4px 9px;border-radius:999px;background:#d6b26a24;color:var(--gold-2);border:1px solid rgba(214,178,106,.35);white-space:nowrap}.room-tag.hot{background:#c62f3b2e;color:#ff9aa2;border-color:#c62f3b73}.room-desc{font-size:13px;color:var(--muted);line-height:1.6;margin:8px 0 16px;min-height:42px}.room-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;padding:13px 0;border-top:1px dashed var(--line-strong);border-bottom:1px dashed var(--line-strong)}.room-meta .k{font-size:11.5px;color:var(--muted-2);letter-spacing:.05em}.room-meta .v{font-size:15px;font-weight:700;color:var(--paper);margin-top:2px}.room-meta .v .gold{color:var(--gold-2)}.room-foot{display:flex;align-items:center;justify-content:space-between;margin-top:15px;gap:10px}.room-players{font-size:12.5px;color:var(--muted);display:flex;align-items:center;gap:6px}.room-players .dot{width:6px;height:6px;border-radius:50%;background:#5fd68a}.room-enter{font-size:13.5px;font-weight:800;color:#171106;background:var(--paper);border:0;border-radius:10px;padding:9px 15px;min-height:38px;transition:background .15s ease,transform .1s ease}.room-enter:active{transform:translateY(1px)}.room:hover .room-enter{background:var(--gold-2)}.room.featured{border-color:#d6b26a99;background:linear-gradient(180deg,#1a4630,#0f3222)}.heat-row{display:flex;align-items:center;justify-content:space-between;margin-top:14px;font-size:11px;color:var(--muted-2);letter-spacing:.06em}.heat-row .pct{color:var(--gold-2);font-weight:700}.heat{height:5px;border-radius:99px;background:#ffffff14;margin-top:6px;overflow:hidden}.heat i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--gold-deep),var(--gold-2))}.games{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.game{display:flex;gap:14px;align-items:center;text-align:left;width:100%;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px;color:var(--text);transition:border-color .15s ease,background .15s ease,transform .15s ease}.game:hover{border-color:#d6b26a80;background:var(--panel-2);transform:translateY(-2px)}.game>span:not(.game-tile):not(.g-meta){flex:1;min-width:0}.game-tile{width:52px;height:52px;flex-shrink:0;border-radius:12px;background:var(--paper);color:var(--ink);display:grid;place-items:center;font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-weight:900;font-size:23px;box-shadow:inset 0 0 0 1px #0000001a}.game-tile.dark{background:#1c2420;color:var(--gold-2)}.game-tile.red{background:#f3e3d8;color:var(--red)}.game h3{margin:0;font-size:16px;font-weight:800;color:#fff}.game p{margin:3px 0 0;font-size:12.5px;color:var(--muted);line-height:1.5}.game .g-meta{margin-left:auto;text-align:right;flex-shrink:0}.game .g-meta .n{font-size:13px;font-weight:800;color:var(--gold-2)}.game .g-meta .t{font-size:11px;color:var(--muted-2);margin-top:2px}.duo{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;padding-bottom:8px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:22px}.panel h3{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-size:19px;font-weight:900;margin:0 0 4px;color:#fff}.panel .sub{font-size:12.5px;color:var(--muted);margin-bottom:14px}.rank-row{display:flex;align-items:center;gap:13px;padding:11px 8px;border-top:1px solid var(--line);border-radius:10px;transition:background .15s ease}.rank-row:hover{background:#ffffff08}.rank-row:first-of-type{border-top:0}.rank-no{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-weight:900;font-size:16px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;flex-shrink:0;color:var(--muted)}.rank-no.top{color:var(--gold-2);background:#d6b26a21}.rank-av{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:900;color:#0e241a;flex-shrink:0}.rank-name{font-size:14.5px;font-weight:700;color:var(--paper)}.rank-detail{font-size:12px;color:var(--muted);margin-top:1px}.rank-score{margin-left:auto;text-align:right}.rank-score .s{font-size:14.5px;font-weight:800;color:var(--gold-2)}.rank-score .t{font-size:11px;color:var(--muted-2)}.event-item{display:flex;gap:13px;padding:13px 0;border-top:1px solid var(--line)}.event-item:first-of-type{border-top:0;padding-top:2px}.event-date{flex-shrink:0;width:52px;text-align:center;background:#d6b26a1a;border:1px solid rgba(214,178,106,.3);border-radius:10px;padding:7px 0;color:var(--gold-2)}.event-date .d{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-size:18px;font-weight:900;line-height:1}.event-date .m{font-size:11px;margin-top:3px}.event-item h4{margin:0;font-size:14.5px;font-weight:700;color:var(--paper)}.event-item p{margin:4px 0 0;font-size:12.5px;color:var(--muted);line-height:1.6}.checkin{margin-top:16px;background:linear-gradient(120deg,#d6b26a29,#d6b26a0d);border:1px solid rgba(214,178,106,.4);border-radius:12px;padding:14px 16px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.checkin .txt{font-size:13.5px;line-height:1.55;color:var(--paper-dim)}.checkin .txt b{color:var(--gold-2)}.checkin .btn{margin-left:auto}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--panel)}.step{padding:22px 22px 24px;border-left:1px solid var(--line)}.step:first-child{border-left:0}.step .no{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-size:13px;font-weight:900;color:var(--gold-2);letter-spacing:.2em}.step h3{margin:8px 0 6px;font-size:16.5px;font-weight:800;color:#fff}.step p{margin:0;font-size:13.5px;color:var(--muted);line-height:1.7}footer{margin-top:60px;border-top:1px solid var(--line);background:#060f0b}.foot-inner{max-width:1180px;margin:0 auto;padding:28px 20px 36px;display:flex;gap:18px;flex-wrap:wrap;align-items:center;justify-content:space-between}.foot-inner .l{font-size:13px;color:var(--muted);line-height:1.7}.foot-inner .l b{color:var(--paper-dim)}.foot-links{display:flex;gap:4px;flex-wrap:wrap}.foot-links a{font-size:13px;color:var(--muted);text-decoration:none;padding:8px 10px;min-height:36px;display:inline-flex;align-items:center}.foot-links a:hover{color:var(--text)}#boards{scroll-margin-top:82px}.showcase{display:grid;grid-template-columns:1fr 1fr;gap:16px}.show-card{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);text-align:left;width:100%;color:var(--text);padding:0;display:block;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.show-card:hover{transform:translateY(-3px);box-shadow:0 18px 36px #00000059}.show-visual{height:172px;position:relative;overflow:hidden}.show-body{padding:20px 22px 22px}.show-body h3{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-size:22px;font-weight:900;margin:0;color:#fff}.show-body p{font-size:13.5px;line-height:1.7;color:var(--muted);margin:8px 0 16px;min-height:46px}.show-tags{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}.show-tags span{font-size:11.5px;padding:5px 10px;border-radius:999px;border:1px solid var(--line-strong);color:var(--paper-dim);background:#00000038}.show-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.show-players{font-size:12.5px;color:var(--muted);display:flex;align-items:center;gap:6px}.show-players .dot{width:6px;height:6px;border-radius:50%;background:#5fd68a}.show-junqi{background:linear-gradient(180deg,#232d18,#141c0e)}.show-junqi:hover{border-color:#beb26a99}.show-junqi .show-visual{background:repeating-linear-gradient(0deg,transparent 0 33px,rgba(60,52,26,.35) 33px 34px),repeating-linear-gradient(90deg,transparent 0 33px,rgba(60,52,26,.35) 33px 34px),linear-gradient(150deg,#e2d2a2,#cbb87f)}.show-junqi .show-visual:after{content:"\524d\7ebf";position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);text-align:center;font-size:11px;letter-spacing:.6em;color:#5a4a208c;font-weight:700;border-top:1px dashed rgba(90,74,32,.5);border-bottom:1px dashed rgba(90,74,32,.5);padding:3px 0}.jq-flag{position:absolute;top:14px;left:18px;background:#a4262c;color:#ffe9b0;font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-weight:900;font-size:13px;letter-spacing:.14em;padding:7px 12px 7px 14px;border-radius:3px;box-shadow:0 6px 14px #3c1e0059;z-index:2}.jq-flag:before{content:"";position:absolute;left:-4px;top:-6px;bottom:-14px;width:3px;background:#6d5320;border-radius:2px}.jq-tiles{position:absolute;right:16px;bottom:14px;display:flex;gap:7px;z-index:2}.jq-tile{width:44px;height:56px;border-radius:6px;background:linear-gradient(165deg,#fffaf0,#eadfc2);color:#a4262c;display:grid;place-items:center;font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-weight:900;font-size:14px;writing-mode:vertical-rl;letter-spacing:.12em;box-shadow:0 8px 16px #3c280059,inset 0 0 0 2px #a4262c80}.jq-tile.back{background:linear-gradient(165deg,#3d4a26,#232d15);color:var(--gold-2);writing-mode:horizontal-tb;font-size:17px;box-shadow:0 8px 16px #3c280059,inset 0 0 0 2px #eecf8a66}.jq-tile.blue{color:#24507e;box-shadow:0 8px 16px #3c280059,inset 0 0 0 2px #24507e80}.show-feixing{background:linear-gradient(180deg,#17334d,#0e2233)}.show-feixing:hover{border-color:#7eb8f099}.show-feixing .show-visual{background:linear-gradient(160deg,#bfe0f7,#8fc3ec 55%,#6ea9dd)}.fx-route{position:absolute;inset:0;width:100%;height:100%}.fx-dice{position:absolute;right:18px;bottom:16px;width:56px;height:56px;background:#fff;border-radius:13px;box-shadow:0 10px 20px #14325a59;display:grid;place-items:center;font-size:38px;color:#1c2f45;line-height:1;transform:rotate(-8deg);z-index:2}.fx-planes{position:absolute;left:18px;top:14px;display:flex;gap:8px;z-index:2}.fx-plane-dot{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:16px;color:#fff;box-shadow:0 6px 12px #14325a59;border:2px solid #fff}.game-tile.quad{background:conic-gradient(#e14b4b 0 25%,#f2b134 0 50%,#3faf6e 0 75%,#3f7fd1 0 100%);color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.45)}.game-tile.army{background:linear-gradient(160deg,#46582a,#232d15);color:#ffe9b0;box-shadow:inset 0 0 0 2px #eecf8a73}.game.game-wide{grid-column:1 / -1}.game-wide .jq-mini{display:flex;gap:5px;margin-left:6px;flex-shrink:0}.game-wide .jq-mini i{font-style:normal;width:30px;height:38px;border-radius:4px;background:linear-gradient(165deg,#fffaf0,#eadfc2);color:#a4262c;display:grid;place-items:center;font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-weight:900;font-size:11px;writing-mode:vertical-rl;box-shadow:inset 0 0 0 1.5px #a4262c80}.game-wide .jq-mini i.back{background:linear-gradient(165deg,#3d4a26,#232d15);color:var(--gold-2);writing-mode:horizontal-tb;font-size:12px;box-shadow:inset 0 0 0 1.5px #eecf8a66}.jq-board-wrap{background:linear-gradient(170deg,#2c3a1c,#1a2410);border:1px solid rgba(190,178,106,.4);border-radius:20px;padding:20px;box-shadow:var(--shadow)}.jq-board{max-width:430px;margin:0 auto;background:linear-gradient(160deg,#e7d6a6,#d3ba7d);border-radius:10px;padding:12px;box-shadow:inset 0 0 0 3px #8a6f35,inset 0 0 46px #785a1e59;position:relative}.jq-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;position:relative;z-index:1}.jq-cell{aspect-ratio:.82;border:1px solid rgba(96,76,32,.5);border-radius:6px;display:grid;place-items:center;position:relative;background:#fffae647}.jq-cell.rail{background:#fffae680;border-color:#604c20bf}.jq-cell.camp{background:radial-gradient(circle at 50% 50%,#fffceef2 0 58%,#d6be7866 60%);border-radius:50%;border:1.5px dashed rgba(96,76,32,.65);aspect-ratio:.82}.jq-cell.camp .camp-lab{font-size:10px;color:#7a5f22;font-weight:700;letter-spacing:.1em}.jq-cell.frontline{box-shadow:0 3px 0 -1px #a4262c8c}.jq-cell .hq-lab{position:absolute;bottom:2px;left:0;right:0;text-align:center;font-size:8.5px;color:#7a5f22;letter-spacing:.08em}.jq-piece{width:86%;height:88%;border-radius:5px;background:linear-gradient(165deg,#fffaf0,#e9dcba);color:#a4262c;display:grid;place-items:center;font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-weight:900;font-size:clamp(11px,2.6vw,15px);writing-mode:vertical-rl;letter-spacing:.1em;box-shadow:0 3px 7px #50370059,inset 0 0 0 2px #a4262c8c;cursor:pointer;border:0;padding:0}.jq-piece:hover{filter:brightness(1.05)}.jq-piece.sel{box-shadow:0 0 0 3px var(--gold-2),0 8px 16px #50370066;transform:translateY(-3px)}.jq-piece.mine-hint{box-shadow:0 3px 7px #50370059,inset 0 0 0 2px #a4262c8c,0 0 0 2px #d6b26a00}.jq-piece.opp{background:linear-gradient(165deg,#43512b,#242e14);color:var(--gold-2);writing-mode:horizontal-tb;font-size:15px;box-shadow:0 3px 7px #50370059,inset 0 0 0 2px #eecf8a73;cursor:pointer}.jq-cell.target{outline:2px solid rgba(23,114,69,.75);outline-offset:-2px;background:#5fd68a4d;cursor:pointer}.jq-mid{display:flex;align-items:center;gap:10px;margin:7px 2px;color:#6d5320;font-size:11px;letter-spacing:.34em;font-weight:700}.jq-mid:before,.jq-mid:after{content:"";flex:1;border-top:2px dashed rgba(164,38,44,.5)}.jq-legend{display:flex;flex-wrap:wrap;gap:7px 16px;justify-content:center;margin-top:14px;font-size:12px;color:#cdbf92}.jq-legend b{color:var(--gold-2)}.fx-board-wrap{background:linear-gradient(170deg,#274b6b,#152c42);border:1px solid rgba(126,184,240,.4);border-radius:20px;padding:20px;box-shadow:var(--shadow)}.fx-board{max-width:560px;margin:0 auto;background:#fdf8ec;border-radius:12px;padding:8px;box-shadow:inset 0 0 0 3px #33506e,0 14px 30px #0000004d}.fx-grid{display:grid;grid-template-columns:repeat(15,1fr);gap:1.5px;background:#c9d4de;padding:1.5px;border-radius:6px}.fx-cell{aspect-ratio:1;border-radius:2px;background:#fdf8ec;position:relative;display:grid;place-items:center}.fx-cell.base-r{background:#f3b7b7}.fx-cell.base-g{background:#b5dfc2}.fx-cell.base-y{background:#f7df9f}.fx-cell.base-b{background:#b3cdf2}.fx-cell.yard{background:#fff}.fx-cell.home-r{background:#f6caca}.fx-cell.home-g{background:#c2e8cd}.fx-cell.home-y{background:#fbe9b7}.fx-cell.home-b{background:#c3d9f7}.fx-cell.start-r{background:#e14b4b}.fx-cell.start-g{background:#3faf6e}.fx-cell.start-y{background:#f2b134}.fx-cell.start-b{background:#3f7fd1}.fx-cell.safe:after{content:"\2726";font-size:9px;color:#1e324680;position:absolute;inset:0;display:grid;place-items:center}.fx-cell.center{background:conic-gradient(from 45deg,#e14b4b 0 25%,#f2b134 0 50%,#3f7fd1 0 50%,#3f7fd1 75%,#3faf6e 0)}.fx-cell.center-side{background:#efe3c2}.fx-cell.center .fin{font-size:8px;font-weight:900;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.5);letter-spacing:.05em}.fx-plane{width:88%;height:88%;border-radius:50%;display:grid;place-items:center;font-size:clamp(9px,2vw,14px);color:#fff;border:1.5px solid #fff;box-shadow:0 2px 5px #14284666;position:relative;z-index:2;line-height:1}.fx-plane.pr{background:#e14b4b}.fx-plane.pg{background:#3faf6e}.fx-plane.py{background:#e9a90c}.fx-plane.pb{background:#3f7fd1}.fx-plane.me{box-shadow:0 0 0 2.5px var(--gold-2),0 2px 5px #14284666}.fx-dicebox{display:flex;align-items:center;gap:16px}.fx-diceface{width:74px;height:74px;flex-shrink:0;background:#fff;border-radius:16px;display:grid;place-items:center;font-size:56px;color:#1c2f45;line-height:1;box-shadow:0 8px 18px #00000059}.fx-diceface.rolling{animation:diceShake .12s linear infinite}@keyframes diceShake{0%{transform:rotate(-7deg)}50%{transform:rotate(6deg) translateY(-2px)}to{transform:rotate(-4deg)}}.fx-roll{flex:1}.fx-roll .btn{width:100%;padding:12px}.fx-roll p{margin:8px 0 0;font-size:12.5px;color:var(--muted);line-height:1.6;min-height:20px}@media(max-width:760px){.showcase{grid-template-columns:1fr}.jq-board-wrap,.fx-board-wrap{padding:12px}}.overlay{position:fixed;inset:0;z-index:80;background:#030806b8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:none;align-items:center;justify-content:center;padding:18px}.overlay.open{display:flex;animation:fadeIn .18s ease}.overlay.open .modal{animation:pop .24s cubic-bezier(.2,.8,.3,1)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes pop{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}.modal{width:100%;max-width:min(400px,calc(100vw - 36px));background:#0d2b1f;border:1px solid var(--line-strong);border-radius:20px;box-shadow:var(--shadow);overflow:hidden;max-height:92vh;overflow-y:auto}.modal-head{padding:24px 26px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.modal-head h3{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-size:22px;font-weight:900;margin:0;color:#fff}.modal-head p{margin:6px 0 0;font-size:13px;color:var(--muted);line-height:1.6}.modal-x{background:#ffffff12;border:1px solid var(--line);color:var(--text);border-radius:50%;width:36px;height:36px;font-size:16px;line-height:1;flex-shrink:0;padding:0;display:flex;align-items:center;justify-content:center}.bonus{margin:18px 26px 0;background:#d6b26a1a;border:1px dashed rgba(214,178,106,.55);border-radius:12px;padding:11px 14px;font-size:13px;color:var(--paper-dim);line-height:1.6}.bonus b{color:var(--gold-2)}.tabs{display:flex;gap:6px;margin:18px 26px 0;background:#0000004d;border-radius:11px;padding:4px}.tabs button{flex:1;border:0;background:transparent;color:var(--muted);font-size:14px;font-weight:700;border-radius:8px;padding:8px;min-height:38px}.tabs button.on{background:var(--paper);color:var(--ink)}.form{padding:18px 26px 26px;display:flex;flex-direction:column;gap:13px}.field label{display:block;font-size:12.5px;font-weight:700;color:var(--muted);margin-bottom:6px;letter-spacing:.05em}.field input{width:100%;background:#07120d;border:1px solid var(--line-strong);border-radius:11px;color:#fff;font-size:15px;padding:11px 13px;font-family:inherit}.field input:focus{outline:2px solid var(--gold);outline-offset:1px;border-color:var(--gold)}.form .btn{width:100%;padding:12px;font-size:15px;border-radius:12px}.form .fine{font-size:12px;color:var(--muted-2);text-align:center;line-height:1.6;margin:0}.form .err{display:none;font-size:12.5px;color:#ff9aa2;background:#c62f3b24;border:1px solid rgba(198,47,59,.4);border-radius:9px;padding:9px 12px}.form .err.show{display:block}.match-modal{max-width:min(420px,calc(100vw - 36px));text-align:center;padding:30px 28px 28px}.match-modal p{overflow-wrap:anywhere}.match-avatars{display:flex;justify-content:center;align-items:center;gap:0;margin:8px 0 18px}.m-av{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:19px;color:#0e241a;border:3px solid #0d2b1f;margin:0 -7px;position:relative}.m-av.me{background:var(--gold-2);z-index:2}.m-av.wait{background:#33584a;color:#bcd6c6;font-size:22px}.match-modal h3{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-size:21px;font-weight:900;margin:0 0 8px;color:#fff}.match-modal p{margin:0;font-size:13.5px;color:var(--muted);line-height:1.7}.match-status{font-size:14px;font-weight:700;color:var(--gold-2);margin:16px 0 4px;min-height:21px}.match-bar{height:6px;border-radius:99px;background:#ffffff17;overflow:hidden;margin:12px 0 20px}.match-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--gold-deep),var(--gold-2));border-radius:99px;transition:width .3s ease}.match-actions{display:flex;gap:10px;justify-content:center}.pulse-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#5fd68a;margin-right:7px;animation:pulse 1.2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.3}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}@keyframes riseIn{0%{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}.hero-eyebrow{animation:riseIn .55s ease backwards}.hero-title{animation:riseIn .65s .07s ease backwards}.hero-lead{animation:riseIn .65s .14s ease backwards}.hero-cta{animation:riseIn .65s .21s ease backwards}.hero-note{animation:riseIn .65s .28s ease backwards}.stats-bar{animation:riseIn .7s .3s ease backwards}@keyframes dealIn{0%{opacity:0;translate:0 84px}to{opacity:1;translate:0 0}}@keyframes unfold1{0%{transform:rotate(0) translateY(26px)}70%{transform:rotate(-39deg) translateY(10px)}to{transform:rotate(-36deg) translateY(12px)}}@keyframes unfold2{0%{transform:rotate(0) translateY(26px)}70%{transform:rotate(-20deg) translateY(-2px)}to{transform:rotate(-18deg) translateY(0)}}@keyframes unfold3{0%{transform:rotate(0) translateY(26px)}70%{transform:rotate(0) translateY(-7px)}to{transform:rotate(0) translateY(-4px)}}@keyframes unfold4{0%{transform:rotate(0) translateY(26px)}70%{transform:rotate(20deg) translateY(-2px)}to{transform:rotate(18deg) translateY(0)}}@keyframes unfold5{0%{transform:rotate(0) translateY(26px)}70%{transform:rotate(39deg) translateY(10px)}to{transform:rotate(36deg) translateY(12px)}}.pcard{animation:dealIn .65s cubic-bezier(.2,.8,.3,1) backwards}.pcard.c1{animation:dealIn .65s cubic-bezier(.2,.8,.3,1) backwards,unfold1 1.05s cubic-bezier(.22,.9,.3,1) .05s backwards}.pcard.c2{animation:dealIn .65s cubic-bezier(.2,.8,.3,1) .1s backwards,unfold2 1.05s cubic-bezier(.22,.9,.3,1) .15s backwards}.pcard.c3{animation:dealIn .65s cubic-bezier(.2,.8,.3,1) .2s backwards,unfold3 1.05s cubic-bezier(.22,.9,.3,1) .25s backwards}.pcard.c4{animation:dealIn .65s cubic-bezier(.2,.8,.3,1) .3s backwards,unfold4 1.05s cubic-bezier(.22,.9,.3,1) .35s backwards}.pcard.joker{animation:dealIn .65s cubic-bezier(.2,.8,.3,1) .42s backwards,unfold5 1.05s cubic-bezier(.22,.9,.3,1) .47s backwards}@keyframes chipFloat{0%{transform:translateY(0)}to{transform:translateY(-6px)}}.fan-chip{animation:riseIn .7s ease .55s backwards,chipFloat 4.5s ease-in-out 1.4s infinite alternate}.fan-chip.br{animation-delay:.7s,2.2s}.btn-match{animation-duration:3.6s}.btn-match .main{white-space:nowrap}.rv{transition:transform .6s cubic-bezier(.2,.8,.3,1)}.rv:not(.in){transform:translateY(18px)}.heat i{transition:width 1.1s cubic-bezier(.2,.8,.3,1) .2s}.jq-flag{transform-origin:0 50%;animation:flagWave 3s ease-in-out infinite}@keyframes flagWave{0%,to{transform:rotate(0)}50%{transform:rotate(-2.4deg)}}.jq-tile{animation:tileFloat 3.6s ease-in-out infinite}.jq-tiles .jq-tile:nth-child(2){animation-delay:.4s}.jq-tiles .jq-tile:nth-child(3){animation-delay:.8s}@keyframes tileFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.fx-route path{animation:dashMarch 1.3s linear infinite}@keyframes dashMarch{to{stroke-dashoffset:-34}}.fx-dice{animation:diceRock 3.2s ease-in-out infinite}@keyframes diceRock{0%,to{transform:rotate(-8deg)}50%{transform:rotate(-2deg) translateY(-4px)}}.fx-plane-dot{animation:planeBob 2.8s ease-in-out infinite}.fx-planes .fx-plane-dot:nth-child(2){animation-delay:.35s}.fx-planes .fx-plane-dot:nth-child(3){animation-delay:.7s}.fx-planes .fx-plane-dot:nth-child(4){animation-delay:1.05s}@keyframes planeBob{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.game-tile{transition:transform .25s ease}.game:hover .game-tile{transform:translateY(-3px) rotate(-4deg) scale(1.07)}.rank-row{transition:background .15s ease,transform .2s ease}.rank-row:hover{transform:translate(4px)}.brand-mark{transition:transform .3s ease}.brand:hover .brand-mark{transform:rotate(3deg) scale(1.05)}.m-av.me{animation:avPulse 1.8s ease-in-out infinite}@keyframes avPulse{0%,to{box-shadow:0 0 #eecf8a73}50%{box-shadow:0 0 0 7px #eecf8a00}}.beans-chip.pop .coin{animation:coinSpin .6s ease}@keyframes coinSpin{0%{transform:rotateY(0)}to{transform:rotateY(360deg)}}.hero:after{content:"";position:absolute;inset:-12% -6%;pointer-events:none;background:radial-gradient(620px 320px at 28% 18%,rgba(238,207,138,.08),transparent 62%),radial-gradient(520px 300px at 82% 78%,rgba(95,214,138,.05),transparent 60%);animation:ambientDrift 11s ease-in-out infinite alternate}@keyframes ambientDrift{0%{transform:translate(-14px,-6px)}to{transform:translate(18px,10px)}}.hero-inner,.hero .stats{z-index:1}h1.hero-title em{position:relative}h1.hero-title em:after{content:"";position:absolute;left:1px;right:1px;bottom:3px;height:3px;border-radius:2px;background:var(--gold);transform-origin:0 50%;animation:lineDraw .7s cubic-bezier(.2,.8,.3,1) .85s backwards}@keyframes lineDraw{0%{transform:scaleX(0)}to{transform:scaleX(1)}}.fan{animation:fanBob 6.5s ease-in-out infinite alternate}@keyframes fanBob{0%{translate:0 0;rotate:-.8deg}to{translate:0 -7px;rotate:.9deg}}.pcard.joker{animation:dealIn .65s cubic-bezier(.2,.8,.3,1) .42s backwards,unfold5 1.05s cubic-bezier(.22,.9,.3,1) .47s backwards,jokerGlow 2.8s ease-in-out 1.9s infinite alternate}@keyframes jokerGlow{0%{box-shadow:0 16px 30px #00000073,0 0 #eecf8a00,inset 0 0 0 1px #00000014}to{box-shadow:0 16px 30px #00000073,0 0 26px 3px #eecf8a61,inset 0 0 0 1px #00000014}}.fan-chip .timer-ring{animation:ringBeat 1.6s ease-in-out infinite}@keyframes ringBeat{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.fan-table{animation:tableGlow 5.5s ease-in-out infinite alternate}@keyframes tableGlow{0%{box-shadow:0 0 0 3px #d6b26a4d,0 30px 60px #00000080,inset 0 0 80px #00000073}to{box-shadow:0 0 0 3px #d6b26a80,0 30px 64px #00000080,inset 0 0 92px #0006}}.dust{position:absolute;inset:0;overflow:hidden;pointer-events:none}.dust i{position:absolute;bottom:-12px;border-radius:50%;opacity:0;background:radial-gradient(circle at 38% 35%,#f7e2a0,rgba(214,178,106,.55) 60%,transparent 72%);animation:dustRise linear infinite}@keyframes dustRise{0%{transform:translateZ(0);opacity:0}12%{opacity:.75}55%{transform:translate3d(14px,-46vh,0)}88%{opacity:.4}to{transform:translate3d(-8px,-88vh,0);opacity:0}}.nav a{position:relative}.nav a:after{content:"";position:absolute;left:13px;right:13px;bottom:5px;height:2px;border-radius:2px;background:var(--gold-2);transform:scaleX(0);transform-origin:0 50%;transition:transform .28s ease}.nav a:hover:after{transform:scaleX(1)}.nav a.active:after{background:#171106;transform:scaleX(1)}.beans-chip.show{animation:chipGlow 3.2s ease-in-out infinite alternate}@keyframes chipGlow{0%{box-shadow:0 0 #d6b26a00}to{box-shadow:0 0 14px 1px #d6b26a59}}.stat{transition:background .25s ease}.stat:hover{background:#eecf8a0d}.stat .num.tick{animation:numTick .45s ease}@keyframes numTick{0%{transform:scale(1)}40%{transform:scale(1.13)}to{transform:scale(1)}}.room:before{content:"";position:absolute;top:0;bottom:0;left:0;width:44%;z-index:1;pointer-events:none;background:linear-gradient(100deg,transparent,rgba(255,255,255,.08),transparent);transform:translate(-240%) skew(-16deg);transition:transform .8s ease}.room:hover:before{transform:translate(320%) skew(-16deg)}.room.featured{animation:featuredGlow 3.4s ease-in-out infinite alternate}@keyframes featuredGlow{0%{box-shadow:0 0 #d6b26a00}to{box-shadow:0 10px 30px #0000004d,0 0 22px 1px #d6b26a47}}.heat i{position:relative;overflow:hidden}.heat i:after{content:"";position:absolute;top:0;bottom:0;left:0;width:38%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);animation:heatShine 2.9s ease-in-out infinite}@keyframes heatShine{0%,55%{transform:translate(-110%)}95%,to{transform:translate(300%)}}.room-tag.hot{animation:tagPulse 1.9s ease-in-out infinite}@keyframes tagPulse{0%,to{transform:scale(1)}50%{transform:scale(1.07)}}.room-players .dot,.show-players .dot{animation:pulse 1.7s ease-in-out infinite}.room-enter{transition:background .15s ease,transform .25s cubic-bezier(.34,1.56,.64,1)}.room:hover .room-enter{transform:translate(3px)}@keyframes tagPop{0%{opacity:0;transform:scale(.55) translateY(6px)}to{opacity:1;transform:none}}.show-junqi .show-visual:before{content:"";position:absolute;top:0;bottom:0;left:0;width:30%;z-index:1;pointer-events:none;background:linear-gradient(100deg,transparent,rgba(255,252,230,.35),transparent);animation:scanSweep 5.2s ease-in-out infinite}@keyframes scanSweep{0%,58%{transform:translate(-130%) skew(-14deg)}92%,to{transform:translate(460%) skew(-14deg)}}.show-feixing .show-visual:before{content:"";position:absolute;top:12%;left:-12%;width:46%;height:34%;pointer-events:none;background:radial-gradient(closest-side,rgba(255,255,255,.5),transparent);animation:cloudDrift 9s ease-in-out infinite alternate}@keyframes cloudDrift{0%{transform:translate(0)}to{transform:translate(120%)}}.show-card.in .show-tags span{animation:tagPop .5s cubic-bezier(.34,1.56,.64,1) backwards}.show-card.in .show-tags span:nth-child(2){animation-delay:.08s}.show-card.in .show-tags span:nth-child(3){animation-delay:.16s}.show-card.in .show-tags span:nth-child(4){animation-delay:.24s}.game{position:relative;overflow:hidden}.game:after{content:"";position:absolute;top:0;bottom:0;left:0;width:40%;pointer-events:none;background:linear-gradient(100deg,transparent,rgba(255,255,255,.07),transparent);transform:translate(-260%) skew(-16deg);transition:transform .75s ease}.game:hover:after{transform:translate(340%) skew(-16deg)}.game-tile{transition-timing-function:cubic-bezier(.34,1.56,.64,1)}.panel.in .rank-row,.panel.in .event-item{animation:rowIn .55s cubic-bezier(.2,.8,.3,1) backwards}.panel.in .rank-row:nth-of-type(3),.panel.in .event-item:nth-of-type(3){animation-delay:.1s}.panel.in .rank-row:nth-of-type(4),.panel.in .event-item:nth-of-type(4){animation-delay:.18s}.panel.in .rank-row:nth-of-type(5){animation-delay:.26s}.panel.in .rank-row:nth-of-type(6){animation-delay:.34s}.panel.in .rank-row:nth-of-type(7){animation-delay:.42s}@keyframes rowIn{0%{opacity:0;transform:translate(-14px)}to{opacity:1;transform:none}}.rank-row.champ{position:relative;overflow:hidden}.rank-row.champ:after{content:"";position:absolute;top:0;bottom:0;left:0;width:36%;pointer-events:none;background:linear-gradient(100deg,transparent,rgba(238,207,138,.13),transparent);animation:scanSweep 4.6s ease-in-out infinite}.rank-row.champ .rank-no{animation:avPulse 2.1s ease-in-out infinite}.event-date{transition:transform .25s cubic-bezier(.34,1.56,.64,1)}.event-item:hover .event-date{transform:translateY(-3px) rotate(-3deg)}#checkinBtn{animation:btnPulse 2.3s ease-in-out infinite}@keyframes btnPulse{0%,to{box-shadow:0 0 #eecf8a73}55%{box-shadow:0 0 0 8px #eecf8a00}}#checkinBtn:disabled{animation:none}.step{transition:transform .25s ease,background .25s ease}.step:hover{transform:translateY(-4px);background:var(--panel-2)}.bonus b{animation:bonusGlow 2.4s ease-in-out infinite}@keyframes bonusGlow{0%,to{text-shadow:0 0 0 rgba(238,207,138,0)}50%{text-shadow:0 0 12px rgba(238,207,138,.65)}}.match-bar i{background:linear-gradient(90deg,var(--gold-deep),var(--gold-2)),repeating-linear-gradient(45deg,rgba(255,255,255,.22) 0 10px,transparent 10px 20px);background-blend-mode:overlay;animation:stripesMove .7s linear infinite}@keyframes stripesMove{to{background-position:0 0,28px 0}}.m-av.wait{animation:waitBounce 1.15s ease-in-out infinite}#mAv2{animation-delay:.28s}@keyframes waitBounce{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.toasts{position:fixed;left:50%;transform:translate(-50%);z-index:100;display:flex;flex-direction:column;gap:9px;align-items:center;width:min(92vw,440px)}.toast{background:#f3ecd9;color:#1c241e;border-radius:12px;padding:12px 18px;font-size:14px;font-weight:600;box-shadow:0 14px 34px #00000073;display:flex;gap:9px;align-items:center;max-width:100%;text-align:center;animation:toastIn .25s ease}.toast .tick{color:#177245;font-weight:900}@keyframes toastIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(max-width:1020px){.rooms,.games{grid-template-columns:repeat(2,1fr)}.hero-inner{grid-template-columns:1fr;padding-top:40px}.fan-wrap{min-height:300px;margin-top:26px}.fan-table{width:400px;height:400px;bottom:-30px;border-width:10px}.fan-chip.tl{left:2px}.fan-chip.br{right:2px}}@media(max-width:760px){.nav{display:none}.brand-sub{display:none!important}.brand-name{font-size:16px}.brand-mark{width:32px;height:32px;font-size:17px}.top-actions{gap:7px}.beans-chip{padding:5px 9px 5px 6px;font-size:12px}.user-chip{padding:4px}.user-chip #userName{display:none}#logoutBtn{padding:7px 11px;font-size:12px}.stats-bar{grid-template-columns:repeat(2,1fr)}.stat{border-left:0;border-top:1px solid var(--line)}.stat:nth-child(-n+2){border-top:0}.stat:nth-child(2n){border-left:1px solid var(--line)}.duo,.steps{grid-template-columns:1fr}.step{border-left:0;border-top:1px solid var(--line)}.step:first-child{border-top:0}section.block{padding-top:42px}.hero-cta{flex-direction:column;align-items:stretch}.hero-cta .btn{flex:1}.btn-match{justify-content:center}}@media(max-width:520px){.topbar-inner{gap:8px}.top-actions{gap:6px}.top-actions .btn-sm{padding:6px 10px;font-size:12px}.rooms,.games{grid-template-columns:1fr}.fan{transform:scale(.86)}.fan-wrap{min-height:262px;margin-top:34px}.fan-table{width:320px;height:320px;bottom:-24px;border-width:8px}.fan-table:before{font-size:29px;top:13%}.fan-table:after{inset:16px}.fan-chip.br{display:none}.topbar-inner{padding:0 14px;gap:10px}.wrap,.stats,.hero-inner{padding-left:14px;padding-right:14px}}.topbar-inner,.hero-inner,.stats,.wrap,.foot-inner{max-width:1240px}.hero-inner{grid-template-columns:.94fr 1.06fr;padding-top:46px}.stats{margin-top:26px;padding-bottom:38px}.stats-bar{border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 38px #00000061}main.wrap{display:grid;grid-template-columns:minmax(0,1fr) 368px;gap:4px 28px;align-items:start}main.wrap>section.block{padding-top:44px}#rooms{grid-column:1;grid-row:1}#boards{grid-column:1;grid-row:2}#games{grid-column:1;grid-row:3}#rank{grid-column:2;grid-row:1 / span 2}main.wrap>section.block:not([id]){grid-column:1 / -1;grid-row:4}.sec-head{border-bottom:1px solid var(--line);padding-bottom:14px}.sec-head h2{border-left:4px solid var(--gold);padding-left:12px}.rooms{grid-template-columns:repeat(2,1fr)}.room-desc{min-height:0}.showcase{grid-template-columns:1fr}.show-card{display:grid;grid-template-columns:252px minmax(0,1fr)}.show-visual{height:auto;min-height:196px}.show-body{display:flex;flex-direction:column}.show-body p{min-height:0}.show-foot{margin-top:auto}.games{grid-template-columns:repeat(2,1fr)}.duo{grid-template-columns:1fr}@media(max-width:1080px){main.wrap{grid-template-columns:1fr}main.wrap>section.block{grid-column:1!important;grid-row:auto!important}.hero-inner{grid-template-columns:1fr}.duo{grid-template-columns:1.15fr .85fr}.showcase{grid-template-columns:1fr 1fr}.show-card{display:block}.show-visual{height:172px;min-height:0}.show-body p{min-height:46px}.show-foot{margin-top:0}}@media(max-width:760px){.duo,.showcase{grid-template-columns:1fr}.stats{padding-bottom:26px}}.top-live{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;color:var(--paper-dim);border:1px solid var(--line);border-radius:999px;padding:7px 12px;background:#ffffff0a;white-space:nowrap}.top-live .dot{width:7px;height:7px;border-radius:50%;background:#5fd68a;animation:pulse 1.7s infinite}.top-live b{color:#fff;font-variant-numeric:tabular-nums}.hero-feats{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.hero-feats span{font-size:12.5px;font-weight:700;color:var(--gold-2);border:1px solid rgba(214,178,106,.4);background:#00000038;border-radius:999px;padding:6px 12px}.mode-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px;max-width:560px}.mode-card{text-align:left;background:#06100cb8;border:1px solid var(--line-strong);border-radius:14px;padding:15px 17px;color:var(--text);transition:border-color .15s ease,transform .15s ease;width:100%}.mode-card:hover{border-color:#d6b26a99;transform:translateY(-2px)}.mode-card h3{margin:0;font-size:16px;font-weight:800;color:#fff;display:flex;align-items:center;gap:8px}.mode-card h3 .need{font-size:11px;font-weight:700;color:#171106;background:var(--gold-2);border-radius:999px;padding:3px 8px}.mode-card h3 .free{font-size:11px;font-weight:700;color:#0e241a;background:#5fd68a;border-radius:999px;padding:3px 8px}.mode-card p{margin:6px 0 0;font-size:12.5px;color:var(--muted);line-height:1.6}.cat-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.cat-tabs a,.cat-tabs button{font-size:13px;font-weight:700;color:var(--muted);background:var(--panel);border:1px solid var(--line);border-radius:999px;padding:8px 15px;text-decoration:none;min-height:36px;display:inline-flex;align-items:center;cursor:pointer;font-family:inherit}.cat-tabs a:hover,.cat-tabs button:hover{color:var(--text);border-color:#d6b26a80}.cat-tabs .on{color:#171106;background:var(--gold);border-color:var(--gold)}.games-cat{grid-column:1 / -1;font-size:12.5px;font-weight:800;letter-spacing:.14em;color:var(--gold-2);margin:8px 0 -2px;display:flex;align-items:center;gap:10px}.games-cat:after{content:"";flex:1;border-top:1px dashed var(--line-strong)}.games-cat:first-child{margin-top:0}.hall{margin-top:16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);padding:22px}.hall h3{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-size:19px;font-weight:900;margin:0 0 4px;color:#fff}.hall .sub{font-size:12.5px;color:var(--muted);margin-bottom:16px}.hall-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 26px}.f-field label{display:block;font-size:12.5px;font-weight:700;color:var(--muted);margin-bottom:8px;letter-spacing:.05em}.f-field label .only{color:var(--gold-2);font-weight:500}.chip-row{display:flex;flex-wrap:wrap;gap:7px}.chip-row button{border:1px solid var(--line-strong);background:#00000040;color:var(--paper-dim);border-radius:999px;padding:7px 13px;font-size:13px;font-weight:600;min-height:36px}.chip-row button.on{background:var(--paper);color:var(--ink);border-color:var(--paper);font-weight:800}.f-input{width:100%;background:#07120d;border:1px solid var(--line-strong);border-radius:11px;color:#fff;font-size:14.5px;padding:10px 13px;font-family:inherit}.f-input:focus{outline:2px solid var(--gold);outline-offset:1px;border-color:var(--gold)}.f-rowflex{display:flex;gap:9px}.f-rowflex .f-input{flex:1;min-width:0}.switch-row{display:flex;align-items:center;gap:11px;font-size:13.5px;color:var(--paper-dim)}.switch-vis{width:44px;height:24px;border-radius:99px;background:var(--gold);position:relative;flex-shrink:0}.switch-vis:after{content:"";position:absolute;top:3px;right:3px;width:18px;height:18px;border-radius:50%;background:#fff}.rules-box{margin-top:18px;border:1px solid var(--line);border-radius:12px;background:#00000038}.rules-box summary{cursor:pointer;padding:13px 16px;font-size:14px;font-weight:800;color:var(--paper);list-style:none;min-height:44px;display:flex;align-items:center}.rules-box summary::-webkit-details-marker{display:none}.rules-box summary:after{content:"\25be";margin-left:auto;color:var(--gold-2)}.rules-box[open] summary:after{content:"\25b4"}.rules-body{padding:2px 16px 15px;font-size:13px;line-height:1.75;color:var(--muted)}.rules-body b{color:var(--paper-dim)}.rules-body p{margin:0 0 9px}.hall-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.rank-modal{max-width:min(560px,calc(100vw - 36px))}.rank-table{width:100%;border-collapse:collapse;font-size:13.5px}.rank-table th{font-size:11.5px;letter-spacing:.08em;color:var(--muted);text-align:left;padding:9px 10px;border-bottom:1px solid var(--line-strong)}.rank-table td{padding:9px 10px;border-bottom:1px solid var(--line);color:var(--paper-dim)}.rank-table td:first-child{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-weight:900;color:var(--muted)}.rank-table tr.top3 td:first-child{color:var(--gold-2)}.rank-table td.beans{color:var(--gold-2);font-weight:700;text-align:right;font-variant-numeric:tabular-nums}.rank-table th:last-child{text-align:right}.rank-scroll{max-height:52vh;overflow-y:auto;padding:0 6px 6px}.rank-panel-cols{display:flex;gap:14px;font-size:11.5px;color:var(--muted-2)}.p24-cards{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:8px 0 4px}.p24-card{left:auto;bottom:auto;margin:0;animation:none;width:86px;height:120px;border-radius:11px;background:linear-gradient(160deg,#fffdf6,var(--paper) 70%);color:var(--black-suit);box-shadow:0 12px 24px #0006,inset 0 0 0 1px #00000014;padding:9px 11px;position:relative}.p24-card.red{color:var(--red)}.p24-card .rank{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-weight:900;font-size:23px;line-height:1}.p24-card .suit{font-size:18px}.p24-card .big{position:absolute;inset:0;display:grid;place-items:center;font-size:44px;opacity:.92}.p24-ops{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:14px}.p24-ops button{width:48px;height:48px;border-radius:12px;border:1px solid var(--line-strong);background:#ffffff0d;color:#fff;font-size:20px;font-weight:800}.p24-ops button:hover{background:#d6b26a2e;border-color:#d6b26a99}.p24-expr{background:#07120d;border:1px dashed var(--line-strong);border-radius:12px;padding:13px 16px;text-align:center;font-size:17px;letter-spacing:.14em;color:var(--paper-dim);min-height:52px;display:flex;align-items:center;justify-content:center}.p24-stats{display:flex;gap:10px;flex-wrap:wrap}.p24-stats span{background:#06100cb8;border:1px solid var(--line);border-radius:10px;padding:8px 13px;font-size:13px;color:var(--muted)}.p24-stats b{color:var(--gold-2);font-variant-numeric:tabular-nums}.entry-card{max-width:520px;margin:26px auto 0;background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:26px}.entry-card h3{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-size:21px;font-weight:900;margin:0 0 6px;color:#fff}.entry-card .sub{font-size:13px;color:var(--muted);line-height:1.65;margin-bottom:18px}.remember-row{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:var(--paper-dim);line-height:1.55;cursor:default}.remember-box{width:19px;height:19px;flex-shrink:0;border-radius:5px;border:1.5px solid var(--gold);background:#d6b26a29;display:grid;place-items:center;color:var(--gold-2);font-size:12px;font-weight:900;margin-top:1px}.remember-row small{display:block;color:var(--muted-2);font-size:12px}.field .hint{font-size:11.5px;color:var(--muted-2);margin-top:5px}@media(max-width:760px){.mode-cards,.hall-grid{grid-template-columns:1fr}.top-live{display:none}}#catTabsWrap{grid-column:1 / -1;grid-row:1;padding-top:24px}#catTabsWrap .cat-tabs{margin-bottom:0}#rooms{grid-row:2}#boards{grid-row:3}#games{grid-row:4}#rank{grid-row:2 / span 2}#hallSec{grid-column:1 / -1;grid-row:5}#hallSec .hall{margin-top:0}#hallSec .hall-grid{grid-template-columns:1fr 1fr}main.wrap>section.block:not([id]){grid-row:6}@media(max-width:1080px){#catTabsWrap{grid-column:1;grid-row:auto}}@media(max-width:760px){#hallSec .hall-grid{grid-template-columns:1fr}#catTabsWrap{padding-top:18px}}main.wrap>section{min-width:0}.join-panel{border:1px dashed var(--line-strong);border-radius:12px;padding:16px 18px;margin-bottom:20px;background:#0000002e}.room-empty{margin-top:12px;font-size:13px;color:var(--muted);display:flex;align-items:center;gap:9px;line-height:1.6}.room-empty:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--muted-2);flex-shrink:0}.p24-answer{text-align:center;font-size:13.5px;color:var(--muted);margin:2px 0 14px}.p24-answer b{color:var(--gold-2)}html,body{overflow-x:clip}body{-webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}img,svg{max-width:100%}@media(max-width:760px){.topbar-inner{height:auto;min-height:56px;flex-wrap:wrap;padding:10px 14px;row-gap:9px}.top-actions{margin-left:0;width:100%;flex-wrap:wrap;gap:8px}.top-actions .btn{flex:1 1 auto;min-height:42px}.top-actions .beans-chip,.top-actions .user-chip{flex:0 1 auto;min-height:42px}#lobby,#rooms,#games,#rank,#boards,#hallSec,#catTabsWrap{scroll-margin-top:128px}.btn,.chip-row button,.cat-tabs a,.cat-tabs button,.bv-chat button,.bv-actions button,.p24-ops button{min-height:44px}.field input,.f-input{font-size:16px}.chip-row button{padding:9px 15px}.hero-inner{padding:34px 14px 0}h1.hero-title{font-size:clamp(32px,9.6vw,40px);margin:16px 0 12px}.hero-lead{font-size:15px}.hero-feats{margin-bottom:14px}.mode-cards{max-width:none}.fan-wrap{overflow:visible}.fan-chip.tl{left:0;max-width:62vw;font-size:11.5px;padding:8px 10px}.stats{margin-top:20px}.stat{padding:15px 14px 16px}.stat .num{font-size:23px}.sec-head{margin-bottom:18px}.sec-head h2{font-size:23px}.sec-link{padding-left:16px}section.block{padding-top:36px}.room{padding:18px 16px 16px}.room-foot{flex-wrap:wrap}.room-enter{flex:1;text-align:center;min-height:44px}.panel{padding:18px 16px}.show-visual{height:150px}.show-body{padding:18px}.show-foot{flex-wrap:wrap}.show-foot .btn{flex:1;text-align:center;min-height:44px}.game{padding:14px;gap:11px}.game-tile{width:46px;height:46px;font-size:20px}.game h3{font-size:15px}.game .g-meta .n{font-size:12.5px}.cat-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cat-tabs a,.cat-tabs button{justify-content:center;text-align:center}.cat-tabs a:first-child{grid-column:1 / -1}.checkin .btn{margin-left:0;flex:1;text-align:center}.hall{padding:18px 16px}.join-panel{padding:14px}.f-rowflex{flex-direction:column}.f-rowflex .btn{width:100%;min-height:44px}.hall-actions .btn{flex:1;text-align:center;justify-content:center}.fx-dicebox{gap:12px}.fx-diceface{width:62px;height:62px;font-size:46px;border-radius:13px}.jq-board{padding:8px}.jq-board-wrap,.fx-board-wrap{padding:10px}.jq-legend{font-size:11px;gap:5px 10px}.p24-stats{flex-wrap:wrap}.p24-cards{gap:8px;flex-wrap:nowrap}.p24-card{width:70px;height:100px;padding:7px 9px}.p24-card .rank{font-size:19px}.p24-card .suit{font-size:15px}.p24-card .big{font-size:36px}.p24-expr{font-size:14.5px;letter-spacing:.06em;padding:12px}.entry-card{padding:20px 16px;margin-top:18px}.overlay{padding:12px;padding-bottom:calc(12px + env(safe-area-inset-bottom))}.modal{max-width:calc(100vw - 24px);max-height:92dvh;border-radius:16px}.modal-head{padding:20px 18px 0}.bonus,.tabs{margin:14px 18px 0}.form{padding:16px 18px calc(20px + env(safe-area-inset-bottom))}.form .btn{min-height:48px}.match-modal{padding:24px 18px calc(22px + env(safe-area-inset-bottom))}.match-actions{flex-direction:column}.match-actions .btn{width:100%;min-height:46px}.rank-modal{max-width:calc(100vw - 24px)}.rank-scroll{padding:0 2px 4px}.rank-table{font-size:12.5px}.rank-table th{padding:8px 6px;font-size:11px}.rank-table td{padding:8px 6px}.rank-table td:nth-child(2){overflow-wrap:anywhere}#rankOverlay .modal>div:last-child{padding:12px 18px calc(16px + env(safe-area-inset-bottom))!important}.toasts{width:min(94vw,440px)}.toast{font-size:13.5px;padding:11px 14px}.foot-inner{flex-direction:column;align-items:flex-start;gap:10px;padding:24px 14px calc(30px + env(safe-area-inset-bottom))}}@media(max-width:520px){.rooms,.games{grid-template-columns:1fr}.fan{transform:scale(.8)}.fan-table{width:min(320px,94vw);height:min(320px,94vw)}.fan-chip.tl{top:0}}@media(max-width:380px){.brand-name{font-size:15px}.top-actions .btn-sm{padding:7px 9px;font-size:12px}.stat .num{font-size:20px}.fan{transform:scale(.72)}.fan-wrap{min-height:238px}.p24-card{width:62px;height:90px}.p24-card .big{font-size:30px}.room-meta .v{font-size:14px}.m-av{width:54px;height:54px;font-size:17px}}@media(max-width:760px){input,textarea,select{max-width:100%}}@media(max-width:520px){.game{flex-wrap:wrap;row-gap:8px}.game .g-meta{flex-basis:100%;margin-left:57px;text-align:left;display:flex;align-items:baseline;gap:6px}.game .g-meta .t{margin-top:0}}@media(max-width:1080px){main.wrap{grid-template-columns:minmax(0,1fr)}#catTabsWrap{min-width:0}}@media(min-width:521px)and (max-width:1020px){.rooms,.games{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.rooms,.games{grid-template-columns:minmax(0,1fr)}}.fx-board{width:100%}.fx-grid,.fx-cell,.jq-grid,.jq-cell,.panel,.bv-panel{min-width:0}@media(max-width:760px){.game{flex-wrap:wrap;row-gap:8px}.game .g-meta{flex:0 0 auto;width:calc(100% - 57px);margin-left:57px;text-align:left;display:flex;align-items:baseline;gap:6px}.game .g-meta .t{margin-top:0}.topbar-inner{padding:8px 12px;row-gap:7px}.top-actions .btn{min-height:40px;font-size:13px;padding:8px 12px}.top-actions .beans-chip,.top-actions .user-chip{min-height:40px}#lobby,#rooms,#games,#rank,#boards,#hallSec,#catTabsWrap{scroll-margin-top:112px}.jq-board-wrap{padding:8px;border-radius:16px}.fx-board-wrap{padding:6px;border-radius:16px}.fx-board{padding:4px;border-radius:10px}.fx-grid{gap:1px;padding:1px}.fx-plane{font-size:clamp(10px,3.1vw,14px)}.jq-board{padding:8px}.fx-diceface{width:58px;height:58px;font-size:44px;border-radius:12px}.fx-roll .btn{min-height:48px}.rank-row{gap:10px}.rank-row>span:nth-child(3){flex:1;min-width:0}.rank-detail{overflow-wrap:anywhere}.rank-score{flex-shrink:0}}body{background:var(--ink, #081410)!important;color:var(--text, #f2ecda)!important}#screen-lobby{background:var(--ink, #081410)!important;overflow-y:auto}#screen-lobby .lobby-bg,#screen-lobby .lobby-top,#screen-lobby .lobby-stage,#screen-lobby .lobby-bottom,#screen-lobby .guest-card{display:none!important}#screen-lobby .topbar,#screen-lobby .hero,#screen-lobby .wrap{display:block!important}#screen-lobby .stats-bar{display:flex!important}#screen-lobby .mode-cards,#screen-lobby .mode-cards--casual,#screen-lobby .mode-cards--board{max-width:none;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}#screen-lobby .mode-cards--casual .mode-card__title{white-space:normal;overflow:visible;text-overflow:clip}#screen-lobby .topbar{position:sticky!important;top:0!important;z-index:40!important;background:#081410eb!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;border-bottom:1px solid var(--line)!important}#screen-lobby .topbar-inner{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between;height:64px}#screen-lobby .hero{background:var(--felt-2, #0f3d2b)!important;padding:60px 20px!important}#screen-lobby .hero-inner{max-width:1200px;margin:0 auto}#screen-lobby .hero-title{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif!important;font-size:42px!important;font-weight:900!important;color:var(--text)!important;line-height:1.2!important;margin:12px 0!important}#screen-lobby .hero-title em{font-style:normal;color:var(--gold-2)!important}#screen-lobby .hero-lead{color:var(--muted)!important;font-size:15px!important;max-width:520px!important;margin:12px 0 20px!important}#screen-lobby .hero-eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--gold)!important;margin-bottom:8px}#screen-lobby .hero-eyebrow .dot{width:8px;height:8px;border-radius:50%;background:var(--gold-2);display:inline-block}#screen-lobby .hero-feats{display:flex;gap:8px;flex-wrap:wrap}#screen-lobby .hero-feats span{font-size:12px;padding:4px 10px;border:1px solid var(--line);border-radius:20px;color:var(--muted)}#screen-lobby .hero-cta{display:flex;gap:12px;align-items:center;margin-top:20px}#screen-lobby .hero-note{color:var(--muted-2)!important;font-size:12.5px!important;margin-top:16px!important}#screen-lobby .hero-note b{color:var(--gold-2)!important}#screen-lobby .btn-gold{background:var(--gold)!important;color:#1a1405!important;border:none!important;font-weight:700!important;border-radius:12px!important;padding:14px 28px!important;font-size:16px!important;cursor:pointer!important}#screen-lobby .btn-ghost{background:transparent!important;color:var(--text)!important;border:1px solid var(--line)!important;border-radius:8px!important;cursor:pointer!important}#screen-lobby .btn-sm{padding:6px 14px!important;font-size:13px!important}#screen-lobby .top-live{font-size:13px;color:var(--muted)!important;display:inline-flex;align-items:center;gap:5px}#screen-lobby .top-live .dot{width:8px;height:8px;border-radius:50%;background:#4caf50;display:inline-block}#screen-lobby .beans-chip{display:inline-flex;align-items:center;gap:4px;background:#d6b26a26;border:1px solid var(--gold-deep);border-radius:20px;padding:4px 12px;font-size:13px;color:var(--gold-2)!important}#screen-lobby .beans-chip .coin{font-weight:900;color:var(--gold)!important}#screen-lobby .user-chip{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--text)!important}#screen-lobby .user-chip .avatar{width:28px;height:28px;border-radius:50%;background:var(--gold-deep);display:grid;place-items:center;font-size:12px;color:#fff}#screen-lobby .stats-bar{display:flex;justify-content:center;gap:40px;padding:24px 20px;background:var(--panel)!important;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}#screen-lobby .stat .num{font-size:28px;font-weight:900;color:var(--gold-2)!important}#screen-lobby .stat .lab{font-size:12px;color:var(--muted)!important;margin-top:2px}#screen-lobby .wrap{max-width:1200px;margin:0 auto;padding:20px}#screen-lobby .section-title{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif!important;font-size:20px!important;font-weight:900!important;color:var(--paper)!important;margin:28px 0 12px!important;padding-bottom:8px;border-bottom:1px solid var(--line)}#screen-lobby .mode-card{background:var(--panel-2, #123a2a)!important;border:1px solid var(--line)!important;border-radius:var(--radius, 18px)!important;color:var(--text)!important;cursor:pointer!important;transition:border-color .2s,transform .15s}#screen-lobby .mode-card:hover{border-color:var(--gold)!important;transform:translateY(-2px)}#screen-lobby .mode-card__title{color:var(--paper)!important;font-weight:700!important}#screen-lobby .mode-card__desc{color:var(--muted)!important}#screen-lobby .mode-card__tag{background:#d6b26a26!important;color:var(--gold-2)!important;border:1px solid var(--gold-deep)!important}#screen-lobby .mode-card__go{color:var(--gold)!important}#screen-lobby .mode-card__icon{color:var(--gold-2)!important}@media(max-width:760px){#screen-lobby .topbar-inner{height:auto!important;min-height:56px;flex-wrap:wrap;padding:8px 12px;row-gap:6px;column-gap:10px}#screen-lobby .top-actions{gap:6px;flex-wrap:wrap;justify-content:flex-end}#screen-lobby .top-actions .btn-sm{padding:5px 9px;font-size:12px;min-height:30px}#screen-lobby .top-live{font-size:11.5px;padding:5px 9px}#screen-lobby .brand-sub{display:none!important}}@media(max-width:520px){#screen-lobby .stats-bar{gap:8px!important;padding:14px 8px!important}#screen-lobby .stat{flex:1 1 0;min-width:0}#screen-lobby .stat .num{font-size:22px!important}#screen-lobby .stat .lab{font-size:11px!important;line-height:1.35}#screen-lobby .hero{padding:34px 18px!important}#screen-lobby .hero-title{font-size:30px!important}}#view-junqi .jq-board-wrap{max-width:430px;margin:0 auto}@media(max-width:980px){#screen-lobby .fan-wrap{display:none!important}}#screen-lobby .fan-chip.tl{left:0}#screen-lobby .fan-chip.br{right:0}#boards .show-foot{justify-content:flex-end}@media(max-width:760px){#screen-lobby .top-actions .btn{flex:0 0 auto}}#screen-lobby .section-title{display:flex;align-items:center;font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-size:22px;font-weight:900;letter-spacing:.02em;color:var(--paper-2);margin:40px 0 18px;padding:0 0 12px 14px;border-bottom:1px solid var(--line);position:relative}#screen-lobby .section-title:before{content:"";position:absolute;left:0;top:3px;bottom:15px;width:4px;border-radius:2px;background:var(--gold);flex:none;height:auto}#screen-lobby .section-title:after{content:none;display:none}#screen-lobby .room-grid{gap:14px}#screen-lobby .room-card{background:var(--panel-2)!important;border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:none!important;color:var(--text)!important;padding:16px 18px!important}#screen-lobby .room-card:hover:not(:disabled){transform:translateY(-2px);border-color:#d6b26a8c!important;box-shadow:0 10px 24px #00000047!important}#screen-lobby .room-card.active{border-color:var(--gold)!important;box-shadow:0 0 0 2px #d6b26a38!important;transform:none}#screen-lobby .room-card__name{color:var(--gold-2)!important;font-size:16px;letter-spacing:.5px}#screen-lobby .room-card__desc{color:var(--muted)!important}#screen-lobby .room-card__gate{color:#8fd6a8!important}#screen-lobby .room-card--wild{border-color:#f0965a73!important}#screen-lobby .room-tip{color:var(--muted)!important}#screen-lobby .room-tip b{color:var(--gold-2)!important}#screen-lobby .mode-card{background:var(--panel-2)!important;border:1px solid var(--line)!important;border-radius:16px!important;padding:15px 16px!important;box-shadow:none!important}#screen-lobby .mode-card:hover{border-color:#d6b26a8c!important;box-shadow:0 10px 24px #00000047!important}#screen-lobby .mode-card__icon{width:46px;height:46px;border-radius:14px;background:#d6b26a1a!important;border:1px solid rgba(214,178,106,.3)!important;color:var(--gold-2)!important;box-shadow:none!important}#screen-lobby .mode-card__go{width:32px;height:32px;padding:0;display:grid;place-items:center;border-radius:50%;background:transparent!important;border:1px solid rgba(214,178,106,.45)!important;color:var(--gold-2)!important;font-size:16px;font-weight:700;line-height:1;box-shadow:none!important}#screen-lobby .mode-card:hover .mode-card__go{background:#d6b26a24!important;border-color:var(--gold)!important}#boards .show-card{background:var(--panel-2)!important;border:1px solid var(--line)!important;border-radius:16px!important}#boards .show-card:hover{border-color:#d6b26a80!important;box-shadow:0 14px 30px #00000052!important}#boards .show-visual{border-right:1px solid var(--line)}#boards .show-visual:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#0814101f,#08141070)}#boards .show-body h3{color:var(--paper-2)}#boards .show-card .btn-gold{background:transparent!important;color:var(--gold-2)!important;border:1px solid rgba(214,178,106,.5)!important;border-radius:10px!important;padding:9px 16px!important;font-size:13px!important;font-weight:700!important;box-shadow:none!important}#boards .show-card .btn-gold:hover{background:#d6b26a24!important;border-color:var(--gold)!important}#boards .show-junqi .show-visual{background:repeating-linear-gradient(0deg,transparent 0 33px,rgba(238,207,138,.12) 33px 34px),repeating-linear-gradient(90deg,transparent 0 33px,rgba(238,207,138,.12) 33px 34px),linear-gradient(150deg,#26301a,#151d10)!important}#boards .show-junqi .show-visual:after{color:#eecf8a61!important;border-top-color:#eecf8a38!important;border-bottom-color:#eecf8a38!important}#boards .show-feixing .show-visual{background:linear-gradient(160deg,#13323f,#0a1d27)!important}#boards .show-visual:before{background:linear-gradient(180deg,#08141038,#08141000)!important}#screen-lobby>section.block{max-width:1200px;margin:0 auto;padding-left:20px;padding-right:20px}#loginOverlay .tabs button.on{background:#d6b26a29!important;color:var(--gold-2)!important;box-shadow:inset 0 0 0 1px #d6b26a73}#rankOverlay .rank-table thead{display:none}#rankOverlay #rankTableBody{display:block}#rankOverlay .hist-row.lb-row{display:flex;align-items:center;gap:10px;background:transparent!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;padding:10px 6px!important;font-size:13px}#rankOverlay .hist-row.lb-row:last-child{border-bottom:0!important}#rankOverlay .hist-row.lb-row:hover{background:#ffffff09!important}#rankOverlay .lb-no{width:30px;flex:0 0 30px;text-align:center;color:var(--muted)}#rankOverlay .lb-name{flex:1 1 auto;min-width:0;color:var(--text);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#rankOverlay .lb-rank{flex:0 0 auto;font-size:11.5px}#rankOverlay .lb-rate{flex:0 0 auto;font-size:11.5px;color:var(--muted)}#rankOverlay .lb-beans{flex:0 0 auto;color:var(--gold-2)!important;font-weight:800}#rankOverlay .lb-row--me{background:#d6b26a1a!important}#rankOverlay .lb-row--me .lb-name{color:var(--gold-2)!important}#rankOverlay .lb-me{display:flex;align-items:center;gap:10px;margin:2px 22px 10px;padding:10px 14px;border-radius:12px;background:#d6b26a1f;border:1px solid rgba(214,178,106,.4);font-size:13px}#rankOverlay .lb-me[hidden]{display:none}#rankOverlay .lb-me b{font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-size:15px;color:var(--gold-2);letter-spacing:.04em}#rankOverlay .lb-me__name{flex:1 1 auto;min-width:0;font-weight:700;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#rankOverlay .lb-me .lb-rank{flex:0 0 auto;font-size:11.5px}#rankOverlay .lb-me .lb-rate{flex:0 0 auto;font-size:11.5px;color:var(--muted)}#rankOverlay .lb-me .lb-beans{flex:0 0 auto;color:var(--gold-2);font-weight:800}#rankOverlay .lb-me__none{color:var(--muted);font-size:12.5px}@media(max-width:760px){#rankOverlay .lb-me{margin:2px 14px 8px;padding:9px 11px;flex-wrap:wrap;row-gap:4px}}.fan-chip .timer-ring{background:radial-gradient(circle,#0a1f16 0 57%,transparent 58%),conic-gradient(var(--gold-2) 0 var(--ring, 80%),rgba(214,178,106,.22) var(--ring, 80%) 100%)}@keyframes chipSubIn{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}.chip-sub{display:inline-block}.chip-sub--swap{animation:chipSubIn .45s ease both}.bd-xq.is-back .bd-xq__disc{fill:#2b3a22;stroke:#6f5f33}.bd-xq.is-back .bd-xq__inner{stroke:#eecf8a59}.bd-xq.is-back .bd-xq__txt{fill:#eecf8abf;font-size:22px}.bd-svg--banqi{display:block;width:100%;height:auto;max-width:min(660px,100%);margin:0 auto}.bd-bq-board{fill:#f4e4c2;stroke:#8a6a3c;stroke-width:2}.bd-bq-cell{fill:#ffffff4d;stroke:#b08a4a;stroke-width:.8;opacity:.6}.bd-bq-frame{fill:none;stroke:#8a6a3c;stroke-width:2.4}.bd-bq-last{fill:#e8762a2b}.bd-bq__disc{fill:#fdf6e6;stroke:#b08a4a;stroke-width:2}.bd-bq__inner{fill:none;stroke:#cbb07c;stroke-width:1}.bd-bq__txt{font-size:26px;font-weight:700}.bd-bq.is-red .bd-bq__txt{fill:#c62828}.bd-bq.is-black .bd-bq__txt{fill:#2f2a24}.bd-bq.is-sel .bd-bq__disc{stroke:#e8762a;stroke-width:3.4;fill:#fff4e0}.bd-bq-selbg{fill:#e8762a1a;stroke:#e8762a73;stroke-width:2}.bd-bq-tip{fill:#e8762a80}.bd-bq-tip.is-ring{fill:none;stroke:#e8762a;stroke-width:2.6;opacity:.9}#screen-online{background:var(--ink, #081410)!important}#screen-online .co-center{background:transparent!important}#screen-online .co-card{background:var(--panel-2, #123a2a)!important;border:1px solid var(--line)!important;border-radius:16px!important;color:var(--text)!important;box-shadow:0 18px 44px #00000073!important}#screen-online .co-card__title{color:var(--gold-2)!important}#screen-online .co-card__sub{color:var(--muted)!important}#screen-online .co-card__tip{color:var(--muted-2, #9db4a8)!important}#screen-online .field label{color:var(--muted)!important}#screen-online .field input,#screen-online .field .row input{background:#07120d!important;border:1px solid var(--line-strong)!important;color:var(--text)!important;border-radius:10px!important}#screen-online .field .row button{background:transparent!important;border:1px solid rgba(214,178,106,.45)!important;color:var(--gold-2)!important;border-radius:10px!important}#screen-online .primary{background:var(--gold)!important;color:#1a1405!important;border:none!important;font-weight:700!important;border-radius:11px!important}#screen-online .ghost{background:transparent!important;color:var(--text)!important;border:1px solid var(--line)!important;border-radius:10px!important}.lb-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:2px 20px 10px}.lb-tabs--sub{padding-top:0}#rankOverlay .modal-head,#friendsOverlay .modal-head,#taskOverlay .modal-head{position:sticky;top:0;z-index:2;background:#0d2b1f;padding-bottom:10px}#rankOverlay .modal-x,#friendsOverlay .modal-x,#taskOverlay .modal-x{margin-top:4px;margin-right:4px}.lb-tab{-webkit-appearance:none;appearance:none;border:1px solid var(--line-2);background:transparent;color:var(--text);border-radius:999px;padding:5px 12px;font-size:12.5px;font-weight:600;cursor:pointer;opacity:.75}.lb-tab.active{background:#d6b26a29;color:var(--gold-2);box-shadow:inset 0 0 0 1px #d6b26a73;opacity:1}.lb-row .lb-elo{flex:0 0 auto;font-weight:800;color:var(--gold-2)}.lb-row .lb-wl{flex:0 0 auto;font-size:11.5px;color:var(--muted)}.friends-modal .friends-add{display:flex;gap:8px;padding:2px 20px 12px}.friends-modal .friends-add input{flex:1 1 auto;min-width:0;background:#0000002e;border:1px solid var(--line-2);color:var(--text);border-radius:10px;padding:8px 10px;font-size:13px;outline:none}.friends-modal .friends-add input::placeholder{color:var(--muted)}.friends-scroll{max-height:46vh;overflow-y:auto;padding:0 20px 6px}.fr-sec{margin:4px 0 10px}.fr-sec__title{font-size:11.5px;color:var(--muted);margin:6px 0 2px;letter-spacing:.05em}.fr-row{display:flex;align-items:center;gap:9px;padding:9px 2px;border-bottom:1px solid var(--line);font-size:13px}.fr-row:last-child{border-bottom:0}.fr-dot{width:8px;height:8px;border-radius:50%;flex:0 0 8px;background:#6b7280;opacity:.55}.fr-dot.on{background:#5ad07c;opacity:1;box-shadow:0 0 6px #5ad07cbf}.fr-name{flex:1 1 auto;min-width:0;color:var(--text);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fr-room{flex:0 0 auto;font-size:11px;color:var(--gold-2);border:1px solid var(--line-2);border-radius:999px;padding:2px 8px;max-width:46%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fr-btn{-webkit-appearance:none;appearance:none;cursor:pointer;border:1px solid var(--line-2);background:transparent;color:var(--text);border-radius:9px;padding:4px 10px;font-size:12px;font-weight:600}.fr-btn.primary{background:var(--gold);color:#1a1405;border-color:transparent}.fr-btn.danger{color:#ff9d9d;border-color:#ff787866}.fr-btn:disabled{opacity:.45;cursor:not-allowed}.fr-empty{color:var(--muted);font-size:12.5px;padding:8px 2px}.nbadge{display:inline-block;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#e5484d;color:#fff;font-size:10.5px;font-weight:800;line-height:16px;text-align:center;vertical-align:2px;margin-left:4px}.mode-card .nbadge{position:absolute;top:6px;right:8px;margin:0}.mode-card{position:relative}.task-row{display:flex;align-items:center;gap:10px;padding:10px 2px;border-bottom:1px solid var(--line);font-size:13px}.task-row:last-child{border-bottom:0}.task-row__body{flex:1 1 auto;min-width:0}.task-row__desc{color:var(--text);font-weight:600}.task-row__desc.done{color:var(--gold-2)}.task-row__bar{height:6px;border-radius:999px;background:#00000040;margin-top:5px;overflow:hidden;position:relative}.task-row__bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--gold-2),var(--gold));transition:width .3s ease}.task-row__meta{font-size:11px;color:var(--muted);margin-top:3px}.task-row__claim{flex:0 0 auto;-webkit-appearance:none;appearance:none;cursor:pointer;border:1px solid var(--line-2);background:transparent;color:var(--text);border-radius:9px;padding:5px 12px;font-size:12px;font-weight:700}.task-row__claim.ready{background:var(--gold);color:#1a1405;border-color:transparent}.task-row__claim:disabled{opacity:.45;cursor:not-allowed}.ach-row .task-row__desc{font-weight:600}.ach-row.unlocked .task-row__desc{color:var(--gold-2)}.ach-row .ach-mark{flex:0 0 auto;font-size:16px;opacity:.35}.ach-row.unlocked .ach-mark{opacity:1}.co-elo{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:2px 0 8px;font-size:12px;color:var(--muted)}.co-elo[hidden]{display:none}.co-elo__item{border:1px solid var(--line-2);border-radius:999px;padding:3px 10px;background:#d6b26a14}.co-elo__delta{font-weight:800}.co-elo__delta.up{color:#6fe08e}.co-elo__delta.down{color:#ff9d9d}#overlay-history .hist-pve{color:#8fb8a8;background:#8fb8a81a;border:1px solid rgba(143,184,168,.3);border-radius:6px;padding:0 6px;font-size:11px}.gd-banner[hidden],.gd-tribute[hidden],.gd-next-line[hidden]{display:none!important}.gd-banner{position:relative;flex:0 0 auto;margin:0 auto 6px;max-width:calc(100% - 6px);display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 12px;padding:4px 12px;border-radius:12px;background:linear-gradient(180deg,#08341ad6,#052212d6);border:1px solid rgba(255,232,180,.32);box-shadow:0 8px 22px #001a0c73;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);pointer-events:none}.gd-banner__chips{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px}.gd-chip{font-size:11px;line-height:1.55;padding:1px 8px;border-radius:999px;background:#00281073;border:1px solid rgba(255,255,255,.18);color:#d8ecda;white-space:nowrap}.gd-chip b{color:#ffe9b8;font-weight:800}.gd-chip--deal{color:#cfe6ff;border-color:#96c8ff59}.gd-chip--level{color:#ffe9b8;border-color:#ffe8b473;font-weight:700}.gd-chip--warn{color:#ffd0a0;border-color:#ff963c8c;background:#78320073;font-weight:700}.gd-chip--anti{color:#a8ffd2;border-color:#5af0aa73;background:#005a3273;font-weight:700}.gd-banner__teams{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 14px}.gd-team{display:flex;align-items:center;gap:5px;font-size:11px;color:#d8ecda;white-space:nowrap}.gd-team b{color:#ffe9b8;font-weight:800}.gd-team em{font-style:normal;color:#ffffffb3}.gd-team--mine b{color:#8affc0}.gd-team--mine em{color:#a8ffd2}.gd-progress{display:inline-flex;align-items:center;gap:2px}.gd-progress i{width:5px;height:9px;border-radius:1.5px;background:#ffffff29;box-shadow:inset 0 0 0 1px #ffffff0f}.gd-progress i.done{background:linear-gradient(180deg,#ffd96b,#d9a023)}.gd-progress i.cur{background:linear-gradient(180deg,#fff6d0,#ffd15c);box-shadow:0 0 6px #ffd65ccc}.gd-banner__wild{display:flex;align-items:center;gap:5px}.gd-wild-label{font-size:10px;letter-spacing:1px;color:#fff9}.gd-wild-card{display:inline-block;width:22px;height:30px}.gd-tribute{position:absolute;z-index:7;left:50%;top:52%;transform:translate(-50%,-50%);width:min(360px,calc(100% - 28px));padding:12px 14px 11px;border-radius:16px;background:linear-gradient(180deg,#0a3a1ef5,#062414f7);border:1px solid rgba(255,232,180,.45);box-shadow:0 20px 44px #00140899,inset 0 0 0 1px #ffffff0d;text-align:center}.gd-tribute__title{font-size:14px;font-weight:900;letter-spacing:1px;color:#ffe9b8;margin-bottom:8px}.gd-tribute__rows{display:flex;flex-direction:column;gap:5px}.gd-tribute__row{display:flex;align-items:center;justify-content:center;gap:8px;padding:5px 8px;border-radius:9px;font-size:12px;color:#e6f5e8;background:#001e0c59;border:1px solid rgba(255,255,255,.08)}.gd-tribute__row.acting{border-color:#ffd75e99;background:#5a460059;box-shadow:0 0 14px #ffd75e40}.gd-tribute__who{font-weight:700;max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gd-tribute__arrow{color:#ffd75e;font-size:11px}.gd-tribute__state{font-size:11px;color:#fff9}.gd-tribute__row.acting .gd-tribute__state{color:#ffe9b8;font-weight:700}.gd-tribute__public{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:9px}.gd-tribute__pub{display:flex;flex-direction:column;align-items:center;gap:2px}.gd-tribute__publab{font-size:10px;color:#fff9}.gd-tribute__status{margin-top:9px;font-size:12px;line-height:1.5;color:#ffffffc7}.gd-tribute__status.mine{color:#ffe9b8;font-weight:700}.gd-next-line{margin:6px 0 0;font-size:12px;line-height:1.6;color:#ffe9b8}.badge--rank{top:-12px;line-height:1.5;padding:0 8px;border-radius:999px;font-size:10px;font-weight:900;color:#2a1e05;background:linear-gradient(180deg,#ffeaa6,#e3b545);border:1px solid rgba(255,246,214,.9);box-shadow:0 2px 8px #00140873;white-space:nowrap;filter:none}.gd-rank{display:inline-block;margin-right:5px;padding:0 6px;border-radius:999px;font-size:10px;font-weight:900;line-height:1.6;color:#2a1e05;background:linear-gradient(180deg,#ffeaa6,#e3b545);vertical-align:1px}.gd-rank--2{background:linear-gradient(180deg,#e8eef6,#b9c6d6);color:#23303d}.gd-rank--3{background:linear-gradient(180deg,#f0c9a4,#c98f5e);color:#33200f}.gd-rank--4{background:linear-gradient(180deg,#cfd6cf,#8e9a92);color:#232a25}.chip--team{color:#ffc9c9;border-color:#ff8c8c73}.chip--team-mate{color:#a8ffd2;border-color:#5af0aa80;font-weight:700}@media(max-width:640px){.gd-banner{gap:3px 8px;padding:4px 10px 4px 8px;border-radius:11px}.gd-chip{font-size:10px;padding:0 6px}.gd-banner__wild{order:1;margin-left:auto}.gd-banner__teams{order:2;flex:1 1 100%;gap:8px}.gd-team{font-size:10px;gap:3px}.gd-progress i{width:4px;height:8px}.gd-tribute{padding:10px 11px}.gd-tribute__title{font-size:13px}}#rankOverlay .lb-me{flex-wrap:wrap;row-gap:4px}#rankOverlay .lb-seed{flex:0 0 auto;font-size:11px;line-height:1.6;padding:0 7px;border-radius:999px;color:#8affc0;border:1px solid rgba(90,240,170,.45);background:#005a3247;white-space:nowrap}#rankOverlay .lb-title{flex:0 0 auto;font-size:11px;line-height:1.6;padding:0 7px;border-radius:999px;color:#ffe9b8;border:1px solid rgba(255,232,180,.45);background:#d6b26a1f;white-space:nowrap}#rankOverlay .lb-row .lb-elo{flex:0 0 auto;font-variant-numeric:tabular-nums}#dmOverlay .dm-modal{width:min(430px,calc(100vw - 28px));max-width:430px;max-height:min(600px,88vh);max-height:min(600px,88dvh);display:flex;flex-direction:column;overflow:hidden}#dmOverlay .modal-head{padding:18px 20px 12px;border-bottom:1px solid var(--line);flex:0 0 auto}#dmOverlay .modal-head h3{font-size:19px}#dmOverlay .modal-head p{font-size:12px;margin-top:4px}.dm-log{flex:1 1 auto;min-height:170px;overflow-y:auto;padding:14px 16px;display:flex;flex-direction:column;gap:8px;background:#00000024;overscroll-behavior:contain}.dm-msg{display:flex;flex-direction:column;max-width:84%}.dm-msg.me{align-self:flex-end;align-items:flex-end}.dm-msg.you{align-self:flex-start;align-items:flex-start}.dm-bubble{padding:8px 11px;border-radius:13px;font-size:13px;line-height:1.55;word-break:break-word;white-space:pre-wrap}.dm-msg.me .dm-bubble{background:linear-gradient(180deg,#ffeec0,#e3b545);color:#2a1e05;border-bottom-right-radius:4px}.dm-msg.you .dm-bubble{background:#ffffff24;border:1px solid var(--line-strong);color:var(--text);border-bottom-left-radius:4px}.dm-msg__time{font-size:10px;color:var(--muted);margin-top:3px}.dm-empty{margin:auto;color:var(--muted);font-size:12.5px;text-align:center;line-height:1.8}.dm-send{flex:0 0 auto;display:flex;gap:8px;padding:12px 16px 16px;border-top:1px solid var(--line)}.dm-send input{flex:1 1 auto;min-width:0;background:#07120d;border:1px solid var(--line-strong);color:var(--text);border-radius:10px;padding:9px 12px;font-size:13px}.dm-send input:focus{outline:none;border-color:var(--gold)}.dm-send input::placeholder{color:var(--muted)}.fr-btn.dm{padding:4px 8px;display:inline-flex;align-items:center;gap:3px}.fr-unread{display:inline-grid;place-items:center;min-width:15px;height:15px;padding:0 4px;border-radius:999px;background:var(--red, #c0392b);color:#fff;font-size:10px;font-weight:800;line-height:1}@media(max-width:560px){#dmOverlay .dm-modal{max-height:86vh;max-height:86dvh;border-radius:16px}#dmOverlay .modal-head{padding:14px 16px 10px}.dm-log{min-height:130px;padding:12px}.dm-send{padding:10px 12px 14px}.dm-msg{max-width:90%}}.ai-modal-card{width:min(430px,92vw);background:#0d2b1f;color:var(--text);border:1px solid var(--line-strong);border-radius:16px;padding:20px;box-shadow:var(--shadow)}.ai-modal-card h3{margin:0 0 8px;font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,STSong,serif;font-size:17px;font-weight:900;color:var(--gold-2)}.ai-modal-card .ai-tip{margin:0 0 12px;font-size:12px;line-height:1.75;color:var(--muted)}.ai-modal-card .ai-tip b{color:var(--gold-2)}.ai-modal-card input{width:100%;box-sizing:border-box;margin-bottom:8px;padding:9px 11px;background:#07120d;color:var(--text);border:1px solid var(--line-strong);border-radius:9px;font-size:13px}.ai-modal-card input:focus{outline:none;border-color:var(--gold)}.ai-modal-card input::placeholder{color:var(--muted)}.ai-modal-card .ai-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:6px}.ai-modal-card .ai-btn{padding:8px 14px;border-radius:9px;font-size:13px;font-weight:700;background:transparent;color:var(--text);border:1px solid var(--line-strong);cursor:pointer}.ai-modal-card .ai-btn:hover{border-color:var(--gold)}.ai-modal-card .ai-btn.primary{background:var(--gold);color:#1a1405;border-color:transparent}.ai-modal-card .ai-testline{margin:0 0 10px;min-height:0;font-size:12px;line-height:1.65;color:var(--muted);word-break:break-all;white-space:pre-line}.ai-modal-card .ai-testline:empty{display:none}.ai-modal-card .ai-testline.ok{color:#7fd6a4}.ai-modal-card .ai-testline.bad{color:#f2a0a0}.ai-modal-card .ai-actions .ai-btn:first-child{margin-right:auto}.ai-modal-card .ai-btn:disabled{opacity:.55;cursor:default}@media(max-width:560px)and (orientation:portrait){.actions{flex-wrap:wrap;row-gap:8px}.actions>.spacer{display:none}.actions>button{flex:0 0 auto;white-space:nowrap}.actions .actions-side{flex:1 1 100%;justify-content:center;gap:10px}.actions .actions-side button{flex:0 0 auto;white-space:nowrap}}@media(max-width:380px){.quick-chat{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:3px;padding-bottom:2px}.quick-chat::-webkit-scrollbar{height:0}.qc-btn{flex:0 0 auto;font-size:9.5px;padding:3px 6px;min-height:26px}.chat-box{min-width:96px}.chat-log{max-height:15px;font-size:9.5px}.chat-input{padding:2px 7px;font-size:11px}.actions{row-gap:6px}.actions>button{font-size:12.5px;padding:7px 10px}.actions .primary{min-width:76px;padding:7px 12px}.actions .actions-side{gap:8px}.actions .actions-side .ghost{font-size:11.5px;padding:6px 10px}}@media(max-height:740px)and (orientation:portrait){.quick-chat{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:3px}.quick-chat::-webkit-scrollbar{height:0}.qc-btn{flex:0 0 auto}.chat-log{max-height:16px}}@media(max-width:380px){.seat--side{width:92px;padding:6px 3px 5px;gap:2px}.seat__avatar{width:28px;height:28px}.seat__avatar svg{width:18px;height:18px}.seat__name{font-size:9.5px}.seat__count{min-width:16px;height:16px;font-size:9px}.seat__chips{gap:3px}.seat__chips .chip{font-size:9px;padding:1px 5px}.seat__bubble{font-size:10px;padding:3px 7px;max-width:96px}.center{top:2px;gap:2px;max-width:116px}.center__label{font-size:9px;letter-spacing:1px}.bottom-cards{min-height:32px;gap:2px}.bottom-cards .card,.bottom-cards .card-back{width:27px;height:38px;border-radius:4px}.bottom-cards .card+.card{margin-left:0}.lastplay{min-height:18px;gap:2px}.lastplay .card{width:24px;height:34px}.lastplay .card+.card{margin-left:-10px}.timer{font-size:10px;min-height:13px}.timer b{font-size:12px}.middle{min-height:96px;padding:2px 0}}@media(orientation:landscape)and (max-height:480px){.topbar{flex-wrap:nowrap;overflow-x:auto;padding:3px 8px;gap:5px}.topbar::-webkit-scrollbar{height:0}.topbar .spacer{display:none}.topbar .room{font-size:10.5px;white-space:nowrap}.middle{min-height:92px;padding:2px 0}.center{top:0;gap:1px}.center__label{font-size:9px;letter-spacing:1px}.bottom-cards{min-height:32px;gap:2px}.bottom-cards .card,.bottom-cards .card-back{width:26px;height:36px;border-radius:4px}.lastplay{min-height:16px;gap:2px}.lastplay .card{width:22px;height:31px}.timer{min-height:12px;font-size:10px}.timer b{font-size:12px}.seat--side{width:96px;padding:4px 3px 3px;top:2px}.seat__avatar{width:26px;height:26px}.seat__avatar svg{width:16px;height:16px}.myinfo{padding:2px 0;gap:6px}.seat__frame--me{padding:3px 6px}.chat-box{min-width:96px;max-width:180px}.chat-log{max-height:14px;font-size:9px}.chat-input{padding:2px 6px;font-size:11px}.quick-chat{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:3px}.quick-chat::-webkit-scrollbar{height:0}.qc-btn{flex:0 0 auto;min-height:24px;font-size:9px;padding:2px 6px}.hand{min-height:62px;padding:8px 8px 0}.card{width:42px;height:60px}.my-played .card{width:32px;height:46px}.actions{gap:6px;padding:0}.actions>button{padding:6px 12px;font-size:12.5px;min-height:36px}.actions .primary{min-width:84px;font-size:13px;padding:6px 14px}.actions .actions-side{gap:8px}.actions .actions-side .ghost{padding:5px 9px;font-size:11px;min-height:32px}.phase-actions{min-height:36px}}@media(orientation:landscape)and (max-height:480px){.myinfo{flex-wrap:nowrap;align-items:center}.quick-chat{flex:1 1 auto;flex-basis:auto;min-width:0}.chat-box{flex:0 0 auto}}@media(orientation:landscape)and (max-height:480px){.my-played:empty,.lastplay:empty,.bottom-cards:empty,#teammate-box:empty{display:none}.middle{min-height:84px}.center{gap:0}.hand{min-height:54px;padding:6px 8px 0}.hand-viewport{min-height:54px}}@media(orientation:landscape)and (max-height:480px){.topbar>*{flex:0 0 auto}.topbar button,.topbar .pill,.topbar .room,.topbar .conn{white-space:nowrap}.myinfo .btn-ming,.myinfo .chip{white-space:nowrap;flex:0 0 auto}}#screen-online .co-body{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}@media(max-width:560px){.mj-wrap{padding:4px 0 8px;flex:1 1 auto}.mj-table{height:100%;grid-template-columns:76px minmax(0,1fr) 76px;grid-template-rows:auto auto minmax(180px,1fr) auto auto;gap:4px;padding:8px;border-width:8px;border-radius:14px}.mj-msg{font-size:11.5px;padding:3px 12px;min-height:18px}.mj-seat{gap:3px}.mj-seat__head{font-size:11px;padding:2px 8px;gap:4px}.mj-seat__head b{font-size:11.5px}.mj-tile{width:22px;height:30px;border-radius:4px}.mj-tile--sm{width:17px;height:23px}.mj-tile--v{width:22px;height:14px}.mj-seat__backs .mj-tile--back{margin-left:-9px}.mj-seat__backs--v .mj-tile--back{margin-top:-9px}.mj-center{width:100px;min-height:92px;padding:6px;gap:2px}.mj-center__wall,.mj-center__turn{font-size:11.5px}.mj-center__dice svg{width:26px;height:26px}.mj-river{grid-template-rows:auto minmax(64px,1fr) auto;gap:4px}.mj-river__q{gap:2px}.mj-actions{gap:6px}.mj-actions__label{font-size:12px}.mj-actions .mj-btn{min-height:34px;padding:4px 12px;font-size:13px}.mj-me{gap:6px;flex-wrap:nowrap;min-width:0}.mj-me__melds{flex:0 0 auto;gap:3px}.mj-hand{flex:1 1 auto;flex-wrap:nowrap;gap:2px;min-height:0;justify-content:center}.mj-hand .mj-tile{flex:1 1 0;width:auto;min-width:0;max-width:32px}.mj-hand__gap{width:8px;flex:0 0 auto}.co-feed{max-width:min(240px,64vw);gap:4px}.co-feed__item{font-size:11px;padding:4px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.co-feed__item:nth-last-child(n+3){display:none}}@media(max-width:560px)and (max-height:760px){#co-body[data-game=mahjong] .co-playhead .co-players{display:none}}@media(max-width:560px)and (max-height:760px){.bd-wrap:has(>.bd-svg){height:100%;min-height:0}.bd-wrap:has(>.bd-svg)>.bd-svg{width:auto;max-width:100%;max-height:calc(100% - 26px);flex:0 1 auto;margin:0 auto}}@media(max-width:560px)and (max-height:760px){.co-feed{top:calc(112px + env(safe-area-inset-top,0px));bottom:auto;max-width:min(220px,62vw)}.co-feed__item:nth-last-child(n+2){display:none}.co-actions__hint{font-size:11.5px;line-height:1.3}}.act-banner{display:flex;align-items:center;gap:12px;margin:18px auto 0;width:min(1120px,calc(100% - 40px));padding:12px 16px;border:1px solid rgba(255,215,94,.5);border-radius:16px;background:linear-gradient(100deg,#ffd75e2e,#ffd75e0a 46%,#0000001f),#3c060a6b;box-shadow:0 10px 26px #00000038,inset 0 1px #ffffff14;color:#ffeecd}.act-banner[hidden]{display:none}.act-banner__ico{flex:0 0 auto;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;font-size:20px;background:radial-gradient(circle at 32% 28%,#ffe6a6,#d98a1e 72%);color:#5a2a06;box-shadow:0 4px 10px #0000004d}.act-banner__body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}.act-banner__title{font-size:15px;font-weight:800;letter-spacing:.3px;color:#ffd75e}.act-banner__desc{font-size:13px;line-height:1.45;color:#ffeecddb}.act-banner__meta{flex:0 0 auto;font-size:12px;font-weight:700;padding:6px 12px;border-radius:999px;background:#ffd75e29;border:1px solid rgba(255,215,94,.4);color:#ffe6a6;white-space:nowrap}@media(max-width:560px){.act-banner{margin-top:12px;width:calc(100% - 24px);gap:9px;padding:10px 12px}.act-banner__ico{width:32px;height:32px;font-size:17px;border-radius:10px}.act-banner__title{font-size:13.5px}.act-banner__desc{font-size:12px}.act-banner__meta{display:none}}.co-beans{margin:2px 0 8px;text-align:center;font-size:13px;font-weight:700;color:#f6d78a}.co-beans[hidden]{display:none}.co-beans b{color:#ffe08e}#userChip{cursor:pointer;transition:background .15s ease}#userChip:hover{background:#ffffff12}#userChip:focus-visible{outline:2px solid var(--gold);outline-offset:2px}#renameOverlay .err:empty{display:none}#renameOverlay .field{margin-bottom:10px}
