:root {
  --paper: #faf8f2;
  --ink: #253f37;
  --muted: #7b8277;
  --line: #e3e5da;
  --orange: #ea7958;
  --sage: #e8eddd;
  --result-color: #536b4c;
  --result-soft: #edf0e4;
  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
button, input { border-radius: 0; }
button { appearance: none; }
img { display: block; max-width: 100%; }
svg { display: inline-block; vertical-align: middle; flex: 0 0 auto; }
button svg, a svg { pointer-events: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #e8a98c; outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: #f2d1bc; }
#app { min-height: 100svh; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip: rect(0, 0, 0, 0); overflow: hidden; white-space: nowrap; }

/* One calm, familiar frame around every test. */
.site-header { position: sticky; top: 0; z-index: 30; background: rgb(250 248 242 / 95%); border-bottom: 1px solid rgb(37 63 55 / 8%); backdrop-filter: blur(16px); }
.header-inner { height: 76px; max-width: 1140px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 46px; }
.wordmark { display: inline-flex; align-items: center; gap: 5px; font-family: Georgia, 'Times New Roman', serif; font-size: 37px; line-height: 1; font-weight: 700; letter-spacing: -2.2px; padding: 7px 0 11px; }
.wordmark-dot { color: var(--orange); font-family: var(--font); font-size: 21px; font-weight: 500; line-height: 1; margin: 9px 0 0 3px; letter-spacing: 0; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.icon-button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: 50%; }
.icon-button:hover { background: var(--sage); }
.icon-button svg { width: 21px; height: 21px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.site-nav a, .site-nav button { padding: 13px 0; min-height: 44px; color: var(--muted); background: transparent; border: 0; font-size: inherit; font-weight: inherit; }
.site-nav a.is-active { color: var(--ink); }
.page { max-width: 1140px; margin: 0 auto; padding: 46px 32px 70px; }
.home-page { padding-top: 42px; }
.intro-copy { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 30px; }
.eyebrow { display: block; font-size: 10px; font-weight: 700; line-height: 1.6; letter-spacing: 2.6px; text-transform: uppercase; color: #87907d; }
.intro-title { margin: 10px 0 0; font-size: 38px; line-height: 1.35; letter-spacing: -1.8px; font-weight: 700; }
.intro-title em { color: var(--orange); font-style: normal; }
.intro-description { margin: 0 0 4px; max-width: 230px; font-size: 13px; line-height: 1.8; color: var(--muted); letter-spacing: -.2px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 34px 0 17px; }
.section-title { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -.65px; line-height: 1.4; }
.section-title small { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 8px; }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; background: none; border: 0; padding: 0; font-size: 12px; color: #778271; }
.text-link svg { width: 15px; height: 15px; }

/* Cover story, then an uncluttered shelf of tests. */
.featured-card { position: relative; display: grid; grid-template-columns: 1.07fr 1fr; min-height: 350px; overflow: hidden; border-radius: 22px; background: #e9eedc; isolation: isolate; transition: transform .22s ease, box-shadow .22s ease; }
a.featured-card:hover, button.featured-card:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgb(45 66 43 / 8%); }
.featured-art { position: relative; display: block; width: 100%; height: 100%; min-height: 350px; object-fit: cover; background: #e7ecdc; }
.featured-art img { width: 100%; height: 100%; object-fit: cover; }
.featured-copy { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-kicker { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; font-size: 10px; font-weight: 650; letter-spacing: 1.2px; }
.featured-kicker::before { display: none; content: ''; width: 5px; height: 5px; border-radius: 50%; background: #6d855a; }
.featured-title { font-size: 34px; line-height: 1.4; font-weight: 650; letter-spacing: -1.4px; margin: 15px 0 12px; }
.featured-copy > p { color: #687761; font-size: 13px; line-height: 1.85; margin: 0; }
.featured-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 30px; font-size: 12px; color: #596e53; }
.featured-footer > svg { width: 38px; height: 38px; border-radius: 50%; padding: 10px; background: var(--ink); color: white; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; line-height: 1.4; font-weight: 600; letter-spacing: .15px; border-radius: 30px; padding: 7px 11px; background: rgb(255 255 255 / 65%); color: #52664b; }
.category-list { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 2px 0 11px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.category-list::-webkit-scrollbar { display: none; }
.category-chip { flex-shrink: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 30px; padding: 9px 17px; background: transparent; color: #75816e; font-size: 12px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.category-chip:hover { border-color: #9ead94; }
.category-chip.is-active { background: var(--ink); color: #fffdf7; border-color: var(--ink); }
.search-panel { margin: 0 0 25px; position: relative; }
.search-input { display: block; width: 100%; border: 1px solid var(--line); border-radius: 13px; background: #fffdf9; padding: 15px 18px; font-size: 14px; color: var(--ink); }
.search-input::placeholder { color: #969b8f; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 29px 24px; margin-top: 12px; }
.test-card { display: block; position: relative; background: transparent; border: 0; padding: 0; min-width: 0; text-align: left; }
.card-image-wrap { display: block; padding: 0; border: 0; position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 17px; background: #e9eadd; }
.card-image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.test-card:hover .card-image { transform: scale(1.035); }
.card-badge { position: absolute; top: 13px; left: 13px; max-width: calc(100% - 26px); background: #fffdf6; border-radius: 20px; padding: 6px 9px; color: #5f7353; font-size: 9px; font-weight: 650; letter-spacing: .4px; }
.card-body { padding: 14px 2px 0; }
.card-title { margin: 0; font-size: 16px; line-height: 1.5; letter-spacing: -.5px; font-weight: 650; word-break: keep-all; }
.card-subtitle { font-size: 12px; color: var(--muted); line-height: 1.65; margin: 5px 0 0; word-break: keep-all; }
.card-meta { display: flex; align-items: center; gap: 5px; color: #8b9386; font-size: 10px; margin-top: 10px; }
.card-meta svg { width: 12px; height: 12px; }
.soon-label { color: #8b9386; font-size: 10px; display: inline-flex; align-items: center; gap: 5px; }
.soon-label::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #a1ab95; }
.empty-state { padding: 65px 20px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.85; grid-column: 1 / -1; }
.site-footer { flex-wrap: wrap; max-width: 1076px; margin: 35px auto 0; border-top: 1px solid var(--line); padding: 25px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #8a9282; font-size: 11px; line-height: 1.8; }
.site-footer p { margin: 0; }

/* Invitation page. */
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 25px; color: #84907c; font-size: 11px; }
.breadcrumb svg { width: 13px; height: 13px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 65px; }
.detail-art { position: relative; overflow: hidden; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; background: #e8eddd; }
.detail-art img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.detail-copy { padding: 10px 0; }
.detail-title { font-size: 38px; line-height: 1.4; font-weight: 650; letter-spacing: -1.7px; margin: 17px 0; word-break: keep-all; }
.detail-description { font-size: 14px; line-height: 1.95; color: #76816f; margin: 0 0 22px; word-break: keep-all; }
.meta-row { display: flex; align-items: center; gap: 14px; font-size: 12px; color: #77826f; margin: 18px 0; }
.meta-row > span { display: inline-flex; align-items: center; gap: 5px; }
.meta-row svg { width: 15px; height: 15px; }
.tag-row { display: flex; gap: 7px; flex-wrap: wrap; margin: 18px 0 25px; }
.tag { font-size: 10px; font-weight: 500; color: #849078; background: #edf0e5; padding: 6px 10px; border-radius: 6px; }
.primary-button, .secondary-button, .ghost-button { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; border-radius: 13px; border: 1px solid transparent; padding: 14px 22px; font-size: 14px; font-weight: 600; line-height: 1.4; transition: background .2s, transform .2s, border-color .2s; text-align: center; }
.primary-button { background: var(--ink); color: #fffdf7; border-color: var(--ink); }
.primary-button:hover { background: #345446; border-color: #345446; }
.primary-button:active, .secondary-button:active, .answer-button:active { transform: scale(.985); }
.secondary-button { background: #fffdf7; border-color: #dce1d1; color: var(--ink); }
.secondary-button:hover { background: #edf0e5; }
.ghost-button { background: transparent; color: #7f8976; border-color: transparent; }
.ghost-button:hover { background: #edf0e5; }
.primary-button svg, .secondary-button svg, .ghost-button svg { width: 18px; height: 18px; }
.button-row { display: flex; gap: 9px; align-items: center; }
.button-row > .primary-button { flex: 1; }
.button-row .icon-button, .button-row .secondary-button.icon-button { height: 52px; width: 52px; min-width: 52px; padding: 0; border: 1px solid #dce1d1; border-radius: 13px; }
.saved { color: var(--orange) !important; }
.detail-note { text-align: center; color: #979e8e; font-size: 10px; line-height: 1.8; margin: 12px 0 0; }
.detail-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.detail-fact { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 5px 10px; text-align: center; font-size: 11px; line-height: 1.5; color: #87917c; }
.detail-fact + .detail-fact { border-left: 1px solid var(--line); }
.detail-fact strong { font-size: 15px; font-weight: 650; color: var(--ink); }

/* The quiet walk: no competing navigation inside a question. */
.quiz-page { max-width: 680px; padding-top: 30px; }
.quiz-shell { min-height: 100svh; background: #f0f2e8; }
.quiz-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; max-width: 680px; margin: 0 auto; padding: 0 32px; }
.quiz-back { width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); border-radius: 50%; flex-shrink: 0; }
.quiz-back svg { width: 16px; height: 16px; }
.quiz-back:disabled { opacity: .3; }
.quiz-progress-label { flex: 1; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #88927e; letter-spacing: .35px; }
.quiz-progress-label strong { color: var(--ink); font-weight: 600; }
.progress-track { height: 3px; border-radius: 10px; background: #e5e9dc; overflow: hidden; margin-top: 17px; }
.progress-fill { height: 100%; border-radius: inherit; background: #98aa84; transition: width .35s ease; }
.quiz-stage { position: relative; text-align: center; padding-top: 25px; }
.scene-label { display: inline-block; color: #879478; font-size: 10px; letter-spacing: 2px; font-weight: 500; text-transform: uppercase; margin-bottom: 14px; }
.quiz-number { display: block; font-family: Georgia, serif; font-style: italic; font-size: 17px; color: #b1b8a6; margin: 0 0 14px; }
.question-title { max-width: 520px; margin: 0 auto; min-height: 78px; font-size: 29px; font-weight: 600; line-height: 1.5; letter-spacing: -1px; word-break: keep-all; text-wrap: balance; }
.answers { display: flex; flex-direction: column; gap: 11px; margin: 30px auto 0; max-width: 520px; text-align: left; }
.answer-button { display: flex; align-items: center; gap: 16px; min-height: 78px; border: 1px solid #dce2d1; border-radius: 15px; padding: 19px 20px; background: #fffdf8; font-size: 14px; line-height: 1.65; text-align: left; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.answer-button:hover { background: #f0f3e8; border-color: #a4b495; box-shadow: 0 3px 14px rgb(68 87 51 / 4%); }
.answer-button.is-selected, .answer-button.selected, .answer-button[aria-pressed=true] { background: #e6eddc; border-color: #839b70; }
.answer-letter { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; flex: 0 0 29px; border-radius: 50%; background: #f0f2e9; color: #89967c; font-family: Georgia, serif; font-size: 12px; }
.answer-text { flex: 1; word-break: keep-all; }
.answer-arrow { flex: 0 0 auto; color: #9caa91; width: 16px; height: 16px; }
.quiz-scene { position: relative; display: block; width: 190px; height: 150px; object-fit: cover; object-position: center; margin: 0 auto 23px; border-radius: 50% 50% 45% 45%; opacity: .92; }
.quiz-scene img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.quiz-small-note { color: #a1a893; font-size: 10px; letter-spacing: .1px; margin: 18px 0 0; line-height: 1.7; }
.quiz-ornament { position: absolute; right: -22px; top: 10px; color: #a8b897; font-size: 30px; transform: rotate(12deg); }

/* A result worth keeping. */
.result-page { max-width: 850px; padding-top: 35px; }
.result-heading { text-align: center; margin-bottom: 25px; }
.result-title { font-size: 17px; font-weight: 500; line-height: 1.6; letter-spacing: -.5px; margin: 9px 0 0; }
.result-card { position: relative; overflow: hidden; max-width: 500px; margin: 0 auto; border-radius: 20px; border: 1px solid #dce2d1; background: #fffdf8; text-align: center; box-shadow: 0 8px 25px rgb(53 72 45 / 3%); }
.result-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 26px 22px 0; margin-bottom: 24px; }
.result-eyebrow { font-size: 10px; line-height: 1.8; letter-spacing: 1.6px; color: var(--result-color); font-weight: 500; }
.result-name { font-size: 31px; letter-spacing: -1.1px; line-height: 1.4; margin: 10px 0 6px; color: var(--result-color); font-weight: 650; word-break: keep-all; }
.result-quote { display: block; padding: 0 16px; font-size: 12px; line-height: 1.8; color: #7d8973; margin: 0 auto; max-width: 330px; word-break: keep-all; }
.result-art { width: 100%; aspect-ratio: 1.12; object-fit: cover; object-position: center; background: var(--result-soft); margin: 20px 0 0; }
.result-art img { width: 100%; height: 100%; object-fit: cover; }
.trait-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; padding: 20px 22px 21px; }
.trait-chip { display: inline-flex; align-items: center; border-radius: 30px; padding: 7px 12px; font-size: 10px; line-height: 1.5; color: var(--result-color); background: var(--result-soft); white-space: nowrap; }
.result-card-footer { padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #e5e8dc; color: #97a18b; font-size: 8px; letter-spacing: .8px; text-transform: uppercase; }
.result-card-footer strong { font-family: Georgia, serif; font-size: 19px; color: var(--result-color); letter-spacing: -1px; }
.result-actions { max-width: 500px; margin: 18px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.result-actions .primary-button, .result-actions .secondary-button { padding: 13px 12px; font-size: 12px; }
.share-note { max-width: 500px; text-align: center; margin: 10px auto 0; font-size: 10px; line-height: 1.7; color: #929d86; }
.result-section { max-width: 580px; margin: 36px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.result-section-title { margin: 0 0 17px; font-size: 19px; letter-spacing: -.6px; line-height: 1.5; font-weight: 650; }
.result-description { color: #6f7c65; font-size: 14px; line-height: 1.95; word-break: keep-all; }
.result-description p { margin: 0 0 13px; }
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.insight-card { padding: 22px 20px; background: #f0f2e8; border-radius: 13px; }
.insight-card > svg { color: #879c74; width: 19px; height: 19px; margin-bottom: 10px; }
.insight-card h3 { font-size: 12px; font-weight: 650; margin: 0 0 10px; color: #5b734e; }
.insight-card p { font-size: 12px; line-height: 1.85; color: #7c8971; margin: 0; word-break: keep-all; }
.match-card { display: flex; align-items: center; gap: 20px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #fffdf8; text-align: left; width: 100%; }
.match-image { width: 90px; height: 90px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.match-copy { flex: 1; min-width: 0; }
.match-copy > span { font-size: 10px; color: #8a967e; }
.match-copy h2, .match-copy h3, .match-copy strong { display: block; margin: 7px 0; font-size: 16px; font-weight: 650; letter-spacing: -.5px; }
.match-copy p { margin: 0; font-size: 11px; color: #87927c; line-height: 1.7; }
.all-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.type-mini { min-width: 0; padding: 0; text-align: center; border: 0; background: transparent; }
.type-mini img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 13px; }
.type-mini span, .type-mini strong { display: block; font-size: 10px; line-height: 1.6; margin-top: 9px; font-weight: 500; color: #718363; word-break: keep-all; }
.type-mini.is-active img { outline: 2px solid var(--result-color); outline-offset: 3px; }

/* A small, tactile sharing sheet. */
.modal-backdrop { position: fixed; z-index: 100; inset: 0; background: rgb(27 44 35 / 34%); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 25px; animation: veil-in .18s ease both; }
.share-sheet { position: relative; background: var(--paper); width: 100%; max-width: 430px; max-height: calc(100svh - 50px); overflow-y: auto; padding: 25px; border-radius: 24px; box-shadow: 0 20px 90px rgb(22 35 27 / 18%); animation: sheet-in .25s ease both; }
.sheet-handle { width: 34px; height: 4px; margin: -10px auto 23px; border-radius: 10px; background: #d7decb; }
.sheet-heading { text-align: center; font-size: 20px; font-weight: 650; letter-spacing: -.6px; margin: 0 30px 8px; }
.share-sheet > p { font-size: 12px; line-height: 1.8; text-align: center; color: var(--muted); margin: 0 0 20px; }
.sheet-close { position: absolute; right: 14px; top: 12px; width: 44px; height: 44px; background: transparent; border: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #8c9781; }
.sheet-close svg { width: 17px; height: 17px; }
.share-preview { display: flex; align-items: center; gap: 15px; width: 100%; margin: 23px auto; padding: 12px; border-radius: 12px; border: 1px solid #e0e5d5; background: #fffdf7; }
.share-options { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 22px; }
.share-option { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 14px; background: #fffdf7; border: 1px solid #dce2d1; border-radius: 12px; font-size: 13px; font-weight: 550; }
.share-option:first-child { background: var(--ink); color: #fffdf7; border-color: var(--ink); }
.share-option svg { width: 17px; height: 17px; }
.toast { position: fixed; left: 50%; bottom: 35px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none; z-index: 200; max-width: calc(100vw - 40px); width: max-content; padding: 14px 21px; border-radius: 12px; background: #2f483d; color: #fffdf7; font-size: 12px; line-height: 1.65; box-shadow: 0 5px 25px rgb(35 56 43 / 15%); text-align: center; transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.fade-in { animation: page-in .35s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes veil-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Details shared by the production templates. */
.accent { color: var(--orange); }
.skip-link:focus { z-index: 300; position: fixed; top: 12px; left: 12px; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; padding: 14px 18px; background: var(--ink); color: white; border-radius: 8px; }
.tiny-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #6d855a; }
.feature-go { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fffdf7; transition: background .2s, transform .2s; }
.feature-go:hover { background: #416044; transform: translateX(2px); }
.feature-go svg { width: 20px; height: 20px; }
.art-caption { position: absolute; bottom: 17px; left: 0; right: 0; text-align: center; color: #52694d; font-size: 8px; font-weight: 600; letter-spacing: 2.2px; text-shadow: 0 1px 9px #fffdf7; }
.browse-section { scroll-margin-top: 96px; }
.section-title > span { color: #9bab86; font-size: 19px; margin-left: 5px; }
.section-count { color: #8c9682; font-size: 10px; white-space: nowrap; }
.card-title button { display: block; min-height: 44px; width: 100%; text-align: left; padding: 2px 0; border: 0; background: transparent; font: inherit; line-height: inherit; letter-spacing: inherit; }
.card-body > .card-meta:first-child { margin: 0 0 2px; font-size: 9px; color: #9ca38f; }
.search-panel > svg { position: absolute; top: 15px; left: 15px; width: 19px; height: 19px; color: #8e9a81; }
.search-panel .search-input { padding-left: 44px; padding-right: 50px; }
.search-panel > .icon-button { position: absolute; top: 3px; right: 4px; }
.home-note { margin: 65px 0 42px; text-align: center; color: #89927e; }
.home-note > span { color: #b4bf9e; font-size: 31px; }
.home-note p { font-size: 12px; line-height: 1.9; margin: 12px 0 0; }
.home-note strong { color: #718164; font-weight: 400; }
.footer-wordmark { font-family: Georgia, serif; font-size: 29px; line-height: 1; letter-spacing: -1.6px; color: #849179; font-weight: 700; }
.site-footer small { flex-basis: 100%; font-size: 9px; color: #a2a995; }
.detail-art-label { position: absolute; bottom: 20px; left: 12px; right: 12px; text-align: center; color: #6e815e; font-family: Georgia, serif; font-style: italic; font-size: 13px; letter-spacing: .5px; }
.bookmark-button { flex: 0 0 52px; width: 52px; padding-left: 0; padding-right: 0; }
.resume-link { display: flex; margin: 10px auto 0; text-decoration: underline; text-underline-offset: 4px; }
.detail-fact > span { font-family: Georgia, serif; font-style: italic; font-size: 15px; color: #a5af97; }
.detail-fact h3 { margin: 1px 0 0; font-size: 13px; font-weight: 600; color: #5d7350; }
.detail-fact p { margin: 0; font-size: 11px; line-height: 1.8; }
.answer-arrow svg { width: 16px; height: 16px; vertical-align: top; }
.result-heading > p { font-size: 13px; color: #7f8a74; margin: 9px 0 0; line-height: 1.8; }
.result-stamp { font-family: Georgia, serif; font-size: 10px; font-style: italic; color: #a1ad93; white-space: nowrap; }
.result-quote-main { margin-top: 8px; }
.result-section > .eyebrow { margin-bottom: 9px; }
.result-section > .section-heading { margin: 0 0 17px; align-items: baseline; }
.result-section > .section-heading .result-section-title { margin: 0; }
.insight-card > span { display: flex; align-items: center; gap: 6px; color: #5b734e; font-size: 11px; font-weight: 600; margin-bottom: 12px; line-height: 1.5; }
.insight-card > span svg { width: 16px; height: 16px; color: #8d9e7c; }
.type-mini small { display: block; color: var(--result-color); font-size: 8px; line-height: 1.6; margin-top: 3px; }
.result-restart { justify-content: center; margin: 35px auto 0; max-width: 580px; }
.collection-page > .intro-description { margin-top: 13px; max-width: none; }
.collection-page .catalog-grid { margin-top: 30px; }
.history-card { max-width: 580px; margin: 35px 0 0; }
.empty-state > svg { width: 29px; height: 29px; color: #a3b091; margin-bottom: 15px; }
.empty-state h2, .empty-state h3 { font-size: 17px; font-weight: 500; letter-spacing: -.5px; color: #6f7e62; margin: 0 0 8px; }
.empty-state p { font-size: 12px; margin: 0 0 22px; }
.modal-open { overflow: hidden; }
.share-sheet > .eyebrow { text-align: center; margin: 0 20px 9px; font-size: 8px; }
.share-preview > img { width: 82px; height: 82px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.share-preview > div { min-width: 0; }
.share-preview span { font-size: 9px; color: #89967c; }
.share-preview strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.5px; line-height: 1.5; margin-top: 3px; }
.share-preview p { color: #87917b; font-size: 10px; line-height: 1.65; margin: 5px 0 0; word-break: keep-all; }
.share-option > span { flex: 1; text-align: left; }
.share-sheet > small { display: block; text-align: center; margin-top: 18px; color: #929e84; font-size: 9px; line-height: 1.7; }

@media (min-width: 1000px) {
  .home-page .featured-card { min-height: 370px; }
  .home-page .featured-art { max-height: 390px; }
  .detail-page { padding-top: 30px; }
  .detail-page .result-section { max-width: 100%; }
}
@media (max-width: 760px) {
  .header-inner { height: 64px; padding: 0 23px; gap: 20px; }
  .wordmark { font-size: 33px; letter-spacing: -2px; }
  .site-nav { display: none; }
  .header-actions { gap: 1px; }
  .icon-button { width: 44px; height: 44px; }
  .icon-button svg { width: 20px; height: 20px; }
  .page { padding: 29px 23px calc(40px + env(safe-area-inset-bottom)); }
  .intro-copy { display: block; margin-bottom: 24px; }
  .eyebrow { font-size: 9px; letter-spacing: 2.1px; }
  .intro-title { font-size: 30px; line-height: 1.42; letter-spacing: -1.3px; margin-top: 8px; }
  .intro-description { max-width: 100%; margin: 11px 0 0; font-size: 11px; line-height: 1.8; }
  .section-heading { margin-top: 27px; margin-bottom: 14px; }
  .section-title { font-size: 18px; letter-spacing: -.6px; }
  .text-link { font-size: 10px; }
  .featured-card { grid-template-columns: 1fr; min-height: 0; border-radius: 17px; }
  .featured-art { min-height: 0; height: 230px; width: 100%; object-fit: cover; object-position: center 50%; }
  .featured-art img { object-position: center 50%; }
  .featured-copy { padding: 20px 21px 19px; }
  .featured-kicker { font-size: 9px; letter-spacing: .9px; }
  .featured-title { font-size: 26px; line-height: 1.35; letter-spacing: -1px; margin: 10px 0 8px; }
  .featured-copy > p { font-size: 11px; line-height: 1.8; }
  .featured-footer { margin-top: 17px; font-size: 10px; }
  .featured-footer > svg { width: 31px; height: 31px; padding: 8px; }
  .pill { padding: 6px 9px; font-size: 9px; }
  .category-list { margin-right: -23px; padding-right: 23px; gap: 7px; }
  .category-chip { min-height: 44px; padding: 10px 14px; font-size: 11px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 15px; margin-top: 9px; }
  .card-image-wrap { border-radius: 12px; }
  .card-badge { top: 9px; left: 9px; padding: 5px 7px; font-size: 8px; max-width: calc(100% - 18px); }
  .card-body { padding: 11px 1px 0; }
  .card-title { font-size: 13px; line-height: 1.6; letter-spacing: -.4px; }
  .card-subtitle { font-size: 10px; line-height: 1.7; margin-top: 3px; }
  .card-meta { font-size: 9px; margin-top: 8px; }
  .soon-label { font-size: 9px; }
  .site-footer { padding: 21px 0 10px; margin-top: 35px; display: block; font-size: 9px; line-height: 1.9; }
  .site-footer > * + * { margin-top: 7px; }
  .search-panel { margin-bottom: 22px; }
  .search-input { padding: 13px 15px; font-size: 12px; }
  .breadcrumb { margin-bottom: 18px; font-size: 10px; }
  .detail-page { padding-top: 22px; }
  .detail-grid { display: flex; flex-direction: column; gap: 24px; align-items: stretch; }
  .detail-art { border-radius: 17px; aspect-ratio: auto; height: 210px; }
  .detail-art img { object-position: center 60%; }
  .detail-grid { gap: 18px; }
  .detail-copy { padding: 0; }
  .detail-title { font-size: 30px; line-height: 1.4; letter-spacing: -1.2px; margin: 11px 0 13px; }
  .detail-description { font-size: 12px; line-height: 1.9; margin-bottom: 16px; }
  .meta-row { gap: 14px; font-size: 11px; margin: 14px 0; }
  .tag-row { gap: 6px; margin: 15px 0 23px; }
  .tag { font-size: 9px; padding: 5px 8px; }
  .primary-button, .secondary-button { min-height: 52px; font-size: 13px; }
  .detail-facts { margin-top: 28px; padding: 16px 0; }
  .detail-fact { font-size: 10px; }
  .detail-fact strong { font-size: 14px; }
  .quiz-page { padding-top: 20px; padding-bottom: 30px; }
  .quiz-topbar { gap: 13px; height: 64px; padding: 0 23px; }
  .quiz-progress-label { font-size: 10px; }
  .quiz-back { width: 44px; height: 44px; }
  .progress-track { margin-top: 14px; }
  .quiz-stage { padding-top: 22px; }
  .scene-label { font-size: 9px; letter-spacing: 1.5px; margin-bottom: 13px; }
  .quiz-number { font-size: 15px; margin-bottom: 12px; }
  .question-title { font-size: 25px; line-height: 1.5; letter-spacing: -.9px; min-height: 75px; }
  .answers { margin-top: 25px; gap: 10px; }
  .answer-button { gap: 12px; min-height: 77px; border-radius: 13px; padding: 16px 15px; font-size: 12px; line-height: 1.75; }
  .answer-letter { width: 26px; height: 26px; flex-basis: 26px; font-size: 11px; }
  .answer-arrow { width: 14px; height: 14px; }
  .quiz-scene { width: 155px; height: 128px; margin: 0 auto 20px; }
  .quiz-small-note { font-size: 9px; margin-top: 14px; }
  .quiz-ornament { font-size: 25px; }
  .result-page { padding-top: 25px; }
  .result-heading { margin-bottom: 22px; }
  .result-title { font-size: 15px; margin-top: 7px; }
  .result-card { border-radius: 17px; }
  .result-card-top { padding: 23px 18px 0; }
  .result-eyebrow { font-size: 9px; letter-spacing: 1.3px; }
  .result-name { font-size: 28px; letter-spacing: -1px; margin-top: 9px; }
  .result-quote { display: block; padding: 0 16px; font-size: 11px; max-width: 280px; }
  .result-art { margin-top: 18px; aspect-ratio: 1.13; }
  .trait-list { gap: 6px; padding: 17px 15px; }
  .trait-chip { font-size: 9px; padding: 6px 10px; }
  .result-card-footer { padding: 10px 14px; font-size: 7px; letter-spacing: .5px; }
  .result-card-footer strong { font-size: 18px; }
  .result-actions { margin-top: 16px; gap: 8px; }
  .result-actions .primary-button, .result-actions .secondary-button { font-size: 11px; min-height: 49px; padding: 12px 8px; gap: 6px; }
  .result-actions svg { width: 16px; height: 16px; }
  .share-note { font-size: 9px; margin-top: 10px; }
  .result-section { margin-top: 30px; padding-top: 24px; }
  .result-section-title { font-size: 17px; margin-bottom: 15px; }
  .result-description { font-size: 12px; line-height: 1.95; }
  .insight-grid { gap: 9px; }
  .insight-card { padding: 18px 15px; border-radius: 11px; }
  .insight-card h3 { font-size: 11px; }
  .insight-card p { font-size: 11px; line-height: 1.8; }
  .match-card { gap: 15px; padding: 13px; }
  .match-image { width: 76px; height: 76px; border-radius: 9px; }
  .match-copy > span { font-size: 9px; }
  .match-copy h2, .match-copy h3, .match-copy strong { font-size: 14px; }
  .match-copy p { font-size: 10px; }
  .all-types { gap: 9px; }
  .type-mini img { border-radius: 10px; }
  .type-mini span, .type-mini strong { font-size: 9px; line-height: 1.7; margin-top: 8px; }
  .modal-backdrop { align-items: flex-end; padding: 0; }
  .share-sheet { border-radius: 24px 24px 0 0; max-width: 600px; max-height: calc(100svh - 36px); padding: 24px 24px calc(25px + env(safe-area-inset-bottom)); }
  .sheet-heading { font-size: 19px; }
  .share-preview { gap: 12px; padding: 10px; }
  .toast { bottom: calc(20px + env(safe-area-inset-bottom)); font-size: 11px; padding: 12px 17px; }
}
@media (max-width: 760px) {
  .home-page { padding-top: 24px; }
  .home-page .intro-copy { margin-bottom: 22px; }
  .home-page .intro-title { font-size: 29px; line-height: 1.3; }
  .home-page .intro-description { margin-top: 9px; font-size: 10px; line-height: 1.7; }
  .home-page .intro-description br { display: none; }
  .featured-copy { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 11px 10px; padding: 18px 22px; }
  .featured-kicker { grid-column: 1 / -1; }
  .featured-title { font-size: 25px; line-height: 1.25; margin: 0; }
  .featured-copy > p { font-size: 10px; line-height: 1.8; }
  .featured-footer { grid-column: 1 / -1; margin-top: 0; }
  .feature-go { width: 44px; height: 44px; }
  .featured-art { height: 208px; }
  .art-caption { bottom: 13px; font-size: 7px; letter-spacing: 1.6px; }
  .section-count { font-size: 8px; }
  .browse-section { scroll-margin-top: 80px; }
  .section-title > span { font-size: 15px; margin-left: 2px; }
  .card-body > .card-meta:first-child { font-size: 8px; margin-bottom: 0; }
  .card-title button { padding-top: 0; padding-bottom: 0; }
  .card-subtitle { margin-top: 1px; }
  .search-panel > svg { top: 13px; }
  .search-panel > .icon-button { top: 0; }
  .home-note { margin: 45px 0 30px; }
  .home-note p { font-size: 10px; }
  .footer-wordmark { display: block; font-size: 27px; margin-bottom: 12px; }
  .site-footer > span:not(.footer-wordmark), .site-footer small { display: block; }
  .detail-art-label { bottom: 16px; font-size: 12px; }
  .detail-fact { padding-left: 6px; padding-right: 6px; }
  .detail-fact h3 { font-size: 11px; }
  .detail-fact p { font-size: 9px; }
  .result-heading > p { font-size: 11px; }
  .result-stamp { font-size: 9px; }
  .result-card-top { margin-bottom: 23px; }
  .insight-card > span { font-size: 9px; gap: 4px; }
  .insight-card > span svg { width: 14px; height: 14px; }
  .result-restart { flex-wrap: wrap; gap: 4px; }
  .result-restart .secondary-button, .result-restart .ghost-button { font-size: 11px; padding-left: 13px; padding-right: 13px; }
  .empty-state { padding: 55px 2px; }
  .empty-state h2, .empty-state h3 { font-size: 15px; }
  .share-preview > img { width: 75px; height: 75px; }
  .share-preview strong { font-size: 14px; }
}
@media (max-width: 360px) {
  .header-inner { padding: 0 19px; }
  .page { padding-left: 19px; padding-right: 19px; }
  .intro-title { font-size: 28px; }
  .featured-art { height: 210px; }
  .catalog-grid { gap: 23px 12px; }
  .question-title { font-size: 23px; }
  .answer-button { padding: 14px 13px; gap: 10px; font-size: 11px; }
  .quiz-scene { width: 135px; height: 110px; }
  .result-name { font-size: 25px; }
}
@media (max-height: 740px) and (max-width: 760px) {
  .quiz-stage { padding-top: 22px; }
  .quiz-number { margin-bottom: 8px; }
  .question-title { font-size: 23px; min-height: 69px; }
  .answers { margin-top: 19px; }
  .answer-button { min-height: 70px; padding-top: 13px; padding-bottom: 13px; }
  .quiz-scene { width: 125px; height: 100px; margin: 0 auto 15px; }
  .quiz-small-note { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* White editorial portal: stories lead, interface steps back. */
:root { --paper: #fff; --ink: #20212b; --muted: #858792; --line: #eeeeF1; --orange: #ff624f; --sage: #f5f5f7; }
body, #app { background: #fff; }
.site-header { background: rgb(255 255 255 / 96%); border-bottom-color: #f1f1f3; }
.header-inner { max-width: 1000px; height: 72px; }
.wordmark { color: #20212b; font-size: 34px; }
.wordmark-dot { color: #ff624f; }
.site-nav a, .site-nav button { color: #777985; }
.site-nav a:hover, .site-nav button:hover { color: var(--ink); }
.icon-button:hover { background: #f6f6f8; }
.portal-home.page { max-width: 1000px; padding-top: 0; }
.portal-tabs { display: flex; align-items: center; gap: 27px; min-height: 59px; border-bottom: 1px solid #f0f0f3; margin-bottom: 25px; }
.portal-tabs button, .portal-tabs a { display: inline-flex; align-items: center; justify-content: center; position: relative; min-height: 59px; padding: 0 2px; background: transparent; border: 0; color: #91929c; font-size: 15px; font-weight: 600; white-space: nowrap; }
.portal-tabs .is-active { color: #20212b; font-weight: 750; }
.portal-tabs .is-active::after { content: ''; position: absolute; height: 3px; border-radius: 3px; left: 0; right: 0; bottom: -1px; background: #20212b; }
.spotlight { position: relative; overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid #efeff2; }
.spotlight > a, a.spotlight { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; color: inherit; }
.spotlight-image { min-width: 0; height: 300px; overflow: hidden; background: #f5f5f7; }
.spotlight-image > img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-copy { padding: 31px 34px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.spotlight-copy .eyebrow { color: #ff624f; font-size: 10px; letter-spacing: 1.1px; font-weight: 700; }
.spotlight-copy h1, .spotlight-copy h2 { font-size: 30px; font-weight: 750; line-height: 1.4; letter-spacing: -1px; margin: 12px 0 11px; word-break: keep-all; }
.spotlight-copy p { font-size: 13px; line-height: 1.8; color: #858792; margin: 0; word-break: keep-all; }
.spotlight-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; margin-top: 23px; color: #373842; }
.spotlight-cta svg { width: 17px; height: 17px; }
.spotlight-counters { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 4px; }
.spotlight-counters button { display: flex; align-items: center; justify-content: center; padding: 0; width: 28px; height: 32px; min-height: 32px; border: 0; background: none; border-radius: 0; font-size: 0; }
.spotlight-counters button::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 10px; background: #dedee4; transition: width .2s, background .2s; }
.spotlight-counters button.is-active::before, .spotlight-counters button[aria-pressed=true]::before { width: 19px; background: #393a45; }
.portal-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 33px 0 17px; }
.portal-title { font-size: 22px; font-weight: 750; line-height: 1.4; letter-spacing: -.6px; margin: 0; }
.subtle-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: 4px; font-size: 12px; color: #8a8b96; border: 0; background: transparent; padding: 0; }
.subtle-link svg { width: 14px; height: 14px; }
.ranking-tabs { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -3px 0 17px; }
.ranking-tabs button { flex-shrink: 0; min-height: 40px; padding: 8px 16px; background: #f6f6f8; color: #8a8b96; border: 0; border-radius: 24px; font-size: 12px; font-weight: 550; white-space: nowrap; }
.ranking-tabs button.is-active, .ranking-tabs button[aria-pressed=true] { background: #20212b; color: white; }
.ranking-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rank-card { position: relative; display: grid; grid-template-columns: 24px 70px minmax(0, 1fr); align-items: center; gap: 9px; width: 100%; min-width: 0; padding: 0; border: 0; background: white; text-align: left; }
.rank-number { font-family: var(--font); font-size: 22px; font-style: italic; font-weight: 800; letter-spacing: -1px; color: #292a34; text-align: center; }
.rank-card:first-child .rank-number { color: #ff624f; }
.rank-thumb { width: 70px; height: 76px; border-radius: 10px; object-fit: cover; overflow: hidden; background: #f7f7f8; }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rank-copy strong { font-size: 13px; font-weight: 650; line-height: 1.5; letter-spacing: -.3px; word-break: keep-all; }
.rank-copy > span { color: #a0a1aa; font-size: 10px; line-height: 1.4; }
.rank-copy small { color: #ff7d6c; font-size: 9px; line-height: 1.4; }
.rank-arrow { display: none; color: #c6c7cf; }
.rank-note { display: block; color: #b0b1b9; font-size: 9px; line-height: 1.8; margin: 15px 0 0; }
.rank-note small { font-size: inherit; }
.portal-home .browse-section { margin-top: 35px; }
.portal-home .browse-section .portal-heading { margin-top: 0; }
.portal-home .category-list { margin-bottom: 9px; }
.category-chip { background: #fff; color: #888a95; border-color: #e9e9ee; }
.category-chip:hover { border-color: #bfc0c9; }
.category-chip.is-active { background: #20212b; border-color: #20212b; }
.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 29px 23px; }
.card-image-wrap { aspect-ratio: 1.25; border-radius: 13px; background: #f6f6f8; }
.card-image { object-fit: cover; }
.card-body { padding: 12px 0 0; background: white; }
.card-title { font-size: 15px; font-weight: 650; color: #292a34; }
.card-body > .card-meta:first-child { color: #a2a3ac; font-size: 10px; }
.card-subtitle { font-size: 12px; color: #91929e; }
.card-meta { color: #a2a3ad; font-size: 10px; }
.card-badge { background: rgb(255 255 255 / 95%); color: #686a76; font-size: 9px; border-radius: 5px; }
.card-badge.soon-label { color: #92939e; }
.soon-label::before { background: #b2b3bc; }
.webtoon-badge, .status-live, .status-soon { display: inline-flex; align-items: center; gap: 4px; border-radius: 4px; padding: 4px 6px; font-size: 9px; line-height: 1.3; font-weight: 650; white-space: nowrap; }
.webtoon-badge { background: #f3f0ff; color: #8a6ad1; }
.status-live { background: #fff0ed; color: #ff725d; }
.status-soon { background: #f3f3f6; color: #999ba6; }
.shelf-scroll { display: flex; gap: 17px; overflow-x: auto; padding: 0 0 13px; scrollbar-width: thin; scrollbar-color: #e6e6ec transparent; scroll-snap-type: x proximity; }
.shelf-card { display: block; flex: 0 0 215px; min-width: 0; padding: 0; border: 0; background: white; text-align: left; scroll-snap-align: start; }
.shelf-card > img, .shelf-card > .sprite-art, .shelf-card > a > img, .shelf-card > a > .sprite-art { display: block; width: 100%; height: 165px; object-fit: cover; border-radius: 12px; overflow: hidden; }
.shelf-copy { padding: 11px 0 0; }
.shelf-copy strong, .shelf-copy h3 { display: block; margin: 0; font-size: 14px; font-weight: 650; line-height: 1.6; letter-spacing: -.3px; }
.shelf-copy p, .shelf-copy span { display: block; margin: 5px 0 0; font-size: 11px; line-height: 1.7; color: #92939e; }
.sprite-art { display: block; width: 100%; height: 100%; background-repeat: no-repeat; }
.detail-art > .sprite-art, .result-art > .sprite-art { width: 100%; height: 100%; border-radius: inherit; }
.test-card .sprite-art { transition: transform .3s ease; }
.test-card:hover .sprite-art { transform: scale(1.025); }
.site-footer { border-top-color: #eeeef2; color: #a0a1ab; }
.footer-wordmark { color: #81828f; }
.site-footer small { color: #b5b6bd; }
.primary-button { background: #20212b; border-color: #20212b; color: white; }
.primary-button:hover { background: #393a48; border-color: #393a48; }
.secondary-button { background: #fff; border-color: #e4e4eb; color: #363743; }
.secondary-button:hover, .ghost-button:hover { background: #f7f7f9; }
.ghost-button { color: #878995; }
.detail-description { color: #858792; font-size: 14px; }
.detail-note { color: #aaaab5; font-size: 11px; }
.detail-facts { border-color: #eeeef2; }
.detail-fact h3 { color: #636570; }
.detail-fact p { color: #92949f; font-size: 12px; }
.detail-fact > span { color: #b3b4bd; }
.tag { background: #f5f5f8; color: #8f919d; }
.meta-row, .breadcrumb { color: #8b8d99; }
body[data-page='quiz'], body[data-page='quiz'] #app, .quiz-shell { background: white; }
.quiz-progress-label { color: #9b9daa; }
.progress-track { background: #f0f0f4; height: 4px; }
.progress-fill { background: #ff8879; }
.quiz-number { color: #b2b3bd; }
.scene-label { color: #999ba6; }
.answer-button { background: white; border-color: #e6e6ed; font-size: 14px; }
.answer-button:hover { background: #fff7f5; border-color: #ffc0b6; box-shadow: none; }
.answer-button.is-selected, .answer-button.selected, .answer-button[aria-pressed=true] { background: #fff1ed; border-color: #ff9b89; }
.answer-letter { background: #f5f5f8; color: #9b9daa; }
.answer-arrow { color: #c0c1cb; }
.quiz-small-note { color: #aaaab5; font-size: 11px; }
.quiz-stage.webtoon-stage { padding-top: 22px; }
.quiz-scene.story-scene { width: 100%; max-width: 400px; height: auto; aspect-ratio: 1.6; margin: 0 auto 25px; border-radius: 16px; overflow: hidden; opacity: 1; background: #f6f6f8; }
.story-scene .sprite-art { min-height: 180px; }
.story-scene .quiz-ornament { display: none; }
.webtoon-stage .question-title { font-size: 26px; }
.result-card { background: white; border-color: #e8e8ed; box-shadow: none; }
.result-card-top { color: #9c9daa; }
.result-heading > p { color: #8c8e9a; font-size: 13px; }
.result-description { color: #747783; font-size: 14px; }
.result-quote { font-size: 13px; }
.result-section { border-top-color: #eeeeF2; }
.insight-card { background: #f8f8fa; }
.insight-card > span { font-size: 12px; }
.insight-card p { font-size: 13px; color: #858793; }
.match-card { border-color: #ededf2; background: #fff; }
.match-copy > span { color: #a0a1ad; font-size: 11px; }
.match-copy p { color: #9294a0; font-size: 12px; }
.share-sheet { background: white; }
.share-preview, .share-option { background: white; border-color: #ededf2; }
.share-option:first-child { background: #20212b; border-color: #20212b; }
.toast { background: #30313b; }
@media (max-width: 760px) {
  .header-inner { height: 60px; padding: 0 21px; }
  .wordmark { font-size: 31px; }
  .wordmark-dot { font-size: 18px; margin-top: 8px; }
  .page { padding-left: 21px; padding-right: 21px; }
  .portal-home.page { padding-top: 0; }
  .portal-tabs { min-height: 53px; margin-bottom: 19px; gap: 27px; }
  .portal-tabs button, .portal-tabs a { font-size: 14px; min-height: 53px; }
  .spotlight { border-radius: 14px; }
  .spotlight > a, a.spotlight { display: flex; flex-direction: column; }
  .spotlight-image { height: 174px; width: 100%; }
  .spotlight-copy { padding: 15px 18px 16px; position: relative; }
  .spotlight-copy .eyebrow { font-size: 8px; letter-spacing: .9px; }
  .spotlight-copy h1, .spotlight-copy h2 { font-size: 21px; line-height: 1.35; letter-spacing: -.5px; margin: 5px 0; padding-right: 29px; }
  .spotlight-copy h1 br, .spotlight-copy h2 br { display: none; }
  .spotlight-copy p { font-size: 11px; line-height: 1.6; }
  .spotlight-copy p br { display: none; }
  .spotlight-cta { position: absolute; right: 18px; top: 34px; margin: 0; width: 28px; height: 28px; justify-content: center; font-size: 0; }
  .spotlight-cta svg { width: 20px; height: 20px; }
  .spotlight-counters { margin-top: 0; }
  .portal-heading { margin: 20px 0 12px; }
  .portal-title { font-size: 20px; letter-spacing: -.6px; }
  .subtle-link { font-size: 11px; }
  .ranking-tabs { gap: 7px; margin: -2px 0 13px; }
  .ranking-tabs button { min-height: 38px; font-size: 11px; padding: 8px 14px; }
  .ranking-list { grid-template-columns: 1fr; gap: 12px; }
  .rank-card { grid-template-columns: 22px 64px minmax(0,1fr) 15px; gap: 12px; min-height: 66px; }
  .rank-number { font-size: 23px; }
  .rank-thumb { width: 64px; height: 66px; border-radius: 9px; }
  .rank-copy { gap: 3px; }
  .rank-copy strong { font-size: 13px; line-height: 1.45; }
  .rank-copy > span { font-size: 10px; }
  .rank-copy small { font-size: 9px; }
  .rank-arrow { display: block; width: 15px; }
  .rank-arrow svg { width: 15px; height: 15px; }
  .rank-note { font-size: 8px; margin-top: 11px; }
  .portal-home .browse-section { margin-top: 30px; scroll-margin-top: 78px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px 14px; }
  .card-image-wrap { border-radius: 11px; aspect-ratio: 1.25; }
  .card-body { padding-top: 10px; }
  .card-title { font-size: 14px; line-height: 1.5; }
  .card-body > .card-meta:first-child { font-size: 9px; }
  .card-subtitle { font-size: 11px; line-height: 1.6; }
  .card-meta { font-size: 10px; }
  .category-list { margin-right: -21px; padding-right: 21px; }
  .category-chip { min-height: 40px; font-size: 11px; padding: 8px 13px; }
  .shelf-scroll { gap: 13px; margin-right: -21px; padding-right: 21px; }
  .shelf-card { flex-basis: 158px; }
  .shelf-card > img, .shelf-card > .sprite-art, .shelf-card > a > img, .shelf-card > a > .sprite-art { height: 126px; border-radius: 10px; }
  .shelf-copy strong, .shelf-copy h3 { font-size: 13px; }
  .shelf-copy p, .shelf-copy span { font-size: 10px; }
  .detail-description { font-size: 13px; }
  .detail-fact p { font-size: 10px; }
  .quiz-page { padding-top: 16px; }
  .quiz-topbar { height: 60px; padding-left: 21px; padding-right: 21px; }
  .quiz-stage.webtoon-stage { padding-top: 18px; }
  .quiz-scene.story-scene { max-width: 400px; width: 100%; height: auto; aspect-ratio: 1.6; margin-bottom: 20px; border-radius: 14px; }
  .story-scene .sprite-art { min-height: 0; aspect-ratio: 1.6; }
  .webtoon-stage .scene-label { margin-bottom: 12px; }
  .webtoon-stage .question-title { font-size: 23px; min-height: 69px; }
  .webtoon-stage .answers { margin-top: 19px; }
  .answer-button { font-size: 13px; }
  .quiz-small-note { font-size: 10px; }
  .result-name { font-size: 27px; }
  .result-quote { font-size: 12px; }
  .result-description { font-size: 13px; }
  .result-heading > p { font-size: 12px; }
  .insight-card > span { font-size: 10px; }
  .insight-card p { font-size: 12px; }
  .match-copy p { font-size: 11px; }
  .share-note { font-size: 10px; }
}
@media (max-width: 360px) {
  .portal-tabs { gap: 23px; }
  .portal-tabs button, .portal-tabs a { font-size: 13px; }
  .spotlight-image { height: 158px; }
  .spotlight-copy h1, .spotlight-copy h2 { font-size: 19px; }
  .rank-card { gap: 9px; grid-template-columns: 20px 61px minmax(0,1fr) 14px; }
  .rank-thumb { width: 61px; height: 64px; }
  .rank-copy strong { font-size: 12px; }
}

/* Final template bindings for the multi-test portal. */
.spotlight-wrap { min-width: 0; }
.spotlight-image > .sprite-art { width: 100%; height: 100%; }
.spotlight-counters > span { font-size: 9px; color: #b1b2bc; margin-left: 7px; letter-spacing: .5px; }
.preview-label { display: inline-flex; vertical-align: middle; margin-left: 6px; padding: 4px 6px; border-radius: 4px; background: #f4f4f7; color: #a1a2ac; font-size: 9px; font-weight: 500; line-height: 1.3; letter-spacing: 0; }
.new-dot { display: inline-block; vertical-align: top; width: 5px; height: 5px; margin: 5px 0 0 2px; border-radius: 50%; background: #ff624f; }
.ranking-section, .new-section { scroll-margin-top: 92px; }
.new-grid.catalog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.new-grid .card-image-wrap { aspect-ratio: 1.6; }
.rank-thumb { display: block; flex-shrink: 0; }
.rank-thumb > img, .rank-thumb > .sprite-art { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.shelf-card.test-card { display: block; flex: 0 0 215px; }
.shelf-card .card-image-wrap { aspect-ratio: 1.3; }
.shelf-card .card-image-wrap > .sprite-art { width: 100%; height: 100%; }
.love-page .detail-art { aspect-ratio: 1.5; border-radius: 18px; }
.love-page .detail-art > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.detail-art > .sprite-art, .result-art > .sprite-art { display: block; width: 100%; height: 100%; }
.quiz-scene.story-scene > .sprite-art { display: block; width: 100%; height: 100%; min-height: 0; }
.type-mini > .sprite-art { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 13px; }
.type-mini.is-active > .sprite-art { outline: 2px solid var(--result-color); outline-offset: 3px; }
.match-card > .sprite-art.match-image { width: 90px; height: 90px; }
.share-preview > .sprite-art { flex: 0 0 82px; width: 82px; height: 82px; border-radius: 9px; }
@media (max-width: 760px) {
  .preview-label { font-size: 8px; margin-left: 4px; padding: 3px 5px; }
  .ranking-section, .new-section { scroll-margin-top: 78px; }
  .new-grid.catalog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .new-grid .card-image-wrap { aspect-ratio: 1.25; }
  .shelf-card.test-card { flex-basis: 158px; }
  .love-page .detail-art { aspect-ratio: 1.5; border-radius: 14px; }
  .type-mini > .sprite-art { border-radius: 10px; }
  .match-card > .sprite-art.match-image { width: 76px; height: 76px; }
  .share-preview > .sprite-art { flex-basis: 75px; width: 75px; height: 75px; }
}

/* Center-crop each source quadrant without stretching faces. */
.sprite-art { position: relative; overflow: hidden; }
.sprite-art > img { position: absolute; top: 50%; width: 200% !important; height: auto !important; max-width: none !important; aspect-ratio: 1; border-radius: 0 !important; object-fit: initial !important; }
body[data-test='love-signal'] .result-art { aspect-ratio: 1; }

/* Keep navigation immediate so each question is readable as it appears. */
.fade-in { animation: none; }

/* Each story owns its art direction; shared chrome stays quiet and white. */
body[data-illustrated='true'] .result-art { aspect-ratio: 1; }
.detail-description { white-space: normal; }
.question-title { white-space: pre-line; }
@media(max-width:600px){.new-grid .card-subtitle { min-height: 38px; }}
/* Portrait covers keep faces inside the wide recommendation banner. */
.spotlight-image .sprite-art > img { transform: translateY(-15%) !important; }

body[data-test='friend-distance'] .quiz-scene .sprite-art > img { transform: translateY(var(--portrait-y)) !important; }

.catalog-more { grid-column: 1 / -1; width: 100%; margin-top: 8px; }

.share-url-label { display:block; margin:16px 0 4px; color:#686872; font-size:11px; text-align:left; }
.share-url-input { display:block; margin-top:6px; padding:10px 12px; width:100%; min-width:0; border:1px solid #e7e7ec; border-radius:10px; background:#fafafa; color:#555562; font:12px/1.5 inherit; text-overflow:ellipsis; }

.spotlight[data-test='moon-letter'] .sprite-art > img { transform: translateY(-25%) !important; }

/* Shared reading and sharing controls for the three individually art-directed tests. */
.themed-result { --theme-ink:#303744; --theme-accent:#334b3f; max-width:720px; }
.themed-result--message-tempo { --theme-ink:#293253; --theme-accent:#5368b4; }
.themed-result--moon-letter { --theme-ink:#2b3847; --theme-accent:#334d66; }
.themed-result .eyebrow { font-size:12px; letter-spacing:0; color:#686b73; }
.themed-result .result-heading > p { font-size:14px; color:#646977; }
.themed-result .result-actions { gap:12px; }
.themed-result .result-actions button { min-height:56px; font-size:15px; line-height:1.5; border-radius:8px; padding:14px 12px; word-break:keep-all; }
.themed-result .result-actions .primary-button { background:var(--theme-accent); }
.themed-result .share-note { font-size:13px; color:#686b73; margin-top:12px; }
.themed-result .result-section { margin-top:32px; padding-top:24px; }
.themed-result .result-section-title { font-size:22px; line-height:1.5; letter-spacing:-.02em; color:var(--theme-ink); }
.themed-result .result-description p { font-size:16px; line-height:1.75; color:#525661; }
.themed-result .insight-grid { grid-template-columns:1fr; gap:24px; margin-top:24px; }
.themed-result .insight-card { background:transparent; border-radius:0; padding:0; }
.themed-result .insight-card > span { font-size:14px; color:var(--theme-accent); margin-bottom:8px; }
.themed-result .insight-card p { font-size:16px; line-height:1.7; color:#525661; }
.themed-result .match-copy > span { font-size:12px; }
.themed-result .match-copy h3 { font-size:18px; line-height:1.5; }
.themed-result .match-copy p { font-size:14px; line-height:1.6; }
.themed-result .type-mini > span { font-size:15px; line-height:1.5; }
.themed-result .type-mini > small { font-size:12px; }
.themed-result .result-restart { gap:12px; }
.themed-result .result-restart > * { font-size:15px; }
.themed-share { color:#303744; }
.themed-share--moon-letter { --ink:#334d66; }
.themed-share--message-tempo { --ink:#5368b4; }
.themed-share--book-nook { --ink:#334b3f; }
.themed-share > .eyebrow { font-size:12px; letter-spacing:0; color:#686b73; }
.themed-share .sheet-heading { font-size:24px; line-height:1.4; letter-spacing:-.02em; word-break:keep-all; overflow-wrap:normal; text-wrap:balance; }
.themed-share > p { font-size:14px; color:#636874; }
.themed-share .share-preview span { font-size:12px; }
.themed-share .share-preview strong { font-size:18px; line-height:1.5; letter-spacing:-.01em; }
.themed-share .share-preview p { font-size:14px; color:#636874; }
.themed-share .share-url-label { font-size:13px; }
.themed-share .share-url-input { font-size:14px; min-height:44px; }
.themed-share .share-option { min-height:56px; font-size:16px; }
.themed-share > small { font-size:12px; color:#686b73; }
@media(max-width:600px) {
 .themed-result { padding-left:20px; padding-right:20px; }
 .themed-result .result-actions { grid-template-columns:1fr; }
 .themed-result .result-restart { flex-direction:column; }
 .themed-share { padding-left:20px; padding-right:20px; }
}

/* v23 readable floor for the home catalog: secondary text ≥12px and ≥4.5:1; nav labels 11px beside icons. Later rules intentionally override older mobile shrink rules. */
.spotlight-copy .eyebrow{font-size:12px;letter-spacing:0;color:#5f6070}
.spotlight-copy p{font-size:14px;line-height:1.6;color:#5f6070}
.spotlight-counters>span{font-size:12px;color:#6f707b}
.preview-label{font-size:11px;font-weight:600;color:#5f606b}
.subtle-link{font-size:13px;color:#4a4b55}
.ranking-tabs button{font-size:13px;color:#5f606b}
.rank-copy strong{font-size:15px;line-height:1.45}
.rank-copy>span{font-size:13px;line-height:1.5;color:#6b6c78}
.rank-copy small{font-size:12px;font-weight:600;color:#c63f2b}
.rank-note{font-size:12px;line-height:1.6;color:#6f707b}
.category-chip{font-size:13px}
.card-badge{font-size:11px;font-weight:600;color:#4a4b55}
.card-body>.card-meta:first-child{font-size:12px;color:#6b6c78}
.card-subtitle{font-size:13px;line-height:1.55;color:#6b6c78}
.card-meta{font-size:12px;color:#6f707b}
.webtoon-badge,.status-live,.status-soon{font-size:11px}
.shelf-copy p,.shelf-copy span{font-size:13px;line-height:1.55;color:#6b6c78}
.section-count{font-size:12px;color:#6f707b}
.home-note p{font-size:13px}
.site-footer{font-size:12px}
.site-footer small{font-size:12px;color:#6f707b}

/* v29 discovery: title-led cards and varied cover art, without production labels. */
.portal-home .spotlight { border:0; border-radius:12px; background:#f5f6f8; }
.portal-home .spotlight-copy { padding:28px 32px; }
.portal-home .spotlight-copy h1 { margin:0 0 12px; font-size:29px; line-height:1.35; letter-spacing:-.02em; }
.portal-home .spotlight-copy p { color:#515460; font-size:15px; line-height:1.6; }
.portal-home .spotlight-cta { font-size:14px; margin-top:20px; color:#20212b; }
.portal-home .spotlight-counters button { width:36px; min-height:44px; height:44px; }
.portal-home .home-categories { margin:14px 0 8px; }
.portal-home .home-categories .category-list { margin:0; padding-bottom:8px; }
.portal-home .portal-title { font-size:22px; letter-spacing:-.02em; }
.portal-home .new-grid.catalog-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.portal-home .test-card .card-image-wrap { aspect-ratio:4/3; border-radius:10px; }
.portal-home .card-body { padding:11px 0 0; }
.portal-home .card-title { font-size:16px; line-height:1.45; font-weight:650; letter-spacing:-.015em; }
.portal-home .card-title button { text-align:left; display:block; padding:0; border:0; background:none; font-size:inherit; line-height:inherit; font-weight:inherit; }
.portal-home .card-meta { display:flex; flex-wrap:wrap; align-items:center; gap:6px; font-size:12px; line-height:1.5; color:#686b76; margin:7px 0 0; }
.recommendation-section { margin-top:38px; scroll-margin-top:92px; }
.recommendation-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.recommendation-list .rank-card { grid-template-columns:72px minmax(0,1fr) 16px; gap:12px; padding:0; }
.recommendation-list .rank-thumb { width:72px; height:72px; border-radius:8px; }
.recommendation-list .rank-copy { gap:5px; }
.recommendation-list .rank-copy strong { color:#242632; font-size:15px; font-weight:600; line-height:1.45; }
.recommendation-list .rank-copy small { color:#686b76; font-size:12px; font-weight:400; }
.recommendation-list .rank-arrow { display:block; color:#878a96; }
.recommendation-list .rank-arrow svg { width:16px; height:16px; }
.portal-home .browse-section { margin-top:44px; }
@media(max-width:600px) {
 .portal-home .portal-tabs { margin-bottom:18px; gap:25px; }
 .portal-home .portal-tabs button { font-size:14px; }
 .portal-home .spotlight-image { height:194px; }
 .portal-home .spotlight-copy { padding:18px 20px; }
 .portal-home .spotlight-copy h1 { font-size:22px; line-height:1.35; padding-right:24px; margin:0 0 7px; }
 .portal-home .spotlight-copy p { font-size:14px; line-height:1.5; padding-right:18px; }
 .portal-home .spotlight-cta { right:17px; top:20px; margin:0; font-size:0; }
 .portal-home .home-categories { margin:8px 0 4px; }
 .portal-home .portal-heading { margin:26px 0 15px; }
 .portal-home .portal-title { font-size:20px; }
 .portal-home .new-grid.catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px 14px; }
 .portal-home .card-title { font-size:15px; line-height:1.45; }
 .portal-home .card-body { padding-top:10px; }
 .portal-home .card-meta { font-size:12px; gap:5px; margin-top:6px; }
 .recommendation-section { margin-top:30px; scroll-margin-top:78px; }
 .recommendation-list { grid-template-columns:1fr; gap:0; }
 .recommendation-list .rank-card { grid-template-columns:72px minmax(0,1fr) 18px; gap:15px; padding:13px 0; border-bottom:1px solid #eeeeF2; }
 .recommendation-list .rank-card:first-child { padding-top:0; }
 .recommendation-list .rank-card:last-child { border-bottom:0; }
 .recommendation-list .rank-copy strong { font-size:16px; }
 .portal-home .browse-section { margin-top:32px; }
}

/* 딴짓생활: common service wordmark, independent of each test's art direction. */
.wordmark,.footer-wordmark{font-family:Pretendard,sans-serif!important;font-weight:900;letter-spacing:-1.2px!important;font-style:normal;font-size:27px!important;white-space:nowrap}
.wordmark{padding:10px 0!important;line-height:1.2!important}
.wordmark-dot{display:none}
.result-stamp{font-family:Pretendard,sans-serif}
@media(max-width:480px){.wordmark{font-size:24px!important}.footer-wordmark{font-size:24px!important}}

/* Generated logo: preserve per-test palettes and character artwork. */
.wordmark .brand-logo{display:block;width:146px;height:auto;max-height:50px;object-fit:contain}.footer-wordmark .brand-logo{display:block;width:150px;height:auto;margin:0 auto}
@media(max-width:480px){.wordmark .brand-logo{width:135px;max-height:46px}}
