/* Theme values taken from ilt20.ae (css/style.css + css/standings-page.css).
   The site's own font is Cutmark (licensed); Teko / Barlow Condensed / Inter are the
   Google Fonts the site itself lists as fallbacks. */
:root {
  --color-bg-base: #38004f;
  --color-bg-dark: #140224;
  --color-bg-card: #2f0557;
  --color-bg-purple: #421066;
  --color-row-hover: #4d1476;
  --color-purple-secondary: #610886;
  --color-border-card: #6d1b9c;
  --color-border-purple: #8b2ebd;
  --color-pink-primary: #f00080;
  --color-pink-hover: #d40071;
  --color-pink-glow: rgba(240, 0, 128, 0.4);
  --color-lime-primary: #b9e249;
  --color-lime-light: #caff54;
  --color-lime-glow: rgba(185, 226, 73, 0.35);
  --color-live-red: #de0004;
  --color-text-white: #ffffff;
  --color-text-muted: #e4d8ec;
  --color-text-dim: #b8a6c8;

  --font-display: 'Cutmark Narrow', 'Teko', 'Barlow Condensed', sans-serif;
  --font-heading: 'Cutmark', 'Barlow Condensed', sans-serif;
  --font-body: 'Cutmark', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(240, 0, 128, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(97, 8, 134, 0.6), transparent 60%),
    var(--color-bg-base);
  background-attachment: fixed;
  color: var(--color-text-white);
  line-height: 1.5;
  min-height: 100vh;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--color-bg-dark);
  border-bottom: 3px solid var(--color-pink-primary);
  position: sticky; top: 0; z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand-mark { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: .5px; }
.brand-mark b { color: var(--color-lime-primary); font-weight: 700; }
.brand-sub { font-size: 11px; color: var(--color-text-dim); letter-spacing: .3px; }

.tabs { display: inline-flex; gap: 2px; padding: 3px 4px; background: var(--color-bg-base); border-radius: var(--radius); }
.tab {
  height: 34px; padding: 0 16px; border: none; border-radius: 5px; background: transparent;
  color: rgba(255,255,255,.96); font-family: var(--font-display); font-size: 19px; font-weight: 500;
  text-transform: uppercase; cursor: pointer; transition: var(--transition-smooth);
  display: inline-flex; align-items: center; gap: 8px;
}
.tab:hover { color: var(--color-lime-primary); }
.tab.active { background: var(--color-lime-primary); color: var(--color-bg-base); }
.tab:focus-visible { outline: 2px solid var(--color-pink-primary); outline-offset: 2px; }
.pill { background: var(--color-pink-primary); color: #fff; border-radius: 10px; font-size: 13px; padding: 0 7px; line-height: 18px; font-family: var(--font-body); }

/* ---------- Title ---------- */
.title-block { position: relative; padding: 36px 0 20px; overflow: hidden; }
.eyebrow { font-family: var(--font-display); color: var(--color-pink-primary); font-size: 20px; text-transform: uppercase; letter-spacing: 1px; }
h1 { font-family: var(--font-display); font-size: clamp(44px, 7vw, 72px); font-weight: 600; line-height: .95; text-transform: uppercase; position: relative; z-index: 1; }
.outline {
  position: absolute; right: 0; top: 10px; font-family: var(--font-display); font-size: clamp(80px, 14vw, 150px);
  font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--color-border-purple);
  mask-image: linear-gradient(#000 0%, transparent 100%); -webkit-mask-image: linear-gradient(#000 0%, transparent 100%);
  user-select: none; pointer-events: none;
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-bg-card); border: 1px solid var(--color-border-card); border-radius: 10px;
  padding: 22px; margin-bottom: 18px;
}
.card-title {
  font-family: var(--font-display); font-size: 26px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.tally summary { cursor: pointer; list-style: none; margin-bottom: 0; }
.tally summary::-webkit-details-marker { display: none; }
.tally summary::before { content: "+"; color: var(--color-lime-primary); width: 18px; display: inline-block; }
.tally[open] summary::before { content: "−"; }
.tally[open] summary { margin-bottom: 14px; }
.opt { font-family: var(--font-body); font-size: 12px; color: var(--color-text-dim); text-transform: none; letter-spacing: 0; }
.hint { color: var(--color-text-muted); font-size: 14px; margin-bottom: 16px; max-width: 75ch; }
.empty { color: var(--color-text-dim); font-size: 14px; padding: 14px; border: 1px dashed var(--color-border-card); border-radius: var(--radius); text-align: center; }

/* ---------- Fields ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.span-2 { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12px; font-weight: 600; color: var(--color-text-dim); text-transform: uppercase; letter-spacing: .6px; }
input, select, textarea, .static {
  width: 100%; font: inherit; font-size: 15px; color: var(--color-text-white);
  background: var(--color-bg-base); border: 1px solid var(--color-border-card); border-radius: var(--radius);
  padding: 10px 12px; transition: var(--transition-smooth);
}
.static { color: var(--color-text-muted); }
select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-lime-primary) 50%), linear-gradient(135deg, var(--color-lime-primary) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%; background-size: 6px 6px; background-repeat: no-repeat;
}
select option { background: var(--color-bg-dark); }
input::placeholder, textarea::placeholder { color: #8c79a0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--color-pink-primary); box-shadow: 0 0 0 3px var(--color-pink-glow); }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; }
.invalid { border-color: var(--color-live-red) !important; box-shadow: 0 0 0 3px rgba(222,0,4,.3) !important; }

/* ---------- Scale legend ---------- */
.scale { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.scale-item { border-radius: var(--radius); padding: 10px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.scale-item b { font-family: var(--font-display); font-size: 30px; font-weight: 600; line-height: 1; }
.scale-item span { font-size: 12px; line-height: 1.25; }
.scale-item.pos { background: rgba(185, 226, 73, 0.12); border: 1px solid rgba(185, 226, 73, 0.35); }
.scale-item.pos b { color: var(--color-lime-primary); }
.scale-item.neg { background: rgba(240, 0, 128, 0.12); border: 1px solid rgba(240, 0, 128, 0.35); }
.scale-item.neg b { color: #ff4fa8; }

/* ---------- Tables (standings style) ---------- */
.table-scroll { overflow-x: auto; }
.pts-table { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-family: var(--font-display); }
.pts-table th {
  height: 46px; padding: 0 10px; background: var(--color-pink-primary); font-size: 19px; font-weight: 500;
  text-align: center; white-space: nowrap; text-transform: uppercase;
}
.pts-table th:first-child { border-radius: 6px 0 0 6px; }
.pts-table th:last-child { border-radius: 0 6px 6px 0; }
.pts-table td { height: 52px; padding: 0 10px; background: var(--color-bg-purple); font-size: 19px; text-align: center; white-space: nowrap; }
.pts-table tbody tr:hover td { background: var(--color-row-hover); }
.pts-table td:first-child { border-radius: 6px 0 0 6px; }
.pts-table td:last-child { border-radius: 0 6px 6px 0; }
.pts-table .col-act { text-align: left; }
.pts-table td.act { text-align: left; font-family: var(--font-body); font-size: 14px; white-space: normal; padding: 8px 12px; }
.pts-table .group td { background: transparent; height: 34px; text-align: left; font-size: 18px; color: var(--color-lime-primary); text-transform: uppercase; padding-left: 4px; }
.pts-table .group.neg td { color: #ff4fa8; }
.pts { color: var(--color-text-dim); }
.total-row td { background: var(--color-bg-dark); color: var(--color-lime-primary); font-size: 22px; }
.total-row td:first-child { text-align: left; color: var(--color-text-white); font-size: 17px; text-transform: uppercase; }

.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper button {
  width: 28px; height: 28px; border-radius: 5px; border: 1px solid var(--color-border-purple); background: var(--color-bg-base);
  color: #fff; font-size: 18px; line-height: 1; cursor: pointer; transition: var(--transition-smooth);
}
.stepper button:hover { border-color: var(--color-lime-primary); color: var(--color-lime-primary); }
.stepper output { min-width: 34px; font-size: 20px; }
.stepper output.has { color: var(--color-lime-primary); }
.stepper output.has.neg { color: #ff4fa8; }

/* ---------- Spirit rating ---------- */
.rating-rows { display: grid; gap: 12px; }
.rating-row {
  display: grid; grid-template-columns: minmax(180px, 1fr) auto; gap: 16px; align-items: center;
  background: var(--color-bg-purple); border-radius: 8px; padding: 14px 16px; border: 1px solid transparent; transition: var(--transition-smooth);
}
.rating-row.invalid { border-color: var(--color-live-red); }
.team-name { font-family: var(--font-display); font-size: 26px; font-weight: 500; text-transform: uppercase; line-height: 1.05; }
.team-name select { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; }
.team-meta { font-size: 12px; color: var(--color-text-dim); margin-top: 2px; }
.team-meta b { color: var(--color-lime-primary); font-weight: 600; }

.rating-choices { display: inline-flex; gap: 4px; padding: 3px 4px; background: var(--color-bg-base); border-radius: var(--radius); flex-wrap: wrap; }
.rating-choices input { position: absolute; opacity: 0; pointer-events: none; }
.rating-choices label {
  min-width: 52px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 5px; font-family: var(--font-display); font-size: 26px; font-weight: 500; cursor: pointer;
  transition: var(--transition-smooth); color: rgba(255,255,255,.9);
}
.rating-choices label.neg { color: #ff8ac4; }
.rating-choices label:hover { background: var(--color-purple-secondary); }
.rating-choices .divider { width: 2px; background: var(--color-border-card); margin: 6px 4px; border-radius: 2px; }
.rating-choices input:checked + label.pos { background: var(--color-lime-primary); color: var(--color-bg-base); box-shadow: 0 0 18px var(--color-lime-glow); }
.rating-choices input:checked + label.neg { background: var(--color-pink-primary); color: #fff; box-shadow: 0 0 18px var(--color-pink-glow); }
.rating-choices input:focus-visible + label { outline: 2px solid var(--color-lime-light); outline-offset: 2px; }
.rating-label { grid-column: 1 / -1; font-size: 13px; color: var(--color-text-muted); min-height: 18px; margin-top: -6px; }

/* ---------- Actions ---------- */
.actions { display: flex; justify-content: flex-end; gap: 10px; margin: 6px 0 10px; flex-wrap: wrap; }
.btn {
  height: 46px; padding: 0 24px; border-radius: var(--radius); font-family: var(--font-display); font-size: 21px;
  font-weight: 500; text-transform: uppercase; cursor: pointer; transition: var(--transition-smooth); border: 1px solid transparent;
}
.btn.primary { background: var(--color-pink-primary); color: #fff; }
.btn.primary:hover { background: var(--color-pink-hover); box-shadow: 0 0 20px var(--color-pink-glow); }
.btn.ghost { background: transparent; color: #fff; border-color: var(--color-border-purple); }
.btn.ghost:hover { border-color: var(--color-lime-primary); color: var(--color-lime-primary); }
.btn.ghost.danger:hover { border-color: var(--color-live-red); color: #ff6b6e; }
.btn.small { height: 32px; padding: 0 12px; font-size: 16px; }
.footnote { text-align: right; font-size: 12px; color: var(--color-text-dim); font-style: italic; margin-bottom: 48px; }

.form-error { background: rgba(222,0,4,.15); border: 1px solid var(--color-live-red); color: #ffd0d1; padding: 12px 14px; border-radius: var(--radius); margin-bottom: 14px; font-size: 14px; }
.form-error ul { margin-left: 18px; }

.sub-toolbar { display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 14px; }
.rt { font-size: 24px; }
.rt.pos { color: var(--color-lime-primary); }
.rt.neg { color: #ff4fa8; }
#subTable td.team { text-align: left; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--color-lime-primary); color: var(--color-bg-base);
  font-weight: 600; padding: 12px 20px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.4); z-index: 50;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .scale { grid-template-columns: repeat(3, 1fr); }
  .rating-row { grid-template-columns: 1fr; }
  .rating-choices label { min-width: 0; flex: 1; }
  .rating-choices { display: flex; flex-wrap: nowrap; }
  .actions .btn { flex: 1; }
}

/* ---------- Print: a clean paper copy ---------- */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .actions, .footnote ~ *, #view-submissions, .outline, .toast, .stepper button { display: none !important; }
  .card { background: #fff; border: 1px solid #999; break-inside: avoid; }
  .eyebrow { color: #610886; }
  input, select, textarea, .static { background: #fff; color: #000; border: 1px solid #999; }
  .hint, .field > span, .opt, .team-meta, .rating-label { color: #333; }
  .pts-table th { background: #eee; color: #000; }
  .pts-table td, .total-row td { background: #fff; color: #000; border-bottom: 1px solid #ccc; }
  .rating-row { background: #fff; border: 1px solid #999; }
  .rating-choices { background: #fff; }
  .rating-choices label { color: #000 !important; border: 1px solid #999; }
  .rating-choices input:checked + label { background: #000 !important; color: #fff !important; box-shadow: none; }
  details.tally:not([open]) { display: none; }
}

/* ---------- Compact single-screen layout ---------- */
.brand-title {
  font-family: var(--font-display); font-size: 18px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 1px; color: var(--color-pink-primary); line-height: 1.1;
}
main.wrap { padding-top: 20px; padding-bottom: 16px; }
.card { padding: 18px 20px; margin-bottom: 14px; }
.card-title { font-size: 24px; margin-bottom: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
.stage-tag {
  font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .3px; text-transform: none;
  color: var(--color-bg-base); background: var(--color-lime-primary); border-radius: 4px; padding: 2px 8px;
}
.stage-tag[hidden] { display: none; }
.rating-rows { gap: 8px; }
.rating-row { padding: 10px 16px; }
.rating-label { grid-column: auto; margin-top: 2px; font-size: 13px; color: var(--color-text-dim); min-height: 0; }
.rating-label.pos { color: var(--color-lime-primary); }
.rating-label.neg { color: #ff8ac4; }
.actions { margin: 0 0 8px; }
.form-error { padding: 10px 14px; margin-bottom: 12px; }
.sub-toolbar { align-items: center; justify-content: space-between; }
.sub-toolbar .card-title { margin-bottom: 0; }
.sub-buttons { display: flex; gap: 10px; }

@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-3 .span-2 { grid-column: auto; }
  .sub-toolbar { flex-wrap: wrap; }
}
@media print {
  .site-header { display: block !important; background: #fff; border-bottom: 2px solid #000; position: static; }
  .site-header .tabs { display: none; }
  .brand-mark, .brand-title { color: #000; }
  .rating-label { color: #000 !important; }
  .stage-tag { background: #eee; color: #000; }
}

/* ---------- Fit in one browser window at 100% zoom ---------- */
html { overflow-x: hidden; }
.header-inner { min-height: 56px; padding-top: 4px; padding-bottom: 4px; }
.brand-mark { font-size: 24px; }
.brand-title { font-size: 16px; }
.tab { height: 32px; font-size: 18px; }
main.wrap { padding-top: 12px; padding-bottom: 8px; }
.card { padding: 14px 18px; margin-bottom: 10px; border-radius: 8px; }
.card-title { font-size: 22px; margin-bottom: 8px; line-height: 1.2; }
.grid-3 { gap: 8px 14px; }
.field { gap: 3px; }
.field > span { font-size: 11px; }
input, select, textarea { padding: 8px 12px; font-size: 14px; }
select { padding-right: 36px; }
.rating-rows { gap: 6px; }
.rating-row { padding: 6px 14px; }
.team-name { font-size: 22px; }
.team-name select { font-size: 18px; padding-top: 4px; padding-bottom: 4px; }
.rating-label { font-size: 12px; margin-top: 0; }
.rating-choices label { height: 40px; min-width: 48px; font-size: 24px; }
.empty { padding: 10px; }
.btn { height: 42px; font-size: 19px; }
.actions { margin-bottom: 0; }

/* Lock the page on laptop/desktop windows; smaller screens still scroll so nothing gets cut off */
@media (min-width: 761px) and (min-height: 560px) {
  html, body { height: 100%; overflow: hidden; }
  #view-submissions .table-scroll { max-height: calc(100vh - 190px); overflow-y: auto; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .wrap { padding: 0 12px; }
  .header-inner { min-height: 52px; gap: 8px; flex-wrap: nowrap; }
  .brand-mark { font-size: 20px; }
  .brand-title { font-size: 13px; }
  .hide-sm { display: none; }
  .tabs { flex-shrink: 0; }
  .tab { height: 30px; padding: 0 10px; font-size: 16px; gap: 6px; }

  main.wrap { padding-top: 10px; padding-bottom: 0; }
  .card { padding: 12px; }
  .card-title { font-size: 20px; }
  .card-title .opt { display: block; width: 100%; margin-top: -2px; }

  /* 16px inputs stop iPhones zooming in on focus */
  input, select, textarea { font-size: 16px; padding: 10px 12px; }
  .grid-3 { gap: 10px; }

  .rating-row { grid-template-columns: 1fr; gap: 8px; padding: 10px; }
  .team-name { font-size: 22px; }
  .team-name select { font-size: 18px; }
  .rating-choices { display: flex; width: 100%; gap: 2px; }
  .rating-choices label { flex: 1; min-width: 0; height: 46px; font-size: 24px; }
  .rating-choices .divider { margin: 8px 2px; }

  /* Buttons stay reachable at the bottom of the screen */
  .actions {
    position: sticky; bottom: 0; z-index: 5; margin: 0 -12px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--color-bg-dark); border-top: 1px solid var(--color-border-card); gap: 8px; flex-wrap: nowrap;
  }
  .actions .btn { flex: 1; padding: 0 8px; font-size: 17px; }
  .actions .btn.primary { flex: 1.6; }
  .toast { bottom: 80px; width: calc(100% - 24px); text-align: center; }

  /* Submissions as cards */
  .sub-toolbar { margin-top: 4px; gap: 8px; }
  .sub-buttons { width: 100%; }
  .sub-buttons .btn { flex: 1; }
  #view-submissions .table-scroll { max-height: none; overflow: visible; }
  #subTable thead { display: none; }
  #subTable, #subTable tbody { display: block; }
  #subTable tr {
    display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px;
    background: var(--color-bg-purple); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px;
  }
  #subTable td { display: block; height: auto; padding: 2px 0; background: none !important; border-radius: 0 !important; text-align: left; font-size: 18px; }
  #subTable td:nth-child(1)::before { content: "Match "; }
  #subTable td:nth-child(1) { color: var(--color-lime-primary); }
  #subTable td:nth-child(2) { text-align: right; font-family: var(--font-body); font-size: 13px; color: var(--color-text-dim); }
  #subTable td:nth-child(4), #subTable td:nth-child(6) { text-align: right; }
  #subTable td:nth-child(7) { font-family: var(--font-body); font-size: 13px; color: var(--color-text-dim); }
}

/* ---------- Sign in ---------- */
[hidden] { display: none !important; }
.signin {
  min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.signin-card {
  width: 100%; max-width: 380px; background: var(--color-bg-card); border: 1px solid var(--color-border-card);
  border-top: 4px solid var(--color-pink-primary); border-radius: 10px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 60px rgba(20, 2, 36, 0.6);
}
.signin-brand { margin-bottom: 4px; }
.signin-brand .brand-mark { font-size: 30px; }
.signin-brand .brand-title { font-size: 18px; }
.signin-title { font-family: var(--font-display); font-size: 34px; font-weight: 500; text-transform: uppercase; line-height: 1; }
.signin input { font-size: 16px; padding: 11px 12px; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 64px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: none;
  color: var(--color-lime-primary); font: 600 12px var(--font-body); text-transform: uppercase; letter-spacing: .5px;
  cursor: pointer; padding: 6px 8px;
}
.signin .form-error { margin: 0; }
.signin-btn { width: 100%; margin-top: 4px; }

.header-right { display: flex; align-items: center; gap: 10px; }
.signout {
  height: 32px; padding: 0 12px; background: transparent; color: var(--color-text-dim); border: 1px solid var(--color-border-card);
  border-radius: var(--radius); font-family: var(--font-display); font-size: 16px; text-transform: uppercase; cursor: pointer;
  transition: var(--transition-smooth);
}
.signout:hover { color: var(--color-pink-primary); border-color: var(--color-pink-primary); }

@media (max-width: 760px) {
  .header-right { gap: 6px; }
  .signout { height: 30px; padding: 0 8px; font-size: 14px; }
  .brand-title { white-space: nowrap; }
}
@media (max-width: 420px) {
  .header-inner { flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
  .header-right { width: 100%; justify-content: space-between; }
}
@media print { .signout { display: none; } }

/* ---------- API-backed views ---------- */
.static { min-height: 38px; display: flex; align-items: center; }
.rated-tag { background: var(--color-pink-primary); color: #fff; }
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none !important; }
.sub-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.sub-h { font-family: var(--font-display); font-size: 20px; font-weight: 500; text-transform: uppercase; color: var(--color-lime-primary); margin-bottom: 4px; }
#tableTable td.team { text-align: left; }
#view-submissions .pts-table th { position: sticky; top: 0; z-index: 1; }
@media (max-width: 900px) { .sub-grid { grid-template-columns: 1fr; } }
.rating-label.warn { color: var(--color-upcoming-amber, #f59e0b); }
