/* ==========================================================================
   意甲首页正文（yj2-home.css）—— 2026-12 照 设计/意甲/意甲-v2.html 复刻

   只在首页加载（body.yj-home），内页不加载 —— 所以这里的 .card / .sec / .n-grid /
   .tags 这些通用类名不会跟内页 cs06 版式打架。

   颜色全部走 yj2-chrome.css 里那层「设计稿变量 → 主题令牌」的映射：
   --bg / --card / --ink / --line / --g / --gold / --hot / --wN；本文件里
   **一个写死的主题色都没有**，只有盖在照片上的深色蒙版和白色文字是字面值
   （照片本身跟主题无关，换主题不该把蒙版变白）。

   段落顺序和设计稿一致：区块头 → hero → 焦点图 + 榜 → 赛程 → 数据看台 →
   资讯 → 集锦 → 教练席 → 联赛档案 → 热门标签 → 进场动效 → 响应式。
   ========================================================================== */

/* ---------------------------------------------------------------------------
   ① 通用区块头（设计稿 .sec / .sec-head / .sh-k …）
   --------------------------------------------------------------------------- */
body.yj-home .sec { padding-top: 64px; }
body.yj-home .sec-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
body.yj-home .sec-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 92px;
  height: 2px;
  background: linear-gradient(90deg, var(--tri-g), var(--g) 55%, var(--tri-r));
}
body.yj-home .sh-k {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 10px;
  letter-spacing: 2.8px;
  color: var(--mut);
  text-transform: uppercase;
}
body.yj-home .sh-k b { color: var(--g2); font-weight: 700; }
body.yj-home .sh-k u {
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  text-decoration: none;
}
body.yj-home .sec-head h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1; }
body.yj-home .sh-sub { font-size: 12.5px; color: var(--mut); line-height: 1.6; padding-bottom: 3px; }
body.yj-home .sh-more {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line2);
  border-radius: 99px;
  font-size: 12px;
  color: var(--ink2);
  transition: 0.18s;
  white-space: nowrap;
}
body.yj-home .sh-more:hover {
  background: rgb(var(--accent-rgb) / 0.16);
  border-color: rgb(var(--accent-rgb) / 0.55);
  color: var(--ink);
}
body.yj-home .sh-more svg { width: 12px; height: 12px; transform: rotate(-45deg); }

/* ---------------------------------------------------------------------------
   ② hero：焦点战 + 热门赛事
   --------------------------------------------------------------------------- */
body.yj-home .hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  padding: 22px 0 6px;
  background: var(--bg);
  isolation: isolate;
}
/* 后台设了全站背景图时 hero 让位：底色交给 body 那张图，这里只留氛围光 */
html.has-site-bg body.yj-home .hero { background: transparent; }

/* ---------------------------------------------------------------------------
   全站背景图存在时的「托底」：设计稿的卡片是白色 4% 半透明玻璃，
   压在照片上文字会看不清（照片一亮就糊）。所以**只在设了背景图时**
   给内容卡补一层 88% 的卡面底色 —— 图仍然在卡片之间的留白和 hero 里透出来，
   没设背景图的站还是原来那套通透玻璃效果。
   --------------------------------------------------------------------------- */
html.has-site-bg body.yj-home :is(.mc, .rf, .hb-card, .lg-box, .card, .n-link, .vid-card, .coach, .mt, .tags) {
  background-color: color-mix(in srgb, var(--card) 88%, transparent);
}
html.has-site-bg body.yj-home :is(.day-chip, .rf-all, .sh-more, .tag-link, .lg-cell) {
  background-color: color-mix(in srgb, var(--card) 82%, transparent);
}
/* 区块标题直接压在照片上：给字一层投影保证可读（只动文字，不滤镜图片） */
html.has-site-bg body.yj-home :is(.sec-head h2, .sec-head h1, .sh-k, .sh-sub, .rail-tip) {
  text-shadow: 0 2px 14px rgb(0 0 0 / 0.6);
}
body.yj-home .hx-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
body.yj-home .hx-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--bg) 38%, transparent) 0%,
    color-mix(in srgb, var(--bg) 16%, transparent) 40%,
    color-mix(in srgb, var(--bg) 10%, transparent) 70%,
    color-mix(in srgb, var(--bg) 50%, transparent) 100%
  );
}
body.yj-home .hx-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(var(--w6) 1px, transparent 1px),
    linear-gradient(90deg, var(--w6) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(72% 92% at 26% 6%, #000, transparent 74%);
  mask-image: radial-gradient(72% 92% at 26% 6%, #000, transparent 74%);
}
body.yj-home .hx-bars { position: absolute; top: -46px; right: 3%; display: flex; gap: 16px; transform: rotate(17deg); opacity: 0.24; }
body.yj-home .hx-bars i { display: block; width: 7px; height: 340px; border-radius: 8px; }
body.yj-home .hx-bars i:nth-child(1) { background: linear-gradient(180deg, transparent, rgb(var(--v2-tri-g) / 0.55)); }
body.yj-home .hx-bars i:nth-child(2) { background: linear-gradient(180deg, transparent, var(--w50)); }
body.yj-home .hx-bars i:nth-child(3) { background: linear-gradient(180deg, transparent, rgb(var(--v2-tri-r) / 0.55)); }
body.yj-home .hx-inner { position: relative; z-index: 2; width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
body.yj-home .hx-main { display: grid; grid-template-columns: 1.5fr 0.92fr; gap: 14px; align-items: stretch; }

/* 焦点战大卡 */
body.yj-home .mc {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--w10);
  background: linear-gradient(160deg, var(--card2), var(--card) 64%);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
}
body.yj-home .mc-sheen {
  position: absolute;
  top: 0;
  left: -45%;
  width: 42%;
  height: 100%;
  background: linear-gradient(105deg, transparent, var(--w7), transparent);
  transform: skewX(-12deg);
  animation: sheen 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sheen {
  0% { left: -45%; }
  58%, 100% { left: 125%; }
}
body.yj-home .mc-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--mut);
}
body.yj-home .mc-lg { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
body.yj-home .mc-lg i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tri-g);
  box-shadow: 0 0 0 3px rgb(var(--v2-tri-g) / 0.16);
}
body.yj-home .mc-vn { color: var(--faint); }
body.yj-home .mc-clock {
  margin-left: auto;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid rgb(var(--cs06-hot-rgb) / 0.34);
  background: rgb(var(--cs06-hot-rgb) / 0.1);
  color: var(--cs06-hot-text);
  font-size: 10px;
  letter-spacing: 0.08em;
}
body.yj-home .mc-clock b { font-family: var(--disp); font-size: 15px; color: var(--ink); line-height: 1; }
body.yj-home .mc-clock em { margin-left: 6px; }
body.yj-home .mc-clock.is-soon {
  border-color: var(--line2);
  background: var(--w4);
  color: var(--mut);
}
body.yj-home .mc-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
body.yj-home .mc-team { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; min-width: 0; }
body.yj-home .mc-team img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgb(0 0 0 / 0.6));
}
body.yj-home .mc-team.home img {
  filter: drop-shadow(0 0 20px rgb(var(--cs06-hot-rgb) / 0.32)) drop-shadow(0 14px 24px rgb(0 0 0 / 0.6));
}
body.yj-home .mc-team.away img {
  filter: drop-shadow(0 0 20px rgb(var(--accent-rgb) / 0.4)) drop-shadow(0 14px 24px rgb(0 0 0 / 0.6));
}
body.yj-home .mc-team .crest-mark { width: 58px; height: 58px; border-radius: 50%; font-size: 22px; }
body.yj-home .mc-team b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.yj-home .mc-team span { font-size: 9.5px; letter-spacing: 0.06em; color: var(--faint); white-space: nowrap; }
body.yj-home .mc-mid { display: flex; flex-direction: column; align-items: center; gap: 9px; min-width: 160px; }
body.yj-home .mc-score { display: flex; align-items: center; gap: 8px; font-family: var(--disp); line-height: 0.86; }
body.yj-home .mc-score b {
  font-size: clamp(46px, 4.4vw, 66px);
  color: var(--ink);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
body.yj-home .mc-score.is-vs b {
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: 0.06em;
  color: var(--mut);
}
body.yj-home .mc-score i { position: relative; width: 6px; height: 40px; display: block; }
body.yj-home .mc-score i::before,
body.yj-home .mc-score i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--w50);
}
body.yj-home .mc-score i::before { top: 10px; }
body.yj-home .mc-score i::after { bottom: 10px; }
body.yj-home .mc-bar { display: block; width: 100%; height: 3px; border-radius: 99px; background: var(--w10); overflow: hidden; }
body.yj-home .mc-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--tri-g), var(--gold));
}
body.yj-home .mc-lab { font-family: var(--disp); font-size: 9.5px; letter-spacing: 0.16em; color: var(--faint); }
body.yj-home .mc-cta { position: relative; z-index: 1; display: flex; gap: 10px; margin-top: auto; }
body.yj-home .btn-live,
body.yj-home .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 16px;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: 0.18s;
}
body.yj-home .btn-live {
  background: linear-gradient(120deg, var(--hot), color-mix(in srgb, var(--hot) 62%, var(--gold)));
  color: #fff;
  box-shadow: 0 14px 30px -18px rgb(var(--cs06-hot-rgb) / 0.9);
}
body.yj-home .btn-live:hover { transform: translateY(-1px); box-shadow: 0 18px 34px -16px rgb(var(--cs06-hot-rgb) / 0.95); }
body.yj-home .btn-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
body.yj-home .btn-ghost { border: 1px solid var(--w16); color: var(--ink2); }
body.yj-home .btn-ghost:hover { border-color: var(--w40); color: var(--ink); }
body.yj-home .mc.is-empty .mc-empty { flex: 1; display: grid; place-items: center; }

/* 热门赛事卡（原「近期比分」） */
body.yj-home .rf {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid var(--w8);
  background: linear-gradient(160deg, var(--card2), var(--card));
  padding: 14px 16px 12px;
}
body.yj-home .rf-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px 9px;
  border-bottom: 1px solid var(--w8);
}
body.yj-home .rf-head b { font-size: 12px; font-weight: 600; letter-spacing: 2.2px; color: var(--ink); }
body.yj-home .rf-head span { font-size: 9px; letter-spacing: 1.5px; color: var(--faint); margin-left: auto; }
body.yj-home .rf-list { flex: 1; display: grid; gap: 1px; margin: 6px 0 8px; }
/* li 只是列表项；整行（可点的 a.rf-row）才是三列栅格 —— 行内链接别把栅格套在 li 上 */
body.yj-home .rf-list li { display: block; }
body.yj-home .rf-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 6px;
  border-radius: 8px;
  transition: 0.15s;
}
body.yj-home .rf-row:hover { background: var(--w5); }
body.yj-home .rf-row:focus-visible { outline: 2px solid var(--g2); outline-offset: 1px; }
body.yj-home .rf-t { font-family: var(--disp); font-size: 10px; color: var(--faint); font-variant-numeric: tabular-nums; }
body.yj-home .rf-m {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  min-width: 0;
}
/* 一侧 = 队徽 + 队名：主队在左（右对齐），客队在右（左对齐） */
body.yj-home .rf-side {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  justify-content: flex-end;
}
body.yj-home .rf-side.away { justify-content: flex-start; }
body.yj-home .rf-logo { width: 16px; height: 16px; flex: none; object-fit: contain; }
body.yj-home .rf-m b {
  font-weight: 500;
  color: var(--ink2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.yj-home .rf-m em {
  font-family: var(--disp);
  font-size: 12px;
  color: var(--ink);
  padding: 0 2px;
  flex: none;
}
body.yj-home .rf-s { font-size: 9px; color: var(--faint); text-align: right; white-space: nowrap; }
body.yj-home .rf-list li.live .rf-t,
body.yj-home .rf-list li.live .rf-s { color: var(--cs06-hot-text); }
body.yj-home .rf-list li.live .rf-m em { color: var(--gold); }
body.yj-home .rf-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid var(--w10);
  font-size: 11px;
  color: var(--ink2);
  transition: 0.18s;
}
body.yj-home .rf-all:hover {
  background: rgb(var(--accent-rgb) / 0.16);
  border-color: rgb(var(--accent-rgb) / 0.5);
  color: var(--ink);
}

/* ---------------------------------------------------------------------------
   ③ 焦点图轮播 + 右侧（积分榜 / 热门赛事）
   --------------------------------------------------------------------------- */
body.yj-home .spot { margin-bottom: 6px; }
body.yj-home .spot-grid { display: grid; grid-template-columns: 1.5fr 0.92fr; gap: 14px; align-items: stretch; }
body.yj-home .hx-car {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--w10);
  background: var(--card);
  box-shadow: 0 46px 90px -60px rgb(0 0 0 / 0.9);
  min-height: 320px;
}
body.yj-home .hx-car.is-empty { display: grid; place-items: center; }
body.yj-home .hx-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.75s ease; pointer-events: none; }
body.yj-home .hx-slide.on { opacity: 1; pointer-events: auto; z-index: 1; }
body.yj-home .hx-slide a { display: block; position: relative; width: 100%; height: 100%; }
body.yj-home .hx-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
body.yj-home .hx-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 照片上的深色蒙版：和主题无关，浅色主题下也必须是暗的，否则白字看不清 */
  background: linear-gradient(180deg, rgb(4 4 12 / 0.42) 0%, rgb(4 4 12 / 0) 34%, rgb(4 4 12 / 0.62) 82%, rgb(4 4 12 / 0.9) 100%);
  /*
   * 蒙版必须点击穿透（2026-12 用户口径：banner「整个图片和标题」都能点进详情）。
   * ::after 是 .hx-slide 的最后一个子盒，又带 position —— 不给 pointer-events:none
   * 的话它盖在 <a> 上面把点击全吃掉：图点不动，只有标题那一条（.hx-cap 有 z-index:2）
   * 能点。同理左上角「焦点图」小标签也要穿透。
   */
  pointer-events: none;
}
body.yj-home .hx-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 24px 26px;
  font-size: clamp(18px, 1.75vw, 25px);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 12px 32px rgb(0 0 0 / 0.72);
  max-width: 26em;
}
body.yj-home .hx-tag {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 99px;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(8 8 18 / 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 9.5px;
  letter-spacing: 2px;
  color: #fff;
  /* 只是角标，别挡着 banner 的点击（整张图都要能点进详情） */
  pointer-events: none;
}
body.yj-home .hx-tag i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
body.yj-home .hx-nav { position: absolute; right: 14px; top: 14px; z-index: 3; display: flex; align-items: center; gap: 7px; }
body.yj-home .hx-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.28);
  background: rgb(8 8 18 / 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  transition: 0.18s;
}
body.yj-home .hx-btn:hover { background: #fff; border-color: transparent; }
body.yj-home .hx-btn svg { width: 13px; height: 13px; stroke: #fff; fill: none; stroke-width: 2.2; transition: 0.18s; }
body.yj-home .hx-btn:hover svg { stroke: #07070f; }
body.yj-home .hx-count {
  font-family: var(--disp);
  font-size: 11px;
  letter-spacing: 1.2px;
  color: rgb(255 255 255 / 0.78);
  padding: 0 1px;
  font-variant-numeric: tabular-nums;
}
body.yj-home .hx-count b { font-weight: 500; color: inherit; }
body.yj-home .hx-count i { color: rgb(255 255 255 / 0.34); padding: 0 2px; }
body.yj-home .hx-dots { position: absolute; right: 20px; bottom: 16px; z-index: 3; display: flex; align-items: center; gap: 6px; }
body.yj-home .hx-dots button {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgb(255 255 255 / 0.32);
  transition: 0.25s;
  padding: 0;
}
body.yj-home .hx-dots button.on { width: 22px; background: linear-gradient(90deg, var(--tri-g), #fff 52%, var(--tri-r)); }

body.yj-home .hx-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
body.yj-home .hb-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid var(--w8);
  background: linear-gradient(160deg, var(--card2), var(--card));
  padding: 14px 16px 12px;
}
body.yj-home .hb-hd { display: flex; align-items: center; gap: 8px; padding: 0 2px 8px; border-bottom: 1px solid var(--w8); }
body.yj-home .hb-hd b { font-size: 12px; font-weight: 600; letter-spacing: 2.2px; color: var(--ink); }
body.yj-home .hb-all {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--mut);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: 0.16s;
}
body.yj-home .hb-all:hover { color: var(--ink); }
body.yj-home .hb-list { flex: 1; display: grid; grid-auto-rows: minmax(33px, auto); margin: 4px 0 0; }
body.yj-home .hb-list li {
  display: grid;
  grid-template-columns: 18px 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 0 6px;
  border-radius: 8px;
  transition: 0.15s;
}
body.yj-home .hb-list li:hover { background: var(--w5); }
body.yj-home .hb-n { font-family: var(--disp); font-size: 11.5px; color: var(--faint); text-align: center; font-variant-numeric: tabular-nums; }
body.yj-home .hb-list li:nth-child(1) .hb-n { color: var(--gold); }
body.yj-home .hb-l { width: 22px; height: 22px; object-fit: contain; }
body.yj-home .hb-t { font-size: 12px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.yj-home .hb-p { font-family: var(--disp); font-size: 14.5px; color: var(--ink); font-variant-numeric: tabular-nums; }
body.yj-home .hb-p small { font-size: 9px; color: var(--faint); margin-left: 2px; font-family: var(--sans); }

body.yj-home .lg-box {
  border-radius: 20px;
  border: 1px solid var(--w8);
  background: linear-gradient(160deg, var(--card2), var(--card));
  padding: 14px 16px 15px;
}
body.yj-home .lg-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; padding: 0 2px; }
body.yj-home .lg-hd b { font-size: 12px; font-weight: 600; letter-spacing: 2.2px; color: var(--ink); }
body.yj-home .lg-hd span { font-size: 9px; letter-spacing: 1.4px; color: var(--faint); }
body.yj-home .lg-nav { margin-left: auto; display: flex; gap: 5px; }
body.yj-home .lg-mini {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid var(--w14);
  background: var(--w3);
  display: grid;
  place-items: center;
  transition: 0.16s;
}
body.yj-home .lg-mini:hover { background: var(--w12); border-color: var(--w32); }
body.yj-home .lg-mini svg { width: 11px; height: 11px; stroke: var(--ink2); fill: none; stroke-width: 2.2; }
body.yj-home .lg-pages { position: relative; overflow: hidden; padding-top: 3px; }
body.yj-home .lg-page { display: none; grid-template-columns: repeat(3, 1fr); gap: 8px; }
body.yj-home .lg-page.on { display: grid; animation: pageIn 0.32s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateX(12px); } }
body.yj-home .lg-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 11px 4px 9px;
  border-radius: 11px;
  border: 1px solid var(--w7);
  background: linear-gradient(180deg, var(--w5), var(--w2));
  transition: 0.2s;
}
body.yj-home .lg-cell:hover {
  transform: translateY(-2px);
  border-color: rgb(var(--accent-2-rgb) / 0.45);
  background: rgb(var(--accent-rgb) / 0.16);
}
body.yj-home .lg-cell img { width: 26px; height: 26px; object-fit: contain; }
body.yj-home .lg-cell b { font-size: 10.5px; font-weight: 600; color: var(--ink2); white-space: nowrap; }
body.yj-home .lg-cell.on { border-color: rgb(var(--v2-gold) / 0.42); }
body.yj-home .lg-cell.on b { color: var(--gold); }

/* ---------------------------------------------------------------------------
   ④ 赛程中心（日期胶囊 + 赛事列表）
   --------------------------------------------------------------------------- */
body.yj-home .sched { position: relative; }
body.yj-home .sched-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
body.yj-home .day-chips { display: flex; gap: 7px; flex-wrap: wrap; }
body.yj-home .day-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 11px;
  border: 1px solid var(--line2);
  background: var(--w3);
  font-size: 12.5px;
  color: var(--ink2);
  transition: 0.18s;
}
body.yj-home .day-chip b { font-family: var(--disp); font-size: 13px; font-weight: 900; letter-spacing: 0; }
body.yj-home .day-chip i { font-size: 9.5px; letter-spacing: 1px; color: var(--faint); }
body.yj-home .day-chip:hover { border-color: rgb(var(--accent-2-rgb) / 0.5); background: rgb(var(--accent-rgb) / 0.12); }
body.yj-home .day-chip.on {
  border-color: transparent;
  background: linear-gradient(120deg, var(--g), var(--g2));
  color: var(--on-accent);
  box-shadow: 0 10px 24px -14px rgb(var(--accent-rgb) / 0.95);
}
body.yj-home .day-chip.on i { color: color-mix(in srgb, var(--on-accent) 72%, transparent); }
body.yj-home .sel { position: relative; flex: none; }
body.yj-home .sel select {
  appearance: none;
  -webkit-appearance: none;
  height: 38px;
  padding: 0 32px 0 14px;
  border-radius: 11px;
  border: 1px solid var(--line2);
  background: var(--w3);
  color: var(--ink2);
  font-size: 12.5px;
  font-family: inherit;
  outline: none;
}
body.yj-home .sel::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--mut);
  border-bottom: 1px solid var(--mut);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
body.yj-home .sched-sum { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 11px; color: var(--mut); }
body.yj-home .sched-sum span { display: inline-flex; align-items: center; gap: 6px; }
body.yj-home .sched-sum em { width: 5px; height: 5px; border-radius: 50%; background: var(--tri-r); animation: pulse 1.4s infinite; }
body.yj-home .sched-count b { color: var(--ink); font-weight: 700; }
body.yj-home .match-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
body.yj-home .mt {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 84px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid var(--w6);
  background: linear-gradient(100deg, var(--w4), var(--w2));
  overflow: hidden;
  transition: 0.2s;
}
body.yj-home .mt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  transition: 0.2s;
}
body.yj-home .mt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, var(--w7) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: 0.6s;
  pointer-events: none;
}
body.yj-home .mt:hover {
  border-color: rgb(var(--accent-2-rgb) / 0.42);
  background: linear-gradient(100deg, rgb(var(--accent-rgb) / 0.15), var(--w2));
  transform: translateY(-1px);
}
body.yj-home .mt:hover::after { transform: translateX(130%); }
body.yj-home .mt.is-live::before { background: var(--tri-r); box-shadow: 0 0 12px var(--tri-r); }
body.yj-home .mt.is-live { background: linear-gradient(100deg, rgb(var(--cs06-hot-rgb) / 0.12), var(--w2) 62%); }
body.yj-home .mt.is-off { display: none; }
body.yj-home .mt-time b { display: block; font-family: var(--disp); font-size: 14px; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--ink); }
body.yj-home .mt-time i { display: block; margin-top: 3px; font-size: 9.5px; color: var(--faint); letter-spacing: 0.4px; white-space: nowrap; }
body.yj-home .mt-main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; }
body.yj-home .mt-side { display: flex; align-items: center; justify-content: flex-end; gap: 7px; min-width: 0; }
body.yj-home .mt-side.away { justify-content: flex-start; }
body.yj-home .mt-side b { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
/* 赛程卡的队徽：不要底色和圆形底框，直接把图放大（2026-12 用户口径） */
body.yj-home .mt-lg { width: 28px; height: 28px; flex: none; display: grid; place-items: center; background: none; border-radius: 0; }
body.yj-home .mt-lg img { width: 28px; height: 28px; object-fit: contain; }
body.yj-home .mt-mid { min-width: 52px; text-align: center; font-variant-numeric: tabular-nums; }
body.yj-home .mt-mid b { font-family: var(--disp); font-size: 16px; padding: 0 2px; color: var(--ink); }
body.yj-home .mt-mid i { color: var(--faint); padding: 0 1px; }
body.yj-home .mt-mid em { font-size: 10px; letter-spacing: 1.6px; color: var(--faint); }
body.yj-home .mt-state { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px; }
body.yj-home .mt-state .st { font-size: 9.5px; letter-spacing: 0.6px; padding: 3px 7px; border-radius: 5px; white-space: nowrap; }
body.yj-home .st.live {
  color: var(--cs06-hot-text);
  background: rgb(var(--cs06-hot-rgb) / 0.22);
  border: 1px solid rgb(var(--cs06-hot-rgb) / 0.45);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
body.yj-home .st.live em { width: 4px; height: 4px; border-radius: 50%; background: var(--tri-r); animation: pulse 1.2s infinite; }
body.yj-home .st.soon { color: var(--ink2); background: var(--w5); border: 1px solid var(--line); }
body.yj-home .sched-foot { display: flex; align-items: center; gap: 16px; margin-top: 12px; font-size: 10.5px; color: var(--faint); }
body.yj-home .sched-foot span { display: inline-flex; align-items: center; gap: 6px; }
body.yj-home .sched-foot i { width: 6px; height: 6px; border-radius: 2px; }
body.yj-home .sched-foot .lg-live i { background: var(--tri-r); }
body.yj-home .sched-foot .lg-soon i { background: var(--w40); }
body.yj-home .sched-foot p { margin-left: auto; }

/* ---------------------------------------------------------------------------
   ⑤ 数据看台（bento）
   --------------------------------------------------------------------------- */
body.yj-home .bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
body.yj-home .card {
  background: linear-gradient(180deg, var(--w4), var(--w2));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 var(--w5);
}
body.yj-home .card-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
body.yj-home .card-h h3 { font-size: 16px; letter-spacing: -0.02em; color: var(--ink); }
body.yj-home .card-h .u { font-size: 9.5px; color: var(--faint); letter-spacing: 1.2px; }
body.yj-home .card-h .link { margin-left: auto; font-size: 10.5px; color: var(--g2); display: inline-flex; align-items: center; gap: 4px; }
body.yj-home .card-h .link:hover { text-decoration: underline; }
body.yj-home .st-card { grid-column: span 7; }
body.yj-home .rank-card { grid-column: span 5; }
body.yj-home .ring-card,
body.yj-home .shot-card,
body.yj-home .inj-card { grid-column: span 4; display: flex; flex-direction: column; }
body.yj-home .st-row {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 44px 42px;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-bottom: 1px solid var(--w5);
  overflow: hidden;
}
body.yj-home .st-row:last-of-type { border-bottom: 0; }
body.yj-home .st-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--w);
  background: linear-gradient(90deg, rgb(var(--accent-rgb) / 0.14), rgb(var(--accent-rgb) / 0.02) 70%, transparent);
  z-index: 0;
}
body.yj-home .st-row.z-ucl::before { background: linear-gradient(90deg, rgb(var(--accent-rgb) / 0.2), transparent); }
body.yj-home .st-row.z-uel::before { background: linear-gradient(90deg, rgb(var(--v2-tri-g) / 0.17), transparent); }
body.yj-home .st-row > * { position: relative; z-index: 1; }
body.yj-home .st-rk { font-family: var(--disp); font-size: 15px; text-align: center; color: var(--mut); font-variant-numeric: tabular-nums; }
body.yj-home .st-row.z-ucl .st-rk { color: var(--g2); }
body.yj-home .st-row.z-uel .st-rk { color: var(--tri-g); }
body.yj-home .st-tm { display: flex; align-items: center; gap: 8px; min-width: 0; }
body.yj-home .st-tm img { width: 22px; height: 22px; object-fit: contain; flex: none; }
body.yj-home .st-tm b { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
body.yj-home .st-tm i { font-size: 9.5px; color: var(--faint); margin-left: 6px; white-space: nowrap; }
body.yj-home .st-gd { font-size: 10.5px; text-align: right; color: var(--mut); font-variant-numeric: tabular-nums; }
body.yj-home .st-gd.neg { color: var(--cs06-hot-text); }
body.yj-home .st-pt { font-family: var(--disp); font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
body.yj-home .st-legend { display: flex; gap: 14px; margin-top: 12px; font-size: 8.5px; color: var(--faint); letter-spacing: 0.4px; flex-wrap: wrap; }
body.yj-home .st-legend span { display: inline-flex; align-items: center; gap: 5px; }
body.yj-home .st-legend i { width: 8px; height: 3px; border-radius: 1px; }
body.yj-home .st-legend .a { background: var(--g); }
body.yj-home .st-legend .b { background: var(--tri-g); }
body.yj-home .st-legend .c { background: var(--tri-r); }
body.yj-home .rk-tabs { display: flex; gap: 4px; padding: 3px; background: var(--w5); border-radius: 10px; margin-bottom: 10px; }
body.yj-home .rk-tab { flex: 1; height: 30px; border-radius: 8px; font-size: 11.5px; color: var(--mut); transition: 0.18s; }
body.yj-home .rk-tab.on {
  background: linear-gradient(120deg, var(--g), var(--g2));
  color: var(--on-accent);
  font-weight: 700;
  box-shadow: 0 8px 18px -12px rgb(var(--accent-rgb) / 0.9);
}
body.yj-home .rk-panel { display: none; }
body.yj-home .rk-panel.on { display: block; }
body.yj-home .rk-row {
  display: grid;
  grid-template-columns: 22px 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 6px 2px;
  border-bottom: 1px solid var(--w4);
}
body.yj-home .rk-row:last-child { border-bottom: 0; }
body.yj-home .rk-row .n { font-family: var(--disp); font-size: 11px; color: var(--faint); text-align: center; font-variant-numeric: tabular-nums; }
body.yj-home .rk-row img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--w8);
  border: 1px solid var(--w10);
}
body.yj-home .rk-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--w8);
  color: var(--mut);
  font-family: var(--disp);
  font-size: 12px;
}
body.yj-home .rk-nm { min-width: 0; }
body.yj-home .rk-nm b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
body.yj-home .rk-nm i { display: block; font-size: 9.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.yj-home .rk-val { font-family: var(--disp); font-size: 17px; font-variant-numeric: tabular-nums; color: var(--ink); }
body.yj-home .rk-val small { font-family: var(--sans); font-size: 9px; color: var(--faint); font-weight: 400; margin-left: 2px; }
body.yj-home .rings { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 6px; padding-top: 4px; }
body.yj-home .ring-item { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
body.yj-home .ring {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--gold) calc(var(--target, 0) * 1%), var(--w7) 0);
}
body.yj-home .ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--card); }
body.yj-home .ring b { position: relative; font-family: var(--disp); font-size: 16px; font-variant-numeric: tabular-nums; color: var(--ink); }
body.yj-home .ring-nm { font-size: 10px; color: var(--ink2); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
body.yj-home .ring-nm img { width: 14px; height: 14px; object-fit: contain; display: inline-block; vertical-align: -2px; margin-right: 3px; }
body.yj-home .card-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 9.5px;
  color: var(--faint);
  letter-spacing: 0.3px;
  line-height: 1.6;
}
body.yj-home .shot-row { display: grid; grid-template-columns: 12px 16px 78px minmax(30px, 1fr) 30px; align-items: center; gap: 7px; padding: 5px 0; }
body.yj-home .shot-row .n { font-size: 8.5px; color: var(--faint); text-align: center; font-variant-numeric: tabular-nums; }
body.yj-home .shot-row img { width: 16px; height: 16px; object-fit: contain; }
body.yj-home .shot-row .crest-mark { width: 16px; height: 16px; border-radius: 4px; font-size: 9px; }
body.yj-home .shot-row b { font-size: 10.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink2); }
body.yj-home .shot-row .bar { height: 5px; border-radius: 99px; background: var(--w7); overflow: hidden; }
body.yj-home .shot-row .bar i { display: block; height: 100%; width: var(--w, 0); border-radius: 99px; background: linear-gradient(90deg, var(--g), var(--g2)); }
body.yj-home .shot-row .val { font-size: 10px; color: var(--mut); text-align: right; font-variant-numeric: tabular-nums; }
body.yj-home .inj-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 1px;
  padding: 7px 0;
  border-bottom: 1px solid var(--w4);
}
body.yj-home .inj-row:last-of-type { border-bottom: 0; }
body.yj-home .inj-row img {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--w8);
  align-self: center;
}
body.yj-home .inj-row .rk-mark { grid-column: 1; grid-row: 1 / 3; width: 28px; height: 28px; align-self: center; }
body.yj-home .inj-row b { grid-column: 2; grid-row: 1; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
body.yj-home .inj-row i { grid-column: 2; grid-row: 2; font-size: 9px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.yj-home .inj-row em {
  grid-column: 3;
  grid-row: 1 / 3;
  font-size: 8.5px;
  color: var(--cs06-hot-text);
  border: 1px solid rgb(var(--cs06-hot-rgb) / 0.3);
  background: rgb(var(--cs06-hot-rgb) / 0.1);
  padding: 2px 5px;
  border-radius: 4px;
  align-self: center;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   ⑥ 资讯网格（4 列 × 2 行）
   --------------------------------------------------------------------------- */
body.yj-home .n-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
body.yj-home .n-card { min-width: 0; }
body.yj-home .n-link {
  display: block;
  height: 100%;
  background: linear-gradient(180deg, var(--w5), var(--w2));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.22s;
}
body.yj-home .n-link:hover {
  transform: translateY(-3px);
  border-color: rgb(var(--accent-2-rgb) / 0.4);
  box-shadow: 0 22px 40px -26px rgb(0 0 0 / 0.95);
}
body.yj-home .n-cover {
  position: relative;
  display: block;
  aspect-ratio: 352 / 200;
  overflow: hidden;
  background: var(--card2);
}
body.yj-home .n-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
body.yj-home .n-link:hover .n-cover img { transform: scale(1.05); }
body.yj-home .n-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgb(6 6 13 / 0.55));
}
body.yj-home .n-body { display: block; padding: 13px 15px 15px; }
body.yj-home .n-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  height: 42px;
  overflow: hidden;
  color: var(--ink);
}
body.yj-home .n-sum { display: block; margin-top: 7px; font-size: 11px; line-height: 1.7; color: var(--mut); height: 37px; overflow: hidden; }
body.yj-home .n-date {
  display: block;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: 9.5px;
  letter-spacing: 0.6px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------------
   ⑦ 集锦九宫格
   --------------------------------------------------------------------------- */
body.yj-home .vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
body.yj-home .vid-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--w4), var(--w2));
  transition: 0.22s;
  min-height: 0;
}
body.yj-home .vid-card:hover {
  transform: translateY(-3px);
  border-color: rgb(var(--accent-2-rgb) / 0.45);
  box-shadow: 0 24px 44px -28px rgb(0 0 0 / 0.9);
}
body.yj-home .vid-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--card2); }
body.yj-home .vid-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
body.yj-home .vid-card:hover .vid-cover img { transform: scale(1.05); }
body.yj-home .vid-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(4 4 10 / 0.05) 30%, rgb(4 4 10 / 0.7)); }
body.yj-home .vid-shade.is-empty { background: linear-gradient(140deg, var(--card2), var(--card)); }
body.yj-home .vid-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgb(6 6 14 / 0.45);
  border: 1px solid rgb(255 255 255 / 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: 0.22s;
  z-index: 2;
}
body.yj-home .vid-card:hover .vid-play { background: var(--g); border-color: transparent; transform: scale(1.08); }
body.yj-home .vid-play svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
body.yj-home .vid-info { display: block; padding: 11px 12px 13px; }
body.yj-home .vid-info b { display: block; font-size: 12px; font-weight: 600; line-height: 1.5; height: 36px; overflow: hidden; color: var(--ink); }
body.yj-home .vid-info i { display: block; margin-top: 6px; font-size: 9.5px; color: var(--faint); letter-spacing: 0.4px; }

/* ---------------------------------------------------------------------------
   ⑧ 教练席
   --------------------------------------------------------------------------- */
body.yj-home .coach-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
body.yj-home .coach {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--w4), var(--w2));
  transition: 0.2s;
}
body.yj-home .coach:hover {
  transform: translateY(-2px);
  border-color: rgb(var(--accent-2-rgb) / 0.42);
  background: linear-gradient(160deg, rgb(var(--accent-rgb) / 0.16), var(--w2));
}
body.yj-home .coach img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  background: var(--w8);
  border: 1px solid var(--w14);
}
body.yj-home .coach .rk-mark { width: 42px; height: 42px; border-radius: 50%; font-size: 14px; }
body.yj-home .coach b { display: block; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
body.yj-home .coach i {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  font-size: 9px;
  color: var(--mut);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.yj-home .coach i img { width: 12px; height: 12px; border: 0; background: none; border-radius: 0; }
body.yj-home .coach em { display: block; margin-top: 1px; font-size: 8.5px; color: var(--faint); }

/* ---------------------------------------------------------------------------
   ⑨ 联赛档案
   --------------------------------------------------------------------------- */
body.yj-home .arch-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
body.yj-home .arch-id { grid-column: span 7; }
body.yj-home .arch-rules { grid-column: span 5; }
body.yj-home .arch-honor { grid-column: span 12; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; }
body.yj-home .arch-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
body.yj-home .arch-top img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 8px 18px rgb(var(--accent-rgb) / 0.35)); }
body.yj-home .arch-top h3 { font-size: 19px; color: var(--ink); }
body.yj-home .arch-top p { font-size: 10px; letter-spacing: 2px; color: var(--faint); margin-top: 5px; }
body.yj-home .arch-text p { font-size: 11.5px; line-height: 1.9; color: var(--mut); }
body.yj-home .arch-text p + p { margin-top: 7px; }
body.yj-home .arch-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-top: 14px; }
body.yj-home .arch-kv div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
}
body.yj-home .arch-kv dt { color: var(--faint); }
body.yj-home .arch-kv dd { margin: 0; color: var(--ink2); font-weight: 600; text-align: right; }
body.yj-home .arch-rules h3 { font-size: 16px; margin-bottom: 12px; color: var(--ink); }
body.yj-home .arch-rules ol { counter-reset: r; }
body.yj-home .arch-rules li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid var(--w4);
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--mut);
}
body.yj-home .arch-rules li:last-child { border-bottom: 0; }
body.yj-home .arch-rules li::before {
  counter-increment: r;
  content: counter(r, decimal-leading-zero);
  font-family: var(--disp);
  font-size: 10px;
  color: var(--g2);
}
body.yj-home .arch-rules li b { color: var(--ink2); font-weight: 600; margin-right: 5px; }
body.yj-home .honor-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
body.yj-home .honor-h h3 { font-size: 16px; color: var(--ink); }
body.yj-home .honor-h span { font-size: 9.5px; color: var(--faint); letter-spacing: 1.2px; }
body.yj-home .honor-bars { display: grid; gap: 6px; }
body.yj-home .honor-row { display: grid; grid-template-columns: 20px 18px 64px 1fr 26px; align-items: center; gap: 8px; }
body.yj-home .honor-row .r { font-family: var(--disp); font-size: 10px; color: var(--faint); text-align: right; }
body.yj-home .honor-row img { width: 18px; height: 18px; object-fit: contain; }
body.yj-home .honor-row .crest-mark { width: 18px; height: 18px; border-radius: 4px; font-size: 9px; }
body.yj-home .honor-row b { font-size: 10.5px; font-weight: 600; white-space: nowrap; color: var(--ink2); }
body.yj-home .honor-row .bar { height: 5px; border-radius: 99px; background: var(--w7); overflow: hidden; }
body.yj-home .honor-row .bar i { display: block; height: 100%; width: var(--w, 0); background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--gold) 60%, #fff)); border-radius: 99px; }
body.yj-home .honor-row .n { font-family: var(--disp); font-size: 11px; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
body.yj-home .tl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
body.yj-home .tl div { padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--w2); }
body.yj-home .tl b { display: block; font-family: var(--disp); font-size: 12px; color: var(--gold); }
body.yj-home .tl span { display: block; margin-top: 3px; font-size: 10px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.yj-home .tl-note { margin-top: 9px; font-size: 9px; color: var(--faint); }

/* ---------------------------------------------------------------------------
   ⑩ 热门标签
   --------------------------------------------------------------------------- */
body.yj-home .tags-sec { padding-top: 64px; }
body.yj-home .tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px 12px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(90% 160% at 0% 0%, rgb(var(--accent-rgb) / 0.14), transparent 55%),
    radial-gradient(80% 160% at 100% 100%, rgb(var(--cs06-hot-rgb) / 0.1), transparent 55%),
    var(--w2);
  overflow: hidden;
}
body.yj-home .tags::before {
  content: "TAGS";
  position: absolute;
  right: 14px;
  bottom: -22px;
  font-family: var(--disp);
  font-size: 96px;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--w5);
  pointer-events: none;
}
body.yj-home .tag-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line2);
  border-radius: 99px;
  font-size: 13px;
  color: var(--ink2);
  background: var(--w2);
  transition: 0.2s;
  z-index: 1;
}
body.yj-home .tag-link:hover {
  color: var(--on-accent);
  border-color: transparent;
  background: linear-gradient(120deg, var(--g), var(--g2));
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -14px rgb(var(--accent-rgb) / 0.95);
}
body.yj-home .tag-link.s1 { font-size: 18px; font-weight: 700; border-color: rgb(var(--accent-2-rgb) / 0.4); }
body.yj-home .tag-link.s2 { font-size: 15px; }
body.yj-home .tag-link.s3 { font-size: 11.5px; color: var(--mut); }
body.yj-home .tag-link:nth-child(3n) { transform: rotate(-1.2deg); }
body.yj-home .tag-link:nth-child(3n):hover { transform: rotate(-1.2deg) translateY(-2px); }
body.yj-home .tag-link:nth-child(4n) { transform: rotate(1.4deg); }
body.yj-home .tag-link:nth-child(4n):hover { transform: rotate(1.4deg) translateY(-2px); }

/* ---------------------------------------------------------------------------
   ⑪ 进场动效
   —— 只在「进入视口」时播一次动画；不做「先隐藏再显示」，
      脚本没跑起来 / 被禁用时内容照样完整可见（旧版首页踩过这个坑）。
   --------------------------------------------------------------------------- */
@keyframes rvIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.js body.yj-home .rv.in { animation: rvIn 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both; animation-delay: var(--d, 0s); }
@keyframes mtIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.js body.yj-home .match-grid.in .mt { animation: mtIn 0.5s ease both; }
body.yj-home .match-grid.in .mt:nth-child(n) { animation-delay: 0.02s; }
body.yj-home .match-grid.in .mt:nth-child(2n) { animation-delay: 0.06s; }
body.yj-home .match-grid.in .mt:nth-child(4n) { animation-delay: 0.1s; }
body.yj-home .match-grid.in .mt:nth-child(8n) { animation-delay: 0.14s; }

/* ---------------------------------------------------------------------------
   ⑫ 响应式（首页）
   --------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  body.yj-home .hx-main { grid-template-columns: 1.4fr 1fr; gap: 12px; }
  body.yj-home .spot-grid { grid-template-columns: 1.4fr 1fr; gap: 12px; }
}
@media (max-width: 1180px) and (min-width: 861px) {
  body.yj-home .coach-grid { grid-template-columns: repeat(4, 1fr); }
  body.yj-home .hb-t { font-size: 11.5px; }
  body.yj-home .hb-p { font-size: 13.5px; }
  body.yj-home .hb-list { grid-auto-rows: minmax(30px, 1fr); }
}
@media (max-width: 1020px) {
  body.yj-home .match-grid { grid-template-columns: 1fr; }
  body.yj-home .st-card,
  body.yj-home .rank-card { grid-column: span 12; }
  body.yj-home .ring-card,
  body.yj-home .shot-card { grid-column: span 6; }
  body.yj-home .inj-card { grid-column: span 12; }
  body.yj-home .arch-id,
  body.yj-home .arch-rules { grid-column: span 12; }
  body.yj-home .arch-honor { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body.yj-home .hero { padding-top: 16px; margin-bottom: 18px; }
  body.yj-home .hx-inner { width: calc(100% - 36px); }
  body.yj-home .hx-main { grid-template-columns: 1fr; gap: 12px; }
  body.yj-home .mc { padding: 16px 18px 18px; }
  body.yj-home .spot-grid { grid-template-columns: 1fr; gap: 12px; }
  body.yj-home .hx-car { min-height: 0; aspect-ratio: 16 / 9; border-radius: 18px; }
  body.yj-home .hx-car.is-empty { aspect-ratio: auto; min-height: 220px; }
  body.yj-home .hx-cap { font-size: 19px; padding: 16px 20px 28px; }
  body.yj-home .hb-card { padding: 12px 14px 10px; }
  body.yj-home .lg-box { padding: 12px 14px 13px; }
  body.yj-home .coach-grid { grid-template-columns: repeat(3, 1fr); }
  body.yj-home .sh-sub { display: none; }
}
@media (max-width: 640px) {
  body.yj-home .sec { padding-top: 48px; }
  body.yj-home .sec-head { gap: 12px; flex-wrap: wrap; }
  body.yj-home .sec-head h2 { font-size: 24px; }
  body.yj-home .sh-more { padding: 7px 12px; font-size: 11px; }
  body.yj-home .hx-bars { right: 2%; opacity: 0.32; }
  body.yj-home .hx-car { aspect-ratio: 4 / 3; border-radius: 16px; }
  body.yj-home .hx-cap { font-size: 16.5px; line-height: 1.4; padding: 14px 16px 26px; }
  body.yj-home .hx-tag { left: 12px; top: 12px; font-size: 8.5px; padding: 4px 8px; }
  body.yj-home .hx-nav { right: 10px; top: 10px; gap: 5px; }
  body.yj-home .hx-btn { width: 28px; height: 28px; }
  body.yj-home .hx-btn svg { width: 11px; height: 11px; }
  body.yj-home .hx-dots { right: 14px; bottom: 12px; }
  body.yj-home .hx-dots button { height: 5px; }
  body.yj-home .hb-card { padding: 11px 11px 7px; }
  body.yj-home .hb-list li { grid-template-columns: 16px 22px minmax(0, 1fr) auto; gap: 7px; }
  body.yj-home .hb-t { font-size: 11.5px; }
  body.yj-home .hb-p { font-size: 13.5px; }
  body.yj-home .lg-cell img { width: 24px; height: 24px; }
  body.yj-home .lg-cell b { font-size: 10px; }
  body.yj-home .sched-bar { gap: 8px; }
  body.yj-home .day-chip { height: 34px; padding: 0 11px; font-size: 11.5px; }
  body.yj-home .day-chip i { display: none; }
  body.yj-home .sched-sum { width: 100%; margin-left: 0; justify-content: space-between; }
  body.yj-home .mt {
    grid-template-columns: 1fr auto;
    grid-template-areas: "time state" "main main";
    gap: 8px 10px;
    padding: 11px 12px;
  }
  body.yj-home .mt-time { grid-area: time; display: flex; align-items: center; gap: 8px; }
  body.yj-home .mt-time b { font-size: 12.5px; }
  body.yj-home .mt-time i { margin: 0; font-size: 9.5px; }
  body.yj-home .mt-state { grid-area: state; flex-direction: row; align-items: center; gap: 7px; }
  body.yj-home .mt-main { grid-area: main; }
  body.yj-home .mt-side b { font-size: 11.5px; }
  body.yj-home .mt-mid b { font-size: 15px; }
  body.yj-home .sched-foot p { display: none; }
  body.yj-home .bento { gap: 10px; }
  body.yj-home .ring-card,
  body.yj-home .shot-card { grid-column: span 12; }
  body.yj-home .card { padding: 15px; }
  body.yj-home .st-tm i { display: none; }
  body.yj-home .st-row { grid-template-columns: 24px minmax(0, 1fr) 38px 34px; gap: 8px; }
  body.yj-home .ring { width: 52px; height: 52px; }
  body.yj-home .ring b { font-size: 14px; }
  body.yj-home .n-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  body.yj-home .vid-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  body.yj-home .coach-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  body.yj-home .coach { padding: 9px; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; }
  body.yj-home .coach img { width: 34px; height: 34px; }
  body.yj-home .arch-honor { gap: 20px; }
  body.yj-home .arch-kv { grid-template-columns: 1fr; }
  body.yj-home .honor-row { grid-template-columns: 18px 16px 52px 1fr 22px; gap: 6px; }
  body.yj-home .tl { grid-template-columns: 1fr 1fr; }
  body.yj-home .tags { padding: 18px 16px; gap: 8px; }
  body.yj-home .tag-link { font-size: 12px; padding: 6px 11px; }
  body.yj-home .tag-link.s1 { font-size: 15px; }
  body.yj-home .tag-link.s2 { font-size: 13px; }
}
