/* "Waiting for the CA" overlay and the owner's hidden CA form (js/slot.js). */
#slot { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; padding: 16px; background: radial-gradient(ellipse at 50% 45%, rgba(21,14,34,.35), rgba(12,8,20,.78)); }
#slot[hidden] { display: none; }
.slot-card { position: relative; width: min(440px, 100%); text-align: center; background: var(--panel, #1e1530); border: 3px solid var(--edge, #1a0d06); border-radius: 20px; padding: 24px 22px 20px; box-shadow: 0 8px 0 var(--edge, #1a0d06), 0 20px 50px rgba(0,0,0,.5); }
.slot-acorn { font-size: 44px; line-height: 1; animation: slotBob 2.4s ease-in-out infinite; }
.slot-card h2 { font: 400 34px/1 var(--display, 'Lilita One', sans-serif); color: var(--acorn-2, #ffb347); margin: 10px 0 8px; letter-spacing: .02em; }
.slot-sub { margin: 6px 0; font-weight: 800; line-height: 1.45; opacity: .9; }
.slot-sub a { color: #7ee0ff; }
.slot-form { display: grid; gap: 6px; margin-top: 14px; text-align: left; }
.slot-form label { font: 900 11px/1 var(--body, sans-serif); letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.slot-form input { font: 800 15px/1.2 var(--body, sans-serif); padding: 11px 12px; border-radius: 10px; border: 2px solid var(--edge, #1a0d06); background: rgba(0,0,0,.35); color: inherit; width: 100%; box-sizing: border-box; }
.slot-form input:focus-visible { outline: 2px solid #7ee0ff; outline-offset: 1px; }
.slot-form .btn { margin-top: 8px; justify-content: center; }
.slot-clear { background: none; border: 0; color: inherit; opacity: .6; font: 800 12px/1 var(--body, sans-serif); text-decoration: underline; cursor: pointer; padding: 6px; }
.slot-status { min-height: 1.3em; margin: 4px 0 0; font-weight: 800; font-size: 13px; color: #ffd166; }
.slot-lock { position: absolute; right: 8px; bottom: 6px; background: none; border: 0; font-size: 13px; opacity: .14; cursor: pointer; padding: 6px; }
.slot-lock:hover, .slot-lock:focus-visible { opacity: .6; }
/* while waiting, the market widgets have nothing to show: hide the noise behind the overlay */
body.slot-waiting #side, body.slot-waiting #bar, body.slot-waiting #progress, body.slot-waiting #m-trade { visibility: hidden; }
body.stream #slot:not(.owner) .slot-lock { display: none; }
@keyframes slotBob { 50% { transform: translateY(-6px) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .slot-acorn { animation: none; } }
@media (max-width: 640px) { .slot-card h2 { font-size: 28px; } .slot-card { padding: 20px 16px 16px; } }
.slot-form .btn + .btn { margin-top: 2px; }
.slot-exit { position: fixed; left: 50%; top: 10px; transform: translateX(-50%); z-index: 46; font: 900 11px/1 var(--body, sans-serif); letter-spacing: .08em; padding: 7px 12px; border-radius: 999px; border: 2px solid var(--edge, #1a0d06); background: #ffd166; color: #1a0d06; cursor: pointer; }
/* Stream mode (OBS) before launch: never cover Nutty. The overlay becomes a slim top banner and the scene stays live. */
body.stream #slot:not(.owner) { inset: auto 0 auto 0; top: 16px; background: none; padding: 0; pointer-events: none; }
body.stream #slot:not(.owner) .slot-card { width: auto; max-width: 900px; margin: 0 auto; padding: 12px 26px; display: flex; align-items: center; gap: 16px; text-align: left; border-radius: 999px; }
body.stream #slot:not(.owner) .slot-acorn { font-size: 34px; }
body.stream #slot:not(.owner) .slot-card h2 { font-size: 34px; margin: 0; white-space: nowrap; }
body.stream #slot:not(.owner) .slot-sub { margin: 0; font-size: 18px; }
body.stream #slot:not(.owner) .slot-sub:first-of-type { display: none; }
body.stream.slot-waiting #side, body.stream.slot-waiting #progress { visibility: visible; }
