.memberShell {
  --member-ink: #24172f;
  --member-muted: #706477;
  --member-violet: #68419a;
  --member-deep: #321d4c;
  --member-lilac: #cdbce0;
  --member-rose: #eb937b;
  --member-gold: #ddb75f;
  --member-paper: #fffaf2;
  --member-soft: #f4ebdf;
  --member-line: rgba(36, 23, 47, 0.12);
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 4%, rgba(205, 188, 224, 0.34), transparent 25rem),
    linear-gradient(180deg, #fffaf3 0%, #f8f1e8 58%, #fffaf2 100%);
  color: var(--member-ink);
}

.memberShell button,
.memberShell input {
  font: inherit;
}

.memberNotice, .memberAlert { max-width: 760px; margin: -30px auto 32px; padding: 12px 16px; border-radius: 12px; text-align: center; font-size: 13px; }
.memberNotice { background: rgba(94, 156, 145, .15); color: #315d56; }
.memberAlert { background: rgba(199, 107, 90, .15); color: #813e34; }

.skipLink {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--member-ink);
  color: white;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skipLink:focus {
  transform: translateY(0);
}

.memberHeader {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--member-line);
  background: rgba(255, 250, 242, 0.86);
  backdrop-filter: blur(18px);
}

.headerInner {
  width: min(1180px, calc(100% - 40px));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.memberBrand,
.footerBrand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display), serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.memberBrandMark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--member-violet);
  border-radius: 50%;
  color: var(--member-violet);
  font-size: 13px;
}

.memberNav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: 8px;
}

.navLink,
.navLinkActive {
  position: relative;
  min-width: 70px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--member-muted);
  font-size: 12px;
  font-weight: 800;
  transition: color 180ms ease;
}

.navLink:hover,
.navLinkActive {
  color: var(--member-violet);
}

.navLinkActive::after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--member-violet);
}

.navIcon {
  font-size: 14px;
}

.headerActions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.helpLink {
  color: var(--member-muted);
  font-size: 12px;
  font-weight: 800;
}

.helpLink:hover {
  color: var(--member-violet);
}

.profilePill {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--member-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 800;
}

.profileDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--member-rose);
  box-shadow: 0 0 0 4px rgba(235, 147, 123, 0.18);
}

.memberMain {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 88px;
}

.pageHeading {
  max-width: 810px;
  margin: 0 auto 54px;
  text-align: center;
}

.pageEyebrow,
.sectionKicker {
  margin: 0 0 12px;
  color: var(--member-violet);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.memberTitle {
  max-width: none;
  margin: 0;
  font-family: var(--font-display), serif;
  font-size: clamp(46px, 6.1vw, 72px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.memberIntro {
  max-width: 700px;
  margin: 20px auto 0;
  color: var(--member-muted);
  font-size: 16px;
  line-height: 1.7;
}

.todayLayout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(42px, 7vw, 90px);
}

.cardColumn {
  position: sticky;
  top: 110px;
  min-width: 0;
  display: grid;
  justify-items: center;
}

.memberCardHalo {
  position: absolute;
  z-index: 0;
  top: 32px;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(104, 65, 154, 0.18);
  border-radius: 50%;
}

.memberCardHalo::before,
.memberCardHalo::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.memberCardHalo::before {
  inset: 26px;
  background: rgba(205, 188, 224, 0.5);
}

.memberCardHalo::after {
  inset: -18px;
  border: 1px dashed rgba(104, 65, 154, 0.16);
  animation: slowOrbit 38s linear infinite;
}

.starCardFigure {
  position: relative;
  z-index: 2;
  margin: 0;
  display: grid;
  justify-items: center;
}

.cardScene {
  width: 294px;
  height: 492px;
  perspective: 1200px;
}

.cardReveal {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: revealCard 1.2s cubic-bezier(0.2, 0.74, 0.24, 1) both;
}

.memberCardBack,
.memberCardFront {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 8px solid #fff8eb;
  border-radius: 19px;
  box-shadow:
    0 30px 62px rgba(48, 28, 67, 0.28),
    0 6px 16px rgba(48, 28, 67, 0.16);
  backface-visibility: hidden;
}

.memberCardBack {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(221, 183, 95, 0.62) 1px, transparent 1.5px) 0 0 / 24px 24px,
    var(--member-deep);
  transform: rotateY(180deg);
}

.backOrbit {
  width: 144px;
  height: 144px;
  display: grid;
  place-items: center;
  border: 1px solid var(--member-gold);
  border-radius: 50%;
  color: var(--member-gold);
  font-size: 58px;
}

.backOrbit::before,
.backOrbit::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(221, 183, 95, 0.45);
  border-radius: 50%;
}

.backOrbit::after {
  width: 96px;
  height: 96px;
}

.memberCardFront {
  background: #4b3369;
  color: #fff9eb;
}

.memberCardFront::before {
  content: '';
  position: absolute;
  z-index: 7;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 14, 42, 0.46), transparent 20%, transparent 70%, rgba(28, 14, 42, 0.78));
  pointer-events: none;
}

.memberCardArtwork {
  object-fit: cover;
}

.memberCardFront::after {
  content: '';
  position: absolute;
  inset: 7px;
  z-index: 8;
  border: 1px solid rgba(255, 249, 235, 0.6);
  border-radius: 10px;
  pointer-events: none;
}

.cardRoman,
.cardTitle {
  position: absolute;
  z-index: 9;
  right: 0;
  left: 0;
  font-family: var(--font-display), serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.cardRoman {
  top: 19px;
  font-size: 14px;
}

.cardTitle {
  bottom: 20px;
  font-size: 18px;
  font-weight: 700;
}

.cardFigcaption {
  margin-top: 20px;
  display: grid;
  gap: 3px;
  font-family: var(--font-display), serif;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.cardFigcaption span {
  color: var(--member-muted);
  font-family: var(--font-sans), sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.favoriteControl {
  margin-top: 18px;
}

.favoriteButton,
.favoriteButtonSaved,
.quietButton {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--member-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--member-ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.favoriteButton:hover,
.favoriteButtonSaved:hover,
.quietButton:hover {
  transform: translateY(-2px);
  border-color: rgba(104, 65, 154, 0.36);
}

.favoriteButtonSaved {
  border-color: rgba(104, 65, 154, 0.36);
  background: #efe6f6;
  color: var(--member-violet);
}

.favoriteButton span,
.favoriteButtonSaved span,
.quietButton span {
  font-size: 18px;
  line-height: 1;
}

.stableReadingNote {
  max-width: 330px;
  margin: 17px 0 0;
  display: flex;
  gap: 9px;
  color: var(--member-muted);
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.stableReadingNote span {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6eee4;
  color: #3e6a49;
}

.readingPanel {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--member-line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(54, 34, 69, 0.08);
}

.memberReadingHeader,
.preferenceHeading,
.sectionTitleRow,
.calendarHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.memberReadingHeader h2,
.preferenceHeading h2,
.calendarHeader h2,
.sectionTitleRow h2,
.gentleReturn h2,
.favoriteNote h2,
.contactCard h2,
.helpCancelCard h2,
.subscriptionPanel h2 {
  margin: 0;
  font-family: var(--font-display), serif;
  font-size: clamp(31px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.readTime {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--member-soft);
  color: var(--member-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.readingBody {
  margin-top: 30px;
  color: #574b5d;
  font-size: 15px;
  line-height: 1.85;
}

.readingBody p {
  margin: 0 0 18px;
}

.readingLead {
  color: var(--member-ink);
  font-family: var(--font-display), serif;
  font-size: 24px;
  line-height: 1.45;
}

.reflectionCard,
.actionCard {
  margin-top: 26px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-radius: 21px;
}

.reflectionCard {
  background: #eee6f5;
}

.reflectionIcon,
.actionNumber {
  flex: 0 0 auto;
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(104, 65, 154, 0.26);
  border-radius: 50%;
  color: var(--member-violet);
  font-family: var(--font-display), serif;
  font-size: 21px;
  font-weight: 700;
}

.reflectionCard h3,
.actionCard h3 {
  margin: 0;
  font-family: var(--font-display), serif;
  font-size: 24px;
  line-height: 1.25;
}

.actionCard {
  background: #f8e8de;
}

.actionNumber {
  border-color: rgba(180, 98, 72, 0.26);
  color: #a85c48;
  font-family: var(--font-sans), sans-serif;
  font-size: 10px;
}

.actionCard p:last-child {
  margin: 9px 0 0;
  color: #68555a;
  font-size: 13px;
  line-height: 1.7;
}

.symbolDetail {
  margin-top: 26px;
  border-top: 1px solid var(--member-line);
  border-bottom: 1px solid var(--member-line);
}

.symbolDetail summary {
  padding: 19px 3px;
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  color: var(--member-violet);
  font-size: 13px;
  font-weight: 900;
  list-style: none;
}

.symbolDetail summary::-webkit-details-marker {
  display: none;
}

.symbolDetail summary::after {
  content: '+';
  margin-left: auto;
  font-size: 20px;
  font-weight: 500;
}

.symbolDetail[open] summary::after {
  content: '−';
}

.symbolDetail div {
  padding: 0 3px 20px 29px;
  color: var(--member-muted);
  font-size: 13px;
  line-height: 1.7;
}

.symbolDetail div strong {
  color: var(--member-ink);
}

.symbolDetail div p {
  margin: 5px 0 0;
}

.gentleReturn {
  margin-top: 64px;
  padding: 28px 34px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: var(--member-deep);
  color: #fff9ee;
}

.gentleReturnMoon {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(221, 183, 95, 0.46);
  border-radius: 50%;
  color: var(--member-gold);
  font-size: 27px;
}

.gentleReturn h2 {
  font-size: 29px;
}

.gentleReturn p {
  margin: 6px 0 0;
  color: rgba(255, 249, 238, 0.72);
  font-size: 13px;
  line-height: 1.65;
}

.historyStats {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--member-line);
  border-radius: 22px;
  background: var(--member-line);
}

.historyStats > div {
  min-height: 108px;
  padding: 24px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.76);
  text-align: center;
}

.historyStats strong {
  font-family: var(--font-display), serif;
  font-size: 34px;
  line-height: 1;
}

.historyStats span {
  color: var(--member-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calendarPanel,
.preferenceSection {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--member-line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
}

.calendarControls {
  display: flex;
  gap: 8px;
}

.calendarControls button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--member-line);
  border-radius: 50%;
  background: transparent;
  color: var(--member-muted);
}

.calendarControls button:disabled {
  opacity: 0.45;
}

.calendarScroll {
  margin-top: 26px;
  overflow-x: auto;
}

.calendar {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 7px;
  table-layout: fixed;
}

.calendar th {
  padding: 0 4px 8px;
  color: var(--member-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-align: left;
  text-transform: uppercase;
}

.calendar td {
  height: 84px;
  vertical-align: top;
}

.calendarReading,
.calendarToday,
.calendarQuiet {
  height: 100%;
  padding: 9px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--member-line);
  border-radius: 13px;
  background: #faf4ed;
}

.calendarReading,
.calendarToday {
  background: #eee5f4;
  border-color: rgba(104, 65, 154, 0.22);
}

.calendarToday {
  color: white;
  background: var(--member-violet);
  box-shadow: 0 9px 22px rgba(104, 65, 154, 0.22);
}

.calendarQuiet {
  opacity: 0.42;
}

.calendarReading time,
.calendarToday time,
.calendarQuiet time {
  font-size: 11px;
  font-weight: 800;
}

.calendarReading > span,
.calendarToday > span {
  margin: auto 0 2px;
  color: var(--member-gold);
  font-size: 12px;
}

.calendarReading small,
.calendarToday small {
  overflow: hidden;
  font-size: 8px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendarToday small {
  color: rgba(255, 255, 255, 0.82);
}

.calendarLegend {
  margin: 17px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--member-muted);
  font-size: 11px;
}

.calendarLegend span {
  color: var(--member-violet);
}

.recentSection {
  margin-top: 58px;
}

.sectionTitleRow {
  margin-bottom: 24px;
}

.recentGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.historyCard {
  min-width: 0;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 17px;
  border: 1px solid var(--member-line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.72);
}

.historyCard time,
.favoriteDate {
  color: var(--member-violet);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.historyCard h3 {
  margin: 5px 0 4px;
  font-family: var(--font-display), serif;
  font-size: 21px;
}

.historyCard p {
  margin: 0;
  color: var(--member-muted);
  font-size: 11px;
  line-height: 1.55;
}

.todayChip {
  margin-top: 8px;
  padding: 4px 8px;
  display: inline-block;
  border-radius: 999px;
  background: #eee5f4;
  color: var(--member-violet);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.miniCard {
  position: relative;
  flex: 0 0 auto;
  width: 78px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 4px solid #fff8eb;
  border-radius: 9px;
  color: #fff9eb;
  box-shadow: 0 10px 24px rgba(45, 28, 58, 0.17);
}

.miniCard::before,
.miniCard::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.miniCard::before {
  right: -26px;
  bottom: 16px;
  width: 80px;
  height: 45px;
  background: rgba(255, 255, 255, 0.13);
  transform: rotate(-12deg);
}

.miniCard::after {
  bottom: 22px;
  left: -24px;
  width: 82px;
  height: 37px;
  background: rgba(30, 53, 63, 0.32);
  transform: rotate(11deg);
}

.miniViolet { background: linear-gradient(155deg, #35204e 0 56%, #5b9194 57%); }
.miniSun { background: linear-gradient(155deg, #d78a67 0 56%, #6e9986 57%); }
.miniCoral { background: linear-gradient(155deg, #71416e 0 56%, #c57261 57%); }

.miniNumber,
.miniName,
.miniSymbol {
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  text-align: center;
}

.miniNumber {
  top: 6px;
  font-family: var(--font-display), serif;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.miniSymbol {
  top: 29px;
  color: #f2d37d;
  font-size: 27px;
  filter: drop-shadow(0 0 6px rgba(242, 211, 125, 0.35));
}

.miniName {
  bottom: 7px;
  font-family: var(--font-display), serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.favoriteGallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.favoriteItem {
  overflow: hidden;
  border: 1px solid var(--member-line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(48, 28, 67, 0.06);
}

.favoriteItem .miniCard {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.favoriteItem .miniNumber {
  top: 17px;
  font-size: 11px;
}

.favoriteItem .miniSymbol {
  top: 50%;
  font-size: 56px;
  transform: translateY(-50%);
}

.favoriteItem .miniName {
  bottom: 18px;
  font-size: 12px;
}

.favoriteCopy {
  padding: 25px;
}

.favoriteCopy h2 {
  margin: 5px 0 9px;
  font-family: var(--font-display), serif;
  font-size: 29px;
  line-height: 1;
}

.favoriteCopy > p:not(.favoriteDate) {
  min-height: 48px;
  margin: 0 0 18px;
  color: var(--member-muted);
  font-size: 12px;
  line-height: 1.65;
}

.favoriteDate {
  margin: 0;
}

.quietButton {
  min-height: 38px;
  padding: 0 14px;
  background: #f3eaf5;
  color: var(--member-violet);
  font-size: 10px;
}

.favoriteNote {
  margin-top: 28px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px dashed rgba(104, 65, 154, 0.3);
  border-radius: 22px;
  background: rgba(238, 229, 244, 0.5);
}

.favoriteNote > span {
  flex: 0 0 auto;
  color: var(--member-violet);
  font-size: 39px;
}

.favoriteNote h2 {
  font-size: 27px;
}

.favoriteNote p {
  margin: 6px 0 0;
  color: var(--member-muted);
  font-size: 12px;
  line-height: 1.65;
}

.preferencesForm {
  display: grid;
  gap: 18px;
}

.preferenceHeading h2 {
  font-size: clamp(27px, 3vw, 35px);
}

.preferenceBadge {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eee5f4;
  color: var(--member-violet);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.choiceGrid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.choiceCard {
  position: relative;
  min-height: 142px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--member-line);
  border-radius: 17px;
  background: #fffaf4;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.choiceCard:hover {
  transform: translateY(-2px);
  border-color: rgba(104, 65, 154, 0.38);
}

.choiceCard:has(input:checked) {
  border-color: var(--member-violet);
  background: #f0e8f5;
  box-shadow: inset 0 0 0 1px var(--member-violet);
}

.choiceCard input,
.segmentedControl input,
.switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choiceCard input:focus-visible + .radioMark {
  outline: 3px solid var(--member-rose);
  outline-offset: 3px;
}

.radioMark {
  width: 19px;
  height: 19px;
  margin-bottom: 20px;
  border: 1px solid rgba(36, 23, 47, 0.3);
  border-radius: 50%;
  background: white;
}

.choiceCard input:checked + .radioMark {
  border: 5px solid var(--member-violet);
}

.choiceCard strong {
  font-family: var(--font-display), serif;
  font-size: 20px;
}

.choiceCard small {
  margin-top: 5px;
  color: var(--member-muted);
  font-size: 10px;
  line-height: 1.5;
}

.segmentedControl {
  margin-top: 25px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  border-radius: 15px;
  background: var(--member-soft);
}

.segmentedControl label {
  position: relative;
  cursor: pointer;
}

.segmentedControl span {
  min-height: 46px;
  padding: 0 14px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--member-muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.segmentedControl input:checked + span {
  background: white;
  color: var(--member-violet);
  box-shadow: 0 6px 16px rgba(48, 28, 67, 0.08);
}

.segmentedControl input:focus-visible + span {
  outline: 3px solid var(--member-rose);
  outline-offset: 2px;
}

.switchRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.switchRow h2 {
  margin: 0;
  font-family: var(--font-display), serif;
  font-size: 28px;
  line-height: 1.1;
}

.switchRow p:last-child {
  max-width: 690px;
  margin: 9px 0 0;
  color: var(--member-muted);
  font-size: 12px;
  line-height: 1.65;
}

.switch {
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
}

.switchTrack {
  position: relative;
  width: 56px;
  height: 32px;
  display: block;
  border-radius: 999px;
  background: #d8cfd9;
  transition: background 180ms ease;
}

.switchTrack::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 3px 8px rgba(36, 23, 47, 0.2);
  transition: transform 180ms ease;
}

.switch input:checked + .switchTrack {
  background: var(--member-violet);
}

.switch input:checked + .switchTrack::after {
  transform: translateX(24px);
}

.switch input:focus-visible + .switchTrack {
  outline: 3px solid var(--member-rose);
  outline-offset: 3px;
}

.saveBar {
  padding: 15px 16px 15px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--member-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
}

.saveBar p {
  margin: 0;
  color: var(--member-muted);
  font-size: 11px;
}

.primaryButton,
.cancelButton,
.helpCancelCard > a {
  min-height: 46px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--member-ink);
  border-radius: 999px;
  background: var(--member-ink);
  color: white;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(36, 23, 47, 0.15);
  transition: transform 180ms ease, background 180ms ease;
}

.primaryButton:hover,
.cancelButton:hover,
.helpCancelCard > a:hover {
  transform: translateY(-2px);
  background: var(--member-deep);
}

.subscriptionPanel {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  border: 1px solid var(--member-line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
}

.subscriptionSummary,
.cancelCard {
  padding: clamp(28px, 4vw, 42px);
}

.subscriptionSummary dl {
  margin: 28px 0 0;
}

.subscriptionSummary dl > div {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--member-line);
}

.subscriptionSummary dt {
  color: var(--member-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.subscriptionSummary dd {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.cancelCard {
  background: #f4e4df;
}

.cancelCard h3 {
  margin: 0;
  font-family: var(--font-display), serif;
  font-size: 29px;
  line-height: 1.1;
}

.cancelCard > p:not(.sectionKicker) {
  margin: 13px 0 20px;
  color: #6c5555;
  font-size: 12px;
  line-height: 1.7;
}

.cancelButton {
  min-height: 44px;
  border-color: #783e3c;
  background: #783e3c;
  box-shadow: none;
}

.cancelCard small {
  margin-top: 13px;
  display: block;
  color: #7d6565;
  font-size: 9px;
  line-height: 1.5;
}

.supportStrip {
  margin-top: 18px;
  padding: 17px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--member-line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.66);
}

.supportStrip > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.supportStrip > div > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--member-line);
  border-radius: 50%;
  color: var(--member-violet);
  font-family: var(--font-display), serif;
  font-weight: 700;
}

.supportStrip p {
  margin: 0;
  color: var(--member-muted);
  font-size: 11px;
}

.supportStrip a {
  color: var(--member-violet);
  font-size: 11px;
  font-weight: 900;
}

.helpHighlights {
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.helpHighlights article {
  padding: 19px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--member-line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.75);
}

.helpHighlights article > span {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eee5f4;
  color: var(--member-violet);
  font-size: 14px;
  font-weight: 900;
}

.helpHighlights p {
  margin: 0;
  color: var(--member-muted);
  font-size: 11px;
  line-height: 1.55;
}

.helpHighlights strong {
  color: var(--member-ink);
}

.helpLayout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  align-items: start;
  gap: 25px;
}

.faqSection {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--member-line);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.78);
}

.faqSection details {
  border-top: 1px solid var(--member-line);
}

.faqSection details:last-child {
  border-bottom: 1px solid var(--member-line);
}

.faqSection summary {
  padding: 20px 32px 20px 0;
  position: relative;
  cursor: pointer;
  font-family: var(--font-display), serif;
  font-size: 19px;
  font-weight: 700;
  list-style: none;
}

.faqSection summary::-webkit-details-marker {
  display: none;
}

.faqSection summary::after {
  content: '+';
  position: absolute;
  top: 19px;
  right: 2px;
  color: var(--member-violet);
  font-family: var(--font-sans), sans-serif;
  font-size: 20px;
  font-weight: 500;
}

.faqSection details[open] summary::after {
  content: '−';
}

.faqSection details p {
  margin: -4px 32px 20px 0;
  color: var(--member-muted);
  font-size: 12px;
  line-height: 1.75;
}

.helpAside {
  position: sticky;
  top: 105px;
  display: grid;
  gap: 15px;
}

.contactCard,
.helpCancelCard {
  padding: 29px;
  border-radius: 23px;
}

.contactCard {
  border: 1px solid var(--member-line);
  background: var(--member-deep);
  color: #fff9ef;
}

.contactIcon {
  width: 43px;
  height: 43px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(221, 183, 95, 0.46);
  border-radius: 50%;
  color: var(--member-gold);
  font-family: var(--font-display), serif;
  font-size: 18px;
  font-weight: 700;
}

.contactCard .sectionKicker {
  color: var(--member-gold);
}

.contactCard h2,
.helpCancelCard h2 {
  font-size: 31px;
}

.contactCard > p:not(.sectionKicker),
.helpCancelCard > p:not(.sectionKicker) {
  margin: 11px 0 20px;
  font-size: 12px;
  line-height: 1.7;
}

.contactCard > p:not(.sectionKicker) {
  color: rgba(255, 249, 239, 0.7);
}

.contactCard > a {
  color: #fff9ef;
  font-size: 12px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--member-gold);
  text-underline-offset: 4px;
}

.helpCancelCard {
  background: #f2dfdc;
}

.helpCancelCard > p:not(.sectionKicker) {
  color: #6e5253;
}

.helpCancelCard > a {
  min-height: 42px;
  border-color: #783e3c;
  background: #783e3c;
  box-shadow: none;
}

.helpCancelCard small {
  margin-top: 12px;
  display: block;
  color: #7d6565;
  font-size: 9px;
  line-height: 1.5;
}

.backToToday {
  padding: 13px 3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--member-violet);
  font-size: 11px;
  font-weight: 900;
}

.memberFooter {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--member-line);
}

.memberFooter p {
  margin: 7px 0 0;
  color: var(--member-muted);
  font-size: 10px;
}

.footerBrand {
  font-size: 19px;
}

.footerLinks {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--member-muted);
  font-size: 10px;
  font-weight: 800;
}

.footerLinks a:hover {
  color: var(--member-violet);
}

.mobileNav {
  display: none;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.memberShell a:focus-visible,
.memberShell button:focus-visible,
.memberShell summary:focus-visible {
  outline: 3px solid var(--member-rose);
  outline-offset: 3px;
}

@keyframes revealCard {
  0% {
    opacity: 0;
    transform: translateY(24px) rotateY(176deg) scale(0.92);
  }
  42% {
    opacity: 1;
  }
  78% {
    transform: translateY(-4px) rotateY(-4deg) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateY(0) scale(1);
  }
}

@keyframes slowOrbit {
  to { transform: rotate(360deg); }
}

@media (max-width: 1040px) {
  .headerInner {
    gap: 20px;
  }

  .memberNav {
    gap: 0;
  }

  .navLink,
  .navLinkActive {
    min-width: auto;
    padding: 0 9px;
  }

  .navIcon {
    display: none;
  }

  .helpLink {
    display: none;
  }

  .recentGrid {
    grid-template-columns: 1fr;
  }

  .historyCard {
    min-height: 140px;
  }

  .favoriteGallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .headerInner {
    min-height: 70px;
  }

  .memberNav,
  .profilePill {
    display: none;
  }

  .headerActions {
    margin-left: auto;
  }

  .helpLink {
    display: block;
  }

  .memberMain {
    padding-top: 48px;
  }

  .todayLayout {
    grid-template-columns: 1fr;
  }

  .cardColumn {
    position: relative;
    top: auto;
    padding-bottom: 12px;
  }

  .readingPanel {
    max-width: 680px;
    margin: 0 auto;
  }

  .historyStats,
  .helpHighlights {
    grid-template-columns: 1fr;
  }

  .historyStats {
    gap: 0;
  }

  .historyStats > div {
    min-height: 85px;
    grid-template-columns: auto 1fr;
    justify-items: start;
    column-gap: 12px;
    border-bottom: 1px solid var(--member-line);
  }

  .historyStats > div:last-child {
    border-bottom: 0;
  }

  .choiceGrid {
    grid-template-columns: 1fr;
  }

  .choiceCard {
    min-height: auto;
    padding: 17px 18px 17px 51px;
  }

  .radioMark {
    position: absolute;
    top: 19px;
    left: 18px;
    margin: 0;
  }

  .subscriptionPanel,
  .helpLayout {
    grid-template-columns: 1fr;
  }

  .helpAside {
    position: static;
  }
}

@media (max-width: 620px) {
  .memberShell {
    padding-bottom: 76px;
  }

  .headerInner,
  .memberMain,
  .memberFooter {
    width: min(100% - 28px, 1120px);
  }

  .memberBrand {
    font-size: 21px;
  }

  .memberBrandMark {
    width: 29px;
    height: 29px;
  }

  .memberMain {
    padding: 42px 0 62px;
  }

  .pageHeading {
    margin-bottom: 38px;
    text-align: left;
  }

  .memberTitle {
    font-size: clamp(43px, 13vw, 58px);
  }

  .memberIntro {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.65;
  }

  .memberCardHalo {
    top: 38px;
    width: 340px;
    height: 340px;
  }

  .cardScene {
    width: 252px;
    height: 422px;
  }

  .cardMainStar {
    top: 40px;
    font-size: 70px;
  }

  .cardStarOne { top: 79px; left: 35px; }
  .cardStarTwo { top: 126px; right: 31px; }
  .cardStarThree { top: 150px; left: 57px; }
  .cardStarFour { top: 183px; right: 66px; }
  .cardMountain { bottom: 134px; height: 100px; }
  .cardShore { bottom: 86px; height: 105px; }
  .cardWater { height: 134px; }
  .cardFigurePerson { bottom: 80px; transform: translateX(-50%) scale(0.86); }
  .cardPitcherOne { bottom: 85px; left: 61px; }
  .cardPitcherTwo { bottom: 85px; right: 56px; }

  .readingPanel,
  .calendarPanel,
  .preferenceSection,
  .faqSection {
    padding: 24px 20px;
    border-radius: 21px;
  }

  .memberReadingHeader h2 {
    font-size: 38px;
  }

  .readingBody {
    font-size: 14px;
  }

  .readingLead {
    font-size: 21px;
  }

  .reflectionCard,
  .actionCard {
    padding: 20px;
    gap: 14px;
  }

  .reflectionIcon,
  .actionNumber {
    width: 34px;
    height: 34px;
  }

  .reflectionCard h3,
  .actionCard h3 {
    font-size: 21px;
  }

  .gentleReturn,
  .favoriteNote {
    padding: 24px;
    align-items: flex-start;
  }

  .gentleReturnMoon,
  .favoriteNote > span {
    display: none;
  }

  .calendarScroll {
    margin-right: -20px;
    padding-right: 20px;
  }

  .calendar {
    min-width: 610px;
  }

  .favoriteGallery {
    grid-template-columns: 1fr;
  }

  .favoriteItem .miniCard {
    aspect-ratio: 1.7 / 1;
  }

  .segmentedControl {
    grid-template-columns: 1fr;
  }

  .switchRow {
    align-items: flex-start;
  }

  .switchRow h2 {
    font-size: 24px;
  }

  .saveBar {
    padding: 16px;
    align-items: stretch;
    flex-direction: column;
  }

  .saveBar p {
    text-align: center;
  }

  .primaryButton,
  .cancelButton,
  .helpCancelCard > a {
    width: 100%;
  }

  .subscriptionSummary dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .supportStrip {
    align-items: flex-start;
    flex-direction: column;
  }

  .memberFooter {
    align-items: flex-start;
    flex-direction: column;
  }

  .footerLinks {
    flex-wrap: wrap;
  }

  .mobileNav {
    position: fixed;
    z-index: 50;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 70px;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--member-line);
    background: rgba(255, 250, 242, 0.94);
    backdrop-filter: blur(18px);
  }

  .mobileNav .navLink,
  .mobileNav .navLinkActive {
    min-width: 0;
    padding: 5px 2px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 9px;
  }

  .mobileNav .navIcon {
    display: block;
    font-size: 17px;
  }

  .mobileNav .navLinkActive::after {
    right: 29%;
    bottom: auto;
    left: 29%;
    top: -9px;
    height: 3px;
    border-radius: 0 0 3px 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .memberShell *,
  .memberShell *::before,
  .memberShell *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cardReveal {
    opacity: 1;
    transform: none;
  }
}
