:root {
  color-scheme: dark;
  --bg: #020b11;
  --surface: #03141c;
  --raised: #06212a;
  --line: #16303a;
  --text: #f4f7f8;
  --muted: #9aabb1;
  --accent: #f20b54;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, textarea, select { font: inherit; }
[hidden] { display: none !important; }
.reporter-shell { width: min(1180px, 100%); min-height: 100vh; margin: 0 auto; padding: 0 22px 48px; }
.topbar { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); font-size: 16px; font-weight: 750; text-decoration: none; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 550; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; object-fit: contain; }
.button { min-height: 40px; padding: 0 15px; border: 1px solid transparent; border-radius: 8px; font-weight: 750; cursor: pointer; }
.button:disabled { opacity: .6; cursor: wait; }
.button-primary { background: var(--accent); color: #fff; }
.button-secondary { border-color: #28434b; background: #09212a; color: #e4edef; }
.full-width { width: 100%; margin-top: 4px; }
.notice { margin: 18px 0; padding: 13px 16px; border: 1px solid #775f2b; border-radius: 8px; background: #2a2413; color: #f4d996; font-size: 13px; line-height: 1.5; }
.reporter-access-gate { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(ellipse at 50% 0, #0b272e 0, var(--bg) 60%); }
.reporter-access-gate[hidden] { display: none; }
.reporter-access-card { width: min(420px, 100%); padding: 34px; border: 1px solid #17323b; border-radius: 16px; background: linear-gradient(155deg, #071b24, #03131a 62%); box-shadow: 0 24px 70px #0006; }
.reporter-access-home { display: inline-flex; min-height: 36px; align-items: center; gap: 8px; margin: 0 0 22px; padding: 0 12px; border-radius: 8px; color: #dce6e8; font-size: 12px; text-decoration: none; transition: background .16s ease, border-color .16s ease; }
.reporter-access-home:hover { border-color: #42616b; background: #0d2b35; }
.reporter-access-home:focus-visible { outline: 2px solid #f65b83; outline-offset: 3px; }
.reporter-access-home svg { width: 16px; height: 16px; }
.reporter-access-logo { display: block; width: 58px; height: 58px; margin: 0 auto 22px; border-radius: 50%; object-fit: contain; }
.reporter-access-card > .eyebrow { margin-bottom: 8px; color: #f65b83; font-size: 10px; font-weight: 850; letter-spacing: 1.2px; text-align: center; }
.reporter-access-card h1 { margin: 0; font-size: 25px; letter-spacing: -.5px; text-align: center; }
.reporter-access-card > .muted { margin: 10px 0 25px; font-size: 13px; line-height: 1.55; text-align: center; }
.reporter-access-card form { display: grid; gap: 9px; }
.reporter-access-card label { color: #dce6e8; font-size: 12px; font-weight: 650; }
.reporter-access-card input { width: 100%; height: 48px; margin: 0 0 5px; padding: 0 13px; border: 1px solid #28434b; border-radius: 8px; outline: 0; background: #020e15; color: var(--text); font-size: 16px; }
.reporter-access-card input:focus { border-color: #f65b83; box-shadow: 0 0 0 3px #f20b541f; }
.reporter-access-card .full-width { margin-top: 3px; }
.reporter-access-error { margin: 0 0 3px; color: #ff9db5; font-size: 12px; line-height: 1.45; }
.reporter-access-error[hidden] { display: none; }
.login-layout { display: grid; width: min(960px, 100%); grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: stretch; gap: 20px; margin: 54px auto 0; }
.login-card { width: 100%; margin: 0; padding: 38px 34px 26px; border: 1px solid #17323b; border-radius: 15px; background: linear-gradient(155deg, #071b24, #03131a 62%); box-shadow: 0 24px 70px #0005; }
.login-card .eyebrow { margin-bottom: 9px; }
.login-card h1 { margin-bottom: 9px; font-size: clamp(26px, 3vw, 32px); letter-spacing: -.8px; }
.login-card > .muted { margin-bottom: 26px; font-size: 13px; }
.login-card label { margin-bottom: 8px; color: #dce6e8; font-size: 11px; }
.login-card input { height: 46px; margin-bottom: 17px; padding: 0 13px; border-color: #203b44; border-radius: 8px; background: #020e15; font-size: 13px; transition: border-color .16s ease, box-shadow .16s ease; }
.login-card .remember-email-option { position: relative; display: flex; align-items: flex-start; gap: 10px; margin: -2px 0 18px; color: #dce6e8; cursor: pointer; }
.login-card .remember-email-option > input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.remember-email-check { position: relative; display: grid; width: 18px; height: 18px; flex: 0 0 18px; place-items: center; margin-top: 2px; border: 1px solid #38515a; border-radius: 5px; background: #020e15; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.remember-email-check::after { width: 8px; height: 5px; border-bottom: 2px solid #fff; border-left: 2px solid #fff; content: ""; opacity: 0; transform: translateY(-1px) rotate(-45deg); }
.remember-email-option input:checked + .remember-email-check { border-color: #f65b83; background: #d9074b; }
.remember-email-option input:checked + .remember-email-check::after { opacity: 1; }
.remember-email-option input:focus-visible + .remember-email-check { outline: 3px solid #ff7b9d; outline-offset: 3px; }
.remember-email-copy { display: grid; gap: 3px; }
.remember-email-copy strong { font-size: 11px; font-weight: 750; }
.remember-email-copy small { color: #81969d; font-size: 10px; font-weight: 500; }
.login-card input::placeholder { color: #62777e; }
.login-card input:focus { border-color: #f65b83; box-shadow: 0 0 0 3px #f20b541f; }
.login-card .full-width { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; margin-top: 5px; border-radius: 8px; box-shadow: 0 7px 22px #f20b5426; transition: background .16s ease, transform .16s ease; }
.login-card .full-width::after { content: "→"; font-size: 18px; font-weight: 500; line-height: 1; }
.login-card .full-width:hover { transform: translateY(-1px); background: #d9074b; }
.login-card .full-width:focus-visible { outline: 3px solid #ff7b9d; outline-offset: 3px; }
.login-alert { display: flex; align-items: flex-start; gap: 11px; margin-top: 17px; padding: 12px 13px; border: 1px solid #713447; border-radius: 9px; background: linear-gradient(120deg, #28141d, #1d1118); box-shadow: inset 3px 0 #f25377; color: #ffdce4; animation: login-alert-in .18s ease-out; }
.login-alert[hidden] { display: none; }
.login-alert-icon { display: grid; width: 21px; height: 21px; flex: 0 0 21px; place-items: center; margin-top: 1px; border: 1px solid #f2537780; border-radius: 50%; background: #f253771c; color: #ff829c; font-size: 13px; font-weight: 850; }
.login-alert-copy { display: grid; gap: 3px; min-width: 0; font-size: 12px; line-height: 1.5; }
.login-alert-copy strong { color: #fff0f3; font-size: 12px; font-weight: 800; }
.login-alert-copy > span { color: #e9b9c5; }
.login-card input[aria-invalid="true"] { border-color: #c44a67; box-shadow: 0 0 0 2px #f20b5419; }
@keyframes login-alert-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .login-alert { animation: none; } }
.login-footnote { display: flex; align-items: center; gap: 8px; margin-top: 21px; padding-top: 17px; border-top: 1px solid #17313a; color: #8fa3a9; font-size: 10px; }
.login-aside { position: relative; display: flex; min-height: 530px; flex-direction: column; overflow: hidden; padding: 25px 27px 19px; border: 1px solid #20403e; border-radius: 15px; background: radial-gradient(ellipse at 82% 52%, #174338 0, #0d2b2d 31%, transparent 62%), linear-gradient(145deg, #0b2728, #071d22 56%, #06171d); }
.login-aside::before { position: absolute; top: -130px; right: -120px; width: 360px; height: 360px; border: 1px solid #ffffff0b; border-radius: 50%; content: ""; }
.login-aside::after { position: absolute; right: -68px; bottom: 60px; width: 220px; height: 220px; border: 1px solid #ffffff0a; border-radius: 50%; content: ""; }
.aside-topline, .aside-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.aside-pill { display: inline-flex; min-height: 28px; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid #39745e; border-radius: 20px; background: #10392e99; color: #b6e8cc; font-size: 9px; font-weight: 850; letter-spacing: 1px; }
.live-dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #52e69a; box-shadow: 0 0 9px #52e69a9c; }
.aside-campus { color: #779a98; font-size: 8px; font-weight: 750; letter-spacing: 1.2px; }
.aside-copy { position: relative; z-index: 1; margin-top: 36px; }
.aside-copy .eyebrow { margin-bottom: 10px; color: #8dd9b3; font-size: 9px; letter-spacing: 1.4px; }
.aside-copy h2 { margin: 0 0 11px; font-size: clamp(27px, 3vw, 35px); letter-spacing: -1px; line-height: 1.08; }
.aside-copy p { max-width: 340px; margin: 0; color: #a8c0bd; font-size: 12px; line-height: 1.65; }
.pitch-art { position: relative; z-index: 1; min-height: 164px; flex: 1 1 auto; margin: 20px 2px 18px; overflow: hidden; border: 1px solid #b2ddbd35; border-radius: 10px; background: linear-gradient(120deg, #297a4c55, #1d5e4740), repeating-linear-gradient(0deg, #ffffff08 0, #ffffff08 1px, transparent 1px, transparent 32px), repeating-linear-gradient(90deg, #ffffff08 0, #ffffff08 1px, transparent 1px, transparent 32px); }
.pitch-art::before, .pitch-art::after { position: absolute; top: 50%; width: 28px; height: 65px; border: 1px solid #d5f3d54a; content: ""; transform: translateY(-50%); }
.pitch-art::before { left: -1px; border-left: 0; }
.pitch-art::after { right: -1px; border-right: 0; }
.pitch-halfway { position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid #d5f3d530; }
.pitch-center { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; border: 1px solid #d5f3d54a; border-radius: 50%; transform: translate(-50%, -50%); }
.pitch-center::after { position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #c9efcb; content: ""; transform: translate(-50%, -50%); }
.pitch-box { position: absolute; top: 50%; width: 54px; height: 94px; border: 1px solid #d5f3d54a; transform: translateY(-50%); }
.pitch-box-left { left: -1px; border-left: 0; }
.pitch-box-right { right: -1px; border-right: 0; }
.pitch-tag { position: absolute; display: flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid #b3dbbd40; border-radius: 6px; background: #08251edb; box-shadow: 0 8px 20px #0003; color: #d9eee0; font-size: 8px; font-weight: 850; letter-spacing: .8px; }
.pitch-tag-live { top: 19px; left: 21%; }
.pitch-tag-event { right: 12%; bottom: 18px; }
.pitch-tag-event span { color: #80dfac; font-size: 12px; }
.aside-bottom { color: #89aaa1; font-size: 8px; font-weight: 800; letter-spacing: 1.3px; }
.aside-bottom-line { height: 1px; flex: 1; background: #497267; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 7px; font-size: 25px; }
.eyebrow { margin-bottom: 8px; color: #f65b83; font-size: 10px; font-weight: 850; letter-spacing: 1.2px; }
.muted, .field-hint { color: var(--muted); font-size: 12px; line-height: 1.55; }
label { display: block; margin: 0 0 7px; color: #d9e3e5; font-size: 12px; font-weight: 700; }
input, textarea, select { width: 100%; border: 1px solid #27414a; border-radius: 7px; outline: none; background: #020e15; color: var(--text); }
input, select { height: 42px; margin-bottom: 15px; padding: 0 11px; }
textarea { min-height: 190px; padding: 12px; resize: vertical; font: 12px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 2px #f20b5429; }
.form-error { min-height: 18px; margin: 10px 0 0; color: #ff8e9b; font-size: 12px; }
.reporter-dashboard { padding-top: 32px; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.dashboard-heading h1 { margin-bottom: 4px; }
.dashboard-heading p { margin-bottom: 0; }
.dashboard-heading .eyebrow { letter-spacing: 1.1px; }
.match-status { flex: 0 0 auto; padding: 8px 11px; border: 1px solid #733047; border-radius: 7px; background: #28121d; color: #ff8eaa; font-size: 10px; font-weight: 850; letter-spacing: .5px; }
.reporter-content { display: grid; min-width: 0; gap: 18px; }
.reporter-followup { display: grid; min-width: 0; gap: 12px; }
.fixture-followup-tabs { position: sticky; top: 8px; z-index: 4; display: flex; gap: 7px; overflow-x: auto; margin: 0; padding: 7px; border: 1px solid var(--line); border-radius: 10px; background: #04131a; scrollbar-width: none; }
.fixture-followup-tabs::-webkit-scrollbar { display: none; }
.fixture-followup-tab { min-height: 38px; flex: 0 0 auto; padding: 0 13px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #cbd8db; font-size: 11px; font-weight: 750; cursor: pointer; }
.fixture-followup-tab:hover { background: #09212a; }
.fixture-followup-tab:focus-visible { outline: 2px solid #ff7698; outline-offset: 2px; }
.fixture-followup-tab.active { border-color: #733047; background: #28121d; color: #fff; }
.match-action-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.match-action-choice { min-height: 44px; padding: 9px 12px; border: 1px solid #25434d; border-radius: 8px; background: #071d25; color: #dce7e9; font: inherit; font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.match-action-choice:hover { border-color: #566a30; background: #14251e; }
.match-action-choice:active { transform: scale(.985); }
.match-action-choice.selected { border-color: var(--accent); background: #28121d; color: #fff; box-shadow: inset 3px 0 var(--accent); }
.match-action-choice:focus-visible { outline: 2px solid #ff7698; outline-offset: 2px; }
.match-action-choices[aria-busy="true"] { opacity: .6; pointer-events: none; }
.reporter-tab-panel[hidden] { display: none; }
.reporter-tab-panel { scroll-margin-top: 68px; }
.reporter-panel { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading h2 { margin: 0 0 6px; font-size: 18px; }
.section-heading p { max-width: 650px; margin: 0; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.panel-heading .eyebrow { margin-bottom: 4px; }
.panel-heading h2 { margin: 0; font-size: 15px; }
.overview-indicator { display: inline-flex; min-height: 27px; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid #28513f; border-radius: 7px; background: #0c2b21; color: #a6dfbe; font-size: 9px; font-weight: 850; letter-spacing: .7px; }
.overview-indicator .live-dot { width: 5px; height: 5px; flex-basis: 5px; }
.scoreboard-panel { padding: 0 0 18px; overflow: hidden; scroll-margin-top: 18px; }
.scoreboard-panel .panel-heading { min-height: 66px; margin: 0 20px 14px; padding: 0; }
.scoreboard { display: grid; grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr); align-items: center; gap: 12px; margin: 0 20px; padding: 20px 24px; border: 1px solid #1a3740; border-radius: 10px; background: linear-gradient(110deg, #04141b, #071e25 50%, #04141b); }
.scoreboard > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.scoreboard > div:last-child { grid-template-columns: auto minmax(0, 1fr); }
.scoreboard > div:last-child strong { grid-column: 1; grid-row: 1; }
.scoreboard > div:last-child span { grid-column: 2; grid-row: 1; text-align: right; }
.scoreboard span { overflow-wrap: anywhere; color: #dce6e8; font-size: 14px; font-weight: 750; }
.scoreboard strong { font-size: 32px; font-variant-numeric: tabular-nums; }
.score-divider { color: #6f858b !important; text-align: center; }
.score-inputs { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); align-items: end; gap: 8px; }
.score-inputs > div { min-width: 0; }
.score-inputs input { margin-bottom: 14px; }
.score-separator { align-self: end; padding-bottom: 28px; color: #71878d; font-size: 19px; text-align: center; }
.match-control-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.match-control-grid > div { min-width: 0; }
.match-control-grid input, .match-control-grid select { margin-bottom: 14px; }
.statistics-snapshot { display: grid; gap: 6px; margin-bottom: 18px; }
.stat-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; padding: 8px 9px; border-bottom: 1px solid #16303a; color: #dce6e8; font-size: 11px; }
.stat-row strong { min-width: 32px; text-align: right; font-variant-numeric: tabular-nums; }
.live-preview { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.live-preview h3 { margin: 0 0 8px; font-size: 12px; }
.events-snapshot { display: grid; gap: 6px; }
.event-row, .snapshot-empty { margin: 0; padding: 8px 9px; border: 1px solid #203b44; border-radius: 6px; color: #cbd8db; font-size: 11px; line-height: 1.5; }
.snapshot-empty { border-style: dashed; color: var(--muted); }
.field-hint { margin: -3px 0 7px; font-size: 10px; }
.json-editor { min-height: 280px; }
.fixture-team-name-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.fixture-team-name-grid input { margin-bottom: 0; }
.reporter-publish { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.reporter-publish .form-error, .reporter-publish .save-status { flex: 1; margin: 0; }
.reporter-publish .button { min-width: 190px; }
.save-status { min-height: 18px; margin: 8px 0 0; color: #92dfb2; font-size: 12px; }
@media (max-width: 680px) {
  .reporter-shell { padding-right: 14px; padding-left: 14px; }
  .login-layout { width: min(460px, 100%); grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
  .login-card { padding: 28px 25px 22px; }
  .login-aside { min-height: 390px; padding: 22px; }
  .aside-copy { margin-top: 28px; }
  .pitch-art { min-height: 125px; }
  .dashboard-heading { align-items: flex-start; }
  .reporter-dashboard { padding-top: 24px; }
  .reporter-content, .reporter-followup { gap: 12px; }
  .fixture-followup-tabs { top: 6px; }
  .fixture-followup-tab { padding: 0 11px; font-size: 10px; }
  .reporter-panel { padding: 16px; }
  .scoreboard-panel { padding: 0 0 14px; }
  .scoreboard-panel .panel-heading { min-height: 58px; margin: 0 15px 12px; }
  .scoreboard { margin: 0 15px; padding: 16px; }
}
@media (max-width: 420px) {
  body { min-width: 0; }
  .login-card { padding: 24px 20px 20px; }
  .login-aside { min-height: 370px; padding: 19px; }
  .aside-campus { font-size: 7px; letter-spacing: .8px; }
  .aside-copy h2 { font-size: 29px; }
  .reporter-shell { padding-right: 12px; padding-left: 12px; }
  .dashboard-heading { gap: 8px; }
  .dashboard-heading h1 { font-size: 22px; }
  .match-status { padding: 7px 8px; font-size: 9px; }
  .scoreboard-panel .panel-heading { margin-right: 12px; margin-left: 12px; }
  .scoreboard { gap: 6px; margin-right: 12px; margin-left: 12px; padding: 12px; }
  .scoreboard span { font-size: 11px; }
  .scoreboard strong { font-size: 24px; }
  .score-inputs { grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); }
  .match-control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .score-separator { padding-top: 12px; }
  .fixture-team-name-grid { grid-template-columns: 1fr; }
  .reporter-publish { align-items: stretch; flex-direction: column; }
  .reporter-publish .button { width: 100%; }
}

.match-data-editor, .statistics-editor {
  min-width: 0;
  margin: 0 0 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #04131a;
}
.statistics-editor-heading { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.statistics-editor-heading h3 { margin: 0; font-size: 15px; }
.statistics-editor-heading .muted { margin: 4px 0 0; font-size: 11px; }
.statistics-selectors { display: grid; min-width: 190px; grid-template-columns: 1fr; }
.statistics-selectors label { margin: 0 0 5px; }
.statistics-selectors select { margin: 0; }
.statistics-team-names, .statistics-row { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(75px, .5fr) minmax(75px, .5fr); align-items: center; gap: 10px; }
.statistics-team-names { padding: 9px 10px; border-bottom: 1px solid var(--line); color: #e5edef; font-size: 11px; font-weight: 750; text-align: center; }
.statistics-team-names span:first-child { text-align: left; }
.statistics-team-names span:not(:first-child) { overflow-wrap: anywhere; }
.statistics-group { padding-top: 13px; }
.statistics-group h4 { margin: 0 0 7px; color: #f65b83; font-size: 11px; letter-spacing: .4px; text-transform: uppercase; }
.statistics-row { min-height: 42px; padding: 4px 10px; border-radius: 6px; }
.statistics-row:nth-child(even) { background: #09212a; }
.statistics-row label { margin: 0; font-size: 11px; font-weight: 550; }
.statistics-row select { height: 34px; min-width: 0; margin: 0; padding: 0 5px; text-align: center; font-size: 12px; }
.statistics-editor-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.statistics-editor-footer .form-error { margin: 0; }
.statistics-editor-status { display: inline-block; margin-right: 10px; }
.fixture-section-save { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.fixture-section-save .save-status { margin: 0; }
.score-editor { display: grid; grid-template-columns: minmax(70px, 1fr) auto minmax(70px, 1fr) minmax(100px, .8fr) minmax(130px, 1fr) minmax(110px, .8fr); align-items: end; gap: 12px; }
.score-editor label { margin-bottom: 5px; }
.score-editor input, .score-editor select { margin: 0; }
.score-separator { padding-bottom: 10px; color: var(--muted); font-size: 18px; font-weight: 800; }
.admin-live-clock { display: block; min-height: 42px; padding: 10px 12px; border: 1px solid #27414a; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 800; }
.admin-live-clock.live { border-color: #8f203b; color: #ff315f; }
.live-clock-control { display: grid; align-content: end; gap: 7px; }
.live-clock-control #kickoffMatchButton { min-height: 46px; padding: 0 14px; border: 1px solid #42e59a; background: #087c4b; box-shadow: 0 0 0 2px #42e59a2b, 0 5px 16px #00a65a30; color: #fff; font-size: 12px; font-weight: 850; }
.live-clock-control #kickoffMatchButton:hover:not(:disabled) { border-color: #8dffc3; background: #09945a; }
.live-clock-control #kickoffMatchButton:disabled { border-color: #35474a; background: #17272a; box-shadow: none; color: #8b9b9e; cursor: not-allowed; }
.finished-match-notice { margin: 0; padding: 9px 10px; border: 1px solid #775f2b; border-radius: 7px; background: #2a2413; color: #f4d996; font-size: 11px; font-weight: 700; line-height: 1.45; }
.match-status-reason-field { margin-top: 14px; }
.match-status-reason-field textarea { min-height: 64px; margin: 0; font: inherit; }
.additional-time-editor { display: flex; align-items: end; gap: 10px; margin-top: 14px; }
.additional-time-editor > div { width: min(220px, 100%); }
.additional-time-editor input { margin: 0; }
.additional-time-editor button { white-space: nowrap; }
.match-editor-controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 10px; margin: 12px 0; }
.match-editor-controls label, .player-entry-fields label { margin-bottom: 5px; }
.match-editor-controls select, .match-editor-controls input { margin: 0; }
.player-entry-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 10px; }
.player-entry-fields input, .player-entry-fields select { margin: 0; }
.player-entry-fields input[type="file"], .team-logo-editor input[type="file"] { height: auto; min-height: 42px; padding: 8px; color: var(--muted); font-size: 11px; }
.lineup-photo-field { min-width: 0; }
.lineup-photo-hint { display: block; margin-top: 5px; font-size: 11px; line-height: 1.45; }
.lineup-photo-preview-wrap, .team-logo-preview-wrap { display: flex; min-height: 48px; align-items: center; gap: 9px; }
.lineup-photo-preview-wrap img { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 6px; object-fit: contain; }
.lineup-photo-preview-wrap .muted, .team-logo-preview-wrap .muted { flex: 1; font-size: 10px; }
.lineup-photo-preview-wrap .button, .team-logo-preview-wrap .button { min-height: 32px; padding: 0 9px; font-size: 10px; }
.team-logo-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.team-logo-editor { min-width: 0; padding: 12px; border: 1px solid #203b44; border-radius: 8px; background: #061a21; }
.team-logo-preview-wrap img { width: 48px; height: 48px; flex: 0 0 48px; border: 1px solid #31515c; border-radius: 12px; background: #f5f7f8; object-fit: contain; }
.event-type-choice { display: flex; align-items: center; gap: 8px; }
.event-type-choice select { min-width: 0; }
.event-icon-preview { position: relative; display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 50%; color: #b7c8cc; font-size: 15px; }
.event-icon-preview.goal::after, .event-icon-preview.penalty::after { content: "\26BD"; }
.event-icon-preview.penalty-missed::after { content: "\00D7"; color: #ff9a76; font-size: 20px; font-weight: 850; }
.event-icon-preview.ownGoal::after { content: "\21A9"; color: #ff9a76; font-size: 19px; font-weight: 850; }
.event-icon-preview.yellowCard, .event-icon-preview.redCard { width: 14px; height: 20px; flex-basis: 14px; border: 1px solid #ffffff70; border-radius: 2px; }
.event-icon-preview.yellowCard { background: #ffd400; }
.event-icon-preview.redCard { background: #ed163d; }
.event-icon-preview.var { width: 34px; height: 22px; flex-basis: 34px; border: 1px solid #3659ff; border-radius: 4px; background: #071c55; color: #fff; font-size: 9px; font-weight: 800; }
.event-icon-preview.substitution { width: 20px; height: 20px; flex-basis: 20px; color: #7fe3ba; font-size: 21px; }
.event-icon-preview.substitution::after { content: "\21BB"; }
.match-editor-player-list { display: grid; gap: 6px; margin-top: 13px; }
.match-editor-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; padding: 7px 10px; border: 1px solid #203b44; border-radius: 7px; background: #09212a; font-size: 12px; }
.match-editor-item-copy { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.match-editor-player-photo { width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid #31515c; border-radius: 50%; object-fit: cover; }
.match-editor-item .button { min-height: 30px; padding: 0 9px; font-size: 11px; }
.button-danger { border: 1px solid #733047; background: #28121d; color: #ff9db5; }
.event-entry-actions, .player-entry-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.event-substitution-fields { display: contents; }
.event-substitution-fields[hidden], .event-player-field[hidden], .event-assist-field[hidden] { display: none; }
.snapshot-empty { margin: 0; padding: 10px; border: 1px dashed #28434b; border-radius: 7px; color: var(--muted); font-size: 11px; }
.match-data-editor > .form-error { margin-bottom: 0; }
.reporter-tab-panel.is-unauthorized > :not(.reporter-unauthorized) { display: none !important; }
.reporter-unauthorized { display: grid; min-height: 190px; place-content: center; gap: 8px; padding: 24px; border: 1px solid #713447; border-radius: 8px; background: linear-gradient(130deg, #21131a, #11151a); color: #ffdce4; font-size: 14px; font-weight: 750; line-height: 1.6; text-align: center; }
.reporter-unauthorized::before { display: grid; width: 30px; height: 30px; place-items: center; justify-self: center; border: 1px solid #f2537780; border-radius: 50%; background: #f253771c; color: #ff829c; content: "!"; font-size: 16px; }
.fixture-team-name-grid { margin: 12px 0; }
.fixture-team-name-grid input { margin: 0; }

@media (max-width: 820px) {
  .score-editor { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .score-editor > div:nth-of-type(n + 3) { grid-column: 1 / -1; }
  .match-editor-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .login-card input:not([type="checkbox"]) { font-size: 16px; }
  .statistics-editor-heading { flex-direction: column; }
  .statistics-selectors { width: 100%; min-width: 0; }
  .statistics-team-names, .statistics-row { grid-template-columns: minmax(0, 1fr) minmax(48px, .42fr) minmax(48px, .42fr); gap: 5px; padding-right: 5px; padding-left: 5px; }
  .statistics-row select { padding: 0 2px; font-size: 11px; }
  .statistics-editor-footer { align-items: flex-start; flex-direction: column; }
  .statistics-editor-footer > div { width: 100%; }
  .statistics-editor-footer button { width: 100%; }
  .fixture-section-save { align-items: stretch; flex-direction: column; }
  .fixture-section-save .button { width: 100%; }
  .team-logo-editor-grid { grid-template-columns: 1fr; }
  .additional-time-editor { align-items: stretch; flex-direction: column; }
  .additional-time-editor > div { width: 100%; }
  .match-editor-controls, .player-entry-fields { grid-template-columns: 1fr; }
  .event-entry-actions, .player-entry-actions { flex-direction: column; }
  .event-entry-actions .button, .player-entry-actions .button { width: 100%; }
}
@media (max-width: 420px) {
  .reporter-shell { padding-right: 10px; padding-left: 10px; }
  .match-data-editor, .statistics-editor { padding: 13px; }
  .match-action-choices { grid-template-columns: 1fr; gap: 7px; }
  .score-editor { gap: 8px; }
  .score-separator { padding-bottom: 9px; }
  .match-editor-item { align-items: flex-start; flex-wrap: wrap; }
  .match-editor-item-copy { flex-basis: calc(100% - 46px); }
  .event-entry-actions, .player-entry-actions { width: 100%; flex-direction: row; }
}
