:root {
  color-scheme: dark;
  --bg: #090a0b;
  --panel: #101113;
  --panel-strong: #17181b;
  --line: #27292d;
  --line-strong: #3a3c41;
  --text: #f1f1ef;
  --muted: #9b9da3;
  --quiet: #74767d;
  --accent: #d7d8dc;
  --radius: 16px;
  --content: 1240px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, summary { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: .7rem 1rem;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  z-index: 50;
  width: min(var(--content), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.site-header .brand {
  min-width: 230px;
  display: grid;
  gap: .05rem;
  text-decoration: none;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.site-header .brand span { font-size: 15px; line-height: 1.25; }
.site-header .brand small {
  color: var(--quiet);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .14em;
}
.site-header .primary-nav { gap: clamp(.7rem, 2.2vw, 2rem); }
.site-header .primary-nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.site-header .primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: transparent;
  content: "";
}
.site-header .primary-nav a:hover,
.site-header .primary-nav a.active { color: var(--text); }
.site-header .primary-nav a.active::after { background: var(--text); }
.site-header .guide-menu summary,
.site-header .language-menu > summary {
  border-color: var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.wiki-main {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(4rem, 8vw, 7rem);
}
.wiki-shell {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: clamp(2rem, 6vw, 6.5rem);
}
.wiki-lead,
.wiki-reading { min-width: 0; }
.wiki-home .wiki-lead { max-width: 820px; margin-inline: auto; }
.wiki-kicker {
  margin: 0 0 .75rem;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1,h2 { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.5rem, 5.4vw, 4.75rem);
  font-weight: 420;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.wiki-article h1 { max-width: 850px; font-size: clamp(2.5rem, 4.8vw, 4.2rem); }
.wiki-lede {
  max-width: 800px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}
.wiki-home .wiki-lede { margin-inline: auto; text-align: center; }

.wiki-media {
  position: relative;
  margin: clamp(1.5rem, 3vw, 2.4rem) 0 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
}
.wiki-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.wiki-media figcaption {
  position: absolute;
  right: .75rem;
  bottom: .65rem;
  padding: .2rem .48rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  background: rgba(9,10,11,.82);
  color: #d5d6d9;
  font-size: 10px;
  letter-spacing: .04em;
}
.wiki-button {
  width: fit-content;
  min-height: 46px;
  margin: 1.4rem auto 0;
  padding: .72rem 1.05rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel-strong);
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}
.wiki-button:hover { border-color: #666970; background: #202226; }

.wiki-breadcrumb {
  min-width: 0;
  margin: -1.4rem 0 clamp(2.2rem, 4vw, 3.8rem);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  color: var(--quiet);
  font-size: 13px;
}
.wiki-breadcrumb a { color: var(--muted); text-decoration: none; }
.wiki-breadcrumb a:hover { color: var(--text); }

.wiki-rail {
  position: sticky;
  top: 24px;
  min-width: 0;
  max-height: calc(100vh - 48px);
  padding: 1rem;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0d0e10;
}
.wiki-rail > p {
  margin: 0 0 .75rem;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.wiki-rail details { border-top: 1px solid #1b1d20; }
.wiki-rail details:first-of-type { border-top: 0; }
.wiki-rail summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  color: #c7c8cc;
  cursor: pointer;
  font-size: 13px;
  list-style: none;
}
.wiki-rail summary::-webkit-details-marker { display: none; }
.wiki-rail summary span {
  min-width: 24px;
  height: 24px;
  padding: 0 .4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #1a1b1e;
  color: var(--quiet);
  font-size: 10px;
}
.wiki-rail nav { padding: 0 0 .6rem .5rem; display: grid; gap: .18rem; }
.wiki-rail nav a {
  min-width: 0;
  padding: .48rem .65rem;
  border-radius: 7px;
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.wiki-rail nav a:hover { color: var(--text); background: #16171a; }
.wiki-rail nav a.active { color: var(--text); background: #27282c; }

.wiki-reading > article,
.wiki-lead > article { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.article-section {
  min-width: 0;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: clamp(.7rem, 2vw, 1.3rem);
  border-top: 1px solid var(--line);
}
.article-section:first-child { border-top-color: var(--line-strong); }
.section-index {
  padding-top: .3rem;
  color: #575960;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}
.section-content { min-width: 0; }
.section-content h2 {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 540;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.content-block { min-width: 0; color: #b6b8bd; }
.content-block p { margin: .85rem 0; }
.content-block a { color: var(--text); text-underline-offset: 3px; }
.block-prose p:first-child { margin-top: 0; }
.block-steps ol,
.block-checklist ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: .65rem;
  counter-reset: item;
}
.block-steps ol { list-style: none; }
.block-checklist ul { padding-left: 1.25rem; }
.block-steps li,
.block-checklist li {
  position: relative;
  min-width: 0;
  padding: .9rem 1rem .9rem 3.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.block-steps li { counter-increment: item; }
.block-steps li::before {
  position: absolute;
  top: .9rem;
  left: 1rem;
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
}
.block-steps li::before { content: counter(item, decimal-leading-zero); }
.block-checklist li { padding-left: 1rem; }
.table-scroll { width: 100%; overflow-x: auto; }
.block-comparison table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--panel);
}
.block-comparison th,
.block-comparison td {
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.block-comparison th { color: var(--text); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.block-faq dl { margin: 0; display: grid; gap: .65rem; }
.faq-item { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.faq-item dt { color: var(--text); font-weight: 650; }
.faq-item dd { margin: .4rem 0 0; color: var(--muted); }

.wiki-featured { margin-top: clamp(3rem, 6vw, 5rem); }
.wiki-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.wiki-card {
  min-width: 0;
  min-height: 132px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  text-decoration: none;
}
.wiki-card > span { color: var(--quiet); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wiki-card strong { margin-top: .4rem; color: var(--text); font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.wiki-card small { margin-top: auto; color: var(--muted); font-size: 11px; }
.wiki-card:hover { border-color: var(--line-strong); background: var(--panel-strong); }

.inline-video { margin: 1.5rem 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.video-stage { position: relative; aspect-ratio: 16 / 9; background: #050506; }
.video-stage iframe,
.video-stage img { width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(0,0,0,.25);
  color: white;
  cursor: pointer;
  font-size: 15px;
}
.inline-video .video-copy { padding: 1rem; }

.site-footer {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer > span { color: var(--text); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer-guide-group h2 { color: #b8b9bd; }
.footer-guide-group nav a { color: var(--quiet); }
.footer-guide-group nav a:hover,
.footer-guide-group nav a[aria-current="page"] { color: var(--text); }
.footer-guide-groups {
  min-width: 0;
  display: grid;
  overflow-x: visible;
}
.site-header .primary-nav {
  min-width: 0;
  overflow-x: visible;
}
.ad-slot:has(> .ad-slot-container:empty) { display: none; }

@media (max-width: 980px) {
  .wiki-shell { grid-template-columns: minmax(0, 1fr); }
  .wiki-rail { position: static; max-height: none; order: -1; }
  .wiki-home .wiki-rail { order: 0; }
  .wiki-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { width: min(100% - 28px, var(--content)); min-height: 68px; }
  .site-header .brand { min-width: 0; margin-right: auto; }
  .site-header .brand span { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .site-header .brand small { display: none; }
  .wiki-main { width: min(100% - 28px, var(--content)); padding-top: 2.2rem; }
  .wiki-breadcrumb { margin-top: -.5rem; }
  h1 { font-size: clamp(2.3rem, 12vw, 3.5rem); }
  .wiki-media { margin-top: 1.25rem; border-radius: 12px; }
  .wiki-rail { display: none; }
  .article-section { grid-template-columns: 28px minmax(0, 1fr); }
  .wiki-card-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer { width: min(100% - 28px, var(--content)); }
}

@media (max-width: 480px) {
  .site-header .guide-menu summary { max-width: 118px; overflow: hidden; }
  .site-header .language-menu > summary { padding-inline: .6rem; }
  .wiki-shell { gap: 2.2rem; }
  .wiki-rail { padding: .85rem; }
  .article-section { display: block; }
  .section-index { display: block; margin-bottom: .45rem; }
}

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


/* Shared production navigation: bounded primary links, an accessible full guide menu,
   a wrapping footer directory, and an empty-safe advertising slot. */
.site-header {
  position: relative;
  gap: clamp(.65rem, 1.5vw, 1.4rem);
}
.site-header .primary-nav {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  overflow-x: visible;
}
.site-header .primary-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  line-height: 1.25;
}
.site-header .header-actions {
  min-width: 0;
  margin-left: auto;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
}
.site-header [data-guide-menu] {
  position: relative;
  z-index: 30;
  display: block;
  flex: 0 0 auto;
}
.site-header .language-menu {
  position: relative;
  z-index: 31;
  flex: 0 0 auto;
}
.site-header .site-search-trigger {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line, currentColor);
  border-radius: 10px;
  background: var(--panel, var(--paper, var(--bg, transparent)));
  color: inherit;
  cursor: pointer;
}
.site-header .site-search-trigger:hover { color: var(--amber, var(--acid, var(--red, var(--orange, currentColor)))); }
.site-header .site-search-trigger:focus-visible,
.site-search-dialog button:focus-visible,
.site-search-dialog input:focus-visible,
.site-search-dialog a:focus-visible {
  outline: 3px solid var(--amber, var(--acid, var(--red, var(--orange, currentColor))));
  outline-offset: 3px;
}
.site-search-dialog {
  width: min(42rem, calc(100% - 1.5rem));
  max-height: min(80dvh, 42rem);
  margin: min(12vh, 5rem) auto auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line, currentColor);
  border-radius: 16px;
  background: var(--panel, var(--paper, var(--bg, #fff)));
  color: var(--text, var(--ink, currentColor));
  box-shadow: 0 1.4rem 4rem rgba(0,0,0,.35);
}
.site-search-dialog::backdrop { background: rgba(0,0,0,.72); }
.site-search-panel { padding: clamp(1rem, 3vw, 1.6rem); }
.site-search-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-search-heading h2 { margin: 0; color: inherit; font-family: inherit; font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.site-search-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line, currentColor);
  border-radius: 10px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.6rem;
  line-height: 1;
}
.site-search-input-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.site-search-dialog input[type="search"] {
  width: 100%;
  min-height: 48px;
  margin-top: 1rem;
  padding: .7rem .85rem;
  border: 1px solid var(--line, currentColor);
  border-radius: 10px;
  background: var(--bg, var(--paper, #fff));
  color: inherit;
  font: inherit;
  font-size: 1rem;
}
.site-search-status { margin: .9rem 0; font-size: .85rem; line-height: 1.4; opacity: .78; }
.site-search-results { display: grid; gap: .35rem; }
.site-search-result {
  min-width: 0;
  padding: .8rem .9rem;
  display: grid;
  gap: .3rem;
  border: 1px solid var(--line, currentColor);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.site-search-result:hover { background: rgba(127,127,127,.12); }
.site-search-result strong { font-size: .95rem; line-height: 1.35; }
.site-search-result span { font-size: .82rem; line-height: 1.45; opacity: .78; }
.site-header .language-menu > summary {
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: .65rem .75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line, currentColor);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.2;
  list-style: none;
  white-space: nowrap;
}
.site-header .language-menu > summary::-webkit-details-marker { display: none; }
.site-header .language-menu > div {
  position: absolute;
  z-index: 42;
  top: calc(100% + .45rem);
  right: 0;
  min-width: 9rem;
  padding: .45rem;
  display: grid;
  gap: .2rem;
  border: 1px solid var(--line, currentColor);
  background: var(--panel, var(--paper, var(--bg, #15191b)));
  box-shadow: 0 .8rem 2rem rgba(0,0,0,.3);
}
.site-header .language-menu:not([open]) > div { display: none !important; }
.site-header .language-menu > div a {
  min-height: 40px;
  padding: .5rem .65rem;
  display: flex;
  align-items: center;
  font-size: 13px;
  line-height: 1.25;
  text-decoration: none;
}
.site-header .language-menu > div a[aria-current="true"] {
  color: var(--amber, var(--acid, var(--red, var(--orange, currentColor))));
  background: rgba(127,127,127,.16);
  font-weight: 700;
}
.site-header [data-guide-menu] summary {
  height: 44px;
  min-height: 44px;
  padding: .65rem .8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid var(--line, currentColor);
  background: var(--panel, var(--paper, var(--bg, #15191b)));
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 1.2;
  list-style: none;
  white-space: nowrap;
}
.site-header [data-guide-menu] summary::-webkit-details-marker { display: none; }
.site-header [data-guide-menu] summary span { font-size: 1rem; transition: transform .18s ease; }
.site-header [data-guide-menu][open] summary span { transform: rotate(45deg); }
.site-header [data-guide-menu] > nav {
  position: absolute;
  z-index: 40;
  top: calc(100% + .55rem);
  right: 0;
  width: min(36rem, calc(100vw - 2rem));
  min-width: 0;
  max-height: min(70vh, 36rem);
  padding: .75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--line, currentColor);
  background: var(--panel, var(--paper, var(--bg, #15191b)));
  box-shadow: 0 1.1rem 2.8rem rgba(0,0,0,.35);
}
.site-header [data-guide-menu]:not([open]) > nav { display: none !important; }
.site-header [data-guide-menu] > nav a {
  min-width: 0;
  min-height: 42px;
  padding: .65rem .72rem;
  display: flex;
  align-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
}
.site-header [data-guide-menu] > nav a:hover,
.site-header [data-guide-menu] > nav a:focus-visible,
.site-header [data-guide-menu] > nav a[aria-current="page"] {
  color: var(--amber, var(--acid, var(--red, var(--orange, currentColor))));
  background: rgba(127,127,127,.12);
  transform: none;
}
.site-header a:focus-visible,
.site-header summary:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--amber, var(--acid, var(--red, var(--orange, currentColor))));
  outline-offset: 3px;
}
.site-footer {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(10rem, .35fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.4rem, 4vw, 4rem);
}
.footer-directory {
  min-width: 0;
  display: grid;
  gap: 1.15rem;
}
.footer-guide-groups {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 1rem clamp(1rem, 2.5vw, 2.4rem);
  overflow-x: visible;
}
.footer-guide-group {
  min-width: 0;
  border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent);
}
.footer-guide-group > summary {
  min-height: 42px;
  padding: .65rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  color: inherit;
  font: inherit;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .08em;
  list-style: none;
  text-transform: uppercase;
  cursor: pointer;
}
.footer-guide-group > summary::-webkit-details-marker { display: none; }
.footer-guide-group > summary small {
  min-width: 1.75rem;
  padding: .18rem .38rem;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 999px;
  font: inherit;
  font-size: 10px;
  letter-spacing: 0;
  text-align: center;
  opacity: .72;
}
.footer-guide-group > nav {
  min-width: 0;
  display: grid;
  gap: .2rem;
  overflow: visible;
  overflow-x: visible;
  background: transparent;
}
.footer-guide-group > nav a {
  min-width: 0;
  min-height: 36px;
  padding: .35rem 0;
  display: flex;
  align-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
  transform: none;
}
.footer-guide-group nav a:hover,
.footer-guide-group nav a:focus-visible,
.footer-guide-group nav a[aria-current="page"] {
  color: var(--amber, var(--acid, var(--red, var(--orange, currentColor))));
  transform: none;
}
.footer-all-guides {
  min-width: 0;
  min-height: 46px;
  padding: .7rem .85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  color: inherit;
  font: inherit;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
}
.footer-all-guides:hover { background: rgba(127,127,127,.1); }
.footer-all-guides strong {
  font-size: 12px;
  font-weight: 700;
  opacity: .76;
}
.ad-slot {
  width: min(60rem, 100%);
  min-width: 0;
  margin: clamp(1.5rem, 4vw, 3rem) auto 0;
  padding: .8rem 0 0;
  overflow: visible;
  border-top: 1px solid var(--line, currentColor);
}
.ad-slot > small {
  display: block;
  margin: 0 0 .55rem;
  font-size: 12px;
  line-height: 1.3;
  opacity: .72;
}
.ad-slot-container { width: 100%; min-width: 0; }
.ad-slot:has(> .ad-slot-container:empty) { display: none; }
.site-privacy {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: .85rem 0 1.25rem;
  border-top: 1px solid var(--line, currentColor);
  color: inherit;
  font-size: 12px;
  line-height: 1.55;
  opacity: .78;
}
.site-privacy > summary {
  width: max-content;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.site-privacy > p { max-width: 60rem; margin: .65rem 0 0; }
@media (max-width: 1280px) {
  .site-header .primary-nav { display: none; }
}
@media (max-width: 1500px) {
  html[data-template="arcade-signal"] .site-header .primary-nav { display: none; }
}
@media (max-width: 980px) {
  .footer-guide-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; }
  .site-header .brand { min-width: 0; max-width: 100%; }
  .site-header .header-actions {
    width: 100%;
    margin-left: 0;
    align-self: stretch;
  }
  .site-header [data-guide-menu] > nav {
    position: fixed;
    top: max(4.5rem, env(safe-area-inset-top));
    right: 1rem;
    left: 1rem;
    width: auto;
    max-height: calc(100dvh - 6rem);
  }
  .site-footer { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .site-header .header-actions [data-guide-menu] > summary {
    width: 44px;
    padding-inline: 0;
    font-size: 0;
  }
  .site-header .header-actions [data-guide-menu] > summary span { font-size: 1rem; }
  .site-header [data-guide-menu] > nav,
  .footer-guide-groups { grid-template-columns: minmax(0, 1fr); }
  .footer-guide-groups { gap: .45rem; }
  .footer-guide-group { border: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
  .footer-guide-group > summary { min-height: 46px; padding: .65rem .75rem; }
  .footer-guide-group > summary::after { content: "+"; font-size: 1rem; line-height: 1; }
  .footer-guide-group[open] > summary::after { content: "−"; }
  .footer-guide-group > summary small { margin-left: auto; }
  .footer-guide-group > nav { padding: 0 .75rem .7rem; }
}
