:root {
  --bg: #10151b;
  --screen: #151a20;
  --card: #20272e;
  --soft: #2a323a;
  --ink: #edf3e8;
  --muted: #909a91;
  --line: #2f3842;
  --green: #a8cc59;
  --green-dark: #7fa342;
  --amber: #f0a93c;
  --red: #ef5a4f;
  --shadow: 0 18px 50px rgba(0,0,0,.28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="light"] {
  --bg: #a6bd6b;
  --screen: #f8faf3;
  --card: #ffffff;
  --soft: #eef3e4;
  --ink: #172114;
  --muted: #697165;
  --line: #e5eadf;
  --shadow: 0 18px 38px rgba(70,90,50,.14);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0, rgba(168,204,89,.28), transparent 35%),
    var(--bg);
  color: var(--ink);
}

button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.onboarding-shell {
  width: min(440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  color: #161818;
  box-shadow: var(--shadow);
  overflow: hidden;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ob-screen {
  min-height: 100vh;
  padding: 24px 24px 112px;
  position: relative;
  background: #fff;
}
.status, .ob-nav {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 14px;
}
.status span { letter-spacing: -2px; }
.ob-splash {
  background: #a6bd6b;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
}
.ob-splash .status {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
}
.ob-logo {
  width: 78px;
  height: auto;
  margin: 70px auto 42px;
  display: block;
}
.white-logo { filter: invert(1) brightness(1.25); margin: 0 auto 16px; width: 116px; }
.ob-splash h1 { color: #fff; font-size: 32px; }
.loader-ring, .plan-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 10px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  animation: spin 1.2s linear infinite;
}
.loader-ring {
  position: absolute;
  bottom: 92px;
  left: 50%;
  transform: translateX(-50%);
}
@keyframes spin { to { rotate: 360deg; } }

.ob-intro {
  padding: 24px 0 112px;
  overflow: hidden;
  background: linear-gradient(#a6bd6b 0 52%, #fff 52% 100%);
}
.mock-phone {
  width: 286px;
  height: 430px;
  margin: 32px auto 0;
  border: 10px solid #101214;
  border-radius: 42px;
  background: #f8faf3;
  overflow: hidden;
  position: relative;
  box-shadow: 0 28px 40px rgba(0,0,0,.18);
}
.mock-phone::before {
  content: "";
  width: 94px;
  height: 28px;
  border-radius: 0 0 18px 18px;
  background: #000;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.mock-top {
  height: 58px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 0 18px 12px;
  font-weight: 950;
}
.mock-top span { color: #9db765; }
.mock-banner {
  margin: 8px 18px 14px;
  padding: 18px;
  border-radius: 10px;
  background: #a6bd6b;
  color: #fff;
  font-weight: 900;
}
.mock-moods { display: flex; gap: 10px; justify-content: center; background: #fff; margin: 0 18px 14px; padding: 15px 6px; border-radius: 12px; }
.mock-moods span { width: 28px; height: 28px; border-radius: 50%; background: #ef5a4f; }
.mock-moods span:nth-child(2) { background: #f0a93c; }
.mock-moods span:nth-child(3) { background: #71808b; }
.mock-moods span:nth-child(4) { background: #8dc653; }
.mock-moods span:nth-child(5) { background: #35a853; }
.mock-card { height: 68px; margin: 12px 18px; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.mock-card.small { height: 54px; }
.mock-grid { padding: 18px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mock-grid span { min-height: 72px; border-radius: 10px; background: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 900; }
.mock-radar { width: 180px; height: 180px; border-radius: 50%; margin: 35px auto 20px; background: repeating-radial-gradient(circle, #f7f9f3 0 22px, #dfe8cf 23px 24px); border: 1px solid #dfe8cf; }
.mock-bars { display: flex; align-items: end; justify-content: center; gap: 10px; height: 100px; }
.mock-bars span { width: 26px; border-radius: 20px 20px 0 0; background: #a6bd6b; height: 52px; }
.mock-bars span:nth-child(2) { height: 86px; }
.mock-bars span:nth-child(3) { height: 66px; }
.mock-bars span:nth-child(4) { height: 94px; }
.intro-panel {
  background: #fff;
  min-height: 294px;
  margin-top: -10px;
  border-radius: 50% 50% 0 0 / 10% 10% 0 0;
  padding: 48px 30px 0;
  text-align: center;
}
.intro-panel h1, .ob-form h1, .ob-question h1, .ob-loading h1 {
  font-size: 29px;
  line-height: 1.28;
  margin-bottom: 16px;
  letter-spacing: 0;
}
.intro-panel p, .ob-form p, .ob-question p, .ob-loading p {
  color: #696d6a;
  font-size: 16px;
  line-height: 1.62;
}
.ob-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.ob-dots span { width: 8px; height: 8px; border-radius: 999px; background: #ecefec; }
.ob-dots .active { width: 28px; background: #a6bd6b; }
.ob-footer {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 32px;
  display: grid;
  gap: 14px;
}
.ob-footer.two { grid-template-columns: 1fr 1fr; }
.soft {
  border: 0;
  border-radius: 999px;
  padding: 16px;
  color: #8ca255;
  background: #f8faf3;
  font-weight: 900;
}
.ob-primary { padding: 16px; background: #a6bd6b; color: #fff; }

.ob-form { text-align: center; padding-top: 42px; }
.top-form { text-align: left; }
.social-list { display: grid; gap: 14px; margin-top: 50px; }
.social-list button {
  height: 56px;
  border: 1px solid #edf0ec;
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
}
.social-list span, .social-inline button {
  font-size: 22px;
  font-weight: 950;
}
.ob-form small {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  color: #6b706c;
}
.field-label {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  font-weight: 900;
}
.field-label span {
  display: block;
  background: #fbfbfb;
  border-radius: 8px;
  padding: 4px 0;
}
.field-label input, .name-input {
  border: 0;
  background: #fbfbfb;
  color: #171717;
  border-radius: 8px;
  padding: 20px;
}
.check-row {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #171717;
}
.check-row input { width: 24px; height: 24px; accent-color: #a6bd6b; }
.check-row span { color: #8ca255; }
.social-inline { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 34px; }
.social-inline button { height: 54px; border-radius: 999px; border: 1px solid #edf0ec; background: #fff; }

.ob-nav { margin-bottom: 34px; }
.ob-nav button {
  border: 0;
  background: transparent;
  font-size: 27px;
  line-height: 1;
}
.progress {
  flex: 1;
  height: 12px;
  border-radius: 999px;
  background: #f0f1ef;
  margin: 0 24px;
  overflow: hidden;
}
.progress span { display: block; height: 100%; border-radius: inherit; background: #a6bd6b; }
.ob-nav b { font-size: 17px; }
.ob-question { text-align: center; }
.ob-question h1 { font-size: 30px; }
.name-input {
  margin-top: 28px;
  height: 90px;
  text-align: center;
  font-size: 34px;
  font-weight: 950;
  border: 1px solid #edf0ec;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}
.choice-list { display: grid; gap: 16px; margin-top: 34px; text-align: left; }
.choice-list button {
  min-height: 66px;
  border: 1px solid #edf0ec;
  border-radius: 9px;
  background: #fff;
  color: #171717;
  font-weight: 900;
  font-size: 18px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.choice-list button.selected {
  border-color: #a6bd6b;
  box-shadow: inset 0 0 0 1px #a6bd6b;
}
.choice-list i { color: #a6bd6b; font-style: normal; font-size: 24px; }
.gender-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: center;
  text-align: center;
  margin-top: 120px;
}
.gender-list button {
  border-radius: 50%;
  height: 116px;
  justify-content: center;
  display: grid;
  color: #171717;
}
.gender-list button.selected { background: #a6bd6b; color: #fff; }
.gender-list button:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  height: 46px;
  border-radius: 999px;
  padding: 0 24px;
  background: #fff;
  color: #171717;
}
.gender-list span { font-size: 54px; line-height: 1; }
.age-picker {
  margin: 62px auto 0;
  display: grid;
  gap: 16px;
  text-align: center;
  font-size: 26px;
  color: #6b706c;
}
.age-picker b {
  font-size: 46px;
  color: #a6bd6b;
  padding: 14px 0;
  border-top: 1px solid #cdd8b5;
  border-bottom: 1px solid #cdd8b5;
}
.age-picker small { font-size: 18px; color: #171717; font-weight: 600; }
.ob-loading {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 88px 40px;
}
.plan-ring {
  width: 220px;
  height: 220px;
  border-width: 16px;
  border-color: #eef0ee;
  border-top-color: #a6bd6b;
  color: #171717;
  display: grid;
  place-items: center;
  font-size: 54px;
  font-weight: 950;
  animation: none;
}
.app-shell {
  width: min(440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--screen);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.app-top {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--screen) 92%, transparent);
  position: sticky;
  top: 0;
  z-index: 5;
}

.screen-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  font-weight: 950;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.brand-mark, .avatar {
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--green), var(--green-dark));
  color: #fff;
  font-weight: 900;
}
.brand-mark { width: 36px; height: 36px; border-radius: 11px; font-size: 13px; }
.avatar { width: 58px; height: 58px; border-radius: 16px; font-size: 22px; }
.icon-button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
}
.logo-button {
  width: 42px;
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.logo-button img {
  display: block;
  width: 34px;
  height: auto;
}
body[data-theme="dark"] .logo-button img { filter: invert(1) brightness(1.25); }
.premium-button {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--green), var(--green-dark));
  color: #10150c;
  box-shadow: 0 10px 22px rgba(168,204,89,.22);
}

.screen {
  min-height: calc(100vh - 132px);
  padding: 18px 18px 92px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(440px, 100%);
  height: 68px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--card);
  border-top: 1px solid var(--line);
  z-index: 8;
}
.bottom-nav button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  gap: 4px;
  place-items: center;
  padding: 7px 2px;
}
.bottom-nav button.active { color: var(--green); }
.nav-icon {
  width: 24px;
  height: 24px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--soft) 78%, transparent);
  font-size: 16px;
  line-height: 1;
}
.bottom-nav button.active .nav-icon {
  background: var(--green);
  color: #10150c;
}

.greeting, .profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 27px; line-height: 1.08; margin-bottom: 4px; letter-spacing: 0; }
h2 { font-size: 24px; line-height: 1.22; }
h3 { font-size: 17px; margin-bottom: 8px; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.45; }
.streak {
  padding: 10px 13px;
  background: rgba(240,169,60,.14);
  color: var(--amber);
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.quote-card, .mission-card, .quick-card, .pro-card, .today-list, .poster, .hero-slider, .mission-focus, .plan-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}

.hero-slider {
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.hero-track {
  width: 400%;
  display: flex;
  animation: heroSlide 18s infinite;
}
.hero-slide {
  width: 25%;
  min-height: 166px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 10px;
  align-items: center;
  padding: 20px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  position: relative;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 18%, rgba(255,255,255,.28), transparent 18%),
    radial-gradient(circle at 6% 100%, rgba(0,0,0,.18), transparent 36%);
}
.hero-slide > * { position: relative; z-index: 1; }
.action-slide { background: linear-gradient(135deg, #a8cc59, #6c8840); }
.bhai-slide { background: linear-gradient(135deg, #26313b, #a8cc59); }
.health-slide { background: linear-gradient(135deg, #1f6f61, #a8cc59); }
.squad-slide { background: linear-gradient(135deg, #2a2f38, #7fa342); }
.slide-kicker {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: 11px;
  font-weight: 950;
  margin-bottom: 8px;
}
.hero-slide h2 {
  font-size: 23px;
  line-height: 1.08;
  margin-bottom: 8px;
}
.hero-slide p {
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 12px;
  line-height: 1.45;
}
.slide-art {
  height: 118px;
  border-radius: 24px;
  background: rgba(255,255,255,.15);
  display: grid;
  place-items: center;
  position: relative;
}
.slide-art span,
.slide-art i,
.slide-art b {
  display: block;
  position: absolute;
  border-radius: 999px;
}
.action-art span {
  width: 58px;
  height: 58px;
  background: #10151b;
  box-shadow: 0 0 0 12px rgba(255,255,255,.12);
}
.action-art i {
  width: 34px;
  height: 64px;
  background: #fff;
  border-radius: 18px 18px 8px 8px;
  transform: translate(18px, -16px) rotate(12deg);
}
.action-art b {
  width: 70px;
  height: 10px;
  background: rgba(255,255,255,.82);
  transform: translateY(42px);
}
.mentor-art span {
  width: 70px;
  height: 70px;
  background: #f3f7ea;
}
.mentor-art i {
  width: 46px;
  height: 24px;
  background: #10151b;
  transform: translateY(34px);
}
.mentor-art b {
  width: 52px;
  height: 28px;
  background: #a8cc59;
  border-radius: 16px 16px 16px 4px;
  transform: translate(-32px, -34px);
}
.health-art span {
  width: 86px;
  height: 86px;
  border: 12px solid rgba(255,255,255,.82);
  border-right-color: rgba(255,255,255,.2);
}
.health-art i {
  width: 36px;
  height: 36px;
  background: #fff;
}
.health-art b {
  width: 12px;
  height: 82px;
  background: rgba(255,255,255,.72);
  transform: translateX(50px);
}
.squad-art span,
.squad-art i,
.squad-art b {
  width: 42px;
  height: 42px;
  background: #f3f7ea;
  box-shadow: 0 46px 0 rgba(255,255,255,.82);
}
.squad-art span { transform: translateX(-44px); }
.squad-art i { transform: translateX(0); background: #a8cc59; }
.squad-art b { transform: translateX(44px); }
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 9px;
}
.slider-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
}
.slider-dots span:first-child { background: var(--green); }
@keyframes heroSlide {
  0%, 20% { transform: translateX(0); }
  25%, 45% { transform: translateX(-25%); }
  50%, 70% { transform: translateX(-50%); }
  75%, 95% { transform: translateX(-75%); }
  100% { transform: translateX(0); }
}

.mission-focus {
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  gap: 12px;
}
.quote-trigger,
.mission-trigger {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.quote-trigger {
  color: #fff;
  background:
    radial-gradient(circle at 92% 16%, rgba(255,255,255,.18), transparent 20%),
    linear-gradient(145deg, #20272e, #10151b);
}
.quote-trigger h2 { margin: 12px 0; }
.quote-trigger p { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.5; }
.mission-trigger {
  background:
    linear-gradient(145deg, rgba(168,204,89,.2), transparent),
    var(--card);
}
.mission-trigger p { color: var(--muted); line-height: 1.5; }

.mood-card {
  background:
    radial-gradient(circle at 88% 8%, rgba(168,204,89,.16), transparent 28%),
    var(--card);
}
.plan-card {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 12px;
  align-items: center;
}
.plan-card p { color: var(--muted); font-size: 13px; line-height: 1.5; margin-bottom: 0; }
.signal-radar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  justify-self: end;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(168,204,89,.3) 0 22%, transparent 23%),
    repeating-radial-gradient(circle, transparent 0 20px, rgba(168,204,89,.22) 21px 22px);
  border: 1px solid rgba(168,204,89,.35);
}
.signal-radar::after {
  content: "";
  width: 58px;
  height: 58px;
  clip-path: polygon(50% 0, 100% 36%, 82% 100%, 16% 92%, 0 34%);
  background: rgba(168,204,89,.38);
  border: 1px solid rgba(168,204,89,.8);
}
.signal-radar span {
  position: absolute;
  font-size: 9px;
  font-weight: 900;
  color: var(--green);
  transform: rotate(calc(var(--i) * 72deg)) translateY(-55px) rotate(calc(var(--i) * -72deg));
}

.quote-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 5%, rgba(255,255,255,.16), transparent 24%),
    linear-gradient(145deg, var(--green), var(--green-dark));
  color: #fff;
}
.quote-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  right: -60px;
  bottom: -80px;
  border: 24px solid rgba(255,255,255,.12);
}
.quote-tag, .section-kicker {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
  background: rgba(255,255,255,.18);
}
.section-kicker { background: rgba(168,204,89,.14); color: var(--green); margin-bottom: 8px; }
.quote-card p { position: relative; z-index: 1; color: rgba(255,255,255,.86); font-size: 13px; line-height: 1.5; }
.quote-actions { display: flex; gap: 10px; position: relative; z-index: 1; }
.quote-actions button, .preset-grid button, .mood-grid button {
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  border-radius: 14px;
  padding: 11px;
  font-weight: 800;
}
.quote-actions button { flex: 1; background: rgba(255,255,255,.18); color: #fff; border: 0; }
.primary {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 14px 16px;
  background: var(--green);
  color: #11170d;
  font-weight: 950;
}

.quick-header { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.quick-header span { color: var(--muted); font-size: 12px; font-weight: 700; }
.mood-grid, .preset-grid, .metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mood-grid { grid-template-columns: repeat(5, 1fr); }
.mood-grid button { display: grid; gap: 4px; place-items: center; padding: 10px 4px; }
.mood-grid small { font-size: 9px; color: var(--muted); font-weight: 800; }
.metric-grid { margin-bottom: 14px; }
.metric-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--shadow);
}
.metric-grid b { display: block; font-size: 21px; color: var(--green); }
.metric-grid span { color: var(--muted); font-size: 11px; font-weight: 800; }

.today-list article, .member {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.today-list article:last-child, .member:last-child { border-bottom: 0; }
.today-list span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(168,204,89,.16);
  color: var(--green);
}
.today-list small, .member span { display: block; color: var(--muted); font-size: 12px; }

.page-title { margin-bottom: 16px; }
.search-row, .chat-form {
  display: flex;
  gap: 8px;
}
input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  border-radius: 999px;
  padding: 13px 14px;
  outline: none;
}
.search-row button, .chat-form button {
  border: 0;
  border-radius: 999px;
  padding: 0 15px;
  background: var(--green);
  color: #11170d;
  font-weight: 900;
}
.food-results { display: grid; gap: 8px; margin-top: 12px; }
.food-row, .challenge-list article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}
.food-row small, .challenge-list small { display: block; color: var(--muted); }

.chat-log {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.bubble {
  max-width: 82%;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  line-height: 1.45;
  font-size: 14px;
}
.bubble.me {
  justify-self: end;
  background: var(--green);
  color: #10150c;
  border: 0;
}

.settings-list { display: grid; gap: 8px; margin-bottom: 14px; }
.settings-list button {
  display: flex;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: var(--card);
  color: var(--ink);
  font-weight: 800;
}
.settings-list span { color: var(--muted); }
.pro-card { background: linear-gradient(145deg, rgba(168,204,89,.22), var(--card)); }
.pro-card.big h3 { font-size: 38px; color: var(--green); }
.pro-card li { margin: 10px 0; }
.poster {
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.58)),
    linear-gradient(145deg, #53633a, #10151b);
  color: #fff;
}
.poster h2 { font-size: 28px; font-style: italic; }
.poster span { color: rgba(255,255,255,.72); font-weight: 900; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%) translateY(30px);
  width: min(390px, calc(100% - 30px));
  background: #0c1115;
  color: #fff;
  padding: 13px 16px;
  border-radius: 14px;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  box-shadow: var(--shadow);
  z-index: 20;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (min-width: 760px) {
  body { padding: 22px 0; }
  .app-shell { min-height: calc(100vh - 44px); border-radius: 30px; }
  .bottom-nav { bottom: 22px; border-radius: 0 0 30px 30px; }
}

@media (max-width: 380px) {
  .hero-slide { grid-template-columns: 1fr; min-height: 235px; }
  .slide-art { height: 88px; }
  .plan-card { grid-template-columns: 1fr; }
  .signal-radar { justify-self: center; }
  .mood-grid { gap: 6px; }
}
