@import"https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap";:root{font-family:Be Vietnam Pro,system-ui,sans-serif;color:#163d33;background:#07392e;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 82% -5%,#16634f 0,transparent 48%),radial-gradient(circle at 12% 35%,#0c4b3c 0,transparent 42%),#07392e}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #ecac4b;outline-offset:3px}.topbar{height:78px;padding:0 max(5vw,24px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff24;color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.brand{display:flex;align-items:center;gap:10px;border:0;background:none;color:#fff;font-weight:800;letter-spacing:.13em;text-align:left}.brand-mark{display:grid;place-items:center;background:linear-gradient(145deg,#efc477,#cc913b);color:#124638;width:38px;height:38px;border-radius:50%;font-size:22px;box-shadow:0 3px 10px #0003}.brand small{display:block;font-size:8px;color:#c4d8cc;letter-spacing:.13em;margin-top:3px}.header-right{display:flex;align-items:center;gap:10px}.gold{color:#f6d38e;font-size:13px;font-weight:700;white-space:nowrap;padding:6px 11px;border-radius:20px;background:#ffffff12;border:1px solid #f6d38e38;transition:transform .25s ease,background .25s ease}.gold.gold-burst{transform:scale(1.1);background:#f6d38e33;box-shadow:0 0 14px #f6d38e66}.sound{background:#ffffff0e;border:1px solid #ffffff45;border-radius:20px;padding:7px 11px;color:#e2eee4;font-size:11px;transition:background .15s}.sound:hover{background:#fff2}.light{color:#fff!important}main{max-width:1320px;padding:0 30px 70px;margin:auto}.hero{min-height:332px;display:flex;align-items:center;justify-content:space-between;color:#fff;overflow:hidden}.eyebrow,.section-label{font-size:10px;font-weight:800;letter-spacing:.18em;color:#b78038}.hero .eyebrow,.room-heading .eyebrow{color:#d6b479}.hero h1,.room-heading h1{font-family:Playfair Display,Georgia,serif;font-size:clamp(48px,7vw,78px);line-height:1.02;letter-spacing:-.03em;margin:15px 0}.hero h1 em{color:#e8c284}.hero p,.room-heading p{color:#c9ded2;line-height:1.7;max-width:490px}.hero-suits{color:#bbd1c2;font-size:19px;letter-spacing:.4em;margin:20px 0}.hero-suits span{color:#dd9b83}.hero-art{position:relative;width:300px;height:250px;margin-right:9%;flex:none}.art-card{position:absolute;top:35px;width:135px;height:190px;background:#fff9ed;border-radius:11px;box-shadow:0 16px 32px #001b175c;border:5px double #d5c6aa;padding:15px;font:700 24px Georgia;color:#183f34;transition:transform .35s ease}.art-card span{display:block;text-align:center;font-size:65px;margin-top:18px}.art-card.a{left:0;transform:rotate(-17deg)}.art-card.b{left:68px;top:18px;transform:rotate(3deg);color:#b03a35}.art-card.c{left:132px;transform:rotate(19deg)}.hero-art:hover .art-card.a{transform:rotate(-21deg) translateY(-6px)}.hero-art:hover .art-card.b{transform:rotate(3deg) translateY(-10px)}.hero-art:hover .art-card.c{transform:rotate(23deg) translateY(-6px)}.panel{background:#faf8ef;border:1px solid #dedaca;border-radius:16px;box-shadow:0 16px 36px #00211a38}.entry{display:grid;grid-template-columns:1.1fr 1fr 1.3fr;gap:24px;align-items:end;padding:25px 30px}.entry h2,.section-head h2,.waiting h2,.table h2{font-family:Playfair Display,Georgia,serif;margin:7px 0;font-size:28px}.entry p,.waiting p,.section-head p,.game-card p{font-size:13px;line-height:1.65;color:#6b7b73;margin:6px 0}.entry label{display:grid;gap:8px;font-size:11px;font-weight:800;color:#3e5a4c}.entry input{border:1px solid #ccd4c8;background:#fff;border-radius:8px;padding:13px 14px;min-width:0;width:100%;color:#163d33;transition:border-color .15s,box-shadow .15s}.entry input:focus{border-color:#1c624d;box-shadow:0 0 0 3px #1c624d1a}.join{display:flex;align-items:end;gap:8px}.join label{flex:1;min-width:0}.primary,.secondary,.outline,.ghost{border-radius:8px;padding:12px 16px;font-size:12px;font-weight:800;border:1px solid transparent;transition:transform .15s,background .15s,box-shadow .15s,border-color .15s}.primary{background:linear-gradient(180deg,#e7bc74,#d49f4c);color:#15382c;box-shadow:0 3px #a97634}.primary:hover:not(:disabled){background:linear-gradient(180deg,#efc986,#dca857);transform:translateY(-1px)}.primary:active:not(:disabled){transform:translateY(1px);box-shadow:0 1px #a97634}.secondary{background:#174f40;color:#fff;white-space:nowrap}.secondary:hover:not(:disabled){background:#1f6451}.outline{border-color:#9caea0;background:transparent;color:#174b3b}.outline:hover:not(:disabled){background:#e9f0e8}.ghost{background:transparent;color:#245746}.ghost:hover:not(:disabled){background:#e9f0e8}.on-dark{border-color:#ffffff73;color:#fff}.on-dark:hover:not(:disabled){background:#ffffff1c}.games-section{padding:46px 0 0}.section-head{display:flex;justify-content:space-between;align-items:end;color:#f8f5e9;margin-bottom:20px}.section-head h2{font-size:34px}.section-head p{color:#b7d0c1}.game-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.game-card{background:#f9f7ef;border:1px solid #e7e2d3;border-radius:14px;padding:23px;display:flex;flex-direction:column;min-width:0;box-shadow:0 10px 24px #001f1826;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.game-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px #001f183d;border-color:#d6c59b}.game-top{display:flex;justify-content:space-between;align-items:center}.game-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#e1ebe2;color:#1c5b45;font-size:22px}.game-card:nth-child(2n) .game-icon{color:#b03a35;background:#f4e5dc}.game-number{font-size:10px;font-weight:800;letter-spacing:.14em;color:#9ba99e}.game-card h3{font-family:Georgia,serif;font-size:22px;margin:18px 0 7px}.game-card>p{min-height:48px}.game-actions{display:flex;gap:7px;margin-top:20px}.game-actions button{flex:1;padding:11px 8px;white-space:nowrap}.game-card details{border-top:1px solid #e3e6db;margin-top:18px;padding-top:14px;font-size:11px;color:#527261}.game-card summary{cursor:pointer;font-weight:700}.game-card details p{font-size:12px}.room-heading{display:flex;justify-content:space-between;align-items:end;color:#fff;padding:36px 0 22px}.room-heading h1{font-size:46px;margin:10px 0}.heading-actions{display:flex;gap:8px;flex-wrap:wrap}.rules-panel,.notice,.alert{padding:15px 20px;border-radius:10px;margin:0 0 16px;font-size:13px;line-height:1.6}.rules-panel{background:#dceadd;color:#164638;border:1px solid #bcd4c0}.rules-panel p{margin:6px 0}.alert{background:#fff0dc;color:#8b442c;border:1px solid #e7bd93}.notice{background:#e5f2db;color:#285739;border:1px solid #c3dfb4;overflow-wrap:anywhere;margin-top:16px}.waiting{padding:35px;display:grid;grid-template-columns:1fr 1fr;gap:50px}.room-code{font-size:34px;font-weight:800;letter-spacing:.16em;margin:22px 0;color:#225642}.invite-link{overflow-wrap:anywhere}.seats h3{margin:0 0 14px}.seats h3 span{float:right;color:#81948a;font-size:12px}.seat-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e3e7dd;padding:12px 0;font-size:13px}.seat-row b{margin-left:auto;color:#b2803a;font-size:9px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#dce9dd;color:#286049;font-weight:800;flex:none;font-size:13px}.wide{width:100%;margin-top:15px}.waiting-note{background:#eef1e8;padding:14px;border-radius:7px;font-size:12px}footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #ffffff26;color:#a9c6b4;padding:24px max(5vw,24px);font-size:10px;letter-spacing:.06em}footer span:first-child{font-weight:800;color:#dbbc84}@media(max-width:1000px){.game-grid{grid-template-columns:repeat(2,1fr)}.entry{grid-template-columns:1fr 1fr}.entry>div:first-child{grid-column:1/-1}.hero-art{margin-right:2%}}@media(max-width:600px){.topbar{height:65px;padding:0 14px}.brand{font-size:12px}.brand-mark{width:32px;height:32px}.brand small{font-size:7px}.header-right{gap:6px}.gold{font-size:11px;padding:5px 8px}.sound{font-size:10px;padding:6px 8px}.header-right .ghost{padding:7px 8px;font-size:10px}main{padding:0 14px 45px}.hero{min-height:280px;position:relative}.hero h1{font-size:50px}.hero p{font-size:12px;max-width:230px}.hero-art{transform:scale(.55);transform-origin:right center;position:absolute;right:-14px;top:5px;opacity:.65;pointer-events:none}.hero>div:first-child{position:relative;z-index:1}.entry{grid-template-columns:1fr;padding:20px;gap:15px}.entry>div:first-child{grid-column:auto}.section-head{display:block}.section-head h2{font-size:29px}.section-head p{margin-top:10px}.game-grid{grid-template-columns:1fr}.game-card{padding:20px}.game-card>p{min-height:0}.game-card h3{margin-top:14px}.game-actions{margin-top:16px}.room-heading{display:block;padding:28px 0 18px}.room-heading h1{font-size:36px}.heading-actions{margin-top:14px}.waiting{grid-template-columns:1fr;gap:28px;padding:20px}.room-code{font-size:27px}}body:has(.play-room){min-height:100vh;background:radial-gradient(ellipse at 50% 8%,#2a3d3f 0,transparent 64%),repeating-linear-gradient(113deg,#e5d6af04 0 1px,transparent 1px 5px),#141b23}.topbar.at-table{height:60px;background:#151d25df;border-color:#e7ce9c25}.play-room{--table-ink: #f6ead0;--table-muted: #b0beba;--table-gold: #efc77f;max-width:1120px;padding-bottom:40px;color:var(--table-ink)}.play-room .room-heading{min-height:76px;padding:10px 0;align-items:center}.play-room .room-heading .eyebrow{font-size:9px}.play-room .room-heading h1{margin:3px 0 0;color:var(--table-ink);font-size:clamp(24px,3.4vw,43px)}.play-room .heading-actions .outline{padding:9px 12px;color:var(--table-ink);border-color:#d5c3a45c}.table-layout{display:grid;gap:12px}.table{min-width:0;padding:14px 22px 18px;background:radial-gradient(ellipse at 50% 26%,#304543 0,#222e35 52%,#19232b);border:1px solid #c1af893f;border-radius:22px;box-shadow:0 22px 60px #070c1380,inset 0 1px #fff2c918;isolation:isolate}.table-status,.hand-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.table-status{min-height:46px;margin:0 4px 2px}.turn-status{display:flex;min-width:0;align-items:center;gap:10px}.turn-light{flex:none;width:7px;height:7px;border-radius:50%;background:#aebdb7}.your-turn .turn-light{background:var(--table-gold);box-shadow:0 0 15px 2px #efc77f7a;animation:turnGlow .58s ease-out}.table-status h2{margin:3px 0 0;color:var(--table-ink);font:700 clamp(16px,2vw,21px) / 1.2 "Be Vietnam Pro",sans-serif;overflow-wrap:anywhere}.last-move{min-width:0;color:#edf3e5;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.table-status .last-move{flex:0 1 54%;text-align:right}.last-move-text{display:block;padding:5px 8px;border:1px solid #9ecbb44d;border-radius:8px;background:#142a2b;animation:moveFeedback .28s ease-out both}.last-move.timed-out .last-move-text{color:#ffd5b1;border-color:#dc987079}.last-move small{display:block;color:#bcd0c5;font-size:.9em}@keyframes moveFeedback{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.table .section-label{color:var(--table-gold);letter-spacing:.14em}.timer{display:grid;gap:4px;min-width:68px;padding:6px 9px;border:1px solid #b9c4ba45;border-radius:9px;background:#142229;color:#e8eddf;font-size:13px;font-variant-numeric:tabular-nums;font-weight:800;text-align:right}.timer-bar{height:3px;border-radius:4px;background:#384949;overflow:hidden}.timer-bar i{display:block;height:100%;background:#79c8a7;transition:width .25s linear,background-color .25s ease}.timer.warn{color:#f8d694;border-color:#e6b05878}.timer.warn .timer-bar i{background:#e6b058}.timer.urgent{color:#ffb9a8;border-color:#ec806999}.timer.urgent .timer-bar i{background:#ec8069}.felt{position:relative;height:315px;margin:3px auto 10px;max-width:870px}.arranging .felt{height:232px}.felt.dealer-reveal{height:165px}.felt-surface,.felt-impact{position:absolute;top:22px;right:27px;bottom:21px;left:27px;border-radius:50%/49%;pointer-events:none}.felt-surface{padding:12px;background:linear-gradient(108deg,transparent 30%,#ffdb9527 49%,transparent 65%),repeating-linear-gradient(6deg,#0000 0,#0000 3px,#250f0a43 3px,#250f0a43 4px,#ffe1a522 4px,#ffe1a522 5px,#0000 5px,#0000 8px),linear-gradient(180deg,#b37b49,#6d402d 40%,#3c221b 76%,#986138);border:1px solid #d5a472;box-shadow:0 8px #261c1a,0 21px 35px #081218bf,inset 0 0 0 3px #442d25,inset 0 0 0 5px #d9ab7570,inset 0 -8px 15px #2a161799}.felt-cloth{position:relative;display:grid;place-items:center;height:100%;border:1px solid #dfa65d;border-radius:inherit;background:repeating-linear-gradient(46deg,#061c1d21 0 1px,transparent 1px 3px),repeating-linear-gradient(-44deg,#f0fbd907 0 1px,transparent 1px 3px),radial-gradient(ellipse at 50% 36%,#2f8568,#1e634e 44%,#103c36 77%,#0b2929);box-shadow:inset 0 0 0 3px #103832,inset 0 8px 25px #071a1cba}.felt-cloth:before,.felt-cloth:after{content:"";position:absolute;top:9px;right:9px;bottom:9px;left:9px;border:1px solid #dfc99862;border-radius:inherit}.felt-cloth:after{top:14px;right:14px;bottom:14px;left:14px;border-color:#dfc99822}.felt-emblem{display:grid;place-items:center;width:clamp(68px,14%,109px);aspect-ratio:1;transform:rotate(-12deg);border:3px double #e7e2a838;border-radius:50%;font:700 clamp(43px,6vw,67px) / 1 Georgia,serif;color:#f8df951d}.felt-impact{z-index:1;border:2px solid #ffdb96;box-shadow:inset 0 0 30px #ffb260a6,0 0 30px #ffb2608c;animation:feltImpact .62s ease-out both}.felt .player{position:absolute;z-index:2;display:flex;align-items:center;width:clamp(122px,19%,171px);min-width:0;gap:7px;padding:6px 8px;border:1px solid #cfc3a261;border-radius:11px;background:linear-gradient(145deg,#30433f,#17252c 76%);color:#f8eed9;box-shadow:0 6px 15px #0b151bab;transition:border-color .22s,box-shadow .22s}.seat-top,.seat-self{left:50%;translate:-50% 0}.seat-top{top:1px}.seat-self{bottom:0}.seat-left{left:0;top:42%}.seat-right{right:0;top:42%}.felt .player .avatar{flex:none;width:29px;height:29px;background:#253e3b;color:#ffe8b6;border:1px solid #cfbf8d55}.felt .player.active{border-color:#ffdb96;box-shadow:0 0 0 2px #eab76646,0 0 25px #ffb96838,0 7px 18px #11221cbf}.seat-timer{--time-color: #a9efcc;position:relative;flex:none;display:grid;place-items:center;width:33px;aspect-ratio:1;border-radius:50%;background:#112629;color:var(--time-color);font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}.seat-timer.warn{--time-color: #ffe09e}.seat-timer.urgent{--time-color: #ffb49f}.seat-timer svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;fill:none;stroke-width:2;transform:rotate(-90deg)}.seat-timer-track{stroke:#3a524f}.seat-timer-progress{stroke:currentColor;stroke-linecap:round}.felt .player.ready{border-color:#76ba9e85}.player-info{min-width:0;flex:1}.player strong,.player small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.2}.player strong{font-size:11px}.player small{font-size:10px;color:#bfd0c8;margin-top:3px}.mini-fan{display:flex;flex:none;align-items:center;transform:rotate(-8deg)}.mini-fan .card-back.mini+.card-back.mini{margin-left:-9px}.felt .center-play{position:absolute;top:55px;right:20%;bottom:55px;left:20%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:var(--table-ink)}.dealer-reveal .center-play{inset-block:13px}.felt .center-play p{margin:4px 0 0;color:#e4eee2;font-size:12px;overflow-wrap:anywhere}.felt .center-play p strong{color:var(--table-ink)}.open-round-hint,.special-pill{padding:8px 12px;background:#102d2cbb;border:1px solid #d8c28e56;border-radius:9px}.special-pill{display:inline-block;padding:4px 8px;color:#ffe1a3}.table-callout{z-index:3;position:absolute;left:50%;bottom:44px;translate:-50% 0;display:flex;align-items:center;gap:6px;width:max-content;max-width:calc(100% - 26px);padding:6px 11px;border-radius:999px;background:#1a302f;border:1px solid #d9d8a85e;box-shadow:0 4px 12px #0a211bb3;color:#ebf2e5;font-size:11px;font-weight:700;overflow-wrap:anywhere;pointer-events:none;animation:calloutPop 2.38s ease both}.table-callout.gold,.table-callout.chop{color:#302217;background:#ffe0a3;border-color:#ffecca}.table-callout.chop{background:#ffc9a5;border-color:#ffd9bd}.cards{display:flex;flex-wrap:wrap;gap:6px}.center-play .cards{justify-content:center;margin:7px 0 2px}.center-cards .card{animation:playDrop .36s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--i, 0) * 19ms)}.center-cards.from-left{--played-x: -32px;--played-y: 2px}.center-cards.from-right{--played-x: 32px;--played-y: 2px}.center-cards.from-self{--played-y: 26px}.card{position:relative;flex:none;width:59px;height:81px;padding:0;color:#1d2935;border:1px solid #d2c6ad;border-radius:8px;background:linear-gradient(154deg,#fffef9 16%,#f0e6d3);box-shadow:inset 0 0 0 1px #ffffffd9,0 3px 7px #0f151d7a;transition:translate .18s ease,box-shadow .18s ease,border-color .18s ease;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.card:after{content:"";position:absolute;top:3px;right:3px;bottom:3px;left:3px;border-radius:5px;border:1px solid #99814c30;pointer-events:none}.card.royal{background:radial-gradient(circle at 50% 52%,#d9b46730 0,#d9b46730 24%,#fffaf000 26%),linear-gradient(154deg,#fffbef 30%,#f2dfb7)}.card-corner{position:absolute;display:grid;justify-items:center;gap:0;min-width:12px;font-family:Georgia,serif;font-size:14px;font-weight:800;line-height:.86}.card-corner span+span{font-size:.78em}.card-corner.top{top:6px;left:5px}.card-corner.bottom{right:5px;bottom:6px;transform:rotate(180deg)}.card-pip{position:absolute;inset:50% 0 auto;transform:translateY(-50%);text-align:center;font:700 34px/1 Georgia,serif}.card.red{color:#a82635}@media(hover:hover){.card:not(:disabled):hover{translate:0 -4px}}.card.selected{translate:0 -11px;border-color:#915d2d;box-shadow:0 0 0 2px #ffe19c,0 6px 17px #d69a6370}.card.small,.card-back.small,.card-slot{width:44px;height:60px}.card.small{border-radius:6px}.card.small .card-corner{font-size:11px}.card.small .card-corner.top{top:5px;left:3px}.card.small .card-corner.bottom{right:3px;bottom:5px}.card.small .card-pip{font-size:25px}.card:disabled{opacity:1;cursor:default}.card-back{position:relative;flex:none;display:grid;place-items:center;width:58px;height:80px;border:2px solid #fae7c0;border-radius:6px;background:repeating-linear-gradient(45deg,#edca7c23 0 1px,transparent 1px 5px),repeating-linear-gradient(-45deg,#edca7c23 0 1px,transparent 1px 5px),radial-gradient(ellipse,#713940,#392834);box-shadow:0 4px 7px #121b2290;color:#f1d597;font-family:Georgia,serif}.card-back:before{content:"";position:absolute;top:2px;right:2px;bottom:2px;left:2px;border:1px solid #ebcc9077;border-radius:3px}.card-back>span{z-index:1;border-radius:50%;padding:1px 5px;background:#4e2d35;border:1px solid #ebcc9077;font-size:15px}.card-back.mini{width:13px;height:18px;border-width:1px;border-radius:2px}.card-back.mini:before,.card-back.mini>span{display:none}.dealer-fan .card-back{height:49px;width:33px;margin-inline:-5px;transform:rotate(-8deg)}.dealer-fan .card-back:nth-child(n+4){transform:rotate(8deg)}.hand-area{position:relative;padding:13px 15px 14px;border:1px solid #d0c09939;border-radius:14px;background:linear-gradient(155deg,#23363a,#192830);box-shadow:inset 0 1px #ecdcad13}.hand-heading{min-height:30px}.hand-meta{display:flex;gap:9px;align-items:center;color:var(--table-muted);font-size:11px}.hand-value{margin-top:4px}.chip-toggle{padding:5px 8px;border:1px solid #bea57c65;border-radius:7px;background:#14242a;color:#f2e3c4;font-size:10px;font-weight:700}.chip-toggle:hover{border-color:#efc77f}.help{color:var(--table-muted);font-size:11px;line-height:1.5;margin:4px 0}.hand{justify-content:center;row-gap:13px;padding:13px 0 5px}.hand .card{animation:deal .36s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--i, 0) * 25ms)}.hand:empty{display:none}.submitted-banner,.broken-warning{margin-top:8px;padding:9px 12px;border-radius:8px;color:#c9efda;background:#1e4238;border:1px solid #81be9b78;font-size:12px;font-weight:700}.broken-warning{color:#ffdfb6;background:#45372f;border-color:#e9b7787a}.selection-preview{display:flex;width:fit-content;align-items:center;flex-wrap:wrap;gap:5px;padding:2px 5px 2px 8px;margin:7px auto 0;border:1px solid #deb58175;border-radius:8px;color:#ffddae;background:#41342a;font-size:11px}.selection-preview.ok{color:#d1f1d8;background:#234b3e;border-color:#8fcba28b}.selection-preview .ghost{padding:5px 7px;font-size:10px}.xi-badge{display:inline-block;padding:4px 8px;border-radius:999px;font-size:13px;font-weight:800}.xi-badge.great{background:#f8d88a;color:#27271d}.xi-badge.ready,.score-badge.win{background:#254a42;color:#d6f2dd}.xi-badge.low{background:#493b2d;color:#ffdfad}.xi-badge.bust,.score-badge.lose{background:#532f35;color:#ffd3c8}.controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:10px}.table .primary{background:linear-gradient(155deg,#ffe5a6,#daac62);color:#24251f;box-shadow:0 3px 10px #0e171e66}.table .primary:hover:not(:disabled){background:#ffe4ac;color:#241e17}.table .outline,.table .ghost{color:#f1e5d1}.table .outline{background:#1b292f;border-color:#d5c6a568}.table .outline:hover:not(:disabled),.table .ghost:hover:not(:disabled){background:#43534c;color:#fff3dc}.chi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:7px}.table:has(.binh) .chi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chi{display:grid;justify-items:center;gap:7px;min-width:0;padding:8px;background:#15242c;border:1px solid #b6c5b94b;border-radius:9px;transition:border-color .16s,background .16s}.chi.can-drop{cursor:pointer;border-color:#f4ca80;background:#343b32}.chi.full{border-color:#86bd9d87}.chi>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:6px;width:100%;font-size:11px}.chi>div:first-child span{color:#c4d0c4;text-align:right}.chi-cards{justify-content:center}.chi-cards .card{animation:chiPlace .22s ease-out}.chi-cards .card-slot{display:grid;flex:none;place-items:center;border:1px dashed #c6ba965e;border-radius:6px;background:#d4ceaa0a;color:#c7bd9a85}.chi button.outline{padding:6px 8px;font-size:10px}.table-history{min-width:0;padding:9px 12px;border:1px solid #cfbc923e;border-radius:10px;background:#1c2830;color:#c5d0c9;font-size:12px}.table-history summary{display:flex;align-items:center;gap:8px;cursor:pointer;color:#efe6d4;font-weight:700}.table-history summary:before{content:"▸";color:var(--table-gold)}.table-history[open] summary:before{content:"▾"}.history-latest{min-width:0;overflow:hidden;color:#bac8c0;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.table-history[open] .history-latest{display:none}.table-history ol{padding-left:23px}.table-history li+li{margin-top:4px}.result{padding-top:3px;animation:reveal .35s ease}.result-title{position:relative;display:flex;align-items:center;gap:12px;min-height:90px;padding:13px 15px;overflow:hidden;border:1px solid #ccb68666;border-radius:12px;background:radial-gradient(ellipse at 3% 50%,#3e4846,#263239 75%)}.result-title.win{border-color:#ecc67d99;background:radial-gradient(ellipse at 2% 50%,#6a5536,#343a32 65%)}.result-trophy{display:grid;place-items:center;flex:none;width:45px;height:45px;border:1px solid #d5b7777d;border-radius:50%;background:#9c783538;color:#ffe3a6;font:700 28px/1 Georgia,serif}.result-title h2{margin:3px 0;color:var(--table-ink);font:700 clamp(21px,3vw,31px) / 1.2 "Playfair Display",Georgia,serif}.result-title p,.result-row p{margin:4px 0;color:#c9d4cb;font-size:12px}.gold-earned{display:inline-block;color:#ffdc98;font-weight:800}.confetti{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.confetti i{position:absolute;top:-8px;left:var(--left);width:5px;height:9px;border-radius:1px;opacity:0;background:#f7d184;animation:confettiFall 1.25s var(--delay) ease-out forwards}.confetti i:nth-child(1){--left: 13%;--delay: .1s}.confetti i:nth-child(2){--left: 31%;--delay: .25s}.confetti i:nth-child(3){--left: 47%;--delay: .18s}.confetti i:nth-child(4){--left: 61%;--delay: .07s}.confetti i:nth-child(5){--left: 78%;--delay: .3s}.confetti i:nth-child(6){--left: 91%;--delay: .14s}.confetti i:nth-child(2n){background:#8bcbb2}.result-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:7px;padding:10px;border-bottom:1px solid #cad2be3b}.result-row.me{margin-top:7px;border-radius:8px;background:#3b4e493f}.score-badge{padding:5px 8px;border-radius:999px;font-size:11px;white-space:nowrap}.score-badge.draw{background:#3e4c4c;color:#e2e8de}.score-badge small{font-size:9px}.result-chis{display:flex;gap:10px;flex-wrap:wrap}.result-chis small{display:block;margin:7px 0 3px;color:#d1dbd0;font-size:11px;font-weight:600}.dealer-result{margin-top:9px;padding:9px 11px;border:1px solid #d1b98b54;border-radius:9px;background:#1d2a30}.result>.primary{margin-top:12px}.wait-host-note{color:#c7d3c9;font-size:12px}.result .card,.dealer-reveal .card{animation:turnover .42s ease both;animation-delay:calc(var(--i, 0) * 43ms)}@keyframes deal{0%{opacity:0;transform:translate(-15px,-17px) rotate(-8deg) scale(.93)}to{opacity:1;transform:none}}@keyframes playDrop{0%{opacity:0;transform:translate(var(--played-x, 0),var(--played-y, -23px)) rotate(5deg) scale(1.05)}to{opacity:1;transform:none}}@keyframes reveal{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes turnover{0%{opacity:0;transform:perspective(250px) rotateY(82deg)}to{opacity:1;transform:none}}@keyframes calloutPop{0%{opacity:0;transform:translateY(4px)}12%,83%{opacity:1;transform:none}to{opacity:0}}@keyframes turnGlow{35%{box-shadow:0 0 16px 5px #efc77fba}}@keyframes chiPlace{0%{opacity:.45;transform:translateY(-5px) scale(.93)}to{opacity:1;transform:none}}@keyframes feltImpact{0%,to{opacity:0}20%{opacity:1}}@keyframes confettiFall{8%{opacity:1}to{opacity:0;transform:translate(20px,90px) rotate(225deg)}}@media(max-width:800px){.play-room{padding-inline:14px}.table{padding-inline:12px}.hand .card{width:min(53px,calc((100% - 36px) / 7));height:auto;aspect-ratio:.71}.hand-area .chi-cards{gap:3px}.chi-cards .card,.chi-cards .card-slot{width:34px;height:48px}}@media(max-width:600px){.topbar.at-table{height:50px}.at-table .brand small{display:none}.play-room{padding-inline:8px}.play-room .room-heading{display:flex;min-height:59px;gap:5px}.play-room .room-heading h1{font-size:clamp(20px,6vw,30px)}.play-room .heading-actions{margin-top:0;gap:3px;flex-wrap:wrap;justify-content:flex-end}.play-room .heading-actions .outline{padding:7px;font-size:10px}.table{padding:7px 7px 9px;border-radius:13px}.table-status{margin-inline:3px}.table-status h2{font-size:15px}.last-move{font-size:10px}.last-move-text{padding:4px 6px}.felt{height:231px;margin:4px 0 8px}.arranging .felt{height:150px}.felt.dealer-reveal{height:121px}.felt-surface,.felt-impact{top:21px;right:2px;bottom:21px;left:2px}.felt-surface{padding:8px}.felt-cloth:before{top:6px;right:6px;bottom:6px;left:6px}.felt-cloth:after{top:9px;right:9px;bottom:9px;left:9px}.felt .player{gap:4px;width:min(30%,112px);padding:4px 5px;border-radius:7px}.felt .player .avatar{width:19px;height:19px;font-size:9px}.seat-timer{width:24px;font-size:10px}.player strong{font-size:9px}.player small{font-size:8px;margin-top:2px}.seat-left,.seat-right{top:20%}.arranging .seat-left,.arranging .seat-right{top:23%}.mini-fan .card-back.mini{width:8px;height:12px}.mini-fan .card-back.mini+.card-back.mini{margin-left:-5px}.felt .center-play{top:68px;right:12%;bottom:54px;left:12%}.arranging .center-play{top:52px;right:13%;bottom:32px;left:13%}.dealer-reveal .center-play{top:15px;right:10%;bottom:15px;left:10%}.felt .center-play p{font-size:10px}.felt .section-label{font-size:9px}.center-play .cards{gap:4px;margin-top:4px}.center-cards .card,.center-cards .card-back.small{width:36px;height:49px}.center-cards:has(.card:nth-child(7)) .card+.card{margin-left:-15px}.center-cards:has(.card:nth-child(10)) .card{height:42px}.center-cards:has(.card:nth-child(10)) .card+.card{margin-left:-22px}.center-cards:has(.card:nth-child(10)) .card-corner.bottom{display:none}.center-cards:has(.card:nth-child(10)) .card-pip{font-size:16px;inset:59% auto auto 4px}.dealer-fan .card-back.small{width:24px;height:32px}.dealer-fan .card-back span{font-size:11px;padding-inline:3px}.table-callout{bottom:36px;font-size:10px;padding:4px 8px}.hand-area{padding:7px 7px 9px;border-radius:9px}.hand{column-gap:4px;row-gap:9px}.hand .card{width:min(48px,calc((100% - 24px) / 7))}.hand .card-pip{font-size:25px}.hand .card-corner{font-size:11px}.hand .card-corner.top{left:3px;top:4px}.hand .card-corner.bottom{right:3px;bottom:4px}.card.selected{translate:0 -6px}.controls .primary,.controls .outline,.controls .ghost{padding:8px 10px;font-size:11px;min-height:36px}.controls>.help{flex-basis:100%;text-align:center}.chi-grid,.table:has(.binh) .chi-grid{grid-template-columns:1fr;gap:4px}.chi{grid-template-columns:minmax(52px,.8fr) auto minmax(56px,.8fr);align-items:center;gap:4px;padding:4px 5px}.chi>div:first-child{display:grid;gap:2px;font-size:10px}.chi>div:first-child span{text-align:left}.chi-cards .card,.chi-cards .card-slot{width:26px;height:36px}.chi-cards .card-pip{font-size:16px}.chi-cards .card-corner{font-size:9px;min-width:8px}.chi-cards .card-corner.top{top:4px;left:2px}.chi-cards .card-corner.bottom{display:none}.chi button.outline{min-height:36px;padding:4px}.result-row{grid-template-columns:minmax(0,1fr)}.score-badge{grid-row:1;justify-self:start}}@media(prefers-reduced-motion:reduce){.felt-impact,.confetti{display:none}*,*:before,*:after{animation-delay:0s!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.table-callout{animation:none}}
