/* Nursery-to-nightfall theme. Colors are all here at the top, so the whole look can be retuned in one place. */
@font-face { font-family: "Fraunces"; src: url(/fonts/fraunces-latin-full-normal.woff2) format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/fonts/fraunces-latin-full-italic.woff2) format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(/fonts/nunito-latin-200-1000-normal.woff2) format("woff2");
  font-weight: 200 1000; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; src: url(/fonts/nunito-latin-ext-200-1000-normal.woff2) format("woff2");
  font-weight: 200 1000; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #fbf4ee;          /* page: warm cream */
  --blush: #f8e3e8;       /* soft bands */
  --petal: #efc9d5;       /* borders, chips */
  --pink: #eaa8bf;        /* the brand pink */
  --rose: #a94b74;        /* links, accents */
  --rose-deep: #93395f;   /* buttons (white text passes contrast) */
  --lilac: #ddd2f1;
  --sky: #d3e6f2;
  --butter: #f7e6b5;
  --mint: #d3eadf;
  --ink: #3b2734;         /* text */
  --muted: #76606d;       /* secondary text */
  --card: #fffdfb;
  --dusk: #5b3f66;
  --plum: #2a1c33;
  --night: #1d1426;       /* the swirl stages */
  --moon: #fff1c9;
  --shadow: 0 14px 34px -16px rgba(120, 50, 85, .32);
  --radius: 24px;
  --head: "Fraunces", Georgia, serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

/* Members-area color themes (picked on the members page; static/js/age.js applies the choice before drawing). */
:root[data-theme="lavender"] { --bg: #f6f2fb; --blush: #ebe3f7; --petal: #d6c8ee; --pink: #b9a3e3; --rose: #6d4fa8; --rose-deep: #5b3f94;
  --shadow: 0 14px 34px -16px rgba(80, 55, 130, .3); }
:root[data-theme="mint"] { --bg: #f1f8f3; --blush: #dcefe3; --petal: #bfe0cb; --pink: #8fcaa6; --rose: #2f7553; --rose-deep: #26654a;
  --shadow: 0 14px 34px -16px rgba(40, 95, 70, .28); }
:root[data-theme="sky"] { --bg: #f1f6fb; --blush: #dde9f5; --petal: #bfd6ec; --pink: #93bde3; --rose: #2f6694; --rose-deep: #285a85;
  --shadow: 0 14px 34px -16px rgba(40, 80, 125, .28); }
:root[data-theme="peach"] { --bg: #fcf3ee; --blush: #fbe3d7; --petal: #f2c7b2; --pink: #eda283; --rose: #a24d2c; --rose-deep: #8f4024;
  --shadow: 0 14px 34px -16px rgba(140, 70, 40, .28); }
:root[data-theme="butter"] { --bg: #fcf8ec; --blush: #f7ecc9; --petal: #ecd99a; --pink: #e2c160; --rose: #7d5e0f; --rose-deep: #6b500b;
  --shadow: 0 14px 34px -16px rgba(110, 85, 20, .28); }
:root[data-theme="velvet"] { --bg: #f8eff4; --blush: #efdae6; --petal: #dcb3c9; --pink: #c8809f; --rose: #7d2453; --rose-deep: #681c45;
  --shadow: 0 14px 34px -16px rgba(105, 30, 70, .34); }
:root[data-theme="champagne"] { --bg: #fbf7f1; --blush: #f2e7d8; --petal: #e2cdb0; --pink: #d0ae84; --rose: #85583a; --rose-deep: #714a30;
  --shadow: 0 14px 34px -16px rgba(120, 85, 50, .3); }
:root[data-theme] .top { border-color: var(--petal); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.08rem/1.7 var(--body); overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, canvas, video { max-width: 100%; display: block; }
a { color: var(--rose); text-underline-offset: .18em; }
a:hover { color: var(--rose-deep); }
h1, h2, h3 { font-family: var(--head); font-weight: 560; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .6em;
  font-variation-settings: "SOFT" 100, "WONK" 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
h1 em, h2 em { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--rose); }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header: a floating pill ---------- */
.top { position: relative; z-index: 30; width: min(1140px, 100% - 24px); margin: 12px auto -72px; border-radius: 999px;
  background: rgba(255, 251, 247, .74); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(239, 201, 213, .7); box-shadow: 0 10px 30px -18px rgba(120, 50, 85, .35); }
.top .wrap { width: 100%; padding: 0 10px 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 1.2rem var(--head); font-variation-settings: "SOFT" 100;
  color: var(--ink); text-decoration: none; }
.brand svg { width: 30px; height: 30px; flex: none; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.brand:hover svg { transform: rotate(360deg); }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 700; }
.nav a:hover, .nav a[aria-current] { background: var(--blush); color: var(--rose-deep); }
.nav a.btn { color: #fff; margin-left: 6px; }
.nav a.btn[aria-current] { background: var(--rose-deep); color: #fff; box-shadow: 0 0 0 3px var(--petal); }
.nav .for-member, .nav .for-trial, html.member .nav .for-guest { display: none; }
html.member .nav .for-member { display: block; }
.subnav { display: none; position: absolute; top: 104px; left: 0; right: 0; z-index: 2; }
@media (max-width: 1060px) { html.member:not(.trial) .subnav { display: block; } }
.subnav .wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.subnav a { font: 800 .92rem var(--body); color: var(--ink); text-decoration: none; padding: 8px 16px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--petal); min-height: 40px; display: inline-flex; align-items: center; }
.subnav a[aria-current="page"] { background: var(--rose-deep); color: #fff; box-shadow: none; }
.subnav a:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
@media (max-width: 1060px) { html.member:not(.trial) .subnav + main .app { padding-top: 172px; } }
@media (max-width: 520px) { html.member:not(.trial) .subnav + main .app { padding-top: 214px; } }
html.member .nav .for-member[hidden], html.member.trial .nav .for-member:not(.keep-trial) { display: none; }
html.member.trial .nav .for-trial { display: inline-flex; }
html.member:not(.trial) .nav .only-trial { display: none; }
.nav-more { position: relative; }
.nav-more-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 700; color: var(--ink); background: none; border: 0;
  padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.nav-more-btn:hover, .nav-more-btn[aria-expanded="true"], .nav-more:has([aria-current]) .nav-more-btn { background: var(--blush); color: var(--rose-deep); }
.nav-more-menu { display: none; position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; flex-direction: column; padding: 8px;
  background: var(--card); border: 1px solid var(--petal); border-radius: 20px; box-shadow: var(--shadow); }
.nav-more.open .nav-more-menu { display: flex; }
.nav-more-menu a { padding: 10px 14px; }
.nav-more-menu { left: 0; right: auto; }
.nav-more:last-of-type .nav-more-menu { left: auto; right: 0; }
.nav-group { display: none; }
.nav-out { margin: 0 0 0 6px; }
.nav-out .btn { min-height: 0; padding: 8px 16px; }
.menu-btn { display: none; }
@media (max-width: 720px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 1px solid var(--petal); background: var(--card); border-radius: 50%; color: var(--ink); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; align-items: stretch;
    padding: 10px; background: var(--card); border: 1px solid var(--petal); border-radius: 24px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav a.btn { margin: 6px 0 0; text-align: center; }
}
@media (min-width: 721px) and (max-width: 1060px) {
  html.member .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 1px solid var(--petal); background: var(--card); border-radius: 50%; color: var(--ink); cursor: pointer; }
  html.member .nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; align-items: stretch;
    padding: 10px; background: var(--card); border: 1px solid var(--petal); border-radius: 24px; box-shadow: var(--shadow); }
  html.member .nav.open { display: flex; }
  html.member .nav a { padding: 12px 14px; }
}
@media (max-width: 1060px) {
  .nav-more-btn { display: none; }
  .nav-more-menu { display: flex; position: static; min-width: 0; padding: 0; border: 0; box-shadow: none; background: none;
    border-top: 1px solid var(--petal); margin-top: 6px; padding-top: 6px; border-radius: 0; }
  .nav-more-menu a { padding: 12px 14px; }
  .nav-group { display: block; font: 800 .72rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 4px 14px 2px; }
  .nav-more:first-of-type .nav-more-menu { border-top: 0; margin-top: 0; padding-top: 0; }
  html.member .nav > a[href="/members/custom/"] { border-top: 1px solid var(--petal); border-radius: 0; margin-top: 6px; padding-top: 14px; }
}
@media (max-width: 1060px) {
  .nav-out { margin: 6px 0 0; }
  .nav-out .btn { width: 100%; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; min-height: 46px;
  border-radius: 999px; border: 0; background: var(--rose-deep); color: #fff; font: 700 1rem var(--body);
  text-decoration: none; cursor: pointer; box-shadow: var(--shadow), inset 0 -3px 0 rgba(0, 0, 0, .14);
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), background .15s; }
.btn:hover { background: color-mix(in srgb, var(--rose-deep) 85%, #000); color: #fff; transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn.soft { background: var(--card); color: var(--rose-deep); box-shadow: inset 0 0 0 2px var(--petal), inset 0 -3px 0 var(--blush); }
.btn.soft:hover { background: var(--blush); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; pointer-events: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--card); color: var(--rose-deep);
  font-weight: 700; font-size: .85rem; letter-spacing: .02em; box-shadow: inset 0 0 0 1px var(--petal); margin-bottom: 18px; }
.motion-btn { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--petal); background: rgba(255, 255, 255, .85); color: var(--rose-deep); cursor: pointer;
  display: grid; place-items: center; }

/* ---------- sections and shared pieces ---------- */
section { padding: 80px 0; }
section.band { background: var(--blush); }
.intro { max-width: 46em; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid rgba(239, 201, 213, .55); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.note { font-size: .92rem; color: var(--muted); }
.placeholder { background: #fff3c4; color: #5c4a00; padding: 0 .3em; border-radius: 4px; }
.btns.center { justify-content: center; }
.btns + p { margin-top: 16px; }
:is(.st-inline, .st-switches) + :is(p, .note) { margin-top: 12px; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 18px; } .mb-s { margin-bottom: 14px; } .mb-l { margin-bottom: 24px; }
.stack { display: grid; gap: 14px; }

.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 150px 0 64px;
  background: radial-gradient(110% 90% at 85% 0%, var(--blush) 0%, transparent 60%),
              radial-gradient(80% 80% at 0% 100%, #f3ebfa 0%, transparent 60%), var(--bg); }
.page-hero .narrow, .page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 520; max-width: 13em; }
.page-hero h1 em { font-weight: 440; }
.page-hero .lead { font-size: clamp(1.08rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 36em; margin: 0; }
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(40px); opacity: .55; pointer-events: none; }
.page-hero .b1 { width: 340px; height: 340px; background: var(--butter); left: -140px; top: 40px; }
.page-hero .b2 { width: 280px; height: 280px; background: var(--sky); right: 6%; bottom: -120px; }
.sprinkle { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; fill: var(--pink); opacity: .8; }
@media (max-width: 720px) { .sprinkle { display: none; } }
.page-hero.dusk { color: #f4e9f1; background: radial-gradient(90% 120% at 80% 0%, #4a3256 0%, transparent 60%),
  linear-gradient(var(--plum), var(--night)); }
.page-hero.dusk .blob { opacity: .18; }
.page-hero.dusk h1 { color: #fff; }
.page-hero.dusk h1 em { color: var(--pink); }
.page-hero.dusk .lead { color: #d9c7d6; }
.page-hero.dusk .sprinkle { fill: #fff3c4; opacity: .6; }

.paper { position: relative; background: var(--card); border-radius: 6px 6px 28px 6px; padding: 48px clamp(22px, 6vw, 60px) 40px;
  box-shadow: 0 1px 0 var(--petal), var(--shadow); }
.tape { position: absolute; top: -18px; left: 50%; width: 78px; height: 44px; transform: translateX(-50%) rotate(-3deg); z-index: 1;
  border-radius: 2px;
  background: linear-gradient(90deg, #a9d5f4 0 13px, rgba(86, 140, 186, .35) 13px 14px, transparent 14px), linear-gradient(170deg, #fff, #f1f6fb);
  box-shadow: 0 2px 4px rgba(42, 70, 100, .18); }
.cta-band { text-align: center; padding-top: 40px; }
.gate-moon { display: block; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; transform: rotate(-24deg);
  box-shadow: inset -16px 6px 0 0 var(--moon); filter: drop-shadow(0 0 14px rgba(247, 215, 130, .7)); }
.night-card { margin-top: 48px; text-align: center; color: #f4e9f1; border-radius: var(--radius); padding: 40px 28px;
  background: radial-gradient(80% 100% at 50% 0%, #4a3256, transparent), var(--night); box-shadow: var(--shadow); }
.night-card h2 { color: #fff; }
.night-card p { color: #d9c7d6; }
.night-card .night-code { display: table; margin: .2em auto .5em; padding: .3em .9em; border: 2px dashed var(--moon); border-radius: 12px;
  font: 800 clamp(1.5rem, 4vw, 2rem) var(--body); letter-spacing: .12em; color: #fff; }
.night-perks { width: fit-content; text-align: left; list-style: none; padding: 0; margin: 0 auto 1.4em; color: #f4e9f1; columns: 2; column-gap: 48px; }
@media (max-width: 720px) { .night-perks { columns: 1; } }
.night-perks li { position: relative; padding-left: 1.4em; margin: 0 0 .6em; break-inside: avoid; }
.night-perks li::before { content: "✓"; position: absolute; left: 0; color: var(--moon); font-weight: 700; }

.js-reveal .reveal { opacity: 0; translate: 0 28px; transition: opacity .9s ease, translate 1s cubic-bezier(.2, .8, .2, 1); }
.js-reveal .reveal.in { opacity: 1; translate: none; }

/* voices */
.voices { display: grid; gap: 14px; }
.voice { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; background: var(--card); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); }
.voice b { font-family: var(--head); }
.voice span { color: var(--muted); font-size: .95rem; flex: 1 1 200px; }
.voice audio { width: min(100%, 320px); height: 40px; }

/* ---------- swirl page ---------- */
.sw-section { background: linear-gradient(var(--night), var(--plum) 40%, #e9dcee 85%, var(--bg)); padding-top: 8px; }
.stage { position: relative; background: var(--night); border-radius: 34px; overflow: hidden; aspect-ratio: 16 / 10;
  max-height: 74vh; width: 100%; box-shadow: 0 0 0 10px rgba(255, 255, 255, .06), 0 0 0 11px rgba(234, 168, 191, .25), 0 40px 80px -30px #000; }
.stage canvas { width: 100%; height: 100%; }
.stage:fullscreen { border-radius: 0; max-height: none; aspect-ratio: auto; }
@media (max-width: 640px) { .stage { aspect-ratio: 4 / 5; border-radius: 26px; } .gate-start p { font-size: .95rem; } }
.stage .word { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font: italic 440 clamp(1.8rem, 5vw, 3.6rem) var(--head);
  font-variation-settings: "SOFT" 100, "WONK" 1; color: #fff; text-shadow: 0 0 24px rgba(234, 168, 191, .8), 0 0 4px rgba(60, 20, 50, .7);
  opacity: 0; transition: opacity .9s ease; }
.stage .word.on { opacity: 1; }
.gate-start { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; color: #f4e9f1;
  background: radial-gradient(closest-side, rgba(42, 28, 51, .82), rgba(29, 20, 38, .95)); z-index: 2; }
.gate-start h2 { color: #fff; }
.gate-start p { max-width: 30em; margin: 0 auto 1.4em; color: #d9c7d6; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 22px; justify-content: center; }
.panel { background: rgba(255, 253, 251, .94); border-radius: 30px; padding: clamp(20px, 4vw, 34px); box-shadow: var(--shadow); }
.controls { display: grid; gap: 22px; }
.controls fieldset { border: 0; padding: 0; margin: 0; }
.controls legend { font: 800 .8rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--rose); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--petal); background: var(--card); color: var(--ink); border-radius: 999px; padding: 8px 15px;
  min-height: 40px; font: 700 .93rem var(--body); cursor: pointer; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), background .15s; }
.chip:hover { background: var(--blush); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.chip[aria-pressed="true"]:hover { background: color-mix(in srgb, var(--rose-deep) 85%, #000); }
.chip .dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 6px; vertical-align: -2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.sliders { display: grid; gap: 16px 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.sliders label { display: grid; gap: 4px; font-weight: 700; }
.sliders input { accent-color: var(--rose-deep); width: 100%; }

/* ---------- join ---------- */
.join-tiers { padding: 120px 0 32px; }
.join-tiers .sale-bar { font-size: 1.2rem; padding: 13px 30px; margin-bottom: 30px; }
.join-trial { scroll-margin-top: 90px; padding-top: 24px; }
.wrap.wide { width: min(1380px, 100% - 32px); }
.tiers { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: stretch; padding-top: 18px; }
@media (min-width: 700px) { .tiers { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; } }
@media (min-width: 1220px) { .tiers { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.free-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 26px; padding: 22px 28px; border-radius: 28px;
  background: var(--card); box-shadow: inset 0 0 0 2px var(--petal), var(--shadow); }
.free-bar h3 { font-size: 1.35rem; margin: 0 0 .2em; }
.free-bar p { margin: 0; color: var(--muted); }
.free-bar .btn { flex: none; }
@media (max-width: 699px) { .free-bar { flex-direction: column; align-items: stretch; text-align: left; } }
.tier { position: relative; display: flex; flex-direction: column; border-radius: 28px; padding: 30px 28px 28px; background: var(--card);
  box-shadow: var(--shadow); transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.tier .price .was { font-size: .5em; color: var(--muted); text-decoration-thickness: 2px; margin-right: .15em; }
.tier.featured { box-shadow: 0 0 0 3px var(--pink), var(--shadow); }
.tier:hover { transform: translateY(-6px); }
.tier-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tier-head .badge { margin: 0; flex: none; }
.tier-art { display: block; width: calc(100% + 56px); max-width: none; height: auto; aspect-ratio: 3; object-fit: cover; margin: -30px -28px 20px; border-radius: 28px 28px 0 0; }
.tier h2 { font-size: 1.5rem; line-height: 1.2; margin-bottom: .2em; }
.tier .price { font: 600 2.1rem/1.15 var(--head); font-variation-settings: "SOFT" 100; color: var(--rose-deep); margin: .15em 0 .5em; white-space: nowrap; }
.tier .price .per { font-size: .5em; font-weight: 500; color: var(--muted); }
.tier li { font-size: 1rem; line-height: 1.5; margin-bottom: .75em; }
.tier .blurb { color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 0 0 .4em; flex: 1; }
.tier li { position: relative; padding-left: 26px; }
.tier li::before { content: "✦"; position: absolute; left: 2px; color: var(--pink); }
.badge { align-self: flex-start; background: var(--rose-deep); color: #fff; font-weight: 800; font-size: .78rem; padding: 4px 11px; border-radius: 999px; margin-bottom: 10px; }
.tier-btn { width: 100%; justify-content: center; text-align: center; margin-top: 18px; }
.sale-bar { display: table; margin: 0 auto 26px; padding: 10px 22px; border-radius: 999px; background: var(--blush); color: var(--rose-deep); font-weight: 700; text-align: center; }
.sale-bar strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sale-bar.last { background: var(--rose-deep); color: #fff; }
.sale-bar[hidden] { display: none; }
.wrap > .sale-bar.trial-only { margin-top: 18px; }
.ss-line { text-align: center; margin: 30px 0 0; color: var(--muted); }
.ss-line a { font-weight: 700; }
.ss-line a, .ss-line span:not(:first-child) { white-space: nowrap; }
.promises { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 0; margin: 26px 0 0; color: var(--muted); font-weight: 700; font-size: .95rem; }
.promises li::before { content: "♡ "; color: var(--rose); }
.faq { background: linear-gradient(var(--bg), #f3e9f3); }
details { background: var(--card); border-radius: 20px; padding: 2px 22px; box-shadow: 0 8px 22px -16px rgba(120, 50, 85, .4); margin-bottom: 12px;
  border: 1px solid rgba(239, 201, 213, .55); }
summary { cursor: pointer; font: 600 1.15rem var(--head); font-variation-settings: "SOFT" 100; padding: 16px 40px 16px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blush); color: var(--rose-deep); font: 800 1.1rem var(--body); transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 0; color: #5d4856; }

/* ---------- blog ---------- */
.blog-list { padding-top: 32px; }
.posts { display: grid; gap: 22px; }
.post-card { display: block; text-decoration: none; color: inherit; background: var(--card); border-radius: 26px; padding: 28px 30px;
  box-shadow: var(--shadow); border: 1px solid rgba(239, 201, 213, .55); transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.posts .post-card:hover, .post-card:hover { transform: translateY(-4px); }
.post-card h2 { font-size: 1.5rem; margin-bottom: .3em; color: var(--ink); }
.post-card:hover h2 { color: var(--rose-deep); }
.post-card .date { display: inline-block; font-size: .8rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--lilac); color: #4d3c6e; margin-bottom: 12px; }
.post-card .more { font-weight: 800; color: var(--rose); }
.meta { color: var(--muted); font-size: .92rem; margin-bottom: .6em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { background: var(--blush); color: var(--rose-deep); border-radius: 999px; padding: 2px 10px; font-size: .82rem; font-weight: 800; text-decoration: none; }
article.post .narrow { width: min(960px, 100% - 32px); }
article.post { padding: 140px 0 80px; background: radial-gradient(90% 40% at 80% 0%, var(--blush), transparent 70%), var(--bg); }
.post-head { text-align: center; margin-bottom: 44px; }
.post-head h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); letter-spacing: -.025em; }
.post-head .tags { justify-content: center; }
.sheet { background: #fff; }
article.post .body { font-size: 1.14rem; }
article.post .body > p:first-child::first-letter { float: left; font: 600 3.6em/.8 var(--head); font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--rose); padding: .08em .1em 0 0; }
article.post .body img { border-radius: 18px; margin: 1.2em auto; height: auto; }
article.post .body h2 { margin-top: 1.6em; font-size: 1.7rem; }
article.post .body blockquote { margin: 1.4em 0; padding: 6px 22px; border-left: 4px solid var(--pink); color: var(--muted);
  font: italic 1.25rem/1.5 var(--head); font-variation-settings: "SOFT" 100; }
.post-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 2px dashed var(--petal); font-weight: 700; }
.post-nav .post-back { grid-column: 2; grid-row: 1; }
.post-nav > span:last-child { text-align: right; }
@media (max-width: 720px) { .post-nav { grid-template-columns: 1fr; } .post-nav .post-back { grid-column: 1; grid-row: auto; justify-self: center; order: 3; } .post-nav > span:last-child { text-align: left; } .post-nav > span:empty { display: none; } }

/* ---------- 404 ---------- */
.lost { text-align: center; padding: 170px 0 120px; background: radial-gradient(70% 60% at 50% 30%, #efe3f1, transparent), var(--bg); }
.lost h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
.lost-moon { position: relative; width: 120px; height: 120px; margin: 0 auto 30px; border-radius: 50%; transform: rotate(-24deg);
  box-shadow: inset -32px 10px 0 0 var(--moon); filter: drop-shadow(0 0 24px rgba(247, 215, 130, .7)); }
.lost-moon span { position: absolute; font: italic 600 1.4rem var(--head); color: var(--rose); transform: rotate(24deg); animation: zz 3s ease-in-out infinite; }
.lost-moon span:nth-child(1) { right: -20px; top: 0; } .lost-moon span:nth-child(2) { right: -38px; top: -26px; font-size: 1.1rem; animation-delay: -1s; }
.lost-moon span:nth-child(3) { right: -52px; top: -50px; font-size: .9rem; animation-delay: -2s; }
@keyframes zz { 50% { opacity: .3; transform: rotate(24deg) translateY(-6px); } }

/* ---------- footer: the night sky ---------- */
.foot { position: relative; color: #d9c7d6; padding: 80px 0 34px; margin-top: -1px; border-radius: 48px 48px 0 0;
  background: radial-gradient(1.5px 1.5px at 12% 30%, #fff8, transparent), radial-gradient(1.5px 1.5px at 30% 70%, #fff6, transparent),
    radial-gradient(2px 2px at 55% 20%, #fff9, transparent), radial-gradient(1.5px 1.5px at 72% 60%, #fff6, transparent),
    radial-gradient(2px 2px at 88% 35%, #fff8, transparent), radial-gradient(1.5px 1.5px at 45% 85%, #fff5, transparent),
    linear-gradient(var(--plum), var(--night)); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px 60px; align-items: start; }
.foot-moon { display: block; width: 46px; height: 46px; border-radius: 50%; transform: rotate(-24deg); margin-bottom: 14px;
  box-shadow: inset -13px 5px 0 0 var(--moon); filter: drop-shadow(0 0 12px rgba(247, 215, 130, .6)); }
.foot-name { font: 600 2rem var(--head); font-variation-settings: "SOFT" 100; color: #fff; margin-bottom: .3em; }
.foot nav { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 8px 40px; justify-content: end; }
.foot a { color: #fff; text-decoration: none; font-weight: 700; }
.foot a:hover { color: var(--pink); }
.foot-small { margin-top: 44px; padding-top: 22px; border-top: 1px dashed rgba(234, 168, 191, .3); font-size: .9rem; color: #a893a6; }
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot nav { justify-content: start; }
}

/* ---------- age check ---------- */
/* <html class="age-check"> is in every page; /js/age.js removes it at once for returning visitors.
   Until then the page is blurred, cannot be clicked or tabbed into, and the dialog sits on top. */
#age { display: none; }
.age-check #age { display: grid; position: fixed; inset: 0; z-index: 100; place-items: center; padding: 16px;
  background: radial-gradient(circle at 50% 30%, rgba(251, 244, 238, .6), rgba(42, 28, 51, .55)); }
.age-check body > :not(#age) { filter: blur(18px); pointer-events: none; user-select: none; }
.age-check body { overflow: hidden; }
.age-box { position: relative; width: min(460px, 100%); background: var(--card); border-radius: 8px 8px 32px 8px; padding: 42px 30px 30px;
  text-align: center; box-shadow: 0 30px 70px -24px rgba(42, 28, 51, .6); }
.age-box svg { width: 56px; height: 56px; margin: 0 auto 12px; }
.age-box h2 { font-size: 1.8rem; margin-bottom: .4em; }
.age-box p { color: var(--muted); }
.age-box .btns { justify-content: center; margin-top: 22px; }
.age-box .btn { min-width: 140px; }
.age-no { display: none; }
.age-denied .age-yesno { display: none; }
.age-denied .age-no { display: block; }

/* ---------- members area ---------- */
.m-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.m-head h1 { margin: 0; font-size: clamp(2.2rem, 5.4vw, 3.4rem); letter-spacing: -.025em; }
.m-sub { color: var(--muted); margin: .3em 0 0; }
.app { padding: 130px 0 90px; min-height: 70vh; background: radial-gradient(90% 50% at 85% 0%, var(--blush), transparent 70%),
  radial-gradient(60% 50% at 0% 40%, #f3ebfa, transparent 70%), var(--bg); }
.m-msg { position: relative; background: var(--card); border-radius: 8px 8px 30px 8px; padding: 40px 30px 32px; text-align: center;
  max-width: 34em; margin: 0 auto; box-shadow: var(--shadow); }
.m-msg h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.m-msg::before { content: ""; position: absolute; top: -18px; left: 50%; width: 78px; height: 44px; transform: translateX(-50%) rotate(-3deg);
  border-radius: 2px;
  background: linear-gradient(90deg, #a9d5f4 0 13px, rgba(86, 140, 186, .35) 13px 14px, transparent 14px), linear-gradient(170deg, #fff, #f1f6fb);
  box-shadow: 0 2px 4px rgba(42, 70, 100, .18); }
.m-msg .btns { justify-content: center; margin-top: 18px; }
.lock-code { margin: 16px 0 0; color: var(--muted); }
.lock-code .code { color: var(--ink); letter-spacing: .06em; background: var(--blush); padding: 2px 10px; border-radius: 8px; }
.m-error { background: #fff0f0; color: #8a2338; border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; }
.m-banner { background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 16px; margin-bottom: 20px; font-weight: 600; }
.m-banner a { color: var(--pink); }
.m-banner p { margin: 0; }
.m-banner .btns { margin-top: 10px; }
.m-banner.persona { display: grid; gap: 10px; font-weight: 400; }
.m-banner.persona details { color: var(--ink); }
.m-banner.persona summary { cursor: pointer; }
.m-banner.persona .st-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.m-banner.persona label { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-weight: 600; }
.m-banner.persona select, .m-banner.persona input { color: var(--ink); background: #fff; border-radius: 8px; padding: 6px 8px; border: 0; }
.m-banner.persona input { width: 5.5em; }
.m-banner .note { color: inherit; opacity: .85; }
.progress { height: 12px; background: var(--blush); border-radius: 999px; overflow: hidden; margin: 10px 0 6px; }
.progress span { display: block; height: 100%; border-radius: inherit;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .25) 0 8px, transparent 8px 16px), linear-gradient(90deg, var(--pink), var(--rose)); }
.m-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; }
.m-next p { margin: 0; }
.paces { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pace { text-align: left; font: inherit; color: inherit; border: 0; cursor: pointer; display: flex; flex-direction: column; }
.pace:hover { box-shadow: 0 0 0 3px var(--pink), var(--shadow); }
.pace:nth-child(2) { border-top-color: var(--lilac); } .pace:nth-child(3) { border-top-color: var(--mint); }
.pace .len { font: 600 1.1rem var(--head); font-variation-settings: "SOFT" 100; color: var(--rose-deep); margin-bottom: .5em; }
.player { margin: 28px 0; }
.player .stage { aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; background: #000; }
.player .now { font: 700 1.1rem var(--head); margin: 12px 0 2px; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.item { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: 16px; padding: 12px 16px; box-shadow: 0 4px 14px -10px rgba(163, 65, 106, .4); }
.item .num { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--rose-deep); font-weight: 800; }
.item .txt { flex: 1; min-width: 0; }
.item .txt b { display: block; }
.item .txt span { display: block; color: var(--muted); font-size: .92rem; }
.item .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.item .btn { padding: 8px 16px; min-height: 40px; }
.item.locked { opacity: 1; color: var(--muted); box-shadow: none; background: transparent; border: 1px dashed var(--petal); }
.item.playing { box-shadow: 0 0 0 3px var(--pink); }
.m-section { margin-top: 44px; }
.m-foot { margin-top: 48px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 560px) {
  .item { flex-wrap: wrap; }
  .item .acts { width: 100%; justify-content: flex-start; padding-left: 52px; }
}

/* ---------- admin ---------- */
.a-stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 24px; }
.a-stats .card { padding: 18px; }
.a-stats b { display: block; font: 700 1.8rem var(--head); color: var(--rose-deep); }
.a-t h3 { margin: 0 0 4px; font-size: 1.1rem; }
.a-t .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .92rem; margin-bottom: 10px; }
.a-t .warn { color: #8a2338; font-weight: 700; }
.a-t .tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.a-t select, .a-t input { font: inherit; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--petal); background: var(--card); color: var(--ink); }
.a-t code { background: var(--blush); padding: 2px 8px; border-radius: 8px; font-size: .9rem; }
.a-t .btn { padding: 8px 14px; min-height: 40px; }
.a-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }

/* ---------- today ---------- */
.today { margin-top: 20px; }
.today-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.today-head h2 { margin: 0; font-size: 1.5rem; }
.todos { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.todo { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--blush); }
.todo:last-child { border-bottom: 0; }
.todo .txt { flex: 1; min-width: 0; }
.todo .txt b { display: block; }
.todo .txt > span { display: block; color: var(--muted); font-size: .92rem; }
.todo.done .txt b { color: var(--muted); }
.todo .acts .btn { padding: 8px 16px; min-height: 40px; }
.tick { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--pink); background: var(--card);
  color: #fff; font: 800 1rem var(--body); cursor: pointer; display: grid; place-items: center; }
.tick:hover { background: var(--blush); }
.tick[aria-pressed="true"] { background: var(--rose-deep); border-color: var(--rose-deep); cursor: default; }
.feel { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; color: var(--ink) !important; }
.feel .chip { padding: 4px 10px; font-size: .85rem; }
.todo-weekly { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--blush); }
.update summary { cursor: pointer; font-weight: 700; }
.update-form textarea { width: 100%; margin-top: 10px; font: inherit; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--petal);
  background: var(--card); color: var(--ink); resize: vertical; }
@media (max-width: 560px) {
  .todo { flex-wrap: wrap; }
  .todo .acts { width: 100%; padding-left: 48px; }
}
.a-t h4 { font: 700 1rem var(--head); margin: 16px 0 8px; }
.a-updates { display: grid; gap: 10px; }
.a-update { background: var(--bg); border-radius: 14px; padding: 12px 14px; }
.a-update.new { box-shadow: inset 3px 0 0 var(--rose); }
.a-update .meta { margin: 0 0 4px; font-size: .88rem; color: var(--muted); }
.a-text { margin: 0; white-space: pre-wrap; }
.a-checks { margin: 0; padding-left: 1.2em; color: var(--muted); font-size: .92rem; }
.item .txt .when { color: var(--rose-deep); font-weight: 700; font-size: .88rem; }
.item .txt .when.done { color: var(--muted); font-weight: 600; }
.item.locked .txt .when { opacity: 1; }
.item .txt .when.soon { color: var(--rose-deep); }

.feel-label { margin: 10px 0 6px; }
.done-note { margin: 12px 0 0; }
.m-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.devices { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.device { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: 18px; padding: 12px 16px;
  border: 1px solid rgba(239, 201, 213, .55); }
.device .txt { flex: 1; min-width: 0; }
.device .txt b { display: block; }
.device .txt span { display: block; color: var(--muted); font-size: .9rem; }
.device .btn { padding: 8px 16px; min-height: 40px; }

/* ---------- stash tracker ---------- */
.st-card { background: var(--card); border-radius: 28px; padding: clamp(20px, 3.5vw, 30px); box-shadow: var(--shadow);
  border: 1px solid rgba(239, 201, 213, .55); margin-bottom: 22px; }
.st-card h2 { font-size: 1.5rem; margin-bottom: .2em; }
.st-sub { color: var(--muted); margin-bottom: 16px; }
.st-ok { background: var(--mint); color: #24493a; border-radius: 14px; padding: 10px 16px; margin-bottom: 18px; font-weight: 700; }
.st-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; margin-bottom: 22px; align-items: start; }
.st-top .st-card { margin-bottom: 0; }
.st-field { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; margin-bottom: 14px; }
.st-field input, .st-field select, .st-wipe input { font: inherit; font-weight: 600; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--petal);
  background: var(--bg); color: var(--ink); min-height: 44px; width: 100%; }
.st-field input:focus, .st-field select:focus { outline: 3px solid var(--pink); outline-offset: 1px; }
.st-flags { margin-bottom: 4px; }
.st-hint { font-size: .85rem; color: var(--muted); margin: 0 0 14px; }
.st-go { width: 100%; font-size: 1.08rem; min-height: 52px; }
.st-recent { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; }
.st-recent li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--petal); font-size: .92rem; color: var(--muted); }
.st-recent b { color: var(--ink); }
.st-x { border: 0; background: var(--blush); color: var(--rose-deep); font: 800 .82rem var(--body); padding: 6px 12px; border-radius: 999px; cursor: pointer; min-height: 32px; }
.st-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.st-tiles.small { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; }
.st-tile { background: var(--card); border-radius: 22px; padding: 18px 18px 16px; box-shadow: 0 8px 22px -16px rgba(120, 50, 85, .45); border: 1px solid rgba(239, 201, 213, .55); }
.st-tiles > .st-tile:nth-child(4n+1) { background: #fdf3f6; } .st-tiles > .st-tile:nth-child(4n+2) { background: #f6f1fc; }
.st-tiles > .st-tile:nth-child(4n+3) { background: #f2f9f5; } .st-tiles > .st-tile:nth-child(4n+4) { background: #fdf8ea; }
.st-label { font-size: .85rem; font-weight: 800; color: var(--muted); margin: 0 0 4px; }
.st-value { font: 600 1.7rem/1.15 var(--head); font-variation-settings: "SOFT" 100; color: var(--ink); margin: 0; }
.st-note { font-size: .82rem; color: var(--muted); margin: 4px 0 0; }
.st-chart { position: relative; }
.st-plot { width: 100%; }
.st-plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.st-grid { stroke: #efe4ea; stroke-width: 1; }
.st-axis { font: 700 11px var(--body); fill: var(--muted); }
.st-axis.today { fill: var(--ink); }
.st-bar { fill: var(--bar, var(--rose)); transition: filter .15s; }
.st-bar.on { filter: brightness(1.18); }
.st-value-label { font: 800 12px var(--body); fill: var(--ink); }
.st-hit { fill: transparent; cursor: default; outline: none; }
.st-hit:focus-visible { fill: rgba(169, 75, 116, .08); }
.st-tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; border-radius: 12px; padding: 7px 12px; white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .4); display: grid; }
.st-tip[hidden] { display: none; }
.st-tip b { font-size: 1rem; } .st-tip span { font-size: .8rem; color: #e6d7e1; }
.st-tablewrap { box-shadow: none; border: 0; padding: 0; margin: 10px 0 0; background: none; }
.st-tablewrap summary { font: 700 .9rem var(--body); color: var(--rose); padding: 6px 0; }
.st-tablewrap summary::after { display: none; }
.st-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.st-table th, .st-table td { text-align: left; padding: 7px 4px; border-bottom: 1px solid #f1e6ec; }
.st-table td:last-child, .st-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.st-items { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.st-item { border-radius: 22px; padding: 16px 18px; background: var(--bg); border: 1.5px solid #f3e4eb; }
.st-item.low { border-color: var(--pink); background: #fff6f9; }
.st-item.away { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.st-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.st-item-name b { display: block; font: 600 1.15rem var(--head); font-variation-settings: "SOFT" 100; }
.st-item-name > .st-heart { float: left; margin: 2px 4px 0 -4px; }
.st-size { display: inline-block; margin-top: 4px; font-size: .78rem; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: var(--lilac); color: #4d3c6e; }
.st-count { text-align: right; line-height: 1; }
.st-num { display: block; font: 600 2.2rem var(--head); font-variation-settings: "SOFT" 100; color: var(--rose-deep); }
.st-count span:last-child { font-size: .8rem; font-weight: 800; color: var(--muted); }
.st-item-meta { margin: 8px 0 12px; color: var(--muted); font-size: .9rem; }
.st-low { display: inline-block; margin-right: 8px; font-size: .78rem; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: var(--rose-deep); color: #fff; }
.st-item-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.st-item-acts .btn { padding: 8px 14px; min-height: 40px; font-size: .92rem; }
.st-step { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--petal); background: var(--card); color: var(--rose-deep);
  font: 800 1.3rem/1 var(--body); cursor: pointer; }
.st-step:hover { background: var(--blush); }
.st-restock, .st-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 14px; margin-top: 14px; align-items: end; }
.st-restock .btns, .st-form .btns { grid-column: 1 / -1; }
.st-add, .st-away { box-shadow: none; border: 1.5px dashed var(--petal); background: transparent; }
.st-switch { display: inline-flex; align-items: center; gap: 10px; border: 0; background: var(--card); color: var(--ink); font: 800 .95rem var(--body);
  padding: 8px 16px 8px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--petal); cursor: pointer; min-height: 44px; }
.st-knob { width: 44px; height: 26px; border-radius: 999px; background: #e9dbe2; position: relative; transition: background .2s; flex: none; }
.st-knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.st-switch[aria-checked="true"] .st-knob { background: var(--rose-deep); }
.st-switch[aria-checked="true"] .st-knob::after { transform: translateX(18px); }
.st-wipe { margin-top: 16px; padding: 16px; border-radius: 18px; background: #fff0f0; }
.st-wipe p { color: #8a2338; font-weight: 700; }
.st-wipe input { margin-bottom: 12px; max-width: 260px; }
@media (max-width: 860px) {
  .st-top { grid-template-columns: 1fr; }
  .st-tiles.small { grid-template-columns: 1fr 1fr; }
}
.st-switches { display: flex; flex-wrap: wrap; gap: 10px; }
.st-reorder { background: #fff3c4; color: #5c4a00; border-radius: 16px; padding: 12px 18px; margin-bottom: 18px; font-weight: 600; }
.st-item-top { align-items: center; }
.st-item-name { flex: 1; min-width: 0; }
.st-shelf-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.st-filters { display: grid; gap: 10px; margin-bottom: 18px; }
.st-filters input[type="search"] { font: inherit; font-weight: 600; padding: 12px 16px; border-radius: 999px; border: 1.5px solid var(--petal);
  background: var(--bg); color: var(--ink); min-height: 48px; width: 100%; }
.st-catalogue { padding: 4px 4px 12px; margin: 0 -4px; }
.st-brand { font-size: 1.15rem; margin: 18px 0 10px; }
.st-brand:first-child { margin-top: 4px; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.st-pick { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; text-align: center; height: 160px;
  overflow: hidden; padding: 14px 22px; border-radius: 20px; border: 2px solid var(--petal);
  background: var(--bg); color: var(--ink); font: inherit; cursor: pointer;
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), border-color .15s; }
.st-pick:hover { transform: translateY(-2px); border-color: var(--rose); }
.st-pick b { font-size: 1rem; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.st-pick span { font-size: .78rem; color: var(--muted); }
.st-pick > b + span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.st-pickcell { grid-template-rows: 160px auto; }
.st-pick[aria-pressed="true"] { border-color: var(--rose-deep); background: #fff6f9; }
.st-tick { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--rose-deep); color: #fff; font: normal 800 .85rem var(--body); opacity: 0; transform: scale(.6); transition: .2s; }
.st-pick[aria-pressed="true"] .st-tick { opacity: 1; transform: none; }
.st-pick-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.st-pick-bar.sticky { position: sticky; bottom: 12px; background: var(--card); border-radius: 999px; padding: 8px 8px 8px 20px;
  box-shadow: 0 10px 30px -12px rgba(120, 50, 85, .45); border: 1px solid var(--petal); }
.st-pick-count { font-weight: 800; }
.st-pick-bar .btn[disabled] { opacity: .45; pointer-events: none; }
.st-notlisted { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 16px 0 0; }
.st-notlisted .st-sub { margin: 0; }
.st-amounts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.st-amount { display: grid; grid-template-columns: minmax(140px, 1.4fr) repeat(3, minmax(90px, 1fr)) auto; gap: 12px; align-items: end;
  padding: 14px; border-radius: 20px; background: var(--bg); }
.st-amount .st-field { margin: 0; }
.st-amount-name { align-self: center; }
.st-amount-name b { display: block; font: 600 1.05rem var(--head); font-variation-settings: "SOFT" 100; }
.st-amount-name span { font-size: .85rem; color: var(--muted); }
.st-amount .st-x { align-self: center; }
@media (max-width: 760px) {
  .st-amount { grid-template-columns: 1fr 1fr; }
  .st-amount-name { grid-column: 1 / -1; }
  .st-amount .st-x { grid-column: 1 / -1; justify-self: end; }
  .st-pick-bar.sticky { flex-wrap: nowrap; border-radius: 999px; padding: 6px 6px 6px 16px; }
  .st-pick-bar.sticky .btns { flex-wrap: nowrap; gap: 6px; }
  .st-pick-bar.sticky .btn { padding: 10px 16px; min-height: 44px; }
  .st-pick-count { font-size: .9rem; }
  .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.st-field textarea { font: inherit; font-weight: 600; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--petal); background: var(--bg); color: var(--ink); width: 100%; resize: vertical; }
.st-label { display: block; }
.st-h3 { font-size: 1.1rem; margin: 18px 0 10px; }
.st-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--petal); }
.st-quick .btn { flex: 1 1 140px; white-space: nowrap; padding-inline: 14px; }
.st-link { border: 0; background: none; color: var(--rose); font: 700 .88rem var(--body); padding: 10px 0 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.st-wearing { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 20px; background: #fff6f9; margin: 6px 0 16px; }
.st-wearing b { font: 600 1.15rem var(--head); font-variation-settings: "SOFT" 100; display: block; }
.st-since-line { margin: 2px 0 0; color: var(--muted); }
.st-since { font: 600 1.5rem var(--head); font-variation-settings: "SOFT" 100; color: var(--rose-deep); }
.st-more { box-shadow: none; border: 1.5px dashed var(--petal); background: transparent; margin: 8px 0 14px; padding: 0 16px; }
.st-more summary { font-size: .98rem; padding: 12px 30px 12px 0; }
.st-more[open] { padding-bottom: 14px; }
.st-pickrow { display: flex; gap: 10px; align-items: end; }
.st-pickrow .st-field { flex: 1; min-width: 0; }
.st-roll { margin-bottom: 14px; white-space: nowrap; min-height: 44px; }
.st-rolled { background: var(--butter); border-radius: 14px; padding: 8px 14px; margin: -4px 0 14px; }
.st-rolled p { margin: 0; }
.st-why { margin: 6px 0 0; padding-left: 18px; font-size: .92rem; }
.st-why li { margin: 2px 0; }
.st-pickask { background: var(--blush); border-radius: 16px; padding: 12px 16px 6px; margin: 0 0 14px; }
.st-pickask .st-label { margin: 8px 0 6px; }
.st-pickask .st-label:first-child { margin-top: 0; }
.st-pickask .st-rolled { margin: 12px 0 0; }
.st-pickask .btns { align-items: center; margin: 12px 0 8px; }
.st-buy { display: inline-flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; width: fit-content; max-width: 100%; gap: 2px 8px; margin: -2px 0 12px; font-weight: 600; color: var(--rose-deep); }
.st-buy small { font-weight: 400; color: var(--muted); }
.st-buy-none { margin: -2px 0 12px; font-size: .85rem; color: var(--muted); }
.st-buy-two { display: grid; justify-items: start; gap: 4px; margin: -2px 0 12px; }
.st-buy-two .st-buy { margin: 0; }
.st-buy-two.compact { justify-items: center; gap: 6px; }
.st-buy.mine span { color: var(--rose); }
.st-heart { border: 0; background: none; padding: 0 6px 0 0; font-size: 1.15rem; line-height: 1; color: var(--rose); cursor: pointer; min-width: 28px; min-height: 28px; }
.st-favlist { list-style: decimal; margin: 4px 0 6px; padding-left: 22px; display: grid; gap: 6px; }
.st-favlist li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.st-favlist li > span { flex: 1 1 160px; min-width: 0; }
.st-step.small { width: 34px; height: 34px; font-size: .8rem; }
.st-step.small[disabled] { opacity: .35; cursor: default; }
.st-heart.small { font-size: 1rem; padding: 0 0 0 8px; vertical-align: middle; }
.st-heart:focus-visible { outline: 2px solid var(--rose-deep); border-radius: 6px; }
.st-buy-none.compact { margin: 0; }
.st-buy.compact { display: grid; justify-items: center; gap: 0; margin: 0; font-size: .82rem; text-align: center; }
.st-pickcell { display: grid; gap: 6px; align-content: start; }
.st-reorder-links { display: grid; gap: 6px; margin-top: 8px; font-weight: 400; }
.st-reorder-link { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; }
.st-reorder-link .st-buy.compact { display: inline-flex; gap: 2px 6px; text-align: left; color: #5c3f00; text-decoration: underline; }
.st-reorder-link .st-buy.compact small { color: #6b5a1a; }
.st-reorder-link .st-buy-two.compact { justify-items: start; gap: 2px; }
.st-reorder-link .st-buy.mine span { color: #5c3f00; }
.st-already { background: var(--bg); border-radius: 14px; padding: 10px 14px; margin-top: 12px; }
.st-rlines { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; }
.st-rline { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(150px, 220px); gap: 12px; align-items: center; padding: 10px 12px; border-radius: 18px; background: var(--bg); }
.st-rline > b { font-weight: 700; line-height: 1.3; }
.st-rrange { margin: 0; font-size: .82rem; }
.st-stepper { display: inline-flex; align-items: center; gap: 8px; }
.st-step-n { min-width: 2ch; text-align: center; font: 600 1.35rem var(--head); font-variation-settings: "SOFT" 100; }
.st-rcounts { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 16px 0; }
.st-rcounts .st-label { margin-bottom: 6px; }
.st-rnight { margin: 8px 0 4px; }
.st-rnight-body { margin-top: 14px; padding: 14px; border-radius: 18px; background: var(--bg); }
.st-tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: -6px 0 10px; font-size: .9rem; font-weight: 700; color: var(--muted); }
.st-key { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; background: #a94b74; }
.st-key[data-key="bathroom"] { background: #3a7fc4; } .st-key[data-key="accident"] { background: #b8801a; }
.st-tip .st-key { box-shadow: 0 0 0 2px #fff; }
.st-tip-row { color: #fff !important; font-size: .88rem !important; }
.st-tip-row b { font-size: .9rem; }
.st-hday + .st-hday { margin-top: 6px; }
.st-hlist { list-style: none; padding: 0; margin: 0; }
.st-hrow { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 10px 0; border-top: 1px dashed var(--petal); }
.st-hrow.editing { display: block; }
.st-htime { font-weight: 800; color: var(--muted); font-size: .9rem; padding-top: 2px; }
.st-hwhat b { display: block; font-weight: 700; }
.st-hwhat span { color: var(--muted); font-size: .9rem; }
.st-hwhat i { display: block; color: var(--muted); font-size: .9rem; }
.st-hacts { display: flex; gap: 6px; }
.st-hedit { padding: 14px; border-radius: 18px; background: var(--bg); }
.st-history > .btn { margin-top: 14px; }
.st-wide { grid-column: 1 / -1; }
.st-stars { display: inline-flex; gap: 2px; }
.st-star { border: 0; background: none; font-size: 1.7rem; line-height: 1; color: #e3d3db; cursor: pointer; padding: 4px; min-width: 40px; min-height: 40px; }
.st-star.on { color: #d79a2b; }
.st-star:focus-visible { outline: 3px solid var(--pink); border-radius: 8px; }
.st-rate { margin-top: 14px; padding: 16px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--petal); }
.st-rate-row { display: flex; align-items: center; gap: 12px; }
.st-rate-row .st-label { width: 80px; margin: 0; }
.st-check { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; font-size: .95rem; margin: 4px 0 8px; }
.st-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--rose-deep); flex: none; }
.st-mystars { display: block; color: #d79a2b; font-size: .95rem; letter-spacing: 1px; margin-top: 2px; }
.st-where { display: block; margin-top: 4px; font-weight: 700; color: #4d3c6e; }
.st-item-note { margin: -4px 0 12px; font-size: .92rem; font-style: italic; color: var(--muted); }
.st-places { margin: 4px 0 16px; }
.st-placelist { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.st-placelist li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.st-placelist li b { margin-right: auto; }
.st-placelist .st-inline { flex-basis: 100%; }
.st-inline { display: flex; gap: 10px; align-items: center; }
.st-inline input { font: inherit; font-weight: 600; padding: 9px 14px; border-radius: 14px; border: 1.5px solid var(--petal); background: var(--bg); color: var(--ink); min-height: 44px; flex: 1; min-width: 0; }
.st-pick-place { max-width: 280px; margin-top: 14px; }
.st-settings summary { padding: 0 40px 0 0; }
.st-settings summary h2 { margin: 0; }
.st-set { padding-top: 16px; margin-top: 16px; border-top: 1px dashed var(--petal); }
.st-quiet { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.st-quiet input { font: inherit; font-weight: 600; padding: 8px 12px; border-radius: 14px; border: 1.5px solid var(--petal); background: var(--bg); color: var(--ink); min-height: 44px; }
.st-quiet .st-label { margin: 0; }
@media (max-width: 860px) {
  .st-tiles.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .st-rline { grid-template-columns: minmax(0, 1fr) auto; }
  .st-rrange { grid-column: 1 / -1; }
  .st-hrow { grid-template-columns: 1fr auto; }
  .st-htime { grid-column: 1 / -1; padding: 0; }
  .st-pickrow { flex-wrap: wrap; }
  .st-pickrow .st-field { flex-basis: 100%; }
  .st-roll { margin-top: -6px; }
}

/* ---------- Cove favorites ---------- */
.fv-range { margin-bottom: 20px; }
.fv-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.fv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fv-card { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 20px; background: var(--bg); }
.fv-card.top1 { background: #fdf8ea; box-shadow: inset 0 0 0 2px #ecd189; }
.fv-card.top2 { background: #f6f1fc; box-shadow: inset 0 0 0 2px var(--lilac); }
.fv-card.top3 { background: #fdf3f6; box-shadow: inset 0 0 0 2px var(--petal); }
.fv-rank { position: absolute; top: -8px; left: -8px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); color: var(--ink); font: 800 .95rem var(--body); box-shadow: 0 4px 10px -4px rgba(120, 50, 85, .4); }
.fv-card.top1 .fv-rank { background: #e9bf4f; color: #3b2a00; }
.fv-card.top2 .fv-rank { background: #b9a6e3; color: #2b1f45; }
.fv-card.top3 .fv-rank { background: var(--pink); color: #4a1830; }
.fv-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.fv-body > b { font: 600 1.12rem var(--head); font-variation-settings: "SOFT" 100; }
.fv-meta { color: var(--muted); font-size: .88rem; }
.fv-rating { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.fv-stars { position: relative; display: inline-block; font-size: 1.1rem; line-height: 1; letter-spacing: 1px; }
.fv-stars-off { color: #e3d3db; }
.fv-stars-on { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #d79a2b; }
.fv-meters { display: grid; gap: 4px; margin-top: 6px; }
.fv-meter { display: grid; grid-template-columns: 70px minmax(0, 1fr) 2.5ch; align-items: center; gap: 8px; font-size: .85rem; }
.fv-meter-label { color: var(--muted); font-weight: 700; }
.fv-meter-track { height: 8px; border-radius: 999px; background: #f1e3ea; overflow: hidden; }
.fv-meter-fill { display: block; height: 100%; border-radius: 999px; background: var(--rose); }
.fv-reviews { box-shadow: none; border: 0; background: none; padding: 0; margin: 6px 0 0; }
.fv-reviews summary { font: 700 .9rem var(--body); color: var(--rose); padding: 4px 0; }
.fv-reviews summary::after { display: none; }
.fv-reviews ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.fv-reviews li { background: var(--card); border-radius: 14px; padding: 10px 12px; }
.fv-reviews li p { margin: 4px 0; font-size: .95rem; }
.fv-reviews li.hidden-review { opacity: .55; }
.fv-when { font-size: .8rem; color: var(--muted); margin-right: 8px; }
.fv-empty { color: var(--muted); background: var(--bg); border-radius: 16px; padding: 18px; text-align: center; margin: 0; }
@media (max-width: 860px) { .fv-cols { grid-template-columns: 1fr; } }

/* ---------- Ashley's mark, worn list, Collectors board, moderation ---------- */
.ap-icon { flex: none; display: block; }
.ap-tag { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 2px 9px 2px 5px; border-radius: 999px;
  background: #fff7dc; color: #5c4300; font: 800 .74rem var(--body); box-shadow: inset 0 0 0 1.5px #ecd189; }
.ap-tag.rec { background: #ffeeb0; }
.ap-box { margin: 10px 0 4px; padding: 12px 14px; border-radius: 18px; background: #fffaea; box-shadow: inset 0 0 0 1.5px #f0dc9e; }
.ap-box.rec { background: linear-gradient(135deg, #fff4c9, #fdeaf1); box-shadow: inset 0 0 0 2px #e9bf4f; }
.ap-head { display: flex; align-items: center; gap: 10px; }
.ap-head b { display: block; font: 600 1rem var(--head); font-variation-settings: "SOFT" 100; color: var(--ink); }
.ap-stars { color: #d79a2b; letter-spacing: 1px; font-size: .95rem; }
.ap-box p { margin: 8px 0 0; font-size: .95rem; font-style: italic; color: var(--ink); }
.st-held { margin: -2px 0 12px; font-size: .88rem; font-weight: 700; color: #6b5200; background: #fff3c4; border-radius: 12px; padding: 6px 12px; }
.st-pick.gone { border-style: dashed; }
.st-pick .ap-tag { margin-top: 2px; }
.at-card { margin-bottom: 18px; }
.at-card .btns { margin: 6px 0 14px; }
.at-list { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.at-list b { color: var(--ink); }
#at-posts h3 { margin: 22px 0 8px; font-size: 1.1rem; }
.at-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.at-post { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 10px 14px; border-radius: 14px; background: var(--blush); }
.at-post a { font-weight: 800; }
.at-when, .at-where { color: var(--muted); font-size: .9rem; }
.at-where { margin-left: auto; }
.at-stories { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.at-story { padding: 14px 18px; border-radius: 16px; background: var(--blush); }
.at-story.pending { box-shadow: inset 0 0 0 2px var(--rose); }
.at-story p { margin: 0 0 6px; }
.at-story-text { white-space: pre-wrap; }
.at-story .btns { margin: 6px 0 0; }
.ap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ap-row { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border-radius: 18px; border: 1.5px solid var(--petal); }
.ap-row.on { border-color: #e9bf4f; background: linear-gradient(135deg, #fff4c9, #fdeaf1); }
.ap-name { flex: 1; min-width: 0; }
.ap-name b { display: block; }
.ap-mark { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px dashed var(--petal);
  background: var(--card); cursor: pointer; padding: 0; }
.ap-mark .ap-icon { opacity: .28; filter: grayscale(1); transition: opacity .15s, filter .15s, transform .15s; }
.ap-mark:hover .ap-icon { opacity: .6; }
.ap-mark[aria-pressed="true"] { border: 2px solid #e9bf4f; background: #fffaea; }
.ap-mark[aria-pressed="true"] .ap-icon { opacity: 1; filter: none; transform: scale(1.1); }
.ap-mark:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
.ap-how { display: flex; align-items: center; gap: 12px; }
.ap-how p { margin: 0; }
.ap-brands { display: grid; gap: 14px; margin-top: 14px; }
.ap-brand h2 { margin-top: 0; }
.fv-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 6px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--petal); width: fit-content; max-width: 100%; }
.fv-tab { border: 0; background: none; color: var(--ink); font: 800 .95rem var(--body); padding: 10px 18px; border-radius: 999px; cursor: pointer; min-height: 44px; }
.fv-tab[aria-selected="true"] { background: var(--rose-deep); color: #fff; }
.fv-tab:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.fv-picks { margin-bottom: 22px; }
.fv-picks-head { display: flex; align-items: center; gap: 14px; }
.fv-picklist { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); display: grid; }
.fv-worn-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 22px; }
.fv-catalogue { max-height: none; overflow: visible; }
.fv-pickwrap { display: grid; gap: 6px; align-content: start; }
.fv-take { justify-self: center; }
.fv-pickwrap .fv-ashley-form { grid-column: 1 / -1; }
.st-grid .fv-pickwrap:has(.fv-ashley-form) { grid-column: 1 / -1; }
.fv-suggest summary { padding: 0 40px 0 0; }
.fv-suggest summary h2 { margin: 0; }
.fv-suggest .st-check { align-self: center; margin: 0 0 14px; }
.fv-pending { margin: 0; padding-left: 20px; color: var(--muted); }
.fv-joinform { flex-wrap: wrap; }
.fv-joinform input { max-width: 320px; }
.fv-board { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fv-board-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 20px; background: var(--bg); }
.fv-board-row.me { box-shadow: inset 0 0 0 2px var(--rose); }
.fv-board-rank { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--card); font: 800 1rem var(--body); }
.fv-board-row.top1 .fv-board-rank { background: #e9bf4f; color: #3b2a00; }
.fv-board-row.top2 .fv-board-rank { background: #b9a6e3; color: #2b1f45; }
.fv-board-row.top3 .fv-board-rank { background: var(--pink); color: #4a1830; }
.fv-board-body { display: grid; gap: 4px; min-width: 0; }
.fv-board-body b { font: 600 1.1rem var(--head); font-variation-settings: "SOFT" 100; }
.fv-board-track { display: block; height: 8px; border-radius: 999px; background: #f1e3ea; overflow: hidden; }
.fv-board-fill { display: block; height: 100%; border-radius: 999px; background: var(--rose); }
.fv-board-n { text-align: right; line-height: 1; }
.fv-board-n b { display: block; font: 600 1.8rem var(--head); font-variation-settings: "SOFT" 100; color: var(--rose-deep); }
.fv-board-n span { font-size: .78rem; font-weight: 800; color: var(--muted); }
.fv-you { margin-left: 8px; font: 800 .72rem var(--body); padding: 2px 8px; border-radius: 999px; background: var(--rose-deep); color: #fff; vertical-align: 2px; }
.fv-who { font: 700 .85rem var(--body); color: var(--muted); }
.fv-admin { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.fv-mod { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fv-mod li { padding: 14px 16px; border-radius: 18px; background: var(--bg); display: grid; gap: 4px; }
.fv-mod p { margin: 4px 0; }
.fv-mod mark { background: #ffd9a8; color: var(--ink); border-radius: 4px; padding: 0 2px; }
.fv-mod .btns { margin-top: 6px; }
@media (max-width: 760px) {
  .fv-worn-tiles { grid-template-columns: 1fr 1fr; }
  .fv-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); width: 100%; border-radius: 24px; }
  .fv-tab { padding: 8px 10px; font-size: .88rem; line-height: 1.2; }
  .fv-picklist { grid-template-columns: 1fr; }
}

/* ---------- underwear, program fit, nicknames ---------- */
.undies.due { border: 2px solid var(--rose); }
#app > .card:not(:last-child) { margin-bottom: 22px; }
.undies h2 { margin-bottom: .3em; }
.undies-n { display: grid; gap: 4px; font-weight: 700; font-size: .9rem; }
.undies-n input, .undies .st-inline input { max-width: 140px; }
.undies-left { margin: 0 0 18px; color: var(--muted); }
.st-undies-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 6px 0 14px; }
.st-undies-top .st-count { text-align: left; }
.st-undies-steps { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.st-undies-steps li { padding: 10px 12px; border-radius: 16px; background: var(--bg); border: 1.5px solid #f3e4eb; display: grid; gap: 2px; }
.st-undies-steps li b { font-size: .92rem; }
.st-undies-steps li span { font-size: .8rem; color: var(--muted); }
.st-undies-steps li.done { background: var(--mint); border-color: #b7dcc8; }
.st-undies-steps li.done b::before { content: "✓ "; }
.st-undies-steps li.now { border-color: var(--rose); background: #fff6f9; }
.st-undies-due { padding: 14px 16px; border-radius: 18px; background: #fff6f9; }
.st-undies-due p { margin: 4px 0 12px; }
.st-undies-due .st-field { margin: 0; }
.st-undies-due .st-inline { align-items: end; }
.st-undies-due input { max-width: 140px; }
.fit { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; padding: 2px 9px 2px 3px; border-radius: 999px; font: 800 .74rem var(--body); width: fit-content; }
.fit i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .72rem; color: #fff; }
.fit.yes { background: #e3f4ea; color: #1f5a3a; } .fit.yes i { background: #2f8a57; }
.fit.no { background: #fbe6e6; color: #8a2338; } .fit.no i { background: #b8384f; }
.fit.wide { margin: 0 0 10px; }
.fv-fitbtns { display: flex; justify-content: center; gap: 6px; }
.fv-fit { width: 40px; height: 36px; border-radius: 12px; border: 1.5px solid var(--petal); background: var(--card); font: 800 1rem var(--body); cursor: pointer; color: var(--muted); }
.fv-fit.yes[aria-pressed="true"] { background: #2f8a57; border-color: #2f8a57; color: #fff; }
.fv-fit.no[aria-pressed="true"] { background: #b8384f; border-color: #b8384f; color: #fff; }
.m-nick { box-shadow: none; border: 0; background: none; padding: 0; margin: 2px 0 8px; }
.m-nick summary { font: 700 .9rem var(--body); color: var(--rose); padding: 2px 0; }
.m-nick summary::after { display: none; }
.m-nick .st-inline { margin-top: 8px; max-width: 420px; }
.m-nick .note { font-size: .85rem; margin: 6px 0 0; }
.a-names { margin: 2px 0 0; font-size: .85rem; color: var(--muted); font-weight: 700; }
@media (max-width: 640px) { .st-undies-steps { grid-template-columns: 1fr 1fr; } }

/* ---------- daily questions ---------- */
.qs { margin-top: 22px; }
.q-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 4px; }
.q { padding: 12px 0; border-bottom: 1px dashed var(--petal); }
.q-text { font-weight: 800; margin: 0 0 8px; }
.q.done .q-text { color: var(--muted); }
.q .chip { padding: 6px 13px; min-height: 38px; font-size: .9rem; }
.q-skip { border-style: dashed; color: var(--muted); }
.q-time { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.q-time label { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.q-time input { font: inherit; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--petal); background: var(--bg); color: var(--ink); min-height: 42px; }
.q-time .btn { padding: 8px 16px; min-height: 42px; }
.q-more { margin: 12px 0 0; font-weight: 800; }

/* ---------- progress / profile ---------- */
.pr-flags { border-radius: 22px; padding: 18px 22px; margin-bottom: 22px; background: var(--mint); color: #24493a; }
.pr-flags.on { background: #fff3c4; color: #5c4a00; }
.pr-flags h2 { font-size: 1.3rem; margin: 0 0 .3em; color: inherit; }
.pr-flags ul { margin: 0; padding-left: 1.2em; font-weight: 600; }
.pr-top { margin-bottom: 22px; }
.pr-cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.pr-nav { display: flex; align-items: center; gap: 10px; }
.pr-nav h2 { margin: 0; font-size: 1.35rem; min-width: 9em; text-align: center; }
.pr-today { padding: 8px 14px; min-height: 40px; }
.pr-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pr-wd { text-align: center; font-size: .78rem; font-weight: 800; color: var(--muted); padding-bottom: 2px; }
.pr-day { position: relative; aspect-ratio: 1; min-height: 52px; border-radius: 14px; border: 1.5px solid #f1e3ea; background: var(--card);
  color: var(--ink); font: inherit; cursor: pointer; padding: 6px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.pr-grid.week .pr-day { aspect-ratio: auto; min-height: 150px; padding-bottom: 18px; }
.pr-day:hover { border-color: var(--pink); }
.pr-day.today { box-shadow: 0 0 0 2px var(--rose-deep); }
.pr-day.picked { box-shadow: 0 0 0 3px var(--ink); }
.pr-day.outside { background: transparent; border-style: dashed; }
.pr-day.outside .pr-num { color: var(--muted); font-weight: 600; }
.pr-day.future { background: transparent; border-style: dashed; cursor: default; }
.pr-day.dark { color: #fff; border-color: transparent; }
.pr-num { font-weight: 800; font-size: .9rem; }
.pr-wdl { display: none; font-size: .75rem; font-weight: 800; opacity: .75; }
@media (max-width: 640px) { .pr-wdl { display: block; } }
.pr-marks { position: absolute; top: 5px; right: 7px; display: flex; gap: 2px; font-size: .8rem; font-style: normal; }
.pr-marks i { font-style: normal; }
.pr-fill { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 4px; border-radius: 999px; background: rgba(59, 39, 52, .12); overflow: hidden; }
.pr-fill span { display: block; height: 100%; background: var(--ink); border-radius: inherit; }
.pr-day.dark .pr-fill { background: rgba(255, 255, 255, .3); } .pr-day.dark .pr-fill span { background: #fff; }
.pr-mini { display: grid; gap: 2px; margin-top: 8px; font-size: .74rem; font-weight: 700; }
.pr-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: .84rem; color: var(--muted); align-items: center; }
.pr-ramp { display: inline-flex; align-items: center; gap: 4px; }
.pr-ramp i { width: 18px; height: 14px; border-radius: 4px; display: inline-block; }
.pr-ramp span:first-child { margin-right: 4px; } .pr-ramp span:last-child { margin-left: 4px; }
.pr-bar-key { display: inline-block; width: 22px; height: 4px; border-radius: 999px; background: var(--ink); vertical-align: middle; }
.pr-detail { margin-top: 18px; padding: 18px; border-radius: 20px; background: var(--bg); }
.pr-detail h3 { margin-top: 0; }
.pr-answers th { font-weight: 600; color: var(--muted); padding-right: 12px; }
.pr-trends { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px 30px; }
.pr-trend h3, .pr-choice h3 { font-size: 1.05rem; margin: 0 0 .2em; }
.pr-trend .st-sub { margin-bottom: 8px; font-size: .9rem; }
.pr-plot { width: 100%; }
.pr-plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.pr-line { fill: none; stroke: var(--rose); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pr-dot { fill: var(--rose); stroke: var(--card); stroke-width: 2; }
.pr-hair { stroke: var(--muted); stroke-width: 1; }
.pr-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px 30px; }
.pr-choice ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.pr-choice li { display: grid; grid-template-columns: minmax(90px, 9em) 1fr 2.2em; gap: 10px; align-items: center; font-size: .9rem; }
.pr-choice li b { text-align: right; font-variant-numeric: tabular-nums; }
.pr-htrack { height: 14px; border-radius: 4px; background: #f6edf1; overflow: hidden; }
.pr-hbar { display: block; height: 100%; background: var(--rose); border-radius: 0 4px 4px 0; }
@media (max-width: 640px) {
  .pr-grid { gap: 3px; }
  .pr-day { min-height: 42px; border-radius: 10px; padding: 4px; }
  .pr-grid.week { grid-template-columns: 1fr; }
  .pr-grid.week .pr-wd { display: none; }
  .pr-grid.week .pr-day { min-height: 64px; aspect-ratio: auto; padding-bottom: 16px; }
  .pr-grid.week .pr-mini { grid-auto-flow: column; justify-content: start; gap: 10px; margin-top: 4px; }
  .pr-marks { font-size: .65rem; top: 3px; right: 4px; }
  .pr-nav h2 { min-width: 0; font-size: 1.1rem; }
}
.a-t-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.a-t-head .btn { padding: 6px 14px; min-height: 36px; font-size: .9rem; }
.a-flags { margin: 6px 0 10px; padding: 10px 14px 10px 30px; border-radius: 14px; background: #fff3c4; color: #5c4a00; font-weight: 700; font-size: .92rem; }
.mood-stage { aspect-ratio: 16 / 9; margin-bottom: 20px; }
.mood-stage video { width: 100%; height: 100%; background: #000; }
.mood-soon { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; color: #fff; font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6); padding: 0 16px; }
.q-hint { font-size: .86rem; color: var(--muted); margin: -4px 0 8px; }
.q-skip { margin-top: 6px; }
.dr-rows { display: grid; gap: 8px; margin: 4px 0 10px; }
.dr-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dr-name { width: 8.5rem; font-weight: 700; }
.dr-line select { font: inherit; font-weight: 600; padding: 9px 12px; border-radius: 12px; border: 1.5px solid var(--petal); background: var(--bg); width: 8.5rem; max-width: 100%; }
.dr-x { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--petal); background: var(--card); color: var(--rose-deep); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.dr-amt { display: inline-flex; align-items: center; gap: 8px; }
.dr-amt input { font: inherit; font-weight: 600; padding: 9px 12px; border-radius: 12px; border: 1.5px solid var(--petal); width: 4.5rem; }
.q-input { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.q-input input, .q-input textarea { font: inherit; font-weight: 600; padding: 9px 12px; border-radius: 12px; border: 1.5px solid var(--petal);
  background: var(--bg); color: var(--ink); min-height: 42px; }
.q-input input { width: 9em; }
.q-input textarea { width: 100%; resize: vertical; }
.q-unit { font-weight: 700; color: var(--muted); }
.q-input .btn { padding: 8px 16px; min-height: 40px; }
.q-script { margin-top: 12px; padding: 14px 16px; border-radius: 18px; background: var(--night); color: #f4e9f1; display: flex; flex-wrap: wrap;
  gap: 10px 16px; align-items: center; justify-content: space-between; }
.q-script p { margin: 0; } .q-script b { color: #fff; }
.q-weekly { margin-top: 26px; padding-top: 18px; border-top: 2px dashed var(--lilac); }
.m-step { display: inline-block; margin: 0 0 16px; padding: 5px 14px; border-radius: 999px; background: var(--blush); color: var(--rose-deep); font: 800 .85rem var(--body); }
.q-fold { background: none; box-shadow: none; padding: 0; margin: 8px 0 0; border-radius: 0; }
.q-fold > summary { display: inline-block; font: 800 1rem var(--body); color: var(--rose-deep); padding: 10px 20px; border: 2px solid var(--petal); border-radius: 999px; background: var(--card); }
.q-fold > summary::after { display: none; }
.q-fold[open] > summary { margin-bottom: 14px; }
.q-settings { margin-top: 18px; box-shadow: none; background: var(--bg); }
.q-settings .q-time { margin: 0 0 12px; }
.q-cheer { font-weight: 600 !important; }
.q-rewards { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 14px; padding: 12px 16px; margin-bottom: 18px;
  border-radius: 18px; background: linear-gradient(90deg, #fdf3f6, #f6f1fc); color: var(--ink); text-decoration: none; }
.q-rewards:hover { color: var(--ink); box-shadow: 0 0 0 2px var(--petal); }
.q-level { font-family: var(--head); font-variation-settings: "SOFT" 100; }
.q-bar { height: 10px; border-radius: 999px; background: rgba(147, 57, 95, .12); overflow: hidden; }
.q-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--rose)); }
.q-stats { font-weight: 800; font-size: .9rem; white-space: nowrap; }
@media (max-width: 560px) { .q-rewards { grid-template-columns: 1fr auto; } .q-bar { grid-column: 1 / -1; grid-row: 2; } }
.pr-icon { display: inline-block; vertical-align: -3px; flex: none; }
.pr-marks { gap: 1px; }
.pr-face { position: absolute; right: 6px; bottom: 12px; line-height: 0; }
.pr-grid.week .pr-face { bottom: 22px; }
.pr-legend > span { display: inline-flex; align-items: center; gap: 4px; }
.pr-dot.best { fill: #ffd36e; stroke: #93395f; stroke-width: 2.5; }
.pr-rewards { background: linear-gradient(135deg, #fffaf6, #f7f0fc); }
.pr-level { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.pr-level-badge { position: relative; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff, #e9defa); box-shadow: 0 0 0 4px #fff, 0 10px 24px -12px rgba(77, 60, 110, .6); }
.pr-level-badge b { position: absolute; font: 600 1.15rem var(--head); color: #4d3c6e; }
.pr-level-badge .pr-icon { opacity: .55; }
.pr-level-text h2 { margin: 0 0 8px; }
.pr-level-text .note { margin: 6px 0 0; }
.pr-streak { display: grid; justify-items: center; text-align: center; line-height: 1.1; }
.pr-streak b { font: 600 1.8rem var(--head); color: var(--rose-deep); }
.pr-streak span { font-size: .8rem; font-weight: 800; color: var(--muted); }
.pr-badges-title { margin: 26px 0 12px; font-size: 1.15rem; }
.pr-badges { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pr-badge { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 14px 10px; border-radius: 20px; background: rgba(255, 255, 255, .6);
  border: 1.5px dashed #e5d6e0; font-size: .82rem; color: var(--muted); }
.pr-badge b { color: var(--ink); font-size: .9rem; line-height: 1.25; }
.pr-badge:not(.earned) .pr-sticker { filter: grayscale(1); opacity: .35; }
.pr-badge.earned { border: 1.5px solid var(--petal); background: #fff; box-shadow: 0 8px 20px -14px rgba(120, 50, 85, .5); }
.pr-sticker { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #fdf3f6; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--petal); }
.pr-badge.earned .pr-sticker { animation: pr-pop .6s cubic-bezier(.3, 1.6, .5, 1); }
.pr-private { font-size: .7rem; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--lilac); color: #4d3c6e; }
@keyframes pr-pop { from { transform: scale(.6); } }
@media (prefers-reduced-motion: reduce) { .pr-badge.earned .pr-sticker { animation: none; } }
.pr-latest { margin-top: 20px; }
.pr-notes { margin-top: 20px; }
.pr-notes blockquote { margin: 0 0 10px; padding: 12px 16px; border-radius: 16px; background: var(--bg); border-left: 4px solid var(--pink); }
.pr-notes blockquote p { margin: 0 0 4px; white-space: pre-wrap; }
.pr-notes cite { font-size: .82rem; color: var(--muted); font-style: normal; }
.pr-moods td:last-child, .pr-moods th:last-child { text-align: center; }
@media (max-width: 640px) {
  .pr-level { grid-template-columns: auto 1fr; }
  .pr-streak { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; gap: 8px; align-items: center; }
  .pr-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-face { bottom: 9px; right: 3px; }
  .pr-face .pr-icon { width: 16px; height: 16px; }
  .pr-grid.week .pr-face .pr-icon { width: 26px; height: 26px; }
  .pr-marks .pr-icon { width: 11px; height: 11px; }
}

/* ---------- terms + privacy ---------- */
.legal { padding: 10px 0 90px; }
.legal .body { font-size: 1.05rem; }
.legal .body h2 { margin-top: 1.7em; font-size: 1.45rem; }
.legal .body h2:first-of-type { margin-top: .4em; }
.legal .body ul { padding-left: 1.2em; }
.legal .body li { margin-bottom: .35em; }
.legal .body li::marker { color: var(--rose); }
.legal-other { text-align: center; margin-top: 28px; font-weight: 800; }
.terms-msg { text-align: left; max-width: 760px; margin: 0 auto; }
.terms-msg h1 { text-align: center; }
.terms-part { margin-top: 1.1em; padding-top: 1.2em; border-top: 2px dashed var(--petal); }
.terms-part h2 { font-size: 1.4rem; margin-bottom: .5em; }
.terms-release { padding: 16px 18px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--petal);
  font-size: .98rem; line-height: 1.6; }
.terms-fields { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; margin-top: 16px; }
.terms-fields label { min-width: 0; display: grid; gap: 6px; font-weight: 800; font-size: .92rem; }
.terms-fields input { width: 100%; min-width: 0; box-sizing: border-box; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--petal); background: var(--card); color: var(--ink); }
.terms-fields input:focus { outline: 3px solid var(--pink); outline-offset: 1px; }
.terms-sign { font: italic 500 1.35rem var(--head) !important; font-variation-settings: "SOFT" 100; }
@media (max-width: 560px) { .terms-fields { grid-template-columns: 1fr; } }
.terms-points { margin: 1em 0 1.2em; padding-left: 1.2em; }
.terms-points li { margin-bottom: .5em; }
.terms-points li::marker { color: var(--rose); }
.terms-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 1.2em; padding: 14px 16px; border-radius: 16px;
  background: var(--blush); font-weight: 700; cursor: pointer; }
.terms-check input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--rose-deep); }
.m-delete summary { cursor: pointer; font-weight: 800; color: var(--muted); }
.m-delete ul { padding-left: 1.2em; margin: .6em 0 1em; }
.m-delete-label { display: block; font-weight: 700; margin: 1em 0 6px; }
.m-delete input { font: inherit; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--petal); background: var(--card);
  color: var(--ink); width: min(100%, 260px); box-sizing: border-box; }
.btn.danger { background: #8a2338; }
.m-delete .btns { margin-top: 14px; }
.terms-name { color: var(--rose-deep); }
.terms-hint { font-weight: 600; font-size: .85rem; color: #8a2338; }
.mood-tools { align-items: center; margin-bottom: 8px; }
.st-month-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.st-month-head h2 { margin: 0; }
.st-month-head select { font: inherit; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--petal); background: var(--bg); color: var(--ink); }
.st-tiles.st-month-tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-top: 14px; }
.st-month-tiles .st-note { margin: 2px 0 0; }
.st-month-more { margin: 16px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) { .st-tiles.st-month-tiles { grid-template-columns: 1fr 1fr; } }
.mb-row { list-style: none; display: grid; grid-template-columns: repeat(12, minmax(0, 46px)); gap: clamp(2px, 1vw, 6px); padding: 0; margin: 10px 0 14px; }
.mb-row li { margin: 0; }
.mb-badge { display: block; width: 100%; height: auto; }
.mb-badge .mb-disc { stroke: #fff; stroke-width: 2.5; }
.mb-badge.earned { filter: drop-shadow(0 3px 5px rgba(120, 50, 85, .25)); }
.mb-badge.missed, .mb-badge.later { filter: grayscale(1); opacity: .35; }
.mb-badge.later { opacity: .3; margin: 0; border: 0; background: none; }
.mb-badge.now .mb-disc { stroke: var(--rose); stroke-dasharray: 4 3; }
.mb-badge.now g { opacity: .55; }
@media (prefers-reduced-motion: no-preference) { .mb-badge.earned { transition: transform .2s; } .mb-badge.earned:hover { transform: scale(1.12) rotate(-6deg); } }
.m-goal { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }
.m-held { background: #fff6dc; border-radius: 16px; padding: 12px 16px; }
.m-held p { margin: 0; }
.m-held .m-goal { margin-top: 6px; }
.rw-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.rw-head h2 { margin: 0; }
.rw-balance { margin: 0; color: var(--muted); }
.rw-balance b { font: 600 1.4rem var(--head); color: var(--rose-deep); }
.rw-card h3 { font-size: 1.1rem; margin: 22px 0 10px; }
.rw-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.rw-item { display: grid; gap: 10px; align-content: space-between; padding: 14px 16px; border-radius: 18px; background: var(--bg); border: 1.5px solid var(--petal); }
.rw-item.owned { border-style: dashed; }
.rw-item.locked { opacity: 1; filter: grayscale(.6); }
.rw-item.locked .rw-text { color: var(--muted); }
.rw-text { display: grid; gap: 3px; }
.rw-text b { font: 600 1.02rem var(--head); font-variation-settings: "SOFT" 100; }
.rw-text span { font-size: .9rem; }
.rw-meta { color: var(--muted); font-size: .85rem; }
.rw-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.rw-btns .btn { min-height: 40px; padding: 8px 16px; }
.rw-btns .btn[disabled] { opacity: .55; pointer-events: none; }
.rw-ask { margin: 0; }
.rw-claims { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rw-claims li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 16px; background: var(--bg); }
.rw-reply { margin: 6px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff6f9; font-style: italic; }
.rw-certs { display: flex; flex-wrap: wrap; gap: 8px; }
.cert { max-width: 760px; margin: 20px auto; padding: 48px 40px; text-align: center; background: #fffdfb; border-radius: 28px;
  border: 3px double var(--petal); box-shadow: 0 0 0 10px #fdf1f5, var(--shadow); }
.cert-badge { width: 120px; margin: 0 auto 10px; }
.cert-site { font: 700 .95rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin: 0; }
.cert h1 { margin: 6px 0 22px; }
.cert-line { margin: 6px 0; color: var(--muted); }
.cert-name { font: 600 clamp(2rem, 6vw, 3rem) var(--head); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--rose-deep); margin: 8px 0; }
.cert-date { margin: 26px 0 0; font-weight: 700; }
.cert-sign { margin: 4px 0 0; font: italic 600 1.6rem var(--head); color: var(--ink); }
.cert-tools { margin-top: 20px; }
@media print {
  .site-header, .site-footer, header, footer, nav, .cert-tools { display: none !important; }
  body, .app { background: #fff !important; }
  .cert { box-shadow: none; margin: 0 auto; }
}
.qh-btn { position: fixed; left: 14px; bottom: 14px; z-index: 900; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--petal);
  background: var(--card); color: var(--muted); font: 700 1rem var(--body); cursor: pointer; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .4); opacity: .8; }
.qh-btn:hover, .qh-btn:focus-visible { opacity: 1; }
.qh-cover { position: fixed; inset: 0; z-index: 2147483000; background: #fff; color: #222; overflow: auto; }
.qh-page { max-width: 560px; margin: 0 auto; padding: 48px 24px; font: 16px/1.6 -apple-system, system-ui, sans-serif; }
.qh-page h1 { font: 700 1.6rem -apple-system, system-ui, sans-serif; margin: 0 0 16px; color: #222; }
.qh-page ul { padding-left: 20px; }
.qh-back { margin-top: 40px; border: 0; background: none; color: #999; font: inherit; font-size: .85rem; cursor: pointer; text-decoration: underline; }
.care-banners { display: grid; gap: 10px; margin: 0 0 18px; }
.care-note { background: #fff6dc; border-radius: 18px; padding: 14px 18px; }
.care-note p { margin: 0 0 6px; }
.care-note .btns { margin-top: 8px; }
.care-note.health { background: #fdeef3; }
.care-note.welcome_back { background: #eef8f1; }
.welcome-list { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.welcome-list li { display: flex; gap: 10px; align-items: center; }
.welcome-list li.done { color: var(--muted); text-decoration: line-through; }
.welcome-tick { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 2px solid var(--petal); display: grid; place-items: center; font-weight: 800; color: #fff; }
.welcome-list li.done .welcome-tick { background: var(--rose-deep); border-color: var(--rose-deep); }
.playful { margin: 4px 0 14px; padding: 12px 16px; border-radius: 18px; background: #f6f1fc; border: 2px dashed #c9b6f2; }
.playful.on { background: #fdf3f6; border-color: var(--rose); }
.playful .note { margin: 6px 0 0; }
.playful-switch { font-size: 1.05rem; }
.todo.extra { background: #f6f1fc; border-radius: 16px; }
.m-break { background: #eef4fb; border-radius: 16px; padding: 12px 16px; }
.m-break p { margin: 0 0 8px; }
.m-held .btns { margin-top: 10px; }
.mb-badge.catchup { opacity: .75; }
.mb-badge.catchup .mb-disc { stroke: #e9bf4f; stroke-dasharray: 4 3; }
.wake { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 20px; text-align: center;
  background: rgba(33, 23, 43, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; animation: wake-in .6s ease; }
.wake-inner { position: relative; display: grid; gap: 10px; justify-items: center; max-width: 520px; }
.wake-title { font: 600 clamp(1.4rem, 4vw, 2rem) var(--head); font-variation-settings: "SOFT" 100; margin: 0; }
.wake-sub { margin: 0; color: #f4e9f1; }
.wake-skip { color: #f4e9f1; opacity: .8; margin-top: 4px; }
.wake-row { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.wake-btn { position: relative; z-index: 1; background: #fff; color: var(--ink); }
.wake-btn:hover { background: #fdf1f5; }
.wake .btn { margin-top: 8px; }
.confetti { position: absolute; z-index: 0; width: 8px; height: 8px; border-radius: 2px; pointer-events: none; transform: translate(-50%, -50%); }
@keyframes wake-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wake { animation: none; } }
span.tick { display: grid; place-items: center; cursor: default; }
.mb-wrap { margin: 10px 0 14px; }
.mb-wrap .mb-row { margin: 0 0 6px; }
.mb-caption { margin: 8px 0 4px; font: 800 .75rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mb-badge.night .mb-disc { stroke: #e9bf4f; }
body:has(.st-pick-bar.sticky) .qh-btn { bottom: 86px; }
.wake-away { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 3; margin: 0; padding: 8px 16px; border-radius: 999px;
  background: rgba(33, 23, 43, .8); color: #fff; font-size: .9rem; white-space: nowrap; max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; }
.nav [hidden] { display: none !important; }
.st-note-box { margin: 14px 0 4px; padding: 12px 16px; border-radius: 16px; background: #eef4fb; font-size: .92rem; }
.st-key[data-key="briefs"] { background: #a94b74; } .st-key[data-key="pullups"] { background: #c9b6f2; }
.st-used { margin-top: 16px; }
.st-used .st-table td:nth-child(n+3), .st-used .st-table th:nth-child(n+3) { text-align: right; }

/* Health concerns (members page form and admin list) and Remove from program */
.a-concerns { border: 2px solid #e7a3b4; }
.a-concerns li.urgent { background: #fff0f0; box-shadow: inset 4px 0 0 #8a2338; }
.a-remove { flex-basis: 100%; }
.a-remove summary { cursor: pointer; color: #8a2338; font-weight: 700; font-size: .95rem; }
.a-remove input[type=text] { width: 100%; max-width: 420px; margin: 4px 0 8px; }
.concern-form textarea { width: 100%; min-height: 110px; font: inherit; }
.concern-advice { background: #fff0f0; color: #8a2338; border-radius: 14px; padding: 12px 16px; font-weight: 700; }

/* Deals */
.dl-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.dl-top .note { margin: 0; }
.dl-chips { margin: 0 0 18px; }
.dl-cards { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.dl-card { background: var(--card); border-radius: 22px 22px 22px 6px; padding: 18px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.dl-card.mine { box-shadow: var(--shadow), inset 0 0 0 2px var(--rose); }
.dl-card h3 { font-size: 1.18rem; margin: 2px 0 0; line-height: 1.25; }
.dl-card h3 a { color: var(--ink); text-decoration-color: var(--petal); text-underline-offset: 3px; }
.dl-card p { margin: 0; }
.dl-card .btns { margin-top: auto; padding-top: 8px; }
.dl-card .btn { padding: 8px 16px; min-height: 40px; }
.dl-card-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dl-card-top .note { margin-left: auto; }
.dl-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 800 .78rem var(--body); background: var(--blush); color: var(--rose-deep); }
.dl-sale, .dl-banner { background: #fde3ea; color: #8a2348; }
.dl-drop { background: #e2f1fb; color: #1f4a68; }
.dl-low { background: #fbf0d2; color: #5c4300; }
.dl-shelf { background: var(--rose-deep); color: #fff; }
.dl-shop { color: var(--muted); font-weight: 700; }
.dl-shop a { color: inherit; }
.dl-facts { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .95rem; }
.dl-off { color: #8a2348; }
.dl-code { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.dl-code code { font: 800 .95rem ui-monospace, monospace; background: var(--bg); padding: 4px 10px; border-radius: 8px; letter-spacing: .04em; }
.dl-code .chip { padding: 4px 12px; font-size: .85rem; }

.dl-filters { display: grid; gap: 12px; }
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-row input[type="search"], .dl-search { flex: 1 1 240px; font: inherit; font-weight: 600; padding: 12px 16px; border-radius: 999px;
  border: 1.5px solid var(--petal); background: var(--bg); color: var(--ink); }
.dl-search { width: 100%; margin: 6px 0 4px; }
.dl-row select { font: inherit; font-weight: 700; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--petal); background: var(--bg); color: var(--ink); }
.dl-count { margin: 4px 2px 12px; }
.dl-tablewrap { position: relative; overflow-x: auto; background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: 6px 14px 10px; margin-bottom: 30px; }
.dl-tablewrap:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.dl-table { min-width: 980px; }
.dl-table thead th { position: sticky; top: 0; background: var(--card); vertical-align: bottom; }
.dl-table th, .dl-table td { vertical-align: top; padding: 10px 8px; }
.dl-table td:last-child, .dl-table th:last-child { text-align: left; }
.dl-table th.num { text-align: left; }
.dl-table tbody th { font-weight: 700; max-width: 300px; }
.dl-table tbody th a { color: var(--ink); text-decoration-color: var(--petal); text-underline-offset: 3px; }
.dl-table tbody tr.mine th { box-shadow: inset 4px 0 0 var(--rose); padding-left: 12px; }
.dl-table td:nth-child(2) a { color: var(--ink); font-weight: 700; }
.dl-sort { border: 0; background: none; font: 800 .9rem var(--body); color: var(--ink); padding: 4px 0; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.dl-sort:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 6px; }
.dl-arrow { color: var(--muted); font-size: .75rem; }
th[aria-sort="ascending"] .dl-arrow, th[aria-sort="descending"] .dl-arrow { color: var(--rose-deep); }
.dl-sub { display: block; font-weight: 600; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.dl-price a { display: grid; gap: 1px; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.dl-price a:hover b { text-decoration: underline; }
.dl-price b { font-size: 1.05rem; }
.dl-price small { font-size: .75rem; color: var(--muted); font-weight: 700; }
.dl-price.sale b { color: #8a2348; }
.dl-pack { font-size: .8rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.dl-was { font-size: .8rem; color: var(--muted); }
.dl-ship { display: block; font-size: .78rem; color: #2f7553; font-weight: 600; }
.dl-out { font-size: .75rem; font-weight: 800; color: #8a2338; }
.dl-none { color: #c9b6c1; }

.dl-matches { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.dl-match { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 16px; background: var(--bg); }
.dl-match b a { color: var(--ink); }
.dl-match-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dl-match-acts input { font: inherit; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--petal); min-width: 240px; }
.dl-match .btn { padding: 8px 14px; min-height: 40px; }
.dl-welcome { background: #e6f4ea; color: #24493a; }
.dl-discount { background: #fde3ea; color: #8a2348; }
.dl-offer { background: #efe9fb; color: #3d2d66; }
.dl-h2 { font-size: 1.5rem; margin: 6px 0 12px; }
.dl-codecard h3 a { color: var(--ink); }
.dl-codecard .dl-code code { font-size: 1.1rem; padding: 6px 12px; }
.dl-tiles { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.dl-tile { background: var(--card); border-radius: 20px; padding: 14px 16px; box-shadow: var(--shadow); display: grid; gap: 3px; align-content: start; }
.dl-tile-label { font: 800 .78rem var(--body); color: var(--rose-deep); text-transform: none; }
.dl-tile-name { font-weight: 800; color: var(--ink); text-decoration-color: var(--petal); text-underline-offset: 3px; line-height: 1.25; }
.dl-tile-price { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.dl-tile .dl-pack { white-space: normal; }
.dl-price > b + .dl-pack { display: block; }
.dl-cap { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dl-remove { display: block; margin-top: 8px; border: 0; background: none; padding: 2px 0; font: 700 .8rem var(--body); color: var(--muted);
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.dl-remove:hover { color: #8a2338; }
.dl-remove.sure { color: #fff; background: #8a2338; padding: 4px 10px; border-radius: 999px; text-decoration: none; }
.dl-remove:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

/* ---------- journal ---------- */
.jr-form { display: grid; gap: 12px; }
.jr-form textarea { width: 100%; font: inherit; padding: 14px 16px; border-radius: 18px; border: 1.5px solid var(--petal); background: var(--card); color: var(--ink); resize: vertical; }
.jr-label { margin: 0; font-weight: 800; }
.jr-list { display: grid; gap: 14px; }
.jr-entry .meta { color: var(--muted); font-size: .92rem; margin-bottom: 6px; }
.jr-text { white-space: pre-wrap; }
.jr-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.jr-foot .btns { margin: 0; }
.jr-seen { color: var(--muted); font-size: .92rem; font-weight: 700; }

/* ---------- swirl library ---------- */
.lib-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.lib-card { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; transition: translate .25s; }
.lib-card:hover { translate: 0 -3px; color: var(--ink); }
.lib-card.c1 { background: var(--blush); } .lib-card.c2 { background: var(--lilac); } .lib-card.c3 { background: var(--sky); } .lib-card.c4 { background: var(--mint); }
.lib-card h2 { font-size: 1.35rem; margin: 10px 0 2px; }
.lib-card p { margin: 0; }
.lib-card .meta { color: #5e4956; font-size: .92rem; }
.lib-swirl { width: 46px; height: 46px; border-radius: 50%; background: repeating-conic-gradient(var(--rose) 0 30deg, var(--card) 30deg 60deg); opacity: .8; }
.lib-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
.lib-card .tag { background: var(--card); }
.lib-foot { margin-top: 24px; }

/* ---------- monthly recap ---------- */
.rc-tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(190px, 40vw), 1fr)); margin: 0 0 22px; }
.rc-tile { display: flex; flex-direction: column; gap: 2px; }
.rc-tile b { font: 600 2.1rem/1.1 var(--head); font-variation-settings: "SOFT" 100; color: var(--ink); }
.rc-label { font-weight: 800; }
.rc-sub, .rc-diff { color: var(--muted); font-size: .9rem; text-wrap: balance; }
.rc-diff.good { color: #2f6b4f; } .rc-diff.less { color: #8a5a00; }
.rc-wins { margin-bottom: 22px; }
.rc-list { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.rc-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(22px, 1fr)); gap: 4px; margin: 8px 0 12px; }
.rc-day { aspect-ratio: 1; border-radius: 6px; }
.rc-day.empty { background: transparent; box-shadow: inset 0 0 0 1.5px var(--petal); }
.rc-key { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- members' extras: colors, recap card, tour, stories, install, trial ---------- */
.theme-row { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-pick { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 800; color: var(--ink); cursor: pointer;
  padding: 8px 16px 8px 8px; border-radius: 999px; border: 1.5px solid var(--petal); background: var(--card); }
.theme-pick:hover { background: var(--blush); }
.theme-pick[aria-checked="true"] { border-color: var(--rose-deep); box-shadow: 0 0 0 2px var(--rose-deep); }
.theme-dot { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.recap-card { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; justify-content: space-between; margin-bottom: 18px;
  background: var(--butter); color: var(--ink); text-decoration: none; }
.recap-card span { font-weight: 800; color: var(--rose-deep); }
dialog.tour { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: transparent; overflow: hidden; color: var(--ink); }
dialog.tour::backdrop { background: transparent; }
.tour-hole { position: fixed; border-radius: 26px; pointer-events: none; box-shadow: 0 0 0 9999px rgba(29, 20, 38, .55), 0 0 0 3px rgba(255, 253, 251, .9); }
.tour-hole.moving { transition: left .3s ease, top .3s ease, width .3s ease, height .3s ease; }
.tour-hole.none { left: 50% !important; top: 50% !important; width: 0 !important; height: 0 !important; box-shadow: 0 0 0 9999px rgba(29, 20, 38, .55); }
.tour-bubble { position: fixed; background: var(--card); border-radius: var(--radius); padding: 24px 24px 18px; max-height: calc(100% - 32px); overflow: auto;
  box-shadow: 0 30px 80px -30px rgba(40, 20, 40, .7); }
.tour-bubble h2 { font-size: 1.5rem; }
.tour-bubble p { margin: 0 0 14px; }
.tour-bubble .theme-row { margin: 4px 0 14px; }
.tour-count { margin: 0 0 6px; color: var(--muted); font-size: .88rem; font-weight: 800; }
.story-form { display: grid; gap: 12px; margin-top: 12px; }
.story-form label:not(.terms-check) { display: grid; gap: 4px; font-weight: 800; }
.story-form input[type="text"], .story-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--petal); background: var(--card); color: var(--ink); }
.review-card .btn { margin-top: 4px; }
dialog.review-pop { width: min(520px, 100% - 32px); max-height: calc(100% - 32px); overflow: auto; border: 0; border-radius: var(--radius);
  padding: 24px 24px 20px; background: var(--card); color: var(--ink); box-shadow: 0 30px 70px -30px rgba(40, 20, 50, .6); }
dialog.review-pop::backdrop { background: rgba(29, 20, 38, .55); backdrop-filter: blur(3px); }
dialog.review-pop h2 { margin: 0 0 4px; }
.rv-label { margin: 4px 0 -6px; font-weight: 800; }
.rv-stars { display: flex; gap: 6px; }
.rv-stars button { font: inherit; font-size: 2.1rem; line-height: 1; width: 48px; height: 48px; border: 0; border-radius: 12px; background: transparent;
  color: var(--petal); cursor: pointer; transition: transform .12s, color .12s; }
.rv-stars button.on { color: #c9861a; }
.rv-stars button:hover { transform: scale(1.12); }
.rv-stars button:focus-visible { outline: 3px solid var(--rose); outline-offset: 1px; }
.rv-better { display: grid; gap: 6px; padding: 12px 14px; border-radius: 16px; background: var(--blush); }
.rv-better label { display: grid; gap: 2px; }
.rv-better .note { font-weight: 400; margin: 0; }
.at-stars, .story-stars { margin: 0 0 4px; color: #c9861a; letter-spacing: 2px; font-size: 1.05rem; }
.at-improve { margin: 6px 0; padding: 8px 12px; border-radius: 12px; background: var(--blush); white-space: pre-wrap; }
.story-mine { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.story-mine li { padding: 12px 16px; border-radius: 16px; background: var(--blush); }
.story-mine p { margin: 4px 0; white-space: pre-wrap; }
.story-mine .meta { color: var(--muted); font-size: .9rem; font-weight: 800; }
.install-card { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; margin-top: 26px; background: var(--lilac); }
.install-card p { margin: 4px 0 0; }
.install-card .btns { margin: 0; }
.trial-join { margin-top: 26px; }
.m-foot .st-link { margin-left: 14px; }
.m-head select { font: inherit; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--petal); background: var(--card); color: var(--ink); }
.foot-brand p { text-wrap: balance; }
.st-costs .st-tiles { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.st-cost-table td:first-child { font-weight: 700; }
.st-cost-compare { margin: 10px 0 0; font-weight: 800; color: var(--ink); }

/* ---------- admin: add prices ---------- */
.mp-tabs { margin-bottom: 14px; }
.mp-filters { display: grid; gap: 12px; }
.mp-filters input { font: inherit; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--petal); background: var(--bg); color: var(--ink); max-width: 420px; }
.mp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mp-row { display: block; padding: 14px 18px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--petal); }
.mp-row.open { box-shadow: inset 0 0 0 2px var(--rose); }
.mp-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.mp-head .btns { margin: 0; }
.mp-meta { display: block; color: var(--muted); font-size: .9rem; }
.mp-form { display: grid; gap: 10px 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-top: 14px; }
.mp-form label { display: grid; gap: 4px; font-weight: 800; font-size: .9rem; }
.mp-form input { font: inherit; font-weight: 400; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--petal); background: var(--bg); color: var(--ink); min-width: 0; }
.mp-wide { grid-column: span 2; }
.mp-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mp-each { font-weight: 800; color: var(--rose-deep); margin-right: auto; }
.mp-form .m-error { grid-column: 1 / -1; margin: 0; }

/* ---------- admin: free trials ---------- */
.ts-table th[scope="row"] { font-weight: 700; text-align: left; }
.ts-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.ts-tiers { margin: 12px 0 0; }
.ts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ts-row { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; padding: 12px 16px; border-radius: 16px; background: var(--bg); }
.ts-right { text-align: right; }
.ts-meta { display: block; color: var(--muted); font-size: .9rem; }
.ts-out { font-weight: 800; }
.ts-row.paying .ts-out { color: #2f6b4f; } .ts-row.left .ts-out, .ts-row.joined_left .ts-out { color: #8a5a00; }

/* ---------- trial discount ---------- */
.rw-card.earned { box-shadow: inset 0 0 0 2px var(--rose); }
.rw-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(28px, 1fr)); gap: 6px; margin: 6px 0 12px; max-width: 420px; }
.rw-day { position: relative; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--petal); background: var(--card); }
.rw-day.done { background: var(--rose-deep); box-shadow: none; }
.rw-day.goal::after { content: ""; position: absolute; inset: -4px; border-radius: 11px; border: 2px dashed var(--rose); }
.rw-day i { position: absolute; top: calc(100% + 6px); left: 50%; translate: -50% 0; font: 800 .78rem var(--body); font-style: normal; color: var(--rose-deep); white-space: nowrap; }
.rw-bar:has(i) { margin-bottom: 30px; }
.rw-code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 8px; font-weight: 800; }
.rw-code code { font: 800 1.3rem/1 ui-monospace, Menlo, monospace; letter-spacing: .06em; padding: 10px 16px; border-radius: 12px; background: var(--butter); color: var(--ink); }
.rw-label { color: var(--muted); }
.rw-count { margin: 0; font-weight: 800; font-size: .92rem; }

.progress-top .mb-row, .progress-top .month-badges { margin: 4px 0 10px; }
.pt-more { font-weight: 800; font-size: .95rem; }
.pt-count { margin: 6px 0 6px; }
.pt-rewards:not(:empty) { margin-top: 14px; }
.pt-rewards .q-rewards { margin-bottom: 0; }
.progress-top .m-next, .progress-top > div:last-child { margin-top: 12px; }
.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; }
.progress-top { margin-bottom: 20px; }
@media (max-width: 560px) {
  .q-rewards { grid-template-columns: 1fr; gap: 8px; }
  .q-rewards .q-bar { grid-column: auto; grid-row: auto; }
}
[data-view="settings"] .q-time { display: grid; justify-items: start; gap: 12px; }
[data-view="settings"] .q-time .note { margin: -6px 0 0; }
.q-time select { font: inherit; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--petal); background: var(--bg); color: var(--ink); min-height: 42px; }
[data-view="settings"] .m-section { scroll-margin-top: 110px; }
.item.locked .num { background: transparent; border: 1.5px dashed var(--petal); color: var(--muted); }
.h-night .w { text-wrap: balance; }
#stories .note { color: #e9dcef; }
.pt-track { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; }
.pt-score { flex: none; min-width: 64px; padding: 6px 12px; border-radius: 999px; background: var(--blush); color: var(--rose-deep); font-weight: 800; text-align: center; font-size: 1.1rem; }
.pt-score.good { background: var(--mint); color: #24563f; }

body [data-align="left"], body [data-align="left"] :is(h1, h2, h3, p, li, summary, .sign) { text-align: left; }
body [data-align="center"], body [data-align="center"] :is(h1, h2, h3, p, li, summary, .sign) { text-align: center; }
body [data-align="right"], body [data-align="right"] :is(h1, h2, h3, p, li, summary, .sign) { text-align: right; }
body [data-align="left"] .btns { justify-content: flex-start; }
body [data-align="center"] .btns { justify-content: center; }
body [data-align="right"] .btns { justify-content: flex-end; }
body [data-align="center"] :is(.lead, .h-step, .h-counts, h2) { margin-inline: auto; }
body [data-align="right"] :is(.lead, .h-step, h2) { margin-left: auto; margin-right: 0; }
.post .body .align-center { text-align: center; }
.post .body .align-right { text-align: right; }
.task-box { margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: #fdf3f6; border: 2px solid var(--blush); }
.task-box h3 { margin: 0 0 6px; font-size: 1.05rem; }
.task-box .task-text { white-space: pre-line; margin: 0 0 8px; }
.task-box .note { margin: 0 0 10px; }
.task-box .btn[aria-disabled="true"] { opacity: .55; }
.task-progress { margin: 12px 0 0; }
.stage .sw-canvas { position: absolute; inset: 0; display: none; }
.stage.sound .sw-canvas { display: block; }
.player .stage.sound video { position: absolute; inset: 0; background: transparent; }
.stage .sw-words { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 6%; text-align: center; pointer-events: none; z-index: 2;
  font: italic 500 clamp(2rem, 6vw, 4.4rem) var(--head); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--wc, #fff);
  text-shadow: 0 0 26px var(--wg, rgba(234, 168, 191, .85)), 0 0 4px var(--wo, rgba(40, 14, 34, .8)); opacity: 0; transition: opacity .12s ease; }
.stage .sw-words.on { opacity: 1; }
.stage .sw-words.em { font-size: clamp(2.4rem, 7.5vw, 5.4rem); }
.stage .sw-words.em:not([data-wc]), .stage .sw-words.em[data-wc="0"] { color: #ffd6e6; text-shadow: 0 0 34px rgba(255, 170, 205, 1), 0 0 6px rgba(40, 14, 34, .8); }
.sw-words[data-wf="1"] { font-style: normal; font-weight: 600; font-variation-settings: "SOFT" 50, "WONK" 0; }
.sw-words[data-wf="2"] { font-family: var(--body); font-style: normal; font-weight: 800; font-variation-settings: normal; letter-spacing: -.01em; }
.sw-words[data-wf="3"] { font-family: var(--body); font-style: normal; font-weight: 950; font-variation-settings: normal; text-transform: uppercase; letter-spacing: .04em; }
.stage .sw-words[data-wf="3"] { font-size: clamp(1.7rem, 5.2vw, 3.8rem); }
.stage .sw-words[data-wf="3"].em { font-size: clamp(2rem, 6.4vw, 4.6rem); }
.stage .sw-words[data-wk="0"], .stage .sw-words.em[data-wk="0"] { text-shadow: none; }
.stage .sw-words[data-wk="2"], .stage .sw-words.em[data-wk="2"] { -webkit-text-stroke: .1em var(--wo); paint-order: stroke fill; text-shadow: none; }
.stage .sw-words[data-wk="3"] { -webkit-text-stroke: .1em var(--wo); paint-order: stroke fill; }
.sw-style { margin-top: 14px; }
.sw-style summary { font: 700 1rem var(--head); cursor: pointer; }
.sw-style .note { margin: 8px 0 10px; }
.sw-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 16px; }
.sw-field { display: grid; gap: 4px; font-size: .92rem; color: var(--muted); }
.sw-field select, .sw-field input { width: 100%; }
@media (max-width: 640px) { .player .stage.sound { aspect-ratio: 4 / 5; } }
.sw-modes { display: flex; gap: 8px; margin: 0 0 12px; }
.stage.reading video, .stage.reading .sw-words:not(.sw-read), .stage:not(.reading) .sw-read, .stage:not(.reading) .sw-readbar { display: none; }
.sw-readbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  padding: 12px 16px; color: #fff; background: linear-gradient(transparent, rgba(20, 10, 24, .7)); font-size: .92rem; }
.sw-readbar .sw-play { padding: 6px 16px; min-height: 38px; }
.sw-readbar .sw-where { flex: 1; min-width: 120px; }
.sw-rate { display: flex; align-items: center; gap: 10px; }
.sw-rate input { width: 140px; }
.sw-rate-note { flex-basis: 100%; margin: 0; font-size: .85rem; }
.su-form { display: grid; gap: 10px; max-width: 460px; margin-bottom: 24px; }
.su-form label { font-weight: 700; margin-top: 10px; }
.su-form .btn { justify-self: start; margin-top: 12px; }
.ll-total { font-weight: 800; margin-bottom: 14px; }
.ll-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ll-row { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.ll-row .note { margin: 2px 0 0; }
.ll-mark { font-weight: 800; color: var(--muted); }
.ll-mark.ok { color: var(--rose-deep); }
.m-pausestop { margin-top: 18px; text-align: center; color: var(--muted); }
.sub-words { margin-top: 6px; }
.sub-words summary { cursor: pointer; font-weight: 600; }
.sub-lines { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }

.up-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.up-queue { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.up-item { padding: 12px 16px; border-radius: 16px; background: var(--blush); overflow-wrap: anywhere; }
.up-item .progress span { width: 0; background: var(--rose); transition: width .2s; }
.up-item.good .progress span { background: #3c8a5a; }
.up-item.bad { box-shadow: inset 0 0 0 2px #8a2338; }
.up-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--petal); }
.up-row:first-of-type { border-top: 0; }
.up-name { display: grid; gap: 2px; }
.up-parts { grid-column: 1; list-style: none; margin: 0; padding: 0; font-size: .92rem; display: grid; gap: 2px; }
.up-parts .st-link { padding: 0; }
.up-missing { color: var(--muted); }
.up-btn { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 520px) { .up-row { grid-template-columns: 1fr; } .up-btn { grid-column: 1; grid-row: auto; justify-self: start; } }
.ss-status { text-align: center; min-height: 1.4em; margin: -10px 0 18px; }

/* ---------- members: footer links and the phone tab bar ---------- */
.foot .for-member, html.member .foot .for-guest, html.member.trial .foot .for-member:not(.keep-trial) { display: none; }
html.member .foot .for-member:not([hidden]) { display: inline; }
html.member.trial .foot .for-member:not(.keep-trial) { display: none; }
.tabbar { display: none; }
@media (max-width: 720px) {
  html.member:not(.trial) .tabbar { display: grid; grid-template-columns: repeat(5, 1fr) 34px; position: fixed; left: 10px; right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 800; padding: 6px; border-radius: 26px;
    background: rgba(255, 251, 247, .9); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid rgba(239, 201, 213, .8); box-shadow: 0 14px 34px -16px rgba(120, 50, 85, .45); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 2px 6px; border-radius: 20px;
    color: var(--muted); text-decoration: none; font-weight: 800; font-size: .72rem; }
  .tabbar a[aria-current] { background: var(--blush); color: var(--rose-deep); }
  html.member:not(.trial) body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  html.member:not(.trial) .foot { margin-bottom: calc(-84px - env(safe-area-inset-bottom)); padding-bottom: calc(118px + env(safe-area-inset-bottom)); }
  html.member:not(.trial) .qh-btn { bottom: calc(92px + env(safe-area-inset-bottom)); }
  html.member:not(.trial) .nav .in-tabbar { display: none; }
}
@media (max-width: 720px) {
  html.member:not(.trial) .st-pick-bar.sticky { bottom: calc(88px + env(safe-area-inset-bottom)); }
  html.member:not(.trial) body:has(.st-pick-bar.sticky) .qh-btn { bottom: calc(160px + env(safe-area-inset-bottom)); }
}

/* ---------- members: the Training page in two columns ---------- */
.m-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.m-main > :first-child, .m-side > :first-child { margin-top: 0; }
.m-main > [hidden]:first-child + *, .m-main > [hidden]:first-child + [hidden] + * { margin-top: 0; }
.m-main .player:not([hidden]) { margin-bottom: 22px; }
.m-side { display: grid; gap: 18px; }
.m-side .card { padding: 22px; margin: 0; }
.m-side .today-head h2 { font-size: 1.3rem; }
.m-side .progress-top .q-rewards { grid-template-columns: 1fr; gap: 8px; }
.m-side .progress-top .q-rewards .q-bar { grid-column: auto; grid-row: auto; }
.m-side .recap-card { margin: 0; flex-direction: column; }
.pt-next { margin-top: 14px; font-size: .95rem; }
.pt-next p:last-child { margin-bottom: 0; }
.pt-next .btns { margin-top: 10px; }
.pt-link { margin: 14px 0 0; }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.side-list a { font-weight: 800; text-decoration: none; display: block; line-height: 1.35; }
.side-list .meta { color: var(--muted); font-size: .85rem; }
.swirl-card { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.swirl-card:hover { color: var(--ink); }
.swirl-card .txt { flex: 1; min-width: 0; display: grid; }
.swirl-card .txt span { color: var(--muted); font-size: .92rem; }
.swirl-dot { flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--rose) 0 45deg, var(--blush) 45deg 90deg); box-shadow: inset 0 0 0 3px var(--card); }
.m-section > .swirl-card, .set-sec .swirl-card { max-width: 520px; }
.help-card { margin-top: 30px; }
.help-card h2 { font-size: 1.5rem; margin-bottom: 14px; }
.help-card details { box-shadow: none; background: var(--bg); margin: 0 0 10px; }
.help-card .m-pausestop { margin: 14px 0 0; }
.playful-line { margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: #fdf3f6; font-size: .95rem; }
.today-head .st-switch { font-size: .88rem; }
.m-section.first { margin-top: 30px; }
.later { margin-top: 10px; background: transparent; box-shadow: none; border: 1px dashed var(--petal); }
.later summary { font: 700 1rem var(--body); color: var(--muted); }
.later .list { margin-bottom: 14px; }
.lib-card h3 { font-size: 1.3rem; margin: 10px 0 2px; }
@media (max-width: 960px) {
  .m-grid { grid-template-columns: 1fr; }

}

/* ---------- members: settings with an index ---------- */
.set-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 40px; align-items: start; }
.set-index { position: sticky; top: 20px; display: grid; gap: 2px; padding: 10px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow);
  border: 1px solid rgba(239, 201, 213, .55); }
.set-index a { padding: 9px 14px; border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; }
.set-index a:hover, .set-index a[aria-current] { background: var(--blush); color: var(--rose-deep); }
.set-body > .m-section:first-child { margin-top: 0; }
.set-sec { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid rgba(239, 201, 213, .55); margin-top: 22px; scroll-margin-top: 24px; }
.set-sec h2 { font-size: 1.6rem; margin-bottom: 12px; }
.set-sec h3 { font-size: 1.1rem; }
.set-sec .install-card { margin-top: 22px; box-shadow: none; }
.set-sec .paces { margin-top: 6px; }
.set-body .m-delete { margin-top: 22px; scroll-margin-top: 24px; }
.set-sec select, .set-sec input[type="text"], .set-sec input[type="time"] { font: inherit; font-weight: 600; padding: 9px 14px; border-radius: 14px;
  border: 1.5px solid var(--petal); background: var(--bg); color: var(--ink); min-height: 44px; }
.set-sec .q-cheer { display: flex; gap: 10px; align-items: flex-start; }
.set-sec .q-cheer input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--rose-deep); flex: none; }
@media (max-width: 860px) {
  .set-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .set-index { min-width: 0; }
  .set-index { position: static; display: flex; gap: 6px; overflow-x: auto; padding: 0 0 6px; background: none; box-shadow: none; border: 0; border-radius: 0;
    scrollbar-width: none; margin: -10px 0 4px; }
  .set-index a { flex: none; border: 1.5px solid var(--petal); background: var(--card); border-radius: 999px; padding: 7px 14px; font-size: .88rem; }
  .set-sec { padding: 20px; }
}

/* ---------- members: how to use the site ---------- */
.help-search { margin: 0 0 22px; max-width: 520px; }
.help-search input { width: 100%; font: inherit; font-weight: 600; padding: 11px 16px; border-radius: 16px; border: 1.5px solid var(--petal);
  background: var(--card); color: var(--ink); min-height: 46px; }
.help-search .st-hint { margin-top: 8px; }
.help-body { font-size: 1.02rem; line-height: 1.65; }
.help-body ul, .help-body ol { padding-left: 1.3em; }
.help-body li { margin: .3em 0; }
.help-body h3 { margin-top: 1.2em; }
.help-body table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: .97rem; }
.help-body th, .help-body td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--petal); }
.help-body th { color: var(--rose-deep); }
.help-body td:first-child { white-space: nowrap; }
@media (max-width: 560px) {
  .help-body table, .help-body tbody, .help-body tr, .help-body td { display: block; width: 100%; }
  .help-body thead { display: none; }
  .help-body tr { padding: 8px 0; border-bottom: 1px solid var(--petal); }
  .help-body td { border: 0; padding: 2px 0; }
}
.help-link { margin: 0 0 14px; }
@media (min-width: 861px) {
  .help .set-layout { grid-template-columns: 250px minmax(0, 1fr); }
  .help .set-index { max-height: calc(100vh - 40px); overflow-y: auto; }
  .help .set-index a { line-height: 1.3; }
}

/* ---------- the swirl editor ---------- */
.sw-editor { display: grid; gap: 20px; }
.sw-fav-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sw-fav-head h3 { margin: 0; font-size: 1.15rem; }
.sw-fav-head .badge { margin: 0; background: var(--blush); color: var(--rose-deep); }
.sw-favs { margin-top: 12px; }
.sw-fav-wrap { display: inline-flex; align-items: center; }
.sw-fav-wrap .chip { border-radius: 999px 0 0 999px; padding-right: 10px; }
.sw-fav-x { border: 1.5px solid var(--petal); border-left: 0; background: var(--card); color: var(--muted); border-radius: 0 999px 999px 0;
  font: 800 1rem var(--body); padding: 0 12px; align-self: stretch; cursor: pointer; }
.sw-fav-x:hover { background: var(--blush); color: var(--rose-deep); }
.sw-fav-btns { margin-top: 14px; }
.sw-fav-btns .btn[disabled] { opacity: .55; cursor: default; }
.sw-save-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-top: 14px; padding: 14px; border-radius: 18px; background: var(--bg); }
.sw-save-form[hidden] { display: none; }
.sw-name, .sw-replace { display: grid; gap: 4px; font-weight: 700; font-size: .9rem; }
.sw-replace[hidden] { display: none; }
.sw-save-form input, .sw-save-form select { font: inherit; font-weight: 600; padding: 9px 14px; border-radius: 14px; border: 1.5px solid var(--petal); background: var(--card); color: var(--ink); min-height: 44px; }
.sw-save-form .btns { margin: 0; }
.sw-status:empty { display: none; }
.sw-status { margin: 10px 0 0; }
.sw-controls { display: grid; gap: 22px; }
.sw-controls fieldset { border: 0; padding: 0; margin: 0; }
.sw-controls legend { font: 800 .8rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--rose); margin-bottom: 10px; }
details.sw-controls { display: block; padding: 2px 20px 20px; }
details.sw-controls:not([open]) { padding-bottom: 2px; }
details.sw-controls > fieldset, details.sw-controls > .btns { margin-top: 18px; }
.sw-style { margin-top: 18px; background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 1px solid rgba(239, 201, 213, .55); }
.sw-style .today-head h2 { font-size: 1.3rem; }
.sw-style .sw-field { display: flex; align-items: center; gap: 8px; }
.sw-style select { font: inherit; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--petal); background: var(--bg); color: var(--ink); }
.ss-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; max-width: 760px; margin: 0 auto; }
.ss-preview { width: 100%; }
.ss-preview .toolbar { margin: 16px 0 0; justify-content: center; align-items: center; flex-direction: column; gap: 6px; }
.ss-preview .ss-status { margin: 0; }
@media (max-width: 900px) {
  .ss-layout { grid-template-columns: 1fr; }
  .ss-preview { position: static; }
}
#blog .posts, #blog .post { max-width: 780px; }
.jr-private { margin: 14px 0 0; }
.fv-empty p { margin: 0 0 12px; }
.pr-top { grid-template-columns: 1fr; }
.pr-top .st-tiles { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.pr-top > .card { padding: 20px 24px; }
.rc-empty .btns { margin-top: 6px; }
section.m-section:not(.set-sec) { padding: 0; }
.undies .st-inline input[type="number"] { width: 96px; flex: none; }
.m-side .mb-row { grid-template-columns: repeat(6, minmax(0, 40px)); gap: 8px; }

/* ---------- members: month tiles and month pages ---------- */
.mo-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.mo { margin: 0; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.mo.now { box-shadow: 0 0 0 3px var(--rose-deep), var(--shadow); }
.mo.locked { background: transparent; box-shadow: none; border: 1.5px dashed var(--petal); }
.mo-main { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; }
.mo-pic { position: relative; min-height: 200px; overflow: hidden; }
.mo-pic.c1 { background: var(--blush); } .mo-pic.c2 { background: var(--lilac); } .mo-pic.c3 { background: var(--sky); } .mo-pic.c4 { background: var(--mint); }
.mo-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mo-pic .m-tile-swirl { top: 50%; right: auto; left: 50%; width: 120px; height: 120px; translate: -50% -50%; }
.mo.locked .mo-pic { margin: 10px 0 10px 10px; border-radius: calc(var(--radius) - 8px); }
.mo.locked .mo-pic img { filter: saturate(.75); opacity: .85; }
.mo-body { padding: 22px 24px; display: grid; gap: 8px; align-content: start; }
.mo-top { display: flex; align-items: center; gap: 10px; }
.mo-n { font: 800 .78rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--rose-deep); }
.mo-top .m-tile-badge { position: static; }
.mo-title { margin: 0; font: 600 1.45rem/1.2 var(--head); font-variation-settings: "SOFT" 100; }
.mo-notes { margin: 0; white-space: pre-line; }
.mo-when { margin: 0; font-size: .92rem; color: var(--muted); }
.mo-when.locked b { color: var(--rose-deep); }
.mo-body .btns { margin-top: 4px; }
.mo-admin { margin: 2px 0 0; font-size: .9rem; }
.mo-recap { display: grid; gap: 4px; margin: 0 16px 16px; padding: 14px 18px; border-radius: calc(var(--radius) - 8px); background: var(--blush); }
.mo.locked .mo-recap { margin-top: 6px; }
.mo-recap.locked { background: transparent; border: 1.5px dashed var(--petal); }
.mo-recap-label { font: 800 .74rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--rose-deep); }
@media (max-width: 640px) {
  .mo-main { grid-template-columns: 1fr; }
  .mo-pic { min-height: 0; aspect-ratio: 16 / 9; }
  .mo-pic.empty { aspect-ratio: 4 / 1; }
  .mo-pic.empty .m-tile-swirl { width: 64px; height: 64px; }
  .mo.locked .mo-pic { margin: 10px 10px 0; }
  .mo-body { padding: 16px 18px 18px; }
  .mo-title { font-size: 1.3rem; }
}
.m-tiles { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); }
.m-tiles > li { margin: 0; }
.m-tile { position: relative; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 18px;
  border-radius: 26px; text-decoration: none; color: var(--ink); background: var(--card); box-shadow: var(--shadow);
  border: 1px solid rgba(239, 201, 213, .55); overflow: hidden; transition: translate .25s, box-shadow .25s; }
a.m-tile:hover { translate: 0 -4px; color: var(--ink); box-shadow: 0 18px 34px -18px rgba(120, 50, 85, .5); }
.m-tile.c1 { background: var(--blush); } .m-tile.c2 { background: var(--lilac); } .m-tile.c3 { background: var(--sky); } .m-tile.c4 { background: var(--mint); }
.m-tile.now { box-shadow: 0 0 0 3px var(--rose-deep), var(--shadow); }
.m-tile-n { position: absolute; top: 16px; left: 18px; font: 800 .78rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--rose-deep); }
.m-tile-badge { position: absolute; top: 13px; right: 14px; background: var(--rose-deep); color: #fff; font-weight: 800; font-size: .74rem; padding: 3px 10px; border-radius: 999px; }
.m-tile-swirl { position: absolute; top: 44px; right: -18px; width: 96px; height: 96px; border-radius: 50%; opacity: .55;
  background: repeating-conic-gradient(from 10deg, var(--card) 0 30deg, transparent 30deg 60deg); }
.m-tile-title { font: 600 1.25rem/1.2 var(--head); font-variation-settings: "SOFT" 100; position: relative; }
.m-tile-sub { font-size: .85rem; color: #5e4956; position: relative; }
.m-tile.locked { background: transparent; box-shadow: none; border: 1.5px dashed var(--petal); color: var(--muted); justify-content: center; align-items: flex-start; }
.m-tile.locked .m-tile-n { color: var(--muted); }
.m-tile-lock { font-size: 1.5rem; opacity: .5; margin-bottom: 4px; }
.m-tile-when { font-size: .92rem; color: var(--rose-deep); }
@media (max-width: 480px) {
  .m-tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .m-tile { padding: 14px; border-radius: 22px; }
  .m-tile-n { top: 13px; left: 14px; }
  .m-tile-title { font-size: 1.08rem; }
  .m-tile-swirl { width: 76px; height: 76px; top: 36px; }
}
.mo-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 40px; }
[data-view="month"] .player:not([hidden]) { margin-bottom: 10px; }
.tap { cursor: pointer; }
.item.tap:hover, .todo.tap:hover { background: color-mix(in srgb, var(--blush) 45%, var(--card)); }
.todo.tap { border-radius: 14px; }

/* ---------- admin: training tasks ---------- */
.tk-paste-label { display: block; font-weight: 700; margin: 18px 0 6px; }
#tk-paste, .tk-item textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--petal); background: var(--bg); color: var(--ink); }
.tk-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.tk-list-head h2 { margin: 0; }
#tk-search { font: inherit; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--petal); background: var(--bg); min-width: 240px; }
.tk-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tk-item { padding: 14px 16px; border-radius: 16px; background: var(--bg); border: 1px solid rgba(239, 201, 213, .55); }
.tk-item.paused { opacity: .6; }
.tk-text { margin: 0 0 8px; white-space: pre-wrap; }
.tk-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tk-foot .note { margin: 0; }
.tk-foot .btns { margin: 0; }
.tk-foot .btn { padding: 6px 14px; min-height: 36px; font-size: .9rem; }
.tk-item .btns { margin-top: 10px; }
.stage.sw-sample { aspect-ratio: auto; height: 120px; border-radius: 18px; margin-bottom: 4px; box-shadow: none; }
.stage.sw-sample .sw-words { font-size: 2.1rem; }
.stage.sw-sample .sw-words[data-wf="3"] { font-size: 1.7rem; }
.sw-word-label { margin: 12px 0 6px; font-size: .92rem; color: var(--muted); }
.sw-sound { display: flex; align-items: center; gap: 8px; }
.sw-sound[hidden], .sw-sound input[hidden] { display: none; }
.sw-sound select { max-width: 270px; padding: 4px 8px; font-size: .88rem; }
.sw-sound input { width: 90px; }
.pr-group-title { margin: 20px 0 10px; font: 800 .8rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--rose); }
.pr-month .mb-badge { width: 64px; }
.pr-month:not(.earned) .mb-badge.later, .pr-month:not(.earned) .mb-badge.missed { opacity: .4; }
.pick-chip { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.pick-chip.on { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.pick-chip input[type="color"] { width: 22px; height: 22px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: none; cursor: pointer; box-shadow: 0 0 0 1px var(--petal); }
.pick-chip input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.pick-chip input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.pick-chip input[type="color"]::-moz-color-swatch { border: 0; border-radius: 50%; }
.sw-breath { display: grid; gap: 8px; margin-top: 14px; }
.sw-breath .sw-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.sw-breath label[hidden] { display: none; }
.sw-breath > label:last-child { display: grid; gap: 4px; font-weight: 700; max-width: 360px; }
.sw-breath input[type="range"] { accent-color: var(--rose-deep); width: 100%; }
.sw-breath input[type="checkbox"] { accent-color: var(--rose-deep); width: 18px; height: 18px; }
.pr-badge b, .pr-badge > span:not(.pr-sticker):not(.pr-private) { text-wrap: balance; }
@media (max-width: 640px) { .pr-badges.pr-months { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .pr-month { padding: 10px 4px; } .pr-month .mb-badge { width: 52px; } }
.sw-words[data-wa="1"] { transition: none; }
.sw-words[data-wa="2"] > span, .sw-words[data-wa="3"] > span, .sw-words[data-wa="4"] > span, .sw-words[data-wa="5"] > span, .sw-words[data-wa="6"] > span { display: inline-block; animation-duration: .32s; animation-timing-function: cubic-bezier(.2, .8, .3, 1); animation-fill-mode: both; }
.sw-words[data-wa="2"] > span { animation-name: sw-pop; animation-timing-function: cubic-bezier(.3, 1.6, .5, 1); }
.sw-words[data-wa="3"] > span { animation-name: sw-float; animation-duration: .45s; }
.sw-words[data-wa="4"] > span { animation-name: sw-zoom; animation-duration: .4s; }
.sw-words[data-wa="5"] > span { animation-name: sw-blur; animation-duration: .45s; }
.sw-words[data-wa="6"] > span { animation-name: sw-drop; animation-timing-function: cubic-bezier(.3, 1.4, .5, 1); }
@keyframes sw-pop { from { transform: scale(.55); opacity: 0; } }
@keyframes sw-float { from { transform: translateY(.45em); opacity: 0; } }
@keyframes sw-zoom { from { transform: scale(.2); opacity: 0; } }
@keyframes sw-blur { from { filter: blur(14px); opacity: 0; transform: scale(1.08); } }
@keyframes sw-drop { from { transform: translateY(-.5em); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sw-words > span { animation-name: none !important; } }
.stage .sw-mark { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 1; user-select: none;
  font: 700 clamp(.6rem, 1.6vw, 1.15rem) var(--body); letter-spacing: .25em; color: rgba(255, 255, 255, .13);
  text-shadow: 0 0 2px rgba(0, 0, 0, .12); opacity: 0; transition: opacity 1.2s ease; }
.stage .sw-mark.on { opacity: 1; }
.a-find { display: grid; gap: 6px; max-width: 420px; margin: 0 0 14px; font-size: .92rem; color: var(--muted); }

/* Monthly cycle: the review form, Ashley's reply, the next-swirl teaser, and the unlock celebration. */
.review-card { border: 2px solid var(--rose); }
.review-card form { display: grid; gap: 14px; margin-top: 10px; }
.vip-form { display: grid; gap: 14px; margin-top: 14px; }
.vip-form .m-error { margin: 0; }
.card .vip-form .rv-q + .rv-q { margin-top: 0; }
.rv-q { display: grid; gap: 8px; }
.rv-label { margin: 0; font-weight: 700; color: var(--ink); }
.rv-q textarea, .rv-card textarea { width: 100%; font: inherit; }
.rv-q input[type="text"] { width: 100%; font: inherit; }
.cs-steps { padding-left: 1.3em; display: grid; gap: 6px; }
.cs-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 16px; font-weight: 600; }
.cs-check input { margin-top: 4px; }
#cs-req + p, .card form .rv-q + .rv-q { margin-top: 12px; }
.rv-stats { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rv-stats li { background: var(--blush); color: var(--ink); border-radius: 999px; padding: 4px 12px; font-size: .9rem; }
.rv-answers { margin: 12px 0; display: grid; gap: 4px; }
.rv-answers dt { font-weight: 700; color: var(--ink); margin-top: 8px; }
.rv-answers dd { margin: 0; white-space: pre-wrap; }
.rv-answers dd p { margin: 0; }
.rv-blank { color: var(--muted); font-style: italic; }
.rv-list { list-style: none; padding: 0; margin: 0; }
.rv-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-head h2 { margin: 0; }
.rv-badge { background: var(--rose-deep); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: .8rem; font-weight: 700; }
.rv-flag { border: 2px solid var(--rose-deep); }
.mo-reply p { white-space: pre-wrap; }
.mo-review { margin-bottom: 14px; }
.mo-reply { border-top: 1.5px dashed var(--petal); padding-top: 10px; }
.teaser-card { position: relative; overflow: hidden; }
.teaser-card h2 { padding-right: 40px; }
.teaser-dot { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; border-radius: 50%;
  background: conic-gradient(var(--rose), var(--lilac), var(--sky), var(--rose)); }
.new-tag { display: inline-block; margin-left: 8px; background: var(--rose-deep); color: #fff; border-radius: 999px;
  padding: 1px 8px; font-size: .75rem; font-weight: 700; vertical-align: middle; }
dialog.unlock-pop { width: min(420px, 100% - 32px); border: 0; border-radius: var(--radius); padding: 26px 24px 22px;
  background: var(--card); color: var(--ink); text-align: center; box-shadow: var(--shadow); }
dialog.unlock-pop::backdrop { background: rgba(29, 20, 38, .55); backdrop-filter: blur(3px); }
.unlock-art { position: relative; width: 190px; height: 190px; margin: 0 auto 8px; }
.unlock-swirl { width: 100%; height: 100%; display: block; border-radius: 50%; }
.unlock-sparkles span { position: absolute; left: 50%; top: 50%; color: var(--rose-deep); font-size: 1.1rem; opacity: 0;
  transform: rotate(var(--a)) translateY(-70px) rotate(calc(-1 * var(--a))); }
.unlock-kicker { margin: 4px 0 0; font-weight: 800; color: var(--rose-deep); letter-spacing: .04em; }
dialog.unlock-pop h2 { font-size: 1.6rem; margin: 2px 0 8px; }
@media (prefers-reduced-motion: no-preference) {
  dialog.unlock-pop[open] { animation: unlock-in .55s cubic-bezier(.2, 1.4, .4, 1); }
  .unlock-swirl { animation: unlock-grow .9s cubic-bezier(.2, 1.3, .4, 1); }
  .unlock-sparkles span { animation: unlock-burst calc(var(--d) * 1.6s) ease-out .25s infinite; }
}
@media (prefers-reduced-motion: reduce) { .unlock-sparkles span { opacity: .8; } }
@keyframes unlock-in { from { opacity: 0; transform: scale(.85) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes unlock-grow { from { transform: scale(.2) rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes unlock-burst {
  0% { opacity: 0; transform: rotate(var(--a)) translateY(-20px) rotate(calc(-1 * var(--a))) scale(.4); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(-100px) rotate(calc(-1 * var(--a))) scale(1.1); }
}

/* Swirl editor extras still locked for this member's level (content/rewards.yml extras). */
.chip.locked { opacity: .62; border-style: dashed; }
.chip.locked:hover { transform: none; background: var(--card); }
.lock-tag { margin-left: 6px; font-size: .72rem; font-weight: 700; color: var(--rose-deep); }


/* Then and now (month pages): Month 1 beside this month. */
.tn-list { list-style: none; padding: 0; margin: 0; }
.tn-row { display: grid; grid-template-columns: minmax(0, 1.3fr) 1fr 1fr 28px; gap: 12px; align-items: center; padding: 8px 0; }
.tn-list .tn-row + .tn-row { border-top: 1.5px dashed var(--petal); }
.tn-head { font-weight: 700; color: var(--muted); font-size: .85rem; padding-top: 0; }
.tn-label { font-weight: 700; color: var(--ink); }
.tn-col { display: grid; gap: 4px; }
.tn-num { font-size: .92rem; }
.tn-bar { display: block; height: 8px; border-radius: 999px; background: var(--blush); overflow: hidden; }
.tn-fill { display: block; height: 100%; border-radius: inherit; background: var(--rose-deep); }
.tn-move { font-weight: 800; text-align: center; color: var(--muted); }
.tn-move.up { color: var(--rose-deep); }
@media (max-width: 520px) { .tn-row { grid-template-columns: minmax(0, 1fr) 1fr 1fr 22px; gap: 8px; } .tn-label { font-size: .88rem; } }

/* What's working (admin). */
.ws-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ws-table th, .ws-table td { text-align: left; padding: 8px 10px; border-bottom: 1.5px dashed var(--petal); }
.ws-table thead th { color: var(--muted); font-size: .82rem; }
.ws-table tbody th { font-weight: 600; }
.ws-good td:last-child { color: var(--rose-deep); font-weight: 800; }
.ws-bad td:last-child { color: var(--muted); font-weight: 800; }
@media (max-width: 560px) { .ws-table { font-size: .85rem; } .ws-table th, .ws-table td { padding: 6px 4px; } }
.made-tag { background: var(--lilac); color: var(--ink); }

/* Stash spending: date chips, purchases with Edit and Delete, and the lifetime table (scrolls sideways on its own on phones). */
.st-spend .chips { margin-bottom: 10px; }
.st-range { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.st-purchases { list-style: none; padding: 0; margin: 0 0 18px; }
.st-purchase { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1.5px dashed var(--petal); }
.st-purchase.editing { display: block; }
.st-purchase-main, .st-purchase-money { display: grid; gap: 2px; }
.st-purchase-money { text-align: right; }
.st-purchase .btns { margin: 0; gap: 10px; }
.st-scroll { overflow-x: auto; max-width: 100%; }
.st-life { min-width: 760px; }
.st-life tbody th, .st-life tfoot th { text-align: left; font-weight: 700; }
.st-life tfoot td, .st-life tfoot th { border-top: 2px solid var(--petal); font-weight: 700; }
@media (max-width: 560px) {
  .st-purchase { grid-template-columns: minmax(0, 1fr) auto; }
  .st-purchase .btns { grid-column: 1 / -1; }
}
.st-buyrow { border: 1.5px solid var(--petal); border-radius: 18px; padding: 10px 14px 12px; margin: 0 0 12px; min-width: 0; }
.st-buyrow legend { font-weight: 800; color: var(--ink); padding: 0 6px; }

/* Past members keep the stash tracker: its links show in their short menu, and a come-back offer sits on top. */
html.member.trial.stashfree .nav a.for-member[href="/members/stash/"], html.member.trial.stashfree .foot a.for-member[href="/members/stash/"],
html.member.trial.stashfree.guidefree .nav a.for-member[href="/members/guide/"], html.member.trial.stashfree.guidefree .foot a.for-member[href="/members/guide/"] { display: inline-flex; }
.comeback-banner { background: var(--blush); border: 2px solid var(--rose); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.comeback-banner p { margin: 0; }
.comeback-banner .code { letter-spacing: .06em; background: var(--card); padding: 1px 8px; border-radius: 8px; }
.comeback-banner .btns { margin: 0; }
.st-restock > .st-hint { grid-column: 1 / -1; }
.st-restock > .st-buyrow { align-self: stretch; display: grid; align-content: start; gap: 6px; }
.st-wet-hint { margin: 2px 0 8px; }
.st-spread-q { margin: 6px 0 6px; }
.st-spread .chip { display: inline-flex; align-items: center; gap: 6px; }
.st-spread-ico { flex: none; }
.st-spread-ico .o { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.st-spread-ico .z { fill: #e7b8cb; }
.st-spread-ico .edge { fill: none; stroke: #c9577f; stroke-width: 4; }
.chip[aria-pressed="true"] .st-spread-ico .z { fill: #f3c6d8; }
.st-worth-table td, .st-worth-table th { white-space: nowrap; }
.st-worth-table td:nth-child(n+3), .st-worth-table th:nth-child(n+3) { text-align: right; }
.st-worth-table td:nth-child(2) { padding-right: 14px; }
.st-worth-foot { margin-top: 14px; }
.st-verdict { display: inline-block; font-weight: 700; padding: 2px 10px; border-radius: 999px; font-size: .85rem; background: #f2f9f5; color: #2f6b4c; }
.st-verdict.room { background: #fdf8ea; color: #7a5a12; }
.st-verdict.thin { background: #fdf3f6; color: #a03a62; }
.st-verdict.few { background: #f6f1fc; color: #6a5390; }
.st-why { display: block; margin: 2px 0 0; }
.st-worth-tip { color: var(--ink); }
.st-log { border: 2px solid var(--rose); }
.st-log-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.st-logbtn { white-space: nowrap; }
.st-logbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 26px; margin: 0 0 22px; }
.st-logbar p { margin: 0; font-weight: 600; }
.st-logbtns { align-items: center; }
@media (max-width: 560px) { .st-logbtns { width: 100%; flex-wrap: nowrap; gap: 8px; } .st-logbtns .btn { flex: 1 1 0; padding-left: 10px; padding-right: 10px; justify-content: center; text-align: center; } }
.st-tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .st-tiles.four { grid-template-columns: 1fr 1fr; } }
.guide-toc ol { margin: 0; padding-left: 1.4em; display: grid; gap: 6px; }
.guide-toc li.read a { color: var(--muted); }
.guide-tick { color: #2f6b4c; font-weight: 700; }
.guide-section { position: relative; overflow: hidden; scroll-margin-top: 90px; }
.guide-mk-row { position: relative; height: 0; pointer-events: none; user-select: none; }
.guide-mk { position: absolute; white-space: nowrap; pointer-events: none; user-select: none;
  font: 700 .95rem var(--body); letter-spacing: .25em; color: rgba(120, 90, 110, .045); }
.guide-license { margin: 4px 0 16px; color: var(--muted); font-size: .8rem; letter-spacing: .02em; user-select: none; }
.guide-count { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; }
.guide-section > h2 { font-size: clamp(1.75rem, 3.4vw, 2.3rem); line-height: 1.15; margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--petal); }
.guide-body h3 { font-size: 1.22rem; color: var(--rose-deep); margin: 1.9em 0 .55em; }
.guide-body > h3:first-child { margin-top: 0; }
.guide-part + .guide-license { margin-bottom: 30px; }
.guide-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--petal); }
.guide-contents { font-weight: 600; }
.guide-title { text-wrap: balance; }
.guide-title a { color: inherit; text-decoration: none; }
.guide-title a:hover, .guide-title a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--pink); }
.guide-nav .btn { white-space: nowrap; }
@media (max-width: 480px) { .guide-nav .btn { padding-left: 14px; padding-right: 14px; } }
.guide-body { margin-bottom: 18px; }
.guide-body img { max-width: 100%; height: auto; border-radius: 14px; }
.trial-q { margin: 0 0 14px; }
.trial-q p { margin: 0 0 6px; }
html.member.sample .nav .for-member:not(.nav-out), html.member.sample .foot .for-member { display: none; }
html.member.sample .tabbar { display: none !important; }
.sample-wrap { margin-bottom: 18px; }
.page-hero + .sample-wrap, main > .sample-wrap { margin-top: 110px; }
.sample-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.sample-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); }
.sample-tabs::before { content: "Riley's area:"; align-self: center; font-weight: 800; font-size: .9rem; margin-right: 4px; color: #fff; }
.sample-tabs a { padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--petal); color: var(--ink);
  font-weight: 700; font-size: .92rem; text-decoration: none; }
.sample-bar .sample-tabs a { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
.sample-bar .sample-tabs a:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.sample-bar .sample-tabs a[aria-current] { background: #fff; border-color: #fff; color: var(--plum); }
.sample-bar { padding: 22px 26px; border-radius: 24px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, var(--rose-deep) 0%, var(--dusk) 45%, var(--plum) 100%);
  box-shadow: 0 14px 34px -14px rgba(42, 28, 51, .55); }
.sample-head { font: 600 clamp(1.25rem, 2.4vw, 1.6rem)/1.2 var(--head); font-variation-settings: "SOFT" 100; margin: 0 0 6px !important; color: #fff; }
.sample-bar a { color: #ffd3e3; }
.sample-bar a:hover { color: #fff; }
.sample-bar .note { color: rgba(255, 255, 255, .78); }
.sample-bar .tier-tag { background: #fff; color: var(--rose-deep); }
.sample-acts .btn { background: #fff; color: var(--rose-deep); box-shadow: inset 0 -3px 0 var(--petal); }
.sample-acts .btn:hover { background: var(--blush); color: var(--rose-deep); }
.sample-acts .btn.soft { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.sample-acts .btn.soft:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.sample-text { flex: 1 1 300px; }
.sample-text p { margin: 0; }
.sample-text .note { margin-top: 8px; font-size: .92rem; }
.sample-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.sample-leave { font-size: .9rem; }
.sample-text .nowrap { white-space: nowrap; }
html.tour .nav .nav-out { display: none; }
.tier-tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--rose-deep); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .02em; vertical-align: middle; white-space: nowrap; }
.m-msg + .st-card { margin-top: 32px; }
#cs-open, #cs-done { margin-bottom: 36px; }
.cs-list + .card { margin-top: 24px; }
#sessions textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--petal); background: var(--bg); color: var(--ink); resize: vertical; margin-bottom: 10px; }
#sessions input[type="range"] { width: 100%; accent-color: var(--rose-deep); }
.st-locked { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.st-locked .st-switch { opacity: .5; cursor: not-allowed; }
.st-locked .note { margin: 0; }
.listen-sound { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 0; }
.listen-sound select { max-width: 100%; }
.listen-sound input[type="range"] { flex: 1; min-width: 120px; accent-color: var(--rose-deep); }
.cs-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0 0 18px; }
.cs-choice { display: grid; gap: 6px; align-content: start; padding: 18px 20px; border-radius: 20px; border: 1.5px solid var(--petal); background: var(--card); color: var(--ink); text-decoration: none; }
.cs-choice b { font-size: 1.08rem; }
.cs-choice span { color: var(--muted); }
.cs-choice .pill { justify-self: start; color: var(--rose-deep); }
a.cs-choice:hover { border-color: var(--rose); }
.cs-choice.locked { opacity: .62; background: var(--bg); }
.cs-choice.locked .btn { justify-self: start; opacity: 1; }
.cs-kind { border: 0; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; }
.vip-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 16px; }
.vip-script { margin-bottom: 14px; }
.vip-marks { display: grid; gap: 10px; padding-left: 20px; }
.vip-marks li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; }
.vip-marks textarea, .cs-vip textarea { width: 100%; font: inherit; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--petal); background: var(--bg); color: var(--ink); }
.vip-pause summary { cursor: pointer; font-weight: 700; }
.cs-due { font-weight: 700; color: var(--muted); }
.cs-due.soon { color: var(--rose-deep); }
.cs-due.late { color: #b3261e; }
.cs-vip { border-color: var(--rose); }
.cs-marks ul { padding-left: 20px; }
.sw-menu-bar { margin: 0 0 6px; }
.sw-menu-note { margin: 0 0 10px; }
.sw-menu-editing .chips { display: grid; gap: 6px; }
.sw-menu-row { display: flex; align-items: center; gap: 8px; }
.sw-menu-row input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--rose-deep); flex: none; }
.sw-menu-row .chip { flex: 1; text-align: left; justify-content: flex-start; }
.sw-menu-row.off .chip { opacity: .45; text-decoration: line-through; }
.sw-mv { font: inherit; font-weight: 700; width: 36px; height: 36px; border-radius: 999px; border: 1.5px solid var(--petal); background: var(--bg); color: var(--ink); cursor: pointer; flex: none; }
.sw-peek-btn { display: block; margin: 6px 0 0; }
.sw-peek-btn[hidden] { display: none; }
.sw-menu-editing .sw-own, .sw-menu-editing .sw-word-label + .chips .pick-chip { display: none; }
.guide-toc li.locked { opacity: .55; }
.guide-part-locked { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; border: 1.5px dashed var(--petal); color: var(--muted); font-weight: 700; }
.guide-part-done { margin: 4px 0 14px; color: var(--rose-deep); font-weight: 700; }
.guide-read { margin: 18px 0 6px; }
.guide-read-btn[disabled] { opacity: .7; cursor: default; }
.theme-pick.locked { opacity: .6; }

.teaser-card { border: 2px solid var(--pink); }
.teaser-card .btns { margin-top: 14px; }
.teaser-title { font: italic 500 1.2rem var(--head); color: var(--rose-deep); margin: 0; }
.teaser-text { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--pink); font-size: 1.08rem; line-height: 1.75; }
.teaser-text h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 1.4em 0 .4em; }
.teaser-text h3 { font-size: 1.2rem; margin: 1.3em 0 .3em; }
.teaser-text > :first-child { margin-top: .5em; }
.teaser-text blockquote { margin: 1em 0; padding-left: 1em; border-left: 3px solid var(--pink); color: var(--muted); }
.teaser-text hr { border: 0; text-align: center; margin: 1.6em 0; }
.teaser-text hr::after { content: "✦ ✦ ✦"; color: var(--pink); letter-spacing: .4em; }
.teaser-li { padding-left: 1.2em; text-indent: -1.2em; }
.teaser-li::before { content: "•"; display: inline-block; width: 1.2em; text-indent: 0; color: var(--rose); }
.teaser-end { font-weight: 700; color: var(--rose-deep); margin-top: 2em; }

/* Stash: streaks, calendar, trends, share card, cloth, ratings scales */
.st-key[data-key="bath"] { background: #3a7fc4; } .st-key[data-key="acc"] { background: #b8801a; } .st-key[data-key="hours"] { background: #a94b74; }
.st-cal-nav { display: flex; align-items: center; gap: 10px; }
.st-cal-nav b { min-width: 9em; text-align: center; }
.st-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 6px 0 14px; }
.st-cal-dow { text-align: center; font-size: .8rem; font-weight: 800; color: var(--muted); padding-bottom: 2px; }
.st-cal-day { position: relative; height: 62px; border: 1.5px solid transparent; border-radius: 12px; font: inherit; font-weight: 800;
  color: var(--ink); background: var(--bg); cursor: pointer; padding: 4px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.st-cal-day:disabled { opacity: .35; cursor: default; }
.st-cal-day.lvl1, .st-cal-key.lvl1 { background: #fbe9ef; } .st-cal-day.lvl2, .st-cal-key.lvl2 { background: #f4c9d8; }
.st-cal-day.lvl3, .st-cal-key.lvl3 { background: #e399b6; } .st-cal-day.lvl4, .st-cal-key.lvl4 { background: #a94b74; }
.st-cal-day.lvl4 { color: #fff; }
.st-cal-day.today { border-color: var(--rose-deep); }
.st-cal-day.on { box-shadow: 0 0 0 3px var(--rose); }
.st-cal-day.start { border-color: var(--dusk); border-style: dashed; }
.st-cal-day:focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 2px; }
.st-cal-n { font-size: .85rem; line-height: 1; }
.st-cal-month { position: absolute; top: 3px; right: 5px; font-size: .62rem; font-weight: 900; color: var(--dusk); }
.st-cal-day.lvl4 .st-cal-month { color: #fff; }
.st-cal-dots { display: flex; gap: 3px; }
.st-cal-dots i, .st-cal-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.st-cal-dots .moon, .st-cal-dot.moon { background: #fff1c9; box-shadow: 0 0 0 1.5px #5b3f66; }
.st-cal-dots .bath, .st-cal-dot.bath { background: #3a7fc4; } .st-cal-dots .acc, .st-cal-dot.acc { background: #b8801a; }
.st-cal-day.lvl4 .st-cal-dots i { box-shadow: 0 0 0 1.5px #fff; }
.st-cal-key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; background: var(--bg); border: 1px solid var(--petal); }
.st-cal-dot { margin-right: 6px; vertical-align: 0; }
.st-cal-legend { margin: 0 0 6px; }
.st-cal-d { font-size: .66rem; font-weight: 800; line-height: 1; opacity: .85; }
.st-cal-dkey { font-size: .72rem; margin-right: 6px; }
.st-cal-day.full, .st-cal-key.full { box-shadow: 0 0 8px 2px rgba(255, 196, 120, .6); animation: st-glow 3.6s ease-in-out infinite; }
.st-cal-day.full.on { box-shadow: 0 0 0 3px var(--rose), 0 0 10px 3px rgba(255, 196, 120, .7); animation: none; }
@keyframes st-glow { 0%, 100% { box-shadow: 0 0 5px 1px rgba(255, 196, 120, .45); } 50% { box-shadow: 0 0 14px 4px rgba(255, 206, 140, .95); } }
@media (prefers-reduced-motion: reduce) { .st-cal-day.full, .st-cal-key.full { animation: none; } }
.st-cal-streak { margin: 0 0 4px; font-weight: 800; color: var(--rose-deep); }
.st-cal-streak span { white-space: nowrap; }
.st-cal-detail { border-top: 1px solid var(--petal); margin-top: 10px; padding-top: 10px; }
.st-cal-detail .st-h3 { margin-top: 0; }
@media (max-width: 600px) { .st-cal-grid { gap: 4px; } .st-cal-day { height: auto; aspect-ratio: 1; border-radius: 9px; padding: 3px; } }
@media (max-width: 420px) { .st-cal-month { display: none; } }
.st-trend .st-card + .st-card { margin-top: 0; }
.st-share summary h2 { display: inline; }
.st-share-img { display: block; width: 100%; max-width: 460px; height: auto; margin: 12px 0; border-radius: 18px; border: 1px solid var(--petal); background: var(--bg); }
.st-cove-leaks { font-size: .9rem; color: var(--muted); margin: 4px 0 0; }
.st-cloth .st-check { font-weight: 600; }
.st-scale { flex-wrap: wrap; gap: 6px; }
.st-scale .chip { font-size: .85rem; padding: 6px 12px; }
.st-scale .chip[aria-checked="true"] { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.st-rate-row:has(.st-scale) { align-items: flex-start; }
.st-rate-row:has(.st-scale) .st-label { padding-top: 7px; }
.fv-sorts { margin: 0 0 14px; }
.fv-body .fv-leaks { display: block; }
.rc-stash { margin-top: 18px; }
.rc-stash .rc-tiles { margin: 0; }
.rc-yearwrap { overflow-x: auto; }
.rc-year th[scope="row"] a { color: var(--rose-deep); font-weight: 800; }
@media print { .rc-yearwrap { overflow: visible; } }
.rc-tile.rc-long b { font-size: 1.25rem; line-height: 1.25; overflow-wrap: anywhere; }
.st-pickcell > .st-buy.compact, .st-pickcell > .st-buy-two.compact, .st-pickcell > .st-buy-none.compact { justify-self: center; text-align: center; }

select { font: inherit; font-weight: 600; color: var(--ink); background-color: var(--card); border: 1.5px solid var(--petal); border-radius: 14px;
  padding: 10px 38px 10px 14px; min-height: 44px; max-width: 100%; -webkit-appearance: none; appearance: none; }
select:not([multiple]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2393395f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 14px center !important; background-size: 12px 8px !important; padding-right: 38px !important; }
.set-sec input[type="time"], .q-time input[type="time"] { min-width: 140px; }

.qh-btn.qh-in-bar { display: none; }
@media (max-width: 720px) {
  html.member:not(.trial) .qh-btn:not(.qh-in-bar) { display: none; }
  html.member:not(.trial) .qh-btn.qh-in-bar { display: block; position: static; align-self: center; width: 34px; height: 34px; padding: 0; font-size: .8rem;
    box-shadow: none; opacity: .7; }
}
.scale { max-width: 340px; }
.scale-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale-row .chip { justify-content: center; text-align: center; padding-left: 0; padding-right: 0; }
.scale-ends { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: .85rem; color: var(--muted); }
@media (pointer: coarse) {
  .st-buy { min-height: 40px; align-items: center; padding: 6px 0; }
  .st-buy.compact { min-height: 40px; align-content: center; padding: 6px 4px; }
  .st-heart, button.st-fav { min-width: 40px; min-height: 40px; }
}
.guide-section, .teaser-text { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
@media print { .guide-section, .teaser-text { display: none !important; } #guide::after { content: "The training guide can only be read on Crinkle Cove."; } }
.guide-cover { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 14px 30px -14px rgba(90, 40, 70, .45), 0 2px 6px rgba(90, 40, 70, .12); }
.guide-toc-grid { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; }
.teaser-grid { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
@media (max-width: 640px) {
  .guide-toc-grid, .teaser-grid { grid-template-columns: 1fr; gap: 16px; }
  .guide-toc-grid .guide-cover { width: 200px; margin: 0 auto; }
  .teaser-grid .guide-cover { width: 180px; margin: 0 auto; }
}
.gr-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 6px 0 12px; }
.gr-tile { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 18px; background: var(--bg); }
.gr-tile b { font: 600 2rem/1.1 var(--head); color: var(--rose-deep); }
.gr-tile span { font-weight: 700; }
.gr-tile small { color: var(--muted); }
.gr-wide { grid-column: span 2; }
.gr-split { margin: 6px 0 0; display: grid; gap: 2px; }
.gr-split div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-top: 1px solid color-mix(in srgb, var(--muted) 18%, transparent); }
.gr-split dt { color: var(--muted); }
.gr-split dd { margin: 0; font-weight: 700; }
.gr-ranges { margin: 0 0 12px; }
.gr-chart { margin: 10px 0 4px; }
.gr-bars { display: flex; align-items: flex-end; gap: 4px; height: 150px; }
.gr-col { flex: 1; min-width: 0; max-width: 64px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.gr-col i { display: block; width: 100%; max-width: 40px; border-radius: 6px 6px 2px 2px; background: var(--rose-deep); opacity: .85; }
.gr-col small { color: var(--muted); font-weight: 700; }
.gr-col span { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.gr-chart.few .gr-bars { height: 170px; }
.gr-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: .85rem; }
.gr-lists { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px 28px; margin-top: 18px; }
.gr-list h3 { margin: 0 0 6px; }
.gr-list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.gr-list li { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 5px 10px; border-radius: 10px; isolation: isolate; }
.gr-list li::before { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 10px; background: var(--bg); z-index: -1; }
.gr-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.gr-list li small { color: var(--muted); white-space: nowrap; }
.gr-left { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.gr-left li { padding: 12px 16px; border-radius: 18px; background: var(--bg); }
.gr-left small, .gr-sub { color: var(--muted); }
.gr-paylist { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.gr-left .gr-paylist li { padding: 0; border-radius: 0; background: none; }
.gr-thanks { margin-top: 8px; }
.gr-warn { color: var(--rose-deep); font-weight: 700; }
.cl-ask { font-weight: 700; }
.gr-left blockquote { margin: 8px 0 0; padding-left: 12px; border-left: 3px solid var(--rose-deep); font-style: italic; }
.gr-move { display: inline-block; padding: 1px 10px; border-radius: 999px; font-weight: 700; font-size: .85rem; background: var(--mint); color: #26654a; }
.gr-move.down { background: var(--blush); color: var(--rose-deep); }
.gr-money td:nth-child(n+2), .gr-money th:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gr-money small { display: block; font-size: .8rem; }
.gr-cash b { font-size: 1.6rem; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .gr-cash b { font-size: 1.3rem; }
  .gr-money thead { display: none; }
  .gr-money tr { display: block; padding: 8px 0; border-bottom: 1px solid #f1e6ec; }
  .gr-money th[scope="row"] { display: block; border: 0; padding: 4px 0; }
  .gr-money td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 3px 0; }
  .gr-money td::before { content: attr(data-label); color: var(--muted); margin-right: auto; }
  .gr-money td small { display: inline; align-self: center; }
}
.gr-form { margin-top: 22px; }
.gr-form h3 { margin: 0 0 8px; }
.gr-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 10px; }
.gr-field { display: flex; flex-direction: column; gap: 4px; font-weight: 700; flex: 0 1 180px; min-width: 0; }
.gr-field.gr-grow { flex: 1 1 220px; }
.gr-field input { font: inherit; font-weight: 600; padding: 9px 14px; min-height: 44px; border-radius: 14px; border: 1.5px solid var(--petal); background: var(--card); color: var(--ink); width: 100%; box-sizing: border-box; }
.gr-check { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; }
.gr-check input { width: 20px; height: 20px; flex: none; }
.a-report { margin: 12px 0; }
.a-report caption { text-align: left; font-weight: 800; padding: 6px 0; }
.a-report td { white-space: nowrap; }
.a-suggest { margin: 6px 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.gr-logline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.gr-dots { display: inline-flex; gap: 4px; }
.gr-dots i { width: 12px; height: 12px; border-radius: 50%; background: color-mix(in srgb, var(--muted) 22%, transparent); }
.gr-dots i.on { background: var(--rose-deep); }
.gr-tips { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.gr-tips li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 14px; border-radius: 16px; background: var(--bg); }
.gr-tips li span { flex: 1 1 160px; min-width: 0; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 560px) { .gr-field { flex: 1 1 100%; } }
.extras-box { margin-top: 14px; padding: 14px; border-radius: 18px; background: #f6f1fc; border: 1.5px dashed #c9b6f2; }
.extras-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.extras-head h3 { margin: 0; font-size: 1.05rem; }
.extras-box .note { margin: 6px 0 10px; }
.extras-box .todo.extra { background: #fff; }
.qs-when { margin: 4px 0 6px; padding: 8px 12px; border-radius: 12px; background: #f3eefc; font-weight: 600; }
.sw-rec-box { margin-bottom: 18px; }

/* ---------- members: the swirl page and the player's own controls ---------- */
.player .stage:fullscreen, .player .stage.sound:fullscreen { aspect-ratio: auto; max-height: none; border-radius: 0; box-shadow: none; }
.stage.sound { cursor: default; }
[data-view="listen"] .player { margin-top: 8px; }
[data-view="listen"] .player .stage { max-height: 82vh; }
[data-view="listen"] .player .now { display: none; }
.sw-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: none; align-items: center; gap: 10px 14px; flex-wrap: wrap;
  padding: 28px 18px 14px; color: #fff; background: linear-gradient(rgba(20, 10, 24, 0), rgba(20, 10, 24, .88) 55%); font-size: .92rem; transition: opacity .4s ease; }
.stage.sound:not(.reading) .sw-bar { display: flex; }
.stage.bar-idle .sw-bar { opacity: 0; }
.stage.bar-idle .sw-bar:focus-within { opacity: 1; }
.sw-bar .sw-play { padding: 6px 16px; min-height: 38px; }
.sw-time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sw-seek { flex: 1 1 160px; min-width: 120px; accent-color: #f4aec6; }
.sw-vol { width: 90px; accent-color: #f4aec6; }
.sw-mute, .sw-fs { border: 0; background: rgba(20, 10, 24, .55); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); color: #fff; width: 40px; height: 40px; border-radius: 50%; font: 700 1.3rem/1 var(--body); cursor: pointer; display: grid; place-items: center; flex: none; }
.sw-mute:hover, .sw-fs:hover { background: rgba(255, 255, 255, .28); }
.sw-readbar .sw-fs { margin-left: auto; }
.sw-start { font-size: 1.15rem; padding: 14px 34px; }
@media (pointer: coarse) { .sw-vol, .sw-mute { display: none; } }
.sw-audio-note { position: absolute; inset: 0; display: none; place-content: center; text-align: center; padding: 20px 24px 90px; color: #f4e9f1; z-index: 1; pointer-events: none; }
.sw-audio-note p { margin: 0 0 6px; max-width: 30em; }
.sw-audio-note b { font: 600 1.4rem var(--head); color: #fff; }
.stage.audio-only .sw-audio-note { display: grid; }
.stage.audio-only .sw-canvas, .stage.audio-only .sw-words:not(.sw-read) { display: none; }
.player .stage.sound.audio-only { aspect-ratio: auto; height: 260px; background: radial-gradient(closest-side, #2a1c33, var(--night)); }
.stage.audio-only.bar-idle .sw-bar { opacity: 1; }
.stage.audio-only .sw-bar .sw-fs { display: none; }
.stage.audio-only .sw-bar { z-index: 2; }

/* ---------- members: today's checklist and the Log a change button by the name ---------- */
.head-log { align-self: center; }
.checklist .cl-list { margin-top: 6px; }
.cl-row .acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cl-row.skipped .tick { background: var(--blush); border-color: var(--petal); color: var(--muted); }
.cl-row.done .txt b, .cl-row.skipped .txt b { color: var(--muted); }
.todo.done span.tick { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.cl-row.done .txt b { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--pink); }
@media (max-width: 640px) { .m-head .head-log { width: 100%; justify-content: center; } }
.sub-toggle { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex-basis: 100%; }
.sub-toggle .st-switch[disabled] { cursor: not-allowed; }
.sub-toggle.st-locked .st-switch { opacity: .5; }
.sub-note { margin: 0; }
.push-card h2 { font-size: 1.15rem; margin: 0 0 10px; }
.push-card .note { margin: 10px 0 0; }
.push-kinds { margin-top: 18px; }
.push-kinds h3 { margin: 0 0 4px; }
.push-kinds .st-switches { display: grid; gap: 10px; justify-items: start; }

/* ---------- members: Plan my month ---------- */
.plan-stack { display: grid; gap: 18px; }
.plan-stack > .note { margin: 0; }
.plan-meter { padding: 18px 22px; }
.plan-meter p { margin: 0 0 4px; }
.plan-meter.short { box-shadow: inset 0 0 0 2px var(--pink), var(--shadow); }
.plan-diapers h2, .plan-weekcard h2 { font-size: 1.1rem; margin: 0 0 8px; }
.plan-diapers p { margin: 0 0 8px; }
.plan-diapers .plan-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; margin: 18px 0 0; }
.plan-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; font-weight: 700; }
.plan-legend { margin: 4px 0 0; }
.plan-kind { display: inline-flex; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--petal); background: var(--card); padding: 3px; gap: 2px; flex: none; }
.plan-kind button { border: 0; background: none; font: 700 .88rem var(--body); color: var(--muted); padding: 7px 12px; border-radius: 999px; cursor: pointer; min-height: 36px; white-space: nowrap; }
.plan-kind button[aria-pressed="true"] { background: var(--rose-deep); color: #fff; }
.plan-kind button:nth-child(2)[aria-pressed="true"] { background: var(--night); }
.plan-kind button:nth-child(3)[aria-pressed="true"] { background: #2f6f73; }
.plan-kind button[disabled] { opacity: .4; cursor: not-allowed; }
.plan-time { display: inline-flex; align-items: center; gap: 8px; }
.plan-none { color: var(--muted); font-size: .9rem; }
.plan-ticks { display: inline-flex; gap: 8px; flex-wrap: wrap; align-items: end; }
.plan-tick[disabled] { opacity: .4; }
.plan-addtime { min-height: 40px; padding: 6px 12px; font-size: .9rem; }
.plan-card input[type="time"], .plan-weekcard input[type="time"], .plan-weekcard select, .plan-diapers select {
  font: inherit; padding: 6px 10px; border-radius: 12px; border: 1.5px solid var(--petal); background: var(--card); color: var(--ink); min-height: 40px; }
.plan-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 6px; }
.plan-wk { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.plan-wkday { border-bottom: 1px solid var(--blush); padding: 8px 0; }
.plan-wkday:last-child { border-bottom: 0; }
.plan-wkday.today .plan-date { color: var(--rose-deep); }
.plan-wkrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.plan-wkrow .plan-date { min-width: 110px; }
.plan-sum { flex: 1; color: var(--muted); font-size: .9rem; }
.plan-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; padding: 12px 0 4px; }
@media (max-width: 720px) {
  .plan-wkrow .plan-date { min-width: 0; flex-basis: 100%; }
}
.plan-fields .st-switch { justify-self: start; width: auto; }

/* ---------- members: guide favorites ---------- */
.guide-starred-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.guide-star { border: 0; background: none; color: var(--rose); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 4px 6px; min-width: 36px; min-height: 36px; flex: none; }
.guide-star.on { color: #d9a400; }
.guide-star:hover { transform: scale(1.1); }
.guide-part { scroll-margin-top: 90px; }
.guide-favs summary { font: 700 1.1rem var(--head); }
.guide-favs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.guide-favs li { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--blush); padding: 4px 0; }
.guide-favs li:last-child { border-bottom: 0; }
.guide-favs a { font-weight: 700; }

.gr-swirls { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }

.gr-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 6px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--petal); width: fit-content; max-width: 100%; }
.gr-tab { border: 0; background: none; font: 700 .95rem var(--body); color: var(--muted); padding: 9px 18px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.gr-tab:hover { color: var(--rose-deep); background: var(--blush); }
.gr-tab[aria-selected="true"] { background: var(--rose-deep); color: #fff; }
.gr-panel { display: grid; gap: 18px; }
.gr-panel[hidden] { display: none; }
.gr-charts > .chips { margin-bottom: 6px; }
.gr-chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 18px; margin-top: 12px; }
.gr-chart-card h2 { margin-bottom: 4px; }
.gr-viz { position: relative; margin-top: 8px; }
.gr-svg { display: block; overflow: visible; }
.gr-grid { stroke: #f0e3e8; stroke-width: 1; }
.gr-base { stroke: #d9c3cc; stroke-width: 1; }
.gr-ylab, .gr-xlab { fill: var(--muted); font: 600 11px var(--body); }
.gr-total { fill: var(--ink); font: 700 11px var(--body); }
.gr-fill { transition: opacity .15s; }
.gr-col-g.partial .gr-fill { opacity: .55; }
.gr-hit { fill: transparent; cursor: default; outline: none; }
.gr-col-g.on .gr-hit { fill: rgba(147, 57, 95, .06); }
.gr-c-one { fill: #c2457a; background: #c2457a; }
.gr-c-essentials { fill: #c27a12; background: #c27a12; }
.gr-c-core { fill: #c2457a; background: #c2457a; }
.gr-c-plus { fill: #6a4ce2; background: #6a4ce2; }
.gr-c-vip { fill: #00897b; background: #00897b; }
.gr-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; font-weight: 700; margin-top: 8px; }
.gr-legend span, .gr-tip span { display: inline-flex; align-items: center; gap: 7px; }
.gr-sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; flex: none; }
.gr-tip { position: absolute; top: 0; width: 190px; z-index: 3; display: grid; gap: 3px; padding: 10px 12px; border-radius: 12px; background: var(--plum); color: #fff;
  font-size: .85rem; box-shadow: 0 10px 24px -10px rgba(42, 28, 51, .5); pointer-events: none; }
.gr-tip[hidden] { display: none; }
.gr-tip-total { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 4px; margin-top: 2px; font-weight: 700; }
.gr-table { margin-top: 10px; }
.gr-table summary { cursor: pointer; font-weight: 700; color: var(--rose); font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { .gr-fill { transition: none; } }
