/* retiredinpattaya, brand system, per Brand Guidance v1.0 (August 2026, locked) */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrumentserif-400.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/archivo-variable.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibmplexmono-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibmplexmono-600.woff2") format("woff2");
}

:root {
  /* Palette C */
  --bg: #0F0F0F;
  --surface: #151515;
  --border: #262626;
  --border-inactive: #2A2A2A;

  --purple: #8B5CF6;      /* headings 20px+, active fills. Never on price, never on body copy. */
  --purple-text: #A78BFA; /* small text: nav labels, tags, arrows */

  --gold: #D4AF37;        /* every price, every primary button, every CTA. 9:1 floor, never darken. */
  --gold-hover: #E5C158;  /* hover/focus only */

  --white: #FFFFFF;
  --body-text: #C6C6C6;
  --label-text: #8C8C8C;
  --error: #C4544C;

  --font-serif: "Instrument Serif", "Playfair Display", Georgia, serif;
  --font-sans: "Archivo", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--body-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */

h1, .h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.05;
  color: var(--white);
  margin: 0 0 var(--space-2);
}
@media (min-width: 768px) { h1, .h1 { font-size: 42px; } }

h2, .h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--white);
  margin: var(--space-4) 0 var(--space-2);
}

h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--white);
  margin: var(--space-3) 0 var(--space-2);
}

p { margin: 0 0 var(--space-2); max-width: 600px; }
.measure-full { max-width: none; }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--label-text);
}

.price, .mono-figure {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.tagline { font-family: var(--font-serif); font-style: italic; color: var(--gold); }

/* ---------- Layout ---------- */

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-2);
}
@media (min-width: 768px) { .wrap { padding: 0 var(--space-4); } }

.section { padding-top: var(--space-3); padding-bottom: var(--space-3); }
@media (min-width: 768px) { .section { padding-top: var(--space-6); padding-bottom: var(--space-6); } }

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}
.wordmark {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--white);
}
.wordmark span { color: var(--gold); }

.main-nav { display: none; gap: var(--space-3); }
@media (min-width: 768px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}
.main-nav a {
  color: var(--body-text); font-size: 15px;
  display: inline-flex; align-items: center; height: 48px;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: var(--purple-text); }
.main-nav a.active { color: var(--gold); border-bottom-color: var(--gold); font-weight: 700; }

.nav-toggle {
  background: none; border: none; color: var(--purple-text);
  font-size: 24px; cursor: pointer; min-height: 48px; min-width: 48px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-3);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: 1px solid transparent;
  width: 100%;
}
@media (min-width: 768px) { .btn { width: auto; } }

.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--gold-hover); }

.btn-secondary { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: var(--gold); color: var(--bg); }

/* ---------- Chips / filters ---------- */

.chip {
  display: inline-flex; align-items: center;
  min-height: 48px;
  padding: 0 var(--space-2);
  border-radius: 999px;
  border: 1px solid var(--border-inactive);
  color: var(--body-text);
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
}
.chip.active { background: var(--purple); border-color: var(--purple); color: var(--white); }

/* ---------- Freshness badges ---------- */

.freshness-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: var(--space-1);
  font-size: 12px; font-weight: 600;
  font-family: var(--font-mono);
}
.freshness-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.freshness-fresh { color: #4ADE80; }
.freshness-fresh::before { background: #4ADE80; }
.freshness-aging { color: #FBBF24; }
.freshness-aging::before { background: #FBBF24; }
.freshness-stale { color: var(--label-text); }
.freshness-stale::before { background: var(--label-text); }

.info-tip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid var(--label-text); color: var(--label-text);
  font-size: 11px; font-family: var(--font-mono); cursor: help;
  position: relative;
}
.info-tip:hover::after, .info-tip:focus-visible::after {
  content: attr(data-tip);
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 6px 10px; font-size: 12px; font-family: var(--font-sans); color: var(--white);
  white-space: nowrap; z-index: 10; box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.tag {
  display: inline-flex; align-items: center;
  padding: 4px var(--space-1);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
}
.tag-gold { border-color: var(--gold); color: var(--gold); }
.tag-plain { color: var(--label-text); }

/* ---------- Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
}
.card-stack > * + * { margin-top: var(--space-1); }

/* ---------- Tables ---------- */

table.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.price-table thead th {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  padding: var(--space-2);
}
.price-table tbody tr:nth-child(odd) { background: var(--surface); }
.price-table tbody tr:nth-child(even) { background: var(--bg); }
.price-table td {
  padding: var(--space-2);
  border-top: 1px solid var(--border);
  font-size: 15px;
}
.price-table td.price-cell {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--gold);
  font-size: 17px;
}

/* Markdown-rendered tables inside post bodies get the same treatment automatically */
.post-body table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-2) 0;
  max-width: none;
}
.post-body thead th {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  padding: var(--space-2);
}
.post-body tbody tr:nth-child(odd) { background: var(--surface); }
.post-body tbody tr:nth-child(even) { background: var(--bg); }
.post-body td {
  padding: var(--space-2);
  border-top: 1px solid var(--border);
  font-size: 15px;
}
@media (max-width: 767px) {
  .post-body table, .post-body thead, .post-body tbody, .post-body tr, .post-body td, .post-body th {
    display: block; width: 100%;
  }
  .post-body thead { display: none; }
  .post-body tr { border-top: 1px solid var(--border); padding: var(--space-2) 0; }
  .post-body td { border: none; padding: 4px var(--space-2); }
}

/* Mobile: card layout for tables tagged .stack-on-mobile */
@media (max-width: 767px) {
  .price-table.stack-on-mobile thead { display: none; }
  .price-table.stack-on-mobile, .price-table.stack-on-mobile tbody, .price-table.stack-on-mobile tr, .price-table.stack-on-mobile td {
    display: block; width: 100%;
  }
  .price-table.stack-on-mobile tr { border-top: 1px solid var(--border); padding: var(--space-2); }
  .price-table.stack-on-mobile td { border: none; padding: 2px 0; }
}

/* ---------- Forms ---------- */

.field { margin-bottom: var(--space-2); }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--label-text);
  margin-bottom: var(--space-1);
}
.field input, .field select {
  width: 100%;
  min-height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  padding: 0 var(--space-2);
  font-family: var(--font-sans);
  font-size: 16px;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
}
.field.error input { border-color: var(--error); }
.field .error-msg { color: var(--error); font-size: 13px; margin-top: var(--space-1); }

.option-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-1); }
.option-btn {
  min-height: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, border-color 0.15s ease;
}
.option-btn:hover { border-color: var(--gold); background: rgba(212,175,55,0.08); box-shadow: inset 0 -2px 0 var(--gold); transform: translateY(-1px); }
.option-btn:active { transform: translateY(0); }
.option-btn.selected { background: var(--gold); color: var(--bg); border: 2px solid var(--gold); box-shadow: 0 4px 16px rgba(212,175,55,0.25); }
.option-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Decision tree question options: tactile, clearly clickable */
.tree-option {
  transition: transform 0.1s ease, border-color 0.15s ease, background 0.15s ease;
}
.tree-option:hover { border-color: var(--purple); background: rgba(139,92,246,0.08); transform: translateX(2px); }
.tree-option:active { transform: translateX(0); }
.tree-option .arrow-icon { transition: transform 0.15s ease; }
.tree-option:hover .arrow-icon { transform: translateX(4px); }

#tree-root { animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* Calculator: inputs left, results right on desktop -- was stacked full-width
   in one column at every size, wasting all the horizontal space on wide screens. */
.calc-layout { display: block; }
@media (min-width: 1024px) {
  .calc-layout { display: grid; grid-template-columns: 380px 1fr; gap: var(--space-3); align-items: start; }
  .calc-results { position: sticky; top: var(--space-2); }
}

/* Calculator payoff card: the number is the reward, make it glow a little */
.calc-total-card {
  background: linear-gradient(160deg, rgba(212,175,55,0.10), rgba(21,21,21,1) 60%);
  border: 1px solid var(--gold);
  box-shadow: 0 0 32px rgba(212,175,55,0.08);
}
#calc-total { transition: opacity 0.3s ease; }
.calc-bar-fill { transition: width 0.3s ease; }

/* ---------- Section cards (homepage) ---------- */

/* Responsive card grids: 1 col mobile, 2 col tablet, 3 col desktop.
   Real layout change per breakpoint, not just spacing tweaks. */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card-grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--space-2); }
@media (min-width: 768px) { .card-grid-2 { grid-template-columns: repeat(2, 1fr); } }

.hub-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  margin-bottom: var(--space-2);
  transition: border-color 0.15s ease, transform 0.1s ease;
}
.hub-card:hover { border-color: var(--purple); transform: translateY(-2px); }
.card-grid .hub-card { margin-bottom: 0; height: 100%; }

/* Top row of the homepage grid gets a slightly stronger visual weight --
   a gold-tinted border at rest, gold (not purple) on hover, with a touch
   more lift -- so the eye lands there first without needing invented stats. */
.hub-card-primary { border-color: rgba(212,175,55,0.35); }
.hub-card-primary:hover { border-color: var(--gold); transform: translateY(-2px) scale(1.02); }
.hub-card-top { display: flex; align-items: center; gap: var(--space-2); }
.hub-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple-text);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700;
  flex-shrink: 0;
}
.hub-card h3 { margin: 0; }
.hub-card .arrow { margin-left: auto; color: var(--purple-text); }
.hub-tags { margin-top: var(--space-2); display: flex; gap: var(--space-1); flex-wrap: wrap; }

/* ---------- Animated card border ---------- */
/* Slow rotating accent-colour line around grid-style cards (homepage
   section cards, blog post cards, section-hub area previews). Deliberately
   excludes .area-card (best-areas-to-live comparison): its 3px top border
   is a colour legend per area, and a ring drawn over it would cancel that
   signal. Also excludes the single-instance form/CTA panels (calculator,
   decision tree, area finder, "next section" card) -- those aren't a grid
   of boxed content and a moving border would compete with people actively
   reading or filling them in.
   Wrapped in @supports so a browser without conic-gradient mask support
   falls back to the card's plain existing border, untouched. Inside that,
   @property is what makes the line rotate -- without it the ring still
   renders (mask support is what matters for the ring existing at all), just
   static at 0deg instead of animating. */
@supports (mask-composite: exclude) or (-webkit-mask-composite: xor) {
  .card-grid > .card:not(.area-card),
  .card-grid > .hub-card {
    position: relative;
  }
  .card-grid > .card:not(.area-card)::before,
  .card-grid > .hub-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(from var(--angle, 0deg), transparent 70%, var(--gold), transparent 85%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: card-border-spin 8s linear infinite;
  }
}
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes card-border-spin {
  to { --angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .card-grid > .card:not(.area-card)::before,
  .card-grid > .hub-card::before {
    animation: none;
  }
}

/* ---------- Post ---------- */

/* Post/section photo: a real photo, constrained, never dominating the page */
/* Post page: title, hero photo and body text all share one column width
   and left edge, so nothing looks wider or narrower than the rest. */
.post-col { max-width: 760px; }
.post-col h1, .post-col .post-body, .post-col .post-body p, .post-col .toc { max-width: none; }

/* Post page layout: on wide screens the reading column stays a fixed,
   comfortable width and the freed-up space becomes a sticky sidebar
   (contents / related / what next) instead of sitting empty. */
.post-layout { display: block; }
.post-sidebar { margin-top: var(--space-4); }
.post-toc-sticky { display: none; }
@media (min-width: 1024px) {
  .post-layout { display: grid; grid-template-columns: minmax(0, 760px) 1fr; gap: var(--space-4); align-items: start; }
  .post-sidebar { position: sticky; top: var(--space-2); margin-top: 0; }
  .post-toc-inline { display: none; }
  .post-toc-sticky { display: block; }
}

.post-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-2) 0;
  background: var(--surface);
  aspect-ratio: 16 / 9;
  max-height: 320px;
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Homepage-style hero: photo behind, scrim, text on top -- one unit, not two stacked blocks */
.hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 60vh;
  max-height: 560px;
  display: flex;
  align-items: flex-end;
  background: var(--surface);
  margin-top: var(--space-2);
}
/* Homepage hero: genuinely full-bleed (edge to edge), not capped at 1200px like
   everything else -- the photo is the one element that should fill the page. */
.hero-full-bleed {
  border-radius: 0;
  margin-top: 0;
  width: 100%;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,0.15) 0%, rgba(15,15,15,0.55) 55%, rgba(15,15,15,0.96) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-3) var(--space-2) var(--space-4);
  width: 100%;
}
.hero-content h1 { text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
@media (min-width: 768px) {
  .hero-content { padding: var(--space-4); }
}
.figcaption { font-size: 13px; color: var(--label-text); font-style: italic; margin: var(--space-1) 0 var(--space-2); }

.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-2); margin: var(--space-2) 0; }
.toc a { color: var(--body-text); display: block; padding: 4px 0; }
.toc a:hover { color: var(--purple-text); }

.post-body { max-width: 600px; }
.post-body h2 { border-top: 1px solid var(--border); padding-top: var(--space-2); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--border); padding: var(--space-4) 0; margin-top: var(--space-6); }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: var(--space-3); margin: var(--space-3) 0; }
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-cols a { display: block; color: var(--body-text); padding: 10px 0; min-height: 44px; }
.footer-fine { color: var(--label-text); font-size: 13px; }

/* ---------- Utility ---------- */

.stat-row { display: flex; gap: var(--space-3); flex-wrap: wrap; font-family: var(--font-mono); font-size: 13px; color: var(--label-text); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: var(--space-2); top: var(--space-2); background: var(--gold); color: var(--bg); padding: var(--space-1); z-index: 100; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Area cards (best-areas-to-live) ---------- */

.area-detail { margin-top: var(--space-1); }
.area-detail[hidden] { display: none; }

.check-list, .cross-list, .plain-list {
  list-style: none; margin: 0 0 var(--space-2); padding: 0; font-size: 14px;
}
.check-list li, .cross-list li, .plain-list li {
  position: relative; padding-left: 22px; margin-bottom: 6px; color: var(--body-text);
}
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: #4ADE80; font-weight: 700; }
.cross-list li::before { content: "\2013"; position: absolute; left: 0; color: var(--label-text); font-weight: 700; }
.plain-list li::before { content: "\203A"; position: absolute; left: 0; color: var(--purple-text); font-weight: 700; }

.honest-truth {
  font-family: var(--font-serif); font-style: italic; color: var(--white);
  border-left: 3px solid var(--gold); margin: var(--space-2) 0; padding: var(--space-1) var(--space-2);
  font-size: 15px; line-height: 1.5;
}

.area-budget-bar > div { margin-bottom: 10px; }
.area-budget-bar .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--white); }
.area-budget-bar .track { height: 4px; background: var(--border); border-radius: 2px; margin-top: 4px; }

/* ---------- Decision tool (best-areas-to-live) ---------- */

.finder-row { margin-bottom: var(--space-2); }
.finder-row .finder-label { display: flex; justify-content: space-between; font-size: 14px; color: var(--white); margin-bottom: 6px; }
.finder-row .finder-label span:last-child { color: var(--gold); font-family: var(--font-mono); }

input[type="range"].finder-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 48px; background: transparent; cursor: pointer;
}
input[type="range"].finder-slider::-webkit-slider-runnable-track {
  height: 4px; background: var(--border); border-radius: 2px;
}
input[type="range"].finder-slider::-moz-range-track {
  height: 4px; background: var(--border); border-radius: 2px;
}
input[type="range"].finder-slider::-webkit-slider-thumb {
  -webkit-appearance: none; margin-top: -10px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--bg);
  box-shadow: 0 2px 8px rgba(212,175,55,0.4);
}
input[type="range"].finder-slider::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--bg);
  box-shadow: 0 2px 8px rgba(212,175,55,0.4);
}
input[type="range"].finder-slider:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.finder-match-hero {
  border: 2px solid var(--gold); border-radius: var(--radius-lg);
  padding: var(--space-2); background: rgba(212,175,55,0.07);
  margin-bottom: var(--space-2);
}
.finder-hero-top { display: flex; justify-content: space-between; align-items: center; }
.finder-hero-badge {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bg); background: var(--gold); padding: 4px 10px; border-radius: 999px; font-weight: 700;
}
.finder-hero-pct { font-family: var(--font-mono); font-size: 34px; font-weight: 700; color: var(--gold); line-height: 1; }
.finder-hero-name { display: block; font-family: var(--font-serif); font-size: 28px; margin: 6px 0 var(--space-2); }
.finder-hero-name:hover { text-decoration: underline; }

.finder-breakdown { border-top: 1px solid var(--border-inactive); padding-top: var(--space-1); }
.finder-breakdown-row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding: 5px 0; }
.finder-breakdown-label { flex: 0 0 100px; color: var(--white); font-weight: 600; }
.finder-breakdown-detail { flex: 1; font-family: var(--font-mono); font-size: 12px; color: var(--label-text); }
.finder-breakdown-pts { flex: 0 0 auto; font-family: var(--font-mono); color: var(--purple-text); font-weight: 600; }

.finder-match-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px var(--space-2); border-radius: var(--radius); border: 1px solid var(--border-inactive);
  margin-bottom: 8px; font-size: 14px;
}
.finder-match-row .finder-match-name { color: var(--white); }
.finder-match-row .finder-match-score { font-family: var(--font-mono); color: var(--label-text); }
