/* ======================= Flame Video ======================= */
.flamevideo { display: flex; flex-direction: column; height: 100%; --fv: #ff6a3d; --fv2: #ff9a4a; }
.fv-top { display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.fv-burger, .fv-ib { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.fv-burger:hover, .fv-ib:hover { background: rgba(255, 255, 255, .08); }
.fv-burger .li, .fv-ib .li { width: 20px; height: 20px; }
.fv-brand { display: flex; align-items: center; gap: 7px; flex: none; }
.fv-brand svg { width: 34px; height: 34px; }
.fv-brand b { font-size: 19px; letter-spacing: -.4px; }
.fv-brand span { font-size: 19px; font-weight: 300; color: var(--fv2); margin-left: -3px; }
.fv-searchwrap { position: relative; flex: 1; max-width: 640px; margin: 0 auto; display: flex; }
.fv-search { flex: 1; height: 40px; border-radius: 20px 0 0 20px; border: 1px solid rgba(255, 255, 255, .14); border-right: 0; background: rgba(0, 0, 0, .25); padding: 0 18px; outline: none; font-size: 15px; user-select: text; min-width: 0; }
.fv-search:focus { border-color: rgba(255, 140, 80, .7); background: rgba(0, 0, 0, .35); }
.fv-sbtn { width: 62px; height: 40px; border-radius: 0 20px 20px 0; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.fv-sbtn:hover { background: rgba(255, 255, 255, .14); }
.fv-sugg { position: absolute; left: 0; right: 62px; top: 46px; z-index: 30; padding: 8px 0; border-radius: 14px; background: rgba(28, 26, 34, .97); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.fv-si { width: 100%; display: flex; align-items: center; gap: 14px; padding: 8px 18px; text-align: left; font-size: 14.5px; }
.fv-si:hover, .fv-si.on { background: rgba(255, 255, 255, .08); }
.fv-si svg, .fv-si .li { width: 15px; height: 15px; color: var(--text-3); }
.fv-topacts { display: flex; gap: 4px; flex: none; }
.fv-body { flex: 1; display: flex; min-height: 0; }
.fv-side { width: 220px; flex: none; overflow-y: auto; padding: 8px 10px 20px; display: flex; flex-direction: column; gap: 1px; }
.flamevideo.fv-collapsed .fv-side, .flamevideo.fv-watching .fv-side { display: none; }
.flamevideo.fv-watching.fv-collapsed .fv-side { display: flex; }
.fv-nav { display: flex; align-items: center; gap: 18px; height: 40px; padding: 0 12px; border-radius: 10px; text-align: left; font-size: 13.5px; }
.fv-nav:hover { background: rgba(255, 255, 255, .07); }
.fv-nav.on { background: rgba(255, 106, 61, .16); }
.fv-nav.on b { font-weight: 600; }
.fv-nav span { width: 20px; height: 20px; display: grid; place-items: center; }
.fv-nav .li { width: 19px; height: 19px; }
.fv-nav b { font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fv-nav.ch { gap: 14px; }
.fv-sep { height: 1px; background: rgba(255, 255, 255, .08); margin: 10px 4px; }
.fv-sh { color: var(--text-3); font-size: 12px; padding: 4px 12px; text-transform: uppercase; letter-spacing: .5px; }
.fv-warn { color: #fca5a5; font-size: 12px; padding: 10px; }
.fv-main { flex: 1; min-width: 0; overflow-y: auto; padding: 4px 24px 30px; }
.fv-chips { display: flex; gap: 10px; padding: 10px 0 14px; overflow-x: auto; position: sticky; top: 0; z-index: 3; background: linear-gradient(var(--win-bg) 75%, transparent); }
.fv-chip { height: 32px; padding: 0 14px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-size: 13.5px; white-space: nowrap; flex: none; }
.fv-chip:hover { background: rgba(255, 255, 255, .14); }
.fv-chip.on { background: linear-gradient(135deg, var(--fv2), var(--fv)); color: #fff; font-weight: 600; }
.fv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 18px; }
.fv-card { cursor: pointer; min-width: 0; }
.fv-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.fv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fv-dur { position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 6px; background: rgba(0, 0, 0, .8); font-size: 12px; font-weight: 600; }
.fv-dur.live { background: #e11d48; }
.fv-meta { display: flex; gap: 12px; margin-top: 12px; }
.fv-meta > div { min-width: 0; flex: 1; }
.fv-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.35; margin-bottom: 4px; }
.fv-meta small { display: block; color: var(--text-2); font-size: 12.5px; line-height: 1.5; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fv-chn:hover { color: var(--text); }
.fv-av { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; overflow: hidden; }
.fv-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fv-av.sm { width: 24px; height: 24px; font-size: 11px; }
.fv-av.lg { width: 44px; height: 44px; }
.fv-av.xl { width: 96px; height: 96px; font-size: 38px; }
.fv-list { display: flex; flex-direction: column; gap: 16px; max-width: 1100px; }
.fv-card.row { display: flex; gap: 16px; }
.fv-card.row .fv-thumb { width: min(360px, 42%); flex: none; }
.fv-card.row .fv-meta { margin-top: 0; }
.fv-card.row .fv-title { font-size: 16px; }
.fv-card.row p { color: var(--text-3); font-size: 12.5px; margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fv-upnext .fv-card.row .fv-thumb { width: 168px; border-radius: 10px; }
.fv-upnext .fv-card.row .fv-title { font-size: 13.5px; }
.fv-upnext .fv-card.row { margin-bottom: 10px; }
.fv-loading, .fv-empty { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 60px 0; color: var(--text-3); }
.fv-chhead { display: flex; align-items: center; gap: 22px; padding: 24px 0 26px; }
.fv-chhead h1 { margin: 0 0 4px; font-size: 30px; }
.fv-chhead small { color: var(--text-3); }
.fv-chhead .fv-follow { margin-left: 20px; }
.fv-follow { height: 36px; padding: 0 18px; border-radius: 18px; background: #fff; color: #111; font-weight: 600; font-size: 13.5px; flex: none; }
.fv-follow.on { background: rgba(255, 255, 255, .12); color: var(--text); }
.fv-libhead { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 18px; }
.fv-libhead h1 { margin: 0; font-size: 24px; }
.fv-watch { display: flex; gap: 24px; padding-top: 16px; }
.fv-wleft { flex: 1; min-width: 0; }
.fv-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.fv-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fv-noembed, .fv-poppedout { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.fv-noembed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.4); transform: scale(1.1); }
.fv-noembed > div { position: relative; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.fv-noembed b { font-size: 18px; }
.fv-noembed small { color: var(--text-2); margin-bottom: 8px; }
.fv-poppedout { background: radial-gradient(circle, rgba(255, 106, 61, .25), #000 70%); gap: 12px; align-content: center; }
.fv-poppedout b { display: block; margin-bottom: 10px; }
.fv-wtitle { font-size: 20px; margin: 14px 0 10px; line-height: 1.35; }
.fv-chrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fv-chinfo { display: flex; align-items: center; gap: 12px; cursor: pointer; min-width: 0; }
.fv-chinfo b { display: block; font-size: 15px; }
.fv-chinfo small { color: var(--text-3); font-size: 12px; }
.fv-acts { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.fv-act { height: 36px; padding: 0 14px; border-radius: 18px; background: rgba(255, 255, 255, .09); display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; }
.fv-act:hover { background: rgba(255, 255, 255, .16); }
.fv-act .li, .fv-act svg { width: 17px; height: 17px; }
.fv-act.on { color: #fbbf24; }
.fv-desc { position: relative; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: 13.5px; line-height: 1.55; max-height: 150px; overflow: hidden; }
.fv-desc.open { max-height: none; }
.fv-desc > b { display: block; margin-bottom: 6px; }
.fv-desctxt { color: var(--text-2); white-space: normal; user-select: text; }
.fv-desctxt a { color: #fdba74; cursor: pointer; }
.fv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 8px; }
.fv-tags button { color: #93c5fd; font-size: 12.5px; }
.fv-more { position: absolute; right: 14px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(30, 28, 36, .95); font-weight: 600; font-size: 12.5px; }
.fv-desc.open .fv-more { position: static; margin-top: 8px; }
.fv-upnext { width: 400px; flex: none; }
.fv-unhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.fv-auto { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.fv-auto i { width: 30px; height: 16px; border-radius: 8px; background: rgba(255, 255, 255, .2); position: relative; transition: background .2s; }
.fv-auto i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: left .2s; }
.fv-auto.on i { background: var(--fv); }
.fv-auto.on i::after { left: 16px; }
@media (max-width: 1100px) { .fv-watch { flex-direction: column; } .fv-upnext { width: auto; } }

/* pop-out mini player */
.fv-mini { position: fixed; z-index: 6500; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .2s, transform .3s var(--spring); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); --glass: var(--glass-strong); }
.fv-mini.in { opacity: 1; transform: none; }
.fv-mini-bar { height: 34px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 10px; cursor: grab; }
.fv-mini-logo svg { width: 20px; height: 20px; display: block; }
.fv-mini-bar b { flex: 1; font-size: 12.5px; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fv-mini-bar button { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; }
.fv-mini-bar button:hover { background: rgba(255, 255, 255, .12); }
.fv-mini-bar .li { width: 14px; height: 14px; }
.fv-mini-stage { position: relative; aspect-ratio: 16 / 9; background: #000; }
.fv-mini-rz { position: absolute; right: 0; bottom: 0; width: 18px; height: 18px; z-index: 2; cursor: nwse-resize; background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, .5) 50%); border-radius: 0 0 14px 0; }

body.light .fv-search, body.light .fv-sbtn { background: rgba(0, 0, 0, .04); border-color: rgba(0, 0, 0, .12); }
body.light .fv-sugg { background: #fff; border-color: rgba(0, 0, 0, .1); }
body.light .fv-chip, body.light .fv-act, body.light .fv-desc { background: rgba(0, 0, 0, .05); }
body.light .fv-follow { background: #111; color: #fff; }
body.light .fv-follow.on { background: rgba(0, 0, 0, .08); color: var(--text); }

/* ======================= Flame search: top bar, tabs, images, videos ======================= */
.fl-rhead { flex-wrap: wrap; row-gap: 0; padding-bottom: 0; }
.fl-rhead .fl-box { max-width: 760px; }
.fl-tabs { flex-basis: 100%; display: flex; gap: 4px; padding-left: 102px; margin-top: 6px; }
.fl-tab { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; font-size: 13.5px; color: #6b6170; border-bottom: 3px solid transparent; }
.fl-tab:hover { color: #1f1d24; }
.fl-tab.on { color: #c2410c; border-bottom-color: #ff6a3d; font-weight: 600; }
.fl-tab svg { width: 16px; height: 16px; }
.fl-imgs { columns: 5 220px; column-gap: 12px; padding: 20px 28px 40px; }
.fl-img { break-inside: avoid; margin-bottom: 12px; border-radius: 12px; overflow: hidden; background: #efe6e0; cursor: pointer; position: relative; display: block; width: 100%; text-align: left; }
.fl-img img { width: 100%; display: block; min-height: 80px; transition: transform .3s var(--ease); }
.fl-img:hover img { transform: scale(1.03); }
.fl-img span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: 11.5px; opacity: 0; transition: opacity .2s; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fl-img:hover span { opacity: 1; }
.fl-lightbox { position: absolute; inset: 0; z-index: 10; background: rgba(12, 10, 16, .92); display: flex; align-items: center; justify-content: center; gap: 24px; padding: 30px; }
.fl-lightbox > img { max-width: calc(100% - 380px); max-height: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.fl-lbinfo { width: 320px; color: #fff; display: flex; flex-direction: column; gap: 10px; }
.fl-lbinfo b { font-size: 16px; line-height: 1.4; }
.fl-lbinfo small { color: rgba(255, 255, 255, .6); }
.fl-lbinfo .f-btn { width: 100%; }
.fl-lbx { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.fl-lbx .li { width: 18px; height: 18px; }
.fl-vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px 16px; padding: 20px 28px 40px; max-width: 1400px; }
.fl-vid { cursor: pointer; text-align: left; color: #1f1d24; }
.fl-vid .fv-thumb { border-radius: 12px; }
.fl-vid b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; font-size: 14px; line-height: 1.35; }
.fl-vid small { display: block; color: #8b7f88; font-size: 12px; margin-top: 3px; }
.fl-vidstrip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px; }
.fl-vidstrip .fl-vid { width: 230px; flex: none; }
.fl-sechead { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; margin: 4px 0 10px; color: #1f1d24; }
.fl-sechead svg { width: 22px; height: 22px; }
.fl-imgstrip { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 26px; }
.fl-imgstrip button { flex: none; height: 120px; border-radius: 10px; overflow: hidden; background: #efe6e0; }
.fl-imgstrip img { height: 100%; display: block; }
.fl-home .fl-topbar { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: min(720px, 86%); z-index: 2; }

/* Flame home: search sits near the top */
.fl-home { place-items: start center; overflow-y: auto; }
.fl-home .fl-inner { margin-top: 7vh; padding-bottom: 40px; }
.fl-vidopen { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; height: 100%; }
.fl-vidlogo svg { width: 84px; height: 84px; }

/* results pages are block layout (the tab view class is flex) so the search bar sits across the top */
.fl-rpage.bw-view { display: block; overflow-y: auto; }
.fl-rhead { justify-content: flex-start; }
.fl-rhead .fl-logo { flex: none; }
.fl-vid .fv-dur { color: #fff; }

/* ======================= Flame Video v2: grid blocks, Flame Vids, menus, likes, comments ======================= */
.flamevideo.fv-watching .fv-main { padding-left: 16px; }
.fv-feed { display: flex; flex-direction: column; gap: 34px; }
@media (max-width: 1150px) { .fv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .fv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fv-grid { grid-template-columns: minmax(0, 1fr); } }
.fv-meta { position: relative; }
.fv-dots { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); opacity: 0; margin: -4px -6px 0 0; transition: opacity .15s; }
.fv-dots svg { width: 18px; height: 18px; }
.fv-card:hover .fv-dots, .fv-dots:focus { opacity: 1; }
.fv-dots:hover { background: rgba(255, 255, 255, .1); color: var(--text); }
.fv-prog { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--fv); border-radius: 0 2px 2px 0; }
.fv-thumb:has(.fv-prog)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .25); z-index: -0; }
.fv-prog { z-index: 1; }
.fv-removed { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; aspect-ratio: 16 / 9; padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px dashed rgba(255, 255, 255, .14); }
.fv-removed small { color: var(--text-3); font-size: 12.5px; }
.fv-removed .pill { margin-top: 6px; }
.fv-list .fv-removed, .fv-upnext .fv-removed { aspect-ratio: auto; }

/* Flame Vids shelf */
.fv-vids { padding: 4px 0 2px; border-top: 1px solid rgba(255, 255, 255, .07); border-bottom: 1px solid rgba(255, 255, 255, .07); padding: 18px 0 20px; }
.fv-vidshead { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.fv-vidshead svg { width: 24px; height: 24px; color: var(--fv); }
.fv-vidshead b { font-size: 19px; letter-spacing: -.3px; }
.fv-shorts { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; min-height: 120px; }
@media (max-width: 1400px) { .fv-shorts { grid-template-columns: repeat(5, minmax(0, 1fr)); } .fv-shorts .fv-short:nth-child(n+6) { display: none; } }
@media (max-width: 900px) { .fv-shorts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fv-shorts .fv-short:nth-child(n+4) { display: none; } }
.fv-short { cursor: pointer; min-width: 0; }
.fv-sthumb { aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.fv-sthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fv-short b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.35; margin-top: 8px; }
.fv-short small { color: var(--text-3); font-size: 12px; }
.fv-shloading { grid-column: 1 / -1; height: 260px; border-radius: 14px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.08), rgba(255,255,255,.04)); background-size: 200% 100%; animation: fvShimmer 1.4s linear infinite; }
@keyframes fvShimmer { to { background-position: -200% 0; } }

/* Specialized */
.fv-special { display: inline-flex; align-items: center; gap: 6px; }
.fv-special svg { width: 15px; height: 15px; color: #fcd34d; }
.fv-special.on svg { color: #fff; }
.fv-chip.fv-special:not(.on) { background: linear-gradient(135deg, rgba(252, 211, 77, .16), rgba(255, 106, 61, .16)); }
.fv-edit { background: transparent; border: 1px solid rgba(255, 255, 255, .16); }
.fv-picker { width: min(620px, 92vw); }
.fv-picker .dlg-title { display: flex; align-items: center; gap: 8px; }
.fv-sparkic svg { width: 20px; height: 20px; color: #fcd34d; display: block; }
.fv-pickhint { color: var(--text-2); font-size: 13px; margin: 0 0 14px; }
.fv-topics { display: flex; flex-wrap: wrap; gap: 8px; max-height: 300px; overflow-y: auto; margin-bottom: 12px; }
.fv-topic { height: 34px; padding: 0 14px; border-radius: 17px; background: rgba(255, 255, 255, .08); font-size: 13px; }
.fv-topic:hover { background: rgba(255, 255, 255, .14); }
.fv-topic.on { background: linear-gradient(135deg, var(--fv2, #ff9a4a), var(--fv, #ff6a3d)); color: #fff; font-weight: 600; }
.fv-picker .f-input { width: 100%; }

/* watch page: like / dislike, resume note */
.fv-ld { display: inline-flex; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .09); }
.fv-ld .fv-act { background: transparent; border-radius: 0; }
.fv-ld .fv-act:hover { background: rgba(255, 255, 255, .1); }
.fv-ld .fv-like { border-right: 1px solid rgba(255, 255, 255, .14); }
.fv-act.fv-like.on, .fv-act.fv-dislike.on { color: var(--fv2); }
.fv-act.fv-like.on svg, .fv-act.fv-dislike.on svg { fill: currentColor; fill-opacity: .25; }
.fv-actdots { width: 36px; padding: 0; justify-content: center; }
.fv-resumed { position: absolute; left: 14px; bottom: 58px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px; border-radius: 12px; background: rgba(0, 0, 0, .75); font-size: 12.5px; animation: fvFade 6s forwards; pointer-events: auto; }
.fv-resumed button { padding: 3px 10px; border-radius: 8px; background: rgba(255, 255, 255, .15); font-weight: 600; }
@keyframes fvFade { 0%, 85% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

/* comments */
.fv-comments { margin-top: 22px; }
.fv-chead { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.fv-chead b { font-size: 17px; }
.fv-chead small { color: var(--text-3); font-size: 12px; }
.fv-cnew, .fv-comment { display: flex; gap: 14px; margin-bottom: 20px; }
.fv-cav { width: 38px; height: 38px; flex: none; font-size: 15px; }
.fv-cin { width: 100%; resize: none; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); padding: 6px 0; font: inherit; font-size: 14px; color: inherit; outline: none; user-select: text; }
.fv-cin:focus { border-bottom-color: var(--fv); }
.fv-cacts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.fv-cmeta { display: flex; gap: 8px; align-items: baseline; }
.fv-cmeta b { font-size: 13px; }
.fv-cmeta small { color: var(--text-3); font-size: 12px; }
.fv-comment p { margin: 4px 0 6px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; user-select: text; word-break: break-word; }
.fv-cbar { display: flex; gap: 6px; }
.fv-clike, .fv-cdel { height: 28px; min-width: 28px; padding: 0 6px; border-radius: 14px; display: inline-flex; align-items: center; gap: 5px; color: var(--text-2); font-size: 12px; }
.fv-clike svg, .fv-cdel svg, .fv-cdel .li { width: 15px; height: 15px; }
.fv-clike:hover, .fv-cdel:hover { background: rgba(255, 255, 255, .09); }
.fv-clike.on { color: var(--fv2); }

/* Flame Vids player: vertical, one clip at a time */
.flamevideo.fv-vidsmode .fv-main { padding: 0; overflow: hidden; }
.fv-vfeed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; }
.fv-vfeed::-webkit-scrollbar { display: none; }
.fv-vslide { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 16px 0; }
.fv-vwrap { height: 100%; display: flex; align-items: flex-end; gap: 14px; }
.fv-vstage { position: relative; height: 100%; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.fv-vstage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.fv-vstage .fv-iframe { z-index: 1; }
.fv-vinfo { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 40px 16px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); pointer-events: none; transition: opacity .3s; }
.fv-vslide.on .fv-vinfo { opacity: 0; }
.fv-vinfo b { display: block; font-size: 15px; line-height: 1.35; }
.fv-vinfo small { color: rgba(255, 255, 255, .7); }
.fv-vside { display: flex; flex-direction: column; gap: 12px; padding-bottom: 10px; }
.fv-vbtn { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fv-vbtn svg, .fv-vbtn .li { width: 48px; height: 48px; padding: 13px; border-radius: 50%; background: rgba(255, 255, 255, .1); box-sizing: border-box; transition: background .15s; }
.fv-vbtn:hover svg, .fv-vbtn:hover .li { background: rgba(255, 255, 255, .18); }
.fv-vbtn small { font-size: 11.5px; color: var(--text-2); }
.fv-vbtn.on svg, .fv-vbtn.on .li { background: linear-gradient(135deg, var(--fv2), var(--fv)); color: #fff; }
.fv-vcomments { width: 360px; height: 100%; overflow-y: auto; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .05); }
.fv-vcomments.hidden { display: none; }

body.light .fv-ld, body.light .fv-topic, body.light .fv-vbtn svg { background: rgba(0, 0, 0, .06); }
body.light .fv-cin { border-bottom-color: rgba(0, 0, 0, .2); }
body.light .fv-vids { border-color: rgba(0, 0, 0, .08); }
