.community-frame[hidden],
.community-welcome[hidden] {
  display: none;
}
.community-frame h1 {
  margin: 8px 0 12px;
}
.community-frame-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 14px;
}
.community-frame iframe {
  display: block;
  width: 100%;
  height: 72vh;
  min-height: 420px;
  box-sizing: border-box;
  border: 1px solid var(--stroke, #29384f);
  border-radius: 14px;
  background: var(--card, #101726);
}
.community-leagues a[aria-current="page"] {
  color: #75d5b3;
  font-weight: 700;
}

/* portal-v2 */
.grid > header[role="banner"],
.grid > header[role="banner"] .banner-wrap {
  background: #121212;
}
.grid > main { min-width: 0; }
.portal-legal {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
}
@media (max-width: 980px) {
  .grid > header[role="banner"] { position: relative; }
  .grid > aside { position: sticky; top: 0; z-index: 10; }
  .grid > aside > .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 6px;
  }
  .grid > aside .portal-legal { grid-column: 1 / -1; min-height: 44px; }
  .community-leagues ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
    list-style: none;
    padding: 0;
  }
  .community-leagues ul li { margin: 0; }
  .community-leagues ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .community-frame iframe { height: 68vh; height: 68svh; min-height: 280px; }
}
@media (max-width: 370px) {
  .grid > aside > .nav { grid-template-columns: minmax(0, 1fr); }
}

/* Ausrichtung der Navigationskacheln */
.nav > .dart-btn::before,
.nav > .dart-btn > span:first-child {
  grid-row: 1;
  align-self: center;
}
.nav > .dart-btn > span:first-child {
  grid-column: 2;
}
.nav > .dart-btn[data-view="#willkommen"] {
  grid-template-rows: minmax(22px, 1fr);
}
.nav > .portal-legal {
  justify-content: center;
  text-align: center;
}

@media (min-width: 981px) {
  .grid > aside {
    display: flex;
    flex-direction: column;
    align-self: start;
    box-sizing: border-box;
    min-height: calc(100vh - var(--header-h, 200px));
    min-height: calc(100dvh - var(--header-h, 200px));
  }
  .grid > aside > .nav {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .nav > .portal-legal {
    margin-top: auto;
  }
}
