/* App – Turnier anlegen (Präfix tu-) */
.tu { gap: 12px; }
.tu-form { display: flex; flex-direction: column; gap: 12px; }
.tu .ap-field input[type="date"] { color-scheme: inherit; }
.tu-lbl { font-size: 12px; color: var(--ap-muted); margin-bottom: 6px; }
.tu-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tu-chip { font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 44px; border-radius: 14px; border: 1px solid var(--ap-line); background: var(--ap-card); color: var(--ap-text); }
.tu-chip[aria-pressed="true"] { border-color: var(--ap-gold); background: rgba(227,179,65,.14); color: var(--ap-gold-t); }
.tu-boards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.tu-board { position: relative; cursor: pointer; }
.tu-board input { position: absolute; opacity: 0; pointer-events: none; }
.tu-board span { min-height: 44px; border-radius: 14px; border: 1px solid var(--ap-line); background: var(--ap-card); color: var(--ap-text); font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.tu-board input:checked + span { border-color: var(--ap-gold); background: rgba(227,179,65,.14); color: var(--ap-gold-t); }
.tu-board input:focus-visible + span { outline: 2px solid var(--ap-gold); outline-offset: 2px; }
.tu-box { position: relative; background: var(--ap-card); border: 1px solid var(--ap-line); border-radius: 22px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; }
.tu-box > span:first-child { font-size: 14px; flex: 1; min-width: 0; }
.tu-box input[type="number"] { width: 84px; font-size: 22px; font-weight: 600; color: var(--ap-gold-t); background: transparent; border: 1px solid transparent; border-radius: 12px; padding: 4px 6px; text-align: right; -moz-appearance: textfield; }
.tu-box input[type="number"]:focus { outline: none; border-color: var(--ap-gold); }
.tu-box input[type="number"]::placeholder { color: var(--ap-gold-t); }
.tu-box input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.tu-sw { width: 50px; height: 30px; flex: none; border-radius: 999px; background: var(--ap-line); position: relative; transition: background .2s; }
.tu-sw::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; transition: left .2s; }
.tu-box input:checked + .tu-sw { background: var(--ap-green); }
.tu-box input:checked + .tu-sw::after { left: 24px; }
.tu-box input:focus-visible + .tu-sw { outline: 2px solid var(--ap-gold); outline-offset: 2px; }
.tu-hint { font-size: 13px; color: var(--ap-muted); text-align: center; line-height: 1.4; }
.tu-del { width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1px solid var(--ap-line); background: transparent; color: var(--ap-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tu-del:hover { color: var(--ap-red-t); border-color: rgba(220,38,38,.45); }
