/* ==========================================================================
   CFB 中国足球小将 - 比赛详情页 · 绿茵足球场可视化与大名单 (Tactical Pitch & Lineup Roster)
   ========================================================================== */

/* 3. 绿茵足球场可视化 (Tactical Pitch) */
.cfb-pitch-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 4px;
}

.cfb-pitch-meta__formation {
  font-family: var(--cfb-font-title);
  font-size: 13px;
  font-weight: 800;
  color: var(--cfb-text-title);
}

.cfb-pitch-meta__dir {
  font-size: 11px;
  font-weight: 600;
  color: var(--cfb-text-sub);
}

.cfb-pitch-container {
  width: 100%;
  margin-bottom: 10px;
}

.cfb-pitch {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: 
    repeating-linear-gradient(
      0deg,
      #18733a 0px,
      #18733a 30px,
      #156834 30px,
      #156834 60px
    );
  border-radius: var(--cfb-radius-md);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

/* 球场白线标记 (纯 CSS 绘制) */
.cfb-pitch-line-center {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  background-color: rgba(255, 255, 255, 0.45);
}

.cfb-pitch-circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cfb-pitch-spot-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cfb-pitch-box-top {
  position: absolute;
  top: 0;
  left: 50%;
  width: 48%;
  height: 20%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-top: none;
  transform: translateX(-50%);
  border-radius: 0 0 3px 3px;
}

.cfb-pitch-goal-top {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24%;
  height: 8%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-top: none;
  transform: translateX(-50%);
}

.cfb-pitch-arc-top {
  position: absolute;
  top: 17%;
  left: 50%;
  width: 40px;
  height: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-top: none;
  border-radius: 0 0 20px 20px;
  transform: translateX(-50%);
}

.cfb-pitch-box-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 48%;
  height: 20%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-bottom: none;
  transform: translateX(-50%);
  border-radius: 3px 3px 0 0;
}

.cfb-pitch-goal-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 24%;
  height: 8%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-bottom: none;
  transform: translateX(-50%);
}

.cfb-pitch-arc-bottom {
  position: absolute;
  bottom: 17%;
  left: 50%;
  width: 40px;
  height: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  transform: translateX(-50%);
}

/* 球员战术节点 */
.cfb-pitch-player {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.cfb-pitch-player:active {
  transform: translate(-50%, -50%) scale(1.15);
}

.cfb-pitch-player__disc {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #005BB5 0%, #004B99 100%);
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cfb-font-num);
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  position: relative;
}

.cfb-pitch-player--gk .cfb-pitch-player__disc {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #000000;
}

.cfb-pitch-player__captain {
  position: absolute;
  top: -3px;
  right: -5px;
  background-color: var(--cfb-gold);
  color: #000000;
  font-size: 8px;
  font-weight: 900;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cfb-pitch-player__goal {
  position: absolute;
  bottom: -3px;
  right: -5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  background-color: #0F172A;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.cfb-pitch-player__goal img {
  width: 8px;
  height: 8px;
  display: block;
  filter: brightness(0) invert(1);
}

.cfb-pitch-player__name {
  font-size: 10px;
  font-weight: 700;
  color: #FFFFFF;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  padding: 1px 6px;
  border-radius: 8px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cfb-pitch-tip {
  font-size: 11px;
  color: var(--cfb-text-sub);
  background: #FFFFFF;
  padding: 9px 12px;
  border-radius: var(--cfb-radius-sm);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  line-height: 1.4;
}

/* 4. 首发/替补名单卡片 (Roster Group) */
.cfb-roster-card {
  background-color: #FFFFFF;
  border-radius: var(--cfb-radius-md);
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.cfb-roster-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cfb-roster-card__title {
  font-family: var(--cfb-font-title);
  font-size: 14px;
  font-weight: 800;
  color: var(--cfb-text-title);
}

.cfb-roster-card__tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--cfb-royal-blue);
  background-color: rgba(0, 91, 181, 0.08);
  padding: 2px 6px;
  border-radius: 10px;
}

.cfb-roster-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cfb-roster-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2px;
  background: transparent; /* 取消灰色卡片，文字直接落在背景板上 */
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06); /* 长细灰线分隔 */
  border-radius: 0;
  transition: background-color 0.15s ease;
}

.cfb-roster-item:last-child {
  border-bottom: none;
}

.cfb-roster-item:active {
  background-color: rgba(0, 91, 181, 0.04);
}

.cfb-roster-item__left {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 球员号码取消圆形外框，将数字放大 2 到 2.5 倍 (由 14px 放大至 28px) */
.cfb-roster-item__num {
  font-family: var(--cfb-font-num);
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  color: var(--cfb-royal-blue);
  width: 38px;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  letter-spacing: -1px;
}

.cfb-roster-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cfb-roster-item__name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cfb-roster-item__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--cfb-text-title);
}

.cfb-roster-item__captain {
  font-size: 9px;
  font-weight: 800;
  color: #000000;
  background-color: var(--cfb-gold);
  padding: 1px 4px;
  border-radius: 3px;
  line-height: 1;
}

.cfb-roster-item__event {
  font-size: 11px;
  font-weight: 600;
  color: #10B981;
}

.cfb-roster-item__pos {
  font-size: 11px;
  font-weight: 500;
  color: var(--cfb-text-sub);
}

.cfb-roster-item__status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.cfb-roster-item__status.is-starter {
  color: var(--cfb-royal-blue);
  background-color: rgba(0, 91, 181, 0.1);
}

.cfb-roster-item__status.is-sub {
  color: var(--cfb-text-sub);
  background-color: rgba(0, 0, 0, 0.05);
}

/* 随队教练组 (同样采用通透长细灰线，无灰色卡片框) */
.cfb-staff-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cfb-staff-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 2px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0;
}

.cfb-staff-item:last-child {
  border-bottom: none;
}

.cfb-staff-item__role {
  font-size: 12px;
  font-weight: 600;
  color: var(--cfb-text-sub);
}

.cfb-staff-item__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--cfb-text-title);
}

/* ==========================================================================
   比赛详情页 · 未开赛阵容待公布优雅占位态 (17天/24天预告场次专用 · 极简官方样式)
   ========================================================================== */
.cfb-detail-pending {
  padding: 40px 16px 60px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cfb-pending-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 38px 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  box-sizing: border-box;
}

.cfb-pending-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 75, 153, 0.08);
  border: 1px solid rgba(0, 75, 153, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cfb-pending-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.cfb-pending-simple-text {
  font-family: var(--cfb-font-main);
  font-size: 14px;
  font-weight: 700;
  color: var(--cfb-text-secondary);
  letter-spacing: 0.5px;
}

