:root{--paper:#f5f2e9;--ink:#193c34;--muted:#7e847c;--green:#163e35;--gold:#e8cf92;--line:#dddcd0;--red:#bb4746;--card:#fffcf4;--sans:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--serif:Georgia,"Songti SC","STSong",serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #bd9451;outline-offset:5px}button{touch-action:manipulation}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}a{color:inherit;text-decoration:none}.shell{max-width:1180px;margin:auto;padding:0 48px}.site-header{height:112px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;font-size:22px;letter-spacing:2px;font-weight:650}.brand-mark{width:45px;height:51px;border-radius:8px;background:var(--ink);color:var(--paper);display:grid;place-items:center;font-size:34px;transform:rotate(-9deg)}.brand small{display:block;font-size:9px;letter-spacing:3px;margin-top:3px;font-weight:500}.header-actions{display:flex;gap:26px}.text-button{border:0;background:none;color:var(--ink);padding:8px 0;font-size:13px;white-space:nowrap}.text-button span{margin-left:10px}.text-button:hover{color:#9b7334}.eyebrow{font-size:10px;letter-spacing:2px;text-transform:uppercase;display:flex;align-items:center;gap:12px;font-weight:550}.tiny-line{width:26px;height:1px;background:var(--ink)}.welcome{display:grid;grid-template-columns:1.1fr 1fr;position:relative;padding-top:70px;gap:28px}.welcome h1{font-family:var(--serif);font-size:clamp(36px,4.3vw,52px);font-weight:600;letter-spacing:2px;line-height:1.45;margin:25px 0 20px}.intro{font-size:15px;line-height:1.95;color:var(--muted);letter-spacing:.5px}.mode-options{display:flex;flex-direction:column;gap:12px;max-width:405px;margin-top:34px}.mode-card{padding:20px 22px;display:flex;align-items:center;gap:18px;border:1px solid var(--line);background:#fbf9f2;border-radius:10px;text-align:left;color:var(--ink);transition:background .2s,border-color .2s,box-shadow .2s}.mode-card:hover{background:var(--ink);border-color:var(--ink);color:var(--paper);box-shadow:0 8px 24px #163e3514}.mode-card strong{display:block;font-size:17px;letter-spacing:1px}.mode-card small{display:block;font-size:12px;opacity:.65;margin-top:7px}.mode-icon{font-size:32px;width:35px;text-align:center}.mode-arrow{margin-left:auto;font-size:24px}.welcome-note{font-size:11px;color:var(--muted);margin-top:20px;display:flex;gap:8px;line-height:1.7}.welcome-note span{color:#9c8050}.welcome-art{position:relative;min-height:545px;overflow:hidden;border-radius:160px 160px 100px 100px;background:radial-gradient(ellipse at 60% 45%,#e5e7d9 0%,#e9ebde 38%,#f1efe5 74%);margin:10px 0 0}.art-orbit{position:absolute;border:1px solid #c2c9b4;border-radius:50%;width:400px;height:400px;left:calc(50% - 200px);top:78px}.orbit-two{width:300px;height:300px;left:calc(50% - 150px);top:128px;border-style:dashed;opacity:.6}.art-label{position:absolute;top:53px;width:100%;text-align:center;font-size:8px;letter-spacing:2.6px;color:#81917c}.art-card{position:absolute;top:153px;left:calc(50% - 80px);height:239px;width:166px;background:var(--card);border:1px solid #d9d6c5;border-radius:14px;padding:14px;font-family:var(--serif);box-shadow:0 15px 32px #22352c1c;display:flex;flex-direction:column;justify-content:space-between}.art-card span{font-size:21px;line-height:1.05;z-index:1}.art-card span:last-child{align-self:end;transform:rotate(180deg)}.art-card b{position:absolute;inset:0;display:grid;place-items:center;font-size:96px;font-weight:normal}.art-card-one{transform:rotate(-21deg) translateX(-64px);z-index:1}.art-card-two{color:var(--red);transform:rotate(5deg) translateY(-20px);z-index:2}.art-card-three{transform:rotate(24deg) translateX(68px);z-index:3}.art-caption{position:absolute;bottom:39px;left:40px;display:flex;gap:12px;align-items:center}.art-caption b{font-family:var(--serif);font-size:54px;font-weight:normal;color:#3c5747}.art-caption span{font-size:10px;color:#7f8a78;line-height:1.8;letter-spacing:2px}.art-star{position:absolute;right:30px;bottom:59px;font-size:47px;color:#9aab90}.welcome-footer{grid-column:1/-1;display:flex;gap:36px;font-size:11px;letter-spacing:1px;color:#9a9b8e;border-top:1px solid var(--line);margin-top:28px;padding:23px 0}.welcome-footer span:not(:last-child)::after{content:'·';margin-left:36px;color:#b1b3a7}.site-footer{display:flex;justify-content:space-between;color:#909587;font-size:9px;letter-spacing:1px;padding:24px 0 32px;border-top:1px solid var(--line);margin-top:18px}.game{max-width:920px;margin:0 auto}.game-heading{display:flex;justify-content:space-between;align-items:center;padding:32px 0 23px;gap:20px}.game-heading h1{font-family:var(--serif);font-size:28px;letter-spacing:1px;font-weight:550;margin:10px 0 0}.heading-dot{color:#c09a54;margin-left:3px}.game-heading .eyebrow{font-size:9px;color:#8f9587}.game-stats{display:flex;gap:28px;align-items:center}.game-stats div{display:flex;flex-direction:column;gap:4px;text-align:center}.game-stats span{font-size:10px;color:#919584}.game-stats strong{font-family:var(--serif);font-size:30px;font-weight:normal}.game-stats i{height:30px;width:1px;background:var(--line)}.score-strip{display:flex;gap:30px;justify-content:space-between;align-items:center;padding:0 0 19px}.score-person{display:flex;align-items:center;gap:12px;flex:1;padding:10px 16px;border:1px solid var(--line);border-radius:9px;transition:border .2s,background .2s}.score-person.active{border-color:#a7b8a3;background:#e9eddf}.avatar{display:grid;place-items:center;background:#e1e7d8;border-radius:50%;height:35px;width:35px;font-family:var(--serif);font-size:13px}.score-person strong{font-size:13px;font-weight:550}.score-person small{display:block;font-size:10px;color:#858e7e;margin-top:4px}.score-value{margin-left:auto;display:flex;gap:6px;align-items:baseline}.score-value b{font:24px var(--serif)}.score-value span{font-size:9px;color:#909785}.versus{font:italic 11px var(--serif);color:#9ba18e}.table-area{min-height:332px;background:radial-gradient(ellipse at 50% 40%,#28584a,#183e34 70%);color:var(--paper);border-radius:18px;padding:20px 25px 16px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #143b32,0 10px 25px #1e3b2912;display:flex;flex-direction:column}.table-area:after{content:'';position:absolute;inset:11px;border:1px solid #dcca9833;border-radius:11px;pointer-events:none}.table-grain{position:absolute;inset:0;pointer-events:none;opacity:.12;background-image:repeating-linear-gradient(12deg,transparent,transparent 2px,#dce6d50c 3px,#dce6d50c 4px)}.table-top{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1}.table-tag{font-size:10px;color:#ead6a7;background:#dcd4ac0f;border:1px solid #dcd4ac30;border-radius:50px;padding:6px 12px}.table-pot{font-size:11px;color:#bfcbba}.opponent{display:flex;justify-content:center;gap:5px;height:43px;margin-top:15px;align-items:center}.mini-back{height:36px;width:25px;border-radius:3px;border:1px solid #bbccb1;background:repeating-linear-gradient(45deg,#527160,#527160 3px,#41604f 3px,#41604f 6px);box-shadow:0 2px 4px #0b221830}.opponent-label{font-size:9px;margin-left:8px;color:#b9c8b4;letter-spacing:1px}.table-center{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:168px;gap:10px}.table-caption{font-size:10px;color:#d3dccb;letter-spacing:.6px}.table-cards{display:flex;gap:9px;justify-content:center;align-items:center;min-height:100px}.empty-table{font:48px var(--serif);color:#c6d2bb30;letter-spacing:16px}.table-status{font-size:11px;color:#d4c091;line-height:1.6;text-align:center;min-height:17px;max-width:95%}.round-moves{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;max-height:60px;overflow:auto;margin:4px 0 12px}.move-chip{border:1px solid #bcccaf30;background:#d4ddc910;border-radius:4px;padding:4px 7px;font-size:9px;color:#bdcdb4}.move-chip:last-child{border-color:#d8c99880;color:#e8d6ab}.table-bottom{margin-top:auto;display:flex;justify-content:space-between;font-size:7px;letter-spacing:2px;color:#8ea68b;padding:3px 2px 0}.table-bottom span:last-child{font-size:11px;letter-spacing:6px}.hand-panel{padding-top:24px}.hand-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.hand-owner{font-size:13px;font-weight:600;letter-spacing:.5px}.hand-description{font-size:10px;color:#8e9688;margin-left:12px}.hand-heading .text-button{font-size:10px;color:#87917d}.hand{display:flex;justify-content:center;align-items:center;gap:15px;min-height:156px;padding:15px 8px 5px}.playing-card{position:relative;flex-shrink:0;width:88px;height:124px;background:var(--card);color:var(--ink);border:1px solid #d9d6c5;border-radius:9px;padding:9px;font-family:var(--serif);box-shadow:0 4px 8px #36402512;display:flex;flex-direction:column;justify-content:space-between;text-align:left;transition:transform .18s,border .18s,box-shadow .18s}.playing-card.red{color:var(--red)}.playing-card .corner{font-size:18px;line-height:1.1;display:flex;flex-direction:column;align-items:center;position:relative;z-index:1;width:max-content}.playing-card .corner:last-child{align-self:flex-end;transform:rotate(180deg)}.playing-card .center-suit{position:absolute;inset:0;display:grid;place-items:center;font-size:43px;pointer-events:none}.playing-card.joker .corner{font-size:9px;letter-spacing:1px;writing-mode:vertical-rl;line-height:1.1}.playing-card.joker .center-suit{font-size:37px;color:inherit}.playing-card.selected{transform:translateY(-13px);border-color:#4c7865;box-shadow:0 0 0 2px #4c7865,0 9px 14px #24442b20}.playing-card.selected:after{content:'✓';position:absolute;bottom:-10px;left:calc(50% - 9px);width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#335947;color:#fff;font:10px var(--sans)}button.playing-card:hover:not(:disabled):not(.selected){transform:translateY(-5px);box-shadow:0 8px 12px #24442b20}.table-cards .playing-card{width:65px;height:94px;box-shadow:0 5px 10px #0c221c33;padding:7px;border:0;border-radius:6px}.table-cards .corner{font-size:13px}.table-cards .center-suit{font-size:33px}.table-cards .joker .corner{font-size:7px}.table-cards .joker .center-suit{font-size:28px}.hand-hidden{display:flex;flex-direction:column;align-items:center;gap:11px;color:#87917d;font-size:11px;padding:20px}.hand-hidden .mini-back{width:57px;height:80px;border-color:#b8c1a9}.hand-controls{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:14px;padding:17px 0;border-top:1px solid var(--line)}.hand-controls p{font-size:11px;color:#85917f;line-height:1.7;margin:0;max-width:48%}.hand-controls p.invalid{color:#aa5e50}.control-buttons{display:flex;gap:9px}.button{padding:12px 22px;border-radius:6px;font-size:12px;letter-spacing:.3px;border:1px solid transparent;min-height:42px;transition:background .15s,color .15s}.button-primary{background:var(--ink);color:var(--paper)}.button-primary:hover:not(:disabled){background:#2f5b49}.button-primary span{margin-left:26px}.button-outline{border-color:#bcc7b2;background:none;color:var(--ink)}.button-outline:hover:not(:disabled){background:#e6eada}.button-quiet{background:none;color:#7b8c73;padding:12px 14px}.button-quiet:hover:not(:disabled){background:#e6eada}.button-gold{background:var(--gold);color:var(--ink);padding:16px 26px;font-size:13px}.button-gold:hover{background:#f3dfab}.button-gold span{margin-left:24px}.history{font-size:11px;color:#8c9585;border-top:1px solid var(--line);padding:16px 0 4px;margin-top:8px}.history summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between}.history summary:before{content:'＋';margin-right:8px}.history[open] summary:before{content:'−'}.history summary span{margin-left:auto;font-size:10px}.history ol{max-height:180px;overflow:auto;padding-left:22px;line-height:2.15;font-size:11px;margin-top:14px}.curtain{position:fixed;inset:0;background:#163e35;z-index:50;color:var(--paper);display:grid;place-items:center;padding:28px;overflow-y:auto}.curtain-grid{position:absolute;inset:0;opacity:.055;background-image:linear-gradient(#f4edd5 1px,transparent 1px),linear-gradient(90deg,#f4edd5 1px,transparent 1px);background-size:64px 64px;pointer-events:none}.curtain-content{position:relative;text-align:center;max-width:550px}.curtain-icon{width:86px;height:86px;border:1px solid #dcca9860;border-radius:50%;display:grid;place-items:center;margin:0 auto 30px;color:#e0c78a;font-size:47px}.curtain .eyebrow{justify-content:center;font-size:9px;letter-spacing:3px;color:#b5c6ae}.curtain h2{font-family:var(--serif);font-size:32px;line-height:1.4;font-weight:500;letter-spacing:1px;margin:18px 0}.curtain-content>p:not(.eyebrow){font-size:12px;color:#b6c7af;line-height:1.9}.curtain-summary{min-height:42px;padding:10px 0 22px;font-size:11px;line-height:1.8;color:#d4c79b}.curtain .button{display:block;margin:0 auto}.curtain-rules{border:0;background:none;color:#b4c7aa;font-size:10px;padding:20px}.curtain-footnote{margin:18px 0 0;font-size:10px!important;opacity:.65}dialog{border:1px solid #d7dacc;background:var(--paper);color:var(--ink);border-radius:15px;padding:32px;max-width:620px;width:calc(100% - 36px);max-height:88dvh;box-shadow:0 25px 70px #162d2333}dialog::backdrop{background:#142e26a8;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.dialog-heading .eyebrow{color:#8f9686;font-size:9px}.dialog-heading h2{font-family:var(--serif);font-size:26px;font-weight:500;margin:10px 0 20px}.close-dialog{background:none;border:0;color:#84907d;font-size:27px;padding:0 3px;line-height:1}.rules-content{font-size:12px;line-height:1.85}.rule-intro{border:1px solid #c7d0bb;border-radius:6px;padding:12px 14px;background:#e7ecdf}.rule-section{padding:16px 0 12px;border-bottom:1px solid var(--line)}.rule-section b{font-size:12px}.rule-section p{color:#788773;margin:8px 0}.rule-example{background:#eceee2;border-radius:6px;padding:10px 12px;font-size:11px;line-height:2}.dialog-bottom{display:block;margin:25px auto 0}#result-dialog{text-align:center;max-width:470px;padding:40px 32px}.result-close{position:absolute;right:20px;top:20px}.result-symbol{font-size:62px;color:#b39558}.result-scores{display:flex;justify-content:center;gap:45px;margin:28px 0;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.result-scores div{display:flex;flex-direction:column;gap:8px;min-width:100px}.result-scores b{font:48px var(--serif)}.result-scores small{font-size:11px;color:#8c9782}#result-dialog .eyebrow{justify-content:center;color:#95a086}#result-title{font:32px var(--serif);margin:20px 0 12px}#result-description,.result-note{font-size:12px;line-height:1.8;color:#89957f}.result-note{font-size:11px;margin-bottom:24px}#result-dialog>.button{display:block;width:100%;margin-bottom:14px}.new-options{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}#new-dialog{max-width:430px}#new-dialog p{font-size:12px;color:#85917b}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:100;background:#f9f5e9;color:var(--ink);border:1px solid #d8dccb;border-radius:8px;box-shadow:0 5px 30px #153c2825;padding:13px 20px;font-size:12px;text-align:center;max-width:90%;width:max-content;line-height:1.6}
@media(min-width:1500px){.welcome{padding-top:85px}.welcome-art{min-height:580px}}
@media(max-width:800px){.shell{padding:0 24px}.site-header{height:88px}.welcome{padding-top:40px;gap:10px}.welcome h1{font-size:34px;letter-spacing:1px}.intro{font-size:13px}.welcome-art{min-height:465px}.art-card{width:136px;height:196px;left:calc(50% - 68px);top:156px}.art-card b{font-size:76px}.art-card-one{transform:rotate(-20deg) translateX(-42px)}.art-card-three{transform:rotate(22deg) translateX(48px)}.art-caption{left:25px;bottom:21px}.art-star{right:22px;bottom:37px}.mode-card{padding:17px 14px;gap:12px}.mode-card strong{font-size:15px}.mode-card small{font-size:10px}.welcome-note{font-size:10px}.game-heading h1{font-size:25px}.game-stats{gap:20px}.score-strip{gap:17px}.table-area{min-height:320px}}
@media(max-width:600px){.shell{padding:0 18px}.site-header{height:78px}.brand{font-size:19px}.brand-mark{height:40px;width:34px;font-size:28px;border-radius:6px}.brand small{font-size:7px}.header-actions{gap:18px}.header-actions .text-button{font-size:11px}.text-button span{margin-left:5px}.welcome{grid-template-columns:1fr;padding-top:30px}.welcome-copy{z-index:1}.welcome .eyebrow{font-size:9px}.welcome h1{font-size:36px;margin-top:20px;margin-bottom:14px;line-height:1.35}.intro{line-height:1.8}.mode-options{margin-top:25px;max-width:none}.mode-card{padding:17px 18px;gap:15px}.mode-card strong{font-size:16px}.mode-card small{font-size:11px}.welcome-art{min-height:290px;margin:18px 0 0;border-radius:100px 100px 30px 30px}.art-card{top:77px;width:100px;height:144px;left:calc(50% - 50px);border-radius:9px;padding:10px}.art-card b{font-size:59px}.art-card span{font-size:15px}.art-card-one{transform:rotate(-21deg) translateX(-48px)}.art-card-two{transform:rotate(5deg) translateY(-9px)}.art-card-three{transform:rotate(24deg) translateX(48px)}.art-label{top:25px;font-size:7px}.art-orbit{width:250px;height:250px;left:calc(50% - 125px);top:25px}.orbit-two{width:185px;height:185px;left:calc(50% - 92.5px);top:55px}.art-caption{bottom:9px;left:22px}.art-caption b{font-size:37px}.art-caption span{font-size:8px}.art-star{font-size:33px;bottom:14px}.welcome-footer{gap:12px;justify-content:space-between;margin-top:20px;padding:20px 0;font-size:9px}.welcome-footer span:not(:last-child)::after{display:none}.site-footer{font-size:8px;gap:20px;line-height:1.8;margin-top:14px;padding:20px 0}.game-heading{padding:22px 0 17px}.game-heading h1{font-size:20px;letter-spacing:.5px}.game-heading .eyebrow{font-size:8px;letter-spacing:1px}.game-stats{gap:12px}.game-stats span{font-size:8px}.game-stats strong{font-size:25px}.game-stats i{height:26px}.score-strip{gap:9px;padding-bottom:14px}.score-person{padding:9px 10px;gap:8px;border-radius:7px}.avatar{width:27px;height:27px;font-size:11px}.score-person strong{font-size:11px}.score-person small{font-size:8px}.score-value{gap:3px}.score-value b{font-size:23px}.score-value span{font-size:8px}.versus{font-size:9px}.table-area{min-height:306px;border-radius:13px;padding:17px 18px 15px}.table-area:after{inset:8px;border-radius:8px}.table-tag{font-size:9px;padding:5px 9px}.table-pot{font-size:9px}.table-center{min-height:163px;gap:8px}.table-cards{gap:6px;min-height:88px}.table-cards .playing-card{width:52px;height:78px;padding:6px;border-radius:5px}.table-cards .corner{font-size:11px}.table-cards .center-suit{font-size:27px}.table-cards .joker .corner{font-size:6px}.table-cards .joker .center-suit{font-size:23px}.table-caption,.table-status{font-size:10px}.opponent{margin-top:10px;height:40px}.table-bottom{font-size:6px}.table-bottom span:last-child{font-size:10px}.move-chip{font-size:8px;padding:3px 5px}.hand-panel{padding-top:18px}.hand-heading{margin-bottom:5px}.hand-owner{font-size:12px}.hand-description{font-size:9px;margin-left:8px}.hand-heading .text-button{font-size:9px}.hand{gap:9px;padding:17px 0 4px;min-height:135px}.hand .playing-card{width:59px;height:91px;padding:7px;border-radius:6px}.hand .corner{font-size:14px}.hand .center-suit{font-size:32px}.hand .joker .corner{font-size:7px}.hand .joker .center-suit{font-size:27px}.hand .playing-card.selected{transform:translateY(-10px)}.hand-controls{flex-direction:column;align-items:stretch;gap:12px;margin-top:8px;padding:12px 0}.hand-controls p{max-width:100%;text-align:center;font-size:10px;min-height:17px}.control-buttons{justify-content:center;gap:10px}.control-buttons .button{padding:11px 23px;font-size:12px}.control-buttons .button-primary{min-width:115px}.button-primary span{margin-left:18px}.history{font-size:10px;padding-top:14px;margin-top:0}.history ol{font-size:10px}.curtain{padding:26px}.curtain h2{font-size:27px}.curtain-icon{width:72px;height:72px;font-size:41px;margin-bottom:24px}.curtain-content>p:not(.eyebrow){font-size:11px}.curtain .button-gold{padding:16px 18px;font-size:12px}.button-gold span{margin-left:12px}dialog{padding:24px}.dialog-heading h2{font-size:24px}.rules-content{font-size:11px}.rule-example{font-size:10px}.dialog-heading .eyebrow{font-size:8px}#result-dialog{padding:36px 24px}.result-scores{gap:30px}.result-scores b{font-size:42px}.result-scores div{min-width:90px}.new-options{flex-direction:column}}
@media(max-width:360px){.shell{padding:0 12px}.hand{gap:6px}.hand .playing-card{width:55px}.score-person{padding:8px}.avatar{display:none}.table-cards{gap:4px}.table-cards .playing-card{width:49px}.game-heading h1{font-size:18px}.game-stats{gap:9px}.control-buttons .button{padding:11px 19px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* V002 — focus on cards, compact controls, visible captures. */
.playing .site-header{height:68px;border-bottom:0}.playing .brand{font-size:18px}.playing .brand-mark{width:32px;height:36px;font-size:25px;border-radius:5px}.playing .brand small,.playing .site-footer{display:none}.game{max-width:980px;padding-bottom:26px}.table-area{min-height:354px;padding:18px 24px 20px;border-radius:18px;transition:box-shadow .2s}.table-tag{font-size:11px}.table-pot{font-size:10px;opacity:.75}.opponent{height:48px;margin:8px 0 3px;gap:6px}.opponent .mini-back{width:30px;height:42px}.table-center{min-height:218px;gap:11px;position:relative;z-index:2}.table-caption{font-size:12px;color:#d7dfd1;min-height:18px}.table-cards{width:100%;gap:12px;min-height:156px;position:relative;z-index:2}.table-cards .playing-card{width:106px;height:150px;padding:11px;border-radius:9px;box-shadow:0 10px 25px #08241b55;flex-shrink:1}.table-cards .corner{font-size:21px}.table-cards .center-suit{font-size:53px}.table-cards .joker .corner{font-size:10px}.table-cards .joker .center-suit{font-size:44px}.table-status{font-size:11px;min-height:17px}.empty-table{font-size:92px;letter-spacing:0;color:#c6d2bb1c}.round-moves{margin:8px 0 0;max-height:35px;opacity:.75}.move-chip{padding:3px 7px;font-size:9px}.hand-panel{padding-top:12px}.hand-heading{height:17px;justify-content:flex-end;margin:0}.hand-owner{font-size:10px;color:#87917d;margin-right:auto}.hand-heading .text-button{padding:0}.hand-controls{display:flex;justify-content:center;align-items:center;gap:12px;padding:0;margin:0 0 8px;border:0;flex-direction:row}.hand-controls .button{font-size:17px;height:55px;border-radius:10px;min-width:148px;padding:12px 27px;font-weight:550;letter-spacing:1px}.hand-controls .button-primary{background:#244e3d;box-shadow:0 5px 12px #1b462b18}.hand-controls .button-primary:disabled{box-shadow:none;background:#96a99a;opacity:.6}.hand-controls .button-primary span{margin-left:24px}.hand-controls .button-outline{background:#faf8f0;border-color:#bdc8b2;color:#63775b;min-width:130px}.hand-controls .button-quiet{min-width:55px;padding:12px 7px;font-size:12px;font-weight:400;letter-spacing:0}.hand{min-height:143px;padding:14px 0 3px;gap:16px}.hand .playing-card{width:86px;height:122px}.playing-card:disabled{opacity:1;cursor:default}.playing-card.selected:disabled{transform:translateY(0)}.selection-info{margin:8px 0 12px;text-align:center;font-size:11px;line-height:1.7;color:#899480;min-height:19px}.selection-info.invalid{color:#ad6553}.hand-hidden{padding:20px;font-size:12px;margin:0}.capture-section{border-top:1px solid #d9ddce;padding:14px 0 0;display:flex;flex-direction:column;gap:10px}.capture-row{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:12px;padding:3px 4px;border-radius:8px;transition:background .3s}.capture-row.just-collected{background:#e4e8d1;box-shadow:0 0 0 1px #cebc85}.capture-label{display:flex;flex-direction:column;gap:3px;font-size:10px;color:#899780;line-height:1.5}.capture-label b{font:22px var(--serif);color:#516348}.capture-rail{position:relative;height:62px;--step:13px}.capture-empty{display:flex;align-items:center;height:100%;font-size:10px;color:#b2baa4;letter-spacing:.5px}.capture-rail .captured-card{position:absolute;left:calc(var(--i)*var(--step));top:0;width:44px;height:62px;padding:3px;border-radius:4px;border-color:#d5d9c7;box-shadow:-1px 1px 4px #38442f10;transition:left .25s}.capture-rail .captured-card .corner{font-size:11px;line-height:1.05}.capture-rail .captured-card .corner:last-child{display:none}.capture-rail .captured-card .center-suit{font-size:22px;padding-top:12px}.capture-rail .captured-card.joker .corner{font-size:6px}.capture-rail .captured-card.joker .center-suit{font-size:20px}.capture-row:nth-child(2){opacity:.82}.history{margin-top:17px;font-size:10px}.round-feedback{position:absolute;left:50%;top:18px;z-index:5;transform:translate(-50%,0);display:flex;align-items:center;gap:9px;padding:9px 18px;border-radius:40px;white-space:nowrap;box-shadow:0 5px 18px #08281944;font-size:13px;font-weight:550;letter-spacing:.5px;background:#e9d5a2;color:#294232;pointer-events:none}.round-feedback b{font-size:23px;line-height:1}.feedback-beat{background:#eed4a4;color:#613e20}.feedback-pass{background:#d5ded5;color:#59675c}.feedback-collect{background:#ede3b6;color:#4b5635}.feedback-play{background:#d5e5d6;color:#32513a}.table-hit{animation:table-impact .7s ease-out}.table-hit:before{content:'';position:absolute;width:220px;height:220px;border-radius:50%;left:calc(50% - 110px);top:calc(50% - 110px);border:3px solid #e9d19b55;pointer-events:none;animation:impact-ring .65s ease-out forwards}#effects-layer{position:fixed;inset:0;pointer-events:none;z-index:40}.covered-cards{position:fixed;display:flex;gap:9px;pointer-events:none}.covered-cards .playing-card{width:88px;height:124px;box-shadow:0 5px 12px #102c2440}.flying-card{position:fixed;z-index:1;width:88px;height:124px;transform-origin:top left;box-shadow:0 10px 22px #142e282b}.toast{bottom:20px;font-size:11px;z-index:120}
@keyframes table-impact{0%{box-shadow:inset 0 0 0 2px #dfc69688,0 0 25px #c7b87533}100%{box-shadow:inset 0 0 0 1px #143b32,0 10px 25px #1e3b2912}}
@keyframes impact-ring{0%{transform:scale(.6);opacity:1}100%{transform:scale(1.8);opacity:0}}
#result-dialog{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:20px;border:0;border-radius:0;background:transparent;overflow:auto;box-shadow:none}#result-dialog[open]{display:grid;place-items:center}#result-dialog::backdrop{background:#10382ce0;backdrop-filter:blur(6px)}#result-canvas{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}.result-card{position:relative;z-index:1;max-width:430px;width:100%;border-radius:22px;padding:34px 32px 24px;background:radial-gradient(ellipse at 50% 0%,#fff5d8,#f9f5e8 65%);border:1px solid #f1daa866;text-align:center;box-shadow:0 30px 100px #00180d55;animation:result-arrive .6s cubic-bezier(.2,.85,.2,1.1)}.result-close{top:17px;right:19px}.result-symbol{position:relative;display:flex;align-items:center;justify-content:center;height:145px;margin:0 auto;font-size:106px;color:#b79a54}.winner-crown{display:block;filter:drop-shadow(0 10px 15px #c8a05144);animation:trophy-rise .8s cubic-bezier(.2,.85,.2,1.1)}.victory-spark{position:absolute;color:#d6ad42;animation:spark-bloom 1.5s ease-in-out infinite;font-family:var(--serif);font-size:29px}.spark-one{top:7px;left:25px}.spark-two{right:34px;top:40px;font-size:39px;animation-delay:.25s}.spark-three{left:53px;bottom:15px;font-size:18px;animation-delay:.55s}#result-dialog .eyebrow{justify-content:center;font-size:10px;font-weight:650;letter-spacing:3.5px;color:#a68a4b;margin:14px 0 0}#result-dialog h2{font:32px var(--serif);margin:14px 0 9px;letter-spacing:1px}#result-description{font-size:11px;line-height:1.8;margin:0;color:#90917c}.result-scores{margin:22px 0 14px;padding:17px 0;gap:46px;border-color:#e4ddc6}.result-scores b{font-size:43px;color:#76806a}.result-scores small{font-size:10px}.result-scores .winning-score b{color:#346747}.result-note{font-size:10px;margin:0 0 22px}#result-dialog .result-card>.button{width:100%;font-size:14px;border-radius:9px;height:50px}#result-dialog .result-card>.text-button{font-size:11px;margin-top:12px}#result-dialog.result-loss::backdrop{background:#1a2532e6}#result-dialog.result-loss .result-card{background:radial-gradient(ellipse at 50% 0%,#e7edf3,#d5dde6 70%);border-color:#94a4b766;color:#425567;box-shadow:0 30px 100px #050c1855}#result-dialog.result-loss .eyebrow{color:#a66566}#result-dialog.result-loss .result-symbol{font-size:100px}.fallen-crown{width:170px;height:145px;filter:drop-shadow(0 13px 8px #344c6326);animation:crown-fall 1s ease-out both}.crown-left{transform-origin:75px 105px;animation:crown-crack-left .9s .1s ease-out both}.crown-right{transform-origin:85px 105px;animation:crown-crack-right .9s .1s ease-out both}#result-dialog.result-loss .result-scores,#result-dialog.result-loss .result-note{border-color:#bbc7d2;color:#758494}#result-dialog.result-loss .result-scores b{color:#8b6870}#result-dialog.result-loss .winning-score b{color:#516985}#result-dialog.result-loss .button-primary{background:#50687c}#result-dialog.result-loss .text-button{color:#6a7e90}.draw-medal{font-size:98px;color:#8c9373}
@keyframes result-arrive{from{opacity:0;transform:translateY(20px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes trophy-rise{from{transform:translateY(35px) scale(.5) rotate(-12deg);opacity:0}to{transform:translateY(0) scale(1) rotate(0deg);opacity:1}}
@keyframes spark-bloom{0%,100%{transform:scale(.7);opacity:.6}50%{transform:scale(1.15);opacity:1}}
@keyframes crown-fall{from{transform:translateY(-25px) rotate(-10deg);opacity:0}60%{transform:translateY(5px) rotate(5deg);opacity:1}to{transform:translateY(0) rotate(0deg);opacity:1}}
@keyframes crown-crack-left{to{transform:rotate(-8deg) translateX(-5px)}}
@keyframes crown-crack-right{to{transform:rotate(10deg) translateX(5px)}}
@media(max-width:800px){.table-cards .playing-card{width:96px;height:138px}.table-cards .center-suit{font-size:48px}.table-center{min-height:207px}.table-area{min-height:338px}}
@media(max-width:600px){.playing .site-header{height:57px}.playing .brand{font-size:16px}.playing .brand-mark{width:26px;height:30px;font-size:22px}.playing .header-actions{gap:15px}.playing .header-actions .text-button{font-size:10px}.game{padding-bottom:15px}.table-area{min-height:285px;padding:15px 16px 17px;border-radius:14px}.table-top .table-tag{font-size:9px}.table-top .table-pot{font-size:9px}.opponent{height:39px;margin:7px 0 1px;gap:5px}.opponent .mini-back{height:32px;width:23px}.table-center{min-height:167px;gap:8px}.table-cards{gap:6px;min-height:104px}.table-cards .playing-card{width:72px;height:102px;padding:8px;border-radius:6px;min-width:0}.table-cards .corner{font-size:16px}.table-cards .center-suit{font-size:38px}.table-cards .joker .corner{font-size:8px}.table-cards .joker .center-suit{font-size:31px}.table-caption{font-size:10px;min-height:16px}.table-status{font-size:9px;min-height:16px}.empty-table{font-size:72px}.round-moves{max-height:26px;margin-top:4px}.round-feedback{top:13px;font-size:11px;gap:7px;padding:8px 13px}.round-feedback b{font-size:20px}.hand-panel{padding-top:7px}.hand-heading{height:16px}.hand-owner{font-size:9px}.hand-controls{gap:9px;margin-bottom:4px}.hand-controls .button{height:49px;min-width:115px;padding:10px 18px;font-size:16px;border-radius:9px}.hand-controls .button-outline{min-width:105px}.hand-controls .button-primary span{margin-left:16px}.hand-controls .button-quiet{min-width:42px;font-size:11px;padding:10px 0}.hand{min-height:120px;gap:10px;padding:13px 0 3px}.hand .playing-card{width:59px;height:89px;padding:7px}.hand .corner{font-size:14px}.hand .center-suit{font-size:31px}.selection-info{font-size:10px;min-height:17px;margin:6px 0 10px}.capture-section{padding-top:10px;gap:8px}.capture-row{grid-template-columns:54px minmax(0,1fr);gap:9px;padding:2px 0}.capture-label{font-size:8px;gap:1px}.capture-label b{font-size:20px}.capture-rail{height:43px}.capture-rail .captured-card{width:30px;height:43px;padding:2px;border-radius:3px}.capture-rail .captured-card .corner{font-size:8px}.capture-rail .captured-card .center-suit{font-size:17px;padding-top:7px}.capture-rail .captured-card.joker .corner{font-size:5px}.capture-rail .captured-card.joker .center-suit{font-size:15px}.capture-empty{font-size:8px}.history{margin-top:13px;font-size:9px;padding-top:11px}.result-card{padding:24px 22px 20px;border-radius:18px;max-width:360px}.result-symbol{height:130px;font-size:92px}#result-dialog h2{font-size:29px}.result-scores{margin:18px 0 12px;padding:15px 0;gap:36px}.result-scores b{font-size:40px}#result-dialog .eyebrow{font-size:9px}.result-note{font-size:9px}.result-card .text-button{font-size:10px}}
@media(min-width:801px) and (max-height:800px){.table-area{min-height:307px;padding-top:14px;padding-bottom:14px}.opponent{height:35px;margin-top:5px}.opponent .mini-back{height:30px;width:22px}.table-center{min-height:200px}.table-cards{min-height:142px}.table-cards .playing-card{width:98px;height:140px}.hand-panel{padding-top:6px}.hand{min-height:130px;padding-top:11px}.hand .playing-card{width:79px;height:112px}.hand-controls .button{height:48px}.capture-section{padding-top:10px;gap:6px}.capture-rail{height:54px}.capture-rail .captured-card{height:54px}.selection-info{margin:5px 0 9px}.history{margin-top:10px;padding-top:12px}}
@media(max-width:360px){.hand{gap:6px}.hand .playing-card{width:54px}.hand-controls .button{min-width:105px;padding:10px 16px}.hand-controls .button-outline{min-width:96px}.hand-controls .button-quiet{min-width:38px}.table-cards{gap:5px}.table-cards .playing-card{width:65px;height:94px}.capture-row{grid-template-columns:49px minmax(0,1fr);gap:7px}}
@media(prefers-reduced-motion:reduce){.table-hit,.table-hit:before,.result-card,.winner-crown,.victory-spark,.fallen-crown,.crown-left,.crown-right{animation:none!important}.flying-card,.captured-card{transition:none!important}}
.table-status:empty{display:none}.table-caption:empty{display:none}
@media(min-width:801px) and (max-height:800px){.playing .site-header{height:55px}.table-area{min-height:282px}.table-center{min-height:179px}.hand{min-height:120px}.capture-rail{height:46px}.capture-rail .captured-card{height:46px}.capture-section{padding-top:8px;gap:5px}}

.solo-points{max-width:760px;margin:24px auto 0;padding:14px 22px;background:#eeeede;border:1px solid #dcdcca;border-radius:12px}.points-pair{display:flex;align-items:center;justify-content:space-between;gap:20px}.points-pair>div{display:flex;align-items:center;gap:12px;font-size:12px}.points-pair b{font:24px var(--serif);white-space:nowrap}.points-divider{font-size:10px;letter-spacing:2px;color:#8b947f;white-space:nowrap}.points-dots{display:flex;gap:4px}.points-dots i{display:block;width:7px;height:7px;border-radius:50%;background:#d2d7c5}.points-dots i.filled{background:#a88a43}.solo-points p{font-size:10px;line-height:1.7;text-align:center;margin:8px 0 0;color:#89917f}.points-blocked{border-color:#d4b58b;background:#f1e8d5}.points-blocked p{color:#9d673b}.result-points{padding:13px 10px;margin:0 0 18px;border-radius:10px;background:#193c3409}.result-points b{font-size:16px}.result-points p{font-size:10px;line-height:1.7;margin:6px 0 0;color:#7e8978}.result-loss .result-points p{color:#667b90}.playing .solo-points{margin-top:12px;padding:9px 18px}.playing .solo-points p{margin-top:4px}@media(max-width:600px){.solo-points{margin-top:16px;padding:12px}.points-pair{gap:10px}.points-pair>div{gap:7px;font-size:10px}.points-pair b{font-size:21px}.points-dots{gap:3px}.points-dots i{width:5px;height:5px}.points-divider{font-size:8px;letter-spacing:1px}.solo-points p{font-size:9px}.playing .solo-points{padding:8px 12px}.result-points b{font-size:14px}}

@media(max-width:600px){.table-cards .playing-card{flex-shrink:1;min-width:0}}
