/* 国家电网卓越杯 · GAME DAY — court lines, an LED scoreboard, a box score and an instant replay. */
body.case-series-sgb {
  --case-series-copper: #ff7a1a;
  --case-series-gold: #ffb15c;
  --case-series-line: rgba(255, 122, 26, .2);
  --case-series-bar-bg: rgba(8, 22, 15, .94);
  --case-series-menu-bg: #0b2017;
  --case-series-border: rgba(255, 122, 26, .4);
  --case-series-brand-muted: #ffb15c;
  --case-series-link-muted: #b9cbbf;
  --case-series-current: rgba(255, 122, 26, .14);
  --case-series-footer-bg: radial-gradient(circle at 16% 16%, rgba(31, 122, 76, .4), transparent 34%), linear-gradient(150deg, #07150e, #0f2c1e 58%, #06110b);
  --g-court: #0e2016;
  --g-court-2: #143021;
  --g-line: rgba(255, 255, 255, .14);
  --g-orange: #ff7a1a;
  --g-red: #ff3b2f;
  --g-green: #1f9d5a;
  --g-paper: #f3f1ea;
  --g-ink: #0d1a13;
  --g-cond: "DIN Condensed", "Bahnschrift", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --g-mono: ui-monospace, Menlo, Consolas, monospace;
  background: var(--g-court);
  color: #fff;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  margin: 0;
}
body.case-series-sgb a { color: inherit; text-decoration: none; }
.g { --bk-c: var(--g-orange); }
.g-kicker { align-items: center; color: var(--g-orange); display: inline-flex; font: 700 13px/1 var(--g-cond); gap: 10px; letter-spacing: .16em; text-transform: uppercase; }
.g-kicker b { background: var(--g-red); border-radius: 2px; color: #fff; padding: 5px 7px; }
.g-h2 { font-size: clamp(32px, 4.4vw, 64px); font-weight: 900; letter-spacing: -.02em; line-height: 1.12; margin-top: 16px; }
.g-h2 em { color: var(--g-orange); font-style: normal; }
.g-lead { color: rgba(255, 255, 255, .72); font-size: 17px; line-height: 2; max-width: 36em; }
.g-sec { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.g-light { background: var(--g-paper); color: var(--g-ink); }
.g-light .g-lead { color: #3d4b43; }
/* Court markings: centre circle, half-court line, three-point arc. */
.g-court {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 118px, var(--g-line) 119px 121px, transparent 122px),
    linear-gradient(90deg, transparent calc(50% - 1px), var(--g-line) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    radial-gradient(ellipse 420px 520px at 0 50%, transparent 0 99%, var(--g-line) 99.3% 99.7%, transparent 100%),
    radial-gradient(ellipse 420px 520px at 100% 50%, transparent 0 99%, var(--g-line) 99.3% 99.7%, transparent 100%),
    var(--g-court);
}

/* LED digits */
.g-led { background: #120606; border: 2px solid #2a1414; border-radius: 8px; box-shadow: inset 0 0 24px rgba(0, 0, 0, .8), 0 0 0 4px #0a0303; color: var(--g-red); display: inline-block; font: 700 clamp(56px, 6vw, 96px)/1 var(--g-cond); letter-spacing: .04em; padding: 10px 16px 6px; text-shadow: 0 0 16px rgba(255, 59, 47, .8); }
.g-led--amber { color: #ffb020; text-shadow: 0 0 16px rgba(255, 176, 32, .7); }

/* ---------- hero ---------- */
.g-hero { overflow: hidden; padding: clamp(36px, 5vw, 70px) 0 clamp(70px, 8vw, 110px); }
.g-board { align-items: stretch; background: #0a0f0c; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); display: grid; gap: 1px; grid-template-columns: 1fr auto 1fr; margin: 0 auto; max-width: 980px; overflow: hidden; }
.g-board > div { align-items: center; background: #0d1410; display: flex; flex-direction: column; gap: 10px; justify-content: center; padding: 18px 16px; text-align: center; }
.g-board small { color: rgba(255, 255, 255, .55); font: 700 12px/1 var(--g-cond); letter-spacing: .2em; }
.g-board strong { font: 700 clamp(22px, 2.4vw, 34px)/1.1 var(--g-cond); letter-spacing: .04em; }
.g-board strong em { color: var(--g-orange); font-style: normal; }
.g-hero__title { margin: clamp(30px, 4vw, 50px) auto 0; max-width: 980px; text-align: center; }
.g-hero__sub { color: rgba(255, 255, 255, .7); display: block; font-size: clamp(14px, 1.15vw, 16px); font-weight: 700; letter-spacing: .06em; }
.g-hero__main { display: block; font: 800 clamp(58px, 8.4vw, 132px)/.9 var(--g-cond); letter-spacing: .01em; margin-top: 14px; }
.g-hero__main em { color: var(--g-orange); font-style: normal; }
.g-hero__main span { display: block; font: 900 clamp(24px, 2.6vw, 38px)/1.3 "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 0; margin-top: 14px; }
.g-hero .g-lead { margin: 18px auto 0; text-align: center; }
.g-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
.g-hero__photo { margin: clamp(36px, 5vw, 60px) auto 0; max-width: 1100px; position: relative; }
.g-hero__photo img { aspect-ratio: 16 / 9; border-radius: 12px; object-fit: cover; width: 100%; }
.g-hero__photo figcaption { background: var(--g-red); border-radius: 3px; color: #fff; font: 700 12px/1 var(--g-cond); left: 18px; letter-spacing: .14em; padding: 7px 10px; position: absolute; top: 18px; }
.g-hero__photo figcaption::before { animation: g-live 1.2s steps(2, start) infinite; content: "● "; }
@keyframes g-live { to { visibility: hidden; } }

/* ---------- box score ---------- */
.g-score { display: grid; gap: clamp(30px, 5vw, 70px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.g-score__answer { color: #2e3c34; font-size: 17px; line-height: 2; margin-top: 18px; }
.g-table { border-collapse: collapse; font-size: 15px; width: 100%; }
.g-table caption { background: var(--g-ink); color: #fff; font: 700 13px/1 var(--g-cond); letter-spacing: .18em; padding: 12px 14px; text-align: left; }
.g-table th, .g-table td { border-bottom: 1px solid rgba(13, 26, 19, .14); padding: 12px 14px; text-align: left; vertical-align: top; }
.g-table th { color: #5b6a61; font-weight: 700; white-space: nowrap; width: 30%; }
.g-table td { font-weight: 800; }
.g-table tr:nth-child(odd) td, .g-table tr:nth-child(odd) th { background: rgba(31, 157, 90, .06); }
.g-table .is-big td { color: var(--g-orange); font: 700 34px/1 var(--g-cond); }

/* ---------- instant replay ---------- */
.g-replay { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.g-stage { align-self: start; aspect-ratio: 1120 / 870; background: #0e2016; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; grid-column: 2; grid-row: 1; overflow: hidden; position: sticky; top: calc(var(--bk-top) + 5vh); }
.g-stage figure { inset: 0; opacity: 0; position: absolute; transition: opacity .5s ease; }
.g-stage img { height: 100%; object-fit: cover; width: 100%; }
.g-stage[data-stage="1"] .s1, .g-stage[data-stage="2"] .s2, .g-stage[data-stage="3"] .s3, .g-stage[data-stage="4"] .s4, .g-stage[data-stage="5"] .s5, .g-stage[data-stage="6"] .s6 { opacity: 1; }
.g-stage .g-led { font-size: clamp(34px, 3.4vw, 54px); z-index: 2; left: 16px; padding: 6px 10px 3px; position: absolute; top: 16px; }
.g-stage__tag { background: var(--g-red); border-radius: 2px; color: #fff; font: 700 11px/1 var(--g-cond); letter-spacing: .16em; padding: 6px 8px; position: absolute; right: 16px; top: 16px; z-index: 2; }
.g-steps { grid-column: 1; grid-row: 1; }
.g-step { display: flex; flex-direction: column; justify-content: center; min-height: 60vh; }
.g-step .bk-step { color: var(--g-orange); font-family: var(--g-cond); }
.g-step .bk-step small { color: rgba(255, 255, 255, .5); font: 700 13px/1 var(--g-cond); letter-spacing: .14em; }
.g-step h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 900; margin-top: 10px; }
.g-step p { color: rgba(255, 255, 255, .72); font-size: 16px; line-height: 1.95; margin-top: 10px; max-width: 30em; }

/* ---------- highlights ---------- */
.g-plays { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(36px, 5vw, 56px); }
.g-play { border-radius: 12px; overflow: hidden; position: relative; }
.g-play img { aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; width: 100%; }
.g-play:hover img { transform: scale(1.04); }
.g-play::before, .g-play::after { border: 2px solid rgba(255, 255, 255, .8); content: ""; height: 28px; position: absolute; width: 28px; z-index: 1; }
.g-play::before { border-bottom: 0; border-right: 0; left: 14px; top: 14px; }
.g-play::after { border-left: 0; border-top: 0; bottom: 14px; right: 14px; }
.g-play figcaption { background: rgba(10, 15, 12, .82); border-left: 4px solid var(--g-orange); bottom: 20px; left: 20px; padding: 10px 14px; position: absolute; }
.g-play figcaption b { color: var(--g-orange); display: block; font: 700 12px/1 var(--g-cond); letter-spacing: .16em; }
.g-play figcaption span { display: block; font-size: 16px; font-weight: 800; margin-top: 4px; }
.g-play__no { color: rgba(255, 255, 255, .85); font: 700 13px/1 var(--g-cond); letter-spacing: .16em; position: absolute; right: 18px; top: 18px; background: var(--g-green); padding: 6px 8px; border-radius: 2px; }

/* ---------- MVP card ---------- */
.g-mvp { align-items: center; display: grid; gap: clamp(28px, 5vw, 72px); grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.g-mvp img { border-radius: 12px; box-shadow: 0 30px 60px rgba(13, 26, 19, .25); width: 100%; }
.g-card { background: var(--g-ink); border-radius: 16px; color: #fff; overflow: hidden; }
.g-card header { background: linear-gradient(120deg, var(--g-orange), #ff9d42); color: var(--g-ink); padding: 18px 22px; }
.g-card header small { display: block; font: 700 12px/1 var(--g-cond); letter-spacing: .2em; }
.g-card header b { display: block; font-size: 26px; font-weight: 900; margin-top: 6px; }
.g-card dl { padding: 8px 22px 18px; }
.g-card dl div { border-bottom: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; }
.g-card dt { color: rgba(255, 255, 255, .6); font-size: 14px; }
.g-card dd { font-size: 16px; font-weight: 800; text-align: right; }
.g-card dd.is-big { color: var(--g-orange); font: 700 40px/1 var(--g-cond); }
.g-card p { color: rgba(255, 255, 255, .7); font-size: 14px; padding: 0 22px 22px; }

/* ---------- uses ---------- */
.g-uses { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 36px; }
.g-use { background: var(--g-court-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 22px; }
.g-use b { color: var(--g-orange); font: 700 34px/1 var(--g-cond); }
.g-use h3 { font-size: 19px; margin-top: 14px; }
.g-use p { color: rgba(255, 255, 255, .68); font-size: 14px; line-height: 1.8; margin-top: 6px; }

/* ---------- film / faq / cta / source ---------- */
.g-film { align-items: center; display: grid; gap: clamp(28px, 4vw, 60px); grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.g-film .bk-film { border-radius: 12px; box-shadow: 0 0 0 4px #0a0303, 0 30px 60px rgba(0, 0, 0, .5); overflow: hidden; }
.g-film ul { display: grid; gap: 8px; margin-top: 22px; }
.g-film li { color: rgba(255, 255, 255, .72); font-size: 15px; }
.g-film li b { color: var(--g-orange); display: inline-block; min-width: 60px; }
.g-faq { display: grid; gap: clamp(30px, 5vw, 80px); grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.g-faq summary { font-size: clamp(17px, 1.5vw, 20px); }
.g-faq details p { font-size: 16px; }
.g-cta { background: var(--g-orange); color: var(--g-ink); overflow: hidden; }
.g-cta .bk-studs { --bk-stud: rgba(13, 26, 19, .12); inset: 0; position: absolute; }
.g-cta__grid { align-items: end; display: grid; gap: 30px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); position: relative; }
.g-cta .g-kicker { color: var(--g-ink); }
.g-cta .g-h2 em { color: #fff; }
.g-cta p { font-size: 16px; line-height: 1.9; }
.g-cta .bk-btn { --bk-c: var(--g-ink); margin-top: 22px; }
.g-source { color: rgba(255, 255, 255, .55); font-size: 13px; line-height: 1.9; padding: 36px 0 48px; }
.g-source h2 { color: #fff; font-size: 14px; margin-bottom: 6px; }

@media (max-width: 960px) {
  .g-score, .g-mvp, .g-film, .g-faq, .g-cta__grid { grid-template-columns: 1fr; }
  .g-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .g-board { grid-template-columns: 1fr 1fr; }
  .g-board > div:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .g-hero__main { font-size: clamp(54px, 17vw, 76px); }
  .g-hero__actions .bk-btn { flex: 1 1 100%; justify-content: center; }
  .g-replay { display: block; }
  .g-stage { aspect-ratio: auto; border-radius: 0; height: 38vh; height: 38svh; margin: 0 -20px; top: var(--bk-top); z-index: 3; }
  .g-step { min-height: 56vh; min-height: 56svh; }
  .g-plays { grid-template-columns: 1fr; }
  .g-uses { grid-template-columns: 1fr; }
}
