:root {
  color-scheme: light;
  --forest: #103f31;
  --forest-2: #176044;
  --green: #23804f;
  --lime: #d7ed66;
  --gold: #f0bf50;
  --ink: #17231e;
  --muted: #718078;
  --line: #e4e9e4;
  --paper: #f5f7f3;
  --white: #fff;
  --red: #b94a44;
  --shadow: 0 14px 36px rgba(16, 63, 49, .08);
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); min-width: 320px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.topbar { height: 74px; padding: 0 max(22px, calc((100% - 1220px)/2)); background: var(--forest); color: white; display: flex; align-items: center; gap: 30px; position: relative; z-index: 4; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; color: var(--forest); background: var(--lime); font: 800 17px "Barlow Condensed", sans-serif; clip-path: polygon(50% 0, 94% 16%, 89% 72%, 50% 100%, 11% 72%, 6% 16%); }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 16px "Barlow Condensed", sans-serif; letter-spacing: 1.2px; }
.brand small { margin-top: 2px; font-size: 8px; color: #b9d1c6; letter-spacing: 1.15px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { border: 0; background: transparent; color: #d2e0d9; padding: 10px 11px; font-size: 12px; font-weight: 600; border-radius: 3px; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: white; background: rgba(255,255,255,.1); }
.nav-link:disabled { opacity: .45; cursor: not-allowed; background: transparent; }
.icon-button, .mobile-menu { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.24); background: transparent; color: white; border-radius: 3px; }
.icon-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mobile-menu { display: none; gap: 4px; align-content: center; }
.mobile-menu span { width: 16px; height: 1px; background: white; }
#app { min-height: calc(100vh - 144px); }
.hero { background: var(--forest); color: white; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 570px; height: 570px; right: -80px; top: -190px; border: 1px solid rgba(215,237,102,.14); border-radius: 50%; box-shadow: 0 0 0 52px rgba(215,237,102,.035),0 0 0 105px rgba(215,237,102,.03); }
.hero::after { content: ""; position: absolute; right: 12%; top: -70px; width: 1px; height: 480px; background: rgba(255,255,255,.08); transform: rotate(38deg); }
.hero-inner { position: relative; z-index: 1; width: min(1220px, calc(100% - 44px)); min-height: 340px; margin: auto; padding: 57px 0 44px; display: flex; justify-content: space-between; align-items: center; }
.eyebrow { color: #bdd26d; text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: 2px; }
h1,h2,h3,p { margin-top: 0; }
.hero h1 { margin: 13px 0 4px; font: 800 clamp(44px, 6vw, 72px)/.93 "Barlow Condensed", sans-serif; letter-spacing: .2px; text-transform: uppercase; max-width: 650px; }
.hero p { margin: 15px 0 25px; color: #c9d8d0; font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { min-height: 43px; padding: 0 18px; border: 1px solid transparent; border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; transition: transform .18s, background .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: var(--forest); }
.button-ghost { background: transparent; color: white; border-color: rgba(255,255,255,.34); }
.button-dark { color: white; background: var(--forest); }
.button-line { color: var(--forest); background: white; border-color: var(--line); }
.button-danger { color: white; background: var(--red); }
.danger-text { color: var(--red); }
.button:disabled { opacity: .48; cursor: not-allowed; transform: none; }
.hero-ball { position: relative; z-index: 1; width: 144px; height: 144px; margin-right: 64px; display: grid; place-items: center; border: 1px solid rgba(215,237,102,.42); border-radius: 50%; color: var(--lime); font-size: 62px; box-shadow: 0 0 0 17px rgba(215,237,102,.06), 0 0 0 34px rgba(215,237,102,.035); }
.content { width: min(1220px, calc(100% - 44px)); margin: 0 auto; }
.stats-strip { display: grid; grid-template-columns: repeat(4,1fr); margin: -1px auto 34px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; z-index: 2; }
.stat { min-height: 92px; padding: 19px 24px; border-right: 1px solid var(--line); display: flex; align-items: center; gap: 13px; }
.stat:last-child { border: 0; }
.stat-icon { width: 37px; height: 37px; display: grid; place-items: center; color: var(--green); background: #edf5e6; border-radius: 50%; font-size: 17px; }
.stat strong { display: block; font: 700 24px "Barlow Condensed", sans-serif; }
.stat span:last-child { color: var(--muted); font-size: 10px; }
.section { padding: 5px 0 30px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.section-heading h2, .page-title { margin: 3px 0 0; font: 700 30px "Barlow Condensed", sans-serif; text-transform: uppercase; }
.section-kicker { color: var(--green); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.text-button { color: var(--green); background: transparent; border: 0; padding: 9px 0; font-size: 11px; font-weight: 700; }
.text-button:disabled { opacity: .45; cursor: not-allowed; }
.home-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 17px; }
.home-grid > *, .panel, .table-wrap { min-width: 0; }
.panel { background: white; border: 1px solid var(--line); box-shadow: 0 7px 22px rgba(16,63,49,.035); }
.panel-pad { padding: 20px; }
.next-match { min-height: 194px; padding: 21px; background: #eaf1e9; border: 1px solid #dfe9dc; position: relative; overflow: hidden; }
.next-match::after { content: ""; position: absolute; right: -42px; bottom: -82px; height: 220px; width: 220px; border: 1px solid rgba(35,128,79,.16); border-radius: 50%; box-shadow: 0 0 0 22px rgba(35,128,79,.035),0 0 0 46px rgba(35,128,79,.025); }
.next-match .match-label { color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: 1.3px; }
.match-scoreline { display: flex; align-items: center; justify-content: center; gap: 19px; position: relative; z-index: 1; margin: 23px 0 19px; }
.match-side { min-width: 80px; text-align: center; font: 700 21px "Barlow Condensed", sans-serif; }
.vs { color: #718078; font: 700 11px "DM Sans", sans-serif; }
.match-meta { display: flex; gap: 18px; color: #5e6e65; font-size: 10px; }
.match-meta span::before { color: var(--green); margin-right: 5px; }
.match-meta span:nth-child(1)::before { content: "◷"; }
.match-meta span:nth-child(2)::before { content: "⌖"; }
.compact-table { width: 100%; border-collapse: collapse; text-align: left; }
.compact-table th { color: #829087; font-size: 9px; text-transform: uppercase; letter-spacing: .8px; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.compact-table td { padding: 11px 8px; border-bottom: 1px solid #eff2ef; font-size: 11px; }
.compact-table tbody tr:last-child td { border-bottom: 0; }
.table-rank { color: var(--green); font-weight: 700; }
.news-grid, .team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.news-card { min-height: 170px; padding: 17px; display: flex; flex-direction: column; border-top: 3px solid var(--green); }
.news-cover { width: calc(100% + 34px); height: 130px; margin: -17px -17px 14px; object-fit: cover; }
.news-card .date { color: var(--muted); font-size: 10px; }
.news-card h3 { margin: 15px 0 8px; font: 700 21px "Barlow Condensed", sans-serif; }
.news-card p { color: #647169; font-size: 11px; line-height: 1.6; margin-bottom: 0; }
.photo-toolbar { margin-bottom: 16px; }
.photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; align-items: start; }
.photo-card { min-width: 0; overflow: hidden; }
.photo-image { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #eaf1e9; }
.photo-content { padding: 14px; }
.photo-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 10px; font-size: 11px; }
.photo-meta span, .photo-empty, .photo-comment small { color: var(--muted); font-size: 10px; }
.photo-caption { margin: 10px 0; color: var(--ink); font-size: 12px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.photo-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.photo-comments { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; }
.photo-comment { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.photo-comment > div { min-width: 0; }
.photo-comment span, .photo-comment small { display: block; margin-top: 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.photo-comment-form { margin-top: 12px; }
.photo-comment-form textarea { min-height: 60px; }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 34px; }
.quick-link { padding: 11px 14px; background: white; border: 1px solid var(--line); border-radius: 3px; color: var(--forest); font-size: 11px; font-weight: 600; }
.page-shell { width: min(1220px, calc(100% - 44px)); min-height: 60vh; margin: auto; padding: 39px 0 62px; }
.page-head { margin-bottom: 22px; padding-bottom: 17px; border-bottom: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.page-head p { color: var(--muted); font-size: 12px; margin: 5px 0 0; }
.page-title { font-size: 37px; }
.team-card { overflow: hidden; }
.team-band { min-height: 94px; padding: 17px; display: flex; align-items: center; justify-content: space-between; color: white; background: var(--forest); }
.team-band h3 { margin: 0; font: 700 27px "Barlow Condensed", sans-serif; text-transform: uppercase; }
.team-badge { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-size: 18px; }
.team-badge img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.captain-label { margin-left: 5px; color: #94701e; font-size: 8px; letter-spacing: .5px; }
.roster { padding: 14px 16px; }
.roster-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.roster-row:last-child { border: 0; }
.position-pill, .status-pill { padding: 4px 7px; color: var(--green); background: #eef5eb; border-radius: 2px; font-size: 9px; font-weight: 700; }
.empty-state { padding: 44px 20px; text-align: center; color: var(--muted); background: white; border: 1px dashed #cad4cc; font-size: 13px; }
.empty-state strong { display: block; margin-bottom: 7px; color: var(--forest); font: 700 22px "Barlow Condensed", sans-serif; }
.match-list { display: grid; gap: 10px; }
.match-row { display: grid; grid-template-columns: minmax(90px,1fr) 1.5fr minmax(130px,1fr) auto; align-items: center; gap: 15px; padding: 17px; }
.match-row .match-date { color: var(--muted); font-size: 10px; }
.match-row .match-teams { font: 700 18px "Barlow Condensed", sans-serif; }
.match-row .match-place { color: var(--muted); font-size: 10px; }
.match-row .match-result { color: var(--forest); font-weight: 700; }
.match-best-player { grid-column: 1 / -1; color: var(--forest); font-size: 11px; }
.classification-group { margin-bottom: 18px; }
.classification-group h3 { margin: 0 0 8px; color: var(--forest); font: 700 20px "Barlow Condensed", sans-serif; }
.match-event-list { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px 14px; color: var(--muted); font-size: 10px; }
.next-match .match-event-list { position: relative; z-index: 1; margin-top: 15px; }
.table-wrap { max-width: 100%; overflow-x: auto; }
.wide-table { min-width: 600px; }
.wide-table th { background: #f6f8f5; }
.admin-shell { width: min(1290px, calc(100% - 32px)); min-height: 70vh; margin: auto; padding: 26px 0 50px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.admin-top h1 { margin: 0; font: 700 30px "Barlow Condensed", sans-serif; }
.admin-user { color: var(--muted); font-size: 11px; }
.admin-layout { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 18px; padding-top: 19px; }
.admin-menu { display: grid; align-content: start; gap: 4px; }
.admin-tab { padding: 11px 12px; color: #4a5b51; background: transparent; border: 0; text-align: left; border-radius: 3px; font-size: 11px; font-weight: 600; }
.admin-tab.active, .admin-tab:hover { color: white; background: var(--forest); }
.admin-content { min-width: 0; }
.admin-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 16px; }
.metric-card { padding: 14px; background: white; border: 1px solid var(--line); }
.metric-card strong { display: block; font: 700 28px "Barlow Condensed", sans-serif; }
.metric-card span { color: var(--muted); font-size: 10px; }
.admin-panel { padding: 18px; background: white; border: 1px solid var(--line); }
.admin-panel + .admin-panel { margin-top: 14px; }
.admin-panel h2 { margin: 0 0 14px; font: 700 23px "Barlow Condensed", sans-serif; }
.scorecard-help { margin: 0 0 14px; color: var(--muted); font-size: 11px; }
.scorecard-match-list { display: grid; gap: 9px; }
.scorecard-match { display: grid; gap: 7px; width: 100%; padding: 14px; border: 1px solid var(--line); text-align: left; }
.scorecard-match:hover { border-color: var(--green); }
.scorecard-match .match-date, .scorecard-match > span:not(.text-button) { color: var(--muted); font-size: 10px; }
.scorecard-match > strong { font: 700 19px "Barlow Condensed", sans-serif; }
.scorecard-teams { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 14px; align-items: start; }
.scorecard-team { min-width: 0; background: white; border: 1px solid var(--line); }
.scorecard-team h3 { margin: 0; padding: 12px 15px; color: white; background: var(--forest); font: 700 21px "Barlow Condensed", sans-serif; }
.scorecard-roster { display: grid; }
.scorecard-player { padding: 13px; border-bottom: 1px solid var(--line); }
.scorecard-player:last-child { border-bottom: 0; }
.scorecard-player-heading { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 10px; }
.scorecard-player-heading > span { color: var(--muted); font-size: 9px; }
.scorecard-controls { display: grid; gap: 7px; }
.scorecard-event-control { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #53625a; font-size: 10px; }
.scorecard-event-control > div { display: flex; align-items: center; gap: 10px; }
.scorecard-adjust { width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 3px; color: var(--forest); background: white; font-size: 17px; line-height: 1; }
.scorecard-adjust:hover:not(:disabled) { border-color: var(--green); background: #f0f6ed; }
.scorecard-adjust:disabled { opacity: .4; cursor: not-allowed; }
.scorecard-events { display: grid; gap: 6px; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); }
.scorecard-event { display: flex; align-items: center; gap: 8px; color: #53625a; font-size: 10px; }
.scorecard-event > span { flex: 1; }
.scorecard-event label { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 9px; }
.scorecard-minute { width: 52px; min-height: 30px; padding: 4px; border: 1px solid var(--line); border-radius: 3px; }
.scorecard-back { margin: -5px 0 12px; }
.scorecard-match-heading h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.scorecard-match-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.scorecard-score { color: var(--green); white-space: nowrap; }
.scorecard-clock { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 16px 0; }
.scorecard-clock strong { display: block; color: var(--forest); font: 700 28px "Barlow Condensed", sans-serif; font-variant-numeric: tabular-nums; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.toolbar input, .toolbar select { min-width: 130px; }
.field { display: grid; gap: 6px; margin-bottom: 13px; }
.field label { color: #53625a; font-size: 10px; font-weight: 700; }
.field input, .field select, .field textarea, .toolbar input, .toolbar select { width: 100%; min-height: 41px; padding: 9px 11px; border: 1px solid #d8e0d9; border-radius: 3px; color: var(--ink); background: white; outline: none; font-size: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(35,128,79,.1); }
.field textarea { min-height: 100px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form-grid .span-2 { grid-column: span 2; }
.check-row { display: flex; align-items: start; gap: 8px; color: #55645b; font-size: 11px; line-height: 1.5; }
.check-row input { margin-top: 2px; accent-color: var(--green); }
.check-row a { color: var(--green); font-weight: 700; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.inline-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.inline-form .field { flex: 1 1 130px; margin-bottom: 0; }
.admin-login { width: min(480px, calc(100% - 32px)); margin: 45px auto 70px; padding: 25px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.login-head { margin-bottom: 22px; }
.login-head h1 { margin: 5px 0; font: 700 34px "Barlow Condensed", sans-serif; }
.login-head p { color: var(--muted); font-size: 12px; }
.auth-switch { display: flex; gap: 5px; margin-bottom: 18px; padding: 4px; background: #f1f4ef; }
.auth-switch button { flex: 1; min-height: 34px; border: 0; background: transparent; color: #68776e; font-size: 10px; font-weight: 700; }
.auth-switch button.active { background: white; color: var(--forest); box-shadow: 0 1px 5px #dce4dc; }
.success-box { padding: 17px; color: var(--forest); background: #edf6e9; border-left: 3px solid var(--green); font-size: 12px; line-height: 1.6; }
.dialog { width: min(600px, calc(100% - 28px)); max-height: min(88vh, 760px); padding: 0; border: 0; border-radius: 4px; box-shadow: 0 24px 80px rgba(0,0,0,.24); }
.dialog::backdrop { background: rgba(9,29,22,.58); backdrop-filter: blur(2px); }
.dialog-content { padding: 23px; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 17px; }
.dialog-head h2 { margin: 2px 0 0; font: 700 29px "Barlow Condensed", sans-serif; }
.close-dialog { width: 31px; height: 31px; border: 1px solid var(--line); background: white; font-size: 18px; }
.draw-preview { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; max-height: 52vh; overflow: auto; }
.draw-team { background: #f4f7f2; border: 1px solid var(--line); }
.draw-team h3 { margin: 0; padding: 10px 12px; color: white; background: var(--forest); font: 700 18px "Barlow Condensed", sans-serif; }
.draw-player { padding: 8px 11px; border-bottom: 1px solid #e4eae3; font-size: 10px; }
.draw-player:last-child { border: 0; }
.draw-player small { display: block; margin-top: 2px; color: var(--muted); }
.toast { position: fixed; z-index: 10; bottom: 20px; left: 50%; max-width: calc(100% - 32px); padding: 11px 16px; color: white; background: var(--forest); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .2s; font-size: 12px; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.site-footer { min-height: 70px; padding: 14px max(22px, calc((100% - 1220px)/2)); display: flex; justify-content: space-between; align-items: center; gap: 14px; color: #d4e2db; background: #0c3025; font-size: 9px; }
.brand-footer .brand-mark { width: 32px; height: 32px; font-size: 14px; }
.brand-footer strong { font-size: 13px; }
.brand-footer small { color: #9eb4a8; font-size: 7px; }
.loading-state { min-height: 50vh; display: flex; gap: 10px; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; }
.loader { width: 18px; height: 18px; border: 2px solid #d4dfd6; border-top-color: var(--green); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 980px) {
  .topbar { gap: 12px; }
  .main-nav { gap: 0; }
  .nav-link { padding: 9px 7px; font-size: 10px; }
  .hero-ball { margin-right: 40px; }
  .admin-metrics { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 800px) {
  .topbar { height: 62px; padding: 0 16px; }
  .brand-mark { width: 35px; height: 35px; }
  .main-nav { display: none; position: absolute; top: 62px; left: 0; right: 0; padding: 8px 12px 12px; background: var(--forest); border-top: 1px solid rgba(255,255,255,.12); grid-template-columns: repeat(3,1fr); }
  .main-nav.open { display: grid; }
  .nav-link { padding: 11px 5px; }
  .mobile-menu { display: grid; margin-left: 1px; }
  .admin-entry { margin-left: auto; }
  .hero-inner { width: calc(100% - 36px); min-height: 310px; padding: 45px 0 37px; }
  .hero-ball { width: 75px; height: 75px; margin: 0 8px 0 0; font-size: 34px; box-shadow: 0 0 0 9px rgba(215,237,102,.06), 0 0 0 18px rgba(215,237,102,.035); }
  .hero h1 { font-size: clamp(42px, 12vw, 62px); }
  .hero p { font-size: 12px; }
  .content, .page-shell { width: calc(100% - 32px); }
  .stats-strip { grid-template-columns: repeat(2,1fr); margin-bottom: 27px; }
  .stat { min-height: 75px; padding: 12px; gap: 9px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat-icon { width: 32px; height: 32px; font-size: 14px; }
  .stat strong { font-size: 21px; }
  .home-grid { grid-template-columns: minmax(0,1fr); }
  .section { padding-bottom: 24px; }
  .news-grid, .team-grid, .photo-grid { grid-template-columns: 1fr; }
  .news-card { min-height: 130px; }
  .page-shell { padding-top: 27px; }
  .page-title { font-size: 32px; }
  .match-row { grid-template-columns: 1fr auto; gap: 8px; }
  .match-row .match-teams { grid-column: 1; grid-row: 2; }
  .match-row .match-place { grid-column: 1; grid-row: 3; }
  .match-row .match-result { grid-column: 2; grid-row: 2; }
  .admin-shell { width: calc(100% - 24px); padding-top: 17px; }
  .admin-layout { grid-template-columns: 1fr; gap: 11px; }
  .admin-menu { display: flex; overflow: auto; padding-bottom: 3px; }
  .admin-tab { flex: 0 0 auto; padding: 10px; white-space: nowrap; }
  .admin-content .admin-panel { padding: 13px; }
  .scorecard-teams { grid-template-columns: 1fr; }
  .toolbar input, .toolbar select { min-width: 110px; }
  .site-footer { padding: 15px 16px; flex-wrap: wrap; }
  .site-footer > span:last-child { display: none; }
}
@media (max-width: 430px) {
  .hero-ball { position: absolute; right: 0; top: 24px; width: 48px; height: 48px; font-size: 22px; opacity: .75; }
  .hero-inner { align-items: flex-start; }
  .hero-copy { max-width: 100%; }
  .hero-actions .button { padding: 0 12px; font-size: 9px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .draw-preview { grid-template-columns: 1fr; }
  .admin-metrics { gap: 7px; }
  .metric-card { padding: 11px; }
  .metric-card strong { font-size: 24px; }
  .section-heading h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }