/* Root sections share materials, while each keeps its own composition. */
body.app-surface.gallery-section { background: #041522; isolation: isolate; }
body.gallery-section::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: #041522 url("/artwork/section-night-v1.webp") center / cover no-repeat; transform: translateZ(0); }
.gallery-section .sky-map { display: none; }
body.gallery-section .app-main { max-width: 1320px; padding: 24px 48px 130px; }
.gallery-section h1 { font: var(--font-weight-normal) var(--text-display)/var(--leading-tight) var(--font-display); margin: 0; }
.gallery-section .nav-svg { width: 22px; height: 22px; flex-shrink: 0; }
.gallery-section .section-pill, .gallery-section .lux-btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 15px 26px; min-height: 50px; border: 0; border-radius: 999px; color: var(--app-text); background: #738ba329; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); text-decoration: none; font: var(--font-weight-normal) var(--text-body)/var(--leading-normal) var(--font-body); }
.gallery-section a:focus-visible, .gallery-section button:focus-visible { outline: 2px solid var(--app-gold); outline-offset: 5px; }
/* Tarot: choices beside a real deck. */
.tarot-studio { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.35fr); gap: 44px; align-items: center; min-height: min(740px, calc(100svh - 200px)); }
.studio-copy header > p { margin: 12px 0 30px; color: var(--app-muted); font-size: var(--text-body); }
.spread-options { display: grid; gap: 12px; margin: 0 0 26px; }
.spread-option { display: flex; gap: 18px; align-items: center; padding: 12px 8px; text-decoration: none; color: var(--app-text); border-radius: 18px; }
.spread-option strong { display: block; font: var(--font-weight-normal) var(--text-heading)/var(--leading-tight) var(--font-display); }
.spread-option small { display: block; margin-top: 6px; font: var(--font-weight-normal) var(--text-caption)/var(--leading-normal) var(--font-body); color: var(--app-muted); }
.spread-symbol { flex: 0 0 52px; height: 52px; display: grid; place-items: center; color: var(--app-muted); border-radius: 50%; background: #839ba00b; }
.spread-option.is-selected { background: #487c6820; }
.spread-option.is-selected .spread-symbol { color: var(--app-gold); background: #b5a86c18; }
.gallery-section .tarot-primary { width: 100%; background: #367d6b66; }
.studio-history { display: inline-flex; align-items: center; gap: 18px; color: var(--app-muted); font-size: var(--text-body); margin: 28px 8px 0; text-decoration: none; }
.studio-decks { min-width: 0; }
.studio-deck { display: flex; justify-content: center; align-items: center; min-height: 480px; padding: 32px 0; }
.studio-deck[hidden] { display: none; }
.studio-card { width: 45%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; filter: drop-shadow(0 16px 20px #0007); position: relative; }
.studio-card:first-child { transform: rotate(-12deg) translateY(16px); margin-right: -19%; }
.studio-card:nth-child(2) { z-index: 2; }
.studio-card:last-child { transform: rotate(12deg) translateY(16px); margin-left: -19%; }
.studio-deck[data-spread=choice] .studio-card { margin-inline: -4%; }
/* People: two-column portrait gallery with independent, accessible switches. */
.people-gallery .people-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 12px 0 48px; }
.people-gallery .people-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.person-gallery-item { position: relative; min-height: 240px; padding: 0 20px 24px; border-radius: 24px; background: #12243938; min-width: 0; }
.people-gallery .person-row { display: grid; grid-template-columns: 40% minmax(0, 1fr) 20px; align-items: center; gap: 20px; padding: 24px 0 0; min-height: 180px; background: none; border: none; box-shadow: none; border-radius: 0; color: var(--app-text); text-decoration: none; }
.people-gallery .person-row::before, .people-gallery .person-row::after { display: none; }
.people-gallery .person-art { width: 100%; max-width: none; height: 160px; object-fit: contain; }
.people-gallery .row-copy { min-width: 0; }
.people-gallery .row-copy strong { display: block; font: var(--font-weight-normal) var(--text-heading)/var(--leading-tight) var(--font-display); overflow-wrap: anywhere; }
.people-gallery .row-copy small { display: block; font: var(--font-weight-normal) var(--text-caption)/var(--leading-normal) var(--font-body); margin-top: 8px; color: var(--app-muted); }
.gallery-person-toggle { margin: 0 24px 0 calc(40% + 12px); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--text-body); }
.gallery-person-toggle form { margin: 0; }
.gallery-person-toggle .person-today-switch { margin: 0; }
.people-gallery .people-empty { padding: 40px 0; max-width: 580px; background: none; border: none; }
/* Personal library: one main feature, then a shelf of destinations. */
.personal-library .mine-heading { margin: 12px 0 0; }
.personal-library .mine-heading p { margin: 10px 0 0; color: var(--app-gold); font-size: var(--text-body); }
.personal-library .mine-destinations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; }
.personal-library .mine-card { display: flex; flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; gap: 14px; padding: 0; min-height: 0; background: transparent; border: 0; box-shadow: none; border-radius: 0; text-decoration: none; color: var(--app-text); overflow: visible; }
.personal-library .mine-card::before, .personal-library .mine-card::after { display: none; }
.personal-library .mine-card-art { position: static; width: 190px; height: 160px; max-width: 100%; object-fit: contain; opacity: 1; transform: none; }
.personal-library .mine-card .row-copy { width: 100%; min-width: 0; }
.personal-library .mine-card strong { display: block; font: var(--font-weight-normal) var(--text-heading)/var(--leading-tight) var(--font-display); }
.personal-library .mine-card small { display: block; font: var(--font-weight-normal) var(--text-body)/var(--leading-normal) var(--font-body); color: var(--app-muted); margin-top: 10px; }
.personal-library .mine-card-featured { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 56px; padding: 20px 0 10px; }
.personal-library .mine-card-featured .row-copy { max-width: 580px; }
.personal-library .mine-card-featured strong { font-size: var(--text-display); }
.personal-library .mine-card-featured small { font-size: var(--text-body); max-width: 410px; }
.personal-library .mine-card-featured .mine-card-art { width: 340px; height: 320px; flex: 0 1 340px; }
.personal-library .mine-card-action { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 13px 26px; margin-top: 26px; border-radius: 999px; background: #83507955; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--app-text); font: var(--font-weight-normal) var(--text-body)/var(--leading-normal) var(--font-body); }
@media (hover:hover) { .gallery-section .section-pill:hover, .gallery-section .lux-btn-ghost:hover, .personal-library .mine-card:hover .mine-card-action { box-shadow: inset 0 0 0 100px #ffffff0b; } .spread-option:hover, .person-gallery-item:hover { background-color: #25394d45; } }
@media (prefers-reduced-motion:no-preference) { .studio-deck { animation: deck-appear 220ms ease-out; } @keyframes deck-appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } } }
@media (max-width:1000px) and (min-width:701px) { body.gallery-section .app-main { padding-inline: 28px; } .tarot-studio { gap: 20px; grid-template-columns: 1fr 1fr; } .studio-deck { min-height: 340px; } .people-gallery .people-list { gap: 20px; } .people-gallery .person-row { gap: 12px; } .people-gallery .row-copy strong { font-size: var(--text-heading); } .gallery-person-toggle { margin-left: 0; margin-right: 0; } }
@media (max-width:700px) {
  body.gallery-section::before { bottom: auto; height: 100lvh; }
  body.gallery-section .app-main { padding: 16px 24px 120px; }
  .gallery-section .brand-engraving { width: 170px; height: 50px; }
  .gallery-section h1 { font-size: var(--text-title); }
  .tarot-studio { display: flex; flex-direction: column; gap: 0; min-height: 0; }
  .studio-copy { display: contents; }
  .studio-copy header { order: 0; align-self: flex-start; }
  .studio-copy header > p { margin-bottom: 0; font-size: var(--text-body); }
  .studio-decks { order: 1; width: 100%; }
  .studio-deck { min-height: 285px; padding: 24px 0; }
  .studio-card { width: 44%; }
  .spread-options { order: 2; width: 100%; gap: 4px; margin-bottom: 18px; }
  .spread-option { padding: 10px 8px; gap: 14px; }
  .spread-option strong { font-size: var(--text-lead); }
  .spread-symbol { flex-basis: 42px; height: 42px; }
  .tarot-primary { order: 3; }
  .studio-history { order: 4; align-self: flex-start; }
  .people-gallery .people-heading { gap: 12px; margin-bottom: 28px; }
  .people-gallery .people-heading .lux-btn-ghost { font-size: var(--text-body); padding: 12px 14px; min-height: 44px; }
  .people-gallery .people-list { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .person-gallery-item { padding-inline: 14px; min-height: 210px; }
  .people-gallery .person-row { gap: 12px; padding-top: 8px; min-height: 158px; }
  .people-gallery .person-art { height: 140px; }
  .people-gallery .row-copy strong { font-size: var(--text-heading); }
  .gallery-person-toggle { margin-right: 0; margin-left: calc(40% + 10px); font-size: var(--text-body); }
  .personal-library .mine-destinations { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .personal-library .mine-card-featured { grid-column: auto; flex-direction: column-reverse; gap: 12px; padding: 12px 0 24px; }
  .personal-library .mine-card-featured .mine-card-art { width: 240px; height: 230px; flex-basis: auto; align-self: center; }
  .personal-library .mine-card-featured strong { font-size: var(--text-title); }
  .personal-library .mine-card-featured small { font-size: var(--text-body); }
  .personal-library .mine-card:not(.mine-card-featured) { flex-direction: row-reverse; gap: 16px; align-items: center; }
  .personal-library .mine-card:not(.mine-card-featured) .mine-card-art { width: 110px; height: 115px; flex: 0 0 110px; }
  .personal-library .mine-card strong { font-size: var(--text-heading); }
  .personal-library .mine-card-action { margin-top: 18px; }
}
body.gallery-section.screen-root .page-heading h1 { font: var(--font-weight-normal) var(--text-display)/var(--leading-tight) var(--font-display); }
.person-gallery-item { isolation: isolate; background: #12243915; }
.person-gallery-scene { position: absolute; top: -6px; left: -10px; width: 48%; height: 230px; z-index: -1; object-fit: cover; opacity: .7; mask-image: radial-gradient(ellipse, #000 15%, transparent 70%); pointer-events: none; }
.person-gallery-item:nth-child(2n) .person-gallery-scene { filter: hue-rotate(30deg); }
@media (max-width:700px) { body.gallery-section.screen-root .page-heading h1 { font-size: var(--text-title); } .person-gallery-scene { height: 185px; } }
/* Reading and utility destinations continue the same visual materials. */
body.gallery-section.detail-gallery .app-main { max-width: 1160px; padding-top: 36px; }
.detail-gallery .interior-page-content { max-width: none; width: 100%; padding: 0; margin: 0; background: none; }
.detail-gallery .detail-heading, .detail-gallery .page-heading { margin: 0 0 36px; }
.detail-gallery h1, .detail-gallery .page-heading h1, .detail-gallery .collection-heading h1 { font: var(--font-weight-normal) var(--text-display)/var(--leading-tight) var(--font-display); }
.detail-gallery h2 { font: var(--font-weight-normal) var(--text-heading)/var(--leading-tight) var(--font-display); }
.detail-heading > p, .detail-gallery .page-heading > p { max-width: 640px; font: var(--font-weight-normal) var(--text-body)/var(--leading-relaxed) var(--font-body); color: var(--app-muted); margin-top: 14px; }
.portrait-chapters { display: grid; gap: 24px; }
.portrait-chapter { display: grid; grid-template-columns: 260px minmax(0,1fr); align-items: center; gap: 52px; padding: 24px 0; }
.portrait-chapter > img { width: 260px; height: 260px; object-fit: contain; }
.portrait-chapter p { font: var(--font-weight-normal) var(--text-body)/var(--leading-relaxed) var(--font-body); color: var(--app-muted); max-width: 62ch; margin: 20px 0 24px; }
.portrait-chapter h2 { margin: 0; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.detail-heading-art { float: right; object-fit: contain; width: 190px; height: 180px; margin: 0 0 28px 36px; }
.detail-gallery .lux-card, .detail-gallery .collection-entry, .detail-gallery .journal-postcard, .detail-gallery .account-card, .detail-gallery .spread-chapter { background: #172a3b55; border: 0; box-shadow: none; border-radius: 24px; }
.detail-gallery .lux-card::before, .detail-gallery .lux-card::after, .detail-gallery .collection-entry::before, .detail-gallery .collection-entry::after { display: none; }
.detail-gallery .lux-btn, .detail-gallery .lux-btn-ghost { border: 0; background: #697a9e40; color: var(--app-text); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: none; }
.detail-gallery .collection-tabs { width: fit-content; gap: 8px; padding: 6px; background: #11253466; border: 0; border-radius: 999px; }
.detail-gallery .collection-tabs a { padding: 12px 20px; border: 0; border-radius: 999px; }
.detail-gallery .collection-tabs a[aria-current=page] { background: #6f608b50; color: var(--app-text); }
.detail-gallery .collection-entries { clear: both; display: grid; gap: 24px; }
.detail-gallery .collection-empty { clear: both; background: transparent; padding: 28px 0; text-align: left; max-width: 680px; }
.detail-gallery .collection-entry, .detail-gallery .journal-postcard { padding: 28px; }
.detail-gallery .collection-body, .detail-gallery .reflection-answer { font-size: var(--text-body); line-height: var(--leading-relaxed); }
.detail-gallery .journal-postcard { grid-template-columns: 170px minmax(0,1fr); gap: 32px; }
.detail-gallery .journal-postcard .diary-art { min-height: 0; padding: 0; background: transparent; }
.detail-gallery .journal-postcard .diary-art img { width: 150px; max-height: 240px; }
.detail-gallery .journal-postcard-copy { padding: 0; }
.detail-gallery .learning-content, .detail-gallery .lesson-content { max-width: 860px; margin-inline: auto; }
.detail-gallery .learning-content > div { clear: both; }
.detail-gallery .lesson-content .reading-sections { clear: both; gap: 24px; padding-top: 24px; }
.detail-gallery .lesson-content .reading-sections p { font: var(--font-weight-normal) var(--text-body)/var(--leading-relaxed) var(--font-body); max-width: 66ch; }
.detail-gallery .learning-content .lux-card { padding: 24px; }
.detail-gallery .account-content { max-width: 820px; margin-inline: auto; }
.detail-gallery .account-card { padding: 28px; }
.spread-detail .page-heading { max-width: 720px; }
.spread-unopened { display: flex; justify-content: center; gap: 26px; padding: 34px 0 40px; }
.spread-unopened img { width: min(25%, 230px); height: auto; object-fit: contain; filter: drop-shadow(0 12px 20px #0006); }
.spread-unopened img:first-child { transform: rotate(-6deg); }
.spread-unopened img:last-child { transform: rotate(6deg); }
.spread-draw-action { display: flex; justify-content: center; margin: 16px 0; }
.spread-draw-action .section-pill { min-width: 250px; background: #367d6b66; }
.detail-gallery .spread-chapter { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 38px; padding: 28px; margin-top: 28px; align-items: center; }
.detail-gallery .spread-chapter > img { width: 220px; height: auto; }
.detail-gallery .spread-chapter p { font-size: var(--text-body); line-height: var(--leading-relaxed); margin: 18px 0 24px; }
.tarot-archive .navigation-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.tarot-archive .navigation-row { display: flex; gap: 24px; padding: 24px; background: #142a3655; border: 0; border-radius: 24px; }
.tarot-archive .history-art { width: 100px; height: 150px; object-fit: contain; }
.tarot-archive .row-copy strong { font: var(--font-weight-normal) var(--text-heading)/var(--leading-tight) var(--font-display); }
body.detail-gallery.person-page .app-main { max-width: 1320px; }
.detail-gallery .person-identity-card { background: #152b3b70; border: 0; }
@media (max-width:700px) {
  body.gallery-section.detail-gallery .app-main { padding-top: 20px; }
  .detail-gallery h1, .detail-gallery .page-heading h1, .detail-gallery .collection-heading h1 { font-size: var(--text-title); }
  .detail-gallery h2 { font-size: var(--text-heading); }
  .portrait-chapter { grid-template-columns: minmax(0,1fr); gap: 18px; padding: 20px 0; }
  .portrait-chapter > img { width: 210px; height: 210px; justify-self: center; }
  .portrait-chapter p { font-size: var(--text-body); line-height: var(--leading-relaxed); }
  .detail-heading-art { width: 110px; height: 120px; margin-left: 16px; }
  .detail-gallery .collection-entry, .detail-gallery .journal-postcard, .detail-gallery .account-card { padding: 20px; }
  .detail-gallery .journal-postcard { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .detail-gallery .journal-postcard .diary-art img { max-height: 200px; }
  .detail-gallery .lesson-content .reading-sections p { font-size: var(--text-body); }
  .spread-unopened { gap: 12px; padding-block: 30px; }
  .spread-unopened img { width: 29%; }
  .detail-gallery .spread-chapter { grid-template-columns: minmax(0,1fr); gap: 24px; padding: 22px; }
  .detail-gallery .spread-chapter > img { width: 190px; justify-self: center; }
  .detail-gallery .spread-chapter p { font-size: var(--text-body); }
  .tarot-archive .navigation-list { grid-template-columns: minmax(0,1fr); }
  .tarot-archive .navigation-row { padding: 18px; gap: 18px; }
  .tarot-archive .history-art { width: 80px; height: 120px; }
}
.detail-gallery .learning-content > h1 { min-height: 150px; padding-top: 28px; }
.detail-gallery .micro-lesson { clear: both; padding: 20px 24px; margin-top: 24px; border: 0; border-radius: 22px; background: #24423f66; }
.detail-gallery .micro-lesson summary small { font: var(--font-weight-normal) var(--text-caption)/var(--leading-normal) var(--font-body); }
.detail-gallery .micro-lesson-body { font-size: var(--text-body); }
.detail-gallery .micro-choice { background: #314e4b66; border: 0; padding: 14px 18px; }
@media(max-width:700px) { .detail-gallery .learning-content > h1 { min-height: 120px; padding-top: 20px; } .detail-gallery .micro-lesson { padding: 18px; } }
.detail-gallery .collection-empty { margin: 0; }
.detail-gallery .collection-empty p { font: var(--font-weight-normal) var(--text-body)/var(--leading-relaxed) var(--font-body); margin: 16px 0 24px; max-width: 56ch; }
.detail-gallery .collection-tabs a { font-size: var(--text-body); }
.detail-gallery .ritual-eyebrow { font: var(--font-weight-medium) var(--text-caption)/var(--leading-normal) var(--font-body); letter-spacing: var(--tracking-label); }
body.detail-gallery.profile-form-page .app-main { max-width: 860px; }
.detail-gallery .profile-form { background: #172a3b55; border: 0; border-radius: 24px; padding: 28px; }
@media(max-width:700px) { .detail-gallery .profile-form { padding: 20px; } }
.detail-gallery .person-reading-card, .detail-gallery .relationship-chapter, .detail-gallery .horoscope-chapter { background: #172a3b55; border: 0; box-shadow: none; }
.detail-gallery .person-tabs { background: #172a3b88; border: 0; }
.detail-gallery .person-tabs [aria-selected=true] { background: #6f608b50; }
.detail-gallery #person-horoscope .person-reading-heading, .detail-gallery .person-relationship-heading { background: #172a3b55; border: 0; box-shadow: none; }
.detail-gallery .horoscope-chapter h3, .detail-gallery .relationship-chapter h3 { font: var(--font-weight-normal) var(--text-heading)/var(--leading-tight) var(--font-display); }
/* Approved editorial destinations: shared materials, task-specific composition. */
.portrait-summary { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;max-width:900px;margin:40px 0 48px; }
.portrait-position { display:flex;flex-direction:column;align-items:center;text-align:center;gap:18px;color:var(--app-text);text-decoration:none;border-radius:18px; }
.portrait-position img { width:150px;height:150px;object-fit:contain;transition:transform .2s; }
.portrait-position:hover img { transform:translateY(-4px); }
.portrait-position strong { display:block;font: var(--font-weight-normal) var(--text-heading)/var(--leading-tight) var(--font-display); }
.portrait-position small { display:block;font: var(--font-weight-normal) var(--text-body)/var(--leading-normal) var(--font-body);color:var(--app-muted);margin-top:8px; }
.portrait-editorial .portrait-chapters { max-width:780px;gap:32px; }
.portrait-editorial .portrait-chapter { display:block;padding:0;scroll-margin-top:110px; }
.portrait-editorial .portrait-chapter p { margin:16px 0 0; }
.portrait-editorial .portrait-chapter:nth-child(2) { margin-left:60px; }
.journal-editorial .collection-page { max-width:1000px;margin-inline:auto; }
.journal-editorial .detail-heading-art { float:left;width:140px;height:145px;margin:0 28px 24px 0; }
.journal-editorial .collection-heading { padding-top:16px; }
.journal-editorial .collection-heading .ritual-eyebrow { display:none; }
.journal-editorial .collection-tabs { margin-bottom:32px; }
.journal-editorial .journal-month { margin:0 0 4px;font-size: var(--text-heading); }
.journal-editorial .journal-postcard { display:grid;grid-template-columns:110px minmax(0,1fr);padding:0;gap:28px;border-radius:0;background:none;box-shadow:none; }
.journal-editorial .journal-postcard .diary-art { align-self:start; }
.journal-editorial .journal-postcard .diary-art img { width:110px;max-height:170px;object-fit:contain; }
.journal-editorial .journal-postcard-copy { display:block; }
.journal-editorial .journal-postcard h2 { margin:8px 0;font-size: var(--text-heading);overflow-wrap:anywhere; }
.journal-editorial .reflection-answer { margin:0;white-space:pre-line; }
.journal-editorial .diary-eyebrow { font: var(--font-weight-normal) var(--text-caption)/var(--leading-normal) var(--font-body);margin:0; }
.journal-card-name { color:var(--app-muted);font-size: var(--text-caption);margin:12px 0; }
.journal-editorial .reading-journal-link { font-size: var(--text-body);display:inline-flex;margin-top:0; }
.journal-editorial .collection-entries { gap:32px; }
body.detail-gallery.profile-form-page .app-main { max-width:1160px; }
.person-form-layout { display:grid;grid-template-columns:260px minmax(0,620px);gap:64px;align-items:start; }
.person-form-illustration { padding-top:28px; }
.person-form-illustration img { width:230px;height:260px;object-fit:contain; }
.detail-gallery .person-form-layout .profile-form { padding:0;background:none;box-shadow:none;border:0; }
.person-form-layout .profile-fields { gap:24px; }
.person-form-layout .lux-label { font: var(--font-weight-medium) var(--text-body)/var(--leading-normal) var(--font-body); }
.person-form-layout :is(.lux-input,.lux-select) { background:#1b2b3ce8;border:1px solid #687e924d;border-radius:12px;font-size: var(--text-body);min-height:50px; }
.person-form-layout .form-actions { display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:28px; }
.person-form-layout .form-actions > :first-child { width:100%;background:var(--app-accent,#dbc594);color:#0a2233; }
.person-form-layout .form-actions > :last-child { min-width:180px;justify-content:center; }
.person-form-layout.is-embedded { grid-template-columns:minmax(0,1fr);gap:0; }
.person-form-layout.is-embedded .person-form-illustration { display:none; }
.spread-detail .page-heading { text-align:center;max-width:760px;margin-inline:auto; }
.spread-detail .page-heading p { margin-inline:auto; }
.spread-overview { display:flex;justify-content:center;gap:32px;margin:40px auto 44px;max-width:940px; }
.spread-overview-card { display:flex;flex:1;min-width:0;max-width:280px;flex-direction:column;align-items:center;text-align:center;color:var(--app-text);text-decoration:none;gap:10px; }
.spread-overview-card img { width:100%;height:auto;aspect-ratio:2/3;object-fit:contain;filter:drop-shadow(0 14px 20px #0006);transition:transform .2s; }
.spread-overview-card:first-child img { transform:rotate(-3deg); }
.spread-overview-card:last-child img { transform:rotate(3deg); }
.spread-overview-card:hover img { transform:translateY(-5px); }
.spread-overview-card span { margin-top:12px;font: var(--font-weight-normal) var(--text-caption)/var(--leading-normal) var(--font-body);color:var(--app-muted); }
.spread-overview-card strong { font: var(--font-weight-normal) var(--text-heading)/var(--leading-tight) var(--font-display); }
.spread-detail .spread-chapter { background:none;box-shadow:none;padding:24px 0;max-width:800px;margin:24px auto;scroll-margin-top:100px; }
.spread-detail .spread-chapter > img { width:170px;justify-self:center; }
.spread-detail > .field-help { text-align:center; }
@media(max-width:700px) {
 .portrait-summary { grid-template-columns:minmax(0,1fr);gap:22px;margin:24px 0 36px; }
 .portrait-position { flex-direction:row;text-align:left;gap:22px; }
 .portrait-position img { width:85px;height:85px; }
 .portrait-position strong { font-size: var(--text-lead); }
 .portrait-position small { margin-top:3px; }
 .portrait-editorial .portrait-chapter:nth-child(2) { margin-left:0; }
 .journal-editorial .detail-heading-art { width:80px;height:95px;margin-right:16px; }
 .journal-editorial .collection-heading { padding-top:0; }
 .journal-editorial .collection-tabs { clear:both; }
 .journal-editorial .journal-postcard { grid-template-columns:82px minmax(0,1fr);gap:16px; }
 .journal-editorial .journal-postcard .diary-art img { width:82px;max-height:130px; }
 .journal-editorial .journal-postcard h2 { font-size: var(--text-lead); }
 .journal-editorial .reflection-answer { font-size: var(--text-body);line-height: var(--leading-relaxed); }
 .person-form-layout { grid-template-columns:minmax(0,1fr);gap:0; }
 .person-form-illustration { display:none; }
 .spread-overview { gap:12px;margin:28px auto; }
 .spread-overview-card { gap:6px; }
 .spread-overview-card span { font-size: var(--text-caption);margin-top:6px; }
 .spread-overview-card strong { font-size: var(--text-body);overflow-wrap:anywhere; }
 .spread-detail .spread-chapter { grid-template-columns:100px minmax(0,1fr);gap:18px;align-items:start; }
 .spread-detail .spread-chapter > img { width:100px; }
 .spread-detail .spread-chapter h2 { font-size: var(--text-heading); }
 .spread-detail .spread-chapter p { margin-top:14px; }
}
@media(prefers-reduced-motion:reduce) { .portrait-position img,.spread-overview-card img { transition:none; } }

.spread-detail .spread-chapter::before,.spread-detail .spread-chapter::after { display:none; }
.journal-editorial .reflection-answer { max-width:65ch; }
.journal-editorial .diary-eyebrow { text-transform:none;letter-spacing: var(--tracking-normal); }

.journal-editorial .collection-page.has-date-index { display:grid;grid-template-columns:150px minmax(0,1fr);gap:40px;max-width:1160px; }
.journal-library-body { min-width:0; }
.journal-date-index { display:flex;flex-direction:column;gap:18px;padding-top:28px; }
.journal-date-index p { color:var(--app-muted);font-size: var(--text-caption); }
.journal-date-index a { color:var(--app-text);font-size: var(--text-body);padding:8px 0;text-decoration:none; }
.journal-date-index a:hover { color:var(--app-accent); }
.journal-editorial .journal-postcard { scroll-margin-top:110px; }
@media(max-width:700px) {
 .journal-editorial .collection-page.has-date-index { display:flex;flex-direction:column;gap:20px; }
 .journal-date-index { order:2;flex-direction:row;flex-wrap:wrap;padding-top:0;gap:12px; }
 .journal-date-index p { width:100%; }
}

/* People are portraits on the page, not nested dashboard cards. */
.people-editorial .people-list { grid-template-columns:minmax(0,1fr);gap:40px;max-width:1080px;margin:40px auto 0; }
.people-editorial .person-gallery-item { display:grid;grid-template-columns:minmax(0,1fr) 180px;align-items:center;gap:40px;padding:0;min-height:240px;border:0;border-radius:0;background:transparent;box-shadow:none; }
.people-editorial .person-gallery-item:hover { background:transparent; }
.people-editorial .person-row { grid-template-columns:220px minmax(0,1fr) 24px;padding:12px 0;gap:32px;overflow:visible;min-height:220px; }
.people-editorial .person-row:hover { background:none;box-shadow:none; }
.people-editorial .person-art { width:200px;height:210px;max-width:100%;object-fit:contain;transition:transform .2s; }
.people-editorial .person-row:hover .person-art { transform:translateY(-4px); }
.people-editorial .row-copy strong { font: var(--font-weight-normal) var(--text-title)/var(--leading-tight) var(--font-display);overflow-wrap:anywhere; }
.people-editorial .row-copy small { font-size: var(--text-body);line-height: var(--leading-relaxed);margin-top:12px; }
.people-editorial .gallery-person-toggle { margin:0;align-self:center;gap:16px;justify-content:flex-end; }
.people-editorial .people-empty { background:transparent;border:0;padding:48px 0;max-width:640px; }
.person-editorial .person-workspace { grid-template-columns:250px minmax(0,1fr);gap:64px; }
.person-editorial .person-identity-card { background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;padding:0 12px 0 0;border-radius:0; }
.person-editorial .person-identity-art { width:210px;height:220px;margin:18px 0 24px; }
.person-editorial .person-identity-edit { top:0;right:0; }
.person-editorial .person-identity-name h2 { font: var(--font-weight-normal) var(--text-title)/var(--leading-tight) var(--font-display);overflow-wrap:anywhere; }
.person-editorial .person-identity-facts { gap:18px;margin-top:28px; }
.person-editorial .person-space,
.person-editorial .person-tabs,
.person-editorial .person-reading-card,
.person-editorial #person-horoscope .person-reading-heading,
.person-editorial .person-relationship-heading,
.person-editorial .horoscope-chapter,
.person-editorial .relationship-chapter { background:transparent;border:0;box-shadow:none;border-radius:0;backdrop-filter:none; }
.person-editorial .person-reading-card::before,.person-editorial .person-reading-card::after,
.person-editorial .horoscope-chapter::before,.person-editorial .horoscope-chapter::after,
.person-editorial .relationship-chapter::before,.person-editorial .relationship-chapter::after { display:none; }
.person-editorial .person-tabs { padding:0;gap:16px;max-width:470px;margin:0 0 32px; }
.person-editorial .person-tabs a { justify-content:flex-start;padding:12px 24px; }
.person-editorial .person-tabs a[aria-selected=true] { background:#5b6e8233;backdrop-filter:blur(16px);border-radius:999px; }
.person-editorial #person-horoscope .person-reading-heading { padding:0;margin:0 0 28px; }
.person-editorial .person-reading-heading h2 { font: var(--font-weight-normal) var(--text-title)/var(--leading-tight) var(--font-display); }
.person-editorial .horoscope-chapters,.person-editorial .relationship-chapters { gap:28px; }
.person-editorial .horoscope-chapter,.person-editorial .relationship-chapter { padding:12px 0;gap:28px; }
.person-editorial .person-relationship-heading { padding:0;margin-bottom:36px; }
.person-editorial .relationship-participants { gap:32px; }
.person-editorial .relationship-participant h3 { overflow-wrap:anywhere; }
.person-editorial .person-today-preference { padding-top:24px; }
@media(max-width:700px) {
 .people-editorial .people-list { margin-top:24px;gap:32px; }
 .people-editorial .person-gallery-item { grid-template-columns:minmax(0,1fr);gap:12px;min-height:0; }
 .people-editorial .person-row { grid-template-columns:110px minmax(0,1fr) 18px;gap:16px;min-height:140px; }
 .people-editorial .person-art { width:110px;height:130px; }
 .people-editorial .row-copy strong { font-size: var(--text-heading); }
 .people-editorial .row-copy small { font-size: var(--text-caption);margin-top:8px; }
 .people-editorial .gallery-person-toggle { margin-left:126px;justify-content:space-between;font-size: var(--text-body); }
 .person-editorial .person-workspace { grid-template-columns:minmax(0,1fr);gap:32px; }
 .person-editorial .person-identity-card { padding:0; }
 .person-editorial .person-identity-intro { display:grid;grid-template-columns:120px minmax(0,1fr);gap:20px; }
 .person-editorial .person-identity-art { width:120px;height:140px;margin:0;grid-column:auto;grid-row:auto; }
 .person-editorial .person-identity-name { display:block;padding-right:24px; }
 .person-editorial .person-identity-name h2 { font-size: var(--text-heading);margin:8px 0; }
 .person-editorial .person-identity-facts { margin-top:20px; }
 .person-editorial .person-tabs { margin-bottom:24px;gap:8px; }
 .person-editorial .person-reading-heading h2 { font-size: var(--text-heading); }
 .person-editorial .horoscope-chapter,.person-editorial .horoscope-chapter:nth-child(even),
 .person-editorial .relationship-chapter,.person-editorial .relationship-chapter:nth-child(even) { grid-template-columns:minmax(0,1fr);gap:16px;padding:0; }
 .person-editorial .horoscope-chapter-art,.person-editorial .relationship-chapter-art { width:170px; }
}
@media(prefers-reduced-motion:reduce) { .people-editorial .person-art { transition:none; } }

/* Preview the actual number and state of the selected spread. */
.studio-deck[data-spread=daily] .studio-card { width:min(70%,360px);margin:0;transform:rotate(3deg); }
/* Portrait portals echo the illustrated opening screen. */
.people-portals .people-list { display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,360px));justify-content:center;gap:48px;max-width:1200px;margin-top:64px; }
.people-portals .person-gallery-item { position:relative;isolation:isolate;display:flex;flex-direction:column;gap:0;min-height:490px;padding:0 24px 28px;background:linear-gradient(#252345a0,#171b3960 65%,transparent);border-radius:180px 180px 0 0; }
.people-portals .person-gallery-item:hover { background:linear-gradient(#302c53a0,#171b3960 65%,transparent); }
.person-portal-scene { position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;background:url("/artwork/today-portal-horoscope-v1.webp") center top/cover;mask-image:linear-gradient(#000, #000b 55%,transparent 95%); }
.people-portals .person-gallery-item::before { content:'';position:absolute;inset:0;border:1px solid #dbc39460;border-radius:inherit;pointer-events:none;mask-image:linear-gradient(#000,transparent 85%); }
.people-portals .person-row { display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px;padding:30px 0 20px;min-height:0;width:100%;background:none; }
.people-portals .person-art { width:240px;height:240px;max-width:100%;margin:0;filter:drop-shadow(0 12px 20px #0005); }
.people-portals .row-copy strong { font-size: var(--text-title); }
.people-portals .row-copy small { font-size: var(--text-body);margin-top:12px; }
.people-portals .person-row > .nav-svg { width:20px;height:20px; }
.people-portals .gallery-person-toggle { width:100%;margin:auto 0 0;padding-top:18px;justify-content:space-between;font-size: var(--text-body); }
.app-tabbar .nav-icon .nav-engraving { width:32px;height:32px;display:block; }
.app-tabbar .nav-icon { width:34px;height:34px;display:flex;align-items:center;justify-content:center; }
.app-tabbar .nav-pill { gap:5px; }
@media(max-width:700px) {
 .people-portals .people-list { grid-template-columns:minmax(0,360px);margin-top:40px;gap:40px; }
 .people-portals .person-gallery-item { min-height:460px; }
 .people-portals .person-art { width:220px;height:220px; }
 .people-portals .row-copy strong { font-size: var(--text-heading); }
 .app-tabbar .nav-icon .nav-engraving { width:28px;height:28px; }
 .app-tabbar .nav-icon { width:30px;height:30px; }
}
body.people-portals .person-row, body.people-portals .person-row:hover { background:transparent;box-shadow:none;border:0; }
body.people-portals .person-gallery-item { overflow:hidden; }
/* Root destinations share the illustrated world of Today. */
body.gallery-section.tarot-salon::before { background-image:linear-gradient(90deg,#041522b8, #04152233 65%),url("/artwork/reading-night-v1.webp"); }
body.gallery-section.people-portals::before { background-image:url("/artwork/reading-garden-v1.webp"); }
.people-portals .person-gallery-item { min-height:440px;background:transparent; }
.people-portals .person-gallery-item:hover { background:transparent; }
.people-portals .person-portal-scene { background-image:url("/artwork/today-portal-horoscope-v1.webp");background-size:100% 100%;mask-image:linear-gradient(#000 0%,#000 55%,transparent 100%); }
.people-portals .person-row { flex:1;gap:16px;padding-top:24px;padding-bottom:20px; }
.people-portals .person-art { width:260px;height:260px; }
.people-portals .person-row > .nav-svg { margin-top:8px; }
@media(max-width:700px) {
 body.gallery-section.tarot-salon::before { background-position:62% center;background-image:linear-gradient(#04152288,#04152277),url("/artwork/reading-night-v1.webp"); }
 .people-portals .person-gallery-item { min-height:420px; }
 .people-portals .person-art { width:230px;height:230px; }
}
body.people-portals .person-row { backdrop-filter:none;-webkit-backdrop-filter:none; }

/* Personal destinations: scenic surroundings, fading surfaces and shared actions. */
.people-portals .person-open-action,
.personal-library .mine-card-action { display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:12px 24px;border-radius:999px;background:#423b6599;color:var(--app-text);font: var(--font-weight-normal) var(--text-body)/var(--leading-normal) var(--font-body);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);transition:background .2s ease; }
.people-portals .person-open-action { width:100%;margin-top:12px; }
.person-open-action .nav-svg,.mine-card-action .nav-svg { width:20px;height:20px;flex:none; }
.person-row:hover .person-open-action,.mine-card:hover .mine-card-action { background:#5a507fbb; }
body.gallery-section.personal-library::before { background-image:url("/artwork/today-gallery-night-v1.webp"); }
.personal-library .mine-heading { margin:12px 0 28px; }
.personal-library .mine-destinations { gap:72px 28px; }
.personal-library .mine-card { position:relative;isolation:isolate;padding:0 28px 28px;gap:8px; }
.personal-library .mine-card::before { display:block;content:'';position:absolute;inset:90px 0 0;z-index:-1;border-radius:28px 28px 0 0;background:linear-gradient(180deg,#102d40ed,#082333b0 60%,#08233300);pointer-events:none; }
.personal-library .mine-card::after { display:block;content:'';position:absolute;inset:90px 0 0;z-index:-1;border:1px solid #d4b77790;border-radius:28px 28px 0 0;mask-image:linear-gradient(#000,transparent 72%);pointer-events:none; }
.personal-library .mine-card-art { width:230px;height:190px;align-self:center;filter:drop-shadow(0 14px 20px #00101c55); }
.personal-library .mine-card .row-copy { display:flex;flex-direction:column;flex:1; }
.personal-library .mine-card strong { font-size: var(--text-heading); }
.personal-library .mine-card small { min-height:48px;color:#e1dfd8; }
.personal-library .mine-card-action { align-self:flex-start;margin-top:22px; }
.personal-library .mine-card-featured { min-height:390px;padding:32px 48px;gap:40px; }
.personal-library .mine-card-featured::before { inset:0;background:linear-gradient(105deg,#202449ed,#172942c9 50%,#08233300 95%);border-radius:32px 32px 0 0;mask-image:linear-gradient(#000 50%,transparent); }
.personal-library .mine-card-featured::after { inset:0;border-radius:32px 32px 0 0;mask-image:linear-gradient(#000,transparent 80%); }
.personal-library .mine-card-featured strong { font-size: var(--text-display); }
.personal-library .mine-card-featured .mine-card-art { width:380px;height:360px;flex:0 1 380px; }
.personal-library .mine-card-featured .row-copy { flex:1; }
@media(max-width:700px) {
 body.gallery-section.people-portals::before { background-position:65% center; }
 body.gallery-section.personal-library::before { background-position:center; }
 .personal-library .mine-destinations { gap:42px; }
 .personal-library .mine-card-featured { padding:0 24px 28px;min-height:0;gap:12px; }
 .personal-library .mine-card-featured .mine-card-art { width:260px;height:250px;flex:auto; }
 .personal-library .mine-card-featured::before,.personal-library .mine-card-featured::after { inset:80px 0 0; }
 .personal-library .mine-card-featured strong { font-size: var(--text-title); }
 .personal-library .mine-card:not(.mine-card-featured) { padding:20px;gap:18px;align-items:center; }
 .personal-library .mine-card:not(.mine-card-featured)::before,.personal-library .mine-card:not(.mine-card-featured)::after { inset:0; }
 .personal-library .mine-card:not(.mine-card-featured) .mine-card-art { width:100px;height:140px;flex:0 0 100px; }
 .personal-library .mine-card strong { font-size: var(--text-heading); }
 .personal-library .mine-card small { min-height:0;font-size: var(--text-caption); }
 .personal-library .mine-card-action { min-height:44px;font-size: var(--text-body);padding:10px 18px;margin-top:16px; }
}
@media(prefers-reduced-motion:reduce) { .person-open-action,.personal-library .mine-card-action { transition:none; } }

/* Each spread is a direct entrance, illustrated in the same world as Today. */
.tarot-portals .tarot-gallery-heading { text-align:center;margin:12px 0 50px; }
.tarot-gallery-heading p { margin:12px 0 0;color:var(--app-muted); }
.tarot-portal-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px; }
.tarot-portal { position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;padding:28px 24px 32px;color:var(--app-text);text-decoration:none; }
.tarot-portal-scenery { position:absolute;inset:0;z-index:-1;border-radius:180px 180px 0 0;background-size:cover;background-position:center;mask-image:linear-gradient(#000 65%,transparent);pointer-events:none; }
.tarot-portal::before { content:'';position:absolute;inset:0;z-index:-1;border:1px solid #d5b66b99;border-radius:180px 180px 0 0;mask-image:linear-gradient(#000,transparent 85%);pointer-events:none; }
.tarot-portal-deck { display:flex;align-items:center;justify-content:center;width:100%;height:270px;margin-bottom:24px; }
.tarot-portal-deck img { width:48%;height:auto;max-height:270px;object-fit:contain;margin:0 -8%;filter:drop-shadow(0 10px 15px #0008);transform:rotate(-8deg);transition:transform .25s ease; }
.tarot-portal-deck img:last-child { transform:rotate(8deg); }
.tarot-portal[data-spread=three] img:nth-child(2) { transform:translateY(-10px);z-index:1; }
.tarot-portal[data-spread=daily] img { width:70%;max-height:300px;transform:rotate(-5deg);margin:0; }
.tarot-portal:hover .tarot-portal-deck { filter:brightness(1.06); }
.tarot-portal-copy { display:block;flex:1;width:100%;text-shadow:0 2px 14px #00101c; }
.tarot-portal-copy strong { display:block;min-height:64px;font: var(--font-weight-normal) var(--text-title)/var(--leading-tight) var(--font-display); }
.tarot-portal-copy small { display:block;font: var(--font-weight-normal) var(--text-body)/var(--leading-normal) var(--font-body);min-height:54px;margin:14px 0 24px;color:#e0ded8; }
.tarot-portal-action { display:flex;align-items:center;justify-content:center;gap:16px;min-height:50px;padding:12px 16px;width:100%;border-radius:999px;background:#214e47d9;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);font-size: var(--text-body); }
.tarot-portal[data-spread=three] .tarot-portal-action { background:#393557d9; }
.tarot-portal[data-spread=choice] .tarot-portal-action { background:#244158d9; }
.tarot-portal-action .nav-svg { width:20px;height:20px; }
.tarot-gallery-history { justify-content:center;margin:24px auto 0; }
@media(max-width:700px) {
 .tarot-portal-grid { grid-template-columns:minmax(0,1fr);gap:36px;max-width:410px;margin:auto; }
 .tarot-portals .tarot-gallery-heading { margin:12px 0 32px; }
 .tarot-portal { padding:24px 24px 28px; }
 .tarot-portal-deck { height:280px;margin-bottom:20px; }
 .tarot-portal-copy strong { min-height:0;font-size: var(--text-title); }
 .tarot-portal-copy small { min-height:0;margin:12px 0 24px; }
}
@media(prefers-reduced-motion:reduce) { .tarot-portal-deck img { transition:none; } }

/* One personal palette and a single identity/portrait introduction. */
.personal-library { --mine-surface:#142b43;--mine-action:#2b405b;--mine-action-hover:#38516f; }
.personal-library .mine-heading { margin:12px 0 24px; }
.personal-library .mine-card::before,
.personal-library .mine-card-featured::before { background:linear-gradient(180deg,var(--mine-surface),#142b43b3 55%,#142b4300);mask-image:none; }
.personal-library .mine-card-action { background:var(--mine-action); }
.personal-library .mine-card:hover .mine-card-action { background:var(--mine-action-hover); }
.personal-library .mine-card-featured { min-height:420px;padding:32px 48px; }
.personal-library .mine-portrait-label { display:block;color:var(--app-gold);font: var(--font-weight-normal) var(--text-body)/var(--leading-normal) var(--font-body);letter-spacing: var(--tracking-label);text-transform:uppercase;margin-bottom:16px; }
.personal-library .mine-card-featured strong { font-size: var(--text-display);line-height: var(--leading-tight);overflow-wrap:anywhere; }
.personal-library .mine-portrait-sign { display:block;font: var(--font-weight-normal) var(--text-heading)/var(--leading-normal) var(--font-display);color:var(--app-gold);margin-top:14px; }
.personal-library .mine-card-featured small { margin-top:22px;max-width:400px;min-height:0; }
.personal-library .mine-card-featured .mine-card-art { width:430px;height:400px;flex:0 1 430px; }
@media(max-width:700px) {
 .personal-library .mine-card-featured { padding:0 24px 28px;min-height:0; }
 .personal-library .mine-card-featured .mine-card-art { width:250px;height:240px;flex:auto; }
 .personal-library .mine-card-featured strong { font-size: var(--text-display); }
 .personal-library .mine-portrait-label { font-size: var(--text-caption);margin-bottom:12px; }
 .personal-library .mine-portrait-sign { font-size: var(--text-lead);margin-top:10px; }
 .personal-library .mine-card-featured small { margin-top:16px; }
}

/* Shared page typography and the people form. */

body.gallery-section .page-heading h1,body.gallery-section.screen-root .page-heading h1 { font: var(--font-weight-normal) var(--text-title)/var(--leading-tight) var(--font-display); }
body.gallery-section .page-heading > p { font: var(--font-weight-normal) var(--text-body)/var(--leading-normal) var(--font-body);color:var(--app-muted);max-width:700px;margin-top:14px; }
.tarot-gallery-heading p,.people-heading p,.profile-form-heading p { margin-inline:auto; }
.people-heading,.profile-form-heading { text-align:center; }
body.gallery-section.people-portals::before,body.gallery-section.profile-form-page::before { background-image:url("/artwork/people-garden-v1.webp");background-position:center; }
.people-portals .person-add-card { display:flex;align-items:center;justify-content:center;text-align:center;padding:32px 24px;gap:18px;background:linear-gradient(#142b43dd,#142b4399 60%,transparent);color:var(--app-text);text-decoration:none; }
.person-add-symbol { display:grid;place-items:center;width:100px;height:100px;border:1px solid #dbc39477;border-radius:50%;font: var(--font-weight-normal) var(--text-display)/var(--leading-none) var(--font-body);color:var(--app-gold);margin:24px 0; }
.person-add-card strong { font: var(--font-weight-normal) var(--text-title)/var(--leading-tight) var(--font-display); }
.person-add-card small { font: var(--font-weight-normal) var(--text-body)/var(--leading-normal) var(--font-body);color:var(--app-muted); }
.person-add-card .person-open-action { margin-top:auto; }
.profile-form-page .profile-form-heading { max-width:680px;margin:12px auto 32px; }
.person-form-layout { display:block;max-width:620px;margin-inline:auto; }
.person-form-layout .profile-form { width:100%;min-width:0; }
.person-form-layout .profile-fields { display:flex;flex-direction:column;gap:24px; }
.person-form-layout fieldset { min-width:0;margin:0;padding:0;border:0; }
.person-form-layout .lux-field { min-width:0; }
.person-form-layout :is(.lux-input,.lux-select) { width:100%;box-sizing:border-box;color:var(--app-text);background:#142b43e8; }
.person-form-layout .lux-date-row { display:grid;grid-template-columns:1fr 1.55fr 1.2fr;gap:12px; }
.person-form-layout .lux-date-row > div { min-width:0; }
.gender-illustrated { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px; }
.gender-illustrated .lux-chip-choice { position:relative;display:flex;align-items:center;justify-content:center;gap:14px;min-height:110px;padding:14px;background:#142b43bf;font-size: var(--text-body); }
.gender-illustrated input { position:absolute;right:12px;top:12px;margin:0; }
.gender-art { width:76px;height:80px;object-fit:contain; }
.gender-illustrated .lux-chip-choice:has(input:checked) { background:#29435ddd;border-color:var(--app-gold); }
.person-form-layout .form-actions { margin-top:28px; }
@media(max-width:700px) {

 .person-form-layout .lux-date-row { gap:8px; }
 .person-form-layout .lux-date-row .lux-select { font-size: var(--text-body);padding-inline:10px; }
 .gender-illustrated .lux-chip-choice { flex-direction:column;gap:8px;padding:16px; }
 .gender-art { width:70px;height:76px; }
}
.profile-form-page .person-form-layout { padding:28px 32px 32px;background:linear-gradient(#10243ded,#10243df5);border:1px solid #d4b77740;border-radius:24px; }
.person-form-layout select.lux-select { appearance:auto;padding-right:12px; }
@media(max-width:700px) { .profile-form-page .person-form-layout { padding:22px 18px; } }
body.today-gallery .gallery-heading h1 { font: var(--font-weight-normal) var(--text-display)/var(--leading-tight) var(--font-display); }
body.today-gallery .day-portal h2,body.tarot-portals .tarot-portal-copy strong,body.people-portals .row-copy strong,body.personal-library .mine-card:not(.mine-card-featured) strong { font: var(--font-weight-normal) var(--text-title)/var(--leading-tight) var(--font-display); }
body.today-gallery .day-portal .portal-copy p,body.tarot-portals .tarot-portal-copy small,body.people-portals .row-copy small,body.personal-library .mine-card small { font: var(--font-weight-normal) var(--text-body)/var(--leading-normal) var(--font-body); }
@media(max-width:700px) {
 body.today-gallery .gallery-heading h1 { font-size: var(--text-title); }
 body.today-gallery .day-portal h2,body.tarot-portals .tarot-portal-copy strong,body.people-portals .row-copy strong,body.personal-library .mine-card:not(.mine-card-featured) strong { font-size: var(--text-heading); }
}
body.people-portals .people-heading { display:block;text-align:center; }
body.people-portals .people-list { grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:28px; }
@media(max-width:700px) { body.people-portals .people-list { grid-template-columns:minmax(0,360px); } }
/* Main destinations begin directly with their content. */
body.people-portals .people-list { margin-top:12px; }
body.tarot-portals .tarot-portal-grid,body.personal-library .mine-destinations { margin-top:12px; }
body.today-gallery .portal-gallery { margin-top:48px; }
@media(max-width:700px) { body.today-gallery .portal-gallery { margin-top:40px; } }

/* Personal study: identity beside the three everyday destinations. */
body.personal-study .mine-destinations { grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-rows:repeat(3,minmax(160px,auto));gap:20px 44px;align-items:stretch;margin-top:16px; }
body.personal-study .mine-card-featured { grid-column:1;grid-row:1/4;flex-direction:column-reverse;justify-content:center;align-items:center;text-align:center;gap:12px;padding:16px 32px 32px;min-height:0; }
body.personal-study .mine-card-featured::before,body.personal-study .mine-card-featured::after { inset:100px 0 0;border-radius:220px 220px 0 0; }
body.personal-study .mine-card-featured::before { background:linear-gradient(#142b43dd,#142b43a0 60%,transparent); }
body.personal-study .mine-card-featured .mine-card-art { flex:none;width:300px;height:280px;max-width:100%; }
body.personal-study .mine-card-featured .row-copy { flex:0;align-items:center; }
body.personal-study .mine-card-featured strong { font-size: var(--text-display); }
body.personal-study .mine-portrait-label { font-size: var(--text-caption);margin-bottom:12px; }
body.personal-study .mine-portrait-sign { margin-top:8px;font-size: var(--text-lead); }
body.personal-study .mine-card-featured small { margin-top:16px;max-width:310px; }
body.personal-study .mine-card-featured .mine-card-action { align-self:center;margin-top:22px; }
body.personal-study .mine-card:not(.mine-card-featured) { grid-column:2;display:flex;flex-direction:row-reverse;align-items:center;justify-content:flex-end;gap:24px;padding:20px 24px; }
body.personal-study .mine-card:not(.mine-card-featured)::before,body.personal-study .mine-card:not(.mine-card-featured)::after { inset:0;border-radius:24px 24px 0 0; }
body.personal-study .mine-card:not(.mine-card-featured)::before { background:linear-gradient(110deg,#142b43ee,#142b4390 70%,transparent);mask-image:linear-gradient(#000 55%,transparent); }
body.personal-study .mine-card:not(.mine-card-featured) .mine-card-art { flex:0 0 140px;width:140px;height:145px;align-self:center; }
body.personal-study .mine-card:not(.mine-card-featured) strong { font-size: var(--text-heading); }
body.personal-study .mine-card:not(.mine-card-featured) small { min-height:0;margin-top:8px; }
body.personal-study .mine-card:not(.mine-card-featured) .mine-card-action { min-height: 44px;padding:9px 18px;margin-top:14px;font-size: var(--text-body); }
@media(max-width:1000px) and (min-width:701px) {
 body.personal-study .mine-destinations { gap:18px 24px; }
 body.personal-study .mine-card:not(.mine-card-featured) { padding:16px;gap:16px; }
 body.personal-study .mine-card:not(.mine-card-featured) .mine-card-art { flex-basis:100px;width:100px;height:130px; }
 body.personal-study .mine-card:not(.mine-card-featured) strong { font-size: var(--text-heading); }
}
@media(max-width:700px) {
 body.personal-study .mine-destinations { grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:22px; }
 body.personal-study .mine-card-featured { grid-column:1;grid-row:auto;padding:0 24px 28px; }
 body.personal-study .mine-card-featured .mine-card-art { width:240px;height:230px; }
 body.personal-study .mine-card-featured strong { font-size: var(--text-display); }
 body.personal-study .mine-card:not(.mine-card-featured) { grid-column:1;padding:18px;gap:18px; }
 body.personal-study .mine-card:not(.mine-card-featured) .mine-card-art { width:100px;height:120px;flex-basis:100px; }
 body.personal-study .mine-card:not(.mine-card-featured) strong { font-size: var(--text-heading); }
}

/* The invitation carries the same illustrated scale as a person's portrait. */
body.people-portals .person-add-card { background:transparent;padding:24px 24px 48px;justify-content:flex-start;gap:16px; }
body.people-portals .person-add-card .person-add-art { width:260px;height:260px;max-width:100%;object-fit:contain;flex:none; }
body.people-portals .person-add-card strong { margin:0;font-size: var(--text-title); }
body.people-portals .person-add-card small { margin:0; }
body.people-portals .person-add-card .person-open-action { margin-top:auto; }
@media(max-width:700px) {
 body.people-portals .person-add-card .person-add-art { width:230px;height:230px; }
 body.people-portals .person-add-card strong { font-size: var(--text-heading); }
}
