/* ─── Wiki Loves Fútbol — Panini Album ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #000000;
  /* Maremoto brand palette */
  --pink: #fb379f;
  --red: #ff374d;
  --green: #009f57;
  --green-d: #00753f;
  --blue: #4470d4;
  --gold: #fbed4f;   /* brand yellow */
  --amber: #e59635;
  --cream: #f7f1e3;  /* album "paper" */
  --cream2: #fffdf7;
  --ink: #1c1320;
  --muted: #8a7f86;
  --line: rgba(0,0,0,0.1);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,0.18);
  --t: 0.3s cubic-bezier(0.4,0,0.2,1);
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

/* ─── Header ─── */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; gap: 1rem; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: #fff; font-weight: 900; }
.brand-logo { width: 44px; height: 44px; border-radius: 9px; display: block; }
.brand-name { font-size: 1.25rem; letter-spacing: -0.02em; text-transform: uppercase; }
.brand-name em { color: var(--gold); font-style: normal; }
.site-nav { display: flex; align-items: center; gap: 1.1rem; }
.site-nav a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.site-nav a:hover, .site-nav a.on { color: var(--gold); }
.lang-toggle { display: inline-flex; gap: 0.25rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 100px; padding: 0.15rem; }
.lang-toggle a { padding: 0.15rem 0.5rem; border-radius: 100px; font-size: 0.75rem; }
.lang-toggle a.on { background: var(--gold); color: var(--ink); }

/* Signature rainbow accent stripe (matches the on-wiki campaign page) */
.brand-stripe {
  height: 6px; width: 100%;
  background: linear-gradient(90deg,
    var(--pink) 0 16.66%, var(--red) 16.66% 33.33%, var(--amber) 33.33% 50%,
    var(--gold) 50% 66.66%, var(--green) 66.66% 83.33%, var(--blue) 83.33% 100%);
}

/* ─── Footer ─── */
.site-footer {
  margin-top: auto; padding: 2rem 1.5rem; text-align: center;
  color: rgba(255,255,255,0.7); font-size: 0.8rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.hashtags { color: var(--gold); font-weight: 700; }

main { flex: 1; }

/* ─── Hero ─── */
.hero { padding: 2.5rem 1.5rem 1.5rem; text-align: center; color: #fff; }
.hero-inner { max-width: 640px; margin: 0 auto; }
.hero-logo { width: 132px; height: 132px; border-radius: 18px; margin: 0 auto 1.25rem; display: block; box-shadow: 0 12px 30px rgba(0,0,0,0.35); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7rem; font-weight: 700; color: var(--gold); margin-bottom: 0.75rem; }
.hero h1 { font-size: clamp(2.2rem, 7vw, 3.5rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.hero-sub { margin: 1rem auto 1.75rem; font-size: 1rem; line-height: 1.55; color: rgba(255,255,255,0.85); max-width: 520px; }

.start-form { background: var(--cream2); color: var(--ink); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.75rem; text-align: left; max-width: 460px; margin: 0 auto; }
.start-form label { font-size: 0.8rem; font-weight: 700; display: flex; flex-direction: column; gap: 0.35rem; }
.start-form input { padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; }
.start-form button { background: var(--green); color: #fff; border: none; padding: 0.8rem; border-radius: 10px; font-size: 1rem; font-weight: 800; cursor: pointer; transition: transform var(--t), background var(--t); }
.start-form button:hover { background: var(--green-d); transform: translateY(-2px); }
.start-form small { color: var(--muted); font-size: 0.72rem; }

/* ─── Campaign CTA (link back to the official Wikipedia event page) ─── */
.campaign-cta { max-width: 960px; margin: 1.5rem auto 0; padding: 0 1.5rem; }
.cta-inner {
  display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
  background: var(--cream2); color: var(--ink);
  border-radius: var(--radius); padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow); border-left: 6px solid var(--gold);
}
.cta-emoji { font-size: 1.9rem; line-height: 1; }
.cta-text { flex: 1; min-width: 220px; }
.cta-text h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.cta-text p { font-size: 0.85rem; color: #4a4048; line-height: 1.5; }
.cta-btn {
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 800; font-size: 0.9rem; padding: 0.7rem 1.2rem;
  border-radius: 100px; white-space: nowrap; transition: transform var(--t), background var(--t);
}
.cta-btn:hover { transform: translateY(-2px); background: #000; }

/* ─── Prizes ─── */
.prizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; max-width: 960px; margin: 1.5rem auto; padding: 0 1.5rem; }
.prize-card { background: var(--cream2); border-radius: var(--radius); padding: 1.5rem; text-align: center; box-shadow: var(--shadow); border-top: 4px solid var(--green); }
.prize-card.mvp { border-top-color: var(--gold); }
.prize-icon { font-size: 2rem; }
.prize-card h3 { margin: 0.5rem 0 0.25rem; font-size: 1.05rem; }
.prize-amt { font-weight: 900; color: var(--red); font-size: 1.1rem; }
.prize-card p { font-size: 0.82rem; color: var(--muted); }

/* ─── Stamps preview ─── */
.stamps-preview { max-width: 960px; margin: 2rem auto; padding: 0 1.5rem 2rem; color: #fff; }
.stamps-preview h2 { text-align: center; font-size: 1.5rem; margin-bottom: 1.25rem; }
.track h4 { margin: 1rem 0 0.6rem; color: var(--gold); }
.stamp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.75rem; }
.mini-stamp { background: rgba(255,255,255,0.08); border: 1px dashed rgba(255,255,255,0.3); border-radius: 10px; padding: 0.9rem; display: flex; flex-direction: column; gap: 0.25rem; }
.mini-icon { font-size: 1.4rem; }
.mini-name { font-weight: 800; font-size: 0.9rem; }
.mini-req { font-size: 0.7rem; color: rgba(255,255,255,0.7); line-height: 1.3; }

/* ─── Album ─── */
.album-wrap { max-width: 1000px; margin: 1rem auto 3rem; padding: 0 1rem; }
.album-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #fff; margin-bottom: 0.75rem; flex-wrap: wrap; }
.album-title { font-size: 1.8rem; font-weight: 900; letter-spacing: -0.02em; }
.album-sub { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.album-progress { text-align: right; min-width: 160px; }
.progress-num { font-size: 1.4rem; } .progress-num strong { font-size: 2rem; color: var(--gold); }
.progress-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); }
.progress-bar { height: 8px; background: rgba(255,255,255,0.2); border-radius: 100px; margin-top: 0.4rem; overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--gold)); border-radius: 100px; transition: width 0.6s ease; }
.owner-hint { color: var(--gold); text-align: center; font-size: 0.85rem; margin-bottom: 0.75rem; }

/* The book + spreads */
.book { position: relative; }
.spread {
  display: none;
  background: var(--cream);
  border-radius: 18px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(0,0,0,0.05);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  animation: flipIn 0.45s ease;
}
.spread.on { display: block; }
@keyframes flipIn { from { opacity: 0; transform: rotateY(8deg) translateX(20px); } to { opacity: 1; transform: none; } }

/* themed page backdrops echoing the reference */
.spread-editing::before, .spread-commons::before {
  content: ''; position: absolute; inset: 0; opacity: 0.16; pointer-events: none;
}
/* Editing spread = green wash; Commons spread = pink wash (brand colors) */
.spread-editing::before { background: radial-gradient(circle at 88% 6%, var(--green) 0, transparent 52%), radial-gradient(circle at 4% 104%, var(--green) 0, transparent 46%); }
.spread-commons::before { background: radial-gradient(circle at 10% 4%, var(--pink) 0, transparent 52%), radial-gradient(circle at 100% 100%, var(--pink) 0, transparent 46%); }
/* page-curl corner */
.spread::after {
  content: ''; position: absolute; top: 0; right: 0; width: 46px; height: 46px;
  background: linear-gradient(225deg, rgba(0,0,0,0.18), rgba(0,0,0,0) 55%), var(--cream2);
  border-bottom-left-radius: 10px; box-shadow: -3px 3px 6px rgba(0,0,0,0.12);
}

.spread-header { position: relative; margin-bottom: 1.25rem; }
.spread-header h2 { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); }
.spread-header p { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.slot-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.9rem; }
.slot-grid-photo { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

/* ─── Slot ─── */
.slot {
  position: relative; border-radius: 12px; padding: 1rem 0.75rem;
  min-height: 130px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 0.3rem; text-align: center;
  background: rgba(0,0,0,0.04);
  border: 2px dashed rgba(0,0,0,0.18);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.slot-grid-photo .slot { min-height: 160px; }
.slot.claimable { cursor: pointer; }
.slot.claimable:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.slot-code { font-size: 1.8rem; opacity: 0.5; }
.slot-name { font-weight: 800; font-size: 0.85rem; }
.slot-en { font-size: 0.68rem; color: var(--muted); }
.slot-name.ghost, .slot-en.ghost { opacity: 0.5; }
.slot-badge { margin-top: 0.35rem; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.2rem 0.5rem; border-radius: 100px; }
.slot-badge.add { background: var(--green); color: #fff; }
.slot-badge.pending { background: var(--gold); color: var(--ink); }
.slot-badge.rejected { background: var(--red); color: #fff; }

/* filled foil sticker */
.slot-approved { border: none; background: none; padding: 0; }
.sticker-foil {
  width: 100%; height: 100%; min-height: inherit; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem;
  padding: 1rem 0.75rem; position: relative; color: #fff;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-d) 100%);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  animation: stickIn 0.5s cubic-bezier(0.34,1.56,0.64,1);
  overflow: hidden;
}
.sticker-foil::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 48%, transparent 60%);
  background-size: 250% 250%; animation: shine 3.5s ease-in-out infinite;
}
@keyframes shine { 0%, 70% { background-position: 120% 0; } 100% { background-position: -40% 0; } }
@keyframes stickIn { from { transform: scale(0.6) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }
.sticker-foil .slot-icon { font-size: 2rem; }
.sticker-foil .slot-name { color: #fff; }
.sticker-foil .slot-en { color: rgba(255,255,255,0.85); }
.slot-check { position: absolute; top: 6px; right: 8px; font-weight: 900; color: var(--gold); }

/* Book nav */
.book-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
.nav-arrow { width: 48px; height: 48px; border-radius: 50%; border: none; background: rgba(255,255,255,0.14); color: #fff; font-size: 1.6rem; cursor: pointer; transition: background var(--t), transform var(--t); }
.nav-arrow:hover { background: var(--gold); color: var(--ink); transform: scale(1.08); }
.nav-pill { background: var(--ink); color: #fff; padding: 0.7rem 2rem; border-radius: 100px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; min-width: 200px; text-align: center; }
.share-line { text-align: center; color: rgba(255,255,255,0.7); font-size: 0.8rem; margin-top: 1.25rem; }
.share-line code { background: rgba(255,255,255,0.12); padding: 0.2rem 0.5rem; border-radius: 6px; color: var(--gold); }

/* ─── Modal ─── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; pointer-events: none; transition: opacity var(--t); z-index: 100; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box { background: var(--cream2); color: var(--ink); border-radius: 18px; padding: 1.75rem; max-width: 520px; width: 100%; box-shadow: var(--shadow); position: relative; max-height: 90dvh; overflow-y: auto; }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(0,0,0,0.06); cursor: pointer; font-size: 0.9rem; }
.modal-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.modal-icon { font-size: 2.4rem; }
.modal-head h3 { font-size: 1.2rem; }
.modal-head p { font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.auto-box { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0.85rem; margin-bottom: 1rem; font-size: 0.85rem; }
.auto-good { color: var(--green-d); } .auto-partial { color: #9a6a00; }
.auto-spin { color: var(--muted); }
#claimForm label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.8rem; font-weight: 700; margin-bottom: 0.85rem; }
#claimForm textarea, #claimForm input { border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem 0.75rem; font-size: 0.9rem; font-family: inherit; }
.claim-submit { width: 100%; background: var(--green); color: #fff; border: none; padding: 0.8rem; border-radius: 10px; font-weight: 800; cursor: pointer; }
.claim-submit:hover { background: var(--green-d); }
.claim-submit:disabled { opacity: 0.6; cursor: default; }
.claim-result { padding: 0.75rem; border-radius: 10px; font-size: 0.85rem; margin-bottom: 0.85rem; background: #fff; border: 1px solid var(--line); }
.claim-result.good { border-color: var(--green); }
.claim-result.warn { border-color: var(--gold); }
.claim-result.bad { border-color: var(--red); color: var(--red); }
.mini-checks { list-style: none; margin-top: 0.5rem; font-size: 0.78rem; }
.mini-checks li.ok { color: var(--green-d); } .mini-checks li.bad { color: var(--red); }

/* ─── Leaderboard ─── */
.board-wrap { max-width: 820px; margin: 1.5rem auto 3rem; padding: 0 1.25rem; color: var(--ink); }
.board-wrap h1 { color: #fff; text-align: center; margin-bottom: 1.5rem; }
.board-section { background: var(--cream2); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; box-shadow: var(--shadow); }
.board-section h2 { font-size: 1.15rem; margin-bottom: 0.9rem; color: var(--ink); }
.board-table { width: 100%; border-collapse: collapse; }
.board-table th, .board-table td { text-align: left; padding: 0.55rem 0.4rem; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.board-table a { font-weight: 700; text-decoration: none; color: var(--green-d); }
.count-pill { background: var(--green); color: #fff; padding: 0.15rem 0.6rem; border-radius: 100px; font-size: 0.78rem; font-weight: 800; }
.mvp-list { list-style: none; }
.mvp-list li { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.mvp-medal { font-size: 1.3rem; } .mvp-time { margin-left: auto; color: var(--muted); font-size: 0.75rem; }
.winner-list { list-style: none; }
.winner-list li { display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.winner-list li a { margin-left: auto; font-weight: 700; color: var(--green-d); text-decoration: none; }
.winner-list .open { margin-left: auto; color: var(--muted); }
.board-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.empty { color: var(--muted); font-size: 0.9rem; }

/* ─── Campaign dashboard ─── */
.dash-wrap { max-width: 1080px; margin: 1.5rem auto 3rem; padding: 0 1.25rem; }
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.dash-head h1 { color: #fff; font-size: 1.7rem; }
.dash-sub { color: rgba(255,255,255,0.7); font-size: 0.85rem; line-height: 1.5; max-width: 620px; }
.dash-time { color: var(--gold); font-size: 0.78rem; }
.refresh-btn { background: var(--gold); color: var(--ink); border: none; padding: 0.7rem 1.2rem; border-radius: 100px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.refresh-btn:hover { background: #fff; }
.dash-empty { background: var(--cream2); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.dash-note { color: var(--muted); font-size: 0.82rem; margin-top: 0.4rem; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.85rem; margin-bottom: 1.25rem; }
.kpi { background: var(--cream2); border-radius: var(--radius); padding: 1.1rem 1rem; text-align: center; box-shadow: var(--shadow); border-top: 4px solid var(--green); }
.kpi-wide { grid-column: span 2; border-top-color: var(--gold); }
.kpi-target { border-top-color: var(--pink); }
.scope-note { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); border-left: 4px solid var(--gold); border-radius: 8px; padding: 0.7rem 0.9rem; font-size: 0.8rem; line-height: 1.5; margin-bottom: 1rem; }
.fetch-warn { background: rgba(255,55,77,0.15); color: #fff; border-left: 4px solid var(--red); border-radius: 8px; padding: 0.7rem 0.9rem; font-size: 0.82rem; line-height: 1.5; margin-bottom: 1rem; }
.refresh-banner { background: rgba(68,112,212,0.18); color: #fff; border-left: 4px solid var(--blue); border-radius: 8px; padding: 0.7rem 0.9rem; font-size: 0.85rem; line-height: 1.5; margin-bottom: 1rem; }
.kpi-related { border-top-color: var(--blue); }
.related-list { columns: 2; font-size: 0.82rem; color: #4a4048; }
.kpi-num { display: block; font-size: 1.9rem; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.kpi-of { font-size: 1rem; color: var(--muted); font-weight: 700; }
.kpi-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-top: 0.3rem; }

.dash-card { background: var(--cream2); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; box-shadow: var(--shadow); }
.dash-card h2 { font-size: 1.1rem; color: var(--ink); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }

.goal-row { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.7rem; font-size: 0.85rem; }
.goal-label { flex: 0 0 150px; font-weight: 700; }
.goal-bar { flex: 1; height: 12px; background: rgba(0,0,0,0.08); border-radius: 100px; overflow: hidden; }
.goal-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--gold)); border-radius: 100px; }
.goal-val { flex: 0 0 auto; color: var(--muted); font-variant-numeric: tabular-nums; }

.target-list { list-style: none; columns: 2; font-size: 0.85rem; }
.target-list li { margin-bottom: 0.3rem; break-inside: avoid; }

.table-scroll { overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 0.83rem; }
.dash-table th, .dash-table td { padding: 0.45rem 0.5rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dash-table th { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.dash-table a { color: var(--green-d); font-weight: 700; text-decoration: none; }
.dash-table tr.inactive { opacity: 0.45; }

.roster-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem 0.75rem; font-family: inherit; font-size: 0.9rem; }
.roster-actions { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.roster-actions select { border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem; }
.roster-actions button { background: var(--green); color: #fff; border: none; padding: 0.55rem 1.2rem; border-radius: 8px; font-weight: 800; cursor: pointer; }
.warn-text { color: #b3541e; font-weight: 700; }
.clean-form { margin-top: 0.9rem; }
.clean-btn { background: none; border: 1px solid var(--line); color: var(--ink); padding: 0.5rem 1rem; border-radius: 8px; font-weight: 700; cursor: pointer; font-size: 0.82rem; }
.clean-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.sync-btn { background: var(--green); color: #fff; border: none; padding: 0.55rem 1.1rem; border-radius: 8px; font-weight: 800; cursor: pointer; font-size: 0.85rem; }
.sync-btn:hover { background: var(--green-d); }

@media (max-width: 640px) {
  .kpi-wide { grid-column: span 1; }
  .goal-label { flex-basis: 100px; }
  .target-list { columns: 1; }
}

/* ─── Prize claim page ─── */
.prize-body { display: block; }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }
.prize-header { text-align: center; padding: 1.6rem 1rem 1rem; }
.prize-logo { width: 92px; height: 92px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.prize-wrap { max-width: 640px; margin: 1.5rem auto 2rem; padding: 0 1.1rem; position: relative; z-index: 60; }
.prize-card { background: var(--cream2); color: var(--ink); border-radius: 20px; padding: 2rem 1.9rem; box-shadow: var(--shadow); }
.prize-card.center { text-align: center; }
.trophy { font-size: 3rem; display: block; margin-bottom: 0.4rem; }
.prize-card .eyebrow { color: var(--green-d); }
.prize-card h1 { font-size: 2rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 0.75rem; color: var(--ink); }
.prize-sub { color: var(--muted); line-height: 1.55; }
.prize-lead { font-size: 1.05rem; line-height: 1.6; margin-bottom: 0.5rem; }
.prize-lead-es { font-size: 0.9rem; color: var(--muted); line-height: 1.55; margin-bottom: 1.4rem; }
.prize-note { background: #fff6da; border-left: 4px solid var(--gold); padding: 0.6rem 0.8rem; border-radius: 8px; font-size: 0.85rem; margin-bottom: 1rem; }
.prize-deadline { background: #fff6da; border: 1px solid var(--gold); border-radius: 10px; padding: 0.7rem 0.9rem; font-size: 0.9rem; line-height: 1.5; margin-bottom: 1.3rem; color: var(--ink); }
.brand-hint { font-size: 0.75rem; color: var(--muted); line-height: 1.4; margin: 0.1rem 0 0; }
.prize-error { background: rgba(255,55,77,0.12); border-left: 4px solid var(--red); padding: 0.6rem 0.8rem; border-radius: 8px; font-size: 0.85rem; margin-bottom: 1rem; color: #b3121f; }
.prize-edit { display: inline-block; margin-top: 1rem; color: var(--green-d); font-weight: 700; font-size: 0.9rem; }

.prize-form { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 0.5rem; }
.fld { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.fld input, .fld select { font-family: inherit; font-size: 1rem; padding: 0.65rem 0.75rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 400; }
.fld input:focus, .fld select:focus { outline: 2px solid var(--green); border-color: var(--green); }
.req { color: var(--red); } .opt { color: var(--muted); font-weight: 400; }
.fld-group-label { font-size: 0.82rem; font-weight: 800; margin-top: 0.4rem; color: var(--ink); }
.fld-row { display: flex; gap: 0.6rem; }
.fld-row .grow { flex: 1; } .fld-row .state { width: 88px; } .fld-row .zip { width: 120px; }
.brand-toggle { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.3rem 0; }
.brand-toggle input[type=text] { font-family: inherit; font-size: 1rem; padding: 0.65rem 0.75rem; border: 1px solid var(--line); border-radius: 10px; }
.check { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.85rem; font-weight: 400; line-height: 1.4; color: var(--ink); }
.check input { margin-top: 0.15rem; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--green); }
.check.confirm { background: #f3f7f4; padding: 0.7rem 0.8rem; border-radius: 10px; }
.prize-submit { background: var(--green); color: #fff; border: none; padding: 0.95rem; border-radius: 100px; font-size: 1.1rem; font-weight: 800; cursor: pointer; margin-top: 0.6rem; transition: transform var(--t), background var(--t); }
.prize-submit:hover { background: var(--green-d); transform: translateY(-2px); }
.prize-privacy { font-size: 0.72rem; color: var(--muted); text-align: center; margin-top: 0.2rem; }
.prize-footer { text-align: center; color: rgba(255,255,255,0.6); font-size: 0.8rem; padding: 1.5rem 1rem 2.5rem; position: relative; z-index: 60; }
.prize-footer { color: var(--gold); }

/* Prizes admin */
.prizes-wrap { max-width: 900px; margin: 1.5rem auto 3rem; padding: 0 1.25rem; }
.prizes-wrap h1 { color: #fff; margin-bottom: 1rem; }
.win-table { width: 100%; border-collapse: collapse; background: var(--cream2); border-radius: 12px; overflow: hidden; font-size: 0.85rem; }
.win-table th, .win-table td { padding: 0.55rem 0.7rem; text-align: left; border-bottom: 1px solid var(--line); }
.win-table th { background: var(--ink); color: #fff; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.win-link { font-family: monospace; font-size: 0.78rem; color: var(--green-d); word-break: break-all; }
.win-badge { font-size: 0.7rem; font-weight: 800; padding: 0.15rem 0.5rem; border-radius: 100px; }
.win-badge.yes { background: var(--green); color: #fff; } .win-badge.no { background: rgba(0,0,0,0.12); color: var(--muted); }
.gen-btn { background: var(--gold); color: var(--ink); border: none; padding: 0.6rem 1.1rem; border-radius: 100px; font-weight: 800; cursor: pointer; }

/* ─── Review ─── */
.review-wrap { max-width: 760px; margin: 1.5rem auto 3rem; padding: 0 1.25rem; }
.review-wrap h1 { color: #fff; margin-bottom: 1.25rem; }
.review-login { background: var(--cream2); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.75rem; max-width: 380px; }
.review-login input { padding: 0.7rem; border: 1px solid var(--line); border-radius: 10px; }
.review-login button { background: var(--ink); color: #fff; border: none; padding: 0.7rem; border-radius: 10px; font-weight: 800; cursor: pointer; }
.review-login .err { color: var(--red); font-size: 0.8rem; }
.logout-form { text-align: right; margin-bottom: 0.75rem; }
.link-btn { background: none; border: none; color: rgba(255,255,255,0.8); text-decoration: underline; cursor: pointer; }
.review-card { background: var(--cream2); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; box-shadow: var(--shadow); border-left: 5px solid var(--gold); }
.review-card.auto-verified { border-left-color: var(--green); }
.review-card-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.r-icon { font-size: 1.6rem; }
.auto-flag { margin-left: auto; font-size: 0.7rem; font-weight: 800; padding: 0.2rem 0.6rem; border-radius: 100px; }
.auto-flag.auto-verified { background: var(--green); color: #fff; }
.auto-flag.auto-unverified, .auto-flag.auto-failed { background: var(--gold); color: var(--ink); }
.r-req { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.5rem; }
.r-note { font-size: 0.85rem; background: #fff; padding: 0.5rem 0.7rem; border-radius: 8px; margin-bottom: 0.5rem; }
.r-links { list-style: none; margin-bottom: 0.5rem; }
.r-links li { font-size: 0.8rem; word-break: break-all; }
.r-links a { color: var(--green-d); }
.r-checks { list-style: none; font-size: 0.78rem; margin-bottom: 0.75rem; background: #fff; border-radius: 8px; padding: 0.5rem 0.7rem; }
.r-checks li.ok { color: var(--green-d); } .r-checks li.bad { color: var(--red); }
.review-actions { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.review-actions input { flex: 1; min-width: 140px; padding: 0.5rem; border: 1px solid var(--line); border-radius: 8px; }
.btn-approve { background: var(--green); color: #fff; border: none; padding: 0.55rem 1rem; border-radius: 8px; font-weight: 800; cursor: pointer; }
.btn-reject { background: var(--red); color: #fff; border: none; padding: 0.55rem 1rem; border-radius: 8px; font-weight: 800; cursor: pointer; }

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .album-topbar { flex-direction: column; align-items: flex-start; }
  .album-progress { text-align: left; }
  .board-cols { grid-template-columns: 1fr; }
  .spread { padding: 1.25rem; }
  .nav-pill { min-width: 140px; padding: 0.6rem 1rem; font-size: 0.8rem; }
}
