/* ============================================================
   layout.css — page sections for Task Bar Hero Wiki
   ============================================================ */

/* ---------------- NAV ---------------- */
.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(10,12,24,.78);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom:2px solid var(--border);
}
.nav-inner{ display:flex; align-items:center; gap:22px; height:68px; }
.brand{ display:flex; align-items:center; gap:10px; flex:none; }
.brand-logo{ height:40px; width:auto; display:block; border:2px solid var(--border-2);
  border-radius:6px; box-shadow:var(--shadow-hard-sm); image-rendering:pixelated; }
.brand-wiki{ font-size:9px; letter-spacing:.12em; color:var(--accent-ink);
  background:var(--accent); padding:3px 6px; border-radius:4px; line-height:1;
  border:2px solid #05060f; box-shadow:var(--shadow-hard-sm); }
.brand:hover .brand-logo{ border-color:var(--accent); }

.nav-links{ display:flex; gap:6px; margin-left:8px; }
.nav-links a{ padding:9px 13px; border-radius:6px; font-size:14px; font-weight:600; color:var(--muted); white-space:nowrap;
  transition:color .15s, background .15s; }
.nav-links a:hover{ color:var(--text); background:var(--surface); }

.nav-actions{ display:flex; align-items:center; gap:12px; margin-left:auto; }
.search{ display:flex; align-items:center; gap:8px; background:var(--panel);
  border:2px solid var(--border); border-radius:6px; padding:8px 10px; color:var(--faint); }
.search:focus-within{ border-color:var(--accent); color:var(--muted); }
.search input{ background:none; border:0; outline:none; color:var(--text); font-family:var(--font-body);
  font-size:13px; width:190px; }
.search input::placeholder{ color:var(--faint); }
.search kbd{ font-family:var(--font-mono); font-size:13px; background:var(--surface-2);
  border:1px solid var(--border-2); border-radius:4px; padding:0 6px; color:var(--muted); }

/* language switch (EN / 中) */
.lang-switch{ display:flex; background:var(--panel); border:2px solid var(--border);
  border-radius:6px; overflow:hidden; flex:none; }
.lang-btn{ appearance:none; cursor:pointer; border:0; background:none;
  font-family:var(--font-pixel); font-size:10px; letter-spacing:.04em;
  color:var(--faint); padding:9px 10px; line-height:1; transition:color .15s, background .15s; }
.lang-btn + .lang-btn{ border-left:2px solid var(--border); }
.lang-btn:hover{ color:var(--muted); }
.lang-btn.is-active{ background:var(--accent); color:var(--accent-ink); }

/* ---------------- HERO ---------------- */
.hero{ display:grid; grid-template-columns:1fr 1.25fr; gap:48px; align-items:center;
  padding:72px 24px 84px; }
.hero-title{ font-size:clamp(26px,3.4vw,44px); line-height:1.05; letter-spacing:-.03em; white-space:nowrap; }
.hero-title .hl{ color:var(--accent); position:relative; white-space:nowrap; }
.hero-title .hl::after{ content:""; position:absolute; left:0; right:0; bottom:4px; height:14px;
  background:var(--accent); opacity:.18; z-index:-1; }
.hero-sub{ color:var(--muted); font-size:17px; max-width:48ch; margin:22px 0 30px; text-wrap:pretty; }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-stats{ display:flex; align-items:center; gap:14px; margin-top:34px; flex-wrap:nowrap; }
.hero-stats > div:not(.vr){ display:flex; flex-direction:column; gap:2px; }
.hero-stats b{ font-size:25px; color:var(--text); line-height:1; }
.hero-stats span{ font-size:11px; color:var(--faint); }
.hero-stats .vr{ width:2px; height:32px; background:var(--border); }

.hero-art{ position:relative; }
.art-frame{ overflow:hidden; padding:0; }
.art-chrome{ display:flex; align-items:center; gap:7px; padding:11px 14px; background:var(--surface-2);
  border-bottom:2px solid var(--border); }
.art-chrome .dot{ width:11px; height:11px; border-radius:50%; background:var(--danger); }
.art-chrome .dot:nth-child(2){ background:var(--gold); }
.art-chrome .dot:nth-child(3){ background:var(--loot); }
.art-chrome em{ margin-left:8px; font-family:var(--font-mono); font-size:15px; color:var(--muted); font-style:normal; }
/* hero trailer — lite YouTube facade (key-art poster -> plays on click) */
.yt-lite{ position:relative; aspect-ratio:16/9; background:#05060f center/cover no-repeat;
  cursor:pointer; display:block; }
.yt-lite::after{ content:""; position:absolute; inset:0; background:rgba(8,9,18,.28);
  transition:background .2s; }
.yt-lite:hover::after, .yt-lite:focus-visible::after{ background:rgba(8,9,18,.10); }
.yt-lite:focus-visible{ outline:3px solid var(--accent); outline-offset:-3px; }
.yt-play{ position:absolute; inset:0; margin:auto; width:74px; height:74px; z-index:1;
  display:grid; place-items:center; border:3px solid #05060f; border-radius:50%;
  background:var(--accent); color:var(--accent-ink); font-size:26px; padding-left:5px;
  box-shadow:var(--shadow-hard); transition:transform .12s; pointer-events:none; }
.yt-lite:hover .yt-play{ transform:scale(1.08); }
.yt-lite iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

.art-sprites{ position:absolute; left:14px; bottom:-22px; display:flex; align-items:flex-end; gap:18px; }
body[data-sprites="off"] .art-sprites{ display:none; }

/* ---------------- BLOCK scaffold ---------------- */
.block{ padding:64px 24px; }
.block-head{ margin-bottom:34px; }
.block-head .eyebrow{ margin-bottom:14px; }
.block-head .section-title{ margin-top:4px; }
.block-sub{ color:var(--muted); margin:12px 0 0; font-size:16px; }
.block-head.sm .section-title{ font-size:clamp(22px,2.6vw,30px); }

/* ---------------- STEPS ---------------- */
.steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.steps li{ display:flex; flex-direction:column; gap:10px; }
.step-no{ font-size:20px; color:var(--accent); }
.steps h3{ font-size:18px; }
.steps p{ margin:0; color:var(--muted); font-size:14px; flex:1; text-wrap:pretty; }
.steps p i{ font-style:normal; font-size:13px; }
.steps .tag{ align-self:flex-start; margin-top:4px; }
.steps-foot{ display:flex; align-items:center; gap:22px; margin-top:26px; flex-wrap:wrap; }
.afk-note{ margin:0; flex:1; min-width:280px; color:var(--muted); font-size:13.5px; line-height:1.5;
  border-left:3px solid var(--gold); padding-left:14px; }
.afk-note .mono{ color:var(--gold); font-size:16px; margin-right:6px; }

/* ---------------- RUNE TREE ---------------- */
.rune-wrap{ display:grid; grid-template-columns:.95fr 1.05fr; gap:0; overflow:hidden; }
.rune-copy{ padding:34px; border-right:2px solid var(--border);
  background:linear-gradient(160deg, var(--surface-2), var(--surface)); }
.rune-copy .eyebrow{ margin-bottom:14px; }
.rune-lead{ color:var(--muted); font-size:15px; margin:14px 0 18px; text-wrap:pretty; }
.rune-tip{ margin:0; font-size:13px; color:var(--faint); line-height:1.6; }
.rune-tip .mono{ color:var(--gold); font-size:15px; margin-right:6px; }
.rune-list{ list-style:none; margin:0; padding:22px; display:flex; flex-direction:column; gap:10px; }
.rune-list li{ display:flex; align-items:center; gap:14px; padding:12px 14px;
  background:var(--panel); border:2px solid var(--border); border-radius:6px; position:relative; }
.rune-list li::before{ content:""; position:absolute; left:30px; top:-10px; width:2px; height:10px; background:var(--border-2); }
.rune-list li:first-child::before{ display:none; }
.rune-n{ width:32px; height:32px; flex:none; display:grid; place-items:center; font-size:13px;
  color:var(--accent-ink); background:var(--accent); border:2px solid #05060f; border-radius:5px; }
.rune-list li div{ flex:1; }
.rune-list li b{ font-size:15px; }
.rune-list li p{ margin:2px 0 0; color:var(--muted); font-size:12.5px; }

/* ---------------- RARITY LADDER ---------------- */
.rarity-ladder{ display:grid; grid-template-columns:repeat(7,1fr); gap:8px; }
.rr{ background:var(--surface); border:2px solid var(--border); border-top:4px solid var(--c);
  border-radius:6px; padding:16px 14px; display:flex; flex-direction:column; gap:3px;
  box-shadow:var(--shadow-hard-sm); transition:transform .12s ease; }
.rr:hover{ transform:translateY(-3px); }
.rr b{ font-family:var(--font-pixel); font-size:11px; color:var(--c); letter-spacing:.02em; }
.rr span{ font-size:13px; color:var(--text); font-weight:600; }
.rr em{ font-style:normal; font-size:11.5px; color:var(--faint); margin-top:4px; line-height:1.4; }

/* tier C/— pill needs neutral bg */
.tier-C{ background:var(--surface-2); color:var(--muted); border-color:var(--border-2); box-shadow:var(--shadow-hard-sm); }
.tier-foot{ margin:16px 0 0; font-size:12.5px; color:var(--faint); border-left:3px solid var(--epic); padding-left:12px; }

/* ---------------- RESCUE STRIP ---------------- */
.rescue{ display:flex; align-items:center; gap:28px; flex-wrap:wrap; padding:22px 26px; }
.rescue-l{ flex:1; min-width:220px; }
.rescue-l p{ margin:10px 0 0; color:var(--muted); font-size:14px; }
.rescue-keys{ display:flex; gap:26px; }
.rescue-keys > div{ display:flex; align-items:center; gap:7px; }
.rescue-keys em{ font-style:normal; font-size:13px; color:var(--muted); margin-left:8px; }
.rescue-keys span{ color:var(--faint); }
.key{ font-family:var(--font-mono); font-size:16px; background:var(--surface-2); color:var(--text);
  border:2px solid var(--border-2); border-bottom-width:4px; border-radius:5px; padding:4px 10px; }

/* ---------------- HUB GRID ---------------- */
.hub-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.hub-card{ padding:24px; display:flex; flex-direction:column; gap:8px; }
.hub-ico{ width:48px; height:48px; display:grid; place-items:center; font-size:24px; color:#05060f;
  background:var(--c); border:2px solid #05060f; border-radius:8px; box-shadow:var(--shadow-hard-sm); margin-bottom:6px; }
.hub-card h3{ font-size:19px; }
.hub-card p{ margin:0; color:var(--muted); font-size:14px; }

/* ---------------- TWO COL ---------------- */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:48px; }

/* TIER */
.tier-list{ display:flex; flex-direction:column; gap:12px; }
.tier-row{ display:flex; align-items:center; gap:16px; padding:16px 18px; }
.tier-row > .tag{ flex:none; }
.tier-body{ flex:1; min-width:0; }
.tier-body b{ font-size:16px; }
.tier-body p{ margin:3px 0 0; color:var(--muted); font-size:13px; }

/* NEWS */
.news-list{ list-style:none; margin:0 0 16px; padding:0; display:flex; flex-direction:column; }
.news-item{ display:flex; gap:16px; padding:16px 4px; border-bottom:1px dashed var(--border); }
.news-item:last-child{ border-bottom:0; }
.news-date{ font-size:18px; color:var(--faint); flex:none; width:52px; padding-top:2px; }
.news-item .tag{ margin-bottom:7px; }
.news-item a{ display:block; font-weight:600; font-size:15px; line-height:1.35; }
.news-item a:hover{ color:var(--accent); }
.news-item p{ margin:5px 0 0; color:var(--muted); font-size:13px; }

/* ---------------- BUILDS ---------------- */
.build-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.build{ display:flex; flex-direction:column; gap:10px; }
.build header{ display:flex; align-items:center; justify-content:space-between; }
.build h3{ font-size:21px; }
.build-team{ margin:0; font-size:14px; color:var(--muted); }
.build-team b{ color:var(--text); }
.build > p:last-of-type{ margin:0; color:var(--muted); font-size:14px; flex:1; text-wrap:pretty; }
.build footer{ display:flex; align-items:center; justify-content:space-between; margin-top:6px;
  border-top:1px solid var(--border); padding-top:12px; }
.build footer .mono{ font-size:15px; color:var(--faint); }
.build footer a{ font-weight:600; font-size:14px; color:var(--accent); }

/* ---------------- ROSTER ---------------- */
.roster{ display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
.hero-card{ overflow:hidden; padding:0; }

/* image-slot placeholders are built for light bg — tint for dark theme */
image-slot{ color:var(--muted) !important; background:var(--surface-2); border-radius:inherit; }
.hero-card figcaption{ display:flex; flex-direction:column; align-items:flex-start; gap:6px;
  padding:11px 12px; border-top:2px solid var(--border); }
.hero-card figcaption b{ font-size:14px; }
.hero-card .tag{ font-size:12px; padding:1px 6px; flex:none; }

/* ---------------- TASKBAR FOOTER ---------------- */
.taskbar{ position:relative; margin-top:40px; background:var(--panel); border-top:2px solid var(--border-2); }
.tb-walk{ position:absolute; top:-35px; left:0; right:0; height:35px; pointer-events:none; overflow:hidden; }
.tb-walk .walker{ position:absolute; bottom:0; }
.tb-walk .walker:nth-child(1){ animation:march 14s linear infinite; }
.tb-walk .walker:nth-child(2){ animation:march 18s linear infinite; animation-delay:-6s; }
@keyframes march{ from{ left:-40px; } to{ left:calc(100% + 40px); } }
body[data-sprites="off"] .tb-walk{ display:none; }

.tb-inner{ display:flex; align-items:center; gap:14px; height:56px; }
.tb-start{ display:flex; align-items:center; gap:9px; cursor:pointer;
  background:var(--accent); color:var(--accent-ink); border:2px solid #05060f; border-radius:5px;
  padding:8px 14px; box-shadow:var(--shadow-hard-sm); }
.tb-start b{ font-size:11px; }
.tb-apps{ display:flex; gap:6px; }
.tb-app{ padding:9px 13px; font-size:13px; font-weight:600; color:var(--muted); border-radius:5px;
  border:2px solid transparent; }
.tb-app:hover{ color:var(--text); background:var(--surface); border-color:var(--border); }
.tb-tray{ margin-left:auto; display:flex; align-items:center; gap:16px; }
.tb-links{ display:flex; gap:14px; }
.tb-links a{ font-size:13px; color:var(--muted); font-weight:600; }
.tb-links a:hover{ color:var(--accent); }
.tb-clock{ font-size:18px; color:var(--text); background:var(--surface); border:2px solid var(--border);
  border-radius:5px; padding:4px 10px; }
.tb-legal{ display:flex; justify-content:space-between; gap:20px; padding:14px 24px 22px;
  border-top:1px solid var(--border); color:var(--faint); font-size:12px; flex-wrap:wrap; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width:1080px){
  .hub-grid,.build-grid{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(2,1fr); }
  .roster{ grid-template-columns:repeat(3,1fr); }
  .two-col{ grid-template-columns:1fr; gap:56px; }
  .rune-wrap{ grid-template-columns:1fr; }
  .rune-copy{ border-right:0; border-bottom:2px solid var(--border); }
  .rarity-ladder{ grid-template-columns:repeat(4,1fr); }
}
@media (max-width:820px){
  .nav-links{ display:none; }
  .hero{ grid-template-columns:1fr; gap:40px; padding-top:48px; }
  .search input{ width:120px; }
}
@media (max-width:560px){
  .hub-grid,.build-grid,.steps{ grid-template-columns:1fr; }
  .roster{ grid-template-columns:repeat(2,1fr); }
  .rarity-ladder{ grid-template-columns:repeat(2,1fr); }
  .rescue-keys{ flex-direction:column; gap:12px; }
  /* phones: let the big title and stats wrap again (no horizontal scroll) */
  .hero-title{ white-space:normal; }
  .hero-stats{ gap:14px 18px; flex-wrap:wrap; }
  .hero-stats .vr{ display:none; }
  .search{ display:none; }
  .tb-apps,.tb-links{ display:none; }
  /* nav must fit 360px-wide phones: shrink brand + actions, full-width hero CTAs */
  .nav-inner{ gap:8px; }
  .nav-actions{ gap:8px; }
  .brand-logo{ height:32px; }
  .nav-cta{ padding:11px 12px; font-size:9px; }
  .lang-btn{ padding:8px 7px; }
  .hero-cta{ width:100%; }
  .hero-cta .btn{ flex:1 1 100%; justify-content:center; }
  .btn{ font-size:10px; padding:13px 14px; }
}

/* ============================================================
   GUIDE / ARTICLE PAGES (inner content pages)
   ============================================================ */
/* breadcrumb */
.breadcrumb{ font-family:var(--font-mono); font-size:15px; color:var(--faint);
  display:flex; flex-wrap:wrap; gap:8px; align-items:center; padding:18px 0 2px; }
.breadcrumb a{ color:var(--muted); }
.breadcrumb a:hover{ color:var(--accent); }
.breadcrumb .sep{ color:var(--border-2); }
.breadcrumb [aria-current]{ color:var(--text); }

/* page intro head */
.guide-head{ padding:14px 0 8px; max-width:760px; }
.guide-head h1{ font-size:clamp(28px,4vw,46px); line-height:1.08; letter-spacing:-.02em; margin:6px 0 0; }
.guide-head .lede{ color:var(--muted); font-size:18px; margin:16px 0 0; text-wrap:pretty; }
.guide-meta{ font-family:var(--font-mono); font-size:14px; color:var(--faint); margin-top:14px;
  display:flex; gap:8px 16px; flex-wrap:wrap; align-items:center; }
.guide-meta .dot{ width:5px; height:5px; background:var(--border-2); border-radius:50%; }

/* prose */
.prose{ max-width:760px; color:var(--text); }
.prose h2{ font-size:clamp(22px,2.6vw,30px); margin:48px 0 0; letter-spacing:-.01em;
  scroll-margin-top:90px; }
.prose h2 + p{ margin-top:12px; }
.prose h3{ font-size:19px; margin:30px 0 0; color:var(--text); }
.prose p{ color:var(--muted); font-size:16.5px; line-height:1.7; margin:14px 0 0; }
.prose ul,.prose ol{ color:var(--muted); font-size:16.5px; line-height:1.7; margin:14px 0 0; padding-left:22px; }
.prose li{ margin:6px 0; }
.prose li::marker{ color:var(--accent); }
.prose strong{ color:var(--text); }
.prose a{ color:var(--accent); text-decoration:underline; text-decoration-color:var(--border-2);
  text-underline-offset:3px; }
.prose a:hover{ text-decoration-color:var(--accent); }
.prose hr{ border:0; border-top:2px solid var(--border); margin:40px 0; }

/* tables */
.table-wrap{ overflow-x:auto; margin:20px 0 0; border:2px solid var(--border); border-radius:var(--radius-lg); }
.prose table{ width:100%; border-collapse:collapse; font-size:15px; min-width:520px; }
.prose th,.prose td{ text-align:left; padding:11px 14px; border-bottom:1px solid var(--border);
  vertical-align:top; }
.prose thead th{ background:var(--surface-2); color:var(--text); font-weight:600;
  font-size:13px; letter-spacing:.02em; text-transform:uppercase; }
.prose tbody tr:nth-child(even){ background:rgba(120,134,220,.045); }
.prose tbody td{ color:var(--muted); }
.prose td .mono,.prose td.mono{ font-family:var(--font-mono); font-size:17px; color:var(--text); }

/* callouts */
.callout{ margin:24px 0 0; padding:16px 18px; border-radius:var(--radius-lg);
  border:2px solid var(--border-2); background:var(--surface);
  border-left:4px solid var(--accent); }
.callout p{ margin:6px 0 0; }
.callout p:first-child{ margin-top:0; }
.callout b{ font-family:var(--font-pixel); font-size:10px; letter-spacing:.06em;
  text-transform:uppercase; color:var(--accent); }
.callout.warn{ border-left-color:var(--danger); }
.callout.warn b{ color:var(--danger); }

/* checklist */
.checklist{ list-style:none; padding:0; margin:18px 0 0; }
.checklist li{ position:relative; padding-left:28px; margin:10px 0; color:var(--muted);
  font-size:16.5px; line-height:1.6; }
.checklist li::before{ content:"✓"; position:absolute; left:0; top:0; color:var(--loot);
  font-weight:700; }

/* FAQ (CSS-only accordion) */
.faq{ border:2px solid var(--border); border-radius:var(--radius-lg); margin:14px 0 0;
  background:var(--surface); overflow:hidden; }
.faq summary{ cursor:pointer; padding:15px 18px; font-weight:600; color:var(--text);
  font-size:16px; list-style:none; display:flex; justify-content:space-between; gap:12px; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; color:var(--accent); font-family:var(--font-mono); font-size:22px; line-height:1; }
.faq[open] summary::after{ content:"–"; }
.faq summary:hover{ background:var(--surface-2); }
.faq .faq-body{ padding:0 18px 16px; color:var(--muted); font-size:16px; line-height:1.7; }
.faq .faq-body p{ margin:0 0 10px; }

/* figures inside guide prose */
.guide-fig{ margin:26px 0 4px; border:2px solid var(--border); border-radius:var(--radius-lg);
  overflow:hidden; background:var(--surface); box-shadow:var(--shadow-hard-sm); }
.guide-fig img{ display:block; width:100%; height:auto; }
.guide-fig figcaption{ padding:9px 14px; font-size:13px; color:var(--faint);
  font-family:var(--font-mono); border-top:2px solid var(--border); }
/* floated class portrait used in the tier list */
.prose h3{ clear:both; }
.class-portrait{ float:right; width:104px; height:130px; object-fit:contain; object-position:top center;
  margin:2px 0 8px 18px; background:var(--surface-2); border:2px solid var(--border-2);
  border-radius:var(--radius-lg); padding:6px; image-rendering:pixelated; }
@media (max-width:560px){
  .class-portrait{ width:76px; height:96px; margin-left:12px; }
}

/* related guides grid (reuses .hub-grid look) */
.related{ margin-top:56px; }

/* Inner pages are English-only content, so hide the language toggle there
   (only the homepage, marked <html data-i18n-doc>, keeps the EN/中 switch). */
html:not([data-i18n-doc]) .lang-switch{ display:none; }

/* ---- nav: Guides dropdown (desktop) + hamburger (mobile), injected by nav.js ---- */
.nav-dd{ position:relative; display:flex; }
.nav-dd-btn{ cursor:pointer; background:none; border:0; padding:9px 13px; border-radius:6px;
  color:var(--muted); font-family:var(--font-body); font-size:14px; font-weight:600; white-space:nowrap;
  display:inline-flex; align-items:center; gap:6px; transition:color .15s, background .15s; }
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn{ color:var(--text); background:var(--surface); }
.nav-dd-btn .caret{ font-size:9px; position:relative; top:1px; }
.nav-dd-menu{ position:absolute; top:calc(100% + 16px); left:50%; transform:translateX(-50%);
  display:none; flex-direction:column; min-width:210px; background:var(--panel);
  border:2px solid var(--border-2); border-radius:var(--radius-lg); box-shadow:var(--shadow-hard);
  padding:6px; z-index:60; }
.nav-dd.open .nav-dd-menu{ display:flex; }
.nav-dd-menu a{ padding:9px 12px; border-radius:6px; color:var(--muted); font-size:14px; white-space:nowrap; }
.nav-dd-menu a:hover{ background:var(--surface-2); color:var(--text); }
.nav-dd-menu a[aria-current]{ color:var(--accent); }

.nav-burger{ display:none; width:40px; height:38px; flex:none; cursor:pointer; margin-left:4px;
  background:var(--panel); border:2px solid var(--border); border-radius:6px;
  flex-direction:column; align-items:center; justify-content:center; gap:4px; }
.nav-burger span{ display:block; width:18px; height:2px; background:var(--text); transition:transform .2s, opacity .2s; }
body.nav-open .nav-burger span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2){ opacity:0; }
body.nav-open .nav-burger span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

.nav-mobile{ display:none; flex-direction:column; padding:6px 24px 18px;
  border-top:2px solid var(--border); background:var(--panel); }
body.nav-open .nav-mobile{ display:flex; }
.nav-mobile a{ padding:13px 6px; color:var(--text); font-size:16px; border-bottom:1px solid var(--border); }
.nav-mobile a[aria-current]{ color:var(--accent); }
.nav-mobile a:last-child{ border-bottom:0; }
.nav-mobile-cta{ margin-top:12px; text-align:center; background:var(--accent); color:var(--accent-ink) !important;
  font-family:var(--font-pixel); font-size:11px; border-radius:var(--radius);
  border:2px solid #05060f !important; padding:14px !important; }

@media (max-width:820px){
  .nav-burger{ display:flex; }
  .nav-cta{ display:none; }
  .search{ display:none; }
}

@media (max-width:560px){
  .prose h2{ margin-top:38px; }
  .guide-head .lede{ font-size:16.5px; }
  .prose p,.prose ul,.prose ol{ font-size:16px; }
}
