:root{color:#f7f3e8;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:radial-gradient(circle at 50% 18%,#ffffff14,#0000 28%),radial-gradient(circle at 18% 86%,#ce9a3724,#0000 30%),linear-gradient(145deg,#123a2e 0%,#0d2c24 52%,#071c18 100%);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#071c18;min-width:320px;min-height:100dvh;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed;opacity:.45}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{place-items:stretch stretch;width:100%;min-height:100dvh;display:grid}.setup-stage{align-content:start;gap:24px;width:100%;min-height:100dvh;padding:22px 18px 28px;display:grid;position:relative}.game-stage{align-content:start;gap:20px;width:100%;min-height:100dvh;padding:22px 18px 28px;display:grid}.setup-heading{min-height:168px;padding-top:30px;position:relative}.setup-heading .eyebrow,.setup-heading h1{z-index:2;position:relative}.eyebrow{color:#f7f3e8ad;letter-spacing:0;text-transform:uppercase;margin:0 0 8px;font-size:.76rem;font-weight:800}h1,h2,p{margin-top:0}h1{color:#fff7df;text-shadow:0 2px #071c1880,0 12px 32px #0000005c;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(4rem,23vw,6.7rem);font-weight:500;line-height:.82}h2{color:#fff7df;margin-bottom:0;font-size:1rem}.card-fan{z-index:1;opacity:.78;pointer-events:none;width:148px;height:116px;position:absolute;top:0;right:-6px}.play-card{color:#101816;transform-origin:50% 88%;background:#fffaf0;border:2px solid #081c1894;border-radius:6px;flex-direction:column;justify-content:space-between;width:49px;height:72px;padding:5px;display:flex;position:absolute;top:20px;left:58px;box-shadow:inset 0 0 0 3px #e7e0d2,inset 0 0 0 4px #081c1838,0 9px 18px #00000038}.play-card .rank{font-size:.78rem;font-weight:900;line-height:1}.play-card small{color:#101816b8;letter-spacing:0;text-align:center;text-transform:uppercase;font-size:.34rem;font-weight:900}.suit-pips{place-items:center;gap:2px;display:grid}.suit-pips i{width:16px;height:12px;display:block;position:relative}.eichel .suit-pips i{background:#7b4a19;border:1px solid #203a24;border-radius:50% 50% 45% 45%}.eichel .suit-pips i:before{content:"";background:#1f8c45;border-radius:5px;width:12px;height:5px;position:absolute;top:-3px;left:2px}.laab .suit-pips i{background:#2fad42;border:1px solid #196d2b;border-radius:100% 0;width:18px;height:14px;transform:rotate(-35deg)}.herz .suit-pips i{background:#c71924;width:15px;height:15px;transform:rotate(-45deg)}.herz .suit-pips i:before,.herz .suit-pips i:after{content:"";background:#c71924;border-radius:50%;width:15px;height:15px;position:absolute}.herz .suit-pips i:before{top:-7px;left:0}.herz .suit-pips i:after{top:0;left:7px}.schell .suit-pips i{background:linear-gradient(#d81e25 0 28%,#0000 28% 72%,#168b3a 72%),#e2b327;border:1px solid #9b4b16;border-radius:50%;width:16px;height:16px}.play-card.eichel{transform:translate(-58px)rotate(-20deg)}.play-card.laab{transform:translate(-24px)rotate(-8deg)}.play-card.herz{transform:translate(10px)rotate(7deg)}.play-card.schell{transform:translate(44px)rotate(20deg)}.setup-form{gap:28px;display:grid}.field-group{border:0;min-width:0;margin:0;padding:0}legend{color:#fff7df;justify-content:space-between;align-items:baseline;width:100%;margin-bottom:12px;padding:0;font-size:1.08rem;font-weight:850;display:flex}legend small{color:#f7f3e894;font-size:.8rem}.player-list{gap:10px;display:grid}.player-row{display:block;position:relative}input[type=text],input[type=number]{color:#101816;background:#fffaf0f2;border:2px solid #fff7df2e;border-radius:7px;outline:0;width:100%;min-height:48px;padding:10px 14px;box-shadow:0 8px 18px #00000029}input::placeholder{color:#67736e}input:focus{border-color:#d69e2e;box-shadow:0 8px 18px #00000029,0 0 0 3px #d69e2e3d}.icon-button,.secondary-button{color:#fff7df;background:#fff7df1f;border:1px solid #fff7df33;border-radius:7px;place-items:center;display:grid}.icon-button{color:#fff7dfdb;width:42px;height:42px;font-size:1rem;font-weight:900;position:absolute;top:50%;right:-54px;transform:translateY(-50%)}.secondary-button{width:48px;height:48px;margin:12px auto 0;font-size:1.6rem;font-weight:800;line-height:1}.primary-button{color:#10231f;background:#fff7df;border-radius:7px;width:100%;min-height:58px;padding:0 18px;font-size:1.16rem;font-weight:900;box-shadow:0 16px 34px #00000047}.point-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.point-options label{position:relative}.point-options input{opacity:0;position:absolute}.point-options span{color:#fff7df;background:#fff7df1a;border:1px solid #fff7df33;border-radius:7px;place-items:center;min-height:46px;padding:0 8px;font-weight:850;display:grid}.point-options input:checked+span{color:#10231f;background:#d69e2e;border-color:#f3c96f}.custom-points{grid-template-columns:74px minmax(0,1fr);align-items:center;gap:10px;margin-top:12px;display:grid}.custom-points span{color:#f7f3e8bd;font-weight:750}.form-footer{gap:12px;display:grid}.status-text{color:#f3b0a7;text-align:center;min-height:21px;margin:0;font-size:.9rem;font-weight:750}.status-text.ready{color:#bce7d7}.game-preview{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#04110f47;border:1px solid #fff7df24;border-radius:7px;gap:14px;margin-top:2px;padding:14px;display:grid}.game-preview .eyebrow{margin-bottom:3px;font-size:.68rem}.game-preview.saved{outline:3px solid #d69e2e33}.score-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.score-list li{color:#fff7df;background:#fff7df1a;border-radius:7px;justify-content:space-between;align-items:center;min-height:38px;padding:0 10px;display:flex}.score-list strong{color:#f3c96f;font-size:1.05rem}.game-preview .secondary-button{justify-self:start;width:auto;height:40px;margin:0;padding:0 12px;font-size:.88rem}.game-header{gap:18px;display:grid}.game-header-actions{flex-wrap:wrap;gap:8px;display:flex}.undo-button{color:#fff7dfb8;background:#fff7df12;border:1px solid #fff7df26;border-radius:7px;min-height:38px;padding:0 12px;font-size:.88rem;font-weight:800}.game-header h1{font-size:clamp(3.7rem,21vw,5.8rem)}.dealer-badge{color:#f3c96f;background:#d69e2e26;border:1px solid #d69e2e59;border-radius:20px;align-items:center;gap:6px;margin:8px 0 0;padding:4px 10px;font-size:.84rem;font-weight:800;display:inline-flex}.dealer-label{color:#f3c96f9e;text-transform:uppercase;letter-spacing:.03em;font-size:.7rem;font-weight:700}.back-button{color:#fff7df;background:#fff7df1a;border:1px solid #fff7df33;border-radius:7px;width:max-content;min-height:38px;padding:0 12px;font-size:.88rem;font-weight:800}.round-table-wrap{background:#04110f38;border:1px solid #fff7df24;border-radius:7px;padding:10px;overflow-x:auto}.round-table{border-collapse:collapse;color:#fff7df;width:100%;min-width:330px}.round-table th,.round-table td{text-align:center;vertical-align:top;border-bottom:1px solid #fff7df2e;border-right:1px solid #fff7df38;min-width:68px;padding:9px 8px}.round-table th:first-child,.round-table td:first-child{color:#f7f3e8bd;min-width:54px;font-weight:850}.round-table th:last-child,.round-table td:last-child{border-right:0}.round-table tbody tr:last-child td{border-bottom:0}.round-table th{text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;max-width:82px;font-size:.72rem;font-weight:850;overflow:hidden}.round-table strong{color:#fff7df;font-size:1.55rem;line-height:1;display:block}.round-table small{color:#f7f3e89e;margin-top:4px;font-size:.78rem;font-weight:850;display:block}.round-table small.positive{color:#f3b0a7}.round-table small.negative{color:#70d69f}@keyframes row-flash{0%{background:#70d69f00}25%{background:#70d69f24}to{background:#70d69f00}}@keyframes cell-win-pulse{0%{box-shadow:inset 0 0 #70d69f00}30%{box-shadow:inset 0 0 0 2px #70d69fb3}to{box-shadow:inset 0 0 #70d69f00}}.round-table tr.round-new td{animation:2s ease-out forwards row-flash}.round-table td.cell-winner{animation:2s ease-out forwards cell-win-pulse}.round-table td.cell-winner strong{color:#70d69f}.score-current-row td{background:#d69e2e14;border-bottom:2px solid #d69e2e47}.score-current-cell{cursor:pointer;transition:background .15s}.score-current-cell:hover{background:#d69e2e24}.score-current-label{color:#f3c96fb3;text-transform:uppercase;letter-spacing:.04em;font-size:.68rem;font-weight:900;display:block}.score-edit-input{width:100%;min-height:unset;color:#101816;text-align:center;background:#fffaf0f2;border:2px solid #d69e2e;border-radius:5px;height:36px;padding:4px 6px;font-size:1.1rem;font-weight:900;box-shadow:0 0 0 3px #d69e2e47}.round-form{gap:18px;display:grid}.win-overlay{z-index:200;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#05120fd1;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.win-enter-active{animation:.35s ease-out overlay-in}.win-leave-active{animation:.25s ease-in reverse overlay-in}@keyframes overlay-in{0%{opacity:0}to{opacity:1}}.win-card{text-align:center;background:linear-gradient(160deg,#16412f 0%,#0d2c24 100%);border:1px solid #fff7df38;border-radius:18px;gap:10px;width:min(100%,420px);padding:48px 32px 36px;animation:.55s cubic-bezier(.34,1.56,.64,1) 50ms both card-pop;display:grid;position:relative;overflow:hidden;box-shadow:0 0 0 1px #d69e2e2e,0 40px 90px #0000008c}@keyframes card-pop{0%{opacity:0;transform:scale(.55)}to{opacity:1;transform:scale(1)}}.win-burst{pointer-events:none;background:radial-gradient(circle at 50% 42%,#d69e2e38,#0000 58%);animation:2.4s ease-in-out .3s infinite alternate burst-pulse;position:absolute;inset:-40%}@keyframes burst-pulse{0%{opacity:.5;transform:scale(.9)}to{opacity:1;transform:scale(1.08)}}.win-eyebrow{color:#f3c96f;letter-spacing:.14em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:900;animation:.4s ease-out .35s both rise-in}.win-name{color:#fff7df;text-shadow:0 2px #071c1880,0 0 48px #d69e2e61;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(2.6rem,14vw,4.2rem);font-weight:500;line-height:1;animation:.45s ease-out .5s both rise-in}.win-sub{color:#f7f3e885;margin:0;font-size:.88rem;animation:.4s ease-out .62s both rise-in}.win-chart{z-index:1;background:#fff7df1a;border:1px solid #fff7df2e;border-radius:7px;margin-top:10px;padding:0;animation:.4s ease-out .7s both rise-in;position:relative;overflow:hidden}.win-chart summary{color:#fff7df;place-items:center;min-height:42px;font-size:.9rem;font-weight:900;list-style:none;display:grid}.win-chart summary::-webkit-details-marker{display:none}.win-chart summary:after{content:"+";color:#f3c96f;margin-left:8px}.win-chart[open] summary:after{content:"-"}.chart-wrap{padding:0 10px 12px}.chart-svg{width:100%;height:auto;display:block}.chart-grid{stroke:#fff7df1a;stroke-width:1px}.chart-line{stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round}.chart-axis-label{fill:#f7f3e873;font-family:inherit;font-size:10px}.chart-legend{flex-wrap:wrap;justify-content:center;gap:8px 12px;margin-top:10px;display:flex}.chart-legend-item{color:#f7f3e8d1;align-items:center;gap:6px;font-size:.78rem;font-weight:750;display:flex}.chart-legend-item i{border-radius:2px;width:14px;height:3px;display:block}@keyframes rise-in{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}.win-btn{margin-top:14px;animation:.4s ease-out .78s both rise-in}.win-confetti{pointer-events:none;position:absolute;inset:0}.win-confetti i{top:-12px;left:calc((var(--i) - 1) / 23 * 100%);border-radius:calc(var(--i) * 1px);background:hsl(calc(var(--i) * 15deg), 78%, 64%);width:7px;height:7px;animation:confetti-fall calc(1.4s + (var(--i) * 80ms)) ease-in calc(var(--i) * 40ms) both;display:block;position:absolute}@keyframes confetti-fall{0%{opacity:1;transform:translateY(0)rotate(0)scale(1)}80%{opacity:1}to{transform:translateY(520px) rotate(calc(var(--i) * 22deg)) scale(.4);opacity:0}}.round-list{gap:14px;display:grid}.round-player{background:#04110f3d;border:1px solid #fff7df24;border-radius:7px;gap:10px;padding:12px;display:grid}.round-player-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.round-player h2{color:#fff7df;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:1.05rem;overflow:hidden}.round-player-head strong{color:#fff7dfb8;font-size:1.1rem}.round-player-head strong.positive{color:#f3b0a7}.round-player-head strong.negative{color:#70d69f}.round-controls{grid-template-columns:minmax(96px,1fr) 42px 58px 42px;align-items:center;gap:8px;display:grid}.sat-out-button,.step-button{color:#fff7df;background:#fff7df1a;border:1px solid #fff7df2e;border-radius:7px;min-height:42px;font-weight:850}.sat-out-button{padding:0 10px;font-size:.82rem}.sat-out-button.active{color:#10231f;background:#fff7df;border-color:#fff7df}.step-button{font-size:1.45rem;line-height:1}.round-delta{color:#f7f3e8ad;text-align:center;font-size:1.2rem;font-weight:900}.round-delta.positive{color:#f3b0a7}.round-delta.negative{color:#70d69f}@media (width>=760px){.app-shell{place-items:center;padding:42px}.setup-stage,.game-stage{width:min(100%,520px);min-height:0;padding:0}.setup-heading{min-height:205px}.card-fan{width:184px;height:136px;right:-34px}.play-card{width:58px;height:84px}.score-list{grid-template-columns:repeat(3,minmax(0,1fr))}.round-table th,.round-table td{min-width:82px}}html,body,#app{background:#071c18;width:100%;margin:0;overflow-x:hidden}.app-shell,.setup-stage,.game-stage{max-width:100vw;overflow-x:hidden}.player-row input{padding-right:52px}.icon-button{background:#123a2ef2;width:34px;height:34px;right:8px}@media (width<=420px){h1{font-size:clamp(3rem,19vw,5rem)}.card-fan{right:-28px;transform:scale(.9)}.point-options span{padding:0 5px;font-size:.82rem}}
