/* Moonday shared stylesheet: used by the PHP public pages and the Expo member app.
   Design tokens live here; change a token once and both sides follow. */
/* Daniel 11/4: the sign and planet symbols in our own font, so no device swaps in its colored emoji (his
   Chromebook did). Subsets of Noto Sans Symbols (1) and Noto Sans Symbols 2 (2), SIL Open Font License 1.1. */
@font-face { font-family: "Moonday Glyphs"; src: url("../fonts/moonday-glyphs-1.ttf?v=4") format("truetype"); unicode-range: U+0020, U+260A-260B, U+262F, U+263D-2653, U+26B7; }
@font-face { font-family: "Moonday Glyphs"; src: url("../fonts/moonday-glyphs-2.ttf?v=4") format("truetype"); unicode-range: U+2609, U+2BF2; }

:root {
  /* Night sky */
  --night: #0a1628;
  --night-2: #10223b;
  --night-3: #18304f;
  --line: rgba(143, 211, 207, 0.3);

  /* Text */
  --ink: #f2f5f9;
  --soft: #bfcbdb;
  --muted: #8a9bb2;

  /* Moonlight on water */
  --accent: #8fd3cf;       /* sea glass: buttons, links, anything you can tap */
  --accent-ink: #08263a;   /* text on sea glass */
  --pearl: #e9eef5;        /* moonlight: the logo and the moon's glow */
  --lavender: #c3b1e8;     /* the journal fairy and Monday */
  --rose: #f0b8c4;         /* small warm accents */

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Nunito Sans", -apple-system, "Segoe UI", Arial, sans-serif;
  --step-0: 18px;
  --step-1: clamp(20px, 2.2vw, 23px);
  --step-2: clamp(26px, 3.2vw, 34px);
  --step-3: clamp(34px, 5vw, 52px);
  --step-4: clamp(44px, 8vw, 84px);

  /* Shape and space */
  --radius: 24px;
  --radius-pill: 999px;
  --gutter: 20px;
  --measure: 720px;
  --wide: 1120px;
  --shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
  --header-h: 88px;
}
@media (max-width: 760px) { :root { --header-h: 72px; } .logo { font-size: 27px; } .logo img { width: 50px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 var(--step-0)/1.7 var(--body);
}
img, video { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; font-variation-settings: "SOFT" 100, "WONK" 0; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--accent); color: var(--night); padding: 8px 14px; border-radius: 8px; }

/* Layout */
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.section { padding: 56px 0; }
.section + .section { padding-top: 8px; }
.center { text-align: center; }
.eyebrow { font: 600 17px/1.2 var(--body); letter-spacing: 0.01em; color: var(--accent); margin-bottom: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(10, 22, 40, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 400 32px/1 var(--display); font-variation-settings: "SOFT" 100; letter-spacing: 0; }
.logo img { width: 64px; height: auto; }
.logo-footer img { width: 72px; }
.logo:hover { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: 8px 12px; font: 600 15px var(--body); cursor: pointer; }

@media (max-width: 760px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--night-2); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 18px; }
  .nav .btn { margin-top: 14px; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; padding: 14px 30px; border-radius: var(--radius-pill); font: 700 17px/1.2 var(--body); border: 2px solid var(--accent); cursor: pointer; transition: background 0.2s, color 0.2s, filter 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn:hover, .nav a.btn:hover { color: var(--accent-ink); filter: brightness(1.12); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-small { padding: 9px 20px; font-size: 15px; }
.nav .btn { color: var(--accent-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Banner video */
.banner { position: relative; aspect-ratio: 16 / 9; max-height: 1000px; width: 100%; overflow: hidden; } /* the banner is the video's own shape, so the moon and the dancer are never trimmed (only past 1778px wide does it trim a little) */
.banner video, .banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 40, 0.15) 0%, rgba(10, 22, 40, 0) 40%, rgba(10, 22, 40, 0.7) 80%, var(--night) 100%); }
.banner-text { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 1; text-align: center; padding: 0 var(--gutter); }
.banner-text h1 { font-size: var(--step-4); margin: 0; letter-spacing: -0.01em; }
.banner-text .tagline { font: 400 var(--step-1)/1.3 var(--body); letter-spacing: 0.02em; color: var(--accent); margin: 6px 0 0; }

/* Text blocks */
.lead { font: 300 var(--step-2)/1.45 var(--display); font-variation-settings: "SOFT" 100; text-align: center; color: var(--ink); }
.lead em, em.moon-color { font-style: normal; color: var(--accent); }   /* em.moon-color: Admin's Moon color button (Daniel 11/12) */
.prose p { color: var(--soft); }
.prose strong { color: var(--ink); }

/* Media */
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--night-2); }
.media video { width: 100%; }
.placeholder { aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 24px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: repeating-linear-gradient(135deg, var(--night-2) 0 14px, #0d1d33 14px 28px); }
.placeholder b { display: block; color: var(--soft); font-size: 20px; margin-bottom: 6px; }

/* Cards */
.card { background: var(--night-2); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: var(--radius); padding: 26px 28px; }
.card h3 { margin-bottom: 0.3em; }
.card p:last-child { margin-bottom: 0; }

.monday { position: relative; background: linear-gradient(135deg, #2b2a5e 0%, #1a2a52 55%, #10223b 100%); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 30px 30px; text-align: center; }
.monday .flag { display: inline-block; font: 700 14px/1 var(--body); letter-spacing: 0.01em; color: var(--accent-ink); background: var(--lavender); padding: 7px 12px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.monday h3 { font-size: var(--step-2); }

.moon-today { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; }
.moon-today .moon-media { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 70px rgba(233, 238, 245, 0.28); }
.moon-today .moon-media video { width: 100%; height: 100%; object-fit: cover; }
.moon-today .phase { font: 600 var(--step-2)/1.15 var(--display); margin: 0 0 4px; }
.moon-today .meta { color: var(--accent); font-weight: 700; font-size: 16px; margin-bottom: 8px; }
@media (max-width: 560px) {
  .moon-today { grid-template-columns: 1fr; text-align: center; }
  .moon-today .moon-media { margin: 0 auto; }
}

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { background: var(--night-2); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.tile .icon { width: 54px; height: 54px; margin: 0 auto 12px; color: var(--accent); }
.tile h3 { font-size: 26px; margin-bottom: 6px; }
.tile p { color: var(--soft); font-size: 16px; margin: 0; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { display: flex; flex-direction: column; align-items: flex-start; border-radius: var(--radius); padding: 28px; background: var(--night-2); border: 1px solid rgba(255, 255, 255, 0.07); }
.plan.featured { border-color: var(--accent); background: linear-gradient(180deg, #14304d 0%, var(--night-2) 100%); }
.plan h3 { font-size: 30px; margin-bottom: 4px; }
.plan .price { color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.plan .btn { margin-top: auto; }
.plan ul { margin: 0 0 22px; padding-left: 1.2em; color: var(--soft); }
.plan li { margin-bottom: 6px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote { margin: 0; padding: 26px 28px; border-radius: var(--radius); background: var(--night-2); border: 1px solid rgba(255, 255, 255, 0.07); }
.quote p { font: 300 var(--step-1)/1.5 var(--display); color: var(--ink); }
.quote cite { font-style: normal; color: var(--accent); font-weight: 700; font-size: 15px; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

.pull { margin: 0 auto; max-width: 640px; padding: 26px 30px; border: 0; background: rgba(143, 211, 207, 0.07); border-radius: var(--radius); text-align: center; }
.pull p { font: 300 var(--step-2)/1.35 var(--display); margin: 0 0 10px; }
.pull cite { font-style: normal; color: var(--soft); font-size: 15px; }

/* Journal fairy prompt (member pages) */
.fairy { display: flex; gap: 14px; align-items: flex-start; background: #1f2146; border-left: 4px solid var(--lavender); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 20px; color: #e6dcf8; font-style: italic; }
.fairy .who { font-style: normal; font-weight: 700; color: var(--lavender); font-size: 15px; display: block; margin-bottom: 4px; }

/* Footer */
.site-footer { margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 36px 0 44px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: flex-start; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .disclaimer { flex-basis: 100%; max-width: 760px; font-size: 14px; line-height: 1.6; }

/* Review note (preview builds only) */
.review-note { position: fixed; right: 12px; bottom: 12px; z-index: 40; max-width: 300px; font: 13px/1.45 var(--body); background: rgba(0, 0, 0, 0.72); color: #fff; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); }
.review-note b { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Phones: a squarer banner keeps both dancers and more of the moon in view */
@media (max-width: 760px) {
  .banner { height: auto; min-height: 0; aspect-ratio: 1 / 1; }
  .banner video, .banner img { object-position: 30% center; } /* keeps Daniel, left of center in the beach clip, in frame */
  .banner-text { bottom: 18px; }
  .review-note { position: static; max-width: none; margin: 0 var(--gutter) 24px; }
}

/* Flow: a soft wave where the banner meets the page */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: 70px; color: var(--night); }
.banner-text { z-index: 2; }

/* Visually hidden but read by search engines and screen readers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tagline-soft { text-align: center; color: var(--accent); font-size: var(--step-1); letter-spacing: 0.02em; margin: 0 0 18px; }

/* Words over the banner video */
.banner-words { position: absolute; left: 0; right: 0; bottom: 64px; z-index: 2; margin: 0; padding: 0 var(--gutter); text-align: center; font: 300 clamp(26px, 4vw, 52px)/1.2 var(--display); letter-spacing: 0.03em; color: var(--ink); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55); }
@media (max-width: 760px) { .banner-words { bottom: 36px; font-size: 24px; } }

/* "Read more": the rest of Daniel's welcome text, opened on request */
.more { margin: 0; }
.more summary { list-style: none; cursor: pointer; text-align: center; }
.more summary::-webkit-details-marker { display: none; }
.more .more-lead { display: block; font: 300 var(--step-2)/1.35 var(--display); color: var(--ink); margin-bottom: 12px; }
.more .more-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: 16px; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 8px 18px; }
.more .more-link::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2.8px) rotate(45deg); transition: transform 0.2s; }   /* centered in the pill (Michael 11/8): its ink sits 2.8px below the square's middle */
.more[open] .more-link::after { transform: translateY(2.8px) rotate(-135deg); }
.more summary:hover .more-link { background: rgba(255, 255, 255, 0.06); }
.more[open] .more-link { font-size: 0; gap: 0; padding: 10px 14px; }
.more[open] .more-link::before { content: "Show less"; font-size: 16px; margin-right: 8px; }
.more .more-body { margin-top: 26px; }

/* Name and tagline stacked beside the logo in the top bar (Daniel, 2026-10-09) */
.logo-text { display: flex; flex-direction: column; gap: 5px; }
.logo-name { line-height: 1; }
.logo-tag { font: 400 13px/1.2 var(--body); letter-spacing: 0.04em; color: var(--accent); }
/* Signed in on a public page (Michael 11/9): the member's M beside Menu; on phones a smaller logo makes room for it */
.site-header.has-me .avatar-btn { flex: 0 0 auto; margin-left: 10px; }
@media (max-width: 420px) { .site-header.has-me .logo { font-size: 22px; gap: 6px; } .site-header.has-me .logo img { width: 40px; } .site-header.has-me .logo-tag { font-size: 9.5px; } .site-header.has-me .menu-btn { padding: 7px 10px; margin-left: auto; } .site-header.has-me .avatar-btn { width: 36px; height: 36px; margin-left: 8px; } }
@media (max-width: 760px) { .logo-tag { font-size: 11px; letter-spacing: 0.02em; } }

/* Inner page header: a shorter movement animation with the page title */
.page-banner { position: relative; height: clamp(260px, 38vw, 460px); overflow: hidden; }
.page-banner video, .page-banner .banner-img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.55) 100%); }
.page-banner-text { position: absolute; left: 0; right: 0; bottom: 70px; z-index: 2; text-align: center; padding: 0 var(--gutter); }
.page-banner-text h1 { font-size: var(--step-4); margin: 0; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5); }
.page-banner-text p { margin: 6px 0 0; color: var(--ink); font-size: var(--step-1); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); }
@media (max-width: 760px) { .page-banner-text { bottom: 44px; } }

/* About */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person { text-align: center; }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font: 300 40px var(--display); color: var(--soft); border: 2px dashed var(--line); }
.person .role { color: var(--accent); font-weight: 700; margin: 0 0 8px; }
.muted-note { color: var(--muted); font-style: italic; font-size: 16px; }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } }

/* Pricing */
.price-big { font: 300 clamp(40px, 5vw, 56px)/1 var(--display); margin: 4px 0 18px; color: var(--ink); }
.price-big .per { font-size: 18px; color: var(--soft); }
.price-big .amt { font-size: inherit; color: var(--ink); }
.fine { color: var(--muted); font-size: 15px; margin-top: 18px; }
.faq { border-bottom: 1px solid var(--line); padding: 16px 4px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq[open] summary::after { content: "\2212"; }
.faq p { color: var(--soft); margin: 12px 0 4px; }

/* Sign in */
.signin-scene { position: relative; min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; overflow: hidden; padding: 48px var(--gutter); }
.signin-scene > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; object-position: center 0%; }
/* Daniel 11/10: the heart moon at the top of the video shows above the card */
.signin-scene { padding-top: clamp(48px, 17vh, 170px); }
.signin-wrap { position: relative; z-index: 1; width: 100%; max-width: 460px; display: grid; gap: 20px; }
.signin-card { background: rgba(10, 12, 32, 0.72); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); text-align: center; }
.signin-logo { width: 84px; margin: 0 auto 10px; }
.signin-card h1 { font-size: var(--step-3); margin-bottom: 8px; }
.signin-card h2 { font-size: var(--step-2); margin-bottom: 8px; }
.signin-sub { color: var(--soft); font-size: 16px; }
.field-label { display: block; text-align: left; font-weight: 700; font-size: 15px; margin: 18px 0 6px; }
.field { width: 100%; font: 17px var(--body); padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.08); color: var(--ink); }
.field::placeholder { color: var(--muted); }
.field:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.check { display: flex; align-items: center; gap: 10px; text-align: left; margin: 14px 0 20px; color: var(--soft); font-size: 16px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.btn-block { width: 100%; }
.state-label { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent-ink); background: var(--accent); border-radius: var(--radius-pill); padding: 5px 12px; margin-bottom: 10px; }
.signin-after { opacity: 0.92; }
.quote-inline { margin: 28px 0 32px; text-align: center; }
.quote-closing { max-width: 640px; margin: 0 auto; text-align: center; }

/* About: story and bios */
.byline { color: var(--accent); margin-top: -6px; }
.story-first { font-size: var(--step-1); color: var(--ink); }
.story-list { color: var(--soft); padding-left: 1.2em; margin: 0 0 1.1em; }
.story-list li { margin-bottom: 8px; }
.people { align-items: start; }
@media (min-width: 761px) { .people { grid-template-columns: repeat(2, 1fr); } }
.person-photo { width: 160px; height: 160px; border-radius: 50%; margin: 0 auto 16px; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.4); }
.person .bio { text-align: left; color: var(--soft); font-size: 16px; }
.person .amp { color: var(--accent); }
.more summary .more-link { margin-top: 4px; }

/* Legal pages */
.legal h2 { font-size: var(--step-2); margin: 36px 0 10px; }
.legal p, .legal li { color: var(--soft); }
.legal ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.legal li { margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 15px; }
.draft-note { background: rgba(169, 214, 255, 0.1); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; color: var(--ink) !important; font-size: 16px; }
mark.blank { background: rgba(255, 214, 120, 0.25); color: var(--ink); padding: 0 4px; border-radius: 4px; }
.media-slot { aspect-ratio: 16 / 9; margin-top: 18px; font-size: 15px; }
.section .wrap > .lead:last-child { margin-bottom: 0; } /* even spacing around the Amy clip (Daniel, 10/10) */

/* Monthly / yearly switch on Pricing */
.billing-toggle { display: flex; justify-content: center; gap: 6px; margin: 0 auto 26px; padding: 5px; width: max-content; max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius-pill); }
.billing-toggle .bt { font: 700 15px var(--body); color: var(--soft); background: transparent; border: 0; border-radius: var(--radius-pill); padding: 10px 20px; cursor: pointer; }
.billing-toggle .bt[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.price-alt { color: var(--ink); font-size: 18px; font-weight: 600; margin: -8px 0 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 30px; line-height: 30px; }
.price-alt.price-or { margin-top: -14px; font-weight: 400; }   /* home: the monthly price under the yearly one (Daniel 11/17) */
.save-badge { font-size: 14px; line-height: 22px; font-weight: 700; color: var(--accent-ink); background: var(--accent); border-radius: var(--radius-pill); padding: 4px 12px; }
.save-badge[hidden] { display: none; }

/* ===== Member area (batch 2) ===== */
.member-nav { display: flex; gap: 22px; }
.member-nav a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
.member-nav a:hover { color: var(--ink); }
.member-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.avatar-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-weight: 700; color: var(--accent-ink); background: var(--accent); }
.tabbar { display: none; }
@media (max-width: 760px) {
  .member-nav { display: none; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; justify-content: space-around; background: rgba(12, 10, 32, 0.96); border-top: 1px solid var(--line); padding: 8px 4px calc(8px + env(safe-area-inset-bottom)); }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 600; }
  .tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
  .tabbar a[aria-current="page"] { color: var(--accent); }
  .member .site-footer { padding-bottom: calc(44px + 64px + env(safe-area-inset-bottom)); }   /* clear of the tab bar (review 11/5: on main it left a gap above the share nudge) */
  .member .review-note { margin-bottom: 86px; }
}
.member-footer { margin-top: 30px; }
.member-footer .wrap { justify-content: center; text-align: center; }
.member-footer nav { justify-content: center; }

/* Short header animation on member screens */
.page-banner.short { height: clamp(180px, 24vw, 300px); }
.page-banner.short .page-banner-text { bottom: 46px; }
.page-banner.short h1 { font-size: var(--step-3); }
/* Daniel 11/8: "What's your heart telling you about..." in italics just under the page's title */
.page-heart { text-align: center; margin: 14px auto 0; padding: 0 var(--gutter); max-width: 46rem; font: italic 400 var(--step-1)/1.4 var(--body); color: var(--lavender); }

/* Common member blocks */
.greet { font: 300 var(--step-3)/1.15 var(--display); margin: 0 0 6px; }
.sub-date { color: var(--accent); font-weight: 700; margin: 0 0 24px; }
.stack { display: grid; gap: 18px; }
.lock-card { display: flex; gap: 16px; align-items: center; border: 1px dashed rgba(169, 214, 255, 0.45); border-radius: var(--radius); padding: 18px 22px; background: rgba(169, 214, 255, 0.06); }
.lock-card .lock-ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(169, 214, 255, 0.16); color: var(--accent); font-size: 20px; }
.lock-card h3 { font-size: 20px; margin: 0 0 2px; }
.lock-card p { margin: 0; color: var(--soft); font-size: 15px; }
.lock-card a { margin-left: auto; white-space: nowrap; }
.alert-card { border-radius: var(--radius); padding: 16px 20px; background: linear-gradient(90deg, rgba(205, 185, 255, 0.18), rgba(169, 214, 255, 0.12)); border: 1px solid rgba(205, 185, 255, 0.35); }
.alert-card b { color: var(--ink); }
.kv { color: var(--muted); font-size: 14px; letter-spacing: 0.02em; margin: 0 0 4px; font-weight: 700; }
.sabian-line { font: 300 var(--step-1)/1.4 var(--display); color: var(--ink); margin: 0; }
.sabian-line::before { content: "\201C"; } .sabian-line::after { content: "\201D"; }
.note-small { color: var(--muted); font-size: 14px; }
.sample-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 2px 9px; margin-left: 8px; vertical-align: middle; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } .lock-card { flex-wrap: wrap; } .lock-card a { margin-left: 0; } }

/* Forms */
.form-card { max-width: 520px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.suggest { margin: 6px 0 0; padding: 6px; list-style: none; border: 1px solid var(--line); border-radius: 14px; background: rgba(20, 16, 50, 0.95); text-align: left; }
.suggest li { padding: 9px 12px; border-radius: 10px; color: var(--soft); font-size: 15px; }
.suggest li:first-child { background: rgba(169, 214, 255, 0.12); color: var(--ink); }
.field-hint { text-align: left; color: var(--muted); font-size: 14px; margin: 6px 0 0; }
textarea.field { min-height: 140px; resize: vertical; line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 7px 14px; color: var(--soft); font-size: 15px; background: transparent; cursor: pointer; font-family: var(--body); }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }

/* Member blocks: tiles as links */
a.tile { display: block; text-decoration: none; color: inherit; }
a.tile:hover { border-color: var(--accent); }

/* Placement list (My chart) */
.placements { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.placements a { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; background: rgba(28, 24, 64, 0.62); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; padding: 14px 18px; }
.placements a:hover { border-color: var(--accent); }
.placements .glyph { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--accent); background: rgba(169, 214, 255, 0.1); font-weight: 700; }
.placements .pl-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.placements .pl-head { color: var(--ink); font-size: 17px; }
.placements .pl-deg { color: var(--accent); font-weight: 700; }
.placements .pl-house { color: var(--soft); }
.placements .pl-sabian { color: var(--soft); font-size: 15px; }
.placements .chev { color: var(--muted); font-size: 26px; }

/* Locked video preview (One placement) */
.locked-video { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.locked-video img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.45) blur(2px); }
.locked-over { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px; }
.locked-over p { margin: 0; color: var(--ink); max-width: 340px; }
.locked-over .lock-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(169, 214, 255, 0.2); color: var(--accent); font-size: 22px; }

/* Fairytale exercise */
.fairy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fairy-grid .card { padding: 18px 20px; }
.pieces { margin: 0; color: var(--ink); }
@media (max-width: 560px) { .fairy-grid { grid-template-columns: 1fr; } }

/* Moon phase icons, drawn with CSS: dark disc, moonlit part in pearl */
.moon-ico { display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: #2c2a55; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); vertical-align: middle; }
.moon-ico.m1 { box-shadow: inset -7px 0 0 0 #ece7ff; }
.moon-ico.m2 { background: linear-gradient(90deg, #2c2a55 50%, #ece7ff 50%); }
.moon-ico.m3 { background: #ece7ff; box-shadow: inset 6px 0 0 0 #2c2a55; }
.moon-ico.m4 { background: #ece7ff; box-shadow: 0 0 10px rgba(236, 231, 255, 0.6); }
.moon-ico.m5 { background: #ece7ff; box-shadow: inset -6px 0 0 0 #2c2a55; }
.moon-ico.m6 { background: linear-gradient(90deg, #ece7ff 50%, #2c2a55 50%); }
.moon-ico.m7 { box-shadow: inset 7px 0 0 0 #ece7ff; }
.phase-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.phase-strip .ph { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 12px; color: var(--muted); padding: 10px 2px; border-radius: 14px; }
.phase-strip .ph.now { background: rgba(169, 214, 255, 0.12); color: var(--ink); font-weight: 700; }
@media (max-width: 560px) { .phase-strip { grid-template-columns: repeat(4, 1fr); } }

/* Monday: 4:3 movement video */
.media-43 video { aspect-ratio: 4 / 3; object-fit: cover; }

/* Journal */
.day-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day-strip .day { display: grid; justify-items: center; gap: 5px; padding: 10px 2px; border-radius: 14px; text-decoration: none; color: var(--muted); font-size: 13px; border: 1px solid transparent; }
.day-strip .day b { color: var(--soft); font-size: 16px; }
.day-strip .day.now { border-color: var(--accent); background: rgba(169, 214, 255, 0.1); color: var(--ink); }
.day-strip .day.now b { color: var(--ink); }
.entry-tabs { display: flex; gap: 8px; justify-content: center; }
.journal-page { background: linear-gradient(180deg, rgba(40, 34, 84, 0.7), rgba(28, 24, 64, 0.62)); }
.emo-grid { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; }
.emo-label { color: var(--soft); font-weight: 700; font-size: 15px; }
.dream-preview summary { list-style: none; }
.dream-preview summary::-webkit-details-marker { display: none; }

/* Transits */
.transit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tr-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; color: var(--ink); font-size: 17px; }
.tr-state { font-size: 13px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 2px 10px; white-space: nowrap; }
.tr-state.on { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.tr-group { margin: 22px 0 10px; }   /* plan K: My transits live */
#mine > .tr-group:first-child { margin-top: 0; }
.tr-head b { overflow-wrap: anywhere; min-width: 0; }
.tr-note { margin: 8px 0 0; color: var(--soft); overflow-wrap: anywhere; }
.tr-row.is-past { opacity: 0.75; }
.tr-actions { margin-top: 10px; }
#mine, #add { scroll-margin-top: 110px; }
/* A soft ring so a dark New Moon still reads as a moon */
.moon-today .moon-media { box-shadow: 0 0 0 2px rgba(205, 185, 255, 0.35), 0 0 60px rgba(205, 185, 255, 0.3); }

/* My chart: the moon phase you were born under */
.born-phase { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.born-phase .moon-media { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px rgba(205, 185, 255, 0.35), 0 0 50px rgba(205, 185, 255, 0.28); }
.born-phase .moon-media video { width: 100%; height: 100%; object-fit: cover; }
.born-name { font: 300 var(--step-2)/1.15 var(--display); color: var(--ink); margin: 0 0 8px; }
.born-trad { font: 400 16px var(--body); color: var(--muted); margin-left: 6px; }
.keyword-pill { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); border-radius: var(--radius-pill); padding: 4px 12px; margin-bottom: 8px; }
.born-meaning { margin: 0; color: var(--soft); }
@media (max-width: 480px) { .born-phase { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* One placement: the sign card */
.sign-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.sign-glyph { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; color: var(--accent); background: rgba(169, 214, 255, 0.12); box-shadow: 0 0 0 1px rgba(169, 214, 255, 0.3); }
.sign-glyph.sm { width: 42px; height: 42px; font-size: 21px; }
.sign-name { font-size: var(--step-3); margin: 0; }
.sign-meta { margin: 2px 0 0; color: var(--muted); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; }
.theme-chips { list-style: none; margin: 8px 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.theme-chips li { background: rgba(205, 185, 255, 0.12); border: 1px solid rgba(205, 185, 255, 0.28); color: var(--ink); border-radius: var(--radius-pill); padding: 7px 14px; font-size: 15px; line-height: 1.3; }
.balance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.bal { display: flex; gap: 12px; align-items: flex-start; border-radius: 16px; padding: 16px 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.bal p:last-child { margin: 0; color: var(--ink); }
.bal-ico { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
.bal-ico svg { display: block; }
.bal-much .bal-ico { background: rgba(255, 190, 150, 0.18); color: #ffc49a; }
.bal-little .bal-ico { background: rgba(169, 214, 255, 0.16); color: var(--accent); }
.crosstrain { display: flex; gap: 16px; align-items: center; border-radius: 16px; padding: 16px 18px; background: linear-gradient(90deg, rgba(169, 214, 255, 0.14), rgba(205, 185, 255, 0.1)); border: 1px solid rgba(169, 214, 255, 0.3); }
.crosstrain p:last-child { margin: 0; color: var(--ink); }
.ct-pair { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.ct-arrows { color: var(--accent); font-size: 32px; line-height: 1; font-family: "Moonday Glyphs", "Segoe UI Symbol", "Noto Sans Symbols 2", "Apple Symbols", "DejaVu Sans", serif; font-variant-emoji: text; }
@media (max-width: 560px) { .balance-grid { grid-template-columns: 1fr; } .crosstrain { flex-direction: column; text-align: center; } }
.sign-glyph, .placements .glyph { font-family: "Moonday Glyphs", "Segoe UI Symbol", "Noto Sans Symbols 2", "Apple Symbols", "DejaVu Sans", serif; font-variant-emoji: text; }

/* Journal opening: Daniel's moonbeam clip, full screen, then fades into the journal (tap to skip). */
.journal-intro { position: fixed; inset: 0; z-index: 100; background: #05070f; cursor: pointer; transition: opacity 0.9s ease; }
.journal-intro video { width: 100%; height: 100%; object-fit: cover; display: block; animation: intro-in 0.7s ease both; }
.journal-intro.out { opacity: 0; pointer-events: none; }
.journal-intro-skip { position: absolute; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); font: 500 14px/1 var(--body); color: rgba(255, 255, 255, 0.85); background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--radius-pill); padding: 9px 16px; cursor: pointer; }
html.intro-open { overflow: hidden; }
@keyframes intro-in { from { opacity: 0; } to { opacity: 1; } }

/* Daniel, 2026-10-12: smaller type on the home page, paragraphs centered, "yin" in italics. */
.lead { font-size: clamp(22px, 2.5vw, 28px); }
.more .more-lead { font-size: clamp(22px, 2.5vw, 28px); letter-spacing: 0.02em; }
.lead i, .more-body i { font-style: italic; }
.more-body.center p { text-align: center; }
.moon-today.stacked { display: block; text-align: center; }
.moon-today.stacked .moon-media { margin: 0 auto 18px; }

/* Daniel, 2026-10-13: birth-phase intro, astrological-year card */
.born-intro { margin: 2px 0 12px; color: var(--soft); font-size: 16px; line-height: 1.55; }
.year-card .year-label { margin: 0 0 2px; font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 0.02em; }

/* About: Beliefs & assumptions and Beloved quotes (Daniel, 2026-10-13) */
.beliefs { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.beliefs li { position: relative; padding: 14px 18px 14px 46px; background: rgba(28, 24, 64, 0.62); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); line-height: 1.55; }
.beliefs li::before { content: "☾"; position: absolute; left: 17px; top: 13px; color: var(--accent); font-size: 18px; font-variant-emoji: text; }
.bq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 18px; }
.bq { margin: 0; padding: 22px 22px 20px; border-radius: var(--radius); background: rgba(28, 24, 64, 0.62); border: 1px solid rgba(255, 255, 255, 0.07); text-align: center; }
.bq blockquote { margin: 0; font: 300 19px/1.5 var(--display); color: var(--ink); }
.bq .bq-note { margin: 10px 0 0; font-size: 15px; color: var(--soft); }
.bq figcaption { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--sky, var(--accent)); }
.bq.long { grid-column: 1 / -1; text-align: left; }
.bq.long blockquote { font-size: 17px; }
.pl-deg, .pl-house { white-space: nowrap; } /* keep "21°40′12″" and "· 5th house" from breaking on phones */
/* Bright banners (the open storybook on About): a deeper shade under the title so it stays readable */
.page-banner.bright::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(10, 8, 30, 0.45) 70%, rgba(10, 8, 30, 0.8) 100%); }
.page-banner.bright .page-banner-text h1 { text-shadow: 0 2px 30px rgba(10, 8, 30, 0.85), 0 0 8px rgba(10, 8, 30, 0.5); }

/* ===== Batch 3: All Access pages (2026-10-14) ===== */
.placeholder.media-43 { aspect-ratio: 4 / 3; }
/* My movements */
.move-title { font-size: var(--step-2); margin: 0 0 14px; }
.cheer { margin: 14px 0 0; color: var(--ink); font-style: italic; text-align: center; }
.move-path { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mp { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(28, 24, 64, 0.62); }
.mp-dot { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: var(--muted); border: 1px solid var(--line); }
.mp-done .mp-dot { background: rgba(169, 214, 255, 0.16); color: var(--accent); border-color: transparent; }
.mp-now { border-color: var(--accent); background: rgba(169, 214, 255, 0.1); }
.mp-now .mp-dot { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.mp-next { opacity: 0.78; }
.mp-body { flex: 1; min-width: 0; }
.mp-body p { margin: 0; }
.mp-head { color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mp-head .sign-glyph.sm { width: 28px; height: 28px; font-size: 16px; }
.mp-detail { color: var(--soft); font-size: 15px; }
.mp-when { color: var(--muted); font-size: 14px; }
.mp .btn { flex: 0 0 auto; }
@media (max-width: 560px) { .mp { flex-wrap: wrap; } .mp-body { flex-basis: calc(100% - 48px); } .mp .btn { margin-left: 48px; } }
/* Library */
.lib-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lib-feature { text-decoration: none; color: inherit; display: block; transition: transform 0.2s, border-color 0.2s; }
.lib-feature:hover { transform: translateY(-2px); border-color: var(--accent); }
.lib-feature h3 { font-size: 22px; margin: 2px 0 4px; }
.lib-feature p:last-child { margin: 0; color: var(--soft); font-size: 15px; }
.lib-h { font-size: var(--step-2); margin: 10px 0 12px; text-align: center; }
.lib-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lib-head .lib-h { text-align: left; margin: 10px 0; }
.lesson-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lesson { text-decoration: none; display: grid; gap: 4px; padding: 18px 20px; }
.lesson b { color: var(--ink); font-size: 18px; }
.lesson span { color: var(--soft); font-size: 15px; }
.sign-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.sign-tile { position: relative; display: grid; justify-items: center; gap: 6px; padding: 16px 8px; border-radius: 16px; border: 1px solid var(--line); background: rgba(28, 24, 64, 0.62); cursor: pointer; text-align: center; }
.sign-tile b { color: var(--ink); font-size: 15px; }
.sign-tile .sign-glyph { width: 48px; height: 48px; font-size: 24px; }
.sign-tile input { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; accent-color: #a9d6ff; display: none; }
.b2b-on .sign-tile input { display: block; }
.b2b-on .sign-tile:has(input:checked) { border-color: var(--accent); background: rgba(169, 214, 255, 0.12); }
.b2b-note { text-align: center; margin: 12px 0 0; }
.phase-strip a.ph { text-decoration: none; }
.coming .chip { cursor: default; }
@media (max-width: 860px) { .lib-row, .lesson-grid { grid-template-columns: 1fr 1fr; } .sign-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .lib-row, .lesson-grid { grid-template-columns: 1fr; } .sign-grid { grid-template-columns: repeat(3, 1fr); } }
/* Audio */
.player-title { font: 300 var(--step-1)/1.3 var(--display); color: var(--ink); margin: 0 0 14px; }
.player-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.player-bar span { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.player-time { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 6px; }
.player-ctrls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 10px; }
.pc { min-width: 44px; height: 44px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: transparent; color: var(--ink); font: 700 15px/1 var(--body); padding: 0 14px; cursor: pointer; }
.pc-main { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-size: 18px; }
.talk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.talk { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.talk-play { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: rgba(169, 214, 255, 0.14); font-size: 14px; }
.talk.playing { border-color: var(--accent); }
.talk.playing .talk-play { background: var(--accent); color: var(--accent-ink); }
.talk-body { flex: 1; display: grid; gap: 2px; min-width: 0; }
.talk-body b { color: var(--ink); }
.talk-body span { color: var(--soft); font-size: 15px; }
.talk-len { flex: 0 0 auto; color: var(--muted); font-size: 14px; white-space: nowrap; }
.free-tag { color: var(--accent); font-weight: 700; }
@media (max-width: 560px) { .talk { flex-wrap: wrap; } .talk-len { margin-left: 54px; } }
/* My Fairytale Journey */
.journey-board { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; }
.journey-board img { width: 100%; height: auto; border-radius: 14px; display: block; }
.jb-key p { margin: 0 0 14px; color: var(--ink); }
.jb-pin { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent-ink); background: var(--accent); border-radius: var(--radius-pill); padding: 3px 10px; margin-right: 6px; }
.jb-pin.jb-finish { background: var(--lavender); }
.cycle-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cycle { display: flex; gap: 16px; align-items: center; }
.cycle .sign-glyph { width: 52px; height: 52px; font-size: 26px; }
.cycle-name { font: 300 var(--step-1)/1.3 var(--display); color: var(--ink); margin: 0 0 4px; }
.cycle-now { border-color: var(--accent); background: rgba(169, 214, 255, 0.1); }
.cycle-next { opacity: 0.8; }
.ph-dates { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
@media (max-width: 620px) { .journey-board { grid-template-columns: 1fr; } .journey-board img { max-width: 280px; margin: 0 auto; } }
/* You Are Here! */
.here-card { display: flex; gap: 22px; align-items: center; }
.here-card .moon-media { flex: 0 0 auto; width: 130px; height: 130px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px rgba(205, 185, 255, 0.35), 0 0 60px rgba(205, 185, 255, 0.3); }
.here-card .moon-media video { width: 100%; height: 100%; object-fit: cover; }
.here-card > div:last-child { flex: 1; }
.here-dates { margin: 2px 0 10px; color: var(--soft); }
.here-dates b { color: var(--accent); }
.here-bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.here-bar span { display: block; height: 100%; background: linear-gradient(90deg, #cdb9ff, #a9d6ff); }
.advice-card { border-left: 4px solid var(--accent); }
@media (max-width: 560px) { .here-card { flex-direction: column; text-align: center; } }
/* Putting it all together */
.together { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.board-wrap { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.board-wrap img { width: 100%; height: auto; display: block; }
.pin { position: absolute; transform: translate(-50%, -50%); text-decoration: none; display: grid; justify-items: center; }
.pin .sign-glyph { width: 46px; height: 46px; font-size: 22px; background: #f6f2ff; color: #2c2a55; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
.pin-now .sign-glyph { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 4px rgba(169, 214, 255, 0.5), 0 2px 12px rgba(0, 0, 0, 0.4); }
.pin-next .sign-glyph { opacity: 0.75; }
.pin-here { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent); border-radius: var(--radius-pill); padding: 3px 9px; white-space: nowrap; }
.together-key { gap: 10px; }
.key-cycle { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; }
.key-cycle .sign-glyph { width: 42px; height: 42px; font-size: 20px; }
.key-cycle b { color: var(--ink); }
.key-cycle.now { border-color: var(--accent); background: rgba(169, 214, 255, 0.1); }
.here-tag { font-size: 13px; font-weight: 700; color: var(--accent); }
.key-end .cycle-name { margin-bottom: 2px; }
.key-end.finish { border-color: rgba(195, 177, 232, 0.5); }
/* Daniel 11/4: the Nodes' Sabian symbols, a "See more" on each card (his themes for the sign), the guides below.
   The cards hold a drop-down now, so only the cycle's name is the link (no whole-card hover lift). */
.key-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(143, 211, 207, 0.55); text-decoration-thickness: 1px; text-underline-offset: 4px; } /* still a link, on a phone too (review) */
.key-link:hover, .key-link:focus-visible { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.key-text { min-width: 0; }
.key-sabian { margin: 0 0 4px; }
.see-more { margin-top: 6px; }
.see-more summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; color: var(--accent); font-size: 14px; font-weight: 700; }
.see-more summary::-webkit-details-marker { display: none; }
.see-more summary::after { content: "+"; font-size: 17px; line-height: 1; }
.see-more[open] summary::after { content: "\2212"; }
.see-more p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--soft); }
.see-more .see-more-links { font-size: 14px; }
.see-more-links a { color: var(--accent); }
.key-guides { margin-top: 28px; }
.key-guide-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
@media (max-width: 860px) { .together { grid-template-columns: 1fr; } .board-wrap { max-width: 460px; margin: 0 auto; width: 100%; } }
@media (max-width: 420px) { .pin .sign-glyph { width: 36px; height: 36px; font-size: 18px; } }
/* Book a session */
.book-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.session-list { display: grid; gap: 10px; }
.session { display: flex; gap: 14px; align-items: center; cursor: pointer; padding: 16px 18px; }
.session input { accent-color: #a9d6ff; width: 18px; height: 18px; flex: 0 0 auto; }
.session > span:nth-of-type(1) { flex: 1; display: grid; gap: 2px; }
.session b { color: var(--ink); }
.session span span { color: var(--soft); font-size: 15px; }
.price-tag { font-weight: 700; color: var(--accent); }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: var(--ink); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-w { font-size: 13px; color: var(--muted); font-weight: 700; }
.cal-d { aspect-ratio: 1; border-radius: 50%; border: 0; background: transparent; color: rgba(255, 255, 255, 0.28); font: 400 15px/1 var(--body); }
.cal-d.open { color: var(--ink); background: rgba(169, 214, 255, 0.1); cursor: pointer; }
.cal-d.on { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.book-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; color: var(--soft); }
.book-total b { font: 300 var(--step-2)/1 var(--display); color: var(--ink); }
.cal-grid { max-width: 420px; margin: 0 auto; }
.cal-head { max-width: 420px; margin-left: auto; margin-right: auto; }
/* "Share Moonday with a friend" above the footer (Daniel 11/5) */
.share-nudge { padding: 8px 0 30px; }
.share-card { display: flex; align-items: center; gap: 18px; max-width: 760px; margin: 0 auto; padding: 16px 22px; border-radius: 22px; border: 1px solid rgba(195, 177, 232, 0.35); background: rgba(195, 177, 232, 0.08); }
.share-card img { width: 72px; height: 72px; flex: none; }
.share-words { flex: 1; min-width: 0; }
.share-h { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 400; line-height: 1.3; color: var(--ink); }
.share-sub { margin: 2px 0 0; font-size: 15px; color: var(--soft); }
.share-do { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.share-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.share-menu[hidden] { display: none; }
@media (max-width: 600px) { .share-card { flex-direction: column; text-align: center; } .share-do, .share-menu { align-items: center; justify-content: center; } }
.member-footer .disclaimer { max-width: none; margin: 0; } /* the copyright line sits centered under the links, not floating beside them */
/* Hover on clickable cards (Michael, 10/14): lift, light-blue edge, and the sign glyph lights up */
.sign-tile, .lesson, .session, .talk, .lib-feature { transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.sign-tile .sign-glyph { transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.sign-tile:hover, .lesson:hover, .session:hover, .talk:hover { transform: translateY(-2px); border-color: var(--accent); background: rgba(169, 214, 255, 0.1); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3); }
.sign-tile:hover .sign-glyph { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 18px rgba(169, 214, 255, 0.55); }
.sign-tile:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .sign-tile:hover, .lesson:hover, .session:hover, .talk:hover, .lib-feature:hover { transform: none; } }
.bq .bq-by { color: var(--sky, var(--accent)); font-weight: 700; font-size: 14px; }
.more-media { margin: 22px auto 28px; max-width: 560px; }
.closing-move { padding-top: 0; }
.now-tag { display: inline-block; margin: 0 0 12px; font: 700 16px/1 var(--body); letter-spacing: 0.02em; color: var(--accent-ink); background: linear-gradient(90deg, #cdb9ff, #a9d6ff); border-radius: var(--radius-pill); padding: 8px 16px; } /* Michael 10/14: bigger, in color */
/* Library (Michael, 10/15): every clickable box gets the same hover as the sign tiles */
.lib-feature:hover { background: rgba(169, 214, 255, 0.1); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3); }
.phase-strip a.ph { transition: transform 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s; border: 1px solid transparent; }
.phase-strip a.ph:hover { transform: translateY(-2px); background: rgba(169, 214, 255, 0.1); border-color: var(--accent); color: var(--ink); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3); }
.phase-strip a.ph:hover .moon-svg { filter: drop-shadow(0 0 8px rgba(169, 214, 255, 0.7)); }
@media (prefers-reduced-motion: reduce) { .phase-strip a.ph:hover { transform: none; } }
/* Win over the Aurora card colors so card-style boxes show the same hover as the sign tiles */
body .lib-feature:hover, body .lesson:hover, body .session:hover, body .talk:hover { border-color: var(--accent); background: rgba(169, 214, 255, 0.1); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3); }
/* The chosen session stays lit just like the hover (Michael 11/1) */
body .session.on, body .session:has(input:checked) { transform: translateY(-2px); border-color: var(--accent); background: rgba(169, 214, 255, 0.1); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3); }
@media (prefers-reduced-motion: reduce) { body .session.on, body .session:has(input:checked) { transform: none; } }
/* The "now" pill everywhere something is happening now (Michael, 10/15) */
.now-tag.sm { font-size: 14px; padding: 6px 13px; margin: 2px 0 8px; }
.here-dates .now-tag.sm { margin: 0 0 0 8px; vertical-align: middle; }
.key-cycle .now-tag.sm { margin: 8px 0 0; }
/* Booking steps (Michael, 10/15): bigger, with a numbered pastel circle */
.step-h { display: flex; align-items: center; gap: 12px; font: 300 var(--step-1)/1.2 var(--display); color: var(--ink); margin: 0 0 14px; letter-spacing: 0; }
.step-n { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 17px/1 var(--body); color: var(--accent-ink); background: linear-gradient(135deg, #cdb9ff, #a9d6ff); box-shadow: 0 4px 14px rgba(169, 214, 255, 0.3); }
/* The Moon Flow fairies (Daniel, 10/16) */
.flow-full { max-width: 560px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.flow-full video { width: 100%; aspect-ratio: 1; display: block; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.flow-tile { display: block; text-decoration: none; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: rgba(28, 24, 64, 0.62); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.flow-tile video { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.flow-name { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 8px 12px; color: var(--ink); font-size: 15px; font-weight: 700; }
.flow-tile:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3); }
.flow-feature { max-width: 440px; margin: 0 auto; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.flow-feature video { width: 100%; aspect-ratio: 1; display: block; }
@media (max-width: 760px) { .flow-grid { grid-template-columns: repeat(2, 1fr); } }
/* Energy and Focus under the fairy (Daniel, 10/21) */
.ef { margin-top: 14px; }
.ef p { margin: 0 0 8px; color: var(--ink); }
.ef p:last-child { margin-bottom: 0; }
.ef b { display: block; font: 700 13px/1.2 var(--body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.focus-pill { display: inline-block; font-size: 15px; font-weight: 700; color: var(--accent-ink); background: linear-gradient(90deg, #cdb9ff, #a9d6ff); border-radius: 999px; padding: 4px 12px; }
.ef.sm { margin: 0; padding: 0 12px 14px; text-align: left; }
.ef.sm p { font-size: 14px; line-height: 1.45; color: var(--soft); }
.ef.sm b { font-size: 11px; margin-bottom: 5px; }
.ef.sm .focus-pill { font-size: 13px; padding: 3px 10px; }
.fairy-today { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 26px; align-items: center; }
.fairy-today .flow-feature { margin: 0; width: 100%; }
.fairy-today .ef { margin-top: 6px; }
@media (max-width: 760px) { .fairy-today { grid-template-columns: 1fr; } .fairy-today .flow-feature { max-width: 340px; margin: 0 auto; } }
@media (max-width: 520px) { .flow-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .flow-tile:hover { transform: none; } }

/* Widened banners (Daniel, 10/16): clips with people were widened (AI added scenery around Daniel's untouched
   video), so they run full width and tall enough to show the whole body. Scenery banners keep the short strip. */
.page-banner.full, .page-banner.full.short { height: clamp(260px, 40vw, 720px); }
/* Daniel 11/16: the Vault's treasure chest fades in from the night, then loops */
.page-banner.fadein { background: #000; }
.page-banner.fadein video { animation: banner-fade 2.4s ease-out both; }
@keyframes banner-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .page-banner.fadein video { animation: none; } }
.page-banner.full video, .page-banner.full .banner-img { object-position: center 40%; }
@media (max-width: 760px) { .page-banner.full, .page-banner.full.short { height: 72vw; } }
.jeff-talk .placeholder { margin: 10px 0 14px; }
/* Whole-frame banners (Daniel, 10/17): the eagle and the long view show the entire 16:9 video, like the home banner */
.page-banner.whole, .page-banner.whole.short { height: min(56.25vw, 1000px); }
@media (max-width: 760px) { .page-banner.whole, .page-banner.whole.short { height: 72vw; } }
.home-closing-cta { margin-top: 26px; }
.about-story-h { color: var(--accent); }

/* ---------- Batch 4 (10/17): Account, Admin, the emails ---------- */
/* Account */
.acct-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.acct-row > span:first-child { display: grid; gap: 2px; color: var(--ink); min-width: 0; }
.acct-switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.acct-card .kv + .acct-switch { border-top: 0; padding-top: 4px; }
.acct-switch > span { display: grid; gap: 2px; color: var(--ink); }
.acct-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.acct-switch i { flex: 0 0 auto; width: 50px; height: 28px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); position: relative; transition: background 0.2s; }
.acct-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.acct-switch input:checked + i { background: var(--accent); }
.acct-switch input:checked + i::after { transform: translateX(22px); }
.acct-switch input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.acct-delete summary { cursor: pointer; color: var(--muted); font-weight: 700; list-style: none; text-align: center; }
.acct-delete summary::-webkit-details-marker { display: none; }
.acct-delete[open] summary { color: #ffb4b4; }
.btn-danger { background: transparent; color: #ffb4b4; border-color: #ffb4b4; }
.btn-danger:hover { background: #ffb4b4; color: #2a0d14; }

/* Admin */
.admin-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.admin-h { font-size: var(--step-3); margin: 0; }
.admin-nav { position: sticky; top: 96px; z-index: 5; }
.admin-nav .chip { text-decoration: none; }
.admin .card { scroll-margin-top: 110px; }
.admin-sec { font-size: var(--step-2); margin: 0 0 12px; }
.admin-sec .note-small { font-family: var(--body); font-size: 14px; color: var(--muted); margin-left: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 2px; }
.stat b { font: 300 34px/1 var(--display); color: var(--ink); }
.stat span { color: var(--soft); font-weight: 700; }
.stat i { font-style: normal; color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
.mini-bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 140px; margin-top: 18px; }
.mini-bars span { height: var(--h); min-height: 24px; background: linear-gradient(180deg, var(--accent), var(--lavender)); border-radius: 10px 10px 4px 4px; position: relative; opacity: 0.85; }
.mini-bars em { position: absolute; top: -20px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 13px; color: var(--soft); }
.mini-bars b { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--muted); font-weight: 400; }
.mini-bars { margin-bottom: 24px; }
.field.area { resize: vertical; line-height: 1.55; min-height: 90px; display: block; }
.announce-preview { background: linear-gradient(90deg, rgba(169, 214, 255, 0.22), rgba(205, 185, 255, 0.22)); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; color: var(--ink); }
.announce-preview a { margin-left: 6px; }
.admin-list { list-style: none; margin: 0; padding: 0; }
.admin-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.admin-list li:first-child { border-top: 0; }
.admin-list li > span:first-of-type { display: grid; gap: 2px; color: var(--ink); flex: 1 1 220px; min-width: 0; }
.media-list img { width: 96px; height: 54px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.dropzone { margin-top: 14px; border: 2px dashed var(--line); border-radius: 18px; padding: 22px; text-align: center; color: var(--soft); display: grid; gap: 4px; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.admin-table th { text-align: left; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.admin-table td { padding: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); color: var(--ink); }

/* Email review page */
.email-card { padding: 22px; }
.email-when { margin: 0 0 12px; color: var(--soft); }
.email-inbox { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; background: rgba(255, 255, 255, 0.06); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-size: 15px; overflow: hidden; }
.email-from { font-weight: 700; color: var(--ink); flex: 0 0 auto; }
.email-subj { color: var(--ink); min-width: 0; }
.email-subj span { color: var(--muted); }
.email-frame { width: 100%; height: 900px; border: 0; border-radius: 14px; background: #efecf7; display: block; }
.stack > * { min-width: 0; } /* wide tables and long subject lines scroll inside their card instead of widening the page */
@media (max-width: 760px) { .admin-nav { position: static; } }
a.chip { text-decoration: none; }
/* Sign sounds and emojis (Daniel, 10/18) */
.tile-sound { font-size: 14px; color: var(--soft); line-height: 1.2; }
.say-it { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: rgba(205, 185, 255, 0.1); border: 1px solid var(--line); }
.say-it p { margin: 0; color: var(--ink); }
.say-emoji { font-size: 34px; line-height: 1; flex: 0 0 auto; }
.say-card { margin-top: 18px; }
.say-quote { font: 300 var(--step-1)/1.45 var(--display); color: var(--ink); margin: 4px 0 12px; }
/* Account boxes (Michael, 10/18): real headings for each box; the member's own details in light blue */
.acct-h { font: 400 22px/1.25 var(--display); color: var(--ink); margin: 0 0 14px; letter-spacing: 0.01em; }
.acct-val { color: var(--accent); font-size: 15px; }
.acct-delete summary { font-family: var(--display); font-weight: 400; font-size: 18px; }
.acct-card .acct-h { font-size: 22px; } /* beats the theme's general h2 size */
.acct-card .acct-h + .acct-switch { border-top: 0; padding-top: 4px; }
.acct-card .acct-h { font-size: 25px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
/* Admin pills (Michael, 10/18): white pills, and the chosen one in the button gradient */
.admin .chip { background: #ffffff; color: #2a2350; border-color: #ffffff; font-weight: 600; }
.admin .chip:hover { background: #eef4ff; border-color: #eef4ff; }
.admin .chip.on { background: linear-gradient(90deg, var(--accent), var(--lavender)); color: var(--accent-ink); border-color: transparent; font-weight: 700; box-shadow: 0 0 0 2px rgba(169, 214, 255, 0.55), 0 4px 14px rgba(169, 214, 255, 0.35); }
/* Formatting toolbar on Admin text boxes (Michael, 10/18) */
.fmt-bar { display: flex; gap: 4px; padding: 6px; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; background: rgba(255, 255, 255, 0.06); }
.fmt-bar button { display: inline-flex; align-items: center; gap: 6px; min-width: 36px; height: 34px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); font: 600 15px var(--body); cursor: pointer; }
.fmt-bar button:hover { background: rgba(255, 255, 255, 0.12); }
.fmt-bar button b, .fmt-bar button i { font-size: 17px; font-family: Georgia, serif; }
.fmt-bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fmt-bar span { font-size: 14px; color: var(--soft); }
.field.has-bar { border-radius: 0 0 14px 14px; }
.admin .chip { color: #3d2e8c; font-size: 16px; padding: 8px 17px; }
.admin .chip.on { color: var(--accent-ink); }
.admin .chips { gap: 10px 10px; }
.admin .sign-pills { display: grid; grid-template-columns: repeat(6, 1fr); }
.admin .sign-pills .chip { text-align: center; white-space: nowrap; padding-left: 8px; padding-right: 8px; }
@media (max-width: 900px) { .admin .sign-pills { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .admin .sign-pills { grid-template-columns: repeat(3, 1fr); } .admin .sign-pills .chip { font-size: 14px; } }
@media (max-width: 480px) { .admin .sign-pills { grid-template-columns: repeat(2, 1fr); } .admin .sign-pills .chip { font-size: 15px; } }
.admin .sign-pills .chip { min-width: 0; }
.admin .sign-pills { row-gap: 16px; }
.email-card .acct-h { font-size: 25px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
/* Box headings on the approved pages (Daniel approved 10/19): same look as the Account boxes */
.card .box-h { font: 400 25px/1.25 var(--display); color: var(--ink); letter-spacing: 0.01em; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.card .box-h .sample-tag { font-family: var(--body); vertical-align: middle; }
/* Home banner: the dark shore trimmed off the bottom of the ocean-and-rocks video (Daniel, 10/19) */
.banner.banner-trim { aspect-ratio: 2.1 / 1; }
.banner.banner-trim video { object-position: center 12% !important; }
@media (max-width: 760px) { .banner.banner-trim { aspect-ratio: 4 / 3; } .banner.banner-trim video { object-position: center 15% !important; } }
.banner.banner-trim { aspect-ratio: 2.6 / 1; }
.banner.banner-trim video { object-position: center 20% !important; }
@media (max-width: 760px) { .banner.banner-trim { aspect-ratio: 4 / 3; } .banner.banner-trim video { object-position: center 20% !important; } }
/* Home banner: the moonlit beach (Daniel, 10/29), a little taller on wide screens so the whole moon shows */
@media (min-width: 761px) { .banner.banner-trim.banner-beach { aspect-ratio: 2.2 / 1; } .banner.banner-trim.banner-beach video { object-position: center 0% !important; } }
/* Home: the Show more paragraph in the same light weight as the first paragraph (Daniel, 10/29) */
.theme-aurora .more .more-lead { font-weight: 200; }
/* Home "Free with your account" tile titles in the baby blue (Daniel, 10/19) */
.free-tiles .tile h3 { color: var(--sky, #a9d6ff); }
/* Live birth form: place suggestions as you type, and the "enter it by hand" section */
.place-pick { position: relative; }
.suggest.live li:first-child { background: none; color: var(--soft); }
.suggest.live li { cursor: pointer; }
.suggest.live li:hover, .suggest.live li.active { background: rgba(169, 214, 255, 0.12); color: var(--ink); }
.place-picked { color: var(--accent); }
.by-hand { margin-top: 18px; text-align: left; }
.by-hand summary { cursor: pointer; color: var(--accent); font-size: 15px; }
/* Journal extras (Daniel 10/21, approved): calendar views, color of the day, My story with this symbol */
.new-pill { display: inline-block; font: 700 13px/1 var(--body); color: var(--accent-ink); background: linear-gradient(90deg, #cdb9ff, #a9d6ff); border-radius: 999px; padding: 6px 12px; vertical-align: middle; }
.card .box-h .new-pill { margin-left: 8px; }
.cal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.view-switch .chip { min-width: 78px; }
.cal-head { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 12px; }
.cal-head b { font: 500 var(--step-1)/1.2 var(--display); color: var(--ink); min-width: 210px; text-align: center; }
.cal-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 22px; line-height: 1; padding: 0 0 3.5px; cursor: pointer; }   /* the arrow centered (Michael 11/8) */
.cal-arrow:hover:not([disabled]) { border-color: var(--accent); color: var(--accent); }
.cal-arrow[disabled] { opacity: 0.35; cursor: default; }
.swatch { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); flex: 0 0 auto; }
.c-bgold { background: #f7c843; color: #1b1530; }
.c-gold { background: #f2e2a0; color: #1b1530; }
.c-white { background: #f6f6f8; color: #1b1530; }
.c-gray { background: #c3c5ce; color: #1b1530; }
.c-dgray { background: #6c6f7a; color: #fff; }
.month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.mg-wd { text-align: center; color: var(--muted); font-size: 13px; font-weight: 700; padding-bottom: 2px; }
.mg-day { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 64px; border-radius: 12px; text-decoration: none; color: var(--soft); border: 1px solid var(--line); }
.mg-day b { font-size: 16px; }
.mg-day[class*=" c-"] { border-color: transparent; }
.mg-day.c-bgold, .mg-day.c-gold, .mg-day.c-white, .mg-day.c-gray { color: #1b1530; }
.mg-day.c-dgray { color: #fff; }
.mg-day.now { outline: 2px solid var(--accent); outline-offset: 2px; }
.mg-day:hover { border-color: var(--accent); }
.mg-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #9d7dff; }
.mg-day .mg-dot { position: absolute; top: 7px; right: 7px; }
.mg-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 14px; color: var(--soft); font-size: 14px; }
.mg-key span { display: inline-flex; align-items: center; gap: 6px; }
.mg-key .swatch { width: 14px; height: 14px; }
.week-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.week-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--soft); background: rgba(28, 24, 64, 0.45); }
.week-list li.now a { border-color: var(--accent); background: rgba(169, 214, 255, 0.1); }
.week-list a:hover { border-color: var(--accent); }
.wk-day { display: grid; gap: 2px; flex: 1; min-width: 0; }
.wk-day b { color: var(--ink); font-size: 16px; }
.wk-day span { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-color { font-size: 13px; color: var(--muted); white-space: nowrap; }
.day-colors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.day-color { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 14px; border: 1px solid var(--line); background: transparent; color: var(--soft); font-family: var(--body); cursor: pointer; }
.day-color .swatch { width: 30px; height: 30px; }
.day-color b { font-size: 14px; color: var(--ink); }
.day-color span { font-size: 12px; }
.day-color:hover { border-color: var(--accent); }
.day-color.on { border-color: var(--accent); background: rgba(169, 214, 255, 0.12); box-shadow: 0 0 0 1px var(--accent) inset; }
.story-list { list-style: none; margin: 0 0 18px; padding: 0 0 0 18px; border-left: 2px solid rgba(205, 185, 255, 0.45); display: grid; gap: 14px; }
.story-list li { position: relative; }
.story-list li::before { content: ""; position: absolute; left: -25px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, #cdb9ff, #a9d6ff); }
.story-date { display: block; color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.story-list p { margin: 0; color: var(--ink); }
.story-add { border-top: 1px solid var(--line); padding-top: 16px; }
.placements .story-count { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--accent-ink); background: linear-gradient(90deg, #cdb9ff, #a9d6ff); border-radius: 999px; padding: 3px 10px; }
@media (max-width: 560px) {
  .day-colors { grid-template-columns: repeat(3, 1fr); }
  .mg-day { min-height: 52px; border-radius: 10px; }
  .mg-day b { font-size: 14px; }
  .month-grid { gap: 4px; }
  .cal-head b { min-width: 0; font-size: 18px; }
  .wk-color { display: none; }
}
/* The sky right now, Moon page (Daniel 10/22) */
.sky-list { list-style: none; margin: 0; padding: 0; display: grid; }
.sky-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) 6.2em 26px 7.2em 20px; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; }
.sky-list li:last-child { border-bottom: 0; }
.sky-glyph, .sky-sign { font-family: "Moonday Glyphs", "Segoe UI Symbol", "Noto Sans Symbols 2", "Apple Symbols", "DejaVu Sans", serif; font-variant-emoji: text; color: var(--accent); }
.sky-glyph { font-size: 20px; text-align: center; }
.sky-name { font-weight: 700; white-space: nowrap; }
.sky-deg { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.sky-sname { text-align: left; white-space: nowrap; }
.sky-sign { text-align: center; }
.rx { color: #ffc49a; font-weight: 700; text-align: center; }
.sky-sname .abbr { display: none; }
@media (max-width: 480px) {
  .sky-card { padding-left: 16px; padding-right: 16px; }
  .sky-list li { grid-template-columns: minmax(0, 1fr) 5.6em 18px 2.4em 14px; gap: 6px; font-size: 14.5px; }
  .sky-list .sky-glyph { display: none; }
  .sky-sname .full { display: none; }
  .sky-sname .abbr { display: inline; }
}
@media (max-width: 350px) { .sky-list li { font-size: 13.5px; gap: 5px; } .sky-name { white-space: normal; } }
/* The sky page (Daniel 10/22) and the Balsamic note */
.phase-note { display: block; margin: 4px 0 8px; color: var(--soft); font-size: 14px; font-style: italic; line-height: 1.45; }
.flow-tile .phase-note { margin: -6px 12px 12px; text-align: center; font-size: 12.5px; }
.sky-link { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.sky-link:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3); }
.sky-link > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.sky-link b { font: 400 22px/1.25 var(--display); }
.sky-link > span:nth-child(2) > span { color: var(--soft); font-size: 15px; }
.sky-link-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: var(--accent-ink); background: linear-gradient(135deg, #cdb9ff, #a9d6ff); flex: 0 0 auto; }
.sky-link .chev { color: var(--accent); font-size: 26px; }
.sky-list li.sky-south { border-top: 0; }
.nodes-yy { font-family: "Moonday Glyphs", "Segoe UI Symbol", "Noto Sans Symbols 2", "Apple Symbols", "DejaVu Sans", serif; font-variant-emoji: text; color: var(--accent); font-size: 18px; vertical-align: -2px; margin-right: 4px; }
@media (prefers-reduced-motion: reduce) { .sky-link:hover { transform: none; } }
/* Retrogrades at a glance, The sky (Daniel 10/22), grouped by planet (10/24) */
.retro-list { list-style: none; margin: 0; padding: 0; display: grid; }
.retro-list > li { display: grid; grid-template-columns: 28px 6em minmax(0, 1fr); align-items: start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; }
.retro-list > li:last-child { border-bottom: 0; }
.retro-list > li.now { background: rgba(169, 214, 255, 0.06); }
.retro-list .sky-glyph { padding-top: 1px; }
.rl-name { font-weight: 700; }
.rl-periods { display: grid; gap: 6px; }
.rl-period { display: grid; grid-template-columns: 16em minmax(0, 1fr) 3.6em; align-items: center; gap: 10px; }
.rl-signs { color: var(--soft); }
.rl-now .now-tag { margin: 0; }
/* Daniel 11/17: "Change where I live" and "Contact support" side by side on Account, apart, wrapping on a phone */
.acct-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
/* Daniel 11/17: Mercury's "Information surfaces" moment, on its own line under the period's dates */
.rl-surf { grid-column: 1 / -1; margin-top: -4px; color: var(--soft); font-size: 15px; }
.rl-surf b { color: var(--ink); }
.rl-note { margin: 12px 0 0; color: var(--soft); font-size: 15px; line-height: 1.5; }
.rl-note b { color: var(--ink); }
@media (min-width: 641px) { .rl-dates { white-space: nowrap; } }
@media (max-width: 640px) {
  .retro-list > li { grid-template-columns: 24px minmax(0, 1fr); gap: 4px 8px; font-size: 15px; }
  .rl-periods { grid-column: 2; }
  .rl-period { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "d w" "s s"; gap: 0 8px; padding-top: 2px; }
  .rl-dates { grid-area: d; } .rl-signs { grid-area: s; font-size: 14px; } .rl-now { grid-area: w; } .rl-surf { grid-column: 1 / -1; margin-top: 2px; font-size: 14px; }
}
/* Birth form (Michael 10/23): light date and time icons on the dark fields, the time greyed out when unknown,
   and a working state on "See my chart" */
.field { color-scheme: dark; }
.field::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.9; }
.field:disabled { opacity: 0.4; cursor: not-allowed; }
.time-box.is-off .field-label { opacity: 0.45; }
.time-box.is-off .field { opacity: 0.4; pointer-events: none; }
.btn.is-loading { position: relative; opacity: 0.7; cursor: progress; padding-right: 52px; }
.btn.is-loading::after { content: ""; position: absolute; right: 20px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: btn-spin 0.8s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.is-loading::after { animation-duration: 2s; } }
/* Phone fixes (Michael's iPhone test 10/23) */
@media (max-width: 760px) {
  .theme-aurora .nav { background: #120f2e; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45); }
}
/* iPhone Safari gives date and time fields their own minimum width, which pushed them out of the card */
.field-row > div { min-width: 0; }
@supports (-webkit-touch-callout: none) {
  input[type="date"].field, input[type="time"].field { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; min-height: 54px; text-align: left; }
  input[type="date"].field::-webkit-date-and-time-value, input[type="time"].field::-webkit-date-and-time-value { text-align: left; }
}
/* Banner titles: a tighter shadow so the white reads over busy videos */
.page-banner-text h1 { text-shadow: 0 1px 3px rgba(5, 4, 20, 0.6), 0 2px 22px rgba(5, 4, 20, 0.65); }
.page-banner-text p { text-shadow: 0 1px 2px rgba(5, 4, 20, 0.75), 0 2px 14px rgba(5, 4, 20, 0.7); }
/* The journal fairy's picture on the Journal page: the sleeping fairy with the heart, the dream journal logo (Daniel 10/23) */
.fairy.with-face { align-items: center; }
.fairy-heart { display: block; margin-bottom: 10px; }   /* Daniel 11/7: the heart question, then a new paragraph */
.fairy-voice { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-left: 6px; padding: 0; vertical-align: middle; border: 1px solid var(--lavender); border-radius: 50%; background: transparent; color: var(--lavender); cursor: pointer; transition: background .2s, color .2s; }   /* Daniel 11/8: her voice */
.fairy-voice:hover, .fairy-voice.is-playing { background: var(--lavender); color: #1f2146; }
.fairy-voice:focus-visible { outline: 2px solid var(--lavender); outline-offset: 2px; }
.fairy-face { flex: 0 0 auto; width: 110px; height: 110px; border-radius: 18px; object-fit: cover; box-shadow: 0 0 0 1px rgba(205, 185, 255, 0.4), 0 6px 26px rgba(205, 185, 255, 0.25); }
@media (max-width: 480px) { .fairy-face { width: 84px; height: 84px; border-radius: 14px; } }
.founding-note { max-width: 760px; margin: 26px auto 0; border-color: rgba(205, 185, 255, 0.45); background: linear-gradient(135deg, rgba(205, 185, 255, 0.12), rgba(169, 214, 255, 0.08)); }

/* Fairies on their moons on the plans (Daniel 10/24): sleeping fairy on Free, seated fairy on All Access and
   founding members, no frames. Later 10/24: inside each card, in the space to the right of the plan name and price,
   both facing the words (the seated one mirrored). The text beside them keeps clear of the fairy (--fw). */
.plan:has(.plan-fairy) { position: relative; --fh: 165px; --fw: calc(var(--fh) * 0.98 + 10px); }
.plan:has(.plan-fairy.sleeping) { --fw: calc(var(--fh) * 0.76 + 10px); }
.plan:has(.plan-fairy) > :is(h3, .price, .price-big, .price-alt) { padding-right: var(--fw); }
.plan-fairy { position: absolute; top: 24px; right: 34px; height: var(--fh); width: auto; filter: drop-shadow(0 0 14px rgba(205, 185, 255, 0.35)); pointer-events: none; }
.plan-fairy.flip { transform: scaleX(-1); }
.founding-note:has(.founding-fairy) { display: flex; align-items: center; gap: 18px; }
.founding-fairy { flex: none; height: 92px; width: auto; filter: drop-shadow(0 0 10px rgba(205, 185, 255, 0.3)); }
@media (max-width: 760px) { .founding-fairy { height: 70px; } }
@media (max-width: 520px) { .plan:has(.plan-fairy) { --fh: 96px; } .plan-fairy { top: 20px; right: 18px; } }
@media (max-width: 420px) { .founding-note:has(.founding-fairy) { flex-direction: column; text-align: center; gap: 10px; } }

/* Moonday page link lands on the Moon page fairy card below the sticky header (Daniel 10/25) */
#move, #jeff, #pairs, #dances { scroll-margin-top: 110px; }

/* Jeff's 4-part talk (Daniel 10/28): About under his bio, My Fairytale Journey, Audio talks */
.jeff-audio { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; text-align: left; }
.jeff-audio .ja-head { margin: 0 0 6px; color: var(--ink); font-size: 16px; }
.jeff-audio .ja-len { color: var(--soft); font-size: 14px; margin-left: 6px; }
.jeff-audio audio { width: 100%; display: block; color-scheme: dark; }
.jeff-listen { margin-top: 18px; }
.jeff-listen .ja-title { margin: 0; color: var(--accent); font-weight: 600; }
.sky-listen { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }   /* Daniel 11/16: the Mercury talk under the retrogrades */
.sky-listen .ja-title { margin: 0; color: var(--accent); font-weight: 600; }
.about-dream { margin-top: 22px; }
/* Daniel 11/10: the fairy's Dance of Life intro under Daniel and Amy's bio, a sneak peek */
.person-video { margin: 10px 0 0; }
.person-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #000; }

/* Live Library (plan D, 10/28): Jeff's sign talks in a Cloudflare Stream player, tiles as buttons, "Coming soon" */
.talk-card { padding: 18px 20px 20px; max-width: 760px; margin: 0 auto 18px; width: 100%; }
.talk-title { margin: 0 0 12px; font-size: 22px; }
.talk-player { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.talk-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
button.sign-tile { font: inherit; color: inherit; width: 100%; }
.sign-tile[aria-pressed="true"] { border-color: var(--accent); background: rgba(169, 214, 255, 0.14); }
.sign-tile .pick-mark { display: none; position: absolute; top: 8px; right: 10px; color: var(--accent); font-weight: 700; }
.b2b-on .sign-tile.is-picked { border-color: var(--accent); background: rgba(169, 214, 255, 0.14); }
.b2b-on .sign-tile.is-picked .pick-mark { display: block; }
.sign-tile.is-static, .lesson.is-static, .flow-tile.is-static { cursor: default; }
.sign-tile.is-static:hover, .lesson.is-static:hover { transform: none; border-color: var(--line); background: rgba(28, 24, 64, 0.62); box-shadow: none; }
.sign-tile.is-static:hover .sign-glyph { background: rgba(169, 214, 255, 0.12); color: var(--accent); box-shadow: 0 0 0 1px rgba(169, 214, 255, 0.3); }
.soon-tag { justify-self: start; margin-top: 6px; font-size: 13px; color: var(--accent); border: 1px solid rgba(169, 214, 255, 0.4); border-radius: var(--radius-pill); padding: 2px 10px; }
.book-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 640px) { .book-grid { grid-template-columns: 1fr; } }
.book-card { display: flex; gap: 16px; align-items: center; padding: 16px; text-decoration: none; }
.book-cover { flex: 0 0 auto; width: 96px; aspect-ratio: 600 / 774; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); background: var(--night-2); }
.book-text { display: grid; gap: 4px; }
.book-text b { color: var(--ink); font-size: 18px; }
.book-text > span { color: var(--soft); font-size: 15px; }
/* E-book reader (plan D): the pages one under another, zoom 60%-200% (--z), wider pages scroll inside .reader-wrap */
.reader-title { font-size: var(--step-2, 30px); margin: 4px 0 0; }
.zoom-bar { display: flex; align-items: center; gap: 10px; }
.zoom-bar #zoom-level { min-width: 4em; text-align: center; color: var(--ink); }
.reader-wrap { overflow-x: auto; padding: 0 16px; }
.reader { width: calc(var(--z) * 1%); max-width: calc(860px * var(--z) / 100); margin: 0 auto; display: grid; gap: 14px; }
.reader img { width: 100%; height: auto; display: block; background: #fff; border-radius: 4px; box-shadow: var(--shadow); -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* My extra points on My chart (plan D) */
.xp-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.xp-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: rgba(28, 24, 64, 0.62); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; padding: 12px 16px; }
.xp-row > form { flex: 1 1 100%; }
.xp-main { flex: 1 1 260px; min-width: 0; display: grid; gap: 3px; }
.xp-head { color: var(--ink); font-size: 17px; overflow-wrap: anywhere; }
.xp-deg { color: var(--accent); font-weight: 700; }
.xp-sabian { color: var(--soft); font-size: 15px; }
.xp-actions { display: flex; align-items: center; gap: 12px; }
.xp-actions .xp-remove { background: none; border: 0; padding: 0; color: var(--soft); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; }
.xp-actions .xp-edit { font-size: 15px; }
.xp-fields { display: grid; grid-template-columns: 2fr 1.3fr 0.8fr 0.8fr; gap: 10px; }
.xp-f { display: grid; gap: 4px; min-width: 0; }
.xp-f span { font-size: 13px; color: var(--soft); }
.xp-f input, .xp-f select { width: 100%; min-width: 0; box-sizing: border-box; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(10, 8, 30, 0.55); color: var(--ink); font: inherit; font-size: 16px; color-scheme: dark; }
.xp-error { margin: 10px 0 0; color: #ffd27a; font-size: 15px; }
@media (max-width: 560px) { .xp-fields { grid-template-columns: 1fr 1fr; } .xp-f.xp-name { grid-column: 1 / -1; } }
.talk-audio { width: 100%; display: block; margin-top: 12px; color-scheme: dark; }
.talk-player.wide { aspect-ratio: 16 / 9; }
/* Two Library videos side by side (Daniel 11/5), one under the other on phones; the players line up at the bottom */
.vid-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 18px; }
.vid-pair.is-one { grid-template-columns: minmax(0, 760px); justify-content: center; }
.vid-pair .talk-card { max-width: none; margin: 0; display: flex; flex-direction: column; }
.vid-pair .talk-card > .talk-player, .vid-pair .talk-card > .dream-lock { margin-top: auto; }
.vid-about { margin: 0 0 12px; color: var(--soft); }
.vid-card.is-soon .soon-tag { align-self: flex-start; margin-top: auto; }
@media (max-width: 760px) { .vid-pair { grid-template-columns: minmax(0, 1fr); } }
.dream-card { margin-bottom: 18px; }
/* Ancient the Dream, Part 1 for Free members (Daniel 11/10): the Egyptian queen, his words, the button */
.dream-lock .dream-queen, .dream-card > .dream-queen { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 0 14px; }
.dream-lock p { margin: 0 0 12px; color: var(--soft); }

/* Install the app (plan K, 11/5; Daniel 10/12): a small card at the bottom corner, above the member tab bar on phones */
.install-pop { position: fixed; z-index: 40; right: 18px; bottom: 18px; width: min(380px, calc(100vw - 36px)); box-sizing: border-box; display: flex; gap: 14px; align-items: flex-start; padding: 16px 44px 16px 16px; border-radius: 20px; background: rgba(22, 18, 54, 0.97); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); color: var(--ink); }
.install-pop[hidden], .install-pop [hidden] { display: none !important; }   /* .btn's display would show a hidden button */
.install-ico { flex: none; width: 52px; height: 52px; border-radius: 12px; }
.install-body { min-width: 0; }
.install-pop .install-h { margin: 0 0 4px; font: 600 18px/1.3 var(--body); color: var(--ink); letter-spacing: 0; }   /* beats .theme-aurora h2 (beta test 11/7) */
.install-txt { margin: 0 0 12px; color: var(--soft); font-size: 15px; }
.install-share { width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.install-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.install-x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--soft); font-size: 24px; line-height: 1; cursor: pointer; }
.install-x:hover, .install-x:focus-visible { color: var(--ink); background: rgba(255, 255, 255, 0.08); }
body.has-install-pop { padding-bottom: 170px; }   /* room below, so the card never hides the end of the page */
@media (max-width: 760px) {
  .install-pop { left: 12px; right: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 14px 42px 14px 14px; gap: 12px; }
  .install-ico { width: 40px; height: 40px; border-radius: 10px; }
  .install-pop .install-h { font-size: 17px; }
  .install-txt { margin-bottom: 10px; }
  body.has-install-pop { padding-bottom: 240px; }
}
.about-crosstrain { margin: 6px auto 22px; max-width: 760px; }   /* Daniel 11/5: the fairy's cross-training video on About */
.about-crosstrain video { display: block; height: auto; }
