/* Dutch Turf v1: scoped skin, classic is the unchanged template baseline. */
:root[data-theme="dutch-turf"] {
  color-scheme: dark;
  --bg: #06110b;
  --deep: #040d08;
  --card: #12251a;
  --text: #f6fff9;
  --muted: #bfd0c2;
  --green: #b9ff49;
  --green2: #7cf5ba;
  --danger: #ffaaa5;
  --line: #ffffff30;
  --surface-inset: #0b1b13e8;
  --surface-hover: #ffffff0e;
  --glass: linear-gradient(180deg, #ffffff1a, #ffffff08 50%, #ffffff00), #08120ecc;
  --glass-dialog: linear-gradient(180deg, #ffffff12, #ffffff03), #0a1b12f5;
  --glass-edge: inset 0 1px 0 #ffffff20, inset 0 -1px 1px #ffffff12;
  --shadow: 0 20px 40px #10170050;
  --radius-panel: 24px;
  --radius-card: 22px;
  --radius-control: 12px;
  --accent-border: #b9ff4966;
  --accent-tint: #b9ff4912;
  --accent-ink: #09140d;
}
:root[data-theme="dutch-turf"] body {
  background: var(--bg);
  color: var(--text);
  isolation: isolate;
}
:root[data-theme="dutch-turf"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% -15%, #caffbb33, transparent 60%),
    linear-gradient(180deg, #08120e63, #000804b8),
    url('/assets/dutch-turf.jpg') center / cover no-repeat;
}
:root[data-theme="dutch-turf"] aside {
  background: linear-gradient(180deg, #ffffff0c, #ffffff03), #08120ee8;
  border-color: var(--line);
  box-shadow: 12px 0 40px #0003;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
:root[data-theme="dutch-turf"] nav button {color: var(--muted)}
:root[data-theme="dutch-turf"] .nav-icon {color: #bed2bd}
:root[data-theme="dutch-turf"] nav button:hover,
:root[data-theme="dutch-turf"] nav button.active {
  background: #ffffff0c;
  border-color: #ffffff1f;
  color: var(--text);
}
:root[data-theme="dutch-turf"] nav button.active {box-shadow: inset 3px 0 var(--green)}
:root[data-theme="dutch-turf"] .footer-dot {box-shadow: 0 0 12px #b9ff4960}
:root[data-theme="dutch-turf"] .panel,
:root[data-theme="dutch-turf"] .stat,
:root[data-theme="dutch-turf"] .club-card {
  background: var(--glass);
  border-color: var(--line);
  box-shadow: var(--shadow), var(--glass-edge);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
:root[data-theme="dutch-turf"] .panel,
:root[data-theme="dutch-turf"] .stat {border-radius: var(--radius-panel)}
:root[data-theme="dutch-turf"] .grid > *,
:root[data-theme="dutch-turf"] .panel {min-width: 0}
:root[data-theme="dutch-turf"] .club-card {border-radius: var(--radius-card)}
:root[data-theme="dutch-turf"] .stat::after,
:root[data-theme="dutch-turf"] .club-card::before {background: #b9ff490a}
:root[data-theme="dutch-turf"] .team-card,
:root[data-theme="dutch-turf"] .detail-card {
  background: var(--glass-dialog);
  border-color: #ffffff38;
  border-radius: var(--radius-panel);
  color: var(--text);
  box-shadow: 0 28px 90px #0009, var(--glass-edge);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
:root[data-theme="dutch-turf"] .modal {background: #000804b8}
:root[data-theme="dutch-turf"] dialog.detail-card::backdrop {background: #000804b8}
:root[data-theme="dutch-turf"] .quick-card-close {background: #0b1b13f5}
:root[data-theme="dutch-turf"] button,
:root[data-theme="dutch-turf"] select,
:root[data-theme="dutch-turf"] input,
:root[data-theme="dutch-turf"] textarea {
  background: var(--surface-inset);
  border-color: var(--line);
  border-radius: var(--radius-control);
  color: var(--text);
  accent-color: var(--green);
}
:root[data-theme="dutch-turf"] button {
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
:root[data-theme="dutch-turf"] button:hover:enabled {border-color: #ffffff60}
:root[data-theme="dutch-turf"] button:focus-visible,
:root[data-theme="dutch-turf"] select:focus-visible,
:root[data-theme="dutch-turf"] input:focus-visible,
:root[data-theme="dutch-turf"] textarea:focus-visible,
:root[data-theme="dutch-turf"] a:focus-visible,
:root[data-theme="dutch-turf"] summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  box-shadow: none;
}
:root[data-theme="dutch-turf"] input:focus,
:root[data-theme="dutch-turf"] select:focus {border-color: var(--green)}
:root[data-theme="dutch-turf"] input::placeholder,
:root[data-theme="dutch-turf"] textarea::placeholder {color: #a7b9ac; opacity: 1}
:root[data-theme="dutch-turf"] select option {background: #102018; color: var(--text)}
:root[data-theme="dutch-turf"] .refresh,
:root[data-theme="dutch-turf"] .auth-page button,
:root[data-theme="dutch-turf"] .auth-page .submit {
  background: linear-gradient(164deg, #d9ff8a, #b9ff49 48%, #7cf5ba);
  border: 1px solid #ffffff6b;
  border-radius: 15px;
  color: var(--accent-ink);
  box-shadow: inset 0 1px 0 #ffffffb8, 0 8px 22px #a7ff4b1f;
}
:root[data-theme="dutch-turf"] .refresh:hover:enabled,
:root[data-theme="dutch-turf"] .auth-page button:hover:enabled {filter: brightness(1.04)}
:root[data-theme="dutch-turf"] .back,
:root[data-theme="dutch-turf"] .logout,
:root[data-theme="dutch-turf"] .status-action,
:root[data-theme="dutch-turf"] .cost-action,
:root[data-theme="dutch-turf"] .compare-button,
:root[data-theme="dutch-turf"] .review-feedback button,
:root[data-theme="dutch-turf"] .updates-tools button {
  background: #ffffff0c;
  border-color: var(--line);
  color: var(--text);
  box-shadow: none;
}
:root[data-theme="dutch-turf"] .tab {background: #ffffff0a; border-color: var(--line); color: var(--muted)}
:root[data-theme="dutch-turf"] .tab.active,
:root[data-theme="dutch-turf"] .updates-tools button[aria-pressed=true] {
  background: var(--green);
  color: var(--accent-ink);
  border-color: var(--green);
  box-shadow: none;
}
:root[data-theme="dutch-turf"] .team-link,
:root[data-theme="dutch-turf"] .roster-toggle {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--green2);
}
:root[data-theme="dutch-turf"] .team-link:hover:enabled,
:root[data-theme="dutch-turf"] .roster-toggle:hover:enabled {text-decoration: underline}
:root[data-theme="dutch-turf"] .skip-button,
:root[data-theme="dutch-turf"] .cost-delete {
  color: #ffc1bb;
  border-color: #ffaaa559;
  background: #331b1bd9;
}
:root[data-theme="dutch-turf"] .notice,
:root[data-theme="dutch-turf"] .match-context,
:root[data-theme="dutch-turf"] .prediction-strip,
:root[data-theme="dutch-turf"] .review-feedback {
  background: var(--surface-inset);
  border-color: var(--accent-border);
}
:root[data-theme="dutch-turf"] .chip,
:root[data-theme="dutch-turf"] .tag,
:root[data-theme="dutch-turf"] .side-badge {
  background: var(--accent-tint);
  color: var(--green);
  border-color: var(--accent-border);
}
:root[data-theme="dutch-turf"] .league-badge {background: #0b1b13ed; color: #d7e9d9; border-color: #ffffff40}
:root[data-theme="dutch-turf"] .elo-badge {background: var(--surface-inset); border-color: var(--accent-border)}
:root[data-theme="dutch-turf"] .crest-stage {
  background: radial-gradient(circle at 50% 30%, #233f2a, #0b1b13 75%);
  border-color: var(--line);
}
:root[data-theme="dutch-turf"] .crest-fallback {
  background: linear-gradient(145deg, #25432c, #0b1b13);
  border-color: var(--accent-border);
}
:root[data-theme="dutch-turf"] .profile-metric,
:root[data-theme="dutch-turf"] .club-stat,
:root[data-theme="dutch-turf"] .card-model,
:root[data-theme="dutch-turf"] .roster-panel,
:root[data-theme="dutch-turf"] .chart,
:root[data-theme="dutch-turf"] .candidate-card,
:root[data-theme="dutch-turf"] .news-item,
:root[data-theme="dutch-turf"] .process-flow article,
:root[data-theme="dutch-turf"] .performance-pane,
:root[data-theme="dutch-turf"] .shadow-market,
:root[data-theme="dutch-turf"] .update-card,
:root[data-theme="dutch-turf"] .outcome-market,
:root[data-theme="dutch-turf"] .market-option,
:root[data-theme="dutch-turf"] .outcome-option {
  background: var(--surface-inset);
  border-color: var(--line);
}
:root[data-theme="dutch-turf"] .club-fact,
:root[data-theme="dutch-turf"] .club-footer,
:root[data-theme="dutch-turf"] .card-source,
:root[data-theme="dutch-turf"] .player-list li {
  border-color: var(--line);
  color: var(--muted);
}
:root[data-theme="dutch-turf"] .club-fact strong,
:root[data-theme="dutch-turf"] .player-list li {color: var(--text)}
:root[data-theme="dutch-turf"] .market-pick {background: #ffffff0a; border-color: var(--line)}
:root[data-theme="dutch-turf"] .market-option:hover,
:root[data-theme="dutch-turf"] .market-option:focus-visible,
:root[data-theme="dutch-turf"] .market-option.active,
:root[data-theme="dutch-turf"] .market-pick:hover,
:root[data-theme="dutch-turf"] .market-pick:focus-visible,
:root[data-theme="dutch-turf"] .market-pick.selected,
:root[data-theme="dutch-turf"] .outcome-option.selected {
  border-color: var(--green);
  background: #233b1bf5;
}
:root[data-theme="dutch-turf"] .twin-versus {background: #0b1b13; border-color: var(--accent-border)}
:root[data-theme="dutch-turf"] .match-context footer a {color: var(--green2)}
:root[data-theme="dutch-turf"] .updates-form textarea {background: var(--surface-inset); border-color: var(--line)}
:root[data-theme="dutch-turf"] th {background: #ffffff08; color: var(--muted)}
:root[data-theme="dutch-turf"] td,
:root[data-theme="dutch-turf"] th {border-color: #ffffff24}
:root[data-theme="dutch-turf"] tbody tr:hover {background: var(--surface-hover)}
:root[data-theme="dutch-turf"] .scroll {scrollbar-color: #52784c #0b1b13}
:root[data-theme="dutch-turf"] .value-glow {
  border-color: var(--green)!important;
  box-shadow: 0 0 0 1px #b9ff4940, 0 0 28px #b9ff4926!important;
}
:root[data-theme="dutch-turf"] .featured-analysis {border-color: #d8b846; box-shadow: 0 0 32px #e9c85b3b, var(--shadow)}
:root[data-theme="dutch-turf"] .update-card.is-pinned {border-top-color: #e9c85b}
:root[data-theme="dutch-turf"] .auth-page .card {
  background: var(--glass);
  border-color: var(--line);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow), var(--glass-edge);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
:root[data-theme="dutch-turf"] .auth-page input,
:root[data-theme="dutch-turf"] .auth-page .amount,
:root[data-theme="dutch-turf"] .auth-page .choice {
  background: var(--surface-inset);
  border-color: var(--line);
}
:root[data-theme="dutch-turf"] .auth-page .choice:has(input:checked) {background: #233b1bf5; border-color: var(--green)}
:root[data-theme="dutch-turf"] .auth-page .amount input {background: transparent}
:root[data-theme="dutch-turf"] .auth-page .notice {color: #d2ebcf; background: #0b1b13e8}
:root[data-theme="dutch-turf"] .auth-page .mark {
  background: linear-gradient(135deg, var(--green), var(--green2));
  color: var(--accent-ink);
}
@media(max-width:720px) {
:root[data-theme="dutch-turf"] aside {background: #08120ef2; box-shadow: 0 -8px 24px #0004}
:root[data-theme="dutch-turf"] nav {grid-template-columns: repeat(7, minmax(0, 1fr))}
:root[data-theme="dutch-turf"] nav button {font-size: clamp(8px, 2.3vw, 10px); padding-inline: 1px}
:root[data-theme="dutch-turf"] nav button.active {box-shadow: inset 0 3px var(--green)}
:root[data-theme="dutch-turf"] .panel,
:root[data-theme="dutch-turf"] .stat {border-radius: 18px}
}
@media(max-width:430px) {
:root[data-theme="dutch-turf"] .header-actions {grid-template-columns: minmax(0, 1fr) auto}
:root[data-theme="dutch-turf"] .header-actions .account {grid-column: 1 / -1}
:root[data-theme="dutch-turf"] .header-actions .refresh {max-width: 135px}
}
@supports not (backdrop-filter: blur(1px)) {
:root[data-theme="dutch-turf"] .panel,
:root[data-theme="dutch-turf"] .stat,
:root[data-theme="dutch-turf"] .club-card,
:root[data-theme="dutch-turf"] .auth-page .card {background: #12251af5}
}
@media(prefers-reduced-motion:reduce) {
:root[data-theme="dutch-turf"] button {transition: none}
}
@media(forced-colors:active) {
:root[data-theme="dutch-turf"] body::before {display: none}
:root[data-theme="dutch-turf"] body,
:root[data-theme="dutch-turf"] aside,
:root[data-theme="dutch-turf"] .panel,
:root[data-theme="dutch-turf"] .stat,
:root[data-theme="dutch-turf"] .club-card,
:root[data-theme="dutch-turf"] .detail-card,
:root[data-theme="dutch-turf"] .auth-page .card,
:root[data-theme="dutch-turf"] button,
:root[data-theme="dutch-turf"] input,
:root[data-theme="dutch-turf"] select,
:root[data-theme="dutch-turf"] textarea {background: Canvas; color: CanvasText; box-shadow: none}
:root[data-theme="dutch-turf"] button,
:root[data-theme="dutch-turf"] input,
:root[data-theme="dutch-turf"] select,
:root[data-theme="dutch-turf"] textarea {border-color: ButtonText}
:root[data-theme="dutch-turf"] button:focus-visible,
:root[data-theme="dutch-turf"] a:focus-visible,
:root[data-theme="dutch-turf"] summary:focus-visible {outline-color: Highlight}
}

/* Keep the photo independent from document length and scrollbar changes. */
:root[data-theme="dutch-turf"] body::before {
  inset: 0 auto auto 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
}
/* Smokey contrast layer, intentionally without a glass border or blur. */
:root[data-theme="dutch-turf"] body:not(.auth-page) > main {
  background: #06110b66;
  border-radius: 24px;
}
:root[data-theme="dutch-turf"] .team-link,
:root[data-theme="dutch-turf"] .roster-toggle {color:var(--green)}
:root[data-theme="dutch-turf"] .auth-page .theme-control select {
  background:var(--surface-inset); border-color:var(--line);
}
@media(forced-colors:active) {
  :root[data-theme="dutch-turf"] body:not(.auth-page) > main {background:Canvas}
}

:root[data-theme="dutch-turf"] nav button {
  background:transparent; border-color:transparent; box-shadow:none;
}
:root[data-theme="dutch-turf"] nav button:hover,
:root[data-theme="dutch-turf"] nav button.active {
  background:#ffffff0c; border-color:#ffffff1f;
}
:root[data-theme="dutch-turf"] nav button.active {box-shadow:inset 3px 0 var(--green)}
:root[data-theme="dutch-turf"] body:not(.auth-page) > main {min-height:100vh}
@media(max-width:720px) {
  :root[data-theme="dutch-turf"] nav button.active {box-shadow:inset 0 3px var(--green)}
  :root[data-theme="dutch-turf"] body:not(.auth-page) > main {min-height:calc(100svh - 76px)}
}
