/* ==========================================================================
   DynStream — multi-page design (Home, Scoring, …) on top of styles.css.
   Same brand (navy, DynStream blue, green) with a billiards touch: table felt,
   wooden rails and a brass accent for trophies. Motion is pure CSS/SVG and
   pauses off-screen; with "reduce motion" the scenes show a still frame.
   ========================================================================== */

:root {
  --felt: #0C5E46;
  --felt-2: #10785A;
  --felt-deep: #073B2C;
  --rail: #4B2D18;
  --rail-2: #75482A;
  --brass: #C9A227;
  --brass-soft: #F6E7B0;
  --ball-red: #C8102E;
  --ball-yellow: #F5C518;
  --ivory: #FBF8F1;
  --ink: #0F1A2E;
  --font-display: "Plus Jakarta Sans", var(--font);
}

/* ---------- Navigation (multi-page) ---------- */
.nav__links a[aria-current="page"] { color: var(--c-blue); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- Page hero ---------- */
.ph {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 85% 15%, rgba(16, 120, 90, .38), transparent 62%),
    radial-gradient(800px 500px at 5% 0%, rgba(0, 102, 255, .30), transparent 60%),
    linear-gradient(180deg, #05122A 0%, #071A3D 72%, #0A2352 100%);
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 88px)) 0 clamp(64px, 9vw, 120px);
}
.ph::after { /* faint cloth weave */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 4px 4px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.ph__grid { position: relative; z-index: 1; display: grid; gap: clamp(40px, 6vw, 72px); grid-template-columns: 1.02fr 1fr; align-items: center; }
.ph__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-soft); }
.ph__eyebrow .dot8 { width: 14px; height: 14px; }
.ph h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; margin: 18px 0 0; font-weight: 800; }
.ph h1 em { font-style: normal; background: linear-gradient(100deg, #4DA3FF 0%, #6FD9A8 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph__lead { margin-top: 20px; max-width: 34rem; font-size: var(--fs-lead); line-height: 1.6; color: #C6D2E6; }
.ph__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.ph__chips { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; list-style: none; color: #AFC0DA; font-size: .92rem; }
.ph__chips li { display: inline-flex; align-items: center; gap: 8px; }
.ph__chips .icon { width: 17px; height: 17px; color: #6FD9A8; }

/* ---------- Billiard ball marks (decoration) ---------- */
.dot8 { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4a4a4a, #000 70%); position: relative; flex: 0 0 auto; }
.dot8::after { content: ""; position: absolute; inset: 28%; border-radius: 50%; background: #fff; }

/* ---------- Sections ---------- */
.s { padding-block: var(--section-y); position: relative; }
.s--ivory { background: var(--ivory); }
.s--light { background: var(--c-bg-light); }
.s--felt { color: #fff; background: radial-gradient(1000px 600px at 50% -20%, var(--felt-2), transparent 60%), linear-gradient(180deg, var(--felt) 0%, var(--felt-deep) 100%); }
.s--felt::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px); background-size: 4px 4px; pointer-events: none; }
.s--navy { color: #fff; background: linear-gradient(180deg, #06152E, #071A3D); }
.s-head { max-width: 46rem; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; position: relative; }
.s-head--left { margin-inline: 0; text-align: left; }
.s-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--c-blue); }
.s--felt .s-kicker, .s--navy .s-kicker { color: var(--brass-soft); }
.s-head h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.03em; margin: 12px 0 0; font-weight: 800; color: inherit; }
.s-head p { margin-top: 14px; font-size: 1.1rem; line-height: 1.65; color: var(--c-text-2); }
.s--felt .s-head p, .s--navy .s-head p { color: #C8DCD3; }
.s--navy .s-head p { color: #B8C6DD; }

/* ---------- Feature tiles (Home) ---------- */
.tiles { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: #fff; border: 1px solid #E6E1D6; padding: 0 0 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(15,26,46,.05); transition: transform .35s var(--ease), box-shadow .35s var(--ease); color: var(--ink); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(15,26,46,.35); }
.tile__art { height: 190px; position: relative; overflow: hidden; background: linear-gradient(160deg, #0B3A2C, #0C5E46); }
.tile__art--navy { background: linear-gradient(160deg, #07193A, #0B2B66); }
.tile__art--ivory { background: linear-gradient(160deg, #F4EEDF, #EADFC6); }
.tile__body { padding: 20px 22px 0; }
.tile h3 { font-family: var(--font-display); font-size: 1.22rem; letter-spacing: -.01em; margin: 0; }
.tile p { margin: 8px 0 0; color: #5D6878; line-height: 1.6; font-size: .98rem; }
.tile__more { margin-top: auto; padding: 16px 22px 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c-blue); font-size: .95rem; }
.tile__more .icon { width: 16px; height: 16px; transition: transform .2s; }
.tile:hover .tile__more .icon { transform: translateX(3px); }
.tile__tag { position: absolute; bottom: 12px; right: 12px; z-index: 2; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.35); padding: 4px 8px; border-radius: 6px; backdrop-filter: blur(4px); }

/* ---------- Steps (a real sequence) ---------- */
.steps2 { display: grid; gap: 22px; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); counter-reset: st; list-style: none; padding: 0; margin: 0; }
.step2 { position: relative; background: #fff; border: 1px solid #E6E1D6; border-radius: 20px; padding: 24px; color: var(--ink); }
.s--felt .step2, .s--navy .step2 { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.step2__num { counter-increment: st; display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; color: #fff; background: radial-gradient(circle at 35% 30%, #4b4b4b, #000 70%); box-shadow: inset 0 0 0 7px #000, inset 0 0 0 9px #fff; }
.step2__num::before { content: counter(st); }
.step2 h3 { margin: 14px 0 0; font-family: var(--font-display); font-size: 1.12rem; }
.step2 p { margin: 8px 0 0; line-height: 1.6; color: #5D6878; }
.s--felt .step2 p, .s--navy .step2 p { color: #C8D5E6; }
.step2__art { margin-top: 16px; height: 120px; border-radius: 14px; overflow: hidden; position: relative; background: #0B2B66; }

/* ---------- Split (text + scene) ---------- */
.split { display: grid; gap: clamp(36px, 6vw, 80px); grid-template-columns: 1fr 1fr; align-items: center; }
.split--flip > :first-child { order: 2; }
.split h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.12; letter-spacing: -.025em; margin: 12px 0 0; }
.split p.lead2 { margin-top: 14px; font-size: 1.08rem; line-height: 1.65; color: #5D6878; }
.s--felt .split p.lead2, .s--navy .split p.lead2 { color: #C8D5E6; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.ticks .icon { flex: 0 0 22px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--c-green-tint); color: var(--c-green); margin-top: 1px; }
.s--felt .ticks .icon, .s--navy .ticks .icon { background: rgba(111,217,168,.16); color: #6FD9A8; }

/* ---------- Games strip ---------- */
.gamestrip { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.game { border-radius: 18px; padding: 20px; background: #fff; border: 1px solid #E6E1D6; display: flex; align-items: center; gap: 14px; color: var(--ink); }
.game b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.game small { color: #5D6878; }
.ball { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; position: relative; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; color: #111; box-shadow: inset -6px -8px 14px rgba(0,0,0,.35), inset 4px 5px 8px rgba(255,255,255,.35); }
.ball span { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.ball--8 { background: #111; } .ball--9 { background: linear-gradient(180deg, #fff 24%, var(--ball-yellow) 24% 76%, #fff 76%); }
.ball--10 { background: linear-gradient(180deg, #fff 24%, #1D5FD0 24% 76%, #fff 76%); } .ball--red { background: var(--ball-red); }

/* ---------- FAQ ---------- */
.faq2 { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq2 details { background: #fff; border: 1px solid #E6E1D6; border-radius: 16px; padding: 4px 20px; }
.faq2 summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 1.04rem; display: flex; justify-content: space-between; gap: 16px; color: var(--ink); }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--c-blue); transition: transform .25s; }
.faq2 details[open] summary::after { transform: rotate(45deg); }
.faq2 details p { margin: 0 0 18px; line-height: 1.65; color: #5D6878; }

/* ---------- Call to action band ---------- */
.ctab { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 6vw, 64px); color: #fff; text-align: center;
  background: radial-gradient(700px 300px at 50% 0%, rgba(111,217,168,.25), transparent 60%), linear-gradient(135deg, var(--felt) 0%, var(--felt-deep) 100%);
  box-shadow: inset 0 0 0 10px var(--rail), inset 0 0 0 12px var(--rail-2), 0 30px 60px -30px rgba(7,59,44,.7); }
.ctab h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.025em; margin: 0; }
.ctab p { margin: 12px auto 0; max-width: 36rem; color: #D5E8DF; font-size: 1.08rem; line-height: 1.6; }
.ctab .ph__cta { justify-content: center; }
.ctab .pocket { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: #050505; box-shadow: 0 0 0 4px #2b1a0e; }
.ctab .pocket:nth-of-type(1) { top: 12px; left: 12px; } .ctab .pocket:nth-of-type(2) { top: 12px; right: 12px; }
.ctab .pocket:nth-of-type(3) { bottom: 12px; left: 12px; } .ctab .pocket:nth-of-type(4) { bottom: 12px; right: 12px; }
.btn--brass { --btn-bg: var(--brass); --btn-fg: #241800; --btn-bd: transparent; box-shadow: 0 10px 24px -10px rgba(201,162,39,.8); }
.btn--brass:hover { --btn-bg: #D9B23A; transform: translateY(-1px); }

/* ==========================================================================
   SCENES (motion graphics). Each scene loops; .is-paused stops it off-screen.
   ========================================================================== */
.scene { position: relative; }
.scene.is-paused *, .scene.is-paused *::before, .scene.is-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .scene *, .scene *::before, .scene *::after { animation: none !important; transition: none !important; }
}

/* ----- Device frames ----- */
.dv-tv { position: relative; border-radius: 16px; background: #0B0F17; padding: 10px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.dv-tv__screen { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--felt); }
.dv-tv__stand { width: 34%; height: 12px; margin: 0 auto; background: linear-gradient(#1a1f29, #0b0f17); border-radius: 0 0 10px 10px; }
.dv-phone { position: absolute; width: 34%; aspect-ratio: 9 / 19; border-radius: 26px; background: #0B0F17; padding: 7px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); }
.dv-phone__screen { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: #F3F6FB; position: relative; color: var(--ink); }
.dv-tablet { position: absolute; border-radius: 22px; background: #0B0F17; padding: 9px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); }
.dv-tablet__screen { border-radius: 14px; overflow: hidden; background: #071022; position: relative; height: 100%; }

/* ----- The table (top view) ----- */
.felt-table { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, var(--felt-2), var(--felt) 55%, var(--felt-deep)); }
.felt-table::before { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 9px var(--rail), inset 0 0 0 11px var(--rail-2), inset 0 0 30px 10px rgba(0,0,0,.35); }
.felt-table__pocket { position: absolute; width: 7%; aspect-ratio: 1; border-radius: 50%; background: #030303; transform: translate(-50%, -50%); }
.felt-table__ball { position: absolute; width: 4.2%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: inset -2px -3px 4px rgba(0,0,0,.45), inset 1px 1px 2px rgba(255,255,255,.5); }
.b-white { background: #F4F1EA; } .b-yellow { background: var(--ball-yellow); } .b-red { background: var(--ball-red); } .b-black { background: #111; } .b-blue { background: #1D5FD0; } .b-orange { background: #F07B1A; }

/* Cue ball rolls and pots the yellow, again and again */
.roll-cue { animation: rollCue 6s var(--ease) infinite; }
.roll-pot { animation: rollPot 6s var(--ease) infinite; }
@keyframes rollCue {
  0%, 12% { left: 28%; top: 62%; }
  30% { left: 55%; top: 46%; }
  46%, 100% { left: 58%; top: 50%; }
}
@keyframes rollPot {
  0%, 28% { left: 62%; top: 42%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  48% { left: 90%; top: 12%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  54% { left: 93%; top: 9%; opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  96% { left: 62%; top: 42%; opacity: 0; transform: translate(-50%, -50%) scale(1); }
  100% { left: 62%; top: 42%; opacity: 1; }
}
.cue-stick { position: absolute; left: 4%; top: 72%; width: 30%; height: 1.4%; border-radius: 4px; background: linear-gradient(90deg, #3a2412 0%, #C49A6C 70%, #F2E6D0 92%, #2A5BD7 92%); transform-origin: 100% 50%; transform: rotate(-26deg); animation: cueHit 6s var(--ease) infinite; }
@keyframes cueHit { 0% { translate: -6% 0; } 8% { translate: -14% 0; } 12% { translate: 2% 0; } 20%, 100% { translate: -30% 0; opacity: 0; } }

/* ----- Overlays on the stream ----- */
.live-badge { position: absolute; top: 6%; left: 4%; z-index: 3; display: inline-flex; align-items: center; gap: 5px; font-size: clamp(9px, 1.1vw, 12px); font-weight: 800; letter-spacing: .06em; color: #fff; background: #E5484D; padding: 3px 8px; border-radius: 5px; }
.live-badge i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.scorebug { position: absolute; left: 4%; bottom: 7%; z-index: 3; display: grid; grid-template-columns: auto auto; border-radius: 8px; overflow: hidden; font-size: clamp(10px, 1.25vw, 14px); font-weight: 700; color: #fff; box-shadow: 0 10px 20px -8px rgba(0,0,0,.6); }
.scorebug > span { padding: 4px 10px; background: rgba(6,21,46,.88); }
.scorebug > span:nth-child(odd) { border-left: 4px solid #0066FF; }
.scorebug > span:nth-child(3) { border-left-color: #E5484D; }
.scorebug > b { padding: 4px 10px; background: #fff; color: var(--ink); text-align: center; min-width: 2.2em; position: relative; }

/* Number that changes on beat (flip) */
.flip { position: relative; display: inline-block; height: 1.2em; overflow: hidden; vertical-align: bottom; }
.flip > em { display: block; height: 1.2em; line-height: 1.2em; font-style: normal; animation: flip2 6s var(--ease) infinite; }
@keyframes flip2 { 0%, 47% { transform: translateY(0); } 52%, 96% { transform: translateY(-1.2em); } 100% { transform: translateY(-2.4em); } }

/* Tap ripple */
.tap { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); opacity: 0; animation: dvTap 6s infinite; z-index: 4; pointer-events: none; }
@keyframes dvTap { 0%, 38% { transform: scale(.3); opacity: 0; } 40% { opacity: .95; transform: scale(.4); } 50% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }
.finger { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 6px rgba(255,255,255,.18); animation: finger 6s var(--ease) infinite; z-index: 4; pointer-events: none; }
@keyframes finger { 0%, 25% { opacity: 0; transform: translate(30px, 40px); } 34% { opacity: 1; transform: translate(0, 0); } 40% { transform: scale(.85); } 46% { transform: scale(1); opacity: 1; } 56%, 100% { opacity: 0; transform: translate(20px, 30px); } }

/* ----- Mini scoreboard (tablet) ----- */
.sb { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr 1fr; gap: 6px; padding: 8px; font-family: var(--font-display); }
.sb__top { display: flex; justify-content: space-between; align-items: center; color: #8FA3C4; font-size: clamp(8px, 1vw, 11px); font-weight: 700; padding: 2px 4px; }
.sb__dot { width: 7px; height: 7px; border-radius: 50%; background: #2BD47F; box-shadow: 0 0 0 3px rgba(43,212,127,.2); }
.sb__p { border-radius: 12px; padding: 8px 10px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.sb__p--1 { background: linear-gradient(160deg, #1E5BD8, #123F9E); }
.sb__p--2 { background: linear-gradient(160deg, #C8283A, #8E1626); }
.sb__name { font-size: clamp(9px, 1.15vw, 13px); font-weight: 700; opacity: .9; display: flex; align-items: center; gap: 6px; }
.sb__flag { width: 14px; height: 10px; border-radius: 2px; display: inline-block; }
.sb__score { font-size: clamp(22px, 3.6vw, 44px); font-weight: 800; line-height: 1.2; }
.sb__btn { align-self: stretch; margin-top: 4px; text-align: center; border-radius: 9px; padding: 5px; font-size: clamp(8px, 1vw, 11px); font-weight: 700; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); }
.dv-tablet .sb__score { font-size: clamp(18px, 2.5vw, 32px); }
.score-comp .dv-tablet .sb__score { font-size: clamp(22px, 3.4vw, 46px); }
.sb__crown { position: absolute; right: 10px; top: 8px; font-size: clamp(14px, 1.8vw, 20px); opacity: 0; animation: crown 6s infinite; }
@keyframes crown { 0%, 55% { opacity: 0; transform: translateY(6px) scale(.6); } 62%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ----- Club page (phone) ----- */
.cp__cover { height: 22%; background: linear-gradient(120deg, #06152E, #0A2A66 60%, #0066FF); }
.cp__logo { width: 34%; aspect-ratio: 1; border-radius: 50%; margin: -17% auto 0; border: 3px solid #fff; background: radial-gradient(circle at 35% 30%, #4a4a4a, #000 70%); position: relative; box-shadow: 0 0 0 3px #E5484D; }
.cp__logo::after { content: "8"; position: absolute; inset: 26%; border-radius: 50%; background: #fff; color: #000; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: clamp(8px, 1.2vw, 13px); }
.cp__name { text-align: center; font-weight: 800; font-size: clamp(9px, 1.15vw, 13px); margin-top: 6px; }
.cp__stars { text-align: center; color: #F5B800; font-size: clamp(7px, .9vw, 10px); letter-spacing: 1px; }
.cp__btns { display: flex; justify-content: center; gap: 4px; margin-top: 6px; }
.cp__btn { font-size: clamp(6px, .75vw, 9px); font-weight: 700; padding: 3px 6px; border-radius: 99px; background: #25D366; color: #fff; }
.cp__btn--map { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px #DCE3EE; }
.cp__card { margin: 7px 8px 0; border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); padding: 6px 7px; font-size: clamp(7px, .85vw, 10px); }
.cp__row { display: flex; justify-content: space-between; align-items: center; font-weight: 700; padding: 2px 0; }
.cp__row i { font-style: normal; font-weight: 800; font-size: 1.15em; }
.cp__hd { font-size: .85em; font-weight: 700; color: #68758A; display: flex; justify-content: space-between; }
.cp__live { color: #fff; background: #E5484D; border-radius: 3px; padding: 0 3px; font-size: .9em; }
.cp__vid { margin: 7px 8px 0; border-radius: 8px; overflow: hidden; aspect-ratio: 16/9; position: relative; }

/* ----- Phone: scan + PIN ----- */
.scanline { position: absolute; left: 12%; right: 12%; height: 2px; background: #6FD9A8; box-shadow: 0 0 12px 2px rgba(111,217,168,.8); animation: scan 3s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 22%; } 50% { top: 70%; } }
.pin { display: flex; justify-content: center; gap: 6%; }
.pin i { width: 11%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #9AABC7; animation: pinfill 6s infinite; }
.pin i:nth-child(2) { animation-delay: .25s; } .pin i:nth-child(3) { animation-delay: .5s; } .pin i:nth-child(4) { animation-delay: .75s; } .pin i:nth-child(5) { animation-delay: 1s; } .pin i:nth-child(6) { animation-delay: 1.25s; }
@keyframes pinfill { 0%, 30% { background: transparent; border-color: #9AABC7; } 34%, 85% { background: #0066FF; border-color: #0066FF; } 100% { background: transparent; } }

/* ----- Connection dot (offline → back) ----- */
.netdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; animation: net 8s infinite; }
@keyframes net { 0%, 30% { background: #2BD47F; box-shadow: 0 0 0 4px rgba(43,212,127,.2); } 35%, 62% { background: #E5484D; box-shadow: 0 0 0 4px rgba(229,72,77,.25); } 68%, 100% { background: #2BD47F; box-shadow: 0 0 0 4px rgba(43,212,127,.2); } }
.netmsg { animation: netmsg 8s infinite; opacity: 0; }
@keyframes netmsg { 0%, 33% { opacity: 0; } 37%, 62% { opacity: 1; } 66%, 100% { opacity: 0; } }
.netok { animation: netok 8s infinite; opacity: 0; }
@keyframes netok { 0%, 64% { opacity: 0; } 68%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* ----- Checklist ticking (device check) ----- */
.check-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.06); color: #E6EEF9; font-weight: 600; font-size: .95rem; }
.check-row + .check-row { margin-top: 8px; }
.check-row .ck { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); display: inline-flex; align-items: center; justify-content: center; position: relative; flex: 0 0 auto; }
.check-row .ck::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.in .check-row .ck { animation: ckfill .4s var(--ease) forwards; animation-delay: calc(var(--i) * .45s + .3s); }
.in .check-row .ck::after { animation: ckmark .3s forwards; animation-delay: calc(var(--i) * .45s + .5s); }
@keyframes ckfill { to { background: #16A36A; border-color: #16A36A; } }
@keyframes ckmark { to { opacity: 1; } }
.check-row small { margin-left: auto; color: #8FB3A5; font-weight: 500; }

/* ----- Bracket (winner moves on) ----- */
.br { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr .8fr; align-items: center; gap: 6%; padding: 6% 7%; }
.br__col { display: grid; gap: 14%; }
.br--big .br__m { font-size: clamp(11px, 1.3vw, 15px); }
.br--big .br__m span { padding: 8px 12px; }
.br--big .br__champ { font-size: clamp(12px, 1.4vw, 16px); }
.br__m { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); font-size: clamp(8px, 1vw, 11px); font-weight: 700; color: var(--ink); }
.br__m span { display: flex; align-items: center; gap: 5px; padding: 4px 7px; }
.br__m span + span { border-top: 1px solid #E8EDF4; }
.br__m .w { color: #16A36A; }
.br__adv { opacity: 0; animation: adv 6s infinite; }
@keyframes adv { 0%, 50% { opacity: 0; transform: translateX(-10px); } 60%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.br__champ { text-align: center; color: var(--brass-soft); font-weight: 800; font-size: clamp(9px, 1.1vw, 12px); }
.br__champ .trophy { font-size: clamp(22px, 3vw, 34px); display: block; animation: champ 6s infinite; }
@keyframes champ { 0%, 70% { transform: scale(.8); filter: grayscale(1); opacity: .5; } 78%, 94% { transform: scale(1.1); filter: none; opacity: 1; } 100% { opacity: .5; } }

/* ----- Floating chips ----- */
.chipf { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.96); color: var(--ink); font-weight: 700; font-size: .82rem; box-shadow: 0 18px 30px -14px rgba(0,0,0,.55); animation: floaty 6s ease-in-out infinite; }
.chipf small { display: block; font-weight: 600; color: #68758A; font-size: .72rem; }
.chipf .icon { width: 18px; height: 18px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ----- Hero composition (Home) ----- */
.hero-comp { position: relative; aspect-ratio: 1.08 / 1; }
.hero-comp .dv-tv { position: absolute; left: 0; top: 8%; width: 84%; }
.hero-comp .dv-phone { right: 0; bottom: 0; width: 29%; z-index: 2; }
.hero-comp .dv-tablet { left: 4%; bottom: 0; width: 50%; aspect-ratio: 4 / 3; z-index: 2; }

/* ----- Scoring hero composition ----- */
.score-comp { position: relative; aspect-ratio: 1.15 / 1; }
.score-comp .dv-tablet { left: 0; top: 6%; width: 78%; aspect-ratio: 4 / 3; }
.score-comp .dv-phone { right: 0; bottom: 0; width: 32%; }

/* ---------- Scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gamestrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ph__grid, .split { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .steps2 { grid-template-columns: 1fr; }
  .hero-comp, .score-comp { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 600px) {
  .tiles, .gamestrip { grid-template-columns: 1fr; }
  .ph h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-comp .chipf, .score-comp .chipf { display: none; }
  .dv-tablet .sb__score, .score-comp .dv-tablet .sb__score { font-size: 20px; }
  .dv-tablet .sb__btn { display: none; }
  .dv-tablet .sb__name { font-size: 10px; }
  .dv-tablet .sb__p { padding: 6px 10px; flex-direction: row; align-items: center; justify-content: space-between; }
  .dv-tablet .sb__crown { top: 50%; right: 44px; translate: 0 -50%; }
  .score-comp .dv-tablet { width: 64%; }
}

/* ---------- Tournaments page: a live double elimination bracket on felt ---------- */
.db-hero { padding-top: calc(var(--section-y) + 40px); }
.db-hero__copy { max-width: 720px; margin-bottom: 36px; }
.db-hero__copy h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.03em; margin: 14px 0 12px; }
.db-hero__copy h1 em { font-style: normal; color: var(--brass-soft); }
.db-hero .lead2 { color: #C8DCD3; }
.db { position: relative; display: grid; gap: 22px; border-radius: 22px; background: rgba(0,0,0,.22); box-shadow: inset 0 0 0 10px var(--rail), inset 0 0 0 12px var(--rail-2), 0 30px 60px -30px rgba(0,0,0,.7); padding: 30px 30px 26px; overflow-x: auto; }
.db-part { min-width: 640px; }
.db-k { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
.db-k--w { color: #8FC2FF; }
.db-k--l { color: #FFB4B6; }
.db-k--g { color: var(--brass-soft); }
.db-row { display: flex; gap: 26px; align-items: stretch; }
.db-col { flex: 0 0 210px; display: flex; flex-direction: column; }
.db-h { color: rgba(255,255,255,.6); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.db-stack { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 10px; }
.db-m { position: relative; background: #fff; border-radius: 10px; box-shadow: 0 8px 18px -10px rgba(0,0,0,.6); color: var(--ink); font-size: 13px; }
.db-m::after { content: ""; position: absolute; right: -26px; top: 50%; width: 26px; height: 1px; background: rgba(255,255,255,.35); }
.db-row > .db-col:last-of-type .db-m::after, .db-col--last .db-m::after { display: none; }
.db-m > span { display: flex; align-items: center; gap: 7px; padding: 7px 10px; font-weight: 600; }
.db-m > span:first-child { border-radius: 10px 10px 0 0; }
.db-m > span + span { border-top: 1px solid #EEF2F7; }
.db-m > span em { font-style: normal; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-m > span.w { background: #E9F8F1; color: #0E7A4F; font-weight: 800; }
.db-m > span.tbd em { color: #94A3B8; font-style: italic; font-weight: 500; }
.db-f { width: 16px; height: 11px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.12); display: inline-block; }
.db-l { font-style: normal; font-size: 10px; font-weight: 800; color: #475569; background: #EEF2F7; border-radius: 4px; padding: 1px 4px; }
.db-r { font-size: 10.5px; color: #94A3B8; }
.db-s { min-width: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.db-race { margin: 0; padding: 3px 10px; font-size: 10.5px; color: #64748B; background: #F8FAFC; border-top: 1px solid #EEF2F7; border-radius: 0 0 10px 10px; }
.db-m.is-live { box-shadow: 0 0 0 2px #E5484D, 0 8px 18px -10px rgba(0,0,0,.6); }
.db-live { margin: 0; display: flex; align-items: center; gap: 6px; padding: 3px 10px; background: #E5484D; color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 0 0 10px 10px; }
.db-live i, .db-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; display: inline-block; animation: dbPulse 1.4s ease-in-out infinite; }
.db-dot { background: #E5484D; }
@keyframes dbPulse { 50% { opacity: .25; } }
.db-champ { flex: 0 0 170px; align-self: center; text-align: center; padding: 16px; border-radius: 16px; background: linear-gradient(180deg, rgba(232,196,104,.22), rgba(232,196,104,.06)); box-shadow: inset 0 0 0 1px rgba(232,196,104,.4); color: #fff; }
.db-champ .trophy { font-size: 32px; display: block; }
.db-champ b { display: block; color: var(--brass-soft); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; margin-top: 4px; }
.db-champ small { color: rgba(255,255,255,.65); font-size: 12px; }
.db-legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 14px 4px 0; color: #C8DCD3; font-size: 13px; }
.db-legend span { display: inline-flex; align-items: center; gap: 6px; }
.db-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.db-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 18px; padding: 22px; box-shadow: 0 10px 30px -22px rgba(6,21,46,.4); }
.db-card .icon { width: 26px; height: 26px; color: #0C5E46; }
.db-card h3 { margin: 12px 0 6px; font-size: 1.15rem; }
.db-card p { margin: 0; color: #5B6B82; font-size: .95rem; line-height: 1.55; }
.db-pass { display: grid; gap: 14px; max-width: 360px; margin-inline: auto; width: 100%; }
.db-pass__card { border-radius: 20px; padding: 18px; color: #fff; background: radial-gradient(120% 80% at 85% 0%, rgba(255,255,255,.16), transparent 55%), linear-gradient(160deg, #0f7a57, #06372a); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 24px 48px -24px rgba(0,0,0,.7); }
.db-pass__name { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; margin: 0 0 12px; }
.db-pass__qr { display: flex; align-items: center; gap: 14px; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px; }
.db-pass__qr .icon { width: 84px; height: 84px; color: #06152E; }
.db-pass__qr small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #64748B; font-weight: 700; }
.db-pass__qr b { font-family: ui-monospace, monospace; font-size: 1.5rem; letter-spacing: .16em; }
.db-pass__next { border-radius: 16px; padding: 14px 16px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px #16A36A; }
.db-pass__next small { display: block; color: #0E7A4F; font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.db-pass__next b { display: block; font-size: 1.1rem; margin: 4px 0 2px; }
.db-pass__next span { color: #5B6B82; font-size: .92rem; }
@media (max-width: 760px) { .db { padding: 20px 16px; } .db-hero { padding-top: calc(var(--section-y) + 10px); } }
@media (prefers-reduced-motion: reduce) { .db-live i, .db-dot { animation: none; } }
.db-m > span:last-child { border-radius: 0 0 10px 10px; }
.db-swipe { display: none; margin: 10px 4px 0; color: #C8DCD3; font-size: 13px; }
@media (max-width: 900px) { .db-swipe { display: block; } }
/* The current page in the menu, readable on the green felt top of this page. */
.page-tournaments .nav:not(.is-scrolled) .nav__links a[aria-current="page"] { color: var(--brass-soft); }

/* White logo on dark backgrounds: the top of every page (before scrolling), the open phone menu and the footer. */
.nav:not(.is-scrolled) .logo > rect, body.menu-open .nav .logo > rect, .logo--dark > rect { fill: #fff; }
.nav:not(.is-scrolled) .logo > path, body.menu-open .nav .logo > path, .logo--dark > path { stroke: #06152E; }
.nav:not(.is-scrolled) .logo__stream, body.menu-open .nav .logo__stream, .logo--dark .logo__stream { fill: #fff; }
/* Footer: "Send feedback" stands out a little. */
.footer__feedback { color: #6FD9A8 !important; font-weight: 600; }
.footer__feedback .icon { color: #6FD9A8; }

/* ---------- Billiard rules & racking ---------- */
.rl-hero { padding-top: calc(var(--section-y) + 30px); }
.rl-h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.03em; margin: 14px 0 12px; }
.rl-hero .lead2 { color: #C8DCD3; }
.rl-art { display: flex; justify-content: center; }
.rl-art svg { width: 100%; max-width: 520px; height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
.rl-art--light svg { filter: drop-shadow(0 18px 30px rgba(6,21,46,.18)); }
/* Balls drop into the rack one by one when the picture comes into view. */
.rk .rb { transform-box: fill-box; transform-origin: center; }
.js [data-in] .rk .rb { opacity: 0; transform: translate(-40px, -18px) scale(.6); }
.js [data-in].in .rk .rb { animation: rkDrop .55s cubic-bezier(.2,.9,.3,1.2) forwards; animation-delay: calc(var(--i) * 90ms + 200ms); }
.js [data-in].in .rk .rk-frame { animation: rkFrame 1s ease-out both; }
@keyframes rkDrop { to { opacity: 1; transform: none; } }
@keyframes rkFrame { from { stroke-dasharray: 0 800; } to { stroke-dasharray: 800 0; } }
@media (prefers-reduced-motion: reduce) { .js [data-in] .rk .rb { opacity: 1; transform: none; animation: none !important; } }
.rl-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rl-sec { background: #fff; border: 1px solid #E2E8F0; border-radius: 18px; padding: 20px 22px; box-shadow: 0 10px 30px -24px rgba(6,21,46,.4); }
.rl-sec h3 { margin: 0 0 6px; font-size: 1.1rem; }
.rl-sec p { margin: 0; color: #4B5B73; line-height: 1.6; }
.rl-more { margin-top: 22px; text-align: center; color: #5B6B82; }
.rl-more a { font-weight: 700; }
.rl-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.rl-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 12px 30px -24px rgba(6,21,46,.5); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.rl-card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -24px rgba(6,21,46,.5); }
.rl-card__art { display: block; background: #F3F6FA; padding: 14px; }
.rl-card__art svg { width: 100%; height: auto; }
.rl-card__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.rl-card__body b { font-size: 1.15rem; }
.rl-card__body small { color: #5B6B82; font-size: .95rem; }
/* Print pages (posters and rack sheet) */
.rl-printbar__btns { display: inline-flex; gap: 10px; }
.rl-printbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 auto 18px; max-width: 900px; }
.rl-printbar a { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.rl-printbar a .icon { transform: rotate(180deg); width: 16px; height: 16px; }
.rl-sheet { padding-top: calc(var(--section-y) + 30px); background: linear-gradient(180deg, #06152E 0, #0B2350 300px, #F3F6FA 300px) !important; }
.rl-sheet .rl-printbar a, .rl-sheet__title { color: #fff; }
.rl-sheet__title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 22px; }
.rl-figs { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rl-fig { margin: 0; background: #fff; border: 1px solid #E2E8F0; border-radius: 18px; padding: 14px; break-inside: avoid; }
.rl-fig svg { width: 100%; height: auto; }
.rl-fig figcaption b { font-size: 1.15rem; display: block; margin: 8px 0 4px; }
.rl-fig ul { margin: 0; padding-left: 18px; color: #4B5B73; font-size: .95rem; }
.rl-foot { text-align: center; color: #5B6B82; margin-top: 18px; }
.rl-poster-wrap { padding: calc(var(--nav-h, 72px) + 30px) 16px 40px; background: linear-gradient(180deg, #06152E 0, #0B2350 340px, #EEF2F7 340px); }
.rl-poster-wrap .rl-printbar a { color: #fff; }
.rl-poster { max-width: 820px; margin: 0 auto; background: #fff; border-radius: 6px; padding: 36px 40px; box-shadow: 0 20px 50px -30px rgba(6,21,46,.5); border-top: 14px solid #0E7A4F; }
.rl-poster header { text-align: center; }
.rl-poster header p:first-child { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: #B8860B; }
.rl-poster h1 { margin: 4px 0 0; font-size: 3.4rem; letter-spacing: -.03em; color: #06152E; }
.rl-poster__sub { margin: 4px 0 18px; font-size: 1.1rem; color: #4B5B73; }
.rl-poster__rack { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: center; }
.rl-poster__rack svg { width: 100%; height: auto; }
.rl-poster__rack ul { margin: 0; padding-left: 18px; font-size: 1rem; line-height: 1.5; }
.rl-poster__rules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-top: 18px; }
.rl-poster__rules h3 { margin: 0 0 2px; font-size: 1.05rem; color: #0E7A4F; }
.rl-poster__rules p { margin: 0; font-size: .92rem; line-height: 1.45; color: #1E293B; }
.rl-poster footer { margin-top: 20px; padding-top: 12px; border-top: 1px solid #E2E8F0; text-align: center; font-size: .8rem; color: #5B6B82; }
@media (max-width: 760px) { .rl-figs, .rl-poster__rack, .rl-poster__rules { grid-template-columns: 1fr; } .rl-poster { padding: 22px 18px; } .rl-poster h1 { font-size: 2.4rem; } }
@media print {
  /* Margin 0: the browser then prints no date, title or web address in the corners. Each poster is exactly one A4 page. */
  @page { size: A4 portrait; margin: 0; }
  .no-print, .nav, header.nav, .footer, .skip-link, .drawer { display: none !important; }
  html, body { background: #fff !important; margin: 0 !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rl-poster-wrap, .rl-sheet { padding: 0 !important; background: #fff !important; }
  .rl-poster { box-sizing: border-box; width: 210mm; height: 296mm; max-width: none; margin: 0; padding: 12mm 14mm 10mm; border-radius: 0; box-shadow: none; overflow: hidden; display: flex; flex-direction: column; page-break-after: avoid; break-inside: avoid; }
  .rl-poster h1 { font-size: 52pt; }
  .rl-poster__sub { font-size: 15pt; margin-bottom: 7mm; }
  .rl-poster__rack { grid-template-columns: 1.25fr 1fr !important; gap: 6mm; }
  .rl-poster__rack svg { max-height: 82mm; }
  .rl-poster__rack ul { font-size: 13pt; line-height: 1.5; }
  .rl-poster__rules { grid-template-columns: 1fr 1fr !important; gap: 6mm 9mm; margin-top: 8mm; }
  .rl-poster__rules h3 { font-size: 15pt; margin-bottom: 1mm; }
  .rl-poster__rules p { font-size: 12pt; line-height: 1.45; }
  .rl-poster footer { margin-top: auto; font-size: 8.5pt; }
  .js [data-in] .rk .rb { opacity: 1 !important; transform: none !important; animation: none !important; }
  .rl-sheet .container { max-width: none; padding: 10mm 12mm; }
  .rl-sheet__title { color: #0B1A33 !important; font-size: 18pt; margin-bottom: 5mm; }
  .rl-figs { grid-template-columns: 1fr 1fr !important; gap: 5mm; }
  .rl-fig { padding: 3mm; }
  .rl-fig ul { font-size: 9pt; }
  .rl-foot { font-size: 9pt; margin-top: 4mm; }
}

/* Right and wrong racks; rack variations */
.rw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rw { position: relative; margin: 0; background: #fff; border-radius: 20px; padding: 18px 18px 16px; border: 2px solid #E2E8F0; text-align: center; box-shadow: 0 14px 30px -24px rgba(6,21,46,.45); }
.rw svg { display: block; width: 100%; max-width: 250px; height: auto; margin: 26px auto 0; background: #1E8C5E; border-radius: 14px; padding: 8px; }
.rw--ok { border-color: #16A36A; }
.rw--no { border-color: #FCA5A5; }
.rw__l { position: absolute; left: 16px; top: 12px; font-size: 1.6rem; font-weight: 900; color: #0B1A33; }
.rw figcaption { margin-top: 10px; font-size: .95rem; color: #334155; line-height: 1.45; }
.rw--ok figcaption { color: #0E7A4F; font-weight: 600; }
.rw-grid--sheet { margin-top: 5mm; gap: 4mm; }
.rw-grid--sheet .rw { padding: 8px; }
.rw-grid--sheet figcaption { font-size: .8rem; }
.var-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.var { background: #fff; border-left: 4px solid #0E7A4F; border-radius: 12px; padding: 14px 18px; box-shadow: 0 10px 24px -22px rgba(6,21,46,.5); }
.var b { display: block; color: #0B1A33; margin-bottom: 4px; }
.var p { margin: 0; color: #4B5B73; line-height: 1.55; font-size: .95rem; }
@media (max-width: 760px) { .rw-grid { grid-template-columns: 1fr; } }
@media print { .rw-grid--sheet { grid-template-columns: repeat(3, 1fr) !important; } .rw-grid--sheet .rw { padding: 2mm; } .rw-grid--sheet svg { max-width: 40mm; margin-top: 5mm; } .rw-grid--sheet figcaption { font-size: 8pt; margin-top: 1mm; } .rl-sheet .rl-fig svg { max-height: 52mm; } .rl-sheet .rl-fig ul { font-size: 8.5pt; } .rl-sheet .rl-fig figcaption b { margin: 2mm 0 1mm; } .rl-sheet .container { padding-top: 8mm !important; padding-bottom: 0 !important; } .rl-sheet { height: 296mm; overflow: hidden; } }

/* ---------- Aura: soft colour clouds drifting behind a group of cards (felt green, DynStream blue, brass, violet) ---------- */
.aura { position: relative; isolation: isolate; overflow: hidden; }
.aura::before, .aura::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%;
  width: min(1100px, 90vw); aspect-ratio: 1; filter: blur(70px); opacity: .55;
}
.aura::before {
  left: 50%; top: 55%;
  background: radial-gradient(circle at 35% 40%, rgba(25,169,116,.85), transparent 58%), radial-gradient(circle at 68% 58%, rgba(0,102,255,.8), transparent 55%);
  animation: auraA 16s ease-in-out infinite alternate;
}
.aura::after {
  left: 50%; top: 45%; width: min(800px, 70vw);
  background: radial-gradient(circle at 40% 40%, rgba(232,196,104,.8), transparent 58%), radial-gradient(circle at 65% 65%, rgba(124,58,237,.55), transparent 55%);
  animation: auraB 21s ease-in-out infinite alternate;
}
@keyframes auraA { 0% { transform: translate(-75%, -50%) scale(1); } 50% { transform: translate(-45%, -62%) scale(1.12); } 100% { transform: translate(-25%, -44%) scale(.95); } }
@keyframes auraB { 0% { transform: translate(-20%, -50%) rotate(0deg); } 50% { transform: translate(-60%, -40%) rotate(40deg) scale(1.1); } 100% { transform: translate(-85%, -58%) rotate(80deg); } }
.aura--soft::before, .aura--soft::after { opacity: .35; }
@media (prefers-reduced-motion: reduce) { .aura::before, .aura::after { animation: none; } }

/* Glass-white cards with a coloured icon chip, label, title and an arrow */
.gcards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.gcards--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.gcard {
  --c: #0066FF; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 22px; border-radius: 20px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.7); box-shadow: 0 18px 40px -26px rgba(6,21,46,.45), 0 1px 0 rgba(255,255,255,.6) inset;
  color: inherit; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease;
}
a.gcard:hover, .gcard:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -26px rgba(6,21,46,.5); }
.gcard__ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 6px;
  background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 55%, #06152E));
  box-shadow: 0 10px 20px -10px var(--c);
}
.gcard__ic svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gcard__k { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.gcard h3 { margin: 0; font-size: 1.22rem; letter-spacing: -.01em; color: #0B1A33; }
.gcard p { margin: 0; color: #4B5B73; line-height: 1.6; font-size: .98rem; }
.gcard__go { margin-top: auto; align-self: flex-end; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; transition: transform .2s; }
.gcard__go svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
a.gcard:hover .gcard__go { transform: translateX(3px); }

/* Rules hub: game cards with the label and arrow of the colour cards */
.gcard-like { --c: #0066FF; background: rgba(255,255,255,.94); border-color: rgba(255,255,255,.8); border-radius: 22px; }
.gcard-like .rl-card__body { position: relative; padding-bottom: 22px; }
.gcard-like .gcard__go { position: absolute; right: 18px; bottom: 18px; }
.gcard-like .rl-card__body b { font-size: 1.35rem; }
.gcard-like .rl-card__body small { padding-right: 44px; }

/* Cover grid: the heading takes the first place, then link cards; colour glow behind (Sophos-style). */
.cover { background: linear-gradient(180deg, #F3F6FA, #EEF2F8); }
.cover__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.cover__head { padding: 10px 24px 0 0; }
.cover__head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 14px; color: #0B1A33; font-weight: 700; }
.cover__head p { color: #4B5B73; font-size: 1.05rem; line-height: 1.6; margin: 0; }
.cover .gcard { min-height: 230px; background: #fff; }
.cover .gcard h3 { font-size: 1.4rem; font-weight: 600; }
@media (max-width: 980px) { .cover__grid { grid-template-columns: 1fr 1fr; } .cover__head { grid-column: 1 / -1; padding-right: 0; } }
@media (max-width: 620px) { .cover__grid { grid-template-columns: 1fr; } }

/* ---------- Main menu dropdowns ---------- */
.mega__trig { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; font: inherit; font-weight: 600; font-size: inherit; color: inherit; padding: 8px 12px; border-radius: 10px; cursor: pointer; position: relative; }
.nav__links .mega__trig { color: rgba(255,255,255,.86); }
.nav__links .mega__trig:hover, .nav__links .mega__trig[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.08); }
.mega__trig.is-here::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #0066FF, #19A974); }
.mega__chev { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.mega__trig[aria-expanded="true"] .mega__chev { transform: rotate(180deg); }
/* Menu bar turns white while a dropdown is open (like when scrolled). */
.nav.mega-open { background: #fff; box-shadow: 0 1px 0 #E2E8F0; }
.nav.mega-open .logo__dyn { fill: var(--c-navy); }
.nav.mega-open .logo__stream { fill: var(--c-blue); }
.nav.mega-open .logo > rect { fill: url(#lg1); }
.nav.mega-open .logo > path { stroke: #fff; }
.nav.mega-open .nav__links a, .nav.mega-open .nav__links .mega__trig, .nav.is-scrolled .nav__links .mega__trig, .nav.mega-open .nav__text-link { color: #3B4B63; }
.nav.mega-open .nav__links .mega__trig[aria-expanded="true"], .nav.is-scrolled .nav__links .mega__trig:hover { color: #0B1A33; background: #EEF2F8; }
.nav.mega-open .btn--login { --btn-fg: #0B1A33; --btn-bd: #CBD5E1; }

.mega { position: fixed; left: 0; right: 0; top: var(--nav-h, 72px); background: #fff; border-top: 1px solid #E2E8F0; box-shadow: 0 30px 60px -30px rgba(6,21,46,.35); z-index: 60; animation: megaIn .18s ease-out; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } }
.mega__inner { display: grid; grid-template-columns: 260px 1fr 340px; min-height: 300px; }
.mega__cats { background: #EEF2F8; padding: 26px 0; margin-left: calc(-50vw + 50%); padding-left: calc(50vw - 50%); display: flex; flex-direction: column; gap: 4px; }
.mega__cat { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; background: none; border: 0; font: inherit; font-weight: 700; color: #0B1A33; padding: 12px 18px; border-radius: 10px 0 0 10px; cursor: pointer; }
.mega__cat svg { width: 16px; height: 16px; fill: none; stroke: #94A3B8; stroke-width: 2; }
.mega__cat.is-on { background: #fff; color: #0066FF; }
.mega__cat.is-on svg { stroke: #0066FF; }
.mega__panes { padding: 28px 36px; }
.mega__pane { display: none; }
.mega__pane.is-on { display: block; animation: megaIn .15s ease-out; }
.mega__h { margin: 0 0 14px; font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; color: #0B1A33; }
.mega__pane ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.mega__pane a { display: block; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: #0B1A33; }
.mega__pane a:hover, .mega__pane a:focus-visible { background: #F3F6FA; }
.mega__pane a b { display: block; font-size: .98rem; }
.mega__pane a small { display: block; color: #5B6B82; font-size: .86rem; margin-top: 2px; }
.mega__promo { position: relative; display: flex; align-items: center; justify-content: center; padding: 24px; text-decoration: none; overflow: hidden; }
.mega__glow { position: absolute; width: 330px; height: 330px; border-radius: 50%; filter: blur(46px); opacity: .9; background: radial-gradient(circle at 35% 35%, #19A974, transparent 58%), radial-gradient(circle at 65% 60%, #0066FF, transparent 58%), radial-gradient(circle at 50% 85%, #E8C468, transparent 55%); animation: auraA 14s ease-in-out infinite alternate; left: 50%; top: 50%; }
.mega__card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -24px rgba(6,21,46,.5); color: #0B1A33; max-width: 270px; }
.mega__card b { font-size: 1.1rem; }
.mega__card small { color: #4B5B73; line-height: 1.5; }
.mega__go { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #0066FF; font-size: .92rem; }
.mega__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; }
@media (max-width: 1100px) { .mega__inner { grid-template-columns: 220px 1fr; } .mega__promo { display: none; } }
@media (max-width: 1024px) { .has-mega { display: none; } }
@media (prefers-reduced-motion: reduce) { .mega, .mega__pane.is-on, .mega__glow { animation: none; } }

/* Phone menu: the same groups as clear sections */
.drawer__group { border-bottom: 1px solid rgba(255,255,255,.08); padding: 6px 0 10px; }
.drawer__h { margin: 10px 0 4px; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #6FD9A8; }
.drawer__group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.drawer__group a { display: block; padding: 8px 0; font-size: 1rem; }
/* Dropdown links do not take the top-bar link style. */
#nav .mega a { display: block; height: auto; padding: 10px 12px; white-space: normal; color: #0B1A33; font-size: 1rem; font-weight: 400; background: none; }
#nav .mega a:hover, #nav .mega a:focus-visible { background: #F3F6FA; }
#nav .mega a::after { display: none; }
#nav .mega .mega__promo { display: flex; align-items: center; justify-content: center; padding: 24px; min-height: 280px; background: none; }
#nav .mega .mega__promo:hover { background: none; }
.mega__glow { transform: translate(-50%, -50%); animation: megaGlow 12s ease-in-out infinite alternate; }
@keyframes megaGlow { from { transform: translate(-60%, -55%) scale(1); } to { transform: translate(-40%, -45%) scale(1.15) rotate(30deg); } }
.mega__pane ul { gap: 6px 22px; }
/* The frosted-glass effect of the bar would make the dropdown see-through: off while it is open. */
.nav.mega-open { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* ---------- Printable brackets ---------- */
.bb-wrap { padding: calc(var(--nav-h, 72px) + 30px) 16px 40px; background: linear-gradient(180deg, #06152E 0, #0B2350 300px, #EEF2F7 300px); }
.bb-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; max-width: 1180px; margin: 0 auto 16px; }
.bb-bar a:first-child { color: #fff; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.bb-bar a:first-child .icon { transform: rotate(180deg); width: 16px; height: 16px; }
.bb-bar__btns { display: inline-flex; flex-wrap: wrap; gap: 10px; }
.bb-sheet { max-width: 1180px; margin: 0 auto; background: #fff; border-radius: 8px; padding: 26px 30px; box-shadow: 0 24px 50px -30px rgba(6,21,46,.5); border-top: 12px solid #0E7A4F; }
.bb-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 14px; }
.bb-k { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #B8860B; }
.bb-head h1 { margin: 2px 0 4px; font-size: 1.9rem; letter-spacing: -.02em; color: #0B1A33; }
.bb-line { margin: 0; color: #4B5B73; }
.bb-fields { display: grid; grid-template-columns: repeat(3, 150px); gap: 10px; }
.bb-fields span { border-bottom: 1.5px solid #0B1A33; padding-top: 18px; font-size: .75rem; color: #64748B; }
.bb-svg { overflow-x: auto; }
.bb-svg svg { width: 100%; height: auto; min-width: 640px; }
.bb-foot { margin-top: 10px; text-align: center; font-size: .8rem; color: #64748B; border-top: 1px solid #E2E8F0; padding-top: 8px; }
.bb-help { max-width: 820px; margin-top: 30px; color: #334155; }
.bb-help h2 { font-size: 1.4rem; }
.bb-help li { margin-bottom: 6px; }
@media print {
  @page { size: A4 landscape; margin: 0; }
  .no-print, .nav, header.nav, .footer, .drawer, .skip-link { display: none !important; }
  html, body { background: #fff !important; margin: 0 !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .bb-wrap { padding: 0 !important; background: #fff !important; }
  .bb-sheet { box-sizing: border-box; width: 297mm; height: 209mm; max-width: none; margin: 0; padding: 7mm 9mm 5mm; border-radius: 0; box-shadow: none; display: flex; flex-direction: column; overflow: hidden; }
  .bb-head { margin-bottom: 3mm; }
  .bb-head h1 { font-size: 18pt; }
  .bb-svg { flex: 1; min-height: 0; overflow: hidden; display: flex; }
  .bb-svg svg { min-width: 0; width: 100%; height: 100%; }
  .bb-foot { margin-top: 2mm; font-size: 7.5pt; }
}

/* Hero link to the free maker */
.db-free { display: block; margin: 18px 0 0; color: rgba(255,255,255,.78); font-size: 15px; }
.db-free .icon { display: inline-block; width: 18px; height: 18px; vertical-align: -4px; margin-right: 6px; color: #F5C451; }
.db-free a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #F5C451; }
.db-free a:hover { color: #F5C451; }

/* Free Bracket Maker steps */
.db-maker { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.db-maker li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(11,26,51,.08), 0 18px 36px -24px rgba(11,26,51,.35); }
.db-maker li:nth-child(2) { margin-left: clamp(0px, 3vw, 28px); }
.db-maker li:nth-child(3) { margin-left: clamp(0px, 6vw, 56px); }
.db-maker b { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 17px; background: linear-gradient(160deg, #0f7a57, #06372a); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.db-maker h3 { margin: 2px 0 4px; font-size: 17px; }
.db-maker p { margin: 0; color: #4A5872; font-size: 15px; line-height: 1.5; }
.db-maker code { padding: 1px 6px; border-radius: 6px; background: #EEF3FB; font-size: 13px; }
#bracket-maker .btn--line { border: 1px solid rgba(11,26,51,.2); color: #0B1A33; background: transparent; }
#bracket-maker .btn--line:hover { border-color: #0066FF; color: #0066FF; }
@media (max-width: 720px) { .db-maker li:nth-child(n) { margin-left: 0; } }

/* ---------- Bracket Maker page ---------- */
.btn--line { border: 1px solid rgba(11,26,51,.2); color: #0B1A33; background: transparent; }
.btn--line:hover { border-color: #0066FF; color: #0066FF; }
.bm-demo .db-row { align-items: center; }
.bm-sizes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.bm-size { display: grid; place-items: center; gap: 2px; padding: 22px 8px; border-radius: 18px; text-decoration: none; color: #0B1A33; background: #fff; box-shadow: 0 0 0 1px rgba(11,26,51,.1), 0 14px 30px -22px rgba(11,26,51,.4); transition: transform .2s, box-shadow .2s; }
.bm-size b { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; letter-spacing: -.03em; }
.bm-size small { color: #4A5872; font-size: 14px; }
.bm-size:hover, .bm-size:focus-visible { transform: translateY(-3px); box-shadow: 0 0 0 2px #0066FF, 0 18px 34px -20px rgba(0,102,255,.6); }
.bm-out { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bm-out li { display: grid; gap: 4px; padding: 20px; border-radius: 18px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.bm-out .icon { width: 26px; height: 26px; color: #F5C451; margin-bottom: 6px; }
.bm-out b { color: #fff; font-size: 17px; }
.bm-out small { color: #B8C6DD; font-size: 14px; }
.bm-cmp { overflow-x: auto; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(11,26,51,.1), 0 18px 40px -28px rgba(11,26,51,.4); }
.bm-cmp table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bm-cmp th, .bm-cmp td { padding: 14px 18px; border-bottom: 1px solid rgba(11,26,51,.08); text-align: center; }
.bm-cmp tbody th { text-align: left; font-weight: 500; color: #0B1A33; }
.bm-cmp thead th { font-size: 14px; color: #0B1A33; background: #F4F7FC; }
.bm-cmp thead th:nth-child(2) { color: #0066FF; }
.bm-cmp tr:last-child th, .bm-cmp tr:last-child td { border-bottom: 0; }
.bm-yes .icon { width: 20px; height: 20px; color: #0E7A4F; }
.bm-no { color: #9AA6BA; }
.bm-cmp__cta { justify-content: center; margin-top: 28px; }
@media (max-width: 860px) { .bm-sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .bm-out { grid-template-columns: 1fr 1fr; } .bm-out li { padding: 16px; } .bm-cmp th, .bm-cmp td { padding: 12px 10px; font-size: 14px; } }

/* ---------- Aura v2: colours per page + a glow that moves to the card under the mouse ---------- */
.aura { --a1: 25 169 116; --a2: 0 102 255; --a3: 232 196 104; --a4: 124 58 237; }
.aura::before { background: radial-gradient(circle at 35% 40%, rgb(var(--a1) / .85), transparent 58%), radial-gradient(circle at 68% 58%, rgb(var(--a2) / .8), transparent 55%); transition: opacity .6s ease; }
.aura::after { background: radial-gradient(circle at 40% 40%, rgb(var(--a3) / .8), transparent 58%), radial-gradient(circle at 65% 65%, rgb(var(--a4) / .55), transparent 55%); transition: opacity .6s ease; }
body[class*="page-scoring"] .aura { --a1: 14 165 233; --a2: 0 102 255; --a3: 20 184 166; --a4: 79 70 229; }
body[class*="page-tournaments"] .aura { --a1: 14 122 79; --a2: 0 102 255; --a3: 232 196 104; --a4: 220 38 38; }
body[class*="page-rules"] .aura, body[class*="page-racking"] .aura, body[class*="page-poster"] .aura { --a1: 14 122 79; --a2: 184 134 11; --a3: 234 88 12; --a4: 25 169 116; }
body[class*="page-printable"] .aura, body[class*="page-bracket-"] .aura { --a1: 184 134 11; --a2: 0 102 255; --a3: 245 196 81; --a4: 124 58 237; }
body.page-bracket-maker .aura { --a1: 220 38 38; --a2: 124 58 237; --a3: 245 196 81; --a4: 0 102 255; }
body[class*="page-pricing"] .aura { --a1: 0 102 255; --a2: 124 58 237; --a3: 232 196 104; --a4: 14 165 233; }
.aura__spot {
  position: absolute; z-index: -1; pointer-events: none; left: var(--sx, 50%); top: var(--sy, 50%);
  width: 560px; aspect-ratio: 1; border-radius: 50%; background-color: var(--sc, #0066FF);
  -webkit-mask-image: radial-gradient(circle, #000 0, rgba(0,0,0,.55) 30%, transparent 64%); mask-image: radial-gradient(circle, #000 0, rgba(0,0,0,.55) 30%, transparent 64%);
  filter: blur(30px); opacity: 0; transform: translate(-50%, -50%) scale(.55);
  transition: left .8s cubic-bezier(.2,.75,.2,1), top .8s cubic-bezier(.2,.75,.2,1), opacity .5s ease, transform .8s cubic-bezier(.2,.75,.2,1), background-color .6s ease;
}
.aura.is-hot .aura__spot { opacity: .62; transform: translate(-50%, -50%) scale(1); }
.aura.is-hot::before, .aura.is-hot::after { opacity: .32; }
.aura .gcard:hover, .aura .gcard-like:hover { box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--c) 65%, #06152E), 0 0 0 1px color-mix(in srgb, var(--c) 25%, transparent); }
@media (prefers-reduced-motion: reduce) { .aura__spot { transition: opacity .3s ease; } }

/* ---------- Steps v2: coloured icon, step label, colour edge, arrows between steps, glow on hover ---------- */
.steps2 { gap: 26px; }
.step2 { --c: #0066FF; display: flex; flex-direction: column; overflow: visible; background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 18px 40px -26px rgba(6,21,46,.45), 0 1px 0 rgba(255,255,255,.6) inset; transition: transform .25s ease, box-shadow .25s ease; }
.step2::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 40%, transparent)); }
.step2:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--c) 65%, #06152E), 0 0 0 1px color-mix(in srgb, var(--c) 25%, transparent); }
.step2__ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 55%, #06152E)); box-shadow: 0 12px 20px -12px var(--c), inset 0 1px 0 rgba(255,255,255,.25); }
.step2__ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step2__k { margin-top: 16px; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.step2 h3 { margin-top: 4px; font-size: 1.2rem; }
.steps2 > .step2:not(:last-child)::after { content: ""; position: absolute; z-index: 2; right: -21px; top: 38px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: 0 2px 8px -2px rgba(6,21,46,.3); }
.s--felt .step2, .s--navy .step2 { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); box-shadow: none; }
.s--felt .step2::before, .s--navy .step2::before { background: linear-gradient(90deg, var(--c), transparent); }
.s--felt .step2__ic, .s--navy .step2__ic { color: #06152E; background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 70%, #fff)); }
.s--felt .steps2 > .step2:not(:last-child)::after, .s--navy .steps2 > .step2:not(:last-child)::after { background-color: rgba(255,255,255,.9); }
@media (max-width: 980px) { .steps2 > .step2:not(:last-child)::after { display: none; } }

/* ---------- Bracket types explained (animated scenes) ---------- */
.ex-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.ex-tab { --c: #0066FF; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #DCE3EE; background: #fff; font: 700 .95rem var(--font-body, Inter), sans-serif; color: #0B1A33; cursor: pointer; transition: all .2s; }
.ex-tab i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.ex-tab:hover { border-color: var(--c); }
.ex-tab[aria-selected="true"] { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 10px 24px -12px var(--c); }
.ex-tab[aria-selected="true"] i { background: #fff; }
.ex-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.ex-card { position: relative; border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 0 0 1px rgba(11,26,51,.06), 0 24px 50px -30px rgba(6,21,46,.45); padding: 16px 16px 0; overflow: hidden; }
.ex-svg { display: block; width: 100%; height: auto; }
.ex-h { font: 800 13px var(--font-body, Inter), sans-serif; letter-spacing: .12em; }
.ex-n { font: 700 15px var(--font-body, Inter), sans-serif; }
.ex-big { font: 800 18px var(--font-body, Inter), sans-serif; }
.ex-champ { font: 800 18px var(--font-body, Inter), sans-serif; }
.ex-url { font: 600 13px var(--font-body, Inter), sans-serif; }
.ex-foot { display: flex; align-items: center; gap: 12px; padding: 12px 4px 14px; border-top: 1px solid #EEF2F7; margin-top: 8px; }
.ex-play { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #06152E; color: #fff; display: grid; place-items: center; cursor: pointer; }
.ex-play svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.ex-play__s { display: none; width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.is-playing .ex-play__p { display: none; } .is-playing .ex-play__s { display: block; }
.ex-cap { margin: 0; font-weight: 600; color: #0B1A33; line-height: 1.45; min-height: 2.9em; display: flex; align-items: center; }
.ex-bar { height: 4px; background: #EEF2F7; margin: 0 -16px; } .ex-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #19A974, #0066FF); }
.ex-info { --c: #0066FF; border-radius: 22px; background: #fff; padding: 24px; box-shadow: 0 0 0 1px rgba(11,26,51,.06), 0 24px 50px -30px rgba(6,21,46,.45); border-top: 5px solid var(--c); }
.ex-info__k { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.ex-info h3 { margin: 6px 0 14px; font-size: 1.3rem; line-height: 1.3; color: #0B1A33; }
.ex-info dl { display: grid; gap: 10px; margin: 0 0 18px; }
.ex-info dl div { padding: 10px 12px; border-radius: 12px; background: #F7F9FC; }
.ex-info dt { font-size: .78rem; font-weight: 700; color: #64748B; } .ex-info dd { margin: 2px 0 0; font-weight: 700; color: #0B1A33; }
.ex-steps { list-style: none; counter-reset: exs; padding: 0; margin: 20px 0 24px; display: grid; gap: 12px; }
.ex-steps li { --c: #0066FF; counter-increment: exs; position: relative; padding: 14px 16px 14px 64px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(11,26,51,.07), 0 14px 30px -24px rgba(6,21,46,.4); }
.ex-steps li::before { content: counter(exs); position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 55%, #06152E)); }
.ex-steps b { display: block; color: #0B1A33; } .ex-steps span { color: #4B5B73; font-size: .95rem; }
.ex-video { max-width: 980px; margin: 0 auto; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); background: #000; }
.ex-video video { display: block; width: 100%; height: auto; }
.ex-video__links { text-align: center; margin-top: 18px; }
#how .ex .ex-card { padding-top: 12px; }
@media (max-width: 980px) { .ex-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .ex-tab { padding: 8px 12px; font-size: .85rem; } .ex-card { padding: 10px 10px 0; } .ex-bar { margin: 0 -10px; } }

/* Step cards that lead somewhere: the whole card is the link, with words and an arrow at the bottom. */
.step2--link { padding-bottom: 20px; }
.step2__link { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--c); font-weight: 700; font-size: .95rem; text-decoration: none; }
.step2__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.step2__link i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; transition: transform .2s; }
.step2__link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.step2--link:hover .step2__link i, .step2__link:focus-visible i { transform: translateX(3px); }
.step2__link:focus-visible { outline: none; }
.step2--link:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 45%, transparent), 0 30px 60px -28px color-mix(in srgb, var(--c) 65%, #06152E); }
.s--felt .step2__link, .s--navy .step2__link { color: var(--c); }
.s--felt .step2__link i, .s--navy .step2__link i { color: #06152E; }

/* --- Pricing v3: organisers + clubs --- */
.plans-head { text-align: center; margin-inline: auto; max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.plans--two { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-inline: auto; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin: -4px 0 18px; }
.plan__price b { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan__price span { color: var(--c-text-2); font-weight: 600; }
.plan__note { margin-top: 12px; font-size: .86rem; color: var(--c-text-2); text-align: center; }
.why-cheap--small { margin: clamp(36px, 5vw, 56px) 0 0; }
@media (max-width: 960px) { .plans--two { grid-template-columns: 1fr; max-width: 480px; } }
.plan .checklist { display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; padding-left: 0; margin-left: 0; }
.plan .checklist li { margin: 0; }

/* --- Tournament calculator --- */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
.calc__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 24px; border-radius: var(--r-xl); border: 1px solid var(--c-border); background: #fff; box-shadow: var(--sh-sm); }
.calc__in label { display: flex; flex-direction: column; gap: 6px; font-weight: 650; font-size: .92rem; }
.calc__in input, .calc__in select { height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--c-border); font: inherit; font-weight: 600; background: #fff; color: inherit; }
.calc__in input:focus, .calc__in select:focus { outline: 2px solid var(--c-blue); outline-offset: 1px; }
.calc__out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-content: start; padding: 24px; border-radius: var(--r-xl); background: #06152E; color: #fff; }
.calc__out > div { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.07); }
.calc__out b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.calc__out span { font-size: .85rem; color: rgba(255,255,255,.7); }
.calc__out .calc__big { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(0,102,255,.35), rgba(18,184,134,.25)); }
.calc__out .calc__big b { font-size: 2.6rem; color: #F5C451; }
.calc__out .calc__big i { font-style: normal; }
.calc__note { grid-column: 1 / -1; font-size: .88rem; color: rgba(255,255,255,.75); margin: 0; }
.calc__go { grid-column: 1 / -1; justify-content: center; }
.calc-table { overflow-x: auto; border-radius: var(--r-xl); border: 1px solid var(--c-border); background: #fff; }
.calc-table table { width: 100%; border-collapse: collapse; min-width: 560px; }
.calc-table th, .calc-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--c-border); }
.calc-table thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-text-2); }
.calc-table td { font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-links { margin-top: 18px; color: var(--c-text-2); }
.calc-links a, .gd-links a { color: var(--c-blue); font-weight: 600; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .calc__in { grid-template-columns: 1fr; } .calc__out { grid-template-columns: 1fr 1fr; } }

/* --- Guide: how to run a tournament --- */
.gd { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.gd-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.gd-step { display: flex; gap: 18px; padding: 22px; border-radius: var(--r-xl); border: 1px solid var(--c-border); background: #fff; box-shadow: var(--sh-sm); }
.gd-n { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--g-blue); color: #fff; font-weight: 800; font-size: 1.15rem; }
.gd-step h2 { font-size: 1.25rem; letter-spacing: -.01em; margin: 0 0 6px; }
.gd-step p { color: var(--c-text-2); margin: 0; }
.gd-step .gd-links { margin-top: 10px; }
.gd-cta { position: sticky; top: 100px; padding: 24px; border-radius: var(--r-xl); background: #06152E; color: #fff; display: grid; gap: 12px; }
.gd-cta h2 { font-size: 1.35rem; margin: 0; }
.gd-cta p { color: rgba(255,255,255,.75); margin: 0; }
.gd-cta .btn { justify-content: center; }
.gd-cta .btn--outline { color: #fff; border-color: rgba(255,255,255,.35); }
@media (max-width: 900px) { .gd { grid-template-columns: 1fr; } .gd-cta { position: static; } }

/* --- Pricing v3: aura background + glass cards with a coloured chip (same family as .gcard) --- */
.pricing.aura .plan { --c: #0066FF; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.75); border-radius: 22px; box-shadow: 0 18px 40px -26px rgba(6,21,46,.45), 0 1px 0 rgba(255,255,255,.6) inset; transition: transform .25s ease, box-shadow .25s ease; }
.pricing.aura .plan:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -26px rgba(6,21,46,.5); }
.pricing.aura .plan--pick { border: 2px solid var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 14%, transparent), 0 24px 50px -26px rgba(6,21,46,.5); }
.pricing.aura .plan__badge { background: var(--c); }
.plan__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 12px;
  background: linear-gradient(140deg, color-mix(in srgb, var(--c) 80%, #fff), var(--c)); box-shadow: 0 8px 18px -8px var(--c); }
.plan__ic .icon { width: 22px; height: 22px; }
.plan__k { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c); margin-bottom: 2px; }
.pricing.aura .plan .checklist .icon { background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.pricing.aura .plan--pick .btn--primary { background: var(--c); border-color: var(--c); }
.pricing.aura .plan .btn--outline:hover { border-color: var(--c); color: var(--c); }
.pricing.aura > .container { position: relative; z-index: 1; }
.pricing.aura { background: #F2F5F9; }
.pricing.aura::before { opacity: .62; }
.pricing.aura.aura--soft::before, .pricing.aura.aura--soft::after { opacity: .5; }
/* calculator + guide on the aura background */
.calc-sec, .gd-sec { background: #F2F5F9; }
.calc-sec > .container, .gd-sec > .container { position: relative; z-index: 1; }
.calc__in { background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-color: rgba(255,255,255,.75); }
.gd-step { background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-color: rgba(255,255,255,.75); transition: transform .25s ease, box-shadow .25s ease; }
.gd-step:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -26px rgba(6,21,46,.45); }
.gd-step .gd-n { background: linear-gradient(140deg, color-mix(in srgb, var(--c) 80%, #fff), var(--c)); box-shadow: 0 8px 18px -8px var(--c); }
.gd-step .gd-links a { color: var(--c); }

/* pricing: everything in Club Tools */
.plans-head--more { margin-top: clamp(48px, 6vw, 72px); margin-bottom: 24px; }
.plans-head--more h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; }
.plans-head--more p { color: var(--c-text-2); margin-top: 6px; }
.gcards--club { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .gcards--club { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gcards--club { grid-template-columns: 1fr; } }

/* --- FAQ page: search, subjects, aura groups --- */
.fq-search { position: relative; max-width: 620px; margin: 28px auto 0; }
.fq-search .icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: #7F95B8; pointer-events: none; }
.fq-search input { width: 100%; height: 62px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.96); padding: 0 24px 0 56px; font: inherit; font-size: 1.05rem; color: var(--c-text); box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); }
.fq-search input:focus { outline: 3px solid rgba(77,163,255,.55); outline-offset: 2px; }
.fq-sec { padding-top: clamp(36px, 5vw, 56px); }
.fq-ask a { color: var(--c-blue); font-weight: 700; }
.fq-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 8px; }
.fq-chip { --c: #0066FF; border: 1px solid var(--c-border); background: #fff; color: var(--c-text); border-radius: 999px; padding: 9px 16px; font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .2s, color .2s, border-color .2s; }
.fq-chip i { font-style: normal; font-size: .78rem; background: var(--c-bg-2, #EEF2F8); color: var(--c-text-2); border-radius: 999px; padding: 1px 8px; }
.fq-chip:hover { border-color: var(--c); }
.fq-chip.is-on { background: var(--c); border-color: var(--c); color: #fff; }
.fq-chip.is-on i { background: rgba(255,255,255,.22); color: #fff; }
.fq-count { text-align: center; color: var(--c-text-2); min-height: 1.4em; margin: 6px 0 18px; font-weight: 600; }
.fq-groups { display: grid; gap: 22px; max-width: 900px; margin: 0 auto; }
.fq-group { padding: 26px 28px 10px; border-radius: 22px; }
.fq-group[hidden], .fq-q[hidden], .fq-none[hidden] { display: none; }
.fq-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.fq-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); flex: none; }
.fq-ic .icon { width: 22px; height: 22px; }
.fq-head h2 { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.02em; margin: 0; flex: 1; }
.fq-n { font-size: .82rem; font-weight: 700; color: var(--c-text-2); }
.fq-q { border-top: 1px solid var(--c-border); }
.fq-q summary { cursor: pointer; list-style: none; padding: 17px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; color: var(--c-text); }
.fq-q summary::-webkit-details-marker { display: none; }
.fq-q summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-weight: 800; transition: transform .2s; }
.fq-q[open] summary::after { transform: rotate(45deg); }
.fq-q summary:focus-visible { outline: 2px solid var(--c); outline-offset: 4px; border-radius: 6px; }
.fq-q p { margin: 0; padding: 0 44px 10px 0; color: var(--c-text-2); line-height: 1.65; }
.fq-more { display: inline-block; margin: 0 0 18px; font-weight: 700; font-size: .9rem; color: var(--c); }
.fq-q mark { background: #FFE27A; color: inherit; border-radius: 3px; padding: 0 2px; }
.fq-none { max-width: 560px; margin: 10px auto 0; text-align: center; padding: 34px 28px; border-radius: 22px; }
.fq-none h2 { margin: 0 0 6px; font-size: 1.3rem; }
.fq-none p { color: var(--c-text-2); margin: 0 0 18px; }
.fq-ask { text-align: center; margin-top: 30px; color: var(--c-text-2); }
@media (max-width: 640px) { .fq-group { padding: 20px 18px 6px; } .fq-q p { padding-right: 0; } .fq-search input { height: 56px; } }

/* --- Live streaming page --- */
.st-hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; color: #fff; background: #05122A; overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 80px; }
.st-hero__bg { position: absolute; inset: 0; }
.st-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; animation: stKen 24s ease-in-out infinite alternate; }
.st-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,18,42,.95) 0%, rgba(5,18,42,.7) 45%, rgba(5,18,42,.2) 100%), radial-gradient(60% 60% at 15% 100%, rgba(0,102,255,.35), transparent 70%); }
@keyframes stKen { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-2%, -1%); } }
.st-hero__in { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.st-hero__copy h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; margin: 16px 0 18px; }
.st-hero__copy h1 em { font-style: normal; background: linear-gradient(100deg, #FF6B6B 0%, #4DA3FF 50%, #6FD9A8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-hero__copy > p { font-size: var(--fs-lead); color: #C9D6EC; max-width: 560px; line-height: 1.6; margin: 0; }
.crumbs--left { justify-content: flex-start; margin: 0 0 18px; }
.st-live { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(220,38,38,.9); padding: 6px 12px; border-radius: 999px; box-shadow: 0 8px 24px -8px rgba(220,38,38,.8); }
.st-live i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: stPulse 1.4s ease-in-out infinite; }
@keyframes stPulse { 50% { opacity: .25; } }
.st-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.st-note { display: flex; align-items: center; gap: 8px; margin-top: 18px !important; font-size: .92rem !important; color: #A9BCD9 !important; }
.st-note .icon { width: 16px; height: 16px; }
.st-hero__cards { position: relative; height: 420px; }
.st-hero__cards .gc { position: absolute; opacity: 1; transform: none; animation: stFloat 7s ease-in-out infinite; }
.st-gc1 { right: 0; top: 0; width: 82%; }
.st-gc2 { left: 0; top: 50%; width: 52%; animation-delay: -2s !important; }
.st-gc3 { right: 0; bottom: 0; width: 46%; animation-delay: -4s !important; }
@keyframes stFloat { 50% { transform: translateY(-10px); } }
.st-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-cards .gcard { border-top: 4px solid var(--c); }
.st-world { position: relative; color: #fff; background: #04101F; overflow: hidden; }
.st-world__bg { position: absolute; inset: 0; }
.st-world__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.st-world::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 50% 0%, rgba(0,102,255,.35), transparent 70%), linear-gradient(180deg, rgba(4,16,31,.6), rgba(4,16,31,.92)); }
.st-world__in { position: relative; z-index: 2; }
.st-world .section-head h2 { color: #fff; }
.st-world .section-head p { color: #C9D6EC; }
.st-screens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.st-screen { --c: #4DA3FF; padding: 26px 22px; border-radius: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); position: relative; overflow: hidden; transition: transform .3s, border-color .3s; }
.st-screen::before { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -70px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 55%, transparent), transparent 70%); }
.st-screen:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.st-screen__ic { position: relative; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); margin-bottom: 14px; }
.st-screen__ic .icon { width: 24px; height: 24px; }
.st-screen b { position: relative; display: block; font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 6px; }
.st-screen p { position: relative; margin: 0; color: #C9D6EC; line-height: 1.55; font-size: .95rem; }
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.st-step { --c: #0066FF; position: relative; padding: 24px 20px; border-radius: 22px; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 18px 40px -26px rgba(6,21,46,.45); }
.st-step::after { content: ""; position: absolute; top: 44px; right: -14px; width: 12px; height: 2px; background: color-mix(in srgb, var(--c) 50%, #CBD5E1); }
.st-step:last-child::after { display: none; }
.st-step__n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: #fff; background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 55%, #06152E)); box-shadow: 0 10px 20px -10px var(--c); margin-bottom: 14px; }
.st-step h3 { margin: 0 0 6px; font-size: 1.1rem; color: #0B1A33; }
.st-step p { margin: 0; color: #4B5B73; font-size: .93rem; line-height: 1.55; }
.st-need { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.st-need__img img, .st-night__img img { width: 100%; border-radius: 24px; display: block; box-shadow: 0 30px 60px -30px rgba(6,21,46,.6); aspect-ratio: 16 / 11; object-fit: cover; }
.st-need__copy h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -.03em; margin: 10px 0 18px; }
.st-need__copy .checklist { margin-bottom: 18px; }
.st-need__p { color: var(--c-text-2); margin: 0 0 22px; }
.st-night { background: linear-gradient(135deg, #06152E, #0B2B66 60%, #0E3B2E); color: #fff; }
.st-night__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.st-night h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.03em; margin: 10px 0 14px; color: #fff; }
.st-night p { color: #C9D6EC; font-size: var(--fs-lead); line-height: 1.6; margin: 0; }
.st-night__img { position: relative; }
.st-final { background: radial-gradient(60% 120% at 50% 0%, rgba(0,102,255,.28), transparent 70%), #05122A; color: #fff; text-align: center; }
.st-final__in h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.03em; margin: 0 0 12px; color: #fff; }
.st-final__in p { color: #C9D6EC; margin: 0 auto 26px; max-width: 560px; font-size: var(--fs-lead); }
.st-final__in .btn { margin: 4px; }
@media (max-width: 1100px) { .st-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .st-step::after { display: none; } .st-screens { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .st-hero__in, .st-need, .st-night__in { grid-template-columns: 1fr; } .st-hero__cards { height: 300px; } .st-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .st-steps, .st-screens, .st-cards { grid-template-columns: 1fr; } .st-hero__cards { display: none; } }
@media (prefers-reduced-motion: reduce) { .st-hero__bg img, .st-hero__cards .gc, .st-live i { animation: none; } }

/* --- Home: feature tiles in the aura card style (colour per card) --- */
.tile.gcard-like { --c: #0066FF; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.95); box-shadow: 0 18px 40px -26px rgba(6,21,46,.45); }
.tile.gcard-like .tile__art { border-bottom: 4px solid var(--c); }
.tile__k { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--c); margin-bottom: 6px; }
.tile.gcard-like .tile__ic { position: absolute; left: 18px; top: calc(var(--tile-art-h, 190px) - 22px); z-index: 3; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 55%, #06152E)); box-shadow: 0 10px 20px -8px var(--c); }
.tile.gcard-like .tile__ic .icon { width: 22px; height: 22px; }
.tile.gcard-like .tile__body { padding-top: 30px; }
.tile.gcard-like .tile__more { color: var(--c); }
.tile.gcard-like:hover { box-shadow: 0 28px 50px -26px color-mix(in srgb, var(--c) 55%, rgba(6,21,46,.5)); }

/* --- Questions live on faq.html: a link strip where a page had its questions --- */
.faq-jump { padding: clamp(28px, 4vw, 44px) 0; }
.faq-jump__a { display: flex; align-items: center; gap: 16px; max-width: 760px; margin: 0 auto; padding: 18px 22px; border-radius: 20px; background: #fff; border: 1px solid #E3E8F1; box-shadow: 0 18px 40px -28px rgba(6,21,46,.45); color: #0B1A33; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.faq-jump__a:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -26px rgba(6,21,46,.5); }
.faq-jump__ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font: 800 1.3rem/1 var(--font-display); color: #fff; background: linear-gradient(140deg, #0066FF, #0B2B66); }
.faq-jump__a b { display: block; font-size: 1.08rem; }
.faq-jump__a small { color: #51607A; font-size: .95rem; }
.faq-jump__go { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #0066FF; color: #fff; font-weight: 800; flex: none; }

/* --- Clear borders: fields and cards stand out on the soft colour backgrounds --- */
.calc__in input, .calc__in select, .fq-search input { border: 1.5px solid #B9C6DA; box-shadow: 0 1px 2px rgba(6,21,46,.06); }
.calc__in input:hover, .calc__in select:hover { border-color: #8FA3C4; }
.calc__in input:focus, .calc__in select:focus { border-color: #0066FF; outline: 3px solid rgba(0,102,255,.18); outline-offset: 0; }
.gcard, .gcard-like, .tile.gcard-like, .st-step, .faq-jump__a { border: 1px solid #D3DCE9; box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 18px 40px -26px rgba(6,21,46,.45), 0 0 0 1px rgba(6,21,46,.03); }
.calc__in.gcard-like, .calc__out.gcard-like { border: 1px solid #D3DCE9; }
.st-cards .gcard { border-top: 4px solid var(--c); }
.fq-q { border-top-color: #DCE3EE; }

/* --- Calculator: coloured labels with icons, strong values --- */
.calc__title { grid-column: 1 / -1; margin: 0 0 2px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: #0B1A33; }
.calc__lab { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lc, #0066FF); }
.calc__lab .icon { width: 26px; height: 26px; padding: 5px; border-radius: 8px; color: #fff; background: var(--lc, #0066FF); box-shadow: 0 6px 14px -6px var(--lc, #0066FF); }
.calc__in input, .calc__in select { height: 50px; font-size: 1.08rem; font-weight: 700; color: #0B1A33; }
.calc__in input:focus, .calc__in select:focus { border-color: var(--lc, #0066FF); outline-color: color-mix(in srgb, var(--lc, #0066FF) 22%, transparent); }

/* --- Free listing: hero line, 3 club plans, streaming note --- */
.rh__free { margin: 14px 0 0; font-size: .95rem; color: #C9D6EC; }
.rh__free a { color: #6FD9A8; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.plans--three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1180px; margin-inline: auto; }
.st-final__free { margin: 22px auto 0 !important; font-size: .98rem !important; }
.st-final__free a { color: #6FD9A8; font-weight: 700; }
@media (max-width: 1000px) { .plans--three { grid-template-columns: 1fr; max-width: 480px; } }

/* --- Free listing: hero line, 3 club plans, streaming note --- */
.rh__free { margin: 14px 0 0; font-size: .95rem; color: #C9D6EC; }
.rh__free a { color: #6FD9A8; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.plans--three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1180px; margin-inline: auto; }
.st-final__free { margin: 22px auto 0 !important; font-size: .98rem !important; }
.st-final__free a { color: #6FD9A8; font-weight: 700; }
@media (max-width: 1000px) { .plans--three { grid-template-columns: 1fr; max-width: 480px; } }


/* --- Contact page: compact, three quick cards, a slimmer form card --- */
.ct-hero { padding-top: calc(var(--nav-h) + 34px) !important; padding-bottom: 44px !important; }
.ct-hero h1 { font-size: clamp(2rem, 4vw, 3rem) !important; margin: 10px auto 10px !important; }
.ct-hero p { font-size: 1.05rem !important; }
.ct-sec { padding-top: 0 !important; }
.ct-quickrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; position: relative; z-index: 2; }
.ct-quick { padding: 20px 20px 18px; min-height: 0; }
.ct-quick h3 { font-size: 1.08rem; }
.ct-quick p { font-size: .9rem; }
.ct-quick .gcard__ic { width: 40px; height: 40px; border-radius: 12px; }
.ct-sec .contact { background: transparent; padding-top: 28px !important; }
.ct-sec .contact__card { max-width: 1040px; margin: 0 auto; grid-template-columns: 330px minmax(0, 1fr); border-radius: 24px; border: 1px solid #D3DCE9; }
.ct-sec .contact__aside { padding: 30px 28px; }
.ct-sec .contact__aside h2 { font-size: 1.55rem; margin-bottom: 10px; }
.ct-sec .contact__aside > p { font-size: .95rem; }
.ct-sec .contact__steps { margin-top: 22px; gap: 14px; }
.ct-sec .contact__steps + .contact__trust { margin-top: 24px; }
.ct-sec .contact__main { padding: 28px 30px; }
.ct-sec .cform input, .ct-sec .cform select { height: 44px; font-size: .95rem; }
.ct-sec .cform textarea { min-height: 110px; font-size: .95rem; }
.ct-sec .cform__topics button, .ct-sec .cform__topics label { padding: 7px 13px; font-size: .88rem; }
.ct-sec .cform__grid { gap: 14px 16px; }
.ct-sec .captcha { padding: 12px 14px; }
.ct-sec .cform__submit { height: 48px; padding: 0 22px; font-size: 1rem; }
@media (max-width: 900px) { .ct-quickrow { grid-template-columns: 1fr; margin-top: 24px; } .ct-sec .contact__card { grid-template-columns: 1fr; } }

/* --- Rack diagrams: balls drop in, the rack frame lifts away, then the break line runs from the cue ball to the front ball --- */
.rk .rk-shot { stroke-dashoffset: 0; }
.js [data-in] .rk .rk-shot, .js [data-in] .rk .rk-key { opacity: 0; }
.js [data-in].in .rk .rk-frame { animation: rkFrame 1s ease-out both, rkLift .8s ease-in 2.6s forwards; }
.js [data-in].in .rk .rk-key { animation: rkFade .5s ease-out 2.1s forwards; }
.js [data-in].in .rk .rk-shot { animation: rkFade .4s ease-out 3s forwards, rkShot 1.2s linear 3s infinite; }
@keyframes rkLift { to { opacity: .25; transform: translateX(-6px); } }
@keyframes rkFade { to { opacity: 1; } }
@keyframes rkShot { to { stroke-dashoffset: -20; } }
.rk .rk-frame { transform-box: fill-box; }
@media (prefers-reduced-motion: reduce) { .js [data-in] .rk .rk-shot, .js [data-in] .rk .rk-key { opacity: 1; animation: none !important; } }

/* field-titles-brand: form field titles in deep brand blue, like the app (clear apart from typed text and hints) */
.field label, .cform__topics legend { color: #0047B3; font-weight: 700; }
/* field-borders-visible: places to fill get a light-gray border that is easy to see */
.field input, .field textarea, .field select { border-color: #CBD5E1; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(0, 102, 255, .6); }

/* Bracket rules page: sections, animated diagrams (brules.js), sources */
.brx-toc{position:sticky;top:64px;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-bottom:1px solid #E2E8F0}
.brx-toc__in{display:flex;gap:8px;overflow-x:auto;padding:10px 0;scrollbar-width:none}
.brx-toc__in::-webkit-scrollbar{display:none}
.brx-toc__a{flex:none;display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border-radius:999px;border:1.5px solid #CBD5E1;background:#fff;color:#0B1A33;font-weight:650;font-size:.86rem;text-decoration:none;transition:border-color .2s,background .2s}
.brx-toc__a i{width:8px;height:8px;border-radius:50%;background:var(--c)}
.brx-toc__a:hover{border-color:var(--c);background:color-mix(in srgb,var(--c) 8%,#fff)}
.brx-sec{scroll-margin-top:120px}
.brx-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:44px;align-items:center}
.brx-grid--one{grid-template-columns:minmax(0,760px)}
.brx-sec--flip .brx-text{order:2}
.brx-text h2{font-size:clamp(1.6rem,2.6vw,2.2rem);margin:.35em 0 .5em}
.brx-text p{color:#334155;line-height:1.7;margin:0 0 .9em}
.brx-facts{list-style:none;padding:0;margin:0 0 1em;display:grid;gap:8px}
.brx-facts li{padding:10px 14px;border-radius:12px;background:#fff;border:1px solid #E2E8F0;border-left:4px solid var(--c);color:#334155;line-height:1.55}
.brx-facts b{display:block;color:#0B1A33;font-size:.82rem;text-transform:uppercase;letter-spacing:.06em}
.brx-src{display:flex;gap:10px;align-items:flex-start;margin:0 0 1.1em;padding:10px 14px;border-radius:12px;background:#F1F7FF;border:1px solid #CFE0FF;color:#1E3A6E;font-size:.9rem;line-height:1.5}
.brx-src .icon{flex:none;width:18px;height:18px;color:#0066FF;margin-top:1px}
.brx-src a{font-weight:700;color:#0047B3;white-space:nowrap}
.brx-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.brf{margin:0;background:#fff;border-radius:22px;border:1px solid #DCE3EE;box-shadow:0 30px 60px -40px rgba(6,21,46,.45);overflow:hidden;position:relative}
.brf::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--c),color-mix(in srgb,var(--c) 30%,#fff))}
.brf-stage{padding:22px 18px 8px;background:radial-gradient(120% 90% at 0% 0%,color-mix(in srgb,var(--c) 7%,#fff),#fff 60%)}
.brs{display:block;width:100%;height:auto;overflow:visible;font-family:Inter,system-ui,sans-serif}
.brf-bar{display:flex;align-items:center;gap:12px;padding:10px 16px;border-top:1px solid #EEF2F7;background:#FAFBFD}
.brf-play{flex:none;width:38px;height:38px;border-radius:50%;border:0;background:var(--c);color:#fff;cursor:pointer;display:grid;place-items:center;box-shadow:0 6px 14px -6px var(--c)}
.brf-play:focus-visible{outline:3px solid color-mix(in srgb,var(--c) 40%,#fff);outline-offset:2px}
.brf-play__i{width:0;height:0;border-left:11px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent;margin-left:3px}
.brf.is-playing .brf-play__i{width:11px;height:13px;border:0;margin:0;background:linear-gradient(90deg,#fff 0 35%,transparent 35% 65%,#fff 65%)}
.brf.is-done .brf-play__i{width:14px;height:14px;border:2.5px solid #fff;border-radius:50%;border-top-color:transparent;margin:0}
.brf-cap{margin:0;flex:1;font-size:.92rem;font-weight:600;color:#0B1A33;line-height:1.4;min-height:2.6em;display:flex;align-items:center}
.brf-dots{display:flex;gap:4px;flex:none}
.brf-dots i{width:6px;height:6px;border-radius:50%;background:#CBD5E1;transition:background .3s,transform .3s}
.brf-dots i.on{background:var(--c);transform:scale(1.25)}
.brf-stage{position:relative;cursor:zoom-in}
.brf-zoom{position:absolute;top:10px;right:10px;display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;border:1px solid #DCE3EE;background:rgba(255,255,255,.92);color:#0B1A33;font:700 .78rem/1 inherit;cursor:pointer;box-shadow:0 4px 12px -6px rgba(6,21,46,.4);opacity:.85;transition:opacity .2s,transform .2s}
.brf-zoom svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.brf-stage:hover .brf-zoom,.brf-zoom:focus-visible{opacity:1;transform:scale(1.04)}
.brf--big .brf-zoom{display:none}
.brf--big .brf-stage{cursor:default}
html.brlb-open,html.brlb-open body{overflow:hidden}
html.brlb-open .ft-top-btn{display:none}
.brlb{position:fixed;inset:0;z-index:200;background:rgba(4,12,28,.97);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:64px 70px 40px;animation:brlbIn .2s ease}
.brlb[hidden]{display:none}
@keyframes brlbIn{from{opacity:0}to{opacity:1}}
.brlb-body{width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:auto;touch-action:pan-x pan-y pinch-zoom}
.brlb .brf--big{width:min(1500px,100%);max-height:100%;overflow:auto;border-radius:18px;opacity:1;transform:none}
.brlb .brf--big .brs{max-height:calc(100vh - 230px);width:100%}
.brlb .brf--big .brf-cap{font-size:1.05rem}
.brlb-top{position:absolute;top:0;left:0;right:0;height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 14px 0 22px;color:rgba(255,255,255,.8);font-weight:700}
.brlb-x{width:46px;height:46px;border-radius:50%;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:30px;line-height:1;cursor:pointer}
.brlb-x:hover,.brlb-x:focus-visible{background:#fff;color:#0B1A33;outline:none}
.brlb-nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:30px;line-height:1;cursor:pointer}
.brlb-nav:hover,.brlb-nav:focus-visible{background:#fff;color:#0B1A33;outline:none}
.brlb-prev{left:12px}.brlb-next{right:12px}
.brlb-hint{display:none;position:absolute;bottom:12px;left:60px;right:60px;text-align:center;margin:0;color:rgba(255,255,255,.7);font-size:.85rem}
@media (max-width:700px){.brlb{padding:58px 6px 64px}.brlb-nav{top:auto;bottom:8px;transform:none;width:44px;height:44px}.brlb-prev{left:10px}.brlb-next{right:10px}.brlb .brf--big .brf-dots{display:none}.brlb .brf--big .brs{max-height:none}.brf-zoom span{display:none}}
@media (max-width:700px) and (orientation:portrait){.brlb-hint{display:block}}
.brf figcaption{padding:10px 16px 14px;font-size:.84rem;color:#475569;border-top:1px dashed #E2E8F0}
.brf-dl{display:inline-block;margin-left:4px;font-weight:700;color:#0047B3;white-space:nowrap}
/* SVG pieces */
.brs text{font-size:12px}
.b-card{fill:#fff;stroke:#B6C3D6;stroke-width:1.3}
.b-card--dash{stroke:#B8860B;stroke-dasharray:5 4;fill:#FFFBF0}
.b-div{stroke:#E2E8F0}
.b-name{fill:#0B1A33;font-weight:650}
.b-seed{fill:#64748B;font-size:10px;font-weight:700}
.b-hint{fill:#5B6B82;font-style:italic;font-size:11px}
.b-line{fill:none;stroke:#CBD5E1;stroke-width:2}
.b-win{fill:none;stroke:var(--c,#0066FF);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.b-num text,.b-tag text,.b-popn{fill:#fff;font-size:10px;font-weight:800}
.b-col{fill:#0047B3;font-size:10px;font-weight:800;letter-spacing:.09em}
.b-col--red{fill:#DC2626}.b-col--gold{fill:#8A6100}.b-col--light{fill:rgba(255,255,255,.8)}
.b-champ{fill:#FFF8E6;stroke:#B8860B;stroke-width:1.5}
.b-champ__k{fill:#8A6100;font-size:10px;font-weight:800;letter-spacing:.1em}
.b-champ__n{fill:#0B1A33;font-size:14px;font-weight:800}
.b-chip{fill:#fff;stroke:#CBD5E1}
.b-seedbig{fill:#B8860B;font-weight:800;font-size:13px}
.b-cell{fill:#F8FAFC;stroke:#E2E8F0}.b-cell--x{fill:#E2E8F0}
.b-res{font-size:20px;font-weight:800}.b-res--w{fill:#0E7A4F}.b-res--l{fill:#DC2626}
.b-row{fill:#fff;stroke:#CBD5E1}.b-row.hl{fill:#ECFDF5;stroke:#0E7A4F}
.b-pts{fill:#475569;font-weight:700}
.b-slot{fill:#F1F5F9;stroke:#CBD5E1;stroke-dasharray:3 3}.b-slot--gold{stroke:#B8860B}
.b-ball{stroke:#fff;stroke-width:2}.b-ball--a{fill:#0066FF}.b-ball--b{fill:#7C3AED}
.b-score{fill:#0B1A33;font-size:22px;font-weight:800}
.b-rail{fill:#5A3A1E}.b-felt{fill:#0E7A4F}.b-string{stroke:rgba(255,255,255,.55);stroke-dasharray:6 6}
.b-cue{fill:#fff;stroke:#CBD5E1}.b-lagn{fill:#fff;font-weight:800;font-size:11px}
.b-dot{fill:#0E7A4F}.b-dot--champ{fill:#B8860B}
/* animation states (brules.js toggles the classes) */
.brs [data-at]{opacity:0;transform:translate(var(--fx,0px),var(--fy,8px));transition:opacity .55s ease,transform .7s cubic-bezier(.2,.8,.2,1)}
.brs [data-at].on{opacity:1;transform:none}
.brs [data-move]{transition:transform .9s cubic-bezier(.3,.7,.2,1)}
.brs [data-move].on{transform:translate(var(--mx,0px),var(--my,0px))}
.brs [data-draw]{stroke-dasharray:var(--len,600px);stroke-dashoffset:var(--len,600px);transition:stroke-dashoffset .9s ease}
.brs [data-draw].on{stroke-dashoffset:0}
.brs .dim{opacity:.3 !important;transition:opacity .5s}
.brs text.hl,.brs .hl text.b-name{fill:#0E7A4F;font-weight:800}
.brs circle.hl{fill:#B8860B}
.brs .gone{opacity:0 !important;transition:opacity .4s}
.brs path.gone{stroke-dashoffset:var(--len,600px)}
.brs .b-lag.on.b-lag--a{animation:lagA 2.2s cubic-bezier(.3,.6,.3,1) forwards}
.brs .b-lag.on.b-lag--b{animation:lagB 2.2s cubic-bezier(.3,.6,.3,1) forwards}
@keyframes lagA{0%{transform:none}45%{transform:translateX(-456px)}100%{transform:translateX(-28px)}}
@keyframes lagB{0%{transform:none}45%{transform:translateX(-456px)}100%{transform:translateX(-84px)}}
.brx-table{overflow-x:auto;border-radius:18px;border:1px solid #DCE3EE;background:#fff;margin-bottom:18px}
.brx-table table{width:100%;border-collapse:collapse;font-size:.95rem}
.brx-table th,.brx-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #EEF2F7}
.brx-table thead th{background:#0B1A33;color:#fff;font-size:.8rem;text-transform:uppercase;letter-spacing:.06em}
.brx-table tbody th{color:#0047B3}
.brx-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.brx-source{display:flex;flex-direction:column;gap:8px;padding:22px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);color:#fff;text-decoration:none;transition:transform .2s,border-color .2s}
.brx-source:hover{transform:translateY(-3px);border-color:var(--c)}
.brx-source__k{font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.7)}
.brx-source b{font-size:1.1rem}
.brx-source small{color:rgba(255,255,255,.78);line-height:1.5}
.brx-source__go{margin-top:auto;display:inline-flex;gap:6px;align-items:center;font-weight:700;color:#9CC3FF;font-size:.88rem}
.brx-source__go .icon{width:15px;height:15px}
.brx-checked{margin-top:18px;color:rgba(255,255,255,.7);font-size:.85rem}
/* "How it works" on every printable bracket page */
.hiw{padding:64px 0;background:linear-gradient(180deg,#F7F9FC,#fff)}
.hiw h2{font-size:clamp(1.5rem,2.4vw,2rem);margin:.35em 0 .7em}
.hiw-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:32px;align-items:start}
.hiw-text p{color:#334155;line-height:1.7;margin:0 0 .9em}
.hiw-note{font-size:.88rem;color:#64748B !important}
.hiw-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hiw-stat{padding:14px 16px;border-radius:14px;background:#fff;border:1px solid #DCE3EE;box-shadow:inset 4px 0 0 #0066FF}
.hiw-stat span{display:block;font-size:.74rem;text-transform:uppercase;letter-spacing:.07em;color:#64748B;font-weight:700}
.hiw-stat b{display:block;margin-top:4px;font-size:1.15rem;color:#0B1A33}
.hiw-stat:last-child:nth-child(odd){grid-column:1/-1}
.hiw h3{margin:28px 0 12px;font-size:1.15rem}
.hiw-table{overflow-x:auto;border-radius:14px;border:1px solid #DCE3EE;background:#fff;max-width:640px}
.hiw-table table{width:100%;border-collapse:collapse;font-size:.92rem}
.hiw-table th,.hiw-table td{padding:9px 14px;text-align:left;border-bottom:1px solid #EEF2F7}
.hiw-table thead th{background:#0B1A33;color:#fff;font-size:.76rem;text-transform:uppercase;letter-spacing:.06em}
.hiw-table td b{display:inline-block;min-width:34px;padding:2px 8px;border-radius:999px;background:#FEE2E2;color:#B91C1C;font-size:.8rem;text-align:center}
.hiw-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.hiw-src{margin-top:16px;font-size:.84rem;color:#64748B}
@media (max-width:900px){.hiw-grid{grid-template-columns:1fr}}
.brx-grid>*{min-width:0}
.brx-cta .btn{white-space:normal;text-align:center}
/* printable bracket pages: on a phone the sheet scrolls sideways inside its own box, the page does not */
@media screen and (max-width:900px){.bb-sheet{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.bb-wrap{overflow-x:hidden}}
@media (max-width:900px){.brx-grid{grid-template-columns:1fr;gap:24px}.brx-sec--flip .brx-text{order:0}.brx-sources{grid-template-columns:1fr}.brx-toc{top:56px}}
@media (prefers-reduced-motion:reduce){.brs [data-at],.brs [data-move],.brs [data-draw]{transition:none}.brs .b-lag.on{animation:none}.brs .b-lag.on.b-lag--a{transform:translateX(-28px)}.brs .b-lag.on.b-lag--b{transform:translateX(-84px)}}
/* /Bracket rules page */

/* footer-v2 */
/* Footer v2: columns, share, QR for this page, popular brackets, rule of the day */
.ft{position:relative}
.ft-top{display:flex;justify-content:space-between;gap:32px;align-items:flex-start;padding-bottom:28px;border-bottom:1px solid rgba(255,255,255,.1)}
.ft-brand{max-width:560px}
.ft-brand p{color:rgba(255,255,255,.72);margin:12px 0 16px;line-height:1.6}
.ft-share{display:flex;flex-wrap:wrap;gap:8px}
.ft-btn{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.06);color:#fff;font:600 .86rem/1 inherit;cursor:pointer;text-decoration:none;transition:background .2s,border-color .2s}
.ft-btn .icon{width:16px;height:16px}
.ft-btn:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.4)}
.ft-btn--wa{background:#1FA855;border-color:#1FA855}.ft-btn--wa:hover{background:#178C46;border-color:#178C46}
.ft-btn--app{background:#0066FF;border-color:#0066FF}
.ft-qr{display:flex;align-items:center;gap:14px;padding:12px 16px 12px 12px;border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.1),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.16);flex:none}
.ft-qr__code{background:#fff;border-radius:12px;padding:4px;line-height:0}
.ft-qr__img{width:96px;height:96px}
.ft-qr b{display:block;color:#fff;font-size:.98rem}
.ft-qr small{display:block;color:rgba(255,255,255,.7);max-width:150px;margin-top:4px;line-height:1.45}
.ft-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:28px 0}
.ft-col ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.ft-col a{color:rgba(255,255,255,.78);text-decoration:none}
.ft-col a:hover{color:#fff;text-decoration:underline}
.ft-pop{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:16px 0;border-top:1px solid rgba(255,255,255,.1)}
.ft-pop span{color:rgba(255,255,255,.6);font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;margin-right:6px}
.ft-pop a{padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.07);color:rgba(255,255,255,.88);font-size:.85rem;text-decoration:none}
.ft-pop a:hover{background:rgba(255,255,255,.16);color:#fff}
.ft-rule{display:flex;gap:14px;align-items:center;margin:8px 0 20px;padding:14px 18px;border-radius:16px;background:linear-gradient(90deg,rgba(184,134,11,.22),rgba(184,134,11,.06));border:1px solid rgba(232,196,104,.35)}
.ft-rule__k{flex:none;display:inline-flex;align-items:center;gap:6px;color:#F3D27A;font-weight:800;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}
.ft-rule__k .icon{width:15px;height:15px}
.ft-rule p{margin:0;color:#fff;line-height:1.5}
.ft-rule a{color:#F3D27A;font-size:.84rem;white-space:nowrap}
.ft-feedback{display:inline-flex;align-items:center;gap:6px;color:#6FD9A8 !important;font-weight:600;text-decoration:none}
.ft-feedback .icon{width:15px;height:15px}
.ft-top-btn{position:fixed;right:18px;bottom:18px;z-index:60;width:46px;height:46px;border-radius:50%;border:0;background:#0066FF;color:#fff;display:grid;place-items:center;box-shadow:0 10px 24px -8px rgba(0,102,255,.7);cursor:pointer;opacity:0;pointer-events:none;transform:translateY(10px);transition:opacity .25s,transform .25s}
.ft-top-btn.is-on{opacity:1;pointer-events:auto;transform:none}
.ft-top-btn .icon{width:20px;height:20px}
@media (max-width:700px){.ft-qr{display:none}}
@media (max-width:900px){.ft-top{flex-direction:column}.ft-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.ft-rule{flex-direction:column;align-items:flex-start}}
@media print{.ft-top-btn{display:none}.ds-pg{display:none}}
.ds-pg{position:fixed;inset:0;z-index:300;background:rgba(6,21,46,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.ds-pg__box{width:100%;max-width:440px;background:#fff;border-radius:18px;padding:22px;box-shadow:0 30px 70px -20px rgba(6,21,46,.6);color:#0B1A33}
.ds-pg__t{margin:0;font-size:1.15rem;font-weight:800}.ds-pg__d{margin:4px 0 12px;color:#5B6B82;font-size:.9rem}
.ds-pg ol{margin:0;padding-left:20px;display:grid;gap:8px;font-size:.92rem}.ds-pg__red{color:#B91C1C}
.ds-pg__skip{display:flex;gap:8px;align-items:center;margin-top:14px;font-size:.85rem;color:#5B6B82}
.ds-pg__btns{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.ds-pg__btns .btn--ghost-dark{color:#0B1A33;border-color:#CBD5E1}
/* /footer-v2 */

/* sitemap-page */
.smap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
.smap{padding:22px;border-radius:18px;background:#fff;border:1px solid #DCE3EE;box-shadow:inset 0 4px 0 var(--c)}
.smap h2{font-size:1.1rem;margin:0 0 12px;color:var(--c)}
.smap ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.smap a{color:#0B1A33;text-decoration:none}.smap a:hover{color:var(--c);text-decoration:underline}
@media (max-width:900px){.smap-grid{grid-template-columns:1fr}}
/* /sitemap-page */

/* club-poster-page */
.cpp{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:48px;align-items:center}
.cpp-prev{display:block;border-radius:14px;overflow:hidden;box-shadow:0 40px 80px -30px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.12);transform:rotate(1.5deg);transition:transform .3s}
.cpp-prev:hover{transform:rotate(0) scale(1.01)}
.cpp-prev img{display:block;width:100%;height:auto}
.cpp-tips{list-style:none;padding:0;margin:26px 0 0;display:grid;gap:8px;color:rgba(255,255,255,.85)}
.cpp-tips b{color:#F3D27A;margin-right:6px}
@media (max-width:900px){.cpp{grid-template-columns:1fr}.cpp-prev{max-width:420px}}
/* /club-poster-page */

/* rules-sources */
.rl-src{padding:28px 0;background:#F1F7FF;border-top:1px solid #CFE0FF}
.rl-src__k{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-weight:800;color:#0047B3;text-transform:uppercase;letter-spacing:.07em;font-size:.82rem}
.rl-src__k .icon{width:18px;height:18px}
.rl-src ul{list-style:none;padding:0;margin:0 0 8px;display:flex;flex-wrap:wrap;gap:8px 22px}
.rl-src li a{font-weight:700;color:#0B1A33}
.rl-src li span{color:#475569}
.rl-src__n{margin:0;color:#475569;font-size:.9rem}
/* /rules-sources */

/* bm-film */
.bm-film__frame{position:relative;max-width:1080px;margin:0 auto;aspect-ratio:16/9;border-radius:26px;overflow:hidden;background:#06152E;box-shadow:0 0 0 1px rgba(255,255,255,.12),0 40px 90px -40px rgba(0,0,0,.9),0 0 0 10px rgba(255,255,255,.04)}
.bm-film__frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.bm-film__cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px 22px;margin-top:28px}
.bm-film__dl{color:rgba(255,255,255,.72);font-size:.95rem}
.bm-film__dl a{color:#F5C451;font-weight:700;text-decoration:none}
.bm-film__dl a:hover{text-decoration:underline}
.bm-film__frame--square{display:none;aspect-ratio:1/1}
@media (max-width:640px){.bm-film__frame{border-radius:16px}.bm-film__frame--wide{display:none}.bm-film__frame--square{display:block}}
/* /bm-film */
