/* ttsnap Theme: Hell ist das bisherige Design (keine Regeln). Dunkel: Ozeannachtblau mit matt-orangener Schrift. */
button.tt-theme-toggle,button.tt-theme-toggle:hover{position:fixed;right:14px;bottom:14px;z-index:2000;margin:0;padding:6px 12px;border:1px solid #d9def8;border-radius:999px;background:#fff;color:#012970;font:700 13px/1.2 Arial,sans-serif;box-shadow:0 4px 14px rgba(1,41,112,.18);cursor:pointer;transform:none;}
@media print{.tt-theme-toggle{display:none !important;}}
@media screen{
html[data-theme="dark"]{color-scheme:dark;}
html[data-theme="dark"] body{color:#e6b07a;background:radial-gradient(circle at 8% 0%,rgba(36,116,160,.38),transparent 28%),radial-gradient(circle at 100% 8%,rgba(217,140,74,.14),transparent 26%),linear-gradient(165deg,#06121f 0%,#0a1f36 50%,#0d2742 100%) fixed !important;}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] h4{color:#f2c791 !important;}
html[data-theme="dark"] p,html[data-theme="dark"] label,html[data-theme="dark"] li,html[data-theme="dark"] legend{color:#e6b07a !important;}
html[data-theme="dark"] a{color:#f2b36e;} html[data-theme="dark"] a:hover{color:#ffd7a8;}
html[data-theme="dark"] .error-text{color:#ff9a8a !important;} html[data-theme="dark"] .success-text{color:#8fe0a8 !important;}
html[data-theme="dark"] .container,html[data-theme="dark"] .page-card{background:rgba(11,33,59,.9) !important;border-color:#2a5a89 !important;box-shadow:0 16px 40px rgba(0,0,0,.45) !important;}
html[data-theme="dark"] button,html[data-theme="dark"] input[type="submit"],html[data-theme="dark"] input[type="button"],html[data-theme="dark"] .blue-button,html[data-theme="dark"] .blue-button-thick,html[data-theme="dark"] .light-blue-button,html[data-theme="dark"] .turnament-btn{background:#1f5589 !important;color:#ffe3c2 !important;box-shadow:0 8px 18px rgba(0,0,0,.4) !important;}
html[data-theme="dark"] button:hover,html[data-theme="dark"] input[type="submit"]:hover,html[data-theme="dark"] input[type="button"]:hover,html[data-theme="dark"] .blue-button:hover,html[data-theme="dark"] .blue-button-thick:hover,html[data-theme="dark"] .light-blue-button:hover,html[data-theme="dark"] .turnament-btn:hover{background:#2a6aa8 !important;}
html[data-theme="dark"] a.blue-button,html[data-theme="dark"] a.blue-button:hover,html[data-theme="dark"] a.light-blue-button,html[data-theme="dark"] a.light-blue-button:hover{color:#ffe3c2 !important;}
html[data-theme="dark"] .light-blue-button{background:#2b5f93 !important;} html[data-theme="dark"] .red-button,html[data-theme="dark"] input.red-button{background:#8f3b47 !important;color:#ffe3c2 !important;}
html[data-theme="dark"] button.tt-speak{background:transparent !important;color:#f0b06e !important;box-shadow:none !important;} html[data-theme="dark"] button.tt-speak:hover,html[data-theme="dark"] button.tt-speak[aria-pressed="true"]{background:rgba(240,176,110,.18) !important;}
html[data-theme="dark"] .tt-phase-druck .tt-phase-button{background:#123a63 !important;border:1px solid #2f628f !important;color:#f0c08a !important;box-shadow:none !important;} html[data-theme="dark"] .tt-phase-druck .tt-phase-button:hover{background:#1a4a7a !important;} html[data-theme="dark"] .tt-phase-druck .tt-phase-all{background:#17466f !important;} html[data-theme="dark"] .tt-phase-druck .tt-phase-label{color:#d9a56e !important;}
html[data-theme="dark"] button.tt-theme-toggle,html[data-theme="dark"] button.tt-theme-toggle:hover{background:#0f2a47 !important;border-color:#2f628f !important;color:#f0c08a !important;box-shadow:0 4px 14px rgba(0,0,0,.5) !important;}
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="hidden"]),html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#0c2340 !important;color:#f1cba0 !important;border-color:#2f628f !important;}
html[data-theme="dark"] input.verein-clash{background:#8a4a14 !important;} html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#a9845f;}
html[data-theme="dark"] table{background:#0f2a47 !important;box-shadow:0 0 0 1px #24507d,0 10px 26px rgba(0,0,0,.45) !important;}
html[data-theme="dark"] th{background:#1b4a78 !important;color:#ffd9b0 !important;} html[data-theme="dark"] td{color:#e6b07a;} html[data-theme="dark"] th,html[data-theme="dark"] td{border-bottom-color:#24507d !important;}
html[data-theme="dark"] tr:hover td{background:rgba(240,163,94,.14) !important;} html[data-theme="dark"] tr:hover{background-color:transparent !important;}
html[data-theme="dark"] tr.zeile-offen > td{background:#4a3320 !important;} html[data-theme="dark"] tr.zeile-offen:hover > td{background:#5a3f27 !important;} html[data-theme="dark"] .offen-hinweis{color:#ffb766;}
html[data-theme="dark"] .section-divider,html[data-theme="dark"] hr{background:linear-gradient(90deg,#d98c4a,rgba(217,140,74,.15)) !important;}
html[data-theme="dark"] .group-board .gruppen-matrix td:has(> .matrix-diagonal){background:#143559 !important;} html[data-theme="dark"] .matrix-diagonal{color:#8fa9c7;} html[data-theme="dark"] .matrix-zelle b{color:#f2c791;} html[data-theme="dark"] .red-cross{color:#ff7b7b;}
html[data-theme="dark"] .import-card,html[data-theme="dark"] [class*="ko-" i]:not(:where(.ko-baum-scroll,.ko-baum-scroll *)):has(*),html[data-theme="dark"] [class*="match" i]:has(*),html[data-theme="dark"] [class*="spielkasten" i]:has(*),html[data-theme="dark"] .ko-box:has(*),html[data-theme="dark"] .ko-spiel:has(*){border-color:#2a5a89 !important;border-left-color:#d98c4a !important;background:linear-gradient(135deg,#112d4d 0%,#0e2543 60%,#0c2f45 100%) !important;color:#e6b07a !important;box-shadow:0 10px 24px rgba(0,0,0,.4);}
html[data-theme="dark"] .import-card:hover,html[data-theme="dark"] [class*="ko-" i]:not(:where(.ko-baum-scroll,.ko-baum-scroll *)):has(*):hover,html[data-theme="dark"] [class*="match" i]:has(*):hover,html[data-theme="dark"] [class*="spielkasten" i]:has(*):hover,html[data-theme="dark"] .ko-box:has(*):hover,html[data-theme="dark"] .ko-spiel:has(*):hover{background:#17406b !important;}
html[data-theme="dark"] [class*="ko-" i]:not(:where(.ko-baum-scroll,.ko-baum-scroll *)):not(:has(*)),html[data-theme="dark"] [class*="match" i]:not(:has(*)),html[data-theme="dark"] [class*="spielkasten" i]:not(:has(*)),html[data-theme="dark"] .ko-box:not(:has(*)),html[data-theme="dark"] .ko-spiel:not(:has(*)){border-color:transparent !important;background:transparent !important;box-shadow:none !important;}
html[data-theme="dark"] .ko-baum .ko-baum-partie::before,html[data-theme="dark"] .ko-baum .ko-baum-partie::after{border-color:#6f95bd !important;} html[data-theme="dark"] .ko-baum .ko-baum-ergebnis{color:#f2b36e;}
html[data-theme="dark"] dialog,html[data-theme="dark"] .konkurrenz-dialog{background:#0f2a47;color:#e6b07a;} html[data-theme="dark"] dialog::backdrop{background:rgba(2,10,20,.6);}
html[data-theme="dark"] .eng-toggle{background:#0f2a47 !important;border-color:#24507d !important;color:#f0c08a !important;} html[data-theme="dark"] .slider{background:#2b4f75;} html[data-theme="dark"] input:checked + .slider{background:#d98c4a;}
html[data-theme="dark"] .tt-ansage-status{background:#0f2a47;color:#f0c08a;border-color:#2f628f;} html[data-theme="dark"] .dg21-fehler{background:#4a1f26;color:#ffb3bd;border-color:#a54;} html[data-theme="dark"] .id-tip{background:#d98c4a;color:#06121f;}
html[data-theme="dark"] img[src$=".svg"]{filter:invert(.85);} html[data-theme="dark"] iframe{background:#fff;}
}
