:root {
  --bg: #041923;
  --bg-soft: #082a36;
  --surface: rgba(255, 255, 255, 0.11);
  --surface-strong: rgba(255, 255, 255, 0.18);
  --stroke: rgba(255, 255, 255, 0.2);
  --stroke-strong: rgba(255, 255, 255, 0.34);
  --text: #ffffff;
  --muted: #a8b3c7;
  --blue: #00d4ff;
  --blue-deep: #0a3b82;
  --green: #22e38e;
  --yellow: #ffd84a;
  --orange: #ff8b2f;
  --red: #ff4747;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
  --status-color: var(--green);
  --status-soft: rgba(34, 227, 142, 0.16);
  --status-border: rgba(34, 227, 142, 0.55);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(160deg, rgba(0, 212, 255, 0.18), transparent 34%),
    linear-gradient(25deg, rgba(34, 227, 142, 0.16), transparent 30%),
    linear-gradient(180deg, #041923 0%, #062635 48%, #03121a 100%);
  color: var(--text);
}

button,
input,
select {
  font: inherit;
}

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

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

.app-shell {
  position: relative;
  width: min(100%, 1040px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px;
  overflow: hidden;
}

.background-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 78%, transparent);
}

.app-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

body[data-current-screen="splash"] .app-header,
body[data-current-screen="splash"] .partners-area {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 16px rgba(25, 167, 255, 0.48));
}

.step-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 72px;
  justify-content: flex-end;
}

.step-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.step-dot.is-active {
  width: 25px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  box-shadow: 0 0 18px rgba(56, 239, 125, 0.45);
}

.screen {
  position: relative;
  z-index: 1;
  display: none;
  animation: rise 260ms ease both;
}

.screen.is-active {
  display: block;
}

.splash-screen.is-active {
  display: grid;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.splash-screen {
  min-height: calc(100vh - 36px);
  place-items: center;
}

.splash-stage {
  position: relative;
  display: grid;
  width: min(100%, 580px);
  min-height: min(780px, calc(100vh - 36px));
  align-content: center;
  justify-items: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 34px 20px;
  background:
    radial-gradient(circle at 50% 34%, rgba(0, 212, 255, 0.2), transparent 28%),
    radial-gradient(circle at 50% 58%, rgba(34, 227, 142, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, #041923 0%, #062635 54%, #03121a 100%);
  box-shadow:
    0 28px 100px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(26px);
}

.splash-stage::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.splash-logo {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.splash-logo img {
  width: 92px;
  height: 92px;
  filter:
    drop-shadow(0 0 20px rgba(0, 212, 255, 0.5))
    drop-shadow(0 18px 34px rgba(0, 0, 0, 0.35));
}

.splash-logo span {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.splash-speedometer {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  aspect-ratio: 340 / 220;
}

.splash-glow {
  position: absolute;
  inset: 22% 17% 8%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(34, 227, 142, 0.42), transparent 64%);
  filter: blur(16px);
  opacity: 0;
  animation: splashGlow 700ms ease 2.15s both;
}

.splash-gauge {
  position: relative;
  width: 100%;
  height: auto;
  overflow: visible;
}

.splash-arc {
  fill: none;
  stroke-linecap: round;
  stroke-width: 22;
  opacity: 0.98;
  filter: drop-shadow(0 0 11px rgba(255, 255, 255, 0.22));
}

.splash-arc-red {
  stroke: var(--red);
}

.splash-arc-orange {
  stroke: var(--orange);
}

.splash-arc-yellow {
  stroke: var(--yellow);
}

.splash-arc-green {
  stroke: var(--green);
}

.splash-needle {
  stroke: #ffffff;
  stroke-width: 9;
  stroke-linecap: round;
  transform-box: view-box;
  transform-origin: 170px 170px;
  animation: splashNeedle 2.2s cubic-bezier(0.22, 0.76, 0.22, 1) both;
  filter: drop-shadow(0 0 14px rgba(0, 212, 255, 0.78));
}

.splash-hub {
  fill: #ffffff;
  stroke: var(--blue-deep);
  stroke-width: 8;
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.55));
}

.splash-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 420px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  animation: splashReveal 600ms ease 2.05s forwards;
}

.splash-copy h1 {
  margin-bottom: 0;
}

.splash-copy .lead {
  margin-bottom: 4px;
}

.splash-action {
  width: min(100%, 330px);
  margin-top: 4px;
}

@keyframes splashNeedle {
  0% {
    transform: rotate(-68deg);
  }

  32% {
    transform: rotate(-28deg);
  }

  64% {
    transform: rotate(20deg);
  }

  86% {
    transform: rotate(72deg);
  }

  100% {
    transform: rotate(60deg);
  }
}

@keyframes splashGlow {
  0% {
    opacity: 0;
    transform: scale(0.78);
  }

  45% {
    opacity: 1;
    transform: scale(1.08);
  }

  100% {
    opacity: 0.62;
    transform: scale(1);
  }
}

@keyframes splashReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-layout,
.screen-panel,
.partners-area {
  border: 1px solid var(--stroke);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(6, 19, 38, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  border-radius: 8px;
}

.welcome-layout {
  display: grid;
  gap: 22px;
  padding: 24px;
}

.hero-device {
  position: relative;
  min-height: 310px;
  border-radius: 8px;
  border: 1px solid var(--stroke-strong);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(25, 167, 255, 0.24), rgba(255, 255, 255, 0.08) 48%, rgba(56, 239, 125, 0.18)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
}

.hero-device::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.hero-vitals {
  position: absolute;
  inset: auto 0 42px;
  height: 86px;
  opacity: 0.72;
  background:
    url("data:image/svg+xml,%3Csvg width='900' height='120' viewBox='0 0 900 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 72 H86 L114 72 L136 18 L164 112 L196 72 H264 L287 72 L310 44 L334 82 L362 72 H442 L468 72 L495 22 L521 108 L552 72 H628 L650 72 L676 44 L700 83 L728 72 H900' fill='none' stroke='%2319d9ff' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / cover no-repeat;
  filter: drop-shadow(0 0 14px rgba(25, 217, 255, 0.85));
}

.hero-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.hero-mark img {
  width: 172px;
  height: 172px;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.36));
}

.hero-mark span,
.section-kicker,
.muted-label,
.ad-copy span {
  margin: 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.welcome-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 0.96;
}

h2 {
  margin-bottom: 0;
  font-size: 1.95rem;
  line-height: 1.05;
}

h3 {
  margin-bottom: 0;
  font-size: 1.38rem;
}

.lead {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(56, 239, 125, 0.42);
  outline-offset: 3px;
}

.button-primary {
  background: linear-gradient(90deg, var(--blue), var(--green));
  box-shadow: 0 16px 36px rgba(25, 167, 255, 0.26);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--stroke);
}

.button-whatsapp {
  background: rgba(56, 239, 125, 0.13);
  border-color: rgba(56, 239, 125, 0.34);
}

.screen-panel {
  padding: 22px;
}

.screen-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
}

.quest-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

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

.field span {
  color: #dce9f6;
  font-size: 0.92rem;
  font-weight: 750;
}

input,
select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(6, 19, 38, 0.54);
  color: var(--text);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--green) 50%),
    linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 22px,
    calc(100% - 12px) 22px;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.form-message,
.share-message {
  min-height: 22px;
  margin: 0;
  color: #ffd9a7;
  font-size: 0.92rem;
}

.share-message {
  text-align: center;
}

.form-actions,
.result-actions {
  display: grid;
  gap: 10px;
}

.result-panel {
  display: grid;
  gap: 18px;
}

.result-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, rgba(10, 59, 130, 0.38), rgba(6, 19, 38, 0.72));
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(24px);
}

.result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.18) 42%, transparent 60%),
    linear-gradient(90deg, var(--status-soft), transparent 55%);
  opacity: 0.82;
}

.result-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.muted-label {
  margin-bottom: 6px;
  color: var(--muted);
}

.bmi-chip {
  display: grid;
  min-width: 96px;
  min-height: 74px;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.bmi-chip span {
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
}

.bmi-chip small {
  color: var(--muted);
  font-weight: 800;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.status-emoji {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--status-border);
  border-radius: 8px;
  background: var(--status-soft);
  font-size: 1.6rem;
}

.status-row strong {
  color: var(--text);
  font-size: 1.1rem;
}

.gauge-area {
  width: 100%;
  max-width: 380px;
  margin: 6px auto 0;
}

.bmi-gauge {
  width: 100%;
  height: auto;
  overflow: visible;
}

#gauge-segments path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 20;
  filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.2));
}

.gauge-labels text {
  font-size: 21px;
  dominant-baseline: middle;
  text-anchor: middle;
}

#gauge-needle {
  stroke: #ffffff;
  stroke-width: 7;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(25, 167, 255, 0.75));
}

.gauge-hub {
  fill: #ffffff;
  stroke: var(--blue-deep);
  stroke-width: 7;
}

.result-metrics {
  display: grid;
  gap: 0;
  margin: 2px 0 0;
}

.result-metrics div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.result-metrics dt {
  color: var(--muted);
  font-weight: 700;
}

.result-metrics dd {
  margin: 0;
  color: var(--text);
  font-weight: 850;
  text-align: right;
}

.partners-area {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 13px;
  margin-top: 18px;
  padding: 18px;
}

.partners-area h2 {
  margin: 0;
  color: var(--green);
  font-size: 0.92rem;
  text-align: center;
}

.ad-card {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 10px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.ad-card:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 239, 125, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.ad-card img {
  width: 98px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
}

.ad-copy {
  min-width: 0;
}

.ad-copy strong {
  display: block;
  margin: 4px 0;
  font-size: 1.15rem;
}

.ad-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.ad-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  min-height: 8px;
}

.ad-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.ad-dots span.is-active {
  width: 20px;
  background: var(--green);
}

@media (min-width: 680px) {
  .app-shell {
    padding: 28px;
  }

  .welcome-layout {
    grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
    align-items: center;
    padding: 34px;
  }

  .hero-device {
    min-height: 430px;
  }

  h1 {
    font-size: 4.3rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .screen-panel {
    padding: 30px;
  }

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

  .field-wide {
    grid-column: 1 / -1;
  }

  .form-actions,
  .result-actions {
    grid-template-columns: max-content 1fr;
    align-items: center;
  }

  .result-actions {
    grid-template-columns: 1.1fr 1.1fr auto;
  }

  .result-card {
    padding: 24px;
  }

  .result-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .ad-card {
    grid-template-columns: 176px minmax(0, 1fr);
  }

  .ad-card img {
    width: 176px;
    height: 96px;
  }
}

@media (min-width: 980px) {
  .app-shell {
    padding-top: 36px;
  }

  .screen-panel {
    width: min(100%, 860px);
    margin: 0 auto;
  }

  .partners-area {
    width: min(100%, 860px);
    margin-right: auto;
    margin-left: auto;
  }
}

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



/* === IMC QUEST V6 TOPIA PREMIUM PATCH === */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  filter: blur(70px);
  opacity: .42;
}

body::before {
  width: 320px;
  height: 320px;
  left: -120px;
  top: 10%;
  background: rgba(0, 212, 255, .36);
}

body::after {
  width: 360px;
  height: 360px;
  right: -150px;
  bottom: 10%;
  background: rgba(34, 227, 142, .28);
}

.premium-cover {
  width: min(100%, 620px);
  padding: 18px 16px 22px;
  gap: 14px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 212, 255, .24), transparent 26%),
    radial-gradient(circle at 50% 82%, rgba(34, 227, 142, .18), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.045));
}

.cover-light {
  position: absolute;
  inset: -30%;
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.15) 48%, transparent 58%),
    radial-gradient(circle at 52% 34%, rgba(34, 227, 142, .20), transparent 22%);
  animation: scanLight 6s ease-in-out infinite;
  opacity: .75;
  pointer-events: none;
}

@keyframes scanLight {
  0%, 100% { transform: translateX(-10%) rotate(0deg); opacity: .42; }
  50% { transform: translateX(10%) rotate(2deg); opacity: .88; }
}

.splash-brand-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 12px 6px;
}

.splash-brand-lockup img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: 0 0 26px rgba(0, 212, 255, .34);
}

.splash-brand-lockup h1 {
  margin: 2px 0 0;
  font-size: clamp(2.2rem, 10vw, 4.4rem);
  line-height: .92;
}

.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cover-art {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 20px 65px rgba(0,0,0,.46),
    0 0 38px rgba(0, 212, 255, .17);
}

.cover-art img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}

.splash-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 14px;
}

.trust-row span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #dff7ff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.medical-mini,
.medical-note {
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.55;
}

.medical-mini { margin: 14px 0 0; }

.result-chips {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.score-chip {
  border-color: rgba(255,216,74,.5);
  background: linear-gradient(145deg, rgba(255,216,74,.22), rgba(255,255,255,.08));
}

.result-message {
  margin: 16px 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  color: #ebfbff;
  line-height: 1.55;
  background: linear-gradient(135deg, rgba(0, 212, 255, .16), rgba(34, 227, 142, .13));
  border: 1px solid rgba(0, 212, 255, .22);
}

.result-metrics dd small {
  display: block;
  margin-top: 4px;
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.expert-card,
.creator-card,
.seo-card {
  margin-top: 18px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
  border: 1px solid rgba(255,255,255,.17);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.expert-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  padding: 14px;
  align-items: center;
}

.expert-photo {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
}

.expert-photo img {
  width: 104px;
  height: 122px;
  object-fit: cover;
  object-position: top center;
}

.expert-logo {
  max-width: 190px;
  max-height: 54px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.25));
}

.expert-copy h3 {
  margin: 2px 0;
  font-size: 1.35rem;
}

.expert-copy p {
  margin: 0 0 10px;
  color: var(--muted);
}

.expert-whatsapp {
  min-height: 44px;
  width: 100%;
}

.creator-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px;
  align-items: center;
}

.creator-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.18);
}

.creator-card strong,
.creator-card span {
  display: block;
}

.creator-card span {
  color: var(--muted);
  font-size: .88rem;
  margin-top: 3px;
}

.medical-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 216, 74, .08);
  border: 1px solid rgba(255, 216, 74, .20);
}

.ad-card {
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.045));
  box-shadow:
    0 18px 52px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.15);
}

.ad-card img {
  background: rgba(255,255,255,.06);
  border-radius: 18px;
  object-fit: contain;
  padding: 12px;
}

.seo-card {
  padding: 18px;
  margin-bottom: 24px;
}

.seo-card h2 {
  margin: 0 0 8px;
}

.seo-card p {
  color: var(--muted);
  line-height: 1.6;
}

.seo-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
}

.seo-card table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.seo-card caption {
  text-align: left;
  padding: 12px;
  color: var(--green);
  font-weight: 900;
}

.seo-card th,
.seo-card td {
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: left;
}

@media (max-width: 640px) {
  .app-shell {
    padding: 12px;
  }

  .splash-screen {
    min-height: calc(100svh - 24px);
  }

  .premium-cover {
    min-height: auto;
    border-radius: 24px;
  }

  .splash-brand-lockup {
    padding: 6px 4px 2px;
  }

  .splash-brand-lockup img {
    width: 54px;
    height: 54px;
  }

  .cover-art {
    border-radius: 22px;
  }

  .cover-art img {
    aspect-ratio: 4 / 5;
  }

  .expert-card {
    grid-template-columns: 88px 1fr;
    padding: 12px;
  }

  .expert-photo img {
    width: 88px;
    height: 108px;
  }

  .expert-logo {
    max-width: 150px;
  }

  .result-chips {
    flex-direction: column;
  }
}
