:root {
  --paper: #fffaf5;
  --paper-deep: #f8eee7;
  --blush: #f4c4cf;
  --blush-light: #fde5e9;
  --rose: #ce7f94;
  --rose-deep: #99546c;
  --raspberry: #7f3f58;
  --gold: #c6a061;
  --gold-light: #ead8ad;
  --ink: #543d43;
  --muted: #8b7177;
  --mint: #9fc8bb;
  --shadow: 0 24px 70px rgba(114, 62, 78, 0.13);
  --font-display: "Kaiti SC", "STKaiti", "KaiTi", "FZKai-Z03", serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  --font-latin: "Iowan Old Style", "Baskerville", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 12%, rgba(255,255,255,.92), transparent 26rem),
    radial-gradient(circle at 85% 32%, rgba(246,196,207,.42), transparent 28rem),
    linear-gradient(155deg, #fffaf6 0%, #fbeff0 48%, #f8e5e8 100%);
  font-family: var(--font-serif);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .26;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(127,63,88,.16) 0 0.6px, transparent .8px),
    radial-gradient(circle at 72% 68%, rgba(198,160,97,.13) 0 0.7px, transparent .9px);
  background-size: 9px 11px, 13px 15px;
  mix-blend-mode: multiply;
  z-index: 10;
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.page-glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(198,160,97,.25);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.page-glow::before, .page-glow::after {
  content: "";
  position: absolute;
  inset: 3rem;
  border: 1px solid rgba(206,127,148,.18);
  border-radius: 50%;
}
.page-glow::after { inset: 7rem; }
.page-glow-one { left: -15rem; top: 20rem; }
.page-glow-two { right: -17rem; top: 68rem; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(198,160,97,.35);
}
.brand { display: inline-flex; gap: 12px; align-items: center; }
.brand-seal {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255,250,245,.68);
  box-shadow: inset 0 0 0 4px rgba(244,196,207,.35);
}
.brand strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 400; letter-spacing: .16em; }
.brand small { display: block; margin-top: 3px; color: var(--rose-deep); font: 600 8px/1.2 var(--font-latin); letter-spacing: .2em; }
.header-date { text-align: right; }
.header-date span { display: block; color: var(--muted); font-size: 11px; letter-spacing: .16em; }
.header-date strong { display: block; margin-top: 4px; color: var(--rose-deep); font: 600 12px/1 var(--font-latin); letter-spacing: .08em; }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 70px;
  padding: 68px 0 92px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--rose-deep);
  font: 600 10px/1.4 var(--font-latin);
  letter-spacing: .34em;
}
.hero h1 {
  margin: 0;
  color: #563940;
  font-family: var(--font-display);
  font-size: clamp(48px, 6.4vw, 86px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.12;
}
.hero-description {
  width: min(520px, 100%);
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .04em;
}
.draw-status {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--rose-deep);
}
.draw-status p { margin: 0; font-size: 13px; letter-spacing: .08em; }
.progress-dots { display: flex; gap: 7px; }
.progress-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  transition: .4s ease;
}
.progress-dots span.filled { background: var(--rose); border-color: var(--rose); box-shadow: 0 0 0 4px rgba(244,196,207,.25); }

.hero-orbit { position: relative; height: 500px; display: grid; place-items: center; }
.orbit-line { position: absolute; border: 1px solid rgba(198,160,97,.36); border-radius: 50%; }
.orbit-line-one { width: 450px; height: 450px; }
.orbit-line-two { width: 330px; height: 480px; transform: rotate(31deg); }
.orbit-line::before, .orbit-line::after { content: "✦"; position: absolute; color: var(--gold); background: #fbeff0; padding: 4px; font-size: 11px; }
.orbit-line::before { top: 7%; left: 17%; }
.orbit-line::after { right: 3%; bottom: 22%; }
.orbit-star { position: absolute; color: var(--rose); }
.orbit-star-one { left: 3%; top: 22%; font-size: 24px; }
.orbit-star-two { right: 5%; bottom: 16%; font-size: 18px; }
.hero-card {
  width: 224px;
  aspect-ratio: 7 / 13;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(145deg, #f6cbd5, #ebaebf);
  box-shadow: 0 34px 80px rgba(127,63,88,.26), inset 0 0 0 1px #fff8;
  transform: rotate(5deg);
  animation: card-float 5s ease-in-out infinite;
}
@keyframes card-float { 50% { transform: rotate(2deg) translateY(-13px); } }
.hero-card-frame {
  position: relative;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 12px;
  color: var(--gold);
  background: radial-gradient(circle, rgba(255,255,255,.93), rgba(255,247,242,.75));
  box-shadow: inset 0 0 0 5px rgba(246,196,207,.44), inset 0 0 0 6px rgba(198,160,97,.45);
}
.hero-card-frame::before, .hero-card-frame::after { content: "✦  ·  ✦  ·  ✦"; position: absolute; font: 10px Arial; letter-spacing: .18em; }
.hero-card-frame::before { top: 25px; }
.hero-card-frame::after { bottom: 25px; }
.hero-wing { font-size: 44px; transform: rotate(-35deg); }
.hero-symbol { margin: 16px 0; color: var(--rose-deep); font-size: 62px; text-shadow: 0 1px white; }
.hero-moon { font-size: 48px; }
.hero-card small { position: absolute; bottom: 52px; color: var(--rose-deep); font: 8px Arial; letter-spacing: .24em; }

.ritual, .spread { padding: 110px 0; }
.ritual { width: 100vw; margin-left: calc(50% - 50vw); padding-inline: max(20px, calc((100vw - 1180px) / 2)); background: rgba(255,250,245,.64); border-block: 1px solid rgba(198,160,97,.28); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.section-heading h2 { margin: 0; color: #614049; font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 400; letter-spacing: .01em; }
.section-note { max-width: 340px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; text-align: right; }
.ritual-tools { display: grid; justify-items: end; gap: 10px; }
.ritual-tools small { color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.shuffle-button {
  min-width: 126px;
  padding: 10px 16px;
  border: 1px solid rgba(198,160,97,.72);
  border-radius: 999px;
  color: var(--rose-deep);
  background: rgba(255,255,255,.62);
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
  box-shadow: 0 7px 20px rgba(127,63,88,.08);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.shuffle-button:hover:not(:disabled), .shuffle-button:focus-visible:not(:disabled) { transform: translateY(-2px); background: #fffaf5; box-shadow: 0 10px 25px rgba(127,63,88,.14); outline: none; }
.shuffle-button:disabled { cursor: default; opacity: .56; }
.deck-shell { position: relative; }
.deck-stars { margin-bottom: 25px; color: var(--gold); text-align: center; font-size: 13px; letter-spacing: .55em; opacity: .8; }
.deck {
  display: grid;
  grid-template-columns: repeat(9, minmax(72px, 1fr));
  gap: 13px;
  align-items: start;
  perspective: 1600px;
}
.draw-card {
  position: relative;
  aspect-ratio: 7 / 16;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  perspective: 1100px;
  transition: transform .3s ease, opacity .3s ease;
}
.draw-card:nth-child(3n + 1) { transform: translateY(14px) rotate(-1deg); }
.draw-card:nth-child(3n + 2) { transform: translateY(0) rotate(.4deg); }
.draw-card:nth-child(3n) { transform: translateY(18px) rotate(1deg); }
.draw-card:hover:not(:disabled), .draw-card:focus-visible:not(:disabled) { transform: translateY(-9px) scale(1.025); z-index: 2; outline: none; }
.draw-card:focus-visible .card-inner { box-shadow: 0 0 0 4px rgba(206,127,148,.28), 0 20px 40px rgba(127,63,88,.2); }
.draw-card:disabled:not(.is-selected) { cursor: default; opacity: .26; filter: saturate(.5); }
.card-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2,.7,.2,1); border-radius: inherit; box-shadow: 0 14px 30px rgba(127,63,88,.14); }
.draw-card.is-flipped .card-inner { transform: rotateY(180deg); }
.deck.is-revealing .draw-card:not(.just-revealed) { filter: saturate(.72) brightness(.98); }
.draw-card.just-revealed { z-index: 6; animation: card-rise 1.18s cubic-bezier(.2,.72,.2,1) both; }
.draw-card.just-revealed .card-inner { animation: card-flip-glow 1.05s cubic-bezier(.2,.72,.2,1) both; }
.draw-card.just-revealed::before, .draw-card.just-revealed::after {
  content: "✦";
  position: absolute;
  z-index: 8;
  color: var(--gold);
  font-size: 17px;
  text-shadow: 0 0 12px white;
  animation: reveal-spark 1s ease-out both;
}
.draw-card.just-revealed::before { left: -17px; top: 18%; }
.draw-card.just-revealed::after { right: -16px; bottom: 23%; animation-delay: .12s; }
.deck.is-shuffling .draw-card { animation: shuffle-sweep .84s cubic-bezier(.6,0,.3,1) both; animation-delay: calc(var(--shuffle-i) * 28ms); pointer-events: none; }
.deck.just-dealt .draw-card { animation: deck-deal .62s cubic-bezier(.2,.72,.2,1) both; animation-delay: calc(var(--deal-i) * 22ms); }
@keyframes card-rise {
  0% { transform: translateY(0) scale(1); }
  38% { transform: translateY(-32px) scale(1.08) rotate(-1deg); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes card-flip-glow {
  0% { transform: rotateY(0); box-shadow: 0 14px 30px rgba(127,63,88,.14); }
  55% { box-shadow: 0 24px 62px rgba(206,127,148,.44), 0 0 0 7px rgba(255,255,255,.4); }
  100% { transform: rotateY(180deg); box-shadow: 0 17px 36px rgba(127,63,88,.2); }
}
@keyframes reveal-spark { 0% { opacity: 0; transform: scale(.2) rotate(0); } 45% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5) rotate(75deg) translateY(-12px); } }
@keyframes shuffle-sweep {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  48% { transform: translate(var(--shuffle-x), -22px) rotate(var(--shuffle-r)); opacity: .72; }
  100% { transform: translate(0, 0) rotate(0); opacity: 1; }
}
@keyframes deck-deal { 0% { opacity: 0; transform: translateY(24px) scale(.92); } 100% { opacity: 1; } }
.card-face { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.magic-face {
  padding: 6px;
  background: linear-gradient(145deg, #f7d5dd, #ecaebf 70%, #d98fa4);
  border: 1px solid rgba(198,160,97,.84);
}
.magic-frame {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--gold);
  background: radial-gradient(ellipse at 50% 45%, #fffdf8 0 38%, #fde9e9 72%, #f4c7d0 100%);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.68), inset 0 0 0 4px rgba(198,160,97,.38);
}
.magic-frame::before, .magic-frame::after { content: "✦"; position: absolute; left: 9px; right: 9px; text-align: center; border-block: 1px solid rgba(198,160,97,.48); line-height: 17px; font-size: 7px; }
.magic-frame::before { top: 9px; }
.magic-frame::after { bottom: 9px; }
.magic-glyph { color: var(--rose-deep); font-size: clamp(23px, 2.7vw, 40px); line-height: 1; text-shadow: 0 1px white; }
.magic-name { margin-top: 10px; color: var(--rose-deep); font-size: clamp(8px, .8vw, 11px); letter-spacing: .18em; }
.magic-english { position: absolute; bottom: 31px; color: var(--gold); font: 600 clamp(5px, .48vw, 7px)/1 Arial; letter-spacing: .12em; }
.magic-wings { position: absolute; top: 32px; font-size: 14px; letter-spacing: .2em; }
.tarot-face { transform: rotateY(180deg); background: #f4c9d4; border: 1px solid var(--gold); padding: 2px; }
.tarot-face::before, .tarot-face::after { content: none; }
.tarot-face img { width: 100%; height: 100%; display: block; object-fit: contain; border-radius: 7px; background: #fff4ef; }
.tarot-face img.reversed { transform: rotate(180deg); }
.orientation-badge { position: absolute; z-index: 2; top: 8px; right: 8px; padding: 4px 6px; border-radius: 999px; color: var(--raspberry); background: rgba(255,250,245,.87); font-size: 7px; letter-spacing: .08em; box-shadow: 0 2px 8px #7f3f5822; }
.pick-order { position: absolute; z-index: 5; left: 50%; bottom: -14px; width: 28px; height: 28px; display: grid; place-items: center; transform: translateX(-50%); border: 1px solid var(--gold); border-radius: 50%; color: white; background: var(--rose-deep); font: 600 10px Arial; box-shadow: 0 5px 14px #7f3f5844; }

.spread { padding-bottom: 130px; }
.spread-review-note { margin: 12px 0 0; color: var(--muted); font-size: 11px; letter-spacing: .05em; }
.spread-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spread-slot { position: relative; min-height: 0; padding: 58px 28px 30px; border: 1px solid rgba(198,160,97,.45); border-radius: 24px; text-align: center; background: rgba(255,250,245,.64); box-shadow: inset 0 0 0 7px rgba(255,255,255,.42); transition: .5s ease; }
.spread-slot.filled { background: rgba(255,250,245,.9); box-shadow: var(--shadow); transform: translateY(-4px); }
.spread-slot.just-filled { animation: slot-awaken 1.05s cubic-bezier(.2,.72,.2,1) both; }
@keyframes slot-awaken { 0% { opacity: .55; transform: translateY(18px) scale(.98); } 55% { box-shadow: 0 28px 76px rgba(206,127,148,.24); } 100% { opacity: 1; transform: translateY(-4px) scale(1); } }
.slot-number { position: absolute; top: 20px; left: 24px; color: var(--gold); font: 11px Arial; letter-spacing: .12em; }
.slot-empty { width: 180px; aspect-ratio: 7/11; margin: 0 auto 25px; display: grid; place-content: center; gap: 10px; border: 1px dashed rgba(198,160,97,.55); border-radius: 14px; color: var(--gold); background: rgba(253,229,233,.25); }
.slot-empty span { font-size: 28px; }
.slot-empty p { margin: 0; color: var(--muted); font-size: 11px; }
.slot-content { display: none; }
.spread-slot.filled .slot-empty { display: none; }
.spread-slot.filled .slot-content { display: block; transition: opacity .42s ease, transform .5s cubic-bezier(.2,.72,.2,1); }
.spread-slot.awaiting-reveal .slot-content { opacity: 0; transform: translateY(18px) scale(.92); }
.spread-slot.is-receiving .slot-content { opacity: 1; transform: translateY(0) scale(1); }
.spread-slot.is-receiving { animation: receive-card-glow .62s ease-out both; }
@keyframes receive-card-glow { 45% { box-shadow: 0 24px 72px rgba(206,127,148,.32), 0 0 0 7px rgba(244,196,207,.18); } }
.slot-card-review { width: 100%; margin: 0 0 24px; padding: 0; border: 0; color: inherit; background: transparent; font-family: inherit; cursor: pointer; }
.slot-card { position: relative; width: min(220px, 84%); aspect-ratio: 7/16; margin: 0 auto 11px; display: block; padding: 4px; border: 1px solid var(--gold); border-radius: 16px; background: linear-gradient(145deg, #f9dbe2 0%, #eaaabd 58%, #f4cbd4 100%); box-shadow: 0 22px 48px rgba(127,63,88,.22), inset 0 0 0 3px rgba(255,255,255,.48); transition: transform .28s ease, box-shadow .28s ease, filter .28s ease; }
.slot-card-review:hover .slot-card, .slot-card-review:focus-visible .slot-card { transform: translateY(-5px) scale(1.018); box-shadow: 0 28px 58px rgba(127,63,88,.28), 0 0 0 5px rgba(244,196,207,.2); filter: saturate(1.04); }
.slot-card-review:focus-visible { outline: none; }
.slot-review-label { display: inline-flex; align-items: center; gap: 5px; color: var(--rose-deep); font-size: 9px; letter-spacing: .13em; opacity: .68; transition: opacity .25s ease; }
.slot-card-review:hover .slot-review-label, .slot-card-review:focus-visible .slot-review-label { opacity: 1; }
.slot-card::before, .slot-card::after { content: none; }
.slot-card img { position: relative; z-index: 1; width: 100%; height: 100%; display: block; border-radius: 11px; object-fit: contain; background: #fff4ef; }
.slot-card img.reversed { transform: rotate(180deg); }
.slot-card-fallback { width: 100%; height: 100%; display: none; place-content: center; border: 1px solid var(--gold); border-radius: 8px; color: var(--rose-deep); background: var(--paper); font-size: 42px; }
.slot-card-name { margin: 0 0 7px; color: var(--raspberry); font-family: var(--font-display); font-size: 21px; font-weight: 400; }
.slot-card-meta { margin: 0 0 13px; color: var(--rose-deep); font: 600 9px Arial; letter-spacing: .16em; }

.reading { position: relative; margin-top: 36px; padding: 70px min(8vw, 92px); overflow: hidden; border: 1px solid rgba(198,160,97,.6); border-radius: 28px; text-align: center; background: linear-gradient(135deg, rgba(255,250,245,.96), rgba(250,224,230,.9)); box-shadow: var(--shadow); }
.reading::before, .reading::after { content: ""; position: absolute; width: 220px; height: 220px; border: 1px solid rgba(198,160,97,.28); border-radius: 50%; }
.reading::before { left: -100px; top: -100px; }
.reading::after { right: -100px; bottom: -100px; }
.reading-mark { width: 45px; height: 45px; margin: 0 auto 22px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); background: #fff8; }
.reading h2 { margin: 0 0 24px; font-family: var(--font-display); font-size: 40px; font-weight: 400; }
.reading > p:not(.eyebrow):not(.reading-disclaimer):not(.reading-method) { max-width: 790px; margin: 0 auto; color: #73575e; font-size: 16px; line-height: 2.1; }
.reading-arc { max-width: 820px; margin: 8px auto 34px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 13px; }
.arc-step { min-height: 112px; padding: 18px 13px; display: grid; align-content: center; gap: 6px; border: 1px solid rgba(198,160,97,.42); border-radius: 18px; background: rgba(255,255,255,.44); }
.arc-step small { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.arc-step strong { color: var(--raspberry); font-family: var(--font-display); font-size: 20px; font-weight: 400; }
.arc-step span { color: var(--rose-deep); font-size: 11px; }
.arc-arrow { color: var(--gold); font-family: var(--font-latin); font-size: 20px; }
.reading-analysis { max-width: 900px; margin: 38px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; text-align: left; }
.analysis-item { padding: 18px 20px; border: 1px solid rgba(198,160,97,.34); border-radius: 16px; background: rgba(255,255,255,.38); }
.analysis-item strong { color: var(--rose-deep); font-size: 11px; letter-spacing: .12em; }
.analysis-item p { margin: 8px 0 0; color: #73575e; font-size: 12px; line-height: 1.75; }
.reading-detail-section { position: relative; z-index: 1; max-width: 980px; margin: 58px auto 0; padding-top: 42px; border-top: 1px solid rgba(198,160,97,.34); text-align: left; }
.reading-section-kicker { margin: 0 0 7px; color: var(--gold); font: 600 9px Arial; letter-spacing: .2em; }
.reading-detail-section > h3 { margin: 0 0 24px; color: #614049; font-family: var(--font-display); font-size: 27px; font-weight: 400; }
.reading-deep-dives { display: grid; gap: 14px; }
.deep-dive-card { position: relative; padding: 25px 27px 25px 78px; overflow: hidden; border: 1px solid rgba(198,160,97,.38); border-radius: 20px; background: rgba(255,255,255,.5); }
.deep-dive-card::after { content: "✦"; position: absolute; right: 20px; top: 16px; color: rgba(198,160,97,.34); font-size: 17px; }
.deep-dive-number { position: absolute; left: 24px; top: 25px; color: var(--gold); font: 18px var(--font-latin); }
.deep-dive-card small { color: var(--muted); font-size: 9px; letter-spacing: .12em; }
.deep-dive-card h4 { margin: 5px 0 16px; color: var(--raspberry); font-family: var(--font-display); font-size: 23px; font-weight: 400; }
.deep-dive-card p { margin: 10px 0 0; color: #73575e; font-size: 12px; line-height: 1.85; }
.deep-dive-card p strong { display: inline-block; min-width: 70px; color: var(--rose-deep); font-size: 10px; letter-spacing: .08em; }
.deep-dive-card .deep-dive-action { margin-top: 16px; padding: 13px 15px; border-radius: 12px; color: #704351; background: rgba(246,200,210,.28); }
.reading-pairs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pair-card { padding: 24px; border: 1px solid rgba(198,160,97,.38); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.56), rgba(247,216,225,.42)); }
.pair-card small { color: var(--gold); font-size: 9px; letter-spacing: .14em; }
.pair-card h4 { margin: 8px 0 12px; color: var(--raspberry); font-family: var(--font-display); font-size: 20px; font-weight: 400; }
.pair-card p { margin: 0; color: #73575e; font-size: 12px; line-height: 1.85; }
.reading-practice { display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; }
.reading-practice > .reading-section-kicker, .reading-practice > h3 { grid-column: 1 / -1; }
.reading-guidance { margin: 0; padding: 0; list-style: none; counter-reset: guidance; }
.reading-guidance li { position: relative; min-height: 52px; margin: 0 0 13px; padding: 13px 14px 13px 52px; border: 1px solid rgba(198,160,97,.32); border-radius: 14px; color: #73575e; background: rgba(255,255,255,.42); font-size: 12px; line-height: 1.75; counter-increment: guidance; }
.reading-guidance li::before { content: counter(guidance); position: absolute; left: 15px; top: 15px; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--rose-deep); font: 10px Arial; }
.reading-questions { padding: 20px 22px; border-radius: 18px; background: rgba(115,67,83,.06); }
.reading-questions h4 { margin: 0 0 14px; color: var(--rose-deep); font-family: var(--font-display); font-size: 18px; font-weight: 400; }
.reading-questions p { position: relative; margin: 10px 0 0; padding-left: 32px; color: #73575e; font-size: 11px; line-height: 1.75; }
.reading-questions p span { position: absolute; left: 0; color: var(--gold); font: 10px Arial; letter-spacing: .08em; }
.reading-keywords { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.reading-keywords span { padding: 8px 14px; border: 1px solid rgba(198,160,97,.5); border-radius: 999px; color: var(--rose-deep); background: rgba(255,255,255,.55); font-size: 11px; }
.ai-reading-cta { position: relative; z-index: 1; max-width: 980px; margin: 34px auto 0; padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 24px; border: 1px solid rgba(198,160,97,.54); border-radius: 20px; text-align: left; background: linear-gradient(135deg, rgba(255,255,255,.68), rgba(239,179,197,.3)); }
.ai-reading-cta > div { display: flex; align-items: center; gap: 15px; }
.ai-reading-star { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); background: rgba(255,255,255,.62); }
.ai-reading-cta p { margin: 0; color: #73575e; font-size: 11px; line-height: 1.75; }
.ai-reading-cta strong { color: var(--raspberry); font-family: var(--font-display); font-size: 17px; font-weight: 400; }
.ai-reading-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.ai-reading-button { padding: 13px 20px; border: 1px solid var(--gold); border-radius: 999px; color: white; background: linear-gradient(135deg, var(--rose-deep), var(--raspberry)); box-shadow: 0 12px 28px rgba(127,63,88,.18); font-size: 11px; letter-spacing: .06em; text-align: center; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease; }
.deepseek-reading-button { color: var(--raspberry); background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(247,216,225,.92)); }
.ai-reading-button:hover, .ai-reading-button:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(127,63,88,.26); outline: none; }
.ai-reading-cta > small { grid-column: 1 / -1; color: var(--muted); font-size: 9px; text-align: right; }
.reading-method { max-width: 760px; margin: 25px auto 0; color: #9b858a; font-size: 10px; line-height: 1.7; letter-spacing: .04em; }
.reading-disclaimer { margin: 36px 0 0; color: #9b858a; font-size: 10px; }

.card-library { margin: 0 0 130px; padding: 58px 64px; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 50px; border: 1px solid rgba(198,160,97,.5); border-radius: 28px; background: linear-gradient(135deg, rgba(255,250,245,.94), rgba(248,216,225,.82)); box-shadow: var(--shadow); }
.card-library h2 { margin: 0; color: #614049; font-family: var(--font-display); font-size: clamp(30px, 3.7vw, 47px); font-weight: 400; }
.library-copy > p:last-child { max-width: 650px; margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.library-action { text-align: center; }
.download-button { width: 100%; padding: 17px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid var(--gold); border-radius: 999px; color: white; background: linear-gradient(135deg, var(--rose-deep), var(--raspberry)); font-family: var(--font-serif); font-size: 14px; letter-spacing: .08em; text-decoration: none; cursor: pointer; box-shadow: 0 16px 34px rgba(127,63,88,.22); transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease; }
.download-button span { font: 20px/1 var(--font-latin); }
.download-button:hover:not(:disabled), .download-button:focus-visible:not(:disabled) { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(127,63,88,.3); outline: none; }
.download-button:disabled { cursor: wait; opacity: .72; }
.download-button.is-busy span { animation: download-pulse .8s ease-in-out infinite alternate; }
.library-action p { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
@keyframes download-pulse { to { transform: translateY(4px); opacity: .45; } }

footer { padding: 45px 20px 55px; border-top: 1px solid rgba(198,160,97,.28); color: var(--muted); text-align: center; font-size: 12px; letter-spacing: .08em; }
.credit { margin-top: 12px; font: 9px Arial; letter-spacing: .04em; opacity: .64; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 20; padding: 11px 18px; border: 1px solid rgba(198,160,97,.6); border-radius: 999px; color: var(--raspberry); background: rgba(255,250,245,.94); box-shadow: 0 14px 40px rgba(127,63,88,.16); font-size: 12px; opacity: 0; transform: translate(-50%, 18px); pointer-events: none; transition: .35s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal-stage { position: fixed; inset: 0; z-index: 70; visibility: hidden; pointer-events: none; opacity: 0; }
.reveal-stage.is-active { visibility: visible; opacity: 1; }
.reveal-veil { position: absolute; inset: 0; background: rgba(88,38,62,.28); opacity: 0; transition: opacity .28s ease; }
.reveal-stage.is-active .reveal-veil { opacity: 1; }
.reveal-stage.is-settling .reveal-veil { opacity: 0; }
.reveal-flying-card { position: fixed; z-index: 3; perspective: 1500px; filter: drop-shadow(0 28px 42px rgba(89,40,62,.3)); will-change: left, top, width, height, transform, opacity; transition: filter .25s ease; }
.reveal-stage.is-bursting .reveal-flying-card { filter: drop-shadow(0 0 18px rgba(255,255,255,.88)) drop-shadow(0 0 42px rgba(241,154,178,.72)) drop-shadow(0 32px 46px rgba(89,40,62,.35)); }
.reveal-flying-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .78s cubic-bezier(.16,.76,.18,1); }
.reveal-flying-inner.is-flipped { transform: rotateY(180deg); }
.reveal-flying-face { position: absolute; inset: 0; overflow: hidden; border: 1px solid var(--gold); border-radius: max(9px, 5%); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.reveal-flying-back { padding: 7%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gold); background: radial-gradient(ellipse at 50% 44%, #fffdf8 0 38%, #fde9e9 72%, #efaebe 100%); box-shadow: inset 0 0 0 5px rgba(255,255,255,.66), inset 0 0 0 6px rgba(198,160,97,.5); }
.reveal-flying-back::before, .reveal-flying-back::after { content: "✦　·　✦　·　✦"; position: absolute; left: 9%; right: 9%; padding: 3% 0; border-block: 1px solid rgba(198,160,97,.48); text-align: center; font-size: clamp(6px, 1vw, 10px); }
.reveal-flying-back::before { top: 6%; }
.reveal-flying-back::after { bottom: 6%; }
.reveal-back-wings { position: absolute; top: 15%; font-size: clamp(14px, 2.4vw, 27px); }
.reveal-back-glyph { color: var(--rose-deep); font-size: clamp(38px, 7vw, 72px); text-shadow: 0 2px white; }
.reveal-back-name { margin-top: 7%; color: var(--rose-deep); font-size: clamp(14px, 2.2vw, 25px); letter-spacing: .18em; }
.reveal-flying-back small { position: absolute; bottom: 16%; color: var(--gold); font: 600 clamp(6px, .9vw, 10px)/1 Arial; letter-spacing: .16em; }
.reveal-flying-front { padding: 4px; transform: rotateY(180deg); background: linear-gradient(145deg, #f9dbe2, #eaaabd 58%, #f4cbd4); box-shadow: inset 0 0 0 3px rgba(255,255,255,.55); }
.reveal-flying-front img { width: 100%; height: 100%; display: block; object-fit: contain; border-radius: calc(max(9px, 5%) - 4px); background: #fff4ef; }
.reveal-flying-front img.reversed { transform: rotate(180deg); }
.reveal-image-fallback { width: 100%; height: 100%; display: none; place-content: center; border-radius: inherit; color: var(--rose-deep); background: var(--paper); font-size: 56px; }
.reveal-caption { position: fixed; z-index: 4; left: 50%; bottom: max(20px, 5vh); margin: 0; padding: 11px 20px; transform: translate(-50%, 12px); border: 1px solid rgba(198,160,97,.62); border-radius: 999px; color: var(--raspberry); background: rgba(255,250,245,.9); box-shadow: 0 13px 34px rgba(89,40,62,.14); font-family: var(--font-display); font-size: 15px; letter-spacing: .1em; opacity: 0; transition: opacity .3s ease, transform .3s ease; }
.reveal-caption.is-visible { opacity: 1; transform: translate(-50%, 0); }
.reveal-particles { position: absolute; inset: 0; z-index: 5; overflow: hidden; }
.reveal-particles span { position: absolute; color: #f19ab2; font-size: var(--particle-size); font-weight: 700; text-shadow: 0 0 7px white, 0 0 14px currentColor, 0 0 24px currentColor; opacity: 0; mix-blend-mode: screen; animation: magic-particle-flight var(--particle-duration) cubic-bezier(.12,.64,.22,1) var(--particle-delay) both; will-change: transform, opacity; }
.reveal-particles span.is-gold { color: #e6c77e; }
@keyframes magic-particle-flight { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.1) rotate(0deg); } 12% { opacity: 1; } 48% { opacity: .95; } 100% { opacity: 0; transform: translate(calc(-50% + var(--particle-x)), calc(-50% + var(--particle-y))) scale(1.45) rotate(170deg); } }
.reveal-in-progress .draw-card, .reveal-in-progress .slot-card-review { pointer-events: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 85px 0 70px; text-align: center; }
  .hero-description { margin-inline: auto; }
  .draw-status { justify-content: center; }
  .hero-orbit { height: 430px; }
  .orbit-line-one { width: 390px; height: 390px; }
  .orbit-line-two { width: 285px; height: 410px; }
  .deck { grid-template-columns: repeat(6, 1fr); }
  .spread-slot { min-height: 0; padding-inline: 18px; }
  .card-library { grid-template-columns: 1fr; text-align: center; }
  .library-copy > p:last-child { margin-inline: auto; }
  .library-action { width: min(360px, 100%); margin: 0 auto; }
}

@media (max-width: 680px) {
  .site-header, main { width: min(100% - 28px, 1180px); }
  .site-header { height: 78px; }
  .header-date span { display: none; }
  .hero { gap: 30px; padding-top: 70px; }
  .hero h1 { font-size: clamp(43px, 13vw, 68px); }
  .hero-description { font-size: 14px; line-height: 1.9; }
  .hero-orbit { height: 375px; transform: scale(.9); }
  .orbit-line-one { width: 360px; height: 360px; }
  .orbit-line-two { width: 260px; height: 390px; }
  .hero-card { width: 180px; }
  .ritual, .spread { padding-block: 78px; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 34px; }
  .section-heading h2 { font-size: 35px; }
  .section-note { text-align: left; }
  .ritual-tools { width: 100%; justify-items: start; }
  .deck-shell { margin-inline: -14px; }
  .deck-stars { margin-left: 14px; }
  .deck {
    display: flex;
    gap: 12px;
    padding: 14px 20px 35px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .deck::-webkit-scrollbar { display: none; }
  .draw-card { width: 105px; min-width: 105px; scroll-snap-align: center; }
  .draw-card:nth-child(n) { transform: none; }
  .spread-grid { grid-template-columns: 1fr; }
  .spread-slot { min-height: 0; padding: 48px 24px 28px; }
  .slot-empty { width: 150px; }
  .slot-card { width: 175px; }
  .reading { padding: 55px 23px; }
  .reading h2 { font-size: 32px; }
  .reading > p:not(.eyebrow):not(.reading-disclaimer):not(.reading-method) { font-size: 14px; }
  .reading-arc { grid-template-columns: 1fr; }
  .arc-arrow { transform: rotate(90deg); }
  .reading-analysis { grid-template-columns: 1fr; }
  .deep-dive-card { padding: 24px 20px 22px 62px; }
  .deep-dive-number { left: 20px; }
  .reading-pairs, .reading-practice { grid-template-columns: 1fr; }
  .reading-practice > .reading-section-kicker, .reading-practice > h3 { grid-column: auto; }
  .reading-detail-section { margin-top: 45px; padding-top: 34px; }
  .ai-reading-cta { grid-template-columns: 1fr; text-align: center; }
  .ai-reading-cta > div { align-items: flex-start; text-align: left; }
  .ai-reading-buttons { display: grid; justify-content: stretch; }
  .ai-reading-cta > small { grid-column: auto; text-align: center; }
  .card-library { margin-bottom: 80px; padding: 44px 24px; gap: 32px; }
  .card-library h2 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
