/*! Witching Hour Games - styles. Every rule is scoped to .qwh-app so the theme can't leak in. */
.qwh-app {
  --qwh-bg: #0B0A22; --qwh-surface: #151236; --qwh-soft: #1F1A4A; --qwh-line: #332B6E;
  --qwh-ink: #ECEFFB; --qwh-muted: #A7B0DC; --qwh-ice: #B8D4F0; --qwh-lav: #C9BCFF;
  --qwh-pumpkin: #F2994A; --qwh-gold: #F3D98B;
  --qwh-script: "Pinyon Script", "Snell Roundhand", cursive;
  --qwh-display: "Cormorant Garamond", Garamond, Georgia, serif;
  --qwh-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --qwh-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  box-sizing: border-box; max-width: 960px; margin: 0 auto; color: var(--qwh-ink);
  font-family: var(--qwh-body); font-size: 16.5px; line-height: 1.6; text-align: left; color-scheme: dark;
}
.qwh-app *, .qwh-app *::before, .qwh-app *::after { box-sizing: border-box; }
.qwh-app [hidden] { display: none !important; }
.qwh-app p, .qwh-app h2, .qwh-app h3, .qwh-app fieldset, .qwh-app legend { margin: 0; padding: 0; border: 0; }
.qwh-app .qwh-card {
  position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--qwh-line);
  background-color: var(--qwh-bg);
  background-image:
    radial-gradient(1px 1px at 12% 6%, rgba(255,255,255,.7), transparent 60%), radial-gradient(1px 1px at 78% 3%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 42% 9%, rgba(255,255,255,.6), transparent 60%), radial-gradient(1px 1px at 90% 14%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(800px 460px at 92% -100px, rgba(242,153,74,.22), transparent 70%), radial-gradient(900px 520px at 0% -160px, rgba(88,70,190,.35), transparent 70%);
  background-repeat: no-repeat; box-shadow: 0 24px 60px -30px rgba(0,0,0,.7);
}
.qwh-app .qwh-head { padding: 30px 32px 18px; border-bottom: 1px solid var(--qwh-line); }
.qwh-app .qwh-wordmark { display: inline-flex; flex-direction: column; align-items: center; margin: 0 0 14px; line-height: 1; }
.qwh-app .qwh-qod { font-family: var(--qwh-script); font-size: 2rem; color: #fff; line-height: 1.15; }
.qwh-app .qwh-hyp { font-size: .66rem; letter-spacing: .34em; padding-left: .34em; color: var(--qwh-ice); margin-top: 2px; }
.qwh-app .qwh-title { font-family: var(--qwh-display); font-weight: 500; font-size: clamp(2.1rem, 5.5vw, 2.9rem); line-height: 1.05; color: #fff; }
.qwh-app .qwh-title em { font-style: italic; color: var(--qwh-pumpkin); }
.qwh-app .qwh-body { padding: 24px 32px 32px; display: flex; flex-direction: column; gap: 18px; }
.qwh-app .qwh-lead { color: var(--qwh-muted); max-width: 64ch; }
.qwh-app .qwh-lead + .qwh-lead { margin-top: 10px; }
.qwh-app .qwh-note { padding: 18px 32px 28px; color: var(--qwh-muted); }
.qwh-app .qwh-small, .qwh-app .qwh-muted { font-size: 13.5px; color: var(--qwh-muted); }
.qwh-app .qwh-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.qwh-app .qwh-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; margin: 0;
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer; text-decoration: none;
  color: var(--qwh-ink); background: var(--qwh-surface); border: 1px solid var(--qwh-line); border-radius: 8px; transition: border-color .15s, filter .15s, transform .1s;
}
.qwh-app .qwh-btn:hover { border-color: var(--qwh-gold); }
.qwh-app .qwh-btn:active { transform: translateY(1px); }
.qwh-app .qwh-btn-primary { background: var(--qwh-pumpkin); border-color: var(--qwh-pumpkin); color: #1A0E04; }
.qwh-app .qwh-btn-primary:hover { filter: brightness(1.08); }
.qwh-app .qwh-btn-sm { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.qwh-app .qwh-btn[disabled] { opacity: .5; cursor: default; }
.qwh-app .qwh-link { background: none; border: 0; padding: 0; margin: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--qwh-ice); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.qwh-app :focus-visible { outline: 2px solid var(--qwh-gold); outline-offset: 2px; }

/* ---------------- The Spirit Board ---------------- */
.qwh-app .qwh-board { position: relative; width: 100%; aspect-ratio: 1000 / 640; border-radius: 22px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.qwh-app .qwh-board-svg { display: block; width: 100%; height: 100%; }
.qwh-app .qwh-board-svg text { font-family: var(--qwh-display); fill: #E8DFC2; text-anchor: middle; dominant-baseline: middle; transition: fill .4s, filter .4s; }
.qwh-app .qwh-l { font-size: 52px; font-weight: 600; }
.qwh-app .qwh-n { font-size: 40px; font-weight: 500; }
.qwh-app .qwh-yn { font-size: 40px; font-style: italic; letter-spacing: .06em; }
.qwh-app .qwh-bye { font-size: 38px; letter-spacing: .3em; }
.qwh-app .qwh-sig { font-family: var(--qwh-script) !important; font-size: 30px; fill: rgba(255,255,255,.55) !important; }
.qwh-app .qwh-board-svg .is-lit { fill: #FFE7A8; filter: drop-shadow(0 0 8px rgba(243,217,139,.95)); }
.qwh-app .qwh-plan { position: absolute; width: 13%; transform: translate(-50%, -37%); pointer-events: none; filter: drop-shadow(0 0 14px rgba(243,217,139,.45)) drop-shadow(0 10px 14px rgba(0,0,0,.55)); }
.qwh-app.is-entranced .qwh-plan { filter: drop-shadow(0 0 24px rgba(243,217,139,.8)) drop-shadow(0 10px 14px rgba(0,0,0,.55)); }
.qwh-app .qwh-plan svg { display: block; width: 100%; height: auto; }
.qwh-app .qwh-answer { min-height: 1.4em; text-align: center; font-family: var(--qwh-display); font-size: clamp(2rem, 7vw, 3.2rem); letter-spacing: .3em; padding-left: .3em; color: var(--qwh-gold); text-shadow: 0 0 18px rgba(243,217,139,.5); opacity: 0; transition: opacity .6s; }
.qwh-app .qwh-answer.is-on { opacity: 1; }
.qwh-app .qwh-panel { display: flex; flex-direction: column; gap: 16px; }
.qwh-app .qwh-qs legend { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--qwh-gold); margin-bottom: 10px; }
.qwh-app .qwh-qs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qwh-app .qwh-qs legend { grid-column: 1 / -1; }
.qwh-app .qwh-q { position: relative; display: flex; cursor: pointer; margin: 0; }
.qwh-app .qwh-q input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.qwh-app .qwh-q span { display: block; width: 100%; padding: 11px 14px; border-radius: 8px; border: 1px solid var(--qwh-line); background: var(--qwh-surface); font-family: var(--qwh-display); font-size: 1.2rem; font-style: italic; line-height: 1.3; }
.qwh-app .qwh-q input:checked + span { border-color: var(--qwh-gold); background: var(--qwh-soft); box-shadow: inset 0 0 0 1px var(--qwh-gold); }
.qwh-app .qwh-q input:focus-visible + span { outline: 2px solid var(--qwh-gold); outline-offset: 2px; }
.qwh-app .qwh-q-shown { font-family: var(--qwh-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--qwh-muted); text-align: center; }
.qwh-app .qwh-line { font-family: var(--qwh-display); font-style: italic; font-size: clamp(1.4rem, 4vw, 1.9rem); line-height: 1.35; text-align: center; min-height: 2.8em; color: #fff; }
.qwh-app .qwh-line.is-in { animation: qwh-fade 1.6s ease; }
@keyframes qwh-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.qwh-app .qwh-panel > .qwh-row { justify-content: center; }
.qwh-app .qwh-result { padding: 20px 22px; border-radius: 12px; border: 1px solid rgba(243,217,139,.5); background: radial-gradient(500px 200px at 50% -40px, rgba(243,217,139,.16), transparent 70%), var(--qwh-surface); display: flex; flex-direction: column; gap: 10px; text-align: center; outline: none; }
.qwh-app .qwh-result-k { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--qwh-gold); }
.qwh-app .qwh-word { font-family: var(--qwh-display); font-size: clamp(2.2rem, 7vw, 3rem); letter-spacing: .14em; color: #fff; line-height: 1.1; }
.qwh-app .qwh-rec a { color: var(--qwh-gold); font-weight: 600; }

/* ---------------- Trick or Trance ---------------- */
.qwh-app .qwh-count { font-family: var(--qwh-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--qwh-gold); }
.qwh-app .qwh-pumpkins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px; border-radius: 18px; background: radial-gradient(ellipse at 50% 120%, rgba(78,107,58,.35), transparent 60%), linear-gradient(180deg, rgba(31,26,74,.4), rgba(11,10,34,.2)); }
.qwh-app .qwh-pumpkins > div { min-width: 0; }
.qwh-app .qwh-pk { position: relative; display: block; width: 100%; aspect-ratio: 13 / 11; margin: 0; padding: 6% 8% 4%; border: 0; border-radius: 16px; background: transparent; cursor: pointer; transition: transform .2s; }
.qwh-app .qwh-pk svg { position: relative; z-index: 1; display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 10px 12px rgba(0,0,0,.5)); }
.qwh-app .qwh-pk .qwh-face { fill: #2A1405; transition: fill .4s; }
.qwh-app .qwh-pk .qwh-lid { transition: transform .5s; transform-origin: 65px 20px; }
.qwh-app .qwh-pk-glow { position: absolute; inset: 15% 10% 0; border-radius: 50%; background: radial-gradient(circle, rgba(255,190,90,.5), transparent 65%); opacity: 0; transition: opacity .5s; z-index: 0; }
.qwh-app .qwh-pk:hover:not(.is-open):not([disabled]) { transform: translateY(-4px) rotate(-1.5deg); }
.qwh-app .qwh-pk:hover:not(.is-open):not([disabled]) .qwh-pk-glow { opacity: .5; }
.qwh-app .qwh-pk.is-open { cursor: default; }
.qwh-app .qwh-pk.is-open .qwh-face { fill: #FFD27A; filter: drop-shadow(0 0 6px #FFB14A); animation: qwh-flicker 2.6s infinite; }
.qwh-app .qwh-pk.is-open .qwh-lid { transform: translate(6px, -10px) rotate(18deg); }
.qwh-app .qwh-pk.is-open .qwh-pk-glow { opacity: 1; }
.qwh-app .qwh-pk.is-gold.is-open .qwh-pk-glow { background: radial-gradient(circle, rgba(255,231,168,.85), transparent 65%); }
.qwh-app .qwh-pk.is-done { opacity: .45; filter: saturate(.5); }
@keyframes qwh-flicker { 0%, 100% { opacity: 1; } 45% { opacity: .82; } 50% { opacity: .95; } 70% { opacity: .78; } }
.qwh-app .qwh-reveals { display: grid; gap: 12px; }
.qwh-app .qwh-reveal { padding: 18px 20px; border-radius: 12px; border: 1px solid var(--qwh-line); background: var(--qwh-surface); display: flex; flex-direction: column; gap: 6px; outline: none; animation: qwh-fade .8s ease; }
.qwh-app .qwh-reveal h3 { font-family: var(--qwh-display); font-weight: 500; font-size: 1.7rem; line-height: 1.15; color: #fff; }
.qwh-app .qwh-kind { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.qwh-app .is-trick { border-color: rgba(201,188,255,.5); } .qwh-app .is-trick .qwh-kind { color: var(--qwh-lav); }
.qwh-app .is-treat { border-color: rgba(242,153,74,.55); } .qwh-app .is-treat .qwh-kind { color: var(--qwh-pumpkin); }
.qwh-app .is-golden { border-color: var(--qwh-gold); background: radial-gradient(500px 200px at 50% -60px, rgba(243,217,139,.25), transparent 70%), var(--qwh-surface); } .qwh-app .is-golden .qwh-kind { color: var(--qwh-gold); }
.qwh-app .qwh-code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--qwh-gold); }
.qwh-app .qwh-code span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--qwh-muted); }
.qwh-app .qwh-code code { font-family: var(--qwh-mono); font-size: 20px; letter-spacing: .1em; color: var(--qwh-gold); background: none; padding: 0; }
.qwh-app .qwh-finale { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding-top: 10px; border-top: 1px solid var(--qwh-line); }
.qwh-app .qwh-finale h3 { font-family: var(--qwh-display); font-weight: 500; font-style: italic; font-size: 2.2rem; color: #fff; padding-top: 8px; }
.qwh-app .qwh-spell { width: 100%; max-width: 340px; height: auto; border-radius: 10px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.8); }
.qwh-app .qwh-msg { font-size: 14px; color: var(--qwh-muted); min-height: 1.2em; }

@media (max-width: 640px) {
  .qwh-app .qwh-head { padding: 24px 20px 14px; }
  .qwh-app .qwh-body { padding: 18px 16px 24px; }
  .qwh-app .qwh-qs { grid-template-columns: 1fr; }
  .qwh-app .qwh-pumpkins { gap: 6px; padding: 10px; }
  .qwh-app .qwh-board { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .qwh-app .qwh-pk.is-open .qwh-face, .qwh-app .qwh-line.is-in, .qwh-app .qwh-reveal { animation: none; }
  .qwh-app .qwh-pk, .qwh-app .qwh-pk .qwh-lid { transition: none; }
}

/* ---------------- Midnight Manor ---------------- */
.qwh-app .qwh-manor-hall svg { display: block; width: 100%; height: auto; }
.qwh-app .qwh-scene { display: flex; flex-direction: column; gap: 14px; animation: qwh-fade .9s ease; }
.qwh-app .qwh-crumbs { font-family: var(--qwh-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--qwh-muted); }
.qwh-app .qwh-scene-t { font-family: var(--qwh-display); font-weight: 500; font-style: italic; font-size: clamp(1.9rem, 5vw, 2.5rem); line-height: 1.1; color: #fff; outline: none; }
.qwh-app .qwh-scene-p { font-family: var(--qwh-display); font-size: 1.3rem; line-height: 1.6; color: #E3E7F8; max-width: 60ch; }
.qwh-app .qwh-doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 6px; }
.qwh-app .qwh-door { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 14px; border-radius: 14px; border: 1px solid var(--qwh-line); background: var(--qwh-surface); color: var(--qwh-ink); font: inherit; font-family: var(--qwh-display); font-size: 1.2rem; font-style: italic; line-height: 1.25; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.qwh-app .qwh-door svg { width: 46px; height: auto; }
.qwh-app .qwh-door:hover { border-color: var(--qwh-gold); transform: translateY(-2px); box-shadow: 0 0 26px -8px rgba(243,217,139,.5); }
.qwh-app .qwh-ending { padding: 18px 20px; border-radius: 12px; border: 1px solid rgba(243,217,139,.55); background: radial-gradient(500px 200px at 50% -60px, rgba(243,217,139,.2), transparent 70%), var(--qwh-surface); text-align: center; display: flex; flex-direction: column; gap: 6px; }
.qwh-app .qwh-ending-n { font-family: var(--qwh-display); font-style: italic; font-size: 1.9rem; color: #fff; line-height: 1.15; }

/* ---------------- The Potion Shelf ---------------- */
.qwh-app .qwh-shelves { display: flex; flex-direction: column; gap: 18px; }
.qwh-app .qwh-shelf legend { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.qwh-app .qwh-shelf legend b { font-family: var(--qwh-display); font-size: 1.5rem; font-weight: 500; font-style: italic; color: #fff; }
.qwh-app .qwh-shelf legend span { font-size: 14px; color: var(--qwh-muted); }
.qwh-app .qwh-bottles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; position: relative; z-index: 1; }
.qwh-app .qwh-plank { height: 12px; margin-top: -4px; border-radius: 3px; background: linear-gradient(180deg, #5A3E26, #3A2716); box-shadow: 0 8px 14px -6px rgba(0,0,0,.6); }
.qwh-app .qwh-bottle { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 8px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; text-align: center; transition: transform .2s, background .2s; }
.qwh-app .qwh-bottle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.qwh-app .qwh-bottle-b svg { width: 52px; height: auto; display: block; filter: drop-shadow(0 6px 8px rgba(0,0,0,.5)); transition: filter .3s; }
.qwh-app .qwh-bottle-n { font-family: var(--qwh-display); font-style: italic; font-size: 1.1rem; line-height: 1.2; color: var(--qwh-ink); }
.qwh-app .qwh-bottle:hover { transform: translateY(-3px); }
.qwh-app .qwh-bottle:has(input:checked) { background: var(--qwh-soft); border-color: var(--qwh-gold); }
.qwh-app .qwh-bottle:has(input:checked) svg { filter: drop-shadow(0 0 14px rgba(243,217,139,.7)); }
.qwh-app .qwh-bottle:has(input:focus-visible) { outline: 2px solid var(--qwh-gold); outline-offset: 2px; }
.qwh-app .qwh-brew-row { justify-content: center; }
.qwh-app .qwh-brew { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.qwh-app .qwh-cauldron svg { display: block; width: 220px; max-width: 60%; margin: 0 auto; }
.qwh-app .qwh-bubbles circle { fill: rgba(255,255,255,.55); animation: qwh-bubble 2.4s ease-in-out infinite; }
.qwh-app .qwh-bubbles circle:nth-child(2) { animation-delay: .6s; } .qwh-app .qwh-bubbles circle:nth-child(3) { animation-delay: 1.2s; } .qwh-app .qwh-bubbles circle:nth-child(4) { animation-delay: 1.8s; }
@keyframes qwh-bubble { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-40px); opacity: 0; } }

/* ---------------- Thirteen Candles ---------------- */
.qwh-app.qwh-game-candles .qwh-card { transition: background-color 1.2s; }
.qwh-app .qwh-candle-row { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); align-items: end; gap: 4px; padding: 26px 10px 0; border-radius: 16px; background: radial-gradient(ellipse at 50% 100%, rgba(255,190,90, calc(.28 * (1 - var(--qwh-dim, 0)))), transparent 70%); transition: background 1.2s; }
.qwh-app .qwh-candle svg { display: block; width: 100%; height: auto; }
.qwh-app .qwh-candle .qwh-flame { transform-origin: 15px 100%; transform-box: fill-box; animation: qwh-flame 1.8s ease-in-out infinite; filter: drop-shadow(0 0 6px #FFB14A); transition: opacity .5s, transform .5s; }
.qwh-app .qwh-candle:nth-child(2n) .qwh-flame { animation-duration: 2.3s; } .qwh-app .qwh-candle:nth-child(3n) .qwh-flame { animation-duration: 1.5s; }
@keyframes qwh-flame { 0%, 100% { transform: scale(1, 1) rotate(-1deg); } 50% { transform: scale(.92, 1.08) rotate(2deg); } }
.qwh-app.is-inhale .qwh-candle.is-lit .qwh-flame { transform: scale(1.12, 1.25); }
.qwh-app .qwh-candle .qwh-smoke { opacity: 0; }
.qwh-app .qwh-candle.is-out .qwh-flame { opacity: 0; animation: none; }
.qwh-app .qwh-candle.is-out .qwh-smoke { animation: qwh-smoke 2.4s ease-out forwards; }
@keyframes qwh-smoke { 0% { opacity: .9; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-24px); } }
.qwh-app .qwh-cue { text-align: center; font-family: var(--qwh-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--qwh-gold); min-height: 1.4em; }
.qwh-app .qwh-blow { min-width: 240px; }
.qwh-app.is-dark .qwh-card { background-color: #040312; }
.qwh-app .qwh-darkness { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; animation: qwh-fade 2s ease; }
@media (max-width: 640px) { .qwh-app .qwh-candle-row { gap: 2px; padding: 18px 4px 0; } .qwh-app .qwh-bottle-b svg { width: 42px; } }
@media (prefers-reduced-motion: reduce) { .qwh-app .qwh-candle .qwh-flame, .qwh-app .qwh-bubbles circle, .qwh-app .qwh-scene, .qwh-app .qwh-darkness { animation: none; } }

/* ---------------- The Halloween hub ---------------- */
.qwh-hub { max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif; color: #ECEFFB; }
.qwh-hub .qwh-hub-head { border-radius: 14px; border: 1px solid #332B6E; background: radial-gradient(800px 360px at 92% -100px, rgba(242,153,74,.22), transparent 70%), radial-gradient(800px 400px at 0% -160px, rgba(88,70,190,.35), transparent 70%), #0B0A22; padding-bottom: 18px; }
.qwh-hub .qwh-head { padding: 26px 28px 12px; border: 0; }
.qwh-hub .qwh-wordmark { display: inline-flex; flex-direction: column; align-items: center; margin: 0 0 12px; line-height: 1; }
.qwh-hub .qwh-qod { font-family: "Pinyon Script", "Snell Roundhand", cursive; font-size: 2rem; color: #fff; line-height: 1.15; }
.qwh-hub .qwh-hyp { font-size: .66rem; letter-spacing: .34em; padding-left: .34em; color: #B8D4F0; margin-top: 2px; }
.qwh-hub .qwh-title { margin: 0; font-family: "Cormorant Garamond", Garamond, Georgia, serif; font-weight: 500; font-size: clamp(2.1rem, 5.5vw, 2.9rem); line-height: 1.05; color: #fff; }
.qwh-hub .qwh-title em { font-style: italic; color: #F2994A; }
.qwh-hub .qwh-hub-head > .qwh-lead { margin: 0 28px 10px; color: #A7B0DC; }
.qwh-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 28px; }
.qwh-tab { display: inline-flex; align-items: center; min-height: 40px; margin: 0; padding: 8px 16px; border-radius: 999px; border: 1px solid #332B6E; background: #151236; color: #ECEFFB; font: inherit; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 1.15rem; line-height: 1.1; cursor: pointer; transition: border-color .15s, background .15s; }
.qwh-tab:hover { border-color: #F3D98B; }
.qwh-tab[aria-selected="true"] { background: #F2994A; border-color: #F2994A; color: #1A0E04; }
.qwh-tab:focus-visible { outline: 2px solid #F3D98B; outline-offset: 2px; }
.qwh-hub [role="tabpanel"][hidden] { display: none !important; }
.qwh-hub .qwh-app { max-width: none; }
@media (max-width: 640px) { .qwh-hub .qwh-head { padding: 22px 18px 10px; } .qwh-tabs { padding: 0 16px; gap: 6px; } .qwh-tab { font-size: 1.02rem; padding: 6px 12px; min-height: 36px; } }
.qwh-hub [role="tabpanel"] .qwh-wordmark { display: none; }
