/* FAQ preview — values traced in ../faq_inventory.md. Shares style.css (pane, glyph, .gbtn glass). */
@font-face { font-family: 'MPSRounded'; src: url('assets/fonts/Nunito-VariableFont_wght.ttf') format('truetype'); font-weight: 200 1000; font-display: block; }
:root { --rounded: ui-rounded, 'SF Pro Rounded', 'MPSRounded', system-ui, sans-serif; }
html:not(.laid) #display { visibility: hidden; }

/* ---- list (AnswerReviewSheet: ScrollView, VStack spacing 20, padding top 66 / bottom 20 / h 18, maxWidth 1000) ---- */
#list { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.35) transparent; }
#col { margin: 0 auto; padding: 66px 18px 28px; display: flex; flex-direction: column; gap: 20px; }
.sblabel { font-family: 'RammettoOne', sans-serif; font-weight: normal; text-transform: uppercase; color: var(--sbFill); text-shadow: var(--sbShadow); }
#faqHeading { font-size: 20px; line-height: 1.2; text-align: center; }
.section { font-size: 13px; line-height: 1.2; margin: 10px 0 -6px 64px; letter-spacing: 0.02em; }
.section:first-of-type { margin-top: 2px; }

.row { display: flex; flex-direction: row; align-items: center; gap: 16px; width: 100%; padding: 0; margin: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left; cursor: pointer; -webkit-user-select: none; user-select: none; outline: none; }
.sgs { position: relative; flex: none; isolation: isolate; }           /* SwitchboardGlassSurface host */
.sgs > svg.sgsvg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: -1; }
.num { width: 48px; height: 48px; border-radius: 24px; display: grid; place-items: center; }
.pill { flex: 1 1 auto; min-height: 58px; border-radius: 32px; display: flex; align-items: center; padding: 12px 24px; }
.poslabel { font-family: var(--rounded); font-weight: 600; font-stretch: condensed; font-size: 18.75px; line-height: 1.22;
  color: var(--posFill); text-shadow: var(--posShadow); }
.num .poslabel { line-height: 1; }
.row:hover .pill, .row:focus-visible .pill { filter: brightness(1.06) saturate(1.05); }
.row:active .pill { filter: brightness(1.12); }
.row:focus-visible .pill > svg.sgsvg { outline: 2px solid rgba(255,255,255,0.85); outline-offset: 3px; border-radius: 32px; }
#list.away { pointer-events: none; }

/* ---- question scene ---- */
#qview { position: absolute; inset: 0; }
#qview[hidden] { display: none; }
#qtitle { position: absolute; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; pointer-events: none; font-weight: normal; }
#qtitle .tline { display: flex; flex-direction: row; }
#qtitle .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#bubble { position: absolute; height: auto; cursor: default; border-radius: 34px; }
#bubble .clip { border-radius: 34px; }
#prose { position: absolute; inset: 0; overflow-y: auto; padding: 26px 28px; outline: none;
  font-family: var(--rounded); font-weight: 500; font-size: 17px; line-height: 1.5; color: #F3EEFF;
  text-shadow: 0 1px 2px rgba(22, 6, 52, 0.55); -webkit-user-select: text; user-select: text;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.4) transparent;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 22px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 22px), transparent 100%); }
#prose p + p { margin-top: 0.8em; }
#prose.fits { -webkit-mask-image: none; mask-image: none; display: flex; flex-direction: column; justify-content: center; }

/* ---- back chip (BackChip = DeckControlButtonStyle, diameter 46, leading 16 / top 12) ---- */
#back { position: absolute; left: 16px; top: 12px; width: 46px; height: 46px; border-radius: 23px; display: grid; place-items: center;
  color: var(--chipIcon); text-decoration: none; outline: none; z-index: 5; }
#back svg:not(.sgsvg) { width: 19px; height: 19px; filter: drop-shadow(0.56px -1.4px 0 rgba(0,0,0,0.24)); }
#back:focus-visible > svg.sgsvg { outline: 2px solid rgba(255,255,255,0.85); outline-offset: 3px; border-radius: 23px; }
