.table-effects{position:absolute;inset:0;z-index:35;pointer-events:none;overflow:hidden}.table-effect{position:absolute;left:25%;top:44%;width:min(24cqw,42cqh);height:auto;aspect-ratio:1.777;transform:translate(-50%,-50%);animation:table-fx-life var(--fx-duration) ease-out forwards;pointer-events:none}.table-effect[data-seat=east]{left:77%;top:40%}.table-effect[data-seat=north]{left:52%;top:22%}.table-effect[data-seat=south]{left:29%;top:69%}.table-effect[data-seat=west]{left:23%;top:41%}.effect-art{width:100%;height:100%;background-repeat:no-repeat;background-position:var(--fx-x) var(--fx-y);will-change:transform,opacity}.effect-action .effect-art{background-image:url(/assets/fx/action-v237.webp);background-size:300% 300%}.effect-win{width:min(20cqw,35cqh);aspect-ratio:1}.effect-win .effect-art{background-image:url(/assets/fx/win-v237.webp);background-size:400% 200%;animation:fx-celebrate 1s ease-in-out 2}.effect-chi{width:min(16cqw,28cqh);aspect-ratio:1;animation:chi-fade var(--fx-duration) ease-out forwards}.effect-chi .effect-art{background-image:url(/assets/fx/chi-v237.webp);background-size:contain;background-position:center}.effect-cannon{width:min(12cqw,27cqh);aspect-ratio:.889;animation:table-fx-life var(--fx-duration) ease-out forwards}.effect-cannon .effect-art{background-image:url(/assets/fx/cannon-v237.webp);background-size:300% 100%;animation:fx-fire-frames .55s steps(1) infinite,fx-fire-pulse .25s ease-in-out infinite alternate}@keyframes table-fx-life{0%{opacity:0;transform:translate(-50%,-50%) scale(.6)}12%,75%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-56%) scale(.96)}}@keyframes chi-fade{0%{opacity:0;transform:translate(-50%,-45%) scale(.85)}15%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-68%) scale(.98)}}@keyframes fx-celebrate{0%,to{filter:brightness(1);transform:scale(1)}50%{filter:brightness(1.12);transform:scale(1.035)}}@keyframes fx-fire-frames{0%,to{background-position:0% 0}33%{background-position:50% 0}66%{background-position:100% 0}}@keyframes fx-fire-pulse{0%{filter:brightness(1)}to{filter:brightness(1.13)}}@media(prefers-reduced-motion:reduce){.table-effect,.effect-chi{animation-name:fx-reduced}.effect-art{animation:none!important}@keyframes fx-reduced{0%,80%{opacity:1}to{opacity:0}}}.table-effect[data-persistent=true]{animation:fx-arrive .3s ease-out both}@keyframes fx-arrive{0%{opacity:0;transform:translate(-50%,-50%) scale(.65)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@media(prefers-reduced-motion:reduce){.table-effect[data-persistent=true]{animation:none;opacity:1;transform:translate(-50%,-50%)}}.effect-fallback{position:absolute;inset:0;display:grid;place-items:center;white-space:nowrap;font-family:PenghuKai,KaiTi,serif;font-size:clamp(26px,4.2cqw,64px);font-weight:900;line-height:1;color:#ffdb71;-webkit-text-stroke:.6px #fff2bd;text-shadow:0 2px 0 #94500a,0 4px 2px #5d3107,0 0 10px #e5b74b88}.effect-win .effect-fallback{font-size:clamp(25px,3.8cqw,58px)}.effect-cannon .effect-fallback{color:#ffb443;text-shadow:0 0 12px #ff4c16,0 3px 2px #8b2900}.effect-chi .effect-fallback{text-shadow:0 2px 0 #94500a,0 4px 2px #5d3107}.effect-kan .effect-art{background-size:contain;background-position:center}.modal-scrim .modal.guide-modal,.modal-scrim.in-game .modal.guide-modal{width:min(1000px,calc(var(--dialog-width,100dvw) - 24px));height:min(760px,calc(var(--dialog-height,100dvh) - 24px));max-width:100%;padding:0;overflow:hidden;display:flex;flex-direction:column}.modal-scrim .guide-book{display:flex;flex-direction:column;min-height:0;height:100%;font-size:clamp(17px,1.2vmax,20px);line-height:1.6;color:#385944}.guide-book *{box-sizing:border-box}.guide-book .guide-header{padding:20px 56px 12px 24px;background:#f4f6ec;flex:none}.modal-scrim .guide-book .guide-header p{font-size:12px;margin:0 0 4px;letter-spacing:2px;color:#687a5e}.modal-scrim .guide-book .guide-header h2{font:600 clamp(21px,1.8vmax,28px)/1.3 system-ui,sans-serif;margin:0}.guide-tabs{display:flex;gap:4px;padding:8px 16px;background:#f4f6ec;border-bottom:1px solid #dce4d2;overflow-x:auto;flex:none;scrollbar-width:thin;overscroll-behavior-x:contain}.modal-scrim .guide-book .guide-tabs button[role=tab]{flex:1 0 auto;display:flex;align-items:center;justify-content:center;gap:5px;padding:8px 10px;white-space:nowrap;border-radius:8px;color:#5b705d;font-size:16px;min-height:44px;border:1px solid transparent}.modal-scrim .guide-book .guide-tabs button[aria-selected=true]{background:#32634d;color:#fffef4;box-shadow:0 2px 5px #25492e1a}.guide-tabs button span{font-size:14px;opacity:.75}.guide-body{padding:20px 24px;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;-webkit-overflow-scrolling:touch}.modal-scrim .guide-book .guide-body h3{font-size:1.06em;line-height:1.4;border:0;padding:0;margin:0 0 10px}.modal-scrim .guide-book .guide-body .guide-chapter-title{font-size:1.23em;margin-bottom:18px;color:#254f3c}.modal-scrim .guide-book p{color:#586d59;line-height:1.65;font-size:inherit;margin:0 0 12px}.guide-book b,.guide-book strong{color:#325841}.guide-two,.guide-rule-pair,.guide-examples-grid,.guide-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px;align-items:start}.guide-rule-pair>article,.guide-action-grid>article{padding:16px;border:1px solid #dfe6d7;background:#f8f9f2;border-radius:12px;min-width:0}.guide-book .guide-rule-pair p,.guide-book .guide-action-grid p{margin:8px 0 0}.guide-book .guide-note{padding:12px 15px;border-left:3px solid #b59a52;background:#f7f2df;border-radius:0 8px 8px 0;color:#6e6445;margin:14px 0}.guide-cards{display:inline-flex;gap:5px;align-items:center;vertical-align:middle;flex-shrink:0}.guide-card{display:inline-block;position:relative;width:38px;height:48px;border:1px solid #d8d2bb;background:linear-gradient(110deg,#fffefa,#f0eddd);border-radius:4px;color:#34392b;box-shadow:0 2px #d0cab2;flex:none}.guide-card.is-red{color:#b33e33}.guide-card .card-glyph{position:absolute;inset:3px;display:block;width:auto;height:auto}.guide-card .card-glyph svg{display:block;width:100%;height:100%}.guide-card.is-target{border:2px solid #b89a4b}.guide-card small{position:absolute;bottom:-12px;left:50%;transform:translate(-50%);font:11px/17px system-ui,sans-serif;white-space:nowrap;border-radius:3px;background:#8e793d;color:#fff;padding:0 3px}.guide-formula{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:10px 0 20px;min-width:0}.guide-formula>span:not(.guide-cards){font-size:.9em;color:#6f8066}.guide-example{padding:16px;margin:0;border:1px solid #dce4d2;border-radius:12px;background:#f9faf4;min-width:0}.guide-example figcaption{font-weight:650;margin-bottom:12px}.guide-example .guide-cards{margin-bottom:12px}.guide-book .guide-example p{font-size:.93em;margin:0}.guide-steps{padding:0;margin:0;list-style:none;counter-reset:steps;display:grid;gap:12px}.guide-steps>li{counter-increment:steps;position:relative;padding:12px 16px 12px 54px;border:1px solid #e0e6d9;border-radius:10px;display:grid;gap:5px;min-width:0}.guide-steps>li:before{content:counter(steps);position:absolute;left:14px;top:14px;border-radius:50%;background:#e5eddd;color:#41694b;width:26px;height:26px;text-align:center;font-weight:700;line-height:26px}.guide-swipe{display:flex;align-items:center;gap:12px;margin-top:7px}.guide-swipe>span:first-child{font-size:38px;color:#b6984c;line-height:1}.guide-swipe small{font-size:.9em;color:#68765c}.guide-seatmap{position:relative;min-height:180px;margin:0;background:radial-gradient(ellipse,#edf2e4,#f7f9f0);border:1px solid #dfe7d7;border-radius:12px}.guide-seatmap svg{position:absolute;left:0;top:3px;width:100%;height:140px;color:#9eaa7d}.guide-seatmap>span,.guide-seatmap>strong{position:absolute;font-size:15px;padding:3px 8px;border-radius:5px;background:#fdfcf1;border:1px solid #dfdfc8;white-space:nowrap}.map-north{top:13px;left:50%;transform:translate(-50%)}.map-east{top:61px;right:6px}.map-west{top:61px;left:6px}.guide-seatmap .map-south{top:107px;left:50%;transform:translate(-50%);background:#35644d;color:#fff;border-color:#35644d}.guide-seatmap figcaption{position:absolute;left:8px;right:8px;bottom:8px;text-align:center;font-size:12px;color:#6e8061}.guide-more{border:1px solid #dae3d2;border-radius:10px;margin:12px 0;background:#fcfdf7;min-width:0}.guide-more summary{padding:13px 16px;cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center;font-weight:600;list-style:none;min-height:48px;color:#355c42}.guide-more summary::-webkit-details-marker{display:none}.guide-more summary>span{font-weight:400;color:#7a8b6b}.guide-more[open] summary{background:#eff4e8;border-radius:10px 10px 0 0}.guide-more[open] summary>span{transform:rotate(45deg)}.guide-more>div{padding:14px 16px 4px;min-width:0}.guide-priority{display:flex;align-items:center;justify-content:center;gap:12px;padding:14px;background:#edf3e5;border-radius:8px;color:#375f44;font-weight:700}.guide-priority span{color:#94a482}.guide-win-shape{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;padding:16px;background:#f2f5e9;border-radius:10px;margin-bottom:18px}.guide-win-shape>div{display:grid;justify-items:center;gap:8px}.guide-win-shape small{font-size:13px;color:#748064}.guide-optional{font-size:.85em;color:#798469}.guide-clean-list{list-style:none;padding:0;margin:0}.guide-clean-list li{display:grid;gap:4px;padding:12px 0;border-bottom:1px solid #e0e8d9}.guide-clean-list li:last-child{border-bottom:0}.guide-score-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.guide-score-grid>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;background:#f0f4e7;border:1px solid #dce5d0;border-radius:8px}.guide-score-grid strong{font-size:1.5em;color:#8b6d2c}.guide-tier{padding:16px;border:1px solid #dfd4af;border-radius:10px;background:#fbf6e6;margin-bottom:16px}.guide-tier>div{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e7dfc6;padding:10px 0}.guide-book .guide-tier p{font-size:.93em;margin:4px 0 0}.guide-streak{display:flex;gap:16px;align-items:center;justify-content:center;padding:12px;background:#f0f4e9;border-radius:8px;margin-bottom:14px}.guide-streak span{display:grid;gap:2px;text-align:center;font-size:.9em}.guide-streak b{font-size:1.5em;color:#947335}.guide-streak i{font-style:normal;color:#9daa8c}.guide-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e0e6d7;margin-top:24px;padding-top:12px;color:#87937a;font-size:.9em}.modal-scrim .guide-pager button{padding:8px 14px;border:1px solid #cddbc2;border-radius:8px;background:#eef4e7;font-size:inherit;color:#416447;min-height:44px}@media(max-width:600px){.guide-book .guide-header{padding:16px 50px 10px 16px}.guide-body{padding:16px}.guide-tabs{padding:6px 10px}.guide-two{grid-template-columns:1fr}.guide-examples-grid,.guide-action-grid,.guide-rule-pair{gap:10px}.guide-example,.guide-rule-pair>article,.guide-action-grid>article{padding:12px}.guide-cards{gap:3px}.guide-card{width:32px;height:42px}.guide-score-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-seatmap{min-height:180px}.guide-book .guide-body .guide-chapter-title{font-size:1.15em}}@media(max-width:430px){.guide-action-grid,.guide-rule-pair{grid-template-columns:1fr}.guide-example .guide-card{width:30px;height:40px}.guide-examples-grid{gap:8px}.guide-example{padding:10px}.guide-example .guide-cards{gap:2px}.guide-priority{gap:9px}}@media(max-height:500px)and (orientation:landscape){.guide-book .guide-header{padding:10px 52px 8px 18px}.modal-scrim .guide-book .guide-header p{display:none}.guide-tabs{padding:4px 12px}.modal-scrim .guide-book .guide-tabs button[role=tab]{padding:6px 9px;min-height:40px}.guide-body{padding:14px 18px}.guide-seatmap{min-height:170px}.guide-book .guide-header h2{font-size:21px}}@media(max-width:600px)and (orientation:portrait){.modal-scrim.in-game .guide-book .guide-header{padding:10px 52px 8px 18px}.modal-scrim.in-game .guide-book .guide-header p{display:none}.modal-scrim.in-game .guide-book .guide-header h2{font-size:21px}.modal-scrim.in-game .guide-tabs{padding:4px 12px}.modal-scrim.in-game .guide-book .guide-tabs button[role=tab]{padding:6px 9px;min-height:40px}.modal-scrim.in-game .guide-body{padding:14px 18px}.modal-scrim.in-game .guide-two,.modal-scrim.in-game .guide-rule-pair,.modal-scrim.in-game .guide-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-scrim.in-game .guide-score-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.modal-scrim .modal.guide-modal>button.close{position:absolute;inset:8px 10px auto auto;margin:0;padding:0;transform:none;float:none;width:36px;height:36px;line-height:36px;z-index:5}.modal-scrim .modal.desktop-modal{width:min(640px,calc(var(--dialog-width,100dvw) - 24px));max-width:100%;padding:22px 24px;color:#385b43}.modal-scrim .modal.desktop-modal>button.close{position:absolute;inset:8px 10px auto auto;width:36px;height:36px;margin:0;padding:0;transform:none;float:none;z-index:5}.modal-scrim .desktop-modal h2{font:600 clamp(21px,1.7vmax,27px)/1.3 system-ui,sans-serif;margin:0 30px 10px 0}.desktop-modal .entry-intro{font-size:inherit;color:#6d7d64;margin:0 0 16px;line-height:1.5}.entry-devices{display:flex;gap:5px;padding:4px;border:1px solid #dce4d3;border-radius:10px;background:#edf2e5;margin-bottom:12px}.modal-scrim .desktop-modal .entry-devices button{flex:1;padding:8px;border-radius:7px;font-size:16px;min-height:44px;color:#617458}.modal-scrim .desktop-modal .entry-devices button[aria-pressed=true]{background:#36664f;color:#fffef4;box-shadow:0 2px 5px #31503b18}.desktop-modal ol.entry-steps{list-style:none;padding:0;line-height:1.5;margin:0;display:grid;gap:10px}.desktop-modal .entry-steps li{display:flex;align-items:center;gap:12px;margin:0;padding:12px;background:#f6f8ef;border:1px solid #dfe6d6;border-radius:10px;min-width:0}.entry-step-number{width:23px;height:23px;border-radius:50%;background:#e1e9d6;color:#51714c;display:grid;place-items:center;font-size:14px;font-weight:700;flex:none}.entry-icon{width:38px;height:38px;color:#557b58;flex:none}.entry-steps li>div{min-width:0;display:grid;gap:3px}.entry-steps b{font-size:inherit;color:#365b40}.entry-steps div>span{font-size:.9em;color:#6e7d63;overflow-wrap:anywhere}.entry-steps small{font-size:.8em;color:#7c886d}.entry-finish{display:flex;align-items:center;justify-content:center;gap:12px;padding:15px 0 12px;font-size:.95em;color:#69785e;line-height:1.5}.entry-finish b{display:block;color:#3e6646}.entry-game-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:10px;background:#315d48;box-shadow:inset 0 0 0 3px #426e54;color:#f6e9b7;font:30px Penghu,serif}.entry-installed{display:flex;align-items:center;justify-content:center;gap:12px;padding:30px 10px;color:#4e754c}.desktop-modal .entry-browser-hint,.desktop-modal .entry-message{font-size:.9em;color:#6b7c61;line-height:1.5;margin:8px 0}.modal-scrim .desktop-modal .entry-done,.modal-scrim .desktop-modal .entry-install{width:100%;border-radius:8px;min-height:44px;padding:9px 14px;font-size:inherit}.entry-done{border:1px solid #cddbc0;background:#eef4e6;color:#466c49}.entry-install{margin:4px 0 10px}@media(max-width:420px){.modal-scrim .modal.desktop-modal{padding:20px 16px 14px}.desktop-modal .entry-steps li{padding:10px;gap:8px}.entry-icon{width:30px;height:30px}.entry-step-number{width:21px;height:21px}.entry-finish{padding:12px 0}}@media(max-height:500px)and (orientation:landscape){.modal-scrim .modal.desktop-modal{width:min(840px,calc(var(--dialog-width,100dvw) - 24px));padding:14px 18px}.desktop-modal .entry-intro{margin-bottom:10px}.entry-devices{max-width:360px;margin-bottom:10px}.desktop-modal ol.entry-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.desktop-modal .entry-steps li{position:relative;display:grid;justify-items:start;padding:10px;gap:5px}.entry-steps .entry-step-number{position:absolute;right:9px;top:9px}.entry-icon{width:28px;height:28px}.entry-finish{padding:8px 0}.entry-game-icon{width:34px;height:34px;font-size:24px}.entry-steps div>span{font-size:14px}.entry-steps small{font-size:12px}.modal-scrim .desktop-modal .entry-devices button{min-height:38px;padding:4px}}@media(max-width:600px)and (orientation:portrait){.modal-scrim.in-game .modal.desktop-modal{width:calc(var(--dialog-width,100dvw) - 24px);padding:14px 18px}.modal-scrim.in-game .desktop-modal ol.entry-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.modal-scrim.in-game .desktop-modal .entry-steps li{position:relative;display:grid;padding:10px;gap:5px;align-content:start}.modal-scrim.in-game .entry-step-number{position:absolute;right:9px;top:9px}.modal-scrim.in-game .entry-icon{width:28px;height:28px}.modal-scrim.in-game .entry-devices{max-width:360px}.modal-scrim.in-game .entry-finish{padding:8px 0}}@media(max-height:500px)and (orientation:landscape){.modal-scrim .modal.desktop-modal{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;align-items:center}.desktop-modal>h2,.desktop-modal>.entry-devices,.desktop-modal>.entry-steps,.desktop-modal>.entry-install,.desktop-modal>.entry-message,.desktop-modal>.entry-installed,.desktop-modal>.entry-browser-hint{grid-column:1/-1}.desktop-modal>.entry-intro{display:none}.desktop-modal>.entry-finish{justify-content:flex-start;grid-column:1}.modal-scrim .desktop-modal>.entry-done{grid-column:2;min-width:120px;width:auto}.desktop-modal .entry-finish b{display:inline;margin:0 4px}}@font-face{font-family:Penghu;src:url(/fonts/penghu.woff2) format("woff2");font-display:swap}:root{font-family:Microsoft YaHei,PingFang SC,sans-serif;color:#273f36;background:#f6f5ef;font-synthesis:none;--green:#285e4e;--gold:#e1b965;--muted:#8b948a}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit;touch-action:manipulation}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #daa958;outline-offset:3px}a{color:inherit;text-decoration:none}input,select{outline:none}button,select,input{-webkit-tap-highlight-color:transparent}input{min-width:0}h1,h2,h3,p{margin-top:0}.lobby{max-width:1280px;margin:0 auto;padding:32px 58px 0}.lobby-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:26px;border-bottom:1px solid #dde2d8}.brand{display:flex;gap:12px;align-items:center;font-family:serif;font-weight:700;font-size:23px;letter-spacing:2px}.brand-seal{border:1px solid #426e55;background:#2e604c;color:#f6f5e8;padding:4px 8px;border-radius:7px;font-size:28px;font-family:Penghu,KaiTi,serif;box-shadow:inset 0 0 0 3px #436e57}.brand small{font:8px Arial;letter-spacing:3px;display:block;margin-top:5px;color:#879185}.lobby-header nav{display:flex;gap:24px;font-size:13px}.lobby-header nav button{padding:10px}.lobby-grid{display:grid;grid-template-columns:1fr 430px;gap:75px;padding:45px 0 35px}.hero{position:relative;padding-top:14px}.eyebrow{font-size:11px;letter-spacing:3px;color:#6e826f;font-weight:500}.eyebrow>span{display:inline-block;width:6px;height:6px;border-radius:50%;background:#689372;margin-right:7px;vertical-align:middle}.hero h1{font-family:Songti SC,SimSun,serif;font-size:clamp(46px,5.2vw,68px);letter-spacing:4px;line-height:1.3;font-weight:500;margin:22px 0}.hero h1>span{color:#417858}.hero-sub{font-size:14px;line-height:2.15;color:#7d897c}.hero-art{height:280px;position:relative;margin-top:5px}.hero-ring{position:absolute;border:1px solid #dbe3d7;border-radius:50%;width:270px;height:270px;left:55px;top:7px;background:radial-gradient(ellipse,#e5ecd9,transparent 68%)}.hero-ring:after{content:"";position:absolute;inset:17px;border:1px dashed #d7dece;border-radius:50%}.art-card{position:absolute;width:91px;height:168px;top:28px;background:linear-gradient(110deg,#fffefa,#ebe8dc);border:1px solid #d8d7c9;border-radius:8px;box-shadow:4px 8px #c4c6b5,10px 18px 24px #3a4f3428;display:flex;align-items:center;flex-direction:column;z-index:2;transform-origin:bottom center}.art-card span{font-family:Penghu,KaiTi,STKaiti,serif;font-size:67px;color:#a34136;line-height:1.1;margin-top:16px}.art-card i{border:1px solid #b86154;font:12px serif;color:#b86154;position:absolute;bottom:21px;padding:1px 3px;writing-mode:vertical-rl}.c1{left:83px;transform:rotate(-15deg)}.c2{left:162px;top:12px;z-index:3;transform:rotate(1deg)}.c3{left:241px;transform:rotate(15deg)}.art-caption{position:absolute;bottom:17px;left:133px;letter-spacing:5px;font:16px serif;color:#7c8065;text-align:center}.art-caption span{display:block;font:10px sans-serif;letter-spacing:2px;margin-top:10px;color:#959b89}.hero-notes{display:flex;gap:12px;font-size:10px;color:#889381;letter-spacing:1px;padding-top:15px}.hero-notes i{font-style:normal;color:#b7bdad}.start-panel{padding:30px 30px 22px;border:1px solid #dfe4d9;border-radius:16px;background:#fffefa;box-shadow:0 12px 35px #25462a06}.panel-title h2{font-family:SimSun,serif;font-size:28px;font-weight:500;margin:11px 0 10px;letter-spacing:2px}.panel-title>p{font-size:12px;color:#98a090;margin-bottom:25px}.input-label{display:block;font-size:12px;color:#5b6b5b;margin:16px 0 10px}.name-input{border:1px solid #e0e5db;display:flex;align-items:center;background:#f8f9f3;height:46px;gap:12px;border-radius:7px;padding:0 14px}.name-input>span{font-size:25px;color:#769477}.name-input input{width:100%;border:0;background:none;font-size:13px;color:#40573e}.name-input small{font-size:9px;color:#a7ae9d;white-space:nowrap}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mode-card{border:1px solid #e3e7df;border-radius:8px;padding:15px 12px;text-align:left;position:relative;background:#fffefa;transition:.18s}.mode-card:hover{border-color:#90ae90;background:#fafcf6}.mode-card.selected{border:1px solid #527e59;background:#eff5e9;box-shadow:inset 0 0 0 .5px #527e59}.mode-icon{color:#668961;display:block;font-size:24px;height:30px;line-height:1}.mode-card b{display:block;font-size:13px;font-weight:600;margin-top:5px}.mode-card small{display:block;font-size:9px;color:#98a08e;margin-top:7px;white-space:nowrap}.mode-card i{position:absolute;right:10px;top:10px;background:#537c59;color:#fff;width:16px;height:16px;line-height:16px;border-radius:50%;text-align:center;font-size:10px;font-style:normal}.practice-options{display:flex;align-items:center;justify-content:space-between;margin:22px 0;font-size:11px;color:#788c72}.practice-options select,.setting-row select{border:1px solid #e1e7db;border-radius:5px;padding:7px 10px;background:#f8faf3;color:#63765a;font-size:11px}.primary{background:#2e604c;color:#fffef3;border-radius:7px;padding:14px 22px;font-weight:600;font-size:13px;box-shadow:0 5px 10px #244b3214;transition:background .2s}.primary:hover{background:#3d775d}.start-button{display:flex;justify-content:space-between;align-items:center;width:100%;font-size:14px;letter-spacing:1px}.start-button span{font-size:20px;font-weight:400}.panel-foot{font-size:10px;text-align:center;color:#a1a994;margin:11px 0 20px}.panel-tip{border-top:1px solid #e9ecdf;display:flex;gap:12px;padding-top:18px;font-size:11px}.panel-tip>span{font-size:24px;color:#bdaa75}.panel-tip p{margin:0;color:#839078}.panel-tip button{padding:0;color:#548064;font-size:11px}.panel-tip small{display:block;margin-top:8px;color:#a1aa98;font-size:10px}.room-input{width:100%;padding:12px;margin:15px 0;border:1px solid #dbe2d3;border-radius:7px;letter-spacing:5px;background:#f5f8ee;color:#335d45}.lobby-footer{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#a5ad9c;border-top:1px solid #e0e4d8;padding:20px 0 24px}.error{color:#b3493c;font-size:12px}.connect-status{font-size:12px;color:#577b57}.game-page{height:100dvh;width:100%;display:flex;flex-direction:column;background:#e9ede1;padding:0 16px;color:#fffef2;overflow:hidden}.game-header{flex:0 0 56px;display:flex;gap:18px;align-items:center;color:#355742;font-size:12px;width:100%;max-width:1440px;margin:auto}.table-brand{font-family:Penghu,KaiTi,serif;font-size:24px;letter-spacing:2px}.back-button{font-size:14px}.room-tag{font-size:11px;color:#6f846a;padding:7px 12px;background:#f5f7ee;border-radius:20px}.room-tag button{font-size:10px;padding:0 0 0 5px;text-decoration:underline}.spacer{flex:1}.base-control{display:flex;gap:6px;align-items:center}.base-control select{border:1px solid #cad8c4;border-radius:4px;background:#f9faef;color:#577650}.table-wrap{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}.table{position:relative;container-type:inline-size;width:min(100%,calc((100dvh - 88px)*16/9));aspect-ratio:16/9;max-width:1440px;border:9px solid #8b6c43;border-radius:30px;background:radial-gradient(ellipse at 50% 40%,#477960,#275942 75%);box-shadow:inset 0 0 0 2px #ad8955,inset 0 0 70px #112f2566,0 7px 18px #3c523629;overflow:hidden;isolation:isolate}.table:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.14;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.5' filter='url(%23n)'/%3E%3C/svg%3E")}.table:after{content:"";position:absolute;inset:2.2%;border:1px solid #adca9040;border-radius:20px;pointer-events:none}.table-emboss{position:absolute;left:38%;top:28%;width:24%;font-family:Penghu,KaiTi,serif;font-size:4cqw;opacity:.13;text-align:center;letter-spacing:.4cqw}.table-emboss small{display:block;font-family:sans-serif;font-size:.9cqw;letter-spacing:.25cqw}.seat{position:absolute;z-index:2;font-size:1cqw}.south{bottom:3%;left:2.7%;width:19%;height:30%}.east{right:2.7%;top:28%;width:18%;height:42%}.west{left:2.7%;top:28%;width:18%;height:42%}.north{top:4%;left:34%;width:32%;height:24%}.player-info{display:flex;align-items:center;gap:.8cqw;position:relative}.avatar{width:4.3cqw;height:4.3cqw;display:grid;place-items:center;border-radius:1.1cqw;background:linear-gradient(140deg,#f5e9bf,#d2c698);border:2px solid #e6dcae;color:#5b6645;font-family:serif;font-size:1.9cqw;position:relative;box-shadow:0 3px 8px #102e2844}.avatar i{position:absolute;right:-3px;bottom:-3px;width:.8cqw;height:.8cqw;border-radius:50%;background:#93d196;border:2px solid #356749}.player-info b{display:block;max-width:12cqw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:1.05cqw;font-weight:500}.score{display:block;color:#f3d68b;font-size:1.1cqw;font-variant-numeric:tabular-nums;margin:.3cqw 0}.player-info small{font-size:.72cqw;color:#b9d0af;display:block}.player-info em{font-style:normal;background:#d9b258;color:#2f553e;padding:.15cqw .4cqw;border-radius:.25cqw}.player-info .alarm{background:#b95645;color:#ffe6bf}.active .avatar{box-shadow:0 0 0 .3cqw #e9d58566,0 0 18px #e9d58588}.north .player-info{justify-content:center}.north .opponent-hand{top:.2cqw;right:-10cqw}.opponent-hand{display:flex;max-width:14cqw;margin:.8cqw 0;position:relative;flex-wrap:wrap;gap:.15cqw}.opponent-hand .tile{width:1cqw;height:1.5cqw;font-size:.8cqw;box-shadow:0 1px 1px #0c2d2777}.opponent-hand.revealed{max-width:18cqw}.opponent-hand.revealed .tile{width:1.8cqw;height:2.3cqw;font-size:1.65cqw}.tile{position:relative;display:block;flex-shrink:0;width:4.5cqw;height:8.5cqw;background:linear-gradient(105deg,#fffef7,#e9e6d8);color:#34312a;border:1px solid #d8d1b6;border-radius:.35cqw;box-shadow:0 .2cqw #c3baa4,.15cqw .3cqw .5cqw #14282040;font-family:Penghu,KaiTi,STKaiti,serif;font-size:3.5cqw;padding:.1cqw 0 0;line-height:1;text-align:center;overflow:hidden}.tile>span{display:block;position:absolute;top:.2cqw;left:0;right:0}.tile.red{color:#b13d34}.tile>i{position:absolute;bottom:.7cqw;left:42%;border:1px solid #b75a46;color:#b75a46;font:.7cqw serif;font-style:normal;padding:.1cqw}.tile.small{width:2.4cqw;height:2.7cqw;font-size:2.05cqw;border-radius:.2cqw}.tile.small i{display:none}.tile.back{background:repeating-linear-gradient(45deg,#896343 0 2px,#997550 2px 4px);border-color:#c9ab70;color:#dcc7a0}.tile .back-mark{border:1px solid #b89c66;margin:.1cqw .2cqw;font-size:70%;line-height:1.1}.melds{display:flex;gap:.65cqw;position:absolute;max-width:18cqw;flex-wrap:wrap;top:5.8cqw;left:0}.meld-stack{position:relative}.mini-pile{display:flex;flex-direction:column}.mini-pile .tile{margin-top:-.6cqw}.meld-stack>span{font-size:.6cqw;color:#d4dbb8;display:block;max-width:4cqw;text-align:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:.5cqw}.meld-stack sup{position:absolute;right:-.35cqw;top:-.25cqw;background:#b65342;border-radius:.15cqw;color:#ffe0b1;padding:.1cqw .2cqw;font-size:.55cqw}.north .melds{left:-16cqw;top:0}.south .melds{left:18cqw;top:0;max-width:20cqw}.east .melds{left:-5cqw;max-width:5cqw;top:0}.west .melds{left:15cqw;max-width:5cqw;top:0}.discard-zone{position:absolute;top:5.5cqw;left:4.3cqw;width:13cqw;min-height:3cqw;background:#123d2920;border:1px solid #aac88730;border-radius:.6cqw;padding:.35cqw .5cqw}.discard-zone>span{font-size:.6cqw;color:#9fc49a;display:block;margin-bottom:.3cqw}.discard-zone>div{display:flex;flex-wrap:wrap;gap:.2cqw}.discard-zone .tile{width:1.65cqw;height:1.85cqw;font-size:1.5cqw;pointer-events:none}.north .discard-zone{top:5.4cqw;left:10cqw}.south .discard-zone{top:-5cqw;left:18cqw;width:18cqw}.east .discard-zone,.west .discard-zone{top:9cqw;left:0}.latest{outline:2px solid #f7dc81;border-radius:.25cqw;box-shadow:0 0 1cqw #f5ce6377;animation:land .4s ease-out}.table-center{position:absolute;left:33%;top:34%;width:34%;text-align:center;z-index:2}.round-info{font-size:.85cqw;color:#b5d0a3;letter-spacing:.05cqw}.round-info span{margin:0 .5cqw}.deck{background:linear-gradient(125deg,#a45741,#773e30);border:1px solid #d3b065;border-radius:.45cqw;padding:.6cqw;width:4.4cqw;display:inline-block;margin-top:1.3cqw;box-shadow:.15cqw .25cqw #693b2c}.deck b{display:block;font:2cqw Georgia;color:#f1d88f;line-height:1}.deck span{font-size:.6cqw;color:#d1b78a}.current-card{display:inline-flex;vertical-align:top;flex-direction:column;margin-left:1.5cqw;margin-top:.7cqw;animation:land .45s ease-out}.current-card .tile{height:6cqw;width:3.5cqw;font-size:3cqw}.current-card small{color:#e6e7cb;font-size:.65cqw;margin-top:.5cqw}.current-card.discard{animation:land .45s ease-out,glow 1.2s .45s}.prompt{font-size:1cqw;color:#f4e5b4;margin-top:1cqw;min-height:1.2cqw}.thinking{color:#b0ca98;letter-spacing:.25cqw;margin-left:.4cqw;animation:blink 1s infinite}.hand-area{position:absolute;bottom:3%;left:23%;width:54%;z-index:5;-webkit-user-select:none;user-select:none;touch-action:none}.hand-hint{text-align:center;font-size:.8cqw;color:#bad2a8;margin-bottom:.6cqw;height:1.4cqw}.hand-hint b{color:#eadc9e;font-weight:400}.hand-hint .waits{color:#ffd5b2}.hand{display:flex;gap:.65cqw;align-items:flex-end;justify-content:center}.hand-pile{display:flex;flex-direction:column;gap:.15cqw;min-height:4.2cqw}.hand-tile{height:4.2cqw;width:4.3cqw;overflow:hidden;border-radius:.35cqw;box-shadow:0 .18cqw .2cqw #17382b66;touch-action:none}.hand .tile{width:4.3cqw;font-size:3.35cqw;box-shadow:none;touch-action:none}.playable .hand-tile:hover{transform:translateY(-.3cqw);outline:1px solid #e6cf80}.actions{position:absolute;right:20%;bottom:31%;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.6cqw;max-width:65%;z-index:8}.actions button{border-radius:2cqw;border:1px solid #d8c475;padding:.9cqw 1.5cqw;font-size:1.15cqw;color:#fff3bf;background:linear-gradient(#b49b55,#978141);box-shadow:0 .25cqw .2cqw #213f3080}.actions .hu-button{background:linear-gradient(#c16849,#9a4032);font-size:1.5cqw}.actions .pass-button{background:#54775a;color:#cadbb7;border-color:#98b58a}.table-tools{position:absolute;bottom:4%;right:3%;display:flex;flex-direction:column;gap:.6cqw;z-index:8}.table-tools button{border:1px solid #a5b98c66;background:#28533c99;color:#c7d8ac;border-radius:.6cqw;padding:.5cqw .8cqw;font-size:.8cqw}.table-tools .auto-on{background:#ae9a55;color:#fff7d8}.game-footer{flex:0 0 32px;width:100%;max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;color:#7f9377;font-size:10px}.coin-layer,.three-layer{position:absolute;inset:0;z-index:10;pointer-events:none}.three-layer canvas{display:block;width:100%;height:100%}.coin-flight{position:absolute;background:radial-gradient(circle at 35% 30%,#ffe49d,#d2982a);color:#9b6b16;border:2px solid #efc86b;width:2cqw;height:2cqw;border-radius:50%;display:grid;place-items:center;font-size:1cqw;box-shadow:0 0 .6cqw #ebc56177;animation:coin .65s ease-in-out forwards}.score-float{position:absolute;font-size:1.6cqw;font-weight:700;text-shadow:0 2px 4px #203c23;animation:float 1.5s ease-out forwards;z-index:15}.positive{color:#66c48b}.negative{color:#ef8b78}.toast{position:absolute;bottom:37%;left:50%;transform:translate(-50%);font-size:1cqw;padding:.7cqw 1.5cqw;border-radius:1cqw;background:#173d2edf;color:#f4e7b4;z-index:20}.end-banner{position:absolute;left:32%;top:46%;width:36%;background:#244e3ce8;border:1px solid #c5b071;border-radius:1cqw;display:flex;flex-direction:column;align-items:center;gap:1cqw;padding:1.4cqw;z-index:8}.end-banner>span{font-family:serif;color:#f3d987;font-size:1.8cqw}.end-banner .primary{background:#b09650;font-size:1cqw;padding:.6cqw 1.8cqw}.modal-scrim{position:fixed;inset:0;background:#132b235c;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:24px;z-index:100}.modal{background:#fffef7;color:#35533f;width:440px;max-height:90dvh;overflow:auto;padding:35px;border:1px solid #dbe2ce;border-radius:16px;position:relative;box-shadow:0 15px 60px #17362944}.modal.wide{width:760px}.modal h2{font-family:serif;font-size:28px;font-weight:500;margin:8px 0 25px}.close{position:absolute;right:17px;top:11px;font-size:27px;color:#91a282;z-index:2}.setting-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8ecd9;padding:16px 0;font-size:13px;gap:15px}.setting-row small{display:block;font-size:10px;color:#91a17e;margin-top:7px}.setting-row input[type=checkbox]{appearance:none;width:36px;height:21px;background:#cdd8c2;border-radius:20px;position:relative;cursor:pointer;transition:.2s;flex-shrink:0}.setting-row input[type=checkbox]:checked{background:#55835a}.setting-row input[type=checkbox]:after{content:"";position:absolute;width:15px;height:15px;border-radius:50%;background:#fffef3;top:3px;left:3px;transition:.2s}.setting-row input[type=checkbox]:checked:after{left:18px}.setting-row input[type=range]{accent-color:#4c7950;width:150px}.settings-note{font-size:11px;line-height:1.8;color:#94a084;margin:20px 0 0}.guide{font-size:13px;line-height:1.9}.guide p{color:#71836b}.guide h3{font-size:16px;border-bottom:1px solid #e5ebd9;padding:12px 0 8px;color:#3c6247;margin-bottom:14px}.guide-examples{display:flex;gap:12px;margin:22px 0}.guide-examples>span{flex:1;text-align:center;color:#9e473d;font:22px Penghu,KaiTi,serif;background:#f5f4e7;border:1px solid #e5e5d2;border-radius:6px;padding:12px 4px}.guide-examples small{display:block;font:10px sans-serif;color:#8c987d;margin-top:10px}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;margin:18px 0 25px}th{background:#eef3e5;color:#658256;font-weight:500}td,th{padding:10px;border-bottom:1px solid #e6ead8}.ledger-scores{display:flex;justify-content:space-between;font-size:10px;gap:12px}.ledger-scores b{display:block;font-size:19px;font-family:Georgia;color:#b49756;margin-top:7px}.ledger{margin-top:20px;max-height:50vh;overflow:auto}.ledger p{font-size:12px;border-bottom:1px solid #edf0e1;padding:8px 0;margin:0}.ledger small{font-size:9px;color:#a4ad93;margin-right:10px}.ledger .transfer{color:#9c854f}.settlement>button{width:100%;margin-bottom:10px}.settlement>p{font-size:13px;color:#869975}@keyframes coin{0%{transform:translate(0) rotate(0)}50%{left:var(--mid-x);top:calc(var(--mid-y) - 4%);transform:rotate(180deg)}to{left:var(--to-x);top:var(--to-y);transform:rotate(360deg);opacity:.7}}@keyframes float{0%{opacity:0;transform:translate(-50%)}15%{opacity:1}to{opacity:0;transform:translate(-50%,-3cqw)}}@keyframes land{0%{transform:translateY(-1.5cqw) scale(.9);opacity:.5}to{transform:translateY(0) scale(1);opacity:1}}@keyframes blink{50%{opacity:.3}}@keyframes glow{50%{filter:drop-shadow(0 0 .8cqw #e8d177)}}@media(min-width:1450px){.lobby{padding-top:50px}.lobby-grid{padding-top:65px}}@media(max-width:1000px){.lobby{padding:25px 30px 0}.lobby-grid{grid-template-columns:1fr 380px;gap:30px}.start-panel{padding:25px}.hero-art{transform:scale(.9);transform-origin:left center}.hero-notes{gap:7px;font-size:9px}.game-header{gap:12px}.game-page{padding:0 8px}.table{border-width:6px;border-radius:20px}}@media(max-width:750px){.lobby{padding:18px 20px 0}.lobby-header{padding-bottom:16px}.brand{font-size:19px}.lobby-header nav{gap:3px;font-size:11px}.lobby-grid{grid-template-columns:1fr;padding-top:25px;gap:20px}.hero{padding:0}.hero h1{font-size:42px;margin:14px 0;line-height:1.15}.hero-sub{font-size:12px}.hero-art{position:absolute;width:320px;height:260px;transform:scale(.48);transform-origin:top right;right:0;top:65px}.hero-ring{display:none}.hero-notes{padding-top:4px;font-size:8px}.start-panel{width:100%;padding:24px}.hero .eyebrow{font-size:9px}.lobby-footer{font-size:8px;gap:10px;margin-top:8px}.mode-card{padding:14px}.game-header{flex-basis:36px;gap:9px;font-size:10px}.table-brand{font-size:18px}.room-tag{font-size:9px;padding:5px 8px}.game-footer{flex-basis:20px;font-size:8px}.table{width:min(100%,calc((100dvh - 56px)*16/9));border-width:5px}.game-page{padding:0 5px}.modal-scrim{padding:12px}.modal{padding:26px;max-height:92dvh}.guide-examples{gap:4px}.guide-examples>span{font-size:18px}.guide-examples small{font-size:8px}}@media(orientation:portrait){.game-page{position:fixed;width:100dvh;height:100dvw;left:50%;top:50%;transform:translate(-50%,-50%) rotate(90deg);padding:0 5px}.game-page .table{width:min(100%,calc((100dvw - 56px)*16/9))}.game-page .game-header{flex-basis:36px;gap:9px;font-size:10px}.game-page .table-brand{font-size:18px}.game-page .game-footer{flex-basis:20px;font-size:8px}.game-page>.modal-scrim{position:absolute}.game-page .modal{max-height:85%;width:440px}}@media(prefers-reduced-motion:reduce){.thinking{animation:none}.coin-flight{animation-duration:.3s}.score-float{animation-duration:.8s}}.opponent-hand .tile.small{width:1cqw;height:1.5cqw;font-size:.8cqw}.opponent-hand.revealed .tile.small{width:1.8cqw;height:2.3cqw;font-size:1.65cqw}@media(max-height:500px)and (orientation:landscape){.game-header{flex-basis:36px;gap:10px;font-size:10px}.game-footer{flex-basis:20px;font-size:8px}.table{width:100%;height:100%;aspect-ratio:auto;border-width:5px}.game-page{padding:0 5px}}@media(orientation:portrait){.game-page .table{width:100%;height:100%;aspect-ratio:auto}}@media(max-height:500px)and (orientation:landscape){.table-center{top:26%}.actions{bottom:43%}}@media(orientation:portrait){.game-page .table-center{top:26%}.game-page .actions{bottom:43%}}.score-float.negative{animation-name:float-down}@keyframes float-down{0%{opacity:0;transform:translate(-50%)}15%{opacity:1}to{opacity:0;transform:translate(-50%,3cqw)}}.hand{position:relative}.hand-pile.free-pile{position:absolute;z-index:6}.hand .tile{height:4.2cqw}.hand .tile i{display:none}.player-info small,.meld-stack>span,.discard-zone>span,.deck span,.current-card small{font-size:max(11px,.85cqw)}.meld-stack>span{max-width:7cqw}.meld-stack sup{font-size:max(10px,.7cqw)}.player-info b,.score,.round-info,.prompt,.hand-hint,.table-tools button,.toast{font-size:max(12px,1cqw)}.hand-hint{height:auto;min-height:1.4cqw}.actions button,.end-banner .primary{font-size:max(12px,1.15cqw)}.game-page .game-header,.game-page .room-tag,.game-page .game-footer{font-size:11px}.game-footer{gap:12px}.game-footer>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.opponent-hand{position:absolute;top:5.4cqw;left:0;margin:0}.north .opponent-hand{top:0;left:auto;right:-12cqw}.east .discard-zone,.west .discard-zone{top:9.5cqw}.east .opponent-hand,.west .opponent-hand{top:6.6cqw}.east .discard-zone,.west .discard-zone{top:10.2cqw}.melds{display:grid;grid-template-columns:repeat(5,3.2cqw);gap:.6cqw;max-width:none;flex-wrap:nowrap}.meld-stack{min-width:0}.meld-stack>span{max-width:3.2cqw}.mini-pile{align-items:center}.east .melds,.west .melds{grid-template-columns:repeat(3,3.2cqw);max-width:none;width:10.8cqw}.east .melds{left:-11.8cqw}.west .melds{left:15cqw}.north .melds,.south .melds{max-width:none;width:18.4cqw}.east .melds,.west .melds{top:2cqw}.south .melds,.south .discard-zone{left:28cqw}.many-melds .hand-area{left:51%;width:28%}.many-melds .hand-pile{flex-direction:row;min-height:0;gap:.2cqw}.table>.current-card{position:absolute;z-index:7;margin:0;align-items:center;transform:translate(-50%);pointer-events:none}.table>.current-card[data-position=south]{left:53%;bottom:21%}.table>.current-card[data-position=north]{left:58%;top:21%}.table>.current-card[data-position=east]{left:78%;top:39%}.table>.current-card[data-position=west]{left:31%;top:39%}.table>.current-card small{max-width:15cqw;text-align:center;white-space:nowrap}@media(max-height:500px)and (orientation:landscape){.table>.current-card[data-position=south]{bottom:21%}.table>.current-card[data-position=north]{top:20%}}@media(orientation:portrait){.table>.current-card[data-position=south]{bottom:21%}.table>.current-card[data-position=north]{top:20%}}.round-tag{font-size:13px;font-weight:700;color:#416148;background:#e5ecd8;border:1px solid #bfd0ad;border-radius:14px;padding:5px 10px;white-space:nowrap}.game-page{padding:env(safe-area-inset-top) max(5px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(5px,env(safe-area-inset-left))}.game-header{gap:12px;flex-basis:46px;flex-shrink:0;white-space:nowrap}.game-header button{min-height:30px}.network-status{font-size:11px;color:#527454}.fullscreen-button{border:1px solid #bdcfaf;border-radius:5px;padding:4px 9px}.table{container-type:size;width:min(100%,calc((100dvh - 46px)*16/9))}.player-info{display:grid;grid-template-columns:clamp(28px,4.3cqw,52px) minmax(0,1fr);gap:6px;align-items:center}.avatar{width:100%;height:auto;aspect-ratio:1;font-size:clamp(18px,1.9cqw,25px)}.player-info b{max-width:100%;font-size:clamp(12px,1.05cqw,16px);line-height:1.25}.score{font-size:clamp(12px,1.1cqw,17px);line-height:1.2;margin:3px 0}.player-info small{display:flex;flex-wrap:wrap;gap:3px;align-items:center;font-size:11px;line-height:1.25}.player-info small>span{white-space:nowrap}.player-info em{padding:1px 3px}.seat{height:auto;width:18%}.north{top:3%;left:40%;width:20%}.north .player-info{justify-content:initial}.east,.west{top:19%;bottom:auto}.south{bottom:4%;width:19%}.opponent-hand,.east .opponent-hand,.west .opponent-hand{position:relative;top:auto;left:auto;right:auto;margin:6px 0;max-width:100%;flex-wrap:nowrap;overflow:hidden;gap:2px}.opponent-hand .tile.small{width:clamp(7px,.95cqw,13px);height:clamp(10px,1.5cqw,19px)}.north .opponent-hand{position:absolute;left:calc(100% + 16px);top:0;width:18cqw;max-width:none;flex-wrap:wrap}.discard-zone,.east .discard-zone,.west .discard-zone{position:relative;top:auto;left:auto;width:100%;min-height:0;margin-top:6px;padding:4px 5px}.discard-zone>span{font-size:11px;line-height:1.2;margin-bottom:3px}.discard-zone>div{flex-wrap:nowrap;overflow-x:auto;gap:3px;scrollbar-width:none}.discard-zone>div>span{flex:none}.discard-zone .tile{width:clamp(13px,1.65cqw,22px);height:clamp(16px,1.85cqw,25px);font-size:clamp(12px,1.5cqw,21px)}.north .discard-zone{position:absolute;left:calc(100% + 16px);top:clamp(28px,4cqh,42px);width:18cqw;margin:0}.south .discard-zone{position:absolute;left:0;top:auto;bottom:calc(100% + 8px);width:100%;margin:0}.melds{grid-template-columns:repeat(5,3.2cqw);gap:.6cqw}.north .melds{left:-21cqw;top:0}.south .melds{left:calc(100% + 8px);top:0;width:20cqw}.east .melds,.west .melds{top:0;grid-template-columns:repeat(3,3.2cqw);row-gap:7px;width:10.8cqw}.east .melds{left:-12cqw}.west .melds{left:calc(100% + 8px)}.mini-pile .tile{width:2.8cqw;height:clamp(16px,2.7cqw,35px);font-size:clamp(14px,2.2cqw,29px);margin-top:-.65cqw}.mini-pile .tile:first-child{margin-top:0}.meld-stack>span{font-size:11px;line-height:1.2;margin-top:4px;max-width:3.2cqw}.meld-stack sup{font-size:10px}.table-center{left:44%;top:26%;width:12%}.deck{width:auto;min-width:38px;margin:0;padding:5px 8px}.deck b{font-size:clamp(19px,2cqw,29px)}.deck span{font-size:11px;line-height:1.2}.table-prompt{position:absolute;z-index:3;left:32%;top:47%;width:36%;margin:0;line-height:1.3;font-size:clamp(12px,1cqw,16px);text-align:center;overflow-wrap:anywhere}.hand-area{bottom:4%;left:31%;width:44%;display:flex;flex-direction:column-reverse;gap:5px}.hand-hint{margin:0;min-height:0;font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hand-tile,.hand .tile{height:clamp(23px,8.4cqh,55px);width:clamp(25px,4.3cqw,56px)}.hand .tile{font-size:clamp(21px,3.35cqw,44px)}.hand-pile{min-height:0}.many-melds .hand-area{left:43%;width:36%}.many-melds .hand-pile{flex-direction:column;min-height:0;gap:.15cqw}.table-tools{right:2.7%;bottom:4%;gap:5px}.table-tools button{font-size:12px;line-height:1.2;padding:6px 8px}.actions{right:25%;bottom:43%;max-width:45%;gap:5px;max-height:30%;overflow-y:auto}.actions button{padding:6px 12px}.table>.current-card[data-position=north]{left:65%;top:26%}.table>.current-card[data-position=south]{left:38%;bottom:43%}.table>.current-card[data-position=west]{left:31%;top:25%}.table>.current-card[data-position=east]{left:69%;top:25%}.table>.current-card .tile{width:clamp(26px,3.5cqw,47px);height:clamp(38px,14cqh,75px);font-size:clamp(24px,3cqw,40px)}.table>.current-card small{font-size:11px;max-width:12cqw;white-space:normal;line-height:1.2;margin-top:4px}.table-emboss{top:25%;left:35%;width:30%;font-size:3cqw}.toast{bottom:auto;top:12%;font-size:12px;max-width:60%;text-align:center}@media(max-height:500px)and (orientation:landscape){.game-header{flex-basis:36px;gap:8px}.table-brand{font-size:19px}.round-tag{font-size:12px;padding:3px 7px}.room-tag{padding:4px 7px}.table{width:100%;height:100%;aspect-ratio:auto}.table-prompt{top:45%}.game-page{padding-top:0}.table-tools button{padding:5px 7px}.network-status{max-width:90px;overflow:hidden;text-overflow:ellipsis}}@media(orientation:portrait){.game-page{width:100dvh;height:100dvw;padding:0 5px}.game-page .table{width:100%;height:100%;aspect-ratio:auto}.game-page .game-header{flex-basis:36px}.game-page .table-center{top:26%}.game-page .actions{bottom:43%}}@media(max-width:800px){.game-header{gap:6px}.table-brand,.network-status{display:none}}.audio-status{font-size:12px;line-height:1.5;color:#527454;margin:8px 0 0;min-height:18px}.opponent-hand.revealed{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));max-width:100%;gap:3px;overflow:visible}.opponent-hand.revealed .tile.small{width:100%;height:clamp(20px,2.3cqw,30px);font-size:clamp(16px,1.65cqw,23px)}.north .opponent-hand.revealed{max-width:none}.table[data-phase=ended] .discard-zone,.table[data-phase=ended] .table-prompt,.table[data-phase=ended] .table-center{display:none}.end-banner{top:29%;padding:8px 10px;gap:8px}.end-banner>span{font-size:clamp(17px,1.8cqw,25px)}.end-banner .primary{font-size:12px;padding:7px 12px}.north .melds{left:-38cqw;width:36.4cqw;grid-template-columns:repeat(5,6.8cqw)}.north .mini-pile{flex-direction:row;gap:.15cqw}.north .mini-pile .tile{width:2.1cqw;margin:0;font-size:clamp(13px,1.8cqw,24px)}.north .meld-stack>span{max-width:6.8cqw}@media(max-height:350px)and (orientation:landscape){.east .opponent-hand:not(.revealed),.west .opponent-hand:not(.revealed){display:none}.east .discard-zone,.west .discard-zone{display:flex;align-items:center;gap:4px;padding:3px 4px}.east .discard-zone>span,.west .discard-zone>span{margin:0;white-space:nowrap;font-size:10px}.east .discard-zone>div,.west .discard-zone>div{flex:1;min-width:0}.table[data-phase=ended] .discard-zone{display:none}}.table-center,.game-page .table-center{top:22%}.table-prompt{top:48%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table>.current-card[data-position=south]{left:38%;top:20%;bottom:auto}.table>.current-card[data-position=north]{left:65%;top:20%}.table>.current-card[data-position=west]{left:37%;top:20%}.table>.current-card[data-position=east]{left:63%;top:20%}.table>.current-card small{white-space:nowrap}.end-banner{top:26%;left:33%;width:34%;flex-direction:row;justify-content:space-between;padding:6px 8px;gap:6px}.end-banner>span{flex:1;min-width:0;font-size:14px;line-height:1.3;overflow-wrap:anywhere}.end-banner .primary{flex:none;font-size:11px;padding:6px 8px}.north .mini-pile.count-4 .tile{width:1.55cqw;font-size:clamp(12px,1.4cqw,20px)}.north .opponent-hand{margin:0}.hand-area{left:33%;width:34%;--hand-width:34cqw;--hand-card-width:min(4.3cqw,calc((var(--hand-width) - (var(--hand-columns) - 1)*.65cqw)/var(--hand-columns)))}.many-melds .hand-area{left:43%;width:24%;--hand-width:24cqw}.hand-tile,.hand .tile{width:var(--hand-card-width)}.hand .tile{font-size:min(3.35cqw,calc(var(--hand-card-width)*.85))}.table[data-phase=ended] .east .melds,.table[data-phase=ended] .west .melds{top:6px}.south .melds{top:auto;bottom:0;align-items:end}.south .meld-stack>span{margin-top:5px;min-height:14px;line-height:14px}.east .melds,.west .melds{grid-template-columns:repeat(2,5cqw);width:10.6cqw;row-gap:3px}.east .mini-pile,.west .mini-pile{flex-direction:row;gap:0}.east .mini-pile .tile,.west .mini-pile .tile{width:1.6cqw;height:clamp(14px,1.8cqw,23px);font-size:clamp(11px,1.4cqw,19px);margin:0}.east .mini-pile.count-4 .tile:not(:first-child),.west .mini-pile.count-4 .tile:not(:first-child){margin-left:-.45cqw}.east .meld-stack>span,.west .meld-stack>span{max-width:5cqw;font-size:11px;line-height:11px;margin-top:2px}.table[data-phase=ended] .table-tools{flex-direction:row;bottom:2%;gap:5px}.table[data-phase=ended] .table-tools button{padding:5px 6px}.north .discard-zone{top:calc(clamp(10px,1.5cqw,19px) + 2px);display:flex;align-items:center;gap:4px;padding:3px 4px}.north .discard-zone>span{margin:0;white-space:nowrap;font-size:10px}.north .discard-zone>div{flex:1;min-width:0}.table[data-phase=ended] .north .discard-zone{display:none}.table-center,.game-page .table-center{top:26%}.table-prompt{left:33%;width:34%}.north .opponent-hand:not(.revealed){flex-wrap:nowrap;gap:.2cqw}.north .opponent-hand:not(.revealed) .tile.small{width:.85cqw}.meld-new-dot{position:absolute;top:-7px;right:1px;width:5px;height:5px;border-radius:50%;background:#f56b5a;box-shadow:0 0 0 1px #fff5c2;pointer-events:none}.ledger-modal{display:flex;flex-direction:column;width:min(660px,calc(100vw - 24px));height:min(600px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:8px 14px;overflow:hidden}.ledger-modal h2{flex:none;font-size:20px;line-height:22px;margin:0;padding-right:32px}.ledger-modal .close{top:8px;right:10px;width:28px;height:28px;line-height:28px;padding:0}.ledger-modal .ledger-scores{flex:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:5px 0;padding:0}.ledger-modal .ledger-scores>div{display:flex;align-items:center;gap:5px;min-width:0;font-size:12px;line-height:20px}.ledger-modal .ledger-scores span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ledger-modal .ledger-scores b{flex:none;display:inline;font-size:15px;line-height:20px;margin:0}.ledger-modal .ledger{flex:1;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;margin:0}.ledger-modal .ledger p{font-size:13px;line-height:1.5;margin:0;padding:8px 0;overflow-wrap:anywhere}@media(max-width:600px)and (orientation:portrait){.lobby{width:100%;padding:10px 12px 0;min-height:100dvh}.lobby-header{padding-bottom:10px;gap:8px}.brand{font-size:20px;gap:8px;letter-spacing:1px}.brand small{font-size:7px;letter-spacing:2px}.brand-seal{font-size:24px}.lobby-header nav{gap:2px;font-size:12px}.lobby-header nav button{padding:10px 5px;min-height:40px}.lobby-grid{display:flex;flex-direction:column;padding:12px 0;gap:24px}.hero{display:block;order:2;padding-top:0}.start-panel{order:1}.start-panel{padding:14px;border-radius:12px}.panel-title>.eyebrow,.panel-title>p,.panel-tip,.panel-foot{display:none}.panel-title h2{font-size:23px;line-height:28px;margin:0 0 10px}.input-label{font-size:13px;line-height:18px;margin:8px 0 6px}.name-input{height:44px;padding:0 10px}.name-input input{font-size:16px}.mode-grid{gap:8px}.mode-card{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px;text-align:left}.mode-icon{font-size:22px;height:auto;line-height:24px}.mode-card b{font-size:14px;margin:0}.mode-card small{display:none}.mode-card i{right:6px;top:5px;width:13px;height:13px;line-height:13px;font-size:9px}.practice-options{margin:10px 0;font-size:13px;min-height:36px}.practice-options select{font-size:13px;padding:7px}.room-input{height:44px;font-size:16px;margin:10px 0}.start-button{min-height:44px;padding:10px 14px;font-size:15px}.lobby-footer{padding:0 0 10px;justify-content:center;font-size:11px;border:0}.lobby-footer>span:first-child{display:none}}.lobby-grid{grid-template-columns:430px minmax(0,1fr)}.start-panel{grid-column:1;grid-row:1}.hero{grid-column:2;grid-row:1;min-width:0}.game-header .game-settings-button{font-size:25px;line-height:1;min-width:40px;min-height:36px;padding:4px 7px;border:1px solid #b6cbb0;border-radius:7px;background:#f8faee;color:#285e4e;flex:none}@media(max-width:1050px)and (min-width:601px){.lobby-grid{grid-template-columns:minmax(300px,430px) minmax(0,1fr);gap:30px}.hero-art{transform:scale(.8);transform-origin:left top}.hero h1{font-size:42px}.hero-notes{flex-wrap:wrap}}@media(max-width:600px)and (orientation:portrait){.hero h1{font-size:36px;margin:8px 0}.hero-art{height:250px;transform:scale(.85);transform-origin:left top}.hero-notes{font-size:11px;flex-wrap:wrap}.hero-sub{font-size:13px}.hero .eyebrow{font-size:11px}.lobby-footer{gap:12px;flex-wrap:wrap}.lobby-footer .service-count{display:block;color:#607c62}}@media(max-width:600px)and (orientation:portrait){.hero-art{position:relative;display:block;top:auto;right:auto;width:320px;max-width:100%;height:235px;transform:scale(.85);transform-origin:left top}.hero-notes{padding-top:0}.hero{overflow:hidden}}.game-page,.modal-scrim.in-game{--dialog-width:100dvw;--dialog-height:100dvh}.modal-scrim.in-game{padding:12px}.game-page .modal,.in-game .modal{width:min(760px,calc(var(--dialog-width) - 24px));max-height:calc(var(--dialog-height) - 24px);padding:12px 16px}.in-game .modal.wide{width:min(920px,calc(var(--dialog-width) - 24px))}.in-game .ledger-modal{height:min(600px,calc(var(--dialog-height) - 24px));padding:8px 14px}.game-page .modal h2,.in-game .modal h2{font-size:22px;line-height:1.2;margin:0 32px 10px 0}.in-game .ledger-modal h2{font-size:20px;line-height:22px;margin:0;padding-right:32px}.game-page .modal>.eyebrow,.in-game .modal>.eyebrow,.in-game .settings-modal>.eyebrow{display:none}.in-game .modal .close{top:8px;right:10px}.in-game .settings-modal{display:grid;grid-template-columns:1fr 1fr;gap:6px 22px}.in-game .settings-modal h2,.in-game .settings-modal>.settings-note{grid-column:1/-1}.in-game .settings-modal .setting-row{margin:0;padding:5px 0;min-width:0;font-size:13px}.in-game .settings-modal .setting-row small{font-size:11px}.in-game .settings-modal .settings-note{font-size:11px;line-height:1.5;margin:0}.in-game .settings-modal>.audio-status{margin:0;align-self:center}.in-game .settings-modal>button:not(.close){border:1px solid #c7d5bf;border-radius:6px;padding:8px;font-size:13px}.in-game .guide h2{margin-bottom:8px}.in-game .guide h3{margin:12px 0 6px;font-size:16px}.in-game .guide p{font-size:13px;line-height:1.65;margin-bottom:8px}.game-page .settlement table{margin:8px 0}.game-page .settlement th,.game-page .settlement td{padding:5px 8px;font-size:13px}.game-page .settlement>p{margin:4px 0;font-size:13px}.game-page .settlement>button{padding:8px 14px;margin-right:10px}.base-control .base-button{border:1px solid #cad8c4;border-radius:4px;background:#f9faef;color:#577650;padding:5px 9px;min-height:30px}.in-game .base-modal{width:min(480px,calc(var(--dialog-width) - 24px))}.base-choices{display:flex;gap:12px}.base-choices button{flex:1;border:1px solid #adc4a2;border-radius:6px;min-height:44px;font-size:18px}@media(orientation:portrait){.game-page,.modal-scrim.in-game{--dialog-width:100dvh;--dialog-height:100dvw}.modal-scrim.in-game{position:fixed;inset:50% auto auto 50%;width:100dvh;height:100dvw;transform:translate(-50%,-50%) rotate(90deg)}}.table>.current-card[data-position=south]{left:25%;top:70%;bottom:auto}.table>.current-card[data-position=north]{left:69%;top:4%;bottom:auto}.table>.current-card[data-position=west]{left:35%;top:20%;bottom:auto}.table>.current-card[data-position=east]{left:96%;top:12%;bottom:auto}.east .player-info{width:calc(100% - 4.5cqw)}.table>.current-card small{max-width:5cqw;white-space:normal;margin-top:3px;line-height:12px;text-align:center}.table>.current-card small span{display:block}.in-game .modal>.close{position:sticky;float:right;top:0;right:auto;z-index:10;background:#fffef4;border-radius:5px;padding:0;width:28px;height:28px;line-height:28px;margin:0 0 0 8px}.in-game .settings-modal>.close{grid-row:1;grid-column:2;justify-self:end;align-self:start}.in-game .settings-modal>h2{grid-row:1}.in-game .ledger-modal>.close{position:absolute;top:8px;right:10px;margin:0}.south .melds{left:calc(100% + 5cqw);width:16cqw;grid-template-columns:repeat(5,2.8cqw);column-gap:.3cqw}.south .mini-pile .tile{width:2.8cqw}.south .meld-stack>span{max-width:2.8cqw}.table>.current-card[data-position=south]{left:23.8%;top:68%}.table>.current-card[data-position=north]{left:63%;top:4%}.north .discard-zone,.north .opponent-hand{left:calc(100% + 7cqw)}.game-page .settlement>button{display:inline-block;width:calc(50% - 7px);margin:4px 10px 0 0;min-height:36px}.game-page .settlement>button:last-child{margin-right:0}.game-page .settlement table{margin:6px 0}.game-page .settlement th,.game-page .settlement td{padding:3px 6px;line-height:18px}.game-page .settlement h2{margin-bottom:4px}.game-page .settlement>p{margin:0 0 4px;line-height:18px}@media(max-width:600px)and (orientation:portrait){.hero-art{height:280px}.hero-art .art-caption{left:0;bottom:8px;width:100%}}.table>.current-card{transform:translate(-50%,-50%);animation:card-location .3s ease-out}@keyframes card-location{0%{opacity:.4;transform:translate(-50%,-50%) scale(.95)}}.table>.current-card small{max-width:none;white-space:nowrap}.table>.current-card small span{display:inline}.table>.current-card small span+span{margin-left:3px}.table>.current-card[data-position=south]{left:70.5%;top:72%;bottom:auto}.table>.current-card[data-position=north]{left:42%;top:35.5%;bottom:auto}.table>.current-card[data-position=west]{left:28%;top:53%;bottom:auto}.table>.current-card[data-position=east]{left:72.7%;top:35%;bottom:auto}.table[data-draw-west-crowded=true]>.current-card[data-position=west]{left:37%;top:53%}.table[data-draw-east-crowded=true]>.current-card[data-position=east]{left:63%;top:30%}.table-prompt{left:43%;width:24%}.desktop-modal ol{padding-left:24px;line-height:1.7}.desktop-modal li{margin-bottom:8px}.desktop-note{font-size:13px;line-height:1.6;color:#61735d}.desktop-status{padding:10px;border-radius:6px;background:#e6eedb}.lobby-header nav .desktop-entry{white-space:nowrap}@media(max-width:420px){.lobby-header nav{gap:4px}.lobby-header nav>button{padding:4px;font-size:11px;white-space:nowrap}.desktop-modal{max-height:90dvh}}.resume-banner{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);z-index:20;padding:12px 18px;background:#f5f4e8;color:#355742;border-radius:12px;box-shadow:0 6px 24px #0005;text-align:center;white-space:nowrap}.resume-banner p{margin:0 0 8px}.resume-banner button{font-size:14px;padding:9px 14px}@media(max-width:420px){.lobby-header{gap:8px}.lobby-header nav{flex:none;gap:4px}.desktop-modal button{font-size:14px}.desktop-modal .close{font-size:22px}}.game-page{background:#f4f2e6;padding:0 max(5px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(5px,env(safe-area-inset-left))}.game-page .game-header{flex-basis:50px;gap:12px;background:#f4f2e6}.game-page .table{border-color:#927344;background:radial-gradient(ellipse at 50% 35%,#216d50,#104c35 90%);box-shadow:inset 0 0 0 2px #b39768;--tool-width:clamp(64px,9cqw,110px);--meld-card-width:clamp(18px,min(3.2cqw,7.5cqh),46px)}.game-page .table:before,.game-page .table-emboss{display:none}.game-page .table:after{display:none}.game-page .table .seat{width:16%;height:auto}.game-page .table .north{left:45%;top:3%;bottom:auto;width:15%}.game-page .table .west{inset:3% auto auto 3%}.game-page .table .east{inset:3% auto auto 81%}.game-page .table .south{left:3%;bottom:7%;top:auto}.game-page .table .player-info{width:100%;grid-template-columns:clamp(28px,4.3cqw,62px) minmax(0,1fr);gap:.65cqw}.game-page .table .avatar,.game-page .table .responsibility-avatar{font-family:serif;font-size:clamp(18px,1.9cqw,25px);color:#294e36;background:linear-gradient(#f4e5b8,#e7d4a0);border-color:#d6c28b}.game-page .table .player-info b{font-size:clamp(12px,1.6cqw,22px);line-height:1.25}.game-page .table .score{font-size:clamp(13px,1.6cqw,23px);color:#efd789;margin:3px 0}.game-page .table .player-info small{font-size:clamp(11px,1.1cqw,16px);color:#c3d8b2;line-height:1.2}.game-page .table .south .player-info{display:flex;flex-direction:column;align-items:flex-start}.game-page .table .south .avatar{width:clamp(28px,4.3cqw,62px)}.game-page .table .south .player-info>div:last-child{width:100%}.game-page .table .melds{display:grid;grid-template-columns:repeat(var(--meld-columns),var(--meld-card-width));align-items:end;column-gap:.65cqw;row-gap:0;width:max-content;max-width:none;height:auto}.game-page .table .north .melds{left:auto;right:calc(100% + .65cqw);top:0;bottom:auto;direction:rtl}.game-page .table .east .melds{left:auto;right:0;top:28cqh;bottom:auto;direction:rtl}.game-page .table .west .melds{left:1.5cqw;top:28cqh;bottom:auto}.game-page .table .meld-stack{direction:ltr}.game-page .table .south .melds{left:20cqw;bottom:0;top:auto}.game-page .table .mini-pile{display:flex;flex-direction:column;align-items:stretch;gap:0}.game-page .table .mini-pile .tile{width:var(--meld-card-width);height:calc(var(--meld-card-width)*1.45);font-size:calc(var(--meld-card-width)*.8);margin:0}.game-page .table .mini-pile .tile:not(:first-child){margin-top:calc(var(--meld-card-width)*-.6);margin-left:0}.game-page .table .meld-stack{width:var(--meld-card-width);position:relative;min-width:0}.game-page .table .meld-stack>span{display:block;width:100%;max-width:none;min-height:16px;line-height:1.35;margin:3px 0 0;padding:1px 0;font-size:clamp(11px,1.2cqw,17px);overflow:visible;white-space:nowrap;text-overflow:clip}.game-page .table .meld-new-dot{top:-5px;right:-3px;width:5px;height:5px}.game-page .table .tile{background:linear-gradient(100deg,#fffef6,#ece8dc);border-color:#cec6b5;border-radius:.28cqw;box-shadow:.08cqw .12cqw .18cqw #052b2670;font-weight:400}.game-page .table .tile>span{top:.08cqw}.game-page .table .tile>i{left:50%;transform:translate(-50%);bottom:.32cqw;font-size:.5cqw;padding:.12cqw;border-radius:50%}.game-page .table .tile.back{background:repeating-linear-gradient(45deg,#896343 0 2px,#997550 2px 4px)}.game-page .table .mini-pile .tile:not(.back)>i{display:block}.game-page .table .discard-zone{--discard-rows:3;--discard-card-height:clamp(18px,2.4cqw,34px);position:absolute;display:flex;align-items:center;gap:4px;width:18cqw;max-width:100%;min-height:0;margin:0;padding:4px 5px;background:#123d2920;border:1px solid #a4bf9944}.game-page .table .discard-zone>span{font-size:11px;line-height:1.2;margin:0;white-space:nowrap}.game-page .table .discard-zone>div{display:flex;flex:1;gap:2px;flex-wrap:wrap;align-content:flex-start;min-width:0;max-height:calc(var(--discard-card-height)*var(--discard-rows) + (var(--discard-rows) - 1)*2px);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}.game-page .table .discard-zone .tile{width:clamp(16px,2.15cqw,30px);height:clamp(18px,2.4cqw,34px);font-size:clamp(14px,1.95cqw,27px)}.game-page .table .west .discard-zone,.game-page .table .east .discard-zone{left:0;top:16cqh;bottom:auto}.game-page .table .north .discard-zone{left:17cqw;top:0;bottom:auto;width:18cqw;max-width:none}.game-page .table .east,.game-page .table .west{display:flex;flex-direction:column;gap:7px}.game-page .table .east .player-info,.game-page .table .west .player-info{order:0}.game-page .table .east .discard-zone,.game-page .table .west .discard-zone{position:static;order:1}.game-page .table .east .melds,.game-page .table .west .melds{position:static;order:2}.game-page .table .east .melds{align-self:flex-end}.game-page .table .west .melds{align-self:flex-start;margin-left:1.5cqw}.game-page .table .bottom-controls{position:absolute;right:2.5%;bottom:2%;display:flex;align-items:flex-end;gap:8px;z-index:8}.game-page .table .bottom-controls .self-discard{position:static;width:18cqw;max-width:none;min-width:0;padding:2px 4px}.game-page .table .bottom-controls .table-tools{position:static;width:var(--tool-width)}.game-page .table .opponent-hand:not(.revealed){display:none}.game-page .table .north .opponent-hand:not(.revealed){left:17cqw;top:0;width:18cqw;max-width:none}.game-page .table .opponent-hand:not(.revealed) .tile.small{width:clamp(6px,.7cqw,10px);height:clamp(10px,1.2cqw,17px);font-size:8px}.game-page .table .table-center{left:42%;top:32%;width:16%;text-align:center}.game-page .table .deck{display:inline-block;width:auto;min-width:38px;aspect-ratio:auto;padding:5px 8px;margin:0;background:linear-gradient(125deg,#a45741,#773e30);border:1px solid #d3b065;border-radius:.45cqw;box-shadow:.15cqw .25cqw #693b2c}.game-page .table .deck b{display:block;font:clamp(19px,2cqw,29px)/1 Georgia;color:#f1d88f}.game-page .table .deck span{font-family:inherit;font-size:11px;line-height:1.2;color:#d1b78a}.game-page .table .hand-area{left:calc(23% + var(--own-meld-count,0)*4.2cqw);width:var(--hand-width);bottom:clamp(8px,2cqh,14px);--hand-width:calc(56.5cqw - var(--own-meld-count,0)*4.2cqw - var(--tool-width) - 20px);--hand-gap:.65cqw;--hand-card-width:min(4.4cqw,10cqh,calc((var(--hand-width) - (var(--hand-columns) - 1)*var(--hand-gap))/var(--hand-columns)));gap:6px;display:flex;flex-direction:column-reverse}.game-page .table .hand{align-items:flex-end;justify-content:center;gap:var(--hand-gap)}.game-page .table .hand-pile{flex-direction:column;gap:0;min-height:0;width:var(--hand-card-width)}.game-page .table .hand-tile{width:var(--hand-card-width);height:calc(var(--hand-card-width)*.85);overflow:visible;box-shadow:none;border-radius:.28cqw}.game-page .table .hand-tile:last-child{height:calc(var(--hand-card-width)*1.45)}.game-page .table .hand .tile{width:var(--hand-card-width);height:calc(var(--hand-card-width)*1.45);font-size:calc(var(--hand-card-width)*.8)}.game-page .table .hand-hint{align-self:center;width:max-content;max-width:100%;font-size:clamp(11px,1.1cqw,15px);line-height:14px;height:14px;min-height:14px}.game-page .table>.current-card .tile{width:clamp(24px,min(3.8cqw,10cqh),52px);height:auto;aspect-ratio:1 / 1.45;font-size:clamp(21px,3cqw,41px)}.game-page .table>.current-card[data-position=north]{left:70%;top:40%}.game-page .table>.current-card[data-position=east]{left:74%;top:45%}.game-page .table>.current-card[data-position=west]{left:28%;top:47%}.game-page .table>.current-card[data-position=south]{left:75%;top:auto;bottom:43%}.game-page .table>.current-card small{font-size:11px;line-height:13px;margin-top:4px}.game-page .table .table-prompt{left:56%;width:18%;top:44%;font-size:clamp(12px,1.2cqw,17px);white-space:normal;max-height:12%;line-height:1.35}.game-page .table .table-tools{right:2.5%;bottom:2%;gap:7px;flex-direction:column}.game-page .table .table-tools button{font-size:clamp(12px,1.5cqw,21px);padding:7px 10px;background:#153f2e88;border-color:#adbf98}.game-page .table .actions{inset:33% auto auto 60%;width:20%;max-width:20%;max-height:24%;gap:5px;justify-content:center}.game-page .table .actions button{font-size:clamp(12px,1.2cqw,17px);padding:6px 10px;line-height:1.25}.game-page .table:has(.east .meld-stack:nth-child(4)) .table-tools{flex-direction:column;bottom:2%}.game-page .table .opponent-hand.revealed{position:absolute;left:0;top:12cqh;right:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:5px;margin:0;width:18cqw;max-width:100%;overflow:visible}.game-page .table .revealed-group{display:flex;flex-direction:column;align-items:stretch;min-width:0;padding:0 1px;border-bottom:2px solid #e8d69a88}.game-page .table .revealed-group .tile.small{aspect-ratio:1 / 1.45}.game-page .table .revealed-group .tile.small:not(:first-child){margin-top:-60%}.game-page .table[data-phase=ended] .table-prompt,.game-page .table[data-phase=ended] .hand-hint{display:none}.game-page .table[data-phase=ended] .hand-pile.free-pile{position:static}.game-page .table .end-banner>span{white-space:normal;overflow-wrap:anywhere;font-size:clamp(12px,1.5cqw,21px);line-height:1.35}.game-page .table .opponent-hand.revealed .tile.small{width:100%;height:auto;aspect-ratio:1 / 1.3;font-size:clamp(12px,1.8cqw,24px)}.game-page .table .north .opponent-hand.revealed{left:17cqw;top:0;max-width:none}.game-page .table[data-phase=ended] .east,.game-page .table[data-phase=ended] .west{top:3%}.game-page .table[data-phase=ended] .east .opponent-hand.revealed,.game-page .table[data-phase=ended] .west .opponent-hand.revealed{top:20cqh}.game-page .table[data-phase=ended] .east .melds,.game-page .table[data-phase=ended] .west .melds{top:38cqh}.game-page .table[data-phase=ended] .south .player-info{display:grid;grid-template-columns:clamp(28px,4.3cqw,62px) minmax(0,1fr)}.game-page .table[data-phase=ended] .south .player-info small{flex-wrap:nowrap}.game-page .table[data-phase=ended] .south{bottom:3%}.game-page .table[data-phase=ended] .table-center{display:none}.game-page .table[data-phase=ended] .table-tools{flex-direction:column;bottom:2%}.game-page .table .end-banner{top:30%;left:45%;width:35%;gap:8px;padding:8px}.game-page .table[data-phase=ended] .east,.game-page .table[data-phase=ended] .west{display:flex;flex-direction:column;gap:7px}.game-page .table[data-phase=ended] .east .player-info,.game-page .table[data-phase=ended] .west .player-info{order:0}.game-page .table[data-phase=ended] .east .opponent-hand.revealed,.game-page .table[data-phase=ended] .west .opponent-hand.revealed{position:static;order:1;width:100%;margin:3px 0 0}.game-page .table[data-phase=ended] .east .melds,.game-page .table[data-phase=ended] .west .melds{position:static;order:2;margin:2px 0 0}.game-page .table[data-phase=ended] .east .melds{align-self:flex-end}.game-page .table[data-phase=ended] .west .melds{align-self:flex-start}@media(max-height:500px)and (orientation:landscape){.game-page .game-header{flex-basis:36px;gap:6px}.game-page .table{border-width:6px;border-radius:20px}.game-page .table .table-tools button{padding:5px 7px}.game-page .table .table-tools{gap:5px}}@media(orientation:portrait){.game-page .game-header{flex-basis:36px;gap:6px}.game-page .table{border-width:6px;border-radius:20px}.game-page .table .table-tools button{padding:5px 7px}.game-page .table .table-tools{gap:5px}}@container (max-height:400px){.game-page .table .south .player-info{display:grid;grid-template-columns:clamp(28px,4.3cqw,62px) minmax(0,1fr)}.game-page .table .south .player-info small{flex-wrap:nowrap}}@container (max-height:250px){.game-page .table .east,.game-page .table .west{top:3%;gap:1px}.game-page .table .east .discard-zone,.game-page .table .west .discard-zone{--discard-rows:2;padding:2px 5px}.game-page .table .east .score,.game-page .table .west .score{margin:0}.game-page .table .table-center{top:26%}.game-page .table .south .player-info{display:grid;grid-template-columns:28px minmax(0,1fr);gap:5px}.game-page .table .south .avatar{width:28px}.game-page .table .south .player-info small{flex-wrap:nowrap}.game-page .table .south{bottom:1%}.game-page .table .south .player-info b{font-size:12px;line-height:14px}.game-page .table .south .score{font-size:13px;line-height:14px;margin:1px 0}.game-page .table .south .player-info small{font-size:10px;line-height:12px}.game-page .table .south .melds{bottom:8px}.game-page .table .west .discard-zone,.game-page .table .east .discard-zone{top:22cqh}.game-page .table .east .melds,.game-page .table .west .melds{top:34cqh}.game-page .table .meld-stack>span{margin-top:3px;line-height:1.35;min-height:16px}.game-page .table .hand-hint{display:none}.game-page .table .table-tools{flex-direction:column;bottom:2%;right:2%}.game-page .table .table-tools button{font-size:11px;padding:5px 6px}.game-page .table[data-phase=ended] .east,.game-page .table[data-phase=ended] .west{top:1%}.game-page .table[data-phase=ended] .east .opponent-hand.revealed,.game-page .table[data-phase=ended] .west .opponent-hand.revealed{top:24cqh}.game-page .table[data-phase=ended] .east .melds,.game-page .table[data-phase=ended] .west .melds{top:38cqh}.game-page .table[data-phase=ended] .south{bottom:2%}.game-page .table[data-phase=ended] .south .player-info{grid-template-columns:28px minmax(0,1fr)}}.game-page .table .hand-hint{position:absolute;left:0;bottom:calc(100% + 5px);width:100%;margin:0}.game-page .table .hand-area .actions{left:50%;right:auto;top:auto;bottom:calc(100% + 24px);width:max-content;max-width:min(50cqw,calc(100cqw - 24px));max-height:28cqh;overflow-y:auto;transform:translate(-50%)}.game-page .table .north .player-name-row{position:relative;display:flex;align-items:flex-start;width:max-content;max-width:none}.game-page .table .north .player-name-row>b{flex:none;max-width:calc(14.35cqw - clamp(28px,4.3cqw,62px));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-page .table .north .player-name-row .discard-zone{left:calc(100% + 6px);top:0;margin:0;transform:none}@container (max-height:250px){.game-page .table .hand-area .actions{bottom:calc(100% + 8px)}}.game-page .table>.current-card{transform:translate(-50%,-50%)}.game-page .table>.current-card[data-position=north]{left:44%;top:28%;bottom:auto}.game-page .table>.current-card[data-position=east]{left:72%;top:35%;bottom:auto}.game-page .table>.current-card[data-position=west]{left:28%;top:51%;bottom:auto}.game-page .table>.current-card[data-position=south]{left:68%;top:71%;bottom:auto}.game-page .table .north .melds{right:calc(100% + 4cqw)}.game-page .table{--own-bottom:clamp(14px,3.5cqh,20px)}.game-page .table .hand-area{left:calc(26% + var(--own-meld-count,0)*4.2cqw);bottom:var(--own-bottom);--hand-width:calc(53.5cqw - var(--own-meld-count,0)*4.2cqw - var(--tool-width) - 16px)}.game-page .table .hand{justify-content:flex-end}.game-page .table .south .melds{bottom:calc(var(--own-bottom) - 7cqh)}.game-page .table[data-phase=ended] .south .melds{bottom:calc(var(--own-bottom) - 3cqh)}@container (max-height:250px){.game-page .table .south .melds{bottom:calc(var(--own-bottom) - 1cqh)}.game-page .table[data-phase=ended] .south .melds{bottom:calc(var(--own-bottom) - 2cqh)}}.game-page .table .end-banner{left:50%;right:auto;transform:translate(-50%);width:max-content;min-width:0;max-width:calc(100% - 32px);flex-direction:column;justify-content:center;text-align:center;padding:8px 14px}.game-page .table .end-banner>span{flex:none;width:100%;min-width:0;overflow-wrap:anywhere;text-wrap:pretty}.game-page .table .hand-area{padding-bottom:18px}.game-page .table .hand-hint{display:block;bottom:0;top:auto;text-align:center;white-space:nowrap;font-size:clamp(10px,1.1cqw,15px)}.game-page .table[data-phase=ended] .hand-area{padding-bottom:0}.game-page .table[data-phase=ended] .hand-hint{display:none}.game-page .table .discard-display{order:1;display:flex;flex-direction:column;gap:3px;width:18cqw;max-width:100%}.game-page .table .discard-display .discard-zone{position:static;width:100%;max-width:none}.game-page .table .remaining-backs{display:flex;flex-wrap:wrap;gap:2px;pointer-events:none}.game-page .table .remaining-backs .tile.small{width:clamp(5px,.7cqw,10px);height:clamp(9px,1.2cqw,17px);font-size:8px;padding:0}.game-page .table .north .player-name-row .discard-display{position:absolute;left:calc(100% + 6px);top:0;max-width:none}.game-page .table .north .player-name-row .discard-zone{position:static;transform:none}@container (max-height:250px){.game-page .table .east,.game-page .table .west{--meld-card-width:16px}}@container (max-height:250px){.game-page .table .east .discard-display,.game-page .table .west .discard-display{gap:1px}}.game-page .table .hand-area .actions{left:calc(50% + 5cqw)}.game-page .table .table-center .table-prompt{display:block;position:absolute;left:50%;top:calc(100% + 6px);bottom:auto;transform:translate(-50%);width:48cqw;max-width:none;max-height:none;margin:0;text-align:center}.game-page .table[data-phase=ended] .table-center .table-prompt{display:none}.game-page .table .remaining-backs{width:100%;gap:2px}.game-page .table .remaining-backs .tile.small{box-sizing:border-box;flex:0 0 calc((100% - 28px)/15);width:calc((100% - 28px)/15);min-width:0;box-shadow:none}@container (max-height:250px){.game-page .table .hand-area .actions{left:auto;right:-22cqw;transform:none;bottom:calc(100% - 10px)}}.game-page .table .west .melds{left:0;margin-left:0}.game-page .table .hand-area .actions{left:calc(50% + 10cqw)}.game-page .table .actions .pass-button{min-width:clamp(64px,8cqw,96px);padding-left:18px;padding-right:18px}@container (max-height:250px){.game-page .table .hand-area .actions{left:auto;right:-24cqw}}.game-page .table .hand-area .actions{left:calc(50% + 14cqw)}@container (max-height:250px){.game-page .table .hand-area .actions{left:auto;right:-28cqw}}.game-page .table .player-info{display:grid;align-items:start}.game-page .table .avatar{width:clamp(28px,4.3cqw,62px);height:clamp(28px,4.3cqw,62px)}.game-page .table .player-info .dealer-badge{display:block;font-size:11px;line-height:14px;white-space:nowrap;padding:0 3px}.game-page .table .south,.game-page .table[data-phase=ended] .south{bottom:var(--own-bottom)}.game-page .table .south .player-info{display:grid;align-items:start}.game-page .table .south .melds,.game-page .table[data-phase=ended] .south .melds{bottom:0}.game-page .table .hand-area{--hand-width:calc(53.5cqw - var(--own-meld-count,0)*4.2cqw - var(--tool-width) - 36px)}.game-page .table .hand-hint{left:auto;right:0;width:calc(var(--hand-columns)*var(--hand-card-width) + (var(--hand-columns) - 1)*var(--hand-gap));max-width:none;text-align:center}.game-page .table .mini-pile{position:relative}.game-page .table .mini-pile[data-responsible=true]>.tile:nth-last-child(2)>i{display:none}.game-page .table .responsibility-avatar{position:absolute;left:50%;bottom:2px;transform:translate(-50%);display:grid;place-items:center;width:calc(var(--meld-card-width)*.416);height:calc(var(--meld-card-width)*.416);padding:0;border:1px solid #d6c28b;border-radius:25%;box-shadow:0 3px 8px #102e2844;font:calc(var(--meld-card-width)*.32)/1 serif;cursor:pointer;z-index:3}.game-page .table .responsibility-avatar:focus-visible{outline:2px solid #fff;outline-offset:1px}.game-page .table .self-discard-column{position:relative;width:18cqw;flex:none}.game-page .table .bottom-controls .self-discard{width:100%}.game-page .table .self-discard-column .actions{position:absolute;left:50%;right:auto;top:auto;bottom:calc(100% + 8px);transform:translate(-50%);display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;gap:5px;width:clamp(80px,12cqw,140px);max-width:100%;max-height:none;overflow:visible;margin:0}.game-page .table .actions .action-options{display:flex;flex-direction:column;gap:5px;max-height:calc(60cqh - 38px);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}.game-page .table .actions button{width:100%;flex:none}.game-page .table .actions .pass-button{width:100%}.game-page .table .hand-area>.current-card[data-position=south]{position:absolute;left:calc(100% + 10px);right:auto;top:-50px;bottom:auto;transform:none;width:clamp(24px,min(3.8cqw,10cqh),52px);margin:0;z-index:7;pointer-events:none}.game-page .table .hand-area>.current-card .tile{width:100%;height:auto;aspect-ratio:1 / 1.45;font-size:clamp(21px,3cqw,41px)}.game-page .table .hand-area>.current-card small{font-size:11px;line-height:13px;margin-top:4px;white-space:nowrap;text-align:center}@container (max-height:250px){.game-page .table .self-discard-column .actions{left:10px;right:auto;transform:none;width:70px}}.game-page .table .mini-pile>.tile:not(:first-child),.game-page .table .hand-tile+.hand-tile>.tile,.game-page .table .revealed-group>.tile:not(:first-child){box-shadow:inset 0 2px 2px -1px #40382c26,.08cqw .12cqw .18cqw #052b2670}.game-page .table .actions .alarm-decline{padding-left:8px;padding-right:8px;white-space:nowrap}.game-page .table .review-deck{position:absolute;left:30%;top:48%;width:40%;z-index:3;padding:5px 6px;border:1px solid #a4bf9944;border-radius:6px;background:#123d2920;max-height:22cqh;display:flex;flex-direction:column;gap:4px}.game-page .table .review-deck>span{font-size:11px;line-height:1.3;text-align:center;color:#d4dbb8}.game-page .table .review-deck>div{display:flex;flex-wrap:wrap;justify-content:center;gap:2px;overflow-y:auto;min-height:0;scrollbar-width:thin}.game-page .table .review-deck .tile{width:clamp(16px,2.2cqw,30px);height:clamp(18px,2.4cqw,33px);font-size:clamp(14px,1.95cqw,27px)}.game-page .table .review-deck p{margin:0;font-size:12px;color:#b9d0af}.game-page .table[data-phase=ended] .discard-zone{display:flex}.game-page .table[data-phase=ended] .north .discard-zone{--discard-rows:2}.game-page .table[data-phase=ended] .north .opponent-hand.revealed{top:calc(100% + 12px);grid-template-columns:repeat(7,minmax(0,1fr))}.game-page .table[data-phase=ended] .east .opponent-hand.revealed,.game-page .table[data-phase=ended] .west .opponent-hand.revealed{grid-template-columns:repeat(7,minmax(0,1fr))}.game-page .table .review-deck{top:43%}.game-page .table[data-phase=ended] .end-banner{top:25%}@container (max-height:250px){.game-page .table .review-deck{top:39%;max-height:none;padding:3px 4px;gap:2px}.game-page .table .review-deck>div{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overflow-y:hidden}.game-page .table[data-phase=ended] .end-banner{top:21%;flex-direction:row;gap:6px;padding:4px 8px;max-width:48cqw}.game-page .table[data-phase=ended] .end-banner>span{flex:1;width:auto;font-size:11px}.game-page .table[data-phase=ended] .end-banner>button{flex:none;white-space:nowrap}}.game-page .table[data-phase=ended] .north .opponent-hand.revealed{left:var(--north-reveal-center,50%);top:var(--north-reveal-top, calc(100% + 6px) );width:15cqw;transform:translate(-50%)}.game-page .table .review-deck{left:36%;width:28%}.game-page .table .review-deck .tile{width:clamp(14px,1.8cqw,26px);height:clamp(18px,2.2cqw,30px);font-size:clamp(14px,1.6cqw,23px)}@container (max-height:250px){.game-page .table .review-deck{top:38%}}@container (max-height:250px){.game-page .table[data-phase=ended] .end-banner{top:23%}.game-page .table .review-deck{top:40%;padding:2px 4px}}.game-page .table[data-phase=ended] .end-banner{top:var(--end-notice-top,25%);padding:1px 8px;max-width:calc(100% - 32px);gap:0}.game-page .table[data-phase=ended] .end-banner>span{width:auto;flex:none;white-space:nowrap;line-height:1.2}.game-page .table .table-tools .result-button{background:#a58c48;color:#fff3bf;border-color:#d8c475}.game-page .table .review-deck{left:50%;transform:translate(-50%);width:max-content;max-height:none}.game-page .table .review-deck>div{display:grid;grid-template-columns:repeat(12,clamp(14px,1.8cqw,26px));gap:2px;overflow:visible;justify-content:center}.game-page .table .review-deck .tile{width:100%}@container (max-height:250px){.game-page .table .review-deck{top:38%;gap:1px}.game-page .table .review-deck>span{font-size:10px;line-height:12px}.game-page .table .review-deck .tile{height:14px;font-size:12px}}.game-page .table .review-deck{gap:2px}.game-page .table .review-deck>span{font-size:11px;line-height:12px}.game-page .table .review-deck>span small{font-size:inherit}@container (max-height:250px){.game-page .table .review-deck>span{text-align:left;font-size:10px}.game-page .table .review-deck>span small{display:none}}@container (max-height:250px){.game-page .table .review-deck{top:43%;gap:1px;padding:0 4px}.game-page .table .review-deck .tile{height:13px}}.game-page .table[data-phase=ended] .opponent-hand.revealed{gap:3px;align-items:end}.game-page .table[data-phase=ended] .north .opponent-hand.revealed{width:18cqw}.game-page .table[data-phase=ended] .revealed-group{gap:2px;padding:0;border-bottom:2px solid #e8d69a88}.game-page .table[data-phase=ended] .revealed-group .tile.small{height:clamp(16px,2.2cqw,27px);aspect-ratio:auto;font-size:clamp(11px,1.4cqw,19px);line-height:1;min-width:0;padding:0;overflow:visible}.game-page .table[data-phase=ended] .revealed-group .tile.small:not(:first-child){margin-top:0;box-shadow:.08cqw .12cqw .18cqw #052b2670}.game-page .table[data-phase=ended] .hand-pile{gap:2px}.game-page .table[data-phase=ended] .hand-pile .tile{height:calc(var(--hand-card-width)*.85);font-size:calc(var(--hand-card-width)*.65);margin-top:0;line-height:1;padding:0}.game-page .table[data-phase=ended] .end-banner{left:50%;top:50%;transform:translate(-50%,-50%);padding:8px 12px;gap:6px;flex-direction:column;max-width:calc(100% - 32px);width:max-content;z-index:8}.game-page .table[data-phase=ended] .end-banner>span{font-size:clamp(12px,1.5cqw,21px);line-height:1.3}.game-page .table[data-phase=ended] .end-banner .result-button{font-size:clamp(12px,1.4cqw,19px);padding:4px 12px;background:#a58c48;color:#fff3bf;border-color:#d8c475}@container (max-height:250px){.game-page .table[data-phase=ended] .end-banner{padding:4px 8px;gap:3px}.game-page .table[data-phase=ended] .end-banner>span{font-size:11px}.game-page .table[data-phase=ended] .end-banner .result-button{font-size:11px;padding:3px 10px}}@container (max-height:250px){.game-page .table[data-phase=ended] .west .melds:not(:has(.meld-stack:nth-child(3))){position:absolute;left:calc(100% + 8px);top:28cqh;margin:0}.game-page .table[data-phase=ended] .east .melds:not(:has(.meld-stack:nth-child(3))){position:absolute;left:auto;right:calc(100% + 8px);top:28cqh;margin:0}}.game-page .table[data-phase=ended] .revealed-group{gap:0}.game-page .table[data-phase=ended] .revealed-group .tile.small{height:calc(clamp(16px,2.2cqw,27px) + 5px);display:flex;align-items:flex-start;justify-content:center;overflow:hidden}.game-page .table[data-phase=ended] .revealed-group .tile.small>span{display:block;padding-top:2px;line-height:1}.game-page .table[data-phase=ended] .revealed-group .tile.small:not(:first-child){margin-top:-5px;box-shadow:inset 0 2px 2px -1px #40382c26,.08cqw .12cqw .18cqw #052b2670}.game-page .table[data-phase=ended] .hand-pile{gap:0}.game-page .table[data-phase=ended] .hand-pile .tile{height:calc(var(--hand-card-width)*.85 + 6px);display:flex;align-items:flex-start;justify-content:center}.game-page .table[data-phase=ended] .hand-pile .tile>span{padding-top:3px;line-height:1}.game-page .table[data-phase=ended] .hand-pile .tile:not(:first-child){margin-top:-6px;box-shadow:inset 0 2px 2px -1px #40382c26,.08cqw .12cqw .18cqw #052b2670}.game-page .table{--stack-seam-shadow:0 -2px 3px -1px #40382c42,inset 0 1px 0 #fffef8c7,0 1px 2px #052b2630}.game-page .table .mini-pile,.game-page .table .hand-pile,.game-page .table .revealed-group{isolation:isolate}.game-page .table .mini-pile>.tile,.game-page .table .hand-pile>.hand-tile,.game-page .table .revealed-group>.tile{position:relative}.game-page .table .mini-pile>.tile:not(:first-child),.game-page .table .hand-pile .hand-tile+.hand-tile>.tile,.game-page .table[data-phase=ended] .hand-pile .hand-tile+.hand-tile>.tile,.game-page .table[data-phase=ended] .revealed-group>.tile.small:not(:first-child){box-shadow:var(--stack-seam-shadow)}.game-page .table .hand-area.drag-active{z-index:80}.game-page .table .hand-pile.drag-source{z-index:100;isolation:auto}.game-page .table .hand-tile.dragging{z-index:200;overflow:visible;pointer-events:none;cursor:grabbing;will-change:transform}.game-page .table .hand-pile .hand-tile.dragging>.tile{box-shadow:0 6px 12px #052b2680,0 0 0 2px #f3da8e;filter:brightness(1.06)}.game-page .table .hand-pile.drop-target{outline:2px dashed #efd28a;outline-offset:3px;border-radius:4px;background:#efd28a22}.game-page .table .hand-tile{cursor:grab}@font-face{font-family:PenghuKai;src:url(/fonts/penghu-kai.woff2) format("woff2");font-display:swap}.lobby-base{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:8px 0;font-size:13px}.lobby-base select{padding:5px 12px;background:#faf9ee;border:1px solid #c9d6bf;border-radius:6px}.lobby-base>span{color:#78896e}.game-page{padding:0!important;background:#165c41;position:relative;height:100dvh;width:100%;overflow:hidden;--safe-left:max(5vw,env(safe-area-inset-left));--safe-right:max(12px,env(safe-area-inset-right))}.game-page .game-header{position:absolute;left:var(--safe-left);right:var(--safe-right);top:max(8px,env(safe-area-inset-top));height:34px;flex-basis:auto;z-index:30;background:none;padding:0;gap:12px;color:#e4edcd;font-size:clamp(13px,1.5vw,20px);white-space:nowrap}.game-page .game-header button,.game-page .game-header .round-tag,.game-page .game-header .room-tag{background:none;border:0;color:inherit;padding:3px 5px;font-size:inherit}.game-page .game-header .round-tag{background:#0b392f66;border-radius:5px}.game-page .locked-base{font-size:.9em;color:#cfdbb6}.game-page .record-button{margin-left:auto}.table-menu{position:relative}.table-menu summary{cursor:pointer;font-size:24px;list-style:none;line-height:1}.table-menu summary::-webkit-details-marker{display:none}.table-menu>div{position:absolute;left:0;top:36px;min-width:145px;border-radius:8px;background:#f6f2df;box-shadow:0 5px 18px #00251b66;padding:8px;display:flex;flex-direction:column;gap:4px}.game-page .table-menu>div button{color:#284d3b;text-align:left;padding:9px;font-size:16px}.game-page .table-wrap{width:100%;height:100%;padding:0;display:block;min-height:0}.game-page .table{width:100%!important;height:100%!important;max-width:none;aspect-ratio:auto;border:0!important;border-radius:0;box-shadow:none!important;margin:0;overflow:hidden;background:radial-gradient(ellipse at 48% 38%,#1b6b4c,#124e36);--safe:5cqw;--meld-card-width:clamp(22px,3cqw,42px);--stack-shadow:0 -2px 3px -1px #40382c42,inset 0 1px 0 #fffdf2e6;--hand-gap:.45cqw}.game-page .table:before,.game-page .table:after,.game-page .table-emboss{display:none!important}.game-page .table .tile{font-family:PenghuKai,KaiTi,serif;font-weight:700;background:linear-gradient(105deg,#fffdf1,#f0ecde);border:1px solid #d3c9b0;border-radius:3px;box-shadow:0 1px 2px #08312555;line-height:1;position:relative;overflow:hidden;color:#18251b;padding:0;flex:none;letter-spacing:0}.game-page .table .tile.red{color:#b32d29}.game-page .table .tile>span{position:absolute;left:0;right:0;top:1px;text-align:center;line-height:1.03;font-size:inherit;transform:none;-webkit-text-stroke:.25px currentColor}.game-page .table .tile>i{display:none!important}.game-page .table .tile.back{background:repeating-linear-gradient(45deg,#805b3c 0 2px,#957147 2px 4px);border-color:#ad9062}.game-page .table .back-mark{display:none}.game-page .table .seat{position:absolute;width:18cqw;height:auto;display:block;gap:0;max-width:none;z-index:5}.game-page .table .west{left:var(--safe);right:auto;top:12cqh;bottom:auto}.game-page .table .east{left:auto;right:2cqw;top:12cqh;bottom:auto}.game-page .table .north{left:46cqw;right:auto;top:11cqh;bottom:auto;width:16cqw}.game-page .table .south{left:var(--safe);right:auto;bottom:4cqh;top:auto;width:17cqw}.game-page .table .player-info,.game-page .table .south .player-info{display:grid;grid-template-columns:4.5cqw minmax(0,1fr);align-items:start;gap:.7cqw;position:relative;left:auto;top:auto;width:100%;flex-direction:row}.game-page .table .avatar-column{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}.game-page .table .avatar,.game-page .table .south .avatar{font-family:serif;font-size:clamp(22px,2.5cqw,35px);font-weight:400;width:4.5cqw;height:4.5cqw;max-height:12cqh;min-height:30px;border-radius:7px;color:#294e36;background:linear-gradient(#f4e5b8,#e7d4a0);border:1px solid #cdb678}.game-page .table .player-info b{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(14px,1.7cqw,24px);line-height:1.25}.game-page .table .player-name-row{display:block;position:relative;max-width:100%}.game-page .table .score{font-size:clamp(15px,1.7cqw,24px);margin:3px 0;line-height:1.2}.game-page .table .player-info small{font-size:clamp(12px,1.3cqw,18px);white-space:nowrap;line-height:1.2}.game-page .table .dealer-badge{position:static;font-size:clamp(11px,1.2cqw,17px);line-height:1.3;padding:1px 3px;white-space:nowrap}.game-page .table .player-info>div:last-child{min-width:0;width:auto}.game-page .table .discard-display{position:absolute;left:0;right:auto;top:16cqh;bottom:auto;width:18cqw;margin:0;max-width:none}.game-page .table .north .discard-display{left:calc(100% + .7cqw);right:auto;top:0;bottom:auto;width:17cqw}.game-page .table .discard-zone,.game-page .table .north .discard-zone,.game-page .table .east .discard-zone,.game-page .table .west .discard-zone{position:static;width:100%;max-width:none;min-height:0;margin:0;padding:0;border:0;background:none;display:block;overflow:visible}.game-page .table .discard-zone>div{display:flex;gap:2px;flex-wrap:wrap;max-height:calc(3 * 2.8cqw + 4px);overflow:auto;align-content:start;padding:0;min-height:0}.game-page .table .discard-zone .tile{width:2.35cqw;height:2.8cqw;font-size:2.2cqw;min-width:0;min-height:0}.game-page .table .claimed-discard .tile{border-color:#dcc471;box-shadow:0 0 0 1px #e3ce7155}.game-page .table .remaining-backs{display:flex;width:100%;height:1.8cqw;gap:1px;overflow:hidden;position:static;margin:0 0 3px;align-items:stretch}.game-page .table .remaining-backs .tile{width:calc((100% - 14px)/15);height:100%;margin:0;min-width:0;flex:0 0 calc((100% - 14px)/15)}.game-page .table .melds,.game-page .table .east .melds,.game-page .table .west .melds,.game-page .table .north .melds,.game-page .table .south .melds{position:absolute;display:flex;align-items:flex-end;width:max-content;max-width:none;height:auto;gap:.55cqw;direction:ltr;margin:0;bottom:auto;top:28cqh;left:0;right:auto;flex-wrap:nowrap}.game-page .table .east .melds{left:auto;right:0;flex-direction:row-reverse}.game-page .table .north .melds{left:auto;right:calc(100% + 1.3cqw);top:0;flex-direction:row-reverse}.game-page .table .south .melds{position:fixed;left:auto;right:22cqw;top:auto;bottom:4cqh;flex-direction:row;z-index:8}.game-page .table .meld-stack{position:relative;width:var(--meld-card-width);min-width:0;margin:0;overflow:visible}.game-page .table .meld-stack>span,.game-page .table .responsibility-avatar{display:none!important}.game-page .table .meld-new-dot{width:4px;height:4px;right:0;top:-5px}.game-page .table .mini-pile{height:auto;min-height:0;display:flex;flex-direction:column;gap:0;margin:0;padding:0;overflow:visible}.game-page .table .mini-pile .tile{width:var(--meld-card-width);height:calc(var(--meld-card-width)*1.5);font-size:calc(var(--meld-card-width)*.95);margin:0;z-index:auto;box-shadow:var(--stack-shadow)}.game-page .table .mini-pile .tile:not(:first-child){margin-top:calc(var(--meld-card-width)*-.6)}.game-page .table .hand-area,.game-page .table.many-melds .hand-area{position:absolute;left:23cqw;right:auto;top:auto;bottom:4cqh;width:calc(55cqw - var(--own-meld-count)*3.55cqw);height:44cqh;display:block;gap:0;--hand-width:calc(55cqw - var(--own-meld-count)*3.55cqw);--hand-card-width:min(7cqw,15cqh,calc((var(--hand-width) - (var(--hand-columns) - 1)*var(--hand-gap))/var(--hand-columns)));z-index:9;overflow:visible}.game-page .table .hand{position:relative;display:flex;justify-content:flex-end;align-items:flex-end;gap:var(--hand-gap);width:100%;height:100%;min-height:0;padding:0;overflow:visible}.game-page .table .hand-pile,.game-page .table.many-melds .hand-pile{display:flex;flex-direction:column;gap:0;flex:none;min-height:0;height:auto;width:var(--hand-card-width);position:relative;margin:0;overflow:visible}.game-page .table .hand-pile.free-pile{position:absolute}.game-page .table .hand-tile{position:relative;width:var(--hand-card-width);height:calc(var(--hand-card-width)*.9);min-height:0;overflow:visible;margin:0;touch-action:none;transition:none;box-shadow:none}.game-page .table .hand-tile:last-child{height:calc(var(--hand-card-width)*1.5)}.game-page .table .hand .tile{width:var(--hand-card-width);height:calc(var(--hand-card-width)*1.5);font-size:calc(var(--hand-card-width)*.96);box-shadow:var(--stack-shadow);transition:none;touch-action:none;transform:none}.game-page .table .hand .hand-tile:hover .tile{transform:none}.game-page .table .hand-pile.drag-source{z-index:200}.game-page .table .hand-tile.dragging,.game-page .table .hand-tile.swiping{z-index:300;filter:drop-shadow(0 4px 4px #001d1c77)}.game-page .table .hand-area.drag-active{z-index:100}.game-page .table .hand .drop-target{outline:2px dashed #edda8b;outline-offset:4px;border-radius:4px}.game-page .table .table-center{position:absolute;left:50%;top:39%;width:auto;transform:translate(-50%);z-index:7;margin:0}.game-page .table .deck{position:relative;display:flex;align-items:center;gap:8px;width:10cqw;min-width:65px;height:5cqw;max-height:10cqh;min-height:32px;justify-content:center;background:linear-gradient(125deg,#a45741,#773e30);border:1px solid #d3b065;border-radius:4px;padding:0;box-shadow:1px 2px #693b2c}.game-page .table .deck b{font:clamp(18px,2cqw,29px)/1 Georgia}.game-page .table .deck span{font-size:clamp(13px,1.5cqw,22px)}.turn-arrow{position:absolute;width:0;height:0;border:7px solid transparent;border-top-color:#e7ce88;left:50%;bottom:-22px;transform:translate(-50%)}.deck[data-turn=north] .turn-arrow{top:-22px;bottom:auto;transform:translate(-50%) rotate(180deg)}.deck[data-turn=east] .turn-arrow{inset:50% -22px auto auto;transform:translateY(-50%) rotate(-90deg)}.deck[data-turn=west] .turn-arrow{left:-22px;top:50%;bottom:auto;transform:translateY(-50%) rotate(90deg)}.game-page .table .table-prompt{display:none}.game-page .table:not(:has(.current-card)) .table-prompt{display:block;position:absolute;left:50%;top:calc(100% + 28px);width:max-content;max-width:45cqw;transform:translate(-50%);font-size:clamp(14px,1.6cqw,23px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#e5eccb;margin:0;max-height:none}.game-page .table>.current-card{position:absolute;width:5.5cqw;transform:none;display:block;z-index:12;margin:0;text-align:center}.game-page .table>.current-card .tile{width:5.5cqw;height:8.2cqw;font-size:5.1cqw;max-height:20cqh;animation:none}.game-page .table>.current-card[data-position=west]{left:27cqw;top:41cqh;bottom:auto;right:auto}.game-page .table>.current-card[data-position=north]{left:39cqw;top:29cqh;bottom:auto;right:auto}.game-page .table>.current-card[data-position=east]{left:auto;right:23cqw;top:38cqh;bottom:auto}.game-page .table>.current-card[data-position=south]{left:calc(78cqw - var(--own-meld-count)*3.55cqw + 10px);right:auto;top:52cqh;bottom:auto}.game-page .table>.current-card small{font-size:clamp(12px,1.3cqw,18px);line-height:1.2;white-space:nowrap;margin-top:4px}.game-page .table .card-prompt{position:absolute;left:calc(100% + 7px);top:25%;font-size:clamp(14px,1.6cqw,23px);line-height:1.3;color:#eef0cb;white-space:nowrap;width:max-content;max-width:21cqw;overflow:hidden;text-overflow:ellipsis;margin:0}.game-page .table>.current-card[data-position=east] .card-prompt,.game-page .table>.current-card[data-position=south] .card-prompt{left:auto;right:calc(100% + 7px)}.game-page .table .bottom-controls{position:absolute;right:2cqw;bottom:4cqh;left:auto;top:auto;width:18cqw;display:block;z-index:20;height:auto;max-height:none}.game-page .table .self-discard-column{position:static;width:100%}.game-page .table .bottom-controls .self-discard{width:100%;padding:0;margin:0}.game-page .table .bottom-controls .table-tools{display:none}.game-page .table .actions{position:absolute;left:auto;right:0;top:auto;bottom:calc(100% + 15cqh);width:max-content;max-width:47cqw;max-height:38cqh;overflow:auto;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:1.1cqw;margin:0;padding:3px}.game-page .table .actions .action-options{display:flex;flex-direction:row;gap:1.1cqw;max-width:35cqw;flex-wrap:wrap;justify-content:flex-end}.game-page .table .actions button{font-family:PenghuKai,KaiTi,serif;font-weight:700;font-size:clamp(26px,3.8cqw,48px);border-radius:50%;width:7cqw;height:7cqw;max-height:17cqh;min-width:42px;min-height:42px;padding:0;line-height:1;white-space:nowrap;color:#fff1c8;background:linear-gradient(#419065,#276848);border:2px solid #e0bd74;box-shadow:0 3px #143f30}.game-page .table .actions .pass-button{width:9cqw;border-radius:35%;background:linear-gradient(#8d754c,#665333)}.game-page .table .actions button[aria-label^=落牌],.game-page .table .actions button[aria-label^="吃 "]:not(:only-child),.game-page .table .actions .alarm-decline{width:auto;min-width:8cqw;height:auto;min-height:7cqw;border-radius:10px;padding:7px 12px;font-size:clamp(22px,2.7cqw,35px)}.game-page .table .opponent-hand:not(.revealed){display:none!important}.game-page .table .opponent-hand.revealed{position:absolute;display:flex;flex-direction:row;align-items:flex-end;justify-content:flex-start;gap:.35cqw;width:max-content;max-width:19cqw;flex-wrap:wrap;height:auto;max-height:44cqh;overflow:auto;left:0;right:auto;top:calc(28cqh + 12cqw);bottom:auto;padding:3px 0;transform:none;--reveal-card-width:2.5cqw}.game-page .table .north .opponent-hand.revealed{left:0;right:auto;top:16cqh;bottom:auto;transform:none;max-width:31cqw;flex-wrap:nowrap;--reveal-card-width:2.7cqw}.game-page .table .east .opponent-hand.revealed{left:auto;right:0;justify-content:flex-end}.game-page .table .revealed-group{display:flex;flex-direction:column;align-items:stretch;gap:0;width:var(--reveal-card-width);margin:0;flex:none;height:auto}.game-page .table .revealed-group .tile{width:var(--reveal-card-width);height:calc(var(--reveal-card-width)*1.5);font-size:calc(var(--reveal-card-width)*.95);margin:0;box-shadow:var(--stack-shadow)}.game-page .table .revealed-group .tile:not(:first-child){margin-top:calc(var(--reveal-card-width)*-.6)}.game-page .table .end-banner{inset:43% auto auto 50%;transform:translate(-50%,-50%);max-width:67cqw;width:max-content;font-size:clamp(16px,2cqw,27px);padding:14px 20px;border-radius:9px;white-space:nowrap;z-index:25}.game-page .table .end-banner>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-page .table .end-banner button{font-size:clamp(15px,1.6cqw,22px);white-space:nowrap}.game-page>.modal-scrim,.modal-scrim.in-game{padding-left:max(5vw,env(safe-area-inset-left));padding-right:var(--safe-right,12px)}@media(orientation:portrait){.game-page{position:fixed;width:100dvh;height:100dvw;left:50%;top:50%;transform:translate(-50%,-50%) rotate(90deg);--safe-left:max(5dvh,env(safe-area-inset-top))}.game-page .game-header{font-size:clamp(13px,1.5dvh,20px);gap:8px}.game-page .game-header .network-status{display:none}.modal-scrim.in-game{padding-left:5dvh}}@media(max-width:750px){.lobby-base{margin:5px 0;font-size:12px}.lobby-base select{padding:3px 10px}.lobby .start-panel{padding-top:16px;padding-bottom:16px}.lobby .panel-title p{margin:5px 0}.lobby .start-button{margin-top:8px}}.game-page .game-header{width:auto;max-width:none;margin:0}.game-page .table .hand-area{padding:0}.game-page .table .table-center .table-prompt{display:none}.game-page .table:not(:has(.current-card)):not([data-phase=ended]) .table-center .table-prompt{display:block;top:calc(100% + 28px);width:max-content;max-width:45cqw}.game-page .table .self-discard-column .actions{left:auto;right:0;top:auto;bottom:calc(100% + 15cqh);transform:none;flex-direction:row;align-items:center;width:max-content;max-width:47cqw;max-height:38cqh;overflow:auto;gap:1.1cqw}.game-page .table .actions .action-options{max-height:none;overflow:visible}.game-page .table .actions .action-button{border-radius:50%;width:7cqw;height:7cqw;font-size:clamp(26px,3.8cqw,48px)}.game-page .table .actions .action-button[aria-label^=落牌]{border-radius:10px;width:auto;min-width:8cqw;font-size:clamp(22px,2.7cqw,35px)}.game-page .table>.current-card[data-position=south]{top:37cqh}.game-page .table .actions .action-button:not(.sentence-option){border-radius:50%;width:7cqw;height:7cqw;font-size:clamp(26px,3.8cqw,48px)}.game-page .table .actions .sentence-option{width:auto;min-width:8cqw;height:auto;border-radius:10px;font-size:clamp(22px,2.7cqw,35px);padding:7px 12px}.game-page .table[data-phase=ended] .west{left:var(--safe);right:auto;top:12cqh;bottom:auto}.game-page .table[data-phase=ended] .east{left:auto;right:2cqw;top:12cqh;bottom:auto}.game-page .table[data-phase=ended] .north{left:46cqw;right:auto;top:11cqh;bottom:auto;width:16cqw}.game-page .table[data-phase=ended] .south{left:var(--safe);right:auto;top:auto;bottom:4cqh}.game-page .table[data-phase=ended] .south .melds{position:fixed;left:auto;right:22cqw;top:auto;bottom:4cqh}.game-page .table[data-phase=ended] .hand-area{left:23cqw;top:auto;bottom:4cqh;width:calc(55cqw - var(--own-meld-count)*3.55cqw);height:44cqh;padding:0;--hand-card-width:min(7cqw,10.5cqh,calc((var(--hand-width) - (var(--hand-columns) - 1)*var(--hand-gap))/var(--hand-columns)));z-index:9}.game-page .table[data-phase=ended] .hand{justify-content:flex-end;align-items:flex-end;height:100%;padding:0;gap:var(--hand-gap)}.game-page .table[data-phase=ended] .hand-pile{width:var(--hand-card-width);height:auto;min-height:0;flex-direction:column;gap:0}.game-page .table[data-phase=ended] .hand-tile{height:calc(var(--hand-card-width)*.9);width:var(--hand-card-width)}.game-page .table[data-phase=ended] .hand-tile:last-child{height:calc(var(--hand-card-width)*1.5)}.game-page .table[data-phase=ended] .hand .tile{width:var(--hand-card-width);height:calc(var(--hand-card-width)*1.5);font-size:calc(var(--hand-card-width)*.96);box-shadow:var(--stack-shadow)}.game-page .table[data-phase=ended] .west .opponent-hand.revealed,.game-page .table[data-phase=ended] .east .opponent-hand.revealed{top:calc(28cqh + 12cqw);bottom:auto;left:0;right:auto;transform:none;display:flex;flex-wrap:wrap;width:max-content;max-width:19cqw;margin:0;max-height:36cqh;gap:.35cqw;padding:3px 0}.game-page .table[data-phase=ended] .east .opponent-hand.revealed{left:auto;right:0}.game-page .table[data-phase=ended] .north .opponent-hand.revealed{left:0;right:auto;top:16cqh;bottom:auto;transform:none;display:flex;flex-wrap:nowrap;width:max-content;max-width:31cqw;margin:0;gap:.35cqw;padding:3px 0}.game-page .table[data-phase=ended] .discard-display{left:0;top:16cqh;right:auto;bottom:auto;width:18cqw}.game-page .table[data-phase=ended] .north .discard-display{left:calc(100% + .7cqw);top:0;width:17cqw}.game-page .table[data-phase=ended] .table-center{visibility:hidden}.game-page .table[data-phase=ended] .end-banner{left:50%;top:53cqh;bottom:auto;right:auto;transform:translate(-50%,-50%);width:max-content;max-width:67cqw;padding:8px 12px;display:flex;align-items:center;gap:10px;z-index:25;font-size:clamp(16px,1.8cqw,25px);white-space:nowrap}.game-page .table[data-phase=ended] .end-banner .result-button{padding:6px 10px;margin:0;min-height:30px;font-size:clamp(15px,1.6cqw,22px)}.game-page .table[data-phase=ended] .west .opponent-hand.revealed,.game-page .table[data-phase=ended] .east .opponent-hand.revealed{position:absolute}.game-page .table[data-phase=ended] .revealed-group{gap:0;border:0;padding:0}.game-page .table[data-phase=ended] .revealed-group .tile.small{display:block;overflow:hidden;width:var(--reveal-card-width);height:calc(var(--reveal-card-width)*1.5);font-size:calc(var(--reveal-card-width)*.95);margin:0;box-shadow:var(--stack-shadow)}.game-page .table[data-phase=ended] .revealed-group .tile.small:not(:first-child){margin-top:calc(var(--reveal-card-width)*-.6);box-shadow:var(--stack-shadow)}.game-page .table[data-phase=ended] .revealed-group .tile.small>span,.game-page .table[data-phase=ended] .hand-pile .tile>span{padding:0;line-height:1.03}.game-page .table[data-phase=ended] .hand-pile .tile:not(:first-child){margin:0}.game-page .table[data-phase=ended] .end-banner{flex-direction:row}.game-page .table>.current-card[data-position=north]{top:40cqh}.game-page .table>.current-card[data-position=north] .card-prompt{left:auto;right:calc(100% + 7px)}.game-page .table:not(:has(.current-card)):not([data-phase=ended]) .table-center .table-prompt{left:calc(100% + 10px);top:0;transform:none;max-width:28cqw}.game-page .table .card-prompt{max-width:17cqw}.game-page .table .revealed-group{overflow:visible}.game-page .table .hand-area{--hand-card-width:min(7cqw,13.5cqh,calc((var(--hand-width) - (var(--hand-columns) - 1)*var(--hand-gap))/var(--hand-columns)))}.game-page .table .actions button.action-button:not(.sentence-option){border-radius:50%;width:7cqw;height:7cqw;font-size:clamp(26px,3.8cqw,48px)}.game-page .modal,.modal-scrim.in-game .modal{font-size:15px}.game-page .modal .guide,.modal-scrim.in-game .guide{font-size:14px}.game-page .table[data-phase=ended] .west .opponent-hand.revealed,.game-page .table[data-phase=ended] .east .opponent-hand.revealed{top:calc(28cqh + 10.8cqw);--reveal-card-width:2.25cqw}.game-page .table[data-phase=ended] .north .opponent-hand.revealed{--reveal-card-width:2.4cqw}.game-page .table[data-phase=ended] .west .melds{position:absolute;left:0;right:auto;top:28cqh;bottom:auto;margin:0}.game-page .table[data-phase=ended] .east .melds{position:absolute;left:auto;right:0;top:28cqh;bottom:auto;margin:0}.lobby .pregame-option{margin:6px 0}.game-page .table .south,.game-page .table[data-phase=ended] .south,.game-page .table .south .melds,.game-page .table[data-phase=ended] .south .melds,.game-page .table .hand-area,.game-page .table.many-melds .hand-area,.game-page .table[data-phase=ended] .hand-area,.game-page .table .bottom-controls{bottom:8px}.game-page .table .south .player-info{align-items:end}.game-page .table .north,.game-page .table[data-phase=ended] .north{top:4px}.game-page .table .turn-arrow{box-sizing:content-box;border-width:11px;bottom:-30px}.game-page .table .deck[data-turn=north] .turn-arrow{top:-30px;bottom:auto}.game-page .table .deck[data-turn=east] .turn-arrow{right:-30px;top:50%;bottom:auto}.game-page .table .deck[data-turn=west] .turn-arrow{left:-30px;top:50%;bottom:auto}.game-page .table .hand-area,.game-page .table .hand-area *{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:none}.game-page .table .hand-tile.dragging,.game-page .table .hand-tile.swiping{will-change:transform}.game-page .table:not([data-phase=ended]) .hand-area{--hand-card-width:min(7cqw,13.5cqh,calc((var(--hand-width) - (var(--hand-columns) - 1)*var(--hand-gap))/var(--hand-columns)))}.game-page .table .table-center{z-index:12}.game-page .table .deck[data-turn=south] .turn-arrow{bottom:-25px;pointer-events:none}.pregame-pair{display:grid;grid-template-columns:1fr 1.25fr;gap:14px;margin-top:12px}.lobby .pregame-pair .practice-options{gap:6px;white-space:nowrap;margin:0}.lobby .difficulty-option{margin:8px 0 12px}.room-options-note{font-size:12px;color:#788c72}.game-page .game-header .fullscreen-button{margin-left:auto}.game-page .game-header .record-button{margin-left:0}.game-page .table .player-name-row{display:flex;align-items:baseline;gap:5px;white-space:nowrap}.game-page .table .player-name-row b{flex:0 1 auto;min-width:0}.game-page .table .hand-count{flex:none;font-size:clamp(11px,1.2cqw,17px);color:#d5dfba}.game-page .table .dealer-badge{background:#e98321;color:#fff8dc;border:1px solid #ffbf66;font-weight:700;font-style:normal;border-radius:4px;box-shadow:0 1px 4px #142c2466}.game-page .table .east .player-info{grid-template-columns:minmax(0,1fr) 4.5cqw;text-align:right}.game-page .table .east .avatar-column{grid-column:2;grid-row:1}.game-page .table .east .player-info>div:last-child{grid-column:1;grid-row:1}.game-page .table .east .player-name-row{justify-content:flex-end}.game-page .table .east .score{display:block;text-align:right}.game-page .table .east,.game-page .table[data-phase=ended] .east{right:1cqw}.game-page .table .east .discard-zone>div{flex-direction:row-reverse;justify-content:flex-start}.game-page .table .east .remaining-backs{justify-content:flex-end}.game-page .table .current-card>small,.game-page .table .current-card .card-prompt{display:none!important}.game-page .table .table-center .table-prompt,.game-page .table:not(:has(.current-card)):not([data-phase=ended]) .table-center .table-prompt{display:block;position:absolute;left:50%;top:calc(100% + 26px);transform:translate(-50%);width:max-content;max-width:48cqw;font-size:clamp(13px,1.5cqw,21px);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.game-page .table:not([data-phase=ended]) .hand-area{--hand-card-width:min(6.2cqw,11.8cqh,calc((var(--hand-width) - (var(--hand-columns) - 1)*var(--hand-gap))/var(--hand-columns)))}.game-page .table .hand-pile{position:relative!important;left:auto!important;bottom:auto!important}.game-page .table .hand .drop-target{outline:none}.game-page .table .hand-tile.discard-pending{visibility:hidden}.game-page .table .south .melds,.game-page .table[data-phase=ended] .south .melds{right:12cqw;bottom:calc(8px + 9cqw)}.game-page .table .hand-area,.game-page .table.many-melds .hand-area,.game-page .table[data-phase=ended] .hand-area{width:calc(65cqw - var(--own-meld-count)*3.55cqw);--hand-width:calc(65cqw - var(--own-meld-count)*3.55cqw)}.game-page .table .bottom-controls .self-discard{position:absolute;right:11cqw;bottom:0;width:max(15cqw,calc(var(--own-meld-count)*3.55cqw));max-width:23cqw}.game-page .table .self-discard>div{justify-content:flex-end}.game-page .table .bottom-controls .table-tools{display:flex;position:static;flex-direction:column;align-items:stretch;gap:5px;margin-left:auto;width:10cqw}.game-page .table .table-tools button{padding:5px 3px;font-size:clamp(12px,1.4cqw,20px);white-space:nowrap;color:#e8edcf;background:#12433388;border:1px solid #b2c99d66;border-radius:6px}.game-page .table .self-discard-column .actions{position:fixed;right:2cqw;bottom:34cqh;max-height:40cqh;z-index:40}.game-page .table .actions .action-button,.game-page .table .actions .pass-button{background:#30664488!important;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);box-shadow:0 2px 5px #082b2244;color:#fff2c3}.game-page>.end-banner{position:absolute;z-index:80;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:10px;width:max-content;max-width:90%;padding:14px 24px;border:1px solid #d9d29a88;border-radius:10px;background:#214d38a6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);box-shadow:0 5px 24px #06291b55;color:#ffedb3;font-size:clamp(16px,2vw,26px);text-align:center;white-space:normal}.game-page>.end-banner .result-button{display:block;margin:0;padding:8px 24px;font-size:inherit;color:#fff4d1;background:#957d3caa;border:1px solid #d9c98888;border-radius:6px;white-space:nowrap}.game-page .table .hand-area,.game-page .table.many-melds .hand-area,.game-page .table[data-phase=ended] .hand-area{width:calc(65cqw - max(12cqw,var(--own-meld-count)*3.55cqw));--hand-width: calc(65cqw - max(12cqw,var(--own-meld-count)*3.55cqw)) }.game-page .table .bottom-controls .self-discard{width:max(12cqw,calc(var(--own-meld-count)*3.55cqw))}.game-page .table>.current-card{display:block;z-index:14;transform:none;pointer-events:none;width:auto;text-align:center}.game-page .table>.current-card[data-position=south]{left:50%;right:auto;top:62cqh;bottom:auto;transform:translate(-50%)}.game-page .table>.current-card[data-position=north]{left:50%;right:auto;top:24cqh;bottom:auto;transform:translate(-50%)}.game-page .table>.current-card[data-position=east]{left:63cqw;right:auto;top:25cqh;bottom:auto}.game-page .table>.current-card[data-position=west]{left:32cqw;right:auto;top:25cqh;bottom:auto}.long-tile{position:relative;box-sizing:border-box;width:5.5cqw;height:33cqh;border-radius:5px;border:3px solid #eed365;background:linear-gradient(90deg,#e8e1cc,#fffbed 40%,#f0ead8);box-shadow:0 2px 7px #052b2670,inset 0 0 2px #fffdf3;color:#25261f;font-family:PenghuKai,KaiTi,serif;font-size:4.3cqw;line-height:1;overflow:hidden}.long-tile.red{color:#af2929}.current-card.draw .long-tile{border-color:#65dedc}.long-tile.back{background:#c4b286}.long-tile>span{position:absolute;left:0;right:0;top:3px;text-align:center}.long-tile>span:last-child{top:auto;bottom:3px;transform:rotate(180deg)}.current-card[data-position=south] .long-tile,.current-card[data-position=north] .long-tile{width:15.5cqw;height:12cqh}.current-card[data-position=south] .long-tile>span,.current-card[data-position=north] .long-tile>span{inset:50% auto auto 4px;transform:translateY(-50%) rotate(-90deg)}.current-card[data-position=south] .long-tile>span:last-child,.current-card[data-position=north] .long-tile>span:last-child{left:auto;right:4px;transform:translateY(-50%) rotate(90deg)}.game-page .table .bottom-controls{right:1cqw;width:24cqw;bottom:8px}.game-page .table .bottom-controls .table-tools{width:8.2cqw;gap:4px}.game-page .table .table-tools button{width:100%;min-width:0;padding:4px 1px;font-size:clamp(11px,1.2cqw,17px);line-height:1.15;white-space:nowrap}.game-page .table .bottom-controls .self-discard-column{position:absolute;right:11cqw;bottom:0;width:max(12cqw,calc(var(--own-meld-count)*3.55cqw));max-width:23cqw}.game-page .table .bottom-controls .self-discard{position:relative;right:auto;bottom:auto;width:100%;max-width:none}.game-page .table .self-discard-column .actions{position:absolute;left:auto;right:0;top:auto;bottom:calc(100% + 5px);width:max-content;max-width:30cqw;max-height:44cqh;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;gap:6px;padding:4px;z-index:40}.game-page .table .actions .action-options{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;gap:6px;max-width:30cqw;max-height:35cqh;overflow:auto;flex-wrap:nowrap}.game-page .table .actions button,.game-page .table .actions .action-button:not(.sentence-option),.game-page .table .actions button.action-button:not(.sentence-option){box-sizing:border-box;width:max-content;min-width:8.5cqw;max-width:30cqw;height:auto;min-height:42px;padding:7px 13px;border-radius:12px;border:1px solid #d8e9d880;background:linear-gradient(135deg,#e8f6edbd,#8eb9a5a8)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 3px 10px #062b2055,inset 0 1px #ffffff8c;color:#f8ffe9;font-family:PenghuKai,KaiTi,serif;font-size:clamp(19px,2.5cqw,31px);line-height:1.05;white-space:nowrap;text-shadow:0 1px 2px #153c30}.game-page .table .actions button.sentence-option,.game-page .table .actions button[aria-label^="吃 "]{min-width:12cqw;text-align:center}.game-page .table .actions .pass-button{min-width:9.5cqw!important;width:9.5cqw!important;justify-content:center;background:linear-gradient(135deg,#d8e4edc9,#8b9facb8)!important}.game-page .table .actions .hu-button{background:linear-gradient(135deg,#ffe5c6d9,#d87b59c7)!important}.game-page .table .south{width:21cqw}.game-page .table .south .player-info{grid-template-columns:4.5cqw minmax(0,1fr);align-items:end;column-gap:1.1cqw;min-width:0}.game-page .table .south .avatar-column{grid-column:1;grid-row:1;align-self:end}.game-page .table .south .player-info>div:last-child{grid-column:2;grid-row:1;min-width:0;width:100%;overflow:hidden}.game-page .table .south .player-name-row{display:flex;align-items:baseline;gap:4px;max-width:100%;min-width:0;white-space:nowrap;overflow:hidden}.game-page .table .south .player-name-row b{flex:0 1 auto;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis}.game-page .table .south .hand-count{flex:none}.game-page .table .south .melds,.game-page .table[data-phase=ended] .south .melds{bottom:calc(8px + var(--own-discard-height,0px) + 5px)}.game-page .table .hand-pile.free-pile{position:absolute!important;left:var(--free-left)!important;top:var(--free-top)!important;right:auto!important;bottom:auto!important;z-index:20;transform:translate(-50%,-50%);margin:0}.game-page .table .hand-pile.free-pile .hand-tile{flex:none}.game-page .table .hand .drop-target{outline:none!important;background:transparent!important}.discard-swipe-guide{position:absolute;right:1cqw;top:-7.5cqh;width:9cqw;height:7cqh;z-index:30;pointer-events:none;filter:drop-shadow(0 2px 3px #08251f88);animation:guide-fade 1.2s ease-out 2 forwards}.discard-swipe-guide svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;color:#f3d68c}.discard-swipe-guide svg path{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-dasharray:110;stroke-dashoffset:110;animation:guide-arc 1.2s ease-out 2 forwards}.discard-swipe-guide span{position:absolute;left:1px;bottom:0;font-family:system-ui,sans-serif;font-size:clamp(25px,3.4cqw,42px);line-height:1;animation:guide-hand 1.2s cubic-bezier(.2,.65,.25,1) 2 forwards}@keyframes guide-arc{to{stroke-dashoffset:0}}@keyframes guide-hand{0%{transform:translateY(1cqh) rotate(-12deg);opacity:0}15%{opacity:1}80%{transform:translate(2.1cqw,-2.6cqh) rotate(0);opacity:1}to{transform:translate(2.1cqw,-2.6cqh) rotate(0);opacity:0}}@keyframes guide-fade{0%,90%{opacity:1}to{opacity:0}}.game-page .table .hand-pile.free-pile.drag-source{z-index:100}.game-page .table .tile,.game-page .table .long-tile{font-family:Penghu,KaiTi,serif;font-weight:400;padding:0;letter-spacing:0;word-spacing:0;line-height:1}.game-page .table .tile>span.card-glyph{left:0;right:0;top:0;padding:0;margin:0;line-height:1;transform:none;-webkit-text-stroke:0;pointer-events:none}.card-glyph svg{display:block;width:100%;height:auto;overflow:visible;pointer-events:none}.long-tile>span.card-glyph{width:5.1cqw;height:5.1cqw;left:50%;right:auto;top:3px;transform:translate(-50%);padding:0;margin:0;pointer-events:none}.long-tile>span.card-glyph:last-child{top:auto;bottom:3px;transform:translate(-50%) rotate(180deg)}.current-card[data-position=south] .long-tile>span.card-glyph,.current-card[data-position=north] .long-tile>span.card-glyph{inset:50% auto auto 4px;transform:translateY(-50%) rotate(-90deg)}.current-card[data-position=south] .long-tile>span.card-glyph:last-child,.current-card[data-position=north] .long-tile>span.card-glyph:last-child{left:auto;right:4px;transform:translateY(-50%) rotate(90deg)}.game-page .table .avatar-column{position:relative;overflow:visible}.game-page .table .dealer-badge{position:absolute;left:0;top:0;transform:translate(-60%);z-index:2;font-size:clamp(16px,1.75cqw,24px);line-height:1.15;padding:3px 5px;border:1px solid #ffc678;border-radius:5px;background:#ed861e;color:#fff7d5;box-shadow:0 2px 5px #082c2666;font-weight:700;white-space:nowrap}.game-page .table .north .player-name-row{align-items:flex-end}.game-page .table .north .hand-count{margin:0;line-height:1.25}.game-page .table .north .discard-display,.game-page .table[data-phase=ended] .north .discard-display{left:auto;right:calc(100% + 4cqw);top:11cqh;width:18cqw}.game-page .table .north .melds{left:calc(100% + .7cqw);right:auto;top:0;flex-direction:row}.game-page .table .east .discard-display,.game-page .table .west .discard-display,.game-page .table[data-phase=ended] .east .discard-display,.game-page .table[data-phase=ended] .west .discard-display{top:11cqh}.game-page .table .east .melds,.game-page .table .west .melds,.game-page .table[data-phase=ended] .east .melds,.game-page .table[data-phase=ended] .west .melds{top:calc(11cqh + var(--seat-discard-height,0px) + 6px)}.game-page .table[data-phase=ended] .east .opponent-hand.revealed,.game-page .table[data-phase=ended] .west .opponent-hand.revealed{top:calc(11cqh + var(--seat-discard-height,0px) + 12px + var(--seat-meld-height,0px))}.game-page .table .table-center{top:32%}.game-page .table>.current-card[data-position=south]{top:calc(32cqh + max(32px,min(5cqw,10cqh)) + 26px)}.game-page .table>.current-card[data-position=north]{top:15cqh}.game-page .table:has(>.current-card[data-position=south]) .table-center .table-prompt{top:calc(100% + 34px + 12cqh)}.game-page .table .self-discard-column .actions{right:-3cqw;gap:8px;padding:3px;max-height:48cqh;overflow-y:auto;overflow-x:hidden}.game-page .table .self-discard-column .actions .action-options{gap:8px;max-height:38cqh;overflow-y:auto;overflow-x:hidden}.game-page .table .self-discard-column .actions button,.game-page .table .self-discard-column .actions button.action-button:not(.sentence-option),.game-page .table .self-discard-column .actions button.pass-button{position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;width:17.5cqw!important;min-width:17.5cqw!important;max-width:none;height:12cqh;min-height:42px;border-radius:999px;border:1px solid #ffffff65;padding:0;letter-spacing:0;word-spacing:0;line-height:1;background:linear-gradient(155deg,#ffffff20,#ffffff08 42%,#94d4b614 72%,#ffffff1d)!important;backdrop-filter:blur(5px) saturate(1.5) brightness(1.08);-webkit-backdrop-filter:blur(5px) saturate(1.5) brightness(1.08);box-shadow:0 9px 20px #042e2440,inset 0 1px 1px #ffffffe0,inset 1px 0 2px #fff6,inset -1px -1px 2px #ecfff1a6,inset 0 -5px 10px #ffffff0b;font-family:Microsoft YaHei,PingFang SC,sans-serif;font-weight:500;font-size:clamp(19px,2.5cqw,32px);color:#fff8d9;text-shadow:0 1px 3px #073929bb;white-space:nowrap}.game-page .table .self-discard-column .actions button:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(ellipse at 18% 0%,#ffffff79,transparent 42%),radial-gradient(ellipse at 96% 100%,#ffffff44,transparent 45%);opacity:.65;z-index:-1}.game-page .table .self-discard-column .actions button:after{content:"";position:absolute;inset:3px;border-radius:inherit;border-top:1px solid #ffffff65;border-bottom:1px solid #e5fff05c;pointer-events:none;-webkit-mask-image:linear-gradient(110deg,#000,transparent 37%,transparent 70%,#000);mask-image:linear-gradient(110deg,#000,transparent 37%,transparent 70%,#000)}.game-page .table .table-prompt{text-shadow:0 1px 3px #072f24,0 0 2px #072f24}.game-page .table .self-discard-column .actions button.sentence-option{border-radius:999px!important}.game-page .table .self-discard-column .actions button[aria-label^=落牌]{width:max-content!important;max-width:30cqw;min-width:17.5cqw!important;padding:0 10px;font-size:clamp(16px,1.8cqw,24px)}.game-page .table[data-phase=ended] .east .opponent-hand.revealed{max-width:12cqw;justify-content:flex-end}.game-page .table .east .discard-zone>div{display:grid;grid-template-columns:repeat(7,2.35cqw);justify-content:end;direction:rtl;grid-auto-flow:row;gap:2px}.game-page .table .east .discard-zone>div>span{direction:ltr}.game-page .table .table-center{left:calc((100% + var(--safe))/2)}.game-page .table>.current-card[data-position=south],.game-page .table>.current-card[data-position=north]{left:calc((100% + var(--safe))/2)}.game-page .table .dealer-badge{left:auto;right:0;top:0;transform:none;border:0;border-radius:0;background:none;box-shadow:none;padding:0;width:min(3cqw,4.5cqw);height:4.5cqw;max-height:100%;z-index:3}.game-page .table .dealer-badge svg{display:block;width:100%;height:100%}.game-page .table .hand-area{--hand-columns:10;--hand-card-width:min(5.1cqw,11.8cqh,calc((var(--hand-width) - 9*var(--hand-gap))/10))}.game-page .table:not([data-phase=ended]) .hand-area{--hand-card-width:min(5.1cqw,11.8cqh,calc((var(--hand-width) - 9*var(--hand-gap))/10))}.game-page .table .hand{justify-content:center}.game-page .table .listening-indicator{position:absolute;left:var(--safe);bottom:calc(8px + 6cqw);font-size:clamp(13px,1.4cqw,20px);max-width:28cqw;padding:4px 8px;border-radius:6px;color:#ffe0a0;background:#103c30aa;z-index:11;line-height:1.4}.game-page .table.action-overlay{position:absolute!important;inset:0;z-index:70;background:transparent!important;overflow:visible!important;pointer-events:none;isolation:auto;box-shadow:none!important}.game-page .action-overlay .bottom-controls,.game-page .action-overlay .self-discard-column{overflow:visible;pointer-events:none}.game-page .table.action-overlay .self-discard-column .actions{right:-9.5cqw;bottom:0;max-height:none;max-width:none;overflow:visible;gap:5px;padding:0;pointer-events:none}.game-page .table.action-overlay .actions .action-options{overflow:visible;max-height:none;max-width:none;gap:5px}.game-page .table.action-overlay .actions button{pointer-events:auto;width:12.5cqw!important;min-width:12.5cqw!important;min-height:28px;height:min(9cqh,calc((85cqh - (var(--action-count) - 1)*5px)/var(--action-count)));font-size:clamp(16px,2cqw,25px);padding:2px 5px;display:flex;align-items:center;justify-content:center;gap:4px;border-radius:999px!important}.game-page .table.action-overlay .actions button.action-button:not(.sentence-option),.game-page .table.action-overlay .actions button.pass-button{width:12.5cqw!important;min-width:12.5cqw!important;min-height:28px;height:min(9cqh,calc((85cqh - (var(--action-count) - 1)*5px)/var(--action-count)));font-size:clamp(16px,2cqw,25px)}.action-cards{display:flex;gap:0;align-items:center;justify-content:center;white-space:nowrap;font-family:Penghu,KaiTi,serif}.action-cards .card-glyph{display:block;position:static!important;width:2.4cqw;max-width:24px;height:2.4cqw;max-height:24px;transform:none!important}.game-page .table .table-tools{width:7.5cqw!important}.game-page .table .table-tools button{height:7cqh;min-height:28px;border-radius:999px;background:linear-gradient(155deg,#ffffff20,#ffffff08 42%,#94d4b614 72%,#ffffff1d);border:1px solid #ffffff65;-webkit-backdrop-filter:blur(5px) saturate(1.5);backdrop-filter:blur(5px) saturate(1.5);box-shadow:0 3px 8px #042e2440,inset 0 1px 1px #ffffffbd,inset 0 -1px 1px #ecfff18c;padding:0;font-size:clamp(13px,1.5cqw,19px)}.game-page .table.action-overlay .self-discard-column .actions{right:-3cqw}.game-page .table.action-overlay .actions button,.game-page .table.action-overlay .actions button.action-button,.game-page .table.action-overlay .actions button.sentence-option,.game-page .table.action-overlay .actions button.pass-button{min-height:28px!important;height:min(9cqh,calc((85cqh - (var(--action-count) - 1)*5px)/var(--action-count)))!important;max-height:none!important;padding:2px 5px!important;font-size:clamp(16px,2cqw,25px)!important;flex:none}.game-page .table.action-overlay .actions .action-options.split-options{display:grid;grid-template-rows:repeat(8,28px);grid-auto-flow:column;grid-auto-columns:12.5cqw;gap:5px;height:auto}.game-page .table.action-overlay .actions .split-options button{height:28px!important;min-height:28px!important}.game-page .table .dealer-badge{right:0;top:0;width:1.7cqw;height:2.2cqw;max-height:49%}.game-page .table .self-discard>div{justify-content:flex-start;direction:ltr;flex-direction:row}.game-page .table .south .melds{flex-direction:row;justify-content:flex-start;direction:ltr}.game-page .game-header .fullscreen-button,.game-page .game-header .record-button{border:1px solid #ffffff80;border-radius:999px;padding:5px 12px;background:linear-gradient(150deg,#ffffff40,#ffffff10);color:#fff6d5;box-shadow:0 2px 6px #062c2440,inset 0 1px 1px #ffffffa0;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);font-weight:600}.game-page .table.action-overlay .self-discard-column .actions{left:50%;right:auto;transform:translate(-50%);align-items:center}.game-page .table.action-overlay .actions button,.game-page .table.action-overlay .actions button.action-button,.game-page .table.action-overlay .actions button.sentence-option,.game-page .table.action-overlay .actions button.pass-button{width:14cqw!important;min-width:14cqw!important}.game-page .table.action-overlay .actions .action-options.split-options{grid-auto-columns:14cqw}.game-page .table.action-overlay .actions button.pass-button{background:linear-gradient(155deg,#dce1e640,#aeb5be20 42%,#737f902c 72%,#d1d7de38)!important;border-color:#e2e6eb88;backdrop-filter:blur(5px) saturate(.35);-webkit-backdrop-filter:blur(5px) saturate(.35);color:#f3f4f5;text-shadow:0 1px 3px #23303d}.game-page .table-menu summary{display:flex;align-items:center;justify-content:center;width:32px;height:30px;box-sizing:border-box;border-radius:2px;border:1px solid #ffffff70;background:linear-gradient(155deg,#ffffff30,#ffffff0a 45%,#b3d7c420);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);box-shadow:0 2px 5px #072b2540,inset 0 1px 1px #ffffffa0;color:#fff6da;font-size:23px}.game-page .table .table-center .table-prompt,.game-page .table:not(:has(.current-card)):not([data-phase=ended]) .table-center .table-prompt,.game-page .table:has(>.current-card[data-position=south]) .table-center .table-prompt{top:calc(100% + 12px);pointer-events:none}.game-page .table .north .discard-display,.game-page .table[data-phase=ended] .north .discard-display{right:calc(100% + .7cqw)}.game-page .table .north .discard-zone>div{display:grid;grid-template-columns:repeat(7,2.35cqw);justify-content:end;direction:rtl;grid-auto-flow:row;gap:2px}.game-page .table .north .discard-zone>div>span{direction:ltr}.game-page .table.action-overlay .actions button.action-button:not(.sentence-option){width:14cqw!important;min-width:14cqw!important}.game-page .table .avatar.dealer-avatar{background:linear-gradient(145deg,#f28b42,#d54e2c);color:#fff7df;border-color:#ffbc7b;box-shadow:0 2px 7px #5c271b55,inset 0 1px 1px #ffe1bfa0;text-shadow:0 1px 2px #922d1d}.game-page .table .self-discard>div{display:grid;grid-template-columns:repeat(4,2.35cqw);grid-auto-flow:row;justify-content:end;direction:rtl;gap:2px}.game-page .table .self-discard>div>span{direction:ltr}.game-page .table .south .melds,.game-page .table[data-phase=ended] .south .melds{flex-direction:row-reverse;justify-content:flex-start;direction:ltr}.game-page .table .seat .avatar.dealer-avatar{background:linear-gradient(145deg,#f28b42,#d54e2c);color:#fff7df;border-color:#ffbc7b}.game-page .table-menu .ui-version{display:block;padding:4px 9px;color:#6b776a;font:12px/1.3 Microsoft YaHei,sans-serif;white-space:nowrap}.game-page .table .self-discard>div{justify-content:start;direction:ltr}.game-page .table .south .melds,.game-page .table[data-phase=ended] .south .melds{flex-direction:row;justify-content:flex-start;direction:ltr}.game-page .table>.current-card[data-position=west]{left:calc(100% + var(--safe) - 63cqw - 5.5cqw)}.game-page,.game-page *,.modal-scrim.in-game,.modal-scrim.in-game *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.game-page .table .south .melds,.game-page .table[data-phase=ended] .south .melds,.game-page .table .west .melds,.game-page .table[data-phase=ended] .west .melds,.game-page .table .north .melds,.game-page .table[data-phase=ended] .north .melds{flex-direction:row;direction:ltr;justify-content:flex-start}.game-page .table .east .melds,.game-page .table[data-phase=ended] .east .melds{flex-direction:row-reverse;direction:ltr;justify-content:flex-start}.game-page .table .west .discard-zone>div{display:grid;grid-template-columns:repeat(7,2.35cqw);grid-auto-flow:row;direction:ltr;justify-content:start;gap:2px}.game-page .table .west .discard-zone>div>span{direction:ltr}.game-page .table .south .melds,.game-page .table[data-phase=ended] .south .melds{left:76cqw;right:auto;width:15cqw;flex-direction:row;direction:ltr;justify-content:flex-start;--meld-card-width:min(3cqw, calc((15cqw - ((max(1,var(--own-meld-count)) - 1)*.55cqw))/max(1,var(--own-meld-count))) )}.game-page .table[data-phase=ended] .hand-area{width:calc(65cqw - max(12cqw,var(--own-meld-count)*3.55cqw) - 8px);--hand-width: calc(65cqw - max(12cqw,var(--own-meld-count)*3.55cqw) - 8px) }.game-page .table[data-phase=ended] .hand{justify-content:center}.game-page .table[data-phase=ended] .hand-pile.free-pile{position:relative!important;inset:auto!important;transform:none;margin:0}.game-page .table{--zone-card-width:min(clamp(14px,2.35cqw,36px),calc((15cqw - 4*.55cqw)/5))}.game-page .table .melds,.game-page .table .south .melds,.game-page .table[data-phase=ended] .south .melds{--meld-card-width:var(--zone-card-width)}.game-page .table .meld-stack,.game-page .table .mini-pile .tile{width:var(--zone-card-width)}.game-page .table .discard-zone .tile{width:var(--zone-card-width);height:calc(var(--zone-card-width)*1.2);font-size:calc(var(--zone-card-width)*.94)}.game-page .table .discard-zone>div{max-height:calc(3*var(--zone-card-width)*1.2 + 4px)}.game-page .table .east .discard-zone>div,.game-page .table .west .discard-zone>div,.game-page .table .north .discard-zone>div{grid-template-columns:repeat(auto-fit,var(--zone-card-width))}.game-page .table .self-discard>div{grid-template-columns:repeat(4,var(--zone-card-width))}.game-page .table{--zone-card-gap:.55cqw;--zone-row-width:calc(5*var(--zone-card-width) + 4*var(--zone-card-gap))}.game-page .table .seat .melds{gap:var(--zone-card-gap)}.game-page .table .discard-zone>div,.game-page .table .self-discard>div,.game-page .table .east .discard-zone>div,.game-page .table .west .discard-zone>div,.game-page .table .north .discard-zone>div{display:grid;grid-template-columns:repeat(5,var(--zone-card-width));grid-auto-flow:row;column-gap:var(--zone-card-gap);row-gap:var(--zone-card-gap);max-height:none;overflow:visible}.game-page .table .discard-display,.game-page .table[data-phase=ended] .discard-display{width:var(--zone-row-width)}.game-page .table .east .discard-display,.game-page .table[data-phase=ended] .east .discard-display{right:0;left:auto}.game-page .table .east .discard-zone>div,.game-page .table[data-phase=ended] .east .discard-zone>div,.game-page .table .north .discard-zone>div,.game-page .table[data-phase=ended] .north .discard-zone>div{direction:rtl;justify-content:end}.game-page .table .east .discard-zone>div>span,.game-page .table .north .discard-zone>div>span{direction:ltr}.game-page .table .bottom-controls .self-discard-column{left:1cqw;right:auto;width:var(--zone-row-width);max-width:none}.game-page .table .north,.game-page .table[data-phase=ended] .north{width:max-content;max-width:24cqw}.game-page .table .north .discard-display,.game-page .table[data-phase=ended] .north .discard-display{top:0;right:calc(100% + var(--zone-card-gap));left:auto;width:var(--zone-row-width)}.game-page .table .north .melds,.game-page .table[data-phase=ended] .north .melds{top:0;left:calc(100% + var(--zone-card-gap));right:auto;flex-direction:row}.game-page .game-header .game-status{position:absolute;top:calc(100% + 6px);left:0;display:flex;align-items:center;gap:8px;white-space:nowrap;z-index:1;pointer-events:none;line-height:1.4}.game-page .game-header .game-status .room-tag{padding:0}.game-page .table-menu{z-index:2}.game-page .table .west,.game-page .table[data-phase=ended] .west{top:max(12cqh,80px)}.game-page .table .current-card.deck-card .long-tile{border-color:#eed365;box-shadow:0 0 0 1px #eed36566,0 2px 7px #052b2670}.game-page .table .current-card.hand-card .long-tile{border-color:#5af;box-shadow:0 0 0 1px #5af8,0 2px 7px #052b2670}.game-page>.end-banner{font-size:clamp(22px,2.2vmax,36px);line-height:1.45;max-width:calc(100% - 32px);padding:16px 24px;gap:12px}.game-page>.end-banner>span{font:inherit;overflow-wrap:anywhere}.game-page>.end-banner .result-button{font-size:clamp(18px,1.6vmax,26px);min-height:44px;padding:8px 24px}.modal-scrim{padding:12px;overscroll-behavior:contain}.modal-scrim .modal,.game-page .modal,.modal-scrim.in-game .modal{font-size:clamp(18px,1.2vmax,22px);line-height:1.5;max-width:calc(100% - 24px);max-height:calc(var(--dialog-height,100dvh) - 24px);overflow:auto;overscroll-behavior:contain;padding:18px 22px;-webkit-overflow-scrolling:touch}.modal-scrim .modal h2,.game-page .modal h2{font-size:clamp(22px,1.8vmax,30px);line-height:1.3;margin:0 40px 12px 0}.modal-scrim .modal .close{width:36px;height:36px;line-height:36px;font-size:28px;top:8px;right:10px}.modal-scrim .modal button:not(.close){font-size:inherit;min-height:44px}.modal-scrim .guide p,.modal-scrim .guide li,.modal-scrim .guide h3{font-size:inherit;line-height:1.65}.modal-scrim .guide h3{font-size:1.1em;margin:16px 0 8px}.modal-scrim .guide-examples{display:flex;flex-wrap:wrap;gap:12px}.modal-scrim .guide-examples span{flex:1 1 160px;font-size:1.2em}.modal-scrim .guide-examples small{font-size:.85em}.modal-scrim .settings-modal,.modal-scrim.in-game .settings-modal{width:min(680px,calc(var(--dialog-width,100dvw) - 24px));display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;align-content:start}.modal-scrim .settings-modal>h2{grid-column:1/-1;grid-row:1;margin-bottom:0}.modal-scrim .settings-modal>.eyebrow{display:none}.modal-scrim .settings-modal>.close{grid-column:2;grid-row:1;justify-self:end;position:sticky;top:0;right:auto;z-index:10;margin:0;padding:0;background:#fffef4}.modal-scrim .settings-modal .setting-row{font-size:inherit;margin:0;padding:8px 0;min-height:48px;gap:12px;min-width:0}.modal-scrim .settings-modal .setting-row:has(#volume){grid-column:1/-1}.modal-scrim .settings-modal .setting-row small{display:none}.modal-scrim .settings-modal input[type=checkbox]{width:24px;height:24px;flex:none;accent-color:#397756}.modal-scrim .settings-modal #volume{height:28px;min-width:60px;flex:1;accent-color:#397756}.modal-scrim .settings-modal .settings-note{grid-column:1/-1;font-size:14px;line-height:1.5;margin:0;color:#61735d}.game-page .settlement{width:min(760px,calc(var(--dialog-width) - 24px))}.game-page .settlement>p{font-size:inherit;line-height:1.5;margin:0 0 10px}.settlement-list{display:grid;gap:8px;margin:12px 0}.settlement-player{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);align-items:center;gap:12px;padding:12px 14px;border-radius:8px;background:#edf2e5;border:1px solid #d9e3d0}.settlement-name{min-width:0;overflow-wrap:anywhere;font-size:1.1em}.settlement-player>div{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.settlement-player>div>span{font-size:.85em;color:#697b65}.settlement-player strong{font-size:1.35em;line-height:1.2;font-variant-numeric:tabular-nums}.winner-label{display:inline-block;font-size:.75em;color:#ac482d;margin-left:8px;white-space:nowrap}.modal-scrim .ledger-modal{width:min(920px,calc(var(--dialog-width,100dvw) - 24px));height:min(720px,calc(var(--dialog-height,100dvh) - 24px));display:flex;flex-direction:column}.modal-scrim .ledger-modal .ledger-scores{gap:8px;margin:0 0 8px}.modal-scrim .ledger-modal .ledger-scores>div{font-size:16px;line-height:24px}.modal-scrim .ledger-modal .ledger-scores b{font-size:18px;line-height:24px}.modal-scrim .ledger-modal .ledger p{font-size:inherit;line-height:1.6;padding:10px 0}@media(max-width:600px)and (orientation:portrait){.modal-scrim:not(.in-game) .settings-modal{grid-template-columns:1fr;gap:4px}.modal-scrim:not(.in-game) .settings-modal>.close{grid-column:1}.modal-scrim:not(.in-game) .settings-modal>h2{padding-right:40px}}@media(max-height:500px)and (orientation:landscape){.modal-scrim .modal,.game-page .modal,.modal-scrim.in-game .modal{padding:12px 16px}.game-page .settlement h2{margin-bottom:4px}.game-page .settlement>p{margin-bottom:4px}.settlement-list{gap:5px;margin:8px 0}.settlement-player{padding:7px 12px;grid-template-columns:minmax(0,1.5fr) 1fr 1fr}.settlement-player>div{flex-direction:row;align-items:baseline;justify-content:flex-end;gap:10px}.game-page .settlement>button{min-height:44px}}.modal-scrim .guide,.modal-scrim .desktop-modal .desktop-note,.modal-scrim .desktop-modal li{font-size:inherit}.modal-scrim .guide>.eyebrow{display:none}.modal-scrim.in-game .guide,.game-page .modal .guide{font-size:inherit}.modal-scrim .settings-modal input[type=checkbox]{width:44px;height:26px;border-radius:20px}.modal-scrim .settings-modal input[type=checkbox]:after{width:20px;height:20px;top:3px;left:3px}.modal-scrim .settings-modal input[type=checkbox]:checked:after{left:21px}.game-page .settlement h2.settlement-title{white-space:nowrap;overflow-x:auto;overflow-y:hidden;text-overflow:clip;width:100%;margin:0 0 12px;line-height:1.5;font-size:clamp(18px,1.5vmax,28px);padding-bottom:4px;overscroll-behavior:contain}.settlement-header,.settlement-list .settlement-player{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:12px;padding-left:14px;padding-right:14px}.settlement-header{align-items:center;font-weight:600;font-size:1em;color:#56704d;padding-top:6px;padding-bottom:6px;border-bottom:1px solid #cdddc3}.settlement-header>span:not(:first-child){text-align:right;white-space:nowrap}.settlement-list .settlement-player>div{justify-content:flex-end}.game-page .table .score-float{animation-duration:1.8s;--score-drift:clamp(10px,1.2cqw,20px)}@keyframes float{0%{opacity:0;transform:translate(-50%,-100%)}15%,65%{opacity:1}to{opacity:0;transform:translate(-50%,calc(-100% - var(--score-drift,16px)))}}@keyframes float-down{0%{opacity:0;transform:translate(-50%,-100%)}15%,65%{opacity:1}to{opacity:0;transform:translate(-50%,calc(-100% + var(--score-drift,16px)))}}.game-page .table .coin-flight{margin-left:-1cqw;margin-top:-1cqw}.game-page .table .score-float[data-position=north]{animation-name:score-below}@keyframes score-below{0%{opacity:0;transform:translate(-50%)}15%,65%{opacity:1}to{opacity:0;transform:translate(-50%,var(--score-drift,16px))}}.game-page .table .coin-layer{z-index:40}.game-page .table .score-float{font-size:clamp(24px,2.5cqw,42px);font-weight:900;line-height:1.1;animation-duration:3.2s;--score-drift:6px;text-shadow:0 2px 3px #102d20,1px 0 1px #102d20,-1px 0 1px #102d20}.game-page .table .score-float.positive{color:#ffdb65}.game-page .table .score-float.negative{color:#ff5b57}@keyframes float{0%{opacity:0;transform:translate(-50%,-100%)}8%,86%{opacity:1;transform:translate(-50%,-100%)}to{opacity:0;transform:translate(-50%,calc(-100% - var(--score-drift,6px)))}}@keyframes score-below{0%{opacity:0;transform:translate(-50%)}8%,86%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,var(--score-drift,6px))}}.game-page .table .score-float,.game-page .table .score-float[data-position=north]{animation-name:score-total}@keyframes score-total{0%{opacity:0;transform:translate(-50%,-50%) scale(.9)}8%,86%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,calc(-50% - 6px))}}.game-page .end-banner[data-waiting=true]{visibility:hidden;pointer-events:none}.resource-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#55765b;font-size:13px;margin-top:7px;line-height:1.4}.resource-status progress{width:100%;height:5px;accent-color:#54754c}.resource-status button{text-decoration:underline;font-size:inherit;padding:0 4px}.reveal-choice-title{grid-column:1/-1;align-self:stretch;width:100%;flex:none;color:#fff8d9;font-size:clamp(15px,1.6cqw,22px);font-weight:600;white-space:nowrap;text-align:center;line-height:1.4;padding:5px 9px;border-radius:6px;background:#123f33b3;text-shadow:0 1px 2px #12352b;pointer-events:none}.multi-win-banner>span{max-width:min(88vw,980px);overflow-x:auto;white-space:nowrap;font-size:clamp(16px,2vw,27px)}.settlement-name .winner-label{white-space:nowrap}.lobby{width:100%;max-width:1280px;padding:28px clamp(18px,4vw,54px) 0}.lobby .lobby-header{gap:20px;padding-bottom:22px;flex-wrap:wrap}.lobby .lobby-header nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.lobby .lobby-grid{display:grid;grid-template-columns:minmax(340px,440px) minmax(0,1fr);grid-template-areas:"start story";gap:clamp(32px,5vw,76px);align-items:center;padding:36px 0 30px}.lobby .start-panel{grid-area:start;width:100%;min-width:0;padding:28px;border-radius:18px;box-shadow:0 15px 44px #25462a08}.lobby .hero{grid-area:story;min-width:0;padding:18px 0;display:flex;flex-direction:column;align-items:center;text-align:center;overflow:visible}.lobby .hero>.eyebrow{font-size:12px;margin:0 0 16px;display:flex;align-items:center;justify-content:center;gap:8px}.lobby .hero h1{font-size:clamp(39px,4.6vw,63px);letter-spacing:3px;line-height:1.3;margin:0 0 18px}.lobby .hero-sub{font-size:14px;line-height:2;margin:0}.lobby .hero-art{container-type:inline-size;position:relative;inset:auto;width:100%;max-width:430px;height:315px;margin:18px auto 0;transform:none;flex:none}.lobby .hero-ring{display:block;left:50%;top:8px;transform:translate(-50%);width:260px;height:260px;border-color:#dce4d1;background:radial-gradient(ellipse,#e3ebd6aa,transparent 70%)}.lobby .hero-art .art-card{--card-width:clamp(68px,22cqw,94px);width:var(--card-width);height:calc(var(--card-width)*1.85);top:38px;border-radius:8px;box-shadow:3px 6px #c4c6b5,7px 15px 20px #3a4f3420}.lobby .hero-art .c1{left:calc(50% - var(--card-width)*1.43);transform:rotate(-14deg)}.lobby .hero-art .c2{left:calc(50% - var(--card-width)/2);top:18px;transform:rotate(1deg)}.lobby .hero-art .c3{left:calc(50% + var(--card-width)*.43);transform:rotate(14deg)}.lobby .hero-art .art-card span{font-size:clamp(49px,16cqw,68px);margin-top:15px;line-height:1.15}.lobby .hero-art .art-card i{font-size:11px;bottom:18px}.lobby .hero-art .art-caption{left:0;right:0;width:100%;bottom:18px;line-height:1.4;font-size:16px;letter-spacing:5px;white-space:nowrap}.lobby .hero-art .art-caption span{font-size:11px;letter-spacing:1px;margin-top:8px}.lobby .hero-notes{width:100%;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;font-size:11px;letter-spacing:.5px;padding:0;line-height:1.7}.lobby .lobby-footer{gap:16px;flex-wrap:wrap;align-items:center;line-height:1.8;padding:20px 0;font-size:10px}@media(min-width:761px)and (max-width:1000px){.lobby{padding:22px 24px 0}.lobby .lobby-grid{grid-template-columns:minmax(315px,1fr) minmax(0,1fr);gap:28px;padding-top:28px}.lobby .start-panel{padding:22px}.lobby .hero h1{font-size:39px;letter-spacing:2px}.lobby .hero-sub{font-size:13px}.lobby .hero-art{height:285px}.lobby .hero-ring{width:225px;height:225px}.lobby .hero-notes i{display:none}.lobby .mode-card{padding:12px 10px}.lobby .mode-card small{font-size:9px;white-space:normal;line-height:1.5}}@media(max-width:760px){.lobby{padding:12px 14px 0}.lobby .lobby-header{padding-bottom:12px;gap:8px;flex-wrap:nowrap}.lobby .brand{font-size:18px;gap:7px;letter-spacing:1px}.lobby .brand-seal{font-size:24px}.lobby .brand small{font-size:7px;letter-spacing:1px}.lobby .lobby-header nav{gap:3px;flex-wrap:nowrap}.lobby .lobby-header nav button{padding:6px 3px;font-size:11px;min-height:34px;white-space:nowrap}.lobby .lobby-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"start" "story";gap:30px;padding:14px 0 20px}.lobby .start-panel{padding:16px;border-radius:14px;max-width:490px;justify-self:center}.lobby .panel-title>.eyebrow,.lobby .panel-title>p,.lobby .panel-tip,.lobby .panel-foot{display:none}.lobby .panel-title h2{font-size:24px;line-height:1.3;margin:0 0 12px}.lobby .input-label{font-size:13px;line-height:18px;margin:9px 0 6px}.lobby .name-input{height:42px;padding:0 10px}.lobby .name-input input{font-size:16px}.lobby .mode-grid{gap:8px}.lobby .mode-card{display:flex;align-items:center;gap:8px;min-height:46px;padding:10px}.lobby .mode-card b{margin:0;font-size:14px}.lobby .mode-card small{display:none}.lobby .practice-options{min-height:34px;margin:10px 0;font-size:13px}.lobby .practice-options select{padding:7px;font-size:13px}.lobby .start-button{min-height:44px;padding:10px 14px;font-size:15px}.lobby .resource-status{font-size:12px}.lobby .hero{padding:12px 8px 4px;width:100%;max-width:490px;justify-self:center}.lobby .hero h1{font-size:40px;letter-spacing:3px;margin-bottom:15px}.lobby .hero>.eyebrow{font-size:11px;margin-bottom:12px}.lobby .hero-sub{font-size:13px}.lobby .hero-art{height:280px;max-width:365px;margin-top:15px}.lobby .hero-ring{width:230px;height:230px;top:4px}.lobby .hero-art .art-caption{bottom:18px;font-size:15px}.lobby .lobby-footer{justify-content:center;font-size:10px;border-top:1px solid #e0e4d8}.lobby .lobby-footer>span:first-child{display:none}}@media(max-width:760px)and (max-height:640px){.lobby{padding:8px 10px 0}.lobby .lobby-header{padding-bottom:6px}.lobby .lobby-grid{padding-top:10px}.lobby .start-panel{padding:12px}.lobby .panel-title h2{font-size:22px;margin-bottom:6px}.lobby .input-label{margin:6px 0 4px}.lobby .name-input{height:38px}.lobby .mode-card{min-height:42px;padding:8px}.lobby .practice-options{margin:7px 0;min-height:32px}.lobby .practice-options select{padding:6px}.lobby .start-button{min-height:42px;padding:9px 12px}.lobby .resource-status{margin-top:6px;line-height:1.25}}@media(max-width:760px){.lobby .lobby-header nav{margin-right:8px;gap:2px}.lobby .lobby-header nav button{padding-left:1px;padding-right:1px}}
