/* SmartVote — public site. Neutral, premium, one accent (emerald). */
:root {
  --ink: #0F1A3D;
  --text: #26324B;
  --muted: #6A7591;
  --faint: #9AA3B8;
  --line: #E5E9F2;
  --bg: #FFFFFF;
  --soft: #F3F5FA;
  --card: #FFFFFF;
  --accent: #E30613;
  --accent-ink: #B0000E;
  --accent-soft: #FDECEE;
  --blue: #1638B8;
  --gold: #F59E0B;
  --gold-soft: #FFF7E6;
  --red: #DC2626;
  --red-soft: #FEF2F2;
  --poster: #1638B8;
  --r: 16px;
  --r-sm: 10px;
  --sh: 0 1px 2px rgba(11, 13, 18, .04), 0 8px 24px -12px rgba(11, 13, 18, .12);
  --sh-lg: 0 24px 60px -24px rgba(11, 13, 18, .35);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #EEF2FF; --text: #CBD3E6; --muted: #8B96B3; --faint: #5F6A87; --line: #1E2A4A;
    --bg: #070F24; --soft: #0E1A38; --card: #0E1A38; --accent: #FF4D57; --accent-ink: #FF9AA0; --accent-soft: #3A1418;
    --gold: #F5B83D; --gold-soft: #2E220C; --red-soft: #2E1220; --poster: #13224A; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #EEF2FF; --text: #CBD3E6; --muted: #8B96B3; --faint: #5F6A87; --line: #1E2A4A;
  --bg: #070F24; --soft: #0E1A38; --card: #0E1A38; --accent: #FF4D57; --accent-ink: #FF9AA0; --accent-soft: #3A1418;
  --gold: #F5B83D; --gold-soft: #2E220C; --red-soft: #2E1220; --poster: #13224A; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.55 "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.025em; line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 700; }
h3 { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.mono { font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: -.01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 64px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.05rem; color: var(--ink); letter-spacing: -.02em; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; box-shadow: 0 8px 18px -8px var(--accent); }
.logo-mark svg { width: 16px; height: 16px; }
.logo-mark path { stroke: #fff; }
.logo-mark circle { display: none; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--muted); }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav-end { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--soft); }
@media (max-width: 760px) { .nav .nav-links, .nav .nav-cta { display: none; } }

.tabbar { display: none; }
@media (max-width: 760px) {
  .tabbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; inset: auto 0 0 0; z-index: 45; background: var(--bg); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 0; font-size: .7rem; font-weight: 600; color: var(--faint); }
  .tabbar a.on { color: var(--ink); }
  .tabbar .icon { width: 22px; height: 22px; }
  body { padding-bottom: 72px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid transparent; background: var(--ink); color: var(--bg); font: 600 .9rem/1 inherit; cursor: pointer; transition: opacity .15s, transform .15s, background .15s; white-space: nowrap; }
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: progress; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -12px var(--accent); }
.btn-accent:hover { background: #C10510; opacity: 1; }
.btn-line { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-line:hover { background: var(--soft); opacity: 1; }
.btn-sm { height: 34px; padding: 0 12px; font-size: .82rem; border-radius: 8px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: .95rem; border-radius: 12px; }
.btn-block { width: 100%; }

.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .02em; background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.tag-live { background: #E8F8EE; color: #15803D; border-color: transparent; }
.tag-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
.tag-end { background: var(--red-soft); color: var(--red); border-color: transparent; }
.tag-gold { background: var(--gold-soft); color: var(--gold); border-color: transparent; }
@keyframes blink { 50% { opacity: .35; } }

.input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
textarea.input { height: auto; padding: 12px 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .8rem; font-weight: 600; color: var(--ink); }

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(800px 420px at 100% 110%, rgba(227, 6, 19, .45), transparent 60%), linear-gradient(160deg, #1638B8 0%, #0F2A95 100%); color: #D3DCFF; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 76px 0 84px; }
.hero h1 { color: #fff; font-weight: 800; letter-spacing: -.035em; }
.hero h1 span { background: linear-gradient(90deg, #FF6B73, #FF8A93); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { margin: 18px 0 0; color: #AEB8D4; font-size: 1.08rem; max-width: 30em; }
.pillrow { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px 6px 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; font-weight: 600; color: #DCE3F5; margin-bottom: 20px; }
.pillrow b { background: var(--accent); color: #fff; padding: 3px 9px; border-radius: 99px; font-size: .7rem; letter-spacing: .04em; }
.finder { margin: 28px 0 0; max-width: 560px; display: flex; gap: 8px; padding: 7px; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .6); }
.finder .input { border: 0; height: 48px; box-shadow: none !important; font-size: 1rem; color: #0F1A3D; background: #fff; }
.finder .icon { margin: 0 0 0 10px; align-self: center; color: #9AA3B8; }
.finder .btn { height: 48px; padding: 0 22px; background: var(--accent); color: #fff; border-radius: 12px; }
.finder-hit { max-width: 560px; margin: 12px 0 0; text-align: left; }
.dialrow { margin-top: 22px; display: flex; gap: 14px; flex-wrap: wrap; font-size: .88rem; color: #AEB8D4; align-items: center; }
.dialrow a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.dialrow a:hover { background: rgba(255, 255, 255, .14); }
.stack { position: relative; height: 440px; }
.sc { position: absolute; width: 230px; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: #13224A; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75); border: 1px solid rgba(255, 255, 255, .1); transition: transform .3s; }
.sc img { width: 100%; height: 100%; object-fit: cover; }
.sc .pt { position: absolute; inset: 0; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: radial-gradient(120% 90% at 100% 0%, rgba(227, 6, 19, .55), transparent 55%), radial-gradient(90% 70% at 0% 100%, rgba(80, 120, 255, .45), transparent 60%); }
.sc .pt b, .sc .pt small { display: none; }
.sc-t { position: absolute; inset: auto 0 0 0; padding: 40px 16px 16px; background: linear-gradient(transparent, rgba(7, 15, 36, .92)); color: #fff; display: grid; gap: 6px; justify-items: start; }
.sc-t b { font-size: 1rem; line-height: 1.2; letter-spacing: -.01em; }
.sc:nth-child(1) { right: 6%; top: 10px; transform: rotate(5deg); z-index: 3; }
.sc:nth-child(2) { left: 6%; top: 50px; transform: rotate(-7deg); z-index: 2; }
.sc:nth-child(3) { left: 32%; top: 120px; transform: rotate(-1deg); z-index: 4; }
.stack:hover .sc { transform: rotate(0); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding: 48px 0 56px; } .stack { display: none; } }
.strip { border-bottom: 1px solid var(--line); background: var(--bg); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0; }
.strip div { display: flex; gap: 12px; align-items: center; font-size: .86rem; color: var(--muted); }
.strip b { display: block; color: var(--ink); font-size: .95rem; }
.strip .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.strip div:nth-child(2) .ic { background: #ECF1FF; color: var(--blue); }
.strip div:nth-child(3) .ic { background: #E6FAF7; color: #14B8A6; }
.strip div:nth-child(4) .ic { background: #F3EEFF; color: #8B5CF6; }
@media (max-width: 760px) { .strip .wrap { grid-template-columns: 1fr 1fr; } }

/* sections */
.section { padding: 40px 0; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.head .count { color: var(--faint); font-weight: 500; margin-left: 6px; }
.search { position: relative; width: min(300px, 100%); }
.search .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.search .input { height: 40px; padding-left: 38px; font-size: .9rem; border-radius: 10px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

/* event card: poster style */
.ev { display: block; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.ev:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.poster { position: relative; aspect-ratio: 4 / 3; background: var(--poster); overflow: hidden; }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster .pt { position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: radial-gradient(120% 90% at 100% 0%, rgba(227, 6, 19, .45), transparent 55%), radial-gradient(90% 70% at 0% 100%, rgba(80, 120, 255, .35), transparent 60%); }
.poster .pt b { font-size: 1.35rem; line-height: 1.1; letter-spacing: -.02em; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.poster .pt small { opacity: .55; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.poster .tag { position: absolute; top: 12px; left: 12px; }
.poster .tag-live { background: rgba(255, 255, 255, .95); color: #15803D; }
.ev-body { padding: 14px 16px 16px; display: grid; gap: 8px; }
.ev-body h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-meta { display: flex; gap: 14px; font-size: .8rem; color: var(--muted); }
.ev-meta span { display: inline-flex; gap: 5px; align-items: center; }
.ev-meta .icon { width: 14px; height: 14px; }
.ev.past { opacity: .75; }

/* page header (event/category) */
.ph { border-bottom: 1px solid var(--line); background: radial-gradient(600px 260px at 100% 0%, rgba(227, 6, 19, .12), transparent 60%), var(--soft); }
.ph .wrap { display: grid; grid-template-columns: 112px 1fr auto; gap: 24px; align-items: center; padding: 32px 0; }
.ph-img { width: 112px; height: 112px; border-radius: 20px; overflow: hidden; background: var(--poster); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.8rem; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; }
.ph h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.ph .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.crumb { font-size: .8rem; color: var(--muted); margin-bottom: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumb a:hover { color: var(--ink); }
.ph-side { display: grid; gap: 10px; justify-items: end; }
@media (max-width: 760px) { .ph .wrap { grid-template-columns: 64px 1fr; gap: 14px; padding: 22px 0; } .ph-img { width: 64px; height: 64px; border-radius: 14px; font-size: 1.1rem; } .ph-side { grid-column: 1 / -1; justify-items: start; } }

.clock { display: flex; gap: 6px; }
.clock div { min-width: 52px; padding: 6px 8px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.clock b { display: block; font-size: 1.05rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.clock small { font-size: .62rem; color: var(--faint); letter-spacing: .1em; text-transform: uppercase; }

/* category row */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.cat { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color .15s, background .15s; }
.cat:hover { border-color: var(--accent); box-shadow: 0 10px 24px -16px var(--accent); }
.cat-n { width: 40px; height: 40px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: var(--muted); flex: none; overflow: hidden; }
.cat-n img { width: 100%; height: 100%; object-fit: cover; }
.cat h3 { font-size: .95rem; }
.cat small { color: var(--faint); font-size: .78rem; }
.cat .go { margin-left: auto; color: var(--faint); }

/* nominee */
.nom { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.nom:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.nom-img { aspect-ratio: 1; background: var(--soft); position: relative; overflow: hidden; display: grid; place-items: center; }
.nom-img img { width: 100%; height: 100%; object-fit: cover; }
.nom-img .ini { font-size: 2.6rem; font-weight: 700; color: var(--faint); letter-spacing: -.02em; }
.nom-img .code { position: absolute; left: 10px; bottom: 10px; background: rgba(11, 13, 18, .82); color: #fff; font-size: .72rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; }
.nom-b { padding: 12px 14px 14px; display: grid; gap: 10px; flex: 1; }
.nom-b h3 { font-size: .95rem; }
.nom-b .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.votes { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.votes b { color: var(--ink); }

/* results */
.res { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: 18px; }
.res-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.rk { display: grid; grid-template-columns: 22px 34px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; }
.rk + .rk { border-top: 1px solid var(--line); }
.rk .n { font-size: .8rem; font-weight: 600; color: var(--faint); text-align: center; }
.rk.top .n { color: var(--gold); }
.rk .av { width: 34px; height: 34px; border-radius: 50%; background: var(--soft); overflow: hidden; display: grid; place-items: center; font-size: .7rem; font-weight: 700; color: var(--muted); }
.rk .av img { width: 100%; height: 100%; object-fit: cover; }
.rk .nm { font-size: .9rem; font-weight: 500; color: var(--ink); }
.bar { height: 4px; border-radius: 4px; background: var(--soft); margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 4px; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.rk.top .bar i { background: var(--accent); }
.rk .v { text-align: right; font-size: .85rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.rk .v small { display: block; font-weight: 500; color: var(--faint); font-size: .72rem; }

/* sheet */
.sheet-bg { position: fixed; inset: 0; z-index: 60; background: rgba(11, 13, 18, .5); display: none; align-items: center; justify-content: center; padding: 16px; }
.sheet-bg.open { display: flex; animation: fade .18s; }
.sheet { width: min(420px, 100%); background: var(--card); border-radius: 20px; padding: 20px; box-shadow: var(--sh-lg); max-height: calc(100vh - 32px); overflow: auto; animation: up .22s cubic-bezier(.2, .8, .2, 1); }
@media (max-width: 560px) { .sheet-bg { padding: 0; align-items: end; } .sheet { border-radius: 20px 20px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); } }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(24px); opacity: 0; } }
.sh-top { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.sh-av { width: 52px; height: 52px; border-radius: 12px; background: var(--soft); overflow: hidden; display: grid; place-items: center; font-weight: 700; color: var(--muted); flex: none; }
.sh-av img { width: 100%; height: 100%; object-fit: cover; }
.sh-top small { color: var(--muted); font-size: .8rem; }
.sh-top .icon-btn { margin-left: auto; width: 34px; height: 34px; }
.qty { display: grid; grid-template-columns: 48px 1fr 48px; gap: 8px; }
.qty button { height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); font-size: 1.2rem; cursor: pointer; }
.qty .input { text-align: center; font-size: 1.2rem; font-weight: 700; }
.chips { display: flex; gap: 6px; margin: 10px 0 16px; }
.chips button { flex: 1; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-weight: 600; font-size: .82rem; cursor: pointer; }
.chips button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; margin: 4px 0 14px; border-top: 1px dashed var(--line); }
.total b { font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.secure { display: flex; gap: 6px; justify-content: center; align-items: center; font-size: .75rem; color: var(--faint); margin-top: 10px; }
.secure .icon { width: 14px; height: 14px; }

/* misc */
.empty { padding: 56px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); background: var(--ink); color: var(--bg); padding: 11px 16px; border-radius: 10px; font-size: .88rem; font-weight: 500; opacity: 0; transition: .2s; z-index: 80; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--red); color: #fff; }
@media (max-width: 760px) { .toast { bottom: 88px; } }
.band { border-radius: 24px; padding: 36px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; color: #D3DCFF; background: radial-gradient(500px 300px at 100% 100%, rgba(227, 6, 19, .45), transparent 60%), linear-gradient(160deg, #1638B8, #0F2A95); }
.band h2 { color: #fff; }
.band .muted { color: #AEB8D4; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-radius: 12px; background: #fff; color: #1638B8; font-weight: 700; font-size: .9rem; }
.store svg { width: 20px; height: 20px; }
.store small { display: block; font-size: .62rem; font-weight: 500; opacity: .7; line-height: 1; }
footer.foot { border-top: 1px solid var(--line); margin-top: 48px; padding: 28px 0; font-size: .85rem; color: var(--muted); }
footer.foot .wrap { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
footer.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.foot a:hover { color: var(--ink); }
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 44; width: 48px; height: 48px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: var(--sh); }
.wa svg { width: 24px; height: 24px; }
@media (max-width: 760px) { .wa { bottom: 86px; } }
.thanks { max-width: 440px; margin: 64px auto; text-align: center; }
.thanks .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 18px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* home filters */
.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: -6px 0 22px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.fchips { display: flex; gap: 6px; flex-wrap: wrap; }
.fchips button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 600 .86rem/1 inherit; cursor: pointer; transition: .15s; }
.fchips button span { font-size: .72rem; color: var(--faint); background: var(--soft); padding: 2px 7px; border-radius: 99px; }
.fchips button:hover { border-color: var(--accent); }
.fchips button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.fchips button.on span { background: rgba(255, 255, 255, .15); color: #fff; }
.fchips .dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; }
.filters .search { flex: 1; min-width: 200px; width: auto; }
.filters .search .input { height: 38px; background: var(--card); }
.sortsel .input { height: 38px; padding: 0 34px 0 12px; border-radius: 10px; font-weight: 600; font-size: .86rem; cursor: pointer; appearance: none; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236A7591' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
@media (max-width: 600px) { .filters .search { order: 3; flex-basis: 100%; } .sortsel { margin-left: auto; } }

/* wordmark until the logo file is added */
.wordmark { font-weight: 900; font-size: 1.3rem; letter-spacing: -.03em; line-height: 1; color: #1638B8; }
.wordmark i { font-style: normal; color: #E30613; font-weight: 800; margin-left: 3px; }
.logo img.logo-img { height: 40px; width: auto; }
:root[data-theme="dark"] .wordmark { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wordmark { color: #fff; } }

/* ---------- results: hero + podium ---------- */
.rhero { position: relative; overflow: hidden; color: #fff; min-height: 300px; display: flex; align-items: flex-end; background: #1638B8; }
.rhero::before { content: ""; position: absolute; inset: 0; background: var(--cover) center 30% / cover no-repeat; transform: scale(1.02); }
.rhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 70, .15) 0%, rgba(8, 20, 70, .55) 55%, rgba(8, 20, 70, .92) 100%); }
.rhero .wrap { position: relative; z-index: 1; padding: 18px 0 26px; width: min(760px, 100% - 32px); }
.rback { position: absolute; z-index: 2; top: 16px; left: 16px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: #0F1A3D; }
.rhero-b { margin-top: 120px; }
.rpill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); font-weight: 700; font-size: .82rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; animation: blink 1.6s infinite; }
.rhero h1 { color: #fff; font-size: clamp(1.6rem, 4.5vw, 2.4rem); margin: 12px 0 8px; letter-spacing: -.01em; }
.rhero p { display: flex; gap: 8px; align-items: center; color: rgba(255, 255, 255, .8); margin: 0; }
.rcats { display: flex; gap: 10px; margin-bottom: 18px; }
.rcats .input { flex: 1; height: 46px; font-weight: 600; }
.rcats .btn { height: 46px; }
.rcat-t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 1.15rem; margin-bottom: 8px; }
.rcat-t span { font-size: .82rem; font-weight: 600; color: var(--muted); }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 12px; padding: 26px 0 0; }
.pod { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; min-width: 0; }
.pod-av { position: relative; width: 92px; height: 92px; border-radius: 50%; padding: 4px; background: #C9CED8; margin-bottom: 12px; }
.pod-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; border: 3px solid #fff; }
.pod-1 .pod-av { width: 122px; height: 122px; background: linear-gradient(135deg, #FFD54A, #F59E0B); box-shadow: 0 14px 34px -14px #F59E0B; }
.pod-3 .pod-av { background: linear-gradient(135deg, #E9A66B, #B86B2B); }
.pod-2 .pod-av { background: linear-gradient(135deg, #E5E8EF, #A9B0BF); }
.medal { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800; color: #fff; border: 2px solid #fff; background: #A9B0BF; }
.pod-1 .medal { background: #F59E0B; }
.pod-3 .medal { background: #C47A3A; }
.trophy { color: #F59E0B; margin-bottom: 6px; }
.trophy .icon { width: 30px; height: 30px; }
.pod-n { color: var(--ink); font-size: .95rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-v { color: var(--muted); font-size: .82rem; margin: 2px 0 10px; font-variant-numeric: tabular-nums; }
.pod-block { width: 100%; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; color: rgba(15, 26, 61, .55); border-radius: 16px 16px 0 0; background: linear-gradient(180deg, #E4EAFB, #D3DCF6); height: 80px; }
.pod-1 .pod-block { height: 116px; background: linear-gradient(180deg, #1638B8, #0F2A95); color: #fff; }
.pod-3 .pod-block { height: 62px; }
.pod-empty { visibility: hidden; }
.rlist { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--sh); }
.rrow { display: grid; grid-template-columns: 26px 44px 1fr; gap: 14px; align-items: center; padding: 14px 18px; }
.rrow + .rrow { border-top: 1px solid var(--line); }
.rpos { color: var(--faint); font-weight: 700; text-align: center; }
.rav { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--soft); }
.rmid { min-width: 0; }
.rtop { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.rtop b { color: var(--ink); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rtop span { font-weight: 700; color: var(--ink); font-size: .86rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rrow .bar { height: 6px; margin-top: 8px; background: var(--soft); }
.rrow .bar i { background: #1638B8; }
@media (max-width: 520px) { .pod-av { width: 72px; height: 72px; } .pod-1 .pod-av { width: 96px; height: 96px; } .pod-block { height: 64px; font-size: 1.4rem; } .pod-1 .pod-block { height: 92px; } .pod-3 .pod-block { height: 50px; } .pod-n { font-size: .8rem; } }

.rlist-t { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 26px 0 10px; }
.rpos.m1, .rpos.m2, .rpos.m3 { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .78rem; }
.rpos.m1 { background: #F59E0B; } .rpos.m2 { background: #A9B0BF; } .rpos.m3 { background: #C47A3A; }
/* compact results so the ranking list starts on the first screen */
.rhero { min-height: 210px; }
.rhero-b { margin-top: 64px; }
.rhero .wrap { padding: 14px 0 18px; }
.rhero h1 { font-size: clamp(1.35rem, 4vw, 2rem); margin: 8px 0 4px; }
.podium { padding-top: 10px; gap: 10px; }
.pod-av { width: 70px; height: 70px; margin-bottom: 10px; }
.pod-1 .pod-av { width: 92px; height: 92px; }
.trophy .icon { width: 24px; height: 24px; }
.pod-v { margin: 0 0 8px; }
.pod-block { height: 52px; font-size: 1.3rem; border-radius: 12px 12px 0 0; }
.pod-1 .pod-block { height: 76px; }
.pod-3 .pod-block { height: 40px; }
.rlist-t { margin: 18px 0 8px; }
.rrow { padding: 11px 16px; }

/* ---------- light hero (less blue) + phone illustration ---------- */
.hero { background: radial-gradient(520px 360px at 92% 12%, rgba(227, 6, 19, .08), transparent 70%), radial-gradient(560px 400px at 0% 100%, rgba(11, 44, 159, .07), transparent 70%), #FBFBFE; color: var(--text); border-bottom: 1px solid var(--line); }
.hero::after { background-image: linear-gradient(rgba(11, 44, 159, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 44, 159, .05) 1px, transparent 1px); }
.hero h1 { color: #0F1A3D; }
.hero h1 span { background: none; -webkit-background-clip: initial; background-clip: initial; color: #E30613; }
.hero .sub { color: var(--muted); }
.pillrow { background: #fff; border-color: var(--line); color: var(--text); box-shadow: 0 6px 18px -12px rgba(15, 26, 61, .25); }
.dialrow { color: var(--muted); }
.dialrow a { color: #1638B8; background: #fff; border-color: var(--line); }
.dialrow a:hover { background: #F3F6FF; }
.finder { border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(15, 26, 61, .35); }
:root[data-theme="dark"] .hero { background: #070F24; }
:root[data-theme="dark"] .hero h1 { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero { background: #070F24; } :root:not([data-theme="light"]) .hero h1 { color: #fff; } }

.hero-art { position: relative; height: 460px; display: grid; place-items: center; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.b1 { width: 300px; height: 300px; background: #FDECEE; right: 8%; top: 30px; }
.b2 { width: 220px; height: 220px; background: #EAF0FF; left: 10%; bottom: 20px; }
.phone-mock { position: relative; width: 236px; height: 440px; border-radius: 38px; background: #0F1A3D; padding: 10px; box-shadow: 0 40px 80px -30px rgba(15, 26, 61, .55); transform: rotate(-4deg); z-index: 1; }
.pm-notch { position: absolute; top: 14px; left: 50%; width: 70px; height: 18px; border-radius: 12px; background: #0F1A3D; transform: translateX(-50%); z-index: 2; }
.pm-screen { height: 100%; border-radius: 30px; background: #F4F5F8; overflow: hidden; display: flex; flex-direction: column; padding: 34px 14px 14px; gap: 10px; }
.pm-status { display: flex; justify-content: space-between; font-size: .62rem; font-weight: 700; color: #0F1A3D; margin-top: -26px; padding: 0 6px; }
.pm-dial { text-align: center; font: 700 1.25rem/1 "JetBrains Mono", monospace; color: #0F1A3D; padding: 8px 0 2px; letter-spacing: .02em; }
.pm-ussd { background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 10px 24px -14px rgba(15, 26, 61, .4); }
.pm-ussd b { color: #1638B8; font-size: .82rem; letter-spacing: .04em; }
.pm-ussd p { margin: 4px 0 8px; font-size: .78rem; color: #26324B; }
.pm-input { border-bottom: 2px solid #1638B8; font: 700 1rem/1.6 "JetBrains Mono", monospace; color: #0F1A3D; display: flex; align-items: center; }
.pm-input i { width: 2px; height: 16px; background: #1638B8; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.pm-btns { display: flex; justify-content: flex-end; gap: 14px; margin-top: 10px; font-size: .74rem; font-weight: 700; color: #6A7591; }
.pm-btns .on { color: #E30613; }
.pm-keys { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pm-keys span { height: 30px; border-radius: 10px; background: #fff; display: grid; place-items: center; font-weight: 700; color: #0F1A3D; font-size: .82rem; }
.float-card { position: absolute; z-index: 2; display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; box-shadow: 0 20px 40px -20px rgba(15, 26, 61, .45); animation: floaty 5s ease-in-out infinite; }
.float-card b { display: block; color: #0F1A3D; font-size: .84rem; }
.float-card small { color: var(--muted); font-size: .72rem; }
.fc-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #E8F8EE; color: #15803D; font-weight: 800; }
.fc-ic.momo { background: #FFF7D6; color: #A16207; }
.fc1 { right: 0; top: 70px; }
.fc2 { left: 0; bottom: 70px; animation-delay: -2.5s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) { .hero-art { display: none; } }

.logo img.logo-img { height: 46px; }
/* ---------- nice blue hero (brand blue, brighter than before) ---------- */
.hero { background: radial-gradient(640px 420px at 88% 18%, rgba(110, 160, 255, .45), transparent 65%), radial-gradient(520px 380px at 100% 100%, rgba(227, 6, 19, .28), transparent 65%), linear-gradient(135deg, #2350E6 0%, #1638B8 55%, #0F2A95 100%); color: #DCE5FF; border-bottom: 0; }
.hero::after { background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); }
.hero h1 { color: #fff; }
.hero h1 span { color: #FF6B73; }
.hero .sub { color: #C9D6FF; }
.pillrow { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); color: #fff; box-shadow: none; }
.dialrow { color: #C9D6FF; }
.dialrow a { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .24); }
.dialrow a:hover { background: rgba(255, 255, 255, .2); }
.finder { border: 0; box-shadow: 0 24px 50px -24px rgba(5, 15, 70, .7); }
.b1 { background: rgba(255, 255, 255, .14); }
.b2 { background: rgba(255, 107, 115, .22); }
.phone-mock { box-shadow: 0 40px 80px -30px rgba(3, 10, 50, .8); }


/* ---------- royal blue + red (final) ---------- */
:root { --accent: #E30613; --accent-ink: #B0000E; --accent-soft: #FDECEE; }
.hero h1 span { color: #FF6B73; }
.chips button.on { background: #1638B8; border-color: #1638B8; color: #fff; }
.fchips button.on { background: #0F2A95; border-color: #0F2A95; }
.pod-1 .pod-block { background: linear-gradient(180deg, #2350E6, #0F2A95); }
.rrow .bar i, .bar i { background: #1638B8; }
.rk.top .bar i { background: #F59E0B; }

/* ---------- deeper blue with designs inside it ---------- */
.hero, .chero { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='600' viewBox='0 0 1600 600' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23ffffff'%3E%3Cpath d='M0 420C260 340 420 520 720 450S1180 300 1600 380' stroke-opacity='.10' stroke-width='2'/%3E%3Cpath d='M0 470C300 400 460 570 760 500S1220 350 1600 430' stroke-opacity='.07' stroke-width='2'/%3E%3Cpath d='M0 520C320 460 500 610 800 550S1260 400 1600 480' stroke-opacity='.05' stroke-width='2'/%3E%3C/g%3E%3Ccircle cx='1420' cy='90' r='170' fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='40'/%3E%3Ccircle cx='120' cy='560' r='120' fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='30'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 30 8 8 16-18'/%3E%3Crect x='86' y='84' width='30' height='22' rx='4'/%3E%3Cpath d='M92 84v-8h18v8M96 78l4 4 7-8'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='.08'%3E%3Ccircle cx='108' cy='28' r='3'/%3E%3Ccircle cx='30' cy='104' r='2.5'/%3E%3Ccircle cx='66' cy='64' r='1.8'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 140px 140px repeat,
  radial-gradient(560px 380px at 100% 100%, rgba(227, 6, 19, .30), transparent 65%),
  radial-gradient(620px 420px at 85% 10%, rgba(70, 90, 255, .30), transparent 65%),
  linear-gradient(135deg, #0B14A6 0%, #070E86 50%, #03075C 100%); color: #DCE5FF; border-bottom: 0; }
.hero::after { background-image: none; }
.chero { position: relative; overflow: hidden; padding: 64px 0 120px; color: #DCE5FF; }
.chero h1 { color: #fff; margin: 14px 0 8px; }
.chero .sub { color: #C9D6FF; margin: 0; }
.chero .pillrow { margin-bottom: 0; }
.cgrid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; margin-top: -80px; position: relative; z-index: 2; }
.ccards { display: grid; gap: 12px; align-content: start; }
.ccard { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 40px -26px rgba(10, 31, 115, .5); color: inherit; transition: transform .15s; }
a.ccard:hover { transform: translateY(-2px); border-color: #1638B8; }
.ccard b { display: block; color: var(--ink); }
.ccard small { color: var(--muted); }
.cic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #EAF0FF; color: #1638B8; flex: none; }
.cic .icon { width: 20px; height: 20px; }
.wa-ic { background: #E8F8EE; color: #16A34A; }
.cform { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 24px 50px -30px rgba(10, 31, 115, .5); }
.cform h2 { font-size: 1.25rem; margin-bottom: 16px; }
.cform-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 820px) { .cgrid, .cform-2 { grid-template-columns: 1fr; } .tabbar { grid-template-columns: repeat(4, 1fr); } }
.tabbar { grid-template-columns: repeat(4, 1fr); }

.ev-meta .left { margin-left: auto; color: #E30613; font-weight: 700; }
.ev-meta .left i { font-style: normal; }

/* whole nominee card is tappable */
.nom.tap{cursor:pointer;transition:transform .15s,box-shadow .15s}
.nom.tap:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(15,42,149,.14)}

/* ---------- deep blue (matches smartvotegh.com) ---------- */
:root { --blue: #0B14A6; --poster: #0B14A6; }
.band { background: radial-gradient(500px 300px at 100% 100%, rgba(227, 6, 19, .40), transparent 60%), linear-gradient(160deg, #0B14A6, #03075C); }
.rhero { background: #070E86; }
.pod-1 .pod-block { background: linear-gradient(180deg, #0B14A6, #03075C); }
.chips button.on { background: #0B14A6; border-color: #0B14A6; }
.fchips button.on { background: #070E86; border-color: #070E86; }
.rrow .bar i, .bar i { background: #0B14A6; }
.wordmark, .store, .pm-ussd b, .cic { color: #0B14A6; }
a.ccard:hover { border-color: #0B14A6; }
.hero .dialrow a { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); font-family: inherit; letter-spacing: .02em; }
.hero .dialrow a:hover { background: rgba(255, 255, 255, .22); }
.hero .dialrow { color: #C9D2FF; }

/* upcoming events */
.tag-soon { background: #FFF4E0; color: #8A5300; }

/* category thumbnails a little bigger */
.cat { padding: 12px 16px; }
.cat-n { width: 56px; height: 56px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }

/* ending within 24 hours */
.tag-hot { background: #E30613; color: #fff; animation: svhot 1.6s ease-in-out infinite; }
@keyframes svhot { 0%, 100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, .45); } 50% { box-shadow: 0 0 0 6px rgba(227, 6, 19, 0); } }

/* ================= navy + organic blobs (design reference, Nov 2026) ================= */
:root { --navy: #023576; --navy-2: #06326F; --navy-3: #0B4A9C; --sky: #C2E5FB; --track: #DCE3EE; --blue: #023576; --poster: #023576; }
body { background: #F5F7FB; }
.hero, .chero { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 640' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='.05' d='M1440 0v360c-120 70-260 60-360-20-120-96-140-250-60-340z'/%3E%3Cpath fill='%23ffffff' fill-opacity='.06' d='M0 120c160-40 300 30 330 150 34 136-60 240-200 260C80 538 30 520 0 500z'/%3E%3Cpath fill='%23C2E5FB' fill-opacity='.10' d='M980 640c40-120 170-190 300-170 70 10 120 40 160 80v90z'/%3E%3C/svg%3E") center/cover no-repeat, #023576 !important; color: #D9E6F7; position: relative; }
.hero::before, .chero::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23F5F7FB' d='M0 90V40C240 0 520 0 760 34s520 56 680 6v50z'/%3E%3C/svg%3E") center/100% 100% no-repeat; pointer-events: none; z-index: 1; }
.hero > *, .chero > * { position: relative; z-index: 2; }
.hero h1 em, .hero h1 span { color: #fff; }
.btn-primary, .btn-accent { background: #023576; border-color: #023576; }
.wordmark, .store, .pm-ussd b, .cic { color: #023576; }

/* section blob, like the big shapes behind the phones */
#events { position: relative; overflow: hidden; }
#events::before { content: ""; position: absolute; right: -180px; top: -120px; width: 520px; height: 460px; border-radius: 46% 54% 60% 40% / 52% 38% 62% 48%; background: #E6EEF9; z-index: 0; }
#events > .wrap { position: relative; z-index: 1; }

/* tabs: text with a dot under the active one */
.fchips { background: transparent; border: 0; box-shadow: none; gap: 22px; padding: 0; border-bottom: 1px solid var(--track); border-radius: 0; }
.fchips button { background: transparent !important; border: 0 !important; color: #6B7A93 !important; font-weight: 600; padding: 10px 2px 14px; border-radius: 0; position: relative; box-shadow: none !important; }
.fchips button span { background: transparent; color: inherit; opacity: .7; }
.fchips button.on { color: #023576 !important; }
.fchips button.on::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #023576; }
.fchips .dot { display: none; }

/* event cards */
.ev { background: #fff; border: 0; border-radius: 22px; box-shadow: 0 10px 30px -14px rgba(2, 53, 118, .28); overflow: hidden; }
.ev:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(2, 53, 118, .38); }
.ev .poster { border-radius: 0; }
.ev-body { padding: 16px 18px 16px; }
.ev-body h3 { color: #023576; font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.ev-desc { margin: 6px 0 0; color: #8A94A6; font-size: .8rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid #E9EDF3; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .8rem; color: #6B7A93; }
.ev-foot b { color: #023576; font-weight: 800; }
.ev-foot .left { display: inline-flex; align-items: center; gap: 5px; color: #6B7A93; white-space: nowrap; }
.ev-foot .left svg { width: 14px; height: 14px; }
.tag-live { background: #fff; color: #023576; }

/* nominee cards: share row + slim bar */
.nom { background: #fff; border: 0; border-radius: 22px; box-shadow: 0 10px 30px -14px rgba(2, 53, 118, .28); overflow: hidden; }
.nom-b { padding: 14px 16px 16px; }
.nom-b h3 { color: #023576; font-weight: 800; }
.share { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 10px; border-top: 1px solid #E9EDF3; font-size: .82rem; color: #6B7A93; }
.share b { color: #023576; font-size: 1rem; font-weight: 800; }
.sbar { height: 6px; border-radius: 6px; background: var(--track); overflow: hidden; margin-top: 7px; }
.sbar i { display: block; height: 100%; background: #023576; border-radius: 6px; }
.btn-vote { width: 100%; margin-top: 12px; background: #023576; color: #fff; border: 0; border-radius: 999px; padding: 10px; font-weight: 700; }
.btn-vote:hover { background: #0B4A9C; }
.nom .code { background: #023576; }

/* category list + results bars in navy */
.cat { border-radius: 18px; border: 0; box-shadow: 0 8px 24px -14px rgba(2, 53, 118, .25); }
.cat h3 { color: #023576; }
.rrow .bar i, .bar i { background: #023576; }
.pod-1 .pod-block { background: linear-gradient(180deg, #0B4A9C, #023576); }
.chips button.on { background: #023576; border-color: #023576; }

/* Announcement bar (Admin → Settings → Website) */
.notice-bar { background: #0F1A3D; color: #fff; font-size: .86rem; font-weight: 600; }
.notice-bar .wrap { min-height: 38px; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 8px; padding-bottom: 8px; }
.notice-bar a { color: #fff; text-decoration: none; }
.notice-bar a:hover span { margin-left: 3px; }
.notice-bar span[aria-hidden] { display: inline-block; transition: margin .15s; }
.hero.no-art .wrap { grid-template-columns: 1fr; max-width: 820px; text-align: center; }
.hero.no-art .finder, .hero.no-art .dialrow, .hero.no-art .pillrow { margin-left: auto; margin-right: auto; justify-content: center; }

/* ---------- hero background designs ---------- */
.hero > .hero-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; color: #fff; }
.hero-deco svg, .hero-deco i { position: absolute; display: block; }
.hd-glow { border-radius: 50%; filter: blur(60px); }
.hd-glow.g1 { width: 420px; height: 420px; left: -140px; top: -160px; background: rgba(194, 229, 251, .22); }
.hd-glow.g2 { width: 380px; height: 380px; right: 8%; bottom: -200px; background: rgba(227, 6, 19, .22); }
.hd-rings { width: 560px; height: 560px; right: -170px; top: -190px; opacity: .14; animation: hdspin 80s linear infinite; }
.hd-dots { width: 150px; height: 150px; opacity: .16; }
.hd-dots.d1 { left: 3%; bottom: 70px; }
.hd-dots.d2 { right: 40%; top: 26px; width: 110px; height: 110px; opacity: .12; }
.hd-ic { opacity: .16; }
.hd-ic.ballot { width: 78px; height: 78px; left: 44%; bottom: 96px; transform: rotate(-10deg); animation: hdfloat 7s ease-in-out infinite; }
.hd-ic.check { width: 52px; height: 52px; left: 6%; top: 46px; color: #C2E5FB; opacity: .3; animation: hdfloat 6s ease-in-out infinite reverse; }
.hd-ic.star { color: #C2E5FB; opacity: .55; animation: hdtwinkle 3.2s ease-in-out infinite; }
.hd-ic.star.s1 { width: 18px; height: 18px; left: 38%; top: 60px; }
.hd-ic.star.s2 { width: 12px; height: 12px; left: 20%; bottom: 120px; animation-delay: 1.4s; }
.hd-ic.plus { width: 20px; height: 20px; right: 46%; bottom: 60px; color: #FF6B73; opacity: .5; }
.hd-ring-sm { width: 90px; height: 90px; border-radius: 50%; border: 14px solid rgba(255, 255, 255, .07); left: 30%; top: -30px; }
@keyframes hdspin { to { transform: rotate(360deg); } }
@keyframes hdfloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes hdtwinkle { 0%, 100% { opacity: .2; scale: .8; } 50% { opacity: .7; scale: 1; } }
@media (max-width: 900px) {
  .hd-rings { width: 360px; height: 360px; right: -150px; top: -140px; }
  .hd-ic.ballot { left: auto; right: 8%; bottom: 80px; width: 60px; height: 60px; }
  .hd-dots.d2, .hd-ring-sm, .hd-ic.plus { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-deco * { animation: none !important; } }

/* ---------- past events: a bit smaller than live ones ---------- */
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 14px; }
.ev.past { border-radius: 18px; }
.ev.past .poster { aspect-ratio: 16 / 11; }
.ev.past .poster .pt { padding: 12px; }
.ev.past .poster .pt b { font-size: 1.05rem; }
.ev.past .poster .tag { top: 8px; left: 8px; font-size: .68rem; }
.ev.past .ev-body { padding: 10px 12px 12px; gap: 6px; }
.ev.past .ev-body h3 { font-size: .95rem; }
.ev.past .ev-meta { font-size: .74rem; gap: 10px; }
@media (max-width: 520px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* ---------- receipt on the thank-you page ---------- */
.receipt { text-align: left; background: var(--card, #fff); border: 1px solid var(--line); border-radius: 20px; padding: 18px; margin: 0 0 20px; box-shadow: 0 14px 34px -24px rgba(2, 53, 118, .45); }
.rc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.rc-head img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #EEF2FA; flex: none; }
.rc-head div { min-width: 0; flex: 1; }
.rc-head b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-head small { color: var(--muted); }
.rc-status { font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: #FFF4E0; color: #8A5300; white-space: nowrap; }
.rc-status.paid { background: #E8F8EE; color: #15803D; }
.rc-status.failed, .rc-status.late { background: #FDECEE; color: #B4141F; }
.rc-rows { margin: 12px 0 0; display: grid; gap: 8px; }
.rc-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; }
.rc-rows dt { color: var(--muted); }
.rc-rows dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.rc-print { margin-top: 14px; width: 100%; }
.thanks .ok.pending { background: #FFF4E0; color: #8A5300; animation: svhot 1.6s ease-in-out infinite; }
.thanks .ok.failed, .thanks .ok.late { background: #FDECEE; color: #B4141F; }
@media print { header, footer, nav, .tabbar, #rc-again, .rc-print, .thanks .btn { display: none !important; } .receipt { box-shadow: none; } }

/* ---------- Hubtel checkout modal ---------- */
.paymodal { position: fixed; inset: 0; z-index: 9999; background: rgba(6, 18, 48, .62); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; animation: pmIn .18s ease-out; }
.pm-box { width: min(480px, 100%); height: min(720px, calc(100dvh - 32px)); background: #fff; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); position: relative; }
.pm-bar { display: flex; align-items: center; gap: 8px; padding: 12px 12px 12px 16px; border-bottom: 1px solid #E8ECF4; color: #0F1A3D; }
.pm-bar b { font-size: .95rem; }
.pm-bar small { color: #6B7590; margin-left: 2px; }
.pm-lock { font-size: .9rem; }
.pm-x { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #F1F4FA; font-size: 1.4rem; line-height: 1; cursor: pointer; color: #0F1A3D; }
.pm-x:hover { background: #E4E9F4; }
.pm-frame { flex: 1; width: 100%; border: 0; background: #fff; }
.pm-load { position: absolute; inset: 61px 0 44px; display: grid; place-items: center; color: #6B7590; font-size: .9rem; pointer-events: none; }
.paymodal.ready .pm-load { display: none; }
.pm-foot { padding: 10px 16px; border-top: 1px solid #E8ECF4; font-size: .78rem; color: #6B7590; text-align: center; }
.pm-foot a { color: #023576; font-weight: 600; }
@keyframes pmIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 520px) { .paymodal { padding: 0; } .pm-box { width: 100%; height: 100dvh; border-radius: 0; } }

/* ---------- top voter on public results ---------- */
.topvoter { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 0 0 18px; border-radius: 18px; background: linear-gradient(135deg, #FFF8E8, #FFFFFF); border: 1px solid #F6E2B3; }
.topvoter .tv-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #F59E0B; color: #fff; flex: none; }
.topvoter .tv-ic .icon { width: 22px; height: 22px; }
.topvoter small { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #8A5300; font-weight: 700; }
.topvoter b { font-size: 1.1rem; color: #0F1A3D; letter-spacing: .02em; }
.topvoter .tv-v { margin-left: auto; text-align: right; }
.topvoter .tv-v small { text-transform: none; letter-spacing: 0; font-weight: 600; }

/* ---------- My votes ---------- */
.mv-card { padding: 18px; margin-top: -40px; position: relative; z-index: 2; }
.mv-card + .mv-card { margin-top: 0; }
.mv-l { display: block; font-weight: 700; margin-bottom: 8px; }
.mv-row { display: flex; gap: 10px; }
.mv-row .input { flex: 1; min-width: 0; }
.mv-row .btn { white-space: nowrap; }
.mv-err { margin: 10px 0 0; color: #B4141F; font-weight: 600; font-size: .9rem; }
.mv-hint { margin: 10px 0 0; color: #8A5300; font-size: .85rem; }
.mv-link { margin-top: 12px; background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .88rem; }
.mv-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 16px; margin: -40px 0 14px; position: relative; z-index: 2; text-align: center; }
.mv-sum small { display: block; color: var(--muted); font-size: .75rem; }
.mv-sum b { font-size: 1.05rem; overflow-wrap: anywhere; }
.mv-list { display: grid; gap: 10px; }
.mv-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: inherit; text-decoration: none; }
.mv-item img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; background: #EEF2FA; }
.mv-main { min-width: 0; flex: 1; display: grid; }
.mv-main b, .mv-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mv-main small { color: var(--muted); font-size: .8rem; }
.mv-when { font-size: .74rem !important; }
.mv-v { text-align: right; display: grid; justify-items: end; gap: 2px; }
.mv-v small { color: var(--muted); font-size: .78rem; }
.mv-st { font-style: normal; font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: #FFF4E0; color: #8A5300; }
.mv-st.paid { background: #E8F8EE; color: #15803D; }
.mv-st.failed, .mv-st.late { background: #FDECEE; color: #B4141F; }
@media (max-width: 520px) { .mv-row { flex-direction: column; } .mv-sum b { font-size: .95rem; } }
.mv-id { white-space: normal !important; font-size: .76rem !important; }
.mv-id b { font-weight: 700; color: var(--ink, #0F1A3D); overflow-wrap: anywhere; }

/* ---------- My votes: proper cards (the public site had no .card style) ---------- */
.mv .card { background: #fff; border: 1px solid #E3E8F2; border-radius: 18px; box-shadow: 0 12px 30px -18px rgba(2, 53, 118, .35); }
.mv-card { border-top: 4px solid #023576 !important; }
.mv-sum { border-left: 0; padding: 18px 12px !important; }
.mv-sum > div + div { border-left: 1px solid #E3E8F2; }
.mv-sum b { color: #023576; }
.mv-item { padding: 14px 16px !important; transition: border-color .15s, transform .15s, box-shadow .15s; border-left: 4px solid #22C55E !important; }
.mv-item:hover { transform: translateY(-1px); border-color: #C9D5EA; box-shadow: 0 16px 34px -18px rgba(2, 53, 118, .45); }
.mv-item img { box-shadow: 0 0 0 3px #fff, 0 0 0 4px #E3E8F2; }
.mv-v b { font-size: 1.25rem; color: #023576; }
#mv-out-btn { background: #fff; border: 1px solid #C9D5EA; border-radius: 14px; }
:root[data-theme="dark"] .mv .card { background: var(--card); border-color: var(--line); box-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mv .card { background: var(--card); border-color: var(--line); box-shadow: none; } }
.mv-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.mv-pager span { color: var(--muted); font-size: .85rem; text-align: center; }
.mv-pager .btn:disabled { opacity: .4; cursor: default; }
.mv-st.sample { background: #EEF2FA; color: #023576; }

/* ---------- Privacy Policy / Terms of Use ---------- */
.legal-card { max-width: 820px; background: var(--card, #fff); border: 1px solid #E3E8F2; border-radius: 22px; padding: 28px 30px 34px; margin-top: -80px; position: relative; z-index: 2; box-shadow: 0 16px 40px -24px rgba(2, 53, 118, .35); line-height: 1.7; }
.legal-card h2 { font-size: 1.2rem; margin: 28px 0 8px; color: #023576; scroll-margin-top: 90px; }
.legal-card h3 { font-size: 1rem; margin: 16px 0 4px; }
.legal-card p, .legal-card li { color: var(--text, #334155); font-size: .97rem; }
.legal-card ul { padding-left: 20px; margin: 6px 0 10px; }
.legal-card li { margin: 4px 0; }
.legal-card a { color: #023576; font-weight: 600; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 14px; border-bottom: 1px dashed #E3E8F2; }
.legal-toc a { font-size: .82rem; font-weight: 600; padding: 6px 10px; border-radius: 99px; background: #F1F4FA; text-decoration: none; }
@media (max-width: 600px) { .legal-card { padding: 20px 18px 26px; border-radius: 18px; } }
:root[data-theme="dark"] .legal-card { border-color: var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .legal-card { border-color: var(--line); } }
