/* Velvet AI · 🔗 Smart Link mini-chat — the public page of ig-dm.app/<username> (own small stylesheet, no Tailwind)
   The whole screen, like dm.bio (owner, 2026-10-14): her photo + name centred on top, ⋯ = her card, the conversation edge to
   edge, the composer across the bottom, an empty chat = her big photo + «say hi» right above it. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #0b0b12; --panel: #171722; --line: rgba(255, 255, 255, 0.08); --text: #f4f4f7; --muted: #9a9aab;
  --me: #7c3aed; --me-bg: var(--me); --me-text: #fff; --me-tick: #bae6fd; --them: #1f1f2c; --link: #c4b5fd;
  --warn: #fbbf24; --browser-text: #fde68a; --btn: #262636; --field: #171722; --soft: #222230; --gate: rgba(5, 5, 10, 0.94);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  /* a soft glow of the theme's own colour behind the conversation */
  --deco: radial-gradient(1100px 520px at 50% -12%, rgba(124, 58, 237, 0.24), transparent 62%), radial-gradient(900px 480px at 100% 110%, rgba(236, 72, 153, 0.12), transparent 60%);
}
/* 🎨 the link's theme (owner, 2026-10-11; 12 since 2026-10-14) — dark ones */
body[data-theme="black"] { --deco: none; --bg: #000; --panel: #111113; --line: rgba(255, 255, 255, 0.1); --text: #fff; --muted: #8e8e93; --me: #8b5cf6; --them: #1c1c1e; --link: #c4b5fd; --btn: #1c1c1e; --field: #111113; --soft: #1c1c1e; --gate: rgba(0, 0, 0, 0.95); }
body[data-theme="midnight"] { --deco: radial-gradient(1100px 520px at 50% -12%, rgba(59, 130, 246, 0.26), transparent 62%), radial-gradient(900px 480px at 0% 110%, rgba(34, 211, 238, 0.10), transparent 60%); --bg: #0b1220; --panel: #111a2e; --line: rgba(148, 163, 184, 0.14); --text: #e8eefc; --muted: #8b9bb8; --me: #3b82f6; --them: #172238; --link: #93c5fd; --btn: #1a2540; --field: #111a2e; --soft: #1a2540; --gate: rgba(6, 10, 20, 0.95); }
body[data-theme="wine"] { --deco: radial-gradient(1100px 520px at 50% -12%, rgba(225, 29, 72, 0.26), transparent 62%), radial-gradient(900px 480px at 100% 110%, rgba(168, 85, 247, 0.12), transparent 60%); --bg: #1a0a10; --panel: #24101a; --line: rgba(255, 255, 255, 0.08); --text: #fbeef2; --muted: #c0909f; --me: #e11d48; --me-tick: #fecdd3; --them: #2e1520; --link: #fda4af; --btn: #34182a; --field: #24101a; --soft: #2e1520; --gate: rgba(15, 5, 8, 0.95); }
body[data-theme="gold"] { --deco: radial-gradient(1100px 520px at 50% -12%, rgba(234, 179, 8, 0.20), transparent 62%), radial-gradient(900px 480px at 100% 110%, rgba(249, 115, 22, 0.10), transparent 60%); --bg: #0f0d08; --panel: #1a1710; --line: rgba(234, 179, 8, 0.16); --text: #faf5e6; --muted: #b8a98a; --me: #ca8a04; --me-text: #1f1500; --me-tick: #1f1500; --them: #221e14; --link: #fcd34d; --btn: #2a2417; --field: #1a1710; --soft: #2a2417; --gate: rgba(10, 8, 4, 0.95); }
/* light ones */
body[data-theme="light"], body[data-theme="cream"], body[data-theme="pink"], body[data-theme="blue"], body[data-theme="mint"], body[data-theme="lavender"], body[data-theme="sunset"] { --warn: #b45309; --browser-text: #b45309; --shadow: 0 1px 3px rgba(15, 15, 30, 0.12); }
body[data-theme="light"] { --deco: radial-gradient(1100px 520px at 50% -12%, rgba(124, 58, 237, 0.10), transparent 62%), radial-gradient(900px 480px at 100% 110%, rgba(59, 130, 246, 0.08), transparent 60%); --bg: #f6f6f9; --panel: #ffffff; --line: rgba(0, 0, 0, 0.09); --text: #17171f; --muted: #6b6b7b; --me: #7c3aed; --them: #ececf2; --link: #6d28d9; --btn: #ececf2; --field: #ffffff; --soft: #e5e5ec; --gate: rgba(246, 246, 249, 0.96); }
body[data-theme="cream"] { --deco: radial-gradient(1100px 520px at 50% -12%, rgba(251, 146, 60, 0.14), transparent 62%), radial-gradient(900px 480px at 0% 110%, rgba(234, 179, 8, 0.10), transparent 60%); --bg: #faf6ef; --panel: #fffdf8; --line: rgba(120, 90, 50, 0.14); --text: #2b2118; --muted: #8a7a66; --me: #c2683a; --them: #f1e8da; --link: #9a4a1f; --btn: #f1e8da; --field: #fffdf8; --soft: #eadfcd; --gate: rgba(250, 246, 239, 0.96); }
body[data-theme="pink"] { --deco: radial-gradient(1100px 520px at 50% -12%, rgba(236, 72, 153, 0.16), transparent 62%), radial-gradient(900px 480px at 100% 110%, rgba(168, 85, 247, 0.10), transparent 60%); --bg: #fff5f9; --panel: #ffffff; --line: rgba(190, 24, 93, 0.14); --text: #3b0a22; --muted: #9d5b7a; --me: #ec4899; --them: #fce4ef; --link: #be185d; --btn: #fce4ef; --field: #ffffff; --soft: #fbd5e5; --gate: rgba(255, 245, 249, 0.96); }
body[data-theme="blue"] { --deco: radial-gradient(1100px 520px at 50% -12%, rgba(59, 130, 246, 0.14), transparent 62%), radial-gradient(900px 480px at 0% 110%, rgba(14, 165, 233, 0.10), transparent 60%); --bg: #f2f7ff; --panel: #ffffff; --line: rgba(29, 78, 216, 0.14); --text: #0b1b3a; --muted: #5a6b8c; --me: #2563eb; --them: #e2ecfd; --link: #1d4ed8; --btn: #e2ecfd; --field: #ffffff; --soft: #d6e4fb; --gate: rgba(242, 247, 255, 0.96); }
body[data-theme="mint"] { --deco: radial-gradient(1100px 520px at 50% -12%, rgba(16, 185, 129, 0.16), transparent 62%), radial-gradient(900px 480px at 100% 110%, rgba(6, 182, 212, 0.10), transparent 60%); --bg: #f0fbf6; --panel: #ffffff; --line: rgba(5, 150, 105, 0.14); --text: #06281c; --muted: #4d7d6b; --me: #059669; --them: #dcf3e9; --link: #047857; --btn: #dcf3e9; --field: #ffffff; --soft: #ccecdf; --gate: rgba(240, 251, 246, 0.96); }
body[data-theme="lavender"] { --deco: radial-gradient(1100px 520px at 50% -12%, rgba(139, 92, 246, 0.16), transparent 62%), radial-gradient(900px 480px at 100% 110%, rgba(236, 72, 153, 0.10), transparent 60%); --bg: #f7f4ff; --panel: #ffffff; --line: rgba(124, 58, 237, 0.14); --text: #241a3d; --muted: #7a6c9a; --me: #8b5cf6; --them: #ece6fd; --link: #6d28d9; --btn: #ece6fd; --field: #ffffff; --soft: #e2d9fb; --gate: rgba(247, 244, 255, 0.96); }
body[data-theme="sunset"] { --deco: linear-gradient(180deg, #fff1e6 0%, #ffe6ee 55%, #f5ebff 100%); --bg: #fff7f2; --panel: #ffffff; --line: rgba(234, 88, 12, 0.14); --text: #3a1408; --muted: #9a6a5a; --me: #f43f5e; --me-tick: #fff; --them: #ffe9df; --link: #db2777; --btn: #ffe9df; --field: #ffffff; --soft: #fde0d3; --gate: rgba(255, 247, 242, 0.96); }

/* her bubble follows the theme's own colour (worked out on body, where the theme sets --me) unless the theme gives a gradient */
body { --me-bg: var(--me); }
body[data-theme="gold"] { --me-bg: linear-gradient(135deg, #facc15, #ca8a04); }
body[data-theme="sunset"] { --me-bg: linear-gradient(135deg, #f97316, #ec4899 55%, #8b5cf6); }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); }
body { font: 15px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
svg { display: block; }
.lc { display: flex; flex-direction: column; width: 100%; height: 100dvh; background: var(--deco), var(--bg); }

/* ── top: her photo + name (a tap = her card), ⋯ on the right ── */
.lc-head { position: relative; display: flex; align-items: center; justify-content: center; padding: 8px 64px 6px; padding-top: max(8px, env(safe-area-inset-top)); background: transparent; }
.lc-who { display: flex; flex-direction: column; align-items: center; gap: 0; background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: center; cursor: pointer; min-width: 0; }
.lc-ava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--soft); flex-shrink: 0; position: relative; z-index: 1; box-shadow: 0 0 0 2px var(--panel); }
.lc-pill { display: flex; flex-direction: column; align-items: center; max-width: 70vw; margin-top: -6px; padding: 8px 14px 4px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lc-name { font-weight: 700; font-size: 14px; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-presence { color: var(--muted); font-size: 11.5px; line-height: 1.3; white-space: nowrap; }
.lc-presence.lc-on::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; margin-right: 4px; vertical-align: 1px; }
.lc-more { position: absolute; right: 16px; top: max(14px, calc(env(safe-area-inset-top) + 6px)); }

.lc-read { text-align: right; font-size: 11px; color: var(--muted); margin: -1px 6px 6px; }
.lc-meta { display: inline-flex; align-items: center; gap: 3px; float: right; margin: 6px 0 -3px 10px; font-size: 10.5px; line-height: 1; opacity: 0.7; white-space: nowrap; }
.lc-has-media .lc-meta { float: none; display: flex; justify-content: flex-end; margin: 3px 6px 2px; }
.lc-tick { font-size: 11px; letter-spacing: -2px; }
.lc-tick-read { color: #7dd3fc; opacity: 1; }
.lc-me .lc-tick-read { color: var(--me-tick); }
.lc-browser { margin: 6px 16px 0; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.08); font-size: 13px; color: var(--browser-text); }
.lc-browser p { margin: 0 0 8px; }
.lc-browser-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--btn); color: var(--text); font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.lc-btn-primary { background: var(--me-bg); border-color: transparent; color: var(--me-text); }

/* ── the conversation: edge to edge, anchored at the bottom like a messenger ── */
.lc-feed { flex: 1; display: flex; flex-direction: column; overflow-y: auto; padding: 10px 16px 8px; -webkit-overflow-scrolling: touch; }
#lc-msgs { margin-top: auto; }
#lc-msgs:empty { margin-top: 0; } /* an empty chat: her photo + «say hi» sit right above the composer */
.lc-hero { margin-top: auto; text-align: center; padding: 24px 0 18px; }
.lc-hero img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--soft); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--me), 0 10px 30px rgba(0, 0, 0, 0.18); }
.lc-hero h1 { font-size: 18px; margin: 10px 0 3px; }
.lc-hero p { margin: 0; color: var(--muted); font-size: 13.5px; }
.lc-row { position: relative; display: flex; align-items: center; gap: 6px; margin: 3px 0; }
.lc-me { justify-content: flex-end; }
/* 😍 reactions (like Instagram): ⋯ next to the bubble on hover, the six emoji above it, the chosen one under its corner */
.lc-bubble { position: relative; touch-action: manipulation; } /* a double tap = ❤️, never the browser's zoom */
.lc-react-btn { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 0; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .12s; }
.lc-react-btn svg { width: 18px; height: 18px; }
.lc-react-btn:hover { background: var(--soft); color: var(--text); }
.lc-row:hover .lc-react-btn, .lc-react-btn:focus-visible { opacity: 1; }
.lc-me .lc-react-btn { order: -1; }
@media (hover: none) { .lc-react-btn { display: none; } }
.lc-react-pick { position: absolute; bottom: calc(100% - 2px); z-index: 6; display: flex; gap: 2px; padding: 6px 8px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
.lc-them .lc-react-pick { left: 0; }
.lc-me .lc-react-pick { right: 0; }
.lc-react-pick button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; transition: transform .12s; }
.lc-react-pick button:hover { transform: scale(1.25); background: var(--soft); }
.lc-react-pick .lc-react-on { background: var(--soft); }
.lc-has-react { margin-bottom: 18px; }
.lc-reacts { position: absolute; bottom: -15px; z-index: 2; height: 24px; min-width: 28px; padding: 0 6px; border-radius: 12px; border: 2px solid var(--bg); background: var(--panel); font-size: 13px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.lc-them .lc-reacts { left: 10px; }
.lc-me .lc-reacts { right: 10px; }
.lc-bubble { max-width: min(78%, 560px); padding: 8px 13px; border-radius: 20px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.lc-me .lc-bubble { background: var(--me-bg); color: var(--me-text); border-bottom-right-radius: 6px; }
.lc-them .lc-bubble { background: var(--them); border-bottom-left-radius: 6px; }
.lc-bubble a { color: var(--link); text-decoration: underline; }
.lc-me .lc-bubble a { color: var(--me-text); }
.lc-has-media { padding: 3px; }
.lc-media { display: block; max-width: 100%; max-height: 420px; border-radius: 17px; }
.lc-typing { color: var(--muted); font-size: 13px; padding: 6px 2px; }
.lc-note { margin: 0 16px 6px; color: var(--warn); font-size: 13px; text-align: center; }
.lc-fv { margin: 0 16px 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); text-align: center; font-size: 14px; }
.lc-fv p { margin: 0 0 10px; }
.lc-fv .lc-btn { width: 100%; padding: 11px; }

/* 🎙️ a voice note: ▶ / ❚❚ + bars that fill as it plays + its length (never the browser's «0:00 / 0:00») */
.lc-voice { display: flex; align-items: center; gap: 10px; min-width: 210px; padding: 7px 12px 7px 7px; }
.lc-voice .lc-meta { margin-left: 2px; }
.lc-vbtn { width: 36px; height: 36px; border-radius: 50%; border: 0; flex-shrink: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; background: var(--me-bg); color: var(--me-text); }
.lc-me .lc-vbtn { background: rgba(255, 255, 255, 0.22); color: var(--me-text); }
.lc-vbtn svg { width: 16px; height: 16px; }
.lc-vbars { flex: 1; display: flex; align-items: center; gap: 2px; height: 28px; min-width: 96px; cursor: pointer; }
.lc-vbars span { flex: 1; min-width: 2px; max-width: 4px; border-radius: 2px; background: currentColor; opacity: 0.35; }
.lc-vbars span.lc-on { opacity: 1; }
.lc-vtime { font-size: 12px; font-variant-numeric: tabular-nums; opacity: 0.85; min-width: 32px; margin-left: 2px; text-align: right; }

/* ── the composer across the bottom: + · the field · 🎙️ / send ── */
.lc-form, .lc-rec { display: flex; align-items: center; gap: 10px; padding: 8px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom)); background: transparent; }
.lc-input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border-radius: 23px; border: 1px solid var(--line); background: var(--field); color: var(--text); font: inherit; font-size: 16px; outline: none; box-shadow: var(--shadow); }
.lc-input::placeholder { color: var(--muted); }
.lc-input:focus { border-color: var(--me); }
.lc-send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--me-bg); color: var(--me-text); cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.lc-send svg, .lc-round svg { width: 20px; height: 20px; }
.lc-send:disabled, .lc-input:disabled { opacity: 0.5; }
.lc-round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--text); line-height: 1; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 0; box-shadow: var(--shadow); }
.lc-round:disabled { opacity: 0.5; }
.lc-sheet { position: fixed; inset: 0; z-index: 9; display: flex; align-items: flex-end; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.35); }
.lc-sheet-card { width: 100%; max-width: 420px; display: flex; justify-content: space-around; gap: 8px; padding: 18px 12px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); margin-bottom: max(70px, env(safe-area-inset-bottom)); }
.lc-pick { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: none; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.lc-pick-ic { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.lc-ic-gallery { background: #2563eb; } .lc-ic-camera { background: #e11d48; } .lc-ic-file { background: #16a34a; }
.lc-rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; animation: lc-blink 1s infinite; }
@keyframes lc-blink { 50% { opacity: 0.3; } }
.lc-rec-hint { flex: 1; color: var(--muted); font-size: 13px; }
.lc-gate { position: fixed; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--gate); }
.lc-gate-card { width: 100%; max-width: 360px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); text-align: center; }
.lc-gate-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--soft); }
.lc-gate-card h2 { font-size: 18px; margin: 12px 0 8px; }
.lc-gate-card p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.lc-gate-card .lc-btn { width: 100%; margin-top: 8px; padding: 11px; }
.lc-empty { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; color: var(--muted); }
@media (min-width: 768px) {
  .lc-feed { padding: 12px 28px 10px; }
  .lc-form, .lc-rec { padding-left: 24px; padding-right: 24px; }
  .lc-more { right: 24px; }
  .lc-bubble { max-width: min(70%, 600px); }
}

/* 🔒 a locked set (Fanvue paid media link) */
.lc-ppv { text-align: center; min-width: 200px; }
.lc-ppv-lock { font-size: 28px; line-height: 1; margin: 4px 0 6px; }
.lc-ppv-title { font-weight: 700; }
.lc-ppv-count { font-size: 12px; opacity: .8; margin-top: 2px; }
.lc-bubble .lc-ppv-btn, .lc-ppv-btn { display: block; margin: 10px 0 6px; padding: 10px 14px; border-radius: 999px; background: var(--me-bg); color: var(--me-text); font-weight: 700; text-decoration: none; }
.lc-ppv-how { font-size: 11px; opacity: .7; }
/* 💳 checkout: the blurred preview (Fanvue's own blurred copy, blurred a little more here) and the set once he paid */
.lc-ppv-pv { position: relative; margin: -4px -8px 8px; border-radius: 14px; overflow: hidden; background: var(--soft); }
.lc-ppv-img { display: block; width: 100%; max-height: 260px; object-fit: cover; filter: blur(8px) brightness(.85); transform: scale(1.1); }
.lc-ppv-pv .lc-ppv-lock { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; font-size: 34px; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.lc-ppv-grid { display: grid; gap: 3px; }
.lc-ppv-grid.lc-ppv-two { grid-template-columns: 1fr 1fr; }
.lc-ppv-grid.lc-ppv-two .lc-media { width: 100%; height: 100%; max-height: 220px; object-fit: cover; }
.lc-ppv-unlocked { font-size: 11px; opacity: .75; padding: 4px 8px 2px; }
/* 👁️ her view-once photo / video: a small bubble («tap to view» → «Opened»), opened full screen once */
.lc-once { display: flex; align-items: center; gap: 9px; cursor: pointer; font-weight: 600; white-space: normal; }
.lc-once svg { width: 22px; height: 22px; flex-shrink: 0; }
.lc-once-text { display: flex; flex-direction: column; line-height: 1.25; }
.lc-once-sub { font-size: 11px; font-weight: 400; opacity: .7; }
/* seen and closed: a faded «Opened» bubble (owner, 2026-10-14) */
.lc-once-opened { cursor: default; font-weight: 600; color: var(--muted); opacity: 0.6; }
/* her photo / video full screen, like a story (phone + computer): her photo + name · ✕ on top, «Send a message» + reactions below */
.lc-viewer { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; background: #000; color: #fff; }
.lc-viewer-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); }
.lc-viewer-ava { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.lc-viewer-name { flex: 1; min-width: 0; font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-viewer-close { width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lc-viewer-close svg { width: 28px; height: 28px; }
.lc-viewer-close:hover { background: rgba(255, 255, 255, 0.12); }
.lc-viewer-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lc-viewer-media { display: block; max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.lc-viewer-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; padding-bottom: max(14px, env(safe-area-inset-bottom)); }
.lc-viewer-input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border-radius: 23px; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); color: #fff; font: inherit; font-size: 16px; outline: none; }
.lc-viewer-input::placeholder { color: rgba(255, 255, 255, 0.8); }
.lc-viewer-input:focus { border-color: rgba(255, 255, 255, 0.75); }
.lc-viewer-emoji { display: flex; gap: 2px; flex-shrink: 0; }
.lc-viewer-emoji button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; transition: transform .12s; }
.lc-viewer-emoji button:hover { transform: scale(1.2); }
.lc-viewer-emoji .lc-react-on { background: rgba(255, 255, 255, 0.2); }
.lc-viewer-pop { position: absolute; left: 50%; top: 50%; font-size: 96px; line-height: 1; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.4); animation: lc-pop .75s ease-out forwards; }
@keyframes lc-pop { 30% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); } 100% { opacity: 0; transform: translate(-50%, -70%) scale(1); } }
@media (max-width: 440px) { .lc-viewer-emoji { gap: 0; } .lc-viewer-emoji button { width: 31px; height: 38px; font-size: 21px; } .lc-viewer-input { padding: 0 12px; } .lc-viewer-bar { gap: 4px; padding-left: 10px; padding-right: 10px; } }
.lc-once .lc-meta { font-weight: 400; }

/* 👤 her card + ⏱ disappearing messages (like dm.bio) */
.lc-card { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.45); }
.lc-card-box { position: relative; width: 100%; max-width: 420px; max-height: 92vh; overflow-y: auto; padding: 28px 18px 18px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.lc-card-x { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--btn); color: var(--text); font-size: 15px; cursor: pointer; }
.lc-card-ava { display: inline-block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--soft); }
.lc-card-name { font-size: 20px; font-weight: 700; margin-top: 10px; }
.lc-card-dom { color: var(--muted); font-size: 13px; margin-top: 2px; }
.lc-card-sec { text-align: left; color: var(--muted); font-size: 13px; margin: 18px 4px 6px; }
.lc-card-row { display: block; width: 100%; text-align: left; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--field); color: var(--text); font: inherit; }
.lc-card-lbl { color: var(--muted); font-size: 12px; }
.lc-card-val { font-size: 15px; margin-top: 2px; }
.lc-card-btn { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 15px; }
.lc-card-val2 { color: var(--link); font-size: 14px; }
.lc-card-note { text-align: left; color: var(--muted); font-size: 12px; margin: 6px 4px 0; }
.lc-exp { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); background: rgba(0, 0, 0, 0.35); }
.lc-exp-box, .lc-exp-cancel { width: 100%; max-width: 420px; margin: 0 auto; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.lc-exp-head { padding: 12px; text-align: center; border-bottom: 1px solid var(--line); }
.lc-exp-head b { display: block; font-size: 13px; color: var(--muted); }
.lc-exp-head span { font-size: 12px; color: var(--muted); }
.lc-exp-opt { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 16px; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--text); font: inherit; font-size: 16px; cursor: pointer; }
.lc-exp-opt:last-child { border-bottom: 0; }
.lc-exp-ck { visibility: hidden; color: var(--link); }
.lc-exp-on .lc-exp-ck { visibility: visible; }
.lc-exp-cancel { padding: 14px; color: var(--text); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }

/* 🎉 he paid: fireworks over the card, once (owner, 2026-10-16) — transform / opacity only, gone after 1.8″ */
.lc-bubble { position: relative; }
.lc-confetti { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 5; }
.lc-confetti i { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 2px; opacity: 0; animation: lc-burst 1.4s ease-out forwards; }
@keyframes lc-burst {
  0% { transform: translate(-50%, -50%) scale(0.4) rotate(0); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y) + 40px)) scale(1) rotate(540deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .lc-confetti { display: none; } }
