/* Shared public UI: basketball proportions, department colours retained. */
:root{--ui-accent:#00539b;--ui-soft:#eaf2f9;--ui-line:#dbe5ef;--ui-text:#122d42;--ui-radius:14px}
body[data-ui-theme="basketball"]{--ui-accent:#8613c4;--ui-soft:#f4e9fd;--ui-line:#e7d8f1}
.public-main{width:100%;max-width:1260px;margin-inline:auto;min-width:0}.public-main>*,.public-header>*{min-width:0}
.public-header .public-brand>span,.public-header:has(.nav-dropdown) .public-brand>span{font-size:22px;color:#111;font-weight:850;letter-spacing:2px;line-height:1.35}
.public-header .public-brand img{width:54px;height:64px;object-fit:contain}.public-header .public-brand small,.public-header:has(.nav-dropdown) .public-brand small{font-size:8px;letter-spacing:1.5px;font-weight:700}
.content-heading h1,.public-page-heading h1{font-size:35px;line-height:1.15;letter-spacing:-1px;margin:8px 0 14px}.content-heading>p,.content-heading>div>p,.public-page-heading p{font-size:14px;line-height:1.65;color:#687887}
.roster-grid,.football-player-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;align-items:stretch}
.roster-player,.football-player-card{border-radius:var(--ui-radius);border:1px solid var(--ui-line);background:#fff;min-width:0;overflow:hidden}
.football-player-open,.roster-player.player-profile-button{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;width:100%;height:100%;font:inherit;color:inherit;text-align:left}
.football-player-art,.player-profile-button .player-art{position:relative;display:block;isolation:isolate;width:100%;height:auto;aspect-ratio:auto;flex:0 0 auto;overflow:hidden;padding:0}
.football-player-art::before,.player-profile-button .player-art::before{content:"";position:relative;display:block;padding-top:125%;inset:auto;z-index:0}
.football-player-photo,.player-profile-button .has-player-photo img.roster-portrait{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:100%;object-fit:cover;object-position:center top}
.football-player-initials{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
.football-player-copy,.player-profile-button .player-copy{padding:22px;flex:1 0 auto;min-width:0;box-sizing:border-box}.football-player-copy h3,.player-copy h2{font-size:19px;font-weight:750;line-height:1.35;overflow-wrap:anywhere;min-height:2.7em;margin:10px 0 16px}
.football-player-detail-link,.player-detail-link{font-size:13px;font-weight:700;line-height:1.4}.football-player-stats>div{min-width:0}
.fixtures-list,.games-list{gap:14px}.fixture-card,.schedule-card{border-radius:14px;min-width:0}.fixture-team h2,.fixture-team strong,.schedule-team strong{overflow-wrap:anywhere;line-height:1.3}
.fixture-score,.fixture-filters button,.football-player-teams button,.football-profile-tabs button,.game-report-tabs button,.football-dialog-close,.volley-close,.football-profile-close,#game-dialog .dialog-close{min-height:44px}.football-dialog-close,.volley-close,.football-profile-close,#game-dialog .dialog-close{width:44px;height:44px}
#football-game-dialog,#game-dialog,#football-player-dialog,#player-dialog,.volley-dialog{box-sizing:border-box;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);border-radius:24px;overscroll-behavior:contain}.football-report-scoreboard,.game-report-scoreboard{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.football-report-team strong,.game-report-team strong{overflow-wrap:anywhere}.football-report-team .football-teammark,.game-report-team .fixture-teammark{flex-shrink:0}
.public-main :is(a,button,summary,input):focus-visible,.club-footer a:focus-visible{outline:3px solid var(--ui-accent);outline-offset:3px}.public-main button,.public-header button{touch-action:manipulation}
.club-footer .footer-top a:not(.public-brand){font-size:14px;line-height:1.5;min-height:30px;display:flex;align-items:center;gap:6px}.club-footer .footer-top h2{font-size:15px}.club-footer .footer-bottom{font-size:12px}.club-footer .footer-top>div,.club-footer .footer-brand{min-width:0}.club-footer a{overflow-wrap:anywhere}
@media(max-width:1000px){.roster-grid,.football-player-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.public-header .public-brand>span,.public-header:has(.nav-dropdown) .public-brand>span{font-size:19px;letter-spacing:1.6px}.public-header .public-brand img{width:43px;height:53px}.public-header .public-brand small,.public-header:has(.nav-dropdown) .public-brand small{font-size:7px;letter-spacing:1.4px}.public-main{padding-inline:18px}.fixtures-list,.public-main .games-list{grid-template-columns:1fr}}
@media(max-width:600px){.content-heading h1,.public-page-heading h1{font-size:27px;line-height:1.2}.content-heading>p,.public-page-heading p{font-size:14px}.roster-grid,.football-player-grid{gap:12px}.football-player-art::before,.player-profile-button .player-art::before{padding-top:150%}.football-player-photo,.player-profile-button .has-player-photo img.roster-portrait{object-fit:contain}.football-player-copy,.player-profile-button .player-copy{padding:16px 14px}.football-player-copy h3,.player-copy h2{font-size:17px;min-height:2.7em}.football-player-detail-link{font-size:12px}.football-player-crest{z-index:2}.player-profile-button img.roster-portrait-hover{display:none}.public-main input,.public-main select{font-size:16px}.public-page-heading,.football-player-toolbar{flex-wrap:wrap;gap:18px}.public-page-heading>div,.football-player-search{min-width:0}.football-player-season,.year-picker{margin-left:auto}.fixture-teams{gap:8px}.fixture-team{gap:6px}.football-report-team strong,.game-report-team strong{font-size:17px}.football-report-hero,.game-report-hero{padding:26px 18px 18px}.football-report-main,.game-report-main{padding:20px 18px}.football-report-scoreboard,.game-report-scoreboard{gap:10px}.football-report-result>strong,.game-report-score{font-size:36px;letter-spacing:-1px}.football-report-kicker,.game-report-kicker{font-size:9px;letter-spacing:1.3px;padding-right:42px;line-height:1.6}#football-game-dialog,#game-dialog,#football-player-dialog,#player-dialog,.volley-dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:18px}.football-profile-tabs,.game-report-tabs{gap:8px;flex-wrap:wrap}.club-footer .footer-top a:not(.public-brand){min-height:40px}.club-footer .footer-top>div:last-child a{display:inline-flex;margin-right:16px}.club-footer .footer-bottom{font-size:12px;line-height:1.6}}
@media(max-width:359px){.public-main{padding-inline:14px}.public-header{padding-inline:14px}.public-header .public-brand>span{font-size:17px}.public-header .public-brand{gap:8px}.public-header .public-brand small{font-size:6px}.football-player-copy,.player-profile-button .player-copy{padding:14px 10px}.football-player-copy h3,.player-copy h2{font-size:15px}.football-player-stats strong{font-size:21px}.football-player-detail-link{font-size:11px}.fixture-teams{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.fixture-team{flex-wrap:wrap}.fixture-team.away{justify-content:flex-end}.football-report-scoreboard,.game-report-scoreboard{gap:7px}.football-report-team strong,.game-report-team strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Match navigation and dropdown rhythm across departments. */
.public-header :is(.menu-toggle,.mobile-menu-toggle){border-radius:12px;min-height:44px;padding:10px 13px;color:var(--ui-accent);background:var(--ui-soft);border:1px solid var(--ui-line);font:650 13px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
@media(max-width:600px){.public-page-heading{flex-direction:column;align-items:stretch}.public-page-heading .year-picker{align-self:flex-end}.public-page-heading .public-button{align-self:flex-end}.fixture-filters,.football-player-teams{gap:8px}.football-report-kicker,.volley-dialog .football-report-kicker{color:#d9ebf8}.volley-dialog .football-match-notice{color:#205678}}
.volley-dialog .football-report-kicker{color:#d9ebf8}.volley-dialog .football-match-notice{color:#205678}

/* Keep section labels readable at every viewport; long roles wrap naturally. */
.public-main .eyebrow,#app .eyebrow{font-size:14px;line-height:1.5;letter-spacing:.06em;overflow-wrap:normal}
.public-main .board-card .eyebrow,#app .board-card .eyebrow{display:block;font-size:15px;line-height:1.5;letter-spacing:.025em;margin-bottom:10px}
.public-main .cms-contact>p:first-of-type{font-size:16px;line-height:1.5}
