:root {
  color-scheme: light;
  --bg: #fff7fb;
  --ink: #241b32;
  --muted: #786b82;
  --line: rgba(73, 42, 74, 0.13);
  --primary: #d9468f;
  --primary-dark: #7c2d6b;
  --cyan: #18a999;
  --coral: #ff7a59;
  --gold: #f4b740;
  --bubble: #ffe7f1;
  --other: #ffffff;
  --surface: rgba(255, 255, 255, 0.78);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 70, 143, 0.18), transparent 32%),
    radial-gradient(circle at 90% 12%, rgba(255, 122, 89, 0.16), transparent 28%),
    radial-gradient(circle at 55% 100%, rgba(24, 169, 153, 0.15), transparent 34%),
    linear-gradient(180deg, #fffefd, var(--bg));
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

html.chat-locked,
body.chat-locked {
  position: fixed;
  inset: 0;
  max-width: 100%;
  width: 100%;
  height: var(--app-height, 100vh);
  height: var(--app-height, 100dvh);
  overflow: hidden;
  overflow-x: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

body.chat-locked .phone-shell {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(100%, 420px);
  height: var(--app-height, 100vh);
  height: var(--app-height, 100dvh);
  margin: 0 auto;
  overflow: hidden;
  overflow-x: hidden;
}

body.chat-locked .phone-shell > :not(.chat-app) {
  display: none !important;
}

.phone-shell {
  width: min(100%, 420px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 7px;
}

.chat-app {
  position: relative;
  min-height: calc(100vh - 14px);
  max-height: calc(100vh - 14px);
  min-height: calc(100dvh - 14px);
  max-height: calc(100dvh - 14px);
  display: grid;
  grid-template-rows: auto auto auto auto auto auto 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,255,255,0.58)),
    repeating-linear-gradient(45deg, rgba(217, 70, 143, 0.035) 0 12px, rgba(255,255,255,0.02) 12px 24px);
  box-shadow: 0 30px 72px rgba(86, 47, 90, 0.17);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 11px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.32), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #d9468f, #7c2d6b 58%, #ff7a59);
  color: #fff;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.18), 0 12px 26px rgba(124, 45, 107, 0.16);
}

.brand-icon {
  position: relative;
  width: 48px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 15px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.72), transparent 18%),
    linear-gradient(145deg, #fff2f8, #ffd3e5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 12px 24px rgba(72, 18, 55, 0.2);
  color: #8d1f5b;
  font-weight: 800;
}

.brand-icon::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 5px;
  width: 11px;
  height: 11px;
  border-radius: 4px 4px 4px 1px;
  background: #18a999;
  box-shadow: -8px -7px 0 rgba(255, 122, 89, 0.92);
}

.brand-icon span {
  position: relative;
  z-index: 1;
  font-size: 14px;
  letter-spacing: 0;
}

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

h1 {
  margin: 0;
  font-size: 17px;
}

.chat-header p {
  margin: 2px 0 0;
  font-size: 11px;
  opacity: 0.86;
}

.status-chip,
.ghost-btn,
button {
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.status-chip {
  height: 31px;
  display: grid;
  place-items: center;
  margin-left: auto;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.24);
  font-size: 11px;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.status-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #37f0c2;
  box-shadow: 0 0 0 4px rgba(55, 240, 194, 0.16);
}

.safety-strip {
  display: flex;
  gap: 6px;
  padding: 6px 9px;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line);
}

.safety-strip span {
  white-space: nowrap;
  padding: 5px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff2f8, #e8fbf7);
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 800;
}

.room-card {
  padding: 9px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 70, 143, 0.1), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(24, 169, 153, 0.1), transparent 35%),
    rgba(255, 255, 255, 0.58);
  border-bottom: 1px solid var(--line);
}

label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.field-gap {
  margin-top: 10px;
}

.room-row,
.composer {
  display: flex;
  gap: 7px;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 8px;
}

.select-card {
  position: relative;
  display: block;
  margin: 0;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 122, 89, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 246, 251, 0.82));
  box-shadow: 0 10px 22px rgba(86, 47, 90, 0.07);
  cursor: pointer;
}

.select-card::after {
  content: "v";
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 900;
  pointer-events: none;
}

.select-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.select-value {
  display: block;
  max-width: calc(100% - 16px);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.2;
  text-transform: none;
}

.age-gate {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  padding: 8px 9px;
  border: 1px solid rgba(217, 70, 143, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  text-transform: none;
  cursor: pointer;
}

.age-gate input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  accent-color: var(--primary);
}

.age-gate span {
  color: #3b3144;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.age-gate.needs-confirm {
  border-color: rgba(216, 71, 85, 0.42);
  background: #fff0f3;
  box-shadow: 0 0 0 3px rgba(216, 71, 85, 0.08);
}

input {
  min-width: 0;
  flex: 1;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0 12px;
  outline: 0;
}

.composer input {
  height: 44px;
  border-color: rgba(73, 42, 74, 0.1);
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 70, 143, 0.05), transparent 34%),
    linear-gradient(180deg, #ffffff, #fff8fb);
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 18px rgba(86, 47, 90, 0.06);
}

.composer button[type="submit"] {
  min-width: 72px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(135deg, var(--primary), var(--primary-dark) 62%, var(--coral));
  box-shadow: 0 12px 24px rgba(217, 70, 143, 0.22);
}

select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  text-transform: none;
  outline: 0;
  cursor: pointer;
  appearance: none;
  opacity: 0.01;
  padding: 0;
}

.start-chat-btn {
  width: 100%;
  height: 40px;
  margin-top: 8px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.32), transparent 34%),
    linear-gradient(135deg, var(--primary), var(--primary-dark) 58%, var(--coral));
  box-shadow: 0 16px 32px rgba(217, 70, 143, 0.24);
}

button:active,
.person:active,
.friend-chip:active,
.select-card:active {
  transform: translateY(1px);
}

input:focus {
  border-color: rgba(217, 70, 143, 0.55);
  box-shadow: 0 0 0 4px rgba(217, 70, 143, 0.1);
}

.room-row button,
.composer button {
  height: 34px;
  padding: 0 11px;
}

.composer button {
  height: 44px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid var(--line);
}

.quick-actions button {
  min-height: 30px;
  padding: 0 6px;
  font-size: 10.5px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(217, 70, 143, 0.12);
}

.soft-btn {
  background: linear-gradient(180deg, #eafff9, #d8f8f1);
  color: #08796d;
}

.danger-btn {
  background: linear-gradient(180deg, #fff0f3, #ffdbe3);
  color: #d84755;
}

.warn-btn {
  background: linear-gradient(180deg, #fff7df, #ffe9a9);
  color: #9a5d00;
}

.friends-panel {
  display: none;
  gap: 7px;
  padding: 7px 9px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(24, 169, 153, 0.09), transparent 32%),
    var(--surface);
}

.friends-panel.has-friends {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
}

.friends-panel.has-friends:has(.friend-detail) {
  grid-template-columns: 74px 1fr;
}

.friends-header {
  min-width: 0;
  padding: 6px 8px;
  border-radius: 12px;
  background: linear-gradient(180deg, #effffb, #dcfaf2);
  color: #08796d;
}

.friends-header span {
  display: block;
  font-size: 11px;
  font-weight: 900;
}

.friends-header small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.friends-list {
  min-width: 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.friend-chip {
  min-width: 94px;
  height: 29px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid rgba(24, 169, 153, 0.18);
  background: linear-gradient(180deg, #effffb, #dcfaf2);
  color: #08796d;
  font-size: 11px;
  box-shadow: 0 8px 16px rgba(24, 169, 153, 0.1);
}

.friend-chip b {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.friend-detail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  padding: 7px;
  border: 1px solid rgba(24, 169, 153, 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(24, 169, 153, 0.09), transparent 34%),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 18px rgba(24, 169, 153, 0.08);
}

.friend-detail > b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.friend-detail strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
}

.friend-detail small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.friend-detail button {
  height: 28px;
  padding: 0 9px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), #08796d);
  font-size: 10px;
}

.friend-detail button:last-child {
  background: linear-gradient(180deg, #fff0f3, #ffdbe3);
  color: #d84755;
}

.people-panel {
  display: flex;
  gap: 6px;
  padding: 7px 9px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
}

.person {
  min-width: 116px;
  height: 36px;
  display: grid;
  grid-template-columns: 18px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  column-gap: 7px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.8));
  color: var(--ink);
  text-align: left;
  box-shadow: 0 9px 18px rgba(86, 47, 90, 0.07);
}

.person.active {
  border-color: rgba(217, 70, 143, 0.42);
  box-shadow: 0 0 0 3px rgba(217, 70, 143, 0.08), 0 9px 18px rgba(86, 47, 90, 0.07);
}

.person b {
  width: 16px;
  height: 16px;
  grid-row: 1 / 3;
  border-radius: 50%;
}

.person span {
  font-size: 11px;
  font-weight: 800;
}

.person small {
  color: var(--muted);
  font-size: 10px;
}

.messages {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-bottom: 58px;
  padding: 7px 8px 58px;
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 70, 143, 0.06), transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.5)),
    repeating-linear-gradient(135deg, rgba(217, 70, 143, 0.03) 0 10px, rgba(24, 169, 153, 0.022) 10px 20px);
}

.empty {
  margin: 14px auto;
  max-width: 260px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
}

.empty.compact {
  min-width: 230px;
  margin: 0;
  padding: 8px 10px;
  font-size: 11px;
}

.msg {
  max-width: 80%;
  width: fit-content;
  margin: 4px 0;
  padding: 7px 9px 5px;
  border-radius: 13px 13px 13px 4px;
  background: var(--other);
  border: 1px solid rgba(73, 42, 74, 0.06);
  box-shadow: 0 8px 18px rgba(86, 47, 90, 0.08);
}

.msg.mine {
  margin-left: auto;
  border-radius: 13px 13px 4px 13px;
  background: linear-gradient(180deg, #ffe1ef, #fff4f8);
}

.msg strong {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
}

.msg p {
  margin: 0;
  font-size: 12px;
  line-height: 1.28;
}

.msg small {
  display: block;
  margin-top: 3px;
  color: rgba(120, 107, 130, 0.82);
  font-size: 9px;
  text-align: right;
}

.msg.system {
  max-width: 92%;
  margin-inline: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  text-align: center;
}

.msg.system p {
  font-size: 11px;
  font-weight: 700;
}

.match-banner {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 7px;
  margin: 0 0 6px;
  padding: 7px 9px;
  border: 1px solid rgba(24, 169, 153, 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(24, 169, 153, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 251, 247, 0.9));
  box-shadow: 0 10px 20px rgba(24, 169, 153, 0.1);
}

.match-banner span {
  padding: 4px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), #08796d);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.match-banner strong {
  color: var(--ink);
  font-size: 12px;
}

.match-banner small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.composer {
  z-index: 8;
  padding: 8px 9px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 122, 89, 0.1), transparent 32%),
    rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--line);
  box-shadow: 0 -16px 34px rgba(86, 47, 90, 0.12);
  backdrop-filter: blur(18px);
}

.ghost-btn {
  background: #fff0f5;
  color: var(--primary-dark);
}

.ghost-btn {
  min-width: 58px;
}

.chat-app:not(.chat-started) .quick-actions,
.chat-app:not(.chat-started) .people-panel {
  display: none;
}

.chat-app.chat-started {
  position: fixed;
  z-index: 50;
  top: var(--app-top, 7px);
  right: max(7px, calc((100% - 420px) / 2 + 7px));
  left: max(7px, calc((100% - 420px) / 2 + 7px));
  width: auto;
  height: calc(var(--app-height, 100vh) - 14px);
  height: calc(var(--app-height, 100dvh) - 14px);
  min-height: calc(var(--app-height, 100vh) - 14px);
  min-height: calc(var(--app-height, 100dvh) - 14px);
  max-height: calc(var(--app-height, 100vh) - 14px);
  max-height: calc(var(--app-height, 100dvh) - 14px);
  transform: none;
  grid-template-rows: auto auto auto 1fr auto;
  overflow: hidden;
  margin-bottom: 0;
}

.chat-app.chat-started > *,
.chat-app.chat-started .composer > *,
.chat-app.chat-started .messages > * {
  min-width: 0;
}

.chat-app.chat-started .composer {
  position: relative;
  min-height: 62px;
  left: auto;
  right: auto;
  bottom: auto;
  max-width: 100%;
  width: 100%;
  transform: none;
  border: 1px solid rgba(73, 42, 74, 0.14);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 18px 18px 0 0;
  margin-top: 0;
  box-shadow: 0 -12px 30px rgba(86, 47, 90, 0.16), 0 12px 32px rgba(86, 47, 90, 0.1);
}

body.keyboard-open .chat-app.chat-started .composer {
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}

body.keyboard-open .chat-app.chat-started {
  grid-template-rows: auto 1fr auto;
}

body.keyboard-open .chat-app.chat-started .quick-actions,
body.keyboard-open .chat-app.chat-started .people-panel {
  display: none;
}

.chat-app.chat-started .safety-strip,
.chat-app.chat-started .room-card {
  display: none;
}

.chat-app.chat-started .quick-actions {
  padding-top: 7px;
}

.chat-app.chat-started .messages {
  min-height: 0;
  overflow-y: auto;
  padding-top: 7px;
  padding-bottom: 18px;
  scroll-padding-bottom: 18px;
}

.seo-content {
  margin-top: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 70, 143, 0.12), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(255, 122, 89, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 251, 0.8));
  box-shadow: 0 24px 54px rgba(86, 47, 90, 0.13);
}

.seo-content h2,
.seo-content h3,
.seo-content p,
.seo-content li,
.seo-content summary {
  color: var(--ink);
}

.seo-content h2 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: 0;
}

.seo-content h2:not(:first-child) {
  margin-top: 20px;
}

.seo-content h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.seo-content p,
.seo-content li {
  font-size: 12px;
  line-height: 1.55;
}

.seo-content ol {
  display: grid;
  gap: 8px;
  padding-left: 0;
  counter-reset: steps;
  list-style: none;
}

.feature-list {
  display: grid;
  gap: 7px;
  padding-left: 0;
  list-style: none;
}

.feature-list li,
.seo-content ol li {
  position: relative;
  padding: 10px 10px 10px 36px;
  border: 1px solid rgba(44, 57, 100, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(38, 48, 96, 0.06);
}

.feature-list li::before {
  content: "+";
  position: absolute;
  left: 11px;
  top: 10px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.seo-content ol li {
  counter-increment: steps;
}

.seo-content ol li::before {
  content: counter(steps);
  position: absolute;
  left: 10px;
  top: 9px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.seo-grid article,
.seo-content details {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 70, 143, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 26px rgba(86, 47, 90, 0.08);
}

.seo-content details {
  margin-top: 9px;
}

.seo-content summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

.seo-content summary::-webkit-details-marker {
  display: none;
}

.seo-content summary::after {
  content: "+";
  float: right;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #fff0f6;
  color: var(--primary-dark);
}

.seo-content details[open] summary::after {
  content: "-";
}

.seo-content > p:first-of-type {
  padding: 12px;
  border: 1px solid rgba(217, 70, 143, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 239, 247, 0.74), rgba(232, 251, 247, 0.7));
  color: #303957;
  font-weight: 700;
}

.blog-strip {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(217, 70, 143, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 122, 89, 0.14), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(24, 169, 153, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 244, 250, 0.84));
  box-shadow: 0 18px 38px rgba(86, 47, 90, 0.11);
}

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

.blog-strip-head h2 {
  margin: 0;
  font-size: 17px;
  color: var(--ink);
}

.blog-strip-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.35;
}

.blog-strip-head::after {
  content: "Swipe";
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(217, 70, 143, 0.13), rgba(24, 169, 153, 0.14));
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 1px 7px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(217, 70, 143, 0.36) rgba(255, 255, 255, 0.35);
}

.blog-scroll::-webkit-scrollbar {
  height: 7px;
}

.blog-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}

.blog-scroll a {
  min-width: 218px;
  scroll-snap-align: start;
  display: grid;
  gap: 7px;
  padding: 13px;
  border: 1px solid rgba(73, 42, 74, 0.1);
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 183, 64, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff, #fff1f7);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(86, 47, 90, 0.09);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.blog-scroll a:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 70, 143, 0.26);
  box-shadow: 0 16px 30px rgba(86, 47, 90, 0.14);
}

.blog-scroll span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(24, 169, 153, 0.13), rgba(217, 70, 143, 0.12));
  color: var(--primary-dark);
  font-size: 9.5px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-scroll strong {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.22;
}

.blog-scroll small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.disclaimer-card {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(217, 70, 143, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 122, 89, 0.14), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(24, 169, 153, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 241, 247, 0.84));
  box-shadow: 0 18px 36px rgba(86, 47, 90, 0.12);
}

.disclaimer-card h2 {
  margin: 8px 0 8px;
  font-size: 18px;
}

.disclaimer-card p {
  margin: 8px 0 0;
  color: #3b3144;
  font-size: 12px;
  line-height: 1.55;
}

.disclaimer-badge {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--coral));
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(217, 70, 143, 0.13);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(24, 169, 153, 0.13), transparent 34%),
    radial-gradient(circle at 0% 0%, rgba(217, 70, 143, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 250, 0.82));
  box-shadow: 0 18px 40px rgba(86, 47, 90, 0.12);
}

.footer-brand {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 10px;
  align-items: center;
}

.footer-brand span {
  width: 42px;
  height: 38px;
  display: grid;
  place-items: center;
  grid-row: 1 / 3;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff2f8, #ffd3e5);
  color: #8d1f5b;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 20px rgba(86, 47, 90, 0.11);
}

.footer-brand strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.footer-brand p {
  grid-column: 2;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
}

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

.legal-footer a,
.policy-footer a,
.policy-brand {
  color: var(--primary-dark);
  font-weight: 900;
  text-decoration: none;
}

.legal-footer a {
  min-height: 50px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 9px 8px;
  border: 1px solid rgba(73, 42, 74, 0.08);
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 122, 89, 0.08), transparent 34%),
    linear-gradient(180deg, #fff9fc, #ffeef5);
  box-shadow: 0 10px 20px rgba(86, 47, 90, 0.07);
}

.legal-footer a strong {
  color: var(--primary-dark);
  font-size: 11.5px;
}

.legal-footer a small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.legal-footer a:hover {
  border-color: rgba(217, 70, 143, 0.22);
  transform: translateY(-1px);
}

.policy-shell {
  width: min(100% - 18px, 760px);
  margin: 0 auto;
  padding: 16px 0 26px;
}

.policy-hero,
.policy-card,
.policy-footer {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 70, 143, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(86, 47, 90, 0.1);
}

.policy-hero {
  padding: 18px;
  border-radius: 22px;
}

.policy-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.policy-brand span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 34px;
  border-radius: 13px;
  background: linear-gradient(145deg, #fff2f8, #ffd3e5);
  color: #8d1f5b;
}

.policy-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
}

.policy-hero p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.policy-card {
  margin-top: 12px;
  padding: 18px;
  border-radius: 22px;
}

.policy-card h2 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 17px;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p {
  margin: 0;
  color: #3b3144;
  font-size: 13px;
  line-height: 1.62;
}

.policy-footer {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 18px;
}

.policy-footer a {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff0f6;
  font-size: 12px;
}

.contact-email {
  display: inline-flex;
  width: fit-content;
  margin: 12px 0 4px;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(217, 70, 143, 0.18);
}

@media (max-width: 380px) {
  .phone-shell {
    padding: 0;
  }

  .chat-app {
    min-height: 100vh;
    max-height: 100vh;
    min-height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .chat-app.chat-started .composer {
    max-width: 100%;
    width: 100%;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
  }

  .chat-app.chat-started {
    top: var(--app-top, 0px);
    right: 0;
    left: 0;
    width: auto;
    height: var(--app-height, 100vh);
    height: var(--app-height, 100dvh);
    min-height: var(--app-height, 100vh);
    min-height: var(--app-height, 100dvh);
    max-height: var(--app-height, 100vh);
    max-height: var(--app-height, 100dvh);
    border-radius: 0;
  }

  .seo-grid {
    grid-template-columns: 1fr;
  }

  .legal-footer {
    grid-template-columns: 1fr;
  }

  .legal-footer nav {
    grid-template-columns: repeat(2, 1fr);
  }
}
