/* Netball Intelligence Systems: look and feel of the original portal (violet/purple, slate, rounded white cards).
   Tailwind (CDN, preflight off) provides utility classes in index.html/app.js; this file styles the shared components. */
:root{--v5:#8b5cf6;--v6:#7c3aed;--v7:#6d28d9;--p8:#6b21a8;--s50:#f8fafc;--s100:#f1f5f9;--s200:#e2e8f0;--s300:#cbd5e1;--s400:#94a3b8;--s500:#64748b;--s600:#475569;--s700:#334155;--s900:#0f172a}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:var(--s50);color:var(--s900);line-height:1.5}
img{max-width:100%}
h1,h2,h3,h4{line-height:1.25}
a{color:var(--v6);text-decoration:none}a:hover{text-decoration:underline}
.hidden{display:none!important}
.muted{color:var(--s500)}.small{font-size:.75rem}.err{color:#dc2626;min-height:1em;font-size:.875rem}

/* buttons */
button{font:inherit;cursor:pointer;border:0;border-radius:.5rem;padding:.5rem .9rem;font-weight:600;font-size:.875rem;background:var(--v6);color:#fff;transition:background .15s,box-shadow .15s}
button:hover{background:var(--v7)}button:disabled{opacity:.5;cursor:default}
button.ghost{background:#fff;color:var(--s700);border:1px solid var(--s300)}button.ghost:hover{background:var(--s100)}
button.big{padding:.75rem 2rem;font-size:1rem;border-radius:.5rem}
button.big.outline{background:#fff;color:var(--v6);border:2px solid var(--v6)}button.big.outline:hover{background:#f5f3ff}
button.link{background:none;color:var(--v6);padding:0;font-weight:500}button.link:hover{text-decoration:underline;background:none}
footer button.link{color:#a78bfa}
button.hdr{background:rgba(255,255,255,.2);color:#fff;font-weight:500}button.hdr:hover{background:rgba(255,255,255,.3)}
button.hdr.solid{background:#fff;color:var(--v7)}button.hdr.solid:hover{background:#ede9fe}

/* header wordmark: navy type needs a white plate on the purple header */
.site-logo-wrap{
  background:#fff;
  border-radius:.75rem;
  padding:.35rem .7rem;
  line-height:0;
  min-width:0;
  max-width:100%;
}
.site-logo{
  display:block;
  height:52px;
  width:auto;
  max-width:100%;
  object-fit:contain;
}
.site-brand{display:flex;flex-direction:column;align-items:center;gap:.3rem;min-width:0;max-width:100%}
.site-subtitle{color:#fff;font-size:.8rem;font-weight:600;letter-spacing:.06em;line-height:1.2;opacity:.92;text-align:center}
@media (max-width:640px){.site-subtitle{font-size:.7rem}}
@media (max-width:640px){
  .site-logo{height:40px}
  .site-logo-wrap{padding:.28rem .5rem;border-radius:.6rem}
}
button.x{background:none;color:var(--s400);font-size:1.9rem;line-height:1;padding:0 .25rem;font-weight:400}button.x:hover{color:var(--s600);background:none}

/* landing feature cards */
.feature{padding:1.5rem;border-radius:.75rem;background:var(--s50)}
.feature .ico{color:var(--v6);font-size:1.5rem;margin-bottom:.75rem}
.feature h4{font-weight:600;margin:0 0 .5rem}.feature p{font-size:.875rem;color:var(--s600);margin:0}

/* tabs (pill nav like the original filter card) */
.tabs{display:flex;gap:.4rem;flex-wrap:wrap;background:#fff;border-radius:.75rem;box-shadow:0 1px 3px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06);padding:.5rem;margin-bottom:1.5rem}
.tab{background:transparent;color:var(--s600);font-weight:600}.tab:hover{background:var(--s100)}
.tab.active{background:var(--v6);color:#fff}
.tab small{font-weight:500;margin-left:.3rem;font-size:.65rem;padding:.08rem .45rem;border-radius:9999px;background:var(--s100);color:var(--s600)}
.tab.active small{background:rgba(255,255,255,.25);color:#fff}
.tab small.pro{background:#ede9fe;color:var(--v7)}
.tabs.sub{box-shadow:none;background:var(--s100);padding:.35rem;margin-bottom:1rem}
.stab{background:transparent;color:var(--s600);font-size:.8rem;font-weight:600;padding:.4rem .75rem}.stab:hover{background:#fff}
.stab.active{background:#fff;color:var(--v7);box-shadow:0 1px 2px rgba(0,0,0,.08)}

/* panels */
.panel{background:#fff;border-radius:.75rem;box-shadow:0 1px 3px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06);padding:1.5rem;overflow:auto}
.panel.bare{background:transparent;box-shadow:none;padding:0;overflow:visible}
.panel h3{font-size:1.1rem;font-weight:700;margin:1.25rem 0 .5rem}

/* form controls (original filter bar look) */
input,select,textarea{font:inherit;font-size:.875rem;color:var(--s900);background:#fff;border:1px solid var(--s300);border-radius:.5rem;padding:.5rem .75rem;outline:none}
input:focus,select:focus,textarea:focus{border-color:var(--v5);box-shadow:0 0 0 2px rgba(139,92,246,.45)}
input[type=checkbox]{padding:0;width:1rem;height:1rem;accent-color:var(--v6);vertical-align:middle}
.filters{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center;margin-bottom:1rem}
.filters.grid{display:grid;margin-bottom:0}
.filters.grid>*{min-width:0;width:100%}
label.chk{display:flex;align-items:center;gap:.4rem;font-size:.875rem;color:var(--s700)}
/* player list filters */
.filter-group{margin-top:.85rem}
.filter-heading{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--s500);margin:0 0 .45rem}
.filter-field{display:flex;flex-direction:column;gap:.25rem;min-width:0;margin:0}
.filter-field .fl, .range-field legend.fl{font-size:.7rem;font-weight:600;color:var(--s600);margin:0}
.range-field{border:0;padding:0;min-width:0}
.range-inputs{display:flex;align-items:center;gap:.4rem}
.range-inputs input{width:100%;min-width:0}
.range-sep{font-size:.75rem;color:var(--s500);flex-shrink:0}
.filter-check{padding-bottom:.15rem}
.filter-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem .9rem}
.multi{position:relative}
.multi>summary{list-style:none;font-size:.875rem;color:var(--s900);background:#fff;border:1px solid var(--s300);border-radius:.5rem;padding:.5rem .75rem;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.multi>summary::-webkit-details-marker{display:none}
.multi>summary::after{content:'▾';color:var(--s500);font-size:.7rem}
.multi[open]>summary{border-color:var(--v5);box-shadow:0 0 0 2px rgba(139,92,246,.45)}
.multi-list{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 4px);max-height:14rem;overflow:auto;background:#fff;border:1px solid var(--s300);border-radius:.5rem;box-shadow:0 10px 25px rgba(0,0,0,.12);padding:.35rem}
.multi-list label{display:flex;align-items:center;gap:.45rem;margin:0;padding:.35rem .45rem;border-radius:.35rem;font-size:.8rem;color:var(--s700);font-weight:500;cursor:pointer}
.multi-list label:hover{background:var(--s50)}
@media(max-width:639px){
  .multi-list{max-height:12rem}
}

/* player cards (original .player-card) */
.player-card{transition:all .2s ease}
.player-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(0,0,0,.12)}
.rating{font-weight:700}
.badge{display:inline-block;font-size:.65rem;font-weight:500;padding:.12rem .45rem;border-radius:9999px;background:var(--s100);color:var(--s700);margin:0 .15rem .15rem 0;vertical-align:middle}
.badge.intl-senior-international{background:#dbeafe;color:#1d4ed8}
.badge.intl-age-group-international{background:#e0e7ff;color:#4338ca}
.badge.intl-unverified{background:var(--s100);color:var(--s500)}
.badge.intl-none{background:var(--s100);color:var(--s500)}
.badge.legend{display:inline-flex;align-items:center;gap:.2rem;background:#fef3c7;color:#92400e;font-weight:600;flex-shrink:0;white-space:nowrap}
.badge.legend .legend-star{display:block;flex-shrink:0}

/* tables (admin, stats, analytics) */
table.grid{display:table;width:100%;border-collapse:separate;border-spacing:0;font-size:.85rem;background:#fff;border:1px solid var(--s200);border-radius:.75rem;overflow:hidden}
table.grid th,table.grid td{text-align:left;padding:.55rem .7rem;border-bottom:1px solid var(--s100);vertical-align:top}
table.grid th{background:var(--s50);color:var(--s500);font-weight:600;font-size:.7rem;text-transform:uppercase;letter-spacing:.03em}
table.grid tr:last-child td{border-bottom:0}
table.grid tbody tr:hover td,table.grid tr:hover td{background:#faf5ff}
table.grid.small{font-size:.75rem}
td.num{text-align:right;font-variant-numeric:tabular-nums}
.bar{display:inline-block;height:8px;background:var(--v5);border-radius:4px;vertical-align:middle;margin-right:4px}

/* labels: source type, estimate, calculated */
.conf{display:inline-block;border-radius:9999px;padding:.05rem .45rem;font-size:.65rem;font-weight:500;margin-left:.25rem;background:var(--s100);color:var(--s600)}
.conf.official{background:#dcfce7;color:#15803d}.conf.media{background:#ede9fe;color:var(--v7)}.conf.wikipedia{background:#e0f2fe;color:#0369a1}
.est{display:inline-block;border:1px dashed #d97706;color:#b45309;background:#fffbeb;border-radius:9999px;padding:0 .45rem;font-size:.65rem;font-weight:600;margin-left:.25rem}
.calc{display:inline-block;border:1px solid #0d9488;color:#0f766e;border-radius:9999px;padding:0 .4rem;font-size:.6rem}

/* profile modal sections (original bg-slate-50 / bg-violet-50 boxes) */
.layer{background:var(--s50);border-radius:.75rem;padding:1rem;margin:0 0 .75rem}
.layer h4{margin:0 0 .5rem;font-size:.9rem;font-weight:600}
.layer ul{margin:.25rem 0 0;padding-left:1.1rem}.layer li{margin:.2rem 0;font-size:.875rem}
.layer p{margin:.25rem 0}
.layer.overview p{line-height:1.55;font-size:.95rem}
.layer.overview .overview-intro{line-height:1.55;font-size:.95rem;margin:0 0 .75rem}
.layer.overview .overview-block{margin:.75rem 0 0}
.layer.overview .overview-block h5{margin:0 0 .25rem;font-size:.8rem;font-weight:600;color:var(--s600)}
.layer.overview .overview-block p{margin:0}
.tile{background:var(--s50);border-radius:.5rem;padding:.75rem}
.tile .tl{font-size:.75rem;color:var(--s500)}.tile .tv{font-size:1.5rem;font-weight:700;line-height:1.3}
.locked{text-align:center;padding:2.5rem 1rem;background:#f5f3ff;border-radius:.75rem;margin:.75rem 0}
.locked h3{margin:0 0 .5rem;font-size:1.15rem;font-weight:700;color:var(--v7)}

/* member profile cards */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:1rem}
.card{background:#fff;border:1px solid var(--s200);border-radius:.75rem;padding:1rem;box-shadow:0 1px 2px rgba(0,0,0,.05);transition:all .2s ease}
.card:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(0,0,0,.12)}
.card h4{margin:0 0 .25rem;font-weight:700}.card ul{padding-left:1.1rem;margin:.5rem 0 0;font-size:.8rem}

/* dialogs (original modal: white rounded-2xl on a 50% black backdrop) */
dialog{border:0;border-radius:1rem;padding:1.5rem;width:min(440px,94vw);max-height:92vh;overflow-y:auto;color:var(--s900);background:#fff;box-shadow:0 25px 50px -12px rgba(0,0,0,.35)}
dialog::backdrop{background:rgba(0,0,0,.5)}
dialog.wide{width:min(56rem,96vw)}
dialog.auth{width:min(28rem,94vw);padding:2rem}
dialog label{display:block;margin:.75rem 0;font-size:.875rem;color:var(--s700)}
dialog label input:not([type=checkbox]){display:block;width:100%;margin-top:.3rem;padding:.75rem 1rem}
dialog label.chk{display:flex}
.row{display:flex;gap:.5rem;margin-top:.75rem}
.text-center{text-align:center}

/* banners and admin bits */
.banner{max-width:80rem;margin:1rem auto 0;padding:.75rem 1rem;border-radius:.75rem;background:#f5f3ff;color:var(--v7);border:1px solid #ddd6fe}
.banner.warn{background:#fffbeb;color:#92400e;border-color:#fde68a}
.entry label{display:block;margin:.5rem 0;font-size:.875rem;color:var(--s700)}
.entry textarea,.entry input,.entry select{display:block;width:100%;max-width:640px;margin-top:.25rem}
.qa{display:flex;gap:4px;flex-wrap:wrap}
details summary{cursor:pointer;color:var(--v6)}
code{background:var(--s100);border-radius:.25rem;padding:0 .3rem;font-size:.75rem}
footer{line-height:1.8}
dialog label.consent{display:block;font-size:.85rem}
dialog label.consent input{margin-right:.4rem}
/* Court-shaped positional heat map (classic heat palette) */
.heat-wrap{display:flex;flex-direction:column;align-items:center;gap:.5rem;width:100%;max-width:22rem;margin:0 auto}
.heat{position:relative;width:100%;max-width:224px;aspect-ratio:11/20;margin:0 auto;background:#f8fafc;border:2px solid #64748b;border-radius:3px;box-sizing:border-box;overflow:hidden}
.heat::before,.heat::after{content:"";position:absolute;left:50%;width:64%;aspect-ratio:1;border:2px solid #64748b;border-radius:50%;box-sizing:border-box;pointer-events:none;z-index:0}
.heat::before{top:0;transform:translate(-50%,-50%)}
.heat::after{bottom:0;transform:translate(-50%,50%)}
.heat-court{position:relative;z-index:1;display:flex;flex-direction:column;height:100%}
.heat-third{flex:1 1 0;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;padding:.35rem .4rem;min-height:0}
.heat-third + .heat-third{border-top:2px solid #64748b}
.heat-row{display:flex;justify-content:space-between;align-items:center;width:100%;gap:.4rem;padding:0 .15rem}
.heat-zone{position:relative;z-index:1;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;letter-spacing:.02em;line-height:1;min-height:1.65rem;padding:.2rem .3rem;box-sizing:border-box;border:1px solid transparent}
.heat-gs,.heat-gk{width:44%}
.heat-c{width:46%}
.heat-row .heat-zone{flex:1 1 0;max-width:46%}
.heat-zone.high,.heat-swatch.high{background:#b91c1c;color:#fff}
.heat-zone.med,.heat-swatch.med{background:#f97316;color:#1f2937}
.heat-zone.low,.heat-swatch.low{background:#facc15;color:#1f2937}
.heat-zone.none,.heat-swatch.none{background:#fff;color:#475569;border-color:#64748b}
.heat-key{list-style:none;margin:.15rem 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:.35rem .7rem;font-size:.72rem;color:#334155}
.heat-key li{display:inline-flex;align-items:center;gap:.3rem}
.heat-swatch{display:inline-block;width:.85rem;height:.85rem;border-radius:2px;border:1px solid transparent;box-sizing:border-box;flex:0 0 auto}
.heat-swatch.none{border-color:#64748b}
.heat-desc{font-size:.8rem;color:var(--s600);text-align:center;max-width:22rem;margin:.15rem auto 0}
@media(min-width:640px){.heat{max-width:240px}.heat-zone{font-size:.75rem;min-height:1.8rem}}

/* List search on every section that lists items */
.section-search{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.75rem;margin:0 0 1rem}
.section-search .filter-field{flex:1 1 16rem;max-width:28rem}
.section-search input[type=search]{width:100%;min-width:0}
.search-hide{display:none !important}
@media (max-width:640px){
  .section-search .filter-field{flex:1 1 100%;max-width:none}
}
/* ---- accessibility, compare, clubs, shortlist ---- */
.skip-link{position:absolute;left:-999px;top:.5rem;z-index:100;background:#fff;color:var(--v7);padding:.5rem .9rem;border-radius:.5rem;font-weight:600}
.skip-link:focus{left:.5rem}
:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}
.player-card:focus-visible,.club-card:focus-visible{outline:3px solid #f59e0b;outline-offset:3px}
.card-actions{display:flex;gap:.4rem;margin-top:.6rem;flex-wrap:wrap}
.icon-btn{background:#fff;border:1px solid var(--s200,#e2e8f0);color:var(--s600);padding:.3rem .6rem;border-radius:9999px;font-size:.75rem;font-weight:600;display:inline-flex;align-items:center;gap:.3rem;cursor:pointer}
.icon-btn:hover{background:var(--s100)}
.icon-btn[aria-pressed="true"].star{background:#fef3c7;border-color:#f59e0b;color:#92400e}
.icon-btn[aria-pressed="true"].cmp{background:#ede9fe;border-color:#8b5cf6;color:#5b21b6}
.compare-tray{position:fixed;left:0;right:0;bottom:0;z-index:40;background:#1e1b4b;color:#fff;box-shadow:0 -6px 20px rgba(0,0,0,.25)}
.compare-tray .chip{background:rgba(255,255,255,.14);border-radius:9999px;padding:.25rem .4rem .25rem .75rem;font-size:.8rem;display:inline-flex;align-items:center;gap:.35rem}
.compare-tray .chip button{background:transparent;color:#fff;padding:0 .35rem;font-size:1rem;line-height:1}
.ghost.light{color:#fff;border-color:rgba(255,255,255,.5);background:transparent}
dialog.xwide{width:min(72rem,97vw)}
.cmp-grid{display:grid;gap:1rem;grid-template-columns:repeat(var(--cols,2),minmax(0,1fr))}
@media(max-width:767px){.cmp-grid{grid-template-columns:1fr}}
.cmp-col{background:var(--s50,#f8fafc);border-radius:.75rem;padding:1rem;min-width:0}
.cmp-col dl{display:grid;grid-template-columns:auto 1fr;gap:.25rem .75rem;font-size:.875rem;margin:.5rem 0}
.cmp-col dt{color:var(--s500,#64748b)}.cmp-col dd{margin:0;font-weight:600}
.club-card{cursor:pointer;border:1px solid #e2e8f0;border-radius:.75rem;padding:.85rem 1rem;background:#fff;transition:all .15s ease}
.club-card:hover{border-color:#a78bfa;box-shadow:0 6px 16px rgba(0,0,0,.08)}
.roster{width:100%;border-collapse:collapse;font-size:.875rem}
.roster th,.roster td{text-align:left;padding:.45rem .5rem;border-bottom:1px solid #f1f5f9}
.club-link{color:var(--v7);text-decoration:underline;background:none;padding:0;font-weight:inherit}
.hc-tile{background:#fff;border-radius:.75rem;padding:1rem;box-shadow:0 1px 3px rgba(0,0,0,.08)}
/* collapsible filter panel on phones */
.filter-toggle{display:none}
@media(max-width:767px){
  .filter-toggle{display:inline-flex;align-items:center;gap:.4rem}
  #playerFilters.collapsible:not(.open){display:none}
  #playerFilters .filters{grid-template-columns:1fr !important}
  #playerFilters .filter-group{padding-top:.5rem}
  .filter-actions{flex-direction:column;align-items:flex-start}
  body.has-tray{padding-bottom:7rem}
}
body.has-tray{padding-bottom:4.5rem}
@media(prefers-reduced-motion:reduce){.player-card,.club-card{transition:none}.player-card:hover{transform:none}}
[tabindex="-1"]:focus{outline:none}

/* header fix: fixed-width wordmark, no wrapping on desktop */
.site-logo{width:228px;height:auto;max-width:100%}
.site-brand{flex:0 0 auto}
@media (min-width:768px){header>div{flex-wrap:nowrap}header nav{flex-wrap:nowrap;flex-shrink:0}}
@media (max-width:640px){.site-logo{width:176px}}

/* National Premier League listing on the clubs view */
.npl-block{margin:0 0 1.25rem;padding:1rem 1rem 1.1rem;border:1px solid #e2e8f0;border-radius:.9rem;background:#f8fafc}
.npl-intro{font-size:.9rem;color:#475569;margin:.35rem 0 0}
.npl-divisions{display:grid;gap:1rem;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:.9rem}
@media(max-width:900px){.npl-divisions{grid-template-columns:1fr}}
.npl-division h4{margin:0 0 .6rem;font-size:1rem}
.npl-division .npl-sub{font-size:.75rem;color:#64748b;font-weight:500;margin-left:.3rem}
.npl-team{border:1px solid #e2e8f0;border-radius:.75rem;padding:.7rem .85rem;background:#fff;margin:0 0 .45rem}
.npl-team:last-child{margin-bottom:0}
.npl-team[role="button"]{cursor:pointer;transition:all .15s ease}
.npl-team[role="button"]:hover{border-color:#a78bfa;box-shadow:0 6px 16px rgba(0,0,0,.08)}
.npl-team[role="button"]:focus-visible{outline:3px solid #f59e0b;outline-offset:3px}
.npl-region{font-size:.75rem;color:#64748b;margin-top:.15rem}
.npl-link-hint{font-size:.75rem;color:#6d28d9;margin-top:.2rem}
@media(prefers-reduced-motion:reduce){.npl-team[role="button"]{transition:none}}
/* Heat map zones as circles (positions on court) */
.heat-zone,.heat-gs,.heat-gk,.heat-c,.heat-row .heat-zone{flex:0 0 auto;width:2.6rem;max-width:none;height:auto;aspect-ratio:1;min-height:0;padding:0;border-radius:50%}
.heat-row{justify-content:space-around}
.heat-swatch{border-radius:50%}
@media(min-width:640px){.heat-zone,.heat-gs,.heat-gk,.heat-c,.heat-row .heat-zone{width:2.8rem}}

/* Club page league and division header */
.club-leagues{display:flex;flex-wrap:wrap;gap:.35rem;margin:.45rem 0 .3rem}
.club-league-line{display:inline-block;margin:0;font-size:.85rem;font-weight:600;line-height:1.35;padding:.28rem .75rem;border-radius:9999px;background:#eef2ff;color:#3730a3;border:1px solid #c7d2fe}
.club-card .club-leagues{margin:.25rem 0 0}
.club-card .club-league-line{font-size:.75rem;font-weight:600;padding:.15rem .55rem}
/* phone header: brand left, auth buttons right-aligned (wrap to second line if needed) */
@media (max-width:767px){header nav{margin-left:auto;justify-content:flex-end}}

/* Activity status badges on profiles, cards and club rosters */
.badge.activity{font-weight:600;flex-shrink:0;white-space:nowrap}
.badge.activity-inactive{background:#fde8e4;color:#9a3412}
.badge.activity-no-current-first-team-trace{background:#f1f5f9;color:#334155}
.badge.activity-not-in-2027-squad{background:#eef2ff;color:#3730a3}

/* umpires directory */
.umpire-card { display:block; text-decoration:none; color:inherit; background:#fff; border:1px solid var(--line, #e2e8f0); border-radius:0.85rem; padding:1rem 1.1rem; transition: box-shadow .15s, border-color .15s; }
.umpire-card:hover { border-color:#7c3aed; box-shadow: 0 6px 18px rgba(88,28,135,.08); }
.umpire-card h3 { margin:0 0 .25rem; font-size:1.05rem; }
.umpire-card .muted { margin:0; }
.umpire-back { margin-bottom: 1rem; }
.umpire-profile { background:#fff; border-radius:0.85rem; padding:1.25rem 1.5rem; box-shadow: 0 1px 3px rgba(15,23,42,.06); }
.umpire-profile h2 { margin-top:0; }
.umpire-profile .meta { display:flex; flex-wrap:wrap; gap:.5rem 1.25rem; margin: .75rem 0 1rem; }
.umpire-profile .meta dt { font-size:.75rem; text-transform:uppercase; letter-spacing:.04em; color:#64748b; margin:0; }
.umpire-profile .meta dd { margin:0; font-weight:600; }
.umpire-profile .accolades, .umpire-profile .highlights { margin-top:1.25rem; }
.umpire-profile .accolades h3, .umpire-profile .highlights h3 { margin:0 0 .5rem; font-size:1rem; }
.umpire-profile .accolades ul, .umpire-profile .highlights ul { margin:0; padding-left:1.1rem; }
.umpire-profile .accolades li, .umpire-profile .highlights li { margin:.3rem 0; }

/* header / footer link for the public submissions page */
a.hdr{background:rgba(255,255,255,.2);color:#fff;font-weight:500;padding:.5rem .9rem;border-radius:.5rem;display:inline-flex;align-items:center;text-decoration:none;font-size:.875rem}
a.hdr:hover{background:rgba(255,255,255,.3);text-decoration:none}
a.hdr.solid{background:#fff;color:var(--v7)}a.hdr.solid:hover{background:#ede9fe}
a.footer-link{color:#a78bfa;text-decoration:none}a.footer-link:hover{text-decoration:underline}

/* Submit player details form */
.submit-form fieldset{border:0;margin:0 0 1.4rem;padding:0}
.submit-form legend{font-weight:700;font-size:1.05rem;margin:0 0 .75rem;color:var(--s900)}
.submit-form label{display:block;margin:.75rem 0;font-size:.875rem;color:var(--s700);font-weight:500}
.submit-form label input:not([type=checkbox]):not([type=radio]),
.submit-form label textarea{display:block;width:100%;margin-top:.3rem;font-weight:400}
.submit-form .hint{display:block;margin-top:.25rem;font-size:.75rem;color:var(--s500);font-weight:400}
.submit-form .label-like{font-size:.875rem;font-weight:500;color:var(--s700);margin:.5rem 0 .35rem}
.submit-form .choice-row{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;margin:.25rem 0 .75rem}
.submit-form label.consent{display:block;font-size:.85rem;font-weight:400;line-height:1.45}
.submit-form label.consent input{margin-right:.4rem}
.submit-form label.chk{display:inline-flex;align-items:center;gap:.4rem;margin:.2rem 0;font-weight:400}
.guardian-block{margin:0 0 1.4rem;padding:1rem 1.1rem;border:1px solid var(--s200);border-radius:.75rem;background:var(--s50)}
.sig-wrap canvas{display:block;width:100%;max-width:100%;height:180px;background:#fff;border:1px solid var(--s300);border-radius:.5rem;touch-action:none;cursor:crosshair}
.sig-preview{display:block;max-width:20rem;width:100%;background:#fff;border:1px solid var(--s200);border-radius:.5rem;margin:.35rem 0}

/* Admin submissions review */
.submission-card{border:1px solid var(--s200);border-radius:.85rem;padding:1rem 1.15rem;margin:0 0 1rem;background:#fff}
.submission-card h3{font-size:1.05rem}
.submission-card h4{margin:.4rem 0 .35rem;font-size:.9rem}
.submission-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:.5rem 1rem;margin:.75rem 0}
.submission-meta dt{font-size:.7rem;text-transform:uppercase;letter-spacing:.04em;color:var(--s500);margin:0}
.submission-meta dd{margin:0;font-weight:600}
.submission-block{margin:.75rem 0;padding:.75rem .9rem;background:var(--s50);border-radius:.6rem}
.sub-review label{display:block;margin:.5rem 0;font-size:.875rem;color:var(--s700)}
.sub-review select,.sub-review textarea{display:block;width:100%;max-width:36rem;margin-top:.25rem}
.badge.sub-status{font-weight:600}
.badge.sub-new{background:#ede9fe;color:#5b21b6}
.badge.sub-in-review{background:#dbeafe;color:#1d4ed8}
.badge.sub-approved-not-published{background:#dcfce7;color:#166534}
.badge.sub-declined{background:#fee2e2;color:#991b1b}
@media (max-width:640px){
  a.hdr.nav-submit{padding:.4rem .65rem;font-size:.75rem}
}
