/* Approved UX review: preserve Toybox materials, shorten the path to actions. */
#app{overflow:clip}
#app .heading .disk[data-action=room-menu]{font-size:18px}
.join-first h2{font-size:24px}.join-first p{font-size:15px}.host-heading{margin:8px 0 0}
.grid .tile{min-height:174px}.grid .tile img{height:100px}.grid .tile span{font-size:18px}.grid .tile small{font-size:11px}
.lobby-entry{display:grid;gap:12px}.lobby-entry .room-code{font-size:36px;line-height:1.2;margin:0}.lobby-entry .eyebrow{margin-bottom:4px}
.lobby-entry{grid-template-columns:minmax(0,1fr) auto;gap:8px}.lobby-entry .invite-options{grid-column:2;grid-row:1;align-self:center}.lobby-entry .invite-options[open]{grid-column:1/-1;grid-row:auto}.lobby-entry>.btn,.lobby-entry>.notice,.lobby-entry>.sale-length{grid-column:1/-1;margin:0}
.lobby-roster .seat-list{gap:0}.lobby-roster .seat-list li{padding-block:4px}
.invite-options{min-width:0}.invite-options>summary{min-height:44px}.invite-options .stack{margin-top:12px}
.lobby-roster .seat-list li{position:relative;display:flex;align-items:center;gap:8px;min-height:52px;padding:4px 0;flex-wrap:wrap}
.lobby-roster .seat-name{flex:1;min-width:0}.lobby-roster .seat-name small{font-size:11px}.lobby-roster .seat-value{display:none}
.player-options{flex:0 0 44px;position:relative}.player-options>summary{width:44px;min-height:44px;justify-content:center;list-style:none;font-size:18px}.player-options>summary::before{display:none}
.player-options[open]{flex-basis:100%}.player-options[open]>summary{margin-left:auto}.player-options .seat-controls{margin:0 0 8px;display:flex;flex-wrap:wrap}.player-options .seat-controls button{flex:1;min-width:80px}
.room-menu .switch{margin:16px 0;min-height:44px;font-size:16px}.room-menu .switch input{flex:0 0 24px}
#app[data-phase=bidding] .lot-stage{min-height:132px;height:132px;padding:4px 12px 22px}
#app[data-phase=bidding] .lot-stage img{height:112px;width:170px}
#app[data-phase=bidding] .lot-stage::after{height:22px;bottom:5px}
#app[data-phase=bidding] .lot-stage::before{bottom:3px;height:10px}
.bid-dock.card{position:sticky;bottom:0;z-index:4;margin:0 -12px -12px;border:0;border-top:3px solid var(--woodLight);border-radius:0;background:var(--woodDark);padding:10px 12px max(12px,env(safe-area-inset-bottom));box-shadow:0 -5px 12px var(--shadow);color:var(--cardCream)}
.bid-dock .clock{border-radius:20px;background:var(--cardCream);color:var(--inkBrown);padding:2px 8px;font-size:14px;white-space:nowrap}
.bid-dock .dock-budget{font-size:14px}.bid-dock .stack{gap:6px}.bid-dock .stepper{margin-top:8px;grid-template-columns:48px minmax(0,1fr) 48px;gap:8px}
.bid-dock .stepper .btn,.bid-dock .stepper input{min-height:48px;height:48px;padding:4px;font-size:25px}
.bid-dock .bid-format{color:var(--cardCream);font-size:14px;margin:0;line-height:1.3}.bid-dock .muted{color:var(--cardCream)}
.dock-actions{display:grid;grid-template-columns:minmax(0,1fr) 105px;gap:8px}.bid-dock .dock-actions .btn{min-height:52px;padding:8px;font-size:16px}
.bid-dock .confirmed{color:var(--cardCream)}.valuation-stage{min-height:145px;height:145px;padding:4px 12px 25px}.valuation-stage img{height:120px}
html:has(.bid-dock){scroll-padding-bottom:var(--dock-clearance,260px)}.lot-provenance{scroll-margin-bottom:var(--dock-clearance,260px)}
.short-viewport .bid-dock.card{position:static}html:has(.short-viewport){scroll-padding-bottom:0}
.valuation-stage::after{height:24px;bottom:8px}.lot-provenance{text-align:left}
@media(max-height:500px){.bid-dock.card{position:static}}
@media(min-width:600px){.bid-dock.card{margin:0 -16px -16px}}

/* Social actions stay above the reading area, separate from the bid dock. */
.reaction-bar{position:sticky;top:0;z-index:6;background:var(--woodDark);padding:4px 8px;color:var(--white);border-bottom:2px solid var(--brass)}
.reaction-bar .reaction-tray{display:flex;gap:8px;overflow-x:auto;padding:4px 0;margin:0;scrollbar-width:thin}
.reaction-bar .btn{flex:0 0 auto;width:auto;min-height:44px;font-size:14px;padding:8px 12px;white-space:nowrap}
html:has(.reaction-bar){scroll-padding-top:100px}
.reaction-latest{font-size:12px;margin:2px 4px 4px;color:var(--white);overflow-wrap:anywhere}
.collection-summary.card{padding:12px 16px}.collection-summary summary{font-size:16px}.collection-summary summary small{display:block;font-size:13px;font-weight:400;margin-top:4px}
.collection-objects{padding:0;list-style:none;display:grid;gap:8px}.collection-objects li{display:flex;gap:12px;align-items:center;overflow-wrap:anywhere}.collection-objects img{width:48px;height:48px;object-fit:contain}
.closing-story{border:3px solid var(--brass)}.story-verdict{font-size:22px;font-weight:800}.closing-story li{margin-block:12px}
/* All sealed bids flip together. The hammer follows, without delaying protocol. */
.bid-reveal .flip{animation-delay:500ms;animation-duration:650ms}
.reveal-theatre .hammer{animation-delay:1400ms;animation-duration:650ms}
.reveal-theatre .reveal-note{animation-duration:2200ms}
.short-viewport .reaction-bar{position:static}
@media(max-height:500px){.reaction-bar{position:static}}

.reaction-bar .btn{width:44px;min-width:44px;padding:4px;font-size:25px;line-height:1}.reaction-bar .btn[aria-busy=true]::after{position:absolute;width:10px;height:10px;right:0;bottom:0}
.job-finale{display:grid;gap:24px}.job-finale .reveal-theatre{padding:24px 16px}.job-finale .reveal-theatre img{object-fit:contain}.job-finale .reveal-theatre p{color:var(--white);background:var(--stageDark);border-radius:8px;padding:8px}.job-chapter{animation:chapter-arrival 650ms var(--ease) both;animation-delay:calc(var(--chapter)*180ms)}.job-chapter h2{font-size:28px}.job-narrative{font-size:21px;line-height:1.65}.job-turning-point{border-top:2px solid var(--brass);padding-top:12px}.job-champion{border:3px solid var(--brass)}.job-champion .champions-banner strong{display:block;font-size:30px;margin-top:12px}.job-chapter details{margin-top:24px;font-size:14px}@keyframes chapter-arrival{from{opacity:1;transform:translateY(14px)}to{opacity:1;transform:none}}

.job-finale .reveal-theatre .job-finale-art{display:block;width:100%;height:auto;border-radius:16px;margin-bottom:20px}.art-off .job-finale .job-finale-art{display:none}

.bid-dock .dock-actions{display:block}.bid-dock .pass-row{display:flex;justify-content:flex-start;margin-top:16px;padding-top:12px;border-top:1px solid var(--brass)}.bid-dock .pass-row .btn{width:auto;max-width:60%;min-height:44px;font-size:14px;padding:8px 14px}

.island-story{text-align:left}.story-turn{margin-block:24px}.story-turn h3{font-size:20px;color:var(--inkBrown);margin-bottom:12px}.story-turn p{font-size:18px;line-height:1.65}.island-story .story-verdict{border-top:2px solid var(--brass);padding-top:20px}
