.nld-discord-menu-item {
  display: inline-flex;
  align-items: center;
}

.nld-discord-menu-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nld-discord-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(88, 101, 242, 0.65);
  border-radius: 8px;
  background: #5865f2;
  color: #ffffff !important;
  font-weight: 850;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 14px 32px rgba(88, 101, 242, 0.22);
}

.nld-discord-button:hover,
.nld-discord-button:focus {
  background: #4752c4;
  color: #ffffff !important;
}

.nld-discord-button--profile {
  background: transparent;
  border-color: rgba(35, 213, 255, 0.55);
  color: var(--text, #f4f7fb) !important;
  box-shadow: none;
}

.nld-discord-button--logout {
  min-height: 36px;
  padding: 0 12px;
  border-color: rgba(170, 182, 198, 0.38);
  background: rgba(8, 10, 14, 0.36);
  color: var(--muted, #aab6c6) !important;
  box-shadow: none;
}

.nld-profile-nav-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.nld-profile-nav-alert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: #facc15;
  color: #111827;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.18), 0 10px 22px rgba(0, 0, 0, 0.28);
}

.nld-profile-nav-alert--danger {
  background: #fb923c;
  color: #111827;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.2), 0 10px 22px rgba(0, 0, 0, 0.28);
}

.nld-profile-nav-alert.nld-league-diamant {
  background: #2563eb;
  color: #ffffff;
}

.nld-profile-nav-alert.nld-league-platin {
  background: #ffffff;
  color: #111827;
}

.nld-profile-nav-alert.nld-league-gold {
  background: #fbbf24;
  color: #111827;
}

.nld-profile-nav-alert.nld-league-silber {
  background: #64748b;
  color: #ffffff;
}

.nld-profile-nav-alert.nld-league-bronze {
  background: #d97834;
  color: #111827;
}

.nld-profile-nav-alert.nld-league-holz {
  background: #6b3f1f;
  color: #ffffff;
}

.nld-profile-nav-alert--danger {
  background: #fb923c;
  color: #111827;
}

.nld-profile-nav-alert.nld-league-tone,
.nld-profile-nav-alert[class*="nld-league-"] {
  border-color: rgba(var(--nld-league-accent-rgb, 250, 204, 21), 0.72);
}

body.nld-dp-compact-hero-page:not(.home):not(.front-page) .hero,
body.nld-dp-compact-hero-page:not(.home):not(.front-page) .page-hero,
body.nld-dp-compact-hero-page:not(.home):not(.front-page) .entry-hero,
body.nld-dp-compact-hero-page:not(.home):not(.front-page) .wp-block-cover:first-of-type {
  min-height: clamp(150px, 18vw, 260px) !important;
  padding-top: clamp(34px, 5vw, 72px) !important;
  padding-bottom: clamp(34px, 5vw, 72px) !important;
}

body.nld-dp-compact-hero-page:not(.home):not(.front-page) .hero h1,
body.nld-dp-compact-hero-page:not(.home):not(.front-page) .page-hero h1,
body.nld-dp-compact-hero-page:not(.home):not(.front-page) .entry-hero h1,
body.nld-dp-compact-hero-page:not(.home):not(.front-page) .wp-block-cover:first-of-type h1 {
  max-width: 780px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-size: clamp(2.35rem, 5vw, 4.7rem) !important;
  line-height: 1.02 !important;
}

body.nld-dp-compact-hero-page:not(.home):not(.front-page) .hero p,
body.nld-dp-compact-hero-page:not(.home):not(.front-page) .page-hero p,
body.nld-dp-compact-hero-page:not(.home):not(.front-page) .entry-hero p,
body.nld-dp-compact-hero-page:not(.home):not(.front-page) .wp-block-cover:first-of-type p {
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

.nld-player-profile,
.nld-players,
.nld-native-liga {
  box-sizing: border-box;
  --text: #f4f7fb;
  --muted: #aab6c6;
  --cyan: #23d5ff;
  --nld-league-accent: var(--cyan, #23d5ff);
  --nld-league-accent-rgb: 35, 213, 255;
  --nld-league-ink: #dff7ff;
  --nld-league-soft: rgba(var(--nld-league-accent-rgb), 0.2);
  --line: rgba(255, 255, 255, 0.12);
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: var(--max, 1180px);
  margin: 0 auto;
  color: var(--text, #f4f7fb);
  color-scheme: dark;
  min-width: 0;
  overflow-wrap: anywhere;
}

.nld-native-liga {
  width: min(1720px, calc(100vw - 32px));
  max-width: none;
  margin-left: 50%;
  margin-right: 0;
  transform: translateX(-50%);
}

.nld-players {
  width: min(1720px, calc(100vw - 32px));
  max-width: none;
  margin-left: 50%;
  margin-right: 0;
  transform: translateX(-50%);
}

.nld-player-profile {
  padding: clamp(12px, 1.8vw, 18px);
  border: 1px solid rgba(35, 213, 255, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(35, 213, 255, 0.08), rgba(18, 23, 32, 0.36) 48%, rgba(8, 10, 14, 0.14)),
    rgba(8, 10, 14, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(35, 213, 255, 0.08),
    0 18px 48px rgba(0, 0, 0, 0.24);
}

.nld-player-profile--liga-focus {
  border-color: rgba(35, 213, 255, 0.48);
  box-shadow:
    inset 0 0 0 1px rgba(35, 213, 255, 0.16),
    0 0 30px rgba(35, 213, 255, 0.12),
    0 18px 48px rgba(0, 0, 0, 0.28);
}

.nld-league-tone {
  --nld-league-accent: #23d5ff;
  --nld-league-accent-rgb: 35, 213, 255;
  --nld-league-ink: #dff7ff;
  --nld-league-soft: rgba(var(--nld-league-accent-rgb), 0.2);
}

.nld-league-platin {
  --nld-league-accent: #ffffff;
  --nld-league-accent-rgb: 255, 255, 255;
  --nld-league-ink: #ffffff;
}

.nld-league-gold {
  --nld-league-accent: #fbbf24;
  --nld-league-accent-rgb: 251, 191, 36;
  --nld-league-ink: #fef3c7;
}

.nld-league-silber {
  --nld-league-accent: #64748b;
  --nld-league-accent-rgb: 100, 116, 139;
  --nld-league-ink: #d8dee8;
}

.nld-league-bronze {
  --nld-league-accent: #d97834;
  --nld-league-accent-rgb: 217, 120, 52;
  --nld-league-ink: #ffedd5;
}

.nld-league-holz {
  --nld-league-accent: #6b3f1f;
  --nld-league-accent-rgb: 107, 63, 31;
  --nld-league-ink: #e7c7a5;
}

.nld-league-starter {
  --nld-league-accent: #a78bfa;
  --nld-league-accent-rgb: 167, 139, 250;
  --nld-league-ink: #ede9fe;
}

.nld-league-diamant {
  --nld-league-accent: #2563eb;
  --nld-league-accent-rgb: 37, 99, 235;
  --nld-league-ink: #dbeafe;
}

.nld-league-neutral {
  --nld-league-accent: #64748b;
  --nld-league-accent-rgb: 100, 116, 139;
  --nld-league-ink: #d8dee8;
}

.nld-player-profile *,
.nld-player-profile *::before,
.nld-player-profile *::after,
.nld-players *,
.nld-players *::before,
.nld-players *::after,
.nld-native-liga *,
.nld-native-liga *::before,
.nld-native-liga *::after {
  box-sizing: border-box;
}

.nld-player-head {
  max-width: 760px;
  margin: 0 0 34px;
}

.nld-player-eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  color: var(--cyan, #23d5ff);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.nld-player-head h2 {
  margin: 0;
  color: var(--text, #f4f7fb);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.06;
}

.nld-player-head p:last-child {
  margin: 16px 0 0;
  color: var(--muted, #aab6c6);
  font-size: 1.08rem;
}

.nld-player-panel,
.nld-player-form,
.nld-player-notice,
.nld-player-empty,
.nld-player-card {
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius, 8px);
  background: rgba(18, 23, 32, 0.84);
  box-shadow: var(--shadow, 0 24px 70px rgba(0, 0, 0, 0.35));
}

.nld-player-panel,
.nld-player-empty {
  padding: clamp(20px, 3vw, 30px);
  min-width: 0;
}

.nld-player-panel h2,
.nld-player-empty h3 {
  margin: 0 0 10px;
  color: var(--text, #f4f7fb);
}

.nld-player-panel p,
.nld-player-empty p {
  margin: 0 0 18px;
  color: var(--muted, #aab6c6);
}

.nld-player-notice {
  margin: 0 0 18px;
  padding: 14px 16px;
  color: #dffbea;
  background: rgba(22, 124, 75, 0.2);
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
}

.nld-player-form {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 18px 22px;
  padding: clamp(18px, 3vw, 28px);
}

.nld-player-form-preview {
  grid-row: span 6;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 42%, rgba(35, 213, 255, 0.12), transparent 58%),
    linear-gradient(135deg, rgba(8, 10, 14, 0.96), rgba(18, 23, 32, 0.96));
}

.nld-player-form-preview img,
.nld-player-card-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nld-player-form-preview span,
.nld-player-card-photo span {
  color: var(--text, #f4f7fb);
  font-size: 4rem;
  font-weight: 850;
  line-height: 1;
}

.nld-player-form label {
  display: grid;
  gap: 7px;
  color: var(--text, #f4f7fb);
  font-weight: 800;
}

.nld-player-form small {
  color: var(--muted, #aab6c6);
  font-weight: 700;
}

.nld-player-form input[type="text"],
.nld-player-form input[type="number"],
.nld-player-form input[type="date"],
.nld-player-form input[type="datetime-local"],
.nld-player-form input[type="file"],
.nld-player-form select,
.nld-player-search input[type="search"],
.nld-player-tools select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(35, 213, 255, 0.42);
  border-radius: 8px;
  background: #121720;
  color: var(--text, #f4f7fb);
  padding: 10px 12px;
  color-scheme: dark;
  outline: none;
}

.nld-player-form select,
.nld-player-tools select {
  cursor: pointer;
  font-weight: 850;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 12px 30px rgba(0, 0, 0, 0.18);
}

.nld-player-form select:focus,
.nld-player-search input[type="search"]:focus,
.nld-player-tools select:focus {
  border-color: var(--cyan, #23d5ff);
  box-shadow: 0 0 0 3px rgba(35, 213, 255, 0.16);
}

.nld-player-form select option,
.nld-player-tools select option {
  background: #121720;
  color: #f4f7fb;
}

.nld-player-form select option:checked,
.nld-player-tools select option:checked {
  background: #233244;
  color: #ffffff;
}

.nld-player-locked-field {
  display: grid;
  gap: 7px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(35, 213, 255, 0.35);
  border-radius: 8px;
  background: rgba(35, 213, 255, 0.09);
}

.nld-player-locked-field span {
  color: var(--text, #f4f7fb);
  font-weight: 800;
}

.nld-player-locked-field strong {
  color: var(--cyan, #23d5ff);
  font-size: 1.02rem;
}

.nld-player-locked-field small {
  color: var(--muted, #aab6c6);
  font-weight: 700;
}

.nld-player-discord-profile {
  display: grid;
  gap: 7px;
  color: var(--text, #f4f7fb);
  font-weight: 800;
}

.nld-player-discord-profile a {
  color: var(--cyan, #23d5ff);
  overflow-wrap: anywhere;
}

.nld-player-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.nld-player-form-actions button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--cyan, #23d5ff);
  color: #071018;
  font-weight: 900;
  cursor: pointer;
}

.nld-player-form-actions a {
  color: var(--muted, #aab6c6);
  font-weight: 800;
}

.nld-player-profile-editor {
  margin-top: 18px;
}

.nld-player-profile-editor summary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(35, 213, 255, 0.42);
  border-radius: 8px;
  background: rgba(35, 213, 255, 0.1);
  color: var(--cyan, #23d5ff);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.nld-player-profile-editor summary::-webkit-details-marker {
  display: none;
}

.nld-player-profile-editor summary:after {
  content: "+";
  margin-left: 10px;
}

.nld-player-profile-editor[open] summary:after {
  content: "-";
}

.nld-player-profile-editor .nld-player-form {
  margin-top: 14px;
}

.nld-players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 360px));
  gap: clamp(14px, 2vw, 20px);
  justify-content: start;
  align-items: start;
}

.nld-player-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(190px, 300px) auto;
  gap: 14px;
  align-items: end;
  margin: 0 0 20px;
}

.nld-player-tools label {
  display: grid;
  gap: 6px;
  color: var(--text, #f4f7fb);
  font-weight: 850;
}

.nld-player-tools label > span {
  font-size: 0.82rem;
  line-height: 1.1;
}

.nld-player-search input[type="search"] {
  font-weight: 800;
}

.nld-player-search input[type="search"]::placeholder {
  color: rgba(170, 182, 198, 0.78);
}

.nld-player-search-empty {
  margin: -4px 0 24px;
  padding: 12px 14px;
  border: 1px solid rgba(35, 213, 255, 0.22);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.3);
  color: var(--muted, #aab6c6);
  font-weight: 800;
}

.nld-player-tools-meta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(35, 213, 255, 0.2);
  border-radius: 8px;
  color: var(--muted, #aab6c6);
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
}

.nld-division-groups {
  display: grid;
  gap: clamp(28px, 4vw, 46px);
}

.nld-division-section[hidden] {
  display: none !important;
}

.nld-division-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.12));
}

.nld-division-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 18px);
}

.nld-division-title img {
  width: clamp(58px, 8vw, 92px);
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.42));
}

.nld-division-heading h3 {
  margin: 0;
  color: var(--text, #f4f7fb);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.nld-division-heading span {
  min-width: 34px;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.58);
  border-radius: 999px;
  background: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.16);
  color: var(--nld-league-ink, var(--cyan, #23d5ff));
  font-weight: 900;
}

.nld-division-empty {
  margin: 0;
  color: var(--muted, #aab6c6);
}

.nld-player-card {
  overflow: hidden;
  min-width: 0;
  width: 100%;
  max-width: 360px;
  scroll-margin-top: 110px;
}

.nld-player-card.nld-league-tone {
  border-color: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.54);
  background:
    linear-gradient(135deg, rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.24), rgba(18, 23, 32, 0.9) 35%, rgba(18, 23, 32, 0.86)),
    rgba(18, 23, 32, 0.84);
  box-shadow:
    inset 5px 0 0 var(--nld-league-accent, var(--cyan, #23d5ff)),
    0 0 0 1px rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.08),
    var(--shadow, 0 24px 70px rgba(0, 0, 0, 0.35));
}

.nld-player-card:target {
  border-color: rgba(35, 213, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(35, 213, 255, 0.16), 0 20px 48px rgba(0, 0, 0, 0.32);
}

.nld-player-card-photo {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(35, 213, 255, 0.12), transparent 58%),
    linear-gradient(135deg, rgba(8, 10, 14, 0.96), rgba(18, 23, 32, 0.96));
}

.nld-player-card.nld-league-tone .nld-player-card-photo {
  background:
    radial-gradient(circle at 50% 38%, rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.34), transparent 58%),
    linear-gradient(135deg, rgba(8, 10, 14, 0.96), rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.26));
}

.nld-player-card-body {
  padding: clamp(18px, 2.4vw, 24px);
}

.nld-player-card-title {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 16px;
}

.nld-player-card-name {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.nld-player-card-rank {
  flex: 0 0 auto;
  min-width: 32px;
  min-height: 26px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  border: 1px solid rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.5);
  border-radius: 999px;
  background: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.16);
  color: var(--nld-league-ink, var(--cyan, #23d5ff));
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
}

.nld-player-card h3 {
  margin: 0;
  color: var(--text, #f4f7fb);
  font-size: 1.22rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.nld-player-discord-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(88, 101, 242, 0.7);
  border-radius: 8px;
  background: rgba(88, 101, 242, 0.22);
  color: #ffffff !important;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

.nld-player-discord-button:hover,
.nld-player-discord-button:focus {
  background: #5865f2;
}

.nld-player-card dl {
  display: grid;
  gap: 11px;
  margin: 0;
}

.nld-player-card dl div {
  display: grid;
  gap: 3px;
}

.nld-player-card dt {
  color: var(--cyan, #23d5ff);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.nld-player-card dd {
  margin: 0;
  color: var(--muted, #aab6c6);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.nld-player-card--linked {
  border-color: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.52);
}

.nld-player-card-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}

.nld-player-card-chip {
  min-width: 0;
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid rgba(35, 213, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.26);
}

.nld-player-card-chip--link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.nld-player-card-chip--link:hover,
.nld-player-card-chip--link:focus-visible {
  border-color: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.62);
  background: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.12);
  transform: translateY(-1px);
  outline: none;
}

.nld-player-card-chip span {
  color: var(--muted, #aab6c6);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.nld-player-card-chip strong {
  min-width: 0;
  color: var(--text, #f4f7fb);
  font-size: 0.96rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.nld-player-card-chip:first-child {
  grid-column: 1 / -1;
}

.nld-player-card.nld-league-tone .nld-player-card-chip:first-child {
  border-color: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.62);
  background: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.2);
}

.nld-player-card-details {
  margin: 14px 0 0;
}

.nld-player-card-details summary {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(35, 213, 255, 0.36);
  border-radius: 8px;
  background: rgba(35, 213, 255, 0.1);
  color: var(--cyan, #23d5ff);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.nld-player-card-details summary::-webkit-details-marker {
  display: none;
}

.nld-player-card-details summary:after {
  content: "+";
  margin-left: 8px;
  font-weight: 900;
}

.nld-player-card-details[open] summary:after {
  content: "-";
}

.nld-player-card-detail-content {
  display: grid;
  gap: 14px;
  padding-top: 14px;
}

.nld-player-card-detail-list {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.2);
}

.nld-player-card-detail-grid {
  display: grid;
  gap: 14px;
}

.nld-player-card-detail-grid h4 {
  margin: 0 0 8px;
  color: var(--text, #f4f7fb);
  font-size: 0.98rem;
}

.nld-player-card-mini-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nld-player-card-mini-list li {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.2);
}

.nld-player-card-mini-list span,
.nld-player-card-mini-list a {
  color: var(--text, #f4f7fb);
  font-weight: 800;
  line-height: 1.25;
}

.nld-player-card-mini-list a {
  text-decoration-color: rgba(35, 213, 255, 0.55);
}

.nld-player-card-mini-list small,
.nld-player-card-muted {
  color: var(--muted, #aab6c6);
}

.nld-player-card-muted {
  margin: 0;
}

.nld-player-card-action {
  color: var(--cyan, #23d5ff);
  font-weight: 900;
}

.nld-player-liga {
  margin-top: 0;
  scroll-margin-top: 110px;
}

.nld-player-profile--liga-focus .nld-player-liga {
  margin-top: 0;
}

.nld-player-liga-panel {
  margin-top: 16px;
  scroll-margin-top: 110px;
}

.nld-player-liga-panel h3 {
  margin: 0 0 14px;
}

.nld-liga-profile-sections {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.nld-liga-profile-detail {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(18, 23, 32, 0.72);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.nld-liga-profile-detail[open] {
  border-color: rgba(35, 213, 255, 0.28);
}

.nld-liga-profile-detail summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  color: var(--text, #f4f7fb);
  cursor: pointer;
  list-style: none;
}

.nld-liga-profile-detail summary::-webkit-details-marker {
  display: none;
}

.nld-liga-profile-detail summary span {
  font-weight: 950;
}

.nld-liga-profile-detail summary strong {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid rgba(35, 213, 255, 0.28);
  border-radius: 999px;
  color: var(--cyan, #23d5ff);
  font-size: 0.78rem;
  white-space: nowrap;
}

.nld-liga-profile-detail summary:after {
  content: "+";
  color: var(--cyan, #23d5ff);
  font-weight: 950;
}

.nld-liga-profile-detail[open] summary:after {
  content: "-";
}

.nld-liga-profile-detail-body {
  padding: 0 16px 16px;
}

.nld-liga-profile-detail .nld-player-liga-panel {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.nld-liga-profile-detail .nld-player-liga-panel > h3 {
  display: none;
}

.nld-liga-cockpit {
  border-color: rgba(35, 213, 255, 0.34);
  background: rgba(12, 17, 26, 0.88);
}

.nld-liga-cockpit-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.nld-liga-cockpit-head span {
  display: block;
  margin-bottom: 5px;
  color: var(--cyan, #23d5ff);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nld-liga-cockpit-head h3 {
  margin: 0;
}

.nld-liga-cockpit-head > strong {
  max-width: 42%;
  color: var(--muted, #aab6c6);
  text-align: right;
}

.nld-liga-cockpit-identity {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}

.nld-liga-cockpit-identity span {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.28);
}

.nld-liga-cockpit-identity small,
.nld-liga-cockpit-identity strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nld-liga-cockpit-identity small {
  margin-bottom: 4px;
  color: var(--muted, #aab6c6);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nld-liga-cockpit-identity strong {
  color: var(--text, #f4f7fb);
  font-size: 0.92rem;
}

.nld-liga-cockpit-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(35, 213, 255, 0.22);
  border-radius: 8px;
  background: rgba(35, 213, 255, 0.08);
}

.nld-liga-cockpit-main {
  min-width: 0;
}

.nld-liga-cockpit-main h4 {
  margin: 8px 0 8px;
  color: var(--text, #f4f7fb);
  font-size: 1.28rem;
  line-height: 1.18;
}

.nld-liga-cockpit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.nld-liga-cockpit-meta span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--muted, #aab6c6);
  font-size: 0.8rem;
  font-weight: 900;
}

.nld-liga-cockpit-actions {
  display: grid;
  gap: 8px;
  min-width: 180px;
}

.nld-liga-cockpit-response {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid rgba(251, 191, 36, 0.42);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(8, 10, 14, 0.28));
  box-shadow: inset 4px 0 0 #fbbf24;
}

.nld-liga-cockpit-response-head,
.nld-liga-quick-response-option,
.nld-liga-quick-response-option > div {
  display: flex;
  gap: 9px;
  align-items: center;
}

.nld-liga-cockpit-response-head,
.nld-liga-quick-response-option {
  justify-content: space-between;
}

.nld-liga-cockpit-response-head strong,
.nld-liga-quick-response-option strong,
.nld-liga-quick-counter summary {
  color: var(--text, #f4f7fb);
  font-weight: 900;
}

.nld-liga-cockpit-response-head a {
  color: var(--cyan, #23d5ff);
  font-weight: 900;
  text-decoration: none;
}

.nld-liga-cockpit-response-message {
  margin: 0;
  color: var(--text, #f4f7fb);
  line-height: 1.45;
}

.nld-liga-cockpit-response-message span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted, #aab6c6);
  font-size: 0.8rem;
  font-weight: 900;
}

.nld-liga-quick-response {
  display: grid;
  gap: 8px;
}

.nld-liga-quick-response-option {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.25);
}

.nld-liga-response-alert .nld-liga-quick-response,
.nld-liga-row-actions .nld-liga-quick-response {
  width: 100%;
}

.nld-liga-response-alert .nld-liga-quick-response {
  grid-column: 1 / -1;
}

.nld-liga-response-alert .nld-liga-open-button--compact {
  grid-column: 1 / -1;
}

.nld-liga-response-alert .nld-liga-quick-response-option,
.nld-liga-row-actions .nld-liga-quick-response-option {
  align-items: stretch;
  flex-direction: column;
}

.nld-liga-response-alert .nld-liga-quick-response-option > div,
.nld-liga-row-actions .nld-liga-quick-response-option > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nld-liga-quick-counter {
  display: grid;
  gap: 10px;
}

.nld-liga-quick-counter summary {
  cursor: pointer;
}

.nld-liga-quick-counter .nld-liga-schedule-form {
  margin-top: 10px;
}

.nld-liga-cockpit-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.nld-liga-cockpit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.nld-liga-cockpit-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.25);
}

.nld-liga-cockpit-card h4 {
  margin: 0;
  color: var(--text, #f4f7fb);
  font-size: 0.98rem;
}

.nld-liga-cockpit-card dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.nld-liga-cockpit-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.nld-liga-cockpit-card dt,
.nld-liga-cockpit-card dd {
  margin: 0;
}

.nld-liga-cockpit-card dt,
.nld-liga-cockpit-card span,
.nld-liga-cockpit-card small {
  color: var(--muted, #aab6c6);
}

.nld-liga-cockpit-card dd,
.nld-liga-cockpit-card strong {
  color: var(--text, #f4f7fb);
  font-weight: 900;
}

.nld-liga-cockpit-card a {
  color: var(--cyan, #23d5ff);
}

.nld-liga-cockpit-card--warning {
  border-color: rgba(253, 230, 138, 0.34);
  background: rgba(253, 230, 138, 0.08);
}

.nld-liga-status {
  display: grid;
  gap: 5px;
  margin: 0 0 16px;
  padding: 13px 14px;
  border: 1px solid rgba(35, 213, 255, 0.24);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.28);
}

.nld-liga-status span,
.nld-liga-facts dd {
  color: var(--muted, #aab6c6);
}

.nld-liga-verify-alert {
  display: grid;
  gap: 5px;
  margin: 0 0 14px;
  padding: 14px 15px;
  border: 1px solid rgba(35, 213, 255, 0.42);
  border-radius: 8px;
  background: rgba(35, 213, 255, 0.12);
}

.nld-liga-verify-alert strong {
  color: var(--cyan, #23d5ff);
}

.nld-liga-verify-alert span {
  color: var(--text, #f4f7fb);
}

.nld-liga-verify-alert--quiet {
  border-color: rgba(170, 182, 198, 0.28);
  background: rgba(8, 10, 14, 0.28);
}

.nld-player-liga-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.nld-liga-choice {
  grid-column: 1 / -1;
  display: grid;
  gap: 9px;
  margin: 0 0 2px;
  padding: 13px;
  border: 1px solid rgba(35, 213, 255, 0.22);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.22);
}

.nld-liga-choice legend {
  padding: 0 6px;
  color: var(--cyan, #23d5ff);
  font-weight: 900;
}

.nld-liga-choice label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  color: var(--text, #f4f7fb);
  font-weight: 800;
}

.nld-liga-choice input {
  margin-top: 3px;
}

.nld-liga-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.nld-liga-table th,
.nld-liga-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  vertical-align: top;
}

.nld-liga-table th {
  color: var(--cyan, #23d5ff);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.nld-native-table-scroll .nld-liga-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(7, 16, 24, 0.98);
  box-shadow: 0 1px 0 rgba(35, 213, 255, 0.2), 0 8px 18px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.nld-liga-facts {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.nld-liga-facts div {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  gap: 12px;
}

.nld-liga-facts dt,
.nld-liga-facts dd {
  margin: 0;
}

.nld-liga-facts a {
  color: var(--cyan, #23d5ff);
}

.nld-liga-table a {
  color: var(--nld-league-ink, var(--cyan, #23d5ff));
  font-weight: 800;
}

.nld-native-player-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text, #f4f7fb) !important;
  text-decoration: none !important;
}

.nld-native-player-link.nld-league-tone::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--nld-league-accent, var(--cyan, #23d5ff));
  box-shadow: 0 0 0 3px rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.16);
}

.nld-native-player-link[data-nld-player-stats] {
  cursor: pointer;
}

.nld-native-player-link--static[data-nld-player-stats] {
  cursor: help;
}

.nld-native-player-link:hover,
.nld-native-player-link:focus {
  color: var(--nld-league-ink, var(--cyan, #23d5ff)) !important;
}

.nld-native-fixture-pairing {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  max-width: 100%;
}

.nld-native-fixture-player-link {
  color: var(--nld-league-ink, var(--cyan, #23d5ff)) !important;
  font-weight: 950;
  text-decoration: none !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px;
}

.nld-native-fixture-player-link:hover,
.nld-native-fixture-player-link:focus {
  color: var(--nld-league-accent, var(--text, #f4f7fb)) !important;
  text-decoration: underline !important;
}

.nld-native-player-link.is-player-hover,
.nld-native-fixture-player-link.is-player-hover {
  color: var(--nld-league-accent, var(--cyan, #23d5ff)) !important;
  text-shadow: 0 0 14px rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.44);
}

.nld-native-player-link.is-next-opponent,
.nld-native-fixture-player-link.is-next-opponent {
  color: #fef3c7 !important;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.46);
}

.nld-native-fixture-player-link--static {
  color: var(--text, #f4f7fb) !important;
}

.nld-native-fixture-separator {
  color: var(--muted, #aab6c6);
  font-weight: 900;
}

.nld-player-hover-card {
  position: fixed;
  z-index: 99999;
  max-width: min(360px, calc(100vw - 24px));
  padding: 10px 12px;
  border: 1px solid rgba(35, 213, 255, 0.38);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.96);
  color: var(--text, #f4f7fb);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.45;
  white-space: pre-line;
  pointer-events: none;
}

.nld-player-liga-open {
  border-color: rgba(35, 213, 255, 0.42);
}

.nld-liga-panel-note {
  margin: 0 0 12px;
  color: var(--muted, #aab6c6);
  font-size: 0.94rem;
}

.nld-liga-panel-note--warning {
  padding: 10px 12px;
  border: 1px solid rgba(253, 230, 138, 0.42);
  border-radius: 8px;
  background: rgba(253, 230, 138, 0.11);
  color: #fde68a;
  font-weight: 800;
}

.nld-liga-selected-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.9fr);
  gap: 16px;
  align-items: center;
  margin: 12px 0 16px;
  padding: 16px;
  border: 1px solid rgba(35, 213, 255, 0.46);
  border-radius: 8px;
  background: rgba(35, 213, 255, 0.09);
}

.nld-liga-selected-card-wide {
  grid-column: 1 / -1;
}

.nld-liga-selected-card-kicker {
  display: inline-flex;
  margin: 0 0 7px;
  color: var(--cyan, #23d5ff);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nld-liga-selected-card h4 {
  margin: 0 0 12px;
  color: var(--text, #f4f7fb);
  font-size: 1.3rem;
}

.nld-liga-selected-card dl,
.nld-liga-debug dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.nld-liga-selected-card dl div,
.nld-liga-debug dl div {
  display: grid;
  grid-template-columns: minmax(90px, 130px) minmax(0, 1fr);
  gap: 10px;
}

.nld-liga-selected-card dt,
.nld-liga-selected-card dd,
.nld-liga-debug dt,
.nld-liga-debug dd {
  margin: 0;
}

.nld-liga-selected-card dt,
.nld-liga-debug dt {
  color: var(--muted, #aab6c6);
  font-weight: 850;
}

.nld-liga-selected-card-action {
  display: grid;
  justify-items: start;
  gap: 9px;
}

.nld-liga-response-alert {
  display: grid;
  gap: 10px;
  margin: 10px 0 14px;
  padding: 12px;
  border: 1px solid rgba(253, 230, 138, 0.46);
  border-radius: 8px;
  background: rgba(253, 230, 138, 0.1);
}

.nld-liga-response-alert > strong {
  color: #fde68a;
}

.nld-liga-response-alert ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nld-liga-response-alert li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(253, 230, 138, 0.18);
}

.nld-liga-response-alert li:first-child {
  padding-top: 0;
  border-top: 0;
}

.nld-liga-response-alert small {
  grid-column: 1 / 2;
  color: var(--muted, #aab6c6);
}

.nld-liga-open-button--compact {
  min-height: 30px;
  min-width: 0;
  grid-row: 1 / span 2;
  grid-column: 2;
}

.nld-liga-negotiation {
  display: grid;
  gap: 14px;
}

.nld-liga-negotiation h5 {
  margin: 0 0 8px;
  color: var(--text, #f4f7fb);
  font-size: 0.95rem;
}

.nld-liga-proposals,
.nld-liga-counter,
.nld-liga-chat {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.24);
}

.nld-liga-negotiation--needs-you .nld-liga-proposals {
  border-color: rgba(251, 191, 36, 0.42);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.13), rgba(8, 10, 14, 0.26));
  box-shadow: inset 4px 0 0 #fbbf24;
}

.nld-liga-block-copy {
  margin: -2px 0 10px;
  color: var(--muted, #aab6c6);
  font-size: 0.94rem;
  line-height: 1.45;
}

.nld-liga-proposal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nld-liga-proposal:first-of-type {
  border-top: 0;
}

.nld-liga-proposal strong,
.nld-liga-chat-message strong {
  color: var(--text, #f4f7fb);
}

.nld-liga-proposal span,
.nld-liga-proposal small,
.nld-liga-chat-message span,
.nld-liga-chat-list p {
  display: block;
  color: var(--muted, #aab6c6);
  font-size: 0.88rem;
}

.nld-liga-proposal--accepted {
  color: #dffbea;
}

.nld-liga-proposal--rejected {
  opacity: 0.7;
}

.nld-liga-proposal-actions,
.nld-liga-inline-form {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.nld-liga-proposal-bulk,
.nld-liga-quick-response-bulk {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

.nld-liga-mini-button,
.nld-liga-open-button,
.nld-liga-message-form button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: var(--cyan, #23d5ff);
  color: #071018 !important;
  font-weight: 900;
  padding: 0 11px;
  cursor: pointer;
}

.nld-liga-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 168px;
  text-decoration: none;
  white-space: nowrap;
}

#nld-liga-termin,
#nld-liga-open,
#nld-liga-absences,
.nld-liga-selected-card,
.nld-liga-target {
  scroll-margin-top: 96px;
}

.nld-liga-mini-button--reject {
  background: #fde68a;
}

.nld-liga-mini-button--reject-all {
  background: #fb923c;
  color: #111827 !important;
}

.nld-liga-proposal-state {
  color: var(--muted, #aab6c6);
  font-weight: 900;
}

.nld-liga-schedule-form textarea,
.nld-liga-message-form textarea {
  width: min(520px, 100%);
  border: 1px solid rgba(35, 213, 255, 0.42);
  border-radius: 8px;
  background: #121720;
  color: var(--text, #f4f7fb);
  padding: 9px 10px;
}

.nld-liga-chat-list {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.nld-liga-chat-message {
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.nld-liga-chat-message p {
  margin: 5px 0 0;
  color: var(--text, #f4f7fb);
}

.nld-liga-message-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.nld-liga-discord-link {
  color: var(--cyan, #23d5ff);
  font-weight: 900;
}

.nld-liga-discord-muted {
  color: var(--muted, #aab6c6);
}

.nld-liga-calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.nld-liga-calendar-actions a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(35, 213, 255, 0.36);
  border-radius: 8px;
  color: var(--cyan, #23d5ff);
  font-weight: 900;
  text-decoration: none;
}

.nld-liga-debug {
  border-color: rgba(253, 230, 138, 0.36);
  background: rgba(253, 230, 138, 0.08);
}

.nld-liga-target td {
  background: rgba(35, 213, 255, 0.1);
}

.nld-liga-selected {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  padding: 4px 8px;
  border: 1px solid rgba(35, 213, 255, 0.42);
  border-radius: 999px;
  color: var(--cyan, #23d5ff);
  font-size: 0.78rem;
  font-weight: 900;
}

.nld-liga-scheduled {
  display: block;
  margin-top: 4px;
  color: var(--muted, #aab6c6);
  font-size: 0.9rem;
}

.nld-liga-scheduled--proposed {
  color: #fde68a;
}

.nld-liga-scheduled--confirmed {
  color: #dffbea;
}

.nld-liga-confirm-state {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  padding: 4px 8px;
  border: 1px solid rgba(170, 182, 198, 0.24);
  border-radius: 999px;
  color: var(--muted, #aab6c6);
  font-size: 0.78rem;
  font-weight: 900;
}

.nld-liga-confirm-state--confirmed {
  border-color: rgba(34, 197, 94, 0.38);
  background: rgba(34, 197, 94, 0.14);
  color: #dffbea;
}

.nld-liga-confirm-state--needs-you {
  border-color: rgba(253, 230, 138, 0.48);
  background: rgba(253, 230, 138, 0.14);
  color: #fde68a;
}

.nld-liga-confirm-state--waiting-opponent,
.nld-liga-confirm-state--proposed {
  border-color: rgba(251, 146, 60, 0.42);
  background: rgba(251, 146, 60, 0.13);
  color: #fed7aa;
}

.nld-liga-confirm-state--rejected,
.nld-liga-confirm-state--missing {
  border-color: rgba(248, 113, 113, 0.36);
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
}

.nld-liga-confirm-state--not-due {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(148, 163, 184, 0.08);
  color: #cbd5e1;
}

.nld-native-liga-status-stack {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.nld-native-auto-league {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.nld-liga-schedule-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.nld-liga-row-actions {
  display: grid;
  gap: 8px;
  align-items: start;
}

.nld-liga-row-hint {
  color: var(--muted, #aab6c6);
  font-size: 0.82rem;
  line-height: 1.35;
}

.nld-liga-absence-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.nld-liga-absence-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  max-width: 100%;
  padding: 4px 9px;
  border: 1px solid rgba(251, 146, 60, 0.42);
  border-radius: 999px;
  background: rgba(251, 146, 60, 0.13);
  color: #fed7aa;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
  white-space: normal;
}

.nld-liga-absence-badge--conflict {
  border-color: rgba(248, 113, 113, 0.48);
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
}

.nld-liga-absence-list {
  display: grid;
  gap: 9px;
  margin: 0 0 14px;
}

.nld-liga-absence-empty {
  margin: 0;
  color: var(--muted, #aab6c6);
}

.nld-liga-absence-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(251, 146, 60, 0.24);
  border-radius: 8px;
  background: rgba(251, 146, 60, 0.08);
}

.nld-liga-absence-item strong,
.nld-liga-absence-item span,
.nld-liga-absence-item small {
  display: block;
}

.nld-liga-absence-item strong {
  color: var(--text, #f4f7fb);
}

.nld-liga-absence-item span,
.nld-liga-absence-item small {
  color: var(--muted, #aab6c6);
  font-size: 0.86rem;
  line-height: 1.35;
}

.nld-liga-absence-status {
  display: inline-flex !important;
  width: fit-content;
  margin-top: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.34);
  color: #fde68a !important;
  font-weight: 900;
}

.nld-liga-absence-delete button {
  min-height: 34px;
  border: 1px solid rgba(248, 113, 113, 0.44);
  border-radius: 8px;
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
  font-weight: 900;
  padding: 0 11px;
  cursor: pointer;
}

.nld-liga-absence-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.nld-liga-absence-form label {
  display: grid;
  gap: 6px;
}

.nld-liga-absence-form label span {
  color: var(--muted, #aab6c6);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nld-liga-absence-form input[type="date"],
.nld-liga-absence-form select,
.nld-liga-absence-form textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(35, 213, 255, 0.42);
  border-radius: 8px;
  background: #121720;
  color: var(--text, #f4f7fb);
  color-scheme: dark;
  padding: 8px 10px;
  box-sizing: border-box;
}

.nld-liga-absence-form textarea {
  resize: vertical;
}

.nld-liga-absence-note {
  grid-column: 1 / span 3;
}

.nld-liga-absence-form button[type="submit"] {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--cyan, #23d5ff);
  color: #071018;
  font-weight: 900;
  padding: 0 13px;
  cursor: pointer;
  white-space: nowrap;
}

.nld-liga-schedule-form input[type="datetime-local"] {
  min-width: min(230px, 100%);
  min-height: 40px;
  border: 1px solid rgba(35, 213, 255, 0.42);
  border-radius: 8px;
  background: #121720;
  color: var(--text, #f4f7fb);
  color-scheme: dark;
  padding: 8px 10px;
}

.nld-liga-schedule-form button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--cyan, #23d5ff);
  color: #071018;
  font-weight: 900;
  padding: 0 13px;
  cursor: pointer;
}

.nld-liga-more {
  margin-top: 12px;
}

.nld-liga-more summary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(35, 213, 255, 0.3);
  border-radius: 8px;
  background: rgba(35, 213, 255, 0.1);
  color: var(--cyan, #23d5ff);
  font-weight: 900;
  cursor: pointer;
}

.nld-liga-more .nld-liga-table {
  margin-top: 10px;
}

.nld-liga-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.nld-liga-stat {
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(35, 213, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.24);
}

.nld-liga-stat span {
  color: var(--muted, #aab6c6);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.nld-liga-stat strong {
  color: var(--text, #f4f7fb);
  font-size: 1.15rem;
  line-height: 1.1;
}

.nld-native-liga-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px;
  overflow: visible;
  scrollbar-width: thin;
  scrollbar-color: rgba(35, 213, 255, 0.56) rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  border-radius: 8px;
  background: rgba(18, 23, 32, 0.72);
  cursor: default;
  user-select: auto;
}

.nld-native-liga-nav.is-scrollable {
  cursor: grab;
}

.nld-native-liga-nav.is-dragging {
  cursor: grabbing;
}

.nld-native-liga-nav::-webkit-scrollbar {
  height: 8px;
}

.nld-native-liga-nav::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.nld-native-liga-nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(35, 213, 255, 0.48);
}

.nld-native-liga-link,
.nld-native-liga-filter {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(35, 213, 255, 0.28);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.28);
  color: var(--text, #f4f7fb);
  font-weight: 900;
  text-decoration: none !important;
  white-space: nowrap;
}

.nld-native-liga-link.nld-league-tone {
  border-color: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.42);
  background: linear-gradient(135deg, rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.16), rgba(8, 10, 14, 0.34));
  color: var(--nld-league-ink, var(--text, #f4f7fb));
  box-shadow: inset 0 -2px 0 rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.28);
}

.nld-native-liga-link.nld-league-tone::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--nld-league-accent, var(--cyan, #23d5ff));
  box-shadow: 0 0 0 3px rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.14);
}

.nld-native-liga-link:hover,
.nld-native-liga-filter:hover,
.nld-native-liga-link.is-active,
.nld-native-liga-filter.is-active {
  border-color: rgba(35, 213, 255, 0.72);
  background: rgba(35, 213, 255, 0.16);
  color: var(--cyan, #23d5ff);
}

.nld-native-liga-link.nld-league-tone:hover,
.nld-native-liga-link.nld-league-tone:focus,
.nld-native-liga-link.nld-league-tone.is-active {
  border-color: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.82);
  background: linear-gradient(135deg, rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.28), rgba(8, 10, 14, 0.42));
  color: var(--nld-league-ink, var(--cyan, #23d5ff));
  box-shadow: 0 0 0 1px rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.18), 0 10px 22px rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.12);
}

.nld-native-liga-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px;
  padding: 18px;
  border: 1px solid rgba(35, 213, 255, 0.3);
  border-radius: 8px;
  background: rgba(18, 23, 32, 0.84);
}

.nld-native-liga-title span:first-child {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan, #23d5ff);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nld-native-liga-title h3,
.nld-native-liga-section h3 {
  margin: 0;
  color: var(--text, #f4f7fb);
}

.nld-native-liga-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.nld-native-liga-section {
  margin-top: 16px;
}

.nld-native-table-scroll {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: auto;
  scrollbar-color: rgba(35, 213, 255, 0.56) rgba(255, 255, 255, 0.08);
}

.nld-native-table-scroll::-webkit-scrollbar {
  height: 10px;
}

.nld-native-table-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.nld-native-table-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(35, 213, 255, 0.62);
}

.nld-native-table-scroll.is-scrollable {
  cursor: grab;
}

.nld-native-table-scroll.is-dragging {
  cursor: grabbing;
}

.nld-native-liga-standings {
  min-width: 1120px;
}

.nld-native-overview-rankings {
  min-width: 1240px;
}

.nld-native-table-scroll--rankings::before {
  content: "Seitlich schieben fuer weitere Werte";
  display: inline-flex;
  position: sticky;
  left: 0;
  z-index: 4;
  margin: 0 0 6px;
  padding: 4px 8px;
  border: 1px solid rgba(35, 213, 255, 0.28);
  border-radius: 999px;
  background: rgba(8, 13, 20, 0.92);
  color: var(--muted, #aab6c6);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.nld-native-overview-rankings[data-nld-sort="platz"] :is(th:nth-child(3), td:nth-child(3)),
.nld-native-overview-rankings[data-nld-sort="played"] :is(th:nth-child(5), td:nth-child(5)),
.nld-native-overview-rankings[data-nld-sort="wins"] :is(th:nth-child(6), td:nth-child(6)),
.nld-native-overview-rankings[data-nld-sort="points"] :is(th:nth-child(7), td:nth-child(7)),
.nld-native-overview-rankings[data-nld-sort="leg_diff"] :is(th:nth-child(8), td:nth-child(8)),
.nld-native-overview-rankings[data-nld-sort="average"] :is(th:nth-child(9), td:nth-child(9)),
.nld-native-overview-rankings[data-nld-sort="first9"] :is(th:nth-child(10), td:nth-child(10)),
.nld-native-overview-rankings[data-nld-sort="checkout"] :is(th:nth-child(11), td:nth-child(11)),
.nld-native-overview-rankings[data-nld-sort="checkout_hits"] :is(th:nth-child(12), td:nth-child(12)),
.nld-native-overview-rankings[data-nld-sort="180s"] :is(th:nth-child(13), td:nth-child(13)),
.nld-native-overview-rankings[data-nld-sort="140s"] :is(th:nth-child(14), td:nth-child(14)),
.nld-native-overview-rankings[data-nld-sort="100s"] :is(th:nth-child(15), td:nth-child(15)),
.nld-native-overview-rankings[data-nld-sort="60s"] :is(th:nth-child(16), td:nth-child(16)),
.nld-native-overview-rankings[data-nld-sort="high_finish"] :is(th:nth-child(17), td:nth-child(17)) {
  background: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.12);
  color: var(--text, #f4f7fb);
}

.nld-native-liga-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.nld-native-liga-section-head span {
  color: var(--muted, #aab6c6);
  font-weight: 850;
}

.nld-native-liga-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.nld-calendar-filter-bar {
  align-items: flex-start;
  gap: 10px;
}

.nld-calendar-search {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(160px, 0.6fr) auto auto;
  gap: 10px;
  align-items: end;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.32);
}

.nld-calendar-search label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.nld-calendar-search label span {
  color: var(--muted, #aab6c6);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nld-calendar-search input,
.nld-calendar-search select {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.74);
  color: var(--text, #f4f7fb);
  padding: 0 12px;
}

.nld-calendar-search button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--cyan, #23d5ff);
  color: #071018;
  font-weight: 950;
  padding: 0 14px;
  cursor: pointer;
}

.nld-calendar-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.nld-calendar-filter-group > span {
  color: var(--muted, #aab6c6);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nld-native-liga-row--own td {
  background: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.14);
}

.nld-native-overview-rankings tr.is-player-hover td,
.nld-native-liga-standings tr.is-player-hover td {
  background: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.16);
  box-shadow: inset 0 1px 0 rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.2), inset 0 -1px 0 rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.2);
}

.nld-native-overview-rankings tr.is-next-opponent td,
.nld-native-liga-standings tr.is-next-opponent td {
  background: rgba(245, 158, 11, 0.16);
  box-shadow: inset 0 1px 0 rgba(245, 158, 11, 0.26), inset 0 -1px 0 rgba(245, 158, 11, 0.26);
}

.nld-liga-schedule-table tr.is-player-fixture-match td {
  background: linear-gradient(90deg, rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.22), rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.07));
  box-shadow: inset 4px 0 0 var(--nld-league-accent, var(--cyan, #23d5ff));
}

.nld-liga-schedule-table tr.is-next-open-match td {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.24), rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.1));
  box-shadow: inset 4px 0 0 #f59e0b, inset 0 1px 0 rgba(245, 158, 11, 0.28), inset 0 -1px 0 rgba(245, 158, 11, 0.28);
}

.nld-liga-schedule-table tr.is-next-open-match td:first-child::after {
  content: "naechstes offen";
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  color: #fef3c7;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.nld-ranking-row.nld-league-tone td:first-child,
.nld-native-upcoming-table tr.nld-league-tone td:first-child {
  box-shadow: inset 4px 0 0 var(--nld-league-accent, var(--cyan, #23d5ff));
}

.nld-native-overview-rankings tr.nld-league-tone:hover td,
.nld-native-liga-standings tr.nld-league-tone:hover td,
.nld-native-upcoming-table tr.nld-league-tone:hover td {
  background: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.1);
}

#tabelle,
#spielplan {
  scroll-margin-top: 120px;
}

#mein-rang {
  scroll-margin-top: 120px;
}

#mein-rang td {
  background: rgba(34, 197, 94, 0.16);
  box-shadow: inset 0 1px 0 rgba(34, 197, 94, 0.18), inset 0 -1px 0 rgba(34, 197, 94, 0.18);
}

#mein-rang.is-rank-focus td {
  background: rgba(34, 197, 94, 0.28);
  box-shadow: inset 0 0 0 2px rgba(34, 197, 94, 0.5);
}

.nld-native-liga-row--played td {
  background: rgba(34, 197, 94, 0.08);
}

.nld-native-liga-row--free td {
  color: var(--muted, #aab6c6);
}

.nld-native-liga-badge,
.nld-native-liga-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(35, 213, 255, 0.18);
  color: var(--cyan, #23d5ff);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
}

.nld-league-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.48);
  border-radius: 999px;
  background: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.14);
  color: var(--nld-league-ink, var(--cyan, #23d5ff)) !important;
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

.nld-league-badge--compact {
  min-height: 22px;
  padding: 3px 8px;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.nld-league-badge--link:hover,
.nld-league-badge--link:focus,
.nld-league-link:hover,
.nld-league-link:focus {
  color: var(--nld-league-accent, var(--cyan, #23d5ff)) !important;
  border-color: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.72);
  background: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.2);
}

.nld-native-liga-score {
  background: rgba(223, 251, 234, 0.12);
  color: #dffbea;
}

.nld-native-liga-badge--open {
  border-color: rgba(35, 213, 255, 0.42);
  background: rgba(35, 213, 255, 0.12);
  color: var(--cyan, #23d5ff);
}

.nld-native-liga-badge--played {
  border-color: rgba(34, 197, 94, 0.56);
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
}

.nld-native-liga-badge--bye {
  border-color: rgba(148, 163, 184, 0.42);
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
}

.nld-native-liga-score--played {
  font-weight: 950;
}

.nld-native-liga-apply {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 0 10px;
  border-radius: 8px;
  background: #22c55e;
  color: #071018 !important;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none !important;
}

.nld-native-liga-apply--card {
  min-height: 38px;
  margin-left: 0;
  padding: 0 12px;
}

.nld-native-liga-secondary {
  border: 1px solid rgba(35, 213, 255, 0.36);
  background: transparent;
  color: var(--cyan, #23d5ff) !important;
}

.nld-calendar-menu-link {
  color: inherit;
  text-decoration: none;
}

.nld-native-liga-link--overview {
  border-color: rgba(223, 251, 234, 0.38);
}

.nld-native-liga-link--calendar {
  border-color: rgba(251, 146, 60, 0.42);
  color: #fed7aa;
}

.nld-native-overview {
  border-color: rgba(35, 213, 255, 0.32);
}

.nld-native-overview-intro {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px;
  border: 1px solid rgba(35, 213, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.24);
}

.nld-native-overview-intro div,
.nld-native-overview-intro a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(18, 23, 32, 0.62);
  text-decoration: none !important;
}

.nld-native-overview-intro a:hover,
.nld-native-overview-intro a:focus,
.nld-native-overview-intro a.is-active {
  border-color: rgba(35, 213, 255, 0.64);
  background: rgba(35, 213, 255, 0.14);
}

.nld-native-overview-intro strong {
  color: var(--text, #f4f7fb);
  font-size: 1.05rem;
  font-weight: 950;
}

.nld-native-overview-intro span {
  color: var(--muted, #aab6c6);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nld-native-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.nld-native-overview-own-jump {
  border-color: rgba(34, 197, 94, 0.6);
  background: #22c55e;
  color: #071018 !important;
}

.nld-native-my-rank-banner {
  position: sticky;
  top: 72px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(34, 197, 94, 0.36);
  border-radius: 8px;
  background: rgba(7, 16, 24, 0.94);
  color: #e5f7ef;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.nld-native-my-rank-banner span {
  font-weight: 800;
}

.nld-native-liga-detail-actions,
.nld-native-overview-stat-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}

.nld-native-overview-stat-filters > span {
  color: var(--muted, #aab6c6);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nld-native-overview-block {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.nld-native-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.nld-native-overview-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--nld-league-accent, var(--cyan, #23d5ff));
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.13), rgba(8, 10, 14, 0.24) 48%);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.nld-native-overview-card:focus {
  outline: 2px solid rgba(35, 213, 255, 0.55);
  outline-offset: 3px;
}

.nld-native-overview-card.is-active {
  border-color: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.56);
  background: linear-gradient(135deg, rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.2), rgba(8, 10, 14, 0.28) 50%);
}

.nld-native-overview-card.is-own {
  box-shadow: inset 0 0 0 1px rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.26);
}

.nld-native-overview-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.nld-native-overview-card h4 {
  margin: 0;
  color: var(--text, #f4f7fb);
  font-size: 1.02rem;
  line-height: 1.2;
}

.nld-native-overview-card-title-link {
  color: var(--nld-league-ink, inherit) !important;
  text-decoration: none !important;
}

.nld-native-overview-card-title-link:hover,
.nld-native-overview-card-title-link:focus {
  color: var(--nld-league-accent, var(--cyan, #23d5ff)) !important;
}

.nld-native-overview-card p {
  margin: 0;
  color: var(--muted, #aab6c6);
  font-size: 0.9rem;
  line-height: 1.35;
}

.nld-native-overview-card-stats,
.nld-native-overview-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.nld-native-overview-card-stats span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.22);
  border-radius: 999px;
  color: var(--muted, #aab6c6);
  font-size: 0.78rem;
  font-weight: 900;
}

.nld-native-overview-card-stats .nld-native-overview-free {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
}

.nld-native-overview-toplist {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nld-native-overview-toplist li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nld-native-overview-toplist span,
.nld-native-overview-toplist em {
  color: var(--muted, #aab6c6);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
}

.nld-native-overview-toplist strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text, #f4f7fb);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nld-native-overview-rankings th:nth-child(1),
.nld-native-overview-rankings td:nth-child(1),
.nld-native-overview-rankings th:nth-child(3),
.nld-native-overview-rankings td:nth-child(3),
.nld-native-overview-rankings th:nth-child(5),
.nld-native-overview-rankings td:nth-child(5),
.nld-native-overview-rankings th:nth-child(6),
.nld-native-overview-rankings td:nth-child(6),
.nld-native-overview-rankings th:nth-child(7),
.nld-native-overview-rankings td:nth-child(7),
.nld-native-overview-rankings th:nth-child(8),
.nld-native-overview-rankings td:nth-child(8),
.nld-native-overview-rankings th:nth-child(9),
.nld-native-overview-rankings td:nth-child(9),
.nld-native-overview-rankings th:nth-child(10),
.nld-native-overview-rankings td:nth-child(10),
.nld-native-overview-rankings th:nth-child(11),
.nld-native-overview-rankings td:nth-child(11),
.nld-native-overview-rankings th:nth-child(12),
.nld-native-overview-rankings td:nth-child(12),
.nld-native-overview-rankings th:nth-child(13),
.nld-native-overview-rankings td:nth-child(13),
.nld-native-overview-rankings th:nth-child(14),
.nld-native-overview-rankings td:nth-child(14),
.nld-native-overview-rankings th:nth-child(15),
.nld-native-overview-rankings td:nth-child(15),
.nld-native-overview-rankings th:nth-child(16),
.nld-native-overview-rankings td:nth-child(16),
.nld-native-overview-rankings th:nth-child(17),
.nld-native-overview-rankings td:nth-child(17) {
  text-align: right;
}

.nld-native-liga-standings th:not(:nth-child(2)),
.nld-native-liga-standings td:not(:nth-child(2)) {
  text-align: right;
}

.nld-native-overview-note {
  margin: 0;
  color: var(--muted, #aab6c6);
  font-size: 0.9rem;
}

.nld-native-upcoming-row--conflict td {
  background: rgba(248, 113, 113, 0.08);
}

.nld-native-upcoming .nld-native-overview-warning {
  display: inline-block;
  margin-left: 8px;
}

.nld-native-overview-warning {
  color: #fecaca;
  font-size: 0.88rem;
}

/* Compact native league layout. */
.nld-player-panel.nld-native-liga-section {
  padding: clamp(14px, 2vw, 22px);
}

.nld-native-liga-nav {
  gap: 6px;
  margin-bottom: 12px;
  padding: 6px;
  background: rgba(18, 23, 32, 0.58);
}

.nld-native-liga-link,
.nld-native-liga-filter {
  min-height: 32px;
  padding: 0 10px;
  border-color: rgba(35, 213, 255, 0.2);
  font-size: 0.82rem;
  font-weight: 850;
}

.nld-liga-open-button,
.nld-liga-mini-button,
.nld-liga-message-form button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 0.84rem;
  font-weight: 850;
}

.nld-liga-open-button {
  min-width: 0;
}

.nld-native-liga-title {
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px 14px;
  background: rgba(18, 23, 32, 0.68);
}

.nld-native-liga-title span:first-child {
  margin-bottom: 4px;
  font-size: 0.72rem;
}

.nld-native-liga-section h3 {
  font-size: 1.05rem;
}

.nld-native-liga-summary,
.nld-liga-stat-grid {
  gap: 8px;
  margin-bottom: 12px;
}

.nld-liga-stat {
  min-height: 58px;
  gap: 3px;
  padding: 9px 10px;
  background: rgba(8, 10, 14, 0.18);
}

.nld-liga-stat span {
  font-size: 0.68rem;
}

.nld-liga-stat strong {
  font-size: 1rem;
}

.nld-native-liga-section {
  margin-top: 12px;
}

.nld-native-liga-section-head {
  gap: 8px;
  margin-bottom: 10px;
}

.nld-native-liga-filters,
.nld-native-liga-detail-actions,
.nld-native-overview-actions,
.nld-native-overview-stat-filters {
  gap: 6px;
  margin-bottom: 10px;
}

.nld-native-overview-intro {
  gap: 6px;
  margin-bottom: 10px;
  padding: 6px;
  background: transparent;
}

.nld-native-overview-intro div,
.nld-native-overview-intro a {
  padding: 7px 9px;
  background: rgba(18, 23, 32, 0.5);
}

.nld-native-overview-intro strong {
  font-size: 0.98rem;
}

.nld-native-overview-intro span {
  font-size: 0.68rem;
}

.nld-native-overview-block {
  gap: 10px;
  margin-top: 14px;
}

.nld-native-overview-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.nld-native-overview-card {
  gap: 8px;
  padding: 11px;
}

.nld-native-overview-card h4 {
  font-size: 0.96rem;
}

.nld-native-overview-card-stats,
.nld-native-overview-card-actions {
  gap: 5px;
}

.nld-native-overview-card-stats span {
  min-height: 23px;
  padding: 2px 7px;
  font-size: 0.72rem;
}

.nld-native-overview-toplist li {
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 6px;
  padding: 5px 0;
}

.nld-liga-table th,
.nld-liga-table td {
  padding: 8px 9px;
}

@media (max-width: 720px) {
  .nld-native-overview-intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nld-native-my-rank-banner {
    top: 58px;
    align-items: stretch;
    flex-direction: column;
  }

  .nld-liga-stat,
  .nld-native-overview-card {
    padding: 10px;
  }
}

.nld-calendar-month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 10px;
}

.nld-calendar-month-head h3 {
  margin: 0;
  color: var(--text, #f4f7fb);
  font-size: 1.3rem;
}

.nld-calendar-month-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nld-calendar-month {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.nld-calendar-weekday {
  color: var(--muted, #aab6c6);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.nld-calendar-day {
  position: relative;
  min-height: 104px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(18, 23, 32, 0.72);
  overflow: hidden;
}

.nld-calendar-day.is-empty {
  opacity: 0.35;
  background: rgba(8, 10, 14, 0.18);
}

.nld-calendar-day.has-events {
  border-color: rgba(35, 213, 255, 0.42);
  background: rgba(35, 213, 255, 0.08);
}

.nld-calendar-day.has-absences {
  border-color: rgba(251, 146, 60, 0.42);
  background: rgba(251, 146, 60, 0.08);
}

.nld-calendar-day.has-events.has-absences {
  background: linear-gradient(135deg, rgba(35, 213, 255, 0.1) 0%, rgba(35, 213, 255, 0.1) 49%, rgba(251, 146, 60, 0.1) 50%, rgba(251, 146, 60, 0.1) 100%);
}

.nld-calendar-day.nld-league-tone.has-league-tone {
  border-color: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.72);
  background: linear-gradient(135deg, rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.24), rgba(18, 23, 32, 0.76) 58%);
  box-shadow: inset 5px 0 0 var(--nld-league-accent, var(--cyan, #23d5ff)), 0 0 18px rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.1);
}

.nld-calendar-day.has-multiple-leagues {
  box-shadow:
    inset 5px 0 0 var(--nld-league-accent, var(--cyan, #23d5ff)),
    inset -1px 0 0 rgba(255, 255, 255, 0.08),
    0 0 18px rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.12);
}

.nld-calendar-league-strips {
  position: absolute;
  top: 9px;
  right: 9px;
  display: flex;
  max-width: 54%;
  gap: 3px;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.nld-calendar-today-label + .nld-calendar-league-strips {
  top: 34px;
}

.nld-calendar-league-strip {
  display: block;
  width: 19px;
  height: 5px;
  border-radius: 999px;
  background: var(--nld-league-accent, var(--cyan, #23d5ff));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 0 12px rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.38);
}

.nld-calendar-day.nld-league-tone.has-events.has-absences {
  background: linear-gradient(135deg, rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.24) 0%, rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.24) 49%, rgba(251, 146, 60, 0.16) 50%, rgba(251, 146, 60, 0.16) 100%);
}

.nld-calendar-day.has-conflict {
  border-color: rgba(248, 113, 113, 0.7);
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.14);
}

.nld-calendar-day.is-today {
  border-color: rgba(35, 213, 255, 0.95);
  background: rgba(35, 213, 255, 0.15);
  box-shadow: inset 0 0 0 2px rgba(35, 213, 255, 0.34), 0 0 20px rgba(35, 213, 255, 0.14);
}

.nld-calendar-day.nld-league-tone.is-today {
  border-color: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.92);
  background: linear-gradient(135deg, rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.3), rgba(18, 23, 32, 0.78) 58%);
  box-shadow: inset 0 0 0 2px rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.44), 0 0 24px rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.22);
}

.nld-calendar-day-no {
  display: block;
  margin-bottom: 5px;
  color: var(--text, #f4f7fb);
  font-weight: 950;
}

.nld-calendar-today-label {
  position: absolute;
  top: 7px;
  right: 7px;
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--cyan, #23d5ff);
  color: #071018;
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nld-calendar-count {
  display: inline-flex;
  width: fit-content;
  min-height: 23px;
  align-items: center;
  margin: 0 5px 5px 0;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(35, 213, 255, 0.18);
  color: var(--cyan, #23d5ff);
  font-size: 0.72rem;
  font-weight: 900;
}

.nld-calendar-count--absence {
  background: rgba(251, 146, 60, 0.16);
  color: #fed7aa;
}

.nld-calendar-day.nld-league-tone .nld-calendar-count:not(.nld-calendar-count--absence) {
  background: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.3);
  color: var(--nld-league-ink, var(--cyan, #23d5ff));
}

.nld-calendar-day small {
  display: block;
  margin-top: 4px;
  color: var(--muted, #aab6c6);
  font-size: 0.78rem;
  line-height: 1.22;
}

.nld-calendar-day .nld-calendar-absence-line {
  color: #fed7aa;
}

.nld-calendar-day small.nld-calendar-event-line.nld-league-tone {
  color: var(--nld-league-ink, var(--cyan, #23d5ff));
  font-weight: 850;
}

.nld-calendar-day small.nld-calendar-absence-line.nld-league-tone {
  color: var(--nld-league-ink, #fed7aa);
  opacity: 0.95;
}

.nld-calendar-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.nld-calendar-section-note {
  margin: 0 0 10px;
  color: var(--muted, #aab6c6);
  font-size: 0.92rem;
  line-height: 1.45;
}

.nld-calendar-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 5px solid var(--cyan, #23d5ff);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.24);
}

.nld-calendar-card--absence {
  border-left-color: #fb923c;
  background: rgba(251, 146, 60, 0.08);
}

.nld-calendar-card--proposed {
  border-left-color: #fde68a;
  background: rgba(245, 158, 11, 0.08);
}

.nld-calendar-card.is-own {
  border-color: rgba(35, 213, 255, 0.34);
  background: rgba(35, 213, 255, 0.08);
}

.nld-calendar-card.needs-response {
  border-color: rgba(253, 230, 138, 0.7);
  border-left-color: #facc15;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.16), rgba(8, 10, 14, 0.3));
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.12), 0 14px 34px rgba(0, 0, 0, 0.22);
}

.nld-calendar-card.nld-league-tone {
  border-color: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.52);
  border-left-color: var(--nld-league-accent, var(--cyan, #23d5ff));
  background: linear-gradient(135deg, rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.22), rgba(8, 10, 14, 0.28) 54%);
  box-shadow: 0 14px 34px rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.08);
}

.nld-calendar-card.nld-league-tone.needs-response {
  border-color: rgba(253, 230, 138, 0.7);
  border-left-color: var(--nld-league-accent, #facc15);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.13), rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.16) 42%, rgba(8, 10, 14, 0.3));
}

.nld-calendar-priority-badge {
  background: rgba(250, 204, 21, 0.2);
  color: #fef3c7;
}

.nld-calendar-card.has-conflict {
  border-color: rgba(248, 113, 113, 0.52);
}

.nld-calendar-card time {
  color: var(--cyan, #23d5ff);
  font-size: 0.86rem;
  font-weight: 950;
}

.nld-calendar-card--absence time {
  color: #fed7aa;
}

.nld-calendar-card.nld-league-tone time,
.nld-calendar-card.nld-league-tone strong {
  color: var(--nld-league-ink, var(--cyan, #23d5ff));
}

.nld-calendar-pairing.nld-league-tone {
  color: var(--nld-league-ink, var(--cyan, #23d5ff)) !important;
  text-shadow: 0 0 18px rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.18);
}

.nld-calendar-card .nld-calendar-league-badge {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.64);
  border-radius: 999px;
  background: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.24);
  color: var(--nld-league-ink, var(--cyan, #23d5ff)) !important;
  font-size: 0.75rem;
  font-weight: 950;
}

.nld-calendar-card strong {
  color: var(--text, #f4f7fb);
  line-height: 1.24;
}

.nld-calendar-card span {
  color: var(--muted, #aab6c6);
  font-size: 0.9rem;
  line-height: 1.35;
}

.nld-calendar-card-meta,
.nld-calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.nld-calendar-actions {
  margin-top: 4px;
}

.nld-calendar-bottom-nav {
  margin-top: 14px;
}

.nld-calendar-bottom-nav .nld-native-liga-nav {
  margin-bottom: 0;
}

.nld-player-profile + .nld-lpb {
  display: none !important;
}

@media (max-width: 980px) {
  .nld-players-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nld-liga-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nld-player-profile,
  .nld-players,
  .nld-native-liga,
  .nld-player-liga {
    width: min(100%, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
  }

  .nld-player-profile {
    padding: 10px;
  }

  .nld-players {
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }

  .nld-calendar-search {
    grid-template-columns: 1fr;
  }

  .nld-calendar-search button,
  .nld-calendar-search .nld-native-liga-filter {
    width: 100%;
    justify-content: center;
  }

  .nld-player-head {
    margin-bottom: 18px;
  }

  .nld-player-head h2 {
    font-size: clamp(2rem, 12vw, 2.75rem);
    line-height: 1.02;
  }

  .nld-player-head p:last-child {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .nld-player-tools {
    grid-template-columns: 1fr;
  }

  .nld-native-liga-title,
  .nld-native-liga-section-head,
  .nld-calendar-month-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .nld-liga-cockpit-head,
  .nld-liga-cockpit-hero {
    grid-template-columns: 1fr;
  }

  .nld-liga-cockpit-head {
    display: grid;
  }

  .nld-liga-cockpit-head > strong {
    max-width: none;
    text-align: left;
  }

  .nld-liga-cockpit-identity {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nld-liga-cockpit-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .nld-liga-cockpit-response-head,
  .nld-liga-quick-response-option,
  .nld-liga-quick-response-option > div {
    align-items: stretch;
    flex-direction: column;
  }

  .nld-liga-quick-response-option > div,
  .nld-liga-response-alert .nld-liga-quick-response-option > div,
  .nld-liga-row-actions .nld-liga-quick-response-option > div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nld-liga-cockpit-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nld-liga-cockpit-grid {
    grid-template-columns: 1fr;
  }

  .nld-liga-profile-detail summary {
    min-height: 48px;
    padding: 0 12px;
  }

  .nld-liga-profile-detail-body {
    padding: 0 12px 12px;
  }

  .nld-liga-response-alert li {
    grid-template-columns: 1fr;
  }

  .nld-liga-response-alert small,
  .nld-liga-open-button--compact {
    grid-column: auto;
    grid-row: auto;
  }

  .nld-liga-open-button--compact {
    width: 100%;
  }

  .nld-native-liga-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .nld-native-liga-nav > * {
    flex: 0 0 auto;
  }

  .nld-native-liga-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nld-native-liga-detail-actions,
  .nld-native-overview-actions,
  .nld-native-overview-stat-filters,
  .nld-native-liga-filters {
    flex-wrap: nowrap;
    gap: 7px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .nld-native-liga-detail-actions > *,
  .nld-native-overview-actions > *,
  .nld-native-overview-stat-filters > *,
  .nld-native-liga-filters > * {
    flex: 0 0 auto;
  }

  .nld-native-overview-intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nld-calendar-month {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nld-calendar-weekday {
    display: none;
  }

  .nld-player-panel,
  .nld-player-empty,
  .nld-player-form,
  .nld-player-notice {
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  }

  .nld-player-panel,
  .nld-player-empty {
    padding: 15px;
  }

  .nld-player-notice {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .nld-player-form {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 15px;
  }

  .nld-player-liga-form,
  .nld-liga-facts div,
  .nld-liga-selected-card,
  .nld-liga-selected-card dl div,
  .nld-liga-debug dl div {
    grid-template-columns: 1fr;
  }

  .nld-player-form-preview {
    grid-row: auto;
    width: min(190px, 58vw);
    max-width: 190px;
  }

  .nld-liga-table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }

  .nld-liga-schedule-table,
  .nld-liga-schedule-table tbody,
  .nld-liga-schedule-table tr,
  .nld-liga-schedule-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .nld-liga-schedule-table thead {
    display: none;
  }

  .nld-liga-schedule-table tr {
    margin: 0 0 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(8, 10, 14, 0.25);
  }

  .nld-liga-schedule-table td {
    display: grid;
    grid-template-columns: minmax(74px, 0.35fr) minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
    border: 0;
  }

  .nld-liga-schedule-table td::before {
    color: var(--muted, #aab6c6);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .nld-liga-schedule-table td:nth-child(1)::before {
    content: "Spieltag";
  }

  .nld-liga-schedule-table td:nth-child(2)::before {
    content: "Partie";
  }

  .nld-liga-schedule-table td:nth-child(3)::before {
    content: "Termin";
  }

  .nld-liga-schedule-table td:nth-child(4)::before {
    content: "Aktion";
  }

  .nld-native-liga-standings,
  .nld-native-liga-standings tbody,
  .nld-native-liga-standings tr,
  .nld-native-liga-standings td,
  .nld-native-overview-rankings,
  .nld-native-overview-rankings tbody,
  .nld-native-overview-rankings tr,
  .nld-native-overview-rankings td,
  .nld-native-upcoming-table,
  .nld-native-upcoming-table tbody,
  .nld-native-upcoming-table tr,
  .nld-native-upcoming-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .nld-native-liga-standings thead,
  .nld-native-overview-rankings thead,
  .nld-native-upcoming-table thead {
    display: none;
  }

  .nld-native-liga-standings tr,
  .nld-native-overview-rankings tr,
  .nld-native-upcoming-table tr {
    margin: 0 0 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(8, 10, 14, 0.25);
  }

  .nld-native-liga-standings td,
  .nld-native-overview-rankings td,
  .nld-native-upcoming-table td {
    display: grid;
    grid-template-columns: minmax(76px, 0.34fr) minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
    border: 0;
    text-align: left !important;
  }

  .nld-native-liga-standings td::before,
  .nld-native-overview-rankings td::before,
  .nld-native-upcoming-table td::before {
    color: var(--muted, #aab6c6);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .nld-native-liga-standings td:nth-child(1)::before {
    content: "Platz";
  }

  .nld-native-liga-standings td:nth-child(2)::before {
    content: "Spieler";
  }

  .nld-native-liga-standings td:nth-child(3)::before {
    content: "Sp";
  }

  .nld-native-liga-standings td:nth-child(4)::before {
    content: "S/N";
  }

  .nld-native-liga-standings td:nth-child(5)::before {
    content: "Pkt";
  }

  .nld-native-liga-standings td:nth-child(6)::before {
    content: "Diff";
  }

  .nld-native-liga-standings td:nth-child(7)::before {
    content: "Legs";
  }

  .nld-native-liga-standings td:nth-child(8)::before {
    content: "Avg";
  }

  .nld-native-liga-standings td:nth-child(9)::before {
    content: "F9";
  }

  .nld-native-liga-standings td:nth-child(10)::before {
    content: "CO";
  }

  .nld-native-liga-standings td:nth-child(11)::before {
    content: "CO T/V";
  }

  .nld-native-liga-standings td:nth-child(12)::before {
    content: "180";
  }

  .nld-native-liga-standings td:nth-child(13)::before {
    content: "140+";
  }

  .nld-native-liga-standings td:nth-child(14)::before {
    content: "100+";
  }

  .nld-native-liga-standings td:nth-child(15)::before {
    content: "60+";
  }

  .nld-native-liga-standings td:nth-child(16)::before {
    content: "HF";
  }

  .nld-native-overview-rankings td:nth-child(1)::before {
    content: "#";
  }

  .nld-native-overview-rankings td:nth-child(2)::before {
    content: "Liga";
  }

  .nld-native-overview-rankings td:nth-child(3)::before {
    content: "Platz";
  }

  .nld-native-overview-rankings td:nth-child(4)::before {
    content: "Spieler";
  }

  .nld-native-overview-rankings td:nth-child(5)::before {
    content: "Sp";
  }

  .nld-native-overview-rankings td:nth-child(6)::before {
    content: "S/N";
  }

  .nld-native-overview-rankings td:nth-child(7)::before {
    content: "Pkt";
  }

  .nld-native-overview-rankings td:nth-child(8)::before {
    content: "Diff";
  }

  .nld-native-overview-rankings td:nth-child(9)::before {
    content: "Avg";
  }

  .nld-native-overview-rankings td:nth-child(10)::before {
    content: "F9";
  }

  .nld-native-overview-rankings td:nth-child(11)::before {
    content: "CO";
  }

  .nld-native-overview-rankings td:nth-child(12)::before {
    content: "CO T/V";
  }

  .nld-native-overview-rankings td:nth-child(13)::before {
    content: "180";
  }

  .nld-native-overview-rankings td:nth-child(14)::before {
    content: "140+";
  }

  .nld-native-overview-rankings td:nth-child(15)::before {
    content: "100+";
  }

  .nld-native-overview-rankings td:nth-child(16)::before {
    content: "60+";
  }

  .nld-native-overview-rankings td:nth-child(17)::before {
    content: "HF";
  }

  .nld-native-upcoming-table td:nth-child(1)::before {
    content: "Termin";
  }

  .nld-native-due-open-table td:nth-child(1)::before {
    content: "Faellig";
  }

  .nld-native-upcoming-table td:nth-child(2)::before {
    content: "Liga";
  }

  .nld-native-upcoming-table td:nth-child(3)::before {
    content: "Spiel";
  }

  .nld-native-upcoming-table td:nth-child(4)::before {
    content: "Status";
  }

  .nld-native-upcoming-table td:nth-child(5)::before {
    content: "Aktion";
  }

  .nld-native-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .nld-native-table-scroll .nld-native-liga-standings {
    display: table;
    min-width: 1120px;
    overflow: visible;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .nld-native-table-scroll .nld-native-liga-standings thead {
    display: table-header-group;
  }

  .nld-native-table-scroll .nld-native-liga-standings tbody {
    display: table-row-group;
  }

  .nld-native-table-scroll .nld-native-liga-standings tr {
    display: table-row;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nld-native-table-scroll .nld-native-liga-standings th,
  .nld-native-table-scroll .nld-native-liga-standings td {
    display: table-cell;
    width: auto;
    padding: 8px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: right !important;
    vertical-align: middle;
  }

  .nld-native-table-scroll .nld-native-liga-standings th:nth-child(2),
  .nld-native-table-scroll .nld-native-liga-standings td:nth-child(2) {
    min-width: 150px;
    text-align: left !important;
    white-space: normal;
  }

  .nld-native-table-scroll .nld-native-liga-standings td::before {
    display: none;
    content: none;
  }

  .nld-native-table-scroll .nld-native-liga-standings .nld-native-liga-apply {
    width: fit-content;
    margin: 5px 0 0;
  }

  .nld-native-table-scroll--rankings .nld-native-overview-rankings {
    display: table;
    min-width: 1240px;
    overflow: visible;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .nld-native-table-scroll--rankings .nld-native-overview-rankings thead {
    display: table-header-group;
  }

  .nld-native-table-scroll--rankings .nld-native-overview-rankings tbody {
    display: table-row-group;
  }

  .nld-native-table-scroll--rankings .nld-native-overview-rankings tr {
    display: table-row;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nld-native-table-scroll--rankings .nld-native-overview-rankings th,
  .nld-native-table-scroll--rankings .nld-native-overview-rankings td {
    display: table-cell;
    width: auto;
    padding: 8px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: right !important;
    vertical-align: middle;
  }

  .nld-native-table-scroll--rankings .nld-native-overview-rankings th:nth-child(2),
  .nld-native-table-scroll--rankings .nld-native-overview-rankings td:nth-child(2),
  .nld-native-table-scroll--rankings .nld-native-overview-rankings th:nth-child(4),
  .nld-native-table-scroll--rankings .nld-native-overview-rankings td:nth-child(4) {
    min-width: 130px;
    text-align: left !important;
    white-space: normal;
  }

  .nld-native-table-scroll--rankings .nld-native-overview-rankings td::before {
    display: none;
    content: none;
  }

  .nld-native-liga-standings .nld-native-liga-apply {
    width: fit-content;
    margin: 8px 0 0;
  }

  .nld-liga-selected-card {
    grid-template-columns: 1fr;
    padding: 13px;
    margin: 10px 0 14px;
  }

  .nld-liga-selected-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .nld-liga-selected-card-action {
    justify-items: stretch;
  }

  .nld-liga-absence-item,
  .nld-liga-absence-form {
    grid-template-columns: 1fr;
  }

  .nld-liga-absence-note {
    grid-column: auto;
  }

  .nld-liga-absence-delete button,
  .nld-liga-absence-form button[type="submit"] {
    width: 100%;
  }

  .nld-liga-proposal {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .nld-liga-proposal-actions,
  .nld-liga-inline-form,
  .nld-liga-calendar-actions {
    width: 100%;
  }

  .nld-liga-proposal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .nld-liga-inline-form {
    display: block;
  }

  .nld-liga-mini-button,
  .nld-liga-open-button,
  .nld-liga-message-form button,
  .nld-liga-calendar-actions a {
    width: 100%;
  }

  .nld-liga-schedule-form,
  .nld-liga-message-form {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .nld-liga-schedule-form input[type="datetime-local"],
  .nld-liga-schedule-form textarea,
  .nld-liga-message-form textarea {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .nld-liga-schedule-form button {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .nld-players-grid {
    grid-template-columns: 1fr;
  }

  .nld-player-card {
    max-width: none;
  }

  .nld-player-card-photo {
    aspect-ratio: 1 / 1;
  }

  .nld-calendar-month,
  .nld-calendar-card-grid {
    grid-template-columns: 1fr;
  }

  .nld-division-title img {
    width: 58px;
  }

  .nld-discord-button {
    width: 100%;
  }

  .nld-discord-menu-actions {
    width: 100%;
    gap: 6px;
  }

  .nld-discord-menu-actions .nld-discord-button {
    width: auto;
    flex: 1 1 auto;
  }

  .nld-liga-stat-grid {
    grid-template-columns: 1fr;
  }

  .nld-native-liga-summary {
    grid-template-columns: 1fr;
  }
}

.nld-player-notification-settings {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.54);
}

.nld-player-notification-settings__head {
  display: grid;
  gap: 4px;
}

.nld-player-notification-settings__head > span {
  color: #f8fafc;
  font-weight: 950;
}

.nld-player-notification-settings__head small,
.nld-player-notification-email small {
  color: #9fb1c7;
}

.nld-player-notification-email {
  display: grid;
  gap: 6px;
}

.nld-player-notification-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 12px;
}

.nld-player-notification-grid fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
}

.nld-player-notification-grid legend {
  padding: 0 6px;
  color: #67e8f9;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.nld-player-notification-grid label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #dbeafe;
  line-height: 1.35;
}

.nld-player-notification-grid input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #22d3ee;
}

@media (max-width: 920px) {
  .nld-player-notification-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nld-native-table-scroll--rankings {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nld-native-table-scroll--rankings .nld-native-overview-rankings {
    display: table;
    width: max-content;
    min-width: 1040px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .nld-native-table-scroll--rankings .nld-native-overview-rankings thead {
    display: table-header-group;
  }

  .nld-native-table-scroll--rankings .nld-native-overview-rankings tr {
    display: table-row;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .nld-native-table-scroll--rankings .nld-native-overview-rankings tbody {
    display: table-row-group;
  }

  .nld-native-table-scroll--rankings .nld-native-overview-rankings th,
  .nld-native-table-scroll--rankings .nld-native-overview-rankings td {
    display: table-cell;
    width: auto;
    min-width: 0;
    padding: 7px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: right !important;
    vertical-align: middle;
  }

  .nld-native-table-scroll--rankings .nld-native-overview-rankings th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: rgba(8, 13, 20, 0.96);
    backdrop-filter: blur(8px);
  }

  .nld-native-table-scroll--rankings .nld-native-overview-rankings td::before {
    display: none;
    content: none;
  }

  .nld-native-table-scroll--rankings .nld-native-overview-rankings th:nth-child(2),
  .nld-native-table-scroll--rankings .nld-native-overview-rankings td:nth-child(2) {
    min-width: 92px;
    text-align: left !important;
    white-space: nowrap;
  }

  .nld-native-table-scroll--rankings .nld-native-overview-rankings th:nth-child(4),
  .nld-native-table-scroll--rankings .nld-native-overview-rankings td:nth-child(4) {
    min-width: 140px;
    text-align: left !important;
    white-space: normal;
  }
}
