:root{--green:#0f3d2e;--green2:#176b45;--lime:#c7f464;--sand:#f5f1e8;--ink:#17211d;--muted:#66756d;--card:#fff;--line:#e6e0d2}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--sand);color:var(--ink)}a{color:inherit}
.site-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1rem;background:rgba(15,61,46,.96);color:white;backdrop-filter:blur(10px)}
.brand{font-weight:900;text-decoration:none;letter-spacing:.02em}
.top-nav{display:flex;gap:.8rem;overflow:auto;white-space:nowrap}
.top-nav a{text-decoration:none;font-size:.92rem;opacity:.9}
.hero{display:grid;gap:1.5rem;padding:3rem 1rem 1.5rem;background:radial-gradient(circle at 20% 10%,#2f8f5b 0,#0f3d2e 48%,#08251b 100%);color:white}
.hero h1{font-size:clamp(2.4rem,12vw,5.8rem);line-height:.9;margin:.25rem 0;font-weight:950;letter-spacing:-.06em}
.hero p{max-width:64ch;color:rgba(255,255,255,.84)}
.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.78rem;color:var(--lime)!important}
.hero-media{min-height:260px;border-radius:1.5rem;overflow:hidden;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16)}
.hero-media img{width:100%;height:100%;min-height:260px;object-fit:cover}
.photo-placeholder,.player-photo-placeholder{height:100%;min-height:260px;display:grid;place-items:center;color:rgba(255,255,255,.75);font-weight:800;border:2px dashed rgba(255,255,255,.22)}
.next-match-pill{margin-top:1rem;display:inline-flex;flex-direction:column;gap:.15rem;padding:1rem 1.2rem;border-radius:1rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18)}
.next-match-pill span{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:var(--lime)}
.team-switch{padding:1rem;display:flex;flex-direction:column;gap:.75rem;background:white;border-bottom:1px solid var(--line)}
.team-switch>span{font-weight:800;color:var(--muted);font-size:.85rem}
.chip{display:inline-block;margin:.2rem .25rem .2rem 0;padding:.55rem .85rem;border-radius:999px;background:#edf3ec;text-decoration:none;font-weight:800}
.chip.active{background:var(--green);color:white}
.section{padding:2.25rem 1rem}
.section-dark{background:#101915;color:white}
.section-live{background:#e8f4df}
.section-head{margin-bottom:1.25rem}
.section-head p{margin:0 0 .25rem;color:var(--green2);font-weight:900;text-transform:uppercase;letter-spacing:.16em;font-size:.75rem}
.section-dark .section-head p{color:var(--lime)}
.section-head h2{margin:0;font-size:clamp(1.9rem,8vw,3.6rem);letter-spacing:-.05em}
.news-grid,.player-grid,.result-grid{display:grid;gap:1rem}
.news-card,.empty-card,.fixture-card,.result-card,.score-card{background:var(--card);border-radius:1.25rem;overflow:hidden;box-shadow:0 18px 45px rgba(20,28,22,.08);border:1px solid rgba(0,0,0,.04)}
.news-card img{width:100%;height:180px;object-fit:cover}
.news-card>div,.empty-card,.result-card,.score-card{padding:1rem}
.news-card time,.result-card p,.muted{color:var(--muted);font-size:.88rem}
.news-card h3,.fixture-card h3,.result-card h3{margin:.25rem 0;font-size:1.15rem}
.player-card{position:relative;overflow:hidden;border-radius:1.25rem;background:#1b2a23;min-height:340px;box-shadow:0 20px 60px rgba(0,0,0,.22)}
.player-card img,.player-photo-placeholder{width:100%;height:340px;object-fit:cover;display:block}
.player-card:after{content:"";position:absolute;inset:auto 0 0;height:48%;background:linear-gradient(transparent,rgba(0,0,0,.82))}
.player-info{position:absolute;z-index:1;left:0;right:0;bottom:0;padding:1rem;color:white}
.player-info h3{font-size:1.35rem;margin:0;letter-spacing:-.03em}
.player-info p{margin:.25rem 0;color:rgba(255,255,255,.78)}
.player-meta{display:flex;gap:.4rem;flex-wrap:wrap}
.player-meta span,.badge{display:inline-block;border-radius:999px;background:rgba(199,244,100,.18);color:var(--lime);padding:.25rem .55rem;font-size:.78rem;font-weight:800}
.match-list{display:grid;gap:.8rem}
.fixture-card{display:grid;grid-template-columns:74px 1fr;gap:1rem;padding:1rem;align-items:center}
.datebox{border-radius:1rem;background:var(--green);color:white;text-align:center;padding:.7rem .3rem}
.datebox strong{display:block;font-size:1.7rem;line-height:1}
.datebox span{font-size:.74rem;color:rgba(255,255,255,.78)}
.sets{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.75rem}
.sets span{background:#eef4ee;border-radius:.7rem;padding:.45rem .65rem;font-weight:950}
.result-card h3 span{color:var(--muted);font-size:.9rem}
.empty-card{color:var(--muted)}
.empty-card.dark{background:#1a2720;color:rgba(255,255,255,.7)}
.admin-layout{padding:1rem;max-width:1180px;margin:auto}
.admin-nav{display:flex;gap:.5rem;overflow:auto;margin:1rem 0}
.admin-nav a,.btn,button{display:inline-block;border:0;border-radius:.8rem;background:var(--green);color:white;text-decoration:none;font-weight:850;padding:.75rem 1rem;cursor:pointer}
.btn-secondary{background:#475569}
.btn-danger{background:#b91c1c}
.admin-grid,.form-grid{display:grid;gap:1rem}
.card{background:white;border-radius:1rem;padding:1rem;box-shadow:0 12px 30px rgba(0,0,0,.06)}
input,select,textarea{width:100%;padding:.75rem;border:1px solid #cfd8cf;border-radius:.75rem;font:inherit;background:white}
label{font-weight:800;font-size:.9rem}
.table-wrap{overflow:auto;background:white;border-radius:1rem}
table{width:100%;border-collapse:collapse}
td,th{padding:.75rem;border-bottom:1px solid #e5e7eb;text-align:left}
.score-buttons{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}
.upload-hint{padding:1rem;border:2px dashed #cbd5c0;border-radius:1rem;color:var(--muted);background:#fbfaf5}
.thumb{width:72px;height:72px;object-fit:cover;border-radius:.8rem;background:#edf3ec}
@media(min-width:760px){
    .hero{grid-template-columns:1.05fr .95fr;align-items:center;padding:5rem 2rem 2rem}
    .section,.team-switch{padding-left:2rem;padding-right:2rem}
    .news-grid{grid-template-columns:repeat(3,1fr)}
    .player-grid{grid-template-columns:repeat(3,1fr)}
    .result-grid{grid-template-columns:repeat(2,1fr)}
    .form-grid,.admin-grid{grid-template-columns:repeat(2,1fr)}.span-2{grid-column:span 2}}
@media(min-width:1120px){
    .hero,.section,.team-switch{padding-left:calc((100vw - 1120px)/2);padding-right:calc((100vw - 1120px)/2)}
    .player-grid{grid-template-columns:repeat(4,1fr)}.result-grid{grid-template-columns:repeat(3,1fr)}}

/* One-Pager Rubriken */
.rubric-link{border-radius:999px;padding:.45rem .7rem}
.rubric-link.active{background:rgba(199,244,100,.18);color:var(--lime);opacity:1}
.accordion-section{display:none;animation:fadeIn .18s ease-out}
.accordion-section.is-open{display:block}
@keyframes fadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.table-wrap form{margin:0}.table-wrap .btn,.table-wrap button{padding:.55rem .7rem;margin:.1rem}.score-buttons label{grid-column:1/-1}.score-buttons button{min-height:3rem}.muted{color:var(--muted)}

/* Große Rubrik-Kacheln auf der Landing Page */
.compact-nav{gap:.5rem}
.compact-nav a{border-radius:999px;background:rgba(255,255,255,.1);padding:.5rem .8rem;font-weight:850}
.rubric-tiles{
  display:grid;
  grid-template-columns:1fr;
  gap:1rem;
  padding:1rem;
  background:linear-gradient(180deg,#ffffff 0%, var(--sand) 100%);
  border-bottom:1px solid var(--line);
}
.rubric-tile{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:132px;
  padding:1.1rem;
  border-radius:1.35rem;
  text-decoration:none;
  color:var(--ink);
  background:#fff;
  border:1px solid rgba(15,61,46,.08);
  box-shadow:0 18px 45px rgba(20,28,22,.08);
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rubric-tile:before{
  content:"";
  position:absolute;
  inset:auto -30px -45px auto;
  width:120px;
  height:120px;
  border-radius:999px;
  background:rgba(23,107,69,.09);
}
.rubric-tile:hover,
.rubric-tile:focus-visible{
  transform:translateY(-3px);
  box-shadow:0 24px 60px rgba(20,28,22,.13);
  border-color:rgba(23,107,69,.32);
  outline:none;
}
.rubric-tile.active{
  color:white;
  background:radial-gradient(circle at 90% 110%, rgba(199,244,100,.28), transparent 34%), linear-gradient(135deg,var(--green),#09271c);
  border-color:rgba(199,244,100,.4);
}
.rubric-tile.active:before{background:rgba(199,244,100,.16)}
.rubric-tile strong{
  position:relative;
  display:block;
  margin:.45rem 0 .3rem;
  font-size:clamp(1.3rem,7vw,2.05rem);
  line-height:.95;
  letter-spacing:-.055em;
}
.rubric-tile small{
  position:relative;
  max-width:24ch;
  color:var(--muted);
  font-weight:650;
}
.rubric-tile.active small{color:rgba(255,255,255,.78)}
.tile-kicker{
  position:relative;
  color:var(--green2);
  font-size:.75rem;
  font-weight:950;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.rubric-tile.active .tile-kicker{color:var(--lime)}
@media(min-width:680px){
  .rubric-tiles{grid-template-columns:repeat(2,1fr);padding:1.25rem 2rem}
  .rubric-tile:first-child{grid-column:span 2}
}
@media(min-width:1040px){
  .rubric-tiles{grid-template-columns:repeat(5,1fr);align-items:stretch}
  .rubric-tile:first-child{grid-column:auto}
}
@media(min-width:1120px){
  .rubric-tiles{padding-left:calc((100vw - 1120px)/2);padding-right:calc((100vw - 1120px)/2)}
}

/* Admin quality-of-life + Live Scoring UI */
.admin-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}.admin-header h1{margin:.2rem 0}
.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;background:linear-gradient(135deg,#fff,#eef7eb)}
.admin-eyebrow{color:var(--green2)!important}
.live-admin-card{border-left:5px solid var(--green2)}
.live-admin-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;flex-wrap:wrap}
.live-admin-head h3{margin:.15rem 0}
.score-overview{margin:.85rem 0 1rem}
.score-panel{border:1px solid #e2e8df;border-radius:1rem;padding:.75rem;margin-top:.8rem;background:#fbfdf8}
.score-panel summary{cursor:pointer;font-weight:950;color:var(--green)}
.score-panel[open] summary{margin-bottom:.5rem}
.score-panel .form-grid button{align-self:end}
.score-buttons button{font-size:1rem}
.score-buttons button[name="action"][value="point_home"]{background:var(--green2)}
.score-buttons button[name="action"][value="point_away"]{background:#1f2937}
@media(min-width:760px){.score-buttons{grid-template-columns:1fr 1fr 1fr}.score-buttons label{grid-column:auto}.score-panel .form-grid{grid-template-columns:repeat(4,1fr)}}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .2rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.language-switch a {
  padding: .35rem .55rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: .8rem;
  opacity: .78;
}
.language-switch a.active {
  background: #fff;
  color: #0f3d2e;
  opacity: 1;
}
.admin-nav .language-switch {
  margin-left: auto;
  border-color: rgba(15, 61, 46, .18);
  background: rgba(15, 61, 46, .06);
}
.admin-nav .language-switch a.active {
  background: #0f3d2e;
  color: #fff;
}

/* Ergebnis-Auswahl und mobile Live-Scoring Controls */
.fixture-select-grid,
.result-fixture-list {
  display: grid;
  gap: 1rem;
}
.fixture-result-tile,
.public-result-fixture {
  display: block;
  background: #fff;
  border: 1px solid rgba(15,61,46,.09);
  border-radius: 1.2rem;
  padding: 1rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 14px 36px rgba(20,28,22,.07);
}
.fixture-result-tile strong,
.public-result-fixture summary strong {
  display: block;
  margin: .25rem 0;
  font-size: 1.1rem;
}
.fixture-result-tile b,
.public-result-fixture summary b,
.team-score-large {
  display: inline-block;
  margin: .45rem 0;
  padding: .45rem .7rem;
  border-radius: .85rem;
  background: var(--green);
  color: #fff;
  font-weight: 950;
}
.fixture-result-tile span,
.fixture-result-tile small,
.public-result-fixture summary span,
.public-result-fixture summary small {
  display: block;
  color: var(--muted);
}
.public-result-fixture summary {
  cursor: pointer;
  list-style: none;
}
.public-result-fixture summary::-webkit-details-marker { display: none; }
.public-result-fixture summary:after {
  content: attr(data-closed-label);
  display: inline-block;
  margin-top: .55rem;
  color: var(--green2);
  font-weight: 900;
}
.public-result-fixture[open] summary:after { content: attr(data-open-label); }
.result-grid-nested { margin-top: 1rem; }
.mobile-score-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.mobile-score-form label {
  grid-column: 1 / -1;
}
.score-big,
.score-small {
  min-height: 4.5rem;
  font-size: 1.05rem;
  line-height: 1.15;
  white-space: normal;
}
.score-big {
  background: var(--green2);
}
.score-big.dark {
  background: #111827;
}
.score-small {
  min-height: 3.25rem;
  background: #64748b;
}
.score-small.neutral {
  grid-column: 1 / -1;
  background: #475569;
}
@media(min-width:760px){
  .fixture-select-grid{grid-template-columns:repeat(2,1fr)}
  .mobile-score-form{grid-template-columns:repeat(5,1fr)}
  .mobile-score-form label{grid-column:auto}
  .score-small.neutral{grid-column:auto}
}

.fixture-day-group{display:grid;gap:.75rem}
.fixture-day-heading{display:flex;align-items:center;gap:.75rem;margin:.5rem 0 .25rem}
.fixture-day-heading:after{content:"";height:1px;background:var(--line);flex:1}
.fixture-day-heading span{font-weight:950;text-transform:uppercase;letter-spacing:.12em;color:var(--green2);font-size:.8rem}
.fixture-card-wide{grid-template-columns:74px 1fr}
.fixture-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}
.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:.25rem .55rem;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;background:#edf3ec;color:var(--green)}
.status-running{background:var(--lime);color:#1b2a23}
.grouped-match-list{gap:1.25rem}


.fixture-public-details{display:block;padding:0}
.fixture-public-details>summary{list-style:none;display:grid;grid-template-columns:74px 1fr;gap:1rem;padding:1rem;align-items:center;cursor:pointer}
.fixture-public-details>summary::-webkit-details-marker{display:none}

.fixture-public-details>summary:after{content:attr(data-closed-label);grid-column:2;color:var(--green2);font-weight:900;font-size:.85rem}
.fixture-public-details[open]>summary:after{content:attr(data-open-label);}

.fixture-score-line{margin-top:.35rem;color:var(--green2);font-weight:850}
.fixture-detail-actions{display:flex;flex-wrap:wrap;gap:.5rem;padding:0 1rem 1rem 1rem}
.fixture-match-preview{padding:0 1rem 1rem 1rem}
.live-fixture-group{background:var(--card);border-radius:1.25rem;box-shadow:0 18px 45px rgba(20,28,22,.08);border:1px solid rgba(0,0,0,.04);margin-bottom:1rem;overflow:hidden}
.live-fixture-group>summary{list-style:none;display:grid;gap:.25rem;padding:1rem;cursor:pointer}
.live-fixture-group>summary::-webkit-details-marker{display:none}
.live-fixture-group>summary span,
.live-fixture-group>summary small{color:var(--muted);font-size:.85rem}
.live-fixture-group>summary strong{font-size:1.15rem}
.live-fixture-group>summary b{color:var(--green2)}
.score-fixture-grid{display:grid;gap:.75rem;padding:0 1rem 1rem}
.score-card-nested{box-shadow:none;border:1px solid var(--line)}
@media(min-width:760px){.score-fixture-grid{grid-template-columns:repeat(2,1fr)}}

.fixture-info-note{
    display:inline-flex;
    align-items:center;
    padding:.7rem .95rem;
    border-radius:.85rem;
    background:rgba(18,59,42,.08);
    color:var(--green);
    font-weight:850;
}

.hero-info-card{
    transition:
            transform .18s ease,
            background .18s ease,
            border-color .18s ease,
            box-shadow .18s ease;
}

.hero-info-card:hover,
.hero-info-card:focus-visible{
    transform:translateY(-2px);
    background:rgba(255,255,255,.18);
    border-color:rgba(240,200,90,.45);
    outline:none;
}

/* Fine tuning: Rubrik-Kacheln bei 5 Spalten + Zurück-nach-oben-Link */
@media (min-width:1040px){
  .rubric-tile{
    min-height:138px;
    padding:1rem .95rem;
  }
  .rubric-tile strong{
    font-size:clamp(1.18rem,1.7vw,1.58rem);
    line-height:1.02;
    letter-spacing:-.045em;
    overflow-wrap:normal;
    hyphens:auto;
  }
  .rubric-tile[data-section="matches"] strong{
    font-size:clamp(1.08rem,1.45vw,1.38rem);
    line-height:1.04;
    letter-spacing:-.04em;
  }
  .rubric-tile small{
    font-size:.76rem;
    line-height:1.2;
  }
  .tile-kicker{
    font-size:.68rem;
  }
}
@media (min-width:1180px){
  .rubric-tile strong{
    font-size:1.72rem;
  }
  .rubric-tile[data-section="matches"] strong{
    font-size:1.48rem;
  }
}
.back-to-top{
  display:flex;
  justify-content:center;
  margin:2rem 0 0;
}
.back-to-top a{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  border-radius:999px;
  padding:.75rem 1rem;
  background:var(--green);
  color:#fff;
  text-decoration:none;
  font-weight:900;
  box-shadow:0 12px 28px rgba(15,61,46,.18);
}
.back-to-top a:hover,
.back-to-top a:focus-visible{
  background:var(--green2);
  outline:none;
}

/* Admin Navigation: responsive button grid, no horizontal scrollbar */
.admin-nav{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.55rem;
  overflow:visible;
  margin:1rem 0 1.25rem;
}
.admin-nav a,
.admin-nav .language-switch{
  min-height:2.75rem;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  white-space:normal;
}
.admin-nav .language-switch{
  margin-left:0;
  padding:.25rem;
  background:#fff;
}
.admin-nav .language-switch a{
  min-height:2.15rem;
  padding:.45rem .6rem;
}
@media(min-width:620px){.admin-nav{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(min-width:920px){.admin-nav{grid-template-columns:repeat(5,minmax(0,1fr));}}
@media(min-width:1180px){.admin-nav{grid-template-columns:repeat(6,minmax(0,1fr));}}

/* Dashboard cards: cleaner action buttons */
.admin-grid .card{
  display:flex;
  flex-direction:column;
  gap:.5rem;
}
.admin-grid .card h2{margin:.1rem 0;font-size:1.1rem;line-height:1.15}
.admin-grid .card p{font-size:2rem;font-weight:950;margin:.1rem 0;color:var(--green)}
.admin-grid .card .btn{margin-top:auto;text-align:center}

/* Tennis-like live scoring controls */
.live-pro-form{
  grid-template-columns:1fr 1fr;
  align-items:stretch;
}
.live-pro-form .set-picker,
.live-pro-form .winner-picker{
  grid-column:1/-1;
}
.live-pro-form button small{
  display:block;
  margin-top:.15rem;
  font-size:.78rem;
  font-weight:750;
  opacity:.9;
}
.score-small.set-win{background:#2563eb}
.score-small.set-win.dark{background:#334155}
.score-small.danger-soft{background:#9f1239}
.score-finish{
  grid-column:1/-1;
  min-height:3.8rem;
  background:#b91c1c;
  font-size:1.08rem;
}
.score-overview span{
  display:inline-flex;
  align-items:center;
  min-height:2.4rem;
}
@media(min-width:760px){
  .live-pro-form{grid-template-columns:repeat(4,1fr)}
  .live-pro-form .set-picker{grid-column:span 2}
  .live-pro-form .winner-picker{grid-column:span 2}
  .score-finish{grid-column:span 2}
}

/* Language switch restored as a visible DE/EN toggle */
.site-header .language-switch,
.admin-header .language-switch,
.login-header .language-switch {
  flex: 0 0 auto;
}
.language-switch {
  box-shadow: inset 0 0 0 1px rgba(15,61,46,.08), 0 8px 22px rgba(15,61,46,.12);
}
.site-header .language-switch {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.14);
}
.language-switch-admin {
  border-color: rgba(15,61,46,.15);
  background: #fff;
}
.language-switch-admin a.active {
  background: var(--green);
  color: #fff;
}
@media(max-width:640px){
  .admin-header .language-switch{width:auto;align-self:flex-start}
}


/* Active admin navigation state */
.admin-nav a.active{
  background:var(--lime);
  color:var(--green);
  box-shadow:inset 0 0 0 2px rgba(15,61,46,.18), 0 10px 22px rgba(15,61,46,.12);
}
.admin-nav a.active:hover{
  background:var(--lime);
  color:var(--green);
}

/* Opponent administration: selected opponent team */
tr.row-active td{
  background:#f0f9e8;
  box-shadow:inset 4px 0 0 var(--lime);
}

/* Multi-team admin context */
.admin-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
}
.admin-team-switch label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-weight: 700;
}
.admin-team-switch select {
  min-width: 220px;
  padding: .7rem .85rem;
  border-radius: .8rem;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  font-weight: 700;
}
.admin-context-pill {
  margin-top: 1rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: rgba(22, 101, 52, .10);
  color: #14532d;
  display: inline-flex;
  gap: .35rem;
}
@media (min-width: 760px) {
  .admin-header-grid {
    grid-template-columns: 1fr auto auto;
  }
}

/* League portal tile + admin table framework */
.external-tile { background: linear-gradient(135deg, var(--green), #0b1720); color: white; }
.external-tile .tile-kicker, .external-tile small { color: rgba(255,255,255,.78); }
.external-tile strong:after { content: ' ↗'; font-size: .82em; }
@media (min-width:1040px){
  .rubric-tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .rubric-tile { min-width: 0; }
}
.dt-toolbar { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; justify-content:space-between; margin:.25rem 0 1rem; }
.dt-footer { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; justify-content:space-between; margin-top:1rem; }
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select { border:1px solid #cfd8cf; border-radius:.65rem; padding:.45rem .65rem; margin-left:.35rem; }
.dataTables_wrapper .dt-buttons { display:flex; flex-wrap:wrap; gap:.35rem; }
.dataTables_wrapper .dt-button { border:0!important; border-radius:.7rem!important; background:#edf3ec!important; color:var(--green)!important; font-weight:850!important; padding:.55rem .75rem!important; }
table.dataTable thead th { white-space:nowrap; }
table.dataTable tbody tr:hover { background:#f8fbf3; }
@media(max-width:700px){
  .dt-toolbar,.dt-footer{display:block}.dataTables_wrapper .dt-buttons{margin-bottom:.75rem}.dataTables_wrapper .dataTables_filter{margin-top:.75rem;text-align:left!important}
}

/* Global club branding */
.brand-with-logo{display:inline-flex;align-items:center;gap:.55rem}
.brand-with-logo img{width:34px;height:34px;object-fit:contain;border-radius:.55rem;background:white;padding:.12rem}
.club-brand-panel{display:inline-flex;align-items:center;gap:.8rem;margin-bottom:.8rem;padding:.7rem .9rem;border-radius:1.1rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);max-width:min(100%,680px)}
.club-brand-panel img{width:64px;height:64px;object-fit:contain;border-radius:1rem;background:white;padding:.25rem;flex:0 0 auto}
.club-brand-panel strong{display:block;font-size:1.05rem;color:white}
.club-brand-panel small{display:block;max-width:56ch;color:rgba(255,255,255,.78);font-weight:650;line-height:1.35}
.admin-preview-image{display:block;width:100%;max-height:280px;object-fit:cover;border-radius:1rem;background:#edf3ec;border:1px solid var(--line)}
.admin-preview-image.logo-preview{max-width:220px;height:160px;object-fit:contain;padding:1rem}
.success-box{padding:.75rem 1rem;border-radius:.75rem;background:#dcfce7;color:#14532d;font-weight:850}
@media(max-width:560px){.club-brand-panel{align-items:flex-start}.club-brand-panel img{width:52px;height:52px}.brand-with-logo img{width:28px;height:28px}}

/* Spieler-Karten: Foto-Fallback + optionale Daten auf der Landing Page */
.player-card-rich .player-info{
  padding:1rem;
}
.player-meta-rich{
  margin-top:.55rem;
  display:flex;
  gap:.4rem;
  flex-wrap:wrap;
}
.player-meta-rich span{
  display:inline-flex;
  flex-direction:column;
  gap:.05rem;
  line-height:1.05;
  min-width:72px;
}
.player-meta-rich small{
  color:rgba(255,255,255,.64);
  font-size:.62rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.player-bio{
  margin:.7rem 0 0!important;
  color:rgba(255,255,255,.78)!important;
  font-size:.88rem;
  line-height:1.35;
  max-width:34ch;
}
@media (max-width:520px){
  .player-card{min-height:380px}
  .player-card img,.player-photo-placeholder{height:380px}
}

/* TC1913-inspiriertes Farbschema + moderne Team-Portraits */
:root{
  --green:#123b2a;
  --green2:#2f6b45;
  --lime:#f0c85a;
  --sand:#f7f1e6;
  --clay:#b95b36;
  --clay-dark:#8f3f25;
  --cream:#fffaf0;
  --ink:#172018;
  --muted:#6f7469;
  --card:#fffaf0;
  --line:#e7dccb;
}
body{
  background:linear-gradient(180deg,var(--sand),#efe5d4);
}
.site-header{
  background:rgba(18,59,42,.96);
  border-bottom:1px solid rgba(240,200,90,.24);
}
.hero{
  background:
    radial-gradient(circle at 88% 12%, rgba(240,200,90,.26), transparent 28%),
    radial-gradient(circle at 10% 95%, rgba(185,91,54,.30), transparent 34%),
    linear-gradient(135deg,#123b2a 0%,#184e34 52%,#7b3825 100%);
}
.hero-media{
  border:1px solid rgba(240,200,90,.28);
  box-shadow:0 26px 80px rgba(20,28,22,.28);
}
.eyebrow,.next-match-pill span,.section-dark .section-head p{
  color:var(--lime)!important;
}
.next-match-pill,.club-brand-panel{
  background:rgba(255,250,240,.12);
  border-color:rgba(240,200,90,.28);
}
.team-switch{
  background:var(--cream);
}
.chip{
  background:#efe3cf;
  color:var(--green);
}
.chip.active{
  background:var(--clay);
  color:#fff;
}
.rubric-tiles{
  background:linear-gradient(180deg,var(--cream),var(--sand));
}
.rubric-tile{
  background:var(--cream);
  border-color:rgba(185,91,54,.13);
  box-shadow:0 20px 50px rgba(55,38,24,.08);
}
.rubric-tile:before{
  background:rgba(185,91,54,.10);
}
.rubric-tile:hover,
.rubric-tile:focus-visible{
  border-color:rgba(185,91,54,.38);
}
.rubric-tile.active{
  background:radial-gradient(circle at 88% 112%, rgba(240,200,90,.30), transparent 34%),linear-gradient(135deg,var(--green),#0d281e 58%,var(--clay-dark));
  border-color:rgba(240,200,90,.42);
}
.tile-kicker{
  color:var(--clay);
}
.external-tile{
  background:linear-gradient(135deg,var(--clay-dark),var(--green));
}
.section-dark{
  background:linear-gradient(180deg,#0f2f23,#10291f);
}
.section-live{
  background:#eadcc7;
}
.news-card,.empty-card,.fixture-card,.result-card,.score-card,.live-fixture-group,.public-result-fixture,.fixture-result-tile,.card{
  background:var(--cream);
  border-color:rgba(185,91,54,.10);
}
.datebox,.team-score-large,.fixture-result-tile b,.public-result-fixture summary b{
  background:linear-gradient(135deg,var(--green),#194f36);
}
.status-running{
  background:var(--lime);
  color:#352414;
}
.btn,button,.admin-nav a{
  background:var(--green);
}
.btn-secondary{
  background:var(--clay);
}
.sets span{
  background:#efe3cf;
  color:var(--green);
}

/* Teampräsentation: große Portraits, klare Namensfläche, wenig Ablenkung */
.player-grid{
  gap:1.15rem;
}
.player-card{
  min-height:410px;
  border-radius:1.35rem;
  background:var(--cream);
  box-shadow:0 24px 70px rgba(25,40,28,.22);
  border:1px solid rgba(240,200,90,.16);
  transform:translateZ(0);
}
.player-card:hover{
  transform:translateY(-4px);
  transition:transform .18s ease, box-shadow .18s ease;
  box-shadow:0 32px 90px rgba(25,40,28,.30);
}
.player-card:after{
  display:none;
}
.player-card img,
.player-photo-placeholder{
  height:300px;
  object-position:center top;
  background:#e8ddc9;
}
.player-photo-placeholder{
  color:var(--green);
  border:2px dashed rgba(18,59,42,.20);
}
.player-info{
  position:absolute;
  left:.7rem;
  right:.7rem;
  bottom:.7rem;
  border-radius:1rem;
  background:rgba(255,250,240,.96);
  color:var(--ink);
  box-shadow:0 16px 38px rgba(31,24,16,.18);
  border-top:4px solid var(--clay);
}
.player-info h3{
  color:var(--green);
  font-size:1.25rem;
}
.player-info p{
  color:var(--muted);
}
.player-meta span,
.player-meta-rich span,.badge{
  background:rgba(18,59,42,.08);
  color:var(--green);
}
.player-meta-rich small{
  color:var(--clay);
}
.player-bio{
  color:var(--muted)!important;
}
@media(min-width:760px){
  .player-card{min-height:430px}
  .player-card img,.player-photo-placeholder{height:315px}
}
@media(min-width:1120px){
  .player-grid{grid-template-columns:repeat(4,1fr)}
  .player-card{min-height:440px}
  .player-card img,.player-photo-placeholder{height:325px}
}

/* Fix: robuste Bilddarstellung + Ligaportal-Kachel optisch angleichen */
.hero-title-row{
  display:flex;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
}
/*.hero-title-row h1{
  margin-right:.25rem;
}*/
.hero-title-row h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.05;
}
.hero-team-photo{
  width:118px;
  height:78px;
  object-fit:cover;
  border-radius:1rem;
  border:2px solid rgba(240,200,90,.55);
  box-shadow:0 16px 44px rgba(0,0,0,.25);
  background:rgba(255,250,240,.16);
}
.hero-media img,
.brand-with-logo img,
.club-brand-panel img,
.player-card img,
.news-card img{
  display:block;
}
.rubric-tiles .external-tile{
  background:var(--cream);
  color:var(--ink);
  border-color:rgba(185,91,54,.13);
}
.rubric-tiles .external-tile .tile-kicker{
  color:var(--clay);
}
.rubric-tiles .external-tile small{
  color:var(--muted);
}
.rubric-tiles .external-tile:hover,
.rubric-tiles .external-tile:focus-visible{
  border-color:rgba(185,91,54,.38);
}
@media(min-width:1040px){
  .rubric-tiles .external-tile{order:99;}
}
@media(max-width:620px){
  .hero-team-photo{width:96px;height:64px;}
}

/* Go-live: clickable club panel + news pagination */
.club-brand-panel{display:flex;gap:.85rem;align-items:center;max-width:560px;padding:.85rem 1rem;border-radius:1rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);color:white;text-decoration:none}
.club-brand-panel img{width:54px;height:54px;object-fit:contain;border-radius:.7rem;background:white;padding:.25rem}
.club-brand-panel strong{display:block}
.club-brand-panel small{display:block;color:rgba(255,255,255,.78);margin-top:.15rem}
.club-brand-panel em{display:inline-block;margin-top:.35rem;font-style:normal;color:var(--lime);font-weight:900;font-size:.82rem}
.club-brand-panel-link{cursor:pointer;transition:transform .18s ease, background .18s ease, border-color .18s ease}
.club-brand-panel-link:hover,.club-brand-panel-link:focus-visible{transform:translateY(-2px);background:rgba(255,255,255,.17);border-color:rgba(199,244,100,.45);outline:none}
.section-actions{margin-top:1.25rem;text-align:center}.section-actions .btn{min-width:180px}
.news-card[hidden]{display:none!important}
.news-admin-note{padding:.75rem 1rem;border-radius:.9rem;background:#edf7ed;color:var(--green);font-weight:750}
.admin-preview-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;align-items:start}
.admin-preview-row>div{display:flex;flex-direction:column;gap:.5rem}
.thumb-large{width:100%;max-width:220px;height:130px;object-fit:cover;border-radius:.8rem;background:#f4f1e8;border:1px solid rgba(50,69,42,.14)}

/* Landing vNext: vertikale Rubrik-Kacheln mit Content direkt darunter */
.rubric-stack,
.rubric-tiles.rubric-stack{
  display:block;
  max-width:1120px;
  margin:0 auto;
  padding:1.25rem 1rem 2rem;
  background:linear-gradient(180deg,var(--cream),var(--sand));
  border-bottom:1px solid var(--line);
}
.rubric-stack .rubric-tile{
  width:100%;
  min-height:112px;
  margin:0 0 .8rem;
  padding:1.05rem 1.15rem;
  display:grid;
  grid-template-columns:1fr auto;
  grid-template-rows:auto auto auto;
  column-gap:1rem;
  align-items:center;
}
.rubric-stack .rubric-tile:after{
  content:'+';
  grid-column:2;
  grid-row:1 / 4;
  width:2.25rem;
  height:2.25rem;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(18,59,42,.08);
  color:var(--green);
  font-size:1.4rem;
  font-weight:950;
}
.rubric-stack .rubric-tile.active:after{
  content:'−';
  background:rgba(255,250,240,.18);
  color:#fff;
}
.rubric-stack .rubric-tile.external-tile:after{
  content:'↗';
}
.rubric-stack .rubric-tile strong{
  font-size:clamp(1.55rem,5vw,2.45rem)!important;
  line-height:.98!important;
  letter-spacing:-.055em;
  max-width:18ch;
}
.rubric-stack .rubric-tile small{
  max-width:44ch;
}
.rubric-stack .accordion-section{
  margin:-.15rem 0 1rem;
  padding:1.5rem 0 2rem;
  border-radius:1.35rem;
  overflow:hidden;
}
.rubric-stack .accordion-section.is-open{
  display:block;
}
.rubric-stack .accordion-section > .section-head,
.rubric-stack .accordion-section > .news-grid,
.rubric-stack .accordion-section > .player-grid,
.rubric-stack .accordion-section > .match-list,
.rubric-stack .accordion-section > #live-scores,
.rubric-stack .accordion-section > .result-fixture-list,
.rubric-stack .accordion-section > .section-actions,
.rubric-stack .accordion-section > .back-to-top{
  padding-left:1rem;
  padding-right:1rem;
}
.rubric-stack .section-dark,
.rubric-stack .section-live{
  margin-left:0;
  margin-right:0;
}
@media(min-width:760px){
  .rubric-stack,
  .rubric-tiles.rubric-stack{padding:1.5rem 2rem 2.5rem;}
  .rubric-stack .rubric-tile{min-height:122px;padding:1.25rem 1.4rem;}
  .rubric-stack .accordion-section > .section-head,
  .rubric-stack .accordion-section > .news-grid,
  .rubric-stack .accordion-section > .player-grid,
  .rubric-stack .accordion-section > .match-list,
  .rubric-stack .accordion-section > #live-scores,
  .rubric-stack .accordion-section > .result-fixture-list,
  .rubric-stack .accordion-section > .section-actions,
  .rubric-stack .accordion-section > .back-to-top{padding-left:1.25rem;padding-right:1.25rem;}
}
@media(min-width:1120px){
  .rubric-stack,
  .rubric-tiles.rubric-stack{padding-left:2rem;padding-right:2rem;}
}

/* Hero: rechts neben dem Teamnamen wird das Teamfoto genutzt, nicht das Vereinsfoto */
.hero-media .photo-placeholder{
  min-height:320px;
  background:rgba(255,250,240,.08);
}
@media(min-width:760px){
  .hero-media{min-height:360px;}
  .hero-media img{min-height:360px;}
}

.player-position{font-weight:800;color:#194d35;margin:.15rem 0;font-size:1rem}.player-role{font-weight:650;color:#78634c;margin:.1rem 0 .45rem;font-size:.92rem}.player-card-rich .player-info>p.player-position,.player-card-rich .player-info>p.player-role{line-height:1.25}

/* Hero top cards: next match + latest result */
.hero-pills{
  display:grid;
  gap:.75rem;
  margin-top:1rem;
  max-width:720px;
}
.hero-info-card{
  width:100%;
  text-decoration:none;
}
.latest-result-pill{
  color:#fff;
  cursor:pointer;
}
.latest-result-pill b{
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin-top:.35rem;
  padding:.35rem .6rem;
  border-radius:.75rem;
  background:var(--lime);
  color:var(--green);
  font-weight:950;
}
.latest-result-pill:hover,
.latest-result-pill:focus-visible{
  background:rgba(255,255,255,.18);
  transform:translateY(-1px);
}
@media(min-width:720px){
  .hero-pills{grid-template-columns:repeat(2,minmax(0,1fr));}
}


/* Go-live visual polish: hero cards + live/status badges */
.hero-pills{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:1rem !important;
  width:100%;
  max-width:720px;
}
.hero-info-card{
  width:100%;
  position:relative;
  overflow:hidden;
}
.hero-info-card b{
  font-size:1.15rem;
  letter-spacing:-.02em;
}
.latest-result-pill.is-live{
  border-color:rgba(248,113,113,.75) !important;
  box-shadow:0 0 0 1px rgba(248,113,113,.22), 0 20px 50px rgba(127,29,29,.24);
}
.hero-card-kicker{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
}
.live-indicator{
  position:absolute;
  top:.9rem;
  right:1rem;
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.3rem .65rem;
  border-radius:999px;
  background:rgba(220,38,38,.15);
  color:#fecaca;
  font-size:.74rem;
  font-style:normal;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.live-indicator.inline{
  position:static;
  padding:.15rem .45rem;
  background:#fee2e2;
  color:#b91c1c;
  vertical-align:middle;
}
.live-indicator i,
.status-badge i{
  width:.55rem;
  height:.55rem;
  border-radius:50%;
  background:currentColor;
  display:inline-block;
  flex:0 0 auto;
}
.live-indicator i,
.status-badge.live-dot i{
  animation:livePulse 1.15s ease-in-out infinite;
  box-shadow:0 0 0 0 currentColor;
}
@keyframes livePulse{
  0%{transform:scale(.85);opacity:.68;box-shadow:0 0 0 0 rgba(220,38,38,.45)}
  55%{transform:scale(1.18);opacity:1;box-shadow:0 0 0 .45rem rgba(220,38,38,0)}
  100%{transform:scale(.85);opacity:.68;box-shadow:0 0 0 0 rgba(220,38,38,0)}
}
.status-badge{
  display:inline-flex;
  align-items:center;
  gap:.38rem;
  border-radius:999px;
  padding:.28rem .62rem;
  font-size:.72rem;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.08em;
  white-space:nowrap;
  border:1px solid transparent;
}
.status-badge-upcoming{
  background:#eef4ee;
  color:#176b45;
  border-color:#dbe9dc;
}
.status-badge-running{
  background:#fee2e2;
  color:#b91c1c;
  border-color:#fecaca;
}
.status-badge-finished{
  background:#dcfce7;
  color:#166534;
  border-color:#bbf7d0;
}
.match-card-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:.75rem;
  flex-wrap:wrap;
}
.score-card.is-running,
.live-fixture-group.is-running,
.public-result-fixture.is-live-fixture{
  border-color:rgba(220,38,38,.22) !important;
}
@media(min-width:760px){
  .hero-pills{grid-template-columns:1fr !important;}
}

.special-result {
    background: #fde68a;
    color: #92400e;
    padding: 0.2rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    margin-top: 0.25rem;
}


.site-footer{
  max-width:1120px;
  margin:3rem auto 0;
  padding:1.5rem 1.25rem 2rem;
  text-align:center;
  color:var(--muted);
  font-size:.92rem;
}
.site-footer a{
  color:var(--green);
  font-weight:800;
  text-decoration:none;
}
.site-footer a:hover,.site-footer a:focus-visible{
  text-decoration:underline;
}
.legal-page{
  max-width:860px;
  margin:2rem auto;
  padding:0 1.25rem 3rem;
}
.legal-card{
  background:#fff;
  border-radius:1.25rem;
  padding:1.5rem;
  box-shadow:0 18px 48px rgba(15,61,46,.10);
  border:1px solid rgba(15,61,46,.10);
}
.legal-card h1{margin-top:0;color:var(--green)}
.legal-card a{color:var(--green);font-weight:800}
.legal-back{display:inline-flex;margin-bottom:1rem;color:var(--green);font-weight:800;text-decoration:none}
.floating-back-to-top{
  position:fixed;
  right:1rem;
  bottom:1rem;
  width:3rem;
  height:3rem;
  border:0;
  border-radius:999px;
  background:var(--green);
  color:#fff;
  font-size:1.4rem;
  font-weight:900;
  box-shadow:0 14px 34px rgba(15,61,46,.28);
  cursor:pointer;
  opacity:0;
  transform:translateY(1rem);
  pointer-events:none;
  transition:opacity .2s ease,transform .2s ease;
  z-index:999;
}
.floating-back-to-top.is-visible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.fixture-link{
    display:inline-flex;
    align-items:center;
    gap:.35rem;
    padding:.7rem .95rem;
    border-radius:.85rem;
    background:#efe3cf;
    color:var(--green);
    text-decoration:none;
    font-weight:850;
    transition:all .18s ease;
}

.fixture-link:hover,
.fixture-link:focus-visible{
    background:var(--lime);
    color:#1b2a23;
    transform:translateY(-1px);
    outline:none;
}

.live-pro-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
}

.live-pro-form .set-picker,
.live-pro-form .winner-picker,
.live-pro-form .score-finish {
    grid-column: 1 / -1;
}

.live-pro-form .score-big {
    min-height: 4rem;
    font-size: 1rem;
}

.live-pro-form .score-small {
    min-height: 3.5rem;
}

.live-pro-form .neutral,
.live-pro-form .danger-soft {
    grid-column: auto;
}

.notification-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem 1.25rem;
}

.notification-options label,
.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-weight: 850;
    line-height: 1.35;
}

.notification-options input[type="checkbox"],
.privacy-check input[type="checkbox"] {
    width: auto;
    margin-top: .15rem;
    flex: 0 0 auto;
}

.notification-options span,
.privacy-check span {
    flex: 1;
}

@media (min-width: 700px) {
    .notification-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.own-side { color: var(--green); font-weight: 950; }
.match-winner { font-weight: 1000; text-decoration: underline; text-underline-offset: .18em; }

.result-card h3 .own-side {
    color: var(--clay);
    font-weight: 950;
}

.result-card h3 .opponent-side {
    color: inherit;
}

.result-card h3 .match-winner {
    font-weight: 1000;
    text-decoration: underline;
    text-decoration-thickness: .12em;
    text-underline-offset: .18em;
}

.own-side {
    color: var(--clay) !important;
    font-weight: 950;
}

.opponent-side {
    color: inherit !important;
}

.match-winner {
    font-weight: 1000;
    text-decoration: underline;
    text-decoration-thickness: .12em;
    text-underline-offset: .18em;
}

.point-score-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

.point-score-form label {
    grid-column: span 1;
}

.point-score-form .score-big,
.point-score-form .score-small {
    width: 100%;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1rem;
}

.hero-action-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 0;
    border-radius: 999px;
    padding: .8rem 1.1rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.hero-action-secondary {
    background: rgba(255,255,255,.14);
    color: #fff;
}

.hero-action-primary {
    background: var(--clay);
    color: #fff;
}

.notification-panel {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
}

.notification-choice-grid {
    display: grid;
    gap: .75rem;
    margin-top: .75rem;
}

.notification-choice-card {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .9rem 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,.95);
    color: var(--green);
    text-decoration: none;
    border: 0;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.notification-choice-card strong {
    font-weight: 950;
}

.notification-choice-card span {
    font-weight: 900;
    color: var(--clay);
}

.notification-hint {
    margin-top: .75rem;
    font-size: .9rem;
    opacity: .9;
}

.info-tooltip {
    position: relative;
    display: inline-flex;
    margin-left: .35rem;
    cursor: help;
    font-weight: 900;
}

.info-tooltip:hover::after,
.info-tooltip:focus::after {
    content: attr(aria-label);
    position: absolute;
    left: 50%;
    bottom: 130%;
    transform: translateX(-50%);
    width: min(260px, 80vw);
    padding: .65rem .75rem;
    border-radius: .75rem;
    background: var(--green);
    color: #fff;
    font-size: .8rem;
    line-height: 1.35;
    z-index: 20;
}

.notification-status-actions {
    margin-top: .85rem;
    display: grid;
    gap: .5rem;
}

.notification-status-actions .btn {
    justify-self: start;
}

.notification-status-actions .notification-hint {
    margin: 0;
}

.news-grid.is-loading,
.result-fixture-list.is-loading,
.player-grid.is-loading {
    opacity: .35 !important;
    filter: blur(1px);
    transform: scale(.98);
    transition:
            opacity .2s ease,
            transform .2s ease,
            filter .2s ease;
    pointer-events: none;
}

.news-grid.is-loading::before,
.result-fixture-list.is-loading::before,
.player-grid.is-loading::before {
    content: "Daten werden aktualisiert …";
    grid-column: 1 / -1;
    display: block;
    padding: .85rem 1rem;
    border-radius: 1rem;
    background: var(--clay);
    color: #fff;
    font-weight: 900;
}

.news-card {
    animation: newsFadeIn .35s ease both;
}

@keyframes newsFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-grid.is-loading {
    opacity: .35 !important;
    filter: blur(1px);
    transform: scale(.98);
    transition:
            opacity .2s ease,
            transform .2s ease,
            filter .2s ease;
    pointer-events: none;
}

.result-grid.is-loading::before {
    content: "Matches werden aktualisiert …";
    grid-column: 1 / -1;
    display: block;
    padding: .85rem 1rem;
    border-radius: 1rem;
    background: var(--clay);
    color: #fff;
    font-weight: 900;
}

.score-start {
    grid-column: 1 / -1;
    min-height: 4rem;
    background: var(--green2);
    font-size: 1.08rem;
}

.score-start:hover,
.score-start:focus-visible {
    background: var(--green);
}

.admin-push-fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 999;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clay);
    color: #fff;
    text-decoration: none;
    font-size: 1.45rem;
    box-shadow: 0 16px 40px rgba(0,0,0,.24);
    transition:
            transform .18s ease,
            background .18s ease,
            box-shadow .18s ease;
}

.admin-push-fab:hover,
.admin-push-fab:focus-visible {
    transform: translateY(-2px) scale(1.04);
    background: var(--green);
    box-shadow: 0 20px 48px rgba(0,0,0,.28);
}

.admin-floating-back-to-top {
    bottom: 5.5rem !important;
}
