:root{--navy:#271014;--accent:#fff000;--green:#7f2028;--mist:#fff7ed;--line:#efdfdc;--ink:#2a2023;--muted:#78676a;--red:#af1720}*{box-sizing:border-box}body{margin:0;background:#f5f8f4;color:var(--ink);font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}a{color:inherit}.shell{width:min(1140px,calc(100% - 32px));margin:auto}.top{background:var(--navy);color:white}.nav{display:flex;align-items:center;justify-content:space-between;min-height:74px;gap:15px}.brand{font-size:22px;font-weight:900;letter-spacing:-.8px;text-decoration:none}.brand small{color:#adc4bb;font-size:13px;font-weight:600}.ball,.dot{color:var(--accent)}nav{display:flex;gap:22px}nav a{font-size:13px;text-decoration:none;color:#e4f0e9}nav a:hover{color:var(--accent)}.hero{border-radius:0 0 26px 26px;padding:38px 34px;background:var(--navy);color:#f3f9f2;margin:0 0 22px;box-shadow:0 12px 25px #132b2510}.hero h1{font-size:clamp(34px,5vw,56px);line-height:1.08;letter-spacing:-1.5px;margin:4px 0 12px}.hero p{margin:5px 0 10px;color:#c0d8d0}.eyebrow{font-size:10px!important;text-transform:uppercase;letter-spacing:2px;font-weight:800;color:#749085!important}.hero .eyebrow{color:var(--accent)!important}.hero-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:23px}.hero-controls select{background:white;min-width:185px}.panel{background:#fff;border:1px solid var(--line);border-radius:17px;overflow:hidden;padding:20px;box-shadow:0 8px 24px #193c2a09}.panel.compact{max-width:530px;margin:22px auto}.groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:25px 0}.group-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;gap:8px}.group-head h2{font-size:22px;margin:0;letter-spacing:-.6px}.group-head p{margin:0}.smalltag{padding:7px 9px;border-radius:8px;background:var(--mist);font-size:11px;color:var(--green)}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:11px;text-transform:uppercase;letter-spacing:.4px;color:var(--muted);font-weight:700}td,th{padding:10px 6px;border-bottom:1px solid #edf0ec}td:nth-child(n+3),th:nth-child(n+3){text-align:right}tbody tr:last-child td{border-bottom:0}.rankball{background:#f0f2f0;width:23px;height:23px;border-radius:8px;display:inline-grid;place-items:center;font-size:11px;font-weight:800}.rankball.up{background:#ddf4e1;color:#15803d}.rankball.down{background:#fce8e5;color:#9b322c}.inactive{margin-left:7px;color:#c78627}.muted,.result{color:var(--muted)}.tiny{font-size:12px}.fixtures{border-top:1px solid var(--line);margin-top:11px;padding-top:8px}.fixtures h3{font-size:13px;margin:9px 0}.fixture{display:flex;align-items:center;justify-content:space-between;padding:11px 0;gap:9px;border-bottom:1px solid #f0f4ef}.fixture:last-child{border-bottom:0}.matchnames{font-size:13px;font-weight:700}.result{font-size:12px}.mini,.softbtn{background:#e5f6cd;color:#284a30;border:0;border-radius:9px;padding:8px 10px;font-weight:750;text-decoration:none;font-size:12px;cursor:pointer;white-space:nowrap}.softbtn{background:#345144;color:white}input,select,textarea{display:block;width:100%;font:inherit;padding:10px;border:1px solid #cbd7ce;background:#fff;border-radius:9px;color:var(--ink);margin:5px 0 13px}input:focus,select:focus{outline:2px solid #a3d06a}.entryform{background:#f6f9f4;border-radius:12px;padding:14px;margin:10px 0}.entryform[hidden]{display:none}.sets{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.sets label{font-size:11px;font-weight:700}.scorepair{display:flex;align-items:center;gap:4px}.scorepair input{min-width:0;text-align:center}.btn{background:var(--navy);color:white;border:0;border-radius:10px;padding:11px 16px;font-weight:800;cursor:pointer}.btn:hover{background:var(--green)}button:disabled{opacity:.5}.notice,.error{padding:13px 16px;margin:14px 0;border-radius:10px;background:#edf1e2;color:#455b32}.notice.success{background:#e1f5e4;color:#225f31}.error{background:#fce7e4;color:#923d34}.admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.admin-actions form{margin:0}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.group-edit{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}.group-edit input{margin:0 0 8px}.form-inline{display:flex;flex-wrap:wrap;align-items:end;gap:9px}.form-inline>*{flex:1;min-width:110px}.form-inline input,.form-inline select{margin-bottom:0}.tablewrap{overflow-x:auto}.footer{color:#839089;font-size:12px;padding:24px 4px 32px}.sr-only{position:absolute;left:-99999px}.linkfield{font-size:12px;word-break:break-all;background:#f0f5ec;padding:10px;border-radius:7px}details{margin:8px 0}summary{cursor:pointer;font-weight:bold}.status-chip{font-size:11px;border-radius:9px;padding:4px 8px;background:#eaf0e9;color:#2b5942}@media(max-width:760px){.groups,.admin-grid{grid-template-columns:1fr}.hero{padding:28px 20px}.panel{padding:15px}.nav{min-height:65px}.nav nav{gap:10px}.brand{font-size:18px}.brand small{display:none}nav a{font-size:12px}.sets{grid-template-columns:1fr 1fr}.sets label:last-child{grid-column:1/3}.rank td,.rank th{padding:9px 3px;font-size:12px}}

/* RTC Rosentaler Tennisclub CI 2026 */
body{background:#faf7f5}
.top{background:#fff;border-bottom:4px solid #b01620;color:#65121b;box-shadow:0 4px 24px #781d1b0b}
.nav{min-height:106px}.brand{display:flex;align-items:center;gap:17px}.rtc-logo{display:block;width:190px;max-height:88px;object-fit:contain;object-position:left center}.brand-caption{border-left:1px solid #e8d1d0;padding-left:17px;color:#9c1821;font-size:25px;line-height:1.1}.brand-caption small{display:block;color:#80666a;font-size:12px;letter-spacing:2px;text-transform:uppercase}
nav a{color:#8b2029;font-weight:750}nav a:hover{color:#b01620}
.hero{background:linear-gradient(115deg,#8f131b 0%,#b11620 70%,#b82425 100%);border-radius:0 0 28px 28px;position:relative;overflow:hidden}.hero:after{content:'';width:250px;height:250px;border:22px solid #fff000;border-radius:50%;position:absolute;right:-110px;bottom:-180px;opacity:.22;pointer-events:none}.hero p{color:#ffe8e2}.hero .eyebrow{color:#fff000!important}.hero .dot{color:#fff000}
.panel{border-color:#f1e4e1;box-shadow:0 8px 28px #75172008}.smalltag{background:#fff1d8;color:#8d1922}.rankball.up{background:#e7f5e2;color:#24662d}.rankball.down{background:#f8e3e3;color:#af1720}
.mini{background:#fff4cc;color:#8e1720}.mini:hover{background:#fff000}.softbtn{background:#fff8ee;color:#941820}.btn{background:#ac1720}.btn:hover{background:#790e16}.notice.success{background:#fef6ce;color:#745200}.notice{background:#fff4e2;color:#744e28}
input:focus,select:focus{outline:2px solid #d99c3e}.entryform{background:#fff9f4}.linkfield{background:#fff3d6}.confirm{display:flex;align-items:center;gap:8px;font-weight:650;font-size:13px;margin:8px 0 15px}.confirm input{width:18px;height:18px;flex:none;margin:0;accent-color:#b01620}.trap{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.nav{min-height:82px;flex-wrap:wrap;gap:0;padding:8px 0}.rtc-logo{width:127px;max-height:62px}.brand{gap:8px}.brand-caption{padding-left:8px;font-size:18px}.nav nav{gap:13px;padding:5px 0 8px}.nav nav a{font-size:11px}.hero-controls{gap:6px}}

/* RTC Corporate Design – korrigiert: 06.10.2026
   Clubfarben: Rot #ac171d, Gelb #f2ee04 */
:root {
  --navy:#611116;
  --accent:#f2ee04;
  --green:#ac171d;
  --red:#ac171d;
  --mist:#fffde7;
  --line:#eadcdd;
  --ink:#272124;
  --muted:#72686a;
  --rtc-red:#ac171d;
  --rtc-yellow:#f2ee04;
}
body{background:#faf9f6}
.top{background:#fff;border-bottom:3px solid var(--rtc-red);color:var(--rtc-red)}
.nav{min-height:72px;gap:18px;padding:7px 0}
.brand{display:inline-flex;align-items:center;flex:0 1 auto;gap:12px;min-width:0}
/* SVG is intentionally constrained regardless of its intrinsic dimensions */
.top .brand img.rtc-logo,
.brand .rtc-logo{width:116px!important;height:62px!important;max-width:116px!important;max-height:62px!important;min-width:0!important;flex:0 0 116px!important;object-fit:contain;object-position:center left}
.brand-caption{font-size:19px;letter-spacing:-.4px;color:var(--rtc-red);padding-left:12px;border-left:1px solid #ead9db;line-height:1.15}
.brand-caption small{font-size:10px;letter-spacing:1.5px;color:#77585b}
nav a{color:var(--rtc-red);font-weight:750}
nav a:hover,nav a:focus-visible{color:#791016}
.hero{background:linear-gradient(115deg,#791017 0%,var(--rtc-red) 75%,#b9272b 100%)}
.hero::after{border-color:var(--rtc-yellow)}
.hero .eyebrow,.hero .dot{color:var(--rtc-yellow)!important}
.eyebrow{color:#876769!important}
.panel{border-color:#e9dddd}
.smalltag,.mini{background:#fffbd0;color:#781319}
.mini:hover{background:var(--rtc-yellow);color:#4e1518}
.softbtn{background:#fff8d4;color:var(--rtc-red)}
.softbtn:hover{background:var(--rtc-yellow)}
.btn{background:var(--rtc-red);color:#fff}
.btn:hover{background:#801016}
.btn:focus-visible,.mini:focus-visible,.softbtn:focus-visible{outline:3px solid var(--rtc-yellow);outline-offset:2px}
.rankball.up{background:#f2ee04;color:#432121}
.rankball.down{background:#f9e4e5;color:var(--rtc-red)}
.notice{background:#fffbdc;color:#664d0b}
.notice.success{background:#f5f6ca;color:#384023}
.entryform{background:#fffef1}
input,select,textarea{border-color:#dcd0d0}
input:focus,select:focus,textarea:focus{outline:2px solid var(--rtc-yellow);border-color:var(--rtc-red)}
.confirm input{accent-color:var(--rtc-red)}
.linkfield{background:#fffbd7}
.status-chip{background:#fffbd7;color:#75171d}
@media(max-width:760px){
  .nav{min-height:64px;padding:7px 0;gap:6px 12px}
  .brand{gap:8px}
  .top .brand img.rtc-logo,.brand .rtc-logo{width:90px!important;height:48px!important;max-width:90px!important;max-height:48px!important;flex:0 0 90px!important}
  .brand-caption{font-size:16px;padding-left:9px}
  .brand-caption small{font-size:9px;letter-spacing:1px}
  .nav nav{gap:12px}
}
@media(max-width:380px){
  .top .brand img.rtc-logo,.brand .rtc-logo{width:77px!important;height:43px!important;max-width:77px!important;max-height:43px!important;flex:0 0 77px!important}
  .brand-caption{font-size:14px}
}

/* RTC v5 – aufgeräumter Spielerzugang und separater Verwaltungsbereich */
.player-page .top{border-bottom:2px solid #ac171d;box-shadow:none}
.player-page .nav{min-height:60px;padding:5px 0}
.player-page .top .brand img.rtc-logo{width:88px!important;height:46px!important;max-width:88px!important;max-height:46px!important;flex-basis:88px!important}
.player-page .brand-caption{font-size:16px}.player-page .brand-caption small{font-size:9px}
.player-page .footer{border-top:1px solid #eadcdd;margin-top:22px;text-align:center}
.entry-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:23px 0 13px}
.entry-intro h1{margin:0;font-size:clamp(25px,4vw,34px);line-height:1.1;letter-spacing:-.8px;color:#ac171d}
.entry-intro p{margin:5px 0;color:#766a6b;font-size:13px}.entry-intro .eyebrow{margin:0 0 5px}
.entry-status{display:inline-flex;white-space:nowrap;align-items:center;gap:4px;border-radius:40px;font-size:12px;font-weight:800;padding:7px 12px}
.entry-status.open{background:#f2ee04;color:#38300a}.entry-status.shut{background:#eee8e8;color:#796d6d}
.search-panel{border-radius:16px;background:#fff;border:1px solid #ecdede;padding:15px 18px;margin:10px 0 16px;box-shadow:0 5px 18px #4d151509}
.search-panel>label{display:block;font-weight:800;color:#ac171d;font-size:13px;margin-bottom:5px}
.search-wrap{position:relative}.search-wrap input{margin:0;padding:12px 45px 12px 15px;font-size:17px;border-radius:12px}
.clear-search{position:absolute;right:8px;top:6px;border:0;background:#f7eeee;color:#ac171d;border-radius:10px;width:35px;height:35px;cursor:pointer}
.clear-search[hidden],.player-group[hidden],#search-empty[hidden]{display:none!important}
.search-help{font-size:12px;color:#827477;margin:7px 0 0}.entry-tools{display:flex;gap:14px;justify-content:flex-end;margin-top:6px;flex-wrap:wrap}
.text-tool{border:0;background:transparent;color:#ac171d;font-size:12px;font-weight:700;cursor:pointer;padding:4px 0;text-decoration:underline;text-underline-offset:3px}
.player-groups{display:grid;gap:11px}
.player-group{margin:0;padding:0;border:1px solid #e9dede;border-radius:15px;box-shadow:0 4px 12px #75172007;background:#fff;overflow:hidden}
.player-group-summary{display:flex;gap:13px;align-items:center;list-style:none;padding:13px 17px;cursor:pointer;user-select:none}
.player-group-summary::-webkit-details-marker{display:none}.player-group[open]>.player-group-summary{border-bottom:1px solid #f0e6e5;background:#fffdf3}
.summary-number{width:35px;height:35px;display:grid;place-items:center;flex-shrink:0;border-radius:10px;background:#ac171d;color:#fff;font-weight:900}
.summary-text{display:flex;flex-direction:column;flex:1;min-width:0}.summary-text strong{font-size:17px;color:#2f2224}.summary-text small{color:#74676c;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.summary-count{color:#837575;font-size:11px;white-space:nowrap}.chevron{width:9px;height:9px;border-right:2px solid #ac171d;border-bottom:2px solid #ac171d;transform:rotate(45deg);margin:0 4px 5px 6px;transition:transform .2s}
.player-group[open] .chevron{transform:rotate(225deg);margin-bottom:0}
.player-group-content{padding:12px 18px 16px}.player-group-content .fixtures{margin-top:12px}.player-group-content .rank{font-size:13px}
.player-group-content .entryform{border:1px solid #f0e8a2}.entry-footer{margin-top:18px;text-align:center;font-size:12px;color:#756769;padding-bottom:5px}.entry-footer a{font-size:13px;font-weight:800;color:#ac171d;text-decoration:underline}
.manage-page .nav{align-items:center;flex-wrap:wrap}.manage-nav{display:flex;flex-wrap:wrap;justify-content:end;align-items:center;gap:6px 14px;padding:8px 0}.manage-nav a{font-size:12px}.manage-nav a:last-child{background:#f2ee04;color:#5a191b;padding:7px 10px;border-radius:9px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:26px 0 20px}.section-head h1{font-size:clamp(27px,4vw,38px);line-height:1.2;letter-spacing:-.8px;margin:0;color:#ac171d}.section-head p{margin:4px 0}.section-head .eyebrow{font-size:11px}
.group-overview{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:14px;margin:20px 0}
.overview-card{overflow:hidden;border-radius:15px;border:1px solid #ecdfe0;background:#fff;box-shadow:0 5px 15px #75172008}
.overview-heading{display:flex;align-items:center;gap:12px;background:#fffbe4;border-bottom:2px solid #f2ee04;padding:12px 14px}
.overview-index{background:#ac171d;color:#fff;border-radius:9px;width:32px;height:32px;display:grid;place-items:center;font-size:14px;font-weight:900}
.overview-heading h2{font-size:17px;margin:0}.overview-card ol{margin:0;list-style:none;padding:6px 13px 13px;counter-reset:players}
.overview-card li{counter-increment:players;border-bottom:1px solid #f4efef;padding:11px 4px;display:flex;align-items:center;gap:9px;font-size:14px}
.overview-card li:last-child{border:0}.overview-card li:before{content:counter(players) '.';font-size:12px;color:#a89597;font-weight:900;width:18px}
.month-filter{max-width:230px}.archive-list{display:grid;gap:11px;margin:20px 0}.archive-item{display:flex;align-items:center;justify-content:space-between;gap:15px}.archive-item h2{margin:0;font-size:17px}.archive-item small{color:#806c6f}.archive-links{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:760px){.entry-intro{padding:17px 0 9px;align-items:start;flex-wrap:wrap}.entry-intro h1{font-size:27px}.search-panel{padding:13px}.player-group-summary{padding:11px 12px;gap:9px}.summary-text small{font-size:11px}.summary-count{font-size:10px}.player-group-content{padding:10px}.entry-tools{justify-content:start}.manage-nav{justify-content:start}.manage-page .nav{padding:9px 0}.section-head{align-items:start;flex-wrap:wrap}.archive-item{align-items:start;flex-direction:column}}
@media(max-width:390px){.summary-count{display:none}}

/* RTC v6: öffentliche, reduzierte Jahreswertung ohne Verwaltungsnavigation */
.public-back{margin:22px 0 0}
.back-link{display:inline-flex;align-items:center;gap:7px;color:#ac171d;text-decoration:none;font-size:14px;font-weight:800;padding:9px 12px;background:#fff;border:1px solid #e7d6d8;border-radius:10px}
.back-link:hover,.back-link:focus-visible{background:#f2ee04;border-color:#f2ee04}
.annual-intro{padding-top:18px}.player-page .panel{margin-bottom:20px}
@media(max-width:760px){.public-back{margin-top:13px}.back-link{width:100%;justify-content:center}.annual-intro{padding-top:15px}}
