/* Dartclub Zwenkau – einheitliches helles Admin-Design */
:root{color-scheme:light;--dc-ink:#173b50;--dc-blue:#176c91;--dc-border:#dbe5ed;--dc-bg:#f1f5f9}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0!important;background:var(--dc-bg)!important;color:var(--dc-ink)!important;font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif!important}
body>header{background:linear-gradient(110deg,#12364f,#1b7899)!important;color:#fff!important;padding:24px max(20px,calc((100vw - 1180px)/2))!important;display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;box-shadow:0 4px 18px #173b501c}
body>header strong{font-size:1.15rem;letter-spacing:.015em}
body>header a,body>header nav a{color:#fff!important;text-decoration:none}
body>header a:hover{text-decoration:underline}
body>header nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body>header nav form{margin:0}
body>header nav button{background:#fff!important;color:#173b50!important;border:1px solid #ffffffaa!important}
main{width:min(1180px,100%);max-width:1180px!important;margin:30px auto!important;padding:0 20px 60px!important}
.panel,section.panel{max-width:none!important;background:#fff!important;color:var(--dc-ink)!important;border:1px solid var(--dc-border)!important;border-radius:16px!important;padding:clamp(18px,3vw,30px)!important;box-shadow:0 6px 24px #163b5010;margin:20px 0!important}
body:has(main.panel) main.panel{max-width:500px!important;margin:8vh auto!important}
h1,h2,h3{color:#173b50}h1{line-height:1.2}h2{line-height:1.3}
a{color:#11688b}a:hover{color:#0b4964}
.tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.tabs a{display:inline-flex;align-items:center;min-height:42px;background:#fff!important;color:#173b50!important;border:1px solid #d8e5ec!important;border-radius:999px!important;padding:9px 15px!important;text-decoration:none;font-weight:600;box-shadow:0 2px 8px #173b500a}
.tabs a:hover,.tabs a.active{background:#176c91!important;color:#fff!important;border-color:#176c91!important}
label{color:#24475b;font-weight:600}
input,textarea,select{max-width:100%;background:#fff!important;color:#173b50!important;border:1px solid #c9d7e1!important;border-radius:9px!important;padding:11px 12px;font:inherit}
input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select{max-width:100%}
input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #8ecde5;outline-offset:1px;border-color:#176c91!important}
input[type=checkbox],input[type=radio]{width:auto;accent-color:#176c91}
button,.button,input[type=submit]{background:#176c91!important;color:#fff!important;border:1px solid #176c91!important;border-radius:9px!important;padding:10px 17px;font:inherit;font-weight:700;cursor:pointer}
button:hover,.button:hover,input[type=submit]:hover{background:#10516f!important}
button.danger{background:#fff1ef!important;color:#9b3026!important;border-color:#efc5bf!important}
button.danger:hover{background:#ffe2dd!important}
.item,.user,.season-entry,.match,.archive-entry{border-color:#e0e8ef!important}
.player,.gallery-box,.record-card{background:#fff!important;color:#173b50!important;border:1px solid #dce6ed!important;border-radius:14px!important;box-shadow:0 3px 14px #173b500b}
.avatar{background:#e8f0f5!important}
.hint,small{color:#607789!important}
.error{color:#a51f28!important;background:#fff0f0;border:1px solid #f2c7c7;padding:12px;border-radius:8px}
.notice{background:#eef8f0!important;color:#23623b!important;border:1px solid #a8d3b5!important;border-radius:9px!important}
summary{cursor:pointer}
@media(max-width:650px){body>header{padding:18px 14px!important}main{padding:0 12px 40px!important;margin:18px auto!important}.panel{padding:18px!important}.tabs{gap:7px}.tabs a{font-size:14px;padding:8px 11px!important}.item{flex-direction:column;align-items:stretch}}

/* Dartclub Zwenkau: Admin-Oberflaeche mobil, Oktober 2026. Rein visuelle Anpassung. */
html,body{max-width:100%;overflow-x:clip}
*,*::before,*::after{box-sizing:border-box}
main,.panel,form,.item{min-width:0}
img,video,svg{max-width:100%;height:auto}
table{max-width:100%}
/* Breite Tabellen bleiben horizontal bedienbar, ohne die gesamte Seite zu verbreitern. */
.panel{overflow-wrap:anywhere}
.panel:has(> table),.panel:has(> .table),.panel:has(> .table-wrap){overflow-x:auto;overscroll-behavior-inline:contain}
@media(max-width:700px){
  body>header,main{max-width:100%}
  main{width:100%;margin-inline:auto}
  .panel{padding:clamp(14px,4vw,20px)!important}
  .tabs{display:flex;flex-wrap:wrap;max-width:100%}
  .tabs a{max-width:100%;min-height:44px;display:inline-flex;align-items:center}
  button,.button,input[type=submit],input[type=button],select{min-height:44px}
  input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select{font-size:16px}
  table{font-size:14px}
  th,td{vertical-align:top}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:0.01ms!important;animation-duration:0.01ms!important}}
