/* Peaches — design system. Pixel-matched to candy.ai's dark/rose companion UI. */
:root {
  /* surfaces */
  --bg:        #0d0d0f;
  --bg-2:      #121214;
  --surface:   #1a1a1d;
  --surface-2: #212125;
  --surface-3: #2a2a2f;
  --border:    #2b2b30;
  --border-2:  #37373d;

  /* text */
  --text:      #f4f4f6;
  --text-2:    #c3c3ca;
  --muted:     #93939c;
  --faint:     #6a6a72;

  /* brand — peach→coral gradient is the whole identity */
  --rose:      #ff8a66;
  --rose-2:    #f2543a;
  --rose-deep: #cc3f26;
  --grad:      linear-gradient(96deg, #ffa07d 0%, #f2543a 100%);
  --grad-soft: linear-gradient(96deg, rgba(255,160,125,.16), rgba(242,84,58,.16));

  /* premium gold */
  --gold:      #f7d488;
  --gold-2:    #d0a94f;
  --grad-gold: linear-gradient(96deg, #f9dd9a, #cf9f3f);

  /* status */
  --live:      #ff2d55;
  --online:    #35d07f;

  --radius:    16px;
  --radius-sm: 11px;
  --radius-lg: 22px;
  --rail:      68px;
  --rail-wide: 216px;
  --topbar:    60px;
  --shadow:    0 8px 30px rgba(0,0,0,.45);
  --shadow-rose: 0 8px 26px rgba(242,84,58,.42);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: rgba(242,84,58,.35); }

/* ------- scrollbars ------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #2c2c31; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a41; }
::-webkit-scrollbar-track { background: transparent; }

/* ================= layout shell ================= */
.app { display: grid; grid-template-columns: var(--rail-wide) 1fr; min-height: 100vh; }
@media (max-width: 1080px) { .app { grid-template-columns: var(--rail) 1fr; } }
@media (max-width: 720px)  { .app { grid-template-columns: 1fr; } }

/* ---- sidebar ---- */
.sidebar {
  position: sticky; top: 0; height: 100vh;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  padding: 14px 12px; gap: 4px;
  z-index: 40;
}
.brand { display: flex; align-items: center; gap: 8px; padding: 8px 10px 16px; font-weight: 800; font-size: 22px; letter-spacing: -.5px; }
.brand .dot { color: var(--rose); }
.nav-item {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 12px; border-radius: var(--radius-sm);
  color: var(--text-2); font-weight: 600; font-size: 14.5px;
  transition: background .15s, color .15s;
}
.nav-item svg { width: 21px; height: 21px; flex: 0 0 21px; }
.nav-item:hover { background: var(--surface); color: var(--text); }
.nav-item.active { background: var(--surface-2); color: #fff; }
.nav-item.active svg { color: var(--rose); }
.nav-item .lbl { white-space: nowrap; }
.nav-premium { margin-top: 4px; }
.nav-premium .badge { margin-left: auto; background: var(--grad-gold); color: #241a03; font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 20px; }
.nav-spacer { flex: 1; }
.nav-foot { color: var(--muted); font-size: 12.5px; }
.nav-foot .nav-item { padding: 8px 12px; font-size: 13px; font-weight: 500; }
@media (max-width: 1080px) {
  .brand .txt, .nav-item .lbl, .nav-premium .badge, .nav-foot { display: none; }
  .brand { justify-content: center; padding: 8px 0 16px; }
  .nav-item { justify-content: center; padding: 12px 0; }
}
@media (max-width: 720px) { .sidebar { display: none; } }

/* ---- topbar ---- */
.main { min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  height: var(--topbar);
  display: flex; align-items: center; gap: 18px;
  padding: 0 24px;
  background: rgba(13,13,15,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.seg { display: flex; gap: 4px; background: var(--surface); padding: 4px; border-radius: 30px; }
.seg button {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 24px; color: var(--muted); font-weight: 700; font-size: 14px;
  transition: color .15s, background .15s;
}
.seg button.on { background: var(--surface-3); color: #fff; }
.seg button:hover:not(.on) { color: var(--text); }
.seg .ic { width: 15px; height: 15px; }
.seg button.on .ic { color: var(--rose); }
.topbar .spacer { flex: 1; }
.mobile-brand { display: none; font-weight: 800; font-size: 20px; }
@media (max-width: 720px) { .mobile-brand { display: block; } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; border-radius: 26px; padding: 10px 20px; font-size: 14.5px; white-space: nowrap; transition: transform .12s, box-shadow .15s, background .15s, border-color .15s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-rose); }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(242,84,58,.55); }
.btn-ghost { border: 1.5px solid var(--rose-2); color: #fff; }
.btn-ghost:hover { background: rgba(242,84,58,.12); }
.btn-soft { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-2); }
.btn-soft:hover { background: var(--surface-3); }
.btn-gold { background: var(--grad-gold); color: #241a03; }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 30px; }

/* ================= content area ================= */
.content { padding: 26px 30px 90px; max-width: 1500px; }
@media (max-width: 720px) { .content { padding: 18px 16px 90px; } }
.section-title { font-size: 25px; font-weight: 800; letter-spacing: -.5px; margin: 30px 0 16px; }
.section-title .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- hero carousel ---- */
.hero {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 21 / 6; min-height: 190px; margin-bottom: 8px;
  background: #17171a; box-shadow: var(--shadow);
}
.hero video, .hero img { width: 100%; height: 100%; object-fit: cover; }
.hero .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.15), rgba(0,0,0,.55) 70%); display: flex; flex-direction: column; justify-content: center; padding: 0 46px; }
.hero .kicker { font-size: 13px; letter-spacing: 3px; font-weight: 800; color: var(--rose); }
.hero h2 { font-size: 40px; font-weight: 900; margin: 6px 0 12px; letter-spacing: -1px; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
@media (max-width: 720px) { .hero h2 { font-size: 24px; } .hero .overlay { padding: 0 22px; } }

/* ---- filter chips ---- */
.chips { display: flex; gap: 9px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; padding: 8px 16px; border-radius: 24px; background: var(--surface); color: var(--text-2); font-weight: 700; font-size: 13.5px; border: 1px solid transparent; transition: all .15s; white-space: nowrap; }
.chip:hover { background: var(--surface-2); color: #fff; }
.chip.on { background: var(--grad); color: #fff; border-color: transparent; }

/* ---- character grid ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(224px, 1fr)); gap: 18px; }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--surface); cursor: pointer;
  transition: transform .18s ease, box-shadow .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.5); }
.card .thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .thumb { transform: scale(1.05); }
.card .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.86) 100%); }
.card .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 15px; }
.card .name { font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 7px; }
.card .name .age { color: var(--text-2); font-weight: 600; font-size: 15px; }
.card .name .on-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--online); box-shadow: 0 0 8px var(--online); margin-left: 2px; }
.card .blurb { font-size: 12.5px; color: var(--text-2); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.card .play { position: absolute; left: 15px; bottom: 14px; display: none; align-items: center; gap: 6px; background: var(--grad); color: #fff; font-weight: 800; font-size: 12.5px; padding: 6px 13px; border-radius: 20px; box-shadow: var(--shadow-rose); }
.card.has-video:hover .play { display: inline-flex; }
.card.has-video:hover .meta .blurb { opacity: 0; }
.card .badges { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; }
.tag-badge { font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 20px; letter-spacing: .3px; }
.tag-live { background: var(--live); color: #fff; }
.tag-new { background: var(--grad); color: #fff; }
.tag-series { background: rgba(0,0,0,.6); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.tag-video { background: rgba(0,0,0,.55); color: #fff; display: inline-flex; align-items: center; gap: 4px; }

/* row scroller for "New Experiences" */
.row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.row::-webkit-scrollbar { display: none; }
.xp {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; cursor: pointer;
  transition: transform .18s; background: var(--surface);
}
.xp:hover { transform: translateY(-3px); }
.xp img, .xp video { width: 100%; height: 100%; object-fit: cover; }
.xp .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.8)); }
.xp .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; }
.xp .cap .t { font-weight: 800; font-size: 15px; }
.xp .cta { display: inline-flex; margin-top: 8px; padding: 7px 14px; border-radius: 20px; background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 800; }

/* ================= chat view ================= */
.chat-wrap { display: grid; grid-template-columns: 300px 1fr 320px; height: calc(100vh - var(--topbar)); }
@media (max-width: 1200px) { .chat-wrap { grid-template-columns: 1fr 320px; } .chat-list { display: none; } }
@media (max-width: 820px)  { .chat-wrap { grid-template-columns: 1fr; } .chat-aside { display: none; } }

.chat-list { border-right: 1px solid var(--border); overflow-y: auto; padding: 12px; }
.chat-list h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 8px 8px 12px; }
.thread { display: flex; gap: 11px; padding: 10px; border-radius: 12px; cursor: pointer; transition: background .15s; }
.thread:hover { background: var(--surface); }
.thread.on { background: var(--surface-2); }
.thread img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.thread .tinfo { min-width: 0; flex: 1; }
.thread .tn { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.thread .tn .on-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--online); }
.thread .tp { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chat-main { display: flex; flex-direction: column; min-width: 0; height: 100%; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--border); }
.chat-head img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.chat-head .chn { font-weight: 800; font-size: 16px; }
.chat-head .chs { font-size: 12px; color: var(--online); font-weight: 600; }
.chat-head .gems { margin-left: auto; display: flex; align-items: center; gap: 6px; background: var(--surface-2); padding: 7px 13px; border-radius: 20px; font-weight: 800; font-size: 13.5px; }
.chat-head .gems svg { width: 15px; height: 15px; color: var(--rose); }
.chat-scroll { flex: 1; overflow-y: auto; padding: 22px 22px 8px; display: flex; flex-direction: column; gap: 14px; background: radial-gradient(120% 60% at 50% 0%, rgba(242,84,58,.05), transparent 60%); }
.msg { max-width: 74%; padding: 11px 15px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.msg.ai   { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 5px; }
.msg.user { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 5px; }
.msg.photo { padding: 5px; background: var(--surface-2); }
.msg.photo img, .msg.photo video { border-radius: 13px; max-width: 260px; }
.msg .locked { position: relative; }
.msg .locked img, .msg .locked video { filter: blur(18px) brightness(.7); }
.msg .locked .unlock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.msg .locked .unlock .btn { padding: 8px 16px; font-size: 13px; }
.typing { align-self: flex-start; background: var(--surface-2); padding: 14px 18px; border-radius: 18px; border-bottom-left-radius: 5px; display: flex; gap: 5px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bounce 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes bounce { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat-actions { display: flex; gap: 8px; padding: 8px 16px 0; flex-wrap: wrap; }
.qa { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 20px; background: var(--surface-2); color: var(--text-2); font-size: 12.5px; font-weight: 700; border: 1px solid var(--border); transition: all .15s; }
.qa:hover { background: var(--surface-3); color: #fff; }
.qa svg { width: 14px; height: 14px; color: var(--rose); }
.chat-input { display: flex; gap: 10px; padding: 14px 18px 18px; }
.chat-input input { flex: 1; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text); border-radius: 26px; padding: 13px 18px; font-size: 15px; outline: none; transition: border-color .15s; }
.chat-input input:focus { border-color: var(--rose-2); }
.chat-input .send { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-rose); flex: 0 0 48px; }
.chat-input .send svg { width: 20px; height: 20px; color: #fff; }

.chat-aside { border-left: 1px solid var(--border); overflow-y: auto; }
.chat-aside .cover { position: relative; aspect-ratio: 3/4; }
.chat-aside .cover img { width: 100%; height: 100%; object-fit: cover; }
.chat-aside .cover .veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.85)); }
.chat-aside .cover .nm { position: absolute; bottom: 14px; left: 16px; font-weight: 800; font-size: 20px; }
.chat-aside .abody { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-aside .abody .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-aside .abody .tag { background: var(--surface-2); padding: 5px 11px; border-radius: 16px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.chat-aside .abody p { font-size: 13.5px; color: var(--text-2); line-height: 1.5; margin: 0; }

/* ================= create wizard ================= */
.wizard { max-width: 760px; margin: 0 auto; padding: 22px 20px 90px; }
.wz-progress { height: 5px; background: var(--surface-2); border-radius: 4px; overflow: hidden; margin-bottom: 28px; }
.wz-progress .fill { height: 100%; background: var(--grad); border-radius: 4px; transition: width .35s ease; }
.wz-step { text-align: center; }
.wz-step .back { position: absolute; left: 30px; color: var(--muted); font-size: 22px; }
.wz-title { font-size: 27px; font-weight: 900; letter-spacing: -.5px; margin-bottom: 6px; }
.wz-title .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wz-sub { color: var(--muted); margin-bottom: 24px; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 30px; }
.opt-grid.wide { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.opt {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  aspect-ratio: 3/4; border: 2.5px solid transparent; transition: border-color .15s, transform .15s;
}
.opt:hover { transform: translateY(-2px); }
.opt.sel { border-color: var(--rose); }
.opt img { width: 100%; height: 100%; object-fit: cover; }
.opt .veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.8)); }
.opt .lbl { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-weight: 800; font-size: 14px; }
.opt.sel .check { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; }
.opt .check { display: none; }
.opt.sel .check { display: flex; }
.opt.text-opt { aspect-ratio: auto; padding: 20px 14px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.opt.text-opt .lbl { position: static; }
.opt.text-opt.sel { background: var(--grad-soft); }

/* ================= paywall ================= */
.paywall-veil { position: fixed; inset: 0; background: rgba(0,0,0,.78); backdrop-filter: blur(6px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.paywall { background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 24px; max-width: 440px; width: 100%; overflow: hidden; box-shadow: var(--shadow); max-height: 94vh; overflow-y: auto; }
.paywall .pw-hero { position: relative; height: 190px; }
.paywall .pw-hero img { width: 100%; height: 100%; object-fit: cover; }
.paywall .pw-hero .veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, var(--bg-2)); }
.paywall .pw-close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; color: #fff; }
.paywall .pw-body { padding: 6px 26px 26px; }
.paywall h2 { font-size: 25px; font-weight: 900; text-align: center; margin: 0 0 4px; }
.paywall .pw-sub { text-align: center; color: var(--muted); margin-bottom: 18px; font-size: 14px; }
.perk { display: flex; align-items: center; gap: 11px; padding: 8px 0; font-size: 14.5px; }
.perk svg { width: 18px; height: 18px; color: var(--rose); flex: 0 0 18px; }
.plans { display: grid; gap: 10px; margin: 18px 0; }
.plan { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 2px solid var(--border); cursor: pointer; transition: border-color .15s; }
.plan.sel { border-color: var(--rose); background: var(--grad-soft); }
.plan .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border-2); flex: 0 0 20px; }
.plan.sel .radio { border-color: var(--rose); background: var(--rose); box-shadow: inset 0 0 0 3px var(--bg-2); }
.plan .pt { font-weight: 800; font-size: 15px; }
.plan .pd { font-size: 12.5px; color: var(--muted); }
.plan .pp { margin-left: auto; text-align: right; }
.plan .pp .amt { font-weight: 900; font-size: 17px; }
.plan .pp .per { font-size: 11.5px; color: var(--muted); }
.plan .tag-pop { position: absolute; }
.plan-badge { background: var(--grad); color: #fff; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 12px; margin-left: 8px; }

/* modal (generic) */
.modal-veil { position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 20px; max-width: 420px; width: 100%; padding: 26px; }
.modal h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.modal p { color: var(--muted); margin: 0 0 18px; }

/* toast */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); background: var(--surface-3); border: 1px solid var(--border-2); padding: 12px 20px; border-radius: 30px; font-weight: 700; z-index: 200; box-shadow: var(--shadow); animation: toastin .3s ease; }
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 12px); } }

/* mobile bottom nav */
.mnav { display: none; }
@media (max-width: 720px) {
  .mnav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: var(--bg-2); border-top: 1px solid var(--border); padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); justify-content: space-around; }
  .mnav a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted); font-size: 10px; font-weight: 700; }
  .mnav a.active { color: var(--rose); }
  .mnav svg { width: 22px; height: 22px; }
}

.hidden { display: none !important; }
.center-col { display: flex; flex-direction: column; align-items: center; }
.spin { width: 34px; height: 34px; border: 3px solid var(--surface-3); border-top-color: var(--rose); border-radius: 50%; animation: rot 1s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ================= shorts feed ================= */
.shorts-feed { height: calc(100vh - var(--topbar)); overflow-y: auto; scroll-snap-type: y mandatory; }
.short { position: relative; height: calc(100vh - var(--topbar)); scroll-snap-align: start; display: flex; align-items: center; justify-content: center; background: #000; }
.short video { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.short-veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.85)); pointer-events: none; }
.short-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px; max-width: 640px; margin: 0 auto; }
.short-name { font-weight: 800; font-size: 21px; display: flex; align-items: center; gap: 8px; }
.short-bio { font-size: 14px; color: var(--text-2); margin: 6px 0 14px; }
.short-meta .btn { }

/* private content unlock overlay */
.card .pc-unlock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.card .pc-unlock .btn { padding: 9px 18px; font-size: 13.5px; }

/* chat aside image carousel dots */
.cover .dots { position: absolute; bottom: 46px; left: 0; right: 0; display: flex; gap: 5px; justify-content: center; }
.cover .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); }
.cover .dots i.on { background: #fff; width: 16px; border-radius: 4px; }

/* button icons must not collapse to 0×0 in flex context */
.btn svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
[data-act="account"] { gap: 6px; }
[data-act="account"] svg { color: var(--rose); }

/* ---- promo hero (Anime / Guys tabs — "Create your own AI ___") ---- */
.promo-hero { display: block; position: relative; overflow: hidden; }
.promo-hero .promo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-hero .promo-cast { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 0; padding-left: 2%; }
.promo-hero .promo-cast img { height: 100%; width: auto; object-fit: contain; object-position: bottom; }
.promo-hero .promo-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding-right: 6%; gap: 14px; text-align: right; }
.promo-hero .promo-copy h2 { font-size: 34px; font-weight: 900; margin: 0; letter-spacing: -.6px; text-shadow: 0 2px 18px rgba(0,0,0,.65); }
@media (max-width: 900px) {
  .promo-hero .promo-cast img:nth-child(3) { display: none; }
  .promo-hero .promo-copy h2 { font-size: 21px; }
  .promo-hero .promo-copy { padding-right: 4%; }
}

/* ---- structured profile panel (chat aside) ---- */
.profile-panel { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 6px; }
.pf-row { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.pf-row:last-child { border-bottom: none; }
.pf-label { flex: 0 0 88px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding-top: 1px; }
.pf-val { flex: 1; font-size: 13px; color: var(--text-2); line-height: 1.4; }

/* ---- token store ---- */
.welcome-offer { border:1px solid var(--rose-2); border-radius:16px; overflow:hidden; margin-bottom:20px;
  background:linear-gradient(96deg, rgba(240,41,90,.18), rgba(255,107,160,.06)); }
.wo-head { display:flex; justify-content:space-between; align-items:center; padding:11px 16px;
  background:rgba(0,0,0,.35); font-size:13.5px; }
.wo-head span { color:var(--muted); }
.wo-head b { color:#fff; }
.wo-body { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:16px; font-size:16px; }
.wo-body svg { width:18px; height:18px; color:var(--gold); vertical-align:-3px; }
.tok-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:14px; }
.tok-pack { position:relative; background:var(--surface); border:1px solid var(--border);
  border-radius:16px; padding:22px 14px 16px; text-align:center; transition:border-color .15s, transform .15s; }
.tok-pack:hover { border-color:var(--border-2); transform:translateY(-2px); }
.tok-pack.best { border-color:var(--rose-2); }
.tok-bonus { position:absolute; top:-9px; left:50%; transform:translateX(-50%);
  background:#5b4bdb; color:#fff; font-size:10.5px; font-weight:800; padding:3px 9px; border-radius:20px; white-space:nowrap; }
.tok-icon svg { width:40px; height:40px; color:var(--gold); }
.tok-n { font-size:21px; font-weight:900; margin:8px 0 12px; }
.tok-buy { width:100%; }

/* ---- referral ---- */
.invite-hero { background:linear-gradient(96deg, rgba(240,41,90,.22), rgba(90,60,200,.14));
  border-radius:20px; padding:28px; margin-bottom:18px; }
.invite-hero h1 { font-size:30px; font-weight:900; margin:0 0 18px; letter-spacing:-.5px; }
.invite-hero .accent { background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.invite-row { display:flex; gap:10px; max-width:520px; }
.invite-row input { flex:1; background:rgba(0,0,0,.45); border:1px solid var(--border-2); color:var(--text-2);
  border-radius:12px; padding:12px 14px; font-size:13.5px; }
.invite-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px; margin-bottom:8px; }
.inv-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:18px; }
.inv-card h3 { margin:0 0 8px; font-size:14.5px; font-weight:800; }
.inv-card p { margin:0; color:var(--text-2); font-size:13.5px; line-height:1.5; }
