/* =========================================================
   Koen F1 Poule Frontend
   Modern responsive redesign
   Scoped to .ycw-f1-wrap
========================================================= */

body .ycw-f1-wrap,
body .ycw-f1-wrap *,
body .ycw-f1-wrap *::before,
body .ycw-f1-wrap *::after {
  box-sizing: border-box !important;
}

body .ycw-f1-wrap {
  --ycw-f1-bg: #0b0b0d;
  --ycw-f1-surface: #111118;
  --ycw-f1-surface-2: #15151e;
  --ycw-f1-surface-3: #1b1b24;
  --ycw-f1-surface-4: #23232d;

  --ycw-f1-text: #ffffff;
  --ycw-f1-text-soft: rgba(255,255,255,0.88);
  --ycw-f1-muted: #9a9aa2;

  --ycw-f1-border: #2b2b35;
  --ycw-f1-border-soft: rgba(255,255,255,0.07);
  --ycw-f1-border-strong: rgba(255,255,255,0.14);

  --ycw-f1-red: #e10600;
  --ycw-f1-red-soft: rgba(225, 6, 0, 0.18);
  --ycw-f1-green: #1db954;
  --ycw-f1-green-soft: rgba(29,185,84,0.16);
  --ycw-f1-yellow: #f5c542;
  --ycw-f1-yellow-soft: rgba(245,197,66,0.14);
  --ycw-f1-blue: #4da3ff;
  --ycw-f1-blue-soft: rgba(77,163,255,0.14);

  --ycw-f1-radius-xs: 10px;
  --ycw-f1-radius-sm: 12px;
  --ycw-f1-radius-md: 16px;
  --ycw-f1-radius-lg: 20px;
  --ycw-f1-radius-xl: 24px;

  --ycw-f1-shadow-sm: 0 8px 20px rgba(0,0,0,0.18);
  --ycw-f1-shadow-md: 0 14px 34px rgba(0,0,0,0.28);
  --ycw-f1-shadow-lg: 0 20px 48px rgba(0,0,0,0.38);

  --ycw-f1-space-1: 6px;
  --ycw-f1-space-2: 10px;
  --ycw-f1-space-3: 14px;
  --ycw-f1-space-4: 18px;
  --ycw-f1-space-5: 24px;
  --ycw-f1-space-6: 32px;

  --ycw-f1-content-max: 1280px;
  --ycw-f1-field-max: 620px;
  --ycw-f1-transition: 180ms ease;

  color: var(--ycw-f1-text) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  line-height: 1.45 !important;
  font-size: 16px !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  overflow-x: clip !important;
}

/* Root layout helpers */
body .ycw-f1-wrap > * {
  width: 100%;
  max-width: var(--ycw-f1-content-max);
  margin-inline: auto;
}

body .ycw-f1-wrap a {
  color: inherit !important;
  text-decoration: none !important;
}

body .ycw-f1-wrap a:hover {
  text-decoration: none !important;
}

/* =========================================================
   Core cards / surfaces
========================================================= */

body .ycw-f1-wrap .ycw-f1-card,
body .ycw-f1-wrap .ycw-f1-tile,
body .ycw-f1-wrap .ycw-f1-cal-table-wrap {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.018) 0%, rgba(255,255,255,0.00) 100%),
    var(--ycw-f1-surface-2) !important;
  border: 1px solid var(--ycw-f1-border) !important;
  border-radius: var(--ycw-f1-radius-lg) !important;
  box-shadow: var(--ycw-f1-shadow-md) !important;
  overflow: hidden !important;
}

body .ycw-f1-wrap .ycw-f1-card {
  padding: clamp(18px, 2vw, 28px) !important;
}

body .ycw-f1-wrap .ycw-f1-card::before,
body .ycw-f1-wrap .ycw-f1-tile::before,
body .ycw-f1-wrap .ycw-f1-cal-table-wrap::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(225,6,0,0.0), rgba(225,6,0,0.45), rgba(225,6,0,0.0));
  pointer-events: none;
}

/* =========================================================
   Typography
========================================================= */

body .ycw-f1-wrap .ycw-f1-title {
  margin: 0 0 16px 0 !important;
  font-size: clamp(20px, 2.2vw, 30px) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: var(--ycw-f1-text) !important;
}

body .ycw-f1-wrap .ycw-f1-subtle,
body .ycw-f1-wrap .ycw-f1-muted,
body .ycw-f1-wrap .ycw-f1-tile-sub,
body .ycw-f1-wrap .ycw-f1-tile-date,
body .ycw-f1-wrap .ycw-f1-cal-muted {
  color: var(--ycw-f1-muted) !important;
}

body .ycw-f1-wrap .ycw-f1-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--ycw-f1-space-4) !important;
  margin: 0px !important;
}

body .ycw-f1-wrap .ycw-f1-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: var(--ycw-f1-space-3) !important;
  flex-wrap: wrap !important;
}

/* =========================================================
   Pills / badges
========================================================= */

body .ycw-f1-wrap .ycw-f1-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 36px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
  border: 1px solid var(--ycw-f1-border) !important;
  background: var(--ycw-f1-surface-4) !important;
  color: var(--ycw-f1-muted) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

body .ycw-f1-wrap .ycw-f1-pill--open {
  border-color: rgba(29,185,84,0.22) !important;
  background: var(--ycw-f1-green-soft) !important;
  color: var(--ycw-f1-green) !important;
}

body .ycw-f1-wrap .ycw-f1-pill--locked {
  border-color: rgba(255,92,92,0.20) !important;
  background: rgba(255,92,92,0.12) !important;
  color: #ff8d8d !important;
}

body .ycw-f1-wrap .ycw-f1-pill--points {
  border-color: rgba(245,197,66,0.20) !important;
  background: var(--ycw-f1-yellow-soft) !important;
  color: var(--ycw-f1-yellow) !important;
}

/* =========================================================
   Forms
========================================================= */

body .ycw-f1-wrap .ycw-f1-form {
  width: 100%;
}

body .ycw-f1-wrap .ycw-f1-form .ycw-f1-field {
  margin-top: 18px !important;
  width: 100%;
}

body .ycw-f1-wrap .ycw-f1-form .ycw-f1-field:first-child {
  margin-top: 0 !important;
}

body .ycw-f1-wrap .ycw-f1-form label {
  display: block !important;
  margin: 0 0 8px 0 !important;
  color: var(--ycw-f1-text-soft) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
}

body .ycw-f1-wrap .ycw-f1-form input[type="text"],
body .ycw-f1-wrap .ycw-f1-form input[type="email"],
body .ycw-f1-wrap .ycw-f1-form input[type="number"],
body .ycw-f1-wrap .ycw-f1-form input[type="search"],
body .ycw-f1-wrap .ycw-f1-form input[type="tel"],
body .ycw-f1-wrap .ycw-f1-form input[type="url"],
body .ycw-f1-wrap .ycw-f1-form textarea,
body .ycw-f1-wrap .ycw-f1-form select {
  display: block !important;
  width: 100% !important;
  max-width: var(--ycw-f1-field-max) !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 13px 16px !important;
  border-radius: var(--ycw-f1-radius-md) !important;
  border: 1px solid var(--ycw-f1-border) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%), var(--ycw-f1-surface-3) !important;
  color: var(--ycw-f1-text) !important;
  outline: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02) !important;
  line-height: 1.25 !important;
  transition:
    border-color var(--ycw-f1-transition),
    box-shadow var(--ycw-f1-transition),
    background var(--ycw-f1-transition),
    transform var(--ycw-f1-transition) !important;
}

body .ycw-f1-wrap .ycw-f1-form textarea {
  min-height: 120px !important;
  resize: vertical !important;
}

body .ycw-f1-wrap .ycw-f1-form input::placeholder,
body .ycw-f1-wrap .ycw-f1-form textarea::placeholder {
  color: rgba(255,255,255,0.36) !important;
}

body .ycw-f1-wrap .ycw-f1-form input[type="text"]:focus,
body .ycw-f1-wrap .ycw-f1-form input[type="email"]:focus,
body .ycw-f1-wrap .ycw-f1-form input[type="number"]:focus,
body .ycw-f1-wrap .ycw-f1-form input[type="search"]:focus,
body .ycw-f1-wrap .ycw-f1-form input[type="tel"]:focus,
body .ycw-f1-wrap .ycw-f1-form input[type="url"]:focus,
body .ycw-f1-wrap .ycw-f1-form textarea:focus,
body .ycw-f1-wrap .ycw-f1-form select:focus {
  border-color: rgba(225,6,0,0.66) !important;
  background: var(--ycw-f1-surface-4) !important;
  box-shadow:
    0 0 0 4px rgba(225,6,0,0.14),
    inset 0 1px 0 rgba(255,255,255,0.03) !important;
}

body .ycw-f1-wrap .ycw-f1-form input[disabled],
body .ycw-f1-wrap .ycw-f1-form select[disabled],
body .ycw-f1-wrap .ycw-f1-form textarea[disabled] {
  opacity: 0.62 !important;
  cursor: not-allowed !important;
  filter: grayscale(0.12) !important;
}

body .ycw-f1-wrap select,
body .ycw-f1-wrap input,
body .ycw-f1-wrap button,
body .ycw-f1-wrap textarea {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body .ycw-f1-wrap select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.75) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.75) 50%, transparent 50%) !important;
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px) !important;
  background-size: 6px 6px, 6px 6px !important;
  background-repeat: no-repeat !important;
  padding-right: 42px !important;
}

body .ycw-f1-wrap #ycw-f1RaceSelect,
body .ycw-f1-wrap #ycw-f1RaceSelectParticipants {
  margin-bottom: 6px !important;
}

/* Compact top-5 fields */
body .ycw-f1-wrap .ycw-f1-input-compact {
  max-width: 100% !important;
  min-width: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-weight: 800 !important;
  text-align: center !important;
}

/* Validation / preview */
body .ycw-f1-wrap .ycw-f1-preview {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  margin-left: 0 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
}

body .ycw-f1-wrap .ycw-f1-preview.is-ok {
  color: var(--ycw-f1-green) !important;
}

body .ycw-f1-wrap .ycw-f1-preview.is-bad {
  color: #ff6b6b !important;
}

/* =========================================================
   Buttons
========================================================= */

body .ycw-f1-wrap .ycw-f1-btn,
body .ycw-f1-wrap .ycw-f1-cal-btn,
body .ycw-f1-wrap button:not(.ycw-f1-pill):not(.ycw-f1-tab) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 52px !important;
  margin-top: 18px !important;
  padding: 14px 18px !important;
  border: 0 !important;
  border-radius: var(--ycw-f1-radius-md) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.00) 100%),
    var(--ycw-f1-red) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  cursor: pointer !important;
  transition:
    transform var(--ycw-f1-transition),
    filter var(--ycw-f1-transition),
    box-shadow var(--ycw-f1-transition),
    opacity var(--ycw-f1-transition) !important;
  box-shadow:
    0 12px 30px rgba(225,6,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.16) !important;
}

body .ycw-f1-wrap .ycw-f1-btn:hover,
body .ycw-f1-wrap .ycw-f1-cal-btn:hover,
body .ycw-f1-wrap button:not(.ycw-f1-pill):not(.ycw-f1-tab):hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.05) !important;
  text-decoration: none !important;
}

body .ycw-f1-wrap .ycw-f1-btn:active,
body .ycw-f1-wrap .ycw-f1-cal-btn:active,
body .ycw-f1-wrap button:not(.ycw-f1-pill):not(.ycw-f1-tab):active {
  transform: translateY(0) !important;
}

body .ycw-f1-wrap .ycw-f1-btn:disabled,
body .ycw-f1-wrap button:disabled {
  opacity: 0.62 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Secondary calendar button */
body .ycw-f1-wrap .ycw-f1-cal-btn {
  width: auto !important;
  margin-top: 0 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.00) 100%),
    var(--ycw-f1-surface-3) !important;
  border: 1px solid var(--ycw-f1-border) !important;
  box-shadow:
    0 8px 20px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

/* =========================================================
   Grid systems
========================================================= */

body .ycw-f1-wrap .ycw-f1-grid {
  display: grid !important;
  gap: 16px !important;
  width: 100% !important;
  align-items: start !important;
}

body .ycw-f1-wrap .ycw-f1-grid--top5 {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

/* =========================================================
   Messaging
========================================================= */

body .ycw-f1-wrap .ycw-f1-message {
  margin: 14px 0 0 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--ycw-f1-text) !important;
}

/* =========================================================
   Tables
========================================================= */

body .ycw-f1-wrap .ycw-f1-table-wrap {
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  border-radius: var(--ycw-f1-radius-lg) !important;
}

body .ycw-f1-wrap .ycw-f1-table {
  width: 100% !important;
  min-width: 700px !important;
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
  background: transparent !important;
  border: 0 !important;
  table-layout: auto !important;
}

body .ycw-f1-wrap .ycw-f1-table thead th {
  padding: 0 14px 8px !important;
  text-align: center !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--ycw-f1-muted) !important;
  background: transparent !important;
  border: 0 !important;
  white-space: nowrap !important;
}

body .ycw-f1-wrap .ycw-f1-table thead th:first-child,
body .ycw-f1-wrap .ycw-f1-table tbody td:first-child {
  text-align: left !important;
}

body .ycw-f1-wrap .ycw-f1-table tbody tr {
  transition: background var(--ycw-f1-transition) !important;
}

body .ycw-f1-wrap .ycw-f1-table tbody tr:hover {
  transform: none !important;
}

body .ycw-f1-wrap .ycw-f1-table tbody td {
  padding: 14px 14px !important;
  vertical-align: middle !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015) 0%, rgba(255,255,255,0.00) 100%),
    var(--ycw-f1-surface-2) !important;
  color: var(--ycw-f1-text) !important;
  border-top: 1px solid var(--ycw-f1-border-soft) !important;
  border-bottom: 1px solid var(--ycw-f1-border-soft) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  overflow: hidden !important;
}

body .ycw-f1-wrap .ycw-f1-table tbody td:first-child {
  border-left: 1px solid var(--ycw-f1-border-soft) !important;
  border-radius: 14px 0 0 14px !important;
  font-weight: 800 !important;
}

body .ycw-f1-wrap .ycw-f1-table tbody td:last-child {
  border-right: 1px solid var(--ycw-f1-border-soft) !important;
  border-radius: 0 14px 14px 0 !important;
}

body .ycw-f1-wrap .ycw-f1-table tbody tr:hover td {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.00) 100%),
    var(--ycw-f1-surface-3) !important;
}

/* Correct antwoord standaard permanent groen */
body .ycw-f1-wrap .ycw-f1-cell-correct,
body .ycw-f1-wrap .ycw-f1-table tbody td.ycw-f1-cell-correct,
body .ycw-f1-wrap .ycw-f1-cal-table tbody td.ycw-f1-cell-correct {
  position: relative !important;
  background: linear-gradient(180deg, #17663c 0%, #125330 100%) !important;
  color: #7dffbf !important;
  font-weight: 900 !important;
  border-top: 1px solid rgba(90,255,180,0.55) !important;
  border-bottom: 1px solid rgba(90,255,180,0.55) !important;
  box-shadow:
    inset 0 0 0 1px rgba(90,255,180,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 14px rgba(29,185,84,0.14) !important;
  text-shadow: 0 0 8px rgba(125,255,191,0.15) !important;
  z-index: 2;
}

/* eerste en laatste cel netjes afronden */
body .ycw-f1-wrap .ycw-f1-table tbody td.ycw-f1-cell-correct:first-child,
body .ycw-f1-wrap .ycw-f1-cal-table tbody td.ycw-f1-cell-correct:first-child {
  border-left: 1px solid rgba(90,255,180,0.55) !important;
  border-radius: 14px 0 0 14px !important;
}

body .ycw-f1-wrap .ycw-f1-table tbody td.ycw-f1-cell-correct:last-child,
body .ycw-f1-wrap .ycw-f1-cal-table tbody td.ycw-f1-cell-correct:last-child {
  border-right: 1px solid rgba(90,255,180,0.55) !important;
  border-radius: 0 14px 14px 0 !important;
}

/* Hover mag groen nooit overschrijven */
body .ycw-f1-wrap .ycw-f1-table tbody tr:hover .ycw-f1-cell-correct,
body .ycw-f1-wrap .ycw-f1-cal-table tbody tr:hover .ycw-f1-cell-correct {
  background: linear-gradient(180deg, #17663c 0%, #125330 100%) !important;
  color: #7dffbf !important;
}

/* Niet-correcte cellen hoveren subtiel */
body .ycw-f1-wrap .ycw-f1-table tbody tr:hover td:not(.ycw-f1-cell-correct),
body .ycw-f1-wrap .ycw-f1-cal-table tbody tr:hover td:not(.ycw-f1-cell-correct) {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.00) 100%),
    var(--ycw-f1-surface-3) !important;
}

/* Links / namen in tabellen zonder scrollbar */
body .ycw-f1-wrap .ycw-f1-table a,
body .ycw-f1-wrap .ycw-f1-cal-table a {
  display: inline-block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

/* =========================================================
   Calendar tiles
========================================================= */

body .ycw-f1-wrap .ycw-f1-calendar {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
}

body .ycw-f1-wrap .ycw-f1-tile {
  padding: 18px !important;
  transition:
    transform var(--ycw-f1-transition),
    border-color var(--ycw-f1-transition),
    background var(--ycw-f1-transition),
    box-shadow var(--ycw-f1-transition) !important;
}

body .ycw-f1-wrap .ycw-f1-tile:hover {
  transform: translateY(-2px) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.00) 100%),
    var(--ycw-f1-surface-3) !important;
  border-color: var(--ycw-f1-border-strong) !important;
}

body .ycw-f1-wrap .ycw-f1-tile.ycw-f1-tile--next {
  border-color: rgba(29,185,84,0.32) !important;
  box-shadow:
    0 0 0 4px rgba(29,185,84,0.07),
    var(--ycw-f1-shadow-md) !important;
}

body .ycw-f1-wrap .ycw-f1-tile-head {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 12px !important;
}

body .ycw-f1-wrap .ycw-f1-flag {
  flex: 0 0 auto !important;
  width: 56px !important;
  height: 38px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  border: 1px solid var(--ycw-f1-border-soft) !important;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18) !important;
}

body .ycw-f1-wrap .ycw-f1-tile-title {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
  color: var(--ycw-f1-text) !important;
}

body .ycw-f1-wrap .ycw-f1-tile-sub {
  font-size: 13px !important;
  margin-top: 4px !important;
}

body .ycw-f1-wrap .ycw-f1-tile-date {
  font-size: 13px !important;
  font-weight: 700 !important;
  margin-top: 8px !important;
}

/* =========================================================
   Calendar controls and table view
========================================================= */


body .ycw-f1-wrap .ycw-f1-cal-shell {
  width: 100%;
  max-width: var(--ycw-f1-content-max);
  margin: 0 auto 16px auto !important;
  padding: 0 !important;
}

body .ycw-f1-wrap .ycw-f1-cal-controls {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  margin-bottom: 10px !important;
}

body .ycw-f1-wrap .ycw-f1-cal-left {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  min-width: min(100%, 320px) !important;
}

body .ycw-f1-wrap .ycw-f1-cal-year {
  width: 100% !important;
  min-width: 220px !important;
  max-width: 320px !important;
}

body .ycw-f1-wrap .ycw-f1-cal-link {
  color: rgba(255,255,255,0.82) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

body .ycw-f1-wrap .ycw-f1-cal-table-wrap {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.014) 0%, rgba(255,255,255,0.00) 100%),
    var(--ycw-f1-surface-2) !important;
  color: var(--ycw-f1-text) !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

body .ycw-f1-wrap .ycw-f1-cal-table {
  width: 100% !important;
  border-collapse: collapse !important;
  background: transparent !important;
  table-layout: auto !important;
}

body .ycw-f1-wrap .ycw-f1-cal-table thead th {
  padding: 16px 14px !important;
  background: #101017 !important;
  border-bottom: 1px solid var(--ycw-f1-border) !important;
  color: var(--ycw-f1-muted) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-align: left !important;
}

body .ycw-f1-wrap .ycw-f1-cal-table tbody td {
  padding: 16px 14px !important;
  border-bottom: 1px solid var(--ycw-f1-border-soft) !important;
  color: var(--ycw-f1-text) !important;
  background: transparent !important;
  vertical-align: middle !important;
  overflow: hidden !important;
}

body .ycw-f1-wrap .ycw-f1-cal-table tbody tr:hover td {
  background: rgba(255,255,255,0.03) !important;
}

body .ycw-f1-wrap .ycw-f1-cal-table tbody tr:last-child td {
  border-bottom: 0 !important;
}

body .ycw-f1-wrap .ycw-f1-cal-gp {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  min-width: 0 !important;
}

body .ycw-f1-wrap .ycw-f1-cal-flag {
  width: 22px !important;
  height: 16px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  object-fit: cover !important;
  flex: 0 0 auto !important;
}

/* =========================================================
   Theme override protection
========================================================= */

body .ycw-f1-wrap input,
body .ycw-f1-wrap select,
body .ycw-f1-wrap textarea,
body .ycw-f1-wrap button,
body .ycw-f1-wrap table,
body .ycw-f1-wrap th,
body .ycw-f1-wrap td,
body .ycw-f1-wrap label {
  max-width: 100%;
}

body .ycw-f1-wrap .ycw-f1-card *,
body .ycw-f1-wrap .ycw-f1-tile *,
body .ycw-f1-wrap .ycw-f1-cal-table-wrap * {
  border-color: inherit;
}

/* =========================================================
   Balanced responsive system
========================================================= */

/* Large desktop / ultrawide */
@media (min-width: 1440px) {
  body .ycw-f1-wrap {
    --ycw-f1-content-max: 1380px;
  }

  body .ycw-f1-wrap .ycw-f1-calendar {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  }

  body .ycw-f1-wrap .ycw-f1-card {
    padding: 28px !important;
  }
}

/* Laptop / desktop */
@media (max-width: 1199px) {
  body .ycw-f1-wrap .ycw-f1-grid--top5 {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

/* Tablet */
@media (max-width: 991px) {
  body .ycw-f1-wrap {
    font-size: 15px !important;
  }

  body .ycw-f1-wrap .ycw-f1-card {
    padding: 20px !important;
  }

  body .ycw-f1-wrap .ycw-f1-calendar {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  }

  body .ycw-f1-wrap .ycw-f1-grid--top5 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  
body .ycw-f1-wrap .ycw-f1-cal-shell {
  width: 100%;
  max-width: var(--ycw-f1-content-max);
  margin: 0 auto 16px auto !important;
  padding: 0 !important;
}

body .ycw-f1-wrap .ycw-f1-cal-controls {
    align-items: stretch !important;
  }
}

/* Mobile large */
@media (max-width: 767px) {
  body .ycw-f1-wrap {
    --ycw-f1-radius-lg: 18px;
    --ycw-f1-radius-md: 14px;
    --ycw-f1-space-4: 16px;
    --ycw-f1-space-5: 20px;
  }

  body .ycw-f1-wrap .ycw-f1-card {
    padding: 16px !important;
  }

  body .ycw-f1-wrap .ycw-f1-title {
    margin-top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  }

  body .ycw-f1-wrap .ycw-f1-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body .ycw-f1-wrap .ycw-f1-grid--top5 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body .ycw-f1-wrap .ycw-f1-calendar {
    grid-template-columns: 1fr !important;
  }

  body .ycw-f1-wrap .ycw-f1-table {
    min-width: 560px !important;
  }

  
body .ycw-f1-wrap .ycw-f1-cal-shell {
  width: 100%;
  max-width: var(--ycw-f1-content-max);
  margin: 0 auto 16px auto !important;
  padding: 0 !important;
}

body .ycw-f1-wrap .ycw-f1-cal-controls {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body .ycw-f1-wrap .ycw-f1-cal-left,
  body .ycw-f1-wrap .ycw-f1-cal-year {
    max-width: 100% !important;
  }

  body .ycw-f1-wrap .ycw-f1-cal-btn {
    width: 100% !important;
  }
}

/* Mobile small */
@media (max-width: 479px) {
  body .ycw-f1-wrap {
    font-size: 14px !important;
  }

  body .ycw-f1-wrap .ycw-f1-card {
    padding: 14px !important;
    border-radius: 16px !important;
  }

  body .ycw-f1-wrap .ycw-f1-title {
    font-size: 18px !important;
  }

  body .ycw-f1-wrap .ycw-f1-grid--top5 {
    grid-template-columns: 1fr !important;
  }

  body .ycw-f1-wrap .ycw-f1-form input[type="text"],
  body .ycw-f1-wrap .ycw-f1-form input[type="email"],
  body .ycw-f1-wrap .ycw-f1-form input[type="number"],
  body .ycw-f1-wrap .ycw-f1-form input[type="search"],
  body .ycw-f1-wrap .ycw-f1-form input[type="tel"],
  body .ycw-f1-wrap .ycw-f1-form input[type="url"],
  body .ycw-f1-wrap .ycw-f1-form textarea,
  body .ycw-f1-wrap .ycw-f1-form select {
    min-height: 48px !important;
    padding: 12px 14px !important;
  }

  body .ycw-f1-wrap .ycw-f1-btn,
  body .ycw-f1-wrap .ycw-f1-cal-btn,
  body .ycw-f1-wrap button:not(.ycw-f1-pill):not(.ycw-f1-tab) {
    min-height: 48px !important;
    padding: 12px 14px !important;
  }

  body .ycw-f1-wrap .ycw-f1-pill {
    width: 100%;
    justify-content: center !important;
  }

  body .ycw-f1-wrap .ycw-f1-tile {
    padding: 16px !important;
  }

  body .ycw-f1-wrap .ycw-f1-tile-head {
    align-items: flex-start !important;
  }

  body .ycw-f1-wrap .ycw-f1-flag {
    width: 48px !important;
    height: 32px !important;
  }

  body .ycw-f1-wrap .ycw-f1-table {
    min-width: 520px !important;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  body .ycw-f1-wrap *,
  body .ycw-f1-wrap *::before,
  body .ycw-f1-wrap *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

body .ycw-f1-wrap .kf1-lock-hint,
body .ycw-f1-wrap .kf1-inline-lock {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  cursor: help !important;
  font-size: 12px;
  vertical-align: middle;
}

body .ycw-f1-wrap .kf1-lock-hint.is-hidden,
body .ycw-f1-wrap .kf1-inline-lock.is-hidden,
body .ycw-f1-wrap .ycw-f1-btn.is-hidden {
  display: none !important;
}

body .ycw-f1-wrap .ycw-f1-form.is-locked .driver-input[disabled] {
  opacity: .55 !important;
  cursor: not-allowed !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05) !important;
}

body .ycw-f1-wrap .ycw-f1-form.is-locked .ycw-f1-field label {
  opacity: .95;
}


/* Stabilisatie 2.3.0: harde lock-state voor individuele deelnemer en race */
body .ycw-f1-wrap .ycw-f1-form.is-locked .ycw-f1-field--prediction {
  pointer-events: none !important;
}

body .ycw-f1-wrap .ycw-f1-form.is-locked .ycw-f1-field--prediction input,
body .ycw-f1-wrap .ycw-f1-form.is-locked .ycw-f1-field--prediction textarea,
body .ycw-f1-wrap .ycw-f1-form.is-locked .ycw-f1-field--prediction button {
  cursor: not-allowed !important;
}

body .ycw-f1-wrap .ycw-f1-form.is-locked .ycw-f1-field--prediction .full-name-preview {
  opacity: 0.7 !important;
}

body .ycw-f1-wrap #kf1SubmitPrediction.is-hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body .ycw-f1-wrap .ycw-f1-form.is-locked .driver-input,
body .ycw-f1-wrap .ycw-f1-form.is-locked .driver-input:focus {
  border-color: rgba(255,92,92,0.28) !important;
  box-shadow: none !important;
}


body .ycw-f1-wrap .ycw-f1-card--next-race {
  background:
    linear-gradient(180deg, rgba(0,255,90,0.08) 0%, rgba(0,255,90,0.02) 100%),
    var(--ycw-f1-bg) !important;
  border-color: rgb(0 255 90 / 32%) !important;
  box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.07), var(--ycw-f1-shadow-md) !important;
}

body .ycw-f1-wrap .ycw-f1-tile.ycw-f1-tile--next {
  border-color: rgb(0 255 90 / 32%) !important;
  background-color: #00ff001c !important;
  box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.07), var(--ycw-f1-shadow-md) !important;
}

body .ycw-f1-wrap .ycw-f1-cal-select-wrap {
  position: relative !important;
  width: 100% !important;
  max-width: 320px !important;
}

body .ycw-f1-wrap .ycw-f1-cal-label {
  display: block !important;
  margin-bottom: 8px !important;
  color: rgba(255,255,255,0.78) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

body .ycw-f1-wrap .ycw-f1-cal-year {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%), #0c1118 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 14px !important;
  padding: 5px 44px 5px 16px !important;
  min-height: 42px !important;
  line-height: 1.2 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  box-shadow: var(--ycw-f1-shadow-sm) !important;
  cursor: pointer !important;
}

body .ycw-f1-wrap .ycw-f1-cal-year:focus {
  outline: none !important;
  border-color: rgba(225,6,0,0.65) !important;
  box-shadow: 0 0 0 4px rgba(225,6,0,0.12), var(--ycw-f1-shadow-sm) !important;
}

body .ycw-f1-wrap .ycw-f1-cal-year option {
  background: #0c1118 !important;
  color: #ffffff !important;
}

body .ycw-f1-wrap .ycw-f1-cal-select-icon {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  color: rgba(255,255,255,0.72) !important;
  font-size: 16px !important;
  pointer-events: none !important;
}

body .ycw-f1-wrap .ycw-f1-cal-view-switch {
  margin-top: 12px !important;
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

body .ycw-f1-wrap .ycw-f1-flag--small {
  width: 40px !important;
  height: 28px !important;
  border-radius: 8px !important;
}

body .ycw-f1-wrap .ycw-f1-cal-flagcell {
  width: 56px !important;
  text-align: center !important;
}

body .ycw-f1-wrap .ycw-f1-cal-row--next {
  background: rgba(0,255,90,0.06) !important;
}

body .ycw-f1-wrap .ycw-f1-cal-row--next td {
  border-bottom-color: rgba(0,255,90,0.14) !important;
}

body .ycw-f1-wrap .ycw-f1-tile-date {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

body .ycw-f1-wrap .ycw-f1-tile-next-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(0,0,0,0.22) !important;
  color: #b9ffcf !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

@media (max-width: 640px) {
  body .ycw-f1-wrap .ycw-f1-cal-select-wrap {
    max-width: 100% !important;
  }

  body .ycw-f1-wrap .ycw-f1-cal-select-icon {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }

  body .ycw-f1-wrap .ycw-f1-cal-table thead th:nth-child(2),
  body .ycw-f1-wrap .ycw-f1-cal-table tbody td:nth-child(2) {
    width: 52px !important;
    min-width: 52px !important;
  }
}


/* =========================================================
   Leaderboard polish
========================================================= */
body .ycw-f1-wrap .ycw-f1-leaderboard-wrap {
  padding: 12px !important;
  border-radius: calc(var(--ycw-f1-radius-xl) + 2px) !important;
  background:
    radial-gradient(circle at top left, rgba(225, 6, 0, 0.12) 0%, rgba(225, 6, 0, 0) 32%),
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.00) 100%),
    var(--ycw-f1-surface) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: var(--ycw-f1-shadow-lg) !important;
}

body .ycw-f1-wrap .ycw-f1-empty-state {
  display: grid !important;
  gap: 8px !important;
  padding: 24px !important;
  border-radius: var(--ycw-f1-radius-lg) !important;
  background: rgba(255,255,255,0.03) !important;
  color: var(--ycw-f1-text) !important;
}

body .ycw-f1-wrap .ycw-f1-empty-state span {
  color: var(--ycw-f1-muted) !important;
  font-size: 14px !important;
}

body .ycw-f1-wrap .ycw-f1-leaderboard-table {
  min-width: 100% !important;
  border-spacing: 0 12px !important;
}

body .ycw-f1-wrap .ycw-f1-leaderboard-table thead th {
  padding: 0 14px 10px !important;
  font-size: 12px !important;
  color: rgba(255,255,255,0.72) !important;
}

body .ycw-f1-wrap .ycw-f1-leaderboard-table tbody td {
  padding: 18px 16px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.015) 100%),
    rgba(8, 14, 24, 0.92) !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

body .ycw-f1-wrap .ycw-f1-leaderboard-table tbody tr:hover td {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%),
    rgba(10, 17, 30, 0.98) !important;
}

body .ycw-f1-wrap .ycw-f1-leaderboard-table tbody tr.ycw-f1-rank-row--podium td {
  border-top-color: rgba(225,6,0,0.28) !important;
  border-bottom-color: rgba(225,6,0,0.28) !important;
  box-shadow: inset 0 0 0 1px rgba(225,6,0,0.08) !important;
}

body .ycw-f1-wrap .ycw-f1-leaderboard-table tbody tr.ycw-f1-rank-row--leader td {
  background:
    linear-gradient(180deg, rgba(225,6,0,0.16) 0%, rgba(225,6,0,0.08) 100%),
    rgba(15, 10, 16, 0.96) !important;
  border-top-color: rgba(255,90,90,0.34) !important;
  border-bottom-color: rgba(255,90,90,0.34) !important;
}

body .ycw-f1-wrap .ycw-f1-rank-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  color: #fff !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
}

body .ycw-f1-wrap .ycw-f1-rank-badge--1 {
  background: linear-gradient(180deg, #ff3a2a 0%, #d61212 100%) !important;
  border-color: rgba(255,122,102,0.7) !important;
  box-shadow: 0 8px 18px rgba(225,6,0,0.28) !important;
}

body .ycw-f1-wrap .ycw-f1-rank-badge--2,
body .ycw-f1-wrap .ycw-f1-rank-badge--3 {
  background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.06) 100%) !important;
}

body .ycw-f1-wrap .ycw-f1-player-cell {
  font-size: 16px !important;
  font-weight: 800 !important;
}

body .ycw-f1-wrap .ycw-f1-player-name {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

body .ycw-f1-wrap .ycw-f1-points-cell {
  text-align: right !important;
}

body .ycw-f1-wrap .ycw-f1-points-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 72px !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  color: #fff !important;
  background: linear-gradient(180deg, rgba(225,6,0,0.95) 0%, rgba(182,0,0,0.98) 100%) !important;
  box-shadow: 0 10px 24px rgba(225,6,0,0.22) !important;
}

@media (max-width: 640px) {
  body .ycw-f1-wrap .ycw-f1-leaderboard-wrap {
    padding: 10px !important;
  }

  body .ycw-f1-wrap .ycw-f1-leaderboard-table {
    min-width: 560px !important;
    border-spacing: 0 10px !important;
  }

  body .ycw-f1-wrap .ycw-f1-leaderboard-table tbody td {
    padding: 14px 12px !important;
  }

  body .ycw-f1-wrap .ycw-f1-rank-badge {
    min-width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }

  body .ycw-f1-wrap .ycw-f1-player-cell {
    font-size: 15px !important;
  }

  body .ycw-f1-wrap .ycw-f1-points-pill {
    min-width: 62px !important;
    padding: 8px 12px !important;
  }
}


/* =========================================================
   Leaderboard subtle medals + calendar year submit polish
========================================================= */
body .ycw-f1-wrap .ycw-f1-leaderboard-wrap {
  padding: 14px !important;
  background:
    radial-gradient(circle at top left, rgba(225, 6, 0, 0.08) 0%, rgba(225, 6, 0, 0) 28%),
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.00) 100%),
    var(--ycw-f1-surface) !important;
}

body .ycw-f1-wrap .ycw-f1-leaderboard-table {
  border-spacing: 0 10px !important;
}

body .ycw-f1-wrap .ycw-f1-leaderboard-table thead th {
  padding: 0 14px 8px !important;
  font-size: 11px !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

body .ycw-f1-wrap .ycw-f1-leaderboard-table tbody td {
  padding: 14px 14px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.012) 100%),
    rgba(8, 14, 24, 0.92) !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

body .ycw-f1-wrap .ycw-f1-leaderboard-table tbody td:first-child {
  width: 72px !important;
  border-left: 3px solid transparent !important;
}

body .ycw-f1-wrap .ycw-f1-leaderboard-table tbody tr:hover td {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.018) 100%),
    rgba(10, 17, 30, 0.96) !important;
}

body .ycw-f1-wrap .ycw-f1-leaderboard-table tbody tr.ycw-f1-rank-row--leader td {
  background:
    linear-gradient(180deg, rgba(255,215,0,0.08) 0%, rgba(255,215,0,0.02) 100%),
    rgba(10, 16, 26, 0.96) !important;
  border-top-color: rgba(255,215,0,0.18) !important;
  border-bottom-color: rgba(255,215,0,0.18) !important;
}

body .ycw-f1-wrap .ycw-f1-leaderboard-table tbody tr.ycw-f1-rank-row--1 td:first-child { border-left-color: #d4af37 !important; }
body .ycw-f1-wrap .ycw-f1-leaderboard-table tbody tr.ycw-f1-rank-row--2 td:first-child { border-left-color: #c0c0c0 !important; }
body .ycw-f1-wrap .ycw-f1-leaderboard-table tbody tr.ycw-f1-rank-row--3 td:first-child { border-left-color: #cd7f32 !important; }
body .ycw-f1-wrap .ycw-f1-leaderboard-table tbody tr.ycw-f1-rank-row--rest td:first-child { border-left-color: #B6BABD !important; }

body .ycw-f1-wrap .ycw-f1-rank-badge {
  min-width: 40px !important;
  width: 40px !important;
  height: 40px !important;
  font-size: 14px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: none !important;
}

body .ycw-f1-wrap .ycw-f1-rank-badge--1 {
  background: linear-gradient(180deg, #e0be57 0%, #b78b1f 100%) !important;
  border-color: rgba(255,223,114,0.5) !important;
  color: #17120a !important;
}

body .ycw-f1-wrap .ycw-f1-rank-badge--2 {
  background: linear-gradient(180deg, #d7dbe0 0%, #9ea4ad 100%) !important;
  border-color: rgba(255,255,255,0.34) !important;
  color: #10131a !important;
}

body .ycw-f1-wrap .ycw-f1-rank-badge--3 {
  background: linear-gradient(180deg, #d49a67 0%, #9f5f2a 100%) !important;
  border-color: rgba(235,170,110,0.34) !important;
  color: #1a0f08 !important;
}

body .ycw-f1-wrap .ycw-f1-rank-badge--4,
body .ycw-f1-wrap .ycw-f1-rank-badge--5,
body .ycw-f1-wrap .ycw-f1-rank-badge--6,
body .ycw-f1-wrap .ycw-f1-rank-badge--7,
body .ycw-f1-wrap .ycw-f1-rank-badge--8,
body .ycw-f1-wrap .ycw-f1-rank-badge--9,
body .ycw-f1-wrap .ycw-f1-rank-badge--10,
body .ycw-f1-wrap .ycw-f1-rank-badge--11,
body .ycw-f1-wrap .ycw-f1-rank-badge--12,
body .ycw-f1-wrap .ycw-f1-rank-badge--13,
body .ycw-f1-wrap .ycw-f1-rank-badge--14,
body .ycw-f1-wrap .ycw-f1-rank-badge--15,
body .ycw-f1-wrap .ycw-f1-rank-badge--16,
body .ycw-f1-wrap .ycw-f1-rank-badge--17,
body .ycw-f1-wrap .ycw-f1-rank-badge--18,
body .ycw-f1-wrap .ycw-f1-rank-badge--19,
body .ycw-f1-wrap .ycw-f1-rank-badge--20 {
  background: linear-gradient(180deg, #c7cbcf 0%, #8f969c 100%) !important;
  border-color: rgba(182,186,189,0.45) !important;
  color: #10131a !important;
}

body .ycw-f1-wrap .ycw-f1-player-cell {
  font-size: 15px !important;
  font-weight: 800 !important;
}

body .ycw-f1-wrap .ycw-f1-points-pill {
  min-width: 56px !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.06) 100%) !important;
  box-shadow: none !important;
}

body .ycw-f1-wrap .ycw-f1-cal-year-form {
  display: block !important;
  width: 100% !important;
}

body .ycw-f1-wrap .ycw-f1-cal-select-wrap {
  position: relative !important;
  width: min(260px, 100%) !important;
}

body .ycw-f1-wrap .ycw-f1-cal-year {
  cursor: pointer !important;
}

@media (max-width: 640px) {
  body .ycw-f1-wrap .ycw-f1-leaderboard-table {
    border-spacing: 0 8px !important;
  }

  body .ycw-f1-wrap .ycw-f1-leaderboard-table tbody td {
    padding: 12px 12px !important;
  }

  body .ycw-f1-wrap .ycw-f1-rank-badge {
    min-width: 34px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 13px !important;
  }

  body .ycw-f1-wrap .ycw-f1-points-pill {
    min-width: 50px !important;
    padding: 7px 10px !important;
  }
}
