/* Academy website tokens and type from the registered globals.css. */
.draw-view .slots-scene{display:flex;flex-direction:row;align-items:center;gap:24px}
.draw-view .slots-scene .slot-window{flex:1;min-width:0;width:auto}
.draw-view .slots-scene #host-start{flex:0 0 auto;min-width:150px;padding:16px 24px}
/* Moving a control must not expose it to an unauthorised spectator. */
.draw-view:has(#host-controls[hidden]) .slots-scene #host-start{display:none}
/* Name reel: one selection lane, source-brand ink, four recycled rows only. */
.draw-view .slots-scene .slot-window{--slot-row-height:96px;--slot-max-type:60px;padding:0;overflow:hidden}
.draw-view .slot-window .slot-caption{margin:14px 0;color:var(--muted);font-size:14px;line-height:1.5;letter-spacing:.08em}
.draw-view .slot-window #slot-before{display:block}
.draw-view .slot-window #slot-after{font:500 14px/1.5 Poppins,'Noto Sans TC','Microsoft JhengHei',sans-serif;opacity:1}
.draw-view .slot-window .slot-viewport{height:calc(var(--slot-row-height)*3);position:relative;overflow:hidden;container-type:inline-size;opacity:1;filter:none}
.draw-view .slot-window .slot-viewport:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(var(--bg),transparent 30% 70%,var(--bg))}
.draw-view .slot-window .slot-reel{height:calc(var(--slot-row-height)*4);opacity:1;filter:none}
.draw-view .slot-window .slot-row{height:var(--slot-row-height);display:flex;align-items:center;justify-content:center;margin:0;padding:0 18px;font:600 clamp(16px,calc(170cqw / var(--name-units,10)),var(--slot-max-type))/1.15 Poppins,'Noto Sans TC','Microsoft JhengHei',sans-serif;letter-spacing:-.025em;white-space:normal;overflow-wrap:anywhere;overflow:hidden;color:var(--text)}
.draw-view .slot-window .slot-marker{position:absolute;inset:var(--slot-row-height) 0 auto;height:var(--slot-row-height);border-block:1px solid var(--blue);background:color-mix(in srgb,var(--blue) 7%,transparent);opacity:1;filter:none}
.draw-view .slot-window .slot-marker:before,.draw-view .slot-window .slot-marker:after{content:"";position:absolute;top:calc(50% - 5px);border-block:5px solid transparent}
.draw-view .slot-window .slot-marker:before{left:0;border-left:7px solid var(--blue)}
.draw-view .slot-window .slot-marker:after{right:0;border-right:7px solid var(--blue)}
.draw-view .slot-window[data-state=winner] #slot-name,.draw-view .slot-window[data-state=winner] #slot-before{color:var(--blue)}
.draw-view .slot-window[data-state=winner] .slot-marker{border-width:2px;background:color-mix(in srgb,var(--blue) 12%,transparent)}
.draw-view .slot-window[data-state=winner] :is(#slot-previous,#slot-next,#slot-tail){visibility:hidden}
.draw-view .slot-window[data-celebrate=true] .slot-marker{animation:slot-reveal .65s ease-out}
.draw-view.is-drawing .slot-reel{will-change:transform}
@keyframes slot-reveal{from{box-shadow:inset 0 0 32px color-mix(in srgb,var(--blue) 28%,transparent)}to{box-shadow:inset 0 0 0 transparent}}
@media(max-width:700px){.draw-view .slots-scene .slot-window{--slot-row-height:78px;--slot-max-type:40px}.draw-view .slots-scene,.draw-view.has-result .slots-scene{height:auto;min-height:0}.draw-view .slot-window .slot-caption{margin:10px 0;font-size:12px}.draw-view .slot-window #slot-after{font-size:12px}}
@media(prefers-reduced-motion:reduce){.draw-view .slot-window[data-celebrate=true] .slot-marker{animation:none}}
.draw-view[data-motion=reduced] .slot-window .slot-marker{animation:none}
@media(max-width:1100px){.draw-view .slots-scene{flex-direction:column;justify-content:center;gap:16px}.draw-view .slots-scene .slot-window{flex:0 1 auto;width:100%}.draw-view .slots-scene #host-start{width:min(100%,320px)}}
@font-face{font-family:Poppins;src:url('/fonts/poppins-600-latin.woff2') format('woff2');font-weight:600;font-display:swap}
body.draw-view{--bg:#0b0d0f;--panel:#141619;--blue:#3ec1dd;--text:#f2f3f4;--muted:#a7adb2;--line:#2a2e31;--stage-height:clamp(390px,calc(100dvh - 300px),640px);font-family:Poppins,'Noto Sans TC','Microsoft JhengHei',sans-serif}
.draw-view .brand-logo{background:transparent url('/brand/82trade-stage-wordmark.png') center/contain no-repeat;mask:none;-webkit-mask:none}
.draw-view .card.winner b,.draw-view .slot-window strong{font-family:Poppins,'Noto Sans TC','Microsoft JhengHei',sans-serif}
.draw-view .host-controls{position:static;border-top:0;border-bottom:1px solid var(--line);padding:16px 0;gap:24px;min-height:90px;flex-wrap:wrap}
.draw-view .host-description{flex:1;min-width:170px}.draw-view .host-description b{font-size:16px}.draw-view .host-description p{max-width:300px}
.draw-view .host-actions{flex-wrap:wrap}.draw-view .host-actions label{display:flex;align-items:center;gap:4px}.draw-view .host-actions input{width:65px;background:var(--panel);border-color:var(--line);font:600 21px Poppins,sans-serif;text-align:center;border-radius:6px}
.plan-total{font-size:12px;color:var(--muted)}.draw-view .host-actions .host-primary{min-width:150px}.draw-view .mode-list button{font-size:16px;padding:15px 20px}.draw-view .mode-list{gap:16px}
.draw-view .mode-list button:not(:disabled):hover{background:var(--panel)}.draw-view .host-primary:hover:not(:disabled){background:#73d4e8}
.draw-view .stage-content{grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);padding:28px 0;min-height:var(--stage-height)}
.draw-view .scene,.draw-view.has-result .scene{height:calc(var(--stage-height) - 100px)}
.draw-view .wheel-wrap,.draw-view.has-result .wheel-wrap{height:100%;width:auto;max-width:100%;aspect-ratio:1;overflow:clip}
.draw-view .wheel-hub{width:112px;height:112px;border:1px solid var(--line);background:var(--bg);gap:12px;padding:20px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text)}
.draw-view .wheel-hub:not(:disabled){border-color:var(--blue);cursor:pointer}.draw-view .wheel-hub:not(:disabled):hover{background:var(--panel);box-shadow:0 0 0 5px var(--panel)}
.draw-view .wheel-hub small{font:600 12px 'Noto Sans TC','Microsoft JhengHei',sans-serif}.draw-view .wheel-hub:disabled small{color:var(--muted)}
.draw-view .wheel-hub .brand-logo{width:70px}.draw-view .spotlight strong{font-size:clamp(23px,2.3vw,36px);line-height:1.4}.draw-view .spotlight{min-height:76px}
.draw-view .lots-scene{display:flex;flex-direction:column;height:auto!important;min-height:calc(var(--stage-height) - 100px);justify-content:center;gap:22px}
.lot-prompt{font-size:15px;color:var(--muted);margin:0}.lots{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;width:min(100%,690px)}
.lot{min-height:160px;border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:20px 10px;color:var(--text);display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:20px;transition:transform .15s,border-color .15s}
.lot .brand-logo{width:58px;max-width:100%}.lot b{font:600 32px Poppins,sans-serif;letter-spacing:-1px}.lot small{font-size:11px;color:var(--muted)}
.lot:disabled{cursor:default}.lot:not(:disabled):hover{transform:translateY(-6px);border-color:var(--blue)}.lot.picked{border-color:var(--blue);background:#14282d}.lot.picked b,.lot.picked small{color:var(--blue)}
.draw-view .results-panel{padding-left:28px}.draw-view .results li strong{font-size:23px}.draw-view .results ol{max-height:calc(var(--stage-height) - 40px)}.draw-view .results-empty p{font-size:22px}
.draw-view .rehearsal-banner{position:static;display:flex;order:initial;margin-top:14px;gap:12px;padding:10px 14px}.draw-view .rehearsal-banner #demo-reset{margin-left:auto}
@media(max-width:1100px){.draw-view .host-description{flex:1 1 100%;display:flex;gap:16px;align-items:center}.draw-view .host-description p{margin:0;max-width:none}.draw-view .host-actions{width:100%;justify-content:space-between;gap:12px}.lots{gap:9px}.lot{min-height:135px;padding:15px 7px}.lot b{font-size:27px}.draw-view .stage-content{grid-template-columns:minmax(0,1.7fr) minmax(200px,1fr)}}
@media(max-width:700px){body.draw-view{--stage-height:400px}.draw-view .stage{padding-inline:18px}.draw-view .host-controls{padding:14px 0;gap:12px}.draw-view .host-description{display:block}.draw-view .host-description p{margin-top:4px}.draw-view .host-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.draw-view .host-actions label{justify-content:space-between;font-size:13px}.draw-view .host-actions input{width:57px;font-size:20px}.draw-view .plan-total{grid-column:1/-1}.draw-view .host-actions .host-primary{grid-column:1/-1;width:100%}.draw-view #host-disconnect{grid-column:1/-1}.draw-view .mode-list{gap:0}.draw-view .mode-list button{padding:13px 4px;font-size:15px}.draw-view .stage-content{display:flex;padding-top:24px;gap:24px}.draw-view .scene,.draw-view.has-result .scene{height:280px}.draw-view .wheel-hub{height:86px;width:86px;gap:8px}.draw-view .wheel-hub .brand-logo{width:58px}.draw-view .wheel-hub small{font-size:10px}.lots{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.lot{min-height:116px;gap:12px;padding:12px 6px}.lot b{font-size:26px}.lot .brand-logo{width:46px}.draw-view .lots-scene{min-height:0}.draw-view .results-panel{padding-left:0}.draw-view .results ol{max-height:400px}.draw-view .spotlight strong{font-size:23px}.draw-view .rehearsal-banner{flex-wrap:wrap}.draw-view .host-confirm{padding:22px}}
@media(prefers-reduced-motion:reduce){.lot{transition:none}.lot:not(:disabled):hover{transform:none}}
/* One participant per card. Names never wait on reveal feedback. */
.draw-view .host-controls{margin-top:0;min-height:72px;background:transparent;border-inline:0;border-radius:0;padding:12px 0;gap:16px}
.draw-view .host-description p{max-width:none}.draw-view .host-actions{gap:18px}
.draw-view .plan-total{font-variant-numeric:tabular-nums}
.draw-view.is-drawing #wheel{will-change:transform}
@media(max-width:700px){.draw-view .host-actions{display:flex;flex-wrap:wrap;gap:12px}.draw-view .host-actions .plan-total{flex:1 1 100%}.draw-view .host-actions #host-disconnect{margin-left:0}.card-pages{gap:10px}}
.draw-view .cards-scene,.draw-view.has-result .cards-scene{height:auto;min-height:0;flex-direction:column;gap:22px}
.draw-view .lots,.draw-view .cards,.draw-view.has-result .cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;width:100%;max-width:760px;padding:4px;max-height:520px;overflow-y:auto;scrollbar-gutter:stable;align-content:start}
.person-card{min-width:0;min-height:134px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:14px;padding:16px 8px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);text-align:center}
.person-card .brand-logo{width:68px;max-width:90%;height:16px}.person-card b{font:600 30px/1.3 Poppins,'Noto Sans TC','Microsoft JhengHei',sans-serif;overflow-wrap:anywhere;max-width:100%}.person-card small,.person-card .card-position{font-size:11px;color:var(--muted)}
.person-card:not(:disabled):hover,.person-card:not(:disabled):focus-visible{border-color:var(--blue)}
.person-card.revealed{border-color:var(--blue)}.person-card.revealed b{font-size:18px;color:var(--blue)}.person-card:disabled{cursor:default;opacity:1}
.person-card.inspected{border-style:dashed;border-color:var(--muted)}.person-card.inspected b{font-size:18px;color:var(--muted)}.person-card.inspected small{color:var(--text)}
.draw-view .winner-confirm{width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow-y:auto}
.winner-confirm ol{max-height:35dvh;overflow-y:auto;padding-left:28px;margin:20px 0}
.winner-confirm li{padding:8px 0;overflow-wrap:anywhere}.winner-confirm li span{color:var(--muted);font-size:13px;margin-left:12px}
.winner-confirm>div{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}
.draw-view #host-finalize{border-color:var(--blue);color:var(--text)}
@media(max-width:700px){.winner-confirm>div button{width:100%}.person-card.inspected b{font-size:16px}}
.stage-roster{border-top:1px solid var(--line);padding:28px 0}
.stage-roster h2{margin:0;font-size:20px}.stage-roster .results-heading span,.stage-roster>p{color:var(--muted)}
#stage-roster-names{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 24px}
#stage-roster-names li{min-width:0;display:flex;align-items:baseline;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
#stage-roster-names li span{color:var(--blue);font-size:12px;font-variant-numeric:tabular-nums}
#stage-roster-names li strong{font-size:16px;font-weight:500;overflow-wrap:anywhere}
@media(max-width:700px){#stage-roster-names{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.stage-roster{padding:24px 0}#stage-roster-names li{gap:8px}}
.draw-view .person-card,.draw-view .person-card *{animation:none;transition:none;transform:none}
@media(max-width:700px){.draw-view .lots,.draw-view .cards,.draw-view.has-result .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:610px}.person-card{min-height:112px;gap:10px;padding:12px 6px}.person-card b{font-size:26px}.person-card.revealed b{font-size:16px}.person-card .brand-logo{width:58px}.person-card small{font-size:10px}}

/* One screen of numbered choices. Other games keep their existing stage layout. */
.draw-view[data-style=cards] .stage{height:100dvh;min-height:0;max-width:none;padding:12px 28px 8px}
.draw-view[data-style=cards] .stage>*{flex-shrink:0}
.draw-view[data-style=cards] .masthead{min-height:36px}
.draw-view[data-style=cards] #motion{display:none}
.draw-view[data-style=cards] .round-heading{min-height:56px;padding:8px 0;gap:18px}
.draw-view[data-style=cards] .round-title h1{font-size:18px}
.draw-view[data-style=cards] .round-info>strong{font-size:26px}
.draw-view[data-style=cards] .stage-bar{min-height:40px;padding:0}
.draw-view[data-style=cards] .mode-list button{min-height:40px;padding:8px 18px}
.draw-view[data-style=cards] .host-controls{min-height:0;padding:8px 0;gap:10px}
.draw-view[data-style=cards] .host-actions #host-start{display:none}
.draw-view[data-style=cards] .stage-content{display:flex;flex:1 1 0;min-height:0;padding:10px 0 4px;gap:0}
.draw-view[data-style=cards] .draw-floor{flex:1;min-height:0;height:100%;justify-content:flex-start}
.draw-view[data-style=cards] .results-panel,.draw-view[data-style=cards] .stage-roster{display:none}
.draw-view[data-style=cards] .cards-scene{height:0;min-height:0;flex:1;gap:8px;align-items:stretch}
.draw-view[data-style=cards] .lot-prompt{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0;font-size:13px;min-height:30px}
.draw-view[data-style=cards] .lot-prompt .quiet{min-height:30px;padding:4px 10px;white-space:nowrap;font-size:12px;flex-shrink:0}
.draw-view[data-style=cards] .cards{flex:1;height:0;min-height:0;width:100%;max-width:none;max-height:none;padding:3px;overflow:visible;scrollbar-gutter:auto;grid-template-columns:repeat(var(--fit-columns,7),minmax(0,1fr));grid-template-rows:repeat(var(--fit-rows,4),minmax(0,1fr));gap:var(--fit-gap,6px);align-content:stretch}
.draw-view[data-style=cards] .person-card{min-height:0;min-width:0;height:100%;padding:8px 6px;gap:4px;justify-content:center;position:relative;overflow:hidden}
.draw-view[data-style=cards] .person-card b{font-size:var(--fit-number,26px);line-height:1.1;font-variant-numeric:tabular-nums}
.draw-view[data-style=cards] .person-card:is(.revealed,.inspected) b{font-size:var(--fit-name,18px);line-height:1.2;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.draw-view[data-style=cards] .person-card .brand-logo{width:62px;height:14px;flex-shrink:0;margin-bottom:5px}
.draw-view[data-style=cards] .person-card .card-position{font-size:11px;line-height:1.1}
.draw-view[data-style=cards] .person-card small{font-size:10px;line-height:1.2;margin-top:4px}
.draw-view[data-style=cards] .cards[data-density=compact] .person-card{padding:3px;gap:2px}
.draw-view[data-style=cards] .cards[data-density=compact] :is(.brand-logo,small){display:none}
.draw-view[data-style=cards] .cards[data-density=numbers] .person-card{padding:1px;gap:0}
.draw-view[data-style=cards] .cards[data-density=numbers] .person-card>*{display:none}
.draw-view[data-style=cards] .cards[data-density=numbers] .person-card:before{content:attr(data-slot);font:600 var(--fit-number,12px)/1 Poppins,'Noto Sans TC','Microsoft JhengHei',sans-serif;color:inherit}
.draw-view[data-style=cards] .cards[data-density=numbers] .person-card.revealed:before{color:var(--blue)}
.draw-view[data-style=cards] .cards[data-density=numbers] .person-card.inspected:before{color:var(--muted)}
.draw-view[data-style=cards] .person-card:focus-visible{outline-offset:-3px;outline:2px solid var(--blue)}
.draw-view[data-style=cards] .spotlight{flex-shrink:0;min-height:48px;margin-top:4px;gap:2px;padding:4px 0}
.draw-view[data-style=cards] .spotlight strong{font-size:23px;line-height:1.15;max-width:100%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.draw-view[data-style=cards] .spotlight>span{font-size:12px}
.draw-view[data-style=cards] footer{min-height:24px;padding-top:4px;gap:8px;font-size:11px}
.draw-view .all-winners{width:calc(100vw - 40px);max-width:1600px;height:calc(100dvh - 40px);max-height:none;padding:20px;overflow:visible}
.all-winners[open]{display:flex;flex-direction:column;gap:16px}
.all-winners header{display:flex;align-items:center;gap:16px;flex-shrink:0}.all-winners header h2{margin:0;font-size:22px}.all-winners header>span{color:var(--muted)}.all-winners header button{margin-left:auto}
#all-winners-list{flex:1;min-height:0;padding:3px;margin:0;list-style:none;display:grid;grid-template-columns:repeat(var(--fit-columns,4),minmax(0,1fr));grid-template-rows:repeat(var(--fit-rows,7),minmax(0,1fr));gap:var(--fit-gap,8px)}
#all-winners-list li{display:flex;align-items:center;gap:8px;min-width:0;min-height:0;border-bottom:1px solid var(--line);padding:3px}
#all-winners-list li>span{font-size:12px;color:var(--blue)}#all-winners-list li>div{min-width:0}
#all-winners-list strong{font-size:var(--fit-name,16px);line-height:1.2;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#all-winners-list small{font-size:10px;line-height:1.2;color:var(--muted)}
#all-winners-list[data-density=numbers] small{display:none}
@media(min-width:701px) and (max-height:600px){
  .draw-view[data-style=cards] .stage{padding:6px 16px}
  .draw-view[data-style=cards] .masthead{min-height:28px}.draw-view[data-style=cards] .masthead .brand-logo{width:120px}
  .draw-view[data-style=cards] .quiet{min-height:26px;padding:3px 8px;font-size:11px}
  .draw-view[data-style=cards] .round-title{display:none}.draw-view[data-style=cards] .round-heading{min-height:34px;padding:3px 0}
  .draw-view[data-style=cards] .round-info{display:flex;align-items:center;gap:8px}.draw-view[data-style=cards] .round-info>strong{font-size:21px}
  .draw-view[data-style=cards] .pool-info{margin-left:auto;max-width:none;font-size:11px}.draw-view[data-style=cards] .pool-info b{font-size:21px}
  .draw-view[data-style=cards] .stage-bar{min-height:30px}.draw-view[data-style=cards] .mode-list button{min-height:30px;padding:4px 12px;font-size:13px}
  .draw-view[data-style=cards] #phase-text{font-size:11px}
  .draw-view[data-style=cards] .host-description{display:none}.draw-view[data-style=cards] .host-controls{padding:3px 0}
  .draw-view[data-style=cards] .host-actions{width:100%;justify-content:space-between}.draw-view[data-style=cards] .plan-total{font-size:11px}
  .draw-view[data-style=cards] .stage-content{padding:4px 0 0}.draw-view[data-style=cards] .cards-scene{gap:4px}
  .draw-view[data-style=cards] .lot-prompt{min-height:26px;font-size:11px}
  .draw-view[data-style=cards] .spotlight{min-height:30px;padding:2px 0;margin:0}.draw-view[data-style=cards] .spotlight strong{font-size:16px}.draw-view[data-style=cards] .spotlight>span{font-size:10px}
  .draw-view[data-style=cards] footer{min-height:18px;font-size:10px;padding:2px 0 0}
}
@media(max-width:700px){
  .draw-view[data-style=cards] .stage{padding:8px 12px 6px}
  .draw-view[data-style=cards] .masthead{min-height:32px;gap:8px;flex-wrap:nowrap}
  .draw-view[data-style=cards] .masthead .brand-logo{width:110px}
  .draw-view[data-style=cards] .masthead .connection{order:initial;width:auto;margin-left:auto;font-size:10px}
  .draw-view[data-style=cards] .masthead .quiet{min-height:30px;font-size:10px;padding:5px 7px}
  .draw-view[data-style=cards] .round-heading{display:flex;min-height:48px;gap:12px;padding:6px 0;align-items:center}
  .draw-view[data-style=cards] .round-title{display:none}
  .draw-view[data-style=cards] .round-info{display:flex;align-items:center;gap:6px;min-width:0}
  .draw-view[data-style=cards] .round-info>span{font-size:10px}
  .draw-view[data-style=cards] .round-info>strong{font-size:22px;line-height:1.1;margin:0}
  .draw-view[data-style=cards] .pool-info{margin-left:auto;align-self:center;font-size:10px;max-width:135px;gap:3px}
  .draw-view[data-style=cards] .pool-info b{font-size:21px}
  .draw-view[data-style=cards] .stage-bar{gap:0}.draw-view[data-style=cards] .mode-list button{min-height:32px;padding:5px 8px;font-size:13px}
  .draw-view[data-style=cards] #phase-text{font-size:10px;margin:0;padding:3px 0;line-height:1.3}
  .draw-view[data-style=cards] .host-controls{gap:5px;padding:5px 0}.draw-view[data-style=cards] .host-description{flex:1 1 100%;display:flex;gap:8px;align-items:center}
  .draw-view[data-style=cards] .host-description b{font-size:11px;white-space:nowrap}.draw-view[data-style=cards] .host-description p{font-size:10px;margin:0;line-height:1.25}
  .draw-view[data-style=cards] .host-actions{width:100%;flex-wrap:nowrap;gap:6px}.draw-view[data-style=cards] .plan-total{flex:1;font-size:10px}
  .draw-view[data-style=cards] .host-actions .quiet{min-height:28px;font-size:10px;padding:4px 6px}
  .draw-view[data-style=cards] .stage-content{padding-top:6px}.draw-view[data-style=cards] .cards-scene{gap:5px}
  .draw-view[data-style=cards] .lot-prompt{font-size:11px;line-height:1.3;gap:8px}
  .draw-view[data-style=cards] .lot-prompt .quiet{font-size:10px;padding:4px 7px}
  .draw-view[data-style=cards] .spotlight{min-height:42px;padding:2px 0}.draw-view[data-style=cards] .spotlight strong{font-size:18px}.draw-view[data-style=cards] .spotlight>span{font-size:10px}
  .draw-view[data-style=cards] footer{min-height:20px;font-size:10px;flex-wrap:nowrap}.draw-view[data-style=cards] footer .animation-note{display:none}
  .draw-view .all-winners{width:calc(100vw - 20px);height:calc(100dvh - 20px);padding:10px}.all-winners[open]{gap:8px}.all-winners header{gap:8px}.all-winners header h2{font-size:16px}.all-winners header>span{font-size:12px}
  #all-winners-list li{gap:4px;padding:1px}#all-winners-list li>span{font-size:10px}
}

/* The reel must not be flex-shrunk by the old wheel-height mobile rule. */
body.draw-view[data-style=slots] .slots-scene{height:auto;min-height:0}
body.draw-view[data-style=slots] .slot-window{flex-shrink:0}

/* Reveal feedback only: the saved name is readable from frame one, with no waiting. */
body.draw-view[data-style=cards] .person-card[data-reveal-fx=winner]{animation:card-reveal .36s cubic-bezier(.2,.8,.3,1);z-index:1}
body.draw-view[data-style=cards] .person-card[data-reveal-fx=winner]:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 30%,color-mix(in srgb,var(--text) 24%,transparent) 49%,transparent 68%);animation:card-sheen .36s ease-out}
body.draw-view[data-style=cards] .person-card[data-reveal-fx=inspect]{animation:card-inspect .18s ease-out}
@keyframes card-reveal{0%{transform:perspective(700px) rotateY(-34deg) scale(.95);box-shadow:inset 0 0 0 2px var(--blue)}55%{transform:perspective(700px) rotateY(5deg) scale(1.02);box-shadow:inset 0 0 24px color-mix(in srgb,var(--blue) 28%,transparent)}100%{transform:none;box-shadow:none}}
@keyframes card-sheen{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@keyframes card-inspect{from{opacity:.65;transform:scale(.97)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){body.draw-view[data-style=cards] .person-card[data-reveal-fx],body.draw-view[data-style=cards] .person-card[data-reveal-fx]:after{animation:none}}
body.draw-view[data-motion=reduced][data-style=cards] .person-card[data-reveal-fx],body.draw-view[data-motion=reduced][data-style=cards] .person-card[data-reveal-fx]:after{animation:none}
