:root {
  --bg: #fdf3f5;
  --paper: #fffbfb;
  --paper-strong: #ffffff;
  --ink: #32272b;
  --ink-soft: #6b5960;
  --muted: #9a858d;
  --line: rgba(112, 66, 81, 0.1);
  --line-strong: rgba(112, 66, 81, 0.16);
  --coral: #db7b8c;
  --coral-deep: #b95368;
  --coral-soft: #f4ced7;
  --rose: #fcecef;
  --peach: #efb4c1;
  --sage: #a9b8a5;
  --sage-soft: #edf2e9;
  --sand: #f3e6e9;
  --danger: #b5455d;
  --shadow: 0 18px 50px rgba(109, 59, 75, 0.09);
  --shadow-soft: 0 10px 28px rgba(109, 59, 75, 0.07);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --safe-top: max(18px, env(safe-area-inset-top));
  --safe-bottom: max(16px, env(safe-area-inset-bottom));
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  overscroll-behavior: none;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at 8% -5%, rgba(255, 215, 225, 0.88), transparent 35%),
    radial-gradient(circle at 103% 24%, rgba(225, 232, 219, 0.48), transparent 30%),
    radial-gradient(circle at 54% 100%, rgba(248, 218, 226, 0.42), transparent 32%),
    var(--bg);
}

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

button {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button,
[role="button"] {
  touch-action: manipulation;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(217, 110, 99, 0.3);
  outline-offset: 2px;
}

svg {
  display: block;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(3px);
}

.glow--one {
  top: -130px;
  right: -150px;
  width: 360px;
  height: 360px;
  background: rgba(246, 192, 207, 0.34);
}

.glow--two {
  bottom: 7%;
  left: -170px;
  width: 330px;
  height: 330px;
  background: rgba(196, 212, 189, 0.23);
}

.launch-screen {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.92), rgba(255, 248, 248, 0.35) 33%, transparent 58%),
    linear-gradient(145deg, #fff7f4 0%, #fbe5e9 54%, #f7d8df 100%);
  transition:
    opacity 620ms cubic-bezier(0.22, 0.7, 0.25, 1),
    visibility 620ms,
    transform 620ms ease;
}

.launch-screen--hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
}

.launch-screen__halo {
  position: absolute;
  width: min(78vw, 390px);
  aspect-ratio: 1;
  border: 1px solid rgba(211, 137, 151, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(255, 255, 255, 0.18),
    0 0 0 74px rgba(244, 190, 202, 0.09);
}

.launch-screen__girls {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  filter: drop-shadow(0 14px 22px rgba(187, 104, 120, 0.14));
}

.mini-girl {
  --hair: #3c3133;
  --face: #f8d8c8;
  --shirt: #f2d6c2;
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: var(--shirt);
  box-shadow:
    0 0 0 1px rgba(215, 146, 159, 0.2),
    0 8px 18px rgba(163, 88, 104, 0.1);
  animation: mini-girl-pop 520ms cubic-bezier(0.18, 0.88, 0.3, 1.25) both;
}

.mini-girl:nth-child(2) {
  width: 62px;
  height: 62px;
  animation-delay: 80ms;
}

.mini-girl:nth-child(3) {
  animation-delay: 150ms;
}

.mini-girl::before {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--hair);
  content: "";
}

.mini-girl::after {
  position: absolute;
  top: 8%;
  right: 12%;
  left: 12%;
  height: 31%;
  border-radius: 48% 48% 34% 34%;
  background: var(--hair);
  content: "";
}

.mini-girl > span {
  position: absolute;
  z-index: 1;
  top: 22%;
  right: 17%;
  bottom: 8%;
  left: 17%;
  border-radius: 46% 46% 50% 50%;
  background:
    radial-gradient(circle at 35% 53%, #453635 0 1.4px, transparent 1.8px),
    radial-gradient(circle at 65% 53%, #453635 0 1.4px, transparent 1.8px),
    radial-gradient(ellipse at 28% 68%, rgba(238, 158, 170, 0.55) 0 3.5px, transparent 4px),
    radial-gradient(ellipse at 72% 68%, rgba(238, 158, 170, 0.55) 0 3.5px, transparent 4px),
    var(--face);
}

.mini-girl > span::after {
  position: absolute;
  top: 64%;
  left: 50%;
  width: 8px;
  height: 4px;
  border-bottom: 1.2px solid #c47280;
  border-radius: 0 0 50% 50%;
  content: "";
  transform: translateX(-50%);
}

.mini-girl--french {
  --hair: #393133;
  --shirt: #eddfc7;
}

.mini-girl--french::after {
  height: 28%;
  border-radius: 46% 46% 24% 24%;
}

.mini-girl--air {
  --hair: #906149;
  --shirt: #efb9c5;
}

.mini-girl--air::after {
  top: 5%;
  right: 8%;
  left: 8%;
  height: 26%;
  border-radius: 50% 50% 42% 42%;
}

.mini-girl--side {
  --hair: #342c30;
  --shirt: #dbe5d5;
}

.mini-girl--side::after {
  top: 5%;
  right: 3%;
  left: 12%;
  height: 29%;
  border-radius: 64% 42% 38% 48%;
  transform: rotate(-10deg);
}

.launch-screen__greeting {
  position: relative;
  z-index: 1;
  margin: 23px 0 0;
  color: var(--ink);
  font-size: clamp(38px, 11vw, 52px);
  font-weight: 790;
  letter-spacing: -0.06em;
  animation: welcome-rise 600ms 130ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.launch-screen__greeting span {
  display: inline-block;
  margin-left: 5px;
  color: var(--coral);
  font-size: 0.48em;
  transform: rotate(-8deg) translateY(-12px);
}

.launch-screen__note {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  color: #9b7480;
  font-size: 11px;
  font-weight: 590;
  letter-spacing: 0.05em;
  animation: welcome-rise 600ms 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.launch-screen__loader {
  position: absolute;
  bottom: max(52px, calc(env(safe-area-inset-bottom) + 34px));
  display: flex;
  gap: 6px;
}

.launch-screen__loader i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d58a9a;
  animation: loader-pulse 900ms ease-in-out infinite;
}

.launch-screen__loader i:nth-child(2) {
  animation-delay: 120ms;
}

.launch-screen__loader i:nth-child(3) {
  animation-delay: 240ms;
}

.app {
  width: min(100%, 760px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(var(--safe-top) + 4px) 18px calc(114px + var(--safe-bottom));
}

.app--onboarding {
  padding: var(--safe-top) 18px var(--safe-bottom);
}

.app--companion {
  padding-bottom: calc(40px + var(--safe-bottom));
}

.app-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  margin-bottom: 14px;
}

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

.brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, #d96e63, #c25951);
  box-shadow: 0 9px 22px rgba(190, 81, 73, 0.24);
}

.brand__mark svg {
  width: 24px;
  height: 24px;
  color: #fff8f2;
}

.brand__name {
  display: block;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.brand__tagline {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.avatar-button {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 5px 5px 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 7px 20px rgba(77, 57, 49, 0.07);
  backdrop-filter: blur(15px);
}

.avatar-button__label {
  max-width: 80px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar {
  display: grid;
  flex: none;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral-deep);
  font-size: 13px;
  font-weight: 780;
}

.avatar--sage {
  background: #dce8d7;
  color: #5f745a;
}

.avatar--sand {
  background: #f3e3c8;
  color: #9b7547;
}

.avatar--lilac {
  background: #e8def0;
  color: #7d638a;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--coral-deep);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.screen-title {
  margin: 0;
  font-size: clamp(27px, 7.5vw, 36px);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.screen-subtitle {
  max-width: 38em;
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.page-intro {
  margin-bottom: 18px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 268px;
  padding: 22px 22px 19px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 248, 243, 0.72)),
    var(--paper);
  box-shadow: var(--shadow);
}

.hero-card::before {
  position: absolute;
  top: -62px;
  right: -60px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 189, 168, 0.5), rgba(245, 213, 207, 0.04) 68%);
  content: "";
}

.hero-card::after {
  position: absolute;
  right: 12px;
  bottom: -68px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(190, 109, 92, 0.1);
  border-radius: 50%;
  content: "";
}

.hero-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-kicker {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 680;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(217, 110, 99, 0.1);
}

.confidence {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: #60705c;
  font-size: 10px;
  font-weight: 750;
}

.confidence--low {
  background: #f6ead8;
  color: #927041;
}

.confidence--medium {
  background: #f8e8e1;
  color: #a85b4d;
}

.hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.hero-number-row {
  display: flex;
  align-items: flex-end;
  gap: 7px;
}

.hero-number {
  font-family: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(62px, 18vw, 82px);
  font-weight: 720;
  letter-spacing: -0.085em;
  line-height: 0.88;
}

.hero-unit {
  padding-bottom: 7px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 680;
}

.hero-copy {
  max-width: 220px;
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.hero-copy strong {
  color: var(--ink);
  font-weight: 740;
}

.cycle-ring {
  position: relative;
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--coral) var(--cycle-progress, 0%), rgba(217, 110, 99, 0.12) 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.cycle-ring::before {
  position: absolute;
  inset: 9px;
  border: 5px solid rgba(255, 253, 249, 0.84);
  border-radius: 50%;
  content: "";
}

.cycle-ring__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: 96px;
  height: 96px;
  place-content: center;
  border-radius: 50%;
  background: rgba(255, 251, 247, 0.78);
  text-align: center;
  backdrop-filter: blur(8px);
}

.cycle-ring__day {
  font-size: 26px;
  font-weight: 780;
  letter-spacing: -0.05em;
  line-height: 1;
}

.cycle-ring__label {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
}

.hero-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 21px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hero-footer__text {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.text-button {
  display: inline-flex;
  flex: none;
  gap: 5px;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--coral-deep);
  font-size: 11px;
  font-weight: 730;
}

.text-button .icon {
  width: 15px;
  height: 15px;
}

.section {
  margin-top: 22px;
}

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

.section-title {
  margin: 0;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.section-note {
  color: var(--muted);
  font-size: 10px;
  font-weight: 620;
}

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

.quick-action {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 21px;
  background: rgba(255, 253, 249, 0.75);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.quick-action:active,
.button:active,
.nav-button:active,
.calendar-day:active {
  transform: scale(0.975);
}

.quick-action__icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 12px;
  background: var(--rose);
  color: var(--coral-deep);
}

.quick-action:nth-child(2) .quick-action__icon {
  background: var(--sage-soft);
  color: #60705c;
}

.quick-action:nth-child(3) .quick-action__icon {
  background: #f4ead7;
  color: #957045;
}

.quick-action__icon .icon {
  width: 18px;
  height: 18px;
}

.quick-action__label {
  display: block;
  font-size: 12px;
  font-weight: 710;
  line-height: 1.25;
}

.quick-action__hint {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.3;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.79);
  box-shadow: var(--shadow-soft);
}

.care-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.care-card__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 13px;
  background: var(--rose);
  color: var(--coral-deep);
}

.care-card__icon .icon {
  width: 18px;
  height: 18px;
}

.care-card__title {
  margin: 12px 0 5px;
  font-size: 13px;
  font-weight: 740;
}

.care-card__body {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

.care-card--sage .care-card__icon {
  background: var(--sage-soft);
  color: #60705c;
}

.mini-calendar {
  padding: 16px;
}

.mini-calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mini-calendar__title {
  font-size: 13px;
  font-weight: 750;
}

.mini-week,
.mini-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.mini-week span {
  padding: 3px 0 6px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 650;
  text-align: center;
}

.mini-day {
  position: relative;
  display: grid;
  min-height: 29px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--ink-soft);
  font-size: 10px;
}

.mini-day--muted {
  color: rgba(151, 139, 132, 0.38);
}

.mini-day--logged {
  background: var(--coral);
  color: white;
  font-weight: 760;
}

.mini-day--predicted {
  background: rgba(245, 213, 207, 0.78);
  color: var(--coral-deep);
  font-weight: 700;
}

.mini-day--today {
  box-shadow: inset 0 0 0 1.5px var(--coral-deep);
  font-weight: 780;
}

.mini-day--fertile {
  box-shadow: inset 0 0 0 1px rgba(127, 154, 119, 0.52);
  color: #65775e;
}

.mini-day--ovulation::after {
  position: absolute;
  top: 2px;
  right: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #7f9a77;
  content: "";
}

.cycle-window-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.cycle-window-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px 15px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.cycle-window-item:last-child {
  border-right: 0;
}

.cycle-window-item__icon {
  display: grid;
  width: 31px;
  height: 31px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 11px;
  background: var(--rose);
  color: var(--coral-deep);
}

.cycle-window-item__icon--sage {
  background: var(--sage-soft);
  color: #65775e;
}

.cycle-window-item__icon--drop {
  background: #f8e5e2;
}

.cycle-window-item__icon .icon {
  width: 15px;
  height: 15px;
}

.cycle-window-item__label {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.35;
}

.cycle-window-item strong {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 720;
  white-space: nowrap;
}

.cycle-window-note {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin: 9px 3px 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.55;
}

.cycle-window-note .icon {
  width: 12px;
  height: 12px;
  flex: none;
  margin-top: 1px;
}

.companion-strip {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  gap: 14px;
  padding: 17px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(246, 229, 216, 0.92), rgba(239, 232, 216, 0.78)),
    var(--paper);
  box-shadow: var(--shadow-soft);
}

.companion-strip::before {
  position: absolute;
  right: -16px;
  bottom: -34px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(139, 99, 74, 0.1);
  border-radius: 50%;
  content: "";
}

.companion-strip__icon {
  display: grid;
  flex: none;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.8);
  color: var(--coral-deep);
}

.companion-strip__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1;
}

.companion-strip__title {
  margin: 0 0 3px;
  font-size: 13px;
  font-weight: 740;
}

.companion-strip__text {
  margin: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.round-action {
  position: relative;
  z-index: 1;
  display: grid;
  flex: none;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: white;
}

.round-action .icon {
  width: 16px;
  height: 16px;
}

.bottom-nav {
  position: fixed;
  z-index: 30;
  right: 50%;
  bottom: var(--safe-bottom);
  display: grid;
  width: min(calc(100% - 32px), 430px);
  grid-template-columns: repeat(5, 1fr);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.84);
  box-shadow: 0 20px 50px rgba(72, 48, 36, 0.17);
  backdrop-filter: blur(24px) saturate(1.35);
  transform: translateX(50%);
}

.nav-button {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 3px 7px;
  border: 0;
  border-radius: 17px;
  background: none;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  transition: 160ms ease;
}

.island-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 120px;
}

.island-loading span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: loader-pulse 900ms ease-in-out infinite;
}

.island-loading span:nth-child(2) {
  animation-delay: 120ms;
}

.island-loading span:nth-child(3) {
  animation-delay: 240ms;
}

.mood-box {
  position: relative;
  overflow: hidden;
  padding: 16px;
}

.mood-box::after {
  position: absolute;
  top: -45px;
  right: -35px;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: rgba(250, 216, 224, 0.45);
  content: "";
}

.mood-box__prompt {
  position: relative;
  z-index: 1;
  margin: 0 0 13px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.mood-picker {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.mood-option {
  display: flex;
  min-width: 0;
  min-height: 61px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 2px;
  border: 1px solid rgba(115, 71, 82, 0.08);
  border-radius: 15px;
  background: var(--mood-bg, #fff);
  background: color-mix(in srgb, var(--mood-bg, #fff) 82%, white);
  color: var(--ink-soft);
}

.mood-option > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: var(--mood-circle, #f6d5dc);
  color: var(--mood-ink, var(--coral-deep));
  font-size: 16px;
  font-weight: 780;
}

.mood-option small {
  font-size: 8px;
  font-weight: 650;
}

.mood-option--sunny {
  --mood-bg: #fff5d9;
  --mood-circle: #ffe8a5;
  --mood-ink: #9a7432;
}

.mood-option--calm {
  --mood-bg: #eaf3e7;
  --mood-circle: #d8e8d2;
  --mood-ink: #657d5d;
}

.mood-option--tired {
  --mood-bg: #edf0f4;
  --mood-circle: #dde4ec;
  --mood-ink: #657281;
}

.mood-option--sad {
  --mood-bg: #e8eef7;
  --mood-circle: #d8e4f5;
  --mood-ink: #62738e;
}

.mood-option--anxious {
  --mood-bg: #f3e9f6;
  --mood-circle: #ead9f0;
  --mood-ink: #80618d;
}

.mood-option--irritable {
  --mood-bg: #faebe7;
  --mood-circle: #f7d7d1;
  --mood-ink: #9a6258;
}

.mood-option.is-selected {
  border-color: rgba(185, 83, 104, 0.35);
  box-shadow: inset 0 0 0 1px rgba(185, 83, 104, 0.15);
}

.mood-box__today {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
}

.mood-box__emoji {
  display: grid;
  width: 43px;
  height: 43px;
  flex: none;
  place-items: center;
  border-radius: 15px;
  background: #fff;
  color: var(--coral-deep);
  font-size: 22px;
  box-shadow: 0 7px 18px rgba(112, 67, 81, 0.08);
}

.mood-box__label {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.mood-box__today strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
}

.mood-box__today .text-button {
  margin-left: auto;
}

.mood-box__note {
  position: relative;
  z-index: 1;
  margin: 13px 0 0;
  padding: 11px 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.6;
}

.mood-picker--sheet {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mood-picker--sheet .mood-option {
  min-height: 74px;
}

.wellness-grid {
  display: grid;
  gap: 9px;
}

.wellness-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 3px 12px;
  align-items: start;
  padding: 14px 15px;
}

.wellness-card__icon {
  display: grid;
  width: 38px;
  height: 38px;
  grid-row: 1 / span 2;
  place-items: center;
  border-radius: 13px;
  background: var(--rose);
  color: var(--coral-deep);
}

.wellness-card__icon .icon {
  width: 17px;
  height: 17px;
}

.wellness-card--warm .wellness-card__icon {
  background: #f8e8dd;
  color: #9f6f4f;
}

.wellness-card--sage .wellness-card__icon {
  background: var(--sage-soft);
  color: #63775c;
}

.wellness-card h3 {
  margin: 2px 0 3px;
  font-size: 11px;
  font-weight: 740;
}

.wellness-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.62;
}

.island-auth-card {
  margin-top: 4px;
  padding: 17px;
}

.island-auth-tabs {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
}

.island-auth-card form {
  margin-top: 2px;
}

.island-setup-card {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  padding: 19px;
  background:
    radial-gradient(circle at 92% 8%, rgba(250, 215, 222, 0.66), transparent 34%),
    rgba(255, 253, 252, 0.86);
}

.island-setup-card--join {
  background:
    radial-gradient(circle at 92% 8%, rgba(216, 232, 208, 0.58), transparent 34%),
    rgba(255, 253, 252, 0.86);
}

.island-setup-card__badge {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--rose);
  color: var(--coral-deep);
  font-size: 8px;
  font-weight: 720;
}

.island-setup-card__badge--sage {
  background: var(--sage-soft);
  color: #63765c;
}

.island-setup-card h2 {
  margin: 13px 0 5px;
  font-size: 17px;
  font-weight: 770;
  letter-spacing: -0.03em;
}

.island-setup-card > p {
  margin: 0 0 15px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.6;
}

.island-code-input {
  font-size: 19px;
  font-weight: 720;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.island-hero {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  padding: 22px 20px 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  background:
    linear-gradient(180deg, #f7cbd8 0%, #fce7ec 54%, #dcebd1 55%, #c9dfb9 100%);
  box-shadow: 0 20px 55px rgba(117, 74, 90, 0.13);
}

.island-hero__copy {
  position: relative;
  z-index: 3;
}

.island-hero .eyebrow {
  color: #9d4e65;
}

.island-hero h1 {
  max-width: 280px;
  margin: 6px 0 8px;
  font-size: 29px;
  font-weight: 790;
  letter-spacing: -0.05em;
  line-height: 1.17;
}

.island-hero__copy > p:last-child {
  max-width: 270px;
  margin: 0;
  color: #775e67;
  font-size: 9px;
  line-height: 1.55;
}

.island-sky {
  position: absolute;
  inset: 0 0 auto;
  height: 55%;
}

.island-cloud {
  position: absolute;
  width: 66px;
  height: 19px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
}

.island-cloud::before,
.island-cloud::after {
  position: absolute;
  bottom: 5px;
  border-radius: 50%;
  background: inherit;
  content: "";
}

.island-cloud::before {
  left: 13px;
  width: 26px;
  height: 26px;
}

.island-cloud::after {
  right: 10px;
  width: 20px;
  height: 20px;
}

.island-cloud--one {
  top: 38px;
  right: 24px;
}

.island-cloud--two {
  top: 150px;
  left: -18px;
  transform: scale(0.78);
}

.island-speck {
  position: absolute;
  color: rgba(255, 255, 255, 0.78);
}

.island-speck--one {
  top: 93px;
  left: 46%;
  font-size: 14px;
}

.island-speck--two {
  top: 66px;
  left: 24%;
  font-size: 10px;
}

.island-hill {
  position: absolute;
  bottom: 0;
  border-radius: 50% 50% 0 0;
}

.island-hill--back {
  right: -40px;
  bottom: 48px;
  width: 250px;
  height: 122px;
  background: #d3e5c8;
}

.island-hill--front {
  left: -55px;
  bottom: -55px;
  width: 430px;
  height: 190px;
  background: #c8dfb8;
}

.island-scene {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 43px;
  left: 0;
  height: 205px;
}

.pet-art {
  position: absolute;
  width: 116px;
  height: 116px;
  filter: drop-shadow(0 10px 10px rgba(93, 72, 67, 0.13));
}

.island-scene > .pet-art--cat {
  bottom: 3px;
  left: calc(50% - 95px);
}

.island-scene > .pet-art--dog {
  right: calc(50% - 100px);
  bottom: -5px;
}

.island-heart {
  position: absolute;
  color: #ee8399;
  font-size: 14px;
  animation: spark-float 2.4s ease-in-out infinite;
}

.island-heart--one {
  top: 19px;
  left: 34%;
}

.island-heart--two {
  top: 50px;
  right: 29%;
  animation-delay: -1s;
}

.island-code-chip {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 14px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.71);
  color: #775b64;
  font-size: 8px;
  backdrop-filter: blur(9px);
}

.island-code-chip strong {
  color: var(--coral-deep);
  letter-spacing: 0.1em;
}

.island-code-chip .icon {
  width: 12px;
  height: 12px;
}

.pet-card {
  padding: 16px;
}

.pet-card__pets {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.pet-card__pets > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pet-card__pets strong {
  font-size: 11px;
  font-weight: 720;
}

.pet-avatar {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
}

.pet-avatar--cat {
  background: #fbe9ed;
}

.pet-avatar--dog {
  background: #f7ecdd;
}

.pet-avatar .pet-art {
  position: static;
  width: 74px;
  height: 74px;
}

.pet-hearts {
  max-width: 92px;
  color: #db7890;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.pet-card > p {
  margin: 11px 0 13px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
  text-align: center;
}

.friend-cycle-list {
  display: grid;
  gap: 9px;
}

.friend-cycle-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
}

.friend-cycle-card__main {
  min-width: 0;
  flex: 1;
}

.friend-cycle-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.friend-cycle-card__head h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 740;
}

.friend-mood {
  color: #9a7280;
  font-size: 8px;
}

.friend-cycle-card__phase {
  margin: 5px 0 4px;
  color: var(--coral-deep);
  font-size: 10px;
  font-weight: 700;
}

.friend-cycle-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--muted);
  font-size: 8px;
}

.friend-cycle-card__empty,
.friend-cycle-card__note {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.friend-care-button {
  display: inline-flex;
  flex: none;
  gap: 4px;
  align-items: center;
  padding: 7px 9px;
  border: 0;
  border-radius: 11px;
  background: var(--rose);
  color: var(--coral-deep);
  font-size: 8px;
  font-weight: 700;
}

.friend-care-button .icon {
  width: 12px;
  height: 12px;
}

.island-chat {
  overflow: hidden;
}

.chat-list {
  display: flex;
  max-height: 310px;
  flex-direction: column;
  gap: 9px;
  overflow-y: auto;
  padding: 14px;
}

.chat-message {
  max-width: 82%;
  align-self: flex-start;
  padding: 9px 11px;
  border-radius: 4px 14px 14px 14px;
  background: #f5ebe9;
  color: var(--ink-soft);
}

.chat-message--mine {
  align-self: flex-end;
  border-radius: 14px 4px 14px 14px;
  background: var(--rose);
}

.chat-message--system {
  max-width: 100%;
  align-self: center;
  padding: 3px 6px;
  background: none;
  color: var(--muted);
  font-size: 8px;
  text-align: center;
}

.chat-message__meta {
  display: flex;
  gap: 7px;
  align-items: baseline;
  margin-bottom: 3px;
}

.chat-message__meta strong {
  color: var(--ink);
  font-size: 9px;
}

.chat-message__meta span {
  color: var(--muted);
  font-size: 7px;
}

.chat-message p {
  margin: 0;
  font-size: 10px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.chat-composer {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 252, 0.86);
}

.chat-composer .input {
  min-width: 0;
  flex: 1;
  padding: 11px 12px;
}

.chat-composer .round-action {
  cursor: pointer;
}

.chat-composer .round-action .icon {
  transform: rotate(0);
}

@media (max-width: 370px) {
  .mood-picker {
    gap: 4px;
  }

  .mood-option {
    min-height: 56px;
  }

  .mood-option > span {
    width: 25px;
    height: 25px;
  }
}

.nav-button .icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
}

.nav-button--active {
  background: var(--rose);
  color: var(--coral-deep);
}

.nav-button--active .icon {
  stroke-width: 2.2;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 14px;
}

.calendar-toolbar__title {
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -0.035em;
}

.icon-buttons {
  display: flex;
  gap: 7px;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 253, 249, 0.74);
  color: var(--ink-soft);
}

.icon-button .icon {
  width: 17px;
  height: 17px;
}

.calendar-card {
  padding: 13px 10px 17px;
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 249, 0.82);
  box-shadow: var(--shadow);
}

.calendar-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 5px;
}

.calendar-week span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 3px;
}

.calendar-cell {
  display: grid;
  min-height: 49px;
  place-items: center;
}

.calendar-day {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 620;
}

.calendar-day--outside {
  color: rgba(151, 139, 132, 0.3);
}

.calendar-day--logged {
  background: linear-gradient(145deg, #dd7a6e, #cc6259);
  box-shadow: 0 7px 15px rgba(202, 91, 82, 0.23);
  color: #fff;
  font-weight: 770;
}

.calendar-day--predicted {
  background: rgba(245, 213, 207, 0.72);
  color: var(--coral-deep);
}

.calendar-day--predicted::after {
  position: absolute;
  right: 5px;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.calendar-day--fertile {
  box-shadow: inset 0 0 0 1.2px rgba(127, 154, 119, 0.55);
  color: #66775f;
}

.calendar-day--pms {
  background: rgba(245, 232, 220, 0.52);
  color: #9a7453;
}

.calendar-day--ovulation::before {
  position: absolute;
  top: 4px;
  right: 5px;
  color: #6f8966;
  content: "✦";
  font-size: 6px;
  line-height: 1;
}

.calendar-day--today {
  box-shadow: inset 0 0 0 1.5px var(--coral-deep);
}

.calendar-day--logged.calendar-day--today {
  box-shadow:
    inset 0 0 0 2px #fff,
    0 7px 15px rgba(202, 91, 82, 0.23);
}

.calendar-day--selected {
  box-shadow:
    inset 0 0 0 2px var(--ink),
    0 4px 10px rgba(70, 51, 40, 0.08);
}

.calendar-day__dot {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7f9a77;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 13px 6px 0;
  color: var(--muted);
  font-size: 10px;
}

.legend__item {
  display: flex;
  gap: 6px;
  align-items: center;
}

.legend__swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.legend__swatch--predicted {
  background: var(--coral-soft);
}

.legend__swatch--symptom {
  background: #7f9a77;
}

.legend__swatch--fertile {
  border: 1px solid #7f9a77;
  background: transparent;
}

.selected-day-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
}

.selected-day-card__date {
  display: grid;
  flex: none;
  width: 49px;
  height: 55px;
  place-items: center;
  border-radius: 15px;
  background: var(--rose);
  color: var(--coral-deep);
  line-height: 1;
}

.selected-day-card__date strong {
  font-size: 22px;
  font-weight: 790;
}

.selected-day-card__date span {
  margin-top: -4px;
  font-size: 9px;
  font-weight: 680;
}

.selected-day-card__copy {
  min-width: 0;
  flex: 1;
}

.selected-day-card__title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 740;
}

.selected-day-card__text {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.selected-day-card .icon-button {
  flex: none;
  border: 0;
  background: var(--ink);
  color: white;
}

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

.stat-card {
  min-height: 114px;
  padding: 15px 13px;
}

.stat-card__label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
}

.stat-card__value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 15px;
  font-size: 27px;
  font-weight: 780;
  letter-spacing: -0.06em;
}

.stat-card__value small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0;
}

.stat-card__hint {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
}

.chart-card {
  margin-top: 12px;
  padding: 18px 16px 14px;
}

.chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.chart-title {
  margin: 0;
  font-size: 13px;
  font-weight: 740;
}

.chart-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.pain-chart {
  display: grid;
  height: 132px;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  align-items: end;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.pain-bar-item {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.pain-bar {
  width: 100%;
  max-width: 28px;
  min-height: 5px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(to top, var(--coral), var(--peach));
}

.pain-bar--empty {
  background: var(--sand);
}

.pain-bar-item span {
  color: var(--muted);
  font-size: 8px;
  white-space: nowrap;
}

.list-card {
  overflow: hidden;
}

.cycle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
}

.cycle-row:last-child {
  border-bottom: 0;
}

.cycle-row__badge {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border-radius: 14px;
  background: var(--rose);
  color: var(--coral-deep);
  font-size: 11px;
  font-weight: 780;
}

.cycle-row__main {
  min-width: 0;
  flex: 1;
}

.cycle-row__title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 720;
}

.cycle-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  color: var(--muted);
  font-size: 9px;
}

.cycle-row__pain {
  flex: none;
  padding: 6px 8px;
  border-radius: 9px;
  background: #f7efe6;
  color: #966e48;
  font-size: 9px;
  font-weight: 680;
}

.empty-state {
  padding: 28px 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.symptom-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
}

.symptom-pill {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.7);
  color: var(--ink-soft);
  font-size: 10px;
}

.symptom-pill count {
  color: var(--coral-deep);
  font-weight: 750;
}

.insight-card {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  padding: 18px;
  background: linear-gradient(130deg, rgba(237, 242, 233, 0.9), rgba(255, 253, 249, 0.74));
}

.insight-card__label {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #60705c;
  font-size: 9px;
  font-weight: 750;
}

.insight-card__label .icon {
  width: 14px;
  height: 14px;
}

.insight-card__title {
  margin: 10px 0 5px;
  font-size: 14px;
  font-weight: 750;
}

.insight-card__body {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.65;
}

.cycle-health-list {
  display: grid;
  gap: 9px;
}

.cycle-health-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: rgba(255, 248, 243, 0.82);
}

.cycle-health-card__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border-radius: 12px;
  background: #f7e6d7;
  color: #9f7049;
}

.cycle-health-card__icon .icon {
  width: 16px;
  height: 16px;
}

.cycle-health-card h3 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 730;
}

.cycle-health-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.65;
}

.care-hero {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(87, 68, 58, 0.96), rgba(112, 80, 67, 0.91)),
    var(--ink);
  box-shadow: 0 20px 50px rgba(77, 54, 41, 0.2);
  color: #fffaf4;
}

.care-hero::before,
.care-hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.care-hero::before {
  top: -65px;
  right: -45px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.care-hero::after {
  top: -18px;
  right: 2px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.care-hero__eyebrow {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 250, 244, 0.83);
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.04em;
}

.care-hero__title {
  position: relative;
  z-index: 1;
  max-width: 310px;
  margin: 22px 0 8px;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.care-hero__text {
  position: relative;
  z-index: 1;
  max-width: 310px;
  margin: 0;
  color: rgba(255, 250, 244, 0.65);
  font-size: 11px;
  line-height: 1.7;
}

.care-hero__date {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 20px;
  color: #f8cfbf;
  font-size: 11px;
  font-weight: 700;
}

.settings-card {
  padding: 4px 16px;
}

.setting-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.setting-row:last-child {
  border-bottom: 0;
}

.setting-row__icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border-radius: 12px;
  background: var(--rose);
  color: var(--coral-deep);
}

.setting-row__icon .icon {
  width: 17px;
  height: 17px;
}

.setting-row__main {
  min-width: 0;
  flex: 1;
}

.setting-row__title {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.setting-row__text {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.setting-row__action {
  flex: none;
  border: 0;
  background: none;
  color: var(--coral-deep);
  font-size: 10px;
  font-weight: 720;
}

.switch {
  position: relative;
  width: 42px;
  height: 25px;
  flex: none;
  border: 0;
  border-radius: 999px;
  background: #ded7d1;
  transition: 180ms ease;
}

.switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 7px rgba(63, 44, 35, 0.22);
  content: "";
  transition: 180ms ease;
}

.switch--on {
  background: var(--coral);
}

.switch--on::after {
  transform: translateX(17px);
}

.button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 0;
  border-radius: 16px;
  background: var(--ink);
  color: #fffaf5;
  font-size: 12px;
  font-weight: 720;
  transition: 160ms ease;
}

.button--soft {
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.8);
  color: var(--ink-soft);
}

.button--coral {
  background: var(--coral);
  box-shadow: 0 10px 22px rgba(204, 95, 85, 0.2);
}

.button--full {
  width: 100%;
}

.button:disabled {
  cursor: default;
  opacity: 0.45;
}

.button .icon {
  width: 17px;
  height: 17px;
}

.privacy-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 14px 2px 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.privacy-note .icon {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 1px;
}

.install-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px dashed rgba(185, 77, 71, 0.3);
  border-radius: 17px;
  background: rgba(250, 234, 230, 0.45);
}

.install-banner__main {
  flex: 1;
}

.install-banner__title {
  display: block;
  font-size: 11px;
  font-weight: 720;
}

.install-banner__text {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.sheet-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px;
  background: rgba(47, 37, 33, 0.32);
  backdrop-filter: blur(7px);
  animation: fade-in 180ms ease both;
}

.sheet {
  width: min(100%, 540px);
  max-height: min(88vh, 780px);
  max-height: min(88dvh, 780px);
  overflow: auto;
  padding: 9px 20px calc(22px + env(safe-area-inset-bottom));
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  background: #fffdfa;
  box-shadow: 0 30px 80px rgba(48, 34, 27, 0.25);
  animation: sheet-up 250ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.sheet__handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 99px;
  background: #e4ded9;
}

.sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.sheet__title {
  margin: 0;
  font-size: 20px;
  font-weight: 770;
  letter-spacing: -0.035em;
}

.sheet__subtitle {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.sheet-close {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f4efea;
  color: var(--ink-soft);
}

.sheet-close .icon {
  width: 15px;
  height: 15px;
}

.field {
  margin-bottom: 15px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 680;
}

.field__hint {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  outline: 0;
  background: #fbf8f4;
  color: var(--ink);
  font-size: 13px;
  transition: 160ms ease;
}

.textarea {
  min-height: 86px;
  resize: vertical;
  line-height: 1.55;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(217, 110, 99, 0.56);
  box-shadow: 0 0 0 4px rgba(217, 110, 99, 0.08);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 4px;
  border-radius: 14px;
  background: #f5f0ea;
}

.segmented--three {
  grid-template-columns: repeat(3, 1fr);
}

.segmented button {
  min-height: 37px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.segmented button.is-selected {
  background: #fff;
  box-shadow: 0 4px 12px rgba(82, 59, 47, 0.08);
  color: var(--ink);
}

.range-wrap {
  padding: 12px 14px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fbf8f4;
}

.range-value {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 10px;
}

.range-value strong {
  color: var(--coral-deep);
  font-size: 20px;
  letter-spacing: -0.04em;
}

input[type="range"] {
  width: 100%;
  margin: 11px 0 2px;
  accent-color: var(--coral);
}

.range-ends {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbf8f4;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
}

.chip.is-selected {
  border-color: rgba(217, 110, 99, 0.25);
  background: var(--rose);
  color: var(--coral-deep);
  font-weight: 720;
}

.period-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(217, 110, 99, 0.17);
  border-radius: 15px;
  background: rgba(250, 234, 230, 0.55);
}

.period-toggle__icon {
  display: grid;
  width: 33px;
  height: 33px;
  flex: none;
  place-items: center;
  border-radius: 11px;
  background: #fff;
  color: var(--coral-deep);
}

.period-toggle__icon .icon {
  width: 17px;
  height: 17px;
}

.period-toggle__main {
  flex: 1;
}

.period-toggle__title {
  display: block;
  font-size: 11px;
  font-weight: 710;
}

.period-toggle__text {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

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

.profile-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbf8f4;
  text-align: left;
}

.profile-option--active {
  border-color: rgba(217, 110, 99, 0.34);
  background: var(--rose);
}

.profile-option__main {
  flex: 1;
}

.profile-option__name {
  display: block;
  font-size: 12px;
  font-weight: 720;
}

.profile-option__meta {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.profile-option .icon {
  width: 17px;
  height: 17px;
  color: var(--coral-deep);
}

.onboarding {
  position: relative;
  display: flex;
  min-height: calc(100vh - var(--safe-top) - var(--safe-bottom));
  min-height: calc(100dvh - var(--safe-top) - var(--safe-bottom));
  flex-direction: column;
}

.onboarding__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
}

.onboarding__step {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.onboarding__art {
  position: relative;
  display: grid;
  height: 228px;
  place-items: center;
  margin-top: 8px;
}

.girls-cover {
  position: relative;
  display: grid;
  width: min(100%, 410px);
  min-height: 260px;
  place-items: center;
  margin: 2px auto -3px;
}

.girls-cover::before {
  position: absolute;
  top: 48%;
  left: 50%;
  width: 250px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 218, 224, 0.55), rgba(249, 218, 224, 0) 71%);
  content: "";
  transform: translate(-50%, -50%);
}

.girls-cover__art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.girls-cover__caption {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: -14px;
  padding: 6px 11px;
  border: 1px solid rgba(211, 142, 155, 0.25);
  border-radius: 999px;
  background: rgba(255, 250, 249, 0.82);
  color: #a56a76;
  font-size: 8px;
  font-weight: 680;
  letter-spacing: 0.07em;
  backdrop-filter: blur(8px);
}

.girls-cover__caption::before,
.girls-cover__caption::after {
  width: 12px;
  height: 1px;
  background: #dfb4bd;
  content: "";
}

.girls-cover--compact {
  width: min(100%, 340px);
  min-height: 202px;
  margin-top: -9px;
  margin-bottom: -8px;
}

.girls-cover--compact::before {
  width: 220px;
  height: 132px;
}

.girls-cover--compact .girls-cover__art {
  max-height: 205px;
}

.girls-cover--compact .girls-cover__caption {
  margin-top: -18px;
  padding: 5px 9px;
  font-size: 7px;
}

.onboarding__halo {
  position: absolute;
  width: 206px;
  height: 206px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 203, 186, 0.65), rgba(245, 213, 207, 0.09) 69%);
}

.onboarding__moon {
  position: relative;
  display: grid;
  width: 135px;
  height: 135px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: linear-gradient(145deg, #f3c3ae, #d97b6c);
  box-shadow:
    0 24px 55px rgba(184, 88, 75, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.onboarding__moon svg {
  width: 58px;
  height: 58px;
  color: #fff5ee;
  transform: rotate(-12deg);
}

.onboarding__orbit {
  position: absolute;
  width: 200px;
  height: 96px;
  border: 1px solid rgba(158, 108, 85, 0.19);
  border-radius: 50%;
  transform: rotate(-17deg);
}

.onboarding__orbit::before,
.onboarding__orbit::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 5px rgba(169, 184, 165, 0.13);
  content: "";
}

.onboarding__orbit::before {
  top: 10px;
  right: 16px;
}

.onboarding__orbit::after {
  bottom: 12px;
  left: 23px;
  width: 6px;
  height: 6px;
  background: var(--coral);
}

.onboarding__copy {
  text-align: center;
}

.onboarding__title {
  margin: 0 auto;
  max-width: 370px;
  font-size: clamp(30px, 9vw, 42px);
  font-weight: 790;
  letter-spacing: -0.055em;
  line-height: 1.15;
}

.onboarding__title em {
  color: var(--coral-deep);
  font-style: normal;
}

.onboarding__text {
  max-width: 330px;
  margin: 14px auto 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.onboarding__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 24px 0 18px;
}

.onboarding__feature {
  padding: 11px 6px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.55);
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 650;
  text-align: center;
}

.onboarding__footer {
  margin-top: auto;
  padding-top: 10px;
}

.onboarding__privacy {
  margin-top: 12px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.wizard-progress {
  display: flex;
  gap: 5px;
  margin: 6px 0 25px;
}

.wizard-progress span {
  height: 3px;
  flex: 1;
  border-radius: 99px;
  background: #eee8e2;
}

.wizard-progress span.is-active {
  background: var(--coral);
}

.wizard-head {
  margin-bottom: 23px;
}

.wizard-head--survey {
  margin-bottom: 18px;
}

.wizard-head--survey h1 {
  font-size: clamp(27px, 8vw, 34px);
}

.wizard-head__eyebrow {
  margin-bottom: 8px;
  color: var(--coral-deep);
  font-size: 10px;
  font-weight: 730;
  letter-spacing: 0.08em;
}

.wizard-head h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.wizard-head p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.wizard-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.wizard-actions .button {
  flex: 1;
}

.birth-name-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: -3px 0 16px;
  padding: 10px 12px;
  border: 1px dashed rgba(203, 131, 145, 0.28);
  border-radius: 13px;
  background: rgba(255, 250, 249, 0.64);
  color: #a2717e;
  font-size: 9px;
  line-height: 1.45;
  transition: 180ms ease;
}

.birth-name-hint .icon {
  width: 14px;
  height: 14px;
  flex: none;
}

.birth-name-hint strong {
  color: var(--coral-deep);
  font-weight: 780;
}

.birth-name-hint--found {
  border-color: rgba(217, 110, 99, 0.3);
  background: rgba(250, 229, 225, 0.72);
}

.chip--check {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  user-select: none;
}

.chip--check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.chip--check:has(input:checked) {
  border-color: rgba(217, 110, 99, 0.27);
  background: var(--rose);
  color: var(--coral-deep);
  font-weight: 720;
}

.chip--check:has(input:checked) span::before {
  content: "✓ ";
}

.personal-welcome {
  position: relative;
  overflow: hidden;
  padding: 28px 10px 14px;
  text-align: center;
}

.personal-welcome::before {
  position: absolute;
  top: -155px;
  left: 50%;
  width: 340px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 218, 224, 0.82), rgba(255, 251, 250, 0) 68%);
  content: "";
  transform: translateX(-50%);
}

.personal-welcome__flower {
  position: relative;
  z-index: 1;
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  place-items: center;
  border: 1px solid rgba(222, 153, 166, 0.22);
  border-radius: 23px;
  background: linear-gradient(145deg, #fff8f6, #f8dbe2);
  box-shadow: 0 13px 30px rgba(188, 102, 119, 0.13);
  color: var(--coral-deep);
  transform: rotate(-4deg);
}

.personal-welcome__flower .icon {
  width: 29px;
  height: 29px;
}

.personal-welcome__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: #ae7885;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.12em;
}

.personal-welcome h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(31px, 9vw, 41px);
  font-weight: 790;
  letter-spacing: -0.055em;
  line-height: 1.16;
}

.personal-welcome h2 em {
  color: var(--coral-deep);
  font-style: normal;
}

.personal-welcome > p:not(.personal-welcome__eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 335px;
  margin: 14px auto 21px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.72;
}

.personal-welcome__note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 8px;
}

.personal-welcome__note .icon {
  width: 12px;
  height: 12px;
}

.personal-welcome__spark {
  position: absolute;
  z-index: 1;
  color: #e7a5b4;
  animation: spark-float 2.6s ease-in-out infinite;
}

.personal-welcome__spark--one {
  top: 46px;
  left: 12%;
  font-size: 17px;
}

.personal-welcome__spark--two {
  top: 104px;
  right: 11%;
  font-size: 22px;
  animation-delay: -900ms;
}

.personal-welcome__spark--three {
  top: 177px;
  left: 16%;
  font-size: 13px;
  animation-delay: -1.4s;
}

.demo-button {
  width: 100%;
  margin-top: 9px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.share-code {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 11px 12px;
  border: 1px dashed rgba(185, 77, 71, 0.26);
  border-radius: 13px;
  background: rgba(250, 234, 230, 0.38);
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.45;
}

.share-code .icon {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--coral-deep);
}

.companion-page {
  width: min(100% - 32px, 540px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: var(--safe-top) 0 calc(28px + var(--safe-bottom));
}

.companion-page__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.companion-view-hero {
  position: relative;
  overflow: hidden;
  margin-top: 25px;
  padding: 28px 24px;
  border-radius: 32px;
  background: linear-gradient(145deg, #3b302c, #56423a);
  box-shadow: 0 25px 60px rgba(61, 43, 35, 0.24);
  color: #fffaf2;
}

.companion-view-hero::before {
  position: absolute;
  top: -52px;
  right: -52px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.companion-view-hero__greeting {
  color: rgba(255, 250, 242, 0.57);
  font-size: 11px;
  font-weight: 600;
}

.companion-view-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 380px;
  margin: 12px 0 0;
  font-size: 32px;
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 1.22;
}

.companion-view-hero h1 em {
  color: #f2bba8;
  font-style: normal;
}

.companion-date-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 25px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.companion-date-card__label {
  display: block;
  color: rgba(255, 250, 242, 0.48);
  font-size: 9px;
}

.companion-date-card__date {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 720;
}

.companion-date-card__badge {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(169, 184, 165, 0.2);
  color: #d7e4d2;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.companion-tip {
  position: relative;
  margin-top: 14px;
  padding: 18px;
}

.companion-tip__number {
  color: var(--coral-deep);
  font-family: "SF Pro Rounded", sans-serif;
  font-size: 10px;
  font-weight: 760;
}

.companion-tip h3 {
  margin: 8px 0 5px;
  font-size: 14px;
  font-weight: 750;
}

.companion-tip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.7;
}

.companion-thanks {
  margin: 25px 0 14px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
  text-align: center;
}

.toast-root {
  position: fixed;
  z-index: 120;
  right: 16px;
  bottom: calc(102px + env(safe-area-inset-bottom));
  left: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.toast {
  max-width: 390px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  background: rgba(48, 41, 39, 0.93);
  box-shadow: 0 15px 35px rgba(47, 34, 27, 0.2);
  color: #fffaf6;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  animation: toast-in 220ms ease both;
  backdrop-filter: blur(12px);
}

.fade-out {
  animation: toast-out 200ms ease both;
}

.empty-page {
  display: grid;
  min-height: 60vh;
  place-items: center;
  text-align: center;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes sheet-up {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes mini-girl-pop {
  from {
    opacity: 0;
    transform: translateY(13px) scale(0.82);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes welcome-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loader-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes spark-float {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(0) rotate(-7deg);
  }
  50% {
    opacity: 0.95;
    transform: translateY(-7px) rotate(6deg);
  }
}

@media (min-width: 680px) {
  .app {
    padding-right: 30px;
    padding-left: 30px;
  }

  .hero-card {
    min-height: 290px;
    padding: 28px;
  }

  .hero-main {
    grid-template-columns: minmax(0, 1fr) 165px;
  }

  .cycle-ring {
    width: 150px;
    height: 150px;
  }

  .cycle-ring::before {
    inset: 10px;
  }

  .cycle-ring__inner {
    width: 116px;
    height: 116px;
  }

  .calendar-card {
    padding: 18px 16px 22px;
  }

  .calendar-cell {
    min-height: 58px;
  }

  .calendar-day {
    width: 44px;
    height: 44px;
    font-size: 13px;
  }
}

@media (max-width: 370px) {
  .app {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-main {
    grid-template-columns: minmax(0, 1fr) 108px;
  }

  .cycle-ring {
    width: 104px;
    height: 104px;
  }

  .cycle-ring__inner {
    width: 80px;
    height: 80px;
  }

  .cycle-ring__day {
    font-size: 22px;
  }

  .quick-action {
    min-height: 98px;
    padding: 12px;
  }

  .stat-card__value {
    font-size: 24px;
  }
}

@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;
  }
}
