/* GP weekend v2: hero photo, circuit card, sessions by day with top 3 */
#tab-next {
  --h-card: #ffffff; --h-ink: #111317; --h-ink-2: #5d6470; --h-ink-3: #9aa1ab; --h-line: #e7e9ee;
  --h-red: #e10600; --h-done: #f6f7f9;
}
[data-theme="dark"] #tab-next {
  --h-card: #17191d; --h-ink: #f2f3f5; --h-ink-2: #a6acb6; --h-ink-3: #6f7680; --h-line: #262a31;
  --h-done: #131518;
}
#tab-next .g2 { font-family: Manrope, Inter, system-ui, sans-serif; color: var(--h-ink); padding-bottom: 8px; }
#tab-next .g2 .num { font-variant-numeric: tabular-nums; font-family: "JetBrains Mono", ui-monospace, monospace; }
#tab-next .g2 button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
#tab-next .g2-empty { padding: 60px 0; text-align: center; color: var(--h-ink-2); font-weight: 600; }

/* Hero */
#tab-next .g2-hero { border-radius: 26px; overflow: hidden; position: relative; min-height: 270px; margin-top: 4px;
  background: #1c1f24 center/cover no-repeat; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
#tab-next .g2-hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.1) 30%, rgba(0,0,0,.82) 100%); }
#tab-next .g2-hero > * { position: relative; }
#tab-next .g2-hero-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; }
#tab-next .g2 .g2-back { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; color: #fff; }
#tab-next .g2-back svg { width: 18px; height: 18px; }
#tab-next .g2-pill { background: rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 700; }
#tab-next .g2-hero-body { padding: 18px; }
#tab-next .g2-name { font-size: 30px; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; line-height: 1.1; }
#tab-next .g2-name img { width: 32px; height: 21px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.3); }
#tab-next .g2-meta { font-size: 13px; opacity: .85; margin-top: 4px; font-weight: 600; }
#tab-next .g2-count { margin-top: 14px; }
#tab-next .g2-count em { font-style: normal; font-size: 12px; font-weight: 700; opacity: .8; display: block; margin-bottom: 6px; }
#tab-next .g2-cells { display: flex; gap: 8px; }
#tab-next .g2-cells div { background: rgba(0,0,0,.45); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 12px; padding: 7px 10px; min-width: 54px; }
#tab-next .g2-cells b { display: block; font-size: 22px; font-weight: 700; line-height: 1.1; color: #fff; }
#tab-next .g2-cells span { font-size: 10px; font-weight: 700; opacity: .85; color: #fff; text-transform: uppercase; }
#tab-next .g2-count.live, #tab-next .g2-count:not(:has(.g2-cells)) { display: inline-flex; align-items: center; gap: 8px; background: var(--h-red);
  border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 800; }
#tab-next .g2-count .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: g2pulse 1.4s infinite; }
@keyframes g2pulse { 50% { opacity: .3; } }

/* Circuit card */
#tab-next .g2-track { display: flex; gap: 12px; align-items: center; background: var(--h-card); border: 1px solid var(--h-line);
  border-radius: 20px; padding: 12px; margin-top: 12px; cursor: pointer; }
#tab-next .g2-track svg { width: 96px; flex: 0 0 auto; }
#tab-next .g2-track svg path { fill: none; stroke: var(--h-ink); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
#tab-next .g2-track-info { min-width: 0; flex: 1; }
#tab-next .g2-track-info > b { display: block; font-size: 14px; font-weight: 800; line-height: 1.2; }
#tab-next .g2-track-info > span { display: block; font-size: 12px; color: var(--h-ink-2); font-weight: 600; margin-top: 2px; }
#tab-next .g2-track-facts { display: flex; gap: 12px; margin-top: 8px; }
#tab-next .g2-track-facts i { display: block; font-style: normal; font-size: 10px; color: var(--h-ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
#tab-next .g2-track-facts b { font-size: 14px; font-weight: 700; white-space: nowrap; }

/* Sessions */
#tab-next .g2-day { font-size: 13px; font-weight: 800; color: var(--h-ink-2); margin: 18px 2px 8px; }
#tab-next .g2-day::first-letter { text-transform: uppercase; }
#tab-next .g2-ses { display: block; position: static; min-height: 0; background: var(--h-card); border: 1px solid var(--h-line); border-radius: 18px; padding: 12px 14px; margin-bottom: 8px; }
#tab-next .g2-ses.is-open { cursor: pointer; }
#tab-next .g2-ses.next { border-color: var(--h-red); box-shadow: inset 0 0 0 1px var(--h-red); }
#tab-next .g2-ses.live { border-color: var(--h-red); box-shadow: inset 0 0 0 1px var(--h-red); }
#tab-next .g2-ses-head { display: flex; align-items: center; gap: 8px; }
#tab-next .g2-ses-head .n { flex: 1; font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
#tab-next .g2-ses-head .t { font-size: 15px; font-weight: 700; color: var(--h-ink-2); }
#tab-next .g2-ses.next .g2-ses-head .t { color: var(--h-red); }
#tab-next .g2-ses-head .go { width: 16px; height: 16px; color: var(--h-ink-3); }
#tab-next .g2-chip { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; border-radius: 999px; padding: 3px 7px; }
#tab-next .g2-chip.next { background: color-mix(in srgb, var(--h-red) 12%, transparent); color: var(--h-red); }
#tab-next .g2-chip.live { background: var(--h-red); color: #fff; }
#tab-next .g2-tops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
#tab-next .g2-top { display: grid; grid-template-columns: auto 26px minmax(0, 1fr); align-items: center; column-gap: 6px; row-gap: 3px;
  min-width: 0; background: var(--h-done); border-radius: 12px; padding: 7px 8px; }
#tab-next .g2-top .p { font-size: 11px; font-weight: 700; color: var(--h-ink-3); width: 10px; }
#tab-next .g2-top:first-child .p { color: var(--h-red); }
#tab-next .g2-face { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--tc) 55%, #fff) 0%, var(--tc) 75%); }
#tab-next .g2-face img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.15) translateY(6%); }
#tab-next .g2-top .w { display: contents; }
#tab-next .g2-top .w b { display: block; font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tab-next .g2-top .w span { grid-column: 1 / -1; font-size: 11px; color: var(--h-ink-2); font-weight: 600; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }

#tab-next .g2-hero-r { display: flex; align-items: center; gap: 8px; }

/* session card: team radio archive button + sheet */
#tab-next .g2-radio { display: inline-flex; align-items: center; gap: 4px; border: 0; border-radius: 999px; padding: 5px 9px;
  background: color-mix(in srgb, var(--h-red) 12%, transparent); color: var(--h-red); font-size: 12px; font-weight: 800; }
#tab-next .g2-radio svg { width: 14px; height: 14px; }
.rs-sub { margin: 4px 0 12px; font-size: 13px; color: var(--h-ink-3); }
.rs-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; margin-bottom: 6px; padding: 9px 12px;
  background: var(--h-card); border: 1px solid var(--h-line); border-radius: 14px; color: var(--h-ink); font: inherit; }
.rs-item .face { flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--tc); }
.rs-item .face img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rs-item .mid { flex: 1; min-width: 0; }
.rs-item .mid b { font-size: 14px; font-weight: 800; }
.rs-item .mid .tm { margin-left: 6px; font-size: 11px; color: var(--h-ink-3); }
.rs-item .mid .tr { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; }
.rs-item .mid .en { display: block; margin-top: 2px; font-size: 11px; line-height: 1.3; color: var(--h-ink-3); }
.rs-item .play { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--h-red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-style: normal; }
.rs-item .play i { font-style: normal; }
.rs-item .play .pa, .rs-item.playing .play .pl { display: none; }
.rs-item.playing .play .pa { display: inline; }
.rs-item.playing { border-color: var(--h-red); box-shadow: inset 0 0 0 1px var(--h-red); }
