/* =====================================================================
   AMMAN UNITED · DESIGN SYSTEM 2026
   Guidebook palette: Black #231E1E · Teal #588089 · Red #AF3832 · White
   Loaded last: unifies colour, type, surfaces and navigation site-wide.
   ===================================================================== */
:root{
 --au-black:#231E1E;--ink-950:#120F0F;--ink-900:#191515;--ink-850:#1F1A1A;--ink-800:#231E1E;--ink-700:#2E2828;--ink-600:#3A3333;--ink-500:#4A4242;
 --teal:#588089;--teal-light:#8DB0B7;--teal-dark:#3F5F66;--teal-ink:#1C2A2D;
 --red:#AF3832;--red-light:#D4554B;--red-dark:#8A2C27;
 --text:#FFFFFF;--muted:#B9B1B0;--subtle:#8C8382;--line:#3A3333;--line-soft:rgba(255,255,255,.07);
 --radius-lg:20px;--radius:14px;--radius-sm:10px;
 --shadow:0 10px 30px rgba(0,0,0,.35);--shadow-lg:0 22px 60px rgba(0,0,0,.5);
 --font:'Roboto',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
 --font-display:'Roboto Condensed','Roboto',system-ui,Arial,sans-serif;
 --header-h:72px;
 /* legacy variable bridge */
 --bg:var(--ink-950);--panel:var(--ink-800);--panel2:var(--ink-700);--gold:var(--red-light);--gold2:var(--red);--white:#fff;--border:var(--line);--au-teal:var(--teal);--au-red:var(--red)
}
html{scroll-padding-top:calc(var(--header-h) + 16px)}
html body{
 font-family:var(--font);color:var(--text);
 background:
  radial-gradient(1200px 520px at 85% -120px,rgba(88,128,137,.22),transparent 60%),
  radial-gradient(900px 480px at -10% 30%,rgba(175,56,50,.10),transparent 60%),
  repeating-linear-gradient(115deg,rgba(255,255,255,.012) 0 2px,transparent 2px 9px),
  var(--ink-950)!important;
 background-attachment:fixed!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility
}
html body .shell{max-width:1180px;padding:22px 24px 48px!important;min-height:auto}
html body .shell:before{display:none!important}
::selection{background:var(--red);color:#fff}
*{scrollbar-color:var(--ink-600) transparent}

/* ---------------- Header + top navigation ---------------- */
.site-header{position:sticky;top:0;z-index:60;background:rgba(18,15,15,.82);backdrop-filter:saturate(1.4) blur(16px);-webkit-backdrop-filter:saturate(1.4) blur(16px);border-bottom:1px solid var(--line-soft);transition:box-shadow .25s,background .25s}
.site-header:before{content:'';position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--red) 0 60%,var(--teal) 60% 100%)}
.site-header.scrolled{background:rgba(18,15,15,.95);box-shadow:0 10px 30px rgba(0,0,0,.45)}
.header-inner{max-width:1180px;margin:auto;padding:0 24px;height:var(--header-h);display:flex;align-items:center;gap:22px}
html body .site-header .brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff;flex:none}
html body .site-header .brandmark{width:46px;height:46px;border-radius:12px;background:#fff;padding:3px;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 6px 18px rgba(0,0,0,.35);display:grid;place-items:center}
.site-header .brandmark img{width:100%;height:100%;object-fit:contain}
html body .site-header .brandname{font-family:var(--font-display);font-weight:900;font-size:20px;letter-spacing:.02em;line-height:1;color:#fff!important;text-transform:uppercase}
html body .site-header .brandname b{color:var(--red-light)!important}
html body .site-header .tag{font-size:9.5px;letter-spacing:.24em;color:var(--teal-light)!important;margin-top:5px;font-weight:700}
.topnav{position:relative;display:flex;align-items:stretch;flex:1;min-width:0;height:100%;overflow-x:auto;scrollbar-width:none;justify-content:safe center}
.topnav::-webkit-scrollbar{display:none}
.topnav button{flex:none;position:relative;border:0;background:none;color:var(--muted);font-family:var(--font-display);font-weight:700;font-size:13.5px;letter-spacing:.05em;text-transform:uppercase;padding:0 11px;cursor:pointer;transition:color .2s}
.topnav button:hover{color:#fff}
.topnav button.active{color:#fff}
.topnav button:focus-visible{outline:2px solid var(--red-light);outline-offset:-6px;border-radius:8px}
.nav-ink{position:absolute;left:0;bottom:0;height:3px;width:0;background:var(--red);border-radius:3px 3px 0 0;box-shadow:0 0 14px rgba(212,85,75,.6);transition:transform .35s cubic-bezier(.2,.8,.2,1),width .35s cubic-bezier(.2,.8,.2,1),opacity .2s;pointer-events:none}
html body .site-header .actions{display:flex;gap:8px;flex:none}
html body .site-header .iconbtn{position:relative;width:40px;height:40px;border-radius:12px;border:1px solid var(--line);background:var(--ink-800);color:var(--muted);display:grid;place-items:center;cursor:pointer;transition:all .2s;font-size:0}
.site-header .iconbtn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html body .site-header .iconbtn:hover,html body .site-header .iconbtn.active{color:#fff;border-color:var(--red);background:var(--red-dark)}
.icon-badge{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--red);color:#fff;font:900 10px/18px var(--font);font-style:normal;box-shadow:0 0 0 2px var(--ink-950)}
@media(max-width:1240px){
 :root{--header-h:auto}
 .header-inner{height:auto;flex-wrap:wrap;gap:0;padding:0 16px}
 html body .site-header .brand{height:60px}
 html body .site-header .actions{margin-left:auto}
 .topnav{order:3;flex:0 0 100%;height:46px;justify-content:flex-start;margin:0 -16px;padding:0 10px;border-top:1px solid var(--line-soft)}
 .topnav button{font-size:13px;padding:0 12px}
 .topnav.fade-right{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
 .topnav.fade-left{-webkit-mask-image:linear-gradient(90deg,transparent,#000 15%);mask-image:linear-gradient(90deg,transparent,#000 15%)}
 .topnav.fade-left.fade-right{-webkit-mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent);mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent)}
}
@media(max-width:420px){html body .site-header .brandname{font-size:17px}html body .site-header .brandmark{width:40px;height:40px}html body .site-header .iconbtn{width:36px;height:36px}}

/* ---------------- Match Wire (slim broadcast strip) ---------------- */
html body .news-ticker.fast-wire{min-height:58px!important;height:auto!important;margin:0 0 26px!important;border:1px solid var(--line)!important;border-radius:var(--radius)!important;background:linear-gradient(90deg,var(--ink-800),var(--ink-900))!important;box-shadow:var(--shadow)!important;overflow:hidden!important}
html body .news-ticker.fast-wire .ticker-label{background:var(--teal)!important;color:#fff!important;font-family:var(--font-display);font-size:12px!important;letter-spacing:.12em!important;padding:0 16px!important;min-width:0!important;width:auto!important;border-radius:0!important}
html body .news-ticker.fast-wire .ticker-label i{background:var(--red)!important;box-shadow:0 0 0 4px rgba(175,56,50,.35)!important}
html body .news-ticker.fast-wire .ticker-viewport,html body .news-ticker.fast-wire .ticker-track{min-height:58px!important;background:transparent!important}
html body .news-ticker.fast-wire .ticker-item.wire-current{flex-direction:row!important;flex-wrap:wrap!important;gap:6px 16px!important;min-height:58px!important;padding:8px 14px!important;background:transparent!important}
html body .news-ticker.fast-wire .ticker-item.wire-current .ticker-cat{background:var(--red)!important;color:#fff!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important;padding:4px 9px!important;border-radius:6px!important}
html body .news-ticker.fast-wire .ticker-item.wire-current .wire-teams{font-family:var(--font-display);font-size:clamp(14px,1.7vw,18px)!important;font-weight:800!important;color:#fff!important;width:auto!important}
html body .news-ticker.fast-wire .wire-teams b{color:var(--red-light)!important;margin:0 6px!important}
html body .news-ticker.fast-wire .ticker-item.wire-current .wire-datetime-row{width:auto!important;flex-direction:row!important;gap:12px!important;min-height:0!important}
html body .news-ticker.fast-wire .ticker-item.wire-current .wire-date-chip,html body .news-ticker.fast-wire .ticker-item.wire-current .wire-time-chip{font-size:13px!important;color:var(--muted)!important;font-weight:700!important}
html body .news-ticker.fast-wire .wire-arrow,html body .news-ticker.fast-wire .ticker-control{background:transparent!important;border-color:var(--line)!important;color:var(--muted)!important;width:42px!important}
html body .news-ticker.fast-wire .wire-arrow:hover,html body .news-ticker.fast-wire .ticker-control:hover{color:#fff!important;background:var(--ink-700)!important}
html body .wire-progress{background:linear-gradient(90deg,var(--red),var(--teal))!important;height:2px!important;margin:-26px 14px 24px!important;border-radius:2px;position:relative;z-index:1}
@media(max-width:700px){
 html body .news-ticker.fast-wire,html body .news-ticker.fast-wire .ticker-viewport,html body .news-ticker.fast-wire .ticker-track,html body .news-ticker.fast-wire .ticker-item.wire-current{min-height:86px!important}
 html body .news-ticker.fast-wire .ticker-item.wire-current{flex-direction:column!important;gap:5px!important;padding:8px 6px!important}
 html body .news-ticker.fast-wire .ticker-label{padding:0 10px!important;font-size:10px!important;writing-mode:horizontal-tb}
 html body .news-ticker.fast-wire .wire-arrow,html body .news-ticker.fast-wire .ticker-control{width:32px!important}
 html body .news-ticker.fast-wire .ticker-item.wire-current .wire-datetime-row{flex-direction:row!important;gap:10px!important}
 html body .news-ticker.fast-wire .ticker-item.wire-current .wire-date-chip,html body .news-ticker.fast-wire .ticker-item.wire-current .wire-time-chip{font-size:11.5px!important}
}
@media(max-width:420px){html body .news-ticker.fast-wire .ticker-label{display:none!important}}

/* ---------------- Typography & section headers ---------------- */
html body .sectionhead{align-items:flex-end;margin-bottom:6px}
html body .sectionhead h1{font-family:var(--font-display)!important;font-weight:900!important;text-transform:uppercase;font-size:clamp(34px,5.4vw,60px)!important;letter-spacing:-.01em!important;line-height:.95!important;color:#fff!important;margin:6px 0 18px!important}
html body .sectionhead h1 em{color:var(--red-light)!important}
html body .sectionhead h2{font-family:var(--font-display);font-weight:800;text-transform:uppercase;letter-spacing:.04em;font-size:18px;color:#fff!important}
html body .live-dot,html body .results-source-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--teal-dark);background:rgba(88,128,137,.12);color:var(--teal-light)!important;border-radius:999px;padding:6px 11px;font-size:10px!important;font-weight:800;letter-spacing:.12em!important;white-space:nowrap}
html body .live-dot:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--teal-light)}
html body .eyebrow,html body .kicker,html body .highlights-kicker{color:var(--red-light)!important;letter-spacing:.16em!important;font-weight:900!important}
html body .eyebrow-pulse{background:var(--red)!important;box-shadow:0 0 0 4px rgba(175,56,50,.25)!important}
html body .editorial-lead{border-left-color:var(--red)!important;background:linear-gradient(90deg,rgba(175,56,50,.12),transparent 70%)!important;border-radius:0 var(--radius) var(--radius) 0}
html body .editorial-lead span{color:var(--red-light)!important}
html body .editorial-lead strong{color:#fff!important;font-family:var(--font-display);font-size:15px;letter-spacing:.02em}
html body .editorial-lead small{color:var(--subtle)!important}
html body .muted,html body .section-lead{color:var(--muted)!important}
html body .textbtn{color:var(--red-light)!important;letter-spacing:.06em}
html body .group-head{border-bottom-color:var(--line)!important}
html body .group-head:before{background:var(--red)!important}
html body .group-head h3{font-family:var(--font-display);letter-spacing:.06em}
html body .group-head span{color:var(--teal-light)!important}

/* ---------------- Surfaces ---------------- */
html body .match,html body .dash-widget,html body .info,html body .news-card,html body .player-card,html body .staff-card,html body .training-today,html body .result-card,html body .results-card,html body .all-category-tile,html body .site-footer,html body .club-hero,html body .training-table-wrap,html body .multi-hero-card{background:linear-gradient(160deg,var(--ink-800),var(--ink-900))!important;border:1px solid var(--line)!important;box-shadow:0 1px 0 rgba(255,255,255,.03) inset}
html body .match:hover,html body .dash-widget:hover,html body .news-card:hover,html body .player-card:hover,html body .all-category-tile:hover{border-color:rgba(212,85,75,.55)!important;box-shadow:var(--shadow)!important}
html body .match:before{background:var(--red)!important}
html body .match-date{border-right-color:var(--line)!important}
html body .match-date b{color:#fff!important;font-family:var(--font-display);font-weight:900}
html body .match-date small{color:var(--teal-light)!important;font-weight:700}
html body .match-meta{color:var(--red-light)!important}
html body .match-sub{color:var(--muted)!important}
html body .star{color:var(--subtle)!important}html body .star.on{color:var(--red-light)!important}
html body .chevron{color:var(--subtle)!important}
html body .empty{border-color:var(--line)!important;color:var(--muted)!important;background:rgba(255,255,255,.015)}
html body .crest,html body .team-logo{border-color:var(--ink-600)!important}

/* Next match hero */
html body .hero{border:1px solid var(--line)!important;border-radius:24px!important;background:
  radial-gradient(600px 300px at 100% 0,rgba(88,128,137,.28),transparent 60%),
  radial-gradient(500px 260px at 0 100%,rgba(175,56,50,.22),transparent 60%),
  linear-gradient(135deg,var(--ink-800),var(--ink-950))!important;box-shadow:var(--shadow-lg)!important;margin-bottom:22px}
html body .hero:after{color:rgba(255,255,255,.025)!important}
html body .hero-category{background:rgba(88,128,137,.18)!important;color:var(--teal-light)!important;border:1px solid var(--teal-dark)}
html body .kicker{font-size:12px}
html body .team strong{font-family:var(--font-display);font-size:clamp(15px,2.6vw,22px)!important;color:#fff!important}
html body .team small{color:var(--subtle)!important;letter-spacing:.12em}
html body .center-vs b{color:#fff!important;font-family:var(--font-display);font-weight:900;font-size:30px!important}
html body .center-vs span{color:var(--red-light)!important;font-family:var(--font-display);letter-spacing:.1em}
html body .venue{color:var(--muted)!important}
html body .count-label{border-top-color:var(--line)!important;color:var(--subtle)!important}
html body .clock>div{background:rgba(18,15,15,.6)!important;border:1px solid var(--line)!important;border-radius:var(--radius)!important;box-shadow:none!important}
html body .clock b{font-family:var(--font-display);font-weight:900;color:#fff!important}
html body .clock small{color:var(--teal-light)!important;font-weight:700}

/* Buttons */
html body .hero-cta,html body .goldbtn,html body .highlight-category,html body .highlights-all{background:var(--red)!important;color:#fff!important;border:0!important;border-radius:12px!important;font-family:var(--font-display);font-weight:800!important;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 8px 22px rgba(175,56,50,.35)!important;transition:background .2s,transform .2s}
html body .hero-cta:hover,html body .goldbtn:hover,html body .highlight-category:hover,html body .highlights-all:hover{background:var(--red-light)!important;transform:translateY(-1px)}
html body .outlinebtn,html body .small-outline,html body .back-top{background:transparent!important;border:1px solid var(--line)!important;color:#fff!important;border-radius:12px!important;font-weight:800}
html body .outlinebtn:hover,html body .small-outline:hover,html body .back-top:hover{border-color:var(--teal)!important;background:rgba(88,128,137,.12)!important}
html body .chip,html body .date-card,html body .results-filters button,html body .allmatches-age button,html body .gallery-filters button,html body .pill-filters button,html body .training-filters button{background:var(--ink-800)!important;border:1px solid var(--line)!important;color:var(--muted)!important}
html body .chip:hover,html body .date-card:hover,html body .pill-filters button:hover,html body .training-filters button:hover{color:#fff!important;border-color:var(--ink-500)!important}
html body .chip.active,html body .date-card.active,html body .results-filters button.active,html body .allmatches-age button.active,html body .gallery-filters button.active,html body .pill-filters button.active,html body .training-filters button.active,html body .segmented button.active,html body .day.selected{background:var(--red)!important;border-color:var(--red)!important;color:#fff!important;box-shadow:0 6px 18px rgba(175,56,50,.3)!important}
html body .date-card b{color:#fff!important;font-family:var(--font-display);font-weight:900}
html body .date-card.active small,html body .date-card.active b{color:#fff!important}
html body .search-field,html body .allmatches-search{background:var(--ink-800)!important;border:1px solid var(--line)!important;color:var(--subtle)!important;border-radius:12px!important}
html body .search-field:focus-within,html body .allmatches-search:focus-within{border-color:var(--teal)!important;box-shadow:0 0 0 3px rgba(88,128,137,.2)}
html body .tools-heading{color:var(--subtle)!important}

/* Dashboard widgets */
html body .dashboard-widgets{gap:12px;margin:0 0 30px}
html body .widget-icon{background:rgba(88,128,137,.16)!important;color:var(--teal-light)!important;border:1px solid var(--teal-dark)}
html body .dash-widget small{color:var(--subtle)!important}
html body .dash-widget strong{color:#fff!important}
html body .widget-arrow{color:var(--red-light)!important}

/* Home layout rhythm */
.home-schedule{margin-top:8px;padding-top:24px;border-top:1px solid var(--line-soft)}
html body .home-news,html body .home-partners,html body .home-highlights{margin:0 0 34px!important}
html body .home-block-head h2,html body .highlights-heading h2{font-family:var(--font-display);text-transform:uppercase;font-weight:900;letter-spacing:0;color:#fff!important}
html body .home-block-head h2 em,html body .highlights-heading h2 em{color:var(--red-light)!important}

/* Calendar */
html body .calendar-toolbar{background:var(--ink-800)!important;border:1px solid var(--line)}
html body .calendar-toolbar strong{font-family:var(--font-display);text-transform:uppercase;letter-spacing:.06em}
html body .calendar-toolbar button{color:var(--red-light)!important}
html body .day{background:var(--ink-800)!important;border-color:var(--line)!important}
html body .day.has{border-color:var(--teal)!important}
html body .day small{color:var(--teal-light)!important}

/* Dialogs */
html body dialog{background:var(--ink-800)!important;border:1px solid var(--line)!important;box-shadow:var(--shadow-lg)!important;color:#fff}
html body dialog::backdrop{background:rgba(10,8,8,.75);backdrop-filter:blur(6px)}
html body .close{background:var(--ink-700)!important;color:#fff!important}
html body .detail-time{color:#fff!important;font-family:var(--font-display)}

/* Tables & misc */
html body .training-table th{background:var(--ink-700)!important;color:var(--muted)!important;border-bottom:2px solid var(--red)}
html body .training-next{background:radial-gradient(500px 240px at 100% 0,rgba(88,128,137,.25),transparent 60%),linear-gradient(135deg,var(--ink-800),var(--ink-950))!important;border:1px solid var(--line)!important}
html body .segmented{background:var(--ink-900)!important;border-color:var(--line)!important}
html body #toast{bottom:24px!important;background:var(--ink-700)!important;color:#fff!important;border:1px solid var(--line);border-left:4px solid var(--red);box-shadow:var(--shadow-lg)}
html body #pageProgress{top:0;background:linear-gradient(90deg,var(--red),var(--teal))!important;box-shadow:none!important;z-index:70}
html body .site-footer{margin-top:40px!important}
html body .social-links a span{background:var(--red)!important}
html body .news-cat,html body .training-badge,html body .captain-badge{background:var(--red)!important}
html body .staff-role,html body .news-read{color:var(--red-light)!important}
html body .staff-photo{border-color:var(--teal)!important}

html body .match-title,html body .match-title .club-name,html body #listHeading{color:#fff!important}
html body .allmatches-intro strong,html body .results-intro strong{color:var(--red-light)!important}
html body .all-category-tile strong,html body .all-age-heading h2{color:#fff!important;font-family:var(--font-display)}
/* Content always visible (old scroll-reveal hid match cards until scrolled into view) */
html body .reveal-ready{opacity:1!important;transform:none!important;transition:none!important}
html body .screen:not(.hidden){animation:screenIn .38s cubic-bezier(.2,.8,.2,1) both}
@keyframes screenIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
:focus-visible{outline:2px solid var(--red-light)!important;outline-offset:3px}
@media(prefers-reduced-motion:reduce){html body .screen:not(.hidden){animation:none}.nav-ink{transition:none}}
@media(max-width:760px){html body .shell{padding:16px 14px 40px!important}html body .sectionhead h1{font-size:clamp(32px,10vw,44px)!important}}

/* =====================================================================
   GUIDEBOOK IDENTITY (AU-GUIDEBOOK): Roboto only · Bold CAPS headlines ·
   ✸ star markers · teal|red split band · textured black · logo in white on dark
   ===================================================================== */
:root{--font-display:'Roboto',system-ui,Arial,sans-serif;--au-star:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cpolygon%20points%3D%2750.0%2C0.0%2059.5%2C30.2%2089.1%2C18.8%2071.4%2C45.1%2098.7%2C61.1%2067.2%2C63.7%2071.7%2C95.0%2050.0%2C72.0%2028.3%2C95.0%2032.8%2C63.7%201.3%2C61.1%2028.6%2C45.1%2010.9%2C18.8%2040.5%2C30.2%27/%3E%3C/svg%3E");--au-noise:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27220%27%20height%3D%27220%27%3E%3Cfilter%20id%3D%27n%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%27.9%27%20numOctaves%3D%273%27%20stitchTiles%3D%27stitch%27/%3E%3CfeColorMatrix%20values%3D%270%200%200%200%201%20%200%200%200%200%201%20%200%200%200%200%201%20%200%200%200%20.32%200%27/%3E%3C/filter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url%28%23n%29%27%20opacity%3D%27.5%27/%3E%3C/svg%3E");--au-spray:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 30' preserveAspectRatio='none'%3E%3Cpath d='M4 17c40-7 90-9 140-8s100 3 150-1c3 0 4 3 1 4-48 6-99 6-150 6S48 19 6 22c-4 0-5-4-2-5z' fill='%23588089'/%3E%3Cpath d='M60 22c1 3 1 6 0 8M190 20c0 2 1 5 0 7' stroke='%23588089' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='292' cy='9' r='2' fill='%23588089'/%3E%3Ccircle cx='12' cy='26' r='1.5' fill='%23588089'/%3E%3C/svg%3E")}
html body{background:
  var(--au-noise),
  radial-gradient(1100px 520px at 50% -160px,rgba(88,128,137,.20),transparent 62%),
  radial-gradient(800px 420px at 100% 40%,rgba(175,56,50,.10),transparent 60%),
  #161212!important;background-size:220px 220px,auto,auto,auto!important;background-attachment:scroll!important;background-repeat:repeat,no-repeat,no-repeat,no-repeat!important}
html body,html body button,html body input,html body select,html body textarea{font-family:'Roboto',system-ui,Arial,sans-serif}
/* Header: brand black bar, teal|red split band (guidebook page footer motif) */
.site-header{background:rgba(35,30,30,.94)!important;border-bottom:0!important}
.site-header:before{height:4px!important;background:linear-gradient(90deg,#588089 0 50%,#AF3832 50% 100%)!important}
.site-header.scrolled{background:rgba(35,30,30,.98)!important}
html body .site-header .brandmark{background:transparent!important;box-shadow:none!important;padding:0!important;border-radius:0!important;width:48px;height:48px}
html body .site-header .brandmark.custom-logo{background:#fff!important;border-radius:10px!important;padding:3px!important}
html body .site-header .brandname{font-family:'Roboto';font-weight:900;font-size:21px;letter-spacing:.01em}
html body .site-header .brandname b{color:#fff!important}
html body .site-header .tag{color:#8DB0B7!important;letter-spacing:.2em}
.topnav button{font-family:'Roboto'!important;font-weight:700!important;font-size:13px!important;letter-spacing:.06em!important}
/* Headlines: Roboto Bold/Black, all caps */
html body .sectionhead h1,html body .home-block-head h2,html body .highlights-heading h2,html body .sectionhead h2,html body .club-hero h2,html body .news-featured .news-copy h3,html body .article-content h2,html body .training-next h2{font-family:'Roboto'!important;font-weight:900!important;text-transform:uppercase;letter-spacing:-.005em!important}
html body .sectionhead h1{position:relative;padding-bottom:14px;margin-bottom:24px!important}
html body .sectionhead h1:after{content:'';position:absolute;left:-4px;bottom:0;width:min(220px,55%);height:16px;background:var(--au-spray) no-repeat left center/100% 100%;opacity:.85;pointer-events:none}
html body .center-vs b,html body .clock b,html body .date-card b,html body .match-date b,html body .team strong{font-family:'Roboto'!important}
/* ✸ Star markers before labels, as in the guidebook section bars */
html body .kicker,html body .eyebrow,html body .highlights-kicker,html body .club-story h3,html body .club-contact h3,html body .club-social h3,html body .tools-heading>span:first-child{display:inline-flex;align-items:center;gap:8px}
html body .kicker:before,html body .highlights-kicker:before,html body .club-story h3:before,html body .club-contact h3:before,html body .club-social h3:before,html body .tools-heading>span:first-child:before,html body .group-head h3:before,html body .footer-copy:before{content:'';width:12px;height:12px;flex:none;background:currentColor;-webkit-mask:var(--au-star) center/contain no-repeat;mask:var(--au-star) center/contain no-repeat}
html body .group-head h3{display:inline-flex;align-items:center;gap:8px}
html body .group-head h3:before{color:#AF3832}
html body .group-head:before{display:none!important}
html body .eyebrow-pulse{width:12px!important;height:12px!important;border-radius:0!important;box-shadow:none!important;background:#D4554B!important;-webkit-mask:var(--au-star) center/contain no-repeat;mask:var(--au-star) center/contain no-repeat;animation:none!important}
/* Hero: logo effect on textured background (guidebook p.13) */
html body .hero,html body .training-next,html body .club-hero{background-image:var(--au-noise),radial-gradient(600px 300px at 100% 0,rgba(88,128,137,.26),transparent 60%),radial-gradient(500px 260px at 0 100%,rgba(175,56,50,.20),transparent 60%),linear-gradient(135deg,#2A2424,#161212)!important;background-size:220px 220px,auto,auto,auto!important}
html body .hero:after{content:''!important;position:absolute;right:-70px;top:50%;width:420px;height:420px;transform:translateY(-50%);background:url("symbol-white.png") center/contain no-repeat;opacity:.06;mix-blend-mode:overlay;font-size:0!important;pointer-events:none}
html body .hero>*{position:relative;z-index:1}
/* Photography: brand-colour monochrome overlay (guidebook p.12); original colours on hover */
html body .news-media,html body .highlight-image{position:relative;isolation:isolate}
html body .news-media:after,html body .highlight-image:after{content:'';position:absolute;inset:0;background:#588089;mix-blend-mode:color;opacity:.8;transition:opacity .35s;pointer-events:none;z-index:1}
html body .news-card:nth-child(even) .news-media:after{background:#AF3832}
html body .news-card:hover .news-media:after,html body .highlight-stage:hover .highlight-image:after{opacity:0}
html body .news-media .news-cat{z-index:2}
html body .news-media-fallback{background:var(--au-noise),linear-gradient(135deg,#2A2424,#161212)!important;background-size:220px 220px,auto!important}
html body .news-media-fallback img{opacity:.22!important;width:30%!important;filter:none!important;mix-blend-mode:overlay}
html body .news-card .news-media:has(.news-media-fallback):after{display:none}
/* Club page & footer: white logo on dark, never a white tile */
html body .club-crest{background:transparent!important;padding:0!important;border-radius:0!important;width:130px!important;height:auto!important}
html body .footer-brand img{background:transparent!important;padding:0!important;width:44px!important;height:44px!important}
html body .site-footer{position:relative;overflow:hidden;padding-bottom:30px!important}
html body .site-footer:after{content:'';position:absolute;left:0;right:0;bottom:0;height:8px;background:linear-gradient(90deg,#588089 0 50%,#AF3832 50% 100%)}
html body .footer-copy{display:inline-flex;align-items:center;gap:8px}
/* Brand colours only: red for actions, teal for information */
html body .live-dot,html body .results-source-pill,html body .hero-category{border-color:#588089!important;color:#fff!important;background:rgba(88,128,137,.28)!important}
html body .live-dot:before{background:#fff}
html body .widget-icon{background:#588089!important;color:#fff!important;border:0!important}
html body .news-ticker.fast-wire .ticker-label{background:#588089!important}
html body .nav-ink{background:#AF3832!important;box-shadow:none!important;height:4px!important}
html body .icon-badge{box-shadow:0 0 0 2px #231E1E!important}

/* ======================= AMMAN UNITED ACADEMY ======================= */
.header-inner{max-width:1320px!important}
@media(max-width:980px){
 :root{--header-h:auto}
 .header-inner{height:auto!important;flex-wrap:wrap;gap:0!important;padding:0 16px!important}
 html body .site-header .brand{height:62px}
 html body .site-header .actions{margin-left:auto}
 .topnav{order:3;flex:0 0 100%;height:46px!important;justify-content:flex-start!important;margin:0 -16px;padding:0 10px;border-top:1px solid rgba(255,255,255,.07)}
 .topnav.fade-right{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
 .topnav.fade-left{-webkit-mask-image:linear-gradient(90deg,transparent,#000 15%);mask-image:linear-gradient(90deg,transparent,#000 15%)}
 .topnav.fade-left.fade-right{-webkit-mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent);mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent)}
}


/* Hero */
.academy-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:1.4fr .8fr;align-items:center;gap:20px;padding:clamp(24px,4vw,48px);border-radius:26px;border:1px solid #3A3333;background:var(--au-noise),radial-gradient(700px 360px at 100% 0,rgba(88,128,137,.35),transparent 60%),radial-gradient(600px 320px at 0 110%,rgba(175,56,50,.30),transparent 60%),linear-gradient(135deg,#2A2424,#141010);background-size:220px 220px,auto,auto,auto;box-shadow:0 22px 60px rgba(0,0,0,.45);margin-bottom:16px}
.academy-hero:before{content:'';position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#588089 0 50%,#AF3832 50% 100%)}
.academy-title{font:900 clamp(38px,6.4vw,76px)/.92 'Roboto',sans-serif;text-transform:uppercase;letter-spacing:-.01em;margin:12px 0 16px;color:#fff;position:relative;padding-bottom:16px}
.academy-title em{font-style:normal;color:#D4554B}
.academy-title:after{content:'';position:absolute;left:-4px;bottom:0;width:min(260px,60%);height:16px;background:var(--au-spray) no-repeat left center/100% 100%;opacity:.9}
.academy-intro{color:#E3DCDB;font-size:clamp(15px,1.6vw,18px);line-height:1.65;max-width:620px;margin:0 0 22px}
.academy-cta{display:flex;flex-wrap:wrap;gap:10px}
.academy-cta button{width:auto!important;margin:0!important;padding:15px 22px!important}
.academy-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px}
.academy-status small{color:#B9B1B0;font-size:12px;flex-basis:100%}
.reg-pill,.season-pill{font-size:10px;font-weight:900;letter-spacing:.12em;padding:6px 11px;border-radius:999px}
.reg-pill.open{background:#AF3832;color:#fff}.reg-pill.open:before{content:'● ';}
.reg-pill.closed{border:1px solid #5A5151;color:#B9B1B0}
.season-pill{background:rgba(88,128,137,.28);border:1px solid #588089;color:#fff}
.academy-hero-mark{display:grid;place-items:center}
.academy-hero-mark img{width:min(300px,100%);opacity:.14;mix-blend-mode:overlay;filter:drop-shadow(0 0 1px #fff)}
.academy-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:36px}
.academy-stats>div{background:#231E1E;border:1px solid #3A3333;border-radius:16px;padding:16px;display:grid;gap:4px;border-top:3px solid #588089}
.academy-stats>div:nth-child(even){border-top-color:#AF3832}
.academy-stats b{font:900 26px/1 'Roboto';color:#fff}
.academy-stats small{font-size:10px;letter-spacing:.14em;color:#B9B1B0;font-weight:800}
.academy-block{margin:0 0 42px}
.academy-block-head{margin-bottom:16px}
.academy-block-head h2{font:900 clamp(24px,3.6vw,36px)/1.05 'Roboto';text-transform:uppercase;margin:6px 0 4px;color:#fff}
.academy-block-head h2 em{font-style:normal;color:#D4554B}
/* Why */
.academy-why{margin-bottom:42px}
.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.why-card{position:relative;background:linear-gradient(160deg,#231E1E,#191515);border:1px solid #3A3333;border-radius:18px;padding:20px 18px;display:grid;gap:8px;overflow:hidden}
.why-num{font:900 34px/1 'Roboto';color:transparent;-webkit-text-stroke:1px #588089}
.why-card strong{font-size:16px;text-transform:uppercase;letter-spacing:.02em}
.why-card p{margin:0;color:#B9B1B0;font-size:13px;line-height:1.55}
/* Programs */
.program-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}
.program-card{display:flex;flex-direction:column;background:linear-gradient(160deg,#231E1E,#191515);border:1px solid #3A3333;border-radius:20px;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s}
.program-card:hover{transform:translateY(-3px);border-color:rgba(212,85,75,.55);box-shadow:0 14px 34px rgba(0,0,0,.45)}
.program-media{position:relative;aspect-ratio:16/8;background:var(--au-noise),linear-gradient(135deg,#2A2424,#161212);background-size:220px 220px,auto;overflow:hidden;isolation:isolate}
.program-media>img{width:100%;height:100%;object-fit:cover}
.program-media:after{content:'';position:absolute;inset:0;background:#588089;mix-blend-mode:color;opacity:.8;transition:opacity .35s;z-index:1}
.program-card:nth-child(even) .program-media:after{background:#AF3832}
.program-card:hover .program-media:after{opacity:0}
.program-media:has(.program-fallback):after{display:none}
.program-fallback{position:absolute;inset:0;display:grid;place-items:center}
.program-fallback img{width:28%;opacity:.18;mix-blend-mode:overlay}
.program-status{position:absolute;left:12px;top:12px;z-index:2;font-size:10px;font-weight:900;letter-spacing:.1em;padding:5px 9px;border-radius:6px;color:#fff}
.program-status.open{background:#AF3832}.program-status.few{background:#D4554B}.program-status.full{background:#4A4242}.program-status.soon{background:#588089}
.program-body{padding:18px;display:flex;flex-direction:column;gap:10px;flex:1}
.program-tags{display:flex;flex-wrap:wrap;gap:6px}
.program-tags span{font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:4px 8px;border-radius:6px;background:rgba(255,255,255,.06);color:#E3DCDB}
.program-tags .lvl{background:rgba(88,128,137,.28);color:#fff}
.program-body h3{margin:0;font:900 20px/1.2 'Roboto';text-transform:uppercase}
.program-desc{margin:0;color:#B9B1B0;font-size:13px;line-height:1.6}
.program-meta{list-style:none;margin:0;padding:10px 0 0;border-top:1px solid #3A3333;display:grid;gap:6px;font-size:13px;color:#E3DCDB}
.program-meta li{display:flex;gap:9px}.program-meta li span{color:#8DB0B7;width:16px;flex:none;text-align:center}
.program-join{margin-top:auto!important;width:100%!important}
.program-join:disabled{opacity:.55;cursor:not-allowed}
/* Coaches */
.coach-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.coach-card{background:linear-gradient(160deg,#231E1E,#191515);border:1px solid #3A3333;border-radius:18px;padding:18px 14px;display:grid;justify-items:center;text-align:center;gap:4px}
.coach-card img,.coach-fallback{width:86px;height:86px;border-radius:50%;object-fit:cover;border:3px solid #588089;margin-bottom:8px;background:#161212}
.coach-fallback{display:grid;place-items:center;font:900 26px 'Roboto';color:#fff}
.coach-card strong{font-size:15px}.coach-card span{color:#D4554B;font-size:12px;font-weight:800}.coach-card small{color:#B9B1B0;font-size:11px}
/* Registration */
.academy-register{background:linear-gradient(160deg,#231E1E,#161212);border:1px solid #3A3333;border-radius:24px;padding:clamp(20px,3.5vw,36px);position:relative;overflow:hidden}
.academy-register:after{content:'';position:absolute;left:0;right:0;bottom:0;height:5px;background:linear-gradient(90deg,#588089 0 50%,#AF3832 50% 100%)}
.academy-form{display:grid;gap:18px}
.academy-form fieldset{border:1px solid #3A3333;border-radius:16px;padding:16px 16px 18px;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}
.academy-form legend{padding:0 8px;font-size:11px;font-weight:900;letter-spacing:.16em;color:#8DB0B7}
.academy-form label,.academy-form .form-field{display:grid;gap:7px;font-size:11px;font-weight:800;letter-spacing:.06em;color:#B9B1B0}
.academy-form .wide{grid-column:1/-1}
.academy-form input,.academy-form select,.academy-form textarea{width:100%;box-sizing:border-box;background:#161212;border:1px solid #4A4242;border-radius:12px;color:#fff;padding:13px 14px;font:500 15px 'Roboto';letter-spacing:0}
.academy-form textarea{resize:vertical}
.academy-form input:focus,.academy-form select:focus,.academy-form textarea:focus{outline:none;border-color:#588089;box-shadow:0 0 0 3px rgba(88,128,137,.25)}
.academy-form input[type=date]{color-scheme:dark}
.choice-row{display:flex;gap:8px}
.academy-form .choice{flex:1;display:flex!important;align-items:center;justify-content:center;gap:8px;padding:12px;border:1px solid #4A4242;border-radius:12px;background:#161212;font-size:14px;letter-spacing:0;color:#fff;cursor:pointer}
.academy-form .choice:has(input:checked){border-color:#AF3832;background:rgba(175,56,50,.18)}
.academy-form .choice input{width:auto;accent-color:#AF3832}
.academy-form .consent{display:flex!important;align-items:flex-start;gap:12px;font-size:13px;font-weight:500;letter-spacing:0;line-height:1.5;color:#E3DCDB}
.academy-form .consent input{width:20px;height:20px;flex:none;margin-top:1px;accent-color:#AF3832}
.academy-form .hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
#academySubmit{width:auto!important;justify-self:start;padding:16px 28px!important;margin:0!important}
.academy-form-status{margin:0;color:#D4554B;font-weight:700;min-height:18px}
.academy-done{text-align:center;padding:26px 10px;display:grid;justify-items:center;gap:10px}
.done-mark{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#588089;font:900 30px 'Roboto';color:#fff}
.academy-done h3{margin:6px 0 0;font:900 24px 'Roboto';letter-spacing:.02em}
.academy-done p{color:#E3DCDB;max-width:520px;line-height:1.6;margin:0}
.academy-done .outlinebtn{width:auto!important;padding:12px 18px!important}
/* FAQ */
.faq-list{display:grid;gap:10px}
.faq-list details{background:#231E1E;border:1px solid #3A3333;border-radius:14px;overflow:hidden}
.faq-list details[open]{border-color:#588089}
.faq-list summary{list-style:none;cursor:pointer;padding:16px 50px 16px 18px;font-weight:700;font-size:15px;position:relative}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary:after{content:'+';position:absolute;right:18px;top:50%;transform:translateY(-50%);font:400 24px 'Roboto';color:#D4554B;transition:transform .2s}
.faq-list details[open] summary:after{transform:translateY(-50%) rotate(45deg)}
.faq-answer{padding:0 18px 16px;color:#B9B1B0;line-height:1.65;font-size:14px}
.faq-answer p{margin:0 0 10px}
/* Contact */
.academy-contact-card{display:grid;grid-template-columns:1fr 1.6fr;gap:20px;align-items:center;padding:24px;border-radius:20px;border:1px solid #3A3333;background:var(--au-noise),linear-gradient(135deg,#2A2424,#161212);background-size:220px 220px,auto}
.academy-contact-card h2{font:900 clamp(22px,3vw,30px)/1.05 'Roboto';margin:6px 0 0}.academy-contact-card h2 em{font-style:normal;color:#D4554B}
.academy-contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.academy-contact-grid>*{display:grid;gap:4px;padding:14px;border-radius:14px;background:rgba(0,0,0,.25);border:1px solid #3A3333;color:#fff;text-decoration:none;font-weight:700;font-size:14px}
.academy-contact-grid a:hover{border-color:#AF3832}
.academy-contact-grid small{font-size:9px;letter-spacing:.14em;color:#8DB0B7;font-weight:900}
/* Home promo */
.home-academy{margin:0 0 34px}
.home-academy-card{position:relative;overflow:hidden;display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px;padding:clamp(22px,3vw,34px);border-radius:24px;border:1px solid #3A3333;background:var(--au-noise),radial-gradient(500px 260px at 100% 50%,rgba(88,128,137,.35),transparent 65%),linear-gradient(120deg,#AF3832 0,#7d2723 38%,#231E1E 70%);background-size:220px 220px,auto,auto}
.home-academy-mark{position:absolute;right:-40px;top:50%;transform:translateY(-50%);width:280px;opacity:.12;mix-blend-mode:overlay;pointer-events:none}
.home-academy-copy{position:relative}
.home-academy-copy .kicker{color:#fff!important}
.home-academy-copy h2{font:900 clamp(24px,3.6vw,38px)/1.02 'Roboto';margin:8px 0 10px;text-transform:uppercase}
.home-academy-copy h2 em{font-style:normal;color:#fff;text-decoration:underline;text-decoration-color:#588089;text-decoration-thickness:4px;text-underline-offset:6px}
.home-academy-copy p{margin:0;color:#F2EAEA;max-width:560px;line-height:1.6}
.home-academy-programs{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.home-academy-programs span{font-size:11px;font-weight:800;padding:6px 10px;border-radius:999px;background:rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.15)}
.home-academy-actions{position:relative;display:grid;gap:8px;min-width:210px}
.home-academy-actions button{margin:0!important}
.home-academy-actions .goldbtn{background:#fff!important;color:#AF3832!important;box-shadow:0 10px 26px rgba(0,0,0,.35)!important}
.home-academy-actions .goldbtn:hover{background:#F2EAEA!important}
@media(max-width:820px){
 .academy-hero{grid-template-columns:1fr}.academy-hero-mark{display:none}
 .academy-stats{grid-template-columns:1fr 1fr}
 .academy-contact-card{grid-template-columns:1fr}
 .home-academy-card{grid-template-columns:1fr}.home-academy-actions{min-width:0}
 .academy-cta button{flex:1}
 #academySubmit{width:100%!important;justify-self:stretch}
}
.academy-stats b{font-size:clamp(18px,2.6vw,26px)}

/* ===== Academy family portal ===== */
.portal-auth{max-width:560px}
.portal-tabs{display:grid;grid-template-columns:1fr 1fr;background:#161212;border:1px solid #3A3333;border-radius:14px;padding:4px;margin-bottom:16px}
.portal-tabs button{border:0;background:none;color:#B9B1B0;font:900 12px 'Roboto';letter-spacing:.1em;padding:13px;border-radius:10px;cursor:pointer}
.portal-tabs button.active{background:#AF3832;color:#fff}
.portal-form{display:grid;gap:14px}
.portal-form label{display:grid;gap:7px;font-size:11px;font-weight:800;letter-spacing:.06em;color:#B9B1B0}
.portal-form label small{font-weight:500;letter-spacing:0;color:#8C8382}
.portal-form input{width:100%;box-sizing:border-box;background:#161212;border:1px solid #4A4242;border-radius:12px;color:#fff;padding:13px 14px;font:500 15px 'Roboto';letter-spacing:0}
.portal-form input:focus{outline:none;border-color:#588089;box-shadow:0 0 0 3px rgba(88,128,137,.25)}
.portal-form .goldbtn{margin:4px 0 0!important}
.portal-form .hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.portal-msg{margin:0;color:#D4554B;font-weight:700;min-height:18px}
.portal-help{margin:0;color:#8C8382;font-size:13px}
.portal-welcome{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:18px;border-radius:18px;background:var(--au-noise),linear-gradient(120deg,rgba(88,128,137,.28),rgba(35,30,30,.6));background-size:220px 220px,auto;border:1px solid #3A3333;margin-bottom:14px}
.portal-welcome h3{margin:6px 0 2px;font:900 24px 'Roboto'}
.portal-welcome small{color:#B9B1B0}
.portal-actions{display:flex;flex-wrap:wrap;gap:8px}
.portal-actions button{width:auto!important;margin:0!important;padding:12px 16px!important}
.account-form{max-width:560px;margin-top:14px;padding:18px;border:1px solid #3A3333;border-radius:16px}
.account-form h4{margin:0;font:900 13px 'Roboto';letter-spacing:.12em;color:#8DB0B7}
.my-apps{display:grid;gap:10px}
.my-app{display:grid;grid-template-columns:72px 1fr auto;gap:14px;align-items:center;background:#1E1919;border:1px solid #3A3333;border-left:4px solid #588089;border-radius:16px;padding:12px}
.my-app.status-accepted{border-left-color:#3FA46A}.my-app.status-declined{opacity:.7}.my-app.status-new{border-left-color:#AF3832}
.my-app-photo{width:72px;height:72px;border-radius:14px;overflow:hidden;background:#2E2828;display:grid;place-items:center;font:900 22px 'Roboto'}
.my-app-photo img{width:100%;height:100%;object-fit:cover}
.my-app-info{display:grid;gap:5px;min-width:0}
.my-app-info strong{font-size:17px}
.my-app-info small{color:#B9B1B0}
.my-app-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.app-status{font-size:10px;font-weight:900;letter-spacing:.1em;padding:4px 8px;border-radius:6px;background:#588089}
.status-new .app-status{background:#AF3832}.status-accepted .app-status{background:#3FA46A}
.my-app-status em{font-style:normal;font-size:12px;color:#E3DCDB}
.my-app-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.my-app-actions .outlinebtn{width:auto!important;margin:0!important;padding:9px 12px!important;font-size:11px}
.linkbtn{background:none;border:0;color:#D4554B;font-weight:700;cursor:pointer;text-decoration:underline;padding:6px}
.my-apps-empty{display:grid;justify-items:start;gap:8px;padding:22px;border:1px dashed #4A4242;border-radius:16px}
.my-apps-empty span{color:#B9B1B0}.my-apps-empty .goldbtn{width:auto!important;padding:13px 20px!important}
.my-apps-ok{padding:12px 16px;border-radius:12px;background:rgba(88,128,137,.25);border:1px solid #588089;font-weight:700}
.application-form .app-form-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.application-form .app-form-head h3{margin:0;font:900 20px 'Roboto';letter-spacing:.02em}
.application-form .app-form-head .outlinebtn{width:auto!important;margin:0!important;padding:10px 16px!important}
.application-form fieldset.needs{border-color:#D4554B;box-shadow:0 0 0 3px rgba(212,85,75,.2)}
.chip-group{display:flex;flex-wrap:wrap;gap:8px}
.chip-group.wide,.application-form .wide{grid-column:1/-1}
.chip-check{position:relative;display:inline-flex!important;cursor:pointer}
.chip-check input{position:absolute;opacity:0;pointer-events:none}
.chip-check span{display:inline-block;padding:10px 14px;border-radius:999px;border:1px solid #4A4242;background:#161212;color:#E3DCDB;font:700 13px 'Roboto';letter-spacing:0;transition:all .15s}
.chip-check:hover span{border-color:#8C8382}
.chip-check input:checked+span{background:#AF3832;border-color:#AF3832;color:#fff}
.chip-check input:focus-visible+span{outline:2px solid #D4554B;outline-offset:2px}
.form-field>span small{font-weight:500;color:#8C8382;letter-spacing:0;margin-left:6px}
.application-form input[readonly]{background:#231E1E;color:#8DB0B7;font-weight:900}
.field-note{margin:0;color:#8C8382;font-size:12px}
.photo-drop{display:flex;align-items:center;gap:16px;padding:16px;border:2px dashed #4A4242;border-radius:16px;background:#161212;cursor:pointer;transition:border-color .2s,background .2s}
.photo-drop:hover,.photo-drop.drag{border-color:#588089;background:rgba(88,128,137,.1)}
.photo-drop img{width:110px;height:110px;border-radius:14px;object-fit:cover;flex:none}
.photo-drop-copy{display:grid;gap:5px}
.photo-drop-copy b{font:900 14px 'Roboto';letter-spacing:.06em}
.photo-drop-copy small{color:#B9B1B0;line-height:1.5}
.photo-drop.has-photo{border-style:solid;border-color:#588089}
.photo-remove{width:auto!important;justify-self:start;margin:0!important;padding:9px 14px!important}
@media(max-width:640px){.my-app{grid-template-columns:60px 1fr}.my-app-photo{width:60px;height:60px}.my-app-actions{grid-column:1/-1;justify-content:flex-start}.photo-drop{flex-direction:column;text-align:center}}

/* Respect the hidden attribute everywhere (layout rules must never reveal hidden panels) */
html body [hidden]{display:none!important}

/* ===== Academy courses & camps ===== */
.camp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}
.camp-card{display:flex;flex-direction:column;background:linear-gradient(160deg,#231E1E,#191515);border:1px solid #3A3333;border-radius:20px;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s}
.camp-card:hover{transform:translateY(-3px);border-color:rgba(212,85,75,.55);box-shadow:0 14px 34px rgba(0,0,0,.45)}
.camp-card.state-ended,.camp-card.state-cancelled{opacity:.6}
.camp-media{position:relative;aspect-ratio:16/7;overflow:hidden;background:var(--au-noise),radial-gradient(300px 160px at 85% 20%,rgba(88,128,137,.45),transparent 70%),linear-gradient(135deg,#AF3832,#4a1d1a 55%,#231E1E);background-size:220px 220px,auto,auto;isolation:isolate}
.camp-card:nth-child(even) .camp-media{background:var(--au-noise),radial-gradient(300px 160px at 85% 20%,rgba(175,56,50,.45),transparent 70%),linear-gradient(135deg,#588089,#2a4044 55%,#231E1E);background-size:220px 220px,auto,auto}
.camp-media>img{width:100%;height:100%;object-fit:cover}
.camp-media:has(>img):after{content:'';position:absolute;inset:0;background:#588089;mix-blend-mode:color;opacity:.8;transition:opacity .35s}
.camp-card:hover .camp-media:after{opacity:0}
.camp-fallback{position:absolute;inset:0;display:grid;place-items:center;background:url("symbol-white.png") right -30px center/auto 140% no-repeat}
.camp-fallback b{font:900 clamp(22px,3vw,30px)/1 'Roboto';letter-spacing:.02em;color:rgba(255,255,255,.18);text-transform:uppercase}
.camp-type{position:absolute;left:12px;top:12px;z-index:2;font-size:10px;font-weight:900;letter-spacing:.1em;padding:5px 9px;border-radius:6px;background:rgba(0,0,0,.45);color:#fff;border:1px solid rgba(255,255,255,.2)}
.camp-state{display:inline-block;font-size:10px;font-weight:900;letter-spacing:.08em;padding:5px 9px;border-radius:6px;color:#fff;background:#4A4242}
.camp-media .camp-state{position:absolute;right:12px;top:12px;z-index:2}
.camp-state.open{background:#2F8F5B}.camp-state.few{background:#D4554B}.camp-state.soon{background:#588089}.camp-state.full,.camp-state.closed{background:#4A4242}.camp-state.cancelled{background:#8A2C27}.camp-state.ended{background:#3A3333;color:#B9B1B0}
.camp-body{padding:18px;display:flex;flex-direction:column;gap:12px;flex:1}
.camp-body h3{margin:0;font:900 20px/1.2 'Roboto';text-transform:uppercase}
.camp-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}
.camp-facts span{display:grid;gap:2px;font-size:13px;font-weight:700;color:#fff}
.camp-facts small{font-size:9px;letter-spacing:.14em;color:#8DB0B7;font-weight:900}
.camp-seats{display:grid;gap:6px;font-size:12px;color:#E3DCDB}
.camp-seats b{font:900 16px 'Roboto';color:#fff}
.camp-seats i{display:block;height:6px;border-radius:6px;background:#3A3333;overflow:hidden}
.camp-seats em{display:block;height:100%;background:linear-gradient(90deg,#588089,#AF3832);border-radius:6px}
.camp-count{display:grid;gap:6px;padding:10px 12px;border-radius:12px;background:rgba(0,0,0,.28);border:1px solid #3A3333}
.camp-count small{font-size:9px;letter-spacing:.16em;color:#B9B1B0;font-weight:900}
.camp-count .cd{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.camp-count .cd span{display:grid;justify-items:center;background:#161212;border-radius:8px;padding:6px 2px}
.camp-count .cd b{font:900 20px/1 'Roboto';font-variant-numeric:tabular-nums}
.camp-count .cd i{font-style:normal;font-size:8px;letter-spacing:.12em;color:#8DB0B7;margin-top:3px}
.muted-count{font-size:11px;font-weight:900;letter-spacing:.1em;color:#8C8382}
.live-count{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:900;letter-spacing:.1em;color:#fff}
.live-dot-red{width:8px;height:8px;border-radius:50%;background:#D4554B;box-shadow:0 0 0 4px rgba(212,85,75,.25)}
.camp-reg-line{margin:0;font-size:12px;font-weight:700;color:#8DB0B7}
.camp-actions{margin-top:auto;display:grid;grid-template-columns:1fr 1.4fr;gap:8px}
.camp-actions button{margin:0!important;width:100%!important;padding:13px 10px!important}
.camp-actions button:disabled{opacity:.55;cursor:not-allowed}
.camp-dialog .article-content h2{margin-bottom:10px}
.camp-dialog-status{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px}
.camp-dialog-status small{color:#8DB0B7;font-weight:700}
.camp-dialog .camp-count{margin-bottom:12px}
.camp-detail-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;margin:16px 0 18px}
.camp-detail-grid div{background:#1A1616;border:1px solid #3A3333;border-radius:12px;padding:10px 12px;display:grid;gap:3px}
.camp-detail-grid small{font-size:9px;letter-spacing:.14em;color:#8DB0B7;font-weight:900}
.camp-detail-grid b{font-size:14px}
.camp-sub{font:900 13px 'Roboto';letter-spacing:.14em;color:#D4554B;margin:10px 0}
.camp-includes{margin:0 0 6px;padding:0;list-style:none;display:grid;gap:8px}
.camp-includes li{display:flex;gap:10px;align-items:flex-start;font-size:15px;color:#E3DCDB}
.camp-includes li:before{content:'';width:12px;height:12px;margin-top:4px;flex:none;background:#AF3832;-webkit-mask:var(--au-star) center/contain no-repeat;mask:var(--au-star) center/contain no-repeat}
.camp-dialog .article-actions button:disabled{opacity:.55;cursor:not-allowed}
/* registration area: hidden until "Register" is clicked */
.academy-register{animation:screenIn .35s cubic-bezier(.2,.8,.2,1) both}
.register-close{position:absolute;right:16px;top:16px;width:38px;height:38px;border-radius:50%;border:1px solid #4A4242;background:#161212;color:#fff;cursor:pointer;z-index:2}
.register-close:hover{border-color:#AF3832}
.app-context{display:grid;gap:4px;padding:14px 16px;border-radius:14px;background:linear-gradient(90deg,rgba(175,56,50,.25),rgba(88,128,137,.18));border:1px solid #AF3832}
.app-context strong{font:900 18px 'Roboto';text-transform:uppercase}
.app-context small{color:#E3DCDB}
.app-copy{display:grid;gap:6px;padding:12px 14px;border-radius:14px;border:1px dashed #588089}
.app-copy small{color:#8C8382}
.my-app-course{display:inline-block;justify-self:start;font-size:10px;font-weight:900;letter-spacing:.08em;padding:3px 8px;border-radius:6px;background:rgba(175,56,50,.25);border:1px solid #AF3832}
.academy-cta .outlinebtn{background:transparent}
@media(max-width:560px){.camp-grid{grid-template-columns:1fr}.academy-cta{display:grid;grid-template-columns:1fr 1fr}.academy-cta .goldbtn{grid-column:1/-1}}
/* course card without photo: subtle logo effect (guidebook p.13) instead of a bright symbol */
.camp-fallback{background:none!important}
.camp-fallback:before{content:'';position:absolute;right:-40px;top:50%;width:62%;aspect-ratio:1;transform:translateY(-50%);background:url("symbol-white.png") center/contain no-repeat;opacity:.13;mix-blend-mode:overlay}
.camp-fallback b{position:relative;color:rgba(255,255,255,.22)!important;font-size:clamp(26px,3.4vw,38px)!important;letter-spacing:.04em!important}
