.test-card-area {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: #16161c;
    overflow: hidden;
    background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 34px 34px;
    background-position: center center;
    margin-left: -25px;
  }
  .test-card-area::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.18);
    box-shadow: 0 0 0 1px rgba(0,0,0,.6),
                inset 0 0 44px rgba(0,0,0,.45);
  }

  .inner-bars {
    position: absolute;
    top: 50%; left: 50%;
    width: 40%; height: 7%;
    transform: translate(-50%, -260%);
    display: flex;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0,0,0,.5);
  }
  .inner-bars span { flex: 1; }
  .inner-bars span:nth-child(1) { background: #c0c000; }
  .inner-bars span:nth-child(2) { background: #00c0c0; }
  .inner-bars span:nth-child(3) { background: #00c000; }
  .inner-bars span:nth-child(4) { background: #c000c0; }
  .inner-bars span:nth-child(5) { background: #c00000; }
  .inner-bars span:nth-child(6) { background: #0000c0; }

  .inner-lines {
    position: absolute;
    top: 50%; left: 50%;
    width: 24%;
    transform: translate(-50%, 375%);
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .inner-lines i {
    display: block;
    height: 2px;
    background: rgba(255,255,255,.14);
    border-radius: 2px;
  }
  .inner-lines i:nth-child(1) { width: 100%; }
  .inner-lines i:nth-child(2) { width: 70%; }
  .inner-lines i:nth-child(3) { width: 45%; }

  .corner-block {
    position: absolute;
    width: 6.5%;
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,.14);
  }
  .corner-tl { top: 10%; left: 8%;  background: #262630; }
  .corner-tr { top: 10%; right: 8%; background: #363600; }
  .corner-bl { bottom: 10%; left: 8%;  background: #003636; }
  .corner-br { bottom: 10%; right: 8%; background: #360036; }

  .live-tag {
    position: absolute;
    top: 12px; left: 14px;
    font-size: 14px;
    letter-spacing: 2px;
    color: rgba(255,255,255,.35);
    border: 1px solid rgba(255,255,255,.18);
    padding: 2px 8px;
    border-radius: 3px;
  }
  .clock-display {
    position: absolute;
    bottom: 12px; right: 14px;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    color: rgba(255,255,255,.45);
    letter-spacing: 1px;
    font-family: "Courier New", monospace;
    white-space: nowrap;
  }
  .infobox-logo-wrap {
    text-align: center;
    padding: 16px 12px 10px;
    border-bottom: 1px solid #e5e5e5;
  }
  .ch-logo { margin: 0 auto 8px; }
  .infobox-logo-cap {
    font-size: 12px;
    color: #8a9099;
    letter-spacing: 1px;
  }

  .infobox-table {
    font-size: 13.5px;
  }

  .infobox-row {
    display: grid;
    grid-template-columns: 36% 1fr;
    align-items: start;
    border-top: 1px solid #ededed;
  }

  .infobox-row:first-child {
    border-top: none;
  }

  .infobox-th,
  .infobox-td {
    padding: 7px 12px;
    text-align: left;
    line-height: 1.65;
  }

  .infobox-th {
    color: #333333;
    font-weight: 600;
    white-space: nowrap;
  }

  .infobox-td {
    color: #474747;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .infobox-td a {
    color: #2196F3;
}

  /* 状态徽章 */
  .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 0 10px;
    border-radius: 20px;
    border: 1px solid transparent;
    white-space: nowrap;
  }
  .status-off {
    background: #fdecea;
    border-color: #f3b6ae;
    color: #b3241a;
  }
  .status-off .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #d73333;
    animation: pulse 1.8s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .35; transform: scale(.75); }
  }
  .rel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 15px 15px;
  }

  .rel-card {
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }

  .rel-card:hover {
    border-color: #4CAF50;
    background: #f8fbff;
    box-shadow: 0 4px 14px rgba(51, 102, 204, .09);
    text-decoration: none;
  }

  .rel-pic {
    flex-shrink: 0;
    object-fit: contain;
    padding: 3px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
  }

  .rel-name {
    text-align: center;
    padding: 10px 5px 0;
    margin: 0;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #474747;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
/* ============ 停播提示（测试卡圆心） ============ */
.stop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* 中文「停播」大字 */
.stop span:first-child {
  font-size: clamp(28px, 5.2vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 12px;
  padding-left: 12px;          /* 抵消 letter-spacing 尾字右侧空隙，视觉居中 */
  color: #ff4d4d;
  text-shadow: 0 0 20px rgba(255, 77, 77, .55),
               0 2px 6px rgba(0, 0, 0, .7);
}

/* 英文副标题 */
.stop span:last-child {
  font-size: clamp(9px, 1vw, 12px);
  font-weight: 500;
  letter-spacing: 3px;
  padding-left: 3px;
  color: rgba(255, 255, 255, .42);
  text-transform: uppercase;
}
  /* 窄屏（手机）单列 */
  @media (max-width: 420px) {
    .rel-grid { grid-template-columns: 1fr; }
  }

  /* 关键词标签 */
  .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .tag {
    font-size: 11px;
    line-height: 1.6;
    padding: 2px 7px;
    border-radius: 3px;
    background: #eaf1fb;
    color: #eee;
    border: 1px solid #d3e0f5;
    white-space: nowrap;
  }

  @media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
  }