/* mother-diversity · lime-pop · 青柠热播 */
:root{
  --div-accent:var(--lp-primary,#22c55e);
  --div-secondary:var(--lp-secondary,#eab308);
  --div-highlight:var(--lp-hot,#eab308);
  --div-bg:var(--lp-bg,#0a0f0c);
  --div-surface:var(--lp-surface,#111916);
  --div-text:var(--lp-text,#f0fdf4);
  --div-muted:var(--lp-muted,#94a3b8);
  color-scheme:dark;
}

/* ── 全局 ── */
body.body-lp{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(800px 360px at 100% -5%, rgba(34,197,94,.14), transparent 55%),
    radial-gradient(600px 280px at 0% 100%, rgba(234,179,8,.08), transparent 50%),
    var(--lp-bg)!important;
  color:var(--lp-text)!important;
  font-family:"Segoe UI","PingFang SC","Noto Sans SC",sans-serif;
}
body.body-lp a{color:var(--lp-primary)}
body.body-lp a:hover{color:var(--lp-accent)}

/* ── 头部：彩色绿顶栏 + 深色导航条 ── */
.lp-header{
  position:sticky;top:0;z-index:90;
  box-shadow:0 4px 24px rgba(0,0,0,.35);
}
.lp-header__strip{
  display:grid;
  grid-template-columns:auto 1fr auto auto;
  align-items:center;
  gap:14px 18px;
  min-height:58px;
  padding:8px 20px;
  background:linear-gradient(90deg,#16a34a 0%,#22c55e 50%,#16a34a 100%);
}
.lp-brand{
  display:flex;align-items:center;gap:10px;
  color:#fff!important;
  font-weight:800;
}
.lp-brand__mark{
  display:grid;place-items:center;
  width:38px;height:38px;
  border-radius:10px;
  background:rgba(0,0,0,.22);
  color:#fff;font-size:1rem;
}
.lp-brand__text{display:flex;flex-direction:column;gap:1px}
.lp-brand__text strong{font-size:1.15rem;letter-spacing:-.02em;color:#fff!important}
.lp-brand__text em{font-style:normal;font-size:.68rem;font-weight:600;opacity:.88;color:rgba(255,255,255,.9)}
.lp-search{
  display:flex;align-items:stretch;
  max-width:420px;width:100%;margin:0 auto;
  border-radius:999px;overflow:hidden;
  background:#fff;
  box-shadow:0 4px 16px rgba(0,0,0,.15);
}
.lp-search input{
  flex:1;border:0;outline:0;
  padding:9px 16px;
  background:transparent;
  color:#0a0f0c;
  font-size:.88rem;font-weight:600;
}
.lp-search button{
  border:0;cursor:pointer;
  padding:0 18px;
  background:var(--lp-secondary);
  color:#1c1917;font-weight:900;font-size:.85rem;
}
.lp-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:9px 18px;border-radius:8px;
  font-weight:800;font-size:.88rem;
  white-space:nowrap;
  transition:transform .2s,box-shadow .2s,background .2s;
}
.lp-btn--cta{
  background:var(--lp-secondary);
  color:#1c1917!important;
  box-shadow:0 4px 14px rgba(234,179,8,.4);
}
.lp-btn--cta:hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(234,179,8,.5)}
.lp-btn--outline{
  border:2px solid rgba(34,197,94,.5);
  color:var(--lp-primary)!important;
  background:rgba(34,197,94,.08);
}
.lp-btn--outline:hover{border-color:var(--lp-primary);background:rgba(34,197,94,.15)}
.lp-toggle{
  display:none;flex-direction:column;justify-content:center;gap:5px;
  width:38px;height:38px;
  border:2px solid rgba(255,255,255,.35);
  border-radius:8px;
  background:rgba(0,0,0,.15);
  cursor:pointer;
}
.lp-toggle span{display:block;height:2px;width:18px;margin:0 auto;background:#fff;border-radius:2px}
.lp-nav{
  display:flex;flex-wrap:wrap;gap:4px;
  padding:0 20px;
  min-height:44px;
  align-items:center;
  background:var(--lp-surface);
  border-bottom:2px solid var(--lp-line);
}
.lp-nav a{
  padding:10px 16px;
  color:var(--lp-muted)!important;
  font-weight:700;font-size:.88rem;
  border-bottom:3px solid transparent;
  transition:color .2s,border-color .2s,background .2s;
}
.lp-nav a[aria-current="page"],
.lp-nav a:hover{
  color:var(--lp-primary)!important;
  border-bottom-color:var(--lp-secondary);
  background:rgba(34,197,94,.06);
}

/* ── 主内容 ── */
.lp-main{max-width:1280px;margin:0 auto;padding:20px 20px 48px}

/* ── 首页频道快捷 chips ── */
.lp-chips{
  display:flex;flex-wrap:wrap;gap:8px;
  margin-bottom:20px;
}
.lp-chips a{
  padding:6px 14px;
  border-radius:999px;
  background:var(--lp-panel);
  border:1px solid rgba(34,197,94,.25);
  color:var(--lp-primary)!important;
  font-size:.82rem;font-weight:700;
  transition:background .2s,border-color .2s,transform .2s;
}
.lp-chips a:hover{
  background:rgba(34,197,94,.12);
  border-color:var(--lp-primary);
  transform:translateY(-1px);
}

/* ── 首页 hero ── */
.lp-hero{
  margin-bottom:32px;
  padding:36px 32px;
  border-radius:16px;
  background:linear-gradient(135deg,#132018 0%,#0f1812 60%,#0a0f0c 100%);
  border:1px solid var(--lp-line);
  box-shadow:var(--shadow,0 16px 40px rgba(0,0,0,.4));
}
.lp-hero__eyebrow{
  display:inline-block;margin:0 0 12px;
  padding:4px 12px;border-radius:999px;
  background:rgba(234,179,8,.15);
  color:var(--lp-hot);
  font-size:.76rem;font-weight:800;
}
.lp-hero h1{
  margin:0 0 14px;
  font-size:clamp(1.6rem,4vw,2.5rem);
  line-height:1.2;font-weight:900;
  color:var(--lp-text);
}
.lp-hero__lead{
  margin:0 0 22px;
  max-width:620px;
  font-size:1rem;line-height:1.75;
  color:var(--lp-muted);
}
.lp-hero__actions{display:flex;flex-wrap:wrap;gap:10px}

/* ── 区块标题 ── */
.lp-section{margin-bottom:36px}
.lp-section__head{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;margin-bottom:16px;
}
.lp-section__title{display:flex;align-items:center;gap:10px}
.lp-section__icon{
  display:grid;place-items:center;
  width:32px;height:32px;border-radius:8px;
  background:rgba(34,197,94,.2);
  color:var(--lp-primary);
  font-size:.75rem;font-weight:900;
}
.lp-section__icon--new{background:rgba(234,179,8,.2);color:var(--lp-hot)}
.lp-section__head h2{margin:0;font-size:1.25rem;font-weight:900;color:var(--lp-text)}
.lp-section__more{
  color:var(--lp-primary)!important;
  font-weight:700;font-size:.88rem;
}
.lp-section__more:hover{color:var(--lp-accent)!important}

/* ── 热播横滑 ── */
.lp-scroll{
  display:flex;gap:12px;
  overflow-x:auto;
  padding:4px 2px 14px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}
.lp-scroll::-webkit-scrollbar{height:5px}
.lp-scroll::-webkit-scrollbar-thumb{background:var(--lp-primary);border-radius:999px}
.lp-scroll .lp-card{
  flex:0 0 168px;
  scroll-snap-align:start;
}

/* ── 多列片库栅格 ── */
.lp-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(140px,1fr));
  gap:14px;
}
.lp-grid--related{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}

/* ── 卡片：2:3 竖版 + 播放叠层 + 黄徽章 ── */
.lp-card{
  position:relative;
  border-radius:10px;
  overflow:hidden;
  background:var(--lp-panel);
  border:1px solid rgba(34,197,94,.1);
  transition:transform .22s,border-color .22s,box-shadow .22s;
}
.lp-card:hover{
  transform:translateY(-3px);
  border-color:rgba(34,197,94,.45);
  box-shadow:0 10px 28px rgba(34,197,94,.15);
}
.lp-card__link{position:relative;display:block;overflow:hidden}
.lp-card__link img{
  width:100%;aspect-ratio:2/3;object-fit:cover;
  background:#060806;
  transition:transform .35s;
}
.lp-card:hover .lp-card__link img{transform:scale(1.05)}
.lp-card__badge{
  position:absolute;right:6px;top:6px;z-index:2;
  padding:2px 7px;
  border-radius:4px;
  background:linear-gradient(135deg,var(--lp-hot),#ca8a04);
  color:#1c1917;
  font-size:.65rem;font-weight:900;
  letter-spacing:.03em;
}
.lp-card__play{
  position:absolute;inset:0;z-index:1;
  display:grid;place-items:center;
  background:rgba(10,15,12,.45);
  color:#fff;font-size:1.6rem;
  opacity:0;
  transition:opacity .25s;
}
.lp-card:hover .lp-card__play{opacity:1}
.lp-card--compact .lp-card__play{display:none}
.lp-card__body{padding:10px 10px 12px}
.lp-card__body h3{
  margin:0 0 4px;
  font-size:.84rem;line-height:1.35;font-weight:800;
}
.lp-card__body h3 a{color:var(--lp-text)!important}
.lp-card__body h3 a:hover{color:var(--lp-primary)!important}
.lp-card__body p{
  margin:0;display:flex;flex-wrap:wrap;gap:5px;
  font-size:.7rem;color:var(--lp-muted);
}
.lp-card__body p span:first-child{color:var(--lp-accent)}

/* ── 分类页 ── */
.lp-cathead{margin-bottom:24px}
.lp-crumb{
  display:flex;flex-wrap:wrap;gap:8px;
  margin-bottom:12px;
  font-size:.84rem;color:var(--lp-muted);font-weight:600;
}
.lp-crumb a{color:var(--lp-primary)!important}
.lp-cathead__body h1{
  margin:0 0 8px;
  font-size:clamp(1.4rem,3vw,1.85rem);
  font-weight:900;color:var(--lp-text);
}
.lp-cathead__body p{margin:0;color:var(--lp-muted);line-height:1.7;max-width:640px}
.lp-catfilter{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px;
  margin-bottom:20px;padding:12px 14px;
  border-radius:12px;
  background:var(--lp-panel);
  border:1px solid var(--lp-line);
}
.lp-catfilter__search{flex:1;min-width:160px}
.lp-catfilter__search input,
.lp-catfilter__pills select{
  width:100%;
  padding:9px 12px;
  border:1px solid rgba(34,197,94,.22);
  border-radius:8px;
  background:var(--lp-bg);
  color:var(--lp-text);
  font-weight:600;font-size:.86rem;
  outline:none;
}
.lp-catfilter__search input:focus,
.lp-catfilter__pills select:focus{border-color:var(--lp-primary)}
.lp-catfilter__pills{display:flex;flex-wrap:wrap;gap:8px}
.lp-catfilter__pills select{min-width:110px;width:auto}
.lp-empty{
  padding:28px;text-align:center;
  border-radius:10px;
  background:var(--lp-panel);
  color:var(--lp-muted);font-weight:700;
}
.lp-catgrid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(145px,1fr));
  gap:14px;
}

/* ── 播放页：全宽播放器 + 绿底信息条 ── */
.lp-player{
  margin-bottom:24px;
  border-radius:14px;overflow:hidden;
  border:2px solid rgba(34,197,94,.35);
  background:#000;
  box-shadow:0 16px 44px rgba(0,0,0,.5);
}
.lp-player__screen video,
#movie-player{
  width:100%;aspect-ratio:16/9;
  max-height:70vh;
  background:#000;
}
.lp-player__meta{
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
  padding:16px 20px;
  background:linear-gradient(90deg,#132018,#172019);
  border-top:2px solid var(--lp-line);
}
.lp-player__title h1{
  margin:0 0 10px;
  font-size:clamp(1.05rem,2.4vw,1.45rem);
  font-weight:900;color:var(--lp-text);
}
.lp-player__tags{
  display:flex;flex-wrap:wrap;gap:6px;
  margin:0;padding:0;list-style:none;
}
.lp-player__tags li{
  padding:3px 10px;
  border-radius:999px;
  font-size:.74rem;font-weight:700;
  background:rgba(34,197,94,.15);
  color:var(--lp-primary);
}
.lp-movieinfo{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:24px;
  margin-bottom:32px;
  padding:22px;
  border-radius:14px;
  background:var(--lp-surface);
  border:1px solid rgba(34,197,94,.12);
}
.lp-movieinfo__poster img{
  width:100%;border-radius:10px;
  aspect-ratio:3/4;object-fit:cover;
  box-shadow:0 8px 28px rgba(0,0,0,.35);
}
.lp-movieinfo__brief{
  margin:0 0 18px;
  font-size:.98rem;line-height:1.75;
  color:var(--lp-muted);
}
.lp-movieinfo__full h2{
  margin:0 0 8px;
  font-size:.95rem;font-weight:800;
  color:var(--lp-hot);
}
.lp-movieinfo__full p{margin:0;line-height:1.8;color:var(--lp-text);font-size:.92rem}

/* ── 页脚：绿顶线 + 三列 ── */
.lp-footer{
  margin-top:16px;
  background:var(--lp-surface);
  border-top:3px solid var(--lp-primary);
}
.lp-footer__body{
  max-width:1280px;margin:0 auto;
  display:grid;
  grid-template-columns:1.1fr 2fr;
  gap:28px 36px;
  padding:36px 20px 24px;
}
.lp-footer__brand strong{
  display:block;margin-bottom:8px;
  font-size:1.1rem;color:var(--lp-primary);
}
.lp-footer__brand p{margin:0 0 8px;font-size:.84rem;line-height:1.65;color:var(--lp-muted)}
.lp-footer__kw{font-size:.78rem;color:var(--lp-accent)!important;font-weight:600}
.lp-footer__cols{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.lp-footer__col strong{
  display:block;margin-bottom:10px;
  font-size:.88rem;font-weight:900;
  color:var(--lp-text);
}
.lp-footer__col nav{display:flex;flex-direction:column;gap:6px}
.lp-footer__col nav a{
  font-size:.82rem;font-weight:600;
  color:var(--lp-muted)!important;
}
.lp-footer__col nav a:hover{color:var(--lp-primary)!important}
.lp-footer__col p{margin:0;font-size:.82rem;line-height:1.65;color:var(--lp-muted)}
.lp-footer__bar{
  max-width:1280px;margin:0 auto;
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;
  padding:14px 20px 20px;
  border-top:1px solid rgba(34,197,94,.12);
  font-size:.76rem;color:var(--lp-muted);
}

/* ── 移动端 ── */
@media (max-width:960px){
  .lp-header{position:sticky}
  .lp-header__strip{
    grid-template-columns:auto 1fr auto;
    min-height:52px;padding:8px 14px;
  }
  .lp-search{display:none}
  .lp-nav{
    position:absolute;left:0;right:0;top:100%;
    display:none;flex-direction:column;
    padding:10px 14px;
    border-radius:0;
    border:1px solid var(--lp-line);
    border-top:0;
    box-shadow:0 16px 40px rgba(0,0,0,.45);
    z-index:95;
  }
  .lp-nav.open{display:flex}
  .lp-nav a{width:100%;border-bottom:0;border-left:3px solid transparent}
  .lp-nav a[aria-current="page"],
  .lp-nav a:hover{border-left-color:var(--lp-secondary);border-bottom-color:transparent}
  .lp-toggle{display:flex}
  .lp-movieinfo{grid-template-columns:1fr}
  .lp-movieinfo__poster{max-width:180px}
  .lp-footer__body{grid-template-columns:1fr}
  .lp-footer__cols{grid-template-columns:1fr 1fr}
  .lp-player__meta{flex-direction:column;align-items:flex-start}
}
@media (max-width:560px){
  .lp-hero{padding:26px 18px;border-radius:12px}
  .lp-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .lp-catgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .lp-scroll .lp-card{flex:0 0 140px}
  .lp-footer__cols{grid-template-columns:1fr}
  .lp-chips{gap:6px}
  .lp-chips a{font-size:.76rem;padding:5px 10px}
  .lp-card__body h3{font-size:.78rem}
}

/* 隐藏旧 crimson 结构 */
body.body-lp .cs-mast,
body.body-lp .cs-foot,
body.body-lp .div-header,
body.body-lp .div-footer{display:none!important}
