.cricket-competition-main { --cc-accent:var(--accent-ink); --cc-radius:18px; color:var(--ink); }
.cricket-competition-main [hidden] { display:none !important; }
.cc-shell { width:min(1240px,calc(100% - 64px)); margin-inline:auto; }
.cc-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.cricket-competition-main a { color:inherit; }
.cricket-competition-main :is(a,button,input,select):focus-visible { outline:2px solid var(--cc-accent); outline-offset:3px; }
.cc-button { display:inline-flex; align-items:center; justify-content:center; gap:12px; padding:10px 16px; min-height:46px; border:1px solid var(--line); border-radius:9px; text-decoration:none; font-size:13px; font-weight:700; cursor:pointer; }
.cricket-competition-main .cc-primary { background:var(--acid); color:#10140d; border-color:transparent; }
.cricket-competition-main .cc-secondary { background:var(--surface); color:var(--ink); }
.cc-button:hover { filter:brightness(.95); }
.cc-button:disabled { cursor:wait; opacity:.65; }
.cc-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.88fr); align-items:stretch; gap:clamp(28px,5vw,74px); padding:48px 0 46px; }
.cc-intro { align-self:center; padding:12px 0; }
.cc-kicker { display:flex; align-items:center; gap:9px; margin:0 0 17px; font-size:12px; font-weight:800; color:var(--cc-accent); letter-spacing:.14em; text-transform:uppercase; }
.cc-kicker span { display:block; width:18px; height:2px; border-radius:2px; background:currentColor; }
.cc-intro h1 { margin:0; font:800 clamp(48px,6.5vw,100px)/.92 var(--display); letter-spacing:-.058em; }
.cc-intro h1 em { color:var(--cc-accent); font-style:normal; }
.cc-intro > p:not(.cc-kicker) { max-width:440px; margin:16px 0 24px; color:var(--muted); font-size:16px; line-height:1.6; }
.cc-hero-actions { display:flex; gap:8px; flex-wrap:wrap; }
.cc-spotlight { isolation:isolate; overflow:hidden; position:relative; display:flex; align-items:flex-end; min-height:286px; padding:23px 26px; border:1px solid #456145; border-radius:22px; background:radial-gradient(ellipse at 75% 6%,#365925,transparent 62%),linear-gradient(128deg,#173929,#0b251d 72%); color:#f5faf0; }
.cc-field { z-index:-1; position:absolute; inset:0; overflow:hidden; background:linear-gradient(90deg,rgba(9,31,22,.82),rgba(9,31,22,.1) 83%),repeating-linear-gradient(128deg,rgba(200,255,160,.037) 0 15px,transparent 15px 30px); }
.cc-field::before,.cc-field::after,.cc-field i,.cc-field b { content:""; position:absolute; display:block; left:70%; top:39%; translate:-50% -50%; rotate:-30deg; }
.cc-field::before { width:76%; aspect-ratio:1.36; border:1px solid #c8ff9b64; border-radius:50%; box-shadow:0 0 0 20px #aff8800c,0 0 0 21px #c8ff9b43,0 0 0 41px #aff88008,0 0 0 42px #c8ff9b20; }
.cc-field::after { width:51%; aspect-ratio:1.36; border:1px dashed #d4ff9e75; border-radius:50%; }
.cc-field i { width:9%; aspect-ratio:1 / 3.1; border:1px solid #d4efadbd; border-radius:3px; background:#c1df7854; box-shadow:0 0 32px #d8fa5d4d; }
.cc-field b { width:13%; aspect-ratio:1 / 1.65; border-block:1px solid #d4efadbd; }
.cc-spotlight-content { width:100%; position:relative; text-shadow:0 1px 12px #06190e; }
.cc-spotlight-label,.cc-spotlight-stage { display:inline-block; font-size:11px; line-height:1.4; color:#dbeacf; text-transform:uppercase; font-weight:800; letter-spacing:.12em; }
.cc-spotlight-stage { margin-left:7px; padding:4px 7px; border:1px solid #d5fca44b; border-radius:5px; background:#183a29; color:#dcfaa8; letter-spacing:.04em; text-shadow:none; }
.cc-spotlight h2 { margin:9px 0 4px; font:750 clamp(29px,3.5vw,46px)/1 var(--display); letter-spacing:-.038em; overflow-wrap:anywhere; }
.cc-spotlight h2 a { text-decoration:none; }
.cc-spotlight p { color:#e1eddd; margin:0 0 9px; font-size:13px; line-height:1.5; }
.cc-spotlight .cc-spotlight-link { display:inline-flex; align-items:center; gap:7px; min-height:42px; color:#e2ffad; text-decoration:none; font-size:13px; font-weight:800; }
.cc-extra-link { margin-left:15px; }
.cc-spotlight a:hover { text-decoration:underline; }
.cc-directory-section { border-top:1px solid var(--line); padding:27px 0 37px; scroll-margin-top:110px; }
.cc-directory-section:last-child { padding-bottom:56px; }
.cc-section-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; margin-bottom:16px; }
.cc-section-heading h2 { margin:0; color:var(--ink); font:750 clamp(30px,4vw,47px)/1 var(--display); letter-spacing:-.04em; }
.cc-section-heading p { margin:5px 0 0; color:var(--muted); font-size:14px; line-height:1.45; }
.cc-count { color:var(--muted); font-size:12px; white-space:nowrap; font-weight:700; }
.cc-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 16px; }
.cc-search { position:relative; flex:1 1 240px; max-width:430px; }
.cc-toolbar :is(input,select) { width:100%; height:46px; padding:0 12px; border:1px solid var(--line); border-radius:9px; background:var(--surface-2); color:var(--ink); font:600 14px var(--body); }
.cc-search input { padding-left:42px; }
.cc-search-icon { position:absolute; left:16px; top:15px; width:13px; height:13px; border:1.7px solid var(--muted); border-radius:50%; pointer-events:none; }
.cc-search-icon::after { content:""; position:absolute; right:-5px; bottom:-3px; width:6px; height:1.7px; background:var(--muted); transform:rotate(48deg); border-radius:2px; }
.cc-select { max-width:230px; min-width:136px; }
.cc-select select { padding-right:30px; text-overflow:ellipsis; }
.cc-league-grid,.cc-tournament-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; align-items:stretch; }
.cc-tournament-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.cc-card { display:flex; flex-direction:column; gap:0; min-width:0; padding:17px 19px 12px; border:1px solid var(--line); border-radius:var(--cc-radius); background:var(--surface); transition:border-color .2s ease; }
.cc-card:focus-within,.cc-card:hover { border-color:color-mix(in srgb,var(--cc-accent) 42%,var(--line)); }
.cc-card header { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:6px; }
.cc-monogram { display:inline-grid; place-items:center; flex:0 0 auto; width:40px; height:40px; border:1px solid var(--line); border-radius:10px; background:var(--surface-2); color:var(--cc-accent); font:800 16px/1 var(--body); letter-spacing:-.035em; }
.cc-membership,.cc-format { color:var(--muted); font-size:12px; font-weight:700; }
.cc-membership { padding:5px 8px; border:1px solid var(--line); border-radius:6px; }
.cc-card h3 { margin:13px 0 3px; font:750 clamp(24px,2.4vw,31px)/1.03 var(--display); letter-spacing:-.022em; overflow-wrap:anywhere; }
.cc-card h3 a { text-decoration:none; }
.cc-location { margin:0; color:var(--muted); font-size:13px; line-height:1.4; }
.cc-location a { text-decoration:none; }
.cc-card :is(h3,.cc-location) a:hover { text-decoration:underline; }
.cc-card .cc-description { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; margin:9px 0 0; color:var(--muted); font-size:13px; line-height:1.5; }
.cc-card-data { display:flex; gap:16px; flex-wrap:wrap; padding:13px 0 9px; margin-top:auto; color:var(--muted); font-size:12px; }
.cc-card-data strong { color:var(--ink); font-size:14px; }
.cc-card footer { display:flex; align-items:center; justify-content:space-between; gap:9px; padding-top:3px; border-top:1px solid var(--line); }
.cc-card footer :is(a,button) { display:inline-flex; align-items:center; gap:6px; min-height:44px; color:var(--cc-accent); font:750 13px/1.1 var(--body); text-decoration:none; }
.cc-card footer button { min-height:40px; border:1px solid var(--line); border-radius:7px; background:var(--surface-2); padding:0 12px; color:var(--ink); cursor:pointer; }
.cc-card footer a:hover { text-decoration:underline; }
.cc-tournament-card { background:linear-gradient(105deg,color-mix(in srgb,var(--acid) 5%,var(--surface)),var(--surface) 65%); }
.cc-tournament-card[data-stage="active"] { border-inline-start:3px solid var(--cc-accent); }
.cc-stage { display:inline-flex; gap:6px; align-items:center; padding:5px 8px; border:1px solid var(--line); border-radius:7px; background:var(--surface-2); color:var(--muted); font:750 11px/1.15 var(--body); white-space:nowrap; }
.cc-stage i { width:6px; height:6px; border-radius:50%; background:currentColor; }
.cc-stage[data-stage="active"] { color:var(--cc-accent); }
.cc-empty,.cc-more,.cc-feedback { grid-column:1/-1; }
.cc-empty,.cc-feedback { margin:0; padding:18px; border:1px dashed var(--line); border-radius:var(--cc-radius); color:var(--muted); font-size:14px; }
.cc-empty strong { color:var(--ink); font-size:15px; }
.cc-empty p { margin:5px 0 13px; }
.cc-feedback { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:20px; }
.cc-more { display:flex; justify-content:center; padding-top:6px; }
.cc-detail-head { padding:25px 0 0; }
.cc-detail-links { display:flex; align-items:center; gap:20px; flex-wrap:wrap; margin-bottom:13px; }
.cc-detail-links a { display:inline-flex; align-items:center; min-height:42px; text-decoration:none; color:var(--muted); font-size:13px; font-weight:700; }
.cc-detail-links a:hover { text-decoration:underline; color:var(--ink); }
.cc-detail-hero { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:25px; align-items:center; padding:clamp(19px,4vw,42px); border:1px solid var(--line); border-radius:21px; background:linear-gradient(106deg,color-mix(in srgb,var(--acid) 8%,var(--surface)),var(--surface) 72%); }
.cc-detail-tags { display:flex; align-items:center; flex-wrap:wrap; gap:9px; color:var(--muted); font-size:12px; font-weight:750; }
.cc-detail-head h1 { margin:12px 0 5px; font:800 clamp(44px,6vw,71px)/.96 var(--display); letter-spacing:-.05em; overflow-wrap:anywhere; }
.cc-detail-head h1:focus,.cc-section-heading h2:focus { outline:none; }
.cc-detail-description { margin:12px 0 0; color:var(--muted); font-size:15px; line-height:1.55; overflow-wrap:anywhere; max-width:62ch; }
.cc-detail-meta { display:grid; gap:13px; padding-left:22px; border-left:1px solid var(--line); }
.cc-detail-counts { display:flex; flex-wrap:wrap; gap:16px; }
.cc-detail-counts strong,.cc-detail-counts span { display:block; }
.cc-detail-counts strong { font:750 34px/1 var(--display); }
.cc-detail-counts span { color:var(--muted); font-size:13px; }
.cc-detail-meta .cc-membership { display:inline-flex; }
body .competition-page-body.cc-detail-body { margin-inline:auto; padding:22px 0 55px; max-width:1240px; width:min(1240px,calc(100% - 64px)); display:grid; gap:22px; background:transparent; }
.cc-detail-section { min-width:0; }
.cc-detail-section .cc-section-heading { margin-bottom:13px; }
.cc-roster { border:1px solid var(--line); border-radius:var(--cc-radius); overflow:hidden; background:var(--surface); }
.cc-roster > div { display:grid; grid-template-columns:minmax(0,1fr) minmax(52px,100px) minmax(56px,100px); align-items:center; padding:9px 16px; gap:8px; text-align:right; }
.cc-roster > div > :first-child { text-align:left; }
.cc-roster-head { background:var(--surface-2); color:var(--muted); font-size:12px; font-weight:700; }
.cc-roster-row { border-top:1px solid var(--line); font-size:14px; }
.cc-roster-row > div { display:flex; align-items:center; gap:9px; min-width:0; }
.cc-roster-row a { display:inline-flex; align-items:center; gap:6px; min-height:28px; font-weight:750; overflow-wrap:anywhere; text-decoration:none; }
.cc-roster-row a span { color:var(--cc-accent); }
.cc-roster-row a:hover { text-decoration:underline; }
.cc-roster-row small { display:block; color:var(--muted); }
.cc-detail-body #tournamentProgress { margin:0; min-width:0; }
@media (max-width:900px) {
  .cc-hero { gap:25px; padding:30px 0; }
  .cc-league-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cc-spotlight { min-height:250px; }
}
@media (max-width:650px) {
  .cc-shell,body .competition-page-body.cc-detail-body { width:calc(100% - 28px); }
  .cc-hero { grid-template-columns:1fr; padding:19px 0 24px; gap:14px; }
  .cc-intro { padding:4px 0; }
  .cc-kicker { font-size:10px; margin-bottom:10px; }
  .cc-intro h1 { font-size:clamp(43px,10.9vw,65px); }
  .cc-intro > p:not(.cc-kicker) { font-size:14px; margin:9px 0 14px; }
  .cc-hero-actions .cc-button { padding-inline:11px; gap:6px; }
  .cc-spotlight { min-height:174px; padding:15px 16px; border-radius:15px; }
  .cc-spotlight h2 { font-size:32px; }
  .cc-spotlight p { margin:0; }
  .cc-field::before,.cc-field::after,.cc-field i,.cc-field b { top:36%; left:75%; }
  .cc-directory-section { padding:20px 0 25px; scroll-margin-top:81px; }
  .cc-directory-section:last-child { padding-bottom:32px; }
  .cc-section-heading { align-items:baseline; gap:8px; }
  .cc-section-heading p { font-size:13px; }
  .cc-toolbar { gap:6px; margin-bottom:12px; }
  .cc-search { max-width:none; flex-basis:100%; }
  .cc-select { flex:1; max-width:100%; min-width:0; }
  .cc-toolbar :is(input,select) { font-size:16px; }
  .cc-league-grid,.cc-tournament-grid { grid-template-columns:1fr; gap:9px; }
  .cc-card { padding:13px 14px 8px; border-radius:13px; }
  .cc-card h3 { margin-top:10px; }
  .cc-detail-head { padding-top:10px; }
  .cc-detail-hero { grid-template-columns:1fr; gap:12px; padding:16px; border-radius:15px; }
  .cc-detail-head h1 { font-size:clamp(35px,9vw,50px); }
  .cc-detail-meta { border-left:0; border-top:1px solid var(--line); padding:12px 0 0; align-items:center; grid-template-columns:minmax(0,1fr) auto; gap:9px; }
  .cc-detail-counts { gap:10px; }
  .cc-detail-counts strong { font-size:27px; }
  .cc-detail-counts span { font-size:11px; }
  .cc-detail-meta .cc-button { padding-inline:8px; gap:4px; }
  .cc-roster > div { padding:8px 10px; grid-template-columns:minmax(0,1fr) 44px 46px; }
  .cc-roster .cc-monogram { width:30px; height:30px; font-size:13px; }
}
@media (prefers-reduced-motion:reduce) { .cc-card { transition:none; } }
.cricket-competition-main .cc-spotlight a:focus-visible { outline-color:#e2ffad; }
@media(max-width:365px){
  .cc-detail-meta { grid-template-columns:1fr; }
  .cc-detail-meta .cc-button { width:100%; }
}
