:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --white: #f0f0ed;
  --muted: #9b9b98;
  --dim: #565654;
  --red: #8b1717;
  --red-soft: rgba(139, 23, 23, .28);
  --line: rgba(255, 255, 255, 0.18);
  --line-strong: rgba(255, 255, 255, 0.48);
  --shadow: rgba(0, 0, 0, 0.7);
  --max: 1080px;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }
html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.025), transparent 36%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .01em;
}

.boot { z-index: 2000; background: #000; }

button, a { font: inherit; }
button { color: inherit; }

a { color: var(--white); }

.grain,
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

.grain {
  opacity: .11;
  background-image:
    repeating-radial-gradient(circle at 0 0, rgba(255,255,255,.055) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.01) 0 1px, transparent 1px 4px);
  background-size: 8px 8px, 100% 5px;
  mix-blend-mode: soft-light;
  animation: grainShift .23s steps(2) infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: 999;
  pointer-events: none;
  opacity: .025;
  background: linear-gradient(transparent 49.7%, rgba(255,255,255,.55) 50%, transparent 50.3%);
  background-size: 100% 9px;
  animation: signalDrift 8s linear infinite;
}

@keyframes signalDrift {
  to { transform: translateY(36px); }
}

.vignette {
  background: radial-gradient(circle at center, transparent 48%, rgba(0,0,0,.34) 72%, rgba(0,0,0,.82) 100%);
}

@keyframes grainShift {
  0% { transform: translate(0,0); }
  25% { transform: translate(-1px,1px); }
  50% { transform: translate(1px,-1px); }
  75% { transform: translate(1px,1px); }
  100% { transform: translate(0,0); }
}

#app { min-height: 100svh; }

.screen {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.screen--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.access-gate {
  display: grid;
  place-items: center;
  padding: 28px;
  background: #030303;
}

.access-button {
  position: relative;
  min-width: min(330px, 88vw);
  min-height: 58px;
  border: 1px solid rgba(240,240,237,.42);
  background: rgba(255,255,255,.012);
  color: rgba(245,242,235,.94);
  padding: 16px 28px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(7px);
  animation: firstReveal 1.35s cubic-bezier(.22,.72,.18,1) forwards .25s;
  transition: color 240ms ease, border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.access-button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 34px;
  height: 1px;
  background: var(--red);
  box-shadow: 0 0 12px var(--red-soft);
  transform: translateX(-50%);
  transition: width 320ms ease;
}

.access-button:hover,
.access-button:focus-visible {
  outline: none;
  color: #fff;
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.035);
  box-shadow: 0 0 34px rgba(255,255,255,.035);
}

.access-button:hover::after,
.access-button:focus-visible::after { width: 72%; }
.access-button:disabled { cursor: default; }

.eyebrow {
  margin: 0 0 18px;
  font-size: .69rem;
  line-height: 1.4;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  margin: 0 10px 3px 0;
  background: var(--red);
  box-shadow: 0 0 12px var(--red-soft);
}

.button {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--white);
  padding: 14px 22px;
  min-width: 210px;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: .78rem;
  cursor: pointer;
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.button:hover,
.button:focus-visible {
  outline: none;
  background: var(--white);
  color: #0a0a0a;
  border-color: var(--white);
  transform: translateY(-1px);
}

.gate {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
}

.gate__inner {
  max-width: 640px;
  opacity: 0;
  transform: translateY(8px);
  animation: firstReveal 1.8s ease forwards .35s;
}

@keyframes firstReveal {
  to { opacity: 1; transform: translateY(0); }
}

.gate h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 4.5rem);
  letter-spacing: -.03em;
}

.gate__copy {
  margin: 20px auto 30px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
}

.tiny-note {
  margin: 14px 0 0;
  color: var(--dim);
  font-size: .68rem;
  letter-spacing: .08em;
}

.cinematic {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
}

.awaiting-audio .cinematic { cursor: pointer; }

.cinematic::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.006), transparent 25%, transparent 75%, rgba(255,255,255,.006));
  pointer-events: none;
}

.cinematic__center { width: min(900px, 90vw); }

.cinematic__text {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 4.2vw, 3.35rem);
  line-height: 1.35;
  font-weight: 400;
  color: rgba(245,245,242,.95);
  text-wrap: balance;
  opacity: 0;
  filter: blur(5px);
  transform: translateY(7px);
  transition:
    opacity 1350ms cubic-bezier(.22,.72,.18,1),
    filter 1350ms cubic-bezier(.22,.72,.18,1),
    transform 1350ms cubic-bezier(.22,.72,.18,1);
  text-shadow: 0 4px 28px rgba(255,255,255,.035);
  will-change: opacity, filter, transform;
}

.cinematic__text.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition-duration: 1150ms;
}

.cinematic__text--small {
  font-size: clamp(1.4rem, 4vw, 2.8rem);
}

.skip {
  position: fixed;
  left: 26px;
  bottom: 24px;
  z-index: 1100;
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: rgba(255,255,255,.34);
  cursor: pointer;
  font-size: .72rem;
  letter-spacing: .09em;
  transition: color 200ms ease;
}

.skip:hover,
.skip:focus-visible { color: rgba(255,255,255,.8); outline: none; }

.sound-toggle {
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 1100;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(5,5,5,.52);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), inset 0 0 14px rgba(255,255,255,.025);
  backdrop-filter: blur(10px);
  color: rgba(245,242,235,.82);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 400ms ease, visibility 400ms ease, border-color 240ms ease, color 240ms ease, background 240ms ease, transform 240ms ease;
}

.sound-toggle.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.sound-toggle.is-suppressed { opacity: 0; visibility: hidden; pointer-events: none; }
.sound-toggle:hover { border-color: rgba(255,255,255,.58); background: rgba(16,16,16,.8); color: #fff; transform: scale(1.06); }
.sound-toggle:focus-visible { outline: 1px solid rgba(255,255,255,.82); outline-offset: 3px; }

.sound-icon { position: relative; display: block; width: 21px; height: 21px; }
.sound-icon__speaker {
  position: absolute;
  top: 5px;
  left: 1px;
  width: 13px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(0 29%, 31% 29%, 77% 0, 77% 100%, 31% 71%, 0 71%);
}
.sound-icon__wave {
  position: absolute;
  top: 50%;
  border: 1.5px solid currentColor;
  border-left: 0;
  border-radius: 0 16px 16px 0;
  transform: translateY(-50%);
  transition: opacity 180ms ease, transform 180ms ease;
}
.sound-icon__wave--one { left: 12px; width: 5px; height: 11px; }
.sound-icon__wave--two { left: 14px; width: 7px; height: 17px; }
.sound-toggle.is-muted { color: rgba(245,242,235,.45); }
.sound-toggle.is-muted .sound-icon__wave { opacity: 0; transform: translateY(-50%) scale(.75); }
.sound-toggle.is-muted .sound-icon::after {
  content: "";
  position: absolute;
  left: 10px;
  top: -2px;
  width: 1px;
  height: 25px;
  background: #a92222;
  box-shadow: 0 0 7px rgba(169,34,34,.46);
  transform: rotate(45deg);
}

.ready {
  display: grid;
  place-items: center;
  padding: 24px;
}

.confirm-box {
  position: relative;
  width: min(760px, 94vw);
  min-height: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: scale(.985);
  transition: transform 800ms ease;
}

.confirm-box::before {
  content: none;
}

.ready.screen--active .confirm-box { transform: scale(1); }

.confirm-box h2 {
  margin: 0;
  font-size: clamp(1.75rem, 6vw, 3rem);
  letter-spacing: .03em;
  text-align: center;
}

.confirm-actions {
  display: flex;
  gap: 46px;
  margin-top: 28px;
  align-items: center;
}

.choice {
  position: relative;
  border: 0;
  background: transparent;
  padding: 10px 24px;
  min-width: 94px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: .06em;
  font-size: 1rem;
}

.choice::before {
  content: "";
  position: absolute;
  inset: 4px 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  filter: blur(7px);
  transition: opacity 220ms ease;
}

.choice:hover::before,
.choice:focus-visible::before,
.choice--yes::before { opacity: .72; }
.choice:focus-visible { outline: 1px solid rgba(255,255,255,.45); outline-offset: 4px; }
.choice--no { color: rgba(255,255,255,.7); }
.choice--yes { color: #f3eeea; text-shadow: 0 0 18px var(--red-soft); }

.not-ready {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px;
}

.not-ready__inner { max-width: 720px; }
.not-ready.screen--active .cinematic__text { opacity: 1; filter: blur(0); transform: none; }

.text-link {
  margin-top: 36px;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
  letter-spacing: .04em;
}

.text-link:hover { color: var(--white); }

.hub {
  overflow-y: auto;
  padding: 64px 24px 40px;
  background:
    radial-gradient(circle at 50% -20%, rgba(255,255,255,.035), transparent 38%),
    #060606;
}

.hub__wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-bottom: 42px;
}

.hub__header {
  padding: 36px 0 34px;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(9px);
}

.hub.screen--active .hub__header {
  animation: hubReveal 1.2s ease forwards .15s;
}

@keyframes hubReveal { to { opacity: 1; transform: translateY(0); } }

.hub__header h2 {
  width: min(820px, 100%);
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 5.2vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.hub__header > p:last-child {
  color: var(--muted);
  margin: 20px 0 0;
  font-size: .95rem;
}

.cards {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.card {
  position: relative;
  width: 100%;
  min-height: 150px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.012);
  display: grid;
  grid-template-columns: 72px 1fr 46px;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: border-color 280ms ease, background 280ms ease, transform 280ms ease;
}

.card:hover::before,
.card:focus-visible::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 18%;
  bottom: 18%;
  width: 2px;
  background: var(--red);
  box-shadow: 0 0 16px var(--red-soft);
}

.hub.screen--active .card:nth-child(1) { animation: hubReveal 1s ease forwards .38s; }
.hub.screen--active .card:nth-child(2) { animation: hubReveal 1s ease forwards .52s; }
.hub.screen--active .card:nth-child(3) { animation: hubReveal 1s ease forwards .66s; }

.card:hover,
.card:focus-visible {
  outline: none;
  border-color: rgba(255,255,255,.52);
  background: rgba(255,255,255,.032);
  transform: translateY(-2px);
}

.card__index {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  color: rgba(255,255,255,.33);
}

.card__body {
  display: grid;
  gap: 5px;
}

.card__kicker {
  color: rgba(255,255,255,.42);
  font-size: .62rem;
  letter-spacing: .24em;
  font-weight: 700;
}

.card__body strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 400;
}

.card__body > span:last-child {
  color: var(--muted);
  font-size: .86rem;
}

.card__arrow {
  justify-self: end;
  font-size: 1.45rem;
  color: rgba(255,255,255,.5);
  transition: transform 280ms ease, color 280ms ease;
}
.card:hover .card__arrow { transform: translateX(4px); color: #fff; }

.hub__footer {
  margin-top: 34px;
  color: rgba(255,255,255,.25);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: .85rem;
  text-align: center;
}

/* Menu final: estrutura editorial inspirada em interfaces de arquivo privado. */
.hub {
  padding: 0 24px 42px;
  background:
    radial-gradient(circle at 50% -35%, rgba(255,255,255,.04), transparent 42%),
    #090909;
}

.hub__wrap {
  width: min(760px, 100%);
  padding-bottom: 20px;
}

.hub__topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.13);
  opacity: 0;
}

.hub.screen--active .hub__topbar {
  animation: hubReveal .9s ease forwards .05s;
}

.hub__exit {
  width: 44px;
  height: 44px;
  margin-left: -10px;
  border: 0;
  background: transparent;
  color: rgba(240,240,237,.74);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  transition: color 220ms ease, transform 220ms ease;
}

.hub__exit:hover,
.hub__exit:focus-visible {
  color: var(--white);
  outline: none;
  transform: rotate(4deg);
}

.hub__brand {
  margin-right: 52px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: .1em;
  color: rgba(240,240,237,.8);
}

.hub__header {
  padding: 44px 0 56px;
  text-align: center;
  border-bottom: 0;
}

.hub__header > p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.34);
  font-size: .63rem;
  letter-spacing: .25em;
}

.hub__header h2 {
  width: auto;
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  line-height: 1;
  letter-spacing: .04em;
}

.cards {
  margin-top: 0;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.card {
  min-height: 112px;
  grid-template-columns: 54px 1fr 54px;
  gap: 0;
  padding: 18px 8px;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.14);
  background: transparent;
  text-align: center;
}

.card:hover::before,
.card:focus-visible::before { content: none; }

.card:hover,
.card:focus-visible {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.025);
  transform: none;
}

.card__index {
  justify-self: start;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .63rem;
  letter-spacing: .12em;
  color: rgba(255,255,255,.28);
}

.card > strong {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(.98rem, 2.2vw, 1.12rem);
  font-weight: 400;
  letter-spacing: .025em;
}

.card__arrow {
  opacity: 0;
  font-size: .9rem;
  transform: translate(-5px, 5px);
}

.card:hover .card__arrow,
.card:focus-visible .card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.hub__footer {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-style: normal;
  font-size: .58rem;
  letter-spacing: .18em;
}

.panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(9px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 420ms ease, visibility 420ms ease;
  display: grid;
  place-items: center;
  padding: 20px;
}

.panel-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100svh - 40px));
  overflow-y: auto;
  border: 0;
  background: transparent;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: none;
  transform: translateY(14px) scale(.99);
  transition: transform 420ms ease;
}

.panel-overlay.is-open .panel { transform: translateY(0) scale(1); }

.panel__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}
.panel__close:hover { color: #fff; }

.panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  letter-spacing: -.025em;
}

.panel__content {
  margin-top: 26px;
  color: #c6c6c1;
  font-size: .96rem;
  line-height: 1.7;
}

.panel__content p { margin: 0 0 16px; }
.panel__content ol { margin: 14px 0 26px 20px; padding: 0; }
.panel__content li { margin: 9px 0; padding-left: 5px; }

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.42);
  text-decoration: none;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.action-link:hover,
.action-link:focus-visible {
  outline: none;
  background: var(--white);
  color: #060606;
  border-color: var(--white);
}

.action-link--quiet {
  color: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.18);
}

.action-link--support { border-color: rgba(139,23,23,.78); }

.file-stamp {
  border-left: 2px solid rgba(255,255,255,.36);
  padding: 2px 0 2px 16px;
  margin: 20px 0 24px;
  color: rgba(255,255,255,.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .78rem;
  line-height: 1.65;
  text-transform: uppercase;
}

.content-warning {
  margin-top: 18px !important;
  color: rgba(255,255,255,.42);
  font-size: .74rem;
  line-height: 1.55;
}

.noscript {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #050505;
  color: #fff;
  padding: 30px;
  text-align: center;
}

@media (max-width: 640px) {
  .access-gate { padding: 24px 20px; }
  .access-button {
    width: min(100%, 320px);
    min-width: 0;
    min-height: 60px;
    padding: 16px 18px;
    font-size: .78rem;
    line-height: 1.35;
  }

  .sound-toggle {
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    width: 42px;
    height: 42px;
  }

  .skip {
    left: max(18px, env(safe-area-inset-left));
    bottom: max(18px, env(safe-area-inset-bottom));
    min-height: 44px;
    padding: 10px 2px;
  }

  .cinematic { padding: 24px 22px; }
  .cinematic__center { width: 100%; }
  .cinematic__text {
    font-size: clamp(1.38rem, 6.4vw, 2rem);
    line-height: 1.42;
  }
  .cinematic__text--small {
    font-size: clamp(1.45rem, 7vw, 2.05rem);
    line-height: 1.38;
  }

  .ready { padding: 24px 20px; }
  .confirm-box { width: 100%; }
  .confirm-box h2 {
    font-size: clamp(1.75rem, 8.4vw, 2.35rem);
    line-height: 1.12;
  }
  .confirm-actions {
    width: min(290px, 100%);
    justify-content: space-between;
    gap: 12px;
    margin-top: 32px;
  }
  .choice {
    min-width: 112px;
    min-height: 48px;
    padding-inline: 14px;
  }

  .not-ready { padding: 28px 22px; }
  .not-ready__inner { width: 100%; }
  .text-link { min-height: 44px; padding: 10px 4px; }

  .hub {
    padding: 0 max(18px, env(safe-area-inset-right)) calc(30px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  }
  .hub__wrap { width: 100%; }
  .hub__topbar { min-height: 64px; }
  .hub__exit {
    width: 48px;
    height: 48px;
    margin-left: -12px;
  }
  .hub__header { padding: 36px 8px 42px; }
  .hub__header h2 {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
    line-height: 1.15;
  }
  .card {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    min-height: 96px;
    padding: 16px 2px;
  }
  .card__index { font-size: .58rem; }
  .card > strong {
    font-size: clamp(.94rem, 4.5vw, 1.05rem);
    line-height: 1.35;
    padding-inline: 6px;
    overflow-wrap: anywhere;
  }
  .card__arrow { justify-self: center; }
  .hub__footer {
    padding-inline: 0;
    gap: 8px 16px;
    flex-wrap: wrap;
    line-height: 1.6;
  }

  .panel-overlay {
    padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
    align-items: center;
  }
  .panel {
    width: 100%;
    max-height: calc(100svh - 36px);
    padding: 44px 4px 30px;
  }
  .panel__close {
    top: 4px;
    right: 0;
    width: 44px;
    height: 44px;
  }
  .panel h2 {
    max-width: calc(100% - 38px);
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.08;
  }
  .panel__content {
    margin-top: 24px;
    font-size: 1rem;
    line-height: 1.65;
  }
  .panel__content ol {
    margin-left: 22px;
    padding-right: 2px;
  }
  .panel-actions { width: 100%; }
  .action-link {
    width: 100%;
    min-height: 50px;
    padding-inline: 14px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .grain { animation: none; }
  body::after { animation: none; }

}
