:root{color-scheme:light;--ink:#242f28;--sub:#626a61;--line:#dcded2;--paper:#f7f7ef;--green:#1f5446;--gold:#c5a474;--serif:"STSong","Songti SC","Noto Serif CJK SC","Noto Serif SC","SimSun",serif;--sans:"Inter","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:15px;-webkit-font-smoothing:antialiased}
button,input,a{font:inherit}button{color:inherit;cursor:pointer}button:disabled{cursor:default}
button,a,input{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #be9247;outline-offset:3px}
button{border:0;background:none}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}
.icon{width:19px;height:19px;display:inline-block;flex:none;vertical-align:middle}
.topbar{height:75px;background:#fafaf4;border-bottom:1px solid var(--line)}
.bar-inner,main,.footer{width:min(1176px,calc(100% - 84px));margin:auto}
.bar-inner{height:100%;display:flex;align-items:center;justify-content:space-between;position:relative}
.brand,.user-tools,.profile,nav,.nav-item,.text-btn,.btn,.hero-facts,.hero-facts span,.hero-eyebrow,.entry-top,.section-heading,.guide-strip,.footer,.room-head,.board-top,.player-title,.table-log,.wait-buttons,.wait-count,.meld-row,.scores,.hand-heading,.action-bar{display:flex;align-items:center}
.brand{gap:11px}.brand-name{font:900 29px/1 var(--serif);letter-spacing:.05em}.brand-sub{border-left:1px solid #cbd0c4;padding-left:10px;color:#697366;letter-spacing:.12em;font-size:13px;font-weight:600}
.brand-mark{height:36px;width:29px;position:relative;border:1px solid #153f34;border-radius:6px;background:#275d4b;box-shadow:inset 0 -3px 0 #1a4139,2px 2px 0 #c9cfb9;transform:rotate(-6deg)}
.brand-mark i{position:absolute;width:4px;height:4px;background:#f4e7be;border-radius:50%;}.brand-mark i:nth-child(1){left:6px;top:7px}.brand-mark i:nth-child(2){right:6px;top:7px}.brand-mark i:nth-child(3){left:calc(50% - 2px);top:calc(50% - 3px);background:#d8a273}.brand-mark i:nth-child(4){left:6px;bottom:8px}.brand-mark i:nth-child(5){right:6px;bottom:8px}
nav{align-self:stretch;gap:35px;position:absolute;left:50%;transform:translateX(-50%)}.nav-item{height:100%;position:relative;gap:8px;font-size:14px;color:#70786d;padding:0 2px;font-weight:550;white-space:nowrap}.nav-item.active{color:var(--green);font-weight:700}.nav-item.active:after{content:"";position:absolute;height:3px;bottom:0;left:4px;right:4px;background:#38664d;border-radius:3px 3px 0 0}.nav-item:hover,.text-btn:hover{color:#98652c}
.user-tools{gap:17px}.icon-button{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:50%;color:#627163}.icon-button:hover{background:#e7ebde}.profile{gap:8px;font-size:13px;font-weight:600}.profile .icon{width:13px}.avatar{background:#e7ebde;color:#4f6249;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font:700 16px var(--serif)}
main{padding-top:30px}.hero,.wait-panel,.game-board{background-color:#163f34;background-image:radial-gradient(ellipse at 73% 5%,#48715b80,transparent 52%),radial-gradient(ellipse at 0% 30%,#124338,transparent 72%),repeating-linear-gradient(25deg,#c3ceaf06 0 1px,transparent 1px 4px),repeating-linear-gradient(115deg,#06190e0e 0 1px,transparent 1px 4px);color:#f8f1db;border-radius:17px;position:relative;isolation:isolate;overflow:hidden}
.hero{min-height:290px;display:flex;align-items:center;box-shadow:0 4px 9px #233b2508}
.felt-border{position:absolute;inset:11px;z-index:-1;pointer-events:none;border:1px solid #b9a16e55;border-radius:10px}
.felt-border:before,.felt-border:after{content:"";position:absolute;inset:3px;border:1px solid #bfa47324;border-radius:7px}.felt-border:after{inset:7px;border-color:#e3c28c20;border-width:0 1px;border-radius:3px}
.hero-content{position:relative;z-index:2;padding:37px 0 38px 49px}
.hero-eyebrow{gap:10px;color:#e0c594;font-weight:650;letter-spacing:.22em;font-size:13px}.hero-eyebrow i{width:28px;height:1px;position:relative;background:#cfb483}.hero-eyebrow i:after{content:"";width:5px;height:5px;transform:rotate(45deg);background:#dac18e;right:-1px;top:-2px;position:absolute}
.hero h1{margin:14px 0 11px;font:750 clamp(45px,5.1vw,69px)/1.16 var(--serif);letter-spacing:.07em;color:#faf4df;text-shadow:0 2px 2px #152c2080}
.hero-content>p{color:#dde7d6;font-size:15px;letter-spacing:.06em;line-height:1.7}
.hero-facts{margin-top:29px;gap:16px;color:#dddfc7;font-size:12px;letter-spacing:.035em}.hero-facts span{gap:6px}.hero-facts .icon{width:15px;height:15px;color:#d4c199}.hero-facts>b{height:10px;width:1px;background:#adb69d55}
.hero-art{position:absolute;right:0;top:0;bottom:0;width:49%;z-index:0;pointer-events:none}
.hero-fan{position:absolute;left:48%;top:50%;transform:translate(-50%,-50%);width:368px;height:235px}
.hero-tile{position:absolute;width:108px;height:155px;border:1px solid #f6eaca;border-radius:13px;background:linear-gradient(120deg,#fffdf0,#f7f1d9 58%,#e6ddbd);box-shadow:inset 2px 2px 2px #fffdf4,inset -3px -3px 2px #d6caa7,1px 1px #ded1aa,2px 2px #d6c89d,3px 3px #d6c89d,4px 4px #bcae87,5px 5px #c4b78e,6px 6px #81987c,7px 7px #6b846b,8px 8px #5e775e,9px 9px #566e57,10px 10px #4e6854,11px 11px #3b5646,16px 22px 12px #061e1875,27px 37px 25px #071e173d;transform-origin:50% 70%;display:grid;place-items:center}
.hero-tile:after{content:"";position:absolute;inset:5px;border:1px solid #d6caa93b;border-radius:9px;pointer-events:none}
.ht-back{right:13px;top:19px;transform:rotate(17deg) skewY(-5deg) skewX(0deg)}
.ht-mid{left:80px;top:12px;transform:rotate(-18deg) skewY(-7deg)}.ht-front{left:140px;top:73px;width:120px;height:162px;transform:rotate(7deg) skewY(-9deg)}
.table-ring{position:absolute;left:50%;top:55%;width:410px;height:410px;border:1px solid #ceb98b20;transform:translate(-50%,-50%) rotate(44deg);border-radius:22px}.table-ring.r2{width:435px;height:435px}.table-ring.r3{width:541px;height:541px;border-style:dashed;opacity:.7}
.tile{position:relative;width:clamp(30px,4.6vw,56px);aspect-ratio:0.72;display:inline-grid;place-items:center;vertical-align:middle;background:linear-gradient(130deg,#fffdf2,#f5efd7 68%,#e4dbbf);border:1px solid #d7cbaa;border-radius:6px;box-shadow:inset 1px 1px 1px #fff,0 3px #bbba9c,0 5px #64816c,0 6px #4a6454,0 7px 6px #233e2926;flex:none}
.tile-marks{display:block;position:absolute;inset:10% 8.5%}.tile-marks i{position:absolute;transform:translate(-50%,-50%);color:#293f5b}
.tile-marks .red{color:#b24539}.tile-marks .green{color:#2b6350}.pips i{width:26%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,currentColor 0 21%,#f6edd0 23% 31%,currentColor 33% 48%,#eadfbc 50% 55%,currentColor 57% 100%);box-shadow:inset 1px 1px 1px #182c371f,0 1px #fff9}
.pips.rank-1 i{width:76%;background:repeating-radial-gradient(circle,#a74433 0 8%,#e9dabc 9% 12%,#285749 13% 18%,#d2c196 19% 22%,#2e4559 23% 29%)}.pips.rank-2 i,.pips.rank-3 i{width:32%}.pips.rank-7 i,.pips.rank-8 i,.pips.rank-9 i{width:22%}.ht-front .pips i{width:31%}
.dragon{display:block;width:91%;height:88%;font-family:var(--serif);font-weight:800;color:#a02d29;overflow:hidden}.dragon.green{color:#225a3e}
.white-dragon{width:62%;height:71%;border:2px double #425a75;box-shadow:inset 0 0 0 1px #f9f3dd, inset 0 0 0 2px #47627a}
.bamboos i{width:9%;height:25%;border-radius:45% 35%;background:linear-gradient(90deg,#113d34,currentColor 32%,#6a8a61 63%,currentColor 66%);box-shadow:inset 0 -2px #20382c55;transform:translate(-50%,-50%) rotate(2deg)}.bamboos i:before,.bamboos i:after{content:"";position:absolute;left:-24%;width:148%;height:10%;border-radius:40%;background:currentColor;top:28%}.bamboos i:after{top:68%}.bamboos i.red{background:#ab4336}.bamboos.rank-8 i{height:21%}.bamboos.rank-9 i{height:21%}.single-bamboo{position:relative;height:65%;width:10%;background:#31624a;border-radius:45%;transform:rotate(9deg)}.single-bamboo i{position:absolute;height:30%;width:230%;background:#4b7757;border-radius:100% 0;left:35%;top:4%;transform:rotate(10deg)}.single-bamboo i:nth-child(2){top:36%;left:-185%;transform:scaleX(-1)}.single-bamboo i:nth-child(3){top:58%}
.play-options{margin-top:30px}.section-heading{gap:15px;margin-bottom:15px}.section-heading h2,.guide-strip h3,.entry h3,.dialog-head h2,.room-head h1,.hand-heading h2{font-family:var(--serif);font-weight:700;letter-spacing:.045em}.section-heading h2{font-size:25px}.section-line{height:1px;width:36px;background:#bca47a}.section-heading .text-btn{margin-left:auto}
.entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.entry{border:1px solid #dadfd2;border-radius:12px;background:#fcfcf7;padding:23px 24px 20px;box-shadow:0 3px 6px #27362b04;position:relative}.entry-create{background:linear-gradient(115deg,#f3f6ed,#fbfcf5);border-color:#c1cfba}.entry-practice{background:linear-gradient(120deg,#fcfbf4,#fbf9ed);border-color:#e1dbc8}.entry-top{justify-content:space-between;margin-bottom:15px}.entry-icon,.guide-icon{border-radius:12px;width:46px;height:46px;background:#e3ecdf;color:#315e49;display:grid;place-items:center}.entry-icon .icon{width:25px;height:25px}.entry-join .entry-icon{background:#e7ede4;color:#57735c}.entry-practice .entry-icon{background:#f1e8d0;color:#8c6d39}
.card-ornament{color:#a2b6a3;font-size:21px;opacity:.6}.entry-practice .card-ornament{color:#c0a46c}.entry h3{font-size:23px;margin-bottom:6px}.entry p,.guide-strip p{font-size:13px;color:#687065;line-height:1.65}
.btn{justify-content:center;gap:8px;min-height:42px;padding:9px 20px;font-size:14px;font-weight:620;border:1px solid transparent;border-radius:7px;transition:background .16s,transform .16s}.btn:hover:not(:disabled){filter:brightness(.96)}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{color:#8e9c8f;background:#e3e8de;border-color:#d9e0d5}.btn .icon{width:17px}
.primary{background:#245843;color:#fffced;border-color:#225540}.soft{background:#e7eee2;color:#355a42;border-color:#d4dece}.honey{background:#f2ead5;color:#795f30;border-color:#e7dbc0}.outline{background:#fcfcf6;border-color:#d0d9ca;color:#46654e}.win{background:#a34335;color:#fff}.entry .btn{width:100%;margin-top:19px;justify-content:space-between;padding:8px 15px}
.guide-strip{margin-top:20px;gap:15px;padding:16px 21px;background:#eeefe5;border:1px solid #dce0d0;border-radius:11px}.guide-icon{width:39px;height:39px;background:#e2e7d8;color:#708462;border-radius:9px}.guide-icon .icon{width:22px;height:22px}.guide-strip h3{font-size:17px;margin-bottom:3px}.guide-strip p{font-size:12px}.guide-strip p span{margin:0 8px;color:#a8ad98}.text-btn{padding:4px 0;gap:7px;color:#527152;font-size:13px;font-weight:620}.text-btn .icon{width:15px;height:15px}.guide-strip .text-btn{margin-left:auto}
.footer{min-height:66px;justify-content:space-between;color:#848b7e;font-size:11px;letter-spacing:.07em}.footer-logo{display:flex;align-items:center;gap:7px}.mini-pip{width:11px;height:14px;border:1px solid #969e8b;border-radius:3px;transform:rotate(-9deg);background:radial-gradient(circle at 50% 50%,#929b88 0 1.4px,transparent 1.7px)}
dialog{background:#fbfbf3;color:var(--ink);width:min(430px,calc(100% - 28px));max-height:88dvh;border:1px solid #d7ddcd;padding:26px;border-radius:16px;box-shadow:0 20px 100px #09190d4d;overflow:auto}dialog::backdrop{background:#11261e77;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.dialog-head h2{font-size:25px}.close{border-radius:7px}.dialog-intro{font-size:14px;line-height:1.75;color:#687366;margin:9px 0 22px}
form label,.invite-link{display:block;font-size:13px;font-weight:600;margin:14px 0;color:#4d6050}input{width:100%;display:block;background:#fffef9;border:1px solid #cdd6c6;border-radius:7px;padding:11px 12px;margin-top:7px;color:var(--ink);font-size:16px}.form-error{color:#ad4234;font-size:13px;min-height:13px}.wide,form .btn{width:100%;margin-top:8px}.rules-modal{width:min(650px,calc(100% - 28px))}.rules-tabs{display:flex;margin:15px 0 9px;gap:6px;flex-wrap:wrap}.rules-tabs button{padding:6px 10px;color:#607358;font-size:13px;border-radius:5px;background:#e9eee1}.rules-tabs .chosen{color:#fff;background:var(--green)}.rules-info{max-height:55dvh;overflow:auto}.rules-info dl{margin:0}.rules-info dl div{display:grid;grid-template-columns:minmax(86px,30%) 1fr;border-bottom:1px solid #dfe3d8;padding:12px 1px;gap:12px;line-height:1.65;font-size:14px}.rules-info dt{font-weight:650}.rules-info dd{color:#566953;margin:0}
.toast{position:fixed;left:50%;bottom:max(28px,env(safe-area-inset-bottom));transform:translate(-50%,10px);opacity:0;pointer-events:none;background:#223d32;border:1px solid #fff3;color:#fdfcec;border-radius:8px;box-shadow:0 3px 12px #0002;z-index:6;transition:.16s;padding:10px 18px;font-size:14px;max-width:90vw;width:max-content}.toast.show{opacity:1;transform:translate(-50%,0)}.pending [data-act],.pending [type=submit],.pending [data-do=practice],.pending [data-do=discard]{opacity:.66;cursor:progress}
.room-head{justify-content:space-between;gap:10px;margin:-4px 0 18px}.room-head h1{font-size:25px}.code-btn{background:#e7ecdf;border:1px solid #d7decf;padding:6px 10px;border-radius:6px}.code-btn strong{letter-spacing:.06em;font-variant-numeric:tabular-nums}.offline{padding:9px;color:#8f5b20;background:#f7edd1;border-radius:5px;margin-bottom:8px;font-size:13px}
.wait-panel{text-align:center;padding:45px 20px}.wait-panel .hero-eyebrow,.wait-buttons,.wait-count{justify-content:center}.wait-panel h2{margin:12px 0;font:700 37px var(--serif)}.wait-panel>p{color:#cbdac8;font-size:14px}.wait-seats{display:flex;justify-content:center;gap:clamp(26px,9vw,105px);margin:35px 0}.wait-seat{display:grid;min-width:70px;justify-items:center;gap:7px}.wait-avatar{width:59px;height:59px;display:grid;place-items:center;border:1px dashed #aec1a67d;border-radius:18px;color:#afc6a6}.wait-seat.filled .wait-avatar{background:#e2e8d4;border-style:solid;color:#355a49}.wait-avatar .icon{width:26px;height:26px}.wait-seat small,.wait-count{font-size:12px;color:#bacdb7}.wait-buttons,.modal-actions,.reveal-options{display:flex;gap:9px;flex-wrap:wrap;justify-content:center}.ivory{color:#355744;background:#e9e9d5}.glass{color:#eef2df;background:#ffffff12;border-color:#9bb39472}.wait-count{margin-top:20px}.invite-code{font:700 36px/1.5 var(--sans);text-align:center;letter-spacing:.15em;color:var(--green);background:#e9eddf;border:1px dashed #c2ceba;border-radius:8px}.invite-link input{font-size:13px;font-weight:400}.log-list{padding-left:22px;max-height:51vh;overflow:auto}.log-list li{line-height:1.7;font-size:14px;color:#4f6253;margin:6px 0}
.game-board{padding:23px 28px 25px;min-height:295px}.board-top{gap:16px;font-size:12px;color:#cfddc9}.board-top strong{color:#eee6ce;font-size:14px}.board-top>span{display:flex;align-items:center;gap:4px}.board-top>span .icon{width:15px}.table-log{margin-left:auto;color:#d8dfca;gap:6px}.table-log .icon{width:16px}.opponents{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:19px 0 3px}.opponent:nth-child(2){justify-self:end;text-align:right}.opponent:nth-child(2) .player-title,.opponent:nth-child(2) .meld-row{justify-content:flex-end}.player-title{gap:7px;min-width:0;font-size:14px;flex-wrap:wrap}.opp-glyph,.self-avatar{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#ffffff14;border:1px solid #dde5c92e}.opp-glyph .icon,.self-avatar .icon{width:16px;height:16px}.player-title small{font-size:12px;color:#c4d6c0;font-weight:normal}.player-title em{font-style:normal;font-size:10px;line-height:1.45;background:#dfbd78;color:#433820;padding:1px 4px;border-radius:3px}.player-title .riichi{background:#d99d8c;color:#3a2320}.opp-hand{margin:6px 0;display:flex;gap:2px}.opponent:nth-child(2) .opp-hand{justify-content:flex-end}.tile-back{display:inline-block;width:clamp(8px,1.2vw,16px);height:clamp(14px,1.8vw,23px);background:linear-gradient(130deg,#95b091,#547c64);border:1px solid #b8c7aa;border-radius:3px 3px 2px 2px;box-shadow:0 2px #c6c7aa}
.table-center{display:flex;align-items:center;justify-content:center;gap:12px;text-align:left;margin:10px 0 18px}.table-center>i{width:35px;height:1px;background:#bbad7b6b}.center-emblem .tile{width:26px;transform:rotate(-8deg);border-radius:4px;box-shadow:0 2px #b7b196}.table-center strong{font-family:var(--serif);font-size:19px;letter-spacing:.05em}.table-center small{display:block;font-size:11px;color:#bed1ba;margin-top:3px}
.rivers{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.river{min-width:0;background:#0c2b2242;border:1px solid #b8c3a124;border-radius:7px;padding:8px;min-height:60px}.river-label{color:#c5d4bc;font-size:11px;display:flex;gap:5px}.river-label span{color:#91a98d}.river-tiles,.meld{display:flex;gap:2px;flex-wrap:wrap}.river-tiles{margin-top:6px}.tile.tiny{width:19px;height:26px;font-size:9px;border-radius:3px;box-shadow:0 2px #a8b499}.tile.tiny.recent{box-shadow:0 0 0 2px #e7bc67;z-index:1}.meld-row{gap:5px;flex-wrap:wrap}.meld{gap:1px;display:inline-flex}.waits{font-size:11px;color:#e5c48a}.my-melds .waits{color:#7c6130}.hand-panel,.result-box{border:1px solid var(--line);border-radius:12px;margin-top:14px;padding:19px 21px;background:#fcfcf6}.hand-heading{justify-content:space-between;gap:8px}.self-avatar{background:#dfe8d6;border-color:#d2dbca;color:var(--green)}.my-score,.hand-hint{font-size:12px;color:#657463}.hand-heading .player-title small{color:#72836f}.own-hand{display:flex;justify-content:center;gap:4px;align-items:flex-end;margin:19px 0 13px;min-width:0;padding:0 0 6px}.hand-tile{padding:0;display:flex;position:relative;border-radius:6px;transition:transform .12s}.hand-tile.pickable:hover{transform:translateY(-4px)}.hand-tile.picked,.hand-tile.picked:hover{transform:translateY(-7px)}.hand-tile.picked .tile{outline:2px solid #bd8f44;outline-offset:1px}.hand-tile.drawn{margin-left:7px}.my-melds:not(:empty){margin-top:8px}.action-bar{justify-content:flex-end;gap:6px;flex-wrap:wrap}.action-bar .btn{min-height:36px;font-size:13px}.result-box{display:flex;align-items:center;gap:18px;justify-content:space-between;background:#f5f0df;flex-wrap:wrap}.result-label{font-size:11px;color:#9b773d;letter-spacing:.14em}.result-box h2{font:700 24px var(--serif);margin:4px 0}.result-box p{font-size:13px;color:#6c715f;line-height:1.6}.scores{gap:16px}.scores span{display:grid;gap:3px;color:#6f775f;font-size:12px}.scores b{color:#355741;font-size:20px}.reveal-options{margin:18px 0 0}.reveal-choice{display:grid;justify-items:center;gap:7px;padding:8px 10px;font-size:12px;border:1px solid #ccd7c7;border-radius:6px}.reveal-choice .tile{width:30px}.reveal-choice small{font-size:11px;color:#647b61}.modal-actions{margin-top:20px}
@media(min-width:1500px){main{padding-top:38px}.hero{min-height:316px}.play-options{margin-top:34px}.entry{padding:26px}.entry-top{margin-bottom:18px}.guide-strip{margin-top:24px}}
@media(max-width:880px){.bar-inner,main,.footer{width:calc(100% - 44px)}.hero{min-height:254px}.hero-content{padding:32px 0 33px 33px}.hero-fan{transform:translate(-50%,-50%) scale(.77)}.entry{padding:18px 16px 16px}.entry-grid{gap:12px}.entry p{font-size:12px}.brand-sub{display:none}.hero-facts{gap:10px}.own-hand{gap:3px}}
@media(max-width:650px){.bar-inner,main,.footer{width:calc(100% - 28px)}.topbar{height:58px}.brand{gap:7px}.brand-name{font-size:24px}.brand-mark{transform:rotate(-6deg) scale(.86)}nav{gap:17px;left:53%}.nav-item{font-size:12px;gap:4px}.nav-item .icon{width:14px;height:14px}.user-tools{gap:1px}.profile{padding:0}.profile #nickname,.profile>span:last-child{display:none}.avatar{width:27px;height:27px;font-size:13px}.icon-button{width:29px;height:29px}.user-tools>.icon-button{display:none}main{padding-top:15px}.hero{min-height:211px;border-radius:13px}.felt-border{inset:7px}.hero-content{padding:26px 0 24px 20px}.hero-eyebrow{font-size:10px;gap:6px}.hero-eyebrow i{width:16px}.hero h1{font-size:clamp(32px,6.3vw,43px);letter-spacing:.04em;margin:11px 0 9px}.hero-content>p{font-size:11px;max-width:175px;line-height:1.65;letter-spacing:0}.hero-art{width:44%}.hero-fan{transform:translate(-50%,-50%) scale(.48);left:44%;top:44%}.hero-facts{gap:6px;margin-top:18px;font-size:10px;letter-spacing:0}.hero-facts span{gap:3px}.hero-facts .icon{width:12px;height:12px}.table-ring{width:224px;height:224px;left:79%}.table-ring.r2{width:235px;height:235px}.table-ring.r3{width:295px;height:295px}.play-options{margin-top:20px}.section-heading{margin-bottom:10px}.section-heading h2{font-size:22px}.entry-grid{grid-template-columns:1fr;gap:9px}.entry{display:grid;grid-template-columns:44px 1fr auto;column-gap:12px;padding:15px 14px;align-items:center;border-radius:10px}.entry-top{grid-row:1/3;margin:0}.entry-icon{width:40px;height:42px;border-radius:9px}.entry-icon .icon{width:22px}.card-ornament{display:none}.entry h3{grid-column:2;align-self:end;font-size:19px;margin:0 0 3px;letter-spacing:.035em}.entry p{grid-column:2;font-size:11px;align-self:start;line-height:1.45}.entry .btn{grid-column:3;grid-row:1/3;margin:0;padding:6px 9px;min-height:34px;font-size:11px;gap:5px;white-space:nowrap}.entry .btn .icon{width:12px}.guide-strip{margin-top:12px;gap:10px;padding:12px}.guide-icon{width:30px;height:33px}.guide-icon .icon{width:19px}.guide-strip h3{font-size:15px}.guide-strip p{font-size:10px}.guide-strip p span{margin:0 4px}.text-btn{gap:4px;font-size:11px}.guide-strip .text-btn .icon{width:12px}.footer{min-height:49px;font-size:10px}.section-line{width:23px}
.room-head{margin:0 0 10px}.room-head h1{font-size:20px}.code-btn{padding:5px}.game-board{padding:15px 11px}.board-top{padding:0 4px;font-size:10px;gap:9px}.board-top strong{font-size:12px}.table-log{font-size:11px}.opponents{gap:8px;margin:17px 3px 2px}.player-title{font-size:12px;gap:4px}.player-title small{font-size:10px}.opp-glyph,.self-avatar{width:19px;height:19px;border-radius:5px}.opp-glyph .icon,.self-avatar .icon{width:12px}.opp-hand{gap:1px}.opp-hand .tile.tiny{width:9px;height:14px;font-size:5px}.tile-back{width:8px;height:15px;border-radius:2px}.table-center{margin:16px 0;gap:7px}.table-center strong{font-size:16px}.rivers{gap:5px}.river{padding:5px;min-height:66px}.river-label{font-size:10px}.river-tiles{gap:2px}.tile.tiny{width:14px;height:20px;font-size:7px}.game-board .meld-row .tile.tiny{width:12px;height:17px}.hand-panel{padding:12px 7px}.hand-heading{padding:0 2px}.hand-hint,.my-score{font-size:10px}.own-hand{justify-content:center;gap:1px;margin:17px 0 10px}.own-hand .tile{width:min(calc((100vw - 75px)/14),34px);font-size:clamp(10px,3.5vw,17px);border-radius:3px}.hand-tile.drawn{margin-left:3px}.action-bar .btn{min-height:34px;padding:6px 10px}.wait-panel{padding:31px 10px}.wait-panel h2{font-size:27px}.wait-panel>p{font-size:12px}.wait-seats{gap:18px;margin:25px 0}.wait-seat strong{font-size:13px}.wait-avatar{width:45px;height:45px;border-radius:12px}.wait-buttons{gap:5px}.wait-buttons .btn{min-height:34px;padding:6px 11px;font-size:12px}.result-box{gap:9px;padding:12px}.scores{gap:12px}dialog{padding:18px}.dialog-head h2{font-size:21px}.rules-info dl div{font-size:13px}.entry-icon,.avatar{flex:none}}
@media(max-width:370px){.hero-fan{transform:translate(-50%,-50%) scale(.39)}.entry{column-gap:7px;padding:12px 9px;grid-template-columns:36px 1fr auto}.entry-icon{width:33px;height:36px}.entry p{font-size:10px}.guide-icon{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
