.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.inner-page { display: flex; flex-direction: column; }
.inner-header { height: 82px; flex: 0 0 auto; border-bottom: 1px solid rgb(168 200 188 / 45%); background: var(--bg); }
.inner-header__row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.inner-header__back, .text-link { color: var(--teal); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.test-page { min-height: calc(100dvh - 82px); display: grid; place-items: center; position: relative; padding: 50px var(--page-pad); background: radial-gradient(circle at 10% 100%, rgb(178 201 202 / 32%), transparent 27%), radial-gradient(circle at 90% 20%, rgb(220 236 231 / 72%), transparent 26%), var(--bg); overflow: hidden; }
.sakura--test { top: 25px; right: -35px; left: auto; transform-origin: right top; }
.test-shell { position: relative; z-index: 2; overflow: hidden; width: min(100%, 760px); padding: clamp(28px, 5vw, 54px); border: 1px solid var(--border); border-radius: var(--radius-card); background: rgb(255 255 255 / 88%); box-shadow: var(--shadow); }
.test-shell__sakura { position: absolute; top: 0; right: 0; width: clamp(120px, 18vw, 190px); height: auto; pointer-events: none; }
.test-progress__meta { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; color: var(--secondary); font-size: .9rem; font-weight: 700; }
.test-question-number { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: var(--white); font-size: .82rem; }
.test-progress { position: relative; z-index: 1; height: 10px; margin-top: 10px; overflow: hidden; border-radius: 10px; background: var(--mint); }
.test-progress span { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--jade)); transform: scaleX(.2); transform-origin: left; transition: transform .35s ease; }
.test-shell__label { margin-top: 34px; color: var(--teal); font-size: .86rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.test-shell__context { position: relative; z-index: 1; margin-top: 28px; color: var(--secondary); font-size: .95rem; font-weight: 600; }
.test-shell__korean { position: relative; z-index: 1; margin-top: 10px; padding: 16px 20px; border-radius: 14px; background: var(--mint); color: var(--navy); font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 700; }
.test-shell__korean:empty { display: none; }
.test-shell h1 { position: relative; z-index: 1; margin-top: 22px; font-size: clamp(1.4rem, 3vw, 1.7rem); line-height: 1.3; letter-spacing: -.02em; }
.test-shell form { margin-top: 32px; }
.test-shell fieldset { padding: 0; border: 0; }
.answer-list { display: grid; gap: 12px; }
.answer-option { position: relative; display: flex; min-height: 60px; align-items: center; padding: 14px 18px; border: 2px solid var(--border); border-radius: 16px; background: var(--white); cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s; }
.answer-option:hover { border-color: var(--celadon); transform: translateY(-1px); }
.answer-option:has(input:checked) { border-color: var(--teal); background: var(--mint); box-shadow: inset 0 0 0 1px var(--teal); }
.answer-option input { width: 20px; height: 20px; flex: 0 0 auto; margin: 0 14px 0 0; accent-color: var(--teal); }
.answer-option span { font-weight: 600; }
.answer-letter { margin-right: 8px; color: var(--teal); }
.test-controls { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; }
.test-controls [data-next] { margin-left: auto; }
.test-controls .button { min-width: 150px; }

.result-section { min-height: 620px; display: grid; align-items: center; padding: clamp(60px, 8vw, 110px) 0; background: radial-gradient(circle at 8% 20%, rgb(220 236 231 / 72%), transparent 23%), var(--bg); }
.result-layout { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(44px, 8vw, 100px); }
.result-visual { aspect-ratio: 1; display: grid; place-items: center; position: relative; overflow: hidden; border: 2px solid var(--celadon); border-radius: 50%; background: radial-gradient(circle at 45% 38%, var(--white) 0 22%, var(--mint) 23% 58%, var(--blue-gray) 59% 100%); box-shadow: inset 0 0 0 18px rgb(255 255 255 / 48%), var(--shadow); }
.result-visual::before, .result-visual::after { content: ""; position: absolute; width: 100%; height: 36%; border-radius: 50%; background: rgb(23 58 94 / 13%); transform: rotate(-12deg) translate(-22%, 85%); }
.result-visual::after { background: rgb(72 165 138 / 28%); transform: rotate(14deg) translate(24%, 100%); }
.result-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.result-visual > span { position: relative; z-index: 2; color: var(--teal); font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 800; }
.result-visual small { position: absolute; z-index: 2; right: 0; bottom: 17%; left: 0; color: var(--navy); font-weight: 800; letter-spacing: .28em; text-align: center; }
.result-copy__score { color: var(--secondary); font-size: 1.05rem; }.result-copy__score strong { color: var(--teal); }
.result-copy h1 { max-width: 650px; margin-top: 14px; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.06; letter-spacing: -.045em; }
.result-copy > p:not(.result-copy__score):not(.result-copy__level) { max-width: 620px; margin-top: 24px; color: var(--secondary); font-size: 1.15rem; }
.result-copy__level { width: fit-content; margin: 30px 0 24px; padding: 12px 18px; border-radius: 14px; background: var(--mint); color: var(--navy); }
.result-empty { max-width: 680px; margin: 0 auto; text-align: center; }.result-empty h1 { font-size: clamp(2rem, 5vw, 3.5rem); }.result-empty p { margin: 18px 0 30px; color: var(--secondary); }
.result-application { padding: clamp(70px, 9vw, 120px) 0; background: var(--navy); color: var(--white); }
.result-application__grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(40px, 7vw, 86px); align-items: start; }
.result-application h2 { font-size: clamp(2rem, 3.35vw, 2.75rem); line-height: 1.08; }.result-application__grid > div > p { max-width: 430px; margin-top: 20px; color: var(--mint); }

.thanks-page { min-height: calc(100dvh - 82px); display: grid; place-items: center; padding: 50px var(--page-pad); background: radial-gradient(circle at 18% 80%, rgb(168 200 188 / 50%), transparent 28%), var(--bg); }
.thanks-card { width: min(100%, 760px); padding: clamp(36px, 7vw, 72px); border: 1px solid var(--border); border-radius: var(--radius-card); background: rgb(255 255 255 / 86%); box-shadow: var(--shadow); text-align: center; }
.thanks-card__mark { width: 82px; height: 82px; display: grid; place-items: center; margin: 0 auto 28px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: 2.5rem; font-weight: 800; }
.thanks-card h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.08; }.thanks-card p { max-width: 570px; margin: 20px auto 0; color: var(--secondary); font-size: 1.08rem; }.thanks-card__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.legal-page { flex: 1; padding: 64px 0 100px; }.legal-content { width: min(calc(100% - var(--page-pad) * 2), 820px); margin-inline: auto; overflow-wrap: anywhere; }.legal-content h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.08; }.legal-notice { margin: 28px 0 42px; padding: 20px 24px; border-left: 5px solid var(--teal); border-radius: 0 14px 14px 0; background: var(--mint); }.legal-content h2 { margin-top: 34px; font-size: 1.45rem; }.legal-content p { margin-top: 12px; color: var(--secondary); }.legal-content ul { margin: 12px 0 0 22px; list-style: disc; color: var(--secondary); }

@media (max-width: 820px) {
  .result-layout { grid-template-columns: 1fr; }.result-visual { width: min(100%, 420px); justify-self: center; }.result-copy { text-align: center; }.result-copy > p { margin-inline: auto; }.result-copy__level { margin-inline: auto; }
  .result-application__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .inner-header { height: 72px; }.inner-header__back { font-size: .85rem; }
  .test-page { min-height: calc(100dvh - 72px); padding-inline: 12px; }.test-shell { padding: 24px 18px; }.test-controls .button { min-width: 0; padding-inline: 22px; }
  .result-section { padding-top: 45px; }.result-visual { width: 88%; }.result-visual small { font-size: .7rem; }
  .thanks-page { min-height: calc(100dvh - 72px); padding-inline: 12px; }.thanks-card__actions .button { width: 100%; }
}
