/* V10: precisely scoped adjustments. Unrelated pages, role menus, data and functions retained. */

/* 1. Compact forms in Admin ONLY. Do not affect school/committee/public pages. */
body.admin-body .admin-content .admin-panel {
  padding:16px 18px!important; margin-bottom:14px!important;
}
body.admin-body .admin-content .admin-panel h1{font-size:23px!important;line-height:1.35!important;}
body.admin-body .admin-content .admin-panel h2{font-size:20px!important;line-height:1.35!important;margin-bottom:10px;}
body.admin-body .admin-content .admin-panel h3{font-size:16px!important;line-height:1.4!important;}
body.admin-body .admin-content .admin-panel p:not(.notice-info):not(.notice-error){font-size:13px;line-height:1.6;}
body.admin-body .admin-content .admin-panel label{font-size:12.5px!important;line-height:1.45!important;margin-top:8px!important;margin-bottom:4px!important;}
body.admin-body .admin-content .admin-panel :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea),
body.admin-body .admin-content .admin-search :is(input,select),
body.admin-body .admin-content .sport-modal :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,textarea){
  font-size:13px!important; min-height:37px!important; padding:7px 10px!important;
  line-height:1.4!important; margin-top:3px;max-width:100%;
}
body.admin-body .admin-content .admin-panel textarea,
body.admin-body .admin-content .sport-modal textarea{min-height:78px!important;resize:vertical;}
body.admin-body .admin-content .admin-panel :is(.btn,button:not(.sport-facet-chip):not(.sport-filter)),
body.admin-body .admin-content .sport-modal .btn{
  font-size:12.5px!important;line-height:1.4!important;padding:8px 12px!important;
  min-height:36px!important;letter-spacing:0!important;
}
body.admin-body .admin-content .admin-form-grid{gap:9px!important;}
body.admin-body .admin-content .admin-panel :is(.admin-two-col,.admin-form-grid,.user-form-grid){row-gap:10px!important;}
body.admin-body .admin-content .admin-panel .muted{font-size:12px;line-height:1.5;}
/* Reduce bulky admin sports filters while keeping buttons readable */
body.admin-body .admin-content .sport-facet-panel{padding:10px 12px!important;}
body.admin-body .admin-content .sport-facet-buttons{gap:6px!important;}
body.admin-body .admin-content .sport-facet-chip{
  min-height:31px!important;padding:5px 10px!important;font-size:11.5px!important;
  border-radius:999px!important;
}
body.admin-body .admin-content .sport-directory-filters{padding:10px 12px!important;gap:7px!important;}
body.admin-body .admin-content .sport-directory-filters>.sport-filter{
  min-height:32px!important;padding:6px 10px!important;font-size:12px!important;
}

/* 3. Equal gutters and equal column widths on homepage competition dashboards. */
body.public-site.page-index .premium-home-main-grid.home-primary-dashboard-grid,
body.public-site.page-index .home-discovery-section .home-discovery-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:18px!important;row-gap:18px!important;
  width:100%!important;align-items:stretch!important;
}
body.public-site.page-index .home-primary-dashboard-grid > *,
body.public-site.page-index .home-discovery-grid > *{
  width:100%!important;min-width:0!important;max-width:none!important;
  box-sizing:border-box!important;margin-left:0!important;margin-right:0!important;
}
body.public-site.page-index .home-primary-dashboard-grid .premium-dashboard-card,
body.public-site.page-index .home-discovery-grid .home-discovery-card{
  height:100%!important;display:flex!important;flex-direction:column!important;
}
body.public-site.page-index .home-primary-dashboard-grid .premium-card-head,
body.public-site.page-index .home-discovery-grid .home-discovery-head{
  box-sizing:border-box!important;flex-shrink:0!important;
}
body.public-site.page-index .home-primary-dashboard-grid .home-live-score-board,
body.public-site.page-index .home-primary-dashboard-grid .live-now-list,
body.public-site.page-index .home-discovery-grid .home-discovery-empty,
body.public-site.page-index .home-discovery-grid .home-result-list,
body.public-site.page-index .home-discovery-grid .home-upcoming-list{
  flex:1 1 auto!important;min-width:0!important;
}

/* 4. Footer name: high contrast gold on navy, text only. */
body.public-site .site-footer .container > p{color:#ffdd66!important;}

/* 5. Sports-directory category buttons: exact same sizing and typography as age buttons. */
body.public-site .sport-facet-panel .sport-facet-buttons > .sport-facet-chip{
  box-sizing:border-box!important;min-height:39px!important;padding:8px 12px!important;
  font-size:13px!important;font-weight:700!important;line-height:1.35!important;
  border-radius:999px!important;gap:6px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  max-width:100%!important;
}
body.public-site .sport-facet-panel .sport-facet-buttons > .sport-facet-chip small{
  font-size:11.5px!important;line-height:1.35!important;
}
body.public-site .sport-facet-panel .sport-facet-buttons{gap:8px!important;margin-bottom:12px;}
body.public-site .sport-facet-panel .facet-heading{margin:11px 0 8px!important;}

/* 2. Replace bulky sports grid with four genuinely relevant registration steps. */
body.public-site.page-index .home-registration-guide-section{
  padding:40px 0 45px!important;background:transparent;
}
.home-reg-guide-intro{text-align:center;max-width:850px;margin:0 auto 26px;}
.home-reg-guide-intro>span{color:#11765c;font-size:11px;font-weight:850;letter-spacing:.15em;}
.home-reg-guide-intro>span i{color:#e2a33e;font-style:normal;margin:0 5px;}
.home-reg-guide-intro h2{font-size:clamp(23px,2.6vw,32px);line-height:1.28;margin:8px 0 8px;color:#143c37;}
.home-reg-guide-intro p{font-size:14px;color:#5f7284;line-height:1.65;margin:0;}
.home-reg-guide-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.3fr);gap:clamp(22px,4vw,70px);align-items:center;max-width:1150px;margin:0 auto;}
.home-reg-guide-visual{position:relative;display:grid;place-items:center;padding:16px 10px;}
.home-reg-guide-visual::before{content:"";position:absolute;inset:12% 4%;background:#e7f4ee;z-index:0;border-radius:38% 62% 50% 40%;transform:rotate(-7deg);}
.home-reg-guide-device{position:relative;width:min(100%,260px);aspect-ratio:260 / 344;border:10px solid #17362c;border-radius:36px;overflow:hidden;background:#fff;box-shadow:0 17px 35px rgba(25,57,51,.15);}
.home-reg-guide-device-top{height:23px;background:#17362c;display:flex;justify-content:center;align-items:start;position:relative;z-index:2;}
.home-reg-guide-device-top>span{display:block;width:58px;height:9px;background:#071e18;border-radius:0 0 10px 10px;}
.home-reg-guide-device img{display:block;width:100%;height:calc(100% - 23px);object-fit:cover;object-position:center top;background:white;}
.home-reg-guide-caption{position:relative;font-size:11px;color:#647986;margin-top:12px;}
.home-reg-guide-content{min-width:0;}
.home-reg-guide-steps{list-style:none;padding:0;margin:0;display:grid;gap:11px;}
.home-reg-guide-steps li{display:flex;gap:15px;align-items:flex-start;padding:14px 17px;border:1px solid #e0e9ee;border-radius:16px;background:#fff;box-shadow:0 4px 12px rgba(18,45,55,.025);}
.home-reg-step-number{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border:1px solid #cbded8;border-radius:50%;font-weight:850;font-size:13px;color:#0f775d;background:#eff8f4;}
.home-reg-guide-steps li strong{display:block;color:#153a4a;font-size:15px;line-height:1.4;margin:0 0 4px;}
.home-reg-guide-steps li p{margin:0;color:#63768a;font-size:12.5px;line-height:1.65;}
.home-reg-guide-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;}
.home-reg-guide-actions a{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:99px;padding:11px 18px;min-height:42px;text-decoration:none;font-size:13px;font-weight:750;}
.home-reg-guide-primary{background:#0e795e;color:#fff!important;box-shadow:0 8px 18px rgba(13,115,88,.15);}
.home-reg-guide-secondary{background:#fff;color:#16654f!important;border:1px solid #c7ded6;}
.home-reg-guide-actions a:hover{transform:translateY(-1px);}
.home-reg-guide-actions a:focus-visible{outline:3px solid #74c8a8;outline-offset:3px;}
@media(max-width:820px){
  body.public-site.page-index .premium-home-main-grid.home-primary-dashboard-grid,
  body.public-site.page-index .home-discovery-section .home-discovery-grid{grid-template-columns:1fr!important;row-gap:13px!important;}
  .home-reg-guide-layout{grid-template-columns:1fr;gap:15px;}
  .home-reg-guide-visual{padding:10px;}
  .home-reg-guide-device{width:min(100%,205px);aspect-ratio:205 / 276;border-width:8px;border-radius:29px;}
  .home-reg-guide-intro{margin-bottom:15px;}
}
@media(max-width:620px){
  body.public-site.page-index .home-registration-guide-section{padding:26px 0 31px!important;}
  .home-reg-guide-steps li{padding:12px;gap:11px;}
  .home-reg-step-number{width:33px;height:33px;flex-basis:33px;font-size:12px;}
  .home-reg-guide-steps li strong{font-size:14px;}
  .home-reg-guide-steps li p{font-size:12px;}
  .home-reg-guide-actions{flex-direction:column;}
  .home-reg-guide-actions a{width:100%;}
  body.public-site .sport-facet-panel .sport-facet-buttons > .sport-facet-chip{
    min-height:36px!important;padding:7px 10px!important;font-size:12px!important;
  }
  body.public-site .sport-facet-panel .sport-facet-buttons > .sport-facet-chip small{font-size:11px!important;}
  body.admin-body .admin-content .admin-panel{padding:13px!important;}
  body.admin-body .admin-content .admin-panel :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,textarea){min-height:40px!important;}
}
