body.sports-demo-page {
  margin: 0;
  color: #1f2937;
  background: #eef3fa;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.demo-header {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 64px;
  gap: 20px;
  padding: 0 5vw;
  border-bottom: 1px solid #e9edf2;
  background: #fff;
}

.demo-header .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1677ff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.demo-header .brand img { width: 27px; height: 27px; }
.demo-header span { color: #8892a1; font-size: 14px; }
.demo-header > a:last-child { margin-left: auto; color: #1677ff; font-size: 14px; text-decoration: none; }

.sports-demo-embed {
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px 28px 62px;
}

.sports-demo-intro { text-align: center; }
.sports-demo-intro span { color: #1677ff; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.sports-demo-intro h1 { margin: 10px 0 8px; font-size: 32px; }
.sports-demo-intro p { margin: 0 0 52px; color: #778397; font-size: 14px; }

.sports-demo {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(360px, 430px) minmax(300px, 360px);
  align-items: start;
  justify-content: center;
  gap: 28px;
}

.sports-demo section { min-width: 0; }
.sports-demo section h2 {
  height: 28px;
  margin: 0 0 14px;
  color: #68758a;
  font-size: 15px;
  font-weight: 600;
  line-height: 28px;
  text-align: center;
}

.sports-demo iframe {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 760px;
  overflow: hidden;
  border: 0;
  border-radius: 23px;
  background: #fff;
}

.device-frame {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 15px 8px 18px;
  border: 5px solid #1b2433;
  border-radius: 36px;
  background: linear-gradient(145deg, #202b3b, #0d1420 52%, #263246);
  box-shadow:
    0 22px 42px rgba(18, 35, 61, .2),
    inset 0 0 0 1px rgba(255, 255, 255, .16),
    inset 0 0 0 3px rgba(0, 0, 0, .2);
}

.phone-speaker {
  position: absolute;
  top: 5px;
  left: 50%;
  z-index: 3;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: #05080e;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12);
  transform: translateX(-50%);
}

.phone-home {
  position: absolute;
  bottom: 6px;
  left: 50%;
  z-index: 3;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  transform: translateX(-50%);
}

.demo-list { grid-column: 1; }
.demo-referee {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  transform: translateY(-18px);
}
.demo-detail { grid-column: 3; }

.demo-referee h2 {
  color: #125fc7 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.demo-referee h2 span {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: #1677ff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  vertical-align: 2px;
}

.demo-referee .device-frame {
  border-color: #17253d;
  background: linear-gradient(145deg, #23334d, #091525 55%, #24436d);
  box-shadow:
    0 28px 62px rgba(22, 89, 184, .28),
    0 0 0 7px rgba(22, 119, 255, .09),
    inset 0 0 0 1px rgba(110, 170, 255, .35),
    inset 0 0 0 3px rgba(0, 0, 0, .2);
}

.demo-referee iframe {
  height: 800px;
  border-radius: 25px;
}

.sports-demo-status {
  margin: 34px 0 0;
  color: #7b8798;
  font-size: 13px;
  text-align: center;
}
.sports-demo-status.is-ready { color: #16854a; }
.sports-demo-status.is-error { color: #cf4d4d; }

@media (max-width: 1100px) {
  .sports-demo {
    grid-template-columns: minmax(260px, 315px) minmax(330px, 390px) minmax(260px, 315px);
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .demo-header { padding: 0 18px; }
  .demo-header span { display: none; }
  .sports-demo-embed { padding: 38px 18px 48px; }
  .sports-demo-intro p { margin-bottom: 34px; }
  .sports-demo { grid-template-columns: minmax(280px, 390px); gap: 36px; }
  .demo-referee,
  .demo-detail,
  .demo-list { grid-column: 1; transform: none; }
  .demo-referee { grid-row: 1; }
  .demo-detail { grid-row: 2; }
  .demo-list { grid-row: 3; }
  .sports-demo iframe { height: 720px; }
  .demo-referee iframe { height: 760px; }
}
