/* V6 shows probability only. Paid users can reveal detail cells by selecting V12. */
.sched2 .mrow__strip > span { position: relative; }
.sched2 .mrow__strip-lock { display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--m-brand); font-weight: 700; }
.sched2 .mrow__strip-lock svg { width: 11px; height: 11px; }
.sched2 .mrow__strip--locked > span { cursor: help; }
html:not([data-me-model="v12"]) .sched2 .mrow__strip--member > span > :not(i) { visibility: hidden; }
html:not([data-me-model="v12"]) .sched2 .mrow__strip--member > span::after { content: '? 🔒'; position: absolute; inset: 0 0 auto; padding-top: 4px; text-align: center; color: var(--m-brand); font-size: 12px; }

/* Schedule metadata stays above a balanced, full-width matchup. */
.sched2 .mrow--schedule,
.sched2 .mrow--schedule:has(.mrow__foot) {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "comp comp comp" "h sc a" "prob prob prob" "strip strip strip" "tags tags tags";
  row-gap: 10px;
}
.sched2 .mrow__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; min-width: 0; }
.sched2 .mrow--schedule .mrow__comp { align-items: flex-start; gap: 8px; }
.sched2 .mrow--schedule .mrow__t { display: inline-flex; flex-direction: row; flex-wrap: wrap; align-items: center; align-self: auto; gap: 8px; font-size: var(--fs-caption); }
.sched2 .mrow--schedule .mrow__team { font-size: var(--fs-body); }
.sched2 .mrow--schedule .mrow__nm { white-space: normal; overflow-wrap: anywhere; }
.sched2 .mrow__strip { grid-area: strip; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sched2 .mrow__strip > span { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 2px 4px; border-radius: 8px; background: var(--m-brand-soft); min-width: 0; }
.sched2 .mrow__strip b { font-size: 12.5px; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.sched2 .mrow__strip i { font-size: 10px; font-style: normal; color: var(--m-text-2); text-align: center; }
/* Restore the existing model stars only within the schedule footer. */
@layer properties {
  .sched2 .mrow__foot .hland__info,
  .sched2 .mrow__foot [data-wdl-stars] { display: inline-flex !important; align-items: center; }
}
.sched2 .mrow__foot .jcard__conf { display: inline-flex; gap: 2px; line-height: 1; }
.sched2 .mrow__foot .hland__info { margin-left: auto; flex: 0 0 auto; }
.sched2 .mrow--schedule .mrow__prob { flex-wrap: wrap; }
.sched2 .mrow--schedule .mrow__bar { min-width: 80px; }

/* ---------- 状态 tab 作为列表 pane 的头（不再被日期白卡包裹） ---------- */
.sched2__list > .sched2__seg {
  padding: 0 0 0;
  margin-bottom: 2px;
}
.sched2__list > .sched2__seg .seg { flex: 1; }
/* 列表第一组的第一条 mrow 去掉顶分隔线，避免和 tab nav 的底线撞成双线 */
.sched2__list > .me-async__body > .mgroup:first-of-type > .mrow.is-first,
.sched2__list > .me-async__body > .mgroup--live:first-of-type > .mrow.is-first {
  border-top: 0;
}

/* ---------- 竞彩场：升级为首页 fix 同款卡片 ---------- */
.sched2 .mrow.is-jc {
  margin: 10px 0;
  padding: 12px 14px 14px;
  background: var(--m-surface);
  border: 1px solid #efe6f8;
  border-radius: 12px;
  box-shadow: none;
}
.sched2 .mrow.is-jc:hover {
  border-color: #8E37D7;
  background: var(--m-surface);
  box-shadow: 0 10px 24px rgba(142, 55, 215, 0.12);
}
html[data-theme="dark"] .sched2 .mrow.is-jc {
  background: var(--color-paper, var(--m-surface));
  border-color: var(--color-rule, var(--m-line));
}
/* 竞彩胶囊标：从灰字强化成紫底白字 */
.sched2 .mrow.is-jc .mrow__jc {
  color: var(--m-brand);
  font-weight: 700;
  font-size: var(--fs-caption);
}
.sched2 .mrow.is-jc .mrow__jc .jc-tag {
  background: var(--m-brand);
  color: #fff;
}
/* 竞彩卡片内第一条 mrow 去 border-top */
.sched2 .mrow.is-jc.is-first { border-top: 0; }

/* 非竞彩赛程行同样套卡片外壳（白底 / 细边框 / 圆角 / 上下间距），与竞彩卡对齐；
   内部概率条、数据格排版仍按各自状态，不在此改动。骨架屏 .is-sk 排除。 */
.sched2 .mrow--schedule:not(.is-sk):not(.is-jc) {
  margin: 10px 0;
  padding: 12px 12px 14px;
  background: var(--m-surface);
  border: 1px solid #efe6f8;
  border-radius: 16px;
}
html[data-theme="dark"] .sched2 .mrow--schedule:not(.is-sk):not(.is-jc) {
  background: var(--color-paper, var(--m-surface));
  border-color: var(--color-rule, var(--m-line));
}

/* ---------- 竞彩卡内部排版对齐首页赛事卡（.hland__fix） ----------
   首页顺序：赛事/时间 + 竞彩徽标 → 两队居中 → 粗概率条(百分比压段内)+星级 → 四格数据（第4格信号）
   竞彩卡原来：细概率条 + 右侧单一串百分比 → 三格大块 → 标签另起一行 → 星级掉最底，这里逐项对齐。 */
/* 卡片内边距/圆角跟首页一致（首页 12px 12px 14px + 16px） */
.sched2 .mrow.is-jc {
  padding: 12px 12px 14px;
  border-radius: 16px;
  row-gap: 8px;
}
/* 概率条：13px 圆角分段，百分比白字直接压在段里（首页 .hslide__wdl .mrow__bar 同款） */
.sched2 .mrow.is-jc .mrow__prob { gap: 8px; }
.sched2 .mrow.is-jc .mrow__bar {
  height: 13px;
  gap: 4px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.sched2 .mrow.is-jc .mrow__bar i {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 999px;
  overflow: hidden;
}
.sched2 .mrow.is-jc .mrow__bar .h { background: #8E37D7; }
.sched2 .mrow.is-jc .mrow__bar .d { background: #7A6A92; opacity: 1; }
.sched2 .mrow.is-jc .mrow__bar .a { background: #17A2B8; }
.sched2 .mrow.is-jc .mrow__bar b {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
/* 百分比已经进到段里，右侧那串旧文案只留给直播/完场的数据来源，未开赛直接收起 */
.sched2 .mrow.is-jc.mrow--scheduled .mrow__prob small { display: none; }
/* 星级贴概率条右侧（首页 .hland__info 同款） */
.sched2 .mrow.is-jc .mrow__prob .hland__info { margin-left: 0; flex: 0 0 auto; }
.sched2 .mrow.is-jc .mrow__prob .jcard__star { width: 11px; height: 11px; }
/* 四格数据：小标题在上、数值在下，第4格是「信号」标签 */
.sched2 .mrow.is-jc .mrow__strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 0;
}
.sched2 .mrow.is-jc .mrow__strip > span {
  flex-direction: column-reverse;
  gap: 2px;
  padding: 5px 2px 4px;
  border-radius: 8px;
  background: var(--m-brand-soft, #f7f4fb);
}
.sched2 .mrow.is-jc .mrow__strip b { font-size: 12.5px; font-weight: 800; line-height: 1.2; }
.sched2 .mrow.is-jc .mrow__strip i {
  font-size: 9.5px;
  color: var(--m-text-3, #b4aabf);
  letter-spacing: .02em;
  white-space: nowrap;
}
.sched2 .mrow.is-jc .mrow__strip > .mrow__strip-tag { cursor: default; flex-direction: column; padding: 4px 4px 3px; }
.sched2 .mrow.is-jc .mrow__strip-tagv {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
}
.sched2 .mrow.is-jc .mrow__strip-tag .ftags {
  grid-area: auto;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
  overflow: hidden;
  width: 100%;
}
/* 首页「信号」格只放一条推演，这里同样只露第一条，避免多条挤爆格子 */
.sched2 .mrow.is-jc .mrow__strip-tag .ftags .ftag:nth-child(n+2) { display: none; }
.sched2 .mrow.is-jc .mrow__strip-tag .ftags .ftag {
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-align: center;
}
.sched2 .mrow.is-jc .mrow__strip-tag .ftags .ftag__more,
.sched2 .mrow.is-jc .mrow__strip-tag .ftags .ftag__t { font-size: 11px; font-weight: 800; }
/* 两队一行：跟首页一样 14px/700、队徽 20px、VS 12px */
.sched2 .mrow.is-jc .mrow__team { font-size: 14px; font-weight: 700; }
.sched2 .mrow.is-jc .mrow__team .mrow__nm { font-size: 14px; font-weight: 700; letter-spacing: -0.02em; }
.sched2 .mrow.is-jc .mrow__score .mrow__sep { font-size: 12px; letter-spacing: .04em; }
/* 顶部赛事行：时间/未开始 在左、竞彩徽标在右 */
.sched2 .mrow.is-jc .mrow__comp { align-items: center; }
.sched2 .mrow.is-jc .mrow__t { font-size: 12px; color: var(--m-text-2); }

/* 进行中/已结束的竞彩卡不改内部结构（没有四格信号、概率条仍是细线），只保留卡片外观 */
.sched2 .mrow.is-jc:not(.mrow--scheduled) .mrow__bar {
  height: 4px;
  gap: 0;
  border-radius: 2px;
  overflow: hidden;
  background: var(--m-surface-2);
}
.sched2 .mrow.is-jc:not(.mrow--scheduled) .mrow__bar .h { background: var(--m-home); }
.sched2 .mrow.is-jc:not(.mrow--scheduled) .mrow__bar .d { background: var(--m-text-3); opacity: .45; }
.sched2 .mrow.is-jc:not(.mrow--scheduled) .mrow__bar .a { background: var(--m-away); }
/* 4px 细线放不下 10.5px 白字，会截出半行字形（看着像脏点），直接收掉。 */
.sched2 .mrow.is-jc:not(.mrow--scheduled) .mrow__bar b { display: none; }
/* 完场卡不再挂赛前推演四格（比赛已结束，四格对访客只剩锁定问号），只留比分 + 赛前概率 + 星级。 */
.sched2 .mrow--finished .mrow__strip { display: none; }
/* 进行中/已结束也带第 4 格「信号」，三列会把第 4 格挤到第二行，按实际格数走 4 列。 */
.sched2 .mrow.is-jc:not(.mrow--scheduled) .mrow__strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sched2 .mrow.is-jc:not(.mrow--scheduled) .mrow__strip > span { flex-direction: column; }

/* 窄屏：四格只有 ~86px，第4格的推演文案收成单行小字，避免撑破格子 */
@media (max-width: 560px) {
  .sched2 .mrow.is-jc .mrow__strip > .mrow__strip-tag { padding: 4px 2px 3px; }
  .sched2 .mrow.is-jc .mrow__strip-tag .ftags { flex-wrap: nowrap; gap: 3px; }
  .sched2 .mrow.is-jc .mrow__strip-tag .ftags .ftag,
  .sched2 .mrow.is-jc .mrow__strip-tag .ftags .ftag__more,
  .sched2 .mrow.is-jc .mrow__strip-tag .ftags .ftag__t {
    font-size: 9.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

/* 桌面：左栏（赛事筛选）加宽到 240，主列（比赛列表）相应收窄；右栏不动 */
@media (min-width: 1024px) {
  .sched2 { --desk-col-l: 240px; }
}

/* Match items follow the homepage's compact matchup proportions. */
.sched2 .mrow.mrow--schedule {
  padding: 12px 12px 14px;
  margin-block: 0 8px;
  border: 1px solid color-mix(in srgb, var(--m-brand) 12%, var(--m-surface));
  border-radius: 16px;
  background: var(--m-surface);
  row-gap: 8px;
  column-gap: 8px;
  grid-template-columns: minmax(0,1fr) 56px minmax(0,1fr);
}
.sched2 .mrow--schedule .mrow__team { min-height: 54px; font-size: 14px; font-weight: 700; gap: 6px; }
.sched2 .mrow--schedule .mrow__team :is(.tcrest,.tbadge,.crest) { width: 28px; height: 28px; flex: 0 0 28px; }
.sched2 .mrow--schedule .mrow__team--h { justify-content: flex-end; }
.sched2 .mrow--schedule .mrow__team--a { justify-content: flex-start; }
.sched2 .mrow--schedule .mrow__nm { line-height: 1.35; }
.sched2 .mrow--schedule .mrow__sc { align-self: center; font-size: 18px; font-weight: 700; }
.sched2 .mrow--scheduled .mrow__sc { font-size: 12px; }
.sched2 .mrow--schedule .mrow__t { font-size: 11px; gap: 6px; }
@media (max-width:767px) {
  .sched2 .mrow.mrow--schedule { border: 0; border-radius: 0; margin-bottom: 16px; }
}

/* All schedule statuses share the homepage probability and information layout. */
.sched2 .mrow.mrow--schedule .mrow__prob { gap: 8px; flex-wrap: wrap; }
.sched2 .mrow.mrow--schedule .mrow__bar { height: 13px; gap: 4px; border-radius: 0; overflow: visible; background: transparent; }
.sched2 .mrow.mrow--schedule .mrow__bar i { display: flex; align-items: center; justify-content: center; height: 100%; border-radius: 999px; overflow: hidden; }
.sched2 .mrow.mrow--schedule .mrow__bar .h { background: #8E37D7; }
.sched2 .mrow.mrow--schedule .mrow__bar .d { background: #7A6A92; opacity: 1; }
.sched2 .mrow.mrow--schedule .mrow__bar .a { background: #17A2B8; }
.sched2 .mrow.mrow--schedule .mrow__bar b { color: #fff; font-size: 10.5px; font-weight: 500; line-height: 1; white-space: nowrap; }
.sched2 .mrow.mrow--schedule .mrow__prob small { flex-basis: 100%; font-size: 10px; }
.sched2 .mrow.mrow--schedule .mrow__prob .hland__info { margin-left: 0; flex: 0 0 auto; }
.sched2 .mrow.mrow--schedule .mrow__prob .jcard__star { width: 11px; height: 11px; }
.sched2 .mrow.mrow--schedule .mrow__team .mrow__nm { font-size: 14px; font-weight: 700; }
.sched2 .mrow.mrow--schedule .mrow__strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
.sched2 .mrow.mrow--schedule .mrow__strip:has(.mrow__strip-tag) { grid-template-columns: repeat(4,minmax(0,1fr)); }
.sched2 .mrow.mrow--schedule .mrow__strip > span { flex-direction: column-reverse; gap: 2px; padding: 5px 2px 4px; }
.sched2 .mrow.mrow--schedule .mrow__strip > .mrow__strip-tag { flex-direction: column; }
@media (max-width: 767px) {
  /* 联赛选择：横排 chips 取代原生下拉（与竞彩页一致） */
  .sched2__top .msel--sched { display: none; }
  .sched2__top .sfilt { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
  .sched2__top .sfilt::-webkit-scrollbar { display: none; }
  .sched2__top .sfilt__i {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    height: 26px; min-height: 26px; padding: 0 8px 0 0;
    border: 0; border-radius: 0; background: transparent; box-shadow: none;
    color: var(--m-text-2); font-size: 12px; font-weight: 400; white-space: nowrap;
  }
  .sched2__top .sfilt__i i { font-style: normal; font-size: var(--fs-micro); color: var(--m-text-3); }
  .sched2__top .sfilt__i.is-on { background: transparent !important; border-color: transparent; color: var(--m-brand); font-weight: 600; }
  .sched2__top .sfilt__i.is-on i { color: var(--m-brand); }
}

@media (max-width: 767px) {
  .pagebox.wrap:has(.sched2) { padding-left: 0; padding-right: 0; }
  .pagebox.wrap:has(.sched2) > .crumb { padding-left: 16px; padding-right: 16px; }
  .sched2.homedash { width: 100%; max-width: none; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .sched2 .sched2__top, .sched2 .sched2__body, .sched2 .sched2__list { margin-left: 0; margin-right: 0; border-radius: 0; }
}

/* Offset the schedule status selector within the header. */
.sched2 .sched2__top .sched2__seg [data-sseg]{position:relative;top:4px}

/* 日期条去掉底部分隔线与下间距，与竞彩页头部一致（PC 与移动端一致）。 */
.sched2__top .dstrip { border-bottom: 0; padding-bottom: 0; }

.sched2 [data-sseg] .seg__i{font-size:12px}
.sched2 [data-sseg] .seg__i{
  height:26px !important; min-height:26px !important;
  display:inline-flex !important; align-items:center; justify-content:center;
  padding-top:0 !important; padding-bottom:0 !important;
}
.sched2 .hslide__wdl .mrow__bar{height:13px!important;min-height:13px}
.sched2 .hslide__wdl .mrow__bar>i{height:13px!important}
.sched2 .hslide__wdl .v12-qlock-cta,
.sched2 .hslide__wdl .v12-qlock-ico{display:none!important}

.sched2 .mgroup__h .mgroup__n{font-size:12px;font-weight:400}
.sched2 .v12-qlock-ico,.sched2 .v12-qlock-cta{display:none!important}

/* 赛程页：状态/赛事按钮水平间距与竞足页统一 8px */
.sched2__top .sched2__seg,
.sched2__top .sched2__seg .seg,
.sched2__top .sfilt { gap: 8px; }
