/* Result pages: illustrated cards, high-contrast reading, and the actual book. */
.result-view { max-width: 1064px; padding: 40px 28px 0; }
.result-experience { --result-ink: #172b3b; --result-body: #344b5a; }
.result-heading { text-align: center; margin-bottom: 28px; }
.result-heading p { color: #b9cbd9; font-size: 16px; }
.result-heading h1 { font-size: 30px; line-height: 1.45; margin-top: 8px; letter-spacing: -1px; color: #f3f7fa; }
.result-sheet { display: grid; grid-template-columns: 43% 57%; background: #d3dee4; color: var(--result-ink); border: 1px solid #9db1bd; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 48px #0003; }
.result-art { position: relative; min-width: 0; overflow: hidden; background: #8ed3e2; }
.result-art-window { width: 100%; height: 100%; position: relative; overflow: hidden; }
.result-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Keep White's printed panel rule below the visible card edge. */
.result-art--white img { transform: scale(1.02); transform-origin: center top; }
.result-sheet > .result-art { aspect-ratio: 1; align-self: center; }
.result-sheet > .result-art--black img { object-position: center 20%; }
.result-partner .result-art--mint-pink { display: flex; align-items: center; background: #84d6e7; }
.result-partner .result-art--mint-pink .result-art-window { aspect-ratio: 7 / 4; height: auto; }
.result-partner .result-art--mint-pink img { position: absolute; width: 171.429%; height: auto; max-width: none; left: -35.714%; top: -35%; }
.result-profile { padding: 34px 34px 30px; position: relative; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(140deg, #d5dfe5 30%, color-mix(in srgb, var(--hunter-tint) 25%, #cad6de)); }
.result-type-label { color: #405767; font-size: 16px; font-weight: 700; }
.result-profile h2 { font-size: clamp(42px, 5vw, 64px); font-weight: 900; line-height: 1.3; letter-spacing: -2.5px; margin: 8px 0 13px; position: relative; z-index: 1; }
.result-profile-role { color: #344b5a; font-size: 18px; line-height: 1.7; max-width: 21em; word-break: keep-all; }
.result-profile :is(blockquote, .result-action-line) { margin: 24px 0 18px; font-size: 22px; line-height: 1.65; font-weight: 800; letter-spacing: -.5px; word-break: keep-all; }
.result-keywords { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 0; margin: 0; list-style: none; font-size: 14px; font-weight: 500; color: #405767; }
.result-emblem { position: absolute; top: 18px; right: 24px; font: 500 38px/1 sans-serif; color: var(--hunter-accent); }
.result-traits { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); padding: 20px 14px; border-top: 1px solid #d2dde3; background: #c3d0d9; }
.result-traits span { padding: 0 12px; text-align: center; font-size: 15px; line-height: 1.7; font-weight: 700; word-break: keep-all; }
.result-traits span + span { border-left: 1px solid #c4d2db; }
.result-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 6px; }
.result-controls .primary, .result-controls .secondary { min-height: 58px; padding: 15px 22px; font-size: 17px; font-weight: 700; border-radius: 8px; box-shadow: none; }
.result-controls .primary { color: #102e37; }
.result-controls [data-action="share"], .result-bottom [data-action="share"] { justify-content: center; text-align: center; }
.result-controls .secondary, .result-bottom .secondary { color: #e5edf4; background: #152b3d; border-color: #668397; }
.result-controls .secondary:hover, .result-bottom .secondary:hover { background: #234458; }
.result-retry { text-align: center; margin-bottom: 26px; }
.result-retry .text-button, .result-bottom .text-button { font-size: 16px; color: #c4d4df; min-height: 44px; }
.book-shortcut { width: 100%; display: flex; align-items: center; gap: 20px; background: #163548; border: 1px solid #42637a; border-radius: 10px; padding: 12px 26px; text-align: left; margin-bottom: 30px; color: #eef7fa; }
.book-shortcut:hover { background: #20465b; }
.book-shortcut img { width: 48px; height: 67px; object-fit: contain; flex-shrink: 0; }
.book-shortcut small { display: block; color: #b9d3e0; font-size: 14px; margin-bottom: 4px; }
.book-shortcut strong { font-size: 19px; line-height: 1.6; letter-spacing: -.4px; }
.book-shortcut > span:last-child { margin-left: auto; font-size: 26px; }
.reading-sheet { background: #d0dbe1; color: var(--result-ink); border-radius: 14px; padding: 38px; }
.section-kicker { font-size: 15px; font-weight: 700; color: #486374; }
.reading-lead h2 { font-size: 28px; line-height: 1.55; margin: 7px 0 16px; letter-spacing: -1px; }
.reading-lead > p:last-child { font-size: 19px; color: #263e4d; line-height: 1.9; word-break: keep-all; max-width: 42em; }
.reading-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 30px; padding-top: 28px; border-top: 1px solid #c9d7df; }
.reading-number { display: block; font-size: 15px; font-weight: 800; color: #4c6576; margin-bottom: 8px; }
.reading-grid h3 { font-size: 19px; line-height: 1.6; margin-bottom: 10px; letter-spacing: -.5px; }
.reading-grid p { font-size: 17px; line-height: 1.9; word-break: keep-all; color: #344b5a; }
.reading-sheet .choice-evidence { margin: 32px 0 0; background: #bfced7; border: 1px solid #9eB3c0; border-radius: 10px; padding: 25px 28px; }
.reading-sheet .choice-evidence h3 { font-size: 20px; line-height: 1.6; color: #183748; margin: 0 0 20px; }
.reading-sheet .choice-evidence > div { border-left: 3px solid #517b90; padding-left: 15px; margin: 20px 0; }
.reading-sheet .choice-evidence small { font-size: 14px; color: #426071; }
.reading-sheet .choice-evidence > div p { color: #172f40; font-size: 17px; font-weight: 600; line-height: 1.8; }
.reading-sheet .evidence-explanation { color: #344f60; font-size: 16px; line-height: 1.9; margin-top: 22px; }
.reading-sheet .evidence-explanation b { color: #203e50; font-weight: 700; }
.reading-sheet .mixed-note { color: #426071; font-size: 15px; border-color: #b5cbd7; }
.original-character { padding: 28px 0; margin-top: 8px; }
.original-character h3 { font-size: 22px; letter-spacing: -.6px; margin: 7px 0 10px; }
.original-character > p { color: #344b5a; font-size: 17px; line-height: 1.9; word-break: keep-all; }
.reading-sheet .psych-note { margin: 0; padding-top: 22px; border-color: #c3d2dc; }
.reading-sheet .psych-note summary { color: #213e50; font-size: 17px; font-weight: 700; line-height: 1.7; }
.reading-sheet .psych-note h3 { color: #213e50; font-size: 18px; }
.reading-sheet .psych-note p { color: #344b5a; font-size: 17px; }
.reading-sheet .psych-example { margin: 23px 0 20px; padding-left: 17px; border-left: 3px solid #6b9397; }
.reading-sheet .psych-example > span { display: block; color: #395d6b; font-size: 15px; font-weight: 700; line-height: 1.7; }
.reading-sheet .psych-example blockquote { margin: 10px 0; color: #173b4b; font-size: 18px; font-weight: 700; line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
.reading-sheet .psych-example p { margin: 0; }
.reading-sheet .psych-source { display: inline-block; padding: 8px 0; color: #285366; font-size: 15px; line-height: 1.7; text-decoration: underline; text-underline-offset: 4px; }
.reading-sheet .psych-source:hover { color: #123746; }
.reading-sheet .psych-source:focus-visible { outline: 2px solid #24677c; outline-offset: 4px; }
.reading-sheet .psych-note small { color: #466273; font-size: 15px; }
.reading-sheet summary:focus-visible { outline-color: #24677c; }
.result-partner { display: flex; align-items: center; gap: 26px; padding: 24px; margin: 22px 0 42px; border: 1px solid #405c71; border-radius: 12px; background: #102233; }
.result-partner > .result-art { width: 136px; height: 136px; border-radius: 50%; flex-shrink: 0; border: 4px solid #c0d3df; }
.result-partner > .result-art--black img { transform: scale(1.08); transform-origin: left center; }
.result-partner > div:last-child > p:first-child { color: #b4d3df; font-size: 15px; }
.result-partner h2 { font-size: 26px; letter-spacing: -.7px; margin: 6px 0 10px; color: #f0f6f8; }
.result-partner > div:last-child > p:last-child { color: #c9d8e2; font-size: 17px; line-height: 1.85; word-break: keep-all; }
.book-feature { border-radius: 16px; border: 1px solid #456780; background: radial-gradient(ellipse at 19% 25%, #224b68, transparent 49%), #10283a; overflow: hidden; scroll-margin-top: 24px; }
.book-feature-main { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); padding: 44px 40px 34px; gap: 25px; }
.book-display { align-self: center; position: relative; transform: translateX(-40px); }
.book-display img { width: 100%; max-width: 300px; height: auto; object-fit: contain; margin: auto; filter: drop-shadow(10px 20px 16px #0007); transform: perspective(900px) rotateX(var(--book-tilt-x, 0deg)) rotateY(var(--book-tilt-y, 0deg)) rotateZ(-5deg); transform-origin: center; transition: transform 420ms cubic-bezier(.2, .7, .2, 1); user-select: none; -webkit-user-drag: none; }
.book-display.is-tilting img { transition-duration: 160ms; }
@media (prefers-reduced-motion: reduce) {
  .book-display img { transform: rotate(-5deg); transition: none; }
}
.book-pitch { align-self: center; }
.book-brand { color: #f39fb0; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.book-pitch h2 { color: #f7fafc; font-family: 'Noto Serif KR',serif; font-size: 40px; font-weight: 900; letter-spacing: -1.8px; line-height: 1.45; white-space: nowrap; }
.book-pitch h2 span { display: inline-grid; place-items: center; width: 39px; height: 39px; border: 2px solid #a5d5e3; border-radius: 50%; font: 700 27px/1 'Noto Sans KR',sans-serif; margin-left: 5px; vertical-align: 3px; }
.book-pitch h3 { font-size: 25px; font-weight: 800; line-height: 1.6; letter-spacing: -.6px; color: #a8eee9; margin-top: 23px; }
.book-pitch > p:not(.book-brand) { color: #d2e1eb; font-size: 17px; line-height: 1.9; margin-top: 15px; }
.book-buy { margin-top: 28px; padding-top: 22px; border-top: 1px solid #426a7c; }
.book-buy > p { margin: 0; color: #b3f5e9; font-size: 24px; font-weight: 800; line-height: 1.4; letter-spacing: -.5px; word-break: keep-all; }
.book-feature .bookstore-links { margin-top: 16px; gap: 10px; }
.book-feature .store-link { justify-content: center; text-align: center; min-height: 56px; background: #c8e2df; color: #12313c; border: 1px solid #c8e2df; border-radius: 6px; padding: 14px 15px; font-size: 18px; font-weight: 800; }
.book-feature .store-link:hover { background: #b6eeeb; border-color: #b6eeeb; color: #12323e; }
.book-scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 0 32px 32px; }
.book-scenes figure { margin: 0; border: 1px solid #46677b; border-radius: 8px; overflow: hidden; background: #0d2130; }
.book-scenes img { width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; object-position: center; }
.book-scenes figcaption { padding: 16px 18px 18px; }
.book-scenes b { display: block; color: #f0f6fa; font-size: 17px; line-height: 1.65; }
.book-scenes figcaption span { display: block; margin-top: 4px; color: #bdd1df; font-size: 15px; line-height: 1.7; }
.result-bottom { display: grid; justify-items: center; gap: 12px; margin-top: 30px; }
.result-bottom .secondary { max-width: 460px; min-height: 55px; font-size: 16px; border-radius: 7px; }
.result-view .result-disclaimer { color: #b1c2ce; font-size: 14px; line-height: 1.9; margin-top: 22px; }
.book-landing { max-width: 1064px; padding: 34px 28px 0; }
.book-page-heading { text-align: center; font-size: 30px; margin-bottom: 30px; }
.book-landing > .primary { max-width: 460px; margin: 25px auto; }
@media (max-width: 800px) {
  .result-profile { padding: 28px 24px; }
  .result-profile h2 { font-size: 46px; }
  .result-profile :is(blockquote, .result-action-line) { font-size: 20px; margin-top: 18px; }
  .result-emblem { top: 14px; right: 16px; font-size: 30px; }
  .reading-sheet { padding: 30px; }
  .reading-grid { grid-template-columns: 1fr; gap: 24px; }
  .reading-grid section { padding-left: 42px; position: relative; }
  .reading-number { position: absolute; left: 0; top: 4px; }
  .book-feature-main { padding: 32px 28px; gap: 20px; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
  .book-display { transform: translateX(-28px); }
  .book-pitch h2 { font-size: 33px; }
  .book-pitch h3 { font-size: 22px; }
}
@media (max-width: 600px) {
  .result-view { padding: 27px 18px 0; }
  .result-heading { margin-bottom: 22px; }
  .result-heading h1 { font-size: 27px; }
  .result-heading p { font-size: 15px; }
  .result-sheet { display: flex; flex-direction: column; border-radius: 12px; }
  .result-sheet > .result-art { width: 100%; max-height: none; aspect-ratio: 1.22; }
  .result-profile { padding: 27px 24px 24px; }
  .result-profile h2 { font-size: 46px; letter-spacing: -2px; margin: 6px 0 12px; }
  .result-profile-role { font-size: 17px; }
  .result-profile :is(blockquote, .result-action-line) { font-size: 21px; margin: 20px 0 18px; }
  .result-type-label { font-size: 15px; }
  .result-emblem { top: 23px; right: 22px; }
  .result-traits { display: flex; flex-wrap: wrap; gap: 8px 0; padding: 17px 18px; }
  .result-traits span { font-size: 14px; padding: 0 10px; border-left: 2px solid #acbfca; text-align: left; }
  .result-controls { gap: 9px; margin-top: 18px; }
  .result-controls .primary, .result-controls .secondary { padding: 13px 12px; min-height: 56px; font-size: 15px; justify-content: center; gap: 8px; }
  .result-controls .primary > span { font-size: 18px; }
  .book-shortcut { gap: 15px; padding: 13px 17px; margin-bottom: 23px; }
  .book-shortcut small { font-size: 13px; }
  .book-shortcut strong { font-size: 17px; }
  .book-shortcut img { width: 40px; height: 55px; }
  .book-shortcut > span:last-child { font-size: 22px; }
  .reading-sheet { padding: 27px 23px; border-radius: 12px; }
  .reading-lead h2 { font-size: 25px; }
  .reading-lead > p:last-child { font-size: 18px; line-height: 1.9; }
  .reading-grid { margin-top: 25px; padding-top: 23px; gap: 28px; }
  .reading-grid section { padding-left: 0; }
  .reading-number { position: static; margin-bottom: 5px; font-size: 14px; }
  .reading-grid h3 { font-size: 19px; }
  .reading-grid p { font-size: 17px; }
  .reading-sheet .choice-evidence { margin: 28px -7px 0; padding: 22px 18px; }
  .reading-sheet .choice-evidence h3 { font-size: 19px; word-break: keep-all; }
  .reading-sheet .choice-evidence > div p { font-size: 17px; }
  .original-character { padding: 25px 0; }
  .original-character h3 { font-size: 21px; }
  .result-partner { gap: 17px; padding: 22px 20px; margin: 20px 0 30px; align-items: flex-start; flex-wrap: wrap; }
  .result-partner > .result-art { width: 82px; height: 82px; border-width: 3px; }
  .result-partner > div:last-child { flex: 1; min-width: 155px; }
  .result-partner h2 { font-size: 24px; }
  .result-partner > div:last-child > p:first-child { font-size: 14px; }
  .result-partner > div:last-child > p:last-child { font-size: 16px; }
  .book-feature { border-radius: 12px; }
  .book-feature-main { display: flex; flex-direction: column; padding: 32px 25px 27px; gap: 27px; }
  .book-display { transform: translateX(-16px); }
  .book-display img { width: 210px; }
  .book-pitch { padding: 0; width: 100%; }
  .book-brand { font-size: 15px; }
  .book-pitch h2 { font-size: 35px; }
  .book-pitch h2 span { width: 34px; height: 34px; font-size: 24px; }
  .book-pitch h3 { font-size: 24px; margin-top: 20px; }
  .book-pitch > p:not(.book-brand) { font-size: 17px; }
  .book-buy { margin-top: 25px; padding-top: 20px; }
  .book-buy > p { font-size: 22px; }
  .book-feature .store-link { font-size: 18px; padding: 13px 10px; min-height: 56px; }
  .book-scenes { grid-template-columns: 1fr; padding: 0 22px 25px; gap: 18px; }
  .book-scenes figcaption { padding: 14px 16px; }
  .result-bottom .secondary { font-size: 15px; padding: 14px 12px; }
  .result-view .result-disclaimer { font-size: 13px; }
  .book-landing { padding: 27px 18px 0; }
  .book-page-heading { font-size: 25px; }
}
@media (max-width: 360px) {
  .result-view { padding-left: 14px; padding-right: 14px; }
  .result-profile { padding-left: 20px; padding-right: 20px; }
  .result-profile h2 { font-size: 42px; }
  .result-controls .primary, .result-controls .secondary { font-size: 14px; padding-left: 8px; padding-right: 8px; }
  .book-shortcut { padding-left: 12px; padding-right: 12px; gap: 10px; }
  .book-shortcut strong { font-size: 15px; }
  .book-shortcut small { font-size: 12px; }
  .reading-sheet { padding-left: 21px; padding-right: 21px; }
  .book-feature-main { padding-left: 22px; padding-right: 22px; }
  .book-pitch h2 { font-size: 30px; }
  .book-pitch h3 { font-size: 22px; }
}
