/* ADRC pages (/adrc, /adrc/rules, /adrc/guide). The layout and motion of the
   Nationals event report (report-event.html), coloured from the ADRC logo:
   blue #14a3fb for accents, yellow #ffd900 for the leader, 1st place and the
   main buttons (black text, like "DRONE" on the logo). */
/* Self-contained: the ADRC page shares the Nationals report's broadcast look. */
.adrc { --ad-acc: #14a3fb; --ad-acc-ink: #ffffff; --ad-gold: #ffd900; --ad-cta: #ffd900; --ad-cta-ink: #0a0a0a; --ad-silver: #cfd6e0; --ad-bronze: #d99a6c;
      --ad-line: rgba(255,255,255,.1); --ad-card: rgba(255,255,255,.03); --ad-mute: #9a9aa0; --ad-text: #f5f5f7;
      background: #050506; color: var(--ad-text); padding-bottom: 96px; overflow-x: clip;
      font-family: var(--font-sans, 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif); }
.adrc h1, .adrc h2, .adrc h3 { color: var(--ad-text); font-family: inherit; font-weight: 700; }
.adrc a { color: inherit; }
.adrc-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: clamp(16px, 5vw, 72px); box-sizing: border-box; }
.adrc-eyebrow, .adrc-kicker { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--ad-acc); }
.adrc-kicker.dark { color: var(--ad-cta); }
.adrc-eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.adrc-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--ad-acc); animation: adrcPulse 2.2s infinite; }
@keyframes adrcPulse { 0% { box-shadow: 0 0 0 0 rgba(20,163,251,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(20,163,251,0); } }

/* Hero */
.adrc-hero { position: relative; padding: 72px 0 56px; }
body.nx .adrc-hero { margin-top: -56px; padding-top: 140px; }
.adrc-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(20,163,251,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(20,163,251,.08) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 80% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 80% at 50% 0%, #000 30%, transparent 75%); animation: adrcGrid 18s linear infinite; }
@keyframes adrcGrid { to { background-position: 0 48px, 48px 0; } }
.adrc-hero-glow { position: absolute; right: -10%; top: 0; width: 60%; height: 90%; background: radial-gradient(closest-side, rgba(255,217,0,.18), transparent); pointer-events: none; }
.adrc-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 32px; align-items: start; }
.adrc .adrc-h1 { font-size: clamp(2.8rem, 7.4vw, 6.2rem); line-height: .92; letter-spacing: -.055em; margin: 16px 0 0; text-wrap: balance; }
.adrc-h1 span { display: block; color: var(--ad-acc); }
.adrc-lede { font-size: 1.15rem; color: #c9c9ce; max-width: 54ch; margin: 22px 0 0; line-height: 1.55; }
.adrc-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.adrc-btn { display: inline-flex; align-items: center; gap: .4em; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: var(--ad-text) !important; transition: transform .3s cubic-bezier(.2,.8,.2,1), background .2s, box-shadow .3s, border-color .2s; }
.adrc-btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.4); }
.adrc-btn.primary { background: var(--ad-cta); border-color: var(--ad-cta); color: var(--ad-cta-ink) !important; }
.adrc-btn.primary:hover { box-shadow: 0 12px 34px rgba(255,217,0,.28); }
.adrc-btn.ghost { background: none; border-color: transparent; color: var(--ad-acc) !important; padding-inline: 8px; }
.adrc-btn.dark { background: var(--ad-cta); border-color: var(--ad-cta); color: var(--ad-cta-ink) !important; }
.adrc-btn:focus-visible, .adrc a:focus-visible { outline: 2px solid var(--ad-acc); outline-offset: 3px; }

/* The leader in the hero */
.adrc-leader { position: relative; display: block; text-decoration: none; justify-self: end; width: min(100%, 400px); }
.adrc-leader-k { position: absolute; top: 6px; left: 0; z-index: 3; font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ad-cta-ink); background: var(--ad-gold); padding: 6px 12px; border-radius: 999px; }
.adrc-leader-plate { position: relative; z-index: 2; margin-top: -64px; padding: 18px 20px; border-radius: 20px; background: rgba(8,8,10,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,217,0,.35); display: grid; gap: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.adrc-leader-name { font-size: 1.9rem; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.adrc-leader-club { display: flex; align-items: center; gap: 8px; color: var(--ad-mute); font-size: .9rem; }
.adrc-leader-club img { height: 20px; width: auto; max-width: 60px; object-fit: contain; }
.adrc-leader-pts { color: var(--ad-mute); font-size: .95rem; }
.adrc-leader-pts b { color: var(--ad-gold); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.adrc-leader:hover .adrc-leader-plate { border-color: var(--ad-gold); }

/* A pilot figure: greenscreen cut-out when we have one, else the photo */
/* Framed like the Up Now overlay: a tall crop of the keyed shot, so the edges
   of the greenscreen backdrop (outside the subject) fall off the sides. */
.adrc-fig { position: relative; aspect-ratio: 4 / 5; width: 100%; display: grid; place-items: end center; overflow: hidden; }
.adrc-fig .adrc-cut, .adrc-fig .adrc-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: none; }
.adrc-fig.has-cut .adrc-cut { display: block; }
.adrc-fig.has-cut.playing .adrc-clip { display: block; }
.adrc-fig.has-cut.playing .adrc-cut { visibility: hidden; }
.adrc-fig.has-cut .adrc-ava { display: none; }
.adrc-ava { width: 62%; aspect-ratio: 1; margin-bottom: 8%; border-radius: 50%; padding: 4px; background: conic-gradient(var(--ad-gold), #fff4a8, var(--ad-gold)); box-shadow: 0 0 70px rgba(255,217,0,.3); }
.adrc-ava img, .adrc-ava i { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #151517; font-style: normal; font-weight: 800; font-size: 3rem; border: 4px solid #050506; }
.adrc-fig-xl::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 6%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,217,0,.35), transparent); filter: blur(6px); }

/* Counters */
.adrc-counters { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin-top: 44px; background: var(--ad-line); border: 1px solid var(--ad-line); border-radius: 22px; overflow: hidden; }
.adrc-counters > div { background: #070708; padding: 22px 20px; }
.adrc-counters b { display: block; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.adrc-counters span { color: var(--ad-mute); font-size: .9rem; }

/* Sections */
.adrc-sec { padding-top: 88px; scroll-margin-top: 70px; }
.adrc .adrc-h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); letter-spacing: -.04em; line-height: 1.02; margin: 8px 0 0; text-wrap: balance; }
.adrc .adrc-h3 { font-size: 1.35rem; letter-spacing: -.02em; margin: 52px 0 0; }
.adrc-cap { color: #b9b9be; max-width: 66ch; margin: 12px 0 0; font-size: 1.02rem; line-height: 1.55; }
.adrc-empty { padding: 40px; border-radius: 26px; border: 1px dashed rgba(20,163,251,.35); background: linear-gradient(160deg, rgba(20,163,251,.06), transparent 60%); }

/* Podium */
.adrc-podium { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: 16px; align-items: end; }
.adrc-pod { --c: var(--ad-silver); display: flex; flex-direction: column; border-radius: 26px; border: 1px solid var(--ad-line); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 10%, transparent), rgba(255,255,255,.02) 55%); overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .2s; }
.adrc-pod:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.adrc-pod.pos-1 { --c: var(--ad-gold); order: 2; border-color: rgba(255,217,0,.4); box-shadow: 0 30px 80px rgba(255,217,0,.12); }
.adrc-pod.pos-2 { order: 1; }
.adrc-pod.pos-3 { --c: var(--ad-bronze); order: 3; }
.adrc-pod-stage { position: relative; padding: 18px 18px 0; }
.adrc-pod .adrc-fig { width: 78%; margin: 0 auto; }
.adrc-pod.pos-1 .adrc-fig { width: 86%; }
.adrc-pod .adrc-ava { background: conic-gradient(var(--c), #fff, var(--c)); box-shadow: 0 0 50px color-mix(in srgb, var(--c) 30%, transparent); }
.adrc-pod-rank { position: absolute; right: 14px; top: 2px; font-size: clamp(4rem, 9vw, 7rem); font-weight: 900; letter-spacing: -.08em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c) 55%, transparent); z-index: 0; }
.adrc-pod .adrc-fig { z-index: 1; }
.adrc-pod-body { padding: 18px 22px 22px; border-top: 1px solid var(--ad-line); background: rgba(5,5,6,.6); display: grid; gap: 8px; }
.adrc-pod-pos { font-size: .85rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.adrc-pod-pos sup { font-size: 1em; vertical-align: baseline; }
.adrc .adrc-pod-name { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.035em; line-height: 1.05; }
.adrc-pod-name a, .adrc-row-who a { text-decoration: none; border-bottom: 1px solid rgba(20,163,251,.35); }
.adrc-pod-name a:hover, .adrc-row-who a:hover { color: var(--ad-acc); border-bottom-color: var(--ad-acc); }
.adrc-club { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ad-mute); font-size: .9rem; }
.adrc-club img { height: 22px; width: auto; max-width: 64px; object-fit: contain; }
.adrc-club.small { font-size: .82rem; gap: 6px; }
.adrc-club.small img { height: 16px; max-width: 44px; }
.adrc-club em { font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--ad-line); color: #c9c9ce; }
.adrc-pod-pts { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.adrc-pod-pts b { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--c); font-variant-numeric: tabular-nums; }
.adrc-pod-pts span { color: var(--ad-mute); font-size: .9rem; }
.adrc-pod-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 6px 0 0; background: var(--ad-line); border-radius: 14px; overflow: hidden; }
.adrc-pod-stats div { background: #0b0b0d; padding: 10px 12px; }
.adrc-pod-stats dt { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ad-mute); }
.adrc-pod-stats dd { margin: 2px 0 0; font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; }

/* A photo that fails to load falls back to the pilot's initial */
.adrc-row-av.noimg::before, .adrc-win-av.noimg::before, .adrc-ava.noimg::before { content: attr(data-i); display: grid; place-items: center; border-radius: 50%; background: #1a1a1c; font-weight: 800; }
.adrc-row-av.noimg::before { width: 46px; height: 46px; }
.adrc-win-av.noimg::before { width: 34px; height: 34px; box-shadow: 0 0 0 2px var(--ad-gold); }
.adrc-ava.noimg::before { width: 100%; height: 100%; font-size: 3rem; border: 4px solid #050506; box-sizing: border-box; }

/* Form strip */
.adrc-form { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.adrc-form i { min-width: 26px; height: 26px; padding: 0 5px; box-sizing: border-box; border-radius: 8px; display: inline-grid; place-items: center; font-style: normal; font-size: .75rem; font-weight: 800; font-variant-numeric: tabular-nums; background: rgba(255,255,255,.06); color: #c9c9ce; }
.adrc-form i.win { background: var(--ad-gold); color: #141100; }
.adrc-form i.pod { background: rgba(255,217,0,.2); color: var(--ad-gold); }
.adrc-form i.top { background: rgba(20,163,251,.14); color: var(--ad-acc); }

/* Chasing pack */
.adrc-pack { margin-top: 28px; border-radius: 24px; border: 1px solid var(--ad-line); background: var(--ad-card); overflow: hidden; }
.adrc-pack-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--ad-line); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--ad-mute); }
.adrc-more { color: var(--ad-acc) !important; font-weight: 700; text-decoration: none; letter-spacing: 0; text-transform: none; font-size: .95rem; display: inline-flex; gap: .35em; }
.adrc-more::after { content: "→"; transition: transform .3s; }
.adrc-more:hover::after { transform: translateX(4px); }
.adrc-more-wrap { margin-top: 24px; }
.adrc-rows { list-style: none; margin: 0; padding: 0; }
.adrc-row { display: grid; grid-template-columns: 34px 46px minmax(0, 1.4fr) minmax(0, 1fr) minmax(80px, 1fr) 88px; align-items: center; gap: 14px; padding: 12px 22px; border-bottom: 1px solid var(--ad-line); transition: background .15s; }
.adrc-row:last-child { border-bottom: 0; }
.adrc-row:hover { background: rgba(255,255,255,.03); }
.adrc-row-rank { font-size: 1.15rem; font-weight: 800; color: var(--ad-mute); font-variant-numeric: tabular-nums; text-align: center; }
.adrc-row-av img, .adrc-row-av i { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #1a1a1c; font-style: normal; font-weight: 800; }
.adrc-row-who { display: grid; gap: 3px; min-width: 0; }
.adrc-row-who b { font-size: 1.08rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adrc-row-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.adrc-row-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, rgba(20,163,251,.4), var(--ad-acc)); }
.adrc-row-pts { display: grid; text-align: right; }
.adrc-row-pts b { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.adrc-row-pts small { color: var(--ad-mute); font-size: .78rem; font-variant-numeric: tabular-nums; }

/* How it works */
.adrc-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.adrc-steps li { position: relative; padding: 26px 24px; border-radius: 22px; border: 1px solid var(--ad-line); background: var(--ad-card); overflow: hidden; }
.adrc-step-n { font-size: 3rem; font-weight: 900; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(20,163,251,.6); }
.adrc .adrc-steps h3 { margin: 18px 0 8px; font-size: 1.2rem; letter-spacing: -.02em; }
.adrc-steps p { margin: 0; color: #b9b9be; line-height: 1.5; }

/* Calendar */
.adrc-events { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.adrc-event { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 18px 22px; border-radius: 22px; border: 1px solid var(--ad-line); background: var(--ad-card); text-decoration: none; transition: border-color .2s, transform .3s cubic-bezier(.2,.8,.2,1), background .2s; }
.adrc-event:hover { border-color: rgba(20,163,251,.5); transform: translateY(-2px); background: linear-gradient(160deg, rgba(20,163,251,.08), transparent 60%); }
.adrc-date { display: grid; justify-items: center; padding: 10px 0; border-radius: 16px; background: rgba(255,255,255,.05); line-height: 1.05; }
.adrc-date b { font-size: 2.2rem; font-weight: 900; letter-spacing: -.05em; }
.adrc-date small { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ad-mute); }
.adrc-event-main { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.adrc-event-main strong { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.15; }
.adrc-event-host { display: flex; align-items: center; gap: 8px; color: var(--ad-mute); font-size: .9rem; }
.adrc-event-host img { height: 20px; width: auto; max-width: 60px; object-fit: contain; }
.adrc-tier { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: var(--ad-acc); border: 1px solid rgba(20,163,251,.45); background: rgba(20,163,251,.08); }
.adrc-tier.small { padding: 2px 8px; font-size: .64rem; }
.adrc-event-prize { display: grid; justify-items: end; text-align: right; gap: 2px; }
.adrc-event-prize b { font-size: 2rem; font-weight: 900; letter-spacing: -.05em; color: var(--ad-gold); line-height: 1; }
.adrc-event-prize small { color: var(--ad-mute); font-size: .78rem; }
.adrc-event-prize em { font-style: normal; color: var(--ad-acc); font-weight: 700; font-size: .9rem; margin-top: 6px; }
.adrc-event-prize em::after { content: " →"; }
.adrc-recent { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.adrc-res { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 20px; border: 1px solid var(--ad-line); background: var(--ad-card); text-decoration: none; transition: border-color .2s; }
.adrc-res:hover { border-color: rgba(20,163,251,.45); }
.adrc-res-h { display: flex; justify-content: space-between; align-items: center; color: var(--ad-mute); font-size: .82rem; }
.adrc-res strong { font-size: 1.08rem; line-height: 1.25; }
.adrc-res-wins { display: grid; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ad-line); }
.adrc-win { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.adrc-win > span:last-child { display: grid; font-size: .95rem; }
.adrc-win small { color: var(--ad-gold); font-weight: 700; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.adrc-win-av img, .adrc-win-av i { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #1a1a1c; font-style: normal; font-weight: 800; box-shadow: 0 0 0 2px var(--ad-gold); }
.adrc-res-wait { margin-top: auto; color: var(--ad-mute); font-size: .88rem; }

/* Tiers */
.adrc-tiers { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.adrc-tiercard { display: grid; gap: 6px; padding: 22px; border-radius: 22px; border: 1px solid var(--ad-line); background: var(--ad-card); }
.adrc-tiercard.is-top { border-color: rgba(255,217,0,.45); background: linear-gradient(160deg, rgba(255,217,0,.14), rgba(255,217,0,.02) 70%); }
.adrc-tiercard-k { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.adrc-tiercard-d { color: var(--ad-mute); font-size: .88rem; }
.adrc-tiercard-win { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.adrc-tiercard-win b { font-size: 3rem; font-weight: 900; letter-spacing: -.06em; line-height: 1; color: var(--ad-acc); }
.adrc-tiercard.is-top .adrc-tiercard-win b { color: var(--ad-gold); }
.adrc-tiercard-win small { color: var(--ad-mute); font-size: .85rem; }
.adrc-tiercard-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.adrc-tiercard-meta span { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: #c9c9ce; }
.adrc-table { margin-top: 16px; border-radius: 20px; border: 1px solid var(--ad-line); background: var(--ad-card); }
.adrc-table summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--ad-acc); list-style: none; }
.adrc-table summary::-webkit-details-marker { display: none; }
.adrc-table summary::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 800; }
.adrc-table[open] summary::before { content: "–"; }
.adrc-table-wrap { overflow-x: auto; padding: 0 20px; }
.adrc-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 460px; }
.adrc-table th, .adrc-table td { padding: 9px 12px; border-bottom: 1px solid var(--ad-line); text-align: left; }
.adrc-table thead th { color: var(--ad-mute); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.adrc-table .num { text-align: right; }
.adrc-note { color: var(--ad-mute); font-size: .88rem; padding: 12px 20px 18px; margin: 0; }

/* For pilots */
.adrc-score { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; padding: clamp(24px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--ad-line); background: radial-gradient(120% 120% at 0% 0%, rgba(20,163,251,.1), transparent 55%), var(--ad-card); }
.adrc-score .adrc-btn { margin-top: 22px; }
.adrc-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: c; }
.adrc-checks li { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(0,0,0,.35); border: 1px solid var(--ad-line); }
.adrc-checks li::before { content: "✓"; grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ad-acc); color: var(--ad-acc-ink); font-weight: 900; }
.adrc-checks b { font-size: 1.02rem; }
.adrc-checks span { color: #b9b9be; font-size: .92rem; }

/* For clubs */
.adrc-host { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(24px, 4vw, 48px); border-radius: 28px; background: linear-gradient(110deg, #0a6cbd, #1192e8 55%, #33b3ff); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: var(--ad-acc-ink); }
.adrc-host > div { max-width: 70ch; }
.adrc .adrc-host .adrc-h2 { color: var(--ad-acc-ink); }
.adrc .adrc-host p { margin: 12px 0 0; line-height: 1.55; font-size: 1.02rem; color: var(--ad-acc-ink); }
.adrc .adrc-host strong { color: var(--ad-acc-ink); }

/* Scroll-in motion, only armed with JS and no reduced-motion preference */
html.adrc-motion .adrc-sec { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
html.adrc-motion .adrc-sec.in { opacity: 1; transform: none; }
html.adrc-motion .adrc-pod { opacity: 0; transform: translateY(40px); transition: opacity .7s, transform .9s cubic-bezier(.16,1,.3,1); }
html.adrc-motion .adrc-sec.in .adrc-pod { opacity: 1; transform: none; }
html.adrc-motion .adrc-sec.in .adrc-pod.pos-1 { transition-delay: .25s; }
html.adrc-motion .adrc-sec.in .adrc-pod.pos-3 { transition-delay: .12s; }
html.adrc-motion .adrc-row-bar i { width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1) .3s; }
html.adrc-motion .adrc-sec.in .adrc-row-bar i { width: var(--w); }
@media (prefers-reduced-motion: reduce) { .adrc-hero-grid, .adrc-eyebrow i { animation: none; } }

@media (max-width: 960px) {
    .adrc-hero-in { grid-template-columns: 1fr; }
    .adrc-leader { justify-self: center; width: min(100%, 380px); }
    .adrc-score { grid-template-columns: 1fr; }
    .adrc-row { grid-template-columns: 30px 42px minmax(0, 1fr) 80px; }
    .adrc-row-form, .adrc-row-bar { display: none; }
}
@media (max-width: 760px) {
    .adrc-leader, .adrc-hero-glow { display: none; }
    .adrc-podium { grid-template-columns: 1fr; }
    .adrc-pod.pos-1 { order: 1; } .adrc-pod.pos-2 { order: 2; } .adrc-pod.pos-3 { order: 3; }
    .adrc-pod:not(.pos-1) .adrc-pod-stage { display: none; }
    .adrc-event { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 14px 16px; }
    .adrc-event-prize { grid-column: 2; justify-items: start; text-align: left; }
    .adrc-date b { font-size: 1.7rem; }
    .adrc-row { padding: 10px 14px; gap: 10px; }
}

/* ── Rules and competitor guide (/adrc/rules, /adrc/guide) ─────────────── */
.adrc-hero-doc { padding-bottom: 40px; }
.adrc-crumb { display: inline-block; margin-bottom: 18px; color: var(--ad-mute) !important; text-decoration: none; font-weight: 600; font-size: .9rem; }
.adrc-crumb::before { content: "← "; }
.adrc-crumb:hover { color: var(--ad-acc) !important; }
.adrc-hero-doc .adrc-h1 { font-size: clamp(2.8rem, 8vw, 6.4rem); }
.adrc-lede.adrc-prose p { margin: 0 0 12px; color: #c9c9ce; font-size: 1.15rem; }
.adrc-updated { color: var(--ad-mute); font-size: .88rem; margin: 22px 0 0; }
.adrc-updated a { color: var(--ad-acc); }
.adrc-draft { margin-top: 8px; padding: 14px 18px; border-radius: 16px; border: 1px dashed var(--ad-gold); background: rgba(255,217,0,.08); color: #fff1a6; }
.adrc-draft a { color: var(--ad-gold); }

.adrc-doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 24px; }
.adrc-toc { position: sticky; top: 84px; padding: 18px; border-radius: 20px; border: 1px solid var(--ad-line); background: var(--ad-card); max-height: calc(100vh - 110px); overflow: auto; }
.adrc-toc-k { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--ad-mute); margin-bottom: 10px; }
.adrc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.adrc-toc a { display: flex; gap: 10px; align-items: baseline; padding: 7px 10px; border-radius: 10px; color: #c9c9ce !important; text-decoration: none; font-size: .9rem; font-weight: 600; line-height: 1.3; transition: background .15s, color .15s; }
.adrc-toc a em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--ad-mute); min-width: 1.4em; }
.adrc-toc a:hover { background: rgba(255,255,255,.05); color: var(--ad-text) !important; }
.adrc-toc a.on { background: rgba(20,163,251,.12); color: var(--ad-acc) !important; }
.adrc-toc a.on em { color: var(--ad-acc); }

.adrc-doc-body { display: grid; gap: 16px; min-width: 0; }
.adrc-dsec { position: relative; padding: clamp(22px, 3vw, 34px); padding-top: clamp(22px, 3vw, 34px) !important; border-radius: 24px; border: 1px solid var(--ad-line); background: var(--ad-card); overflow: hidden; }
.adrc-dsec-n { position: absolute; right: 22px; top: 8px; font-size: clamp(3.4rem, 7vw, 5.4rem); font-weight: 900; letter-spacing: -.07em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(20,163,251,.35); pointer-events: none; }
.adrc .adrc-dsec-h { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.035em; line-height: 1.08; margin: 0 0 14px; padding-right: 90px; }

.adrc-prose { color: #c9c9ce; font-size: 1.02rem; line-height: 1.65; }
.adrc-prose > :first-child { margin-top: 0; }
.adrc-prose > :last-child { margin-bottom: 0; }
.adrc .adrc-prose p { margin: 0 0 14px; color: #c9c9ce; }
.adrc .adrc-prose strong { color: var(--ad-text); }
.adrc .adrc-prose a { color: var(--ad-acc); }
.adrc-prose ul, .adrc-prose ol { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 10px; }
.adrc-prose ul li { position: relative; padding-left: 22px; }
.adrc-prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--ad-acc); }
.adrc-prose ol { counter-reset: adol; }
.adrc-prose ol li { counter-increment: adol; position: relative; padding: 14px 16px 14px 60px; border-radius: 16px; background: rgba(0,0,0,.3); border: 1px solid var(--ad-line); }
.adrc-prose ol li::before { content: counter(adol); position: absolute; left: 14px; top: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ad-acc); color: var(--ad-acc-ink); font-weight: 900; font-size: .95rem; }
.adrc-prose table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; margin: 6px 0 16px; font-variant-numeric: tabular-nums; font-size: .92rem; border: 1px solid var(--ad-line); border-radius: 16px; }
.adrc-prose th, .adrc-prose td { padding: 10px 12px; border-bottom: 1px solid var(--ad-line); text-align: left; vertical-align: top; }
.adrc-prose td { min-width: 5.5em; }
.adrc-prose thead th { color: var(--ad-mute); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.03); }
.adrc-prose tbody tr:last-child td { border-bottom: 0; }
.adrc-prose tbody tr:hover td { background: rgba(255,255,255,.02); }
.adrc-prose td:first-child { color: var(--ad-text); font-weight: 700; }

.adrc-faq { display: grid; gap: 10px; }
.adrc-faq details { border-radius: 16px; border: 1px solid var(--ad-line); background: rgba(0,0,0,.3); transition: border-color .2s; }
.adrc-faq details[open] { border-color: rgba(20,163,251,.4); }
.adrc-faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 700; color: var(--ad-text); position: relative; font-size: 1.02rem; }
.adrc-faq summary::-webkit-details-marker { display: none; }
.adrc-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--ad-acc); font-weight: 800; }
.adrc-faq details[open] summary::after { content: "–"; }
.adrc-faq .adrc-prose { padding: 0 18px 16px; }

.adrc-doc-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; padding-top: 24px !important; }
.adrc-next { display: grid; gap: 6px; padding: 22px; border-radius: 22px; border: 1px solid var(--ad-line); background: linear-gradient(160deg, rgba(20,163,251,.08), transparent 60%); text-decoration: none; transition: border-color .2s, transform .3s cubic-bezier(.2,.8,.2,1); }
.adrc-next:hover { border-color: rgba(20,163,251,.5); transform: translateY(-2px); }
.adrc-next strong { font-size: 1.25rem; letter-spacing: -.02em; }
.adrc-next strong::after { content: " →"; color: var(--ad-acc); }
.adrc-next > span:last-child { color: var(--ad-mute); font-size: .92rem; }
html.adrc-motion .adrc-dsec { transform: translateY(18px); }

@media (max-width: 960px) {
    .adrc-doc { grid-template-columns: 1fr; gap: 16px; }
    .adrc-toc { position: static; max-height: none; }
    .adrc-toc ol { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 640px) {
    .adrc-prose table { display: block; overflow-x: auto; }
    .adrc-prose th, .adrc-prose td { white-space: nowrap; }
    .adrc-prose ol li { padding: 12px 14px 12px 54px; }
    .adrc .adrc-dsec-h { padding-right: 56px; }
    .adrc-dsec-n { right: 14px; font-size: 3rem; }
}
.adrc-crumb { display: block; width: fit-content; }
.adrc-glance { justify-self: end; width: min(100%, 380px); padding: 24px; border-radius: 24px; border: 1px solid rgba(255,217,0,.35); background: linear-gradient(160deg, rgba(255,217,0,.12), rgba(255,255,255,.02) 60%); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.adrc-glance:empty { display: none; }
.adrc-glance-k { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ad-gold); margin-bottom: 14px; }
.adrc-glance ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.adrc-glance-tiers li { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 14px; border-radius: 14px; background: rgba(0,0,0,.35); font-weight: 700; }
.adrc-glance-tiers b { font-size: 1.8rem; font-weight: 900; letter-spacing: -.05em; color: var(--ad-acc); font-variant-numeric: tabular-nums; }
.adrc-glance-tiers li.is-top b { color: var(--ad-gold); }
.adrc-glance-checks li { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(0,0,0,.35); font-weight: 700; }
.adrc-glance-checks li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ad-acc); color: var(--ad-acc-ink); font-weight: 900; font-size: .85rem; }
.adrc .adrc-glance-s { margin: 14px 0 0; color: var(--ad-mute); font-size: .9rem; }
.adrc-hero-doc .adrc-hero-in { align-items: center; }
@media (max-width: 960px) { .adrc-glance { justify-self: stretch; width: auto; } }

/* Championship logo: locked up beside the headline, same height as it */
.adrc-brand { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); margin-top: 18px; }
.adrc-brand .adrc-h1 { margin: 0; font-size: clamp(2.2rem, 5.2vw, 4.6rem); }
.adrc-logo { flex: none; display: block; width: auto; height: clamp(120px, 14.5vw, 228px); filter: drop-shadow(0 0 28px rgba(24,160,251,.32)) drop-shadow(0 14px 30px rgba(0,0,0,.5)); }
html.adrc-motion .adrc-logo { animation: adrcLogoIn .9s cubic-bezier(.16,1,.3,1) both; }
@keyframes adrcLogoIn { from { opacity: 0; transform: translateX(-12px) scale(.96); } }
.adrc-crumb-logo { display: flex !important; width: fit-content; align-items: center; gap: 12px; }
.adrc-crumb-logo::before { content: none; }
.adrc-crumb-logo img { height: 56px; width: auto; filter: drop-shadow(0 0 18px rgba(24,160,251,.3)); }
@media (max-width: 760px) { .adrc-brand { gap: 12px; } .adrc-brand .adrc-h1 { font-size: clamp(1.9rem, 8.4vw, 2.6rem); } .adrc-logo { height: clamp(96px, 27vw, 128px); } }
