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

@font-face {
  font-family: "SBSansDisplay";
  src: url("../fonts/SBSansDisplay-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: "SBSansDisplay Wide";
  src: url("../fonts/SBSansDisplay-ExtendedSemibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-top: #2b1a63;
  --bg-mid: #141d52;
  --bg-deep: #0a1233;
  --panel: rgba(10, 17, 51, 0.82);
  --panel-solid: #0c1438;
  --line: rgba(184, 255, 45, 0.2);
  --line-soft: rgba(148, 165, 255, 0.14);
  --text: #f1f0ff;
  --muted: #a4a8ce;
  --green: #b8ff2d;
  --green-dark: #06180a;
  --cyan: #3ee6d6;
  --danger: #ff6b81;
  --font-head: "SBSansDisplay", "Segoe UI", system-ui, sans-serif;
  --font-wide: "SBSansDisplay Wide", "SBSansDisplay", "Segoe UI", system-ui, sans-serif;
  --font-body: "SBSansDisplay", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, "Courier New", monospace;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
}

body {
  background:
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 46%, var(--bg-deep) 100%);
  background-color: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

button, input { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.mono { font-family: var(--font-mono); }

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 165, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 165, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 25%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 25%, #000 0%, transparent 78%);
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  width: 560px;
  height: 560px;
  background: rgba(184, 255, 45, 0.1);
  top: -220px;
  right: -160px;
}

.bg-glow-2 {
  width: 480px;
  height: 480px;
  background: rgba(62, 230, 214, 0.09);
  bottom: -220px;
  left: -180px;
}

.decor { position: fixed; inset: 0; pointer-events: none; z-index: 0; }

.decor-ring {
  position: absolute;
  bottom: 7%;
  right: 4%;
  width: 280px;
  height: 280px;
  color: rgba(184, 255, 45, 0.2);
  animation: spin 40s linear infinite;
}

.decor-ring .ring-inner {
  fill: none;
  stroke: rgba(148, 165, 255, 0.2);
  stroke-width: 1;
  stroke-dasharray: 3 6;
}

.decor-ring .ring-outer {
  fill: none;
  stroke: rgba(184, 255, 45, 0.3);
  stroke-width: 1;
}

.decor-ring .ring-text {
  fill: rgba(184, 255, 45, 0.65);
  font-family: var(--font-wide);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 3px;
}

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

.px { position: absolute; color: rgba(184, 255, 45, 0.3); }

.px-cursor { top: 14%; left: 7%; width: 22px; animation: float 8s ease-in-out infinite; }

.px-bolt { top: 22%; right: 8%; width: 20px; animation: float 10s ease-in-out infinite 1.4s; }

.px-bolt-2 { top: auto; right: auto; bottom: 34%; left: 4%; width: 16px; color: rgba(62, 230, 214, 0.28); animation: float 9s ease-in-out infinite 0.8s; }

.px-diamond { top: 60%; left: 9%; width: 40px; color: rgba(148, 165, 255, 0.24); animation: float 13s ease-in-out infinite 2s; }

.px-star { top: 12%; right: 26%; width: 18px; color: rgba(184, 255, 45, 0.4); animation: float 7s ease-in-out infinite 1s; }

.lightning { position: absolute; color: rgba(139, 92, 246, 0.3); }

.lightning.l1 { top: 18%; left: 22%; width: 44px; transform: rotate(8deg); animation: float 11s ease-in-out infinite 0.4s; }

.lightning.l2 { top: 44%; right: 4%; width: 38px; transform: rotate(-14deg); animation: float 9s ease-in-out infinite 1.6s; }

.px-dot {
  bottom: 20%;
  left: 12%;
  width: 8px;
  height: 8px;
  background: rgba(62, 230, 214, 0.45);
  animation: float 6s ease-in-out infinite 0.5s;
}

.px-dot-2 {
  left: auto;
  bottom: 12%;
  right: 14%;
  width: 6px;
  height: 6px;
  background: rgba(184, 255, 45, 0.45);
  animation: float 9s ease-in-out infinite 1.9s;
}

.px-dot-3 {
  left: 40%;
  bottom: auto;
  top: 8%;
  width: 5px;
  height: 5px;
  background: rgba(148, 165, 255, 0.5);
  animation: float 8s ease-in-out infinite 2.4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.wrap {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-logo {
  width: 44px;
  height: 45px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(184, 255, 45, 0.25));
}

.brand-text {
  font-family: var(--font-wide);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand-text em { color: var(--green); font-style: normal; }

.tag { color: var(--green); font-size: 12px; letter-spacing: 0.5px; opacity: 0.85; }

main {
  flex: 1;
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.view { display: none; width: 100%; }

.view.active {
  display: block;
  margin-top: auto;
  margin-bottom: auto;
  animation: fadeUp 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

.hidden { display: none !important; }

.intro-inner { padding: 26px 0; }

.mono-label {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mono-label::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(184, 255, 45, 0.6), transparent);
  border-radius: 99px;
}

h1 {
  font-family: var(--font-head);
  font-size: 38px;
  line-height: 1.22;
  margin-bottom: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

h2 {
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1.28;
  margin-bottom: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hl { color: var(--green); }

.sub { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin-bottom: 30px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 36px; }

.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(10, 17, 51, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 15px;
}

.feature-num {
  flex: 0 0 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(184, 255, 45, 0.12);
  border: 1px solid var(--line);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature strong { display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 3px; }

.feature span { color: var(--muted); font-size: 12px; line-height: 1.45; display: block; }

.btn {
  display: inline-block;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-head);
  cursor: pointer;
  background: var(--green);
  color: var(--green-dark);
  box-shadow: 0 10px 26px rgba(184, 255, 45, 0.25);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 32px rgba(184, 255, 45, 0.38);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 4px 12px rgba(184, 255, 45, 0.18);
}

.btn:disabled { opacity: 0.55; cursor: wait; transform: none; }

.btn-lg { padding: 18px 40px; font-size: 17px; }

.btn-block { width: 100%; }

.btn-link {
  display: inline-block;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  margin-top: 22px;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.btn-link:hover { color: var(--green); }

.quiz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.block-meta { color: var(--green); font-size: 12px; letter-spacing: 1.4px; font-weight: 700; }

.counter { color: var(--muted); font-size: 12.5px; }

.segments { display: flex; gap: 6px; margin-bottom: 30px; }

.seg-group { display: flex; gap: 6px; }

.seg-group + .seg-group { margin-left: 10px; }

.seg {
  flex: 1;
  height: 5px;
  border-radius: 99px;
  background: rgba(148, 165, 255, 0.18);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.seg.done { background: var(--green); box-shadow: 0 0 8px rgba(184, 255, 45, 0.55); }

.seg.cur { background: rgba(148, 165, 255, 0.5); animation: pulse 1.4s ease infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 255, 45, 0.4); }
  50% { box-shadow: 0 0 10px 2px rgba(184, 255, 45, 0.4); }
}

.window {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(10, 17, 51, 0.9);
  border-bottom: 1px solid var(--line-soft);
}

.dots { display: flex; gap: 6px; }

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.dots i:nth-child(1) { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }

.wtitle { color: var(--green); font-size: 11.5px; letter-spacing: 1.5px; flex: 1; }

.qnum { color: rgba(184, 255, 45, 0.55); font-size: 13px; font-weight: 700; }

.qcard.window { border-color: rgba(184, 255, 45, 0.22); }

.qcard.card-anim { animation: cardIn 0.3s cubic-bezier(0.22, 0.61, 0.36, 1); }

@keyframes cardIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: none; }
}

.qcard .question {
  font-size: 21px;
  line-height: 1.55;
  font-weight: 700;
  padding: 28px 28px 24px;
  animation: fadeUp 0.3s ease;
}

.options { display: flex; flex-direction: column; gap: 12px; padding: 0 28px 24px; }

.option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(20, 29, 82, 0.6);
  border: 1.5px solid var(--line-soft);
  color: var(--text);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 15.5px;
  line-height: 1.55;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.option:hover {
  border-color: rgba(184, 255, 45, 0.55);
  transform: translateY(-1px);
}

.option.selected {
  border-color: var(--green);
  background: rgba(184, 255, 45, 0.08);
  box-shadow: 0 0 0 1px rgba(184, 255, 45, 0.4), 0 8px 22px rgba(184, 255, 45, 0.12);
}

.option.picking { animation: pickPulse 0.4s ease; }

@keyframes pickPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.015); }
  100% { transform: scale(1); }
}

.key {
  flex: 0 0 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1.5px solid var(--line-soft);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--muted);
  transition: all 0.18s ease;
}

.option.selected .key { border-color: var(--green); background: var(--green); color: var(--green-dark); }

.opt-text { flex: 1; }

.check {
  flex: 0 0 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--line-soft);
  margin-top: 3px;
  position: relative;
  transition: all 0.18s ease;
}

.option.selected .check { border-color: var(--green); background: var(--green); }

.option.selected .check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid var(--green-dark);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.hint {
  padding: 0 28px 18px;
  color: rgba(164, 168, 206, 0.65);
  font-size: 11.5px;
  text-align: center;
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  margin-top: 24px;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.btn-back:hover { color: var(--green); }

.window-body { padding: 28px; }

.field-row { display: flex; gap: 16px; }

.field { flex: 1; }

form label { display: block; color: var(--green); font-size: 11.5px; margin-bottom: 8px; letter-spacing: 1px; opacity: 0.85; }

form input[type="text"],
form input[type="email"],
form input[type="password"] {
  width: 100%;
  background: rgba(20, 29, 82, 0.6);
  border: 1.5px solid var(--line-soft);
  border-radius: 12px;
  color: var(--text);
  padding: 14px 16px;
  font-size: 15.5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

form input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(184, 255, 45, 0.18);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  cursor: pointer;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.consent input { position: absolute; opacity: 0; width: 0; height: 0; }

.checkmark {
  flex: 0 0 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--line-soft);
  margin-top: 1px;
  position: relative;
  transition: all 0.15s ease;
  background: rgba(20, 29, 82, 0.6);
}

.consent input:focus-visible + .checkmark { outline: 2px solid var(--green); outline-offset: 2px; }

.consent input:checked + .checkmark { border-color: var(--green); background: var(--green); }

.consent input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 1px;
  width: 5px;
  height: 11px;
  border: solid var(--green-dark);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.form-errors { color: var(--danger); font-size: 14px; margin-top: 14px; line-height: 1.5; }

form .btn { margin-top: 26px; }

.type-card {
  background: var(--panel);
  border: 1px solid rgba(184, 255, 45, 0.25);
  border-radius: 16px;
  padding: 26px 28px;
  margin-bottom: 16px;
  animation: fadeUp 0.4s ease both;
}

.type-name {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 5px;
  color: var(--green);
  margin-bottom: 6px;
}

.type-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.prio-list { list-style: none; }

.prio-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 16px;
  font-weight: 700;
}

.prio-list li:last-child { border-bottom: none; }

.prio {
  flex: 0 0 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
}

.prio svg { width: 18px; height: 18px; }

.breakdown {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 22px;
  animation: fadeUp 0.4s ease both;
  animation-delay: 0.2s;
}

.breakdown h3,
.letter-legend h3 {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  color: var(--green);
  text-transform: uppercase;
}

.letter-legend {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 22px;
  animation: fadeUp 0.4s ease both;
  animation-delay: 0.3s;
}

.ll-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 6px 0;
}

.ll-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 29, 82, 0.5);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px 14px;
}

.ll-cell.win {
  border-color: rgba(184, 255, 45, 0.5);
  background: rgba(184, 255, 45, 0.07);
}

.ll-cell.tie {
  border-color: var(--line-soft);
  background: rgba(20, 29, 82, 0.5);
}

.ll-letter {
  flex: 0 0 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  background: rgba(148, 165, 255, 0.12);
  color: var(--muted);
}

.ll-cell.win .ll-letter {
  background: var(--green);
  color: var(--green-dark);
  box-shadow: 0 0 14px rgba(184, 255, 45, 0.35);
}

.ll-body strong {
  display: block;
  font-size: 13.5px;
  margin-bottom: 2px;
}

.ll-body span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  display: block;
}

.bd-row {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
}

.bd-mid { display: flex; flex-direction: column; gap: 6px; }

.bd-letter {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 17px;
  text-align: center;
  color: var(--muted);
  transition: color 0.2s ease;
}

.bd-letter.win { color: var(--green); text-shadow: 0 0 12px rgba(184, 255, 45, 0.45); }

.bd-track {
  height: 12px;
  background: rgba(148, 165, 255, 0.16);
  border-radius: 99px;
  overflow: hidden;
  display: flex;
}

.bd-fill {
  height: 100%;
  background: var(--green);
  border-radius: 99px;
  transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.bd-fill.right { margin-left: auto; border-radius: 99px; }
.bd-fill.center { margin: 0 auto; border-radius: 99px; }

.bd-count { font-size: 12px; color: var(--muted); text-align: center; font-family: var(--font-mono); }

.bd-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--cyan);
  line-height: 1.5;
}

.bd-balance {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  text-align: center;
  letter-spacing: 2px;
  animation: tiePulse 2s ease-in-out infinite;
  opacity: 0.8;
}

.result-actions {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.result-actions .btn-link { margin-top: 16px; }

.foot {
  border-top: 1px solid var(--line-soft);
  color: rgba(164, 168, 206, 0.7);
  font-size: 10.5px;
  letter-spacing: 0.8px;
  padding: 22px 0 30px;
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 0;
  }
  main { padding: 24px 0; }
  h1 { font-size: 26px; line-height: 1.28; }
  h2 { font-size: 22px; }
  .sub { font-size: 15px; margin-bottom: 22px; }
  .mono-label { margin-bottom: 16px; }
  .features { grid-template-columns: 1fr; gap: 10px; margin-bottom: 26px; }
  .feature { padding: 13px 14px; }
  .btn { padding: 15px 24px; font-size: 15px; }
  .btn-lg { width: 100%; }
  .quiz-head { margin-bottom: 10px; }
  .block-meta { font-size: 10.5px; letter-spacing: 1px; }
  .segments { gap: 4px; margin-bottom: 22px; }
  .seg-group { gap: 4px; }
  .seg-group + .seg-group { margin-left: 6px; }
  .qcard .question { font-size: 17.5px; padding: 20px 16px 18px; }
  .options { padding: 0 16px 18px; gap: 10px; }
  .option {
    padding: 14px 14px;
    font-size: 15px;
    gap: 10px;
    min-height: 48px;
  }
  .key { flex: 0 0 26px; height: 26px; font-size: 13px; }
  .check { flex: 0 0 20px; height: 20px; }
  .titlebar { padding: 10px 14px; }
  .window-body { padding: 18px 16px; }
  .field-row { flex-direction: column; gap: 14px; }
  .type-card { padding: 20px 18px; }
  .type-name { font-size: 28px; letter-spacing: 4px; }
  .breakdown { padding: 18px 16px; }
  .letter-legend { padding: 18px 16px; }
  .ll-cell { gap: 9px; padding: 10px 11px; }
  .ll-letter { flex-basis: 30px; height: 30px; font-size: 15px; }
  .ll-body strong { font-size: 12.5px; }
  .ll-body span { font-size: 11px; }
  .prio-list li { font-size: 15px; }
  .btn-back { margin-top: 18px; }
  .hint { display: none; }
  .decor-ring {
    width: 150px;
    height: 150px;
    bottom: 6%;
    right: -30px;
    opacity: 0.6;
  }
  .px-cursor, .px-bolt, .px-bolt-2, .px-diamond, .px-star, .lightning { display: none; }
  .brand-text { font-size: 11px; letter-spacing: 0.6px; }
  .foot {
    font-size: 9.5px;
    padding: 16px 0 calc(20px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {
  h1 { font-size: 23px; }
  .qcard .question { font-size: 16.5px; }
  .option { font-size: 14px; }
  .brand-text { font-size: 10px; }
  .ll-row { grid-template-columns: 1fr; }
  .ll-cell { align-items: flex-start; }
}
