@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --bg: #080c18;
  --bg-soft: #0d1322;
  --surface: rgba(17, 24, 41, 0.72);
  --surface-solid: #111829;
  --surface-light: #172138;
  --line: rgba(182, 194, 225, 0.14);
  --line-strong: rgba(197, 209, 239, 0.28);
  --text: #eef1f9;
  --muted: #9ca8c1;
  --muted-deep: #6e7b98;
  --gold: #e4b36f;
  --gold-light: #f6d29a;
  --violet: #a992ff;
  --cyan: #8fc3e3;
  --serif: 'Noto Serif KR', 'Nanum Myeongjo', Georgia, serif;
  --sans: 'Outfit', 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
  --page: min(1180px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 5%, rgba(77, 70, 154, 0.15), transparent 30rem),
    radial-gradient(circle at 8% 52%, rgba(34, 99, 129, 0.11), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
  opacity: .25;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.page-width { width: var(--page); margin-inline: auto; }
.site-noise { position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 10; 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E"); }
.site-header { position: sticky; top: 0; z-index: 20; width: var(--page); margin: 0 auto; min-height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(8,12,24,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand > span:last-child { display: grid; line-height: 1.08; }
.brand strong { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -.08em; }
.brand small { margin-top: 5px; color: var(--muted-deep); font-size: 8px; font-weight: 600; letter-spacing: .18em; }
.brand-mark { position: relative; width: 29px; height: 29px; display: inline-block; border: 1px solid rgba(228,179,111,.55); border-radius: 50%; transform: rotate(-20deg); }
.brand-mark__orb { position: absolute; width: 11px; height: 11px; top: 7px; left: 8px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 15px rgba(246,210,154,.55); }
.brand-mark__ring { position: absolute; inset: 4px -6px; border: 1px solid rgba(143,195,227,.4); border-radius: 50%; transform: rotate(48deg); }
.top-nav { display: flex; align-items: center; gap: 34px; margin-left: 80px; color: var(--muted); font-size: 13px; }
.top-nav a { transition: color .2s ease; }
.top-nav a:hover, .text-link:hover { color: var(--gold-light); }
.header-cta { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0 10px 16px; color: var(--gold-light); border-left: 1px solid var(--line); font-size: 12px; }
.header-cta span { font-size: 15px; }
.hero { position: relative; min-height: 600px; display: flex; align-items: center; padding-block: 92px 75px; overflow: hidden; }
.hero__art { position: absolute; inset: 0 -10vw 0 28%; overflow: hidden; z-index: -1; mask-image: linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .82; mix-blend-mode: screen; }
.hero__art-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(8,12,24,.77) 23%, rgba(8,12,24,.05) 67%, rgba(8,12,24,.74) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 18%, transparent 80%, var(--bg) 100%); }
.hero__copy { position: relative; width: min(600px, 55%); z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: .18em; }
.eyebrow-line { width: 32px; height: 1px; background: var(--gold); opacity: .7; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.08em; }
h1 { max-width: 620px; margin-bottom: 24px; font-size: clamp(48px, 6vw, 78px); line-height: 1.14; }
h1 em, h2 em, h3 em { color: var(--gold-light); font-style: normal; }
.hero__lede { max-width: 460px; margin-bottom: 36px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 2px; font-size: 13px; font-weight: 600; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--gold { color: #17131a; background: var(--gold-light); box-shadow: 0 12px 26px rgba(228,179,111,.13); }
.button--gold:hover { background: #ffe0ae; }
.button--ghost { color: var(--text); border-color: var(--line-strong); background: rgba(14, 19, 33, .4); }
.button--ghost:hover { border-color: var(--gold); }
.button--wide { width: 100%; margin-top: 23px; }
.hero__note { display: flex; align-items: center; gap: 8px; margin-top: 35px; color: var(--muted-deep); font-size: 11px; }
.hero__note-date { margin-left: 9px; padding-left: 9px; border-left: 1px solid var(--line); color: var(--muted); }
.live-dot, .status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #9de8c0; box-shadow: 0 0 11px rgba(157,232,192,.6); }
.hero__signal { width: 240px; margin: 100px 0 0 auto; padding: 20px; align-self: flex-start; transform: rotate(3deg); }
.glass-card { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(20,29,49,.8), rgba(11,16,29,.72)); box-shadow: 0 24px 80px rgba(0,0,0,.18); backdrop-filter: blur(18px); }
.signal-topline, .result-card__topline, .tarot-table__topline, .tarot-result__header { display: flex; justify-content: space-between; align-items: center; color: var(--muted-deep); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.signal-index { color: var(--muted-deep); }
.signal-index strong { color: var(--gold); font-weight: 500; }
.signal-orbit { position: relative; width: 142px; height: 142px; margin: 26px auto 20px; border: 1px solid rgba(228,179,111,.35); border-radius: 50%; }
.signal-orbit::before, .signal-orbit::after { content: ''; position: absolute; inset: 15px -10px; border: 1px solid rgba(143,195,227,.18); border-radius: 50%; transform: rotate(47deg); }
.signal-orbit::after { inset: -10px 15px; transform: rotate(-37deg); }
.signal-orbit__moon { position: absolute; top: 41px; left: 51px; color: var(--gold-light); font-size: 49px; font-family: Georgia, serif; line-height: 1; text-shadow: 0 0 25px rgba(246,210,154,.6); }
.signal-orbit__star { position: absolute; color: var(--gold-light); font-size: 10px; }
.star-a { top: 17px; left: 20px; }.star-b { right: 18px; bottom: 30px; color: var(--cyan); }.star-c { left: 13px; bottom: 25px; }
.signal-label, .card-kicker { margin-bottom: 8px; color: var(--gold); font-size: 9px; font-weight: 600; letter-spacing: .16em; }
.hero__signal h2 { margin: 0 0 9px; font-size: 22px; line-height: 1.45; }
.hero__signal p:not(.signal-label) { margin-bottom: 21px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.text-link { display: inline-flex; gap: 8px; color: var(--gold-light); font-size: 11px; transition: color .2s ease; }
.daily-section { padding: 28px 0 130px; }
.section-intro { max-width: 520px; margin-bottom: 35px; }
.section-intro--row { max-width: 920px; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-intro h2 { margin-bottom: 15px; font-size: clamp(34px, 4vw, 53px); line-height: 1.27; }
.section-intro__copy { max-width: 330px; margin-bottom: 9px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.daily-card { overflow: hidden; }
.daily-card__meta { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); color: var(--muted-deep); font-size: 11px; }
.pill { display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border: 1px solid rgba(228,179,111,.38); border-radius: 99px; color: var(--gold-light); font-size: 9px; letter-spacing: .13em; }
.pill--muted { border-color: var(--line); color: var(--muted); }
.daily-card__body { display: grid; grid-template-columns: 100px 1fr 120px; gap: 26px; align-items: center; padding: 30px 32px 35px; }
.daily-card__number { color: rgba(228,179,111,.32); font-family: var(--serif); font-size: 73px; line-height: 1; }
.daily-card h3 { margin-bottom: 10px; font-size: 27px; }
.daily-card p { max-width: 590px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.daily-card__seal { width: 102px; height: 102px; display: grid; place-content: center; border: 1px solid rgba(228,179,111,.35); border-radius: 50%; color: var(--gold-light); text-align: center; transform: rotate(-12deg); }
.daily-card__seal span { margin-bottom: 4px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.daily-card__seal strong { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.daily-card__footer { display: flex; align-items: center; gap: 16px; padding: 15px 22px; border-top: 1px solid var(--line); color: var(--muted-deep); font-size: 11px; }
.daily-card__footer strong { color: var(--text); font-weight: 400; }.daily-card__arrow { margin-left: auto; color: var(--gold); font-size: 18px; }
.reading-section { padding: 50px 0 145px; }
.reading-grid { display: grid; grid-template-columns: minmax(280px, 390px) 1fr; gap: 20px; align-items: stretch; }
.form-card, .result-card, .tarot-table, .tarot-result { padding: 26px; }
.form-card__heading { display: flex; gap: 15px; align-items: center; margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.form-number { color: var(--gold); font-family: var(--serif); font-size: 27px; }
.form-card h3 { margin: 0; font-size: 18px; }.field-label { display: flex; justify-content: space-between; margin: 17px 0 7px; color: var(--text); font-size: 12px; }.field-label span { color: var(--muted-deep); font-size: 10px; }
.text-input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 2px; outline: none; background: rgba(7,11,22,.55); color: var(--text); font-size: 13px; transition: border-color .2s ease, background .2s ease; }
.text-input::placeholder { color: var(--muted-deep); }.text-input:focus { border-color: rgba(228,179,111,.75); background: rgba(7,11,22,.8); }.text-input option { background: #10182a; color: var(--text); }
.consent-check { display: flex; gap: 9px; align-items: flex-start; margin-top: 20px; color: var(--muted); font-size: 11px; line-height: 1.5; }.consent-check input { accent-color: var(--gold); margin-top: 3px; }.form-help { margin: 12px 0 0; color: var(--muted-deep); font-size: 10px; text-align: center; }
.result-card { position: relative; min-height: 550px; overflow: hidden; }.result-card::after { content: 'W'; position: absolute; right: -10px; bottom: -66px; color: rgba(228,179,111,.035); font-family: var(--serif); font-size: 260px; line-height: 1; pointer-events: none; }
.result-card__topline { padding-bottom: 18px; border-bottom: 1px solid var(--line); }.result-card__status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted-deep); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }.status-dot { width: 5px; height: 5px; background: var(--gold); box-shadow: 0 0 10px rgba(228,179,111,.6); }
.result-empty { position: relative; z-index: 1; min-height: 450px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 45px 34px; }.result-empty__glyph { width: 66px; height: 66px; display: grid; place-content: center; margin-bottom: 25px; border: 1px solid rgba(228,179,111,.35); border-radius: 50%; color: var(--gold-light); font-size: 28px; box-shadow: 0 0 40px rgba(228,179,111,.08); }.result-empty h3 { margin-bottom: 13px; font-size: 30px; line-height: 1.45; }.result-empty p:last-child { max-width: 330px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.is-hidden { display: none !important; }.result-content { position: relative; z-index: 1; padding: 41px 34px 30px; }.result-content h3 { margin: 0 0 16px; font-size: 32px; line-height: 1.35; }.result-summary { max-width: 610px; margin-bottom: 20px; color: var(--muted); font-size: 15px; line-height: 1.9; }.result-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 29px; }.result-tag { padding: 5px 10px; border: 1px solid rgba(143,195,227,.22); border-radius: 99px; color: var(--cyan); font-size: 10px; }.result-sections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }.result-section { padding: 14px; border: 1px solid var(--line); background: rgba(11,16,29,.36); }.result-section h4 { margin: 0 0 6px; color: var(--gold-light); font-family: var(--serif); font-size: 15px; font-weight: 500; }.result-section p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }.result-disclaimer { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted-deep); font-size: 10px; line-height: 1.6; }
.tarot-section { padding: 46px 0 150px; }.tarot-intro { margin-bottom: 37px; }.tarot-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, .8fr); gap: 20px; }.tarot-table { min-height: 625px; }.tarot-table__hint { color: var(--muted); font-size: 11px; letter-spacing: normal; text-transform: none; }.spread-switcher { display: flex; gap: 0; margin: 24px 0 12px; border-bottom: 1px solid var(--line); }.spread-button { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 112px; padding: 10px 14px 13px; border: 0; background: transparent; color: var(--muted-deep); text-align: left; font-size: 12px; }.spread-button small { font-size: 8px; letter-spacing: .14em; }.spread-button::after { content: ''; position: absolute; right: 0; bottom: -1px; left: 0; height: 1px; background: transparent; }.spread-button:hover, .spread-button.is-active { color: var(--gold-light); }.spread-button.is-active::after { background: var(--gold); }.text-input--dark { margin-bottom: 23px; background: rgba(5,9,17,.56); }.tarot-deck { display: grid; grid-template-columns: repeat(8, minmax(47px, 1fr)); gap: 9px; align-items: end; min-height: 300px; padding: 28px 15px 25px; border-block: 1px solid var(--line); perspective: 1000px; }.tarot-card-button { position: relative; min-width: 0; height: 178px; padding: 0; border: 1px solid rgba(228,179,111,.32); border-radius: 3px; background: linear-gradient(145deg, #26365b, #121b34 80%); box-shadow: 0 10px 20px rgba(0,0,0,.25); transform: translateY(var(--offset, 0)) rotate(var(--tilt, 0deg)); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }.tarot-card-button:nth-child(2n) { --offset: 18px; }.tarot-card-button:nth-child(3n) { --offset: 6px; }.tarot-card-button:nth-child(4n) { --offset: 25px; }.tarot-card-button:hover, .tarot-card-button:focus-visible { z-index: 2; border-color: var(--gold-light); box-shadow: 0 16px 30px rgba(228,179,111,.2); transform: translateY(-15px) rotate(0deg) scale(1.04); outline: none; }.tarot-card-button.is-drawn { border-color: var(--gold-light); box-shadow: 0 0 30px rgba(228,179,111,.36); transform: translateY(-18px) rotate(0deg); }.tarot-card-button::before { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(228,179,111,.3); background: repeating-radial-gradient(circle at 50% 50%, transparent 0 8px, rgba(143,195,227,.12) 9px 10px), linear-gradient(135deg, transparent 48%, rgba(228,179,111,.32) 49%, transparent 51%); }.tarot-card-button::after { content: '✦'; position: absolute; inset: 0; display: grid; place-content: center; color: rgba(246,210,154,.7); font-size: 20px; text-shadow: 0 0 14px rgba(246,210,154,.7); }.tarot-table__footer { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; color: var(--muted-deep); font-size: 10px; }.tarot-table__footer p { display: flex; align-items: center; gap: 7px; margin: 0; }.text-button { padding: 0; border: 0; background: transparent; color: var(--gold-light); font-size: 11px; }.text-button span { margin-left: 5px; }
.tarot-result { min-height: 625px; background: linear-gradient(155deg, rgba(33,29,65,.78), rgba(12,17,31,.82)); }.tarot-result__header { padding-bottom: 18px; border-bottom: 1px solid var(--line); }.tarot-result__empty { min-height: 520px; display: flex; flex-direction: column; justify-content: center; }.tarot-result__symbol { margin-bottom: 22px; color: var(--gold-light); font-size: 44px; text-shadow: 0 0 35px rgba(228,179,111,.5); }.tarot-result h3 { margin-bottom: 13px; font-size: 29px; line-height: 1.4; }.tarot-result__empty p { max-width: 230px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }.tarot-result__content { padding-top: 28px; }.tarot-drawn-cards { display: flex; gap: 7px; min-height: 104px; margin-bottom: 23px; }.drawn-mini-card { position: relative; flex: 1; min-width: 0; min-height: 104px; display: flex; align-items: end; padding: 9px; border: 1px solid rgba(228,179,111,.38); background: linear-gradient(145deg, #3a3566, #14182e); overflow: hidden; }.drawn-mini-card::before { content: '✦'; position: absolute; top: 14px; left: 50%; color: rgba(246,210,154,.7); transform: translateX(-50%); }.drawn-mini-card span { position: relative; color: var(--gold-light); font-size: 9px; line-height: 1.3; }.tarot-result__content h3 { margin-bottom: 6px; font-size: 27px; }.tarot-card-keywords { margin-bottom: 18px; color: var(--cyan); font-size: 11px; }.tarot-card-message { color: var(--muted); font-size: 14px; line-height: 1.85; }.tarot-advice { margin-top: 26px; padding: 13px 14px; border-left: 2px solid var(--gold); background: rgba(228,179,111,.07); }.tarot-advice span { display: block; margin-bottom: 5px; color: var(--gold); font-size: 9px; letter-spacing: .12em; }.tarot-advice strong { color: var(--text); font-family: var(--serif); font-size: 14px; font-weight: 500; }
.guide-section { padding: 43px 0 150px; }.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }.guide-card { position: relative; min-height: 235px; padding: 24px; border: 1px solid var(--line); background: rgba(14,20,35,.5); }.guide-card--accent { background: linear-gradient(145deg, rgba(54,41,83,.76), rgba(15,21,37,.62)); border-color: rgba(169,146,255,.24); }.guide-card__number { color: var(--gold); font-size: 10px; letter-spacing: .12em; }.guide-card__icon { position: absolute; top: 21px; right: 25px; color: var(--gold-light); font-size: 25px; }.guide-card h3 { margin: 62px 0 10px; font-size: 21px; }.guide-card p { max-width: 240px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.site-footer { display: flex; justify-content: space-between; gap: 40px; padding-block: 34px 50px; border-top: 1px solid var(--line); }.footer-brand p { margin: 18px 0 0; color: var(--muted); font-size: 12px; }.footer-copy { max-width: 445px; color: var(--muted-deep); font-size: 10px; line-height: 1.7; }.footer-copy p { margin-bottom: 12px; }.footer-meta { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 900px) { :root { --page: min(100% - 40px, 680px); }.site-header { min-height: 76px; }.top-nav { gap: 16px; margin-left: 0; }.header-cta { display: none; }.hero { min-height: 640px; padding-top: 68px; align-items: flex-start; }.hero__art { inset: 0 -32vw 0 0; opacity: .8; }.hero__copy { width: 100%; }.hero__signal { position: absolute; right: 5%; bottom: 18px; width: 210px; margin: 0; transform: rotate(3deg) scale(.85); transform-origin: bottom right; }.section-intro--row { display: block; }.section-intro__copy { margin-top: 17px; }.daily-card__body { grid-template-columns: 60px 1fr; }.daily-card__seal { display: none; }.reading-grid, .tarot-layout { grid-template-columns: 1fr; }.tarot-result { min-height: auto; }.tarot-result__empty { min-height: 260px; }.guide-grid { grid-template-columns: 1fr; }.guide-card { min-height: auto; }.guide-card h3 { margin-top: 42px; }.site-footer { display: block; }.footer-copy { margin-top: 32px; max-width: 520px; } }
@media (max-width: 560px) { :root { --page: calc(100% - 32px); }body { font-size: 15px; }.site-header { min-height: 70px; }.brand strong { font-size: 19px; }.top-nav { gap: 13px; font-size: 11px; }.hero { min-height: 700px; padding-block: 62px 0; }.hero__art { inset: 25% -90% 0 -15%; }.hero__copy { z-index: 2; }.hero__copy h1 { font-size: 46px; }.hero__lede { font-size: 14px; }.hero__actions { flex-direction: column; align-items: stretch; }.button { width: 100%; }.hero__signal { right: 0; bottom: 20px; }.daily-section, .reading-section, .tarot-section, .guide-section { padding-bottom: 95px; }.daily-card__meta { align-items: flex-start; gap: 10px; flex-direction: column; }.daily-card__body { gap: 14px; padding: 23px 19px 27px; }.daily-card__number { font-size: 48px; }.daily-card h3 { font-size: 22px; }.daily-card p { font-size: 12px; }.daily-card__footer { align-items: flex-start; flex-wrap: wrap; gap: 6px 12px; padding-inline: 18px; }.daily-card__footer strong { width: calc(100% - 30px); }.form-card, .result-card, .tarot-table, .tarot-result { padding: 19px; }.result-empty, .result-content { padding-inline: 12px; }.result-sections { grid-template-columns: 1fr; }.spread-button { min-width: 0; flex: 1; padding-inline: 7px; }.tarot-deck { grid-template-columns: repeat(4, 1fr); gap: 8px; min-height: 500px; padding-inline: 7px; }.tarot-card-button { height: 150px; }.tarot-table__footer { align-items: flex-start; gap: 14px; flex-direction: column; }.site-footer { padding-bottom: 35px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

/* Reading dashboard: a little more structure, without pretending a preview is a calculated chart. */
.reading-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 20px; }
.reading-metrics > div { padding: 12px 14px; border: 1px solid var(--line); background: rgba(11,16,29,.34); }
.reading-metrics span { display: block; color: var(--muted-deep); font-size: 9px; letter-spacing: .08em; }
.reading-metrics strong { display: block; margin-top: 8px; color: var(--gold-light); font-family: var(--serif); font-size: 14px; font-weight: 500; }
.reading-insight { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(190px, .8fr); gap: 10px; margin-bottom: 24px; }
.element-balance, .next-step-card { padding: 15px; border: 1px solid var(--line); background: rgba(11,16,29,.34); }
.insight-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 15px; color: var(--muted); font-size: 10px; }
.insight-heading .card-kicker { margin: 0; color: var(--gold); }
.element-bars { display: grid; gap: 9px; }
.element-row { display: grid; grid-template-columns: 29px 1fr 34px; gap: 8px; align-items: center; color: var(--muted); font-size: 10px; }
.element-row__track { height: 5px; overflow: hidden; background: rgba(143,195,227,.11); }
.element-row__track span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--gold)); box-shadow: 0 0 10px rgba(143,195,227,.24); }
.element-row__value { color: var(--gold-light); text-align: right; }
.insight-note { margin: 13px 0 0; color: var(--muted-deep); font-size: 9px; line-height: 1.55; }
.next-step-card .card-kicker { margin-bottom: 13px; color: var(--gold); }
.next-step-card p { min-height: 59px; margin: 0 0 13px; color: var(--text); font-family: var(--serif); font-size: 15px; line-height: 1.65; }
.result-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.button--small { min-height: 36px; padding: 0 14px; font-size: 11px; }

/* Tarot deck faces and reading structure. */
.tarot-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 15px 0 12px; color: var(--muted-deep); font-size: 10px; }
.tarot-toggle { display: inline-flex; align-items: center; gap: 7px; color: var(--text); }
.tarot-toggle input { margin: 0; accent-color: var(--gold); }
.tarot-card-button { display: block; transform-style: preserve-3d; }
.tarot-card-button__front { position: absolute; inset: 0; z-index: 1; display: none; overflow: hidden; background: #10172b; pointer-events: none; }
.tarot-card-button__front img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.tarot-card-button__front::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,24,.02) 38%, rgba(8,12,24,.82) 100%); }
.tarot-card-button__front span { position: absolute; right: 8px; bottom: 8px; left: 8px; z-index: 2; color: var(--gold-light); font-family: var(--serif); font-size: 11px; text-align: center; text-shadow: 0 1px 8px #080c18; }
.tarot-card-button__fallback { position: absolute; inset: 0; display: grid; place-content: center; color: var(--gold-light); font-family: var(--serif); font-size: 19px; }
.tarot-card-button.is-drawn .tarot-card-button__front { display: block; animation: card-reveal .42s ease both; }
.tarot-card-button.is-drawn::before, .tarot-card-button.is-drawn::after { opacity: 0; }
@keyframes card-reveal { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.drawn-mini-card.has-art { align-items: stretch; padding: 0; background: #11182d; }
.drawn-mini-card.has-art img { width: 100%; height: 100%; object-fit: cover; opacity: .76; }
.drawn-mini-card.is-reversed.has-art img { transform: rotate(180deg); }
.drawn-mini-card.has-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8,12,24,.88)); }
.drawn-mini-card.has-art span { z-index: 1; }
.tarot-feature { display: grid; grid-template-columns: 97px 1fr; gap: 16px; align-items: start; margin: 24px 0 18px; }
.tarot-card-stage { position: relative; width: 97px; aspect-ratio: 2 / 3; display: grid; place-content: center; overflow: hidden; border: 1px solid rgba(228,179,111,.48); background: linear-gradient(145deg, #3a3566, #11182d); box-shadow: 0 13px 25px rgba(0,0,0,.3); }
.tarot-card-stage::before { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(228,179,111,.32); pointer-events: none; }
.tarot-card-stage img { width: 100%; height: 100%; object-fit: cover; }
.tarot-card-stage > span { color: var(--gold-light); font-family: var(--serif); font-size: 28px; }
.tarot-card-stage.is-reversed img, .tarot-card-stage.is-reversed > span { transform: rotate(180deg); }
.tarot-position-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tarot-position-line .card-kicker { margin: 0; }
#tarot-card-orientation { padding: 4px 7px; border: 1px solid rgba(143,195,227,.25); border-radius: 99px; color: var(--cyan); font-size: 9px; white-space: nowrap; }
.tarot-feature-copy h3 { margin-top: 13px; }
.tarot-reading-grid { display: grid; gap: 8px; margin-top: 17px; }
.tarot-reading-note { padding: 12px 13px; border: 1px solid var(--line); background: rgba(8,12,24,.28); }
.tarot-reading-note__head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; color: var(--gold-light); font-family: var(--serif); font-size: 13px; }
.tarot-reading-note__head small { color: var(--cyan); font-family: var(--sans); font-size: 9px; }
.tarot-reading-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }

/* Local journal: useful continuity without requiring accounts or a database. */
.journal-section { padding: 43px 0 150px; }
.journal-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, .8fr); gap: 20px; }
.journal-card { padding: 26px; }
.journal-card__topline { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.journal-card__topline .text-button { color: var(--muted); font-size: 10px; }
.journal-empty { min-height: 184px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: var(--muted); }
.journal-empty > span { margin-bottom: 15px; color: var(--gold-light); font-size: 30px; }
.journal-empty p { margin: 0; font-size: 12px; line-height: 1.8; }
.journal-list { display: grid; gap: 9px; padding-top: 18px; }
.journal-entry { padding: 14px; border: 1px solid var(--line); background: rgba(11,16,29,.38); }
.journal-entry__head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.journal-entry__type { color: var(--gold); font-size: 9px; letter-spacing: .1em; }
.journal-entry__date { color: var(--muted-deep); font-size: 9px; }
.journal-entry h3 { margin: 0 0 7px; color: var(--text); font-family: var(--serif); font-size: 16px; font-weight: 500; }
.journal-entry p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.journal-entry__meta { margin-top: 8px !important; color: var(--muted-deep) !important; font-size: 9px !important; }
.journal-card__topline .text-button:disabled { cursor: not-allowed; opacity: .35; }
.journal-side { position: relative; min-height: 245px; padding: 29px; border: 1px solid rgba(169,146,255,.18); background: linear-gradient(145deg, rgba(49,39,77,.72), rgba(13,19,34,.56)); }
.journal-side p { max-width: 225px; margin-top: 25px; color: var(--muted); font-family: var(--serif); font-size: 19px; line-height: 1.65; }
.journal-side__mark { position: absolute; right: 26px; bottom: 20px; color: var(--gold-light); font-size: 24px; }

/* Deep report preview: visual structure for the future paid GPT report. */
.deep-report-cta { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-top: 22px; padding: 17px 18px; border: 1px solid rgba(228,179,111,.28); background: linear-gradient(135deg, rgba(52,40,76,.62), rgba(13,19,34,.52)); }
.deep-report-cta .card-kicker { margin-bottom: 6px; }
.deep-report-cta strong { color: var(--text); font-family: var(--serif); font-size: 16px; font-weight: 500; }
.deep-report-cta p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.deep-report-cta .button { flex: 0 0 auto; }
.report-ai-consent { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 9px; width: min(780px, 100%); margin: 0 auto 16px; padding: 11px 13px; border: 1px solid rgba(228,179,111,.2); background: rgba(228,179,111,.05); color: var(--muted); font-size: 10px; line-height: 1.6; }
.report-ai-consent input { flex: 0 0 auto; width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--gold); }
.report-modal__toolbar-actions .button { white-space: nowrap; }
.report-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(3,6,14,.82); }
.report-modal__backdrop { position: absolute; inset: 0; }
.report-modal__panel { position: relative; width: min(1020px, 100%); max-height: min(94vh, 1120px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-strong); background: #0a0f1e; box-shadow: 0 30px 100px rgba(0,0,0,.5); }
.report-modal__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 24px; border-bottom: 1px solid var(--line); background: rgba(8,12,24,.96); }
.report-modal__toolbar .card-kicker { margin-bottom: 5px; }
.report-modal__toolbar h2 { margin: 0; color: var(--text); font-size: 22px; }
.report-modal__toolbar-actions { display: flex; align-items: center; gap: 18px; }
.report-modal__toolbar-actions .text-button { white-space: nowrap; }
.report-modal__close { width: 34px; height: 34px; padding: 0; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font-size: 23px; line-height: 1; }
.report-modal__close:hover { border-color: var(--gold); color: var(--gold-light); }
.report-modal__body { overflow: auto; padding: 28px; background: radial-gradient(circle at 50% 0, rgba(61,54,126,.18), transparent 33rem), #080c18; }
.report-sheet { width: min(780px, 100%); display: grid; gap: 20px; margin: 0 auto; }
.report-page { position: relative; min-height: 980px; display: flex; flex-direction: column; padding: 58px 58px 52px; overflow: hidden; border: 1px solid rgba(228,179,111,.24); background: linear-gradient(145deg, rgba(25,34,59,.98), rgba(9,14,28,.98)); box-shadow: 0 22px 50px rgba(0,0,0,.24); break-after: page; page-break-after: always; }
.report-page:last-child { break-after: auto; page-break-after: auto; }
.report-page::before { content: ''; position: absolute; inset: 18px; border: 1px solid rgba(143,195,227,.1); pointer-events: none; }
.report-page__head, .report-page__foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; color: var(--muted-deep); }
.report-page__head { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.report-page__head .report-overline, .report-page__foot .report-overline { margin: 0; }
.report-page__index, .report-page__foot { font-size: 9px; letter-spacing: .16em; }
.report-page__title { position: relative; z-index: 1; margin: 47px 0 29px; }
.report-page__title h2 { margin: 0 0 13px; color: var(--text); font-size: clamp(31px, 4vw, 46px); line-height: 1.35; }
.report-page__title p { max-width: 475px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.report-overline { margin: 0; color: var(--gold); font-size: 9px; font-weight: 600; letter-spacing: .16em; }
.report-cover { justify-content: space-between; min-height: 980px; background: radial-gradient(circle at 74% 30%, rgba(169,146,255,.25), transparent 19rem), linear-gradient(150deg, #151a39 0%, #090e20 65%); }
.report-cover__art { position: absolute; top: 86px; right: -95px; width: 560px; height: 560px; opacity: .62; mask-image: radial-gradient(circle, black 0 48%, transparent 74%); }
.report-cover__art img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; }
.report-cover__copy { position: relative; z-index: 1; max-width: 530px; margin-top: 115px; }
.report-cover__eyebrow { margin: 84px 0 18px; color: var(--cyan); font-size: 10px; letter-spacing: .18em; }
.report-cover h1 { max-width: 520px; margin: 0 0 24px; color: var(--text); font-size: clamp(40px, 6vw, 68px); line-height: 1.25; }
.report-cover__lede { max-width: 480px; margin: 0; color: var(--muted); font-size: 14px; line-height: 2; white-space: pre-line; }
.report-cover__mantra { max-width: 440px; margin: 28px 0 0; color: var(--gold-light); font-family: var(--serif); font-size: 18px; line-height: 1.7; }
.report-cover__signature { display: grid; gap: 5px; margin-top: 52px; padding-left: 14px; border-left: 2px solid var(--gold); color: var(--muted); font-size: 10px; }
.report-cover__signature strong { color: var(--gold-light); font-family: var(--serif); font-size: 20px; font-weight: 500; }
.report-cover__foot { position: relative; z-index: 1; display: flex; justify-content: space-between; color: var(--muted-deep); font-size: 9px; letter-spacing: .15em; }
.report-info-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-bottom: 18px; }
.report-info-grid > div { min-height: 75px; padding: 13px 14px; border: 1px solid var(--line); background: rgba(8,12,24,.38); }
.report-info-grid span { display: block; margin-bottom: 8px; color: var(--muted-deep); font-size: 9px; letter-spacing: .08em; }
.report-info-grid strong { color: var(--gold-light); font-family: var(--serif); font-size: 15px; font-weight: 500; }
.report-flow-visual { position: relative; z-index: 1; padding: 20px; border: 1px solid rgba(143,195,227,.2); background: linear-gradient(145deg, rgba(21,38,59,.76), rgba(9,17,31,.64)); }
.report-flow-visual__header { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 24px; }
.report-flow-visual__header h3 { margin: 6px 0 0; color: var(--text); font-size: 23px; }
.report-flow-visual__header > span { padding: 4px 8px; border: 1px solid rgba(228,179,111,.28); border-radius: 99px; color: var(--gold-light); font-size: 9px; white-space: nowrap; }
.report-element-list { display: grid; gap: 16px; }
.report-element-row { display: grid; grid-template-columns: 155px 1fr; gap: 6px 14px; align-items: center; }
.report-element-row__label { display: flex; align-items: baseline; gap: 8px; }
.report-element-row__label strong { color: var(--text); font-family: var(--serif); font-size: 14px; font-weight: 500; }
.report-element-row__label span { color: var(--cyan); font-size: 9px; }
.report-element-row__track { height: 8px; overflow: hidden; background: rgba(143,195,227,.1); }
.report-element-row__track span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--gold)); box-shadow: 0 0 14px rgba(228,179,111,.25); }
.report-element-row p { grid-column: 1 / -1; margin: 0; color: var(--muted-deep); font-size: 9px; line-height: 1.5; }
.report-footnote { margin: 20px 0 0; color: var(--muted-deep); font-size: 9px; line-height: 1.65; }
.report-quote { position: relative; z-index: 1; margin-top: 22px; padding: 16px 18px; border-left: 2px solid var(--gold); background: rgba(228,179,111,.07); }
.report-quote span { color: var(--gold); font-size: 9px; letter-spacing: .12em; }
.report-quote p { margin: 8px 0 0; color: var(--text); font-family: var(--serif); font-size: 18px; line-height: 1.6; }
.report-page__foot { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.report-reading-list { position: relative; z-index: 1; display: grid; gap: 10px; }
.report-reading-block { display: grid; grid-template-columns: 38px 1fr; gap: 13px; padding: 17px 16px; border: 1px solid var(--line); background: rgba(8,12,24,.38); }
.report-reading-block__number { color: var(--gold); font-family: var(--serif); font-size: 17px; }
.report-reading-block__kicker { display: block; margin-bottom: 5px; color: var(--cyan); font-size: 8px; letter-spacing: .14em; }
.report-reading-block h3 { margin: 0 0 7px; color: var(--gold-light); font-size: 18px; font-weight: 500; }
.report-reading-block p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.85; white-space: pre-line; }
.report-empty-copy { padding: 28px 18px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 12px; }
.report-action-card { position: relative; z-index: 1; margin-top: 18px; padding: 21px; border: 1px solid rgba(228,179,111,.32); background: linear-gradient(135deg, rgba(56,44,72,.72), rgba(13,19,34,.6)); }
.report-action-card h3 { max-width: 500px; margin: 12px 0 8px; color: var(--text); font-size: 22px; line-height: 1.55; }
.report-action-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.report-timing-card, .report-closing { position: relative; z-index: 1; margin-top: 18px; padding: 17px 19px; border-left: 2px solid var(--cyan); background: rgba(143,195,227,.07); }
.report-timing-card p, .report-closing p { margin: 9px 0 0; color: var(--text); font-family: var(--serif); font-size: 16px; line-height: 1.75; }
.report-action-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 18px; }
.report-action-item { padding: 15px; border: 1px solid var(--line); background: rgba(8,12,24,.42); }
.report-action-item h3 { margin: 10px 0 8px; color: var(--gold-light); font-size: 15px; line-height: 1.5; }
.report-action-item p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.report-tarot-strip { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.report-tarot-card { position: relative; min-width: 0; aspect-ratio: 2 / 3; margin: 0; overflow: hidden; border: 1px solid rgba(228,179,111,.42); background: #11182d; }
.report-tarot-card img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.report-tarot-card figcaption { position: absolute; right: 6px; bottom: 6px; left: 6px; color: var(--gold-light); font-size: 8px; line-height: 1.4; text-shadow: 0 1px 8px #080c18; }
.report-tarot-card figcaption strong { font-family: var(--serif); font-size: 10px; font-weight: 500; }
.report-tarot-card__fallback, .report-tarot-empty { display: grid; place-items: center; color: var(--gold-light); }
.report-tarot-card__fallback { height: 100%; font-size: 25px; }
.report-tarot-empty { grid-column: 1 / -1; min-height: 170px; gap: 10px; border: 1px dashed var(--line-strong); text-align: center; }
.report-tarot-empty span { color: var(--gold-light); font-size: 30px; }
.report-tarot-empty p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.report-symbol-note { position: relative; z-index: 1; display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; margin-top: 29px; padding: 18px; border: 1px solid var(--line); background: rgba(11,16,29,.42); }
.report-symbol-note__art { height: 180px; overflow: hidden; border: 1px solid rgba(228,179,111,.28); }
.report-symbol-note__art img { width: 100%; height: 100%; object-fit: cover; opacity: .73; mix-blend-mode: screen; }
.report-symbol-note h3 { margin: 11px 0 9px; color: var(--text); font-size: 23px; }
.report-symbol-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.report-disclaimer { position: relative; z-index: 1; margin-top: 23px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted-deep); font-size: 9px; line-height: 1.7; }
.report-modal__hint { margin: 0; padding: 11px 24px; border-top: 1px solid var(--line); color: var(--muted-deep); font-size: 10px; text-align: center; }
.report-modal-open { overflow: hidden; }

@media (max-width: 700px) {
  .deep-report-cta { align-items: flex-start; flex-direction: column; }
  .deep-report-cta .button { width: 100%; }
  .report-modal { padding: 0; }
  .report-modal__panel { width: 100%; max-height: 100vh; }
  .report-modal__toolbar { align-items: flex-start; flex-direction: column; padding: 15px 17px; }
  .report-modal__toolbar-actions { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
  .report-modal__body { padding: 12px; }
  .report-page { min-height: 820px; padding: 42px 28px 38px; }
  .report-page::before { inset: 10px; }
  .report-cover__copy { margin-top: 68px; }
  .report-cover__eyebrow { margin-top: 55px; }
  .report-cover__art { top: 90px; right: -175px; width: 450px; height: 450px; }
  .report-element-row { grid-template-columns: 105px 1fr; gap: 6px 10px; }
  .report-action-grid { grid-template-columns: 1fr; }
  .report-symbol-note { grid-template-columns: 110px 1fr; gap: 13px; }
  .report-symbol-note__art { height: 110px; }
  .report-tarot-card figcaption { font-size: 7px; }
}

@media print {
  @page { size: A4; margin: 0; }
  body.report-modal-open > *:not(.report-modal) { display: none !important; }
  .report-modal { position: static; display: block; padding: 0; background: #080c18; }
  .report-modal__backdrop, .report-modal__toolbar, .report-modal__hint { display: none !important; }
  .report-modal__panel { width: 100%; max-height: none; overflow: visible; border: 0; box-shadow: none; background: #080c18; }
  .report-modal__body { overflow: visible; padding: 0; background: #080c18; }
  .report-sheet { width: 100%; display: block; }
  .report-page { min-height: 100vh; margin: 0; border: 0; box-shadow: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

@media (max-width: 900px) { .reading-insight, .journal-layout { grid-template-columns: 1fr; } .journal-side { min-height: 180px; } .journal-side p { max-width: 480px; } }
@media (max-width: 560px) { .top-nav { gap: 9px; font-size: 10px; } .reading-metrics { grid-template-columns: 1fr; gap: 6px; } .reading-metrics > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; } .reading-metrics strong { margin-top: 0; font-size: 13px; } .tarot-controls { align-items: flex-start; flex-direction: column; gap: 8px; } .tarot-feature { grid-template-columns: 82px 1fr; gap: 12px; } .tarot-card-stage { width: 82px; } .tarot-reading-note__head { align-items: flex-start; flex-direction: column; gap: 3px; } .journal-section { padding-bottom: 95px; } .journal-card { padding: 19px; } .journal-side { padding: 23px 19px; } .journal-side p { font-size: 17px; } }
