@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;600;700;800&display=swap');
:root{--paper:#f5f5ee;--ink:#253e33;--green:#1c4837;--deep:#15392d;--muted:#7d847b;--line:#dfe3d8;--lime:#d9eea0;--red:#c45148;--serif:'Noto Serif SC','Songti SC',STSong,serif;--sans:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px;-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;color:inherit}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #8fb153;outline-offset:4px}button{transition:background .2s,transform .2s,box-shadow .2s}.site-header{max-width:1440px;margin:auto;min-height:105px;display:flex;align-items:center;justify-content:space-between;padding:22px 64px;border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:700;letter-spacing:1px}.brand-mark{width:43px;height:47px;border-radius:10px;background:var(--green);color:var(--lime);display:grid;place-items:center;font-family:Georgia,serif;font-size:39px;padding-bottom:4px;transform:rotate(-5deg)}.brand small{display:block;font-size:9px;letter-spacing:3.2px;margin-top:4px;font-weight:500}.site-header nav{display:flex;align-items:center;gap:37px;height:60px}.site-header nav a{color:#7a8178;font-size:14px;position:relative;white-space:nowrap}.site-header nav a.active{color:var(--green);font-weight:650}.site-header nav a.active:after{content:'';height:3px;width:18px;border-radius:8px;background:var(--green);position:absolute;bottom:-19px;left:calc(50% - 9px)}.nav-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#9ab66e;vertical-align:top;margin:1px 0 0 5px}.header-right{display:flex;align-items:center;gap:18px}.icon-button{width:32px;height:32px;background:transparent;border-radius:50%;display:inline-grid;place-items:center}.icon-button:hover{background:#e7ebdf}.icon-button svg{width:19px;height:19px}.header-divider{width:1px;height:22px;background:var(--line)}.profile-button{display:flex;align-items:center;gap:10px;background:transparent;font-size:12px;white-space:nowrap}.avatar{border-radius:50%;width:32px;height:32px;background:#e8e9dd;display:inline-grid;place-items:center;color:#66715a;font-size:13px;border:1px solid #d7ddcd}main{max-width:1440px;margin:auto;padding:44px 64px 60px;min-height:calc(100vh - 200px)}.hero{display:grid;grid-template-columns: .87fr 1.5fr;gap:52px;align-items:center;margin-bottom:43px}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;display:flex;align-items:center;gap:9px;font-weight:550}.eyebrow:before{content:'';width:19px;height:1px;background:currentColor}.hero h1{font-family:var(--serif);font-size:57px;line-height:1.35;font-weight:700;letter-spacing:1px;margin:21px 0 19px}.hero h1 span{position:relative;white-space:nowrap}.hero h1 span:after{content:'';position:absolute;bottom:2px;left:0;right:0;height:13px;background:#dfeab7;z-index:-1;transform:rotate(-2deg)}.hero-intro>p{line-height:1.95;color:var(--muted);font-size:13px;margin:0 0 24px}.button{display:inline-flex;gap:12px;align-items:center;justify-content:center;min-height:46px;border-radius:7px;padding:0 23px;font-weight:550;font-size:13px;background:#e8ecdf;color:var(--green);white-space:nowrap}.button svg{width:17px;height:17px}.button.primary{background:var(--green);color:#fff}.button.primary:hover{background:#2c5a46;transform:translateY(-1px)}.button.lime{background:var(--lime);color:var(--deep)}.button.lime:hover{background:#e6f7b9;transform:translateY(-1px)}.button.outline{background:transparent;border:1px solid #c8d1c0}.button.ghost{background:transparent;border:1px solid rgba(255,255,255,.2);color:#eaf0df}.button.small{min-height:34px;padding:0 14px;font-size:12px}.hero-sub{font-size:11px;color:#8b9186;margin-top:12px;display:flex;gap:6px;align-items:center}.hero-sub svg{width:12px;height:12px}.hero-preview{height:370px;border-radius:16px;background:var(--green);color:#fff;position:relative;padding:27px 30px;overflow:hidden;isolation:isolate;box-shadow:0 7px 0 #e1e4d7}.hero-preview:before,.game-table:before{content:'';position:absolute;inset:12px;border:1px solid #d4e3a11c;border-radius:10px;pointer-events:none}.hero-preview:after{content:'♠';font-family:Georgia,serif;position:absolute;right:-30px;top:-100px;font-size:440px;line-height:1;transform:rotate(-20deg);color:#ffffff05;z-index:-1}.preview-top{display:flex;justify-content:space-between;align-items:center}.preview-top>span{font-size:11px;letter-spacing:1px;color:#d5ddc9}.preview-live{display:flex;gap:6px;align-items:center;color:#c9d4b8!important;letter-spacing:0!important;font-size:10px!important}.preview-live i{width:5px;height:5px;background:var(--lime);border-radius:50%}.preview-title{font-family:var(--serif);font-size:24px;margin:20px 0 0}.preview-subtitle{font-size:11px;color:#a9bfab;margin:8px 0}.featured-cards{position:absolute;top:128px;left:50%;width:420px;height:170px;transform:translateX(-50%)}.playing-card{width:68px;height:98px;background:#fffdf4;border:1px solid #dedfd1;border-radius:7px;color:#243a30;position:relative;box-shadow:0 3px 0 #dfdfd0,0 4px 6px #0f302924;user-select:none;flex-shrink:0;font-family:Georgia,serif;display:inline-block;text-align:left;vertical-align:middle;overflow:hidden}.playing-card.red{color:var(--red)}.card-rank{position:absolute;top:8px;left:9px;font-size:26px;line-height:1;font-weight:600;letter-spacing:-2px}.card-suit{position:absolute;top:35px;left:10px;font-size:19px;line-height:1}.card-center{position:absolute;bottom:8px;right:9px;font-size:32px;opacity:.92}.playing-card.joker .card-rank{font-size:12px;letter-spacing:0;writing-mode:vertical-rl;top:9px;line-height:1.1}.playing-card.joker .card-suit{display:none}.playing-card.joker .card-center{font-size:37px}.featured-cards .playing-card{position:absolute;width:83px;height:120px;top:20px;left:calc(50% + var(--i)*45px - 41px);transform:rotate(calc(var(--i)*8deg)) translateY(calc(var(--y)*1px));box-shadow:0 4px 1px #d4d8c5,0 10px 16px #092a2440}.featured-cards .card-rank{font-size:32px}.featured-cards .card-suit{top:43px;font-size:22px}.featured-cards .card-center{font-size:42px}.preview-foot{position:absolute;bottom:24px;left:30px;right:30px;display:flex;align-items:center;justify-content:space-between}.preview-foot>div{font-size:11px;line-height:1.9;color:#b3c5b0}.preview-foot .button{min-height:37px;font-size:11px;padding:0 15px}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.section-title{display:flex;align-items:center;gap:11px}.section-title h2{font-size:23px;font-family:var(--serif);margin:0;font-weight:700}.section-title>span{font-family:Georgia,serif;font-size:14px;color:#8b927e}.section-head p{font-size:11px;color:var(--muted);margin:8px 0 0}.text-button{background:transparent;padding:5px 0;font-size:12px;display:inline-flex;gap:8px;align-items:center}.text-button svg{width:14px;height:14px}.filters{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:22px;gap:12px}.filter-list{display:flex;gap:7px}.filter{padding:12px 17px 14px;background:transparent;color:#899081;font-size:12px;position:relative}.filter.active{color:var(--green);font-weight:650}.filter.active:after{content:'';position:absolute;bottom:-1px;left:16px;right:16px;height:2px;background:var(--green)}.filter small{font-family:Georgia,serif;margin-left:5px;font-size:11px;color:#929d89}.progress-caption{color:#8b9481;font-size:10px;padding-right:2px}.puzzle-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.puzzle-card{padding:21px 20px 17px;background:#fcfcf7;border:1px solid #e1e5d8;border-radius:11px;position:relative;text-align:left;transition:transform .2s,box-shadow .2s}.puzzle-card:hover{transform:translateY(-4px);box-shadow:0 10px 20px #1d402b0a;border-color:#b6c79f}.puzzle-card-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#a2a999}.puzzle-number{font-family:Georgia,serif;letter-spacing:1px}.badge{display:inline-flex;align-items:center;gap:4px;border:1px solid #dce3ce;color:#758563;background:#f1f4e9;padding:4px 8px;border-radius:4px;font-size:10px;line-height:1}.badge.advanced{color:#aa8852;background:#f7f0df;border-color:#eee3c9}.badge.master{color:#a3756e;background:#f6ece5;border-color:#eadbd1}.badge.classic{background:#e6eddf;color:#36583c;border:0}.puzzle-card h3{font-family:var(--serif);font-size:18px;margin:16px 0 7px;font-weight:650}.puzzle-card p{font-size:11px;line-height:1.6;color:#93998b;margin:0;min-height:18px}.mini-hand{display:flex;gap:0;align-items:center;height:78px;margin:13px 0 5px;padding-left:0}.mini-hand .playing-card{width:43px;height:59px;border-radius:4px;margin-right:-16px;box-shadow:0 2px 0 #e1e3d6;transform:rotate(-3deg)}.mini-hand .playing-card:nth-child(even){transform:rotate(3deg) translateY(-2px)}.mini-hand .card-rank{font-size:17px;top:5px;left:5px;letter-spacing:-1px}.mini-hand .card-suit{font-size:13px;top:24px;left:6px}.mini-hand .card-center{font-size:17px;bottom:4px;right:5px}.mini-hand .playing-card.joker .card-rank{font-size:8px;top:4px}.mini-hand .playing-card.joker .card-center{font-size:23px}.mini-more{font-size:10px;color:#8e9b81;letter-spacing:1px;margin-left:24px}.puzzle-bottom{border-top:1px solid #e9eddf;padding-top:13px;display:flex;justify-content:space-between;align-items:center;color:#9da58f;font-size:10px}.puzzle-bottom .arrow{font-size:17px;line-height:1;color:#698058}.completed{color:#5e8051!important}.stars{color:#9bb479;font-size:12px;letter-spacing:2px}.show-more{display:flex;justify-content:center;margin-top:22px}.team-strip{margin-top:35px;padding:26px 32px;background:#e8eddd;border-radius:11px;display:flex;align-items:center;justify-content:space-between;gap:24px}.team-strip-content{display:flex;align-items:center;gap:24px}.team-symbol{display:flex;transform:rotate(-8deg);width:60px;flex-shrink:0}.team-symbol span{width:29px;height:42px;display:grid;place-items:center;background:#fffdf2;border:1px solid #d0d8c1;border-radius:4px;font-family:Georgia;font-size:22px;margin-right:-6px}.team-symbol span:nth-child(2){transform:rotate(15deg) translateY(-3px);color:var(--red)}.team-strip h3{margin:0 0 7px;font-size:18px;font-family:var(--serif)}.team-strip p{margin:0;font-size:11px;color:#879077}.site-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 64px;max-width:1440px;margin:auto;border-top:1px solid var(--line);color:#98a08d;font-size:10px}.site-footer>span{display:flex;align-items:center;gap:8px}.footer-spade{font-size:20px;color:#657a51}.site-footer>div{display:flex;align-items:center;gap:22px}.site-footer button{background:transparent;color:#7e8973;font-size:10px;padding:0}.site-footer small{font-size:9px;opacity:.7}.toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,15px);background:#243e32f2;border:1px solid #7a9466;color:#fff;padding:12px 22px;border-radius:8px;font-size:12px;box-shadow:0 6px 20px #0002;z-index:1000;pointer-events:none;opacity:0;transition:.25s;max-width:90vw;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #dce2cf;border-radius:16px;padding:0;max-width:530px;width:calc(100% - 36px);background:#fcfcf5;color:var(--ink);box-shadow:0 25px 100px #0e291c40}dialog::backdrop{background:#102e2566;backdrop-filter:blur(4px)}.modal-inner{padding:32px}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-head h2{font-family:var(--serif);font-size:25px;margin:0}.close-modal{width:30px;height:30px;border-radius:50%;background:#e8eddf;font-size:21px}.modal-inner p,.modal-inner li{color:#78846e;line-height:1.9;font-size:13px}.modal-inner ul{padding-left:20px}.modal-inner .button{width:100%;margin-top:15px}.form-label{display:block;margin:18px 0 8px;font-size:12px;color:#6a795f}.input{width:100%;border:1px solid #cbd6bf;background:#f9faf3;padding:13px 15px;border-radius:7px;color:var(--ink);outline:0}.input:focus{border-color:#61864d}.modal-kicker{font-size:10px;letter-spacing:2px;color:#82976a}.win-icon{font-family:Georgia;font-size:55px;line-height:1;color:#6d8b45;margin:10px 0 20px}.result-modal{text-align:center}.result-modal h2{font-size:32px;font-family:var(--serif);margin:8px 0}.result-stars{font-size:27px;color:#9aa95d;letter-spacing:7px;margin:18px}.result-stats{display:flex;justify-content:center;gap:30px;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.result-stats strong{display:block;font-size:21px;font-family:Georgia}.result-stats span{font-size:10px;color:#87917c}.result-actions{display:flex;gap:10px}.result-actions .button{padding:0 15px}.page-kicker{font-size:11px;letter-spacing:2px;color:#849273}.page-title{font-family:var(--serif);font-size:42px;line-height:1.4;margin:14px 0}.page-subtitle{font-size:13px;line-height:1.9;color:#8b9480;margin:0}.game-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px;gap:15px}.breadcrumb{display:flex;align-items:center;gap:15px;font-size:12px}.breadcrumb button{background:transparent;padding:0;color:#7a896d;font-size:12px}.breadcrumb i{height:12px;width:1px;background:#d3daca}.game-title-line{display:flex;align-items:center;gap:12px;margin-bottom:20px}.game-title-line h1{font-size:26px;font-family:var(--serif);margin:0}.game-title-line>span{color:#8e9781;font-size:12px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:22px}.game-table{background:var(--green);color:#eef2e5;border-radius:15px;min-height:540px;position:relative;padding:28px 28px 23px;overflow:hidden}.table-topline{display:flex;justify-content:space-between;align-items:center;color:#b4c9ad;font-size:10px;position:relative;z-index:1;gap:10px}.table-topline span{display:flex;align-items:center;gap:5px}.live-dot{height:5px;width:5px;background:#d6eaa6;border-radius:50%;display:inline-block}.opponents{display:flex;justify-content:space-between;gap:14px;margin-top:25px;position:relative;z-index:1}.opponent{max-width:48%}.player-label{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1}.player-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#658367;color:#d5e7c3;border:2px solid #89a78044;font-size:13px}.player-icon.active{border-color:var(--lime);box-shadow:0 0 0 3px #d9eea014}.player-icon.landlord{background:#d4b878;color:#53482b}.player-role{font-size:9px;opacity:.7}.player-count{color:#aac19e;font-size:10px}.opponent-cards{display:flex;margin-top:13px;padding-right:16px;min-height:64px}.opponent-cards .playing-card{width:40px;height:57px;border-radius:4px;margin-right:-17px}.opponent-cards .card-rank{font-size:18px;top:5px;left:5px;letter-spacing:-1px}.opponent-cards .card-suit{font-size:13px;top:25px;left:6px}.opponent-cards .card-center{font-size:18px;right:5px;bottom:4px}.opponent-cards .playing-card.joker .card-rank{font-size:8px}.card-back{background:#d2dcb5;border:2px solid #f5f3db;color:#66855c;display:grid;place-items:center;font-size:25px;background-image:repeating-linear-gradient(45deg,transparent,transparent 3px,#839c731f 3px,#839c731f 4px)}.center-play{min-height:142px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;z-index:1;padding:12px 0 8px}.table-watermark{position:absolute;font-family:var(--serif);font-size:47px;letter-spacing:8px;opacity:.035;pointer-events:none;white-space:nowrap}.turn-message{font-size:11px;color:#c7d7bb;margin-bottom:15px;position:relative;line-height:1.7;text-align:center}.last-cards{display:flex;justify-content:center;padding-right:12px}.last-cards .playing-card{width:43px;height:61px;margin-right:-12px;border-radius:4px}.last-cards .card-rank{font-size:18px;top:5px;left:5px}.last-cards .card-suit{font-size:13px;top:26px;left:6px}.last-cards .card-center{font-size:20px;bottom:4px;right:5px}.last-cards .playing-card.joker .card-rank{font-size:8px}.self-area{position:relative;z-index:2;margin-top:10px}.self-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.self-heading .player-label{font-size:11px}.selection-label{font-size:10px;color:#abc19d}.hand{display:flex;justify-content:center;align-items:flex-end;min-height:110px;max-width:100%;padding-right:18px;padding-top:14px;overflow:visible}.hand .playing-card{margin-right:calc(-1 * var(--overlap,17px));padding:0;transition:transform .16s,border .16s;cursor:pointer;box-shadow:0 3px 0 #dfdfd0,0 3px 5px #102b2026}.hand .playing-card:hover{transform:translateY(-8px)}.hand .playing-card.selected{transform:translateY(-20px);border-color:#d8ed92;box-shadow:0 0 0 2px #d9eea0,0 4px 8px #102b2050}.hand .playing-card:disabled{opacity:1;cursor:default}.table-actions{display:flex;justify-content:center;gap:12px;margin-top:25px;position:relative;z-index:3}.table-actions .button{min-width:86px;min-height:39px;font-size:12px;padding:0 18px}.table-help{text-align:center;font-size:9px;color:#8eab85;margin:15px 0 0;letter-spacing:.5px;min-height:14px}.side-panel{border:1px solid var(--line);border-radius:12px;background:#fafbf4;padding:22px 19px;align-self:start}.side-eyebrow{font-size:9px;letter-spacing:1.5px;color:#8e9c80}.side-panel h3{font-family:var(--serif);font-size:17px;margin:12px 0}.side-panel p{font-size:11px;line-height:1.9;color:#929c86}.side-tip{padding:15px 0;border-bottom:1px solid #e3e8d9}.side-tip .button{width:100%;margin-top:8px}.game-log{max-height:185px;overflow:auto;margin-top:15px;scrollbar-width:thin}.log-entry{font-size:10px;color:#86957b;padding:7px 0;border-bottom:1px dashed #e4e9db;line-height:1.7}.log-entry strong{font-weight:550;color:#637c54}.source-note{font-size:10px;color:#99a28d;margin-top:18px;line-height:1.8}.source-note a{text-decoration:underline}.game-toolbar{display:flex;gap:14px;align-items:center}.timer{font-size:13px;color:#7f9070;font-variant-numeric:tabular-nums;font-family:monospace}.hint-text{border-radius:7px;background:#eef3e2;padding:12px;color:#61734b!important}.teams-hero{display:flex;justify-content:space-between;align-items:center;gap:35px;padding:15px 0 35px}.big-team-art{width:250px;height:145px;display:flex;justify-content:center;align-items:center;flex-shrink:0}.big-team-art .playing-card{width:80px;height:115px;margin:0 -15px;transform:rotate(-16deg);box-shadow:0 3px 0 #dfe2ce,0 10px 20px #35532c0c}.big-team-art .playing-card:nth-child(2){transform:rotate(0) translateY(-14px);z-index:2}.big-team-art .playing-card:nth-child(3){transform:rotate(16deg)}.team-forms{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:10px 0 25px}.team-form{border:1px solid var(--line);border-radius:13px;padding:30px;background:#fbfcf6}.team-form.featured{background:var(--green);color:#f1f5e6;border-color:var(--green)}.form-step{font-family:Georgia;font-size:12px;color:#9bac86;letter-spacing:1px}.team-form h2{font-family:var(--serif);font-size:25px;margin:17px 0 10px}.team-form>p{font-size:12px;color:#89947d;line-height:1.9}.team-form.featured>p{color:#a8c29c}.team-form .form-label{margin-top:25px}.team-form.featured .form-label{color:#aec6a3}.team-form.featured .input{background:#315743;border-color:#54724f;color:#fff}.team-form.featured .input::placeholder{color:#a1b693}.team-form .button{margin-top:15px;width:100%}.team-points{display:flex;gap:35px;color:#8f9a83;font-size:11px;justify-content:center;margin-top:33px}.team-points span{display:flex;align-items:center;gap:7px}.team-points svg{width:14px;height:14px}.room-layout{max-width:830px;margin:auto}.room-card{background:#fbfcf5;border:1px solid #dce4d0;padding:32px;border-radius:14px;margin-top:25px;text-align:center}.room-code{font-size:44px;letter-spacing:9px;font-family:Georgia,serif;margin:14px 0 20px;font-weight:600}.room-seats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0}.room-seat{background:#eff3e6;border:1px solid #e0e7d5;padding:25px 10px;border-radius:10px}.room-seat.empty{border-style:dashed;background:transparent}.room-seat .avatar{width:48px;height:48px;font-size:21px;margin-bottom:13px;background:#dce7c5}.room-seat strong{display:block;font-size:13px;margin-bottom:8px}.room-seat small{color:#96a086;font-size:10px}.room-note{font-size:11px;color:#89977b;line-height:1.8}.room-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:35px 0}.stat-item{background:#fcfcf7;border:1px solid var(--line);border-radius:11px;padding:25px}.stat-item strong{display:block;font-family:Georgia;font-size:37px;margin:15px 0 9px;font-weight:500}.stat-item span{font-size:11px;color:#8d9980}.stat-item p{font-size:11px;color:#9ba58f;margin:0}.empty-state{padding:50px 20px;text-align:center;color:#8e9c80;line-height:1.9}.empty-state>span{font-family:Georgia;font-size:45px;color:#a8ba8d}.empty-state h3{font-family:var(--serif);font-size:22px;color:#4c6540}.progress-bar{height:5px;background:#e2e9d5;border-radius:4px;overflow:hidden;margin:20px 0 30px}.progress-bar i{display:block;height:100%;background:#87a961;border-radius:4px}.loading{padding:100px 20px;text-align:center;color:#879a76}.loading span{display:inline-block;animation:pulse 1s infinite alternate}@keyframes pulse{to{opacity:.3}}@media(min-width:1441px){.hero{gap:70px}.hero-preview{height:390px}.featured-cards{top:140px}.hero h1{font-size:63px}}@media(max-width:1150px){.site-header{padding:20px 35px}.site-header nav{gap:25px}.header-right{gap:10px}main{padding:35px}.hero{gap:25px;grid-template-columns:.85fr 1.2fr}.hero h1{font-size:46px}.hero-preview{height:345px;padding:24px}.preview-title{font-size:22px}.featured-cards{top:118px;transform:translateX(-50%) scale(.9)}.preview-foot{left:24px;right:24px}.puzzle-grid{gap:14px}.puzzle-card{padding:18px 16px}.puzzle-card h3{font-size:17px}.game-layout{grid-template-columns:minmax(0,1fr) 210px;gap:16px}.game-table{padding:25px 20px}.site-footer{padding:25px 35px}.playing-card{width:61px;height:90px}.card-rank{font-size:24px}.card-suit{top:33px}.card-center{font-size:30px}}@media(max-width:900px){.header-right #profile-name{display:none}.site-header nav{gap:20px}.hero h1{font-size:41px}.hero{gap:22px;grid-template-columns:1fr 1.25fr}.hero-preview{height:329px;padding:21px}.hero-intro>p{font-size:12px}.featured-cards{transform:translateX(-50%) scale(.8);top:105px}.preview-title{font-size:19px}.preview-foot{bottom:24px}.preview-foot>div{font-size:9px}.puzzle-grid{grid-template-columns:repeat(3,1fr)}.game-layout{grid-template-columns:1fr}.side-panel{display:grid;grid-template-columns:1fr 1fr;gap:20px}.side-tip{border-bottom:0;padding:0}.side-panel .source-note{grid-column:1/-1;margin:0}.game-log{max-height:140px;margin-top:0}.game-table{min-height:535px}.stat-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.site-header{padding:17px 20px 0;min-height:117px;flex-wrap:wrap;gap:10px;border-bottom:1px solid var(--line)}.brand{font-size:18px;gap:9px}.brand-mark{width:35px;height:39px;font-size:33px}.brand small{font-size:7px;letter-spacing:2.5px}.site-header nav{order:3;width:100%;height:45px;justify-content:center;gap:48px}.site-header nav a{font-size:12px}.site-header nav a.active:after{bottom:-14px}.header-right{gap:8px}.header-divider{display:none}.header-right .avatar{height:29px;width:29px}.header-right .profile-button{padding:0}.icon-button{width:27px;height:27px}main{padding:28px 20px 35px;min-height:calc(100vh - 210px)}.hero{display:block;margin-bottom:33px}.hero-intro{padding:4px 0 26px;position:relative}.eyebrow{font-size:9px;letter-spacing:1.5px}.hero h1{font-size:42px;line-height:1.4;margin:15px 0 12px}.hero h1 br{display:none}.hero-intro>p{font-size:11px;line-height:1.9;margin:0 0 20px}.hero-intro>p br{display:none}.hero-sub{display:inline-flex;margin-left:10px;font-size:9px}.hero-intro>.button{min-height:40px;font-size:12px;padding:0 18px}.hero-preview{height:307px;border-radius:12px;padding:22px}.preview-title{font-size:21px;margin-top:18px}.preview-subtitle{font-size:10px}.featured-cards{top:94px;transform:translateX(-50%) scale(.86)}.preview-foot{left:22px;right:22px;bottom:24px}.preview-foot>div{font-size:10px}.preview-foot .button{min-height:35px;font-size:10px}.section-title h2{font-size:22px}.section-head{margin-bottom:12px}.section-head p{font-size:10px;line-height:1.8}.section-title>span{font-size:12px}.section-head>.text-button{font-size:10px;white-space:nowrap}.filters{margin-bottom:17px;gap:0}.filter{font-size:11px;padding:13px 13px}.filter:first-child{padding-left:0}.filter.active:after{left:13px;right:13px}.filter:first-child:after{left:0}.filter small{display:none}.progress-caption{font-size:9px}.puzzle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.puzzle-card{padding:16px 14px 14px;border-radius:9px}.puzzle-card h3{font-size:17px;margin-top:14px}.puzzle-card p{font-size:10px;line-height:1.7;min-height:33px}.badge{font-size:9px;padding:4px 6px}.puzzle-number{font-size:9px}.mini-hand{height:67px;margin:5px 0 7px}.mini-hand .playing-card{width:36px;height:52px;margin-right:-15px}.mini-hand .card-rank{font-size:16px}.mini-hand .card-suit{top:22px;font-size:11px}.mini-hand .card-center{font-size:15px}.mini-more{font-size:8px;margin-left:19px}.puzzle-bottom{font-size:9px;padding-top:10px}.puzzle-bottom .arrow{font-size:16px}.team-strip{padding:22px 20px;gap:16px;margin-top:27px;flex-wrap:wrap}.team-strip-content{gap:13px}.team-symbol{width:48px}.team-symbol span{width:25px;height:37px;font-size:18px}.team-strip h3{font-size:16px}.team-strip p{font-size:10px;line-height:1.8}.team-strip>.button{margin-left:61px;min-height:36px;font-size:11px;padding:0 17px}.site-footer{padding:20px;flex-wrap:wrap;gap:14px;font-size:9px}.site-footer>div{gap:16px}.site-footer button{font-size:9px}.site-footer small{font-size:8px}.page-title{font-size:32px}.page-subtitle{font-size:11px}.teams-hero{padding:10px 0 24px;gap:10px;position:relative}.big-team-art{width:105px;height:120px}.big-team-art .playing-card{width:46px;height:70px;margin:0 -10px}.big-team-art .card-rank{font-size:22px;top:5px;left:5px}.big-team-art .card-suit{top:29px;left:6px;font-size:16px}.big-team-art .card-center{font-size:23px;bottom:5px;right:5px}.team-forms{grid-template-columns:1fr;gap:17px}.team-form{padding:25px}.team-form h2{font-size:23px}.team-form .form-label{margin-top:20px}.team-points{gap:15px;flex-wrap:wrap;font-size:9px;margin-top:24px}.team-points svg{width:12px;height:12px}.game-top{align-items:flex-start;margin-bottom:21px}.breadcrumb{gap:9px;font-size:10px}.breadcrumb button{font-size:10px}.game-toolbar{gap:12px}.game-toolbar>.text-button{font-size:10px}.timer{font-size:11px}.game-title-line{gap:9px;flex-wrap:wrap}.game-title-line h1{font-size:23px}.game-title-line>span{font-size:10px}.game-layout{gap:15px}.game-table{padding:20px 15px;min-height:505px;border-radius:12px;margin:0 -5px}.table-topline{font-size:8px;gap:4px}.opponents{gap:7px;margin-top:22px}.opponent{max-width:49%}.player-label{gap:6px;font-size:10px}.player-icon{width:26px;height:26px;font-size:11px}.player-count{font-size:8px}.player-role{font-size:8px}.opponent-cards{padding-right:14px;margin-top:10px;min-height:56px}.opponent-cards .playing-card{width:33px;height:47px;margin-right:calc(-1 * var(--opp-overlap,17px));border-radius:3px}.opponent-cards .card-rank{font-size:14px;top:4px;left:4px}.opponent-cards .card-suit{font-size:11px;top:20px;left:5px}.opponent-cards .card-center{font-size:15px;bottom:3px;right:4px}.opponent-cards .playing-card.joker .card-rank{font-size:7px}.opponent-cards .playing-card.joker .card-center{font-size:20px}.center-play{min-height:135px}.turn-message{font-size:10px;margin-bottom:12px}.table-watermark{font-size:31px}.self-heading{margin-bottom:15px}.self-heading .player-label{font-size:10px}.selection-label{font-size:8px}.hand{min-height:94px;padding-right:14px;padding-top:16px}.hand .playing-card{width:53px;height:79px;border-radius:5px}.hand .card-rank{font-size:23px;top:7px;left:7px}.hand .card-suit{font-size:16px;top:31px;left:8px}.hand .card-center{font-size:27px;right:6px;bottom:5px}.hand .playing-card.joker .card-rank{font-size:10px}.hand .playing-card.joker .card-center{font-size:30px}.table-actions{gap:10px;margin-top:24px}.table-actions .button{min-width:75px;padding:0 16px;min-height:38px;font-size:11px}.table-help{font-size:8px;line-height:1.7;padding:0 10px}.side-panel{padding:18px 16px;gap:15px;grid-template-columns:1fr 1fr}.side-panel h3{font-size:15px}.side-panel p{font-size:10px}.side-panel .button.small{font-size:10px;min-height:31px;padding:0 9px}.side-eyebrow{font-size:8px}.game-log{max-height:190px}.log-entry{font-size:9px}.source-note{font-size:9px}.modal-inner{padding:26px}.modal-head h2{font-size:23px}.modal-inner p,.modal-inner li{font-size:12px}.room-card{padding:25px 17px}.room-code{font-size:35px;letter-spacing:6px}.room-seats{gap:8px}.room-seat{padding:20px 5px}.room-seat strong{font-size:11px;overflow-wrap:anywhere}.room-seat .avatar{width:38px;height:38px;font-size:17px}.room-seat small{font-size:9px}.room-note{font-size:10px}.room-actions .button{font-size:11px;min-height:39px;padding:0 15px}.stat-grid{gap:12px;margin:26px 0}.stat-item{padding:20px}.stat-item strong{font-size:31px}.stat-item span,.stat-item p{font-size:10px}.result-modal h2{font-size:28px}.result-stars{font-size:23px}.result-stats{gap:25px}.result-stats strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:650px){.hand.many-cards{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));row-gap:24px;justify-content:initial;padding-right:22px;padding-top:16px;min-height:0}.hand.many-cards .playing-card{margin-right:0}.hand.many-cards+.table-actions{margin-top:28px}}

/* Two fixed hands use one clearly marked opponent. Locale switching keeps the same table. */
.language-toggle{background:transparent;border:1px solid #ccd6c1;border-radius:6px;min-width:37px;height:30px;padding:0 7px;font-size:11px;font-weight:650;letter-spacing:.5px;white-space:nowrap}.language-toggle:hover{background:#e7eddb}.role-announcement{font-size:15px;font-weight:700;color:var(--lime);margin-bottom:16px;letter-spacing:1px}.two-hand-table .opponents{justify-content:center}.two-hand-table .opponent{max-width:100%;text-align:center}.two-hand-table .opponent .player-label{justify-content:center}.two-hand-table .opponent-cards{justify-content:center}.two-hand-table .center-play{min-height:150px}.site-footer a:hover{text-decoration:underline}
html[lang=en]{--serif:Georgia,'Times New Roman',serif}html[lang=en] .brand{font-size:20px;letter-spacing:0}html[lang=en] .brand small{letter-spacing:2px;font-size:8px}html[lang=en] .hero h1{font-size:clamp(37px,4.2vw,58px);line-height:1.18;letter-spacing:-1px}html[lang=en] .hero h1 span{white-space:normal}html[lang=en] .eyebrow{font-size:10px;letter-spacing:1px}html[lang=en] .site-header nav{gap:25px}html[lang=en] .site-header nav a{font-size:12px}html[lang=en] .hero-intro>p{line-height:1.8;font-size:12px}html[lang=en] .section-title h2{font-size:28px}html[lang=en] .section-title>span{display:none}html[lang=en] .preview-title{line-height:1.25}html[lang=en] .puzzle-card h3{font-size:19px;line-height:1.25;min-height:48px}html[lang=en] .puzzle-card p{line-height:1.65;min-height:34px}html[lang=en] .puzzle-bottom{font-size:10px}html[lang=en] .game-title-line h1{font-size:29px}html[lang=en] .side-panel h3{line-height:1.3;font-size:21px}html[lang=en] .side-panel .button{white-space:normal;line-height:1.5;padding:8px 12px;height:auto}html[lang=en] .table-topline{font-size:10px}html[lang=en] .selection-label{max-width:48%;text-align:right;line-height:1.5}html[lang=en] .player-label{gap:8px}html[lang=en] .player-role{font-size:10px}html[lang=en] .page-title{font-size:38px;line-height:1.2}html[lang=en] .team-form h2{font-size:26px}html[lang=en] .result-modal h2{line-height:1.2}html[lang=en] .site-footer{gap:18px}html[lang=en] .site-footer>div{flex-wrap:wrap;gap:15px}
@media(max-width:1150px){html[lang=en] .site-header{gap:15px}html[lang=en] .site-header nav{gap:17px}html[lang=en] .header-right{gap:8px}html[lang=en] #profile-name{display:none}}
@media(max-width:650px){.language-toggle{min-width:33px;height:28px;font-size:10px}.header-right{gap:6px}.role-announcement{font-size:13px;margin-bottom:13px}.two-hand-table .opponent{max-width:100%}.two-hand-table .opponent-cards{max-width:calc(100vw - 65px)}html[lang=en] .brand{font-size:17px}html[lang=en] .brand small{font-size:7px;letter-spacing:1.2px}html[lang=en] .site-header nav{gap:28px}html[lang=en] .hero h1{font-size:39px;line-height:1.2;max-width:330px}html[lang=en] .hero h1 br{display:block}html[lang=en] .hero-intro>p{font-size:11px;line-height:1.7;max-width:330px}html[lang=en] .hero-sub{display:flex;margin-left:0;margin-top:10px}html[lang=en] .section-title h2{font-size:23px;line-height:1.25}html[lang=en] .filter{padding:13px 9px;font-size:10px}html[lang=en] .filter:first-child{padding-left:0}html[lang=en] .progress-caption{white-space:nowrap;font-size:8px}html[lang=en] .preview-title{font-size:21px}html[lang=en] .preview-foot>div{font-size:8px}html[lang=en] .puzzle-card h3{font-size:17px;min-height:43px}html[lang=en] .puzzle-card p{font-size:10px;min-height:49px}html[lang=en] .badge{font-size:8px;padding:4px 5px}html[lang=en] .puzzle-number{font-size:8px}html[lang=en] .puzzle-bottom{font-size:8px}html[lang=en] .game-title-line h1{font-size:23px}html[lang=en] .table-topline{font-size:8px;line-height:1.6}html[lang=en] .player-label{gap:5px;font-size:10px}html[lang=en] .player-role{font-size:9px}html[lang=en] .self-heading{align-items:center}html[lang=en] .role-announcement{letter-spacing:.3px}html[lang=en] .side-panel{grid-template-columns:1fr}html[lang=en] .side-panel h3{font-size:20px}html[lang=en] .page-title{font-size:29px}html[lang=en] .teams-hero .page-title{font-size:27px}html[lang=en] .team-form h2{font-size:25px}html[lang=en] .room-seats{gap:6px}html[lang=en] .room-seat small{font-size:8px}html[lang=en] .room-card .page-title{font-size:26px!important}html[lang=en] .site-footer>div{gap:12px}html[lang=en] .stat-item p{line-height:1.6}html[lang=en] .stat-item span{line-height:1.6}html[lang=en] .team-strip h3{font-size:18px;line-height:1.35}}

.two-hand-table .opponent-cards .playing-card{width:52px;height:74px;margin-right:calc(-1 * var(--duel-overlap,12px))}.two-hand-table .opponent-cards .card-rank{font-size:22px;top:6px;left:6px}.two-hand-table .opponent-cards .card-suit{font-size:15px;top:30px;left:7px}.two-hand-table .opponent-cards .card-center{font-size:25px;bottom:5px;right:6px}.two-hand-table .opponent-cards .playing-card.joker .card-rank{font-size:10px}.two-hand-table .opponent-cards .playing-card.joker .card-center{font-size:28px}
@media(max-width:650px){.two-hand-table .opponent-cards .playing-card{width:44px;height:63px}.two-hand-table .opponent-cards .card-rank{font-size:19px;top:5px;left:5px}.two-hand-table .opponent-cards .card-suit{font-size:13px;top:26px;left:6px}.two-hand-table .opponent-cards .card-center{font-size:22px;right:5px;bottom:4px}.two-hand-table .opponent-cards .playing-card.joker .card-rank{font-size:9px}html[lang=en] .hero-intro>p br{display:initial}}

/* Shared studio navigation stays visible above the game header. */
.studio-return-bar{position:sticky;top:0;z-index:50;background:var(--paper);border-bottom:1px solid var(--line);padding:9px max(20px,calc((100vw - 1312px)/2));min-height:48px;display:flex;align-items:center}.studio-home-link{display:inline-flex;align-items:center;min-height:32px;border:1px solid #cbd8be;border-radius:6px;background:#e9efdf;padding:5px 12px;color:var(--green);font-size:12px;font-weight:600;line-height:1.5}.studio-home-link:hover{background:#dfe8d0}.studio-home-link:focus-visible{outline:3px solid #8fb153;outline-offset:3px}@media(max-width:650px){.studio-return-bar{padding:6px 20px;min-height:46px}.studio-home-link{font-size:11px;min-height:33px}}
