
:root {
  --navy: #233472;
  --navy-deep: #18275d;
  --navy-soft: #344787;
  --pink: #f27bc1;
  --pink-dark: #d954a9;
  --pink-soft: #ffd8eb;
  --cream: #fff7f2;
  --lavender: #b9a4ea;
  --lavender-soft: #eee7ff;
  --gold: #f3ba55;
  --blue: #72c6ef;
  --green: #62c59d;
  --white: #fff;
  --text: #343663;
  --muted: #787ca8;
  --shadow: 0 12px 28px rgba(20, 31, 78, 0.18);
  --shadow-soft: 0 7px 18px rgba(20, 31, 78, 0.12);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 15px;
  --radius-sm: 11px;
  --phone-width: 390px;
  --phone-height: 844px;
}

:root[data-theme="lavender"] {
  --pink: #a98be8;
  --pink-dark: #8062c4;
  --pink-soft: #e7ddff;
  --cream: #f8f5ff;
  --navy: #31306f;
  --navy-deep: #202051;
  --navy-soft: #4a478e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(242, 123, 193, .24), transparent 28%),
    radial-gradient(circle at 85% 90%, rgba(185, 164, 234, .34), transparent 30%),
    #eef1fb;
}

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

button {
  color: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

.app-stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.phone-scale {
  --preview-scale: 1;
  width: calc(var(--phone-width) * var(--preview-scale));
  height: calc(var(--phone-height) * var(--preview-scale));
}

.phone-shell {
  position: relative;
  width: var(--phone-width);
  height: var(--phone-height);
  min-height: 0;
  transform: scale(var(--preview-scale));
  transform-origin: top left;
  border-radius: 44px;
  overflow: hidden;
  background: #111827;
  padding: 11px;
  box-shadow:
    0 26px 60px rgba(17, 24, 60, 0.35),
    inset 0 0 0 2px rgba(255,255,255,.22),
    inset 0 0 0 5px rgba(0,0,0,.55);
}

.phone-shell::before {
  content: "";
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 15px;
  width: 126px;
  height: 27px;
  transform: translateX(-50%);
  border-radius: 0 0 17px 17px;
  background: #0d111c;
  box-shadow: 0 2px 0 rgba(255,255,255,.08);
  pointer-events: none;
}

#app {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 35px;
  background: var(--navy);
}

.screen {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, .08), transparent 17%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.screen-content {
  position: relative;
  padding: 16px 16px 28px;
}

.screen-content.is-scrollable {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.screen-content.is-scrollable::-webkit-scrollbar {
  display: none;
}

.topbar {
  position: relative;
  z-index: 4;
  min-height: 64px;
  padding: 22px 13px 8px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  color: white;
  background: linear-gradient(180deg, rgba(18, 29, 77, .98), rgba(31, 49, 108, .92));
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: -4px;
  height: 1px;
  background: rgba(255,255,255,.18);
}

.topbar-copy {
  min-width: 0;
  text-align: left;
}

.topbar-copy h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
  color: white;
  letter-spacing: -.3px;
}

.topbar-copy small {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.7);
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
}

.topbar-spacer {
  width: 35px;
}

.topbar-search {
  height: 34px;
  padding: 0 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  background: var(--cream);
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.topbar-search span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icon-button {
  position: relative;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: white;
  background: transparent;
  cursor: pointer;
}

.icon-button:hover {
  background: rgba(255,255,255,.1);
}

.icon {
  flex: 0 0 auto;
}

.notification-dot {
  position: absolute;
  right: 3px;
  top: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff639f;
  border: 2px solid var(--navy);
}

.bottom-nav {
  position: relative;
  z-index: 5;
  min-height: 72px;
  padding: 7px 20px 9px;
  display: grid;
  grid-template-columns: 1fr 92px 1fr;
  align-items: end;
  color: white;
  background: linear-gradient(180deg, #f58cc9, #ea72bb);
  box-shadow: 0 -8px 20px rgba(14, 26, 69, .18);
}

.bottom-nav__item,
.bottom-nav__brand {
  border: 0;
  background: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.bottom-nav__item {
  flex-direction: column;
  gap: 1px;
  font-size: 9px;
  opacity: .94;
}

.bottom-nav__brand {
  position: relative;
  height: 68px;
  flex-direction: column;
  transform: translateY(-11px);
  font-weight: 800;
  font-size: 10px;
}

.bottom-nav__logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.8);
  background: white;
  box-shadow: 0 6px 16px rgba(73, 31, 102, .28);
}

.bottom-nav__brand span {
  margin-top: -4px;
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}

.card {
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,.75);
}

.button {
  min-height: 46px;
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  letter-spacing: .1px;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}

.button:active {
  transform: scale(.98);
}

.button--primary {
  color: white;
  background: linear-gradient(180deg, #f48ac7, #e868b6);
  box-shadow: 0 7px 15px rgba(226, 92, 174, .27), inset 0 1px 0 rgba(255,255,255,.45);
}

.button--outline {
  color: white;
  background: rgba(255,255,255,.03);
  border: 2px solid rgba(248, 138, 205, .8);
}

.button--dark {
  color: white;
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,.2);
}

.button.is-complete {
  background: var(--green);
}

.button-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.button-row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.button-row--three .button {
  padding: 0 7px;
  font-size: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  padding-left: 7px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.field__control {
  min-height: 47px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 14px;
  background: var(--cream);
  border: 2px solid rgba(228, 210, 237, .9);
  color: #6b6d99;
  box-shadow: 0 5px 11px rgba(28, 39, 87, .08);
}

.field__control input,
.field__control textarea,
.field__control select {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
}

.field__control textarea {
  min-height: 90px;
  resize: vertical;
  padding: 13px 0;
}

.field-suffix {
  border: 0;
  background: none;
  color: var(--muted);
}

.search-box {
  height: 43px;
  border-radius: 16px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #df67ae;
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.search-box button {
  border: 0;
  background: transparent;
  color: var(--pink-dark);
}

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

.chip {
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(242, 123, 193, .35);
  color: #7779a4;
  background: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.chip.is-active,
.chip:hover {
  color: white;
  background: var(--pink);
  border-color: var(--pink);
}

.section-title {
  margin: 18px 1px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.section-title h2 {
  margin: 0;
  font-size: 15px;
}

.section-title h2::before {
  content: "♥";
  color: var(--pink);
  margin-right: 6px;
}

.section-title button {
  border: 0;
  color: rgba(255,255,255,.72);
  background: transparent;
  font-size: 11px;
}

.feature-list {
  display: grid;
  gap: 13px;
}

.feature-card {
  width: 100%;
  min-height: 112px;
  padding: 8px 10px;
  border: 0;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 106px 1fr 24px;
  align-items: center;
  text-align: left;
  color: var(--text);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.feature-card--pink {
  background: #fff0f7;
}

.feature-card__image {
  height: 94px;
  display: grid;
  place-items: center;
}

.feature-card__image img {
  max-height: 94px;
  max-width: 105px;
  object-fit: contain;
}

.feature-card__copy {
  display: grid;
  gap: 3px;
}

.feature-card__copy strong {
  font-size: 21px;
  line-height: 1;
}

.feature-card__copy small {
  color: #7d7fa7;
  font-size: 11px;
  line-height: 1.35;
}

.feature-card__arrow {
  color: var(--pink-dark);
}

.list-row {
  width: 100%;
  min-height: 76px;
  margin-bottom: 9px;
  padding: 8px 11px;
  border: 0;
  border-radius: 15px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: var(--text);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.list-row__image {
  width: 61px;
  height: 61px;
  object-fit: contain;
  border-radius: 13px;
}

.list-row__icon {
  width: 37px;
  height: 37px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #7654a9;
  background: linear-gradient(135deg, #f3d7f2, #d9d0ff);
}

.list-row__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.list-row__copy strong {
  font-size: 14px;
  line-height: 1.15;
}

.list-row__copy small {
  color: #8587aa;
  font-size: 10px;
  line-height: 1.25;
}

.list-row__trailing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--pink-dark);
}

.round-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: white;
  background: var(--pink);
}

.switch {
  width: 42px;
  height: 23px;
  padding: 3px;
  border-radius: 999px;
  display: inline-flex;
  justify-content: flex-start;
  background: #d4d3df;
  transition: background .2s;
}

.switch span {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,.17);
  transition: transform .2s;
}

.switch.is-on,
.list-row:nth-child(-n+4) .switch {
  background: var(--pink);
}

.switch.is-on span,
.list-row:nth-child(-n+4) .switch span {
  transform: translateX(19px);
}

.progress-wrap {
  width: 100%;
  display: grid;
  gap: 5px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}

.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(191, 180, 218, .35);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f49acb, #ed61b4);
}

.stat-card {
  min-width: 0;
  min-height: 86px;
  padding: 9px 5px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  gap: 1px;
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.stat-card span {
  color: #ed72b7;
}

.stat-card strong {
  font-size: 18px;
}

.stat-card small {
  text-align: center;
  color: #8587a8;
  font-size: 9px;
}

.stat-card--gold span {
  color: var(--gold);
}

.stat-card--lavender span {
  color: #7c68cf;
}

.decorative-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.decorative-stars i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fba9d3;
  box-shadow: 0 0 9px #ffb2da;
}

.decorative-stars i:nth-child(1) { left: 13%; top: 11%; }
.decorative-stars i:nth-child(2) { left: 84%; top: 15%; width: 8px; height: 8px; clip-path: polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%); }
.decorative-stars i:nth-child(3) { left: 21%; top: 40%; width: 7px; height: 7px; }
.decorative-stars i:nth-child(4) { left: 76%; top: 49%; }
.decorative-stars i:nth-child(5) { left: 8%; top: 77%; width: 7px; height: 7px; }
.decorative-stars i:nth-child(6) { left: 88%; top: 80%; }

.splash-screen,
.onboarding-screen {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 50% 38%, rgba(173, 128, 219, .27), transparent 26%),
    linear-gradient(180deg, #1e2e69 0%, #18265c 100%);
}

.splash-content,
.onboarding-content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 70px 26px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.splash-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.splash-content h1 {
  margin: 1px 0 0;
  font-size: 40px;
  line-height: 1;
}

.splash-content h2 {
  margin: 13px 0 4px;
  font-size: 43px;
  line-height: .94;
  color: white;
}

.splash-content h2 span,
.onboarding-content h1 span {
  color: #f6a2d0;
}

.splash-content p {
  margin: 9px 0;
  padding: 6px 13px;
  border-radius: 999px;
  color: #59608f;
  background: rgba(255,255,255,.84);
  font-size: 11px;
  font-weight: 800;
}

.splash-girl {
  width: 218px;
  max-height: 290px;
  margin-top: auto;
  object-fit: contain;
}

.splash-start {
  margin-top: 3px;
}

.onboarding-content {
  padding-top: 62px;
}

.onboarding-content h1 {
  margin: 0;
  font-size: 38px;
  line-height: .95;
}

.onboarding-hero {
  width: 100%;
  max-height: 430px;
  margin-top: 15px;
  object-fit: contain;
}

.onboarding-content p {
  max-width: 290px;
  margin: 0 auto 10px;
  color: rgba(255,255,255,.9);
  font-size: 15px;
  line-height: 1.35;
}

.page-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.page-dots i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.4);
}

.page-dots i.is-active {
  width: 19px;
  background: var(--pink);
}

.text-link {
  border: 0;
  color: rgba(255,255,255,.75);
  background: transparent;
  font-weight: 800;
}

.text-link--center {
  display: block;
  margin: 9px auto 0;
}

.auth-screen .screen-content {
  padding: 17px 24px 22px;
  color: white;
}

.auth-brand {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  margin-bottom: 14px;
}

.auth-brand__logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.auth-brand h2 {
  margin: -3px 0 3px;
  color: white;
  font-size: 37px;
}

.auth-brand span {
  padding: 4px 10px;
  border-radius: 999px;
  color: #6b6898;
  background: var(--cream);
  font-size: 9px;
  font-weight: 800;
}

.auth-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 11px;
}

.remember {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}

.remember input {
  display: none;
}

.remember span {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: var(--pink-dark);
  background: white;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

.auth-links button,
.auth-question button {
  border: 0;
  color: #ff9bd2;
  background: transparent;
  font-weight: 800;
}

.auth-question {
  text-align: center;
  font-size: 11px;
}

.auth-illustration {
  display: block;
  max-height: 260px;
  margin: 12px auto;
  object-fit: contain;
}

.auth-illustration--wide {
  width: 280px;
}

.auth-illustration--verify {
  width: 245px;
  max-height: 215px;
}

.auth-illustration--shield {
  width: 210px;
  max-height: 180px;
}

.helper-text,
.center-copy p {
  margin: 0;
  color: rgba(255,255,255,.76);
  text-align: center;
  font-size: 11px;
}

.center-copy {
  text-align: center;
}

.center-copy h2 {
  margin: 7px 0;
  color: white;
  font-size: 19px;
}

.otp-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  margin: 15px 0 10px;
}

.otp-row input {
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 10px;
  outline: 0;
  text-align: center;
  color: var(--text);
  background: var(--cream);
  font-size: 20px;
  font-weight: 900;
}

.countdown {
  width: max-content;
  margin: 0 auto 16px;
  padding: 7px 11px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.1);
  font-size: 10px;
}

.password-tips-card {
  padding: 8px 10px;
}

.password-tips {
  display: grid;
  grid-template-columns: 1fr 90px;
  align-items: center;
  color: var(--text);
}

.password-tips strong {
  font-size: 11px;
}

.password-tips ul {
  margin: 5px 0 0;
  padding-left: 14px;
  font-size: 8px;
  line-height: 1.5;
}

.password-tips img {
  max-height: 90px;
}

.results-meta {
  margin: 10px 2px;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 11px;
}

.results-meta button {
  border: 0;
  color: white;
  background: transparent;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.topic-card {
  min-width: 0;
  min-height: 120px;
  padding: 6px;
  border: 0;
  border-radius: 14px;
  color: var(--text);
  background: linear-gradient(180deg, #ffe4ef, #fff8f3);
  box-shadow: var(--shadow-soft);
}

.topic-card img {
  width: 100%;
  height: 78px;
  object-fit: contain;
}

.topic-card span {
  display: block;
  font-size: 10px;
  font-weight: 900;
}

.hero-card {
  margin-bottom: 16px;
  min-height: 250px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.hero-card__visual {
  height: 145px;
  display: grid;
  place-items: center;
}

.hero-card__image {
  max-height: 145px;
  object-fit: contain;
}

.hero-card__copy h2 {
  margin: 0;
  color: #b05aa2;
  font-size: 23px;
}

.hero-card__copy p {
  margin: 5px 0 0;
  width: 70%;
  color: #767aa2;
  font-size: 11px;
}

.hero-card__button {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 45px;
  min-height: 39px;
  padding: 0;
  border-radius: 50%;
}

.module-list .list-row {
  min-height: 98px;
}

.module-list .list-row__image {
  width: 85px;
  height: 78px;
}

.module-list .list-row__copy strong {
  color: #b2569d;
  font-size: 15px;
}

.cycle-hero {
  height: 250px;
  display: grid;
  place-items: center;
}

.cycle-hero img {
  width: 100%;
  max-height: 245px;
  object-fit: contain;
}

.phase-list .list-row {
  min-height: 72px;
}

.phase-list .list-row__image {
  width: 52px;
  height: 52px;
}

.material-infographic {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  border-radius: 20px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.material-card {
  margin: 12px 0;
  padding: 16px;
}

.material-card h2 {
  margin: 0 0 10px;
  color: #b060a4;
}

.material-points p {
  position: relative;
  margin: 9px 0;
  padding-left: 34px;
  color: #6c6f98;
  font-size: 11px;
}

.material-points p span {
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: #b5a2e5;
}

.reader-cover,
.reader-content {
  padding: 15px;
  margin-bottom: 12px;
}

.reader-heading {
  display: grid;
  grid-template-columns: 1fr 120px;
  align-items: center;
}

.reader-heading span {
  color: #b760a5;
  font-size: 10px;
  font-weight: 900;
}

.reader-heading h2 {
  margin: 4px 0;
  color: var(--navy);
  font-size: 28px;
  line-height: .9;
}

.reader-heading img {
  grid-column: 2;
  grid-row: 1 / 4;
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.reader-cover p,
.reader-content p,
.reader-content li {
  color: #696d95;
  font-size: 10px;
  line-height: 1.45;
}

.reader-content h3 {
  margin: 10px 0 5px;
  color: #9e5e9d;
  font-size: 13px;
}

.reader-content ul {
  padding-left: 18px;
}

.video-list,
.tip-list,
.music-list,
.profile-menu,
.settings-list,
.reminder-list,
.history-list,
.notification-list,
.help-list,
.quiz-type-list,
.result-list {
  display: grid;
}

.video-card {
  width: 100%;
  margin-bottom: 13px;
  padding: 9px;
  border: 0;
  border-radius: 17px;
  display: grid;
  grid-template-columns: 145px 1fr 18px;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: var(--text);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.video-card__thumb {
  position: relative;
  height: 100px;
  overflow: hidden;
  border-radius: 13px;
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__thumb span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--pink);
}

.video-card > div:nth-child(2) {
  display: grid;
  gap: 5px;
}

.video-card strong {
  font-size: 14px;
}

.video-card small {
  color: #8587aa;
  font-size: 10px;
}

.video-player {
  position: relative;
  height: 210px;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  box-shadow: var(--shadow);
}

.video-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-player__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(242,123,193,.9);
}

.video-player__bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
}

.video-player__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--pink);
}

.video-copy {
  color: white;
}

.video-copy h2 {
  margin: 14px 0 5px;
  font-size: 18px;
}

.video-copy p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  line-height: 1.45;
}

.calendar-card {
  padding: 18px 13px;
  margin-bottom: 13px;
}

.calendar-heading {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  text-align: center;
  color: #b360a5;
}

.calendar-heading h2 {
  margin: 0;
  font-size: 25px;
}

.calendar-heading button {
  border: 0;
  color: var(--pink-dark);
  background: transparent;
  font-size: 24px;
}

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

.calendar-week {
  margin: 12px 0 7px;
}

.calendar-week span {
  border-radius: 8px;
  padding: 4px 0;
  text-align: center;
  color: white;
  background: #df88ba;
  font-size: 8px;
  font-weight: 900;
}

.calendar-grid button {
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  color: #77799c;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.calendar-grid button.is-period {
  color: #d95a9f;
  background: #ffe0ee;
}

.calendar-grid button.is-today {
  outline: 2px solid #ed78ba;
}

.date-card {
  width: 125px;
  margin: 0 auto 12px;
  padding: 10px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  text-align: center;
  color: var(--pink-dark);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.date-card strong {
  font-size: 28px;
}

.date-card span {
  grid-column: 1 / 3;
  font-size: 11px;
}

.note-section {
  margin-bottom: 10px;
  padding: 12px;
}

.note-section h3 {
  margin: 0;
  font-size: 13px;
}

.note-section p {
  margin: 2px 0 9px;
  color: #888aaa;
  font-size: 9px;
}

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

.emoji-row button {
  aspect-ratio: 1;
  border: 0;
  border-radius: 13px;
  background: #fff1f6;
  font-size: 23px;
}

.emoji-row button.is-active {
  outline: 2px solid var(--pink);
  background: #ffd7eb;
}

.flow-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.flow-options button {
  padding: 9px 4px;
  border: 0;
  border-radius: 12px;
  color: #8a7ca7;
  background: #fff1f6;
  font-size: 9px;
}

.flow-options button span {
  display: block;
  color: var(--pink);
}

.flow-options button.is-active {
  outline: 2px solid var(--pink);
}

.range {
  width: 100%;
  accent-color: var(--pink);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: #999ab4;
  font-size: 8px;
}

.reminder-hero {
  min-height: 120px;
  padding: 8px 14px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  color: var(--text);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.reminder-hero img {
  max-height: 110px;
  object-fit: contain;
}

.reminder-hero div {
  padding: 10px;
  border-radius: 14px;
  background: #fff0f7;
  font-weight: 900;
  line-height: 1.35;
}

.time-card {
  padding: 12px;
  margin-bottom: 10px;
}

.time-card h3 {
  margin: 0 0 8px;
  font-size: 12px;
}

.time-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 8px;
  align-items: center;
}

.time-row select {
  height: 36px;
  border-radius: 10px;
  border: 1px solid #eed6e5;
  color: var(--text);
  background: white;
}

.music-feature-card {
  padding: 9px;
  margin-bottom: 12px;
}

.music-feature {
  display: grid;
  grid-template-columns: 120px 1fr 40px;
  align-items: center;
  gap: 10px;
}

.music-feature > img {
  width: 120px;
  height: 130px;
  object-fit: contain;
  border-radius: 13px;
}

.music-feature span {
  color: var(--pink-dark);
  font-size: 9px;
  font-weight: 900;
}

.music-feature h2 {
  margin: 2px 0 5px;
  font-size: 20px;
  line-height: 1;
}

.music-feature p {
  margin: 0;
  color: #8587a7;
  font-size: 9px;
  line-height: 1.4;
}

.mini-player {
  position: sticky;
  bottom: 0;
  min-height: 56px;
  padding: 6px 12px;
  border-radius: 15px 15px 0 0;
  display: grid;
  grid-template-columns: 45px 1fr 32px 32px;
  align-items: center;
  gap: 8px;
  color: white;
  background: linear-gradient(90deg, #8a60bd, #c56fb2);
  box-shadow: 0 -8px 20px rgba(12,20,60,.2);
}

.mini-player img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
}

.mini-player div {
  display: grid;
}

.mini-player strong {
  font-size: 10px;
}

.mini-player small {
  font-size: 8px;
  opacity: .8;
}

.mini-player button {
  border: 0;
  color: white;
  background: transparent;
}

.date-pill {
  width: max-content;
  margin: 0 auto 11px;
  padding: 7px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8a78a4;
  background: var(--cream);
  font-size: 10px;
  font-weight: 800;
}

.mood-card {
  padding: 14px;
}

.mood-title {
  text-align: center;
}

.mood-title span {
  color: var(--pink);
}

.mood-title h2 {
  margin: 3px 0;
  font-size: 17px;
}

.mood-title p {
  margin: 0 0 12px;
  color: #8a8bad;
  font-size: 10px;
}

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

.mood-option {
  position: relative;
  padding: 5px 4px 7px;
  border: 0;
  border-radius: 14px;
  color: var(--text);
  background: #fff5f8;
}

.mood-option img {
  width: 100%;
  height: 88px;
  object-fit: contain;
}

.mood-option span {
  font-size: 10px;
  font-weight: 900;
}

.mood-option.is-selected {
  outline: 2px solid var(--pink);
  background: #ffe1ee;
}

.selfcare-hero {
  min-height: 130px;
  padding: 8px 11px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 75px 1fr 115px;
  align-items: center;
  color: white;
  background: linear-gradient(135deg, #f684bf, #a878d7);
  box-shadow: var(--shadow);
}

.selfcare-hero > div {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--pink-dark);
  background: white;
}

.selfcare-hero > div span,
.selfcare-hero > div small {
  font-size: 8px;
}

.selfcare-hero > div strong {
  font-size: 22px;
  line-height: .9;
}

.selfcare-hero p {
  margin: 0;
  font-size: 11px;
  font-weight: 900;
}

.selfcare-hero img {
  max-height: 120px;
  object-fit: contain;
}

.week-strip {
  margin: 10px 0;
  padding: 8px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  background: rgba(255,255,255,.09);
}

.week-strip button {
  padding: 5px 0;
  border: 0;
  border-radius: 9px;
  color: white;
  background: transparent;
}

.week-strip button span,
.week-strip button strong {
  display: block;
  font-size: 8px;
}

.week-strip button.is-active {
  background: var(--pink);
}

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

.activity-card {
  position: relative;
  min-height: 148px;
  padding: 6px 5px;
  border: 0;
  border-radius: 14px;
  display: grid;
  align-content: start;
  justify-items: center;
  color: var(--text);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.activity-card img {
  width: 100%;
  height: 80px;
  object-fit: contain;
}

.activity-card strong {
  font-size: 9px;
}

.activity-card small {
  color: #8b8ca9;
  font-size: 8px;
}

.activity-card > span {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: #c6c6d6;
  font-size: 10px;
}

.activity-card.is-done > span {
  background: var(--pink);
}

blockquote {
  margin: 12px 0;
  padding: 12px;
  border-radius: 13px;
  color: white;
  background: rgba(157, 116, 211, .88);
  text-align: center;
  font-size: 10px;
}

.game-choice-grid {
  padding-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.game-choice-grid button {
  min-height: 240px;
  padding: 9px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 22px;
  color: var(--text);
  background: linear-gradient(180deg, #ffe5f0, #f1e8ff);
  box-shadow: var(--shadow);
}

.game-choice-grid button:last-child {
  grid-column: 1 / 3;
  width: 50%;
  justify-self: center;
}

.game-choice-grid img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

.game-choice-grid strong {
  color: #5c4a91;
  font-size: 16px;
}

.game-choice-grid--quiz button {
  min-height: 218px;
}

.game-choice-grid--quiz button:last-child {
  grid-column: 1 / 3;
}

.quiz-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.small-count {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 999px;
  color: #9c77a7;
  background: #f5e5f2;
  font-size: 8px;
}

.quiz-header-row {
  display: flex;
  justify-content: flex-end;
  color: white;
}

.quiz-header-row span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}

.quiz-question-card {
  margin: 10px 0;
  padding: 14px;
  text-align: center;
}

.quiz-label {
  color: #7c6ea4;
  font-size: 9px;
  font-weight: 900;
}

.quiz-label span:first-child {
  color: #56b677;
}

.quiz-label span:nth-child(2) {
  color: #e5649e;
}

.quiz-question-card h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.1;
}

.quiz-question-image {
  max-height: 180px;
  margin: 2px auto 0;
  object-fit: contain;
}

.answer-list {
  display: grid;
  gap: 7px;
  margin-bottom: 10px;
}

.answer-list button {
  min-height: 40px;
  padding: 0 13px;
  border: 0;
  border-radius: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  background: var(--cream);
  font-weight: 900;
}

.answer-list button:nth-child(1) { border-left: 7px solid #65c47d; }
.answer-list button:nth-child(2) { border-left: 7px solid #ef72a4; }
.answer-list button:nth-child(3) { border-left: 7px solid #e6b24c; }
.answer-list button:nth-child(4) { border-left: 7px solid #6fb6e8; }

.answer-list button.is-selected {
  outline: 3px solid var(--pink);
}

.question-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 10px;
}

.heart-life {
  text-align: right;
  color: #ff87c1;
  letter-spacing: 4px;
  font-size: 18px;
}

.myth-card {
  margin: 8px 0;
  padding: 12px;
}

.myth-layout {
  min-height: 230px;
  display: grid;
  grid-template-columns: 1fr 140px;
  align-items: center;
}

.myth-layout h2 {
  margin: 0;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.05;
}

.myth-layout h2 span {
  color: var(--pink-dark);
}

.myth-layout img {
  max-height: 220px;
  object-fit: contain;
}

.myth-buttons {
  display: grid;
  gap: 8px;
  margin-bottom: 9px;
}

.myth-buttons button {
  min-height: 45px;
  border: 0;
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  font-weight: 900;
}

.myth-button {
  color: #a63b72;
  background: #ffd1e3;
}

.fact-button {
  color: #6855a0;
  background: #ded3fb;
}

.result-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.result-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.result-score {
  position: relative;
  z-index: 1;
  margin-top: 110px;
  text-align: center;
}

.result-score > span {
  display: block;
  padding: 4px 14px;
  color: white;
  background: #ee68b5;
  font-size: 22px;
  font-weight: 900;
  transform: rotate(-2deg);
}

.result-score strong {
  display: block;
  color: var(--navy);
  font-size: 68px;
  line-height: .95;
}

.result-score small {
  font-size: 20px;
}

.result-score p {
  max-width: 220px;
  margin: 3px auto;
  color: #6c6e94;
  font-size: 10px;
}

.reward-title {
  text-align: center;
  color: white;
  font-size: 11px;
  font-weight: 900;
}

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

.reward-grid div {
  padding: 6px;
  border-radius: 13px;
  text-align: center;
  background: var(--cream);
}

.reward-grid img {
  width: 100%;
  height: 85px;
  object-fit: contain;
}

.reward-grid span {
  font-size: 9px;
  font-weight: 900;
}

.game-stat-row,
.game-level-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.game-stat-row span,
.game-level-row > span,
.game-level-row > strong {
  padding: 8px 10px;
  border-radius: 13px;
  color: var(--text);
  background: var(--cream);
  font-size: 10px;
}

.game-stat-row strong {
  display: block;
  color: var(--pink-dark);
}

.puzzle-board {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--cream);
}

.puzzle-board > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.puzzle-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, transparent 33.1%, white 33.1%, white 33.7%, transparent 33.7%, transparent 66.3%, white 66.3%, white 66.9%, transparent 66.9%),
    linear-gradient(to bottom, transparent 33.1%, white 33.1%, white 33.7%, transparent 33.7%, transparent 66.3%, white 66.3%, white 66.9%, transparent 66.9%);
  opacity: .8;
}

.puzzle-progress {
  width: max-content;
  margin: 12px auto;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--pink-dark);
  background: var(--cream);
  font-size: 11px;
}

.game-level-row {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  color: white;
}

.tts-board {
  width: 100%;
  aspect-ratio: 1;
  padding: 18px;
  border-radius: 19px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 3px;
  background:
    radial-gradient(circle, rgba(255,255,255,.15) 1px, transparent 1px),
    rgba(95, 67, 143, .75);
  background-size: 17px 17px;
}

.tts-board span {
  border-radius: 3px;
  background: transparent;
}

.tts-board span.is-filled {
  display: grid;
  place-items: center;
  color: var(--pink-dark);
  background: white;
  font-size: 10px;
  font-weight: 900;
}

.tts-clues {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 10px 0;
}

.tts-clues .card {
  padding: 10px;
}

.tts-clues h3 {
  margin: 0 0 4px;
  color: var(--pink-dark);
  font-size: 11px;
}

.tts-clues ol {
  margin: 0;
  padding-left: 15px;
  color: #74779e;
  font-size: 8px;
}

.snakes-meta {
  padding: 8px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  align-items: center;
  color: var(--text);
  background: var(--cream);
}

.snakes-meta div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.snakes-meta img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.snakes-meta span {
  font-size: 9px;
}

.snakes-board {
  margin: 10px 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.snakes-board img {
  width: 100%;
}

.dice-row {
  display: grid;
  grid-template-columns: 55px 1fr 62px;
  align-items: center;
  gap: 8px;
}

.dice-row > div {
  text-align: center;
  color: white;
}

.dice-row > div img {
  width: 45px;
  height: 45px;
  margin: auto;
  object-fit: contain;
}

.dice-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.dice-img.is-rolling {
  animation: dice-roll .55s ease;
}

@keyframes dice-roll {
  to { transform: rotate(720deg) scale(1.08); }
}

.body-progress {
  color: white;
  text-align: center;
  font-size: 11px;
}

.body-map {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 95px 1fr 95px;
  align-items: center;
  gap: 2px;
}

.body-character {
  width: 100%;
  max-height: 410px;
  object-fit: contain;
}

.body-map__side {
  display: grid;
  gap: 12px;
}

.body-map__side button {
  min-height: 105px;
  padding: 5px;
  border: 0;
  border-radius: 12px;
  color: var(--text);
  background: var(--cream);
}

.body-map__side img {
  width: 100%;
  height: 62px;
  object-fit: contain;
}

.body-map__side strong {
  font-size: 8px;
}

.body-guide {
  margin: 8px 0;
  padding: 6px 10px;
  border-radius: 13px;
  display: grid;
  grid-template-columns: 85px 1fr;
  align-items: center;
  color: #7c6e99;
  background: var(--cream);
}

.body-guide img {
  max-height: 70px;
  object-fit: contain;
}

.body-guide p {
  margin: 0;
  font-size: 9px;
}

.body-system-title {
  margin: 8px 0;
  color: white;
  font-size: 12px;
}

.system-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.system-strip button {
  padding: 4px;
  border: 0;
  border-radius: 10px;
  color: var(--text);
  background: var(--cream);
}

.system-strip img {
  width: 100%;
  height: 45px;
  object-fit: contain;
}

.system-strip span {
  display: block;
  font-size: 6px;
}

.prendbot-hero {
  height: 170px;
  display: grid;
  place-items: center;
}

.prendbot-hero img {
  max-height: 170px;
  object-fit: contain;
}

.help-list .list-row.is-featured {
  min-height: 105px;
  background: #fff0f6;
}

.chat-screen .screen-content {
  padding-bottom: 5px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
}

.chat-intro {
  padding: 9px 11px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 8px;
  color: var(--text);
  background: var(--cream);
}

.chat-intro img,
.bubble img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.chat-intro p {
  margin: 0;
  font-size: 10px;
}

.chat-list {
  padding: 10px 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.chat-list::-webkit-scrollbar {
  display: none;
}

.bubble {
  margin-bottom: 8px;
  display: flex;
  gap: 7px;
  align-items: flex-end;
}

.bubble p {
  max-width: 75%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 10px;
  line-height: 1.35;
}

.bubble--bot p {
  color: var(--text);
  background: var(--cream);
  border-bottom-left-radius: 4px;
}

.bubble--user {
  justify-content: flex-end;
}

.bubble--user p {
  color: white;
  background: #bd75c0;
  border-bottom-right-radius: 4px;
}

.bubble img {
  width: 36px;
  height: 36px;
}

.quick-chat {
  display: flex;
  gap: 5px;
  overflow-x: auto;
}

.chat-composer {
  margin-top: 6px;
  min-height: 45px;
  padding: 4px 4px 4px 13px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 40px;
  background: var(--cream);
}

.chat-composer input {
  border: 0;
  outline: 0;
  background: transparent;
}

.chat-composer button {
  border: 0;
  border-radius: 12px;
  color: white;
  background: var(--pink);
}

.emergency-hero {
  padding: 8px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  color: var(--text);
  background: var(--cream);
}

.emergency-hero img {
  max-height: 120px;
  object-fit: contain;
}

.emergency-hero p {
  padding: 9px;
  border-radius: 12px;
  background: #fff0f5;
  font-size: 10px;
  font-weight: 900;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.contact-grid article {
  padding: 8px;
  border-radius: 14px;
  display: grid;
  justify-items: center;
  text-align: center;
  background: var(--cream);
}

.contact-grid img {
  width: 100%;
  height: 72px;
  object-fit: contain;
}

.contact-grid strong {
  font-size: 9px;
}

.contact-grid small {
  min-height: 25px;
  color: #8587aa;
  font-size: 7px;
}

.contact-grid button {
  width: 100%;
  min-height: 26px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--pink);
  font-size: 8px;
}

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

.calm-grid button {
  min-height: 115px;
  padding: 5px;
  border: 0;
  border-radius: 13px;
  color: var(--text);
  background: var(--cream);
}

.calm-grid img {
  width: 100%;
  height: 75px;
  object-fit: contain;
}

.calm-grid strong {
  display: block;
  font-size: 8px;
}

.emergency-note {
  margin: 7px 0 0;
  color: rgba(255,255,255,.7);
  text-align: center;
  font-size: 8px;
}

.notification-card {
  position: relative;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 17px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 8px;
  color: var(--text);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.notification-card img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.notification-card strong {
  font-size: 13px;
}

.notification-card p {
  margin: 4px 0;
  color: #7e81a3;
  font-size: 9px;
}

.notification-card span {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  color: #ae5b9c;
  background: #f5dff0;
  font-size: 7px;
}

.notification-card time {
  position: absolute;
  top: 8px;
  right: 9px;
  color: #b97da9;
  font-size: 7px;
}

.notification-footer {
  padding: 16px;
  text-align: center;
  color: white;
  font-weight: 900;
}

.notification-footer small {
  color: rgba(255,255,255,.68);
}

.profile-head {
  display: grid;
  grid-template-columns: 125px 1fr;
  align-items: center;
  gap: 13px;
  color: white;
}

.profile-head img {
  width: 125px;
  height: 125px;
  object-fit: contain;
}

.profile-head h2 {
  margin: 0;
  font-size: 27px;
}

.profile-head p {
  margin: 4px 0;
  font-size: 10px;
}

.profile-stats,
.history-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.edit-avatar {
  position: relative;
  width: 150px;
  margin: 0 auto 10px;
}

.edit-avatar img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.edit-avatar button {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: var(--pink);
}

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

.history-card {
  margin-bottom: 8px;
  padding: 8px;
  border-radius: 15px;
  display: grid;
  grid-template-columns: 65px 1fr auto;
  align-items: center;
  gap: 8px;
  color: var(--text);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.history-card img {
  width: 65px;
  height: 65px;
  object-fit: contain;
}

.history-card > div {
  display: grid;
  gap: 2px;
}

.history-card span {
  color: var(--pink-dark);
  font-size: 8px;
}

.history-card small {
  color: #8587a8;
  font-size: 7px;
}

.history-card b {
  align-self: start;
  color: #55b778;
  font-size: 8px;
}

.achievement-hero {
  padding: 10px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 125px 1fr;
  align-items: center;
  color: var(--text);
  background: var(--cream);
}

.achievement-hero > img {
  width: 125px;
  height: 125px;
  object-fit: contain;
}

.achievement-hero h2 {
  margin: 0;
  color: var(--pink-dark);
}

.achievement-hero p {
  margin: 3px 0 8px;
  font-size: 9px;
}

.achievement-hero > div > div {
  display: flex;
  gap: 5px;
}

.achievement-hero span {
  flex: 1;
  padding: 5px;
  border-radius: 8px;
  text-align: center;
  background: #f3e7f4;
  font-size: 6px;
}

.achievement-hero span strong {
  display: block;
  font-size: 9px;
}

.badge-heading,
.settings-heading {
  color: white;
  font-size: 12px;
}

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

.badge-grid article {
  padding: 5px;
  border-radius: 13px;
  display: grid;
  justify-items: center;
  color: var(--text);
  background: var(--cream);
}

.badge-grid img {
  width: 100%;
  height: 85px;
  object-fit: contain;
}

.badge-grid strong {
  font-size: 8px;
}

.badge-grid span {
  color: var(--pink-dark);
  font-size: 7px;
}

.reward-banner {
  margin-top: 10px;
  padding: 8px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 35px 1fr 62px;
  align-items: center;
  gap: 7px;
  color: var(--text);
  background: var(--cream);
}

.reward-banner strong {
  display: block;
  margin-bottom: 5px;
  font-size: 8px;
}

.reward-banner > img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.theme-grid button {
  padding: 6px;
  border: 0;
  border-radius: 14px;
  color: var(--text);
  background: var(--cream);
}

.theme-grid button.is-selected {
  outline: 3px solid var(--pink);
}

.theme-grid img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.theme-grid strong {
  display: block;
  padding: 4px 0;
  font-size: 10px;
}

.screen-drawer {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  justify-items: end;
  visibility: hidden;
  background: rgba(11, 17, 46, .62);
  opacity: 0;
  transition: opacity .2s, visibility .2s;
}

.screen-drawer.is-open {
  visibility: visible;
  opacity: 1;
}

.screen-drawer__panel {
  width: min(380px, 92vw);
  height: 100%;
  padding: 18px;
  transform: translateX(100%);
  color: var(--text);
  background: #f8f5ff;
  box-shadow: -15px 0 35px rgba(10, 19, 48, .25);
  transition: transform .23s ease;
}

.screen-drawer.is-open .screen-drawer__panel {
  transform: translateX(0);
}

.screen-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screen-drawer__header h2 {
  margin: 0;
}

.screen-drawer__header button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: white;
  font-size: 20px;
}

.screen-drawer__hint {
  margin: 5px 0 12px;
  color: #7d7fa1;
  font-size: 11px;
}

.screen-drawer__list {
  height: calc(100vh - 100px);
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  align-content: start;
}

.screen-drawer__list button {
  min-height: 60px;
  border: 0;
  border-radius: 12px;
  padding: 8px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  text-align: left;
  color: var(--text);
  background: white;
  box-shadow: 0 5px 12px rgba(31, 45, 102, .08);
}

.screen-drawer__list span {
  color: var(--pink-dark);
  font-weight: 900;
}

.screen-drawer__list strong {
  font-size: 11px;
}

.desktop-toolbar {
  position: fixed;
  z-index: 20;
  left: 20px;
  top: 20px;
  display: grid;
  gap: 7px;
}

.desktop-toolbar button {
  padding: 9px 12px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--navy);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 540px) {
  .app-stage {
    padding: 0;
  }

  .phone-scale {
    width: 100vw;
    height: 100dvh;
  }

  .phone-shell {
    width: 100vw;
    height: 100dvh;
    min-height: 0;
    transform: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }

  .phone-shell::before {
    display: none;
  }

  #app {
    border-radius: 0;
  }

  .topbar {
    padding-top: max(12px, env(safe-area-inset-top));
  }

  .bottom-nav {
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  .desktop-toolbar {
    display: none;
  }
}

@media (max-height: 720px) and (min-width: 541px) {
  .phone-shell {
    height: calc(100vh - 20px);
  }
}


/* ===== FigJam revision: Admin (User, Modul, Video only) ===== */
.admin-screen .screen-content { padding-bottom: 24px; }

.admin-welcome {
  padding: 17px;
  color: var(--text);
  background: linear-gradient(135deg, #fff7f2, #f0e8ff);
}
.admin-role {
  width: max-content; min-height: 31px; padding: 0 11px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 7px; color: white;
  background: var(--navy); font-size: 11px; font-weight: 900; letter-spacing: .8px;
}
.admin-welcome h2 { margin: 11px 0 4px; font-size: 25px; }
.admin-welcome p { margin: 0; color: #70749b; font-size: 12px; line-height: 1.45; }

.admin-summary {
  margin-top: 13px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
.admin-summary-card {
  min-width: 0; min-height: 112px; border: 0; border-radius: 17px; padding: 10px 5px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text); background: var(--cream); box-shadow: var(--shadow-soft);
}
.admin-summary-icon {
  width: 42px; height: 42px; margin-bottom: 3px; border-radius: 13px;
  display: grid; place-items: center; color: var(--pink-dark); background: var(--pink-soft);
}
.admin-summary-card strong { font-size: 24px; }
.admin-summary-card small { color: var(--muted); font-size: 10px; font-weight: 900; }
.admin-menu { margin-top: 14px; }
.admin-logout { margin-top: 8px; }

.admin-toolbar {
  display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 8px; margin-bottom: 12px;
}
.admin-search {
  min-width: 0; height: 44px; padding: 0 12px; border-radius: 14px;
  display: flex; align-items: center; gap: 8px; color: var(--pink-dark);
  background: var(--cream); box-shadow: var(--shadow-soft);
}
.admin-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); }
.admin-add {
  border: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  gap: 5px; color: white; background: linear-gradient(180deg, #f48ac7, #e868b6);
  box-shadow: var(--shadow-soft); font-size: 11px; font-weight: 900;
}
.admin-list { display: grid; gap: 9px; }
.admin-row {
  min-height: 72px; padding: 8px 9px; border-radius: 15px; display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto; align-items: center; gap: 8px;
  color: var(--text); background: var(--cream); box-shadow: var(--shadow-soft);
}
.admin-row--content { grid-template-columns: 42px minmax(0, 1fr) auto; }
.admin-avatar, .admin-content-icon {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  color: #8d4d9c; background: linear-gradient(135deg, #f9d5e8, #e8dcff);
  font-size: 11px; font-weight: 900;
}
.admin-content-icon--video { color: #d34c9e; background: #ffe0ef; }
.admin-row-copy { min-width: 0; }
.admin-row-copy strong, .admin-row-copy small {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.admin-row-copy strong { font-size: 12px; }
.admin-row-copy small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.admin-status {
  padding: 5px 7px; border-radius: 999px; color: #94495f; background: #f5dce3;
  font-size: 8px; font-weight: 900;
}
.admin-status.is-active { color: #27704d; background: #d8f4e5; }
.admin-row-actions { display: flex; gap: 2px; }
.admin-row-actions button {
  width: 29px; height: 29px; border: 0; border-radius: 9px; display: grid; place-items: center;
  color: #686d99; background: #eee8f5; font-weight: 900;
}

/* ===== FigJam revision: emergency CTA ===== */
.emergency-call-cta {
  position: sticky; z-index: 6; bottom: 4px; margin-top: 13px;
  box-shadow: 0 8px 18px rgba(226, 92, 174, .34), 0 0 0 4px rgba(255,255,255,.08);
}

/* ====================================================================
   RESPONSIVE MOBILE — applied after FigJam revision
   Reference design: 390 × 844. On real phones the app uses the actual
   viewport instead of scaling the 390px canvas.
   ==================================================================== */

html,
body {
  min-height: 100%;
  min-height: 100dvh;
}

@media (max-width: 768px), (hover: none) and (pointer: coarse) and (max-width: 900px) {
  html,
  body {
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 100dvh;
    overflow: hidden;
    background: var(--navy-deep);
  }

  .app-stage {
    width: 100vw;
    min-width: 0;
    height: 100vh;
    height: 100dvh;
    min-height: 100svh;
    padding: 0;
    display: block;
    overflow: hidden;
  }

  .phone-scale {
    --preview-scale: 1 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-width: 0;
  }

  .phone-shell {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-width: 0;
    min-height: 100svh;
    padding: 0 !important;
    transform: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: var(--navy-deep);
  }

  .phone-shell::before {
    display: none !important;
  }

  #app,
  .screen,
  .splash-screen,
  .onboarding-screen {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    border-radius: 0 !important;
  }

  #app {
    overflow: hidden;
  }

  .screen {
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  /* Notch / Dynamic Island / Android cutout */
  .topbar {
    min-height: calc(58px + env(safe-area-inset-top, 0px));
    padding:
      calc(10px + env(safe-area-inset-top, 0px))
      clamp(10px, 3.3vw, 15px)
      8px;
    grid-template-columns: clamp(34px, 10vw, 40px) minmax(0, 1fr) auto;
  }

  .topbar-copy h1 {
    font-size: clamp(17px, 5.2vw, 21px);
  }

  .topbar-search {
    height: clamp(32px, 9.5vw, 36px);
    padding-inline: clamp(8px, 3vw, 12px);
    font-size: clamp(12px, 3.6vw, 14px);
  }

  .topbar-actions {
    min-width: 0;
  }

  .icon-button {
    width: clamp(32px, 9.5vw, 37px);
    height: clamp(32px, 9.5vw, 37px);
  }

  /* Main content adapts from 320px phones through 480px phones. */
  .screen-content {
    min-width: 0;
    padding:
      clamp(11px, 4vw, 17px)
      clamp(11px, 4vw, 18px)
      calc(clamp(18px, 6vw, 30px) + env(safe-area-inset-bottom, 0px));
  }

  .screen-content.is-scrollable {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    scroll-padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  }

  /* Bottom nav avoids the iPhone home indicator. */
  .bottom-nav {
    min-height: calc(68px + env(safe-area-inset-bottom, 0px));
    padding:
      6px
      clamp(14px, 5vw, 22px)
      calc(8px + env(safe-area-inset-bottom, 0px));
    grid-template-columns: minmax(0, 1fr) clamp(78px, 24vw, 94px) minmax(0, 1fr);
  }

  .bottom-nav__brand {
    height: clamp(61px, 18vw, 69px);
    transform: translateY(clamp(-12px, -3vw, -8px));
  }

  .bottom-nav__logo {
    width: clamp(48px, 14vw, 56px);
    height: clamp(48px, 14vw, 56px);
  }

  /* General controls */
  .button {
    min-height: clamp(43px, 12vw, 48px);
    padding-inline: clamp(13px, 4vw, 18px);
    border-radius: clamp(13px, 4vw, 16px);
    font-size: clamp(12px, 3.8vw, 15px);
  }

  .field {
    min-width: 0;
  }

  .field-body,
  .field__body {
    min-width: 0;
  }

  input,
  textarea,
  select {
    max-width: 100%;
    font-size: 16px; /* prevents iOS auto-zoom */
  }

  .card {
    min-width: 0;
  }

  /* Home cards */
  .feature-card {
    min-width: 0;
    min-height: clamp(96px, 29vw, 114px);
    padding: clamp(7px, 2.5vw, 10px);
    grid-template-columns:
      clamp(82px, 27vw, 108px)
      minmax(0, 1fr)
      clamp(18px, 6vw, 24px);
    gap: clamp(4px, 2vw, 8px);
  }

  .feature-card__image {
    height: clamp(78px, 24vw, 96px);
  }

  .feature-card__image img {
    max-width: 100%;
    max-height: 100%;
  }

  .feature-card__copy strong {
    font-size: clamp(17px, 5.3vw, 21px);
  }

  .feature-card__copy small {
    font-size: clamp(9px, 2.9vw, 11px);
  }

  /* List rows remain readable on narrow phones. */
  .list-row {
    min-width: 0;
    min-height: clamp(68px, 20vw, 78px);
    padding: clamp(7px, 2.5vw, 10px);
    gap: clamp(7px, 2.5vw, 10px);
  }

  .list-row__image {
    width: clamp(51px, 16vw, 62px);
    height: clamp(51px, 16vw, 62px);
  }

  .list-row__copy {
    min-width: 0;
  }

  .list-row__copy strong,
  .list-row__copy small {
    overflow-wrap: anywhere;
  }

  /* Splash and onboarding also respect the notch. */
  .splash-content,
  .onboarding-content {
    width: 100%;
    min-width: 0;
    padding:
      calc(clamp(42px, 14vw, 70px) + env(safe-area-inset-top, 0px))
      clamp(17px, 6vw, 27px)
      calc(clamp(18px, 6vw, 28px) + env(safe-area-inset-bottom, 0px));
  }

  .splash-logo {
    width: clamp(118px, 39vw, 155px);
    height: clamp(118px, 39vw, 155px);
  }

  .splash-content h1 {
    font-size: clamp(32px, 10.5vw, 42px);
  }

  .splash-content h2 {
    font-size: clamp(34px, 11vw, 44px);
  }

  .splash-content p {
    max-width: 92%;
    font-size: clamp(9px, 2.9vw, 11px);
  }

  .splash-girl {
    width: clamp(185px, 58vw, 225px);
    max-height: min(34dvh, 300px);
  }

  .onboarding-content h1 {
    font-size: clamp(31px, 9.8vw, 39px);
  }

  .onboarding-hero {
    width: min(100%, 430px);
    max-height: min(50dvh, 430px);
  }

  .onboarding-content p {
    max-width: min(88vw, 310px);
    font-size: clamp(13px, 4vw, 15px);
  }

  /* Quiz/game/content grids: do not overflow at 320–350px. */
  .button-row,
  .button-row--three,
  .stats-grid,
  .achievement-grid,
  .mood-grid,
  .category-grid,
  .contact-grid,
  .calm-grid,
  .admin-summary {
    min-width: 0;
  }

  /* Profile/stat cards */
  .profile-head,
  .profile-header {
    min-width: 0;
  }

  .stats-grid {
    gap: clamp(6px, 2vw, 9px);
  }

  /* Admin revision remains usable on small phones. */
  .admin-toolbar {
    grid-template-columns: minmax(0, 1fr) clamp(82px, 25vw, 98px);
    gap: 7px;
  }

  .admin-search {
    min-width: 0;
    height: clamp(41px, 12vw, 45px);
    padding-inline: 10px;
  }

  .admin-add {
    min-width: 0;
    font-size: clamp(9px, 3vw, 11px);
  }

  .admin-row {
    min-width: 0;
    grid-template-columns:
      clamp(36px, 12vw, 42px)
      minmax(0, 1fr)
      auto
      auto;
    gap: clamp(5px, 2vw, 8px);
  }

  .admin-row--content {
    grid-template-columns: clamp(36px, 12vw, 42px) minmax(0, 1fr) auto;
  }

  .admin-avatar,
  .admin-content-icon {
    width: clamp(36px, 12vw, 42px);
    height: clamp(36px, 12vw, 42px);
  }

  .admin-row-copy strong {
    font-size: clamp(10px, 3.4vw, 12px);
  }

  .admin-row-copy small {
    font-size: clamp(8px, 2.5vw, 9px);
  }

  .admin-row-actions button {
    width: clamp(27px, 8.5vw, 30px);
    height: clamp(27px, 8.5vw, 30px);
  }

  /* Keep media and illustrations proportional. */
  img,
  video,
  svg {
    max-width: 100%;
  }

  img,
  video {
    height: auto;
  }

  /* Elements whose CSS explicitly controls image height keep object-fit. */
  [class*="image"] img,
  [class*="hero"] img,
  [class*="art"] img,
  [class*="avatar"] img,
  [class*="thumb"] img {
    object-fit: contain;
  }

  .desktop-toolbar {
    display: none !important;
  }
}

/* Very narrow phones: 320–359 CSS px */
@media (max-width: 359px) {
  .screen-content {
    padding-inline: 10px;
  }

  .topbar {
    padding-inline: 8px;
    gap: 2px;
  }

  .topbar-copy h1 {
    font-size: 16px;
  }

  .feature-card {
    grid-template-columns: 78px minmax(0, 1fr) 18px;
  }

  .feature-card__copy strong {
    font-size: 16px;
  }

  .feature-card__copy small {
    font-size: 9px;
  }

  .button-row--three {
    grid-template-columns: 1fr;
  }

  .admin-summary {
    gap: 5px;
  }

  .admin-summary-card {
    min-height: 100px;
    padding-inline: 3px;
  }

  .admin-summary-card strong {
    font-size: 21px;
  }

  .admin-row {
    grid-template-columns: 35px minmax(0, 1fr) auto;
  }

  .admin-row .admin-status {
    display: none;
  }
}

/* Short phones (older Android / landscape-height / browser chrome). */
@media (max-height: 680px) and (max-width: 768px) {
  .screen-content {
    padding-top: 9px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .splash-content,
  .onboarding-content {
    padding-top: calc(35px + env(safe-area-inset-top, 0px));
  }

  .splash-logo {
    width: 105px;
    height: 105px;
  }

  .splash-girl {
    max-height: 27dvh;
  }

  .onboarding-hero {
    max-height: 40dvh;
    margin-top: 7px;
  }
}

/* Phone landscape: do not stretch content across the entire wide viewport. */
@media (max-width: 900px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
  .screen-content.is-scrollable {
    padding-inline: max(16px, calc((100vw - 520px) / 2));
  }

  .splash-content,
  .onboarding-content {
    padding-inline: max(20px, calc((100vw - 520px) / 2));
  }

  .feature-list,
  .profile-menu,
  .admin-list,
  .quick-list,
  .track-list {
    width: min(100%, 520px);
    margin-inline: auto;
  }
}


/* Backend integration status */
.backend-toast{
  position:fixed;z-index:9999;left:50%;bottom:22px;transform:translate(-50%,18px);
  max-width:min(360px,calc(100vw - 28px));padding:11px 15px;border-radius:14px;
  background:#1d2e66;color:white;box-shadow:0 14px 35px rgba(10,18,55,.3);
  font-size:13px;font-weight:800;opacity:0;pointer-events:none;transition:.2s ease;
}
.backend-toast.is-show{opacity:1;transform:translate(-50%,0)}
.backend-toast[data-type="error"]{background:#a83f68}
.admin-row[hidden]{display:none!important}


/* ================================================================
   UI FIX — back navigation + vertical balance
   ================================================================ */

/* Make top-bar actions easier and more reliable to tap on phones. */
.topbar .icon-button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px), (hover: none) and (pointer: coarse) and (max-width: 900px) {
  .topbar .icon-button {
    min-width: 42px;
    min-height: 42px;
  }

  /*
    Auth pages were visually top-heavy on tall phones.
    Center their main content vertically while keeping the top bar fixed.
  */
  .auth-screen .screen-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(22px, 5.5dvh, 52px);
    padding-bottom: calc(clamp(28px, 7dvh, 64px) + env(safe-area-inset-bottom, 0px));
  }

  .auth-screen .screen-content > * {
    flex-shrink: 0;
  }

  /* Login is intentionally a touch lower than the other auth screens. */
  #app[data-route="login"] .auth-screen .screen-content {
    padding-top: clamp(34px, 7dvh, 68px);
    padding-bottom: calc(clamp(42px, 8.5dvh, 78px) + env(safe-area-inset-bottom, 0px));
  }

  /* Short screens must remain scrollable rather than forcing centering. */
  @media (max-height: 700px) {
    .auth-screen .screen-content {
      justify-content: flex-start;
      padding-top: 14px;
      padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    }
  }
}


/* ================================================================
   VISUAL QA POLISH — vertical balance on short/menu-style screens
   Keeps list/detail screens top-aligned, but centers compact menus
   in the usable phone height so they do not feel top-heavy.
   ================================================================ */
@media (min-height: 700px) {
  #app[data-route="education"] .screen-content,
  #app[data-route="quiz-menu"] .screen-content,
  #app[data-route="quiz-select"] .screen-content,
  #app[data-route="game-menu"] .screen-content {
    display: grid;
    align-content: center;
    padding-top: clamp(28px, 4.5dvh, 44px);
    padding-bottom: calc(clamp(28px, 4.5dvh, 44px) + env(safe-area-inset-bottom, 0px));
  }

  #app[data-route="admin"] .screen-content {
    display: grid;
    align-content: center;
    padding-top: clamp(24px, 4dvh, 40px);
    padding-bottom: calc(clamp(24px, 4dvh, 40px) + env(safe-area-inset-bottom, 0px));
  }
}



/* ============================================================
   Replacement 10 screens — isolated from the other 37 screens
   ============================================================ */
.replacement10 {
  height: 100%;
  min-height: 0;
  --navy-950: #111945;
  --navy-900: #162354;
  --navy-850: #1c2c65;
  --navy-800: #243875;
  --pink-600: #e557a7;
  --pink-500: #ef77bb;
  --pink-400: #f58bc7;
  --pink-300: #f6afd4;
  --pink-100: #ffe5f2;
  --purple-500: #8e6bd0;
  --purple-300: #c3a8ef;
  --cream: #fff9f5;
  --cream-2: #fff4f0;
  --white: #ffffff;
  --ink: #1f3168;
  --muted: #6e6d98;
  --gold: #ffd268;
  --shadow: 0 16px 36px rgba(8, 17, 57, 0.28);
  --shadow-soft: 0 8px 18px rgba(8, 17, 57, 0.16);
  --radius-xl: 32px;
  --radius-lg: 25px;
  --radius-md: 19px;
  --radius-sm: 13px;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
}
.replacement10{
  --navy-950: #111945;
  --navy-900: #162354;
  --navy-850: #1c2c65;
  --navy-800: #243875;
  --pink-600: #e557a7;
  --pink-500: #ef77bb;
  --pink-400: #f58bc7;
  --pink-300: #f6afd4;
  --pink-100: #ffe5f2;
  --purple-500: #8e6bd0;
  --purple-300: #c3a8ef;
  --cream: #fff9f5;
  --cream-2: #fff4f0;
  --white: #ffffff;
  --ink: #1f3168;
  --muted: #6e6d98;
  --gold: #ffd268;
  --shadow: 0 16px 36px rgba(8, 17, 57, 0.28);
  --shadow-soft: 0 8px 18px rgba(8, 17, 57, 0.16);
  --radius-xl: 32px;
  --radius-lg: 25px;
  --radius-md: 19px;
  --radius-sm: 13px;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
}
.replacement10 *{
  box-sizing: border-box;
}
.replacement10 button,
.replacement10 input{
  font: inherit;
}
.replacement10 button{
  color: inherit;
}
.replacement10 button,
.replacement10 a{
  -webkit-tap-highlight-color: transparent;
}
.replacement10 img{
  display: block;
  max-width: 100%;
}
.replacement10 .screen{
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 15%, rgba(88, 111, 183, 0.36), transparent 42%),
    linear-gradient(180deg, var(--navy-800), var(--navy-950));
}
.replacement10 .screen__content{
  position: relative;
  min-height: 0;
  padding: 18px 19px 34px;
}
.replacement10 .screen__content--scroll{
  overflow-y: auto;
  scrollbar-width: none;
  overscroll-behavior: contain;
}
.replacement10 .screen__content--scroll::-webkit-scrollbar{
  display: none;
}
.replacement10 .topbar{
  position: relative;
  z-index: 20;
  min-height: 88px;
  padding: 43px 22px 11px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.64);
  color: var(--white);
  background: rgba(25, 39, 90, 0.72);
  backdrop-filter: blur(14px);
}
.replacement10 .topbar__center{
  min-width: 0;
}
.replacement10 .topbar h1{
  margin: 0;
  overflow: hidden;
  color: var(--white);
  font-size: clamp(24px, 7vw, 33px);
  line-height: 1;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -1px;
}
.replacement10 .topbar__actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
}
.replacement10 .topbar__spacer{
  width: 42px;
}
.replacement10 .search-head{
  height: 46px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  border-radius: 15px;
  color: #65568c;
  background: var(--cream);
  box-shadow: var(--shadow-soft);
  font-size: 18px;
}
.replacement10 .search-head span{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.replacement10 .round-icon{
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}
.replacement10 .round-icon:hover{
  background: rgba(255, 255, 255, 0.1);
}
.replacement10 .round-icon--dark{
  color: var(--pink-600);
  background: linear-gradient(135deg, #ffdfed, #f9a8cf);
  box-shadow: 0 8px 14px rgba(15, 25, 72, 0.18);
}
.replacement10 .round-icon--dark:hover{
  background: linear-gradient(135deg, #ffeaf3, #f9bddb);
}
.replacement10 .notification-badge{
  position: absolute;
  right: 0;
  top: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  color: var(--white);
  background: var(--pink-600);
  font-size: 12px;
}
.replacement10 .button{
  position: relative;
  min-height: 62px;
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 22px;
  border: 0;
  cursor: pointer;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.replacement10 .button--primary{
  color: var(--white);
  background: linear-gradient(180deg, #f7a1d2, #e768b3);
  border: 2px solid rgba(255, 255, 255, 0.54);
  box-shadow:
    0 8px 0 #bd3e8b,
    0 16px 24px rgba(11, 20, 65, 0.24);
  text-shadow: 0 2px 0 rgba(115, 31, 97, 0.28);
}
.replacement10 .button--primary:active{
  transform: translateY(5px);
  box-shadow: 0 3px 0 #bd3e8b;
}
.replacement10 .button--outline{
  color: var(--pink-300);
  border: 2px solid var(--pink-300);
  background: rgba(30, 44, 100, 0.52);
}
.replacement10 .button--soft{
  color: var(--ink);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}
.replacement10 .button__sparkle{
  position: absolute;
  right: 18px;
  top: 9px;
  color: var(--white);
  font-style: normal;
}
.replacement10 .field{
  display: block;
  color: var(--ink);
}
.replacement10 .field__label{
  display: block;
  margin: 0 0 -1px 18px;
  padding-top: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}
.replacement10 .field__body{
  min-height: 70px;
  padding: 9px 16px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 5px;
  border: 2px solid rgba(194, 162, 228, 0.7);
  border-radius: 22px;
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}
.replacement10 .field__icon{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #6163a4;
  background: #eee6fa;
}
.replacement10 .field input{
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 20px;
  font-weight: 700;
}
.replacement10 .field input::placeholder{
  color: #5e6195;
  opacity: 1;
}
.replacement10 .field__trailing{
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #6460a6;
  background: transparent;
  cursor: pointer;
}
.replacement10 .brand{
  text-align: center;
}
.replacement10 .brand__logo{
  width: 190px;
  height: 190px;
  margin: 0 auto -20px;
  object-fit: contain;
}
.replacement10 .brand h2{
  margin: 0;
  color: var(--white);
  font-size: 57px;
  line-height: 1;
  letter-spacing: -3px;
  text-shadow: 0 4px 0 rgba(16, 26, 74, 0.18);
}
.replacement10 .brand span{
  display: inline-block;
  margin-top: 12px;
  padding: 7px 20px;
  border-radius: 99px;
  color: #785f9b;
  background: linear-gradient(90deg, #ffe9ef, #fffaf4);
  font-size: 15px;
  font-weight: 700;
}
.replacement10 .brand--compact .brand__logo{
  width: 115px;
  height: 115px;
}
.replacement10 .decorations{
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.replacement10 .decor{
  position: absolute;
  font-style: normal;
}
.replacement10 .decorations__star{
  color: #ffaad3;
}
.replacement10 .decorations__star--1{
  left: 16%;
  top: 13%;
  font-size: 25px;
}
.replacement10 .decorations__star--2{
  right: 13%;
  top: 20%;
  font-size: 16px;
  color: white;
}
.replacement10 .decorations__star--3{
  right: 19%;
  bottom: 19%;
  font-size: 21px;
}
.replacement10 .decorations__heart{
  color: var(--pink-400);
  filter: drop-shadow(0 5px 5px rgba(29, 24, 81, 0.18));
}
.replacement10 .decorations__heart--1{
  left: 10%;
  top: 25%;
  transform: rotate(-16deg);
  font-size: 25px;
}
.replacement10 .decorations__heart--2{
  right: 11%;
  top: 29%;
  transform: rotate(12deg);
  font-size: 20px;
}
.replacement10 .decorations__heart--3{
  right: 18%;
  bottom: 13%;
  font-size: 29px;
}
.replacement10 .decorations__dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9b83d1;
}
.replacement10 .decorations__dot--1{
  left: 18%;
  top: 37%;
}
.replacement10 .decorations__dot--2{
  right: 19%;
  bottom: 30%;
}
.replacement10 .decorations__leaf{
  bottom: 1%;
  color: rgba(177, 134, 223, 0.55);
  font-size: 105px;
  line-height: 1;
}
.replacement10 .decorations__leaf--left{
  left: -22px;
  transform: rotate(-33deg);
}
.replacement10 .decorations__leaf--right{
  right: -22px;
  transform: scaleX(-1) rotate(-33deg);
}
.replacement10 .screen--auth .screen__content{
  padding-top: 12px;
}
.replacement10 .auth-wrap{
  position: relative;
  z-index: 2;
}
.replacement10 .auth-form{
  display: grid;
  gap: 15px;
}
.replacement10 .auth-form--register{
  gap: 12px;
}
.replacement10 .auth-form--register .field__body{
  min-height: 62px;
}
.replacement10 .auth-form--register .brand{
  margin-bottom: 10px;
}
.replacement10 .auth-wrap > .brand{
  margin-bottom: 23px;
}
.replacement10 .remember{
  min-height: 38px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-size: 17px;
}
.replacement10 .remember input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.replacement10 .remember > span{
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--pink-600);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}
.replacement10 .remember i{
  margin-left: auto;
  color: var(--pink-500);
  font-style: normal;
}
.replacement10 .auth-links{
  margin: 28px 4px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.replacement10 .auth-links button,
.replacement10 .text-button{
  padding: 5px 0;
  border: 0;
  border-bottom: 2px solid currentColor;
  color: var(--pink-300);
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}
.replacement10 .text-button{
  display: block;
  margin: 8px auto;
  border-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
}
.replacement10 .text-button--pink{
  border-bottom: 2px solid currentColor;
  color: var(--pink-300);
}
.replacement10 .auth-question{
  margin: 19px 0 0;
  text-align: center;
  color: var(--white);
}
.replacement10 .auth-helper{
  margin: 0;
  color: var(--white);
  text-align: center;
  font-size: 18px;
  line-height: 1.45;
}
.replacement10 .auth-helper span,
.replacement10 .password-copy span,
.replacement10 .verify-copy span,
.replacement10 .music-subtitle span{
  color: var(--pink-400);
}
.replacement10 .auth-art{
  margin: 0 auto;
  object-fit: contain;
}
.replacement10 .auth-art--forgot{
  width: min(330px, 86%);
}
.replacement10 .verify-art{
  width: min(340px, 92%);
  margin: -18px auto -25px;
}
.replacement10 .verify-copy{
  text-align: center;
}
.replacement10 .verify-copy h2{
  margin: 0 0 12px;
  font-size: 27px;
  line-height: 1.22;
}
.replacement10 .verify-copy h2 strong{
  color: var(--pink-300);
}
.replacement10 .verify-copy p{
  margin: 0;
  font-family: "Trebuchet MS", sans-serif;
  line-height: 1.5;
}
.replacement10 .otp{
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
}
.replacement10 .otp input{
  width: 100%;
  min-width: 0;
  height: 65px;
  border: 2px solid var(--purple-300);
  border-radius: 14px;
  outline: 0;
  color: var(--ink);
  background: var(--cream);
  text-align: center;
  font-size: 23px;
  box-shadow: var(--shadow-soft);
}
.replacement10 .countdown{
  width: fit-content;
  margin: 0 auto 25px;
  padding: 11px 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 99px;
  background: rgba(155, 126, 205, 0.35);
  color: var(--white);
}
.replacement10 .countdown strong{
  color: var(--pink-300);
}
.replacement10 .password-shield{
  width: min(280px, 75%);
  margin: -18px auto -15px;
}
.replacement10 .password-copy{
  text-align: center;
}
.replacement10 .password-copy h2{
  margin: 0;
  color: var(--pink-300);
  font-size: 26px;
}
.replacement10 .password-copy p{
  margin: 5px 0 16px;
  font-family: "Trebuchet MS", sans-serif;
  line-height: 1.45;
}
.replacement10 .password-tips{
  min-height: 145px;
  padding: 15px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 7px;
  border-radius: 20px;
  color: var(--ink);
  background: linear-gradient(110deg, #fff7f4, #eedffe);
  box-shadow: var(--shadow-soft);
}
.replacement10 .password-tips h3{
  margin: 0 0 8px;
  font-size: 16px;
}
.replacement10 .password-tips p{
  margin: 6px 0;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 12px;
}
.replacement10 .password-tips strong{
  color: var(--pink-600);
}
.replacement10 .password-tips img{
  align-self: end;
  width: 100%;
  max-height: 135px;
  object-fit: contain;
}
.replacement10 .bottom-nav{
  position: relative;
  z-index: 30;
  min-height: 80px;
  padding: 7px 40px 9px;
  display: grid;
  grid-template-columns: 1fr 104px 1fr;
  align-items: end;
  background: linear-gradient(180deg, #f497ce, #ec72bb);
  box-shadow: 0 -8px 20px rgba(12, 21, 64, 0.18);
}
.replacement10 .bottom-nav > button{
  min-height: 48px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}
.replacement10 .bottom-nav__brand{
  position: relative;
  margin-top: -43px;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  border-radius: 50% 50% 28px 28px !important;
  background: linear-gradient(180deg, #f3a3d0, #e678bc) !important;
  box-shadow:
    0 -5px 0 rgba(255, 255, 255, 0.22),
    0 8px 20px rgba(13, 25, 74, 0.25);
}
.replacement10 .bottom-nav__brand img{
  width: 66px;
  height: 66px;
  margin-top: -8px;
  object-fit: contain;
}
.replacement10 .bottom-nav__brand span{
  margin-top: -9px;
  font-size: 18px;
}
.replacement10 .splash-screen{
  position: relative;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 18%, rgba(56, 78, 146, 0.58), transparent 37%),
    linear-gradient(180deg, #15214c, #111841);
}
.replacement10 .splash-screen > .round-icon{
  position: absolute;
  z-index: 10;
  top: 61px;
  right: 35px;
}
.replacement10 .splash-screen__center{
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 64px 24px 0;
  text-align: center;
}
.replacement10 .splash-screen__logo{
  width: 235px;
  height: 235px;
  margin: 30px auto -35px;
  object-fit: contain;
}
.replacement10 .splash-screen h1{
  margin: 0;
  font-size: 65px;
  line-height: 1;
  letter-spacing: -4px;
}
.replacement10 .splash-screen__line{
  width: 250px;
  margin: 13px auto 15px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 11px;
  color: var(--pink-300);
}
.replacement10 .splash-screen__line i{
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-300));
}
.replacement10 .splash-screen__line i:last-child{
  background: linear-gradient(90deg, var(--purple-300), transparent);
}
.replacement10 .splash-screen h2{
  margin: 0;
  font-size: 52px;
  line-height: 0.95;
}
.replacement10 .splash-screen h2 strong{
  color: var(--pink-400);
}
.replacement10 .splash-screen p{
  width: fit-content;
  margin: 22px auto 0;
  padding: 9px 22px;
  border-radius: 99px;
  color: #282e68;
  background: linear-gradient(90deg, #bfa5f2, #f1afda);
  font-size: 16px;
}
.replacement10 .splash-screen p span{
  color: var(--pink-600);
}
.replacement10 .splash-screen__girl{
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -48px;
  width: 370px;
  height: 440px;
  transform: translateX(-50%);
  object-fit: contain;
}
.replacement10 .splash-screen__hint{
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.54);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 11px;
}
.replacement10 .screen--onboarding .screen__content{
  padding-top: 48px;
}
.replacement10 .onboarding{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.replacement10 .onboarding h1{
  margin: 22px 0 -10px;
  color: var(--white);
  font-size: 50px;
  line-height: 0.97;
}
.replacement10 .onboarding h1 strong{
  color: var(--pink-400);
}
.replacement10 .onboarding h1 span{
  color: var(--pink-400);
  font-size: 33px;
}
.replacement10 .onboarding__image{
  width: min(410px, 100%);
  height: 390px;
  margin: 0 auto -15px;
  object-fit: contain;
}
.replacement10 .onboarding p{
  margin: 0;
  color: var(--white);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 21px;
  line-height: 1.45;
}
.replacement10 .onboarding p strong{
  color: var(--pink-300);
}
.replacement10 .dots{
  margin: 19px auto 7px;
  display: flex;
  gap: 14px;
}
.replacement10 .dots i{
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #8a8bb0;
}
.replacement10 .dots i.is-active{
  background: var(--pink-400);
}
.replacement10 .onboarding .button{
  margin-top: auto;
}
.replacement10 .screen--calendar .screen__content{
  padding-top: 43px;
}
.replacement10 .calendar-card{
  position: relative;
  z-index: 2;
  padding: 48px 14px 17px;
  border-radius: 33px;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0, #fff, transparent 40%),
    var(--cream);
  box-shadow: var(--shadow);
}
.replacement10 .calendar-card__rings{
  position: absolute;
  left: 52px;
  right: 52px;
  top: -24px;
  display: flex;
  justify-content: space-between;
}
.replacement10 .calendar-card__rings i{
  width: 27px;
  height: 51px;
  border: 7px solid var(--pink-400);
  border-bottom-color: var(--ink);
  border-radius: 50%;
  transform: rotate(-3deg);
}
.replacement10 .calendar-card header{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.replacement10 .calendar-card header h2{
  margin: 0;
  color: #6763a7;
  font-size: 31px;
  letter-spacing: 2px;
}
.replacement10 .calendar-card header span{
  color: var(--pink-600);
}
.replacement10 .calendar-week,
.replacement10 .calendar-grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
}
.replacement10 .calendar-week{
  margin: 17px 0 10px;
}
.replacement10 .calendar-week span{
  min-width: 0;
  padding: 7px 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--pink-500);
  text-align: center;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 12px;
  font-weight: 800;
}
.replacement10 .calendar-week span:first-child,
.replacement10 .calendar-week span:last-child{
  background: #6f9a9f;
}
.replacement10 .calendar-day{
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #f4c7dc;
  border-radius: 13px;
  color: #4c4b84;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}
.replacement10 .calendar-day strong{
  font-family: "Trebuchet MS", sans-serif;
  font-size: 16px;
}
.replacement10 .calendar-day i{
  position: absolute;
  bottom: 2px;
  color: var(--pink-600);
  font-size: 9px;
  font-style: normal;
}
.replacement10 .calendar-day.is-period{
  background: linear-gradient(180deg, #ffdce9, #f9cfe0);
}
.replacement10 .calendar-day.is-selected{
  border: 2px solid var(--pink-600);
  border-radius: 50% 50% 46% 46%;
  color: var(--pink-600);
}
.replacement10 .calendar-day--empty{
  background: linear-gradient(180deg, #ffe3ed, #f7cedd);
  opacity: 0.7;
}
.replacement10 .quick-list{
  position: relative;
  z-index: 2;
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.replacement10 .quick-action{
  min-height: 88px;
  padding: 10px 17px;
  display: grid;
  grid-template-columns: 67px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 0;
  border-radius: 20px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  text-align: left;
}
.replacement10 .quick-action__icon{
  width: 62px;
  height: 62px;
}
.replacement10 .quick-action__icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.replacement10 .quick-action strong{
  font-size: 20px;
}
.replacement10 .quick-action__arrow{
  color: var(--pink-600);
  font-size: 22px;
}
.replacement10 .music-subtitle{
  position: relative;
  z-index: 2;
  margin: 0 0 18px;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 18px;
}
.replacement10 .featured-music{
  position: relative;
  z-index: 2;
  min-height: 250px;
  padding: 18px;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 12px 16px;
  border-radius: 24px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: var(--shadow);
}
.replacement10 .featured-music__art{
  grid-row: 1 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: #d4b5ef;
}
.replacement10 .featured-music__art img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.replacement10 .featured-music__copy small{
  display: inline-block;
  padding: 5px 8px;
  border-radius: 99px;
  color: var(--pink-600);
  background: #ffe3ee;
}
.replacement10 .featured-music__copy h2{
  margin: 10px 0 6px;
  font-size: 26px;
  line-height: 1.1;
}
.replacement10 .featured-music__copy p{
  margin: 0;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 13px;
  line-height: 1.45;
}
.replacement10 .featured-music__copy > span{
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 12px;
}
.replacement10 .featured-music > .round-icon{
  justify-self: end;
}
.replacement10 .track-list{
  position: relative;
  z-index: 2;
  margin-top: 15px;
  padding-bottom: 103px;
  display: grid;
  gap: 12px;
}
.replacement10 .track-card{
  min-height: 104px;
  padding: 10px;
  display: grid;
  grid-template-columns: 87px minmax(0, 1fr) 44px 18px;
  align-items: center;
  gap: 10px;
  border-radius: 20px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}
.replacement10 .track-card__art{
  width: 87px;
  height: 87px;
  overflow: hidden;
  border-radius: 14px;
  background: #c9a8eb;
}
.replacement10 .track-card__art img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.replacement10 .track-card__copy{
  min-width: 0;
}
.replacement10 .track-card h3{
  margin: 0;
  font-size: 19px;
}
.replacement10 .track-card h3 span{
  color: var(--pink-600);
}
.replacement10 .track-card p{
  margin: 4px 0;
  overflow: hidden;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.replacement10 .track-card small{
  display: flex;
  align-items: center;
  gap: 4px;
  color: #68649b;
  font-family: "Trebuchet MS", sans-serif;
}
.replacement10 .track-card__chevron{
  color: var(--pink-600);
}
.replacement10 .player{
  position: absolute;
  z-index: 35;
  left: 0;
  right: 0;
  bottom: 77px;
  height: 92px;
  padding: 11px 16px 15px;
  display: grid;
  grid-template-columns: 63px minmax(0, 1fr) 38px 49px 38px;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #a84baf, #c168c3);
  box-shadow: 0 -8px 20px rgba(10, 20, 68, 0.18);
}
.replacement10 .player::after{
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 6px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pink-400) 0 38%, rgba(255, 255, 255, 0.2) 38%);
}
.replacement10 .player__thumb{
  width: 61px;
  height: 61px;
  overflow: hidden;
  border-radius: 11px;
}
.replacement10 .player__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.replacement10 .player__copy{
  min-width: 0;
}
.replacement10 .player__copy strong,
.replacement10 .player__copy span{
  display: block;
  overflow: hidden;
  color: var(--white);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.replacement10 .player__copy span{
  margin-top: 3px;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 12px;
}
.replacement10 .player button{
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}
.replacement10 .player__main{
  width: 49px !important;
  height: 49px !important;
  border-radius: 50% !important;
  color: var(--ink) !important;
  background: var(--white) !important;
}
.replacement10 .screen--profile .screen__content{
  padding-top: 25px;
}
.replacement10 .profile-head{
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}
.replacement10 .profile-avatar{
  position: relative;
  width: 185px;
  height: 185px;
}
.replacement10 .profile-avatar > img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.replacement10 .profile-avatar button{
  position: absolute;
  right: 2px;
  bottom: 11px;
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border: 5px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--pink-500);
}
.replacement10 .profile-head h2{
  margin: 0;
  font-size: 42px;
  letter-spacing: -2px;
}
.replacement10 .profile-head h2 span{
  color: var(--pink-400);
}
.replacement10 .profile-head p{
  margin: 10px 0 0;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 16px;
  line-height: 1.4;
}
.replacement10 .profile-head p span{
  color: var(--pink-400);
}
.replacement10 .stats{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}
.replacement10 .stat-card{
  min-width: 0;
  min-height: 210px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 20px;
  color: var(--ink);
  background: linear-gradient(180deg, #fff3f8, #fce3ee);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.replacement10 .stat-card:nth-child(2){
  background: linear-gradient(180deg, #f8f1ff, #e7defa);
}
.replacement10 .stat-card:nth-child(3){
  background: linear-gradient(180deg, #fff9ea, #fff0d5);
}
.replacement10 .stat-card__image{
  width: 92px;
  height: 83px;
  object-fit: contain;
}
.replacement10 .stat-card span{
  min-height: 37px;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 14px;
}
.replacement10 .stat-card strong{
  margin-top: auto;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 38px;
  line-height: 1;
}
.replacement10 .stat-card small{
  margin-top: 5px;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 11px;
}
.replacement10 .profile-menu{
  margin-top: 22px;
  padding-bottom: 15px;
  display: grid;
  gap: 10px;
}
.replacement10 .menu-row{
  min-height: 74px;
  padding: 8px 14px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 18px;
  color: var(--ink);
  background: linear-gradient(100deg, #fff5f1, #fae7f5);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  text-align: left;
}
.replacement10 .menu-row__icon{
  width: 64px;
  height: 58px;
}
.replacement10 .menu-row__icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.replacement10 .menu-row strong{
  font-size: 21px;
}
.replacement10 .menu-row > .icon{
  color: var(--pink-600);
}
.replacement10 .pages-fab{
  position: fixed;
  z-index: 70;
  right: 18px;
  bottom: 18px;
  min-height: 50px;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 99px;
  color: var(--white);
  background: var(--navy-850);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.replacement10 .page-drawer{
  position: fixed;
  z-index: 100;
  inset: 0;
  visibility: hidden;
}
.replacement10 .page-drawer.is-open{
  visibility: visible;
}
.replacement10 .page-drawer__backdrop{
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 13, 37, 0.58);
  opacity: 0;
  transition: opacity 180ms ease;
}
.replacement10 .page-drawer.is-open .page-drawer__backdrop{
  opacity: 1;
}
.replacement10 .page-drawer__panel{
  position: absolute;
  right: 0;
  top: 0;
  width: min(360px, 88vw);
  height: 100%;
  padding: 24px;
  color: var(--ink);
  background: #fffaf8;
  box-shadow: -20px 0 45px rgba(8, 13, 37, 0.24);
  transform: translateX(100%);
  transition: transform 220ms ease;
}
.replacement10 .page-drawer.is-open .page-drawer__panel{
  transform: translateX(0);
}
.replacement10 .page-drawer__panel header{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.replacement10 .page-drawer__panel small{
  color: var(--pink-600);
}
.replacement10 .page-drawer__panel h2{
  margin: 3px 0 0;
  font-size: 30px;
}
.replacement10 #page-list{
  margin-top: 25px;
  display: grid;
  gap: 8px;
}
.replacement10 #page-list button{
  min-height: 53px;
  padding: 7px 12px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border: 1px solid #efdae8;
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  text-align: left;
}
.replacement10 #page-list button span{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--pink-500);
}
.replacement10 .component-link{
  margin-top: 18px;
  display: block;
  padding: 14px;
  border-radius: 14px;
  color: var(--white);
  background: var(--navy-850);
  text-align: center;
  text-decoration: none;
}
.replacement10 .catalog-page{
  background: #f7f4fa;
}
.replacement10 .catalog{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 45px 0 70px;
}
.replacement10 .catalog__header{
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-radius: 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-850), var(--navy-950));
}
.replacement10 .catalog__eyebrow{
  color: var(--pink-300);
}
.replacement10 .catalog__header h1{
  margin: 6px 0;
  font-size: 43px;
}
.replacement10 .catalog__header p{
  margin: 0;
  max-width: 650px;
  font-family: "Trebuchet MS", sans-serif;
}
.replacement10 .catalog__back{
  flex: 0 0 auto;
  padding: 13px 18px;
  border-radius: 99px;
  color: var(--ink);
  background: var(--cream);
  text-decoration: none;
}
.replacement10 .catalog-section{
  margin-top: 38px;
}
.replacement10 .catalog-section h2{
  font-size: 29px;
}
.replacement10 .catalog-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.replacement10 .catalog-grid > *{
  align-self: start;
}
.replacement10 .catalog-grid--fields{
  grid-template-columns: repeat(3, 1fr);
}
.replacement10 .catalog-grid .field,
.replacement10 .catalog-grid .stat-card,
.replacement10 .catalog-grid .menu-row,
.replacement10 .catalog-grid .quick-action{
  width: 100%;
}
.replacement10 .asset-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.replacement10 .asset-tile{
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.replacement10 .asset-tile > div{
  aspect-ratio: 1;
  padding: 12px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(45deg, #eee 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(-45deg, #eee 25%, transparent 25%) 0 9px / 18px 18px,
    linear-gradient(45deg, transparent 75%, #eee 75%) 9px -9px / 18px 18px,
    linear-gradient(-45deg, transparent 75%, #eee 75%) -9px 0 / 18px 18px,
    #fff;
}
.replacement10 .asset-tile img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.replacement10 .asset-tile code{
  display: block;
  padding: 10px;
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 760px) {.replacement10 .pages-fab{
    display: none;
  }
.replacement10 .topbar{
    padding-top: 44px;
  }
.replacement10 .catalog-grid,
.replacement10 .catalog-grid--fields{
    grid-template-columns: 1fr;
  }
.replacement10 .asset-grid{
    grid-template-columns: repeat(2, 1fr);
  }
.replacement10 .catalog__header{
    align-items: flex-start;
    flex-direction: column;
  }}
@media (max-width: 390px), (max-height: 730px) {.replacement10 .brand__logo{
    width: 135px;
    height: 135px;
  }
.replacement10 .brand h2{
    font-size: 45px;
  }
.replacement10 .field__body{
    min-height: 60px;
  }
.replacement10 .button{
    min-height: 55px;
    font-size: 20px;
  }
.replacement10 .splash-screen__logo{
    width: 175px;
    height: 175px;
  }
.replacement10 .splash-screen h1{
    font-size: 48px;
  }
.replacement10 .splash-screen h2{
    font-size: 42px;
  }
.replacement10 .splash-screen__girl{
    width: 300px;
    height: 360px;
  }
.replacement10 .onboarding__image{
    height: 310px;
  }
.replacement10 .onboarding h1{
    font-size: 42px;
  }
.replacement10 .onboarding p{
    font-size: 17px;
  }
.replacement10 .profile-head{
    grid-template-columns: 145px minmax(0, 1fr);
  }
.replacement10 .profile-avatar{
    width: 140px;
    height: 140px;
  }
.replacement10 .profile-head h2{
    font-size: 34px;
  }
.replacement10 .stat-card{
    min-height: 185px;
  }}

/* Signup/network safety */
form[aria-busy="true"] {
  cursor: progress;
}

form[aria-busy="true"] button[type="submit"],
form[aria-busy="true"] input[type="submit"],
button:disabled,
input[type="submit"]:disabled {
  opacity: .72;
  cursor: not-allowed;
  pointer-events: none;
}


/* ============================================================
   Splash production layout fix
   - keeps the external desktop page navigator
   - removes only the in-phone prototype hamburger
   - prevents character artwork from covering copy/CTA
   ============================================================ */
@media (min-width: 541px) {
  .desktop-toolbar {
    display: grid !important;
  }
}

.replacement10--splash .splash-screen > .round-icon {
  display: none !important;
}

.replacement10--splash .splash-screen {
  display: block;
}

.replacement10--splash .splash-screen__center {
  height: 100%;
  min-height: 0;
  padding:
    clamp(38px, 6.2vh, 58px)
    clamp(20px, 5vw, 30px)
    clamp(22px, 3.5vh, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.replacement10--splash .splash-screen__logo {
  flex: 0 0 auto;
  width: clamp(148px, 22vh, 190px);
  height: clamp(148px, 22vh, 190px);
  margin: 0 auto -18px;
  object-fit: contain;
}

.replacement10--splash .splash-screen h1 {
  flex: 0 0 auto;
  margin: 0;
  font-size: clamp(48px, 6.4vh, 60px);
  line-height: .96;
  letter-spacing: -3px;
}

.replacement10--splash .splash-screen__line {
  flex: 0 0 auto;
  width: min(235px, 68%);
  margin: clamp(10px, 1.5vh, 14px) auto clamp(10px, 1.5vh, 14px);
}

.replacement10--splash .splash-screen h2 {
  flex: 0 0 auto;
  margin: 0;
  font-size: clamp(38px, 5.6vh, 48px);
  line-height: .95;
}

.replacement10--splash .splash-screen p {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  width: min(100%, 330px);
  min-height: 46px;
  margin: clamp(14px, 2vh, 18px) auto clamp(6px, 1vh, 10px);
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: clamp(13px, 1.85vh, 15px);
  line-height: 1.2;
  white-space: normal;
}

.replacement10--splash .splash-screen__girl {
  position: static;
  z-index: auto;
  flex: 1 1 auto;
  min-height: 0;
  width: min(315px, 82vw);
  max-width: 100%;
  height: auto;
  max-height: clamp(250px, 38vh, 335px);
  margin: 0 auto;
  transform: none;
  object-fit: contain;
  object-position: center bottom;
}

.replacement10--splash .splash-screen__hint {
  z-index: 5;
  bottom: 10px;
  width: 100%;
  text-align: center;
  pointer-events: none;
}

/* Short phones: preserve hierarchy but compact everything before scrolling/overlap can happen. */
@media (max-height: 720px) {
  .replacement10--splash .splash-screen__center {
    padding-top: 24px;
    padding-bottom: 20px;
  }

  .replacement10--splash .splash-screen__logo {
    width: 116px;
    height: 116px;
    margin-bottom: -10px;
  }

  .replacement10--splash .splash-screen h1 {
    font-size: 42px;
  }

  .replacement10--splash .splash-screen__line {
    margin-top: 7px;
    margin-bottom: 8px;
  }

  .replacement10--splash .splash-screen h2 {
    font-size: 34px;
  }

  .replacement10--splash .splash-screen p {
    min-height: 38px;
    margin-top: 9px;
    margin-bottom: 3px;
    padding: 7px 14px;
    font-size: 12px;
  }

  .replacement10--splash .splash-screen__girl {
    width: min(230px, 74vw);
    max-height: 235px;
  }

  .replacement10--splash .splash-screen__hint {
    bottom: 5px;
    font-size: 9px;
  }
}

/* Narrow phones: keep the CTA inside the frame and character below it. */
@media (max-width: 350px) {
  .replacement10--splash .splash-screen__center {
    padding-left: 16px;
    padding-right: 16px;
  }

  .replacement10--splash .splash-screen p {
    width: 100%;
  }

  .replacement10--splash .splash-screen__girl {
    width: min(250px, 80vw);
  }
}


/* Temporary QA mode indicator, outside the phone UI. */
@media (min-width: 541px) {
  .desktop-toolbar::after {
    content: "AUTH BYPASS AKTIF";
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    margin-left: 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    background: rgba(255,255,255,.92);
    color: #243875;
    box-shadow: 0 6px 18px rgba(10,18,55,.14);
  }
}


/* ============================================================
   Splash refinement — no slogan pill
   Cleaner vertical rhythm for phone previews
   ============================================================ */
.replacement10--splash .splash-screen {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding:
    max(34px, env(safe-area-inset-top))
    24px
    max(18px, env(safe-area-inset-bottom));
}

.replacement10--splash .splash-screen .brand,
.replacement10--splash .splash-screen .splash-brand,
.replacement10--splash .splash-screen [class*="brand"] {
  margin-top: clamp(6px, 2.2vh, 18px);
}

.replacement10--splash .splash-screen .brand img,
.replacement10--splash .splash-screen .splash-brand img,
.replacement10--splash .splash-screen img[class*="logo"] {
  width: clamp(132px, 39vw, 168px);
  max-width: 46%;
  height: auto;
}

.replacement10--splash .splash-screen h1,
.replacement10--splash .splash-screen .splash-title {
  margin: clamp(18px, 3vh, 28px) 0 0;
  text-align: center;
  line-height: .98;
}

.replacement10--splash .splash-screen .splash-hero,
.replacement10--splash .splash-screen .hero-character,
.replacement10--splash .splash-screen img[class*="character"],
.replacement10--splash .splash-screen img[alt*="dokter" i],
.replacement10--splash .splash-screen img[alt*="girl" i] {
  position: static !important;
  display: block;
  width: auto;
  height: clamp(250px, 37vh, 320px);
  max-width: 78%;
  object-fit: contain;
  margin: clamp(30px, 4.8vh, 46px) auto 0;
  flex: 0 1 auto;
}

.replacement10--splash .splash-screen .tap-hint,
.replacement10--splash .splash-screen .start-hint,
.replacement10--splash .splash-screen [class*="hint"] {
  margin-top: auto;
  padding-top: 10px;
  padding-bottom: 2px;
}

/* Remove the old slogan/pill even if markup from an older cached screen remains. */
.replacement10--splash .splash-screen .tagline,
.replacement10--splash .splash-screen .slogan,
.replacement10--splash .splash-screen .hero-pill,
.replacement10--splash .splash-screen .subtitle-pill {
  display: none !important;
}

/* Short phones: preserve breathing room without overlap. */
@media (max-height: 650px) {
  .replacement10--splash .splash-screen {
    padding-top: 24px;
    padding-bottom: 12px;
  }

  .replacement10--splash .splash-screen .brand img,
  .replacement10--splash .splash-screen .splash-brand img,
  .replacement10--splash .splash-screen img[class*="logo"] {
    width: 118px;
  }

  .replacement10--splash .splash-screen h1,
  .replacement10--splash .splash-screen .splash-title {
    margin-top: 12px;
  }

  .replacement10--splash .splash-screen .splash-hero,
  .replacement10--splash .splash-screen .hero-character,
  .replacement10--splash .splash-screen img[class*="character"],
  .replacement10--splash .splash-screen img[alt*="dokter" i],
  .replacement10--splash .splash-screen img[alt*="girl" i] {
    height: 220px;
    margin-top: 18px;
  }
}

/* Tall phones: make the composition feel centered, not bottom-heavy. */
@media (min-height: 850px) {
  .replacement10--splash .splash-screen .splash-hero,
  .replacement10--splash .splash-screen .hero-character,
  .replacement10--splash .splash-screen img[class*="character"],
  .replacement10--splash .splash-screen img[alt*="dokter" i],
  .replacement10--splash .splash-screen img[alt*="girl" i] {
    height: 315px;
    margin-top: 42px;
  }
}


/* Splash refinement — remove decorative shapes */
.replacement10--splash .splash-screen .decorations,
.replacement10--splash .splash-screen .splash-screen__line,
.replacement10--splash .splash-screen .decor,
.replacement10--splash .splash-screen .decorations__star,
.replacement10--splash .splash-screen .decorations__heart,
.replacement10--splash .splash-screen .decorations__dot,
.replacement10--splash .splash-screen .decorations__leaf {
  display: none !important;
}

.replacement10--splash .splash-screen .splash-screen__center {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.replacement10--splash .splash-screen h1 {
  margin-top: clamp(16px, 2.8vh, 24px);
}

.replacement10--splash .splash-screen h2,
.replacement10--splash .splash-screen .splash-title {
  margin-top: clamp(18px, 3.2vh, 28px);
}

.replacement10--splash .splash-screen .splash-hero,
.replacement10--splash .splash-screen .hero-character,
.replacement10--splash .splash-screen .splash-screen__girl,
.replacement10--splash .splash-screen img[class*="character"],
.replacement10--splash .splash-screen img[alt*="Karakter Prend" i] {
  margin-top: clamp(28px, 4.8vh, 40px);
}


/* ============================================================
   Splash — reference-inspired composition
   Keeps: no in-phone hamburger, no slogan pill
   ============================================================ */
.replacement10--splash .splash-screen--reference {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding:
    max(28px, env(safe-area-inset-top))
    20px
    max(14px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 50% 18%, rgba(49,72,139,.42), transparent 34%),
    linear-gradient(180deg, #101b4e 0%, #11194a 52%, #141747 100%);
}

.replacement10--splash .splash-screen--reference .splash-screen__center {
  position: relative;
  z-index: 4;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
}

.replacement10--splash .splash-screen--reference .splash-screen__logo {
  width: clamp(118px, 34vw, 148px) !important;
  max-width: 42% !important;
  height: auto !important;
  margin: clamp(20px, 3.5vh, 34px) auto 0 !important;
  filter: drop-shadow(0 7px 9px rgba(3,7,28,.23));
}

.replacement10--splash .splash-screen--reference h1 {
  margin: 8px 0 0 !important;
  font-size: clamp(38px, 11.5vw, 52px);
  line-height: 1;
  letter-spacing: -.035em;
  color: #fff;
  text-align: center;
}

.replacement10--splash .splash-reference-divider {
  width: min(178px, 52vw);
  margin: 11px auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: #f786bd;
}

.replacement10--splash .splash-reference-divider i {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(211,161,244,.92));
}

.replacement10--splash .splash-reference-divider i:last-child {
  background: linear-gradient(90deg, rgba(211,161,244,.92), transparent);
}

.replacement10--splash .splash-reference-divider span {
  font-size: 11px;
  line-height: 1;
}

.replacement10--splash .splash-screen--reference h2 {
  margin: clamp(14px, 2.1vh, 20px) 0 0 !important;
  text-align: center;
  font-size: clamp(36px, 10.7vw, 48px);
  line-height: .94;
  letter-spacing: -.035em;
  color: #fff;
}

.replacement10--splash .splash-screen--reference h2 strong {
  color: #f379b4;
  font-weight: 900;
}

.replacement10--splash .splash-reference-decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.replacement10--splash .splash-reference-decor span {
  position: absolute;
  line-height: 1;
  user-select: none;
}

.replacement10--splash .spark {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,.34);
}

.replacement10--splash .spark--1 { top: 8.5%; left: 10%; font-size: 13px; }
.replacement10--splash .spark--2 { top: 18%; right: 13%; font-size: 12px; }
.replacement10--splash .spark--3 { top: 52%; left: 15%; font-size: 14px; }

.replacement10--splash .heart {
  color: #f37faf;
  text-shadow: 0 0 10px rgba(243,127,175,.28);
}

.replacement10--splash .heart--1 { top: 12%; left: 14%; font-size: 12px; }
.replacement10--splash .heart--2 { top: 31%; right: 11%; font-size: 11px; }
.replacement10--splash .heart--3 { top: 60%; right: 16%; font-size: 15px; }

.replacement10--splash .medical {
  color: rgba(177,132,214,.64);
  font-weight: 800;
}

.replacement10--splash .medical--1 { top: 22%; left: 8%; font-size: 17px; transform: rotate(-12deg); }
.replacement10--splash .medical--2 { top: 15%; right: 8%; font-size: 19px; transform: rotate(10deg); }

.replacement10--splash .splash-reference-stage {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 24px;
  height: 42%;
  pointer-events: none;
}

.replacement10--splash .splash-reference-stage .splash-screen__girl {
  position: absolute !important;
  z-index: 5;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: auto !important;
  height: clamp(235px, 31vh, 285px) !important;
  max-width: 66% !important;
  margin: 0 !important;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(3,8,32,.22));
}

.replacement10--splash .splash-reference-hill {
  position: absolute;
  bottom: -22px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  filter: saturate(.95);
}

.replacement10--splash .splash-reference-hill--left {
  left: -18%;
  width: 72%;
  height: 42%;
  background: linear-gradient(180deg, #4f3d87 0%, #332b72 100%);
  transform: rotate(5deg);
}

.replacement10--splash .splash-reference-hill--mid {
  left: 18%;
  width: 72%;
  height: 29%;
  background: linear-gradient(180deg, #805093 0%, #5b3c84 100%);
  transform: rotate(-3deg);
}

.replacement10--splash .splash-reference-hill--right {
  right: -22%;
  width: 70%;
  height: 36%;
  background: linear-gradient(180deg, #a35b9a 0%, #734587 100%);
  transform: rotate(-6deg);
}

.replacement10--splash .splash-reference-leaf {
  position: absolute;
  z-index: 4;
  bottom: 6%;
  font-size: clamp(48px, 15vw, 68px);
  color: rgba(142,99,171,.82);
  line-height: 1;
}

.replacement10--splash .splash-reference-leaf--left {
  left: 2%;
  transform: rotate(-18deg) scaleX(-1);
}

.replacement10--splash .splash-reference-leaf--right {
  right: 2%;
  transform: rotate(18deg);
}

.replacement10--splash .splash-screen--reference .splash-screen__hint {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap;
  font-size: 11px;
  color: rgba(255,255,255,.72);
}

/* Keep the previously rejected elements out of the phone UI. */
.replacement10--splash .splash-screen--reference .round-icon,
.replacement10--splash .splash-screen--reference .tagline,
.replacement10--splash .splash-screen--reference .slogan,
.replacement10--splash .splash-screen--reference .hero-pill,
.replacement10--splash .splash-screen--reference .subtitle-pill {
  display: none !important;
}

@media (max-height: 650px) {
  .replacement10--splash .splash-screen--reference .splash-screen__logo {
    width: 100px !important;
    margin-top: 8px !important;
  }

  .replacement10--splash .splash-screen--reference h1 {
    font-size: 34px;
  }

  .replacement10--splash .splash-screen--reference h2 {
    margin-top: 9px !important;
    font-size: 32px;
  }

  .replacement10--splash .splash-reference-divider {
    margin-top: 7px;
    width: 146px;
  }

  .replacement10--splash .splash-reference-stage {
    height: 40%;
  }

  .replacement10--splash .splash-reference-stage .splash-screen__girl {
    height: 190px !important;
  }
}

@media (min-height: 850px) {
  .replacement10--splash .splash-reference-stage .splash-screen__girl {
    height: 285px !important;
  }
}


/* ============================================================
   Splash balance pass — fill the empty middle section
   ============================================================ */
.replacement10--splash .splash-screen--reference .splash-screen__logo {
  width: clamp(138px, 39vw, 166px) !important;
  max-width: 46% !important;
  margin-top: clamp(14px, 2.8vh, 26px) !important;
}

.replacement10--splash .splash-screen--reference h1 {
  margin-top: 7px !important;
  font-size: clamp(44px, 12.8vw, 58px) !important;
}

.replacement10--splash .splash-reference-divider {
  width: min(194px, 56vw);
  margin-top: 10px;
}

.replacement10--splash .splash-screen--reference h2 {
  margin-top: clamp(13px, 1.9vh, 18px) !important;
  font-size: clamp(39px, 11.4vw, 51px) !important;
}

.replacement10--splash .splash-reference-stage {
  bottom: 30px;
  height: 47%;
}

.replacement10--splash .splash-reference-stage .splash-screen__girl {
  height: clamp(258px, 34vh, 304px) !important;
  max-width: 70% !important;
}

.replacement10--splash .splash-reference-hill--left {
  height: 39%;
}

.replacement10--splash .splash-reference-hill--mid {
  height: 27%;
}

.replacement10--splash .splash-reference-hill--right {
  height: 34%;
}

/* Keep short phones compact, but still avoid the oversized empty gap. */
@media (max-height: 650px) {
  .replacement10--splash .splash-screen--reference .splash-screen__logo {
    width: 112px !important;
    margin-top: 5px !important;
  }

  .replacement10--splash .splash-screen--reference h1 {
    font-size: 37px !important;
  }

  .replacement10--splash .splash-screen--reference h2 {
    font-size: 34px !important;
  }

  .replacement10--splash .splash-reference-stage {
    height: 44%;
    bottom: 22px;
  }

  .replacement10--splash .splash-reference-stage .splash-screen__girl {
    height: 205px !important;
  }
}

/* Tall phones can afford a slightly stronger hero composition. */
@media (min-height: 850px) {
  .replacement10--splash .splash-screen--reference .splash-screen__logo {
    width: 166px !important;
  }

  .replacement10--splash .splash-screen--reference h1 {
    font-size: 58px !important;
  }

  .replacement10--splash .splash-screen--reference h2 {
    font-size: 51px !important;
  }

  .replacement10--splash .splash-reference-stage {
    height: 48%;
  }

  .replacement10--splash .splash-reference-stage .splash-screen__girl {
    height: 304px !important;
  }
}


/* ============================================================
   Splash gap fix — pull the hero section upward
   ============================================================ */
.replacement10--splash .splash-reference-stage {
  bottom: 18px !important;
  height: 56% !important;
}

.replacement10--splash .splash-reference-stage .splash-screen__girl {
  bottom: 26px !important;
  height: clamp(274px, 36.5vh, 322px) !important;
  max-width: 72% !important;
}

.replacement10--splash .splash-reference-hill--left {
  height: 45% !important;
}

.replacement10--splash .splash-reference-hill--mid {
  height: 31% !important;
}

.replacement10--splash .splash-reference-hill--right {
  height: 39% !important;
}

@media (max-height: 650px) {
  .replacement10--splash .splash-reference-stage {
    bottom: 14px !important;
    height: 51% !important;
  }

  .replacement10--splash .splash-reference-stage .splash-screen__girl {
    bottom: 16px !important;
    height: 220px !important;
    max-width: 70% !important;
  }
}

@media (min-height: 850px) {
  .replacement10--splash .splash-reference-stage {
    height: 57% !important;
  }

  .replacement10--splash .splash-reference-stage .splash-screen__girl {
    bottom: 30px !important;
    height: 322px !important;
    max-width: 72% !important;
  }
}


/* ============================================================
   Reusable Prend slider component
   ============================================================ */
.replacement10 .prend-slider {
  --slider-duration: 460ms;
  position: relative;
  width: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto auto;
  align-items: stretch;
  outline: none;
}

.replacement10 .prend-slider__viewport {
  min-height: 0;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.replacement10 .prend-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform var(--slider-duration) cubic-bezier(.22,.72,.22,1);
}

.replacement10 .prend-slider__slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  padding: 0 2px;
  opacity: .62;
  transition: opacity 260ms ease;
}

.replacement10 .prend-slider__slide[aria-hidden="false"] {
  opacity: 1;
}

.replacement10 .prend-slider__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 10px auto 5px;
}

.replacement10 .prend-slider__dot {
  appearance: none;
  width: 13px;
  height: 13px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #8a8bb0;
  box-shadow: none;
  cursor: pointer;
  transition: width 220ms ease, transform 220ms ease, background 220ms ease;
}

.replacement10 .prend-slider__dot.is-active {
  width: 29px;
  background: var(--pink-400);
}

.replacement10 .prend-slider__dot:focus-visible {
  outline: 2px solid rgba(255,255,255,.92);
  outline-offset: 4px;
}

.replacement10 .prend-slider__skip {
  justify-self: center;
  margin: 2px 0 8px;
  min-height: 34px;
}

.replacement10 .prend-slider__next {
  width: 100%;
  margin: 0 !important;
}

.replacement10 .prend-slider.is-sliding .prend-slider__slide[aria-hidden="false"] h1,
.replacement10 .prend-slider.is-sliding .prend-slider__slide[aria-hidden="false"] .prend-slider__art,
.replacement10 .prend-slider.is-sliding .prend-slider__slide[aria-hidden="false"] p {
  animation: prend-slide-content-in 420ms cubic-bezier(.22,.72,.22,1) both;
}

.replacement10 .prend-slider.is-sliding .prend-slider__slide[aria-hidden="false"] .prend-slider__art {
  animation-delay: 45ms;
}

.replacement10 .prend-slider.is-sliding .prend-slider__slide[aria-hidden="false"] p {
  animation-delay: 80ms;
}

@keyframes prend-slide-content-in {
  from { opacity: .25; transform: translateY(11px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
   Onboarding slider composition
   ============================================================ */
.replacement10 .screen--onboarding .screen__content {
  overflow: hidden;
  padding: max(28px, env(safe-area-inset-top)) 22px max(18px, env(safe-area-inset-bottom));
}

.replacement10 .screen--onboarding .decorations {
  opacity: .88;
}

.replacement10 .onboarding {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.replacement10 .onboarding-slider {
  height: 100%;
}

.replacement10 .onboarding-slider .prend-slider__slide h1 {
  margin: 8px 0 0;
  color: var(--white);
  font-size: clamp(42px, 11.8vw, 50px);
  line-height: .96;
  letter-spacing: -.025em;
  text-align: center;
}

.replacement10 .onboarding-slider .prend-slider__slide h1 strong,
.replacement10 .onboarding-slider .prend-slider__slide h1 span {
  color: var(--pink-400);
}

.replacement10 .onboarding-slider .prend-slider__slide h1 span {
  font-size: .62em;
  vertical-align: 18%;
}

.replacement10 .onboarding-slider .prend-slider__art {
  width: 100%;
  min-height: 0;
  height: clamp(285px, 39vh, 365px);
  margin: 2px auto -6px;
  display: grid;
  place-items: center;
}

.replacement10 .onboarding-slider .onboarding__image {
  display: block;
  width: min(410px, 100%);
  height: 100%;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(3,8,32,.12));
}

.replacement10 .onboarding-slider .prend-slider__slide p {
  margin: 0;
  color: var(--white);
  font-family: "Trebuchet MS", sans-serif;
  font-size: clamp(17px, 4.7vw, 20px);
  line-height: 1.42;
  text-align: center;
}

.replacement10 .onboarding-slider .prend-slider__slide p strong {
  color: var(--pink-300);
}

.replacement10 .onboarding-slider .button {
  min-height: 60px;
  font-size: 21px;
}

@media (max-height: 700px) {
  .replacement10 .screen--onboarding .screen__content {
    padding-top: 20px;
    padding-bottom: 12px;
  }

  .replacement10 .onboarding-slider .prend-slider__slide h1 {
    margin-top: 2px;
    font-size: 38px;
  }

  .replacement10 .onboarding-slider .prend-slider__art {
    height: clamp(225px, 36vh, 275px);
    margin-bottom: -8px;
  }

  .replacement10 .onboarding-slider .prend-slider__slide p {
    font-size: 15.5px;
    line-height: 1.34;
  }

  .replacement10 .prend-slider__dots {
    margin-top: 6px;
  }

  .replacement10 .prend-slider__skip {
    margin-bottom: 5px;
  }

  .replacement10 .onboarding-slider .button {
    min-height: 54px;
  }
}

@media (min-height: 900px) {
  .replacement10 .screen--onboarding .screen__content {
    padding-top: 42px;
    padding-bottom: 24px;
  }

  .replacement10 .onboarding-slider .prend-slider__art {
    height: 390px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .replacement10 .prend-slider__track,
  .replacement10 .prend-slider__dot,
  .replacement10 .prend-slider__slide {
    transition: none !important;
  }

  .replacement10 .prend-slider.is-sliding .prend-slider__slide[aria-hidden="false"] h1,
  .replacement10 .prend-slider.is-sliding .prend-slider__slide[aria-hidden="false"] .prend-slider__art,
  .replacement10 .prend-slider.is-sliding .prend-slider__slide[aria-hidden="false"] p {
    animation: none !important;
  }
}


/* ============================================================
   Page 02 — center the onboarding slider correctly
   Fixes the empty implicit grid row at the bottom.
   ============================================================ */
.replacement10 .screen--onboarding {
  grid-template-rows: minmax(0, 1fr) !important;
}

.replacement10 .screen--onboarding .screen__content {
  grid-row: 1 !important;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding:
    max(24px, env(safe-area-inset-top))
    22px
    max(18px, env(safe-area-inset-bottom));
}

.replacement10 .screen--onboarding .onboarding,
.replacement10 .screen--onboarding .onboarding-slider {
  height: 100%;
  min-height: 0;
}

.replacement10 .screen--onboarding .prend-slider {
  grid-template-rows: minmax(0, 1fr) auto auto auto;
  height: 100%;
}

.replacement10 .screen--onboarding .prend-slider__viewport {
  display: flex;
  align-items: stretch;
  min-height: 0;
}

.replacement10 .screen--onboarding .prend-slider__track {
  height: 100%;
}

.replacement10 .screen--onboarding .prend-slider__slide {
  grid-template-rows: auto auto auto;
  align-content: center;
  gap: clamp(8px, 1.7vh, 15px);
  height: 100%;
  padding: 4px 2px 2px;
}

.replacement10 .screen--onboarding .onboarding-slider .prend-slider__slide h1 {
  margin: 0;
}

.replacement10 .screen--onboarding .onboarding-slider .prend-slider__art {
  height: clamp(250px, 35vh, 330px);
  margin: 0 auto;
}

.replacement10 .screen--onboarding .onboarding-slider .prend-slider__slide:nth-child(2) .onboarding__image {
  transform: scale(1.04);
}

.replacement10 .screen--onboarding .onboarding-slider .prend-slider__slide:nth-child(3) .onboarding__image {
  transform: scale(1.10);
}

.replacement10 .screen--onboarding .prend-slider__dots {
  margin: 10px auto 5px;
}

.replacement10 .screen--onboarding .prend-slider__skip {
  margin: 1px 0 8px;
}

.replacement10 .screen--onboarding .prend-slider__next {
  margin-bottom: 0 !important;
}

@media (max-height: 650px) {
  .replacement10 .screen--onboarding .screen__content {
    padding-top: 16px;
    padding-bottom: 10px;
  }

  .replacement10 .screen--onboarding .prend-slider__slide {
    gap: 5px;
  }

  .replacement10 .screen--onboarding .onboarding-slider .prend-slider__slide h1 {
    font-size: 35px;
  }

  .replacement10 .screen--onboarding .onboarding-slider .prend-slider__art {
    height: clamp(190px, 33vh, 225px);
  }

  .replacement10 .screen--onboarding .onboarding-slider .prend-slider__slide p {
    font-size: 14.5px;
    line-height: 1.28;
  }
}

/* ============================================================
   Page 01 — stronger splash hero + richer particles
   ============================================================ */
.replacement10--splash .splash-screen--reference .splash-screen__center {
  isolation: isolate;
}

.replacement10--splash .splash-screen--reference .splash-screen__center::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: clamp(6px, 1.2vh, 12px);
  left: 50%;
  width: clamp(188px, 50vw, 216px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,.16) 0 38%, rgba(245,145,192,.13) 52%, transparent 70%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.09),
    0 0 30px rgba(233,133,197,.18);
  pointer-events: none;
}

.replacement10--splash .splash-screen--reference .splash-screen__logo {
  position: relative;
  z-index: 2;
  width: clamp(168px, 45vw, 194px) !important;
  max-width: 52% !important;
  margin-top: clamp(14px, 2.5vh, 24px) !important;
  filter:
    drop-shadow(0 7px 7px rgba(2,7,29,.22))
    drop-shadow(0 0 10px rgba(255,255,255,.22))
    drop-shadow(0 0 16px rgba(241,132,187,.18));
}

.replacement10--splash .splash-screen--reference h1,
.replacement10--splash .splash-screen--reference .splash-reference-divider,
.replacement10--splash .splash-screen--reference h2 {
  position: relative;
  z-index: 2;
}

.replacement10--splash .splash-screen--reference h1 {
  font-size: clamp(48px, 13.7vw, 62px) !important;
  text-shadow: 0 4px 12px rgba(1,6,28,.18);
}

.replacement10--splash .splash-reference-decor {
  opacity: 1;
}

.replacement10--splash .splash-reference-decor .spark,
.replacement10--splash .splash-reference-decor .heart,
.replacement10--splash .splash-reference-decor .medical,
.replacement10--splash .splash-reference-decor .splash-leaf-particle {
  animation: prend-particle-float 4.6s ease-in-out infinite alternate;
}

.replacement10--splash .spark--4 { top: 35%; left: 9%; font-size: 11px; animation-delay: -.8s !important; }
.replacement10--splash .spark--5 { top: 43%; right: 8%; font-size: 14px; animation-delay: -1.9s !important; }
.replacement10--splash .spark--6 { top: 57%; left: 20%; font-size: 11px; animation-delay: -2.6s !important; }
.replacement10--splash .spark--7 { top: 66%; right: 20%; font-size: 10px; animation-delay: -1.2s !important; }

.replacement10--splash .heart--4 { top: 39%; left: 13%; font-size: 9px; animation-delay: -1.5s !important; }
.replacement10--splash .heart--5 { top: 49%; right: 14%; font-size: 10px; animation-delay: -2.3s !important; }
.replacement10--splash .heart--6 { top: 70%; left: 12%; font-size: 12px; animation-delay: -.4s !important; }

.replacement10--splash .medical--3 {
  top: 28%;
  right: 7%;
  color: rgba(173,126,208,.55);
  font-size: 22px;
  transform: rotate(-22deg);
  animation-delay: -2.8s !important;
}

.replacement10--splash .medical--4 {
  top: 32%;
  left: 7%;
  color: rgba(165,115,205,.55);
  font-size: 16px;
  transform: rotate(14deg);
  animation-delay: -1.1s !important;
}

.replacement10--splash .splash-leaf-particle {
  color: rgba(158,111,190,.62);
  font-size: 21px;
}

.replacement10--splash .splash-leaf-particle--1 {
  top: 25%;
  left: 13%;
  transform: rotate(-24deg) scaleX(-1);
  animation-delay: -2.1s !important;
}

.replacement10--splash .splash-leaf-particle--2 {
  top: 24%;
  right: 13%;
  transform: rotate(24deg);
  animation-delay: -.7s !important;
}

.replacement10--splash .splash-reference-decor::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .58;
  background:
    radial-gradient(circle at 18% 18%, #fff 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 84% 21%, #f280b5 0 1.3px, transparent 1.9px),
    radial-gradient(circle at 12% 48%, #ba8bd7 0 1.3px, transparent 1.9px),
    radial-gradient(circle at 89% 52%, #fff 0 1.1px, transparent 1.7px),
    radial-gradient(circle at 26% 61%, #f58ab7 0 1.1px, transparent 1.7px),
    radial-gradient(circle at 78% 64%, #b890d5 0 1.3px, transparent 1.9px),
    radial-gradient(circle at 16% 75%, #fff 0 1.1px, transparent 1.7px),
    radial-gradient(circle at 88% 78%, #f58ab7 0 1.2px, transparent 1.8px);
  pointer-events: none;
}

@keyframes prend-particle-float {
  from { translate: 0 -2px; opacity: .72; }
  to   { translate: 0 3px; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .replacement10--splash .splash-reference-decor .spark,
  .replacement10--splash .splash-reference-decor .heart,
  .replacement10--splash .splash-reference-decor .medical,
  .replacement10--splash .splash-reference-decor .splash-leaf-particle {
    animation: none !important;
  }
}

@media (max-height: 650px) {
  .replacement10--splash .splash-screen--reference .splash-screen__center::before {
    width: 158px;
    top: 1px;
  }

  .replacement10--splash .splash-screen--reference .splash-screen__logo {
    width: 138px !important;
    margin-top: 5px !important;
  }

  .replacement10--splash .splash-screen--reference h1 {
    font-size: 42px !important;
  }
}


/* ============================================================
   Page 02 v2 — main slide cluster slightly higher
   CTA navigation stays anchored to the lower area.
   ============================================================ */
.replacement10 .screen--onboarding .prend-slider__slide {
  translate: 0 -30px;
}

@media (max-height: 700px) {
  .replacement10 .screen--onboarding .prend-slider__slide {
    translate: 0 -14px;
  }
}

@media (min-height: 900px) {
  .replacement10 .screen--onboarding .prend-slider__slide {
    translate: 0 -34px;
  }
}

/* ============================================================
   Page 01 v2 — stronger wow factor, still using original assets
   ============================================================ */
.replacement10--splash .splash-screen--reference {
  background:
    radial-gradient(ellipse at 50% 10%, rgba(92,113,193,.34) 0%, transparent 31%),
    radial-gradient(circle at 12% 43%, rgba(155,91,181,.10) 0%, transparent 24%),
    radial-gradient(circle at 88% 48%, rgba(243,121,177,.09) 0%, transparent 23%),
    linear-gradient(180deg, #13235b 0%, #111b51 42%, #121849 100%) !important;
}

.replacement10--splash .splash-screen--reference::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: .7;
  background:
    linear-gradient(112deg, transparent 15%, rgba(255,255,255,.025) 42%, transparent 62%),
    radial-gradient(ellipse at 50% 23%, rgba(245,141,194,.08), transparent 30%);
}

.replacement10--splash .splash-screen--reference .splash-screen__center::before {
  top: -3px !important;
  width: clamp(224px, 59vw, 248px) !important;
  background:
    radial-gradient(circle, rgba(255,255,255,.19) 0 31%, rgba(242,145,197,.16) 43%, rgba(162,112,206,.11) 55%, transparent 71%) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10),
    0 0 28px rgba(255,255,255,.08),
    0 0 54px rgba(229,124,191,.19) !important;
}

.replacement10--splash .splash-screen--reference .splash-screen__center::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 11px;
  left: 50%;
  width: clamp(203px, 54vw, 226px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
  background:
    conic-gradient(
      from 18deg,
      transparent 0 9%,
      rgba(255,255,255,.46) 10% 10.7%,
      transparent 11% 25%,
      rgba(242,129,186,.48) 26% 27%,
      transparent 27.5% 44%,
      rgba(190,141,221,.43) 45% 46%,
      transparent 47% 72%,
      rgba(255,255,255,.38) 73% 74%,
      transparent 75% 100%
    );
  -webkit-mask: radial-gradient(circle, transparent 0 61%, #000 62% 63.5%, transparent 65%);
  mask: radial-gradient(circle, transparent 0 61%, #000 62% 63.5%, transparent 65%);
  filter: drop-shadow(0 0 7px rgba(242,135,190,.22));
  animation: prend-logo-orbit 17s linear infinite;
}

.replacement10--splash .splash-screen--reference .splash-screen__logo {
  width: clamp(184px, 49vw, 206px) !important;
  max-width: 56% !important;
  margin-top: clamp(10px, 1.8vh, 17px) !important;
  filter:
    drop-shadow(0 8px 8px rgba(2,7,29,.26))
    drop-shadow(0 0 8px rgba(255,255,255,.30))
    drop-shadow(0 0 21px rgba(241,132,187,.28)) !important;
}

.replacement10--splash .splash-screen--reference h1 {
  margin-top: 4px !important;
  font-size: clamp(50px, 14.3vw, 64px) !important;
  text-shadow:
    0 5px 13px rgba(1,6,28,.22),
    0 0 16px rgba(255,255,255,.06);
}

.replacement10--splash .splash-reference-divider {
  width: min(210px, 59vw) !important;
  margin-top: 9px !important;
}

.replacement10--splash .splash-reference-divider i {
  height: 1.5px;
  box-shadow: 0 0 8px rgba(213,159,239,.26);
}

.replacement10--splash .splash-screen--reference h2 {
  margin-top: clamp(12px, 1.8vh, 16px) !important;
  text-shadow: 0 5px 14px rgba(1,6,28,.18);
}

.replacement10--splash .splash-reference-decor::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 8% 4% 25%;
  pointer-events: none;
  opacity: .82;
  background:
    radial-gradient(circle at 7% 9%, rgba(255,255,255,.85) 0 1.4px, transparent 2px),
    radial-gradient(circle at 20% 4%, rgba(246,123,174,.90) 0 1.8px, transparent 2.4px),
    radial-gradient(circle at 92% 7%, rgba(255,255,255,.72) 0 1.3px, transparent 2px),
    radial-gradient(circle at 83% 19%, rgba(205,155,228,.72) 0 1.5px, transparent 2.1px),
    radial-gradient(circle at 5% 29%, rgba(180,129,210,.86) 0 1.5px, transparent 2.1px),
    radial-gradient(circle at 94% 33%, rgba(246,128,178,.86) 0 1.8px, transparent 2.5px),
    radial-gradient(circle at 16% 45%, rgba(255,255,255,.77) 0 1.3px, transparent 2px),
    radial-gradient(circle at 87% 49%, rgba(255,255,255,.81) 0 1.4px, transparent 2.1px),
    radial-gradient(circle at 7% 61%, rgba(246,128,178,.85) 0 1.5px, transparent 2.2px),
    radial-gradient(circle at 93% 66%, rgba(181,132,212,.78) 0 1.6px, transparent 2.2px),
    radial-gradient(circle at 18% 78%, rgba(255,255,255,.75) 0 1.3px, transparent 2px),
    radial-gradient(circle at 80% 82%, rgba(246,128,178,.78) 0 1.5px, transparent 2.1px);
}

.replacement10--splash .splash-reference-decor span {
  text-shadow: 0 0 9px currentColor;
}

.replacement10--splash .spark--1 { top: 7%; left: 10%; font-size: 14px; }
.replacement10--splash .spark--2 { top: 18%; right: 11%; font-size: 13px; }
.replacement10--splash .spark--3 { top: 52%; left: 13%; font-size: 15px; }
.replacement10--splash .spark--4 { top: 33%; left: 7%; font-size: 13px; }
.replacement10--splash .spark--5 { top: 42%; right: 7%; font-size: 15px; }
.replacement10--splash .spark--6 { top: 58%; left: 23%; font-size: 12px; }
.replacement10--splash .spark--7 { top: 63%; right: 20%; font-size: 12px; }

.replacement10--splash .heart--1 { top: 11%; left: 14%; font-size: 11px; }
.replacement10--splash .heart--2 { top: 30%; right: 10%; font-size: 11px; }
.replacement10--splash .heart--3 { top: 59%; right: 15%; font-size: 16px; }
.replacement10--splash .heart--4 { top: 40%; left: 11%; font-size: 10px; }
.replacement10--splash .heart--5 { top: 51%; right: 13%; font-size: 11px; }
.replacement10--splash .heart--6 { top: 68%; left: 12%; font-size: 12px; }

.replacement10--splash .medical--1 {
  top: 23%;
  left: 6%;
  font-size: 22px;
  color: rgba(177,132,214,.70);
}

.replacement10--splash .medical--2 {
  top: 14%;
  right: 6%;
  font-size: 22px;
  color: rgba(195,144,220,.70);
}

.replacement10--splash .medical--3 {
  top: 24%;
  right: 9%;
  font-size: 25px;
  color: rgba(170,119,204,.63);
}

.replacement10--splash .medical--4 {
  top: 31%;
  left: 8%;
  font-size: 17px;
  color: rgba(174,120,210,.68);
}

.replacement10--splash .splash-leaf-particle {
  font-size: 28px !important;
  color: rgba(157,105,193,.70) !important;
}

.replacement10--splash .splash-leaf-particle--1 {
  top: 26%;
  left: 10%;
}

.replacement10--splash .splash-leaf-particle--2 {
  top: 26%;
  right: 10%;
}

.replacement10--splash .splash-reference-stage {
  height: 57% !important;
}

.replacement10--splash .splash-reference-stage .splash-screen__girl {
  bottom: 24px !important;
  height: clamp(290px, 38vh, 330px) !important;
  max-width: 74% !important;
}

.replacement10--splash .splash-reference-leaf {
  bottom: 8% !important;
  font-size: clamp(65px, 18vw, 82px) !important;
  color: rgba(151,101,185,.90) !important;
  text-shadow: 0 0 14px rgba(151,101,185,.16);
}

.replacement10--splash .splash-reference-hill--left {
  height: 47% !important;
}

.replacement10--splash .splash-reference-hill--mid {
  height: 33% !important;
}

.replacement10--splash .splash-reference-hill--right {
  height: 41% !important;
}

@keyframes prend-logo-orbit {
  to { transform: translateX(-50%) rotate(360deg); }
}

@media (max-height: 650px) {
  .replacement10--splash .splash-screen--reference .splash-screen__center::before {
    width: 181px !important;
  }

  .replacement10--splash .splash-screen--reference .splash-screen__center::after {
    width: 166px;
    top: 2px;
  }

  .replacement10--splash .splash-screen--reference .splash-screen__logo {
    width: 150px !important;
  }

  .replacement10--splash .splash-reference-stage .splash-screen__girl {
    height: 222px !important;
    bottom: 15px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .replacement10--splash .splash-screen--reference .splash-screen__center::after {
    animation: none !important;
  }
}


/* ============================================================
   Splash cleanup — remove rotating orbit/circle around logo
   Keep only a soft non-geometric glow.
   ============================================================ */
.replacement10--splash .splash-screen--reference .splash-screen__center::after {
  display: none !important;
  content: none !important;
  animation: none !important;
}

.replacement10--splash .splash-screen--reference .splash-screen__center::before {
  top: 2px !important;
  width: clamp(220px, 58vw, 245px) !important;
  background:
    radial-gradient(
      circle,
      rgba(255,255,255,.18) 0 26%,
      rgba(244,145,196,.13) 39%,
      rgba(165,113,207,.07) 54%,
      rgba(165,113,207,0) 72%
    ) !important;
  box-shadow:
    0 0 30px rgba(255,255,255,.055),
    0 0 56px rgba(229,124,191,.16) !important;
  border: 0 !important;
}

.replacement10--splash .splash-screen--reference .splash-screen__logo {
  filter:
    drop-shadow(0 8px 8px rgba(2,7,29,.24))
    drop-shadow(0 0 9px rgba(255,255,255,.28))
    drop-shadow(0 0 19px rgba(241,132,187,.24)) !important;
}


/* ============================================================
   Splash cleanup — remove ALL large circular glow shapes
   Keep highlight only on the logo image itself.
   ============================================================ */
.replacement10--splash .splash-screen--reference .splash-screen__center::before,
.replacement10--splash .splash-screen--reference .splash-screen__center::after {
  display: none !important;
  content: none !important;
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;
  animation: none !important;
}

.replacement10--splash .splash-screen--reference .splash-screen__logo {
  filter:
    drop-shadow(0 8px 8px rgba(2,7,29,.26))
    drop-shadow(0 0 8px rgba(255,255,255,.24))
    drop-shadow(0 0 15px rgba(241,132,187,.18)) !important;
}


/* ============================================================
   Global bottom navigation — Beranda / Prendbot / Kalender
   Applies to every existing page that already renders a bottom nav.
   ============================================================ */
.bottom-nav.bottom-nav--main,
.replacement10 .bottom-nav.bottom-nav--main {
  position: relative;
  z-index: 40;
  min-height: 78px;
  height: auto;
  box-sizing: border-box;
  padding: 10px 20px max(10px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr);
  align-items: end;
  gap: 6px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(247,143,204,.98) 0%, rgba(234,105,181,.99) 100%);
  border-top: 1px solid rgba(255,255,255,.45);
  box-shadow:
    0 -10px 28px rgba(12,23,67,.20),
    inset 0 1px 0 rgba(255,255,255,.30);
  overflow: visible;
}

.bottom-nav.bottom-nav--main::before,
.replacement10 .bottom-nav.bottom-nav--main::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 92px;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 0 0 50px 50px;
  background: rgba(132,53,137,.14);
  filter: blur(13px);
  pointer-events: none;
}

.bottom-nav.bottom-nav--main > button,
.replacement10 .bottom-nav.bottom-nav--main > button,
.bottom-nav.bottom-nav--main .bottom-nav__item,
.bottom-nav.bottom-nav--main .bottom-nav__brand {
  appearance: none;
  min-width: 0;
  border: 0;
  outline: 0;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav.bottom-nav--main .bottom-nav__item,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__item {
  position: relative;
  min-height: 52px;
  padding: 6px 9px 4px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 18px;
  color: rgba(255,255,255,.86);
  background: transparent;
  opacity: 1;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.bottom-nav.bottom-nav--main .bottom-nav__icon,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__icon {
  width: 31px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  transition: transform 180ms ease, background 180ms ease;
}

.bottom-nav.bottom-nav--main .bottom-nav__item svg,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__item svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 3px rgba(70,31,98,.16));
}

.bottom-nav.bottom-nav--main .bottom-nav__label,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__label {
  display: block;
  font-size: 10px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: .01em;
  white-space: nowrap;
}

.bottom-nav.bottom-nav--main .bottom-nav__item.is-active,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__item.is-active {
  color: #fff;
  background: rgba(255,255,255,.17);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.21),
    0 5px 12px rgba(105,43,122,.12);
}

.bottom-nav.bottom-nav--main .bottom-nav__item.is-active .bottom-nav__icon,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__item.is-active .bottom-nav__icon {
  background: rgba(255,255,255,.13);
  transform: translateY(-1px);
}

.bottom-nav.bottom-nav--main .bottom-nav__item:active,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__item:active {
  transform: scale(.96);
}

.bottom-nav.bottom-nav--main .bottom-nav__brand,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__brand {
  position: relative;
  z-index: 3;
  width: 104px;
  height: 84px;
  min-height: 84px;
  margin: -32px auto -1px;
  padding: 0;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  border-radius: 42px 42px 22px 22px !important;
  color: #fff;
  background: transparent !important;
  box-shadow: none !important;
  transform: none;
  transition: transform 180ms ease;
}

.bottom-nav.bottom-nav--main .bottom-nav__brand:active,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__brand:active {
  transform: scale(.96);
}

.bottom-nav.bottom-nav--main .bottom-nav__bot-ring,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__bot-ring {
  position: relative;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.94);
  background:
    radial-gradient(circle at 50% 32%, #fff 0 17%, #f8d5ec 55%, #c98ac9 100%);
  box-shadow:
    0 7px 20px rgba(64,27,99,.30),
    0 0 0 5px rgba(242,129,190,.28),
    inset 0 0 0 1px rgba(111,59,150,.16);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.bottom-nav.bottom-nav--main .bottom-nav__bot-ring::after,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__bot-ring::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
  pointer-events: none;
}

.bottom-nav.bottom-nav--main .bottom-nav__bot,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__bot {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.18);
}

.bottom-nav.bottom-nav--main .bottom-nav__brand-label,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__brand-label {
  margin-top: 2px !important;
  padding: 2px 8px 3px;
  border-radius: 999px;
  color: #fff;
  background: rgba(92,39,121,.18);
  text-shadow: 0 1px 3px rgba(64,22,90,.22);
  font-size: 10px !important;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .01em;
  white-space: nowrap;
}

.bottom-nav.bottom-nav--main .bottom-nav__brand.is-active .bottom-nav__bot-ring,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__brand.is-active .bottom-nav__bot-ring {
  transform: translateY(-2px) scale(1.045);
  box-shadow:
    0 9px 24px rgba(64,27,99,.35),
    0 0 0 6px rgba(255,255,255,.22),
    0 0 22px rgba(255,226,244,.42);
}

.bottom-nav.bottom-nav--main .bottom-nav__brand.is-active .bottom-nav__brand-label,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__brand.is-active .bottom-nav__brand-label {
  background: rgba(92,39,121,.28);
}

@media (max-width: 360px) {
  .bottom-nav.bottom-nav--main,
  .replacement10 .bottom-nav.bottom-nav--main {
    grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
    padding-left: 12px;
    padding-right: 12px;
  }

  .bottom-nav.bottom-nav--main .bottom-nav__brand,
  .replacement10 .bottom-nav.bottom-nav--main .bottom-nav__brand {
    width: 92px;
  }

  .bottom-nav.bottom-nav--main .bottom-nav__bot-ring,
  .replacement10 .bottom-nav.bottom-nav--main .bottom-nav__bot-ring {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bottom-nav.bottom-nav--main *,
  .replacement10 .bottom-nav.bottom-nav--main * {
    transition: none !important;
  }
}


/* ============================================================
   Prendbot personal-brand logo in global bottom navigation
   ============================================================ */
.bottom-nav.bottom-nav--main .bottom-nav__bot-ring,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__bot-ring {
  width: 70px;
  height: 70px;
  flex-basis: 70px;
  border-width: 4px;
  background:
    radial-gradient(circle at 50% 38%, #fff 0 29%, #f8e1ef 63%, #d99bd1 100%);
  box-shadow:
    0 9px 22px rgba(54,24,92,.32),
    0 0 0 5px rgba(242,129,190,.28),
    0 0 20px rgba(255,255,255,.18),
    inset 0 0 0 1px rgba(111,59,150,.14);
}

.bottom-nav.bottom-nav--main .bottom-nav__bot,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__bot {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 2px;
  display: block;
  object-fit: contain !important;
  object-position: center !important;
  transform: scale(.97) !important;
  border-radius: 50%;
  filter: drop-shadow(0 2px 5px rgba(31,22,77,.16));
}

.bottom-nav.bottom-nav--main .bottom-nav__brand.is-active .bottom-nav__bot-ring,
.replacement10 .bottom-nav.bottom-nav--main .bottom-nav__brand.is-active .bottom-nav__bot-ring {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 11px 25px rgba(54,24,92,.36),
    0 0 0 6px rgba(255,255,255,.23),
    0 0 24px rgba(245,148,203,.30),
    inset 0 0 0 1px rgba(111,59,150,.13);
}
