/* Betsson Zona — light cartographic theme: paper ground, brand ink and orange,
   one colour per jurisdiction (PBA blue, CABA violet, Córdoba green). */
:root {
  --paper: #f6f4ee;
  --card: #ffffff;
  --ink: #121422;
  --ink-soft: #2e2f3c;
  --muted: #5b5e6e;
  --line: #e3e0d6;
  --accent: #ff6600;
  --accent-deep: #c24e00;
  --accent-wash: #fff0e7;
  --navy: #0f101d;
  --pba: #4a90e2;
  --caba: #5943b6;
  --cba: #00aa41;
  --warn: #dd2727;
  --f-head: "Outfit", "Trebuchet MS", sans-serif;
  --f-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --r-s: 6px;
  --r-m: 12px;
  --r-l: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17.5px;
  line-height: 1.75;
}
body.menu-lock { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.18; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(1.85rem, 3.1vw, 2.55rem); font-weight: 800; margin: 0 0 0.55em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 700; margin: 2.1em 0 0.6em; scroll-margin-top: 90px; }
h3 { font-size: 1.18rem; font-weight: 700; margin: 1.6em 0 0.45em; }
p { margin: 0 0 1.15em; }
strong { color: var(--ink); }

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: var(--card);
  border-bottom: 3px solid var(--accent);
}
.masthead-in {
  max-width: 1240px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 18px; min-height: 66px;
}
.wordmark {
  font-family: var(--f-head); font-weight: 600; font-size: 1.32rem; color: var(--ink);
  text-decoration: none; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
}
.wordmark b { color: var(--accent); font-weight: 800; }
.wm-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: conic-gradient(var(--pba) 0 120deg, var(--caba) 120deg 240deg, var(--cba) 240deg 360deg);
  box-shadow: inset 0 0 0 5px var(--card);
  border: 2px solid var(--ink);
}
.site-nav { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-main a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px;
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.95rem; border-radius: var(--r-s);
}
.nav-main a:hover, .nav-main a[aria-current] { background: var(--accent-wash); color: var(--accent-deep); }
.nav-zones { gap: 6px; padding-left: 12px; border-left: 1px solid var(--line); }
.zchip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px;
  border-radius: 999px; font-size: 0.84rem; font-weight: 700; text-decoration: none;
  color: var(--ink); background: var(--paper); border: 1.5px solid var(--line);
}
.zchip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.z-pba { color: var(--pba); } .z-caba { color: var(--caba); } .z-cba { color: var(--cba); }
.zchip[aria-current] { background: var(--card); border-color: currentColor; }
.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; min-height: 48px;
  border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--card);
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- frame: sheet + table of contents ---------- */
.frame { max-width: 1240px; margin: 0 auto; padding: 0 20px 64px; }
.frame-toc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 46px; }
.toc {
  position: sticky; top: 92px; align-self: start; margin-top: 40px;
  font-size: 0.9rem; max-height: calc(100vh - 120px); overflow-y: auto;
}
.toc-title { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--muted); margin-bottom: 0.6em; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: block; padding: 6px 0 6px 14px; color: var(--ink-soft); text-decoration: none; line-height: 1.35; margin-left: -2px; border-left: 2px solid transparent; }
.toc a::before { content: counter(t, decimal-leading-zero) "  "; color: var(--accent-deep); font-weight: 700; font-size: 0.78rem; }
.toc a:hover { border-left-color: var(--accent); color: var(--ink); }
.sheet { min-width: 0; max-width: 900px; }
.sheet p,
.sheet li,
.sheet .src-note,
.sheet .callout { max-width: 66ch; }

/* ---------- opening (hero) ---------- */
.opening { padding: 40px 0 8px; }
.opening-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 34px; align-items: start; }
.kicker {
  display: inline-block; font-family: var(--f-head); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9em;
}
.lede { font-size: 1.12rem; color: var(--ink); line-height: 1.6; max-width: 38em; }
.ticket {
  position: relative; margin: 1.3em 0; padding: 18px 20px 16px;
  background: var(--card); border: 2px dashed var(--accent); border-radius: var(--r-m);
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: var(--paper); border-radius: 50%;
}
.ticket::before { left: -11px; border-right: 2px dashed var(--accent); }
.ticket::after { right: -11px; border-left: 2px dashed var(--accent); }
.ticket-label { font-family: var(--f-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); }
.ticket-offer { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.2; margin: 0.25em 0 0.35em; color: var(--ink); }
.ticket-fine { font-size: 0.88rem; color: var(--muted); margin: 0; }
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--accent); color: var(--navy); font-family: var(--f-head); font-weight: 800; font-size: 1.04rem;
  text-decoration: none; border: 2px solid var(--navy); box-shadow: 4px 4px 0 var(--navy);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.cta:hover { color: var(--navy); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--navy); }
.cta::after { content: "→"; font-weight: 700; }
.cta-ghost {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; margin-left: 10px;
  border-radius: 999px; border: 2px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600;
}
.cta-ghost:hover { border-color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; margin: 0.4em 0 1em; }
.verified-line { font-size: 0.86rem; color: var(--muted); margin: 0.6em 0 0; }
.opening-media { margin: 0; }
.opening-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-l); border: 2px solid var(--ink); }
.opening-media figcaption { font-size: 0.83rem; color: var(--muted); margin-top: 8px; }

/* ---------- zone cards ---------- */
.zone-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 1.4em 0; }
.zone-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-m); overflow: hidden;
  display: flex; flex-direction: column; border-top: 6px solid var(--zc, var(--accent));
}
.zone-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.zone-card .zc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.zone-card .zc-name { font-family: var(--f-head); font-weight: 800; font-size: 1.15rem; }
.zone-card p { font-size: 0.93rem; margin: 0; color: var(--ink-soft); }
.zone-card a.zc-link { margin-top: auto; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.zc-pba { --zc: var(--pba); } .zc-caba { --zc: var(--caba); } .zc-cba { --zc: var(--cba); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 1.3em 0 1.5em; border: 1.5px solid var(--line); border-radius: var(--r-m); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 560px; }
caption { text-align: left; padding: 12px 16px; font-family: var(--f-head); font-weight: 700; color: var(--ink); caption-side: top; }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
thead th { background: var(--ink); color: #ffffff; font-family: var(--f-head); font-weight: 600; border-top: 0; }
tbody tr:nth-child(even) td { background: #fbfaf6; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; color: #ffffff; }
.tag-pba { background: var(--pba); } .tag-caba { background: var(--caba); } .tag-cba { background: var(--cba); }
.btn-tbl {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 14px; background: var(--accent); color: #ffffff;
  font-family: var(--f-head); font-weight: 700; font-size: 0.86rem;
  border-radius: var(--r-s); text-decoration: none; white-space: nowrap;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn-tbl:hover { background: var(--accent-deep); color: #ffffff; transform: translateY(-1px); }

/* ---------- source notes, evidence, callouts ---------- */
.src-note {
  font-size: 0.85rem; color: var(--muted); padding: 8px 12px; margin: 0.6em 0 1.4em;
  border-left: 3px solid var(--accent); background: var(--card); border-radius: 0 var(--r-s) var(--r-s) 0;
}
.src-note a { color: var(--muted); }
.evidence {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-l);
  padding: 22px 24px; margin: 1.8em 0; box-shadow: 6px 6px 0 var(--accent);
}
.evidence h2 { margin-top: 0; }
.evidence ul { list-style: none; padding: 0; margin: 0.4em 0 1em; display: grid; gap: 10px; }
.evidence li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.evidence li::before {
  content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--cba); color: #ffffff;
  display: grid; place-items: center; font-weight: 800; font-size: 0.85rem;
}
.ev-label { font-weight: 700; display: block; }
.ev-meta { font-size: 0.88rem; color: var(--muted); }
.callout {
  background: var(--accent-wash); border-radius: var(--r-m); padding: 16px 18px; margin: 1.4em 0;
  border: 1.5px solid #ffd2b3;
}
.callout-warn { background: #fdecec; border-color: #f5c2c2; }
.callout-warn strong { color: var(--warn); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- lists, steps, pros/cons ---------- */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 1.2em 0 1.5em; display: grid; gap: 12px; }
.steps > li {
  counter-increment: s; position: relative; padding: 14px 16px 14px 60px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-m);
}
.steps > li::before {
  content: counter(s); position: absolute; left: 14px; top: 13px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: var(--accent); font-family: var(--f-head); font-weight: 800; display: grid; place-items: center;
}
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 1.2em 0 1.5em; }
.split > div { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; }
.split .split-title { font-family: var(--f-head); font-weight: 700; margin-bottom: 0.4em; }
.split ul { margin: 0; padding-left: 1.1em; }
.split li { margin-bottom: 0.45em; }
.pro .split-title { color: var(--cba); } .con .split-title { color: var(--warn); }
.sheet ul:not([class]) li, .sheet ol:not([class]) li { margin-bottom: 0.4em; }

/* ---------- media ---------- */
.figure { margin: 1.5em 0; }
.figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-m); border: 1.5px solid var(--line); }
.figure-tall img { aspect-ratio: 4 / 3; }
.figure figcaption { font-size: 0.84rem; color: var(--muted); margin-top: 6px; }
.logo-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 1em 0; }
.logo-row img { height: 34px; width: auto; aspect-ratio: auto; background: var(--card); padding: 6px 12px; border-radius: var(--r-s); border: 1.5px solid var(--line); }

/* ---------- games strip ---------- */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 1.3em 0 1.6em; }
.game-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-m); overflow: hidden;
  display: flex; flex-direction: column; overflow-wrap: anywhere; hyphens: auto;
}
.game-card a.game-poster { display: block; }
.game-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.game-card .game-name { font-family: var(--f-head); font-weight: 700; padding: 10px 12px 2px; font-size: 0.98rem; margin: 0; line-height: 1.3; letter-spacing: 0; }
.game-card .game-note { font-size: 0.82rem; color: var(--muted); padding: 0 12px 12px; margin: 0; }

/* ---------- calculator ---------- */
.calc {
  background: var(--ink); color: #ffffff; border-radius: var(--r-l); padding: 22px; margin: 1.6em 0;
}
.calc h2, .calc h3 { color: #ffffff; margin-top: 0; }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.calc label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; color: #eaebec; }
.calc input, .calc select {
  width: 100%; min-height: 48px; border-radius: var(--r-s); border: 2px solid var(--ink-soft);
  background: var(--navy); color: #ffffff; font: inherit; padding: 0 12px;
}
.calc input:focus, .calc select:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.calc-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.calc-out div { background: var(--ink-soft); border-radius: var(--r-s); padding: 10px 12px; }
.calc-out span { display: block; font-size: 0.78rem; color: #c9cad3; }
.calc-out b { font-family: var(--f-head); font-size: 1.22rem; color: var(--accent); }
.calc-msg { margin: 12px 0 0; font-size: 0.9rem; color: #eaebec; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; margin: 1em 0 1.4em; }
details.qa { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 0 16px; }
details.qa[open] { border-color: var(--ink); }
details.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; font-family: var(--f-head); font-size: 1.5rem; color: var(--accent-deep); }
details.qa[open] summary::after { content: "–"; }
details.qa summary h3 { margin: 12px 0; font-size: 1.04rem; }
details.qa > p { margin-top: 0; }

/* ---------- closing CTA band ---------- */
.closer {
  margin: 2.4em 0 1em; padding: 24px; border-radius: var(--r-l);
  background: var(--accent); color: var(--navy); border: 2px solid var(--navy);
}
.closer p { color: var(--navy); }
.closer .cta { background: var(--card); }
.closer-title { font-family: var(--f-head); font-weight: 800; font-size: 1.4rem; margin-bottom: 0.3em; }
.related { display: flex; flex-wrap: wrap; gap: 8px; margin: 1em 0; padding: 0; list-style: none; }
.related a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  background: var(--card); border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.92rem;
}
.related a:hover { border-color: var(--accent); }

/* ---------- footer ---------- */
.colophon { background: var(--navy); color: #d7d8e0; padding: 40px 0 120px; }
.colophon-in { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.site-disclaimer { max-width: 900px; font-size: 0.98rem; line-height: 1.65; }
.site-disclaimer strong { color: #ffffff; }
.colophon-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 18px 0; }
.colophon-links a { color: var(--accent); min-height: 44px; display: inline-flex; align-items: center; }
.colophon-small { font-size: 0.86rem; color: #a9abb8; }

/* ---------- mobile dock CTA (hidden on desktop) ---------- */
.dock { display: none; }

@media (max-width: 1100px) {
  .frame-toc { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
  .sheet { max-width: none; }
}

@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: fixed; top: 69px; left: 0; right: 0; bottom: 0;
    background: var(--card); padding: 18px 20px 120px; overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 18px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .nav-main a { min-height: 50px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-zones { flex-direction: row !important; flex-wrap: wrap; border-left: 0; padding-left: 0; }
  .opening { padding-top: 24px; }
  .opening-grid, .zone-cards, .split, .calc-grid, .calc-out { grid-template-columns: minmax(0, 1fr); }
  .cta { width: 100%; }
  .cta-ghost { margin: 8px 0 0; width: 100%; justify-content: center; }
  .evidence { padding: 18px; box-shadow: 4px 4px 0 var(--accent); }
  .colophon { padding-bottom: 130px; }
  .dock {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--ink); border-top: 3px solid var(--accent);
  }
  .dock-txt { color: #ffffff; font-family: var(--f-head); font-weight: 700; font-size: 0.86rem; line-height: 1.2; }
  .dock-btn { width: auto; min-height: 48px; padding: 0 16px; font-size: 0.95rem; box-shadow: none; border-color: var(--accent); flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta { transition: none; }
}

code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.86em; background: var(--accent-wash); color: var(--ink); padding: 1px 6px; border-radius: 4px; overflow-wrap: anywhere; }

/* ---------- perks strip (what the player gets) ---------- */
.perks { margin: 8px 0 26px; padding: 18px 20px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-l); box-shadow: 5px 5px 0 var(--cba); }
.perks-title { font-family: var(--f-head); font-weight: 800; font-size: 1.12rem; margin-bottom: 10px; }
.perks ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.perks li { position: relative; padding-left: 30px; font-weight: 600; line-height: 1.45; }
.perks li::before { content: "★"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--navy); font-size: 0.75rem; display: grid; place-items: center; }
@media (max-width: 860px) { .perks ul { grid-template-columns: minmax(0, 1fr); } }

/* Responsive Sticky CTA */
@media (min-width: 769px) {
  .sticky-cta, [data-block="sticky_cta"] { display: none !important; }
}

/* Responsive Burger Menu */
@media (max-width: 768px) {
  .burger { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
  nav { display: none; flex-direction: column; }
  nav[data-open="true"] { display: flex; }
}

/* ---------- interactive game recommender widget ---------- */
.game-recommender {
  background: linear-gradient(135deg, #121422 0%, #1e2238 100%);
  color: #ffffff; border-radius: var(--r-l); padding: 24px; margin: 1.8em 0;
  border: 1.5px solid rgba(255, 102, 0, 0.35); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
.game-recommender h2 { color: #ffffff; margin-top: 4px; }
.game-recommender p { color: #e2e4e9; }
.rec-form { margin: 16px 0 20px; }
.rec-result-card {
  display: grid; grid-template-columns: 140px 1fr; gap: 20px;
  background: rgba(255, 255, 255, 0.05); border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-m); padding: 18px; align-items: center;
}
.rec-card-media img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-s);
  border: 1.5px solid rgba(255, 255, 255, 0.15); display: block;
}
.rec-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.rec-title { font-family: var(--f-head); font-size: 1.25rem; margin: 0 0 6px; color: #ffffff; }
.rec-desc { font-size: 0.94rem; margin: 0 0 16px; color: #d0d3dc; line-height: 1.45; }
.rec-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rec-actions .cta { margin: 0; padding: 12px 20px; font-size: 0.95rem; }
.rec-actions .cta-ghost {
  margin: 0; padding: 12px 18px; font-size: 0.95rem; background: transparent; color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35); border-radius: var(--r-s); font-family: var(--f-head); font-weight: 700;
  cursor: pointer; transition: background 0.18s, border-color 0.18s;
}
.rec-actions .cta-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #ffffff; }
@media (max-width: 640px) {
  .rec-result-card { grid-template-columns: 1fr; text-align: center; }
  .rec-card-media { max-width: 160px; margin: 0 auto; }
  .rec-badges { justify-content: center; }
  .rec-actions { justify-content: center; flex-direction: column; width: 100%; }
  .rec-actions .cta, .rec-actions .cta-ghost { width: 100%; text-align: center; }
}

/* ---------- home simulator widget ---------- */
.home-sim {
  background: linear-gradient(135deg, #0f1220 0%, #171b30 100%);
  color: #ffffff;
  border-radius: var(--r-l);
  padding: 28px;
  margin: 2em 0;
  border: 1.5px solid rgba(255, 102, 0, 0.4);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
.home-sim strong,
.home-sim b {
  color: #ffffff;
}
.home-sim .sim-badge {
  display: inline-block;
  background: rgba(255, 102, 0, 0.18);
  color: #ff944d;
  border: 1px solid rgba(255, 102, 0, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.home-sim .sim-title {
  color: #ffffff;
  margin: 4px 0 8px;
  font-size: 1.85rem;
  line-height: 1.25;
}
.home-sim .sim-desc {
  color: #dce0eb;
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0 0 20px;
}
.home-sim .sim-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: start;
}
.home-sim .sim-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.home-sim .sim-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.home-sim .sim-label {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}
.home-sim .sim-hint {
  color: #b0b7c9;
  font-size: 0.82rem;
  margin: 4px 0 0;
  line-height: 1.4;
}
.home-sim .sim-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
}
.home-sim .sim-chip {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  padding: 8px 14px;
  border-radius: var(--r-s);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}
.home-sim .sim-chip:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}
.home-sim .sim-chip.is-active,
.home-sim .sim-chip.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.4);
}
.home-sim .sim-input {
  width: 100%;
  max-width: 280px;
  background: #0f1220;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-s);
  padding: 10px 14px;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.home-sim .sim-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.25);
}
.home-sim .sim-card {
  background: #1c2238;
  border: 1.5px solid rgba(255, 102, 0, 0.45);
  border-radius: var(--r-m);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.home-sim .sim-total-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
}
.home-sim .sim-total-kicker {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #ff944d;
  font-weight: 700;
  margin-bottom: 4px;
}
.home-sim .sim-total-num {
  font-family: var(--f-head);
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin: 4px 0 8px;
  letter-spacing: -0.5px;
}
.home-sim .sim-zone-line {
  color: #dce0eb;
  font-size: 0.92rem;
  margin: 0;
}
.home-sim .sim-zone-line strong {
  color: #ff944d;
  font-weight: 800;
}
.home-sim .sim-val-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-sim .sim-val-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-s);
  padding: 10px 14px;
}
.home-sim .sim-val-row span {
  color: #c5cbd8;
  font-size: 0.9rem;
}
.home-sim .sim-val-row strong {
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--f-head);
  white-space: nowrap;
}
.home-sim .sim-notice {
  background: rgba(255, 102, 0, 0.12);
  border-left: 3px solid var(--accent);
  color: #ffe0cc;
  padding: 10px 14px;
  border-radius: var(--r-s);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
}
.home-sim .cta-sim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 14px 20px;
  border-radius: var(--r-s);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.home-sim .cta-sim:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.55);
  color: #ffffff !important;
}

@media (max-width: 820px) {
  .home-sim .sim-layout { grid-template-columns: 1fr; }
  .home-sim .sim-input { max-width: 100%; }
}

