/* ============================================
   FoxyNoTail.com: site.css (Nocturne, concept 2). The design authority for the front end.
   Rules: docs/site-ui-spec.md. Loaded LAST, after main.css + theme-nocturne.css (which are being retired),
   so everything here wins. New front-end styles go here, nowhere else.
   ============================================ */

/* ---- 1. Tokens ---- */
:root {
    --bg: #0d0e11;
    --surface: #15171c;
    --surface-2: #1b1e25;
    --surface-3: #22252e;
    --line: rgba(255,255,255,.09);
    --line-strong: rgba(255,255,255,.22);
    --ink: #ece9e2;          /* headings, titles, bold */
    --body: #cfcbc1;         /* all running text */
    --muted: #9b978c;
    --dim: #6d6a61;
    --gold: #d9b36a;
    --gold-hover: #e5c27c;
    --gold-dim: rgba(217,179,106,.12);
    --gold-line: rgba(217,179,106,.45);
    --ok: #8fc79a;
    --warn: #e0b45c;
    --bad: #e3867a;
    --radius: 14px;
    --radius-md: 12px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 14px 40px rgba(0,0,0,.45);
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --sans: -apple-system, "Segoe UI", Roboto, Inter, system-ui, sans-serif;
    --max-width: 1180px;
    --nav-height: 68px;
    /* old names used by page CSS that hasn't moved here yet */
    --border: var(--line); --text: var(--body); --text-muted: var(--muted); --text-dim: var(--dim);
    --accent: var(--gold); --accent-hover: var(--gold-hover); --accent-dim: var(--gold-dim);
    --purple: var(--gold); --purple-dim: var(--gold-dim); --blue: var(--ink); --font: var(--sans); --pixel-font: var(--serif);
}

/* ---- 2. Base ---- */
html { font-size: 16px; }
body { background: var(--bg); color: var(--body); font-family: var(--sans); font-size: .97rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold); }
::selection { background: rgba(217,179,106,.35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---- 3. Type ---- */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin-bottom: .6rem; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.5rem; }
h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 600; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.page-section > h1, .page-section > h2, .layout-main > h2 { font-family: var(--serif); border-bottom: 0; padding-bottom: 0; margin-bottom: .9rem; }
.page-section > h1 { font-size: 2.4rem; }
.page-section > h2, .layout-main > h2 { font-size: 1.5rem; }
.eyebrow { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .5rem; }
.lede, .sub { color: var(--muted); }
.lede { font-size: 1.08rem; max-width: 62ch; }
.sub { font-size: .95rem; margin: -.5rem 0 1.1rem; }
.text-muted { color: var(--muted); }
.text-accent { color: var(--gold); }
.text-green { color: var(--ok); }
/* links inside running text: recognisable, not loud */
.page-section p a:not(.btn), .page-section li a:not(.btn), .prose a:not(.btn) { color: var(--gold); text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 3px; }
.page-section p a:not(.btn):hover, .page-section li a:not(.btn):hover, .prose a:not(.btn):hover { color: var(--gold-hover); text-decoration-color: currentColor; }
/* long text: a readable line length */
.prose { max-width: 72ch; }
.prose p, .prose ul, .prose ol { margin-bottom: 1rem; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }

/* ---- 4. Layout ---- */
.container { max-width: var(--max-width); padding: 0 24px; }
main, .site-main { padding: 24px 0 8px; }
.layout-sidebar { grid-template-columns: minmax(0,1fr) 320px; gap: 28px; }
.layout-aside { gap: 16px; }
@media (max-width: 1000px) { .layout-sidebar { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---- 5. Announcement bar ---- */
.site-announce { background: linear-gradient(90deg, rgba(217,179,106,.14), rgba(217,179,106,.05) 40%, rgba(217,179,106,.14)); color: var(--ink); text-align: center; font-size: .85rem; padding: .55rem 16px; border-bottom: 1px solid var(--line); }
.site-announce a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---- 6. Nav ---- */
.site-nav { position: sticky; top: 0; z-index: 100; background: rgba(13,14,17,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-nav .container { display: flex; align-items: center; justify-content: flex-start; gap: 24px; height: var(--nav-height); }
.nav-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--ink); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: .01em; }
.nav-brand:hover { color: var(--ink); }
.nav-brand img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(217,179,106,.35); }
.nav-links { display: flex; flex: 1; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: .5rem .8rem; border-radius: 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: .92rem; font-weight: 500; white-space: nowrap; background: none; }
.nav-links a:hover { color: var(--ink); background: none; border-bottom-color: transparent; }
.nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); font-weight: 500; background: none; }
.nav-links .nav-support { margin-left: auto; }
.nav-links .nav-support a { color: var(--gold); font-weight: 600; border-bottom-color: transparent; }
.nav-links .nav-support a:hover { color: var(--gold-hover); }
.nav-search { margin-left: 14px; }
.nav-search form { margin: 0; }
.nav-search input, .nav-search input:focus { width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; font-size: .9rem; font-family: var(--sans); color: var(--ink); }
.nav-search input::placeholder { color: var(--dim); }
.nav-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,179,106,.15); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-size: 1.25rem; line-height: 1; padding: .45rem .7rem; cursor: pointer; }
@media (max-width: 1140px) { .nav-links a { padding: .5rem .55rem; font-size: .88rem; } .nav-search input, .nav-search input:focus { width: 150px; } }
@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .nav-links { display: none; position: absolute; top: var(--nav-height); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 16px 1rem; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .nav-links.open { display: flex; }
    .nav-links a { padding: .8rem .25rem; border-bottom: 1px solid var(--line); font-size: 1rem; width: 100%; }
    .nav-links a.active { border-bottom-color: var(--line); }
    .nav-links .nav-support { margin-left: 0; }
    .nav-search { margin: .75rem 0 0; width: 100%; padding: 0; }
    .nav-search input, .nav-search input:focus { width: 100%; }
}

/* ---- 7. Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: .7rem 1.4rem; font-family: var(--sans); font-size: .95rem; font-weight: 600; line-height: 1.1; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease, border-color .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary, .btn-green { background: var(--gold); color: #171308; border-color: var(--gold); }
.btn-primary:hover, .btn-green:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: #171308; }
.btn-secondary, .btn-outline, .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover, .btn-outline:hover, .btn-ghost:hover { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }
.btn-lg { padding: .85rem 1.7rem; font-size: 1rem; }

/* ---- 8. Sections and cards ---- */
.page-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 20px; box-shadow: none; }
@media (max-width: 600px) { .page-section { padding: 18px 16px; } .page-section > h1 { font-size: 1.9rem; } }
.hero { position: relative; overflow: hidden; text-align: left; background: radial-gradient(120% 140% at 85% -20%, rgba(217,179,106,.16), transparent 55%), var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 34px; margin-bottom: 22px; box-shadow: var(--shadow); }
.hero::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(217,179,106,.6), transparent); }
.hero h1 { font-size: 2.9rem; margin-bottom: .6rem; }
.hero p { color: var(--muted); font-size: 1.08rem; max-width: 62ch; margin: 0 0 1.25rem; }
@media (max-width: 600px) { .hero { padding: 24px 20px; } .hero h1 { font-size: 2.1rem; } }
.card, .dl-card, .mkt-card, .video-card, .howto-card, .quick-link { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--ink); box-shadow: none; transition: border-color .15s; }
.card:hover, .dl-card:hover, .mkt-card:hover, .video-card:hover, .howto-card:hover, .quick-link:hover { border-color: var(--gold-line); transform: none; color: var(--ink); }
.dl-card img, .mkt-card img { background: var(--surface); }
.dl-card h3, .mkt-card-body h3, .video-card-body h3 { font-size: .95rem; font-weight: 600; line-height: 1.35; }
.dl-card-tagline, .card-text { color: var(--muted); }
.video-card-thumb img, .dl-card-video img { filter: brightness(.92); transition: filter .2s; }
.video-card:hover .video-card-thumb img, .dl-card-video:hover img { filter: none; }
.type-label, .dl-type { color: var(--dim); font-size: .7rem; letter-spacing: .08em; }
.price { font-family: var(--serif); color: var(--gold); font-weight: 600; }
.stars { color: var(--gold); }
.stars .empty { color: var(--surface-3); }

/* ---- 9. Badges, chips, filter tabs, pagination ---- */
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .02em; background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--line); }
.badge-accent, .badge-blue, .badge-new { background: var(--gold-dim); color: var(--gold); border-color: rgba(217,179,106,.3); }
.badge-green { background: rgba(143,199,154,.1); color: var(--ok); border-color: rgba(143,199,154,.25); }
.filter-tabs { gap: 6px; }
.filter-tab, .filter-tab:hover { border-radius: 999px; padding: .42rem .95rem; background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: .85rem; font-weight: 500; }
.filter-tab:hover { color: var(--ink); border-color: var(--line-strong); }
.filter-tab.active, .filter-tab.active:hover { background: var(--gold-dim); border-color: var(--gold-line); color: var(--gold); font-weight: 600; }
.pagination a, .pagination span { border: 1px solid var(--line); border-radius: 999px; min-width: 2.3rem; text-align: center; color: var(--muted); }
.pagination a:hover { border-color: var(--gold-line); color: var(--ink); }
.pagination .active { background: var(--gold-dim); border-color: var(--gold-line); color: var(--gold); }
.pagination .gap { border: 0; }

/* ---- 10. Forms ---- */
input[type="text"], input[type="search"], input[type="email"], input[type="number"], input[type="url"], select, textarea, .sort-select { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-family: var(--sans); font-size: .95rem; }
input[type="text"]:focus, input[type="search"]:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="url"]:focus, select:focus, textarea:focus, .sort-select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,179,106,.15); }
input::placeholder, textarea::placeholder { color: var(--dim); }
.search-bar { gap: 8px; }
.search-bar input, .search-bar input[type="text"], .search-bar input[type="search"] { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .65rem 1.1rem; font-size: .95rem; }
.sort-select { border-radius: 999px; padding: .5rem .9rem; }

/* ---- 11. Tables, alerts, details ---- */
.info-table th, .info-table td, .versions-table th, .versions-table td { border-bottom: 1px solid var(--line); padding: .6rem .7rem; }
.info-table th, .versions-table th { color: var(--muted); font-weight: 600; }
.versions-table tr.is-latest td { background: var(--gold-dim); }
.alert, .alert-info, .alert-success, .alert-warning { background: var(--surface-2); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius-sm); color: var(--ink); }
.alert-success { border-left-color: var(--ok); }
.alert-warning { border-left-color: var(--warn); }
.help-details { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
hr { border-top-color: var(--line); }

/* ---- 12. Ad slots (space is reserved: no layout jumps) ---- */
.ad-label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #5f5c53; text-align: center; margin: 0 0 .3rem; }
.ad-container { margin: 0 auto 26px; }
.ad-placeholder { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); color: #7a766b; font-size: .8rem; }
.site-main > .container > .ad-container:last-child { margin: 26px auto 0; }
.layout-aside .ad-container { margin: 0 auto; max-width: none; }
.ad-sidebar { max-width: 300px; }

/* ---- 13. Sidebar ---- */
.layout-aside .aside-block:not(:has(> .ad-container)):not(:has(> .ad-label)) { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.layout-aside .aside-block:empty { display: none; }
.layout-aside .aside-block h3, .latest-video h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; margin-bottom: .7rem; }
.latest-video { padding: 18px; margin: 0; }
.latest-video img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); margin: 0 0 .7rem; }
.latest-video a.title { display: block; color: var(--ink); font-size: .9rem; font-weight: 500; line-height: 1.45; margin-bottom: .9rem; }
.latest-video a.title:hover { color: var(--gold); }
/* promo boxes: quiet cards (sidebar and in pages) */
.promo { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 1.25rem 0; box-shadow: none; }
.layout-aside .promo { background: none; border: 0; padding: 0; margin: 0; }
.promo img { width: 40px; height: 40px; border-radius: var(--radius-sm); margin: 0 0 .7rem; }
.promo strong { display: block; color: var(--ink); font-size: .95rem; font-weight: 600; margin-bottom: .35rem; font-family: var(--sans); }
.promo p { color: var(--muted); font-size: .85rem; line-height: 1.55; margin: 0 0 .9rem; }
.promo .btn, .promo .btn-primary { background: transparent; color: var(--ink); border: 1px solid var(--line); padding: .45rem 1rem; font-size: .85rem; }
.promo .btn:hover { border-color: var(--line-strong); color: var(--ink); }
.promo-star { display: none; }
.promo-note { display: block; font-size: .72rem; color: var(--muted); font-style: italic; margin-top: .6rem; }
.promo-creator { border-color: var(--line); background: var(--surface); }
.layout-aside .promo-creator { background: none; }
/* skin search box in the sidebar */
.skin-search-box strong { display: block; font-family: var(--serif); font-size: 1.05rem; margin-bottom: .6rem; }
.skin-search-quick { font-size: .82rem; color: var(--muted); margin-top: .5rem; }
.skin-search-quick a { color: var(--muted); }
.skin-search-quick a:hover { color: var(--gold); }
/* "From the Marketplace" fill */
.aside-fill-title { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--ink); margin: 4px 0 10px; }

/* ---- 14. Breadcrumbs ---- */
.breadcrumbs, .guide-crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a, .guide-crumbs a { color: var(--muted); }
.breadcrumbs a:hover, .guide-crumbs a:hover { color: var(--gold); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5rem; }
.breadcrumbs .sep { color: var(--dim); }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ---- 15. Footer ---- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 36px; padding: 34px 0 26px; }
.site-footer .container { display: block; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; margin-bottom: 24px; }
.footer-col h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.footer-col a, .site-footer .footer-col a { display: block; color: var(--muted); font-size: .9rem; padding: 3px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 18px; font-size: .8rem; color: var(--muted); }
@media (max-width: 760px) { .footer-cols { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ---- Page: home (concept 2) ---- */

/* Hero */
.hx-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 2rem;
  align-items: center;
  background: radial-gradient(120% 140% at 85% -20%, rgba(217,179,106,.16), transparent 55%), var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.1rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.hx-hero::after {
  content: "";
  position: absolute;
  left: 24px; right: 24px; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,179,106,.6), transparent);
}
.hx-hero-text { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.hx-hero-text h1 { font-family: var(--serif); font-size: 2.9rem; font-weight: 600; letter-spacing: -.01em; margin: 0; line-height: 1.15; }
.hx-hero-text .lede { font-size: 1.08rem; color: var(--muted); margin: 0; }
.hx-btns { display: flex; gap: .75rem; flex-wrap: wrap; }
.hx-stats { display: flex; gap: 1.4rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.hx-stats div { display: flex; flex-direction: column; }
.hx-stats strong { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.hx-stats span { white-space: nowrap; font-size: .8rem; color: var(--muted); }
.hx-hero-media { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/10; background: #000; border: 1px solid var(--line); min-width: 0; }
.hx-hero-media a { display: block; width: 100%; height: 100%; }
.hx-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .92; filter: brightness(.9); transition: transform .2s, filter .2s; }
.hx-hero-media a:hover img { transform: scale(1.04); filter: brightness(1); opacity: 1; }
.hx-hero-tag { position: absolute; top: 12px; left: 12px; background: rgba(13,14,17,.8); border: 1px solid var(--line); color: var(--gold); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.hx-hero-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(13,14,17,.75); border: 1px solid rgba(217,179,106,.6); display: grid; place-items: center; }
.hx-hero-play::after { content: ''; width: 0; height: 0; border-left: 16px solid var(--gold); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }

/* Creator */
.hx-creator-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center; }
.hx-creator-text { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.hx-creator-text h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; margin: 0; }
.hx-creator-art { display: block; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.hx-creator-art img { width: 100%; height: auto; display: block; transition: filter .2s; filter: brightness(.95); }
.hx-creator-art:hover img { filter: none; }
.hx-creator-tile { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/4; }
.hx-creator-tile img { width: 100%; height: 100%; object-fit: cover; }

/* Row head */
.hx-row-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .25rem; }
.hx-row-head h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; margin: 0; }
.hx-link { color: var(--gold); text-decoration: none; font-size: .85rem; white-space: nowrap; }
.hx-link:hover { color: var(--gold-hover); }

/* Marketplace grid */
.hx-mkt-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .75rem; }
.hx-mkt-card { display: flex; flex-direction: column; gap: .4rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1rem; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.hx-mkt-card:hover { border-color: var(--gold-line); }
.hx-mkt-img { width: 100%; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.hx-mkt-img img { width: 100%; height: 100%; object-fit: contain; }
.hx-mkt-type { font-size: .65rem; color: var(--dim); text-transform: uppercase; letter-spacing: .05em; }
.hx-mkt-name { font-size: .9rem; font-weight: 600; line-height: 1.35; }
.hx-mkt-price { font-family: var(--serif); font-size: .95rem; color: var(--gold); margin-top: auto; }
.hx-mkt-stars { font-size: .75rem; color: var(--gold); }

/* Downloads grid */
.hx-dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; }
.hx-dl-row { display: flex; align-items: center; gap: .75rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: .85rem 1rem; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.hx-dl-row:hover { border-color: var(--gold-line); }
.hx-dl-icon { width: 40px; height: 40px; flex: 0 0 auto; border-radius: var(--radius-sm); overflow: hidden; display: grid; place-items: center; background: rgba(255,255,255,.05); }
.hx-dl-icon img { width: 34px; height: 34px; object-fit: contain; }
.hx-dl-info { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.hx-dl-info strong { font-size: .92rem; }
.hx-dl-info span { font-size: .78rem; color: var(--muted); }

/* Video row */
.hx-video-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .75rem; }
.hx-video-item { display: block; min-width: 0; text-decoration: none; color: var(--ink); }
.hx-video-thumb { aspect-ratio: 16/9; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); margin-bottom: .5rem; }
.hx-video-thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.9); transition: transform .2s, filter .2s; }
.hx-video-item:hover .hx-video-thumb img { transform: scale(1.04); filter: brightness(1); }
.hx-video-title { font-size: .88rem; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hx-video-item:hover .hx-video-title { color: var(--ink); }

/* Support */
.hx-support { text-align: center; }
.hx-support h2 { margin-bottom: .5rem; }
.hx-support .sub { max-width: 520px; margin: 0 auto 1.25rem; }
.hx-support-btns { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.25rem; }
.hx-support-more { font-size: .9rem; color: var(--muted); margin: 0; }
.hx-support-more a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.hx-support-more a:hover { color: var(--gold-hover); }

/* Responsive */
@media (max-width: 960px) {
  .hx-hero { grid-template-columns: 1fr; padding: 1.5rem; }
  .hx-hero-text h1 { font-size: 2.1rem; }
  .hx-creator-grid { grid-template-columns: 1fr; }
  .hx-mkt-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hx-dl-grid { grid-template-columns: 1fr; }
  .hx-video-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hx-stats { gap: 1rem; }
}
@media (max-width: 560px) {
  .hx-hero-text h1 { font-size: 1.9rem; }
  .hx-video-row { grid-template-columns: 1fr; }
  .hx-mkt-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.hx-btns .btn { padding: .65rem 1.15rem; }
.hx-row-head + .hx-video-row, .hx-row-head + .hx-mkt-grid { margin-top: .9rem; }
.hx-creator-art img { max-height: 320px; object-fit: contain; margin: 0 auto; }

/* ---- 16. Shared fixes from the key-page review ---- */
/* promo cards inside a page are for phones (no sidebar); with the sidebar showing they would repeat it */
@media (min-width: 1001px) { .layout-sidebar .layout-main .promo { display: none; } }
/* sidebar skin search: the aside card is the box */
.layout-aside .skin-search-box { background: none; border: 0; padding: 0; border-radius: 0; }
.layout-aside .skin-search-box strong { font-size: 1.05rem; color: var(--ink); font-weight: 600; }
/* guides: real heading sizes (were the old pixel-font sizes) */
.guide section h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.25; margin: 0 0 .75rem; }
.guide section h3 { margin: 1.25rem 0 .5rem; }
.guide .note, .guide .warn { background: var(--surface-2); border-left: 3px solid var(--gold); }
.guide .warn { border-left-color: var(--warn); }
.guide pre, .page-section pre { background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--gold-line); }
/* Marketplace cards: left aligned like concept 2, labels don't change the card height */
.mkt-card-body { text-align: left; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.mkt-card-body > .flex { justify-content: flex-start; }
.mkt-card-body .price { margin-top: auto; }
.mkt-card .badge { font-size: .62rem; padding: .12rem .5rem; }

/* ---- Page: guides index (/how-to) ---- */
.gx-feature { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-bottom: 1.5rem; }
@container (max-width: 640px) { .gx-feature { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@container (max-width: 560px) { .gx-feature { grid-template-columns: 1fr; } }

.gx-card { display: block; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.gx-card:hover { border-color: var(--gold-line); }
.gx-card:hover h3 { color: var(--gold); }
.gx-card h3 { font-size: 1.02rem; color: var(--ink); margin: 0 0 .4rem; font-weight: 600; }
.gx-card p { font-size: .88rem; color: var(--muted); line-height: 1.5; margin: 0 0 .6rem; }
.gx-card-date { font-size: .75rem; color: var(--dim); }

.gx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.5rem; }
.gx-chips a { display: inline-block; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; color: var(--ink); text-decoration: none; transition: border-color .15s, color .15s; }
.gx-chips a:hover { border-color: var(--gold-line); color: var(--gold); }

.gx-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.gx-list li { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.gx-list li:last-child { border-bottom: 0; }
.gx-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.gx-list a:hover { color: var(--gold); }
.gx-list span { display: block; font-size: .85rem; color: var(--muted); }

.gx-old-list summary { cursor: pointer; color: var(--gold); font-size: .9rem; font-weight: 600; }
.gx-old-list ol { font-size: .9rem; color: var(--muted); margin: .75rem 0 0; padding-left: 1.2rem; }
.gx-old-list ol a { color: var(--muted); text-decoration: none; }
.gx-old-list ol a:hover { color: var(--gold); }

.gx-h3 { font-size: 1.02rem; margin: 1.25rem 0 .7rem; }
.gx-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.page-section .gx-list a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; }
.page-section .gx-list a:not(.btn):hover { color: var(--gold); }
.page-section .gx-old-list a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 400; }
.page-section .gx-old-list a:not(.btn):hover { color: var(--gold); }
.skin-pack-price { font-size: 1.35rem; margin: .5rem 0 0; }
.skin-pack-price span { font-family: var(--sans); font-size: .85rem; font-weight: 400; color: var(--muted); }
/* skin search: matching packs as wide rows (the column beside the filters is narrow) */
.pack-matches { margin: 1.25rem 0 1.5rem; }
.pack-matches h2 { font-family: var(--serif); font-size: 1.2rem; margin: 0 0 .8rem; }
.pack-matches .mkt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: .9rem; }
@container (max-width: 520px) { .pack-matches .mkt-grid { grid-template-columns: 1fr; } }
.pack-matches .mkt-card { flex-direction: row; align-items: center; gap: 12px; padding: 10px; }
.pack-matches .mkt-card img { width: 128px; flex: 0 0 128px; aspect-ratio: 16/9; object-fit: cover; padding: 0; border-radius: 8px; }
.pack-matches .mkt-card-body { padding: 0; min-width: 0; }
.pack-matches .mkt-card-body h3 { min-height: 0; margin: .1rem 0; }
.pack-matches .mkt-card img { width: 112px; flex-basis: 112px; }
.pack-matches .mkt-card-body h3 { -webkit-line-clamp: 3; font-size: .9rem; }
/* guides page: older video tutorials as video cards */
.gx-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@container (max-width: 640px) { .gx-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 420px) { .gx-videos { grid-template-columns: 1fr; } }
.gx-video { display: block; min-width: 0; color: var(--ink); text-decoration: none; }
.gx-video-thumb { display: block; aspect-ratio: 16/9; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); margin-bottom: .5rem; }
.gx-video-thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.9); transition: filter .2s; }
.gx-video:hover .gx-video-thumb img { filter: none; }
.gx-video-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .88rem; line-height: 1.4; color: var(--muted); }
.gx-video:hover .gx-video-title { color: var(--ink); }
/* ---- 17. Calmer cards and the skin packs header ---- */
/* labels on cards (versions, loaders, rarity) are neutral; only "New" stays gold */
.dl-card .badge, .mkt-card .badge, .mod-card .badge { background: rgba(255,255,255,.05); color: var(--muted); border-color: var(--line); }
.dl-card .badge-new, .mkt-card .badge-new { background: var(--gold-dim); color: var(--gold); border-color: rgba(217,179,106,.3); }
.video-card-body h3 { font-size: .95rem; }
.skin-hero .hero-stats { display: flex; gap: 1rem; margin: .25rem 0 1rem; font-family: var(--sans); font-size: .85rem; color: var(--muted); }
.skin-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: 1rem; font-size: .9rem; }
.skin-links a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.skin-links a:hover { color: var(--gold); text-decoration-color: currentColor; }
.mkt-card-wide img { aspect-ratio: 16/9; object-fit: cover; padding: 0; }
/* headings are never coloured; inputs get room */
h1.text-accent, h2.text-accent, h3.text-accent { color: var(--ink); }
input[type="text"]:not(.search-bar input), input[type="email"], input[type="number"], input[type="url"], textarea { padding: .6rem .85rem; }
.mkt-item-image.is-wide { aspect-ratio: 16/9; object-fit: cover; padding: 0; }
.mini-card img { aspect-ratio: 16/9; object-fit: cover; background: var(--surface); }
/* skin search pack matches: picture across the top of the card (overrides the row layout above) */
.pack-matches .mkt-card { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
.pack-matches .mkt-card img { width: 100%; flex: none; border-radius: 0; }
.pack-matches .mkt-card-body { padding: .6rem .8rem .8rem; }
@container (max-width: 520px) { .pack-matches .mkt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pack-matches .mkt-card-body h3 { font-size: .85rem; } }
.freefile-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px; margin: 1rem 0 1.25rem; }
.freefile-img img { width: 100%; height: auto; border-radius: var(--radius-sm); display: block; }
.freefile-body h3 { margin: 0 0 .3rem; }
.freefile-body p { color: var(--muted); font-size: .92rem; margin: 0 0 .8rem; }
.freefile-body .freefile-meta { font-size: .8rem; color: var(--dim); margin-bottom: .5rem; }
@container (max-width: 560px) { .freefile-card { grid-template-columns: 1fr; } }

/* ---- 18. Base text, used by every page (change it here and it changes everywhere) ----
   Body text: --body, .97rem/1.7 (set on body above). Headings, titles and bold: --ink. Secondary text: --muted. */
strong, b { font-weight: 600; color: var(--ink); }
code { font-size: .85em; }
li::marker { color: var(--dim); }
/* running text inside the content column: spacing and a readable line length */
.layout-main :is(p, ul, ol, table) + :is(p, ul, ol, table) { margin-top: .8rem; }
.layout-main :is(ul, ol):not([class]) { padding-left: 1.3rem; }
.layout-main :is(ul, ol):not([class]) > li { margin: .4rem 0; }
.layout-main :is(p, ul:not([class]), ol:not([class])) { max-width: 78ch; }
.layout-main :is(.text-center, .hx-support, .hero) p { margin-inline: auto; }
.hero p { margin-inline: 0; }
/* small print */
.guide-sources, .guide-sources li, .guide-checked, .text-sm { font-size: .85rem; }
.text-xs { font-size: .75rem; }
/* note boxes use body text; links inside running text everywhere share one style */
.alert, .alert-info, .alert-success, .alert-warning { color: var(--body); }
.layout-main :is(p, li, td, dd, figcaption, .alert) a:not(.btn):not([class]) { color: var(--gold); text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 3px; }
.layout-main :is(p, li, td, dd, figcaption, .alert) a:not(.btn):not([class]):hover { color: var(--gold-hover); text-decoration-color: currentColor; }
/* one heading style per level, everywhere: no coloured headings, content H3 = 1.08rem sans (cards use their own title size) */
h1, h2, h3, h4, h1.text-accent, h2.text-accent, h3.text-accent, h3.text-muted, .mg-card h3 { color: var(--ink); }
.layout-main .page-section h3:not(.dl-card h3):not(.mkt-card-body h3):not(.video-card-body h3), .gx-h3, .mg-card h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 600; }
/* buttons look the same wherever they are (the old pagination rule was restyling Previous/Next) */
.pagination a.btn, .pagination .btn { padding: .45rem 1rem; color: var(--ink); border: 1px solid var(--line); background: transparent; min-width: 0; font-size: .85rem; }
.pagination a.btn:hover { border-color: var(--line-strong); color: var(--ink); }

/* ---- Page: Minecraft changelogs ---- */
.cl-latest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 1rem; }
@container (max-width: 600px) { .cl-latest-grid { grid-template-columns: 1fr; } }
.cl-latest { display: flex; flex-direction: column; gap: .3rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px; }
.cl-latest-label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cl-latest-version { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.2; }
.cl-latest-version:hover { color: var(--gold); }
.cl-latest-name { font-size: .9rem; color: var(--muted); margin: 0; }
.cl-latest-date { font-size: .8rem; color: var(--dim); }
.cl-latest .btn { align-self: flex-start; margin-top: .4rem; }

.cl-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.cl-table th { text-align: left; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: .55rem .7rem; border-bottom: 1px solid var(--line-strong); }
.cl-table td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cl-table a { color: var(--ink); font-weight: 600; text-decoration: none; }
.cl-table a:hover { color: var(--gold); }
.cl-table .cl-muted { color: var(--muted); }
.cl-table .badge { font-size: .68rem; padding: .15rem .5rem; }
.cl-table .cl-col-date { white-space: nowrap; }
@container (max-width: 560px) { .cl-table .cl-col-name { display: none; } }

.cl-source { background: var(--surface-2); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius-sm); padding: 14px 16px; margin: 0 0 1rem; font-size: .9rem; color: var(--muted); }
.cl-source p { margin: 0 0 .7rem; }
.cl-source .btn { margin-bottom: .5rem; }
.cl-source .text-xs { display: block; }

.cl-nav { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin: 1rem 0; }

.cl-toc { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin: 0 0 1.25rem; }
.cl-toc summary { font-weight: 600; cursor: pointer; color: var(--ink); margin-bottom: .5rem; }
.cl-toc ol { padding-left: 1.3rem; margin: 0; columns: 2; column-gap: 1.5rem; font-size: .9rem; }
.cl-toc ol li { margin: .25rem 0; break-inside: avoid; }
.cl-toc ol a { color: var(--muted); text-decoration: none; }
.cl-toc ol a:hover { color: var(--gold); }
@container (max-width: 640px) { .cl-toc ol { columns: 1; } }

.cl-body { max-width: 78ch; }
.cl-body h2 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin: 2rem 0 .6rem; color: var(--ink); }
.cl-body h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 600; margin: 1.4rem 0 .5rem; color: var(--ink); }
.cl-body ul, .cl-body ol { padding-left: 1.3rem; margin: .6rem 0 1rem; }
.cl-body li { margin: .3rem 0; }
.cl-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.cl-body table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.cl-body table th, .cl-body table td { border-bottom: 1px solid var(--line); padding: .5rem .6rem; text-align: left; }
.cl-body table th { color: var(--muted); font-weight: 600; }
.cl-body a { color: var(--gold); text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 3px; }
.cl-body a:hover { color: var(--gold-hover); text-decoration-color: currentColor; }

.cl-more { list-style: none; padding: 0; margin: 0 0 1rem; }
.cl-more li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.cl-more li:last-child { border-bottom: 0; }
.cl-more a { color: var(--ink); font-weight: 600; text-decoration: none; }
.cl-more a:hover { color: var(--gold); }
.cl-more-date { font-size: .82rem; color: var(--muted); white-space: nowrap; }

.cl-credit { font-size: .8rem; color: var(--dim); margin-top: 1.25rem; }
.page-section .cl-table a:not(.btn):not([class]) { color: var(--ink); font-weight: 600; text-decoration: none; }
.page-section .cl-table a:not(.btn):not([class]):hover { color: var(--gold); }
@container (max-width: 560px) { .cl-table th:nth-child(3), .cl-table td:nth-child(3) { display: none; } .cl-table td, .cl-table th { padding-left: .4rem; padding-right: .4rem; } }
/* ---- Latest Minecraft versions (sidebar card + home row) ---- */
.clv-list { list-style: none; margin: 0 0 .9rem; padding: 0; }
.clv-list li { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.clv-list li:last-child { border-bottom: 0; }
.clv-list a { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; min-width: 0; }
.clv-list a:hover .clv-version { color: var(--gold); }
.clv-label { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.clv-version { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.clv-date { font-size: .78rem; color: var(--dim); white-space: nowrap; }
.clv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@container (max-width: 640px) { .clv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.clv-card { display: flex; flex-direction: column; gap: .2rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 16px; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.clv-card:hover { border-color: var(--gold-line); color: var(--ink); }
.clv-card .clv-version { font-size: 1.35rem; }
.clv-row .hx-row-head + .sub { margin-top: .25rem; }
/* ---- Download pages: the pack's videos (sidebar card; in the page on phones) ---- */
.dl-video + .dl-video { margin-top: 14px; }
.dl-video .video-embed { margin: 0 0 .45rem; border-radius: var(--radius-sm); }
.dl-video-title { display: block; font-size: .86rem; line-height: 1.4; color: var(--muted); }
.dl-video-title:hover { color: var(--ink); }
.dl-videos-inline .dl-video { max-width: 640px; }
@media (min-width: 1001px) { .layout-sidebar .dl-videos-inline { display: none; } }
@container (max-width: 560px) { .dl-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .dl-gallery figcaption { font-size: .75rem; line-height: 1.35; } }
/* ---- Page: Java mod (/mods/SLUG) ---- */
.mod-head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; }
.mod-head h1 { margin-bottom: .4rem; }
.mod-icon { width: 96px; height: 96px; border-radius: var(--radius-md); object-fit: cover; background: var(--surface-2); }
@container (max-width: 560px) { .mod-head { grid-template-columns: 1fr; } }
.mod-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.mod-stats { margin-top: .8rem; }
.mod-desc img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.mod-desc h2 { font-size: 1.3rem; margin: 1.6rem 0 .5rem; }
.mod-desc h3 { font-size: 1.05rem; margin: 1.2rem 0 .4rem; }
.mod-files td, .mod-files th { font-size: .88rem; }
.mod-files .num { text-align: right; }
.mod-files .nowrap { white-space: nowrap; }
/* ---- Thin banner ads (header/footer): a fixed size per screen width, so Google can't fill them with tall ads ---- */
.ad-header, .ad-footer, .ad-download-fixed { min-height: 0; text-align: center; overflow: hidden; }
.ad-banner { width: 320px; height: 100px; }
@media (min-width: 768px) { .ad-banner { width: 728px; height: 90px; } }
@media (min-width: 1200px) { .ad-banner { width: 970px; height: 90px; } }
.ad-header.ad-placeholder, .ad-footer.ad-placeholder { height: 90px; }
@media (max-width: 767px) { .ad-header.ad-placeholder, .ad-footer.ad-placeholder { height: 100px; } }
/* Downloads: Marketplace cards use the 16:9 Marketplace picture */
.dl-card-mkt img { aspect-ratio: 16/9; object-fit: cover; padding: 0; }

/* EULA / copyright notice under free download buttons */
.dl-eula { margin: .9rem 0 0; padding: .55rem .8rem; border-left: 3px solid var(--gold-line); background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .85rem; line-height: 1.55; color: var(--muted); max-width: 70ch; }
.dl-eula strong { color: var(--ink); }
.text-center .dl-eula, .dl-eula-center { margin-left: auto; margin-right: auto; text-align: left; }

/* text pages: room above a section heading that follows text */
.page-section > :is(p, ul, ol, table, div) + h2 { margin-top: 1.9rem; }
