:root{--ink: #13251e;--forest: #102b21;--forest-2: #173b2c;--cream: #f3efdf;--paper: #fffdf5;--gold: #d7a735;--red: #c34437;--muted: #718078;--line: rgba(19, 37, 30, .14);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--ink);background:var(--cream)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--cream)}button,input{font:inherit}button{cursor:pointer}[hidden]{display:none!important}.grain{position:fixed;inset:0;pointer-events:none;opacity:.035;z-index:20;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E")}.eyebrow,.step-label{margin:0 0 10px;color:var(--gold);font-size:11px;font-weight:900;letter-spacing:.18em}.setup-shell{min-height:100vh;padding:68px max(5vw,28px);background:radial-gradient(circle at 80% -15%,#35644e 0,transparent 35%),var(--forest)}.setup-intro{max-width:700px;margin:0 auto 40px;color:var(--paper);text-align:center}.setup-intro h1{margin:0;font-family:Georgia,serif;font-size:clamp(50px,7vw,86px);line-height:.9;font-weight:500;letter-spacing:-.04em}.setup-intro h1 em{color:var(--gold);font-weight:400}.setup-intro>p:last-child{max-width:590px;margin:24px auto 0;color:#bed0c6;line-height:1.65}.setup-card{max-width:1180px;margin:auto;padding:34px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:var(--cream);box-shadow:0 32px 80px #00000045}.setup-toolbar,.setup-footer,.app-header,.draw-heading,.history-header,.draw-controls{display:flex;align-items:center;justify-content:space-between;gap:20px}.setup-toolbar h2,.history-header h2{margin:0;font-family:Georgia,serif;font-size:30px;font-weight:500}.step-label{color:var(--red)}.text-button{border:0;border-bottom:1px solid var(--ink);padding:3px 0;color:var(--ink);background:transparent;font-size:13px;font-weight:750}.setup-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px}.randomize-button{display:flex;align-items:center;gap:9px;padding:12px 16px;border:0;border-radius:8px;color:#fff;background:var(--red);box-shadow:0 7px 18px #c3443733;font-size:13px;font-weight:900}.randomize-button span{font-size:18px;line-height:1}.randomize-button:hover{background:#d04a3d}.randomizer-dialog{width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 32px);padding:35px;overflow-y:auto;border:1px solid rgba(255,255,255,.14);border-radius:18px;color:var(--paper);background:var(--forest);box-shadow:0 32px 90px #00000073}.randomizer-dialog::backdrop{background:#05110cb8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.randomizer-dialog h2{margin:0;font-family:Georgia,serif;font-size:clamp(30px,5vw,45px);font-weight:400;letter-spacing:-.025em}.randomizer-copy{max-width:500px;margin:12px 0 25px;color:#b8c9c0;line-height:1.55}.dialog-close{position:absolute;top:15px;right:17px;width:34px;height:34px;border:1px solid rgba(255,255,255,.18);border-radius:50%;color:#fff;background:transparent;font-size:23px;line-height:1}.randomizer-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.randomizer-option{display:grid;grid-template-columns:22px 45px 1fr;align-items:center;gap:12px;width:100%;padding:15px;border:1px solid rgba(255,255,255,.14);border-radius:11px;color:#fff;background:#ffffff0e;text-align:left;cursor:pointer;transition:.2s ease}.randomizer-option:hover{transform:translateY(-2px);border-color:var(--gold);background:#ffffff1a}.randomizer-option:has(input:checked){border-color:var(--gold);background:#d3b15c21;box-shadow:inset 0 0 0 1px #d3b15c2e}.randomizer-option input{width:18px;height:18px;margin:0;accent-color:var(--gold)}.randomizer-icon{display:grid;width:45px;height:45px;place-items:center;border-radius:9px;color:var(--forest);background:var(--gold);font-size:24px;font-weight:900}.randomizer-option.equipment .randomizer-icon{color:#fff;background:var(--red)}.randomizer-option strong,.randomizer-option small{display:block}.randomizer-option strong{margin-bottom:4px;font-size:15px}.randomizer-option small{color:#aebfb6;font-size:11px;line-height:1.4}.randomizer-option b{color:var(--gold);font-size:20px}.randomizer-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px}.randomizer-actions span{color:#aebfb6;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.randomizer-actions .primary-button{padding:13px 18px}.randomizer-actions .primary-button:disabled{cursor:not-allowed;opacity:.4}.randomizer-note{margin:18px 0 0;color:#849b90;font-size:10px;font-weight:750;letter-spacing:.08em;text-align:center;text-transform:uppercase}.exercise-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;margin:30px 0}.suit-group{padding:18px;border:1px solid var(--line);border-radius:12px;background:#ffffff7a}.suit-title{display:flex;align-items:center;gap:9px;margin:0 0 14px;font-family:Georgia,serif;font-size:21px}.suit-title.red{color:var(--red)}.exercise-row{display:grid;grid-template-columns:56px 1fr;align-items:center;gap:10px;margin-top:8px}.card-chip{font-family:Georgia,serif;font-size:16px;font-weight:700}.card-chip.red{color:var(--red)}.exercise-row input{min-width:0;width:100%;padding:10px 11px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--paper);outline:none}.exercise-row input:focus{border-color:var(--gold);box-shadow:0 0 0 3px #d7a73526}.setup-footer{padding-top:25px;border-top:1px solid var(--line)}.setup-footer p{color:var(--muted);font-size:13px}.primary-button,.draw-button{border:0;border-radius:8px;color:#fff;background:var(--red);font-weight:850;letter-spacing:.02em;box-shadow:0 8px 20px #c3443738}.primary-button{padding:15px 20px}.primary-button span{margin-left:18px}.game-shell{display:grid;grid-template-columns:minmax(0,1fr) 390px;min-height:100vh}.table-panel{display:flex;flex-direction:column;min-width:0;min-height:100vh;padding:28px clamp(24px,4vw,64px) 38px;color:var(--paper);background:radial-gradient(circle at 50% 35%,#25523d 0,var(--forest) 66%)}.app-header{padding-bottom:25px;border-bottom:1px solid rgba(255,255,255,.12)}.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-weight:950;letter-spacing:.08em}.brand em{color:var(--gold);font-style:normal}.brand-mark{display:grid;width:34px;height:34px;place-items:center;transform:rotate(-8deg);border-radius:5px;color:var(--forest);background:var(--gold);font-size:20px}.header-actions{display:flex;align-items:center;gap:8px}.deck-plan{display:grid;grid-template-columns:repeat(2,auto);gap:6px 14px;padding:10px 13px;border:1px solid rgba(255,255,255,.14);border-radius:7px;background:#0000001f}.deck-plan label{display:flex;align-items:center;gap:8px;color:#c6d5cd;font-size:11px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.deck-plan input{width:54px;padding:7px 5px;border:1px solid rgba(255,255,255,.22);border-radius:5px;outline:0;color:#fff;background:#0000002e;text-align:center;font-size:14px;font-weight:850}.deck-plan input:focus{border-color:var(--gold)}.deck-plan small{grid-column:1 / -1;color:#a9c6b5;font-size:10px;line-height:1.35;letter-spacing:.02em}.deck-plan small.behind{color:#f0b1a9}.header-draw-button{padding:11px 18px;border:0;border-radius:7px;color:#fff;background:var(--red);box-shadow:0 7px 18px #c344373d;font-size:13px;font-weight:900}.header-draw-button:hover{background:#d04a3d}.header-draw-button:disabled{cursor:not-allowed;opacity:.4}.ghost-button{padding:9px 12px;border:1px solid rgba(255,255,255,.2);border-radius:6px;color:#dce6e0;background:transparent;font-size:12px;font-weight:750}.ghost-button:hover{background:#ffffff14}.ghost-button.danger{color:#f0b1a9}.draw-heading{margin:35px 0 24px}.draw-heading h1{margin:0;font-family:Georgia,serif;font-size:clamp(36px,5vw,64px);font-weight:400;letter-spacing:-.03em}.deck-counter{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:90px;height:90px;border:1px solid rgba(255,255,255,.2);border-radius:50%}.deck-counter span{color:var(--gold);font-family:Georgia,serif;font-size:31px;line-height:1}.deck-counter small{margin-top:5px;font-size:8px;font-weight:850;letter-spacing:.12em}.draw-stage{position:relative;flex:1;display:flex;align-items:center;justify-content:center;min-height:390px;padding:22px 0 22px 116px}.draw-stage.empty{padding-left:0}.deal-deck{position:absolute;left:18px;top:50%;z-index:3;display:grid;width:78px;height:108px;transform:translateY(-50%);place-items:center;border:5px solid var(--paper);border-radius:9px;color:var(--gold);background:repeating-linear-gradient(45deg,var(--forest-2) 0 4px,#2d654b 4px 8px);box-shadow:5px 5px 0 -1px var(--forest),6px 6px #ffffff9e,10px 10px 0 -1px var(--forest),11px 11px #ffffff59;font-size:29px}.deal-deck[hidden]{display:none}.draw-stage.dealing .deal-deck{animation:deck-pulse .55s ease-in-out infinite alternate}.empty-state{max-width:460px;text-align:center;color:#c0d0c8}.empty-state h2{margin:28px 0 8px;color:#fff;font-family:Georgia,serif;font-size:28px;font-weight:400}.empty-state p{margin:0;line-height:1.6}.deck-stack{position:relative;display:grid;width:112px;height:150px;margin:auto;place-items:center;border:7px solid var(--paper);border-radius:12px;color:var(--gold);background:repeating-linear-gradient(45deg,var(--forest-2) 0 5px,#26543f 5px 10px);box-shadow:7px 7px 0 -2px var(--forest),8px 8px #ffffff8c,14px 14px 0 -2px var(--forest),15px 15px #ffffff40;font-size:44px}.current-cards{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:18px}.playing-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;width:clamp(126px,14vw,166px);aspect-ratio:.7;padding:13px;overflow:hidden;border-radius:12px;color:var(--ink);background:var(--paper);box-shadow:0 17px 28px #00000040}.playing-card.just-revealed{animation:card-reveal .68s cubic-bezier(.18,.85,.28,1.18) both}.playing-card.nonqualifying.just-revealed{animation:bonus-reveal 1s cubic-bezier(.16,.9,.25,1.15) both}.playing-card.red{color:var(--red)}.playing-card.nonqualifying{opacity:.68;transform:scale(.92)}.playing-card.nonqualifying:after{content:"BONUS";position:absolute;right:-27px;top:20px;width:105px;padding:4px 0;transform:rotate(38deg);color:#fff;background:var(--red);text-align:center;font-size:8px;font-weight:900;letter-spacing:.15em}.card-corner{display:flex;flex-direction:column;align-items:flex-start;font-family:Georgia,serif;font-size:23px;font-weight:700;line-height:.8}.card-center{align-self:center;font-size:53px;line-height:1}.card-exercise{padding-top:9px;border-top:1px solid currentColor;font-size:11px;font-weight:850;line-height:1.2;text-transform:uppercase;letter-spacing:.04em}.draw-controls{padding-top:25px;border-top:1px solid rgba(255,255,255,.12)}.draw-explanation{display:flex;flex-direction:column;color:#9fb5aa;font-size:12px}.draw-explanation strong{color:var(--gold);font-family:Georgia,serif;font-size:22px;font-weight:400}.draw-button{min-width:210px;padding:17px 22px;font-size:14px}.draw-button .button-icon{margin-right:14px}.draw-button:disabled{cursor:not-allowed;opacity:.45}.timer-panel{margin:6px 0 26px;padding:22px 26px 25px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:#05140e6b;box-shadow:0 18px 45px #00000029;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.timer-topline,.timer-main,.timer-controls,.timer-settings{display:flex;align-items:center;justify-content:space-between;gap:18px}.timer-progress{color:#b7c9c0;font-size:11px;font-weight:800;letter-spacing:.09em}.timer-settings-toggle{border:0;border-bottom:1px solid #9fb5aa;padding:4px 0;color:#d8e3dd;background:transparent;font-size:11px;font-weight:750}.timer-settings{align-items:center;flex-direction:column;justify-content:flex-start;margin:18px 0 5px;padding:15px 18px;border-radius:10px;background:#ffffff12}.timer-settings.collapsed{display:none}.timer-settings-row{display:flex;width:100%;align-items:center;justify-content:center;gap:18px}.timer-settings-audio{padding-top:14px;border-top:1px solid rgba(255,255,255,.1)}.timer-settings label{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-start;gap:8px;color:#b7c9c0;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.number-field{display:flex;align-items:center;border:1px solid rgba(255,255,255,.17);border-radius:7px;background:#0000002e}.number-field input{width:66px;padding:9px 3px 9px 10px;border:0;outline:0;color:#fff;background:transparent;font-family:Georgia,serif;font-size:19px}.number-field small{padding:0 9px 0 3px;color:var(--gold);font-size:8px}.number-field input:disabled{opacity:.5}.volume-setting{min-width:185px}.volume-setting input[type=range]{width:95px;accent-color:var(--gold);cursor:pointer}.volume-setting output{min-width:34px;color:var(--gold);font-size:10px;letter-spacing:0}.volume-setting input:disabled{cursor:not-allowed;opacity:.5}.rest-category-setting select{max-width:190px;padding:8px 28px 8px 9px;border:1px solid rgba(255,255,255,.17);border-radius:7px;outline:0;color:#fff;background:#173328;font:inherit;text-transform:none;letter-spacing:0}.rest-category-setting select:focus{border-color:var(--gold)}.roast-setting{position:relative;cursor:pointer}.roast-setting input{position:absolute;width:1px;height:1px;opacity:0}.toggle-switch{position:relative;width:38px;height:21px;border-radius:12px;background:#ffffff2e;transition:background .2s}.toggle-switch:after{content:"";position:absolute;top:3px;left:3px;width:15px;height:15px;border-radius:50%;background:#d8e3dd;transition:transform .2s,background .2s}.roast-setting input:checked+.toggle-switch{background:var(--gold)}.roast-setting input:checked+.toggle-switch:after{transform:translate(17px);background:var(--forest)}.roast-setting input:focus-visible+.toggle-switch{outline:2px solid white;outline-offset:3px}.timer-main{justify-content:center;margin:25px 0}.timer-ring{--progress: 0deg;display:grid;flex:0 0 auto;width:164px;height:164px;padding:7px;place-items:center;border-radius:50%;background:conic-gradient(var(--gold) var(--progress),rgba(255,255,255,.1) 0);transition:background .25s linear}.timer-ring.resting{background:conic-gradient(#77b8cf var(--progress),rgba(255,255,255,.1) 0)}.timer-ring-inner{display:flex;width:100%;height:100%;align-items:center;justify-content:center;flex-direction:column;border-radius:50%;background:#11291f}.timer-ring-inner span{color:var(--gold);font-size:9px;font-weight:900;letter-spacing:.18em}.timer-ring.resting .timer-ring-inner span{color:#8ed0e8}.timer-ring-inner strong{margin-top:3px;font-family:Georgia,serif;font-size:47px;font-weight:400;font-variant-numeric:tabular-nums}.timer-now{min-width:260px}.timer-now p{margin:0 0 8px;color:var(--red);font-size:9px;font-weight:900;letter-spacing:.17em}.timer-now h2{max-width:410px;margin:0 0 5px;font-family:Georgia,serif;font-size:clamp(25px,3vw,38px);font-weight:400}.timer-now>span{color:#9fb5aa;font-size:12px}.interval-dots{display:flex;gap:7px;margin-top:22px}.interval-dot{width:28px;height:5px;border-radius:5px;background:#ffffff24}.interval-dot.done{background:#58806c}.interval-dot.active{background:var(--gold)}.interval-dot.rest{width:14px}.interval-dot.rest.active{background:#77b8cf}.timer-controls{justify-content:center}.timer-control{min-width:105px;padding:11px 16px;border-radius:8px;color:#fff;font-size:12px;font-weight:850}.timer-control.start{min-width:175px;padding:14px 20px;border:0;background:var(--gold);color:var(--forest);box-shadow:0 8px 20px #d7a73533}.timer-control.secondary{border:1px solid rgba(255,255,255,.16);background:transparent}.timer-control:disabled{cursor:not-allowed;opacity:.35}.bonus-checklist{width:min(100%,500px);margin:0 auto 18px;padding:10px 12px;border:1px solid rgba(195,68,55,.38);border-radius:9px;background:#c3443717}.bonus-checklist.single-task{width:min(100%,310px)}.bonus-checklist-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.bonus-checklist-heading .eyebrow{margin:0;color:#ef8e82}.bonus-checklist-heading h3{display:none}.bonus-checklist-heading>span{color:#efb0a8;font-size:9px;font-weight:900;letter-spacing:.12em;white-space:nowrap}.bonus-checklist-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:7px}.bonus-check-item{display:grid;grid-template-columns:20px 28px 1fr;align-items:center;gap:7px;padding:7px 8px;border:1px solid rgba(255,255,255,.11);border-radius:7px;background:#00000021;cursor:pointer}.bonus-check-item input{width:18px;height:18px;margin:0;accent-color:#4fa776;cursor:pointer}.bonus-check-card{color:var(--gold);font-family:Georgia,serif;font-size:14px;font-weight:700}.bonus-check-item strong{display:block;font-size:12px}.bonus-check-item small{color:#9db1a7;font-size:9px;font-weight:750;letter-spacing:.07em;text-transform:uppercase}.bonus-check-item.checked{border-color:#4fa77661;background:#4fa77621}.bonus-check-item.checked strong{color:#8dd6aa;text-decoration:line-through;text-decoration-thickness:1px}.history-panel{height:100vh;overflow:hidden;padding:34px 25px;background:#e7e0cd;border-left:1px solid rgba(0,0,0,.08)}.history-header{padding-bottom:23px;border-bottom:1px solid var(--line)}.history-header .eyebrow{color:var(--red)}.round-count{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;color:#fff;background:var(--ink);font-weight:850}.history-header-actions{display:flex;align-items:center;gap:10px}.collapse-all-button{padding:6px 0;border:0;border-bottom:1px solid var(--ink);color:var(--ink);background:transparent;font-size:10px;font-weight:850}.history-list{height:calc(100vh - 130px);padding:20px 4px 30px 0;overflow-y:auto}.history-empty{max-width:230px;margin:100px auto;color:var(--muted);text-align:center;line-height:1.5}.history-empty span{font-size:35px}.history-round{margin-bottom:16px;padding:17px;border-radius:10px;background:#ffffff94;border:1px solid rgba(19,37,30,.1)}.history-round.incomplete{background:#c344371f;border-color:#c344375c;box-shadow:inset 3px 0 #c34437b8}.history-round.completed{background:#2d7e5321;border-color:#2d7e5357;box-shadow:inset 3px 0 #2d7e53b8}.history-round-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:13px;color:var(--muted);font-size:10px;font-weight:850;letter-spacing:.12em}.history-status{margin-left:5px;padding:3px 6px;border-radius:4px;letter-spacing:.08em}.incomplete .history-status{color:#9f3027;background:#c3443721}.completed .history-status{color:#246b46;background:#2d7e5324}.bonus-history-status{display:inline-block;margin:3px 0 0 5px;padding:3px 6px;border-radius:4px;letter-spacing:.08em}.bonus-history-status.pending{color:#9f3027;background:#c3443721}.bonus-history-status.complete{color:#246b46;background:#2d7e5324}.history-round-heading{display:grid;grid-template-columns:max-content max-content;align-items:center;justify-content:end;gap:7px}.history-date{grid-column:1 / -1;justify-self:end;letter-spacing:.02em;white-space:nowrap}.repeat-round-button{padding:5px 8px;border:1px solid rgba(195,68,55,.35);border-radius:5px;color:var(--red);background:#ffffff80;font-size:9px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}.repeat-round-button:hover{color:#fff;background:var(--red)}.completed .repeat-round-button{color:#246b46;border-color:#2d7e5366}.completed .repeat-round-button:hover{color:#fff;background:#2d7e53}.round-toggle{display:flex;align-items:center;gap:6px;padding:4px 0;border:0;color:var(--muted);background:transparent;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.round-toggle-icon{display:inline-block;font-size:13px;transition:transform .2s}.history-round.collapsed{padding-block:13px}.history-round.collapsed .history-round-title{margin-bottom:0}.history-round.collapsed .history-cards-body{display:none}.history-round.collapsed .round-toggle-icon{transform:rotate(-90deg)}.history-round-summary{display:none;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:0}.history-round.collapsed .history-round-summary{display:inline}.history-card{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:8px 0;border-top:1px solid rgba(19,37,30,.08)}.history-card:first-of-type{border-top:0}.history-card-symbol{font-family:Georgia,serif;font-size:17px;font-weight:700}.history-card-symbol.red{color:var(--red)}.history-card strong{display:block;font-size:12px}.history-card small{color:var(--muted);font-size:10px}.bonus-tag{color:var(--red);font-size:8px;font-weight:900;letter-spacing:.1em}.toast{position:fixed;left:50%;bottom:24px;z-index:30;padding:11px 17px;transform:translate(-50%,20px);border-radius:7px;color:#fff;background:#101713;opacity:0;pointer-events:none;transition:.25s;font-size:13px}.toast.show{transform:translate(-50%);opacity:1}@keyframes card-reveal{0%{transform:translate(-180px) rotateY(180deg) rotate(-12deg) scale(.64);opacity:.2}62%{transform:translate(7px) rotateY(-10deg) rotate(2deg) scale(1.06);opacity:1}to{transform:none;opacity:1}}@keyframes bonus-reveal{0%{transform:translate(-180px) rotateY(180deg) rotate(-18deg) scale(.55);opacity:.2;filter:brightness(2)}45%{transform:translate(6px) scale(1.16) rotate(5deg);opacity:1;filter:brightness(1.5);box-shadow:0 0 0 8px #d3b15c2e,0 0 45px #d3b15ccc}72%{transform:scale(.96) rotate(-2deg)}to{transform:scale(.92);opacity:.68;filter:none}}@keyframes deck-pulse{0%{transform:translateY(-50%) rotate(-1deg)}to{transform:translateY(-50%) rotate(1deg) scale(1.035);box-shadow:5px 5px 0 -1px var(--forest),6px 6px #ffffff9e,10px 10px 0 -1px var(--forest),11px 11px #ffffff59,0 0 24px #d3b15c47}}@media(prefers-reduced-motion:reduce){.playing-card.just-revealed,.playing-card.nonqualifying.just-revealed{animation-duration:.01ms}}@media(max-width:950px){.game-shell{grid-template-columns:1fr}.history-panel{height:auto;min-height:380px}.history-list{height:auto;max-height:600px}.table-panel{min-height:720px}.app-header{align-items:flex-start;flex-direction:column}.header-actions{width:100%;flex-wrap:wrap}}@media(max-width:680px){.setup-shell{padding:40px 15px}.setup-card{padding:20px 15px}.setup-toolbar{align-items:stretch;flex-direction:column}.setup-actions{align-items:stretch;flex-direction:column;gap:11px}.randomize-button{justify-content:center}.text-button{align-self:center}.randomizer-dialog{padding:30px 18px 24px}.randomizer-options{grid-template-columns:1fr}.randomizer-actions{align-items:stretch;flex-direction:column}.exercise-grid{grid-template-columns:1fr}.setup-footer,.draw-controls{align-items:stretch;flex-direction:column}.primary-button,.draw-button{width:100%}.table-panel{padding:20px 16px 28px}.draw-heading h1{font-size:40px}.deck-counter{min-width:70px;height:70px}.playing-card{width:128px}.draw-stage:not(.empty){align-items:flex-start;padding:132px 0 22px}.deal-deck{left:50%;top:10px;transform:translate(-50%)}.draw-stage.dealing .deal-deck{animation:deck-pulse-mobile .55s ease-in-out infinite alternate}.header-actions{flex-direction:column}.deck-plan{width:100%}.header-draw-button{order:-1}.timer-panel{padding:18px 14px}.timer-settings-row{align-items:center;flex-direction:column}.timer-main{flex-direction:column;text-align:center}.timer-now{min-width:0}.interval-dots{justify-content:center}.timer-controls{flex-wrap:wrap}.timer-control.start{order:-1;width:100%}.bonus-checklist-heading{align-items:flex-start;flex-direction:column}}@keyframes deck-pulse-mobile{0%{transform:translate(-50%) rotate(-1deg)}to{transform:translate(-50%) rotate(1deg) scale(1.035)}}
