:root {
  --bg: #f8efff;
  --paper: rgba(255, 255, 255, 0.82);
  --paper-solid: #fffaff;
  --ink: #282346;
  --muted: #706a89;
  --line: rgba(86, 67, 158, 0.16);
  --pink: #ff78b7;
  --pink-deep: #eb4f9c;
  --purple: #9b7cff;
  --purple-deep: #6447d7;
  --blue: #4357d9;
  --blue-deep: #2939ad;
  --aqua: #8ee6e3;
  --yellow: #ffe481;
  --shadow: 0 24px 70px rgba(83, 54, 145, 0.14);
  --shadow-small: 0 12px 34px rgba(83, 54, 145, 0.1);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  isolation: isolate;
  margin: 0;
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", sans-serif;
  line-height: 1.8;
  background: linear-gradient(145deg, #fff7fc 0%, #f3ebff 48%, #ebf6ff 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}
body::before {
  width: min(48vw, 620px);
  aspect-ratio: 1;
  left: -13vw;
  top: 540px;
  opacity: .22;
  background: linear-gradient(135deg, #ff83bd, #ad8bff);
  mask: url("blob-2.svg") center / contain no-repeat;
  -webkit-mask: url("blob-2.svg") center / contain no-repeat;
}
body::after {
  width: min(44vw, 560px);
  aspect-ratio: 1;
  right: -12vw;
  top: 58%;
  opacity: .2;
  background: linear-gradient(135deg, #8ee6e3, #8386f0);
  mask: url("blob-5.svg") center / contain no-repeat;
  -webkit-mask: url("blob-5.svg") center / contain no-repeat;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }
.hidden { display: none !important; }
.mobile-break { display: none; }
body > header,
body > main,
body > footer { position: relative; z-index: 1; }

.hero {
  min-height: 600px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  isolation: isolate;
  background: linear-gradient(135deg, #ff8ac0 0%, #ba83f3 46%, #7181e9 100%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
}
.hero::before {
  width: 680px;
  left: -260px;
  top: -350px;
  opacity: .25;
  background: linear-gradient(145deg, rgba(255,255,255,.85), rgba(255,203,230,.45));
  mask: url("blob-4.svg") center / contain no-repeat;
  -webkit-mask: url("blob-4.svg") center / contain no-repeat;
}
.hero::after {
  width: 540px;
  right: -200px;
  bottom: -285px;
  opacity: .23;
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(150,229,255,.55));
  mask: url("blob-3.svg") center / contain no-repeat;
  -webkit-mask: url("blob-3.svg") center / contain no-repeat;
}
.hero-inner { padding: 78px 0 88px; position: relative; }
.hero-kicker {
  margin: 0 0 12px;
  font-size: .76rem;
  letter-spacing: .24em;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 10px rgba(62, 42, 137, .18);
}
.sparkle,
.title-sparkle,
.footer-sparkle,
.loading-sparkle {
  display: inline-block;
  width: 20px;
  aspect-ratio: 1;
  background: currentColor;
  mask: url("sparkle.svg") center / contain no-repeat;
  -webkit-mask: url("sparkle.svg") center / contain no-repeat;
}
.hero h1,
.footer-logo {
  font-family: "Modak", "Arial Rounded MT Bold", sans-serif;
  font-weight: 400;
  line-height: .9;
  letter-spacing: .025em;
}
.hero h1 {
  margin: 4px 0 0;
  font-size: clamp(4rem, 6.5vw, 5rem);
  white-space: nowrap;
  text-shadow: 0 7px 0 rgba(76, 52, 164, .13), 0 20px 50px rgba(80, 51, 160, .2);
}
.hero-jp { margin: 15px 0 18px; font-weight: 900; letter-spacing: .42em; font-size: .93rem; padding-left: .42em; }
.hero-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin: 26px 0 32px; }
.hero-tags span { padding: 6px 15px; border: 1px solid rgba(255,255,255,.5); border-radius: 99px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); font-size: .78rem; font-weight: 700; }
.hero-scroll { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: .72rem; letter-spacing: .18em; font-weight: 900; }
.hero-scroll span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: var(--purple-deep); background: #fff; letter-spacing: 0; }

main { padding: 58px 0 90px; }
main.wrap { width: min(900px, calc(100% - 40px)); }
.panel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 24px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(18px);
}
.panel::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(122, 95, 190, .07);
  border-radius: calc(var(--radius) - 8px);
}
.preface { padding: 44px; box-shadow: var(--shadow); }
.section-title { position: relative; display: block; width: 100%; padding-inline: 42px; text-align: center; }
#prefacePanel .section-title { padding-inline: 0; }
.section-title .title-sparkle { position: absolute; color: var(--pink); width: 27px; right: 7%; top: 4px; transform: rotate(9deg); }
.eyebrow,
.card-kicker,
.form-step,
.legend-step {
  color: var(--purple-deep);
  font-size: .72rem;
  letter-spacing: .18em;
  font-weight: 900;
  line-height: 1.4;
}
.eyebrow { margin: 0 0 8px; }
h2, h3, h4 { line-height: 1.4; text-align: center; }
h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.55rem); letter-spacing: .03em; }
h3 { margin: 0 0 12px; font-size: 1.28rem; }
.preface-card .heading-line { display: inline; }
.preface-card .heading-line + .heading-line::before { content: " "; }
.preface-card .heading-subline { font-size: .9em; }
.preface-lead { max-width: 850px; margin: 18px auto 0; color: #554e71; font-size: 1.02rem; text-align: center; }
.preface-sections { display: grid; gap: 2px; margin: 30px 0 6px; }
.preface-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 26px 4px;
}
.preface-card h3 { margin: 1px 0 26px; color: #ff78b7; text-align: left; }
.preface-card p { margin: 8px 0; color: #554f6c; }
.preface-card p:last-child { margin-bottom: 0; }
.preface-no {
  display: block;
  width: auto;
  height: auto;
  color: transparent;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  background-clip: text;
  -webkit-background-clip: text;
  font-family: "Modak", "Arial Rounded MT Bold", sans-serif;
  font-size: 2.7rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
  text-align: center;
}
.affiliate-area { margin-top: 22px; padding-block: 20px 4px; border-top: 1px solid var(--line); }
.affiliate-pr { width: fit-content; margin: 0 auto 10px !important; padding: 3px 11px; color: #fff !important; border-radius: 99px; background: linear-gradient(135deg, var(--pink-deep), var(--purple-deep)); font-size: .74rem; font-weight: 900; }
.affiliate-intro { text-align: center; }
.affiliate-offers {  margin-top: 16px; }
.affiliate-offer { min-width: 0; padding: 16px; text-align: center; border-radius: 16px; background: rgba(255,255,255,.65); }
.affiliate-service { margin: 0 0 8px !important; color: var(--purple-deep) !important; font-weight: 900; }
.affiliate-code { overflow-wrap: anywhere; }
.affiliate-code a { color: var(--blue-deep); text-underline-offset: .22em; font-weight: 900; }
.affiliate-code a:hover { color: var(--pink-deep); }
.affiliate-code img { vertical-align: middle; }
.affiliate-note { margin-top: 14px !important; font-size: .82rem; color: var(--muted) !important; }
.consent-box {
  margin: 26px -44px -44px;
  padding: 30px 44px 36px;
  border: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(135deg, rgba(255,235,247,.9), rgba(238,235,255,.92));
}
.consent-box label,
.ai-consent-box label { display: block; position: relative; margin: 0 0 13px; padding-left: 34px; font-weight: 600; }
.consent-box input,
.ai-consent-box input { position: absolute; left: 0; top: .38em; width: 20px; height: 20px; margin: 0; accent-color: var(--purple-deep); }

.grid { display: grid; gap: 20px; }
.grid > .panel { margin-bottom: 0; }
#results > .grid { max-width: 900px; margin-inline: auto; margin-bottom: 24px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section-heading-row { display: block; text-align: center; }
.section-heading-row .text-button { margin-top: 14px; }
.form-step { margin: 30px 0 14px; color: var(--ink); text-align: left; font-size: 1.04rem; font-weight: 900; letter-spacing: 0; line-height: 1.4; }
.form-step span,
.legend-step { display: inline-block; margin-right: 8px; padding: 4px 9px; color: #fff; border-radius: 99px; background: linear-gradient(135deg, var(--pink), var(--purple)); letter-spacing: .1em; }
label { display: block; font-weight: 700; }
input, select {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid rgba(91,74,158,.22);
  border-radius: 14px;
  outline: none;
  background: rgba(255,255,255,.88);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
input:focus, select:focus { border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px rgba(155,124,255,.14); }
form .grid > label { min-width: 0; }
input[type="date"],
input[type="time"] { display: block; width: 100%; min-width: 0; min-inline-size: 0; max-width: 100%; max-inline-size: 100%; }
input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0 6px 0 0;
  padding: 0;
  vertical-align: -3px;
  border: 1.5px solid rgba(91,74,158,.42);
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}
input[type="checkbox"]:checked {
  border-color: var(--purple-deep);
  background-color: var(--purple-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3 3 7-8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 15px 15px;
}
input[type="checkbox"]:focus-visible { outline: 3px solid rgba(155,124,255,.25); outline-offset: 2px; }
fieldset { margin: 24px 0 6px; padding: 23px 0 4px; border: 0; border-top: 1px solid var(--line); }
legend { margin-inline: 0 auto; padding-right: 14px; text-align: left; font-size: 1.04rem; font-weight: 900; }
legend small { color: var(--muted); font-size: .82rem; font-weight: 500; }
.radio-row { display: flex; flex-wrap: wrap; gap: 9px; }
.radio-row label,
.chip { cursor: pointer; }
.radio-row label {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255,255,255,.65);
  font-size: .9rem;
  font-weight: 700;
}
.radio-row label:has(input:checked) { color: var(--purple-deep); border-color: rgba(111,81,217,.4); background: #f2edff; box-shadow: inset 0 0 0 1px rgba(111,81,217,.08); }
.radio-row input { width: auto; margin: 0 5px 0 0; accent-color: var(--purple-deep); }
.chip input { width: 18px; height: 18px; margin: 0 5px 0 0; }
.conditional { max-width: 310px; margin-top: 16px; }
.media-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { padding: 9px 14px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.75); font-size: .9rem; }
.chip:has(input:checked) { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--pink-deep), var(--purple-deep)); box-shadow: 0 8px 18px rgba(136,75,194,.2); }
button {
  border: 0;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, opacity .18s, background .18s;
}
button:hover:not(:disabled) { transform: translateY(-2px); }
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 24px;
  color: #fff;
  border-radius: 99px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(66, 70, 186, .22);
}
.primary { background: linear-gradient(135deg, var(--pink-deep), var(--purple-deep)); }
.secondary { background: linear-gradient(135deg, var(--blue), var(--purple-deep)); }
.primary span, .secondary span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: var(--purple-deep); background: #fff; }
.submit-button { display: flex; width: fit-content; margin: 22px auto 0; min-width: 300px; }
.consent-button { display: flex; width: min(100%, 300px); margin: 14px auto 0; }
.primary:disabled,
.secondary:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.text-button { padding: 8px 14px; color: var(--purple-deep); border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.8); font-size: .82rem; font-weight: 700; }
.form-note, .muted, .disclaimer { color: var(--muted); font-size: .88rem; }
.form-note { margin-top: 16px; }
.loading-panel { text-align: center; }
.loading-panel p { margin: 8px 0 0; font-weight: 700; }
.loading-sparkle { width: 38px; color: var(--pink); animation: sparklePulse 1.1s infinite ease-in-out; }
@keyframes sparklePulse { 50% { transform: rotate(25deg) scale(.72); opacity: .5; } }
.error { color: #9a214a; border-color: rgba(215,58,117,.25); background: rgba(255,240,247,.9); }

.result-head { overflow: hidden; color: #fff; border: 0; background: linear-gradient(135deg, var(--blue) 0%, var(--purple-deep) 60%, #b85cc6 100%); box-shadow: var(--shadow); }
.result-head::before { border-color: rgba(255,255,255,.14); }
.result-head::after {
  content: "";
  position: absolute;
  width: 270px;
  aspect-ratio: 1;
  right: -90px;
  bottom: -135px;
  opacity: .18;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,151,207,.65));
  mask: url("blob-4.svg") center / contain no-repeat;
  -webkit-mask: url("blob-4.svg") center / contain no-repeat;
}
.result-head .eyebrow, .result-head .muted { color: rgba(255,255,255,.72); }
.result-head #coreTitle { text-align: left; }
.result-title-row { display: flex; justify-content: space-between; gap: 25px; align-items: flex-start; }
.score-badge { min-width: 142px; padding: 16px; text-align: center; border: 1px solid rgba(255,255,255,.22); border-radius: 22px; background: rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.score-badge span, .score-badge small { display: block; color: rgba(255,255,255,.78); }
.score-badge strong { display: block; color: #fff; font-size: 2.2rem; line-height: 1.2; }
.pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pillar { padding: 10px 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.1); }
.pillar small { display: block; color: rgba(255,255,255,.66); }
.notice { padding: 12px 14px; color: #4f3c19; border: 1px solid rgba(255,229,129,.55); border-radius: 14px; background: rgba(255,240,187,.9); }
.result-card { overflow: hidden; }
.result-card::after { display: none; }
.card-kicker { margin: 0 0 7px; text-align: center; }
.type-card { background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,235,247,.9)); }
.bottleneck-card { background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(235,240,255,.92)); }
.type-card,
.bottleneck-card { text-align: center; }
.type-big { color: var(--pink-deep); font-size: 1.65rem; font-weight: 900; }
.bottleneck-big { color: var(--blue-deep); font-size: 1.4rem; font-weight: 900; }
.drop { color: var(--muted); }
.bars { display: grid; gap: 13px; }
.bar-row { display: grid; grid-template-columns: 60px 1fr 50px; gap: 10px; align-items: center; }
.bar-track { height: 12px; overflow: hidden; border-radius: 99px; background: rgba(93,77,159,.1); }
.bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--purple)); box-shadow: 0 0 12px rgba(155,124,255,.28); }
.cycle-bars .bar-fill { background: linear-gradient(90deg, var(--aqua), var(--blue)); }
.radar-wrap { display: grid; grid-template-columns: minmax(320px, 1fr) 1fr; gap: 30px; align-items: center; }
#radar { width: 100%; max-height: 350px; filter: drop-shadow(0 10px 16px rgba(97,71,174,.08)); }
.ability-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ability { padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: rgba(248,244,255,.8); }
.ability strong { float: right; color: var(--purple-deep); }
.media-card { padding: 19px; border: 0; border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(245,241,255,.8)); }
.media-card h4 { margin: 0 0 7px; color: var(--purple-deep); }
.media-card p { margin: 0; color: #5c5573; }
.ai-panel { border: 1px solid rgba(84,72,194,.18); background: linear-gradient(140deg, rgba(239,244,255,.9), rgba(250,238,255,.9)); }
.ai-panel::after { display: none; }
.ai-panel strong { color: var(--blue-deep); }
.ai-panel > .eyebrow { text-align: center; }
#aiButton { display: flex; width: fit-content; margin-inline: auto; }
.optional-badge { display: inline-block; margin-left: 5px; padding: 2px 9px; vertical-align: middle; color: var(--purple-deep); border: 1px solid rgba(100,71,215,.26); border-radius: 99px; background: rgba(255,255,255,.6); font-size: .68rem; }
.ai-examples { margin: 20px 0; padding: 20px 4px; border-block: 1px solid rgba(100,71,215,.2); background: transparent; }
.ai-examples p { margin: 0 0 8px; text-align: center; color: var(--purple-deep); font-weight: 900; }
.ai-examples p span + span::before { content: " "; }
.ai-examples ul { margin: 0; padding-left: 1.35em; }
.ai-examples li + li { margin-top: 5px; }
.ai-consent-box { margin: 18px 0 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.75); }
.ai-consent-box label { margin: 0; }
.ai-result { width: calc(100% + 68px); margin: 28px -34px -34px; padding: 28px 34px 34px; border-top: 1px solid rgba(100,71,215,.16); border-radius: 0; background: transparent; }
.ai-result h4 { margin-bottom: 6px; color: var(--purple-deep); }
.ai-result ul { padding-left: 1.3em; }
.ai-result .ai-highlights li { color: var(--pink-deep); font-weight: 700; }
.ai-summary { white-space: pre-wrap; }
.disclaimer { max-width: 820px; margin: 30px auto; text-align: center; }

footer { position: relative; overflow: hidden; padding: 50px 0; color: #fff; text-align: center; background: linear-gradient(135deg, #3f49bb, #7756c8 55%, #b85baf); }
footer::before,
footer::after { content: ""; position: absolute; aspect-ratio: 1; opacity: .16; background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(177,227,255,.55)); }
footer::before { width: 350px; left: -150px; top: -210px; mask: url("blob-3.svg") center / contain no-repeat; -webkit-mask: url("blob-3.svg") center / contain no-repeat; }
footer::after { width: 290px; right: -125px; bottom: -175px; mask: url("blob-5.svg") center / contain no-repeat; -webkit-mask: url("blob-5.svg") center / contain no-repeat; }
.footer-inner { position: relative; z-index: 1; }
.footer-sparkle { width: 24px; color: #fff; }
.footer-logo { margin: 12px 0 8px; font-size: clamp(2.3rem, 7vw, 4.3rem); }
.footer-inner p { margin: 4px 0; }

body::before,
.hero::before,
footer::before { animation: blob-drift-a 22s ease-in-out infinite alternate; }
body::after,
.hero::after,
footer::after { animation: blob-drift-b 28s ease-in-out infinite alternate; }
.hero::after { animation-name: hero-blob-drift; }
@keyframes blob-drift-a {
  0% { transform: translate3d(0, 0, 0) rotate(-2deg) scale(1); }
  100% { transform: translate3d(72px, 52px, 0) rotate(11deg) scale(1.12); }
}
@keyframes blob-drift-b {
  0% { transform: translate3d(0, 0, 0) rotate(3deg) scale(1.03); }
  100% { transform: translate3d(-68px, -48px, 0) rotate(-11deg) scale(.92); }
}
@keyframes hero-blob-drift {
  0% { transform: translate3d(0, 0, 0) rotate(42deg) scale(1.03); }
  100% { transform: translate3d(-68px, -48px, 0) rotate(52deg) scale(.92); }
}
@media (max-width: 800px) {
  .grid.two, .grid.three, .radar-wrap { grid-template-columns: 1fr; }
  .hero { min-height: 540px; }
  .hero-inner { padding: 65px 0 76px; }
  .result-title-row { display: block; }
  .score-badge { margin-top: 20px; }
  .ability-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preface { padding: 32px; }
  .consent-box { margin: 26px -32px -32px; padding-inline: 32px; }
}

@media (max-width: 580px) {
  .wrap { width: min(100% - 24px, 1100px); }
  main.wrap { width: calc(100% - 24px); }
  .mobile-break { display: initial; }
  .hero { min-height: 500px; }
  .hero-inner { padding: 54px 0 64px; }
  .hero h1 { font-size: clamp(3.1rem, 17vw, 5.2rem); white-space: normal; overflow-wrap: anywhere; }
  .hero-jp { margin-top: 11px; }
  .hero-tags { margin-top: 22px; }
  main { padding: 30px 0 56px; }
  .panel, .preface { padding: 23px 19px; border-radius: 24px; }
  .panel::before { display: none; }
  .section-title { padding-inline: 30px; }
  .section-title .title-sparkle { right: 0; }
  .preface-card { grid-template-columns: 1fr; gap: 12px; padding: 22px 0; }
  .preface-card h3 { text-align: center; }
  .preface-card .heading-line { display: block; }
  .preface-card .heading-line + .heading-line::before { content: none; }
  .affiliate-offers { grid-template-columns: 1fr; }
  .preface-no { width: auto; height: auto; margin-inline: auto; font-size: 2.4rem; }
  .consent-box { margin: 24px -19px -23px; padding: 24px 19px 28px; border-radius: 0 0 24px 24px; }
  .section-heading-row { display: block; }
  .text-button { margin-top: 14px; }
  .radio-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .radio-row label { padding: 9px 10px; font-size: .82rem; }
  .conditional { max-width: none; }
  #diagnosisForm,
  #diagnosisForm .grid,
  #diagnosisForm .grid > label,
  #diagnosisForm fieldset,
  #diagnosisForm .conditional,
  #diagnosisForm .conditional label { width: 100%; min-width: 0; max-width: 100%; }
  #diagnosisForm .grid > label,
  #diagnosisForm .conditional label { overflow: hidden; }
  #diagnosisForm input[type="date"],
  #diagnosisForm input[type="time"] {
    display: block;
    width: -webkit-fill-available;
    min-width: 0;
    max-width: 100%;
    inline-size: -webkit-fill-available;
    min-inline-size: 0;
    max-inline-size: 100%;
    font-size: 16px;
  }
  #diagnosisForm input[type="date"]::-webkit-date-and-time-value,
  #diagnosisForm input[type="time"]::-webkit-date-and-time-value { min-width: 0; text-align: left; }
  .primary, .secondary { width: 100%; }
  .bar-row { grid-template-columns: 48px 1fr 43px; font-size: .86rem; }
  .ability-list { grid-template-columns: 1fr 1fr; font-size: .88rem; }
  .radar-wrap { gap: 8px; }
  #radar { min-width: 0; }
  .result-head .eyebrow { text-align: center; }
  .result-head #coreTitle { text-align: center; }
  .ai-examples { margin-inline: -5px; padding: 18px 5px; }
  .ai-examples p span { display: block; }
  .ai-examples p span + span::before { content: none; }
  .ai-result { width: calc(100% + 38px); margin: 26px -19px -23px; padding: 26px 19px 28px; }
  body::before { width: 95vw; left: -50vw; top: 500px; }
  body::after { width: 90vw; right: -52vw; }
}

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