:root{font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif;color:#30473e;background:#f5f3ec;font-synthesis:none;font-weight:400;--green: #237568;--green-dark: #24594c;--ink: #30473e;--muted: #8a9285;--cream: #fffdf5;--orange: #eea344;--border: #e6e5d9}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button,input,select{-webkit-tap-highlight-color:transparent}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.43}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #77b7a4;outline-offset:3px}button{border:0}svg{flex-shrink:0}h1,h2,h3,p{margin:0}input,select{color:var(--ink)}button{touch-action:manipulation}::selection{background:#d1e7d7}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border-radius:11px;padding:12px 22px;font-weight:700;font-size:14px;transition:transform .15s,background .15s;white-space:nowrap}.button:not(:disabled):active{transform:translateY(2px)}.button.primary{background:var(--green);color:#fff;box-shadow:0 3px #195b50}.button.amber{background:#f1b451;color:#523d22;box-shadow:0 4px #ce8e34;border:1px solid #e5a13c}.button.amber:not(:disabled):hover{background:#f8c36b}.button.secondary{background:#e7eee4;border:1px solid #d9e1d3;color:#44614e;box-shadow:0 3px #d2dcce}.button.cream{background:#fff4d9;border:1px solid #e7d5a9;box-shadow:0 3px #d9c697;color:#73562d}.button.subtle{background:#f9f9f1;border:1px solid #dfe4d8;color:#60715b;min-height:42px;font-size:13px}.button.glass{background:#ffffff18;border:1px solid #ffffff40;color:#fff6d8;box-shadow:0 3px #164f4444}.button.small{min-height:36px;padding:7px 15px;font-size:12px;border-radius:8px}.full-width{width:100%}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:transparent;border-radius:9px;color:#748475;flex-shrink:0}.icon-button:hover{background:#2549380b}.tag{display:inline-flex;align-items:center;gap:7px;border-radius:6px;padding:6px 9px;font-size:10px;font-weight:600;letter-spacing:.5px}.light-tag{background:#ffffff6e;color:#466b58}.warm-tag{background:#fbecd1;color:#b4823f}.mini-label{font-size:11px;letter-spacing:1px;color:#9a9f90}.online-dot,.offline-dot{width:5px;height:5px;border-radius:50%;display:inline-block;background:#8bbe8c;margin-left:5px}.offline-dot{background:#a5aaa1}.brand{display:flex;gap:11px;align-items:center}.brand-mark{display:flex;align-items:center;justify-content:center;width:45px;height:48px;background:#286c57;color:#ffe1a7;transform:rotate(-5deg);border-radius:13px 13px 16px 16px;box-shadow:0 3px #1e503f}.brand b{font-size:19px;letter-spacing:1px;white-space:nowrap}.brand b>span{display:none}.brand small{display:block;font-size:10px;color:#93a18e;letter-spacing:2px;margin-top:7px}.brand.compact{gap:9px}.brand.compact .brand-mark{width:32px;height:34px;border-radius:9px}.brand.compact .brand-mark svg{width:21px}.brand.compact b{font-size:16px;letter-spacing:1px}.brand.compact b>span{display:inline;margin-left:12px;font-size:11px;color:#8c9b86;font-weight:400;letter-spacing:0}.lobby-layout{display:flex;min-height:100dvh}.sidebar{width:220px;flex-shrink:0;display:flex;flex-direction:column;padding:40px 23px 28px;background:#fdfcf6;border-right:1px solid var(--border)}.sidebar .brand{padding-left:6px}.sidebar nav{display:flex;flex-direction:column;gap:10px;margin-top:57px}.nav-item{display:flex;align-items:center;gap:13px;height:48px;padding:0 16px;border-radius:10px;background:transparent;color:#899380;font-size:13px;font-weight:600;text-align:left}.nav-item.active{background:#e8efe2;color:#326d54}.nav-item:hover{background:#eef2e9}.nav-dot{width:5px;height:5px;background:#68966d;border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:70px}.tea-illustration{display:flex;gap:12px;align-items:center;margin:0 8px 25px;color:#8eaa82}.tea-illustration span{font-size:11px;line-height:1.8;color:#8b9c83}.sidebar-bottom p{text-align:center;font-size:10px;color:#9ba18e;letter-spacing:1px}.sidebar-bottom small{display:block;text-align:center;font-size:8px;color:#b4b6a5;letter-spacing:1.4px;margin-top:9px}.lobby-main{flex:1;min-width:0}.lobby-header{height:88px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 48px}.breadcrumb{font-size:11px;color:#788875;letter-spacing:.5px}.breadcrumb span{color:#c2c4b6;margin:0 15px}.header-right{display:flex;align-items:center;gap:23px}.connection-pill{display:inline-flex;gap:7px;align-items:center;font-size:10px;color:#9ca08e;white-space:nowrap}.connection-pill i{width:5px;height:5px;border-radius:50%;background:#d2ae6c}.connection-pill.online i{background:#71a974}.profile-button{display:flex;align-items:center;gap:9px;background:transparent}.profile-button b{font-size:12px;max-width:130px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.profile-avatar{width:34px;height:34px;border-radius:50%;background:#e5eadd;overflow:hidden}.profile-avatar svg{width:39px;height:44px;margin:-5px -3px}.profile-chevron{color:#a5ad9c;font-size:14px;margin-left:4px}.lobby-content{max-width:1200px;margin:auto;padding:34px 48px 20px}.welcome-line{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:2px;color:#8c9b80}.welcome-line h1{font-size:27px;letter-spacing:1px;margin:8px 0;font-weight:800}.welcome-line p{font-size:11px;color:#929b88;letter-spacing:.5px}.season-tag{display:flex;align-items:center;gap:8px;color:#869a78;font-size:10px;padding-top:25px}.lobby-hero{height:260px;background:#dcebdc;border:1px solid #cedecc;border-radius:18px;position:relative;overflow:hidden;display:flex;align-items:center}.hero-copy{position:relative;z-index:2;padding-left:36px;width:53%}.hero-copy .tag{font-size:9px}.hero-copy .tag span{width:4px;height:4px;background:#65916c;border-radius:50%}.hero-copy h2{font-size:36px;line-height:1.25;font-weight:900;letter-spacing:2px;color:#315d48;margin:13px 0 11px}.hero-copy p{font-size:11px;line-height:1.9;color:#739078}.text-link{font-size:10px;display:flex;align-items:center;gap:6px;color:#446b4c;background:transparent;padding:0;margin-top:12px;font-weight:600}.hero-art{position:absolute;width:395px;height:260px;right:15px;bottom:0}.art-sun{position:absolute;width:160px;height:160px;border-radius:50%;background:#f4e8bc;right:42px;top:20px}.hero-avatar{position:absolute;height:250px;width:220px;right:60px;bottom:-49px;z-index:4;transform:rotate(4deg)}.art-leaf{position:absolute;width:90px;height:140px;bottom:-10px}.leaf-one{right:-5px;transform:rotate(22deg)}.leaf-two{right:235px;bottom:-30px;transform:rotate(-26deg)}.art-cloud{position:absolute;width:55px;height:15px;background:#f3f7e9;border-radius:30px;opacity:.8}.art-cloud:before{content:"";position:absolute;left:12px;top:-10px;width:25px;height:25px;border-radius:50%;background:inherit}.cloud-one{left:25px;top:48px;transform:scale(.8)}.cloud-two{right:7px;top:68px}.art-card{position:absolute;z-index:3;bottom:43px}.art-card-one{right:222px;transform:rotate(-23deg)}.art-card-two{right:171px;bottom:61px;transform:rotate(-6deg)}.art-card-three{right:116px;transform:rotate(16deg)}.art-card .playing-card{width:73px;height:106px;border-radius:9px;box-shadow:0 5px #3d6f4933}.art-card .card-corner{font-size:23px}.art-card .card-corner i{font-size:15px}.art-card .card-center{font-size:40px}.art-spark{position:absolute;color:#ad954d;font-size:24px}.spark-one{right:22px;top:23px;transform:rotate(20deg)}.spark-two{left:64px;bottom:60px;font-size:15px}.art-caption{position:absolute;right:34px;bottom:15px;z-index:6;background:#ffefcc;border:1px solid #e1d7af;border-radius:7px;padding:9px 13px;font-size:10px;color:#846e3e;transform:rotate(-6deg);box-shadow:0 3px #5b70491a}.lobby-actions{display:grid;grid-template-columns:1fr 1fr;gap:19px;margin-top:23px}.room-create-panel,.room-join-panel{background:#fffdf6;border:1px solid var(--border);border-radius:15px;padding:23px 25px}.room-create-panel{border-color:#e8dac0;background:#fffaf0}.panel-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.panel-icon{width:43px;height:43px;display:flex;align-items:center;justify-content:center;border-radius:12px}.panel-icon.orange{background:#fbebcb;color:#bb873c}.panel-icon.green{background:#e8efdf;color:#6c8b57}.lobby-actions h2{font-size:17px;letter-spacing:.3px;margin-bottom:8px}.lobby-actions p{font-size:10px;color:#969e8b}.room-settings{display:flex;gap:12px;margin:19px 0 15px}.room-settings label{display:flex;align-items:center;gap:9px;font-size:10px;color:#8c937f}.room-settings select{background:#fffdf6;border:1px solid #e9e1ce;border-radius:6px;font-size:11px;padding:7px 18px 7px 7px;outline-offset:0}.lobby-actions .button{height:44px;min-height:44px;font-size:12px;border-radius:9px}.lobby-actions .button svg:last-child{margin-left:auto}.lobby-actions .button svg:first-child{margin-right:auto}.room-code-input{width:100%;height:39px;background:#f8f9f1;border:1px solid #e4e8db;border-radius:7px;text-align:center;font-size:16px;letter-spacing:6px;margin:19px 0 15px}.room-code-input::placeholder{font-size:12px;color:#b0b4a3;letter-spacing:3px}.practice-strip{display:flex;align-items:center;gap:14px;padding:13px 18px;background:#eeefe5;border:1px solid #e2e5d7;border-radius:12px;margin-top:22px}.practice-avatars{display:flex;width:81px;height:48px;position:relative;flex-shrink:0}.practice-avatars svg{width:49px;height:55px;margin-top:-4px}.practice-avatars svg+svg{margin-left:-15px;transform:rotate(8deg)}.practice-strip h3{font-size:12px;margin-bottom:5px}.practice-strip p{font-size:10px;color:#959e87}.practice-strip .button{margin-left:auto}.lobby-footer{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#a5ad98;margin-top:22px}.lobby-footer>span:first-child{display:flex;align-items:center;gap:6px}.playing-card{width:78px;height:113px;border:1px solid #c8c9b6;border-bottom:3px solid #d4d0b9;border-radius:9px;background:#fffdf5;position:relative;color:#343e39;flex-shrink:0;user-select:none;box-shadow:0 2px 3px #173f2c1a;padding:0;text-align:left}.playing-card.red{color:#d4604c}.card-corner{position:absolute;left:6px;top:5px;display:flex;flex-direction:column;align-items:center;line-height:1}.card-corner b{font-family:Georgia,Microsoft YaHei,serif;font-size:24px;font-weight:800}.card-corner i{font-style:normal;font-size:17px;margin-top:2px}.card-center{position:absolute;left:34%;top:33%;font-size:39px;line-height:1}.card-bottom{position:absolute;right:6px;bottom:5px;font-size:12px;font-family:Georgia,serif;transform:rotate(180deg);font-weight:700}.playing-card.back{background:#ecefdf;border:2px solid #fff5d6;padding:4px;box-shadow:0 2px 3px #173f2c1a}.card-back-pattern{height:100%;border-radius:4px;border:1px solid #d5d8ba;background-color:#6d9c85;background-image:repeating-linear-gradient(45deg,#ffffff1a 0,#ffffff1a 1px,transparent 1px,transparent 7px),repeating-linear-gradient(-45deg,#ffffff1a 0,#ffffff1a 1px,transparent 1px,transparent 7px);display:flex;align-items:center;justify-content:center;color:#e6ebce}.playing-card.small{width:42px;height:59px;border-radius:5px;border-bottom-width:2px}.small .card-corner{left:3px;top:3px}.small .card-corner b{font-size:15px}.small .card-corner i{font-size:11px;margin-top:0}.small .card-center{font-size:23px;left:39%;top:40%}.small .card-bottom{font-size:8px;right:3px;bottom:2px}.small .card-back-pattern{border-radius:2px}.small.back{padding:3px}.game-page{height:100dvh;min-height:560px;display:flex;flex-direction:column;background:#f1f1e6;overflow:hidden;position:relative}.game-header{display:flex;justify-content:space-between;align-items:center;padding:0 26px;height:65px;min-height:65px;background:#fffdf6;border-bottom:1px solid #e4e7d7;z-index:5}.game-header-left,.game-header-right{display:flex;align-items:center;gap:18px}.game-header-left{gap:16px}.game-header-right{gap:10px}.game-header-right .connection-pill{margin-right:12px}.game-header-divider{height:24px;width:1px;background:#e0e3d6}.room-number{display:flex;align-items:center;gap:8px;background:transparent;font-size:11px;color:#90a087}.room-number b{font-size:15px;letter-spacing:2px;font-weight:700;color:#61785d}.room-number svg{color:#a4b097}.back-button{color:#7e9476;width:27px}.game-topline{display:flex;align-items:center;justify-content:space-between;padding:15px 37px 9px;font-size:10px}.game-topline>span{display:flex;align-items:center;gap:12px}.game-topline .tag{background:#e3e9d9}.game-topline>span>b{font-weight:500;color:#77916d;font-size:11px}.game-metrics{display:flex;gap:22px;align-items:center;color:#9ca68b}.game-metrics>span{display:flex;align-items:center;gap:7px}.game-metrics b{color:#6a7f5e;font-size:13px}.game-metrics .multiplier{color:#bc8e39}.game-metrics .cap-label{font-size:9px;color:#a8b19b;padding:4px 8px;border:1px solid #dce2ce;border-radius:5px}.game-stage{flex:1;position:relative;min-height:260px;margin:0 25px}.table-rim{position:absolute;inset:12px 75px -14px;border-radius:46%/35%;background:#d3b379;border:2px solid #baa471;padding:9px;box-shadow:0 7px #ad9a66,0 13px #c7ccb277}.table-felt{width:100%;height:100%;position:relative;background:#328777;border:2px solid #477d5e;border-radius:inherit;box-shadow:inset 0 5px #286e5f}.table-felt:before{content:"";position:absolute;inset:0;border-radius:inherit;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M3 3h1M9 9h1' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E")}.table-stitch{position:absolute;inset:14px;border:1px dashed #c4dbc44a;border-radius:inherit}.felt-brand{position:absolute;inset:0;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;color:#d9e7c52a;pointer-events:none;padding-top:12px}.felt-brand>span{font-size:28px;font-weight:800;letter-spacing:7px}.felt-brand>small{font-size:8px;letter-spacing:4px}.waiting .felt-brand{opacity:.3}.avatar-art{display:block;width:100%;height:100%}.seat{display:flex;flex-direction:column;align-items:center;position:relative;width:145px}.seat-portrait{width:99px;height:101px;background:#e9ebd9;border:3px solid #fff9dd;border-radius:22px;position:relative;box-shadow:0 4px #bdc5a7;overflow:visible}.seat-portrait>.avatar-art{width:108px;height:121px;position:absolute;left:-7px;bottom:-8px}.seat.active .seat-portrait{border-color:#f7c664;box-shadow:0 0 0 3px #e5c16e4a,0 4px #ad9b5e}.role-badge,.host-badge{position:absolute;bottom:-9px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:4px;padding:3px 8px;background:#f7cb66;border:1px solid #e8b947;white-space:nowrap;color:#8a642f;font-size:10px;font-weight:700;border-radius:5px;z-index:2}.host-badge{background:#edf0dc;border-color:#d4ddbd;color:#6f8760;font-size:8px;padding:2px 7px}.turn-clock{position:absolute;right:-15px;top:-13px;background:#f6c364;border:3px solid #fff1c7;box-shadow:0 2px #b28c40;width:35px;height:35px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;color:#7b5726;z-index:3}.seat-info{margin-top:17px;text-align:center;width:100%}.seat-info>b{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seat-info>b>small{font-size:10px;font-weight:400}.seat-info>span{display:flex;align-items:center;justify-content:center;gap:1px;color:#a2ac91;font-size:9px;margin-top:5px}.opponent{position:absolute;top:30px;z-index:3;display:flex;flex-direction:column;align-items:center}.opponent-left{left:0}.opponent-right{right:0}.opponent-cards{display:flex;align-items:center;position:relative;margin-top:13px}.opponent-cards>.small.back{width:30px;height:40px;transform:rotate(-8deg)}.opponent-cards .card-back-pattern svg{width:15px}.opponent-cards>span{margin-left:-3px;background:#f8f3d9;color:#667656;border:1px solid #d8dbbf;padding:6px 10px;border-radius:6px;font-size:15px;font-weight:700;z-index:1;box-shadow:0 2px #c4cbaa}.opponent-cards>span>small{font-size:9px;font-weight:400;margin-left:3px}.low-cards{position:absolute;top:-9px;right:-15px;background:#eaaa53;color:#654a25;padding:2px 4px;border-radius:4px;font-size:9px;z-index:3}.bottom-cards{position:absolute;top:7px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;z-index:3}.bottom-cards>span{font-size:8px;color:#90ab8f;background:#f1f1e6;padding:0 10px 5px;letter-spacing:3px}.bottom-cards>div{display:flex;gap:5px}.bottom-cards .playing-card{box-shadow:0 3px #215c4e33}.self-seat{position:absolute;bottom:-90px;left:0;z-index:5}.self-seat .seat{width:145px}.self-seat .seat-portrait{width:76px;height:77px;border-radius:18px}.self-seat .seat-portrait>.avatar-art{width:85px;height:96px;left:-7px;bottom:-7px}.self-seat .seat-info{margin-top:13px}.self-seat .seat-info>b{font-size:10px}.self-seat .seat-info>span{font-size:8px}.self-seat .turn-clock{width:30px;height:30px;font-size:12px;border-width:2px;right:-13px;top:-11px}.waiting .self-seat{bottom:-60px}.empty-seat{display:flex;align-items:center;flex-direction:column;width:145px;background:transparent;padding-top:3px}.empty-seat>span{height:94px;width:94px;border-radius:23px;border:2px dashed #c1cead;display:flex;align-items:center;justify-content:center;color:#9bad88;background:#eaf0dfb3}.empty-seat>b{font-size:11px;color:#8a9e7d;margin-top:15px;font-weight:500}.empty-seat>small{font-size:9px;color:#acb69e;margin-top:5px}.ready-label{font-size:10px;color:#a8b39a;display:flex;align-items:center;gap:4px;margin-top:13px}.ready-label.is-ready{color:#5f8a58}.remove-bot{background:transparent;text-decoration:underline;color:#9baa8b;font-size:9px;padding:4px;position:absolute;bottom:-25px}.waiting-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-43%);text-align:center;color:#fff6d8;width:420px;z-index:2}.table-kicker{font-size:9px;letter-spacing:2px;color:#b0d0b1}.waiting-center h2{font-size:27px;letter-spacing:3px;margin:10px 0 8px}.waiting-center p{font-size:10px;color:#bed4b8}.invite-code{display:flex;align-items:center;justify-content:center;gap:17px;margin:13px auto 15px;background:#1e6d5d;border:1px solid #5f9c7c;border-radius:9px;padding:9px 19px;color:#e4dfad;box-shadow:inset 0 2px #145d4f55}.invite-code>span{font-size:27px;font-weight:700;letter-spacing:7px;color:#fff2ca;line-height:1}.invite-code svg{width:17px;color:#a8c5a5}.waiting-buttons{display:flex;align-items:center;justify-content:center;gap:12px}.waiting-buttons .button{min-height:40px;padding:9px 16px;font-size:11px;border-radius:8px}.practice-note{display:block;color:#a7c8a8;font-size:9px;margin-top:14px}.waiting-zone{min-height:120px}.player-zone{position:relative;z-index:4;margin:15px 36px 0;padding-left:145px;flex-shrink:0}.action-bar{height:58px;display:flex;align-items:center;justify-content:center;gap:20px;margin-bottom:10px}.start-button{min-width:160px}.waiting-hint{color:#93a183;font-size:11px}.turn-message{display:flex;align-items:center;gap:9px;justify-content:center;position:absolute;bottom:17px;left:50%;transform:translate(-50%);color:#cbddbc;font-size:10px;white-space:nowrap;z-index:3}.turn-message>span{border-radius:5px;background:#246c58;color:#e5d7a5;padding:3px 6px;font-weight:700;font-size:10px}.bidding-center{position:absolute;left:50%;top:52%;transform:translate(-50%,-45%);text-align:center;color:#f4e7b7}.bidding-center>svg{color:#d7c17d;margin-bottom:10px}.bidding-center h2{font-size:25px;letter-spacing:2px}.bidding-center p{font-size:10px;color:#adcfac;margin-top:9px}.bid-status{position:absolute;bottom:50px;left:26%;right:26%;display:flex;justify-content:center;gap:24px;color:#b9d6b4}.bid-status>span{display:flex;flex-direction:column;align-items:center;font-size:9px;gap:7px;max-width:100px;overflow:hidden;white-space:nowrap}.bid-status b{font-size:13px;color:#f2e5b5;font-weight:500}.bid-buttons,.play-buttons{display:flex;align-items:center;gap:14px}.bid-buttons .button,.play-buttons .button{min-width:92px;min-height:43px;padding:10px 23px;border-radius:9px;font-size:14px}.play-buttons .play-submit{min-width:135px}.play-submit>span{font-size:11px;padding:2px 6px;border-radius:4px;background:#d9963b80;margin-left:3px}.hand-caption{display:flex;align-items:center;gap:15px;color:#97a389;font-size:9px;margin-bottom:16px;height:12px}.hand-caption>span:first-child{white-space:nowrap}.hand-caption b{font-size:12px;color:#677d58;margin-left:4px}.hand-caption>span:nth-child(2){margin-left:auto}.hand-caption>button{padding:0 0 0 8px;font-size:9px;background:transparent;color:#578269}.hand-container{width:100%;padding:6px 0 0;height:124px;overflow:visible}.hand{display:flex;position:relative;justify-content:center;width:100%;height:100%;--card-width: 78px;--step: min( 45px, calc((100% - var(--card-width)) / max(1, var(--cards) - 1)) )}.hand>.playing-card{position:absolute;left:calc(50% - (var(--card-width) + (var(--cards) - 1) * var(--step)) / 2 + var(--index, 0) * var(--step));transition:transform .12s,border-color .12s;bottom:8px}.hand>.playing-card:nth-child(1){--index: 0}.hand>.playing-card:nth-child(2){--index: 1}.hand>.playing-card:nth-child(3){--index: 2}.hand>.playing-card:nth-child(4){--index: 3}.hand>.playing-card:nth-child(5){--index: 4}.hand>.playing-card:nth-child(6){--index: 5}.hand>.playing-card:nth-child(7){--index: 6}.hand>.playing-card:nth-child(8){--index: 7}.hand>.playing-card:nth-child(9){--index: 8}.hand>.playing-card:nth-child(10){--index: 9}.hand>.playing-card:nth-child(11){--index: 10}.hand>.playing-card:nth-child(12){--index: 11}.hand>.playing-card:nth-child(13){--index: 12}.hand>.playing-card:nth-child(14){--index: 13}.hand>.playing-card:nth-child(15){--index: 14}.hand>.playing-card:nth-child(16){--index: 15}.hand>.playing-card:nth-child(17){--index: 16}.hand>.playing-card:nth-child(18){--index: 17}.hand>.playing-card:nth-child(19){--index: 18}.hand>.playing-card:nth-child(20){--index: 19}.hand>.playing-card.selected{transform:translateY(-19px);background:#fff3cc;border-color:#d39b42;box-shadow:0 0 0 2px #edb34c}.hand>.playing-card:not(.selected):hover{transform:translateY(-6px)}.wait-turn-label{font-size:11px;color:#9ba98b;letter-spacing:1px}.auto-controls{display:flex;gap:10px;align-items:center;color:#839774;font-size:11px}.auto-controls .button{min-height:36px;padding:9px 15px;font-size:11px;margin-left:12px}.played-piles{position:absolute;inset:38% 190px 45px;z-index:3}.played-pile{position:absolute;display:flex;flex-direction:column;align-items:center;max-width:48%}.pile-0{left:0;top:0}.pile-1{right:0;top:0}.pile-2{left:50%;bottom:7px;transform:translate(-50%);max-width:75%}.pile-cards{display:flex;align-items:center;max-width:100%;padding-right:27px;justify-content:center}.pile-cards .small{margin-right:-27px;box-shadow:1px 2px 2px #1d503d22}.pile-cards .small:last-child{margin-right:-27px}.played-pile>small{font-size:8px;color:#c0d5b0;margin-top:6px;white-space:nowrap}.played-pile:not(.latest){opacity:.6}.pass-label{color:#e5deaf;font-size:19px;letter-spacing:3px;white-space:nowrap;margin-top:18px;font-weight:600}.game-footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding:8px 29px 12px;color:#9eaa8c;font-size:9px;min-height:43px;flex-shrink:0}.game-footer>span{display:flex;gap:7px;align-items:center;letter-spacing:1px}.game-footer>div{display:flex;align-items:center;gap:22px}.footer-button{display:flex;gap:6px;align-items:center;background:transparent;font-size:10px;color:#81966f;padding:5px}.footer-button.enabled{color:#b08237}.footer-score{display:flex;align-items:center;gap:6px;color:#b39551;font-size:10px;border-left:1px solid #d9dfca;padding-left:20px}.chat-menu{position:absolute;right:25px;bottom:55px;background:#fffdf3;border:1px solid #dddfca;border-radius:14px;box-shadow:0 6px 25px #264c3226;padding:10px;width:240px;z-index:15}.chat-menu>div{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;padding-left:10px}.chat-menu b{font-size:12px;color:#718661}.chat-menu>button{display:block;background:transparent;text-align:left;padding:10px 12px;border-radius:7px;font-size:12px;width:100%;color:#6d825d}.chat-menu>button:hover{background:#edf1df}.chat-bubble{position:absolute;top:-42px;left:50%;transform:translate(-50%);background:#fffae7;border:1px solid #e4dbb9;color:#8c8055;padding:9px 12px;border-radius:10px;font-size:10px;white-space:nowrap;box-shadow:0 3px #bbc39b;z-index:20}.chat-bubble:after{content:"";position:absolute;bottom:-5px;left:50%;width:8px;height:8px;background:#fffae7;border-right:1px solid #e4dbb9;border-bottom:1px solid #e4dbb9;transform:rotate(45deg)}.rotate-hint{display:none}.reconnect-banner{position:absolute;top:65px;left:50%;transform:translate(-50%);padding:10px 18px;background:#fff0c9;border:1px solid #e9d69f;border-radius:0 0 10px 10px;z-index:25;color:#9a742f;display:flex;align-items:center;gap:9px;font-size:11px;white-space:nowrap}.modal-shade{position:fixed;inset:0;background:#163f36a6;backdrop-filter:blur(5px);z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;animation:fade-in .16s}.modal{background:#fffdf5;border:1px solid #e6dec6;border-radius:20px;padding:27px 30px;width:420px;max-width:100%;max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 8px #183f3440;outline:none}.modal.wide{width:660px}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.modal-heading h2{font-size:21px;letter-spacing:.5px}.modal-heading .icon-button{width:28px;height:28px;margin-right:-5px}.modal-sub{color:#97a089;font-size:11px;line-height:1.9;margin-top:10px;margin-bottom:22px}.segmented{display:flex;padding:4px;background:#ecefe3;border-radius:10px;margin-top:19px;margin-bottom:21px}.segmented>button{flex:1;background:transparent;padding:9px 5px;color:#8b997b;border-radius:7px;font-size:12px}.segmented>button.active{background:#fffdf5;color:#4c7051;box-shadow:0 2px 3px #40562912;font-weight:700}.form-stack{display:flex;flex-direction:column;gap:17px}.form-stack>label{font-size:11px;font-weight:600;color:#6c815c}.form-stack input,.invite-fallback input{display:block;height:42px;width:100%;border:1px solid #dde3d2;border-radius:8px;background:#f9faf2;padding:0 12px;font-size:12px;margin-top:8px}.form-stack input::placeholder{color:#b4b9a4;font-size:11px}.form-stack .button{font-size:13px;min-height:45px;margin-top:6px}.form-error{font-size:11px;color:#c36c4c;line-height:1.7}.form-note{display:flex;align-items:center;gap:5px;justify-content:center;font-size:9px;color:#a6ae97;margin-top:23px}.avatar-picker{display:flex;justify-content:center;gap:12px;margin:-4px 0 0}.avatar-picker>button{width:56px;height:60px;background:#edf0e0;border:2px solid transparent;border-radius:12px;overflow:hidden;position:relative}.avatar-picker>button.chosen{border-color:#8aab7a;background:#e4edda}.avatar-picker svg{position:absolute;width:65px;height:75px;bottom:-6px;left:-6px}.rules-list{display:flex;flex-direction:column;gap:21px;margin-top:24px}.rules-list>section{display:flex;gap:17px}.rules-list>section>span{font-size:13px;font-family:Georgia,serif;color:#c1b38b;padding-top:3px}.rules-list h3{font-size:13px;color:#54714a;margin-bottom:7px}.rules-list p{font-size:11px;line-height:1.95;color:#8b967e}.stats-row{display:flex;justify-content:space-around;padding:22px 10px;margin:22px 0;border:1px solid #e2e7d6;border-radius:12px;background:#f3f5e9}.stats-row>div{display:flex;flex-direction:column;align-items:center;gap:9px}.stats-row span{font-size:10px;color:#a0ac8e}.stats-row b{font-size:24px;font-family:Georgia,serif;font-weight:600;color:#5c7d4d}.stats-row b>small{font-size:12px}.history-empty{display:flex;flex-direction:column;align-items:center;gap:15px;padding:30px 0;color:#b0bd9b}.history-empty h3{font-size:14px;color:#7c926a;font-weight:500}.history-empty p{font-size:11px;color:#a1ad91}.empty-note{color:#a0ad8f;text-align:center;padding:30px;font-size:12px}.history-list{display:flex;flex-direction:column;gap:12px}.history-item{display:flex;align-items:center;gap:13px;padding:12px 0;border-bottom:1px solid #ebeddf}.history-status{padding:8px 11px;border-radius:8px;background:#efeee5;color:#a9ad98;font-size:13px;font-weight:700}.history-status.win{background:#e6efdc;color:#839d65}.history-item>div{display:flex;flex-direction:column;gap:7px}.history-item b{font-size:12px}.history-item small{font-size:9px;color:#a4af94}.history-score{margin-left:auto;text-align:right;flex-shrink:0}.history-score>b{font-size:16px;color:#9c914d}.profile-card{text-align:center;display:flex;flex-direction:column;align-items:center;margin:10px 0}.profile-card svg{width:110px;height:125px}.profile-card h2{font-size:19px;letter-spacing:1px;margin-top:8px}.profile-card p{font-size:11px;color:#9caa8c;margin-top:9px}.logout-button{display:flex;align-items:center;gap:8px;margin:23px auto 0;background:transparent;color:#a6ae97;font-size:11px}.leave-description{font-size:13px;line-height:2;margin-bottom:24px}.invite-fallback>b{display:block;font-size:43px;letter-spacing:10px;color:#718c57;text-align:center;margin:25px 0}.invite-fallback input{font-size:11px}.result-heading{display:flex;flex-direction:column;align-items:center;text-align:center;margin:12px 0 20px;color:#9eaa8a}.result-heading>div{border-radius:50%;width:67px;height:67px;display:flex;align-items:center;justify-content:center;background:#ecefe0}.result-heading.won>div{background:#fbefcf;color:#c5a14b}.result-heading h2{font-size:23px;letter-spacing:2px;margin-top:12px;color:#6d8257}.result-heading h2>span{font-size:11px;padding:3px 7px;background:#fae8b7;border:1px solid #efdc9d;border-radius:5px;margin-left:13px;color:#b29243;vertical-align:middle;letter-spacing:0}.result-heading p{font-size:10px;margin-top:11px;line-height:1.7}.result-players{display:flex;flex-direction:column;gap:9px}.result-player{border:1px solid #e4e8d6;border-radius:10px;padding:8px 13px;background:#f8f9ef}.result-player.is-me{border-color:#c6d8b1;background:#f0f5e3}.result-player-name{display:flex;align-items:center;gap:11px}.result-player-name>svg{width:43px;height:47px}.result-player-name>div{display:flex;flex-direction:column;gap:6px}.result-player-name b{font-size:11px}.result-player-name small{font-size:9px;color:#a3af91}.result-player-name>strong{margin-left:auto;font-family:Georgia,Microsoft YaHei,serif;font-size:21px}.result-player-name>strong.positive{color:#ba9b48}.result-player-name>strong.negative{color:#8a9b7a}.result-hand{display:flex;margin:5px 0 7px;padding-right:24px}.result-hand>.small{margin-right:-23px;width:35px;height:45px}.result-hand>.small .card-corner b{font-size:12px}.result-hand>.small .card-corner i{font-size:9px}.result-hand>.small .card-center{font-size:16px}.result-hand>.small .card-center svg{width:17px}.result-buttons{display:flex;gap:14px;justify-content:center;margin-top:23px}.result-buttons>.button{font-size:12px;min-height:42px;min-width:130px}.toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%);display:flex;align-items:center;gap:9px;padding:13px 20px;background:#345b48;color:#f3f1d8;border:1px solid #72846a;border-radius:11px;font-size:12px;z-index:200;box-shadow:0 4px #193d3333;max-width:90vw;line-height:1.7;animation:fade-in .15s;white-space:normal}.toast>svg{color:#d5d2a6}.app-loading{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px}.app-loading>span{font-size:12px;color:#9eaa8d;letter-spacing:2px}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@media(min-width:1500px){.lobby-content{padding-top:47px}.lobby-hero{height:300px}.hero-copy{padding-left:48px}.hero-copy h2{font-size:43px}.hero-copy p{font-size:13px}.hero-art{height:300px;width:440px;right:22px;transform:scale(1.08);transform-origin:bottom right}.hero-avatar{height:280px;width:250px;bottom:-48px}.art-card{bottom:70px}.art-card-two{bottom:83px}.art-sun{width:190px;height:190px}.lobby-actions{margin-top:28px;gap:25px}.room-create-panel,.room-join-panel{padding:27px 31px}.lobby-actions h2{font-size:20px}.lobby-actions p{font-size:12px}.practice-strip{padding:16px 24px;margin-top:25px}.lobby-header{height:95px}.welcome-line h1{font-size:32px}.welcome-line{margin-bottom:29px}.game-stage{margin-left:50px;margin-right:50px}.table-rim{left:110px;right:110px}.played-piles{left:250px;right:250px}.player-zone{margin-left:80px;margin-right:80px;padding-left:140px}.hand{--card-width: 90px;--step: min( 52px, calc((100% - var(--card-width)) / max(1, var(--cards) - 1)) )}.hand>.playing-card{width:90px;height:130px}.hand-container{height:140px}.card-corner b{font-size:27px}.card-corner i{font-size:20px}.seat-portrait{width:115px;height:116px}.seat-portrait>.avatar-art{width:125px;height:141px}.opponent{top:45px}.game-topline{padding:20px 60px 12px}.playing-card.small{width:47px;height:65px}.small .card-corner b{font-size:17px}.small .card-corner i{font-size:12px}.pile-cards>.small{margin-right:-28px}.self-seat{bottom:-100px}.action-bar{height:68px}}@media(max-width:1100px){.sidebar{width:185px;padding:29px 16px}.brand b{font-size:17px}.brand-mark{width:39px;height:43px}.brand{gap:9px}.brand small{font-size:9px;letter-spacing:1px}.lobby-header{padding:0 30px;height:73px}.lobby-content{padding:27px 30px 18px}.hero-art{right:-25px;transform:scale(.92);transform-origin:bottom right}.hero-copy{padding-left:28px}.hero-copy h2{font-size:32px}.hero-copy p{font-size:10px}.hero-copy{width:55%}.lobby-hero{height:247px}.lobby-actions{gap:15px}.room-create-panel,.room-join-panel{padding:20px}.lobby-actions h2{font-size:15px}.room-settings{gap:8px}.room-settings label{gap:6px;font-size:9px}.room-settings select{font-size:10px}.season-tag{display:none}.welcome-line h1{font-size:25px}.practice-strip{padding:12px}.practice-strip h3{font-size:11px}.practice-strip p{font-size:9px}.practice-strip .button{font-size:11px;padding:9px 13px}.lobby-footer>span:last-child{display:none}.game-header{padding:0 18px}.game-stage{margin:0 12px}.table-rim{left:58px;right:58px}.seat,.self-seat .seat,.empty-seat{width:115px}.seat-portrait{width:80px;height:82px;border-radius:19px}.seat-portrait>.avatar-art{width:90px;height:104px;left:-7px}.seat-info>b{font-size:10px}.opponent-cards{margin-top:8px}.seat-info{margin-top:14px}.seat-info>span{font-size:8px}.opponent{top:32px}.played-piles{left:148px;right:148px}.player-zone{margin-left:20px;margin-right:20px;padding-left:114px}.self-seat .seat-portrait{width:65px;height:66px}.self-seat .seat-portrait>.avatar-art{width:74px;height:84px}.empty-seat>span{width:80px;height:80px}.game-topline{padding-left:25px;padding-right:25px}.hand{--card-width: 66px;--step: min( 37px, calc((100% - var(--card-width)) / max(1, var(--cards) - 1)) )}.hand>.playing-card{width:66px;height:99px}.hand-container{height:110px}.card-corner b{font-size:21px}.card-corner i{font-size:15px}.card-center{font-size:32px}.card-center>svg{width:29px}.self-seat{bottom:-80px}.waiting .self-seat{bottom:-65px}.waiting-zone{min-height:120px}.waiting-center h2{font-size:24px}.waiting-center{width:350px}.playing-card.small{width:37px;height:53px}.small .card-corner b{font-size:14px}.small .card-corner i{font-size:10px}.small .card-center{font-size:21px}.pile-cards{padding-right:23px}.pile-cards>.small{margin-right:-23px}.pile-cards>.small:last-child{margin-right:-23px}}@media(max-width:760px){.sidebar{display:none}.lobby-header{height:65px;padding:0 22px}.lobby-header .breadcrumb{font-size:10px}.header-right{gap:13px}.lobby-content{padding:24px 22px 22px}.welcome-line h1{font-size:25px}.lobby-hero{height:240px}.hero-copy{padding-left:25px}.hero-art{transform:scale(.8);right:-17px}.hero-copy h2{font-size:31px}.hero-copy p{font-size:10px}.lobby-actions{gap:14px}.room-create-panel,.room-join-panel{padding:19px 17px}.lobby-actions h2{font-size:15px}.room-settings{gap:7px}.room-settings label{font-size:9px;gap:5px}.room-settings select{padding:7px 6px;font-size:9px}.practice-strip p{font-size:9px}.practice-strip .button{padding:9px 11px;font-size:10px}.lobby-footer{font-size:9px}.practice-avatars{width:68px}.practice-strip{gap:8px}.game-header-divider{display:none}.game-header-left{gap:10px}.game-header .brand.compact b>span{display:none}.game-header-right{gap:3px}.game-header-right .connection-pill{margin-right:6px}.game-header{height:54px;min-height:54px;padding:0 12px}.game-header .brand.compact .brand-mark{width:26px;height:28px}.game-header .brand.compact b{font-size:13px}.room-number{font-size:9px;gap:5px}.room-number b{font-size:12px;letter-spacing:1px}.game-topline{padding:9px 16px;font-size:9px}.game-metrics{gap:12px}.game-metrics .cap-label{display:none}.game-topline>span>b{font-size:10px}.game-footer>span{font-size:8px}.game-footer{padding:5px 16px 8px}.game-footer>div{gap:10px}.footer-score{font-size:9px;padding-left:10px}.modal{padding:20px 24px}.modal-heading h2{font-size:19px}}@media(max-width:480px)and (orientation:portrait){.lobby-header{padding:0 17px}.lobby-header .breadcrumb{font-size:9px}.breadcrumb span{margin:0 8px}.lobby-content{padding:23px 17px}.welcome-line h1{font-size:24px}.eyebrow{font-size:9px}.welcome-line p{font-size:10px}.lobby-hero{height:251px;border-radius:15px}.hero-copy{padding-left:21px;align-self:flex-start;padding-top:23px;width:65%}.hero-copy h2{font-size:30px}.hero-copy .text-link{margin-top:15px}.hero-art{transform:scale(.66);right:-39px;bottom:-4px}.art-caption{right:70px;bottom:8px}.hero-copy p{font-size:9px;line-height:1.9;max-width:150px}.hero-copy .tag{font-size:8px}.hero-copy .text-link{font-size:9px}.lobby-actions{grid-template-columns:1fr;gap:16px;margin-top:18px}.room-create-panel,.room-join-panel{padding:20px 22px}.panel-top{margin-bottom:13px}.lobby-actions h2{font-size:18px}.lobby-actions p{font-size:11px}.room-settings{gap:24px;margin-top:17px}.room-settings label{font-size:11px;gap:10px}.room-settings select{font-size:11px;padding:7px 18px 7px 9px}.lobby-actions .button{font-size:13px}.room-code-input{height:42px}.practice-strip{padding:12px 11px;gap:7px}.practice-strip h3{font-size:10px}.practice-strip p{font-size:8px;max-width:145px;line-height:1.6}.practice-avatars{width:57px}.practice-avatars>svg{width:41px;height:50px}.practice-strip .button{font-size:9px;padding:8px;gap:2px}.practice-strip .button>svg{width:13px}.lobby-footer{font-size:8px;margin-top:18px}.profile-button b{max-width:77px;font-size:10px}.profile-avatar{width:30px;height:30px}.connection-pill{font-size:9px}.header-right{gap:10px}.profile-button{gap:5px}.profile-chevron{display:none}.modal{padding:20px;border-radius:15px}.modal-sub{font-size:10px}.modal-heading h2{font-size:18px}.form-stack{gap:15px}.result-hand>.small{margin-right:-27px}.result-heading h2{font-size:21px}.history-item{gap:9px}.history-item b{font-size:10px}.history-item small{font-size:8px}.history-score>b{font-size:14px}.game-page{min-height:100dvh}.rotate-hint{position:fixed;inset:0;z-index:40;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f1f2e6;color:#799167;padding:30px;text-align:center;gap:18px}.rotate-hint>svg{transform:rotate(-90deg);color:#799167}.rotate-hint h2{font-size:22px;color:#466b51;letter-spacing:2px}.rotate-hint p{font-size:12px;line-height:2;color:#9baa88}.rotate-hint>b{font-size:15px;letter-spacing:4px;margin-top:10px;font-weight:500}}@media(max-height:600px)and (orientation:landscape){.sidebar{width:165px;padding:24px 14px}.sidebar nav{margin-top:35px;gap:6px}.nav-item{font-size:11px;height:40px;padding-left:12px}.sidebar-bottom{padding-top:25px}.tea-illustration{display:none}.sidebar .brand b{font-size:14px}.sidebar .brand-mark{width:32px;height:36px}.sidebar .brand small{font-size:8px}.lobby-header{height:59px;padding:0 25px}.lobby-content{padding:22px 25px}.welcome-line h1{font-size:23px}.lobby-hero{height:220px}.hero-copy h2{font-size:29px}.hero-art{transform:scale(.8);right:-20px}.lobby-actions{margin-top:18px}.game-page{min-height:320px;padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.game-header{height:43px;min-height:43px;padding:0 14px}.game-header .brand.compact b{font-size:13px}.game-header .brand.compact .brand-mark{width:26px;height:28px;border-radius:7px}.game-header .brand.compact .brand-mark svg{width:18px}.game-header .brand.compact b>span{font-size:9px;margin-left:9px}.game-header-left{gap:12px}.game-header-divider{height:18px}.game-header .icon-button{width:29px;height:29px}.game-header .connection-pill{font-size:9px}.room-number{font-size:9px;gap:7px}.room-number b{font-size:12px}.game-topline{padding:6px 23px;height:30px;min-height:30px}.game-topline .tag{font-size:8px;padding:4px 6px}.game-topline>span>b{font-size:9px}.game-metrics{gap:15px;font-size:8px}.game-metrics b{font-size:11px}.game-metrics .cap-label{font-size:8px;padding:3px 5px}.game-stage{min-height:115px;margin:0 13px}.table-rim{inset:4px 61px -16px;padding:6px;border-radius:43%/38%;box-shadow:0 4px #ad9a66,0 8px #c7ccb266}.table-stitch{inset:10px}.felt-brand{gap:5px}.felt-brand>svg{width:24px;height:24px}.felt-brand>span{font-size:21px;letter-spacing:5px}.felt-brand>small{font-size:6px}.seat,.empty-seat,.self-seat .seat{width:105px}.seat-portrait{width:58px;height:59px;border-radius:15px;border-width:2px;box-shadow:0 3px #bdc5a7}.seat-portrait>.avatar-art{width:66px;height:74px;left:-5px;bottom:-5px}.seat-info{margin-top:10px}.seat-info>b{font-size:9px}.seat-info>span{font-size:7px;margin-top:3px}.role-badge{font-size:8px;padding:2px 5px;bottom:-6px;border-radius:4px;gap:2px}.role-badge svg{width:10px;height:10px}.host-badge{font-size:6px;padding:1px 5px;bottom:-5px}.turn-clock{width:26px;height:26px;border-width:2px;font-size:10px;right:-11px;top:-9px}.opponent{top:9px}.opponent-cards{margin-top:6px}.opponent-cards>.small.back{height:28px;width:21px;padding:2px}.opponent-cards .card-back-pattern svg{width:11px}.opponent-cards>span{font-size:11px;padding:4px 7px;border-radius:4px}.opponent-cards>span>small{font-size:7px}.low-cards{font-size:7px;padding:1px 3px;right:-13px;top:-6px}.bottom-cards{top:-4px}.bottom-cards>span{font-size:6px;padding-bottom:3px;letter-spacing:2px}.bottom-cards>div{gap:4px}.playing-card.small{width:30px;height:42px;border-radius:4px}.small .card-corner{top:2px;left:2px}.small .card-corner b{font-size:12px}.small .card-corner i{font-size:8px}.small .card-center{font-size:16px;left:43%;top:42%}.small .card-center>svg{width:15px;height:15px}.small .card-bottom{font-size:6px;right:2px;bottom:2px}.small.back{padding:2px}.small .card-back-pattern svg{width:16px}.self-seat{bottom:-86px;left:0}.self-seat .seat-portrait{width:57px;height:57px;border-radius:14px;border-width:2px}.self-seat .seat-portrait>.avatar-art{width:63px;height:73px;left:-5px;bottom:-5px}.self-seat .seat-info{margin-top:10px}.self-seat .seat-info>b{font-size:8px}.self-seat .seat-info>span{font-size:6px}.self-seat .turn-clock{width:24px;height:24px;font-size:10px;top:-8px;right:-10px}.player-zone{margin:10px 23px 0;padding-left:105px}.action-bar{height:36px;min-height:36px;margin-bottom:6px;gap:12px}.bid-buttons,.play-buttons{gap:11px}.bid-buttons .button,.play-buttons .button{min-height:30px;min-width:74px;padding:6px 16px;font-size:11px;border-radius:7px;gap:6px;box-shadow:0 3px #b6bd9c}.bid-buttons .button.amber,.play-buttons .button.amber{box-shadow:0 3px #ce8e34}.play-buttons .play-submit{min-width:103px}.play-buttons .button svg{width:13px;height:13px}.play-submit>span{font-size:8px;padding:1px 4px}.hand-caption{font-size:7px;height:9px;margin-bottom:11px;gap:8px}.hand-caption b{font-size:9px}.hand-caption>button{font-size:7px}.hand-container{height:80px;padding-top:4px}.hand{--card-width: 52px;--step: min( 30px, calc((100% - var(--card-width)) / max(1, var(--cards) - 1)) )}.hand>.playing-card{width:52px;height:75px;border-radius:6px;bottom:2px}.hand .card-corner{left:4px;top:4px}.hand .card-corner b{font-size:18px}.hand .card-corner i{font-size:12px;margin-top:1px}.hand .card-center{font-size:25px}.hand .card-center>svg{width:24px;height:24px}.hand .card-bottom{font-size:8px;right:4px;bottom:3px}.hand>.playing-card.selected{transform:translateY(-12px)}.wait-turn-label{font-size:9px}.auto-controls{font-size:9px;gap:7px}.auto-controls>svg{width:17px;height:17px}.auto-controls .button{min-height:28px;padding:5px 12px;font-size:9px;margin-left:7px}.played-piles{inset:34% 124px 13px}.pile-cards{padding-right:19px}.pile-cards>.small,.pile-cards>.small:last-child{margin-right:-19px}.pile-2{bottom:8px}.played-pile>small{font-size:6px;margin-top:4px}.pass-label{font-size:14px;letter-spacing:2px;margin-top:11px}.turn-message{bottom:-1px;font-size:8px;gap:6px}.turn-message>span{font-size:8px;padding:2px 4px}.bidding-center{top:53%}.bidding-center>svg{display:none}.bidding-center h2{font-size:18px;letter-spacing:2px}.bidding-center p,.phase-bidding .turn-message{display:none}.bid-status{bottom:18px;gap:17px;left:25%;right:25%}.bid-status>span{font-size:7px;gap:4px}.bid-status b{font-size:9px}.game-footer{padding:4px 20px calc(5px + env(safe-area-inset-bottom));min-height:29px;font-size:7px}.game-footer>span{font-size:7px;gap:5px}.game-footer>span>svg{width:12px;height:12px}.game-footer>div{gap:13px}.footer-button{font-size:8px;padding:3px;gap:5px}.footer-button>svg{width:14px;height:14px}.footer-score{font-size:8px;padding-left:13px}.footer-score>svg{width:13px;height:13px}.waiting-zone{min-height:67px}.waiting-zone .action-bar{height:48px;margin-bottom:0}.waiting .self-seat{bottom:-57px}.waiting-hint{font-size:9px}.start-button{min-width:120px;min-height:34px;padding:7px 20px;font-size:11px;border-radius:8px}.start-button>svg{width:17px;height:17px}.waiting-center{transform:translate(-50%,-37%);width:340px}.table-kicker{font-size:7px;letter-spacing:1px}.waiting-center h2{font-size:20px;letter-spacing:2px;margin:5px 0}.waiting-center p{font-size:8px}.invite-code{margin:8px auto 9px;padding:6px 13px;gap:12px;border-radius:6px}.invite-code>span{font-size:21px;letter-spacing:5px}.invite-code>svg{width:13px;height:13px}.waiting-buttons{gap:9px}.waiting-buttons .button{min-height:28px;padding:6px 12px;font-size:9px;gap:6px;border-radius:6px}.waiting-buttons .button>svg{width:13px;height:13px}.practice-note{font-size:7px;margin-top:9px}.empty-seat{padding-top:2px}.empty-seat>span{width:58px;height:58px;border-radius:15px}.empty-seat>span svg{width:22px}.empty-seat>b{font-size:9px;margin-top:10px}.empty-seat>small{font-size:7px;margin-top:4px}.ready-label{font-size:8px;margin-top:8px}.ready-label>svg{width:11px;height:11px}.remove-bot{font-size:7px;bottom:-18px}.chat-bubble{font-size:8px;top:-29px;padding:5px 9px}.chat-menu{bottom:36px;right:17px;width:210px;padding:6px}.chat-menu>button{font-size:10px;padding:7px 10px}.chat-menu>div{margin-bottom:2px}.chat-menu b{font-size:10px}.modal-shade{padding:14px}.modal{max-height:calc(100dvh - 28px);padding:18px 23px;border-radius:14px}.modal-heading h2{font-size:18px}.modal-sub{font-size:10px;margin-bottom:15px}.modal.wide{width:600px}.form-stack{gap:12px}.form-stack input{height:36px;margin-top:5px}.form-stack .button{min-height:37px;padding:8px;font-size:11px}.form-stack>label{font-size:10px}.segmented{margin:12px 0}.segmented>button{padding:7px;font-size:11px}.avatar-picker>button{width:44px;height:45px}.avatar-picker svg{width:52px;height:61px;bottom:-6px}.form-note{margin-top:15px;font-size:8px}.rules-list{gap:15px;margin-top:15px}.rules-list p{font-size:10px}.rules-list h3{font-size:12px}.result-heading{margin:6px auto 9px;display:grid;grid-template-columns:36px auto;column-gap:10px;text-align:left;width:fit-content}.result-heading>div{width:36px;height:36px;grid-row:1 / 3}.result-heading>div>svg{width:28px;height:28px}.result-heading h2{font-size:18px;margin:0}.result-heading p{font-size:8px;margin-top:3px;grid-column:2}.result-player{padding:5px 10px}.result-player-name>svg{width:29px;height:31px}.result-player-name>b{font-size:10px}.result-player-name>strong{font-size:18px}.result-players{gap:6px}.result-player-name>div{gap:4px}.result-player-name b{font-size:10px}.result-player-name small{font-size:8px}.result-hand{margin:2px 0 3px}.result-hand>.small{width:25px;height:30px;margin-right:-18px}.result-hand>.small .card-corner b{font-size:10px}.result-hand>.small .card-corner i{font-size:7px}.result-hand>.small .card-center{font-size:13px}.result-hand>.small .card-bottom{font-size:5px}.result-buttons{margin-top:12px;gap:10px}.result-buttons>.button{min-height:33px;padding:7px 14px;font-size:10px}.stats-row{padding:14px 10px;margin:14px 0}.stats-row b{font-size:22px}.profile-card svg{width:75px;height:85px}.profile-card h2{font-size:16px}.history-empty{padding:15px 0}.reconnect-banner{top:43px;font-size:9px;padding:8px 12px}.toast{font-size:10px;bottom:15px;padding:9px 16px}.leave-description{font-size:12px}.result-buttons .button{min-width:115px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
