:root {
  color-scheme: light;
  --ink: #281c27;
  --muted: #63525d;
  --accent: #6c3e59;
  --deep: #37223b;
  --paper: #fffaf6;
  --line: #e6d8dd;
  --serif: 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', 'Noto Serif CJK JP', serif;
  --sans: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 1rem/1.75 var(--sans); background: #fbf5f0; }
button, input, select { font: inherit; }
button { color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid #8a446b; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
.wrap, .header-inner { width: min(100% - 80px, 1200px); margin-inline: auto; }

.site-header { border-bottom: 1px solid #ebdfe0; background: #fffaf6; }
.header-inner { min-height: 74px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1.08rem var(--serif); white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--deep); color: #f9daab; font: 1.65rem/1 Georgia, serif; }
.site-header nav { display: flex; gap: clamp(13px, 2.7vw, 36px); color: var(--muted); font-size: .875rem; font-weight: 650; white-space: nowrap; }
.site-header nav a { padding-block: 9px; text-decoration: none; }
.site-header nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }

.garden {
  background-color: #30202e;
  background-image: linear-gradient(180deg, #23142644, #27172915 62%, #2e202f44),
    url('assets/moon-garden.webp');
  background-size: cover, 100% auto;
  background-position: center, center top;
  background-repeat: no-repeat;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(32px, 5.8vw, 86px);
  align-items: start;
  padding-block: clamp(45px, 5.7vw, 83px) clamp(50px, 6vw, 92px);
}
.introduction { align-self: start; padding: clamp(20px, 3.6vw, 62px) 0 0; color: #fff7e9; text-shadow: 0 2px 13px #1e1128c2; }
.eyebrow { display: flex; align-items: center; gap: 13px; color: #f2d2a7; margin: 0 0 18px; font: italic 1.1rem/1.3 Georgia, serif; letter-spacing: .055em; }
.eyebrow::before { content: ''; width: 36px; border-top: 1px solid #c39e70; }
.introduction h1 { margin: 0 0 24px; font: 600 clamp(2.65rem, 5.2vw, 4.8rem)/1.32 var(--serif); letter-spacing: .035em; }
.intro-copy { color: #fff4f0; max-width: 25rem; line-height: 1.95; }
.intro-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; font-size: .875rem; font-weight: 600; color: #f9ddba; }
.intro-meta span:nth-child(2) { opacity: .65; }
.reading-tool { position: relative; background: var(--paper); border: 1px solid #e7d8da; border-radius: 19px; box-shadow: 0 20px 60px #120c1f5c; overflow: hidden; }
.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 7px; border-radius: 13px; background: #f2e8eb; margin: 21px 21px 0; }
.mode-tabs button { min-width: 0; min-height: 46px; padding: 8px 5px; background: transparent; border: 0; border-radius: 8px; color: #61495a; cursor: pointer; font-size: clamp(.875rem, 1.27vw, 1rem); font-weight: 700; line-height: 1.35; }
.mode-tabs button span { margin-inline-end: .25rem; }
.mode-tabs button[aria-selected='true'] { color: #fff4f0; background: var(--deep); box-shadow: 0 2px 5px #33233430; }
.mode-tabs button[aria-selected='true'] span { color: #f2cca5; }
.mode-tabs button[aria-selected='false']:hover { background: #eadce2; }
.mode-panel { padding: 25px 21px 21px; }
.scenarios { padding: 0; margin: 0 0 24px; border: 0; min-inline-size: 0; text-align: center; }
.scenarios legend { padding: 0 0 10px; margin-inline: auto; font-weight: 700; }
.scenario-options { display: flex; justify-content: center; gap: 8px; }
.scenario-options label { position: relative; }
.scenario-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.scenario-options span { display: grid; place-items: center; min-height: 40px; min-width: clamp(72px, 7.4vw, 101px); padding: 6px 12px; border: 1px solid #e1d2d9; border-radius: 99px; cursor: pointer; color: #5b4354; font-size: .875rem; line-height: 1.5; font-weight: 650; }
.scenario-options input:checked + span { background: #f3e1e9; border-color: #a67692; color: #663653; }
.scenario-options input:focus-visible + span { outline: 2px solid #8a446b; outline-offset: 3px; }
.scenario-options label:hover span { border-color: #9c6a86; }

.card-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 16px clamp(16px, 3vw, 34px) 8px;
  border: 1px solid #634858;
  border-radius: 11px;
  background: radial-gradient(ellipse at 50% 48%, #604553, #422e40 62%, #382738);
  color: #fcf3e9;
  text-align: center;
}
.card-stage::before, .card-stage::after {
  content: ''; pointer-events: none; position: absolute; z-index: -1;
  border: 1px solid #c6a57a63; border-radius: 50%; width: 110%; height: 118%;
  left: -5%; top: -9%; rotate: -19deg;
}
.card-stage::after { rotate: 19deg; border-color: #c6a57a45; }
.deck { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(10px, 1.6vw, 23px); max-width: 412px; margin-inline: auto; }
.tarot-choice { --tilt: 0deg; --drop: 0px; width: 100%; aspect-ratio: 7 / 12; display: block; padding: 0; background: transparent; border: 0; border-radius: 7px; cursor: pointer; perspective: 720px; transform: translateY(var(--drop)) rotate(var(--tilt)); transition: transform .24s ease, opacity .3s; }
.tarot-choice:first-child { --tilt: -7deg; --drop: 6px; }
.tarot-choice:last-child { --tilt: 7deg; --drop: 6px; }
.tarot-choice:focus-visible { outline-color: #ffe2a3; }
@media (hover: hover) {
  .tarot-choice:not([aria-disabled='true'], :disabled):hover { transform: translateY(-9px) rotate(var(--tilt)) scale(1.035); }
}
.tarot-choice[aria-disabled='true'], .tarot-choice:disabled { cursor: default; }
.tarot-choice.is-revealed { transform: translateY(-4px) scale(1.04); }
.card-shell { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .65s cubic-bezier(.25,.7,.18,1); }
.tarot-choice.is-revealed .card-shell { transform: rotateY(180deg); }
.tarot-choice.is-muted { opacity: .35; }
.card-back, .card-front { position: absolute; inset: 0; display: grid; place-items: center; backface-visibility: hidden; border-radius: 6px; overflow: hidden; box-shadow: 0 8px 15px #1d112077; }
.card-back { border: 1px solid #b7997a; background: #482333 url('assets/moon-card-back.webp') center / 100% 100% no-repeat; }
.tarot-choice[data-motif='rose'] .card-back { background-image: url('assets/rose-card-back.webp'); }
.tarot-choice[data-motif='star'] .card-back { background-image: url('assets/star-card-back.webp'); }
.motif-name { position: absolute; top: calc(100% + 8px); left: 0; width: 100%; color: #ffead1; font: 600 .93rem/1.5 var(--serif); transform: rotate(calc(-1 * var(--tilt))); }
.card-front { transform: rotateY(180deg); background: #f4dec5; border: 1px solid #bca580; }
.card-front img { width: 100%; height: 100%; object-fit: contain; }
.is-reversed { rotate: 180deg; }
.deck-controls { margin-top: 43px; font-size: .875rem; text-align: center; }
.draw-instruction { margin: 0 0 23px; font: 600 1rem/1.5 var(--serif); letter-spacing: .055em; }
.shuffle { min-height: 38px; padding: 3px 10px; border: 0; background: transparent; color: #f7d9b7; cursor: pointer; font-size: .875rem; }
.shuffle:focus-visible { outline-color: #ffe2a3; }
.shuffle:disabled { opacity: .55; cursor: default; }
.shuffle span { font-size: 1.12em; }
.deck:has(.is-revealed) + .deck-controls { visibility: hidden; }
.lookup-form { display: grid; gap: 16px; padding: 9px clamp(0px, 2vw, 28px) 12px; }
.lookup-intro { margin: 0; color: var(--muted); }
.lookup-field { display: grid; min-width: 0; gap: 5px; color: #55394f; font-weight: 700; font-size: .875rem; }
.lookup-field select { appearance: none; min-height: 46px; width: 100%; padding: 7px 32px 7px 12px; border: 1px solid #bd9cad; border-radius: 8px; font-size: 1rem; font-weight: 500; color: var(--ink); background: linear-gradient(45deg, transparent 50%, #6c3e59 50%) calc(100% - 16px) 50% / 5px 5px no-repeat, linear-gradient(135deg, #6c3e59 50%, transparent 50%) calc(100% - 11px) 50% / 5px 5px no-repeat, #fffcf8; }
.lookup-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.primary-button, .quiet-button { min-height: 46px; padding: 9px 18px; border: 1px solid var(--deep); border-radius: 9px; cursor: pointer; font-size: .9375rem; font-weight: 700; }
.primary-button { margin-top: 4px; background: var(--deep); color: #fff5f1; }
.primary-button:hover { background: #54324f; }
.quiet-button { color: var(--deep); background: #fcf1f2; }
.quiet-button:hover { background: #f1dfe7; }

.reading-result { margin-top: 20px; padding: clamp(18px, 3.2vw, 33px); background: #fcf4f1; border: 1px solid #e8d8db; border-radius: 14px; }
.charm-strip {
  --charm-paper: #152d35;
  --charm-art: url("assets/charm-moon.webp");
  position: relative; isolation: isolate; display: block; width: 100%; padding: 19px clamp(16px, 4vw, 27px);
  overflow: hidden; text-align: left; border: 1px solid #86745d; border-radius: 10px;
  background: var(--charm-paper); color: #fff8e7; cursor: pointer;
}
.charm-strip[data-motif="rose"] { --charm-paper: #40242c; --charm-art: url("assets/charm-rose.webp"); }
.charm-strip[data-motif="star"] { --charm-paper: #14263d; --charm-art: url("assets/charm-star.webp"); }
.charm-strip::before { content: ""; position: absolute; z-index: -2; inset: 0 0 0 14%; background: var(--charm-art) center 80% / cover; }
.charm-strip::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--charm-paper) 11%, color-mix(in srgb, var(--charm-paper) 84%, transparent) 44%, transparent 100%); }
.charm-strip-label { display: block; color: #ffe3b7; font: 650 .875rem/1.3 var(--sans); }
.charm-verse { display: block; margin-block: 9px 12px; white-space: pre-line; font: 600 clamp(1.03rem, 1.8vw, 1.36rem)/1.55 var(--serif); text-shadow: 0 1px 5px #160d17; }
.charm-strip-action { font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.charm-strip:hover .charm-strip-action { color: #ffdfac; }
#charm-dialog { width: min(750px, calc(100% - 24px)); background: #fffbf5; }
.charm-studio { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 3.5vw, 38px); }
.charm-display { display: grid; justify-items: center; padding: 14px 12px 0; background: #efe7de; border: 1px solid #dfd1c4; border-radius: 12px; }
.charm-phone { height: min(55dvh, 475px); max-width: 100%; aspect-ratio: 1170 / 2532; position: relative; overflow: hidden; container-type: inline-size; border: 3px solid #29282a; border-radius: 24px; background: #1f2630; box-shadow: 0 5px 13px #33222c37; }
.charm-phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
#charm-clock { position: absolute; top: 11%; left: 4%; right: 4%; text-align: center; color: #fff9ed; text-shadow: 0 1px 5px #161221a6; pointer-events: none; line-height: 1.12; }
#charm-clock span { display: block; font: 600 max(10px, 5.4cqw)/1.35 var(--sans); }
#charm-clock strong { display: block; font: 600 23cqw/.98 system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.06em; }
.clock-switch { display: flex; align-items: center; gap: 6px; min-height: 41px; font-size: .875rem; cursor: pointer; }
.clock-switch input, .charm-themes input { accent-color: var(--accent); }
#charm-card { margin: 0 0 4px; font-size: .875rem; font-weight: 700; color: var(--accent); }
#charm-quote { margin: 0 0 20px; white-space: pre-line; font: 600 clamp(1.15rem, 2vw, 1.45rem)/1.65 var(--serif); }
.charm-themes { min-width: 0; margin: 0 0 12px; padding: 0; border: 0; }
.charm-themes legend { padding: 0; margin-bottom: 5px; font-size: .875rem; font-weight: 700; }
.charm-themes > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.charm-themes label { position: relative; cursor: pointer; }
.charm-themes input { opacity: 0; position: absolute; }
.charm-themes span { display: flex; justify-content: center; align-items: center; gap: 5px; padding: 3px; min-height: 44px; border: 1px solid #d1c1bb; border-radius: 8px; font-size: .875rem; }
.charm-themes span::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: #24454b; }
.charm-themes input[value="rose"] + span::before { background: #8b475b; }
.charm-themes input[value="star"] + span::before { background: #364b73; }
.charm-themes input:checked + span { border: 2px solid #644257; color: #4c3045; background: #f8ece9; font-weight: 700; }
.charm-themes input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.charm-controls > button { display: block; width: 100%; }
.charm-controls > .quiet-button { margin-top: 7px; }
.charm-controls > .text-button { min-height: 42px; }
.charm-controls > button:disabled { opacity: .55; }
.charm-spec, #charm-status { margin: 4px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.5; }
#charm-status:empty { display: none; }
@media (max-width: 570px) {
  #charm-dialog { padding: 14px; }
  .charm-studio { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .charm-display { padding-top: 9px; }
  .charm-phone { height: clamp(174px, 34dvh, 323px); border-radius: 17px; }
  .clock-switch { min-height: 36px; }
  #charm-quote { margin-bottom: 9px; font-size: 1.09rem; }
  .charm-themes { margin-bottom: 6px; }
}
.result-intro { display: grid; grid-template-columns: clamp(72px, 9vw, 112px) 1fr; align-items: center; gap: clamp(15px, 3vw, 27px); }
.result-card { display: block; width: 100%; height: auto; border: 1px solid #bda092; border-radius: 5px; box-shadow: 0 6px 15px #3d23302b; }
.result-ident { margin: 0 0 8px; color: #70415c; font-size: .88rem; font-weight: 700; }
.result-sep { margin-inline: .2em; color: #bd938b; }
.result-intro h3 { font: 700 clamp(1.45rem, 2.3vw, 2.15rem)/1.4 var(--serif); margin: 0 0 7px; scroll-margin-top: 20px; text-wrap: balance; }
.result-english { margin: 0; color: var(--accent); font: 700 .875rem/1.45 Georgia, serif; letter-spacing: .04em; }
.result-keywords { margin: 8px 0 0; color: var(--muted); }
.result-text { margin: 23px 0 0; border-top: 1px solid #e4d3d8; }
.result-text h4 { margin: 16px 0 3px; color: #654058; font-size: .9375rem; }
.result-text p { margin: 0; line-height: 1.85; }
.result-text .personal-reading { margin: 5px 0 18px; font: 600 clamp(1.08rem, 1.65vw, 1.35rem)/1.85 var(--serif); color: #40283a; }
.symbolism { margin: 18px 0 0; padding-block: 10px; border-block: 1px solid #e4d3d8; }
.symbolism summary { cursor: pointer; color: #63485a; font-size: .9rem; font-weight: 600; }
.symbolism[open] p { margin-top: 8px; }
.next-step { margin-top: 17px; }
.next-deal { width: 100%; display: flex; align-items: center; gap: 15px; padding: 12px 18px; text-align: left; border: 1px solid #67465b; border-radius: 10px; background: linear-gradient(115deg,#362536,#593e50); color: #fff4df; cursor: pointer; }
.next-deal:hover { background: #54394b; }
.next-deal strong { display: block; font: 700 1.1rem/1.45 var(--serif); }
.next-deal small { display: block; color: #f3dece; font-size: .875rem; }
.mini-back { flex: 0 0 33px; height: 50px; border: 1px solid #b69770; border-radius: 3px; background: #382333 url('assets/star-card-back.webp') center / cover; transform: rotate(-7deg); }
.next-outcome { display: grid; grid-template-columns: 60px minmax(0,1fr); gap: 15px; align-items: start; padding: 16px 14px; border: 1px solid #d6baae; border-radius: 10px; background: #f6eae3; }
.next-outcome img { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0 3px 7px #3d233026; }
.next-outcome h4 { margin: 2px 0 6px; font: 700 1.2rem/1.45 var(--serif); }
.next-outcome p { margin: 0; }
.next-ident { color: #70415c; font-size: .875rem; font-weight: 650; }
.invite-create { width: 100%; margin-top: 12px; padding: 8px 12px; min-height: 43px; border: 1px solid #d0b6a8; background: #fff9ee; color: #5c3c4e; border-radius: 9px; font-weight: 650; font-size: .9375rem; cursor: pointer; }
.invite-create:hover { background: #f9eadb; }
#invite-welcome { text-align: center; margin: 0 auto 16px; }
#invite-welcome h2, #compare-message { margin: 0 0 9px; font: 700 clamp(1.2rem,2vw,1.55rem)/1.4 var(--serif); }
#invite-welcome p { margin: 0; color: var(--muted); }
#invite-comparison { text-align: center; }
.comparison-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.comparison-pair > div { background: #f6e9e2; border: 1px solid #ddc7be; padding: 10px 6px; border-radius: 8px; }
.comparison-pair img { display: block; width: 56px; height: auto; margin: 4px auto 8px; box-shadow: 0 2px 5px #36223140; }
.comparison-pair p, .comparison-pair small { font-size: .875rem; color: #5f4656; margin: 0; }
.comparison-pair strong { display: block; font: 700 1rem/1.5 var(--serif); }
#invite-area:has(#invite-comparison:not([hidden])) { margin-bottom: 22px; }
.result-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 21px; }
.result-actions .primary-button { margin-top: 0; }
dialog { width: min(calc(100% - 22px), 490px); max-height: 93dvh; padding: clamp(14px, 2.5vw, 24px); color: var(--ink); background: var(--paper); border: 1px solid #c9b9af; border-radius: 15px; box-shadow: 0 18px 60px #190f28aa; }
dialog::backdrop { background: #1d111ee0; }
body:has(dialog[open]) { overflow: hidden; }
#invite-dialog label { display: block; font-weight: 650; font-size: .875rem; }
#invite-dialog textarea { width: 100%; padding: 8px; border: 1px solid #cfb6bd; background: #fffdfb; border-radius: 6px; font: .875rem/1.4 var(--sans); resize: vertical; }
#invite-dialog .invite-privacy { color: var(--muted); font-size: .875rem; }
#invite-status { margin: 6px 0 0; font-size: .875rem; }
.letter-home { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; min-height: 44px; color: #fff2dc; text-underline-offset: 5px; font-size: .875rem; }
.letter-intro h1 { text-wrap: balance; }
.hero:has(.letter-intro:not([hidden])) .mode-panel { padding: clamp(17px, 3vw, 34px); }
.card-stage:has(#shuffle[hidden]) { padding-bottom: clamp(34px, 5vw, 55px); }
.card-stage:has(#shuffle[hidden]) .deck-controls { display: none; }
#invite-area[data-invite-mode="read-only"] { margin: 0; text-align: center; }
#reply-start { margin-top: 8px; }
#invite-area:is([data-invite-mode="read-only"], [data-invite-mode="reply"]) .invite-create { color: #fff7e9; border-color: var(--deep); background: var(--deep); }
#invite-area:is([data-invite-mode="read-only"], [data-invite-mode="reply"]) .invite-create:hover { background: #54324f; }
#invite-area[data-invite-mode="read-only"] .comparison-pair > div { padding-block: clamp(12px, 2vw, 24px); }
#invite-area[data-invite-mode="read-only"] .comparison-pair img { width: clamp(68px, 11vw, 100px); margin-block: 12px; }
#invite-dialog { width: min(calc(100% - 24px), 790px); overscroll-behavior: contain; }
.letter-dialog-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 30px); align-items: center; }
.postcard-preview { display: grid; place-items: center; background: #eae0d8; border: 1px solid #dbc8b9; border-radius: 9px; overflow: hidden; padding: clamp(9px, 1.6vw, 16px); aspect-ratio: 4 / 5; }
#invite-canvas { display: block; width: 100%; height: auto; box-shadow: 0 4px 12px #38203535; }
.letter-actions { min-width: 0; }
.letter-actions > button { display: block; width: 100%; }
.letter-actions > .quiet-button { margin-top: 8px; }
.letter-actions > #invite-native[hidden] + #invite-save { margin-top: 4px; background: var(--deep); color: #fff5f1; }
.letter-actions > label { margin: 18px 0 4px; }
.letter-actions > p { margin: 0 0 10px; }
.letter-actions > p:last-child { margin: 0; }
.letter-actions > .text-button { text-align: left; padding-inline: 0; }
.letter-actions button:disabled { opacity: .55; }
#invite-status:empty { display: none; }
@media (max-width: 600px) {
  .letter-dialog-body { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .postcard-preview { aspect-ratio: auto; height: clamp(148px, 31dvh, 275px); }
  #invite-canvas { width: auto; max-width: 100%; height: 100%; max-height: calc(clamp(148px, 31dvh, 275px) - 20px); }
  .letter-actions > label { margin-top: 12px; }
  .letter-actions > .text-button { min-height: 42px; }
}
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 12px; }
.dialog-head h2 { margin: 0; font: 700 1.35rem/1.4 var(--serif); }
.dialog-head button { flex: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 1.55rem; line-height: 1; cursor: pointer; }
#share-canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: min(51dvh, 620px); margin: 0 auto; border-radius: 5px; box-shadow: 0 5px 13px #3a243025; }
.share-options { min-width: 0; padding: 0; margin: 0; border: 0; }
.share-options legend { font-size: .875rem; font-weight: 700; margin-bottom: 4px; }
.share-options > div { display: flex; gap: 5px; padding: 3px; border: 1px solid #e2cfd7; border-radius: 9px; background: #f3e9ed; }
.share-options label { flex: 1; position: relative; cursor: pointer; font-size: .875rem; font-weight: 700; }
.share-options input { position: absolute; opacity: 0; }
.share-options span { display: grid; place-items: center; min-height: 37px; padding: 4px; border-radius: 6px; }
.share-options input:checked + span { background: var(--deep); color: #fff5ec; }
.share-options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.share-context { display: flex; gap: 8px; align-items: center; min-height: 43px; margin: 3px 0 6px; font-size: .875rem; cursor: pointer; }
.share-context input { accent-color: var(--accent); width: 17px; height: 17px; }
.share-actions { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 15px; }
.share-actions .primary-button { margin-top: 0; }
.text-button { border: 0; background: transparent; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; font-size: .875rem; min-height: 38px; cursor: pointer; }
#share-status { margin: 6px 0 0; color: var(--muted); text-align: center; font-size: .875rem; }
#share-status:empty { display: none; }
.share-copy-fallback { width: 100%; margin: 8px 0 0; padding: 8px; font: inherit; }
button:disabled { cursor: default; }

.noscript { padding-inline: 21px; }

.information { background: #fffaf6; border-block: 1px solid #eadde0; }
.info-inner { display: grid; grid-template-columns: .95fr 1fr; align-items: start; gap: clamp(30px, 7vw, 104px); padding-block: clamp(33px, 5.5vw, 74px); }
.information h2 { font: 700 clamp(1.35rem, 2vw, 1.85rem)/1.45 var(--serif); margin: 0 0 15px; }
.guide p, .faq p { margin-bottom: 12px; color: var(--muted); line-height: 1.86; }
.faq details { border-bottom: 1px solid #e9dde1; }
.faq details:first-of-type { border-top: 1px solid #e9dde1; }
.faq summary { padding: 11px 1px; color: #593b51; cursor: pointer; font-size: .9375rem; font-weight: 650; }
.faq p { margin: 0 0 14px; }
.site-footer { padding-block: 26px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .875rem; }
.site-footer span { font: 700 1rem var(--serif); }
.site-footer a { text-underline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 950px) { .desktop-break { display: none; } }
@media (max-width: 760px) {
  .wrap, .header-inner { width: min(100% - 36px, 540px); }
  .header-inner { min-height: 61px; }
  .brand { gap: 7px; font-size: .94rem; }
  .brand-mark { width: 31px; height: 31px; font-size: 1.3rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 31px 43px; }
  .garden { background-size: cover, auto 690px; background-position: center, 46% top; }
  .card-stage { padding: 14px 18px 5px; }
  .draw-instruction { margin-bottom: 17px; }
  .introduction { padding-top: 0; }
  .eyebrow { margin-bottom: 6px; font-size: .92rem; }
  .introduction h1 { margin-bottom: 10px; font-size: clamp(2.15rem, 7vw, 2.65rem); }
  .introduction h1 br { display: none; }
  .intro-copy { margin-bottom: 0; }
  .intro-meta { border: 0; margin-top: 12px; padding: 0; }
  .reading-tool { border-radius: 17px; }
  .mode-tabs { margin: 11px 11px 0; gap: 4px; padding: 4px; }
  .mode-panel { padding: 17px 11px 11px; }
  .scenarios { margin-bottom: 14px; }
  .info-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 370px) {
  .wrap, .header-inner { width: calc(100% - 26px); }
  .header-inner { gap: 8px; }
  .site-header nav { gap: 10px; }
  .mode-tabs button span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tarot-choice, .card-shell { transition: none; }
}
