
.topbar-date { color: #a7bcd0; font-size: 12px; white-space: nowrap; }
.ritual { --ritual-gold: #d8c4a0; position: relative; padding: 0 8px; }
.ritual a, .ritual button, .ritual summary { -webkit-tap-highlight-color: transparent; }
.ritual :is(a, button, summary):focus-visible { outline: 2px solid var(--ritual-gold); outline-offset: 5px; }
.ritual-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.ritual-date { color: #9db8d4; font-size: 12px; }
.ritual-streak { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 7px 12px; border: 1px solid #d8c4a033; border-radius: 30px; color: var(--ritual-gold); font-size: 12px; }
.ritual-streak .nav-svg { width: 16px; height: 16px; }
.ritual-intro { text-align: center; }
.ritual-eyebrow { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #d8c4a0; }
.ritual-title { margin: 8px 0 10px; font-family: var(--font-display); font-size: clamp(32px, 8vw, 42px); font-weight: 400; line-height: 1.12; text-wrap: balance; }
.ritual-caption { font-size: 13px; line-height: 1.65; color: #aec2d9; text-wrap: balance; }
.ritual-deck { position: relative; height: clamp(240px, 38svh, 330px); max-width: 350px; margin: 15px auto 10px; }
.ritual-choice { --angle: 0deg; --shift: 0px; position: absolute; width: 46%; left: 27%; top: 20px; transform: translateX(var(--shift)) rotate(var(--angle)); transform-origin: 50% 100%; transition: transform 250ms ease, opacity 180ms ease; animation: ritual-deal 500ms both; }
.ritual-choice:first-child { --angle: -15deg; --shift: clamp(-58px, -14vw, -42px); animation-delay: 30ms; }
.ritual-choice:nth-child(2) { z-index: 2; animation-delay: 90ms; }
.ritual-choice:last-child { --angle: 15deg; --shift: clamp(42px, 14vw, 58px); animation-delay: 150ms; }
.ritual-choice button { display: block; width: 100%; padding: 0; border: 1px solid #d8c4a059; border-radius: 13px; background: #090c13; cursor: pointer; box-shadow: 0 16px 32px #0006; overflow: hidden; }
.ritual-choice img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.ritual-choice:focus-within, .ritual-choice:hover { z-index: 3; transform: translateX(var(--shift)) translateY(-14px) rotate(var(--angle)); }
.ritual-choice.is-dismissed { opacity: .2; }
.ritual-choice.is-chosen { z-index: 4; transform: translateY(-14px) rotate(0); }
.ritual-footnote { text-align: center; font-size: 11px; color: #9db8d4; line-height: 1.7; margin-top: 12px; }
.ritual-secondary { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #eef3f919; padding: 19px 0 10px; margin-top: 25px; font-size: 12px; color: #bccde0; }
.ritual-secondary span:last-child { color: #d8c4a0; }
.ritual-reveal { display: block; position: relative; width: min(205px, 48vw); margin: 22px auto 18px; padding: 0; border: 1px solid #d8c4a059; border-radius: 14px; background: #090c13; overflow: hidden; cursor: pointer; box-shadow: 0 18px 50px #0005; transition: transform 200ms ease; }
.ritual-reveal:hover { transform: translateY(-5px); }
.ritual-reveal img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.ritual-reveal span { position: absolute; bottom: 20px; left: 12px; right: 12px; color: #f0e4cf; background: #0a1022ed; border: 1px solid #d8c4a066; border-radius: 25px; padding: 12px 4px; font-size: 12px; }
.ritual-reading { position: relative; min-height: 330px; display: flex; flex-direction: column; padding: 29px 27px 25px; margin: 20px 0; border: 1px solid #d8c4a04d; border-radius: 22px; background: #102c4c; box-shadow: 0 18px 48px #0003; touch-action: pan-y; animation: ritual-open 380ms ease both; }
.ritual-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ritual-number { font-family: var(--font-display); font-size: 34px; color: #d8c4a0; line-height: 1; }
.ritual-card-name { margin: 25px 0 13px; font-family: var(--font-display); font-size: 36px; line-height: 1.1; }
.ritual-meaning { color: #e4ecf5; font-size: 15px; line-height: 1.75; }
.ritual-practice { margin-top: auto; padding-top: 24px; }
.ritual-practice p:last-child { font-size: 13px; line-height: 1.7; margin-top: 7px; color: #c6d5e5; }
.ritual-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ritual-actions button { width: 100%; min-height: 54px; font-size: 13px; cursor: pointer; }
.ritual-actions button:disabled { opacity: .5; cursor: wait; }
.ritual-status { min-height: 25px; margin-top: 12px; font-size: 11px; line-height: 1.6; color: #bdd0e5; text-align: center; }
.ritual-details { margin-top: 13px; font-size: 12px; line-height: 1.7; color: #afc4db; }
.ritual-details summary { cursor: pointer; padding: 13px 0; min-height: 44px; }
.ritual-details p { padding: 0 0 12px; }
.ritual-next { display: block; text-align: center; min-height: 44px; padding: 15px 0 5px; font-size: 12px; color: #c3d3e5; }
@keyframes ritual-deal { from { opacity: 0; transform: translateY(18px) rotate(0); } to { opacity: 1; transform: translateX(var(--shift)) rotate(var(--angle)); } }
@keyframes ritual-open { from { opacity: 0; transform: perspective(900px) rotateY(-12deg) translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ritual *, .ritual *::before { animation: none !important; transition: none !important; } }
@media (min-width: 361px) and (max-height: 740px) { .ritual-deck { height: 280px; } }

/* Today is a daily brief; tarot remains a separate, optional interaction. */
.day-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.day-heading h1 { margin-top: 8px; font: 400 40px/1.15 var(--font-display); }
.day-sign { color: #d8c4a0; font-size: 12px; padding: 14px 0 14px 14px; }
.ritual-actions > a { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 6px; font-size: 12px; text-align: center; }
.ritual-reading { user-select: auto; }
.story-heading { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 20px; }
.story-heading h1 { text-align: center; font: 400 28px/1.3 var(--font-display); }
.story-heading a { padding: 12px 0; color: #bfcede; font-size: 12px; }
.story-preview { display: flex; justify-content: center; margin-bottom: 16px; }
.story-preview canvas { display: block; width: auto; height: min(46svh, 410px); max-width: 100%; aspect-ratio: 9/16; border: 1px solid #d8c4a04d; box-shadow: 0 12px 35px #0003; }
.story-send, .story-download { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 13px; }
.story-send:not([hidden]) + .story-download { color: #d8c4a0; background: transparent; border-color: transparent; margin-top: 4px; }
.story-editor [hidden] { display: none !important; }
.story-status { font-size: 12px; line-height: 1.6; text-align: center; color: #d8c4a0; }
.story-status:not(:empty) { margin: 12px 0; }
.story-link { justify-content: center; width: 100%; }
:is(.day-deck, .story-editor) :is(a, button, summary):focus-visible { outline: 2px solid #d8c4a0; outline-offset: 4px; }

/* The daily brief is a deck: one thought on one framed card. */
.day-deck { padding: 0 6px; }
.day-deck .day-heading { margin-bottom: 16px; min-height: 44px; }
.day-slide { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: clamp(365px, 53svh, 485px); padding: 26px; margin: 0; border: 1px solid #c4a57470; border-radius: 24px; background: #102944; box-shadow: 0 20px 48px #0003, inset 0 1px 0 #fff1; touch-action: pan-y; animation: ritual-open 260ms ease both; }
.day-slide::after { content: ""; position: absolute; inset: 7px; border: 1px solid #c4a57420; border-radius: 18px; pointer-events: none; z-index: -1; }
.day-slide-sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; z-index: -1; pointer-events: none; }
.day-slide-art { width: 96px; height: 96px; margin: 0 -12px 22px; }
.day-deck .ritual-date { font-size: 13px; }
.zodiac-art { display: block; width: 120px; height: 120px; object-fit: contain; }
.day-slide-art svg, .day-slide-art .zodiac-art { width: 100%; height: 100%; }
.day-slide-tarot { width: 60px; height: 90px; border: 1px solid #d8c4a066; border-radius: 6px; object-fit: cover; margin-left: 15px; }
.day-slide-copy h2 { margin: 0; font: 400 clamp(29px, 8vw, 36px)/1.13 var(--font-display); margin: 0; text-wrap: balance; }
.day-slide-body { font-size: 15px; line-height: 1.8; color: #d3dfec; margin-top: 18px; }
.day-details-trigger { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 48px; margin-top: 24px; border: 1px solid #d8c4a040; border-radius: 28px; color: #d8c4a0; font-size: 14px; cursor: pointer; }
.day-details-trigger:hover { background: #d8c4a00d; }
.day-detail-dialog { position: fixed; inset: 0; margin: auto; padding: 0; width: min(calc(100% - 32px), 420px); max-height: calc(100dvh - 48px); overflow-y: auto; color: #e4ecf5; background: #102944; border: 1px solid #c4a57480; border-radius: 24px; box-shadow: 0 24px 80px #0006; }
.day-detail-dialog::backdrop { background: #040d1bcc; }
.day-detail-panel { padding: 56px 28px 32px; }
.day-detail-panel h2 { font: 400 30px/1.2 var(--font-display); margin: 0 0 22px; }
.day-detail-panel p { font-size: 15px; line-height: 1.8; color: #d3dfec; }
.day-detail-panel p + p { margin-top: 20px; }
.day-detail-close { position: absolute; top: 9px; right: 9px; width: 44px; height: 44px; display: grid; place-items: center; color: #d8c4a0; font-size: 28px; border-radius: 50%; cursor: pointer; }
.day-detail-close:hover { background: #d8c4a010; }
body:has(.day-detail-dialog[open]) { overflow: hidden; }
.day-slide-subtitle { color: #d8c4a0; font: 400 23px/1.2 var(--font-display); margin-top: 12px; }
.day-slide-foot { display: flex; align-items: center; justify-content: center; gap: 11px; margin-top: auto; padding-top: 27px; color: #c4a574; font-size: 13px; }
.day-slide-foot span { width: 32px; height: 1px; background: #c4a57455; }
.day-deck-controls { display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: center; gap: 8px; margin-top: 16px; }
.day-deck-step { display: flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid #d8c4a055; border-radius: 28px; color: #e8dcc5; font-size: 14px; }
.day-deck-step:hover { background: #d8c4a010; }
.day-deck-next { color: #102944; background: #d8c4a0; border-color: #d8c4a0; }
.day-deck-next:hover { background: #e3cfac; }
.day-position { text-align: center; color: #a7bcd0; font-size: 11px; letter-spacing: .06em; margin-top: 12px; }
.day-card-actions { position: absolute; top: 29px; right: 22px; display: flex; align-items: center; gap: 4px; }
.day-card-actions .bookmark-control { position: static; }
.day-card-actions .bookmark-button { width: 44px; height: 44px; border: 0; background: transparent; }
.day-card-actions .bookmark-button.is-saved { color: #e4c78f; background: transparent; }
.day-share-button { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 48px; padding: 0 6px; border: 1px solid #d8c4a044; border-radius: 24px; color: #d8c4a0; font-size: 13px; }
.day-share-button:hover { background: #d8c4a010; }
.bookmark-button .nav-svg { width: 24px; height: 24px; }
.bookmark-button.is-saved .nav-svg path { fill: currentColor; }
.day-card-actions :is(a, button):hover { background: #d8c4a010; }
.day-save-status { text-align: center; color: #d8c4a0; font-size: 12px; line-height: 1.6; }
.day-save-status:not(:empty) { padding: 8px 0; }
.day-tarot-action { display: flex; align-items: center; justify-content: center; min-height: 56px; margin-top: 24px; font-size: 16px; }
.day-pair-action { margin-top: 16px; }
.day-deck :is(a, button):focus-visible { outline: 2px solid #d8c4a0; outline-offset: 4px; }
@media (max-width: 360px), (max-height: 750px) { .day-deck .day-heading { margin-bottom: 15px; } .day-deck .day-heading h1 { font-size: 34px; } .day-slide { padding: 23px; min-height: 365px; } .day-slide-art, .day-slide-art svg { width: 78px; height: 78px; } .day-slide-art { margin: 9px -12px 12px; } .day-slide-tarot { width: 48px; height: 72px; } .day-slide-body { font-size: 14px; line-height: 1.75; } .day-deck-controls { margin-top: 16px; gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .day-slide { animation: none; } }
.day-text-action { display: inline-flex; align-items: center; min-height: 44px; color: #d8c4a0; font-size: 12px; cursor: pointer; }

/* Start with a personal day; email confirmation never blocks first use. */
.entry-page { padding: 22px 4px 0; }
.entry-brand { display: block; font: 400 28px/1.3 var(--font-display); color: #d8c4a0; margin-bottom: 28px; text-align: center; }
.entry-heading { margin-bottom: 24px; text-align: center; }
.entry-heading h1, .entry-panel h1 { font: 400 36px/1.15 var(--font-display); margin-bottom: 12px; }
.entry-heading p, .entry-caption { font-size: 13px; line-height: 1.7; color: #afc4db; }
.entry-fields { padding: 23px; display: flex; flex-direction: column; gap: 20px; }
.entry-submit { margin-top: 20px; min-height: 50px; cursor: pointer; }
.entry-login { margin-top: 22px; text-align: center; font-size: 12px; color: #d8c4a0; }
.entry-login a { display: inline-flex; align-items: center; min-height: 44px; }
.entry-precise summary, .entry-legacy summary { cursor: pointer; font-size: 12px; line-height: 1.8; min-height: 44px; padding-block: 10px; color: #c8d6e5; }
.entry-precise summary span { color: #94abc3; font-size: 10px; }
.entry-precise-fields { display: grid; gap: 18px; margin-top: 15px; }
.entry-legacy { margin-top: 20px; }
.entry-panel { padding: 30px 25px; display: grid; gap: 20px; }
.entry-errors { color: #fecaca; background: #7f1d1d44; border: 1px solid #fecaca33; border-radius: 16px; padding: 13px 16px; margin-bottom: 18px; font-size: 13px; }
.entry-page :is(a, button, input, summary, select):focus-visible { outline: 2px solid #d8c4a0; outline-offset: 3px; }
@media (max-width: 360px) { .entry-page { padding-inline: 0; } .entry-fields { padding: 18px; } .entry-heading h1 { font-size: 32px; } }

/* Personal reading and saved materials. */
.bookmark-control { position: absolute; top: 74px; right: 22px; }
.bookmark-button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #d8c4a04d; border-radius: 50%; color: #d8c4a0; cursor: pointer; background: #10294499; transition: background 180ms, transform 180ms; }
.bookmark-button span { font-size: 25px; line-height: 1; }
.bookmark-button.is-saved { background: #d8c4a0; color: #102944; animation: save-heart 240ms ease both; }
.bookmark-button:active { transform: scale(.93); }
.day-details { margin-top: 15px; color: #c5d5e5; font-size: 13px; line-height: 1.8; }
.day-details > summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 12px; list-style: none; color: #d8c4a0; cursor: pointer; }
.day-details summary::-webkit-details-marker { display: none; }
.day-details summary span { transition: transform 180ms; }
.day-details[open] summary span { transform: rotate(45deg); }
.day-details > div { border-top: 1px solid #d8c4a033; padding: 14px 0 4px; animation: ritual-open 180ms ease both; }
.day-details .day-detail-label { color: #d8c4a0; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; margin: 12px 0 6px; }
.day-details .day-detail-label:first-child { margin-top: 0; }
.day-collection-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 8px; font-size: 11px; color: #b3c6d9; }
.day-collection-row a { display: inline-flex; align-items: center; min-height: 44px; }
.day-collection-row #save-status:not(:empty) { color: #d8c4a0; }
.collection-page { padding: 8px 0 24px; }
.collection-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.collection-heading h1 { font: 400 clamp(31px, 8vw, 42px)/1.2 var(--font-display); margin-top: 9px; }
.collection-heading > a { color: #d8c4a0; font-size: 11px; min-height: 44px; display: flex; align-items: center; }
.collection-tabs { display: flex; gap: 24px; border-bottom: 1px solid #d8c4a030; margin-bottom: 20px; }
.collection-tabs a { font-size: 12px; padding: 12px 0 15px; color: #a9bed3; min-height: 44px; }
.collection-tabs a[aria-current="page"] { color: #ead7b5; border-bottom: 2px solid #d8c4a0; }
.collection-status:not(:empty) { padding: 10px 0; font-size: 12px; color: #d8c4a0; }
.collection-empty { padding: 42px 10px; text-align: center; }
.collection-empty > span { font: 400 48px/1.3 Georgia, serif; color: #d8c4a0; }
.collection-empty h2 { font: 400 29px/1.3 var(--font-display); margin: 20px auto 12px; max-width: 310px; text-wrap: balance; }
.collection-empty p { font-size: 13px; line-height: 1.8; color: #b7cbdf; max-width: 310px; margin: auto; }
.collection-entry { padding: 25px 0; border-bottom: 1px solid #d8c4a02e; }
.collection-entry h2 { font: 400 26px/1.2 var(--font-display); margin-top: 15px; }
.collection-body { color: #d9e3ee; font-size: 15px; line-height: 1.8; margin: 15px 0 3px; overflow-wrap: anywhere; }
.legacy-entry { white-space: pre-line; }
.collection-entry-actions { display: flex; justify-content: space-between; gap: 20px; margin-top: 10px; }
.collection-entry-actions form button { color: #a9bed3; }
.journal-compose { display: grid; gap: 14px; margin: 25px 0; }
.journal-compose textarea { resize: vertical; }
.collection-section-title { font: 400 28px/1.3 var(--font-display); margin: 32px 0 12px; }
.story-formats { justify-content: center; margin: -3px 0 20px; }
.micro-lesson { margin-top: 24px; padding-top: 7px; border-top: 1px solid #d8c4a033; }
.micro-lesson > summary { min-height: 60px; display: flex; justify-content: space-between; align-items: center; list-style: none; font: 400 25px/1.3 var(--font-display); cursor: pointer; }
.micro-lesson > summary::-webkit-details-marker { display: none; }
.micro-lesson summary small { display: block; font: 11px/1.8 var(--font-sans); color: #9db5ce; margin-top: 3px; }
.micro-lesson summary > span:last-child { color: #d8c4a0; font-size: 16px; }
.micro-lesson-body { padding-top: 15px; font-size: 13px; line-height: 1.8; color: #d2dfed; }
.micro-lesson-body > p + p { margin-top: 14px; }
.micro-lesson-options { display: grid; gap: 10px; margin-top: 20px; }
.micro-choice { width: 100%; min-height: 48px; text-align: left; padding: 12px 17px; color: #d8c4a0; border: 1px solid #d8c4a050; border-radius: 14px; cursor: pointer; background: #10294488; }
.micro-choice:hover { background: #d8c4a01a; }
.micro-progress { color: #d8c4a0; font-size: 11px; margin: 16px 0; }
.share-story { position: relative; isolation: isolate; overflow: hidden; border-color: #d8c4a077; background: #102944; }
.public-sign-art { width: 96px; height: 96px; margin: 20px 0; }
.public-sign-art :is(img, svg) { width: 100%; height: 100%; object-fit: contain; }
.public-card-art { margin-top: 24px; border-radius: 6px; border: 1px solid #d8c4a077; }
.collection-page :is(a, button, summary):focus-visible, .micro-lesson :is(button, summary):focus-visible { outline: 2px solid #d8c4a0; outline-offset: 4px; }
@keyframes save-heart { from { transform: scale(.87); } 65% { transform: scale(1.08); } to { transform: scale(1); } }
@media (max-width: 360px) { .day-collection-row { font-size: 10px; } .collection-heading { gap: 8px; } .collection-heading > a { max-width: 75px; line-height: 1.6; } }
@media (prefers-reduced-motion: reduce) { .bookmark-button, .day-details summary span { transition: none; } .bookmark-button.is-saved, .day-details > div { animation: none; } }
.reminder-time { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 18px; font-size: 12px; color: #afc4db; }
.reminder-time select { min-height: 44px; padding: 8px 12px; color: #d8c4a0; background: #102944; border: 1px solid #d8c4a055; border-radius: 12px; }

/* Daily tarot keeps the same card and detail interaction as the daily brief. */
.tarot-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px; color: #bccde0; font-size: 13px; }
.tarot-flow .ritual-caption { text-align: center; }
.tarot-result-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tarot-result-header .bookmark-control { position: static; }
.tarot-result-header .bookmark-button { border: 0; background: transparent; color: #d8c4a0; }
.tarot-result-copy { margin: auto 0; padding: 12px 0; }
.tarot-result .ritual-card-name { margin: 20px 0 18px; font-size: clamp(34px, 9vw, 42px); }
.tarot-result .day-details-trigger { margin-top: 26px; }
.tarot-result-actions { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; margin-top: 16px; }
.tarot-detail-subtitle { margin-top: 24px; font-size: 14px; color: #d8c4a0; }
.tarot-detail-subtitle + p { margin-top: 10px; }
.day-greeting { font: 400 25px/1.25 var(--font-display); margin: 2px 0 17px; overflow-wrap: anywhere; }
.day-deck-controls { grid-template-columns: 56px minmax(0, 1fr) 56px; }
.day-deck-arrow { min-height: 52px; }
.day-deck-arrow .nav-svg { width: 26px; height: 26px; }
.day-share-button { display: flex; align-items: center; justify-content: center; gap: 9px; }
.day-share-button .nav-svg { width: 19px; height: 19px; flex-shrink: 0; }
.more-home { padding: 8px 6px; }
.more-profile { display: flex; align-items: center; gap: 10px; margin: 8px 0 28px; }
.more-identity { display: flex; align-items: center; gap: 13px; min-width: 0; flex: 1; min-height: 60px; }
.more-avatar { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border: 1px solid #d8c4a044; border-radius: 50%; background: #102944; color: #d8c4a0; font: 26px var(--font-display); }
.more-name { font: 29px/1.2 var(--font-display); overflow-wrap: anywhere; }
.more-identity .nav-svg { width: 16px; height: 16px; color: #9db8d4; flex-shrink: 0; }
.more-settings { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; color: #d8c4a0; border-radius: 50%; }
.more-settings .nav-svg { width: 24px; height: 24px; }
.more-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.more-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 22px 18px; min-height: 130px; border: 1px solid #d8c4a033; border-radius: 22px; background: #102944dd; color: #eee7d9; font-size: 14px; }
.more-tile .nav-svg { width: 28px; height: 28px; color: #d8c4a0; }
.more-sections { margin-top: 28px; }
.more-row { display: flex; align-items: center; gap: 16px; min-height: 72px; border-bottom: 1px solid #d8c4a020; font-size: 15px; }
.more-row > .nav-svg { width: 24px; height: 24px; color: #d8c4a0; flex-shrink: 0; }
.more-row > span { flex: 1; }
.more-row > .nav-svg:last-child { width: 18px; height: 18px; color: #91a9c1; }
.more-home a:hover { background-color: #d8c4a00b; }
.more-home a:focus-visible { outline: 2px solid #d8c4a0; outline-offset: 4px; }
.today-heading { display: flex; align-items: baseline; gap: 14px; justify-content: space-between; margin: 2px 0 18px; }
.today-heading h1 { font: 400 30px/1.2 var(--font-display); }
.today-heading p { color: #a7bcd0; font-size: 13px; overflow-wrap: anywhere; text-align: right; }
.story-heading { grid-template-columns: 48px 1fr 48px; margin-bottom: 12px; }
.story-heading .story-back { display: grid; place-items: center; min-height: 48px; padding: 0; border-radius: 50%; }
.story-back .nav-svg { width: 26px; height: 26px; }
.sharing-page main { padding-bottom: 24px; }
.sharing-page .story-preview canvas { height: min(58svh, 550px); max-width: 100%; }
.story-other { margin-top: 12px; text-align: center; color: #a7bcd0; font-size: 12px; }
.story-other summary { cursor: pointer; min-height: 44px; padding: 12px; list-style: none; }
.story-other summary::-webkit-details-marker { display: none; }

/* Content has its own warm ink and engraving, separate from the blue app shell. */
.day-slide { background: #302838; border-color: #c4a57466; }
.day-slide-sky { opacity: .65; }
.day-slide-body, .tarot-result .ritual-meaning { color: #e7dfe7; }
.day-detail-dialog { background: #302838; color: #eee7ed; }
.day-detail-panel p { color: #ddd3df; }
.daily-brief { padding: 0 2px; }
.today-page .today-heading { display: block; position: relative; margin: 0 10px 22px; }
.today-page .today-heading h1 { font: 400 clamp(34px, 9vw, 42px)/1.15 var(--font-display); }
.today-heading h1 a { display: inline-flex; min-height: 44px; align-items: center; }
.today-page .today-heading p { margin-top: 4px; text-align: left; color: #b7c6d9; font-size: 15px; }
.brief-card { position: relative; min-height: 0; margin: 0 0 12px; padding: 22px 24px 8px; border-radius: 18px; border: 1px solid #b99c6f66; box-shadow: none; overflow: hidden; scroll-margin-top: 76px; }
.brief-card::after { display: none; }
.brief-card.day-horoscope { background: #362b3e; }
.brief-card.brief-tarot { background: var(--content-tarot); }
.brief-card.day-person { background: var(--content-pair); }
.brief-card.brief-moon { background: #183b54; }
.brief-card .day-slide-sky { border-radius: inherit; opacity: .65; width: 100%; height: 100%; object-fit: cover; }
.brief-card:not(.day-horoscope) .day-slide-sky { opacity: .58; }
.brief-reading { position: relative; text-align: left; display: block; width: 100%; cursor: pointer; border-radius: 8px; color: inherit; padding: 0; border: 0; background: transparent; }
.brief-copy { display: block; min-width: 0; }
.brief-category { display: block; color: #d6cbd2; font-size: 10px; line-height: 1.5; letter-spacing: .075em; text-transform: uppercase; margin-bottom: 8px; }
.brief-card h2 { font: 400 27px/1.12 var(--font-display); margin: 0; text-wrap: pretty; }
.brief-card .day-slide-body { margin: 12px 0 0; font-size: 14px; line-height: 1.55; color: #eee8ef; }
.brief-zodiac { position: absolute; right: -4px; top: -6px; width: 66px; height: 70px; }
.brief-zodiac img { width: 100%; height: 100%; object-fit: contain; }
.day-horoscope .brief-category, .day-horoscope h2 { padding-right: 68px; }
.day-horoscope .day-slide-body { max-width: 245px; }
.brief-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; min-height: 44px; }
.brief-footer .bookmark-control { position: static; margin: 0 -8px 0 0; }
.brief-footer .bookmark-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; color: #eee8df; background: transparent; border: 0; border-radius: 50%; }
.brief-footer .bookmark-button.is-saved { color: #e4c68a; }
.brief-footer .bookmark-button .nav-svg { width: 24px; height: 24px; }
.brief-card .brief-share { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 0; color: #eee8df; font-size: 12px; background: transparent; border: 0; border-radius: 4px; }
.brief-share .nav-svg { width: 20px; height: 20px; }
.brief-share:hover { text-decoration: underline; text-underline-offset: 4px; }
.brief-card :is(a,button):focus-visible { outline: 2px solid #e4c68a; outline-offset: 4px; }
.brief-tarot-open .brief-reading { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 18px; align-items: center; }
.brief-tarot-image { display: block; width: 148px; height: auto; margin: 6px auto 24px; border-radius: 5px; }
.brief-tarot-open .brief-tarot-image { width: 96px; height: 144px; object-fit: contain; margin: 0; border-radius: 5px; }
.brief-tarot-open .brief-category { letter-spacing: 0; text-transform: none; font-size: 11px; }
.brief-tarot:not(.brief-tarot-open) { padding-bottom: 22px; }
.brief-tarot:not(.brief-tarot-open) h2 { font-size: 22px; }
.brief-card .brief-choice-prompt { margin-top: 5px; }
.brief-deck { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; max-width: 274px; margin: 16px auto 4px; padding: 4px; }
.brief-choice { display: block; width: 100%; border-radius: 5px; overflow: hidden; border: 1px solid #dfbb6e88; cursor: pointer; background: #08213b; box-shadow: 0 5px 10px #0003; }
.brief-choice img { display: block; width: 100%; height: auto; }
.brief-deck form:first-child { transform: rotate(-8deg) translateY(4px); }
.brief-deck form:last-child { transform: rotate(8deg) translateY(4px); }
.brief-choice:disabled { opacity: .5; }
.brief-moon-image { position: absolute; top: -4px; right: -10px; width: 86px; height: 86px; object-fit: contain; }
.brief-moon h2 { padding-right: 74px; }
.brief-moon .day-slide-body { padding-right: 60px; }
.brief-share-dialog { background: #0b203e; width: min(calc(100% - 20px), 430px); padding: 14px; }
.brief-share-dialog .story-preview canvas { height: min(52svh, 470px); }
.brief-share-dialog .story-heading h1 { font-size: 25px; }
.topbar-calendar { display: flex; align-items: center; min-height: 44px; margin: -8px 0; padding: 0 4px; }
#today-tarot { display: block; scroll-margin-top: 76px; }
@media (max-width: 360px) {
  .brief-card { padding-left: 18px; padding-right: 18px; }
  .brief-tarot-open .brief-reading { grid-template-columns: 80px minmax(0,1fr); gap: 14px; }
  .brief-tarot-open .brief-tarot-image { width: 80px; height: 120px; }
}

.brief-header-art { position: absolute; right: -12px; top: -12px; width: 140px; height: 94px; object-fit: contain; opacity: .6; pointer-events: none; z-index: 0; }
.today-page .today-heading h1, .today-page .today-heading p { position: relative; z-index: 1; }

/* The reading continues in a themed sheet, with an explicit entry point. */
.brief-read-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 36px; font-size: 12px; color: #e4c68a; }
.brief-read-more .nav-svg { width: 17px; height: 17px; }
.brief-reading:hover .brief-read-more { text-decoration: underline; text-underline-offset: 4px; }
.reading-sheet { width: min(calc(100% - 24px), 480px); max-height: 86dvh; }
.reading-sheet--horoscope { background: #362b3e; }
.reading-sheet--tarot { background: var(--content-tarot); }
.reading-sheet--pair { background: var(--content-pair); }
.reading-sheet--moon { background: #183b54; }
.reading-sheet .day-detail-panel { position: relative; isolation: isolate; padding: 48px 24px 28px; }
.reading-sheet-art { position: absolute; inset: 0 0 auto; width: 100%; height: 250px; object-fit: cover; opacity: .28; z-index: -1; pointer-events: none; border-radius: 24px 24px 0 0; }
.reading-sheet .day-detail-close { position: sticky; top: 0; float: right; margin: -40px -16px 0 0; z-index: 3; background: inherit; }
.reading-sheet-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.reading-sheet-heading > div { min-width: 0; }
.reading-sheet .reading-sheet-heading h2 { margin: 4px 0 0; font-size: 29px; outline: none; }
.reading-sheet .reading-sheet-date { font-size: 11px; margin: 0; color: #cbbd9e; }
.reading-sheet-card { width: 68px; height: 102px; object-fit: contain; border-radius: 4px; flex-shrink: 0; }
.reading-sheet-moon, .reading-sheet-zodiac { width: 72px; height: 72px; object-fit: contain; flex-shrink: 0; }
.reading-sheet-zodiac img { width: 100%; height: 100%; object-fit: contain; }
.reading-sheet .day-detail-panel > p { font-size: 15px; line-height: 1.75; color: #e5e5eb; }
.reading-sheet h3 { margin: 26px 0 10px; font: 400 22px/1.25 var(--font-display); color: #f0e6d1; }
.reading-question { padding: 18px 0 0; margin-top: 24px; border-top: 1px solid #dac59644; font: 400 22px/1.4 var(--font-display); color: #eed7a6; }
.reading-sheet .reading-source { margin-top: 22px; font-size: 11px; line-height: 1.5; color: #a9b7cf; }
.reading-source a { text-decoration: underline; text-underline-offset: 3px; }
.reading-reflection { margin-top: 26px; padding-top: 22px; border-top: 1px solid #dac59644; }
.reflection-question { display: block; margin-bottom: 14px; font: 400 23px/1.35 var(--font-display); color: #eed7a6; }
.reading-reflection textarea { width: 100%; min-height: 96px; background: #081e2899; color: #eef0f4; border: 1px solid #c6b08677; border-radius: 12px; padding: 14px; font-size: 15px; }
.reading-reflection .reflection-privacy, .reading-reflection .reflection-status { font-size: 12px; line-height: 1.6; color: #bfcbd1; margin: 10px 0 16px; }
.reading-reflection h3 { margin-top: 0; }
.reflection-answer { white-space: pre-wrap; }
.reading-journal-link { display: inline-flex; align-items: center; min-height: 44px; color: #eed7a6; text-decoration: underline; }
@media (max-width: 600px) {
  .reading-sheet { margin: auto 0 0; width: 100%; max-height: 88dvh; border-radius: 24px 24px 0 0; border-bottom: 0; }
  .reading-sheet .day-detail-panel { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  .reading-sheet { inset: auto 0 0; margin: 0; width: 100vw; max-width: 100vw; box-sizing: border-box; }
}

/* Mobile polish: clear controls, readable copy, a consistent content grid. */
.daily-brief { padding: 0; }
.today-page .today-heading { margin-left: 0; margin-right: 0; margin-bottom: 24px; min-height: 90px; padding: 4px 8px 0; }
.brief-header-art { width: 190px; height: 128px; right: -12px; top: -18px; opacity: .85; }
.today-page .today-heading h1 { font-size: clamp(36px, 10vw, 44px); }
.today-page .today-heading p { font-size: 16px; margin-top: 7px; }
.brief-card { padding: 24px 22px 12px; margin-bottom: 16px; border-radius: 22px; }
.brief-reading { cursor: default; }
.brief-card h2 { font-size: 30px; line-height: 1.15; }
.brief-card .day-slide-body { font-size: 16px; line-height: 1.6; margin-top: 14px; }
.brief-category, .brief-tarot-open .brief-category { font-size: 12px; }
.day-horoscope .day-slide-body { max-width: none; }
.brief-zodiac { top: 0; right: 0; width: 62px; height: 66px; }
.brief-card .brief-read-more { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 12px 16px; margin-top: 20px; border: 1px solid #d8c4a066; border-radius: 14px; background: #d8c4a019; color: #f0dfbd; font: 400 15px/1.4 var(--font-body); cursor: pointer; text-decoration: none; }
.brief-card .brief-read-more .nav-svg { width: 20px; height: 20px; }
.brief-card .brief-read-more:hover { background: #d8c4a02b; text-decoration: none; }
.brief-card .brief-read-more:active { background: #d8c4a03d; }
.brief-footer { margin-top: 8px; }
.brief-card .brief-share { font-size: 14px; }
.brief-footer .bookmark-control { margin-right: -10px; }
.brief-tarot-open .brief-reading { grid-template-columns: 88px minmax(0,1fr); gap: 18px; }
.brief-tarot-open .brief-tarot-image { width: 88px; height: 132px; }
.brief-moon h2 { min-height: 62px; display: flex; align-items: center; padding-right: 76px; }
.brief-moon .day-slide-body { padding-right: 0; }
.brief-moon-image { right: -4px; top: -6px; width: 78px; height: 78px; }
.brief-card.brief-moon .day-slide-sky, .reading-sheet--moon .reading-sheet-art { mix-blend-mode: luminosity; opacity: .32; }
.reading-sheet .day-detail-panel > p, .reading-sheet .day-detail-panel p:not(.reading-sheet-date):not(.reading-source):not(.reflection-privacy):not(.reflection-status) { font-size: 16px; line-height: 1.7; }
.reading-sheet .reading-sheet-date { font-size: 13px; }
@media (max-width: 360px) {
  .brief-card { padding-left: 18px; padding-right: 18px; }
  .brief-card h2 { font-size: 28px; }
  .brief-tarot-open .brief-reading { grid-template-columns: 76px minmax(0,1fr); gap: 14px; }
  .brief-tarot-open .brief-tarot-image { width: 76px; height: 114px; }
}

/* A daily edition: finished horoscope, interactive Tarot, people, lunar context. */
.brief-card .brief-footer { margin-top: 20px; gap: 10px; }
.edition-details { min-width: 86px; min-height: 46px; padding: 10px 16px; background: #decba9; border: 0; border-radius: 24px; color: #172638; font: 500 14px/1.3 var(--font-body); cursor: pointer; }
.edition-details:hover { background: #eadaba; }
.edition-details:active { transform: scale(.97); }
.brief-card .brief-footer .brief-share { margin-left: auto; gap: 7px; font-size: 13px; }
.brief-footer .bookmark-control { flex-shrink: 0; }
.edition-tarot-advice { margin-top: 20px; font-size: 16px; line-height: 1.6; color: #e9e9df; }
.edition-tarot-advice > span { display: block; margin-bottom: 6px; color: #ddc797; font-size: 12px; }
.day-person h2 { font-size: 25px; }
.brief-card.brief-moon { padding: 16px; border-color: #8eaab333; border-radius: 18px; }
.edition-moon { display: grid; grid-template-columns: 60px minmax(0,1fr) 18px; gap: 12px; align-items: center; width: 100%; text-align: left; background: none; color: inherit; cursor: pointer; }
.edition-moon > img { width: 60px; height: 60px; object-fit: contain; }
.brief-moon .edition-moon h2 { min-height: 0; padding: 0; font-size: 23px; margin-bottom: 6px; }
.edition-moon-context { display: block; font-size: 13px; line-height: 1.45; color: #c9d9e6; }
.edition-moon > .nav-svg { width: 18px; height: 18px; color: #d7c299; }
.brief-deck form { transition: transform 180ms ease, opacity 180ms ease; }
.brief-deck form.is-chosen { transform: translateY(-8px); }
.brief-deck form.is-dismissed { opacity: .25; transform: scale(.95); }
.edition-reflection { margin-top: 24px; border-top: 1px solid #dac59644; }
.edition-reflection > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 54px; color: #ead6b2; cursor: pointer; }
.edition-reflection > summary::-webkit-details-marker { display: none; }
.edition-reflection > summary .nav-svg { width: 20px; height: 20px; }
.edition-reflection .reading-reflection { border-top: 0; padding-top: 0; margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .brief-deck form { transition: none; } }

.edition-tarot-invite { display: flex; gap: 20px; align-items: center; margin: 16px 0 10px; }
.edition-tarot-invite > img { width: 72px; height: 108px; border-radius: 6px; transform: rotate(-7deg); flex-shrink: 0; }
.edition-tarot-invite .day-slide-body { font-size: 16px; margin-bottom: 16px; }
.edition-tarot-invite .edition-details { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.day-horoscope .brief-footer .brief-share { margin-left: 0; }
.day-horoscope .brief-footer > :last-child { margin-left: auto; }

/* Rich daily reading: supporting thoughts stay within the illustrated surface. */
.day-horoscope.brief-card { background-color: var(--content-horoscope); border-color: #d6b58c66; }
.day-horoscope .day-slide-sky { opacity: .35; }
.day-horoscope .edition-observations { margin-top: 24px; padding: 0; }
.edition-observations article { position: relative; padding: 15px 0 14px 18px; border-top: 1px solid #e3cba630; }
.edition-observations article::before { content: '✦'; position: absolute; left: 0; top: 19px; font-size: 10px; color: #dfbf87; }
.edition-observations h2 { font: 500 12px/1.4 var(--font-body); color: #edce9d; margin: 0 0 7px; }
.edition-observations p { font-size: 15px; line-height: 1.6; color: #f0e5e5; margin: 0; }
.edition-observations .brief-share { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 12px; color: #d4bdaf; }
.edition-observations .brief-share svg { width: 16px; height: 16px; }
.brief-card.day-horoscope .brief-footer { margin-top: 6px; padding-top: 14px; border-top: 1px solid #e3cba630; flex-wrap: wrap; }
.day-horoscope .edition-details { min-width: 0; padding: 12px 14px; font-size: 13px; }
.brief-card.day-horoscope .brief-footer .brief-share { margin-left: auto; }
.brief-card.brief-moon { padding: 28px 22px 14px; border-radius: 22px; background-color: var(--content-moon); border-color: #a9bec866; }
.brief-moon .lunar-reading { position: relative; padding-top: 8px; }
.brief-moon .brief-moon-image { width: 104px; height: 104px; top: -16px; right: -4px; filter: drop-shadow(0 5px 18px #9cbcd326); }
.brief-moon .edition-moon-title { font: 400 30px/1.15 var(--font-display); color: #f0ede5; padding-right: 108px; min-height: 44px; }
.lunar-context { padding-right: 100px; font-size: 12px; line-height: 1.5; color: #b5ccd9; margin: 8px 0 20px; }
.brief-card.brief-moon .day-slide-body { margin-top: 16px; }
@media (max-width: 360px) { .day-horoscope .edition-details { padding: 10px; font-size: 12px; } .brief-card.day-horoscope .brief-footer { gap: 5px; } }
.edition-observations article { padding-right: 28px; }
.edition-observations .brief-share { position: absolute; top: 5px; right: -10px; justify-content: center; width: 44px; }
.edition-observations .brief-share span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
a.edition-details { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
@media (prefers-reduced-motion: no-preference) { @keyframes forecast-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } }
.brief-card.day-person h2 { padding-right: 78px; min-height: 64px; }
.brief-zodiac { width: 76px; height: 80px; }
.day-horoscope h2 { padding-right: 74px; }
.brief-tarot-open .brief-reading { grid-template-columns: 100px minmax(0, 1fr); }
.brief-tarot-open .brief-tarot-image { width: 100px; height: 150px; }
.tarot-result { background-color: #183238; }
.section-cover { position: relative; isolation: isolate; min-height: 190px; padding: 30px 24px; overflow: hidden; border: 1px solid #b8c4c733; border-radius: 24px; background: #183238; }
.section-cover--pair { background: #352b3c; }
.section-cover-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .48; z-index: -1; }
.section-cover h1 { font: 400 40px/1.15 var(--font-display); color: #f3e9d9; margin: 0 0 14px; }
.section-cover p { max-width: 200px; font-size: 16px; line-height: 1.6; color: #d4dce4; }
.section-cover--tarot { padding-right: 116px; }
.section-cover-tarot { position: absolute; right: 20px; top: 25px; width: 88px; height: 132px; transform: rotate(9deg); border-radius: 5px; }
.section-home .nav-svg { width: 24px; height: 24px; flex-shrink: 0; color: #decba9; }
.section-home > .section-cover { margin-bottom: 24px; }
.more-profile { position: relative; background: linear-gradient(#152a40b3, #152a40db), url("/artwork/brief-moon-v1.webp") center/cover; padding: 24px 18px; border: 1px solid #b8c4c733; border-radius: 24px; }
.brief-share-dialog { background: #17283f; border-color: #d4c09a66; }
.edition-details:focus-visible { outline: 2px solid #f0dcad; outline-offset: 4px; }

.spread-card { background: linear-gradient(#183238d9, #183238ed), url("/artwork/brief-tarot-v1.webp") center/cover; border-color: #b8c4c744; border-radius: 22px; }
.spread-card-art { display: block; width: 120px; height: 180px; object-fit: contain; margin: 0 auto 22px; border-radius: 6px; }
.spread-card p { font-size: 16px; line-height: 1.7; }
.pair-reading-cover { padding: 24px; background: linear-gradient(#352b3c80, #352b3ccc), url("/artwork/brief-pair-v1.webp") center/cover; border-radius: 24px; text-align: center; }
.pair-reading-cover p { font-size: 16px; line-height: 1.65; }
.pair-reading-card { background: linear-gradient(#352b3ce6, #352b3ced), url("/artwork/brief-pair-v1.webp") center/cover; border-color: #c9b4a344; }
.reading-sheet-copy > p:first-child {
  color: #f0e9e2;
  font-size: 19px;
  line-height: 1.72;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes reading-art-enter { from { opacity: .45; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
  @keyframes reading-copy-enter { from { opacity: .72; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* Today is one personal edition: a lead story, a ritual, people, then lunar context. */
.today-page .daily-brief { padding-bottom: 18px; }
.today-page .today-heading {
  min-height: 126px;
  margin: 0 2px 12px;
  padding: 18px 8px 0;
}
.today-page .today-heading p {
  margin: 0 0 2px;
  color: #b9c8d8;
  font-size: 15px;
}
.today-page .today-heading h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(44px, 13vw, 58px);
  letter-spacing: -.035em;
}
.today-page .brief-header-art {
  top: -11px;
  right: -20px;
  width: 190px;
  height: 128px;
  opacity: .88;
}
.today-page .brief-card {
  min-height: 0;
  margin-bottom: 18px;
  padding: 26px 24px 20px;
  border-radius: 26px;
  box-shadow: 0 18px 44px rgba(1, 8, 21, .2), inset 0 1px rgba(255, 255, 255, .035);
  animation: none;
}
.today-page .brief-card::after {
  display: block;
  inset: 7px;
  border-color: rgba(229, 205, 159, .11);
  border-radius: 20px;
}
.today-page .brief-card .day-slide-sky { opacity: .38; }
.today-page .brief-category {
  margin-bottom: 9px;
  padding: 0;
  color: #e1c894;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
}
.today-page .brief-card h2 {
  padding: 0;
  color: #f6ede6;
  font-size: clamp(30px, 8.5vw, 38px);
  line-height: 1.07;
  letter-spacing: -.02em;
}
.today-page .brief-card .day-slide-body {
  max-width: none;
  margin-top: 16px;
  color: #eee5e7;
  font-size: 17px;
  line-height: 1.58;
}
.daily-lead { background-color: var(--content-horoscope); border-color: rgba(222, 190, 148, .46); }
.daily-lead .day-slide-sky { opacity: .31 !important; }
.daily-lead-header { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 74px; gap: 12px; align-items: start; }
.daily-lead-header .brief-zodiac {
  position: relative;
  inset: auto;
  width: 78px;
  height: 82px;
  margin: -9px -6px 0 0;
}
.daily-personal-basis {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  color: #d6c0c5;
  font-size: 13px;
  line-height: 1.45;
}
.daily-personal-basis span { color: #e3c589; font-size: 10px; }
.daily-signals {
  margin-top: 23px;
  border-block: 1px solid rgba(231, 205, 164, .2);
}
.daily-signals article { padding: 17px 0 16px; }
.daily-signals article + article { border-top: 1px solid rgba(231, 205, 164, .15); }
.daily-signals article > span {
  display: block;
  margin-bottom: 7px;
  color: #e4c98f;
  font-size: 12px;
  font-weight: 500;
}
.daily-signals p { margin: 0; color: #f2e9e7; font-size: 16px; line-height: 1.55; }
.daily-signals .daily-action { position: relative; padding-left: 20px; }
.daily-signals .daily-action::before { content: "✦"; position: absolute; top: 21px; left: 0; color: #e4c98f; font-size: 9px; }
.today-page .brief-footer {
  display: block;
  min-height: 0;
  margin-top: 20px;
  padding: 0;
  border: 0;
}
.today-page .daily-primary-action {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 0;
  border-radius: 18px;
  background: #e0c594;
  color: #15283b;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 9px 22px rgba(5, 12, 25, .14);
}
.today-page .daily-primary-action:hover { background: #ead5ab; }
.today-page .daily-primary-action .nav-svg { width: 20px; height: 20px; }
.daily-card-tools { display: flex; align-items: center; justify-content: space-between; min-height: 50px; margin-top: 7px; }
.today-page .daily-card-tools .brief-share {
  min-height: 46px;
  color: #eadfd9;
  font-size: 14px;
  text-decoration: none;
}
.today-page .daily-card-tools .brief-share:hover { text-decoration: none; color: #f2dba9; }
.daily-card-tools .bookmark-control { position: static; margin: 0 -10px 0 0; }

.brief-tarot { background-color: #163b3c; border-color: rgba(173, 194, 174, .35); }
.brief-tarot .day-slide-sky { opacity: .46 !important; }
.daily-tarot-intro {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 180px;
}
.daily-tarot-stack { position: relative; width: 126px; height: 164px; }
.daily-tarot-stack img {
  position: absolute;
  top: 11px;
  left: 27px;
  width: 78px;
  height: 117px;
  border: 1px solid rgba(228, 199, 141, .46);
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 12px 25px rgba(0, 8, 17, .35);
}
.daily-tarot-stack img:first-child { transform: rotate(-12deg) translate(-13px, 11px); }
.daily-tarot-stack img:nth-child(2) { transform: rotate(1deg); }
.daily-tarot-stack img:last-child { transform: rotate(13deg) translate(12px, 10px); }
.today-page .brief-tarot:not(.brief-tarot-open) h2 { font-size: clamp(29px, 8vw, 35px); }
.brief-tarot:not(.brief-tarot-open) > .daily-primary-action { margin-top: 10px; }
.daily-tarot-result { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 21px; align-items: center; }
.today-page .brief-tarot-open .brief-tarot-image {
  width: 112px;
  height: 168px;
  margin: 0;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 12px 18px rgba(0, 8, 17, .34));
}
.today-page .brief-tarot-open .brief-category { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.today-page .brief-tarot-open h2 { font-size: clamp(31px, 8vw, 38px); }
.today-page .brief-tarot-open .day-slide-body { font-size: 15px; line-height: 1.55; }
.today-page .edition-tarot-advice { margin: 24px 0 0; padding: 18px 0; border-block: 1px solid rgba(222, 199, 151, .18); font-size: 16px; }

.today-page .day-person { background-color: var(--content-pair); border-color: rgba(204, 165, 151, .34); }
.today-page .day-person .day-slide-sky { opacity: .46 !important; }
.today-page .day-person .brief-zodiac { top: 18px; right: 18px; width: 74px; height: 78px; }
.today-page .day-person h2 { min-height: 0; padding-right: 80px; }
.today-page .day-person .day-slide-body { padding-right: 48px; }

.today-page .brief-moon.daily-secondary {
  display: block;
  min-height: 0;
  padding: 0;
  border-color: rgba(164, 195, 207, .34);
  border-radius: 24px;
  background-color: var(--content-moon);
}
.today-page .brief-moon.daily-secondary .day-slide-sky { opacity: .38; mix-blend-mode: luminosity; }
.daily-secondary-link {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 20px;
  gap: 16px;
  align-items: center;
  min-height: 138px;
  padding: 21px 20px;
  color: inherit;
  text-decoration: none;
}
.today-page .brief-moon .daily-secondary-link .brief-moon-image {
  position: relative;
  inset: auto;
  width: 84px;
  height: 84px;
  margin: 0;
  filter: drop-shadow(0 7px 18px rgba(151, 193, 218, .18));
}
.daily-secondary-copy { display: block; min-width: 0; }
.daily-secondary-copy .brief-category { margin-bottom: 4px; }
.daily-secondary-copy strong { display: block; color: #f2eee8; font: 400 27px/1.12 var(--font-display); }
.daily-secondary-copy > span:last-child { display: block; margin-top: 6px; color: #bfd0dd; font-size: 13px; line-height: 1.42; }
.daily-secondary-link > .nav-svg { width: 20px; height: 20px; color: #e0c594; }
.daily-secondary-link:focus-visible { outline: 2px solid #e0c594; outline-offset: -5px; border-radius: 24px; }

@media (max-width: 360px) {
  .today-page .today-heading { min-height: 114px; }
  .today-page .today-heading h1 { font-size: 43px; }
  .today-page .brief-card { padding: 23px 19px 18px; }
  .daily-lead-header { grid-template-columns: minmax(0, 1fr) 64px; }
  .daily-lead-header .brief-zodiac { width: 68px; height: 72px; }
  .daily-tarot-intro { grid-template-columns: 105px minmax(0, 1fr); gap: 15px; }
  .daily-tarot-stack { width: 104px; }
  .daily-tarot-stack img { left: 21px; width: 68px; height: 102px; }
  .daily-tarot-result { grid-template-columns: 92px minmax(0, 1fr); gap: 16px; }
  .today-page .brief-tarot-open .brief-tarot-image { width: 92px; height: 138px; }
  .daily-secondary-link { grid-template-columns: 68px minmax(0, 1fr) 18px; gap: 13px; padding: 18px 16px; }
  .today-page .brief-moon .daily-secondary-link .brief-moon-image { width: 68px; height: 68px; }
}

/* Quiet full-canvas artwork and a cleaner action rhythm. */
body.today-page { background: #0a2240; }

.daily-signals {
  display: block;
  margin-top: 24px;
  border: 0;
}
.daily-signals article,
.daily-signals article + article {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.daily-signals .daily-action { padding-left: 0; }
.daily-signals .daily-action::before { display: none; }
.daily-signals article > span {
  margin-bottom: 6px;
  color: #e2c68f;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0;
}
.daily-signals p { color: #f2e9e7; font-family: var(--font-body); font-size: 17px; line-height: 1.55; }

.daily-card-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 9px;
  min-height: 48px;
  margin-top: 9px;
}
.today-page .daily-card-tools .brief-share,
.today-page .daily-card-tools .bookmark-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(235, 216, 185, .2);
  border-radius: 999px;
  background: rgba(244, 229, 214, .035);
  color: #eee3dc;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}
.today-page .daily-card-tools .brief-share:hover,
.today-page .daily-card-tools .bookmark-button:hover { background: rgba(244, 229, 214, .09); color: #f2dba9; }
.today-page .daily-card-tools .bookmark-button.is-saved {
  border-color: rgba(227, 197, 137, .38);
  background: rgba(227, 197, 137, .13);
  color: #ecd49f;
  animation: none;
}
.daily-card-tools .bookmark-control,
.daily-card-tools .bookmark-control form { width: 100%; margin: 0; }
.today-page .daily-card-tools .nav-svg { width: 20px; height: 20px; flex: 0 0 20px; }
.today-page .daily-card-tools .bookmark-label { font-size: 14px; line-height: 1.2; }
.today-page .daily-primary-action { border-radius: 999px; }
.today-page .edition-tarot-advice {
  padding: 16px;
  border: 1px solid rgba(222, 199, 151, .13);
  border-radius: 16px;
  background: rgba(236, 220, 188, .05);
}

.today-page .brief-moon.daily-secondary { border-radius: 30px; }
.daily-secondary-link {
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 184px;
  padding: 24px 24px 24px 18px;
}
.today-page .brief-moon .daily-secondary-link .brief-moon-image {
  width: 132px;
  height: 132px;
  margin-left: -9px;
}
.daily-secondary-link:focus-visible { border-radius: 30px; }

.today-page {
  --today-card-title: clamp(32px, 8.5vw, 38px);
  --today-card-copy: 16px;
  --today-card-meta: 12px;
}
.today-page .brief-card h2,
.today-page .daily-secondary-copy strong {
  font-size: var(--today-card-title);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.today-page .brief-card .day-slide-body,
.today-page .daily-signals p,
.today-page .daily-secondary-copy > span:last-child {
  font-size: var(--today-card-copy);
  line-height: 1.52;
}
.today-page .brief-category,
.today-page .daily-signals article > span {
  font-size: var(--today-card-meta);
  line-height: 1.35;
}
.today-page .daily-signals { margin-top: 18px; }
.today-page .brief-tarot-open .day-slide-body { font-size: var(--today-card-copy); line-height: 1.52; }

/* The Today feed is a stack of destinations. Actions live inside each reading. */
.today-page .brief-card:has(> .daily-card-link) { padding: 0; }
.today-page .daily-card-link {
  position: relative;
  z-index: 2;
  display: block;
  min-height: inherit;
  padding: 26px 24px 20px;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.today-page .daily-card-link.is-static { cursor: default; }
.today-page .daily-card-link:focus-visible,
.today-page .daily-secondary-link:focus-visible {
  outline: 2px solid #e0c594;
  outline-offset: -6px;
}
@media (hover: hover) {
  .today-page .brief-card:has(a:hover) {
    border-color: rgba(231, 205, 159, .62);
    box-shadow: 0 22px 52px rgba(1, 8, 21, .3), inset 0 1px rgba(255, 255, 255, .06);
  }
}
.reading-sheet-copy > p:first-child {
  font-size: 17px;
  line-height: 1.72;
}

@media (min-width: 1100px) {
.reading-sheet-copy > p:first-child { font-size: 18px; line-height: 1.72; }
}
@media (prefers-reduced-motion: no-preference) {
  .today-page .brief-card { transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
}

@media (max-width: 360px) {
  .today-page .daily-card-link { padding: 23px 19px 18px; }
}

@media (min-width: 1100px) {
  .today-page main {
    max-width: 620px;
    padding-right: 22px;
    padding-left: 22px;
  }
  .today-page .today-heading { margin-bottom: 28px; padding-inline: 12px; }
  .today-page .today-heading h1 { font-size: 64px; }
  .today-page .brief-card { margin-bottom: 22px; border-radius: 30px; }
  .today-page .brief-card::after { border-radius: 23px; }
  .today-page .daily-card-link { padding: 32px 30px 28px; }
  .today-page { --today-card-title: 44px; --today-card-copy: 18px; }
  .today-page .daily-lead-header { grid-template-columns: minmax(0, 1fr) 92px; gap: 18px; }
  .today-page .daily-lead-header .brief-zodiac { width: 92px; height: 98px; }
  .today-page .daily-tarot-result { grid-template-columns: 138px minmax(0, 1fr); gap: 28px; }
  .today-page .brief-tarot-open .brief-tarot-image { width: 138px; height: 207px; }
  .today-page .daily-secondary-link { grid-template-columns: 156px minmax(0, 1fr); min-height: 208px; padding: 26px 28px 26px 20px; }
  .today-page .brief-moon .daily-secondary-link .brief-moon-image { width: 156px; height: 156px; }
}

/* Top-level sections use the same illustrated scale as Today. */
body.section-page { background: #0a2240; }
.section-page .section-home,
.section-page .more-home { padding: 4px 0 24px; }
.section-page .section-cover {
  display: block;
  min-height: 236px;
  margin-bottom: 22px;
  padding: 32px 28px;
  border-color: rgba(216, 196, 160, .28);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(1, 8, 21, .2), inset 0 1px rgba(255, 255, 255, .04);
  text-decoration: none;
}
.section-page .section-cover-background { opacity: .56; }
.section-page .section-cover h1 { font-size: 44px; }
.section-page .section-cover p { max-width: 245px; font-size: 16px; }
.section-page .section-cover-tarot { top: 24px; right: 24px; width: 112px; height: 168px; }
.section-cover-symbol {
  position: absolute;
  top: 30px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  color: #e2c68f;
  filter: drop-shadow(0 12px 22px rgba(3, 10, 22, .35));
}
.section-cover-symbol .nav-svg { width: 76px; height: 76px; }
.section-cover--opened {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 22px;
  align-items: center;
  min-height: 278px !important;
  overflow: hidden;
  background: var(--content-tarot);
}
.section-cover-copy { position: relative; z-index: 2; display: block; min-width: 0; }
.section-cover-copy .section-eyebrow,
.section-list-label {
  display: block;
  color: #e1c894;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-cover-copy strong {
  display: block;
  margin-top: 10px;
  color: #f6ede6;
  font: 400 40px/1.08 var(--font-display);
}
.section-cover-copy > span:last-child { display: block; margin-top: 16px; color: #e6e2df; font-size: 15px; line-height: 1.55; }
.section-cover-tarot-open {
  position: relative;
  z-index: 2;
  display: block;
  width: 132px;
  height: 198px;
  object-fit: contain;
  border-radius: 7px;
  filter: drop-shadow(0 16px 25px rgba(1, 8, 18, .42));
}
.section-menu { display: grid; gap: 12px; }
.section-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 104px;
  padding: 21px 22px;
  border: 1px solid rgba(216, 196, 160, .2);
  border-radius: 24px;
  background: rgba(21, 48, 67, .72);
  color: inherit;
  text-decoration: none;
}
.section-menu-row strong { display: block; color: #f3ece3; font: 400 28px/1.16 var(--font-display); }
.section-menu-row small { display: block; margin-top: 7px; color: #b9c9d7; font-size: 13px; line-height: 1.45; }
.section-menu-row > .nav-svg { width: 22px; height: 22px; color: #decba9; flex: 0 0 22px; }
.section-menu-row--quiet { min-height: 88px; background: rgba(17, 42, 62, .56); }
.section-page :is(.section-cover, .section-menu-row, .section-person-card, .section-reading-card):focus-visible { outline: 2px solid #e0c594; outline-offset: 4px; }
@media (hover: hover) {
  .section-menu-row:hover,
  .section-person-card:hover,
  .section-reading-card:hover { border-color: rgba(225, 200, 148, .46); background-color: rgba(31, 60, 78, .82); }
}
.section-people { display: grid; gap: 12px; margin-bottom: 30px; }
.section-list-label { margin: 2px 4px 3px; }
.section-person-card,
.section-reading-card {
  min-height: 100px;
  border-radius: 24px !important;
  background: linear-gradient(rgba(53, 43, 60, .82), rgba(53, 43, 60, .94)), url("/artwork/brief-pair-v1.webp") center / cover !important;
}
.section-person-card .font-display,
.section-reading-card .font-display { font-size: 28px; }
.section-readings { display: grid; gap: 12px; margin-top: 12px; }
.section-page .more-profile {
  min-height: 150px;
  margin: 0 0 18px;
  padding: 28px 24px;
  border-radius: 28px;
  background: linear-gradient(rgba(19, 45, 66, .68), rgba(19, 45, 66, .9)), url("/artwork/celestial-atlas-v1-1024.webp") center / cover;
}
.section-page .more-avatar { width: 70px; height: 70px; font-size: 34px; }
.section-page .more-name { font-size: 36px; }
.section-page .more-library { gap: 14px; }
.section-page .more-tile { min-height: 154px; border-radius: 26px; background: rgba(18, 45, 65, .78); }
.section-page .more-row { min-height: 78px; font-size: 16px; }

@media (min-width: 760px) {
  .section-page main { max-width: 620px; padding-right: 22px; padding-left: 22px; }
  .section-page .section-cover { min-height: 278px; padding: 38px 34px; }
  .section-page .section-cover h1 { font-size: 50px; }
  .section-cover--opened { grid-template-columns: minmax(0, 1fr) 170px; min-height: 326px !important; }
  .section-cover-copy strong { font-size: 48px; }
  .section-cover-copy > span:last-child { font-size: 17px; }
  .section-cover-tarot-open { width: 166px; height: 249px; }
}

/* Section destinations keep the same scale after leaving a top-level tab. */
.tarot-reading-page .ritual,
.tarot-spread-page .spread-reading,
.tarot-history-page .tarot-history,
.pair-form-page .pair-form { padding-inline: 0; }
.tarot-spread-page .spread-reading,
.tarot-history-page .tarot-history,
.pair-form-page .pair-form {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 30px 26px;
  border: 1px solid rgba(216, 196, 160, .24);
  border-radius: 28px;
  background: linear-gradient(rgba(15, 48, 51, .84), rgba(15, 48, 51, .96)), url("/artwork/brief-tarot-v1.webp") center / cover;
  box-shadow: 0 18px 44px rgba(1, 8, 21, .22);
}
.tarot-history-page .tarot-history { background: linear-gradient(rgba(18, 43, 62, .8), rgba(18, 43, 62, .97)), url("/artwork/celestial-atlas-v1-1024.webp") center / cover; }
.pair-form-page .pair-form { background: linear-gradient(rgba(61, 42, 53, .82), rgba(61, 42, 53, .97)), url("/artwork/brief-pair-v1.webp") center / cover; }
.tarot-spread-page .spread-reading > h1,
.tarot-history-page .tarot-history > h1,
.pair-form-page .pair-form > h1 { font-size: 40px; line-height: 1.12; }
.tarot-spread-page .spread-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(9, 34, 37, .7);
  box-shadow: none;
}
.tarot-spread-page .spread-card-art { width: 156px; height: 234px; }
.tarot-history-page .tarot-history > div > div { min-height: 86px; }
.pair-reading-page .pair-reading-cover {
  margin-bottom: 18px;
  padding: 32px 26px;
  border: 1px solid rgba(216, 196, 160, .24);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(1, 8, 21, .22);
}
.pair-reading-page .pair-reading-card { border-radius: 28px; }

@media (min-width: 760px) {
.tarot-reading-page main { max-width: 620px; }
  .tarot-reading-page main { padding-right: 22px; padding-left: 22px; }
  .tarot-reading-page .tarot-result {
    min-height: 680px;
    padding: 32px 30px 28px;
    border-radius: 30px;
  }
  .tarot-reading-page .brief-tarot-image { width: 180px; height: 270px; }
  .tarot-reading-page .tarot-result .ritual-card-name { font-size: 48px; }
  .tarot-reading-page .tarot-result .ritual-meaning,
  .tarot-reading-page .edition-tarot-advice { font-size: 17px; }
  .tarot-spread-page .spread-reading,
  .tarot-history-page .tarot-history,
  .pair-form-page .pair-form { padding: 38px 34px; }
}
.today-page .brief-header-art {
  background: transparent;
  mix-blend-mode: normal;
}
