:root {
  color-scheme: light dark;
  --bg: #f7f6f2;
  --bg-soft: #fffdf9;
  --surface: #ffffff;
  --fg: #15161a;
  --muted: #5f6470;
  --border: #e4e1da;
  --accent: #0f6b4b;
  --accent-2: #b7f24a;
  --accent-fg: #ffffff;
  --notice-bg: #fff6e5;
  --notice-border: #e8c583;
  --danger: #b4372f;
  --radius: 16px;
  --wrap: 740px;
  --wide: 1040px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --shadow: 0 1px 2px rgb(20 22 26 / 4%), 0 12px 32px -18px rgb(20 22 26 / 25%);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1013;
    --bg-soft: #14171c;
    --surface: #191d23;
    --fg: #eef0f4;
    --muted: #9aa1ad;
    --border: #2a2f38;
    --accent: #5be0a9;
    --accent-2: #b7f24a;
    --accent-fg: #07130e;
    --notice-bg: #2a2417;
    --notice-border: #6b5724;
    --danger: #ff8d84;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 18px 40px -24px rgb(0 0 0 / 80%);
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* jemná pohyblivá záře na pozadí */
body::before {
  content: "";
  position: fixed;
  inset: -30vh -20vw auto -20vw;
  height: 70vh;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(45% 60% at 25% 30%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(35% 55% at 75% 10%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 72%);
  animation: drift 26s var(--ease) infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 2%, 0) scale(1.08);
  }
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
  transition: color 160ms var(--ease), text-decoration-thickness 160ms var(--ease);
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* čtecí progres nahoře (progresivní vylepšení) */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 30;
  background: transparent;
}

.progress span {
  display: block;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

@supports (animation-timeline: scroll()) {
  .progress span {
    animation: grow linear both;
    animation-timeline: scroll(root block);
  }
}

@keyframes grow {
  to {
    transform: scaleX(1);
  }
}

/* animace vstupu */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.reveal {
  animation: rise 620ms var(--ease) both;
}

main > .reveal:nth-of-type(2) {
  animation-delay: 80ms;
}

main > .reveal:nth-of-type(3) {
  animation-delay: 160ms;
}

main > .reveal:nth-of-type(4) {
  animation-delay: 240ms;
}

main > .reveal:nth-of-type(5) {
  animation-delay: 320ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Hlavička */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  animation: fade 420ms var(--ease) both;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--wide);
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--accent-2)));
  font-size: 20px;
  box-shadow: 0 8px 22px -12px color-mix(in srgb, var(--accent) 80%, transparent);
  transition: transform 400ms var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-14deg) scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 2px;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: 50%;
  transition: transform 220ms var(--ease);
}

nav a:hover::after,
nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--fg);
}

/* Obsah */

main {
  padding-top: 42px;
  padding-bottom: 72px;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: background-size 320ms var(--ease);
}

h1 a:hover {
  background-size: 100% 2px;
}

h2 {
  font-size: 1.32rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 2em 0 0.6em;
}

h3 {
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

.dot {
  opacity: 0.55;
}

.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
  color: var(--accent-fg);
  background: var(--accent);
}

.badge--weekly {
  background: color-mix(in srgb, var(--accent-2) 70%, var(--accent));
  color: #14210b;
}

.perex {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--fg);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 0 0 26px;
}

.hero {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border);
}

.hero .perex {
  margin-bottom: 22px;
}

.hero.empty h1 {
  margin-bottom: 10px;
}

.button {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--accent);
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #2bb673));
  color: var(--accent-fg);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--accent) 90%, transparent);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), filter 200ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px color-mix(in srgb, var(--accent) 90%, transparent);
  filter: brightness(1.05);
}

.button:active {
  transform: translateY(0);
}

.article-header {
  margin-bottom: 8px;
}

.article-body {
  font-size: 1.05rem;
}

.article-body p {
  margin: 0 0 1.1em;
}

.article-body h2 {
  margin-top: 1.9em;
  padding-top: 0.2em;
  scroll-margin-top: 90px;
}

.article-body h3 {
  margin-top: 1.6em;
  font-size: 1.1rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
}

.article-body li {
  margin-bottom: 0.5em;
}

.article-body li::marker {
  color: var(--muted);
}

blockquote {
  margin: 1.4em 0;
  padding: 2px 18px;
  border-left: 3px solid var(--border);
  color: var(--muted);
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.notice {
  margin: 0 0 26px;
  padding: 12px 16px;
  border: 1px solid var(--notice-border);
  border-radius: 10px;
  background: var(--notice-bg);
  font-size: 0.94rem;
}

.small {
  font-size: 0.82rem;
}

/* Sekce */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin: 0 0 14px;
}

.section-head h2 {
  margin: 0;
}

.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.section-title {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 46px;
}

.league,
.matchday {
  margin-top: 52px;
  scroll-margin-top: 90px;
}

/* Tabulka */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.standings {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  min-width: 560px;
}

.standings thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 10px 8px;
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 92%, var(--bg));
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.standings th,
.standings td {
  text-align: center;
  padding: 9px 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
}

.standings tbody tr:last-child td {
  border-bottom: 0;
}

.standings .club {
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.standings .pos {
  width: 34px;
  color: var(--muted);
}

.standings tbody tr {
  transition: background 180ms var(--ease);
}

.standings tbody tr:hover {
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.standings tr.is-leader {
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 55%);
}

.standings tr.is-leader .pos {
  color: var(--accent);
  font-weight: 800;
}

.standings .diff.is-positive {
  color: var(--accent);
}

.standings .diff.is-negative {
  color: var(--danger);
}

.standings .points {
  font-weight: 800;
  font-size: 0.98rem;
}

/* Zápasy a kurzy */

.fixture-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.fixture {
  display: grid;
  grid-template-columns: 150px 1fr 150px;
  align-items: center;
  gap: 8px 16px;
  padding: 12px 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.fixture:last-child {
  border-bottom: 0;
}

.fixture:hover {
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}

.fixture-when {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.fixture-time {
  color: var(--fg);
  font-weight: 700;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.fixture-teams {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 0.95rem;
}

.fixture-teams .vs {
  color: var(--muted);
}

.fixture-odds {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.odd {
  min-width: 48px;
  padding: 4px 6px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.fixture:hover .odd:not(.is-empty) {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.odd.is-empty {
  color: var(--muted);
  background: transparent;
  font-weight: 500;
}

.betting {
  margin-top: 16px;
}

.bet-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.bet-card {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 6%, var(--surface)), var(--surface));
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.bet-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.bet-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bet-match {
  margin: 0 0 2px;
  font-weight: 600;
}

.bet-odds {
  margin: 0;
  color: var(--accent);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* Zdroje */

.sources {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.sources h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 14px;
}

.sources ol {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.94rem;
}

.sources li {
  margin-bottom: 10px;
}

.source-meta {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Seznamy a archiv */

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 6px 16px;
  align-items: baseline;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  transition: background 180ms var(--ease), padding-left 180ms var(--ease);
}

.row:hover {
  padding-left: 10px;
  background: color-mix(in srgb, var(--accent) 4%, transparent);
}

.row time {
  color: var(--muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.row a {
  font-weight: 600;
  text-decoration: none;
}

.row a:hover {
  text-decoration: underline;
}

.row-meta {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.pager {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  font-weight: 600;
}

.about {
  margin-top: 52px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.about h2 {
  margin-top: 0;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.about p {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.back {
  margin-top: 36px;
  font-weight: 600;
}

/* Patička */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 26px 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0 0 6px;
}

/* Responzivita */

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .row-meta {
    display: none;
  }

  .fixture {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }

  .fixture-when {
    flex-direction: row;
    gap: 8px;
    align-items: baseline;
  }

  .fixture-odds {
    justify-content: flex-start;
  }

  .header-inner {
    align-items: flex-start;
  }

  main {
    padding-top: 28px;
  }

  .league,
  .matchday {
    margin-top: 40px;
  }
}

@media (max-width: 560px) {
  nav {
    width: 100%;
    gap: 16px;
  }

  .brand-text small {
    display: none;
  }
}

/* ---------- Přestupy ---------- */

.transfers {
  margin-top: 52px;
  scroll-margin-top: 90px;
}

.transfers-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 0.89rem;
  font-variant-numeric: tabular-nums;
}

.transfers-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 10px 12px;
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 92%, var(--bg));
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.transfers-table td {
  padding: 10px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
  vertical-align: middle;
}

.transfers-table tbody tr {
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.transfers-table tbody tr:hover {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}

.transfers-table tbody tr:last-child td {
  border-bottom: 0;
}

.transfers-table .player a {
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.transfers-table .player a:hover {
  text-decoration: underline;
}

.transfers-table .club {
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.transfers-table .when {
  color: var(--muted);
  white-space: nowrap;
}

.fee-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

.type-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  background: color-mix(in srgb, var(--muted) 14%, transparent);
  color: var(--muted);
}

.type-pill.is-transfer {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}

.type-pill.is-loan {
  background: color-mix(in srgb, #d9a300 18%, transparent);
  color: color-mix(in srgb, #b07d00 80%, var(--fg));
}

.type-pill.is-free {
  background: color-mix(in srgb, #7a7f8a 16%, transparent);
  color: var(--muted);
}

/* ---------- Více eye-candy ---------- */

::selection {
  background: color-mix(in srgb, var(--accent) 28%, transparent);
  color: var(--fg);
}

html {
  scroll-padding-top: 90px;
}

/* jemný film zrna nad pozadím */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* dekorativní záře za titulkem */
.hero {
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12%;
  top: -18%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 68%);
  filter: blur(28px);
  opacity: 0.55;
  animation: floaty 14s var(--ease) infinite alternate;
  pointer-events: none;
}

@keyframes floaty {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-18px, 14px, 0) scale(1.06);
  }
  to {
    transform: translate3d(10px, -10px, 0) scale(0.98);
  }
}

/* akcentová linka pod nadpisy sekcí */
.section-head h2::after,
.section-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 8px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: left;
  animation: lineIn 700ms var(--ease) both;
}

@keyframes lineIn {
  from {
    transform: scaleX(0);
    opacity: 0.2;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* světelný přejezd na tlačítku */
.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgb(255 255 255 / 32%) 45%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 620ms var(--ease);
}

.button:hover::after {
  transform: translateX(130%);
}

/* karty s gradientovým okrajem */
.about,
.bet-card {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(140deg, color-mix(in srgb, var(--accent) 40%, var(--border)), var(--border) 55%, color-mix(in srgb, var(--accent-2) 30%, var(--border))) border-box;
}

/* jemné odhalování řádků tabulek */
@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.standings tbody tr,
.transfers-table tbody tr {
  animation: rowIn 460ms var(--ease) both;
}

.standings tbody tr:nth-child(1),
.transfers-table tbody tr:nth-child(1) { animation-delay: 30ms; }
.standings tbody tr:nth-child(2),
.transfers-table tbody tr:nth-child(2) { animation-delay: 60ms; }
.standings tbody tr:nth-child(3),
.transfers-table tbody tr:nth-child(3) { animation-delay: 90ms; }
.standings tbody tr:nth-child(4),
.transfers-table tbody tr:nth-child(4) { animation-delay: 120ms; }
.standings tbody tr:nth-child(5),
.transfers-table tbody tr:nth-child(5) { animation-delay: 150ms; }
.standings tbody tr:nth-child(6),
.transfers-table tbody tr:nth-child(6) { animation-delay: 180ms; }
.standings tbody tr:nth-child(7),
.transfers-table tbody tr:nth-child(7) { animation-delay: 210ms; }
.standings tbody tr:nth-child(8),
.transfers-table tbody tr:nth-child(8) { animation-delay: 240ms; }
.standings tbody tr:nth-child(n + 9),
.transfers-table tbody tr:nth-child(n + 9) { animation-delay: 270ms; }

.standings tbody tr:hover {
  transform: translateX(2px);
}

/* pomalé dýchání loga */
.brand-mark {
  animation: breathe 5.5s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    box-shadow: 0 8px 22px -12px color-mix(in srgb, var(--accent) 80%, transparent);
  }
  50% {
    box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--accent) 95%, transparent);
  }
}

/* scroll-driven odhalování sekcí (progresivní vylepšení) */
@supports (animation-timeline: view()) {
  .reveal {
    animation: rise both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
    animation-delay: 0s;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after {
    display: none;
  }

  .standings tbody tr,
  .transfers-table tbody tr,
  .brand-mark,
  .hero::before,
  .button::after {
    animation: none !important;
    transition: none !important;
  }
}

/* gradientový název webu (jen tam, kde to prohlížeč umí) */
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .brand-text strong {
    background: linear-gradient(100deg, var(--fg) 20%, color-mix(in srgb, var(--accent) 75%, var(--fg)) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* jemné podtržení aktivní sekce v obsahu */
.article-body h2 {
  position: relative;
}

.article-body h2::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* ---------- Autor a push notifikace ---------- */

.byline {
  color: color-mix(in srgb, var(--accent) 85%, var(--fg));
  font-weight: 700;
  letter-spacing: 0.02em;
}

.push-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: 52px;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(140deg, color-mix(in srgb, var(--accent) 45%, var(--border)), var(--border) 55%, color-mix(in srgb, var(--accent-2) 35%, var(--border))) border-box;
  box-shadow: var(--shadow);
}

.push-copy h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.push-copy p {
  margin: 0 0 6px;
  font-size: 0.95rem;
  max-width: 56ch;
}

.push-toggle {
  min-width: 200px;
  text-align: center;
}

.push-toggle[data-state="on"] {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: none;
}

.push-toggle[data-state="on"]:hover {
  filter: none;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}

.push-toggle[data-state="denied"],
.push-toggle:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

[data-push-status] {
  min-height: 1.2em;
}

@media (max-width: 640px) {
  .push-panel {
    align-items: flex-start;
  }

  .push-toggle {
    width: 100%;
  }
}

/* ---------- Tresty a karetní ohrožení ---------- */

.discipline {
  margin-top: 52px;
  scroll-margin-top: 90px;
}

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.panel {
  min-width: 0;
  padding: 18px 18px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 35%, var(--border)), var(--border) 60%, color-mix(in srgb, var(--accent-2) 25%, var(--border))) border-box;
  box-shadow: var(--shadow);
}

.panel h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.panel-scroll {
  max-height: 320px;
  overflow: auto;
  margin-top: 8px;
  scrollbar-width: thin;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.mini-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 8px 6px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.mini-table td {
  padding: 8px 6px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  vertical-align: middle;
}

.mini-table tbody tr:last-child td {
  border-bottom: 0;
}

.mini-table tbody tr:hover {
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}

.mini-table .player a {
  font-weight: 600;
  text-decoration: none;
}

.mini-table .player a:hover {
  text-decoration: underline;
}

.mini-table .club {
  color: var(--muted);
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-table .match a {
  text-decoration: none;
  white-space: nowrap;
}

.mini-table .empty {
  padding: 14px 6px;
  color: var(--muted);
}

.reason-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.reason-pill.is-yellow {
  background: color-mix(in srgb, #e8c21a 22%, transparent);
  color: color-mix(in srgb, #8a6d00 85%, var(--fg));
}

.reason-pill.is-red {
  background: color-mix(in srgb, #d33 18%, transparent);
  color: color-mix(in srgb, #b3261e 85%, var(--fg));
}

.cards-badge {
  display: inline-block;
  min-width: 34px;
  padding: 2px 7px;
  border-radius: 8px;
  background: color-mix(in srgb, #e8c21a 16%, transparent);
  color: color-mix(in srgb, #8a6d00 90%, var(--fg));
  font-weight: 700;
  text-align: center;
}

.match-more {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 14%, transparent);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

@media (prefers-color-scheme: dark) {
  .reason-pill.is-yellow,
  .cards-badge {
    color: #f0d264;
  }

  .reason-pill.is-red {
    color: #ff9a92;
  }
}

/* ---------- Rozšířená navigace ---------- */

nav {
  flex-wrap: wrap;
  gap: 12px 14px;
  font-size: 0.9rem;
}

.nav-nhl {
  padding: 4px 12px !important;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--border));
  border-radius: 999px;
  color: var(--accent) !important;
}

.nav-nhl::after {
  display: none;
}

.nav-nhl:hover {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

/* ---------- Previews ---------- */

.previews {
  margin-top: 52px;
  scroll-margin-top: 90px;
}

.preview-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview {
  padding: 14px 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  transition: background 180ms var(--ease);
}

.preview:last-child {
  border-bottom: 0;
}

.preview:hover {
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}

.preview-title {
  font-weight: 700;
  font-size: 0.97rem;
  text-decoration: none;
  line-height: 1.35;
}

.preview-title:hover {
  text-decoration: underline;
}

.preview-perex {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.45;
}

.preview-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.transfers-table .note {
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- NHL (skryté pod tlačítkem) ---------- */

#nhl {
  display: none;
  margin-top: 52px;
  scroll-margin-top: 90px;
}

#nhl:target {
  display: block;
}

.nhl-close {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.nhl-close:hover {
  color: var(--fg);
  border-color: var(--accent);
}

.nhl-table .club {
  max-width: 210px;
}

.nhl-abbr {
  display: inline-block;
  min-width: 38px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nhl-table .points {
  font-weight: 800;
}

.nhl-results-panel {
  margin-top: 16px;
}

.nhl-results {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nhl-result {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 9px 4px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  font-variant-numeric: tabular-nums;
}

.nhl-result:last-child {
  border-bottom: 0;
}

.nhl-result-date {
  min-width: 76px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nhl-result-score {
  font-size: 0.95rem;
}

.nhl-result-type {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 14%, transparent);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

#karetni-ohrozeni {
  scroll-margin-top: 90px;
}

@media (max-width: 720px) {
  nav {
    gap: 10px 12px;
    font-size: 0.84rem;
  }
}
