/* =========================================================
   Rank Anything — mid-century atomic-age design system
   ========================================================= */

:root {
  --paper: #F3EAD5;
  --paper-2: #ECE0C4;
  --paper-3: #E4D6B6;
  --ink: #211E1A;
  --ink-soft: #3A352E;
  --teal: #2E7D75;
  --teal-deep: #245F59;
  --rust: #CE5A2E;
  --rust-deep: #B0481F;
  --gold: #C89B3C;
  --gold-deep: #A87E24;
  --olive: #8A8A4C;
  --coral: #D2653A;
  --line: rgba(33, 30, 26, 0.16);
  --line-strong: rgba(33, 30, 26, 0.32);
  --radius: 10px;
  --radius-lg: 22px;
  --shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
  --serif: "Zilla Slab", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Segoe UI", system-ui, sans-serif;
  --script: "Kaushan Script", cursive;
  --display: "Anton", "Poppins", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #131110;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding: 22px;
}

.sheet {
  max-width: 940px;
  margin: 0 auto;
  background: var(--paper);
  border: 1.5px solid rgba(33, 30, 26, 0.55);
  border-radius: 8px;
  padding: 26px 30px 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

h1, h2, h3 { margin: 0; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.ra-star { display: block; }

/* ---------- Labels / eyebrows ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ---------- Nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-bottom: 8px;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink);
  padding: 4px 2px; white-space: nowrap;
}
.nav-links a:hover { color: var(--rust); }
.nav-links a.pill {
  background: var(--teal); color: var(--paper);
  padding: 8px 20px; border-radius: 999px;
}
.nav-links a.pill:hover { background: var(--teal-deep); color: var(--paper); }
.ra-avatar {
  display: inline-flex; border-radius: 50%;
  border: 2px solid var(--ink); overflow: hidden; line-height: 0;
}

/* ---------- Logo ---------- */
.ra-logo { display: inline-flex; align-items: center; gap: 12px; }
.ra-logo-img { width: 72px; height: 72px; display: block; }
.ra-logo-words { display: flex; flex-direction: column; gap: 4px; }
.ra-logo-row { display: inline-flex; gap: 4px; }
.ra-logo-block {
  font-family: var(--display); font-size: 21px; line-height: 1;
  padding: 3px 7px 4px; letter-spacing: 0.01em;
  transform: rotate(-2deg);
}
.ra-logo-block:nth-child(2) { transform: rotate(1.5deg); }
.ra-logo-block:nth-child(3) { transform: rotate(-1deg); }
.ra-logo-block:nth-child(4) { transform: rotate(2deg); }

/* ---------- Hero (front page) ---------- */
.hero {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px;
  align-items: center; padding: 20px 0 8px;
}
.hero-tag {
  font-size: 17px; line-height: 1.5; color: var(--ink-soft);
  max-width: 220px; margin: 0 0 14px;
}
.hero-illo { width: 100%; max-width: 240px; }
.hero-right { position: relative; }
.hero-head {
  font-family: var(--display); font-weight: 400;
  font-size: 58px; line-height: 0.98; letter-spacing: 0.005em;
}
.hero-head span { display: block; }
.hero-head .teal { color: var(--teal); }
.hero-head .rust { color: var(--rust); }
.hero-head .ink { color: var(--ink); }
.hero-star {
  position: absolute; right: -6px; top: 8px; opacity: 0.9;
}

.rule { border: none; border-top: 1.5px solid var(--line-strong); margin: 22px 0 26px; }

/* ---------- Section header ---------- */
.section-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.section-head h2 {
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--teal); color: var(--paper);
  padding: 8px 22px 8px 16px; border-radius: 0 999px 999px 0;
  margin-left: -30px; padding-left: 30px;
}
.section-head .flex { flex: 1; }
.view-all {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink);
}
.view-all .arrow {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--rust); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Trending grid ---------- */
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.card {
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 14px; overflow: hidden; cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  border-color: var(--line-strong);
}
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.vote-chip {
  position: absolute; left: 12px; top: 12px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1;
}
.vote-chip b { font-size: 14px; font-weight: 600; }
.vote-chip span { font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 2px; }
.card-badge { position: absolute; right: 10px; top: 10px; }
.card-body { padding: 14px 16px 16px; }
.card-title {
  font-family: var(--serif); font-weight: 700; font-size: 20px;
  line-height: 1.12; color: var(--ink); margin-bottom: 6px;
}
.card-by { font-size: 13px; }
.card-by span { color: var(--ink-soft); }
.card-by b { font-weight: 600; }

/* accent-tinted authorship per card */
.by-teal b { color: var(--teal); }
.by-rust b { color: var(--rust); }
.by-gold b { color: var(--gold-deep); }
.by-olive b { color: var(--olive); }
.by-coral b { color: var(--coral); }
.by-ink b { color: var(--ink); }

/* =========================================================
   LIST PAGE
   ========================================================= */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 20px;
}
.btn-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 10px 18px; border-radius: 999px;
  border: none; cursor: pointer; font-family: var(--sans);
}
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-soft); }
.btn-rust { background: var(--rust); color: var(--paper); }
.btn-rust:hover { background: var(--rust-deep); }
.btn-outline { background: transparent; border: 1.5px solid var(--line-strong); color: var(--ink); }
.btn-outline:hover { background: var(--paper-2); }
.kebab {
  background: none; border: none; cursor: pointer; color: var(--ink);
  font-size: 22px; line-height: 1; padding: 4px 8px; letter-spacing: 2px;
}

/* Hero panel */
.list-hero {
  position: relative; border-radius: var(--radius-lg); padding: 30px 32px;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 26px; align-items: center;
  overflow: hidden; margin-bottom: 20px;
}
.list-hero.accent-teal { background: var(--teal); }
.list-hero.accent-rust { background: var(--rust); }
.list-hero.accent-gold { background: var(--gold); }
.list-hero.accent-olive { background: var(--olive); }
.list-hero.accent-coral { background: var(--coral); }
.list-hero.accent-ink { background: var(--ink-soft); }
.list-hero, .list-hero * { color: var(--paper); }

.list-hero .eyebrow { color: rgba(243, 234, 213, 0.8); }
.list-hero h1 {
  font-family: var(--serif); font-size: 40px; line-height: 1.02;
  margin: 6px 0 8px;
}
.list-hero .by { font-size: 14px; opacity: 0.9; margin-bottom: 14px; }
.list-hero .by b { font-weight: 600; }
.list-hero .desc { font-size: 15px; line-height: 1.5; max-width: 320px; opacity: 0.95; margin-bottom: 18px; }
.hero-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 18px; opacity: 0.95; }
.hero-meta .dot { opacity: 0.6; }

.voted-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); color: var(--rust);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 999px;
}
.vote-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); color: var(--ink);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 11px 22px; border-radius: 999px; border: none; cursor: pointer; font-family: var(--sans);
}
.vote-cta:hover { background: #fff; }
.vote-cta.armed { background: var(--ink); color: var(--paper); }

/* #1 figure — the champion gets the full mockup treatment */
.champ { position: relative; max-width: 400px; margin-left: auto; }
.champ-media {
  position: relative; border-radius: 22px; overflow: hidden;
  aspect-ratio: 4 / 5; border: 3px solid var(--paper);
}
.champ-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.champ-num {
  position: absolute; right: 16px; top: 12px; z-index: 3;
  width: 84px; height: 96px; background: var(--rust);
  border-radius: 46% 54% 44% 56% / 40% 42% 58% 60%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 54px; color: var(--paper);
  border: 2px solid var(--paper);
}
.champ-crown { position: absolute; right: 34px; top: -22px; z-index: 3; color: var(--paper); }
.champ-plate {
  position: relative; z-index: 3; margin: -34px auto 0; width: 94%;
  background: var(--ink); border-radius: 18px; padding: 14px 20px 16px; text-align: center;
}
.champ-plate .name { font-family: var(--serif); font-weight: 700; font-size: 27px; color: var(--paper); }
.champ-plate .sub { font-size: 13px; line-height: 1.4; margin-top: 3px; }
.list-hero.accent-teal .champ-plate .sub,
.list-hero .champ-plate .sub { color: #7FC8BC; }

/* Podium 2 & 3 */
.podium { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.podium-card {
  display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: center;
  border-radius: 16px; padding: 12px; background: var(--paper-2); border: 1.5px solid var(--line);
}
.podium-num {
  width: 52px; height: 60px; border-radius: 44% 56% 46% 54% / 40% 44% 56% 60%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 30px; color: var(--paper);
}
.podium-media { width: 78px; height: 78px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.podium-media img { width: 100%; height: 100%; object-fit: cover; }
.podium-info .name { font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.1; }
.podium-info .blurb { font-size: 12.5px; color: var(--ink-soft); line-height: 1.35; margin-top: 3px; }

/* Ranked rows 4..N */
.ranks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.rank-row {
  display: grid; grid-template-columns: auto auto 1fr auto; gap: 12px; align-items: center;
  background: var(--paper-2); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 8px 12px 8px 8px;
}
.rank-pennant {
  width: 38px; height: 44px; position: relative; flex-shrink: 0;
  display: flex; align-items: flex-start; justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
  color: var(--paper); font-family: var(--serif); font-weight: 700; font-size: 19px;
  padding-top: 5px;
}
.pn-teal { background: var(--teal); }
.pn-rust { background: var(--rust); }
.pn-gold { background: var(--gold); }
.pn-olive { background: var(--olive); }
.rank-media { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.rank-media img { width: 100%; height: 100%; object-fit: cover; }
.rank-info .name { font-family: var(--serif); font-weight: 700; font-size: 15px; line-height: 1.1; }
.rank-info .blurb { font-size: 11.5px; color: var(--ink-soft); line-height: 1.3; margin-top: 1px; }
.rank-votes {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-align: center; min-width: 46px;
}
.rank-votes b { font-size: 14px; font-weight: 600; }
.rank-votes span { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }

/* Vote affordance (prototype) */
.votable { cursor: default; }
.arming .votable { cursor: pointer; outline: 2px dashed transparent; transition: outline-color 0.12s; }
.arming .votable:hover { outline-color: var(--rust); }
.mypick { box-shadow: inset 0 0 0 2.5px var(--rust); }
.pick-tag {
  display: inline-block; margin-top: 4px; font-size: 9px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--rust); color: var(--paper); padding: 2px 7px; border-radius: 999px;
}

/* Footer CTA */
.list-footer {
  margin-top: 22px; width: 100%; border: none; cursor: pointer;
  background: var(--teal); color: var(--paper);
  border-radius: 999px; padding: 16px; font-family: var(--sans);
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.list-footer:hover { background: var(--teal-deep); }

/* Photo credits */
.credits {
  font-size: 11px; color: var(--ink-soft); line-height: 1.8;
  margin: 16px 6px 0; opacity: 0.85;
}
.credits a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(33, 30, 26, 0.3);
}
.credits a:hover { color: var(--rust); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--paper); padding: 12px 22px; border-radius: 999px;
  font-size: 13px; opacity: 0; pointer-events: none; transition: all 0.25s ease; z-index: 50;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =========================================================
   CREATE / EDIT PAGE
   ========================================================= */
.page-head { margin-bottom: 22px; }
.page-head h1 {
  font-family: var(--serif); font-size: 34px; line-height: 1.05;
}
.page-head .eyebrow { margin-bottom: 6px; }

.editor {
  display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 26px; align-items: start;
}
.form-col { display: flex; flex-direction: column; gap: 22px; }

.fieldset {
  background: var(--paper-2); border: 1.5px solid var(--line);
  border-radius: 16px; padding: 18px 20px 20px;
}
.fieldset > .legend {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
}
.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field > label {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px;
}
.field .hint { font-size: 12px; color: var(--ink-soft); margin-top: 6px; }

.input, .textarea, .select {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-strong);
  border-radius: 10px; padding: 11px 13px; transition: border-color 0.12s, box-shadow 0.12s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(46, 125, 117, 0.22);
}
.textarea { resize: vertical; min-height: 70px; line-height: 1.5; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Segmented control */
.seg { display: inline-flex; background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.seg button {
  border: none; background: none; cursor: pointer; font-family: var(--sans);
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); padding: 8px 18px; border-radius: 999px;
}
.seg button.on { background: var(--teal); color: var(--paper); }

/* Accent swatches */
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  border: 2.5px solid transparent; box-shadow: 0 0 0 1.5px var(--line);
}
.swatch.on { border-color: var(--paper); box-shadow: 0 0 0 2.5px var(--ink); }
.sw-teal { background: var(--teal); } .sw-rust { background: var(--rust); }
.sw-gold { background: var(--gold); } .sw-olive { background: var(--olive); }
.sw-coral { background: var(--coral); } .sw-ink { background: var(--ink-soft); }

/* Range slider */
.range-wrap { display: flex; align-items: center; gap: 14px; }
.range-wrap input[type="range"] { flex: 1; accent-color: var(--teal); height: 4px; }
.range-out {
  font-family: var(--serif); font-weight: 700; font-size: 22px; min-width: 34px; text-align: center;
}

/* Item editor */
.items-editor { display: flex; flex-direction: column; gap: 10px; }
.item-card {
  display: grid; grid-template-columns: auto auto 1fr auto; gap: 10px; align-items: center;
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 8px;
}
.item-card.dragging { opacity: 0.5; }
.item-handle {
  cursor: grab; color: var(--ink-soft); font-size: 18px; line-height: 1;
  padding: 4px 2px; user-select: none;
}
.item-seed {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; overflow: hidden;
  border: none; background: none; padding: 0; cursor: pointer;
}
.item-seed:hover img { opacity: 0.75; }
.item-seed:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
.item-seed img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-fields { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.item-fields .input { padding: 8px 11px; font-size: 14px; }
.item-fields .item-blurb { font-size: 13px; }
.item-actions { display: flex; flex-direction: column; gap: 2px; }
.icon-btn {
  width: 28px; height: 26px; border: none; background: transparent; cursor: pointer;
  color: var(--ink-soft); border-radius: 6px; font-size: 14px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }
.icon-btn.danger:hover { background: rgba(206, 90, 46, 0.16); color: var(--rust); }
.icon-btn:disabled { opacity: 0.3; cursor: default; }

.add-item {
  border: 1.5px dashed var(--line-strong); background: transparent; cursor: pointer;
  border-radius: 12px; padding: 12px; font-family: var(--sans); font-size: 13px;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.add-item:hover { border-color: var(--teal); color: var(--teal); }
.add-item:disabled { opacity: 0.4; cursor: default; }
.items-count { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }

/* Live preview panel */
.preview-col { position: sticky; top: 20px; }
.preview-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.pv-hero { border-radius: 18px; padding: 20px; overflow: hidden; }
.pv-hero, .pv-hero * { color: var(--paper); }
.pv-hero.accent-teal { background: var(--teal); } .pv-hero.accent-rust { background: var(--rust); }
.pv-hero.accent-gold { background: var(--gold); } .pv-hero.accent-olive { background: var(--olive); }
.pv-hero.accent-coral { background: var(--coral); } .pv-hero.accent-ink { background: var(--ink-soft); }
.pv-cat { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.pv-title { font-family: var(--serif); font-weight: 700; font-size: 24px; line-height: 1.05; margin: 4px 0 6px; }
.pv-by { font-size: 12px; opacity: 0.9; }
.pv-blurb { font-size: 13px; opacity: 0.95; margin: 10px 0; line-height: 1.4; }
.pv-meta { font-size: 12px; opacity: 0.9; display: flex; gap: 7px; align-items: center; }
.pv-champ {
  margin-top: 14px; background: var(--ink); border-radius: 12px; padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
}
.pv-champ .n { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--paper); }
.pv-champ .nm { font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--paper); }

.save-bar { display: flex; align-items: center; gap: 10px; }
.btn-teal { background: var(--teal); color: var(--paper); }
.btn-teal:hover { background: var(--teal-deep); }

/* =========================================================
   AUTH PAGE + nav session state
   ========================================================= */
.auth-sheet { max-width: 520px; }
.auth-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.auth-card { max-width: 400px; margin: 6px auto 10px; }
.auth-tabs { display: flex; width: 100%; margin-bottom: 22px; }
.auth-tabs button { flex: 1; }
.auth-h1 { font-family: var(--serif); font-size: 28px; margin-bottom: 4px; }
.auth-sub { font-size: 14px; color: var(--ink-soft); margin: 0 0 18px; }
.auth-sub b { color: var(--ink); font-weight: 600; }
.auth-btn { width: 100%; justify-content: center; margin-top: 6px; }

.code-boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 6px 0 14px; }
.code-box {
  width: 100%; aspect-ratio: 3 / 4; text-align: center;
  font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 10px;
}
.code-box:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(46, 125, 117, 0.22); }
.dev-note {
  background: var(--gold); color: var(--ink); border-radius: 10px;
  padding: 8px 12px; font-size: 13px; text-align: center; margin-bottom: 12px;
}
.dev-note b { font-family: var(--font-mono, monospace); letter-spacing: 0.14em; }
.auth-actions { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; font-size: 13px; }
.auth-actions a { color: var(--teal); font-weight: 600; }
.auth-actions a:hover { color: var(--rust); }
.auth-actions .dot { color: var(--ink-soft); }

/* nav session state */
.nav-user { display: inline-flex; align-items: center; gap: 8px; }
.nav-handle { font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ink); }
.nav-signout {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
}
.nav-signout:hover { color: var(--rust); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  body { padding: 10px; }
  .sheet { padding: 18px 16px 24px; }
  .nav { flex-wrap: wrap; }
  .nav-links { gap: 14px; }
  .hero { grid-template-columns: 1fr; }
  .hero-head { font-size: 44px; }
  .hero-illo { display: none; }
  .grid { grid-template-columns: 1fr 1fr; }
  .list-hero { grid-template-columns: 1fr; }
  .champ { margin: 0 auto; }
  .podium, .ranks { grid-template-columns: 1fr; }
  .section-head h2 { margin-left: -16px; padding-left: 16px; }
  .editor { grid-template-columns: 1fr; }
  .preview-col { position: static; }
}
@media (max-width: 460px) {
  .grid { grid-template-columns: 1fr; }
  .hero-head { font-size: 38px; }
}
