/* your perfect girlfriend · AiMessage dark theme.
   Dark iMessage look: pink/purple gradient bubbles, girl-select landing. */

:root {
  --pink: #ff2d78;
  --purple: #a855f7;
  --grad: linear-gradient(135deg, #ff2d78, #a855f7);
  --bg: #0a0a12;
  --bg-soft: #12121c;
  --bubble-her: #1e1e2e;
  --text: #ffffff;
  --sub: #8e8e93;
  --border: #2a2a3a;
  --radius: 18px;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { height: 100%; margin: 0; overscroll-behavior-y: none; }

body {
  background: #000;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.45;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

/* --- phone frame (desktop) --- */
.phone-frame { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.screen {
  width: 100%; height: 100%; background: var(--bg);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.notch { display: none; }
@media (min-width: 560px) {
  .phone-frame { padding: 24px; }
  .screen {
    width: 390px; height: 844px; max-height: calc(100vh - 48px);
    border-radius: 54px; border: 12px solid #000;
    box-shadow: 0 0 0 2px #3a3a3c, 0 30px 80px rgba(0,0,0,.6);
  }
  .notch {
    display: block; position: absolute; top: 12px; left: 50%;
    transform: translateX(-50%); width: 120px; height: 28px;
    background: #000; border-radius: 20px; z-index: 100;
  }
}

.hidden { display: none !important; }

/* --- onboarding --- */
.overlay {
  position: absolute; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: var(--bg);
}
.onboard-card { text-align: center; max-width: 320px; width: 100%; }
.onboard-card h1 { font-size: 26px; margin: 0 0 8px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tagline { color: var(--sub); font-size: 14px; margin: 0 0 22px; }
.ask { font-size: 15px; color: var(--pink); margin: 0 0 10px; font-weight: 600; }
.onboard-card input {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg-soft); color: var(--text);
  font-size: 17px; text-align: center; outline: none; margin-bottom: 14px;
}
.btn-primary {
  width: 100%; padding: 14px; border: 0; border-radius: 12px;
  background: var(--grad); color: #fff;
  font-size: 16px; font-weight: 700; cursor: pointer;
}
.btn-primary:active { opacity: .85; }
.btn-ghost {
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--pink); background: transparent;
  color: var(--pink); font-size: 14px; font-weight: 600;
}
.btn-ghost.small { font-size: 13px; padding: 7px 12px; margin-right: 8px; margin-top: 8px; }

/* --- app --- */
#app { display: flex; flex-direction: column; height: 100%; position: relative; }

/* --- girl select landing --- */
.landing-view { display: flex; flex-direction: column; height: 100%; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; touch-action: pan-y; padding: calc(20px + var(--sat)) 20px 20px; }
.brand { text-align: center; margin-bottom: 6px; }
.brand-logo { font-size: 1.8rem; font-weight: 900; background: linear-gradient(90deg, #ec4899, #9d4edd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 1px; }
.brand-tag { color: #b3a7c4; font-size: 0.95rem; margin-top: 6px; }
.brand h1 { font-size: 2.5rem; font-weight: 800; color: #fff; margin: 24px 0 10px; }
.brand p { color: #a49cb0; font-size: 14px; max-width: 500px; margin: 0 auto 16px; }
.online-banner {
  position: relative; border-radius: 16px; overflow: hidden; margin-bottom: 18px;
  border: 1px solid rgba(255,45,120,.4);
}
.online-banner img { width: 100%; height: 170px; object-fit: cover; display: block; }
.meet-pill {
  position: absolute; top: 10px; left: 10px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 8px;
}
.journey-btn {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; border: 0;
  font-size: 13px; font-weight: 700; padding: 9px 22px; border-radius: 999px;
  cursor: pointer; white-space: nowrap;
}
.girl-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.girl-card {
  display: flex; flex-direction: column; background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: 16px; padding: 10px;
  cursor: pointer; align-items: center; text-align: center;
}
.girl-card:active { border-color: var(--pink); }
.girl-photo { width: 100%; aspect-ratio: 3/4; border-radius: 12px; object-fit: cover; background: #2a2a3a; }
.girl-info { flex: 1; display: flex; flex-direction: column; align-items: center; width: 100%; }
.girl-name { font-size: 15px; font-weight: 700; margin-top: 8px; }
.online-dot { font-size: 10px; color: #4ade80; font-weight: 600; display: block; margin-top: 2px; }
.girl-desc { font-size: 11px; color: var(--sub); margin: 6px 0 8px; line-height: 1.35; }
.girl-desc b { color: #c4b5fd; }
.start-chat-btn {
  background: var(--grad); border: 0; color: #fff;
  border-radius: 8px; padding: 8px 0; width: 100%;
  font-size: 12px; font-weight: 700; cursor: pointer; margin-top: auto;
}

/* --- chat view --- */
.chat-view { display: flex; flex-direction: column; height: 100%; }
.imsg-chat-header {
  display: flex; align-items: center; gap: 10px;
  padding: calc(10px + var(--sat)) 12px 10px;
  background: rgba(10,10,18,.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); z-index: 2;
}
.back-btn {
  border: 0; background: none; color: var(--pink);
  font-size: 17px; cursor: pointer; padding: 4px; display: flex; align-items: center; gap: 2px;
}
.back-btn::before { content: "‹"; font-size: 28px; line-height: 1; }
.chat-avatar-btn { border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.chat-avatar {
  width: 48px; height: 48px; border-radius: 14px; display: block; object-fit: cover;
  border: 2px solid var(--pink); background: #2a2a3a;
}
.chat-avatar-btn .presence-dot {
  position: absolute; right: -2px; bottom: -2px; width: 13px; height: 13px;
  border-radius: 50%; background: #4ade80; border: 2.5px solid var(--bg);
}
.chat-header-titles { flex: 1; text-align: center; min-width: 0; }
.chat-name { font-size: 16px; font-weight: 700; }
.chat-sub { font-size: 12px; color: var(--sub); }
.chat-status, .girl-status {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  margin-top: 3px; padding: 3px 8px; border-radius: 999px;
  font-size: 11px; line-height: 1.25; font-weight: 650;
  background: rgba(148, 163, 184, .12); color: var(--sub);
}
.status-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: currentColor; flex: 0 0 6px; }
.status-idle { color: #a1a1aa; }
.status-idle .status-dot { background: #4ade80; box-shadow: 0 0 6px rgba(74, 222, 128, .9); }
.status-working { color: #60a5fa; }
.status-finishing-up { color: #fbbf24; }
.status-finished { color: #4ade80; }
.girl-status { margin: 5px 0 8px; }
.header-icons { display: flex; gap: 14px; }
.header-icons button { border: 0; background: none; color: var(--pink); font-size: 20px; cursor: pointer; }

/* --- messages --- */
.chat-log {
  flex: 1; overflow-y: auto; padding: 16px 14px 8px;
  display: flex; flex-direction: column; gap: 6px;
  -webkit-overflow-scrolling: touch;
}
.day-divider { align-self: center; font-size: 12px; color: var(--sub); margin: 6px 0; }
.encryption-note { align-self: center; font-size: 11.5px; color: var(--sub); margin: 2px 0 8px; }
.msg { max-width: 78%; display: flex; flex-direction: column; animation: rise .2s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; } }
.msg.her { align-self: flex-start; }
.msg.him { align-self: flex-end; }
.bubble {
  padding: 10px 14px; border-radius: 20px; font-size: 16px;
  word-wrap: break-word; white-space: pre-wrap; line-height: 1.4;
}
.msg.her .bubble { background: var(--bubble-her); color: #fff; border-bottom-left-radius: 4px; }
.msg.him .bubble { background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.msg-time { font-size: 10px; color: var(--sub); margin-top: 2px; padding: 0 6px; }
.msg.him .msg-time { align-self: flex-end; }

.voice-bubble {
  display: flex; align-items: center; gap: 10px;
  background: var(--bubble-her); border-radius: 20px; border-bottom-left-radius: 4px;
  padding: 10px 14px 10px 10px; min-width: 190px;
}
.voice-play {
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.voice-waves { display: flex; align-items: center; gap: 3px; height: 26px; flex: 1; }
.voice-waves i { width: 3px; border-radius: 2px; background: var(--pink); opacity: .7; }
.voice-meta { font-size: 11px; color: var(--sub); text-align: right; line-height: 1.3; }
.voice-bubble.playing .voice-waves i { animation: wave .7s infinite ease-in-out alternate; }
@keyframes wave { from { transform: scaleY(.4); } to { transform: scaleY(1.4); } }

.photo-bubble { border-radius: 20px; border-bottom-left-radius: 4px; overflow: hidden; background: var(--bubble-her); max-width: 240px; }
.photo-scene { height: 150px; position: relative; overflow: hidden; background: #2a2a3a; }
.photo-scene img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-caption { padding: 10px 12px; font-size: 14px; }
.demo-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .06em;
  color: var(--pink); border: 1px solid var(--pink);
  border-radius: 999px; padding: 2px 8px; margin-bottom: 6px;
}

.typing-row { padding: 0 14px 6px; }
.typing-bubble {
  display: inline-flex; gap: 5px; padding: 12px 16px;
  background: var(--bubble-her); border-radius: 20px; border-bottom-left-radius: 4px;
}
.typing-bubble span { width: 8px; height: 8px; border-radius: 50%; background: var(--sub); animation: blink 1.2s infinite; }
.typing-bubble span:nth-child(2) { animation-delay: .2s; }
.typing-bubble span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,100% { opacity: .25; } 50% { opacity: 1; } }

/* composer */
.composer {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px calc(10px + var(--sab));
  background: rgba(10,10,18,.92); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}
.plus-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; flex: none;
  background: var(--grad); color: #fff; font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.composer input {
  flex: 1; padding: 10px 14px; border-radius: 999px; font-size: 16px;
  border: 1px solid var(--border); background: var(--bg-soft); color: var(--text); outline: none;
}
.composer input::placeholder { color: var(--sub); }
.icon-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--sub);
}
.icon-btn.send { background: var(--grad); color: #fff; }
.icon-btn:active { opacity: .7; }
.attach-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border);
  cursor: pointer; flex: none; background: var(--bg-soft); color: var(--text);
  font-size: 15px; display: flex; align-items: center; justify-content: center;
}
.attach-btn:active { opacity: .7; }
.attachment-preview {
  display: flex; gap: 8px; overflow-x: auto; padding: 8px 12px 0;
  background: rgba(10,10,18,.92);
}
.attachment-chip {
  position: relative; flex: none; width: 178px;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 14px; padding: 6px;
}
.attachment-chip.error { border-color: #b42318; }
.attachment-remove {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(5,5,12,.82); color: #fff; font-size: 11px;
}
.attachment-bubble {
  display: flex; flex-direction: column; gap: 6px;
  max-width: 248px; background: transparent;
}
.attachment-card {
  overflow: hidden; border-radius: 16px; background: var(--bubble-her); color: #fff;
}
.msg.him .attachment-card { background: var(--grad); }
.attachment-card img {
  width: 100%; max-height: 240px; object-fit: cover; display: block;
}
.attachment-card video {
  width: 100%; max-height: 320px; display: block; background: #000;
}
.attachment-card.file {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
}
.attachment-icon { font-size: 24px; flex: none; }
.attachment-meta {
  min-width: 0; display: flex; flex-direction: column; gap: 1px;
  padding: 7px 9px; font-size: 12px;
}
.attachment-card.file .attachment-meta { padding: 0; }
.attachment-meta span {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600;
}
.attachment-meta small { color: rgba(255,255,255,.72); }
.attachment-note { color: var(--sub); font-size: 11px; }
.attachment-error { color: #ff8a80; font-size: 11px; }

/* --- sheets --- */
.sheet {
  position: absolute; inset: 0; z-index: 40;
  background: rgba(0,0,0,.6);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fadein .2s ease-out;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.sheet-card {
  width: 100%; max-height: 86%; overflow-y: auto;
  background: var(--bg-soft); color: var(--text);
  border-radius: 14px 14px 0 0; padding: 10px 20px calc(22px + var(--sab));
  animation: slideup .25s ease-out;
}
@keyframes slideup { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet-grab { width: 42px; height: 5px; border-radius: 3px; background: #3a3a4c; margin: 4px auto 12px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.sheet-head h2 { margin: 0; font-size: 20px; }
.sheet-close { border: 0; background: #2a2a3a; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
.sheet-sub { color: var(--sub); font-size: 14px; margin: 0 0 14px; }
.tier-card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.tier-name { font-weight: 700; font-size: 16px; color: var(--pink); }
.tier-sub { font-size: 12.5px; color: var(--sub); }
.stat-row { display: flex; gap: 10px; margin-bottom: 16px; }
.stat { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 12px; text-align: center; }
.stat-num { font-size: 22px; font-weight: 700; color: var(--pink); }
.stat-label { font-size: 12px; color: var(--sub); }
.toggle-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px;
  font-size: 14.5px; cursor: pointer;
}
.toggle-row small { display: block; color: var(--sub); font-size: 12px; }
.toggle-row input { display: none; }
.toggle { width: 51px; height: 31px; border-radius: 999px; background: #3a3a4c; position: relative; transition: background .2s; flex: none; }
.toggle::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px;
  border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.toggle-row input:checked + .toggle { background: #34c759; }
.toggle-row input:checked + .toggle::after { left: 22px; }
.about-box { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 14px; font-size: 13.5px; color: var(--sub); }
.about-title { font-weight: 700; color: #fff; margin-bottom: 6px; font-size: 14px; }
.about-box p { margin: 6px 0; }
.demo-pill { display: inline-block; background: rgba(255,45,120,.12); color: var(--pink); border-radius: 999px; font-size: 11px; font-weight: 700; padding: 2px 9px; margin-right: 4px; }
.conn-line .ok { color: #4ade80; } .conn-line .bad { color: #ff6b6b; }
.dim { opacity: .7; font-size: 12px; word-break: break-all; }
.shows-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.show-item { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.show-title { font-weight: 600; font-size: 15px; }
.show-when { font-size: 12.5px; color: var(--sub); }

.toast {
  position: absolute; left: 50%; bottom: 90px; transform: translateX(-50%);
  background: rgba(30,30,46,.95); color: #fff; border: 1px solid var(--pink);
  padding: 10px 18px; border-radius: 999px; font-size: 14px; z-index: 60;
  max-width: 86%; text-align: center;
}

/* pricing */
.pricing-section { margin-top: 24px; padding-bottom: 20px; }
.free-banner {
  background: var(--grad); border-radius: 16px; padding: 18px;
  text-align: center; margin-bottom: 14px;
}
.free-title { font-size: 20px; font-weight: 800; color: #fff; }
.free-sub { font-size: 13px; color: rgba(255,255,255,.85); margin-top: 4px; }
.trial-card {
  background: var(--bg-soft); border: 1px solid var(--pink);
  border-radius: 16px; padding: 16px; text-align: center; margin-bottom: 18px;
}
.trial-name { font-size: 14px; color: var(--sub); }
.trial-price { font-size: 28px; font-weight: 800; color: #fff; margin: 6px 0 12px; }
.trial-price span { font-size: 14px; font-weight: 400; color: var(--sub); }
.pricing-title { font-size: 18px; font-weight: 700; text-align: center; margin: 0 0 12px; }
.pricing-cards { display: flex; flex-direction: column; gap: 10px; }
.price-card {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.price-card .plan-name { font-size: 15px; font-weight: 700; }
.price-card .plan-msgs { font-size: 12px; color: var(--sub); }
.price-card .plan-price { font-size: 20px; font-weight: 800; color: var(--pink); }
.price-card .plan-price span { font-size: 12px; font-weight: 400; color: var(--sub); }
.preset-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.preset-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px; cursor: pointer;
}
.preset-item:active { border-color: var(--pink); }
.preset-thumb {
  width: 52px; height: 52px; border-radius: 10px; flex: none;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
}
.preset-name { font-size: 15px; font-weight: 600; text-transform: capitalize; }
.preset-count { font-size: 12px; color: var(--sub); }

/* referral */
.milestone-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.milestone { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.milestone span { color: var(--pink); font-weight: 700; }
.ref-progress { margin: 14px 0; }
.ref-progress-bar { height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; }
.ref-progress-fill { height: 100%; background: var(--grad); width: 0%; transition: width .3s; }
.ref-progress-text { font-size: 13px; color: var(--sub); margin-top: 6px; text-align: center; }
.ref-link-box { margin: 14px 0; }
.ref-link-label { font-size: 13px; color: var(--sub); margin-bottom: 6px; }
.ref-link-row { display: flex; gap: 8px; }
.ref-link-row input { flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 13px; }
.ref-share-btns { display: flex; gap: 8px; margin-top: 12px; }

/* auth */
.auth-tabs { display: flex; gap: 8px; margin: 14px 0; }
.auth-tab { flex: 1; padding: 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--sub); font-size: 14px; font-weight: 600; cursor: pointer; }
.auth-tab.active { background: var(--grad); color: #fff; border-color: transparent; }
.auth-input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 15px; margin-bottom: 10px; box-sizing: border-box; }
.auth-error { color: #ff6b6b; font-size: 13px; margin-top: 10px; text-align: center; }
.auth-verify { color: #51cf66; font-size: 13px; margin-top: 10px; text-align: center; }
.btn-primary.full { width: 100%; margin-top: 4px; }

/* referral landing section */
.referral-section { margin: 24px 16px; padding: 20px 16px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; }
.ref-landing-title { font-size: 18px; font-weight: 800; text-align: center; margin-bottom: 6px; }
.ref-landing-sub { font-size: 13px; color: var(--sub); text-align: center; margin-bottom: 12px; }

/* gods greek cross-promo */
.gods-link { display: flex; align-items: center; gap: 14px; margin: 0 16px 24px; padding: 18px 16px; background: linear-gradient(135deg, #1a1525, #2a1f3d); border: 1px solid #4a3a6a; border-radius: 16px; text-decoration: none; color: #fff; }
.gods-link:active { border-color: #a855f7; }
.gods-emoji { font-size: 32px; flex: none; }
.gods-text { flex: 1; }
.gods-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.gods-sub { font-size: 12px; color: #a99bc5; }
.gods-arrow { font-size: 20px; color: #a855f7; flex: none; }

/* mobile scroll fix */
@media (max-width: 559px) {
  html, body { height: 100dvh; overflow: hidden; position: fixed; width: 100%; }
  .phone-frame { height: 100dvh; }
  .screen { height: 100dvh; }
  .landing-view { flex: 1; min-height: 0; }
}

/* ============================================================
   Whispr Feed — stories-style daily feed
   ============================================================ */
/* ---------- companion creator ---------- */
.creator-cta { margin: 18px 16px 4px; text-align: center; }
.creator-cta-sub { color: var(--sub); font-size: 13px; margin: 8px 0 0; }
.creator-gender-row { display: flex; gap: 10px; margin-bottom: 10px; }
.gender-pill { flex: 1; padding: 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 15px; cursor: pointer; }
.gender-pill.active { border-color: var(--pink); color: var(--pink); font-weight: 600; }
.creator-photos-label { display: block; font-size: 13px; color: var(--sub); margin: 4px 0 6px; }
.creator-photos-input { width: 100%; margin-bottom: 10px; color: var(--text); font-size: 14px; }
.creator-photo-preview { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.creator-photo-preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.creator-check { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; font-size: 14px; color: var(--text); cursor: pointer; }
.creator-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--pink); flex-shrink: 0; }
#creatorSheet .auth-input { margin-bottom: 10px; }
#creatorSheet textarea.auth-input { resize: vertical; min-height: 80px; font-family: inherit; }

/* ============================================================
   Whispr Feed — Instagram-style posts on the landing page
   ============================================================ */
.herday-section {
  margin: 20px 0 10px;
  padding: 0;
}
.herday-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 2px;
  padding: 0 14px;
  letter-spacing: -0.2px;
}
.herday-live {
  font-size: 12px;
  font-weight: 600;
  color: #4ade80;
}
.herday-sub {
  font-size: 13px;
  color: #a8a8a8;
  margin: 0 0 14px;
  padding: 0 14px;
}
.herday-more {
  display: block;
  text-align: center;
  margin: 14px 14px 4px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.feed-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 4px;
}
.feed-empty {
  color: #a8a8a8;
  font-size: 14px;
  padding: 16px 14px;
  text-align: center;
}
.feed-post {
  background: #121212;
  border: 1px solid #262626;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #121212;
}
.feed-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.feed-avatar-ring {
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feed-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #000;
  border: 1.5px solid #121212;
}
.feed-header-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.feed-username {
  font-weight: 600;
  color: #f5f5f5;
  font-size: 13.5px;
}
.feed-dot {
  color: #737373;
  font-size: 10px;
}
.feed-time {
  color: #a8a8a8;
  font-size: 12.5px;
  font-weight: 400;
}
.feed-more-btn {
  background: none;
  border: none;
  color: #f5f5f5;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.feed-more-btn:active {
  opacity: 0.6;
}
.feed-media {
  background: #000000;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.feed-media-img,
.feed-media-video {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}
.feed-media-audio {
  width: calc(100% - 24px);
  margin: 16px 12px 8px;
}
.feed-voice-note {
  width: 100%;
  text-align: center;
  color: #a8a8a8;
  font-size: 13px;
  padding-bottom: 12px;
}
.feed-text-post {
  padding: 28px 20px;
  color: #f5f5f5;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  width: 100%;
  background: linear-gradient(135deg, #1e1e2e, #12121c);
}
.feed-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 6px;
}
.feed-actions-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.feed-actions-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feed-action-icon {
  background: none;
  border: none;
  color: #f5f5f5;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.feed-action-icon:active {
  transform: scale(1.18);
  opacity: 0.8;
}
.feed-like-btn.liked svg {
  fill: #ff3040;
  stroke: #ff3040;
}
.feed-bookmark-btn.saved svg {
  fill: #ffffff;
  stroke: #ffffff;
}
.feed-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ff2d78, #a855f7);
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 45, 120, 0.35);
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.feed-chat-btn:active {
  transform: scale(0.96);
  opacity: 0.9;
}
.feed-likes-summary {
  padding: 2px 12px 4px;
  font-size: 13px;
  color: #f5f5f5;
}
.feed-likes-text {
  font-weight: 400;
}
.feed-likes-text strong {
  font-weight: 600;
  color: #ffffff;
}
.feed-caption {
  padding: 2px 12px 12px;
  font-size: 13.5px;
  color: #f5f5f5;
  line-height: 1.4;
  word-break: break-word;
}
.feed-caption-name {
  font-weight: 700;
  color: #ffffff;
  margin-right: 2px;
}
/* --- message counter + paywall (2026-10-16) --- */.msg-counter{display:inline-block;margin-top:4px;padding:3px 10px;border-radius:999px;font-size:11.5px;font-weight:700;color:#fff;background:var(--grad);box-shadow:0 2px 10px rgba(255,45,120,.35)}.msg-counter.low{animation:counter-pulse 1.2s infinite}@keyframes counter-pulse{0%,100%{box-shadow:0 0 0 0 rgba(255,45,120,.55)}50%{box-shadow:0 0 0 7px rgba(255,45,120,0)}}.low-msg-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 12px 8px;padding:10px 12px;background:linear-gradient(135deg,rgba(255,45,120,.16),rgba(168,85,247,.16));border:1px solid var(--pink);border-radius:12px;font-size:13.5px;font-weight:600}.low-msg-banner .btn-primary{width:auto;padding:8px 16px;font-size:13px}.paywall-overlay{position:absolute;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(5,5,10,.82);backdrop-filter:blur(8px);animation:fadein .25s ease-out}.paywall-card{width:100%;max-width:340px;text-align:center;background:var(--bg-soft);border:1px solid var(--pink);border-radius:20px;padding:26px 20px;box-shadow:0 0 60px rgba(255,45,120,.35),0 24px 60px rgba(0,0,0,.6);animation:slideup .3s ease-out;max-height:92%;overflow-y:auto}.paywall-emoji{font-size:40px}.paywall-card h2{margin:10px 0 6px;font-size:22px}.paywall-sub{color:var(--sub);font-size:14px;margin:0 0 18px}.paywall-plans{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}.paywall-plan{position:relative;background:var(--bg);border:1px solid var(--border);border-radius:14px;padding:14px}.paywall-plan.highlight{border-color:var(--purple);background:linear-gradient(135deg,rgba(255,45,120,.12),rgba(168,85,247,.12))}.paywall-badge{position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:var(--grad);color:#fff;font-size:10.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;padding:3px 12px;border-radius:999px;white-space:nowrap}.paywall-plan-name{font-size:13px;color:var(--sub);font-weight:600}.paywall-plan-price{font-size:24px;font-weight:800;margin:4px 0 10px}.paywall-plan-price span{font-size:13px;font-weight:400;color:var(--sub)}.paywall-note{font-size:12px;color:var(--sub);margin:0 0 6px}#paywallClose{margin-top:8px}.composer input:disabled{opacity:.45}#sendBtn:disabled{opacity:.45;cursor:default}.feed-caption-text {
  color: #f5f5f5;
  font-weight: 400;
}

/* testimonials */
.testimonials-section { margin: 24px 0 10px; }
.testimonials-title { font-size: 20px; font-weight: 800; text-align: center; margin: 0 0 14px; color: #fff; }
.testimonials-title span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.testimonial-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.testimonial-card:active { border-color: var(--pink); }
.testimonial-stars { color: var(--pink); font-size: 13px; letter-spacing: 3px; margin-bottom: 8px; }
.testimonial-text { font-size: 14px; line-height: 1.5; color: var(--text); margin: 0 0 10px; }
.testimonial-name { font-size: 13px; font-weight: 700; color: var(--purple); }
@media (min-width: 560px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

/* Feed -> chat bridge: topic chip above the composer (2026-10-17) */
.post-topic-chip{display:flex;align-items:center;gap:8px;margin:6px 10px 0;padding:7px 10px;background:#fdf2f7;border:1px solid #f6c9db;border-radius:10px;font-size:13px;color:#8a2f4b}
.post-topic-chip span{flex:1;line-height:1.3}
.post-topic-x{border:0;background:transparent;color:#b04a6d;font-size:13px;cursor:pointer;padding:2px 4px}

/* What she remembers sheet (2026-10-17) */
.mem-list{display:flex;flex-direction:column;gap:8px;margin:10px 0;max-height:46vh;overflow-y:auto}
.mem-item{display:flex;align-items:flex-start;gap:8px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:8px 10px}
.mem-main{flex:1;display:flex;flex-direction:column;gap:3px}
.mem-type{align-self:flex-start;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#f6c9db;background:rgba(246,201,219,.12);padding:2px 6px;border-radius:999px}
.mem-text{font-size:14px;color:#fff;line-height:1.35}
.mem-when{font-size:11px;color:#9a93a3;white-space:nowrap;padding-top:2px}
.mem-del{border:0;background:transparent;color:#c9c2cf;font-size:13px;cursor:pointer;padding:2px 4px}
.mem-empty{color:#b8b2c0;font-size:14px;line-height:1.45;padding:8px 2px}
.mem-forget{margin-top:4px;color:#ff9db4}

/* In-character referral ask card (2026-10-17) */
.ref-ask-card{display:flex;justify-content:flex-start;margin:2px 0 8px 44px}
.ref-ask-btn{font-size:13px;padding:8px 14px}

/* $500 drawing banner (2026-10-17) */
.drawing-banner{margin:12px 0;padding:14px 16px;background:linear-gradient(135deg,#2a1f3d,#1d2a1a);border:1px solid #d4af37;border-radius:14px;text-align:center}
.drawing-title{font-size:18px;font-weight:800;color:#ffd968}
.drawing-sub{font-size:13px;color:#e8e2f2;margin:5px 0 10px;line-height:1.4}
.drawing-bar{height:10px;background:rgba(255,255,255,.12);border-radius:999px;overflow:hidden}
.drawing-fill{height:100%;width:0;background:linear-gradient(90deg,#d4af37,#ffd968);border-radius:999px;transition:width .6s ease}

/* Share chip under her bubbles (2026-10-17) */
.share-msg-btn{margin:2px 0 6px 6px;padding:3px 9px;font-size:11px;font-weight:600;color:#b04a6d;background:rgba(224,90,160,.10);border:1px solid rgba(224,90,160,.25);border-radius:999px;cursor:pointer}

.mem-stats{font-size:12.5px;color:#d9d2e0;margin:6px 0 2px}
.mem-search{width:100%;box-sizing:border-box;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:8px 10px;color:#fff;font-size:14px;margin:6px 0 2px}
.mem-month{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#9a93a3;margin:8px 0 0}
.mem-export{margin-top:4px}
