@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter-Bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700 900;
}

@font-face {
  font-family: "Silkscreen";
  src: url("./assets/fonts/Silkscreen-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Silkscreen";
  src: url("./assets/fonts/Silkscreen-Bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Press Start 2P";
  src: url("./assets/fonts/PressStart2P-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Space Mono";
  src: url("./assets/fonts/SpaceMono-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #151721;
  color: rgba(255, 255, 255, .95);
  --paper: #1a1a28;
  --paper-deep: #151721;
  --card: rgba(42, 47, 66, .72);
  --card-solid: #25253a;
  --ink: rgba(255, 255, 255, .95);
  --ink-dark: #0a0a0f;
  --muted: #b0b8d8;
  --line: #3a4158;
  --line-soft: #2f2f45;
  --gold: #ffa05c;
  --ember: #ffcb80;
  --yes: #4ade80;
  --no: #f87171;
  --shell-max: 430px;
  --touch: 44px;
  --gutter: clamp(16px, 4.8vw, 22px);
  --title: clamp(1.35rem, 6.4vw, 1.75rem);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  height: 100%;
  height: -webkit-fill-available;
  height: 100svh;
  height: 100dvh;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: -webkit-fill-available;
  min-height: 100svh;
  min-height: 100dvh;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 160, 92, .12), transparent 38%),
    linear-gradient(180deg, #211a2a 0%, var(--paper) 50%, var(--paper-deep) 100%);
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}

.shell {
  position: relative;
  width: min(100%, var(--shell-max));
  min-height: 100%;
  min-height: -webkit-fill-available;
  min-height: 100svh;
  min-height: 100dvh;
  margin: auto;
  padding:
    max(12px, var(--safe-top))
    max(var(--gutter), var(--safe-right))
    max(20px, var(--safe-bottom))
    max(var(--gutter), var(--safe-left));
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  isolation: isolate;
}

.shell::-webkit-scrollbar { display: none; }

.shell::before {
  content: "";
  position: fixed;
  z-index: -1;
  top: -110px;
  left: 50%;
  width: min(380px, 100vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 160, 92, .07);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(255, 160, 92, .025),
    0 0 0 88px rgba(255, 160, 92, .015);
  pointer-events: none;
  transform: translateX(-50%);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--touch);
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.brand {
  position: absolute;
  left: 50%;
  color: var(--ember);
  font: 400 12px/1 "Press Start 2P", monospace;
  letter-spacing: .08em;
  pointer-events: none;
  transform: translateX(-50%);
}

.back,
.dev-replay {
  position: relative;
  z-index: 1;
  width: var(--touch);
  min-height: var(--touch);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  touch-action: manipulation;
}

.back::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 16px auto;
  border-left: 1.6px solid var(--ink);
  border-bottom: 1.6px solid var(--ink);
  transform: rotate(45deg);
}

.dev-replay {
  width: var(--touch);
  margin-left: auto;
  padding: 0;
  color: var(--muted);
  opacity: .52;
  transition: color 150ms ease, opacity 150ms ease;
}

.dev-replay svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.dev-replay:focus-visible {
  color: var(--ember);
  opacity: 1;
}

@media (hover: hover) {
  .dev-replay:hover {
    color: var(--ink);
    opacity: .82;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dev-replay { transition: none; }
}

.progress-wrap {
  margin: 12px 0 0;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--muted);
  font: 700 9px/1.2 Silkscreen, monospace;
  letter-spacing: .04em;
}

.progress-meta span:last-child {
  color: var(--ember);
}

.progress {
  position: relative;
  height: 4px;
  overflow: hidden;
  background: var(--line-soft);
  border-radius: 99px;
}

.progress::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--gold), var(--ember));
  box-shadow: 0 0 12px rgba(255, 160, 92, .55);
  border-radius: inherit;
  transition: width .25s ease;
}

.progress progress {
  position: absolute;
  inset: 0;
  appearance: none;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  accent-color: var(--gold);
}

#screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: clamp(16px, 4vh, 28px);
}

#screen.is-entering > * {
  animation: enter 280ms ease both;
}

@media (prefers-reduced-motion: reduce) {
  #screen.is-entering > * { animation: none; }
  .progress::after { transition: none; }
}

@keyframes enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

h1 {
  margin: 0 0 16px;
  font: 700 var(--title)/1.25 Inter, sans-serif;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
}

.screen-kicker,
.social-note {
  color: var(--ember);
  font: 700 10px/1.4 Silkscreen, monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.screen-kicker {
  margin-bottom: 12px;
}

h1:focus { outline: none; }

.quiz-question,
.binary-stage h1 {
  font-size: clamp(1.2rem, 5.6vw, 1.5rem);
  line-height: 1.28;
}

h2 {
  margin: 0 0 10px;
  font: 700 16px/1.3 Inter, sans-serif;
}

p,
.quiet,
.legal-copy,
.disclaimer,
.social-note {
  margin: 0 0 18px;
  color: var(--muted);
  font: 400 15px/1.5 Inter, sans-serif;
}

.quiet { font-size: 14px; }

a { color: inherit; }

button,
.store-link {
  color: inherit;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
}

button:focus-visible,
.store-link:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

.primary,
.store-link.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: max(var(--touch), 52px);
  margin-top: 8px;
  padding: 12px 16px;
  border: 0;
  border: 1px solid rgba(255, 203, 128, .7);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--ember), var(--gold));
  box-shadow: 0 10px 28px rgba(255, 160, 92, .18);
  color: var(--ink-dark);
  font: 700 13px/1.25 Silkscreen, monospace;
  letter-spacing: .025em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}

.primary:disabled {
  opacity: .35;
  box-shadow: none;
  cursor: not-allowed;
}

.primary:not(:disabled):active {
  transform: scale(.985);
}

@media (prefers-reduced-motion: reduce) {
  .primary:not(:disabled):active { transform: none; }
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: var(--touch);
  margin: 8px auto 0;
  padding: 8px 4px;
  border: 0;
  background: none;
  color: var(--muted);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.choice-list,
.proof-list,
.gender-grid {
  display: grid;
  gap: 10px;
}

.choice,
.proof-card,
.gender-card,
.binary-card,
.paywall-plan,
.scratch-card,
.overlay-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: max(var(--touch), 60px);
  padding: 10px 12px;
  text-align: left;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.choice:active,
.paywall-plan:active,
.gender-card:active,
.binary-card:active {
  background: rgba(255, 160, 92, .08);
}

.choice.selected,
.paywall-plan.selected {
  border-color: var(--gold);
  background: rgba(255, 160, 92, .11);
  box-shadow:
    inset 0 0 0 1px rgba(255, 160, 92, .08),
    0 8px 24px rgba(10, 10, 15, .14);
}

.choice-content {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.choice-copy {
  display: block;
  min-width: 0;
  font-weight: 600;
}

.choice-label {
  display: block;
}

.choice-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 160, 92, .24);
  border-radius: 10px;
  background: rgba(255, 160, 92, .07);
  color: var(--gold);
}

.choice-icon svg {
  width: 22px;
  height: 22px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.choice.selected .choice-icon {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink-dark);
  box-shadow: 0 0 18px rgba(255, 160, 92, .22);
}

.choice small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 400;
}

.radio,
.check {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 1.5px solid #5d6684;
  border-radius: 50%;
}

.choice.selected .radio {
  border-color: var(--ember);
  box-shadow: inset 0 0 0 5px var(--gold);
}

.paywall-plan.selected .radio {
  border-color: var(--ember);
  box-shadow: inset 0 0 0 5px var(--gold);
}

.check {
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 12px;
}

.choice.selected .check {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink-dark);
}

.gender-grid {
  grid-template-columns: 1fr 1fr;
  margin: clamp(16px, 4vh, 28px) 0 24px;
}

.landing-mode #screen {
  min-height: 0;
}

.landing-mode .gender-grid {
  align-content: start;
  margin-bottom: 16px;
}

.landing-mode .legal-copy {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 8px;
}

.gender-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(168px, 35vh, 224px);
  padding: 14px;
  overflow: hidden;
  transition: transform 160ms ease;
}

.gender-card[data-option="woman"] {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 203, 128, .14), transparent 44%),
    linear-gradient(180deg, rgba(42, 47, 66, .88), rgba(37, 37, 58, .94));
}

.gender-card[data-option="man"] {
  background:
    radial-gradient(circle at 50% 34%, rgba(81, 162, 255, .12), transparent 44%),
    linear-gradient(180deg, rgba(42, 47, 66, .88), rgba(37, 37, 58, .94));
}

.gender-card:active {
  transform: scale(.985);
}

.gender-mark {
  display: grid;
  place-items: center;
  flex: 1;
  color: var(--ember);
}

.gender-mark .choice-icon {
  width: clamp(74px, 22vw, 94px);
  height: clamp(74px, 22vw, 94px);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 160, 92, .08);
  box-shadow: 0 0 0 1px rgba(255, 160, 92, .16);
}

.gender-card[data-option="man"] .gender-mark .choice-icon {
  background: rgba(81, 162, 255, .08);
  color: #91c5ff;
  box-shadow: 0 0 0 1px rgba(81, 162, 255, .18);
}

.gender-mark .choice-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.35;
}

.gender-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--touch);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(21, 23, 33, .72);
  box-shadow: 0 8px 20px rgba(10, 10, 15, .14);
  font-weight: 600;
}

.gender-label i {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--gold);
  border-top: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  .gender-card { transition: none; }
  .gender-card:active { transform: none; }
}

.legal-copy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.binary-stage,
.info-stage,
.analyze-stage,
.paywall {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.info-stage .primary {
  margin-top: auto;
}

.binary-visual,
.info-visual {
  display: grid;
  place-items: center;
  width: min(220px, 58vw, 42vh);
  aspect-ratio: 1;
  margin: 8px auto 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 160, 92, .22);
  border-radius: 50%;
  background: var(--card-solid);
  box-shadow:
    0 18px 42px rgba(10, 10, 15, .22),
    0 0 32px rgba(255, 160, 92, .06);
}

.binary-visual img,
.info-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.binary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}

.binary-card {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: max(var(--touch), 96px);
  font-weight: 700;
}

.binary-card.no {
  border-color: rgba(248, 113, 113, .28);
}

.binary-card.yes {
  border-color: rgba(74, 222, 128, .28);
}

.binary-card b {
  font-size: 28px;
  line-height: 1;
}

.binary-card.no b { color: var(--no); }
.binary-card.yes b { color: var(--yes); }

.proof-card {
  padding: 16px;
}

.proof-card header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.proof-card strong,
.proof-card small { display: block; }

.proof-card small,
.proof-card p { margin: 0; color: var(--muted); }

.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 160, 92, .12);
  color: var(--gold);
  font-weight: 700;
}

.sticky-action {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 16px 0 max(8px, var(--safe-bottom));
  background: linear-gradient(to top, var(--paper-deep) 74%, rgba(21, 23, 33, 0));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.count { color: var(--muted); font-size: 13px; }

form { display: grid; gap: 12px; }

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

input[type="email"],
input[type="password"],
input[type="text"],
input:not([type]) {
  width: 100%;
  min-height: var(--touch);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(37, 37, 58, .92);
  color: var(--ink);
  font: 400 16px/1.3 Inter, sans-serif;
}

input:focus,
input:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 160, 92, .12);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: var(--touch);
  color: var(--ink);
  font-size: 13px;
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 20px;
}

.analyze-list {
  display: grid;
  gap: 14px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.analyze-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  color: var(--muted);
  font-size: 14px;
}

.analyze-list .bar {
  display: block;
  grid-column: 1 / -1;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line-soft);
}

.analyze-list .bar i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--ember));
}

.analyze-list li.active,
.analyze-list li.done { color: var(--ink); }

.analyze-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 24px max(var(--gutter), var(--safe-right)) max(12px, var(--safe-bottom)) max(var(--gutter), var(--safe-left));
  background: rgba(10, 10, 15, .72);
  backdrop-filter: blur(6px);
}

.analyze-overlay[hidden] {
  display: none;
}

.overlay-card {
  position: relative;
  width: min(100%, 390px);
  padding: 28px 18px 18px;
  border-radius: 24px;
  background: var(--card-solid);
  box-shadow: 0 -12px 40px rgba(10, 10, 15, .32);
}

.overlay-card::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 36px;
  height: 4px;
  border-radius: 99px;
  background: var(--line);
  transform: translateX(-50%);
}

.scratch-card {
  position: relative;
  width: min(240px, 72vw, 46vh);
  aspect-ratio: 3 / 4;
  margin: 24px auto 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border: 1px solid rgba(255, 203, 128, .4);
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, #ffcb80, #d47a3a 62%, #7a431f);
  box-shadow: 0 18px 42px rgba(10, 10, 15, .28);
}

.scratch-offer,
.scratch-foil {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.scratch-offer {
  color: var(--ink-dark);
  padding: 24px;
}

.scratch-offer strong {
  display: block;
  font-size: clamp(40px, 14vw, 56px);
  line-height: 1;
}

.scratch-foil {
  z-index: 1;
  background:
    repeating-linear-gradient(135deg, #343a50 0 8px, #25253a 8px 16px);
  color: var(--ember);
  font: 700 12px/1.4 Silkscreen, monospace;
  letter-spacing: .08em;
}

.scratch-card.revealed .scratch-foil {
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .scratch-card.revealed .scratch-foil { transition: none; }
}

.paywall-lead { margin-bottom: 18px; }
.paywall-benefits {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.paywall-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 600;
}

.paywall-benefits .choice-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}

.paywall-benefits .choice-icon svg { width: 18px; height: 18px; }

.platform-line {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.platform-line strong { color: var(--ink); }

.plan-group { display: grid; gap: 10px; }
.paywall-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: max(var(--touch), 52px);
  padding: 12px 14px;
  text-align: left;
}

.paywall-plan.selected { border-color: var(--gold); }
.plan-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.plan-left small { display: block; color: var(--muted); }
.plan-summary {
  display: grid;
  justify-items: end;
  gap: 4px;
  flex: 0 0 auto;
}
.plan-badge {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 160, 92, .16);
  color: var(--ember);
  font-size: 12px;
  font-weight: 700;
}

.plan-weekly { color: var(--muted); font-size: 13px; }
.paywall .view-all { margin-top: 2px; }
.paywall .error { margin: 0; }
.paywall-trust { margin-top: 8px; text-align: center; }
.paywall-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.paywall-links a,
.paywall-links button {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
}

.paywall-links .text-button {
  margin: 0;
  padding: 0;
}

.account-row {
  margin: 8px 0 0;
  color: var(--muted);
  text-align: center;
}

.account-row .text-button {
  min-height: var(--touch);
  margin: 0;
  padding: 0 2px;
}
.error { color: var(--no); min-height: 1.2em; }
.notice { color: var(--ink); }
.disclaimer { margin-top: 0; font-size: 12px; text-align: center; }

.spinner {
  width: 28px;
  height: 28px;
  margin: 24px auto 0;
  border: 2px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; }
}

.download { display: grid; gap: 10px; }

@media (max-width: 360px) {
  .gender-label { font-size: 14px; }
  .choice { padding: 12px; }
}

@media (max-height: 700px) {
  .gender-card { min-height: 150px; }
  .binary-card { min-height: var(--touch); }
  .binary-visual,
  .info-visual { margin-bottom: 14px; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .gender-grid { margin-top: 12px; }
  .gender-card { min-height: 120px; }
  .binary-visual,
  .info-visual { width: min(120px, 28vh); }
}

@media (min-width: 768px) and (min-height: 700px) {
  body {
    display: grid;
    place-items: center;
    padding: 24px;
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 160, 92, .14), transparent 34%),
      linear-gradient(135deg, #151721, #211a2a 54%, #151721);
  }

  .shell {
    width: min(var(--shell-max), calc(100vw - 48px));
    min-height: min(844px, calc(100dvh - 48px));
    max-height: calc(100dvh - 48px);
    overflow: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    border-radius: 28px;
    background: var(--paper);
    box-shadow:
      0 24px 80px rgba(10, 10, 15, .42),
      0 0 0 1px rgba(255, 160, 92, .1);
  }
}
