/* ========================================================================
   The Lux Club -- POC stylesheet
   Light, modern, editorial. Cream ground, near-black ink, burgundy accent,
   high-contrast serif display. System fonts only (works fully offline).
   ===================================================================== */

:root {
  --cream: #f7f4ef;
  --cream-2: #fbf9f5;
  --paper: #ffffff;
  --ink: #1a1714;
  --ink-soft: #4a453f;
  --muted: #6b6258;
  --line: #e5e0d7;
  --line-strong: #d6cfc2;
  --wine: #7a2230;
  --wine-deep: #5f1a25;
  --wine-soft: #9a4451;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 24px 60px rgba(40, 30, 20, 0.10);
  --shadow-sm: 0 10px 30px rgba(40, 30, 20, 0.07);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.3px; margin: 0; }

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.btn:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.nav-link:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; border-radius: 2px; }
.auth-form input:focus-visible { outline: 2px solid var(--wine); outline-offset: 0; border-color: var(--wine); }
.stage-scene.surface:focus-visible { outline: 3px solid var(--wine); outline-offset: -3px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 3.5px; font-size: 12px;
  color: var(--wine); font-weight: 600; margin: 0 0 18px;
}
.eyebrow.center, .center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 239, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: baseline; gap: 9px; }
.brand-mark { color: var(--wine); font-size: 13px; }
.brand-name { font-family: var(--serif); letter-spacing: 4px; font-size: 17px; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  color: var(--ink-soft); font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; transition: color .2s; position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--wine); }
.nav .who { color: var(--wine); font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; }
.pill { background: var(--wine); color: #fff; border-radius: 20px; padding: 1px 8px; font-size: 11px; font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; border: 1px solid transparent;
  padding: 15px 30px; font-size: 12.5px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; transition: transform .12s ease, background .2s, color .2s, border-color .2s;
  font-family: var(--sans);
}
.btn:active { transform: translateY(1px); }
.btn.block { display: block; width: 100%; text-align: center; }
.btn-solid { background: var(--cream-2); color: var(--wine); border-color: var(--cream-2); }
.btn-solid:hover { background: #fff; }
.btn-wine { background: var(--wine); color: #fff; border-color: var(--wine); }
.btn-wine:hover { background: var(--wine-deep); border-color: var(--wine-deep); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-line { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-line:hover { border-color: var(--wine); color: var(--wine); }
.btn-ghost { background: transparent; border: none; color: var(--muted); padding: 8px 4px; letter-spacing: 1.5px; }
.btn-ghost:hover { color: var(--wine); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.btn-sm { padding: 7px 14px; font-size: 11px; letter-spacing: 1.2px; }
.btn-lg { padding: 17px 40px; }

.link-arrow {
  color: var(--wine); font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: gap .2s;
}
.link-arrow:hover { gap: 13px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 82vh; min-height: 560px; max-height: 860px; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.on { opacity: 1; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media, .hero-media .hero-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* legibility wash over photographic slides (SVG hero has its own vignette) */
.hero-tint { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,20,24,0.55) 0%, rgba(13,20,24,0.25) 42%, rgba(13,20,24,0) 72%); }
.hero-inner {
  position: relative; z-index: 2; height: 100%; max-width: 1200px; margin: 0 auto;
  padding: 0 28px; display: flex; flex-direction: column; justify-content: center;
}
.hero-head { color: #fff; font-size: clamp(48px, 8vw, 104px); font-weight: 500; max-width: 12ch; text-shadow: 0 2px 30px rgba(0,0,0,0.25); transition: opacity .35s ease; }
.hero-head.fading { opacity: 0; }
.hero-sub { color: rgba(255,255,255,0.9); letter-spacing: 1px; font-size: 17px; margin: 26px 0 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.carousel-dots { display: flex; gap: 10px; margin-top: 60px; }
.carousel-dots span { width: 34px; height: 2px; background: rgba(255,255,255,0.4); cursor: pointer; transition: background .2s; }
.carousel-dots span.on { background: #fff; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 5vw, 52px); }
.section-head p { color: var(--muted); margin: 14px auto 0; max-width: 560px; }
.section-alt { background: var(--cream-2); }

/* ---------- Competition cards (prize-led) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 44px 40px; }
.comp-card { display: block; }
.comp-card-media {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  background: #efe9e2; box-shadow: var(--shadow-sm);
}
.comp-card-media .prize-svg,
.comp-card-media .prize-photo { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.comp-card:hover .prize-svg,
.comp-card:hover .prize-photo { transform: scale(1.03); }
.cat-tag {
  position: absolute; left: 16px; top: 16px; background: #fff; color: var(--ink);
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700;
  padding: 7px 13px;
}
.sold-out-tag {
  position: absolute; right: 16px; top: 16px; background: var(--wine); color: #fff;
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700;
  padding: 7px 13px; border-radius: 3px;
}
.comp-card-body { display: block; padding: 22px 2px 0; }
.brand-label { display: block; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.comp-card-body h3 { font-size: 27px; margin: 8px 0 16px; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.est { font-size: 15px; color: var(--ink-soft); }
.est strong { font-weight: 700; color: var(--ink); }
.entry-price { font-size: 12px; letter-spacing: 1.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-enter { display: inline-flex; margin-top: 18px; }
.progress { display: block; height: 3px; background: var(--line); overflow: hidden; margin-top: 18px; }
.progress > span { display: block; height: 100%; background: var(--wine); }
.card-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; font-size: 12px; color: var(--muted); }
.countdown { font-variant-numeric: tabular-nums; }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.how-step { text-align: center; }
.how-step .num { font-family: var(--serif); font-size: 40px; color: var(--wine); display: block; margin-bottom: 12px; }
.how-step h4 { font-size: 20px; margin-bottom: 8px; }
.how-step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Split / feature band ---------- */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.band-media { min-height: 420px; overflow: hidden; }
.band-media .scene-svg, .band-media .prize-svg, .band-media .band-photo { width: 100%; height: 100%; display: block; object-fit: cover; }
.band-copy { padding: 72px; display: flex; flex-direction: column; justify-content: center; }
.band-copy h2 { font-size: 40px; margin-bottom: 18px; }
.band-copy p { color: var(--ink-soft); margin-bottom: 26px; max-width: 46ch; }

/* ---------- Auth / join ---------- */
.narrow { max-width: 520px; }
.auth-card { background: var(--paper); border: 1px solid var(--line); padding: 48px 44px; box-shadow: var(--shadow-sm); }
.auth-card h2 { font-size: 34px; margin: 8px 0 10px; }
.auth-form { display: grid; gap: 18px; margin: 30px 0 18px; }
.auth-form label { display: grid; gap: 8px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.auth-form input {
  background: var(--cream); border: 1px solid var(--line-strong); border-radius: 0;
  padding: 14px 15px; color: var(--ink); font-size: 15px; font-family: var(--sans);
}
.auth-form input:focus { outline: none; border-color: var(--wine); }
.auth-form .hint { text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 12px; font-weight: 400; }
.form-error { background: #fbeaea; border: 1px solid #e3b9b9; color: #8a2b2b; padding: 12px 16px; text-align: center; font-size: 14px; }

/* Entry confirmation */
.auth-card.center { text-align: center; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tick { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; font-size: 28px; }
.confirm-list { list-style: none; margin: 28px 0 20px; padding: 0; text-align: left; }
.confirm-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.confirm-list li span { color: var(--muted); }
.confirm-list li strong { font-family: var(--serif); }
.sealed { color: var(--muted); font-size: 13.5px; }

/* ---------- Site password gate ---------- */
.gate-body {
  display: flex; align-items: center; justify-content: center; min-height: 100vh;
  margin: 0; background: linear-gradient(160deg, #14100d, #241a1c 55%, #3a2226);
  font-family: var(--sans);
}
.gate-card { background: var(--paper); padding: 56px 44px; width: 100%; max-width: 380px; box-shadow: var(--shadow); text-align: center; }
.gate-brand { font-family: var(--serif); letter-spacing: 0.14em; }
.gate-brand .brand-mark { color: var(--wine); font-size: 20px; }
.gate-brand .brand-name { display: block; margin-top: 8px; font-size: 1.05rem; }
.gate-tagline { color: var(--muted); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin: 10px 0 32px; }
.gate-card .auth-form { margin: 0; }
.gate-card input { text-align: center; letter-spacing: 1px; }
.gate-card .form-error { margin-bottom: 18px; }

/* ---------- Play stage ---------- */
.play-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 10px; }
.play-head h2 { font-size: 40px; margin: 6px 0; }
.play-head .brand-label { color: var(--wine); }
.play-facts { display: flex; gap: 34px; }
.play-facts strong { font-family: var(--serif); font-size: 24px; display: block; }
.play-facts span { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.prompt-line { color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--wine); padding: 16px 20px; margin: 20px 0 22px; font-size: 15px; }

/* "Find the ..." instruction callout */
.spot-callout { display: flex; align-items: center; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--wine); padding: 16px 20px; margin: 20px 0 22px; }
.spot-callout p { margin: 0; font-size: 15px; color: var(--ink); }
.spot-callout .spot-step { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 16px; }

.stage { border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); background: #eef1f2; }
.stage-scene { position: relative; aspect-ratio: 1200 / 750; overflow: hidden; }
.stage-scene.surface { cursor: crosshair; touch-action: none; -webkit-touch-callout: none; }
.stage-scene.surface.dragging { cursor: none; }
.stage-scene .scene-svg,
.stage-scene .scene-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.crosshint {
  position: absolute; left: 50%; top: 16px; transform: translateX(-50%);
  background: rgba(255,255,255,0.92); border: 1px solid var(--line); color: var(--wine);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700;
  padding: 7px 16px; pointer-events: none; z-index: 3;
}

/* tap markers (a positioned pin, works over a photo or the SVG fallback) */
.line-layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.reveal-link { stroke: rgba(255,255,255,0.85); stroke-width: 0.5; stroke-dasharray: 2 2; vector-effect: non-scaling-stroke; }
.pin { position: absolute; width: 0; height: 0; transform: translate(-50%, -50%); pointer-events: none; z-index: 2; transition: opacity .15s ease; }
.pin.hidden { display: none; }
.pin-ring, .pin-dot { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); transition: transform .15s ease, box-shadow .15s ease; }
.pin-ring { width: 26px; height: 26px; border: 1.5px solid var(--wine); opacity: 0.8; box-shadow: 0 0 0 2px rgba(255,255,255,0.55); }
.pin-dot { width: 8px; height: 8px; background: var(--wine); border: 1.5px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.35); }
.pin.judged .pin-ring { border-color: #1f7a52; }
.pin.judged .pin-dot { background: #1f7a52; }
.pin-index {
  position: absolute; left: 50%; top: -24px; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%; background: var(--wine); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
  box-shadow: 0 0 0 2px #fff;
}

/* multi-guess pages: selecting a table row makes its pin stand out without
   hiding the others -- only the guess pins recede, the judged/target pin
   (the answer reference) always stays at full strength */
.stage-scene.has-selection .pin:not(.judged):not(.selected) { opacity: 0.4; }
.pin.selected { z-index: 4; }
.pin.selected .pin-ring { transform: translate(-50%, -50%) scale(1.35); box-shadow: 0 0 0 3px rgba(255,255,255,0.9), 0 0 10px 2px rgba(122,34,48,0.55); }
.pin.selected .pin-dot { transform: translate(-50%, -50%) scale(1.3); }
.pin.selected .pin-index { background: var(--wine-deep); box-shadow: 0 0 0 2px #fff, 0 0 8px 2px rgba(122,34,48,0.6); }

/* thin crosshair shown only while actively fine-tuning a placement */
.pin-cross-h, .pin-cross-v { position: absolute; background: var(--wine); transform: translate(-50%, -50%); box-shadow: 0 0 0 1px rgba(255,255,255,0.9); display: none; }
.pin-cross-h { width: 22px; height: 1px; }
.pin-cross-v { width: 1px; height: 22px; }
.pin.dragging .pin-ring,
.pin.dragging .pin-dot { display: none; }
.pin.dragging .pin-cross-h,
.pin.dragging .pin-cross-v { display: block; }

/* ---------- Magnifier loupe (drag-to-fine-tune) ---------- */
:root { --loupe-d: 160px; }
.loupe {
  position: fixed; top: 0; left: 0; width: var(--loupe-d); height: var(--loupe-d);
  pointer-events: none; z-index: 60; display: none; border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--wine), 0 10px 30px rgba(0,0,0,0.35);
  will-change: transform;
}
.loupe.active { display: block; }
.loupe-clip { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #eef1f2; }
.loupe-content { position: absolute; top: 0; left: 0; will-change: transform; }
.loupe-content .scene-photo,
.loupe-content .scene-svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.loupe-crosshair { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; pointer-events: none; }
.loupe-crosshair::before, .loupe-crosshair::after { content: ""; position: absolute; background: var(--wine); }
.loupe-crosshair::before { left: -9px; top: 0; width: 18px; height: 1px; }
.loupe-crosshair::after  { left: 0; top: -9px; width: 1px; height: 18px; }

/* stand-in for the native cursor, shown at the placed point right after a
   drag ends -- browsers won't let a page warp the real OS cursor, so this
   is the closest approximation until real mouse movement hands back to it */
.ghost-cursor {
  position: fixed; top: 0; left: 0; width: 0; height: 0;
  pointer-events: none; z-index: 70; display: none;
}
.ghost-cursor.active { display: block; }
.ghost-cursor::before, .ghost-cursor::after { content: ""; position: absolute; background: var(--wine); box-shadow: 0 0 0 1px rgba(255,255,255,0.9); }
.ghost-cursor::before { left: -10px; top: -0.5px; width: 20px; height: 1px; }
.ghost-cursor::after  { left: -0.5px; top: -10px; width: 1px; height: 20px; }

/* ---------- Entry form ---------- */
.entry-form { margin-top: 24px; }
.entry-readout { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.entry-readout b { color: var(--wine); font-family: var(--serif); }
.entry-readout .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: inline-block; }
.entry-readout .dot.on { background: var(--wine); }
.entry-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.entry-actions.stacked { flex-direction: column; align-items: stretch; }

/* ---------- Result ---------- */
.result-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.result-grid.compact-panel { grid-template-columns: 2.3fr 1fr; }
.result-stage .stage-scene { border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); }
.entries-table.compact { min-width: 0; }
.entries-table.compact th, .entries-table.compact td { padding: 10px 14px; font-size: 13px; }
.entries-table tr[data-entry-index] { cursor: pointer; }
.entries-table tr[data-entry-index]:hover { background: var(--cream); }
.entries-table tr[data-entry-index].selected { background: #f2e6e8; }
.selection-hint { margin-top: 14px; min-height: 1.2em; }
.legend { display: flex; gap: 24px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.swatch.guess { background: var(--wine); }
.swatch.judged { background: #1f7a52; }
.result-panel { background: var(--paper); border: 1px solid var(--line); padding: 30px; box-shadow: var(--shadow-sm); }
.score-badge { text-align: center; padding: 8px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.score-num { display: block; font-family: var(--serif); font-size: 64px; color: var(--wine); line-height: 1; }
.score-label { text-transform: uppercase; letter-spacing: 2.5px; font-size: 11px; color: var(--muted); }
.stat-list { list-style: none; margin: 0 0 24px; padding: 0; }
.stat-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.stat-list li span { color: var(--muted); }
.stat-list li strong { font-family: var(--serif); }

.code { background: var(--ink); border-radius: 4px; padding: 18px; overflow-x: auto; color: #ece7de; font-family: "SF Mono", "Cascadia Code", Consolas, monospace; font-size: 13px; }

/* ---------- Live judging (mock stream) ---------- */
.live-stage { max-width: 900px; margin: 0 auto; }
.live-media { position: relative; overflow: hidden; border: 1px solid var(--line); background: #05040a; box-shadow: var(--shadow); }
.live-media .scene-svg, .live-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.live-scrim { position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(0,0,0,0.15), rgba(0,0,0,0.55)); }
.live-badge { position: absolute; left: 16px; top: 16px; background: var(--wine); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 2px; padding: 6px 12px; border-radius: 3px; display: inline-flex; align-items: center; gap: 6px; }
.live-badge.replay { background: rgba(20,18,24,0.82); }
.play-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; border: none; background: rgba(255,255,255,0.92); color: var(--wine); font-size: 26px; padding-left: 6px; cursor: pointer; box-shadow: 0 8px 30px rgba(0,0,0,0.35); transition: transform .15s ease, background .2s; }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.06); background: #fff; }
.play-btn-inert { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; background: rgba(255,255,255,0.5); color: var(--wine); font-size: 26px; padding-left: 6px; display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0,0,0,0.35); }
.live-caption { position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: 13px; letter-spacing: 0.4px; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.center.small { text-align: center; }

.judge-panel { max-width: 900px; margin: 48px auto 0; border-top: 1px solid var(--line); padding-top: 34px; }
.judge-panel h3 { font-size: 26px; margin-bottom: 8px; }
.judge-panel > p { color: var(--muted); max-width: 60ch; margin-bottom: 26px; }
.judge-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.judge { display: flex; align-items: center; gap: 14px; }
.judge-avatar { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 22px; color: var(--wine); background: linear-gradient(135deg, #f3ede4, #e7ddcf); }
.judge-meta { display: flex; flex-direction: column; }
.judge-meta strong { font-family: var(--serif); font-size: 16px; }
.judge-meta span { color: var(--muted); font-size: 12.5px; }

/* ---------- Account ---------- */
.account-stats { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.account-stats div { background: var(--paper); border: 1px solid var(--line); padding: 24px 30px; min-width: 160px; }
.account-stats strong { font-family: var(--serif); font-size: 30px; display: block; }
.account-stats span { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper); }
.entries-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.entries-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); padding: 15px 18px; border-bottom: 1px solid var(--line); }
.entries-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.entries-table tr:last-child td { border-bottom: none; }
.entries-table tr[data-href] { cursor: pointer; }
.entries-table tr[data-href]:hover { background: var(--cream); }
.mono { font-family: "SF Mono", Consolas, monospace; font-size: 13px; }
.score-chip { background: #f2e6e8; color: var(--wine); padding: 3px 12px; font-weight: 700; font-size: 13px; }
.link { color: var(--wine); font-weight: 600; }
.link:hover { text-decoration: underline; }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }
.empty p { margin-bottom: 20px; }

/* ---------- Winners ---------- */
.winner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.winner-card { background: var(--paper); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); }
.winner-media { position: relative; aspect-ratio: 3 / 2; background: #efe9e2; overflow: hidden; }
.winner-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Scoped to .winner-media so the absolute-fill styling only applies inside a
   winners-grid card. The class is reused elsewhere (admin thumbnails, the
   public winner profile header); leaving this rule unscoped made those reuses
   inherit position:absolute/inset:0 and paint full-area translucent overlays. */
.winner-media .winner-monogram { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 64px; color: var(--wine); opacity: 0.55; background: linear-gradient(135deg, #f3ede4, #e7ddcf); }
.winner-body { padding: 24px 26px 26px; }
.winner-card .brand-label { color: var(--wine); }
.winner-card h3 { font-size: 24px; margin: 10px 0 6px; }
.winner-card .who-line { color: var(--muted); font-size: 14px; }
.winner-card .month { margin-top: 16px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- About ---------- */
.prose { max-width: 680px; margin: 0 auto; }
.prose p { color: var(--ink-soft); font-size: 17px; margin-bottom: 22px; }
.prose h3 { font-size: 26px; margin: 40px 0 14px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: 19px; position: relative; padding-right: 30px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--wine); font-size: 20px; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--ink-soft); font-size: 16px; margin: 14px 0 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 20px; background: var(--cream-2); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 44px; }
.footer-brand .brand-name { font-size: 20px; }
.footer-brand p { color: var(--muted); max-width: 320px; font-size: 14px; margin-top: 14px; }
.newsletter { max-width: 380px; }
.newsletter h4 { font-size: 20px; margin-bottom: 12px; }
.newsletter-row { display: flex; border: 1px solid var(--line-strong); background: var(--paper); }
.newsletter-row input { flex: 1; border: none; padding: 13px 15px; font-size: 14px; font-family: var(--sans); background: transparent; }
.newsletter-row input:focus { outline: none; }
.newsletter-row button { border: none; background: var(--wine); color: #fff; padding: 0 20px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; cursor: pointer; }
.newsletter-placeholder { display: block; padding: 13px 15px; font-size: 13px; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: var(--muted); font-size: 12.5px; margin: 0; max-width: 640px; }

/* ---------- Hamburger ---------- */
.hamburger {
  display: none; background: none; border: none; font-size: 26px;
  color: var(--ink); cursor: pointer; padding: 4px 8px; line-height: 1;
}
@media (max-width: 880px) {
  .hamburger { display: block; z-index: 52; }
  .hamburger.open { color: var(--wine); }
  .nav {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--cream); flex-direction: column; gap: 0; z-index: 51;
    padding: 90px 28px 40px; overflow-y: auto; align-items: flex-start;
  }
  .nav.open { display: flex; }
  .nav-link { font-size: 16px; padding: 16px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .btn-ghost { padding: 16px 0; }
  .nav .btn-wine { width: 100%; text-align: center; margin-top: 12px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-head { transition: none; }
  .comp-card:hover .prize-svg,
  .comp-card:hover .prize-photo { transform: none; }
  .link-arrow:hover { gap: 8px; }
  .btn { transition: none; }
  .btn:active { transform: none; }
  .nav-link { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .result-grid { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .band-copy { padding: 48px 28px; }
  .play-head { flex-direction: column; align-items: flex-start; }
  .nav { gap: 18px; }
  .section { padding: 64px 0; }
  :root { --loupe-d: 130px; }
}
