:root {
  --bg: #0f110d;
  --bg-2: #161912;
  --card: #1b1f16;
  --line: #2c3223;
  --text: #e6e3d6;
  --muted: #9a9a86;
  --olive: #7d8f4e;
  --amber: #e0a63a;
  --amber-dim: #8a6a2a;
  --red: #c9553f;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 50% -200px, rgba(125, 143, 78, .18), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--amber); }
a:hover { color: #f3c063; }
.wrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 16px; }
main.wrap { flex: 1; padding-top: 24px; padding-bottom: 48px; }
h1, h2, h3 { font-family: Oswald, Impact, sans-serif; letter-spacing: .02em; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 5vw, 44px); text-transform: uppercase; }
h2 { font-size: 20px; text-transform: uppercase; }
.muted { color: var(--muted); font-weight: 400; }
.lede { color: var(--muted); font-size: 17px; max-width: 680px; }

/* Header */
.topbar { border-bottom: 1px solid var(--line); background: rgba(15, 17, 13, .85); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 10; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--amber); text-decoration: none; font-family: Oswald, sans-serif; font-size: 20px; letter-spacing: .06em; }
.brand span { color: var(--text); }
.brand b { color: var(--amber); font-weight: 700; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 6px; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--text); background: var(--bg-2); }
.nav a.active { color: var(--bg); background: var(--amber); }

/* Hero */
.hero { margin-bottom: 20px; }
.mode-pill { display: inline-flex; gap: 12px; align-items: center; font: 500 12px/1 'JetBrains Mono', monospace; letter-spacing: .08em; color: var(--olive); border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; margin-bottom: 14px; background: var(--bg-2); }
.mode-pill a { color: var(--muted); text-decoration: none; }
.mode-pill a:hover { color: var(--amber); }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.label { font: 500 12px/1 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.grid-top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.grid-top .card { margin-bottom: 0; }
.grid-top { margin-bottom: 16px; }
.likely { border-color: var(--amber-dim); background: linear-gradient(135deg, rgba(224, 166, 58, .12), transparent 60%), var(--card); }
.likely-map { font: 700 clamp(36px, 7vw, 56px)/1 Oswald, sans-serif; text-transform: uppercase; color: var(--amber); }
.last-map { font: 600 clamp(26px, 5vw, 36px)/1 Oswald, sans-serif; text-transform: uppercase; }
.likely-meta { color: var(--muted); margin-top: 10px; font-size: 14px; }
.conf { display: inline-block; font: 500 11px/1 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; margin-right: 8px; vertical-align: 1px; }
.conf.high { background: var(--olive); color: #10120c; }
.conf.medium { background: var(--amber); color: #10120c; }
.conf.low { background: var(--line); color: var(--text); }
.live { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 0 rgba(125, 143, 78, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(125, 143, 78, 0); } 100% { box-shadow: 0 0 0 0 rgba(125, 143, 78, 0); } }

/* Bars */
.bars { display: grid; gap: 12px; margin-top: 8px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 70px; align-items: center; gap: 12px; }
.bar-name { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.bar-track { height: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; background: var(--olive); border-radius: 999px; transition: width .6s ease; }
.bar-row.top .bar-fill { background: var(--amber); }
.bar-val { font: 500 14px 'JetBrains Mono', monospace; text-align: right; color: var(--muted); }
.bar-row.top .bar-val { color: var(--amber); }

/* Report */
.map-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0; }
.map-btn { appearance: none; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); padding: 16px 8px; border-radius: 8px; font: 600 16px Oswald, sans-serif; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; transition: .15s; }
.map-btn:hover { border-color: var(--olive); }
.map-btn[aria-checked="true"] { border-color: var(--amber); color: var(--amber); background: rgba(224, 166, 58, .1); }
.btn-confirm, .btn-link { appearance: none; border: 0; background: var(--amber); color: #10120c; font: 700 16px Oswald, sans-serif; text-transform: uppercase; letter-spacing: .06em; padding: 14px 22px; border-radius: 8px; cursor: pointer; width: 100%; text-decoration: none; display: inline-block; text-align: center; }
.btn-link { width: auto; }
.btn-confirm:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.msg { margin-top: 12px; min-height: 1.5em; font-size: 14px; }
.msg.ok { color: var(--olive); }
.msg.err { color: var(--red); }

/* Table */
.table-wrap { overflow-x: auto; }
.reports { width: 100%; border-collapse: collapse; font-size: 15px; }
.reports th { text-align: left; font: 500 12px 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.reports td { padding: 10px; border-bottom: 1px solid var(--line); }
.reports tr:last-child td { border-bottom: 0; }
.reports td:first-child { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.tag { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 8px; vertical-align: 1px; }

/* Prose */
.prose { max-width: 720px; margin-top: 32px; }
.prose.page { margin-top: 8px; }
.prose h2 { margin-top: 1.6em; color: var(--amber); }
.prose li { margin-bottom: 6px; }
.prose.center { text-align: center; margin: 60px auto; }

/* Footer */
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 24px 0; }
.footer p { margin: 0 0 6px; }
.footer a { color: var(--muted); }

@media (max-width: 720px) {
  .grid-top { grid-template-columns: 1fr; }
  .map-buttons { grid-template-columns: repeat(2, 1fr); }
  .bar-row { grid-template-columns: 92px 1fr 44px; gap: 8px; }
  .bar-name { font-size: 14px; letter-spacing: .02em; }
  .reports th:nth-child(3), .reports td:nth-child(3) { display: none; }
  .reports td { white-space: nowrap; }
  .card { padding: 16px; }
  .brand { font-size: 17px; }
  .nav a { padding: 6px 7px; font-size: 14px; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
}

/* ===== Blog & site pages ===== */
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #10120c; padding: 8px 12px; border-radius: 6px; z-index: 20; }
.skip:focus { left: 16px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
a.bar-name { color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.bar-name:hover { color: var(--amber); text-decoration: underline; }

.cat-chip { display: inline-block; font: 500 11px/1 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: #10120c; background: var(--chip, var(--amber)); padding: 5px 8px; border-radius: 4px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.post-card:hover { border-color: var(--amber-dim); transform: translateY(-2px); color: var(--text); }
.post-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; display: block; background: var(--bg-2); }
.post-card-body { padding: 14px 16px 18px; display: grid; gap: 8px; align-content: start; }
.post-card-body .cat-chip { justify-self: start; }
.post-card h3 { font-size: 19px; margin: 0; text-transform: none; letter-spacing: .01em; }
.post-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.popular, .related, .cat-section { margin-top: 40px; }
.popular .card-head a { font-size: 14px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.jump a { border: 1px solid var(--line); background: var(--bg-2); color: var(--text); text-decoration: none; padding: 6px 12px; border-radius: 999px; font-size: 14px; }
.jump a:hover { border-color: var(--amber); color: var(--amber); }
.cat-section h2 { color: var(--amber); }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.post { max-width: 760px; }
.post-head { display: grid; gap: 10px; margin-bottom: 18px; }
.post-head .cat-chip { justify-self: start; }
.post-head h1 { text-transform: none; font-size: clamp(30px, 5vw, 46px); margin: 0; text-wrap: balance; }
.post-meta { color: var(--muted); font-size: 14px; margin: 0; }
.post-cover { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); display: block; margin-bottom: 18px; }
.disclosure { font-size: 13px; color: var(--muted); border-left: 3px solid var(--amber-dim); padding: 6px 12px; margin: 0 0 18px; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 24px; }
.toc summary { font: 600 15px Oswald, sans-serif; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.toc ol { margin: 10px 0 0; padding-left: 22px; }
.toc li { margin: 4px 0; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--amber); }
.post-body { margin-top: 0; max-width: none; }
.post-body h2 { scroll-margin-top: 80px; font-size: 24px; }
.post-body h3 { scroll-margin-top: 80px; font-size: 19px; text-transform: none; margin-top: 1.4em; }
.post-body p, .post-body li { font-size: 17px; }
.post-body figure { margin: 22px 0; }
.post-body figure img { border-radius: 8px; border: 1px solid var(--line); width: 100%; height: auto; }
.post-body figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.post-body blockquote { margin: 18px 0; padding: 10px 16px; border-left: 3px solid var(--olive); color: var(--muted); }
.post-body code { font-family: 'JetBrains Mono', monospace; font-size: .9em; background: var(--bg-2); padding: 1px 5px; border-radius: 4px; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.faq-q { color: var(--text); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; font-variant-numeric: tabular-nums; }
table.data th { text-align: left; font: 500 12px 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
table.data td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--olive); background: var(--bg-2); border-radius: 8px; padding: 4px 16px; margin: 20px 0; }
.callout.tip { border-left-color: var(--olive); }
.callout.warning { border-left-color: var(--red); }
.callout.note { border-left-color: #4f8fb0; }
.callout p { font-size: 16px; }
.products { display: grid; gap: 12px; margin: 20px 0; }
.product { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.product-body { flex: 1 1 320px; min-width: 0; }
.product-label { font: 500 11px 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }
.product-name { font: 600 19px Oswald, sans-serif; letter-spacing: .02em; }
.product p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.product-btn { background: var(--amber); color: #10120c; text-decoration: none; font: 700 14px Oswald, sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 11px 16px; border-radius: 8px; white-space: nowrap; }
.product-btn:hover { background: #f3c063; color: #10120c; }
.cta-tracker { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: linear-gradient(135deg, rgba(224, 166, 58, .12), transparent 60%), var(--card); border: 1px solid var(--amber-dim); border-radius: var(--radius); padding: 18px 20px; margin-top: 32px; }
.cta-tracker p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-link.ghost { background: transparent; color: var(--amber); border: 1px solid var(--amber-dim); }
.btn-link.ghost:hover { color: #f3c063; }
.contact-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0; }
.contact-email { font: 600 20px 'JetBrains Mono', monospace; word-break: break-all; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.footer-grid nav { display: grid; gap: 6px; align-content: start; }
.footer-h, .footer-brand { font: 600 14px Oswald, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--text) !important; margin-bottom: 4px !important; }
.footer-brand b { color: var(--amber); }
.copy { margin-top: 18px !important; }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .post-body p, .post-body li { font-size: 16px; }
  .product-btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .post-card { transition: none; } .post-card:hover { transform: none; } }

/* product images */
.product.has-img { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; }
.product-img { display: block; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.product-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 720px) {
  .product.has-img { grid-template-columns: 72px minmax(0, 1fr); }
  .product.has-img .product-img { width: 72px; height: 72px; }
  .product.has-img .product-btn { grid-column: 1 / -1; }
}

/* home page blocks */
.home-block { margin-top: 40px; }
.home-spawn { margin-top: 16px; }
.home-spawn .card-head a, .home-block .card-head a { font-size: 14px; }
.home-block > .muted { margin-top: 0; }
.member-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.member { display: grid; gap: 6px; align-content: start; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--tone); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--text); transition: border-color .15s; }
.member:hover { border-color: var(--tone); color: var(--text); }
.member-role { font: 500 11px 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--tone); }
.member-name { font: 700 26px Oswald, sans-serif; text-transform: uppercase; letter-spacing: .03em; }
.member-text { color: var(--muted); font-size: 15px; line-height: 1.5; }
.map-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .member-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .map-grid { grid-template-columns: 1fr; } }

/* product grid (merch) */
.products.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.products.grid .product, .products.grid .product.has-img { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.products.grid .product-img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
.products.grid .product-body { flex: 1 1 auto; }
.products.grid .product-name { font-size: 17px; }
.products.grid .product-btn { text-align: center; }
@media (max-width: 860px) { .products.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .products.grid { grid-template-columns: 1fr; } }
.product-img.photo { background: #fff; }
.product-img.photo img { object-fit: contain; padding: 4px; }

/* jump bar */
.jumpbar { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; margin-bottom: 4px; scrollbar-width: thin; }
.jumpbar a { flex: 0 0 auto; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); text-decoration: none; padding: 7px 12px; border-radius: 999px; font-size: 14px; }
.jumpbar a:hover { border-color: var(--amber); color: var(--amber); }
#tracker, #report, #recent-reports, #spawn-rates, #goons, #maps, #videos, #tips, #gifts, #gear, #live, #resources { scroll-margin-top: 76px; }

/* member cards v2 */
.member h3.member-name { margin: 0; }
.member h3.member-name a { color: var(--text); text-decoration: none; }
.member h3.member-name a:hover { color: var(--tone); }
.member-stats { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 8px 0 4px; font-size: 14px; }
.member-stats dt { font: 500 11px 'JetBrains Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.member-stats dd { margin: 0; color: var(--text); line-height: 1.45; }
.member-link { font-size: 14px; color: var(--tone); text-decoration: none; margin-top: 4px; }
.member-link:hover { text-decoration: underline; color: var(--tone); }
.member-note { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.small { font-size: 13px; }

/* map sketch cards */
.map-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.map-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .15s; }
.map-card:hover { border-color: var(--amber-dim); color: var(--text); }
.map-card img { width: 100%; height: auto; display: block; aspect-ratio: 960 / 600; background: #12150f; }
.map-card > div { padding: 12px 16px 16px; }
.map-card h3 { margin: 0 0 4px; font-size: 20px; }
.map-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* videos */
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 16px 0; }
.video { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; transition: opacity .15s; }
.yt:hover img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; background: var(--red); border-radius: 12px; }
.yt-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video figcaption { padding: 10px 14px 14px; display: grid; gap: 2px; font-size: 15px; }
.video figcaption a { color: var(--text); text-decoration: none; font-weight: 600; }
.video figcaption a:hover { color: var(--amber); }
.video figcaption span { color: var(--muted); font-size: 13px; }

/* tips */
.tips-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tip { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.tip-n { font: 500 12px 'JetBrains Mono', monospace; color: var(--amber); letter-spacing: .1em; }
.tip h3 { margin: 6px 0 6px; font-size: 18px; text-transform: none; }
.tip p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* link tiles (streamers, resources) */
.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.link-tile { display: grid; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--text); transition: border-color .15s; }
.link-tile:hover { border-color: var(--amber-dim); color: var(--text); }
.lt-name { font: 600 18px Oswald, sans-serif; letter-spacing: .03em; }
.lt-sub { color: var(--muted); font-size: 13px; }
#live .lt-sub::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #9146ff; margin-right: 6px; vertical-align: 0; }

@media (max-width: 860px) {
  .tips-grid, .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .map-cards, .videos, .tips-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .link-grid { grid-template-columns: 1fr; } }

/* video card shown when a thumbnail can't load */
.yt img { position: relative; z-index: 1; }
.yt-play { z-index: 2; }
.yt-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 16px 18px; text-align: left;
  background: radial-gradient(120% 90% at 85% 10%, rgba(201, 85, 63, .35), transparent 60%), linear-gradient(135deg, #1f2418, #0f110d);
  background-color: #12150f; }
.yt-fallback::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#232819 1px, transparent 1px), linear-gradient(90deg, #232819 1px, transparent 1px); background-size: 28px 28px; opacity: .6; }
.yt-ch { position: relative; font: 500 11px 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.yt-t { position: relative; font: 700 20px/1.15 Oswald, sans-serif; text-transform: uppercase; color: var(--text); max-width: 85%; }

/* language switcher */
.langs { position: relative; margin-left: 4px; }
.langs summary { list-style: none; cursor: pointer; color: var(--muted); font: 500 12px 'JetBrains Mono', monospace; letter-spacing: .08em; border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: " ▾"; }
.langs[open] summary, .langs summary:hover { color: var(--text); border-color: var(--amber-dim); }
.langs-menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 6px; display: grid; min-width: 170px; z-index: 30; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.langs-menu a { display: flex; gap: 10px; align-items: baseline; padding: 7px 10px; border-radius: 6px; color: var(--text); text-decoration: none; font: 500 13px 'JetBrains Mono', monospace; }
.langs-menu a span { font: 400 14px Inter, sans-serif; color: var(--muted); }
.langs-menu a:hover { background: var(--bg-2); }
.langs-menu a[aria-current="true"] { color: var(--amber); }
.topbar-inner .nav { margin-left: auto; }
@media (max-width: 480px) { .nav a { padding: 6px 5px; font-size: 13px; } .langs summary { padding: 5px 6px; } }

/* small screens: keep nav + language switcher on one line */
@media (max-width: 560px) {
  .topbar-inner { gap: 6px; }
  .brand span { display: none; }
  .nav { gap: 0; }
  .nav a { padding: 6px 7px; font-size: 14px; }
  .langs { margin-left: 2px; }
}
