
:root{
  --red:#DC3545;
}


.crest {
   background: transparent !important;
   border:none !important;
   box-shadow:none !important;
}

.showCrest .crest {
   background: #9AA7BD !important;
   border:none !important;
   box-shadow:none !important;
}

.crest img{
    width: 40px;
    border:none !important;
}

.status-chip_neg{
  width:1.05rem; height:1.05rem; border-radius:50%;
  background: var(--red); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:.6rem; font-weight:900;
}

.pick-badge.is-notcomplete {
    background: rgba(220, 53, 69, 0.14);
    color: rgba(220, 53, 69, 1);
    border-color: rgba(220, 53, 69, 0.35);
}

.user-avatar{
  text-transform:uppercase !important;
}

.table-striped>tbody>tr.tabelle_first:nth-child(odd)>td{
	background: #b5e479 !important;
}

.table-striped>tbody>tr.tabelle_first:nth-child(even)>td{
	background: #d5e2c3 !important;
}

.table-striped>tbody>tr.tabelle_second:nth-child(odd)>td{
	background: #ffd955 !important;
}

.table-striped>tbody>tr.tabelle_second:nth-child(even)>td{
	background: #fce9a9 !important;
}

.table-striped>tbody>tr.tabelle_third:nth-child(odd)>td{
	background: #e57780 !important;
}

.table-striped>tbody>tr.tabelle_third:nth-child(even)>td{
	background: #e8abb0 !important;
}

.table-striped * {
  font-size:14px !important;

}

.hero-lede {
    font-size: 14px !important;
  }

.table-striped.spielstand * {
  font-size:18px !important;

}

.player-pic {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50%;
  margin-left: 10px;
  background: linear-gradient(160deg, var(--cyan), var(--blue));
  text-align: center;
}

.player-pic img {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50%;
}


.navlinks-extra{display:none;}


/* Kartenkopf mit Titel + Sortier-Toggle (spielstand_live.html: Punkte Gesamt) */
.stat-card-head{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.6rem; margin-bottom:1rem; }
.stat-card-head .stat-card-title{ margin:0; }
.stat-sort-btn{
  display:inline-flex; align-items:center; gap:.4rem;
  background: transparent; color: var(--cyan-soft);
  border:1px solid var(--line-cyan); border-radius:999px;
  padding:.3rem .8rem; font-size:.78rem; font-weight:700; letter-spacing:.03em;
  transition: background .15s ease, color .15s ease;
}
.stat-sort-btn:hover{ background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.stat-sort-btn svg{ transition: transform .2s ease; }
.stat-sort-btn[data-dir="desc"] svg{ transform: scaleY(-1); }

.stat-sort-group{ display:inline-flex; flex-wrap:wrap; gap:.4rem; }
/* zuletzt benutzte Sortierung hervorgehoben */
.stat-sort-btn.is-active{ background: rgba(91,194,252,0.16); color: var(--white); border-color: var(--cyan); }

/* "Angemeldet bleiben"-Toggle: eigener Track + Knopf statt Bootstraps SVG-Kreis */
.form-switch-feelo{ display:flex; align-items:center; gap:.7rem; padding-left:0; min-height:1.6rem; }
.form-switch-feelo .form-check-input{
  float:none; margin:0; flex-shrink:0;
  width:2.9rem; height:1.6rem;
  border:none; border-radius:999px;
  background:#d7dbe2 none;
  box-shadow: inset 0 1px 3px rgba(16,20,29,0.18);
  position:relative; cursor:pointer;
  transition: background-color .25s ease, box-shadow .25s ease;
}

.form-switch-feelo .form-check-input::after{
  content:""; position:absolute; top:.2rem; left:.2rem;
  width:1.2rem; height:1.2rem; border-radius:50%;
  background:#fff;
  box-shadow: 0 1px 3px rgba(16,20,29,0.3);
  transition: transform .25s cubic-bezier(.4,1.4,.6,1), width .15s ease;
}
.form-switch-feelo .form-check-input:active::after{ width:1.45rem; }
.form-switch-feelo .form-check-input:checked{
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: inset 0 1px 3px rgba(16,20,29,0.15), 0 0 12px rgba(45,125,216,0.35);
}
.form-switch-feelo .form-check-input:checked::after{ transform: translateX(1.3rem); }
.form-switch-feelo .form-check-input:checked:active::after{ transform: translateX(1.05rem); }
.form-switch-feelo .form-check-input:focus{ box-shadow: inset 0 1px 3px rgba(16,20,29,0.18), 0 0 0 3px rgba(45,125,216,0.22); }
.form-switch-feelo .form-check-label{ font-size:.88rem; font-weight:500; color:#4a4a4a; cursor:pointer; user-select:none; }


.champ-card{ grid-area: none; }

.champ-stack{ grid-area: champ; display:flex; flex-direction:column; gap:1rem; }

/* Grosser Deko-Pfeil im Hintergrund der "Aktueller Leader"-Karte, analog zum Pokal oben. */
.leader-star{
  position:absolute;
  left:50%; top:50%;
  transform: translate(-50%, -50%);
  width:66%; height:auto;
  max-height:none;
  z-index:-1;
  pointer-events:none;
  opacity:.5;
}
.leader-star .leader-star-fill{ opacity:.1; }
.leader-star .leader-star-line{ opacity:.28; }

@media (max-width: 991.98px){
  .leader-star{ width:52%; }
}

.champ-avatar{
  width:4.6rem; height:4.6rem; border-radius:50%;
  padding:0; border:0; cursor:pointer;
  background: linear-gradient(160deg, var(--cyan), var(--blue));
  display:flex; align-items:center; justify-content:center;
  font-family:'JetBrains Mono', monospace; font-weight:700; font-size:1.3rem; color:#0d0d0d;
  transition: transform .15s ease, box-shadow .15s ease;
}
.champ-avatar:hover{
  transform: scale(1.04);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35), 0 8px 24px rgba(0,0,0,0.4);
}
@media (prefers-reduced-motion: reduce){
  .champ-avatar{ transition:none; }
  .champ-avatar:hover{ transform:none; }
}

@media (prefers-reduced-motion: reduce){
  .form-switch-feelo .form-check-input, .form-switch-feelo .form-check-input::after{ transition:none; }
}

@media only screen and (max-width: 769px) {
  .table-striped.spielstand * {
    font-size:14px !important;
  }

  .isalletipsrstable1 {
    width: 20px !important;
  }

   .navlinks-extra{
      display:flex; flex-direction:column; align-items:flex-start; gap:18px;
      width:100%; margin-top:14px; padding-top:26px;
      border-top:1px solid var(--line-cyan);
      padding-left:10px;
    }
    .navlinks-extra a{
     font-size:11.5px; letter-spacing:0.06em;
      text-transform:uppercase; color:var(--slate); transition:color .25s;
    }
    .navlinks-extra a:hover{color:var(--cyan-soft);}

 
}

/* ---------- Side-Tabs am rechten Fensterrand (assets/sidetabs.js) ----------
   Nachbau der .side-links von einseitensprung.at, gespiegelt nach rechts:
   vertikaler Text, beim Hover cyan und ein Stück weiter aus dem Rand gezogen. */
.side-tabs{
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 1010; /* unter der sticky Navbar (1020) und dem Offcanvas */
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
}
.side-tabs a{
  writing-mode: vertical-rl; text-orientation: mixed;
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--white); background: var(--ink-2);
  border: 1px solid var(--line); border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 14px 7px;
  transition: background .15s, color .15s, padding-right .15s, border-color .15s;
}
.side-tabs a:hover, .side-tabs a:focus-visible{
  color: var(--ink); background: var(--cyan); border-color: var(--cyan);
  padding-right: 11px;
}
@media (max-width: 1000px){
  .side-tabs{ display: none; }
}


.btn-ghost-feelo{
  display:inline-flex; align-items:center; gap:.4rem;
  background:transparent; border:1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.72);
  font-size:.82rem; font-weight:500;
  padding:.5rem .85rem; border-radius:.6rem;
}
.btn-ghost-feelo:hover, .btn-ghost-feelo:focus-visible{
  background: rgba(255,255,255,0.06); border-color: var(--line-cyan); color: var(--white);
}

.kickoff-time{
  color: #fff !important; 
  }

    .side-tabs .st-short{ display: none; }
.side-tabs.is-short .st-full{ display: none; }
.side-tabs.is-short .st-short{ display: inline; }

 .feelochampHome{
      background: url('/feelochamp/assets/favicon.svg') no-repeat left center;
      padding-left:20px;
  }

   .nl-day td{
   background:#000 !important;
   color:#fff !important;
  }

  /* ---------- Bestätigungs-Modal (Login Ja/Nein, hell wie die Login-Card) ---------- */
.modal-feelo .modal-content{
  background: linear-gradient(180deg, #fafafa, #efefef);
  color:#10141d;
  border:none; border-radius:1rem;
  box-shadow: var(--shadow), 0 0 0 1px rgba(91,194,252,0.3);
  padding: 1.8rem 1.6rem 1.5rem;
  text-align:center;
}
body.page-home .modal-backdrop.show{ opacity:.7; }
.modal-feelo-icon{
  width:56px; height:56px; margin:0 auto 1rem;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  background: linear-gradient(160deg, var(--cyan), var(--blue));
  color:#fff;
  box-shadow: 0 10px 24px rgba(45,125,216,0.35);
}
.modal-feelo-title{
  font-family:'Bebas Neue', sans-serif;
  letter-spacing:.04em; font-size:1.7rem;
  margin:0 0 .4rem; color:#10141d;
}
.modal-feelo-text{ font-size:.95rem; color:#4b5160; margin:0 0 1.5rem; }
.modal-feelo-text strong{ color:#10141d; }
.modal-feelo-actions{ display:flex; gap:.7rem; }
.modal-feelo-actions .btn{ flex:1; padding:.65rem 1rem; }
.btn-feelo-no{
  background:#fff; color:#10141d; font-weight:600;
  border:1px solid rgba(16,20,29,0.18); border-radius:.6rem;
}

/* ==========================================================================
   Tippbewerb-Umschalter im Logo (/EL ▾)
   Markup kommt aus build.js ({{BRAND_SWITCH}}). Die Akzentfarben je Bewerb
   (--acc / --acc-2 / --acc-text) sind von den Karten auf
   einseitensprung.at/feelochamp/ übernommen, JUMP = deren Regenbogen.
   ========================================================================== */

/* Akzentfarben je Tippbewerb */
.brand-switch .bs-cl  { --acc:#22d3ee; --acc-2:#3b82f6; --acc-text:#8fe9f7; }
.brand-switch .bs-el  { --acc:#ff6a1a; --acc-2:#e8460a; --acc-text:#ffb07a; }
.brand-switch .bs-nl  { --acc:#5bc2fc; --acc-2:#2d7dd8; --acc-text:#a9e0ff; }
.brand-switch .bs-db  { --acc:#d20515; --acc-2:#a8040f; --acc-text:#ff404a; }
.brand-switch .bs-oel { --acc:#ff00b3; --acc-2:#00fff5; --acc-text:#ff33c2; }
.brand-switch .bs-zwa { --acc:#33ffb8; --acc-2:#ea4225; --acc-text:#5cffc6; }
.brand-switch .bs-pl  { --acc:#ff2882; --acc-2:#05f0ff; --acc-text:#ff4f98; }
.brand-switch .bs-jump{
  --acc:#3a9bff; --acc-2:#b44dff; --acc-text:#ffe135;
  --acc-grad: linear-gradient(90deg, #ff3b3b, #ff9f1c, #ffe135, #3ddc6b, #3a9bff, #b44dff);
}

.brand-switch .bs-oec {
  --acc:#ef3340; --acc-2:#c8102e; --acc-text:#ff6b75;
  --acc-grad: linear-gradient(180deg, #ef3340 15%, #000000 50%, #ef3340 85%);
}

/* ---------- Logo-Wrapper ---------- */
.navbar-feelo .brand-wrap{ display:flex; flex-wrap:nowrap; align-items:center; margin-right:1rem; min-width:0; }
.navbar-feelo .brand-wrap .navbar-brand{ margin-right:0; }

/* ---------- Toggle-Button (/EL) ---------- */
.navbar-feelo .brand-switch .brand-suffix{
  font-family:'Bebas Neue', sans-serif; font-size:.85rem; letter-spacing:.06em; line-height:1;
  color: var(--acc); background: transparent;
  border:1px solid transparent; border-radius:999px;
  margin-left:.05rem; padding:.3rem .45rem .22rem .3rem;
  display:inline-flex; align-items:center; gap:.3rem; white-space:nowrap;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
body.page-home .navbar-feelo .brand-switch .brand-suffix{ font-size:.88rem; }
.navbar-feelo .brand-switch .brand-suffix::after{
  border:0; margin:0; width:.38rem; height:.38rem;
  border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
}
.navbar-feelo .brand-switch .brand-suffix:hover,
.navbar-feelo .brand-switch .brand-suffix:focus-visible,
.navbar-feelo .brand-switch .brand-suffix[aria-expanded="true"]{
  color: var(--acc-text);
  border-color: color-mix(in srgb, var(--acc) 45%, transparent);
  background: color-mix(in srgb, var(--acc) 8%, transparent);
}
.navbar-feelo .brand-switch .brand-suffix[aria-expanded="true"]::after{
  transform: translateY(1px) rotate(-135deg);
}

/* ---------- Menü ---------- */
.brand-switch-menu{
  min-width:15.5rem; max-width:calc(100vw - 1.5rem); margin-top:.45rem !important; padding:.4rem;
  background: var(--ink-2); border:1px solid var(--line); box-shadow: var(--shadow);
}
.brand-switch-menu .brand-switch-head{
  font-size:.66rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color: var(--slate); padding:.35rem .75rem .45rem; white-space:nowrap;
}
.brand-switch-menu .dropdown-item{
  position:relative; display:flex; align-items:baseline; gap:.7rem;
  padding:.4rem .75rem; color: var(--white); border-radius:.4rem;
  transition: background-color .15s ease, padding-left .15s ease;
}
/* farbiger Balken links, blendet beim Hover/aktiv ein */
.brand-switch-menu .dropdown-item::before{
  content:""; position:absolute; left:.3rem; top:.5rem; bottom:.5rem; width:2px;
  border-radius:2px; background: var(--acc-grad, linear-gradient(180deg, var(--acc), var(--acc-2)));
  opacity:0; transition: opacity .15s ease;
}
.brand-switch-menu .bs-code{
  font-family:'Bebas Neue', sans-serif; font-size:1.1rem; letter-spacing:.08em; line-height:1;
  min-width:2.9rem;
  background: var(--acc-grad, linear-gradient(160deg, var(--acc-text), var(--acc) 55%, var(--acc-2)));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.brand-switch-menu .bs-name{
  font-size:.78rem; color: var(--slate); white-space:nowrap;
  transition: color .15s ease;
}
.brand-switch-menu a.dropdown-item:hover,
.brand-switch-menu a.dropdown-item:focus{
  padding-left:1rem;
  background: color-mix(in srgb, var(--acc) 12%, transparent);
}
.brand-switch-menu a.dropdown-item:hover::before,
.brand-switch-menu a.dropdown-item:focus::before{ opacity:1; }
.brand-switch-menu a.dropdown-item:hover .bs-name,
.brand-switch-menu a.dropdown-item:focus .bs-name{ color: var(--acc-text); }

/* aktueller Bewerb */
.brand-switch-menu .dropdown-item.active{
  background: color-mix(in srgb, var(--acc) 10%, transparent); cursor:default;
}
.brand-switch-menu .dropdown-item.active::before{ opacity:1; }
.brand-switch-menu .dropdown-item.active .bs-name{ color: var(--acc-text); }
.brand-switch-menu .bs-dot{
  align-self:center; margin-left:auto; width:.4rem; height:.4rem; border-radius:50%;
  background: var(--acc);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 22%, transparent);
}

/* Trennlinie vor der Übersicht (JUMP) */
.brand-switch-menu .bs-sep{ height:1px; margin:.35rem .5rem; background: var(--line); }

/* Schmale Screens: Bootstrap positioniert Dropdowns in der Navbar ohne Popper,
   das Menü würde rechts aus dem Viewport ragen -> an der (sticky) Navbar statt
   am Button ausrichten, mit Rand links/rechts. */
@media (max-width: 575.98px){
  .navbar-feelo .brand-switch{ position: static; }
  .navbar-feelo .brand-switch-menu{
    top:100% !important; left:.75rem !important; right:.75rem !important;
    min-width:0; max-width:none; margin-top:.25rem !important;
  }
}

.side-tabs a{
  color:#000;
}

.side-tabs a:hover{
  color:#fff;
}

