/* LibTV home fidelity (v22.1), compared with verification/pixel-audit-v1/reference-live-libtv-home.png (official). */
/* promo bar: teal gradient with a countdown, centred copy and a white "限时抢购" button */
.home-libtv .lib-promo {
  display: flex !important; height: 60px !important; background: linear-gradient(90deg, #0d3b3f, #157a7a 55%, #1e5f73) !important; color: #fff !important; font-size: 15px !important; gap: 18px !important; position: relative;
}
.home-libtv .lib-promo > strong { display: none !important; }
.home-libtv .lib-promo .lt-clock { display: inline-flex; gap: 4px; align-items: center; font: 700 18px/1 ui-monospace, SFMono-Regular, monospace; color: #111; }
.home-libtv .lib-promo .lt-clock b { background: #fff; border-radius: 4px; width: 20px; height: 28px; display: grid; place-items: center; }
.home-libtv .lib-promo .lt-clock i { color: #fff; font-style: normal; padding: 0 2px; }
.home-libtv .lib-promo > button { background: #fff !important; color: #111 !important; border-radius: 8px !important; padding: 8px 12px !important; font-weight: 600; border: 0 !important; }
.home-libtv .lib-promo .lt-close { position: absolute; right: 22px; background: none !important; color: #fff !important; font-size: 18px; padding: 0 !important; }
/* account area: 积分超市 | 开通会员 + red timer | avatar */
.home-libtv .lib-account { gap: 10px !important; }
.home-libtv .lib-account button, .home-libtv .lib-toolbar button:not(.lib-mobile-menu) {
  height: 32px; padding: 0 12px !important; border-radius: 8px !important; background: #1f1f1f !important; border: 1px solid #333 !important; font-size: 13px !important; color: #eee !important;
}
.home-libtv .lt-member-timer { margin-left: -14px; align-self: center; position: relative; z-index: 1; background: #e5383b; color: #fff; border-radius: 4px; padding: 2px 6px; font-size: 12px; }
.home-libtv .lib-avatar { width: 28px !important; height: 28px !important; line-height: 28px !important; background: linear-gradient(135deg, #3c4cff, #8a95ff) !important; color: #fff; font-size: 12px !important; font-weight: 600; }
.home-libtv details[data-production-workspace-menu][data-fidelity-place] > summary { background: #1f1f1f !important; border-color: #333 !important; height: 32px; border-radius: 8px; }
/* sidebar: 14px items; community tags are blue pills; BETA is grey; no "+" tag */
.home-libtv .lib-nav-item { font-size: 14px !important; height: 34px !important; }
.home-libtv .lib-tag { font-size: 11px; padding: 1px 6px; border-radius: 4px; color: #9a9a9a; background: #262626; }
.home-libtv .lib-nav-item[data-lib-info="学院"] .lib-tag, .home-libtv .lib-nav-item[data-lib-show-scroll] .lib-tag, .home-libtv .lib-nav-item[data-lib-info="创作者挑战赛"] .lib-tag { color: #4ea3ff; background: rgba(78, 163, 255, .12); }
.home-libtv .lib-nav-item[data-home-open="canvas"] .lib-tag { display: none; }
/* create card: wide pill "+" button */
.home-libtv .lib-create-icon { width: 86px !important; height: 50px !important; border-radius: 12px !important; font-size: 28px !important; background: linear-gradient(180deg, #fff, #e6e6e6) !important; color: #111 !important; display: grid !important; place-items: center; }
/* floating "全网百万赞作品｜去 TV Show 看看" pill and help button */
.lt-float { position: fixed; left: 50%; transform: translateX(-50%); bottom: 22px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 18px;
  border-radius: 999px; background: rgba(40, 40, 40, .92); border: 1px solid #3a3a3a; color: #ddd; font-size: 14px; cursor: pointer; backdrop-filter: blur(8px); }
.lt-float i { width: 22px; height: 22px; border-radius: 50%; background: #444; display: grid; place-items: center; font-style: normal; font-size: 12px; }
.lt-help { position: fixed; right: 18px; bottom: 54px; z-index: 40; width: 34px; height: 34px; border-radius: 50%; background: #2b2b2b; border: 1px solid #3a3a3a; color: #eee; font-size: 16px; cursor: pointer; }
[data-lt-hidden] { display: none !important; }
.home-libtv .lt-mall { color: #e6e6e6 !important; }
.home-libtv .lib-account > details { order: -2; } .home-libtv .lib-account > .lt-mall { order: -1; }
.home-libtv .lib-avatar[data-lt-initial] { font-size: 0 !important; display: grid !important; place-items: center; }
.home-libtv .lib-avatar[data-lt-initial]::after { content: attr(data-lt-initial); font-size: 12px; }
.home-libtv .lib-avatar[data-lt-initial] { position: relative; }
.home-libtv .lib-avatar[data-lt-initial]::after { position: absolute; inset: 0; display: grid; place-items: center; line-height: 1; }
/* timer drawn inside the "开通会员" pill (it is a sibling, so the pill leaves room for it) */
.home-libtv .lib-account button:has(+ .lt-member-timer) { padding-right: 118px !important; }
.home-libtv .lt-member-timer { margin-left: -114px !important; pointer-events: none; }

/* ---- canvas editor (source-canvas-director-safe.png) ---- */
header.l-canvas-header .l-demo, .l-node-title small { display: none !important; }
header.l-canvas-header .lt-fid-host { display: inline-flex; align-items: center; min-width: 1px; min-height: 1px; margin-left: 8px; font-size: 12px; }
header.l-canvas-header .lt-fid-host details[data-fidelity-place="host"] > :not(summary) { left: 0; right: auto; }
header.l-canvas-header .l-credit[data-fid-credits] { font-size: 0 !important; }
header.l-canvas-header .l-credit[data-fid-credits]::after { content: "✦ " attr(data-fid-credits); font-size: 12px; }
header.l-canvas-header [data-l-info="发布与分享"] { margin-left: auto !important; }
header.l-canvas-header .l-credit[data-fid-credits] { width: auto !important; min-width: 32px; padding: 0 10px !important; border-radius: 16px !important; white-space: nowrap; }
