/* GameCast IQ "Arena Night" theme. Loaded after app.css; the stats layouts stay as they are. */
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 600; font-display: swap; src: url(font/barlow-600i.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url(font/barlow-800i.woff2) format("woff2"); }
:root {
  --bg: #060608; --panel: rgba(20, 20, 25, .86); --panel2: rgba(34, 34, 42, .9);
  --display: "Barlow Condensed", "Bahnschrift", "DIN Alternate", "Roboto Condensed", "Arial Narrow", var(--font);
  --gold2: #ffe2a0; --glass: rgba(12, 12, 16, .62);
  --pad: max(16px, calc(50vw - 590px));
}
html { scroll-behavior: smooth; }
body { background: var(--bg); overflow-x: hidden; }
body::before { z-index: -1; }
img { max-width: 100%; }

/* ---------- the stage: painted arena, light beams, dust ---------- */
#stage { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: #050506; }
#stage .bg { position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; opacity: 0; transition: opacity 1.3s ease; filter: saturate(1.05); will-change: opacity; }
#stage .bg.on { opacity: .34; }
body[data-page=home] #stage .bg.on { opacity: .9; }
#stage .vig { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(6, 6, 8, .25) 0, rgba(6, 6, 8, .1) 26%, rgba(6, 6, 8, .82) 62%, var(--bg) 88%),
  radial-gradient(120% 80% at 50% 0, transparent 40%, rgba(0, 0, 0, .7)); }
body:not([data-page=home]) #stage .vig { background: linear-gradient(180deg, rgba(6, 6, 8, .5), rgba(6, 6, 8, .9) 46%, var(--bg) 78%); }
#stage .beams { position: absolute; inset: 0; mix-blend-mode: screen; opacity: .8; }
#stage .beams i { position: absolute; top: -12%; width: 26vw; height: 120vh; transform-origin: 50% 0; filter: blur(14px);
  background: linear-gradient(180deg, rgba(255, 226, 166, .2), rgba(255, 226, 166, .05) 45%, transparent 75%);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); animation: sway 11s ease-in-out infinite alternate; }
#stage .beams i:nth-child(1) { left: 4vw; --a: 14deg; --b: 24deg; }
#stage .beams i:nth-child(2) { left: 37vw; --a: -6deg; --b: 5deg; animation-duration: 14s; background: linear-gradient(180deg, rgba(190, 215, 255, .16), rgba(190, 215, 255, .04) 45%, transparent 75%); }
#stage .beams i:nth-child(3) { right: 3vw; --a: -24deg; --b: -13deg; animation-duration: 9s; }
@keyframes sway { from { transform: rotate(var(--a)); } to { transform: rotate(var(--b)); } }
#dust { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }

/* ---------- intro ---------- */
#intro { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; overflow: hidden; cursor: pointer;
  transition: opacity .6s ease, transform .7s ease; animation: introgone 0s linear 4.5s forwards; }
#intro > * { grid-area: 1 / 1; }
#intro .lines { width: min(92vw, 980px); color: var(--gold); opacity: .55; }
#intro .lines * { stroke-dasharray: 1; stroke-dashoffset: 1; }
#intro.play .lines * { animation: draw 1.15s cubic-bezier(.5, 0, .2, 1) forwards; }
#intro .mark { width: min(78vw, 720px); height: auto; opacity: 0; }
#intro.play .mark { animation: slam .75s cubic-bezier(.2, .9, .2, 1) .85s forwards; }
@keyframes slam { 0% { opacity: 0; transform: scale(1.9); filter: blur(14px) brightness(2.4); } 55% { opacity: 1; transform: scale(.97); filter: blur(0) brightness(1.5); } 100% { opacity: 1; transform: none; filter: none; } }
#intro .flash { width: 100%; height: 100%; opacity: 0; background: radial-gradient(closest-side, rgba(255, 236, 190, .9), rgba(224, 176, 64, .3) 40%, transparent 70%); pointer-events: none; }
#intro.play .flash { animation: flashbang .9s ease-out 1.05s; }
@keyframes flashbang { 0% { opacity: 0; transform: scale(.3); } 18% { opacity: 1; } 100% { opacity: 0; transform: scale(2.2); } }
#intro.out { opacity: 0; transform: scale(1.08); pointer-events: none; }
@keyframes introgone { to { visibility: hidden; pointer-events: none; } }

/* ---------- page wipe ---------- */
#wipe { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }
#wipe::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 46vw; transform: translateX(-140%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(224, 176, 64, .0) 8%, rgba(224, 176, 64, .55) 46%, rgba(255, 240, 205, .95) 50%, rgba(224, 176, 64, .55) 54%, transparent); filter: blur(6px); }
#wipe.go::before { animation: wipe .72s cubic-bezier(.6, 0, .25, 1); }
@keyframes wipe { from { transform: translateX(-140%) skewX(-18deg); } to { transform: translateX(340%) skewX(-18deg); } }

/* ---------- top bar ---------- */
.topbar { background: rgba(6, 6, 8, .5); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); transition: background .3s; }
body.scrolled .topbar { background: rgba(6, 6, 8, .88); }
.topbar .in { height: 64px; }
.topbar .brand img { height: 34px; width: auto; }
.topbar nav a.staff { color: var(--muted); font-weight: 500; }
.search input { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); height: 40px; transition: border-color .2s, background .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--gold); background: rgba(0, 0, 0, .5); box-shadow: 0 0 0 3px rgba(224, 176, 64, .18); }
.qres { background: rgba(10, 10, 14, .97); }

.wrap { padding-top: 0; }
body:not([data-page=home]) .wrap { padding-top: 18px; }
.panel { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04); }
.eyebrow { font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.btn.big { padding: 13px 22px; font-size: 15px; border-radius: 12px; font-weight: 700; letter-spacing: .02em; }
.btn.ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn.gold { box-shadow: 0 10px 30px -10px rgba(224, 176, 64, .7); position: relative; overflow: hidden; }
.btn.gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .7) 50%, transparent 60%); transform: translateX(-120%); animation: btnshine 4.5s ease-in-out 2s infinite; }
@keyframes btnshine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

.sechead { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.sechead h2 { font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(24px, 3.4vw, 34px); letter-spacing: .01em; color: var(--ink); margin: 0; }
.sechead h2::before { width: 22px; height: 4px; }
.sechead h2 a { color: var(--gold); }
.sechead .more { margin-left: auto; font-size: 13px; color: var(--ink2); font-weight: 600; white-space: nowrap; }
.section { margin-top: 44px; }

/* ---------- home hero ---------- */
.hero2 { position: relative; margin: 0 calc(50% - 50vw); padding: 34px var(--pad) 26px; min-height: min(82vh, 760px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 20px; }
.hero2 .copy { position: relative; z-index: 1; }
.kin { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(52px, 8.6vw, 124px); line-height: .88; letter-spacing: -.01em; margin: 14px 0 18px; text-shadow: 0 6px 40px rgba(0, 0, 0, .6); }
.kin span { display: block; overflow: hidden; padding: .04em .12em .06em 0; }
.kin i { display: inline-block; font-style: inherit; transform: translateY(112%) skewY(6deg); animation: kinup .95s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(var(--d, 0s) + var(--n, 0) * .13s); }
.kin span:nth-child(2) i { --n: 1; } .kin span:nth-child(3) i { --n: 2; }
@keyframes kinup { to { transform: none; } }
.kin .gold { background: linear-gradient(100deg, #b8862a 0%, var(--gold) 30%, #fff3cf 50%, var(--gold) 70%, #b8862a 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: kinup .95s cubic-bezier(.16, 1, .3, 1) forwards, goldrun 5s linear 1.4s infinite; animation-delay: calc(var(--d, 0s) + .26s), 1.6s; }
@keyframes goldrun { to { background-position: -220% 0; } }
.hero2 .lede { max-width: 520px; color: #d6d8de; font-size: clamp(15px, 1.5vw, 18px); margin: 0 0 22px; animation: rise .8s var(--ease) .55s both; }
.hero2 .cta { display: flex; flex-wrap: wrap; gap: 12px; animation: rise .8s var(--ease) .7s both; }
.hero2 .eyebrow { animation: fade 1s ease .1s both; }
.ballwrap { position: relative; justify-self: center; width: min(40vw, 480px); aspect-ratio: 1; animation: dropin 1.7s linear .25s both; }
.ball3d { width: 100%; height: 100%; animation: floaty 7s ease-in-out 2.2s infinite; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.ball3d canvas, .ball3d .ballimg { display: block; width: 100%; height: 100%; }
.ball3d .ballimg { object-fit: cover; border-radius: 50%; }
.ballshadow { position: absolute; left: 14%; right: 14%; bottom: -7%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent); animation: shadowin 1.7s linear .25s both; }
@keyframes dropin { 0% { transform: translateY(-150%); animation-timing-function: cubic-bezier(.5, 0, 1, .6); } 34% { transform: translateY(0) scale(1.06, .92); animation-timing-function: cubic-bezier(0, .5, .4, 1); } 52% { transform: translateY(-26%); animation-timing-function: cubic-bezier(.5, 0, 1, .6); } 68% { transform: translateY(0) scale(1.03, .96); animation-timing-function: cubic-bezier(0, .5, .4, 1); } 80% { transform: translateY(-8%); animation-timing-function: cubic-bezier(.5, 0, 1, .6); } 90%, 100% { transform: none; } }
@keyframes shadowin { 0% { opacity: 0; transform: scale(.3); } 34% { opacity: 1; transform: scale(1.05); } 52% { opacity: .5; transform: scale(.7); } 68% { opacity: 1; transform: scale(1); } 80% { opacity: .8; transform: scale(.9); } 100% { opacity: 1; transform: none; } }
@keyframes floaty { 50% { transform: translateY(-3.5%); } }

/* results ticker */
.ticker { margin: 0 calc(50% - 50vw); border-top: 1px solid rgba(224, 176, 64, .28); border-bottom: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(90deg, rgba(6, 6, 8, .9), rgba(20, 16, 6, .78), rgba(6, 6, 8, .9)); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ticker .run { display: flex; width: max-content; animation: marquee var(--dur, 46s) linear infinite; }
.ticker:hover .run { animation-play-state: paused; }
.ticker a { display: flex; align-items: baseline; gap: 7px; padding: 12px 22px; white-space: nowrap; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 19px; border-right: 1px solid rgba(255, 255, 255, .07); }
.ticker a b { font-weight: 800; } .ticker a i { color: var(--muted); font-style: normal; }
.ticker a span { font-family: var(--font); font-style: normal; font-weight: 500; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-left: 4px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- jumbotron ---------- */
.jwrap { perspective: 1400px; padding-top: 56px; }
.jumbo { position: relative; display: block; max-width: 940px; margin: 0 auto; border-radius: 20px; padding: 10px; color: inherit;
  background: linear-gradient(180deg, #2a2a33, #0c0c10 30%, #050507); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 50px 90px -30px #000, 0 0 90px -20px rgba(224, 176, 64, .25), inset 0 1px 0 rgba(255, 255, 255, .14);
  transform: rotateX(calc(9deg + var(--tx, 0deg))) rotateY(var(--ty, 0deg)); transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .4s; }
.jumbo:hover { color: inherit; box-shadow: 0 50px 90px -30px #000, 0 0 110px -10px rgba(224, 176, 64, .42), inset 0 1px 0 rgba(255, 255, 255, .14); }
.jumbo .cables { position: absolute; left: 0; right: 0; top: -56px; height: 56px; pointer-events: none; }
.jumbo .cables i { position: absolute; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, transparent, #6b6b76); }
.jumbo .cables i:first-child { left: 16%; } .jumbo .cables i:last-child { right: 16%; }
.jumbo .screen { position: relative; border-radius: 13px; overflow: hidden; padding: 26px 22px 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
  background: radial-gradient(120% 140% at 50% 0, #191a22, #07070a 70%); }
.jumbo .screen::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px); background-size: 5px 5px; pointer-events: none; }
.jumbo .screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .09) 46%, transparent 58%); transform: translateX(-100%); animation: glare 7s ease-in-out 1.5s infinite; pointer-events: none; }
@keyframes glare { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.jumbo .side { position: relative; text-align: center; min-width: 0; }
.jumbo .side .nm { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(17px, 2.6vw, 30px); line-height: 1; overflow-wrap: anywhere; }
.jumbo .side .bar { display: block; height: 4px; width: 46px; margin: 0 auto 10px; border-radius: 2px; background: var(--c, var(--gold)); box-shadow: 0 0 16px var(--c, var(--gold)); }
.jumbo .side .sc { font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(64px, 13vw, 150px); line-height: .92; color: #fff; text-shadow: 0 0 34px rgba(255, 226, 160, .45), 0 0 4px rgba(255, 255, 255, .6); }
.jumbo .side.lose .sc { color: #8a8d98; text-shadow: none; }
.jumbo .midc { position: relative; text-align: center; min-width: 96px; font-size: 13px; color: var(--ink2); }
.jumbo .midc .clk { font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(24px, 3.6vw, 40px); color: var(--gold2); line-height: 1.1; }
.jumbo .under { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; padding: 11px 8px 4px; font-size: 13px; color: var(--ink2); }
.jumbo .under b { color: var(--gold); font-weight: 700; }
.jumbo.live { border-color: rgba(224, 82, 82, .55); animation: liveglow 2.4s ease-in-out infinite; }
.jfloor { height: 34px; margin: 6px auto 0; max-width: 760px; background: radial-gradient(closest-side, rgba(224, 176, 64, .22), transparent); filter: blur(10px); }

/* ---------- rails ---------- */
.rail, .flow { position: relative; }
.rail .track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px 2px 14px; -webkit-overflow-scrolling: touch; }
.rail .track::-webkit-scrollbar, .flow .track::-webkit-scrollbar { display: none; }
.rail .track > .card { flex: 0 0 min(78vw, 288px); scroll-snap-align: start; }
.arrow { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(8, 8, 11, .82); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: opacity .2s, border-color .2s, transform .2s; }
.arrow:hover { border-color: var(--gold); transform: scale(1.08); }
.arrow.l { left: -14px; } .arrow.r { right: -14px; }
.rail.atstart .arrow.l, .rail.atend .arrow.r { opacity: 0; pointer-events: none; }
@media (pointer: coarse) { .arrow { display: none; } }
.card { background: linear-gradient(180deg, rgba(30, 30, 37, .92), rgba(16, 16, 20, .92)); border-color: rgba(255, 255, 255, .09); border-radius: 14px; padding: 14px 16px; }
.card .row .sc { font-size: 26px; font-weight: 800; font-style: italic; }
.card .row { font-size: 15px; }

/* ---------- league posters (coverflow) ---------- */
.flow .track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 26px calc(50% - 135px) 34px; perspective: 1500px; -webkit-overflow-scrolling: touch; }
.poster { position: relative; flex: 0 0 270px; height: 380px; border-radius: 20px; overflow: hidden; scroll-snap-align: center; color: #fff; isolation: isolate;
  transform: rotateY(var(--ry, 0deg)) scale(var(--sc, 1)); transition: box-shadow .3s; box-shadow: 0 30px 50px -24px #000, 0 0 0 1px rgba(255, 255, 255, .1);
  will-change: transform; }
.poster:hover { color: #fff; box-shadow: 0 30px 60px -20px #000, 0 0 0 1px var(--gold), 0 0 50px -8px rgba(224, 176, 64, .5); }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.poster:hover img { transform: scale(1.07); }
.poster .shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, calc(.12 + var(--dim, 0))) 0, rgba(0, 0, 0, calc(.25 + var(--dim, 0))) 45%, rgba(4, 4, 6, .96) 92%); }
.poster .txt { position: absolute; left: 18px; right: 18px; bottom: 18px; }
.poster .ssn { display: inline-block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #17130a; background: var(--gold); padding: 3px 9px; border-radius: 99px; font-weight: 700; }
.poster h3 { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 34px; line-height: .95; margin: 10px 0 8px; }
.poster .meta { font-size: 13px; color: #d0d2d8; }
.poster .lead { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14px; }
.poster .lead span { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* ---------- parallax band ---------- */
.band { position: relative; margin: 60px calc(50% - 50vw) 0; min-height: 360px; display: grid; place-items: center; overflow: hidden; text-align: center; padding: 60px 20px; }
.band > img { position: absolute; inset: -12% 0; width: 100%; height: 124%; max-width: none; object-fit: cover; z-index: -2; will-change: transform; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg), rgba(6, 6, 8, .35) 30%, rgba(6, 6, 8, .5) 70%, var(--bg)); }
.bigline { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 6.4vw, 80px); line-height: .92; text-shadow: 0 6px 30px #000; }
.band p { max-width: 560px; margin: 14px auto 22px; color: #e3e4e8; font-size: 16px; text-shadow: 0 2px 12px #000; }

/* ---------- league, team and player headers ---------- */
.lhero { position: relative; margin: -18px calc(50% - 50vw) 0; padding: 60px var(--pad) 26px; overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; }
.lhero > img { position: absolute; inset: -10% 0 0; width: 100%; height: 120%; object-fit: cover; object-position: 50% 28%; z-index: -2; will-change: transform; }
.lhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 6, 8, .94) 0, rgba(6, 6, 8, .55) 55%, rgba(6, 6, 8, .25)), linear-gradient(180deg, transparent 40%, var(--bg)); }
.lhero .in { width: 100%; }
.lhero h1 { font-weight: 800; font-size: clamp(42px, 7.4vw, 96px); line-height: .9; margin: 8px 0 14px; text-shadow: 0 6px 30px #000; }
.lhero h1 .dot { width: .34em; height: .34em; border-radius: 50%; vertical-align: .16em; box-shadow: 0 0 22px currentColor; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips span { padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14); font-size: 13px; font-weight: 600; }
.chips span b { color: var(--gold); font-family: var(--display); font-style: italic; font-size: 17px; margin-right: 5px; }
.leagues a.on { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.leagues a { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); }

/* podium */
.podium { display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 2vw, 22px); margin: 34px 0 6px; }
.ped { flex: 0 1 240px; min-width: 0; text-align: center; color: inherit; }
.ped .tm { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(15px, 2.2vw, 24px); line-height: 1; overflow-wrap: anywhere; }
.ped .rec { color: var(--ink2); font-size: 13px; margin: 4px 0 20px; }
.ped .blk { position: relative; border-radius: 0 0 8px 8px; display: grid; place-items: center; height: var(--h);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 78%, #000), color-mix(in srgb, var(--c) 22%, #07070a) 78%, #07070a); box-shadow: 0 30px 40px -20px #000; transform-origin: 50% 100%; }
.ped .blk::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 16px; background: color-mix(in srgb, var(--c) 70%, #fff); clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%); }
.ped .blk b { font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(44px, 8vw, 92px); line-height: 1; color: rgba(255, 255, 255, .92); text-shadow: 0 4px 18px rgba(0, 0, 0, .5); }
.ped.p1 { --h: 170px; order: 2; } .ped.p2 { --h: 124px; order: 1; } .ped.p3 { --h: 92px; order: 3; }
.ped.p1 .blk b { color: var(--gold2); }
.rv .ped .blk { transform: scaleY(0); } .rv.in .ped .blk { transform: none; transition: transform .9s cubic-bezier(.2, 1.3, .3, 1); }
.rv.in .ped.p1 .blk { transition-delay: .25s; } .rv.in .ped.p3 .blk { transition-delay: .12s; }
.ped:hover { color: inherit; } .ped:hover .tm { color: var(--gold); }

/* leader spotlight */
.spot { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.spot .panel { position: relative; overflow: hidden; }
.spot .top1 { display: flex; align-items: flex-end; gap: 12px; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.spot .top1 b { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 58px; line-height: .85; color: var(--gold2); }
.spot .top1 a { font-weight: 700; font-size: 16px; line-height: 1.2; }

/* tabs become pills */
.tabs { border-bottom: 0; gap: 8px; padding: 4px 0; }
.tabs a { border: 1px solid rgba(255, 255, 255, .12); border-radius: 99px; background: rgba(255, 255, 255, .05); padding: 9px 16px; margin: 0; }
.tabs a.on { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.tabs .ink { display: none; }

/* game board on its art */
.board { background: linear-gradient(180deg, rgba(26, 26, 32, .9), rgba(10, 10, 13, .94)); border-color: rgba(255, 255, 255, .1); border-radius: 18px; padding: 24px 18px 16px; box-shadow: 0 40px 70px -40px #000, 0 0 80px -30px rgba(224, 176, 64, .3); }
.board .t .pts { font-size: clamp(46px, 9vw, 92px); font-weight: 800; text-shadow: 0 0 30px rgba(255, 226, 160, .3); }
.board .t .nm { font-size: clamp(16px, 2.6vw, 28px); font-weight: 800; }

/* footer */
.foot { margin-top: 70px; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .55); }
.foot .in { max-width: 1180px; margin: 0 auto; padding: 34px 16px calc(40px + env(safe-area-inset-bottom)); text-align: center; color: var(--muted); font-size: 13.5px; }
.foot img { height: 30px; width: auto; opacity: .9; }
.foot p { max-width: 560px; margin: 12px auto 0; }
.foot .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.foot .links a { color: var(--ink2); font-weight: 600; }

/* ---------- ALYA ---------- */
#alya-btn { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; width: 62px; height: 62px; border-radius: 50%; border: 1px solid rgba(140, 170, 255, .35); cursor: pointer; padding: 0;
  background: radial-gradient(circle at 30% 25%, #1b1d3d, #0b0c1f 70%); box-shadow: 0 14px 34px -8px rgba(0, 0, 0, .8), 0 0 0 0 rgba(120, 150, 255, .5); animation: alyapulse 3.2s ease-out infinite; transition: transform .25s var(--ease); }
#alya-btn:hover { transform: scale(1.08); }
#alya-btn img { width: 40px; height: 40px; display: block; margin: auto; }
@keyframes alyapulse { 0% { box-shadow: 0 14px 34px -8px rgba(0, 0, 0, .8), 0 0 0 0 rgba(120, 150, 255, .5); } 70%, 100% { box-shadow: 0 14px 34px -8px rgba(0, 0, 0, .8), 0 0 0 20px rgba(120, 150, 255, 0); } }
#alya-pill { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 60; max-width: min(300px, calc(100vw - 32px)); padding: 12px 34px 12px 14px; border-radius: 16px 16px 4px 16px;
  background: #0d0e23; border: 1px solid rgba(140, 170, 255, .28); color: #eef0ff; font-size: 14px; line-height: 1.4; box-shadow: 0 16px 40px -12px #000; cursor: pointer; animation: rise .5s var(--ease) both; }
#alya-pill button { position: absolute; top: 4px; right: 6px; background: none; border: 0; color: #9aa3cf; font-size: 18px; cursor: pointer; padding: 4px; }
#alya { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 70; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100dvh - 120px)); display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
  background: #0b0c1c; border: 1px solid rgba(140, 170, 255, .25); box-shadow: 0 30px 80px -20px #000, 0 0 60px -20px rgba(110, 140, 255, .5); transform-origin: 100% 100%; animation: alyaopen .32s var(--ease) both; }
@keyframes alyaopen { from { opacity: 0; transform: translateY(16px) scale(.94); } }
#alya[hidden], #alya-pill[hidden], #alya-btn[hidden] { display: none; }
#alya .hd { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: linear-gradient(120deg, #15173a, #0d0e23); border-bottom: 1px solid rgba(140, 170, 255, .16); }
#alya .hd img { width: 36px; height: 36px; }
#alya .hd .t { flex: 1; min-width: 0; line-height: 1.2; }
#alya .hd .t b { display: block; font-size: 16px; letter-spacing: .06em; color: #fff; }
#alya .hd .t span { font-size: 12px; color: #9aa3cf; }
#alya .hd button { background: none; border: 0; color: #c3c9ee; cursor: pointer; padding: 7px; border-radius: 8px; font-size: 13px; line-height: 1; }
#alya .hd button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
#alya .hd button.x { font-size: 20px; }
#alya .log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
#alya .m { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; animation: rise .3s var(--ease) both; }
#alya .m.a { align-self: flex-start; background: #171937; color: #eef0ff; border-bottom-left-radius: 5px; }
#alya .m.u { align-self: flex-end; background: linear-gradient(120deg, #3b5bff, #7a4dff); color: #fff; border-bottom-right-radius: 5px; }
#alya .m.err { background: #3a1820; color: #ffd9de; }
#alya .lk { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -2px; }
#alya .lk a, #alya .sug button { border: 1px solid rgba(140, 170, 255, .35); background: rgba(120, 150, 255, .1); color: #dfe4ff; border-radius: 99px; padding: 6px 11px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
#alya .lk a:hover, #alya .sug button:hover { background: rgba(120, 150, 255, .25); color: #fff; }
#alya .sug { display: flex; gap: 6px; overflow-x: auto; padding: 0 14px 10px; scrollbar-width: none; flex: none; }
#alya .sug button { white-space: nowrap; }
#alya .dots { display: inline-flex; gap: 4px; padding: 4px 0; }
#alya .dots i { width: 7px; height: 7px; border-radius: 50%; background: #8f9bff; animation: alyadot 1s ease-in-out infinite; }
#alya .dots i:nth-child(2) { animation-delay: .15s; } #alya .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes alyadot { 50% { transform: translateY(-5px); opacity: .5; } }
#alya form.ask { display: flex; gap: 8px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(140, 170, 255, .16); background: #0d0e23; }
#alya form.ask input { flex: 1; min-width: 0; height: 44px; border-radius: 22px; border: 1px solid rgba(140, 170, 255, .28); background: #080916; color: #fff; padding: 0 16px; font-size: 16px; }
#alya form.ask input::placeholder { color: #7e87b8; }
#alya form.ask button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(120deg, #3b5bff, #7a4dff); color: #fff; font-size: 18px; }
#alya form.ask button.mic { background: #171937; }
#alya form.ask button.mic.on { background: #c0354c; animation: alyapulse 1.4s ease-out infinite; }
#alya .enq { align-self: stretch; background: #12143200; border: 1px solid rgba(140, 170, 255, .28); border-radius: 14px; padding: 12px; display: grid; gap: 8px; }
#alya .enq b { color: #fff; font-size: 14px; }
#alya .enq input, #alya .enq textarea { width: 100%; border-radius: 10px; border: 1px solid rgba(140, 170, 255, .28); background: #080916; color: #fff; padding: 9px 11px; font: inherit; font-size: 16px; }
#alya .enq textarea { min-height: 64px; resize: vertical; }
#alya .enq button { height: 42px; border-radius: 10px; border: 0; cursor: pointer; background: linear-gradient(120deg, #3b5bff, #7a4dff); color: #fff; font-weight: 700; }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .topbar .in { height: auto; }
  .topbar .brand img { height: 26px; }
  .topbar nav a.staff { display: none; }
  .hero2 { grid-template-columns: 1fr; min-height: 0; padding-top: 12px; gap: 0; text-align: left; }
  .ballwrap { order: -1; width: min(52vw, 230px); margin-bottom: 6px; }
  .kin { font-size: clamp(50px, 15.5vw, 84px); margin: 8px 0 14px; }
  .hero2 .cta .btn { flex: 1 1 auto; text-align: center; }
  .section { margin-top: 34px; }
  .jwrap { padding-top: 34px; }
  .jumbo { transform: rotateX(6deg); padding: 7px; border-radius: 16px; }
  .jumbo .cables { top: -34px; height: 34px; }
  .jumbo .screen { padding: 18px 8px 14px; gap: 4px; }
  .jumbo .midc { min-width: 62px; font-size: 11.5px; }
  .flow .track { padding: 18px calc(50% - 112px) 26px; gap: 14px; }
  .poster { flex-basis: 224px; height: 318px; }
  .poster h3 { font-size: 28px; }
  .lhero { min-height: 230px; padding-top: 44px; }
  .ped .rec { margin-bottom: 18px; }
  .ped.p1 { --h: 120px; } .ped.p2 { --h: 88px; } .ped.p3 { --h: 64px; }
  .band { min-height: 300px; }
  #stage .beams i { width: 46vw; }
  #alya { right: 0; left: 0; bottom: 0; width: 100%; height: min(84dvh, 640px); border-radius: 20px 20px 0 0; }
  .ticker a { font-size: 17px; padding: 10px 16px; }
  .sechead .more { display: none; }
  .sechead h2 { line-height: 1.05; }
}
@media (min-width: 761px) { .foot .staffonly { display: none; } }


@media (prefers-reduced-motion: reduce) {
  #intro { display: none; }
  .rv { opacity: 1; transform: none; }
  .kin i { transform: none; }
  .rv .ped .blk { transform: none; }
}

/* league page: every game, first twelve shown until asked */
.allgames.short > .card:nth-child(n+13) { display: none; }
.morecard { display: flex; flex-direction: column; justify-content: center; gap: 6px; border-style: dashed; border-color: rgba(224, 176, 64, .45); }
.morecard b { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1; }
.morecard span { color: var(--gold); font-size: 13px; font-weight: 600; }

/* league partners: larger white tiles so round and square marks stay readable */
.sps.lg { gap: 12px; }
.sps.lg .sp { width: 150px; height: 84px; padding: 9px 12px; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.spnote { margin: 12px 0 0; font-size: 13px; }
@media (max-width: 640px) { .sps.lg { gap: 8px; } .sps.lg .sp { width: calc((100% - 16px) / 3); height: 66px; padding: 7px 8px; } }

/* ---- game video ---- */
.tri { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(8,8,12,.62); border: 2px solid var(--gold); backdrop-filter: blur(4px); transition: transform .25s var(--ease), background .25s; }
.tri::after { content: ""; position: absolute; left: 22px; top: 16px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.chip.vid { border-color: var(--gold); color: var(--gold); margin-left: 4px; }
.watch { margin: 18px 0 6px; }
.wplay { position: relative; display: block; height: 210px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: #07070b; color: #fff; }
.wplay img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .62; transition: transform .6s var(--ease), opacity .3s; }
.wplay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,9,0) 30%, rgba(5,5,9,.9)); }
.wplay:hover img { transform: scale(1.04); opacity: .8; }
.wplay:hover .tri, .vcard:hover .tri { transform: scale(1.1); background: rgba(8,8,12,.85); }
.wplay .tri { z-index: 2; top: 44%; }
.wtxt { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; text-align: center; }
.wtxt b { display: block; font: italic 800 28px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .03em; }
.wtxt em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--ink2); }
.vcard { flex: 0 0 auto; width: 264px; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); color: var(--ink); scroll-snap-align: start; transition: transform .25s var(--ease), border-color .25s; }
.vcard:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--ink); }
.vcard.now { border-color: var(--bad); }
.vthumb { position: relative; aspect-ratio: 16 / 9; background: #07070b; overflow: hidden; }
.vthumb img { width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .82; }
.vthumb .tri { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
.vthumb .tri::after { left: 17px; top: 12px; border-width: 9px 0 9px 15px; }
.vthumb .chip { position: absolute; left: 10px; top: 10px; }
.vmeta { padding: 10px 12px 12px; display: grid; gap: 3px; }
.vmeta b { font: italic 800 20px/1.05 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.vmeta span { font-size: 12px; color: var(--ink2); }
.vmeta em { font-style: normal; font-size: 12px; color: var(--gold); font-weight: 700; }
#theatre { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 16px; background: rgba(3,3,6,.9); backdrop-filter: blur(8px); animation: fade .25s both; }
#theatre .tbox { width: min(1100px, calc(100vw - 32px), calc((100vh - 110px) * 16 / 9)); min-width: 0; }
#theatre .tbar b { min-width: 0; flex: 1; }
#theatre .tbar .btn { flex: none; }
#theatre .tbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
#theatre .tbar b { font: italic 800 22px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#theatre .tframe { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px var(--line2); }
#theatre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .wplay { height: 170px; } .wtxt b { font-size: 23px; } .vcard { width: 220px; } #theatre { padding: 8px; } #theatre .tbox { width: min(calc(100vw - 16px), calc((100vh - 110px) * 16 / 9)); } }

/* ---- partner stage: logos as lit boards on a turning 3D ring ---- */
.pstage { --pw: 272px; --ph: 150px; position: relative; isolation: isolate; overflow: hidden; margin: 56px 0 8px; padding: 46px 0 26px; border-radius: 26px; border: 1px solid var(--line2); background: #050508; text-align: center; }
.pstage .pbg { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 62%; opacity: 0; transform: scale(1.14); transition: opacity 1.6s ease, transform 7s cubic-bezier(.16, .7, .2, 1); }
.pstage.lit .pbg { opacity: .78; transform: scale(1); }
.pstage::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 70% 60% at 50% 58%, rgba(5,5,8,0) 0, rgba(5,5,8,.55) 62%, rgba(5,5,8,.94) 100%), linear-gradient(180deg, rgba(5,5,8,.88) 0, rgba(5,5,8,0) 26%, rgba(5,5,8,0) 70%, rgba(5,5,8,.92) 100%); }
.pbeams { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; filter: blur(20px); opacity: 0; transition: opacity 1.4s .3s; }
.pstage.lit .pbeams { opacity: 1; }
.pbeams i { position: absolute; top: -12%; width: 26%; height: 120%; transform-origin: 50% 0; background: linear-gradient(180deg, rgba(255,226,160,.34), rgba(255,226,160,0) 78%); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); opacity: .75; animation: pbeam 9s ease-in-out infinite alternate; }
.pbeams i:nth-child(1) { left: 2%; --a: -16deg; --b: 9deg; }
.pbeams i:nth-child(2) { left: 26%; --a: 10deg; --b: -8deg; animation-duration: 11s; background: linear-gradient(180deg, rgba(150,190,255,.26), rgba(150,190,255,0) 78%); }
.pbeams i:nth-child(3) { left: 50%; --a: -9deg; --b: 12deg; animation-duration: 12.5s; background: linear-gradient(180deg, rgba(150,190,255,.26), rgba(150,190,255,0) 78%); }
.pbeams i:nth-child(4) { left: 72%; --a: 15deg; --b: -10deg; animation-duration: 10s; }
@keyframes pbeam { from { transform: rotate(var(--a)); } to { transform: rotate(var(--b)); } }
.phead .eyebrow { display: inline-block; color: var(--gold); letter-spacing: .34em; font-size: 12px; font-weight: 700; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .7s .2s, transform .7s .2s var(--ease), letter-spacing 1.4s .2s var(--ease); }
.pstage.lit .phead .eyebrow { opacity: 1; transform: none; letter-spacing: .5em; }
.phead h2 { display: block; margin: 8px 0 0; padding: 0 16px; font: italic 800 clamp(34px, 6.2vw, 68px)/.95 var(--display); text-transform: uppercase; letter-spacing: .01em; overflow: hidden; }
.phead h2::before { display: none; }
.phead h2 span { display: inline-block; padding: 0 .12em; transform: translateY(110%) skewY(6deg); background: linear-gradient(100deg, #fff 0, #fff 38%, var(--gold2) 48%, #fff 58%, #fff 100%) 120% 0 / 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform .9s .25s cubic-bezier(.16, 1, .3, 1); }
.pstage.lit .phead h2 span { transform: none; animation: psweep 5.5s 1.4s ease-in-out infinite; }
@keyframes psweep { 0%, 55% { background-position: 120% 0; } 100% { background-position: -60% 0; } }
.pring-wrap { position: relative; height: calc(var(--ph) + 150px); margin-top: 6px; perspective: 1500px; perspective-origin: 50% 34%; touch-action: pan-y; cursor: grab; outline: none; user-select: none; -webkit-user-select: none; }
.pring-wrap.dragging { cursor: grabbing; }
.pring { position: absolute; left: 50%; top: 46px; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.ppanel { position: absolute; left: calc(var(--pw) / -2); top: 0; width: var(--pw); height: var(--ph); display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; color: #16161a; opacity: 0; -webkit-box-reflect: below 10px linear-gradient(rgba(255,255,255,0) 52%, rgba(255,255,255,.2)); }
.pface { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 16px 20px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px #0b0b10, 0 0 0 3px rgba(255,226,160,.35), 0 18px 40px rgba(0,0,0,.6), 0 0 34px rgba(255,255,255,.14); transition: box-shadow .45s, transform .45s var(--ease); }
.pface img { max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: none; }
.pface b { font: italic 800 22px/1.05 var(--display); text-transform: uppercase; }
.pface::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 42%; transform: skewX(-18deg); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.9), rgba(255,255,255,0)); opacity: 0; }
.ppanel.front .pface { transform: scale(1.08); box-shadow: 0 0 0 2px #0b0b10, 0 0 0 4px var(--gold), 0 24px 54px rgba(0,0,0,.7), 0 0 60px rgba(255,214,120,.5); }
.ppanel.front .pface::after { animation: psheen 1.1s .15s ease-out both; }
@keyframes psheen { 0% { left: -60%; opacity: 0; } 20% { opacity: .9; } 100% { left: 130%; opacity: 0; } }
.pstage.enter-ring .pface { animation: pdrop .9s calc(var(--i) * 70ms) cubic-bezier(.16, 1, .3, 1) backwards; }
@keyframes pdrop { from { transform: translateY(-120px) scale(.7); opacity: 0; filter: brightness(3); } }
.pfloor { position: absolute; left: 50%; bottom: 96px; z-index: -1; width: min(980px, 96%); height: 150px; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 50%, rgba(255,214,120,.26), rgba(120,160,255,.1) 42%, rgba(0,0,0,0) 70%); filter: blur(6px); animation: pglow 5s ease-in-out infinite alternate; }
@keyframes pglow { from { opacity: .55; } to { opacity: 1; } }
.pctl { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: -8px; padding: 0 12px; }
.pctl .arrow { position: static; margin: 0; flex: none; opacity: 1; pointer-events: auto; }
.pcap { min-width: min(430px, 60vw); min-height: 50px; }
.pcap b { display: block; font: italic 800 clamp(22px, 3.4vw, 32px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.pcap span { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.pcap.swap b { animation: pcap .5s cubic-bezier(.16, 1, .3, 1) both; }
.pcap.swap span { animation: pcap .5s .08s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes pcap { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }
.pnote { margin: 16px 16px 0; font-size: 12.5px; color: var(--ink2); opacity: .8; }
@media (max-width: 760px) { .pstage { --pw: 168px; --ph: 100px; margin-top: 40px; padding: 34px 0 20px; border-radius: 20px; } .pring-wrap { height: calc(var(--ph) + 118px); perspective: 760px; } .pring { top: 36px; } .pface { padding: 12px 14px; border-radius: 11px; } .pfloor { bottom: 104px; height: 110px; } .pctl { gap: 8px; } .pcap { min-width: 0; flex: 1; } }
@media (prefers-reduced-motion: reduce) { .pbeams i, .pfloor, .pstage.lit .phead h2 span, .ppanel.front .pface::after { animation: none; } .pstage .pbg { transition: none; } }

/* ---- live stream on the home page, and the small corner player ---- */
.livenow .sechead h2 { gap: 12px; flex-wrap: wrap; }
.livenow .sechead h2 .chip { font-style: normal; font-size: 13px; align-self: center; }
.lnframe { position: relative; aspect-ratio: 16 / 9; max-width: 1040px; margin: 0 auto; border-radius: 6px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(224, 82, 82, .55), 0 0 0 4px rgba(224, 82, 82, .12), 0 40px 80px -30px #000; }
.lnframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lnnote { text-align: center; margin: 12px 0 0; font-size: 13px; }
#theatre .tbar { gap: 8px; }
#theatre.mini { inset: auto auto calc(14px + env(safe-area-inset-bottom)) 14px; display: block; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; width: min(400px, calc(100vw - 110px)); z-index: 60; animation: none; }
#theatre.mini .tbox { width: 100%; padding: 8px; background: #0c0d11; border: 1px solid var(--line2); border-radius: 6px; box-shadow: 0 24px 60px -10px #000; }
#theatre.mini .tbar { margin-bottom: 6px; }
#theatre.mini .tbar b { font-size: 15px; }
#theatre.mini .tframe { border-radius: 3px; box-shadow: none; }
