:root{--bg:#edf6fb;--surface:#ffffff;--surface-2:#f4f9fc;--accent:#147fc1;--accent-2:#0b5c93;--gold:#e5a91a;--line:#c9dce8;--ink:#173247;--muted:#607789;--radius:18px}
body{font-size:16px;color:var(--ink);background:radial-gradient(circle at 80% -10%,#d8f1ff,transparent 38%),linear-gradient(160deg,#f7fbfd,#eaf4f9 55%,#f9fcfd)}
.side{width:284px;flex-basis:284px;background:linear-gradient(180deg,#ffffff,#eef7fb 72%,#e3f0f6);border-right:1px solid var(--line);padding:24px 16px 16px;box-shadow:8px 0 28px rgba(41,91,119,.08)}.brandmark,.puck{width:54px;height:54px;flex-basis:54px;border-radius:17px;background:linear-gradient(145deg,#1b9fda,#0a5e9b);box-shadow:0 8px 18px rgba(12,103,157,.25)}.brand b{font-size:17px;color:#12344b}.brand small{font-size:12px;color:var(--muted)}.mainnav{gap:8px}.mainnav a{min-height:56px;border-radius:14px;font-size:16px;gap:12px;color:#34566c;border:1px solid transparent}.navicon{width:34px;height:34px;border-radius:10px;background:#e2f1f8;color:#0b6b9e}.mainnav a.active{color:#075887;background:linear-gradient(100deg,#d9f2ff,#eef9fd);border-color:#a9d5e9;box-shadow:0 5px 14px rgba(28,119,164,.1)}
.appbar{height:68px;padding:0 38px;background:rgba(255,255,255,.9);border-color:var(--line);box-shadow:0 2px 14px rgba(43,89,113,.06)}.main{max-width:1680px;padding:38px 42px 62px}.pagehead{margin-bottom:22px}.pagehead h1{font-size:38px;letter-spacing:-.02em;color:#15384f}.context-tabs{margin-bottom:30px}.context-tabs a{padding:14px 19px;font-size:15px;color:#476b7e}.context-tabs a.active{background:#dff3fc;color:#075b8d;border-color:#acd8ea}
.grid{gap:22px}.card{padding:27px;border-radius:20px;border-color:#d2e3eb;background:rgba(255,255,255,.94);box-shadow:0 12px 30px rgba(52,93,115,.09)}.card h2{font-size:23px;color:#173c54}.card h3{font-size:18px}.story-lead,.lead{font-size:17px;line-height:1.55}.muted{font-size:15px;color:var(--muted)}.feature-hero,.dashboard-hero,.intro-card{background:linear-gradient(125deg,#e1f5fd,#fafdff 58%,#e9f3f8);border-color:#b8dcea}.feature-hero h2,.dashboard-hero h2{font-size:32px;color:#0d527d}
.entity-grid{gap:16px}.entity-card{padding:20px;border-radius:16px;background:linear-gradient(145deg,#ffffff,#f1f8fb);border-color:#c9e0eb}.entity-card h3{font-size:18px}.entity-card p{font-size:14px}.entity-head img{width:68px;height:68px}.competition-badge{width:62px;height:62px;flex-basis:62px;border-radius:16px;background:linear-gradient(145deg,#d9f2fc,#b7dfee);color:#0b628f;font-size:14px}
.hub-actions{gap:12px}.hub-action{padding:17px;border-radius:14px;background:linear-gradient(145deg,#102d49,#0c2034);border-color:#2b5776}.hub-action b{font-size:15px}.hub-action small{font-size:12px}.compact-list{gap:10px}.compact-list>a{padding:14px;border-radius:12px}.compact-list b{font-size:15px}.compact-list small{font-size:12px}
.kpis{gap:12px}.kpi{padding:17px;border-radius:13px;background:#0b2138;border-color:#2b5574}.kpi b{font-size:28px}.kpi small{font-size:11px}.metric-row>div{padding:16px;border-radius:13px}.metric-row b{font-size:26px}.progress,.bar{height:10px}.btn,button{min-height:46px;padding:10px 16px;border-radius:11px;font-size:14px}.subnav a,.hub-tabs a,.section-tabs a,.section-switch a{padding:10px 14px;font-size:13px;border-radius:10px}
.table-wrap{border-radius:14px;border:1px solid #d4e5ec}.table-wrap table{min-width:780px}th,td{padding:15px 16px;font-size:15px}th{font-size:13px;background:#e8f4f9;color:#24536c}.table-wrap a{color:#0a6d9f;font-weight:700;text-decoration:none}.table-wrap a:hover{text-decoration:underline}.team img,.small-logo{width:44px;height:44px}.game-tile{padding:19px;border-radius:16px}.game-tile img{width:66px;height:66px}.game-tile .score{font-size:30px}.match-team img{width:108px;height:108px}.vs{font-size:27px}input,select,textarea{min-height:50px;font-size:16px!important;border-radius:11px;border-color:#bfd7e2;background:#fff}.goal-card,.account{padding:18px;border-radius:15px}.account b{font-size:27px}.flag{font-size:28px}
@media(max-width:1050px){.side{width:230px;flex-basis:230px}.main{padding:28px 24px}}@media(max-width:820px){.side{width:auto;padding:12px}.mainnav a{min-height:44px;font-size:13px}.main{padding:22px 15px 38px}.pagehead h1{font-size:28px}.feature-hero h2,.dashboard-hero h2{font-size:25px}}
.navicon{background-repeat:no-repeat;background-position:center;background-size:21px}.nav-home{background-image:url('../icons/home.svg')}.nav-season{background-image:url('../icons/season.svg')}.nav-competitions{background-image:url('../icons/trophy.svg')}.nav-manager{background-image:url('../icons/manager.svg')}.nav-statistics{background-image:url('../icons/chart.svg')}.nav-community{background-image:url('../icons/community.svg')}.nav-admin{background-image:url('../icons/admin.svg')}.team-profile-hero .hero-teamline img{width:112px;height:112px;object-fit:contain}.parent-link{display:inline-flex;margin-bottom:20px;color:#0a6d9f;font-weight:700;text-decoration:none}

/* V24 · Spieltags-Cockpit und Live-Entscheidung */
.live-topnav{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.live-topnav>div{display:flex;gap:14px;flex-wrap:wrap}.live-topnav .parent-link{margin-bottom:0}
.decision-cockpit,.pulse-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0}.decision-cockpit>div,.pulse-grid>div{padding:13px;border:1px solid #c9dfe9;border-radius:13px;background:linear-gradient(145deg,#f9fdff,#edf7fb)}.decision-cockpit b,.pulse-grid b{display:block;color:#0b638f;font-size:26px;line-height:1}.decision-cockpit small,.pulse-grid small{display:block;margin-top:5px;color:#607789;font-size:11px}.pulse-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}.pulse-grid span{display:block;margin-top:5px;color:#607789;font-size:12px}.block-pulse{border-color:#afd8e9;background:linear-gradient(120deg,#f4fbfe,#e6f6fd)}
.submission-pulse{margin:10px 0 14px;padding:12px 13px;border:1px solid #c9dce8;border-radius:12px;background:#f5fafc}.submission-pulse b,.submission-pulse small{display:block}.submission-pulse small{margin-top:3px;color:#607789;font-size:11px}.submission-pulse.locked{border-color:#abd9bf;background:#effaf3}.submission-pulse.waiting{border-color:#b8d9e8;background:#eef8fc}.submission-pulse.pressure{border-color:#e8cb85;background:#fff9e9}.submission-pulse.open{border-color:#cfdee6;background:#f5fafc}
.live-submit-form{display:grid;gap:10px}.live-submit-form label{font-size:12px;font-weight:750;color:#375a6f}.live-submit-form input{margin-top:5px}.live-submit-form .btn{width:100%}
.period-story-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.period-story{padding:15px;border:1px solid #c9dce8;border-radius:14px;background:#f5fafc}.period-story small,.period-story span{display:block;color:#607789}.period-story b{display:block;margin:5px 0;color:#173c54;font-size:25px}.period-story.good{border-color:#a8d9bb;background:#effaf3}.period-story.bad{border-color:#ecc0c6;background:#fff3f4}.period-story.even{border-color:#c9dce8}.period-story.investment{border-color:#b7d9e8;background:#eef8fc}.budget-context-line{margin-top:10px;padding:11px 12px;border-radius:10px;background:#eef7fb;border:1px solid #c9dfe9}.budget-context-line b,.budget-context-line span{display:block}.budget-context-line b{font-size:12px;color:#173c54}.budget-context-line span{margin-top:3px;color:#607789;font-size:11px}
.tile-story{margin-top:7px;font-size:10px;font-weight:800}.tile-story.good{color:#248451}.tile-story.bad{color:#b24b5c}.tile-story.even{color:#607789}.tile-invest{margin-top:3px;color:#71889a;font-size:9px;font-weight:700}
.live-period.active{box-shadow:0 0 0 2px rgba(20,127,193,.08);border-color:#7ebbd9;background:#eaf7fd}.live-period{background:#f8fcfe;border-color:#c8dfe9}.live-period small,.live-period span{color:#607789}.live-period b{color:#173c54}.live-context .badge,.decision-status .badge{background:#eff7fb;color:#315b71;border-color:#c9dce8}
@media(max-width:900px){.pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.period-story-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.decision-cockpit,.pulse-grid,.period-story-strip{grid-template-columns:1fr}.live-topnav{align-items:flex-start}.live-topnav>div{width:100%;justify-content:space-between}}

/* V24.1 · Kontrast-/Design-Konsolidierung
   Eine Palette für die komplette Anwendung. Die alte Dark-UI bleibt nur im Basissheet
   als Fallback; diese Datei wird danach geladen und macht alle Spielmodule lesbar. */
:root{
  --bg:#eef5f9;
  --bg-deep:#e4eef4;
  --side:#0b2d47;
  --surface:#ffffff;
  --surface-2:#f4f8fb;
  --surface-3:#eaf3f8;
  --line:#c9dbe5;
  --line-soft:#dbe7ee;
  --text:#173247;
  --ink:#173247;
  --muted:#5d7485;
  --faint:#7b8f9e;
  --accent:#147fc1;
  --accent-2:#0b6ea8;
  --ice:#dff4ff;
  --gold:#b87900;
  --good:#187b49;
  --bad:#b53e4f;
  --warn:#9a6900;
  --shadow:0 12px 30px rgba(31,72,96,.10)
}
html{background:var(--bg)}
body{color:var(--text);background:linear-gradient(155deg,#f9fcfe 0,#eef5f9 52%,#e7f1f6 100%)}

/* Navigation: bewusst dunkel, Inhalt bewusst hell – keine Mischkarten mehr. */
.side{background:linear-gradient(180deg,#0d3452 0,#092a43 68%,#08243a 100%);border-right-color:#153f5c;box-shadow:7px 0 24px rgba(19,56,80,.12)}
.brand{color:#fff}.brand b{color:#fff}.brand small{color:#a8c8da}.nav-label{color:#7fa7bf}.mainnav a{color:#c5d9e5}.mainnav a:hover{color:#fff;background:rgba(255,255,255,.08)}.mainnav a.active{color:#fff;background:#15537d;border-color:#2d77a4}.navicon{background:rgba(255,255,255,.09);color:#cae8f8}.mainnav a.active .navicon{background:#e8f7ff;color:#0a6599}.side-help{border-top-color:rgba(255,255,255,.12)}.side-help a{color:#a7c4d5}.side-help a:hover{color:#fff}
.userbox{border-color:rgba(255,255,255,.16);background:rgba(3,25,42,.62);color:#fff}.userbox b{color:#fff}.userbox small,.logout-link{color:#abc7d7}.logout-link:hover{color:#fff}.avatar-dot{overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.2);color:#0b5f91}.avatar-dot img{width:100%;height:100%;object-fit:contain;padding:3px}

/* App-Bar / aktuelle Vereinsidentität */
.appbar{background:rgba(255,255,255,.96);border-bottom-color:#c9dbe5;color:var(--text);box-shadow:0 3px 16px rgba(39,79,101,.07)}
.breadcrumbs{color:#617b8c}.breadcrumbs a{color:#315f7c}.breadcrumbs a:hover{color:#0b6ea8}.crumb-sep{color:#94a8b5}.appbar-right{color:#5f7889}.section-chip{border-color:#c6dce7;background:#eef7fb;color:#245873}.top-team-chip{display:flex;align-items:center;gap:8px;padding:5px 9px 5px 6px;border:1px solid #c7dce7;border-radius:999px;background:#f7fbfd;color:#204e69;text-decoration:none;font-weight:800;font-size:12px}.top-team-chip img{width:30px;height:30px;object-fit:contain}.top-team-chip:hover{border-color:#8fc2dc;background:#edf8fd}

/* Typografie / Links */
.page-kicker,.eyebrow{color:#4c7087}.pagehead h1,.card h2,.card h3{color:#15384f}.story-lead,.lead{color:#526c7e}.muted,.mini-note{color:var(--muted)!important}.parent-link,.text-link,.table-wrap a,.team-link{color:#0b689d}.parent-link:hover,.text-link:hover,.table-wrap a:hover,.team-link:hover{color:#084c73}.team-link{text-decoration:none}

/* Alle Inhaltsflächen hell und kontrastreich */
.card{border-color:#cbdde6;background:#fff;box-shadow:var(--shadow)}.card:hover{border-color:#b4cfdd}.intro-card,.feature-hero,.dashboard-hero{background:linear-gradient(128deg,#e4f5fc 0,#fff 60%,#eef6fa 100%);border-color:#b9d8e7}.hero-logo{background:#fff;border-color:#cbdde6}.entity-card{background:linear-gradient(145deg,#fff,#f3f9fc);border-color:#cadfe9}.entity-card:hover,.link-card:hover{background:#edf8fd;border-color:#8fc3dc}.competition-badge{background:#dff3fc;border-color:#a7d3e6;color:#095f8f}.badge-icon{background:#eef7fb;border-color:#c7dce7;color:#174a68}

/* Die alten dunklen Komponenten werden vollständig in die helle Designsprache gezogen. */
.kpi,.metric-row>div,.hub-action,.compact-list>a,.compact-list>div,.list-card,.list-item,
.season-strip .step,.game-tile,.goal-card,.account,.period-history span,.series-block,.mini-card,
.news-item,.timeline-day article,.admin-tile,.admin-details,.alert,.empty,.status,.stats>div,
.live-period,.strategy-card,.period-budget span,.score-flow>div,.series-score,.series-game,
.submission-line span,.trophies>div,.museum-wall article{
  background:#f7fbfd;color:var(--text);border-color:#ccdee8
}
.hub-action:hover,.admin-tile:hover{background:#edf7fc;border-color:#96c4da}.hub-action b,.admin-tile{color:#173c54}.hub-action small,.compact-list small{color:#60798b}.compact-list>a:hover{background:#edf8fd;border-color:#9fc9dc}.season-strip .step.active,.series-game.active,.live-period.active{background:#e2f4fc;border-color:#7fbbd8}.season-strip .step b,.series-game b,.live-period b{color:#17384d}.season-strip .step small,.series-game small,.live-period small,.live-period span{color:#61798a}
.kpi b,.metric-row b,.stats b,.account b,.score-flow b,.period-budget b{color:#123e59}.kpi small,.metric-row small,.stats span{color:#60798a}.progress,.bar{background:#dbe8ef}.record-value,.live-score,.live-total,.remaining,.account-focus b,.series-score b{color:#9a6500}

/* Tabellen sind ein Hauptbildschirm des Spiels – hohe Lesbarkeit, Logos gut sichtbar. */
.table-wrap{background:#fff;border-color:#c9dce6;box-shadow:none}table{color:#203d50}th{background:#eaf4f8;color:#315b72;border-bottom:1px solid #c6dbe6}td{border-bottom-color:#dbe7ed}tbody tr:hover td{background:#f3f9fc}.rank-1 td{background:#effaf4}.rank-danger td{background:#fff2f4}.team{gap:10px;min-width:0}.team img,.small-logo{width:38px;height:38px;flex:0 0 38px;object-fit:contain}.team>span{min-width:0}.compact-match .team img{width:34px;height:34px;flex-basis:34px}.vs-inline{display:inline-block;margin:0 8px;color:#7790a0;font-weight:900}

/* Teamwappen als visuelles Grundelement */
.section-team-logo{width:44px;height:44px;object-fit:contain}.crest-stack{display:flex;align-items:center;margin-top:14px;padding-top:12px;border-top:1px solid #d9e7ed}.crest-stack img{width:38px;height:38px;object-fit:contain;margin-left:-7px;padding:3px;border:2px solid #fff;border-radius:50%;background:#f8fbfd;box-shadow:0 3px 8px rgba(26,70,95,.12)}.crest-stack img:first-child{margin-left:0}.league-entity{display:flex;flex-direction:column;justify-content:space-between;min-height:150px}.competition-links>a{position:relative;padding-left:16px}
.hero-teamline img{filter:drop-shadow(0 5px 8px rgba(26,70,95,.12))}

/* Formulare / Buttons */
label{color:#355b72}input,select,textarea{border-color:#bcd4e0;background:#fff;color:#173247}input:focus,select:focus,textarea:focus{border-color:#5aa4c9;box-shadow:0 0 0 3px rgba(20,127,193,.12)}
.btn,button,.button{background:#0d72aa;color:#fff;box-shadow:0 4px 10px rgba(11,110,168,.13)}.btn:hover,button:hover,.button:hover{background:#095f94;filter:none}.btn.secondary,button.secondary,.button.secondary{border:1px solid #b7d2df;background:#edf6fa;color:#235a78;box-shadow:none}.btn.secondary:hover,button.secondary:hover,.button.secondary:hover{background:#dfedf4}.btn.warn{background:#d69a17;color:#172d3a}.btn.danger,.danger{background:#ad3d4d!important;color:#fff}.status,.pill,.tag,.status-chip,.badge{background:#eef6fa;color:#385f75;border-color:#c7dce6}.tag-good,.good,.success,.ok{color:#176f45}.tag-bad,.bad,.error{color:#a83849}.tag-gold,.warn,.notice{color:#8b5f00}

/* Live / Strategie */
.remaining-box,.account-focus,.budget-context-line{background:#eef8fc;border-color:#b9dbe9}.submission-line span{color:#61798a}.submission-line span.done{color:#176f45;border-color:#a6d5ba;background:#eff9f3}.deadline-box{background:#fff8e9;border-color:#e6cc8b}.deadline-box span{background:#f6e9c5;color:#785500}.deadline-box.expired{background:#fff1f3;border-color:#e7b7bf}.deadline-box.expired span{background:#f8dde1;color:#a43849}.live-context .badge,.decision-status .badge{background:#eef6fa;color:#315b71;border-color:#c9dce8}

/* News / Museum */
.importance-3,.importance-4{background:#fff9ea;border-color:#ead59f}.museum-hero{background:linear-gradient(145deg,#fff8e7,#fff 70%);border-color:#ead9ab}.timeline-day article{border-left-color:#2b8abd}.timeline-marker{color:#986500}

/* Footer */
.app-footer{background:#f7fafc;border-top-color:#d4e2e9;color:#6c8190}.app-footer a{color:#35647e}

/* Mobile: Teamchip im Topbar nicht erzwingen, Logos aber sichtbar lassen. */
@media(max-width:820px){.top-team-chip{display:none}.side{background:#0b304c;border-bottom-color:#174765}.userbox{background:rgba(2,22,37,.52)}}
@media(max-width:620px){.team img,.small-logo{width:32px;height:32px;flex-basis:32px}.crest-stack img{width:34px;height:34px}.league-entity{min-height:135px}}

/* V24.1 · Ergänzende Komponenten */
.subnav a,.hub-tabs a,.section-tabs a,.section-switch a{background:#f2f8fb;color:#315d76;border-color:#c6dce7}.subnav a:hover,.hub-tabs a:hover,.section-tabs a:hover,.section-switch a:hover{background:#e6f4fa;color:#0b608f;border-color:#91bfd5}.subnav a.active,.hub-tabs a.active,.section-tabs a.active,.section-switch a.active{background:#d9eff9;color:#075883;border-color:#82bad4}
.chat-avatar{background:#dfeff7;color:#0b638f}.online-user{display:flex;align-items:center;gap:10px;padding:8px 0}.online-team-logo{width:38px;height:38px;object-fit:contain;flex:0 0 38px}.mini-matchup{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:8px 0 12px;padding:10px 12px;border:1px solid #ccdee8;border-radius:12px;background:#f7fbfd}.series-team{display:grid;justify-items:center;gap:4px}.series-team img{width:54px;height:54px;object-fit:contain}.match-separator{text-align:center;color:#8194a1;font-weight:900}.account-active{outline:2px solid rgba(20,127,193,.28);background:#e9f6fc}.notice{color:#6f5100;background:#fff8e7;border:1px solid #ead49a;border-radius:10px;padding:10px 12px}.reactions button{box-shadow:none;background:#edf6fa;color:#244e67;border:1px solid #c8dce6}.reactions button:hover{background:#deedf4}.danger-zone{border-color:#e3b5bd!important;background:#fff5f6!important}
.rivalry-crests{display:flex;align-items:center;gap:6px;margin-bottom:7px}.rivalry-crests img{width:34px;height:34px;object-fit:contain}.rivalry-crests span{color:#7890a0;font-size:10px;font-weight:900;text-transform:uppercase}.champion-line{display:flex;align-items:center;gap:10px}.champion-line img{width:38px;height:38px;object-fit:contain}

/* V25 · Taktik & Kontingent */
.heading-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.tactics-hero{overflow:hidden}
.season-progress-line{display:grid;grid-template-columns:auto minmax(140px,1fr) auto;align-items:center;gap:12px;margin-top:20px;padding:14px 16px;border:1px solid #c8dce6;border-radius:14px;background:#f7fbfd}
.season-progress-line>div:first-child{display:grid}.season-progress-line b{font-size:20px;color:#153d56}.season-progress-line small{color:#657e8e}.season-progress-line strong{color:#0b6597}
.usage-track{height:9px;border-radius:999px;background:#dceaf1;overflow:hidden;box-shadow:inset 0 1px 2px rgba(28,70,94,.08)}
.usage-track>span{display:block;height:100%;min-width:0;border-radius:inherit;background:linear-gradient(90deg,#7bc5e7,#147fc1)}
.season-progress-mini{display:grid;grid-template-columns:auto minmax(120px,1fr) auto;align-items:center;gap:10px;margin-top:14px;padding:10px 12px;border-top:1px solid #d8e6ed;color:#506d7f}.season-progress-mini b{color:#0b689d}
.account-balance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.account-balance{padding:14px;border:1px solid #c9dce6;border-radius:14px;background:#f8fbfd}.account-balance-head,.account-balance-foot{display:flex;justify-content:space-between;align-items:center;gap:10px}.account-balance-head{margin-bottom:10px}.account-balance-head span{font-weight:800;color:#315d76}.account-balance-head b{font-size:19px;color:#153d56}.account-balance-foot{margin-top:8px;color:#667e8e}.side-balance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.side-balance>div{display:grid;gap:4px;padding:14px;border:1px solid #cbdde6;border-radius:14px;background:#eef7fb}.side-balance small{color:#587489}.side-balance b{font-size:22px;color:#123e59}.side-balance span{font-size:12px;color:#6b8291}
.tactics-snapshot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tactics-snapshot-grid>div{display:grid;gap:4px;padding:14px;border:1px solid #cadde7;border-radius:14px;background:#f6fafc}.tactics-snapshot-grid small{color:#667f90}.tactics-snapshot-grid b{font-size:24px;color:#123f5b}.tactics-snapshot-grid span{font-size:12px;color:#587285}
.pattern-columns{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(190px,.8fr);gap:16px}.period-average{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.period-average>div{display:grid;gap:3px;padding:12px;border:1px solid #c9dce6;border-radius:12px;background:#f6fafc}.period-average small{color:#647d8e}.period-average b{font-size:22px;color:#123f59}.period-average span{font-size:11px;color:#718796}.home-away-pattern{display:grid;gap:10px}.home-away-pattern>div{display:grid;gap:3px;padding:12px;border:1px solid #c9dce6;border-radius:12px;background:#eef7fb}.home-away-pattern small{color:#5f798a}.home-away-pattern b{font-size:21px;color:#17455f}.home-away-pattern span,.period-inline{font-size:12px;color:#5b7687}
.next-opponent-layout{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.4fr);gap:18px;align-items:center}.opponent-identity{display:flex;align-items:center;gap:14px}.opponent-identity img{width:72px;height:72px;object-fit:contain;flex:0 0 72px}.opponent-identity h3{margin:3px 0;color:#15384f}.opponent-identity small,.opponent-identity span{display:block;color:#657e8e}.opponent-identity.compact img{width:52px;height:52px;flex-basis:52px}.opponent-identity.compact b{display:block;color:#153d56;font-size:17px;margin:3px 0}.h2h-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.h2h-summary>div,.h2h-mini{display:grid;gap:3px;padding:12px;border:1px solid #c9dce6;border-radius:12px;background:#f6fafc}.h2h-summary small,.h2h-mini small{color:#657e8e}.h2h-summary b,.h2h-mini b{font-size:20px;color:#123e59}.h2h-summary span,.h2h-mini span{font-size:11px;color:#718897}.opponent-pattern{margin-top:18px;padding-top:16px;border-top:1px solid #d7e5ec}
.live-tactics-grid{display:grid;grid-template-columns:1fr 1fr minmax(150px,.55fr);gap:12px;align-items:stretch}.live-tactics-grid>.opponent-identity,.live-tactics-grid>.h2h-mini{padding:12px;border:1px solid #cadde7;border-radius:14px;background:#f6fafc}.live-tactics-grid .h2h-mini{align-content:center;text-align:center}
.mini-account-usage{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.mini-account-usage>div{display:grid;gap:4px;padding:11px 12px;border:1px solid #c9dce6;border-radius:12px;background:#f6fafc}.mini-account-usage b{color:#194861}.mini-account-usage span{font-size:12px;color:#607b8c}
@media(max-width:980px){.account-balance-grid,.tactics-snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pattern-columns,.next-opponent-layout{grid-template-columns:1fr}.h2h-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.live-tactics-grid{grid-template-columns:1fr 1fr}.live-tactics-grid>.h2h-mini{grid-column:1/-1}}
@media(max-width:620px){.season-progress-line,.season-progress-mini{grid-template-columns:1fr}.account-balance-grid,.side-balance,.tactics-snapshot-grid,.period-average,.h2h-summary,.live-tactics-grid,.mini-account-usage{grid-template-columns:1fr}.live-tactics-grid>.h2h-mini{grid-column:auto}.opponent-identity img{width:58px;height:58px;flex-basis:58px}.heading-actions{gap:10px}}

/* V25.1 · Taktikschärfung & erweitertes Live-Spiel */
.tactics-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tactics-overview-grid>div{display:grid;gap:4px;padding:15px;border:1px solid #c9dce6;border-radius:14px;background:#f7fbfd}.tactics-overview-grid small{color:#617c8d}.tactics-overview-grid b{font-size:23px;color:#123e59}.tactics-overview-grid span{font-size:12px;color:#60798a}.pace-summary.pace-high,.account-balance.pace-high{border-color:#e6ca88;background:#fffaf0}.pace-summary.pace-low,.account-balance.pace-low{border-color:#a9d4e7;background:#eff9fd}.pace-summary.pace-even,.account-balance.pace-even{border-color:#b8dbc5;background:#f3fbf6}
.dual-pace{display:grid;grid-template-columns:1fr auto;gap:5px 10px;align-items:center}.dual-pace small{color:#60798a}.dual-pace>div:nth-child(3){margin-top:3px}.schedule-track>span{background:linear-gradient(90deg,#a7b9c5,#617f92)}
.recent-trend-box{display:grid;align-content:start;gap:6px;padding:14px;border:1px solid #c9dce6;border-radius:14px;background:#f2f8fb}.recent-trend-box>b{font-size:28px;color:#123e59}.trend-delta{font-weight:800;font-size:13px}.trend-delta.up{color:#9b6100}.trend-delta.down{color:#1674a5}.trend-delta.flat{color:#4f6e80}.trend-periods{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.trend-periods span{padding:5px 7px;border-radius:999px;background:#fff;border:1px solid #d1e1e8;color:#516e80;font-size:11px}.v251-home-away{grid-template-columns:1fr 1fr;margin-top:12px}.outcome-split{display:grid;grid-template-columns:1fr 1fr;gap:10px}.outcome-split>div{display:grid;gap:4px;padding:14px;border:1px solid #c9dce6;border-radius:14px;background:#f7fbfd}.outcome-split small,.outcome-split span{color:#637e8f}.outcome-split b{font-size:24px;color:#123e59}
.goal-quickpick{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:-2px 0 12px}.goal-pick{min-height:34px;padding:5px;border:1px solid #bdd6e3;border-radius:9px;background:#f5fafc;color:#234e67;font-weight:850;cursor:pointer}.goal-pick:hover{background:#e6f4fa;border-color:#82bad4}.goal-pick.active{background:#0b6d9f;border-color:#0b6d9f;color:#fff;box-shadow:0 0 0 2px rgba(11,109,159,.12)}
.live-pace-box{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;padding:12px;border:1px solid #c7dce6;border-radius:12px;background:#f4fafc}.live-pace-box>div{display:grid;gap:3px}.live-pace-box small{color:#617b8c}.live-pace-box b{font-size:21px;color:#123f59}.live-pace-box>span{grid-column:1/-1;padding-top:7px;border-top:1px solid #d8e6ed;color:#526f81;font-size:12px;font-weight:750}
.period-compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.period-compare{display:grid;grid-template-columns:48px 1fr;grid-template-areas:"img small" "img big" "img meta";column-gap:12px;align-items:center;padding:14px;border:1px solid #c9dce6;border-radius:14px;background:#f7fbfd}.period-compare img{grid-area:img;width:48px;height:48px;object-fit:contain}.period-compare small{grid-area:small;color:#607b8d}.period-compare b{grid-area:big;color:#123e59;font-size:24px}.period-compare span{grid-area:meta;color:#647f90;font-size:12px}.period-compare.mine{background:#eef8fc}.period-compare.opp{background:#f9fbfc}.live-tactics-grid em{display:block;margin-top:5px;color:#617b8c;font-size:11px;font-style:normal}
.recent-set-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.recent-set-strip a{display:grid;grid-template-columns:36px 1fr;grid-template-areas:"img day" "img value" "img result";column-gap:9px;padding:10px;border:1px solid #c9dce6;border-radius:12px;background:#f7fbfd;text-decoration:none}.recent-set-strip a:hover{border-color:#8bbfd7;background:#eef8fc}.recent-set-strip img{grid-area:img;width:36px;height:36px;object-fit:contain;align-self:center}.recent-set-strip small{grid-area:day;color:#657e8e}.recent-set-strip b{grid-area:value;color:#153e57;font-size:13px}.recent-set-strip span{grid-area:result;color:#60798a;font-size:11px}.match-team small{display:block;margin-top:3px;color:#688091;font-size:11px;font-weight:650}
@media(max-width:1100px){.tactics-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recent-set-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.period-compare-grid,.outcome-split,.v251-home-away{grid-template-columns:1fr}.goal-quickpick{grid-template-columns:repeat(4,minmax(0,1fr))}.recent-set-strip{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.tactics-overview-grid,.recent-set-strip{grid-template-columns:1fr}.goal-quickpick{grid-template-columns:repeat(3,minmax(0,1fr))}.dual-pace{grid-template-columns:1fr auto}}

/* V26 · Filter, Vergleich, Spieltagsverlauf & Zustandswarnungen */
.tactics-filter-card{position:relative;overflow:hidden}.tactics-filter-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:10px;align-items:end}.tactics-filter-form label{display:grid;gap:5px;color:#557185;font-size:12px;font-weight:750}.tactics-filter-form select{width:100%;min-height:42px;border:1px solid #bdd2dd;border-radius:10px;background:#fff;color:#173e56;padding:8px 10px}.filter-actions{display:flex;gap:7px;align-items:center}.filter-actions .btn{white-space:nowrap}.active-filter-line{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px;padding-top:12px;border-top:1px solid #d9e6ec}.active-filter-line span,.active-filter-line strong{padding:6px 9px;border:1px solid #cadde6;border-radius:999px;background:#f3f8fb;color:#557185;font-size:11px}.active-filter-line strong{background:#e6f4fa;color:#174862;border-color:#a9cee0}
.comparison-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.45fr) minmax(0,1fr);gap:12px;align-items:stretch}.compare-team{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:13px;align-items:center;padding:15px;border:1px solid #c7dce6;border-radius:15px;background:#f7fbfd}.compare-team img{width:64px;height:64px;object-fit:contain}.compare-team small,.compare-team span{display:block;color:#627d8e}.compare-team h3{margin:3px 0;color:#143d56}.compare-team>strong{font-size:20px;color:#0b6597;text-align:right}.compare-middle{display:grid;align-content:center;text-align:center;gap:4px;padding:14px;border:1px solid #bfd7e3;border-radius:15px;background:#edf7fb}.compare-middle small,.compare-middle span{color:#607b8c}.compare-middle b{font-size:28px;color:#123f59}.comparison-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.comparison-metrics>div{display:grid;gap:4px;padding:12px;border:1px solid #ccdde6;border-radius:12px;background:#fff}.comparison-metrics>div.focus{border-color:#6db2d3;background:#edf8fd;box-shadow:0 0 0 2px rgba(24,126,178,.08)}.comparison-metrics small{color:#657f90}.comparison-metrics b{font-size:19px;color:#173f58}.comparison-metrics b span{font-size:11px;color:#7a909d;font-weight:700}.comparison-metrics em{font-style:normal;font-size:11px;color:#647f8f}.filter-focus{border-color:#6db2d3!important;background:#edf8fd!important}.table-focus{background:#edf8fd;font-weight:850;color:#0b6597}
.live-warning-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.live-warning{display:grid;gap:4px;padding:13px 14px;border:1px solid #c8dce6;border-left-width:5px;border-radius:12px;background:#f7fbfd}.live-warning b{color:#173f58}.live-warning span{font-size:12px;color:#5c7688;line-height:1.45}.live-warning.info{border-left-color:#4aa5ce;background:#f0f9fd}.live-warning.warn{border-left-color:#d2a137;background:#fffaf0}.live-warning.danger{border-left-color:#c85e5e;background:#fff5f5}.live-warning.ok{border-left-color:#4ba66e;background:#f3fbf6}.live-warning-card>.live-warning.ok{max-width:650px}
.matchday-flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.matchday-flow-item{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:9px;padding:11px 12px;border:1px solid #cadde6;border-radius:13px;background:#f8fbfd;text-decoration:none}.matchday-flow-item:hover{background:#eef8fc;border-color:#93c4da}.matchday-flow-item.current{border-color:#4ca0c9;background:#eaf7fc;box-shadow:0 0 0 2px rgba(44,132,177,.08)}.flow-team{display:flex;align-items:center;gap:8px;min-width:0}.flow-team.away{justify-content:flex-end;text-align:right}.flow-team img{width:34px;height:34px;object-fit:contain;flex:0 0 34px}.flow-team span{color:#254e65;font-size:12px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.flow-score{display:grid;text-align:center;min-width:64px}.flow-score b{font-size:18px;color:#123e59}.flow-score small{color:#6b8291;font-size:10px}
@media(max-width:1180px){.tactics-filter-form{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-actions{grid-column:auto}.comparison-grid{grid-template-columns:1fr 1fr}.compare-middle{grid-column:1/-1;grid-row:2}.comparison-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.live-warning-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.tactics-filter-form{grid-template-columns:1fr 1fr}.filter-actions{grid-column:1/-1}.comparison-grid,.comparison-metrics,.matchday-flow-grid,.live-warning-grid{grid-template-columns:1fr}.compare-middle{grid-column:auto;grid-row:auto}.compare-team{grid-template-columns:52px minmax(0,1fr)}.compare-team img{width:52px;height:52px}.compare-team>strong{grid-column:1/-1;text-align:left}.flow-team span{white-space:normal}.matchday-flow-item{grid-template-columns:1fr auto 1fr}}
@media(max-width:520px){.tactics-filter-form{grid-template-columns:1fr}.filter-actions{grid-column:auto;display:grid;grid-template-columns:1fr 1fr}.matchday-flow-item{grid-template-columns:1fr}.flow-team,.flow-team.away{justify-content:center;text-align:center}.flow-score{order:2}.flow-team.away{order:3}.active-filter-line{display:grid}.active-filter-line>*{text-align:center}}

/* V27 · Reaktionsmuster, Setzbänder & erweiterter Live-Kontext */
.reaction-table-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.reaction-panel{padding:14px;border:1px solid #c9dce6;border-radius:15px;background:#f8fbfd}.reaction-panel h3{margin:0 0 10px;color:#143e57}.reaction-panel table{min-width:0}.reaction-panel td strong,.reaction-panel td small{display:block}.reaction-panel td strong{color:#123f59;font-size:18px}.reaction-panel td small{margin-top:3px;color:#637d8e;font-size:11px}
.band-compare-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.band-period{padding:15px;border:1px solid #c9dce6;border-radius:15px;background:#f8fbfd}.band-period.focus{border-color:#5ba7cb;background:#edf8fd;box-shadow:0 0 0 2px rgba(35,133,181,.08)}.band-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.band-head b{font-size:22px;color:#123f59}.band-head span{font-size:11px;color:#637d8e}.band-row{display:grid;grid-template-columns:55px 1fr;gap:8px;align-items:center;margin:8px 0}.band-row>small{color:#5e7789;font-weight:750}.band-pair{display:grid;grid-template-columns:1fr 1fr;gap:6px}.band-pair>div{position:relative;height:24px;border-radius:7px;background:#e7f0f5;overflow:hidden}.band-pair>div:nth-child(2){background:#eef1f4}.band-pair i{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#2d93c2,#56b4d6);border-radius:7px}.band-pair>div:nth-child(2) i{background:linear-gradient(90deg,#718ba0,#9fb1bf)}.band-pair span{position:relative;z-index:1;display:flex;height:100%;align-items:center;justify-content:center;color:#173e56;font-size:11px;font-weight:850}.band-legend{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;padding-top:10px;border-top:1px solid #dce8ee}.band-legend span{display:flex;align-items:center;gap:6px;color:#5e788a;font-size:10px}.band-legend img{width:22px;height:22px;object-fit:contain}
.matchday-status-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:12px}.matchday-status-strip>div{padding:11px 12px;border:1px solid #cfdee6;border-radius:11px;background:#f3f8fb}.matchday-status-strip b,.matchday-status-strip small{display:block}.matchday-status-strip b{font-size:22px;color:#123f59}.matchday-status-strip small{margin-top:2px;color:#637d8d}
.live-reaction-grid,.live-band-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.live-reaction-grid article,.live-band-grid article{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;align-items:center;padding:15px;border:1px solid #c8dce6;border-radius:14px;background:#f7fbfd}.live-reaction-grid img,.live-band-grid img{width:58px;height:58px;object-fit:contain}.live-reaction-grid small,.live-reaction-grid span,.live-band-grid small,.live-band-grid span{display:block;color:#617c8d}.live-reaction-grid b,.live-band-grid b{display:block;margin:3px 0;color:#123f59;font-size:18px}
.next-game-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.next-game-strip a{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;padding:11px;border:1px solid #c9dce6;border-radius:12px;background:#f7fbfd;text-decoration:none}.next-game-strip a:hover{border-color:#88bdd5;background:#edf8fc}.next-game-strip img{width:44px;height:44px;object-fit:contain}.next-game-strip small,.next-game-strip span{display:block;color:#627c8d}.next-game-strip b{display:block;margin:2px 0;color:#153e57;font-size:14px}
@media(max-width:1000px){.band-compare-grid{grid-template-columns:1fr}.reaction-table-grid{grid-template-columns:1fr}.live-reaction-grid,.live-band-grid{grid-template-columns:1fr}}
@media(max-width:700px){.matchday-status-strip,.next-game-strip{grid-template-columns:1fr}.band-pair{grid-template-columns:1fr}.band-row{grid-template-columns:50px 1fr}}

/* V28 · Kontoreichweite, Restprogramm & Live-Entscheidungsfolgen */
.v28-reach-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.v28-reach-side{border:1px solid #c9dce6;border-radius:16px;background:#f8fbfd;padding:16px}.v28-reach-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.v28-reach-head b{font-size:20px;color:#123f59}.v28-reach-head span{font-size:12px;color:#637d8e}.v28-reach-periods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.v28-reach-periods>div{border:1px solid #d7e5ec;background:#fff;border-radius:12px;padding:12px}.v28-reach-periods small,.v28-reach-periods span{display:block;color:#617b8d}.v28-reach-periods b{display:block;font-size:24px;color:#123f59;margin:2px 0}.v28-rest-schedule{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.v28-rest-schedule>a{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;border:1px solid #d5e4eb;border-radius:13px;padding:11px;background:#fff;text-decoration:none}.v28-rest-schedule img{width:48px;height:48px;object-fit:contain}.v28-rest-schedule small,.v28-rest-schedule span{display:block;color:#607b8c}.v28-rest-schedule b{display:block;color:#123f59;margin:2px 0}.decision-impact{margin:12px 0;padding:12px;border:1px solid #bcd8e6;border-radius:13px;background:#eef8fc}.decision-impact>small{display:block;text-transform:uppercase;letter-spacing:.08em;font-weight:850;color:#326a86;margin-bottom:8px}.decision-impact>div{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-top:1px solid rgba(67,132,163,.14)}.decision-impact>div:first-of-type{border-top:0}.decision-impact span{color:#5c7788}.decision-impact b{color:#113f59;text-align:right}
@media(max-width:1000px){.v28-rest-schedule{grid-template-columns:repeat(2,minmax(0,1fr))}.v28-reach-periods{grid-template-columns:1fr}}
@media(max-width:700px){.v28-reach-grid,.v28-rest-schedule{grid-template-columns:1fr}.decision-impact>div{align-items:flex-start}}

/* V29 · Kontorisiko-Simulation & Saisonvergleich */
.v29-risk-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.v29-risk-side{padding:16px;border:1px solid #cadde6;border-radius:16px;background:#f8fbfd}.v29-risk-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.v29-risk-head b{font-size:20px;color:#123f59}.v29-risk-head span{font-size:12px;color:#627d8e}.v29-risk-periods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.v29-risk-period{padding:13px;border:1px solid #d4e3ea;border-left-width:5px;border-radius:13px;background:#fff}.v29-risk-period.good{border-left-color:#2f9561;background:#f4fbf7}.v29-risk-period.even{border-left-color:#4a9bc0;background:#f2f9fc}.v29-risk-period.warn{border-left-color:#c6962f;background:#fffaf0}.v29-risk-period.danger{border-left-color:#c65661;background:#fff5f6}.v29-risk-period.done,.v29-risk-period.neutral{border-left-color:#9eb2bf;background:#f7fafc}.v29-risk-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:9px}.v29-risk-title span{font-weight:850;color:#315b72}.v29-risk-title b{font-size:21px;color:#143f58}.v29-risk-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:7px 0;border-top:1px solid #e3edf2}.v29-risk-line small{color:#607a8b}.v29-risk-line strong{color:#143f58;text-align:right}.v29-risk-line span{grid-column:1/-1;color:#728896;font-size:11px}.v29-risk-line.compact span{display:none}.v29-buffer{display:flex;justify-content:space-between;gap:10px;padding-top:8px;border-top:1px dashed #d4e3ea}.v29-buffer span{color:#637d8e;font-size:11px}.v29-buffer b{color:#143f58}
.v29-current-season{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;align-items:center;padding:14px;margin-bottom:13px;border:1px solid #bcd8e6;border-radius:14px;background:#eef8fc}.v29-current-season img{width:72px;height:72px;object-fit:contain}.v29-current-season small,.v29-current-season span{display:block;color:#5f7a8b}.v29-current-season b{display:block;margin:3px 0;color:#123f59;font-size:22px}.v29-season-table td small{display:block;margin-top:3px;color:#718795;font-size:10px}.v29-season-table td b{color:#143f58}
.v29-impact-risk{background:rgba(255,255,255,.45);border-radius:8px;padding-left:6px!important;padding-right:6px!important}.v29-impact-risk b{font-size:12px}
.v29-dashboard-risk-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.v29-dashboard-risk-grid>div{padding:12px;border:1px solid #d3e2e9;border-left-width:4px;border-radius:12px;background:#f8fbfd}.v29-dashboard-risk-grid>div.good{border-left-color:#2f9561;background:#f4fbf7}.v29-dashboard-risk-grid>div.even{border-left-color:#4a9bc0;background:#f2f9fc}.v29-dashboard-risk-grid>div.warn{border-left-color:#c6962f;background:#fffaf0}.v29-dashboard-risk-grid>div.danger{border-left-color:#c65661;background:#fff5f6}.v29-dashboard-risk-grid>div.done,.v29-dashboard-risk-grid>div.neutral{border-left-color:#9eb2bf}.v29-dashboard-risk-grid small,.v29-dashboard-risk-grid span{display:block;color:#647f8f}.v29-dashboard-risk-grid b{display:block;margin:3px 0;color:#143f58;font-size:22px}.v29-dashboard-risk-grid span{font-size:10px;line-height:1.35}
@media(max-width:1100px){.v29-risk-grid{grid-template-columns:1fr}.v29-risk-periods{grid-template-columns:repeat(3,minmax(0,1fr))}.v29-dashboard-risk-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.v29-risk-periods,.v29-dashboard-risk-grid{grid-template-columns:1fr}.v29-current-season{grid-template-columns:56px minmax(0,1fr)}.v29-current-season img{width:56px;height:56px}.v29-risk-head{align-items:flex-start;flex-direction:column}}

/* =========================================================
   V30 · BLACK ICE / TÜRKIS
   Vollständige Designkonsolidierung auf dunkel + türkis.
   ========================================================= */
:root{
  --bg:#050808;--bg-deep:#020404;--side:#070b0b;
  --surface:#0c1112;--surface-2:#11191a;--surface-3:#172223;
  --line:#263536;--line-soft:#1b292a;
  --text:#edfafa;--ink:#edfafa;--muted:#91a8a7;--faint:#647a79;
  --accent:#24d7c8;--accent-2:#12b8aa;--ice:#8ff7ed;
  --gold:#67e8dc;--good:#45d99a;--bad:#ff7180;--warn:#e2b94f;
  --shadow:0 18px 42px rgba(0,0,0,.30)
}
html{background:#050808}
body{color:var(--text);background:radial-gradient(circle at 82% -12%,rgba(36,215,200,.11),transparent 34%),linear-gradient(155deg,#040707 0,#080d0e 48%,#050909 100%)}
.side{background:linear-gradient(180deg,#080d0d 0,#050909 65%,#030606 100%);border-right-color:#18302f;box-shadow:8px 0 30px rgba(0,0,0,.28)}
.brand,.brand b{color:#f1ffff}.brand small{color:#73a8a3}.brandmark,.puck{background:linear-gradient(145deg,#2be0d0,#0b9187);color:#03100f;box-shadow:0 9px 24px rgba(36,215,200,.18)}
.nav-label{color:#527d79}.mainnav a{color:#9bb5b3}.mainnav a:hover{color:#ecfffd;background:#0e1919}.mainnav a.active{color:#effffd;background:linear-gradient(100deg,#102827,#0d1b1b);border-color:#25756e}.navicon{background:#0c1616;color:#6aa39e}.mainnav a.active .navicon{background:#1cd0c1;color:#03110f}.side-help{border-top-color:#152524}.side-help a{color:#739693}.side-help a:hover{color:#8ff7ed}
.userbox{border-color:#1d3432;background:#080e0e;color:#f0ffff}.userbox b{color:#f0ffff}.userbox small,.logout-link{color:#789995}.logout-link:hover{color:#8ff7ed}.avatar-dot{background:#f5ffff;border-color:#2b5b57;color:#087d75}
.appbar{background:rgba(5,9,9,.94);border-bottom-color:#1b302f;color:var(--text);box-shadow:0 5px 18px rgba(0,0,0,.22)}
.breadcrumbs{color:#718e8b}.breadcrumbs a{color:#91b7b4}.breadcrumbs a:hover{color:#7ff4e8}.crumb-sep{color:#425e5b}.appbar-right{color:#779492}.section-chip{border-color:#28504c;background:#0d1d1c;color:#8fe2da}.top-team-chip{border-color:#28504c;background:#0b1515;color:#d9f7f4}.top-team-chip:hover{border-color:#22a99f;background:#102321}
.page-kicker,.eyebrow{color:#62b8b0}.pagehead h1,.card h2,.card h3{color:#f2ffff}.story-lead,.lead{color:#abc0be}.muted,.mini-note{color:var(--muted)!important}.parent-link,.text-link,.table-wrap a,.team-link{color:#55ded2}.parent-link:hover,.text-link:hover,.table-wrap a:hover,.team-link:hover{color:#99fff6}
.context-tabs{border-bottom-color:#20302f}.context-tabs a{color:#7f9b98}.context-tabs a:hover{color:#d7f8f5}.context-tabs a.active{background:transparent;color:#7ef4e9;border-color:#24d7c8}

/* Inhaltsflächen */
.card{border-color:#243434;background:linear-gradient(145deg,#0d1314,#0a0f10);box-shadow:var(--shadow)}.card:hover{border-color:#31504d}.intro-card,.feature-hero,.dashboard-hero{background:linear-gradient(128deg,#0d1717 0,#0a1010 58%,#0e2220 100%);border-color:#28514d}.hero-logo{background:#f5ffff;border-color:#315e59}.entity-card{background:linear-gradient(145deg,#101718,#0b1011);border-color:#263b3a}.entity-card:hover,.link-card:hover{background:#12201f;border-color:#28756e}.competition-badge{background:#123331;border-color:#1b716a;color:#86f4e9}.badge-icon{background:#111d1d;border-color:#2a4644;color:#71ded5}

/* Altmodule aus dem hellen V24.1-Theme konsequent zurück auf dunkel */
.kpi,.metric-row>div,.hub-action,.compact-list>a,.compact-list>div,.list-card,.list-item,
.season-strip .step,.game-tile,.goal-card,.account,.period-history span,.series-block,.mini-card,
.news-item,.timeline-day article,.admin-tile,.admin-details,.alert,.empty,.status,.stats>div,
.live-period,.strategy-card,.period-budget span,.score-flow>div,.series-score,.series-game,
.submission-line span,.trophies>div,.museum-wall article,.tactics-overview-grid>div,
.recent-trend-box,.outcome-split>div,.period-compare,.recent-set-strip a,.tactics-filter-form select,
.active-filter-line span,.active-filter-line strong,.compare-team,.compare-middle,.comparison-metrics>div,
.live-warning,.matchday-flow-item,.reaction-panel,.band-period,.band-pair>div,
.matchday-status-strip>div,.live-reaction-grid article,.live-band-grid article,.next-game-strip a,
.v28-reach-side,.v28-reach-periods>div,.v28-rest-schedule>a,.decision-impact,.v29-risk-side,
.v29-risk-period,.v29-current-season,.v29-dashboard-risk-grid>div,.mini-matchup,.notice,
.reactions button,.side-balance>div,.account-balance,.opponent-identity,.h2h-mini,.tactics-snapshot-grid>div{
  background:#101718;color:var(--text);border-color:#263b3a
}
.hub-action:hover,.admin-tile:hover,.compact-list>a:hover,.recent-set-strip a:hover,.next-game-strip a:hover,.matchday-flow-item:hover{background:#132221;border-color:#2a716b}
.season-strip .step.active,.series-game.active,.live-period.active,.account-active,.period-compare.mine,.filter-focus,.comparison-metrics>div.focus,.matchday-flow-item.current{background:#102b29!important;border-color:#28a99f!important;box-shadow:0 0 0 2px rgba(36,215,200,.08)}
.kpi b,.metric-row b,.stats b,.account b,.score-flow b,.period-budget b,.season-strip .step b,.series-game b,.live-period b,
.tactics-overview-grid b,.recent-trend-box>b,.outcome-split b,.period-compare b,.recent-set-strip b,.compare-team h3,.compare-middle b,.comparison-metrics b,
.live-warning b,.flow-score b,.reaction-panel h3,.reaction-panel td strong,.band-head b,.live-reaction-grid b,.live-band-grid b,.next-game-strip b,
.v28-reach-head b,.v28-reach-periods b,.v28-rest-schedule b,.decision-impact b,.v29-risk-head b,.v29-risk-title b,.v29-risk-line strong,.v29-buffer b,.v29-current-season b,.v29-season-table td b,.v29-dashboard-risk-grid b{color:#eafffd}
.kpi small,.metric-row small,.stats span,.season-strip .step small,.series-game small,.live-period small,.live-period span,.hub-action small,.compact-list small,
.tactics-overview-grid small,.tactics-overview-grid span,.recent-trend-box,.outcome-split small,.outcome-split span,.period-compare small,.period-compare span,.recent-set-strip small,.recent-set-strip span,
.compare-team small,.compare-team span,.compare-middle small,.compare-middle span,.comparison-metrics small,.comparison-metrics em,.live-warning span,.flow-score small,
.reaction-panel td small,.band-head span,.band-row>small,.band-legend span,.matchday-status-strip small,.live-reaction-grid small,.live-reaction-grid span,.live-band-grid small,.live-band-grid span,
.next-game-strip small,.next-game-strip span,.v28-reach-head span,.v28-reach-periods small,.v28-reach-periods span,.v28-rest-schedule small,.v28-rest-schedule span,.decision-impact span,
.v29-risk-head span,.v29-risk-line small,.v29-risk-line span,.v29-buffer span,.v29-current-season small,.v29-current-season span,.v29-season-table td small,.v29-dashboard-risk-grid small,.v29-dashboard-risk-grid span{color:#8fa8a5}

/* Fortschritt / Tabellen */
.progress,.bar,.usage-track,.v30-track{background:#162322}.progress span,.bar span,.usage-track span,.v30-track span{background:linear-gradient(90deg,#0fa99d,#31e1d1)}.schedule-track>span{background:linear-gradient(90deg,#406764,#7aa7a3)}
.record-value,.live-score,.live-total,.remaining,.account-focus b,.series-score b{color:#70eee2}
.table-wrap{background:#0c1213;border-color:#263938}table{color:#dcebea}th{background:#111e1e;color:#8ad8d1;border-bottom-color:#29403e}td{border-bottom-color:#1e2d2c}tbody tr:hover td{background:#10201f}.rank-1 td{background:#10261f}.rank-danger td{background:#271316}.table-focus{background:#102b29;color:#70eee2}.match-separator{color:#5b7a77}

/* Logos müssen auf Schwarz sichtbar bleiben */
.hero-teamline img,.hero-logo,.entity-head img,.team img,.small-logo,.section-team-logo,.match-team img,.side-team img,.compare-team img,
.period-compare img,.recent-set-strip img,.flow-team img,.live-reaction-grid img,.live-band-grid img,.next-game-strip img,.v28-rest-schedule img,.v29-current-season img,
.rivalry-crests img,.champion-line img,.series-team img,.online-team-logo,.top-team-chip img,.v30-timeline-opponent img,.v30-live-timeline-grid img,.v30-dashboard-flow-grid img{
  background:#f6ffff;border:1px solid #315955;border-radius:10px;padding:3px;box-shadow:0 4px 12px rgba(0,0,0,.18);object-fit:contain
}
.crest-stack{border-top-color:#223332}.crest-stack img{background:#f6ffff;border-color:#101817}.hero-teamline img{filter:none}

/* Formulare / Controls */
label{color:#9ab6b3}input,select,textarea,.tactics-filter-form select{border-color:#2b4542;background:#0b1212;color:#ecfafa}input:focus,select:focus,textarea:focus{border-color:#24cdbf;box-shadow:0 0 0 3px rgba(36,215,200,.13)}
.btn,button,.button{background:#21cabc;color:#02100e;box-shadow:0 5px 14px rgba(22,190,177,.14)}.btn:hover,button:hover,.button:hover{background:#42e1d3;filter:none}.btn.secondary,button.secondary,.button.secondary{border:1px solid #31514e;background:#111b1b;color:#9feae4;box-shadow:none}.btn.secondary:hover,button.secondary:hover,.button.secondary:hover{background:#162625}.btn.warn{background:#d5aa43;color:#100d03}.btn.danger,.danger{background:#a83d49!important;color:#fff}
.status,.pill,.tag,.status-chip,.badge,.active-filter-line span{background:#102120;color:#96d8d2;border-color:#2b4c49}.active-filter-line strong{background:#12302e;color:#7af0e4;border-color:#287b74}.tag-good,.good,.success,.ok{color:#54dfa2}.tag-bad,.bad,.error{color:#ff8290}.tag-gold,.warn,.notice{color:#e2bf62}
.goal-pick{border-color:#31514e;background:#101919;color:#9bc3c0}.goal-pick:hover{background:#15302e;border-color:#2e8c84}.goal-pick.active{background:#23d3c4;border-color:#23d3c4;color:#03110f;box-shadow:0 0 0 2px rgba(36,215,200,.12)}
.subnav a,.hub-tabs a,.section-tabs a,.section-switch a{background:#101919;color:#8fb4b0;border-color:#2a403e}.subnav a:hover,.hub-tabs a:hover,.section-tabs a:hover,.section-switch a:hover{background:#142625;color:#b6f5ef;border-color:#2b766f}.subnav a.active,.hub-tabs a.active,.section-tabs a.active,.section-switch a.active{background:#13312f;color:#7cf4e8;border-color:#2ba59b}

/* Zustände auf dunklem Grund */
.remaining-box,.account-focus,.budget-context-line,.block-pulse{background:#0f2221;border-color:#28544f}.submission-line span{color:#789592}.submission-line span.done{color:#57dfa5;border-color:#275f47;background:#0e2118}.deadline-box{background:#241e0e;border-color:#6e5926}.deadline-box span{background:#372d12;color:#e9c65d}.deadline-box.expired{background:#281316;border-color:#6b3038}.deadline-box.expired span{background:#3a1b20;color:#ff8995}.live-context .badge,.decision-status .badge{background:#102120;color:#99d8d2;border-color:#2c4c49}
.live-warning.info{border-left-color:#26c9bb;background:#0e2523}.live-warning.warn{border-left-color:#d6ad45;background:#261f0e}.live-warning.danger{border-left-color:#e25f70;background:#281316}.live-warning.ok{border-left-color:#43d594;background:#0e2118}
.pace-summary.pace-high,.account-balance.pace-high{border-color:#6e5926;background:#221c0e}.pace-summary.pace-low,.account-balance.pace-low{border-color:#246d67;background:#0d2422}.pace-summary.pace-even,.account-balance.pace-even{border-color:#2b5c46;background:#0e2118}
.trend-delta.up{color:#e2bd58}.trend-delta.down{color:#56dfd3}.trend-delta.flat{color:#90aaa7}.trend-periods span{background:#0c1414;border-color:#263d3b;color:#8fa9a6}

/* V28/V29 spezifisch */
.v29-risk-period.good,.v29-dashboard-risk-grid>div.good{border-left-color:#45d99a;background:#0d2118}.v29-risk-period.even,.v29-dashboard-risk-grid>div.even{border-left-color:#28c8bb;background:#0e2423}.v29-risk-period.warn,.v29-dashboard-risk-grid>div.warn{border-left-color:#d7ad45;background:#241e0e}.v29-risk-period.danger,.v29-dashboard-risk-grid>div.danger{border-left-color:#e46472;background:#281316}.v29-risk-period.done,.v29-risk-period.neutral,.v29-dashboard-risk-grid>div.done,.v29-dashboard-risk-grid>div.neutral{border-left-color:#526a68;background:#111818}.v29-impact-risk{background:#0d1b1a}.v29-risk-line{border-top-color:#1d302e}.v29-buffer{border-top-color:#2a4140}

/* V30 · Szenariovergleich */
.v30-scenario-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.v30-scenario-side{padding:16px;border:1px solid #273d3b;border-radius:16px;background:#0f1617}.v30-scenario-head,.v30-scenario-period-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.v30-scenario-head{margin-bottom:10px}.v30-scenario-head b{font-size:21px;color:#eafffd}.v30-scenario-head span,.v30-scenario-period-head span{color:#849f9c;font-size:11px}.v30-scenario-period{padding:12px 0;border-top:1px solid #1d2f2e}.v30-scenario-period:first-of-type{border-top:0}.v30-scenario-period-head strong{color:#62eadf;font-size:18px}.v30-scenario-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px}.v30-scenario-options>div{padding:11px;border:1px solid #263b39;border-radius:11px;background:#0b1212}.v30-scenario-options small,.v30-scenario-options span{display:block;color:#8ca5a2}.v30-scenario-options b{display:block;margin:3px 0;color:#eafffd;font-size:18px}.v30-scenario-options em{font-style:normal;font-weight:850}.v30-scenario-options em.pos{color:#53dca0}.v30-scenario-options em.neg{color:#ff7e8b}

/* V30 · Saisonverlauf */
.v30-timeline{display:grid;gap:9px}.v30-timeline-item{display:grid;grid-template-columns:minmax(220px,1.25fr) minmax(120px,.55fr) minmax(250px,1.2fr);gap:14px;align-items:center;padding:12px;border:1px solid #263a39;border-radius:13px;background:#0e1516;text-decoration:none}.v30-timeline-item:hover{border-color:#2a7b74;background:#11201f}.v30-timeline-opponent{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:center}.v30-timeline-opponent img{width:48px;height:48px}.v30-timeline-opponent small,.v30-timeline-opponent span,.v30-timeline-set small,.v30-timeline-set span,.v30-timeline-consumption small{display:block;color:#849f9c}.v30-timeline-opponent b,.v30-timeline-set b,.v30-timeline-consumption b{color:#eafffd}.v30-timeline-set b{font-size:18px}.v30-timeline-consumption>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.v30-track{height:7px;border-radius:999px;overflow:hidden;margin:5px 0 4px}.v30-track span{display:block;height:100%;border-radius:999px}
.v30-live-timeline-grid,.v30-dashboard-flow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.v30-live-timeline-grid a,.v30-dashboard-flow-grid a{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;padding:10px;border:1px solid #263a39;border-radius:12px;background:#0e1516;text-decoration:none}.v30-live-timeline-grid a:hover,.v30-dashboard-flow-grid a:hover{background:#11201f;border-color:#2a7b74}.v30-live-timeline-grid img,.v30-dashboard-flow-grid img{width:44px;height:44px}.v30-live-timeline-grid small,.v30-live-timeline-grid span,.v30-dashboard-flow-grid small,.v30-dashboard-flow-grid span{display:block;color:#829d99}.v30-live-timeline-grid b,.v30-dashboard-flow-grid b{display:block;margin:2px 0;color:#eafffd}.v30-dashboard-flow-grid{grid-template-columns:repeat(5,minmax(0,1fr))}

/* V30 · Szenariovergleich direkt im Live-Formular */
.v30-live-scenarios{display:block!important;margin-top:8px;padding:10px!important;border:1px solid #28514d!important;border-radius:11px;background:#0d201f!important}.v30-live-scenarios>small{display:block;margin-bottom:7px;color:#66cfc6;text-transform:uppercase;letter-spacing:.06em;font-weight:850;font-size:9px}.v30-live-scenario-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.v30-live-scenario-grid>div{display:grid;gap:2px;padding:8px;border:1px solid #243b39;border-radius:8px;background:#091111}.v30-live-scenario-grid span{font-size:9px;color:#7f9a97}.v30-live-scenario-grid b{font-size:11px;color:#ddf8f5;text-align:left}

.app-footer{background:#050909;border-top-color:#182928;color:#657f7d}.app-footer a{color:#55bfb6}

@media(max-width:1100px){.v30-scenario-grid{grid-template-columns:1fr}.v30-dashboard-flow-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v30-timeline-item{grid-template-columns:1fr 1fr}.v30-timeline-consumption{grid-column:1/-1}}
@media(max-width:760px){.v30-scenario-options,.v30-live-scenario-grid,.v30-live-timeline-grid,.v30-dashboard-flow-grid{grid-template-columns:1fr}.v30-timeline-item{grid-template-columns:1fr}.v30-timeline-consumption{grid-column:auto}.card{box-shadow:0 12px 28px rgba(0,0,0,.22)}}

/* V30 · letzte Kontrast-Fänger für ältere Live-/Analysebausteine */
.decision-cockpit>div,.pulse-grid>div,.submission-pulse,.period-story,.live-pace-box,.home-away-pattern,.opponent-pattern,.h2h-summary,.mini-account-usage{
  background:#101718;border-color:#263b3a;color:var(--text)
}
.decision-cockpit b,.pulse-grid b,.period-story b,.budget-context-line b,.submission-pulse b,.live-pace-box b{color:#eafffd}
.decision-cockpit small,.pulse-grid small,.pulse-grid span,.period-story small,.period-story span,.budget-context-line span,.submission-pulse small,.live-pace-box small,.live-pace-box>span{color:#8fa8a5}
.submission-pulse.locked{border-color:#2d684c;background:#0e2118}.submission-pulse.waiting{border-color:#2a716b;background:#0e2423}.submission-pulse.pressure{border-color:#715d2a;background:#251f0f}.submission-pulse.open{border-color:#304442;background:#101718}
.period-story.good{border-color:#2d684c;background:#0e2118}.period-story.bad{border-color:#71333b;background:#281316}.period-story.even{border-color:#304442;background:#101718}.period-story.investment{border-color:#2a716b;background:#0e2423}
.flow-team span{color:#c7d9d7}.compare-team>strong,.table-focus{color:#62eadf}.band-period.focus{border-color:#2bb7ab;background:#102a28}.band-pair>div,.band-pair>div:nth-child(2){background:#162322}.band-pair i{background:linear-gradient(90deg,#0ea99d,#31dfd0)}.band-pair>div:nth-child(2) i{background:linear-gradient(90deg,#456a67,#7fa7a3)}.band-pair span{color:#e7f7f5}.band-legend{border-top-color:#203331}.active-filter-line{border-top-color:#203331}.decision-impact>small{color:#62cfc6}.decision-impact>div{border-top-color:#1d3432}

/* =========================================================
   V31 · BLACK ICE REFINED + TEAMVERGLEICH 360°
   Ruhigeres Schwarz, klareres Türkis, stärkere Ebenenhierarchie.
   ========================================================= */
:root{
  --bg:#030606;--bg-deep:#010303;--side:#050909;
  --surface:#0a0f10;--surface-2:#0e1617;--surface-3:#132021;
  --line:#203534;--line-soft:#162827;
  --text:#f0fbfa;--ink:#f0fbfa;--muted:#91aaa7;--faint:#617a77;
  --accent:#2be2d4;--accent-2:#14b9ad;--ice:#9cfff5;
  --shadow:0 18px 46px rgba(0,0,0,.34)
}
body{background:radial-gradient(circle at 86% -10%,rgba(43,226,212,.10),transparent 30%),radial-gradient(circle at 10% 110%,rgba(20,185,173,.045),transparent 34%),linear-gradient(155deg,#020505 0,#060a0b 52%,#030606 100%)}
.appbar{box-shadow:0 5px 20px rgba(0,0,0,.26),inset 0 -1px 0 rgba(43,226,212,.09)}
.side{box-shadow:9px 0 34px rgba(0,0,0,.32),inset -1px 0 0 rgba(43,226,212,.045)}
.mainnav a.active{position:relative;background:linear-gradient(100deg,#102625,#0c1718);border-color:#287b74;box-shadow:inset 3px 0 0 var(--accent)}
.mainnav a.active .navicon{box-shadow:0 0 18px rgba(43,226,212,.16)}
.pagehead h1{letter-spacing:-.025em}.pagehead:after{content:"";display:block;width:54px;height:2px;margin-top:9px;border-radius:999px;background:linear-gradient(90deg,var(--accent),transparent)}
.card{background:linear-gradient(145deg,#0b1112,#080d0e);border-color:#203332;box-shadow:var(--shadow)}
.card:hover{border-color:#2b4a47}.card .section-heading{padding-bottom:10px;border-bottom:1px solid rgba(43,226,212,.07)}
.card .section-heading h2{letter-spacing:-.012em}.badge{letter-spacing:.015em}
.btn,button,.button{background:linear-gradient(135deg,#2be2d4,#17bfb3);box-shadow:0 6px 18px rgba(22,190,177,.17)}
.btn:hover,button:hover,.button:hover{background:linear-gradient(135deg,#51eee2,#27cfc2);box-shadow:0 7px 22px rgba(22,190,177,.22)}
:where(a,button,input,select,textarea):focus-visible{outline:2px solid #78fff4;outline-offset:3px}
.table-wrap{box-shadow:inset 0 1px 0 rgba(255,255,255,.015)}
th{background:linear-gradient(180deg,#111f1f,#0f1b1b);color:#8ee8df}tbody tr:hover td{background:#102321}
.hero-teamline img,.hero-logo,.entity-head img,.team img,.small-logo,.section-team-logo,.match-team img,.side-team img,.compare-team img,
.period-compare img,.recent-set-strip img,.flow-team img,.live-reaction-grid img,.live-band-grid img,.next-game-strip img,.v28-rest-schedule img,.v29-current-season img,
.rivalry-crests img,.champion-line img,.series-team img,.online-team-logo,.top-team-chip img,.v30-timeline-opponent img,.v30-live-timeline-grid img,.v30-dashboard-flow-grid img,
.v31-team-profile img,.v31-fingerprint-head img,.v31-live-duel-head img{
  background:linear-gradient(145deg,#ffffff,#eef8f7);border:1px solid #3b6864;box-shadow:0 5px 16px rgba(0,0,0,.24),0 0 0 1px rgba(43,226,212,.04)
}
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#050909}::-webkit-scrollbar-thumb{background:#24413e;border:2px solid #050909;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#2f6b65}

/* V31 · Teamvergleich 360° */
.v31-duel-card{border-color:#28504c;background:linear-gradient(150deg,#0c1515,#080d0e 60%,#0d1a19)}
.v31-duel-head{display:grid;grid-template-columns:minmax(0,1fr) 160px minmax(0,1fr);gap:14px;align-items:stretch;margin-top:14px}
.v31-team-profile{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:12px;align-items:center;padding:15px;border:1px solid #263e3c;border-radius:15px;background:#0d1516}
.v31-team-profile img{width:70px;height:70px;object-fit:contain}.v31-team-profile small,.v31-team-profile span{display:block;color:#8ea9a6}.v31-team-profile h3{margin:2px 0 4px;font-size:20px}.v31-profile-form{text-align:right}.v31-profile-form b{display:block;color:#7ef5ea;font-size:22px}.v31-profile-form span{font-size:10px}
.v31-h2h-core{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px;border:1px solid #28534f;border-radius:15px;background:radial-gradient(circle at 50% 0,rgba(43,226,212,.09),transparent 65%),#0b1414;text-align:center}.v31-h2h-core small,.v31-h2h-core span{color:#829f9c}.v31-h2h-core b{margin:3px 0;color:#9cfff5;font-size:30px}.v31-h2h-core em{margin-top:4px;color:#b8cecb;font-size:10px;font-style:normal}
.v31-metric-board{display:grid;gap:7px;margin-top:14px;padding:14px;border:1px solid #213735;border-radius:14px;background:#090f10}.v31-metric-row{display:grid;grid-template-columns:minmax(0,1fr) 210px minmax(0,1fr);gap:12px;align-items:center}.v31-metric-row>small{text-align:center;color:#8ca6a3;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.035em}.v31-metric-side{display:grid;align-items:center;gap:8px}.v31-metric-side.mine{grid-template-columns:auto 1fr}.v31-metric-side.other{grid-template-columns:1fr auto}.v31-metric-side b{min-width:46px;color:#eafffd;font-size:13px}.v31-metric-side.mine b{text-align:right}.v31-meter{height:8px;overflow:hidden;border-radius:999px;background:#172523}.v31-meter i{display:block;height:100%;border-radius:999px}.v31-metric-side.mine .v31-meter i{margin-left:auto;background:linear-gradient(90deg,#167d76,#34e5d7)}.v31-metric-side.other .v31-meter i{background:linear-gradient(90deg,#73918e,#b3d1ce)}
.v31-fingerprint-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.v31-fingerprint{padding:13px;border:1px solid #223936;border-radius:14px;background:#0b1213}.v31-fingerprint-head{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:center}.v31-fingerprint-head img{width:48px;height:48px;object-fit:contain}.v31-fingerprint-head small,.v31-fingerprint-head span{display:block;color:#819c99}.v31-fingerprint-head b{display:block;color:#eafffd}.v31-sharebar{display:flex;height:10px;overflow:hidden;margin:10px 0 6px;border-radius:999px;background:#14211f}.v31-sharebar i{display:block;height:100%}.v31-sharebar .d1{background:#2be2d4}.v31-sharebar .d2{background:#23a99f}.v31-sharebar .d3{background:#567a77}.v31-sharelegend{display:flex;gap:12px;justify-content:space-between;color:#8ca5a2;font-size:10px}

/* V31 · kompakter Vergleich im Live-Spiel */
.v31-live-duel{border-color:#274a47}.v31-live-duel-head{display:grid;grid-template-columns:1fr 52px 1fr;gap:12px;align-items:center}.v31-live-duel-head article{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;align-items:center;padding:12px;border:1px solid #223937;border-radius:13px;background:#0d1516}.v31-live-duel-head img{width:58px;height:58px;object-fit:contain}.v31-live-duel-head small,.v31-live-duel-head span{display:block;color:#8ca5a2}.v31-live-duel-head b{display:block;margin:2px 0;color:#f0fffd;font-size:17px}.v31-live-vs{text-align:center;color:#4edfd3;font-weight:950;font-size:14px;letter-spacing:.08em}.v31-live-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.v31-live-metrics>div{padding:10px;border:1px solid #203633;border-radius:11px;background:#0a1112}.v31-live-metrics small{display:block;margin-bottom:6px;color:#849f9c;font-size:9px;text-transform:uppercase;letter-spacing:.03em}.v31-live-metric-values{display:grid;grid-template-columns:42px 1fr 42px;gap:7px;align-items:center}.v31-live-metric-values b{color:#eafffd;font-size:11px}.v31-live-metric-values b:first-child{text-align:right}.v31-dual-track{position:relative;display:block;height:14px;border-radius:999px;background:#152321;overflow:hidden}.v31-dual-track i{position:absolute;height:5px;border-radius:999px;left:0}.v31-dual-track i.mine{top:1px;background:#2be2d4}.v31-dual-track i.other{bottom:1px;background:#7d9d99}

@media(max-width:1050px){.v31-duel-head{grid-template-columns:1fr}.v31-h2h-core{min-height:100px}.v31-metric-row{grid-template-columns:1fr 140px 1fr}.v31-live-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.v31-team-profile{grid-template-columns:58px 1fr}.v31-team-profile img{width:58px;height:58px}.v31-profile-form{grid-column:1/-1;text-align:left}.v31-fingerprint-grid,.v31-live-metrics{grid-template-columns:1fr}.v31-metric-row{grid-template-columns:1fr}.v31-metric-row>small{order:-1;text-align:left}.v31-metric-side.mine,.v31-metric-side.other{grid-template-columns:48px 1fr}.v31-metric-side.other .v31-meter{order:2}.v31-live-duel-head{grid-template-columns:1fr}.v31-live-vs{padding:2px 0}.v31-sharelegend{flex-wrap:wrap}}

/* =========================================================
   V32 · ICE LIGHT
   Helles Eisgrau/Weiß + Türkis + dunkles Navy/Teal.
   V31-Funktionen bleiben vollständig erhalten.
   ========================================================= */
:root{
  --bg:#edf7f7;--bg-deep:#e3f1f1;--side:#123f46;
  --surface:#ffffff;--surface-2:#f5fbfb;--surface-3:#edf7f6;
  --line:#c9dddd;--line-soft:#dceaea;
  --text:#18363a;--ink:#18363a;--muted:#607a7d;--faint:#82999b;
  --accent:#109f98;--accent-2:#0b817b;--ice:#d9fffb;
  --gold:#b78317;--good:#24875a;--bad:#b84453;--warn:#a87413;
  --shadow:0 12px 30px rgba(26,76,79,.10)
}
html{background:var(--bg)}
body{color:var(--text);background:radial-gradient(circle at 88% -8%,rgba(16,159,152,.10),transparent 31%),linear-gradient(180deg,#f7fbfb 0,#edf7f7 48%,#e9f4f4 100%)}
.workspace{background:transparent}

/* Navigation bleibt charaktervoll, aber deutlich heller als Black Ice */
.side{background:linear-gradient(180deg,#164b53 0,#123f46 64%,#10383e 100%);border-right-color:#245d63;box-shadow:7px 0 24px rgba(20,72,77,.13),inset -1px 0 0 rgba(255,255,255,.05)}
.brand,.brand b{color:#fff}.brand small{color:#b9d8da}.brandmark,.puck{background:linear-gradient(145deg,#58e0d6,#13a69e);color:#083b3a;box-shadow:0 8px 20px rgba(7,102,98,.18)}
.nav-label{color:#94bdc0}.mainnav a{color:#d6e8e9}.mainnav a:hover{color:#fff;background:rgba(255,255,255,.09)}.mainnav a.active{color:#fff;background:linear-gradient(100deg,#16766f,#12635f);border-color:#53b9b1;box-shadow:inset 3px 0 0 #8ff5ec}.navicon{background:rgba(255,255,255,.10);color:#d5efef}.mainnav a.active .navicon{background:#d9fffb;color:#0c7771;box-shadow:none}.side-help{border-top-color:rgba(255,255,255,.15)}.side-help a{color:#b8d2d4}.side-help a:hover{color:#fff}
.userbox{border-color:rgba(255,255,255,.18);background:rgba(8,48,53,.44);color:#fff}.userbox b{color:#fff}.userbox small,.logout-link{color:#c0d9da}.logout-link:hover{color:#fff}.avatar-dot{background:#fff;border-color:#7ccac5;color:#0d7771}

/* Kopfzeile und Seitentitel */
.appbar{background:rgba(255,255,255,.94);border-bottom-color:#cfe0e0;color:var(--text);box-shadow:0 3px 14px rgba(30,80,83,.07)}
.breadcrumbs{color:#6b8588}.breadcrumbs a{color:#37666a}.breadcrumbs a:hover{color:#0b817b}.crumb-sep{color:#9db0b2}.appbar-right{color:#6d8587}.section-chip{border-color:#bad6d5;background:#eff8f8;color:#315f62}.top-team-chip{border-color:#bdd8d7;background:#f7fbfb;color:#234f53}.top-team-chip:hover{border-color:#78bbb7;background:#edf8f7}
.page-kicker,.eyebrow{color:#148e87}.pagehead h1,.card h2,.card h3{color:#173f43}.pagehead:after{background:linear-gradient(90deg,#15a59d,transparent)}.story-lead,.lead{color:#587275}.muted,.mini-note{color:var(--muted)!important}.parent-link,.text-link,.table-wrap a,.team-link{color:#0b817b}.parent-link:hover,.text-link:hover,.table-wrap a:hover,.team-link:hover{color:#075d59}.context-tabs{border-bottom-color:#d3e3e3}.context-tabs a{color:#668184}.context-tabs a:hover{color:#174f53}.context-tabs a.active{background:#e8f7f6;color:#0b817b;border-color:#6fc5bf}

/* Flächen und Karten */
.card{border-color:#ccdfdf;background:#fff;box-shadow:var(--shadow);color:var(--text)}.card:hover{border-color:#b3d1d0}.card .section-heading{border-bottom-color:#e2eeee}.intro-card,.feature-hero,.dashboard-hero{background:linear-gradient(128deg,#e8f8f7 0,#fff 62%,#f2f9f9 100%);border-color:#b8d9d7}.hero-logo{background:#fff;border-color:#c5dddd}.entity-card{background:linear-gradient(145deg,#fff,#f3fafa);border-color:#c8dddd}.entity-card:hover,.link-card:hover{background:#edf8f7;border-color:#8dc8c4}.competition-badge{background:#dff5f3;border-color:#9bd5d1;color:#0d7d77}.badge-icon{background:#edf8f7;border-color:#bfd9d8;color:#168f88}

/* Alle älteren dunklen Analyse-/Liveflächen wieder hell */
.kpi,.metric-row>div,.hub-action,.compact-list>a,.compact-list>div,.list-card,.list-item,
.season-strip .step,.game-tile,.goal-card,.account,.period-history span,.series-block,.mini-card,
.news-item,.timeline-day article,.admin-tile,.admin-details,.alert,.empty,.status,.stats>div,
.live-period,.strategy-card,.period-budget span,.score-flow>div,.series-score,.series-game,
.submission-line span,.trophies>div,.museum-wall article,.tactics-overview-grid>div,
.recent-trend-box,.outcome-split>div,.period-compare,.recent-set-strip a,.tactics-filter-form select,
.active-filter-line span,.active-filter-line strong,.compare-team,.compare-middle,.comparison-metrics>div,
.live-warning,.matchday-flow-item,.reaction-panel,.band-period,.band-pair>div,
.matchday-status-strip>div,.live-reaction-grid article,.live-band-grid article,.next-game-strip a,
.v28-reach-side,.v28-reach-periods>div,.v28-rest-schedule>a,.decision-impact,.v29-risk-side,
.v29-risk-period,.v29-current-season,.v29-dashboard-risk-grid>div,.mini-matchup,.notice,
.reactions button,.side-balance>div,.account-balance,.opponent-identity,.h2h-mini,.tactics-snapshot-grid>div,
.v30-scenario-side,.v30-scenario-options>div,.v30-timeline-item,.v30-live-timeline-grid a,.v30-dashboard-flow-grid a,
.v31-team-profile,.v31-h2h-core,.v31-metric-board,.v31-fingerprint,.v31-live-duel-head article,.v31-live-metrics>div{
  background:#f7fbfb;color:var(--text);border-color:#c9dddd
}
.hub-action:hover,.admin-tile:hover,.compact-list>a:hover,.recent-set-strip a:hover,.next-game-strip a:hover,.matchday-flow-item:hover,.v30-timeline-item:hover,.v30-live-timeline-grid a:hover,.v30-dashboard-flow-grid a:hover{background:#edf8f7;border-color:#8bc7c3}
.season-strip .step.active,.series-game.active,.live-period.active,.account-active,.period-compare.mine,.filter-focus,.comparison-metrics>div.focus,.matchday-flow-item.current{background:#e5f7f5!important;border-color:#62bbb5!important;box-shadow:0 0 0 2px rgba(16,159,152,.08)}

.kpi b,.metric-row b,.stats b,.account b,.score-flow b,.period-budget b,.season-strip .step b,.series-game b,.live-period b,
.tactics-overview-grid b,.recent-trend-box>b,.outcome-split b,.period-compare b,.recent-set-strip b,.compare-team h3,.compare-middle b,.comparison-metrics b,
.live-warning b,.flow-score b,.reaction-panel h3,.reaction-panel td strong,.band-head b,.live-reaction-grid b,.live-band-grid b,.next-game-strip b,
.v28-reach-head b,.v28-reach-periods b,.v28-rest-schedule b,.decision-impact b,.v29-risk-head b,.v29-risk-title b,.v29-risk-line strong,.v29-buffer b,
.v29-current-season b,.v29-season-table td b,.v29-dashboard-risk-grid b,.v30-scenario-head b,.v30-scenario-options b,.v30-timeline-opponent b,.v30-timeline-set b,.v30-timeline-consumption b,
.v30-live-timeline-grid b,.v30-dashboard-flow-grid b,.v31-team-profile h3,.v31-profile-form b,.v31-h2h-core b,.v31-metric-side b,.v31-fingerprint-head b,.v31-live-duel-head b,.v31-live-metric-values b{color:#173f43}
.kpi small,.metric-row small,.stats span,.season-strip .step small,.series-game small,.live-period small,.live-period span,.hub-action small,.compact-list small,
.tactics-overview-grid small,.tactics-overview-grid span,.recent-trend-box,.outcome-split small,.outcome-split span,.period-compare small,.period-compare span,.recent-set-strip small,.recent-set-strip span,
.compare-team small,.compare-team span,.compare-middle small,.compare-middle span,.comparison-metrics small,.comparison-metrics em,.live-warning span,.flow-score small,
.reaction-panel td small,.band-head span,.band-row>small,.band-legend span,.matchday-status-strip small,.live-reaction-grid small,.live-reaction-grid span,.live-band-grid small,.live-band-grid span,
.next-game-strip small,.next-game-strip span,.v28-reach-head span,.v28-reach-periods small,.v28-reach-periods span,.v28-rest-schedule small,.v28-rest-schedule span,.decision-impact span,
.v29-risk-head span,.v29-risk-line small,.v29-risk-line span,.v29-buffer span,.v29-current-season small,.v29-current-season span,.v29-season-table td small,.v29-dashboard-risk-grid small,.v29-dashboard-risk-grid span,
.v30-scenario-head span,.v30-scenario-period-head span,.v30-scenario-options small,.v30-scenario-options span,.v30-timeline-opponent small,.v30-timeline-opponent span,.v30-timeline-set small,.v30-timeline-set span,.v30-timeline-consumption small,
.v30-live-timeline-grid small,.v30-live-timeline-grid span,.v30-dashboard-flow-grid small,.v30-dashboard-flow-grid span,.v31-team-profile small,.v31-team-profile span,.v31-h2h-core small,.v31-h2h-core span,.v31-h2h-core em,
.v31-metric-row>small,.v31-fingerprint-head small,.v31-fingerprint-head span,.v31-sharelegend,.v31-live-duel-head small,.v31-live-duel-head span,.v31-live-metrics small{color:#647f82}

/* Tabellen */
.table-wrap{background:#fff;border-color:#cbdede;box-shadow:none}table{color:#233f42}th{background:#eaf6f5;color:#245d60;border-bottom-color:#bfd7d6}td{border-bottom-color:#deebeb}tbody tr:hover td{background:#f0f8f8}.rank-1 td{background:#f0faf4}.rank-danger td{background:#fff3f4}.table-focus{background:#e5f7f5;color:#0b817b}.match-separator{color:#819799}

/* Progress und Akzente */
.progress,.bar,.usage-track,.v30-track,.v31-meter,.v31-sharebar,.v31-dual-track{background:#dcebea}.progress span,.bar span,.usage-track span,.v30-track span{background:linear-gradient(90deg,#49c8c0,#0f9f98)}.schedule-track>span{background:linear-gradient(90deg,#a9c2c2,#6f9898)}
.record-value,.live-score,.live-total,.remaining,.account-focus b,.series-score b,.compare-team>strong{color:#0d8d86}.v31-metric-side.mine .v31-meter i{background:linear-gradient(90deg,#48c8c0,#0f9f98)}.v31-metric-side.other .v31-meter i{background:linear-gradient(90deg,#8da8a8,#567b7c)}.v31-sharebar .d1{background:#18a39b}.v31-sharebar .d2{background:#57bbb5}.v31-sharebar .d3{background:#94aaa9}.v31-dual-track i.mine{background:#12a59d}.v31-dual-track i.other{background:#809b9b}

/* Formulare */
label{color:#4f6b6e}input,select,textarea,.tactics-filter-form select{border-color:#bcd6d5;background:#fff;color:#18363a}input:focus,select:focus,textarea:focus{border-color:#1aa69e;box-shadow:0 0 0 3px rgba(16,159,152,.12)}
.btn,button,.button{background:linear-gradient(135deg,#16aaa2,#0c8d86);color:#fff;box-shadow:0 4px 11px rgba(12,129,123,.15)}.btn:hover,button:hover,.button:hover{background:linear-gradient(135deg,#0f968f,#08746f);filter:none}.btn.secondary,button.secondary,.button.secondary{border:1px solid #b8d5d4;background:#eef8f7;color:#235d60;box-shadow:none}.btn.secondary:hover,button.secondary:hover,.button.secondary:hover{background:#dff1ef}.btn.warn{background:#d7a139;color:#2d240d}.btn.danger,.danger{background:#b34856!important;color:#fff}
.status,.pill,.tag,.status-chip,.badge,.active-filter-line span{background:#edf7f6;color:#416c6d;border-color:#c6dddd}.active-filter-line strong{background:#e2f5f3;color:#0e817a;border-color:#9ad2ce}.tag-good,.good,.success,.ok{color:#237b52}.tag-bad,.bad,.error{color:#ad3d4d}.tag-gold,.warn,.notice{color:#936711}
.goal-pick{border-color:#bdd8d6;background:#f6fbfb;color:#345f62}.goal-pick:hover{background:#e7f5f4;border-color:#81c4c0}.goal-pick.active{background:#109f98;border-color:#109f98;color:#fff;box-shadow:0 0 0 2px rgba(16,159,152,.12)}
.subnav a,.hub-tabs a,.section-tabs a,.section-switch a{background:#f5fafa;color:#597477;border-color:#c8dcdc}.subnav a:hover,.hub-tabs a:hover,.section-tabs a:hover,.section-switch a:hover{background:#eaf6f5;color:#245659;border-color:#9cccca}.subnav a.active,.hub-tabs a.active,.section-tabs a.active,.section-switch a.active{background:#dff4f2;color:#0b817b;border-color:#76beb9}
:where(a,button,input,select,textarea):focus-visible{outline:2px solid #1cb5ac;outline-offset:3px}

/* Warnungen/Zustände */
.remaining-box,.account-focus,.budget-context-line,.block-pulse{background:#eef9f8;border-color:#b9d9d7}.submission-line span{color:#71898c}.submission-line span.done{color:#2d7d58;border-color:#abd6be;background:#f0faf4}.deadline-box{background:#fff9e8;border-color:#e1c982}.deadline-box span{background:#f8ebbf;color:#765810}.deadline-box.expired{background:#fff2f3;border-color:#e0aeb4}.deadline-box.expired span{background:#f5d4d8;color:#9c3543}.live-context .badge,.decision-status .badge{background:#edf7f6;color:#416c6d;border-color:#c6dddd}
.live-warning.info{border-left-color:#16aaa2;background:#edf9f8}.live-warning.warn{border-left-color:#d2a23e;background:#fff9eb}.live-warning.danger{border-left-color:#c84f5f;background:#fff2f3}.live-warning.ok{border-left-color:#48a873;background:#f0faf4}
.pace-summary.pace-high,.account-balance.pace-high{border-color:#dfc27b;background:#fff9ec}.pace-summary.pace-low,.account-balance.pace-low{border-color:#9bcfc9;background:#edf9f8}.pace-summary.pace-even,.account-balance.pace-even{border-color:#a8d4b9;background:#f1faf4}.trend-delta.up{color:#a37110}.trend-delta.down{color:#0d8f88}.trend-delta.flat{color:#607d7f}.trend-periods span{background:#fff;border-color:#cbdede;color:#607a7d}
.v29-risk-period.good,.v29-dashboard-risk-grid>div.good{border-left-color:#49a773;background:#f0faf4}.v29-risk-period.even,.v29-dashboard-risk-grid>div.even{border-left-color:#24a69e;background:#eef9f8}.v29-risk-period.warn,.v29-dashboard-risk-grid>div.warn{border-left-color:#d3a344;background:#fff9ec}.v29-risk-period.danger,.v29-dashboard-risk-grid>div.danger{border-left-color:#ca5261;background:#fff2f3}.v29-risk-period.done,.v29-risk-period.neutral,.v29-dashboard-risk-grid>div.done,.v29-dashboard-risk-grid>div.neutral{border-left-color:#8fa5a5;background:#f5f9f9}.v29-impact-risk{background:#eef8f7}.v29-risk-line{border-top-color:#d8e8e7}.v29-buffer{border-top-color:#cbdede}

/* V30/V31 Spezialmodule hell */
.v30-scenario-side{background:#f8fbfb;border-color:#c9dddd}.v30-scenario-period{border-top-color:#dbe9e9}.v30-scenario-period-head strong{color:#0d8d86}.v30-scenario-options>div{background:#fff;border-color:#d1e2e1}.v30-scenario-options em.pos{color:#27845a}.v30-scenario-options em.neg{color:#b84655}
.v30-live-scenarios{border-color:#b8d8d6!important;background:#edf8f7!important}.v30-live-scenarios>small{color:#0d8f88}.v30-live-scenario-grid>div{border-color:#cddfdf;background:#fff}.v30-live-scenario-grid span{color:#6b8486}.v30-live-scenario-grid b{color:#22484b}
.v31-duel-card{border-color:#b7d7d5;background:linear-gradient(150deg,#f7fbfb,#fff 62%,#eef8f7)}.v31-team-profile{background:#fff;border-color:#c9dddd}.v31-h2h-core{background:radial-gradient(circle at 50% 0,rgba(16,159,152,.10),transparent 65%),#f1f8f8;border-color:#acd3d0}.v31-profile-form b,.v31-h2h-core b{color:#0d8d86}.v31-metric-board{background:#f8fbfb;border-color:#d1e2e1}.v31-fingerprint{background:#fff;border-color:#cbdede}.v31-live-duel{border-color:#bdd9d7}.v31-live-duel-head article{background:#fff;border-color:#cbdede}.v31-live-vs{color:#0f9f98}.v31-live-metrics>div{background:#f8fbfb;border-color:#d3e3e3}

/* Logos auf hellem Grund weiterhin klar sichtbar */
.hero-teamline img,.hero-logo,.entity-head img,.team img,.small-logo,.section-team-logo,.match-team img,.side-team img,.compare-team img,
.period-compare img,.recent-set-strip img,.flow-team img,.live-reaction-grid img,.live-band-grid img,.next-game-strip img,.v28-rest-schedule img,.v29-current-season img,
.rivalry-crests img,.champion-line img,.series-team img,.online-team-logo,.top-team-chip img,.v30-timeline-opponent img,.v30-live-timeline-grid img,.v30-dashboard-flow-grid img,
.v31-team-profile img,.v31-fingerprint-head img,.v31-live-duel-head img{
  background:#fff;border:1px solid #c8dddd;box-shadow:0 4px 12px rgba(30,80,83,.08)
}

/* Letzte Kontrast-Fänger */
.decision-cockpit>div,.pulse-grid>div,.submission-pulse,.period-story,.live-pace-box,.home-away-pattern,.opponent-pattern,.h2h-summary,.mini-account-usage{background:#f7fbfb;border-color:#c9dddd;color:var(--text)}
.decision-cockpit b,.pulse-grid b,.period-story b,.budget-context-line b,.submission-pulse b,.live-pace-box b{color:#173f43}.decision-cockpit small,.pulse-grid small,.pulse-grid span,.period-story small,.period-story span,.budget-context-line span,.submission-pulse small,.live-pace-box small,.live-pace-box>span{color:#657f82}
.submission-pulse.locked{border-color:#acd5bd;background:#f0faf4}.submission-pulse.waiting{border-color:#a7d7d3;background:#eef9f8}.submission-pulse.pressure{border-color:#dfc47e;background:#fff9ec}.submission-pulse.open{border-color:#cbdede;background:#f7fbfb}
.period-story.good{border-color:#acd5bd;background:#f0faf4}.period-story.bad{border-color:#dfb0b6;background:#fff3f4}.period-story.even{border-color:#cbdede;background:#f7fbfb}.period-story.investment{border-color:#abd9d5;background:#eef9f8}
.flow-team span{color:#4c6a6d}.compare-team>strong,.table-focus{color:#0d8d86}.band-period.focus{border-color:#76c5bf;background:#eaf8f7}.band-pair>div,.band-pair>div:nth-child(2){background:#eef6f5}.band-pair i{background:linear-gradient(90deg,#53c7bf,#109f98)}.band-pair>div:nth-child(2) i{background:linear-gradient(90deg,#9db6b5,#607f80)}.band-pair span{color:#24494c}.band-legend{border-top-color:#d7e7e6}.active-filter-line{border-top-color:#d7e7e6}.decision-impact>small{color:#0c8f88}.decision-impact>div{border-top-color:#d8e7e7}

.app-footer{background:#f7fbfb;border-top-color:#d0e1e1;color:#71898c}.app-footer a{color:#0e8881}
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#e6f0f0}::-webkit-scrollbar-thumb{background:#a9c7c5;border:2px solid #e6f0f0;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#7fb4b0}

@media(max-width:760px){.card{box-shadow:0 8px 22px rgba(27,77,80,.08)}}
/* V32 · Kontrast-Finish */
.btn,button,.button{background:linear-gradient(135deg,#0b817b,#08746f);color:#fff}.btn:hover,button:hover,.button:hover{background:linear-gradient(135deg,#08746f,#06605b)}
.goal-pick.active{background:#0b817b;border-color:#0b817b;color:#fff}
.record-value,.live-score,.live-total,.remaining,.account-focus b,.series-score b,.compare-team>strong,.v31-profile-form b,.v31-h2h-core b,.v30-scenario-period-head strong{color:#0b817b}


/* =========================================================
   V33 · LIGHTER NAVIGATION, FEATURE SIDEBAR, LOGO METALLIC
   ========================================================= */
:root{
  --bg:#eef7f8;--bg-deep:#e7f2f4;--side:#ecf6f8;
  --surface:#ffffff;--surface-2:#f8fcfd;--surface-3:#f2f9fb;
  --line:#cfe0e5;--line-soft:#dce9ed;
  --text:#163a40;--ink:#163a40;--muted:#567379;--faint:#7b959a;
  --accent:#18a7a1;--accent-2:#0e8c87;--ice:#dff8f6;
  --shadow:0 12px 32px rgba(25,93,114,.08)
}
html,body{background:linear-gradient(180deg,#eff8f9 0,#edf6f8 100%);color:var(--text)}
.appbar{background:rgba(255,255,255,.94);border-color:#d4e4e8;box-shadow:0 3px 16px rgba(27,84,100,.07)}
.side{overflow-y:auto;overflow-x:hidden;background:linear-gradient(180deg,#fafdfe,#edf6f8 74%,#e4f0f3);border-right:1px solid #d7e6eb;box-shadow:8px 0 22px rgba(28,87,107,.06)}
.brand{margin-bottom:22px}.brandmark,.puck{background:linear-gradient(145deg,#18a7a1,#0f6f8c);box-shadow:0 8px 18px rgba(18,126,147,.18)}
.brand b{color:#153b46}.brand small{color:#56767a}
.nav-label{margin:16px 10px 8px;color:#4e757a;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.mainnav{gap:8px}.mainnav a{min-height:54px;padding:0 12px;border-radius:14px;color:#345b60;background:transparent;border:1px solid transparent}.mainnav a:hover{background:#f0fafb;color:#0f6068;border-color:#d6ebee}.mainnav a.active{background:linear-gradient(100deg,#dbf4f4,#f3fcfd);border-color:#9ed2d2;color:#0d6a73;box-shadow:0 6px 18px rgba(24,167,161,.09)}
.navicon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e2f3f5;color:#0d7c87;background-image:none!important;flex:0 0 34px}.mainnav a.active .navicon{background:#15a8a2;color:#fff}
.icon-svg{display:grid;place-items:center;width:18px;height:18px}.icon-svg svg{display:block;width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.side-links{display:grid;gap:7px;margin:0 2px 2px}.side-links.compact{grid-template-columns:1fr 1fr;gap:6px}
.side-link{display:flex;align-items:flex-start;gap:10px;padding:10px 11px;border:1px solid #d9e9ed;border-radius:13px;background:#fff;color:#26474d;text-decoration:none;transition:.16s ease}.side-link:hover{transform:translateY(-1px);border-color:#add2d8;background:#f8fdfd;box-shadow:0 8px 18px rgba(33,105,120,.08)}.side-link.active{border-color:#82c3c4;background:#eaf9f9;box-shadow:0 8px 18px rgba(24,167,161,.08)}
.side-link.compact{padding:9px 10px}.side-link-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:10px;background:#e8f6f7;color:#0e7e86}.side-link.active .side-link-icon{background:#16a59f;color:#fff}.side-link b{display:block;font-size:12px;line-height:1.2}.side-link small{display:block;margin-top:2px;color:#6b878c;font-size:10px;line-height:1.35}
.side-help{margin:16px 5px 0;padding-top:12px;border-top:1px solid #d7e6ea}.side-help a{color:#0b817b;font-weight:700}
.userbox{position:static;left:auto;right:auto;bottom:auto;margin-top:16px;border:1px solid #d8e9ee;background:#ffffff;box-shadow:0 8px 20px rgba(25,90,109,.06)}
.avatar-dot{background:#e6f4f6;color:#0e6f80}.avatar-dot img{width:100%;height:100%;object-fit:contain;padding:4px;border-radius:8px;background:linear-gradient(145deg,#ffffff,#edf3f7)}
.section-chip{background:#e9f8f8;border-color:#c6e7e7;color:#0f7670}.breadcrumbs,.breadcrumbs a,.appbar-right{color:#57777d}.breadcrumbs a:hover{color:#0c7d79}
.main{max-width:1700px}.page-kicker,.eyebrow{color:#15958f}.pagehead h1,.card h2,.card h3{color:#163d43}.pagehead:after{background:linear-gradient(90deg,#18a7a1,transparent)}
.context-tabs{border-bottom-color:#d4e4e8}.context-tabs a{color:#607e83}.context-tabs a:hover{color:#134c50}.context-tabs a.active{background:#e7f8f7;color:#0d7a75;border-color:#74c7c1}
.card,.kpi,.metric-row>div,.entity-card,.hub-action,.compact-list>a,.compact-list>div,.list-card,.list-item,.table-wrap,.deadline-box,.remaining-box,.v31-team-profile,.v31-h2h-core,.v31-metric-board,.v31-fingerprint,.v31-live-duel-head article,.v31-live-metrics>div,.v30-live-timeline-grid a,.next-game-strip a,.recent-set-strip a,.v30-dashboard-flow-grid>div,.v30-live-scenario-grid>div,.v30-timeline-item,.v33-period-flow article{background:#fff!important;color:var(--text);border-color:#d6e5ea!important;box-shadow:var(--shadow)}
.card:hover{border-color:#b4d5da}.muted,.mini-note,.story-lead,.lead,.v31-live-duel-head small,.v31-live-duel-head span,.v31-sharelegend,.v31-fingerprint-head small,.v31-fingerprint-head span,.v31-team-profile small,.v31-team-profile span,.v31-h2h-core small,.v31-h2h-core span,.v31-live-metrics small,.v30-live-timeline-grid span,.next-game-strip span,.recent-set-strip span,.side-link small{color:var(--muted)!important}
.table-wrap{border:1px solid #d8e7ec}th{background:#eff8fa;color:#0f7f7a;border-bottom:1px solid #d8e7ec}tbody tr:hover td{background:#f6fbfc}
.btn,button,.button{background:linear-gradient(135deg,#18a7a1,#0e8c87);box-shadow:0 8px 16px rgba(17,132,128,.18)}.btn.secondary{border:1px solid #badadd;background:#eef8fa;color:#0d7570}.btn.warn{background:#ebb852;color:#24383d}
/* 3D / metallic crest treatment */
.hero-teamline img,.hero-logo,.entity-head img,.team img,.small-logo,.section-team-logo,.match-team img,.side-team img,.compare-team img,.period-compare img,.recent-set-strip img,.flow-team img,.live-reaction-grid img,.live-band-grid img,.next-game-strip img,.v28-rest-schedule img,.v29-current-season img,.rivalry-crests img,.champion-line img,.series-team img,.online-team-logo,.top-team-chip img,.v30-timeline-opponent img,.v31-team-profile img,.v31-fingerprint-head img,.v31-live-duel-head img,.crest-stack img,.hero img{
  background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.98),#f6fafc 38%,#e4edf2 74%,#d3dee6 100%)!important;
  border:1px solid #c4d2da!important;
  border-radius:15px;
  padding:6px;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.95), inset 0 -10px 14px rgba(111,136,153,.16), 0 8px 20px rgba(34,94,112,.14), 0 0 0 1px rgba(255,255,255,.7)!important;
  filter:saturate(1.04) contrast(1.03) drop-shadow(0 2px 2px rgba(27,80,98,.08));
}
.crest-stack{display:flex;align-items:center}.crest-stack img{margin-right:-6px}
/* V33 spieldetail */
.v33-match-scoreboard{align-items:center}.v33-match-scoreboard .vs{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.v33-match-scoreboard .vs small{color:var(--muted);font-size:11px}.v33-period-flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:10px}.v33-period-flow article{padding:14px;border-radius:14px}.v33-period-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.v33-period-head b{font-size:14px;color:#0e6f6a}.v33-period-meta{display:grid;gap:3px}.v33-period-meta small{color:var(--muted);font-size:10px}.v33-period-meta b{font-size:22px;color:#193d42}
@media(max-width:820px){.side-links.compact{grid-template-columns:1fr}.mainnav a{min-height:44px}.navicon{display:grid}.side-link small{display:none}.v33-period-flow{grid-template-columns:1fr}}


/* V33.1 · Navigation & tieferes Spieldetail */
.context-tabs a{display:inline-flex;align-items:center;gap:7px}.context-tabs .icon-svg{width:16px;height:16px}.context-tabs .icon-svg svg{width:15px;height:15px}
.v33-h2h-summary{display:grid;grid-template-columns:1fr minmax(150px,.8fr) 1fr;gap:10px;align-items:stretch}.v33-h2h-summary>div{padding:13px;border:1px solid #d7e7eb;border-radius:14px;background:#f9fcfd;text-align:center}.v33-h2h-summary img{width:58px;height:58px;object-fit:contain;margin:0 auto 6px}.v33-h2h-summary b{display:block;font-size:24px;color:#146f70}.v33-h2h-summary small{display:block;color:var(--muted)}.v33-h2h-core{display:flex;flex-direction:column;justify-content:center}.v33-h2h-core span{font-size:20px;font-weight:900;color:#164247}
.v33-public-profile{display:grid;grid-template-columns:minmax(0,1fr) 1.35fr minmax(0,1fr);gap:12px;align-items:stretch}.v33-public-profile>article{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #d5e5e9;border-radius:14px;background:#f9fcfd}.v33-public-profile>article img{width:72px;height:72px;object-fit:contain}.v33-public-profile>article b{display:block;font-size:17px;color:#173e43}.v33-public-profile>article small,.v33-public-profile>article span{display:block;color:var(--muted);font-size:11px}.v33-profile-metrics{display:grid;grid-template-columns:1fr 1fr;gap:7px}.v33-profile-metrics>div{padding:10px;border:1px solid #d9e7ea;border-radius:11px;background:#fff}.v33-profile-metrics small{display:block;color:#658186;font-size:9px;text-transform:uppercase}.v33-profile-metrics b{display:block;margin-top:3px;color:#0d7774;font-size:13px}
@media(max-width:950px){.v33-public-profile{grid-template-columns:1fr}.v33-h2h-summary{grid-template-columns:1fr}.v33-profile-metrics{grid-template-columns:1fr 1fr}}

/* =========================================================
   V34 · COMPLETE SITEMAP + VISUAL MATCH DETAIL
   ========================================================= */
.sitemap-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.sitemap-title a{color:#0d817b;text-decoration:none;font-size:10px;font-weight:900;letter-spacing:0;text-transform:none}.sidebar-sitemap{display:grid;gap:7px}.sitemap-group{border:1px solid #d7e6ea;border-radius:13px;background:rgba(255,255,255,.76);overflow:hidden}.sitemap-group summary{list-style:none;display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:8px;align-items:center;padding:10px 11px;color:#294c52;cursor:pointer}.sitemap-group summary::-webkit-details-marker{display:none}.sitemap-group summary:hover{background:#f5fbfc}.sitemap-group[open] summary{background:#edf9f9;border-bottom:1px solid #d6e8e9;color:#0e716c}.sitemap-summary-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#e5f4f5;color:#0d7f84}.sitemap-group[open] .sitemap-summary-icon{background:#17a49e;color:#fff}.sitemap-group summary small{color:#789296;font-size:9px}.sitemap-links{padding:8px;background:#f9fcfd}.sitemap-links .side-link{box-shadow:none}.side-link em{display:inline-block;margin-top:4px;padding:2px 5px;border-radius:999px;background:#fff2cf;color:#865d08;font-size:8px;font-style:normal;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.sitemap-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #cbe3e5;border-radius:9px;background:#f1fbfb;color:#0d7772;text-decoration:none;font-weight:800}.sitemap-chip .icon-svg{width:14px;height:14px}.sitemap-chip .icon-svg svg{width:14px;height:14px}
.v34-sitemap-hero{background:linear-gradient(135deg,#ffffff,#eefafa)!important}.v34-sitemap-section .section-heading h2{display:flex;align-items:center;gap:8px}.v34-feature-list{display:grid;gap:8px}.v34-feature-list>a{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid #d9e9ed;border-radius:13px;background:#fbfefe;color:#26484e;text-decoration:none}.v34-feature-list>a:hover{border-color:#9dccce;background:#f0fbfb;transform:translateY(-1px)}.v34-feature-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#e6f5f6;color:#0e7d82}.v34-feature-list b{display:block;font-size:12px}.v34-feature-list small{display:block;margin-top:2px;color:#68858a;font-size:10px;line-height:1.35}.v34-feature-list em{padding:3px 6px;border-radius:999px;background:#fff2cf;color:#815b0b;font-size:8px;font-style:normal;font-weight:900;text-transform:uppercase}

/* V34 · Match hero */
.v34-match-hero{background:linear-gradient(145deg,#ffffff,#f1fafb 65%,#e8f7f7)!important;overflow:hidden}.v34-match-scoreboard{display:grid;grid-template-columns:minmax(0,1fr) 190px minmax(0,1fr);gap:20px;align-items:center;padding:15px 8px}.v34-match-scoreboard .match-team{position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px;border:1px solid transparent;border-radius:18px}.v34-match-scoreboard .match-team.winner{border-color:#8ccbc6;background:linear-gradient(145deg,#f7ffff,#eaf8f7);box-shadow:0 12px 28px rgba(21,137,132,.10)}.v34-match-scoreboard .match-team>b{font-size:18px;text-align:center;color:#163f45}.v34-match-scoreboard .match-team>small{padding:3px 7px;border-radius:999px;background:#15a49e;color:#fff;font-size:9px;font-weight:900;text-transform:uppercase}.v34-crest-shell{display:grid;place-items:center;width:112px;height:112px;border-radius:24px;background:linear-gradient(145deg,#ffffff,#e7eff3);border:1px solid #bdcfd6;box-shadow:inset 0 3px 0 rgba(255,255,255,.95),inset 0 -15px 22px rgba(102,128,143,.13),0 14px 28px rgba(34,90,108,.13)}.v34-crest-shell img{width:96px!important;height:96px!important;object-fit:contain;border:0!important;box-shadow:none!important;background:transparent!important;padding:2px!important}.v34-match-scoreboard .vs{display:flex;flex-direction:column;align-items:center;gap:4px}.v34-match-scoreboard .live-score{font-size:48px;color:#123e45}.v34-match-scoreboard .vs small{color:#607b80;font-size:11px}.v34-match-scoreboard .vs em{font-style:normal;color:#0c8580;font-size:11px;font-weight:900}.v34-story-strip{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.v34-story-strip span{padding:7px 10px;border:1px solid #d3e7e8;border-radius:999px;background:#fff;color:#47666b;font-size:10px}

/* Momentum */
.v34-momentum-card{overflow:hidden}.v34-momentum-labels{display:grid;grid-template-columns:1fr 1fr 1fr;margin-bottom:8px;color:#5e7b80;font-size:10px}.v34-momentum-labels b{text-align:center;color:#83999d}.v34-momentum-labels span:last-child{text-align:right}.v34-momentum-track{position:relative;height:94px;margin:6px 10px 18px;border-radius:16px;background:linear-gradient(90deg,#f6f9fb 0,#f0f8f9 49.7%,#e3f6f4 50%,#f0f8f9 50.3%,#f6f9fb 100%);border:1px solid #d7e7ea}.v34-momentum-track:before{content:"";position:absolute;left:8%;right:8%;top:46px;height:2px;background:#bfd2d6}.v34-momentum-track .center{position:absolute;left:50%;top:10px;bottom:10px;width:1px;background:#8fc9c5}.v34-momentum-point{position:absolute;top:24px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:54px;height:46px;padding:4px 7px;border:2px solid #fff;border-radius:13px;background:linear-gradient(145deg,#18a7a1,#0e8581);box-shadow:0 8px 17px rgba(20,135,130,.20);color:#fff}.v34-momentum-point b{font-size:10px}.v34-momentum-point small{font-size:9px;color:#eafffd}.v34-period-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}.v34-period-cards article{padding:10px;border:1px solid #d7e7ea;border-radius:12px;background:#fbfefe}.v34-period-cards small,.v34-period-cards span,.v34-period-cards em{display:block;color:#6c858a;font-size:9px;font-style:normal}.v34-period-cards b{display:block;margin:2px 0;color:#123e44;font-size:20px}.v34-period-cards em{margin-top:3px;color:#0e8580;font-weight:800}

/* Fingerprint */
.v34-sharebar{display:flex;height:16px;overflow:hidden;border-radius:999px;background:#eaf1f3;border:1px solid #d3e2e6;box-shadow:inset 0 1px 3px rgba(30,76,91,.08)}.v34-sharebar i{display:block;height:100%}.v34-sharebar .p1{background:linear-gradient(90deg,#18aaa3,#35c8bf)}.v34-sharebar .p2{background:linear-gradient(90deg,#5cb9cf,#78cbdb)}.v34-sharebar .p3{background:linear-gradient(90deg,#8d9fb8,#aab8c9)}.v34-share-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.v34-share-grid div{padding:9px;border:1px solid #dce8ec;border-radius:11px;background:#fafdfd;text-align:center}.v34-share-grid small{display:block;color:#789095;font-size:9px}.v34-share-grid b{display:block;color:#183e44;font-size:16px}.v34-match-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}

/* H2H clickable history */
.v34-h2h-games{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin-top:12px}.v34-h2h-games a{display:block;padding:10px;border:1px solid #d8e7eb;border-radius:12px;background:#fbfefe;color:#24474d;text-decoration:none}.v34-h2h-games a:hover{border-color:#9dcdce;background:#f0fbfb}.v34-h2h-games span,.v34-h2h-games small{display:block;color:#6d858a;font-size:9px}.v34-h2h-games b{display:block;margin:3px 0;color:#0d7772;font-size:15px}

@media(max-width:1050px){.v34-match-scoreboard{grid-template-columns:1fr 145px 1fr}.v34-match-scoreboard .live-score{font-size:38px}.v34-crest-shell{width:92px;height:92px}.v34-crest-shell img{width:78px!important;height:78px!important}}
@media(max-width:820px){.sitemap-chip span{display:none}.sitemap-group summary small{display:none}.sidebar-sitemap{display:none}.v34-feature-list>a{grid-template-columns:34px minmax(0,1fr)}.v34-feature-list em{grid-column:2}.v34-match-scoreboard{grid-template-columns:1fr 90px 1fr;gap:8px}.v34-match-scoreboard .live-score{font-size:29px}.v34-match-scoreboard .match-team>b{font-size:12px}.v34-crest-shell{width:72px;height:72px;border-radius:18px}.v34-crest-shell img{width:60px!important;height:60px!important}.v34-story-strip{display:grid}.v34-momentum-track{margin-left:2px;margin-right:2px}.v34-momentum-point{min-width:44px}.v34-match-kpis{grid-template-columns:1fr 1fr}}

/* =========================================================
   V35 · ANALYSE-DASHBOARD + FEATURE-FINDER
   ========================================================= */
.v35-match-anchor-nav{position:sticky;top:70px;z-index:8;display:flex;gap:6px;flex-wrap:wrap;margin:-8px 0 16px;padding:8px;border:1px solid #d4e5e9;border-radius:14px;background:rgba(247,252,253,.94);box-shadow:0 8px 22px rgba(32,91,108,.07);backdrop-filter:blur(9px)}
.v35-match-anchor-nav a{padding:7px 10px;border-radius:9px;color:#376067;text-decoration:none;font-size:10px;font-weight:850}.v35-match-anchor-nav a:hover{background:#e6f7f6;color:#087b75}
.v35-match-hero{scroll-margin-top:145px}.v35-analysis-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:7px;margin-top:9px}.v35-analysis-strip span{padding:8px 10px;border:1px solid #d8e8eb;border-radius:11px;background:#f8fcfd;color:#45676c;font-size:10px;line-height:1.4}
#verlauf,#kontingent,#umfeld,#duelle,#profile{scroll-margin-top:145px}
.v35-contingent-dashboard{background:linear-gradient(145deg,#fff,#f5fcfc)!important}.v35-contingent-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.v35-contingent-grid>article{padding:15px;border:1px solid #d4e5e8;border-radius:15px;background:#fff}.v35-contingent-head{display:grid;grid-template-columns:64px minmax(0,1fr);gap:11px;align-items:center}.v35-contingent-head img{width:64px;height:64px;object-fit:contain}.v35-contingent-head small,.v35-contingent-head span{display:block;color:#68848a;font-size:10px}.v35-contingent-head b{display:block;color:#133e44;font-size:25px}.v35-total-load{height:11px;margin:11px 0;border:1px solid #d2e1e5;border-radius:999px;background:#edf4f6;overflow:hidden}.v35-total-load i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#15a79f,#50ccc4)}
.v35-period-load{display:grid;gap:7px}.v35-period-load>div{display:grid;grid-template-columns:30px 1fr 54px;gap:8px;align-items:center}.v35-period-load small{color:#658187;font-size:10px}.v35-period-load>div>span{height:8px;border-radius:999px;background:#edf4f5;overflow:hidden}.v35-period-load i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#6bc3d3,#22aaa4)}.v35-period-load b{text-align:right;color:#264a50;font-size:10px}
.v35-decision-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.v35-decision-kpis>div{padding:11px;border:1px solid #d7e6e9;border-radius:12px;background:#fbfefe}.v35-decision-kpis small,.v35-decision-kpis span{display:block;color:#6b858a;font-size:9px}.v35-decision-kpis b{display:block;margin:2px 0;color:#0e7772;font-size:18px}
.v35-season-context{background:linear-gradient(145deg,#fff,#f7fbfc)!important}.v35-context-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.v35-context-grid>article{padding:14px;border:1px solid #d7e6e9;border-radius:15px;background:#fff}.v35-context-team{display:grid;grid-template-columns:54px minmax(0,1fr);gap:10px;align-items:center;margin-bottom:11px}.v35-context-team img{width:54px;height:54px;object-fit:contain}.v35-context-team b{display:block;color:#153f45}.v35-context-team small{display:block;color:#6c868b;font-size:10px}.v35-context-columns{display:grid;grid-template-columns:1fr 1fr;gap:8px}.v35-context-columns>div>small{display:block;margin-bottom:6px;color:#0d827b;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.v35-context-columns a,.v35-context-future{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:7px;align-items:center;padding:7px 8px;margin-bottom:5px;border:1px solid #dce9ec;border-radius:10px;background:#fbfefe;color:#31545a;text-decoration:none}.v35-context-columns a:hover{border-color:#a7d2d3;background:#effafa}.v35-context-columns img{width:30px!important;height:30px!important;object-fit:contain}.v35-context-columns span{font-size:9px}.v35-context-columns b{font-size:9px;color:#0f7772}.v35-context-columns em{display:block;padding:8px;color:#80969a;font-size:9px;font-style:normal}
.v35-sitemap-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.v35-sitemap-kpis>div{padding:12px;border:1px solid #d4e7e8;border-radius:13px;background:rgba(255,255,255,.82)}.v35-sitemap-kpis b{display:block;color:#0d7772;font-size:23px}.v35-sitemap-kpis small{display:block;color:#627f84;font-size:9px;text-transform:uppercase;letter-spacing:.04em}
.v35-feature-finder{background:linear-gradient(145deg,#fff,#f3fbfb)!important}.v35-finder-controls{display:grid;grid-template-columns:minmax(260px,1fr) 2fr;gap:12px;align-items:end}.v35-finder-controls label span{display:block;margin-bottom:5px;color:#496b70;font-size:10px;font-weight:800}.v35-finder-controls input{width:100%;min-height:43px;padding:9px 12px;border:1px solid #cfe2e6;border-radius:11px;background:#fff;color:#163e44}.v35-finder-controls input:focus{outline:2px solid #7bd3cf;outline-offset:2px}.v35-section-filters{display:flex;gap:5px;flex-wrap:wrap}.v35-section-filters button{min-height:34px;padding:6px 9px;border:1px solid #d1e4e7;border-radius:9px;background:#f6fbfc;color:#42656a;box-shadow:none;font-size:9px}.v35-section-filters button:hover,.v35-section-filters button.active{background:#17a39d;color:#fff;border-color:#17a39d;filter:none}
.v35-workflow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.v35-workflow-grid a{display:grid;grid-template-columns:36px minmax(0,1fr);gap:9px;align-items:center;padding:10px;border:1px solid #d6e7ea;border-radius:12px;background:#fff;color:#294d53;text-decoration:none}.v35-workflow-grid a:hover{border-color:#9fcfd0;background:#effafa}.v35-workflow-grid .icon-svg{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#e8f6f6;color:#0d7c77}.v35-workflow-grid b{display:block;font-size:11px}.v35-workflow-grid small{display:block;color:#6d878c;font-size:9px}
.v35-filter-section[hidden],.v34-feature-list>a[hidden]{display:none!important}
@media(max-width:1050px){.v35-decision-kpis,.v35-sitemap-kpis,.v35-workflow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v35-finder-controls{grid-template-columns:1fr}.v35-context-columns{grid-template-columns:1fr}}
@media(max-width:820px){.v35-match-anchor-nav{position:relative;top:auto}.v35-contingent-grid,.v35-context-grid{grid-template-columns:1fr}.v35-decision-kpis,.v35-sitemap-kpis,.v35-workflow-grid{grid-template-columns:1fr 1fr}.v35-analysis-strip{grid-template-columns:1fr}}
@media(max-width:520px){.v35-decision-kpis,.v35-sitemap-kpis,.v35-workflow-grid{grid-template-columns:1fr}.v35-match-anchor-nav a{flex:1 1 40%;text-align:center}}

/* =========================================================
   V36 · MATCHCENTER + VERBUNDENER MATCH-WORKFLOW
   ========================================================= */
.v36-matchcenter-hero{background:linear-gradient(125deg,#e8f8f7,#ffffff 58%,#f3fbfc)!important}
.v36-matchcenter-team{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;align-items:center}.v36-matchcenter-team h2{margin:2px 0;font-size:28px}.v36-center-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.v36-center-kpis>div{padding:11px 12px;border:1px solid #d5e7ea;border-radius:13px;background:rgba(255,255,255,.86)}.v36-center-kpis b{display:block;color:#0c7e78;font-size:22px}.v36-center-kpis small{display:block;color:#607d82;font-size:9px;text-transform:uppercase;letter-spacing:.04em}
.v36-workflow{background:linear-gradient(145deg,#fff,#f5fcfc)!important}.v36-workflow-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.v36-workflow-grid a,.v36-detail-actions a{display:grid;grid-template-columns:38px minmax(0,1fr);gap:9px;align-items:center;padding:11px;border:1px solid #d7e8eb;border-radius:13px;background:#fff;color:#274b51;text-decoration:none;transition:.15s ease}.v36-workflow-grid a:hover,.v36-detail-actions a:hover{transform:translateY(-1px);border-color:#9dcece;background:#eefafa;box-shadow:0 9px 20px rgba(28,103,116,.07)}.v36-workflow-grid .icon-svg,.v36-detail-actions .icon-svg{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#e5f6f5;color:#0d817b}.v36-workflow-grid small,.v36-detail-actions small{display:block;color:#718b90;font-size:9px}.v36-workflow-grid b,.v36-detail-actions b{display:block;color:#173f45;font-size:11px}.v36-workflow-grid em{display:block;color:#5c797e;font-size:9px;font-style:normal}
.v36-match-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px}.v36-match-card{padding:14px;border:1px solid #d4e6e9;border-radius:15px;background:#fff;box-shadow:0 9px 22px rgba(26,90,106,.07)}.v36-match-card.live{border-color:#a8d8d5;background:linear-gradient(145deg,#f8fefe,#effbfa)}.v36-match-meta{display:flex;justify-content:space-between;gap:8px;margin-bottom:12px}.v36-match-meta span{color:#607d82;font-size:10px}.v36-match-meta b{color:#0d8079;font-size:10px}.v36-match-pair{display:grid;grid-template-columns:1fr 34px 1fr;gap:8px;align-items:center}.v36-match-pair>div{display:grid;justify-items:center;gap:5px;text-align:center}.v36-match-pair img{width:66px!important;height:66px!important;object-fit:contain}.v36-match-pair b{font-size:12px;color:#173f45}.v36-match-pair>span{text-align:center;color:#76a0a4;font-size:10px;font-weight:900}
.v36-next-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}.v36-next-strip article{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px;align-items:center;padding:10px;border:1px solid #d8e8eb;border-radius:13px;background:#fbfefe}.v36-next-strip img{width:56px!important;height:56px!important;object-fit:contain}.v36-next-strip small,.v36-next-strip span{display:block;color:#6d878c;font-size:9px}.v36-next-strip b{display:block;margin:2px 0;color:#173f45;font-size:12px}
.v36-recent-list{display:grid;gap:6px}.v36-recent-list>a{display:grid;grid-template-columns:180px minmax(150px,1fr) 70px minmax(150px,1fr) 40px 78px;gap:10px;align-items:center;padding:9px 10px;border:1px solid #d9e8eb;border-radius:12px;background:#fbfefe;color:#294d53;text-decoration:none}.v36-recent-list>a:hover{border-color:#9fcdce;background:#effafa}.v36-recent-comp{color:#607e83;font-size:9px}.v36-recent-team{display:flex;align-items:center;gap:7px;font-size:10px}.v36-recent-team.away{justify-content:flex-start}.v36-recent-team img{width:34px!important;height:34px!important;object-fit:contain}.v36-recent-list>a>b{text-align:center;color:#153f45;font-size:16px}.v36-recent-list em{display:grid;place-items:center;width:30px;height:25px;border-radius:8px;background:#edf4f5;color:#557276;font-size:9px;font-style:normal;font-weight:900}.v36-recent-list .result-s{background:#e6f6ee;color:#267953}.v36-recent-list .result-n{background:#faecee;color:#a13c49}.v36-recent-list>a>small{text-align:right;color:#0d817b;font-size:9px;font-weight:800}
.v36-detail-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:-5px 0 15px}.v36-detail-actions a{padding:9px}.v36-detail-actions .icon-svg{width:34px;height:34px}.v36-detail-actions b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* V36: fünf typische Wege im Feature-Finder statt vier */
.v35-workflow-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1180px){.v36-workflow-grid,.v36-detail-actions,.v35-workflow-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v36-recent-list>a{grid-template-columns:145px 1fr 60px 1fr 34px}.v36-recent-list>a>small{display:none}}
@media(max-width:820px){.v36-matchcenter-team{grid-template-columns:84px 1fr}.v36-center-kpis{grid-template-columns:1fr 1fr}.v36-workflow-grid,.v36-detail-actions,.v35-workflow-grid{grid-template-columns:1fr 1fr}.v36-recent-list>a{grid-template-columns:1fr 55px 1fr 32px}.v36-recent-comp{grid-column:1/-1}.v36-recent-team{font-size:9px}}
@media(max-width:520px){.v36-center-kpis,.v36-workflow-grid,.v36-detail-actions,.v35-workflow-grid{grid-template-columns:1fr}.v36-match-pair img{width:54px!important;height:54px!important}.v36-recent-list>a{grid-template-columns:1fr 48px 1fr}.v36-recent-list em{display:none}}

/* =========================================================
   V46 · PLAYABILITY / COMPETITION FLOW / SEASON GOALS
   ========================================================= */
.v46-next-action{display:flex;align-items:center;justify-content:space-between;gap:22px;border-color:#94d3d0!important;background:linear-gradient(135deg,#f8ffff,#edfafa)!important}.v46-next-action.urgency-now{box-shadow:0 12px 30px rgba(21,150,143,.12)}.v46-action-main h2{margin:2px 0 4px;font-size:25px}.v46-action-main p{margin:2px 0}.v46-next-action .btn{min-width:170px}
.v46-season-flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}.v46-flow-step{position:relative;padding:13px 13px 13px 18px;border:1px solid #d6e5ea;border-radius:13px;background:#fff}.v46-flow-step>span{position:absolute;left:0;top:0;bottom:0;width:5px;border-radius:13px 0 0 13px;background:#bacdd2}.v46-flow-step.active>span{background:#19aaa2}.v46-flow-step.done>span{background:#4aad79}.v46-flow-step.upcoming>span{background:#bfd2d7}.v46-flow-step b,.v46-flow-step small{display:block}.v46-flow-step small{margin-top:3px;color:#6a8489}
.v46-goal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.v46-goal-card{padding:16px;border:1px solid #d7e6e9;border-radius:14px;background:#fff}.v46-goal-card.state-fulfilled{border-color:#9fd8bd;background:#f3fbf6}.v46-goal-card.state-missed,.v46-goal-card.state-danger{border-color:#e6b4b8;background:#fff7f8}.v46-goal-card.state-at_risk{border-color:#e6cf95;background:#fffaf0}.v46-goal-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.v46-goal-card h3{margin:10px 0 8px}.v46-goal-meta{display:flex;gap:10px;align-items:baseline;margin:8px 0}.v46-goal-meta b{font-size:20px;color:#0e847e}.v46-goal-meta span{color:#607b80;font-size:11px}
.v46-summary-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:14px}.v46-summary-goals,.v46-summary-comps{display:grid;gap:8px}.v46-summary-goals>a,.v46-summary-comps>a{display:grid;gap:3px;padding:11px 12px;border:1px solid #d8e7ea;border-radius:12px;background:#fbfefe;color:inherit;text-decoration:none}.v46-summary-goals>a{grid-template-columns:auto 1fr;align-items:center}.v46-summary-goals small{grid-column:2}.v46-summary-comps>a{grid-template-columns:1fr auto}.v46-summary-comps small{grid-column:1/-1}.v46-summary-comps span{color:#0c837d;font-weight:800;font-size:11px}
.v46-competition-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.v46-competition-card{display:grid;grid-template-columns:46px 1fr;gap:12px;padding:15px;border:1px solid #d6e5ea;border-radius:14px;background:#fff;color:inherit;text-decoration:none;transition:.15s}.v46-competition-card:hover{transform:translateY(-1px);border-color:#9ecfd0;box-shadow:0 10px 24px rgba(32,102,116,.09)}.v46-competition-card small,.v46-competition-card p{color:#658084}.v46-competition-card h3{margin:2px 0 4px}.v46-competition-card b{color:#0b817b}
.v46-context-action{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:13px;padding:12px 14px;border:1px solid #9bd2cf;border-radius:13px;background:#effafa}.v46-context-action b{color:#0c746f}.v46-context-action span{color:#637d82;flex:1}.v46-ko-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:10px}.v46-ko-game{display:grid;grid-template-columns:1fr 58px 1fr;gap:8px;align-items:center;padding:13px;border:1px solid #d8e7ea;border-radius:13px;background:#fff;text-align:center}.v46-ko-game.mine{border-color:#7fc5c1;background:#f0fbfa}.v46-ko-game>div{display:flex;align-items:center;gap:8px;text-align:left}.v46-ko-game>div:last-of-type{flex-direction:row-reverse;text-align:right}.v46-ko-game img{width:40px;height:40px;object-fit:contain}.v46-ko-game strong{font-size:15px;color:#123d42}.v46-ko-game>a{grid-column:1/-1;justify-self:center}
.v46-form{display:flex;gap:3px}.v46-form i{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#dfe9ec;color:#456066;font-size:9px;font-style:normal;font-weight:900}.v46-form i.s{background:#dff5e8;color:#197044}.v46-form i.n{background:#fae4e6;color:#9a3440}.v46-form i.u{background:#f6efd8;color:#80691f}.v46-my-team td{background:#eefafa!important}.v46-my-team td:first-child{box-shadow:inset 4px 0 0 #18a7a1}.v46-table-legend{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.v46-own-legend{padding:4px 8px;border-radius:999px;background:#e9f8f7;color:#0c7772;font-size:10px;font-weight:800}
.v46-decisive-card{border-color:#9fd3d0!important;background:linear-gradient(135deg,#fbffff,#f0faf9)!important}.v46-decisive-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.v46-decisive-grid>div{padding:12px;border:1px solid #d8e8e9;border-radius:12px;background:#fff}.v46-decisive-grid small,.v46-decisive-grid span{display:block;color:#6b8488}.v46-decisive-grid b{display:block;margin:4px 0;color:#143d42;font-size:18px}
.v46-ai-style-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:10px}.v46-ai-style-grid article{display:grid;grid-template-columns:56px 1fr;gap:11px;align-items:center;padding:12px;border:1px solid #d7e6ea;border-radius:13px;background:#fff}.v46-ai-style-grid img{width:56px;height:56px;object-fit:contain}.v46-ai-style-grid b,.v46-ai-style-grid small,.v46-ai-style-grid span,.v46-ai-style-grid em{display:block}.v46-ai-style-grid small,.v46-ai-style-grid span,.v46-ai-style-grid em{color:#657f83;font-size:10px}.v46-ai-style-grid em{font-style:normal;margin-top:2px}
.v46-quickpick{margin:-2px 0 10px}
@media(max-width:900px){.v46-next-action{align-items:flex-start;flex-direction:column}.v46-next-action .btn{width:100%}.v46-summary-grid{grid-template-columns:1fr}.v46-decisive-grid{grid-template-columns:1fr 1fr}.v46-ko-game{grid-template-columns:1fr 50px 1fr}}
@media(max-width:560px){.v46-decisive-grid{grid-template-columns:1fr}.v46-season-flow{grid-template-columns:1fr}.v46-goal-grid,.v46-competition-grid{grid-template-columns:1fr}}


.v46-goal-mini{display:grid;grid-template-columns:auto 1fr;gap:7px 10px;align-items:center;padding:9px 11px;border:1px solid #d8e7ea;border-radius:11px;background:#fbfefe}.v46-goal-mini b{font-size:11px;color:#173f45}.v46-goal-mini span{justify-self:end;font-size:10px;font-weight:800;color:#0d817b}.v46-goal-mini small{grid-column:1/-1;color:#6b8589;font-size:9px}
.v46-action-budget{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px;padding:8px 10px;border:1px solid #cbe3e5;border-radius:10px;background:#f8fdfd;color:#4f6f74;font-size:10px}.v46-action-budget b{color:#0d7772;font-size:12px}
.v46-snapshot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px}.v46-snapshot-grid>div{padding:11px 12px;border:1px solid #d8e7ea;border-radius:12px;background:#fff}.v46-snapshot-grid small,.v46-snapshot-grid span{display:block;color:#6b8589;font-size:9px}.v46-snapshot-grid b{display:block;margin:2px 0;color:#153e43;font-size:16px}.v46-home-action{border-color:#93cfcc!important;background:linear-gradient(135deg,#f9ffff,#eefafa)!important}

/* V46.1 · Navigation entschlackt: Hauptnavigation nur einmal, keine Sidebar-Sitemap/Schnellzugriff-Dubletten. */
.nav-secondary{display:grid;gap:7px;margin:16px 2px 0;padding-top:14px;border-top:1px solid #d5e6ea}.nav-secondary-link{display:flex;align-items:center;gap:10px;padding:10px 11px;border:1px solid #d7e7eb;border-radius:12px;background:#fff;color:#315a60;text-decoration:none;font-size:12px;font-weight:800}.nav-secondary-link:hover{background:#f1fbfb;border-color:#b6d9dc;color:#0d7470}.nav-secondary-link .icon-svg{width:18px;height:18px;color:#0d817b}.nav-secondary-link .icon-svg svg{width:18px;height:18px}.sidebar-sitemap,.sitemap-title,.side-links.compact{display:none!important}

/* =========================================================
   V47 · HAUPTNAVIGATION / THEME / LOGO-CONSISTENCY
   ========================================================= */
.side{overflow-y:auto;overflow-x:hidden;padding-bottom:18px}
.v47-mainnav{gap:7px}
.v47-nav-group{border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.025);overflow:hidden}
.v47-nav-group>summary{list-style:none;display:grid;grid-template-columns:34px 1fr 22px;align-items:center;gap:10px;min-height:54px;padding:9px 10px;color:#c6dce8;font-size:15px;font-weight:850;cursor:pointer;user-select:none}
.v47-nav-group>summary::-webkit-details-marker{display:none}.v47-nav-group>summary:hover{background:rgba(255,255,255,.07);color:#fff}.v47-nav-group.active{border-color:#2e739a;background:rgba(24,95,135,.2)}.v47-nav-group.active>summary{color:#fff}.v47-nav-chevron{justify-self:end;color:#80a9c0;transition:transform .16s}.v47-nav-group[open] .v47-nav-chevron{transform:rotate(180deg)}
.v47-subnav{display:grid;gap:3px;padding:2px 8px 9px 51px}.v47-subnav a{display:grid;grid-template-columns:19px 1fr;align-items:center;gap:7px;min-height:34px;padding:6px 8px;border-radius:9px;color:#aac6d6;text-decoration:none;font-size:12px;font-weight:700}.v47-subnav a:hover{background:rgba(255,255,255,.08);color:#fff}.v47-subnav a.active{background:#e8f7ff;color:#075d8c}.v47-subicon,.v47-subicon .icon-svg{width:17px;height:17px}.v47-subicon svg{width:17px;height:17px}.v47-subnav a.active .v47-subicon{color:#0876aa}
.v47-nav-tools{margin:14px 2px 0;padding-top:12px;border-top:1px solid rgba(255,255,255,.12)}.v47-nav-tools .nav-secondary-link{width:100%;min-height:42px;justify-content:flex-start;border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.055);color:#bad3e1;box-shadow:none}.v47-nav-tools .nav-secondary-link:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.22);color:#fff}.v47-nav-tools .nav-secondary-link .icon-svg{color:#a8d4e8}.v47-theme-toggle{font:inherit;text-align:left}.theme-toggle-icon{width:18px;text-align:center;font-size:17px}
.userbox{position:static;left:auto;right:auto;bottom:auto;margin:16px 2px 0}
.context-tabs{display:none!important}

/* Live-Hub */
.v47-live-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:13px}.v47-live-card{padding:16px;border:1px solid #cfe1e8;border-radius:15px;background:#fff}.v47-live-card .v36-match-pair{margin:12px 0}.v47-live-card .v36-match-pair img{width:64px!important;height:64px!important}.v47-live-empty{padding:20px;border:1px dashed #bfd5df;border-radius:14px;background:#f7fbfd;text-align:center;color:#627b89}

/* Records: Wappen sind Teil des Rekords, nicht Zusatzdeko. */
.v47-record-match{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;margin:12px 0 8px}.v47-record-team{display:grid;justify-items:center;gap:5px;text-align:center}.v47-record-team img{width:58px;height:58px;object-fit:contain}.v47-record-team b{font-size:12px}.v47-record-score{font-size:22px;font-weight:950;color:#0c716d}.v47-inline-team{display:inline-flex;align-items:center;gap:8px}.v47-inline-team img{width:34px;height:34px;object-fit:contain}

/* Dunkles Design: als echte Alternative, nicht nur invertierte Einzelkarte. */
html[data-theme="dark"]{--bg:#07131e;--bg-deep:#06101a;--surface:#0e1c29;--surface-2:#132432;--surface-3:#172b39;--line:#294050;--line-soft:#223746;--text:#ecf6fa;--ink:#ecf6fa;--muted:#9bb0bb;--faint:#748c99;--accent:#30b6b0;--accent-2:#148f8a;--gold:#e7bd5a;--good:#5bc68c;--bad:#eb7d89;--warn:#e2bd63;color-scheme:dark;background:#07131e}
html[data-theme="dark"] body{color:var(--text);background:linear-gradient(155deg,#081621,#0b1925 55%,#07131e)}
html[data-theme="dark"] .side{background:linear-gradient(180deg,#071b2a,#081724 72%,#06131e);border-right-color:#173043}
html[data-theme="dark"] .appbar{background:rgba(8,20,31,.94);border-color:#233846;color:#c9dae2}
html[data-theme="dark"] .pagehead h1,html[data-theme="dark"] .card h2,html[data-theme="dark"] .card h3{color:#eef8fb}
html[data-theme="dark"] .page-kicker,html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .muted,html[data-theme="dark"] small{color:#9bb0bb}
html[data-theme="dark"] .card,html[data-theme="dark"] .v46-goal-card,html[data-theme="dark"] .v46-flow-step,html[data-theme="dark"] .v46-competition-card,html[data-theme="dark"] .v46-ko-game,html[data-theme="dark"] .v46-decisive-grid>div,html[data-theme="dark"] .v46-ai-style-grid article,html[data-theme="dark"] .v46-snapshot-grid>div,html[data-theme="dark"] .v47-live-card{background:#0f202d!important;border-color:#294250!important;color:#eaf5f8}
html[data-theme="dark"] .feature-hero,html[data-theme="dark"] .dashboard-hero,html[data-theme="dark"] .intro-card,html[data-theme="dark"] .v46-next-action,html[data-theme="dark"] .v46-decisive-card,html[data-theme="dark"] .v46-home-action{background:linear-gradient(135deg,#102b37,#0d202c)!important;border-color:#30505d!important}
html[data-theme="dark"] .entity-card,html[data-theme="dark"] .compact-list>a,html[data-theme="dark"] .compact-list>div,html[data-theme="dark"] .list-card,html[data-theme="dark"] .list-item,html[data-theme="dark"] .hub-action{background:#102331!important;border-color:#2a4351!important;color:#e8f4f7}
html[data-theme="dark"] .hub-action:hover{background:#16303e!important}
html[data-theme="dark"] .table-wrap{background:#0d1d29;border-color:#29404d}html[data-theme="dark"] table{color:#e7f1f4}html[data-theme="dark"] th{background:#142b38;color:#c5dae2;border-bottom-color:#304754}html[data-theme="dark"] td{border-bottom-color:#243946}html[data-theme="dark"] tbody tr:hover td{background:#142732}html[data-theme="dark"] .v46-my-team td{background:#123330!important}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#0d1f2c;color:#edf7fa;border-color:#35505f}
html[data-theme="dark"] .btn.secondary,html[data-theme="dark"] button.secondary{background:#16303e;color:#d8e9ee;border-color:#385464}
html[data-theme="dark"] .kpi,html[data-theme="dark"] .metric-row>div,html[data-theme="dark"] .account,html[data-theme="dark"] .goal-card{background:#102431;border-color:#294452;color:#eaf5f8}
html[data-theme="dark"] .deadline-box{background:#342d19;border-color:#66552c}html[data-theme="dark"] .remaining-box,html[data-theme="dark"] .account-focus,html[data-theme="dark"] .budget-context-line{background:#102d37;border-color:#2d5662}
html[data-theme="dark"] .app-footer{background:#091720;border-color:#263b47;color:#8ca3ae}
html[data-theme="dark"] .v47-record-score{color:#59ccc6}html[data-theme="dark"] .v47-live-empty{background:#0d1e2a;border-color:#35505d;color:#9eb4be}
html[data-theme="dark"] .v36-match-card,html[data-theme="dark"] .v36-recent-list>a,html[data-theme="dark"] .v46-summary-goals>a,html[data-theme="dark"] .v46-summary-comps>a,html[data-theme="dark"] .v46-goal-mini{background:#10232f!important;border-color:#2a4451!important;color:#e8f4f7}
html[data-theme="dark"] .v36-match-meta span,html[data-theme="dark"] .v36-recent-comp,html[data-theme="dark"] .v46-goal-meta span{color:#99afb9}
html[data-theme="dark"] .v36-recent-list>a>b,html[data-theme="dark"] .v46-goal-card h3,html[data-theme="dark"] .v46-decisive-grid b,html[data-theme="dark"] .v46-snapshot-grid b{color:#eaf5f8}
@media(max-width:820px){.v47-nav-group>summary{min-height:46px;font-size:13px}.v47-subnav{padding-left:43px}.v47-subnav a{font-size:11px}.userbox{margin-top:12px}}

/* =========================================================
   V49 · DESIGN-LESBARKEIT / HELL & DUNKEL HARMONISIEREN
   Ziel: Auf beiden Themes jederzeit gut lesbare Kontraste.
   ========================================================= */

:root{
  --v49-bg:#eef4f8;
  --v49-bg-soft:#f7fbfd;
  --v49-surface:#ffffff;
  --v49-surface-2:#f2f7fa;
  --v49-surface-3:#e8f1f6;
  --v49-side:#0b304b;
  --v49-side-2:#08263d;
  --v49-line:#c7d8e2;
  --v49-line-strong:#a6c3d3;
  --v49-text:#153246;
  --v49-text-soft:#426172;
  --v49-text-faint:#5f7a89;
  --v49-accent:#0f80b7;
  --v49-accent-strong:#0a6594;
  --v49-accent-soft:#e7f5fb;
  --v49-ok:#17754a;
  --v49-warn:#9b6700;
  --v49-bad:#b54353;
  --v49-shadow:0 12px 30px rgba(26,72,96,.10);
}

html[data-theme="light"]{
  color-scheme:light;
  background:var(--v49-bg);
}
html[data-theme="light"] body{
  color:var(--v49-text);
  background:linear-gradient(155deg,#f7fbfd 0,#edf4f8 52%,#e8f0f5 100%);
}
html[data-theme="light"] a{color:var(--v49-accent-strong)}
html[data-theme="light"] .text-link,
html[data-theme="light"] .parent-link,
html[data-theme="light"] .table-wrap a,
html[data-theme="light"] .breadcrumbs a{color:var(--v49-accent-strong)}
html[data-theme="light"] .text-link:hover,
html[data-theme="light"] .parent-link:hover,
html[data-theme="light"] .table-wrap a:hover,
html[data-theme="light"] .breadcrumbs a:hover{color:#074d73}

/* Shell / Navigation */
html[data-theme="light"] .side{
  background:linear-gradient(180deg,var(--v49-side) 0,var(--v49-side-2) 100%);
  border-right-color:#184566;
  box-shadow:10px 0 28px rgba(11,48,75,.12);
}
html[data-theme="light"] .brand,
html[data-theme="light"] .brand b{color:#fff}
html[data-theme="light"] .brand small{color:#a9c8d8}
html[data-theme="light"] .nav-label{color:#86abc2}
html[data-theme="light"] .mainnav a,
html[data-theme="light"] .v47-nav-group>summary{color:#d7e7f0}
html[data-theme="light"] .mainnav a:hover,
html[data-theme="light"] .v47-nav-group>summary:hover{background:rgba(255,255,255,.10);color:#fff}
html[data-theme="light"] .mainnav a.active{background:#15567f;border-color:#2f7eaa;color:#fff}
html[data-theme="light"] .navicon{background:rgba(255,255,255,.10);color:#dbf2ff}
html[data-theme="light"] .mainnav a.active .navicon{background:#eff9fe;color:#0d6f9f}
html[data-theme="light"] .v47-nav-group{border-color:rgba(255,255,255,.10);background:rgba(255,255,255,.03)}
html[data-theme="light"] .v47-nav-group.active{border-color:#2f7eaa;background:rgba(21,86,127,.24)}
html[data-theme="light"] .v47-nav-chevron{color:#a6c7d8}
html[data-theme="light"] .v47-subnav a{color:#bfd7e3}
html[data-theme="light"] .v47-subnav a:hover{background:rgba(255,255,255,.10);color:#fff}
html[data-theme="light"] .v47-subnav a.active{background:#ecf8fe;color:#085f8e}
html[data-theme="light"] .userbox{border-color:rgba(255,255,255,.16);background:rgba(4,28,43,.55);color:#fff}
html[data-theme="light"] .userbox small,
html[data-theme="light"] .logout-link{color:#b1cbda}
html[data-theme="light"] .logout-link:hover{color:#fff}
html[data-theme="light"] .nav-secondary-link{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12);color:#d9e7ef}
html[data-theme="light"] .nav-secondary-link:hover{background:rgba(255,255,255,.14);color:#fff}

/* App bar / layout */
html[data-theme="light"] .appbar{
  background:rgba(255,255,255,.95);
  border-color:var(--v49-line);
  color:var(--v49-text-soft);
  box-shadow:0 2px 12px rgba(22,68,92,.05);
}
html[data-theme="light"] .section-chip{background:#f1f7fa;border-color:#d6e4eb;color:#4b6677}
html[data-theme="light"] .pagehead h1,
html[data-theme="light"] .card h2,
html[data-theme="light"] .card h3,
html[data-theme="light"] .entity-card h3,
html[data-theme="light"] .compare-team h3,
html[data-theme="light"] .v36-match-pair strong,
html[data-theme="light"] .v46-goal-card h3{color:var(--v49-text)}
html[data-theme="light"] .page-kicker,
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .muted,
html[data-theme="light"] .mini-note,
html[data-theme="light"] label,
html[data-theme="light"] small{color:var(--v49-text-faint)}

/* Content surfaces */
html[data-theme="light"] .card,
html[data-theme="light"] .entity-card,
html[data-theme="light"] .compact-list>a,
html[data-theme="light"] .compact-list>div,
html[data-theme="light"] .list-card,
html[data-theme="light"] .list-item,
html[data-theme="light"] .mini-card,
html[data-theme="light"] .admin-tile,
html[data-theme="light"] .admin-details,
html[data-theme="light"] .hub-action,
html[data-theme="light"] .v36-match-card,
html[data-theme="light"] .v36-recent-list>a,
html[data-theme="light"] .v46-goal-card,
html[data-theme="light"] .v46-flow-step,
html[data-theme="light"] .v46-competition-card,
html[data-theme="light"] .v46-ko-game,
html[data-theme="light"] .v46-summary-goals>a,
html[data-theme="light"] .v46-summary-comps>a,
html[data-theme="light"] .v46-goal-mini,
html[data-theme="light"] .v46-snapshot-grid>div,
html[data-theme="light"] .v46-ai-style-grid article,
html[data-theme="light"] .v47-live-card,
html[data-theme="light"] .v48-live-truth,
html[data-theme="light"] .v48-feed-row{
  background:var(--v49-surface)!important;
  color:var(--v49-text);
  border-color:var(--v49-line)!important;
  box-shadow:var(--v49-shadow);
}
html[data-theme="light"] .feature-hero,
html[data-theme="light"] .dashboard-hero,
html[data-theme="light"] .intro-card,
html[data-theme="light"] .v46-next-action,
html[data-theme="light"] .v46-decisive-card,
html[data-theme="light"] .v46-home-action{
  background:linear-gradient(135deg,#fafdff 0,#eef6fa 100%)!important;
  border-color:#c2d9e6!important;
}
html[data-theme="light"] .hub-action:hover,
html[data-theme="light"] .link-card:hover,
html[data-theme="light"] .compact-list>a:hover,
html[data-theme="light"] .list-card:hover,
html[data-theme="light"] .admin-tile:hover{background:#f5fbfe!important;border-color:#99bfd2!important}

/* Tables */
html[data-theme="light"] .table-wrap{background:#fff;border-color:var(--v49-line-strong)}
html[data-theme="light"] table{color:var(--v49-text)}
html[data-theme="light"] th{background:#edf5f9;color:#43606f;border-bottom-color:var(--v49-line-strong)}
html[data-theme="light"] td{border-bottom-color:#dbe7ee}
html[data-theme="light"] tbody tr:hover td{background:#f3f9fc}
html[data-theme="light"] .v46-my-team td,
html[data-theme="light"] .table-focus{background:#eaf6fc!important;color:#0d5f8d}
html[data-theme="light"] .rank-1 td{background:rgba(23,117,74,.06)}
html[data-theme="light"] .rank-danger td{background:rgba(181,67,83,.06)}

/* Forms */
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea{
  background:#fff;
  color:var(--v49-text);
  border-color:#b9d0dc;
}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder{color:#6c8696;opacity:1}
html[data-theme="light"] input:focus,
html[data-theme="light"] select:focus,
html[data-theme="light"] textarea:focus{border-color:#4a95bd;box-shadow:0 0 0 3px rgba(15,128,183,.12)}
html[data-theme="light"] .btn.secondary,
html[data-theme="light"] button.secondary{background:#edf5f8;border-color:#c5d8e2;color:#24495e}
html[data-theme="light"] .btn.warn{background:#d39b22;color:#fff}
html[data-theme="light"] .danger,
html[data-theme="light"] .btn.danger{background:#b54353!important;color:#fff}
html[data-theme="light"] .btn:disabled,
html[data-theme="light"] button:disabled{opacity:.55}

/* Chips / info boxes */
html[data-theme="light"] .pill,
html[data-theme="light"] .tag,
html[data-theme="light"] .status-chip,
html[data-theme="light"] .badge{background:#f1f7fa;border-color:#cfdee6;color:#426172}
html[data-theme="light"] .alert,
html[data-theme="light"] .empty,
html[data-theme="light"] .deadline-box,
html[data-theme="light"] .remaining-box,
html[data-theme="light"] .budget-context-line,
html[data-theme="light"] .submission-pulse,
html[data-theme="light"] .period-story,
html[data-theme="light"] .live-period,
html[data-theme="light"] .live-warning,
html[data-theme="light"] .decision-cockpit>div,
html[data-theme="light"] .pulse-grid>div,
html[data-theme="light"] .compare-middle,
html[data-theme="light"] .comparison-metrics>div,
html[data-theme="light"] .goal-card,
html[data-theme="light"] .account,
html[data-theme="light"] .kpi,
html[data-theme="light"] .metric-row>div{
  color:var(--v49-text);
  background:var(--v49-surface-2);
  border-color:var(--v49-line);
}
html[data-theme="light"] .alert{background:#f6fafc}
html[data-theme="light"] .deadline-box span{background:#fff4d8;color:var(--v49-warn)}
html[data-theme="light"] .deadline-box.expired{background:#fff5f6;border-color:#e5c0c6}
html[data-theme="light"] .deadline-box.expired span{background:#ffe2e6;color:var(--v49-bad)}
html[data-theme="light"] .app-footer{background:#f4f8fb;border-color:#d2e2ea;color:#5d7788}
html[data-theme="light"] .app-footer a{color:#3d667c}

/* =========================================================
   DUNKLES THEME – hoher Kontrast, weniger graues Verwaschen
   ========================================================= */
html[data-theme="dark"]{
  --bg:#08131c;
  --bg-deep:#071019;
  --surface:#101d28;
  --surface-2:#142331;
  --surface-3:#172937;
  --line:#29424f;
  --line-soft:#223844;
  --text:#eef7fb;
  --ink:#eef7fb;
  --muted:#b7cad4;
  --faint:#94a9b6;
  --accent:#39c3be;
  --accent-2:#1a958f;
  --gold:#efc866;
  --good:#62cf94;
  --bad:#ef8895;
  --warn:#e8c46a;
  color-scheme:dark;
  background:#08131c;
}
html[data-theme="dark"] body{
  color:var(--text);
  background:linear-gradient(160deg,#0a1620 0,#0b1823 52%,#08131c 100%);
}
html[data-theme="dark"] a{color:#84ddd8}
html[data-theme="dark"] .text-link,
html[data-theme="dark"] .parent-link,
html[data-theme="dark"] .table-wrap a,
html[data-theme="dark"] .breadcrumbs a{color:#91e4de}
html[data-theme="dark"] .text-link:hover,
html[data-theme="dark"] .parent-link:hover,
html[data-theme="dark"] .table-wrap a:hover,
html[data-theme="dark"] .breadcrumbs a:hover{color:#c7fbf8}
html[data-theme="dark"] .side{background:linear-gradient(180deg,#071a28,#061621 72%,#05111b);border-right-color:#173142}
html[data-theme="dark"] .nav-label{color:#8bb4c8}
html[data-theme="dark"] .mainnav a,
html[data-theme="dark"] .v47-nav-group>summary{color:#d6e7ef}
html[data-theme="dark"] .mainnav a:hover,
html[data-theme="dark"] .v47-nav-group>summary:hover{background:rgba(255,255,255,.08);color:#fff}
html[data-theme="dark"] .mainnav a.active{background:#155b67;border-color:#2a96a1;color:#fff}
html[data-theme="dark"] .navicon{background:rgba(255,255,255,.08);color:#d4f2f0}
html[data-theme="dark"] .mainnav a.active .navicon{background:#e7fbfa;color:#0e7b76}
html[data-theme="dark"] .v47-nav-group{border-color:rgba(255,255,255,.08);background:rgba(255,255,255,.025)}
html[data-theme="dark"] .v47-nav-group.active{border-color:#2a96a1;background:rgba(21,91,103,.26)}
html[data-theme="dark"] .v47-nav-chevron{color:#a9c8d6}
html[data-theme="dark"] .v47-subnav a{color:#c2d9e5}
html[data-theme="dark"] .v47-subnav a:hover{background:rgba(255,255,255,.08);color:#fff}
html[data-theme="dark"] .v47-subnav a.active{background:#0f2834;color:#8be6e0}
html[data-theme="dark"] .userbox{background:rgba(3,18,28,.7);border-color:rgba(255,255,255,.12)}
html[data-theme="dark"] .appbar{background:rgba(8,21,31,.96);border-color:#254150;color:#d4e4ec}
html[data-theme="dark"] .section-chip{background:#10222d;border-color:#304b59;color:#bdd0d9}
html[data-theme="dark"] .pagehead h1,
html[data-theme="dark"] .card h2,
html[data-theme="dark"] .card h3,
html[data-theme="dark"] .entity-card h3,
html[data-theme="dark"] .compare-team h3,
html[data-theme="dark"] .v46-goal-card h3,
html[data-theme="dark"] .v36-recent-list>a>b,
html[data-theme="dark"] .v46-decisive-grid b,
html[data-theme="dark"] .v46-snapshot-grid b{color:#f4fbfd}
html[data-theme="dark"] .page-kicker,
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .muted,
html[data-theme="dark"] .mini-note,
html[data-theme="dark"] label,
html[data-theme="dark"] small{color:#aebfc9}
html[data-theme="dark"] .card,
html[data-theme="dark"] .v46-goal-card,
html[data-theme="dark"] .v46-flow-step,
html[data-theme="dark"] .v46-competition-card,
html[data-theme="dark"] .v46-ko-game,
html[data-theme="dark"] .v46-decisive-grid>div,
html[data-theme="dark"] .v46-ai-style-grid article,
html[data-theme="dark"] .v46-snapshot-grid>div,
html[data-theme="dark"] .v47-live-card,
html[data-theme="dark"] .entity-card,
html[data-theme="dark"] .compact-list>a,
html[data-theme="dark"] .compact-list>div,
html[data-theme="dark"] .list-card,
html[data-theme="dark"] .list-item,
html[data-theme="dark"] .hub-action,
html[data-theme="dark"] .v36-match-card,
html[data-theme="dark"] .v36-recent-list>a,
html[data-theme="dark"] .v46-summary-goals>a,
html[data-theme="dark"] .v46-summary-comps>a,
html[data-theme="dark"] .v46-goal-mini,
html[data-theme="dark"] .v48-live-truth,
html[data-theme="dark"] .v48-feed-row{
  background:#10202b!important;
  border-color:#2c4654!important;
  color:#eef7fb!important;
  box-shadow:none;
}
html[data-theme="dark"] .feature-hero,
html[data-theme="dark"] .dashboard-hero,
html[data-theme="dark"] .intro-card,
html[data-theme="dark"] .v46-next-action,
html[data-theme="dark"] .v46-decisive-card,
html[data-theme="dark"] .v46-home-action{background:linear-gradient(135deg,#122b36,#0f2029)!important;border-color:#31505d!important}
html[data-theme="dark"] .hub-action:hover,
html[data-theme="dark"] .link-card:hover,
html[data-theme="dark"] .compact-list>a:hover,
html[data-theme="dark"] .list-card:hover,
html[data-theme="dark"] .admin-tile:hover{background:#15303d!important;border-color:#3a6171!important}
html[data-theme="dark"] .table-wrap{background:#0d1d27;border-color:#2b4451}
html[data-theme="dark"] table{color:#eef6fa}
html[data-theme="dark"] th{background:#132a35;color:#d0e0e8;border-bottom-color:#314a57}
html[data-theme="dark"] td{border-bottom-color:#243a45}
html[data-theme="dark"] tbody tr:hover td{background:#142833}
html[data-theme="dark"] .v46-my-team td,
html[data-theme="dark"] .table-focus{background:#13333a!important;color:#9ce9e3}
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea{background:#0d1f29;color:#f0f9fc;border-color:#385462}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder{color:#93aab6;opacity:1}
html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus{border-color:#57b7c0;box-shadow:0 0 0 3px rgba(57,195,190,.14)}
html[data-theme="dark"] .btn.secondary,
html[data-theme="dark"] button.secondary{background:#17303a;color:#dcebee;border-color:#40606f}
html[data-theme="dark"] .btn.warn{background:#d1a03d;color:#09141d}
html[data-theme="dark"] .danger,
html[data-theme="dark"] .btn.danger{background:#b54e5c!important;color:#fff}
html[data-theme="dark"] .pill,
html[data-theme="dark"] .tag,
html[data-theme="dark"] .status-chip,
html[data-theme="dark"] .badge{background:#12242d;border-color:#314b59;color:#d5e5ec}
html[data-theme="dark"] .alert,
html[data-theme="dark"] .empty,
html[data-theme="dark"] .deadline-box,
html[data-theme="dark"] .remaining-box,
html[data-theme="dark"] .budget-context-line,
html[data-theme="dark"] .submission-pulse,
html[data-theme="dark"] .period-story,
html[data-theme="dark"] .live-period,
html[data-theme="dark"] .live-warning,
html[data-theme="dark"] .decision-cockpit>div,
html[data-theme="dark"] .pulse-grid>div,
html[data-theme="dark"] .compare-middle,
html[data-theme="dark"] .comparison-metrics>div,
html[data-theme="dark"] .goal-card,
html[data-theme="dark"] .account,
html[data-theme="dark"] .kpi,
html[data-theme="dark"] .metric-row>div{background:#10212c;border-color:#2d4754;color:#eef7fb}
html[data-theme="dark"] .deadline-box span{background:#3a311e;color:#f0cb75}
html[data-theme="dark"] .deadline-box.expired{background:#301c22;border-color:#6c404a}
html[data-theme="dark"] .deadline-box.expired span{background:#47272f;color:#f3a1ad}
html[data-theme="dark"] .app-footer{background:#091720;border-color:#263b47;color:#a7bbc5}
html[data-theme="dark"] .app-footer a{color:#c6dbe4}

/* Utility fixes for both themes */
html[data-theme="light"] .tag-good,html[data-theme="dark"] .tag-good,html[data-theme="light"] .good,html[data-theme="dark"] .good,html[data-theme="light"] .success,html[data-theme="dark"] .success,html[data-theme="light"] .ok,html[data-theme="dark"] .ok{color:var(--good)!important}
html[data-theme="light"] .tag-bad,html[data-theme="dark"] .tag-bad,html[data-theme="light"] .bad,html[data-theme="dark"] .bad,html[data-theme="light"] .error,html[data-theme="dark"] .error{color:var(--bad)!important}
html[data-theme="light"] .tag-gold,html[data-theme="dark"] .tag-gold,html[data-theme="light"] .warn,html[data-theme="dark"] .warn,html[data-theme="light"] .notice,html[data-theme="dark"] .notice{color:var(--warn)!important}
html[data-theme="light"] .v47-record-score{color:#0d746f}
html[data-theme="dark"] .v47-record-score{color:#72ded8}
html[data-theme="light"] .v47-live-empty{background:#f5fafc;border-color:#c8dbe5;color:#607889}
html[data-theme="dark"] .v47-live-empty{background:#10202b;border-color:#36515e;color:#b1c3cc}

/* =========================================================
   V50 · SEITENWEITER DESIGN-FEINSCHLIFF
   Alte V24–V48-Module werden auf dieselbe Lesbarkeitslogik gezogen.
   ========================================================= */
:root{
  --v50-radius:16px;
  --v50-gap:16px;
  --v50-light-surface:#ffffff;
  --v50-light-soft:#f4f8fb;
  --v50-light-line:#c7d9e3;
  --v50-light-text:#17384b;
  --v50-light-muted:#5a7382;
  --v50-dark-surface:#10212c;
  --v50-dark-soft:#142733;
  --v50-dark-line:#304a57;
  --v50-dark-text:#eff8fb;
  --v50-dark-muted:#afc2cc;
}

/* Typografie und Rhythmus */
.pagehead{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.pagehead h1{max-width:980px}.card{overflow:hidden}.section-heading{align-items:flex-start}.section-heading h2{line-height:1.2}.muted,.mini-note,small{line-height:1.45}.btn,button{font-weight:800}.badge,.pill,.tag,.status-chip{font-weight:750}.team b,.match-team b,.flow-team span{line-height:1.25}.stats,.metric-row,.kpis{align-items:stretch}

/* Alle typischen Analyse-/Live-Teilflächen in eine gemeinsame visuelle Sprache bringen. */
html[data-theme="light"] :is(
  .decision-cockpit>div,.pulse-grid>div,.period-story,.submission-pulse,.live-period,
  .budget-context-line,.account-focus,.live-pace-box,.tactics-overview-grid>div,
  .recent-trend-box,.outcome-split>div,.period-compare,.matchday-flow-item,
  .compare-team,.compare-middle,.comparison-metrics>div,.band-period,.reaction-panel,
  .account-balance,.pace-summary,.v29-risk-period,.v29-risk-side,.v30-scenario-side,
  .v30-scenario-period,.v30-timeline-item,.v31-team-profile,.v31-metric-row,
  .v33-public-profile,.v33-period-meta,.v35-decision-kpis>div,.v35-period-load,
  .v36-workflow,.v46-flow-step,.v46-goal-mini,.v46-snapshot-grid>div
){background:var(--v50-light-soft)!important;border-color:var(--v50-light-line)!important;color:var(--v50-light-text)!important}
html[data-theme="light"] :is(
  .decision-cockpit,.pulse-grid,.period-story-strip,.live-periods,.tactics-overview-grid,
  .comparison-metrics,.band-compare-grid,.live-warning-grid,.matchday-flow-grid,
  .v29-risk-grid,.v30-scenario-grid,.v30-live-scenario-grid,.v31-live-metrics,
  .v35-decision-kpis,.v36-workflow-grid,.v46-season-flow
) small{color:var(--v50-light-muted)!important}
html[data-theme="light"] :is(
  .period-story,.live-period,.account-focus,.live-pace-box,.recent-trend-box,
  .outcome-split>div,.period-compare,.compare-team,.compare-middle,.comparison-metrics>div,
  .band-period,.account-balance,.pace-summary,.v29-risk-period,.v30-scenario-side,
  .v30-timeline-item,.v31-team-profile,.v31-metric-row,.v33-public-profile
) b{color:var(--v50-light-text)!important}

html[data-theme="dark"] :is(
  .decision-cockpit>div,.pulse-grid>div,.period-story,.submission-pulse,.live-period,
  .budget-context-line,.account-focus,.live-pace-box,.tactics-overview-grid>div,
  .recent-trend-box,.outcome-split>div,.period-compare,.matchday-flow-item,
  .compare-team,.compare-middle,.comparison-metrics>div,.band-period,.reaction-panel,
  .account-balance,.pace-summary,.v29-risk-period,.v29-risk-side,.v30-scenario-side,
  .v30-scenario-period,.v30-timeline-item,.v31-team-profile,.v31-metric-row,
  .v33-public-profile,.v33-period-meta,.v35-decision-kpis>div,.v35-period-load,
  .v36-workflow,.v46-flow-step,.v46-goal-mini,.v46-snapshot-grid>div
){background:var(--v50-dark-soft)!important;border-color:var(--v50-dark-line)!important;color:var(--v50-dark-text)!important}
html[data-theme="dark"] :is(
  .decision-cockpit,.pulse-grid,.period-story-strip,.live-periods,.tactics-overview-grid,
  .comparison-metrics,.band-compare-grid,.live-warning-grid,.matchday-flow-grid,
  .v29-risk-grid,.v30-scenario-grid,.v30-live-scenario-grid,.v31-live-metrics,
  .v35-decision-kpis,.v36-workflow-grid,.v46-season-flow
) small{color:var(--v50-dark-muted)!important}
html[data-theme="dark"] :is(
  .period-story,.live-period,.account-focus,.live-pace-box,.recent-trend-box,
  .outcome-split>div,.period-compare,.compare-team,.compare-middle,.comparison-metrics>div,
  .band-period,.account-balance,.pace-summary,.v29-risk-period,.v30-scenario-side,
  .v30-timeline-item,.v31-team-profile,.v31-metric-row,.v33-public-profile
) b{color:var(--v50-dark-text)!important}

/* Zustände bleiben farbig, aber Text hat ausreichenden Kontrast. */
html[data-theme="light"] .live-warning.info{background:#eef8fd!important;color:#174d68!important}
html[data-theme="light"] .live-warning.warn{background:#fff8e9!important;color:#6f4b00!important}
html[data-theme="light"] .live-warning.danger{background:#fff2f4!important;color:#7b2834!important}
html[data-theme="light"] .live-warning.ok{background:#eef9f3!important;color:#1f5f40!important}
html[data-theme="dark"] .live-warning.info{background:#102b39!important;color:#d9f2ff!important}
html[data-theme="dark"] .live-warning.warn{background:#332a17!important;color:#f6d786!important}
html[data-theme="dark"] .live-warning.danger{background:#341d24!important;color:#f2a0ac!important}
html[data-theme="dark"] .live-warning.ok{background:#143126!important;color:#9ee2bb!important}

/* Formulare und Tabellen: lesbare Zustände statt Theme-Mix. */
html[data-theme="light"] table :is(td,th),html[data-theme="light"] .card :is(p,li,label){color:var(--v50-light-text)}
html[data-theme="dark"] table :is(td,th),html[data-theme="dark"] .card :is(p,li,label){color:var(--v50-dark-text)}
html[data-theme="light"] .card .muted,html[data-theme="light"] .card small{color:var(--v50-light-muted)}
html[data-theme="dark"] .card .muted,html[data-theme="dark"] .card small{color:var(--v50-dark-muted)}
html[data-theme="light"] .table-wrap tr:nth-child(even) td{background:rgba(238,246,250,.52)}
html[data-theme="dark"] .table-wrap tr:nth-child(even) td{background:rgba(255,255,255,.018)}
html[data-theme="light"] .table-wrap tr:hover td{background:#eaf5fb!important}
html[data-theme="dark"] .table-wrap tr:hover td{background:#17313d!important}

/* V50 Spielbedeutung */
.v50-stakes-card{display:grid;gap:12px}.v50-stakes-main{display:flex;align-items:center;justify-content:space-between;gap:20px}.v50-stakes-main h2{margin:2px 0 4px}.v50-pressure{width:108px;height:108px;display:grid;place-content:center;text-align:center;border:1px solid currentColor;border-radius:50%;background:rgba(15,128,183,.06)}.v50-pressure b{font-size:34px;line-height:1}.v50-pressure span{font-size:11px;font-weight:800}.v50-tone-ok{color:var(--good)}.v50-tone-info{color:var(--accent)}.v50-tone-warn{color:var(--warn)}.v50-tone-danger{color:var(--bad)}.v50-stakes-reasons{display:flex;gap:8px;flex-wrap:wrap}.v50-stakes-reasons span,.v50-stakes-badge{display:inline-flex;align-items:center;padding:6px 9px;border:1px solid var(--line);border-radius:999px;background:var(--surface-2);font-size:11px;font-weight:750;color:var(--text)}

/* Strategie-Modi im Setzformular */
.v50-strategy-box{display:grid;gap:10px;margin:8px 0 12px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}.v50-strategy-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.v50-strategy-head b,.v50-strategy-head small{display:block}.v50-strategy-head small{margin-top:2px}.v50-pressure-mini{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-size:10px;font-weight:900}.v50-strategy-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.v50-strategy-button{display:grid;align-content:center;gap:2px;min-height:68px;padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);text-align:left}.v50-strategy-button:hover{filter:none;border-color:var(--accent);transform:translateY(-1px)}.v50-strategy-button b{font-size:11px}.v50-strategy-button span{font-size:16px;font-weight:900}.v50-strategy-button small{font-size:9px}.v50-save{border-left:4px solid var(--good)}.v50-control{border-left:4px solid var(--accent)}.v50-push{border-left:4px solid var(--warn)}.v50-risk{border-left:4px solid var(--bad)}.v50-resource-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.v50-resource-preview>div{padding:8px 9px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.v50-resource-preview small,.v50-resource-preview b{display:block}.v50-resource-preview b{margin-top:2px;font-size:14px}

/* Live-Player in beiden Themes besser eingebettet */
html[data-theme="light"] .v48-rink{border-color:#76afc8;background:linear-gradient(180deg,#fbfeff,#eaf5f8)!important}
html[data-theme="dark"] .v48-rink{border-color:#3e7c87;background:linear-gradient(180deg,#112b36,#0c1d26)!important}
html[data-theme="dark"] .v48-skater.home{border-color:#dffcf9}.v48-live-controls select{min-height:40px}

@media(max-width:900px){.v50-strategy-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.v50-resource-preview{grid-template-columns:1fr 1fr}.v50-stakes-main{align-items:flex-start}}
@media(max-width:560px){.v50-stakes-main{flex-direction:column}.v50-pressure{width:86px;height:86px}.v50-pressure b{font-size:28px}.v50-strategy-buttons,.v50-resource-preview{grid-template-columns:1fr}.card{padding:18px}.table-wrap th,.table-wrap td{padding:11px 12px}.pagehead h1{font-size:27px!important}}
.v50-key-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.v50-key-game{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:13px;background:var(--surface-2);color:var(--text);text-decoration:none}.v50-key-game:hover{border-color:var(--accent);transform:translateY(-1px)}.v50-key-game img{width:54px;height:54px;object-fit:contain}.v50-key-game small,.v50-key-game span,.v50-key-game b{display:block}.v50-key-game>strong{font-size:24px;color:var(--accent);text-align:right}.v50-key-game>strong small{font-size:9px;color:var(--muted)}
@media(max-width:900px){.v50-key-grid{grid-template-columns:1fr}}

/* =========================================================
   V50.1 · DARK MODE FINAL OVERRIDE
   Muss als letzte Designschicht stehen: ältere V33-Regeln benutzen
   teils background:#fff!important. Diese Schicht gewinnt bewusst.
   ========================================================= */
html[data-theme="dark"] :is(
  .card,.kpi,.metric-row>div,.entity-card,.hub-action,.compact-list>a,.compact-list>div,
  .list-card,.list-item,.table-wrap,.deadline-box,.remaining-box,.goal-card,.account,
  .period-history span,.series-block,.mini-card,.admin-tile,.admin-details,
  .v31-team-profile,.v31-h2h-core,.v31-metric-board,.v31-fingerprint,
  .v31-live-duel-head article,.v31-live-metrics>div,.v30-live-timeline-grid a,
  .next-game-strip a,.recent-set-strip a,.v30-dashboard-flow-grid>div,
  .v30-live-scenario-grid>div,.v30-timeline-item,.v33-period-flow article,
  .v33-h2h-summary>div,.v33-public-profile>article,.v33-profile-metrics>div,
  .side-balance>div,.account-balance,.opponent-identity,.h2h-mini,.tactics-snapshot-grid>div,
  .tactics-overview-grid>div,.recent-trend-box,.outcome-split>div,.period-compare,
  .comparison-metrics>div,.compare-team,.compare-middle,.matchday-flow-item,
  .band-period,.reaction-panel,.pace-summary,.v29-risk-period,.v29-risk-side,
  .v30-scenario-side,.v30-scenario-period,.v35-decision-kpis>div,.v35-period-load,
  .v36-workflow,.v36-match-card,.v36-recent-list>a,.v46-flow-step,.v46-goal-mini,
  .v46-snapshot-grid>div,.v46-goal-card,.v46-competition-card,.v46-ko-game,
  .v46-ai-style-grid article,.v47-live-card,.v48-live-truth,.v48-feed-row
){
  background:#10212c!important;
  color:#f2f9fc!important;
  border-color:#304b58!important;
  box-shadow:none!important;
}

/* Große / hervorgehobene Flächen */
html[data-theme="dark"] :is(
  .feature-hero,.dashboard-hero,.intro-card,.v46-next-action,.v46-decisive-card,
  .v46-home-action,.block-pulse,.submission-pulse,.budget-context-line,.account-focus,
  .live-pace-box
){
  background:linear-gradient(135deg,#132b36,#0f202a)!important;
  color:#f2f9fc!important;
  border-color:#355361!important;
}

/* Text in dunklen Boxen niemals auf alten Light-Farben lassen. */
html[data-theme="dark"] :is(
  .card,.kpi,.metric-row>div,.account,.goal-card,.table-wrap,.v46-competition-card,
  .v46-goal-card,.v46-flow-step,.v46-goal-mini,.v36-match-card,.v47-live-card,
  .v48-live-truth,.v48-feed-row
) :is(h1,h2,h3,h4,b,strong,p,span,label,td){color:#f2f9fc}
html[data-theme="dark"] :is(
  .card,.kpi,.metric-row>div,.account,.goal-card,.table-wrap,.v46-competition-card,
  .v46-goal-card,.v46-flow-step,.v46-goal-mini,.v36-match-card,.v47-live-card,
  .v48-live-truth,.v48-feed-row
) :is(small,.muted,.mini-note){color:#b8cad3!important}

/* Zahlen sind zentrale Spielinformation: bewusst deutlich heller. */
html[data-theme="dark"] :is(
  .kpi b,.metric-row b,.account b,.goal-card b,.record-value,.remaining,
  .live-score,.live-total,.score,.series-score b,.decision-cockpit b,.pulse-grid b,
  .period-story b,.live-period b,.v46-snapshot-grid b,.v46-decisive-grid b
){color:#ffffff!important;text-shadow:0 1px 0 rgba(0,0,0,.18)}
html[data-theme="dark"] .account-active b,
html[data-theme="dark"] .remaining,
html[data-theme="dark"] .live-score,
html[data-theme="dark"] .live-total{color:#7de8e1!important}

/* Tabellen / Saisonkalender */
html[data-theme="dark"] .table-wrap{background:#0d1c26!important;border-color:#35505e!important}
html[data-theme="dark"] table{background:#0d1c26!important;color:#f1f8fb!important}
html[data-theme="dark"] th{background:#18303b!important;color:#e4f0f5!important;border-bottom-color:#3a5664!important}
html[data-theme="dark"] td{background:#0f202b!important;color:#eef7fa!important;border-bottom-color:#2a414e!important}
html[data-theme="dark"] tbody tr:nth-child(even) td{background:#122631!important}
html[data-theme="dark"] tbody tr:hover td{background:#193540!important}
html[data-theme="dark"] .table-wrap a{color:#8ce4de!important}
html[data-theme="dark"] .team span{color:#f2f9fc!important}

/* Wettbewerbe: kein Überlappen, auf Desktop bewusst maximal zwei Karten pro Zeile. */
.v46-competition-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch}
.v46-competition-card{grid-template-columns:54px minmax(0,1fr)!important;min-width:0;overflow:hidden;align-items:start}
.v46-competition-card>div{min-width:0}
.v46-competition-card h3,.v46-competition-card p,.v46-competition-card small,.v46-competition-card b{overflow-wrap:anywhere;word-break:normal}
html[data-theme="dark"] .v46-competition-card small,
html[data-theme="dark"] .v46-competition-card p{color:#b8cad3!important}
html[data-theme="dark"] .v46-competition-card b{color:#83e1dc!important}
html[data-theme="dark"] .competition-badge{background:#173541!important;border-color:#3d6470!important;color:#e7f8fb!important}

/* Ergebnisse: Heim/Auswärts zuerst, dann Drittel und Endstand. */
.v501-results-table{min-width:1040px!important}
.v501-results-table th:nth-child(1),.v501-results-table td:nth-child(1){width:64px;text-align:center}
.v501-results-table th:nth-child(2),.v501-results-table td:nth-child(2),
.v501-results-table th:nth-child(3),.v501-results-table td:nth-child(3){min-width:220px}
.v501-results-table th:nth-child(n+4):nth-child(-n+7),
.v501-results-table td:nth-child(n+4):nth-child(-n+7){min-width:86px;text-align:center;white-space:nowrap}
.v501-results-table th:last-child,.v501-results-table td:last-child{width:110px;text-align:center}
.v501-results-table .team{min-width:0}.v501-results-table .team span{white-space:normal;line-height:1.2}

@media(max-width:980px){.v46-competition-grid{grid-template-columns:1fr!important}}

/* V50.1 · zusätzliche Legacy-Flächen, die in älteren Modulen #fff tragen. */
html[data-theme="dark"] :is(
  .side-link,.v28-reach-periods>div,.v28-rest-schedule>a,.v30-scenario-options>div,
  .v34-feature-list em,.v34-story-strip span,.v35-contingent-grid>article,
  .v35-context-grid>article,.v35-workflow-grid a,.v36-workflow-grid a,
  .v36-detail-actions a,.v46-decisive-grid>div,.v35-finder-controls input
){
  background:#11232e!important;
  color:#eef7fa!important;
  border-color:#304b58!important;
  box-shadow:none!important;
}
html[data-theme="dark"] :is(
  .side-link,.v28-reach-periods>div,.v28-rest-schedule>a,.v30-scenario-options>div,
  .v34-feature-list em,.v34-story-strip span,.v35-contingent-grid>article,
  .v35-context-grid>article,.v35-workflow-grid a,.v36-workflow-grid a,
  .v36-detail-actions a,.v46-decisive-grid>div
) :is(b,strong,h3,span){color:#eef7fa!important}
html[data-theme="dark"] :is(
  .side-link,.v28-reach-periods>div,.v28-rest-schedule>a,.v30-scenario-options>div,
  .v34-feature-list em,.v34-story-strip span,.v35-contingent-grid>article,
  .v35-context-grid>article,.v35-workflow-grid a,.v36-workflow-grid a,
  .v36-detail-actions a,.v46-decisive-grid>div
) :is(small,.muted){color:#b5c8d1!important}

/* Farbige Zustände bleiben erkennbar, aber nicht weiß. */
html[data-theme="dark"] .submission-pulse.pressure,
html[data-theme="dark"] .pace-summary.pace-high,
html[data-theme="dark"] .account-balance.pace-high,
html[data-theme="dark"] .live-warning.warn,
html[data-theme="dark"] .v29-risk-period.warn,
html[data-theme="dark"] .v29-dashboard-risk-grid>div.warn,
html[data-theme="dark"] .v46-goal-card.state-at_risk{
  background:#342b18!important;border-color:#6f5b2d!important;color:#f2d78a!important
}
html[data-theme="dark"] .period-story.bad,
html[data-theme="dark"] .live-warning.danger,
html[data-theme="dark"] .v29-risk-period.danger,
html[data-theme="dark"] .v29-dashboard-risk-grid>div.danger,
html[data-theme="dark"] .v46-goal-card.state-missed,
html[data-theme="dark"] .v46-goal-card.state-danger,
html[data-theme="dark"] .danger-zone{
  background:#351d24!important;border-color:#74414c!important;color:#f4a5b0!important
}
html[data-theme="dark"] .notice{background:#302818!important;border-color:#67572d!important;color:#f0d080!important}


/* =========================================================
   V50.2 · DARK-MODE-REGRESSION + ERGEBNISTABELLE
   ========================================================= */
.v502-results-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.v502-results-table{min-width:860px;table-layout:auto}
.v502-results-table th,.v502-results-table td{vertical-align:middle}
.v502-results-table td:nth-child(1),.v502-results-table td:nth-child(2){min-width:230px}
.v502-results-table td:nth-child(3),.v502-results-table td:nth-child(4),.v502-results-table td:nth-child(5){width:72px;text-align:center;font-variant-numeric:tabular-nums}
.v502-results-table td:nth-child(6){width:112px;text-align:center}
.v502-results-table td:nth-child(7){width:104px;text-align:right}
.v502-result-groups th{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;text-align:center;border-bottom-width:2px}
.v502-result-groups th:first-child{text-align:left}
.v502-result-meta,.v502-result-submeta{display:block;width:max-content;max-width:100%;margin:0 0 5px;padding:3px 7px;border-radius:999px;font-size:.7rem;line-height:1.2;font-weight:850;letter-spacing:.03em;white-space:nowrap}
.v502-result-submeta{margin-top:-2px;font-weight:700}
.v502-period{font-weight:750}
.v502-final b{display:block;font-size:1.12rem;line-height:1.05;font-variant-numeric:tabular-nums}
.v502-final small{display:block;margin-top:4px;font-size:.68rem;font-weight:850;letter-spacing:.04em}
.v502-national-name{display:block;font-weight:800;line-height:1.3}
html[data-theme="light"] .v502-result-groups th{background:#dcebf2;color:#36596c}
html[data-theme="light"] .v502-result-meta{background:#eaf5f8;border:1px solid #c7dce5;color:#326070}
html[data-theme="light"] .v502-result-submeta{background:#f4f8fa;color:#617985}
html[data-theme="dark"] .v502-result-groups th{background:#0d222d;color:#9fc1cf;border-bottom-color:#3b5967}
html[data-theme="dark"] .v502-result-meta{background:#15333c;border:1px solid #315761;color:#98e6e0}
html[data-theme="dark"] .v502-result-submeta{background:#132832;border-color:#2b4653;color:#b8cad3}
html[data-theme="dark"] .v502-final b{color:#fff}

/* Finale Schutzschicht gegen helle Legacy-Flächen im Dark Mode. Die Selektoren
   sind absichtlich am Dateiende und mit !important gesetzt, damit alte Module
   keine weißen Karten/Formulare/Tabellen zurückholen. */
html[data-theme="dark"] :is(.card,.kpi,.account,.goal-card,.metric-row>div,.admin-tile,.link-card,.list-card,.list-item,.compact-list>a,.compact-list>div,.hub-action,.alert,.empty,.deadline-box,.remaining-box,.submission-pulse,.period-story,.live-period,.live-warning,.budget-context-line,.decision-cockpit>div,.pulse-grid>div,.comparison-metrics>div){background-color:#10212c!important;color:#eef7fb!important;border-color:#2d4754!important}
html[data-theme="dark"] :is(input,select,textarea,option){background-color:#0d1f29!important;color:#f0f9fc!important;border-color:#385462!important}
html[data-theme="dark"] :is(.table-wrap,table,thead,tbody,tfoot,tr,td){color:#eef6fa}
html[data-theme="dark"] .table-wrap{background-color:#0d1d27!important}
html[data-theme="dark"] th{background-color:#132a35!important;color:#d8e8ef!important}
html[data-theme="dark"] td{background-color:transparent;color:#eef6fa}
html[data-theme="dark"] code{background:#0b1922;color:#bde9e5;border-color:#304a57}

/* Admin-Designcheck */
.v502-check-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.v502-check-group{border:1px solid var(--line);border-radius:14px;padding:14px;background:var(--surface-2)}
.v502-check-group h3{margin:0 0 10px}.v502-check-list{display:grid;gap:8px}
.v502-check-item{display:grid;grid-template-columns:minmax(160px,.8fr) 1fr auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid var(--line-soft);border-radius:10px;text-decoration:none}
.v502-check-item small{margin:0}.v502-check-status{font-size:.72rem;font-weight:850;white-space:nowrap}
.v502-audit-ok{color:var(--good)}.v502-audit-warn{color:var(--warn)}.v502-audit-bad{color:var(--bad)}
@media(max-width:900px){.v502-check-groups{grid-template-columns:1fr}.v502-check-item{grid-template-columns:1fr auto}.v502-check-item small{grid-column:1/-1}.v502-results-table{min-width:820px}}

/* =========================================================
   V50.3 · FULL-SURFACE MOD
   Globaler Feinschliff für jede gerenderte Seite und jede
   Standard-UI-Zeile. Keine Spiel- oder Engine-Logik.
   ========================================================= */
:root{
  --v503-surface-glass:rgba(255,255,255,.72);
  --v503-line-strong:#b7d0d0;
  --v503-row-hover:#e9f5f4;
  --v503-focus:0 0 0 3px rgba(16,159,152,.18);
}
html[data-theme="dark"]{
  --v503-surface-glass:rgba(13,29,35,.84);
  --v503-line-strong:#3b5963;
  --v503-row-hover:#173039;
  --v503-focus:0 0 0 3px rgba(43,226,212,.18);
}

/* Typografie und Rhythmus – überall identisch */
.etd-app{min-width:320px;font-feature-settings:"tnum" 1,"cv02" 1,"cv03" 1;text-rendering:optimizeLegibility}
.etd-app :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,blockquote,pre,figure){max-width:100%}
.etd-app :where(h1,h2,h3,h4,h5,h6){text-wrap:balance}
.etd-app :where(p,li,dd,td,th,label,small,span,a){overflow-wrap:anywhere}
.etd-app :where(p){margin-top:.45rem;margin-bottom:.75rem}
.etd-app :where(hr){height:1px;border:0;background:var(--line-soft);margin:18px 0}
.etd-app :where(code,kbd,samp){padding:.15em .38em;border:1px solid var(--line);border-radius:6px;background:var(--surface-2);font-size:.9em}
.etd-app :where(pre){overflow:auto;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}
.etd-app :where(blockquote){margin:14px 0;padding:10px 14px;border-left:3px solid var(--accent);background:var(--surface-2);border-radius:0 10px 10px 0}

/* Jede Inhaltsfläche bekommt eine konsistente visuelle Hierarchie */
.main> :where(.grid,.card,.table-wrap,form,.alert,.notice,.empty)+:where(.grid,.card,.table-wrap,form,.alert,.notice,.empty){margin-top:14px}
.card,.entity-card,.kpi,.metric-row>div,.hub-action,.list-card,.list-item,.compact-list>a,.compact-list>div,
.admin-tile,.admin-details,.goal-card,.account,.deadline-box,.remaining-box,.series-block,.mini-card{
  transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.card{position:relative;overflow:clip}
.card::before{content:"";position:absolute;inset:0 auto 0 0;width:2px;background:linear-gradient(180deg,transparent,rgba(16,159,152,.28),transparent);opacity:.55;pointer-events:none}
.card:hover{box-shadow:0 12px 30px rgba(26,76,79,.08)}
html[data-theme="dark"] .card:hover{box-shadow:0 12px 30px rgba(0,0,0,.18)}

/* Überschriften, Infotexte und Beschriftungen */
.pagehead{padding-bottom:13px;border-bottom:1px solid var(--line-soft)}
.pagehead h1{font-weight:900;letter-spacing:-.035em}
.section-heading{padding-bottom:8px;border-bottom:1px solid var(--line-soft)}
.section-heading:last-child{border-bottom:0}
.card>h2:first-child,.card>.section-heading:first-child h2{letter-spacing:-.018em}
.muted,.mini-note,.story-lead,.lead{line-height:1.55}
.bad,.good,.warn,.notice,.alert{border-radius:10px}
.bad,.good,.warn{font-weight:750}

/* Links und Aktionen */
.etd-app :where(a:not(.btn):not(.brand):not(.hub-action):not(.link-card):not(.team-link)){text-underline-offset:3px;text-decoration-thickness:1px}
.etd-app :where(.btn,button,.button){gap:7px;white-space:normal;text-align:center;line-height:1.15}
.etd-app :where(.btn,button,.button):active{transform:translateY(1px)}
.etd-app :where(.btn.secondary){background:var(--surface-2);border:1px solid var(--line);box-shadow:none}
.etd-app :where(.btn.secondary):hover{border-color:var(--accent)}
.etd-app :where(.btn.danger,.danger){border-color:rgba(184,68,83,.5)}

/* Formulare – alle Standardzustände */
.etd-app form{min-width:0}
.etd-app :where(label){display:block;color:var(--muted);font-size:12px;font-weight:750;line-height:1.35}
.etd-app :where(input,select,textarea){width:100%;max-width:100%;min-height:40px;margin-top:5px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);outline:0;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}
.etd-app textarea{min-height:112px;resize:vertical}
.etd-app :where(input,select,textarea):hover{border-color:var(--v503-line-strong)}
.etd-app :where(input,select,textarea):focus{border-color:var(--accent);box-shadow:var(--v503-focus)}
.etd-app :where(input,select,textarea):disabled{opacity:.58;cursor:not-allowed}
.etd-app :where(input[type="checkbox"],input[type="radio"]){width:auto;min-height:auto;margin:0 .35rem 0 0;accent-color:var(--accent)}
.etd-app :where(input[type="color"]){padding:3px;min-height:38px}
.etd-app :where(fieldset){min-width:0;margin:12px 0;padding:13px;border:1px solid var(--line);border-radius:11px;background:var(--surface-2)}
.etd-app :where(legend){padding:0 7px;color:var(--muted);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.etd-app :where(option){background:var(--surface);color:var(--text)}

/* Tabellen – jede Zeile, jede Zelle */
.table-wrap{width:100%;overflow:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
table{width:100%;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
th,td{padding:10px 11px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--line-soft);line-height:1.35}
th{position:relative;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.055em;white-space:nowrap}
tbody tr:last-child td{border-bottom:0}
tbody tr{transition:background-color .12s ease}
tbody tr:hover td{background:var(--v503-row-hover)}
td :where(.btn,button){min-height:32px;padding:6px 9px;font-size:11px}
td .team{min-width:0}
td .team span{white-space:normal}
.table-wrap>table:first-child{margin:0}

/* Listen, Details, Navigation und Statuszeilen */
.etd-app :where(details){border-radius:10px}
.etd-app :where(details>summary){cursor:pointer;user-select:none}
.etd-app :where(.compact-list>a,.compact-list>div,.list-card,.list-item){line-height:1.4}
.etd-app :where(.compact-list>a,.list-card,.list-item,.hub-action):hover{transform:translateY(-1px)}
.badge,.section-chip,.v502-result-meta,.v502-result-submeta{font-variant-numeric:tabular-nums}

/* Bilder/Logos werden niemals gequetscht */
.etd-app img{max-width:100%}
.etd-app :where(.team img,.hero-logo,.hero-teamline img,.entity-head img,.top-team-chip img,.avatar-dot img){object-fit:contain}

/* Shell / Navigation */
.side{overflow-y:auto;scrollbar-width:thin}
.mainnav,.v47-subnav{min-width:0}
.v47-nav-group summary,.v47-subnav a{min-width:0}
.v47-nav-group summary>span:nth-child(2),.v47-subnav a>span:last-child{min-width:0;overflow-wrap:anywhere}
.appbar{gap:12px}
.breadcrumbs{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.top-team-chip{min-width:0}
.top-team-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Login ist jetzt ebenfalls Teil des vollen Themes */
.page-login{background:radial-gradient(circle at 20% 10%,rgba(16,159,152,.13),transparent 34%),var(--bg)}
.login-page{min-height:100vh;display:grid;place-items:center;padding:24px}
.login-card{width:min(440px,100%);padding:28px}
.login-card .brand{margin:0 0 26px}
.login-card form p{margin:0 0 14px}
.login-card form button{width:100%;margin-top:3px}
.login-card>.btn,.login-card>p>.btn{width:100%}

/* Dark Mode: finale universelle Abdeckung, unabhängig von Modulalter */
html[data-theme="dark"] body{background:radial-gradient(circle at 86% -5%,rgba(43,226,212,.055),transparent 30%),linear-gradient(180deg,#071113,#091618 48%,#071113 100%)!important;color:#eef7fa}
html[data-theme="dark"] :where(.main,.workspace){color:#eef7fa}
html[data-theme="dark"] :where(.card,.entity-card,.kpi,.metric-row>div,.hub-action,.list-card,.list-item,.compact-list>a,.compact-list>div,.admin-tile,.admin-details,.goal-card,.account,.deadline-box,.remaining-box,.series-block,.mini-card,fieldset){background-color:#10212c!important;color:#eef7fb!important;border-color:#2d4754!important}
html[data-theme="dark"] :where(.muted,.mini-note,.story-lead,.lead,label){color:#b6c8d0!important}
html[data-theme="dark"] :where(input,select,textarea,option){background:#0b1c25!important;color:#f2fafc!important;border-color:#35515d!important}
html[data-theme="dark"] :where(input,select,textarea)::placeholder{color:#78919c!important}
html[data-theme="dark"] :where(pre,code,kbd,samp,blockquote){background:#0b1b23!important;color:#dcecef!important;border-color:#304a55!important}
html[data-theme="dark"] :where(.btn.secondary){background:#152b34!important;color:#e9f6f8!important;border-color:#36545f!important}
html[data-theme="dark"] :where(.table-wrap){background:#0d1d27!important;border-color:#314b57!important}
html[data-theme="dark"] table{background:transparent!important}
html[data-theme="dark"] th{background:#132a35!important;color:#d9ebef!important}
html[data-theme="dark"] td{color:#edf7f9!important;border-bottom-color:#263e49!important}
html[data-theme="dark"] tbody tr:nth-child(even) td{background:#10242d!important}
html[data-theme="dark"] tbody tr:hover td{background:#17313a!important}
html[data-theme="dark"] :where(.pagehead,.section-heading,hr){border-color:#29434e!important}
html[data-theme="dark"] .card::before{background:linear-gradient(180deg,transparent,rgba(43,226,212,.38),transparent)}

/* Responsive – nichts zusammenquetschen */
@media(max-width:1100px){
  .main{padding-left:20px;padding-right:20px}
  .span3,.span4{grid-column:span 6}
}
@media(max-width:820px){
  .shell{display:block}.side{position:relative;width:100%;height:auto;flex:none;border-right:0;border-bottom:1px solid var(--line);padding:12px}.brand{margin:0 0 12px}.userbox{position:relative;left:auto;right:auto;bottom:auto;margin-top:12px}.appbar{position:sticky;padding:0 14px}.appbar-right .section-chip,.appbar-right .system-state{display:none}.main{padding:18px 14px 34px}.span3,.span4,.span5,.span6,.span7,.span8{grid-column:span 12}.card{padding:15px}.pagehead h1{font-size:24px}.v47-mainnav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.v47-nav-group{min-width:0}.table-wrap{border-radius:10px}th,td{padding:9px 10px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .v47-mainnav{grid-template-columns:1fr}.appbar-right{display:none}.appbar{height:44px}.main{padding:15px 10px 28px}.card{padding:13px;border-radius:11px}.grid{gap:10px}.kpis,.metric-row{grid-template-columns:1fr}.pagehead h1{font-size:22px}.btn,button,.button{max-width:100%}.login-page{padding:12px}.login-card{padding:20px}.v502-results-table{min-width:760px}
}

/* =========================================================
   V50.4 · QUALITY RELEASE
   Account-Lifecycle, Wartung, Feature-Audit, Ergebnis-Konsistenz
   ========================================================= */
.logout-form{margin:0}.logout-form .logout-link{width:100%;margin:0;padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:11px;font-weight:750;cursor:pointer}.logout-form .logout-link:hover{border-color:var(--accent);color:var(--text)}
.no-team-state{text-align:center;padding:32px 24px}.no-team-state .empty-icon{font-size:42px;margin-bottom:8px}.no-team-state .hub-actions{margin-top:20px;text-align:left}
.audit-detail{display:block;margin-top:4px;color:var(--muted);font-weight:500;line-height:1.4}
.maintenance-users{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 16px}.maintenance-users label{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);cursor:pointer}.maintenance-users label input{flex:0 0 auto;margin-top:3px}.maintenance-users label span{min-width:0}.maintenance-users label b,.maintenance-users label small{display:block}.maintenance-users label small{margin-top:2px;color:var(--muted);font-weight:500}.maintenance-users label:has(input:checked){border-color:var(--accent)}
.toggle-row{display:flex!important;align-items:center;gap:8px;padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);margin-bottom:14px}.toggle-row input{flex:0 0 auto;margin:0!important}
.auth-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.compact-results{min-width:760px}.compact-results .v502-result-meta{margin-bottom:5px}.v502-final small{display:block;margin-top:2px;color:var(--muted);font-size:10px;font-weight:750}.v502-period,.v502-final{text-align:center;white-space:nowrap}
html[data-theme="dark"] .logout-form .logout-link{background:#0b1c25;color:#b9cbd2;border-color:#35515d}
html[data-theme="dark"] .maintenance-users label,html[data-theme="dark"] .toggle-row{background:#0b1c25!important;border-color:#35515d!important}
@media(max-width:700px){.maintenance-users{grid-template-columns:1fr}.compact-results{min-width:720px}}
