:root {
  color-scheme: light;
  --ink: #292d3a;
  --ink-strong: #242832;
  --ink-soft: #68717f;
  --paper: #f3f4f6;
  --white: #fff;
  --line: #dce0e6;
  --lavender: #8b82b5;
  --lavender-deep: #7469a4;
  --lavender-wash: #eeecf5;
  --aqua-wash: #dceae8;
  --focus: #65559d;
  font-family: "Segoe UI", "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 760px 440px at 36% 3%, rgba(211, 203, 230, .66), transparent 73%),
    radial-gradient(ellipse 820px 600px at 94% 83%, rgba(203, 230, 224, .6), transparent 73%),
    var(--paper);
  line-height: 1.65;
}
button, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
button:focus-visible, a:focus-visible, summary:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
h1[tabindex="-1"]:focus-visible { outline: 2px solid #a99ec7; outline-offset: 6px; border-radius: 5px; }
a { color: inherit; }
::selection { color: var(--ink-strong); background: #d9d3ed; }

.page-shell { width: min(100%, 1440px); min-height: 100dvh; margin: 0 auto; display: flex; flex-direction: column; }
.site-header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(22px, 3.8vw, 54px); border-bottom: 1px solid rgba(126, 130, 151, .16); }
.brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; white-space: nowrap; }
.brand-mark { color: var(--ink-strong); font-weight: 800; font-size: 26px; letter-spacing: .09em; line-height: 1; }
.brand-mark span { color: var(--ink-strong); }
.brand-name { border-left: 1px solid #bbb8ca; padding-left: 16px; color: var(--ink-strong); font-size: 15px; font-weight: 600; letter-spacing: .12em; }
.header-note { color: #74798a; font-size: 12px; letter-spacing: .04em; text-align: right; }
main { flex: 1; min-width: 0; }
.site-footer { display: flex; justify-content: space-between; gap: 12px; margin: auto clamp(22px, 3.8vw, 54px) 0; padding: 23px 0 30px; border-top: 1px solid rgba(126, 130, 151, .17); color: #6f7785; font-size: 11px; }
.loading { padding: 80px clamp(22px, 3.8vw, 54px); }
.eyebrow { margin: 0 0 17px; color: var(--lavender-deep); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 11px 20px; border-radius: 15px; border: 1px solid transparent; font-weight: 650; text-align: center; line-height: 1.35; transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.button:not(:disabled):hover { transform: translateY(-2px); }
.button-primary, .button-dark { background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgba(41, 45, 58, .09); }
.button-primary:hover, .button-dark:hover { background: #414456; box-shadow: 0 12px 26px rgba(41, 45, 58, .14); }
.button-quiet { background: rgba(255, 255, 255, .4); color: #596272; border-color: #cbd0da; }
.button-quiet:hover { border-color: #9890b5; background: #f4f2fa; }
.button-quiet.light { color: #596272; border-color: #cbd0da; }
.button-quiet.light:hover { background: #f4f2fa; }
.text-button { padding: 0; border: 0; border-bottom: 1px solid currentColor; color: #675c96; background: transparent; font-size: 13px; font-weight: 650; }
.text-button.light { color: #675c96; }
.notice { margin: 16px clamp(22px, 3.8vw, 54px); padding: 12px 16px; border-left: 3px solid var(--lavender); border-radius: 0 10px 10px 0; background: rgba(255, 255, 255, .72); color: #5e6275; font-size: 14px; }

.home-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(265px, .75fr); min-height: 500px; margin: 36px clamp(22px, 3.8vw, 54px) 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .92); border-radius: 29px; background: rgba(255, 255, 255, .7); box-shadow: 0 25px 60px rgba(94, 95, 121, .09); animation: settle .4s ease both; }
.home-hero::before { position: absolute; content: ""; inset: 0; pointer-events: none; background: radial-gradient(ellipse 560px 440px at 74% 12%, rgba(214, 207, 232, .68), transparent 78%), radial-gradient(ellipse 480px 380px at 98% 94%, rgba(198, 225, 220, .57), transparent 75%); }
.hero-copy { position: relative; z-index: 1; align-self: center; padding: clamp(34px, 5vw, 72px); }
.hero-copy h1 { margin: 0; color: var(--ink-strong); font-size: clamp(42px, 4.6vw, 66px); font-weight: 650; line-height: 1.23; letter-spacing: -.045em; white-space: nowrap; }
.hero-lead { max-width: 51ch; margin: 24px 0 31px; color: #606b7b; font-size: clamp(16px, 1.45vw, 18px); line-height: 1.8; }
.home-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.home-actions .button-primary { min-width: 180px; justify-content: space-between; }
.resume-note { margin: 18px 0 0; color: #657081; font-size: 13px; }
.restart-confirm { max-width: 460px; margin-top: 17px; padding: 16px; border: 1px solid #d5d0e3; border-radius: 17px; background: rgba(255, 255, 255, .86); box-shadow: 0 10px 25px rgba(94, 95, 121, .06); }
.restart-confirm p { margin: 0 0 12px; color: #4f5668; font-size: 13px; }
.restart-confirm > div { display: flex; flex-wrap: wrap; gap: 8px; }
.restart-confirm .button { min-height: 42px; font-size: 13px; }
.hero-graphic { position: relative; z-index: 1; display: grid; place-items: center; padding: 42px; }
.graphic-frame { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: min(100%, 280px); aspect-ratio: .83; padding: 26px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 27px; transform: rotate(7deg); background: rgba(255, 255, 255, .68); box-shadow: 0 24px 48px rgba(94, 95, 121, .13); }
.graphic-frame::before { content: ""; position: absolute; inset: 13px; border: 1px solid #e7e4ef; border-radius: 17px; pointer-events: none; }
.graphic-frame::after { content: ""; position: absolute; width: 62px; height: 62px; right: 25px; top: 24px; border: 1px solid #dcd4e9; border-radius: 50%; pointer-events: none; }
.graphic-frame span, .graphic-frame small { position: relative; z-index: 1; font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .17em; }
.graphic-frame span { color: #7e759f; }
.graphic-frame strong { position: relative; z-index: 1; color: #8176aa; font: 400 clamp(104px, 10vw, 150px)/1 Georgia, serif; letter-spacing: -.08em; }
.graphic-frame small { color: #788293; }
.home-explainer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 29px clamp(22px, 3.8vw, 54px) 67px; }
.home-explainer > div { padding: 23px 24px 25px; border: 1px solid rgba(255, 255, 255, .86); border-radius: 20px; background: rgba(255, 255, 255, .57); }
.rule-number { color: var(--lavender-deep); font: 500 16px Georgia, serif; }
.home-explainer h2 { margin: 11px 0 7px; font-size: 18px; font-weight: 650; line-height: 1.4; }
.home-explainer p { margin: 0; color: #677080; font-size: 14px; }

.quiz-layout { display: grid; grid-template-columns: minmax(270px, 304px) minmax(0, 1fr); gap: clamp(26px, 4vw, 64px); align-items: start; margin: 0 0 64px; }
.quiz-side { position: sticky; top: 0; display: flex; flex-direction: column; min-height: min(812px, calc(100dvh - 85px)); padding: 39px 34px 28px 40px; border-right: 1px solid rgba(255, 255, 255, .8); background: rgba(248, 249, 251, .46); }
.sidebar-kicker { margin: 0 0 55px; color: #7f779d; font-size: 11px; letter-spacing: .14em; }
.side-label { margin: 0; color: #71798a; font-size: 12px; letter-spacing: .07em; }
.side-position { margin: 9px 0 0; color: var(--ink-strong); font: 400 68px/1.1 Georgia, serif; letter-spacing: -.065em; }
.side-position strong { font-weight: 400; }
.side-position small, .side-position span { color: #85899a; font: 400 17px/1.4 "Segoe UI", sans-serif; letter-spacing: 0; }
.side-divider { height: 1px; margin: 24px 0; background: #d8dce4; }
.side-answered { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; color: #737b8c; font-size: 13px; }
.side-answered strong { color: #4d5362; font-size: 15px; font-weight: 650; }
.side-track { height: 4px; margin-top: 13px; overflow: hidden; border-radius: 5px; background: #dce0e6; }
.side-track > span, .side-track > i { display: block; height: 100%; background: var(--lavender); }
.question-map { margin-top: 39px; }
.question-map > p, .map-title { margin: 0 0 15px; color: #727a8a; font-size: 12px; }
.map-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.map-item { display: grid; place-items: center; min-width: 0; min-height: 36px; padding: 0; border: 1px solid #d4d9e2; border-radius: 8px; background: rgba(255, 255, 255, .32); color: #667181; font-size: 11px; line-height: 1; font-variant-numeric: tabular-nums; transition: background .16s ease, border-color .16s ease, transform .16s ease; }
.map-item:hover { transform: translateY(-1px); border-color: var(--lavender); background: #f2f0f9; }
.map-item.answered { border-color: #c8c1e2; background: #e9e6f4; color: #5b527f; }
.map-item.current, .map-item.current.answered { border-color: var(--lavender); background: var(--lavender); color: #fff; box-shadow: 0 4px 9px rgba(117, 105, 164, .2); }
.mobile-question-map { display: none; }
.mobile-question-map summary { color: #655995; font-size: 13px; font-weight: 650; cursor: pointer; }
.mobile-question-map nav { margin-top: 12px; padding: 15px; border: 1px solid #d9dce8; border-radius: 15px; background: rgba(255, 255, 255, .76); }
.mobile-question-map .map-grid { gap: 7px; }
.mobile-question-map .map-item { min-height: 40px; font-size: 12px; }
.mobile-question-map p { margin: 12px 0 0; color: #727b8b; font-size: 12px; }
.side-note { margin: 14px 0 0; color: #757e8c; font-size: 11px; }
.quiz-side > .text-button { align-self: flex-start; margin-top: auto; padding-top: 30px; }
.question-panel { justify-self: center; width: min(760px, calc(100% - 26px)); min-width: 0; margin: 46px 0 0; }
.question-meta { display: flex; justify-content: space-between; gap: 12px; color: #737b8b; font-size: 13px; }
.question-meta strong { color: var(--ink-strong); font-variant-numeric: tabular-nums; }
.question-meta .mobile-stat { display: none; }
.quiz-kind { padding: 5px 11px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 999px; background: rgba(255, 255, 255, .52); }
.progress-steps { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 4px; margin: 15px 0 43px; }
.step { height: 4px; border-radius: 5px; background: #d1d6df; }
.step.answered { background: #a69acb; }
.step.current { background: var(--ink); }
.question-content { padding: 0; }
.question-card { position: relative; padding: 31px 36px 30px; border: 1px solid rgba(255, 255, 255, .94); border-radius: 27px; background: rgba(255, 255, 255, .77); box-shadow: 0 22px 52px rgba(94, 95, 121, .08); animation: settle .28s ease both; }
.question-card:focus-within { box-shadow: 0 0 0 2px #a99ec7, 0 22px 52px rgba(94, 95, 121, .08); }
.question-card h1:focus-visible { outline: none; }
.question-card::after { content: ""; position: absolute; top: 27px; right: 28px; width: 39px; height: 39px; border: 1px solid #e2deee; border-radius: 50%; pointer-events: none; }
.question-label { margin: 0 0 20px; color: #8175a6; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.question-card h1, .question-content h1 { max-width: 30ch; margin: 0; color: var(--ink-strong); font-size: clamp(25px, 2.5vw, 29px); font-weight: 650; line-height: 1.62; letter-spacing: -.025em; overflow-wrap: anywhere; }
.answer-hint { margin: 20px 0 0; color: #747d8d; font-size: 13px; }
.options { display: grid; gap: 13px; margin-top: 25px; }
.option { display: grid; grid-template-columns: 32px minmax(0, 1fr) 24px; align-items: center; gap: 18px; width: 100%; min-height: 78px; padding: 16px 22px; border: 1px solid #dce0e6; border-radius: 18px; background: rgba(255, 255, 255, .66); color: var(--ink-strong); text-align: left; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.option:hover { transform: translateY(-1px); border-color: #a99ec7; background: #fff; }
.option.selected { border-color: var(--lavender); background: var(--lavender-wash); box-shadow: inset 0 0 0 1px var(--lavender); }
.option-letter { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #c7cdd8; border-radius: 50%; color: #747d8d; font: 600 13px/1 "Segoe UI", sans-serif; }
.option.selected .option-letter { border-color: var(--lavender); color: #fff; background: var(--lavender); }
.option-text { min-width: 0; overflow-wrap: anywhere; font-size: 18px; line-height: 1.55; }
.option-check { color: var(--lavender-deep); font-size: 18px; font-weight: 600; text-align: right; }
.selection-status { min-height: 21px; margin: 14px 0 0; color: #666f82; font-size: 13px; }
.question-actions { display: flex; align-items: center; gap: 13px; padding: 14px 0 0; }
.question-actions .button { min-height: 54px; }
.question-actions .button-dark { min-width: 230px; justify-content: space-between; margin-left: auto; }
.question-actions .button-quiet:nth-child(2) { border-color: transparent; background: transparent; }
.question-actions .button-quiet:nth-child(2):hover { background: #ebe8f4; }
.review-return { padding: 16px 0 0; }
.keyboard-note { margin: 14px 0 0; color: #777f8e; font-size: 11px; }

.result-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: 1220px; margin: 50px auto 32px; padding: 0 clamp(22px, 3vw, 40px); }
.result-heading h1 { max-width: 23ch; margin: 0; color: var(--ink-strong); font-size: clamp(32px, 3.5vw, 50px); font-weight: 650; line-height: 1.3; letter-spacing: -.03em; text-wrap: balance; }
.headline-phrase { white-space: nowrap; }
.result-heading p:not(.eyebrow) { max-width: 56ch; margin: 13px 0 0; color: #667080; font-size: 14px; }
.result-actions { display: flex; gap: 9px; flex-wrap: wrap; flex-shrink: 0; }
.result-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(300px, 360px); justify-content: center; align-items: start; gap: 28px; max-width: 1220px; margin: 0 auto 60px; padding: 0 clamp(22px, 3vw, 40px); }
.result-main, .share-column { min-width: 0; }
.result-section { margin-bottom: 20px; padding: 27px; border: 1px solid rgba(255, 255, 255, .92); border-radius: 24px; background: rgba(255, 255, 255, .73); box-shadow: 0 14px 38px rgba(94, 95, 121, .055); }
.result-section > h2, .section-title h2 { margin: 0; color: var(--ink-strong); font-size: 20px; font-weight: 650; }
.result-section > p { color: #667080; font-size: 14px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.section-title span { color: #747d8c; font-size: 12px; text-align: right; }
.result-note { padding: 11px 14px; border-left: 3px solid var(--lavender); border-radius: 0 9px 9px 0; background: #f2f0f8; color: #66667d; font-size: 13px; }
.type-card + .type-card { margin-top: 16px; }
.type-card { padding: 22px; border: 1px solid #e3e1eb; border-radius: 18px; background: rgba(249, 249, 252, .7); }
.type-card:has(.result-card-art:not(.card-art-unavailable)) { display: grid; grid-template-columns: minmax(0, 235px) minmax(0, 1fr); gap: 22px; align-items: start; }
.type-details { min-width: 0; }
.official-card-image { display: block; width: 100%; height: auto; max-width: 300px; margin-inline: auto; border-radius: 12px; }
.result-card-art.card-art-unavailable, .share-art-fallback { display: none; }
.share-art.card-art-unavailable .share-art-fallback { display: block; }
.share-art.card-art-unavailable :is(.official-card-image, .save-card) { display: none; }
.type-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.type-heading h3 { margin: 3px 0 0; color: var(--ink-strong); font-size: 28px; line-height: 1.3; }
.type-code { color: var(--lavender-deep); font-size: 12px; font-weight: 750; letter-spacing: .12em; }
.type-description { margin: 15px 0 20px; font-size: 16px; font-weight: 600; }
.type-card h4 { margin: 0 0 8px; font-size: 13px; }
.type-card ul { margin: 0 0 20px; padding-left: 1.4em; color: #596374; font-size: 14px; }
.type-card li + li { margin-top: 6px; }
.team-tip { margin: 0; padding: 14px 16px; border-radius: 12px; background: #eeeff5; color: #515a6c; font-size: 14px; }
.type-card details { margin-top: 16px; color: #606a79; font-size: 13px; }
.type-card details ul { margin: 12px 0 0; overflow-wrap: anywhere; }
.type-card summary { cursor: pointer; color: #655995; font-weight: 700; }
.type-card.candidate-card:has(.result-card-art) { display: block; }
.candidate-card .result-card-art.card-art-unavailable { display: block; }
.result-art-fallback, .candidate-card .card-art-unavailable .official-card-image { display: none; }
.candidate-card .card-art-unavailable .result-art-fallback { display: block; }
.display-controls { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.candidate-details { margin-top: 16px; font-size: 14px; color: #515a6c; }
.candidate-details summary { cursor: pointer; color: #655995; font-weight: 700; }
.candidate-details section { margin: 16px 0; padding-top: 12px; border-top: 1px solid #e4e5eb; }
.candidate-details h4 { margin: 0; }
.candidate-details ul { padding-left: 1.5em; }
.empty-result { padding: 28px; border: 1px dashed #c4bdd9; border-radius: 17px; background: #f7f6fa; }
.empty-result h3 { margin: 0 0 6px; color: var(--ink-strong); }
.empty-result p { color: #667080; font-size: 14px; }
.dimensions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.dimension { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; padding: 11px 13px; border: 1px solid #e0e2e9; border-radius: 12px; background: rgba(250, 250, 252, .85); font-size: 12px; }
.dimension > div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dimension > div span:last-child { overflow-wrap: anywhere; }
.dimension-code { flex: none; color: var(--lavender-deep); font-size: 14px; font-weight: 800; }
.dimension strong { flex: none; font-size: 12px; }
.dimension.unknown { border-style: dashed; background: #f4f4f6; color: #636b78; }
.dimension-note { margin-bottom: 0; }
.observation-list { margin: 0; padding: 0; list-style: none; }
.observation-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: start; gap: 10px; padding: 10px 0; border-top: 1px solid #e4e5eb; }
.observation-list li:first-child { border-top: 0; }
.observation-list li span { color: var(--lavender-deep); font-size: 12px; font-weight: 700; }
.observation-list p { min-width: 0; margin: 0; color: #626c7b; font-size: 13px; overflow-wrap: anywhere; }

.share-column { position: sticky; top: 22px; scroll-margin-top: 22px; }
.share-card { position: relative; overflow: hidden; padding: 23px; border: 1px solid #fff; border-radius: 23px; color: var(--ink-strong); background: rgba(255, 255, 255, .89); box-shadow: 0 18px 42px rgba(94, 95, 121, .11); }
.share-card::before { content: ""; position: absolute; width: 300px; height: 260px; right: -110px; top: -125px; border-radius: 50%; background: radial-gradient(circle, rgba(206, 195, 227, .53), rgba(220, 234, 232, .32) 57%, transparent 72%); pointer-events: none; }
.share-card-top, .share-card-bottom { position: relative; display: flex; justify-content: space-between; gap: 10px; font-size: 10px; font-weight: 650; letter-spacing: .05em; }
.share-card-top { padding-bottom: 17px; border-bottom: 1px solid #e1e2e9; color: #77738e; }
.share-card-top b { margin-left: 4px; color: var(--ink-strong); }
.share-card h2 { position: relative; margin: 22px 0 18px; color: var(--ink-strong); font-size: clamp(25px, 2.7vw, 31px); line-height: 1.34; overflow-wrap: anywhere; text-wrap: balance; }
.share-types { position: relative; display: grid; gap: 16px; }
.save-card { display: flex; width: fit-content; max-width: 100%; margin: 8px auto 0; }
.share-type { padding: 10px 11px; border: 1px solid #e4e0ef; border-left: 3px solid var(--lavender); border-radius: 9px; background: #f8f7fb; }
.share-type strong { margin-right: 9px; font-size: 17px; }
.share-type span { color: var(--lavender-deep); font-size: 11px; font-weight: 700; }
.share-type p { margin: 4px 0 0; color: #657080; font-size: 12px; line-height: 1.55; }
.share-empty { position: relative; color: #596476; font-size: 14px; }
.share-profile { position: relative; margin: 16px 0; color: #5d6878; font-size: 12px; line-height: 1.65; }
.share-missing { position: relative; margin: 8px 0; color: #665a90; font-size: 11px; }
.share-card-bottom { margin-top: 19px; padding-top: 13px; border-top: 1px solid #e1e2e9; color: #7b8390; font-size: 9px; }
.copy-button { width: 100%; margin-top: 15px; }
.copy-status { margin: 10px 0; color: #667080; font-size: 12px; }
.share-text-fallback { margin-top: 12px; overflow: hidden; border: 1px solid #dce0e8; border-radius: 12px; background: rgba(255, 255, 255, .72); }
.share-text-fallback summary { padding: 12px 14px; color: #655995; font-size: 13px; font-weight: 650; cursor: pointer; }
.share-text-fallback summary::marker { color: var(--lavender); }
.share-text-fallback[open] summary { border-bottom: 1px solid #e5e3ed; }
.share-text-fallback .share-text { border: 0; border-radius: 0 0 12px 12px; background: transparent; }
.share-text { display: block; width: 100%; min-height: 150px; resize: vertical; padding: 13px; border: 1px solid #cbd0da; border-radius: 12px; color: var(--ink-strong); background: rgba(255, 255, 255, .8); overflow-wrap: anywhere; font-size: 13px; line-height: 1.6; }
.error-panel { margin: 60px clamp(22px, 3.8vw, 54px); padding: 30px; border: 1px solid #d9d1e6; border-radius: 18px; background: rgba(255, 255, 255, .78); }

@media (min-width: 961px) {
  .question-meta { color: #81889a; font-size: 12px; letter-spacing: .04em; }
}
@media (max-width: 1120px) {
  .home-hero { grid-template-columns: minmax(0, 1.2fr) minmax(200px, .6fr); }
  .graphic-frame { width: min(100%, 235px); }
  .result-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); }
}
@media (max-width: 1000px) {
  .result-layout { grid-template-columns: minmax(0, 1fr); }
  .share-column { position: static; max-width: 520px; width: 100%; margin: 0 auto 12px; }
}
@media (max-width: 960px) {
  .quiz-layout { display: block; margin: 28px 0 54px; }
  .quiz-side { display: none; }
  .question-panel { width: min(760px, calc(100% - 44px)); margin: 0 auto; }
  .question-meta .desktop-quiz-intro, .question-meta .quiz-kind { display: none; }
  .question-meta .mobile-stat { display: inline; }
  .progress-steps { margin-bottom: 12px; }
  .mobile-question-map { display: block; margin-bottom: 18px; }
}
@media (max-width: 680px) {
  .type-card:has(.result-card-art:not(.card-art-unavailable)) { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .site-header { min-height: 69px; }
  .header-note { display: none; }
  .site-footer { flex-direction: column; gap: 3px; padding: 19px 0 24px; }
  .home-hero { display: block; min-height: 0; margin-top: 22px; }
  .hero-copy { padding: 33px 27px 8px; }
  .hero-copy h1 { font-size: clamp(37px, 9.4vw, 49px); }
  .hero-lead { margin: 18px 0 23px; }
  .hero-graphic { justify-content: end; padding: 0 34px 28px; }
  .graphic-frame { width: 130px; aspect-ratio: 1.4; padding: 11px; transform: rotate(6deg); border-radius: 15px; }
  .graphic-frame::before { inset: 7px; border-radius: 10px; }
  .graphic-frame::after { width: 26px; height: 26px; right: 11px; top: 11px; }
  .graphic-frame span, .graphic-frame small { font-size: 7px; }
  .graphic-frame strong { font-size: 53px; }
  .home-explainer { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; margin-bottom: 46px; }
  .home-explainer > div { padding: 18px 20px; }
  .home-explainer h2 { margin: 7px 0 5px; }
  .quiz-layout { margin-top: 24px; }
  .question-panel { width: calc(100% - 44px); }
  .question-meta { font-size: 12px; }
  .question-card { padding: 27px 23px 26px; border-radius: 25px; }
  .question-card::after { width: 32px; height: 32px; right: 21px; top: 21px; }
  .question-card h1, .question-content h1 { max-width: none; font-size: 24px; line-height: 1.5; }
  .question-label { margin-bottom: 18px; }
  .options { gap: 11px; margin-top: 20px; }
  .option { min-height: 68px; padding: 13px 16px; gap: 13px; border-radius: 17px; }
  .option-text { font-size: 16px; }
  .result-heading { display: block; margin: 31px auto 25px; }
  .result-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
  .result-actions [data-action="share"] { grid-column: 1 / -1; }
  .result-layout { gap: 18px; }
  .result-section { padding: 21px; }
}
@media (max-width: 420px) {
  .brand-mark { font-size: 23px; }
  .brand-name { font-size: 13px; }
  .page-shell { width: 100%; }
  .home-hero, .home-explainer { margin-left: 20px; margin-right: 20px; }
  .home-hero { border-radius: 26px; }
  .hero-copy { padding: 30px 22px 8px; }
  .hero-copy h1 { font-size: clamp(30px, 8.8vw, 36px); }
  .hero-lead { font-size: 15px; }
  .home-actions { gap: 8px; }
  .home-actions .button-primary { min-width: 160px; }
  .question-panel { width: calc(100% - 40px); }
  .question-meta { gap: 9px; }
  .progress-steps { gap: 3px; margin-top: 13px; }
  .question-card { padding: 24px 22px 24px; }
  .question-card h1, .question-content h1 { font-size: 23px; }
  .option { grid-template-columns: 30px minmax(0, 1fr) 19px; gap: 11px; padding: 13px 14px; }
  .option-letter { width: 30px; height: 30px; }
  .question-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .question-actions .button-dark { grid-column: 1 / -1; width: 100%; margin-left: 0; }
  .result-heading, .result-layout { padding-left: 20px; padding-right: 20px; }
  .result-section { padding: 19px; }
  .dimensions { grid-template-columns: 1fr; }
  .share-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@keyframes settle {
  from { opacity: .55; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
