/* N6 lobbyset.com guide-v1: the illustrated reading layer for new-format guides (pages with faq_first; a8 25.10).
   Loaded after site.css on those pages only; every rule is scoped under .guide-v1 so no other page can change.
   One centred reading column, each heading above its text, so a wide screen keeps even margins on both sides instead of
   an empty half; the wheel steps out wider than the column from 900px, its key beside it. Light reading surfaces under
   the dark hero; the site's own fonts and palette, nothing paler than site.css. No url(), no imports: the file stands
   alone. */

.guide-v1 {
  --g-col: 42rem;          /* the reading column: about 66 characters of 18px text */
  --g-measure: 68ch;
  --g-wide: 56rem;         /* the wheel's breakout width */
  --g-gap: clamp(40px, 4.5vw, 72px);
  --g-h2: clamp(1.75rem, 1.15rem + 1.6vw, 2.2rem);
}

/* ---------- hero: the game's logo beside the H1, the answer, one intact capture beside it ---------- */
.guide-v1 .ghero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 22px; }
.guide-v1 .ghero__title { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.guide-v1 .ghero .h1 { margin-top: 0; font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3rem); line-height: 1.06; max-width: 16em; }
.guide-v1 .ghero__mark { flex: none; }
.guide-v1 .ghero__logo { width: 136px; height: auto; }
.guide-v1 .ghero .lede { margin-top: 18px; font-size: 1.1875rem; line-height: 1.55; max-width: 34em; }
.guide-v1 .ghero__frame { display: grid; gap: 10px; align-content: start; }
.guide-v1 .ghero__img { width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line-d); background: var(--ink-deep); }
.guide-v1 .ghero__frame figcaption { color: var(--on-2); font-size: 0.9375rem; line-height: 1.45; }
.guide-v1 .ghero .dateline { margin-top: 26px; }

/* ---------- sections: one continuous light surface, a short coral rule over each heading ---------- */
.guide-v1 .gsec { background: var(--white); padding-block: 28px; }
.guide-v1 .gsec:first-of-type { padding-top: 44px; }
/* a centred column with room either side; every block sits in the column unless it steps out on purpose */
.guide-v1 .gsec__in {
  display: grid; gap: 16px 0; align-items: start;
  grid-template-columns: [full-start] minmax(0, 1fr) [col-start] minmax(0, var(--g-col)) [col-end] minmax(0, 1fr) [full-end];
}
.guide-v1 .gsec__in > * { grid-column: col; }
.guide-v1 .gsec__h {
  position: relative; padding-top: 20px; font-family: var(--display); font-weight: 700; font-size: var(--g-h2);
  line-height: 1.12; letter-spacing: -0.005em; color: var(--text); text-wrap: balance; max-width: 22em;
}
.guide-v1 .gsec__h::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; border-radius: 2px; background: var(--accent); }
.guide-v1 .gsec__lede { font-size: 1.25rem; line-height: 1.5; color: var(--text); max-width: var(--g-measure); text-wrap: pretty; }
.guide-v1 .gsec__vis { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-block: 6px; }

/* the reading text: 18px on 1.6, at most about 68 characters a line, the site's own text colour */
.guide-v1 .gsec__body, .guide-v1 .faq__i .prose { grid-template-columns: minmax(0, 1fr); gap: 18px; font-size: 1.125rem; max-width: var(--g-measure); color: var(--text-2); }
.guide-v1 .prose > * { min-width: 0; }
.guide-v1 .prose p, .guide-v1 .prose li { line-height: 1.6; }
.guide-v1 .prose ul, .guide-v1 .prose ol { gap: 10px; padding-left: 1.25em; }
.guide-v1 .prose strong { font-weight: 600; }
.guide-v1 .prose a { text-decoration-thickness: 2px; }
.guide-v1 .prose h3 { font-family: var(--display); font-weight: 700; font-size: 1.4rem; line-height: 1.2; margin-top: 6px; }
/* the reading colours belong to the light surfaces (guide sections, the FAQ, the RG close); a section in the older dark
   layout keeps site.css's light-on-dark text, and site.css's coral focus ring, which is drawn for dark ground */
.guide-v1 :is(.gsec, .faq, .steward) .prose li::marker { color: var(--text); }
.guide-v1 :is(.gsec, .faq, .steward) .prose strong { color: var(--text); }
.guide-v1 :is(.gsec, .faq, .steward) .prose a { color: var(--text); text-decoration-color: var(--accent); }
.guide-v1 :is(.gsec, .faq, .steward) .prose a:hover { text-decoration-color: currentColor; }
.guide-v1 :is(.gsec, .faq, .steward) .prose h3 { color: var(--text); }
.guide-v1 :is(.gsec, .faq, .steward) :focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }

/* tables: a framed block that fits a 360px screen (compact cells, the figures in the text face) */
.guide-v1 .tbl-wrap { border: 1px solid var(--rule); border-radius: 8px; overflow-x: auto; margin-block: 4px; }
.guide-v1 .tbl { font-size: 1rem; }
.guide-v1 .tbl th, .guide-v1 .tbl td { padding: 11px 14px; line-height: 1.35; vertical-align: middle; }
/* the header band: each cell's 1px shadow covers the anti-aliased seam that fractional column widths leave between
   cells (box-shadow adds no scroll width); the zebra is painted on rows */
.guide-v1 .tbl thead th { box-shadow: 1px 0 0 var(--ink); font-size: 0.9375rem; letter-spacing: 0.01em; vertical-align: bottom; }
.guide-v1 .tbl td.num { font-family: var(--sans); font-size: 1.0625rem; font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
/* table colours, like the reading colours, only on the light surfaces */
.guide-v1 :is(.gsec, .faq, .steward) .tbl tbody th { color: var(--text); }
.guide-v1 :is(.gsec, .faq, .steward) .tbl td { color: var(--text-2); }
.guide-v1 :is(.gsec, .faq, .steward) .tbl td.num { color: var(--text); }
.guide-v1 :is(.gsec, .faq, .steward) .tbl tbody tr:nth-child(even) { background: #f8f7fb; }
.guide-v1 .tbl tbody tr:last-child > * { border-bottom: 0; }

/* ---------- the modules: drawn from the page's own numbers ---------- */
.guide-v1 .gfig { background: var(--paper); border-radius: 10px; padding: 20px; }
.guide-v1 .gfig figcaption, .guide-v1 .gimgs__cap { font-size: 0.9375rem; line-height: 1.5; color: var(--text-2); }

/* wheel: the donut of equal slots, its key beside or under it */
.guide-v1 .gwheel__in { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; }
.guide-v1 .gwheel__svg { width: min(100%, 300px); height: auto; }
.guide-v1 .gwheel__arc { font-family: var(--sans); font-weight: 700; font-size: 18px; }
.guide-v1 .gwheel__big { font-family: var(--display); font-weight: 800; font-size: 66px; }
.guide-v1 .gwheel__small { font-family: var(--sans); font-weight: 600; font-size: 17px; }
.guide-v1 .gwheel__keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; width: 100%; }
.guide-v1 .gwheel__key { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.guide-v1 .gwheel__key li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); color: var(--text); font-size: 1rem; line-height: 1.3; }
.guide-v1 .gwheel__sw { width: 14px; height: 14px; }
.guide-v1 .gwheel__n { font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.guide-v1 .gwheel figcaption { margin-top: 16px; }

/* bars: one zero-based scale, each value written beside its label */
.guide-v1 .gbars__t { font-weight: 600; font-size: 1.0625rem; line-height: 1.4; color: var(--text); margin-bottom: 14px; }
.guide-v1 .gbars__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.guide-v1 .gbars__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 16px; }
.guide-v1 .gbars__lab { color: var(--text); font-size: 1rem; }
.guide-v1 .gbars__val { font-family: var(--display); font-weight: 700; font-size: 1.4rem; line-height: 1; color: var(--text); font-variant-numeric: lining-nums tabular-nums; }
.guide-v1 .gbars__bar { grid-column: 1 / -1; width: 100%; height: 12px; border-radius: 6px; overflow: hidden; }
.guide-v1 .gbars figcaption { margin-top: 16px; }

/* callout: a worked example as a short ledger */
.guide-v1 .gcall { background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--accent); border-radius: 8px; padding: 18px 20px 16px; }
.guide-v1 .gcall > .gcall__t { font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; color: var(--text); margin-bottom: 8px; }
.guide-v1 .gcall__dl { display: grid; margin: 0; }
.guide-v1 .gcall__r { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0; border-top: 1px solid var(--rule); }
.guide-v1 .gcall__r dt { font-weight: 600; color: var(--text); line-height: 1.4; }
.guide-v1 .gcall__r dd { margin: 0; color: var(--text-2); line-height: 1.5; }
.guide-v1 .gcall__note { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 0.9375rem; line-height: 1.5; color: var(--text-2); }

/* figure: images scaled whole (never cropped); a set reads 2 across */
.guide-v1 .gimgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.guide-v1 .gimg { display: grid; gap: 8px; align-content: start; margin: 0; }
.guide-v1 .gfig.gimg--one { background: none; padding: 0; justify-items: start; }
.guide-v1 .gimg__f { background: var(--ink); border-radius: 8px; overflow: hidden; max-width: 100%; }
.guide-v1 .gimg__img { max-width: 100%; height: auto; }
.guide-v1 .gimgs .gimg__img { width: 100%; }   /* a single image keeps its own width (its width attribute), never upscaled */
.guide-v1 .gimg figcaption { font-size: 0.9375rem; line-height: 1.45; color: var(--text-2); }
.guide-v1 .gimg__set { display: block; margin-top: 4px; }   /* a set left with one image: the set's caption on its own line */
.guide-v1 .gimgs__cap { grid-column: 1 / -1; }

/* ---------- the FAQ: open and closed rows show it (plus and minus), a visible focus ring ---------- */
.guide-v1 .faq { padding-block: clamp(40px, 5vw, 64px); }
.guide-v1 .faq__in { grid-template-columns: minmax(0, var(--g-col)); justify-content: center; gap: 18px; }
.guide-v1 .faq__k { font-size: var(--g-h2); line-height: 1.12; color: var(--text); }
.guide-v1 .faq__i summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 4px 18px 0; border-radius: 4px; }
.guide-v1 .faq__q { font-family: var(--sans); font-weight: 600; font-size: 1.125rem; line-height: 1.4; color: var(--text); }
.guide-v1 .faq__i summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid currentColor; color: var(--text);
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-position: center; background-repeat: no-repeat; background-size: 12px 2px, 2px 12px;
}
.guide-v1 .faq__i[open] > summary::after { background-size: 12px 2px, 2px 0; }
.guide-v1 .faq__i summary:hover::after { color: var(--white); background-color: var(--text); border-color: var(--text); }
.guide-v1 .faq__i summary:hover .faq__q { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.guide-v1 .faq__i summary:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.guide-v1 .faq__i .prose { padding-bottom: 20px; }

/* the RG close keeps the same column */
.guide-v1 .steward__in { max-width: var(--g-col); }

/* ---------- wider screens ---------- */
@media (min-width: 600px) {
  .guide-v1 .ghero__title { flex-direction: row; align-items: center; gap: 28px; }
  .guide-v1 .ghero__logo { width: 168px; }
}
@media (min-width: 900px) {
  .guide-v1 .gsec { padding-block: 40px; }
  .guide-v1 .gsec:first-of-type { padding-top: 64px; }
  .guide-v1 .gcall__r { grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 20px; }
  /* the wheel steps out of the column: the donut on the left, its key and caption beside it */
  .guide-v1 .gsec--wheel .gsec__vis { grid-column: full; justify-self: center; width: min(100%, var(--g-wide)); margin-block: 10px; }
  .guide-v1 .gsec--wheel .gwheel { display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 44px; align-items: center; padding: 28px 32px; }
  .guide-v1 .gsec--wheel .gwheel__in { display: contents; }
  .guide-v1 .gsec--wheel .gwheel__svg { grid-row: 1 / span 2; width: 300px; }
  .guide-v1 .gsec--wheel .gwheel__keys { align-self: end; }
  .guide-v1 .gsec--wheel .gwheel figcaption { align-self: start; margin-top: 18px; }
}
@media (min-width: 1000px) {
  .guide-v1 .ghero--frame .ghero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: var(--g-gap); align-items: center; }
  .guide-v1 .ghero__logo { width: 184px; }
}

/* ---------- phones ---------- */
@media (max-width: 480px) {
  .guide-v1 .tbl { font-size: 0.9375rem; }
  .guide-v1 .tbl th, .guide-v1 .tbl td { padding: 10px 8px; }
  .guide-v1 .tbl th:first-child, .guide-v1 .tbl td:first-child { padding-left: 12px; }
  .guide-v1 .tbl th:last-child, .guide-v1 .tbl td:last-child { padding-right: 12px; }
  .guide-v1 .tbl thead th { font-size: 0.875rem; }
  .guide-v1 .tbl td.num { font-size: 1rem; }
  .guide-v1 .gfig { padding: 16px; }
  .guide-v1 .gwheel__keys { gap: 0 16px; }
}
@media (max-width: 359px) {
  .guide-v1 .gimgs { grid-template-columns: minmax(0, 1fr); }
}
