:root:not(:lang(ko)) body { word-break: normal; overflow-wrap: anywhere }
:root {
  color-scheme: light;
  --bg: #f6faf9;
  --surface: #fff;
  --ink: #202f35;
  --muted: #52656b;
  --line: #d8e5e2;
  --accent: #177465;
  --tint: var(--accent);
  font-family: "Nunito", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
* { box-sizing: border-box }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; word-break: keep-all }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; cursor: pointer }
button:disabled { cursor: default }
h1,h2,h3,p { margin: 0 }
a:focus-visible, button:focus-visible { outline: 3px solid #105c50; outline-offset: 4px }
main:focus { outline: none }
.shell { width: min(1176px,calc(100% - 80px)); margin-inline: auto }
header { background: #f6faf9; border-bottom: 1px solid #d8e5e2 }
.head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; min-height: 80px }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 8px }
#language { font: inherit; font-weight: 650; font-size: 14px; min-height: 44px; padding: 6px 8px; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; background: white; cursor: pointer }
#language:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 900; letter-spacing: -.08em }
.brand-mark { display: block; flex: none; width: 46px; height: 46px }
.head nav { display: flex; gap: 3px; padding: 4px; border-radius: 22px; background: #edf5f3 }
.head nav a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 15px; border-radius: 17px; font-size: 14px; font-weight: 700; color: #52656b }
.head nav .ico { width: 15px; height: 15px }
.head nav a.active { background: #ffffff; box-shadow: 0 1px 4px #385b581c; color: #105c50 }
.head nav a:hover,.text-link:hover { color: var(--accent) }
.head-action { justify-self: end }
.head-action:empty { display: none }
@media(min-width:701px) {
  .head nav { justify-self: center }
}
.top-cta,.btn,.text-link,.back,.eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 8px }
.top-cta { background: #e0f4ee; color: #105c50; border: 1px solid #a8d9cc; border-radius: 13px; padding: 8px 15px; font-size: 14px; font-weight: 750 }
.ico { width: 18px; height: 18px; flex: none; vertical-align: middle }
.top-cta .ico,.eyebrow .ico,.facts .ico,.text-link .ico,.back .ico { width: 16px; height: 16px }
.skip { position: absolute; left: -9999px }
.skip:focus { left: 10px; top: 10px; background: #fff; z-index: 2 }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(16px,3vw,48px); margin: 26px 0 0; padding: clamp(32px,3.3vw,50px) clamp(26px,4vw,60px); background: linear-gradient(110deg,#f3faf8 0%,#e0f4ed 64%,#d6edf0); border: 1px solid #d8e5e2; border-radius: 29px; overflow: hidden }
.hero-copy { position: relative; z-index: 1 }
.hero-print { position: relative; width: 97%; justify-self: center; padding: 9px; background: #f6faf9; border: 1px solid #d8e5e2; border-radius: 12px; box-shadow: 1px 7px 0 #9dbdb321,0 9px 20px #385b5812; transform: rotate(2deg) }
.hero-print:before { content: ""; position: absolute; top: -9px; left: 38%; width: 24%; height: 20px; background: repeating-linear-gradient(115deg,#9cd5c6db 0 5px,#77bdabc9 5px 7px); transform: rotate(-5deg); clip-path: polygon(1% 0,100% 0,98% 25%,100% 40%,98% 60%,100% 78%,99% 100%,0 100%,2% 78%,0 60%,2% 39%,0 20%) }
.hero-art { display: block; width: 100%; height: auto; border-radius: 6px }
.eyebrow { padding: 5px 12px; background: #ffffff; color: #105c50; border: 1px solid #a8d9cc; border-radius: 30px; font-size: 13px; font-weight: 750 }
.hero h1 { font-size: clamp(42px,4.55vw,68px); letter-spacing: -.068em; line-height: 1.15; font-weight: 850; margin: 16px 0 13px }
.hero h1 em { color: var(--accent); font-style: normal; background: linear-gradient(transparent 83%,#a8d9cc 83%,#a8d9cc 94%,transparent 94%) }
.intro,.lead { color: #52656b; line-height: 1.7; letter-spacing: -.025em; font-size: 16px }
.actions,.quiz-controls { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px }
.btn { min-height: 44px; border: 1px solid #d8e5e2; border-radius: 13px; background: #f6faf9; padding: 10px 18px; font-weight: 750; font-size: 15px; transition: transform .18s,background .18s }
.btn:hover,.top-cta:hover { background: #e0f4ee }
.btn.primary { background: var(--accent); border-color: var(--accent); color: white }
.btn.primary:hover { background: #105c50 }
.btn:active { transform: translateY(1px) }
.btn:disabled { opacity: .48 }
.section { padding: 35px 0 38px }
.section-head,.sec-title { display: flex; align-items: center; gap: 10px }
.section-head { justify-content: space-between; margin-bottom: 20px }
h2 { font-size: clamp(24px,2.5vw,32px); line-height: 1.3; letter-spacing: -.058em }
.count { background: #edf5f3; color: #105c50; border-radius: 20px; padding: 2px 9px; font-size: 14px; font-weight: 750 }
.lead { margin-top: 7px }
.text-link,.back { font-size: 14px; font-weight: 670; white-space: nowrap; color: #52656b }
.cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px }
.card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .18s,border-color .18s }
.card:hover { transform: translateY(-3px); border-color: var(--tint) }
.portrait,.profile-art { background: color-mix(in srgb,var(--tint) 10%,#ffffff) }
.portrait { position: relative; display: grid; place-items: center; height: clamp(150px,14.4vw,190px); padding: 18px 12px 8px }
.portrait img { width: 100%; height: 100%; max-height: 154px; object-fit: contain; mix-blend-mode: multiply }
.tag { display: inline-flex; font-size: 12px; font-weight: 750; line-height: 1.4; border-radius: 20px; padding: 3px 9px; color: color-mix(in srgb,var(--tint) 74%,#202f35); background: #f7fbfbe8; border: 1px solid color-mix(in srgb,var(--tint) 33%,#fff) }
.portrait .tag { position: absolute; z-index: 1; top: 10px; left: 10px }
.card-text { padding: 13px 17px 17px }
.card-text h3 { font-size: 20px; letter-spacing: -.05em }
.card-text p { font-size: 14px; color: var(--muted); margin-top: 3px }
.scene-guide,.foot { border-top: 1px solid var(--line) }
.scene-layout { display: grid; grid-template-columns: minmax(165px,1fr) 4fr; gap: clamp(16px,3vw,36px); align-items: start }
.scene-picker { display: grid; gap: 5px; padding: 6px; background: #eaf3f0; border-radius: 18px }
.scene-picker button { display: flex; gap: 9px; align-items: center; border: 0; min-height: 46px; border-radius: 13px; padding: 8px 13px; background: transparent; color: var(--muted); font-size: 15px; font-weight: 700 }
.scene-picker button[aria-pressed=true] { background: var(--accent); color: white }
.scene-panel { padding: clamp(18px,3vw,32px); background: white; border: 1px solid var(--line); border-radius: 22px }
.scene-axis { color: var(--accent); font-weight: 750; font-size: 14px }
.scene-panel h3 { margin: 3px 0 20px; font-size: clamp(21px,2.2vw,28px); line-height: 1.35; letter-spacing: -.045em; text-wrap: balance }
.scene-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px }
.scene-pair article { display: flex; flex-direction: column; align-items: start; padding: 16px 20px 6px; border-radius: 16px; background: #edf7f3 }
.scene-pair article+article { background: #f4f1f8 }
.scene-pair img,.group-intro img { object-fit: contain; mix-blend-mode: multiply }
.scene-pair h4 { font-size: 18px; letter-spacing: -.03em; margin: 8px 0 4px }
.scene-pair p,.group-intro p,.rhythm-tip p,.score-help p { color: var(--muted); line-height: 1.75 }
.scene-pair a { display: inline-flex; align-items: center; gap: 3px; min-height: 44px; margin-top: auto; padding-top: 4px; color: #175f54; font-size: 14px; font-weight: 750 }
.scene-pair a:hover { text-decoration: underline }
.scene-pair a .ico { width: 14px }
.group-intro { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; padding: 15px 20px; background: color-mix(in srgb,var(--tint) 7%,white); border: 1px solid var(--line); border-radius: 18px }
.group-intro h2,.rhythm-tip h2 { margin-bottom: 4px; font-size: 19px }
.group-intro img { flex: none }
.score-help { margin-top: 18px; border-top: 1px solid var(--line); font-size: 14px }
.score-help summary { cursor: pointer; padding: 12px 2px 6px; color: var(--accent); font-weight: 700 }
.rhythm-tip { margin-top: 18px; padding: 20px clamp(18px,3vw,32px); border: 1px solid #d5e5df; border-radius: 18px; background: #edf7f3 }
.rhythm-tip div { display: flex; align-items: baseline; gap: 8px; color: #175f54 }
.rhythm-tip .ico { align-self: center }
.rhythm-tip p { max-width: 65ch }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding: 16px 0 22px; color: #52656b }
.foot-brand,.foot-links,.foot-links a,.policy-email { display: flex; align-items: center; gap: 8px }
.foot-links { gap: 6px 14px; flex-wrap: wrap }
.foot-links a,.policy-email { min-height: 44px; padding-inline: 6px; font-size: 14px; font-weight: 650 }
.foot-links a:hover,.foot-links a.active,.policy-email { color: var(--accent); text-decoration: underline; text-underline-offset: 4px }
.foot-links .ico { width: 16px; height: 16px }
.foot span { font-weight: 800 }
.privacy-page { max-width: 760px; margin-inline: auto }
.privacy-page .panel { padding: clamp(20px,4vw,42px) }
.privacy-page .policy-date { margin-top: 6px; color: var(--muted); font-size: 14px }
.privacy-page section { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 20px }
.privacy-page h2 { font-size: 21px; margin-bottom: 7px }
.privacy-page section p { color: #52656b; line-height: 1.8 }
.privacy-page section p+p { margin-top: 7px }
.policy-email { width: fit-content; padding-inline: 0 }
.inner { padding: 42px 0 58px; min-height: 65vh }
.inner h1 { font-size: clamp(30px,3.6vw,46px); line-height: 1.3; letter-spacing: -.062em }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 }
.filter { border: 1px solid var(--line); border-radius: 30px; background: white; padding: 7px 15px; font-size: 15px; font-weight: 650 }
.filter.on { color: white; background: var(--accent); border-color: var(--accent) }
.filter small { margin-left: 4px }
.back { margin-bottom: 18px }
.profile,.panel,.question { background: white; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px,3vw,32px) }
.profile { display: grid; grid-template-columns: minmax(180px,.75fr) 1.45fr; align-items: center; gap: 28px }
.profile-art { display: grid; place-items: center; padding: 20px; align-self: stretch; border-radius: 15px }
.profile-art img { width: min(100%,220px); mix-blend-mode: multiply }
.profile h1 { margin: 8px 0 4px }
.profile h2 { font-size: 21px; color: var(--tint) }
.profile p { margin-top: 13px; color: var(--muted) }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; font-size: 14px; font-weight: 650; color: var(--tint) }
.profile-cols { margin-top: 18px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px }
.panel h2 { font-size: 23px; margin-bottom: 15px }
.meter { margin-top: 15px }
.meter div,.quiz-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 15px }
.meter strong { color: var(--tint) }
.meter p { font-size: 14px; color: var(--muted); margin-top: 5px }
.relationship .trait { padding: 7px 0 12px }
.relationship .trait+.trait { border-top: 1px dashed var(--line); margin: 0; padding-top: 14px }
.story { margin-top: 18px; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px,4vw,54px); background: #f6faf9 }
.story-intro h3 { color: var(--tint); font-size: 21px; letter-spacing: -.045em; margin-bottom: 8px }
.story p { font-size: 16px; line-height: 1.8; color: #52656b }
.story-notes { padding-left: 24px; border-left: 1px solid var(--line) }
.story-notes h3 { display: flex; align-items: center; gap: 7px; font-size: 16px; margin-bottom: 4px }
.story-notes .ico { color: var(--tint) }
.story-notes>div+div { margin-top: 18px }
.track { display: block; height: 8px; background: #dee9e7; border-radius: 6px; overflow: hidden }
.track i { display: block; height: 100%; background: var(--tint); border-radius: inherit }
.trait+.trait { margin-top: 13px }
.trait h3 { font-size: 16px; color: #105c50 }
.trait p { color: var(--muted); font-size: 15px }
.quiz { max-width: 780px; margin-inline: auto }
.quiz-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px }
.quiz-heading h1 { font-size: clamp(28px,4vw,38px) }
.quiz-heading p { margin-top: 5px; color: var(--muted) }
.quiz-heading img { width: clamp(58px,10vw,82px); mix-blend-mode: multiply }
.quiz-top { color: var(--muted); font-size: 14px }
.quiz-top strong { color: var(--accent) }
.quiz progress { display: block; width: 100%; height: 7px; appearance: none; border: 0; border-radius: 6px; background: #deebe7; color: var(--accent); overflow: hidden; margin: 8px 0 20px }
.quiz progress::-webkit-progress-bar { background: #deebe7 }
.quiz progress::-webkit-progress-value { background: var(--accent); border-radius: 6px }
.quiz progress::-moz-progress-bar { background: var(--accent) }
.question-sheet { background: white; padding: clamp(18px,4vw,42px) clamp(12px,3vw,36px); border: 1px solid var(--line); border-radius: 22px; text-align: center }
.question-sheet h2 { font-size: clamp(21px,3vw,28px); line-height: 1.5; text-wrap: balance }
.question-sheet h2:focus { outline: none }
.scale-options { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: clamp(2px,1vw,10px); max-width: 560px; margin: 28px auto 0 }
.scale-choice { --ring: #69958b; --wash: #eff8f5; --size: 46px; display: grid; grid-template-rows: 60px auto; justify-items: center; align-items: center; align-content: start; gap: 6px; background: transparent; border: 0; padding: 0 1px 7px; border-radius: 10px; color: var(--muted); font-size: 14px; line-height: 1.4; font-weight: 650 }
.scale-choice:first-child { --ring: #177465; --size: 56px }
.scale-choice:nth-child(3) { --ring: #8b969a; --wash: #f5f7f7; --size: 36px }
.scale-choice:nth-child(n+4) { --ring: #897b9e; --wash: #f7f4fa }
.scale-choice:last-child { --ring: #77608f; --size: 56px }
.scale-dot { display: grid; place-items: center; width: min(100%,var(--size)); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--ring); background: var(--wash) }
.scale-choice[aria-pressed=true] .scale-dot { background: var(--ring) }
.scale-choice[aria-pressed=true] .scale-dot::after { content: ''; width: 7px; height: 14px; border: solid white; border-width: 0 3px 3px 0; transform: translateY(-2px) rotate(45deg) }
@media (hover:hover) { .scale-choice:hover .scale-dot { box-shadow: 0 0 0 3px var(--wash) } }
.quiz-controls { justify-content: space-between; margin-top: 16px }
.record-control { display: block; margin-top: 12px; padding: 8px 2px; min-height: 44px; border: 0; background: transparent; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 4px }
.record-control:disabled { opacity: .55 }
.empty { max-width: 640px; margin: 35px auto; text-align: center }
.empty img { width: 110px }
.empty .actions { justify-content: center }
.result-view { max-width: 1080px; margin: auto; padding-top: 28px }
.result-hero { display: grid; grid-template-columns: 1.25fr .8fr; align-items: center; gap: 25px; padding: clamp(24px,4vw,52px); border: 1px solid #d8e5e2; border-radius: 30px; background: linear-gradient(118deg,#f3faf8,#e0f4ed 67%,#d6edf0); overflow: hidden }
.result-label { display: inline-flex; align-items: center; gap: 7px; color: #105c50; font-size: 15px; font-weight: 800 }
.result-intro h1 { font-size: clamp(36px,4.4vw,64px); margin: 9px 0 2px; line-height: 1.16; letter-spacing: -.067em }
.pet-subtitle { color: var(--tint); font-size: clamp(17px,1.8vw,23px); font-weight: 750; letter-spacing: -.04em }
.best-traits { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 18px }
.best-traits span { font-size: 14px; color: #52656b }
.best-traits strong { font-size: 16px; background: #ffffff; padding: 2px 10px; border-radius: 8px; color: #105c50 }
.hero-reason { margin-top: 9px; max-width: 36em; color: #52656b }
.result-portrait { position: relative; width: min(100%,290px); justify-self: center; padding: 3% }
.portrait-disc { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: #ffffff; border: 2px solid white; border-radius: 48% 52% 46% 54% / 54% 46% 54% 46%; box-shadow: 0 7px 0 #9dbdb321 }
.portrait-disc img { width: 83%; mix-blend-mode: multiply }
.pet-group { position: absolute; bottom: -6px; padding: 6px 15px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid color-mix(in srgb,var(--tint) 35%,white); border-radius: 30px; background: color-mix(in srgb,var(--tint) 10%,white); color: var(--tint); font-weight: 800; font-size: 14px; transform: rotate(-4deg) }
.pet-group .ico { width: 15px; height: 15px }
.orbit-heart,.orbit-spark { position: absolute; display: grid; place-items: center; color: #9671a0; transform: rotate(14deg); top: 10%; right: 0 }
.orbit-heart .ico { width: 28px; height: 28px; fill: #edcfdf }
.orbit-spark { top: 64%; right: auto; left: -2%; transform: rotate(-12deg); color: #458879 }
.orbit-spark .ico { fill: #afe6d6; height: 26px; width: 26px }
.result-panels { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; margin-top: 18px }
.result-panels .panel { padding: clamp(20px,2.8vw,32px) }
.result-panels h2 { margin: 0 }
.panel-lead { font-size: 14px; color: var(--muted); margin: 4px 0 17px }
.reason-card { padding: 15px 18px; border-radius: 15px; background: #e0f4ee }
.reason-card+.reason-card { background: #f0eff9; margin-top: 10px }
.reason-head,.compare-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.reason-head { justify-content: space-between }
.reason-head h3 { display: inline-flex; align-items: center; gap: 7px; font-size: 17px; color: #105c50 }
.reason-card+.reason-card h3 { color: #59557a }
.reason-head span,.compare-name span { background: #fffc; color: #52656b; padding: 1px 8px; font-size: 12px; border-radius: 14px; font-weight: 700 }
.reason-card p { margin-top: 7px; line-height: 1.65; font-size: 16px }
.reason-card small { display: block; color: #52656b; font-size: 13px; margin-top: 6px }
.reason-card small i { font-style: normal; margin: 0 4px }
.answer-evidence { margin-top: 8px; font-size: 14px; color: #52656b }
.answer-evidence summary { cursor: pointer; width: fit-content; text-decoration: underline; text-underline-offset: 3px }
.answer-evidence p { font-size: 14px; margin: 5px 0 }
.compare-row+.compare-row { margin-top: 13px }
.compare-name { margin-bottom: 3px }
.compare-name span { background: #e0f4ee; color: #105c50 }
.score-line { display: grid; grid-template-columns: 2.1em 1fr 3.2em; align-items: center; gap: 7px; line-height: 1.45; font-size: 13px; color: #52656b }
.score-line b { text-align: right; font-variant-numeric: tabular-nums }
.rail { height: 7px; border-radius: 9px; background: #dee9e7; overflow: hidden }
.rail i { display: block; height: 100%; background: #298575; border-radius: inherit }
.score-line.pet .rail i { background: #837db6 }
.result-footer { margin-top: 18px; padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: #edf5f3; border-radius: 17px }
.result-footer p { font-weight: 650 }
.result-footer .actions { margin: 0 }
.example-note { color: #52656b; font-size: 14px; margin-bottom: 8px }
.result-empty { background: linear-gradient(155deg,#f3faf8,white 74%); border-color: #d8e5e2 }
.result-empty img { mix-blend-mode: multiply }
.btn,.top-cta { border-radius: 16px; box-shadow: 0 2px 0 #9dbdb321; transition: background .16s,box-shadow .16s,transform .16s }
.btn.primary { background: #177465; box-shadow: 0 3px 0 #105c50 }
.btn:not(:disabled):hover,.top-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 9px #387b6524 }
.btn:not(:disabled):active,.top-cta:active { transform: translateY(1px); box-shadow: none }
.btn { min-height: 48px }
.head nav a,.top-cta,.filter,.back,.text-link { min-height: 44px }
.hero h1 { margin-top: 0 }
.hero .actions .primary { min-height: 52px; min-width: 172px; padding-inline: 24px; font-size: 17px }
.section-head .text-link { background: #f6faf9; border: 1px solid var(--line); border-radius: 13px; padding-inline: 13px }
.filter { display: inline-flex; align-items: center }
@media(max-width:700px) {
  .result-hero { grid-template-columns: 1fr; gap: 11px; padding: 20px 21px 24px }
  .result-portrait { grid-row: 1; width: min(48%,165px); padding: 3px }
  .result-intro { text-align: center }
  .result-intro h1 { margin-top: 4px }
  .result-intro .actions,.best-traits { justify-content: center }
  .result-intro .btn { padding-inline: 12px }
  .result-panels { grid-template-columns: 1fr; gap: 12px }
  .result-footer { padding: 16px }
}
@media(max-width:950px) {
  .shell { width: calc(100% - 44px) }
  .hero { padding: 26px; gap: 6px }
  .hero .btn { padding-inline: 13px }
  .cards { gap: 12px }
  .card-text { padding: 11px 13px 14px }
  .card-text h3 { font-size: 18px }
}
@media(max-width:700px) {
  .shell { width: calc(100% - 32px) }
  .head { grid-template-columns: 1fr auto; gap: 10px; padding-block: 12px 9px }
  .brand { font-size: 22px; gap: 7px }
  .brand-mark { width: 38px; height: 38px }
  .head nav { grid-column: 1/-1; grid-row: 2; border-radius: 14px }
  .head nav a { flex: 1; padding: 5px 6px; border-radius: 10px }
  .header-tools { display: contents }
  #language { grid-column: 2; grid-row: 1; justify-self: end }
  .head-action { grid-column: 1/-1; grid-row: 3; justify-self: stretch }
  .head-action .top-cta { width: 100% }
  .top-cta { padding: 6px 11px }
  .hero { grid-template-columns: 1fr; margin-top: 16px; padding: 24px 22px 14px; border-radius: 20px }
  .hero h1 { font-size: clamp(39px,8.5vw,56px); margin: 12px 0 }
  .hero-print { width: min(93%,350px); margin: 16px 0 12px }
  .actions { margin-top: 16px }
  .section { padding: 26px 0 30px }
  .section-head { align-items: start }
  .section-head .lead { font-size: 14px }
  .text-link { font-size: 13px; margin-top: 5px }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .scene-layout { grid-template-columns: 1fr; gap: 10px }
  .scene-picker { grid-template-columns: 1fr 1fr }
  .scene-picker button { justify-content: center }
  .scene-pair { gap: 9px }
  .quiz-controls .btn { flex: 1 }
  .group-intro { gap: 10px; padding: 12px }
  .portrait { height: 145px; padding: 23px 9px 7px }
  .portrait img { max-height: 115px }
  .tag { font-size: 12px }
  .inner { padding: 26px 0 38px }
  .profile,.profile-cols { grid-template-columns: 1fr; gap: 16px }
  .story { grid-template-columns: 1fr }
  .story-notes { border-left: 0; border-top: 1px solid var(--line); padding: 15px 0 0 }
  .profile-art img { width: 145px }
  .filter { padding: 6px 11px }
}
@media(max-width:380px) {
  .head nav { gap: 2px }
  .head nav a { white-space: nowrap }
  .head nav .ico { display: none }
  .hero { padding-inline: 15px }
  .hero .btn { padding-inline: 10px; font-size: 14px }
  .cards { gap: 8px }
  .portrait .tag { top: 6px; left: 6px }
}
@media(max-width:500px) {
  .head { grid-template-columns: minmax(0,1fr) auto; gap: 7px }
  .brand { white-space: nowrap; font-size: clamp(18px,5.4vw,22px) }
  :lang(ja) .brand { white-space: normal; line-height: 1.2; letter-spacing: -.055em }
  .head-action .top-cta { white-space: nowrap; gap: 4px; padding-inline: 9px; font-size: 14px }
  .head-action .ico { display: none }
  .quiz-heading { margin-bottom: 16px }
  .quiz-heading p { text-wrap: pretty }
  .question-sheet h2 { min-height: 4.5em; display: grid; align-items: center }
  .scale-options { gap: 2px; margin-top: 14px }
  .scale-choice { font-size: clamp(13px,3.6vw,15px); padding-inline: 0; gap: 4px }
  .scale-choice > span:last-child { align-self: start; text-wrap: balance }
  .quiz-controls .btn:disabled { background: #e6eeec; color: #657572; border-color: #d5e2de; opacity: 1; box-shadow: none }
  .result-hero,.profile,.result-panels>* { min-width: 0 }
  .result-intro h1,.profile h1,.card-text h3 { overflow-wrap: anywhere; text-wrap: balance }
  .result-intro .actions > .btn { flex: 1 1 auto }
  .scene-pair { grid-template-columns: 1fr }
  .scene-pair article { display: grid; grid-template-columns: 54px 1fr; gap: 0 12px; padding: 12px 14px 4px }
  .scene-pair img { width: 54px; height: 54px; grid-row: 1/3 }
  .scene-pair h4 { margin: 0 0 4px }
  .scene-pair a { grid-column: 2 }
  .scene-pair p { font-size: 15px }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after { transition: none!important }
}
