/* The public website (scripts/Public.Master, App_Code/PublicSite.cs). Rising's navy and baby blue, a condensed
   display face for headings over Open Sans, as the portal's public pages use. */
:root {
    --navy: #0B1736; --navy-2: #15284F; --navy-3: #1E3566; --blue: #A8C5E8; --blue-deep: #35538F; --ice: #EEF4FB;
    --bg: #f4f6f9; --text: #1b2333; --muted: #5f6b7c; --line: #dfe5ee; --card: #fff; --gold: #E7B93C;
    --display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
    --body: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--blue-deep); }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; line-height: 1.02; margin: 0; letter-spacing: .3px; text-wrap: balance; }
p { text-wrap: pretty; }
.pub-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.pub-skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--navy); padding: 10px 14px; z-index: 100; }
.pub-skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---- top bar: scripts/public-nav.css ---- */

/* ---- buttons, eyebrows, section heads ---- */
.pub-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: .8px; text-decoration: none; border: 2px solid transparent; }
.pub-btn-go { background: var(--blue); color: var(--navy); }
.pub-btn-go:hover { background: #fff; }
.pub-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.pub-btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.pub-btn-navy { background: var(--navy); color: #fff; }
.pub-btn-navy:hover { background: var(--navy-3); }
.pub-eyebrow { display: block; font-size: 12px; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 10px; }
.pub-dark .pub-eyebrow, .pub-hero .pub-eyebrow, .pub-pagehead .pub-eyebrow { color: var(--blue); }
.pub-section { padding: 72px 0; }
.pub-section.pub-dark { background: var(--navy); color: #fff; }
.pub-section h2 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; color: var(--navy); }
.pub-dark h2 { color: #fff; }
.pub-lede { font-size: 17px; color: var(--muted); max-width: 640px; margin: 12px 0 0; }
.pub-dark .pub-lede { color: #c5d3e8; }
.pub-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.pub-more { font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .8px; text-decoration: none; color: var(--blue-deep); white-space: nowrap; }
.pub-dark .pub-more { color: var(--blue); }
.pub-more:hover { text-decoration: underline; }
.pub-empty { color: var(--muted); padding: 30px 0; }
.pub-dark .pub-empty { color: #c5d3e8; }

/* ---- home hero ---- */
.pub-hero { position: relative; background: var(--navy) url(/images/public/hero-champions.jpg) center 22%/cover no-repeat; color: #fff; overflow: hidden; box-shadow: 0 1px 0 var(--navy); }   /* the shadow covers the hairline a fractional height leaves at its foot */
.pub-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 23, 54, .97) 0%, rgba(11, 23, 54, .94) 46%, rgba(11, 23, 54, .72) 62%, rgba(11, 23, 54, .3) 100%), linear-gradient(0deg, var(--navy) 0%, rgba(11, 23, 54, 0) 45%); }   /* the left scrim holds under the whole headline (the ball's lettering showed through beside it); the foot fades to the next section's navy with no seam */
.pub-hero .pub-wrap { position: relative; padding-top: 84px; padding-bottom: 64px; }
.pub-hero h1 { font-size: clamp(54px, 10vw, 112px); font-weight: 800; letter-spacing: -.5px; max-width: 760px; }
.pub-hero h1 em { display: block; font-style: normal; color: var(--blue); }   /* its own line at every width: a tablet split it after its first word */
/* the honours: two credits under the headline, side by side with a hairline between them. No box: boxed, they read
   as buttons above the real ones. The title in the display face, its year and age group beneath. */
.pub-honors { display: flex; flex-wrap: wrap; gap: 14px 0; list-style: none; margin: 24px 0 0; padding: 0; }
.pub-honors li { padding: 2px 28px; border-left: 1px solid rgba(168, 197, 232, .35); }
.pub-honors li:first-child { padding-left: 0; border-left: 0; }
.pub-honors b { display: block; font-family: var(--display); font-weight: 700; font-size: 21px; text-transform: uppercase; letter-spacing: .6px; line-height: 1.1; color: #fff; }
.pub-honors small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue); margin-top: 3px; }
@media (max-width: 575.98px) {
    .pub-honors { flex-direction: column; gap: 0; margin-top: 20px; }
    .pub-honors li { padding: 12px 0 0; margin-top: 12px; border-left: 0; border-top: 1px solid rgba(168, 197, 232, .3); }
    .pub-honors li:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
    .pub-honors b { font-size: 19px; }
}
.pub-hero p { font-size: 18px; color: #dbe6f5; max-width: 560px; margin: 22px 0 28px; }
.pub-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pub-stats { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 60px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(168, 197, 232, .3); list-style: none; width: fit-content; max-width: 100%; }   /* the rule is as wide as the numbers, not a line running on across the photo */
.pub-stats b { display: block; font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; color: #fff; }
.pub-stats span { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue); }

@media (max-width: 575.98px) {
    .pub-hero .pub-wrap { padding-top: 52px; padding-bottom: 44px; }
    .pub-hero .pub-eyebrow { font-size: 11px; letter-spacing: 1px; gap: 8px; }
    .pub-hero p { font-size: 17px; }
    .pub-actions .pub-btn { flex: 1 1 auto; justify-content: center; }
    .pub-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; width: 100%; }
    .pub-stats b { font-size: 38px; } .pub-stats span { display: block; font-size: 10px; letter-spacing: 1.2px; line-height: 1.35; margin-top: 4px; }
    .pub-pagehead { padding: 40px 0 36px; }
    .pub-pagehead::after { width: 220px; height: 220px; right: -70px; top: -30px; }
}

/* ---- inner page head ---- */
.pub-pagehead { background: var(--navy); color: #fff; padding: 54px 0 46px; position: relative; overflow: hidden; }
.pub-pagehead::after { content: ""; position: absolute; right: -60px; top: -40px; width: 380px; height: 380px; background: url(/images/r.png) center/contain no-repeat; opacity: .07; pointer-events: none; }
.pub-pagehead h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 800; }
.pub-pagehead p { color: #c5d3e8; font-size: 17px; max-width: 640px; margin: 12px 0 0; }
.pub-pagehead p a { color: var(--blue); }
.pub-pagehead .pub-stats { margin-top: 30px; }

/* ---- Past / Present / Future ---- */
.pub-journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pub-jcard { position: relative; display: flex; flex-direction: column; background: var(--navy-2); border: 1px solid rgba(168, 197, 232, .22); border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; transition: transform .2s, border-color .2s; }
a.pub-jcard:hover { transform: translateY(-4px); border-color: var(--blue); }
.pub-jtop { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 16px 20px 12px; }
.pub-jtop b { font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; letter-spacing: 1px; line-height: 1; }
.pub-jtop span { white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue); text-align: right; }
.pub-jcard.past .pub-jtop b { color: #fff; } .pub-jcard.present .pub-jtop b { color: var(--blue); } .pub-jcard.future .pub-jtop b { color: var(--gold); }
.pub-jphoto { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--navy-3), var(--navy)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pub-jphoto img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.pub-jphoto .pub-initials { font-family: var(--display); font-weight: 800; font-size: 120px; color: rgba(168, 197, 232, .5); }
.pub-jphoto::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, rgba(11, 23, 54, .92), rgba(11, 23, 54, 0)); }
.pub-jname { position: absolute; left: 20px; right: 20px; bottom: 14px; z-index: 1; }
.pub-jname h3 { font-size: 34px; font-weight: 800; }
.pub-jname small { display: block; font-size: 13px; font-weight: 600; color: #dbe6f5; margin-top: 4px; }
.pub-jfoot { display: flex; align-items: center; gap: 14px; padding: 16px 20px 18px; min-height: 92px; }
.pub-jlogo { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 7px; }
.pub-jlogo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pub-jlogo i, .pub-jlogo svg { color: var(--navy); font-size: 26px; }
.pub-school-initials { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--navy); }
.pub-jfoot div { min-width: 0; }
.pub-jfoot small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue); }
.pub-jfoot strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.pub-jfoot em { display: block; font-style: normal; font-size: 13px; font-weight: 600; color: var(--blue); margin-top: 2px; white-space: nowrap; }
/* a tablet keeps the three side by side, set a little smaller; a phone stacks them */
@media (min-width: 640px) and (max-width: 899.98px) {
    .pub-journey { gap: 14px; }
    .pub-jtop { padding: 14px 14px 10px; } .pub-jtop b { font-size: 26px; } .pub-jtop span { font-size: 10px; letter-spacing: 1px; }
    .pub-jname { left: 14px; right: 14px; } .pub-jname h3 { font-size: 26px; } .pub-jname small { font-size: 12px; }
    .pub-jphoto .pub-initials { font-size: 84px; }
    .pub-jfoot { gap: 10px; padding: 14px; min-height: 84px; } .pub-jfoot strong { font-size: 15px; } .pub-jfoot em { font-size: 12px; }
    .pub-jlogo { flex-basis: 48px; width: 48px; height: 48px; padding: 6px; }
}
@media (max-width: 639.98px) { .pub-journey { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ---- college logo scroller ---- */
.pub-marquee-sec { background: #fff; padding: 46px 0 50px; border-bottom: 1px solid var(--line); }
.pub-marquee-sec h2 { font-size: 15px; font-family: var(--body); font-weight: 800; letter-spacing: 2.4px; line-height: 1.4; text-align: center; color: var(--muted); margin-bottom: 26px; padding: 0 20px; }
@media (max-width: 575.98px) { .pub-marquee-sec h2 { font-size: 13px; letter-spacing: 1.6px; } }
.pub-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pub-track { display: flex; width: max-content; animation: pub-scroll var(--pub-dur, 60s) linear infinite; }
.pub-marquee:hover .pub-track, .pub-marquee:focus-within .pub-track { animation-play-state: paused; }
.pub-track span { flex: 0 0 auto; width: 132px; height: 84px; display: flex; align-items: center; justify-content: center; padding: 0 22px; }
.pub-track img { max-width: 100%; max-height: 68px; object-fit: contain; }
@keyframes pub-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pub-track { animation: none; } .pub-marquee { overflow-x: auto; } html { scroll-behavior: auto; } }

/* ---- about split ---- */
.pub-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pub-split img { width: 100%; border-radius: 18px; display: block; box-shadow: 0 18px 44px rgba(11, 23, 54, .22); }
.pub-split p { font-size: 16px; color: var(--muted); margin: 16px 0 0; }
.pub-split .pub-btn { margin-top: 24px; }
/* stacked, the photo is a band across the page, not a screen of its own */
@media (max-width: 899.98px) { .pub-split { grid-template-columns: 1fr; gap: 28px; } .pub-split img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center 40%; } }

/* ---- team tiles ---- */
.pub-agehead { display: flex; align-items: center; gap: 14px; margin: 38px 0 16px; }
.pub-agehead:first-child { margin-top: 0; }
.pub-agehead h2, .pub-agehead h3 { font-size: 34px; font-weight: 800; color: var(--navy); }
.pub-agehead::after { content: ""; flex: 1; height: 2px; background: var(--line); }
/* the Teams page's filters (?state=, ?age=): a row of chips for the states, one for the age groups */
.pub-chips { display: flex; flex-direction: column; gap: 10px; margin: 0 0 24px; }
.pub-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pub-chip { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--navy); font-family: var(--display); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .5px; text-decoration: none; line-height: 1.2; }
.pub-chip:hover { border-color: var(--blue-deep); }
.pub-chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pub-teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 16px; }
.pub-team { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-decoration: none; color: inherit; transition: box-shadow .2s, border-color .2s; }
.pub-team:hover { border-color: var(--blue-deep); box-shadow: 0 8px 22px rgba(11, 23, 54, .12); }
.pub-team .logo { flex: 0 0 58px; width: 58px; height: 58px; border-radius: 12px; background: var(--navy); display: flex; align-items: center; justify-content: center; padding: 8px; }
.pub-team .logo.own { background: #fff; border: 1px solid var(--line); }
.pub-team .logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pub-team .info { min-width: 0; flex: 1; }
.pub-team h3, .pub-team .name { font-family: var(--display); font-size: 24px; font-weight: 800; text-transform: uppercase; color: var(--navy); line-height: 1.05; overflow-wrap: anywhere; }
.pub-team .sub { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
/* the record reads on in the coach's line, after a dot: set apart at the tile's corner it floated below that line */
.pub-team .sub .rec { font-weight: 700; color: var(--navy); white-space: nowrap; }
.pub-team .sub .rec::before { content: "\b7"; margin: 0 6px; font-weight: 400; color: var(--muted); }
.pub-team .sub .rec:first-child::before { content: none; }

/* ---- where are they now ---- */
.pub-years { position: sticky; top: 68px; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.pub-years .pub-wrap { display: flex; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.pub-years .pub-wrap::-webkit-scrollbar { display: none; }
.pub-years a { flex: 0 0 auto; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--navy); text-decoration: none; padding: 6px 14px; border-radius: 999px; background: var(--ice); }
.pub-years a:hover { background: var(--navy); color: #fff; }
.pub-years input { flex: 1 0 180px; max-width: 300px; margin-left: auto; min-height: 40px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; font: inherit; font-size: 14px; }
@media (max-width: 575.98px) {
    .pub-years { position: static; }
    .pub-years .pub-wrap { flex-wrap: wrap; overflow: visible; padding-top: 12px; padding-bottom: 12px; }
    .pub-years input { order: -1; flex: 1 0 100%; max-width: none; margin: 0 0 4px; min-height: 44px; font-size: 16px; }
}
.pub-class { padding: 44px 0 6px; }
@media (min-width: 576px) { .pub-class { scroll-margin-top: 62px; } }
.pub-class-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.pub-class-head h2 { font-size: 46px; font-weight: 800; color: var(--navy); }
.pub-class-head span { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.pub-class-head::after { content: ""; flex: 1; height: 2px; background: var(--line); align-self: center; }
.pub-commits { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.pub-commit { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
a.pub-commit:hover { box-shadow: 0 10px 24px rgba(11, 23, 54, .14); transform: translateY(-3px); }
.pub-commit .ph { position: relative; aspect-ratio: 1; background: linear-gradient(160deg, var(--navy-3), var(--navy)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pub-commit .ph > img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.pub-commit .pub-initials { font-family: var(--display); font-weight: 800; font-size: 64px; color: rgba(168, 197, 232, .5); }
.pub-commit .tag { position: absolute; left: 10px; top: 10px; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; background: var(--blue); color: var(--navy); border-radius: 999px; padding: 3px 9px; }
.pub-commit .lg { position: absolute; right: 10px; bottom: 10px; width: 54px; height: 54px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 6px; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.pub-commit .lg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pub-commit .tx { padding: 12px 14px 14px; }
.pub-commit .nm { font-family: var(--display); font-weight: 800; font-size: 23px; text-transform: uppercase; color: var(--navy); line-height: 1.05; overflow-wrap: anywhere; }
.pub-commit .sc { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
/* a phone shows the commits two across: one a row made the page some thirty screens long */
@media (max-width: 575.98px) {
    .pub-commits { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .pub-commit .pub-initials { font-size: 48px; }
    .pub-commit .tag { left: 8px; top: 8px; right: 8px; width: fit-content; max-width: calc(100% - 16px); font-size: 9px; letter-spacing: .6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .pub-commit .lg { right: 8px; bottom: 8px; width: 42px; height: 42px; border-radius: 10px; padding: 5px; }
    .pub-commit .tx { padding: 10px 12px 12px; } .pub-commit .nm { font-size: 20px; } .pub-commit .sc { font-size: 12px; }
    .pub-class { padding-top: 32px; } .pub-class-head h2 { font-size: 38px; }
}
.pub-nomatch { display: none; color: var(--muted); padding: 40px 0; }

/* ---- team page ---- */
.pub-teamhead { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.pub-teamhead img.logo { width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: 14px; padding: 6px; }
.pub-teamhead .sub { color: var(--blue); font-weight: 700; margin-top: 8px; }
/* the name on the left, the numbers on the right, on one baseline */
.pub-teamtop { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.pub-pagehead .pub-teamtop .pub-stats { margin: 0; padding: 0; border: 0; flex-wrap: nowrap; }
/* the coaches in even columns: title, name, phone, email, each on its own line */
.pub-coaches { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px 28px; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(168, 197, 232, .3); font-size: 14px; }
.pub-coaches > div { min-width: 0; }
.pub-coaches small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--blue); }
.pub-coaches b { display: block; font-family: var(--display); font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; line-height: 1.1; margin: 4px 0 6px; }
.pub-coaches a { display: block; color: #c5d3e8; text-decoration: none; overflow-wrap: anywhere; padding: 1px 0; } .pub-coaches a:hover { color: #fff; text-decoration: underline; }
.pub-teambody { padding-top: 40px; padding-bottom: 72px; }
.pub-teambody .pub-card { margin-bottom: 20px; }
.pub-teambody .pub-agehead { margin: 40px 0 18px; }
.pub-teambody > .pub-agehead:first-child { margin-top: 0; }
/* a tablet: the coaches two across (three left one alone), and an event's kind sits over its name instead of beside a wrapped one */
@media (min-width: 576px) and (max-width: 1023.98px) { .pub-coaches { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 899.98px) { .pub-card .pub-sched .e .k { display: block; width: fit-content; margin: 2px 0 4px; } }
@media (max-width: 767.98px) { .pub-teambody { padding-top: 28px; padding-bottom: 52px; } .pub-teambody .pub-agehead { margin-top: 32px; } }
@media (max-width: 575.98px) {
    .pub-pagehead .pub-teamtop .pub-stats { width: 100%; margin-top: 4px; }
    .pub-coaches { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; padding-top: 22px; }
}
.pub-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 20px; }
.pub-card > h2 { font-family: var(--body); font-size: 13px; font-weight: 800; letter-spacing: 1.4px; color: var(--navy); margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.pub-card > h2 i { color: var(--blue-deep); }
.pub-sched { width: 100%; border-collapse: collapse; font-size: 14px; }
.pub-sched td { padding: 9px 10px 9px 0; border-top: 1px solid var(--line); vertical-align: top; }
.pub-sched tr:first-child td { border-top: 0; }
.pub-sched .d { white-space: nowrap; font-weight: 700; color: var(--navy); }
.pub-sched .e { font-weight: 600; }
.pub-sched .e .k { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--blue-deep); background: var(--ice); border-radius: 999px; padding: 2px 8px; margin-right: 6px; }
.pub-sched .w { color: var(--muted); overflow-wrap: anywhere; }
.pub-sched .t { white-space: nowrap; text-align: right; color: var(--muted); padding-right: 0; }
@media (min-width: 576px) { .pub-sched .d { width: 1%; padding-right: 22px; } .pub-sched .w { width: 34%; } }
.pub-sched .res { display: inline-block; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 6px; font-weight: 800; font-size: 12px; color: #fff; margin-right: 4px; }
.pub-sched .res-w { background: #1E7B4B; } .pub-sched .res-l { background: #B3372F; } .pub-sched .res-t { background: #6b7280; }
@media (max-width: 575.98px) {
    .pub-sched, .pub-sched tbody { display: block; }
    .pub-sched tr { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
    .pub-sched tr:first-child { border-top: 0; padding-top: 0; }
    .pub-sched td { display: block; padding: 0; border-top: 0; min-width: 0; }
    .pub-sched .d { grid-column: 1; grid-row: 1; } .pub-sched .t { grid-column: 2; grid-row: 1; }
    .pub-sched .e { grid-column: 1 / -1; grid-row: 2; margin-top: 2px; } .pub-sched .w { grid-column: 1 / -1; grid-row: 3; font-size: 13px; }
    /* the schedule in three lines with room between games: the days with the kind at the right, the event, then
       the place with the count of games (four close lines read as crowded) */
    .pub-card:not(.pub-results) .pub-sched tr { row-gap: 5px; padding: 15px 0; }
    .pub-card:not(.pub-results) .pub-sched tr:first-child { padding-top: 4px; }
    .pub-card:not(.pub-results) .pub-sched tr:last-child { padding-bottom: 2px; }
    .pub-card:not(.pub-results) .pub-sched .e { display: contents; }
    .pub-card:not(.pub-results) .pub-sched .e .k { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; margin: 0; }
    .pub-card:not(.pub-results) .pub-sched .e .n { grid-column: 1 / -1; grid-row: 2; font-weight: 600; }
    .pub-card:not(.pub-results) .pub-sched .w { grid-column: 1; grid-row: 3; }
    .pub-card:not(.pub-results) .pub-sched .t { grid-column: 2; grid-row: 3; font-size: 13px; }
}

/* latest results: each game a tile, three across, so the card is full whatever the count */
.pub-results .pub-sched, .pub-results .pub-sched tbody { display: block; }
.pub-results .pub-sched tbody { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pub-results .pub-sched tr { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; }
.pub-results .pub-sched td { display: block; width: auto; padding: 0; border: 0; }
.pub-results .pub-sched .t { order: -1; flex: 0 0 auto; min-width: 70px; text-align: left; font-weight: 700; color: var(--navy); }
.pub-results .pub-sched .e { flex: 1; min-width: 0; margin: 0; line-height: 1.3; }
.pub-results .pub-sched .d { order: 2; flex: 0 0 auto; width: auto; padding: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
@media (max-width: 899.98px) { .pub-results .pub-sched tbody { grid-template-columns: repeat(2, 1fr); } }
/* a phone: the score on the left, the opponent with the day under it */
@media (max-width: 575.98px) {
    .pub-results .pub-sched tbody { grid-template-columns: 1fr; gap: 8px; }
    .pub-results .pub-sched tr { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 1px; padding: 10px 14px; }
    .pub-results .pub-sched .t { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
    .pub-results .pub-sched .e { grid-column: 2; grid-row: 1; }
    .pub-results .pub-sched .d { grid-column: 2; grid-row: 2; }
}

/* the roster: a table, so rows line up whatever each player has on file and no tile is left alone on a last row */
.pub-rcard { padding: 4px 0 6px; overflow: hidden; }
.pub-rtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.pub-rtable th { text-align: left; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); padding: 14px 14px 12px; white-space: nowrap; }
.pub-rtable td { padding: 9px 14px; border-top: 1px solid var(--line); vertical-align: middle; color: var(--text); }
.pub-rtable th:first-child, .pub-rtable td:first-child { padding-left: 20px; }
.pub-rtable th:last-child, .pub-rtable td:last-child { padding-right: 20px; }
.pub-rtable tbody tr:hover { background: #f8fafd; }
.pub-rtable .no { width: 72px; }
.pub-rtable td.no { font-family: var(--display); font-weight: 800; font-size: 21px; color: var(--blue-deep); white-space: nowrap; }
.pub-rtable .pl > a, .pub-rtable .pl > div { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.pub-rtable .av { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: var(--ice); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: .5px; color: var(--blue-deep); }
.pub-rtable .av img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.pub-rtable .nm { display: block; font-family: var(--display); font-weight: 800; font-size: 21px; text-transform: uppercase; letter-spacing: .3px; line-height: 1.1; color: var(--navy); }
.pub-rtable .nm i, .pub-rtable .nm svg { font-size: 13px; color: var(--blue-deep); margin-left: 4px; vertical-align: 1px; }
.pub-rtable a:hover .nm { color: var(--blue-deep); }
.pub-rtable .sm { display: none; font-size: 13px; color: var(--muted); margin-top: 2px; }
.pub-rtable .pos, .pub-rtable .bt, .pub-rtable .opt { color: var(--muted); }
.pub-rtable .bt, .pub-rtable th.cl, .pub-rtable td.cl { white-space: nowrap; }
.pub-rtable .cl { text-align: right; width: 84px; }
.pub-rtable th.pos, .pub-rtable td.pos { width: 22%; } .pub-rtable th.bt, .pub-rtable td.bt { width: 14%; }   /* the short columns sit across the row, not bunched at its end */
.pub-rtable td.cl { font-weight: 700; color: var(--navy); }
.pub-rtable .cm span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.pub-rtable .cm img { height: 22px; width: auto; max-width: 40px; object-fit: contain; }
@media (max-width: 899.98px) { .pub-rtable .opt { display: none; } }
/* a phone: each row is her number, her name with position and bats / throws under it, and her class */
@media (max-width: 575.98px) {
    .pub-rcard { padding: 0; }
    .pub-rtable, .pub-rtable tbody { display: block; }
    .pub-rtable thead, .pub-rtable .pos, .pub-rtable .bt, .pub-rtable .cm { display: none; }
    .pub-rtable tr { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; column-gap: 8px; padding: 10px 16px; border-top: 1px solid var(--line); }
    .pub-rtable tr:first-child { border-top: 0; }
    .pub-rtable td, .pub-rtable td:first-child, .pub-rtable td:last-child { display: block; padding: 0; border: 0; width: auto; }
    .pub-rtable td.no { font-size: 19px; }
    .pub-rtable .av { flex-basis: 36px; width: 36px; height: 36px; }
    .pub-rtable .nm { font-size: 19px; }
    .pub-rtable .nm i, .pub-rtable .nm svg { display: none; }   /* the whole row is the link here */
    .pub-rtable a .nm { color: var(--blue-deep); }
    .pub-rtable .sm { display: block; }
    .pub-rtable .sm.pr-posline { display: flex; margin: 4px 0 0; } .pub-rtable .sm .pr-pos abbr { width: 24px; height: 24px; font-size: 9.5px; }
}

/* the roster as a list or as cards: the switch sits at the end of the Roster heading (roster.aspx) */
.pub-agehead.pub-rhead::after { order: 1; }
.pub-viewsw { order: 2; display: inline-flex; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 10px; background: var(--card); overflow: hidden; }
.pub-viewsw button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; background: none; color: var(--muted); font-family: var(--display); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .6px; cursor: pointer; }
.pub-viewsw button + button { border-left: 1px solid var(--line); }
.pub-viewsw button:hover { color: var(--navy); background: var(--ice); }
.pub-viewsw button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.pub-viewsw button i, .pub-viewsw button svg { font-size: 14px; width: 1em; height: 1em; }
.pub-roster[data-view="list"] .pub-rcards, .pub-roster[data-view="cards"] .pub-rcard { display: none; }
.pub-rcards .pub-commit .tag { font-family: var(--display); font-size: 17px; letter-spacing: .4px; padding: 1px 10px; }
.pub-rcards .pub-commit .sc.cm { color: var(--blue-deep); font-weight: 700; }
@media (max-width: 575.98px) { .pub-viewsw button { min-height: 44px; padding: 0 12px; font-size: 16px; } .pub-rcards .pub-commit .tag { font-size: 15px; } }

/* ---- about ---- */
.pub-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pub-pillar { background: var(--navy-2); border: 1px solid rgba(168, 197, 232, .22); border-radius: 16px; padding: 26px; }
.pub-pillar h3 { font-size: 30px; font-weight: 800; color: var(--blue); margin-bottom: 10px; }
.pub-pillar p { margin: 0; color: #dbe6f5; }
.pub-people { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 576px) and (max-width: 1079.98px) {
    .pub-people { grid-template-columns: repeat(6, 1fr); }
    .pub-person { grid-column: span 2; }
    .pub-person:nth-child(3n+1):nth-last-child(2), .pub-person:nth-child(3n+2):last-child { grid-column: span 3; }   /* a last row of two fills the width */
}
@media (min-width: 1080px) {
    .pub-people { grid-template-columns: repeat(5, 1fr); }
    .pub-person { padding: 18px 16px; }
    .pub-person small { min-height: 3.1em; }   /* one- and two-line titles: the names still line up */
}
.pub-person { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.pub-person small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--blue-deep); }
.pub-person b { display: block; font-family: var(--display); font-size: 26px; font-weight: 800; text-transform: uppercase; color: var(--navy); margin: 4px 0 6px; line-height: 1.05; }
.pub-person a, .pub-person span { display: block; font-size: 14px; color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.pub-person a:hover { color: var(--blue-deep); text-decoration: underline; }
/* A headshot from Admin > Staff (sql/097): a round picture over the title. .has-photos is on the list when anyone has one, and a
   person without one then gets their initials in the same circle, so the titles and names still line up across the row. */
.pub-person .hs { display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 20%; margin: 0 0 14px; background: linear-gradient(160deg, var(--navy-3), var(--navy)); }
.pub-person .hs.ini { display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: 1px; color: rgba(168, 197, 232, .75); }
.pub-sponsors { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.pub-sponsors span { flex: 0 0 calc((100% - 64px) / 5); height: 96px; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 14px 18px; }
.pub-sponsors img { max-width: 100%; max-height: 62px; object-fit: contain; }
@media (max-width: 899.98px) { .pub-sponsors span { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 575.98px) { .pub-sponsors span { flex-basis: calc((100% - 16px) / 2); height: 88px; } }
@media (max-width: 767.98px) { .pub-pillars { grid-template-columns: 1fr; } .pub-section { padding: 52px 0; } .pub-sechead { margin-bottom: 26px; } }

/* ---- GameDay Software (gameday.aspx, gamedayapp.aspx) ---- */
/* the overview: one card per application, its words on the left and a screenshot rising out of the card's foot */
.pub-apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pub-app { display: grid; grid-template-columns: 1fr 190px; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px 28px 0; text-decoration: none; color: inherit; overflow: hidden; min-height: 300px; transition: box-shadow .2s, border-color .2s, transform .2s; }
.pub-app:hover { border-color: var(--blue-deep); box-shadow: 0 12px 30px rgba(11, 23, 54, .14); transform: translateY(-3px); }
.pub-app .tx { padding-bottom: 28px; display: flex; flex-direction: column; align-items: flex-start; }
.pub-app .who { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--blue-deep); background: var(--ice); border-radius: 999px; padding: 4px 11px; }
.pub-app h2 { font-size: 36px; margin: 16px 0 10px; }
.pub-app h2 i, .pub-app h2 svg { font-size: 24px; color: var(--blue-deep); margin-right: 6px; vertical-align: 2px; }
.pub-app p { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.pub-app .pub-more { margin-top: auto; }
.pub-app:hover .pub-more { text-decoration: underline; }
.pub-app .pic { align-self: end; border-radius: 22px 22px 0 0; border: 6px solid var(--navy); border-bottom: 0; overflow: hidden; height: 270px; background: var(--navy); box-shadow: 0 10px 30px rgba(11, 23, 54, .25); }
.pub-app .pic img { display: block; width: 100%; }
.pub-app .pic.web { border-width: 4px; border-radius: 10px 10px 0 0; height: 200px; }
.pub-app .pic.web img { height: 100%; object-fit: cover; object-position: left top; }
.pub-app:last-child:nth-child(odd) { grid-column: 1 / -1; grid-template-columns: 1fr minmax(0, 520px); }   /* the fifth card runs the full width, with room for a browser screenshot */
.pub-app:last-child:nth-child(odd) .pic.web { height: 250px; }
@media (max-width: 899.98px) { .pub-apps { grid-template-columns: 1fr; } .pub-app:last-child:nth-child(odd) { grid-template-columns: 1fr 190px; } .pub-app:last-child:nth-child(odd) .pic.web { height: 200px; } }
@media (max-width: 575.98px) {
    .pub-app, .pub-app:last-child:nth-child(odd) { grid-template-columns: 1fr 104px; gap: 14px; padding: 22px 20px 0; min-height: 0; }
    .pub-app h2 { font-size: 30px; } .pub-app h2 i, .pub-app h2 svg { display: none; }
    .pub-app .tx { padding-bottom: 22px; }
    .pub-app .pic { height: 200px; border-width: 4px; border-radius: 16px 16px 0 0; }
    .pub-app .pic.web, .pub-app:last-child:nth-child(odd) .pic.web { height: 150px; }
}
.pub-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pub-flow > div { background: var(--navy-2); border: 1px solid rgba(168, 197, 232, .22); border-radius: 16px; padding: 24px 26px 26px; }
.pub-flow b { display: block; font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; color: var(--blue); }
.pub-flow h3 { font-size: 28px; font-weight: 800; margin: 8px 0 8px; }
.pub-flow p { margin: 0; color: #dbe6f5; }
@media (max-width: 767.98px) { .pub-flow { grid-template-columns: 1fr; } }

/* an application's page */
a.pub-crumb { text-decoration: none; width: fit-content; }
a.pub-crumb:hover { text-decoration: underline; }
.pub-appmeta { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 18px 0 26px; font-size: 14px; font-weight: 600; color: #dbe6f5; }
.pub-appmeta i, .pub-appmeta svg { color: var(--blue); margin-right: 6px; }
.pub-sechead .pub-lede { max-width: 760px; }
.pub-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pub-feat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 22px; }
.pub-feat > i, .pub-feat > svg { font-size: 22px; color: var(--blue-deep); height: 22px; }
.pub-feat h3 { font-size: 24px; font-weight: 800; color: var(--navy); margin: 14px 0 6px; }
.pub-feat p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 1023.98px) { .pub-feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .pub-feats { grid-template-columns: 1fr; gap: 12px; } .pub-feat { display: grid; grid-template-columns: 34px 1fr; column-gap: 6px; padding: 16px 18px 18px; } .pub-feat h3 { margin: 0 0 4px; font-size: 22px; } .pub-feat p { grid-column: 2; } }

/* screenshots: phones in a row that scrolls sideways when there are more than fit; browser windows two across */
.pub-phones { display: flex; gap: 26px; overflow-x: auto; padding: 4px 4px 18px; margin: 0 -4px; scroll-snap-type: x proximity; scrollbar-color: rgba(168, 197, 232, .5) transparent; }
.pub-phones.after { margin-top: 44px; }
.pub-phone { flex: 0 0 250px; margin: 0; scroll-snap-align: start; }
.pub-phone .frame { border: 8px solid #050B1E; border-radius: 34px; overflow: hidden; background: #050B1E; box-shadow: 0 0 0 1px rgba(168, 197, 232, .28), 0 22px 44px rgba(0, 0, 0, .45); }
.pub-phone img { display: block; width: 100%; border-radius: 26px; }
.pub-phone figcaption, .pub-browser figcaption { font-size: 13px; color: #c5d3e8; margin-top: 14px; text-align: center; text-wrap: balance; }
.pub-shothead { font-size: 30px; font-weight: 800; color: #fff; margin: 52px 0 22px; padding-top: 34px; border-top: 1px solid rgba(168, 197, 232, .22); }
.pub-webshots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 26px; align-items: start; }
.pub-browser { margin: 0; }
.pub-browser .bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #E3E9F2; border-radius: 10px 10px 0 0; }
.pub-browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #B4C0D2; }
.pub-browser .bar span { margin-left: 10px; flex: 0 1 240px; background: #fff; border-radius: 999px; font-size: 11px; color: #5f6b7c; padding: 2px 12px; }
.pub-browser img { display: block; width: 100%; border-radius: 0 0 10px 10px; box-shadow: 0 22px 44px rgba(0, 0, 0, .45); }
.pub-webshots .pub-browser:first-child:nth-last-child(odd) { grid-column: 1 / -1; }   /* an odd count: the first one runs the full width */
@media (max-width: 767.98px) { .pub-webshots { grid-template-columns: 1fr; gap: 24px; } .pub-phone { flex-basis: 220px; } .pub-phones { gap: 18px; } }
.pub-team .logo.pub-appicon { color: var(--blue); font-size: 24px; }
/* the four other applications: one row on a desktop, two by two on a tablet */
.pub-teams.pub-others { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1099.98px) { .pub-teams.pub-others { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .pub-teams.pub-others { grid-template-columns: 1fr; } }

/* ---- footer: scripts/public-nav.css ---- */

/* ---- uncommitted players (uncommitted.aspx): the filters and the sort in one card across the top (Ed, 2026-11-17; they were a
   column beside the cards), the cards below at the page's full width; a phone tucks the card behind a button ----
   The card is a 12-column grid: search, class, position; the measurables in a row of their own; bats, throws, GPA, sort, Clear. */
.pr-page { padding-top: 34px; padding-bottom: 72px; }
.pr-toggle { display: none; }
.pr-filters { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px 20px; align-items: end; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 20px; margin-bottom: 26px; }
.pr-f { min-width: 0; }
.pr-s-find { grid-column: span 4; }
.pr-s-cls { grid-column: span 3; align-self: start; }
.pr-s-pos { grid-column: span 5; align-self: start; }
.pr-s-meas { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--line); }
.pr-s-sel { grid-column: span 2; }
.pr-s-sort { grid-column: span 3; }
.pr-s-clear { grid-column: span 3; }
.pr-f > label, .pr-f .lbl { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pr-f input[type=search], .pr-f select, .pr-metrics input { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 9px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--text); background: #fff; }
.pr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-chips button { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.pr-chips button:hover { border-color: var(--blue-deep); }
.pr-chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
/* the measurables side by side, each one's name over its box */
.pr-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 20px; }
.pr-metrics label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin: 0; }
.pr-metrics label > span:first-child { display: block; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-metrics label em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.pr-metrics .in { position: relative; display: block; }
.pr-metrics .in i { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 12px; color: var(--muted); pointer-events: none; }
.pr-metrics input { padding-right: 38px; }
.pr-clear { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--blue-deep); font: inherit; font-weight: 700; cursor: pointer; }
.pr-clear:hover { border-color: var(--blue-deep); }
.pr-clear:disabled { opacity: .5; cursor: default; border-color: var(--line); }
.pr-note { font-size: 12px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.pr-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.pr-count { font-family: var(--display); font-weight: 800; font-size: 28px; text-transform: uppercase; color: var(--navy); line-height: 1; }
/* Two players across, her photo at the left and her details beside it (Ed, 2026-11-17; it was five small cards across with the
   details under the photo). A narrow desktop sets the measurables three across; a phone shows one player a row. To go back to
   five across, take this block out and put the line under it back in. */
.pr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pr-card.pub-commit { flex-direction: row; align-items: stretch; }
.pr-card .ph { flex: 0 0 38%; max-width: 230px; aspect-ratio: auto; min-height: 236px; }
.pr-card .ph > img { position: absolute; inset: 0; }
.pr-card .tx { flex: 1 1 0; min-width: 0; padding: 16px 18px; display: flex; flex-direction: column; }
.pr-card .nm { font-size: 27px; }
.pr-card .sc { font-size: 14px; }
.pr-card .pr-nums { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 10px 12px; margin-top: 12px; padding-top: 12px; }
.pr-card .pr-nums dt { white-space: nowrap; letter-spacing: .6px; }
.pr-card .pr-nums dd { font-size: 17px; white-space: nowrap; }
.pr-card .pr-go { margin-top: auto; padding-top: 12px; font-size: 14px; }
/* positions: a circle each with the abbreviation (2B, SS, OF), as on the recruiting page, with bats / throws beside them */
.pr-posline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0 3px; }
.pr-pos { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.pr-pos abbr { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; line-height: 1; text-decoration: none; cursor: inherit; }
@media (max-width: 1099.98px) { .pr-card .pr-nums { grid-template-columns: repeat(3, auto); } }
@media (max-width: 899.98px) { .pr-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } .pr-card .pr-nums { grid-template-columns: repeat(4, auto); } }
/* five across, as it was: .pr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; } */
.pr-card .vid { position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(11, 23, 54, .78); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.pr-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.pr-nums div { min-width: 0; }
.pr-nums dt { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.pr-nums dd { margin: 0; font-weight: 700; font-size: 15px; color: var(--navy); }
.pr-nums small { font-weight: 600; font-size: 11px; color: var(--muted); }
.pr-go { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--blue-deep); }
.pr-link { border: 0; background: none; padding: 0; color: var(--blue-deep); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.pr-results .pub-nomatch { padding: 30px 0; }
/* a narrow desktop: class and position share the second row, and the last row's five boxes become three and two */
@media (min-width: 900px) and (max-width: 1099.98px) {
    .pr-s-find { grid-column: 1 / -1; }
    .pr-s-cls { grid-column: span 4; }
    .pr-s-pos { grid-column: span 8; }
    .pr-s-sel { grid-column: span 4; }
    .pr-s-sort, .pr-s-clear { grid-column: span 6; }
}
@media (max-width: 899.98px) {
    .pr-page { padding-top: 22px; padding-bottom: 52px; }
    .pr-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 16px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }
    .pr-filters { display: none; margin-bottom: 18px; }
    .pr-filters.open { display: grid; }
    .pr-s-find, .pr-s-cls, .pr-s-pos { grid-column: 1 / -1; }
    .pr-s-sel { grid-column: span 4; }
    .pr-s-sort, .pr-s-clear { grid-column: 1 / -1; }
    .pr-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
    .pr-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .pr-card .ph { flex-basis: 34%; min-height: 200px; }
    .pr-card .tx { padding: 12px 14px; }
    .pr-card .nm { font-size: 22px; }
    .pr-card .pr-nums { grid-template-columns: repeat(2, auto); gap: 6px 10px; }
    .pr-card .pr-nums dd { font-size: 15px; }
    .pr-count { font-size: 24px; }
}

/* ---- the commits on a map (commits.aspx): a pin for each college, its logo in it and the count of players on its corner ---- */
.pub-mapcard { margin: 28px 0 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pub-mapcard .hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 20px 14px; }
.pub-mapcard h2 { font-size: 30px; font-weight: 800; color: var(--navy); }
.pub-mapcard .hd span { font-size: 13px; font-weight: 600; color: var(--muted); }
.pub-map { height: 460px; background: var(--ice); z-index: 0; }
.pub-pin { position: relative; }
.pub-pin .pin { display: flex; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
/* a fixed box, not max-width: Leaflet lifts max-width and max-height off every image in a marker, and the logos then drew at full size */
.pub-pin .pin img { width: 28px; height: 28px; object-fit: contain; }
.pub-pin .pin span { font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--navy); }
.pub-pin b { position: absolute; right: -6px; top: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; border: 2px solid #fff; background: var(--navy); color: #fff; font-size: 11px; line-height: 16px; text-align: center; }
.pub-pop { font-family: var(--body); min-width: 170px; }
.pub-pop strong { display: block; font-family: var(--display); font-weight: 800; font-size: 20px; text-transform: uppercase; line-height: 1.05; color: var(--navy); }
.pub-pop small { display: block; font-size: 12px; color: var(--muted); margin: 2px 0 8px; }
.pub-pop ul { list-style: none; margin: 0; padding: 0; }
.pub-pop li { font-size: 14px; padding: 2px 0; color: var(--text); }
.pub-pop li span { color: var(--muted); font-size: 12px; margin-left: 4px; }
@media (max-width: 575.98px) { .pub-map { height: 340px; } .pub-mapcard h2 { font-size: 26px; } }

/* ---- Sterling's audit, 2026-11-17 ---- */
/* A short page (Contact) keeps the footer at the bottom of the window, not a strip of page colour under it. */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
/* Gameday: the text column may shrink, so the picture stays inside its card; the link wraps on a phone. */
.pub-app { grid-template-columns: minmax(0, 1fr) 190px; }
.pub-app:last-child:nth-child(odd) { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
@media (max-width: 899.98px) { .pub-app:last-child:nth-child(odd) { grid-template-columns: minmax(0, 1fr) 190px; } }
@media (max-width: 575.98px) {
    .pub-app, .pub-app:last-child:nth-child(odd) { grid-template-columns: minmax(0, 1fr) 104px; }
    .pub-app .pub-more { white-space: normal; }
}
/* Uncommitted stays two across on a wide screen (Ed, 2026-11-17, after a spell at three across from 1200px up): each card
   has the room for a full line of measurables beside her photo once the players have filled in their profiles. */
/* Teams page on a phone: each row of chips is one line that scrolls sideways. */
@media (max-width: 575.98px) {
    .pub-chip-row { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 2px; scrollbar-width: none; }
    .pub-chip-row::-webkit-scrollbar { display: none; }
    .pub-chip { flex: none; white-space: nowrap; }
}
