@font-face { font-family: "Fraunces"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/fraunces-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/fraunces-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); }

:root {
  --paper: #f7f4fb;
  --sheet: #ffffff;
  --ink: #241433;
  --muted: #6d6278;
  --line: #e6dff0;
  --terra: #ff7a1a;
  --terra-deep: #e26508;
  --stamp: #5b2d86;
  --focus: #ff7a1a;
  --nav: #1b1030;
  --header-pad: max(8px, env(safe-area-inset-top));
  color-scheme: light;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6; overflow-x: clip; -webkit-tap-highlight-color: rgba(255, 122, 26, .18); }
a { color: var(--terra-deep); text-underline-offset: 3px; }
a:hover { color: var(--terra); }
img, svg { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea { font-size: 16px; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; overflow-wrap: break-word; }
h1, h2, h3 { font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; }
h1 { font-family: "Fraunces", "Source Sans 3", "Helvetica Neue", serif; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 7.2vw, 2.35rem); margin-bottom: 12px; }
h2 { font-size: 1.28rem; margin-bottom: 10px; }
h3 { font-size: 1.05rem; margin-bottom: 6px; }
p { margin-bottom: 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; overflow-wrap: break-word; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 80; background: var(--ink); color: var(--sheet); padding: 8px 12px; }
.skip:focus { top: 12px; }

.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: var(--header-pad) max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left));
  background: var(--nav);
  color: #fff;
  overflow: visible;
}
.brand-row { flex: 1 1 auto; min-width: 0; order: 1; display: flex; align-items: center; padding: 0; }
.chapters { display: none; }
.mast-top { order: 2; display: flex; align-items: center; margin: 0; padding: 0; border: 0; }
.mast-top .kicker { display: none; }
.kicker { margin: 0; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.mast-cta { display: flex; align-items: center; flex: 0 0 auto; gap: 6px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; min-width: 0; }
span.brand { cursor: default; }
.brand img { width: min(118px, 32vw); height: auto; border-radius: 0; }
.brand-name { display: none; }
.brand-name small { display: block; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: #ffb088; font-weight: 600; }
.dossier-no { display: none; }

.chapters a, .chapters span[aria-current="page"] { flex: 0 0 auto; padding: 6px 9px; border: 0; border-radius: 8px; color: #f4eefe; text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.chapters a:hover, .chapters span[aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }
.chapters span[aria-current="page"] { cursor: default; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 5.5rem; padding: 6px 14px; border: 0; border-radius: 999px; background: var(--terra); color: #fff; text-decoration: none; font-weight: 700; font-size: 0.82rem; white-space: nowrap; }
.button:hover { background: var(--terra-deep); color: #fff; }
.button.ghost { background: #fff; color: var(--nav); }
.button.ghost:hover { background: #ffe8d6; color: var(--nav); }
span.button { cursor: default; }

.mast-cta .menu-toggle {
  display: inline-flex;
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  font-size: 0;
  line-height: 0;
  color: transparent;
}
.mast-cta .menu-toggle::before {
  content: "";
  display: block;
  width: 16px;
  height: 12px;
  background:
    linear-gradient(#1b1030, #1b1030) 0 0 / 100% 2px no-repeat,
    linear-gradient(#1b1030, #1b1030) 0 5px / 100% 2px no-repeat,
    linear-gradient(#1b1030, #1b1030) 0 10px / 100% 2px no-repeat;
}

main { padding: 16px max(14px, env(safe-area-inset-right)) 40px max(14px, env(safe-area-inset-left)); }
.sheet { max-width: 1080px; margin: 0 auto; min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; font-size: 0.75rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

.lede { display: block; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.lede p.deck { font-size: 1.02rem; max-width: 42rem; }
.byline { color: var(--muted); font-size: 0.88rem; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.actions .button { flex: 1 1 140px; }
.fine { color: var(--muted); font-size: 0.78rem; }
.bonus-offer { display: inline-flex; align-items: center; justify-content: center; gap: 9px; max-width: 100%; min-height: 48px; margin-top: 14px; padding: 10px 16px; border: 1px solid #ffb36f; border-radius: 999px; background: linear-gradient(135deg, #ff8a2d, #f06710); color: #fff; font-size: 0.84rem; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; box-shadow: 0 10px 24px rgba(91,45,134,.25); overflow-wrap: anywhere; }
.bonus-offer:hover { background: linear-gradient(135deg, #ff9d4f, #e26508); color: #fff; }
.bonus-offer .arrow { white-space: nowrap; }

.ledger { display: grid; border: 1px solid var(--ink); background: var(--sheet); border-radius: 14px; overflow: hidden; }
.ledger div, .ledger a { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 14px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.ledger div:last-child, .ledger a:last-child { border-bottom: 0; }
.ledger span { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }
.ledger strong { font-weight: 600; overflow-wrap: break-word; }
.ledger a strong { color: var(--terra-deep); }

.layout { display: grid; gap: 16px; min-width: 0; }
.toc { background: var(--sheet); border: 1px solid var(--line); padding: 4px 12px; border-radius: 14px; }
.toc summary { font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.toc nav { display: grid; gap: 0; margin-top: 4px; }
.toc a { display: flex; align-items: center; min-height: 42px; font-size: 0.92rem; }
.prose-section { padding-top: 8px; margin-bottom: 22px; min-width: 0; }
.prose-section h2 { padding-top: 8px; border-top: 1px solid var(--line); }

.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1em; border: 1px solid var(--ink); background: var(--sheet); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); overflow-wrap: break-word; word-break: normal; }
th { font-weight: 600; }
thead th { background: #f3e9ff; }

.table-wrap.stacked thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.table-wrap.stacked table, .table-wrap.stacked tbody, .table-wrap.stacked tr, .table-wrap.stacked td { display: block; width: 100%; }
.table-wrap.stacked tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table-wrap.stacked tbody tr:last-child { border-bottom: 0; }
.table-wrap.stacked td { padding: 6px 0; border: 0; }
.table-wrap.stacked td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.callout { margin: 0 0 1em; padding: 12px 14px; border-left: 4px solid var(--terra); background: #fff4ea; border-radius: 12px; overflow-wrap: break-word; }
.callout strong { display: block; margin-bottom: 4px; }
.callout.quiet { border-left-color: var(--stamp); }

.split { display: grid; gap: 12px; }
.plus, .minus { background: var(--sheet); border: 1px solid var(--line); padding: 14px; border-radius: 14px; }
.plus h3 { color: var(--stamp); }
.minus h3 { color: var(--terra-deep); }

.chapter-index { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.chapter-index a { display: grid; grid-template-columns: 2.2rem 1fr; gap: 10px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; min-width: 0; }
.chapter-index a:hover { color: var(--terra-deep); }
.chapter-index .num { color: var(--terra); }
.chapter-index .go { display: none; }

.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { font-weight: 600; min-height: 44px; display: flex; align-items: center; }

.related { margin-top: 10px; }
.related ol { list-style: none; padding: 0; }
.related a { font-weight: 600; display: inline-flex; min-height: 40px; align-items: center; }

form.sheet-form { display: grid; gap: 12px; max-width: 38rem; }
form.sheet-form label { display: grid; gap: 4px; font-weight: 600; font-size: 0.92rem; }
form.sheet-form input, form.sheet-form textarea, form.sheet-form select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); background: #fff; border-radius: 12px; }
form.sheet-form textarea { min-height: 140px; }
form.sheet-form .button { width: 100%; min-height: 48px; }
.honeypot { position: absolute; left: -9999px; }
.form-note { font-size: 0.82rem; color: var(--muted); }
.calc-out { display: grid; gap: 6px; margin-top: 8px; }
.calc-out div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 8px 0; }

.site-foot { background: var(--nav); color: #f6f0e6; padding: 24px max(16px, env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.site-foot a { color: #ffc7a3; }
.foot-inner { max-width: 1080px; margin: 0 auto; }
.foot-lead { max-width: 46rem; margin-bottom: 18px; overflow-wrap: break-word; }
.foot-cols { display: grid; gap: 8px; }
.foot-cols h2 { font-family: "Source Sans 3", sans-serif; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: #cbbba8; margin: 12px 0 4px; }
.foot-cols a, .foot-cols span { display: flex; align-items: center; min-height: 40px; margin: 0; font-size: 0.92rem; }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #3a4150; font-size: 0.82rem; color: #cbbba8; }
.age { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid currentColor; border-radius: 50%; font-weight: 700; }

dialog#kapitel {
  width: min(100vw, 420px);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: var(--sheet);
  color: var(--ink);
}
dialog#kapitel::backdrop { background: rgba(26, 31, 43, 0.45); }
dialog#kapitel[open] { display: flex; flex-direction: column; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: max(12px, env(safe-area-inset-top)) 14px 12px; border-bottom: 1px solid var(--line); }
.drawer-head button { width: 44px; height: 44px; border: 1px solid var(--ink); background: transparent; border-radius: 12px; }
.drawer-body { overflow: auto; flex: 1; padding: 8px 0 calc(24px + env(safe-area-inset-bottom)); }
.drawer-body a, .drawer-body span { display: flex; align-items: center; min-height: 48px; padding: 10px 16px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); }
.drawer-body .kicker { min-height: 0; padding: 16px 16px 4px; border: 0; }

.dusk {
  position: relative;
  margin: 0;
  display: grid;
  gap: 24px;
  color: #fff;
  overflow: hidden;
  padding: 32px max(16px, env(safe-area-inset-right)) 38px max(16px, env(safe-area-inset-left));
  background:
    radial-gradient(circle at 18% 92%, rgba(244,119,33,.16) 0 24%, transparent 24.2%),
    radial-gradient(circle at 100% 0, rgba(118,54,161,.24) 0 25%, transparent 25.2%),
    linear-gradient(135deg, #1b0a2c, #2c1045 56%, #11081d);
}
.dusk-copy { position: relative; z-index: 1; min-width: 0; }
.hero-status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .7rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.hero-status span { width: 9px; height: 9px; border-radius: 50%; background: #62dda0; box-shadow: 0 0 0 4px rgba(98,221,160,.1); }
.dusk h1 { max-width: 12ch; margin: 0; font-size: clamp(2.5rem, 12vw, 4.15rem); line-height: .96; letter-spacing: -.055em; overflow-wrap: normal; }
.dusk h1 span { display: block; }
.dusk-sub { max-width: 34rem; margin: 22px 0 20px; color: rgba(255,255,255,.78); font-size: clamp(1rem, 4.7vw, 1.22rem); line-height: 1.45; font-weight: 600; }
.dusk .fine { margin: 20px 0 0; color: rgba(255,255,255,.62); font-size: 0.72rem; }
.dusk .fine a { color: #fff; }
.dusk .hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 22rem;
  min-height: 52px;
  padding: 12px 20px;
  border-color: #ffb36f;
  background: linear-gradient(135deg, #ff8a2d, #f06710);
  color: #fff;
  font-size: .94rem;
  box-shadow: 0 10px 24px rgba(20, 8, 40, .28);
  white-space: normal;
}
.dusk .hero-cta:hover { background: linear-gradient(135deg, #ff9d4f, #e26508); color: #fff; }
.hero-facts-label { margin: 26px 0 10px; color: rgba(255,255,255,.6); font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.hero-facts div { min-width: 0; padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.09); }
.hero-facts div:first-child { grid-column: 1 / -1; }
.hero-facts dt { color: rgba(255,255,255,.62); font-size: .72rem; }
.hero-facts dd { margin: 7px 0 0; font-size: 1.15rem; font-weight: 850; line-height: 1.1; }
.hero-visual { position: relative; min-width: 0; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; overflow: hidden; background: #180a25; box-shadow: 0 24px 54px rgba(0,0,0,.32); }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 56%, rgba(15,6,26,.56) 100%); pointer-events: none; }
.hero-insight { position: absolute; z-index: 1; left: 14px; bottom: 14px; display: grid; max-width: calc(100% - 28px); gap: 2px; min-width: 0; padding: 12px 15px 13px; border: 1px solid rgba(255,255,255,.2); border-left: 3px solid #ff7a1a; border-radius: 12px; background: rgba(27,16,48,.84); color: #fff; text-decoration: none; box-shadow: 0 12px 28px rgba(0,0,0,.3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hero-insight:hover { border-color: rgba(255,255,255,.38); border-left-color: #ff9d4f; color: #fff; background: rgba(36,18,58,.92); }
.hero-insight small { color: rgba(255,255,255,.62); font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hero-insight strong { font-size: .82rem; line-height: 1.25; }

.jumper { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -28px 0 18px; padding: 12px; background: #fff; border-radius: 16px; box-shadow: 0 12px 30px rgba(36, 20, 51, .12); position: relative; z-index: 2; }
.jumper span { font-weight: 700; width: 100%; margin: 0 0 2px; font-size: 0.88rem; }
.chip { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 4px 12px; border-radius: 999px; background: #f3eef8; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.88rem; }
.chip:hover { background: #ffe4d0; color: var(--terra-deep); }

.swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 24px; }
.swatches a { position: relative; display: grid; align-content: end; min-height: 148px; min-width: 0; padding: 0; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; font-weight: 700; }
.swatches a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.swatches a span { position: relative; z-index: 1; padding: 24px 12px 12px; background: linear-gradient(transparent, rgba(16,8,28,.82)); font-size: 0.95rem; }
.swatches a:last-child { grid-column: 1 / -1; min-height: 120px; }

.page-art { display: block; width: 100%; height: 168px; object-fit: cover; object-position: center 38%; border-radius: 14px; margin: 0 0 16px; }
body.home main { padding-top: 0; padding-left: 0; padding-right: 0; }
body.home .sheet { padding: 22px max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left)); }
body.home .lede { display: block; border-bottom: 0; margin-bottom: 8px; padding-bottom: 0; }

@media (max-width: 359px) {
  .brand img { width: 102px; }
  .mast-cta { gap: 4px; }
  .button { padding: 6px 9px; font-size: 0.76rem; }
  .mast-cta .button.ghost[data-intent="login"] { display: none; }
}

@media (min-width: 640px) {
  .jumper span { width: auto; margin-right: 6px; }
  .table-wrap table { table-layout: fixed; }
  .table-wrap.stacked thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .table-wrap.stacked table { display: table; }
  .table-wrap.stacked tbody { display: table-row-group; }
  .table-wrap.stacked tr { display: table-row; padding: 0; }
  .table-wrap.stacked td, .table-wrap.stacked th { display: table-cell; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .table-wrap.stacked td[data-label]::before { content: none; }
  .table-wrap th:first-child, .table-wrap td:first-child { width: 28%; }
  .ledger div, .ledger a { grid-template-columns: 7.5rem 1fr; gap: 10px; }
  .chapter-index a { grid-template-columns: 3rem 1fr auto; }
  .chapter-index .go { display: inline; color: var(--muted); }
  form.sheet-form .button { width: auto; }
}

@media (min-width: 640px) and (max-width: 879px) {
  .hero-visual { width: min(100%, 580px); justify-self: center; }
}

@media (min-width: 880px) {
  :root { font-size: 18px; }
  h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
  h2 { font-size: 1.65rem; }
  h3 { font-size: 1.15rem; }
  .mast { gap: 14px; min-height: 72px; padding: 12px 24px; }
  .brand img { width: 148px; }
  .chapters { display: flex; order: 2; flex: 1 1 auto; min-width: 0; justify-content: center; gap: 2px; overflow: visible; border: 0; }
  .mast-top { order: 3; flex: 0 0 auto; }
  .mast-cta { gap: 8px; }
  .mast-cta .menu-toggle { display: none; }
  .button { min-height: 42px; min-width: 6.4rem; padding: 8px 18px; font-size: 0.95rem; }
  main { padding: 22px 16px 48px; }
  body.home main { padding-left: 0; padding-right: 0; }
  .lede p.deck { font-size: 1.12rem; }
  .layout { grid-template-columns: 240px 1fr; align-items: start; }
  .toc { position: sticky; top: 84px; padding: 12px 14px; }
  .split { grid-template-columns: 1fr 1fr; }
  .foot-cols { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .foot-cols a, .foot-cols span { display: block; min-height: 0; margin: 0 0 6px; }
  .dusk {
    grid-template-columns: minmax(0, .98fr) minmax(420px, 1.02fr);
    align-items: center;
    gap: clamp(30px, 5vw, 76px);
    min-height: 690px;
    padding: 42px max(42px, calc((100vw - 1320px) / 2)) 48px;
  }
  .dusk h1 { max-width: 11ch; font-size: clamp(3.2rem, 5.2vw, 5.1rem); }
  .dusk-sub { margin: 24px 0 22px; font-size: clamp(1.05rem, 1.55vw, 1.3rem); }
  .dusk .fine { font-size: 0.78rem; }
  .dusk .hero-cta { width: auto; min-width: 300px; }
  .hero-facts { grid-template-columns: 1.25fr .9fr .9fr; max-width: 610px; }
  .hero-facts div:first-child { grid-column: auto; }
  .hero-visual { min-height: 0; border-radius: 32px; }
  .hero-insight { left: 24px; bottom: 24px; max-width: min(420px, calc(100% - 48px)); padding: 15px 18px 16px; border-radius: 14px; }
  .hero-insight strong { font-size: 1rem; }
  .swatches { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .swatches a { min-height: 160px; }
  .swatches a:last-child { grid-column: auto; }
  .swatches a:hover { transform: translateY(-2px); }
  .swatches a span { padding: 28px 14px 14px; }
  .page-art { height: clamp(220px, 28vw, 340px); border-radius: 18px; margin: 0 0 20px; }
  .actions .button { flex: 0 0 auto; }
}

@media (min-width: 880px) and (max-width: 1179px) {
  .mast { gap: 8px; padding: var(--header-pad) 14px 10px; }
  .brand img { width: 118px; }
  .chapters { display: none; }
  .mast-top { order: 2; }
  .mast-cta .menu-toggle { display: inline-flex; }
}

.intent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.intent-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 72px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--sheet); color: inherit; text-decoration: none; font-weight: 700; }
.intent-card:hover { border-color: var(--terra); color: var(--terra-deep); }
.intent-card .go { color: var(--muted); font-weight: 600; font-size: 0.82rem; }
span.intent-card { cursor: default; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; margin-bottom: 12px; padding: 14px 14px 14px 52px; border: 1px solid var(--line); border-radius: 14px; background: var(--sheet); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #f3e9ff; color: var(--stamp); font-weight: 700; font-size: 0.85rem; }

.catalogue { margin: 0 0 22px; }
.catalogue-tools { display: grid; gap: 10px; margin: 0 0 12px; }
.catalogue-tools input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.filter-row { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-row button { min-height: 40px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; }
.filter-row button[aria-pressed="true"] { background: var(--nav); color: #fff; border-color: var(--nav); }

.catalogue .lobby { margin: 0; }
.lobby {
  margin: 0 0 22px;
  padding: 14px 12px 16px;
  border-radius: 18px;
  background: #020025;
  color: #fff;
}
.lobby-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0 4px;
}
.lobby-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}
.lobby-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 0 5px rgba(192, 132, 252, .16);
}
.lobby-count { margin: 0; color: rgba(255,255,255,.55); font-size: 0.8rem; }
.lobby-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.lobby .game-card { display: flex; flex-direction: column; min-width: 0; background: transparent; border: 0; overflow: visible; color: inherit; text-decoration: none; }
.lobby a.game-card:hover { color: inherit; }
.lobby a.game-card:hover .cover { transform: translateY(-2px); }
.lobby .game-card[hidden] { display: none; }
.lobby .cover { background: transparent; line-height: 0; border-radius: 16px; overflow: hidden; transition: transform .15s ease; }
.lobby .cover img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.lobby .game-card h3 {
  margin: 8px 2px 0;
  color: #f4f0fa;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lobby-note { margin: 14px 4px 0; color: rgba(255,255,255,.45); font-size: 0.74rem; }
@media (min-width: 640px) {
  .lobby-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 880px) {
  .lobby { padding: 16px 18px 18px; }
  .lobby .game-card h3 { font-size: 0.82rem; }
}

.mobile-sticky { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 8px; max-width: 520px; margin-inline: auto; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: var(--nav); color: #fff; box-shadow: 0 14px 38px rgba(27,16,48,.38); }
.mobile-sticky[hidden] { display: none; }
.mobile-sticky .bonus-offer { flex: 1 1 auto; min-width: 0; min-height: 48px; margin: 0; padding: 8px 10px; font-size: 0.76rem; }
.mobile-sticky button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; background: transparent; color: #fff; }
body.has-mobile-sticky { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

@media (min-width: 880px) {
  .intent-grid { grid-template-columns: repeat(3, 1fr); }
  .intent-grid.four { grid-template-columns: repeat(4, 1fr); }
  .catalogue-tools { grid-template-columns: 1fr auto; align-items: center; }
  .mobile-sticky { display: none; }
  body.has-mobile-sticky { padding-bottom: 0; }
}
