/* 黑料吃瓜网 · 文件20（重做版）· 客户站单页：暗色情报中枢 / 研判台（全新骨架） */
:root{
  color-scheme: dark;
  --bg:#070a12;
  --panel:#0c1020;
  --panel2:#0a0e1b;
  --ink:#eef1ff;
  --muted:#aab3d6;
  --muted2:#7f88ad;
  --line: rgba(255,255,255,.14);
  --line2: rgba(255,255,255,.09);
  --shadow: 0 24px 80px rgba(0,0,0,.55);
  --r1: 22px;
  --r2: 16px;
  --wrap: 1180px;

  --amber:#f1b447;
  --mint:#26e2b4;
  --violet:#a78bfa;
  --red:#ff4d5e;
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC","Noto Sans SC",sans-serif;
  color: var(--ink);
  line-height: 1.85;
  background: var(--bg);
}
body:before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  opacity: .30;
  background-image:
    radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    radial-gradient(900px 600px at 16% -8%, rgba(38,226,180,.14), transparent 60%),
    radial-gradient(1000px 700px at 88% 18%, rgba(167,139,250,.16), transparent 62%),
    radial-gradient(900px 700px at 50% 120%, rgba(241,180,71,.12), transparent 58%);
  background-size: 10px 10px, auto, auto, auto;
}
a{ color: inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.wrap{ width:min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.skip{
  position:absolute;
  left:-999px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: var(--ink);
  z-index: 80;
  border: 1px solid var(--line2);
}
.skip:focus{ left: 12px; }

/* 顶部：极简指挥台 */
.mast{
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line2);
  background: rgba(7,10,18,.78);
  backdrop-filter: blur(12px);
}
.topbar{
  display:grid;
  grid-template-columns: 1.1fr 1.2fr 1fr;
  gap: 14px;
  align-items:center;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}
.sig{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-weight: 1200;
  letter-spacing:.6px;
  color: rgba(10,12,18,.92);
  background: linear-gradient(135deg, rgba(38,226,180,.95), rgba(241,180,71,.92));
  box-shadow: 0 16px 60px rgba(38,226,180,.18);
}
.w{ display:flex; flex-direction:column; min-width:0; }
.w strong{ font-size: 15px; letter-spacing:.2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.w small{ font-size: 12px; color: rgba(170,179,214,.80); margin-top: 2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.nav{
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap: wrap;
}
.nav a{
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: rgba(238,241,255,.82);
}
.nav a:hover{ border-color: rgba(255,255,255,.10); background: rgba(255,255,255,.06); }
.nav a.on{
  border-color: rgba(38,226,180,.22);
  background: rgba(38,226,180,.08);
  color: rgba(38,226,180,.92);
}
.search{
  display:flex;
  justify-content:flex-end;
  gap: 10px;
  align-items:center;
}
.search input{
  width: min(380px, 100%);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  outline: none;
  font-size: 13px;
  color: rgba(238,241,255,.88);
}
.search input::placeholder{ color: rgba(170,179,214,.70); }
.search input:focus{
  border-color: rgba(38,226,180,.28);
  box-shadow: 0 0 0 4px rgba(38,226,180,.10);
}
.search button{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  font-weight: 1100;
  color: rgba(238,241,255,.90);
  cursor:pointer;
}
.search button:hover{ border-color: rgba(255,255,255,.20); }

main{ padding: 18px 0 28px; }
.panel{
  border-radius: var(--r1);
  border: 1px solid var(--line2);
  background: linear-gradient(180deg, rgba(12,16,32,.86), rgba(10,14,27,.78));
  box-shadow: var(--shadow);
  overflow:hidden;
  position: relative;
}
.panel:before{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  opacity: .35;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px, transparent 1px, transparent 14px);
}
.panel > *{ position: relative; }

/* 研判台骨架：左“总览”，右“赛程+告警”，下方“轨迹+证据栏” */
.hub{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 12px;
  align-items:start;
}
.overview{ padding: 16px; }
.kicker{
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 12px;
  color: rgba(170,179,214,.86);
}
.dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(38,226,180,.95), rgba(241,180,71,.90));
}
h1{
  margin: 10px 0 8px;
  font-size: clamp(20px, 2.7vw, 34px);
  letter-spacing:.2px;
  line-height: 1.25;
}
.lede{
  margin: 0;
  color: rgba(238,241,255,.78);
  font-size: 14px;
}
.cta{
  margin-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-weight: 1100;
  font-size: 13px;
  color: rgba(238,241,255,.90);
}
.btn:hover{ border-color: rgba(255,255,255,.22); }
.btn.primary{
  border-color: rgba(38,226,180,.26);
  background: linear-gradient(180deg, rgba(38,226,180,.14), rgba(38,226,180,.06));
  color: rgba(38,226,180,.92);
}
.btn.ghost{
  background: transparent;
  border-color: rgba(255,255,255,.10);
  color: rgba(238,241,255,.82);
}

.readouts{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.ro{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 10px 10px 9px;
}
.ro b{ display:block; font-size: 14px; letter-spacing:.2px; }
.ro span{ display:block; margin-top: 2px; color: rgba(170,179,214,.76); font-size: 12px; }
.ro i{ display:block; margin-top: 8px; font-style: normal; font-size: 12px; font-weight: 1000; color: rgba(238,241,255,.72); }
.ro.i1 b{ color: rgba(38,226,180,.92); }
.ro.i2 b{ color: rgba(241,180,71,.92); }
.ro.i3 b{ color: rgba(167,139,250,.92); }
.ro.i4 b{ color: rgba(255,77,94,.92); }

.rightcol{
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.head{
  padding: 14px 14px 10px;
  display:flex;
  justify-content:space-between;
  gap: 12px;
  align-items:baseline;
}
.head b{ font-size: 13px; }
.head span{ font-size: 12px; color: rgba(170,179,214,.76); }

.schedule{ padding-bottom: 14px; }
.slot{
  margin: 0 14px 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 10px 10px 9px;
}
.slot .t{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.slot .t b{ font-size: 13px; }
.pill{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(38,226,180,.22);
  background: rgba(38,226,180,.08);
  color: rgba(38,226,180,.92);
  font-size: 12px;
  font-weight: 1100;
}
.slot p{ margin: 6px 0 0; color: rgba(170,179,214,.78); font-size: 12px; }

.alerts{ padding-bottom: 14px; }
.al{
  margin: 0 14px 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 10px 10px 9px;
}
.sev{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.sev b{ font-size: 13px; }
.sev i{
  font-style: normal;
  font-size: 12px;
  font-weight: 1100;
  color: rgba(238,241,255,.70);
}
.bar{
  margin-top: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
}
.bar > span{
  display:block;
  height: 100%;
  width: var(--p, 48%);
  background: linear-gradient(90deg, rgba(38,226,180,.92), rgba(241,180,71,.92));
}
.al p{ margin: 8px 0 0; color: rgba(170,179,214,.78); font-size: 12px; }
.sev.red b{ color: rgba(255,77,94,.92); }
.sev.vio b{ color: rgba(167,139,250,.92); }

.grid2{
  margin-top: 12px;
  display:grid;
  grid-template-columns: 1fr .62fr;
  gap: 12px;
  align-items:start;
}
.trace{ padding: 14px; }
.trace h2{ margin:0; font-size: 16px; letter-spacing:.2px; }
.trace p{ margin:8px 0 0; font-size: 12px; color: rgba(170,179,214,.76); }
.rail{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.node{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 12px 12px 11px;
}
.node b{ display:block; font-size: 13px; }
.node span{ display:block; margin-top: 4px; color: rgba(170,179,214,.78); font-size: 12px; }
.node .k{ margin-top: 8px; display:flex; flex-wrap:wrap; gap: 8px; }
.k .tag{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-weight: 1100;
  font-size: 12px;
  color: rgba(238,241,255,.74);
}
.tag.m{ border-color: rgba(38,226,180,.20); background: rgba(38,226,180,.08); color: rgba(38,226,180,.92); }
.tag.a{ border-color: rgba(241,180,71,.20); background: rgba(241,180,71,.08); color: rgba(241,180,71,.92); }
.tag.v{ border-color: rgba(167,139,250,.20); background: rgba(167,139,250,.08); color: rgba(167,139,250,.92); }

.evidence{ padding: 14px; }
.evidence h2{ margin:0; font-size: 16px; letter-spacing:.2px; }
.stack{ margin-top: 12px; display:flex; flex-direction:column; gap: 10px; }
.ev{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  overflow:hidden;
}
.ev img{ width:100%; height: 140px; object-fit: cover; filter: saturate(1.02) contrast(1.02); }
.ev .m{
  padding: 10px 10px 9px;
  display:flex;
  justify-content:space-between;
  gap: 10px;
  align-items:baseline;
}
.ev .m b{ font-size: 13px; }
.ev .m span{ font-size: 12px; color: rgba(170,179,214,.76); }
.ev .f{
  padding: 0 10px 10px;
  font-size: 12px;
  color: rgba(170,179,214,.78);
}

/* 视频卡片：用于搜索收录缩略图（封面 + 时长角标） */
.vsec{ margin-top: 12px; padding: 14px; }
.vsec h2{ margin:0; font-size: 16px; letter-spacing:.2px; }
.vsec p{ margin:8px 0 0; font-size: 12px; color: rgba(170,179,214,.76); }
.vgrid{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.vcard{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  overflow:hidden;
  box-shadow: 0 22px 70px rgba(0,0,0,.40);
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.vcard:hover{
  transform: translateY(-2px);
  border-color: rgba(38,226,180,.22);
  background: rgba(255,255,255,.06);
}
.vthumb{
  position: relative;
  aspect-ratio: 16/9;
  overflow:hidden;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.vthumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}
.video-duration{
  position:absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(7,10,18,.68);
  color: rgba(238,241,255,.92);
  font-weight: 1100;
  font-size: 12px;
  letter-spacing:.2px;
  backdrop-filter: blur(10px);
}
.vmeta{ padding: 12px; }
.vmeta b{ display:block; font-size: 14px; letter-spacing:.1px; }
.vmeta span{ display:block; margin-top: 6px; font-size: 12px; color: rgba(170,179,214,.78); }
.vmeta .k{ margin-top: 10px; display:flex; flex-wrap:wrap; gap: 8px; }

/* 移动端底部导航 */
.bottom{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display:none;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(7,10,18,.78);
  border-top: 1px solid var(--line2);
  backdrop-filter: blur(12px);
}
.bottom a{
  flex:1;
  text-align:center;
  padding: 10px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  font-weight: 1100;
  font-size: 13px;
  color: rgba(238,241,255,.78);
}
.bottom a.on{
  border-color: rgba(38,226,180,.22);
  background: rgba(38,226,180,.08);
  color: rgba(38,226,180,.92);
}

.foot{
  margin-top: 16px;
  border-top: 1px solid var(--line2);
  background: transparent;
}
.footrow{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 0 18px;
  color: rgba(170,179,214,.76);
  font-size: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1060px){
  .topbar{ grid-template-columns: 1fr; }
  .nav{ justify-content:flex-start; }
  .search{ justify-content:flex-start; }
  .hub{ grid-template-columns: 1fr; }
  .readouts{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid2{ grid-template-columns: 1fr; }
  .rail{ grid-template-columns: 1fr; }
  .vgrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px){
  main{ padding-bottom: 92px; }
  .bottom{ display:flex; }
  .vgrid{ grid-template-columns: 1fr; }
}

