:root{
  --bg:#eef4fb;
  --bg2:#f9fbff;
  --panel:#ffffff;
  --ink:#11233f;
  --muted:#607089;
  --line:#dae4ef;
  --nav1:#0d2344;
  --nav2:#13356b;
  --blue:#1b63d3;
  --blue-deep:#114aa9;
  --green:#0f8b56;
  --gold:#f0b323;
  --red:#d64545;
  --slate:#6b7b92;
  --game:#1f69f0;
  --practice:#f59e0b;
  --reserved:#0f9a77;
  --blocked:#d83b3b;
  --maintenance:#64748b;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,sans-serif;
  background:radial-gradient(circle at top left,#ffffff 0%,var(--bg) 42%,#eaf1fb 100%);
  color:var(--ink);
  font-size:15px;
}
button,input,select,textarea{font:inherit}
.app-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}
.sidebar{
  background:linear-gradient(180deg,var(--nav1),var(--nav2));
  color:#fff;
  padding:24px 18px;
  display:flex;
  flex-direction:column;
  gap:22px;
  border-right:1px solid rgba(255,255,255,.08)
}
.brand{display:flex;align-items:center;gap:14px;padding:0 8px}
.brand-mark{
  width:56px;height:56px;border-radius:18px;
  background:linear-gradient(180deg,#173f7a,#0c1f3f);
  border:2px solid rgba(240,179,35,.75);
  display:grid;place-items:center;
  box-shadow:0 10px 24px rgba(0,0,0,.22)
}
.brand-mark-inner{
  width:38px;height:38px;border-radius:50%;
  background:radial-gradient(circle at top,#f7d26a,#f0b323 62%,#ce9205 100%);
  color:#0e2344;font-weight:800;font-size:14px;display:grid;place-items:center;
}
.brand-title{font-weight:800;font-size:19px;letter-spacing:.08em}
.brand-sub{font-size:11px;color:#c4d1e4;margin-top:3px;line-height:1.35}
.club-chip-stack{display:flex;flex-wrap:wrap;gap:8px;padding:0 8px}
.club-chip{
  font-size:11px;font-weight:700;letter-spacing:.02em;
  color:#fff;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);
  border-radius:999px;padding:7px 11px;
}
.sidebar nav{display:flex;flex-direction:column;gap:8px}
.nav-item{
  border:0;background:transparent;color:#d6e2f2;text-align:left;padding:14px 15px;border-radius:14px;
  cursor:pointer;font-weight:700;font-size:15px;display:flex;gap:10px;align-items:center;
}
.nav-item:hover,.nav-item.active{background:rgba(255,255,255,.12);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.sidebar-help{
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:14px;
  padding:14px;color:#d7e2ef;font-size:12px;line-height:1.55
}
.sidebar-footer{margin-top:auto;color:#acc0d9;font-size:12px;padding:0 8px;line-height:1.5}
.main{padding:28px;overflow:hidden}
.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:14px}
.topbar h1{margin:0;font-size:32px;letter-spacing:-.04em}
.topbar p{margin:5px 0 0;color:var(--muted)}
.primary-btn,.secondary-btn,.danger-btn,.round-btn,.link-btn{border:0;cursor:pointer;font-weight:800}
.primary-btn{background:linear-gradient(180deg,var(--blue),var(--blue-deep));color:#fff;padding:12px 17px;border-radius:12px;box-shadow:0 10px 24px rgba(17,74,169,.18)}
.primary-btn:hover{filter:brightness(.98)}
.big-btn{font-size:15px;padding:13px 18px}
.secondary-btn{background:#edf2f8;color:#2d3d52;padding:11px 15px;border-radius:10px}
.danger-btn{background:#fff0f0;color:#b42323;padding:11px 15px;border-radius:10px}
.card{background:rgba(255,255,255,.92);border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 32px rgba(36,58,92,.08)}
.club-banner{
  margin-bottom:18px;padding:18px 20px;display:flex;justify-content:space-between;gap:18px;align-items:center;
  background:linear-gradient(135deg,#ffffff 0%,#f5f9ff 55%,#edf6ff 100%);
  border:1px solid #d7e4f4;
}
.club-banner-main{display:flex;align-items:center;gap:18px;min-width:0}
.club-badge-wrap{flex:0 0 auto}
.club-badge{display:flex;flex-direction:column;align-items:center;gap:8px}
.club-badge-ring{
  width:92px;height:92px;border-radius:50%;padding:6px;
  background:conic-gradient(from 190deg,var(--blue) 0 42%,var(--green) 42% 74%,var(--gold) 74% 100%);
  box-shadow:0 14px 28px rgba(12,38,73,.16)
}
.club-badge-text{
  width:100%;height:100%;border-radius:50%;background:linear-gradient(180deg,#122b54,#0e2040);
  color:#fff;display:grid;place-items:center;font-size:28px;font-weight:800;letter-spacing:.05em;
  border:4px solid #fff
}
.club-badge-year{font-size:12px;font-weight:800;color:var(--green);background:#effaf4;border:1px solid #caebd8;border-radius:999px;padding:4px 10px}
.eyebrow{font-size:12px;letter-spacing:.15em;font-weight:800;color:var(--green);margin-bottom:5px}
.club-copy h2{margin:0 0 6px;font-size:28px;letter-spacing:-.03em}
.club-copy p{margin:0;color:var(--muted)}
.club-motto{font-size:16px;font-weight:600;color:#35506d}
.club-pill-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.info-pill{background:#fff;border:1px solid #d5e2ef;color:#35506d;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700}
.club-banner-side{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.mini-stat{
  min-width:108px;padding:14px 16px;border-radius:16px;background:linear-gradient(180deg,#123563,#0d2445);color:#fff;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;box-shadow:0 10px 22px rgba(13,36,69,.16)
}
.mini-stat strong{font-size:22px;line-height:1}
.mini-stat span{margin-top:6px;font-size:12px;color:#d2dcef;font-weight:700}
.mini-stat.accent{background:linear-gradient(180deg,var(--green),#086b42)}
.date-card{padding:14px 18px;display:flex;align-items:center;justify-content:center;gap:26px;margin-bottom:14px;background:linear-gradient(180deg,#fff,#f8fbff)}
.date-center{text-align:center;min-width:280px}.friendly-date{font-size:21px;font-weight:800}.date-actions{margin-top:5px;display:flex;justify-content:center;align-items:center;gap:9px}.date-actions input{border:0;color:var(--muted);background:transparent;padding:4px}.round-btn{width:44px;height:44px;border-radius:50%;font-size:28px;line-height:1;background:#edf4ff;color:#173b6c}.round-btn:hover{background:#dfeafb}.link-btn{background:transparent;color:var(--blue);padding:4px 5px}
.stats-row{display:grid;grid-template-columns:140px 140px 160px 1fr;gap:12px;margin-bottom:14px}
.stat-card{border-radius:16px;padding:15px 16px;display:flex;flex-direction:column;font-size:12px;font-weight:700;color:#476079;border:1px solid #dbe7f3;background:#fff}
.bookings-card{background:linear-gradient(180deg,#f0f7ff,#ffffff)}
.games-card{background:linear-gradient(180deg,#effbf6,#ffffff)}
.refs-card{background:linear-gradient(180deg,#fff7eb,#ffffff)}
.stat-number{font-size:26px;font-weight:800;color:var(--ink);line-height:1.1;margin-bottom:3px}
.legend{padding:14px 16px;display:flex;gap:15px;align-items:center;justify-content:flex-end;flex-wrap:wrap;font-size:12px;color:#566477;background:linear-gradient(180deg,#fff,#f8fbff)}
.legend span{display:flex;align-items:center;gap:6px}.dot{width:10px;height:10px;border-radius:50%;display:inline-block}.dot.game{background:var(--game)}.dot.practice{background:var(--practice)}.dot.reserved{background:var(--reserved)}.dot.blocked{background:var(--blocked)}.dot.maintenance{background:var(--maintenance)}
.calendar-wrap{overflow:auto;background:linear-gradient(180deg,#fff,#fbfdff)}
.calendar-note{padding:12px 16px;color:#45617f;background:#eef6ff;border-bottom:1px solid var(--line);font-size:12px;font-weight:700}
.field-calendar{min-width:1060px}.calendar-grid{display:grid;grid-template-columns:86px repeat(6,minmax(160px,1fr))}
.cal-head{position:sticky;top:0;z-index:3;background:linear-gradient(180deg,#f9fbfe,#eff5fb);border-bottom:1px solid var(--line);border-right:1px solid var(--line);padding:15px 8px;text-align:center;font-weight:800;color:#20354c}
.time-cell{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 9px;background:#fbfdff;color:#6f7d8e;font-size:12px;font-weight:700;text-align:right}
.slot{min-height:84px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:7px;cursor:pointer;background:rgba(255,255,255,.9)}
.slot:nth-child(odd){background:#fcfdff}
.slot:hover{background:#f2f8ff}.slot:hover:empty:after{content:'＋ Add';display:block;text-align:center;color:#8ba0b8;font-size:11px;margin-top:22px}
.reservation{border-radius:12px;color:#fff;padding:10px 11px;font-size:12px;line-height:1.35;box-shadow:0 8px 18px rgba(17,36,60,.16);cursor:pointer;border-left:4px solid rgba(255,255,255,.5)}
.reservation:hover{filter:brightness(.98)}
.reservation strong{display:block;font-size:13px;margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reservation small{opacity:.95;display:block}.reservation .ref-mini{margin-top:5px;font-size:10px;opacity:.95;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reservation.game{background:linear-gradient(180deg,#2974f5,#165ad1)}
.reservation.practice{background:linear-gradient(180deg,#f6aa1f,#e08f00)}
.reservation.reserved{background:linear-gradient(180deg,#17a67f,#07856f)}
.reservation.blocked{background:linear-gradient(180deg,#e04b4b,#c83434)}
.reservation.maintenance{background:linear-gradient(180deg,#7788a0,#64748b)}
.view{display:none}.active-view{display:block}
.refs-toolbar{padding:18px;display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;background:linear-gradient(180deg,#ffffff,#f6faff)}
.refs-toolbar h2,.panel-head h2{margin:0;font-size:20px}.refs-toolbar p,.panel-head p{margin:4px 0 0;color:var(--muted);font-size:13px}.refs-grid{display:grid;grid-template-columns:400px 1fr;gap:14px}.refs-panel,.ref-detail-panel{padding:14px;min-height:510px}.ref-card{padding:15px;border:1px solid var(--line);border-radius:14px;margin-bottom:10px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;background:linear-gradient(180deg,#fff,#fbfdff)}.ref-card:hover{border-color:#b9cbea;background:#f7fbff;transform:translateY(-1px)}.ref-name{font-weight:800;font-size:15px}.ref-meta{font-size:12px;color:var(--muted);margin-top:4px}.status-pill{font-size:11px;border-radius:999px;padding:6px 9px;background:#ddf8e9;color:#177044;font-weight:800}.status-pill.busy{background:#ffeded;color:#a52c2c}.empty-state{height:430px;display:grid;place-items:center;text-align:center;color:var(--muted)}.empty-icon{font-size:38px;margin-bottom:10px}.empty-state strong{color:#33455a;font-size:18px}.empty-state p{margin:5px 0}.ref-detail-title{margin:0 0 5px;font-size:24px}.ref-detail-meta{color:var(--muted);margin:0 0 20px}.assignment{border:1px solid var(--line);padding:13px 14px;background:linear-gradient(180deg,#fbfcfe,#f8fbff);border-radius:12px;margin:9px 0}.assignment strong{display:block;margin-bottom:4px}
.list-card{padding:18px;background:linear-gradient(180deg,#fff,#fbfdff)}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.search{border:1px solid #cfd9e6;border-radius:10px;padding:11px 12px;min-width:260px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:14px;border-bottom:1px solid var(--line);font-size:13px}th{color:#526176;background:#f5f9ff;font-size:11px;text-transform:uppercase;letter-spacing:.04em}tbody tr{cursor:pointer}tbody tr:hover{background:#f7faff}
.modal-backdrop{position:fixed;inset:0;background:rgba(12,27,48,.58);display:grid;place-items:center;padding:20px;z-index:50}.modal-backdrop.hidden{display:none}.modal{width:min(740px,100%);max-height:92vh;overflow:auto;background:white;border-radius:20px;padding:23px;box-shadow:0 24px 80px rgba(0,0,0,.25)}.modal.small{width:min(510px,100%)}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.modal-head h2{margin:0;font-size:24px}.modal-head p{margin:4px 0 0;color:var(--muted);font-size:13px}.close-btn{border:0;background:#eef2f6;color:#405067;width:36px;height:36px;border-radius:10px;font-size:22px;cursor:pointer}.form-section{background:linear-gradient(180deg,#fafcfe,#f7fbff);border:1px solid #e6ebf1;border-radius:14px;padding:14px;margin-bottom:12px}.form-section-title{font-size:13px;font-weight:800;color:#2e4057;margin-bottom:12px}.optional{font-weight:500;color:#8b97a6}.form-grid{display:grid;gap:12px}.form-grid.two{grid-template-columns:1fr 1fr}.form-grid.three{grid-template-columns:repeat(3,1fr)}label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;margin-bottom:10px;color:#4b5b70}input,select,textarea{border:1px solid #cfd9e6;border-radius:10px;padding:11px 12px;background:white;color:#18283b;outline:none}input:focus,select:focus,textarea:focus{border-color:#4e8fe4;box-shadow:0 0 0 3px rgba(78,143,228,.12)}.modal-actions{display:flex;align-items:center;gap:9px;margin-top:5px}.spacer{flex:1}.conflict{padding:11px 12px;background:#fff0f0;border:1px solid #ffc7c7;color:#a32424;border-radius:10px;font-size:12px;line-height:1.5}.hidden{display:none!important}
@media(max-width:1160px){.club-banner{flex-direction:column;align-items:flex-start}.club-banner-side{width:100%;justify-content:flex-start}.stats-row{grid-template-columns:repeat(3,1fr)}.legend{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:1000px){.app-shell{grid-template-columns:1fr}.sidebar{position:sticky;top:0;z-index:20;flex-direction:row;align-items:center;padding:11px 14px;gap:12px;overflow:auto}.sidebar nav{flex-direction:row}.sidebar-help,.sidebar-footer,.brand-sub,.club-chip-stack{display:none}.brand{padding:0}.brand-mark{width:42px;height:42px;border-radius:12px}.brand-mark-inner{width:28px;height:28px;font-size:11px}.brand-title{font-size:14px}.nav-item{white-space:nowrap;padding:10px 12px}.main{padding:18px}.refs-grid{grid-template-columns:1fr}}
@media(max-width:780px){.topbar{align-items:flex-start;gap:12px;flex-direction:column}.big-btn{width:100%}.club-banner-main{flex-direction:column;align-items:flex-start}.club-copy h2{font-size:23px}.stats-row{grid-template-columns:repeat(3,1fr);gap:8px}.legend{overflow:auto;flex-wrap:nowrap;justify-content:flex-start}}
@media(max-width:650px){body{font-size:14px}.main{padding:12px}.topbar h1{font-size:25px}.date-card{gap:10px}.date-center{min-width:0;flex:1}.friendly-date{font-size:17px}.stat-card{padding:11px 9px}.stat-number{font-size:20px}.form-grid.two,.form-grid.three{grid-template-columns:1fr}.panel-head,.refs-toolbar{align-items:flex-start;flex-direction:column}.search{width:100%;min-width:0}.modal{padding:16px}.sidebar{padding:9px 10px}.brand-title{display:none}.club-badge-ring{width:76px;height:76px}.mini-stat{min-width:95px}}

/* Sports-dashboard enhancements */
.sports-hero{position:relative;overflow:hidden;padding:0;background:#0e2344;border-color:#163967;color:#fff;min-height:210px}
.sports-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,27,54,.98) 0%,rgba(8,27,54,.88) 46%,rgba(8,27,54,.30) 72%,rgba(8,27,54,.08) 100%);pointer-events:none}
.sports-hero .club-banner-main,.sports-hero .club-banner-side{position:relative;z-index:2}
.hero-photo-wrap{position:absolute;inset:0;z-index:0}
.hero-photo{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(1.08) contrast(1.02)}
.sports-hero .club-banner-main{padding:24px 26px;min-height:210px;align-items:center}
.sports-hero .club-copy{max-width:620px}
.sports-hero .eyebrow{color:#9fe2b9}
.sports-hero .club-copy h2{color:#fff;font-size:32px;text-shadow:0 2px 14px rgba(0,0,0,.25)}
.sports-hero .club-motto{color:#e7eef8}
.sports-hero .info-pill{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18);color:#fff;backdrop-filter:blur(8px)}
.sports-hero .club-banner-side{padding:22px 24px 22px 0}
.compact-badge .club-badge-ring{width:82px;height:82px}
.compact-badge .club-badge-text{font-size:24px}
.calendar-wrap{border-top:4px solid var(--blue)}
.cal-head{font-size:13px;letter-spacing:.01em}
.calendar-grid>.cal-head:nth-child(2){box-shadow:inset 0 3px 0 #1f69f0}
.calendar-grid>.cal-head:nth-child(3){box-shadow:inset 0 3px 0 #0f9a77}
.calendar-grid>.cal-head:nth-child(4){box-shadow:inset 0 3px 0 #f59e0b}
.calendar-grid>.cal-head:nth-child(5){box-shadow:inset 0 3px 0 #8b5cf6}
.calendar-grid>.cal-head:nth-child(6){box-shadow:inset 0 3px 0 #d64545}
.calendar-grid>.cal-head:nth-child(7){box-shadow:inset 0 3px 0 #64748b}
.mobile-quickbar{display:none}
@media(max-width:780px){
  .sports-hero{min-height:280px}
  .sports-hero .club-banner-main{min-height:280px;padding:22px 20px;align-items:flex-start;justify-content:flex-end}
  .hero-photo-wrap{inset:0}
  .sports-hero:after{background:linear-gradient(180deg,rgba(8,27,54,.18) 0%,rgba(8,27,54,.45) 44%,rgba(8,27,54,.97) 100%)}
  .sports-hero .club-copy h2{font-size:26px}
  .sports-hero .club-banner-side{display:none}
  .compact-badge{display:none}
  .club-pill-row{gap:6px}
  .info-pill{font-size:11px;padding:6px 9px}
  .main{padding-bottom:88px}
  .mobile-quickbar{position:fixed;left:10px;right:10px;bottom:10px;height:62px;display:grid;grid-template-columns:1fr 1fr 1fr 64px;align-items:center;background:rgba(13,35,68,.97);border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:6px;z-index:45;box-shadow:0 16px 40px rgba(0,0,0,.28);backdrop-filter:blur(14px)}
  .mobile-tab,.mobile-add{border:0;color:#cfe0f3;background:transparent;border-radius:12px;font-weight:800;height:48px;cursor:pointer}
  .mobile-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:16px}
  .mobile-tab span{font-size:10px}
  .mobile-tab.active{background:rgba(255,255,255,.12);color:#fff}
  .mobile-add{background:linear-gradient(180deg,#f3bf39,#d99a06);color:#10284a;font-size:28px;box-shadow:0 8px 20px rgba(217,154,6,.28)}
}


/* Final Stampede sports-dashboard polish */
.stampede-crest{
  position:relative;width:108px;height:128px;flex:0 0 auto;
  clip-path:polygon(50% 0,94% 13%,89% 69%,50% 100%,11% 69%,6% 13%);
  background:linear-gradient(180deg,#f7fbff 0%,#dce8f5 100%);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  filter:drop-shadow(0 14px 24px rgba(0,0,0,.34));
  color:#fff;overflow:hidden
}
.stampede-crest:before{
  content:"";position:absolute;inset:7px;clip-path:inherit;
  background:linear-gradient(180deg,#173e75 0%,#0c2243 72%,#08192f 100%);z-index:0
}
.stampede-crest:after{
  content:"";position:absolute;left:18px;right:18px;bottom:31px;height:3px;
  border-radius:99px;background:linear-gradient(90deg,#1f69f0,#0f9a77,#f0b323);z-index:1
}
.stampede-crest>*{position:relative;z-index:2;text-align:center}
.crest-kicker{font-size:8px;letter-spacing:.15em;font-weight:800;color:#c8d8eb}
.stampede-crest strong{font-size:34px;line-height:1;margin:8px 0 5px;color:#f0bd3a;letter-spacing:.04em}
.crest-name{font-size:8px;letter-spacing:.11em;font-weight:800}
.crest-est{font-size:8px;margin-top:12px;color:#bfd0e4;font-weight:700}
.sports-hero{border-top:0;border-bottom:0;box-shadow:0 16px 42px rgba(20,45,78,.18)}
.sports-hero:before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,#1f69f0 0 34%,#0f9a77 34% 68%,#f0b323 68% 100%)}
.sports-hero .club-banner-main{gap:20px}
.sports-hero .club-copy h2{letter-spacing:-.035em}
.sports-hero .club-motto{font-weight:600}
.cal-head{background:linear-gradient(180deg,#fbfdff,#f0f5fb)}
.calendar-grid>.cal-head:nth-child(2){box-shadow:inset 0 4px 0 #1f69f0}
.calendar-grid>.cal-head:nth-child(3){box-shadow:inset 0 4px 0 #0f9a77}
.calendar-grid>.cal-head:nth-child(4){box-shadow:inset 0 4px 0 #14a37c}
.calendar-grid>.cal-head:nth-child(5){box-shadow:inset 0 4px 0 #f0b323}
.calendar-grid>.cal-head:nth-child(6){box-shadow:inset 0 4px 0 #d64545}
.calendar-grid>.cal-head:nth-child(7){box-shadow:inset 0 4px 0 #8b5cf6}
.stat-card{position:relative;overflow:hidden}
.stat-card:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:#cad8e7}
.bookings-card:after{background:#1f69f0}.games-card:after{background:#0f9a77}.refs-card:after{background:#f0b323}
.reservation strong{font-weight:800}
@media(max-width:780px){
  .stampede-crest{width:86px;height:102px}.stampede-crest strong{font-size:27px;margin:6px 0 4px}.crest-kicker,.crest-name,.crest-est{font-size:7px}
  .sports-hero .club-banner-main{padding:20px;align-items:flex-end}
  .sports-hero .club-copy{padding-bottom:2px}
  .sports-hero .club-copy h2{font-size:25px}
  .sports-hero .club-motto{font-size:13px}
  .date-card{position:sticky;top:8px;z-index:15;box-shadow:0 10px 28px rgba(20,48,82,.14)}
}
@media(max-width:520px){
  .stampede-crest{display:none}
  .sports-hero .club-copy h2{font-size:23px}
  .sports-hero .club-copy{max-width:100%}
  .sports-hero .club-pill-row{display:none}
}

/* Official SCSC logo + referee roster enhancements */
.brand-logo-box{background:rgba(255,255,255,.97);padding:5px;border-color:rgba(38,122,198,.95);box-shadow:0 10px 24px rgba(0,0,0,.22)}
.brand-logo{width:100%;height:100%;object-fit:contain;display:block}
.official-club-logo{width:118px;max-height:132px;object-fit:contain;display:block;filter:drop-shadow(0 12px 18px rgba(13,36,69,.20))}
.compact-badge{display:flex;align-items:center;justify-content:center;min-width:120px}
.count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:28px;padding:0 9px;margin-left:7px;border-radius:999px;background:#e8f2ff;color:#1555ad;font-size:12px;vertical-align:middle}
.ref-add-btn{min-width:150px}
.refs-toolbar{border-top:4px solid #1f69f0}
.refs-panel:before{content:'CLUB REFEREES';display:block;font-size:11px;font-weight:800;letter-spacing:.12em;color:#6d7d91;margin:2px 2px 12px}
@media(max-width:650px){.official-club-logo{width:92px}.brand-logo-box{padding:4px}.ref-add-btn{width:100%}}


/* User requested cleanup: hero without text and sidebar logo without box */
.brand-logo-box{background:transparent !important;border:0 !important;box-shadow:none !important;padding:0 !important;width:74px;height:74px;border-radius:0 !important;display:flex;align-items:center;justify-content:center}
.brand-logo{filter:drop-shadow(0 8px 16px rgba(0,0,0,.20))}
.logo-only-hero{min-height:240px;display:flex;align-items:center;justify-content:center;padding:0}
.logo-only-hero:after{background:linear-gradient(180deg,rgba(8,27,54,.28) 0%,rgba(8,27,54,.46) 100%) !important}
.logo-only-hero .hero-logo-only{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;width:100%;padding:28px 16px}
.hero-main-logo{width:190px;max-height:190px;filter:drop-shadow(0 18px 28px rgba(0,0,0,.34))}
.logo-only-hero .club-banner-main,.logo-only-hero .club-banner-side,.logo-only-hero .club-copy,.logo-only-hero .compact-badge,.logo-only-hero .mini-stat{display:none !important}
@media(max-width:1000px){.brand-logo-box{width:50px;height:50px}.brand-logo{width:100%;height:100%}}
@media(max-width:780px){.logo-only-hero{min-height:220px}.hero-main-logo{width:150px;max-height:150px}}
@media(max-width:520px){.logo-only-hero{min-height:190px}.hero-main-logo{width:124px;max-height:124px}}

/* Admin authentication */
.topbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.admin-login-btn{border:1px solid #cbd8e8;background:#fff;color:#173b6c}
.admin-session{display:flex;align-items:center;gap:8px;padding:5px 5px 5px 11px;border:1px solid #cfe1d6;background:#f1fbf5;border-radius:12px;color:#17663f;font-weight:800;font-size:12px}
.read-only-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 10px;background:#eef4fb;color:#52677e;font-size:11px;font-weight:800}
.public-readonly .slot{cursor:default}
.public-readonly .slot:hover{background:inherit}
.public-readonly .slot:hover:empty:after{display:none}
.public-readonly .reservation{cursor:pointer}
.form-readonly input,.form-readonly select,.form-readonly textarea{background:#f5f7fa;color:#536274;cursor:not-allowed}
@media(max-width:780px){.topbar-actions{width:100%;justify-content:flex-start}.admin-login-btn{flex:1}.admin-session{flex:1;justify-content:space-between}}
