:root {
  color-scheme: dark;
  --hl-bg-deep: #120b07;
  --hl-bg-warm: #2a190f;
  --hl-glass: rgba(34, 21, 13, 0.76);
  --hl-glass-strong: rgba(24, 14, 9, 0.9);
  --hl-glass-soft: rgba(255, 247, 235, 0.1);
  --hl-light-surface: rgba(255, 250, 242, 0.92);
  --hl-gold: #e8b875;
  --hl-gold-soft: #f0c98f;
  --hl-text: #fff8ed;
  --hl-muted: #d8c5ad;
  --hl-on-light: #3b2719;
  --hl-line: rgba(245, 199, 132, 0.34);
  --hl-line-strong: rgba(245, 199, 132, 0.72);
  --hl-danger: #e89984;
  --hl-success: #83cdbf;
  --hl-serif: "Songti SC", STSong, "Noto Serif SC", "PingFang SC", serif;
  --hl-sans: "Avenir Next", "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --hl-type-display: 26px;
  --hl-type-page: 22px;
  --hl-type-title: 20px;
  --hl-type-section: 16px;
  --hl-type-body: 14px;
  --hl-type-support: 13px;
  --hl-type-caption: 12px;
  --hl-radius-sm: 12px;
  --hl-radius-md: 20px;
  --hl-radius-lg: 30px;
  --hl-radius-pill: 999px;
  --hl-shadow-float: 0 24px 64px rgba(0, 0, 0, 0.38);
  --hl-shadow-glow: 0 0 28px rgba(232, 184, 117, 0.18);
  --hl-blur: 20px;
  --hl-hero-image: url("./assets/visuals/member-service-warm-light-v2.png");
  --hl-hero-overlay:
    linear-gradient(180deg, rgba(14, 8, 5, 0.08) 0%, rgba(14, 8, 5, 0) 36%, rgba(10, 6, 4, 0.54) 100%),
    linear-gradient(90deg, rgba(9, 5, 3, 0.48), transparent 42%, rgba(9, 5, 3, 0.16));
  --hl-hero-glow: radial-gradient(circle at 62% 22%, rgba(255, 198, 116, 0.18), transparent 30%);
  --hl-edge-surface: linear-gradient(145deg, rgba(86, 55, 32, 0.76), rgba(25, 15, 9, 0.84));
  --hl-edge-active-surface: linear-gradient(145deg, rgba(120, 75, 39, 0.82), rgba(34, 20, 11, 0.9));
  --hl-card-surface: linear-gradient(150deg, rgba(127, 83, 47, 0.46), rgba(35, 21, 12, 0.88) 52%, rgba(17, 10, 7, 0.94));
  --hl-card-sheen: linear-gradient(125deg, rgba(255, 226, 184, 0.18), transparent 28%, transparent 72%, rgba(232, 184, 117, 0.08));
  --hl-primary-surface: linear-gradient(110deg, #fffaf0, #ffe0ae 76%, #edb56c);
  --hl-assistant-surface: linear-gradient(100deg, rgba(70, 43, 24, 0.84), rgba(27, 16, 10, 0.9));
  --hl-nav-surface: linear-gradient(110deg, rgba(63, 39, 22, 0.86), rgba(24, 14, 9, 0.92));
  --hl-nav-active-surface: rgba(160, 99, 43, 0.1);
  --hl-nav-active-icon: var(--hl-gold-soft);
  --hl-page-surface: linear-gradient(180deg, rgba(22, 13, 8, 0.48), rgba(16, 9, 6, 0.92) 28%, rgba(14, 8, 5, 0.97));
}

html[data-member-theme="hl-card-matcha-v1"] {
  --hl-bg-deep: #0d130b;
  --hl-bg-warm: #192016;
  --hl-glass: rgba(23, 29, 18, 0.82);
  --hl-glass-strong: rgba(14, 18, 11, 0.92);
  --hl-glass-soft: rgba(245, 234, 211, 0.1);
  --hl-gold: #c4a778;
  --hl-gold-soft: #e2d0ac;
  --hl-text: #fffaf0;
  --hl-muted: #d7cfbc;
  --hl-on-light: #243024;
  --hl-line: rgba(218, 193, 149, 0.36);
  --hl-line-strong: rgba(231, 211, 173, 0.74);
  --hl-shadow-glow: 0 0 28px rgba(182, 154, 104, 0.16);
  --hl-hero-image: url("./assets/visuals/member-themes/backgrounds/hl-card-matcha-v1.png");
  --hl-hero-overlay:
    linear-gradient(180deg, rgba(5, 9, 4, 0.1), rgba(5, 9, 4, 0.02) 35%, rgba(6, 8, 4, 0.62) 100%),
    linear-gradient(90deg, rgba(7, 10, 5, 0.25), transparent 46%, rgba(7, 10, 5, 0.18));
  --hl-hero-glow: radial-gradient(circle at 68% 24%, rgba(185, 165, 107, 0.12), transparent 32%);
  --hl-edge-surface: linear-gradient(145deg, rgba(50, 59, 38, 0.83), rgba(17, 23, 14, 0.9));
  --hl-edge-active-surface: linear-gradient(145deg, rgba(79, 88, 56, 0.88), rgba(23, 29, 17, 0.94));
  --hl-card-surface: linear-gradient(150deg, rgba(78, 79, 55, 0.79), rgba(34, 38, 24, 0.92) 54%, rgba(16, 19, 12, 0.95));
  --hl-card-sheen: linear-gradient(125deg, rgba(236, 217, 181, 0.17), transparent 30%, transparent 74%, rgba(199, 170, 119, 0.08));
  --hl-primary-surface: linear-gradient(110deg, #f8ddd6, #e9afa0 76%, #d89689);
  --hl-assistant-surface: linear-gradient(100deg, rgba(48, 55, 35, 0.9), rgba(16, 21, 13, 0.94));
  --hl-nav-surface: linear-gradient(110deg, rgba(44, 51, 32, 0.9), rgba(14, 18, 11, 0.95));
  --hl-nav-active-surface: rgba(218, 156, 145, 0.76);
  --hl-nav-active-icon: #fff8ef;
  --hl-page-surface: linear-gradient(180deg, rgba(17, 22, 13, 0.54), rgba(12, 16, 9, 0.93) 28%, rgba(9, 12, 7, 0.98));
}

html[data-member-theme="hl-card-riverside-night-v1"] {
  --hl-bg-deep: #06101d;
  --hl-bg-warm: #111a26;
  --hl-glass: rgba(9, 22, 38, 0.82);
  --hl-glass-strong: rgba(5, 15, 28, 0.94);
  --hl-glass-soft: rgba(238, 224, 196, 0.1);
  --hl-gold: #d1a66c;
  --hl-gold-soft: #f0d5a3;
  --hl-text: #fff9ed;
  --hl-muted: #d1c9bd;
  --hl-on-light: #1d2630;
  --hl-line: rgba(220, 178, 115, 0.4);
  --hl-line-strong: rgba(236, 200, 142, 0.78);
  --hl-shadow-glow: 0 0 30px rgba(202, 155, 88, 0.19);
  --hl-hero-image: url("./assets/visuals/member-themes/backgrounds/hl-card-riverside-night-v1.png");
  --hl-hero-overlay:
    linear-gradient(180deg, rgba(2, 8, 18, 0.05), rgba(2, 7, 15, 0.12) 42%, rgba(2, 6, 12, 0.7) 100%),
    linear-gradient(90deg, rgba(1, 5, 11, 0.28), transparent 48%, rgba(5, 5, 7, 0.25));
  --hl-hero-glow: radial-gradient(circle at 63% 21%, rgba(223, 173, 101, 0.1), transparent 30%);
  --hl-edge-surface: linear-gradient(145deg, rgba(16, 35, 57, 0.85), rgba(5, 14, 26, 0.92));
  --hl-edge-active-surface: linear-gradient(145deg, rgba(29, 51, 77, 0.9), rgba(7, 18, 32, 0.96));
  --hl-card-surface: linear-gradient(150deg, rgba(27, 50, 78, 0.74), rgba(8, 23, 42, 0.93) 52%, rgba(5, 13, 24, 0.96));
  --hl-card-sheen: linear-gradient(125deg, rgba(231, 216, 188, 0.17), transparent 28%, transparent 72%, rgba(213, 163, 96, 0.09));
  --hl-primary-surface: linear-gradient(110deg, #fffdf4, #ffe2ad 76%, #e9b96f);
  --hl-assistant-surface: linear-gradient(100deg, rgba(15, 34, 56, 0.91), rgba(5, 15, 29, 0.96));
  --hl-nav-surface: linear-gradient(110deg, rgba(14, 32, 53, 0.92), rgba(4, 13, 25, 0.96));
  --hl-nav-active-surface: rgba(207, 167, 108, 0.2);
  --hl-nav-active-icon: #f4d69e;
  --hl-page-surface: linear-gradient(180deg, rgba(6, 18, 34, 0.56), rgba(4, 13, 25, 0.94) 28%, rgba(3, 9, 18, 0.98));
}

html[data-member-theme="hl-card-botanical-wood-v1"] {
  --hl-bg-deep: #28170d;
  --hl-bg-warm: #4a2c19;
  --hl-glass: rgba(65, 39, 22, 0.8);
  --hl-glass-strong: rgba(43, 24, 13, 0.93);
  --hl-glass-soft: rgba(255, 244, 224, 0.11);
  --hl-gold: #d6aa6f;
  --hl-gold-soft: #f2d3a0;
  --hl-text: #fff9ef;
  --hl-muted: #e0cdb4;
  --hl-on-light: #3d2a1d;
  --hl-line: rgba(235, 190, 128, 0.38);
  --hl-line-strong: rgba(245, 214, 170, 0.76);
  --hl-shadow-glow: 0 0 30px rgba(222, 169, 94, 0.18);
  --hl-hero-image: url("./assets/visuals/member-themes/backgrounds/hl-card-botanical-wood-v1.png");
  --hl-hero-overlay:
    linear-gradient(180deg, rgba(37, 19, 9, 0.04), rgba(37, 19, 9, 0.02) 38%, rgba(30, 15, 7, 0.62) 100%),
    linear-gradient(90deg, rgba(39, 21, 11, 0.22), transparent 46%, rgba(39, 21, 11, 0.14));
  --hl-hero-glow: radial-gradient(circle at 64% 22%, rgba(255, 219, 162, 0.15), transparent 32%);
  --hl-edge-surface: linear-gradient(145deg, rgba(100, 64, 36, 0.8), rgba(49, 28, 15, 0.9));
  --hl-edge-active-surface: linear-gradient(145deg, rgba(126, 80, 43, 0.86), rgba(61, 34, 18, 0.94));
  --hl-card-surface: linear-gradient(150deg, rgba(137, 93, 54, 0.64), rgba(70, 40, 21, 0.9) 52%, rgba(40, 22, 12, 0.95));
  --hl-card-sheen: linear-gradient(125deg, rgba(255, 232, 196, 0.2), transparent 28%, transparent 72%, rgba(232, 184, 117, 0.1));
  --hl-primary-surface: linear-gradient(110deg, #fffdf5, #ffe2ac 76%, #e7ad64);
  --hl-assistant-surface: linear-gradient(100deg, rgba(83, 50, 28, 0.88), rgba(42, 23, 12, 0.94));
  --hl-nav-surface: linear-gradient(110deg, rgba(73, 43, 23, 0.9), rgba(36, 20, 10, 0.95));
  --hl-nav-active-surface: rgba(171, 112, 59, 0.26);
  --hl-nav-active-icon: #f3d39f;
  --hl-page-surface: linear-gradient(180deg, rgba(60, 34, 18, 0.52), rgba(40, 22, 11, 0.93) 28%, rgba(29, 15, 8, 0.98));
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--hl-bg-deep);
  color: var(--hl-text);
  font-family: var(--hl-sans);
  font-size: var(--hl-type-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

:where(button, a, input, select, textarea):focus-visible {
  outline: 2px solid var(--hl-gold-soft);
  outline-offset: 3px;
}

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

.lucide {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
}

.service-app {
  position: relative;
  width: min(100%, 430px);
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 700px;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--hl-bg-deep);
  background-image: var(--hl-hero-image);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.58);
}

.service-app::before,
.service-app::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
}

.service-app::before {
  background: var(--hl-hero-overlay);
}

.service-app::after {
  background: var(--hl-hero-glow);
}

.brand-header {
  position: absolute;
  z-index: 10;
  top: max(38px, env(safe-area-inset-top));
  left: 27px;
  right: 24px;
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: block;
  width: 104px;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--hl-gold-soft);
  box-shadow: 0 0 13px var(--hl-gold);
}

.icon-button {
  display: grid;
  width: 42px;
  min-width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--hl-line);
  border-radius: 50%;
  background: var(--hl-glass);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.14), 0 10px 26px rgba(0, 0, 0, 0.32);
  -webkit-backdrop-filter: blur(var(--hl-blur));
  backdrop-filter: blur(var(--hl-blur));
}

.notification-button {
  position: relative;
}

.notification-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--hl-bg-warm);
  border-radius: 50%;
  background: var(--hl-gold-soft);
}

.edge-menu {
  position: absolute;
  z-index: 6;
  top: 53%;
  display: grid;
  gap: 32px;
  transform: translateY(-50%);
}

.edge-left {
  left: -7px;
}

.edge-right {
  right: -7px;
}

.edge-tab {
  position: relative;
  width: 49px;
  min-height: 46px;
  padding: 0 6px 7px;
  border: 1px solid var(--hl-line);
  border-radius: 0 13px 13px 0;
  background: var(--hl-edge-surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 14px 30px rgba(0, 0, 0, 0.32), var(--hl-shadow-glow);
  -webkit-backdrop-filter: blur(var(--hl-blur));
  backdrop-filter: blur(var(--hl-blur));
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: width 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.edge-right .edge-tab {
  border-radius: 13px 0 0 13px;
}

.edge-tab b {
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hl-gold);
  box-shadow: 0 0 10px var(--hl-gold);
  transform: translateX(-50%);
}

.edge-tab.active {
  width: 51px;
  border-color: var(--hl-line-strong);
  background: var(--hl-edge-active-surface);
}

.service-stage {
  position: absolute;
  z-index: 5;
  top: clamp(196px, 28.8vh, 256px);
  left: 50%;
  width: min(56%, 242px);
  transform: translateX(-50%);
}

.service-card {
  position: relative;
  height: clamp(356px, 44.5vh, 380px);
  min-height: 0;
  padding: 27px 20px 17px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  border: 1px solid var(--hl-line-strong);
  border-radius: var(--hl-radius-lg);
  background: var(--hl-card-surface);
  box-shadow:
    inset 0 0 0 2px rgba(255, 238, 214, 0.14),
    inset 0 1px rgba(255, 255, 255, 0.68),
    var(--hl-shadow-float),
    var(--hl-shadow-glow);
  -webkit-backdrop-filter: blur(24px) saturate(1.06);
  backdrop-filter: blur(24px) saturate(1.06);
  text-align: center;
}

.service-card::-webkit-scrollbar {
  display: none;
}

.service-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--hl-card-sheen);
  content: "";
}

.service-card > * {
  position: relative;
}

.service-title,
.service-card > h1 {
  margin: 0;
  font-family: var(--hl-serif);
  font-size: clamp(24px, 6.2vw, 27px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.status-pill,
.service-card .tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 10px 0 17px;
  padding: 4px 11px;
  border: 1px solid rgba(255, 222, 174, 0.26);
  border-radius: var(--hl-radius-pill);
  background: rgba(232, 184, 117, 0.1);
  color: rgba(255, 248, 237, 0.92);
  font-size: var(--hl-type-caption);
}

.status-pill .lucide {
  width: 16px;
  height: 16px;
  color: var(--hl-gold-soft);
}

.service-focus {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 104px;
  margin: 0 0 10px;
  text-align: left;
}

.service-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 229, 190, 0.62);
  border-radius: 50%;
  background: rgba(255, 205, 135, 0.08);
  color: var(--hl-gold-soft);
}

.service-focus strong {
  display: block;
  font-family: var(--hl-serif);
  font-size: var(--hl-type-section);
  font-weight: 500;
}

.service-focus p {
  margin: 6px 0 0;
  color: var(--hl-muted);
  font-size: 12px;
  line-height: 1.55;
}

.service-copy {
  display: grid;
  min-height: 190px;
  place-items: center;
  align-content: center;
  padding: 0 4px 12px;
}

.service-copy em {
  display: none;
}

.service-copy strong {
  display: block;
  font-family: var(--hl-serif);
  font-size: var(--hl-type-page);
  font-weight: 500;
}

.service-copy p {
  min-height: 0;
  margin: 10px auto 0;
  color: var(--hl-muted);
  font-size: 13px;
  line-height: 1.7;
}

.primary-button,
.service-card .primary,
.sheet-primary {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 9px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--hl-radius-pill);
  background: var(--hl-primary-surface);
  color: var(--hl-on-light);
  box-shadow: inset 0 1px #fff, 0 12px 28px rgba(0, 0, 0, 0.32), 0 0 18px rgba(255, 185, 92, 0.12);
  font-size: 14px;
  font-weight: 600;
}

.primary-button:disabled,
.sheet-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.text-button,
.service-card .secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 2px auto -10px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--hl-muted);
  font-size: 12px;
}

.assistant-button {
  position: absolute;
  z-index: 9;
  right: 11.5%;
  bottom: calc(124px + env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  padding: 5px 15px 5px 6px;
  border: 1px solid rgba(244, 185, 105, 0.52);
  border-radius: var(--hl-radius-pill);
  background: var(--hl-assistant-surface);
  box-shadow: inset 0 1px rgba(255, 230, 193, 0.18), 0 16px 36px rgba(0, 0, 0, 0.4), var(--hl-shadow-glow);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  color: var(--hl-text);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.assistant-button-icon,
.ai-orb {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 224, 177, 0.54);
  border-radius: 50%;
  background: rgba(232, 184, 117, 0.16);
  color: var(--hl-gold-soft);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22), 0 0 20px rgba(232, 184, 117, 0.25);
}

.assistant-button:focus-visible {
  outline: 2px solid var(--hl-gold-soft);
  outline-offset: 3px;
}

.ai-orb.small {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.ai-orb.small .lucide {
  width: 17px;
  height: 17px;
}

.bottom-nav {
  position: absolute;
  z-index: 9;
  right: 11.25%;
  bottom: calc(46px + env(safe-area-inset-bottom));
  left: 11.25%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 64px;
  padding: 5px;
  border: 1px solid rgba(239, 181, 104, 0.44);
  border-radius: 32px;
  background: var(--hl-nav-surface);
  box-shadow: inset 0 1px rgba(255, 230, 195, 0.16), 0 20px 44px rgba(0, 0, 0, 0.46), var(--hl-shadow-glow);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
}

.bottom-nav button {
  display: grid;
  min-width: 0;
  min-height: 52px;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 3px 0;
  border: 0;
  border-radius: 26px;
  background: transparent;
  color: rgba(255, 248, 237, 0.78);
  font-size: 12px;
}

.bottom-nav button .lucide {
  width: 20px;
  height: 20px;
}

.bottom-nav button.active {
  background: var(--hl-nav-active-surface);
  color: var(--hl-text);
  box-shadow: inset 0 0 16px rgba(255, 188, 91, 0.06);
}

.bottom-nav button.active .lucide {
  color: var(--hl-nav-active-icon);
  filter: drop-shadow(0 0 8px rgba(232, 184, 117, 0.54));
}

.primary-page {
  position: absolute;
  z-index: 7;
  inset: 96px 0 106px;
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--hl-page-surface);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.primary-page[hidden] {
  display: none;
}

.page-heading {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: start;
  gap: 12px;
  padding: 16px 24px 14px;
  border-bottom: 1px solid rgba(245, 199, 132, 0.16);
}

.page-back {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--hl-line);
  border-radius: 50%;
  background: var(--hl-glass-soft);
}

.page-heading small,
.sheet-kicker {
  color: var(--hl-gold-soft);
  font-size: var(--hl-type-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.page-heading h1 {
  margin: 3px 0 2px;
  font-family: var(--hl-serif);
  font-size: var(--hl-type-page);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.page-heading p {
  margin: 0;
  color: var(--hl-muted);
  font-size: var(--hl-type-support);
  line-height: 1.5;
}

.page-heading small:empty,
.page-heading p:empty {
  display: none;
}

.page-content {
  flex: 1 1 auto;
  min-height: 0;
  padding: 18px 22px 44px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.page-content::-webkit-scrollbar {
  display: none;
}

.modal-backdrop {
  position: fixed;
  z-index: 30;
  inset: 0;
  background: rgba(7, 4, 2, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.bottom-sheet {
  position: fixed;
  z-index: 31;
  right: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, 430px);
  max-height: 88vh;
  max-height: 88svh;
  padding: 23px 22px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  border: 1px solid var(--hl-line);
  border-radius: var(--hl-radius-lg) var(--hl-radius-lg) 0 0;
  background: linear-gradient(150deg, rgba(64, 39, 22, 0.98), rgba(18, 10, 7, 0.99));
  box-shadow: 0 -28px 76px rgba(0, 0, 0, 0.62), var(--hl-shadow-glow);
  transform: translateX(-50%);
}

.sheet-handle {
  display: block;
  width: 42px;
  height: 4px;
  margin: -10px auto 20px;
  border-radius: var(--hl-radius-pill);
  background: rgba(255, 248, 237, 0.28);
}

.sheet-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--hl-line);
  border-radius: 50%;
  background: var(--hl-glass-soft);
}

.bottom-sheet h2 {
  max-width: calc(100% - 52px);
  margin: 8px 0 22px;
  font-family: var(--hl-serif);
  font-size: var(--hl-type-page);
  font-weight: 500;
}

.summary-list,
.info-content {
  display: grid;
  gap: 10px;
}

.summary-row,
.info-row {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 16px;
  background: rgba(255, 247, 235, 0.05);
}

.summary-row span,
.info-row span {
  color: var(--hl-muted);
  font-size: 13px;
}

.summary-row strong,
.info-row strong {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.sheet-tip {
  display: flex;
  gap: 10px;
  margin: 16px 2px;
  color: var(--hl-muted);
  font-size: 12px;
  line-height: 1.6;
}

.sheet-tip .lucide {
  flex: 0 0 20px;
  color: var(--hl-gold-soft);
}

.sheet-primary {
  border-radius: 17px;
}

.ai-conversation {
  display: grid;
  max-height: 250px;
  gap: 10px;
  overflow-y: auto;
}

.ai-message {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 18px;
  background: rgba(255, 247, 235, 0.05);
}

.ai-message.member-message {
  max-width: 88%;
  justify-self: end;
  background: rgba(232, 184, 117, 0.14);
}

.ai-message.staff-message {
  border-color: rgba(120, 184, 151, 0.42);
  background: rgba(89, 151, 119, 0.15);
}

.conversation-avatar {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(151, 213, 179, 0.38);
  border-radius: 50%;
  background: rgba(114, 181, 145, 0.18);
  color: #a8d9bf;
}

.conversation-avatar .lucide {
  width: 17px;
  height: 17px;
}

.ai-message-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.ai-message-copy small {
  color: var(--hl-gold-soft);
  font-size: var(--hl-type-caption);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ai-message.staff-message .ai-message-copy small {
  color: #a8d9bf;
}

.ai-message p {
  margin: 0;
  color: var(--hl-muted);
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.quick-prompts button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--hl-line);
  border-radius: var(--hl-radius-pill);
  background: rgba(232, 184, 117, 0.08);
  font-size: 13px;
}

.ai-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  gap: 9px;
}

.ai-compose input {
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--hl-line);
  border-radius: 16px;
  outline: 0;
  background: rgba(255, 247, 235, 0.08);
  font-size: 14px;
}

.ai-compose input::placeholder {
  color: rgba(216, 197, 173, 0.62);
}

.ai-compose button {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--hl-gold-soft);
  color: var(--hl-on-light);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.assistant-disclaimer {
  margin: 11px 3px 0;
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  line-height: 1.55;
}

.toast {
  position: fixed;
  z-index: 50;
  bottom: calc(120px + env(safe-area-inset-bottom));
  left: 50%;
  max-width: calc(100% - 40px);
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--hl-line);
  border-radius: var(--hl-radius-pill);
  background: rgba(28, 17, 10, 0.96);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.44);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
  font-size: 13px;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Reusable service and journey content */
.page-loading,
.page-empty {
  display: grid;
  min-height: 230px;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 22px;
  background: rgba(34, 21, 13, 0.6);
  color: var(--hl-muted);
  text-align: center;
}

.page-empty strong {
  color: var(--hl-text);
  font-size: 16px;
}

.page-empty span,
.page-loading {
  font-size: 13px;
}

.page-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 16px 8px;
  border: 1px solid var(--hl-line);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(102, 62, 31, 0.66), rgba(27, 16, 9, 0.84));
  box-shadow: inset 0 1px rgba(255, 241, 215, 0.18), 0 16px 34px rgba(0, 0, 0, 0.28);
}

.page-summary span {
  padding: 2px 6px;
  border-right: 1px solid rgba(245, 199, 132, 0.2);
  text-align: center;
}

.page-summary span:last-child {
  border-right: 0;
}

.page-summary b,
.page-summary small {
  display: block;
}

.page-summary b {
  font-size: 22px;
  font-weight: 500;
}

.page-summary small {
  margin-top: 3px;
  color: var(--hl-muted);
  font-size: 12px;
}

.filter-row {
  display: flex;
  gap: 8px;
  margin: 16px 0 12px;
  overflow-x: auto;
}

.filter-row button {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: var(--hl-radius-pill);
  background: rgba(34, 21, 13, 0.66);
  color: var(--hl-muted);
  font-size: 13px;
  white-space: nowrap;
}

.filter-row button.active {
  border-color: var(--hl-gold);
  background: rgba(232, 184, 117, 0.18);
  color: var(--hl-text);
}

.timeline-list,
.program-list,
.lesson-list,
.settings-list {
  display: grid;
  gap: 9px;
}

.timeline-item,
.program-card,
.lesson-list button,
.settings-list button {
  display: grid;
  width: 100%;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 17px;
  background: rgba(42, 26, 14, 0.72);
  text-align: left;
}

.lesson-list button {
  grid-template-columns: 24px minmax(0, 1fr) auto;
  min-height: 66px;
}

.lesson-list button > .lucide {
  width: 20px;
  height: 20px;
  color: var(--hl-gold-soft);
}

.lesson-list button span > * {
  display: block;
}

.lesson-list button small,
.lesson-list button em {
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  font-style: normal;
}

.lesson-list button strong {
  margin-top: 3px;
  font-size: 13px;
}

.timeline-item {
  grid-template-columns: auto 40px 1fr auto;
}

.timeline-icon,
.program-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--hl-line);
  border-radius: 50%;
  background: rgba(232, 184, 117, 0.1);
  color: var(--hl-gold-soft);
}

.timeline-copy strong,
.timeline-copy small,
.program-card strong,
.program-card small {
  display: block;
}

.timeline-copy strong,
.program-card strong {
  font-size: 14px;
}

.timeline-copy small,
.program-card small,
.timeline-item time,
.timeline-item em {
  color: var(--hl-muted);
  font-size: 12px;
  font-style: normal;
}

.ignite-hero,
.entitlement-card {
  padding: 17px;
  border: 1px solid var(--hl-line-strong);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(113, 69, 35, 0.72), rgba(27, 16, 9, 0.88));
  box-shadow: inset 0 1px rgba(255, 241, 215, 0.18), 0 18px 38px rgba(0, 0, 0, 0.3);
}

.people-strip,
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.person-card,
.account-grid button {
  min-height: 88px;
  padding: 13px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 18px;
  background: rgba(42, 26, 14, 0.74);
  text-align: left;
}

.person-card strong,
.person-card small,
.person-card em,
.account-grid strong,
.account-grid small {
  display: block;
}

.person-card strong,
.account-grid strong {
  font-size: 14px;
}

.person-card small,
.person-card em,
.account-grid small {
  margin-top: 4px;
  color: var(--hl-muted);
  font-size: 12px;
  font-style: normal;
}

.body-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 18px;
  background: rgba(255, 247, 235, 0.05);
}

.body-metrics span {
  padding: 16px 6px;
  border-right: 1px solid rgba(245, 199, 132, 0.16);
  text-align: center;
}

.body-metrics span:last-child {
  border-right: 0;
}

.body-metrics b,
.body-metrics small {
  display: block;
}

.body-metrics b {
  color: var(--hl-gold-soft);
  font-size: 22px;
}

.body-metrics small {
  margin-top: 3px;
  color: var(--hl-muted);
  font-size: 12px;
}

.album-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 8px;
  height: 150px;
}

.album-strip button {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hl-line);
  border-radius: 18px;
  background-color: var(--hl-bg-warm);
  background-image: linear-gradient(0deg, rgba(18, 10, 7, 0.76), transparent 64%), var(--album-image);
  background-position: var(--album-position, center);
  background-size: cover;
}

.album-strip span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.photo-booking-form,
.home-scale-guide {
  display: grid;
  gap: 14px;
}

.photo-booking-form label {
  display: grid;
  gap: 7px;
  color: var(--hl-muted);
  font-size: 13px;
}

.photo-booking-form input,
.photo-booking-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 14px;
  background: rgba(255, 247, 235, 0.07);
  color-scheme: dark;
}

/* Unified dynamic service cards */
.secondary-state {
  display: grid;
  min-height: 246px;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 8px 0;
  text-align: center;
}

.secondary-state.compact-state {
  min-height: 184px;
}

.secondary-state > .lucide,
.native-guide > .lucide {
  width: 36px;
  height: 36px;
  color: var(--hl-gold-soft);
}

.secondary-state h2,
.secondary-state p {
  margin: 0;
}

.secondary-state h2 {
  font-family: var(--hl-serif);
  font-size: var(--hl-type-title);
  font-weight: 500;
}

.secondary-state p {
  max-width: 190px;
  color: var(--hl-muted);
  font-size: 12px;
  line-height: 1.55;
}

.secondary-state button,
.page-empty button {
  min-height: 44px;
  margin-top: 8px;
  padding: 0 18px;
  border: 1px solid var(--hl-line);
  border-radius: var(--hl-radius-pill);
  background: rgba(232, 184, 117, 0.12);
}

.loading-orb {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(240, 201, 143, 0.18);
  border-top-color: var(--hl-gold-soft);
  border-radius: 50%;
  animation: hl-spin 900ms linear infinite;
}

.coach-row {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 0 0 10px;
}

.coach-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 229, 190, 0.68);
  border-radius: 50%;
  background: rgba(255, 205, 135, 0.08);
  font-family: var(--hl-serif);
  font-size: 20px;
}

.coach-copy {
  text-align: left;
}

.coach-copy strong,
.coach-copy span,
.request-summary strong,
.request-summary span {
  display: block;
}

.coach-copy strong {
  font-size: var(--hl-type-section);
  font-weight: 600;
}

.coach-copy span,
.request-summary span {
  margin-top: 4px;
  color: var(--hl-muted);
  font-size: 12px;
}

.request-summary {
  min-height: 76px;
  padding: 12px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 17px;
  background: rgba(255, 247, 235, 0.05);
  text-align: left;
}

.request-summary p {
  margin: 10px 0 0;
  color: var(--hl-muted);
  font-size: 12px;
  line-height: 1.5;
}

.slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding-top: 9px;
  border-top: 1px solid rgba(245, 199, 132, 0.24);
}

.slot {
  min-width: 0;
  min-height: 52px;
  padding: 5px 2px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
}

.slot span,
.slot strong {
  display: block;
}

.slot span {
  color: var(--hl-muted);
  font-size: 12px;
}

.slot strong {
  margin-top: 4px;
  font-size: var(--hl-type-section);
  font-weight: 500;
}

.slot.selected {
  border-color: var(--hl-line-strong);
  background: rgba(232, 184, 117, 0.16);
  box-shadow: inset 0 0 18px rgba(232, 184, 117, 0.12), 0 8px 18px rgba(0, 0, 0, 0.25);
}

.service-detail,
.group-card-view {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  text-align: left;
}

.card-eyebrow {
  color: var(--hl-gold-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-detail h2,
.group-card-view h2 {
  margin: 8px 0 11px;
  font-family: var(--hl-serif);
  font-size: var(--hl-type-title);
  font-weight: 500;
}

.service-detail > p,
.group-description {
  margin: 7px 0 12px;
  color: var(--hl-muted);
  font-size: 12px;
  line-height: 1.55;
}

.service-detail .primary-button,
.group-card-view .primary-button {
  margin-top: auto;
}

.group-session-list {
  display: grid;
  gap: 8px;
  margin: 5px 0 10px;
}

.group-session {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 15px;
  background: rgba(255, 247, 235, 0.05);
  text-align: left;
}

.group-session span > * {
  display: block;
}

.group-session small,
.group-session em {
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  font-style: normal;
}

.group-session strong {
  margin: 3px 0;
  font-size: 13px;
}

.group-session > b {
  color: var(--hl-gold-soft);
  font-size: 12px;
  white-space: nowrap;
}

.full-schedule-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 2px auto -10px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--hl-muted);
  font-size: 12px;
}

.nutrition-status {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(232, 137, 105, 0.24);
  border-radius: 16px;
  background: rgba(232, 137, 105, 0.08);
}

.nutrition-status.ready {
  border-color: rgba(131, 205, 191, 0.28);
  background: rgba(131, 205, 191, 0.08);
}

.nutrition-status .lucide {
  color: var(--hl-gold-soft);
}

.nutrition-status span > * {
  display: block;
}

.nutrition-status strong {
  font-size: 13px;
}

.nutrition-status small {
  margin-top: 3px;
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
}

.inline-empty {
  min-height: 120px;
  margin: 6px 0 10px;
  padding: 12px;
}

.section-label {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 19px 2px 10px;
}

.section-label span {
  font-size: var(--hl-type-section);
  font-weight: 600;
}

.section-label small {
  color: var(--hl-muted);
  font-size: 12px;
}

.ignite-hero {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 13px;
}

.ignite-orb {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid var(--hl-line-strong);
  border-radius: 50%;
  background: rgba(232, 184, 117, 0.15);
  color: var(--hl-gold-soft);
  box-shadow: var(--hl-shadow-glow);
}

.ignite-hero div > * {
  display: block;
}

.ignite-hero div small,
.ignite-hero div p,
.ignite-hero > em {
  color: var(--hl-muted);
  font-size: 12px;
  font-style: normal;
}

.ignite-hero div strong {
  font-size: var(--hl-type-page);
  font-weight: 400;
}

.program-card {
  grid-template-columns: 42px 1fr auto 16px;
}

.program-card > em {
  padding: 5px 8px;
  border-radius: var(--hl-radius-pill);
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  font-style: normal;
  white-space: nowrap;
}

.program-card > em.active {
  background: rgba(131, 205, 191, 0.12);
  color: #b6e7de;
}

.program-card > em.review,
.program-card > em.planned {
  background: rgba(255, 247, 235, 0.06);
}

.profile-hero {
  display: grid;
  grid-template-columns: 52px 1fr 44px;
  align-items: center;
  gap: 12px;
  padding: 3px 2px 15px;
}

.profile-hero > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--hl-line);
  border-radius: 50%;
  background: rgba(232, 184, 117, 0.12);
  font-family: var(--hl-serif);
  font-size: var(--hl-type-title);
}

.profile-hero div > * {
  display: block;
}

.profile-hero div strong {
  font-size: var(--hl-type-section);
}

.profile-hero div small {
  margin-top: 4px;
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
}

.profile-hero button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--hl-line);
  border-radius: 50%;
  background: var(--hl-glass-soft);
}

.profile-login-card {
  display: grid;
  min-height: 210px;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(245, 199, 132, 0.22);
  border-radius: 22px;
  background: rgba(34, 21, 13, 0.58);
  text-align: center;
}

.profile-login-card > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: rgba(232, 184, 117, 0.12);
  color: var(--hl-gold-soft);
}

.profile-login-card strong {
  font-size: var(--hl-type-section);
  font-weight: 600;
}

.profile-login-card button {
  min-width: 150px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(255, 249, 239, 0.78);
  border-radius: var(--hl-radius-pill);
  background: var(--hl-primary-surface);
  color: var(--hl-on-light);
  font-size: var(--hl-type-body);
  font-weight: 600;
}

.entitlement-card {
  width: 100%;
  color: var(--hl-text);
  text-align: left;
}

.entitlement-card > small {
  color: var(--hl-gold-soft);
  font-size: 12px;
}

.entitlement-card h2 {
  margin: 7px 0 13px;
  font-family: var(--hl-serif);
  font-size: 20px;
}

.entitlement-card div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid rgba(245, 199, 132, 0.2);
}

.entitlement-card div span {
  padding: 10px 4px;
  border-right: 1px solid rgba(245, 199, 132, 0.2);
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  text-align: center;
}

.entitlement-card div span:last-child {
  border-right: 0;
}

.entitlement-card div b {
  margin-right: 3px;
  color: var(--hl-text);
  font-size: var(--hl-type-title);
}

.entitlement-card p {
  margin: 10px 0 0;
  color: var(--hl-muted);
  font-size: 12px;
}

.course-package-section {
  margin-top: 5px;
}

.course-package-heading {
  margin-top: 18px;
}

.course-package-heading small {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: var(--hl-radius-pill);
  background: rgba(232, 184, 117, 0.08);
}

.course-package-list {
  display: grid;
  gap: 10px;
}

.course-package-card {
  overflow: hidden;
  border: 1px solid rgba(245, 199, 132, 0.28);
  border-radius: 21px;
  background:
    radial-gradient(circle at 93% 6%, rgba(255, 214, 153, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(71, 43, 25, 0.9), rgba(27, 16, 10, 0.91));
  box-shadow: inset 0 1px rgba(255, 244, 225, 0.11), 0 14px 30px rgba(0, 0, 0, 0.24);
}

.course-package-copy {
  padding: 15px 15px 13px;
}

.course-package-copy > * {
  display: block;
}

.course-package-copy > small {
  color: var(--hl-gold-soft);
  font-size: var(--hl-type-caption);
  line-height: 1.5;
}

.course-package-copy > strong {
  margin-top: 5px;
  font-family: var(--hl-serif);
  font-size: var(--hl-type-title);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.course-package-copy > p {
  margin: 7px 0 0;
  color: var(--hl-muted);
  font-size: 12px;
  line-height: 1.65;
}

.course-package-footer {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px 10px 15px;
  border-top: 1px solid rgba(245, 199, 132, 0.16);
  background: rgba(255, 247, 235, 0.035);
}

.course-package-footer span > * {
  display: block;
}

.course-package-footer b {
  color: var(--hl-gold-soft);
  font-size: var(--hl-type-title);
  font-weight: 600;
}

.course-package-footer small {
  margin-top: 2px;
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
}

.course-package-footer button,
.course-package-empty button {
  min-width: 96px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 249, 239, 0.9);
  border-radius: var(--hl-radius-pill);
  background: linear-gradient(110deg, #fffaf0, #ffe0ae 76%, #edb56c);
  color: var(--hl-on-light);
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 0 1px #fff, 0 8px 20px rgba(0, 0, 0, 0.24);
}

.course-package-footer button:disabled {
  border-color: rgba(245, 199, 132, 0.18);
  background: rgba(255, 247, 235, 0.06);
  color: var(--hl-muted);
  box-shadow: none;
  cursor: not-allowed;
}

.course-package-empty {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 13px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 18px;
  background: rgba(42, 26, 14, 0.7);
}

.course-package-empty > .lucide {
  color: var(--hl-gold-soft);
}

.course-package-empty span > * {
  display: block;
}

.course-package-empty strong {
  font-size: 13px;
}

.course-package-empty small {
  margin-top: 4px;
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  line-height: 1.5;
}

.course-package-empty button {
  min-width: 64px;
}

.course-purchase-note,
.course-purchase-confirm > p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 3px 0;
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  line-height: 1.65;
}

.course-purchase-note > .lucide,
.course-purchase-confirm > p > .lucide {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
  color: var(--hl-gold-soft);
}

.course-purchase-confirm {
  display: grid;
  gap: 10px;
}

.course-purchase-confirm > p {
  margin: 5px 2px 0;
}

.course-purchase-confirm .sheet-primary {
  margin-top: 4px;
}

.store-service-entry {
  display: grid;
  width: 100%;
  min-height: 92px;
  grid-template-columns: 46px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--hl-line-strong);
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(104, 62, 30, 0.76), rgba(31, 18, 10, 0.9));
  box-shadow: inset 0 1px rgba(255, 244, 225, 0.14), 0 16px 34px rgba(0, 0, 0, 0.28);
  color: var(--hl-text);
  text-align: left;
}

.store-service-entry > span:first-child {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--hl-line);
  border-radius: 50%;
  background: rgba(232, 184, 117, 0.13);
  color: var(--hl-gold-soft);
}

.store-service-entry > span:nth-child(2) > * {
  display: block;
}

.store-service-entry small {
  color: var(--hl-gold-soft);
  font-size: var(--hl-type-caption);
  letter-spacing: 0.12em;
}

.store-service-entry strong {
  margin-top: 3px;
  font-family: var(--hl-serif);
  font-size: var(--hl-type-title);
  font-weight: 500;
}

.store-service-entry em {
  margin-top: 4px;
  color: var(--hl-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.training-service-entry {
  margin: 0 0 12px;
  border-color: rgba(245, 199, 132, 0.42);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 215, 154, 0.17), transparent 36%),
    linear-gradient(135deg, rgba(113, 68, 33, 0.82), rgba(31, 18, 10, 0.92));
}

.training-service-entry:focus-visible {
  outline: 2px solid var(--hl-gold-soft);
  outline-offset: 3px;
}

.source-booking-entry {
  margin: 12px 0 18px;
}

.store-directory {
  display: grid;
  gap: 11px;
}

.store-directory-card {
  display: grid;
  width: 100%;
  min-height: 116px;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(245, 199, 132, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 211, 145, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(65, 39, 22, 0.88), rgba(26, 15, 9, 0.92));
  box-shadow: inset 0 1px rgba(255, 244, 225, 0.12), 0 14px 30px rgba(0, 0, 0, 0.25);
  color: var(--hl-text);
  text-align: left;
}

.store-directory-light {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--hl-line-strong);
  border-radius: 50%;
  background: rgba(232, 184, 117, 0.14);
  color: var(--hl-gold-soft);
  box-shadow: var(--hl-shadow-glow);
}

.store-directory-copy > * {
  display: block;
}

.store-directory-copy small,
.store-directory-copy em,
.store-directory-copy b {
  color: var(--hl-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

.store-directory-copy strong {
  margin: 4px 0;
  font-family: var(--hl-serif);
  font-size: var(--hl-type-title);
  font-weight: 500;
}

.store-directory-copy b {
  margin-top: 7px;
  color: var(--hl-gold-soft);
}

.page-back-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  margin: -8px 0 10px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--hl-muted);
  font-size: 13px;
}

.store-detail-hero {
  display: grid;
  min-height: 118px;
  grid-template-columns: 1fr 60px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--hl-line-strong);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(112, 67, 33, 0.78), rgba(27, 16, 9, 0.91));
  box-shadow: inset 0 1px rgba(255, 244, 225, 0.15), 0 18px 38px rgba(0, 0, 0, 0.29);
}

.store-detail-hero span > * {
  display: block;
}

.store-detail-hero small,
.store-detail-hero em {
  color: var(--hl-muted);
  font-size: 12px;
  font-style: normal;
}

.store-detail-hero strong {
  margin: 6px 0;
  font-family: var(--hl-serif);
  font-size: 22px;
  font-weight: 500;
}

.store-detail-hero > .lucide {
  width: 54px;
  height: 54px;
  color: var(--hl-gold-soft);
  filter: drop-shadow(0 0 15px rgba(232, 184, 117, 0.26));
}

.store-loading {
  display: grid;
  min-height: 130px;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 20px;
  background: rgba(42, 26, 14, 0.68);
  color: var(--hl-muted);
  font-size: 12px;
}

.store-loading .loading-orb {
  width: 32px;
  height: 32px;
}

.source-store-overview {
  padding: 16px;
  border: 1px solid var(--hl-line-strong);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 5%, rgba(255, 215, 154, 0.14), transparent 36%),
    linear-gradient(145deg, rgba(72, 43, 24, 0.84), rgba(25, 14, 9, 0.92));
  box-shadow: inset 0 1px rgba(255, 244, 225, 0.13), 0 14px 30px rgba(0, 0, 0, 0.24);
}

.source-store-switch {
  display: grid;
  width: 100%;
  min-height: 64px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hl-text);
  text-align: left;
}

.source-store-switch > span:first-child > * {
  display: block;
}

.source-store-switch small {
  color: var(--hl-gold-soft);
  font-size: var(--hl-type-caption);
  font-weight: 600;
}

.source-store-switch strong {
  margin: 3px 0 4px;
  font-family: var(--hl-serif);
  font-size: var(--hl-type-title);
  font-weight: 500;
}

.source-store-switch em {
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  font-style: normal;
  line-height: 1.45;
}

.source-store-switch > span:last-child {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 4px;
  color: var(--hl-gold-soft);
  font-size: var(--hl-type-caption);
  white-space: nowrap;
}

.source-store-switch .lucide {
  width: 15px;
  height: 15px;
}

.source-store-overview > p {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(245, 199, 132, 0.14);
  color: var(--hl-muted);
  font-size: var(--hl-type-support);
  line-height: 1.6;
}

.source-schedule {
  margin-top: 18px;
}

.source-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.source-section-heading > div > * {
  display: block;
}

.source-section-heading strong {
  font-size: var(--hl-type-section);
  font-weight: 600;
}

.source-section-heading small {
  margin-top: 3px;
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
}

.source-section-heading button,
.source-picker-location button {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--hl-line);
  border-radius: 999px;
  background: rgba(232, 184, 117, 0.08);
  color: var(--hl-gold-soft);
  font-size: var(--hl-type-caption);
}

.source-date-tabs {
  display: flex;
  gap: 8px;
  margin: 0 -2px 12px;
  padding: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.source-date-tabs::-webkit-scrollbar {
  display: none;
}

.source-date-tabs button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(245, 199, 132, 0.18);
  border-radius: 999px;
  background: rgba(255, 247, 235, 0.035);
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
}

.source-date-tabs button.active {
  border-color: rgba(245, 199, 132, 0.54);
  background: rgba(232, 184, 117, 0.16);
  color: var(--hl-text);
}

.source-session-list {
  display: grid;
  gap: 9px;
}

.source-session-list .page-empty {
  min-height: 150px;
}

.source-session-card {
  display: grid;
  width: 100%;
  min-height: 92px;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 18px;
  background: rgba(255, 247, 235, 0.045);
  color: var(--hl-text);
  text-align: left;
}

.source-session-time {
  display: grid;
  align-content: center;
  gap: 2px;
  align-self: stretch;
  border-right: 1px solid rgba(245, 199, 132, 0.15);
}

.source-session-time strong {
  font-size: var(--hl-type-section);
  font-weight: 600;
}

.source-session-time small {
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
}

.source-session-copy > * {
  display: block;
}

.source-session-copy strong {
  font-size: var(--hl-type-body);
  font-weight: 600;
}

.source-session-copy small,
.source-session-copy em {
  margin-top: 4px;
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  font-style: normal;
  line-height: 1.4;
}

.source-session-copy em {
  color: #a8d9bf;
}

.source-session-copy em.full {
  color: #e6aaa2;
}

.source-session-action {
  display: inline-flex;
  max-width: 74px;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  color: var(--hl-gold-soft);
  font-size: var(--hl-type-caption);
  line-height: 1.35;
  text-align: right;
}

.source-session-action .lucide {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
}

.source-schedule-state {
  display: grid;
  min-height: 150px;
  place-items: center;
  align-content: center;
  gap: 9px;
  border: 1px solid rgba(245, 199, 132, 0.18);
  border-radius: 18px;
  background: rgba(255, 247, 235, 0.035);
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  text-align: center;
}

.source-schedule-state button {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--hl-line);
  border-radius: 999px;
  background: rgba(232, 184, 117, 0.1);
  color: var(--hl-text);
}

.source-offering-disclosure {
  margin-top: 12px;
  border: 1px solid rgba(245, 199, 132, 0.18);
  border-radius: 18px;
  background: rgba(255, 247, 235, 0.035);
}

.source-offering-disclosure > summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  cursor: pointer;
  list-style: none;
}

.source-offering-disclosure > summary::-webkit-details-marker {
  display: none;
}

.source-offering-disclosure > summary > span {
  display: grid;
  flex: 1 1 auto;
  gap: 3px;
}

.source-offering-disclosure > summary strong {
  font-size: var(--hl-type-body);
  font-weight: 600;
}

.source-offering-disclosure > summary small {
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
}

.source-offering-disclosure > summary b {
  color: var(--hl-gold-soft);
  font-size: var(--hl-type-support);
  font-weight: 600;
}

.source-offering-disclosure > summary > .lucide {
  width: 17px;
  height: 17px;
  color: var(--hl-muted);
  transition: transform 160ms ease;
}

.source-offering-disclosure[open] > summary > .lucide {
  transform: rotate(180deg);
}

.source-offering-content {
  padding: 0 12px 13px;
}

.source-picker-location {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  padding: 11px 0 13px;
  border-bottom: 1px solid rgba(245, 199, 132, 0.14);
}

.source-picker-location span > * {
  display: block;
}

.source-picker-location strong {
  font-size: var(--hl-type-support);
  font-weight: 600;
}

.source-picker-location small {
  margin-top: 4px;
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
}

.source-picker-list {
  display: grid;
  gap: 8px;
}

.source-picker-store {
  display: grid;
  width: 100%;
  min-height: 82px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 199, 132, 0.18);
  border-radius: 17px;
  background: rgba(255, 247, 235, 0.04);
  color: var(--hl-text);
  text-align: left;
}

.source-picker-store.active {
  border-color: rgba(245, 199, 132, 0.5);
  background: rgba(232, 184, 117, 0.12);
}

.source-picker-store span > * {
  display: block;
}

.source-picker-store small,
.source-picker-store em {
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  font-style: normal;
}

.source-picker-store strong {
  margin: 3px 0 4px;
  font-size: var(--hl-type-body);
  font-weight: 600;
}

.source-picker-store b {
  color: var(--hl-gold-soft);
  font-size: var(--hl-type-caption);
  font-weight: 600;
}

@media (max-width: 370px) {
  .source-session-card {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .source-session-action {
    display: none;
  }
}

.monthly-product-list {
  display: grid;
  gap: 11px;
}

.monthly-product-card {
  padding: 16px;
  border: 1px solid rgba(245, 199, 132, 0.34);
  border-radius: 23px;
  background:
    radial-gradient(circle at 88% 7%, rgba(255, 216, 158, 0.17), transparent 35%),
    linear-gradient(145deg, rgba(77, 46, 25, 0.92), rgba(25, 14, 8, 0.94));
  box-shadow: inset 0 1px rgba(255, 245, 229, 0.14), 0 16px 34px rgba(0, 0, 0, 0.27);
}

.monthly-product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.monthly-product-top span > *,
.monthly-product-top em > * {
  display: block;
}

.monthly-product-top span small {
  color: var(--hl-gold-soft);
  font-size: var(--hl-type-caption);
  letter-spacing: 0.1em;
}

.monthly-product-top span strong {
  margin-top: 5px;
  font-family: var(--hl-serif);
  font-size: var(--hl-type-title);
  font-weight: 500;
}

.monthly-product-top em {
  color: var(--hl-gold-soft);
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.monthly-product-top em small {
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  font-weight: 400;
}

.monthly-product-card > p {
  margin: 11px 0;
  color: var(--hl-muted);
  font-size: 12px;
  line-height: 1.65;
}

.monthly-product-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid rgba(245, 199, 132, 0.18);
}

.monthly-product-facts span {
  padding: 10px 5px;
  border-right: 1px solid rgba(245, 199, 132, 0.16);
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  text-align: center;
}

.monthly-product-facts span:last-child {
  border-right: 0;
}

.monthly-product-facts b {
  margin-right: 2px;
  color: var(--hl-text);
  font-size: var(--hl-type-section);
}

.monthly-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 8px;
  margin: 13px 1px 10px;
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  line-height: 1.55;
}

.monthly-consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--hl-gold);
}

.monthly-sign-button {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 249, 239, 0.9);
  border-radius: var(--hl-radius-pill);
  background: linear-gradient(110deg, #fffaf0, #ffe0ae 76%, #edb56c);
  color: var(--hl-on-light);
  font-size: 14px;
  font-weight: 600;
}

.monthly-sign-button:disabled {
  border-color: rgba(245, 199, 132, 0.2);
  background: rgba(255, 247, 235, 0.06);
  color: var(--hl-muted);
  cursor: not-allowed;
}

.monthly-quote {
  display: grid;
  gap: 10px;
  margin-top: 13px;
  padding: 13px;
  border: 1px solid rgba(245, 199, 132, 0.23);
  border-radius: 18px;
  background: rgba(12, 7, 4, 0.38);
}

.monthly-quote-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: end;
  gap: 12px;
}

.monthly-quote-heading span > *,
.monthly-quote-heading em {
  display: block;
}

.monthly-quote-heading small,
.monthly-money-rows small,
.monthly-effect-row small,
.monthly-account-facts small {
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  font-weight: 400;
}

.monthly-quote-heading strong {
  margin-top: 3px;
  color: var(--hl-gold-soft);
  font-size: var(--hl-type-page);
  line-height: 1.1;
}

.monthly-quote-heading em {
  color: #f5d59e;
  font-size: var(--hl-type-caption);
  font-style: normal;
  line-height: 1.55;
  text-align: right;
}

.monthly-money-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.monthly-money-rows span,
.monthly-effect-row span,
.monthly-account-facts span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(255, 247, 235, 0.055);
}

.monthly-money-rows b,
.monthly-effect-row b,
.monthly-account-facts b {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.monthly-effect-row {
  display: grid;
  grid-template-columns: minmax(82px, 0.48fr) minmax(0, 1.52fr);
  gap: 8px;
}

.monthly-quote > p,
.monthly-account-card > p {
  margin: 0;
  color: var(--hl-muted);
  font-size: var(--hl-type-support);
  line-height: 1.65;
}

.monthly-quote-unavailable,
.monthly-durable-notice {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  padding: 12px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 15px;
  background: rgba(255, 247, 235, 0.055);
}

.monthly-quote-unavailable .lucide,
.monthly-durable-notice .lucide {
  color: var(--hl-gold-soft);
}

.monthly-quote-unavailable span > *,
.monthly-durable-notice span > * {
  display: block;
}

.monthly-quote-unavailable strong,
.monthly-durable-notice strong {
  font-size: 12px;
}

.monthly-quote-unavailable small,
.monthly-durable-notice small {
  margin-top: 3px;
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  line-height: 1.5;
}

.monthly-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.monthly-legal-links a {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid rgba(245, 199, 132, 0.22);
  border-radius: 999px;
  color: var(--hl-gold-soft);
  font-size: var(--hl-type-caption);
  text-decoration: none;
}

.monthly-account-section {
  display: grid;
  gap: 10px;
  margin: 8px 0 14px;
}

.monthly-account-section .section-label {
  margin: 0 2px 2px;
}

.profile-entitlement-section,
.profile-trail-section {
  display: grid;
  margin: 0 0 10px;
}

.profile-trail-section {
  scroll-margin-top: 16px;
}

.profile-summary-row {
  display: grid;
  width: 100%;
  min-height: 64px;
  grid-template-columns: 38px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 17px;
  background: rgba(42, 26, 14, 0.64);
  text-align: left;
}

.profile-summary-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(232, 184, 117, 0.11);
  color: var(--hl-gold-soft);
}

.profile-summary-icon .lucide,
.profile-summary-row > .lucide {
  width: 18px;
  height: 18px;
}

.profile-summary-row > span:nth-child(2) > * {
  display: block;
}

.profile-summary-row strong {
  font-size: var(--hl-type-body);
  font-weight: 600;
}

.profile-summary-row small {
  max-width: 100%;
  margin-top: 3px;
  overflow: hidden;
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-summary-row em {
  color: var(--hl-gold-soft);
  font-size: var(--hl-type-caption);
  font-style: normal;
  white-space: nowrap;
}

.profile-settings-heading {
  margin: 16px 2px 8px;
}

.profile-settings {
  gap: 7px;
}

.profile-settings button {
  min-height: 52px;
  grid-template-columns: 20px minmax(0, 1fr) 18px;
  padding: 9px 13px;
  background: rgba(42, 26, 14, 0.5);
}

.profile-settings button > .lucide:first-child {
  color: var(--hl-gold-soft);
}

.profile-settings strong {
  font-size: var(--hl-type-body);
  font-weight: 500;
}

.monthly-account-list {
  display: grid;
  gap: 11px;
}

.monthly-account-card {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid rgba(245, 199, 132, 0.3);
  border-radius: 21px;
  background: linear-gradient(145deg, rgba(72, 43, 23, 0.84), rgba(24, 14, 8, 0.9));
}

.monthly-account-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.monthly-account-head span > * {
  display: block;
}

.monthly-account-head small {
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
}

.monthly-account-head strong {
  margin-top: 4px;
  font-family: var(--hl-serif);
  font-size: var(--hl-type-section);
  font-weight: 500;
}

.monthly-account-head em {
  flex: 0 0 auto;
  max-width: 46%;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(232, 184, 117, 0.13);
  color: var(--hl-gold-soft);
  font-size: var(--hl-type-caption);
  font-style: normal;
  line-height: 1.35;
  text-align: center;
}

.monthly-account-head em.active {
  background: rgba(106, 190, 144, 0.14);
  color: #bce4cc;
}

.monthly-account-head em.payment {
  background: rgba(245, 199, 132, 0.17);
  color: #ffe1ae;
}

.monthly-account-head em.warning {
  background: rgba(237, 181, 108, 0.18);
  color: #ffe0ad;
}

.monthly-account-head em.review {
  background: rgba(132, 159, 209, 0.18);
  color: #d8e3ff;
}

.monthly-account-head em.stopped {
  background: rgba(255, 247, 235, 0.08);
  color: var(--hl-muted);
}

.monthly-account-card > .monthly-plan-summary {
  color: #ead8bc;
  line-height: 1.5;
}

.monthly-account-alert {
  display: grid;
  gap: 4px;
  padding: 10px 11px;
  border: 1px solid rgba(245, 199, 132, 0.23);
  border-radius: 13px;
  background: rgba(255, 247, 235, 0.055);
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  line-height: 1.55;
}

.monthly-account-alert strong {
  color: var(--hl-text);
  font-size: var(--hl-type-support);
}

.monthly-account-alert.review {
  border-color: rgba(132, 159, 209, 0.3);
  background: rgba(132, 159, 209, 0.09);
}

.monthly-account-alert.warning {
  border-color: rgba(237, 181, 108, 0.34);
  background: rgba(237, 181, 108, 0.08);
}

.monthly-account-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.monthly-account-actions {
  display: grid;
  gap: 7px;
}

.monthly-account-actions > button,
.monthly-account-actions > a,
.monthly-account-empty > button {
  display: grid;
  width: 100%;
  min-height: 42px;
  place-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(255, 249, 239, 0.78);
  border-radius: 999px;
  background: linear-gradient(110deg, #fffaf0, #ffe0ae 76%, #edb56c);
  color: var(--hl-on-light);
  font-size: var(--hl-type-body);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.monthly-account-actions > button.secondary {
  border-color: rgba(245, 199, 132, 0.26);
  background: rgba(255, 247, 235, 0.065);
  color: var(--hl-gold-soft);
}

.monthly-account-actions > button.danger {
  border-color: rgba(215, 124, 113, 0.33);
  color: #f3bbb4;
}

.monthly-account-empty {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 18px;
  background: rgba(255, 247, 235, 0.05);
}

.monthly-account-empty > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(232, 184, 117, 0.12);
  color: var(--hl-gold-soft);
}

.monthly-account-empty div > * {
  display: block;
}

.monthly-account-empty strong {
  font-size: var(--hl-type-body);
}

.monthly-account-empty small {
  margin-top: 3px;
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  line-height: 1.5;
}

.monthly-account-empty > button {
  grid-column: 1 / -1;
}

.monthly-durable-notice {
  margin-top: 0;
}

.monthly-durable-notice.success {
  border-color: rgba(106, 190, 144, 0.32);
  background: rgba(106, 190, 144, 0.09);
}

.monthly-durable-notice.success .lucide {
  color: #bce4cc;
}

.monthly-durable-notice.warning {
  border-color: rgba(237, 181, 108, 0.36);
  background: rgba(237, 181, 108, 0.09);
}

.monthly-payment-confirm {
  display: grid;
  gap: 12px;
}

.monthly-payment-confirm .monthly-quote {
  margin-top: 0;
}

.monthly-payment-button {
  min-height: 50px;
}

.monthly-payment-trust {
  display: flex;
  gap: 9px;
  margin: 0;
  color: var(--hl-muted);
  font-size: var(--hl-type-caption);
  line-height: 1.6;
}

.monthly-payment-trust .lucide {
  flex: 0 0 19px;
  color: var(--hl-gold-soft);
}

.monthly-cancel-confirm,
.monthly-support-copy {
  display: grid;
  gap: 12px;
}

.monthly-cancel-confirm > p,
.monthly-support-missing {
  margin: 0;
  color: var(--hl-muted);
  font-size: var(--hl-type-support);
  line-height: 1.65;
}

.sheet-primary.danger {
  border-color: rgba(255, 214, 207, 0.8);
  background: linear-gradient(110deg, #fff5f2, #f0c0b8);
  color: #54241f;
}

.monthly-support-link {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.monthly-management-details {
  padding: 11px 13px;
  border: 1px solid rgba(245, 199, 132, 0.16);
  border-radius: 14px;
  background: rgba(255, 247, 235, 0.035);
  color: var(--hl-muted);
  font-size: 12px;
}

.monthly-management-details summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  cursor: pointer;
  color: var(--hl-gold-soft);
  font-weight: 600;
}

.monthly-management-details summary:focus-visible {
  outline: 2px solid var(--hl-gold-soft);
  outline-offset: 3px;
  border-radius: 8px;
}

.monthly-management-detail-actions {
  display: grid;
  gap: 7px;
  margin-top: 11px;
}

.monthly-management-detail-actions button {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid rgba(245, 199, 132, 0.22);
  border-radius: 999px;
  background: transparent;
  color: var(--hl-muted);
}

.monthly-management-detail-actions button.danger {
  border-color: rgba(215, 124, 113, 0.24);
  color: #dca9a2;
}

.monthly-management-details p {
  margin: 10px 0 0;
  line-height: 1.65;
}

.booking-note {
  display: grid;
  gap: 7px;
  margin-top: 4px;
  color: var(--hl-muted);
  font-size: 13px;
}

.booking-note input {
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 14px;
  background: rgba(255, 247, 235, 0.07);
}

.native-guide,
.editorial-copy,
.course-story-brief {
  display: grid;
  gap: 13px;
}

.native-guide {
  place-items: center;
  padding: 18px;
  text-align: center;
}

.native-guide p,
.editorial-copy p,
.course-story-brief p {
  margin: 0;
  color: var(--hl-muted);
  font-size: 14px;
  line-height: 1.8;
}

.notice-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(245, 199, 132, 0.2);
  border-radius: 16px;
  background: rgba(255, 247, 235, 0.05);
}

.notice-row > .lucide {
  color: var(--hl-gold-soft);
}

.notice-row span > * {
  display: block;
}

.notice-row small {
  margin-top: 4px;
  color: var(--hl-muted);
  font-size: 12px;
  line-height: 1.5;
}

@keyframes hl-spin {
  to { transform: rotate(360deg); }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .icon-button,
  .edge-tab,
  .service-card,
  .assistant-button,
  .bottom-nav,
  .primary-page,
  .modal-backdrop {
    background-color: rgba(25, 15, 9, 0.97);
  }
}

@media (max-height: 760px) {
  .service-app {
    min-height: 0;
    min-height: 100dvh;
  }

  .brand-header {
    top: max(24px, env(safe-area-inset-top));
  }

  .service-stage {
    top: 24%;
    transform: translateX(-50%) scale(0.88);
    transform-origin: top center;
  }

  .edge-menu {
    top: 50%;
    gap: 20px;
  }

  .assistant-button {
    bottom: calc(102px + env(safe-area-inset-bottom));
  }

  .bottom-nav {
    min-height: 58px;
    bottom: calc(28px + env(safe-area-inset-bottom));
  }

  .bottom-nav button {
    min-height: 48px;
  }
}

@media (max-width: 360px) {
  .bottom-sheet {
    width: 100%;
    max-height: 92svh;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  }

  .bottom-sheet h2 {
    max-width: calc(100% - 48px);
    font-size: var(--hl-type-page);
  }

  .summary-row,
  .info-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .summary-row strong,
  .info-row strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .brand-logo {
    width: 94px;
  }

  .service-status {
    font-size: 12px;
  }

  .service-stage {
    width: 59%;
  }

  .assistant-button {
    right: 8%;
  }

  .monthly-quote-heading,
  .monthly-money-rows,
  .monthly-account-facts {
    grid-template-columns: 1fr;
  }

  .monthly-quote-heading em {
    text-align: left;
  }

  .monthly-product-facts span {
    padding-inline: 3px;
    font-size: var(--hl-type-caption);
  }

  .monthly-product-facts b {
    display: block;
    margin: 0 0 2px;
  }
}

@media (min-width: 431px) {
  body {
    padding: 24px 0;
    background: #0d0805;
  }

  .service-app {
    height: min(900px, calc(100vh - 48px));
    min-height: 760px;
    border-radius: 36px;
  }
}

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

/* Red Mountain founder campaign: isolated behind ?campaign=hongshan_founder. */
body.founder-campaign-active {
  padding: 0;
  overflow: hidden;
  background: #071b15;
}

body.founder-campaign-active .service-app {
  display: none;
}

.founder-campaign {
  --founder-green: #0b3026;
  --founder-green-deep: #061d17;
  --founder-green-soft: #335c47;
  --founder-matcha: #9aaf68;
  --founder-blush: #efb6bd;
  --founder-blush-soft: #f7dfe0;
  --founder-cream: #fff8ef;
  --founder-ink: #153a30;
  position: relative;
  width: min(100%, 430px);
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  isolation: isolate;
  background: var(--founder-green-deep);
  color: var(--founder-cream);
  box-shadow: 0 0 90px rgba(0, 0, 0, 0.58);
}

.founder-campaign::-webkit-scrollbar {
  display: none;
}

.founder-hero {
  position: relative;
  height: min(82svh, 720px);
  min-height: 610px;
  overflow: hidden;
  background: var(--founder-green);
}

.founder-hero-image,
.founder-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.founder-hero-image {
  object-fit: cover;
  object-position: 48% center;
  transform: scale(1.01);
}

.founder-hero-shade {
  background:
    linear-gradient(180deg, rgba(3, 18, 13, 0.68) 0%, rgba(5, 22, 17, 0.08) 25%, rgba(5, 22, 17, 0.06) 46%, rgba(5, 24, 18, 0.92) 100%),
    linear-gradient(90deg, rgba(4, 20, 15, 0.28), transparent 56%);
}

.founder-topbar {
  position: absolute;
  z-index: 2;
  top: max(25px, env(safe-area-inset-top));
  right: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.founder-logo {
  display: block;
  width: 102px;
  max-height: 38px;
  object-fit: contain;
  object-position: left center;
}

.founder-topbar > span {
  color: rgba(255, 248, 239, 0.76);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.52);
}

.founder-hero-copy {
  position: absolute;
  z-index: 2;
  right: 27px;
  bottom: 38px;
  left: 27px;
}

.founder-eyebrow,
.founder-section-kicker {
  margin: 0;
  color: var(--founder-blush);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.6;
  text-transform: uppercase;
}

.founder-hero-copy h1 {
  margin: 12px 0 0;
  font-family: var(--hl-serif);
  font-size: clamp(48px, 14vw, 62px);
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.02;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.46);
}

.founder-hero-copy h2 {
  margin: 12px 0 0;
  color: var(--founder-blush-soft);
  font-family: var(--hl-serif);
  font-size: clamp(20px, 6.4vw, 26px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.founder-poem {
  max-width: 300px;
  margin: 17px 0 0;
  color: rgba(255, 248, 239, 0.82);
  font-family: var(--hl-serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.founder-scroll-cue {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(255, 248, 239, 0.36);
  border-radius: 50%;
  color: var(--founder-blush-soft);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.founder-scroll-cue .lucide {
  width: 17px;
  height: 17px;
}

.founder-story {
  position: relative;
  padding: 64px 27px 55px;
  overflow: hidden;
  background:
    radial-gradient(circle at 104% 6%, rgba(154, 175, 104, 0.2), transparent 35%),
    linear-gradient(165deg, #0d392d, #08271f 58%, #061e18);
}

.founder-story::after {
  position: absolute;
  right: -58px;
  bottom: 26px;
  width: 172px;
  height: 172px;
  border: 1px solid rgba(239, 182, 189, 0.23);
  border-radius: 50%;
  content: "";
}

.founder-story > h2,
.founder-benefits h2,
.founder-payment-state h2 {
  margin: 10px 0 0;
  font-family: var(--hl-serif);
  font-size: 31px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.28;
}

.founder-story > p:not(.founder-section-kicker) {
  max-width: 320px;
  margin: 18px 0 0;
  color: rgba(255, 248, 239, 0.7);
  font-family: var(--hl-serif);
  font-size: 14px;
  letter-spacing: 0.035em;
  line-height: 2;
}

.founder-offer-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 43% 1fr;
  align-items: end;
  gap: 18px;
  margin-top: 36px;
  padding: 23px 20px;
  border: 1px solid rgba(255, 248, 239, 0.2);
  border-radius: 3px 28px 3px 3px;
  background: linear-gradient(135deg, rgba(255, 248, 239, 0.1), rgba(239, 182, 189, 0.08));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 22px 50px rgba(2, 13, 10, 0.28);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.founder-offer-card small {
  display: block;
  color: var(--founder-matcha);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.founder-offer-card strong {
  display: block;
  margin-top: 4px;
  color: var(--founder-blush-soft);
  font-family: var(--hl-serif);
  font-size: 47px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.founder-offer-card strong span {
  margin-right: 2px;
  font-family: var(--hl-sans);
  font-size: 19px;
}

.founder-offer-card p {
  margin: 0 0 2px;
  padding-left: 17px;
  border-left: 1px solid rgba(239, 182, 189, 0.35);
}

.founder-offer-card b,
.founder-offer-card p span {
  display: block;
}

.founder-offer-card b {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.founder-offer-card p span {
  margin-top: 7px;
  color: rgba(255, 248, 239, 0.62);
  font-size: 11px;
}

.founder-benefits {
  padding: 64px 25px 58px;
  background:
    radial-gradient(circle at 0 0, rgba(239, 182, 189, 0.5), transparent 27%),
    linear-gradient(180deg, #f9ebe7, #f2d9da 100%);
  color: var(--founder-ink);
}

.founder-benefits .founder-section-kicker {
  color: #7b8d5c;
}

.founder-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 31px;
}

.founder-section-heading > span {
  padding-bottom: 4px;
  color: rgba(21, 58, 48, 0.46);
  font-family: var(--hl-serif);
  font-size: 12px;
  letter-spacing: 0.15em;
}

.founder-benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(21, 58, 48, 0.2);
}

.founder-benefit-list li {
  display: grid;
  grid-template-columns: 31px 1fr 22px;
  align-items: center;
  gap: 11px;
  min-height: 91px;
  border-bottom: 1px solid rgba(21, 58, 48, 0.18);
}

.founder-benefit-list li > span {
  align-self: start;
  padding-top: 29px;
  color: #7c8b5c;
  font-family: var(--hl-serif);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.founder-benefit-list strong,
.founder-benefit-list small {
  display: block;
}

.founder-benefit-list strong {
  font-family: var(--hl-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.45;
}

.founder-benefit-list small {
  margin-top: 6px;
  color: rgba(21, 58, 48, 0.64);
  font-size: 10px;
  letter-spacing: 0.035em;
  line-height: 1.55;
}

.founder-benefit-list .lucide {
  width: 16px;
  height: 16px;
  color: rgba(21, 58, 48, 0.48);
  stroke-width: 1.5;
}

.founder-payment-state {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  margin: 28px 20px 0;
  padding: 24px 21px;
  border: 1px solid rgba(239, 182, 189, 0.3);
  border-radius: 24px 4px 24px 4px;
  background: linear-gradient(145deg, rgba(38, 83, 64, 0.86), rgba(6, 30, 23, 0.96));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24);
}

.founder-state-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 248, 239, 0.26);
  border-radius: 50%;
  background: rgba(239, 182, 189, 0.1);
  color: var(--founder-blush-soft);
}

.founder-payment-state[data-state="checking"] .founder-state-icon .lucide {
  animation: founder-spin 1.5s linear infinite;
}

.founder-payment-state[data-state="success"] {
  border-color: rgba(190, 213, 144, 0.56);
  background: linear-gradient(145deg, #396348, #0a3025);
}

.founder-payment-state[data-state="success"] .founder-state-icon {
  color: #dcebae;
}

.founder-payment-state[data-state="warning"] {
  border-color: rgba(239, 182, 189, 0.48);
}

.founder-payment-state > div > small {
  color: var(--founder-matcha);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.founder-payment-state h2 {
  margin-top: 5px;
  font-size: 22px;
}

.founder-payment-state p {
  margin: 8px 0 0;
  color: rgba(255, 248, 239, 0.68);
  font-size: 12px;
  line-height: 1.7;
}

.founder-receipt {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 248, 239, 0.14);
}

.founder-receipt div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
}

.founder-receipt dt,
.founder-receipt dd {
  margin: 0;
  font-size: 10px;
  line-height: 1.55;
}

.founder-receipt dt {
  color: rgba(255, 248, 239, 0.52);
}

.founder-receipt dd {
  overflow-wrap: anywhere;
  color: var(--founder-cream);
  text-align: right;
}

.founder-closing {
  position: relative;
  min-height: 286px;
  padding: 74px 30px 126px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 24%, rgba(154, 175, 104, 0.16), transparent 30%),
    var(--founder-green-deep);
  text-align: center;
}

.founder-closing > span {
  display: block;
  width: 36px;
  height: 1px;
  margin: 0 auto 25px;
  background: var(--founder-blush);
}

.founder-closing p {
  margin: 0;
  color: rgba(255, 248, 239, 0.86);
  font-family: var(--hl-serif);
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 2;
}

.founder-closing small {
  display: block;
  margin-top: 24px;
  color: rgba(239, 182, 189, 0.62);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.founder-purchase-bar {
  position: fixed;
  z-index: 24;
  bottom: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  width: min(100%, 430px);
  min-height: calc(78px + env(safe-area-inset-bottom));
  align-items: center;
  gap: 12px;
  padding: 10px 13px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 248, 239, 0.16);
  background: rgba(5, 28, 21, 0.91);
  box-shadow: 0 -20px 55px rgba(0, 0, 0, 0.34);
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
}

.founder-purchase-bar > div {
  padding-left: 4px;
}

.founder-purchase-bar small,
.founder-purchase-bar strong {
  display: block;
}

.founder-purchase-bar small {
  color: rgba(255, 248, 239, 0.54);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.founder-purchase-bar strong {
  margin-top: 2px;
  color: var(--founder-blush-soft);
  font-family: var(--hl-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

.founder-purchase-bar button {
  display: flex;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 0;
  border-radius: 28px 4px 28px 28px;
  background: linear-gradient(110deg, #f7dfe0, #e9a9b2);
  color: #173d32;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.76), 0 13px 30px rgba(0, 0, 0, 0.28);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.founder-purchase-bar button:disabled {
  opacity: 0.64;
  cursor: default;
}

.founder-purchase-bar button .lucide {
  width: 17px;
  height: 17px;
}

@keyframes founder-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 350px) {
  .founder-topbar > span {
    display: none;
  }

  .founder-hero-copy {
    right: 22px;
    left: 22px;
  }

  .founder-offer-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .founder-offer-card p {
    padding: 12px 0 0;
    border-top: 1px solid rgba(239, 182, 189, 0.35);
    border-left: 0;
  }

  .founder-purchase-bar {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 8px;
  }

  .founder-purchase-bar button {
    padding-inline: 10px;
    font-size: 12px;
  }
}

@media (min-width: 431px) {
  body.founder-campaign-active {
    background: #05140f;
  }

  .founder-campaign {
    height: min(900px, calc(100vh - 48px));
    margin: 24px auto;
    border-radius: 36px;
  }

  .founder-purchase-bar {
    bottom: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 248, 239, 0.16);
    border-radius: 0 0 36px 36px;
  }
}
