/* GymNoor Live theme. Separate stylesheet makes reverting straightforward. */
:root {
  --bg: #071d49;
  --panel: #0d2b62;
  --panel2: #143a76;
  --text: #ffffff;
  --muted: #ffffff;
  --line: #39649c;
  --accent: #ffffff;
  --gold: #ffffff;
}
html { background: #071d49; }
body {
  background: linear-gradient(155deg, #103b82 0%, #09295f 30%, #071d49 92%) fixed;
  color: #ffffff;
}
.comp-head, .comp-card {
  background: linear-gradient(145deg, #16417f, #0b285c);
  color: #ffffff;
}
.card, .empty-state { background: rgba(13, 43, 98, .95); color: #ffffff; }
.tag { background: #173e7c; color: #ffffff; border-color: #39649c; }
.btn, button.btn {
  color: #ffffff;
  background: #1b4a90;
  border: 1px solid #5581b9;
  cursor: pointer;
}
.btn:hover, button.btn:hover { background: #285aa2; }
.results th { background: #1b4a8e; color: #ffffff; }
.results td, .results th { border-color: #315b92; color: #ffffff; }
.results tr:hover td { background: #173e7a; }
.table-wrap { border-color: #426b9f; }
.public-filters select { background: #173e7a; color: #ffffff; border-color: #6a93c7; }
.meta, .brand .sub, .app-card small, .update-note, .club-name, .empty,
.footer, .screen .bib, .screen .status, .public-filters .update-note,
.comp-head .meta, .comp-card .meta { color: #ffffff; }
.screen .status { background: #1a498c; }
.screen .score, .results .final, .final, .brand .logo span { color: #ffffff; }
.app-tools {
  background: rgba(13, 43, 98, .95);
  border: 1px solid var(--line);
  padding: 14px 16px;
  margin: 0 0 18px;
  border-radius: 14px;
}
.app-tools .app-tools-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.app-tools .app-tools-caption { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: #fff; }
.app-tools button { font: inherit; }
.app-tools .btn { font-size: 13px; }
.app-tools .app-tools-status { font-size: 12px; color: #fff; margin: 8px 0 0; line-height: 1.45; }
.app-tools [hidden], dialog[hidden] { display: none !important; }
.app-tools button:disabled { opacity: .65; cursor: not-allowed; }
#pwa-help-dialog {
  max-width: min(450px, calc(100vw - 32px));
  border: 1px solid #6a93c7;
  border-radius: 14px;
  padding: 22px;
  background: #0b2b64;
  color: #ffffff;
  box-shadow: 0 25px 80px #0008;
}
#pwa-help-dialog::backdrop { background: #020d25be; }
#pwa-help-dialog h2 { margin: 0 0 12px; }
#pwa-help-dialog p { line-height: 1.6; }
@media(max-width:600px){
  .wrap { width: min(96%, 680px); padding-top: 14px; }
  .app-tools-row .btn { flex: 1 1 auto; text-align: center; }
}
