@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/assets/dm-sans-latin-ext-wght-normal-BOFOeGcA.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/assets/dm-sans-latin-wght-normal-Xz1IZZA0.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Serif Text;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dm-serif-text-latin-400-normal-B5I2PDKX.woff2)format("woff2"),url(/assets/dm-serif-text-latin-400-normal-DAhbRB_j.woff)format("woff")}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f7f5f9;--surface:#fff;--text:#2c2533;--muted:#6b6374;--plum:#593772;--tint:#f0eaf5;--line:#e2dce7;--field:#fdfcfe;--primary:#54336c;--on-primary:#fff;--guide:#faf7f1;--guide-line:#e9e0d2;--gold:#92703b;--shadow:0 2px 5px #28173806;--serif:"DM Serif Text", Georgia, serif;background:var(--bg);color:var(--text);font-family:DM Sans Variable,Helvetica Neue,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#1a161f;--surface:#251f2b;--text:#f5eef6;--muted:#bfb2c8;--plum:#d4b6ed;--tint:#382b42;--line:#46394f;--field:#29222f;--primary:#cba5e3;--on-primary:#281a30;--guide:#302a24;--guide-line:#4c4133;--gold:#e2bf7e;--shadow:none}*{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;min-width:280px;margin:0;font-size:16px;line-height:1.5}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;background:0 0;border:0;border-radius:8px;font-weight:650}button,a{touch-action:manipulation}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline-offset:3px;outline:3px solid #ae8acb}a{color:var(--plum)}svg{stroke-width:1.8px;flex-shrink:0}h1,h2,h3,p,dl,dd{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.15}h2{letter-spacing:-.035em;font-size:1.55rem}.site-header{background:var(--surface);border-bottom:1px solid var(--line)}.header-inner,main{width:min(1120px,100% - 80px);margin:0 auto}.header-inner{align-items:center;gap:48px;min-height:78px;display:flex}.brand{flex-shrink:0;align-items:center;gap:11px;display:flex}.brand img{border-radius:12px;width:43px;height:43px}.brand span{font-family:var(--serif);letter-spacing:-.045em;font-size:1.52rem;line-height:1.05;display:block}.brand small{letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-top:4px;font-size:.65rem;font-weight:700;display:block}nav{align-self:stretch;gap:8px;display:flex}nav button{color:var(--muted);border-radius:0;justify-content:center;align-items:center;gap:8px;padding:0 15px;font-size:.9rem;display:flex;position:relative}nav button[aria-current=page]{color:var(--plum)}nav button[aria-current=page]:after{content:"";background:var(--plum);border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:-1px;left:12px;right:12px}.header-actions{align-items:center;gap:12px;margin-left:auto;display:flex}.rules-button,.theme-button{min-height:44px;color:var(--muted);justify-content:center;align-items:center;gap:8px;padding:0 9px;font-size:.88rem;display:inline-flex}.nav-divider{border-left:1px solid var(--line);height:22px}main{padding-top:30px;padding-bottom:max(15px, env(safe-area-inset-bottom))}.hero{isolation:isolate;color:#fff8ef;background:linear-gradient(110deg,#342042 5%,#432951 58%,#4f305d 100%);border-radius:18px;align-items:center;min-height:218px;margin-bottom:24px;display:flex;position:relative;overflow:hidden}.hero-copy{z-index:2;width:68%;padding:28px 38px 26px;position:relative}.hero-status{letter-spacing:.16em;color:#f6d699;background:#edd2aa0c;border:1px solid #efd19545;border-radius:20px;align-items:center;gap:8px;padding:7px 10px;font-size:.66rem;font-weight:750;line-height:1;display:inline-flex}.hero-status span{background:#eac375;border-radius:50%;width:6px;height:6px}.hero h1{letter-spacing:-.045em;overflow-wrap:anywhere;margin:9px 0 5px;font-size:clamp(2.4rem,4vw,3.45rem);line-height:1.1}.hero p{color:#e0d4e5;font-size:.97rem}.hero-meta{color:#e8dced;flex-wrap:wrap;align-items:center;gap:14px;margin-top:21px;font-size:.8rem;font-weight:540;display:flex}.hero-meta span{overflow-wrap:anywhere;align-items:center;gap:7px;min-width:0;display:inline-flex}.hero-meta svg{color:#e3c18a;width:15px;height:15px}.hero-meta i{border-left:1px solid #c2a8c745;height:13px}.hero-etch{background:repeating-radial-gradient(at 65% 60%,#0000 0 10px,#cda1d51a 10.5px 11.2px,#0000 11.7px 17px);position:absolute;inset:-85% -28% -140% 32%;transform:rotate(-26deg);-webkit-mask-image:linear-gradient(90deg,#0000,#000 45%);mask-image:linear-gradient(90deg,#0000,#000 45%)}.hero:after{content:"";pointer-events:none;border-radius:inherit;border:1px solid #d9b3e323;position:absolute;inset:0}.hero-art{object-fit:contain;filter:drop-shadow(0 10px 9px #2011274a);width:33%;height:auto;max-height:113%;position:absolute;top:50%;right:2.5%;transform:translateY(-50%)rotate(3deg)}.columns{grid-template-columns:minmax(0,1.52fr) minmax(0,1fr);align-items:start;gap:22px;display:grid}.side,.stack{gap:18px;min-width:0;display:grid}.panel{background:var(--surface);border:1px solid var(--line);min-width:0;box-shadow:var(--shadow);border-radius:15px;padding:25px 27px}.panel-heading{align-items:center;gap:12px;display:flex}.icon-tile{width:36px;height:36px;color:var(--plum);background:var(--tint);border-radius:10px;flex:none;place-items:center;display:grid}.count-pill{background:var(--tint);color:var(--plum);white-space:nowrap;border-radius:18px;margin-left:auto;padding:3px 10px;font-size:.76rem;font-weight:700}.panel-intro,.dialog-intro,.rules-body p{color:var(--muted)}.panel-intro{margin-top:10px;font-size:.89rem}.field-label,.dealer-label,.group-select{font-size:.84rem;font-weight:680;display:block}.lineup-label{text-transform:uppercase;color:var(--muted);letter-spacing:.13em;align-items:center;gap:6px;margin:25px 0 11px;font-size:.67rem;display:flex}.player-list,.score-fields{gap:11px;display:grid}.player-row{grid-template-columns:40px minmax(0,1fr) 44px;align-items:center;gap:12px;display:grid}.seat-card{border:1px solid;border-radius:6px;flex-shrink:0;place-items:center;width:32px;height:41px;margin-left:2px;display:inline-grid;position:relative;transform:rotate(-4deg)}.seat-card small{font-size:8px;font-weight:750;line-height:1.15;position:absolute;top:1px;left:4px}.suit-0{color:#634576;background:#f1e9f5;border-color:#ddcfe6}.suit-1{color:#ae5866;background:#f9ebee;border-color:#eed1d9}.suit-2{color:#387362;background:#e7f2eb;border-color:#cce2d5}.suit-3{color:#967128;background:#fbf2dc;border-color:#eadcb8}.suit-4{color:#4f709d;background:#eaf0f8;border-color:#d1deec}input,select{background:var(--field);border:1px solid var(--line);border-radius:8px;width:100%;min-height:45px;padding:9px 13px;font-size:1rem}input::placeholder{color:var(--muted);opacity:1}.icon-button{width:44px;height:44px;color:var(--muted);place-items:center;display:inline-grid}.icon-button:hover,.theme-button:hover,.rules-button:hover{background:var(--tint);color:var(--plum)}.remove{color:var(--muted)}.add-player{color:var(--plum);background:var(--field);border:1px dashed #bda9c9;justify-content:center;align-items:center;gap:8px;width:100%;min-height:44px;margin-top:21px;font-size:.9rem;display:flex}.add-player:hover:enabled{background:var(--tint)}.select-wrap{display:block;position:relative}.select-wrap select{appearance:none;padding-right:35px}.select-wrap svg{pointer-events:none;width:16px;height:16px;color:var(--muted);position:absolute;top:50%;right:13px;transform:translateY(-50%)}.group-select,.dealer-label{margin:20px 0 7px}.group-select .select-wrap{margin-top:6px}.dealer-help{color:var(--muted);align-items:center;gap:7px;margin:10px 0 20px;font-size:.8rem;display:flex}.primary,.secondary,.guide-link,.text-link,.back-link{justify-content:center;align-items:center;gap:8px;min-height:44px;font-size:.92rem;display:inline-flex}.primary{background:var(--primary);color:var(--on-primary);padding:11px 18px;box-shadow:0 1px 3px #36204414}.primary:hover{filter:brightness(1.1)}.secondary{border:1px solid var(--line);background:var(--surface);color:var(--plum);padding:9px 16px}.full{width:100%}.reference{background:var(--guide);border-color:var(--guide-line)}.reference .icon-tile{color:var(--gold);background:color-mix(in srgb, var(--gold) 12%, transparent)}.reference dl{gap:9px;margin-top:16px;font-size:.86rem;display:grid}.reference dl div{justify-content:space-between;gap:12px;display:flex}.reference dt{color:var(--muted)}.reference dd{text-align:right;font-weight:650}.guide-link{min-height:44px;color:var(--gold);margin-top:14px;margin-bottom:-10px;padding:0;font-size:.81rem}.guide-link svg{width:13px}footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:10px;margin-top:28px;padding-top:10px;display:flex}.save-status,footer button,.footer-crowns{align-items:center;gap:7px;font-size:.76rem;display:inline-flex}.save-status svg{color:#62836e}footer button{min-height:44px;color:var(--muted);padding:0 4px}.footer-crowns{color:var(--gold);opacity:.58;gap:9px}.game-tools,.game-actions,.dialog-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.game-tools{margin:-3px 0 18px}.segmented{border:1px solid var(--line);background:var(--tint);border-radius:10px;gap:3px;padding:3px;display:inline-flex}.segmented button{min-height:42px;color:var(--muted);align-items:center;gap:7px;padding:5px 13px;font-size:.88rem;display:inline-flex}.segmented button.active{box-shadow:var(--shadow);background:var(--surface);color:var(--plum)}.score-fields{margin:20px 0}.score-row{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding-bottom:10px;display:flex}.score-row label,.leader-name{overflow-wrap:anywhere;flex:1;min-width:0;font-weight:600}.score-row input{text-align:center;font-variant-numeric:tabular-nums;width:74px}.zero{min-height:44px;color:var(--plum);background:var(--tint);padding:5px 12px;font-size:.82rem}.progress-strip{grid-template-columns:repeat(11,minmax(0,1fr));gap:5px;margin-top:19px;display:grid}.progress-strip span{border:1px solid var(--line);height:34px;font-family:var(--serif);color:var(--muted);border-radius:5px;place-items:center;display:grid}.progress-strip .done{background:var(--tint);color:var(--plum)}.progress-strip .current{background:var(--primary);color:var(--on-primary)}.leaderboard ol{margin:11px 0 0;padding:0;list-style:none}.leaderboard li{border-bottom:1px solid var(--line);align-items:center;gap:8px;padding:10px 0;font-size:.92rem;display:flex}.leaderboard li:last-child{border:0;padding-bottom:0}.rank{color:var(--muted);background:var(--tint);border-radius:50%;place-items:center;width:25px;height:25px;font-size:.8rem;display:grid}.rank.first{color:#765523;background:#eee1bf}.leaderboard small,.history-list small{color:var(--muted)}.game-actions{justify-content:flex-start;gap:18px;margin:16px 0 0}.game-actions button,.back-link{min-height:44px;color:var(--muted);align-items:center;gap:7px;font-size:.83rem;display:flex}.sheet-scroll{max-width:100%;margin-top:18px;position:relative;overflow-x:auto}table{border-collapse:collapse;text-align:right;width:100%;font-size:.88rem}th,td{border-bottom:1px solid var(--line);min-width:64px;padding:7px 9px}th:first-child{text-align:left;background:var(--surface);position:sticky;left:0}th:last-child,td:last-child{min-width:44px;padding:0}thead th{overflow-wrap:anywhere;font-weight:650}table small{color:var(--muted);white-space:nowrap;font-size:.72rem;font-weight:400;display:block}.winner,.empty{text-align:center}.winner{color:var(--gold);overflow-wrap:anywhere;padding:27px 0}.winner h3{color:var(--text);margin:7px 0;font-size:2.2rem}.empty{padding:44px 24px}.empty h2,.empty p{margin:12px 0}.empty p{color:var(--muted)}.history-list button,.options button,.options a{text-align:left;border:1px solid var(--line);background:var(--field);width:100%;color:var(--text);overflow-wrap:anywhere;border-radius:9px;align-items:center;gap:12px;padding:12px;font-weight:600;text-decoration:none;display:flex}.history-list,.options{gap:10px;margin-top:20px;display:grid}.history-list small{display:block}.history-icon{color:var(--gold);background:var(--guide);border-radius:9px;flex:none;place-items:center;width:40px;height:40px;display:grid}.history-score{white-space:nowrap;color:var(--plum);margin-left:auto}dialog{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:17px;width:min(470px,100vw - 28px);max-height:min(86dvh,820px);padding:0;box-shadow:0 24px 85px #190b2933}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#2015278f}.dialog-content{padding:24px}.dialog-head{justify-content:space-between;align-items:center;gap:12px;margin:-5px -5px 9px 0;display:flex}.dialog-head h2{font-size:1.85rem}.dialog-intro,.rules-body{font-size:.94rem}.dialog-actions{justify-content:flex-end;margin-top:22px}.options button[aria-pressed=true]{border-color:var(--plum);background:var(--tint)}.options span{flex:1}.share-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:var(--tint);border-radius:8px;padding:16px}.rules-body h3{margin:18px 0 6px;font-size:1.24rem}.rules-body .reference{margin:15px 0;padding:16px}.rules-body .reference h2{font-size:1.22rem}.warning,.offline,.notice,.error{border-radius:9px;padding:12px 15px;font-size:.9rem}.warning,.offline{align-items:center;gap:10px;margin-bottom:15px;display:flex}.warning,.error{color:#77391c;background:#fbe8dd}.warning button{min-height:44px;text-decoration:underline}.offline,.notice{background:var(--tint);color:var(--plum)}.error{margin:12px 0}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width>=1450px){main{padding-top:40px}.hero{min-height:238px}}@media (width<=880px){.header-inner,main{width:calc(100% - 42px)}.header-inner{gap:20px}.columns{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:15px}.panel{padding:20px}.hero-copy{width:70%;padding:25px}.hero-art{right:0}}@media (width<=680px){.header-inner,main{width:calc(100% - 32px)}.header-inner{flex-wrap:wrap;gap:0;min-height:0;padding-top:12px}.brand{gap:8px}.brand img{width:36px;height:36px}.brand span{font-size:1.32rem}.brand small{font-size:.58rem}.header-actions{order:1;gap:4px}nav{order:2;gap:3px;width:100%;height:48px;margin-top:4px}nav button{padding:0 13px}nav button:first-child{padding-left:0}nav button:first-child:after{left:0}main{padding-top:16px}.hero{border-radius:13px;min-height:180px;margin-bottom:15px}.hero-copy{width:66%;padding:17px 19px 18px}.hero p{font-size:.83rem}.hero h1{font-size:2.27rem}.hero-status{padding:5px 8px;font-size:.6rem}.hero-art{width:38%;right:-1%}.hero-meta{gap:5px 9px;margin-top:13px;font-size:.72rem}.hero-meta svg{width:13px;height:13px}.hero-meta span{gap:4px}.hero-meta i:nth-last-child(2){display:none}.hero-meta span:last-child:not(:first-child){flex-basis:100%}.columns{grid-template-columns:minmax(0,1fr)}.side,.stack{gap:15px}.panel{padding:19px}.lineup-label{margin-top:18px}.player-row{grid-template-columns:32px minmax(0,1fr) 44px;gap:9px}.player-list{gap:9px}.score-row{gap:8px}.score-row input{width:62px}.footer-crowns{gap:3px}footer{margin-top:18px}.dialog-content{padding:18px}.game-tools{margin-top:0}.game-tools .secondary{min-height:44px}}@media (width<=365px){.header-inner,main{width:calc(100% - 22px)}.rules-button span{display:none}.hero h1{font-size:2rem}.hero-copy{padding-left:14px}.progress-strip{gap:2px}.score-row .seat-card{display:none}}
