/* ===================================================================
   LinkGids Shorts (Web) — styles.
   Responsive web app: sticky header, fluid grids, and two player modes
   (mobile immersive feed + centered desktop player).
   =================================================================== */

*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }

:root, .theme-light {
    --bg: #ffffff; --surface: #f3f3f5; --surface2: #ffffff;
    --text: #0b0b0d; --dim: #75757c; --faint: #a9a9b0;
    --border: rgba(9,9,12,0.08); --nav: rgba(255,255,255,0.86);
    --accent: #E8112D; --accent2: #ff3b52;
}
.theme-dark {
    --bg: #0a0a0c; --surface: #17171b; --surface2: #1c1c21;
    --text: #ffffff; --dim: #9a9aa2; --faint: #5c5c63;
    --border: rgba(255,255,255,0.1); --nav: rgba(12,12,14,0.82);
    --accent: #E8112D; --accent2: #ff3b52;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background: var(--bg); color: var(--text);
    min-height: 100vh;
}
a { color: var(--accent); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(120,120,130,.35); border-radius: 6px; }
::-webkit-scrollbar-track { background: transparent; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }

.lg-fade { animation: lg-fade .2s ease; }
.lg-icon-btn {
    width: 44px; height: 44px; border: none; background: transparent; color: var(--text);
    cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 12px;
    position: relative;
}

/* ===================== HEADER ===================== */
.lg-header {
    position: sticky; top: 0; z-index: 40; background: var(--nav);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}
.lg-header-inner {
    max-width: 1440px; margin: 0 auto; padding: 14px clamp(16px, 4vw, 48px);
    display: flex; align-items: center; gap: clamp(12px, 3vw, 32px);
}
.lg-header-inner.narrow { max-width: 820px; }
.lg-logo { display: flex; align-items: center; gap: 9px; cursor: pointer; flex: 0 0 auto; }
.lg-logo-mark {
    width: 34px; height: 34px; border-radius: 10px; background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(232,17,45,0.4);
}
.lg-logo-text { font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.lg-logo-text span { color: var(--accent); }
.lg-desk-search {
    flex: 1; max-width: 520px; margin: 0 auto; height: 44px; border-radius: 22px;
    background: var(--surface); display: flex; align-items: center; gap: 10px; padding: 0 18px; cursor: text;
}
.lg-desk-search span { color: var(--dim); font-size: 15px; font-weight: 500; }
.lg-spacer { flex: 1 1 auto; }
.lg-header-actions { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }

/* ===================== CONTAINER / DISCOVER ===================== */
.lg-container { max-width: 1440px; margin: 0 auto; width: 100%; padding: 0 clamp(16px, 4vw, 48px); }
.lg-chips { overflow-x: auto; padding: 16px 0 8px; display: flex; gap: 8px; white-space: nowrap; flex-wrap: nowrap; }
.lg-chips.wrap { flex-wrap: wrap; }
.lg-chip {
    flex: 0 0 auto; height: 38px; padding: 0 16px; border-radius: 19px;
    border: 1px solid var(--border); background: var(--surface); color: var(--text);
    font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; gap: 6px;
}
.lg-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.lg-section-head { padding: 14px 2px 16px; display: flex; align-items: center; justify-content: space-between; }
.lg-section-title { display: flex; align-items: center; gap: 10px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; letter-spacing: -.4px; }
.lg-count { font-size: 14px; color: var(--dim); font-weight: 600; }

.lg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: clamp(10px, 1.5vw, 20px); padding-bottom: 80px; }
.lg-card { cursor: pointer; animation: lg-slide-in .4s ease both; }
.lg-card-media { position: relative; width: 100%; aspect-ratio: 9/15.5; border-radius: 16px; overflow: hidden; background: var(--surface); }
.lg-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lg-card-grad { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,0) 58%, rgba(0,0,0,.58) 100%); }
.lg-badge-new { position: absolute; top: 9px; left: 9px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 8px; letter-spacing: .3px; }
.lg-save-btn { position: absolute; top: 7px; right: 7px; width: 32px; height: 32px; border: none; background: rgba(0,0,0,0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; }
.lg-dur { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 7px; pointer-events: none; }
.lg-views { position: absolute; bottom: 8px; left: 8px; display: flex; align-items: center; gap: 4px; color: #fff; pointer-events: none; }
.lg-views span { font-size: 11px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.lg-card-title { padding: 9px 2px 0; font-size: 14px; font-weight: 600; line-height: 1.28; letter-spacing: -.2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lg-card-source { padding: 5px 2px 0; display: flex; align-items: center; gap: 6px; }
.lg-avatar-dot { width: 18px; height: 18px; border-radius: 50%; flex: 0 0 auto; }
.lg-card-source .name { font-size: 12px; color: var(--dim); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-empty { padding: 60px 24px; text-align: center; color: var(--dim); font-size: 15px; }

/* ===================== SEARCH ===================== */
.lg-search-body { max-width: 820px; margin: 0 auto; padding: 8px clamp(16px, 4vw, 32px) 60px; }
.lg-search-field { flex: 1; height: 46px; border-radius: 23px; background: var(--surface); display: flex; align-items: center; gap: 10px; padding: 0 18px; }
.lg-search-field input { flex: 1; border: none; background: transparent; outline: none; color: var(--text); font-family: inherit; font-size: 15px; }
.lg-sub-label { font-size: 13px; font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: .6px; margin: 16px 0 6px; }
.lg-recent-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.lg-recent-row .q { flex: 1; font-size: 15px; font-weight: 500; }
.lg-filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.lg-filter-chip { height: 36px; padding: 0 16px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.lg-filter-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.lg-trend-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; cursor: pointer; }
.lg-trend-rank { width: 26px; text-align: center; font-size: 17px; font-weight: 800; color: var(--accent); }
.lg-trend-thumb { width: 46px; height: 58px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; background: var(--surface); }
.lg-trend-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lg-trend-title { font-size: 14.5px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lg-trend-meta { font-size: 12.5px; color: var(--dim); margin-top: 3px; }
.lg-results-grid { max-width: 1440px; margin: 0 auto; }

/* ===================== CHANNEL ===================== */
.lg-channel { max-width: 1100px; margin: 0 auto; }
.lg-channel-banner { height: clamp(150px, 22vw, 240px); position: relative; }
.lg-channel-back { position: absolute; top: 20px; left: 20px; width: 42px; height: 42px; border: none; border-radius: 12px; background: rgba(0,0,0,0.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 5; }
.lg-channel-head { padding: 0 clamp(16px, 4vw, 40px); margin-top: -40px; position: relative; }
.lg-channel-avatar { width: 88px; height: 88px; border-radius: 24px; border: 5px solid var(--bg); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 34px; font-weight: 800; }
.lg-channel-name { margin-top: 14px; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.5px; }
.lg-channel-handle { font-size: 14px; color: var(--dim); margin-top: 2px; }
.lg-channel-stats { display: flex; gap: 24px; margin-top: 14px; }
.lg-channel-stats b { font-size: 17px; font-weight: 800; }
.lg-channel-stats span { font-size: 13.5px; color: var(--dim); }
.lg-channel-info { margin-top: 18px; max-width: 520px; padding: 15px 18px; border-radius: 16px; background: var(--surface); display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; line-height: 1.4; }
.lg-channel-follow { margin-top: 16px; height: 46px; padding: 0 28px; border-radius: 14px; border: none; background: var(--accent); color: #fff; font-family: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.lg-channel-follow.following { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.lg-channel-sec { padding: 26px clamp(16px, 4vw, 40px) 10px; font-size: 18px; font-weight: 800; }
.lg-channel-grid { padding: 0 clamp(16px, 4vw, 40px) 80px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: clamp(10px, 1.5vw, 18px); }

/* ===================== PLAYER — shared bits ===================== */
.lg-ov { transition: opacity .3s ease; }
.ov-hidden .lg-ov { opacity: 0 !important; pointer-events: none !important; }
.lg-pause-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; opacity: 0; transition: opacity .18s; z-index: 20; }
.lg-pause-icon.on { opacity: 1; }
.lg-pause-icon > div { width: 78px; height: 78px; border-radius: 50%; background: rgba(0,0,0,0.32); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; }
.lg-progress { position: absolute; left: 0; right: 0; z-index: 25; height: 16px; display: flex; align-items: center; padding: 0 14px; cursor: pointer; }
.lg-progress-track { position: relative; width: 100%; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.25); }
.lg-progress-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; border-radius: 2px; background: var(--accent); }
.lg-tab { border: none; background: transparent; cursor: pointer; color: #fff; font-family: inherit; font-size: 16px; font-weight: 600; opacity: .6; padding: 0; position: relative; }
.lg-tab.active { font-weight: 800; opacity: 1; }
.lg-tab.active::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: -8px; width: 22px; height: 3px; border-radius: 2px; background: var(--accent); }
.lg-heart-burst { position: absolute; z-index: 35; pointer-events: none; animation: lg-heart-pop .9s ease-out forwards; }
.lg-media, .lg-slide video, .lg-slide img, .lg-slide iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
video.lg-media, img.lg-media { object-fit: cover; background: #000; }
.lg-slide-external { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; text-align: center; padding: 0 30px; }
.lg-slide-external .btn { padding: 11px 20px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; font-size: 14px; }

/* ---- PLAYER — MOBILE immersive ---- */
.lg-player-mobile { position: fixed; inset: 0; z-index: 60; background: #000; }
.lg-feed { position: absolute; inset: 0; overflow-y: scroll; scroll-snap-type: y mandatory; }
.lg-slide { position: relative; width: 100%; height: 100vh; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.lg-slide-grad { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 52%, rgba(0,0,0,.72) 100%); }
.lg-pm-top { position: absolute; top: 0; left: 0; right: 0; padding: 16px 14px 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; }
.lg-pm-top .lg-icon-btn { color: #fff; }
.lg-pm-tabs { display: flex; gap: 22px; align-items: center; }
.lg-pm-rail { position: absolute; right: 10px; bottom: 96px; z-index: 30; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.lg-rail-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lg-rail-btn { width: 48px; height: 48px; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lg-rail-btn svg { filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.lg-rail-label { color: #fff; font-size: 12.5px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.lg-rail-avatar { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 3px 10px rgba(0,0,0,.4); }
.lg-heart-anim { animation: lg-heart-beat .4s ease; }
.lg-pm-info { position: absolute; left: 0; right: 74px; bottom: 78px; z-index: 20; padding: 0 16px; }
.lg-pm-info .chan { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.lg-pm-info .dot { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 13px; }
.lg-pm-info .handle { color: #fff; font-size: 15px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.lg-pm-info .title { color: #fff; font-size: 14px; font-weight: 500; margin-top: 10px; line-height: 1.35; text-shadow: 0 1px 4px rgba(0,0,0,.6); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lg-pm-info .tag { display: inline-block; margin-top: 9px; color: #fff; font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,0.16); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 3px 9px; border-radius: 8px; }
.lg-mute { position: absolute; left: 16px; z-index: 25; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(0,0,0,0.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lg-player-mobile .lg-mute { bottom: 40px; }
.lg-player-mobile .lg-progress { bottom: 26px; }

/* ---- PLAYER — CENTERED (tablet / desktop) ---- */
.lg-player-centered { position: fixed; inset: 0; z-index: 60; background: radial-gradient(120% 100% at 50% 0%, #16161a 0%, #050506 70%); display: flex; align-items: center; justify-content: center; }
.lg-pc-close { position: absolute; top: 20px; left: 20px; z-index: 10; width: 46px; height: 46px; border: none; border-radius: 14px; background: rgba(255,255,255,0.1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lg-pc-tabs { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 26px; align-items: center; }
.lg-pc-theme { position: absolute; top: 20px; right: 20px; z-index: 10; width: 46px; height: 46px; border: none; border-radius: 14px; background: rgba(255,255,255,0.1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lg-pc-stage { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); height: 100%; }
.lg-pc-video { position: relative; height: min(88vh, 92vw*16/9); aspect-ratio: 9/16; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); animation: lg-scale-in .3s ease; }
.lg-pc-video .grad { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 55%, rgba(0,0,0,.75) 100%); }
.lg-pc-info { position: absolute; left: 0; right: 0; bottom: 44px; z-index: 6; padding: 0 20px; pointer-events: none; }
.lg-pc-info .chan { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; pointer-events: auto; }
.lg-pc-info .dot { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; }
.lg-pc-info .handle { color: #fff; font-size: 16px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.lg-pc-info .title { color: #fff; font-size: 15px; font-weight: 500; margin-top: 10px; line-height: 1.35; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.lg-pc-info .tag { display: inline-block; margin-top: 9px; color: #fff; font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,0.16); padding: 3px 10px; border-radius: 8px; }
.lg-player-centered .lg-progress { bottom: 16px; padding: 0 16px; }
.lg-pc-mute { position: absolute; right: 16px; top: 16px; z-index: 7; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(0,0,0,0.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lg-pc-rail { display: flex; flex-direction: column; align-items: center; gap: 20px; justify-content: flex-end; padding-bottom: 44px; height: min(88vh, 92vw*16/9); }
.lg-pc-rail .big { width: 54px; height: 54px; border-radius: 50%; border: none; background: rgba(255,255,255,0.1); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lg-pc-rail .lbl { color: #fff; font-size: 12.5px; font-weight: 700; }
.lg-pc-rail .avatar { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; cursor: pointer; background: var(--accent); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 20px; }
.lg-pc-arrows { display: flex; flex-direction: column; gap: 14px; }
.lg-pc-arrows button { width: 52px; height: 52px; border-radius: 50%; border: none; background: rgba(255,255,255,0.1); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lg-pc-arrows button:disabled { opacity: .35; cursor: default; }
.lg-pc-panel { width: 300px; height: min(88vh, 92vw*16/9); display: flex; flex-direction: column; }
.lg-pc-panel h4 { color: #fff; font-size: 15px; font-weight: 800; margin: 0 0 14px; }
.lg-pc-panel .list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding-right: 4px; }
.lg-pc-panel .row { display: flex; gap: 11px; cursor: pointer; }
.lg-pc-panel .row .th { width: 64px; height: 82px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; background: #222; }
.lg-pc-panel .row .th img { width: 100%; height: 100%; object-fit: cover; }
.lg-pc-panel .row .t { color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lg-pc-panel .row .m { color: rgba(255,255,255,.6); font-size: 11.5px; margin-top: 5px; }

/* ===================== MINI PLAYER ===================== */
.lg-mini { position: fixed; z-index: 55; animation: lg-scale-in .25s ease; }
.lg-mini-inner { height: 64px; border-radius: 16px; background: var(--surface2); box-shadow: 0 16px 40px -10px rgba(0,0,0,0.4); border: 1px solid var(--border); display: flex; align-items: center; gap: 10px; padding: 8px 10px; cursor: pointer; }
.lg-mini-thumb { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; background: var(--surface); }
.lg-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lg-mini-title { font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-mini-sub { font-size: 12px; color: var(--dim); margin-top: 2px; }
.lg-mini .lg-icon-btn { width: 38px; height: 38px; }

/* ===================== SHARE SHEET ===================== */
.lg-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,0.5); animation: lg-fade .2s ease; }
.lg-sheet { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 80; width: 100%; max-width: 480px; background: var(--bg); border-radius: 24px 24px 0 0; flex-direction: column; padding-bottom: calc(24px + env(safe-area-inset-bottom)); animation: lg-sheet-up .3s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -10px 40px rgba(0,0,0,.2); }
.lg-sheet-grip { padding: 12px 0 4px; display: flex; justify-content: center; }
.lg-sheet-grip > div { width: 40px; height: 4px; border-radius: 2px; background: var(--border); }
.lg-share-title { padding: 6px 20px 16px; font-size: 16px; font-weight: 800; }
.lg-share-targets { display: flex; gap: 16px; overflow-x: auto; padding: 0 20px 18px; }
.lg-share-target { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 0 0 auto; cursor: pointer; }
.lg-share-target .ic { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.lg-share-target .l { font-size: 11.5px; color: var(--dim); font-weight: 600; }
.lg-share-copy { padding: 0 20px 8px; display: flex; align-items: center; gap: 10px; }
.lg-share-copy .field { flex: 1; height: 46px; border-radius: 14px; background: var(--surface); display: flex; align-items: center; padding: 0 14px; font-size: 13px; color: var(--dim); overflow: hidden; white-space: nowrap; }
.lg-share-copy button { height: 46px; padding: 0 18px; border-radius: 14px; border: none; background: var(--accent); color: #fff; font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.lg-share-qr { padding: 14px 20px 0; display: flex; align-items: center; gap: 14px; }
.lg-share-qr .box { width: 74px; height: 74px; border-radius: 14px; background: #fff; border: 1px solid var(--border); flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }

.lg-toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 40px; z-index: 120; background: rgba(0,0,0,0.85); color: #fff; padding: 10px 18px; border-radius: 12px; font-size: 13px; font-weight: 600; animation: lg-fade .2s ease; }

/* ---- Keyframes ---- */
@keyframes lg-heart-pop { 0%{transform:translate(-50%,-50%) scale(0) rotate(-12deg);opacity:0} 15%{opacity:1} 40%{transform:translate(-50%,-50%) scale(1.15) rotate(6deg);opacity:1} 70%{opacity:1} 100%{transform:translate(-50%,-80%) scale(1) rotate(0);opacity:0} }
@keyframes lg-heart-beat { 0%{transform:scale(1)} 30%{transform:scale(1.35)} 55%{transform:scale(.9)} 100%{transform:scale(1)} }
@keyframes lg-sheet-up { from{transform:translateY(100%)} to{transform:translateY(0)} }
@keyframes lg-fade { from{opacity:0} to{opacity:1} }
@keyframes lg-scale-in { from{transform:scale(.96);opacity:0} to{transform:scale(1);opacity:1} }
@keyframes lg-slide-in { from{opacity:0; transform:translateY(14px)} to{opacity:1; transform:translateY(0)} }
