:root {
  --bg: #0c0d0b;
  --bg-page: #121310;
  --bg-elev: #181a16;
  --bg-card: rgba(22, 24, 20, 0.96);
  --bg-card-inner: rgba(18, 20, 16, 0.92);
  --bg-input: #10110e;
  --border: rgba(168, 156, 128, 0.16);
  --border-light: rgba(188, 174, 140, 0.28);
  --text: #eceae4;
  --text-secondary: #a8a396;
  --text-muted: #7a776c;
  --gold: #c4a35a;
  --gold-bright: #d4c08a;
  --gold-deep: #8a7040;
  --gold-dim: rgba(196, 163, 90, 0.1);
  --gold-glow: rgba(196, 163, 90, 0.08);
  --red: #8f3a32;
  --red-bright: #d4a8a2;
  --red-dim: rgba(196, 92, 82, 0.1);
  --green: #6ea862;
  --green-dim: rgba(110, 168, 98, 0.1);
  --radius: 12px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --font: "Outfit", system-ui, -apple-system, sans-serif;
  --font-display: "Barlow Condensed", "Outfit", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 14px;
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  padding:
    env(safe-area-inset-top, 0)
    env(safe-area-inset-right, 0)
    env(safe-area-inset-bottom, 0)
    env(safe-area-inset-left, 0);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 40% at 50% -20%, rgba(196, 163, 90, 0.06), transparent 50%),
    #121310;
}

.page-watermark {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  contain: strict;
}

.page-watermark__logo {
  width: min(520px, 78vw);
  height: auto;
  opacity: 0.035;
  user-select: none;
}

.page {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 1.35rem 0 3rem;
  transition: opacity 0.65s ease;
}

.main { margin-top: 0; }

.tag-badge {
  display: inline-block;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.22rem;
}

.tag-badge--sm {
  font-size: 0.66rem;
  padding: 0.14rem 0.46rem;
  margin-bottom: 0.18rem;
}

/* ===== Masthead ===== */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.15rem;
  background: #171814;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.masthead::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gold);
  opacity: 0.55;
}

.masthead__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.masthead__seal {
  flex-shrink: 0;
  width: 4.1rem;
  height: 4.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #121310;
  border: 1px solid rgba(196, 163, 90, 0.28);
}

.masthead__seal img {
  width: 2.55rem;
  height: 2.55rem;
  object-fit: contain;
}

.masthead__kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.masthead__title {
  margin: 0.08rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text);
}

.masthead__sub {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.masthead__sub strong {
  color: var(--gold);
  font-weight: 700;
}

.masthead__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

.fto-status {
  font-size: 0.78rem;
  color: var(--text-secondary);
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
}

.fto-status.is-active {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.fto-status__avatar {
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
  border: none;
}

.fto-status__name {
  font-weight: 600;
  color: var(--text);
}

.fto-status__role {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0;
  border: none;
  background: none;
}

.fto-status__role--zarzad {
  color: var(--gold);
  background: none;
}

/* ===== Panel ===== */
.panel {
  background: #151612;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  contain: layout style;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #191b16;
  border-bottom: 1px solid var(--border);
}

.panel__head-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.panel__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 10px;
  background: rgba(12, 14, 10, 0.5);
  border: 1px solid rgba(196, 163, 90, 0.22);
  overflow: hidden;
  padding: 0.22rem;
}

.panel__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #efe8d4;
}

.panel__toolbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sync-hint {
  display: inline-flex;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  max-width: 15.5rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  text-align: left;
}

.sync-hint__icon { display: none; }

.sync-hint__text {
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.sync-hint__text strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem 0;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
}

.filter-tab {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.2rem 0 0.65rem;
  margin-bottom: -1px;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.filter-tab:hover {
  color: var(--text);
  background: none;
}

.filter-tab.is-active {
  background: none;
  border-bottom-color: var(--text);
  color: var(--text);
}

.filter-tab--fail.is-active {
  background: none;
  border-bottom-color: #b9847e;
  color: #d4a8a2;
}

.filter-tab--pass.is-active {
  background: none;
  border-bottom-color: #7d9e78;
  color: #9ec896;
}

.filter-tab__count {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  min-width: 0;
  opacity: 0.55;
}

.filter-hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.filter-hint strong {
  color: var(--gold);
  font-weight: 700;
}

.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 0.25rem;
}

.search-bar__icon {
  position: absolute;
  left: 0.9rem;
  color: var(--text-muted);
  pointer-events: none;
}

.search-bar__input {
  width: 100%;
  padding: 0.72rem 2.6rem;
  font-size: 0.86rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.search-bar__input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.search-bar__input::placeholder { color: var(--text-muted); }

.search-bar__input:focus {
  outline: none;
  border-color: rgba(196, 163, 90, 0.5);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.search-bar__clear {
  position: absolute;
  right: 0.5rem;
  width: 1.55rem;
  height: 1.55rem;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.search-bar__clear:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.add-trainee-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 1.25rem 1rem;
  padding: 0.8rem;
  background: var(--bg-card-inner);
  border: 1px dashed rgba(196, 163, 90, 0.28);
  border-radius: var(--radius-sm);
}

.add-trainee-strip input {
  flex: 1;
  min-width: 100px;
  padding: 0.5rem 0.65rem;
  font-size: 0.84rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text);
}

.add-trainee-strip input:focus {
  outline: none;
  border-color: rgba(196, 163, 90, 0.5);
}

.trainees-list {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem 1.7rem;
  contain: layout style;
}

.trainees-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.trainees-list > .empty,
.trainees-list > .loading {
  width: 100%;
  flex: 1 1 100%;
}

.trainee-card {
  width: 100%;
  background: #181a16;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
  position: relative;
  contain: layout style;
}

.trainee-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  opacity: 0.35;
}

.trainee-card:hover {
  border-color: var(--border-light);
}

.trainee-card:hover::before { opacity: 0.7; }

.trainee-card--passed { border-color: rgba(110, 168, 98, 0.28); }
.trainee-card--passed::before {
  background: var(--green);
  opacity: 0.7;
}

.trainee-card--failed { border-color: var(--border); }

.trainee-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.9rem 1rem 0.9rem 1.15rem;
  border-bottom: 1px solid var(--border);
}

.trainee-card__identity {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.trainee-card__avatar {
  flex-shrink: 0;
  width: auto;
  height: auto;
  min-width: 1.5rem;
  border-radius: 0;
  background: none;
  border: none;
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.trainee-card--passed .trainee-card__avatar {
  border: none;
  background: none;
  color: var(--text-muted);
}

.trainee-card__info {
  min-width: 0;
}

.trainee-card__name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trainee-card__badge {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.trainee-card__head-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.status-pill {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  white-space: nowrap;
  text-transform: uppercase;
}

.status-pill--pass {
  color: #8fb589;
}

.status-pill--fail {
  color: #c48882;
}

.trainee-card__summary {
  padding: 0.75rem 1rem 0.8rem 1.15rem;
  border-bottom: 1px solid var(--border);
}

.summary__scores {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.summary__total {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.summary__total small {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-secondary);
  margin-left: 0.15rem;
}

.threshold-pill {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  line-height: 1.2;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 600;
}

.threshold-pill--need {
  color: var(--text-muted);
}

.threshold-pill__value {
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}

.threshold-pill--done {
  color: #8fb589;
}

.threshold-pill--done svg { display: none; }

.trainee-card__toggle {
  display: block;
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 1.15rem;
  border: none;
  border-top: 1px solid var(--border);
  background: #141510;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}

.trainee-card__toggle:hover {
  background: #1c1e18;
}

.trainee-card__toggle-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.trainee-card__toggle-hint {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trainee-card__toggle-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.trainee-card__toggle-count {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.85;
}

.trainee-card__chevron {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.trainee-card__toggle[aria-expanded="true"] .trainee-card__chevron {
  transform: rotate(180deg);
}

.score-table.is-collapsed { display: none; }

.score-table {
  padding: 0.55rem 0.75rem 0.8rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.score-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.65rem 0.7rem 0.7rem;
  background: #121410;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.score-row:hover { border-color: var(--border-light); }

.score-row.is-done {
  border-color: rgba(110, 168, 98, 0.22);
  background: rgba(110, 168, 98, 0.05);
}

.score-row__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
}

.score-row__check {
  flex-shrink: 0;
  width: 0.85rem;
  height: 0.85rem;
  display: grid;
  place-items: center;
}

.score-row__check svg {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--green);
}

.score-row__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-deep);
  opacity: 0.7;
}

.score-row__name {
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-row.is-done .score-row__name { color: var(--text-secondary); }

.score-row__pts {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.score-row__pts-cur {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold);
}

.score-row.is-done .score-row__pts-cur { color: var(--green); }

.score-row__pts-sep {
  font-size: 0.68rem;
  color: var(--text-muted);
  opacity: 0.55;
  margin: 0 0.06rem;
}

.score-row__pts-max {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.score-row__bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  margin: 0;
}

.score-row__actions {
  margin-top: 0.15rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.pt-pad {
  display: flex;
  gap: 0.45rem;
}

.pt-pad__group {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

.pt-btn {
  touch-action: manipulation;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #1a1e16;
  color: #8a8474;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.42rem 0;
  min-height: 2.05rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.pt-btn--minus {
  background: #2c1816;
  border-color: #5a322e;
  color: #e0b4ae;
}

.pt-btn--plus {
  background: #182618;
  border-color: #355c3a;
  color: #b3d4b4;
}

.pt-btn--minus:hover:not(:disabled):not(.pt-btn--off),
.pt-btn--minus:focus-visible:not(:disabled):not(.pt-btn--off) {
  background: #3a201c;
  border-color: #7a4038;
  color: #f0c8c2;
}

.pt-btn--plus:hover:not(:disabled):not(.pt-btn--off),
.pt-btn--plus:focus-visible:not(:disabled):not(.pt-btn--off) {
  background: #203428;
  border-color: #447850;
  color: #cce8cc;
}

.pt-btn--apply {
  flex-shrink: 0;
  width: auto;
  min-width: 4.4rem;
  min-height: 2.05rem;
  padding: 0 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 8px;
}

.pt-btn--apply.pt-btn--plus {
  background: #c4a35a;
  border-color: transparent;
  color: #1a180f;
}

.pt-btn--apply.pt-btn--plus:hover:not(:disabled) {
  background: #d4b56a;
  color: #1a180f;
}

.pt-btn--apply:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.pt-custom {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.pt-custom-input {
  flex: 1;
  min-width: 0;
  padding: 0.34rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: #0c0e0a;
  color: var(--text);
}

.pt-custom-input:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pt-custom-input:focus {
  outline: none;
  border-color: rgba(196, 163, 90, 0.45);
}

.pt-custom-input::placeholder {
  color: var(--text-muted);
  font-size: 0.66rem;
}

.pt-btn:active:not(:disabled):not(.pt-btn--off) {
  background: #10140e;
}

.pt-btn--off,
.pt-btn:disabled {
  opacity: 0.22;
  cursor: not-allowed;
  pointer-events: none;
}

body.points-locked .btn-pts:not(.pt-btn--off) {
  pointer-events: none;
  opacity: 0.4;
  cursor: wait;
}

body.points-locked .pt-pad { opacity: 0.65; }

.progress__bar {
  height: 100%;
  width: 100%;
  background: var(--gold);
  border-radius: inherit;
  transform: scaleX(var(--pct, 0));
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.progress__bar.is-full {
  background: var(--green);
}

.progress {
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.progress--summary { height: 6px; }

input, button { font: inherit; -webkit-tap-highlight-color: transparent; }

.btn {
  touch-action: manipulation;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0.48rem 0.9rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.btn:active:not(:disabled) { transform: scale(0.98); }

.btn__icon { flex-shrink: 0; }

.btn--primary {
  background: #c4a35a;
  border-color: transparent;
  color: #1a180f;
}

.btn--primary:hover {
  background: #d4b56a;
  color: #1a180f;
}

.btn--accent {
  background: #1a1514;
  border: 1px solid #3d2a28;
  color: #c4a8a4;
}

.btn--accent:hover {
  background: #221a18;
  border-color: #4a3532;
}

.btn--discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #5865f2;
  border: 1px solid transparent;
  color: #fff;
  text-decoration: none;
}

.btn--discord:hover {
  background: #4752c4;
  color: #fff;
}

.btn--danger {
  background: #3d1816;
  border: 1px solid #5c2824;
  color: #f0d4d0;
}

.btn--danger:hover {
  background: #4a201c;
  border-color: #6b322c;
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: rgba(196, 163, 90, 0.08);
  border-color: var(--border-light);
  color: var(--text);
}

.btn--sm { padding: 0.4rem 0.7rem; font-size: 0.78rem; }

.btn--xs {
  padding: 0.22rem 0.5rem;
  font-size: 0.68rem;
  border-radius: 7px;
}

.stats-panel {
  margin: 0.35rem 1.25rem 0;
  padding: 0.95rem 0 0.15rem;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: none;
  contain: layout style;
}

.stats-panel__loading {
  margin: 0 0 0.85rem;
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.stats-strip__cell {
  padding: 0 1rem 0.85rem;
  border-right: 1px solid var(--border);
}

.stats-strip__cell:first-child { padding-left: 0; }
.stats-strip__cell:last-child {
  padding-right: 0;
  border-right: none;
}

.stats-strip__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.stats-strip__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  letter-spacing: 0.02em;
}

.stats-strip__value.is-pass { color: #8fb589; }
.stats-strip__value.is-fail { color: #c48882; }

.stats-strip__cell small {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.stats-passbar {
  padding: 0 0 0.9rem;
}

.stats-passbar__track {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.stats-passbar__fill {
  height: 100%;
  width: 100%;
  background: #8fb589;
  transform: scaleX(var(--pct, 0));
  transform-origin: left center;
}

.stats-weak {
  padding: 0.15rem 0 1rem;
}

.stats-weak__title {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

.stats-weak__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.stats-weak__item {
  display: grid;
  grid-template-columns: minmax(7rem, 0.9fr) 1fr auto;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
}

.stats-weak__name {
  color: var(--text-secondary);
}

.stats-weak__track {
  display: block;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.stats-weak__fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--text-muted);
  transform: scaleX(var(--pct, 0));
  transform-origin: left center;
}

.stats-weak__meta {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 0.72rem;
}

@media (max-width: 900px) {
  .stats-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stats-strip__cell:nth-child(3) { border-right: none; }
  .stats-strip__cell:nth-child(n + 4) {
    padding-top: 0.75rem;
  }
}

@media (max-width: 720px) {
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-strip__cell:nth-child(2n) { border-right: none; }
  .stats-weak__item {
    grid-template-columns: 1fr auto;
  }
  .stats-weak__track { display: none; }
}

.side-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  justify-content: flex-end;
}

.side-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 7, 0.62);
}

.side-modal__panel {
  position: relative;
  width: min(100%, 400px);
  height: 100%;
  background: #161814;
  border-left: 1px solid var(--border);
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  contain: layout paint;
}

.side-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.15rem 1.15rem 0.9rem;
  border-bottom: 1px solid var(--border);
}

.side-modal__lead {
  margin: 0.3rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font);
  font-weight: 400;
}

.side-modal__title {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.side-modal__close {
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
}

.side-modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.side-modal__filters {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.side-modal__filter {
  flex: 1;
  display: grid;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.side-modal__filter select {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text);
}

.history-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 1.05rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.history-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.history-day {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 0.15rem;
}

.history-item {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #121410;
}

.history-item--plus { border-left: 3px solid #6ea862; }
.history-item--minus { border-left: 3px solid #c45c52; }

.history-item__delta {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  padding-top: 0.08rem;
}

.history-item--plus .history-item__delta { color: #9ec896; }
.history-item--minus .history-item__delta { color: #d4a8a2; }

.history-item__body { min-width: 0; }

.history-item__trainee {
  display: block;
  font-size: 0.84rem;
  color: var(--text);
}

.history-item__cat,
.history-item__foot {
  margin: 0.18rem 0 0;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.history-item__foot {
  color: var(--text-muted);
}

.trainee-card__admin {
  display: flex;
  gap: 0.3rem;
  padding: 0;
  border: none;
  background: none;
}

.auth-modal__dialog--form {
  text-align: left;
  border-color: rgba(196, 163, 90, 0.28);
  background: #171814;
}

.auth-modal__title--dark {
  color: #efe8d4;
  text-align: left;
}

.auth-modal__hint {
  margin: -0.2rem 0 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.auth-modal__actions--end {
  justify-content: flex-end;
}

.auth-modal__dialog--form label {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.auth-modal__dialog--form input {
  width: 100%;
  padding: 0.52rem 0.68rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text);
}

.auth-modal__actions--split {
  justify-content: space-between;
  flex-wrap: wrap;
}

.auth-modal__actions-right {
  display: flex;
  gap: 0.45rem;
}

label {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 0.52rem 0.68rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text);
}

input[type="text"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: rgba(196, 163, 90, 0.5);
  box-shadow: 0 0 0 2px var(--gold-dim);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 100;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 7, 4, 0.8);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  width: min(400px, calc(100% - 1.5rem));
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.modal__dialog h2 {
  margin: 0.35rem 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateZ(0);
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: rgba(16, 18, 12, 0.98);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 500;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 200;
}

.toast.is-error {
  border-color: rgba(185, 70, 60, 0.55);
  color: #fecaca;
  background: #2a1412;
  font-weight: 600;
}

.toast.is-success {
  border-color: rgba(125, 186, 111, 0.4);
  color: #9ec896;
}

.guest-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 1.25rem 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #171814;
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.5;
}

body:not(.is-guest) .guest-notice { display: none; }

.guest-notice__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--gold-dim);
  border: 1px solid rgba(196, 163, 90, 0.22);
  color: var(--gold);
}

.guest-notice__text { margin: 0; }

.guest-notice__text strong { color: var(--text); }

body.is-guest .guest-sensitive {
  filter: blur(10px) saturate(0.6);
  opacity: 0.45;
  user-select: none;
  pointer-events: none;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

body.is-guest .trainee-card__toggle { pointer-events: auto; }

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 7, 0.72);
}

.auth-modal__dialog {
  position: relative;
  width: min(100%, 24rem);
  padding: 1.35rem 1.35rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(232, 160, 153, 0.35);
  background: linear-gradient(180deg, #1c1412 0%, #141710 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.auth-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
}

.auth-modal__icon--deny {
  color: #d4a8a2;
  background: rgba(196, 92, 82, 0.14);
  border: 1px solid rgba(232, 160, 153, 0.35);
}

.auth-modal__title {
  margin: 0.45rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d4a8a2;
}

.auth-modal__text {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #d8d2c4;
}

.auth-modal__text strong { color: #efe8d4; }

.auth-modal__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.auth-modal__actions .btn { min-width: 7.5rem; }

.loading, .empty {
  color: var(--text-secondary);
  text-align: center;
  padding: 2.75rem 1rem;
  font-size: 0.88rem;
  font-style: italic;
}

.hidden { display: none !important; }

body.is-drawer {
  overflow: hidden;
}

.sheet-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.sheet-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 7, 0.7);
}

.sheet-modal__card {
  position: relative;
  width: min(100%, 28rem);
  padding: 0;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #181a16;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.sheet-modal__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.2rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #141610;
}

.sheet-modal__mark {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #c4a35a;
  color: #1a180f;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.sheet-modal__mark--edit {
  font-size: 1.05rem;
}

.sheet-modal__kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.sheet-modal__title {
  margin: 0.12rem 0 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}

.sheet-modal__form {
  padding: 1.15rem 1.2rem 1.2rem;
}

.sheet-modal__form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.sheet-modal__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.sheet-modal__pair label { margin-bottom: 0.75rem; }

.sheet-modal__form input[type="text"] {
  width: 100%;
  padding: 0.62rem 0.72rem;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #10120e;
  color: var(--text);
  font-size: 0.92rem;
}

.sheet-modal__form input[type="text"]:focus {
  outline: none;
  border-color: rgba(196, 163, 90, 0.5);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.sheet-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
  margin-top: 0.35rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border);
}

.sheet-modal__actions--split {
  justify-content: space-between;
  align-items: center;
}

.sheet-modal__actions-right {
  display: flex;
  gap: 0.45rem;
}

@media (max-width: 520px) {
  .sheet-modal__pair { grid-template-columns: 1fr; }
  .sheet-modal__actions--split {
    flex-direction: column;
    align-items: stretch;
  }
  .sheet-modal__actions-right {
    width: 100%;
    justify-content: flex-end;
  }
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-footer__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
}

@media (max-width: 720px) {
  .page {
    width: 100%;
    padding: 0.75rem 0.75rem 2rem;
  }

  .page-watermark__logo { width: min(280px, 85vw); }

  .masthead {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
  }

  .masthead__title { font-size: 1.45rem; }

  .masthead__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .masthead__actions .btn--discord {
    width: 100%;
  }

  .panel__head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
  }

  .panel__toolbar {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .sync-hint {
    order: -1;
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    padding: 0;
  }

  .sync-hint__text {
    text-align: center;
    font-size: 0.7rem;
  }

  .controls {
    padding: 0.85rem 1rem 0;
    gap: 0.55rem;
  }

  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .filter-tabs::-webkit-scrollbar { display: none; }

  .filter-tab {
    flex-shrink: 0;
    font-size: 0.78rem;
    padding: 0.42rem 0.75rem;
  }

  .search-bar__input {
    font-size: 16px;
    padding: 0.7rem 2.5rem;
  }

  .add-trainee-strip {
    margin: 0 1rem 0.85rem;
    flex-direction: column;
  }

  .add-trainee-strip input,
  .add-trainee-strip .btn {
    width: 100%;
    min-height: 2.75rem;
  }

  .trainees-list {
    gap: 1rem;
    padding: 1rem 1rem 1.2rem;
  }

  .trainees-col {
    gap: 1rem;
  }

  .stats-panel { margin-inline: 1rem; }

  .side-modal__panel { width: 100%; }

  .trainee-card__head {
    align-items: flex-start;
    padding: 0.85rem 0.9rem 0.85rem 1rem;
  }

  .trainee-card__summary {
    padding: 0.7rem 0.9rem 0.75rem 1rem;
  }

  .trainee-card__name {
    white-space: normal;
  }

  .trainee-card__admin { flex-wrap: wrap; justify-content: flex-end; }

  .auth-modal__actions--split {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-modal__actions-right {
    width: 100%;
    justify-content: flex-end;
  }

  .score-row__name {
    white-space: normal;
    font-size: 0.78rem;
  }

  .pt-btn {
    min-height: 2.65rem;
    font-size: 0.72rem;
  }

  .pt-custom-input {
    font-size: 16px;
    min-height: 2.65rem;
  }

  .pt-btn--apply {
    width: auto;
    min-width: 4.6rem;
    min-height: 2.65rem;
    font-size: 0.82rem;
  }

  .btn {
    min-height: 2.5rem;
    padding: 0.5rem 0.85rem;
  }

  .btn--sm { min-height: 2.35rem; }

  .toast {
    width: calc(100% - 1.5rem);
    max-width: 24rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0));
    text-align: center;
  }

  .guest-notice {
    margin-inline: 1rem;
    font-size: 0.78rem;
  }

  .auth-modal__dialog { width: calc(100% - 1.25rem); }

  .auth-modal__actions { flex-direction: column; }
  .auth-modal__actions .btn { width: 100%; }

  .site-footer {
    flex-wrap: wrap;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 380px) {
  .page { padding-inline: 0.5rem; }
  .masthead__title { font-size: 1.25rem; }
  .panel__icon {
    width: 2.15rem;
    height: 2.15rem;
  }
}

/* Intro splash */
body.is-intro { overflow: hidden; }

body.is-intro .page,
body.is-intro .page-watermark {
  opacity: 0;
  pointer-events: none;
}

body:not(.is-intro) .page,
body:not(.is-intro) .page-watermark { opacity: 1; }

.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: #121310;
  overflow: hidden;
}

.intro-splash__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: min(92vw, 640px);
}

.intro-splash__mark {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: introKickerIn 0.7s ease 0.1s forwards;
}

.intro-splash__logo {
  width: clamp(4.5rem, 14vw, 6.25rem);
  height: auto;
  margin-bottom: 1.1rem;
  opacity: 0;
  transform: translateY(10px);
  animation: introLogoIn 0.7s ease 0.2s forwards;
}

.intro-splash__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  animation: introKickerIn 0.7s ease 0.35s forwards;
}

.intro-splash__kicker {
  margin: 0;
  font-size: clamp(0.72rem, 2.2vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.55;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(10px);
  animation: introKickerIn 0.7s ease 0.5s forwards;
}

.intro-splash__rule {
  width: 0;
  height: 1px;
  margin: 0.85rem 0 0.95rem;
  background: var(--gold);
  opacity: 0.55;
  animation: introRuleGrow 0.6s ease 0.65s forwards;
}

.intro-splash__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 6vw, 2.8rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  animation: introNameIn 0.7s ease 0.8s forwards;
}

.intro-splash.is-exiting {
  animation: introFadeOut 0.7s ease forwards;
  pointer-events: none;
}

@keyframes introLogoIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introKickerIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introRuleGrow {
  to { width: min(180px, 48vw); }
}

@keyframes introNameIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 520px) {
  .intro-splash__kicker { letter-spacing: 0.04em; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-splash { display: none !important; }
}
