/* ===================================================================
   PremierBetPicks.com - Graphite / Lime (dark, sidebar + podium)
   Mise en page unique : rail collant + flux, podium top-3, ledger licences.
   Pure static CSS. No preprocessors, no CDN, no external fonts.
   =================================================================== */

:root {
  --bg: #0e0f12;
  --surface: #16181d;
  --surface-2: #1b1e25;
  --panel: #101216;

  --lime: #c2f04a;
  --lime-bright: #d6ff6b;
  --lime-soft: rgba(194, 240, 74, 0.12);
  --lime-border: rgba(194, 240, 74, 0.34);
  --ink-on-lime: #14180a;

  --amber: #f5c451;
  --text: #eef1ec;
  --text-muted: #9aa39f;
  --text-dim: #6b726e;
  --positive: #56d68a;
  --danger: #ef5350;

  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.15);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.35);
  --shadow-lime: 0 14px 36px rgba(194, 240, 74, 0.18);

  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --maxw: 1220px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: radial-gradient(1000px 500px at 88% -8%, rgba(194, 240, 74, 0.08), transparent 60%), var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 800; color: var(--text); letter-spacing: -0.015em; }

/* ---------- Banner ---------- */
.warning-banner { background: var(--panel); color: #cdd6c8; text-align: center; font-size: 0.8rem; padding: 9px 14px; border-bottom: 1px solid var(--border); }
.warning-banner span { display: inline-block; background: var(--lime); color: var(--ink-on-lime); font-weight: 800; border-radius: 5px; padding: 1px 7px; margin-right: 4px; font-size: 0.74rem; }
.warning-banner strong { color: var(--lime-bright); }

/* ---------- Header ---------- */
header { position: sticky; top: 0; z-index: 50; background: rgba(14, 15, 18, 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--panel); border: 1px solid var(--lime-border); color: var(--lime); }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.16rem; }
.logo-premier { color: var(--text); }
.logo-bet { color: var(--lime); }
.logo-picks { color: var(--text-muted); }
nav { display: flex; align-items: center; gap: 4px; }
nav a { color: var(--text-muted); font-size: 0.92rem; font-weight: 600; padding: 9px 13px; border-radius: 8px; transition: color 0.18s, background 0.18s; }
nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); text-decoration: none; }
nav a.nav-cta { color: var(--ink-on-lime); background: var(--lime); font-weight: 800; }
nav a.nav-cta:hover { background: var(--lime-bright); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--lime); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 12px 24px; border-radius: 10px; font-weight: 700; font-size: 0.93rem; text-align: center; cursor: pointer; border: 1.5px solid transparent; transition: transform 0.15s, box-shadow 0.2s, background 0.2s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-accent { background: var(--lime); color: var(--ink-on-lime); font-weight: 800; box-shadow: var(--shadow-lime); }
.btn-accent:hover { background: var(--lime-bright); }
.btn-outline { background: transparent; color: var(--lime); border-color: var(--lime-border); }
.btn-outline:hover { background: var(--lime-soft); }
.btn-visit { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }
.btn-visit:hover { border-color: var(--lime-border); color: var(--lime-bright); }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

/* ---------- HOME : rail + feed ---------- */
.home-shell { padding: clamp(26px, 4vw, 44px) 0 clamp(36px, 5vw, 60px); }
.home-grid { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; }

.rail { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 16px; }
.rail-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.rail-intro h2 { font-size: 1.15rem; margin-bottom: 8px; }
.rail-intro p { color: var(--text-muted); font-size: 0.9rem; }
.rail-pick { text-align: center; border-color: var(--lime-border); }
.rail-label { display: inline-block; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); margin-bottom: 12px; font-weight: 700; }
.rail-pick .book-logo { font-size: 1.2rem; margin-bottom: 12px; }
.rail-pick-score { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; }
.rail-jump { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.rail-jump a { color: var(--text-muted); font-size: 0.88rem; font-weight: 600; padding: 9px 12px; border-radius: 8px; }
.rail-jump a:hover { color: var(--lime); background: rgba(255, 255, 255, 0.04); text-decoration: none; }
.rail-rg { background: var(--lime-soft); border-color: var(--lime-border); }
.rg-badge { display: inline-block; background: var(--lime); color: var(--ink-on-lime); font-weight: 800; padding: 3px 10px; border-radius: 7px; font-size: 0.82rem; margin-bottom: 10px; }
.rail-rg p { color: var(--text); font-size: 0.86rem; margin-bottom: 8px; }
.rail-rg a { font-size: 0.84rem; font-weight: 700; }

/* ---------- Feed ---------- */
.feed { min-width: 0; display: flex; flex-direction: column; gap: clamp(34px, 5vw, 52px); }
.hero-block { background: linear-gradient(160deg, var(--surface), var(--panel)); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); }
.updated-badge { display: inline-block; font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--lime); background: var(--lime-soft); border: 1px solid var(--lime-border); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; font-weight: 600; }
.hero-block h1 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 18ch; margin-bottom: 14px; }
.subtitle { color: var(--text-muted); font-size: clamp(1rem, 2vw, 1.14rem); max-width: 60ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 26px; }
.hero-stats { list-style: none; display: flex; gap: clamp(18px, 4vw, 44px); flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 22px; }
.hero-stats li { color: var(--text-muted); font-size: 0.88rem; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.55rem; color: var(--lime); }

.block-title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 10px; }
.block-lead { color: var(--text-muted); margin-bottom: 24px; }

.score-pill { display: inline-grid; place-items: center; min-width: 56px; padding: 8px 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--ink-on-lime); background: var(--lime); border-radius: 10px; }
.score-pill--sm { min-width: 44px; padding: 5px 9px; font-size: 1rem; }
.stars { color: var(--amber); font-size: 0.92rem; letter-spacing: 1px; }

/* ---------- Bookmaker logos ---------- */
.book-logo { display: inline-flex; align-items: center; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; padding: 6px 12px; border-radius: 8px; font-family: var(--font-body); line-height: 1; white-space: nowrap; }
.book-365 { background: #126e51; color: #fff; }
.book-365 span { color: #ffd23b; }
.book-sky { background: #00a1e0; color: #fff; text-transform: lowercase; }
.book-sky span { color: #002a5c; background: #fff; padding: 2px 5px; border-radius: 4px; margin-left: 4px; font-weight: 800; }
.book-whill { background: #0a1f44; color: #fff; border: 1px solid #2a4a86; }
.book-whill span { color: #1e9bd7; margin-left: 5px; }
.book-paddy { background: #004833; color: #fff; }
.book-paddy span { color: #6cc04a; margin-left: 4px; }
.book-betfair { background: #ffb80c; color: #1a1a1a; text-transform: lowercase; font-size: 1.1rem; }

/* ---------- Podium ---------- */
.podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 16px; align-items: end; margin-bottom: 18px; }
.podium-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 18px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.podium-1 { border: 2px solid var(--lime); box-shadow: var(--shadow-lime); padding-top: 30px; padding-bottom: 26px; }
.podium-crown { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; display: grid; place-items: center; background: var(--lime); color: var(--ink-on-lime); border-radius: 50%; font-size: 0.95rem; }
.podium-pos { width: 30px; height: 30px; margin: 0 auto 12px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--text); background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 9px; }
.podium-1 .podium-pos { color: var(--ink-on-lime); background: var(--lime); border-color: var(--lime); }
.podium-card .book-logo { margin-bottom: 12px; }
.podium-score { margin-bottom: 8px; }
.podium-offer { font-family: var(--font-display); font-weight: 700; color: var(--lime); font-size: 0.98rem; margin: 10px 0 14px; }
.podium-lic { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); margin-top: 10px; }

.rank-rest { display: flex; flex-direction: column; gap: 12px; }
.rest-row { display: grid; grid-template-columns: 40px 140px auto 1fr auto auto; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 20px; }
.rest-pos { width: 34px; height: 34px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px; }
.rest-score { display: flex; align-items: center; gap: 8px; }
.rest-offer { font-family: var(--font-display); font-weight: 700; color: var(--lime); font-size: 0.92rem; }
.rest-lic { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); }
.rank-note { color: var(--text-dim); font-size: 0.78rem; margin-top: 14px; }

/* ---------- How we rate ---------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-pill { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.how-num { flex-shrink: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--lime); }
.how-pill h3 { font-size: 1rem; margin-bottom: 4px; }
.how-pill p { color: var(--text-muted); font-size: 0.88rem; }
.how-link { margin-top: 18px; }
.how-link a { font-weight: 700; }

/* ---------- Licensing ledger ---------- */
.lic-ledger { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.ledger-row { display: grid; grid-template-columns: 130px 1fr auto auto; align-items: center; gap: 18px; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.ledger-row:last-child { border-bottom: 0; }
.ledger-head { background: var(--panel); font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-dim); font-weight: 700; }
.ledger-op { color: var(--text-muted); font-size: 0.9rem; }
.ledger-num { font-family: var(--font-mono); font-weight: 700; color: var(--text); font-size: 0.9rem; }
.ledger-row a { font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
.lic-foot { color: var(--text-dim); font-size: 0.82rem; margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: 0; color: var(--text); cursor: pointer; font-family: var(--font-display); font-size: 1rem; font-weight: 700; text-align: left; padding: 16px 20px; }
.faq-icon { color: var(--lime); font-size: 1.4rem; flex-shrink: 0; transition: transform 0.2s; font-weight: 700; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { color: var(--text-muted); padding: 0 20px 18px; font-size: 0.93rem; }

/* ---------- Content pages (SPA) ---------- */
.content-page { display: none; padding: clamp(34px, 6vw, 60px) 0; }
.content-page.active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.page-title { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--lime); display: inline-block; }
.review-intro p, .methodology-intro p, .about-intro p, .legal-intro p, .contact-intro p, .safer-intro p { color: var(--text-muted); font-size: 1.05rem; max-width: 75ch; margin-bottom: 14px; }

.review-detailed { display: flex; flex-direction: column; gap: 22px; margin-top: 24px; }
.review-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.review-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 26px; background: var(--panel); border-bottom: 1px solid var(--border); }
.review-score { text-align: right; }
.score-number { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--lime); }
.review-content { padding: 22px 26px; }
.review-content h3 { font-size: 1.3rem; margin-bottom: 6px; }
.review-content h4 { font-size: 1rem; margin: 16px 0 8px; color: var(--lime); }
.review-content p { color: var(--text-muted); margin-bottom: 10px; }
.review-content strong { color: var(--text); }

.methodology-section, .safer-section, .about-section, .legal-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 18px; }
.methodology-section h3, .safer-section h3, .about-section h3, .legal-section h3 { font-size: 1.2rem; margin-bottom: 12px; }
.methodology-section h4, .legal-section h4 { color: var(--lime); margin: 14px 0 8px; font-size: 1rem; }
.methodology-section p, .safer-section p, .about-section p, .legal-section p { color: var(--text-muted); margin-bottom: 10px; }
.methodology-section strong, .safer-section strong, .about-section strong, .legal-section strong { color: var(--text); }
.methodology-note { font-size: 0.92rem; padding: 12px 16px; border-radius: var(--radius-sm); background: rgba(239, 83, 80, 0.1); border: 1px solid rgba(239, 83, 80, 0.28); }
.scoring-table { margin-top: 16px; }
.scoring-table table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.scoring-table td { padding: 10px 14px; border: 1px solid var(--border); color: var(--text-muted); font-size: 0.92rem; }
.scoring-table td strong { color: var(--text); }
.methodology-final { background: var(--lime-soft); border: 1px solid var(--lime-border); border-radius: var(--radius); padding: 28px; }
.methodology-final h3 { color: var(--lime); margin-bottom: 12px; }
.score-breakdown { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 18px; }
.score-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.score-item span { font-family: var(--font-display); font-weight: 800; color: var(--lime); font-size: 1.05rem; }
.score-item p { font-size: 0.85rem; color: var(--text-muted); margin: 4px 0 0; }

.check-list { list-style: none; margin: 12px 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 9px; color: var(--text-muted); }
.check-list li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; font-size: 0.72rem; color: #06210f; font-weight: 800; background: var(--positive); border-radius: 50%; }
.check-list strong { color: var(--text); }
.cons-list { list-style: none; margin: 8px 0; }
.cons-list li { position: relative; padding-left: 28px; margin-bottom: 8px; color: var(--text-muted); }
.cons-list li::before { content: "\2715"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; font-size: 0.7rem; color: #fff; font-weight: 800; background: var(--danger); border-radius: 50%; }

.warning-box { background: rgba(239, 83, 80, 0.09); border: 1px solid rgba(239, 83, 80, 0.3); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 18px; }
.warning-box h3 { color: #ff8b89; margin-bottom: 8px; }
.warning-box p { color: var(--text-muted); }
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 16px; }
.support-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; }
.support-card h4 { color: var(--lime); margin-bottom: 8px; }
.support-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 6px; }
.safer-final { background: var(--lime-soft); border: 1px solid var(--lime-border); border-radius: var(--radius); padding: 22px 26px; }
.safer-final p { color: var(--text); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.contact-method { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.contact-method h3 { font-size: 1.08rem; margin-bottom: 10px; color: var(--lime); }
.contact-method p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 8px; }
.contact-note { font-style: italic; color: var(--text-dim); }
.contact-disclaimer { background: var(--lime-soft); border: 1px solid var(--lime-border); border-radius: var(--radius); padding: 20px 24px; }
.contact-disclaimer p { color: var(--text); }
.cookie-category { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 12px; background: var(--surface-2); }
.cookie-category h4 { color: var(--lime); margin-bottom: 6px; }
.cookie-category p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ---------- Footer ---------- */
footer { background: var(--panel); border-top: 1px solid var(--border); padding: clamp(40px, 6vw, 60px) 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 32px; margin-bottom: 34px; }
.footer-column h4 { color: var(--lime); font-size: 1.05rem; margin-bottom: 14px; }
.footer-column p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; }
.footer-column .location { color: var(--text-dim); }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 9px; }
.footer-column a { color: var(--text-muted); font-size: 0.9rem; }
.footer-column a:hover { color: var(--lime); }
.disclaimer { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 22px; background: var(--surface); }
.disclaimer-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.disclaimer-badge { background: var(--lime); color: var(--ink-on-lime); font-weight: 800; padding: 5px 11px; border-radius: 8px; font-size: 0.9rem; }
.disclaimer h3 { font-size: 1rem; color: var(--text); }
.disclaimer p { color: var(--text-muted); font-size: 0.87rem; margin-bottom: 8px; }
.disclaimer strong { color: var(--text); }
.copyright { text-align: center; color: var(--text-dim); font-size: 0.82rem; padding-top: 18px; border-top: 1px solid var(--border); }

/* ---------- Scroll to top ---------- */
.scroll-top { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--lime); color: var(--ink-on-lime); font-size: 1.3rem; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.2s; box-shadow: var(--shadow-lime); }
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); background: var(--lime-bright); }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 980px) {
  .home-grid { grid-template-columns: 1fr; }
  .rail { position: static; flex-direction: row; flex-wrap: wrap; }
  .rail-card, .rail-jump { flex: 1; min-width: 220px; }
  .how-grid { grid-template-columns: 1fr; }
  .rest-row { grid-template-columns: 36px 130px 1fr auto; grid-template-areas: "pos logo score btn" "pos offer lic btn"; gap: 8px 14px; }
  .rest-pos { grid-area: pos; }
  .rest-row .book-logo { grid-area: logo; }
  .rest-score { grid-area: score; }
  .rest-offer { grid-area: offer; }
  .rest-lic { grid-area: lic; }
  .rest-row .btn { grid-area: btn; align-self: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  nav { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: rgba(14, 15, 18, 0.98); border-bottom: 1px solid var(--border); padding: 14px 18px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
  nav.open { transform: none; opacity: 1; pointer-events: auto; }
  nav a { padding: 12px 14px; }
  nav a.nav-cta { text-align: center; }
  .rail { flex-direction: column; }
  .podium { grid-template-columns: 1fr; }
  .podium-1 { order: -1; }
  .podium-card { padding-top: 22px; }
}

@media (max-width: 520px) {
  .rest-row { grid-template-columns: 32px 1fr; grid-template-areas: "pos logo" "pos score" "pos offer" "pos btn"; }
  .rest-lic { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .review-header { flex-direction: column; align-items: flex-start; }
  .review-score { text-align: left; }
  .ledger-head { display: none; }
  .ledger-row { grid-template-columns: 110px 1fr; grid-template-areas: "logo op" "num link"; gap: 10px 14px; }
  .ledger-row .book-logo { grid-area: logo; }
  .ledger-op { grid-area: op; }
  .ledger-num { grid-area: num; }
  .ledger-row a { grid-area: link; }
}
