:root {
  --ink: #eef2ff;
  --muted: #9da9c9;
  --night: #0b1930;
  --night-2: #132643;
  --surface: rgba(25, 43, 77, 0.88);
  --line: rgba(157, 176, 226, 0.18);
  --blue: #7aa2ff;
  --cyan: #6de1df;
  --gold: #f6ce7a;
  --danger: #ff9cae;
  --radius: 24px;
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--night);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 50% -10%, #31578f 0, #172d50 32%, var(--night) 76%); }
button, input, select { font: inherit; }
button { color: inherit; }
.shell { width: min(100%, 560px); min-height: 100vh; margin: 0 auto; padding: 0 22px 48px; position: relative; overflow: hidden; }
.shell::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .26; background-image: radial-gradient(circle at 20% 18%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 75% 12%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 86% 46%, #fff 0 1px, transparent 1.5px); background-size: 210px 190px, 260px 230px, 170px 240px; }
.brandbar { height: 72px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 3; }
.brand { border: 0; background: none; display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; padding: 6px 0; cursor: pointer; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(246,206,122,.55); border-radius: 50%; color: var(--gold); font-family: "Nanum Myeongjo", "Batang", serif; font-size: 15px; }
.prototype-badge { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; letter-spacing: .12em; }
.screen { display: none; position: relative; z-index: 1; animation: rise .45s ease both; }
.screen.active { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.eyebrow { color: var(--cyan); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: "Nanum Myeongjo", "Batang", serif; font-size: clamp(40px, 11vw, 58px); line-height: 1.16; letter-spacing: -.045em; margin: 8px 0 18px; }
h1 em, .result-hero em { color: var(--gold); font-style: normal; }
h2 { font-size: clamp(29px, 8vw, 40px); line-height: 1.22; letter-spacing: -.04em; margin: 8px 0 12px; }
.lead { font-size: 17px; line-height: 1.7; color: #c4cce2; max-width: 460px; }
.orbit-art { width: 182px; height: 182px; position: absolute; right: -28px; top: 30px; opacity: .88; }
.orbit { position: absolute; inset: 22px; border: 1px solid rgba(109,225,223,.25); border-radius: 50%; transform: rotate(22deg); }
.orbit-one::before { content: ""; position: absolute; width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; top: 11px; left: 26px; box-shadow: 0 0 18px var(--cyan); }
.orbit-two { inset: 47px 4px; transform: rotate(-38deg); border-color: rgba(246,206,122,.24); }
.core { position: absolute; inset: 62px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(122,162,255,.24), rgba(109,225,223,.1)); border: 1px solid var(--line); border-radius: 50%; font-family: "Nanum Myeongjo", "Batang", serif; color: var(--gold); font-size: 26px; box-shadow: 0 0 45px rgba(80,125,255,.2); }
.star { position: absolute; color: var(--gold); }.star-a { left: 5px; top: 30px; }.star-b { right: 22px; bottom: 18px; }.star-c { right: 20px; top: 25px; font-size: 30px; }
#welcome { padding-top: 52px; }
#welcome .eyebrow, #welcome h1, #welcome .lead { max-width: 355px; position: relative; z-index: 1; }
.preview-stack { position: relative; height: 150px; margin: 34px 0 20px; }
.preview-card { position: absolute; width: 78%; min-height: 112px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(26,49,94,.93), rgba(15,28,54,.93)); box-shadow: 0 18px 60px rgba(0,0,0,.24); }
.preview-card span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 10px; }.preview-card strong { font-size: 17px; line-height: 1.45; }
.card-left { left: 0; top: 0; transform: rotate(-2deg); }.card-right { right: 0; top: 30px; transform: rotate(2.5deg); border-color: rgba(109,225,223,.23); }
.primary-btn, .share-btn { width: 100%; min-height: 58px; border: 0; border-radius: 18px; background: linear-gradient(135deg, #7aa2ff, #625de8); color: #fff; font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; box-shadow: 0 14px 34px rgba(80,92,232,.28); }
.primary-btn:hover, .primary-btn:focus-visible { filter: brightness(1.08); transform: translateY(-1px); }
.microcopy { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 0 22px; }
.trust-note { display: flex; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); }.trust-note span { color: var(--cyan); }.trust-note p { font-size: 13px; line-height: 1.65; }
.progress-wrap { margin: 18px 0 54px; }.progress-copy { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-bottom: 10px; }.progress-track { height: 4px; background: rgba(255,255,255,.08); border-radius: 9px; overflow: hidden; }.progress-track span { display: block; width: 33%; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--blue)); transition: width .3s ease; }
.step { display: none; }.step.active { display: block; animation: rise .35s ease both; }.helper { color: var(--muted); line-height: 1.65; margin-bottom: 30px; }
.field-label, fieldset legend { display: block; font-size: 14px; font-weight: 700; margin: 22px 0 10px; }.field-label small { color: var(--muted); font-weight: 500; margin-left: 5px; }
.text-input { width: 100%; min-height: 56px; padding: 0 16px; color: var(--ink); color-scheme: dark; background: rgba(255,255,255,.055); border: 1px solid var(--line); border-radius: 15px; outline: none; font-size: 16px; }.text-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(122,162,255,.12); }
.select-input { appearance: auto; }
.choice-group { border: 0; padding: 0; margin: 0; }.choice-group.compact { display: flex; flex-wrap: wrap; gap: 10px; }.choice-group.compact legend { width: 100%; }.choice-chip input, .topic-card input { position: absolute; opacity: 0; pointer-events: none; }.choice-chip span { display: block; min-width: 88px; text-align: center; padding: 12px 18px; border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 13px; cursor: pointer; }.choice-chip input:checked + span { border-color: var(--cyan); color: var(--cyan); background: rgba(109,225,223,.08); }
.time-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }.unknown { display: grid; place-items: center; min-height: 56px; padding: 0 14px; border: 1px solid var(--line); border-radius: 15px; color: var(--muted); font-size: 14px; cursor: pointer; }.unknown input { margin-right: 7px; }
.form-error { color: var(--danger); min-height: 22px; margin: 8px 0 2px; font-size: 13px; }.next-btn { margin-top: 28px; }.button-row { display: grid; grid-template-columns: .58fr 1.42fr; gap: 10px; margin-top: 34px; }.ghost-btn { border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 18px; font-weight: 700; cursor: pointer; }
.topic-grid { display: grid; gap: 12px; border: 0; padding: 0; margin: 26px 0 0; }.topic-card { position: relative; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 18px; cursor: pointer; }.topic-card:has(input:checked) { border-color: var(--cyan); background: linear-gradient(135deg, rgba(109,225,223,.1), rgba(122,162,255,.08)); box-shadow: inset 0 0 0 1px rgba(109,225,223,.15); }.topic-icon { grid-row: 1 / 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: rgba(122,162,255,.13); color: var(--gold); font-size: 23px; }.topic-card strong { font-size: 16px; }.topic-card small { color: var(--muted); margin-top: 4px; }
#loading { text-align: center; padding-top: 120px; }.loader-symbol { width: 112px; height: 112px; display: grid; place-items: center; margin: 0 auto 32px; border: 1px solid rgba(109,225,223,.34); border-radius: 50%; box-shadow: 0 0 50px rgba(109,225,223,.14); animation: pulse 1.3s ease infinite alternate; }.loader-symbol span { font-family: "Gowun Batang", serif; font-size: 36px; color: var(--gold); }@keyframes pulse { to { transform: scale(1.04); box-shadow: 0 0 76px rgba(109,225,223,.22); } }.loading-list { max-width: 280px; margin: 30px auto; padding: 0; list-style: none; text-align: left; color: var(--muted); }.loading-list li { padding: 11px 0; border-bottom: 1px solid var(--line); }.loading-list li::before { content: "○"; margin-right: 10px; }.loading-list li.done { color: var(--ink); }.loading-list li.done::before { content: "✓"; color: var(--cyan); }
#result { padding-top: 12px; }.result-kicker { display: flex; justify-content: space-between; align-items: center; color: var(--cyan); font-size: 13px; font-weight: 700; letter-spacing: .08em; }.result-kicker button { border: 0; background: none; color: var(--muted); font-size: 13px; cursor: pointer; }.result-hero { padding: 34px 0 26px; }.result-hero > p { color: var(--muted); font-size: 14px; }.result-hero h2 { font-family: "Gowun Batang", serif; font-size: clamp(31px, 8.5vw, 44px); line-height: 1.42; word-break: keep-all; overflow-wrap: break-word; }.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }.tag-row span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #c9d2ed; font-size: 13px; }
.comparison { position: relative; display: grid; gap: 14px; }.insight-card, .focus-card, .difference-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(12px); }.insight-card { padding: 22px; }.born-card { background: linear-gradient(145deg, rgba(27,48,89,.86), rgba(17,29,53,.86)); }.now-card { background: linear-gradient(145deg, rgba(23,55,69,.78), rgba(15,31,49,.9)); }.card-heading { display: flex; gap: 13px; align-items: center; }.card-symbol { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.06); color: var(--gold); }.card-heading small, .difference-card small { color: var(--muted); font-size: 12px; }.card-heading h3 { margin: 2px 0 0; font-size: 19px; }.insight-card > p { color: #c5cee3; line-height: 1.68; margin: 18px 0; }.meter { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }.meter i { height: 6px; background: rgba(255,255,255,.08); border-radius: 6px; overflow: hidden; }.meter b { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }.meet-mark { position: absolute; z-index: 2; left: calc(50% - 18px); top: calc(50% - 18px); width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #0d1a32; color: var(--gold); }
.focus-card { margin-top: 20px; padding: 24px; border-color: rgba(246,206,122,.24); background: linear-gradient(140deg, rgba(91,70,31,.22), rgba(20,31,56,.88)); }.focus-label { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .08em; }.focus-card h3 { font-size: 22px; line-height: 1.4; margin: 13px 0 10px; }.focus-card p { color: #c5cee3; line-height: 1.72; margin: 0; }
.difference-card { display: flex; gap: 16px; padding: 22px; margin-top: 14px; }.spark { color: var(--cyan); font-size: 23px; }.difference-card h3 { margin: 5px 0 9px; font-size: 18px; }.difference-card p { color: var(--muted); line-height: 1.65; margin: 0; }
.saju-reading { margin-top: 58px; }.reading-intro { padding: 0 4px 24px; }.reading-intro h2 { font-family: "Gowun Batang", serif; font-size: clamp(28px, 7.8vw, 38px); }.reading-intro h2 em { color: var(--gold); font-style: normal; }.reading-intro > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.75; }
.reading-section, .element-card { margin-top: 14px; padding: 26px 23px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(18,31,60,.9), rgba(10,21,41,.92)); }.featured-reading { border-color: rgba(246,206,122,.28); background: linear-gradient(145deg, rgba(72,57,30,.28), rgba(13,26,50,.94)); }.flow-reading { border-color: rgba(109,225,223,.24); background: linear-gradient(145deg, rgba(20,66,68,.27), rgba(11,24,46,.94)); }
.reading-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 21px; }.reading-heading > span { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(246,206,122,.26); border-radius: 50%; color: var(--gold); font-family: "Gowun Batang", serif; font-size: 17px; }.reading-heading small { color: var(--muted); font-size: 12px; letter-spacing: .08em; }.reading-heading h3 { margin: 3px 0 0; font-family: "Gowun Batang", serif; font-size: 22px; }.reading-section > p, .element-card > p { margin: 0; color: #aeb9d3; font-size: 16px; line-height: 1.84; word-break: keep-all; }.reading-section .reading-lead { margin-bottom: 13px; color: #e7ebf8; font-weight: 700; }.reading-key { margin-top: 22px; padding: 16px 17px; border-left: 2px solid var(--gold); background: rgba(246,206,122,.06); }.reading-key span { display: block; color: var(--gold); font-size: 12px; margin-bottom: 6px; }.reading-key strong { font-size: 15px; line-height: 1.6; }
.element-card { background: linear-gradient(145deg, rgba(21,45,65,.9), rgba(11,23,43,.94)); }.element-bars { display: grid; gap: 13px; margin: 24px 0 18px; }.element-bars > div { display: grid; grid-template-columns: 58px 1fr; gap: 13px; align-items: center; }.element-bars span { display: flex; align-items: baseline; gap: 5px; color: var(--ink); font-family: "Gowun Batang", serif; font-size: 18px; }.element-bars small { color: var(--muted); font-family: inherit; font-size: 11px; }.element-bars i { height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.07); }.element-bars b { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .8s ease .2s; }.element-card .element-note { color: #7f8caa; font-size: 13px; line-height: 1.6; }
.balance-list { display: grid; gap: 9px; margin: 23px 0 0; padding: 0; list-style: none; }.balance-list li { position: relative; padding: 13px 14px 13px 39px; border: 1px solid rgba(109,225,223,.14); border-radius: 14px; background: rgba(109,225,223,.045); color: #cbd5e8; font-size: 14px; line-height: 1.55; }.balance-list li::before { content: "✓"; position: absolute; left: 15px; color: var(--cyan); }
.reading-basis { margin-top: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }.reading-basis summary { padding: 19px 21px; cursor: pointer; color: #d9e0f2; font-size: 14px; font-weight: 700; }.reading-basis > div { padding: 0 21px 20px; }.reading-basis p { display: grid; gap: 5px; margin: 14px 0 0; }.reading-basis strong { color: var(--cyan); font-size: 12px; }.reading-basis span { color: var(--muted); font-size: 13px; line-height: 1.68; }
.feedback-block { margin: 34px 0 24px; }.feedback-block h3 { font-size: 17px; }.feedback-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }.feedback-row button { min-height: 48px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.04); font-size: 13px; cursor: pointer; }.feedback-row button.selected { color: var(--cyan); border-color: var(--cyan); background: rgba(109,225,223,.09); }.feedback-block > p { color: var(--muted); min-height: 22px; margin: 10px 0 0; font-size: 13px; line-height: 1.5; }
.share-card { margin-top: 30px; padding: 20px; border: 1px solid rgba(122,162,255,.25); border-radius: 22px; background: rgba(122,162,255,.055); }
.share-card small { color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .05em; }
.share-card > div p { margin: 9px 0 17px; color: #d8e1f2; font-size: 15px; line-height: 1.7; word-break: keep-all; }
.share-actions { display: grid; gap: 9px; }.share-btn { background: rgba(122,162,255,.12); border: 1px solid rgba(122,162,255,.32); box-shadow: none; }.kakao-share-btn { background: #fee500; border-color: #fee500; color: #201f1a; }.kakao-share-btn:hover, .kakao-share-btn:focus-visible { filter: brightness(1.03); transform: translateY(-1px); }.other-share-btn { min-height: 48px; font-size: 14px; }
.share-privacy { margin: 10px 0 0; color: #7786a4; text-align: center; font-size: 11px; line-height: 1.5; }
.share-status { min-height: 20px; color: var(--cyan); text-align: center; font-size: 13px; margin: 7px 0 0; }
.partner-banner { margin: 28px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); text-align: center; }.partner-banner p { margin: 0 0 10px; color: #7786a4; font-size: 11px; line-height: 1.55; }
.contact-note { display: flex; align-items: flex-start; gap: 13px; margin-top: 25px; padding: 18px; border: 1px solid rgba(109,225,223,.2); border-radius: 18px; background: rgba(109,225,223,.055); text-align: left; }.contact-note > span { display: grid; flex: 0 0 37px; width: 37px; height: 37px; place-items: center; border-radius: 12px; background: rgba(109,225,223,.1); color: var(--cyan); font-size: 17px; }.contact-note strong { display: block; color: #edf3ff; font-size: 14px; }.contact-note p { margin: 6px 0 8px; color: #8e9db9; font-size: 12px; line-height: 1.6; word-break: keep-all; }.contact-note a { color: var(--cyan); font-size: 13px; font-weight: 800; text-decoration: none; }.contact-note a:hover, .contact-note a:focus-visible { text-decoration: underline; }
.method-note { margin-top: 28px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.method-note summary { cursor: pointer; font-weight: 700; font-size: 14px; }.method-note p { margin: 13px 0 0; color: var(--muted); line-height: 1.65; font-size: 13px; }footer { padding: 28px 0 0; color: #707d9f; font-size: 12px; line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (min-width: 760px) { body { padding: 28px 0; }.shell { min-height: calc(100vh - 56px); border: 1px solid rgba(182,201,239,.2); border-radius: 34px; background: rgba(12,27,51,.78); box-shadow: 0 30px 90px rgba(0,0,0,.32); } }
@media (max-width: 370px) { .shell { padding-inline: 17px; }.feedback-row { grid-template-columns: 1fr; }.orbit-art { opacity: .45; right: -55px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Focused fortune flow */
#welcome { padding-top: 26px; }
.welcome-head { position: relative; padding-right: 24px; }
.welcome-head::after { content: "結"; position: absolute; right: -8px; top: -18px; color: rgba(246,206,122,.055); font-family: "Nanum Myeongjo", "Batang", serif; font-size: 118px; line-height: 1; pointer-events: none; }
.welcome-head h1, .welcome-head p { position: relative; z-index: 1; }
.welcome-head h1 { max-width: none !important; font-size: clamp(32px, 9.2vw, 52px); word-break: keep-all; }
.welcome-head h1 span, .welcome-head h1 em { display: block; white-space: nowrap; }
.mascot-guide { display: grid; grid-template-columns: minmax(118px, 42%) 1fr; gap: 8px; align-items: center; margin: 25px 0 5px; padding: 10px 14px 10px 5px; border: 1px solid rgba(255,255,255,.42); border-radius: 24px; background: linear-gradient(135deg, rgba(241,249,255,.96), rgba(226,248,244,.92)); box-shadow: 0 14px 36px rgba(4,18,38,.18); }
.mascot-guide img { display: block; width: 100%; height: auto; filter: drop-shadow(0 5px 8px rgba(38,57,80,.12)); }
.mascot-guide p { position: relative; margin: 0; padding: 12px 13px; border-radius: 16px; background: #fff; color: #30415d; font-size: 13px; line-height: 1.5; box-shadow: 0 5px 16px rgba(69,91,119,.09); word-break: keep-all; }
.mascot-guide p::before { content: ""; position: absolute; left: -8px; top: 23px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); }
.mascot-guide strong, .mascot-guide span { position: relative; display: block; }
.mascot-guide strong { color: #253652; font-size: 14px; }
.mascot-guide span { margin-top: 3px; color: #697894; }
.home-hubs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin: 26px 0 22px; }
.home-hubs button { min-height: 104px; padding: 14px 13px; border: 1px solid rgba(178,201,239,.26); border-radius: 19px; background: rgba(18,39,73,.7); text-align: left; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.home-hubs button:hover, .home-hubs button:focus-visible, .home-hubs button.active { transform: translateY(-2px); border-color: rgba(109,225,223,.7); background: linear-gradient(145deg, rgba(39,75,119,.96), rgba(20,48,84,.96)); outline: none; }
.home-hubs span, .home-hubs strong, .home-hubs small { display: block; }
.home-hubs span { margin-bottom: 7px; font-size: 22px; }
.home-hubs strong { color: #f1f4fb; font-size: 15px; }
.home-hubs small { margin-top: 4px; color: #aab8d2; font-size: 11px; line-height: 1.45; }
.hub-panel { display: none; animation: rise .3s ease both; }
.hub-panel.active { display: block; }
.hub-heading { margin: 4px 0 18px; }
.hub-heading h2 { margin: 5px 0 8px; font-family: "Gowun Batang", serif; font-size: 26px; }
.hub-heading > p:not(.eyebrow) { margin: 0; color: #aebbd2; font-size: 14px; line-height: 1.65; }
.fortune-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 30px 0 18px; }
.fortune-tile { min-height: 118px; padding: 17px; border: 1px solid rgba(175,197,239,.24); border-radius: 20px; background: linear-gradient(145deg, rgba(31,57,99,.94), rgba(17,36,67,.95)); text-align: left; cursor: pointer; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 13px; align-items: start; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.fortune-tile:hover, .fortune-tile:focus-visible { transform: translateY(-2px); border-color: rgba(109,225,223,.45); background: linear-gradient(145deg, rgba(27,51,92,.96), rgba(13,29,53,.96)); outline: none; }
.fortune-tile.featured { grid-column: 1 / -1; min-height: 96px; grid-template-columns: auto 1fr auto; grid-template-rows: 1fr; align-items: center; border-color: rgba(246,206,122,.32); background: linear-gradient(135deg, rgba(89,66,29,.32), rgba(24,43,78,.95)); }
.fortune-icon { width: 41px; height: 41px; display: grid; place-items: center; border: 1px solid rgba(246,206,122,.26); border-radius: 14px; color: var(--gold); font-family: "Gowun Batang", serif; font-size: 18px; }
.fortune-tile > span:nth-child(2) { align-self: center; }
.fortune-tile strong, .fortune-tile small { display: block; }
.fortune-tile strong { font-size: 16px; line-height: 1.35; }
.fortune-tile small { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.fortune-tile b { grid-column: 2; align-self: end; justify-self: end; color: var(--cyan); font-weight: 400; }
.fortune-tile.featured b { grid-column: 3; align-self: center; font-size: 20px; }
.fortune-tile.wide-tile { grid-column: 1 / -1; min-height: 94px; grid-template-columns: auto 1fr auto; grid-template-rows: 1fr; align-items: center; }
.fortune-tile.wide-tile b { grid-column: 3; align-self: center; }
.test-tile-grid { display: grid; gap: 11px; }
.test-tile-grid button { min-height: 113px; padding: 18px; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; gap: 3px 13px; align-items: center; border: 1px solid rgba(183,207,242,.25); border-radius: 20px; background: linear-gradient(145deg, rgba(31,58,99,.87), rgba(17,38,70,.94)); text-align: left; cursor: pointer; }
.test-tile-grid button:hover, .test-tile-grid button:focus-visible { border-color: var(--cyan); transform: translateY(-2px); outline: none; }
.test-tile-grid span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: rgba(246,206,122,.1); font-size: 22px; }
.test-tile-grid strong { color: #f1f4fb; font-size: 16px; line-height: 1.45; }
.test-tile-grid small { color: #aebbd2; font-size: 12px; }
.test-tile-grid b { grid-column: 3; grid-row: 1 / 3; color: var(--cyan); font-size: 13px; font-weight: 700; }
.lotto-card { margin-top: 16px; padding: 22px; border: 1px solid rgba(246,206,122,.35); border-radius: 24px; background: linear-gradient(145deg, rgba(91,70,31,.36), rgba(20,47,83,.94)); }
.lotto-card[hidden] { display: none; }
.lotto-card h3 { margin: 5px 0 8px; font-family: "Gowun Batang", serif; font-size: 23px; }
.lotto-card > div:first-child > p:not(.eyebrow) { margin: 0; color: #c3cce0; font-size: 13px; line-height: 1.6; }
.lotto-balls { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 12px; }
.lotto-balls span, .lotto-bonus b { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; color: #17233c; font-size: 14px; font-weight: 900; box-shadow: inset 0 -3px 0 rgba(0,0,0,.1); }
.ball-1 { background: #f4d96a; }.ball-2 { background: #82b9ee; }.ball-3 { background: #ee8584; }.ball-4 { background: #a8abb7; }.ball-5 { background: #7fc58d; }
.lotto-bonus { margin: 0; color: #ced8ed; font-size: 13px; }.lotto-bonus b { margin-left: 8px; vertical-align: middle; }
.lotto-card > button { min-height: 44px; width: 100%; margin-top: 18px; border: 1px solid rgba(246,206,122,.4); border-radius: 13px; background: rgba(246,206,122,.13); color: #ffe4a2; font-weight: 800; cursor: pointer; }
.partner-spot { margin-top: 28px; padding: 20px; border: 1px dashed rgba(246,206,122,.4); border-radius: 21px; background: rgba(246,206,122,.055); }
.partner-spot > span, .partner-spot > strong, .partner-spot > small { display: block; }
.partner-spot > span { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.partner-spot > strong { margin-top: 7px; color: #eff3fb; font-size: 15px; line-height: 1.5; }
.coupang-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 15px 0 10px; padding: 15px 16px; border: 1px solid rgba(246,206,122,.48); border-radius: 14px; background: linear-gradient(135deg, rgba(246,206,122,.18), rgba(122,162,255,.12)); color: #fff0bf; font-size: 14px; font-weight: 800; line-height: 1.35; text-decoration: none; }.coupang-link b { color: var(--cyan); font-size: 18px; }
.partner-spot > small { padding-top: 10px; border-top: 1px solid rgba(246,206,122,.16); color: #7f8ca7; font-size: 11px; line-height: 1.55; }

#mini-test { padding-top: 12px; }
.mini-test-head { padding: 29px 0 16px; }
.mini-test-head > p:first-child { margin-bottom: 9px; color: var(--cyan); font-size: 13px; font-weight: 800; }
.mini-test-head h2 { margin: 0 0 9px; font-family: "Gowun Batang", serif; font-size: 31px; }
.mini-test-head > p:last-child { margin: 0; color: #aebbd2; font-size: 14px; line-height: 1.65; }
.mini-test-progress { height: 7px; overflow: hidden; margin-bottom: 21px; border-radius: 99px; background: rgba(255,255,255,.1); }
.mini-test-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--blue)); transition: width .25s ease; }
.mini-question-card, .mini-test-result { padding: 25px 21px; border: 1px solid rgba(183,207,242,.28); border-radius: 25px; background: linear-gradient(145deg, rgba(31,58,99,.83), rgba(14,32,59,.95)); }
.mini-question-card[hidden], .mini-test-result[hidden] { display: none; }
.mini-question-card > p { margin: 0 0 19px; color: #f2f5fc; font-family: "Gowun Batang", serif; font-size: 24px; line-height: 1.5; word-break: keep-all; }
#mini-test-options { display: grid; gap: 10px; }
#mini-test-options button { min-height: 62px; padding: 13px 15px; border: 1px solid rgba(183,207,242,.26); border-radius: 15px; background: rgba(255,255,255,.055); color: #dfe7f6; text-align: left; font-size: 15px; cursor: pointer; }
#mini-test-options button:hover, #mini-test-options button:focus-visible { border-color: var(--cyan); background: rgba(109,225,223,.1); outline: none; }
.mini-test-result { background: linear-gradient(145deg, rgba(69,58,31,.32), rgba(18,50,76,.95)); }
.mini-test-result h2 { margin: 6px 0 12px; font-family: "Gowun Batang", serif; font-size: 27px; line-height: 1.45; word-break: keep-all; }
.mini-test-result > p:not(.eyebrow) { margin-bottom: 22px; color: #c9d4e8; font-size: 16px; line-height: 1.8; word-break: keep-all; }

.result-guide { display: grid; grid-template-columns: 112px 1fr; gap: 11px; align-items: center; margin: -7px 0 17px; padding: 7px 14px 7px 4px; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; background: linear-gradient(135deg, rgba(235,247,255,.93), rgba(225,246,241,.91)); }
.result-guide img { width: 100%; height: auto; display: block; }
.result-guide p { margin: 0; color: #344562; font-size: 13px; font-weight: 700; line-height: 1.55; word-break: keep-all; }

.selected-fortune { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 15px; border: 1px solid rgba(246,206,122,.23); border-radius: 17px; background: rgba(246,206,122,.055); }
.selected-fortune > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(246,206,122,.09); color: var(--gold); font-family: "Gowun Batang", serif; }
.selected-fortune small, .selected-fortune strong { display: block; }
.selected-fortune small { color: var(--muted); font-size: 11px; }
.selected-fortune strong { margin-top: 2px; font-size: 15px; }
.selected-fortune button { border: 0; background: none; color: var(--cyan); font-size: 13px; cursor: pointer; }
#quiz .progress-wrap { margin-top: 24px; }
.date-trigger { width: 100%; min-height: 58px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.055); color: var(--muted); font-size: 16px; cursor: pointer; }
.date-trigger.selected { color: var(--ink); border-color: rgba(109,225,223,.38); }
.date-trigger b { color: var(--cyan); font-size: 21px; font-weight: 400; }
.time-select { appearance: auto; color: var(--ink); background: #111f38; }
.time-select option { color: #14213a; background: #fff; }
.time-help { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.leap-month { display: none; grid-template-columns: auto 1fr; gap: 11px; align-items: center; margin: 13px 0 0; padding: 13px 14px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); cursor: pointer; }
.leap-month.visible { display: grid; }
.leap-month input { width: 18px; height: 18px; accent-color: var(--cyan); }
.leap-month strong, .leap-month small { display: block; }
.leap-month strong { color: var(--ink); font-size: 14px; }
.leap-month small { margin-top: 3px; font-size: 12px; }
.gender-choice legend small { margin-left: 5px; color: var(--muted); font-weight: 500; }

.mbti-picker { display: grid; gap: 17px; margin: 24px 0 0; padding: 0; border: 0; }
.mbti-group > strong { display: block; margin-bottom: 8px; color: #cbd4e9; font-size: 14px; }
.mbti-group > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.mbti-group label, .mbti-unknown { position: relative; cursor: pointer; }
.mbti-group input, .mbti-unknown input { position: absolute; opacity: 0; pointer-events: none; }
.mbti-group span { min-height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.045); color: #e8edfb; font-size: 14px; font-weight: 700; }
.mbti-group input:checked + span { border-color: var(--cyan); color: #08101f; background: var(--cyan); box-shadow: 0 0 0 3px rgba(109,225,223,.11); }
.mbti-group input:focus-visible + span, .mbti-unknown input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.mbti-unknown span { min-height: 49px; display: grid; place-items: center; border: 1px dashed rgba(157,176,226,.32); border-radius: 14px; color: #dce4f5; font-size: 14px; }
.mbti-unknown input:checked + span { border-style: solid; border-color: var(--cyan); background: rgba(109,225,223,.11); color: var(--cyan); }

.birth-dialog { width: min(calc(100% - 28px), 500px); max-height: min(740px, calc(100vh - 28px)); padding: 0; border: 1px solid rgba(157,176,226,.22); border-radius: 25px; color: var(--ink); background: #0d1930; box-shadow: 0 30px 100px rgba(0,0,0,.65); }
.birth-dialog::backdrop { background: rgba(2,8,18,.78); backdrop-filter: blur(5px); }
.birth-dialog-inner { padding: 24px; }
.partner-dialog { width: min(calc(100% - 34px), 420px); padding: 0; border: 1px solid rgba(246,206,122,.35); border-radius: 25px; color: var(--ink); background: linear-gradient(155deg, #18294a, #0c1830); box-shadow: 0 30px 100px rgba(0,0,0,.65); }
.partner-dialog::backdrop { background: rgba(2,8,18,.7); backdrop-filter: blur(4px); }
.partner-dialog-inner { position: relative; padding: 35px 24px 23px; text-align: center; }
.partner-dialog-close { position: absolute; top: 13px; right: 13px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(214,225,246,.25); border-radius: 50%; background: rgba(255,255,255,.06); color: #dce5f7; font-size: 25px; line-height: 1; cursor: pointer; }
.partner-dialog-label { margin: 0; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.partner-dialog h2 { margin: 12px 0 11px; font-family: "Gowun Batang", serif; font-size: 25px; line-height: 1.4; }
.partner-dialog-copy { margin: 0 auto 20px; max-width: 300px; color: #b7c5df; font-size: 14px; line-height: 1.65; word-break: keep-all; }
.partner-dialog-link, .partner-result-btn { width: 100%; min-height: 51px; display: flex; align-items: center; justify-content: space-between; gap: 10px; box-sizing: border-box; border-radius: 14px; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; }
.partner-dialog-link { padding: 0 16px; border: 1px solid rgba(246,206,122,.48); background: linear-gradient(135deg, rgba(246,206,122,.18), rgba(122,162,255,.12)); color: #fff0bf; }.partner-dialog-link b { color: var(--cyan); font-size: 18px; }
.partner-result-btn { display: block; margin-top: 10px; border: 1px solid rgba(122,162,255,.35); background: rgba(122,162,255,.1); color: #edf3ff; }
.partner-dialog small { display: block; margin-top: 14px; color: #7f8ca7; font-size: 10px; line-height: 1.55; }
.dialog-head { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.dialog-head small { color: var(--cyan); font-size: 12px; letter-spacing: .08em; }
.dialog-head h2 { margin: 5px 0 0; font-size: 24px; }
.dialog-head button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.04); color: var(--muted); font-size: 23px; cursor: pointer; }
.year-month-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; margin: 22px 0 18px; }
.year-month-row label > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; }
.year-month-row select { width: 100%; min-height: 49px; padding: 0 12px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); color-scheme: dark; background: #142440; font-size: 16px; }
.weekday-row, .day-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.weekday-row { margin-bottom: 5px; color: var(--muted); text-align: center; font-size: 12px; }
.day-grid button, .day-grid > span { min-height: 41px; }
.day-grid button { border: 0; border-radius: 11px; background: transparent; color: #dce4f7; font-size: 14px; cursor: pointer; }
.day-grid button:hover, .day-grid button:focus-visible { background: rgba(122,162,255,.14); outline: none; }
.day-grid button.selected { background: var(--cyan); color: #07101f; font-weight: 800; }
.dialog-confirm { width: 100%; min-height: 52px; margin-top: 19px; border: 0; border-radius: 15px; background: linear-gradient(135deg, var(--blue), #625de8); color: #fff; font-weight: 800; cursor: pointer; }
.dialog-confirm:disabled { opacity: .38; cursor: not-allowed; }

.result-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 0 0 22px; }
.result-tabs button { min-width: 0; min-height: 42px; padding: 0 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); color: var(--muted); font-size: 13px; cursor: pointer; white-space: nowrap; }
.result-tabs button.active { border-color: var(--cyan); background: rgba(109,225,223,.11); color: var(--cyan); font-weight: 700; }
.focused-report { display: grid; gap: 14px; }
.focused-report .reading-section { margin-top: 0; }
.caution-reading { border-color: rgba(255,156,174,.22); background: linear-gradient(145deg, rgba(67,28,43,.32), rgba(12,23,44,.94)); }
.caution-reading .reading-heading > span { border-color: rgba(255,156,174,.3); color: var(--danger); }
.mismatch-reading { background: linear-gradient(145deg, rgba(37,38,62,.9), rgba(12,22,42,.94)); }
.action-reading { border-color: rgba(109,225,223,.24); background: linear-gradient(145deg, rgba(19,64,66,.28), rgba(11,24,46,.94)); }

.fortune-curve { margin-bottom: 20px; padding: 25px 20px 21px; border: 1px solid rgba(109,225,223,.3); border-radius: 25px; background: linear-gradient(145deg, rgba(17,60,72,.34), rgba(10,22,44,.97)); overflow: hidden; }
.fortune-curve[hidden] { display: none; }
.curve-head { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.curve-head h2 { margin: 5px 0 0; font-family: "Gowun Batang", serif; font-size: 27px; }
.curve-head > span { flex: 0 0 auto; padding: 9px 11px; border: 1px solid rgba(246,206,122,.24); border-radius: 13px; color: var(--muted); font-size: 10px; text-align: right; }
.curve-head > span strong { display: block; margin-top: 3px; color: var(--gold); font-size: 13px; }
.fortune-curve > p { margin: 13px 0 5px; color: #b2bdd4; font-size: 14px; line-height: 1.65; }
.curve-chart { width: calc(100% + 12px); margin: 14px -6px 0; overflow-x: auto; }
.curve-chart svg { display: block; width: 100%; min-width: 430px; height: auto; }
.curve-grid line { stroke: rgba(157,176,226,.12); stroke-width: 1; }
.curve-grid text { fill: #687795; font-size: 10px; }
.curve-area { fill: rgba(109,225,223,.08); }
.curve-line { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 7px rgba(109,225,223,.35)); }
.curve-chart circle { fill: #0d1930; stroke: var(--cyan); stroke-width: 3; }
.curve-chart .current-point circle { fill: var(--gold); stroke: #fff1c7; stroke-width: 3; filter: drop-shadow(0 0 8px rgba(246,206,122,.6)); }
.curve-chart text { text-anchor: middle; }
.curve-chart .age-label { fill: #cdd6e9; font-size: 11px; font-weight: 700; }
.curve-chart .pillar-label { fill: #73819f; font-size: 10px; }
.curve-chart .current-point .age-label { fill: var(--gold); }
.curve-legend { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 5px; color: var(--muted); font-size: 11px; }
.curve-legend span { display: inline-flex; align-items: center; gap: 6px; }
.curve-legend i { width: 17px; height: 3px; border-radius: 9px; background: var(--cyan); }
.curve-legend i.low { background: #65738f; }
.fortune-curve .curve-note { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); color: #7f8da9; font-size: 12px; line-height: 1.65; }

.manse-card { margin-bottom: 20px; padding: 25px 21px; border: 1px solid rgba(246,206,122,.3); border-radius: 25px; background: linear-gradient(145deg, rgba(74,55,25,.24), rgba(12,25,49,.96)); box-shadow: 0 18px 55px rgba(0,0,0,.2); }
.manse-head { display: flex; justify-content: space-between; gap: 15px; align-items: start; }
.manse-head h2 { margin: 5px 0 0; font-family: "Gowun Batang", serif; font-size: 27px; }
.day-master-badge { flex: 0 0 auto; padding: 9px 11px; border: 1px solid rgba(109,225,223,.22); border-radius: 13px; color: var(--muted); font-size: 11px; text-align: center; }
.day-master-badge strong { display: block; margin-top: 3px; color: var(--cyan); font-size: 14px; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 23px 0; }
.pillar-grid article { min-width: 0; padding: 13px 5px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.035); text-align: center; }
.pillar-grid article.day-pillar { border-color: rgba(109,225,223,.4); background: rgba(109,225,223,.075); }
.pillar-grid article.unknown { opacity: .55; }
.pillar-grid small, .pillar-grid span, .pillar-grid em { display: block; }
.pillar-grid small { color: var(--muted); font-size: 11px; }
.pillar-grid strong { display: block; margin: 8px 0 4px; color: var(--gold); font-family: "Gowun Batang", serif; font-size: clamp(22px, 6vw, 29px); letter-spacing: .04em; }
.pillar-grid span { color: #dbe2f3; font-size: 12px; }
.pillar-grid em { margin-top: 7px; color: var(--muted); font-size: 10px; font-style: normal; white-space: nowrap; }
.element-summary { margin-top: 22px; padding-top: 21px; border-top: 1px solid var(--line); }
.element-summary h3 { margin-bottom: 15px; font-size: 16px; }
.manse-element-bars { display: grid; gap: 9px; }
.manse-element-bars > div { display: grid; grid-template-columns: 45px 1fr; gap: 10px; align-items: center; }
.manse-element-bars span { display: flex; justify-content: space-between; align-items: baseline; color: var(--ink); }
.manse-element-bars span b { font-family: "Gowun Batang", serif; font-size: 16px; }
.manse-element-bars span small { color: var(--muted); font-size: 10px; }
.manse-element-bars i { height: 7px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.07); }
.manse-element-bars i em { display: block; height: 100%; min-width: 2px; border-radius: inherit; }
.element-summary > p { margin: 16px 0 0; color: #b7c1d8; font-size: 14px; line-height: 1.7; }
.manse-details { margin-top: 18px; border-top: 1px solid var(--line); }
.manse-details summary { padding: 17px 0 0; color: var(--cyan); font-size: 13px; font-weight: 700; cursor: pointer; }
.manse-details > div { padding-top: 4px; }
.manse-details p { display: grid; gap: 4px; margin: 14px 0 0; }
.manse-details p strong { color: var(--gold); font-size: 12px; }
.manse-details p span { color: var(--muted); font-size: 13px; line-height: 1.65; }

.mode-feature { margin-bottom: 20px; padding: 26px 21px; border: 1px solid rgba(109,225,223,.27); border-radius: 25px; background: linear-gradient(145deg, rgba(19,61,70,.28), rgba(11,24,46,.96)); }
.mode-feature[hidden] { display: none; }
.feature-head h2 { margin: 5px 0 9px; font-family: "Gowun Batang", serif; font-size: 27px; }
.feature-head > p:not(.eyebrow) { margin: 0 0 20px; color: #b5c0d7; font-size: 14px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature-card { padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.035); }
.feature-card small, .feature-card strong { display: block; }
.feature-card small { margin-bottom: 7px; color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.feature-card strong { color: #eef2fc; font-size: 16px; line-height: 1.5; }
.feature-card p { margin: 9px 0 0; color: #9facbf; font-size: 13px; line-height: 1.65; }
.feature-card.warning { border-color: rgba(255,156,174,.25); background: rgba(79,31,48,.18); }
.feature-card.warning small { color: var(--danger); }
.feature-footnote { margin: 16px 1px 0; padding-top: 14px; border-top: 1px solid var(--line); color: #74829f; font-size: 11px; line-height: 1.65; }
.date-purpose-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 17px; }
.date-purpose-row button { min-height: 41px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); color: #c6d0e4; font-size: 13px; cursor: pointer; }
.date-purpose-row button.active { border-color: var(--gold); background: rgba(246,206,122,.11); color: var(--gold); font-weight: 800; }
.good-date-list { display: grid; gap: 9px; }
.good-date-card { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 15px; border: 1px solid rgba(246,206,122,.18); border-radius: 17px; background: rgba(255,255,255,.035); }
.good-date-card time { padding-right: 13px; border-right: 1px solid var(--line); }
.good-date-card time strong, .good-date-card time span { display: block; }
.good-date-card time strong { color: var(--gold); font-size: 16px; }
.good-date-card time span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.good-date-card b { color: #e7edf9; font-family: "Gowun Batang", serif; font-size: 15px; }
.good-date-card p { margin: 5px 0 0; color: #96a4bf; font-size: 12px; line-height: 1.55; }

.question-card { margin-top: 28px; padding: 26px 22px; border: 1px solid rgba(122,162,255,.3); border-radius: 25px; background: linear-gradient(145deg, rgba(29,50,91,.72), rgba(11,24,46,.94)); }
.question-card h2 { margin: 7px 0 11px; font-family: "Gowun Batang", serif; font-size: 26px; }
.question-card > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.65; }
.question-suggestions { display: flex; flex-wrap: wrap; gap: 7px; margin: 19px 0 12px; }
.question-suggestions button { min-height: 38px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.045); color: #cdd7eb; font-size: 12px; cursor: pointer; }
.question-suggestions button:hover, .question-suggestions button:focus-visible { border-color: var(--cyan); color: var(--cyan); outline: none; }
#saju-question { width: 100%; min-height: 112px; resize: vertical; padding: 15px; border: 1px solid var(--line); border-radius: 15px; outline: none; background: rgba(5,13,27,.48); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.6; }
#saju-question:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(122,162,255,.12); }
#saju-question::placeholder { color: #6f7e9f; }
.question-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.question-footer span { color: var(--muted); font-size: 12px; }
.question-footer button { min-height: 45px; padding: 0 15px; border: 0; border-radius: 13px; background: linear-gradient(135deg, var(--blue), #625de8); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; }
.question-answer { margin-top: 21px; padding: 20px; border: 1px solid rgba(109,225,223,.23); border-radius: 17px; background: rgba(109,225,223,.055); }
.question-answer[hidden] { display: none; }
.question-answer small { color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.question-answer h3 { margin: 7px 0 12px; font-size: 18px; line-height: 1.5; }
.question-answer p { margin: 0; color: #c8d2e6; font-size: 16px; line-height: 1.8; }
.question-answer div { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.55; }

@media (max-width: 390px) {
  .fortune-menu { grid-template-columns: 1fr; }
  .fortune-tile.featured { grid-column: auto; }
  .fortune-tile.wide-tile { grid-column: auto; }
  .fortune-tile, .fortune-tile.featured { min-height: 88px; grid-template-columns: auto 1fr auto; grid-template-rows: 1fr; align-items: center; }
  .fortune-tile b, .fortune-tile.featured b { grid-column: 3; align-self: center; }
  .mbti-group > div { grid-template-columns: repeat(2, 1fr); }
  .time-row { grid-template-columns: 1fr; }
  .unknown { min-height: 48px; }
  .pillar-grid { gap: 5px; }
  .pillar-grid article { padding-inline: 2px; }
  .pillar-grid em { font-size: 9px; }
  .feature-grid { grid-template-columns: 1fr; }
  .good-date-card { grid-template-columns: 84px 1fr; gap: 10px; }
  .result-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mascot-guide { grid-template-columns: 112px 1fr; padding-right: 9px; }
  .mascot-guide p { padding: 10px; font-size: 12px; }
}
