/* Amazeballs Events branding, shared across the duplicated mini-site.
   See docs/brand-pack.md — these surfaces become brand-pack fields. */
.amazeballs-wordmark{display:flex!important;flex-direction:column;gap:.1rem;width:auto!important;height:auto!important;background:none!important;white-space:nowrap;line-height:1.05;font-family:var(--font-heading)}
.amazeballs-wordmark b{color:var(--colour-electric-green);font-size:1.05rem;font-weight:900;letter-spacing:.06em}
.amazeballs-wordmark small{color:var(--colour-text-muted);font-family:var(--font-body);font-size:.68rem;letter-spacing:.04em}
.amazeballs-event-mark{display:grid;justify-items:center;gap:1rem;text-align:center;font-family:var(--font-heading);padding:1rem}
.amazeballs-event-mark img{display:block;width:min(100%,20rem);height:auto;filter:drop-shadow(0 0 2.5rem rgba(255,233,31,.18))}
.amazeballs-event-mark>span{display:block;font-size:.78rem;letter-spacing:.2em;color:var(--colour-brand-teal);margin-top:.25rem;font-weight:800}

/* Night-black chrome with an electric hero. */
.site-header{background:transparent}
.site-header.is-scrolled{background:rgba(5,5,5,.94);border-color:var(--colour-border)}
.site-header__event-logo{height:clamp(1.35rem,6vw,2.1rem)}
.hero{min-height:43rem;padding:7rem 0 3rem}
.hero__content{grid-template-columns:minmax(0,1fr) minmax(12rem,22rem);gap:clamp(2rem,4vw,4rem)}
.hero h1{max-width:45rem;font-size:clamp(2.3rem,6.2vw,6rem);line-height:.86;margin:.7rem 0 1rem}
.hero h1 .hero-title__follow{display:block;color:#fff;font-size:.42em;letter-spacing:-.01em}
.hero h1 .hero-title__accent{display:block;color:var(--colour-electric-green);text-shadow:0 0 2.5rem rgba(255,233,31,.24)}
.hero__media img{filter:saturate(.65) brightness(.9) contrast(1)}
.hero__veil{background:linear-gradient(90deg,rgba(5,5,5,.99) 0%,rgba(5,5,5,.9) 45%,rgba(5,5,5,.7) 75%,rgba(5,5,5,.5) 100%),linear-gradient(0deg,#050505 0%,transparent 40%),radial-gradient(circle at 78% 38%,rgba(255,233,31,.14),transparent 30%),radial-gradient(circle at 20% 50%,rgba(255,233,31,.08),transparent 35%)}
.hero__intro{max-width:38rem;color:#d1d5db;font-size:clamp(1rem,2vw,1.2rem)}
.hero__event-brand{width:100%}
.hero__event-brand img{filter:drop-shadow(0 0 2.5rem rgba(255,233,31,.16))}
.event-status{background:rgba(0,0,0,.76);border-color:rgba(255,233,31,.32)}
.event-status span{font-size:.7rem}.event-status strong{font-size:.88rem}
.quick-nav{background:rgba(5,5,5,.96)}
.quick-nav a:hover,.quick-nav a.is-active{color:var(--colour-brand-teal)}
.button{border-radius:0;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.button--primary{background:var(--colour-action);color:var(--colour-bg)}
.button--primary:hover{background:var(--colour-action-hover)}
.button--ghost{background:rgba(5,5,5,.25);border-color:var(--colour-border);color:var(--colour-text)}
.button--ghost:hover{background:rgba(0,251,253,.12);border-color:var(--colour-brand-teal);color:var(--colour-brand-teal)}
.button--small{font-size:.78rem}
.section-heading .eyebrow{color:var(--colour-brand-teal)}
.text-link{color:var(--colour-brand-teal)}
.text-link:hover,.back-top:hover{color:var(--colour-electric-green)}
[hidden]{display:none!important}
a[aria-disabled="true"]{cursor:default;opacity:.65}

/* Section rhythm and accent roles. */
.section{position:relative}
.section::before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,rgba(0,251,253,.24) 18%,rgba(255,233,31,.2) 50%,rgba(0,251,253,.24) 82%,transparent);opacity:.8}
.section-heading>div:first-child{position:relative;padding-top:1rem}
.section-heading>div:first-child::before{content:"";position:absolute;top:0;left:0;width:3.25rem;height:2px;background:linear-gradient(90deg,var(--colour-electric-green),var(--colour-brand-teal))}
.section--live{background:var(--colour-bg)}
#teams{background:var(--colour-bg-alt)}
#standings{background:var(--colour-bg-alt)}
.court-embed__header,.standings-card__heading,.public-knockout-draw__heading{border-bottom-color:rgba(0,251,253,.45)}
.stage-switcher button[aria-pressed="true"]{background:var(--colour-action);border-color:var(--colour-action);color:var(--colour-bg)}
.settings-notice{border-left-color:var(--colour-brand-teal);background:rgba(var(--colour-teal-rgb),.1)}
.site-footer,.admin-footer,.court-feed-footer{background:#000}

/* Regular-tournament pillars. */
.event-pillars{display:grid;gap:1rem}
.event-pillar{min-height:14rem;display:flex;flex-direction:column;justify-content:flex-end;padding:1.5rem;border:1px solid var(--colour-border);border-top:4px solid var(--colour-electric-green);background:linear-gradient(145deg,#191919,#090909)}
.event-pillar:nth-child(even){border-top-color:var(--colour-brand-teal)}
.event-pillar strong{display:block;color:var(--colour-electric-green);font:900 clamp(2.5rem,6vw,5rem)/.9 var(--font-heading);letter-spacing:-.06em}
.event-pillar:nth-child(even) strong{color:var(--colour-brand-teal)}
.event-pillar h3{margin:.75rem 0 .5rem;text-transform:uppercase}
.event-pillar p{color:var(--colour-text-muted)}

/* Footer lock-up shared by the public pages. */
.site-footer__brand{display:grid;justify-items:center;gap:1rem;padding-bottom:3rem;text-align:center}
.site-footer__brand p{color:var(--colour-text-muted);font-size:.85rem}
.site-footer__logos{display:flex;align-items:center;justify-content:center;gap:1rem}
.site-footer__logos span{width:1px;height:2rem;background:var(--colour-border)}
@media(min-width:48rem){.site-footer__bottom{grid-template-columns:1fr auto auto auto auto;align-items:center;gap:.75rem 1.25rem}}

.active-tournament-context{margin-top:.65rem;color:var(--colour-text-muted);font:500 .875rem/1.5 var(--font-body);letter-spacing:normal;text-transform:none}
.team-list__group{display:grid;gap:.2rem;color:var(--colour-brand-lime);font-size:1rem;font-weight:800}.team-list__group small{color:var(--colour-text-muted);font-size:.875rem;font-weight:500}
@media(min-width:48rem){.hero .event-status,.admin-status{grid-template-columns:repeat(4,minmax(0,1fr))}.hero .event-status.has-venue,.admin-status.has-venue{grid-template-columns:repeat(5,minmax(0,1fr))}.event-pillars{grid-template-columns:repeat(3,1fr)}}

.court-score__upcoming{gap:.65rem}.court-score__upcoming strong{font-size:1.05rem}.court-score__upcoming>p:last-child{font-size:.875rem;color:var(--colour-text-muted)}
.team-list__heading{padding:1.25rem 1rem;border-bottom:1px solid rgba(0,251,253,.45);color:var(--colour-brand-lime);font-size:1.25rem}

.tournament-feed-links{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem}

/* Theme-aware cell fill; the points/race cell keeps its accent highlight. */
.court-score__number{background:var(--colour-cell-bg)}
.court-score__number--points{background:var(--colour-electric-green);color:var(--colour-bg)}

@media(max-width:47.99rem){.hero__content{grid-template-columns:1fr}.hero__event-brand{display:none}.hero{padding-top:6rem;min-height:0}.amazeballs-wordmark small{display:none}.amazeballs-wordmark b{font-size:.9rem}.site-header .brand__logo{height:1.5rem}.admin-event-mark{display:none}.admin-live-layout{grid-template-columns:1fr}}
@media(max-width:24rem){.site-header .brand__logo{height:1.2rem}.site-header__inner{gap:.4rem}.site-header__event-logo{height:1.1rem}.amazeballs-wordmark b{font-size:.78rem}.site-header__share{padding:.5rem!important}}
