:root {
  --navy: #06101d;
  --navy-2: #0a1929;
  --panel: #0d2033;
  --panel-2: #112a42;
  --paper: #f7fbff;
  --ink: #eef8ff;
  --muted: #9bb0c3;
  --line: rgba(183, 218, 240, 0.16);
  --cyan: #34dcff;
  --pink: #ff3f8d;
  --gold: #ffd056;
  --green: #43e39a;
  --red: #ff6573;
  --display: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--navy); color-scheme: light; }
body { min-height: 100%; margin: 0; color: var(--ink); background: var(--navy); font: 16px/1.5 var(--body); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 12% 6%, rgba(52, 220, 255, .13), transparent 25rem),
    radial-gradient(circle at 88% 12%, rgba(255, 63, 141, .12), transparent 24rem),
    linear-gradient(130deg, #f2f5fa 0%, #f1f5fa 58%, #f1f5fa 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .32;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}

.portal-shell { min-height: 100vh; }
.portal-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
}

.portal-brand { min-width: 0; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.portal-brand-mark {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(52, 220, 255, .55);
  color: #05131e;
  background: var(--cyan);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 950;
  letter-spacing: -.04em;
  transform: skew(-6deg);
  box-shadow: 8px 8px 0 rgba(255, 63, 141, .75);
}
.portal-brand-mark b { font: inherit; }
.portal-brand-mark img { width: 82%; height: 82%; display: block; object-fit: contain; transform: skew(6deg); }
.portal-brand > span:last-child { min-width: 0; display: grid; line-height: 1.12; }
.portal-brand strong { overflow: hidden; font-family: var(--display); font-size: 1rem; letter-spacing: .035em; text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; }
.portal-brand small { margin-top: 5px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.portal-nav { display: flex; align-items: center; gap: 4px; }
.portal-nav a { min-height: 42px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid transparent; color: #284052; font-size: .82rem; font-weight: 780; text-decoration: none; }
.portal-nav a:hover, .portal-nav a.is-active { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.045); }
.portal-nav .admin-link { margin-left: 8px; border-color: rgba(255, 208, 86, .35); color: var(--gold); }
.registration-menu { position: relative; }
.registration-menu summary { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; border: 1px solid transparent; color: #284052; font-size: .82rem; font-weight: 780; list-style: none; cursor: pointer; }
.registration-menu summary::-webkit-details-marker { display: none; }
.registration-menu summary::after { content: "⌄"; color: var(--cyan); font-size: .72rem; }
.registration-menu[open] summary, .registration-menu summary:hover { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.045); }
.registration-menu > div { position: absolute; top: calc(100% + 8px); left: 0; z-index: 8; min-width: 220px; padding: 7px; border: 1px solid var(--line); background: #f1f6fa; box-shadow: 0 22px 55px rgba(0,0,0,.48); }
.registration-menu > div a { width: 100%; }
.menu-button { display: none; min-height: 42px; padding: 0 14px; border: 1px solid var(--line); color: var(--ink); background: transparent; font-weight: 800; }

main { width: min(1460px, 100%); margin: 0 auto; }
.portal-page { padding: clamp(38px, 6vw, 88px) clamp(18px, 4vw, 64px) 80px; }
.portal-eyebrow { margin: 0; color: var(--cyan); font-size: .76rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }

.hero-panel { min-height: min(650px, calc(100vh - 130px)); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr); gap: clamp(30px, 7vw, 100px); align-items: center; }
.hero-copy { position: relative; }
.hero-copy::before { position: absolute; top: -34px; left: -22px; width: 88px; height: 6px; content: ""; background: linear-gradient(90deg, var(--pink) 0 47%, var(--cyan) 47%); }
.hero-copy h1 { max-width: 970px; margin: 17px 0 22px; font-family: var(--display); font-size: clamp(3.6rem, 8.5vw, 8.7rem); font-weight: 950; line-height: .79; letter-spacing: -.065em; text-transform: uppercase; }
.hero-copy h1 span { display: block; color: transparent; -webkit-text-stroke: 1.5px rgba(238,248,255,.9); }
.hero-copy h1 b { color: var(--pink); font-size: .48em; letter-spacing: -.025em; vertical-align: top; }
.hero-note { max-width: 680px; margin: 0; color: #2d3f4e; font-size: clamp(1rem, 1.8vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }

.portal-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border: 1px solid transparent; color: var(--ink); background: transparent; font-size: .88rem; font-weight: 850; text-decoration: none; }
.portal-button.primary { color: #04131e; background: var(--cyan); box-shadow: 7px 7px 0 rgba(255,63,141,.7); }
.portal-button.primary:hover { background: #76eaff; transform: translate(-1px, -1px); }
.portal-button.secondary { border-color: var(--line); background: rgba(255,255,255,.045); }
.portal-button.secondary:hover { border-color: rgba(52,220,255,.55); background: rgba(52,220,255,.07); }
.portal-button.schedule-download-cta { border-color: rgba(255,208,86,.75); color: #1c1300; background: linear-gradient(135deg, #ffe287, var(--gold)); box-shadow: 0 0 0 4px rgba(255,208,86,.1), 7px 7px 0 rgba(255,63,141,.48); }
.portal-button.schedule-download-cta:hover { border-color: #655515; color: #110b00; background: #ffe89e; }
.portal-button.small-button { min-height: 42px; padding-inline: 15px; font-size: .78rem; }
.portal-button:disabled, .portal-button[aria-disabled="true"] { cursor: not-allowed; opacity: .52; box-shadow: none; }

.live-register-card { position: relative; overflow: hidden; border: 1px solid rgba(52,220,255,.23); background: linear-gradient(160deg, rgba(255,255,255,.93), rgba(255,255,255,.96)); box-shadow: 0 30px 80px rgba(0,0,0,.26); }
.live-register-card::after { position: absolute; top: -48px; right: -48px; width: 150px; height: 150px; border: 30px solid rgba(255,63,141,.09); border-radius: 50%; content: ""; }
.live-register-head { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 21px; border-bottom: 1px solid var(--line); }
.live-register-head > span { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(67,227,154,.12); }
.live-register-head strong { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.live-register-head small { color: var(--green); font-size: .72rem; font-weight: 800; }
.home-count-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.home-count-grid div { min-width: 0; padding: 25px 16px; border-right: 1px solid var(--line); text-align: center; }
.home-count-grid div:last-child { border-right: 0; }
.home-count-grid strong { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1; }
.home-count-grid span { color: var(--muted); font-size: .72rem; font-weight: 750; text-transform: uppercase; }
.live-register-card > a { display: flex; justify-content: space-between; padding: 18px 21px; border-top: 1px solid var(--line); color: var(--cyan); font-size: .8rem; font-weight: 800; text-decoration: none; }

.portal-action-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.portal-action-card { position: relative; min-height: 190px; display: flex; flex-direction: column; padding: 23px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.portal-action-card::before { position: absolute; inset: auto 0 0; height: 3px; content: ""; background: var(--card-color); transform: scaleX(.2); transform-origin: left; transition: transform .25s ease; }
.portal-action-card:hover { background: rgba(255,255,255,.04); }
.portal-action-card:hover::before { transform: scaleX(1); }
.portal-action-card > span { color: var(--card-color); font-family: var(--display); font-size: .85rem; font-weight: 900; }
.portal-action-card strong { max-width: 220px; margin: auto 0 10px; font-family: var(--display); font-size: 1.45rem; line-height: 1; text-transform: uppercase; }
.portal-action-card small { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.cyan-card { --card-color: var(--cyan); }.pink-card { --card-color: var(--pink); }.gold-card { --card-color: var(--gold); }.green-card { --card-color: var(--green); }.upload-card { --card-color: #652c15; }

.page-intro { max-width: 830px; margin-bottom: 32px; }
.page-intro h1, .admin-hero h1 { margin: 8px 0 12px; font-family: var(--display); font-size: clamp(2.5rem, 6vw, 5.6rem); line-height: .94; letter-spacing: -.05em; text-transform: uppercase; }
.page-intro > p:last-child, .admin-hero p { margin: 0; color: var(--muted); font-size: 1rem; }
.registration-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.registration-form { display: grid; gap: 16px; }
.form-section { padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); background: rgba(255,255,255,.84); }
.form-section-title { display: flex; gap: 14px; align-items: center; margin-bottom: 26px; }
.form-section-title > span { flex: 0 0 45px; width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid rgba(52,220,255,.35); color: var(--cyan); font-family: var(--display); font-size: 1.1rem; font-weight: 950; }
.form-section-title > div { display: grid; }
.form-section-title strong { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.02em; text-transform: uppercase; }
.form-section-title small { color: var(--muted); font-size: .78rem; }
.form-grid, .settings-grid { display: grid; gap: 18px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.full-field { grid-column: 1 / -1; }
.form-grid > label, .settings-grid > label, .application-review > label { display: grid; gap: 8px; color: #2b3f50; font-size: .82rem; font-weight: 800; }
em { color: var(--pink); font-style: normal; }
input, select, textarea { width: 100%; min-height: 49px; border: 1px solid var(--line); border-radius: 0; padding: 11px 13px; color: var(--ink); outline: none; background: #f1f6fa; }
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(52,220,255,.1); }
input[type="checkbox"], input[type="radio"] { width: 20px; min-height: 20px; margin: 0; accent-color: var(--cyan); }
.choice-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice-field legend { margin-bottom: 10px; color: #2b3f50; font-size: .82rem; font-weight: 800; }
.choice-row, .choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choice-row label, .choice-grid label { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #274154; font-size: .78rem; font-weight: 750; }
.choice-row label:has(input:checked), .choice-grid label:has(input:checked) { border-color: var(--cyan); color: var(--ink); background: rgba(52,220,255,.08); }

.photo-guide { margin-bottom: 18px; padding: 16px 18px; border-left: 4px solid var(--cyan); background: rgba(52,220,255,.06); }
.photo-guide strong { font-family: var(--display); font-size: 1rem; text-transform: uppercase; }
.photo-guide p { margin: 5px 0 0; color: #2d3f4e; font-size: .82rem; }
.upload-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.upload-box { position: relative; min-height: 150px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 20px; overflow: hidden; border: 1px dashed rgba(52,220,255,.38); background: rgba(52,220,255,.035); cursor: pointer; }
.upload-box:hover { border-color: var(--cyan); background: rgba(52,220,255,.065); }
.upload-box input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-box > span { font-family: var(--display); font-size: 1.08rem; font-weight: 900; text-transform: uppercase; }
.upload-box > small { color: var(--muted); font-size: .72rem; }
.upload-box > b { max-width: 100%; margin-top: 10px; overflow: hidden; color: var(--cyan); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.rules-panel { max-height: 370px; overflow: auto; padding: 20px; border: 1px solid var(--line); color: #2b3f4f; background: #f1f6fa; font-size: .86rem; line-height: 1.72; white-space: pre-line; }
.consent-row { display: flex !important; grid-template-columns: 20px 1fr; flex-direction: row !important; align-items: flex-start; gap: 11px !important; margin-top: 15px; color: #294052; font-size: .82rem; font-weight: 650; cursor: pointer; }
.payment-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 20px; border: 1px solid rgba(255,208,86,.28); background: linear-gradient(105deg, rgba(255,208,86,.09), rgba(255,63,141,.06)); }
.payment-card > div { display: grid; }
.payment-card small { color: var(--gold); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.payment-card strong { font-family: var(--display); font-size: 2.5rem; line-height: 1; }
.payment-card p { margin: 4px 0 0; color: var(--muted); font-size: .72rem; }
.payment-button { color: #231600; background: var(--gold); }
.payment-upload { min-height: 120px; margin-top: 15px; }
.public-consent { padding: 14px; border: 1px solid rgba(255,63,141,.24); background: rgba(255,63,141,.045); }
.submit-panel { display: flex; align-items: center; justify-content: flex-end; gap: 18px; padding: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.84); }
.submit-panel p { flex: 1; margin: 0; color: var(--muted); font-size: .82rem; }
.submit-panel p.is-error { color: var(--red); }
.submit-panel p.is-success { color: var(--green); }
.submit-button { min-width: 210px; }
.registration-aside { position: sticky; top: 102px; display: grid; gap: 10px; }
.aside-card { min-height: 160px; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.75); }
.aside-card > span { color: var(--pink); font-size: .68rem; font-weight: 900; letter-spacing: .15em; }
.aside-card strong { margin: auto 0 5px; font-family: var(--display); font-size: 1.25rem; text-transform: uppercase; }
.aside-card p { margin: 0; color: var(--muted); font-size: .76rem; }

.list-intro, .admin-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; max-width: none; }
.public-summary, .admin-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.summary-card { min-height: 105px; display: flex; flex-direction: column; justify-content: center; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.68); }
.summary-card strong { font-family: var(--display); font-size: 2rem; line-height: 1; }
.summary-card span { margin-top: 5px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.summary-card.pending strong { color: var(--gold); }.summary-card.accepted strong { color: var(--green); }.summary-card.rejected strong { color: var(--red); }
.list-toolbar { display: grid; grid-template-columns: minmax(240px, 1fr) 190px 220px; gap: 9px; margin-bottom: 12px; }
.search-box { position: relative; }
.search-box > span { position: absolute; top: 50%; left: 14px; z-index: 1; color: var(--muted); transform: translateY(-50%); }
.search-box input { padding-left: 40px; }
.public-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: rgba(255,255,255,.8); }
.public-player-table { width: 100%; min-width: 980px; border-collapse: collapse; }
.public-player-table th { padding: 13px 15px; border-bottom: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.025); font-size: .69rem; letter-spacing: .09em; text-align: left; text-transform: uppercase; }
.public-player-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); color: #294151; font-size: .8rem; vertical-align: middle; }
.public-player-table tbody tr:hover { background: rgba(52,220,255,.035); }
.public-player-table tr:last-child td { border-bottom: 0; }
.public-player-photo { position: relative; width: 58px; height: 68px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background: var(--panel-2); color: var(--cyan); font-family: var(--display); font-weight: 900; }
.public-player-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.public-player-name { min-width: 160px; }
.public-player-name strong { display: block; color: var(--ink); font-size: .9rem; text-transform: uppercase; }
.public-player-name small { color: var(--muted); }
.status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid currentColor; font-size: .69rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.status-badge::before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ""; }
.status-pending { color: var(--gold); }.status-accepted { color: var(--green); }.status-rejected { color: var(--red); }
.empty-list { padding: 36px; color: var(--muted); text-align: center; }

.placeholder-page { min-height: calc(100vh - 150px); display: grid; place-items: center; }
.placeholder-card { width: min(720px, 100%); padding: clamp(30px, 6vw, 70px); border: 1px solid var(--line); background: rgba(255,255,255,.85); text-align: center; }
.placeholder-card > span { color: var(--cyan); font-size: .73rem; font-weight: 900; letter-spacing: .16em; }
.placeholder-card h1 { margin: 12px 0; font-family: var(--display); font-size: clamp(2.4rem, 6vw, 5rem); line-height: .9; text-transform: uppercase; }
.placeholder-card p { max-width: 520px; margin: 0 auto 25px; color: var(--muted); }
.registration-hub-page { min-height: calc(100vh - 160px); }
.registration-hub-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.registration-choice { position: relative; min-height: 390px; display: flex; flex-direction: column; padding: clamp(26px,4vw,52px); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg,rgba(255,255,255,.95),rgba(255,255,255,.96)); text-decoration: none; }
.registration-choice::before { position: absolute; inset: 0; content: ""; opacity: .18; background: repeating-linear-gradient(125deg,transparent 0 34px,currentColor 35px 36px); transform: translateX(35%); }
.registration-choice::after { position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border: 44px solid currentColor; border-radius: 50%; content: ""; opacity: .09; }
.registration-choice > * { position: relative; z-index: 1; }
.registration-choice > span { color: currentColor; font-size: .74rem; font-weight: 950; letter-spacing: .16em; }
.registration-choice strong { max-width: 540px; margin: auto 0 15px; color: var(--ink); font-family: var(--display); font-size: clamp(2.5rem,5vw,5.3rem); line-height: .88; text-transform: uppercase; }
.registration-choice small { max-width: 520px; color: #2a4050; font-size: .9rem; }
.registration-choice b { margin-top: 27px; color: currentColor; font-size: .83rem; text-transform: uppercase; }
.registration-choice:hover { border-color: currentColor; transform: translateY(-3px); }
.player-choice { color: var(--cyan); }.team-choice { color: var(--pink); }
.registration-closed-card { max-width: 760px; padding: clamp(30px,5vw,70px); border: 1px solid rgba(255,208,86,.34); background: rgba(255,208,86,.045); }
.registration-closed-card > span { color: var(--gold); font-weight: 900; letter-spacing: .15em; }
.registration-closed-card h2 { margin: 12px 0; font-family: var(--display); font-size: clamp(2.4rem,5vw,5rem); line-height: .92; text-transform: uppercase; }
.registration-closed-card p { max-width: 580px; margin: 0 0 25px; color: var(--muted); }

.admin-hero { margin-bottom: 35px; }
.admin-hero > div:first-child { max-width: 780px; }
.admin-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.admin-tabs { display: flex; gap: 0; margin-bottom: 16px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.admin-tabs button { min-height: 52px; flex: 0 0 auto; padding: 0 20px; border: 0; border-bottom: 3px solid transparent; color: var(--muted); background: transparent; font-size: .8rem; font-weight: 850; }
.admin-tabs button.is-active { border-bottom-color: var(--cyan); color: var(--ink); }
.tab-count { min-width: 22px; height: 22px; display: inline-grid; place-items: center; margin-left: 7px; border-radius: 50%; color: #231600; background: var(--gold); font-size: .68rem; }
.admin-panel { padding: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.8); }
.admin-toolbar { grid-template-columns: minmax(240px, 1fr) 200px auto; }
.application-list { display: grid; gap: 8px; }
.application-card { display: grid; grid-template-columns: 64px minmax(190px, 1fr) 140px 140px 125px auto auto; gap: 14px; align-items: center; padding: 11px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.application-card:hover { border-color: rgba(52,220,255,.32); background: rgba(52,220,255,.035); }
.application-photo { position: relative; width: 64px; height: 72px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); color: var(--cyan); background: var(--panel-2); font-family: var(--display); font-weight: 900; }
.application-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.application-name { min-width: 0; }
.application-name strong { display: block; overflow: hidden; color: var(--ink); font-size: .88rem; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.application-name small, .application-meta { color: var(--muted); font-size: .72rem; }
.review-button { min-height: 38px; padding: 0 13px; border: 1px solid rgba(52,220,255,.32); color: var(--cyan); background: transparent; font-size: .74rem; font-weight: 850; }
.settings-form { max-width: 1060px; margin: 0 auto; }
.settings-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.settings-heading span { color: var(--cyan); font-size: .68rem; font-weight: 900; letter-spacing: .14em; }
.settings-heading h2 { margin: 3px 0 0; font-family: var(--display); font-size: 1.7rem; text-transform: uppercase; }
.settings-grid label small { color: var(--muted); font-weight: 550; }
.switch-row { min-height: 72px; display: flex !important; grid-template-columns: 22px 1fr; flex-direction: row !important; align-items: center; padding: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.switch-row span { display: grid; }
.switch-row strong { color: var(--ink); }
.switch-row small { color: var(--muted); font-weight: 500; }
.settings-message { min-height: 24px; margin: 17px 0 0; color: var(--muted); }
.settings-message.is-error { color: var(--red); }.settings-message.is-success { color: var(--green); }
.mobile-save { display: none; margin-top: 18px; }

.application-dialog { width: min(920px, calc(100vw - 28px)); max-height: min(860px, calc(100vh - 30px)); padding: 0; overflow: auto; border: 1px solid rgba(52,220,255,.25); color: var(--ink); background: #f1f5fa; box-shadow: 0 30px 120px rgba(0,0,0,.65); }
.application-dialog::backdrop { background: rgba(255,255,255,.78); backdrop-filter: blur(6px); }
.dialog-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.dialog-top span { color: var(--cyan); font-size: .67rem; font-weight: 900; letter-spacing: .14em; }
.dialog-top h2 { margin: 3px 0 0; font-family: var(--display); font-size: 1.8rem; text-transform: uppercase; }
.dialog-top button { width: 40px; height: 40px; border: 1px solid var(--line); color: var(--ink); background: transparent; font-size: 1.4rem; }
.application-details { padding: 22px 24px; }
.application-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.detail-card { min-height: 82px; padding: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.detail-card.wide { grid-column: span 2; }
.detail-card small { display: block; margin-bottom: 5px; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.detail-card strong { overflow-wrap: anywhere; font-size: .82rem; }
.document-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.document-links a { min-height: 46px; display: grid; place-items: center; border: 1px solid rgba(52,220,255,.28); color: var(--cyan); font-size: .74rem; font-weight: 850; text-decoration: none; }
.document-links a:hover { background: rgba(52,220,255,.07); }
.application-review { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; padding: 0 24px 22px; }
.dialog-message { min-height: 22px; margin: 0; padding: 0 24px; color: var(--muted); font-size: .78rem; }
.dialog-message.is-error { color: var(--red); }.dialog-message.is-success { color: var(--green); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 24px 24px; }
.reject-button { border-color: rgba(255,101,115,.45); color: var(--red); background: rgba(255,101,115,.07); }
.danger-button { margin-right: auto; border-color: rgba(255,101,115,.72); color: #3d3d3d; background: rgba(151,20,36,.45); }
.danger-button:hover { background: rgba(190,27,48,.66); }

.portal-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px clamp(18px, 4vw, 64px); border-top: 1px solid var(--line); color: var(--muted); }
.portal-footer span { color: var(--cyan); font-family: var(--display); font-weight: 950; }
.portal-footer p { margin: 0; font-size: .76rem; }
.portal-toast { position: fixed; right: 18px; bottom: 18px; z-index: 100; max-width: min(420px, calc(100vw - 36px)); padding: 13px 16px; border: 1px solid rgba(52,220,255,.34); color: var(--ink); background: #f0f5f9; box-shadow: 0 16px 48px rgba(0,0,0,.38); font-size: .8rem; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .2s ease; }
.portal-toast.is-visible { opacity: 1; transform: translateY(0); }
.portal-toast.is-error { border-color: rgba(255,101,115,.55); }

:root { --brand-primary: var(--cyan); --brand-accent: var(--pink); }
html[data-heading-font="geometric"] { --display: "Arial Black", Arial, sans-serif; }
html[data-heading-font="classic"], html[data-heading-font="editorial"] { --display: Georgia, "Times New Roman", serif; }
html[data-heading-font="sport"], html[data-heading-font="impact"] { --display: Impact, "Arial Black", sans-serif; }
html[data-heading-font="modern"] { --display: Arial, Helvetica, sans-serif; }
html[data-heading-size="small"] .page-intro h1, html[data-heading-size="small"] .admin-hero h1 { font-size: clamp(2.2rem, 5vw, 4.6rem); }
html[data-heading-size="large"] .page-intro h1, html[data-heading-size="large"] .admin-hero h1 { font-size: clamp(3rem, 7vw, 6.8rem); }
html[data-portal-theme="royal-blue"] { --cyan: #4b8dff; --pink: #ffd34e; }
html[data-portal-theme="stadium-green"] { --cyan: #45e49d; --pink: #d8ff4f; }
html[data-portal-theme="crimson-gold"] { --cyan: #f3c45e; --pink: #ff5567; }
html[data-portal-theme="violet-neon"] { --cyan: #a77bff; --pink: #29edcf; }
html[data-portal-theme="monochrome"] { --cyan: #ffffff; --pink: #a9b0b6; }
html[data-portal-theme="sky-pink"] { --cyan: #39cfff; --pink: #ff49a4; }
.portal-brand-mark, .portal-button.primary { background: var(--brand-primary); }
.portal-brand-mark { box-shadow: 8px 8px 0 var(--brand-accent); }
.portal-button.primary { box-shadow: 7px 7px 0 var(--brand-accent); }
.hero-copy h1 b { color: var(--brand-accent); }
.portal-button.watch-live-button { border-color: #ff3535; color: #3d3d3d; background: linear-gradient(135deg, #ff1414, #c90000); box-shadow: 7px 7px 0 rgba(76,0,0,.72); letter-spacing: .015em; }
.portal-button.watch-live-button:hover { border-color: #651515; background: linear-gradient(135deg, #ff3030, #e00000); transform: translate(-1px,-1px); }
.portal-button.watch-live-button[hidden] { display: none; }
.youtube-play-mark { width: 25px; height: 18px; display: inline-grid; place-items: center; border-radius: 5px; background: #fff; }
.youtube-play-mark::after { width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 7px solid #e00000; content: ""; transform: translateX(1px); }

.home-score-summary {
  width: min(700px, 100%);
  display: block;
  margin: 0 auto clamp(24px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 17px;
  color: #11202d;
  background: #f8fafc;
  box-shadow: 0 20px 65px rgba(0,0,0,.28);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-score-summary:hover { transform: translateY(-3px); box-shadow: 0 25px 75px rgba(0,0,0,.36); }
.home-score-meta { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 20px; border-bottom: 1px solid #d9e0e6; font-size: .78rem; }
.home-score-meta > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-score-meta > b { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; color: #3d3d3d; background: #e51d34; font-size: .72rem; }
.home-score-meta i { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.22); }
.home-score-teams { display: grid; gap: 7px; padding: 15px 20px; }
.home-score-teams > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.home-score-teams strong { overflow: hidden; font-size: clamp(.88rem, 1.5vw, 1.08rem); font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.home-score-teams > div.is-batting strong, .home-score-teams > div.is-batting b { font-weight: 900; }
.home-score-teams span { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.home-score-teams b { font-size: clamp(1.2rem, 2.6vw, 1.85rem); line-height: 1; }.home-score-teams small { color: #52606b; font-size: .78rem; }
.home-score-note { min-height: 44px; display: flex; align-items: center; padding: 9px 20px; color: #29353d; border-top: 1px solid #d9e0e6; background: #eef1f3; font-size: .82rem; }

.home-showcase { margin-bottom: clamp(35px, 5vw, 70px); border: 1px solid var(--line); background: #f2f6fa; box-shadow: 0 28px 85px rgba(0,0,0,.28); }
.showcase-viewport { position: relative; aspect-ratio: 16 / 9; max-height: 650px; overflow: hidden; touch-action: pan-y; }
.showcase-track { position: absolute; inset: 0; display: flex; transition: transform .62s cubic-bezier(.2,.72,.2,1); will-change: transform; }
.showcase-slide { position: relative; flex: 0 0 100%; min-width: 0; overflow: hidden; background: #f2f6fa; }
.showcase-media, .contain-photo-frame { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; isolation: isolate; background: #f3f7fa; }
.showcase-media::after, .contain-photo-frame::after { position: absolute; inset: 0; z-index: 0; content: ""; background: rgba(255,255,255,.44); pointer-events: none; }
.showcase-backdrop, .contain-photo-backdrop { position: absolute; inset: -12%; z-index: -1; width: 124%; height: 124%; object-fit: cover; filter: blur(42px) saturate(1.6) brightness(.13); transform: scale(1.08); }
.showcase-image, .contain-photo-image { position: absolute; inset: 0; z-index: 1; width: 100% !important; height: 100% !important; max-width: none; max-height: none; display: block; object-fit: contain !important; object-position: 50% 50% !important; }
.showcase-slide.has-overlay::after { position: absolute; inset: 0; z-index: 1; content: ""; background: linear-gradient(90deg, rgba(255,255,255,.8), transparent 62%), linear-gradient(0deg, rgba(255,255,255,.42), transparent 48%); pointer-events: none; }
.highlight-overlay, .motm-overlay { position: absolute; z-index: 2; left: clamp(22px, 5vw, 74px); bottom: clamp(25px, 7vw, 88px); max-width: min(650px, 75%); }
.highlight-overlay span, .motm-overlay span { color: var(--cyan); font-size: clamp(.65rem, 1.2vw, .85rem); font-weight: 950; letter-spacing: .17em; }
.motm-overlay > span { display: block; color: #3d3d3d; font-family: var(--display); font-size: clamp(1.35rem, 3.3vw, 3.35rem); line-height: .92; letter-spacing: .055em; text-shadow: 0 4px 22px rgba(0,0,0,.78), 0 0 28px color-mix(in srgb, var(--pink) 48%, transparent); }
.highlight-overlay strong, .motm-overlay strong { display: block; margin-top: 8px; font-family: var(--display); font-size: clamp(2rem, 6vw, 6rem); line-height: .88; text-transform: uppercase; }
.highlight-overlay p, .motm-overlay p { max-width: 560px; margin: 12px 0 0; color: #264155; font-size: clamp(.78rem, 1.4vw, 1rem); }
.motm-overlay small { display: block; margin-top: 9px; color: var(--gold); font-weight: 850; text-transform: uppercase; }
.motm-overlay .motm-versus { margin-top: 2px; color: #244357; font-size: .78em; }
.showcase-arrow { position: absolute; z-index: 4; top: 50%; width: 46px; height: 58px; border: 1px solid rgba(255,255,255,.2); color: #3d3d3d; background: rgba(255,255,255,.54); font-size: 2rem; transform: translateY(-50%); }
.showcase-arrow.previous { left: 12px; }.showcase-arrow.next { right: 12px; }
.showcase-footer { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 14px; border-top: 1px solid var(--line); }
.showcase-dots { display: flex; gap: 7px; }
.showcase-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #536677; }
.showcase-dots button.is-active { width: 30px; border-radius: 10px; background: var(--cyan); }
.player-list-cta { min-width: 245px; }
.portal-action-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.violet-card { --card-color: #2a1565; }
.public-upload-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.public-media-form { min-height: 100%; }
.public-media-form > .portal-button { align-self: end; justify-self: start; margin-top: 18px; }
.public-upload-message { min-height: 23px; margin: 14px 0 0; color: var(--muted); font-size: .8rem; }
.public-upload-message.is-success { color: var(--green); }.public-upload-message.is-error { color: var(--red); }
.point-table-section { scroll-margin-top: 100px; margin-top: clamp(55px,8vw,110px); padding-top: clamp(28px,4vw,48px); border-top: 1px solid var(--line); }
.point-table-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.point-table-heading h2 { margin: 7px 0 0; font-family: var(--display); font-size: clamp(2.8rem,7vw,6.4rem); line-height: .9; text-transform: uppercase; }
.point-table-heading > small { color: var(--muted); }
.point-table-frame { position: relative; inset: auto; width: 100%; min-height: 420px; aspect-ratio: 16 / 9; border: 1px solid var(--line); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.rules-fee-note { margin-top: 12px; padding: 17px; border: 1px solid rgba(255,208,86,.3); color: #625119; background: rgba(255,208,86,.06); white-space: pre-line; }
.player-toolbar { grid-template-columns: minmax(240px,1fr) 180px 210px 210px; }
.public-player-table, .public-team-table { width: 100%; border-collapse: collapse; }
.public-team-table { min-width: 1240px; }
.public-team-table th, .public-team-table td { padding: 12px 13px; border-bottom: 1px solid var(--line); color: #294151; font-size: .78rem; text-align: left; vertical-align: middle; }
.public-team-table th { color: var(--muted); background: rgba(255,255,255,.025); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.public-team-logo { position: relative; width: 62px; height: 62px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); color: var(--cyan); background: #eff4f9; font-family: var(--display); }
.public-team-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.team-table-name { min-width: 145px; display: block; color: var(--ink); text-transform: uppercase; }
.table-action, .mini-action { min-height: 35px; padding: 0 10px; border: 1px solid rgba(52,220,255,.32); color: var(--cyan); background: rgba(52,220,255,.04); font-size: .7rem; font-weight: 850; white-space: nowrap; }
.table-action:hover, .mini-action:hover { background: rgba(52,220,255,.12); }
.muted-cell { color: var(--muted); font-size: .72rem; }
.photo-link { display: inline-flex; text-decoration: none; }

.quick-review-card { grid-template-columns: 64px minmax(180px,1fr) 130px auto 125px minmax(250px,auto); }
.quick-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.mini-action.accept { border-color: rgba(67,227,154,.4); color: var(--green); background: rgba(67,227,154,.06); }
.mini-action.reject { border-color: rgba(255,101,115,.4); color: var(--red); background: rgba(255,101,115,.06); }
.quick-player-type { min-height: 38px; padding: 7px 9px; font-size: .7rem; }
.team-logo-small img { object-fit: contain; }
.settings-subheading { margin: 34px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--cyan); font-size: .7rem; font-weight: 900; letter-spacing: .13em; }
.brand-upload-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; margin-top: 22px; }
.brand-upload-grid .upload-box { min-height: 125px; }
.point-table-upload { border-color: rgba(255,208,86,.48); background: rgba(255,208,86,.045); }
.point-table-admin { display: grid; grid-template-columns: minmax(280px,.65fr) minmax(360px,1.35fr); gap: 24px; align-items: start; }
.point-table-admin h2 { margin: 8px 0 10px; font-family: var(--display); font-size: clamp(2.2rem,4vw,4.5rem); line-height: .92; text-transform: uppercase; }
.point-table-admin > div > p:not(.portal-eyebrow) { margin: 0 0 22px; color: var(--muted); }
.dedicated-upload { min-height: 210px; }
.point-table-admin-preview { min-height: 430px; position: relative; border: 1px solid var(--line); background: #f3f7fa; }
.point-table-preview-frame { position: absolute; inset: 0; }
.point-table-empty { min-height: 430px; display: grid; place-items: center; padding: 30px; color: var(--muted); text-align: center; }
.point-table-delete { width: 100%; margin-top: 12px; }
.youtube-live-settings { margin-bottom: 22px; padding: clamp(18px,3vw,28px); border: 1px solid rgba(255,53,53,.35); background: linear-gradient(145deg, rgba(255,20,20,.08), rgba(255,255,255,.82)); }
.youtube-live-settings .settings-heading span { color: #651515; }
.youtube-live-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.youtube-live-actions .portal-button { min-height: 43px; }
.live-score-admin-grid { display: grid; grid-template-columns: minmax(310px,.85fr) minmax(420px,1.15fr); gap: 22px; align-items: start; }
.live-score-controls { display: grid; gap: 14px; }
.live-score-controls > label:not(.switch-row) { display: grid; gap: 7px; color: #2b4050; font-size: .78rem; font-weight: 800; }
.overlay-link-card { display: grid; gap: 9px; padding: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.overlay-link-card > span { color: var(--cyan); font-size: .67rem; font-weight: 950; letter-spacing: .1em; }
.overlay-link-card > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }.overlay-link-card input { min-width: 0; font-size: .72rem; }
.overlay-link-card > small { color: var(--muted); font-size: .7rem; line-height: 1.45; }
.live-score-actions { display: flex; flex-wrap: wrap; gap: 8px; }.live-score-actions .portal-button { min-height: 43px; }
.live-score-preview-stack { display: grid; gap: 16px; }
.live-score-preview-card { overflow: hidden; border: 1px solid var(--line); background: #f3f7fa; }
.live-score-preview-card > div { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.live-score-preview-card > div span { color: var(--pink); font-size: .68rem; font-weight: 950; letter-spacing: .12em; }.live-score-preview-card > div small { color: var(--muted); font-size: .66rem; }
.live-score-preview-card iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; background: linear-gradient(135deg,#eef3f7,#f2f5fa); }
.team-poster-manager { display: grid; grid-template-columns: minmax(200px,1fr) 180px; gap: 14px 18px; align-items: center; margin: 0 24px 22px; padding: 17px; border: 1px solid rgba(52,220,255,.22); background: rgba(52,220,255,.035); }
.team-poster-manager > div:first-child { display: grid; gap: 4px; }.team-poster-manager > div:first-child span { color: var(--cyan); font-size: .66rem; font-weight: 950; letter-spacing: .12em; }.team-poster-manager > div:first-child strong { font-size: .85rem; }
.team-poster-manager img { grid-row: span 2; width: 180px; aspect-ratio: 3 / 2; object-fit: contain; background: #f3f7fa; }
.team-poster-manager label { display: grid; gap: 6px; color: var(--muted); font-size: .72rem; font-weight: 800; }.team-poster-manager label input { min-height: 43px; padding: 8px; font-size: .7rem; }.team-poster-manager > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; }
.team-logo-manager { border-color: rgba(255,63,141,.28); background: rgba(255,63,141,.035); }
.team-logo-manager > div:first-child span { color: var(--pink); }
.team-logo-manager img { aspect-ratio: 1; padding: 8px; object-fit: contain; background: #fff; }
.team-poster-library { margin-bottom: 30px; padding: clamp(18px,3vw,30px); border: 1px solid rgba(52,220,255,.24); background: rgba(255,255,255,.7); }
.team-poster-library .settings-heading { margin-bottom: 20px; }
.team-poster-library .settings-heading p { max-width: 720px; margin: 8px 0 0; color: var(--muted); font-size: .78rem; }
.team-poster-library-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.team-poster-library-card { min-width: 0; display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 12px; padding: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.team-poster-library-preview { position: relative; grid-row: span 3; width: 92px; aspect-ratio: 3 / 2; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); color: var(--muted); background: #f3f7fa; font-size: .65rem; text-align: center; }
.team-poster-library-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.team-poster-library-copy { min-width: 0; display: grid; gap: 3px; align-content: start; }
.team-poster-library-card strong { overflow: hidden; color: var(--ink); font-size: .8rem; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.team-poster-library-card small { color: var(--muted); font-size: .66rem; }
.team-poster-library-card input { min-width: 0; width: 100%; min-height: 39px; padding: 6px; font-size: .65rem; }
.team-poster-library-actions { display: flex; flex-wrap: wrap; gap: 6px; }.team-poster-library-actions button { min-height: 33px; }
.team-logo-library-row { grid-column: 1 / -1; display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 8px 10px; align-items: center; margin-top: 2px; padding-top: 10px; border-top: 1px solid var(--line); }
.team-logo-library-preview { grid-row: span 2; width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; padding: 4px; border: 1px solid rgba(255,63,141,.32); background: #fff; color: #42515e; font-size: .52rem; text-align: center; }
.team-logo-library-preview img { width: 100%; height: 100%; object-fit: contain; }
.team-logo-library-row label { display: grid; gap: 4px; color: var(--muted); font-size: .64rem; font-weight: 800; }
.team-logo-library-row label span { color: var(--pink); font-size: .61rem; letter-spacing: .08em; }
.team-logo-library-row .mini-action { justify-self: start; min-height: 33px; }
.application-edit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 0 24px 22px; }
.application-edit-grid label, .replacement-files label { display: grid; gap: 6px; color: #2b3f50; font-size: .76rem; font-weight: 800; }
.replacement-files { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; padding: 0 24px 22px; }
.replacement-files > strong { grid-column: 1 / -1; color: var(--pink); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.replacement-files input { min-height: 43px; padding: 8px; font-size: .7rem; }

.media-admin-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.compact-settings { padding: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.compact-settings .settings-heading { margin-bottom: 18px; }
.media-list { display: grid; gap: 8px; }
.media-item { display: grid; grid-template-columns: 90px minmax(150px,1fr) auto auto auto; gap: 12px; align-items: center; padding: 9px; border: 1px solid var(--line); }
.media-item img { width: 90px; height: 58px; object-fit: contain; background: #f2f6fa; }
.media-item > div { display: grid; }.media-item strong { text-transform: uppercase; }.media-item small { color: var(--muted); }

.schedule-builder { padding: clamp(18px,3vw,34px); border: 1px solid var(--line); background: rgba(255,255,255,.82); }
.schedule-range-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; gap: 10px; align-items: end; }
.schedule-range-grid label, .schedule-match-row label { display: grid; gap: 6px; color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.schedule-times-panel { margin-top: 18px; padding: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.schedule-times-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.schedule-times-heading > div { display: grid; gap: 3px; }
.schedule-times-heading strong { color: var(--ink); font-size: .88rem; text-transform: uppercase; }
.schedule-times-heading small { color: var(--muted); line-height: 1.4; }
.schedule-default-times { display: grid; grid-template-columns: repeat(auto-fill,minmax(120px,1fr)); gap: 10px; }
.schedule-default-times label { display: grid; gap: 5px; color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.schedule-default-times input { min-height: 42px; }
.schedule-date-picker { display: grid; grid-template-columns: repeat(auto-fit,minmax(105px,1fr)); gap: 8px; margin: 24px 0; }
.schedule-date-chip { cursor: pointer; }
.schedule-date-chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.schedule-date-chip span { min-height: 70px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.02); }
.schedule-date-chip strong { color: var(--ink); }.schedule-date-chip small { font-size: .65rem; }
.schedule-date-chip input:checked + span { border-color: var(--cyan); color: var(--cyan); background: rgba(52,220,255,.08); }
.schedule-matches-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 32px 0 14px; }
.schedule-matches-heading span { color: var(--cyan); font-size: .68rem; font-weight: 900; letter-spacing: .14em; }
.schedule-matches-heading h2 { margin: 3px 0 0; font-family: var(--display); text-transform: uppercase; }
.schedule-add-match-controls { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; }
.schedule-add-match-controls label { display: grid; gap: 6px; color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.schedule-add-match-controls input { width: 170px; min-height: 42px; }
.schedule-match-list { display: grid; gap: 8px; }
.schedule-match-row { display: grid; grid-template-columns: 44px 135px 105px minmax(150px,1fr) 34px minmax(150px,1fr) minmax(140px,.8fr) auto; gap: 8px; align-items: end; padding: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.schedule-match-order { display: grid; justify-items: center; align-self: center; gap: 3px; }
.schedule-drag-handle { width: 38px; min-height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: rgba(52,220,255,.08); color: var(--cyan); font-size: 1.2rem; line-height: 1; cursor: grab; touch-action: none; user-select: none; }
.schedule-drag-handle:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.schedule-match-row.is-dragging { z-index: 20; background: #eff4f9; border-color: var(--cyan); box-shadow: 0 16px 34px rgba(0,0,0,.35); cursor: grabbing; }
.schedule-drag-placeholder { box-sizing: border-box; border: 2px dashed var(--cyan); background: rgba(52,220,255,.07); }
.schedule-match-row input, .schedule-match-row select { min-height: 43px; padding: 8px; font-size: .76rem; }
.match-number { align-self: center; color: var(--cyan); font-family: var(--display); font-size: 1.2rem; }
.versus { align-self: center; color: var(--pink); font-family: var(--display); font-weight: 900; }
.schedule-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.match-poster-picker { display: flex; align-items: end; gap: 8px; padding: 7px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.match-poster-picker label { display: grid; gap: 3px; color: var(--muted); font-size: .66rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.match-poster-picker input { width: 96px; min-height: 42px; }

.home-important-notice { position: relative; max-width: 1480px; margin: 0 auto 22px; overflow: hidden; border: 1px solid rgba(255,69,83,.52); background: linear-gradient(145deg,rgba(116,7,22,.2),rgba(255,255,255,.92)); box-shadow: 0 16px 50px rgba(0,0,0,.22); }
.home-important-notice h2 { margin: 0; padding: 13px 20px; color: #3d3d3d; background: linear-gradient(90deg,#b40720,#ed2539 56%,#f7eaec); font-family: var(--display); font-size: clamp(1.25rem,2.4vw,2.25rem); letter-spacing: .035em; text-align: center; text-transform: uppercase; }
.home-important-notice h2 em { padding: 0 .22em; color: #65151d; font-style: normal; }
.home-important-notice > p { margin: 0; padding: clamp(18px,3vw,30px); color: #294152; font-size: clamp(.98rem,1.55vw,1.3rem); font-weight: 650; line-height: 1.65; text-align: center; white-space: pre-wrap; overflow-wrap: anywhere; }
.home-important-notice-photo { display: grid; place-items: center; padding: clamp(10px,2vw,22px); border-top: 1px solid rgba(255,255,255,.09); background: #f3f7fa; }
.home-important-notice-photo img { display: block; max-width: 100%; width: auto; height: auto; max-height: min(78vh,1200px); object-fit: contain; }

.important-notice-settings { padding: clamp(18px,3vw,30px); border: 1px solid rgba(255,69,83,.3); background: linear-gradient(145deg,rgba(117,8,23,.08),rgba(255,255,255,.88)); }
.important-notice-settings .settings-heading span { color: #65151d; }
.important-notice-admin-grid { display: grid; grid-template-columns: minmax(320px,.85fr) minmax(380px,1.15fr); gap: 22px; align-items: start; }
.important-notice-controls { display: grid; gap: 14px; }
.important-notice-controls > label:not(.switch-row):not(.upload-box) { display: grid; gap: 7px; color: #2b4050; font-size: .78rem; font-weight: 800; }
.important-notice-controls textarea { min-height: 180px; resize: vertical; }
.important-notice-upload { min-height: 150px; border-color: rgba(255,69,83,.34); background: rgba(255,69,83,.035); }
.important-notice-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.important-notice-actions .portal-button { min-height: 43px; }
.important-notice-admin-preview { overflow: hidden; border: 1px solid var(--line); background: #f3f7fa; }
.important-notice-admin-preview > span { min-height: 44px; display: flex; align-items: center; padding: 10px 13px; color: #65151d; border-bottom: 1px solid var(--line); font-size: .66rem; font-weight: 950; letter-spacing: .12em; }
.important-notice-admin-preview article { min-height: 330px; background: linear-gradient(145deg,rgba(116,7,22,.18),#f1f5fa); }
.important-notice-admin-preview h3 { margin: 0; padding: 12px; color: #3d3d3d; background: linear-gradient(90deg,#b40720,#ed2539 56%,#f7eaec); font-family: var(--display); font-size: 1.65rem; text-align: center; text-transform: uppercase; }
.important-notice-admin-preview h3 em { padding: 0 5px; color: #65151d; font-style: normal; }
.important-notice-admin-preview article > p { margin: 0; padding: 22px; color: #294152; font-size: .95rem; line-height: 1.6; text-align: center; white-space: pre-wrap; overflow-wrap: anywhere; }
.important-notice-admin-preview article > div { display: grid; place-items: center; padding: 12px; border-top: 1px solid rgba(255,255,255,.09); background: #f3f7fa; }
.important-notice-admin-preview img { display: block; max-width: 100%; width: auto; max-height: 420px; object-fit: contain; }

.score-design-launch { border-color: rgba(255,63,141,.7); color: #3d3d3d; background: linear-gradient(135deg,#ff3f8d,#a31672); box-shadow: 0 8px 24px rgba(255,63,141,.18); }
.score-design-page { max-width: 1680px; }
.score-design-hero { margin-bottom: 18px; }
.score-design-hero > div:first-child { max-width: 850px; }
.score-design-status { min-height: 48px; display: flex; align-items: center; gap: 9px; margin-bottom: 14px; padding: 10px 14px; border: 1px solid rgba(52,220,255,.22); background: rgba(52,220,255,.035); }
.score-design-status strong { color: var(--cyan); font-size: .7rem; letter-spacing: .12em; }
.score-design-status small { color: var(--muted); font-size: .7rem; }
.score-design-status .settings-message { min-height: 0; margin: 0 0 0 auto; font-size: .72rem; }
.score-design-live-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #29df89; box-shadow: 0 0 0 5px rgba(41,223,137,.1); }
.score-design-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.45); }
.score-design-tabs button { min-height: 56px; padding: 10px 18px; border: 0; border-bottom: 3px solid transparent; color: var(--muted); background: transparent; font-size: .78rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.score-design-tabs button.is-active { border-bottom-color: var(--pink); color: #3d3d3d; background: rgba(255,63,141,.08); }
.score-design-panel { min-width: 0; }
.score-design-workspace { display: grid; grid-template-columns: minmax(400px,520px) minmax(520px,1fr); gap: 14px; align-items: start; }
.score-design-controls { max-height: calc(100vh - 190px); overflow: auto; overscroll-behavior: contain; padding: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.94); scrollbar-color: var(--muted) transparent; }
.design-control-section { margin-bottom: 14px; padding: 14px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.02); }
.design-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.design-section-heading span { color: var(--pink); font-size: .62rem; font-weight: 950; letter-spacing: .13em; }
.design-section-heading strong { color: #174464; font-size: .78rem; text-transform: uppercase; }
.design-control-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.design-control-grid label { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 86px; align-items: center; gap: 8px; color: #2f404b; font-size: .68rem; font-weight: 750; line-height: 1.2; }
.design-control-grid label.wide-control { grid-column: 1 / -1; grid-template-columns: minmax(0,1fr) 180px; }
.design-control-grid input, .design-control-grid select { width: 100%; min-width: 0; min-height: 37px; padding: 6px 7px; border-color: rgba(255,255,255,.13); font-size: .7rem; }
.design-control-grid input[type="color"] { height: 37px; padding: 3px; cursor: pointer; }
.design-control-grid small { grid-column: 1 / -1; color: #69808f; font-size: .59rem; }
.score-logo-editor-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.score-logo-editor-grid.two-logo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.score-logo-editor { min-width: 0; display: grid; align-content: start; gap: 5px; padding: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.15); }
.score-logo-editor > div { height: 74px; display: grid; place-items: center; overflow: hidden; padding: 5px; background: #fff; }
.score-logo-editor img { width: 100%; height: 100%; object-fit: contain; }
.score-logo-editor > strong { margin-top: 3px; color: #3d3d3d; font-size: .7rem; }
.score-logo-editor > small { min-height: 24px; color: var(--muted); font-size: .6rem; }
.score-logo-editor input { width: 100%; min-width: 0; min-height: 34px; padding: 4px; font-size: .58rem; }
.score-logo-editor p { display: grid; gap: 4px; margin: 2px 0 0; }
.score-logo-editor button { min-height: 31px; padding: 5px 6px; border: 1px solid rgba(52,220,255,.3); color: var(--cyan); background: rgba(52,220,255,.05); font-size: .59rem; font-weight: 850; cursor: pointer; }
.score-logo-editor button[data-score-logo-delete] { border-color: rgba(255,101,115,.28); color: #65151d; background: rgba(255,101,115,.04); }
.score-logo-editor button:disabled { opacity: .45; cursor: wait; }
.score-design-preview-shell { position: sticky; top: 10px; overflow: hidden; border: 1px solid rgba(52,220,255,.2); background: #f3f7fa; box-shadow: 0 24px 70px rgba(0,0,0,.24); }
.score-design-preview-heading { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 13px; border-bottom: 1px solid var(--line); }
.score-design-preview-heading > div { display: grid; gap: 2px; }
.score-design-preview-heading span { color: var(--cyan); font-size: .67rem; font-weight: 950; letter-spacing: .12em; }
.score-design-preview-heading small { color: var(--muted); font-size: .62rem; }
.score-design-preview-heading a { color: #3d3d3d; font-size: .68rem; font-weight: 800; text-decoration: none; }
.score-design-preview-shell iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; background: #fff; }
.score-design-preview-shell #overlayDesignPreview {
  background-color: #eef3f8;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.08) 75%);
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  background-size: 24px 24px;
}
.score-design-preview-shell > p { margin: 0; padding: 9px 12px; color: var(--muted); font-size: .65rem; }
.score-design-savebar { position: sticky; bottom: 8px; z-index: 9; min-height: 58px; display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 14px; padding: 9px 12px; border: 1px solid rgba(255,63,141,.35); background: rgba(255,255,255,.94); box-shadow: 0 -16px 38px rgba(0,0,0,.28); backdrop-filter: blur(12px); }
.score-design-savebar span { color: var(--muted); font-size: .72rem; }

@media (max-width: 1080px) {
  .portal-header { gap: 14px; }
  .portal-nav a { padding-inline: 9px; font-size: .75rem; }
  .hero-panel { grid-template-columns: 1fr 310px; gap: 34px; }
  .portal-action-grid { grid-template-columns: repeat(2, 1fr); }
  .registration-layout { grid-template-columns: 1fr; }
  .registration-aside { position: static; grid-template-columns: repeat(3, 1fr); }
  .application-card, .quick-review-card { grid-template-columns: 60px minmax(180px, 1fr) 125px auto minmax(230px,auto); }
  .application-card .application-category { display: none; }
  .brand-upload-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .schedule-match-row { grid-template-columns: 38px 120px 95px minmax(140px,1fr) 30px minmax(140px,1fr); }
  .schedule-match-row label:nth-of-type(5), .schedule-match-row .mini-action { grid-column: auto; }
  .score-design-workspace { grid-template-columns: 1fr; }
  .score-design-controls { max-height: none; }
  .score-design-preview-shell { position: static; }
  .important-notice-admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .portal-header { min-height: 68px; padding-inline: 16px; }
  .portal-brand-mark { width: 42px; height: 42px; box-shadow: 5px 5px 0 rgba(255,63,141,.72); }
  .portal-brand strong { font-size: .88rem; }
  .portal-brand small { font-size: .65rem; }
  .menu-button { display: inline-flex; align-items: center; }
  .portal-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); background: #f1f6fa; box-shadow: 0 18px 45px rgba(0,0,0,.35); }
  .portal-nav.is-open { display: grid; }
  .portal-nav a { width: 100%; padding-inline: 12px; }
  .registration-menu { width: 100%; }
  .registration-menu summary { width: 100%; justify-content: space-between; padding-inline: 12px; }
  .registration-menu > div { position: static; min-width: 0; margin: 3px 0 7px; box-shadow: none; }
  .portal-nav .admin-link { margin: 4px 0 0; }
  .portal-page { padding-top: 45px; }
  .hero-panel { min-height: auto; grid-template-columns: 1fr; padding-bottom: 20px; }
  .hero-copy h1 { font-size: clamp(3.6rem, 16vw, 7.5rem); }
  .live-register-card { max-width: 520px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .upload-grid { grid-template-columns: 1fr; }
  .upload-box { min-height: 125px; }
  .registration-aside { grid-template-columns: 1fr; }
  .aside-card { min-height: 130px; }
  .list-intro, .admin-hero { align-items: flex-start; flex-direction: column; }
  .public-summary, .admin-summary { grid-template-columns: repeat(2, 1fr); }
  .list-toolbar, .admin-toolbar { grid-template-columns: 1fr 1fr; }
  .search-box { grid-column: 1 / -1; }
  .application-card, .quick-review-card { grid-template-columns: 56px minmax(150px, 1fr) auto; }
  .application-card .application-phone, .application-card .application-date { display: none; }
  .quick-review-card .quick-player-type, .quick-review-card .quick-actions { grid-column: 2 / -1; justify-self: start; }
  .application-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .document-links { grid-template-columns: 1fr; }
  .application-review { grid-template-columns: 1fr; }
  .media-admin-grid { grid-template-columns: 1fr; }
  .team-poster-library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .public-upload-grid { grid-template-columns: 1fr; }
  .registration-hub-grid, .point-table-admin { grid-template-columns: 1fr; }
  .live-score-admin-grid { grid-template-columns: 1fr; }
  .score-design-tabs { grid-template-columns: 1fr; }
  .score-design-status { align-items: flex-start; flex-wrap: wrap; }
  .score-design-status .settings-message { width: 100%; margin-left: 0; }
  .schedule-range-grid { grid-template-columns: 1fr 1fr; }
  .schedule-match-row { grid-template-columns: 38px 1fr 1fr; }
  .schedule-match-row label:nth-of-type(3), .schedule-match-row label:nth-of-type(4), .schedule-match-row label:nth-of-type(5), .schedule-match-row .mini-action { grid-column: 2 / -1; }
  .schedule-match-row .versus { display: none; }
  .replacement-files { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 560px) {
  .portal-brand > span:last-child { max-width: 205px; }
  .portal-page { padding-inline: 14px; padding-bottom: 55px; }
  .hero-copy h1 { margin-top: 12px; }
  .hero-actions, .admin-actions { display: grid; width: 100%; }
  .hero-actions .portal-button, .admin-actions .portal-button { width: 100%; }
  .portal-action-grid { grid-template-columns: 1fr; }
  .portal-action-card { min-height: 155px; }
  .home-showcase { margin-inline: -14px; border-inline: 0; }
  .showcase-arrow { width: 36px; height: 48px; }
  .showcase-footer { align-items: stretch; flex-direction: column; }
  .showcase-footer .portal-button { width: 100%; }
  .highlight-overlay, .motm-overlay { left: 18px; bottom: 20px; max-width: 78%; }
  .highlight-overlay p, .motm-overlay p { display: none; }
  .motm-overlay > span { font-size: clamp(1.08rem, 6.2vw, 1.65rem); }
  .motm-overlay small { margin-top: 4px; font-size: .58rem; }
  .two-columns { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .choice-row, .choice-grid, .category-grid { grid-template-columns: 1fr; }
  .payment-card { align-items: stretch; flex-direction: column; }
  .payment-button { width: 100%; }
  .submit-panel { align-items: stretch; flex-direction: column; }
  .submit-button { width: 100%; min-width: 0; }
  .public-summary, .admin-summary { grid-template-columns: repeat(2, 1fr); }
  .list-toolbar, .admin-toolbar { grid-template-columns: 1fr; }
  .search-box { grid-column: auto; }
  .settings-heading > .portal-button { display: none; }
  .mobile-save { display: inline-flex; width: 100%; }
  .application-card { grid-template-columns: 52px minmax(0, 1fr); }
  .application-card .status-badge, .application-card .review-button { grid-column: 2; justify-self: start; }
  .application-detail-grid { grid-template-columns: 1fr; }
  .application-edit-grid, .replacement-files { grid-template-columns: 1fr; }
  .detail-card.wide { grid-column: auto; }
  .dialog-actions { align-items: stretch; flex-direction: column-reverse; }
  .dialog-actions .portal-button { width: 100%; }
  .portal-footer { align-items: flex-start; flex-direction: column; }
  .brand-upload-grid { grid-template-columns: 1fr; }
  .registration-choice { min-height: 290px; }
  .point-table-heading { align-items: flex-start; flex-direction: column; }
  .point-table-frame { min-height: 260px; aspect-ratio: 4 / 3; }
  .home-score-summary { border-radius: 13px; }.home-score-meta, .home-score-teams, .home-score-note { padding-inline: 14px; }.home-score-teams strong { max-width: 60%; }
  .overlay-link-card > div { grid-template-columns: 1fr; }.overlay-link-card .portal-button { width: 100%; }.live-score-actions { display: grid; }.live-score-actions .portal-button { width: 100%; }
  .youtube-live-actions { display: grid; }.youtube-live-actions .portal-button { width: 100%; }
  .important-notice-actions { display: grid; }.important-notice-actions .portal-button { width: 100%; }
  .team-poster-manager { grid-template-columns: 1fr; }.team-poster-manager img { grid-row: auto; width: 100%; }.team-logo-manager img { width: 180px; max-width: 100%; }.team-poster-manager > div:last-child { display: grid; }.team-poster-manager .portal-button { width: 100%; }
  .team-poster-library-grid { grid-template-columns: 1fr; }
  .match-poster-picker { width: 100%; align-items: stretch; flex-direction: column; }
  .match-poster-picker input, .match-poster-picker .portal-button { width: 100%; }
  .media-item { grid-template-columns: 70px minmax(0,1fr) auto; }
  .media-item img { width: 70px; height: 50px; }
  .media-item .mini-action { grid-column: 2 / -1; justify-self: start; }
  .schedule-range-grid { grid-template-columns: 1fr; }
  .schedule-times-heading .portal-button { width: 100%; }
  .schedule-matches-heading { align-items: stretch; flex-direction: column; }
  .schedule-add-match-controls { display: grid; grid-template-columns: minmax(0,1fr) auto; }
  .schedule-add-match-controls input { width: 100%; }
  .schedule-match-row { grid-template-columns: 32px minmax(0,1fr); }
  .schedule-drag-handle { width: 30px; }
  .design-control-grid { grid-template-columns: 1fr; }
  .design-control-grid label, .design-control-grid label.wide-control { grid-column: auto; grid-template-columns: minmax(0,1fr) 100px; }
  .score-logo-editor-grid, .score-logo-editor-grid.two-logo-grid { grid-template-columns: 1fr; }
  .score-design-savebar { align-items: stretch; flex-direction: column; }
  .score-design-savebar .portal-button { width: 100%; }
  .schedule-match-row label { grid-column: 2; }
  .public-player-table { min-width: 0; table-layout: fixed; }
  .public-player-table th:nth-child(n+4), .public-player-table td:nth-child(n+4) { display: none; }
  .public-player-table th, .public-player-table td { padding: 9px 7px; }
  .public-player-table th:nth-child(1) { width: 67px; }
  .public-player-table th:nth-child(2) { width: 43%; }
  .public-player-photo { width: 52px; height: 62px; }
  .public-player-name { min-width: 0; }
  .public-player-name strong { overflow-wrap: anywhere; font-size: .78rem; }
  .public-player-table td:nth-child(3) { overflow-wrap: anywhere; font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Light public portal, independent of stored brand colour choices. */
:root, :root[data-portal-theme] {--navy:#f3f7fb;--navy-2:#edf3f8;--panel:#fff;--panel-2:#e6eff6;--ink:#142c45;--muted:#52677a;--line:#cad8e4;--cyan:#007598;--pink:#b92365;--gold:#876000;--green:#157448;--red:#bd263e;color-scheme:light}
.portal-button.primary,.portal-brand-mark {color:#fff;background:#087594}
.portal-button.secondary {color:#173e59;background:#e7eff6}
input,select,textarea {color:#142c45;background-color:#fff}
#watchLiveButton {color:#fff;background:#c91c2c}
.home-important-notice h2,.important-notice-admin-preview h3 {background:#bc2540;color:#fff}
.home-important-notice h2 em,.important-notice-admin-preview h3 em {color:#fff3bd}
.score-design-launch {background:#b92365;color:#fff}

#homeTournamentName {color:var(--home-heading-color,#142c45);-webkit-text-stroke:0;}

.public-match-card{background:#fff;border:1px solid #dbe3ef;border-radius:16px;padding:18px;margin:12px 0;color:#182d48}.public-match-card h4{font-size:18px;margin:0 0 10px;overflow-wrap:anywhere}.public-match-card h4 span{color:#76879b}.public-match-card p{margin:6px 0;font-size:14px}.public-match-card button{margin-top:10px;min-height:36px}#publicMatches{max-width:900px;margin:auto}#publicMatches h3{margin-top:24px}

.public-match-card details code{overflow-wrap:anywhere;white-space:normal}
