.workspace{display:block}.draw-panel{max-width:1050px;margin:auto;padding:24px 40px 18px}.stage{min-height:285px}.sun{width:125px;height:125px}.intro{margin-bottom:24px}#stage-event{margin:16px 0 12px;font-size:27px}.stage-setup{display:block;margin:0 auto 16px;background:#fff9e0;font-size:13px}.draw-controls{margin-top:0}.save-block{justify-items:end}.save-block>.primary{font-size:14px;padding:11px 18px}.save-block>#clear-all{font-size:12px}.progress-panel{margin-top:25px;padding:24px}.progress-panel .section-heading{margin-bottom:16px}#overall-progress{font-size:13px}#prize-progress{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.progress-item{text-align:left;background:#fffdf4;border:1px solid #eee0b6;border-radius:12px;padding:15px;display:grid;gap:10px}.progress-item[aria-pressed=true]{background:#fff1b7;border-color:#d9991d;box-shadow:inset 0 0 0 1px #d9991d}.progress-item strong{font-size:15px;overflow-wrap:anywhere}.progress-item span{font-size:13px;color:#99732f}.progress-item progress{width:100%;height:6px;appearance:none;accent-color:#e4a118}.progress-item progress::-webkit-progress-bar{background:#eee3c4;border-radius:10px}.progress-item progress::-webkit-progress-value{background:#eda51a;border-radius:10px}.progress-item progress::-moz-progress-bar{background:#eda51a;border-radius:10px}#next-prize{margin-top:16px;font-size:14px;border-color:#d2a749;background:#fff9df}#settings-dialog{margin:0 0 0 auto;height:100dvh;max-height:100dvh;width:min(480px,100%);border-radius:22px 0 0 22px;background:#fffdf5;overflow:auto}.drawer-heading{position:sticky;top:0;z-index:5;display:flex;align-items:center;padding:24px;background:#fff9e6;border-bottom:1px solid #eeddb6}.drawer-heading h2{font-size:20px;padding-right:30px}.drawer-heading .close{top:18px}.settings.panel{background:transparent;border:0;border-radius:0;padding:24px}.settings .section-heading{display:none}.backup-section{padding:0 24px 24px}.backup-section h3{font-size:17px;margin-top:5px}.backup-section>p{font-size:13px;line-height:1.8;color:#8d7049}.backup-section .button-row{gap:8px}.backup-section button{flex:1;white-space:nowrap}.drawer-footer{position:sticky;bottom:0;padding:16px 24px;background:#fff9e6;border-top:1px solid #efdfb9}#backup-status{min-height:24px}#settings-dialog .hint{font-size:13px}.prize-edit label{font-size:14px}.prize-edit .hint{background:#fff6da;padding:8px;border-radius:6px}#winner-dialog{width:min(780px,calc(100% - 28px))}#winner-dialog.single-winner{width:min(580px,calc(100% - 28px))}.single-winner #winner-names{display:block;max-height:320px}.single-winner .winner-card{padding:22px;background:linear-gradient(135deg,#fff0b0,#ffe28c)}.single-winner .winner-card strong{font-size:clamp(32px,7vw,52px);line-height:1.4}.many-winners #winner-names{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;max-height:370px}.winner-card{min-width:0;display:flex;flex-direction:column;justify-content:space-between}.winner-card button{font-size:14px;padding:10px 4px;text-decoration:underline;text-underline-offset:4px}#winner-photo{display:block;width:150px;height:120px;object-fit:contain;background:white;padding:7px;border-radius:14px;margin:12px auto}.single-winner #winner-photo{width:185px;height:145px}.modal-sun{width:105px;height:105px}#card-dialog{width:min(650px,calc(100% - 24px))}#card-preview{display:block;width:100%;height:auto;max-height:58dvh;object-fit:contain;user-select:auto;-webkit-touch-callout:default;margin:15px auto;border-radius:10px}#card-dialog .modal h2{font-size:22px}#card-dialog .modal{padding:28px 24px}.rolling .sun{animation:sunny-sway .75s ease-in-out infinite}.presenting #stage-setup{display:none}.presenting .progress-panel{display:none}.presenting .stage{min-height:260px}.presenting .sun{width:clamp(120px,18vh,190px);height:clamp(120px,18vh,190px)}.presenting .draw-panel{max-width:none}.stage.winner #display{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:min(650px,100%);max-height:220px;overflow:auto}.stage.winner #display>span{border:1px solid #eec46f;border-radius:13px;background:#fff9e2;font-size:24px;padding:12px;letter-spacing:0;margin:0}.stage.winner #display:has(>span:only-child){display:block}.stage.winner #display>span:only-child{display:block;font-size:clamp(34px,5vw,62px);padding:18px}.stage:has(#prize-photo-wrap:not([hidden])) .sun{left:calc(50% - 175px)}@keyframes sunny-sway{0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-9px) rotate(7deg)}}@media(max-width:850px){.draw-panel{padding:21px 22px 15px}.intro h1{font-size:28px}.progress-panel{padding:20px}.save-block{max-width:none}#stage-event{font-size:23px}.stage{min-height:265px}}@media(max-width:480px){header{height:67px}.intro{margin-bottom:18px}.intro .eyebrow{margin-bottom:5px}h1{font-size:26px!important}.save-block{flex-wrap:wrap;gap:10px}.save-block>.primary{order:0}.save-block>#save-status{order:2;width:100%;font-size:12px}.save-block>#clear-all{order:1}.draw-panel{padding:17px 13px 12px}#stage-event{margin-top:13px;font-size:21px}.stage-toolbar{flex-wrap:wrap}.stage{min-height:248px}.sun{width:112px;height:112px}#display{font-size:34px}.draw-button{padding:15px}.keyboard-note{display:none}#prize-progress{grid-template-columns:1fr 1fr;gap:9px}.progress-panel .section-heading{align-items:flex-start;gap:10px}.progress-panel .section-heading h2{font-size:16px}#overall-progress{font-size:12px;letter-spacing:0}.progress-item{padding:12px}.progress-item strong{font-size:14px}.many-winners .winner-card strong{font-size:21px}.many-winners .winner-card{padding:13px 8px}.many-winners .winner-card button{font-size:12px}.modal{padding:29px 18px}.stage:has(#prize-photo-wrap:not([hidden])) .sun{left:0;width:75px;height:75px}.drawer-heading{padding:20px}.drawer-heading h2{font-size:18px}.stage.winner #display>span{font-size:20px;padding:10px}}@media(prefers-reduced-motion:reduce){.rolling .sun{animation:none}}
