/* ============================================================
   daddeln.fun — Tippspiel-Komponenten nach Hub-Muster (26.10.1, Audit)
   Letztes Stylesheet im <head> aller Tippspiel-Seiten.

   Zweck: das bestehende Daddeln-Design (Hub: assets/css/landing.css +
   tokens.css) konsequent im Tippspiel anwenden. Keine neue Designsprache –
   jede Farbe, jeder Radius und jede Groesse kommt aus tokens.css.

   Warum `html:root body :is(...)` und !important?
   Die aelteren Schichten (entwicklung_theme, liquid_glass, competition_ambient)
   setzen dieselben Eigenschaften mit !important und Selektoren bis (0,3,1).
   Der Praefix hebt diese Datei auf (0,3,2) und macht sie ohne weitere
   Kaskaden-Tricks zur letzten Instanz. Beim spaeteren Konsolidieren der
   Schichten (Audit A-11) koennen die !important hier entfallen.
   ============================================================ */

/* ── 1. Basis ─────────────────────────────────────────────── */
html:root body{color:var(--text)}
html:root body :is(button,input,select,textarea){font:inherit}
html:root body :is(button,input,select,textarea){font-family:var(--font-b)}
.nowrap{white-space:nowrap}

/* ── 2. Fokus (Hub: 3px #a5b4fc, Abstand 3px) ─────────────── */
html:root body :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:3px solid var(--focus-ring)!important;outline-offset:3px!important;box-shadow:none}
html:root body :is(.tip-in,.form-control,input,select,textarea):focus-visible{
  outline:3px solid var(--focus-ring)!important;outline-offset:2px!important;border-color:var(--border-focus)!important}

/* ── 3. Eingabefelder (Feldgrenze >= 3:1) ──────────────────── */
html:root body :is(.form-control,.tip-in,.public-search-form input,.search-hero input,.group-form input,.group-form select,.group-form textarea){
  border:1px solid var(--input-border)!important;background-color:var(--bg-input)!important;color:var(--text)!important}
html:root body :is(.form-control,.tip-in)::placeholder{color:var(--muted2)}
html:root[data-theme="light"] body :is(.form-control,.tip-in,.public-search-form input,.search-hero input){
  border-color:#94a3b8!important;background-color:#fff!important;color:#0f172a!important}

/* ── 4. Buttons (Hub .button-primary / .button-secondary) ─── */
html:root body :is(.btn-primary,.login-main-cta,.login-hero-cta.is-primary,.landing-primary.is-main,.daddeln-global-auth.primary,.public-search-form:not(.is-compact) button[type="submit"]){
  background:var(--grad-primary)!important;color:#fff!important;border:1px solid transparent!important;
  border-radius:var(--btn-radius)!important;font-family:var(--font-b)!important;font-weight:800!important;
  text-decoration:none!important;box-shadow:0 12px 28px rgba(67,56,202,.28)!important;filter:none}
html:root body :is(.btn-primary,.login-main-cta,.login-hero-cta.is-primary,.landing-primary.is-main):hover{
  filter:brightness(1.08)!important;transform:translateY(-2px)}
html:root body :is(.login-main-cta,.login-hero-cta,.league-auth-card .btn,.league-final-actions .btn,.league-why-card .btn){
  min-height:var(--btn-h)!important;border-radius:var(--btn-radius)!important;font-size:var(--fs-sm)!important}
html:root body :is(.btn-ghost,.btn-secondary,.login-hero-cta.is-secondary,.login-register-callout a){
  background:rgba(255,255,255,.025)!important;color:var(--text)!important;
  border:1px solid rgba(148,163,184,.28)!important;border-radius:var(--btn-radius)!important;
  font-family:var(--font-b)!important;font-weight:800!important;box-shadow:none!important;text-decoration:none!important}
html:root body :is(.btn-ghost,.btn-secondary,.login-hero-cta.is-secondary,.login-register-callout a):hover{
  border-color:var(--primary-dark)!important;background:rgba(99,102,241,.08)!important}
html:root[data-theme="light"] body :is(.btn-ghost,.btn-secondary,.login-hero-cta.is-secondary,.login-register-callout a){
  background:#fff!important;color:#1e293b!important;border-color:rgba(15,23,42,.18)!important}
html:root body .btn-sm{min-height:var(--btn-h-sm);border-radius:var(--btn-radius-sm)!important}
html:root body .twitch-login-btn{min-height:var(--btn-h)!important;border-radius:var(--btn-radius)!important;font-family:var(--font-b)!important;font-weight:800!important}
html:root body .btn-danger,html:root body .tip-reset-all{
  color:var(--danger)!important;border:1px solid rgba(248,113,113,.4)!important;background:rgba(248,113,113,.06)!important;box-shadow:none!important}
/* Disabled – ein Muster ueberall */
html:root body :is(button,.btn,input,select,textarea):disabled,
html:root body :is(.btn,a)[aria-disabled="true"]{opacity:.55!important;cursor:not-allowed!important;filter:none!important;transform:none!important;box-shadow:none!important}

/* ── 5. Kopfzeile nach Hub-Muster ─────────────────────────── */
/* Kopfzeile etwas breiter als der Inhalt (1520 statt 1180 px): das Tippspiel-Menü hat mehr Punkte als der Hub */
html:root body .daddeln-global-topbar-inner{width:min(1520px,100% - 40px);max-width:none;margin-inline:auto}
html:root body .daddeln-global-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none!important}
.daddeln-brand-tile{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:11px;
  background:linear-gradient(145deg,#6366f1,#ec4899);color:#fff;flex:0 0 auto} /* exakt die Hub-Kachel und das Tab-Icon */
.daddeln-brand-tile svg{width:22px;height:22px}
.daddeln-brand-text{display:grid;line-height:1.05}
.daddeln-brand-text b{font-size:16px;font-weight:800;color:var(--text-light)}
.daddeln-brand-text small{font-size:10px;font-weight:900;letter-spacing:.16em;color:#a5b4fc}
html:root body .daddeln-global-nav-link{font-size:13px!important;font-weight:750!important;color:var(--text-dim)!important;border-radius:11px!important}
html:root body .daddeln-global-nav-link.active{color:#fff!important;background:rgba(99,102,241,.16)!important;border-color:rgba(165,180,252,.35)!important}
html:root body .daddeln-global-auth{border-radius:12px!important;min-height:38px;font-family:var(--font-b)!important}
.daddeln-nav-lock{font-size:.72em;opacity:.75;margin-left:2px}
.daddeln-global-menu-toggle{display:none}
html:root body .daddeln-public-tools-inner{width:min(var(--shell),100% - 40px);max-width:none;margin-inline:auto}
/* Menü in einer Zeile: kein Scrollen, kein Maskenverlauf; Innenabstand, damit der Hover-Effekt nicht abgeschnitten wird */
html:root body .daddeln-global-nav{flex:1 1 auto;min-width:0;overflow:hidden!important;padding-block:4px!important;-webkit-mask-image:none!important;mask-image:none!important;scrollbar-width:none}
html:root body .daddeln-global-nav-link{flex:0 0 auto;white-space:nowrap}

/* Passt das Menü nicht mehr in die Zeile, klappt es zur „Menü“-Schaltfläche ein (per Messung, siehe global_topbar) */
html:root body .daddeln-global-topbar.nav-collapsed .daddeln-global-topbar-inner{flex-wrap:wrap;row-gap:8px}
html:root body .daddeln-global-topbar.nav-collapsed .daddeln-global-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:var(--touch-min);min-height:40px;
  padding:0 12px;border:1px solid rgba(148,163,184,.28);border-radius:12px;background:rgba(255,255,255,.03);color:var(--text);font-weight:800;order:3}
html:root body .daddeln-global-topbar.nav-collapsed .daddeln-global-nav{display:none!important;order:10;flex:1 0 100%;flex-direction:row;flex-wrap:wrap;gap:6px;padding:6px 0 10px!important;overflow:visible!important;max-width:none!important}
html:root body .daddeln-global-topbar.nav-collapsed.is-menu-open .daddeln-global-nav{display:flex!important}
html:root[data-theme="light"] body .daddeln-global-topbar.nav-collapsed .daddeln-global-menu-toggle{color:#1e293b;border-color:rgba(15,23,42,.18);background:#fff}
@media (max-width:820px){
  /* Zeile 1: Marke · Design · Menü — Zeile 2: Anmelden/Registrieren bzw. Konto-Symbole */
  html:root body .daddeln-global-brand{order:1}
  html:root body .daddeln-global-spacer{order:2;flex:1 1 auto}
  html:root body #themeToggleBtn{order:3}
  html:root body .daddeln-global-menu-toggle{order:4}
  html:root body .daddeln-global-auth{order:6;flex:1 1 40%}
  html:root body .daddeln-brand-text b{display:block!important;font-size:15px!important;position:static!important;clip:auto!important;clip-path:none!important;width:auto!important;height:auto!important;overflow:visible!important;margin:0!important}
  html:root body .daddeln-brand-text{display:grid!important}
  html:root body .daddeln-public-tools .public-search-form{display:none!important}
}
@media (max-width:820px){
  html:root body .daddeln-global-topbar-inner{width:calc(100% - 28px);flex-wrap:wrap;row-gap:8px}
  html:root body .daddeln-global-nav{flex-direction:column!important;align-items:stretch}
  .daddeln-global-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:var(--touch-min);min-height:var(--touch-min);
    padding:0 12px;border:1px solid rgba(148,163,184,.28);border-radius:12px;background:rgba(255,255,255,.03);color:var(--text);font-weight:800;order:3}
  html:root body .daddeln-global-nav{display:none!important;order:10;flex:1 0 100%;flex-direction:column;align-items:stretch;gap:4px;padding:6px 0 10px;overflow:visible!important;mask-image:none!important;-webkit-mask-image:none!important}
  html:root body .daddeln-global-topbar.is-menu-open .daddeln-global-nav{display:flex!important}
  html:root body .daddeln-global-nav-link{min-height:var(--touch-min);display:flex!important;align-items:center;padding:0 14px!important}
  .daddeln-brand-text{display:grid!important}
  html:root body .daddeln-global-brand b{display:block!important}
  html:root body :is(.daddeln-global-auth,.daddeln-global-icon){min-height:var(--touch-min)!important;min-width:var(--touch-min)}
  html:root body .daddeln-public-tools-inner{width:calc(100% - 28px)}
  html:root body .league-switcher{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
  html:root body :is(.league-switcher a,.league-jump-links a){min-height:var(--touch-min);display:inline-flex!important;align-items:center}
}

/* ── 6. Container (Hub --shell) ───────────────────────────── */
html:root body :is(.login-landing-shell,.league-shell,.team-shell,.search-shell,.guide-shell){width:min(var(--shell),100% - 40px)!important;max-width:none!important;margin-inline:auto!important}
@media (max-width:820px){html:root body :is(.login-landing-shell,.league-shell,.team-shell,.search-shell,.guide-shell){width:calc(100% - 28px)!important}}

/* ── 7. Typografie (Hub-Skala) ────────────────────────────── */
html:root body .login-hero-copy h1{font-size:var(--fs-h1)!important;letter-spacing:-.05em!important;line-height:.95!important}
html:root body :is(.league-hero h1,.team-hero h1,.search-hero h1,.guide-hero h1){font-size:clamp(36px,5vw,68px)!important;letter-spacing:-.045em!important;line-height:1!important}
html:root body :is(.login-competition-card p,.league-related-grid p,.landing-card small,.login-feature-strip p){color:var(--muted)!important;font-size:var(--fs-sm)!important;line-height:1.55}
html:root body :is(.login-competition-card small,.league-kicker,.league-section-kicker,.login-section-heading>span,.login-card-kicker){font-size:var(--fs-xs)!important;font-weight:900!important;letter-spacing:.14em!important}

/* ── 8. Karten (Hub: 1px-Rahmen, grosse Radien, Hover-Lift) ── */
html:root body :is(.card,.login-landing-card,.league-hero,.login-match-preview,.team-hero,.search-hero,.guide-hero,.league-auth-card){
  border:1px solid rgba(148,163,184,.18)!important;border-radius:var(--radius-lg)!important}
html:root body .login-competition-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
@media (max-width:1100px){html:root body .login-competition-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:640px){html:root body .login-competition-grid{grid-template-columns:minmax(0,1fr)!important}}
html:root body :is(.login-competition-card,.league-related-grid>a,.landing-card){
  background:linear-gradient(180deg,rgba(30,41,59,.92),rgba(22,32,50,.96))!important;
  border:1px solid rgba(148,163,184,.18)!important;border-radius:20px!important;color:var(--text)!important;
  transition:transform .2s var(--ease),border-color .2s var(--ease)!important}
html:root body :is(.login-competition-card,.league-related-grid>a,.landing-card):hover{transform:translateY(-3px);border-color:var(--border-hl)!important}
html:root[data-theme="light"] body :is(.login-competition-card,.league-related-grid>a,.landing-card){background:#fff!important;border-color:rgba(15,23,42,.12)!important;color:#0f172a!important}
html:root body .login-competition-card b,html:root body .league-related-grid>a>b{color:#a5b4fc!important}
html:root[data-theme="light"] body .login-competition-card b,html:root[data-theme="light"] body .league-related-grid>a>b{color:#4338ca!important}
/* Wettbewerbs-Kennung als Text-Badge statt Flaggen-Emoji (Windows zeigt sonst „DE“) */
.competition-badge{display:inline-grid;place-items:center;min-width:44px;height:44px;padding:0 8px;border-radius:12px;
  background:rgba(99,102,241,.14);border:1px solid rgba(165,180,252,.3);color:#c7d2fe;font-size:12px;font-weight:900;letter-spacing:.06em}
html:root[data-theme="light"] body .competition-badge{background:#eef2ff;color:#3730a3}
.competition-badge.is-large{min-width:72px;height:72px;font-size:18px;border-radius:20px}

/* ── 9. Tabellen ──────────────────────────────────────────── */
html:root body .league-table-groups{grid-template-columns:minmax(0,1fr)!important}
html:root body :is(.league-table-card,.league-table-groups>*){min-width:0!important}
html:root body .league-table-scroll{overflow-x:auto!important;-webkit-overflow-scrolling:touch;max-width:100%}
html:root body .league-table-scroll th{background:var(--surf2)!important;font-size:var(--fs-xs)!important;font-weight:900!important;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)!important}
html:root body .league-table-scroll :is(td,th){border-bottom:1px solid var(--line)!important}
html:root body .league-table-scroll :is(th:nth-child(2),td.league-team){text-align:left!important}
html:root body .league-table-scroll td:not(.league-team){font-variant-numeric:tabular-nums}
html:root body .league-points{color:var(--text)!important;font-weight:900!important}
html:root[data-theme="light"] body .league-table-scroll th{background:#eef2f7!important;color:#334155!important}
html:root[data-theme="light"] body .league-points{color:#0f172a!important}

/* ── 10. Wettbewerbs-Akzente nur dekorativ ────────────────── */
html:root body.league-landing :is(.league-breadcrumb a,.league-section-kicker,.league-kicker){color:#a5b4fc!important}
html:root[data-theme="light"] body.league-landing :is(.league-breadcrumb a,.league-section-kicker,.league-kicker){color:#4338ca!important}
html:root body.league-landing .league-switcher a.active{background:rgba(99,102,241,.18)!important;border-color:rgba(165,180,252,.45)!important;color:#fff!important}
html:root[data-theme="light"] body.league-landing .league-switcher a.active{color:#312e81!important}
html:root body .league-pill{background:rgba(99,102,241,.12)!important;border-color:rgba(165,180,252,.3)!important;color:#c7d2fe!important}
html:root[data-theme="light"] body .league-pill{color:#3730a3!important}

/* ── 11. Liga-/Vereins-Hero ───────────────────────────────── */
html:root body .league-hero{min-height:0!important;align-items:start!important;padding-block:clamp(28px,4vw,48px)!important;overflow:hidden}
html:root body .league-hero-copy{align-self:start!important;padding-top:clamp(8px,2vw,24px)!important}
/* Kicker im Hub-Indigo statt Pink */
html:root body :is(.login-section-heading>span,.login-card-kicker,.login-competition-card small,.login-preview-head span,.team-kicker,.team-card-head span:first-child){color:#a5b4fc!important}
html:root[data-theme="light"] body :is(.login-section-heading>span,.login-card-kicker,.login-competition-card small,.login-preview-head span,.team-kicker,.team-card-head span:first-child){color:#4338ca!important}
html:root body .competition-ambient-mark{max-width:min(46vw,560px);overflow:hidden}

/* ── 12. FAQ-Akkordeon: offen = „−“ ───────────────────────── */
html:root body details[open]>summary>span[aria-hidden="true"]{font-size:0!important}
html:root body details[open]>summary>span[aria-hidden="true"]::after{content:"−";font-size:1.1rem}
@media (max-width:820px){html:root body details>summary{min-height:var(--touch-min);display:flex;align-items:center;justify-content:space-between;gap:12px}}

/* ── 13. Login-Kontext, Hinweise ──────────────────────────── */
.login-context-banner{display:flex;gap:12px;align-items:flex-start;margin:0 0 1.25rem;padding:14px 16px;border:1px solid rgba(165,180,252,.35);
  border-radius:var(--radius-sm);background:rgba(99,102,241,.1);color:var(--text);font-size:var(--fs-sm);line-height:1.5}
.login-context-banner b{color:#fff}
html:root[data-theme="light"] body .login-context-banner{background:#eef2ff;color:#1e1b4b}
html:root[data-theme="light"] body .login-context-banner b{color:#1e1b4b}
.login-forgot{margin:-.35rem 0 1rem;font-size:13px}
.login-forgot summary{cursor:pointer;color:#a5b4fc;font-weight:700;list-style:none;display:inline-flex;min-height:32px;align-items:center}
.login-forgot summary::-webkit-details-marker{display:none}
.login-forgot p{margin:.4rem 0 0;color:var(--muted);line-height:1.55}
.login-forgot a{color:#c7d2fe;font-weight:800}
html:root[data-theme="light"] body .login-forgot summary{color:#4338ca}
html:root[data-theme="light"] body .login-forgot a{color:#3730a3}
.form-hint{display:block;margin-top:6px;color:var(--muted);font-size:12.5px;line-height:1.45}
.pw-toggle-row{display:flex;align-items:center;gap:8px;margin:-.25rem 0 1rem;color:var(--muted);font-size:13px}
.pw-toggle-row input{width:18px;height:18px}
.register-legal{margin-top:.9rem;color:var(--muted);font-size:12.5px;text-align:center;line-height:1.5}
.register-legal button{background:none;border:0;padding:0;color:#a5b4fc;font-weight:800;cursor:pointer;text-decoration:underline}
html:root body.has-login-context .login-hero-grid{display:flex!important;flex-direction:column-reverse}
@media (min-width:901px){html:root body.has-login-context .login-hero-grid{display:grid!important}}
.cta-banner{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin:0 0 16px;padding:14px 16px;
  border:1px solid rgba(165,180,252,.3);border-radius:var(--radius-sm);background:rgba(99,102,241,.08);font-size:var(--fs-sm)}
.result-pending{color:var(--gold);font-size:12px;font-weight:800}

/* ── 14. Vereinssuche ─────────────────────────────────────── */
html:root body .search-results-grid{align-items:start!important;margin-top:24px!important}
html:root body .search-hero{margin-bottom:24px!important}

/* ── 15. Footer nach Hub-Muster ───────────────────────────── */
html:root body .global-site-footer{background:#04040c!important;border-top:1px solid rgba(148,163,184,.12)!important;padding:40px 0 28px!important;text-align:left!important}
.gsf-grid{width:min(var(--shell),100% - 40px);margin-inline:auto;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px}
.gsf-grid h2{margin:0 0 12px;font-size:var(--fs-xs);font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:#a5b4fc}
.gsf-grid nav{display:grid;gap:8px;align-content:start}
html:root body .gsf-grid nav :is(a,button){font-size:14px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important}
.gsf-grid nav :is(a,button){display:inline-flex;align-items:center;min-height:32px;padding:0;background:none;border:0;color:var(--text-dim)!important;font:inherit;font-size:14px;text-align:left;text-decoration:none;cursor:pointer}
.gsf-grid nav :is(a,button):hover{color:#fff!important;text-decoration:underline}
.gsf-brand p{margin:10px 0 0;color:var(--muted);font-size:14px;line-height:1.6;max-width:36ch}
.gsf-brand .daddeln-global-brand{color:var(--text-light)}
.gsf-bottom{width:min(var(--shell),100% - 40px);margin:28px auto 0;padding-top:16px;border-top:1px solid rgba(148,163,184,.1);display:flex;flex-wrap:wrap;gap:8px 16px;color:var(--muted2);font-size:12px}
@media (max-width:820px){.gsf-grid{grid-template-columns:1fr;gap:24px;width:calc(100% - 28px)}.gsf-grid nav :is(a,button){min-height:var(--touch-min)}.gsf-bottom{width:calc(100% - 28px)}}
html:root[data-theme="light"] body .global-site-footer{background:#e8ecf5!important}
html:root[data-theme="light"] body .gsf-grid nav :is(a,button){color:#334155!important}

/* ── 16. Hintergrund nicht abgeschnitten ──────────────────── */
html:root body:is(.login-landing-page,.league-landing){background-attachment:fixed!important}

/* ── 17. Gruppen ──────────────────────────────────────────── */
.url-prefix{text-transform:none!important;letter-spacing:0!important}
html:root body :is(.group-tabs,.group-detail-tabs){overflow-x:auto;scrollbar-width:thin;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}

/* ── 18. App: Spielkarten kompakter ───────────────────────── */
.tip-hint-once{margin:0 0 12px;color:var(--muted);font-size:13px;text-align:center}
html:root body .tip-market.is-empty .tip-market-grid,html:root body .tip-market.is-empty .tip-market-bar{display:none!important}
html:root body .tip-market.is-empty{padding-block:8px!important}
.lb-tiebreak-note{display:block;margin:6px 0 0;color:var(--muted);font-size:12px}

/* ── 19. Reduzierte Bewegung respektieren ─────────────────── */
@media (prefers-reduced-motion:reduce){
  html:root body :is(.login-competition-card,.league-related-grid>a,.landing-card,.btn-primary,.login-main-cta,.login-hero-cta):hover{transform:none!important}
}

/* ── 20. Sprachumschalter im Footer ───────────────────────── */
html:root body .global-site-footer .dls-footer{width:min(var(--shell),100% - 40px);margin:12px auto 0}
html:root body .dls-footer,html:root body .dls-footer *{font-family:var(--font-b)!important}

/* ── 21. Vereinsverzeichnis als Kachelraster über volle Breite ─ */
html:root body .search-results-grid.is-directory{grid-template-columns:minmax(0,1fr)!important}
html:root body .search-results-grid.is-directory .search-team-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))!important;gap:10px!important}
html:root body .email-public-body .public-search-form{max-width:520px;margin:20px auto 0}

/* ── 22. Gruppen & Breadcrumb auf Community-Seiten ────────── */
html:root body .community-wrap .league-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 6px;font-size:13px;color:var(--muted)}
html:root body .community-wrap .league-breadcrumb a{color:#a5b4fc;font-weight:700;text-decoration:none}
html:root body .community-wrap .league-breadcrumb a:hover{text-decoration:underline}
html:root body .tournament-choice b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;text-transform:none!important;letter-spacing:0!important;line-height:1.25}
html:root body .groups-public-toggle small{text-transform:none!important;letter-spacing:0!important;font-weight:500;color:var(--muted)}
html:root body .groups-field small{display:block;margin-top:6px;color:var(--muted);font-size:12px;line-height:1.45;text-transform:none;letter-spacing:0}

/* ── 23. Audit 22.10.: Kontrast im hellen Design, Touch-Ziele ── */
/* #a5b4fc erreicht auf Hell nur 1,7:1 – Markenzusatz, Footer-Überschriften und Breadcrumbs auf #4338ca (7,9:1) */
html:root[data-theme="light"] body .daddeln-brand-text small,
html:root[data-theme="light"] body .gsf-grid h2,
html:root[data-theme="light"] body .community-wrap .league-breadcrumb a{color:#4338ca}
.daddeln-brand-text small{font-size:11px}
/* Footer-Links: Die 44-px-Regel aus Abschnitt 17 wird auf Vereins- und Ligaseiten von älteren Schichten überschrieben */
@media (max-width:820px){html:root body .gsf-grid nav :is(a,button){min-height:var(--touch-min)!important}}

/* ── 24. Audit 22.10.: Tippspiel-Startseite ruhiger ─────────── */
/* H1 = Keyword (SEO-Stand LIVE), Slogan als kleinere zweite Zeile; vorher 84 px über bis zu 8 Zeilen */
html:root body .login-hero-copy h1{font-size:clamp(40px,4.6vw,68px)!important;letter-spacing:-.035em!important;line-height:1!important;text-wrap:balance}
html:root body .login-hero-copy h1 .login-hero-tagline{display:block;margin-top:.3em;font-size:.5em;font-weight:700;line-height:1.15;letter-spacing:-.01em;color:var(--text-dim)}
/* Vorteile als ruhige Textzeile statt vier Pillen, die wie Buttons aussehen */
html:root body .login-value-row{display:flex!important;flex-wrap:wrap;gap:4px 0!important}
html:root body .login-value-row span{background:none!important;border:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;min-height:0!important;color:var(--muted)!important;font-size:14px!important;font-weight:600!important}
html:root body .login-value-row span+span::before{content:"\00b7";margin:0 .55em;color:var(--muted2)}
@media (max-width:650px){html:root body .login-value-row{gap:4px 16px!important}html:root body .login-value-row span+span::before{content:none}}
html:root[data-theme="light"] body .login-value-row span{color:#475569!important}
/* FAQ-Zeilen: Tippfläche mindestens 44 px statt 20 px (WCAG 2.5.8) */
html:root body .login-home-faq summary{min-height:var(--touch-min);display:flex;align-items:center;justify-content:space-between;gap:12px}

/* ── 25. Ligaseiten: „Wissenswertes“ (SEO-Stand LIVE 14.10.) ── */
.league-guide-copy h3{margin:1.15em 0 .4em;font-size:1.08rem}
.league-guide-copy h3:first-child{margin-top:0}
.league-guide-copy p{margin:0 0 .65em;line-height:1.7;max-width:72ch}

/* ════════════════════════════════════════════════════════════
   26. Daddeln-System v2 (Audit Phase 2, 22.10.2026)
   Ein Rhythmus, ein Kartenmodell, eine Überschriftenhierarchie für
   alle öffentlichen Tippspiel-Seiten. Werte aus dem 4/8-px-Raster des Hubs.
   ════════════════════════════════════════════════════════════ */
:root{--ds-flow:24px;--ds-card-pad:24px;--ds-card-radius:16px;--ds-inner-radius:12px;--ds-head-gap:16px;
  --ds-h1:clamp(32px,3.6vw,48px);--ds-h2:clamp(20px,1.9vw,26px);--ds-h3:17px;--ds-meta:13px;--ds-min:12px}
@media (max-width:640px){:root{--ds-flow:16px;--ds-card-pad:16px;--ds-head-gap:12px}}

/* 26.1 Seitenrhythmus: Breadcrumb → Hero → Sektionen immer im selben Abstand */
html:root body .league-breadcrumb{margin:8px 0 0!important}
html:root body .league-shell{gap:var(--ds-flow)!important}
html:root body .league-shell>*{margin-top:0!important;margin-bottom:0!important}
html:root body :is(.team-shell,.search-shell)>*{margin-top:0!important;margin-bottom:0!important}
html:root body :is(.team-shell,.search-shell)>*+*{margin-top:var(--ds-flow)!important}
html:root body :is(.team-grid,.league-seo-grid,.guide-content,.search-results-grid){gap:var(--ds-flow)!important}
html:root body .guide-layout{gap:32px!important}
html:root body .guide-shell{padding-top:0!important}
html:root body .guide-shell>article{margin-top:var(--ds-flow)}

/* 26.2 Karten: 16 px Radius, 24 px Innenabstand (Handy 16), keine Schatten,
   Kopf und Körper ohne eigenes zusätzliches Padding (vorher bis zu 36 px doppelt) */
html:root body :is(.league-shell>.card,.league-seo-grid>.card,.team-shell>.team-card,.team-grid>.team-card,.search-results-grid>.team-card,.guide-content>section,.guide-toc,.guide-cta){
  padding:var(--ds-card-pad)!important;border-radius:var(--ds-card-radius)!important;box-shadow:none!important}
html:root body :is(.league-shell>.card,.league-seo-grid>.card)>.card-head,
html:root body :is(.team-shell,.team-grid,.search-results-grid)>.team-card>.team-card-head{padding:0 0 var(--ds-head-gap)!important;margin:0!important;border:0!important;background:none!important}
html:root body :is(.league-shell>.card,.league-seo-grid>.card)>.card-body,
html:root body :is(.team-shell,.team-grid,.search-results-grid)>.team-card>.team-card-body{padding:0!important}
/* Innere Elemente (Spiele, Wettbewerbe, Vereine, News, Kennzahlen): 12 px Radius, 12/16 px */
html:root body :is(.league-fixture,.team-match,.team-competition,.search-team-card,.team-stat,.external-news-card,.guide-strategy-grid>article,.league-related-grid>a){border-radius:var(--ds-inner-radius)!important;box-shadow:none!important}
html:root body :is(.league-fixture,.team-competition,.search-team-card,.team-stat){padding:12px 16px!important}
/* .team-match trägt selbst kein Padding: Kopf- und Spielzeile haben eigene Abstände (sonst doppelt) */
html:root body .team-match{padding:0!important;overflow:hidden}
html:root body .team-match-meta{padding:8px 16px!important}
html:root body .team-match-row{padding:12px 16px!important}

/* 26.3 Überschriften: eine Hierarchie für alle Inhaltsseiten */
html:root body :is(.league-hero h1,.team-hero h1,.search-hero h1,.guide-hero h1){font-size:var(--ds-h1)!important;line-height:1.05!important;letter-spacing:-.03em!important;text-wrap:balance}
html:root body :is(.card-head h2,.team-card-head h2,.guide-content>section h2,.guide-cta h2,.login-section-heading h2,.league-intro-card h2,.login-home-faq h2){font-size:var(--ds-h2)!important;line-height:1.2!important;letter-spacing:-.015em!important;font-weight:700!important;text-transform:none!important}
html:root body :is(.card-body h3,.team-card-body h3,.guide-content h3,.league-guide-copy h3){font-size:var(--ds-h3)!important;line-height:1.3!important}
html:root body .login-card .login-title{font-size:clamp(26px,3vw,32px)!important;line-height:1.1!important}

/* 26.4 Weniger Eyebrows: Überzeilen, die nur die folgende Überschrift wiederholen, entfallen */
html:root body :is(.league-section-kicker,.login-section-heading>span,.guide-kicker,.league-kicker,.team-kicker),
html:root body .team-card-head>div>span:first-child{display:none!important}
html:root body .guide-section-number{display:inline-block;margin:0 0 6px;font-size:var(--ds-meta)!important;font-weight:700;letter-spacing:.04em;color:var(--muted)!important;background:none!important;padding:0!important}

/* 26.5 Dekoration raus: Kreisringe, Leucht-Kreise und Wasserzeichen.
   Die schwebenden Vereinswappen der Wettbewerbe (.competition-ambient) bleiben bewusst – Wunsch vom 22.10. */
html:root body :is(.login-hero-copy,.login-competition-card,.team-hero,.league-hero,.search-hero,.guide-hero)::before,
html:root body :is(.login-hero-copy,.login-competition-card,.team-hero,.league-hero,.search-hero,.guide-hero)::after{display:none!important}
html:root body::before{background:none!important}
html:root body :is(.league-hero,.team-hero,.search-hero,.guide-hero){box-shadow:none!important;backdrop-filter:none!important}

/* 26.6 Navigation ohne Emoji: Text trägt, das Schloss wird ein schlichtes Symbol */
html:root body .daddeln-global-nav-ico{display:none!important}
html:root body .daddeln-nav-lock{display:inline-block;width:12px;height:12px;margin-left:6px;font-size:0!important;line-height:0;vertical-align:-1px;background:currentColor;opacity:.55;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h1Zm2 0h6V7a3 3 0 0 0-6 0v3Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h1Zm2 0h6V7a3 3 0 0 0-6 0v3Z'/%3E%3C/svg%3E") center/contain no-repeat}

/* 26.7 Vorteile auf Liga-Seiten wie auf der Startseite: Textzeile statt ✓-Pillen */
html:root body .league-benefits{display:flex!important;flex-wrap:wrap;gap:4px 0!important}
html:root body .league-benefits span{background:none!important;border:0!important;padding:0!important;border-radius:0!important;color:var(--muted)!important;font-size:14px!important;font-weight:600!important}
html:root body .league-benefits span+span::before{content:"\00b7";margin:0 .55em;color:var(--muted2)}

/* 26.8 Mindestschriftgröße 12 px für Zusatzinfos (vorher bis 9 px) */
html:root body :is(.team-match-meta,.team-stat span,.team-stat small,.search-team-card small,.league-fixture-meta,.team-competition small,.external-news-meta,.league-table-scroll td small){font-size:max(var(--ds-min),1em)!important}

/* 26.9 Seitenköpfe: ein Rahmen für Liga, Verein, Vereine und Ratgeber (vorher zentriert/900 px/65-0-48-0 px) */
html:root body .search-shell{width:min(var(--shell),100% - 40px)!important;padding-inline:0!important;margin-inline:auto!important}
html:root body :is(.league-hero,.team-hero,.search-hero,.guide-hero){padding:32px!important;border-radius:24px!important;max-width:none!important;text-align:left!important}
html:root body :is(.search-hero,.guide-hero)>h1{margin-top:0!important}
html:root body .search-hero>:is(p,form){margin-left:0!important;margin-right:0!important;text-align:left}
@media (max-width:640px){html:root body .search-shell{width:calc(100% - 28px)!important}html:root body :is(.league-hero,.team-hero,.search-hero,.guide-hero){padding:20px!important;border-radius:20px!important}}

/* 26.10 Keine Karte in der Karte: Tabellen- und Spielplan-Panels liegen direkt in ihrer Sektion */
html:root body :is(.league-table-card,.league-fixtures-panel){background:none!important;border:0!important;padding:0!important;box-shadow:none!important;border-radius:0!important}
html:root body .league-related-grid>a{background-image:none!important;padding:16px!important}
html:root:not([data-theme="light"]) body .league-related-grid>a{background-color:rgba(255,255,255,.03)!important}
/* News ohne Bild: Textkarte statt ⚽-Platzhalter */
html:root body .external-news-visual:not(:has(img)){display:none!important}
/* Ohne Bild eine Spalte – sonst rutscht der Text in die 88-px-Bildspalte (Regression 22.10. behoben) */
html:root body .external-news-card:not(:has(.external-news-visual img)){grid-template-columns:minmax(0,1fr)!important}

/* 26.11 Startseite & Registrierung: Deko-Kacheln und doppelte Überzeilen entfallen */
html:root body .login-card>.login-logo:not(:has(.competition-badge)),
html:root body .login-card>.login-card-kicker,
html:root body .login-guide-card>span:first-child,
html:root body .login-guide-card small,
html:root body .login-competition-card small{display:none!important}
html:root body .login-card{border-radius:var(--ds-card-radius)!important;box-shadow:none!important}
html:root body :is(.login-match-preview,.login-guide-card,.login-competition-card,.login-home-faq){border-radius:var(--ds-card-radius)!important;box-shadow:none!important}

/* 26.12 Lesbarkeit auf Vereins- und Ligaseiten: nichts unter 12 px, Vereinsnamen 13 px */
html:root body .team-match-club span{font-size:13px!important}
html:root body :is(.team-match-score small,.team-aliases,.team-note,.external-news-note,.external-news-provider-label,.external-news-head-copy span,.team-card-head span,.search-results-count){font-size:12px!important}
html:root body .league-switcher a{font-size:13px!important}
/* Breadcrumb-Links: 32 px hohe Tippfläche statt 15 px */
html:root body .league-breadcrumb a{display:inline-flex;align-items:center;min-height:32px}

/* 26.13 Spielzeilen auf dem Handy: Wettbewerb und Termin untereinander, Vereinsnamen dürfen umbrechen
   (vorher 4-zeiliger Wettbewerb, abgeschnittene Uhrzeit, „FC Bayern Münc…“) */
@media (max-width:640px){
  html:root body :is(.team-match-meta,.league-fixture-meta){flex-direction:column!important;align-items:flex-start!important;gap:2px!important}
  html:root body :is(.team-match-meta,.league-fixture-meta) :is(time,span){white-space:normal!important;text-align:left!important}
  /* Jeder Verein eine eigene Zeile (Logo links), Ergebnis rechts – wie in Sport-Apps, ohne Silbentrennung */
  html:root body :is(.team-match-row,.league-fixture-teams){grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"home score" "away score";gap:8px 12px!important;align-items:center}
  html:root body :is(.team-match-row,.league-fixture-teams)>:first-child{grid-area:home;display:flex!important;flex-direction:row-reverse;justify-content:flex-end!important;align-items:center;gap:8px;text-align:left!important}
  html:root body :is(.team-match-row,.league-fixture-teams)>:last-child{grid-area:away;display:flex!important;justify-content:flex-start!important;align-items:center;gap:8px;text-align:left!important}
  html:root body :is(.team-match-row,.league-fixture-teams)>:nth-child(2){grid-area:score;text-align:right}
  html:root body .league-fixture-teams img{width:28px!important;height:28px!important;flex:0 0 28px}
  html:root body .team-match-row{padding:12px!important}
  html:root body .team-match-meta{padding:8px 12px!important}
  html:root body :is(.team-match-club,.league-fixture-teams>div) span,html:root body .league-fixture-teams .team-link{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:break-word;hyphens:manual;line-height:1.25}
  html:root body .team-match-club img{width:28px!important;height:28px!important;flex:0 0 28px}
  /* News als wischbares Band statt 9 Karten untereinander */
  html:root body .external-news-grid{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px!important;padding-bottom:8px;overscroll-behavior-x:contain}
  html:root body .external-news-grid>*{flex:0 0 85%;scroll-snap-align:start}
}

/* 26.14 Kennzahlen auf Vereinsseiten: flexibles Raster ohne Überlauf (vorher 3 feste Spalten → Überlauf bei 320 px) */
html:root body .team-stat-grid{grid-template-columns:repeat(auto-fit,minmax(96px,1fr))!important;gap:8px!important}
html:root body .team-stat{min-width:0;padding:12px!important}
html:root body .team-stat :is(b,strong){overflow-wrap:anywhere}

/* 26.15 Registrierung: Tippflächen für Checkbox und Zusatzlinks (vorher 17–19 px) */
html:root body .pw-toggle-row{display:inline-flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}
html:root body .pw-toggle-row input{width:20px;height:20px}
html:root body :is(.seo-league-links a,.register-legal button,.login-card .login-switch a){display:inline-flex;align-items:center;min-height:32px}
html:root body .seo-league-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}
html:root body .seo-league-links :is(a,span){font-size:13px!important}

/* 26.16 Kopfzeile bis 1100 px: „Anmelden“ und „Registrieren“ teilen sich eine Zeile
   (vorher bei 768 px zwei bildschirmbreite Balken untereinander) */
@media (min-width:600px) and (max-width:1100px){html:root body .daddeln-global-auth{flex:0 0 auto!important}}
/* Kennzahl-Labels in normaler Schreibweise: „Niederlagen“ passt, statt in Versalien an die Nachbarkachel zu stoßen */
html:root body .team-stat span{text-transform:none!important;letter-spacing:0!important;font-size:13px!important;font-weight:600!important}


/* ==========================================================================
   27 Eingeloggter Bereich: Designsprache v2 auch in App, Konto und Community
   (Bestandsaufnahme 22.10.: 107 Regeln mit Text unter 12 px, bis 8,3 px; 14 Überzeilen)
   ========================================================================== */

/* 27.1 Mindestschrift 12 px für alles, was gelesen werden soll */
html:root body :is(
  .account-chip-copy small,.notification-pref-copy small,.support-attachment-field>small,.support-category-option span,
  .email-option-section span,.pts-tile .lbl,.tpill-meta,
  .groups-card-copy>span,.groups-card-copy small,.groups-empty-state>span,.groups-field>span,.groups-tournament-fieldset>legend,
  .groups-public-toggle,.groups-slug-input b,.groups-create-panel .tournament-choice :is(b,small),
  .landing-chat-bubble header,.landing-chat-bubble header a,.landing-hero-stats span,.landing-shortcuts-head p,.landing-card em,
  .prediction-deadline :is(b,em),.prediction-state,
  .profile-form-actions>span,.profile-membership-copy small,.profile-monthly-badges-head,.profile-section-head>span,.profile-char-hint,
  .public-profile-club small,.public-profile-meta span,.public-profile-stats span,
  .footer-version,.dash-avg,.dash-leg,.deadline,.faq-category-title small,.hint,.legend,
  .match-top,.phase,.rank-stats,.roadmap-body :is(p,ul),.roadmap-bugs-count,.roadmap-bugs-head p,.roadmap-empty,.roadmap-lane header p,
  .roadmap-submitted-at,.tip-market-foot,.tip-market-head,.update-archive>summary :is(small,strong),.update-entry-head time,
  .updates-hero-meta :is(span,b),.updates-section-head p,.updates-count-badge,
  .fame-badge :is(p,small),.fame-badge-types p,.fame-card-copy>small,.fame-catalog-card>p,
  .fame-hero-stats span,.fame-profile-numbers span,.fame-recipients>span,.fame-section-head>span,
  .onb-step-text,.onb-note,.onb-state,.onb-choice-hint,.onb-link-text,
  body.has-bottom-nav :is(label,th)
){font-size:12px!important}
/* Zähler, Achsen und Status-Chips: 11 px statt 8–10 px */
html:root body :is(.tab .cnt,.nav-unread-count,.reaction-add span,.reaction-chip b,.md-pill,.update-entry-latest,.roadmap-priority,
  .roadmap-target,.roadmap-vote,.roadmap-vote b,.fame-catalog-card header :is(em,small),.fame-rarity,.dash-x-axis,.dash-y-axis,
  .match-id,.landing-chat-live,.onb-choice-ms,.pill){font-size:11px!important}

/* 27.2 Kleine Beschriftungen in normaler Schreibweise statt gesperrter Versalien */
html:root body :is(.tpill-meta,.phase,.tip-market-head,.tip-market-head *,.groups-field>span,.groups-tournament-fieldset>legend,
  .groups-public-toggle,.notification-pref-copy :is(b,small),.email-option-section b,.email-address-field>span,.email-reminder-delay>span,
  .prediction-kind,.prediction-state,.prediction-deadline b,.prediction-total>span,.lb-multi,.support-idea-mask>label,
  .support-attachment-field>small,.fame-rarity,.fame-catalog-card header small,.public-profile-club small,.update-entry-latest,
  .landing-chat-live,.onb-choice-ms,.roadmap-priority,body.has-bottom-nav th){text-transform:none!important;letter-spacing:normal!important}

/* 27.3 Überzeilen über Seitentiteln entfallen (wie 26.4) – jede stand direkt über einer h1/h2/h3 */
html:root body :is(.announcement-kicker,.support-compose-kicker,.support-idea-kicker,.email-settings-kicker,.profile-kicker,.faq-kicker,
  .roadmap-bugs-kicker,.roadmap-kicker,.updates-kicker,.updates-section-kicker,.fame-kicker,.landing-kicker,.onb-kicker,
  .prediction-kicker,.landing-section-head>div>span:first-child){display:none!important}

/* 27.4 Emoji-Kacheln als Dekor entfallen; der Text trägt (Raster ohne leere Icon-Spalte) */
html:root body :is(.roadmap-bugs-icon,.notification-pref-icon,.email-option-icon){display:none!important}
html:root body .notification-pref{grid-template-columns:minmax(0,1fr) auto!important}
html:root body .email-option{grid-template-columns:auto minmax(0,1fr)!important}

/* 27.5 Startseite eingeloggt: Seitenkopf wie die übrigen Heros, Karten 16 px ohne Schatten, Abstände im 24-px-Rhythmus */
html:root body .landing-hero{background:var(--panel)!important;border-color:var(--line)!important;border-radius:24px!important;padding:32px!important;box-shadow:none!important;margin-bottom:var(--ds-flow)!important}
html:root body .landing-hero::before,html:root body .landing-hero::after{display:none!important}
html:root body .landing-hero h1{font-size:var(--ds-h1)!important;margin:0 0 8px!important}
html:root body .landing-card{border-radius:var(--ds-card-radius)!important;box-shadow:none!important;background-image:none!important}
html:root body .landing-card::before{display:none!important}
html:root body :is(.landing-chat-card,.landing-ranking){border-radius:var(--ds-card-radius)!important;box-shadow:none!important}
html:root body .landing-bottom-grid{margin-top:var(--ds-flow)!important}
@media (max-width:640px){html:root body .landing-hero{padding:20px!important;border-radius:20px!important}}

/* 27.6 Tipp-Bereich: eine Kartenebene. Sektion = Karte, Spiel = Innenfläche 12 px, Tippverteilung ohne eigenen Kasten */
html:root body.has-bottom-nav .wrap>.panel>.card,html:root body.has-bottom-nav .panel .card{border-radius:var(--ds-card-radius)!important;box-shadow:none!important}
html:root body.has-bottom-nav :is(.match,.empty){border-radius:var(--ds-inner-radius,12px)!important}
html:root body.has-bottom-nav .tip-market{background:none!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;padding:12px 0 0!important;box-shadow:none!important}
html:root body .sec-title::after{display:none!important}
html:root body .sec-title{padding-bottom:0!important}

/* 27.7 Seitentitel im eingeloggten Bereich: eine Größe (vorher 22–56 px je Seite), ohne Emoji */
:root{--ds-app-h1:clamp(26px,2.4vw,34px)}
html:root body :is(.community-title,.roadmap-hero h1,.updates-hero h1,.faq-hero h1,.fame-hero h1,.email-settings-hero h1,
  .prediction-hero h1,.announcement-hero h1,.public-profile-copy h1,.groups-page-heading h1){font-size:var(--ds-app-h1)!important;line-height:1.15!important;font-weight:700!important;letter-spacing:-.01em!important}

/* 27.8 Hilfsklasse für Screenreader-Text: im App-CSS fehlte sie, darum war der nur für Screenreader
   gedachte Titel im Tipp-Bereich sichtbar – bis er nach dem ersten Besuch von Roadmap/Updates/FAQ verschwand */
html:root body .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* Auswahlzeilen, die in ein <label> gewickelt sind, erbten dessen Versalien und 10 px – Titel und Beschreibung normal setzen */
html:root body :is(.email-option,.groups-create-panel .tournament-choice){text-transform:none!important;letter-spacing:normal!important}
html:root body .email-option b{font-size:14px!important;font-weight:700!important}
html:root body .email-option small{font-size:12px!important}

/* 27.9 Tipp-Karten auf dem Handy: Vor dem Anstoß stehen die Vereine nebeneinander und Anstoß/Tippschluss darunter
   (vorher 56 px je Vereinsname bei 375 px → „Wolfs-burg“); laufende/beendete Spiele behalten das Ergebnis in der Mitte */
@media (max-width:520px){
  html:root body .match-grid:has(>.score-mid .deadline){grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:"home away" "mid mid";row-gap:12px!important;align-items:start!important}
  html:root body .match-grid:has(>.score-mid .deadline)>.team:not(.away){grid-area:home}
  html:root body .match-grid:has(>.score-mid .deadline)>.team.away{grid-area:away}
  html:root body .match-grid:has(>.score-mid .deadline)>.score-mid{grid-area:mid;justify-self:center;max-width:100%;border-radius:12px!important;padding:6px 12px!important}
  html:root body :is(.kickoff,.tpill-name,.empty){font-size:12px!important}
  html:root body .tpill-name{font-size:13px!important}
}
/* Startseite eingeloggt, Handy: Kennzahlen als ruhige Zeile statt dreizeiliger Pillen, Hauptaktionen lesbar */
html:root body .landing-primary{font-size:14px!important}
@media (max-width:520px){
  html:root body .landing-hero-stats span{border-radius:12px!important}
}

/* 27.10 Handy: Die Konto-/Community-Seiten verkleinern unter 640 px die Grundschrift (rem = 14 px) – Zusatztexte fielen
   dadurch wieder auf 9–10 px. Hier gilt dieselbe Untergrenze wie am Desktop; Reaktionen werden 32 px hohe Tippflächen. */
@media (max-width:640px){
  html:root body :is(.muted,.pill,.community-table,.support-category-option b,.form-label,.community-form label>span,
    .account-settings-grid>label,.fame-badge-types b,.fame-badge b,.fame-card-copy>b,.fame-catalog-card header b,
    .email-settings-state span,.email-address-field span,.email-channel-note,.email-option-section b,.email-consent-note,
    .groups-empty-state strong,.groups-card-copy strong){font-size:12px!important}
  html:root body :is(.community-subtitle,.groups-page-heading p,.email-ideas-grid p){font-size:13px!important}
  html:root body :is(.reaction-chip,.reaction-add){min-height:32px!important}
}

/* 27.11 Breadcrumb auf dem Handy: Glieder brechen als Ganzes um (vorher drei schmale Spalten mit je zwei Zeilen) */
@media (max-width:640px){
  html:root body .league-breadcrumb{flex-wrap:wrap!important;column-gap:8px!important;row-gap:0!important;align-items:center}
  html:root body .league-breadcrumb>a{white-space:nowrap}
}


/* ==========================================================================
   28 Eigene Icons statt Emoji (Wunsch vom 22.10.: „lieber selbst designt als irgendwelche Emojis“)
   Ein Linien-Set im 24-px-Raster, 1,8 px Strich, runde Enden – wie das Fußball-Zeichen im Logo.
   Die Zuordnung läuft über data-tab/href/onclick, damit DE- und EN-Templates unverändert bleiben.
   Emoji bleiben dort, wo sie Inhalt sind: Badges, Reaktionen, Chat.
   ========================================================================== */
:root{--ic-live:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='2.2'/%3E%3Cpath d='M8 8a5.7 5.7 0 0 0 0 8M16 8a5.7 5.7 0 0 1 0 8M5.2 5.2a9.6 9.6 0 0 0 0 13.6M18.8 5.2a9.6 9.6 0 0 1 0 13.6'/%3E%3C/svg%3E");--ic-target:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Ccircle cx='12' cy='12' r='.9'/%3E%3C/svg%3E");--ic-calendar:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M8 14h2M14 14h2'/%3E%3C/svg%3E");--ic-star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.6l2.5 5.2 5.7.8-4.1 4 1 5.7L12 16.6l-5.1 2.7 1-5.7-4.1-4 5.7-.8z'/%3E%3C/svg%3E");--ic-table:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4.5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M3.5 14.5h17M9 9.5v10'/%3E%3C/svg%3E");--ic-bracket:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 5.5H8v5H3.5M3.5 13.5H8v5H3.5M8 8h3.5v8H8M11.5 12h4M15.5 9.5h5v5h-5z'/%3E%3C/svg%3E");--ic-trophy:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4.5h8v4.5a4 4 0 0 1-8 0zM8 6.5H5.5a2.5 2.5 0 0 0 2.6 3.6M16 6.5h2.5a2.5 2.5 0 0 1-2.6 3.6M12 13v3.5M8.5 20h7M10 16.5h4V20h-4z'/%3E%3C/svg%3E");--ic-chart:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5h16M7 16v-3.5M12 16V7.5M17 16v-6'/%3E%3C/svg%3E");--ic-users:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8.5' r='3.2'/%3E%3Cpath d='M3.5 19.5c.6-3.3 2.9-5.2 5.5-5.2s4.9 1.9 5.5 5.2M15.5 5.6a3.2 3.2 0 0 1 0 6M17 14.4c1.9.7 3.1 2.4 3.5 5.1'/%3E%3C/svg%3E");--ic-chat:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5a7.5 7.5 0 0 1-11.1 6.6L4 19.5l1.4-4.4A7.5 7.5 0 1 1 20 11.5z'/%3E%3C/svg%3E");--ic-medal:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='14.5' r='5'/%3E%3Cpath d='M8.6 10.8 6 3.5h4l2 4 2-4h4l-2.6 7.3M12 12.5v4'/%3E%3C/svg%3E");--ic-compass:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M15.5 8.5l-2 5-5 2 2-5z'/%3E%3C/svg%3E");--ic-sparkle:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 3.5l1.7 4.8 4.8 1.7-4.8 1.7L11 16.5l-1.7-4.8L4.5 10l4.8-1.7zM18 14.5l.8 2 2 .8-2 .8-.8 2-.8-2-2-.8 2-.8z'/%3E%3C/svg%3E");--ic-help:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M9.6 9.4a2.5 2.5 0 0 1 4.9.8c0 1.7-2.5 2.2-2.5 3.8M12 16.8v.1'/%3E%3C/svg%3E");--ic-megaphone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10v4h3l7.5 4.5v-13L7 10zM18 9a4 4 0 0 1 0 6M7 14l1.2 5h2.3'/%3E%3C/svg%3E");--ic-more:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12h.01M12 12h.01M18.5 12h.01' stroke-width='3'/%3E%3C/svg%3E");--ic-ball:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.4l3.4 2.5-1.3 4H9.9l-1.3-4zM12 3.5v3.9M20.3 10.3l-4.9-.4M17.2 18.6l-3.1-4.7M6.8 18.6l3.1-4.7M3.7 10.3l4.9-.4'/%3E%3C/svg%3E");--ic-user:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.2' r='3.7'/%3E%3Cpath d='M4.8 20c.9-3.8 3.7-5.9 7.2-5.9s6.3 2.1 7.2 5.9'/%3E%3C/svg%3E");--ic-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4.5' width='17' height='15' rx='2.5'/%3E%3Ccircle cx='9' cy='10' r='1.7'/%3E%3Cpath d='M20.5 16l-5-5-8.5 8.5'/%3E%3C/svg%3E");--ic-shield:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l7 2.8v5.3c0 4.2-2.9 7.5-7 8.9-4.1-1.4-7-4.7-7-8.9V6.3z'/%3E%3C/svg%3E");--ic-pencil:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.3 4.7l4 4L8.6 19.4H4.6v-4zM13.3 6.7l4 4'/%3E%3C/svg%3E");--ic-sliders:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h9M17 7h3M4 17h3M11 17h9'/%3E%3Ccircle cx='15' cy='7' r='2'/%3E%3Ccircle cx='9' cy='17' r='2'/%3E%3C/svg%3E");--ic-bell:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.2 16.5V11a5.8 5.8 0 0 1 11.6 0v5.5l1.6 1.6H4.6zM10 20.4a2.1 2.1 0 0 0 4 0'/%3E%3C/svg%3E");--ic-mail:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2.5'/%3E%3Cpath d='M4.5 7.5 12 13l7.5-5.5'/%3E%3C/svg%3E");--ic-key:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15.5' r='3.8'/%3E%3Cpath d='M10.8 12.7 19 4.5M15.5 8l2.5 2.5M13.5 10l2 2'/%3E%3C/svg%3E");--ic-link:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E");--ic-flask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 3.5h5M10.5 3.5V9L5 18.4a1.4 1.4 0 0 0 1.2 2.1h11.6a1.4 1.4 0 0 0 1.2-2.1L13.5 9V3.5M7.4 15h9.2'/%3E%3C/svg%3E");--ic-logout:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 4.5h3a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-3M10 16l-4-4 4-4M6 12h9'/%3E%3C/svg%3E");--ic-lifebuoy:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='3.6'/%3E%3Cpath d='M6 6l3.5 3.5M14.5 14.5 18 18M18 6l-3.5 3.5M9.5 14.5 6 18'/%3E%3C/svg%3E")}

/* 28.1 Grundform: Icon als Maske in Textfarbe */
html:root body :is(#tabs>a.tab,.smart-section>summary,.smart-menu>a,.smart-menu>button,.landing-primary)::before,
html:root body :is(.account-item-icon,.account-version-icon,.landing-card>span[aria-hidden],.onb-link-icon)::before{
  content:"";display:block;flex:0 0 auto;width:18px;height:18px;background:currentColor;
  -webkit-mask:var(--ic,none) center/contain no-repeat;mask:var(--ic,none) center/contain no-repeat}

/* 28.2 Tipp-Bereich: Tab-Leiste und Menüs */
html:root body :is(.smart-menu>a,.smart-menu>button){display:flex!important;align-items:center;gap:10px}
html:root body .smart-menu>:is(a,button)::before{opacity:.75}
html:root body #tabs>a[data-tab="live"]{--ic:var(--ic-live)}
html:root body .smart-section:has([data-tab="offen"])>summary{--ic:var(--ic-ball)}
html:root body .smart-section:has([data-tab="rangliste"])>summary{--ic:var(--ic-trophy)}
html:root body .smart-section:has([onclick*="Chat.toggle"])>summary{--ic:var(--ic-users)}
html:root body .smart-section:has([data-tab="roadmap"])>summary{--ic:var(--ic-more)}
html:root body .smart-section>summary{gap:8px}
html:root body .smart-menu [data-tab="offen"]{--ic:var(--ic-target)}
html:root body .smart-menu [data-tab="tippen"]{--ic:var(--ic-calendar)}
html:root body .smart-menu [href*="/predictions"]{--ic:var(--ic-star)}
html:root body .smart-menu [data-tab="tabelle"]{--ic:var(--ic-table)}
html:root body .smart-menu [data-tab="baum"]{--ic:var(--ic-bracket)}
html:root body .smart-menu [data-tab="rangliste"]{--ic:var(--ic-trophy)}
html:root body .smart-menu [data-tab="dashboard"]{--ic:var(--ic-chart)}
html:root body .smart-menu [href*="/groups"]{--ic:var(--ic-users)}
html:root body .smart-menu [onclick*="Chat.toggle"]{--ic:var(--ic-chat)}
html:root body .smart-menu [href*="wall-of-fame"]{--ic:var(--ic-medal)}
html:root body .smart-menu [data-tab="roadmap"]{--ic:var(--ic-compass)}
html:root body .smart-menu [data-tab="updates"]{--ic:var(--ic-sparkle)}
html:root body .smart-menu [data-tab="faq"]{--ic:var(--ic-help)}
html:root body .smart-menu [href*="announcements"]{--ic:var(--ic-megaphone)}
html:root body .smart-menu [href*="support"]{--ic:var(--ic-lifebuoy)}

/* 28.3 Startseite eingeloggt: Schnellzugriff mit ruhiger Icon-Kachel statt Emoji */
html:root body .landing-card>span[aria-hidden]{display:grid!important;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;font-size:0!important;
  color:#a5b4fc;background:rgba(99,102,241,.14);transform:none!important;filter:none!important}
html:root[data-theme="light"] body .landing-card>span[aria-hidden]{color:#4f46e5;background:rgba(99,102,241,.1)}
html:root body .landing-card>span[aria-hidden]::before{width:20px;height:20px}
html:root body .landing-card[href$="/spieltag"]{--ic:var(--ic-live)}
html:root body .landing-card[href$="/offene-spiele"]{--ic:var(--ic-target)}
html:root body .landing-card[href$="/dashboard"]{--ic:var(--ic-chart)}
html:root body .landing-card[href$="/groups"]{--ic:var(--ic-users)}
html:root body .landing-card[href$="/wall-of-fame"]{--ic:var(--ic-medal)}
html:root body .landing-card[href$="/leaderboard"]{--ic:var(--ic-trophy)}
html:root body .landing-card[href$="/faq"]{--ic:var(--ic-help)}
html:root body .landing-card[href$="/roadmap"]{--ic:var(--ic-compass)}
html:root body .landing-card[href$="/updates"]{--ic:var(--ic-sparkle)}
html:root body .landing-primary{display:flex!important;align-items:center;gap:10px}
html:root body .landing-primary.is-main{--ic:var(--ic-ball)}
html:root body .landing-primary.is-secondary{--ic:var(--ic-live)}
html:root body .landing-primary>strong{margin-left:auto}

/* 28.4 Kontomenü und Onboarding: gleiche Icons, Emoji ausgeblendet */
html:root body :is(.account-item-icon,.account-version-icon,.onb-link-icon){display:grid!important;place-items:center;font-size:0!important;line-height:0}
html:root body :is(.account-item-icon,.account-version-icon,.onb-link-icon)::before{width:18px;height:18px}
html:root body .account-item-profile{--ic:var(--ic-user)}
html:root body .account-item[onclick*="accountAvatarInput"]{--ic:var(--ic-image)}
html:root body .account-item[onclick*="openFavoriteClub"]{--ic:var(--ic-shield)}
html:root body .account-item[href*="display-name"]{--ic:var(--ic-pencil)}
html:root body .account-item[href*="wall-of-fame"]{--ic:var(--ic-medal)}
html:root body .account-item[onclick*="openSettings"]{--ic:var(--ic-sliders)}
html:root body .account-item[href*="notifications"]{--ic:var(--ic-bell)}
html:root body .account-item[href*="email-settings"]{--ic:var(--ic-mail)}
html:root body .account-item[onclick*="openPassword"]{--ic:var(--ic-key)}
html:root body .account-item[href*="twitch"]{--ic:var(--ic-link)}
html:root body .account-item[href="/community/"]{--ic:var(--ic-users)}
html:root body .account-item-logout{--ic:var(--ic-logout)}
html:root body .account-version-icon{--ic:var(--ic-flask)}
html:root body a[href*="support"] .onb-link-icon{--ic:var(--ic-lifebuoy)}
html:root body a[href*="roadmap"] .onb-link-icon{--ic:var(--ic-compass)}
html:root body a[href*="updates"] .onb-link-icon{--ic:var(--ic-sparkle)}
html:root body a[href*="faq"] .onb-link-icon{--ic:var(--ic-help)}


/* 28.5 Kopfzeile: Theme, Glocke, Chat und Admin mit denselben Linien-Icons statt ☀️/🌙/🔔/💬 */
:root{--ic-sun:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2.8v2.4M12 18.8v2.4M2.8 12h2.4M18.8 12h2.4M5.5 5.5l1.7 1.7M16.8 16.8l1.7 1.7M5.5 18.5l1.7-1.7M16.8 7.2l1.7-1.7'/%3E%3C/svg%3E");--ic-moon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 14.5A8 8 0 0 1 9.5 4.5a8 8 0 1 0 10 10z'/%3E%3C/svg%3E");--ic-tool:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6.5a4 4 0 0 0 5 5L12 19a2.1 2.1 0 0 1-3-3l7.5-7.5zM14.5 6.5l-2-2a4 4 0 0 0-5.4 5.4l2 2'/%3E%3C/svg%3E")}
html:root body .daddeln-global-icon>span[aria-hidden]:first-child{display:grid;place-items:center;font-size:0!important;line-height:0}
html:root body .daddeln-global-icon>span[aria-hidden]:first-child::before{content:"";width:19px;height:19px;background:currentColor;-webkit-mask:var(--ic,none) center/contain no-repeat;mask:var(--ic,none) center/contain no-repeat}
html:root body #themeToggleBtn{--ic:var(--ic-sun)}
html:root[data-theme="light"] body #themeToggleBtn{--ic:var(--ic-moon)}
html:root body .daddeln-global-icon[href*="notifications"]{--ic:var(--ic-bell)}
html:root body #chatBtn{--ic:var(--ic-chat)}
html:root body .daddeln-global-icon[href*="/admin/"]{--ic:var(--ic-tool)}

/* 28.6 Einstellung „Animationen reduzieren“ wirkt überall wie die Systemeinstellung (vorher nur Wappen und Startseiten-Kacheln) */
html:root body.user-reduce-motion *,html:root body.user-reduce-motion *::before,html:root body.user-reduce-motion *::after{
  animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}

/* 28.7 Tipp-Bereich: Inhalt wird nachgeladen – der Footer startet unterhalb des sichtbaren Bereichs, statt beim Laden
   nach unten zu springen (Layout-Shift vorher 0,50) */
html:root body.has-bottom-nav main#main-content{min-height:calc(100vh - 72px);min-height:calc(100dvh - 72px)}


/* 28.8 Professionelle Flächen: eine Akzentfarbe (Indigo 600, Kontrast zu Weiß 6,3:1) statt Verlauf Indigo→Pink mit Leuchtschatten.
   Der Markenverlauf bleibt dem Logo und den Avataren vorbehalten. */
:root{--ds-accent:#4f46e5;--ds-accent-hover:#4338ca;--ic-clock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E")}
html:root body :is(.tpill.active,#tabs .tab.active,.smart-section.has-active>summary){background:var(--ds-accent)!important;background-image:none!important;border-color:transparent!important;box-shadow:none!important;color:#fff!important}
html:root body :is(.btn-primary,.btn.btn-primary){background:var(--ds-accent)!important;background-image:none!important;box-shadow:none!important;border-color:transparent!important;color:#fff!important}
html:root body :is(.btn-primary,.btn.btn-primary):hover{background:var(--ds-accent-hover)!important}
html:root body :is(.btn-primary,.btn.btn-primary):focus-visible{outline:2px solid #a5b4fc!important;outline-offset:2px!important}
html:root body .landing-primary.is-main{background:var(--ds-accent)!important;background-image:none!important;box-shadow:none!important}
html:root body .public-profile-hero{background:var(--panel)!important;background-image:none!important;box-shadow:none!important}
html:root body .public-profile-club{background:rgba(99,102,241,.08)!important;background-image:none!important}
html:root body .public-profile-avatar{box-shadow:0 0 0 3px rgba(99,102,241,.18)!important}

/* 28.9 Gruppen-Tabs: eigene Icons statt 🏆📣💬👥🕘⚙️ */
html:root body a[href*="groups.php?id="][href*="&tab="]>span[aria-hidden]:first-child{display:inline-grid;place-items:center;font-size:0!important;line-height:0;vertical-align:-3px;margin-right:2px}
html:root body a[href*="groups.php?id="][href*="&tab="]>span[aria-hidden]:first-child::before{content:"";width:17px;height:17px;background:currentColor;-webkit-mask:var(--ic,none) center/contain no-repeat;mask:var(--ic,none) center/contain no-repeat}
html:root body a[href*="&tab=ranking"]{--ic:var(--ic-trophy)}
html:root body a[href*="&tab=announcements"]{--ic:var(--ic-megaphone)}
html:root body a[href*="&tab=chat"]{--ic:var(--ic-chat)}
html:root body a[href*="&tab=members"]{--ic:var(--ic-users)}
html:root body a[href*="&tab=history"]{--ic:var(--ic-clock)}
html:root body a[href*="&tab=settings"]{--ic:var(--ic-sliders)}

/* 28.10 Dialoge ohne Überzeilen („Hinweis“, „PROFIL“) – der Titel trägt */
html:root body :is(.ts-dialog-kicker,.account-dialog header>div>span:first-child:not(:only-child)){display:none!important}
/* Schnellmenü (Handy): Icons aus demselben Set */
html:root body .dbn-ico-svg{display:block;width:20px;height:20px;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
html:root body .dbn-fab{background:var(--ds-accent)!important;background-image:none!important;box-shadow:0 8px 20px rgba(2,6,23,.45)!important}
html:root body .dbn-item .dbn-ico{color:#a5b4fc}

/* ==========================================================================
   29 Ebenen-Skala für ALLE Seiten (Fehler 23.10.: Datenschutz-Pop-up lag auf der Registrierung HINTER dem Formular)
   Die --z-* Werte standen nur in v4.css (eingeloggter Bereich). entwicklung_theme.css nutzt sie aber überall
   (`z-index:var(--z-modal)!important` für alle Overlays, `body>*{z-index:1}`) – ohne Definition wurde daraus
   z-index:auto, und jedes Overlay landete auf öffentlichen Seiten hinter dem Inhalt. Werte identisch mit v4.css.
   ========================================================================== */
:root{--z-menu:120;--z-sticky:1100;--z-topbar:2200;--z-dock:2147481000;--z-shell:2147482500;--z-modal:2147483000;--z-portal:2147483600;--z-toast:2147483640}
/* Mobiles Menü (Bubble + Sheet): lag mit 1400 unter der oberen Leiste (2200) – die Leiste blieb hell und klickbar,
   während das Menü offen war. Nur bei offenem Menü knapp über die Leiste, sonst bleibt die Bubble unter Leiste und Kontomenü. */
html:root:has(.dbn-sheet.is-open){--dbn-z:2300}
/* 29.1 Einblend-Animationen von Karten/Panels: `both` hielt nach dem Ende transform:matrix(1,0,0,1,0,0) fest
   (Interpolation nach `none` endet als Einheitsmatrix). Damit war jede Karte Bezugsrahmen für position:fixed –
   die Reaktionsauswahl auf dem Handy öffnete z. B. 1.400 px unterhalb des Bildschirms. `backwards` lässt die Animation
   nach dem Ende los; isolation hält Wasserzeichen mit z-index:-1 weiter innerhalb der Karte. Die Hover-Anhebung
   war durch die Animation bisher wirkungslos und bleibt deshalb aus. Karte und <main> mit offener Auswahl liegen
   über den folgenden Karten und dem Footer, sonst übermalten diese die Auswahl. */
html:root body :is(.card,.community-card,.panel.active,.league-shell>section){animation-fill-mode:backwards;isolation:isolate}
html:root body :is(.card,.community-card):hover{transform:none}
html:root body :is(.card,.community-card,.panel.active,.league-shell>section):has(.reaction-wrap.picker-open){position:relative;z-index:5}
html:root body>main:has(.reaction-wrap.picker-open){z-index:3}
/* 29.2 Suchvorschläge in einer Karte (Fehlerseite): .card{overflow:hidden} schnitt die Liste ab, der Footer lag darüber. */
html:root body .card:has([data-public-search]){overflow:visible}
html:root body>main:has([data-public-search]){z-index:2}
/* 29.3 DE/EN-Umschalter (serverseitig eingefügt) lag mit 2147483000 gleichauf mit Dialogen und darüber.
   Jetzt unter Chat und Dialogen. */
html:root body .file-language-switcher{z-index:2147480000}
/* 29.4 Handy: Der Schließen-Knopf im Spieldetail scrollte bei langen Details mit weg. Jetzt sticky.
   Ruheposition unverändert (11px vom Rand, gemessen); die negativen Ränder heben den Platz im Fluss exakt auf.
   Sticky-Abstände zählen ab der Inhaltsbox, daher top/right = 10px minus Innenabstand (16px/14px bis 600px).
   Hintergrund deckend: Dialogfarbe geerbt, der bisherige halbtransparente Ton liegt darüber – gleiches Aussehen,
   aber darunter scrollender Text scheint nicht mehr durch. */
@media(max-width:600px){
  html:root body .d-modal>.d-close:first-child{position:sticky;top:-6px;right:-4px;display:block;margin:-6px -4px -26px auto;z-index:3;
    background:linear-gradient(rgba(255,255,255,.035),rgba(255,255,255,.035))!important;background-color:inherit!important}
  html:root[data-theme="light"] body .d-modal>.d-close:first-child{background:linear-gradient(rgba(15,23,42,.06),rgba(15,23,42,.06))!important;background-color:inherit!important}
}
