@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --bg: #0f0c0a;
  --bg-soft: #17110d;
  --panel: rgba(26, 20, 16, 0.86);
  --panel-strong: rgba(34, 25, 18, 0.94);
  --text: #efe8dd;
  --muted: rgba(239, 232, 221, 0.8);
  --gold: #c8a45d;
  --gold-soft: rgba(200, 164, 93, 0.16);
  --green: #83b694;
  --red: #c76f7a;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(200, 164, 93, 0.08), transparent 26%),
    radial-gradient(circle at 100% 14%, rgba(107, 31, 42, 0.16), transparent 28%),
    linear-gradient(180deg, #0b0908 0%, #120e0b 52%, #0e0b09 100%);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

html,
body,
.topbar,
.hero,
.section,
.container,
.hero-card,
.hero-card-grid,
.hero-main,
.status-card,
.hero-opening,
.panel,
.card,
.night-poll,
.night-poll-copy,
.night-poll-actions {
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(1180px, 100% - 32px);
  margin: 0 auto;
}

.topbar .container {
  max-width: 1100px;
  padding-left: 20px;
  padding-right: 20px;
}

.topbar {
  position: static;
  z-index: 20;
  background: rgba(15, 12, 10, 0.96);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  min-height: 66px;
}

.nav-home {
  justify-content: flex-start;
}

.nav-home-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.brand .logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, rgba(219,186,112,.95), rgba(200,164,93,.28));
  border: 1px solid rgba(200, 164, 93, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.brand .logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.28));
}

.brand > :last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-home-zaal-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(200, 164, 93, 0.38);
  background: rgba(200, 164, 93, 0.14);
  color: var(--text);
  font-weight: 600;
  transition: transform 0.18s ease, filter 0.18s ease, background-color 0.18s ease;
}

.nav-home-zaal-btn {
  height: 44px;
  width: 156px;
  min-width: 156px;
  padding: 0 14px;
  border-radius: 12px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.nav-home-zaal-btn:hover,
.btn:hover {
  transform: translateY(-1px);
  background: rgba(200, 164, 93, 0.2);
}

.btn.primary {
  background: linear-gradient(135deg, rgba(255, 213, 112, 0.96), rgba(200, 164, 93, 0.78));
  border-color: rgba(255, 213, 112, 0.45);
  color: #20160d;
  box-shadow: 0 10px 26px rgba(200, 164, 93, 0.28);
}

.btn.primary:hover {
  filter: brightness(1.04);
}

.btn {
  max-width: 100%;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
}

.hero {
  padding: 30px 0 0;
}

.hero-layout {
  display: grid;
}

.hero-card {
  isolation: isolate;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 92% 10%, rgba(200, 164, 93, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(29, 22, 17, 0.96), rgba(20, 15, 11, 0.98));
  box-shadow: var(--shadow);
  padding: 22px;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.hero-main {
  min-width: 0;
}

.hero-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.h1 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.02;
}

.hero-title-logo {
  width: 86px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  min-width: 0;
}

.wk-pool-btn {
  display: none;
}

.status-card,
.hero-opening {
  isolation: isolate;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(33, 25, 19, 0.88);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  max-width: 100%;
  overflow: hidden;
}

.status-card h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", serif;
  font-size: 30px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(200, 164, 93, 0.32);
  background: rgba(200, 164, 93, 0.12);
  color: rgba(243, 238, 230, 0.96);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.status-line {
  margin: 0;
  padding: 10px 14px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 58px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.status-line + .status-line {
  margin-top: 10px;
}

.status-line.status-open {
  border-color: rgba(131, 182, 148, 0.45);
  background: rgba(131, 182, 148, 0.12);
}

.status-line.status-closed {
  border-color: rgba(199, 111, 122, 0.45);
  background: rgba(199, 111, 122, 0.12);
}

.status-ticker {
  display: block;
  min-width: 0;
  max-width: 100%;
  font-weight: 700;
  white-space: normal;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.status-line-marquee .status-ticker--live {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  min-width: max-content;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  padding-left: 100%;
  padding-right: 42px;
  will-change: transform;
  animation: status-marquee 12s linear infinite;
}

.status-line-marquee .status-ticker--live::after {
  content: attr(data-text);
  white-space: nowrap;
}

@keyframes status-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 42px));
  }
}

@keyframes status-marquee-mobile {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.night-poll-section {
  padding-top: 18px;
}

.night-poll {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: center;
  background:
    radial-gradient(circle at 92% 18%, rgba(131, 182, 148, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(33, 25, 19, 0.94), rgba(22, 16, 12, 0.98));
}

.night-poll h2 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.08;
}

.night-poll .lead {
  margin-bottom: 0;
}

.night-poll-actions {
  display: grid;
  gap: 12px;
}

.night-poll-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.night-poll-btn {
  width: 100%;
  min-height: 52px;
  cursor: pointer;
}

.night-poll-btn.is-selected {
  outline: 3px solid rgba(131, 182, 148, 0.28);
  border-color: rgba(131, 182, 148, 0.7);
}

.night-poll-btn:disabled {
  cursor: default;
  opacity: 0.78;
  transform: none;
}

.night-poll-message {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.night-poll-results {
  display: grid;
  gap: 8px;
}

.night-poll-result {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  color: var(--text);
  font-size: 14px;
}

.night-poll-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.night-poll-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(131, 182, 148, 0.95), rgba(200, 164, 93, 0.92));
  transition: width 0.25s ease;
}

.night-poll-count {
  color: var(--gold);
  font-weight: 800;
  text-align: right;
}

.section {
  padding: 34px 0 0;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.card {
  isolation: isolate;
  min-width: 0;
  min-height: 640px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.card-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.card-link:focus-visible {
  outline: 3px solid rgba(255, 209, 102, 0.78);
  outline-offset: 4px;
}

.card-dart {
  background: linear-gradient(135deg, rgba(82, 61, 34, 0.96), rgba(31, 23, 17, 0.98));
  border-color: rgba(200, 164, 93, 0.48);
}

.card-offer {
  background: linear-gradient(135deg, rgba(93, 52, 32, 0.96), rgba(35, 22, 16, 0.98));
  border-color: rgba(227, 139, 89, 0.5);
}

.card-games {
  background: linear-gradient(135deg, rgba(56, 77, 64, 0.96), rgba(27, 24, 22, 0.98));
  border-color: rgba(143, 211, 176, 0.46);
}

.card-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
}

.card-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex: 0 0 34px;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 700;
}

.card h3,
.panel h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.15;
}

.card p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

.offer-poster {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  margin-top: auto;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 11, 16, 0.56);
  object-fit: contain;
  object-position: center center;
  box-sizing: border-box;
}

#dartsPoster,
#offerPoster,
#gamesPoster,
#footballPoster,
#groupsPoster {
  object-fit: cover;
}

.offer-poster[hidden] {
  display: none !important;
}

.split,
.split-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.panel-stack {
  display: grid;
  gap: 18px;
}

.panel {
  isolation: isolate;
  min-width: 0;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(26, 20, 16, 0.9), rgba(20, 16, 13, 0.98));
}

.panel-small {
  background: linear-gradient(180deg, rgba(26, 20, 16, 0.9), rgba(20, 16, 13, 0.98));
}

.panel-football {
  background: linear-gradient(135deg, rgba(26, 43, 93, 0.96), rgba(18, 19, 35, 0.98));
  border-color: rgba(106, 153, 255, 0.42);
}

.panel-groups {
  background: linear-gradient(135deg, rgba(106, 84, 36, 0.96), rgba(36, 28, 18, 0.98));
  border-color: rgba(200, 164, 93, 0.46);
}

.panel-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.panel-head-link {
  color: #efe8dd;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.panel-poster {
  width: 100%;
  max-width: 100%;
  margin: auto auto 0;
}

.wk-zaal-label {
  display: none;
}

.dart-page-main {
  padding: 34px 0 42px;
}

.dart-hero-card {
  min-height: 0;
}

.dart-page-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
}

.dart-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.dart-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.dart-feature {
  min-height: 190px;
}

.wk-pool-page .hero {
  padding-bottom: 0;
}

.wk-pool-page {
  --wk-orange: #f97316;
  --wk-orange-soft: rgba(249, 115, 22, 0.2);
  --wk-blue: #1d4ed8;
  --wk-white: #fff7ed;
  background:
    radial-gradient(circle at 12% 18%, rgba(249, 115, 22, 0.24), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(29, 78, 216, 0.2), transparent 28%),
    linear-gradient(180deg, #170a04 0%, #2b0d07 48%, #0b1020 100%);
}

.wk-pool-page::before,
.wk-pool-page::after {
  content: "⚽";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.12);
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.wk-pool-page::before {
  left: clamp(14px, 5vw, 78px);
  bottom: clamp(42px, 8vw, 120px);
  font-size: clamp(54px, 9vw, 118px);
  transform: rotate(-14deg);
}

.wk-pool-page::after {
  right: clamp(14px, 5vw, 86px);
  top: clamp(94px, 10vw, 150px);
  font-size: clamp(42px, 7vw, 92px);
  transform: rotate(15deg);
}

.wk-pool-shell {
  position: relative;
  z-index: 1;
  padding: 34px 0 46px;
}

.wk-pool-hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.3), rgba(111, 31, 42, 0.68) 45%, rgba(29, 78, 216, 0.23)),
    rgba(26, 20, 16, 0.9);
}

.wk-pool-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 16px, transparent 16px 52px),
    linear-gradient(90deg, rgba(174, 67, 10, 0.16), transparent 42%, rgba(29, 78, 216, 0.16));
  opacity: 0.55;
}

.wk-pool-hero > * {
  position: relative;
  z-index: 1;
}

.wk-pool-hero-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.76), rgba(29, 78, 216, 0.54));
  color: var(--wk-white);
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.2);
}

.wk-pool-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 0.95;
  color: #fff7ed;
  text-shadow: 0 7px 24px rgba(0, 0, 0, 0.32);
}

.wk-pool-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.wk-pool-stage span {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 6, 5, 0.36);
  color: #fff7ed;
  font-weight: 950;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.wk-pool-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  align-items: start;
}

.wk-pool-panel {
  position: relative;
  min-height: 0;
  background:
    linear-gradient(145deg, rgba(249, 115, 22, 0.16), rgba(29, 78, 216, 0.08)),
    var(--panel);
  border-color: rgba(249, 115, 22, 0.36);
}

.wk-pool-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(174, 67, 10, 0.16), transparent 38%, rgba(29, 78, 216, 0.1));
  opacity: 0.65;
}

.wk-pool-panel > * {
  position: relative;
  z-index: 1;
}

.wk-pool-panel h2,
.wk-pool-panel h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
}

.wk-pool-side-note {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 700;
}

.wk-pool-rules {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.wk-rule {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 6, 5, 0.36);
  color: #fff0dc;
  font-weight: 700;
}

.wk-rule strong {
  color: #fff4d6;
  font-size: 20px;
}

.wk-pool-form {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.wk-pool-form.is-hidden-after-submit {
  display: none;
}

.wk-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wk-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.wk-field input,
.wk-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(8, 6, 5, 0.72);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
}

.wk-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 209, 102, 0.9) 50%),
    linear-gradient(135deg, rgba(255, 209, 102, 0.9) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 21px,
    calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.wk-field input:focus,
.wk-field select:focus {
  outline: 3px solid rgba(255, 209, 102, 0.35);
  border-color: rgba(255, 209, 102, 0.65);
}

.wk-date-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.wk-date-field legend {
  padding: 0;
  color: var(--muted);
  font-weight: 800;
}

.wk-date-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr;
  gap: 8px;
}

.wk-hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wk-match-list {
  display: grid;
  gap: 12px;
}

.wk-match-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 209, 102, 0.2);
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(29, 78, 216, 0.08)),
    rgba(8, 6, 5, 0.48);
}

.wk-match-meta {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.wk-match-label {
  color: #ffd166;
  font-weight: 900;
}

.wk-match-teams {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.wk-match-time {
  color: var(--muted);
  font-size: 13px;
}

.wk-score-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wk-score-inputs input {
  width: 58px;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 6, 5, 0.78);
  color: var(--text);
  text-align: center;
  font: inherit;
  font-size: 20px;
  font-weight: 900;
}

.wk-score-inputs span {
  color: var(--muted);
  font-weight: 900;
}

.wk-leaderboard {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.wk-leader-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(29, 78, 216, 0.08)),
    rgba(8, 6, 5, 0.42);
  border: 1px solid rgba(255, 209, 102, 0.18);
}

.wk-rank {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(255, 209, 102, 0.42);
  color: #ffd166;
  font-weight: 900;
}

.wk-leader-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff4d6;
  font-weight: 900;
}

.wk-leader-points {
  color: #ffd166;
  font-weight: 900;
}

.wk-pool-message {
  display: none;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 11, 16, 0.4);
  color: var(--text);
  font-weight: 800;
}

.wk-pool-message.is-visible {
  display: block;
}

.wk-pool-message.is-error {
  border-color: rgba(239, 123, 134, 0.55);
  background: rgba(199, 111, 122, 0.14);
}

.wk-pool-message.is-ok {
  border-color: rgba(131, 182, 148, 0.55);
  background: rgba(131, 182, 148, 0.13);
}

.wk-pool-success-card {
  display: none;
  margin: 16px 0 14px;
  padding: 20px;
  border: 2px solid rgba(111, 207, 151, 0.74);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(38, 121, 77, 0.36), rgba(234, 119, 42, 0.24));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  color: #fff7df;
}

.wk-pool-success-card.is-visible {
  display: block;
}

.wk-pool-success-card strong,
.wk-pool-success-card span {
  display: block;
}

.wk-pool-success-card strong {
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.05;
  font-weight: 950;
}

.wk-pool-success-card span {
  margin-top: 8px;
  color: rgba(255, 247, 223, 0.86);
  font-size: 17px;
  line-height: 1.45;
}

.wk-pool-toast {
  display: none;
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 9999;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 2px solid rgba(111, 207, 151, 0.86);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(35, 111, 72, 0.98), rgba(38, 52, 84, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.46);
  color: #fff7df;
}

.wk-pool-toast.is-visible {
  display: block;
}

.wk-pool-toast strong,
.wk-pool-toast span {
  display: block;
}

.wk-pool-toast strong {
  font-size: 20px;
  line-height: 1.15;
  font-weight: 950;
}

.wk-pool-toast span {
  margin-top: 5px;
  color: rgba(255, 247, 223, 0.88);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.wk-privacy-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.legal-note {
  margin-top: 28px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 13px;
}

.legal-note a,
.footer-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer {
  padding: 18px 0 28px;
  color: var(--muted);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-meta {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.topbar,
.hero,
.section,
.legal-note,
.footer {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@media (max-width: 980px) {
  .hero-card-grid,
  .grid3,
  .wk-pool-grid,
  .split-panels {
    grid-template-columns: 1fr;
  }

  .hero-title-row {
    gap: 12px;
  }

  .panel-poster,
  .offer-poster {
    width: min(100%, 380px);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 860px) {
  .status-line-marquee {
    overflow: hidden !important;
  }

  .status-line-marquee .status-ticker--live {
    display: inline-block !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    overflow-wrap: normal !important;
    text-overflow: clip !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    animation: status-marquee-mobile 12s linear infinite !important;
    transform: translateX(100%);
  }

  .status-line-marquee .status-ticker--live::after {
    content: none !important;
  }
  .topbar {
    position: static;
  }

  .topbar .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  .nav-home-main {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 18px;
    gap: 10px;
  }

  .brand .logo {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .nav-home-zaal-btn,
  .btn {
    min-height: 44px;
    padding: 0 14px;
    font-size: 15px;
  }

  .nav-home-zaal-btn {
    width: 148px;
    min-width: 148px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero {
    padding-top: 16px;
  }

  .hero-card,
  .card,
  .panel {
    padding: 16px;
  }

  .status-card h3 {
    font-size: 24px;
  }

  .status-line {
    min-height: 0;
    padding: 12px 14px;
  }

  .status-ticker {
    font-size: 15px;
  }

  .card {
    min-height: 0;
  }

  .grid3,
  .dart-feature-grid,
  .wk-pool-grid,
  .panel-stack,
  .split-panels {
    gap: 14px;
  }

  .dart-feature-grid {
    grid-template-columns: 1fr;
  }

  .offer-poster,
  .panel-poster {
    width: min(100%, 360px);
    padding: 8px;
  }

  #offerCard .offer-poster {
    width: min(100%, 360px);
    max-width: 100%;
  }

  .wk-form-grid {
    grid-template-columns: 1fr;
  }

  .wk-pool-stage {
    grid-template-columns: 1fr;
  }

  .wk-match-card {
    grid-template-columns: 1fr;
  }

  .wk-score-inputs input {
    width: 64px;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 18px);
  }

  .nav {
    padding: 10px 0 12px;
  }

  .topbar .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-home-main {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
    gap: 10px;
  }

  .brand .logo {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
  }

  .nav-home-zaal-btn {
    min-height: 42px;
    width: 126px;
    min-width: 126px;
    padding: 0 10px;
    font-size: 13px;
    border-radius: 12px;
  }

  .hero-card,
  .status-card,
  .card,
  .panel {
    border-radius: 18px;
  }

  .hero-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .h1 {
    font-size: 30px;
  }

  .hero-title-logo {
    width: 56px;
  }

  .lead,
  .card p {
    font-size: 15px;
  }

  .offer-poster,
  .panel-poster {
    width: min(100%, 330px);
    height: auto;
  }

  #offerCard .offer-poster {
    width: min(100%, 330px);
    max-width: 100%;
  }

  .footer-row,
  .footer-links,
  .panel-head-row {
    display: grid;
    gap: 8px;
  }

  .panel-head-link {
    font-size: 13px;
  }
}

@media (max-width: 390px) {
  .container {
    width: calc(100% - 14px);
  }

  .topbar .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand {
    font-size: 15px;
    gap: 8px;
  }

  .brand .logo {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .nav-home-zaal-btn {
    min-height: 40px;
    width: 118px;
    min-width: 118px;
    padding: 0 8px;
    font-size: 12px;
  }

  .hero-card,
  .card,
  .panel,
  .status-card {
    padding: 14px;
  }

  .h1 {
    font-size: 28px;
  }

  .hero-title-logo {
    width: 50px;
  }

  .btn.primary {
    width: 100%;
  }

  .status-card h3 {
    font-size: 22px;
  }
}

@media (max-width: 860px) {
  .night-poll {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .night-poll-buttons {
    grid-template-columns: 1fr;
  }

  .night-poll-result {
    grid-template-columns: 76px minmax(0, 1fr) 36px;
  }
}
