@font-face{font-family:'DM Mono';font-style:normal;font-weight:400;src:url('/assets/fonts/dm-mono-regular.woff2') format('woff2');font-display:swap}
@font-face{font-family:'DM Mono';font-style:normal;font-weight:500;src:url('/assets/fonts/dm-mono-medium.woff2') format('woff2');font-display:swap}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400 700;src:url('/assets/fonts/dm-sans-variable.woff2') format('woff2');font-display:swap}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;src:url('/assets/fonts/manrope-variable.woff2') format('woff2');font-display:swap}
:root{font-family:'DM Sans',sans-serif;color:#eaf0e9;background:#08110d;font-synthesis:none;text-rendering:optimizeLegibility;--bg:#08110d;--panel:#101b15;--line:#24342a;--green:#b7f36b;--muted:#91a096;--mono:'DM Mono',monospace;--display:'Manrope',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:var(--bg);color:#eaf0e9}a{color:inherit;text-decoration:none}.site-header{height:80px;padding:0 max(6.3vw,28px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff0d}.brand{font-family:var(--display);font-size:18px;font-weight:800;letter-spacing:-1px}.brand>span:last-child{color:var(--green)}.brand-ball{font-size:16px;color:var(--green);margin-right:8px}.site-header nav{display:flex;gap:36px;color:#aab6ac;font-size:12px}.site-header nav a:hover,.text-link:hover{color:var(--green)}.header-link{font-size:11px;font-weight:700;color:var(--green)}.header-link span{margin-left:8px}.hero{max-width:1320px;min-height:620px;margin:auto;padding:92px 7% 74px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:38px}.eyebrow,.section-kicker,.feature-number,.mini-table-title,.roadmap-meta,.roadmap-status,.card-tag{font:10px var(--mono);letter-spacing:1.25px}.eyebrow{color:#b6c4b9;display:flex;align-items:center;gap:9px}.eyebrow i,.live-dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 12px #b7f36b80}.hero h1,.section h2,.closing h2{font:800 clamp(48px,6.1vw,79px)/1.03 var(--display);letter-spacing:-5px;margin:25px 0 19px}.hero h1 em,.section h2 em,.quote-band em,.closing h2 em{font-style:normal;color:var(--green)}.hero-copy>p{max-width:470px;color:#9eaca1;font-size:15px;line-height:1.8}.hero-actions{display:flex;align-items:center;gap:25px;margin-top:31px}.button{min-height:47px;padding:0 18px;display:inline-flex;align-items:center;gap:22px;border-radius:5px;font-size:11px;font-weight:700}.button-primary{background:var(--green);color:#10190e}.button-primary:hover{background:#caf98f;transform:translateY(-1px)}.text-link{font-size:11px;color:#bdc8be}.text-link span{color:var(--green);margin-left:4px}.hero-note{display:flex;align-items:center;gap:9px;margin-top:55px;color:#748278;font:10px var(--mono)}.live-dot{width:6px;height:6px}.hero-visual{height:390px;position:relative;display:grid;place-items:center;overflow:hidden}.orbit{position:absolute;border:1px solid #b7f36b12;border-radius:50%;transform:rotate(-28deg)}.orbit-one{width:450px;height:230px}.orbit-two{width:390px;height:300px;transform:rotate(34deg)}.orbit-three{width:310px;height:375px;transform:rotate(67deg)}.pitch{width:290px;height:210px;border:1px solid #b7f36b52;border-radius:3px;transform:rotate(-24deg);position:relative;background:linear-gradient(115deg,#b7f36b08 0 49.8%,#b7f36b22 50%,#b7f36b08 50.2%);box-shadow:0 0 60px #b7f36b0a}.pitch-line{position:absolute;left:50%;top:0;height:100%;border-left:1px solid #b7f36b45}.pitch-circle{position:absolute;width:65px;height:65px;border:1px solid #b7f36b45;border-radius:50%;left:calc(50% - 32px);top:calc(50% - 32px)}.pitch-dot,.pitch:after{content:'';position:absolute;width:5px;height:5px;background:var(--green);border-radius:50%;top:50%;left:50%;box-shadow:0 0 16px var(--green)}.pitch-dot{left:68%;top:36%}.pitch:after{left:50%;top:50%}.pitch-box{position:absolute;width:38px;height:98px;border:1px solid #b7f36b40;top:27%}.pitch-box-left{left:0;border-left:0}.pitch-box-right{right:0;border-right:0}.floating-card{position:absolute;padding:14px 16px;background:#111d16;border:1px solid #314237;box-shadow:0 12px 40px #0005;display:flex;flex-direction:column;gap:7px}.floating-card span{font:8px var(--mono);letter-spacing:1px;color:#86958a}.floating-card strong{font:700 15px var(--display)}.floating-card strong b{color:var(--green)}.floating-card small{font-size:9px;color:#77867b}.card-top{top:42px;right:10px}.card-bottom{left:8px;bottom:36px}.visual-cross{position:absolute;color:var(--green);font:18px var(--mono);opacity:.65}.cross-a{top:63px;left:65px}.cross-b{right:57px;bottom:62px}.ticker{height:49px;overflow:hidden;display:flex;align-items:center;background:var(--green);color:#13200f;font:10px var(--mono);letter-spacing:1px;white-space:nowrap}.ticker div{min-width:max-content;animation:marquee 32s linear infinite}.ticker b{padding:0 26px;font-size:13px}@keyframes marquee{to{transform:translateX(-25%)}}.section{max-width:1180px;margin:0 auto;padding:116px 35px}.section-kicker{color:var(--green)}.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;margin-top:32px;align-items:start}.section h2{font-size:52px;letter-spacing:-3px;margin:0}.section-lead{font:600 20px/1.55 var(--display);color:#dce6dd;margin:0 0 18px}.muted-copy{color:#91a096;font-size:13px;line-height:1.8;max-width:490px}.feature-section{padding-top:67px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:36px}.section-heading h2{margin-top:18px}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.feature-card{min-height:290px;padding:25px;background:#101a14;border:1px solid #223128;position:relative;overflow:hidden}.feature-wide{grid-column:1/-1;min-height:270px;display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:45px}.feature-number{color:#647469;position:absolute;top:23px;right:24px}.mini-table{padding-top:15px}.mini-table-title{display:flex;justify-content:space-between;color:#77867b;font-size:8px;margin-bottom:12px}.mini-row{height:44px;border-top:1px solid #26352b;display:grid;grid-template-columns:26px 12px 1fr 100px 38px;align-items:center;gap:9px;font-size:10px;color:#abb8ad}.mini-row> b:first-child{font:9px var(--mono);color:#728077}.mini-row strong{font-size:10px;color:#dce6dd}.team-dot{width:7px;height:7px;border-radius:50%}.team-dot.green{background:#b7f36b}.team-dot.blue{background:#79a9ec}.team-dot.orange{background:#f2a76d}.form-bars{display:flex;gap:4px}.form-bars i{width:12px;height:5px;border-radius:2px;background:#b7f36b}.form-bars i.dim{background:#3e5043}.points{font:9px var(--mono)!important;color:#b7f36b!important;text-align:right}.feature-copy h3,.feature-card h3,.roadmap h3{font:700 18px var(--display);letter-spacing:-.5px;margin:0 0 9px}.feature-copy p,.feature-card p,.roadmap-item p{font-size:11px;line-height:1.75;color:#8d9b90;margin:0;max-width:420px}.feature-icon{margin:48px 0 21px;width:39px;height:39px;border:1px solid #3b573f;color:var(--green);display:grid;place-items:center;font:23px var(--mono)}.icon-chart{font-size:19px}.feature-card h3{font-size:17px}.card-tag{display:inline-block;margin-top:20px;color:#b7f36b;font-size:8px;border:1px solid #3a553d;padding:6px 8px}.quote-band{min-height:220px;background:#111c15;border-top:1px solid #253329;border-bottom:1px solid #253329;display:flex;justify-content:center;align-items:center;gap:24px;position:relative;overflow:hidden}.quote-band>span:first-child{font:90px Georgia;color:#b7f36b;opacity:.75;align-self:flex-start;margin-top:27px}.quote-band p{text-align:center;font:600 22px/1.6 var(--display);color:#e5ece5}.quote-ball{position:absolute;right:11%;font-size:95px;color:#b7f36b;opacity:.035}.roadmap-section{padding-top:115px;padding-bottom:120px}.roadmap{margin-top:52px;border-top:1px solid #29382e}.roadmap-item{display:grid;grid-template-columns:42px 160px 1fr 120px;align-items:center;gap:20px;min-height:105px;border-bottom:1px solid #29382e}.roadmap-marker{height:27px;width:27px;border:1px solid #526157;border-radius:50%;display:grid;place-items:center;color:#87968b;font:10px var(--mono)}.roadmap-item.done .roadmap-marker{background:#b7f36b;color:#12200e;border-color:#b7f36b}.roadmap-item.active .roadmap-marker{border-color:#b7f36b;color:#b7f36b}.roadmap-meta{color:#a2afa4;font-size:9px}.roadmap-meta span{display:block;margin-top:7px;color:#647368;font-size:8px}.roadmap h3{font-size:14px;margin-bottom:5px}.roadmap-item p{font-size:10px}.roadmap-status{text-align:right;font-size:8px;color:#748278}.roadmap-item.active .roadmap-status{color:#b7f36b}.roadmap-footnote{margin-top:17px;color:#6f7d72;font-size:10px}.closing{min-height:390px;position:relative;overflow:hidden;background:#b7f36b;color:#15200f;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.closing .section-kicker{color:#435d34}.closing h2{font-size:57px;letter-spacing:-3px;margin:20px 0 10px}.closing h2 em{color:#43662b}.closing p{color:#42533a;font-size:12px;margin-bottom:22px}.closing .button-primary{background:#102015;color:#d7f8b6}.closing-orbit{position:absolute;width:500px;height:300px;border:1px solid #15200f16;border-radius:50%;transform:rotate(-28deg);pointer-events:none}.site-footer{min-height:97px;padding:20px max(6.3vw,28px);display:flex;align-items:center;justify-content:space-between;color:#77857a}.site-footer .brand{color:#eaf0e9}.site-footer p,.site-footer>span{font-size:10px}.site-footer>span{font-family:var(--mono)}
@media(max-width:800px){.site-header{height:67px}.site-header nav{gap:17px}.hero{grid-template-columns:1fr;padding:75px 8% 45px;gap:8px}.hero-visual{height:340px}.hero h1{font-size:64px}.intro-grid{gap:30px}.feature-wide{gap:24px}.section{padding-left:7%;padding-right:7%}.roadmap-item{grid-template-columns:36px 115px 1fr;gap:13px;padding:15px 0}.roadmap-status{grid-column:3;text-align:left}.roadmap h3{font-size:12px}.roadmap-item p{font-size:9px}}
@media(max-width:560px){.site-header{padding:0 20px}.site-header nav{display:none}.hero{padding:63px 23px 36px;min-height:auto}.hero h1{font-size:51px;letter-spacing:-3.5px}.hero-copy>p{font-size:13px}.hero-actions{gap:15px;flex-wrap:wrap}.text-link{font-size:10px}.hero-note{margin-top:35px}.hero-visual{height:310px}.pitch{width:250px;height:180px}.card-top{right:0;top:24px}.card-bottom{left:0;bottom:22px}.floating-card{padding:11px}.section{padding-top:78px;padding-bottom:78px}.intro-grid{grid-template-columns:1fr;gap:20px;margin-top:22px}.section h2{font-size:42px}.section-heading{display:block}.section-heading>.muted-copy{margin-top:16px}.feature-grid{grid-template-columns:1fr}.feature-wide{grid-column:auto;grid-template-columns:1fr;gap:20px}.feature-card{min-height:250px}.feature-wide{padding-top:36px}.mini-row{grid-template-columns:21px 9px 1fr 75px 32px;gap:6px}.form-bars{gap:2px}.form-bars i{width:9px}.quote-band{padding:35px 22px;min-height:170px;gap:5px}.quote-band>span:first-child{font-size:55px;margin-top:2px}.quote-band p{font-size:17px}.roadmap-section{padding-top:78px}.roadmap{margin-top:32px}.roadmap-item{grid-template-columns:29px 1fr auto;gap:8px;min-height:118px}.roadmap-meta{grid-column:2;grid-row:1;color:#b7f36b}.roadmap-meta span{display:inline;margin:0 0 0 7px}.roadmap-item>div:nth-child(3){grid-column:2/4;grid-row:2;align-self:start}.roadmap-status{grid-column:3;grid-row:1;font-size:7px}.roadmap-marker{grid-column:1;grid-row:1/3;width:23px;height:23px;font-size:8px}.roadmap-item h3{font-size:12px}.closing{min-height:340px;padding:30px 20px}.closing h2{font-size:47px}.site-footer{padding:25px 20px;display:grid;grid-template-columns:1fr auto;gap:13px}.site-footer p{grid-column:1}.site-footer>span{grid-column:2;grid-row:2;text-align:right;font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.live-standings{padding-top:96px;padding-bottom:85px}.standings-wrap{overflow-x:auto;border:1px solid #26362c;background:#0d1711}.standings-table{border-collapse:collapse;width:100%;min-width:600px;text-align:left}.standings-table th{height:42px;padding:0 15px;color:#829186;font:9px var(--mono);letter-spacing:.9px;border-bottom:1px solid #29382e}.standings-table td{height:47px;padding:0 15px;border-bottom:1px solid #1f2d23;color:#b4c0b6;font-size:11px;font-variant-numeric:tabular-nums}.standings-table th:first-child,.standings-table td:first-child{text-align:right}.standings-table tbody tr:last-child td{border-bottom:0}.standings-table tbody tr:hover{background:#132017}.standings-table td:first-child{color:#76867a;font:10px var(--mono);width:55px}.standings-table .standings-team{color:#e4ece5;font-weight:700;min-width:180px}.standings-table .standings-points{color:var(--green);font-weight:800}.standings-table .qualification-row td:first-child{border-left:2px solid var(--table-qualification,var(--green))}.data-attribution{margin-top:12px;color:#748278;font-size:9px}.data-attribution a{color:#a7c39e;text-decoration:underline;text-underline-offset:3px}.standings-table td[colspan]{height:90px;text-align:center;color:#829186}.section-heading #standings-status{max-width:300px;text-align:right;font:10px var(--mono);color:#8d9b90}@media(max-width:560px){.live-standings{padding-top:66px;padding-bottom:64px}.section-heading #standings-status{text-align:left;margin-top:14px}}
.maintenance-banner{position:sticky;top:0;z-index:10;display:flex;justify-content:center;align-items:center;gap:18px;padding:10px 18px;background:#b7f36b;color:#15200f;font-size:11px;font-weight:700}.maintenance-banner button{border:1px solid #516d3a;border-radius:4px;padding:6px 9px;background:transparent;color:#15200f;font:inherit;cursor:pointer}@media(max-width:560px){.maintenance-banner{flex-wrap:wrap;gap:8px}}
.weighted-team-row{cursor:pointer}.weighted-team-row:focus-visible{outline:2px solid var(--green);outline-offset:-2px}.weighted-team-row .standings-team::after{content:"＋";display:inline-block;margin-left:10px;color:#849688;font:10px var(--mono)}.weighted-team-row[aria-expanded="true"] .standings-team::after{content:"−"}.weighted-detail-row[hidden]{display:none}.weighted-detail-row>td{padding:0!important;height:auto!important;background:#101b15}.weighted-team-detail{padding:20px clamp(16px,3vw,34px) 24px}.weighted-team-detail h3{margin:0 0 14px;color:#e5eee6;font:700 15px var(--display)}.weighted-game-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px}.weighted-game{display:flex;flex-direction:column;gap:6px;padding:12px;border:1px solid #29382e;background:#0c1510;color:#98a79b;font-size:11px;line-height:1.4}.weighted-game strong{color:#e3ece5;font:700 12px var(--mono)}.weighted-game .weighted-game-points{margin-top:3px;color:#b7f36b;font-weight:700}
.weighted-section{padding-top:52px}.weighted-explanation{max-width:900px;margin:-12px 0 24px;color:#9eaca1;font-size:12px;line-height:1.8}.weighted-controls{display:flex;flex-direction:column;align-items:flex-end;gap:12px}.weighted-controls>p{margin:0;color:#91a096;font:10px var(--mono);text-align:right}.matchday-control{display:flex;align-items:center;gap:10px;color:#b7c3b9;font:10px var(--mono)}.matchday-control select{border:1px solid #35463a;border-radius:4px;background:#101b15;color:#eaf0e9;padding:10px 12px;font:11px var(--mono)}.weighted-table{min-width:680px}.weighted-table th,.weighted-table td{text-align:right}.weighted-table th:nth-child(2),.weighted-table td:nth-child(2){text-align:left}.weighted-table th:first-child,.weighted-table td:first-child{text-align:right}.weighted-table td.weighted-difference{font-weight:700}.weighted-difference.positive{color:#b7f36b}.weighted-difference.negative{color:#f29b83}.admin-body{min-height:100vh;padding:7vh 22px;background:radial-gradient(ellipse at 50% 0,#15251a,var(--bg) 65%)}.admin-panel{width:min(780px,100%);margin:0 auto;padding:clamp(24px,5vw,52px);border:1px solid #29382e;background:#0d1711;box-shadow:0 28px 80px #0005}.admin-panel .brand{display:inline-block;margin-bottom:42px}.admin-panel>.section-kicker{margin:0 0 12px}.admin-panel h1{margin:0 0 14px;font:800 clamp(30px,6vw,48px)/1.1 var(--display);letter-spacing:-2px}.admin-panel>.muted-copy{margin:0 0 28px}.factor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.factor-grid label{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border:1px solid #29382e;background:#101b15;color:#aebbb0;font:10px var(--mono)}.factor-grid input{width:86px;min-width:0;border:1px solid #3b4d40;border-radius:3px;padding:8px;background:#08110d;color:#eaf0e9;font:12px var(--mono)}.admin-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px;color:#7e8c81;font:10px var(--mono)}.admin-actions button{border:0;cursor:pointer}.admin-notice,.admin-error{padding:12px 14px;border:1px solid #456331;background:#142218;color:#b7f36b;font-size:12px}.admin-error{border-color:#7c473d;background:#251612;color:#ffad97}.admin-footnote{margin:25px 0 0;color:#718075;font-size:10px;line-height:1.6}@media(max-width:560px){.weighted-controls{align-items:flex-start;margin-top:16px}.weighted-controls>p{text-align:left}.matchday-control{align-items:flex-start;flex-direction:column}.factor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-actions{align-items:flex-start;flex-direction:column}}

/* Kompakte Tabellenansicht: eine Auswertung zur Zeit */
.compact-header{position:sticky;top:0;z-index:5;background:#08110df2;backdrop-filter:blur(12px)}.table-nav{display:flex;gap:8px}.table-nav a{padding:10px 13px;border:1px solid transparent;border-radius:4px;color:#9eaca1;font-size:12px}.table-nav a:hover,.table-nav a[aria-current="page"]{border-color:#3a553d;background:#101b15;color:var(--green)}.admin-link{color:#8e9c91;font-size:11px}.table-page{min-height:calc(100vh - 170px)}.table-page .section{max-width:1180px;padding-top:64px;padding-bottom:50px}.table-page .section-heading{margin-bottom:24px}.table-page .section h1{font:800 clamp(36px,5vw,54px)/1.05 var(--display);letter-spacing:-2.8px;margin:12px 0 0}.table-view[hidden]{display:none!important}.compact-footer{min-height:72px;border-top:1px solid #1e2d23}.weighted-explanation{margin:0 0 14px}.weighted-section .data-attribution{margin-top:12px}@media(max-width:560px){.compact-header{height:auto;min-height:68px;padding:10px 15px;gap:8px}.compact-header .brand{font-size:15px}.table-nav{gap:3px}.table-nav a{padding:9px 8px;font-size:10px}.admin-link{font-size:10px}.table-page .section{padding-top:44px;padding-bottom:35px}.table-page .section-heading{display:block}.table-page .section-heading #standings-status{text-align:left;margin-top:12px}.compact-footer{padding:18px 20px}}
@media(max-width:560px){.compact-header{flex-wrap:wrap;position:sticky;top:0;min-height:0;padding:8px 12px;gap:6px}.compact-header .brand{order:1;font-size:14px}.compact-header .admin-link{order:2;margin-left:auto}.table-nav{order:3;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.table-nav a{display:flex;min-height:38px;align-items:center;justify-content:center;padding:7px 5px;font-size:11px;line-height:1.2;text-align:center;white-space:normal}.table-page .section{padding-top:34px}.maintenance-banner{position:relative;z-index:11}}

.standings-table tbody tr.top-highlight-place td:first-child{background:var(--table-top-bg,#b7f36b);color:var(--table-top-text,#13200f);border-left:2px solid var(--table-top-border,#d5f8ad);font-weight:800}
.standings-table tbody tr.bottom-highlight-place td:first-child{background:var(--table-relegation-bg,#ef8a80);color:var(--table-relegation-text,#291411);border-left:2px solid var(--table-relegation-border,#ffc0b6);font-weight:800}
.standings-table td.position-difference{font-weight:800;white-space:nowrap}.standings-table td.position-difference.positive{color:var(--green)}.standings-table td.position-difference.negative{color:#ff9d8b}
.meyer-table{width:max-content;min-width:100%}.meyer-table th:first-child,.meyer-table td:first-child{text-align:center}@media(min-width:1241px){.table-page .section#hans-meyer-tabelle{width:100%;max-width:none;padding-right:clamp(20px,3vw,48px);padding-left:clamp(20px,3vw,48px)}}
.meyer-table .meyer-points{background:#142219;color:var(--green);font-size:13px;font-weight:900}
.meyer-table .meyer-points.negative{background:#251612;color:#ff9d8b}
.meyer-table .meyer-season-points{font-weight:800;color:#e8eee9}
.meyer-table .position-better{color:var(--green);font-weight:800;white-space:nowrap}
.meyer-table .position-worse{color:#ff9d8b;font-weight:800;white-space:nowrap}
.meyer-table .position-same{color:#91a096}
.meyer-calculation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin-bottom:14px}
.meyer-calculation-item{display:flex;flex-direction:column;gap:7px;padding:12px;border:1px solid #29382e;background:#0c1510;color:#98a79b;font-size:10px;line-height:1.45}
.meyer-calculation-item strong{color:#e3ece5;font:700 12px var(--mono)}
.meyer-game-list{margin-top:12px}
.pdf-export{border:1px solid #3a553d;border-radius:4px;padding:9px 12px;background:#101b15;color:var(--green);font:600 11px 'DM Sans',sans-serif;cursor:pointer}.pdf-export:hover{background:#17251b}
/* Mobile navigation and table overflow */
.table-menu-toggle{display:none}
.standings-wrap{-webkit-overflow-scrolling:touch;scrollbar-color:#526653 #101b15;scrollbar-width:thin}
@media(max-width:1240px){
  .compact-header{height:auto;min-height:64px;padding:9px 16px;position:sticky;top:0;display:flex;flex-wrap:nowrap;gap:12px}
  .compact-header .brand{order:0;font-size:16px}
  .compact-header .admin-link{order:1;margin-left:auto;font-size:11px;padding:8px 0}
  .table-menu-toggle{order:2;display:flex;width:42px;height:42px;flex:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px solid #314237;border-radius:5px;background:#101b15;color:#eaf0e9;cursor:pointer}
  .table-menu-toggle span{display:block;width:17px;height:2px;border-radius:2px;background:currentColor;transition:transform .18s ease,opacity .18s ease}
  .menu-open .table-menu-toggle span:first-child{transform:translateY(7px) rotate(45deg)}
  .menu-open .table-menu-toggle span:nth-child(2){opacity:0}
  .menu-open .table-menu-toggle span:last-child{transform:translateY(-7px) rotate(-45deg)}
  .table-nav{position:absolute;top:100%;left:10px;right:10px;z-index:6;display:none;width:auto;grid-template-columns:1fr;gap:4px;padding:8px;border:1px solid #314237;border-radius:6px;background:#0d1711;box-shadow:0 16px 30px #0008}
  .compact-header.menu-open .table-nav{display:grid}
  .table-nav a{display:flex;min-height:44px;align-items:center;padding:10px 12px;border-color:transparent;font-size:12px;white-space:normal}
  .table-nav a[aria-current="page"]{border-color:#3a553d}
  .table-page{min-height:calc(100vh - 136px)}
  .table-page .section{width:100%;padding:34px 16px 32px}
  .table-page .section-heading{display:block;margin-bottom:20px}
  .table-page .section h1{font-size:clamp(34px,9vw,46px);letter-spacing:-2px}
  .weighted-controls{align-items:flex-start;gap:10px;margin-top:14px}
  .weighted-controls>p,.section-heading #standings-status{max-width:none;text-align:left;line-height:1.6}
  .matchday-control{align-items:flex-start;flex-direction:column;gap:7px}
  .matchday-control select{max-width:100%;min-height:42px}
  .pdf-export{min-height:40px}
  .weighted-explanation{font-size:11px;line-height:1.65;margin:0 0 12px}
  .standings-wrap{max-width:100%;overflow-x:auto;border-radius:4px}
  .standings-table,.weighted-table,.meyer-table{width:max-content;min-width:100%;table-layout:auto}
  .standings-table th{height:40px;padding:0 11px;font-size:8px}
  .standings-table td{height:44px;padding:0 11px;font-size:10px}
  .standings-table .standings-team{min-width:0;white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:manual}
  .standings-table .standings-team>span{display:block;width:128px;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:manual}
  .standings-table th:first-child,
  .standings-table td:first-child{position:sticky;left:0;z-index:2;width:36px;min-width:36px;max-width:36px;padding-right:3px;padding-left:3px;text-align:right;background:#101b15;border-right:1px solid #34463a;box-shadow:3px 0 6px #08110d55}
  .meyer-table th:first-child,.meyer-table td:first-child{text-align:center}
  .standings-table td:first-child{background:#0d1711}
  .standings-table tbody tr.top-highlight-place td:first-child{background:var(--table-top-bg,#b7f36b);color:var(--table-top-text,#13200f)}
  .standings-table tbody tr.bottom-highlight-place td:first-child{background:var(--table-relegation-bg,#ef8a80);color:var(--table-relegation-text,#291411)}
  .standings-table th:nth-child(2),
  .standings-table td:nth-child(2){position:sticky;left:36px;z-index:2;width:150px;min-width:150px;max-width:150px;white-space:normal;line-height:1.25;border-right:1px solid #34463a;box-shadow:3px 0 6px #08110d55}
  .standings-table th:nth-child(2){z-index:3;background:#101b15}
  .standings-table td:nth-child(2){background:#0d1711}
  .meyer-table th:nth-child(2),.meyer-table td:nth-child(2){position:sticky;left:36px;z-index:2;width:145px;min-width:145px;max-width:145px;white-space:normal;line-height:1.25;border-right:1px solid #34463a;box-shadow:3px 0 6px #08110d55}
  .meyer-table th:nth-child(2){z-index:3;background:#101b15}
  .meyer-table td:nth-child(2){background:#0d1711}
  .meyer-table .standings-team{min-width:0;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:manual}
  .meyer-table .standings-team>span{width:123px}
  .standings-table th:nth-child(2){background:#101b15}
  .standings-table td:nth-child(2){background:#0d1711}
  .standings-table thead th:first-child{z-index:4}
  .standings-table tbody tr:hover td:nth-child(2){background:#132017}
  .data-attribution{line-height:1.7}
  .compact-footer{padding:18px 16px}
}
@media(max-width:390px){
  .compact-header{padding:8px 11px;gap:8px}
  .compact-header .brand{font-size:14px}
  .table-menu-toggle{width:40px;height:40px}
  .table-page .section{padding-right:12px;padding-left:12px}
  .weighted-controls{width:100%}
}
/* Keep the expanded table navigation compact; nine views do not need to fill the header. */
.compact-header{justify-content:flex-start;gap:28px}
.compact-header .table-nav{flex:0 1 auto;justify-content:flex-start;gap:3px;margin-left:auto}
.compact-header .table-nav a{flex:0 0 auto;padding:9px 8px;white-space:nowrap}
@media(max-width:1240px){
  .compact-header{justify-content:space-between;gap:12px}
  .compact-header .table-nav{margin-left:0}
}
@media(max-width:1240px){
  .compact-header .table-nav,
  .compact-header.menu-open .table-nav{
    position:absolute;top:calc(100% + 8px);left:auto;right:12px;
    display:none;width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 90px);
    overflow-y:auto;grid-template-columns:minmax(0,1fr);gap:4px;margin:0;padding:8px;
    border:1px solid #314237;border-radius:8px;background:#0d1711;
    box-shadow:0 16px 30px #0008;z-index:6;
  }
  .compact-header.menu-open .table-nav{display:grid}
  .compact-header .table-nav a{
    display:flex;min-width:0;min-height:44px;width:100%;flex:none;
    align-items:center;justify-content:flex-start;padding:10px 12px;
    border:1px solid transparent;white-space:normal;text-align:left;
  }
}
@media print{ @page{size:A4 landscape;margin:12mm}body{min-width:0;background:#fff!important;color:#111!important;font-family:Arial,sans-serif}.compact-header,.compact-footer,.maintenance-banner,.pdf-export{display:none!important}.table-page{min-height:0}.table-view[hidden]{display:none!important}.table-view:not([hidden]){display:block!important;max-width:none!important;padding:0!important;margin:0!important;color:#111!important}.table-page .section-heading{display:flex!important;justify-content:space-between;align-items:flex-end;margin:0 0 12px!important}.table-page .section h1{margin:5px 0 0!important;color:#111!important;font-size:25pt!important;letter-spacing:0!important}.table-page .section h1 em{color:#111!important}.section-kicker,.weighted-controls>p,.muted-copy,.weighted-explanation,.data-attribution,.matchday-control{color:#333!important}.weighted-explanation{font-size:9pt!important;line-height:1.4!important;margin:5px 0!important}.weighted-controls{gap:5px!important;align-items:flex-end!important}.matchday-control{flex-direction:row!important}.matchday-control select{border:0!important;padding:0!important;background:transparent!important;color:#111!important;appearance:none!important}.standings-wrap{overflow:visible!important;border:0!important;background:#fff!important}.standings-table,.weighted-table{min-width:0!important;width:100%!important;border-collapse:collapse!important}.standings-table th,.standings-table td{height:auto!important;padding:5px 7px!important;border:1px solid #aaa!important;background:#fff!important;color:#111!important;font-size:9pt!important}.standings-table th{font-weight:bold!important}.standings-table .standings-team,.standings-table .standings-points{color:#111!important}.weighted-detail-row[hidden]{display:none!important}.weighted-detail-row:not([hidden]){display:table-row!important}.weighted-team-row{break-after:avoid}.weighted-game{background:#fff!important;color:#222!important;border-color:#bbb!important}.weighted-game strong,.weighted-team-detail h3,.weighted-game-points{color:#111!important}.data-attribution{font-size:8pt!important}.section{max-width:none!important}a{color:#111!important;text-decoration:none!important}}

/* Admin center with persistent left navigation */
.admin-body{min-height:100vh;padding:0;background:radial-gradient(ellipse at 70% 0,#15251a,var(--bg) 60%)}
.admin-layout{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}
.admin-sidebar{position:sticky;top:0;height:100vh;padding:30px 18px 22px;display:flex;flex-direction:column;border-right:1px solid #24342a;background:#0a140f}
.admin-sidebar>.brand{display:block;padding:0 10px 30px;font-size:18px}
.admin-navigation{display:flex;flex-direction:column;gap:25px}
.admin-nav-group{display:flex;flex-direction:column;gap:7px}
.admin-nav-heading{padding:0 10px;color:#748278;font:9px var(--mono);letter-spacing:1.15px}
.admin-nav-link{min-height:42px;padding:11px 10px;border:1px solid transparent;border-radius:4px;color:#aab6ac;font-size:12px}
.admin-nav-link:hover,.admin-nav-link[aria-current="page"]{border-color:#314c36;background:#132017;color:var(--green)}
.admin-back-link{margin-top:auto;padding:12px 10px;color:#839187;font-size:11px}
.admin-back-link:hover{color:var(--green)}
.admin-main{min-width:0;padding:clamp(22px,5vw,64px)}
.admin-panel{width:min(900px,100%);margin:0 auto;padding:clamp(24px,4vw,48px);border-color:#29382e;background:#0d1711;box-shadow:0 28px 80px #0004}
.admin-panel>.section-kicker{margin:0 0 12px}
.admin-panel h1{margin:0 0 14px;font:800 clamp(30px,5vw,46px)/1.1 var(--display);letter-spacing:-2px}
.admin-panel>.muted-copy{max-width:620px;margin:0 0 28px}
.admin-nav-link:focus-visible,.admin-back-link:focus-visible,.commit-link:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.installed-version{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:26px 0 34px;padding:20px 22px;border:1px solid #38533d;background:linear-gradient(120deg,#142419,#101a14);border-radius:5px}
.installed-version>span{color:#90a08f;font:9px var(--mono);letter-spacing:1.1px}
.installed-version>strong{color:var(--green);font:800 30px var(--display);letter-spacing:-1px}
.installed-version>small{color:#a6b3a8;font-size:11px}
.update-history-heading{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin:0 0 13px}
.update-history-heading h2{margin:0;color:#eaf0e9;font:700 16px var(--display)}
.update-history-heading>span{color:#849187;font:10px var(--mono)}
.deployment-history-wrap{max-width:100%;overflow-x:auto;border:1px solid #28382d;border-radius:4px;-webkit-overflow-scrolling:touch}
.deployment-history{width:100%;min-width:560px;border-collapse:collapse;text-align:left}
.deployment-history th{height:40px;padding:0 14px;border-bottom:1px solid #29382e;color:#829186;font:9px var(--mono);letter-spacing:.7px;white-space:nowrap}
.deployment-history td{height:50px;padding:8px 14px;border-bottom:1px solid #1f2d23;color:#b4c0b6;font-size:11px;white-space:nowrap}
.deployment-history tbody tr:last-child td{border-bottom:0}
.deployment-history td strong{color:var(--green);font:600 11px var(--mono)}
.commit-link{color:#c3d4be;font:11px var(--mono);text-decoration:underline;text-underline-offset:3px}
.commit-link span{color:var(--green)}
.admin-empty-state{margin:24px 0;padding:17px 18px;border:1px dashed #3b4d40;color:#aab6ac;font-size:12px;line-height:1.65}
.maintenance-status{display:flex;align-items:center;gap:13px;margin:26px 0 18px;padding:18px 20px;border:1px solid #3b5941;border-radius:5px;background:#122018}
.maintenance-status.is-enabled{border-color:#775a32;background:#211b11}
.maintenance-status-dot{width:11px;height:11px;flex:none;border-radius:50%;background:#91df69;box-shadow:0 0 0 4px #91df6920}
.maintenance-status.is-enabled .maintenance-status-dot{background:#f0b45d;box-shadow:0 0 0 4px #f0b45d20}
.maintenance-status>div{display:flex;flex-direction:column;gap:5px}
.maintenance-status strong{color:#eaf0e9;font-size:13px}
.maintenance-status small{color:#9eaca1;font-size:11px}
.maintenance-control-form{display:flex;justify-content:flex-start}
.maintenance-control-form .button{min-height:42px;padding:0 18px;border:0;border-radius:4px;background:var(--green);color:#15200f;font:700 11px var(--mono);cursor:pointer}
.maintenance-status.is-enabled+.maintenance-control-form .button{background:#e5b15e}
.maintenance-control-form .button:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.api-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:26px 0 0}
.api-stat-card{display:flex;min-width:0;flex-direction:column;gap:9px;padding:18px;border:1px solid #29382e;border-radius:4px;background:#101b15}
.api-stat-card>span{color:#829186;font:9px var(--mono);letter-spacing:.8px}
.api-stat-card>strong{color:var(--green);font:800 28px/1 var(--display)}
.api-stat-card>small{color:#9eaca1;font-size:10px;line-height:1.5}
.api-last-import{margin:13px 0 34px}
.api-docs{margin-top:34px}
.api-endpoint-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.api-endpoint{min-width:0;padding:16px;border:1px solid #29382e;border-radius:4px;background:#101b15}
.api-endpoint>code{display:inline-block;max-width:100%;overflow-wrap:anywhere;color:var(--green);font:10px var(--mono)}
.api-endpoint h3{margin:11px 0 7px;color:#eaf0e9;font:700 13px var(--display)}
.api-endpoint p{margin:0 0 10px;color:#9eaca1;font-size:11px;line-height:1.6}
.api-endpoint small{color:#829186;font-size:10px;line-height:1.5}
.api-endpoint small code{color:#c2d0c4;font:10px var(--mono)}
.api-endpoint-protected{grid-column:1/-1}
.openligadb-run-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 18px;margin:24px 0;padding:18px;border:1px solid #38533d;border-radius:4px;background:linear-gradient(120deg,#142419,#101a14)}
.openligadb-run-form>div{display:flex;flex-direction:column;gap:5px}
.openligadb-run-form>div strong{color:#eaf0e9;font-size:12px}
.openligadb-run-form>div small{color:#9eaca1;font-size:10px;line-height:1.5}
.openligadb-run-form button{min-height:40px;padding:0 14px;border:0;border-radius:4px;background:var(--green);color:#15200f;font:700 10px var(--mono);cursor:pointer}
.openligadb-run-form button:disabled{opacity:.6;cursor:wait}
.openligadb-run-form button:focus-visible,.openligadb-doc-link:focus-visible,.api-run-details summary:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.openligadb-run-status{grid-column:1/-1;margin:0;color:var(--green);font-size:11px;line-height:1.5}
.openligadb-doc-link{color:var(--green);font:10px var(--mono);text-decoration:underline;text-underline-offset:3px}
.api-run-history{margin-top:34px}
.api-run-history-table{min-width:760px}
.api-run-history-table td:nth-child(3),.api-run-history-table td:nth-child(4){color:var(--green);font:600 11px var(--mono)}
.api-run-details summary{color:#c3d4be;font:10px var(--mono);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.api-run-details>div{display:grid;grid-template-columns:auto auto;gap:6px 12px;min-width:230px;margin-top:10px;padding:12px;border:1px solid #314437;border-radius:4px;background:#0a140f;white-space:normal}
.api-run-details>div span{color:#829186;font-size:10px}
.api-run-details>div strong{color:#dce6dd;font:10px var(--mono);text-align:right}
@media(max-width:760px){
  .admin-layout{grid-template-columns:minmax(0,1fr)}
  .admin-sidebar{position:relative;height:auto;padding:18px 20px 14px;border-right:0;border-bottom:1px solid #24342a}
  .admin-sidebar>.brand{padding:0 0 16px;font-size:16px}
  .admin-navigation{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
  .admin-nav-group{gap:5px}
  .admin-nav-heading{padding:0 8px;font-size:8px}
  .admin-nav-link{min-height:40px;padding:10px 8px;font-size:11px}
  .admin-back-link{position:absolute;right:20px;top:20px;margin:0;padding:4px;font-size:10px}
  .admin-main{padding:22px 16px 40px}
  .admin-panel{padding:24px 18px}
  .installed-version{margin:22px 0 28px;padding:17px}
  .api-endpoint-list{grid-template-columns:minmax(0,1fr)}
  .api-endpoint-protected{grid-column:auto}
  .openligadb-run-form{grid-template-columns:minmax(0,1fr)}
  .openligadb-run-form button{width:100%}
}
@media(max-width:420px){
  .admin-sidebar{padding-right:13px;padding-left:13px}
  .admin-back-link{right:13px}
  .admin-main{padding-right:11px;padding-left:11px}
  .admin-panel{padding:22px 14px}
  .admin-actions{align-items:flex-start;flex-direction:column}
}

/* Always-visible factors and worked examples for the weighted table */
.weighted-explanation strong{color:#dce6dd;font-weight:700}
.factor-panel{display:block;position:relative;clear:both;margin:20px 0 24px;padding:20px;border:1px solid #29382e;background:#0d1711}
.weighted-section .factor-panel>h2{display:block;position:static;width:auto;height:auto;margin:0 0 8px;color:#eaf0e9;font:700 16px/1.35 var(--display);letter-spacing:0;transform:none}
.weighted-section .factor-panel>p{margin:0 0 15px;color:#91a096;font-size:11px;line-height:1.6}
.factor-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:0;padding:0;list-style:none}
.factor-list li{display:flex;justify-content:space-between;gap:7px;padding:9px 10px;border:1px solid #26362c;background:#101b15;color:#9eaca1;font:10px var(--mono)}
.factor-list li strong{color:var(--green);font:600 10px var(--mono)}
@media(max-width:760px){.factor-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:420px){.factor-panel{padding:15px}.factor-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Rechtliche Seiten und Cookie-Hinweis */
.legal-nav{display:flex;align-items:center;gap:18px}.legal-nav a,.legal-nav button{padding:0;border:0;background:none;color:#9eaca1;font:inherit;font-size:11px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.legal-page{width:min(820px,calc(100% - 40px));min-height:calc(100vh - 150px);margin:0 auto;padding:70px 0 90px;color:#b4c0b6;line-height:1.75}.legal-page h1{margin:8px 0 30px;color:#eaf0e9;font:800 clamp(40px,7vw,64px)/1.05 var(--display);letter-spacing:-3px}.legal-page h2{margin:34px 0 8px;color:#eaf0e9;font:700 19px var(--display)}.legal-page p{font-size:14px}.legal-page a{color:#b7f36b;text-underline-offset:3px}.legal-page code{color:#dce6dd}.legal-notice{padding:15px 18px;border:1px solid #715b31;background:#211d12;color:#e5d5a4}.cookie-notice[hidden]{display:none}.cookie-notice{position:fixed;z-index:20;right:20px;bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:24px;width:min(680px,calc(100% - 40px));padding:18px 20px;border:1px solid #3a553d;border-radius:7px;background:#101b15;color:#eaf0e9;box-shadow:0 16px 55px #0009}.cookie-notice strong{font:700 14px var(--display)}.cookie-notice p{margin:6px 0 0;color:#aab7ac;font-size:12px;line-height:1.55}.cookie-notice a{color:#b7f36b;text-underline-offset:3px}.cookie-notice>button{flex:none;border:0;border-radius:4px;padding:11px 15px;background:#b7f36b;color:#15200f;font:700 11px var(--mono);cursor:pointer}.legal-page~.site-footer{gap:20px}
@media(max-width:650px){.legal-nav{grid-column:1/-1;grid-row:2;flex-wrap:wrap;gap:14px}.compact-footer>span{grid-column:2;grid-row:1}.cookie-notice{right:10px;bottom:10px;width:calc(100% - 20px);box-sizing:border-box;align-items:flex-start;gap:12px;padding:15px}.cookie-notice>button{padding:10px}.legal-page{padding-top:45px}}
.legal-details-editor{margin:0 0 34px;padding:24px;border:1px solid #29382e;background:#101b15}.legal-details-editor h2{margin:0 0 10px;color:#eaf0e9;font:700 20px var(--display)}.legal-details-editor .muted-copy{margin:0 0 20px}.legal-details-editor form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.legal-details-editor label{display:flex;flex-direction:column;gap:7px;color:#aebbb0;font:10px var(--mono)}.legal-details-editor label:nth-child(3),.legal-details-editor label:nth-child(4),.legal-details-editor label:nth-child(5),.legal-details-editor label:nth-child(6),.legal-details-editor label:nth-child(7),.legal-details-editor .admin-actions{grid-column:1/-1}.legal-details-editor input,.legal-details-editor textarea{width:100%;border:1px solid #3b4d40;border-radius:3px;padding:10px;background:#08110d;color:#eaf0e9;font:13px 'DM Sans',sans-serif}.legal-details-editor textarea{resize:vertical}.legal-details-editor .admin-actions{margin-top:5px}.admin-general-panel>.maintenance-status{margin-top:32px}
@media(max-width:560px){.legal-details-editor{padding:18px}.legal-details-editor form{grid-template-columns:1fr}.legal-details-editor form>*{grid-column:1!important}}

/* Globale Saison-Auswahl */
.season-picker{display:flex;align-items:center;gap:8px;flex:none;color:#91a096;font:10px var(--mono);text-transform:uppercase;letter-spacing:.6px}
.season-picker select{min-height:36px;max-width:112px;padding:7px 25px 7px 9px;border:1px solid #35463a;border-radius:4px;background:#101b15;color:#eaf0e9;font:11px var(--mono)}
.season-option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:58vh;overflow:auto;padding:2px}
.season-option{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:48px;padding:8px 9px;border:1px solid #29382e;background:#101b15;color:#aebbb0}
.season-option input{width:15px;height:15px;margin:0;accent-color:#b7f36b}
.season-option>span{display:flex;flex-direction:column;gap:2px;min-width:0}
.season-option strong{color:#eaf0e9;font:11px var(--mono)}
.season-option small{color:#829186;font-size:9px}
.season-option>a{color:#b7f36b;font:9px var(--mono);white-space:nowrap;text-decoration:underline;text-underline-offset:2px}
.season-option.is-current{border-color:#557640;background:#142218}
@media(max-width:1240px){.season-picker{order:1;margin-left:auto}.season-picker>span{display:none}.table-menu-toggle{order:2}}
@media(max-width:560px){.season-picker{margin-left:auto}.season-picker select{min-height:34px;max-width:94px;padding:6px 20px 6px 6px;font-size:10px}.compact-header .brand{order:0}.season-picker{order:1}.table-menu-toggle{order:2}}
@media(max-width:760px){.season-option-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:62vh}}
@media(max-width:420px){.season-option-grid{grid-template-columns:1fr}.season-option{min-height:44px}}
.compact-header .brand{flex:none;white-space:nowrap}
.compact-header{height:auto;padding:0 max(6.3vw,28px);display:block;position:sticky;top:0;overflow:visible}
.header-brand-row{height:62px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff0d}
.header-brand-row .brand{font-size:20px}
.header-brand-row .season-picker>span{display:inline}
.league-nav{min-height:44px;display:flex;align-items:stretch;gap:4px;border-bottom:1px solid #ffffff12;overflow-x:auto;scrollbar-width:none}
.league-nav::-webkit-scrollbar{display:none}
.league-nav a{display:flex;align-items:center;padding:0 16px;color:#aab6ac;font:700 11px var(--mono);letter-spacing:.5px;text-transform:uppercase;white-space:nowrap}
.league-nav a:hover,.league-nav a[aria-current="page"]{background:#101b15;color:var(--green);box-shadow:inset 0 -2px var(--green)}
.table-nav-row{height:48px;display:flex;align-items:stretch;position:relative;min-width:0}
.table-nav{display:flex;align-items:stretch;gap:2px;min-width:0;flex:1;overflow:hidden;white-space:nowrap}
.compact-header .table-nav{flex:1 1 auto;justify-content:flex-start;margin-left:0}
.table-nav a{display:flex;flex:0 0 auto;align-items:center;padding:0 11px;border:0;border-radius:0;color:#aab6ac;font-size:11px;white-space:nowrap}
.compact-header .table-nav a{width:auto;min-height:0;justify-content:center;padding:0 11px;border:0;text-align:center}
.table-nav a:hover,.table-nav a[aria-current="page"]{background:#101b15;color:var(--green);box-shadow:inset 0 -2px var(--green)}
.table-menu-toggle{display:none;flex:0 0 38px;align-items:center;justify-content:center;border:0;border-left:1px solid #ffffff12;background:transparent;color:#eaf0e9;font:25px/1 sans-serif;cursor:pointer}
.compact-header.menu-required .table-menu-toggle{display:flex}
.compact-header.menu-required .table-nav{padding-right:4px}
.compact-header.menu-required.menu-open .table-nav{position:absolute;top:calc(100% - 1px);right:0;z-index:7;display:grid;width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 180px);overflow:auto;padding:8px;border:1px solid #314237;background:#0d1711;box-shadow:0 16px 30px #0008}
.compact-header.menu-required.menu-open .table-nav a{display:flex;width:100%;min-height:44px;align-items:center;justify-content:flex-start;padding:10px 13px;border:1px solid transparent;border-radius:4px;background:transparent;color:#aab6ac;text-align:left;white-space:normal;box-shadow:none}
.compact-header.menu-required.menu-open .table-nav a:hover{background:#142219;color:var(--green);box-shadow:inset 3px 0 var(--green)}
.compact-header.menu-required.menu-open .table-nav a[aria-current="page"]{border-color:#3a553d;background:#101b15;color:var(--green);box-shadow:inset 3px 0 var(--green)}
.compact-header.menu-required.menu-open .table-menu-toggle span{transform:rotate(180deg)}
@media(max-width:760px){
  .compact-header{padding:0 16px}
  .header-brand-row{height:54px}
  .league-nav{min-height:40px}
  .league-nav a{padding:0 11px;font-size:10px}
  .table-nav-row{height:44px}
  .table-nav a{padding:0 9px;font-size:10px}
  .table-menu-toggle{flex-basis:34px}
}
@media(max-width:1240px){
  .compact-header .table-nav,.compact-header.menu-open .table-nav{position:relative;top:auto;right:auto;display:flex;width:auto;max-height:none;overflow:hidden;grid-template-columns:none;gap:2px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;z-index:auto}
  .compact-header .table-nav a{display:flex;width:auto;min-height:0;flex:none;align-items:center;justify-content:center;padding:0 9px;border:0;white-space:nowrap;text-align:center}
}
@media(max-width:480px){
  .compact-header{padding:0 12px}
  .header-brand-row .brand{font-size:17px}
  .header-brand-row .season-picker select{min-height:32px;max-width:100px;font-size:10px}
  .league-nav a{padding:0 9px;font-size:9px}
}
.admin-filter-form{display:flex;align-items:center;gap:12px;margin:0 0 22px;color:#aebbb0;font:10px var(--mono)}
.admin-filter-form select{min-height:38px;padding:8px 32px 8px 10px;border:1px solid #3b4d40;border-radius:3px;background:#101b15;color:#eaf0e9;font:12px var(--mono)}
.table-page .section{width:100%;max-width:none;margin-left:0;margin-right:0;padding-left:max(6.3vw,28px);padding-right:max(6.3vw,28px)}
@media(max-width:760px){.table-page .section{padding-left:16px;padding-right:16px}}
@media(max-width:480px){.table-page .section{padding-left:12px;padding-right:12px}}
.table-color-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.table-color-field{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:12px;border:1px solid #29382e;background:#101b15}
.table-color-field>span:first-child{display:flex;flex-direction:column;gap:4px;color:#eaf0e9;font:11px var(--mono)}
.table-color-field small{color:#829186;font:9px var(--mono)}
.table-color-inputs{display:flex;align-items:center;gap:7px}
.table-color-inputs input[type="color"]{width:38px;height:36px;padding:3px;border:1px solid #3b4d40;border-radius:3px;background:#08110d;cursor:pointer}
.table-color-inputs input[type="text"]{width:92px;min-width:0;padding:9px 7px;border:1px solid #3b4d40;border-radius:3px;background:#08110d;color:#eaf0e9;font:11px var(--mono);text-transform:uppercase}
.standings-table tbody tr.qualification-row td:first-child{border-left-color:var(--table-qualification,var(--green))}
.standings-table tbody tr.playoff-row td:first-child{background:var(--table-playoff-bg,#1d2d21);color:var(--table-playoff-text,#eaf0e9);border-left:2px solid var(--table-qualification,var(--green));font-weight:800}
@media(max-width:620px){.table-color-groups{grid-template-columns:1fr}.table-color-inputs input[type="text"]{width:82px}}
