/* Gwansangso: quiet paper, clear categories, an illustrated reading catalogue. */
:root {
  --blue: #963d32;
  --blue-dark: #793028;
  --coral: #963d32;
  --cream: #f0ebe3;
  --paper: #fcfaf6;
  --surface: #fffdf9;
  --ink: #28251f;
  --ink-2: #716b61;
  --line: #ddd7cc;
  --display: 'Noto Serif KR', 'Batang', serif;
  --body: 'Noto Sans KR', sans-serif;
  --radius: 4px;
}
html { scroll-behavior: smooth; }
body { background: var(--paper); font-size: 15px; -webkit-font-smoothing: antialiased; }
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.76' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23826a4b' filter='url(%23n)' opacity='.27' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
button, a, input { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
a { text-underline-offset: 4px; }
::selection { color: #fffaf1; background: #9c493b; }
.wrap { max-width: 1440px; padding: 0 38px; }
.topbar {
  min-height: 96px;
  gap: 24px;
  padding: 15px 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.landing-topbar { margin-bottom: 0; display: grid; grid-template-columns: 1fr auto 1fr; }
.logo { gap: 0; color: var(--ink); white-space: nowrap; }
.brand-logo { display: block; width: 158px; height: 47px; object-fit: contain; }
.logo-caption { border-left: 1px solid var(--line); margin-left: 20px; padding-left: 20px; font: 400 13px/1.4 var(--body); letter-spacing: -.03em; }
.nav { gap: 34px; }
.top-link { font-size: 15px; padding: 10px 0; }
.nav-cta { justify-self: end; gap: 9px; min-height: 44px; padding: 8px 0; color: var(--blue); font: 600 14px/1.5 var(--body); white-space: nowrap; transition: color .16s; }
.nav-cta:hover { color: var(--blue-dark); }
.nav-cta:hover > span:first-child { text-decoration: underline; text-underline-offset: 5px; }
.nav-cta svg { width: 17px; height: 17px; transform: rotate(-45deg); }
.folio-hero { display: grid; grid-template-columns: 47% 53%; align-items: center; min-height: 440px; border-bottom: 1px solid var(--line); padding: 35px 16px 38px; }
.folio-copy { z-index: 1; padding: 5px 0; }
.folio-kicker { margin: 0 0 22px; color: var(--blue); font: 600 13px/1.5 var(--body); letter-spacing: .04em; }
.folio-hero h1 { margin: 0 0 19px; font: 900 clamp(42px, 4.25vw, 61px)/1.35 var(--display); letter-spacing: -.065em; word-break: keep-all; }
.folio-hero h1 span { color: var(--blue); }
.folio-description { margin: 0 0 23px; font-size: 16px; line-height: 1.9; letter-spacing: -.035em; word-break: keep-all; }
.mobile-break { display: none; }
.folio-actions { display: flex; align-items: center; gap: 18px; }
.btn { min-height: 53px; padding: 0 28px; border-radius: 3px; font-size: 17px; border-width: 1px; }
.btn:hover { transform: none; }
.btn.primary { background: var(--blue); border-color: var(--blue); box-shadow: none; }
.btn.primary:hover { background: var(--blue-dark); }
.folio-actions .btn { min-width: 238px; justify-content: space-between; font-size: 21px; }
.folio-actions .btn svg { width: 21px; height: 21px; }
.folio-note { color: var(--ink-2); font-size: 12px; white-space: nowrap; }
.folio-book { margin: -12px -26px -12px 0; pointer-events: none; }
.folio-book img { display: block; width: 100%; height: 370px; object-fit: contain; }
.readings-section { padding: 40px 0 0; scroll-margin-top: 24px; }
.readings-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin: 0 0 30px; }
.readings-heading h2 { font: 900 clamp(27px, 2.5vw, 34px)/1.4 var(--display); margin: 0; letter-spacing: -.055em; word-break: keep-all; }
.folio-tabs { display: flex; align-items: center; gap: 21px; max-width: 100%; }
.folio-tabs button { min-height: 44px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; padding: 7px 0 9px; color: var(--ink-2); cursor: pointer; font: 500 13px/1.5 var(--body); white-space: nowrap; transition: color .16s, border-color .16s; }
.folio-tabs button:hover { color: var(--blue); }
.folio-tabs button[aria-pressed='true'] { color: var(--blue); border-bottom-color: var(--blue); font-weight: 700; }
.reading-group { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 40px; padding-top: 27px; border-top: 1px solid #bdb7ab; }
.reading-group + .reading-group { margin-top: 42px; }
.reading-group-heading { position: sticky; top: 24px; align-self: start; }
.reading-group-number { display: block; margin-bottom: 12px; color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.reading-group-heading h3 { margin: 0; font: 900 29px/1.5 var(--display); letter-spacing: -.055em; word-break: keep-all; }
.reading-group-count { display: block; margin-top: 10px; color: var(--ink-2); font-size: 11px; }
.reading-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; min-width: 0; }
.reading-grid.reading-grid-featured { grid-template-columns: minmax(0, 1fr); }
.reading-card { display: grid; grid-template-columns: minmax(0, 1fr) 104px; grid-template-rows: auto 1fr; align-content: start; column-gap: 20px; min-width: 0; min-height: 156px; padding: 24px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); text-decoration: none; background: none; }
.reading-card:hover .reading-title, .reading-card:focus-visible .reading-title { color: var(--blue); }
.reading-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.reading-card .reading-title { grid-column: 1; grid-row: 1; margin: 0 0 9px; font: 600 21px/1.55 var(--body); letter-spacing: -.045em; word-break: keep-all; transition: color .16s; }
.reading-card p { grid-column: 1; grid-row: 2; margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.8; letter-spacing: -.025em; word-break: keep-all; }
.reading-art { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 104px; height: 104px; pointer-events: none; }
.reading-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.reading-card-featured { grid-template-columns: minmax(0, 1fr) 164px; min-height: 196px; padding-top: 12px; }
.reading-card-featured .reading-title { font-size: 29px; }
.reading-card-featured p { max-width: 34em; font-size: 14px; }
.reading-card-featured .reading-art { width: 164px; height: 164px; }
.face-banner { position: relative; width: 100%; min-height: 124px; margin-top: 46px; display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 20px; padding: 24px 25% 24px 12px; overflow: hidden; text-align: left; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: none; color: var(--ink); cursor: pointer; }
.banner-title { padding-left: 18px; border-left: 3px solid var(--blue); font: 900 clamp(22px, 2.15vw, 30px)/1.6 var(--display); letter-spacing: -.07em; word-break: keep-all; }
.banner-description { font-size: 13px; line-height: 1.9; word-break: keep-all; }
.banner-face { position: absolute; width: 200px; top: -48px; right: 92px; opacity: .88; pointer-events: none; }
.banner-face img { display: block; width: 100%; height: auto; }
.banner-arrow { position: absolute; right: 22px; top: calc(50% - 19px); display: grid; place-items: center; width: 38px; height: 38px; color: var(--blue); transition: transform .18s; }
.banner-arrow svg { width: 19px; height: 19px; }
.face-banner:hover { border-color: #a56850; }
.face-banner:hover .banner-arrow { transform: translateX(3px); }
.service-note { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 30px 0 24px; }
.service-seal { display: block; width: 38px; height: 38px; border-radius: 3px; }
.service-note p { margin: 0; font-size: 12px; line-height: 1.8; color: #615043; }
.service-note p span { color: var(--ink-2); font-size: 11px; }
.service-note a { display: inline-flex; align-items: center; gap: 9px; margin-left: 35px; font-size: 12px; color: var(--ink-2); }
.service-note a svg { width: 14px; height: 14px; }
.guide-dialog { width: min(820px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 34px; border: 1px solid #b99c7a; border-radius: 15px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 100px #30251f38; }
.guide-dialog::backdrop { background: #30251f80; backdrop-filter: blur(4px); }
.guide-dialog h2 { margin: 8px 25px 20px 0; font: 900 27px/1.5 var(--display); letter-spacing: -.06em; word-break: keep-all; }
.guide-close { position: absolute; top: 10px; right: 14px; width: 38px; height: 38px; border: 0; background: none; font-size: 30px; color: var(--ink-2); cursor: pointer; }
.guide-content { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 30px; align-items: center; }
.guide-portrait { margin: 0; min-width: 0; }
.guide-photo { position: relative; overflow: hidden; border: 1px solid #d7c3a8; border-radius: 120px 120px 12px 12px; background: radial-gradient(ellipse at 50% 38%, #faf4e9, #e7d9c4); }
.guide-photo img { display: block; width: 100%; height: auto; }
.guide-portrait figcaption { margin-top: 8px; color: #9a8978; text-align: center; font-size: 10px; }
.guide-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.guide-region { opacity: 0; }
.guide-region.is-active { opacity: 1; }
.guide-area { fill: #a639291a; stroke: #982f23b3; stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.guide-marker-ring { fill: #a639291c; stroke: var(--blue); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.guide-marker-dot { fill: var(--blue); }
.guide-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.guide-tabs button { padding: 6px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font-size: 13px; cursor: pointer; }
.guide-tabs button[aria-pressed='true'] { color: var(--blue); background: #efdfcd; border-color: #c69178; }
.guide-palace { margin: 22px 0 4px; color: var(--blue); font-size: 12px; }
.guide-part-title { margin: 0 0 12px; font: 900 22px/1.6 var(--display); letter-spacing: -.05em; word-break: keep-all; }
.guide-part-copy { font-size: 14px; line-height: 1.9; color: var(--ink-2); word-break: keep-all; }
.guide-content .btn { margin-top: 12px; font-size: 14px; min-height: 44px; }
/* Carry the same palette and lighter borders through the existing upload and report views. */
.panel, .sheet { border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.panel h2, .sheet h3 { font-weight: 900; letter-spacing: -.055em; line-height: 1.4; }
.panel .step-head h2 { margin: 7px 0 13px; }
.photo-guide, .photo, .notice, .lock, .verdict { border-radius: 11px; }
.chips span, .ghost { border-width: 1px; border-color: #c9b49c; background: #fdf9f2; border-radius: 8px; }
.chips input:checked + span { background: #6b4d37; border-color: #6b4d37; }
.go { border-radius: 9px; font-size: 22px; }
.tc-icon, .ey-icon { border-radius: 9px; background: #ede0ce; color: var(--blue); }
.tcard { grid-template-columns: 64px minmax(0, 1fr); min-height: 92px; column-gap: 12px; border: 0; border-bottom: 1px solid var(--line); background: none; border-radius: 0; }
.tcard:hover { border-color: var(--blue); background: none; transform: none; box-shadow: none; }
.tcard .tc-icon { background: transparent; }
.tcard .tc-illustration { width: 64px; height: 64px; border-radius: 0; }
.tc-illustration img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tc-q { font-size: 15px; }
.tcard .tc-d { color: var(--ink-2); }
.cat-chips button { border-width: 1px; border-radius: 8px; }
.sec h2, .h5, .r-head, .readings h4, .cards b, .second b { font-weight: 900; }
.grp { margin-top: 22px; color: #80634b; }
.map canvas, .checks label, .verdict, .notice, .lock { border-width: 1px; border-color: #cdb8a0; }
.goods li, .why li { border-radius: 7px; }
details.method { margin: 16px 0 0; border-top: 1px solid var(--line); padding: 16px 8px 0; color: var(--ink-2); font-size: 13px; }
details.method summary { font: 500 13px/1.7 var(--body); }
details.method p, .lock .demo { word-break: keep-all; }
details.method summary::marker { color: #a38b74; }
footer { display: grid; gap: 10px; margin-top: 16px; padding: 16px 8px 30px; font-size: 11px; line-height: 1.8; color: #8a7a6b; }
.footer-brand { font: 700 17px/1.4 var(--display); color: #77604c; white-space: nowrap; }
footer p, footer address { margin: 0; font-style: normal; word-break: keep-all; }
footer i { font-style: normal; margin: 0 6px; color: #cdb8a0; }
footer a { color: inherit; }
footer .legal a { text-decoration: none; }
footer .legal a:hover { text-decoration: underline; }
footer small { font-size: inherit; }
/* 이용약관·개인정보처리방침 (index.html의 기본 스타일 없이 이 파일만 읽음) */
.doc-page { margin: 0; color: var(--ink); font: 15px/1.85 var(--body); }
.doc-page *, .doc-page *::before, .doc-page *::after { box-sizing: border-box; }
.doc-page .wrap { margin: 0 auto; }
.doc-page .topbar { display: flex; align-items: center; margin-bottom: 0; }
.doc-page .logo { display: inline-flex; }
.doc-page footer { border-top: 1px solid var(--line); }
.doc { max-width: 760px; margin: 0 auto; padding: 48px 8px 40px; word-break: keep-all; overflow-wrap: anywhere; }
.doc h1 { margin: 0 0 4px; font: 900 34px/1.4 var(--display); }
.doc-date { margin: 0 0 32px; color: var(--ink-2); font-size: 13px; }
.doc h2 { margin: 40px 0 10px; font-size: 17px; font-weight: 700; }
.doc p { margin: 0 0 10px; }
.doc ol, .doc ul { margin: 0 0 12px; padding-left: 1.4em; }
.doc li { margin: 4px 0; }
.doc a { color: var(--blue); }
.doc .table-wrap { overflow-x: auto; margin: 8px 0 16px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; overflow-wrap: normal; }
.doc th, .doc td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { border-top: 1px solid var(--ink); font-weight: 700; white-space: nowrap; }
/* 로그인·결제 화면. 소셜 버튼 색은 각 회사 가이드(카카오 노랑, Google 흰색, Apple 검정)를 따른다. */
.auth, .pay { max-width: 520px; margin: 24px auto 0; }
.auth h2, .pay h2 { margin: 0 0 6px; }
.auth .lead, .pay .lead { margin: 0 0 22px; color: var(--ink-2); word-break: keep-all; }
.auth-btns { display: grid; gap: 12px; }
.auth-btn { position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 44px; border: 1px solid transparent; border-radius: 10px; font: 700 16px var(--body); cursor: pointer; }
.auth-btn svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); }
.auth-btn.kakao { background: #fee500; color: rgba(0, 0, 0, .85); }
.auth-btn.google { background: #fff; color: #1f1f1f; border-color: #dadce0; }
.auth-btn.apple { background: #000; color: #fff; }
.auth button:disabled { opacity: .6; cursor: default; }
.recent { position: absolute; top: -10px; right: 10px; padding: 1px 8px; border-radius: 99px; background: var(--blue); color: #fff; font: 700 11px/1.6 var(--body); white-space: nowrap; }
.auth-hint { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); word-break: keep-all; }
.or { display: flex; align-items: center; gap: 12px; margin: 24px 0 8px; color: var(--ink-2); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.auth-tabs { display: flex; justify-content: center; gap: 14px; }
.auth-tabs button { position: relative; padding: 14px 6px 8px; border: 0; background: none; color: var(--ink); font: 700 14px var(--body); text-decoration: underline; cursor: pointer; }
.auth-tabs button[aria-pressed="true"] { color: var(--blue); }
.auth-form { display: grid; gap: 12px; margin-top: 10px; }
.auth-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.auth-form input { min-height: 48px; padding: 0 14px; border: 1px solid #cdb8a0; border-radius: 8px; background: var(--surface); color: var(--ink); font: 16px var(--body); }
.auth-form .linkish { justify-self: center; font-weight: 500; }
.auth-terms { margin: 20px 0 0; font-size: 12px; color: var(--ink-2); text-align: center; word-break: keep-all; }
.pay-price { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pay-price b { font-size: 22px; }
.pay-hint, .pay-account { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); text-align: center; word-break: keep-all; }
.pay-account .linkish { padding: 0; font-size: 13px; font-weight: 500; }
#pay-methods, #pay-agree { margin: 0 -12px; }
.pay .demo { margin: 14px 0 0; font-size: 13px; color: var(--ink-2); text-align: center; word-break: keep-all; }
@media (min-width: 1500px) {
  .folio-hero { min-height: 440px; }
  .folio-book img { height: 405px; }
}
@media (max-width: 1180px) {
  .wrap { padding: 0 26px; }
  .logo-caption { font-size: 13px; margin-left: 16px; padding-left: 16px; }
  .nav { gap: 22px; }
  .top-link { font-size: 13px; }
  .nav-cta { font-size: 13px; }
  .folio-hero { padding-left: 14px; padding-right: 14px; min-height: 390px; }
  .folio-hero h1 { font-size: 49px; }
  .folio-description { max-width: 25em; font-size: 14px; }
  .folio-book img { height: 340px; }
  .folio-actions { flex-wrap: wrap; gap: 10px; }
  .folio-actions .btn { min-width: 216px; }
  .readings-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .folio-tabs { width: 100%; }
  .reading-group { grid-template-columns: 150px minmax(0, 1fr); gap: 28px; }
  .reading-group-heading h3 { font-size: 26px; }
  .reading-grid { column-gap: 25px; }
  .reading-card { grid-template-columns: minmax(0, 1fr) 88px; column-gap: 15px; }
  .reading-card .reading-title { font-size: 19px; }
  .reading-art { width: 88px; height: 88px; }
  .reading-card-featured { grid-template-columns: minmax(0, 1fr) 150px; }
  .reading-card-featured .reading-title { font-size: 28px; }
  .reading-card-featured .reading-art { width: 150px; height: 150px; }
  .face-banner { grid-template-columns: 1fr 1fr; padding-right: 26%; gap: 20px; }
  .banner-description { font-size: 12px; }
  .banner-face { right: 66px; width: 180px; top: -37px; }
}
@media (max-width: 900px) {
  .landing-topbar { grid-template-columns: 1fr auto; }
  .landing-topbar .nav { display: none; }
  .folio-hero { grid-template-columns: 48% 52%; min-height: 350px; padding: 26px 7px; }
  .folio-hero h1 { font-size: 42px; }
  .folio-kicker { font-size: 14px; margin-bottom: 16px; }
  .folio-book img { height: 295px; }
  .folio-description { font-size: 13px; }
  .folio-note { font-size: 11px; }
  .logo-caption { display: none; }
  .reading-grid { grid-template-columns: minmax(0, 1fr); }
  .reading-card { grid-template-columns: minmax(0, 1fr) 104px; min-height: 158px; }
  .reading-card .reading-title { font-size: 21px; }
  .reading-art { width: 104px; height: 104px; }
  .reading-card-featured { grid-template-columns: minmax(0, 1fr) 140px; }
  .reading-card-featured .reading-title { font-size: 28px; }
  .reading-card-featured .reading-art { width: 140px; height: 140px; }
  .face-banner { grid-template-columns: 1fr; gap: 6px; padding-right: 33%; }
  .banner-title { font-size: 25px; }
  .banner-description { padding-left: 21px; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .topbar { min-height: 75px; padding: 12px 0; gap: 10px; }
  .brand-logo { width: 131px; height: 39px; }
  .nav-cta { font-size: 13px; gap: 7px; }
  .nav-cta svg { width: 15px; height: 15px; }
  .folio-hero { position: relative; grid-template-columns: 1fr; padding: 29px 4px 8px; text-align: center; }
  .folio-copy { padding: 0; }
  .folio-kicker { font-size: 12px; margin-bottom: 17px; }
  .folio-hero h1 { font-size: clamp(38px, 10vw, 49px); line-height: 1.35; margin-bottom: 15px; }
  .folio-description { margin: 0 auto 19px; font-size: 13px; line-height: 1.85; max-width: 100%; }
  .mobile-break { display: block; }
  .folio-actions { justify-content: center; gap: 11px; }
  .folio-actions .btn { min-height: 48px; min-width: 218px; font-size: 18px; }
  .folio-note { width: 100%; font-size: 10px; }
  .folio-book { margin: 7px -12px -4px; }
  .folio-book img { height: auto; max-height: 270px; width: 100%; aspect-ratio: 1.55; }
  .readings-section { padding-top: 30px; }
  .readings-heading { gap: 16px; margin-bottom: 24px; }
  .readings-heading h2 { font-size: 28px; }
  .folio-tabs { gap: 22px; overflow-x: auto; padding: 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .folio-tabs::-webkit-scrollbar { display: none; }
  .folio-tabs button { flex: 0 0 auto; min-height: 44px; font-size: 13px; }
  .reading-group { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 21px; }
  .reading-group + .reading-group { margin-top: 32px; }
  .reading-group-heading { position: static; display: flex; align-items: baseline; gap: 12px; }
  .reading-group-number { margin: 0; font-size: 11px; }
  .reading-group-heading h3 { font-size: 26px; }
  .reading-group-count { margin: 0 0 0 auto; font-size: 10px; }
  .reading-grid { gap: 0; }
  .reading-card { grid-template-columns: minmax(0, 1fr) 88px; min-height: 158px; padding: 22px 0; column-gap: 15px; }
  .reading-card .reading-title { margin: 0 0 8px; font-size: 20px; line-height: 1.55; }
  .reading-card p { font-size: 12px; }
  .reading-art { width: 88px; height: 88px; }
  .reading-card-featured { grid-template-columns: minmax(0, 1fr) 104px; min-height: 172px; padding-top: 16px; }
  .reading-card-featured .reading-title { font-size: 24px; }
  .reading-card-featured p { font-size: 12px; }
  .reading-card-featured .reading-art { width: 104px; height: 104px; }
  .face-banner { min-height: 148px; margin-top: 32px; padding: 17px 90px 17px 0; gap: 10px; }
  .banner-title { font-size: 22px; padding-left: 12px; line-height: 1.55; max-width: 235px; }
  .banner-description { padding-left: 15px; font-size: 11px; line-height: 1.8; }
  .banner-face { width: 155px; right: -38px; top: 0; opacity: .5; }
  .banner-arrow { width: 30px; height: 30px; top: 19px; right: 15px; }
  .banner-arrow svg { width: 15px; height: 15px; }
  .service-note { padding: 25px 0 22px; gap: 11px; }
  .service-note a { display: none; }
  .service-note p { font-size: 11px; }
  .service-note p span { font-size: 10px; }
  .guide-dialog { padding: 25px 20px; }
  .guide-dialog h2 { font-size: 24px; margin-bottom: 12px; }
  .guide-content { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .guide-portrait { width: 160px; margin: 0 auto; }
  .guide-tabs { justify-content: center; }
  .guide-tabs button { padding: 6px 10px; }
  .guide-palace { margin-top: 16px; }
  .guide-part-title { font-size: 20px; }
  .guide-part-copy { font-size: 13px; }
  .panel, .sheet { padding: 22px 18px; }
  .panel h2 { font-size: 30px; }
  .topbar .top-link { font-size: 12px; }
  .sec { margin-top: 40px; }
  .sec h2 { font-size: 29px; }
  details.method { padding-left: 0; padding-right: 0; }
  footer { padding: 14px 0 25px; font-size: 10px; }
  .doc { padding: 32px 0 28px; font-size: 14px; }
  .doc h1 { font-size: 28px; }
  .footer-brand { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Each result uses the illustration for the selected outcome. */
.res-hero.with-art { display: grid; grid-template-columns: minmax(0, 1fr) clamp(210px, 24vw, 288px); align-items: center; gap: 30px; }
.res-summary { min-width: 0; }
.result-visual { width: 100%; aspect-ratio: 1; margin: 0; display: grid; place-items: center; }
.result-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
.result-visual.is-personalized { aspect-ratio: auto; }
.res-hero.with-art:has(.is-personalized) { grid-template-columns: minmax(0, 1fr) clamp(260px, 29vw, 360px); }
.result-visual canvas { display: block; width: 100%; height: auto; }
.character-tools { margin-top: 15px; }
.character-status { margin: 0; color: var(--ink-2); font-size: 12px; }
.character-tools .ghost { min-height: 44px; padding: 8px 0; border: 0; border-radius: 0; background: none; color: var(--blue); font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.character-tools .ghost:hover { background: none; color: var(--blue-dark); }
.result-thumb { display: block; flex: 0 0 44px; width: 44px; height: 44px; }
.result-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.near-label { display: flex; align-items: center; gap: 9px; min-width: 0; }
.near-label > span:last-child { min-width: 0; word-break: keep-all; }
.near-row:has(.result-thumb) { grid-template-columns: minmax(0, 15em) minmax(0, 1fr) 2.4em; }
.keyword-results { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.keyword-results > li { position: relative; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); background: #fcf8f1; border-radius: 13px; }
.keyword-visual { width: min(100%, 175px); aspect-ratio: 1; margin: 0 auto 14px; }
.keyword-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
.keyword-card .no { position: absolute; top: 15px; left: 17px; color: var(--blue); font: 900 23px/1.2 var(--display); }
.keyword-card > b { font: 900 26px/1.5 var(--display); }
.keyword-card > p { font-size: 14px; line-height: 1.9; }
.keyword-card .why { margin-bottom: 0; }
.keyword-card .why li { font-size: 12px; }
.pair .map figcaption { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.pair-role { display: inline-block; max-width: 100%; padding: 3px 8px; border-radius: 6px; color: var(--blue); background: #efe0ce; font-size: 11px; line-height: 1.5; word-break: keep-all; }
.verdict-visual { width: min(100%, 170px); aspect-ratio: 1; margin: 0 auto 14px; }
.verdict-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 900px) {
  .res-hero.with-art { grid-template-columns: minmax(0, 1fr) 210px; gap: 18px; }
  .res-hero.with-art:has(.is-personalized) { grid-template-columns: minmax(0, 1fr) 240px; }
  .keyword-results { grid-template-columns: 1fr; }
  .keyword-results > li { display: grid; grid-template-columns: minmax(0, 1fr) 145px; column-gap: 18px; }
  .keyword-card > :not(.keyword-visual):not(.no) { grid-column: 1; }
  .keyword-visual { grid-column: 2; grid-row: 1 / span 6; align-self: center; margin: 0; }
  .keyword-card > b { margin-top: 17px; }
}
@media (max-width: 620px) {
  .res-hero.with-art { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .res-hero.with-art:has(.is-personalized) { grid-template-columns: minmax(0, 1fr); }
  .res-hero.with-art .result-visual { width: min(210px, 76%); justify-self: center; }
  .res-hero.with-art .result-visual.is-personalized { width: min(280px, 100%); }
  .res-hero.with-art .sub { font-size: 15px; }
  .res-seen { font-size: 12px; }
  .res-seen em { padding: 4px 9px; }
  .near-row:has(.result-thumb) { grid-template-columns: minmax(0, 1fr) 2.4em; }
  .near-label { grid-column: 1 / -1; }
  .keyword-results > li { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .keyword-visual { grid-column: 1; grid-row: auto; width: 155px; margin: 0 auto 12px; }
  .keyword-card > b { margin-top: 0; font-size: 24px; }
  .verdict-visual { width: 145px; }
}

/* 정통 풀이: 한눈에 보기(별점, 나이대 곡선), 줄 목록, 상자 없는 조심할 점 */
.glance { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px 48px; align-items: center; margin: 14px 0 10px; }
.stars { display: grid; grid-template-columns: auto auto 1fr; gap: 6px 16px; align-items: baseline; }
.stars b { font: 900 17px/1.5 var(--display); }
.star { color: var(--coral); letter-spacing: 2px; font-size: 14px; white-space: nowrap; }
.star i { color: var(--line); font-style: normal; }
.stars .ln { color: var(--ink-2); font-size: 15px; word-break: keep-all; }
.flow-curve { display: block; width: 100%; height: auto; }
.flow-curve text { font: 400 11px var(--body); fill: var(--ink-2); }
.flow-curve .tag { fill: var(--coral); font-weight: 700; }
.flow-curve .area { fill: var(--coral); fill-opacity: .08; }
.flow-curve .base { stroke: var(--line); stroke-dasharray: 3 4; }
.flow-curve .curve { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.flow-curve .dot { fill: var(--ink); }
.flow-curve .dot.hi { fill: var(--coral); }
.type-text .one { display: block; font: 900 24px/1.45 var(--display); margin-bottom: 10px; word-break: keep-all; }
.r-watch b { color: var(--coral); margin-right: 6px; }
.rows { list-style: none; padding: 0; margin: 12px 0 0; border-top: 2px solid var(--ink); }
.rows > li { display: grid; grid-template-columns: calc(13.4em + 12px) minmax(0, 1fr); gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rows .rl b { display: block; font: 900 22px/1.3 var(--display); }
.rows .rl small { display: block; font: 13px/1.5 var(--body); color: var(--ink-2); margin-top: 4px; }
.rows .rl em { display: block; font: 700 13px/1.5 var(--body); font-style: normal; color: var(--coral); margin-top: 2px; }
.rows .rl .star { display: block; margin-top: 4px; }
.rows p { margin: 0; font-size: 16.5px; line-height: 1.85; word-break: keep-all; }
@media (max-width: 760px) {
  .glance { grid-template-columns: 1fr; }
  .rows > li { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 620px) {
  .stars { grid-template-columns: auto 1fr; }
  .stars .ln { grid-column: 1 / -1; margin-bottom: 6px; }
}
.scale-cap { margin: 14px 0 0 !important; font: 13px/1.5 var(--body); color: var(--ink-2); }
.scale-cap b { color: var(--ink); font-weight: 700; margin-left: 4px; }
.scale-cap + .scale { margin-top: 6px; }
