:root{color-scheme:light;--ink:#173f39;--muted:#737b70;--paper:#f5f2e9;--gold:#b89655;--line:#dfdfd3;--green:#174b41;font-family:system-ui,-apple-system,"PingFang TC","Microsoft JhengHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.app{max-width:480px;margin:auto;padding:24px 24px 20px;min-height:100svh}.masthead{display:flex;align-items:center;justify-content:space-between;margin-bottom:36px}.brand{display:flex;gap:10px;align-items:center;font-size:23px;font-weight:750;letter-spacing:3px}.brand-mark{width:39px;height:44px;border:1px solid var(--gold);border-radius:7px;display:grid;place-items:center;color:var(--gold);font-family:serif;font-size:29px;transform:rotate(-6deg)}.brand small{display:block;font-size:7px;letter-spacing:1.7px;margin-top:3px;color:var(--muted)}.prototype{font-size:10px;letter-spacing:1px;color:var(--muted);border:1px solid var(--line);border-radius:30px;padding:7px 10px}.eyebrow{font-size:11px;color:#8c7444;letter-spacing:3px;font-weight:650;margin:0 0 14px}h1{font-size:34px;line-height:1.45;font-weight:650;letter-spacing:1px;margin:0}.intro{font-size:13px;line-height:1.9;color:var(--muted);margin:15px 0 0}.hero{position:relative;min-height:300px}.table-art{position:absolute;right:-8px;bottom:18px;width:186px;height:155px}.ring{position:absolute;width:166px;height:105px;right:0;top:39px;border-radius:50%;border:1px solid #bdbb9c;transform:rotate(-19deg);background:radial-gradient(ellipse,#dfe4d2 0%,transparent 70%)}.tile{position:absolute;width:72px;height:103px;background:#fffcf2;border:1px solid #d2c3a6;box-shadow:0 9px 20px #334b3521;border-radius:8px;display:flex;align-items:center;justify-content:center;font-family:serif;font-size:47px;color:var(--green)}.tile span{position:absolute;bottom:10px;font-family:system-ui;font-size:6px;letter-spacing:1px;color:#9b875d}.tile-a{left:29px;top:16px;transform:rotate(-17deg)}.tile-b{right:18px;top:30px;transform:rotate(13deg);color:#b38c4e}.art-label{position:absolute;bottom:-10px;right:0;font-size:8px;letter-spacing:2px;color:#8a927e}.card{background:#fffdf7;border:1px solid #e6e3d8;border-radius:18px;box-shadow:0 10px 30px #384b3510}.entry{padding:25px 23px}.entry label{font-size:12px;font-weight:600;display:block;margin-bottom:10px}input{width:100%;border:1px solid var(--line);border-radius:9px;padding:13px 14px;background:#faf9f3;color:var(--ink);font-size:14px;min-width:0}input::placeholder{color:#9c9e92}input:focus{outline:2px solid #b6cbb6;outline-offset:2px}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.button{border-radius:9px;padding:14px 16px;border:1px solid transparent;font-size:13px;font-weight:650;min-height:47px}.primary{background:var(--green);color:#fff9e7;width:100%;box-shadow:0 4px 9px #173f3915}.primary span{float:right;color:#d2ba7d}.entry>.primary{margin-top:14px;text-align:left;padding-left:18px}.secondary{background:#f3efe2;color:var(--ink);border-color:#e6decb}.divider{display:flex;align-items:center;gap:12px;color:#929387;font-size:10px;margin:22px 0}.divider:before,.divider:after{content:"";height:1px;background:var(--line);flex:1}.join-row{display:flex;gap:9px}.join-row input{text-transform:uppercase;letter-spacing:2px}.join-row button{min-width:75px}.fine{font-size:10px;color:#8a8e80;line-height:1.8;text-align:center;margin:18px 0 0}footer{font-size:9px;color:#939685;display:flex;align-items:center;gap:5px;padding-top:28px;letter-spacing:.4px}footer>span:last-child{margin-left:auto}.footer-dot{height:4px;width:4px;border-radius:50%;background:#99a787}.notice{background:#ebe5d4;border:1px solid #d7c79f;padding:12px 15px;border-radius:10px;font-size:12px;line-height:1.6;margin-bottom:20px;overflow-wrap:anywhere}.room-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:22px}.room-heading h1{font-size:25px}.room-heading .eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:7px}.connection{white-space:nowrap;font-size:10px;background:#e2e9dc;border-radius:20px;padding:7px 10px}.connection.offline{background:#f0e2c9;color:#8c632c}.room-invite{padding:19px;display:flex;align-items:center;justify-content:space-between;gap:12px}.field-caption{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.room-invite strong{font-size:24px;letter-spacing:4px;font-weight:650}.room-invite button{font-size:11px;padding:11px 13px}.room-table{margin:25px 0;background:radial-gradient(ellipse at 50% 20%,#2b6151,#173e36);border-radius:100px;padding:14px;box-shadow:0 8px 18px #183c3021;border:5px solid #d5c39b}.table-line{border:1px solid #8caa7a55;border-radius:90px;text-align:center;padding:29px 10px 24px;color:#ebeedc}.mini-mark{font-family:serif;color:#b9c4a0;font-size:24px;letter-spacing:6px;opacity:.55}.table-line h2{font-size:14px;font-weight:500;margin:12px 0 7px;letter-spacing:2px}.table-line p{font-size:10px;color:#b0c2ac;margin:0 0 12px}.placeholder-tag{font-size:8px;border:1px solid #91a98a55;padding:5px 9px;border-radius:20px;color:#bfcdaf}.members-card{padding:21px}.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading h2{font-size:14px;margin:0}.section-heading>span{font-size:10px;color:var(--muted)}#members{list-style:none;padding:0;margin:10px 0 20px}#members li{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid #efede4}.avatar{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;background:#e8ecdf;color:#587057;font-size:12px}.member-name{font-size:12px;flex:1;overflow-wrap:anywhere}.you{font-size:9px;color:#939584;margin-left:5px}.member-status{font-size:10px;color:#8a8e80;white-space:nowrap}.member-status.ready{color:#457651}.member-status.away{color:#a68547}.leave{display:block;margin:20px auto 0;background:none;border:0;color:#7a8073;font-size:12px;padding:10px 18px;text-decoration:underline;text-underline-offset:4px}.room-note{text-align:center;color:#929585;font-size:10px;line-height:1.8;margin:8px 15px 0}@media(min-width:720px){body{background:radial-gradient(ellipse at top,#e2e7d8,var(--paper) 65%)}.app{margin:24px auto;border:1px solid #dedfd1;border-radius:26px;background:var(--paper);padding:28px 30px;box-shadow:0 24px 90px #25422c12;min-height:0}}@media(max-width:350px){.app{padding:20px 16px}.hero h1{font-size:29px}.table-art{right:-5px;transform:scale(.85);transform-origin:right bottom}.entry{padding:20px}.room-invite strong{font-size:21px;letter-spacing:2px}.room-heading h1{font-size:22px}}@media(prefers-reduced-motion:no-preference){.card,.room-table{animation:arrive .4s ease-out}@keyframes arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
.header-tools{display:flex;align-items:flex-end;flex-direction:column;gap:7px}#language{font:inherit;font-size:11px;max-width:112px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:#fffdf7;padding:6px 7px}.hero h1{max-width:330px}.intro{max-width:58%}.room-heading>div{min-width:0}.connection{flex-shrink:0}.room-invite>div{min-width:0}.room-invite .button{flex-shrink:0}.section-heading{gap:10px}.section-heading h2{min-width:0}.section-heading>span{flex-shrink:0}.notice{white-space:pre-line}html[lang=en] .hero{min-height:340px}html[lang=en] .hero h1{font-size:34px;line-height:1.25;max-width:300px}html[lang=en] .hero .intro{line-height:1.7;font-size:12px}html[lang=en] .eyebrow{letter-spacing:1.6px}html[lang=en] .room-heading h1{font-size:23px;line-height:1.3}html[lang=en] .room-heading .eyebrow{font-size:8px}html[lang=en] .placeholder-tag{display:inline-block;font-size:8px}html[lang=en] .room-invite strong{letter-spacing:2px}html[lang=en] .room-invite .button{font-size:10px;padding:10px}html[lang=en] .join-row button{min-width:60px}html[lang=en] .art-label{letter-spacing:1px}@media(max-width:350px){html[lang=en] .hero h1{font-size:29px}html[lang=en] .hero{min-height:325px}html[lang=en] .intro{max-width:58%;font-size:11px}html[lang=en] .room-heading{align-items:flex-start}html[lang=en] .room-heading h1{font-size:20px}html[lang=en] .connection{font-size:8px;padding:6px}html[lang=en] .room-invite{padding:15px}html[lang=en] .room-invite strong{font-size:20px}html[lang=en] footer{font-size:8px}html[lang=en] .section-heading h2{font-size:12px}html[lang=en] .member-status{font-size:9px}}
.hero,html[lang=en] .hero{min-height:0;padding-bottom:28px}.hero .intro,html[lang=en] .hero .intro{max-width:100%}.table-art{position:relative;right:auto;bottom:auto;margin:18px 0 12px auto}@media(max-width:350px){.table-art{right:auto;transform:none}html[lang=en] .hero{min-height:0}html[lang=en] .hero .intro{max-width:100%}}
/* M2 mobile card table */
.settings,.play-controls,.results{padding:18px;margin-top:18px}.settings label{display:block;font-size:11px;margin:12px 0 5px}.settings select{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;background:#faf9f3;color:var(--ink);font:inherit}.settings .button{margin-top:12px}.settings .section-heading{flex-wrap:wrap;gap:8px}.game-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:22px 0 12px;font-size:12px}#timer{margin-left:auto;font-size:23px;font-variant-numeric:tabular-nums}#draft-state{width:100%;font-size:10px;color:var(--muted)}.felt{background:radial-gradient(ellipse at top,#326b58,#173e36);border:4px solid #cbb889;border-radius:22px;color:#fff9e7;padding:15px 10px;box-shadow:0 8px 25px #173f3922}.arrange-hint{font-size:10px;line-height:1.6;margin:0 0 13px;color:#d4dfca}.lane{padding:9px 0;border-top:1px solid #ffffff20}.lane h3,.felt h2{font-size:11px;font-weight:500;margin:0 0 8px;color:#c5d4b8}.slots{display:flex;justify-content:center;gap:9px}.slot{width:63px;height:87px}.playing-card,.empty-card{width:63px;height:87px;border-radius:7px;border:1px solid #d9cdb2;background:#fffdf4;color:#263b35;font-size:20px;font-weight:700;box-shadow:0 3px 8px #0002;touch-action:manipulation;flex-shrink:0;user-select:none}.playing-card.red{color:#b34b43}.playing-card:disabled{opacity:1;cursor:default}.playing-card.selected{outline:3px solid #e9bb5b;transform:translateY(-5px)}.empty-card{border:1px dashed #cad6bc77;background:#ffffff09;color:#d1dec2;font-size:25px;box-shadow:none}.hand{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;min-height:40px;padding:12px 0}.hand .playing-card{width:51px;height:72px;font-size:17px}.hand .button{font-size:11px;min-height:34px;padding:8px}.declare-control{display:flex;align-items:center;gap:12px;font-weight:650;font-size:14px}.declare-control input{width:22px;height:22px;accent-color:#174b41}.declare-control{background:transparent!important;color:var(--ink)}.play-controls .fine{text-align:left;margin:10px 0 17px}.action-row{display:flex;gap:9px;flex-wrap:wrap}.action-row .button{flex:1;min-width:110px}.action-row .primary{width:auto}.deal-overlay{text-align:center;padding:25px;color:var(--muted);font-size:12px}.card-back{display:grid;place-items:center;width:63px;height:87px;margin:auto;background:repeating-linear-gradient(45deg,#184c41,#184c41 4px,#295e4f 4px,#295e4f 7px);border:3px solid #dfd0a9;border-radius:8px;color:#d7c38e;font:30px serif;animation:deal .65s infinite alternate}.player-result{padding:15px 0;border-bottom:1px solid var(--line)}.player-result h3{font-size:13px;margin:0 0 12px}.result-row{display:flex;align-items:center;gap:5px;margin-bottom:7px}.result-row>span{font-size:9px;flex:1}.result-row .playing-card{width:37px;height:51px;font-size:13px}.report-badge{display:inline-block;background:#ead7a7;color:#6d531e;padding:5px 10px;border-radius:20px;font-size:12px}.results h2{font-size:18px}.results p{font-size:12px;overflow-wrap:anywhere}.results .button{margin-top:14px;width:100%}.member-score{font-size:10px;color:#52705c;white-space:nowrap}#members li{gap:7px}.member-name{min-width:0}.entry>label[for=password]{margin-top:13px}#password{margin-bottom:1px}#active-settings{font-size:10px}.members-card{margin-top:18px}@keyframes deal{from{transform:translate(-35px,-3px) rotate(-10deg)}to{transform:translate(35px,3px) rotate(10deg)}}.report-effect{animation:report-glow 1.1s ease-out}@keyframes report-glow{0%{box-shadow:0 0 0 9px #dab95888}100%{box-shadow:0 0 0 0 transparent}}@media(max-width:350px){.slot,.playing-card,.empty-card{width:57px;height:80px}.slots{gap:7px}.member-status{white-space:normal;max-width:50px}.settings{padding:15px}.result-row>span{font-size:8px}}@media(prefers-reduced-motion:reduce){.card-back,.report-effect{animation:none}}
#members li{flex-wrap:wrap}.member-controls{display:flex;gap:8px;justify-content:flex-end;width:100%}.member-manage{background:none;border:1px solid #ddd9ca;color:#697365;padding:5px 9px;border-radius:6px;font-size:10px;min-height:30px}
