/* Guido's visual identity; browser surfaces only. */
[hidden] { display: none !important; }
:root {
  --ink: #fff;
  --muted: #cdc3b6;
  --gold: #e2ccb0;
  --gold2: #836849;
  --bg: #2c2926;
  --panel: #403a34;
  --line: #7d7060;
  --green: #61513f;
  --red: #944747;
  font-family: 'Arial Narrow', Tahoma, Arial, sans-serif;
  color-scheme: dark;
}
body.admin-body {
  background: radial-gradient(ellipse at 50% 16%, #806c5d 0%, #4b3528 42%, #25150d 76%, #100805 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
h1, h2, h3, .brand, .draw-ball, .tv-ball {
  font-family: 'Arial Narrow', 'Arial Black', Arial, sans-serif;
  font-weight: 800;
}
.topbar { background: #24211ef2; box-shadow: 0 7px 24px #0005; }
.brand { gap: 12px; }
.brand-logo {
  display: block;
  height: 54px;
  width: auto;
  aspect-ratio: 793 / 609;
  object-fit: contain;
  background: #fff;
  padding: 3px;
  border: 1px solid #e2ccb0;
  border-radius: 6px;
}
.brand-label { font-size: 1rem; color: var(--gold); letter-spacing: .04em; }
.login-logo { display: block; width: 160px; height: auto; margin: 0 auto 24px; }
.panel { background: linear-gradient(135deg, #484037ed, #302a25ed); border-radius: 10px; box-shadow: 0 5px 18px #0005; }
.hero-panel { background: linear-gradient(125deg, #514639, #403a34 62%, #634c37); }
.round-item:hover, .round-item.active { background: #61513f; border-color: #ad9477; }
label { color: #e6ddd2; }
input, select { background: #2e2b28; border-color: #7d7060; color: #fff; }
input::placeholder { color: #b2a697; }
input:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 2px #e2ccb033; outline: none; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
button, .link-button { background: #61513f; }
.primary { background: #836849; color: #fff; box-shadow: 0 3px 10px #0003; }
.primary:hover:not(:disabled) { background: #967657; }
.outline, .link-button { background: transparent; border-color: #ad9477; }
.subtle, .icon-button { background: transparent; }
.section-head { flex-wrap: wrap; }
.main-column, .panel { min-width: 0; }
.ticket-table-wrap { max-width: 100%; }
.stats strong { font-family: 'Arial Black', Arial, sans-serif; }
.status-pill.ok { color: #b7d7b8; border-color: #729373; }
.status-pill.blocked, .warning { color: #ffe0dc; background: #723f3f; border-color: #a96c65; }
.claim-card, .award-card { background: #2e2924; }
.award-card { border-color: #c2a782; }
.result-box { background: #403d2f; color: #f0e8dc; border: 1px solid #9d9277; }
.result-box.error { background: #723f3f; color: #ffe0dc; border-color: #a96c65; }
.activation-feedback { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding: 20px 24px; border: 3px solid; border-radius: 14px; box-shadow: 0 12px 28px #0005; }
.activation-feedback.success { background: #1e593c; border-color: #a9f0ba; color: #fff; }
.activation-feedback.failure { background: #742d2d; border-color: #ffc3b8; color: #fff; }
.activation-symbol { flex: none; display: grid; place-items: center; width: 62px; height: 62px; border: 3px solid currentColor; border-radius: 50%; font: 900 2.5rem Arial, sans-serif; }
.activation-label, .activation-detail { display: block; }
.activation-label { font-size: 1.25rem; font-weight: 900; letter-spacing: .06em; }
.activation-number { display: block; font: 900 clamp(2.2rem, 6vw, 3.8rem) 'Arial Black', Arial, sans-serif; line-height: 1.1; }
.activation-detail { margin-top: 5px; font-size: 1rem; font-weight: 700; }
.draw-ball, .tv-ball {
  background: radial-gradient(circle at 33% 22%, #fff9ec 0%, #e2ccb0 35%, #c0a07b 68%, #836849 100%);
  color: #302015;
}
#toast { background: #e2ccb0; color: #302015; }
#toast.error { background: #944747; color: #fff; }
.checked-cell.hit { background: #e2ccb0; color: #302015; }
.tv-body { background: #25150d; }
.tv-frame { background: radial-gradient(ellipse at 65% 16%, #806c5d 0%, #4b3528 42%, #25150d 76%, #100805 100%); }
.tv-brand .brand-logo { height: 4.3vw; max-height: 90px; padding: .2vw; }
.tv-brand .brand-label { font-size: 1.6vw; }
.tv-status { color: var(--gold); border-color: #ad9477; }
.tv-left h1 { color: #fff5e6; letter-spacing: -.045em; }
.tv-left p:not(.eyebrow) { color: var(--muted); }
.tv-ball { box-shadow: inset -1.4vw -1.4vw 2vw #65472c55, 0 2vw 4vw #0009, 0 0 5vw #e2ccb020; }
.tv-callout { color: #fff5e6; font-family: 'Arial Narrow', Arial, sans-serif; }
.tv-footer { border-color: #ad9477; }
.footer-label { color: var(--muted); }
.number-history span { background: #40372e; border-color: #ad9477; color: #fff5e6; font-family: 'Arial Black', Arial, sans-serif; }
.number-history .latest { background: #e2ccb0; color: #302015; border-color: #e2ccb0; }
.tv-sound { background: #40372e; color: var(--gold); border-color: #ad9477; }
.tv-sound[aria-pressed='true'] { background: #e2ccb0; color: #302015; }
@media (max-width: 600px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .topbar { height: auto; min-height: 76px; flex-wrap: wrap; gap: 12px; padding: 10px 16px; }
  .brand-label { font-size: .9rem; }
  .top-actions { flex-wrap: wrap; }
  input, select { font-size: 16px; }
  .hero-top { flex-wrap: wrap; }
  .inline-form { flex-wrap: wrap; }
  .claim-card, .award-card { overflow-wrap: anywhere; }
  .activation-feedback { padding: 16px; gap: 12px; }
  .activation-symbol { width: 48px; height: 48px; font-size: 1.9rem; }
  .activation-label { font-size: 1rem; }
}

/* Show moments settle into a quiet, readable board. */
.footer-brand .tv-credit { display:block; margin-top:4px; text-align:right; font:400 clamp(9px,.65vw,12px)/1.25 Arial,sans-serif; letter-spacing:normal; color:rgba(255,241,220,.48); }
.tv-frame{position:relative;overflow:hidden}.tv-frame:before{content:"";position:absolute;inset:-20%;background:conic-gradient(from 15deg at 65% 40%,transparent,#e2ccb00b,transparent 30%,#e2ccb012,transparent 65%);pointer-events:none}.tv-frame>*{position:relative}.tv-ball{border:4px solid #fff1ce;box-shadow:inset -1.4vw -1.4vw 2vw #65472c55,0 2vw 4vw #0009,0 0 7vw #e2ccb055}.tv-ball.animate{animation:guidos-draw 1.1s cubic-bezier(.2,.8,.3,1)}@keyframes guidos-draw{0%{transform:translateX(35vw) rotate(210deg) scale(.3);filter:blur(10px);opacity:0}65%{transform:translateX(-1vw) rotate(-10deg) scale(1.08);filter:blur(0);opacity:1}100%{transform:translateX(0) rotate(0) scale(1)}}#tv-win{position:fixed;inset:18% 8%;display:grid;place-items:center;padding:4vw;text-align:center;background:radial-gradient(ellipse,#80613beF,#302015fa);border:3px solid #e2ccb0;border-radius:2vw;box-shadow:0 0 12vw #e2ccb077;font:900 5vw Arial,sans-serif;color:#fff3d3;opacity:0;transform:scale(.85);pointer-events:none;transition:opacity .3s,transform .4s}#tv-win.visible{opacity:1;transform:scale(1)}@media(prefers-reduced-motion:reduce){.tv-ball.animate{animation:none}#tv-win{transition:none}}
