:root {
  --bg: #080c10;
  --bg-card: #0f161f;
  --bg-elevated: #151f2b;
  --bg-hover: #1a2736;
  --pitch: #14532d;
  --pitch-light: #1a6b3a;
  --accent: #34d399;
  --accent-dim: #10b981;
  --gold: #fbbf24;
  --danger: #f87171;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.07);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --header-h: 60px;
  --voter-h: 56px;
  --bottom-nav-h: 64px;
  --font: "Outfit", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--voter-h) + 12px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  padding-bottom: var(--bottom-nav-h);
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 1000;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 { width: 420px; height: 420px; background: rgba(52, 211, 153, 0.1); top: -80px; right: -80px; }
.glow-2 { width: 320px; height: 320px; background: rgba(251, 191, 36, 0.05); bottom: 15%; left: -120px; }

/* ——— Splash ——— */
body.splash-active {
  overflow: hidden;
}

.splash {
  --splash-duration: 5000ms;
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.65s var(--ease), visibility 0.65s;
}

.splash.splash-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 40%, rgba(52, 211, 153, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(251, 191, 36, 0.08), transparent 50%),
    var(--bg);
}

.splash-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
  animation: splashGridPulse 3s ease-in-out infinite;
}

.splash-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 92vw;
}

.splash-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35em 0.5em;
  margin: 0;
  line-height: 1.1;
}

.splash-line-1 {
  margin-bottom: 0.35rem;
}

.splash-word {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  filter: blur(6px);
  animation: splashWordIn 0.85s var(--ease) forwards;
}

.splash-line-1 .splash-word:nth-child(1) { animation-delay: 0.15s; font-size: clamp(1.5rem, 6vw, 2.4rem); color: var(--text); }
.splash-line-1 .splash-word:nth-child(2) { animation-delay: 0.35s; font-size: clamp(2rem, 9vw, 3.6rem); }
.splash-line-1 .splash-word:nth-child(3) { animation-delay: 0.55s; font-size: clamp(1.25rem, 5vw, 2rem); font-family: var(--mono); letter-spacing: 0.2em; color: var(--text-muted); font-weight: 600; }

.splash-word-accent {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(52, 211, 153, 0.45);
}

.splash-word-gold {
  color: var(--gold);
  text-shadow: 0 0 32px rgba(251, 191, 36, 0.35);
}

.splash-sep {
  margin: 0.5rem 0 0.65rem;
  font-family: var(--mono);
  font-size: clamp(1rem, 4vw, 1.5rem);
  color: rgba(255, 255, 255, 0.2);
  opacity: 0;
  animation: splashSepIn 0.6s var(--ease) 0.75s forwards;
}

.splash-line-2 .splash-word:nth-child(1) {
  animation-delay: 0.95s;
  font-size: clamp(1.1rem, 4.5vw, 1.75rem);
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.28em;
}

.splash-line-2 .splash-word:nth-child(2) {
  animation-delay: 1.15s;
  font-size: clamp(1.35rem, 5.5vw, 2.2rem);
}

.splash-progress {
  width: min(280px, 70vw);
  height: 3px;
  margin: 2rem auto 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  opacity: 0;
  animation: splashWordIn 0.5s var(--ease) 1.3s forwards;
}

.splash-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent), var(--gold));
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.5);
  animation: splashProgress var(--splash-duration) linear 1.35s forwards;
}

@keyframes splashWordIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes splashSepIn {
  to { opacity: 1; }
}

@keyframes splashGridPulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.45; }
}

@keyframes splashProgress {
  to { width: 100%; }
}

/* ——— Header ——— */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1rem;
  min-height: var(--header-h);
  background: rgba(8, 12, 16, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  flex: 1;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #042f1a;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.brand h1 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--bg-elevated);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  padding: 0.5rem;
  background: rgba(8, 12, 16, 0.98);
  border-bottom: 1px solid var(--border);
  gap: 0.15rem;
}

.nav.is-open { display: flex; }

.nav a {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.15s, color 0.15s;
}

.nav a:hover,
.nav a.is-active {
  color: var(--accent);
  background: rgba(52, 211, 153, 0.08);
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .header { padding: 0.65rem 1.5rem; flex-wrap: nowrap; }
  .brand { flex: 0 1 auto; }
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    border: none;
    padding: 0;
    gap: 0.25rem;
  }
  .nav a { padding: 0.5rem 0.85rem; font-size: 0.88rem; }
}

/* ——— Voter bar ——— */
.voter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 190;
  background: rgba(15, 22, 31, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.voter-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.voter-bar-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 140px;
}

.voter-bar-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.voter-bar-field input,
.voter-bar-field select {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
}

.voter-bar-field input:focus,
.voter-bar-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15);
}

.voter-bar-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.vote-progress {
  font-size: 0.78rem;
  font-family: var(--mono);
  color: var(--text-muted);
  white-space: nowrap;
}

.vote-progress.done { color: var(--accent); }

.voter-cta { display: none; }

@media (max-width: 899px) {
  .voter-cta { display: inline-flex; }
}

@media (min-width: 900px) {
  .voter-bar-inner { flex-wrap: nowrap; }
  .voter-bar-field { max-width: 280px; }
}

/* ——— Sync ——— */
.sync-status {
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--mono);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
}

.sync-online { color: var(--accent); background: rgba(52, 211, 153, 0.12); }
.sync-loading { color: var(--gold); background: rgba(251, 191, 36, 0.1); }
.sync-offline, .sync-error { color: var(--danger); background: rgba(248, 113, 113, 0.12); }

/* ——— Main ——— */
main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

@media (min-width: 768px) {
  main { padding: 1.5rem 1.5rem 3rem; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ——— Hero ——— */
.hero { margin-bottom: 2rem; }

.hero-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr minmax(260px, 340px);
  }
}

.hero-content {
  padding: 1.5rem;
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
}

.hero-popular {
  padding: 1.15rem 1.25rem;
  background: linear-gradient(165deg, rgba(52, 211, 153, 0.08) 0%, var(--bg-card) 55%);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.hero-popular-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.popular-block + .popular-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.popular-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.popular-value {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--text);
  line-height: 1.2;
}

.popular-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.popular-lineup {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.popular-lineup-item {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.82rem;
  line-height: 1.35;
}

.popular-lineup-item--tie {
  align-items: start;
}

.popular-lineup-item--tie .popular-player-block {
  min-width: 0;
}

.popular-tie-kicker {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
}

.popular-player--muted {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.8rem;
}

.popular-lineup .popular-slot {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.popular-lineup .popular-player {
  font-weight: 600;
  text-align: left;
  word-break: break-word;
}

.popular-lineup.is-empty {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  background: rgba(52, 211, 153, 0.12);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.hero h2 {
  font-size: clamp(1.6rem, 5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.hero h2 em { font-style: normal; color: var(--accent); }

.hero-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 540px;
  margin-bottom: 1.25rem;
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.steps span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.stat {
  padding: 0.75rem;
  background: var(--bg);
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--mono);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-more summary {
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
}

.hero-more-body {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-xs);
  border: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s var(--ease), box-shadow 0.12s, opacity 0.12s;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn:not(:disabled):hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #042f1a;
  box-shadow: 0 2px 12px rgba(52, 211, 153, 0.25);
}

.btn-lg { padding: 0.75rem 1.35rem; font-size: 1rem; }

.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.82rem; }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover:not(:disabled) { color: var(--text); border-color: rgba(255,255,255,0.15); }

.btn-danger:hover:not(:disabled) { color: var(--danger); border-color: rgba(248,113,113,0.35); }

/* ——— Sections ——— */
.section { margin-bottom: 2.5rem; scroll-margin-top: calc(var(--header-h) + var(--voter-h) + 8px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head h2 { font-size: 1.35rem; font-weight: 700; }

.section-sub {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.2rem;
}

.formation-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-width: 100%;
}

@media (max-width: 600px) {
  .formation-picker {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }
  .formation-picker::-webkit-scrollbar { display: none; }
}

.formation-picker .formation-btn { flex-shrink: 0; }

.formation-btn {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s var(--ease);
}

.formation-btn:hover,
.formation-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(52, 211, 153, 0.1);
}

.formation-btn.formation-sent:not(.active) {
  border-color: rgba(52, 211, 153, 0.45);
  color: var(--accent);
}

.formation-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

/* ——— Pitch ——— */
.pitch-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
}

@media (min-width: 800px) {
  .pitch-wrap { grid-template-columns: 1fr minmax(260px, 320px); }
}

.pitch {
  position: relative;
  aspect-ratio: 3 / 4.6;
  max-height: 540px;
  min-height: 400px;
  margin: 0 auto;
  width: 100%;
  max-width: 340px;
  background: linear-gradient(180deg, var(--pitch-light), var(--pitch) 45%, var(--pitch-light));
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.pitch-lines {
  position: absolute;
  inset: 7%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.pitch-center {
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.pitch-center::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 22%;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.pitch-penalty {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 12%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Верх — атака, низ — свои ворота (вратарь) */
.pitch-penalty-top { top: 7%; border-top: none; }
.pitch-penalty-bottom { bottom: 7%; border-bottom: none; }

.pitch-direction {
  position: absolute;
  top: 4%;
  right: 9%;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.05em;
}

.pitch-direction::before {
  content: "↑ атака";
}

.line {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem 0.4rem;
  row-gap: 0.35rem;
  padding: 0 6%;
  pointer-events: none;
}

.line .slot {
  pointer-events: auto;
  flex: 0 0 auto;
}

.line-def { bottom: 17%; }
.line-mid { bottom: 39%; }
.line-fwd { bottom: 61%; }

.line-def .slot { min-width: 54px; max-width: 72px; padding: 0.28rem 0.32rem; }
.line-def .slot-player { font-size: 0.58rem; max-width: 52px; }

.line-mid .slot,
.line-fwd .slot {
  min-width: 50px;
  max-width: 64px;
  padding: 0.24rem 0.3rem;
}

.slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  min-width: 64px;
  max-width: 84px;
  padding: 0.35rem 0.4rem;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.slot.filled {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.25);
}

.slot.is-empty {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.2);
  opacity: 0.85;
}

.slot-player--empty {
  font-size: 0.55rem !important;
  font-weight: 500 !important;
  color: var(--text-muted) !important;
  line-height: 1.2;
}

.slot.is-tie {
  border-color: rgba(251, 191, 36, 0.75);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.22);
  padding: 0.22rem 0.28rem;
  max-width: 62px;
  min-width: 50px;
}

.slot-tie-label {
  display: block;
  font-size: 0.55rem;
  font-weight: 800;
  color: #fcd34d;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-align: center;
}

.slot-tie-meta {
  display: block;
  font-size: 0.48rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--mono);
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.slot-gk {
  position: absolute;
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
  border-color: var(--gold);
}

.slot-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--mono);
}

.slot-player {
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.15;
}

.lineup-panel h3 {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.bench-title { margin-top: 1rem !important; color: var(--text-muted) !important; }

.lineup-panel .hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.lineup-list, .bench-list { list-style: none; }

.bench-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  gap: 0.5rem;
}

.lineup-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 0.5rem 0.65rem;
  align-items: start;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.lineup-item-pos {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  padding-top: 0.1rem;
}

.lineup-item-body {
  min-width: 0;
}

.lineup-item-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.3;
}

.lineup-single-name {
  font-weight: 600;
  line-height: 1.35;
}

.lineup-item-score {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  padding-top: 0.1rem;
}

.lineup-item--tie .lineup-item-score {
  color: var(--gold);
  font-size: 0.9rem;
}

.lineup-item--empty .lineup-empty-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

.lineup-panel-notice {
  list-style: none;
  padding: 0.75rem 0 1rem;
  margin: 0 0 0.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.name-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}

.name-chip {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  white-space: nowrap;
}

.name-chip-more {
  color: var(--gold);
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.1);
  cursor: help;
}

.vote-tie-hint {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.65rem;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius-xs);
}

.vote-tie-hint-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
}

.pick-btn.is-leader-tie:not(.is-mine) {
  border-color: rgba(251, 191, 36, 0.55);
  background: rgba(251, 191, 36, 0.06);
}

/* ——— Vote ——— */
.vote-shell { padding: 0; overflow: hidden; }

.position-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.75rem 0.75rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.pos-tab {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--bg);
  color: var(--text-muted);
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.15s var(--ease);
  min-width: 52px;
}

.pos-tab:hover { border-color: rgba(255,255,255,0.15); color: var(--text); }

.pos-tab.active {
  border-color: var(--accent);
  background: rgba(52, 211, 153, 0.12);
  color: var(--accent);
}

.pos-tab-code {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.85rem;
}

.pos-tab-count {
  font-size: 0.65rem;
  opacity: 0.8;
}

.pos-tab.has-mine .pos-tab-count { color: var(--accent); }

.vote-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.search-wrap {
  flex: 1;
  min-width: 180px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-wrap input {
  width: 100%;
  padding: 0.55rem 0.75rem 0.55rem 2.35rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
}

.search-wrap input:focus {
  outline: none;
  border-color: var(--accent);
}

.filter-mine {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
}

.filter-mine input { accent-color: var(--accent); width: 1rem; height: 1rem; }

.vote-draft-banner {
  margin: 0 0.75rem 0.65rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: var(--radius-xs);
}

.vote-submit-bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  padding: 0.85rem 0.75rem 1rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.vote-draft-status {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
}

.vote-submit-bar .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.vote-panels { padding: 0.75rem; }

.vote-panel { display: none; }
.vote-panel.active { display: block; }
.vote-panel.is-filter-hidden { display: none !important; }

.vote-panel-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.vote-panel-title strong { color: var(--text); }

.pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 0.5rem;
}

.pick-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.6rem 0.65rem;
  text-align: left;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.pick-btn:hover:not(:disabled) {
  border-color: rgba(52, 211, 153, 0.45);
  background: var(--bg-hover);
}

.pick-btn.is-mine {
  border-color: var(--accent);
  background: rgba(52, 211, 153, 0.08);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.15);
}

.pick-btn.is-leader:not(.is-mine) {
  border-color: rgba(251, 191, 36, 0.35);
}

.pick-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pick-btn.is-hidden { display: none; }

.pick-btn .avatar {
  width: 36px;
  height: 36px;
  font-size: 0.72rem;
}

.pick-btn-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.pick-name {
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.2;
}

.pick-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.pick-check {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 700;
}

.pick-options {
  margin-top: 0.85rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.pick-options-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.score-picker-optional {
  flex-wrap: wrap;
}

.score-btn-none {
  min-width: 2rem;
  font-weight: 700;
}

.vote-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.vote-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s, opacity 0.15s;
}

.vote-card.is-hidden { display: none; }
.vote-card.is-gk { opacity: 0.45; pointer-events: none; }
.vote-card.has-voted { border-color: rgba(52, 211, 153, 0.25); }

.vote-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-hover));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--accent);
  flex-shrink: 0;
}

.avatar.gk { color: var(--gold); border-color: rgba(251, 191, 36, 0.3); }

.vote-card-info { flex: 1; min-width: 0; }

.vote-card-name {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vote-card-avg {
  font-family: var(--mono);
  font-size: 0.78rem;
  margin-top: 0.1rem;
}

.vote-card-avg.has { color: var(--accent); }
.vote-card-avg.empty { color: var(--text-muted); }

.vote-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(52, 211, 153, 0.15);
  color: var(--accent);
  flex-shrink: 0;
}

.vote-card-body {
  padding: 0 0.75rem 0.75rem;
  border-top: 1px solid var(--border);
}

.score-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.score-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.12s var(--ease);
}

.score-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.score-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #042f1a;
}

.score-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.vote-card textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.85rem;
  resize: vertical;
  margin-bottom: 0.5rem;
}

.vote-card textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.vote-card textarea::placeholder { color: var(--text-muted); }

.comments-list {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border);
}

.comment-item {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  line-height: 1.4;
}

.comment-item strong { color: var(--text); font-weight: 600; }

.vote-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ——— Players ——— */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.65rem;
}

.player-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, transform 0.15s;
}

.player-card:hover {
  border-color: rgba(52, 211, 153, 0.3);
  transform: translateY(-2px);
}

.player-card.gk {
  border-color: rgba(251, 191, 36, 0.35);
  background: linear-gradient(135deg, var(--bg-card), rgba(251, 191, 36, 0.04));
}

.player-card.absent {
  opacity: 0.72;
  border-style: dashed;
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.05);
}

.avatar.absent {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
}

.absent-badge,
.player-role.absent-badge {
  color: #f87171;
  font-size: 0.8rem;
  font-weight: 600;
}

.absent-notice {
  margin-bottom: 0.75rem;
  padding: 0.85rem 1rem;
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(248, 113, 113, 0.08);
}

.absent-notice p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

.absent-notice p + p {
  margin-top: 0.35rem;
}

.player-body { flex: 1; min-width: 0; }

.player-name {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.25;
}

.player-role {
  font-size: 0.75rem;
  color: var(--gold);
  margin-top: 0.2rem;
}

.player-best {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.35;
}

.player-best strong { color: var(--accent); }

/* ——— Tactics & plan ——— */
.tactics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tactic-card { padding: 1.15rem; position: relative; }

.tactic-card.featured {
  border-color: rgba(52, 211, 153, 0.3);
  background: linear-gradient(135deg, var(--bg-card), rgba(52, 211, 153, 0.04));
}

.tactic-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(52, 211, 153, 0.12);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.tactic-card h3 { font-size: 1rem; margin-bottom: 0.4rem; padding-right: 4rem; }
.tactic-card p { color: var(--text-muted); font-size: 0.85rem; }
.tactic-card ul { padding-left: 1rem; font-size: 0.82rem; color: var(--text-muted); margin-top: 0.5rem; }

.principles { padding: 1.15rem; }
.principles h3 { margin-bottom: 0.85rem; font-size: 1rem; }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.principle-icon { font-size: 1.35rem; display: block; margin-bottom: 0.35rem; }
.principle h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.principle p { font-size: 0.82rem; color: var(--text-muted); }

.plan-half-title {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.plan-half-title:not(:first-child) {
  margin-top: 0.5rem;
}

.plan-halftime {
  grid-column: 1 / -1;
  padding: 0.85rem 1rem;
  text-align: center;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.plan-halftime .phase-time {
  background: rgba(251, 191, 36, 0.15);
  color: var(--gold);
}

.plan-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.plan-phase { padding: 1rem; }

.phase-time {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  background: rgba(52, 211, 153, 0.1);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  margin-bottom: 0.4rem;
}

.plan-phase h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.plan-phase p { font-size: 0.85rem; color: var(--text-muted); }

/* ——— Bottom nav ——— */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 180;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  min-height: var(--bottom-nav-h);
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: rgba(8, 12, 16, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
}

.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.4rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 500;
  transition: color 0.15s;
}

.bottom-nav a span { font-size: 1.2rem; }

.bottom-nav a.is-active,
.bottom-nav a:hover { color: var(--accent); }

.bottom-nav-main {
  color: var(--accent) !important;
  font-weight: 600;
}

@media (min-width: 900px) {
  .bottom-nav { display: none; }
}

/* ——— Toast ——— */
.toast-stack {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: min(360px, calc(100% - 2rem));
  pointer-events: none;
}

@media (min-width: 900px) {
  .toast-stack { bottom: 1.5rem; }
}

.toast {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xs);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 500;
  animation: toast-in 0.3s var(--ease);
  pointer-events: auto;
}

.toast-success { border-color: rgba(52, 211, 153, 0.4); color: var(--accent); }
.toast-error { border-color: rgba(248, 113, 113, 0.4); color: var(--danger); }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ——— Setup banner ——— */
.setup-banner {
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.25rem;
  border-color: rgba(248, 113, 113, 0.35);
}

.setup-banner h3 { margin-bottom: 0.4rem; font-size: 1rem; }
.setup-banner p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.4rem; }
.setup-banner code { font-family: var(--mono); color: var(--accent); font-size: 0.85em; }
.setup-banner a { color: var(--accent); }

.footer {
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
}

/* ——— Voter auth bar ——— */
.voter-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.voter-display {
  font-weight: 600;
  font-size: 0.9rem;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voter-display.authed { color: var(--accent); }

.formation-picker.is-locked .formation-btn {
  opacity: 0.55;
  cursor: not-allowed;
}

.vote-locked-banner {
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  color: var(--gold);
}

.vote-card .send-comment:disabled,
.vote-card.is-locked .vote-card-body { opacity: 0.65; }

/* ——— Modals ——— */
.modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: calc(100% - 2rem);
  width: 400px;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  color: var(--text);
}

.modal-box-wide { width: min(520px, 95vw); }

.modal h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }

.modal-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.field span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.field input,
.field select {
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.pin-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 50vh;
  overflow-y: auto;
  margin-bottom: 0.75rem;
}

.pin-row {
  display: grid;
  grid-template-columns: 1fr 88px 4.5rem auto;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 480px) {
  .pin-row {
    grid-template-columns: 1fr 1fr;
  }
  .pin-row label { grid-column: 1 / -1; }
}

.pin-row label {
  font-size: 0.88rem;
  font-weight: 500;
}

.pin-row input {
  width: 100px;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
}

.pin-row .pin-status {
  font-size: 0.72rem;
  color: var(--text-muted);
  min-width: 4rem;
  text-align: right;
}

.pin-row .pin-status.ready { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *:not(.splash):not(.splash *),
  *:not(.splash):not(.splash *)::before,
  *:not(.splash):not(.splash *)::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .splash { --splash-duration: 1500ms; }
  .splash-word,
  .splash-sep,
  .splash-progress {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation-duration: 0.01ms !important;
  }
}
