/* Bản 18.9 — Trang link bio (hồ sơ công khai). Chủ ý 1 giao diện / chủ đề do streamer chọn (không theo sáng/tối của site).
   Chủ đề: .lb-t-vie | neon | gold | violet | forest | light — màu nhấn qua --ac. */
:root { color-scheme: dark; }
.lb-body { --bg: #0b0a0d; --card: rgba(255, 255, 255, .06); --line: rgba(255, 255, 255, .12); --fg: #f4f0f2; --muted: #a8a0ab; --ac: #e6141f;
    margin: 0; min-height: 100vh; background: var(--bg); color: var(--fg); font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.5;
    -webkit-tap-highlight-color: transparent; }
.lb-t-neon { --bg: #071315; } .lb-t-gold { --bg: #120e06; } .lb-t-violet { --bg: #0e0a18; } .lb-t-forest { --bg: #06130b; }
.lb-t-light { --bg: #f6f4f2; --card: #fff; --line: rgba(20, 10, 15, .1); --fg: #1d1418; --muted: #6b6168; color-scheme: light; }
.lb-body * { box-sizing: border-box; }
.lb-bgblur { position: fixed; inset: -40px; background: center / cover no-repeat; filter: blur(40px) saturate(1.2); opacity: .35; z-index: 0; pointer-events: none; }
.lb-t-light .lb-bgblur { opacity: .25; }
.lb-preview { position: sticky; top: 0; z-index: 5; padding: 9px 16px; padding-top: calc(9px + env(safe-area-inset-top, 0px)); background: #f5c451; color: #2a1d00; font-size: 13px; font-weight: 600; text-align: center; }
.lb-preview a { color: #2a1d00; }
.lb { position: relative; z-index: 1; width: 100%; max-width: 480px; margin: 0 auto; padding: 0 16px calc(28px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 14px; }
.lb-head { display: grid; justify-items: center; text-align: center; gap: 4px; }
.lb-cover { width: calc(100% + 32px); margin: 0 -16px; height: 150px; background: radial-gradient(120% 140% at 20% 0%, color-mix(in srgb, var(--ac) 55%, transparent), transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--ac) 30%, var(--bg)), var(--bg)); background-size: cover; background-position: center; border-radius: 0 0 26px 26px; }
@media (min-width: 520px) { .lb { padding-top: 18px; } .lb-cover { width: 100%; margin: 0; border-radius: 22px; } }
.lb-av-wrap { position: relative; margin-top: -54px; border-radius: 50%; padding: 4px; background: var(--bg); }
.lb-av-wrap.is-live { background: conic-gradient(from 0deg, var(--ac), #ff8a3d, var(--ac)); animation: lbSpin 3s linear infinite; }
.lb-av-wrap.is-live .lb-av { animation: lbSpin 3s linear infinite reverse; }
@keyframes lbSpin { to { transform: rotate(360deg); } }
.lb-av { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; font-size: 40px; font-weight: 800; color: #fff; border: 3px solid var(--bg); }
.lb-live-tag { position: absolute; left: 50%; bottom: -6px; translate: -50% 0; padding: 1px 9px; border-radius: 6px; background: var(--ac); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; border: 2px solid var(--bg); }
.lb-name { margin: 8px 0 0; font-size: 24px; font-weight: 800; line-height: 1.2; display: inline-flex; align-items: center; gap: 6px; text-wrap: balance; }
.lb-verified { display: inline-grid; }
.lb-user { margin: 0; color: var(--muted); font-size: 14px; }
.lb-role { font-weight: 700; }
.lb-headline { margin: 6px 0 0; font-weight: 700; }
.lb-bio { margin: 2px 0 0; color: var(--muted); max-width: 40ch; overflow-wrap: anywhere; }
.lb-livebar { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 16px; border-radius: 999px; background: color-mix(in srgb, var(--ac) 18%, transparent); border: 1px solid var(--ac); color: var(--fg); font-weight: 700; text-decoration: none; }
.lb-livebar i { width: 9px; height: 9px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 0 0 var(--ac); animation: lbPing 1.6s infinite; }
@keyframes lbPing { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.lb-links { display: grid; gap: 10px; }
.lb-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 10px 48px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--fg); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .12s, border-color .15s, background .15s; position: relative; }
.lb-btn svg { position: absolute; left: 18px; }
.lb-btn:hover { border-color: var(--ac); background: color-mix(in srgb, var(--ac) 10%, var(--card)); }
.lb-btn:active { transform: scale(.985); }
.lb-btn:focus-visible, .lb-mini:focus-visible, .lb-amounts button:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.lb-btn-tiktok svg { color: #25f4ee; } .lb-btn-youtube svg { color: #ff3b3b; } .lb-btn-facebook svg { color: #4b8bff; }
.lb-btn-solid { background: var(--ac); border-color: var(--ac); color: #fff; }
.lb-t-gold .lb-btn-solid, .lb-t-neon .lb-btn-solid, .lb-t-forest .lb-btn-solid { color: #0b0a0d; }
.lb-btn-solid:hover { background: var(--ac); filter: brightness(1.08); }
.lb-btn-ghost { background: transparent; }
.lb-btn-momo svg { color: #d82d8b; }
.lb-card { padding: 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lb-card h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 17px; }
.lb-card h2 svg { color: var(--ac); }
.lb-card h2 small { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.lb-donate { display: grid; gap: 12px; }
.lb-donate h2 { margin-bottom: 0; }
.lb-vq { display: grid; gap: 12px; justify-items: center; }
.lb-qrbox { position: relative; width: min(260px, 72vw); aspect-ratio: 1; padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.lb-qrbox canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.lb-qrlogo { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; translate: -50% -50%; border-radius: 6px; background: #fff; padding: 2px; }
.lb-amounts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.lb-amounts button { min-height: 38px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; font-variant-numeric: tabular-nums; }
.lb-amounts button.on { background: var(--ac); border-color: var(--ac); color: #fff; }
.lb-t-gold .lb-amounts button.on, .lb-t-neon .lb-amounts button.on, .lb-t-forest .lb-amounts button.on { color: #0b0a0d; }
.lb-acct { width: 100%; margin: 0; display: grid; gap: 6px; }
.lb-acct div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, var(--fg) 5%, transparent); }
.lb-acct dt { color: var(--muted); font-size: 13px; }
.lb-acct dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; display: flex; align-items: center; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.lb-acct b { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.lb-mini { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 10px; border-radius: 9px; border: 1px solid var(--line); background: transparent; color: var(--fg); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; text-decoration: none; }
.lb-qrimg { margin: 0; display: grid; justify-items: center; gap: 8px; }
.lb-qrimg figcaption { color: var(--muted); font-size: 13px; }
.lb-qrimg img { width: min(260px, 72vw); border-radius: 16px; background: #fff; }
.lb-note { margin: 0; color: var(--muted); font-size: 12.5px; text-align: center; }
.lb-beta { padding: 8px 10px; border-radius: 10px; border: 1px dashed #f5c451; color: #f5c451; }
.lb-t-light .lb-beta { color: #8a5a00; border-color: #c08a00; }
.lb-sched { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lb-sched li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 12px; border-radius: 12px; font-variant-numeric: tabular-nums; }
.lb-sched li.is-off { color: var(--muted); }
.lb-sched li.is-today { background: color-mix(in srgb, var(--ac) 16%, transparent); border: 1px solid color-mix(in srgb, var(--ac) 50%, transparent); }
.lb-sched em { grid-column: 1 / -1; color: var(--muted); font-style: normal; font-size: 12.5px; }
.lb-gids { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lb-gids li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, var(--fg) 5%, transparent); }
.lb-gids span { color: var(--muted); font-size: 13px; min-width: 90px; }
.lb-gids code { font-size: 13px; }
.lb-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.lb-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--bc) 60%, transparent); background: color-mix(in srgb, var(--bc) 14%, transparent); font-size: 13px; font-weight: 600; }
.lb-badge img { width: 18px; height: 18px; object-fit: contain; }
.lb-foot { display: grid; gap: 10px; justify-items: center; padding-top: 4px; text-align: center; }
.lb-foot .lb-btn { width: 100%; }
.lb-join { color: var(--fg); font-size: 14px; text-decoration: none; padding: 10px 14px; border-radius: 14px; border: 1px dashed var(--line); }
.lb-join b { color: var(--ac); }
.lb-brand { color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.lb-toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; z-index: 9; max-width: 90vw; padding: 10px 16px; border-radius: 14px; background: #1f1b26; color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); text-align: center; }
@media (prefers-reduced-motion: reduce) { .lb-av-wrap.is-live, .lb-av-wrap.is-live .lb-av, .lb-livebar i { animation: none; } }
