@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Playwrite+DE+SAS:wght@100..400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quantico:ital,wght@0,400;0,700;1,400;1,700&display=swap');

html {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  box-sizing: border-box;
  user-select: none;
  margin: 0;
  height: 100%;
  overflow: hidden;
  background-size: cover; 
  background-position: center;
  background-attachment: scroll;
  font-family: "Arame_Regular", "Arame", "Arame_Bold", "Arame_Thin", sans-serif;
}

@media (max-width: 699px) {
  body {
    background-image: none;
    /* background: #000; */
  }
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body.nav_overlay_open {
  overflow: hidden;
}

body.nav_overlay_open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.35);
}

/* ─── Landing ─── */

.landing_page {
  --header-offset: clamp(4.25rem, 8vh, 5.5rem);
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding-top: max(
    clamp(0.875rem, 2.5vh, 3rem),
    env(safe-area-inset-top, 0px)
  );
  padding-right: max(
    clamp(1rem, 5vw, 8rem),
    env(safe-area-inset-right, 0px)
  );
  padding-bottom: max(
    clamp(0.875rem, 2.5vh, 3rem),
    env(safe-area-inset-bottom, 0px)
  );
  padding-left: max(clamp(1rem, 5vw, 8rem), env(safe-area-inset-left, 0px));
  background: radial-gradient(
      72.24% 72.55% at 0.62% 15.41%,
      rgba(165, 21, 43, 0.274) 0%,
      rgba(0, 0, 0, 0.5) 100%
    ),
    rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.75rem, 2vh, 1.25rem);
  overflow: hidden;
  scrollbar-width: none;
  z-index: 1000;
}

.landing_page::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .landing_page {
    justify-content: flex-start;
  }
}

.header_shell {
  position: sticky;
  top: max(0.35rem, env(safe-area-inset-top, 0px));
  width: 100%;
  max-width: min(1200px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 0.2rem;
  border-radius: 12px;

}

.nav_toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: clamp(0.45rem, 1.25vh, 0.65rem) clamp(0.55rem, 2vw, 0.85rem);
  border-radius: clamp(8px, 1vh, 12px);
  border: 0.52907px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.55);
  color: #fff;
  cursor: pointer;
  font-family: Gilroy, sans-serif;
  font-size: clamp(0.8125rem, 1vw + 0.62rem, 0.9375rem);
  line-height: 1;
}

.nav_toggle:focus-visible {
  outline: 2px solid #ff2d4d;
  outline-offset: 2px;
}

.nav_toggle_icon {
  font-size: 1.1rem;
  line-height: 1;
}

.nav_toggle_icon--close {
  display: none;
}

.header_shell.is-open .nav_toggle_icon--bars {
  display: none;
}

.header_shell.is-open .nav_toggle_icon--close {
  display: inline-block;
}

.header_nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

.header_rules_search {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: clamp(0.4rem, 1.2vh, 0.72rem) clamp(0.65rem, 1.2vw, 0.9rem);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.55);
  color: rgba(255, 255, 255, 0.78);
  font-family: Gilroy, sans-serif;
  line-height: 1;
  border: 1px solid rgb(255 255 255 / 3%);
    background: rgb(147 147 147 / 2%);
}



.header_rules_search input {
  width: min(130px, 11vw);
  border: 0;
  outline: none;
  background: transparent;
  color: white;
  font-family: Gilroy, sans-serif;
  font-size: 0.82rem;
}

.header_rules_search input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}


.header_container {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-family: Gilroy, sans-serif;
  font-size: clamp(0.7rem, 0.95vw + 0.55rem, 0.9375rem);
  color: white;
  border-radius: clamp(8px, 1vh, 12px);
  padding: clamp(4px, 0.35vh, 6px);
  gap: clamp(4px, 0.75vw, 10px);
  max-width: 100%; 
  white-space: nowrap;
    
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.007);
}

.header_container_item {
  padding: clamp(0.4rem, 1.2vh, 0.75rem) clamp(0.65rem, 1.5vw, 1rem);
  border-radius: clamp(8px, 1vh, 12px);
  cursor: pointer;
  border: 0.52907px solid transparent;
  outline: none;
  text-align: center;
  font-size: 1.2vh;
}

.backgroundeight {
  position: absolute;
  right: 0vh;
  bottom: 0vh;
  opacity: 2%;
  height: 120vh;
  z-index: -1;
}

.header_container_item:hover {
  cursor: pointer;
  background: linear-gradient(135deg, #ff2d4d 0%, #991b2e 100%);
}

.header_container_item.active {
  cursor: pointer;
  background: linear-gradient(135deg, #ff2d4d 0%, #991b2e 100%);
}

.auth_button {
  color: #fff;
  font-family: Gilroy, sans-serif;
  background: linear-gradient(135deg, #ff2d4d 0%, #991b2e 100%);
  border: 0.52907px solid #ff2d4d;
}

@media (max-width: 699px) {
  .header_shell {
    justify-content: flex-end;
    align-self: stretch;
    z-index: 1000;
  }

  .nav_toggle {
    display: inline-flex;
  }

  .header_nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: auto;
    width: min(223px, calc(100vw - 2rem));
    justify-content: stretch;
    border-radius: clamp(10px, 2vw, 14px);
    padding: clamp(8px, 1.75vw, 10px);
    background: rgba(10, 10, 12, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.45),
      0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);

    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition:
      visibility 0.18s linear,
      opacity 0.18s ease,
      transform 0.18s ease;
  }

  .header_rules_search {
    width: 100%;
    margin: 0;
  }

  .header_rules_search input {
    width: 100%;
  }

  .header_shell.is-open .header_nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .header_container {
    flex-direction: column;
    align-items: stretch;
    gap: clamp(6px, 1.75vw, 8px);
    background: transparent;
    border-radius: 0;
    padding: 4px;
  }

  .header_container_item {
    width: 100%;
    flex: none;
    text-align: center;
    padding-block: clamp(0.55rem, 2vh, 0.72rem);
  }
}

.landing_page_main {
  width: 100%;
  max-width: min(1500px, 100%);
  min-height: calc(100dvh - var(--header-offset));
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: clamp(1.25rem, 3vw, 3rem);
  overflow-y: auto;
  scrollbar-width: none;
}

.landing_page_main.is-active {
  display: flex;
}

.landing_page_main::-webkit-scrollbar {
  display: none;
}

.phone_container {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.phone_container img {
  width: 90vh;
  object-fit: cover;
}

.phone_tilt_target {
  transform: rotateX(0deg) rotateY(0deg) translateZ(0px);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.22s ease;
}

@media (max-width: 1024px) {
  .phone_container {
    display: none;
  }
}

@media (max-width: 1024px) {
  .landing_page_main {
    min-height: calc(100dvh - var(--header-offset));
  }
}

.title_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.5rem, 1.25vh, 1rem);
  width: min(680px, 100%);
}

.title_badge {
  font-family: Gilroy, sans-serif;
  color: white;
  text-transform: uppercase;
  font-size: clamp(0.65rem, 0.85vw + 0.55rem, 0.8125rem);
  padding: clamp(0.35rem, 0.6vh, 0.5rem) clamp(0.5rem, 1vw, 0.65rem);
  width: fit-content;
  border-radius: clamp(6px, 0.65vh, 8px);
  cursor: pointer;
  border: 0.52907px solid #ff2d4d;
  background: linear-gradient(135deg, #ff2d4d 0%, #991b2e 100%);
}

.title_text {
  margin: 0;
  color: white;
  font-weight: 500;
  font-family: Arame_Regular, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  font-size: clamp(1.85rem, 5.2vw + 0.85rem, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.title_line {
  display: block;
  text-transform: uppercase;
}

.title_line_nowrap {
  white-space: nowrap;
}

.title_line_brand {
  white-space: nowrap;
  max-width: 100%;
}

.title_description {
  font-family: Gilroy, sans-serif;
  color: white;
  font-size: clamp(0.8125rem, 0.6vw + 0.74rem, 1rem);
  max-width: 59ch;
  padding-bottom: clamp(0.5rem, 1vh, 1rem);
  line-height: 1.5;
}

.auth_status {
  font-family: Gilroy, sans-serif;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.76rem, 0.62vw + 0.58rem, 0.9rem);
}

.title_808 {
  color: #ff2d4d;
  font-family: Quantico, sans-serif;
}

#city_span {
  color: white;
  font-family: Arame_Regular, sans-serif;
}

.social_container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.65rem, 1.5vw, 1rem);
  font-family: Gilroy, sans-serif;
  color: rgba(255, 255, 255, 0.514);
  font-size: clamp(0.7rem, 0.8vw + 0.62rem, 0.8125rem);
  width: 100%;
  max-width: min(614px, 100%);
}

@media (min-width: 640px) {
  .social_container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

.social_container_items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.5rem, 1.25vw, 1rem);
  width: 100%;
}

@media (min-width: 640px) {
  .social_container_items {
    width: auto;
    flex-wrap: nowrap;
  }
}

.social_container_item {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(0.35rem, 0.8vw, 0.6rem);
  justify-content: center;
  flex: 0 1 auto;
  border-radius: clamp(6px, 0.65vh, 8px);
  cursor: pointer;
  border: 0.52907px solid #ff2d4d;
  background: linear-gradient(135deg, #ff2d4d 0%, #991b2e 100%);
  color: white;
  padding: clamp(0.4rem, 0.8vh, 0.55rem) clamp(0.5rem, 1vw, 0.65rem);
}

.social_container_item i {
  font-size: clamp(0.85rem, 1vw + 0.5rem, 1.0625rem);
}

.stats_row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: min(614px, 100%);
  margin-top: clamp(0.35rem, 1vh, 0.5rem);
  padding-top: clamp(1rem, 2.25vh, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stats_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.stats_value {
  font-family: Gilroy, sans-serif;
  font-weight: 700;
  font-size: clamp(0.72rem, 3.15vw + 0.42rem, 2.375rem);
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stats_label {
  margin-top: clamp(0.25rem, 0.75vh, 0.65rem);
  font-family: Gilroy, sans-serif;
  font-weight: 500;
  font-size: clamp(0.45rem, 0.9vw + 0.36rem, 0.6875rem);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.start_button {
  color: white;
  padding: clamp(0.65rem, 1.2vh, 0.95rem) clamp(1rem, 2vw, 1.6rem);
  border-radius: clamp(7px, 0.65vh, 10px);
  cursor: pointer;
  font-size: clamp(0.7rem, 0.9vw + 0.55rem, 0.9rem);
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: min(620px, 100%);
  border: 0.52907px solid #ff2d4d;
  background: linear-gradient(135deg, #ff2d4d 0%, #991b2e 100%);
  margin-top: 0.8rem;
  font-family: Gilroy, sans-serif;
}

.rules_page {
  justify-content: flex-start;
  align-items: stretch;
}

.rules_container {
  width: 100%;
  min-height: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 1.5vh, 1.3rem);
  margin-top: 0;
  overflow: visible;
}

.rules_title_badge {
  width: fit-content;
  padding: clamp(0.35rem, 0.7vh, 0.55rem) clamp(0.65rem, 1vw, 0.95rem);
  border-radius: 10px;
  font-family: Gilroy, sans-serif;
  font-size: clamp(0.68rem, 0.75vw + 0.55rem, 0.86rem);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rules_title {
  margin: 0;
  color: white;
  font-family: Arame_Regular, sans-serif;
  font-size: clamp(1rem, 2vw + 0.4rem, 1.9rem);
  line-height: 1;
}

.rules_title_secondary {
  margin-top: clamp(0.5rem, 1.2vh, 1rem);
}

.rules_accordion {
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 1vh, 0.9rem);
  flex: 0 0 auto;
  overflow: visible;
  padding-right: 0;
}

.rule_item {
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 3%);
  background: rgb(147 147 147 / 2%);
  overflow: hidden;
}

.rule_summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  padding: clamp(0.85rem, 1.8vh, 1.1rem) clamp(0.85rem, 2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.92);
  font-family: Gilroy, sans-serif;
  font-weight: 700;
  font-size: clamp(0.8rem, 0.9vw + 0.55rem, 1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rule_summary::-webkit-details-marker {
  display: none;
}

.rule_summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: rgba(255, 255, 255, 0.65);
  transition: transform 0.2s ease;
}

.rule_item[open] .rule_summary::after {
  transform: rotate(180deg);
}

.rule_summary_left {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.rule_summary_left i {
  color: rgba(255, 255, 255, 0.65);
}

.rule_content {
  padding: 0 clamp(0.85rem, 2vw, 1.4rem) clamp(0.9rem, 1.8vh, 1.2rem);
  font-family: Gilroy, sans-serif;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.78rem, 0.65vw + 0.6rem, 0.95rem);
  line-height: 1.55;
}

.rule_line {
  white-space: pre-wrap;
}

.rule_line_paragraph {
  color: #ff2d4d;
}

.rule_line_body {
  color: inherit;
}

.rule_line_spacer {
  line-height: 0.8rem;
}

.rule_item[open] .rule_content {
  overflow: visible;
}

.about_page {
  justify-content: center;
  align-items: center;
}

.about_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(0.95rem, 2vh, 1.5rem);
}

.about_showcase {
  border-radius: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.4rem);
  padding: clamp(1rem, 2.2vh, 1.4rem);
  align-items: center;
}

.about_showcase_content {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.about_showcase_title {
  margin: 0;
  color: #fff;
  font-family: Arame_Regular, sans-serif;
  font-size: clamp(1.3rem, 2.1vw + 0.7rem, 2.35rem);
  line-height: 1.08;
}

.about_showcase_title span {
  color: #ff2d4d;
}

.about_showcase_text {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-family: Gilroy, sans-serif;
  font-size: clamp(0.8rem, 0.7vw + 0.6rem, 0.95rem);
  line-height: 1.65;
  max-width: 58ch;
}

.about_feature_list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.2rem;
}

.about_feature_item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #fff;
  font-family: Gilroy, sans-serif;
}

.about_feature_item i {
  margin-top: 0.12rem;
  min-width: 22px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #fff;
  background: linear-gradient(135deg, #ff2d4d 0%, #991b2e 100%);
}

.about_feature_item strong {
  display: block;
  color: #fff;
  font-size: clamp(0.78rem, 0.6vw + 0.6rem, 0.92rem);
}

.about_feature_item span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 0.15rem;
  font-size: clamp(0.72rem, 0.55vw + 0.56rem, 0.84rem);
  line-height: 1.45;
}

.about_showcase_content .start_button {
  width: fit-content;
  margin-top: 0.35rem;
  background: linear-gradient(135deg, #ff2d4d 0%, #991b2e 100%);
  border-color: #ff2d4d;
}

.about_slider {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 6%);
  background: linear-gradient(
      180deg,
      rgba(130, 26, 44, 0.2) 0%,
      rgba(35, 12, 17, 0.22) 100%
    ),
    rgba(0, 0, 0, 0.35);
  padding: 0.9rem 0.85rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: fit-content;
}

.about_slider_track {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about_slider_track img {
  display: block;
  width: 100%;
  height: clamp(210px, 32vh, 320px);
  object-fit: cover;
}

.about_slider_counter {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  color: #fff;
  font-family: Gilroy, sans-serif;
  font-size: 0.74rem;
  background: rgba(0, 0, 0, 0.45);
}

.about_slider_btn {
  position: absolute;
  top: 50%;
  transform: translateY(-65%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(72, 15, 27, 0.68);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.about_slider_btn_prev {
  left: 1.2rem;
}

.about_slider_btn_next {
  right: 1.2rem;
}

.about_slider_dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
}

.about_slider_dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.about_slider_dot.is-active {
  width: 22px;
  background: #ff2d4d;
}

.about_slider_btn:hover,
.about_slider_dot:hover {
  filter: brightness(1.1);
}

.global_search_hit {
 color: #ff2d4d;
}

.team_page {
  justify-content: flex-start;
  align-items: stretch;
}

.landing_page_main.teampanel_page {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: clamp(0.25rem, 1vh, 0.5rem) clamp(0.5rem, 2vw, 1.25rem)
    clamp(0.5rem, 1.5vh, 1rem);
  max-width: min(1500px, 100%);
}

/* Teampanel: Leiste links am Rand, Hauptinhalt in der Mitte (max. Breite, kein Stretch) */
.landing_page:has(#teampanel.is-active) {
  padding-left: max(0.45rem, env(safe-area-inset-left, 0px));
  padding-right: max(clamp(0.65rem, 2vw, 1.75rem), env(safe-area-inset-right, 0px));
}

.landing_page_main.teampanel_page.is-active {
  align-self: stretch;
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: clamp(0.45rem, 1.5vw, 1rem);
}

.teampanel_shell {
  display: grid;
  grid-template-columns: minmax(200px, 220px) minmax(0, 1fr);
  width: 100%;
  min-height: calc(100dvh - var(--header-offset) - 1.25rem);
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.teampanel_sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(0.5rem, 1.2vh, 0.85rem) clamp(0.5rem, 1vw, 0.75rem)
    clamp(0.5rem, 1.5vh, 1rem) clamp(0.25rem, 0.8vw, 0.5rem);
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.teampanel_sidebar_brand {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.2rem 0.35rem;
  font-family: Arame_Regular, sans-serif;
  font-size: clamp(1.05rem, 1.2vw + 0.6rem, 1.35rem);
  letter-spacing: 0.04em;
}

.teampanel_sidebar_logo {
  color: #ff2d4d;
}

.teampanel_sidebar_word {
  color: rgba(255, 255, 255, 0.88);
}

.teampanel_nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.teampanel_nav_group {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.teampanel_nav_label {
  font-family: Gilroy, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  padding: 0.15rem 0.4rem;
}

.teampanel_nav_item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  width: 100%;
  text-align: left;
  border: none;
  border-radius: 10px;
  padding: 0.48rem 0.55rem;
  font-family: Gilroy, sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.teampanel_nav_icon {
  flex-shrink: 0;
  width: 1.1rem;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.55;
  color: rgba(255, 255, 255, 0.75);
}

.teampanel_nav_item.is-active .teampanel_nav_icon {
  opacity: 1;
  color: #fff;
}

.teampanel_nav_text {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.teampanel_nav_item .teampanel_badge {
  margin-left: auto;
  flex-shrink: 0;
}

.teampanel_nav_item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.teampanel_nav_item.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 45, 77, 0.22) 0%, rgba(80, 20, 30, 0.35) 100%);
  border: 1px solid rgba(255, 45, 77, 0.35);
}

.teampanel_nav_item[hidden],
.teampanel_nav_item.teampanel_nav_restricted:not(.teampanel_nav_allowed) {
  display: none !important;
}

.teampanel_badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.12rem 0.38rem;
  border-radius: 6px;
  background: rgba(46, 204, 113, 0.2);
  color: #5ee4a1;
  border: 1px solid rgba(46, 204, 113, 0.35);
}

.teampanel_infos_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.2vw, 0.95rem);
  align-items: start;
}

.teampanel_card_split {
  min-height: 0;
}

.teampanel_card_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.teampanel_card_head .teampanel_card_title {
  margin: 0;
}

.teampanel_card_actions {
  display: inline-flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.teampanel_btn_icon_sm {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.78rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transition:
    background 0.15s ease,
    filter 0.15s ease;
}

.teampanel_btn_icon_sm:hover {
  background: rgba(255, 255, 255, 0.12);
}

.teampanel_btn_icon_sm_add {
  border-color: rgba(255, 45, 77, 0.45);
  background: linear-gradient(135deg, rgba(255, 45, 77, 0.35) 0%, rgba(120, 20, 40, 0.55) 100%);
}

.teampanel_btn_icon_sm_add:hover {
  filter: brightness(1.08);
}

.teampanel_btn_icon_sm_muted {
  opacity: 0.88;
}

.teampanel_alert {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-family: Gilroy, sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
}

.teampanel_alert_icon {
  flex-shrink: 0;
  margin-top: 0.08rem;
}

.teampanel_alert--warn {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.38);
    color: rgba(254, 215, 170, 0.95);
}

/* display:flex auf .teampanel_alert würde sonst [hidden] überschreiben (Spezifikation). */
.teampanel_alert[hidden] {
    display: none !important;
}

.teampanel_link_tile {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 45, 77, 0.35);
  background: linear-gradient(135deg, rgba(255, 45, 77, 0.14) 0%, rgba(35, 10, 16, 0.55) 100%);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.12s ease;
}

.teampanel_link_tile:hover {
  border-color: rgba(255, 45, 77, 0.55);
  background: linear-gradient(135deg, rgba(255, 45, 77, 0.2) 0%, rgba(35, 10, 16, 0.65) 100%);
  transform: translateY(-1px);
}

.teampanel_link_tile_icon {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.teampanel_link_tile_body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.teampanel_link_tile_title {
  font-family: Gilroy, sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
}

.teampanel_link_tile_desc {
  font-family: Gilroy, sans-serif;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.4;
}

.teampanel_link_tile_ext {
  flex-shrink: 0;
  align-self: center;
  font-size: 0.72rem;
  opacity: 0.45;
}

.teampanel_link_tile:hover .teampanel_link_tile_ext {
  opacity: 0.85;
}

.teampanel_nav_item:hover .teampanel_nav_icon {
  opacity: 0.88;
}

@media (max-width: 720px) {
  .teampanel_infos_grid {
    grid-template-columns: 1fr;
  }
}

/* Teampanel: Statistiken (Team-Kennzahlen + Ranking) */
.teampanel_stats_layout {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.4vh, 1rem);
}

.teampanel_stats_kpi_row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.teampanel_stat_card {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
}

.teampanel_stat_icon {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 45, 77, 0.12);
  color: #ff6b81;
  font-size: 0.95rem;
}

.teampanel_stat_value {
  font-family: Gilroy, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}

.teampanel_stat_label {
  font-family: Gilroy, sans-serif;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.35;
  margin-top: 0.12rem;
}

.teampanel_stat_hint {
  color: rgba(255, 255, 255, 0.38);
  font-weight: 500;
}

.teampanel_stats_sub {
  margin: -0.25rem 0 0.75rem;
  font-family: Gilroy, sans-serif;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}

.teampanel_table_stats {
  min-width: 400px;
}

.teampanel_stats_total {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #ff7a8f;
}

.teampanel_rank_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.35rem;
  border-radius: 8px;
  font-family: Gilroy, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(255, 45, 77, 0.35) 0%, rgba(120, 25, 40, 0.5) 100%);
  color: #fff;
  border: 1px solid rgba(255, 45, 77, 0.45);
}

.teampanel_rank_badge--muted {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
}

.teampanel_stats_row_top {
  background: rgba(255, 45, 77, 0.06);
}

.teampanel_stats_row_top td:first-child {
  border-left: 3px solid #ff2d4d;
}

.teampanel_stats_footnote {
  margin: 0.65rem 0 0;
  font-family: Gilroy, sans-serif;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .teampanel_stats_kpi_row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .teampanel_stats_kpi_row {
    grid-template-columns: 1fr;
  }
}

.teampanel_view--eintragen {
  flex: 1 1 auto;
  justify-content: center;
  padding: clamp(0.5rem, 2vh, 1.5rem) 0 clamp(0.75rem, 2vh, 1.75rem);
  min-height: 0;
}

/* Eintragen: „Garage“-Panel (radial rot oben, dunkles Glas, Kanten-Akzent) */
.teampanel_form_card {
  --tp-garage-radius: 12px;
  position: relative;
  max-width: min(760px, 100%);
  width: 100%;
  margin-inline: auto;
  padding: clamp(1.25rem, 2.5vh, 1.65rem) clamp(1.35rem, 3vw, 1.75rem);
  border-radius: var(--tp-garage-radius);
  overflow: hidden;
  font-family: "TT Supermolot Neue Trl", Gilroy, sans-serif;
  background: radial-gradient(
      72.24% 72.55% at 26.62% -2.41%,
      rgba(255, 45, 77, 0.2) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 22px 50px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
}

.teampanel_form_card::before,
.teampanel_form_card::after {
  content: "";
  position: absolute;
  bottom: 14px;
  width: 3px;
  height: 58%;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background: linear-gradient(
    180deg,
    rgba(255, 45, 77, 0.55) 0%,
    rgba(255, 45, 77, 0.08) 55%,
    rgba(255, 45, 77, 0) 100%
  );
  box-shadow: 0 0 18px rgba(255, 45, 77, 0.25);
}

.teampanel_form_card::before {
  left: 11px;
}

.teampanel_form_card::after {
  right: 11px;
}

.teampanel_form_head,
.teampanel_form_inner {
  position: relative;
  z-index: 1;
}

.teampanel_form_head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  margin: 0 0 clamp(1rem, 2vh, 1.35rem);
  padding-bottom: clamp(0.85rem, 1.5vh, 1.05rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.teampanel_form_head_main {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1 1 12rem;
  min-width: 0;
}

.teampanel_form_tag {
  align-self: flex-start;
  padding: 0.32rem 0.48rem;
  border-radius: 3px;
  background: rgba(255, 45, 77, 0.15);
}

.teampanel_form_tag span {
  font-family: "TT Supermolot Neue Trl", Gilroy, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ff2d4d;
}

.teampanel_form_title {
  margin: 0;
  font-family: Arame, Arame_Regular, sans-serif;
  font-size: clamp(0.88rem, 0.75vw + 0.55rem, 1.05rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.2;
  color: #ff2d4d;
  text-shadow: 0 0 22px rgba(255, 57, 57, 0.45);
}

/* Park-In-Style: flach, rot Label, Hover = Rot-Gradient + dunkler Text */
.teampanel_btn_jump {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0 1rem;
  gap: 0.35rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  font-family: "TT Supermolot Neue Trl", Gilroy, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #ff2d4d;
  cursor: pointer;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.18s ease;
  white-space: nowrap;
}

.teampanel_btn_jump:hover {
  border-color: rgba(255, 45, 77, 0.55);
  background: linear-gradient(135deg, #ff2d4d 0%, #991b2e 100%);
  color: rgba(0, 0, 0, 0.75);
  box-shadow: 0 4px 22px rgba(255, 45, 77, 0.45);
  transform: translateY(-1px);
}

.teampanel_form_inner {
  width: 100%;
}

.teampanel_form .teampanel_field {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  margin: 0 0 0.95rem;
}

.teampanel_form .teampanel_field--flush {
  margin-bottom: 1.1rem;
  border: none;
  padding: 0;
  min-width: 0;
}

.teampanel_form_card .teampanel_field_label,
.teampanel_form .teampanel_field_label {
  margin: 0;
  font-family: "TT Supermolot Neue Trl", Gilroy, sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.teampanel_form_card .teampanel_input--form,
.teampanel_form_card .teampanel_textarea.teampanel_input--form {
  border-radius: 4px;
  border: 1px solid rgba(153, 153, 153, 0.12);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.58rem 0.72rem;
  font-family: "TT Supermolot Neue Trl", Gilroy, sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.teampanel_form_card .teampanel_input--form::placeholder,
.teampanel_form_card .teampanel_textarea.teampanel_input--form::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.teampanel_form_card .teampanel_input--form:hover,
.teampanel_form_card .teampanel_textarea.teampanel_input--form:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.teampanel_form_card .teampanel_input--form:focus,
.teampanel_form_card .teampanel_textarea.teampanel_input--form:focus {
  outline: none;
  border-color: rgba(255, 45, 77, 0.45);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 1px rgba(255, 45, 77, 0.2);
}

.teampanel_textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: 1.45;
}

.teampanel_segment {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.teampanel_segment_pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.teampanel_segment_opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(
      158.91% 70.71% at 50% 50%,
      rgba(115, 115, 115, 0) 0%,
      rgba(217, 217, 217, 0.06) 100%
    ),
    rgba(255, 255, 255, 0.03);
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.18s ease;
}

.teampanel_segment_opt--full {
  width: 100%;
}

.teampanel_segment_opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.teampanel_segment_opt span {
  pointer-events: none;
  font-family: "TT Supermolot Neue Trl", Gilroy, sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.22s ease;
}

.teampanel_segment_opt:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.teampanel_segment_opt:hover span {
  color: #ff2d4d;
}

.teampanel_segment_opt:has(input:checked) {
  border: 1px solid rgba(255, 45, 77, 0.45);
  background: linear-gradient(135deg, #ff2d4d 0%, #991b2e 100%);
  box-shadow: 0 4px 20px rgba(255, 45, 77, 0.32);
}

.teampanel_segment_opt:has(input:checked) span {
  color: rgba(0, 0, 0, 0.75);
}

.teampanel_segment_opt:focus-within {
  outline: 2px solid rgba(255, 45, 77, 0.45);
  outline-offset: 2px;
}

.teampanel_btn_submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.65rem;
  padding: 0 1rem;
  gap: 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  font-family: "TT Supermolot Neue Trl", Gilroy, sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #ff2d4d;
  cursor: pointer;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.18s ease;
}

.teampanel_btn_submit:hover {
  border: 1px solid rgba(255, 45, 77, 0.55);
  background: linear-gradient(135deg, #ff2d4d 0%, #991b2e 100%);
  color: rgba(0, 0, 0, 0.75);
  box-shadow: 0 6px 26px rgba(255, 45, 77, 0.45);
  transform: translateY(-1px);
}

.teampanel_form_submit {
  margin-top: 0.2rem;
}

.teampanel_form_hint {
  margin: 0.75rem 0 0;
  font-family: "TT Supermolot Neue Trl", Gilroy, sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.32);
  text-align: center;
  line-height: 1.45;
}

#teampanel_support_form_hint[data-state="ok"] {
  color: rgba(134, 239, 172, 0.95);
}

#teampanel_support_form_hint[data-state="error"] {
  color: rgba(252, 165, 165, 0.95);
}

@media (max-width: 480px) {
  .teampanel_segment_pair {
    grid-template-columns: 1fr;
  }
}

.teampanel_main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: transparent;
  justify-self: center;
  width: min(1040px, 100%);
  max-width: min(1040px, 100%);
}

#teampanel:has(.teampanel_view--eintragen.is-active) .teampanel_main {
  width: min(1180px, 100%);
  max-width: min(1180px, 100%);
}

#teampanel:has(#teampanel_view_statistiken.is-active) .teampanel_main {
  width: min(1180px, 100%);
  max-width: min(1180px, 100%);
}

#teampanel:has(#teampanel_view_supports.is-active) .teampanel_main {
  width: min(1180px, 100%);
  max-width: min(1180px, 100%);
}

.teampanel_topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: clamp(0.45rem, 1vh, 0.65rem) 0 clamp(0.55rem, 1.2vh, 0.75rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.teampanel_topbar_title {
  margin: 0;
  font-family: Arame_Regular, sans-serif;
  font-size: clamp(0.95rem, 1vw + 0.55rem, 1.25rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
}

#teampanel:has(.teampanel_view--eintragen.is-active) .teampanel_topbar_title {
  font-family: Gilroy, sans-serif;
  font-weight: 700;
  font-size: clamp(0.68rem, 0.55vw + 0.52rem, 0.78rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}

.teampanel_topbar_right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.teampanel_icon_btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.teampanel_icon_btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.teampanel_user_chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.35rem;
  padding: 0.25rem 0.55rem 0.25rem 0.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
}

.teampanel_user_avatar_wrap {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2d4d 0%, #5a1520 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  flex-shrink: 0;
}

.teampanel_user_avatar_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.teampanel_user_avatar_img[hidden] {
  display: none !important;
}

.teampanel_user_name {
  font-family: Gilroy, sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.teampanel_modal_open {
  overflow: hidden;
}

.teampanel_modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.teampanel_modal[hidden] {
  display: none !important;
}

.teampanel_modal_backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.teampanel_modal_card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, rgba(28, 12, 16, 0.98) 0%, rgba(12, 8, 10, 0.99) 100%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}

.teampanel_modal_title {
  margin: 0 0 1rem;
  font-family: Arame_Regular, sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.03em;
}

.teampanel_milestone_list {
  margin: 0 0 1.15rem;
  padding-left: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.88);
  font-family: Gilroy, sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
}

.teampanel_milestone_item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.teampanel_milestone_item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.teampanel_milestone_prog {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding-top: 0.12rem;
}

.teampanel_milestone_main {
  flex: 1 1 auto;
  min-width: 0;
}

.teampanel_milestone_list strong {
  color: #ff4d67;
  font-weight: 600;
}

.teampanel_modal_card .teampanel_modal_close.teampanel_btn_primary {
  width: 100%;
}

.teampanel_modal_card--form {
  max-height: min(90vh, 520px);
  overflow-y: auto;
}

.teampanel_modal_card--support_entry {
  max-width: min(34rem, calc(100vw - 2rem));
  padding: 1.45rem 1.5rem 1.35rem;
  border: 1px solid rgba(255, 77, 103, 0.22);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 45, 77, 0.06) inset;
}

.teampanel_modal_title--support_entry {
  margin-bottom: 0.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.06em;
}

.teampanel_support_entry_lead {
  margin: 0 0 1rem;
  font-family: Gilroy, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.4;
}

.teampanel_support_entry_detail {
  margin: 0 0 0.25rem;
  max-height: min(58vh, 440px);
  overflow-y: auto;
  padding-right: 0.15rem;
}

.teampanel_support_entry_shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.18) 100%);
  overflow: hidden;
}

.teampanel_support_entry_dl {
  display: flex;
  flex-direction: column;
}

.teampanel_support_entry_field {
  display: grid;
  grid-template-columns: minmax(0, 9.25rem) minmax(0, 1fr);
  gap: 0.5rem 1rem;
  align-items: baseline;
  padding: 0.72rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: Gilroy, sans-serif;
  font-size: 0.88rem;
}

.teampanel_support_entry_field:last-of-type {
  border-bottom: 0;
}

.teampanel_support_entry_k {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 138, 122, 0.88);
  line-height: 1.35;
}

.teampanel_support_entry_v {
  margin: 0;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.5;
  word-break: break-word;
}

.teampanel_support_entry_id {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  user-select: all;
}

.teampanel_modal_card--support_entry .teampanel_status_pill {
  font-size: 0.72rem;
  padding: 0.22rem 0.55rem;
}

.teampanel_support_entry_reason {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(255, 45, 77, 0.18);
  background: linear-gradient(180deg, rgba(255, 45, 77, 0.07) 0%, rgba(0, 0, 0, 0.12) 100%);
}

.teampanel_support_entry_reason_k {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 138, 122, 0.95);
  margin-bottom: 0.45rem;
}

.teampanel_support_entry_reason_text {
  margin: 0;
  font-family: Gilroy, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.55;
  white-space: pre-wrap;
}

.teampanel_modal_card--support_entry > .teampanel_btn_secondary.teampanel_modal_close {
  width: 100%;
  margin-top: 1.05rem;
}

@media (max-width: 520px) {
  .teampanel_support_entry_field {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .teampanel_support_entry_k {
    margin-bottom: 0.1rem;
  }
}

.teampanel_infos_form .teampanel_field {
  margin-bottom: 0.65rem;
}

.teampanel_infos_form_hint {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: #ff8a7a;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
}

.teampanel_infos_form_hint[hidden] {
  display: none !important;
}

.teampanel_infos_list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.teampanel_infos_list[hidden] {
  display: none !important;
}

.teampanel_info_row {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 45, 77, 0.22);
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.teampanel_info_row_link {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.55rem 0.6rem;
  color: inherit;
  text-decoration: none;
}

.teampanel_info_row_link:hover {
  background: rgba(255, 255, 255, 0.04);
}

.teampanel_info_row_delete {
  flex-shrink: 0;
  width: 40px;
  border: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 45, 77, 0.12);
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.teampanel_info_row_delete:hover {
  color: #fff;
  background: rgba(255, 45, 77, 0.35);
}

.teampanel_info_row_body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.teampanel_content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.3vh, 0.95rem);
  padding: clamp(0.55rem, 1.2vh, 0.85rem) 0 clamp(0.5rem, 1.5vh, 1rem);
  overflow: auto;
}

.teampanel_view {
  display: none;
  flex-direction: column;
  gap: clamp(0.65rem, 1.3vh, 0.95rem);
  flex: 1 1 auto;
  min-height: 0;
}

.teampanel_view.is-active {
  display: flex;
}

.teampanel_view[hidden] {
  display: none !important;
}

.teampanel_kpi_row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.teampanel_kpi {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
  justify-content: flex-start;
}

.teampanel_kpi_icon {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.teampanel_kpi_body {
  min-width: 0;
}

.teampanel_kpi_value {
  font-family: Gilroy, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}

.teampanel_kpi_value_row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.teampanel_kpi_badge {
  font-family: Gilroy, sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  background: rgba(234, 88, 12, 0.22);
  color: #fdba74;
  border: 1px solid rgba(234, 88, 12, 0.45);
}

.teampanel_kpi_badge--neutral {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.14);
}

.teampanel_kpi_badge--online {
  background: rgba(34, 197, 94, 0.2);
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.42);
}

.teampanel_kpi_badge--offline {
  background: rgba(234, 88, 12, 0.22);
  color: #fdba74;
  border-color: rgba(234, 88, 12, 0.45);
}

.teampanel_kpi_label {
  font-family: Gilroy, sans-serif;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.35;
  margin-top: 0.15rem;
}

.teampanel_kpi_hint {
  display: block;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 500;
}

.teampanel_chart_card {
  padding-bottom: clamp(0.75rem, 1.4vh, 1rem);
}

.teampanel_chart_head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.teampanel_chart_legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-family: Gilroy, sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.teampanel_legend {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.teampanel_legend i {
  font-size: 0.45rem;
}

.teampanel_legend--blue i {
  color: #3b82f6;
}

.teampanel_legend--green i {
  color: #22c55e;
}

.teampanel_chart_area {
  position: relative;
}

.teampanel_chart_svg {
  display: block;
  width: 100%;
  height: clamp(200px, min(34vh, 300px), 300px);
  max-height: 300px;
}

.teampanel_chart_xlabels {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0.25rem 0 1.85rem;
  font-family: Gilroy, sans-serif;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.38);
}

.teampanel_banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem 1.25rem;
  padding: clamp(0.75rem, 1.4vh, 1rem) clamp(0.85rem, 1.5vw, 1.1rem);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}

.teampanel_banner_text {
  flex: 1 1 12rem;
  min-width: 0;
}

.teampanel_banner .teampanel_btn_kummer {
  margin-left: auto;
}

.teampanel_banner_text strong {
  font-family: Gilroy, sans-serif;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}

.teampanel_banner_text p {
  margin: 0.35rem 0 0;
  font-family: Gilroy, sans-serif;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.45;
  max-width: 42rem;
}

.teampanel_btn_kummer {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 45, 77, 0.45);
  border-radius: 10px;
  padding: 0.62rem 1rem;
  font-family: Gilroy, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #ff2d4d 0%, #991b2e 100%);
  box-shadow: 0 8px 22px rgba(255, 45, 77, 0.28);
  transition: filter 0.15s ease;
}

.teampanel_btn_kummer:hover {
  filter: brightness(1.06);
}

.teampanel_placeholder_text {
  margin: 0;
  font-family: Gilroy, sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .teampanel_kpi_row {
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  }
}

.teampanel_card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: clamp(0.65rem, 1.2vh, 0.9rem) clamp(0.75rem, 1.2vw, 1rem);
}

.teampanel_card_title {
  margin: 0 0 0.75rem;
  font-family: Gilroy, sans-serif;
  font-size: clamp(0.88rem, 0.75vw + 0.55rem, 1.02rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.teampanel_date_row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.5vw, 0.85rem);
  margin-bottom: 0.85rem;
}

.teampanel_field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.teampanel_field_label {
  font-family: Gilroy, sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.teampanel_input {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: Gilroy, sans-serif;
  font-size: 0.85rem;
  padding: 0.55rem 0.65rem;
  outline: none;
}

.teampanel_input:focus {
  border-color: rgba(255, 45, 77, 0.55);
}

.teampanel_btn_block {
  width: 100%;
  justify-content: center;
  gap: 0.5rem;
}

.teampanel_btn_primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0.52907px solid #ff2d4d;
  border-radius: 10px;
  padding: 0.72rem 1rem;
  font-family: Gilroy, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: 0.02em;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #ff2d4d 0%, #991b2e 100%);
  box-shadow: 0 8px 24px rgba(255, 45, 77, 0.32);
  transition:
    filter 0.15s ease,
    transform 0.12s ease;
}

.teampanel_btn_primary:hover {
  filter: brightness(1.06);
}

.teampanel_btn_secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.45rem;
  gap: 0.5rem;
  width: 100%;
  border-radius: 10px;
  padding: 0.68rem 1rem;
  font-family: Gilroy, sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.15s ease;
}

.teampanel_btn_secondary:hover {
  background: rgba(255, 255, 255, 0.11);
}

.teampanel_toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.teampanel_export_group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.teampanel_btn_export {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  font-family: Gilroy, sans-serif;
  font-size: 0.72rem;
  padding: 0.38rem 0.55rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.teampanel_btn_export:hover {
  background: rgba(255, 255, 255, 0.1);
}

.teampanel_toolbar_right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.teampanel_search_wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.45);
}

.teampanel_search {
  border: none;
  background: transparent;
  color: #fff;
  font-family: Gilroy, sans-serif;
  font-size: 0.8rem;
  min-width: 120px;
  width: min(220px, 36vw);
  outline: none;
}

.teampanel_btn_square {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.teampanel_btn_square_add {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 1px solid rgba(37, 99, 235, 0.6);
}

.teampanel_btn_square_warn {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  border: 1px solid rgba(234, 88, 12, 0.55);
}

.teampanel_table_wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.teampanel_table {
  width: 100%;
  border-collapse: collapse;
  font-family: Gilroy, sans-serif;
  font-size: 0.78rem;
  min-width: 720px;
}

.teampanel_table th,
.teampanel_table td {
  padding: 0.55rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.teampanel_table th {
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: none;
  letter-spacing: 0.02em;
}

.teampanel_table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.teampanel_table td {
  color: rgba(255, 255, 255, 0.82);
}

.teampanel_supports_period_hint {
  margin: 0 0 0.85rem;
  font-family: Gilroy, sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.48);
}

.teampanel_table_supports {
  min-width: 960px;
}

.teampanel_th_sort {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.teampanel_th_sort i {
  opacity: 0.42;
  font-size: 0.62rem;
}

.teampanel_profile_pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-family: Gilroy, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 45, 77, 0.42) 0%, rgba(90, 21, 32, 0.55) 100%);
  border: 1px solid rgba(255, 45, 77, 0.38);
}

.teampanel_status_pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.48rem;
  border-radius: 6px;
  font-family: Gilroy, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.teampanel_status_pill--ok {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.teampanel_status_pill--fwd {
  background: rgba(234, 179, 8, 0.12);
  color: #fde68a;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.teampanel_status_pill--open {
  background: rgba(255, 45, 77, 0.12);
  color: #fda4af;
  border: 1px solid rgba(255, 45, 77, 0.32);
}

#teampanel_view_supports .teampanel_btn_row_info {
  background: linear-gradient(135deg, #ff2d4d 0%, #5a1520 100%);
  color: #fff;
  border-color: rgba(255, 45, 77, 0.48);
}

#teampanel_view_supports .teampanel_btn_row_info:hover {
  filter: brightness(1.06);
}

.teampanel_supports_footnote {
  margin: 0.65rem 0 0;
  font-family: Gilroy, sans-serif;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.38);
}

.teampanel_mono {
  font-variant-numeric: tabular-nums;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.65);
}

.teampanel_row_actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.teampanel_btn_row {
  border-radius: 8px;
  padding: 0.32rem 0.55rem;
  font-family: Gilroy, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.teampanel_btn_row_info {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  border-color: rgba(37, 99, 235, 0.5);
}

.teampanel_btn_row_danger {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #fff;
  border-color: rgba(234, 88, 12, 0.45);
}

.teampanel_table_footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.teampanel_table_meta {
  font-family: Gilroy, sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.teampanel_pager {
  display: flex;
  gap: 0.35rem;
}

.teampanel_pager_btn {
  min-width: 36px;
  height: 34px;
  padding: 0 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  font-family: Gilroy, sans-serif;
  font-size: 0.75rem;
  cursor: pointer;
}

.teampanel_pager_btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.teampanel_pager_btn.is-current {
  border-color: rgba(255, 45, 77, 0.45);
  background: rgba(255, 45, 77, 0.15);
  color: #fff;
}

.teampanel_footer_note {
  margin: 0;
  padding: 0.35rem 0 0.5rem;
  font-family: Gilroy, sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.38);
  text-align: left;
}

@media (max-width: 960px) {
  .teampanel_shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .teampanel_main {
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }

  .teampanel_sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(0.45rem, 1vh, 0.65rem) 0;
  }

  .teampanel_nav {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 0.5rem;
  }

  .teampanel_nav_group {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
  }

  .teampanel_nav_label {
    width: 100%;
    padding: 0.1rem 0.4rem;
  }

  .teampanel_nav_item {
    width: auto;
    flex: 1 1 auto;
    min-width: min(140px, 42vw);
  }

  .teampanel_kpi_row {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .teampanel_banner {
    flex-direction: column;
    align-items: stretch;
  }

  .teampanel_banner .teampanel_btn_kummer {
    margin-left: 0;
  }

  .teampanel_btn_kummer {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .teampanel_date_row {
    grid-template-columns: 1fr;
  }
}

.team_container {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: clamp(0.9rem, 1.8vh, 1.35rem);
}

.team_header {
  border-radius: 14px;
}

.team_subtitle {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: Gilroy, sans-serif;
  font-size: clamp(0.78rem, 0.62vw + 0.6rem, 0.92rem);
  line-height: 1.55;
}

.team_group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.team_group_title {
  margin: 0;
  color: #ff2d4d;
  font-family: Arame_Regular, sans-serif;
  font-size: clamp(1rem, 1vw + 0.7rem, 1.35rem);
  letter-spacing: 0.02em;
}

.team_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vh, 1rem);
}

.team_card {
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 3%);
  background: linear-gradient(
      140deg,
      rgba(130, 26, 44, 0.2) 0%,
      rgba(35, 12, 17, 0.18) 100%
    ),
    rgb(147 147 147 / 2%);
  padding: clamp(0.8rem, 1.5vh, 1rem);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 172px;
}

.team_card_top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.team_avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.team_name {
  margin: 0;
  color: #fff;
  font-family: Gilroy, sans-serif;
  font-size: clamp(0.84rem, 0.76vw + 0.6rem, 1rem);
}

.team_role_main {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.65);
  font-family: Gilroy, sans-serif;
  font-size: clamp(0.7rem, 0.52vw + 0.55rem, 0.8rem);
}

.team_badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.team_badge {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-family: Gilroy, sans-serif;
  font-size: 0.7rem;
  padding: 0.22rem 0.5rem;
}

.team_card_text {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: Gilroy, sans-serif;
  font-size: clamp(0.72rem, 0.55vw + 0.56rem, 0.84rem);
  line-height: 1.52;
}

.impressum_page {
  justify-content: flex-start;
  align-items: stretch;
}

.impressum_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vh, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  font-family: Gilroy, sans-serif;
  justify-content: center;
}

.impressum_subtitle {
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(0.75rem, 0.7vw + 0.6rem, 0.95rem);
}

.impressum_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.3vh, 1rem);
}

.impressum_card {
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 3%);
  background: rgb(147 147 147 / 2%);
  padding: clamp(0.95rem, 1.9vh, 1.2rem) clamp(0.95rem, 2vw, 1.3rem);
}

.impressum_card_accent {
  background: linear-gradient(
      135deg,
      rgba(130, 26, 44, 0.3) 0%,
      rgba(89, 16, 31, 0.26) 100%
    ),
    rgb(147 147 147 / 2%);
}

.impressum_card_title {
  margin: 0 0 clamp(0.65rem, 1.2vh, 0.85rem);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-size: clamp(0.78rem, 0.7vw + 0.58rem, 0.98rem);
  font-weight: 700;
}

.impressum_card_text {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.76rem, 0.64vw + 0.58rem, 0.92rem);
  line-height: 1.72;
}

.impressum_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.impressum_row .impressum_card_title {
  margin: 0;
}

.impressum_row_value {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.76rem, 0.64vw + 0.58rem, 0.92rem);
  text-align: right;
}

.impressum_external_link {
  display: inline-block;
  color: #ff6c83;
  text-decoration: none;
  font-family: Gilroy, sans-serif;
  font-size: clamp(0.76rem, 0.64vw + 0.58rem, 0.92rem);
  word-break: break-all;
  transition: color 0.2s ease;
}

.impressum_external_link:hover,
.impressum_external_link:focus-visible {
  color: #ff93a4;
  text-decoration: underline;
}

.privacy_policy_toggle {
  list-style: none;
  cursor: pointer;
  color: #fff;
  font-size: clamp(0.95rem, 0.9vw + 0.7rem, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
}

.privacy_policy_toggle::-webkit-details-marker {
  display: none;
}

.privacy_policy_toggle::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: rgba(255, 255, 255, 0.65);
  float: right;
  transition: transform 0.2s ease;
}

.privacy_policy[open] .privacy_policy_toggle::after {
  transform: rotate(180deg);
}

.privacy_policy_content {
  margin-top: 0.7rem;
  max-height: min(65vh, 920px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.privacy_policy h3,
.privacy_policy h4,
.privacy_policy h5 {
  margin: 0;
  color: #fff;
  line-height: 1.35;
}

.privacy_policy h3 {
  font-size: clamp(0.95rem, 0.9vw + 0.7rem, 1.2rem);
  margin-top: 1rem;
}

.privacy_policy h4 {
  font-size: clamp(0.86rem, 0.72vw + 0.64rem, 1.03rem);
  margin-top: 0.75rem;
}

.privacy_policy h5 {
  font-size: clamp(0.8rem, 0.6vw + 0.62rem, 0.95rem);
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.9);
}

.privacy_policy p,
.privacy_policy li {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-family: Gilroy, sans-serif;
  font-size: clamp(0.76rem, 0.64vw + 0.58rem, 0.92rem);
  line-height: 1.65;
}

.privacy_policy ul {
  margin: 0.55rem 0 0;
  padding-left: 1.2rem;
}

.privacy_policy a {
  color: #ff6c83;
  text-decoration: none;
}

.privacy_policy a:hover,
.privacy_policy a:focus-visible {
  color: #ff93a4;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .impressum_grid {
    grid-template-columns: 1fr;
  }

  .about_showcase {
    grid-template-columns: 1fr;
  }

  .team_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .team_grid {
    grid-template-columns: 1fr;
  }

  .impressum_row {
    flex-direction: column;
    align-items: flex-start;
  }

  .impressum_row_value {
    text-align: left;
  }
}

