/* 28-11 brand pass, loaded after styles.css.
   The game's own look: Cinzel Decorative / Cinzel like the logo and the launcher, Nunito (the game's UI family) for
   text, the UiV2 window panels (PanelTop #17243a -> PanelBottom #0a0f1a) with a gold hairline and gold corner pieces,
   parchment titles (#f3e2b5), gold section labels (#c9a35a) and the cyan accent (#56d9e8). Real gameplay video in the
   header, the feature reel, the dungeon and profession sections. */
:root {
  --font-deco: "Cinzel Decorative", "Cinzel", Georgia, serif;
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Nunito", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --panel: linear-gradient(180deg, #17243a 0%, #101a2c 55%, #0a0f1a 100%);
  --gold-line: rgba(232, 188, 97, .38);
  --gold-soft: rgba(232, 188, 97, .14);
  --text-dim: #c2cddd;
  --text-mute: #a4b2c8;
}
body { font-family: var(--font-body); }

/* ---------------------------------------------------------------- section heads */
.kicker { font-family: var(--font-display); font-weight: 700; letter-spacing: .26em; color: var(--section); }
.kicker::before { width: 8px; height: 8px; background: none; border: 1.5px solid currentColor; transform: rotate(45deg); flex: none; }
.section-head.center .kicker::after { content: ""; width: 8px; height: 8px; border: 1.5px solid currentColor; transform: rotate(45deg); flex: none; }
.section-head h2, .letter-card h2, .bp-card h2 { font-family: var(--font-deco); font-weight: 700; letter-spacing: .01em; color: var(--title); text-shadow: 0 2px 0 rgba(0, 0, 0, .35), 0 0 40px rgba(232, 188, 97, .12); }
.section-head h2 em { display: block; margin-top: .18em; font-family: var(--font-display); font-weight: 700; font-size: .8em; color: var(--gold); }
.bp-card h2 em { font-family: var(--font-display); }
.section-head::after { content: ""; display: block; width: min(260px, 60%); height: 12px; margin-top: 22px; background:
  linear-gradient(90deg, transparent, var(--gold-line) 30%, var(--gold-line) 70%, transparent) center / 100% 1px no-repeat,
  radial-gradient(circle, var(--gold) 0 2.5px, transparent 3px) center / 12px 12px no-repeat; }
.section-head.center::after { margin-left: auto; margin-right: auto; }
.world-copy .section-head::after { display: none; }
.hero-title { font-family: var(--font-deco); font-weight: 900; }
.hero-title span { font-family: var(--font-display); font-weight: 800; }
.pillar h3, .class-body h3, .inst h3, .ash-card h3, .prof-group h3, .zones b, .ash-facts b, .prof-shot figcaption b, .dl-card-head h3, .bestiary-head h3 { font-family: var(--font-display); letter-spacing: .02em; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.topbar-cta { white-space: nowrap; }
@media (min-width: 1241px) { .nav { gap: 18px; } .nav a { font-size: 13px; letter-spacing: .03em; } }
@media (min-width: 1241px) and (max-width: 1380px) { .brand-name { display: none; } }

/* ---------------------------------------------------------------- game-window frame */
.frame { position: relative; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .9); }
.frame::before { content: ""; position: absolute; inset: 4px; z-index: 2; border: 1px solid var(--gold-line); border-radius: 10px; pointer-events: none; }
.frame-corner { position: absolute; z-index: 3; width: 22px; height: 22px; pointer-events: none; border: 0 solid var(--gold); filter: drop-shadow(0 0 6px rgba(232, 188, 97, .45)); }
.frame-corner::after { content: ""; position: absolute; width: 6px; height: 6px; background: var(--gold2); transform: rotate(45deg); }
.frame-corner.tl { top: 7px; left: 7px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 6px; }
.frame-corner.tr { top: 7px; right: 7px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 6px; }
.frame-corner.bl { bottom: 7px; left: 7px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 6px; }
.frame-corner.br { bottom: 7px; right: 7px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 6px; }
.frame-corner.tl::after { top: -4px; left: -4px; }
.frame-corner.tr::after { top: -4px; right: -4px; }
.frame-corner.bl::after { bottom: -4px; left: -4px; }
.frame-corner.br::after { bottom: -4px; right: -4px; }

/* cards across the page share the window look */
.class-card, .inst, .ash-card, .prof-shot, .prof-group, .dl-card, .zones li, .bestiary-track figure { background: var(--panel); box-shadow: inset 0 0 0 1px rgba(232, 188, 97, .10); }
.class-card:hover, .inst:hover, .ash-card:hover { box-shadow: inset 0 0 0 1px var(--gold-line), 0 26px 50px -26px rgba(0, 0, 0, .9); }
.inst::before { background: linear-gradient(180deg, var(--gold), var(--c) 40%, transparent); }
.inst-kind, .bosses span { font-family: var(--font-display); letter-spacing: .14em; }

/* ---------------------------------------------------------------- buttons (the launcher's PLAY look: Cinzel caps, gold rim) */
.btn { font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; }
.btn-primary { box-shadow: 0 0 0 1px rgba(8, 13, 23, .85), 0 0 0 2px rgba(232, 188, 97, .6), 0 12px 32px -10px rgba(86, 217, 232, .7), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(8, 13, 23, .85), 0 0 0 2px var(--gold2), 0 18px 44px -10px rgba(86, 217, 232, .9), inset 0 1px 0 rgba(255, 255, 255, .55); }
[data-dl-group] .dl-btn.is-detected { box-shadow: 0 0 0 1px rgba(8, 13, 23, .85), 0 0 0 2px rgba(232, 188, 97, .6), 0 12px 32px -10px rgba(86, 217, 232, .7), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn-ghost { --b-bd: var(--gold-line); }
.btn-ghost:hover { --b-bd: var(--gold); }
.dl-label small { font-family: var(--font-body); letter-spacing: 0; }
.nav a { font-family: var(--font-display); font-weight: 600; letter-spacing: .04em; }
.nav a::after { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.topbar.is-solid { border-bottom-color: rgba(232, 188, 97, .22); }

/* ---------------------------------------------------------------- hero: gameplay video behind the copy */
.hero { min-height: 100vh; min-height: 100svh; grid-template-columns: minmax(0, 1fr); align-content: center; }
.hero-video { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #05080f url("assets/video/hero.jpg") center / cover no-repeat; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.05); }
.hero-video::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5, 8, 15, .94) 0%, rgba(5, 8, 15, .74) 34%, rgba(5, 8, 15, .16) 64%, rgba(5, 8, 15, .3) 100%),
  linear-gradient(180deg, rgba(5, 8, 15, .6) 0%, transparent 22%, transparent 72%, var(--bg0) 100%); }
.hero .glow { opacity: .28; }
.hero-footage { position: absolute; right: max(var(--gutter), calc((100vw - 1400px) / 2)); bottom: 28px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 13px; border-radius: 999px; background: rgba(8, 13, 23, .72); border: 1px solid var(--gold-line); color: var(--text-dim); font: 600 12.5px/1 var(--font-display); letter-spacing: .08em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #e66b73; box-shadow: 0 0 0 3px rgba(230, 107, 115, .25); animation: rec 1.6s ease-in-out infinite; flex: none; }
@keyframes rec { 50% { opacity: .35; } }
@media (min-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 80px; }
  .hero-copy { max-width: 620px; }
}
@media (max-width: 1099px) {
  .hero { padding-bottom: 96px; align-content: safe end; }
  .hero-video::after { background: linear-gradient(180deg, rgba(5, 8, 15, .3) 0%, rgba(5, 8, 15, .5) 40%, rgba(5, 8, 15, .94) 76%, var(--bg0) 100%); }
  .hero-footage { left: 50%; right: auto; transform: translateX(-50%); bottom: 22px; white-space: nowrap; }
}
@media (max-width: 640px) {
  .hero-footage { max-width: calc(100% - 32px); white-space: normal; text-align: center; font-size: 11px; line-height: 1.3; }
  .hero-footage .rec-dot { display: none; }
}

/* ---------------------------------------------------------------- feature reel (was six icon cards) */
.reel { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.reel-screen { overflow: hidden; aspect-ratio: 16 / 9; background: #05080f; }
.reel-screen video, .reel-screen .reel-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-screen .reel-still[hidden] { display: none; }
.reel-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 62%, rgba(5, 8, 15, .78)); }
.reel-caption { position: absolute; left: 24px; bottom: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--text); font: 600 13px/1.3 var(--font-display); letter-spacing: .06em; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.reel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.reel-list button { position: relative; width: 100%; display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; align-items: start; padding: 12px 16px 16px; text-align: left; cursor: pointer; color: var(--text-dim); font: inherit; border-radius: 12px; border: 1px solid transparent; background: transparent; transition: background-color .25s, border-color .25s; overflow: hidden; }
.reel-list button:hover { background: rgba(23, 36, 58, .55); }
.reel-list button[aria-selected="true"] { background: var(--panel); border-color: var(--gold-line); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9); }
.reel-num { position: relative; width: 40px; height: 40px; display: grid; place-items: center; font: 700 14px/1 var(--font-display); color: var(--text-mute); transition: color .25s; }
.reel-num::before { content: ""; position: absolute; inset: 6px; border: 1.5px solid var(--line-hi); border-radius: 5px; transform: rotate(45deg); transition: border-color .25s, background-color .25s; }
.reel-list button[aria-selected="true"] .reel-num { color: var(--gold2); }
.reel-list button[aria-selected="true"] .reel-num::before { border-color: var(--gold); background: var(--gold-soft); }
.reel-text b { display: block; padding-top: 9px; font: 700 18px/1.25 var(--font-display); color: var(--title); letter-spacing: .02em; }
.reel-text small { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 15px; line-height: 1.55; color: var(--text-dim); transition: max-height .45s var(--ease), opacity .35s, margin .35s; }
.reel-list button[aria-selected="true"] .reel-text small { max-height: 9em; opacity: 1; margin-top: 6px; }
.reel-bar { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 1px; background: rgba(43, 59, 88, .6); opacity: 0; }
.reel-bar i { display: block; width: 0; height: 100%; border-radius: 1px; background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.reel-list button[aria-selected="true"] .reel-bar { opacity: 1; }
@media (max-width: 1000px) { .reel { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- boss fights above the instance list */
.fight-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); }
.fight { margin: 0; overflow: hidden; }
.fight video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 13px 13px 0 0; background: #05080f; }
.fight figcaption { position: relative; z-index: 3; padding: 16px 24px 24px; color: var(--text-dim); font-size: 15px; }
.fight figcaption b { display: block; margin-bottom: 4px; font: 700 19px/1.25 var(--font-display); color: var(--title); }
@media (max-width: 900px) { .fight-strip { grid-template-columns: 1fr; } }

.prof-shot video, .ash-shot video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #05080f; }

@media (prefers-reduced-motion: reduce) {
  .rec-dot { animation: none; }
  .hero-video video { display: none; }
}

/* 28-11: Cinzel Decorative's swash ligatures read as typos in headings; plain letterforms everywhere */
.hero-title, .section-head h2, .letter-card h2, .bp-card h2, .acct-aside h2, .acct-head h1, .who-id b, .who-avatar {
  font-variant-ligatures: none; font-feature-settings: "liga" 0, "dlig" 0, "clig" 0, "calt" 0, "salt" 0, "swsh" 0; }

/* battle pass teaser in the game's colours: one reward track on a gold line */
.bp-card { border: 1px solid var(--line); background: radial-gradient(70% 90% at 100% 50%, rgba(232, 188, 97, .10), transparent 70%), var(--panel); box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .9); position: relative; }
.bp-card::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--gold-line); border-radius: 10px; pointer-events: none; }
.bp-card h2 em { display: block; color: var(--gold); font-weight: 700; font-size: .78em; margin-top: .2em; }
.bp-points li::marker { color: var(--gold); }
.bp-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; }
.bp-track::before { content: ""; position: absolute; left: calc(100% / 14); right: calc(100% / 14); top: 21px; height: 2px; background: linear-gradient(90deg, rgba(95, 211, 138, .7), var(--gold-line) 20%, var(--gold) 80%, #fff3c4); }
.bp-track li { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; min-width: 0; }
.bp-track .node { width: 30px; height: 30px; margin: 6px 0 6px; transform: rotate(45deg); border: 2px solid var(--line-hi); background: #0d1524; box-shadow: 0 0 0 4px #0d1524; }
.bp-track b { font: 700 18px/1 var(--font-display); color: var(--title); }
.bp-track small { font: 600 11.5px/1.25 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); overflow-wrap: anywhere; }
.bp-track .free .node { border-color: var(--success); }
.bp-track .gold .node { border-color: var(--gold); background: linear-gradient(135deg, #3a2c10, #15110a); box-shadow: 0 0 0 4px #0d1524, 0 0 18px rgba(232, 188, 97, .5); }
.bp-track .gold b { color: var(--gold2); }
.bp-track .top .node { width: 38px; height: 38px; margin: 2px 0 2px; border-color: #fff3c4; background: linear-gradient(135deg, var(--gold2), #8a6a1f); box-shadow: 0 0 0 4px #0d1524, 0 0 28px rgba(255, 216, 98, .7); }
.bp-track .top b { color: var(--gold2); font-size: 20px; }
.bp-track .top small { color: var(--gold); }
@media (max-width: 520px) { .bp-track .node { width: 22px; height: 22px; } .bp-track::before { top: 17px; } .bp-track .top .node { width: 28px; height: 28px; } .bp-track b { font-size: 15px; } .bp-track small { font-size: 9.5px; letter-spacing: .02em; } }

/* the developer's letter */
.letter-card { max-width: 800px; padding: clamp(30px, 5vw, 60px); }
.letter-card > :not(.frame-corner) { position: relative; z-index: 4; }
.letter-body p { color: #dfe3ea; }
.letter-pledge { margin: 30px 0; padding: 22px 24px; border-radius: 10px; border: 1px solid var(--gold-line); background: linear-gradient(180deg, rgba(232, 188, 97, .10), rgba(232, 188, 97, .03)); box-shadow: inset 3px 0 0 var(--gold); }
.letter-pledge p { margin-bottom: 0 !important; }
.letter-pledge .letter-pledge-title { margin-bottom: 8px !important; font: 700 13px/1.2 var(--font-display) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--gold2) !important; }
.letter-sign b { font: 700 20px/1.4 var(--font-display); color: var(--gold2); letter-spacing: .03em; }
.letter-sign small { display: block; margin-top: 4px; font-size: 14px; color: var(--text-mute); font-style: italic; }
/* section titles in plain Cinzel: the Decorative cut joins letters (LO, TH) in a way that reads as a typo */
.section-head h2, .letter-card h2, .bp-card h2, .acct-aside h2, .acct-head h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: .02em; }
.bp-track b { font-size: 20px; } .bp-track small { font-size: 12px; }
@media (min-width: 901px) { .bp-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.bp-track small { overflow-wrap: normal; white-space: nowrap; letter-spacing: .03em; font-size: 11.5px; }
@media (max-width: 520px) { .bp-track small { font-size: 8.5px; letter-spacing: 0; } }

/* ===== 28-11 v6: tighter, aligned structure (reel, professions, Ravenhold) ===== */

/* reel: video and chapter list are one unit of equal height */
.reel { align-items: stretch; gap: 0; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); border-radius: 14px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95); }
.reel-screen { border-radius: 14px 0 0 14px; align-self: start; }
.reel-list { position: relative; gap: 0; padding: 10px 0; border: 1px solid var(--line); border-left: 0; border-radius: 0 14px 14px 0; background: var(--panel); justify-content: space-between; }
.reel-list li { flex: 1 1 auto; display: flex; }
.reel-list li + li { border-top: 1px solid rgba(43, 59, 88, .55); }
.reel-list button { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; padding: 10px 22px 12px 18px; align-items: center; }
.reel-list button::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 2px 2px 0; background: var(--gold); opacity: 0; transition: opacity .25s; }
.reel-list button[aria-selected="true"]::before { opacity: 1; }
.reel-list button[aria-selected="true"] { background: linear-gradient(90deg, rgba(232, 188, 97, .09), transparent 70%) !important; }
.reel-list button:hover { background: rgba(232, 188, 97, .04) !important; }
.reel-text b { padding-top: 0; font-size: 16.5px; }
.reel-text small { font-size: 14px; line-height: 1.5; }
.reel-list button[aria-selected="true"] .reel-text small { max-height: 6.5em; margin-top: 4px; }
.reel-bar { left: 18px; right: 22px; bottom: 0; }
@media (min-width: 981px) { .reel-screen { align-self: stretch; } }
@media (max-width: 980px) {
  .reel { grid-template-columns: minmax(0, 1fr); aspect-ratio: auto; }
  .reel-screen { border-radius: 14px 14px 0 0; aspect-ratio: 16 / 9; }
  .reel-list { border-left: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; }
}

/* professions: three identical columns, media on top, the profession list as tags at the bottom */
.prof-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.prof-col { display: flex; flex-direction: column; overflow: hidden; margin: 0; }
.prof-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #05080f; border-bottom: 1px solid var(--gold-line); }
.prof-media video, .prof-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prof-body { position: relative; z-index: 4; flex: 1; display: flex; flex-direction: column; padding: 22px 26px 28px; }
.prof-kind { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 10px; font: 700 12px/1.2 var(--font-display); letter-spacing: .18em; text-transform: uppercase; color: var(--section); }
.prof-kind span { color: var(--text-mute); letter-spacing: .08em; font-size: 11px; }
.prof-body h3 { margin: 0 0 8px; font: 700 21px/1.25 var(--font-display); color: var(--title); letter-spacing: .02em; }
.prof-body > p:not(.prof-kind) { margin: 0 0 18px; color: var(--text-dim); font-size: 15px; line-height: 1.6; }
.prof-tags { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid rgba(43, 59, 88, .7); display: flex; flex-wrap: wrap; gap: 6px; }
.prof-tags li { padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line-hi); background: rgba(5, 8, 15, .5); color: var(--text); font: 600 12.5px/1.3 var(--font-display); letter-spacing: .03em; }
@media (max-width: 980px) { .prof-cols { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin: 0 auto; } }

/* Ravenhold: framed screenshot beside one framed list of places, equal heights */
.world { padding-top: clamp(64px, 9vw, 120px); background: var(--bg0); }
.world .section-head::after { display: block; }
.world-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: 22px; align-items: stretch; }
.world-shot { margin: 0; overflow: hidden; min-height: 100%; }
.world-shot img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 340px; }
.world-shot figcaption { position: absolute; left: 22px; bottom: 18px; z-index: 4; display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgba(8, 13, 23, .75); border: 1px solid var(--gold-line); color: var(--text); font: 600 12.5px/1 var(--font-display); letter-spacing: .08em; }
.zones.frame { list-style: none; margin: 0; padding: 8px 0; display: flex; flex-direction: column; gap: 0; }
.zones.frame li { position: relative; z-index: 4; flex: 1; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 16px 26px; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.zones.frame li + li { border-top: 1px solid rgba(43, 59, 88, .55); }
.zone-num { position: relative; width: 40px; height: 40px; display: grid; place-items: center; font: 700 13px/1 var(--font-display); color: var(--gold2); }
.zone-num::before { content: ""; position: absolute; inset: 7px; border: 1.5px solid var(--gold-line); border-radius: 5px; transform: rotate(45deg); background: var(--gold-soft); }
.zones.frame b { display: block; margin-bottom: 3px; font: 700 17px/1.3 var(--font-display); color: var(--title); }
.zones.frame span:not(.zone-num) { display: block; color: var(--text-dim); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 980px) { .world-grid { grid-template-columns: minmax(0, 1fr); } .world-shot img { min-height: 0; aspect-ratio: 16 / 9; } }
@media (min-width: 981px) { .reel-screen .frame-corner.tr, .reel-screen .frame-corner.br { display: none; } .reel-screen::before { right: 0; border-right: 0; border-radius: 10px 0 0 10px; } }
/* the stretched 16:9 screen grew wider than its column (aspect-ratio + stretch); keep its width, take 16:9 as a minimum height */
@media (min-width: 981px) { .reel-screen { aspect-ratio: auto; width: 100%; min-width: 0; } .reel-screen::after { content: ""; display: block; padding-top: 56.25%; } }

/* AIDA: mid-page call to action after the dungeons, and one at the end of the letter */
.cta-band { padding: 0 0 clamp(56px, 7vw, 96px); background: var(--bg0); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: clamp(26px, 3.4vw, 40px) clamp(26px, 4vw, 56px); background: radial-gradient(60% 140% at 100% 50%, rgba(232, 188, 97, .12), transparent 70%), var(--panel); }
.cta-band-inner > :not(.frame-corner) { position: relative; z-index: 4; }
.cta-band .kicker { margin-bottom: 8px; }
.cta-band-title { margin: 0; font: 800 clamp(22px, 2.4vw, 32px)/1.2 var(--font-display); color: var(--title); letter-spacing: .02em; }
.cta-band-title em { font-style: normal; color: var(--gold); }
.cta-band-actions, .letter-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-band-actions span, .letter-cta span { color: var(--text-mute); font: 600 13px/1.2 var(--font-display); letter-spacing: .06em; }
.letter-cta { margin: 30px 0 8px; padding-top: 26px; border-top: 1px solid rgba(43, 59, 88, .7); }
@media (max-width: 640px) { .cta-band-actions { width: 100%; } .cta-band-actions .btn, .letter-cta .btn { width: 100%; justify-content: center; } }
@media (min-width: 900px) { .cta-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; } .cta-band-actions { flex-direction: column; align-items: center; gap: 8px; } }

/* Discord: icon in the top bar, a community panel under the downloads, inline links */
.dc-ico { width: 22px; height: 22px; fill: currentColor; flex: none; }
.topbar-discord { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-right: 10px; border-radius: 10px; border: 1px solid var(--line-hi); background: rgba(13, 20, 34, .7); color: #aab4ff; transition: color .2s, border-color .2s, background-color .2s, box-shadow .2s; }
.topbar-discord:hover, .topbar-discord:focus-visible { color: #fff; border-color: #5865f2; background: #5865f2; box-shadow: 0 0 18px -4px rgba(88, 101, 242, .8); }
.community { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px 32px; margin: clamp(28px, 4vw, 44px) 0 20px; padding: clamp(24px, 3vw, 34px) clamp(24px, 3.6vw, 44px); background: radial-gradient(50% 140% at 0% 50%, rgba(88, 101, 242, .18), transparent 70%), var(--panel); }
.community > :not(.frame-corner) { position: relative; z-index: 4; }
.community-ico { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(145deg, #6b77ff, #4752c4); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 14px 30px -12px rgba(88, 101, 242, .8); }
.community-ico .dc-ico { width: 40px; height: 40px; }
.community .kicker { margin-bottom: 4px; }
.community h3 { margin: 0 0 6px; font: 800 clamp(20px, 2vw, 26px)/1.2 var(--font-display); color: var(--title); letter-spacing: .02em; }
.community-copy > p:not(.kicker) { margin: 0; color: var(--text-dim); font-size: 15.5px; line-height: 1.6; max-width: 620px; }
.btn-discord { display: inline-flex; align-items: center; gap: 10px; color: #fff; background: #5865f2; border: 1px solid #7c86ff; box-shadow: 0 10px 26px -10px rgba(88, 101, 242, .9); }
.btn-discord:hover, .btn-discord:focus-visible { background: #4752c4; color: #fff; }
.inline-link { color: var(--gold2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 216, 98, .45); }
.inline-link:hover { text-decoration-color: currentColor; }
@media (max-width: 760px) { .community { grid-template-columns: auto minmax(0, 1fr); } .community .btn-discord { grid-column: 1 / -1; justify-content: center; } .community-ico { width: 56px; height: 56px; border-radius: 14px; } .community-ico .dc-ico { width: 30px; height: 30px; } }
@media (max-width: 420px) { .topbar-discord { width: 38px; height: 38px; margin-right: 6px; } }
