.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--info {
  background: #38bdf8;
  color: #06131f;
}

.nld-profile-nav-alert.nld-atlas-chat-alert {
  border-color: rgba(45, 212, 191, 0.74);
  background: #2dd4bf;
  color: #03131a;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2), 0 10px 22px rgba(0, 0, 0, 0.28);
}

.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,
.nld-match-hub {
  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-match-hub {
  width: min(1280px, calc(100vw - 32px));
  max-width: none;
  margin: 0 50% 30px;
  padding: clamp(14px, 2vw, 22px);
  transform: translateX(-50%);
  border: 1px solid rgba(35, 213, 255, 0.3);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(35, 213, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(7, 17, 29, 0.98), rgba(10, 15, 24, 0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.nld-match-hub__header {
  max-width: 860px;
  margin: 0 0 18px;
}

.nld-match-hub__eyebrow {
  display: block;
  margin: 0 0 7px;
  color: var(--cyan, #23d5ff);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nld-match-hub__header h1 {
  margin: 0;
  color: var(--text, #f4f7fb);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.04;
}

.nld-match-hub__header p {
  margin: 10px 0 0;
  color: var(--muted, #aab6c6);
  font-size: 1rem;
  line-height: 1.5;
}

.nld-match-hub__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 16px;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 11px;
  background: rgba(2, 8, 16, 0.58);
}

.nld-match-hub__tabs button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--muted, #aab6c6);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.nld-match-hub__tabs button[aria-selected="true"] {
  border-color: rgba(35, 213, 255, 0.58);
  background: rgba(35, 213, 255, 0.12);
  color: var(--text, #f4f7fb);
  box-shadow: inset 0 0 0 1px rgba(35, 213, 255, 0.09);
}

.nld-match-hub__tabs button:focus-visible {
  outline: 3px solid rgba(35, 213, 255, 0.34);
  outline-offset: 2px;
}

.nld-match-hub__panel[hidden] {
  display: none !important;
}

.nld-match-hub__panel--report .nld-mm {
  width: 100%;
  max-width: none;
}

.nld-match-hub__panel--report .nld-mm-head {
  display: none;
}

.nld-match-hub__panel--extension .nld-player-pairing {
  margin: 0;
}

.nld-ocherelay-beta-notice {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(250, 204, 21, 0.38);
  border-radius: 9px;
  background: rgba(250, 204, 21, 0.09);
  color: #fde68a;
}

.nld-ocherelay-beta-notice span {
  color: #e8d9a6;
  font-size: 0.88rem;
  line-height: 1.45;
}

.nld-ocherelay-login-notice {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.nld-ocherelay-login-notice .nld-discord-button {
  margin-top: 3px;
}

.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 {
  --max: min(1600px, calc(100vw - 32px));
  width: min(1600px, calc(100vw - 32px));
  max-width: none;
  margin-left: 50%;
  margin-right: 0;
  transform: translateX(-50%);
  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 {
  --max: min(1560px, calc(100vw - 28px));
  width: min(1560px, calc(100vw - 28px));
  max-width: none;
  margin-left: 50%;
  margin-right: 0;
  transform: translateX(-50%);
  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-profile--liga-focus .nld-player-head {
  max-width: 1080px;
  margin-bottom: 24px;
}

.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-atlas-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-color: rgba(46, 211, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(46, 211, 255, 0.18), rgba(18, 23, 32, 0.88));
  color: #dff7ff;
}

.nld-player-atlas-notice div {
  display: grid;
  gap: 4px;
}

.nld-player-atlas-notice strong {
  color: #ffffff;
  font-size: 1rem;
}

.nld-player-atlas-notice span {
  color: #b7d4e8;
}

.nld-player-atlas-notice a {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(46, 211, 255, 0.45);
  border-radius: 8px;
  background: #23d5ff;
  color: #06131f;
  font-weight: 950;
  padding: 0 13px;
  text-decoration: none;
  white-space: nowrap;
}

.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 > .nld-player-card-placeholder {
  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-ocherelay-version {
  display: block;
  margin: 5px 0 12px;
  color: var(--muted, #aab6c6);
  font-size: 0.82rem;
  font-weight: 800;
}

.nld-ocherelay-hero {
  margin: 0 0 20px;
  overflow: hidden;
  border: 1px solid rgba(244, 197, 66, 0.4);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(35, 213, 255, 0.15), transparent 38%),
    linear-gradient(145deg, rgba(11, 25, 40, 0.98), rgba(3, 9, 17, 0.99));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.nld-ocherelay-hero-banner {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(35, 213, 255, 0.34);
  background: #07111d;
}

.nld-ocherelay-hero-lockup {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  padding: 15px 17px 17px;
}

.nld-ocherelay-hero-logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 13px rgba(35, 213, 255, 0.2));
}

.nld-ocherelay-hero-kicker {
  display: block;
  margin-bottom: 4px;
  color: #65e4ff;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nld-ocherelay-hero h3 {
  margin: 0;
  color: #fff4cf;
  font-size: clamp(1.1rem, 2.3vw, 1.5rem);
  line-height: 1.15;
}

.nld-ocherelay-hero p {
  margin: 7px 0 0;
  color: var(--muted, #aab6c6);
  font-size: 0.84rem;
  line-height: 1.48;
}

.nld-ocherelay-downloads {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.nld-ocherelay-download {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 10px 11px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.5);
  color: #f8fafc;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nld-ocherelay-download:hover,
.nld-ocherelay-download:focus-visible,
.nld-ocherelay-download.is-recommended {
  border-color: rgba(45, 212, 191, 0.65);
  background: rgba(45, 212, 191, 0.1);
}

.nld-ocherelay-download:hover,
.nld-ocherelay-download:focus-visible {
  transform: translateY(-2px);
}

.nld-ocherelay-browser-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2dd4bf, #23d5ff);
  color: #03131a;
  font-weight: 950;
}

.nld-ocherelay-download b,
.nld-ocherelay-download small {
  display: block;
}

.nld-ocherelay-download b {
  color: #f8fafc;
  font-size: 0.88rem;
  line-height: 1.15;
}

.nld-ocherelay-download small {
  margin-top: 3px;
  color: var(--muted, #aab6c6);
  font-size: 0.68rem;
  line-height: 1.25;
}

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

.nld-ocherelay-guides section {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 9px;
  background: rgba(15, 23, 42, 0.28);
}

.nld-ocherelay-guides section.is-recommended {
  border-color: rgba(45, 212, 191, 0.52);
}

.nld-ocherelay-guides h4 {
  margin: 0 0 7px;
  color: #f8fafc;
  font-size: 0.9rem;
}

.nld-ocherelay-guides ol {
  color: var(--muted, #aab6c6);
  font-size: 0.78rem;
  line-height: 1.48;
}

.nld-ocherelay-update-note {
  margin: 11px 0 0;
  padding: 10px 12px;
  border-left: 3px solid #2dd4bf;
  background: rgba(45, 212, 191, 0.08);
  color: var(--muted, #aab6c6);
  font-size: 0.78rem;
  line-height: 1.45;
}

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

@media (max-width: 640px) {
  .nld-match-hub {
    width: min(100%, calc(100vw - 20px));
    padding: 10px;
    border-radius: 10px;
  }

  .nld-match-hub__tabs {
    grid-template-columns: minmax(0, 1fr);
  }

  .nld-match-hub__tabs button {
    width: 100%;
  }

  .nld-ocherelay-hero {
    border-radius: 14px;
  }

  .nld-ocherelay-hero-banner {
    aspect-ratio: 2.45 / 1;
  }

  .nld-ocherelay-hero-lockup {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 11px;
    padding: 12px;
  }

  .nld-ocherelay-hero-logo {
    width: 54px;
    height: 54px;
  }

  .nld-ocherelay-downloads,
  .nld-ocherelay-guides {
    grid-template-columns: minmax(0, 1fr);
  }
}

.nld-players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 12px;
  justify-content: stretch;
  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(22px, 3vw, 32px);
}

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

.nld-division-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
  padding-bottom: 9px;
  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(48px, 5vw, 68px);
  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%;
  scroll-margin-top: 110px;
}

.nld-player-card-top {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 12px 10px;
}

.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 {
  position: relative;
  width: 108px;
  height: 108px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  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: 0 12px 12px;
}

.nld-player-card-identity {
  min-width: 0;
  display: grid;
  align-self: stretch;
  align-content: start;
  gap: 7px;
}

.nld-player-card-actions {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  row-gap: 5px;
}

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

.nld-player-card-name {
  min-width: 0;
  display: block;
}

.nld-player-card-rank {
  box-sizing: border-box;
  flex: 0 0 auto;
  min-width: 27px;
  min-height: 23px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border: 1px solid rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.5);
  border-radius: 999px;
  background: rgba(8, 10, 14, 0.88);
  color: var(--nld-league-ink, var(--cyan, #23d5ff));
  font-size: 0.7rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.36);
}

.nld-player-card h3 {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--text, #f4f7fb);
  font-size: 1rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nld-player-discord-button {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: 0;
  padding: 0 9px;
  border: 1px solid rgba(88, 101, 242, 0.7);
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.22);
  color: #ffffff !important;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.36);
  text-decoration: none !important;
  white-space: nowrap;
}

.nld-player-discord-button svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  display: block;
}

.nld-player-discord-action {
  flex: 0 0 auto;
}

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

.nld-player-discord-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.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: 6px;
  margin: 0;
}

.nld-player-card-chip {
  min-width: 0;
  min-height: 50px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 7px 6px;
  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.64rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

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

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

.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-achievements {
  display: grid;
  gap: 7px;
  margin-top: 2px;
  padding: 8px;
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.08), rgba(8, 10, 14, 0.24));
}

.nld-player-card-achievements-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #f6cc68;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nld-player-card-achievements-head strong {
  min-width: 23px;
  min-height: 23px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.14);
  color: #fde68a;
  font-size: 0.68rem;
}

.nld-player-card-achievement-badges {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.nld-player-card-achievement {
  min-width: 0;
  min-height: 54px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(35, 213, 255, 0.24);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.3);
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.nld-player-card-achievement:hover,
.nld-player-card-achievement:focus-within {
  border-color: rgba(139, 234, 255, 0.52);
  background: rgba(20, 31, 43, 0.92);
}

.nld-player-card-achievement > i,
.nld-player-card-achievement-row > i {
  min-width: 28px;
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(35, 213, 255, 0.13);
  color: #8beaff;
  font-size: 0.63rem;
  font-style: normal;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 5px 12px rgba(0, 0, 0, 0.22);
}

.nld-player-card-achievement > span,
.nld-player-card-achievement-row > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.nld-player-card-achievement strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text, #f4f7fb);
  font-size: 0.68rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nld-player-card-achievement small {
  min-width: 0;
  overflow: hidden;
  color: var(--muted, #aab6c6);
  font-size: 0.58rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nld-player-card-achievement--gold,
.nld-player-card-achievement-row--gold { border-color: rgba(250, 204, 21, 0.34); }
.nld-player-card-achievement--gold > i,
.nld-player-card-achievement-row--gold > i { background: rgba(250, 204, 21, 0.15); color: #fde68a; }
.nld-player-card-achievement--red,
.nld-player-card-achievement-row--red { border-color: rgba(248, 113, 113, 0.34); }
.nld-player-card-achievement--red > i,
.nld-player-card-achievement-row--red > i { background: rgba(248, 113, 113, 0.14); color: #fecdd3; }
.nld-player-card-achievement--orange,
.nld-player-card-achievement-row--orange { border-color: rgba(251, 146, 60, 0.34); }
.nld-player-card-achievement--orange > i,
.nld-player-card-achievement-row--orange > i { background: rgba(251, 146, 60, 0.14); color: #fed7aa; }
.nld-player-card-achievement--purple,
.nld-player-card-achievement-row--purple { border-color: rgba(196, 181, 253, 0.34); }
.nld-player-card-achievement--purple > i,
.nld-player-card-achievement-row--purple > i { background: rgba(196, 181, 253, 0.14); color: #ddd6fe; }
.nld-player-card-achievement--green,
.nld-player-card-achievement-row--green { border-color: rgba(34, 197, 94, 0.32); }
.nld-player-card-achievement--green > i,
.nld-player-card-achievement-row--green > i { background: rgba(34, 197, 94, 0.14); color: #bbf7d0; }
.nld-player-card-achievement--blue,
.nld-player-card-achievement-row--blue { border-color: rgba(56, 189, 248, 0.32); }
.nld-player-card-achievement--blue > i,
.nld-player-card-achievement-row--blue > i { background: rgba(56, 189, 248, 0.14); color: #bae6fd; }

.nld-player-card-achievement-detail h4 {
  margin: 0 0 8px;
}

.nld-player-card-achievement-list {
  display: grid;
  gap: 6px;
}

.nld-player-card-achievement-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(35, 213, 255, 0.22);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.22);
}

.nld-player-card-achievement-row strong {
  color: var(--text, #f4f7fb);
  font-size: 0.78rem;
}

.nld-player-card-achievement-row small,
.nld-player-card-achievement-row em {
  color: var(--muted, #aab6c6);
  font-size: 0.65rem;
  font-style: normal;
  line-height: 1.25;
}

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

.nld-player-card-details summary {
  min-height: 44px;
  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-sections--drawer {
  display: block;
}

.nld-liga-profile-sections--drawer > summary {
  min-height: 50px;
}

.nld-liga-profile-sections-body {
  display: grid;
  gap: 10px;
  padding: 0 10px 10px;
}

.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-player-profile--liga-focus .nld-liga-profile-detail-body {
  padding: 0 clamp(12px, 1.1vw, 18px) clamp(12px, 1.1vw, 18px);
}

.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: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 9px;
  margin: 0 0 12px;
  padding: 8px 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 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted, #aab6c6);
  font-size: 0.78rem;
}

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

.nld-liga-task-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 9px;
  margin: 0 0 12px;
}

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

.nld-liga-cockpit-nav-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 7px;
  min-width: 0;
  min-height: 72px;
  padding: 9px 10px;
  border: 1px solid rgba(35, 213, 255, 0.24);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(35, 213, 255, 0.11), rgba(8, 10, 14, 0.3));
  box-shadow: inset 3px 0 0 rgba(35, 213, 255, 0.72);
  color: var(--text, #f4f7fb);
  text-decoration: none !important;
}

.nld-liga-cockpit-nav-item:hover,
.nld-liga-cockpit-nav-item:focus-visible {
  border-color: rgba(35, 213, 255, 0.72);
  transform: translateY(-1px);
}

.nld-liga-cockpit-nav-item span {
  color: var(--text, #f4f7fb);
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1.2;
}

.nld-liga-cockpit-nav-item strong {
  align-self: start;
  min-width: 28px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(35, 213, 255, 0.18);
  color: var(--cyan, #23d5ff);
  font-size: 0.76rem;
  line-height: 1.1;
  text-align: center;
}

.nld-liga-cockpit-nav-item small {
  grid-column: 1 / -1;
  color: var(--muted, #aab6c6);
  font-size: 0.71rem;
  line-height: 1.28;
}

.nld-liga-cockpit-nav-item.is-urgent {
  border-color: rgba(251, 146, 60, 0.52);
  box-shadow: inset 3px 0 0 #fb923c;
}

.nld-liga-cockpit-nav-item.is-urgent strong { background: rgba(251, 146, 60, 0.2); color: #fed7aa; }
.nld-liga-cockpit-nav-item.is-gold { border-color: rgba(250, 204, 21, 0.46); box-shadow: inset 3px 0 0 #facc15; }
.nld-liga-cockpit-nav-item.is-gold strong { background: rgba(250, 204, 21, 0.18); color: #fef08a; }
.nld-liga-cockpit-nav-item.is-cyan { box-shadow: inset 3px 0 0 #23d5ff; }
.nld-liga-cockpit-nav-item.is-action { border-color: rgba(34, 197, 94, 0.4); box-shadow: inset 3px 0 0 #22c55e; }
.nld-liga-cockpit-nav-item.is-action strong { background: rgba(34, 197, 94, 0.16); color: #bbf7d0; }
.nld-liga-cockpit-nav-item.is-quiet { border-color: rgba(255, 255, 255, 0.1); background: rgba(8, 10, 14, 0.22); box-shadow: inset 3px 0 0 rgba(170, 182, 198, 0.35); }

.nld-liga-achievements {
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid rgba(250, 204, 21, 0.34);
  border-radius: 10px;
  background: radial-gradient(circle at 100% 0, rgba(250, 204, 21, 0.12), transparent 34%), rgba(8, 10, 14, 0.32);
}

.nld-liga-achievements-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 11px;
}

.nld-liga-achievements-head span {
  display: block;
  color: #fde68a;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nld-liga-achievements-head h4 { margin: 3px 0 0; color: var(--text, #f4f7fb); }
.nld-liga-achievements-head small { color: var(--muted, #aab6c6); text-align: right; }

.nld-liga-achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 8px;
}

.nld-liga-achievement {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.32);
}

.nld-liga-achievement-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(35, 213, 255, 0.16);
  color: var(--cyan, #23d5ff);
  font-size: 0.76rem;
  font-weight: 950;
}

.nld-liga-achievement div { display: grid; gap: 2px; min-width: 0; }
.nld-liga-achievement strong { color: var(--text, #f4f7fb); font-size: 0.85rem; }
.nld-liga-achievement b { color: var(--cyan, #23d5ff); font-size: 0.76rem; }
.nld-liga-achievement small,
.nld-liga-achievement em { color: var(--muted, #aab6c6); font-size: 0.71rem; font-style: normal; line-height: 1.28; }
.nld-liga-achievement--gold { border-color: rgba(250, 204, 21, 0.38); }
.nld-liga-achievement--gold .nld-liga-achievement-icon { background: rgba(250, 204, 21, 0.18); color: #fde68a; }
.nld-liga-achievement--green { border-color: rgba(34, 197, 94, 0.36); }
.nld-liga-achievement--green .nld-liga-achievement-icon { background: rgba(34, 197, 94, 0.16); color: #bbf7d0; }
.nld-liga-achievement--red { border-color: rgba(248, 113, 113, 0.42); }
.nld-liga-achievement--red .nld-liga-achievement-icon { background: rgba(248, 113, 113, 0.16); color: #fecdd3; }
.nld-liga-achievement--orange { border-color: rgba(251, 146, 60, 0.42); }
.nld-liga-achievement--orange .nld-liga-achievement-icon { background: rgba(251, 146, 60, 0.16); color: #fed7aa; }
.nld-liga-achievement--purple { border-color: rgba(196, 181, 253, 0.42); }
.nld-liga-achievement--purple .nld-liga-achievement-icon { background: rgba(196, 181, 253, 0.15); color: #ddd6fe; }
.nld-liga-achievement--blue .nld-liga-achievement-icon { background: rgba(56, 189, 248, 0.15); color: #bae6fd; }
.nld-liga-achievement.is-locked {
  border-color: rgba(170, 182, 198, 0.22);
  background: rgba(8, 10, 14, 0.2);
  opacity: 0.58;
  filter: grayscale(0.82);
}
.nld-liga-achievement.is-locked .nld-liga-achievement-icon { background: rgba(170, 182, 198, 0.14); color: #c8d1dc; }
.nld-liga-achievement-levels { position: relative; display: inline-flex; width: max-content; max-width: 100%; margin-top: 2px; outline: none; }
.nld-liga-achievement-levels-trigger { color: #d8e7f5; font-size: 0.7rem; font-weight: 800; text-decoration: underline dotted rgba(216, 231, 245, 0.72); text-underline-offset: 3px; cursor: help; }
.nld-liga-achievement-levels-popover { position: absolute; z-index: 30; top: calc(100% + 7px); left: 0; display: grid; gap: 6px; width: min(300px, calc(100vw - 72px)); padding: 10px; border: 1px solid rgba(35, 213, 255, 0.34); border-radius: 8px; background: #111923; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.46); color: var(--text, #f4f7fb); opacity: 0; visibility: hidden; transform: translateY(-3px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.nld-liga-achievement-levels:hover .nld-liga-achievement-levels-popover,
.nld-liga-achievement-levels:focus .nld-liga-achievement-levels-popover,
.nld-liga-achievement-levels:focus-within .nld-liga-achievement-levels-popover { opacity: 1; visibility: visible; transform: translateY(0); }
.nld-liga-achievement-levels-popover strong { color: #fde68a; font-size: 0.76rem; }
.nld-liga-achievement-levels-detail { color: #c8d5e3; font-size: 0.7rem; line-height: 1.35; }
.nld-liga-achievement-levels-popover ol { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nld-liga-achievement-level { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 7px; align-items: center; color: #9ca9b9; font-size: 0.72rem; }
.nld-liga-achievement-level b { color: inherit; font-size: inherit; }
.nld-liga-achievement-level.is-reached { color: #dffbea; }
.nld-liga-achievement-level.is-current { color: #fde68a; font-weight: 850; }
.nld-liga-achievement-level em { color: inherit; font-size: 0.67rem; font-style: normal; }

.nld-liga-cockpit-player-card { margin: 0 0 12px; box-shadow: none; }
.nld-liga-cockpit-player-card .nld-player-card-photo { width: 112px; height: 112px; flex-basis: 112px; }

.nld-liga-task-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  align-content: start;
  min-width: 0;
  min-height: 86px;
  padding: 10px 11px;
  border: 1px solid rgba(35, 213, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(35, 213, 255, 0.1), rgba(8, 10, 14, 0.28));
  color: var(--text, #f4f7fb);
  text-decoration: none !important;
  box-shadow: inset 4px 0 0 rgba(35, 213, 255, 0.7);
}

.nld-liga-task-card span,
.nld-liga-task-card strong,
.nld-liga-task-card small,
.nld-liga-task-card em {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.nld-liga-task-card span {
  color: var(--text, #f4f7fb);
  font-weight: 950;
  white-space: normal;
}

.nld-liga-task-card strong {
  min-width: 34px;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(35, 213, 255, 0.18);
  color: var(--cyan, #23d5ff);
  font-size: 0.9rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.nld-liga-task-card small {
  grid-column: 1 / -1;
  color: var(--muted, #aab6c6);
  font-size: 0.78rem;
  line-height: 1.35;
}

.nld-liga-task-card em {
  grid-column: 1 / -1;
  align-self: end;
  justify-self: start;
  color: var(--cyan, #23d5ff);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 950;
}

.nld-liga-task-card.is-urgent {
  border-color: rgba(251, 146, 60, 0.48);
  box-shadow: inset 4px 0 0 #fb923c;
}

.nld-liga-task-card.is-urgent strong {
  background: rgba(251, 146, 60, 0.2);
  color: #fed7aa;
}

.nld-liga-task-card.is-warning {
  border-color: rgba(250, 204, 21, 0.44);
  box-shadow: inset 4px 0 0 #facc15;
}

.nld-liga-task-card.is-warning strong {
  background: rgba(250, 204, 21, 0.18);
  color: #fef08a;
}

.nld-liga-task-card.is-result-missing {
  border-color: rgba(248, 113, 113, 0.5);
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.14), rgba(8, 10, 14, 0.28));
  box-shadow: inset 4px 0 0 #f87171;
}

.nld-liga-task-card.is-result-missing strong {
  background: rgba(248, 113, 113, 0.2);
  color: #fecdd3;
}

.nld-liga-task-card.is-waiting {
  border-color: rgba(56, 189, 248, 0.36);
  box-shadow: inset 4px 0 0 #38bdf8;
}

.nld-liga-task-card.is-waiting strong {
  background: rgba(56, 189, 248, 0.16);
  color: #bae6fd;
}

.nld-liga-task-card.is-next {
  border-color: rgba(35, 213, 255, 0.38);
  box-shadow: inset 4px 0 0 #23d5ff;
}

.nld-liga-task-card.is-action {
  border-color: rgba(34, 197, 94, 0.34);
  box-shadow: inset 4px 0 0 #22c55e;
}

.nld-liga-task-card.is-conflict {
  border-color: rgba(248, 113, 113, 0.44);
  box-shadow: inset 4px 0 0 #f87171;
}

.nld-liga-task-card.is-quiet {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 14, 0.22);
  box-shadow: inset 4px 0 0 rgba(170, 182, 198, 0.35);
}

.nld-liga-task-card.is-quiet strong {
  background: rgba(170, 182, 198, 0.12);
  color: var(--muted, #aab6c6);
}

.nld-liga-task-card.is-done {
  border-color: rgba(34, 197, 94, 0.38);
  box-shadow: inset 4px 0 0 #22c55e;
}

.nld-liga-task-card.is-done strong {
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
}

.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-proposal-overview {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  max-width: 980px;
}

.nld-liga-proposal-overview-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  align-items: baseline;
}

.nld-liga-proposal-overview-head strong {
  color: var(--text, #f4f7fb);
  font-size: 0.94rem;
  font-weight: 950;
}

.nld-liga-proposal-overview-head span {
  color: var(--muted, #aab6c6);
  font-size: 0.8rem;
  line-height: 1.35;
}

.nld-liga-proposal-overview-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
}

.nld-liga-proposal-chip {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 8px;
  align-items: center;
  padding: 8px 9px;
  border: 1px solid rgba(35, 213, 255, 0.24);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.34);
}

.nld-liga-proposal-chip em {
  grid-row: 1 / span 2;
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(35, 213, 255, 0.18);
  color: var(--cyan, #23d5ff);
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.nld-liga-proposal-chip strong,
.nld-liga-proposal-chip small {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.nld-liga-proposal-chip strong {
  color: var(--text, #f4f7fb);
  font-size: 0.86rem;
  line-height: 1.25;
}

.nld-liga-proposal-chip small {
  color: var(--muted, #aab6c6);
  font-size: 0.76rem;
  font-weight: 850;
}

.nld-liga-proposal-chip--accepted {
  border-color: rgba(34, 197, 94, 0.38);
  background: rgba(34, 197, 94, 0.1);
}

.nld-liga-proposal-chip--rejected,
.nld-liga-proposal-chip--withdrawn {
  opacity: 0.72;
}

.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-actions {
  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-quick-response-option.is-selected {
  border-color: rgba(35, 213, 255, 0.68);
  background: linear-gradient(135deg, rgba(35, 213, 255, 0.16), rgba(8, 10, 14, 0.34));
  box-shadow: 0 0 0 1px rgba(35, 213, 255, 0.16), 0 10px 24px rgba(0, 0, 0, 0.22);
}

.nld-liga-quick-response-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nld-liga-accept-step {
  display: block;
  width: 100%;
  color: var(--muted, #aab6c6);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: right;
}

.nld-liga-accept-step[hidden],
[data-nld-liga-accept-form][hidden] {
  display: none !important;
}

.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-actions,
.nld-liga-row-actions .nld-liga-quick-response-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nld-liga-response-alert [data-nld-liga-accept-form],
.nld-liga-row-actions [data-nld-liga-accept-form] {
  grid-column: 1 / -1;
}

.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-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 10px;
  align-items: center;
  margin-bottom: 8px;
}

.nld-liga-proposals-head h5 {
  margin: 0;
}

.nld-liga-proposals-head span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(35, 213, 255, 0.28);
  border-radius: 999px;
  color: var(--cyan, #23d5ff);
  font-size: 0.76rem;
  font-weight: 950;
}

.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-result-missing-panel {
  padding: 14px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.14), rgba(8, 10, 14, 0.28));
  box-shadow: inset 4px 0 0 #f87171;
}

.nld-liga-result-missing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.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--withdrawn {
  opacity: 0.62;
}

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

.nld-liga-proposal-actions,
.nld-liga-inline-form,
.nld-liga-schedule-form,
.nld-liga-message-form {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.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;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(35, 213, 255, 0.35);
  user-select: none;
}

.nld-liga-inline-form .nld-liga-mini-button {
  min-width: 96px;
}

[data-nld-liga-accept-form] {
  width: 100%;
}

[data-nld-liga-accept-form] .nld-liga-mini-button {
  width: 100%;
}

.nld-liga-mini-button[aria-busy="true"],
.nld-liga-schedule-form button[aria-busy="true"],
.nld-liga-message-form button[aria-busy="true"] {
  opacity: 0.72;
  cursor: progress;
}

.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--select {
  border: 1px solid rgba(35, 213, 255, 0.4);
  background: rgba(35, 213, 255, 0.13);
  color: #a5f3fc !important;
}

.nld-liga-mini-button--select[aria-pressed="true"] {
  border-color: rgba(251, 191, 36, 0.72);
  background: #fbbf24;
  color: #111827 !important;
}

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

.nld-liga-mini-button--withdraw {
  background: #94a3b8;
  color: #071018 !important;
}

.nld-liga-mini-button--not-played {
  background: #fb7185;
  color: #071018 !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--result-missing {
  border-color: rgba(248, 113, 113, 0.54);
  background: rgba(248, 113, 113, 0.16);
  color: #fecdd3;
}

.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: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 12px;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.nld-liga-schedule-slot {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(35, 213, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.22);
}

.nld-liga-schedule-field {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.nld-liga-schedule-field-label {
  color: var(--muted, #aab6c6);
  font-size: 0.76rem;
  font-weight: 850;
}

.nld-liga-picker {
  position: relative;
}

.nld-liga-picker-toggle,
.nld-liga-picker-clear,
.nld-liga-picker-option {
  font: inherit;
}

.nld-liga-picker-toggle {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(35, 213, 255, 0.42);
  border-radius: 8px;
  background: #121720;
  color: var(--text, #f4f7fb);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  touch-action: manipulation;
}

.nld-liga-picker-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.75;
}

.nld-liga-picker-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg);
}

.nld-liga-picker-panel {
  display: grid;
  gap: 6px;
  width: 100%;
  min-width: min(100%, 260px);
  margin-top: 6px;
  max-height: min(320px, 58vh);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: thin;
  padding: 8px;
  border: 1px solid rgba(35, 213, 255, 0.34);
  border-radius: 8px;
  background: #0c131b;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
  position: relative;
  z-index: 8;
}

.nld-liga-picker-panel[hidden] {
  display: none !important;
}

.nld-liga-picker-panel--time {
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
}

.nld-liga-picker-section {
  position: sticky;
  top: -8px;
  z-index: 1;
  margin: 4px -2px 2px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #0c131b;
  color: var(--cyan, #23d5ff);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nld-liga-picker-option,
.nld-liga-picker-clear {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text, #f4f7fb);
  padding: 7px 10px;
  text-align: left;
  cursor: pointer;
  touch-action: pan-y;
  user-select: none;
}

.nld-liga-picker-clear {
  touch-action: manipulation;
}

.nld-liga-picker-panel--time .nld-liga-picker-option {
  text-align: center;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  font-variant-numeric: tabular-nums;
}

.nld-liga-picker-option.is-selected,
.nld-liga-picker-option:focus,
.nld-liga-picker-option:hover,
.nld-liga-picker-toggle:focus,
.nld-liga-picker-clear:focus,
.nld-liga-picker-clear:hover {
  border-color: rgba(35, 213, 255, 0.7);
  outline: none;
  background: rgba(35, 213, 255, 0.15);
}

.nld-liga-picker-clear {
  grid-column: 1 / -1;
  width: fit-content;
  min-height: 34px;
  color: var(--muted, #aab6c6);
}

.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-native-liga-response-actions {
  min-width: min(320px, 34vw);
}

.nld-native-liga-response-title {
  color: var(--text, #f4f7fb);
  font-size: 0.82rem;
  font-weight: 950;
}

.nld-native-liga-response-actions .nld-liga-open-button {
  width: 100%;
}

.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-item .nld-liga-absence-type {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 6px;
  padding: 3px 9px;
  border: 1px solid rgba(251, 191, 36, 0.42);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  color: #fde68a;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nld-liga-absence-item .nld-liga-absence-type--sick {
  border-color: rgba(248, 113, 113, 0.46);
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
}

.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 {
  margin: 0;
  justify-self: end;
}

.nld-liga-absence-delete button {
  min-height: 34px;
  max-width: 180px;
  border: 1px solid rgba(248, 113, 113, 0.44);
  border-radius: 8px;
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
  font-weight: 900;
  line-height: 1.15;
  padding: 6px 11px;
  white-space: normal;
  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-type-switch {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.nld-liga-absence-type-switch legend {
  margin-bottom: 6px;
  color: var(--muted, #aab6c6);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nld-liga-absence-type-switch > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.nld-liga-absence-type-switch label {
  position: relative;
  display: block;
  cursor: pointer;
}

.nld-liga-absence-type-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nld-liga-absence-type-switch label span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.08);
  color: #dbeafe;
  font-size: 0.88rem;
  font-weight: 950;
  text-transform: none;
}

.nld-liga-absence-type-switch input:checked + span {
  border-color: rgba(35, 213, 255, 0.75);
  background: rgba(35, 213, 255, 0.18);
  color: #a5f3fc;
  box-shadow: inset 0 0 0 1px rgba(35, 213, 255, 0.18);
}

.nld-liga-absence-type-switch label:last-child input:checked + span {
  border-color: rgba(248, 113, 113, 0.72);
  background: rgba(248, 113, 113, 0.16);
  color: #fecaca;
}

.nld-liga-absence-type-switch input:focus-visible + span {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.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 textarea {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  min-height: 56px;
}

.nld-liga-schedule-form select:focus {
  outline: 2px solid rgba(35, 213, 255, 0.42);
  outline-offset: 2px;
}

.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;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(35, 213, 255, 0.35);
  user-select: none;
}

.nld-liga-schedule-form > button[type="submit"] {
  justify-self: start;
  min-width: min(260px, 100%);
}

.nld-liga-schedule-form .nld-liga-picker-toggle,
.nld-liga-schedule-form .nld-liga-picker-option,
.nld-liga-schedule-form .nld-liga-picker-clear {
  border: 1px solid rgba(35, 213, 255, 0.42);
  background: #121720;
  color: var(--text, #f4f7fb);
  font-weight: 850;
  padding: 8px 12px;
}

.nld-liga-schedule-form .nld-liga-picker-option {
  min-height: 38px;
  text-align: left;
}

.nld-liga-schedule-form .nld-liga-picker-panel--time .nld-liga-picker-option {
  text-align: center;
}

.nld-liga-schedule-form .nld-liga-picker-option.is-selected,
.nld-liga-schedule-form .nld-liga-picker-option:focus,
.nld-liga-schedule-form .nld-liga-picker-option:hover,
.nld-liga-schedule-form .nld-liga-picker-toggle:focus,
.nld-liga-schedule-form .nld-liga-picker-clear:focus,
.nld-liga-schedule-form .nld-liga-picker-clear:hover {
  border-color: rgba(35, 213, 255, 0.7);
  outline: none;
  background: rgba(35, 213, 255, 0.15);
}

.nld-liga-schedule-form .nld-liga-picker-clear {
  width: fit-content;
  min-height: 34px;
  color: var(--muted, #aab6c6);
}

.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-schedule-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin: 0 0 12px;
  padding: 11px 12px;
  border: 1px solid rgba(35, 213, 255, 0.2);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.22);
}

.nld-liga-schedule-tools label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.nld-liga-schedule-tools label span {
  color: var(--muted, #aab6c6);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nld-liga-schedule-tools input {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(35, 213, 255, 0.34);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.72);
  color: var(--text, #f4f7fb);
  padding: 0 12px;
  outline: none;
}

.nld-liga-schedule-tools input:focus {
  border-color: var(--cyan, #23d5ff);
  box-shadow: 0 0 0 3px rgba(35, 213, 255, 0.14);
}

.nld-liga-schedule-tools button {
  min-height: 40px;
  border: 1px solid rgba(35, 213, 255, 0.28);
  border-radius: 8px;
  background: rgba(35, 213, 255, 0.1);
  color: var(--cyan, #23d5ff);
  font-weight: 950;
  padding: 0 12px;
  cursor: pointer;
}

.nld-liga-schedule-table tr.is-schedule-search-match td {
  background: linear-gradient(90deg, rgba(250, 204, 21, 0.22), rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.08));
  box-shadow: inset 4px 0 0 #facc15;
}

.nld-liga-schedule-table tr.is-schedule-search-hidden {
  display: none;
}

.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--pinned {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  overflow: visible;
}

.nld-native-liga-nav-fixed,
.nld-native-liga-nav-scroll {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

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

.nld-native-liga-nav-scroll {
  flex: 1 1 640px;
  overflow: visible;
  overscroll-behavior-x: auto;
  -webkit-overflow-scrolling: auto;
  padding-bottom: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(35, 213, 255, 0.56) rgba(255, 255, 255, 0.08);
}

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

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

.nld-native-liga-nav-scroll.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-nav-scroll::-webkit-scrollbar {
  height: 8px;
}

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

.nld-native-liga-nav-scroll::-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-liga-season-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 18px;
}

.nld-liga-season-tab {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(35, 213, 255, 0.25);
  border-radius: 7px;
  color: var(--text, #f4f7fb);
  background: rgba(8, 10, 14, 0.28);
  font-weight: 800;
  text-decoration: none !important;
}

.nld-liga-season-tab small {
  color: var(--muted, #aab6c6);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

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

.nld-liga-season-readonly {
  margin: -8px 0 16px;
  color: var(--muted, #aab6c6);
  font-size: 0.9rem;
}

.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-match-ticker {
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  padding: 10px 12px;
  overflow: visible;
  border: 1px solid rgba(35, 213, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(35, 213, 255, 0.1), rgba(8, 10, 14, 0.34)),
    rgba(10, 14, 22, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nld-native-match-ticker-head {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid rgba(35, 213, 255, 0.22);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.26);
}

.nld-native-match-ticker-head span {
  color: var(--cyan, #23d5ff);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nld-native-match-ticker-head strong {
  color: var(--text, #f4f7fb);
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.2;
}

.nld-native-match-ticker > p {
  margin: 0;
  color: var(--muted, #aab6c6);
  font-weight: 800;
}

.nld-native-match-ticker-viewport {
  min-width: 0;
  overflow: visible;
  mask-image: none;
  -webkit-mask-image: none;
}

.nld-native-match-ticker-track {
  display: block;
  width: auto;
  animation: none;
  backface-visibility: visible;
  transform: none;
  will-change: auto;
}

.nld-native-match-ticker:hover .nld-native-match-ticker-track {
  animation-play-state: paused;
}

.nld-native-match-ticker-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  align-items: center;
  gap: 8px;
  padding-right: 0;
}

.nld-native-match-ticker-group[aria-hidden="true"] {
  display: none;
}

.nld-native-match-ticker-card {
  display: grid;
  flex: none;
  gap: 3px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.45);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.17), rgba(11, 15, 24, 0.72)),
    rgba(8, 10, 14, 0.78);
  color: var(--text, #f4f7fb);
  text-decoration: none !important;
  box-shadow: inset 3px 0 0 var(--nld-league-accent, var(--cyan, #23d5ff));
}

.nld-native-match-ticker-card:hover,
.nld-native-match-ticker-card:focus {
  border-color: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.72);
  background: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.18);
  color: var(--text, #f4f7fb);
}

.nld-native-match-ticker-card small {
  overflow: hidden;
  color: var(--nld-league-accent, var(--cyan, #23d5ff));
  font-size: 0.68rem;
  font-weight: 950;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.nld-native-match-ticker-card strong {
  overflow: hidden;
  color: var(--text, #f4f7fb);
  font-size: 0.82rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nld-native-match-ticker-card span {
  color: var(--muted, #aab6c6);
  font-size: 0.72rem;
  font-weight: 850;
}

.nld-native-overview-tools {
  margin: 0 0 12px;
}

.nld-native-overview-tools summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 10px;
  border: 1px solid rgba(35, 213, 255, 0.28);
  border-radius: 8px;
  color: var(--cyan, #23d5ff);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nld-native-overview-tools[open] summary {
  margin-bottom: 10px;
  background: rgba(35, 213, 255, 0.1);
}

.nld-native-overview-actions--compact {
  margin-bottom: 0;
}

@keyframes nld-native-match-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.nld-native-liga-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
  padding: 12px 14px;
  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-matchday-group:not(.is-open) > tr:not(.nld-native-matchday-heading) {
  display: none;
}

.nld-native-matchday-heading th {
  padding: 8px !important;
  border-top: 1px solid rgba(35, 213, 255, 0.24);
  background: rgba(35, 213, 255, 0.055);
}

.nld-native-matchday-heading button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  gap: 12px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #f8fafc;
  cursor: pointer;
  text-align: left;
  touch-action: manipulation;
}

.nld-native-matchday-heading button:hover,
.nld-native-matchday-heading button:focus-visible {
  background: rgba(35, 213, 255, 0.1);
  outline: none;
}

.nld-native-matchday-heading button > span {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nld-native-matchday-heading strong {
  color: var(--cyan, #23d5ff);
  font-size: 0.9rem;
  text-transform: none;
}

.nld-native-matchday-heading em {
  padding: 3px 7px;
  border-radius: 999px;
  background: #23d5ff;
  color: #071018;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.nld-native-matchday-heading small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aab6c6;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: none;
}

.nld-native-matchday-heading small::after {
  content: "+";
  color: #8be9ff;
  font-size: 1.2rem;
  line-height: 1;
}

.nld-native-matchday-group.is-open .nld-native-matchday-heading small::after {
  content: "−";
}

.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: 1220px;
}

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

.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="170s"] :is(th:nth-child(14), td:nth-child(14)),
.nld-native-overview-rankings[data-nld-sort="170_180"] :is(th:nth-child(13), td:nth-child(13), th:nth-child(14), td:nth-child(14)),
.nld-native-overview-rankings[data-nld-sort="140s"] :is(th:nth-child(15), td:nth-child(15)),
.nld-native-overview-rankings[data-nld-sort="100s"] :is(th:nth-child(16), td:nth-child(16)),
.nld-native-overview-rankings[data-nld-sort="60s"] :is(th:nth-child(17), td:nth-child(17)),
.nld-native-overview-rankings[data-nld-sort="high_finish"] :is(th:nth-child(18), td:nth-child(18)) {
  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-calendar-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(35, 213, 255, 0.22);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.28);
}

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

.nld-calendar-export-actions small {
  color: var(--text, #f4f7fb);
  font-weight: 850;
}

.nld-calendar-export-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(35, 213, 255, 0.4);
  border-radius: 8px;
  background: rgba(35, 213, 255, 0.08);
  color: var(--cyan, #23d5ff);
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
}

.nld-calendar-export-link:hover,
.nld-calendar-export-link:focus {
  background: rgba(35, 213, 255, 0.16);
}

.nld-calendar-export-link.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.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-liga-link--season {
  border-color: rgba(167, 139, 250, 0.5);
  color: #ddd6fe;
}

.nld-native-liga-link--cup {
  gap: 7px;
  border-style: dashed;
  border-color: rgba(250, 204, 21, 0.42);
  color: #fef3c7;
  cursor: default;
}

.nld-native-liga-link--cup:hover {
  border-color: rgba(250, 204, 21, 0.42);
  background: rgba(250, 204, 21, 0.07);
  color: #fef3c7;
}

.nld-native-liga-link--cup small {
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.14);
  color: #fde68a;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nld-native-liga--nav-only {
  margin-bottom: 14px;
}

.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-due-open-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(35, 213, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.3);
}

.nld-native-due-open-filters label {
  display: grid;
  gap: 5px;
  min-width: min(100%, 220px);
  margin: 0;
}

.nld-native-due-open-filters label span {
  color: var(--muted, #aab6c6);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nld-native-due-open-filters select {
  min-height: 38px;
  border: 1px solid rgba(35, 213, 255, 0.32);
  border-radius: 8px;
  background: rgba(7, 16, 24, 0.9);
  color: var(--text, #f4f7fb);
  font-weight: 800;
}

.nld-native-due-open-reset {
  cursor: pointer;
}

.nld-native-due-open-count {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(34, 197, 94, 0.26);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
  font-size: 0.82rem;
  white-space: nowrap;
}

.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),
.nld-native-overview-rankings th:nth-child(18),
.nld-native-overview-rankings td:nth-child(18) {
  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-player-atlas-notice {
    align-items: stretch;
    flex-direction: column;
  }

  .nld-player-atlas-notice a {
    width: 100%;
  }
}

.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 {
  padding-bottom: 22px;
  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: auto;
  right: 9px;
  bottom: 8px;
  left: 9px;
  display: flex;
  max-width: none;
  gap: 4px;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}

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

.nld-calendar-league-strip {
  display: block;
  flex: 1 1 0;
  max-width: 44px;
  height: 6px;
  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.is-auto-jump-focus {
  animation: nld-calendar-today-pulse 1.4s ease-out 1;
}

@keyframes nld-calendar-today-pulse {
  0% {
    box-shadow: inset 0 0 0 2px rgba(35, 213, 255, 0.5), 0 0 0 0 rgba(35, 213, 255, 0.42);
  }
  70% {
    box-shadow: inset 0 0 0 2px rgba(35, 213, 255, 0.5), 0 0 0 10px rgba(35, 213, 255, 0);
  }
  100% {
    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-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 {
  padding: 2px 0 2px 7px;
  border-left: 3px solid var(--nld-league-accent, var(--cyan, #23d5ff));
  border-radius: 4px;
  background: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.07);
  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-day-details {
  position: relative;
  z-index: 3;
  margin-top: 7px;
}

.nld-calendar-day-details summary {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(35, 213, 255, 0.32);
  border-radius: 999px;
  background: rgba(8, 10, 14, 0.38);
  color: var(--cyan, #23d5ff);
  font-size: 0.7rem;
  font-weight: 950;
  cursor: pointer;
  list-style: none;
}

.nld-calendar-day-details summary::-webkit-details-marker {
  display: none;
}

.nld-calendar-day-details[open] summary {
  border-color: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.62);
  background: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.18);
  color: var(--nld-league-ink, var(--cyan, #23d5ff));
}

.nld-calendar-day-list {
  display: grid;
  gap: 7px;
  max-height: 280px;
  margin-top: 7px;
  padding: 8px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(3, 7, 12, 0.78);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.nld-calendar-day-list-item {
  display: grid;
  gap: 3px;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--nld-league-accent, var(--cyan, #23d5ff));
  border-radius: 7px;
  background: rgba(var(--nld-league-accent-rgb, 35, 213, 255), 0.1);
  color: var(--text, #f4f7fb);
}

.nld-calendar-day-list-item time {
  color: var(--nld-league-ink, var(--cyan, #23d5ff));
  font-size: 0.78rem;
  font-weight: 950;
}

.nld-calendar-day-list-item strong {
  color: var(--text, #f4f7fb);
  font-size: 0.86rem;
  line-height: 1.25;
}

.nld-calendar-day-list-item span,
.nld-calendar-day-list-item a {
  color: var(--muted, #aab6c6);
  font-size: 0.78rem;
  line-height: 1.3;
}

.nld-calendar-day-list-item a {
  color: var(--cyan, #23d5ff);
  font-weight: 900;
  text-decoration: none;
}

.nld-calendar-day-list-item--absence {
  border-left-color: #fb923c;
  background: rgba(251, 146, 60, 0.1);
}

.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.needs-result {
  border-color: rgba(248, 113, 113, 0.62);
  border-left-color: #fb7185;
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.16), rgba(8, 10, 14, 0.32));
}

.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-result-missing {
  border-color: rgba(248, 113, 113, 0.55) !important;
  background: rgba(248, 113, 113, 0.2) !important;
  color: #fecdd3 !important;
}

.nld-calendar-result-note {
  margin: 2px 0 0;
  padding: 8px 10px;
  border: 1px solid rgba(248, 113, 113, 0.38);
  border-radius: 8px;
  background: rgba(248, 113, 113, 0.1);
  color: #fecdd3;
  font-size: 0.88rem;
  font-weight: 850;
}

.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-admin-chat {
  display: inline-block;
  margin-top: 2px;
  outline: none;
}

.nld-calendar-admin-chat__trigger {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid rgba(35, 213, 255, 0.35);
  border-radius: 999px;
  background: rgba(35, 213, 255, 0.12);
  color: #a5f3fc;
  cursor: help;
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.nld-calendar-admin-chat__panel {
  display: none;
  width: min(390px, 80vw);
  max-height: 320px;
  margin-top: 8px;
  padding: 12px;
  overflow: auto;
  border: 1px solid rgba(35, 213, 255, 0.3);
  border-radius: 10px;
  background: #07111f;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
  color: #f8fafc;
}

.nld-calendar-admin-chat:hover .nld-calendar-admin-chat__panel,
.nld-calendar-admin-chat:focus-within .nld-calendar-admin-chat__panel,
.nld-calendar-admin-chat:focus .nld-calendar-admin-chat__panel {
  display: grid;
  gap: 9px;
}

.nld-calendar-admin-chat__panel > strong {
  color: #23d5ff;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.nld-calendar-admin-chat__message {
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.nld-calendar-admin-chat__message small {
  color: #aab6c6;
  font-weight: 850;
}

.nld-calendar-admin-chat__message span {
  color: #f8fafc;
  font-size: 0.88rem;
  line-height: 1.35;
  white-space: pre-wrap;
}

.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(3, minmax(0, 1fr));
  }

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

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

  .nld-player-profile {
    margin-left: auto;
    margin-right: auto;
    transform: none;
    padding: 10px;
  }

  .nld-player-profile--liga-focus {
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }

  .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-calendar-export-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nld-calendar-export-link {
    width: 100%;
  }

  .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-task-strip {
    grid-template-columns: 1fr;
  }

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

  .nld-liga-cockpit-nav-item {
    min-height: 78px;
    padding: 10px;
  }

  .nld-liga-achievements {
    padding: 12px;
  }

  .nld-liga-achievements-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .nld-liga-achievements-head small {
    text-align: left;
  }

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

  .nld-liga-task-card {
    padding: 10px 11px;
  }

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

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

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

  .nld-native-liga-response-actions {
    width: 100%;
    min-width: 0;
  }

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

  .nld-liga-stat-grid {
    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--pinned {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .nld-native-liga-nav--pinned .nld-native-liga-nav-fixed,
  .nld-native-liga-nav--pinned .nld-native-liga-nav-scroll {
    flex-wrap: nowrap;
    width: 100%;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nld-native-liga-nav--pinned .nld-native-liga-nav-fixed {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 2px;
  }

  .nld-native-liga-nav--pinned .nld-native-liga-nav-fixed > * {
    width: 100%;
    min-width: 0;
    padding-inline: 8px;
    white-space: normal;
  }

  .nld-native-liga-nav--pinned .nld-native-liga-nav-scroll {
    overflow-x: auto;
  }

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

  .nld-native-match-ticker {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
    overflow: hidden;
  }

  .nld-native-match-ticker-viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    scrollbar-width: thin;
  }

  .nld-native-match-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: none;
  }

  .nld-native-match-ticker-group {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    padding-right: 8px;
  }

  .nld-native-match-ticker-group[aria-hidden="true"] {
    display: none;
  }

  .nld-native-match-ticker-card {
    flex-basis: 220px;
  }

  .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-tools {
    grid-template-columns: 1fr;
    padding: 10px;
  }

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

  .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: "170+";
  }

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

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

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

  .nld-native-liga-standings td:nth-child(17)::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: "170+";
  }

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

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

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

  .nld-native-overview-rankings td:nth-child(18)::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: 1320px;
    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 {
    width: 100%;
    justify-self: stretch;
  }

  .nld-liga-absence-delete button,
  .nld-liga-absence-form button[type="submit"] {
    max-width: none;
    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-slot {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .nld-liga-picker-panel--time {
    grid-template-columns: repeat(3, minmax(64px, 1fr));
  }

  .nld-liga-schedule-form input[type="datetime-local"],
  .nld-liga-schedule-form select,
  .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-top {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 9px;
    padding: 10px 10px 8px;
  }

  .nld-player-card-photo {
    width: 92px;
    height: 92px;
  }

  .nld-player-card-actions {
    gap: 6px;
  }

  .nld-player-discord-button {
    padding-inline: 8px;
  }

  .nld-player-card-body {
    padding: 0 10px 10px;
  }

  .nld-player-card-chip {
    min-height: 44px;
  }

  .nld-player-card-details summary {
    min-height: 44px;
  }

  .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;
  }
}

@media (max-width: 340px) {
  .nld-player-card-achievement-badges {
    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;
}

.nld-player-google-calendar {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(52, 211, 153, 0.26);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(34, 211, 238, 0.08)),
    rgba(15, 23, 42, 0.56);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.nld-player-google-calendar__head {
  display: grid;
  gap: 4px;
}

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

.nld-player-google-calendar__head small,
.nld-player-google-calendar p small {
  color: #9fb1c7;
}

.nld-player-google-calendar p {
  margin: 0;
  color: #dbeafe;
}

.nld-player-google-calendar p span,
.nld-player-google-calendar p small {
  display: block;
  margin-top: 4px;
}

.nld-player-google-calendar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nld-player-google-calendar__actions form {
  margin: 0;
}

.nld-player-google-calendar__actions button,
.nld-player-google-calendar .nld-liga-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(34, 211, 238, 0.34);
  border-radius: 12px;
  background: #22d3ee;
  color: #02131c;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.nld-player-google-calendar__actions button.is-secondary {
  background: rgba(15, 23, 42, 0.64);
  color: #dbeafe;
}

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

  .nld-player-google-calendar__actions,
  .nld-player-google-calendar__actions form,
  .nld-player-google-calendar__actions button,
  .nld-player-google-calendar .nld-liga-open-button {
    width: 100%;
  }
}

@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: 1320px;
    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;
  }
}

.nld-dart-atlas {
  position: relative;
  left: 50%;
  width: min(1720px, calc(100vw - 24px));
  margin: 0;
  color: #eaf7ff;
  transform: translateX(-50%);
}

.nld-dart-atlas,
.nld-dart-atlas * {
  box-sizing: border-box;
}

.nld-dart-atlas__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.nld-dart-atlas__head span {
  display: block;
  color: #2ed3ff;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nld-dart-atlas__head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1;
  letter-spacing: 0;
}

.nld-dart-atlas__summary {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.nld-dart-atlas__summary > strong {
  border: 1px solid rgba(46, 211, 255, 0.45);
  border-radius: 8px;
  background: rgba(6, 19, 30, 0.92);
  padding: 10px 12px;
  color: #2ed3ff;
  white-space: nowrap;
}

.nld-dart-atlas__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nld-dart-atlas__legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  border: 1px solid rgba(46, 211, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 18, 29, 0.8);
  padding: 0 9px;
  color: #cfeeff;
  font-size: 0.72rem;
  font-weight: 900;
}

.nld-dart-atlas__legend-chip b {
  color: #ffffff;
}

.nld-dart-atlas__filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 220px) minmax(190px, 260px) auto;
  gap: 10px;
  align-items: end;
  margin: 0 0 12px;
  border: 1px solid rgba(46, 211, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 13, 22, 0.76);
  padding: 10px;
}

.nld-dart-atlas__filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.nld-dart-atlas__filter-group > span,
.nld-dart-atlas__filter-select span,
.nld-dart-atlas__filter-search span {
  color: #9fc7dc;
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nld-dart-atlas__filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border: 1px solid rgba(46, 211, 255, 0.2);
  border-radius: 999px;
  background: rgba(8, 20, 32, 0.86);
  padding: 0 9px;
  color: #d8f4ff;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.nld-dart-atlas__filter-chip b {
  border-radius: 999px;
  background: rgba(46, 211, 255, 0.12);
  padding: 2px 6px;
  color: #ffffff;
  font-size: 0.7rem;
}

.nld-dart-atlas__filter-chip:hover,
.nld-dart-atlas__filter-chip:focus-visible,
.nld-dart-atlas__filter-chip.is-active {
  border-color: rgba(46, 211, 255, 0.72);
  background: #2ed3ff;
  color: #04121c;
}

.nld-dart-atlas__filter-chip:hover b,
.nld-dart-atlas__filter-chip:focus-visible b,
.nld-dart-atlas__filter-chip.is-active b {
  background: rgba(4, 18, 28, 0.16);
  color: #04121c;
}

.nld-dart-atlas__filter-chip.is-personal {
  border-color: rgba(45, 212, 191, 0.42);
}

.nld-dart-atlas__filter-chip.is-country {
  min-width: 58px;
}

.nld-dart-atlas__filter-select,
.nld-dart-atlas__filter-search {
  display: grid;
  gap: 5px;
}

.nld-dart-atlas__filter-select select,
.nld-dart-atlas__filter-search input {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(46, 211, 255, 0.22);
  border-radius: 8px;
  background: rgba(4, 10, 18, 0.92);
  padding: 0 10px;
  color: #ffffff;
  font: inherit;
  font-size: 0.86rem;
}

.nld-dart-atlas__filter-count {
  align-self: center;
  border: 1px solid rgba(46, 211, 255, 0.22);
  border-radius: 999px;
  background: rgba(46, 211, 255, 0.1);
  padding: 7px 10px;
  color: #cfeeff;
  font-size: 0.78rem;
  white-space: nowrap;
}

.nld-dart-atlas__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 14px;
  align-items: start;
}

.nld-dart-atlas-wall {
  position: sticky;
  order: 2;
  top: 16px;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(46, 211, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(165deg, rgba(9, 28, 40, 0.96), rgba(5, 12, 21, 0.96));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.nld-dart-atlas-wall__head {
  border-bottom: 1px solid rgba(46, 211, 255, 0.14);
  padding: 13px 14px 11px;
}

.nld-dart-atlas-wall__head span,
.nld-dart-atlas-wall__form span,
.nld-dart-atlas-wall__meta span {
  color: #2ed3ff;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nld-dart-atlas-wall__head h3 {
  margin: 2px 0 5px;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.2;
}

.nld-dart-atlas-wall__head p,
.nld-dart-atlas-wall__login p,
.nld-dart-atlas-wall__empty {
  margin: 0;
  color: #b7d4e8;
  font-size: 0.82rem;
  line-height: 1.45;
}

.nld-dart-atlas-wall__unread {
  display: inline-flex;
  width: fit-content;
  margin-top: 9px;
  border: 1px solid rgba(45, 212, 191, 0.38);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.14);
  padding: 5px 9px;
  color: #99f6e4;
  font-size: 0.76rem;
  font-weight: 950;
}

.nld-dart-atlas-wall__notice {
  margin: 0 0 12px;
  border: 1px solid rgba(250, 204, 21, 0.32);
  border-radius: 8px;
  background: rgba(120, 70, 10, 0.26);
  padding: 10px 12px;
  color: #ffe7a8;
  font-weight: 850;
}

.nld-dart-atlas-wall__notice.is-success {
  border-color: rgba(74, 222, 128, 0.34);
  background: rgba(12, 75, 50, 0.28);
  color: #bbf7d0;
}

.nld-dart-atlas-wall__login,
.nld-dart-atlas-wall__form {
  border-top: 1px solid rgba(46, 211, 255, 0.12);
}

.nld-dart-atlas-wall__login {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
}

.nld-dart-atlas-wall__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px 14px;
}

.nld-dart-atlas-wall__login strong {
  color: #ffffff;
}

.nld-dart-atlas-wall__login-button,
.nld-dart-atlas-wall__submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: #2ed3ff;
  padding: 0 14px;
  color: #03101a;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.nld-dart-atlas-wall__form label {
  display: grid;
  gap: 6px;
}

.nld-dart-atlas-wall__form textarea {
  width: 100%;
  border: 1px solid rgba(46, 211, 255, 0.26);
  border-radius: 8px;
  background: rgba(4, 10, 18, 0.92);
  color: #ffffff;
  font: inherit;
}

.nld-dart-atlas-wall__form textarea {
  min-height: 54px;
  max-height: 150px;
  resize: vertical;
  padding: 10px;
}

.nld-dart-atlas-wall__actions {
  display: flex;
  align-items: end;
  gap: 8px;
}

.nld-dart-atlas-wall__submit {
  min-height: 54px;
  padding: 0 20px;
  white-space: nowrap;
}

.nld-dart-atlas-wall__delete button {
  border: 1px solid rgba(46, 211, 255, 0.24);
  border-radius: 999px;
  background: rgba(7, 18, 29, 0.84);
  padding: 6px 9px;
  color: #d8f4ff;
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.nld-dart-atlas-wall__feed {
  display: grid;
  gap: 10px;
  max-height: min(54vh, 560px);
  overflow: auto;
  padding: 12px 14px;
  scroll-behavior: smooth;
}

.nld-dart-atlas-wall__message {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 0;
  background: transparent;
  padding: 0;
}

.nld-dart-atlas-wall__message.is-own {
  grid-template-columns: minmax(0, 1fr) 40px;
}

.nld-dart-atlas-wall__message.is-own .nld-dart-atlas-wall__avatar {
  grid-column: 2;
}

.nld-dart-atlas-wall__message.is-own .nld-dart-atlas-wall__body {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  border-right: 4px solid var(--nld-league-accent, #2ed3ff);
  border-left-width: 1px;
  background: rgba(10, 45, 58, 0.82);
}

.nld-dart-atlas-wall__message.is-unread .nld-dart-atlas-wall__body {
  border-color: rgba(45, 212, 191, 0.68);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.12), 0 16px 28px rgba(0, 0, 0, 0.22);
}

.nld-dart-atlas-wall__avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--nld-league-accent, #2ed3ff);
  border-radius: 999px;
  background: #07121d;
  color: #ffffff;
  font-weight: 950;
}

.nld-dart-atlas-wall__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nld-dart-atlas-wall__body {
  min-width: 0;
  max-width: min(100%, 330px);
  border: 1px solid rgba(46, 211, 255, 0.14);
  border-left: 4px solid var(--nld-league-accent, #2ed3ff);
  border-radius: 8px;
  background: rgba(4, 11, 19, 0.86);
  padding: 10px;
}

.nld-dart-atlas-wall__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
}

.nld-dart-atlas-wall__meta strong {
  min-width: 0;
  color: #ffffff;
  line-height: 1.2;
}

.nld-dart-atlas-wall__meta span {
  border-radius: 999px;
  background: rgba(46, 211, 255, 0.12);
  padding: 3px 7px;
  color: #99f6e4;
  text-transform: none;
}

.nld-dart-atlas-wall__body small,
.nld-dart-atlas-wall__body time {
  display: block;
  color: #8fb2c8;
  font-size: 0.74rem;
  line-height: 1.3;
}

.nld-dart-atlas-wall__body p {
  margin: 7px 0;
  color: #dbefff;
  font-size: 0.88rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.nld-dart-atlas-wall__delete {
  margin-top: 8px;
}

.nld-dart-atlas__legend-chip--at {
  border-color: rgba(248, 113, 113, 0.35);
}

.nld-dart-atlas__legend-chip--ch {
  border-color: rgba(74, 222, 128, 0.35);
}

.nld-dart-atlas__map-shell {
  position: relative;
  order: 1;
  --nld-atlas-zoom: 1;
  --nld-atlas-pan-x: 0px;
  --nld-atlas-pan-y: 0px;
  --nld-atlas-marker-scale: 1;
  overflow: hidden;
  border: 1px solid rgba(46, 211, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(5, 18, 28, 0.98), rgba(5, 10, 18, 0.96));
  box-shadow: inset 0 0 0 1px rgba(234, 247, 255, 0.03), inset 0 18px 80px rgba(46, 211, 255, 0.04);
  min-height: 0;
  padding: clamp(12px, 2vw, 20px);
  user-select: none;
  -webkit-user-select: none;
}

.nld-dart-atlas__controls {
  position: absolute;
  z-index: 120;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(46, 211, 255, 0.2);
  border-radius: 8px;
  background: rgba(5, 13, 22, 0.86);
  padding: 6px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(8px);
}

.nld-dart-atlas__controls button {
  display: inline-grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(46, 211, 255, 0.24);
  border-radius: 8px;
  background: rgba(9, 28, 40, 0.96);
  color: #ffffff;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
}

.nld-dart-atlas__controls button:hover,
.nld-dart-atlas__controls button:focus-visible {
  border-color: rgba(46, 211, 255, 0.65);
  background: #2ed3ff;
  color: #04121c;
}

.nld-dart-atlas__controls span {
  min-width: 48px;
  color: #cfeeff;
  font-size: 0.78rem;
  font-weight: 950;
  text-align: center;
}

.nld-dart-atlas__zoom-hint {
  position: absolute;
  z-index: 110;
  right: 14px;
  bottom: 14px;
  margin: 0;
  border: 1px solid rgba(46, 211, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 13, 22, 0.78);
  padding: 6px 10px;
  color: #b7d4e8;
  font-size: 0.75rem;
  font-weight: 850;
  pointer-events: none;
}

.nld-dart-atlas__viewport {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  cursor: zoom-in;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.nld-dart-atlas__map-shell.is-zoomed .nld-dart-atlas__viewport {
  cursor: grab;
  touch-action: none;
}

.nld-dart-atlas__viewport.is-dragging {
  cursor: grabbing;
}

.nld-dart-atlas__map {
  position: relative;
  width: min(760px, 100%, calc((76vh - 24px) * 0.8125));
  aspect-ratio: 520 / 640;
  margin: 0 auto;
  transform: translate3d(var(--nld-atlas-pan-x), var(--nld-atlas-pan-y), 0) scale(var(--nld-atlas-zoom));
  transform-origin: 0 0;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}

.nld-dart-atlas__shape {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
}

.nld-dart-atlas__country {
  fill: rgba(10, 31, 45, 0.42);
  stroke: rgba(148, 205, 223, 0.3);
  stroke-width: 1.4;
  fill-rule: evenodd;
  vector-effect: non-scaling-stroke;
}

.nld-dart-atlas__country--de {
  fill: rgba(5, 17, 25, 0.84);
  stroke: none;
  pointer-events: none;
}

.nld-dart-atlas__country--at {
  fill: rgba(66, 24, 27, 0.5);
  stroke: rgba(248, 113, 113, 0.34);
}

.nld-dart-atlas__country--ch {
  fill: rgba(12, 49, 35, 0.5);
  stroke: rgba(74, 222, 128, 0.34);
}

.nld-dart-atlas__postcode {
  fill: rgba(var(--nld-atlas-zone-rgb, 35, 213, 255), 0.2);
  stroke: rgba(3, 10, 16, 0.72);
  stroke-width: 0.24;
  fill-rule: evenodd;
  stroke-linejoin: round;
  stroke-linecap: round;
  shape-rendering: geometricPrecision;
  vector-effect: non-scaling-stroke;
  transition: fill 0.16s ease, stroke 0.16s ease;
}

.nld-dart-atlas__postcode.is-populated {
  fill: rgba(var(--nld-atlas-zone-rgb, 35, 213, 255), 0.32);
  stroke: rgba(5, 18, 26, 0.62);
}

.nld-dart-atlas__postcode.is-empty {
  opacity: 0.58;
}

.nld-dart-atlas__postcode--zone-0 { --nld-atlas-zone-rgb: 34, 211, 238; }
.nld-dart-atlas__postcode--zone-1 { --nld-atlas-zone-rgb: 96, 165, 250; }
.nld-dart-atlas__postcode--zone-2 { --nld-atlas-zone-rgb: 167, 139, 250; }
.nld-dart-atlas__postcode--zone-3 { --nld-atlas-zone-rgb: 244, 114, 182; }
.nld-dart-atlas__postcode--zone-4 { --nld-atlas-zone-rgb: 249, 115, 22; }
.nld-dart-atlas__postcode--zone-5 { --nld-atlas-zone-rgb: 250, 204, 21; }
.nld-dart-atlas__postcode--zone-6 { --nld-atlas-zone-rgb: 34, 197, 94; }
.nld-dart-atlas__postcode--zone-7 { --nld-atlas-zone-rgb: 20, 184, 166; }
.nld-dart-atlas__postcode--zone-8 { --nld-atlas-zone-rgb: 56, 189, 248; }
.nld-dart-atlas__postcode--zone-9 { --nld-atlas-zone-rgb: 232, 121, 249; }

.nld-dart-atlas__postcode:hover {
  fill: rgba(var(--nld-atlas-zone-rgb, 35, 213, 255), 0.5);
  stroke: rgba(46, 211, 255, 0.46);
  opacity: 1;
}

.nld-dart-atlas__country-outline {
  fill: none;
  stroke: rgba(235, 248, 255, 0.74);
  stroke-width: 1.8;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}

.nld-dart-atlas__country-outline--de {
  stroke: rgba(234, 247, 255, 0.36);
  stroke-width: 1.6;
}

.nld-dart-atlas__country-outline--at {
  stroke: rgba(248, 113, 113, 0.54);
}

.nld-dart-atlas__country-outline--ch {
  stroke: rgba(74, 222, 128, 0.54);
}

.nld-dart-atlas__country-label {
  fill: rgba(234, 247, 255, 0.34);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0;
  text-anchor: middle;
}

.nld-dart-atlas__state-label {
  fill: rgba(235, 248, 255, 0.18);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0;
  pointer-events: none;
  text-anchor: middle;
}

.nld-dart-atlas__city-label {
  opacity: 0.82;
  pointer-events: none;
}

.nld-dart-atlas__city-label circle {
  fill: #eaf7ff;
  stroke: rgba(4, 13, 21, 0.9);
  stroke-width: 1.1;
}

.nld-dart-atlas__city-label text {
  fill: rgba(234, 247, 255, 0.84);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0;
  paint-order: stroke;
  stroke: rgba(4, 13, 21, 0.86);
  stroke-width: 2px;
}

.nld-dart-atlas__pin {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  z-index: var(--z, 2);
  transform: translate(-50%, -50%);
}

.nld-dart-atlas__pin:hover,
.nld-dart-atlas__pin:focus-within {
  z-index: 80;
}

.nld-dart-atlas__pin a {
  position: relative;
  display: block;
  text-decoration: none;
  outline: none;
  transform: scale(var(--nld-atlas-marker-scale));
  transform-origin: center center;
}

.nld-dart-atlas__pin a::after {
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 10px;
  height: 10px;
  border: 2px solid #07121d;
  border-radius: 999px;
  background: var(--nld-league-accent, #2ed3ff);
  box-shadow: 0 0 0 3px rgba(46, 211, 255, 0.18);
  content: "";
  transform: translateX(-50%);
}

.nld-dart-atlas__avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--nld-league-accent, #2ed3ff);
  border-radius: 999px;
  background: #07121d;
  box-shadow: 0 0 0 4px rgba(4, 15, 24, 0.72), 0 10px 22px rgba(0, 0, 0, 0.38);
  color: #ffffff;
  font-weight: 900;
}

.nld-dart-atlas__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nld-dart-atlas__card {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  width: 230px;
  max-width: min(230px, 78vw);
  transform: translate(-50%, 8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(46, 211, 255, 0.22);
  border-left: 4px solid var(--nld-league-accent, #2ed3ff);
  border-radius: 8px;
  background: rgba(5, 13, 22, 0.98);
  padding: 10px 11px;
  color: #dbefff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.nld-dart-atlas.has-floating-cards .nld-dart-atlas__card {
  display: none;
}

.nld-dart-atlas__floating-card {
  position: fixed;
  z-index: 999999;
  width: min(260px, calc(100vw - 16px));
  display: none;
  gap: 4px;
  border: 1px solid rgba(46, 211, 255, 0.28);
  border-left: 4px solid var(--nld-league-accent, #2ed3ff);
  border-radius: 8px;
  background: rgba(5, 13, 22, 0.98);
  padding: 10px 11px;
  color: #dbefff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.36);
  pointer-events: none;
}

.nld-dart-atlas__floating-card.is-visible:not([hidden]) {
  display: grid;
}

.nld-dart-atlas__floating-card[hidden] {
  display: none !important;
}

.nld-dart-atlas__floating-card strong {
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.15;
}

.nld-dart-atlas__floating-card span,
.nld-dart-atlas__floating-card small {
  color: #b7d4e8;
  font-size: 0.78rem;
  line-height: 1.25;
}

.nld-dart-atlas__card strong {
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.15;
}

.nld-dart-atlas__card span,
.nld-dart-atlas__card small {
  color: #b7d4e8;
  font-size: 0.78rem;
  line-height: 1.25;
}

.nld-dart-atlas__pin a:hover .nld-dart-atlas__card,
.nld-dart-atlas__pin a:focus-visible .nld-dart-atlas__card {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nld-dart-atlas__pin.is-west .nld-dart-atlas__card {
  left: 0;
  transform: translate(0, 8px);
}

.nld-dart-atlas__pin.is-west a:hover .nld-dart-atlas__card,
.nld-dart-atlas__pin.is-west a:focus-visible .nld-dart-atlas__card {
  transform: translate(0, 0);
}

.nld-dart-atlas__pin.is-east .nld-dart-atlas__card {
  right: 0;
  left: auto;
  transform: translate(0, 8px);
}

.nld-dart-atlas__pin.is-east a:hover .nld-dart-atlas__card,
.nld-dart-atlas__pin.is-east a:focus-visible .nld-dart-atlas__card {
  transform: translate(0, 0);
}

.nld-dart-atlas__pin.is-north .nld-dart-atlas__card {
  top: calc(100% + 12px);
  bottom: auto;
}

.nld-dart-atlas__pin a:hover .nld-dart-atlas__avatar,
.nld-dart-atlas__pin a:focus-visible .nld-dart-atlas__avatar {
  transform: translateY(-2px);
}

.nld-dart-atlas__empty {
  position: absolute;
  inset: auto 18px 18px;
  margin: 0;
  border: 1px solid rgba(46, 211, 255, 0.25);
  border-radius: 8px;
  background: rgba(7, 18, 29, 0.9);
  padding: 12px 14px;
  color: #b7d4e8;
}

.nld-dart-atlas__empty[hidden],
.nld-dart-atlas__pin[hidden],
.nld-dart-atlas__list-item[hidden] {
  display: none !important;
}

.nld-dart-atlas__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.nld-dart-atlas__list-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(46, 211, 255, 0.16);
  border-left: 4px solid var(--nld-league-accent, #2ed3ff);
  border-radius: 8px;
  background: rgba(5, 13, 22, 0.82);
  padding: 10px;
  color: #ffffff;
  text-decoration: none;
}

.nld-dart-atlas__list-item strong,
.nld-dart-atlas__list-item small {
  display: block;
  min-width: 0;
}

.nld-dart-atlas__list-item small {
  color: #b7d4e8;
}

.nld-dart-atlas__list-item .nld-dart-atlas__avatar {
  width: 38px;
  height: 38px;
}

@media (max-width: 760px) {
  .nld-dart-atlas {
    left: auto;
    width: 100%;
    margin: 0;
    transform: none;
  }

  .nld-dart-atlas__head {
    align-items: start;
    flex-direction: column;
  }

  .nld-dart-atlas__head h2 {
    font-size: 2rem;
  }

  .nld-dart-atlas__summary {
    justify-items: start;
  }

  .nld-dart-atlas__legend {
    justify-content: flex-start;
  }

  .nld-dart-atlas__main {
    grid-template-columns: minmax(0, 1fr);
  }

  .nld-dart-atlas__filters {
    grid-template-columns: minmax(0, 1fr);
    padding: 9px;
  }

  .nld-dart-atlas__filter-count {
    justify-self: start;
  }

  .nld-dart-atlas-wall {
    position: static;
    order: 2;
  }

  .nld-dart-atlas-wall__form {
    grid-template-columns: minmax(0, 1fr);
  }

  .nld-dart-atlas-wall__submit {
    width: 100%;
  }

  .nld-dart-atlas-wall__feed {
    max-height: 460px;
  }

  .nld-dart-atlas-wall__body {
    max-width: min(100%, 82vw);
  }

  .nld-dart-atlas__map-shell {
    order: 1;
    min-height: auto;
    padding: 12px;
  }

  .nld-dart-atlas__controls {
    top: 8px;
    right: 8px;
    gap: 4px;
    padding: 5px;
  }

  .nld-dart-atlas__controls button {
    min-width: 31px;
    height: 31px;
    padding: 0 8px;
  }

  .nld-dart-atlas__controls span {
    min-width: 42px;
    font-size: 0.72rem;
  }

  .nld-dart-atlas__zoom-hint {
    right: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    font-size: 0.68rem;
  }

  .nld-dart-atlas__map {
    width: min(100%, 430px);
  }

  .nld-dart-atlas__avatar {
    width: 34px;
    height: 34px;
  }

  .nld-dart-atlas__card {
    width: 190px;
  }
}

/* Liga-Cockpit 1.1.207: Spielerkarte, Schnellzugriffe und Meilensteine als ein Dashboard. */
.nld-player-profile--liga-focus {
  --max: min(1320px, calc(100vw - 32px));
  width: min(1320px, calc(100vw - 32px));
}

.nld-liga-cockpit {
  padding: clamp(16px, 2vw, 24px);
  border-color: rgba(35, 213, 255, 0.3);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(35, 213, 255, 0.08), transparent 32%),
    linear-gradient(145deg, rgba(9, 22, 35, 0.96), rgba(6, 14, 24, 0.96));
}

.nld-liga-cockpit-head {
  align-items: center;
  margin-bottom: 16px;
}

.nld-liga-cockpit-head h3 {
  color: #f8fbff;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.nld-liga-cockpit-head > div:first-child > span { margin-bottom: 5px; }

.nld-liga-cockpit-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 8px;
}

.nld-liga-cockpit-context strong { color: #d9f6ff; font-size: 0.82rem; }
.nld-liga-cockpit-context small { position: relative; color: #8fa8bd; font-size: 0.76rem; }
.nld-liga-cockpit-context small::before { content: '•'; margin-right: 10px; color: rgba(35, 213, 255, 0.55); }
.nld-liga-cockpit-context small:first-child::before { display: none; }

.nld-liga-cockpit-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.nld-liga-cockpit-season-pill,
.nld-liga-cockpit-settings {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  border: 1px solid rgba(35, 213, 255, 0.25);
  border-radius: 999px;
  background: rgba(15, 39, 59, 0.72);
  color: #d8f5ff;
  font-size: 0.74rem;
  font-weight: 850;
  text-decoration: none !important;
}

.nld-liga-cockpit-head .nld-liga-cockpit-season-pill,
.nld-liga-cockpit-head .nld-liga-cockpit-settings > span {
  display: inline-flex;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: none;
}

.nld-liga-cockpit-settings:hover,
.nld-liga-cockpit-settings:focus-visible { border-color: rgba(35, 213, 255, 0.7); color: #ffffff; }
.nld-liga-cockpit-settings.is-urgent { border-color: rgba(251, 146, 60, 0.62); color: #fed7aa; }

.nld-liga-cockpit-nav {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 12px;
}

.nld-liga-cockpit-nav-item {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 30px auto auto;
  gap: 4px;
  min-height: 92px;
  align-content: start;
  padding: 11px;
  border-color: rgba(35, 213, 255, 0.16);
  border-radius: 11px;
  background: rgba(8, 23, 37, 0.72);
  box-shadow: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.nld-liga-cockpit-nav-item > i {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(35, 213, 255, 0.12);
  color: #5ce1ff;
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 950;
}

.nld-liga-cockpit-nav-item > span {
  align-self: end;
  min-width: 0;
  color: #c8d6e4;
  font-size: 0.72rem;
  font-weight: 800;
  overflow-wrap: normal;
  word-break: normal;
}

.nld-liga-cockpit-nav-item > strong {
  min-width: 0;
  padding: 0;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 0.9rem;
  line-height: 1.15;
  text-align: left;
}

.nld-liga-cockpit-nav-item > small {
  display: none;
}

.nld-liga-cockpit-nav-item.is-cyan,
.nld-liga-cockpit-nav-item:hover,
.nld-liga-cockpit-nav-item:focus-visible { border-color: rgba(35, 213, 255, 0.65); background: rgba(12, 37, 56, 0.88); box-shadow: inset 0 0 0 1px rgba(35, 213, 255, 0.18); }
.nld-liga-cockpit-nav-item.is-urgent { border-color: rgba(251, 146, 60, 0.5); box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.12); }
.nld-liga-cockpit-nav-item.is-urgent > i { background: rgba(251, 146, 60, 0.15); color: #fdba74; }
.nld-liga-cockpit-nav-item.is-action > i { background: rgba(34, 197, 94, 0.13); color: #6ee7b7; }
.nld-liga-cockpit-nav-item.is-gold > i { background: rgba(250, 204, 21, 0.13); color: #fde68a; }
.nld-liga-cockpit-nav-item.is-blue > i { background: rgba(59, 130, 246, 0.14); color: #93c5fd; }

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

.nld-liga-cockpit-priority,
.nld-liga-cockpit-season {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(35, 213, 255, 0.16);
  border-radius: 12px;
  background: rgba(6, 19, 31, 0.68);
}

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

.nld-liga-cockpit-section-head h4 { margin: 0; color: #eff8ff; font-size: 0.92rem; }
.nld-liga-cockpit-section-head > span {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(35, 213, 255, 0.11);
  color: #a8eefe;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}
.nld-liga-cockpit-section-head > span.is-ready { background: rgba(34, 197, 94, 0.14); color: #6ee7b7; }
.nld-liga-cockpit-section-head > span.is-attention { background: rgba(251, 146, 60, 0.14); color: #fdba74; }

.nld-liga-cockpit-ready {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 13px;
  border: 1px solid rgba(35, 213, 255, 0.22);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(35, 213, 255, 0.08), rgba(10, 29, 43, 0.55));
}

.nld-liga-cockpit-ready > i {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.13);
  color: #34d399;
  font-style: normal;
  font-weight: 950;
}

.nld-liga-cockpit-ready div { display: grid; gap: 4px; }
.nld-liga-cockpit-ready strong { color: #f4f9fd; font-size: 0.9rem; }
.nld-liga-cockpit-ready small { color: #829aae; font-size: 0.72rem; line-height: 1.35; }

.nld-liga-cockpit-last-result {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8ea5b8;
  font-size: 0.7rem;
}
.nld-liga-cockpit-last-result strong { color: #f6fbff; font-size: 0.84rem; white-space: nowrap; }

.nld-liga-cockpit-priority .nld-liga-cockpit-hero { margin: 0; padding: 12px; border-radius: 10px; }
.nld-liga-cockpit-priority .nld-liga-cockpit-main h4 { font-size: 1.05rem; }

.nld-liga-cockpit-player-card { margin: 0 0 12px; border-radius: 13px; box-shadow: none; }
.nld-liga-cockpit-player-card .nld-player-card-top { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px; }
.nld-liga-cockpit-player-card .nld-player-card-photo { width: 112px; height: 112px; flex-basis: 112px; }
.nld-liga-cockpit-player-card .nld-player-card-identity {
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 14px;
}
.nld-liga-cockpit-player-card .nld-player-card-title { grid-column: 1; grid-row: 1; }
.nld-liga-cockpit-player-card .nld-player-card-actions { grid-column: 1; grid-row: 2; align-self: start; }
.nld-liga-cockpit-player-card .nld-player-card-chips { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.nld-liga-cockpit-player-card .nld-player-card-chip { min-height: 82px; padding: 9px; }
.nld-liga-cockpit-player-card h3 { margin: 0; font-size: clamp(1.05rem, 1.8vw, 1.35rem); }

.nld-liga-achievements {
  padding: 14px;
  border-color: rgba(35, 213, 255, 0.17);
  border-radius: 12px;
  background: rgba(6, 19, 31, 0.68);
}
.nld-liga-achievements-head span { color: #48dcff; }
.nld-liga-achievements-head small { padding: 5px 9px; border-radius: 999px; background: rgba(250, 204, 21, 0.1); color: #fde68a; font-weight: 850; }
.nld-liga-achievement-grid--all { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.nld-liga-achievement-grid--all .nld-liga-achievement { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; min-height: 186px; align-items: start; align-content: start; padding: 13px; border-radius: 13px; background: linear-gradient(145deg, rgba(17, 34, 44, 0.94), rgba(8, 18, 28, 0.94)); }
.nld-liga-achievement-grid--all .nld-liga-achievement-icon {
  display: grid;
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
  place-items: center;
  align-self: start;
  justify-self: center;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: none !important;
  box-shadow: none !important;
  isolation: auto;
  overflow: visible;
}
.nld-liga-achievement-grid--all .nld-liga-achievement-icon::after { content: none; }
.nld-liga-achievement-grid--all .nld-liga-achievement-icon .nld-achievement-art { width: 100px; height: 100px; transform-origin: center; }
.nld-liga-achievement-grid--all .nld-liga-achievement > div { align-content: start; gap: 5px; }
.nld-liga-achievement-grid--all .nld-liga-achievement > div > strong { font-size: 0.9rem; }
.nld-liga-achievement-grid--all .nld-liga-achievement-evidence { grid-column: 1 / -1; margin-top: -4px; color: var(--muted, #aab6c6); font-size: 0.71rem; font-style: normal; line-height: 1.28; }
.nld-liga-achievement-all { margin-top: 11px; }
.nld-liga-achievement-all > summary {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 11px;
  border: 1px solid rgba(35, 213, 255, 0.2);
  border-radius: 9px;
  background: rgba(10, 29, 43, 0.6);
  color: #b8eefe;
  cursor: pointer;
  list-style: none;
  font-size: 0.74rem;
  font-weight: 850;
}
.nld-liga-achievement-all > summary::-webkit-details-marker { display: none; }
.nld-liga-achievement-all > summary::after { content: '↓'; color: #50ddff; }
.nld-liga-achievement-all[open] > summary::after { content: '↑'; }
.nld-liga-achievement-all > summary strong { margin-left: auto; color: #849cad; font-size: 0.68rem; }
.nld-liga-achievement-all > .nld-liga-achievement-grid { margin-top: 9px; }

@media (max-width: 1120px) {
  .nld-liga-cockpit-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nld-liga-achievement-grid--all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nld-liga-cockpit-player-card .nld-player-card-identity { grid-template-columns: minmax(160px, 210px) minmax(0, 1fr); }
  .nld-liga-cockpit-player-card .nld-player-card-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nld-liga-cockpit-player-card .nld-player-card-chip { min-height: 48px; }
}

@media (max-width: 760px) {
  .nld-player-profile--liga-focus { width: calc(100vw - 16px); max-width: calc(100vw - 16px); }
  .nld-liga-cockpit { padding: 12px; border-radius: 16px; }
  .nld-liga-cockpit-head { display: grid; gap: 10px; }
  .nld-liga-cockpit-head-actions { justify-content: flex-start; }
  .nld-liga-cockpit-season-pill,
  .nld-liga-cockpit-settings { min-height: 34px; }
  .nld-liga-cockpit-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .nld-liga-cockpit-nav-item { min-height: 76px; padding: 9px; }
  .nld-liga-cockpit-priority,
  .nld-liga-cockpit-season { padding: 11px; }
  .nld-liga-cockpit-player-card .nld-player-card-top { grid-template-columns: 92px minmax(0, 1fr); gap: 9px; padding: 10px; }
  .nld-liga-cockpit-player-card .nld-player-card-photo { width: 92px; height: 92px; flex-basis: 92px; }
  .nld-liga-cockpit-player-card .nld-player-card-identity { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 7px; }
  .nld-liga-cockpit-player-card .nld-player-card-title,
  .nld-liga-cockpit-player-card .nld-player-card-actions,
  .nld-liga-cockpit-player-card .nld-player-card-chips { grid-column: 1; grid-row: auto; }
  .nld-liga-cockpit-player-card .nld-player-card-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .nld-liga-cockpit-player-card .nld-player-card-chip { min-height: 44px; padding: 7px 6px; }
  .nld-liga-achievement-grid--all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nld-liga-achievement-all > summary { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 8px; }
  .nld-liga-achievement-all > summary::after { position: absolute; right: 24px; }
  .nld-liga-achievement-all > summary strong { margin-left: 0; }
}

@media (max-width: 430px) {
  .nld-liga-cockpit-context { gap: 4px 7px; }
  .nld-liga-cockpit-nav-item { min-height: 76px; }
  .nld-liga-cockpit-nav-item > i { width: 25px; height: 25px; }
  .nld-liga-cockpit-nav-item > strong { font-size: 0.8rem; }
  .nld-liga-cockpit-player-card .nld-player-card-top { grid-template-columns: 82px minmax(0, 1fr); }
  .nld-liga-cockpit-player-card .nld-player-card-photo { width: 82px; height: 82px; flex-basis: 82px; }
  .nld-liga-cockpit-last-result { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .nld-liga-achievement-grid--all { grid-template-columns: minmax(0, 1fr); }
  .nld-liga-achievement-levels { display: grid; width: 100%; }
  .nld-liga-achievement-levels-popover {
    position: static;
    display: none;
    width: 100%;
    max-width: 100%;
    margin-top: 7px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nld-liga-achievement-levels:hover .nld-liga-achievement-levels-popover,
  .nld-liga-achievement-levels:focus .nld-liga-achievement-levels-popover,
  .nld-liga-achievement-levels:focus-within .nld-liga-achievement-levels-popover { display: grid; transform: none; }
}

/* Einheitliche Neon-Achievementgrafiken und persoenliche Matchkarten 1.1.224. */
.nld-achievement-art {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  border-radius: 50%;
  background-color: transparent;
  background-repeat: no-repeat;
  background-origin: border-box;
  background-clip: border-box;
  filter: saturate(1.06) contrast(1.03);
  transition: transform .18s ease, filter .18s ease;
}

.nld-achievement-art--matches,
.nld-achievement-art--matchwinner,
.nld-achievement-art--win_streak,
.nld-achievement-art--whitewash,
.nld-achievement-art--checkout_hunter,
.nld-achievement-art--fast_leg {
  background-image: url("achievement-icons-core-v3.png");
  background-size: 344% 229.333%;
}

.nld-achievement-art--matches { background-position: 5.25% 7%; }
.nld-achievement-art--matchwinner { background-position: 50% 7%; }
.nld-achievement-art--win_streak { background-position: 94.5% 7%; }
.nld-achievement-art--whitewash { background-position: 5.25% 89%; }
.nld-achievement-art--checkout_hunter { background-position: 50% 89%; }
.nld-achievement-art--fast_leg { background-position: 94.5% 89%; }

.nld-achievement-art--precision,
.nld-achievement-art--first_nine_fire,
.nld-achievement-art--century_club,
.nld-achievement-art--highscore_express,
.nld-achievement-art--power_170,
.nld-achievement-art--maximum_machine {
  background-image: url("achievement-icons-scores-v2.png");
  background-size: 324% 216%;
}

.nld-achievement-art--precision { background-position: 2% 4.25%; }
.nld-achievement-art--first_nine_fire { background-position: 50% 4.25%; }
.nld-achievement-art--century_club { background-position: 98% 4.25%; }
.nld-achievement-art--highscore_express { background-position: 2% 96.5%; }
.nld-achievement-art--power_170 { background-position: 50% 96.5%; }
.nld-achievement-art--maximum_machine { background-position: 98% 96.5%; }

.nld-liga-achievement-icon {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid currentColor;
  background-image: radial-gradient(circle at 36% 28%, rgba(255, 255, 255, .16), transparent 38%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.035), 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 18px color-mix(in srgb, currentColor 16%, transparent);
}

.nld-liga-achievement-icon::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 4px;
  border-radius: inherit;
  background: currentColor;
  opacity: .08;
}

.nld-liga-achievement:not(.is-locked):hover .nld-achievement-art,
.nld-liga-achievement:not(.is-locked):focus-within .nld-achievement-art {
  transform: scale(1.08) rotate(-2deg);
  filter: saturate(1.18) contrast(1.06) brightness(1.08);
}
.nld-liga-achievement.is-locked .nld-liga-achievement-icon { box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.025); }

.nld-player-card-achievement > i,
.nld-player-card-achievement-row > i { overflow: hidden; }

/* Tooltips may overlap the following card, but must never be cropped by the
   compact public player card itself. */
.nld-player-card:has(.nld-player-card-achievement:hover),
.nld-player-card:has(.nld-player-card-achievement:focus-within) {
  z-index: 45;
  overflow: visible;
}

.nld-player-card-achievement .nld-liga-achievement-levels.is-compact,
.nld-player-card-achievement-row .nld-liga-achievement-levels.is-compact {
  margin-top: 1px;
}

.nld-liga-achievement-levels.is-compact .nld-liga-achievement-levels-trigger {
  color: #91dff2;
  font-size: .58rem;
  text-decoration-color: rgba(145, 223, 242, .62);
}

/* In the compact top badges the popover spans both badge columns. */
.nld-player-card-achievement .nld-liga-achievement-levels.is-compact {
  position: static;
}

.nld-player-card-achievement .nld-liga-achievement-levels.is-compact .nld-liga-achievement-levels-popover {
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  width: auto;
  max-width: none;
}

.nld-player-card-achievement:hover .nld-liga-achievement-levels-popover,
.nld-player-card-achievement:focus-within .nld-liga-achievement-levels-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Expanded player rows grow in place, so the last tooltip is never clipped. */
.nld-player-card-achievement-row .nld-liga-achievement-levels.is-compact {
  position: static;
  display: grid;
  width: 100%;
}

.nld-player-card-achievement-row .nld-liga-achievement-levels.is-compact .nld-liga-achievement-levels-popover {
  position: static;
  display: none;
  width: 100%;
  max-width: 100%;
  margin-top: 6px;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nld-player-card-achievement-row:hover .nld-liga-achievement-levels-popover,
.nld-player-card-achievement-row:focus-within .nld-liga-achievement-levels-popover {
  display: grid;
}

.nld-player-card-achievement .nld-liga-achievement-levels-popover > strong,
.nld-player-card-achievement-row .nld-liga-achievement-levels-popover > strong {
  overflow: visible;
  color: #fde68a;
  font-size: .76rem;
  white-space: normal;
}

.nld-liga-cockpit-nav-item.has-meta { grid-template-rows: 30px auto auto auto; }
.nld-liga-cockpit-nav-item.has-meta > small {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #9bb3c7;
  font-size: .66rem;
  font-weight: 750;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nld-liga-result-list { display: grid; gap: 10px; }
.nld-liga-result-card {
  display: grid;
  gap: 11px;
  padding: 13px;
  border: 1px solid rgba(35, 213, 255, .2);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(10, 27, 42, .88), rgba(7, 16, 27, .88));
}
.nld-liga-result-card.is-win { border-color: rgba(34, 197, 94, .38); }
.nld-liga-result-card.is-loss { border-color: rgba(100, 165, 205, .28); }
.nld-liga-result-card-head,
.nld-liga-result-matchup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.nld-liga-result-card-head time { color: #829aae; font-size: .7rem; }
.nld-liga-result-card-head > span {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(100, 165, 205, .12);
  color: #b9def2;
  font-size: .67rem;
  font-weight: 900;
}
.nld-liga-result-card.is-win .nld-liga-result-card-head > span { background: rgba(34, 197, 94, .14); color: #86efac; }
.nld-liga-result-matchup {
  justify-content: center;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(3, 10, 18, .34);
}
.nld-liga-result-matchup > span { min-width: 0; flex: 1 1 0; display: grid; gap: 2px; }
.nld-liga-result-matchup > span:last-child { text-align: right; }
.nld-liga-result-matchup small { color: #71899d; font-size: .61rem; font-weight: 850; text-transform: uppercase; }
.nld-liga-result-matchup strong { overflow: hidden; color: #eaf6ff; font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.nld-liga-result-matchup .is-you strong { color: #70e8ff; }
.nld-liga-result-matchup > b { flex: 0 0 auto; color: #fff; font-size: 1.2rem; }
.nld-liga-result-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.nld-liga-result-stats > div {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 9px;
  border: 1px solid rgba(35, 213, 255, .13);
  border-radius: 9px;
  background: rgba(6, 15, 25, .42);
}
.nld-liga-result-stats span { color: #7f99ad; font-size: .62rem; font-weight: 850; text-transform: uppercase; }
.nld-liga-result-stats strong { display: flex; align-items: baseline; gap: 5px; color: #eaf6ff; font-size: .8rem; }
.nld-liga-result-stats strong b:first-child { color: #64e4ff; }
.nld-liga-result-stats strong i { color: #526a7e; font-style: normal; }
.nld-liga-result-stats small { color: #62798d; font-size: .56rem; }
.nld-liga-result-link { justify-self: end; color: #65e5ff !important; font-size: .68rem; font-weight: 850; text-decoration: none !important; }

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

@media (max-width: 430px) {
  .nld-liga-cockpit-nav-item.has-meta > small { white-space: normal; }
  .nld-liga-result-card { padding: 10px; }
  .nld-liga-result-matchup strong { font-size: .76rem; }
  .nld-liga-result-matchup > b { font-size: 1rem; }
}

/* Achievement-Detailfenster 1.1.214: Die ganze Karte ist der Ausloeser. */
[data-nld-achievement-card] {
  position: relative;
  cursor: help;
  outline: none;
}

[data-nld-achievement-card]:focus-visible {
  box-shadow: 0 0 0 2px rgba(35, 213, 255, .62), 0 14px 34px rgba(0, 0, 0, .32);
}

.nld-liga-achievement.is-locked:hover,
.nld-liga-achievement.is-locked:focus-within,
.nld-liga-achievement.is-locked.is-info-open {
  opacity: 1;
  filter: none;
}

[data-nld-achievement-card] .nld-liga-achievement-levels,
[data-nld-achievement-card] .nld-liga-achievement-levels.is-compact {
  position: static;
  width: 0;
  height: 0;
  display: block;
  margin: 0;
}

[data-nld-achievement-card] .nld-liga-achievement-levels-popover,
.nld-player-card-achievement-row .nld-liga-achievement-levels.is-compact .nld-liga-achievement-levels-popover {
  position: absolute;
  z-index: 120;
  top: calc(100% + 10px);
  right: auto;
  bottom: auto;
  left: 50%;
  display: grid;
  gap: 11px;
  width: min(420px, calc(100vw - 34px));
  max-width: none;
  max-height: min(78vh, 650px);
  margin: 0;
  padding: 18px;
  overflow-y: auto;
  border: 1px solid rgba(35, 213, 255, .45);
  border-radius: 14px;
  background:
    radial-gradient(circle at 15% 0%, rgba(35, 213, 255, .14), transparent 42%),
    linear-gradient(145deg, #101d2a, #08111d 72%);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .62), 0 0 28px rgba(35, 213, 255, .11);
  color: #edf8ff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

[data-nld-achievement-card]:hover .nld-liga-achievement-levels-popover,
[data-nld-achievement-card]:focus .nld-liga-achievement-levels-popover,
[data-nld-achievement-card]:focus-within .nld-liga-achievement-levels-popover,
[data-nld-achievement-card].is-info-open .nld-liga-achievement-levels-popover,
.nld-player-card-achievement-row:hover .nld-liga-achievement-levels-popover,
.nld-player-card-achievement-row:focus-within .nld-liga-achievement-levels-popover {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nld-liga-achievement-popover-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.nld-liga-achievement-popover-head > i {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #73eaff;
  box-shadow: none;
  overflow: visible;
}

.nld-liga-achievement-popover-head > i .nld-achievement-art { box-shadow: 0 0 22px rgba(35, 213, 255, .17); }

.nld-liga-achievement-popover-head > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.nld-liga-achievement-popover-head strong {
  overflow: visible;
  color: #fff;
  font-size: .9rem;
  line-height: 1.2;
  white-space: normal;
}

.nld-liga-achievement-popover-head b {
  color: #6ee7ff;
  font-size: .72rem;
  line-height: 1.25;
}

.nld-liga-achievement-levels-evidence {
  color: #86a2b8;
  font-size: .68rem;
}

.nld-liga-achievement-levels-detail { font-size: .78rem; line-height: 1.45; }

.nld-liga-achievement-levels-popover ol {
  padding-top: 2px;
}

.nld-liga-achievement-level {
  min-height: 29px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
}

.nld-liga-achievement-level.is-reached {
  border-color: rgba(34, 197, 94, .2);
  background: rgba(34, 197, 94, .07);
}

.nld-liga-achievement-level.is-current {
  border-color: rgba(250, 204, 21, .34);
  background: rgba(250, 204, 21, .09);
}

.nld-player-card:has([data-nld-achievement-card]:hover),
.nld-player-card:has([data-nld-achievement-card]:focus-within),
.nld-player-card:has([data-nld-achievement-card].is-info-open) {
  z-index: 125;
  overflow: visible;
}

@media (hover: none), (pointer: coarse), (max-width: 520px) {
  [data-nld-achievement-card] {
    cursor: pointer;
  }

  .nld-player-card-achievement-badges {
    grid-template-columns: minmax(0, 1fr);
  }

  [data-nld-achievement-card].is-info-open .nld-liga-achievement-levels,
  [data-nld-achievement-card].is-info-open .nld-liga-achievement-levels.is-compact {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 10px;
  }

  [data-nld-achievement-card] .nld-liga-achievement-levels-popover,
  [data-nld-achievement-card]:hover .nld-liga-achievement-levels-popover,
  [data-nld-achievement-card]:focus .nld-liga-achievement-levels-popover,
  [data-nld-achievement-card]:focus-within .nld-liga-achievement-levels-popover {
    position: relative;
    z-index: 2;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
  }

  [data-nld-achievement-card].is-info-open .nld-liga-achievement-levels-popover {
    display: grid;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
}

/* Auf der Desktop-Spieleruebersicht gehoert das Detailfenster zur gesamten
   Zweierreihe. So wird es nicht auf die Breite eines halben Badges reduziert. */
@media (hover: hover) and (pointer: fine) and (min-width: 521px) {
  .nld-player-card-achievement-badges > .nld-player-card-achievement {
    position: static;
  }

  .nld-player-card-achievement-badges > .nld-player-card-achievement .nld-liga-achievement-levels.is-compact .nld-liga-achievement-levels-popover {
    top: calc(100% + 8px);
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    max-width: 100%;
    max-height: min(64vh, 520px);
    box-sizing: border-box;
    transform: translateY(-6px);
  }

  .nld-player-card-achievement-badges > .nld-player-card-achievement:hover .nld-liga-achievement-levels-popover,
  .nld-player-card-achievement-badges > .nld-player-card-achievement:focus .nld-liga-achievement-levels-popover,
  .nld-player-card-achievement-badges > .nld-player-card-achievement:focus-within .nld-liga-achievement-levels-popover {
    transform: translateY(0);
  }
}
