@font-face{font-family:Be Vietnam Pro;src:url(/bundles/be-vietnam-pro-regular-R3VvECUm.ttf)}@font-face{font-family:Be Vietnam Pro;src:url(/bundles/be-vietnam-pro-semibold-COaeNqES.ttf);font-weight:600}@font-face{font-family:Be Vietnam Pro;src:url(/bundles/be-vietnam-pro-bold-DkhXibQx.ttf);font-weight:700}@font-face{font-family:Baloo 2;src:url(/bundles/baloo2-bold-BreeFivU.ttf);font-weight:700}:root{--forest:#173f35;--ink:#213e35;--leaf:#d8e7c5;--yellow:#f4c65d;--paper:#f5f4ec;--wood:#ba8152;--muted:#5a6c60;--line:#e3e7dc;--side:224px;--display:"Baloo 2",sans-serif;--body:"Be Vietnam Pro",sans-serif;--radius:24px}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);font-family:var(--body);margin:0;font-size:14px;line-height:1.6}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:4px;outline:3px solid #e7a62b}button:disabled{cursor:default;opacity:.5}button{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--display);font-weight:700;line-height:1.12}h1{font-size:46px}h2{font-size:28px}h3{font-size:22px}svg.icon{stroke:currentColor;stroke-width:1.8px;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:22px;height:22px}.shell{min-height:100vh}.sidebar{width:var(--side);background:var(--forest);color:#f5f4ec;z-index:20;flex-direction:column;padding:32px 19px 22px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:10px;padding:0 8px 38px;display:flex}.brand img{width:42px;height:42px}.brand strong{font-family:var(--display);letter-spacing:-.7px;font-size:28px;line-height:.9}.brand small{letter-spacing:1.5px;color:#afc0aa;margin-top:8px;font-size:9px;display:block}.nav{flex-direction:column;gap:9px;display:flex}.nav a{color:#bdcfc3;border-radius:13px;align-items:center;gap:14px;min-height:49px;padding:13px 16px;font-weight:600;display:flex}.nav a:hover{background:#ffffff0b}.nav a.active{background:var(--leaf);color:var(--forest)}.nav a.active:before{content:"";background:var(--yellow);border-radius:0 5px 5px 0;width:4px;height:24px;position:absolute;left:0}.side-note{color:#d7e2d6;border:1px solid #ffffff24;border-radius:18px;margin-top:auto;padding:19px 17px;font-size:12px;line-height:1.7}.side-note .note-art{margin-bottom:12px;font-size:30px}.side-note strong{color:#fff;margin-bottom:7px;font-size:13px;display:block}.side-note a{color:var(--yellow);align-items:center;gap:8px;margin-top:14px;font-weight:600;display:flex}.side-bottom{color:#a1b7aa;justify-content:space-between;align-items:center;margin:22px 11px 0;font-size:11px;display:flex}.main{margin-left:var(--side);max-width:1800px;min-height:100vh;padding:0 42px 34px}.topbar{justify-content:space-between;align-items:center;gap:20px;height:104px;display:flex}.greeting{color:var(--muted);font-size:13px}.greeting strong{color:var(--ink);margin-top:2px;font-size:20px;font-weight:600;display:block}.top-actions{align-items:center;gap:16px;display:flex}.local-badge{color:var(--muted);align-items:center;gap:7px;font-size:11px;display:flex}.local-badge i{background:#73a276;border-radius:50%;width:6px;height:6px}.icon-button{border:1px solid var(--line);background:#fff;border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex}.avatar{background:#eedcae;border:2px solid #fff;border-radius:50%;flex-shrink:0;width:43px;height:43px;position:relative;overflow:hidden}.avatar .sprite{width:70px;height:93px;position:absolute;top:-4px;left:-15px}.profile{align-items:center;gap:10px;font-size:12px;font-weight:600;display:flex}.hero{isolation:isolate;background:#dce8c7;border-radius:30px;align-items:center;min-height:346px;margin-bottom:30px;display:flex;position:relative;overflow:hidden}.hero-art{object-fit:cover;object-position:center 52%;z-index:-2;width:69%;height:100%;position:absolute;top:0;right:0}.hero:after{content:"";z-index:-1;background:linear-gradient(90deg,#dce8c7 6%,#dce8c7f5 27%,#dce8c79c 44%,#dce8c700 61%);position:absolute;inset:0}.hero-copy{width:53%;padding:34px 0 37px 39px}.hero-kicker{background:#ffffff8f;border:1px solid #ffffffa3;border-radius:20px;align-items:center;gap:7px;margin-bottom:17px;padding:5px 11px;font-size:11px;font-weight:600;display:inline-flex}.hero-kicker svg{width:15px;height:15px}.hero h1{letter-spacing:-1.8px;margin-bottom:13px;font-size:64px;line-height:1.02}.hero p{color:#49604b;max-width:330px;font-size:14px;line-height:1.8}.hero-buttons{align-items:center;gap:13px;margin-top:23px;display:flex}.btn{border:0;border-radius:13px;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:12px 20px;font-size:13px;font-weight:600;line-height:1.4;transition:transform .15s,background .15s;display:inline-flex}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--forest);color:#fff;box-shadow:0 4px #0e2d25}.btn-yellow{background:var(--yellow);color:#31432d;box-shadow:0 4px #dfb04c}.btn-light{color:var(--forest);background:#ffffffa3;border:1px solid #ffffffbd}.btn-outline{background:0 0;border:1px solid #c9d2c6}.btn-small{min-height:38px;padding:9px 13px;font-size:12px}.btn-text{color:#507449;background:0 0;border:0;align-items:center;gap:7px;min-height:32px;padding:0;font-size:12px;font-weight:600;display:inline-flex}.btn-text .icon{width:17px;height:17px}.hero-caption{color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#163d339c;border:1px solid #ffffff36;border-radius:12px;align-items:center;gap:6px;padding:7px 12px;font-size:10px;display:flex;position:absolute;bottom:19px;right:24px}.hero-caption .icon{width:15px;height:15px}.home-columns{grid-template-columns:minmax(0,1fr) 242px;gap:25px;display:grid}.section-top{justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px;display:flex}.section-top h2{font-size:26px}.section-top p{color:var(--muted);font-size:12px}.modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.mode-card{text-align:left;background:#fff;border:1px solid #e3e6d9;border-radius:20px;padding:0;transition:transform .16s,border-color .16s;overflow:hidden}.mode-card:hover{border-color:#9ab289;transform:translateY(-4px)}.mode-art{justify-content:center;align-items:center;height:124px;display:flex;position:relative;overflow:hidden}.mode-art.classic{background:#e6edda}.mode-art.team{background:#f3e5cb}.mode-art.party{background:#e0e7ef}.mode-art:before{content:"";border:1px dashed #7e92722e;border-radius:50%;position:absolute;inset:15px}.mode-content{padding:15px 17px 17px}.mode-title-row{justify-content:space-between;align-items:center;display:flex}.mode-title-row h3{font-size:21px}.mode-title-row .icon{width:17px;height:17px}.mode-content p{color:var(--muted);margin-top:5px;font-size:11px}.mode-meta{color:#65755d;align-items:center;gap:10px;margin-top:12px;font-size:10px;display:flex}.mode-meta span{align-items:center;gap:4px;display:flex}.mode-meta svg{width:13px;height:13px}.mini-board{background:#bc8d5c;border:4px solid #cfac7f;border-radius:30px;grid-template-rows:1fr 1fr;grid-template-columns:22px repeat(5,1fr) 22px;gap:3px;width:147px;height:64px;padding:5px;display:grid;transform:rotate(-7deg);box-shadow:0 7px #674f3330}.mini-board i{color:#687747;background:#e6c395;border-radius:5px;justify-content:center;align-items:center;font-size:9px;font-style:normal;display:flex}.mini-board i:before{content:"••";letter-spacing:-2px}.mini-board i:first-child,.mini-board i:last-child{color:#ba6c37;border-radius:20px;grid-row:span 2;font-size:16px}.mini-board i:first-child:before,.mini-board i:last-child:before{content:"●"}.mini-board i:last-child{grid-area:1/7/3}.mode-art.team .mini-board{transform:rotate(7deg)}.mini-people{opacity:.8;justify-content:space-around;font-size:18px;display:flex;position:absolute;top:4px;left:0;right:0}.mini-people.bottom{top:auto;bottom:0}.party-shape{background:#ceaa7a;border:5px solid #bb8b57;border-radius:25px;grid-template-columns:repeat(3,1fr);gap:5px;width:94px;height:94px;padding:8px;display:grid;position:relative;transform:rotate(18deg);box-shadow:4px 5px #a6b7c04d}.party-shape i{background:#e9cfaa;border-radius:6px}.party-shape i:nth-child(5){background:#b5c594;border-radius:50%}.puzzle-card{background:#f3e4b6;border-radius:22px;flex-direction:column;min-height:292px;padding:22px 22px 18px;display:flex;position:relative;overflow:hidden}.puzzle-heading{color:#88722e;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:11px;display:flex}.puzzle-heading .icon{width:20px;height:20px}.puzzle-card h3{max-width:175px;font-size:25px;line-height:1.2}.puzzle-card p{color:#897646;margin-top:8px;font-size:11px;line-height:1.8}.puzzle-art{justify-content:center;height:83px;display:flex;position:relative}.puzzle-art .sprite{width:81px;height:108px;position:absolute;top:-10px;left:58px}.puzzle-art .sparkle{color:#c99b27;font-size:24px;position:absolute;top:16px;left:34px}.puzzle-card .btn{width:100%;box-shadow:none;color:#776024;background:#fff7df;margin-top:auto}.collection-home{margin-top:28px}.culture-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.culture-tile{text-align:left;background:#eeeee4;border:1px solid #0000;border-radius:16px;align-items:center;gap:10px;height:91px;padding:10px 13px;display:flex;position:relative;overflow:hidden}.culture-tile:hover{border-color:#a6b495}.culture-tile .sprite{flex-shrink:0;width:55px;height:74px}.culture-tile strong{font-size:13px;display:block}.culture-tile small{color:var(--muted);font-size:10px}.culture-tile .check{color:#4d7847;font-size:11px;position:absolute;top:10px;right:10px}.culture-tile.selected{background:#e7edda;border-color:#c9d8b8}.home-foot{border-top:1px solid var(--line);color:#8a9586;justify-content:space-between;align-items:center;margin-top:25px;padding-top:17px;font-size:10px;display:flex}.home-foot span{align-items:center;gap:7px;display:flex}.home-foot svg{width:14px;height:14px}.sprite{aspect-ratio:3/4;filter:drop-shadow(0 3px 2px #1c38271a);background-position:0 0;background-repeat:no-repeat;background-size:400% 200%;flex-shrink:0;display:block}.sprite.vn{background-image:url(/bundles/vn-characters-D0fsRlMT.png)}.sprite.jp{background-image:url(/bundles/jp-characters-D3-y2F1J.png)}.sprite.kr{background-image:url(/bundles/kr-characters-JhlXRIt-.png)}.sprite.quan{background-position-y:100%}.sprite.frame-1{background-position-x:33.333%}.sprite.frame-2{background-position-x:66.666%}.sprite.frame-3{background-position-x:100%}.sprite.walking{animation:.38s step-end infinite sprite-walk}@keyframes sprite-walk{0%,to{background-position-x:33.333%}50%{background-position-x:66.666%}}.page-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin:4px 0 28px;display:flex}.page-heading h1{font-size:40px}.page-heading p{color:var(--muted);margin-top:8px;font-size:13px}.back-link{color:var(--muted);background:0 0;border:0;align-items:center;gap:7px;margin-bottom:20px;padding:0;font-size:12px;display:inline-flex}.back-link svg{width:16px;height:16px}.panel{border:1px solid var(--line);background:#fff;border-radius:24px;padding:28px}.setup-grid{grid-template-columns:minmax(0,1fr) 330px;gap:25px;display:grid}.setup-options{grid-template-columns:repeat(4,1fr);gap:9px;margin:19px 0 27px;display:grid}.option{border:1px solid var(--line);text-align:center;background:#f8f9f4;border-radius:13px;min-height:85px;padding:15px 8px;font-size:12px;font-weight:600}.option .icon{margin:0 auto 6px;display:block}.option.active{color:#365e2d;background:#edf2e5;border:2px solid #71965e;padding:14px 7px}.field-grid{grid-template-columns:1fr 1fr;gap:17px;display:grid}.field{flex-direction:column;gap:7px;font-size:12px;font-weight:600;display:flex}.field input,.field select{min-height:46px;color:var(--ink);background:#fafbf7;border:1px solid #dfe5d9;border-radius:11px;width:100%;padding:11px 13px;font-size:13px}.field small{color:var(--muted);font-weight:400}.subsection-label{margin-bottom:13px;font-size:13px;font-weight:600}.players-fields{gap:14px;display:grid}.player-field{grid-template-columns:30px 1fr 136px;align-items:center;gap:10px;display:grid}.player-dot{background:var(--player);color:#fff;border-radius:10px;justify-content:center;align-items:center;width:27px;height:27px;font-size:11px;font-weight:600;display:flex}.player-field input,.player-field select{border:1px solid var(--line);background:#fafbf7;border-radius:10px;width:100%;min-width:0;padding:11px 10px;font-size:12px}.setup-divider{background:var(--line);height:1px;margin:24px 0}.switch-row{justify-content:space-between;align-items:center;gap:15px;padding:12px 0;display:flex}.switch-row strong{font-size:13px;font-weight:600;display:block}.switch-row small{color:var(--muted);max-width:420px;margin-top:3px;font-size:11px;display:block}.switch{appearance:none;cursor:pointer;background:#d9dfd4;border:0;border-radius:20px;flex-shrink:0;width:42px;height:26px;transition:background .2s;display:inline-flex;position:relative}.switch:checked{background:#5c8650}.switch:after{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0002}.switch:checked:after{transform:translate(16px)}.room-preview{text-align:center;background:#e6edda;flex-direction:column;align-items:center;padding:25px 24px;display:flex}.room-preview h3{font-size:27px}.room-preview .mini-board{grid-template-columns:35px repeat(5,1fr) 35px;width:240px;height:106px;margin:36px 0 29px}.room-preview .mini-board i{font-size:15px}.room-preview p{color:#68805f;font-size:12px}.room-rules{text-align:left;width:100%;margin:22px 0;padding:0;font-size:12px;list-style:none}.room-rules li{border-bottom:1px solid #cddac4;align-items:center;gap:9px;padding:8px 0;display:flex}.room-rules svg{color:#6f8b5e;width:15px;height:15px}.room-preview .btn{width:100%}.room-hint{color:#7a806c;background:#f4f2e8;border-radius:13px;gap:9px;margin-top:18px;padding:14px 17px;font-size:11px;line-height:1.8;display:flex}.room-hint .icon{width:17px;height:17px;margin-top:2px}.play-top{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.play-title{align-items:center;gap:13px;display:flex}.play-title h1{font-size:31px}.play-title span{color:#7b8b74;background:#e7eddf;border-radius:7px;padding:5px 9px;font-size:11px}.play-tools{gap:9px;display:flex}.game-layout{grid-template-columns:minmax(0,1fr) 245px;gap:20px;display:grid}.game-stage{isolation:isolate;background:#e1ead8;border-radius:26px;flex-direction:column;justify-content:center;min-height:490px;padding:24px;display:flex;position:relative;overflow:hidden}.game-stage:before{content:"";z-index:-1;background:linear-gradient(#dfebd8b0,#dfebd8dd),url(/bundles/village-courtyard-DY7NN52v.png) 50%/cover;position:absolute;inset:0}.scoreboard{justify-content:center;gap:10px;width:100%;margin-bottom:32px;display:flex}.score-pill{background:#ffffffbd;border:2px solid #0000;border-radius:16px;align-items:center;gap:9px;min-width:133px;padding:9px 12px;display:flex;position:relative}.score-pill.active{border-color:var(--player);background:#fff;box-shadow:0 3px #0000000b}.score-pill .avatar{background:color-mix(in srgb,var(--player),white 80%);border:0;width:34px;height:34px}.score-pill .avatar .sprite{width:55px;height:73px;top:-4px;left:-10px}.score-name{color:#6f8067;text-overflow:ellipsis;white-space:nowrap;max-width:88px;font-size:10px;overflow:hidden}.score-number{font-family:var(--display);font-size:24px;line-height:1.15}.score-number small{font-family:var(--body);font-size:9px;font-weight:400}.score-turn{background:var(--player);border-radius:50%;width:6px;height:6px;position:absolute;top:8px;right:8px}.board-wrap{padding:12px 0 18px}.board{background:#ba8152;border:7px solid #d6aa75;border-radius:78px;grid-template-rows:94px 94px;grid-template-columns:minmax(45px,1.05fr) repeat(5,minmax(35px,1fr)) minmax(45px,1.05fr);gap:8px;width:100%;max-width:850px;margin:auto;padding:14px 13px;display:grid;position:relative;box-shadow:0 9px #8d5d38,0 16px 18px #49452528,inset 0 0 0 2px #ac7747}.board:after{content:"";pointer-events:none;border-top:2px solid #986e43;position:absolute;top:50%;left:17%;right:17%}.pit{color:#563d24;background:#e6c99e;border:2px solid #9b6d42;border-radius:20px;justify-content:center;align-items:center;min-width:0;padding:5px;transition:background .15s,box-shadow .15s;display:flex;position:relative;box-shadow:inset 0 3px 6px #65472022}.pit:disabled{opacity:1}.pit.quan-pit{background:#ead0a6;border-radius:52px;grid-row:1/3}.pit.legal{cursor:pointer;border-color:#577549}.pit.legal:hover{background:#f4ddae;box-shadow:inset 0 0 0 2px #71945b}.pit.selected{z-index:2;background:#ffdf8c;border:3px solid #f8f3d9;box-shadow:0 0 0 3px #4c7750}.pit.event-active{background:#ffe6a4;box-shadow:inset 0 0 0 3px #f7f0d1}.pit-count{font-family:var(--display);z-index:3;text-align:center;background:#f0dbb7bf;border-radius:6px;min-width:22px;padding:0 3px;font-size:24px;line-height:1.1;position:absolute;bottom:2px;right:7px}.pit-count.quan-count{white-space:nowrap;font-size:14px;bottom:9px;right:50%;transform:translate(50%)}.pit-characters{justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative}.pit-empty{background:#ad875a34;border-radius:50%;width:13px;height:13px}.pit-owner{background:var(--player);border-radius:3px;width:16px;height:3px;position:absolute;bottom:-7px;left:50%;transform:translate(-50%)}.ring-board{aspect-ratio:1;background:#bc8859;border:8px solid #d6aa75;border-radius:50%;width:min(100%,480px);height:auto;padding:0;display:block}.ring-board:after{background:#d9e5c9;border:0;border-radius:50%;inset:34%;box-shadow:inset 0 0 0 5px #a77749}.ring-board .pit{z-index:2;border-radius:13px;width:12.5%;height:12.5%;padding:0;position:absolute;transform:translate(-50%,-50%)}.ring-board .pit.quan-pit{border-radius:50%;width:15%;height:15%}.ring-board .pit-count{min-width:18px;font-size:17px;bottom:0;right:3px}.ring-board .quan-count{font-size:10px;bottom:0;right:50%}.ring-center{text-align:center;z-index:2;font-family:var(--display);pointer-events:none;font-size:22px;line-height:1.1;position:absolute;inset:40% 25%}.board-hint{text-align:center;color:#526b49;justify-content:center;align-items:center;gap:6px;margin-top:22px;font-size:11px;display:flex}.board-hint .icon{width:15px;height:15px}.turn-panel{text-align:center;min-height:73px;margin-top:20px}.turn-panel strong{font-size:14px}.turn-panel p{color:#6e8063;margin-top:4px;font-size:11px}.direction-buttons{justify-content:center;gap:12px;margin-top:12px;display:flex}.direction-buttons .btn{min-width:145px}.turn-status{color:#526d45;justify-content:center;align-items:center;gap:8px;height:24px;font-size:12px;display:flex}.turn-status .icon{width:16px;height:16px}.game-side{flex-direction:column;max-height:650px;padding:22px 19px;display:flex}.game-side h3{margin-bottom:14px;font-size:22px}.rules-summary{color:#758068;background:#f2f5eb;border-radius:12px;margin-bottom:20px;padding:13px;font-size:11px;line-height:1.9}.history-title{justify-content:space-between;align-items:center;margin-bottom:11px;font-size:12px;font-weight:600;display:flex}.history-title span{color:#8b9586;font-size:10px;font-weight:400}.history-list{flex:1;min-height:170px;max-height:350px;margin:0;padding:0;list-style:none;overflow:auto}.history-list li{border-bottom:1px solid #eef0e8;align-items:flex-start;gap:8px;padding:10px 0;font-size:10px;display:flex}.history-list .history-dot{background:var(--player);border-radius:50%;flex-shrink:0;width:7px;height:7px;margin-top:5px}.history-list strong{font-size:11px;font-weight:600;display:block}.history-list span{color:#829078}.history-list b{color:#5f7f4c;white-space:nowrap;margin-left:auto;font-size:13px}.history-empty{color:#8a9780;text-align:center;padding:20px 0;font-size:12px}.game-side .btn{width:100%;margin-top:20px;font-size:11px}.status-footer{color:#8b9683;align-items:center;gap:7px;margin-top:14px;font-size:10px;display:flex}.status-footer .icon{width:14px;height:14px}.collection-tabs{gap:10px;margin:20px 0 26px;display:flex}.tab{border:1px solid var(--line);background:#fff;border-radius:50px;min-height:44px;padding:11px 20px;font-size:12px;font-weight:600}.tab.active{background:var(--forest);border-color:var(--forest);color:#fff}.culture-showcase{background:#e7eddb;border-radius:28px;grid-template-columns:1.1fr 1fr;align-items:center;gap:35px;padding:36px;display:grid}.culture-stage{isolation:isolate;justify-content:center;align-items:flex-end;min-height:350px;display:flex;position:relative}.culture-stage:before{content:"";z-index:-1;background:#bdcba5;border-radius:50%;height:55px;position:absolute;bottom:12px;left:10%;right:10%}.culture-stage .sprite{width:166px;height:222px;margin-bottom:30px}.culture-stage .sprite.quan{width:205px;height:274px}.culture-stage .speech{font-family:var(--display);background:#fff;border-radius:18px 18px 1px;padding:10px 20px;font-size:20px;position:absolute;top:2px;left:8%;transform:rotate(-7deg)}.culture-info h2{margin-bottom:10px;font-size:43px}.culture-info>p{color:#667b5c;max-width:400px;font-size:13px;line-height:1.9}.culture-detail{color:#77866b;gap:22px;margin:25px 0;font-size:11px;display:flex}.culture-detail strong{color:var(--forest);margin-bottom:3px;font-size:14px;display:block}.animation-controls{flex-wrap:wrap;gap:8px;margin-bottom:25px;display:flex}.animation-controls .tab{border-radius:10px;padding:9px 13px;font-size:11px}.asset-grid{grid-template-columns:repeat(4,1fr);gap:16px;margin-top:20px;display:grid}.asset-card{border:1px solid var(--line);background:#fff;border-radius:18px;overflow:hidden}.asset-preview{background:repeating-conic-gradient(#eff2e8 0 25%,#e5eadd 0 50%) 50% / 16px 16px;justify-content:center;align-items:center;height:150px;display:flex;overflow:hidden}.asset-preview img{object-fit:contain;width:100%;height:100%}.asset-preview .sprite{width:90px;height:120px}.asset-copy{padding:13px 15px;font-size:11px}.asset-copy strong{margin-bottom:4px;font-size:12px;display:block}.asset-copy small{color:var(--muted)}.asset-copy a{float:right;color:#527845;font-weight:600}.guide-grid{grid-template-columns:240px 1fr;gap:26px;display:grid}.guide-nav{flex-direction:column;gap:10px;display:flex}.guide-step{border:1px solid var(--line);text-align:left;background:#fff;border-radius:14px;align-items:center;gap:12px;padding:16px;font-size:12px;font-weight:600;display:flex}.guide-step span{background:#eef2e7;border-radius:9px;justify-content:center;align-items:center;width:27px;height:27px;font-size:12px;display:flex}.guide-step.active{background:#dce8ca;border-color:#bdcfa9}.guide-step.active span{background:var(--forest);color:#fff}.guide-content{flex-direction:column;min-height:390px;display:flex}.guide-content h2{margin-bottom:15px;font-size:32px}.guide-content p{color:#6a7c62;max-width:590px;font-size:13px;line-height:1.9}.guide-visual{background:#edf1e5;border-radius:18px;flex-wrap:wrap;justify-content:center;align-items:center;gap:17px;min-height:160px;margin:23px 0;padding:24px;display:flex}.guide-visual .mini-board{grid-template-columns:38px repeat(5,1fr) 38px;width:280px;height:105px;transform:none}.guide-visual .sprite{width:65px;height:86px}.guide-number{font-family:var(--display);color:#668253;font-size:35px}.guide-bottom{justify-content:space-between;align-items:center;gap:10px;margin-top:auto;display:flex}.guide-bottom span{color:var(--muted);font-size:11px}.guide-facts{grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px;display:grid}.guide-facts article{background:#ecefe4;border-radius:16px;padding:18px}.guide-facts h3{margin-bottom:8px;font-size:19px}.guide-facts p{color:#748169;font-size:11px;line-height:1.8}.settings-panel{max-width:760px}.settings-panel h2{margin-bottom:15px}.settings-panel .switch-row{border-bottom:1px solid var(--line);padding:19px 0}.settings-panel .field{margin:25px 0}.settings-foot{color:var(--muted);margin-top:22px;font-size:11px}.result-wrap{text-align:center;background:#e7eddb;border-radius:32px;max-width:680px;margin:10px auto 0;padding:38px}.result-art{justify-content:center;align-items:flex-end;gap:0;height:145px;display:flex}.result-art .sprite{width:95px;height:126px}.result-art .sprite.quan{width:115px;height:153px}.result-wrap h1{margin-top:14px;font-size:48px}.result-wrap>p{color:#75836b;margin:10px 0 25px;font-size:13px}.result-scores{justify-content:center;gap:13px;margin:25px 0;display:flex}.result-score{background:#fff9;border:2px solid #0000;border-radius:18px;min-width:110px;padding:17px 24px}.result-score.winner{background:#fff9e5;border-color:#e7bd51}.result-score strong{font-family:var(--display);font-size:40px;line-height:1.2;display:block}.result-score span{color:#7c896e;font-size:11px}.result-actions{justify-content:center;gap:12px;margin-top:27px;display:flex}.result-recap{color:#7b896e;font-size:11px}.empty-state{text-align:center;padding:60px 20px}.empty-state h2{margin-bottom:12px}.empty-state p{color:var(--muted);margin-bottom:25px}.puzzle-play{max-width:800px;margin:auto}.puzzle-explanation{color:var(--muted);margin:15px 0;font-size:13px}.puzzle-outcome{background:#e4edd8;border-radius:18px;margin-top:20px;padding:20px;font-size:13px;line-height:1.8}.pill{color:#6c805c;background:#e7eddf;border-radius:7px;align-items:center;padding:4px 8px;font-size:10px;display:inline-flex}#toast{bottom:30px;left:calc(50% + var(--side)/2);color:#fff;opacity:0;pointer-events:none;z-index:100;text-align:center;background:#213e35;border-radius:13px;max-width:85vw;padding:13px 22px;font-size:12px;transition:opacity .2s,transform .2s;position:fixed;transform:translate(-50%,20px);box-shadow:0 6px 25px #0002}#toast.visible{opacity:1;transform:translate(-50%)}.mobile-brand{display:none}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fade-in{animation:.3s both appear}@keyframes appear{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}body.reduce-motion *,body.reduce-motion :before,body.reduce-motion :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}@media (min-width:1500px){.main{padding:0 56px 40px}.hero{min-height:400px}.hero h1{font-size:77px}.hero-copy{padding-left:48px}.hero p{max-width:370px;font-size:16px}.mode-art{height:145px}.home-columns{grid-template-columns:minmax(0,1fr) 270px}.puzzle-card{padding:26px}.puzzle-card h3{max-width:200px;font-size:29px}}@media (max-width:1200px){:root{--side:190px}.sidebar{padding-left:12px;padding-right:12px}.brand{gap:6px;padding-left:4px}.brand strong{font-size:24px}.brand img{width:36px;height:36px}.main{padding:0 27px 28px}.topbar{height:91px}.hero{min-height:324px}.hero-copy{width:55%;padding-left:28px}.hero h1{font-size:56px}.hero p{max-width:290px;font-size:12px}.hero-buttons{gap:8px}.hero-buttons .btn{padding:12px 15px;font-size:12px}.home-columns{grid-template-columns:minmax(0,1fr) 210px;gap:18px}.modes{gap:10px}.mode-art{height:111px}.mini-board{grid-template-columns:19px repeat(5,1fr) 19px;width:125px;height:59px}.mode-content{padding:13px}.mode-title-row h3{font-size:19px}.mode-meta{gap:8px;font-size:9px}.puzzle-card{padding:20px 17px}.culture-tile{gap:4px;padding:8px}.culture-tile strong{font-size:11px}.culture-tile small{font-size:9px}.culture-tile .sprite{width:43px;height:57px}.game-layout{grid-template-columns:minmax(0,1fr) 215px}.game-stage{padding:20px 15px}.board{border-width:6px;grid-template-rows:94px 94px;gap:5px;padding:12px 8px}.pit{border-radius:15px}.pit-count{font-size:22px;right:4px}.score-pill{gap:7px;min-width:110px;padding:8px}.scoreboard{gap:7px}.setup-grid{grid-template-columns:minmax(0,1fr) 280px}.setup-options{gap:6px}.option{padding:13px 4px;font-size:10px}.room-preview .mini-board{grid-template-columns:30px repeat(5,1fr) 30px;width:214px}.panel{padding:23px}.culture-showcase{gap:15px;padding:27px}.culture-stage .sprite{width:130px;height:174px}.culture-stage .sprite.quan{width:165px;height:220px}.asset-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:1000px){:root{--side:92px}.sidebar{align-items:center;padding:25px 10px 22px}.brand{padding:0 0 35px}.brand strong,.brand small{display:none}.brand img{width:47px;height:47px}.nav{gap:12px;width:100%}.nav a{justify-content:center;padding:14px}.nav a span{display:none}.nav a svg{width:24px;height:24px}.side-note{display:none}.side-bottom{margin-top:auto}.side-bottom span{display:none}.local-badge{font-size:9px}.top-actions{gap:10px}.home-columns{grid-template-columns:minmax(0,1fr) 208px}.hero h1{font-size:58px}.hero-copy{width:54%}.hero-art{width:72%}.game-layout{grid-template-columns:1fr}.game-side{grid-template-columns:1fr 1fr;gap:0 25px;max-height:none;padding:20px;display:grid}.game-side h3,.game-side .rules-summary{grid-column:1}.game-side .rules-summary{margin:0}.game-side .history-title{grid-area:1/2}.game-side .history-list{grid-area:2/2/4;min-height:0;max-height:130px}.game-side .btn{grid-column:1;margin-top:15px}.game-stage{min-height:480px;padding:28px}.board{grid-template-rows:96px 96px;gap:8px;padding:15px 12px}.setup-grid{grid-template-columns:minmax(0,1fr) 270px}.player-field{grid-template-columns:25px 1fr 110px;gap:7px}.player-field input,.player-field select{padding:10px 7px;font-size:11px}.culture-showcase{gap:10px}.culture-info h2{font-size:36px}.culture-stage .sprite{width:110px;height:147px}.culture-stage .sprite.quan{width:145px;height:193px}.guide-grid{grid-template-columns:200px 1fr;gap:18px}.guide-step{gap:9px;padding:12px;font-size:11px}.guide-facts{gap:10px}.guide-facts article{padding:16px}}@media (max-width:800px){.main{padding-left:22px;padding-right:22px}.home-columns{grid-template-columns:1fr}.puzzle-card{grid-template-columns:1fr 150px;min-height:0;margin-top:4px;padding:20px 23px;display:grid}.puzzle-heading{grid-column:1;margin-bottom:5px}.puzzle-heading>.icon{display:none}.puzzle-card h3{grid-column:1;max-width:none;font-size:23px}.puzzle-card p{grid-column:1;margin:4px 0 0}.puzzle-card .btn{grid-area:3/2;justify-self:end;width:140px}.puzzle-art{grid-area:1/2/3;height:50px}.puzzle-art .sprite{width:64px;height:85px;top:-24px;left:70px}.puzzle-art .sparkle{top:-3px}.collection-home{margin-top:24px}.hero{min-height:330px}.hero h1{font-size:52px}.hero-copy{width:62%;padding-left:25px}.hero-art{object-position:59% center;width:82%}.hero:after{background:linear-gradient(90deg,#dce8c7 4%,#dce8c7f5 27%,#dce8c7a1 49%,#dce8c700 72%)}.hero-caption{font-size:8px;bottom:12px;right:12px}.hero-kicker{font-size:9px}.hero p{max-width:245px}.hero-buttons .btn{padding:11px 12px;font-size:11px}.local-badge{display:none}.setup-grid{grid-template-columns:1fr}.room-preview{text-align:left;grid-template-columns:1fr 1fr;gap:0 25px;display:grid}.room-preview h3{grid-column:1;font-size:25px}.room-preview>.mini-board{grid-area:2/1/5;width:100%;margin:25px 0}.room-preview>p{grid-column:1;font-size:10px}.room-rules{grid-area:1/2/4;margin:0 0 15px}.room-preview .btn{grid-column:2}.room-hint{grid-column:1/3}.player-field{grid-template-columns:30px 1fr 150px;gap:10px}.player-field input,.player-field select{padding:12px;font-size:12px}.culture-showcase{grid-template-columns:1fr;padding:25px}.culture-stage{min-height:240px}.culture-stage .sprite{width:125px;height:167px;margin-bottom:10px}.culture-stage .sprite.quan{width:170px;height:227px}.culture-info{text-align:center;padding:10px}.culture-info>p{max-width:450px;margin:auto}.culture-detail,.animation-controls{justify-content:center}.asset-grid{grid-template-columns:repeat(2,1fr)}.guide-grid{grid-template-columns:1fr}.guide-nav{grid-template-columns:repeat(4,1fr);gap:7px;display:grid}.guide-step{flex-direction:column;gap:7px;min-height:85px;padding:12px 5px;font-size:10px}.guide-content{min-height:370px}.guide-facts{grid-template-columns:1fr}.guide-facts article{padding:16px 20px}.guide-facts h3{margin-bottom:5px}.page-heading h1{font-size:35px}.page-heading p{font-size:12px}.play-title h1{font-size:26px}.play-title{gap:8px}.play-title span{font-size:9px}.play-tools .btn{padding:9px 10px;font-size:10px}.game-stage{padding:22px 14px}.board{grid-template-rows:94px 94px;gap:5px;padding:12px 7px}.scoreboard{flex-wrap:wrap}.score-pill{min-width:118px}.scoreboard.players-4 .score-pill{gap:5px;min-width:101px;padding:7px}.scoreboard.players-4 .avatar{display:none}}@media (max-width:600px){:root{--side:0px}.sidebar{width:100%;height:73px;padding:5px 8px calc(5px + env(safe-area-inset-bottom));color:var(--forest);background:#fff;border-top:1px solid #e1e8d8;border-radius:20px 20px 0 0;display:block;position:fixed;inset:auto 0 0;box-shadow:0 -3px 20px #203d3212}.brand,.side-bottom{display:none}.nav{flex-direction:row;justify-content:space-around;gap:0}.nav a{color:#87927d;border-radius:13px;flex-direction:column;flex:1;gap:3px;min-height:56px;padding:7px 3px;font-size:8px}.nav a.active{background:#e8efdd}.nav a.active:before{display:none}.nav a span{display:block}.nav a svg{width:21px;height:21px}.nav a[data-nav=settings]{display:none}.main{margin:0;padding:0 18px 95px}.topbar{height:86px}.greeting{font-size:10px}.greeting strong{font-size:15px}.top-actions{gap:9px}.profile>span{display:none}.profile .avatar{width:35px;height:35px}.profile .avatar .sprite{width:60px;height:80px;left:-12px}.icon-button{width:35px;height:35px}.icon-button .icon{width:18px;height:18px}.hero{border-radius:24px;align-items:flex-start;min-height:405px;margin-bottom:26px}.hero-art{object-position:50% 58%;width:100%;height:68%;top:auto;bottom:0}.hero:after{background:linear-gradient(#dce8c7 15%,#dce8c7e6 29%,#dce8c750 52%,#dce8c700 80%)}.hero-copy{width:100%;padding:24px 24px 0}.hero-kicker{margin-bottom:12px;padding:4px 9px;font-size:9px}.hero h1{margin-bottom:7px;font-size:51px}.hero p{max-width:260px;font-size:11px;line-height:1.75}.hero-buttons{gap:9px;margin-top:18px}.hero-buttons .btn{min-height:42px;padding:11px 16px;font-size:11px}.hero-buttons .icon{width:17px;height:17px}.hero-caption{padding:5px 8px;font-size:8px;bottom:12px;right:12px}.section-top{margin-bottom:13px}.section-top h2{font-size:24px}.section-top .btn-text{font-size:10px}.modes{gap:8px}.mode-art{height:91px}.mode-art:before{inset:12px 5px}.mini-board{border-width:3px;grid-template-columns:13px repeat(5,1fr) 13px;gap:2px;width:94px;height:48px;padding:4px}.mini-board i{border-radius:3px;font-size:7px}.mini-board i:before{letter-spacing:-2px}.mini-board i:first-child,.mini-board i:last-child{font-size:12px}.mode-content{padding:11px 9px 12px}.mode-title-row h3{font-size:18px}.mode-title-row .icon{display:none}.mode-content p{min-height:27px;margin-top:4px;font-size:9px;line-height:1.5}.mode-meta{gap:4px;margin-top:9px;font-size:8px}.mode-meta span:nth-child(2){display:none}.mode-meta svg{width:11px;height:11px}.party-shape{border-width:4px;border-radius:18px;gap:3px;width:66px;height:66px;padding:6px}.mini-people{font-size:12px}.puzzle-card{border-radius:20px;grid-template-columns:1fr 100px;gap:0 7px;margin-top:0;padding:18px}.puzzle-heading{margin-bottom:5px;font-size:9px}.puzzle-card h3{font-size:22px}.puzzle-card p{max-width:200px;margin-top:5px;font-size:9px}.puzzle-card .btn{width:100px;min-height:36px;padding:9px 8px;font-size:10px}.puzzle-art .sprite{width:59px;height:79px;top:-20px;left:36px}.puzzle-art .sparkle{font-size:20px;left:11px}.culture-strip{gap:8px}.culture-tile{flex-direction:column;justify-content:center;gap:0;height:118px;padding:5px}.culture-tile .sprite{width:44px;height:59px;margin-bottom:1px}.culture-tile strong{text-align:center;font-size:10px}.culture-tile small{text-align:center;font-size:8px;display:block}.culture-tile .check{font-size:9px;top:7px;right:8px}.home-foot{gap:10px;margin-top:22px;font-size:8px}.home-foot span:last-child{display:none}.home-foot svg{width:12px;height:12px}.page-heading{align-items:flex-start;margin:2px 0 22px}.page-heading h1{font-size:33px}.page-heading p{max-width:270px;font-size:11px;line-height:1.8}.page-heading .btn{min-height:36px;padding:9px 10px;font-size:10px}.back-link{margin-bottom:15px;font-size:11px}.panel{border-radius:20px;padding:20px}.setup-options{gap:5px;margin:17px 0 22px}.option{border-radius:10px;min-height:78px;padding:12px 3px;font-size:9px}.option.active{padding:11px 2px}.option .icon{width:20px;height:20px}.player-field{grid-template-columns:23px minmax(0,1fr) 106px;gap:7px}.player-dot{border-radius:8px;width:23px;height:23px;font-size:10px}.player-field input,.player-field select{padding:11px 8px;font-size:10px}.switch-row strong{font-size:11px}.switch-row small{max-width:230px;font-size:10px}.room-preview{text-align:center;padding:24px;display:flex}.room-preview>.mini-board{grid-template-columns:36px repeat(5,1fr) 36px;gap:4px;width:255px;height:102px;margin:26px 0;padding:7px}.room-preview .room-rules{margin-top:17px;margin-bottom:22px}.room-preview>p{font-size:11px}.room-hint{text-align:left;font-size:10px}.play-top{align-items:flex-start;margin-bottom:15px}.play-title{display:block}.play-title h1{margin-bottom:5px;font-size:28px}.play-title span{padding:3px 6px;font-size:8px}.play-tools .btn{width:35px;min-height:35px;padding:8px;font-size:0}.play-tools .icon{width:17px;height:17px}.game-stage{border-radius:22px;min-height:405px;margin:0 -9px;padding:20px 8px}.scoreboard{gap:8px;margin-bottom:25px}.score-pill{border-radius:13px;min-width:129px;padding:9px}.score-name{max-width:100px;font-size:10px}.score-number{font-size:24px}.scoreboard.players-3 .score-pill{gap:5px;min-width:98px;padding:7px}.scoreboard.players-3 .avatar{display:none}.scoreboard.players-4 .score-pill{min-width:calc(45% - 5px)}.scoreboard.players-4 .avatar{display:block}.board{border-width:5px;border-radius:50px;grid-template-rows:94px 94px;grid-template-columns:43px repeat(5,minmax(0,1fr)) 43px;gap:3px;padding:8px 5px;box-shadow:0 6px #8d5d38,0 12px 16px #49452528}.pit{border-width:1.5px;border-radius:13px;padding:1px}.pit-count{min-width:18px;padding:0 2px;font-size:18px;bottom:1px;right:2px}.pit-count.quan-count{font-size:10px;bottom:6px;right:50%}.pit.selected{border-width:2px;box-shadow:0 0 0 2px #4c7750}.board-hint{margin-top:20px;font-size:9px}.turn-panel{margin-top:16px}.turn-panel strong{font-size:12px}.turn-panel p{font-size:10px}.direction-buttons{gap:10px;margin-top:13px}.direction-buttons .btn{min-width:134px;min-height:42px;padding:11px;font-size:11px}.turn-status{font-size:10px}.game-side{padding:20px;display:block}.game-side h3{margin-bottom:10px;font-size:22px}.game-side .rules-summary{margin-bottom:17px;font-size:10px}.game-side .history-title{font-size:11px}.game-side .history-list{min-height:70px;max-height:160px}.game-side .btn{min-height:39px;margin-top:14px}.status-footer{font-size:9px}.ring-board{aspect-ratio:1;border-width:6px;border-radius:50%;width:min(100%,340px);height:auto;padding:0;display:block}.ring-board .pit{border-radius:10px}.ring-board .pit.quan-pit{border-radius:50%}.ring-board .pit-count{min-width:15px;font-size:13px}.ring-board .quan-count{font-size:8px}.ring-center{font-size:18px}.collection-tabs{gap:7px;margin:18px 0 20px}.tab{padding:10px 14px;font-size:10px}.culture-showcase{border-radius:23px;padding:20px}.culture-stage{min-height:225px}.culture-stage .speech{padding:9px 16px;font-size:17px;top:-5px;left:3%}.culture-stage .sprite{width:113px;height:151px}.culture-stage .sprite.quan{width:150px;height:200px}.culture-info{padding:7px}.culture-info h2{font-size:36px}.culture-info>p{font-size:11px}.culture-detail{gap:21px;margin:20px 0}.culture-detail strong{font-size:12px}.culture-detail span{font-size:9px}.animation-controls{gap:5px;margin-bottom:21px}.animation-controls .tab{min-height:36px;padding:8px 10px;font-size:9px}.asset-grid{gap:11px}.asset-preview{height:125px}.asset-copy{padding:11px;font-size:10px}.asset-copy strong{font-size:11px}.asset-copy small{font-size:9px}.guide-nav{gap:6px}.guide-step{border-radius:11px;min-height:79px;padding:10px 2px;font-size:9px}.guide-step span{width:24px;height:24px;font-size:11px}.guide-content{min-height:390px;padding:23px 20px}.guide-content h2{font-size:29px}.guide-content p{font-size:12px}.guide-visual{gap:10px;min-height:145px;margin:20px 0;padding:20px 12px}.guide-visual .mini-board{grid-template-columns:34px repeat(5,1fr) 34px;gap:4px;width:260px;height:98px}.guide-visual .sprite{width:47px;height:63px}.guide-number{font-size:28px}.guide-bottom .btn{padding:11px 14px;font-size:11px}.guide-bottom span{font-size:10px}.settings-panel .switch-row{padding:17px 0}.settings-panel .switch-row small{max-width:230px}.settings-panel h2{font-size:26px}.settings-foot{font-size:10px}.result-wrap{border-radius:25px;padding:27px 17px}.result-art{height:133px}.result-wrap h1{font-size:39px}.result-wrap>p{margin-bottom:21px;font-size:11px}.result-scores{flex-wrap:wrap;gap:8px}.result-score{border-radius:15px;min-width:115px;padding:12px 14px}.result-score strong{font-size:35px}.result-score span{font-size:10px}.result-actions{gap:8px}.result-actions .btn{padding:12px 15px;font-size:11px}.result-recap{font-size:10px}#toast{width:max-content;max-width:88vw;padding:11px 17px;font-size:11px;bottom:88px}.puzzle-play .game-stage{min-height:330px}.puzzle-explanation,.puzzle-outcome{font-size:12px}}@media (max-width:360px){.main{padding-left:14px;padding-right:14px}.hero-copy{padding-left:20px}.hero h1{font-size:47px}.hero p{font-size:10px}.mode-title-row h3{font-size:16px}.mode-content{padding:10px 8px}.mini-board{grid-template-columns:11px repeat(5,1fr) 11px;width:84px;height:45px}.board{grid-template-columns:37px repeat(5,minmax(0,1fr)) 37px}.pit-count{font-size:16px}.player-field{grid-template-columns:20px 1fr 98px;gap:5px}.player-field input,.player-field select{font-size:9px}.hero-buttons .btn{padding:11px 12px}.puzzle-card h3{font-size:20px}}.pit-index{color:#755b39;z-index:4;font-size:8px;font-weight:600;line-height:1.4;position:absolute;top:3px;left:6px}.quan-pit .pit-index{top:8px;left:50%;transform:translate(-50%)}.pit-picker{justify-content:center;gap:7px;max-width:420px;margin:17px auto 0;display:flex}.pit-pick{background:#f6faef;border:1px solid #bacdaa;border-radius:10px;flex:1;min-width:52px;min-height:44px;padding:6px 8px;line-height:1.45}.pit-pick strong{font-size:11px;font-weight:600;display:block}.pit-pick span{color:#64765a;font-size:9px}.pit-pick.active{background:#f9db87;border-color:#64894c}.pit-pick:disabled{opacity:.65}.ring-board .pit-index{font-size:7px;top:1px;left:4px}.ring-board .quan-pit .pit-index{top:2px;left:50%}@media (max-width:600px){.modes{grid-template-columns:1fr}.mode-card{border-radius:17px;grid-template-columns:105px 1fr;display:grid}.mode-art{height:104px}.mode-content{padding:15px 16px}.mode-title-row h3{font-size:24px}.mode-title-row .icon{display:block}.mode-content p{min-height:0;margin-top:3px;font-size:11px}.mode-meta{gap:11px;margin-top:7px;font-size:10px}.mode-meta span:nth-child(2){display:flex}.mode-meta svg{width:12px;height:12px}.mode-art .mini-board{grid-template-columns:12px repeat(5,1fr) 12px;width:85px;height:48px}.modes{gap:10px}.hero p{font-size:12px}.hero-kicker{font-size:10px}.hero-buttons .btn{font-size:12px}.hero{min-height:420px}.greeting,.puzzle-heading,.puzzle-card p{font-size:11px}.puzzle-card{grid-template-columns:1fr 104px}.puzzle-card .btn{width:104px;min-height:42px;font-size:11px}.culture-tile strong{font-size:11px}.culture-tile small{font-size:10px}.culture-tile{height:126px}.section-top .btn-text{font-size:11px}.home-foot{align-items:flex-start;font-size:10px;line-height:1.8}.home-foot>span{max-width:205px}.home-foot a{text-align:right;max-width:100px}.page-heading p{font-size:12px}.option{font-size:11px}.option .icon{width:21px;height:21px}.player-field input,.player-field select{font-size:11px}.switch-row strong{font-size:12px}.switch-row small{font-size:11px}.room-hint,.room-preview>p,.room-rules{font-size:12px}.play-title span,.board-hint{font-size:10px}.turn-panel strong{font-size:13px}.turn-panel p{font-size:11px}.direction-buttons .btn{font-size:12px}.pit-picker{gap:5px;max-width:340px;margin-top:14px}.pit-pick{min-width:45px;min-height:46px;padding:5px}.pit-pick strong{font-size:11px}.pit-pick span{font-size:10px}.game-side .rules-summary,.game-side .history-title{font-size:12px}.history-list li{font-size:11px}.history-list strong,.game-side .btn{font-size:12px}.status-footer{font-size:10px}.culture-info>p{font-size:12px}.culture-detail span{font-size:10px}.animation-controls .tab{min-height:42px;font-size:11px}.collection-tabs .tab{font-size:12px}.guide-step{font-size:11px}.guide-content p{font-size:13px}.guide-facts p,.settings-panel .switch-row small,.settings-foot{font-size:12px}.guide-bottom span{font-size:11px}.guide-bottom .btn,.result-wrap>p{font-size:12px}.result-score span,.result-recap{font-size:11px}.result-actions .btn{font-size:12px}}.flying-token{z-index:90;pointer-events:none;filter:drop-shadow(0 5px 4px #173f3555);width:36px;height:48px;position:fixed}@media (max-width:700px){.top-actions .profile{justify-content:center;align-items:center;min-width:44px;min-height:44px;display:flex}.top-actions .profile .avatar{display:block}.top-actions .icon-button{min-width:44px;min-height:44px}}.lobby-local{white-space:nowrap;background:#edf2e5;border:1px solid #d5dfca;border-radius:12px;align-items:center;gap:7px;padding:8px 12px;font-size:11px;display:flex}.lobby-local .icon{width:17px;height:17px}.lobby-surface{background:#e5ecd9;border:1px solid #dce5d0;border-radius:28px;padding:28px}.lobby-table-label{color:#5c7550;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;font-size:12px;display:flex}.lobby-table-label span{align-items:center;gap:8px;display:flex}.lobby-table-label .icon{width:18px;height:18px}.lobby-table-label strong{background:#f9fcf4;border-radius:20px;padding:5px 10px;font-size:11px}.lobby-seats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.lobby-seats.seats-2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:620px;margin:auto}.lobby-seats.seats-3{grid-template-columns:repeat(3,minmax(0,1fr));max-width:850px;margin:auto}.lobby-seat{text-align:center;background:#f9fbf5;border:2px solid #d4dfc8;border-radius:20px;min-width:0;padding:17px}.lobby-seat.ready{border-color:var(--player);background:#fff}.lobby-seat-top{color:#7a8b6d;justify-content:space-between;align-items:center;gap:8px;font-size:10px;display:flex}.lobby-seat-top .icon{color:var(--player);width:17px;height:17px}.lobby-character{isolation:isolate;justify-content:center;align-items:center;height:158px;display:flex;position:relative}.lobby-character:after{content:"";z-index:-1;background:#e4ecd8;border-radius:50%;height:20px;position:absolute;bottom:12px;left:20%;right:20%}.lobby-character .sprite{width:110px;height:147px}.lobby-seat h2{overflow-wrap:anywhere;font-size:24px}.lobby-seat>p{color:#77886a;min-height:16px;margin:5px 0 18px;font-size:10px}.lobby-seat>.btn{width:100%;min-height:44px;padding:11px 10px;font-size:11px}.btn-ready{color:#4c723d;background:#e6efd9;border:1px solid #cbdcbd}.btn-ready:disabled{opacity:1}.lobby-rules{color:#637752;border-top:1px solid #ccdabd;border-bottom:1px solid #ccdabd;flex-wrap:wrap;justify-content:center;gap:15px 24px;margin-top:26px;padding:19px 12px;font-size:11px;display:flex}.lobby-rules span{align-items:center;gap:7px;display:flex}.lobby-rules .icon{width:16px;height:16px}.lobby-team-note{text-align:center;color:#6e805f;margin-top:15px;font-size:11px}.lobby-bottom{justify-content:space-between;align-items:center;gap:22px;margin-top:24px;display:flex}.lobby-bottom strong{font-size:14px}.lobby-bottom p{color:#6e805e;margin-top:4px;font-size:11px}.lobby-actions{flex-shrink:0;gap:10px;display:flex}.lobby-actions .btn{min-height:46px;font-size:11px}.lobby-footnote{color:#75846b;align-items:flex-start;gap:9px;max-width:850px;margin:18px 4px 0;font-size:11px;line-height:1.9;display:flex}.lobby-footnote .icon{flex-shrink:0;width:17px;height:17px;margin-top:3px}@media (max-width:1100px){.lobby-seats{gap:10px}.lobby-seat{padding:13px}.lobby-seat h2{font-size:22px}.lobby-seat>.btn{gap:5px;padding:10px 5px;font-size:10px}.lobby-seat>.btn .icon{width:17px;height:17px}.lobby-bottom{align-items:flex-start}.lobby-actions{flex-direction:column}.lobby-actions .btn{min-width:172px}}@media (max-width:800px){.lobby-surface{padding:22px}.lobby-seats{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lobby-seats.seats-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.lobby-seats.seats-3 .lobby-seat{padding:12px 9px}.lobby-seats.seats-3 .lobby-character .sprite{width:90px;height:120px}.lobby-seats.seats-3 .lobby-character{height:133px}.lobby-seat>.btn{font-size:11px}.lobby-local{padding:7px 9px;font-size:10px}.lobby-rules{gap:11px 15px;font-size:11px}.lobby-bottom{gap:14px}.lobby-bottom strong{font-size:13px}.lobby-bottom p{max-width:260px;line-height:1.8}}@media (max-width:600px){.lobby-local{display:none}.lobby-surface{border-radius:22px;margin:0 -3px;padding:17px 14px}.lobby-table-label{gap:10px;margin-bottom:17px;font-size:11px}.lobby-table-label strong{white-space:nowrap;font-size:10px}.lobby-table-label .icon{width:15px;height:15px}.lobby-seats,.lobby-seats.seats-3{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.lobby-seats.seats-3 .lobby-seat:last-child{grid-column:1/3;justify-self:center;width:calc(50% - 5px)}.lobby-seat,.lobby-seats.seats-3 .lobby-seat{border-radius:17px;padding:12px 10px}.lobby-seat-top{font-size:10px}.lobby-seat-top .icon{width:15px;height:15px}.lobby-character,.lobby-seats.seats-3 .lobby-character{height:130px}.lobby-character .sprite,.lobby-seats.seats-3 .lobby-character .sprite{width:91px;height:122px}.lobby-seat h2{font-size:23px}.lobby-seat>p{min-height:32px;margin:4px 0 12px;font-size:10px;line-height:1.65}.lobby-seat>.btn{min-height:44px;padding:10px 4px;font-size:11px}.lobby-rules{justify-content:flex-start;gap:11px;margin-top:20px;padding:16px 5px;font-size:12px}.lobby-rules span{width:100%}.lobby-rules .icon{width:17px;height:17px}.lobby-bottom{margin-top:20px;display:block}.lobby-bottom strong{font-size:14px}.lobby-bottom p{max-width:none;font-size:12px}.lobby-actions{flex-direction:column;gap:10px;margin-top:18px}.lobby-actions .btn{width:100%;min-height:46px;font-size:12px}.lobby-team-note{text-align:left;padding:0 5px;font-size:12px;line-height:1.9}.lobby-footnote{margin-top:17px;font-size:12px}}.online-grid{grid-template-columns:minmax(0,1.35fr) minmax(250px,.85fr);gap:24px;display:grid}.online-intro{color:var(--muted);margin:9px 0 23px;font-size:12px}.online-create>.btn{width:100%;margin-top:22px}.online-create .setup-options{margin:23px 0 10px}.online-join{background:#f1e5c3;flex-direction:column;justify-content:center;display:flex}.online-join-art{justify-content:center;height:102px;margin:0 0 10px;display:flex}.online-join-art .sprite{width:81px;height:108px}.online-join h2{font-size:28px}.online-join>p{color:#7a704c;margin:10px 0 23px;font-size:12px;line-height:1.85}.online-join .field{margin-bottom:17px}.online-join .field input{letter-spacing:4px;background:#fffaf0;border-color:#e2d5af;padding:12px 15px;font-size:23px;font-weight:700}.online-join>.btn{width:100%}.online-how{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin:22px 3px;font-size:11px;display:flex}.online-how span{align-items:center;gap:7px;display:flex}.online-how .icon{width:15px;height:15px}.online-how a{font-weight:600;text-decoration:underline}.online-error{color:#806031;overflow-wrap:anywhere;background:#fff0d8;border:1px solid #d6b98c;border-radius:15px;align-items:flex-start;gap:10px;margin-bottom:20px;padding:15px 17px;font-size:12px;line-height:1.8;display:flex}.online-error .icon{flex-shrink:0;width:19px;height:19px;margin-top:2px}.online-unavailable{border:1px solid var(--line);background:#e7eddb;border-radius:26px;max-width:850px;padding:38px}.online-unavailable h2{margin-bottom:14px;font-size:33px}.online-unavailable p{color:#647655;max-width:590px;font-size:13px;line-height:1.9}.online-unavailable>div{flex-wrap:wrap;gap:12px;margin-top:25px;display:flex}.online-resume{background:#dce9ca;border:1px solid #cbdcba;border-radius:16px;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;padding:15px 18px;font-size:12px;display:flex}.online-resume>span{align-items:center;gap:7px;display:flex}.online-resume strong{letter-spacing:2px}.invite-strip{border:1px solid var(--line);background:#fff;border-radius:20px;grid-template-columns:1fr auto;gap:5px 20px;margin-bottom:17px;padding:20px 25px;display:grid}.invite-strip>div:first-child>span{color:var(--muted);font-size:11px;display:block}.invite-strip strong{font-family:var(--display);letter-spacing:5px;font-size:35px;line-height:1.3}.invite-actions{grid-area:1/2/3;align-items:center;gap:10px;display:flex}.invite-strip p{color:#75856c;grid-column:1;font-size:11px}.network-strip{color:#577047;background:#edf4e4;border:1px solid #cddbc0;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px;padding:10px 16px;font-size:11px;display:flex}.network-strip span{align-items:center;gap:7px;display:flex}.network-strip span:nth-child(2){flex:1;font-size:10px}.network-strip .icon{width:15px;height:15px}.network-strip .btn-text{white-space:nowrap;min-height:28px;font-size:10px}.network-strip.reconnecting{color:#88682c;background:#fff0d5;border-color:#e6c68d}.network-strip.reconnecting .btn-text{color:#806028}.remote-ready{color:#7d8a72;background:#edf0e7;border:1px solid #dce3d4;border-radius:12px;justify-content:center;align-items:center;gap:6px;min-height:46px;font-size:11px;display:flex}.remote-ready .icon{width:17px;height:17px}.remote-ready.is-ready{color:#4c723d;background:#e6efd9;border-color:#cbdcbd}.empty-seat{background:#f6f8f1a3;border-style:dashed}.empty-seat h2{color:#829075;font-size:19px}.empty-chair{justify-content:center;align-items:center;height:158px;display:flex}.empty-chair>.icon{color:#b5c6a3;stroke-width:1.2px;width:49px;height:49px}.lobby-seat h2 small{font-family:var(--body);color:#7a8b6b;font-size:10px;font-weight:400}.online-wait-rematch{color:#687d58;text-align:left;align-items:center;max-width:220px;font-size:12px;display:flex}.collection-tabs{flex-wrap:wrap}.asset-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.lobby-seat.ready>.btn:disabled{opacity:.65}@media (max-width:1000px){.online-grid{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.online-create .field-grid{grid-template-columns:1fr}.online-create .setup-options{grid-template-columns:repeat(2,1fr)}.online-create .option{min-height:77px}.asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.empty-chair{height:140px}.online-how{justify-content:flex-start;gap:12px 23px}}@media (max-width:800px){.online-grid{grid-template-columns:1fr}.online-create .field-grid{grid-template-columns:1fr 1fr}.online-create .setup-options{grid-template-columns:repeat(4,1fr)}.online-join{grid-template-columns:1fr 140px;align-items:center;gap:0 20px;display:grid}.online-join-art{grid-area:1/2/3}.online-join h2,.online-join>p{grid-column:1}.online-join>p{margin-bottom:17px}.online-join .field{grid-column:1}.online-join>.btn{grid-area:3/2;align-self:end;margin-bottom:17px;font-size:11px}.invite-strip{padding:18px 20px}.invite-actions{gap:7px}.invite-actions .btn{padding:11px 13px;font-size:11px}.network-strip,.online-wait-rematch{font-size:11px}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.online-grid{gap:17px}.online-intro{margin-bottom:19px;font-size:12px;line-height:1.8}.online-create .field-grid{grid-template-columns:1fr;gap:12px}.online-create .setup-options{margin-top:20px}.online-create>.btn{margin-top:18px;font-size:13px}.online-join{text-align:left;padding:23px;display:flex}.online-join-art{height:90px;margin-bottom:14px}.online-join h2{font-size:29px}.online-join>p{font-size:12px;line-height:1.9}.online-join .field{width:100%}.online-join>.btn{min-height:46px;margin-bottom:0;font-size:13px}.online-how{gap:12px;margin:20px 3px;font-size:11px;line-height:1.8}.online-how .icon{width:17px;height:17px}.online-unavailable{padding:26px 22px}.online-unavailable h2{font-size:29px}.online-unavailable p{font-size:13px}.online-unavailable>div{flex-direction:column;gap:12px}.online-unavailable .btn{width:100%;font-size:12px}.online-error{padding:14px;font-size:12px}.online-resume{flex-wrap:wrap;gap:12px;padding:14px;font-size:12px}.online-resume>.btn{width:100%;font-size:12px}.invite-strip{grid-template-columns:1fr;gap:7px;padding:19px}.invite-strip strong{letter-spacing:6px;font-size:35px}.invite-strip>div:first-child>span{font-size:11px}.invite-actions{grid-area:3/1;margin-top:6px}.invite-actions .btn{flex:1;min-height:44px;padding:11px;font-size:12px}.invite-strip p{font-size:12px;line-height:1.8}.network-strip{gap:7px;margin-bottom:14px;padding:11px 12px;font-size:11px}.network-strip .btn-text{font-size:11px}.network-strip span:nth-child(2){flex:auto;width:100%;font-size:11px}.empty-chair{height:130px}.empty-seat h2{font-size:20px;line-height:1.25}.remote-ready{min-height:44px;font-size:11px}.lobby-seat h2 small{font-size:10px}.collection-tabs{gap:6px}.collection-tabs .tab{min-height:42px;padding:9px 12px;font-size:11px}.online-wait-rematch{font-size:12px}}.main{padding-top:env(safe-area-inset-top,0px)}@media (max-width:600px){.sidebar{height:calc(73px + env(safe-area-inset-bottom,0px));padding-bottom:calc(5px + env(safe-area-inset-bottom,0px));padding-left:max(8px,env(safe-area-inset-left,0px));padding-right:max(8px,env(safe-area-inset-right,0px))}.main{padding-left:max(18px,env(safe-area-inset-left,0px));padding-right:max(18px,env(safe-area-inset-right,0px));padding-bottom:calc(95px + env(safe-area-inset-bottom,0px))}#toast{bottom:calc(88px + env(safe-area-inset-bottom,0px))}}@media (min-width:601px) and (max-width:1000px) and (orientation:landscape){.sidebar{width:calc(var(--side) + env(safe-area-inset-left,0px));padding-left:calc(10px + env(safe-area-inset-left,0px));padding-top:calc(25px + env(safe-area-inset-top,0px))}.main{margin-left:calc(var(--side) + env(safe-area-inset-left,0px));padding-right:max(22px,env(safe-area-inset-right,0px))}}@media (max-width:600px){.field input,.field select{font-size:16px}.online-join .field input{font-size:23px}}.lobby-your-action{background:#e6efd9;border:1px solid #bdcfac;border-radius:18px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;padding:19px 22px;display:flex}.lobby-your-action strong{font-size:14px;font-weight:600}.lobby-your-action p{color:#566e46;margin-top:4px;font-size:12px;line-height:1.8}.lobby-your-buttons{flex-shrink:0;align-items:center;gap:10px;display:flex}.lobby-your-buttons .btn{min-height:46px;font-size:12px}.lobby-your-buttons .btn-ready{background:#f5faed;border-color:#9ab788}.lobby-your-buttons .btn-ready:disabled{opacity:.65}@media (max-width:800px){.lobby-your-action{align-items:flex-start;gap:14px;padding:17px 19px}.lobby-your-buttons{flex-direction:column;align-items:stretch}.lobby-your-buttons .btn{min-width:173px}.lobby-your-action strong{font-size:13px}.lobby-your-action p{font-size:11px}}@media (max-width:600px){.lobby-your-action{border-radius:16px;margin-bottom:16px;padding:16px;display:block}.lobby-your-action strong{font-size:14px}.lobby-your-action p{margin-top:5px;font-size:12px}.lobby-your-buttons{gap:10px;margin-top:13px}.lobby-your-buttons .btn{width:100%;min-height:47px;font-size:13px}.lobby-your-buttons .icon{width:19px;height:19px}}.turn-panel{position:relative}.clear-pit{color:#5c7350;vertical-align:middle;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:5px;min-height:36px;margin:0 auto 7px;padding:5px 9px;font-size:11px;display:inline-flex}.clear-pit .icon{width:14px;height:14px}.turn-panel>.clear-pit+strong{display:block}@media (max-width:600px){body.choosing-pit .main{padding-bottom:calc(265px + env(safe-area-inset-bottom,0px))}.game-stage #turn-panel.has-selection{z-index:35;left:max(12px,env(safe-area-inset-left,0px));right:max(12px,env(safe-area-inset-right,0px));bottom:calc(81px + env(safe-area-inset-bottom,0px));text-align:left;background:#f5f8ed;border:1px solid #b9cbaa;border-radius:19px;min-height:0;margin:0;padding:14px 13px 15px;position:fixed;box-shadow:0 -5px 24px #173f3520,0 3px 10px #173f3512}.game-stage #turn-panel.has-selection>strong{padding-right:87px;font-size:13px;line-height:1.6}.game-stage #turn-panel.has-selection>p{max-width:calc(100% - 16px);margin-top:4px;font-size:11px;line-height:1.7}.game-stage #turn-panel.has-selection .clear-pit{min-width:86px;min-height:44px;margin:0;padding:7px 9px;font-size:11px;position:absolute;top:3px;right:8px}.game-stage #turn-panel.has-selection .direction-buttons{gap:10px;margin-top:12px}.game-stage #turn-panel.has-selection .direction-buttons .btn{flex:1;min-width:0;min-height:48px;padding:12px 8px;font-size:13px}.game-stage #turn-panel.has-selection .direction-buttons .btn:hover{transform:none}body.choosing-pit #screen{animation:none;transform:none}}.guest-account>p{color:var(--muted);max-width:60ch;margin:10px 0 19px;font-size:13px;line-height:1.9}.guest-account-row{justify-content:space-between;align-items:center;gap:18px;padding:18px 0;display:flex}.guest-account-row strong{font-size:15px;display:block}.guest-account-row span{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.8;display:block}.guest-account-state{color:var(--muted);background:#f4f6ef;border-radius:12px;padding:15px 17px;font-size:13px;line-height:1.9}.btn-danger-outline{color:#973b32;background:#fff8f4;border:1px solid #d5a99e;flex-shrink:0;min-height:46px}.btn-danger{color:#fff;background:#993b32;min-height:46px}.btn-danger:hover{background:#813128}.guest-success{color:#37582d;background:#edf4e4;border:1px solid #c9d9bb;border-radius:13px;align-items:flex-start;gap:10px;margin:15px 0;padding:15px 17px;font-size:13px;line-height:1.9;display:flex}.guest-success .icon{flex-shrink:0;margin-top:2px}.guest-delete-progress{background:#f8f1dc;border:1px solid #ddd0a6;border-radius:14px;margin:17px 0;padding:17px}.guest-delete-progress strong{font-size:14px}.guest-delete-progress p{color:#6e5c36;margin:7px 0 14px;font-size:13px;line-height:1.85}.guest-delete-progress p:last-child{margin-bottom:0}.privacy-links{flex-wrap:wrap;gap:13px 25px;margin-top:22px;display:flex}.privacy-links a,.guest-help-link{color:#466c39;text-underline-offset:3px;font-size:13px;line-height:1.8;text-decoration:underline}.privacy-links a{align-items:center;min-height:44px;display:inline-flex}.guest-pending{background:#f8f1dc;border:1px solid #ddd0a6;border-radius:17px;align-items:center;gap:15px;margin:0 0 22px;padding:18px 20px;display:flex}.guest-pending>.icon{color:#806028;flex-shrink:0}.guest-pending>div{flex:1}.guest-pending strong{font-size:13px}.guest-pending p{color:#756441;margin-top:4px;font-size:12px;line-height:1.8}.dialog-open{overflow:hidden}.guest-modal-overlay{z-index:150;padding:max(22px,env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left));overscroll-behavior:contain;background:#142e27b8;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.guest-dialog{background:#fffdf7;border:1px solid #e4ddd0;border-radius:23px;width:min(100%,560px);max-height:100%;padding:28px;overflow:auto;box-shadow:0 20px 80px #10291e4d}.guest-dialog-heading{align-items:center;gap:12px;margin-bottom:17px;display:flex}.guest-dialog-heading>.icon{color:#973b32;flex-shrink:0;width:28px;height:28px}.guest-dialog h2{font-size:29px;line-height:1.2}.guest-dialog p,.guest-dialog li{color:#566557;font-size:13px;line-height:1.85}.guest-dialog ul{margin:14px 0;padding-left:21px}.guest-dialog li{margin:8px 0}.guest-dialog #guest-delete-description>p:first-child{color:#973b32;font-weight:600}.guest-dialog-actions{justify-content:flex-end;gap:11px;margin:24px 0 17px;display:flex}.guest-dialog-actions .btn{flex:1}.guest-help-link{align-items:center;min-height:36px;display:inline-flex}.guest-dialog .online-error{margin:17px 0 0}@media (max-width:600px){.guest-account-row{padding:8px 0;display:block}.guest-account-row>.btn{width:100%;margin-top:16px}.guest-account-row span{font-size:12px}.guest-account .btn{min-height:48px}.guest-pending{flex-wrap:wrap;gap:12px;padding:17px}.guest-pending>div{flex-basis:calc(100% - 40px)}.guest-pending>.btn{width:100%;min-height:46px}.guest-modal-overlay{padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}.guest-dialog{border-radius:20px;padding:22px 19px}.guest-dialog h2{font-size:26px}.guest-dialog p,.guest-dialog li{font-size:13px}.guest-dialog-actions{flex-direction:column-reverse;gap:11px;margin-top:20px}.guest-dialog-actions .btn{min-height:48px;font-size:13px}.guest-delete-progress{padding:15px}.privacy-links{gap:7px 22px}}.guest-stale-receipt{border-top:1px solid #ddcfaa;margin-top:18px;padding-top:13px}.guest-stale-receipt p{font-size:12px;line-height:1.9}.guest-local-only{color:#6e5c36;background:#f8f1dc;border-color:#ddd0a6}.ai-badge{vertical-align:middle;font-family:var(--body);letter-spacing:.03em;color:#49643b;white-space:nowrap;background:#edf3e5;border:1px solid #abc29b;border-radius:6px;flex-shrink:0;align-items:center;padding:2px 5px;font-size:9px;font-weight:600;line-height:1.4;display:inline-flex}.score-number .ai-badge{vertical-align:middle;margin-left:2px;font-size:8px}.lobby-seat h2 .ai-badge{vertical-align:middle;margin-left:3px;font-size:10px}.turn-panel .ai-badge{margin-left:3px}.match-difficulty{margin:18px 0 10px}.match-difficulty select{min-height:48px;font-size:16px}.match-difficulty small{color:var(--muted);font-size:11px;font-weight:400;line-height:1.7}.lobby-your-action .match-fill-note{border-top:1px solid #bdcfac;max-width:590px;margin-top:9px;padding-top:9px}@media (max-width:743px){.match-difficulty small{font-size:12px}.lobby-table-label{gap:10px}.lobby-table-label strong{white-space:nowrap;font-size:11px}.score-number .ai-badge{padding:1px 3px;font-size:8px}}.board .pit-characters{grid-template-columns:repeat(var(--token-columns),minmax(0,1fr));grid-template-rows:repeat(var(--token-rows),minmax(0,1fr));pointer-events:none;justify-content:normal;align-items:stretch;gap:1px;width:auto;height:auto;display:grid;position:absolute;inset:14px 4px 24px}.board .quan-pit .pit-characters{inset:20px 5px 28px}.board .pit-characters .pit-token{min-width:0;min-height:0;display:block;position:relative;overflow:hidden}.board .pit-characters .pit-token>.sprite{aspect-ratio:auto;filter:none;background-image:none;width:100%;max-width:none;height:100%;max-height:none;display:block;position:static;top:auto;left:auto;overflow:hidden;transform:none}.board .pit-characters .pit-empty{place-self:center}.board .pit-count{font-variant-numeric:tabular-nums}.board.ring-board[data-players="4"] .pit{border-radius:50%;width:10.25%;min-width:0;height:10.25%;min-height:0}.board.ring-board[data-players="4"] .pit.quan-pit{width:10.5%;height:10.5%}.ring-board .pit-characters{gap:0;inset:10px 3px 18px}.ring-board .quan-pit .pit-characters{inset:12px 4px 18px}@media (max-width:600px){.board .pit-characters{grid-template-columns:repeat(var(--compact-token-columns),minmax(0,1fr));grid-template-rows:repeat(var(--compact-token-rows),minmax(0,1fr));gap:0;inset:12px 2px 21px}.board .quan-pit .pit-characters{inset:19px 3px 24px}.ring-board .pit-characters{inset:8px 2px 13px}.ring-board .quan-pit .pit-characters{inset:9px 3px 13px}}.flying-token.sow-token,.flying-token.capture-token{z-index:101;filter:drop-shadow(0 3px 1px #fff7d1)drop-shadow(0 7px 5px #173f3566);width:48px;height:64px}.flying-token.sow-trail{transform-origin:0;z-index:100;filter:drop-shadow(0 1px 1px #fff9df);opacity:.85;border-top:3px dashed #587b43;border-radius:0;height:0}.sow-trail:after{content:"";border-top:2px solid #426c36;border-right:2px solid #426c36;width:7px;height:7px;position:absolute;top:-5px;right:0;transform:rotate(45deg)}.board .pit.event-source{background:#ecf3dc;box-shadow:inset 0 0 0 2px #75965b}.board .pit.event-active{outline-offset:1px;background:#ffe6a4;outline:2px solid #c88821}.board .pit.arrival-pulse{animation:.38s ease-out citizen-arrived}@keyframes citizen-arrived{0%{box-shadow:inset 0 0 0 4px #e8b044}to{box-shadow:inset 0 0 #e8b04400}}@media (prefers-reduced-motion:reduce){.board .pit.arrival-pulse{animation:none}}.language-settings{margin-bottom:20px}.language-field{gap:9px;max-width:520px}.language-field select{width:100%;min-height:48px}.language-field small{color:var(--muted,#64745c);font-weight:400;line-height:1.5}html[lang=ja] body,html[lang=ko] body{word-break:normal;overflow-wrap:anywhere}.btn,.nav-item{white-space:normal}.page-heading h1{overflow-wrap:anywhere}.duo-entry{background:#edf2e4;border-block:1px solid #cedac4;align-items:center;gap:18px;margin:0 0 30px;padding:22px 26px;display:flex}.duo-faces{flex-shrink:0;padding-right:5px;display:flex}.duo-faces .avatar{width:48px;height:48px}.duo-faces .avatar+.avatar{background:#e3d4c6;margin-left:-10px;transform:translateY(9px)}.duo-copy{flex:1;min-width:0}.duo-copy h2{font-size:25px}.duo-copy p{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.7}.duo-actions{flex-wrap:wrap;gap:10px;display:flex}.duo-actions .btn{min-height:46px}.game-controls{min-width:0}.game-details-toggle{display:none}.route-play #screen{animation:none;transform:none}@media (max-width:743px){:root{--side:0px}.sidebar{width:100%;height:calc(73px + env(safe-area-inset-bottom,0px));padding:5px max(8px,env(safe-area-inset-right,0px)) calc(5px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));border-radius:19px 19px 0 0;inset:auto 0 0}.sidebar .brand,.sidebar .side-note,.sidebar .side-bottom{display:none}.nav{flex-direction:row;justify-content:space-around;gap:3px;height:100%}.nav a{border-radius:12px;flex-direction:column;flex:1;justify-content:center;gap:3px;min-width:0;min-height:48px;padding:7px 3px;font-size:9px}.nav a span{white-space:nowrap;display:block}.nav a.active:before{display:none}.main{padding-inline:max(18px,env(safe-area-inset-left,0px)) max(18px,env(safe-area-inset-right,0px));padding-bottom:calc(95px + env(safe-area-inset-bottom,0px));margin-left:0}.topbar{gap:12px;height:88px}.top-actions{gap:9px}.top-actions .profile>span,.local-badge{display:none}.duo-entry{background:0 0;grid-template-columns:68px minmax(0,1fr);gap:16px 12px;margin-bottom:27px;padding:20px 2px;display:grid}.duo-faces .avatar{width:39px;height:39px}.duo-copy h2{font-size:26px}.duo-copy p{max-width:32ch;margin-top:3px;font-size:12px}.duo-actions{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:12px;display:grid}.duo-actions .btn{min-height:48px;padding:12px 8px;font-size:12px}.player-field input,.player-field select{min-height:48px;font-size:16px}.player-field{grid-template-columns:24px minmax(0,1fr) minmax(105px,.85fr)}.route-play .sidebar,.route-play .topbar{display:none}.route-play .main,body.choosing-pit .route-play .main{padding:max(12px,env(safe-area-inset-top,0px)) max(14px,env(safe-area-inset-right,0px)) max(24px,env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px));margin:0}.route-play #screen{animation:none;transform:none}.route-play .play-top{align-items:center;margin:0 0 14px}.route-play .play-title h1{margin-bottom:3px;font-size:29px}.route-play .play-title span{padding:3px 6px;font-size:10px}.route-play .play-tools{gap:8px}.route-play .play-tools .btn{min-width:44px;min-height:44px;padding:10px;font-size:0}.route-play .play-tools .icon{width:21px;height:21px}.route-play .game-layout{flex-direction:column;gap:12px;display:flex}.route-play .game-stage{border-radius:24px;justify-content:flex-start;min-height:0;margin:0;padding:20px 8px 18px;overflow:visible}.route-play .game-stage:before{border-radius:24px}.route-play .scoreboard{gap:10px;margin-bottom:14px}.route-play .score-pill{flex:1;gap:8px;min-width:0;max-width:200px;padding:10px 9px}.route-play .score-name{max-width:112px;font-size:12px}.route-play .score-number{font-size:29px}.route-play .score-number small{font-size:10px}.route-play .board-wrap{padding:12px 0 18px}.route-play .board:not(.ring-board){border-width:5px;border-radius:49px;grid-template-rows:94px 94px;grid-template-columns:38px repeat(5,minmax(0,1fr)) 38px;gap:4px;padding:9px 5px}.route-play .pit-index{font-size:9px;top:4px;left:5px}.route-play .quan-pit .pit-index{left:50%}.route-play .board:not(.ring-board) .pit-count{font-size:22px;bottom:2px}.route-play .board:not(.ring-board) .pit-count.quan-count{font-size:11px;bottom:8px}.route-play .board-hint{margin-top:3px;font-size:10px}.route-play .game-controls{border-top:1px solid #a4ba8c7d;margin:14px 6px 0;padding-top:14px}.route-play .pit-picker{gap:6px;max-width:none;margin:0}.route-play .pit-pick{min-width:44px;min-height:51px;padding:5px 3px}.route-play .pit-pick strong{font-size:12px}.route-play .pit-pick span{font-size:10px}.route-play .turn-panel{min-height:64px;margin:16px 0 0}.route-play .turn-panel strong{font-size:14px}.route-play .turn-panel p{font-size:12px;line-height:1.7}.route-play .game-stage #turn-panel.has-selection{min-height:0;box-shadow:none;text-align:left;background:0 0;border:0;border-radius:0;margin:14px 0 0;padding:12px 0 0;position:relative;inset:auto}.route-play .game-stage #turn-panel.has-selection>strong{padding-right:86px;font-size:13px}.route-play .game-stage #turn-panel.has-selection>p{max-width:none;font-size:11px}.route-play .game-stage #turn-panel.has-selection .clear-pit{top:-1px;right:-2px}.route-play .direction-buttons{gap:10px}.route-play .game-stage #turn-panel .direction-buttons .btn{flex:1;min-width:0;min-height:50px;padding:12px 8px;font-size:13px}.route-play .game-side{max-height:none;margin:0;display:none}.route-play .details-open .game-side{display:block}.route-play .game-details-toggle{text-align:left;background:0 0;border:0;border-bottom:1px solid #d6dfcd;justify-content:flex-start;align-items:center;gap:10px;min-height:48px;padding:12px 8px;font-size:12px;display:flex}.route-play .game-details-toggle .icon:last-child{width:18px;margin-left:auto;transform:rotate(90deg)}.route-play .details-open .game-details-toggle .icon:last-child{transform:rotate(-90deg)}.route-play .status-footer{align-items:flex-start;margin:12px 6px 0;font-size:10px;line-height:1.8}.route-play .network-strip{margin-bottom:12px;padding:9px 12px}.route-play .scoreboard.players-3 .score-pill{min-width:0}.route-play .scoreboard.players-4{flex-wrap:wrap}.route-play .scoreboard.players-4 .score-pill{flex-basis:44%;min-width:0}}@media (orientation:landscape) and (max-height:599px){.route-play .sidebar,.route-play .topbar{display:none}.route-play .main,body.choosing-pit .route-play .main{padding:max(8px,env(safe-area-inset-top,0px)) max(18px,env(safe-area-inset-right,0px)) max(12px,env(safe-area-inset-bottom,0px)) max(18px,env(safe-area-inset-left,0px));max-width:none;margin:0}.route-play #screen{animation:none;transform:none}.route-play .play-top{align-items:center;margin-bottom:8px}.route-play .play-title{align-items:center;gap:10px;display:flex}.route-play .play-title h1{margin:0;font-size:25px}.route-play .play-title span{font-size:10px}.route-play .play-tools .btn{min-width:44px;min-height:44px;padding:9px;font-size:11px}.route-play .game-layout{flex-direction:column;gap:8px;display:flex}.route-play .game-stage{border-radius:22px;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) 206px;align-items:center;gap:4px 18px;min-height:0;margin:0;padding:12px 16px;display:grid;overflow:visible}.route-play .game-stage:before{border-radius:22px}.route-play #scoreboard{grid-area:1/1}.route-play .scoreboard{flex-wrap:nowrap;gap:10px;margin:0}.route-play .score-pill{border-radius:12px;flex:1;gap:7px;min-width:0;max-width:195px;padding:6px 10px}.route-play .score-name{max-width:120px;font-size:11px}.route-play .score-number{font-size:25px}.route-play .board-wrap{grid-area:2/1;min-width:0;padding:6px 0 10px}.route-play .board:not(.ring-board){border-width:5px;border-radius:44px;grid-template-rows:94px 94px;grid-template-columns:36px repeat(5,minmax(0,1fr)) 36px;gap:4px;padding:8px 5px}.route-play .board:not(.ring-board) .pit{border-radius:12px}.route-play .board:not(.ring-board) .quan-pit{border-radius:40px}.route-play .board:not(.ring-board) .pit-count{font-size:20px;bottom:0;right:2px}.route-play .board:not(.ring-board) .quan-count{font-size:10px;bottom:7px;right:50%}.route-play .board-hint{display:none}.route-play .game-controls{border:0;border-left:1px solid #adc2997d;flex-direction:column;grid-area:1/2/3;justify-content:center;align-self:stretch;margin:0;padding:2px 0 2px 16px;display:flex}.route-play .pit-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-width:none;margin:0;display:grid}.route-play .pit-pick{min-width:44px;min-height:44px;padding:4px 3px}.route-play .pit-pick strong{font-size:11px}.route-play .pit-pick span{font-size:10px}.route-play .turn-panel,.route-play .game-stage #turn-panel.has-selection{min-height:0;box-shadow:none;text-align:left;background:0 0;border:0;border-radius:0;margin:12px 0 0;padding:0;position:relative;inset:auto}.route-play .turn-panel strong,.route-play .game-stage #turn-panel.has-selection>strong{padding:0;font-size:12px;line-height:1.5;display:block}.route-play .turn-panel p{margin-top:5px;font-size:11px;line-height:1.6}.route-play .game-stage #turn-panel.has-selection>p{display:none}.route-play .game-stage #turn-panel.has-selection .clear-pit{float:right;min-width:0;min-height:44px;margin:-8px 0 0 4px;padding:4px 0;font-size:10px;position:static}.route-play .direction-buttons{clear:both;flex-direction:column;gap:8px;margin-top:9px;display:flex}.route-play .game-stage #turn-panel .direction-buttons .btn{width:100%;min-width:0;min-height:44px;padding:9px 7px;font-size:12px}.route-play .turn-status{justify-content:flex-start;height:auto;font-size:11px}.route-play .game-side{max-height:none;display:none}.route-play .details-open .game-side{display:block}.route-play .game-details-toggle{text-align:left;background:0 0;border:0;border-bottom:1px solid #d6dfcd;align-items:center;gap:8px;min-height:44px;padding:7px 4px;font-size:11px;display:flex}.route-play .game-details-toggle .icon:last-child{width:16px;margin-left:auto;transform:rotate(90deg)}.route-play .status-footer{margin-top:8px;font-size:10px}.route-play .network-strip{margin-bottom:8px;padding:6px 10px}.route-play .ring-board{width:230px;max-width:100%}}@media (orientation:landscape) and (max-height:599px) and (max-width:740px){.route-play .game-stage{grid-template-columns:minmax(0,1fr) 182px;gap:4px 10px;padding:10px}.route-play .game-controls{padding-left:10px}.route-play .play-title span{font-size:9px}.route-play .play-tools .btn{font-size:0}}@media (max-width:743px) and (max-height:700px) and (orientation:portrait){.route-play .main,body.choosing-pit .route-play .main{padding-top:max(8px,env(safe-area-inset-top,0px))}.route-play .play-top{margin-bottom:10px}.route-play .play-title h1{font-size:25px}.route-play .game-stage{padding:12px 7px}.route-play .scoreboard{margin-bottom:8px}.route-play .score-pill{gap:6px;padding:7px}.route-play .score-name{max-width:80px;font-size:11px}.route-play .score-number{font-size:24px}.route-play .board-wrap{padding:7px 0 13px}.route-play .board:not(.ring-board){grid-template-rows:94px 94px;grid-template-columns:34px repeat(5,minmax(0,1fr)) 34px;gap:3px;padding:8px 4px}.route-play .board-hint{display:none}.route-play .game-controls{margin:8px 3px 0;padding-top:10px}.route-play .pit-pick{min-height:46px}.route-play .turn-panel,.route-play .game-stage #turn-panel.has-selection{margin-top:8px}.route-play .game-stage #turn-panel.has-selection>p{font-size:10px}.route-play .game-stage #turn-panel .direction-buttons .btn{min-height:48px}}@media (min-width:601px) and (max-width:743px){.field input,.field select{min-height:48px;font-size:16px}.online-join .field input{font-size:23px}.option,.online-create .option{font-size:13px}.page-heading p,.online-intro,.settings-foot{font-size:13px;line-height:1.85}}@media (min-width:601px) and (max-width:743px) and (min-height:600px){.game-stage:has(.scoreboard.players-4) .ring-board .pit{border-radius:50%;width:10.25%;min-width:0;height:10.25%;min-height:0}.game-stage:has(.scoreboard.players-4) .ring-board .pit.quan-pit{width:10.5%;height:10.5%}.game-stage:has(.scoreboard.players-4) .ring-board .pit-count{font-size:18px}.game-stage:has(.scoreboard.players-4) .ring-board .quan-count{font-size:11px}}@media (min-width:744px) and (max-width:1366px) and (min-height:600px){:root{--side:calc(88px + env(safe-area-inset-left,0px));--tablet-gutter:24px;--tablet-history:232px;--tablet-gap:20px}.sidebar{width:var(--side);height:100dvh;padding:calc(24px + env(safe-area-inset-top,0px)) 8px calc(20px + env(safe-area-inset-bottom,0px)) calc(8px + env(safe-area-inset-left,0px));background:var(--forest);border-radius:0;flex-direction:column;align-items:center;display:flex;inset:0 auto 0 0}.brand{min-height:72px;padding:0 0 28px;display:flex}.brand img{width:44px;height:44px}.brand>div,.side-note,.side-bottom span{display:none}.nav{flex-direction:column;gap:12px;width:100%}.nav a,.nav a[data-nav=settings]{text-align:center;color:#c7d8cc;flex-direction:column;justify-content:center;gap:6px;min-height:70px;padding:10px 3px;font-size:11px;line-height:1.45;display:flex}.nav a span{display:block}.nav a svg{width:24px;height:24px}.nav a.active{color:var(--forest);background:var(--leaf)}.nav a.active:before{display:block;left:0}.side-bottom{margin:auto 0 0;padding-top:24px;display:flex}.main{margin-left:var(--side);min-width:0;max-width:none;padding:env(safe-area-inset-top,0px) max(var(--tablet-gutter), env(safe-area-inset-right,0px)) calc(36px + env(safe-area-inset-bottom,0px)) var(--tablet-gutter)}.topbar{gap:18px;height:auto;min-height:86px;padding:18px 0}.greeting{min-width:0;font-size:12px}.greeting strong{font-size:19px;line-height:1.45}.top-actions{flex-shrink:0;gap:12px}.local-badge,.profile>span{display:none}.icon-button,.profile{min-width:44px;min-height:44px}.icon-button,.profile .avatar{width:44px;height:44px}.btn{min-height:48px;font-size:14px}.btn-small,.btn-text,.back-link{min-height:44px;font-size:13px}.back-link{margin-bottom:12px}.page-heading{gap:18px;margin-bottom:24px}.page-heading h1{font-size:clamp(34px,3.6vw,44px)}.page-heading p{max-width:58ch;font-size:14px;line-height:1.85}.panel{min-width:0;padding:26px}.section-top h2{font-size:29px}.section-top .btn-text{font-size:12px}.field,.subsection-label{font-size:14px}.field input,.field select,.player-field input,.player-field select{min-width:0;min-height:48px;padding:12px;font-size:16px}.field small,.switch-row small{font-size:12px;line-height:1.8}.switch-row{gap:20px;min-height:76px}.switch-row strong{font-size:14px}.switch-row>span{min-width:0}.settings-foot{font-size:13px;line-height:1.9}#toast{left:calc(50% + var(--side) / 2);bottom:calc(24px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - var(--side) - 48px);font-size:13px}.hero{border-radius:28px;min-height:370px;margin-bottom:30px}.hero-copy{width:61%;padding:32px 0 36px 30px}.hero h1{font-size:clamp(58px,6vw,74px)}.hero p{max-width:310px;font-size:14px;line-height:1.85}.hero-kicker{max-width:100%;margin-bottom:18px;font-size:11px}.hero-art{object-position:55% center;width:74%;height:100%;top:0;bottom:auto}.hero:after{background:linear-gradient(90deg,#dce8c7 3%,#dce8c7f5 30%,#dce8c7ac 48%,#dce8c700 77%)}.hero-buttons{flex-wrap:wrap;gap:10px;margin-top:24px}.hero-buttons .btn{min-height:48px;padding:12px 16px;font-size:13px}.hero-caption{font-size:11px;bottom:16px;right:18px}.home-columns{grid-template-columns:minmax(0,1fr);gap:26px}.modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.mode-card{display:block}.mode-art{height:128px}.mode-art .mini-board{grid-template-columns:21px repeat(5,1fr) 21px;width:145px;height:65px}.mode-content{padding:17px 15px 18px}.mode-title-row h3{font-size:24px}.mode-title-row .icon{width:18px;height:18px;display:block}.mode-content p{min-height:0;font-size:12px;line-height:1.75}.mode-meta{flex-wrap:wrap;gap:6px 12px;font-size:11px;line-height:1.7}.mode-meta svg{width:14px;height:14px}.mode-meta span:nth-child(2){display:flex}.collection-home{margin-top:28px}.culture-strip{gap:14px}.culture-tile{flex-direction:row;gap:8px;height:108px;padding:12px}.culture-tile .sprite{width:51px;height:68px}.culture-tile strong{font-size:13px}.culture-tile small{font-size:11px;line-height:1.65;display:block}.puzzle-card{grid-template-columns:minmax(0,1fr) 190px;gap:0 20px;min-height:0;margin:0;padding:25px 28px;display:grid}.puzzle-heading,.puzzle-card h3,.puzzle-card p{grid-column:1}.puzzle-heading{margin-bottom:8px;font-size:12px}.puzzle-heading>.icon{display:none}.puzzle-card h3{max-width:none;font-size:29px}.puzzle-card p{max-width:400px;font-size:13px;line-height:1.85}.puzzle-art{grid-area:1/2/3;height:82px}.puzzle-art .sprite{width:80px;height:107px;top:-16px;left:79px}.puzzle-art .sparkle{top:12px;left:44px}.puzzle-card .btn{grid-area:3/2;align-self:end;width:190px;min-height:48px;font-size:13px}.home-foot{flex-wrap:wrap;align-items:flex-start;gap:12px 24px;font-size:11px;line-height:1.8}.home-foot>a{align-items:center;min-height:44px;display:inline-flex}.route-play .topbar{min-height:72px;padding:13px 0}.route-play .greeting strong{font-size:18px}.play-top{align-items:center;gap:18px;margin-bottom:18px}.play-title{min-width:0;display:block}.play-title h1{margin-bottom:6px;font-size:32px}.play-title span{max-width:100%;font-size:12px;display:inline-block}.play-tools{flex-shrink:0;gap:10px}.play-tools .btn{min-height:44px;padding:11px 13px;font-size:13px}.play-tools .icon{width:18px;height:18px}.game-layout{gap:var(--tablet-gap);grid-template-columns:minmax(0,1fr);align-items:start}.game-stage{border-radius:28px;justify-content:flex-start;min-height:0;margin:0;padding:24px 20px;overflow:visible}.game-stage:before{border-radius:inherit}#scoreboard{min-width:0}.scoreboard{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:510px;margin:0 auto 20px;display:grid}.scoreboard.players-3{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}.scoreboard.players-4{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none}.score-pill,.scoreboard.players-4 .score-pill{border-radius:16px;gap:9px;min-width:0;padding:11px}.score-pill>div{min-width:0}.score-pill .avatar{width:36px;height:36px;display:block}.scoreboard.players-4 .avatar{display:none}.score-name{max-width:none;font-size:12px;line-height:1.6}.score-number{font-size:28px}.score-number small{font-size:11px}.board-wrap{min-width:0;padding:7px 0 18px}.board{border-width:7px;border-radius:74px;grid-template-rows:104px 104px;grid-template-columns:minmax(55px,1.05fr) repeat(5,minmax(44px,1fr)) minmax(55px,1.05fr);gap:8px;max-width:850px;padding:14px 10px;box-shadow:0 9px #8d5d38,0 15px 22px #49452525,inset 0 0 0 2px #ac7747}.pit{border-width:2px;border-radius:19px;min-width:44px;min-height:44px;padding:4px}.pit-index{color:#654a2b;font-size:11px;top:4px;left:7px}.pit-count{min-width:24px;font-size:26px;bottom:3px;right:5px}.pit-count.quan-count{font-size:16px;bottom:10px}.board-hint{margin-top:15px;font-size:12px;line-height:1.8}.board-hint .icon{width:17px;height:17px}.ring-board{aspect-ratio:1;border-width:8px;border-radius:50%;width:min(100%,500px);height:auto;padding:0;display:block}.ring-board .pit{border-radius:13px;width:12.5%;min-width:44px;height:12.5%;min-height:44px;padding:0}.ring-board .pit.quan-pit{border-radius:50%;width:15%;height:15%}.ring-board .pit-index{font-size:10px;top:2px;left:5px}.ring-board .quan-pit .pit-index{top:3px;left:50%}.ring-board .pit-count{min-width:20px;font-size:20px;bottom:1px;right:3px}.ring-board .quan-count{font-size:12px;right:50%}.ring-center{font-size:29px}.game-controls{flex-direction:column;min-height:134px;padding-top:18px;display:flex}.game-controls #turn-panel{order:0}.game-controls #pit-picker-container{order:1}.game-controls:has(.has-selection) #pit-picker-container{visibility:hidden}.pit-picker{gap:10px;width:100%;max-width:500px;margin-top:13px}.pit-pick{min-width:54px;min-height:54px;padding:8px 10px}.pit-pick strong{font-size:13px}.pit-pick span{font-size:11px}.turn-panel{min-height:0;margin-top:15px}.game-controls .turn-panel{margin-top:0}.turn-panel strong{font-size:15px;line-height:1.65}.turn-panel p{color:#536b47;font-size:13px;line-height:1.75}.direction-buttons{gap:12px;margin-top:12px}.direction-buttons .btn{min-width:160px;min-height:50px;font-size:14px}.turn-status{height:auto;min-height:28px;font-size:13px}.clear-pit{min-width:90px;min-height:44px;font-size:12px}body.choosing-pit .route-play #screen{animation:none;transform:none}body.choosing-pit .route-play .main{padding-bottom:calc(205px + env(safe-area-inset-bottom,0px))}.route-play .game-controls #turn-panel.has-selection{z-index:35;left:calc(var(--side) + var(--tablet-gutter) + 16px);right:calc(max(var(--tablet-gutter), env(safe-area-inset-right,0px)) + 16px);bottom:max(20px, env(safe-area-inset-bottom,0px));text-align:left;background:#f5f8ed;border:1px solid #b8cca6;border-radius:20px;margin:0;padding:18px 20px;position:fixed;box-shadow:0 8px 32px #173f3526}.route-play #turn-panel.has-selection>strong{padding-right:106px;display:block}.route-play #turn-panel.has-selection .clear-pit{margin:0;position:absolute;top:6px;right:11px}.route-play #turn-panel.has-selection .direction-buttons .btn{flex:1;min-width:0}.game-details-toggle{display:none}.game-side{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 25px;max-height:none;padding:24px;display:grid}.game-side h3{grid-area:1/1;margin:0 0 14px;font-size:25px}.game-side .rules-summary{color:#5a6d4e;grid-area:2/1;margin:0;font-size:13px;line-height:1.9}.game-side .history-title{grid-area:1/2;font-size:13px}.history-title span{color:var(--muted);font-size:12px}.game-side #history-container{grid-area:2/2/4;min-width:0}.game-side .history-list{min-height:0;max-height:225px}.history-list li{padding:12px 0;font-size:12px}.history-list strong{overflow-wrap:anywhere;font-size:13px}.history-list span{color:#5e7451}.game-side>.btn{grid-area:3/1;min-height:46px;margin-top:17px;font-size:13px}.status-footer{color:var(--muted);align-items:flex-start;font-size:12px;line-height:1.8}.status-footer .icon{width:17px;height:17px;margin-top:2px}.setup-grid,.online-grid{grid-template-columns:minmax(0,1fr);gap:24px}.setup-options,.online-create .setup-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.option,.online-create .option{min-height:90px;padding:14px 7px;font-size:13px}.option.active{padding:13px 6px}.player-field{grid-template-columns:32px minmax(0,1fr) minmax(150px,.65fr);gap:12px}.player-dot{width:30px;height:30px;font-size:12px}.online-create .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.online-intro{font-size:13px;line-height:1.8}.room-preview{text-align:left;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 28px;display:grid}.room-preview h3{grid-column:1;font-size:29px}.room-preview>p{grid-column:1;font-size:13px}.room-preview>.mini-board{grid-area:2/1/5;grid-template-columns:35px repeat(5,1fr) 35px;width:min(100%,265px);height:108px;margin:28px 0}.room-preview .room-rules{grid-area:1/2/4;margin:0 0 18px;font-size:13px}.room-preview>.btn{grid-column:2;min-height:48px}.room-hint{text-align:left;color:#5b6a50;grid-column:1/-1;font-size:12px;line-height:1.9}.online-join{grid-template-columns:minmax(0,1fr) 190px;align-items:center;gap:0 26px;display:grid}.online-join-art{grid-area:1/2/3}.online-join h2,.online-join>p{grid-column:1}.online-join h2{font-size:31px}.online-join>p{font-size:13px}.online-join .field{grid-column:1}.online-join>.btn{grid-area:3/2;align-self:end;margin-bottom:17px;font-size:14px}.online-join .field input{min-height:55px;font-size:24px}.online-how{font-size:12px;line-height:1.85}.online-resume{gap:18px;padding:17px 20px;font-size:13px}.online-error{font-size:13px;line-height:1.85}.lobby-surface{padding:24px}.lobby-table-label,.lobby-table-label strong,.lobby-local{font-size:13px}.lobby-seats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.lobby-seats.seats-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.lobby-seat,.lobby-seats.seats-3 .lobby-seat{padding:17px 13px}.lobby-seat-top{font-size:12px}.lobby-character,.empty-chair,.lobby-seats.seats-3 .lobby-character{height:160px}.lobby-character .sprite,.lobby-seats.seats-3 .lobby-character .sprite{width:110px;height:147px}.lobby-seat h2{font-size:27px}.lobby-seat>p{min-height:25px;margin-bottom:15px;font-size:12px;line-height:1.75}.lobby-seat>.btn,.remote-ready{gap:6px;min-height:48px;padding:11px 7px;font-size:12px}.lobby-rules,.lobby-team-note,.lobby-footnote{font-size:13px;line-height:1.85}.lobby-bottom p{max-width:34ch;font-size:13px;line-height:1.8}.lobby-actions{flex-direction:column;gap:11px}.lobby-actions .btn{min-width:190px;min-height:48px;font-size:13px}.lobby-your-action{align-items:center;gap:22px;padding:20px 22px}.lobby-your-action strong{font-size:15px}.lobby-your-action p{font-size:13px;line-height:1.8}.lobby-your-buttons{flex-direction:column;align-items:stretch}.lobby-your-buttons .btn{min-width:210px;min-height:48px;font-size:13px}.invite-strip{padding:21px 24px}.invite-strip>div:first-child>span,.invite-strip p{font-size:12px}.invite-actions .btn{min-height:44px;font-size:13px}.network-strip,.network-strip .btn-text,.network-strip span:nth-child(2){font-size:12px}.network-strip{min-height:46px}.collection-tabs{gap:9px;margin:21px 0 26px}.collection-tabs .tab{min-height:46px;padding:11px 17px;font-size:13px}.culture-showcase{grid-template-columns:minmax(0,1fr);gap:24px;padding:32px}.culture-stage{min-height:310px}.culture-stage .sprite{width:150px;height:200px;margin-bottom:12px}.culture-stage .sprite.quan{width:195px;height:260px}.culture-stage .speech{font-size:22px;top:0;left:14%}.culture-info{text-align:left;padding:0}.culture-info h2{font-size:40px}.culture-info>p{max-width:65ch;margin:0;font-size:14px;line-height:1.9}.culture-detail,.animation-controls{justify-content:flex-start;gap:22px}.culture-detail{font-size:12px}.culture-detail strong{font-size:15px}.animation-controls{gap:10px}.animation-controls .tab{min-height:44px;padding:11px 15px;font-size:13px}.asset-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.asset-preview{height:160px}.asset-preview .sprite{width:76px;height:102px}.asset-copy{padding:15px;font-size:12px}.asset-copy strong{font-size:13px}.asset-copy small{font-size:11px}.asset-copy a{float:none;justify-content:flex-end;align-items:center;min-width:44px;min-height:44px;display:flex}.guide-grid{grid-template-columns:minmax(0,1fr);gap:18px}.guide-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.guide-step{flex-direction:column;gap:9px;min-height:88px;padding:13px 8px;font-size:13px}.guide-content{min-height:400px}.guide-content p{max-width:65ch;font-size:14px;line-height:1.95}.guide-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.guide-facts article{padding:20px}.guide-facts h3{font-size:23px}.guide-facts p{font-size:13px;line-height:1.85}.guide-bottom span{font-size:12px}.settings-panel{max-width:900px}.settings-panel .switch-row{padding:21px 0}.settings-panel .switch-row small{max-width:52ch}.guest-account>p,.guest-account-state,.guest-account-row span{font-size:13px}.guest-dialog{width:min(560px,100%);padding:32px}.guest-dialog p,.guest-dialog li{font-size:14px}.guest-dialog-actions .btn{min-height:48px}.result-wrap{max-width:760px;padding:38px}.result-wrap h1{font-size:46px}.result-wrap>p{font-size:14px;line-height:1.9}.result-scores{grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:14px;display:grid}.result-score{min-width:0;padding:20px 15px}.result-score span{overflow-wrap:anywhere;font-size:13px}.result-recap{font-size:13px;line-height:1.8}.result-actions .btn{min-height:48px;font-size:14px}}@media (min-width:960px) and (max-width:1366px) and (min-height:600px) and (orientation:landscape){.game-layout{grid-template-columns:minmax(0, 1fr) var(--tablet-history)}.game-stage{padding:20px 18px}.scoreboard{margin-bottom:14px}.board{border-width:6px;grid-template-rows:94px 94px;gap:7px;padding:12px 9px}.ring-board{border-width:8px;width:min(100%,440px);padding:0;display:block}.score-pill .avatar{width:32px;height:32px}.scoreboard.players-3 .avatar{display:none}.game-side{flex-direction:column;gap:0;max-height:calc(100dvh - 40px);padding:20px 18px;display:flex;position:sticky;top:20px}.game-side h3{font-size:25px}.game-side .rules-summary{margin-bottom:22px;padding:12px;font-size:12px}.game-side .history-title{gap:7px;font-size:12px}.game-side #history-container{flex:1;min-height:0;overflow:auto}.game-side .history-list{min-height:110px;max-height:310px}.game-side>.btn{flex-shrink:0;margin-top:20px;font-size:12px}.route-play .game-controls #turn-panel.has-selection{right:calc(max(var(--tablet-gutter), env(safe-area-inset-right,0px)) + var(--tablet-history) + var(--tablet-gap) + 16px)}.lobby-seats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.lobby-actions{flex-direction:row}.lobby-actions .btn{min-width:0}.culture-showcase{grid-template-columns:minmax(0,.95fr) minmax(0,1fr);gap:26px;padding:30px}.culture-stage .sprite{width:128px;height:171px}.culture-stage .sprite.quan{width:165px;height:220px}.culture-stage .speech{font-size:21px;left:3%}.culture-info h2{font-size:38px}.culture-detail{flex-wrap:wrap;gap:16px}.asset-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:1100px) and (max-width:1366px) and (min-height:600px){:root{--tablet-gutter:30px;--tablet-history:248px;--tablet-gap:24px}.local-badge{font-size:12px;display:flex}.setup-grid{grid-template-columns:minmax(0,1fr) 300px}.room-preview{text-align:center;flex-direction:column;padding:26px;display:flex}.room-preview>.mini-board{width:235px;height:108px;margin:32px 0}.room-preview .room-rules{margin:22px 0}.online-grid{grid-template-columns:minmax(0,1.25fr) minmax(300px,.85fr)}.online-create .field-grid{grid-template-columns:minmax(0,1fr)}.online-create .setup-options{grid-template-columns:repeat(2,minmax(0,1fr))}.online-create .option{min-height:82px}.online-join{flex-direction:column;justify-content:center;align-items:stretch;display:flex}.online-join-art{height:110px;margin-bottom:18px}.online-join>.btn{margin-bottom:0}.lobby-your-buttons{flex-direction:row}.lobby-your-buttons .btn{min-width:0}.guide-grid{grid-template-columns:200px minmax(0,1fr);gap:24px}.guide-nav{flex-direction:column;gap:12px;display:flex}.guide-step{flex-direction:row;gap:12px;min-height:64px;padding:15px}.culture-stage .sprite{width:155px;height:207px}.culture-stage .sprite.quan{width:195px;height:260px}}@media (min-width:1200px) and (max-width:1366px) and (min-height:600px){.home-columns{grid-template-columns:minmax(0,1fr) 250px;gap:26px}.puzzle-card{flex-direction:column;min-height:350px;padding:25px 22px;display:flex}.puzzle-heading{display:flex}.puzzle-heading>.icon{display:block}.puzzle-card h3{font-size:30px}.puzzle-card p{font-size:13px}.puzzle-art{height:auto;min-height:135px}.puzzle-art .sprite{width:96px;height:128px;top:0;left:66px}.puzzle-art .sparkle{top:31px;left:22px}.puzzle-card .btn{width:100%;margin-top:auto}.board{grid-template-rows:108px 108px}.ring-board{width:min(100%,490px)}}@media (min-width:744px) and (max-width:899px) and (min-height:600px){.greeting strong{max-width:390px;font-size:18px}.hero-caption{max-width:230px;font-size:10px}.mode-title-row h3{font-size:22px}.mode-art .mini-board{grid-template-columns:19px repeat(5,1fr) 19px;width:132px;height:61px}.culture-tile{gap:5px;padding:10px}.culture-tile .sprite{width:44px;height:59px}.culture-tile small{font-size:11px}.scoreboard.players-3 .avatar{display:none}.guide-facts{grid-template-columns:minmax(0,1fr)}.guide-facts article{padding:21px 24px}.lobby-seats.seats-3 .lobby-seat{padding:14px 10px}.lobby-seats.seats-3 .lobby-seat h2{font-size:24px}.lobby-seats.seats-3 .lobby-seat>.btn{gap:4px;padding:10px 5px}.lobby-seats.seats-3 .lobby-seat>.btn .icon{width:16px;height:16px}.invite-actions{gap:8px}.invite-actions .btn{padding:11px 12px}.page-heading>.pill{white-space:nowrap;align-self:flex-start;font-size:11px}}@media (min-width:744px) and (max-width:1366px) and (min-height:600px){.duo-entry{grid-template-columns:88px minmax(0,1fr);gap:18px 20px;margin-bottom:30px;padding:24px;display:grid}.duo-faces{align-self:center;padding-right:0}.duo-faces .avatar{width:48px;height:48px}.duo-copy h2{font-size:29px}.duo-copy p{max-width:52ch;font-size:13px;line-height:1.85}.duo-actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.duo-actions .btn{min-height:50px;padding:13px 17px;font-size:14px}.game-stage:has(.scoreboard.players-4) .ring-board .pit{border-radius:50%;width:10.25%;min-width:0;height:10.25%;min-height:0}.game-stage:has(.scoreboard.players-4) .ring-board .pit.quan-pit{width:10.5%;height:10.5%}.game-stage:has(.scoreboard.players-4) .ring-board .pit-count{min-width:18px;font-size:18px;bottom:0;right:2px}.game-stage:has(.scoreboard.players-4) .ring-board .quan-count{font-size:11px;right:50%}.game-stage:has(.scoreboard.players-4) .ring-board .pit-index{font-size:9px;top:1px;left:5px}.game-stage:has(.scoreboard.players-4) .ring-board .quan-pit .pit-index{top:2px;left:50%}}@media (min-width:960px) and (max-width:1366px) and (min-height:600px){.duo-entry{grid-template-columns:88px minmax(0,1fr) auto;gap:20px}.duo-actions{grid-column:3;gap:10px}.duo-actions .btn{min-width:140px;padding:12px 15px;font-size:13px}}@media (min-width:744px) and (max-width:959px) and (min-height:600px) and (max-height:700px){.route-play .sidebar,.route-play .topbar{display:none}.route-play .main,body.choosing-pit .route-play .main{padding:max(12px, env(safe-area-inset-top,0px)) max(16px, env(safe-area-inset-right,0px)) max(24px, env(safe-area-inset-bottom,0px)) max(16px, env(safe-area-inset-left,0px));margin:0}.route-play .play-top{margin-bottom:12px}.route-play .game-layout{flex-direction:column;gap:12px;display:flex}.route-play .game-stage{width:100%;min-height:0;padding:16px}.route-play .scoreboard{margin-bottom:12px}.route-play .board:not(.ring-board){grid-template-rows:94px 94px}.route-play .game-controls{min-height:0;padding-top:12px}.route-play .game-stage:not(:has(.ring-board)) #turn-panel.has-selection{box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;padding:12px 0 0;position:relative;inset:auto}.route-play .game-stage:not(:has(.ring-board)) .game-controls:has(.has-selection) #pit-picker-container{display:none}.route-play .game-stage:has(.ring-board){grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:12px 18px;display:grid}.route-play .game-stage:has(.ring-board) #scoreboard{grid-column:1/-1}.route-play .game-stage:has(.ring-board) .scoreboard{margin-bottom:0}.route-play .game-stage:has(.ring-board) .board-wrap{grid-area:2/1;padding:0}.route-play .game-stage:has(.ring-board) .ring-board{width:min(100%,100dvh - 250px,420px)}.route-play .game-stage:has(.ring-board) .board-hint{display:none}.route-play .game-stage:has(.ring-board) .ring-board .pit-count{font-size:15px}.route-play .game-stage:has(.ring-board) .ring-board .quan-count{font-size:9px;bottom:2px}.route-play .game-stage:has(.ring-board) .game-controls{grid-area:2/2;padding:0}.route-play .game-stage:has(.ring-board) .pit-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.route-play .game-stage:has(.ring-board) #turn-panel.has-selection{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;position:relative;inset:auto}.route-play .game-stage:has(.ring-board) #turn-panel.has-selection>strong{padding-right:0}.route-play .game-stage:has(.ring-board) #turn-panel.has-selection .clear-pit{margin-left:auto;display:block;position:static}.route-play .game-stage:has(.ring-board) #turn-panel .direction-buttons{flex-direction:column}.route-play .game-stage:has(.ring-board) .game-controls:has(.has-selection) #pit-picker-container,.route-play .game-side{display:none}.route-play .details-open .game-side{width:100%;display:grid}.route-play .game-details-toggle{background:0 0;border:0;border-bottom:1px solid #d6dfcd;align-items:center;gap:10px;min-height:48px;padding:12px 8px;font-size:13px;display:flex}.route-play .game-details-toggle .icon:last-child{margin-left:auto;transform:rotate(90deg)}.route-play .details-open .game-details-toggle .icon:last-child{transform:rotate(-90deg)}}.board-scene{--board-tilt:40deg;perspective:1200px;perspective-origin:50% 46%;padding:20px 12px 24px;position:relative}.board-scene.is-flat{perspective:none;padding:0}.board-scene.is-tilted .board{transform:rotateX(var(--board-tilt));transform-origin:50%;transform-style:preserve-3d;background-color:#bd8956;background-image:repeating-linear-gradient(3deg,#0000 0 17px,#f0ca8a12 18px 19px,#0000 20px 36px);box-shadow:inset 0 0 0 2px #ac7747}.board-scene.is-tilted:before{content:"";filter:blur(15px);pointer-events:none;background:#4f3a2638;border-radius:50%;position:absolute;inset:32% 5% 3%;transform:scaleY(.8)}.board-scene.is-tilted .board:before{content:"";border-radius:inherit;pointer-events:none;background:#8b5935;border:2px solid #714626;position:absolute;inset:-7px;transform:translateZ(-16px);box-shadow:0 5px #654023,0 14px 16px #4b382333}.board-scene.is-tilted .pit{pointer-events:auto;transform-style:preserve-3d;background-image:linear-gradient(#7c54251f,#0000 38%,#fff7d820);transform:translateZ(1px);box-shadow:inset 0 5px 7px #65472030,inset 0 -2px #fff1cf8c}.board-scene.is-tilted .ring-board .pit{transform:translate(-50%,-50%)translateZ(1px)}.board-scene.is-tilted .pit.legal:hover{background-color:#f4ddae;box-shadow:inset 0 0 0 2px #71945b,inset 0 5px 7px #65472030}.board-scene.is-tilted .pit.selected{box-shadow:0 0 0 3px #4c7750,inset 0 4px 7px #8d5a1930}.board-scene.is-tilted .pit-characters,.board-scene.is-tilted .pit-characters .pit-token{transform-style:preserve-3d;overflow:visible}.board-scene.is-tilted .pit-characters .pit-token>.sprite{height:72%;transform:rotateX(calc(-1 * var(--board-tilt)));transform-origin:50% 100%;filter:none;position:absolute;inset:auto 0 0}.board-scene.is-tilted .pit-token:before{content:"";pointer-events:none;background:#644a2f40;border-radius:50%;width:48%;height:12%;position:absolute;bottom:0;left:26%;transform:translateZ(.5px)}.board-scene.is-tilted .pit-count{backface-visibility:hidden;background:#f8e6c2;transform:translateZ(2px);box-shadow:0 1px 1px #63482c30}.board-scene.is-tilted .pit-count.quan-count{transform:translate(50%)translateZ(2px)}.board-scene.is-tilted .pit-index{transform:translateZ(2px) rotateX(calc(-1 * var(--board-tilt)));transform-origin:50% 100%;backface-visibility:hidden}.board-scene.is-tilted .quan-pit .pit-index{transform:translateX(-50%) translateZ(2px) rotateX(calc(-1 * var(--board-tilt)))}.pit-walk-anchor{pointer-events:none;width:0;height:0;position:absolute;top:62%;left:50%}.board-view-toggle[aria-pressed=true]{color:#365939;background:#e5ecd9;border-color:#89a275}.board-scene.scene-ring{--board-tilt:38deg;padding-block:0 4px}.board-scene.scene-ring.is-tilted:before{inset:30% 10% 10%}.board-scene.scene-ring.is-tilted .board:before{inset:-8px;transform:translateZ(-18px)}.board-scene.scene-ring.is-tilted .ring-center{transform:translateZ(2px)}.board-scene.is-tilted .pit.event-source{background-color:#ecf3dc;box-shadow:inset 0 0 0 2px #75965b,inset 0 5px 7px #65472030}.board-scene.is-tilted .pit.event-active{outline-offset:1px;background-color:#ffe6a4;outline:2px solid #c88821}@media (max-width:743px){.board-scene{--board-tilt:38deg;perspective:1100px;padding:9px 9px 16px}.board-scene.scene-ring{--board-tilt:34deg;padding:0 5px}.board-scene.is-tilted .pit-characters .pit-token>.sprite{height:74%}.board-scene.is-tilted .board:before{inset:-5px;transform:translateZ(-13px)}.board-scene.scene-ring.is-tilted .board:before{inset:-6px;transform:translateZ(-15px)}.route-play .board-wrap{padding-bottom:5px}.route-play .play-tools{gap:6px}.route-play .play-tools .btn{min-width:40px;min-height:44px;padding:8px}}@media (orientation:landscape) and (max-height:599px){.board-scene{--board-tilt:30deg;padding:0 10px 3px}.board-scene.scene-ring{--board-tilt:26deg;padding:0 5px}.board-scene.is-tilted .pit-characters .pit-token>.sprite{height:82%}.route-play .play-tools .board-view-toggle{font-size:0}.route-play .board-wrap{padding-bottom:5px}}.board-scene.is-tilted .board:not(.ring-board) .pit-characters{bottom:28px}.board-scene.scene-ring.is-tilted .ring-board .pit-count{min-width:16px;padding:0 2px;font-size:14px;bottom:0}.board-scene.scene-ring.is-tilted .ring-board .pit-count.quan-count{font-size:9px;bottom:0}@media (max-width:743px){.board-scene.scene-ring.is-tilted .ring-board .pit-characters{bottom:16px}.board-scene.scene-ring.is-tilted .ring-board .pit-count{min-width:14px;font-size:12px}.board-scene.scene-ring.is-tilted .ring-board .pit-count.quan-count{font-size:8px}}.board-scene.is-tilted .board:not(.ring-board){grid-template-rows:164px 164px;row-gap:10px}.board-scene.is-tilted .board .pit-characters{display:block;inset:76px 4px 26px}.board-scene.is-tilted .board .quan-pit .pit-characters{inset:45px 6px 32px}.board-scene.is-tilted .board .pit-characters .pit-token{left:var(--figure-x);top:var(--figure-y);width:calc(140% / var(--standing-columns));aspect-ratio:3/4;max-width:36px;height:auto;transform-style:preserve-3d;z-index:auto;position:absolute;overflow:visible;transform:translate(-50%,-100%)}.board-scene.is-tilted .board .pit-characters .pit-token>.sprite{width:100%;height:100%;transform:rotateX(calc(-1 * var(--board-tilt)));transform-origin:50% 100%;filter:drop-shadow(1px 0 #583e2620);position:absolute;inset:0}.board-scene.is-tilted .board .pit-token:before{background:radial-gradient(#352e2380 0,#352e233b 55%,#0000 75%);width:60%;height:14%;bottom:-1%;left:20%;transform:translateZ(.5px)}.board-scene.is-tilted .board .pit-token:after{content:"";transform-origin:0 100%;pointer-events:none;background:linear-gradient(25deg,#4e3d2540,#0000);border-radius:50%;width:65%;height:30%;position:absolute;bottom:0;left:42%;transform:skew(-35deg)translateZ(.3px)}.board-scene.is-tilted .board .quan-pit .pit-token{max-width:60px}.board-scene.scene-ring.is-tilted .ring-board .pit-characters{inset:22px 3px 16px}.board-scene.scene-ring.is-tilted .ring-board .pit-token{max-width:32px;width:calc(110% / var(--standing-columns))}.board-scene.scene-ring.is-tilted .ring-board .quan-pit .pit-characters{inset:22px 3px 16px}.pit-inspection{pointer-events:none;color:#644c31;width:43%;height:46%;font-family:var(--body);flex-direction:column;justify-content:space-between;align-items:center;font-size:11px;display:flex;position:absolute;top:51%;left:50%;transform:translate(-50%,-50%)}.board-scene.is-tilted .pit-inspection{transform-style:preserve-3d;transform:translate(-50%,-50%)translateZ(2px)}.inspection-label{text-align:center;white-space:nowrap;font-size:11px;line-height:1.5}.inspection-floor{width:100%;transform-style:preserve-3d;background:radial-gradient(#f3d4a02e 0,#0000 70%);border-radius:50%;flex:1;margin:12px 0 4px;position:relative}.board-scene.is-tilted .board .inspection-floor .pit-characters{inset:76px 9% 10px}.board-scene.is-tilted .board .inspection-floor .pit-token{max-width:42px;width:calc(100% / var(--standing-columns))}.pit-inspection>strong{font-size:13px;font-weight:600;line-height:1.5}.inspection-empty{color:#8b6f4e;place-items:center;font-size:12px;display:grid;position:absolute;inset:0}.board-scene.is-flat .pit-inspection .pit-characters{grid-template-columns:repeat(var(--token-columns),minmax(0,1fr));grid-template-rows:repeat(var(--token-rows),minmax(0,1fr));inset:0}.flying-token.sow-token,.flying-token.capture-token{filter:drop-shadow(0 6px 3px #3a302b55)}@media (max-width:743px){.board-scene.is-tilted .board:not(.ring-board){grid-template-rows:146px 146px;row-gap:10px}.board-scene.is-tilted .board .pit-characters{inset:55px 2px 25px}.board-scene.is-tilted .board .quan-pit .pit-characters{inset:40px 3px 28px}.board-scene.is-tilted .board .pit-token{max-width:35px}.board-scene.is-tilted .board .quan-pit .pit-token{max-width:45px}.board-scene.scene-ring.is-tilted .ring-board .pit-characters,.board-scene.scene-ring.is-tilted .ring-board .quan-pit .pit-characters{inset:15px 2px 12px}.board-scene.scene-ring.is-tilted .ring-board .pit-token{max-width:24px}.board-scene.is-tilted .board .inspection-floor .pit-characters{inset:44px 8% 6px}.board-scene.is-tilted .board .inspection-floor .pit-token{max-width:36px}.inspection-label{font-size:10px}.pit-inspection>strong{font-size:11px}}@media (orientation:landscape) and (max-height:599px){.board-scene.is-tilted .board:not(.ring-board){grid-template-rows:104px 104px;row-gap:8px}.board-scene.is-tilted .board .pit-characters{inset:44px 3px 24px}.board-scene.is-tilted .board:not(.ring-board) .pit-token{max-width:22px}}.board-scene.is-tilted .board:not(.ring-board) .pit:not(.quan-pit) .pit-index{font-size:8px;line-height:1;top:2px}@media (orientation:landscape) and (max-height:599px){.board-scene.is-tilted .board:not(.ring-board) .quan-pit .pit-token{max-width:42px}}.board-uprights{z-index:5;pointer-events:none;perspective:none;position:absolute;inset:0}.board-uprights .board-figure{pointer-events:none;filter:none;background:0 0;display:block;position:absolute;overflow:hidden;transform:none}.board-scene.is-tilted .board .pit-portrait{visibility:hidden}.country-flag{object-fit:contain;vertical-align:-2px;filter:drop-shadow(0 1px 1px #173f351c);border-radius:3px;flex-shrink:0;width:24px;height:17px;display:inline-block}.player-identity{vertical-align:middle;align-items:center;gap:7px;min-width:0;max-width:100%;display:inline-flex}.player-identity-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.score-name .country-flag{width:18px;height:13px}.score-name .player-identity{gap:5px;display:flex}.score-pill>div{min-width:0}.lobby-seat h2 .player-identity{justify-content:center}.player-rating{color:#65705e;align-items:center;gap:5px;margin-top:4px;font-size:11px;font-weight:600;display:inline-flex}.player-rating .icon{width:13px;height:13px}.ranked-mode-choice{background:#edf1e3;border:1px solid #c7d6b6;border-radius:16px;margin:18px 0;padding:16px 18px}.ranked-mode-choice .switch-row{border:0;gap:14px;padding:0}.ranked-mode-choice small{max-width:420px}.ranked-mode-note{color:#5b6c51;margin-top:10px;font-size:12px;line-height:1.7}.ranked-label{color:#66501b;background:#f4e4b2;border-radius:9px;align-items:center;gap:6px;padding:5px 9px;font-size:11px;font-weight:600;display:inline-flex}.ranked-label .icon{width:15px;height:15px}.rankings-heading{align-items:center}.rankings-heading p{max-width:540px}.rankings-layout{grid-template-columns:280px minmax(0,1fr);align-items:start;gap:24px;display:grid}.rank-profile{border:1px solid var(--line);background:#fff;border-radius:24px;padding:24px;position:sticky;top:20px}.rank-profile-heading{align-items:center;gap:13px;margin-bottom:20px;display:flex}.rank-profile-heading .avatar{width:54px;height:54px}.rank-profile-heading h2{font-size:24px}.rank-profile-heading p{color:var(--muted);margin-top:5px;font-size:11px}.rank-profile .field small{line-height:1.6}.rank-profile .btn{width:100%;margin-top:18px}.rank-profile-foot{color:var(--muted);margin-top:15px;font-size:11px;line-height:1.8}.rank-profile-foot a{text-underline-offset:3px;text-decoration:underline}.rank-stat-card{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.rank-tier{color:var(--forest);align-items:center;gap:10px;display:flex}.rank-tier>.icon{stroke:#977334;width:31px;height:31px}.rank-tier strong{font-family:var(--display);font-size:25px;line-height:1.2}.rank-tier small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.rank-stats{grid-template-columns:repeat(3,1fr);gap:9px;margin-top:19px;display:grid}.rank-stats>div{border-left:2px solid #d5dfc7;padding-left:10px}.rank-stats dt{color:var(--muted);font-size:10px}.rank-stats dd{font-variant-numeric:tabular-nums;margin:2px 0 0;font-size:20px;font-weight:700;line-height:1.4}.rank-position{color:#5d6b55;margin-top:15px;font-size:12px}.rank-board{background:#fff;border:1px solid #c8b499;border-radius:24px;overflow:hidden;box-shadow:0 5px #ba81521c}.rank-board-heading{color:#fff;background:#173f35;justify-content:space-between;align-items:flex-start;gap:15px;padding:25px 26px;display:flex}.rank-board-heading h2{font-size:30px}.rank-board-heading p{color:#d6e2cc;max-width:430px;margin-top:7px;font-size:12px;line-height:1.7}.rank-board-heading .btn{color:#fff;background:#ffffff0b;border-color:#fff5;flex-shrink:0}.rank-table{border-collapse:collapse;text-align:left;table-layout:fixed;width:100%}.rank-table th{color:#607158;background:#f2f4e9;border-bottom:1px solid #dce3d2;padding:15px 12px;font-size:11px;font-weight:500}.rank-table th:first-child,.rank-table td:first-child{width:56px;padding-left:22px}.rank-table th:nth-child(3),.rank-table td:nth-child(3){text-align:right;width:87px}.rank-table th:last-child,.rank-table td:last-child{text-align:right;width:82px;padding-right:23px}.rank-table td{vertical-align:middle;border-bottom:1px solid #edf0e8;padding:17px 12px}.rank-table tr:last-child td{border-bottom:0}.rank-table tr.is-me td{background:#f1f5df}.rank-table tr.is-me td:first-child{box-shadow:inset 4px 0 #65884d}.rank-place{font-family:var(--display);color:#6b765f;font-variant-numeric:tabular-nums;font-size:23px}.rank-place.top-place{color:#967026}.rank-player{align-items:center;gap:11px;min-width:0;display:flex}.rank-player .avatar{flex-shrink:0;width:37px;height:37px}.rank-player>div{min-width:0}.rank-player .player-identity{font-size:13px;font-weight:600}.rank-player small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.rank-player .country-flag{width:20px;height:14px}.rank-elo{font-variant-numeric:tabular-nums;font-size:17px;font-weight:700}.rank-games{color:#68735f;font-variant-numeric:tabular-nums;font-size:12px}.rank-empty{text-align:center;padding:46px 28px}.rank-empty>.icon{color:#8ca477;width:42px;height:42px;margin-bottom:16px}.rank-empty h3{font-size:26px}.rank-empty p{max-width:370px;color:var(--muted);margin:12px auto 0;font-size:12px;line-height:1.8}.rank-empty .btn{margin-top:20px}.rank-loading{color:var(--muted);padding:32px 25px;font-size:13px}.rank-board-note{color:#69745f;background:#f7f8f2;border-top:1px solid #e6eadf;padding:17px 23px;font-size:11px;line-height:1.7}.rank-profile-error,.rank-profile-success{border-radius:11px;margin:15px 0 0;padding:11px 13px;font-size:12px;line-height:1.7}.rank-profile-error{color:#8a4e33;background:#fff0e7;border:1px solid #e9ccb8}.rank-profile-success{color:#3c6334;background:#eef4e4;border:1px solid #cbdcba}.settings-profile{max-width:760px;margin-bottom:24px}.settings-profile .rank-profile{padding:28px;position:static}.settings-profile .rank-profile .field-grid{align-items:start}.settings-profile .rank-profile .field+.field{margin-top:0}.settings-profile .rank-profile .btn{width:auto}.settings-profile .rank-stat-card{display:none}.rank-result{text-align:left;background:#faf4e4;border:1px solid #d7c29c;border-radius:19px;margin:22px 0;padding:20px 22px}.rank-result-heading{font-family:var(--display);align-items:center;gap:9px;font-size:23px;display:flex}.rank-result-heading>.icon{color:#a87c2b;width:22px;height:22px}.rank-result-rows{gap:11px;margin-top:15px;display:grid}.rank-result-row{justify-content:space-between;align-items:center;gap:13px;min-width:0;display:flex}.rank-result-values{font-variant-numeric:tabular-nums;flex-shrink:0;align-items:center;gap:9px;display:inline-flex}.rank-result-values small{color:#75806b}.rank-delta{color:#397044;font-size:14px;font-weight:700}.rank-delta.is-negative{color:#a35a3e}.rank-result>p{color:var(--muted);margin-top:10px;font-size:12px;line-height:1.7}.rank-result a{text-underline-offset:3px;font-size:12px;text-decoration:underline}.result-score .player-identity{white-space:normal;justify-content:center}@media (max-width:1100px){.rankings-layout{grid-template-columns:240px minmax(0,1fr);gap:18px}.rank-profile{padding:20px}.rank-board-heading{padding:22px}.rank-player .avatar{display:none}}@media (max-width:760px){.nav a[data-nav=rankings]{display:flex}.nav a[data-nav=guide]{display:none}.rankings-heading{align-items:flex-start;gap:12px}.rankings-heading h1{font-size:34px}.rankings-heading>.btn{white-space:nowrap;padding:10px 12px;font-size:11px}.rankings-layout{flex-direction:column;gap:20px;display:flex}.rank-profile{width:100%;padding:21px;position:static}.rank-profile .field-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.rank-profile .field+.field{margin-top:0}.rank-profile .field{min-width:0;font-size:12px}.rank-profile .field input,.rank-profile .field select{width:100%;min-width:0;font-size:14px}.rank-profile .btn{width:auto;max-width:100%}.rank-profile-heading{margin-bottom:17px}.rank-stat-card{margin-top:19px;padding-top:18px}.rank-stats{grid-template-columns:repeat(3,1fr);max-width:310px}.rank-board{border-radius:20px;width:100%}.rank-board-heading{align-items:center;padding:21px 18px}.rank-board-heading h2{font-size:27px}.rank-board-heading p{font-size:11px}.rank-board-heading .btn{padding:8px 10px;font-size:11px}.rank-table th{padding:12px 8px;font-size:10px}.rank-table td{padding:15px 8px}.rank-table th:first-child,.rank-table td:first-child{width:37px;padding-left:13px}.rank-table th:nth-child(3),.rank-table td:nth-child(3){width:65px}.rank-table th:last-child,.rank-table td:last-child{width:44px;padding-right:12px}.rank-player{gap:7px}.rank-player .player-identity{gap:5px;font-size:12px}.rank-player .country-flag{width:18px;height:13px}.rank-elo{font-size:15px}.rank-games{font-size:11px}.rank-place{font-size:20px}.rank-board-note{padding:15px 17px}.settings-profile .rank-profile{padding:22px}.rank-result{padding:18px 16px}.rank-result-row{font-size:12px}.rank-result-values{gap:5px}.online-create .field-grid.identity-fields{grid-template-columns:1fr 1fr}.identity-fields>.field:first-child{grid-column:1/-1}}@media (min-width:761px) and (max-width:1100px) and (orientation:portrait){.rankings-layout{grid-template-columns:1fr}.rank-profile{grid-template-columns:minmax(0,1fr) 230px;gap:0 28px;display:grid;position:static}.rank-profile .rank-profile-heading,.rank-profile .field-grid,.rank-profile>.btn,.rank-profile>.rank-profile-foot,.rank-profile>.rank-profile-error,.rank-profile>.rank-profile-success{grid-column:1}.rank-profile .rank-stat-card{border-top:0;border-left:1px solid var(--line);grid-area:1/2/span 5;margin:0;padding:9px 0 0 25px}.rank-player .avatar{display:block}}.player-field .local-country{color:#5c6e52;background:#f4f6ee;grid-column:2/-1;width:100%;font-size:12px}@media (max-width:760px){.play-tools .ranked-label{padding:4px 7px;font-size:10px}.play-tools [data-action=online-resign]{min-height:34px;padding:7px 9px;font-size:10px}}.rank-stats{grid-template-columns:repeat(4,1fr);gap:6px}.rank-stats>div{padding-left:7px}.rank-stats dd{font-size:18px}.rank-progress{margin-top:18px}.rank-progress>div{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:4px 10px;font-size:10px;display:flex}.rank-progress strong{color:var(--forest);font-weight:500}.rank-progress progress{accent-color:#65884d;background:#e7eddf;border:0;border-radius:5px;width:100%;height:7px;margin-top:8px;display:block;overflow:hidden}.rank-progress progress::-webkit-progress-bar{background:#e7eddf;border-radius:5px}.rank-progress progress::-webkit-progress-value{background:#65884d;border-radius:5px}.rank-progress progress::-moz-progress-bar{background:#65884d;border-radius:5px}.rank-ladder{background:#f7f8f2;padding:0 23px 19px;font-size:12px}.rank-ladder summary{cursor:pointer;color:var(--forest);padding:3px 0}.rank-ladder ol{grid-template-columns:repeat(3,1fr);gap:10px;margin:13px 0 0;padding:0;list-style:none;display:grid}.rank-ladder li{border-left:2px solid #d5dfc7;flex-direction:column;padding-left:9px;display:flex}.rank-ladder li span{color:var(--muted);font-size:10px}@media (max-width:760px){.rank-stats{grid-template-columns:repeat(4,1fr)}.rank-ladder{padding-inline:17px}}.rank-profile .field-grid{grid-template-columns:minmax(0,1fr);gap:14px}.rank-profile .field+.field{margin-top:0}.rank-profile .field input,.rank-profile .field select{width:100%;min-width:0}@media (min-width:761px) and (max-width:1100px) and (orientation:portrait){.rank-profile .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:761px){.settings-profile .rank-profile .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.profile-identity-art{flex-shrink:0;padding:0 5px 3px 0;display:inline-flex;position:relative}.profile-identity-art>.country-flag{box-sizing:content-box;background:#fff;border:2px solid #fff;border-radius:4px;width:25px;height:18px;position:absolute;bottom:0;right:0}.world-community{background:#fff;border:1px solid #c9b496;border-radius:25px;margin:0 0 28px;overflow:hidden;box-shadow:0 5px #ba81521a}.world-heading{border-bottom:1px solid #e3e8db;justify-content:space-between;align-items:center;gap:20px;padding:24px 26px;display:flex}.world-heading h2{font-size:31px}.world-heading p{color:var(--muted);max-width:650px;margin-top:7px;font-size:12px;line-height:1.7}.world-heading>.btn{flex-shrink:0}.world-layout{grid-template-columns:minmax(0,1fr) 290px;display:grid}.world-map-side{min-width:0;padding:20px}.world-country-tools{grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px;display:grid}.world-country-tools label{flex-direction:column;gap:6px;min-width:0;font-size:11px;font-weight:600;display:flex}.world-country-tools input,.world-country-tools select{width:100%;min-width:0;color:var(--forest);background:#f7f9f2;border:1px solid #d4ddca;border-radius:11px;min-height:44px;padding:11px 12px;font-size:12px}.world-map-viewport{aspect-ratio:1000/600;touch-action:pan-y pinch-zoom;background:#eef2e6;border:1px solid #dce4d0;border-radius:17px;min-height:280px;position:relative;overflow:hidden}.world-map-svg{touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block;position:absolute;inset:0}.world-map-svg.is-dragging{cursor:grabbing}.world-land{fill:#c4d3af;stroke:#f5f6ed;stroke-width:.8px;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .12s}.world-land.has-players{fill:#648665}.world-land.is-selected{fill:#e2ae42;stroke:#8b6e2e;stroke-width:1.3px}.world-land:hover{fill:#a2b78e}.world-land:focus-visible{fill:#e2ae42;stroke:#173f35;stroke-width:2px;outline:none}.world-neutral{fill:#dce2d2;pointer-events:none}.world-count-pin{cursor:pointer;outline:none}.world-count-pin circle{fill:#f4c65d;stroke:#fffdf6;stroke-width:2px;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 2px #173f3530)}.world-count-pin text{font:700 12px var(--body);fill:#173f35;pointer-events:none}.world-count-pin.is-selected circle,.world-count-pin:focus-visible circle{fill:#173f35;stroke:#f4c65d;stroke-width:3px}.world-count-pin.is-selected text,.world-count-pin:focus-visible text{fill:#fff}.world-map-controls,.world-pan-controls{z-index:2;background:#fffef6f5;border:1px solid #d2dbc5;border-radius:12px;align-items:center;gap:2px;padding:4px;display:flex;position:absolute;box-shadow:0 2px 6px #173f3512}.world-map-controls{bottom:12px;left:12px}.world-pan-controls{bottom:12px;right:12px}.world-map-controls button,.world-pan-controls button{width:34px;min-width:34px;height:34px;color:var(--forest);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:0;font-size:21px;display:flex}.world-map-controls button:hover,.world-pan-controls button:hover{background:#edf2e2}.world-map-controls button .icon{width:17px;height:17px}.world-zoom-value{text-align:center;min-width:43px;font-size:10px;font-weight:600}.world-map-hint{color:var(--muted);margin-top:10px;font-size:10px;line-height:1.7}.world-privacy-note{color:#6a775f;align-items:flex-start;gap:7px;margin-top:9px;font-size:10px;line-height:1.8;display:flex}.world-privacy-note>.icon{width:15px;height:15px;margin-top:2px}.world-country-panel{background:#f8f9f2;border-left:1px solid #e0e7d6;flex-direction:column;min-width:0;display:flex}.world-country-heading{border-bottom:1px solid #e0e7d6;align-items:center;gap:11px;padding:22px 19px;display:flex}.world-country-heading>.country-flag{width:35px;height:25px}.world-country-heading h3{font-size:24px}.world-country-heading p{color:var(--muted);margin-top:5px;font-size:10px;line-height:1.7}.world-country-empty{text-align:center;margin:auto 0;padding:35px 22px}.world-country-empty>.icon{color:#87a16d;width:34px;height:34px;margin-bottom:14px}.world-country-empty h3{font-size:24px;line-height:1.2}.world-country-empty p{color:var(--muted);max-width:310px;margin:12px auto 0;font-size:12px;line-height:1.8}.world-country-empty .btn{margin-top:17px}.world-loading{color:var(--muted);padding:30px 22px;font-size:12px}.world-players{overscroll-behavior:auto;max-height:350px;margin:0;padding:0;list-style:none;overflow:auto}.world-players li{border-bottom:1px solid #e4e9db;justify-content:space-between;align-items:center;gap:10px;padding:16px 17px;display:flex}.world-player-person{align-items:center;gap:8px;min-width:0;display:flex}.world-player-person>.avatar{flex-shrink:0;width:34px;height:34px}.world-player-person>div{min-width:0}.world-player-person .player-identity{gap:5px;font-size:12px;font-weight:600}.world-player-person .country-flag{width:17px;height:12px}.world-player-person small{color:var(--muted);margin-top:4px;font-size:9px;display:block}.world-players li>strong{font-variant-numeric:tabular-nums;flex-shrink:0;font-size:15px}.world-players li>strong small{text-align:right;color:var(--muted);font-size:9px;font-weight:400;display:block}.world-country-foot{color:var(--muted);border-top:1px solid #e0e7d6;margin-top:auto;padding:15px 18px;font-size:10px;line-height:1.8}@media (max-width:1200px){.world-layout{grid-template-columns:minmax(0,1fr) 250px}.world-map-side{padding:16px}.world-player-person>.avatar{width:28px;height:28px}.world-map-viewport{min-height:300px}}@media (max-width:1000px){.world-layout{grid-template-columns:1fr}.world-country-panel{border-top:1px solid #e0e7d6;border-left:0}.world-country-empty{padding:24px 20px}.world-country-empty h3 br{display:none}.world-player-person>.avatar{width:34px;height:34px}.world-players{max-height:280px}.world-map-viewport{aspect-ratio:1000/520;min-height:280px}}@media (max-width:600px){.world-community{border-radius:20px;margin-bottom:23px}.world-heading{flex-wrap:wrap;align-items:flex-start;gap:12px;padding:20px 18px}.world-heading h2{font-size:28px}.world-heading p{font-size:11px}.world-heading>.btn{min-height:36px;padding:8px 10px;font-size:11px}.world-map-side{padding:14px}.world-country-tools{grid-template-columns:1fr;gap:11px;margin-bottom:13px}.world-country-tools input,.world-country-tools select{min-height:44px;font-size:14px}.world-map-viewport{aspect-ratio:auto;min-height:270px}.world-map-controls{bottom:8px;left:8px}.world-pan-controls{bottom:8px;right:8px}.world-map-controls button,.world-pan-controls button{width:29px;min-width:29px;height:34px}.world-zoom-value{min-width:35px;font-size:9px}.world-map-controls,.world-pan-controls{gap:0;padding:2px}.world-country-heading{padding:19px 17px}.world-country-heading h3{font-size:24px}.world-players{max-height:300px}.world-map-hint,.world-privacy-note{font-size:10px}}@media (prefers-reduced-motion:reduce){.world-land{transition:none}}.world-geometry-status{text-align:center;color:var(--muted);z-index:1;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:30px;font-size:12px;display:flex;position:absolute;inset:0}.world-geometry-status button{pointer-events:auto}.world-count-pin .world-cluster-badge{fill:#173f35;stroke:#fffdf6;stroke-width:1px}.world-count-pin .world-cluster-size{fill:#fff}.world-count-pin.is-cluster>circle:first-child{stroke:#173f35;stroke-dasharray:2 2}.world-map-viewport{aspect-ratio:auto;height:clamp(420px,52vh,600px);min-height:420px}.world-count-pin>text{font-size:12px}.world-count-pin .world-cluster-size{font-size:8px}.world-count-pin.has-avatars .world-avatar-frame{fill:none;stroke:#fffdf6;stroke-width:2.5px;filter:none}.world-count-pin.is-selected .world-avatar-frame,.world-count-pin:focus-visible .world-avatar-frame{stroke:#f4c65d;stroke-width:3px}.world-count-pin .world-avatar-count circle{fill:var(--forest);stroke:#fffdf6;stroke-width:2px;filter:none}.world-count-pin .world-avatar-count text{fill:#fff;font-size:10px}.world-count-pin .world-avatar-label-bg{fill:#fffdf6;stroke:#c6d3b9;stroke-width:1px}.world-count-pin.has-avatars .world-avatar-label{fill:var(--forest);font-size:10px;font-weight:600}.world-avatar-face{pointer-events:all}.world-avatar-note{color:var(--muted);margin-top:6px;font-size:10px;line-height:1.7}.world-map-controls button,.world-pan-controls button{width:40px;min-width:40px;height:40px}@media (max-width:1000px){.world-map-viewport{height:50vh;min-height:420px;max-height:580px}}@media (max-width:600px){.world-map-viewport{height:52vh;min-height:400px;max-height:520px}.world-map-controls{padding:3px;bottom:8px;left:8px}.world-map-controls button,.world-pan-controls button{width:40px;min-width:40px;height:40px}.world-pan-controls{grid-template-columns:repeat(2,40px);padding:3px;display:grid;top:8px;bottom:auto;right:8px}.world-zoom-value{min-width:43px}}.flow-tabs,.flow-connection{flex-wrap:wrap;gap:10px;margin:0 0 20px;display:flex}.flow-tabs .btn,.flow-connection .btn{min-height:46px}.flow-mode-help{color:var(--muted);margin:-7px 0 17px;font-size:12px;line-height:1.8}.hero .flow-hero-mode{color:var(--forest);background:#f5f4eceb;border-radius:10px;margin-top:15px;padding:5px 9px;font-size:11px;line-height:1.8;display:inline-block}.flow-hero-mode a{text-underline-offset:3px;margin-left:8px;text-decoration:underline}.flow-details{border-top:1px solid var(--line);margin:8px 0;padding:15px 0}.flow-details>summary{cursor:pointer;align-content:center;min-height:44px;font-size:13px;font-weight:600;display:list-item}.flow-details[open]>summary{margin-bottom:17px}.flow-identity-summary{vertical-align:middle;align-items:center;gap:12px;max-width:calc(100% - 24px);font-weight:600;display:inline-flex}.flow-identity-summary>span{overflow-wrap:anywhere;min-width:0}.flow-identity-summary small{color:var(--muted);font-size:11px;font-weight:400;line-height:1.8;display:block}.flow-identity .field-grid{margin-top:15px}.flow-create-grid{grid-template-columns:minmax(0,1fr) 300px}.flow-join{text-align:left;max-width:620px;margin:auto}.flow-join .online-join-art{height:130px}.flow-join>.field{margin:22px 0 12px}.flow-join>p{color:var(--muted);font-size:13px;line-height:1.8}.flow-join>.btn{width:100%;margin-top:18px}.profile-details{margin-top:15px}.profile-details .rank-profile-foot{margin-bottom:5px}.empty-seat>.btn{margin-top:12px}@media (max-width:1000px){.flow-create-grid{grid-template-columns:minmax(0,1fr)}.flow-create-grid>.room-preview{display:none}}@media (max-width:600px){.flow-tabs,.flow-connection{gap:8px}.flow-tabs>.btn,.flow-connection>.btn{flex:1;padding:12px 9px;font-size:12px}.hero .flow-hero-mode{max-width:100%;font-size:11px}.flow-join{padding:22px 19px}.flow-details>summary{font-size:12px}.flow-identity .identity-fields{grid-template-columns:1fr}.flow-details input,.flow-details select{font-size:16px}.flow-join .online-join-art{height:100px}}.route-play .topbar{display:none}.route-play .main,body.choosing-pit .route-play .main{min-width:0;max-width:none;padding-top:max(16px,env(safe-area-inset-top,0px));padding-bottom:max(20px,env(safe-area-inset-bottom,0px))}.route-play .play-top{flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:14px}.route-play .play-title{flex-wrap:wrap;align-items:center;gap:12px;min-width:0;display:flex}.route-play .play-title h1{margin:0;font-size:28px}.route-play .play-title>span{font-size:11px}.route-play .play-tools{flex-wrap:wrap;gap:8px;max-width:100%}.route-play .play-tools .btn{min-width:44px;min-height:44px}.route-play .game-layout{flex-direction:column;gap:12px;min-width:0;display:flex}.route-play .game-stage{isolation:isolate;grid-template-columns:minmax(0,1fr);align-items:start;gap:8px;min-height:0;margin:0;padding:16px;display:grid;overflow:visible}.route-play .game-stage:before{border-radius:inherit}.route-play #scoreboard{grid-area:1/1;min-width:0}.route-play .scoreboard{flex-wrap:nowrap;gap:8px;max-width:560px;margin:0 auto;display:flex}.route-play .score-pill,.route-play .scoreboard.players-4 .score-pill{border-radius:13px;flex:1;gap:7px;min-width:0;max-width:230px;padding:7px 9px}.route-play .score-pill>div{min-width:0}.route-play .score-name{max-width:140px;font-size:11px}.route-play .score-number{font-size:25px;line-height:1.15}.route-play .score-number small{font-size:10px}.route-play .board-wrap{grid-area:2/1;width:100%;min-width:0;padding:0}.route-play .board-scene{padding:12px 5% 18px}.route-play .board-scene.is-flat{padding:12px 0 18px}.route-play .board-scene .board:not(.ring-board){grid-template-rows:var(--play-pit-height,130px) var(--play-pit-height,130px);grid-template-columns:minmax(32px,1.05fr) repeat(5,minmax(0,1fr)) minmax(32px,1.05fr);gap:7px;max-width:850px;padding:11px 8px}.route-play .board-scene .pit{min-width:0;min-height:0}.route-play .board-scene .ring-board{aspect-ratio:1;width:min(100%,480px);max-width:100%;height:auto;padding:0}.route-play .board-hint{grid-area:3/1;margin:0;font-size:10px;line-height:1.5;display:block}.route-play .board-hint .icon{display:none}.route-play .game-controls{background:#f5f8ed;border:1px solid #bacdaa;border-radius:18px;flex-direction:column;grid-area:4/1;justify-content:center;align-self:stretch;min-width:0;min-height:0;margin:0;padding:14px;display:flex}.route-play .game-controls #pit-picker-container{visibility:visible;order:0;display:block}.route-play .game-controls #turn-panel{order:1}.route-play .game-controls .pit-picker{gap:6px;width:100%;max-width:none;margin:0;display:flex}.route-play .game-controls .pit-pick{flex:1;min-width:0;min-height:46px;padding:5px}.route-play .pit-pick strong{font-size:12px}.route-play .pit-pick span{font-size:10px}.route-play .game-controls #turn-panel,.route-play .game-controls #turn-panel.has-selection{min-height:62px;box-shadow:none;text-align:left;background:0 0;border:0;border-radius:0;margin:12px 0 0;padding:0;position:relative;inset:auto}.route-play .game-controls #turn-panel>strong{padding-right:0;font-size:14px;line-height:1.5;display:block}.route-play .game-controls #turn-panel.has-selection>strong{padding-right:70px}.route-play .game-controls #turn-panel>p,.route-play .game-controls #turn-panel.has-selection>p{max-width:none;margin:4px 0 0;font-size:11px;line-height:1.6;display:block}.route-play .game-controls #turn-panel.has-selection .clear-pit{float:none;min-width:66px;min-height:44px;margin:0;padding:8px;font-size:11px;position:absolute;top:-8px;right:-4px}.route-play .game-controls #turn-panel .direction-buttons{flex-direction:row;gap:8px;margin:12px 0 0;display:flex}.route-play .game-controls #turn-panel .direction-buttons .btn{flex:1;justify-content:center;align-items:center;gap:7px;width:auto;min-width:0;min-height:56px;padding:10px 6px;font-size:12px;line-height:1.3;display:flex;transform:none}.move-choice small{opacity:.85;margin-top:4px;font-size:10px;font-weight:400;display:block}.move-arrow{font-size:25px;line-height:1}.route-play .turn-status{justify-content:flex-start;height:auto;min-height:34px;font-size:12px;line-height:1.6}.route-play .game-side{width:100%;max-height:none;display:none;position:static}.route-play .details-open .game-side{display:block}.route-play .game-details-toggle{border:0;border-bottom:1px solid var(--line);text-align:left;background:0 0;align-items:center;gap:10px;min-height:44px;padding:10px 6px;font-size:12px;display:flex}.route-play .game-details-toggle .icon:last-child{margin-left:auto;transform:rotate(90deg)}.route-play .details-open .game-details-toggle .icon:last-child{transform:rotate(-90deg)}.route-play .status-footer{margin-top:12px;font-size:10px}.route-play .board-scene.is-tilted .board:not(.ring-board) .pit-characters{inset:52px 3px 23px}.route-play .board-scene.is-tilted .board:not(.ring-board) .quan-pit .pit-characters{inset:74px 5px 30px}.route-play .board-scene.is-tilted .board:not(.ring-board) .pit-token{max-width:32px}.route-play .board-scene.is-tilted .board:not(.ring-board) .quan-pit .pit-token{max-width:46px}.route-play .board-scene .pit-count{font-size:20px}.route-play .board-scene .pit-count.quan-count{font-size:12px}@media (min-width:900px),(min-width:600px) and (orientation:landscape){.route-play .game-stage{grid-template-columns:minmax(0,1fr) 260px;gap:8px 20px}.route-play .game-controls{grid-area:1/2/4}.route-play .game-controls .pit-picker{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.route-play .game-controls .pit-pick{min-height:50px}.route-play .board-scene .ring-board{width:min(100%,100svh - 210px,500px)}}@media (max-width:899px) and (orientation:portrait){.route-play .main{padding-inline:max(12px,env(safe-area-inset-left,0px)) max(12px,env(safe-area-inset-right,0px))}.route-play .game-stage{--play-pit-height:clamp(82px,calc((100svh - 470px) / 2),140px);padding:12px 8px}.route-play .play-title{display:block}.route-play .play-title h1{font-size:25px}.route-play .play-title>span{margin-top:4px;font-size:10px;display:block}.route-play .play-tools .btn{padding:9px;font-size:0}.route-play .game-controls{margin:0 3px;padding:12px}.route-play .board-scene .board:not(.ring-board){border-width:5px;gap:4px;padding:8px 4px}.route-play .board-scene .ring-board{width:min(100%,100svh - 370px,480px)}.route-play .scoreboard.players-3 .avatar,.route-play .scoreboard.players-4 .avatar{display:none}.route-play .scoreboard.players-4 .score-pill{padding:6px 4px}.route-play .scoreboard.players-4 .score-name{font-size:10px}.route-play .board-scene.is-tilted .board:not(.ring-board) .pit-characters{inset:42px 2px 22px}.route-play .board-scene.is-tilted .board:not(.ring-board) .pit-token{max-width:27px}.route-play .board-scene.is-tilted .board:not(.ring-board) .quan-pit .pit-token{max-width:38px}}@media (orientation:landscape) and (max-height:599px){.route-play .main,body.choosing-pit .route-play .main{padding:8px max(14px,env(safe-area-inset-right,0px)) max(10px,env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px))}.route-play .play-top{gap:8px;margin-bottom:8px}.route-play .play-title h1{font-size:23px}.route-play .play-title>span{font-size:9px}.route-play .play-tools .btn{padding:8px;font-size:0}.route-play .game-stage{--play-pit-height:clamp(50px,calc((100svh - 210px) / 2),105px);grid-template-columns:minmax(0,1fr) 206px;gap:4px 10px;padding:8px}.route-play .score-pill{padding:4px 7px}.route-play .score-number{font-size:21px}.route-play .score-name{font-size:10px}.route-play .score-pill .avatar{width:28px;height:28px}.route-play .board-scene{--board-tilt:26deg;padding:4px 5% 10px}.route-play .board-scene.is-flat{padding:4px 0 10px}.route-play .board-hint{display:none}.route-play .board-scene .board:not(.ring-board){border-width:5px;gap:4px;padding:7px 4px}.route-play .board-scene .ring-board{width:min(100%,100svh - 140px,360px)}.route-play .board-scene.is-tilted .board:not(.ring-board) .pit-characters{inset:30px 2px 19px}.route-play .board-scene.is-tilted .board:not(.ring-board) .quan-pit .pit-characters{inset:46px 3px 23px}.route-play .board-scene.is-tilted .board:not(.ring-board) .pit-token{max-width:20px}.route-play .board-scene.is-tilted .board:not(.ring-board) .quan-pit .pit-token{max-width:30px}.route-play .game-controls{padding:10px}.route-play .game-controls .pit-pick{min-height:44px}.route-play .game-controls #turn-panel{margin-top:8px}.route-play .game-controls #turn-panel>strong{font-size:12px}.route-play .game-controls #turn-panel.has-selection>p{display:none}.route-play .game-controls #turn-panel .direction-buttons .btn{gap:4px;min-height:48px;padding:8px 4px;font-size:11px}.move-arrow{font-size:20px}}.route-play .game-layout{align-items:stretch}.route-play .game-stage{width:100%;min-width:0}@media (max-width:899px) and (orientation:portrait) and (max-height:700px){.route-play .main,body.choosing-pit .route-play .main{padding-top:max(8px,env(safe-area-inset-top,0px))}.route-play .play-top{gap:6px;margin-bottom:8px}.route-play .play-title h1{font-size:23px}.route-play .play-title>span{font-size:9px}.route-play .game-stage{gap:6px;padding:8px 5px}.route-play .score-pill{gap:5px;padding:5px}.route-play .score-number{font-size:21px}.route-play .score-pill .avatar{width:28px;height:28px}.route-play .board-scene{padding:0 5% 8px}.route-play .board-scene.is-flat{padding:0 0 8px}.route-play .board-hint{display:none}.route-play .game-controls{padding:10px}.route-play .game-controls #turn-panel,.route-play .game-controls #turn-panel .direction-buttons{margin-top:8px}.route-play .game-controls #turn-panel .direction-buttons .btn{min-height:48px;padding:8px 5px}}@media (min-width:1100px) and (min-height:600px){.route-play .game-stage{--play-pit-height:clamp(130px,calc((100svh - 410px) / 2),260px);grid-template-rows:auto minmax(0,1fr) auto;align-items:center;gap:10px 24px;min-height:calc(100svh - 180px);padding:20px}.route-play .board-scene .board:not(.ring-board){max-width:1200px}.route-play .board-scene{padding:12px 10% 18px}.route-play .board-scene.is-flat{padding:12px 0 18px}.route-play .game-controls{align-self:center;min-height:240px;padding:18px 14px}.route-play .board-scene.is-tilted .board:not(.ring-board) .pit-token{max-width:clamp(32px,2.5vw,48px)}.route-play .board-scene.is-tilted .board:not(.ring-board) .quan-pit .pit-token{max-width:clamp(46px,3.4vw,64px)}.route-play .board-scene.is-tilted .board:not(.ring-board) .pit-characters{inset:70px 4px 28px}.route-play .board-scene.is-tilted .board:not(.ring-board) .quan-pit .pit-characters{inset:92px 6px 34px}.route-play .board-scene .ring-board{width:min(100%,100svh - 250px,720px)}}.route-play .game-controls .pit-pick{line-height:1.25}.route-play .game-controls .pit-pick strong{overflow-wrap:anywhere;line-height:1.25}.route-play .game-controls .pit-pick span{overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;margin-top:4px;line-height:1.3;display:block}.route-play .game-controls #turn-panel.has-selection{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;display:grid}.route-play .game-controls #turn-panel.has-selection>strong{overflow-wrap:anywhere;grid-area:1/1;padding-right:0}.route-play .game-controls #turn-panel.has-selection .clear-pit{grid-area:1/2;justify-self:end;max-width:130px;padding:7px 4px;position:static}.route-play .game-controls #turn-panel.has-selection>p,.route-play .game-controls #turn-panel.has-selection .direction-buttons{grid-column:1/-1}@media (orientation:landscape) and (max-height:599px){.route-play .game-stage{grid-template-columns:minmax(0,1fr) 260px}.route-play .game-controls #turn-panel.has-selection,.route-play .game-controls #turn-panel .direction-buttons{margin-top:8px}}.game-stage:before{background-image:var(--country-background,url(/bundles/village-courtyard-DY7NN52v.png))}.hero-art{object-position:center}.hero-copy{background:linear-gradient(90deg,#f5f4ecf7,#f5f4ece0 65%,#0000);padding-right:8%}.hero-copy p{max-width:420px}.hero-caption{align-items:center;gap:8px;display:flex}.hero-caption img{width:24px}.home-secondary{grid-template-columns:1fr 1fr;gap:22px;margin-top:24px;display:grid}.home-shortcut{color:inherit;align-items:center;gap:18px;min-width:0;text-decoration:none;display:flex}.home-shortcut>.icon{flex-shrink:0;width:28px;height:28px}.home-shortcut>div{flex:1}.home-shortcut h2{margin:0 0 6px;font-size:20px}.home-shortcut p{color:var(--muted);margin:0}.entry-identity{border-bottom:1px solid #dce2d4;align-items:center;gap:12px;margin-bottom:22px;padding:0 0 20px;display:flex}.entry-identity>span{flex:1;min-width:0}.entry-identity small{color:#6d7d68;margin-top:4px;display:block}.entry-identity .avatar{flex:0 0 44px}.offline-practice{margin:16px auto 0;display:block}.rank-summary{text-align:center;align-self:start}.rank-summary>.avatar{width:66px;height:66px;margin:auto}.rank-summary-elo{margin:12px 0;font-size:32px;display:block}.rank-summary .player-identity{justify-content:center}.matchmaking-bar{border-top:1px solid #d6dfcc;justify-content:space-between;align-items:center;gap:20px;margin-top:24px;padding-top:24px;display:flex}.matchmaking-bar p{color:#66785b;margin:8px 0 0}.match-clock{font-variant-numeric:tabular-nums;color:#315c45;font-size:36px;line-height:1.2}.lobby-surface{background-image:linear-gradient(#f5f6ecdd,#f5f6ecee),var(--country-background);background-position:50%;background-size:cover}.lobby-seat.empty-seat p{max-width:180px;margin:8px auto}.match-feed{margin-top:24px}.social-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;display:grid}.social-grid h2,.notification-settings h2{margin:0 0 20px;font-size:22px}.social-grid h3{margin-top:28px;font-size:16px}.social-row{border-bottom:1px solid #dfe4d5;align-items:center;gap:12px;min-width:0;padding:16px 0;display:flex}.social-row>.avatar{flex:0 0 42px}.social-row>div:not(.social-row-actions){flex:1;min-width:0}.social-row strong{overflow-wrap:anywhere;display:block}.social-row small{color:#6c7c63;margin-top:5px;display:block}.social-row .btn{flex-shrink:0}.social-row-actions{align-items:center;gap:8px;display:flex}.social-empty{color:#6e7c65;padding:16px 0;line-height:1.7}.friend-code{background:#eaf0df;border-radius:12px;flex-wrap:wrap;align-items:center;gap:15px;padding:16px;display:flex}.friend-code strong{letter-spacing:2px;font-size:21px}.friend-code span{font-size:13px}.friend-code .btn-text{margin-left:auto}.friend-add{align-items:end;gap:12px;margin:24px 0;display:flex}.friend-add>.field{flex:1;min-width:0;margin:0}.friend-add .btn{min-height:46px;margin-bottom:0}.notification-list{max-height:650px;overflow:auto}.notification-row{border-bottom:1px solid #e0e5d8;border-radius:8px;padding:17px 10px}.notification-row.unread{background:#edf2e4}.notification-row p{color:#68785d;font-size:14px;line-height:1.6}.notification-row>div{gap:16px;display:flex}.social-welcome{text-align:center;max-width:680px;margin:auto;padding:48px 30px}.social-welcome>.icon{width:52px;height:52px}.social-welcome p{max-width:430px;margin:16px auto 25px;line-height:1.7}.notification-settings{max-width:850px;margin:24px 0}.push-permission{padding-top:12px}.push-permission p{color:#69795e;font-size:14px;line-height:1.6}.settings-links{flex-wrap:wrap;gap:12px;margin-top:25px;display:flex}.notification-bell{place-items:center;display:grid;position:relative}.notification-bell>span{color:#fff;background:#b65c38;border-radius:12px;min-width:16px;padding:2px 5px;font-size:10px;position:absolute;top:-3px;right:-3px}.notification-banner{right:24px;bottom:max(24px,env(safe-area-inset-bottom));z-index:150;color:#234c3b;background:#f7f8ee;border:1px solid #90a978;border-radius:16px;align-items:start;width:min(370px,100vw - 32px);padding:12px;display:flex;position:fixed;box-shadow:0 8px 35px #153f3526}.notification-main{color:inherit;text-align:left;cursor:pointer;font:inherit;background:0 0;border:0;flex:1;padding:6px}.notification-main strong,.notification-main span{display:block}.notification-main span{margin-top:5px;font-size:13px;line-height:1.6}.notification-banner .icon-button{flex:0 0 36px}.onboarding-overlay{z-index:1000;padding:max(20px,env(safe-area-inset-top)) 20px max(20px,env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#102b238c;place-items:center;display:grid;position:fixed;inset:0}.onboarding-dialog{background:#f7f6ee;border-radius:26px;outline:none;width:min(620px,100%);max-height:100%;padding:28px 34px;overflow:auto;box-shadow:0 25px 80px #0b322c4d}.onboarding-top{justify-content:space-between;align-items:center;gap:15px;display:flex}.onboarding-top>span{color:#6d7e5b;align-items:center;gap:8px;font-size:13px;display:flex}.onboarding-progress{gap:8px;margin-top:22px;display:flex}.onboarding-progress button{cursor:pointer;background:#dce4d0;border:0;border-radius:4px;flex:1;height:8px;padding:0}.onboarding-dialog .guide-visual{gap:12px;height:160px;margin:14px 0;overflow:hidden}.onboarding-dialog .mini-board{width:240px;max-width:90%}.onboarding-dialog h2{margin:8px 0 14px;font-size:29px;line-height:1.3}.onboarding-dialog>p{color:#55684f;font-size:16px;line-height:1.8}.onboarding-actions{justify-content:space-between;align-items:center;gap:15px;margin-top:26px;display:flex}.onboarding-dialog>small{color:#77836d;text-align:center;margin-top:20px;font-size:12px;display:block}.onboarding-dialog .sprite{flex-shrink:0}@media (max-width:900px){.social-grid{grid-template-columns:1fr}.home-secondary{gap:14px}.home-shortcut{padding:20px}.home-shortcut h2{font-size:18px}.notification-banner{bottom:calc(82px + env(safe-area-inset-bottom));right:16px}}@media (max-width:600px){.home-secondary{grid-template-columns:1fr}.hero-copy{background:linear-gradient(90deg,#f5f4ecf2,#f5f4eccc);padding-right:24px}.hero-copy h1{font-size:42px}.home-foot{align-items:start}.entry-identity{flex-wrap:wrap}.entry-identity .btn-text{font-size:12px}.friend-add{flex-wrap:wrap}.friend-add>.field{flex-basis:100%}.social-row{gap:9px}.social-row-actions{flex-direction:column}.social-row .btn{padding:10px 12px}.onboarding-dialog{border-radius:20px;padding:22px}.onboarding-dialog h2{font-size:24px}.onboarding-dialog>p{font-size:14px;line-height:1.65}.onboarding-dialog .guide-visual{height:125px}.onboarding-top>span{font-size:12px}.matchmaking-bar{flex-wrap:wrap;align-items:start}.matchmaking-bar>.btn,.notification-settings .field select{width:100%}}@media (max-height:570px) and (orientation:landscape){.onboarding-dialog{width:min(780px,100%);padding:20px 28px}.onboarding-dialog .guide-visual{float:right;width:34%;height:130px;margin-left:18px}.onboarding-dialog h2{font-size:24px}.onboarding-dialog>p{font-size:14px;line-height:1.6}.onboarding-actions{margin-top:16px}.onboarding-dialog>small,.onboarding-progress{margin-top:10px}.notification-banner{bottom:16px}}@media (max-width:600px){.nav a[data-nav=settings]{display:flex}.nav a{font-size:9px}.home-foot{flex-wrap:wrap;gap:16px}.side-note .btn-text{color:var(--yellow)}}.onboarding-progress button{background:0 0;height:28px;position:relative}.onboarding-progress button:before{content:"";background:#dce4d0;border-radius:4px;position:absolute;inset:10px 0}.onboarding-progress button.active{background:0 0}.onboarding-progress button.active:before{background:#6e8c52}.side-note .btn-text{color:var(--yellow)}.rank-summary>.avatar{display:block}.route-play .play-tools .btn[data-action=online-resign]{width:auto;min-width:72px;padding:10px 12px;font-size:12px}
