/* =========================================================
   GAMES/EVENTS OVERVIEW — games-event-overview.css
   Landing-Typo/Raster, eigene Scroll-Story (CI: Athlon-Rot, kein Mint/Grün)
========================================================= */

/* Verhindert Scroll-Sprünge, wenn der Katalog nachlädt (Scroll Anchoring) */
html:has(body[data-page="games-event-overview"]){
  overflow-anchor: none;
}

/* Ambiente: Landing-Gradient überschreiben — nur CI + Neutral (kein Grün unten) */
.siteMain .gamesOverviewPage.homePage::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 120vw 78vh at 10% -16%, rgba(255,30,45,.22), transparent 58%),
    radial-gradient(ellipse 100vw 68vh at 92% 22%, rgba(255,255,255,.07), transparent 56%),
    radial-gradient(ellipse 105vw 72vh at 62% 100%, rgba(255,30,45,.09), transparent 62%);
  filter: saturate(1.02);
}

.gamesOverviewPage > .goBody,
.gamesOverviewPage > section.mHero{
  position: relative;
  z-index: 1;
}

/* Hero: kompakt, ohne erzwungene Mindesthöhe — passt besser in einen Blick */
.gamesOverviewPage section.mHero.goHero{
  min-height: 0;
  box-sizing: border-box;
  padding-bottom: clamp(4px, 1vw, 10px);
}

.gamesOverviewPage{
  --goAccent: var(--brand-primary);
  --goLine: rgba(255,255,255,.12);
  --goLineStrong: rgba(255,255,255,.18);
  --goCard: rgba(255,255,255,.04);
  --goCardHover: rgba(255,255,255,.06);
  --goText: var(--ui-text);
  --goMuted: var(--ui-text-muted);
  --goShadow: 0 18px 60px rgba(0,0,0,.45);
  --goShadowDeep: 0 26px 90px rgba(0,0,0,.55);
  --goBlur: blur(14px);

  --m-container-max: min(1260px, 100vw);
  --m-grid-gap: clamp(48px, 4.5vw, 64px);
  --m-col-inner-max: 520px;

  position: relative;
  isolation: isolate;
}

/* homePage liefert Ambiente + .container — kein doppeltes Top-Padding */
.siteMain .gamesOverviewPage.homePage{
  padding: 0;
}

/* .container kommt aus marketing-product-story (.homePage .container) */
.gamesOverviewPage > .goBody{
  /* Überschreibt app.css .section padding-top — Abstand Tab-Leiste → Kartenbox nur über margin-top */
  padding-top: 0;
  margin-top: clamp(10px, 1.4vw, 16px);
  padding-bottom: clamp(28px, 4vw, 44px);
}

/* Tab-Panels: nur eines sichtbar */
.gamesOverviewPage .goTabPanels{
  display: block;
  min-height: 0;
}

/* Hero-Stack: Kopfzeile Text + Bild, darunter Karten */
.gamesOverviewPage .goHeroStack{
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.gamesOverviewPage .goHeroTopRow{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 28px);
  align-items: start;
  margin-bottom: clamp(18px, 2.5vw, 26px);
}

@media (min-width: 768px){
  .gamesOverviewPage .goHeroTopRow{
    grid-template-columns: minmax(0, 1fr) min(280px, 36vw);
    column-gap: clamp(28px, 4vw, 56px);
    align-items: center;
  }
}

@media (min-width: 1100px){
  .gamesOverviewPage .goHeroTopRow{
    grid-template-columns: minmax(0, 1fr) min(340px, 38vw);
  }
}

.gamesOverviewPage .goHeroThumb{
  margin: 0;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  justify-self: end;
  width: 100%;
  max-width: min(360px, 100%);
  box-shadow:
    0 28px 64px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.1);
  background: rgba(0,0,0,.25);
}

.gamesOverviewPage .goHeroThumb img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px){
  .gamesOverviewPage .goHeroThumb{
    justify-self: stretch;
    max-width: min(320px, 92vw);
    margin-left: auto;
    margin-right: auto;
  }
}

/* Intro-Block: klare erste Ebene */
.gamesOverviewPage .goHeroIntro{
  max-width: min(58ch, 100%);
  margin-bottom: 0;
  min-width: 0;
}

.gamesOverviewPage .goHero .mH1{
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 1000;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-top: 0;
}

.gamesOverviewPage .goHero .mLead{
  line-height: 1.55;
  max-width: 62ch;
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 500;
  color: rgba(255,255,255,.88);
  margin: 0.65em 0 0;
}

.gamesOverviewPage .goHero .goHeroLead2{
  margin-top: 1em;
  color: rgba(255,255,255,.72);
  font-weight: 400;
}

/* ---------- Geo-Kacheln: zweite Ebene, optisch getrennt ---------- */
.gamesOverviewPage .goGeoTiles{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 0;
  padding-top: clamp(20px, 2.8vw, 28px);
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: 100%;
}
@media (min-width: 720px){
  .gamesOverviewPage .goGeoTiles{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 20px);
  }
}

.gamesOverviewPage .goGeoTile{
  position: relative;
  border-radius: 20px;
  padding: 1px;
  overflow: hidden;
  isolation: isolate;
  animation: goTileIn 0.65s ease backwards;
}
.gamesOverviewPage .goGeoTile:nth-child(1){ animation-delay: 0.06s; }
.gamesOverviewPage .goGeoTile:nth-child(2){ animation-delay: 0.14s; }
.gamesOverviewPage .goGeoTile:nth-child(3){ animation-delay: 0.22s; }

@keyframes goTileIn{
  from{
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gamesOverviewPage .goGeoTile--ruby{
  background: linear-gradient(135deg, rgba(255,30,45,.28), rgba(255,90,120,.12) 50%, rgba(255,255,255,.04));
}
.gamesOverviewPage .goGeoTile--steel{
  background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(120,130,150,.08) 50%, rgba(255,255,255,.03));
}
.gamesOverviewPage .goGeoTile--ember{
  background: linear-gradient(135deg, rgba(255,45,60,.22), rgba(255,30,45,.12) 50%, rgba(255,255,255,.04));
}

.gamesOverviewPage .goGeoTile__inner{
  position: relative;
  border-radius: 20px;
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: rgba(10,12,18,.88);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 22px 70px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.08);
  min-height: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.gamesOverviewPage .goGeoTile:hover .goGeoTile__inner{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.20);
  box-shadow:
    0 28px 90px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.06),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.gamesOverviewPage .goGeoTile__glyph{
  display: block;
  font-size: 18px;
  line-height: 1;
  margin-bottom: 6px;
  opacity: 0.92;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.4));
}

.gamesOverviewPage .goGeoTile__t{
  font-weight: 1000;
  font-size: clamp(16px, 1.25vw, 18px);
  letter-spacing: -0.02em;
  color: var(--goText);
  margin-bottom: 8px;
  line-height: 1.15;
}

.gamesOverviewPage .goGeoTile__lead{
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.48);
}

.gamesOverviewPage .goGeoList{
  margin: 0 0 12px;
  padding: 0 0 0 1.1em;
  list-style: disc;
  color: rgba(255,255,255,.82);
  font-size: clamp(13px, 0.95vw, 14.5px);
  line-height: 1.48;
  font-weight: 500;
}

.gamesOverviewPage .goGeoList li{
  margin-bottom: 0.4em;
}

.gamesOverviewPage .goGeoList li:last-child{
  margin-bottom: 0;
}

.gamesOverviewPage .goGeoTile__foot{
  margin: 4px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255,255,255,.68);
}

.gamesOverviewPage .goGeoTile__d{
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.42;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Subnav: Orbit-Ring — wenig Abstand zum Tab-Content ---------- */
.gamesOverviewPage .goSubnavWrap{
  margin-top: clamp(6px, 1.2vw, 12px);
  padding-bottom: 0;
}

/* Wie Dashboard: .dashFilterGroup + .dashFilterBtn (Meine Events / Detail-Filter) */
.gamesOverviewPage .goSubnav{
  position: sticky;
  top: 92px;
  z-index: 20;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  border: none;
  background: transparent;
  box-shadow: none;
}

.gamesOverviewPage .goSubnav--orbit{
  display: inline-flex;
  flex: 0 1 auto;
  max-width: 100%;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.gamesOverviewPage .goSubnav__row{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  min-width: 0;
}

.gamesOverviewPage .goSubnav a.goTab{
  flex: 0 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: rgba(255,255,255,.58);
  border: 1px solid transparent;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.gamesOverviewPage .goSubnav a.goTab:hover{
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.14);
}

.gamesOverviewPage .goSubnav a.goTab:focus-visible{
  outline: 2px solid rgba(255,30,45,.55);
  outline-offset: 2px;
}

.gamesOverviewPage .goSubnav a.goTab.active{
  background: rgba(255,30,45,.22);
  border-color: rgba(255,30,45,.48);
  color: #fff;
}

/* ---------- Content-Sections ---------- */
.gamesOverviewPage .goH2{
  margin: 0;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 1000;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--goText);
}

.gamesOverviewPage .goHead{
  margin-bottom: clamp(12px, 2vw, 18px);
}

/* Spiele-Tab: Zurück neben „Spiele in Athlon“ (rechts, eine Zeile) */
.gamesOverviewPage #games .goHead--spieleKatalog{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: clamp(8px, 1.2vw, 14px);
}
.gamesOverviewPage #games .goHead--spieleKatalog .goHead__titleWrap{
  flex: 1 1 auto;
  min-width: 0;
}
.gamesOverviewPage #games .goHead--spieleKatalog .goH2{
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.gamesOverviewPage #games .goHead--spieleKatalog .goHead__tipInline{
  font-size: .45em;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.68);
}
.gamesOverviewPage #favorites .goHead .goH2{
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.gamesOverviewPage #favorites .goHead .goH2 .goHead__tipInline{
  font-size: .42em;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.68);
}
.gamesOverviewPage #games .goHead--spieleKatalog .goCatFilterBack{
  flex: 0 0 auto;
  margin: 0;
  align-self: center;
}

.gamesOverviewPage .goSection--events .goHead{
  margin-bottom: clamp(6px, 1vw, 10px);
}

.gamesOverviewPage #events .goHead .goH2{
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.gamesOverviewPage #events .goHead .goH2 .goHead__tipInline{
  font-size: .42em;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.68);
}
/* Favoriten: Tipp bewusst eine Zeile (kein 62ch-Umbruch); bei Bedarf horizontal scrollen */
.gamesOverviewPage #favorites .goFavoritesLead{
  margin-top: 8px;
  max-width: none;
  width: 100%;
  min-width: 0;
  font-size: clamp(11px, 1.05vw, 13px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.gamesOverviewPage .goHead .muted{
  margin-top: 8px;
  max-width: 62ch;
  line-height: 1.55;
  font-size: 15px;
}

.gamesOverviewPage .goSection{
  margin-top: clamp(18px, 3vw, 28px);
}

.gamesOverviewPage .goSection:first-of-type{
  margin-top: 0;
}

/* Tab-Panels: beide Panels direkt unter der Tab-Leiste (kein Extra-Abstand vom 2. Section) */
.gamesOverviewPage .goTabPanels > .goSection{
  margin-top: 0;
}

.gamesOverviewPage .goSection__shell{
  position: relative;
  padding: clamp(18px, 2.5vw, 24px);
  border-radius: 22px;
  border: 1px solid var(--goLine);
  background: rgba(255,255,255,.03);
  backdrop-filter: var(--goBlur);
  -webkit-backdrop-filter: var(--goBlur);
  box-shadow: var(--goShadowDeep);
  overflow: hidden;
}

.gamesOverviewPage .goSection__shell::before{
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0.9;
  pointer-events: none;
  border-radius: inherit;
}

.gamesOverviewPage .goSection--catalog .goSection__shell::before{
  background:
    radial-gradient(900px 380px at 0% 0%, rgba(255,30,45,.14), transparent 55%),
    radial-gradient(700px 320px at 100% 100%, rgba(255,255,255,.06), transparent 58%);
}

.gamesOverviewPage .goSection--events .goSection__shell::before{
  background:
    radial-gradient(880px 400px at 100% 0%, rgba(255,30,45,.12), transparent 56%),
    radial-gradient(720px 340px at 0% 100%, rgba(255,255,255,.05), transparent 58%);
}

.gamesOverviewPage .goSection--favorites .goSection__shell::before{
  background:
    radial-gradient(860px 360px at 50% 0%, rgba(250, 204, 21, .09), transparent 55%),
    radial-gradient(700px 320px at 100% 100%, rgba(255,255,255,.05), transparent 58%);
}

.gamesOverviewPage .goSection__shell > *{
  position: relative;
  z-index: 1;
}

/* „pill“ statt „badge“: app.css matcht [class*=badge] und setzt ein Favicon-::before */
.gamesOverviewPage .goSection__pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,.14);
}

.gamesOverviewPage .goSection__pill--catalog{
  color: rgba(255,255,255,.92);
  background: rgba(255,30,45,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.gamesOverviewPage .goSection__pill--favorites{
  color: rgba(255,255,255,.9);
  background: rgba(250, 204, 21, .1);
  border-color: rgba(250, 204, 21, .22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}

.gamesOverviewPage .goSection__pill--events{
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}

.gamesOverviewPage .goSection__shell::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -1px 0 rgba(0,0,0,.28);
}

/* Events-Tab: 1:1 Aufbau wie Dashboard-Detail-Eventkacheln */
.gamesOverviewPage #events .dashEventList{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  grid-auto-rows: minmax(132px, auto);
}
.gamesOverviewPage #events .dashEventList > .listItem.dashEventTile{
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: 132px;
  overflow: hidden;
  padding: 16px 16px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(155deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.02) 42%, rgba(0,0,0,.2) 100%),
    rgba(22,22,24,.72);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow:
    0 16px 38px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.09);
  cursor: default;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.gamesOverviewPage #events .dashEventTile__statusPill--footer{
  position: static;
  flex: 0 1 auto;
  align-self: center;
  max-width: min(52%, 160px);
  padding: 4px 11px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 999px;
  border: 1px solid rgba(255,30,45,.42);
  background: rgba(255,30,45,.14);
  color: rgba(255,255,255,.94);
}
.gamesOverviewPage #events .dashEventTile__titleRow{
  width: 100%;
  margin: 0 0 8px;
}
.gamesOverviewPage #events .dashEventTile__titleRow .dashEventTile__headline{
  margin: 0;
  font-weight: 650;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.2;
  letter-spacing: -.035em;
  color: rgba(255,255,255,.98);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gamesOverviewPage #events .goCatGameCard__desc--preview.dashEventTile__lede{
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(255,255,255,.62);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gamesOverviewPage #events .dashEventTile__metaBlock{
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 12px;
}
.gamesOverviewPage #events .dashEventTile__metaLine{
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 520;
  letter-spacing: -.01em;
  color: rgba(255,255,255,.5);
}
.gamesOverviewPage #events .dashEventTile__bottom{
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.gamesOverviewPage #events .dashEventTile__bottom .dashEventTile__cta{
  flex-shrink: 0;
}
.gamesOverviewPage #events .dashEventTile__join{
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 11px;
  line-height: 1.2;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
}
.gamesOverviewPage #events .dashEventTile__cta{
  font-size: 13px;
  font-weight: 560;
  letter-spacing: -.015em;
  color: rgba(255,255,255,.78);
  white-space: nowrap;
}

/* Placeholder / Loading */
.gamesOverviewPage .goEmpty{
  border: 1px dashed rgba(255,255,255,.22);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  padding: 18px;
  color: var(--goMuted);
  font-weight: 850;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}

.gamesOverviewPage .goEmpty::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(0,0,0,.22);
}

/* CTA */
.gamesOverviewPage .goCtaRow{
  margin-top: clamp(22px, 3vw, 32px);
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.gamesOverviewPage .btn--primary{
  background: rgba(255,30,45,.22) !important;
  border-color: rgba(255,30,45,.55) !important;
  color: #fff !important;
}
.gamesOverviewPage .btn--primary:hover{
  background: rgba(255,30,45,.28) !important;
  border-color: rgba(255,30,45,.65) !important;
}

/* ---------- Spiele-Katalog: Kategorie-Kacheln (größer, Marketing-Look) ---------- */
.gamesOverviewPage .goCatGrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(6px, 1vw, 12px);
  /* Kacheln nur so hoch wie Inhalt — keine gestreckte Zeilenhöhe */
  align-items: start;
  justify-items: stretch;
}
@media (max-width: 980px){
  .gamesOverviewPage .goCatGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px){
  .gamesOverviewPage .goCatGrid{ grid-template-columns: 1fr; }
}

.gamesOverviewPage .goCatCard{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  row-gap: 4px;
  column-gap: 0;
  min-height: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 40%, rgba(0,0,0,.14) 100%),
    var(--goCard);
  padding: clamp(10px, 1.35vw, 16px);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 18px 48px rgba(0,0,0,.4);
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}
/*
  Icon + Text als eine Zeile, vertikal zueinander zentriert (kompakt, kein Leerraum in der Mitte).
*/
.gamesOverviewPage .goCatTop{
  grid-row: 1;
  grid-column: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  min-width: 0;
  width: 100%;
  gap: clamp(12px, 1.6vw, 18px);
}

.gamesOverviewPage .goCatCard:hover{
  transform: none;
  border-color: rgba(255,255,255,.1);
  background:
    linear-gradient(165deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 40%, rgba(0,0,0,.14) 100%),
    var(--goCard);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 18px 48px rgba(0,0,0,.4);
}

.gamesOverviewPage .goCatCard:focus-visible,
.gamesOverviewPage .goCatCard:active{
  transform: none;
  border-color: rgba(255,255,255,.1);
  background:
    linear-gradient(165deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 40%, rgba(0,0,0,.14) 100%),
    var(--goCard);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 18px 48px rgba(0,0,0,.4);
}

.gamesOverviewPage .goCatIcon{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}
.gamesOverviewPage .goCatIcon img{
  width: clamp(48px, 6.2vw, 68px);
  height: clamp(48px, 6.2vw, 68px);
  object-fit: contain;
  display: block;
  opacity: 0.96;
}

.gamesOverviewPage .goCatMain{
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

/* Titel + Tagline: enger zusammen; Beschreibung bis zu 3 Zeilen (nicht auf 1 kürzen) */
.gamesOverviewPage .goCatTextBlock{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  letter-spacing: -0.02em;
}
.gamesOverviewPage .goCatTitle{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-weight: 650;
  color: var(--goText);
  margin: 0;
  font-size: clamp(14px, 1.2vw, 17px);
  letter-spacing: -0.032em;
  line-height: 1.14;
}
.gamesOverviewPage .goCatSub{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0;
  color: rgba(255,255,255,.52);
  font-size: 11.5px;
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Zähler: Grid-Zeile 2, unter dem 1fr-Block */
.gamesOverviewPage .goCatFoot{
  grid-row: 2;
  grid-column: 1;
  display: flex;
  flex: unset;
  margin: 0;
  width: 100%;
  max-width: 100%;
  justify-content: center;
  align-items: center;
  padding-top: 0;
}
.gamesOverviewPage .goCatCount{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.82);
  font-weight: 650;
  font-size: 11px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* Kategorie-Kachel als Button (kein externer Link / 404) */
.gamesOverviewPage button.goCatCard{
  width: 100%;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* Kategorie-Filter + Spiel-Liste */
.gamesOverviewPage .goCatFilterPanel{
  margin-top: 8px;
  padding: clamp(14px, 2vw, 20px);
  border-radius: 18px;
  border: 1px solid var(--goLine);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 44px rgba(0,0,0,.38);
}
.gamesOverviewPage .goCatFilterHead{
  margin-bottom: 14px;
}
.gamesOverviewPage .goCatFilterBack{
  max-width: min(100%, 22rem);
}
.gamesOverviewPage .goCatFilterTitle{
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  color: var(--goText);
  line-height: 1.2;
}
.gamesOverviewPage .goCatFilterTitle .goCatFilterTitle__hint{
  font-size: .58em;
  font-weight: 600;
  color: rgba(255,255,255,.68);
  margin-left: 8px;
}
.gamesOverviewPage .goCatFilterMeta{
  margin: 8px 0 0;
  font-size: 13px;
}
/* Genau 2 Spiele pro Zeile (auf schmalen Viewports 1 Spalte) */
.gamesOverviewPage .goCatGamesList--grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 16px);
  align-content: start;
}
@media (max-width: 600px){
  .gamesOverviewPage .goCatGamesList--grid{
    grid-template-columns: 1fr;
  }
}
.gamesOverviewPage .goCatGameCard{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(165deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 48%, rgba(0,0,0,.12) 100%),
    var(--goCard);
  color: var(--goText);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow:
    0 10px 32px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.06);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.16s ease,
    box-shadow 0.18s ease;
}
.gamesOverviewPage .goCatGameCard:hover{
  border-color: rgba(255,30,45,.48);
  background:
    linear-gradient(165deg, rgba(255,45,58,.12) 0%, rgba(255,255,255,.05) 45%, rgba(0,0,0,.1) 100%),
    var(--goCardHover);
  transform: translateY(-2px);
  box-shadow:
    0 16px 48px rgba(0,0,0,.45),
    0 0 28px rgba(255,30,45,.1),
    inset 0 1px 0 rgba(255,255,255,.1);
}
.gamesOverviewPage .goCatGameCard__head{
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  margin-bottom: 6px;
  min-height: 22px;
}

/* Event-Spiele-Übersicht (games.html): wie Create-Event — Erledigt oben rechts */
.gamesOverviewPage .goCatGameCard.setupCatCard--discOverview .goCatGameCard__head{
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  width: auto;
  max-width: calc(100% - 24px);
  margin: 0;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.gamesOverviewPage .goCatGameCard__headLeft{
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  min-width: 0;
  justify-content: flex-end;
  margin-left: auto;
}

.gamesOverviewPage .goCatGameCard__fav{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  color: rgba(250,204,21,.95);
  border: 1px solid rgba(250,204,21,.32);
  background: rgba(250,204,21,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.gamesOverviewPage .goCatGameCard__badge{
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255,30,45,.38);
  background: rgba(255,30,45,.12);
  color: rgba(255,255,255,.92);
  max-width: 100%;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gamesOverviewPage .goCatGameCard__badgeRow{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 7px 0 0;
  white-space: nowrap;
  overflow: hidden;
}
.gamesOverviewPage .goCatGameCard__metaRow{
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}
.gamesOverviewPage .goCatGameCard__metaRow .goCatGameCard__badge{
  max-width: 55%;
}

/* Badge-Icon (globalen ::before-Favicon) für die Kacheln verkleinern
   (weniger „rechts-Start“ vom Text). */
.gamesOverviewPage .goCatGameCard__badge::before{
  width: 10px;
  height: 10px;
  margin-right: 6px;
  background-size: 100% 100%;
  box-shadow: none;
}
.gamesOverviewPage .goCatGameCard__cta{
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.35);
  flex-shrink: 0;
  align-self: flex-start;
}
.gamesOverviewPage .goCatGameCard__headLeft:empty{
  display: none;
}

.gamesOverviewPage .goCatGameCard__resultOk{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.gamesOverviewPage .goCatGameCard__resultOkIcon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #27f07b;
  background: rgba(10, 44, 22, 0.98);
  border: 1px solid rgba(39, 240, 123, 0.75);
  box-shadow: 0 0 0 1px rgba(39, 240, 123, 0.2) inset, 0 0 10px rgba(39, 240, 123, 0.28);
  flex-shrink: 0;
}

.gamesOverviewPage .goCatGameCard__resultOkLabel{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #27f07b;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(39, 240, 123, 0.35);
}

.gamesOverviewPage .goCatGameCard:hover .goCatGameCard__cta{
  color: rgba(255,80,90,.95);
}
.gamesOverviewPage .goCatGameCard__title{
  margin: 0;
  font-weight: 900;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.96);
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}
.gamesOverviewPage .goCatGameCard__desc{
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.48;
  font-weight: 550;
  color: rgba(255,255,255,.58);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gamesOverviewPage .goCatGameCard__stats{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.gamesOverviewPage .goCatGameCard__metaRow .goCatGameCard__stats{
  margin-top: 0;
  margin-left: auto;
  padding-top: 0;
  border-top: 0;
  flex: 0 0 auto;
}
.gamesOverviewPage .goCatGameCard__stat{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.72);
  white-space: nowrap;
}
.gamesOverviewPage .goCatGameCard__statIcon{
  font-size: 13px;
  line-height: 1;
  opacity: 0.88;
}

/* Spiel-Detail (native dialog) — Athlon-Katalog: Glas + Ruby, gleiche Tokens wie goSection__shell */
.gamesOverviewPage .goGameDetailModal{
  max-width: min(920px, 96vw);
  width: 100%;
  padding: 0;
  border: 1px solid var(--goLine);
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 42%, rgba(0,0,0,.2) 100%),
    var(--goCard);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  color: var(--goText);
  box-shadow:
    var(--goShadowDeep),
    inset 0 1px 0 rgba(255,255,255,.08);
}
.gamesOverviewPage .goGameDetailModal::backdrop{
  background: rgba(4,6,10,.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.gamesOverviewPage .goGameDetailModal__panel{
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 30px 24px;
  max-height: min(94dvh, 900px);
  overflow: hidden;
  box-sizing: border-box;
}
.gamesOverviewPage .goGameDetailModal__panel::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255,30,45,.95) 0%, rgba(255,55,50,.55) 55%, rgba(255,30,45,.2) 100%);
  pointer-events: none;
  border-radius: 22px 22px 0 0;
}
.gamesOverviewPage .goGameDetailModal__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  flex-shrink: 0;
}
.gamesOverviewPage .goGameDetailModal__close{
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.gamesOverviewPage .goGameDetailModal__close:hover{
  background: rgba(255,45,55,.2);
  border-color: rgba(255,45,55,.45);
  color: #fff;
  transform: scale(1.04);
}
.gamesOverviewPage .goGameDetailModal__close:focus-visible{
  outline: 2px solid rgba(255,45,55,.55);
  outline-offset: 2px;
}
.gamesOverviewPage .goGameDetailModal__title{
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding-top: 2px;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.035em;
  color: rgba(255,255,255,.98);
}
.gamesOverviewPage .goGameDetailModal__favRow{
  margin: 0 0 16px;
  flex-shrink: 0;
}
.gamesOverviewPage .goGameDetailModal__body{
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,.86);
}
.gamesOverviewPage .goGameDetailFavBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.9);
  font-size: 12.5px;
  font-weight: 650;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.gamesOverviewPage .goGameDetailFavBtn:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}
.gamesOverviewPage .goGameDetailFavBtn:focus-visible{
  outline: 2px solid rgba(255,45,55,.5);
  outline-offset: 2px;
}
.gamesOverviewPage .goGameDetailFavBtn--on{
  border-color: rgba(255,45,55,.45);
  background: rgba(255,35,48,.16);
  color: rgba(255,255,255,.96);
}
.gamesOverviewPage .goFavoritesListWrap{
  margin-top: 0;
}

/* Grid: Meta | Regeln; Meta-Liste (dl) volle Breite darunter — kein Zweispalten-Fließtext */
.gamesOverviewPage .goGameDetailLayout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 20px 32px;
  align-items: start;
  min-height: 0;
}
.gamesOverviewPage .goGameDetailLayout--single{
  grid-template-columns: 1fr;
  max-width: 520px;
  margin: 0 auto;
}
.gamesOverviewPage .goGameDetailLayout--stack{
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: none;
}
.gamesOverviewPage .goGameDetailLayout__full{
  grid-column: 1 / -1;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid var(--goLine);
}
.gamesOverviewPage .goGameDetailLayout--stack .goGameDetailLayout__full{
  padding-top: 14px;
  margin-top: 0;
}
@media (max-width: 720px){
  .gamesOverviewPage .goGameDetailLayout{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gamesOverviewPage .goGameDetailLayout__full{
    padding-top: 14px;
    margin-top: 0;
  }
}
.gamesOverviewPage .goGameDetailLayout__col{
  min-width: 0;
  min-height: 0;
}
.gamesOverviewPage .goGameDetailLayout__col--rules{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gamesOverviewPage .goGameDetailHero{
  margin-bottom: 0;
}
.gamesOverviewPage .goGameDetailLead{
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255,255,255,.68);
  letter-spacing: -0.015em;
}
.gamesOverviewPage .goGameDetailPills{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
}
.gamesOverviewPage .goGameDetailPill{
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255,55,65,.32);
  background: rgba(255,35,48,.12);
  color: rgba(255,255,255,.92);
  max-width: 100%;
}
.gamesOverviewPage .goGameDetailPill--muted{
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-weight: 600;
  color: rgba(255,255,255,.78);
}
.gamesOverviewPage .goGameDetailFacts{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
@media (min-width: 640px){
  .gamesOverviewPage .goGameDetailFacts{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 420px){
  .gamesOverviewPage .goGameDetailFacts{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.gamesOverviewPage .goGameDetailFact{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 0;
  padding: 10px 10px 9px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.gamesOverviewPage .goGameDetailFact__lab{
  display: block;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.gamesOverviewPage .goGameDetailFact__val{
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.3;
  color: rgba(255,255,255,.95);
  letter-spacing: -0.02em;
}
.gamesOverviewPage .goGameDetailDl{
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--goLine);
  background: rgba(255,255,255,.03);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(0,0,0,.18);
}
.gamesOverviewPage .goGameDetailDl dt{
  margin: 0 0 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
}
.gamesOverviewPage .goGameDetailDl dd{
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 480;
  color: rgba(255,255,255,.84);
}
.gamesOverviewPage .goGameDetailDl dd:last-child{
  margin-bottom: 0;
}
.gamesOverviewPage .goGameDetailDl__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.gamesOverviewPage .goGameDetailMetaPill{
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 550;
  line-height: 1.35;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.gamesOverviewPage .goGameDetailSection{
  margin: 0;
  padding: 0;
  flex: 0 1 auto;
  min-height: 0;
}
.gamesOverviewPage .goGameDetailSectionTitle{
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
  color: rgba(255,255,255,.92);
}
.gamesOverviewPage .goGameDetailProse{
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  white-space: normal;
  word-break: break-word;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--goLine);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(0,0,0,.2);
  max-width: 65ch;
}
@media (min-width: 900px){
  .gamesOverviewPage .goGameDetailLayout .goGameDetailProse{
    max-width: none;
  }
}
/* App-Shell: langer Inhalt scrollbar, Sidebar bleibt fixiert */
.appContent.appContent--gamesOverview{
  min-width: 0;
  overflow-x: hidden;
}

/* Eingeloggt: Kopfzeile wie Dashboard (appTopbar); globales siteHeader bleibt leer */
body[data-page="games-event-overview"] .goCatalogAppTopbar{
  display: none !important;
}
body[data-page="games-event-overview"].goCatalog--logged-in .goCatalogAppTopbar{
  display: flex !important;
}
body[data-page="games-event-overview"].goCatalog--logged-in #siteHeader{
  display: none !important;
}

/* Topbar „Nächstes Event“ zentriert (gleiche Logik wie dashboard.css; dort wird diese Datei nicht geladen) */
body[data-page="games-event-overview"] .appTopbar--dashNextCenter{
  position: relative;
  justify-content: flex-start;
}
body[data-page="games-event-overview"] .appTopbar--dashNextCenter .appTopbar__center{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: min(560px, 48vw);
  width: max-content;
  min-width: 0;
  padding: 0 10px;
  text-align: center;
  pointer-events: auto;
  z-index: 2;
}
body[data-page="games-event-overview"] .appTopbar--dashNextCenter .appTopbar__center .appTopbar__meta{
  justify-content: center;
  text-align: center;
}
body[data-page="games-event-overview"] .appTopbar--dashNextCenter .appTopbar__center #hdrNextEventName{
  display: inline;
  max-width: 36ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}
@media (max-width: 720px){
  body[data-page="games-event-overview"] .appTopbar--dashNextCenter{
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  body[data-page="games-event-overview"] .appTopbar--dashNextCenter .appTopbar__left{
    order: 1;
  }
  body[data-page="games-event-overview"] .appTopbar--dashNextCenter .appTopbar__center{
    position: static;
    transform: none;
    max-width: 100%;
    width: 100%;
    padding: 0;
    order: 2;
    text-align: center;
  }
}

/* ---------- Öffentlich vs. eingeloggt (games-event-overview) ---------- */
body[data-page="games-event-overview"]:not(.goCatalog--logged-in) .appShell{
  padding-left: 0 !important;
}
body[data-page="games-event-overview"]:not(.goCatalog--logged-in) .appShell > .appSidebar{
  display: none !important;
}

body[data-page="games-event-overview"].goCatalog--logged-in #goHero,
body[data-page="games-event-overview"].goCatalog--logged-in section.mHero.goHero{
  display: none !important;
}

body[data-page="games-event-overview"].goCatalog--logged-in .goCatalogTabsWrap{
  margin-top: clamp(8px, 1.2vw, 16px);
}

/* Eingeloggt: ruhigeres Ambiente (weniger Rot oben/links), näher am App-Dashboard */
body[data-page="games-event-overview"].goCatalog--logged-in .siteMain .gamesOverviewPage.homePage::before{
  opacity: 0.65;
  background:
    radial-gradient(ellipse 120vw 78vh at 10% -16%, rgba(255,30,45,.07), transparent 58%),
    radial-gradient(ellipse 100vw 68vh at 92% 22%, rgba(255,255,255,.06), transparent 56%),
    radial-gradient(ellipse 105vw 72vh at 62% 100%, rgba(255,30,45,.04), transparent 62%);
  filter: saturate(0.92);
}

body[data-page="games-event-overview"].goCatalog--logged-in .gamesOverviewPage .goSubnav--orbit{
  border: none;
  background: transparent;
}

body[data-page="games-event-overview"].goCatalog--logged-in .gamesOverviewPage .goSection--catalog .goSection__shell::before{
  background:
    radial-gradient(900px 380px at 0% 0%, rgba(255,30,45,.07), transparent 55%),
    radial-gradient(700px 320px at 100% 100%, rgba(255,255,255,.05), transparent 58%);
}

body[data-page="games-event-overview"].goCatalog--logged-in .gamesOverviewPage .goSection--events .goSection__shell::before{
  background:
    radial-gradient(880px 400px at 100% 0%, rgba(255,30,45,.06), transparent 56%),
    radial-gradient(720px 340px at 0% 100%, rgba(255,255,255,.04), transparent 58%);
}

body[data-page="games-event-overview"].goCatalog--logged-in .gamesOverviewPage .goSection--favorites .goSection__shell::before{
  background:
    radial-gradient(860px 360px at 50% 0%, rgba(250, 204, 21, .06), transparent 55%),
    radial-gradient(700px 320px at 100% 100%, rgba(255,255,255,.04), transparent 58%);
}

/* ---------- Eingeloggt: kein Seiten-Scroll — Footer sichtbar; Listen nur in .goCatGamesScroll ---------- */
html:has(body[data-page="games-event-overview"].goCatalog--logged-in){
  overflow: hidden;
  height: 100%;
}
body[data-page="games-event-overview"].goCatalog--logged-in{
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}
body[data-page="games-event-overview"].goCatalog--logged-in > .siteMain{
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body[data-page="games-event-overview"].goCatalog--logged-in > #siteFooter{
  flex-shrink: 0;
}
body[data-page="games-event-overview"].goCatalog--logged-in .appShell{
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body[data-page="games-event-overview"].goCatalog--logged-in .appContent.appContent--gamesOverview{
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body[data-page="games-event-overview"].goCatalog--logged-in .appTopbar{
  flex-shrink: 0;
}
body[data-page="games-event-overview"].goCatalog--logged-in .gamesOverviewPage{
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body[data-page="games-event-overview"].goCatalog--logged-in .goCatalogTabsWrap{
  flex-shrink: 0;
}
body[data-page="games-event-overview"].goCatalog--logged-in .goBody.container{
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: clamp(12px, 2vw, 24px);
}
body[data-page="games-event-overview"].goCatalog--logged-in .goTabPanels{
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body[data-page="games-event-overview"].goCatalog--logged-in .goCtaRow{
  flex-shrink: 0;
}
body[data-page="games-event-overview"].goCatalog--logged-in .goTabPanels > .goSection:not([hidden]){
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body[data-page="games-event-overview"].goCatalog--logged-in .goTabPanels > .goSection:not([hidden]) .goSection__shell{
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body[data-page="games-event-overview"].goCatalog--logged-in #games .goHead,
body[data-page="games-event-overview"].goCatalog--logged-in #events .goHead,
body[data-page="games-event-overview"].goCatalog--logged-in #favorites .goHead{
  flex-shrink: 0;
}
body[data-page="games-event-overview"].goCatalog--logged-in #games .goGamesBrowse{
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body[data-page="games-event-overview"].goCatalog--logged-in #goCatGridWrap{
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

/* Mobil: Kategorien-Raster liegt in #goCatGridWrap (nicht in .goCatGamesScroll) — ohne overflow-y bleibt die „Innerbox“ starr */
@media (max-width:900px){
  body[data-page="games-event-overview"].goCatalog--logged-in #games #goCatGridWrap{
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-gutter:auto;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }
}

/* Spiele-Katalog: 9 Kacheln immer im sichtbaren Bereich (ohne Scroll im Kachelbereich) */
@media (min-width: 980px){
  body[data-page="games-event-overview"] #games #goCatGridWrap{
    display: flex;
    flex-direction: column;
  }
  body[data-page="games-event-overview"] #games #gamesList{
    flex: 1 1 auto;
    min-height: 0;
  }
  body[data-page="games-event-overview"] #games #gamesList .goCatGrid{
    height: 100%;
    margin-top: 4px;
    gap: clamp(10px, 1.2vh, 14px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
  body[data-page="games-event-overview"] #games #gamesList .goCatCard{
    height: 100%;
    min-height: 0;
    padding: clamp(10px, 1.2vh, 14px) clamp(12px, 1.1vw, 16px);
  }
  body[data-page="games-event-overview"] #games #gamesList .goCatIcon img{
    width: clamp(48px, 5.4vh, 66px);
    height: clamp(48px, 5.4vh, 66px);
  }
  body[data-page="games-event-overview"] #games #gamesList .goCatTitle{
    font-size: clamp(13px, 1.5vh, 16px);
    -webkit-line-clamp: 2;
  }
  body[data-page="games-event-overview"] #games #gamesList .goCatDesc{
    font-size: clamp(11px, 1.2vh, 12.5px);
    -webkit-line-clamp: 2;
  }
  body[data-page="games-event-overview"] #games #gamesList .goCatCount{
    margin-top: clamp(3px, .7vh, 7px);
    font-size: clamp(10px, 1.05vh, 12px);
    padding: 4px 8px;
  }
}

.goCatalogPublicHint{
  display: none;
  margin-top: clamp(12px, 2vw, 18px);
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,14,20,.55);
  text-align: center;
}
.goCatalogPublicHint__text{
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 650;
  color: rgba(255,255,255,.82);
  line-height: 1.45;
}
.goCatalogPublicHint__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
body[data-page="games-event-overview"].goCatalog--public .goCatalogPublicHint{
  display: block;
}

.goCatalogPublicGate{
  display: none;
  margin-bottom: clamp(18px, 3vw, 28px);
}
body[data-page="games-event-overview"].goCatalog--public .goCatalogPublicGate{
  display: block;
}
.goCatalogPublicGate__card{
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.goCatalogPublicGate__title{
  margin: 0 0 8px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 950;
}
.goCatalogPublicGate__lead{
  margin: 0 0 16px;
}
.goCatalogPublicGate__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

body[data-page="games-event-overview"]:not(.goCatalog--logged-in) .goTabPanels{
  display: none !important;
}
/* Eingeloggt: .goTabPanels bleibt display:flex (siehe Block „Eingeloggt: kein Seiten-Scroll“) —
   kein display:block hier, sonst bricht die Flex-Kette und .goCatGamesScroll / #goCatGridWrap scrollen nicht. */

body[data-page="games-event-overview"]:not(.goCatalog--logged-in) .goCtaRow{
  display: none !important;
}
body[data-page="games-event-overview"].goCatalog--logged-in .goCtaRow{
  display: flex;
}

.gamesOverviewPage .goCatCard::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -1px 0 rgba(0,0,0,.28);
}

/* Kategorie-Detail (Spiele-Tab): Filter-Panel füllt den Bereich unter der Kopfzeile */
body[data-page="games-event-overview"].goCatalog--logged-in.goCatCategoryOpen .goCatFilterPanel{
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body[data-page="games-event-overview"].goCatalog--logged-in.goCatCategoryOpen .goCatFilterHead{
  flex-shrink: 0;
}
/* Spiele: Kategorie-Detail — Raster mit fester Sicht-Höhe (2×2), Rest scrollt */
body[data-page="games-event-overview"].goCatalog--logged-in.goCatCategoryOpen .goCatGamesScroll{
  --goCatGridGap: clamp(12px, 1.8vw, 16px);
  --goCatTwoRowsCap: calc(2 * 220px + var(--goCatGridGap));
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-height: min(var(--goCatTwoRowsCap), calc(100dvh - 220px));
}

/* Events & Favoriten: Resthöhe der Shell — nur die Liste scrollt (kein Seiten-Scroll) */
body[data-page="games-event-overview"].goCatalog--logged-in #events .goCatGamesScroll,
body[data-page="games-event-overview"].goCatalog--logged-in #favorites .goCatGamesScroll{
  --goCatGridGap: clamp(12px, 1.8vw, 16px);
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-height: none;
}
/* Mobil: nach den Basis-Regeln — scrollbar-gutter: stable erzeugt oft eine sichtbare Leiste */
@media (max-width:900px){
  body[data-page="games-event-overview"].goCatalog--logged-in #events .goCatGamesScroll,
  body[data-page="games-event-overview"].goCatalog--logged-in #favorites .goCatGamesScroll,
  body[data-page="games-event-overview"].goCatalog--logged-in.goCatCategoryOpen .goCatGamesScroll{
    scrollbar-gutter:auto;
  }
}
body[data-page="games-event-overview"].goCatalog--logged-in #goCatGridWrap{
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body[data-page="games-event-overview"].goCatalog--logged-in #goCatGridWrap::-webkit-scrollbar,
body[data-page="games-event-overview"].goCatalog--logged-in .goCatGamesScroll::-webkit-scrollbar{
  width:0 !important;
  height:0 !important;
  display:none;
  background:transparent;
}
@media (max-width:900px){
  body[data-page="games-event-overview"].goCatalog--logged-in #goCatGridWrap::-webkit-scrollbar-thumb,
  body[data-page="games-event-overview"].goCatalog--logged-in .goCatGamesScroll::-webkit-scrollbar-thumb,
  body[data-page="games-event-overview"].goCatalog--logged-in #goCatGridWrap::-webkit-scrollbar-track,
  body[data-page="games-event-overview"].goCatalog--logged-in .goCatGamesScroll::-webkit-scrollbar-track{
    display:none;
    width:0;
    height:0;
    background:transparent;
  }
}

/* Katalog-Scrollbar: identisch zur Detail-Scrollbar aus „Meine Events“ */
body[data-page="games-event-overview"].goCatalog--logged-in .dashDetailScrollRail{
  position: absolute;
  right: 10px;
  top: 0;
  width: 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.17), rgba(255,255,255,.08));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.26),
    inset 0 1px 2px rgba(255,255,255,.08),
    0 6px 18px rgba(0,0,0,.34);
  pointer-events: auto;
  z-index: 5;
}
/* Mobil: Rail ist per JS eingefügt — wirkt wie eine Scrollbar, soll komplett weg (Touch scrollt im Host) */
@media (max-width:900px){
  body[data-page="games-event-overview"].goCatalog--logged-in .dashDetailScrollRail,
  body[data-page="games-event-overview"].goCatalog--logged-in .dashDetailScrollThumb{
    display:none !important;
    visibility:hidden !important;
    pointer-events:none !important;
    width:0 !important;
    height:0 !important;
    opacity:0 !important;
    box-shadow:none !important;
    background:transparent !important;
  }
}
body[data-page="games-event-overview"].goCatalog--logged-in .dashDetailScrollRail.is-disabled{
  opacity: .4;
}
body[data-page="games-event-overview"].goCatalog--logged-in .dashDetailScrollThumb{
  position: absolute;
  left: 1px;
  right: 1px;
  top: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.58));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.55),
    0 6px 16px rgba(0,0,0,.36);
  cursor: grab;
}
body[data-page="games-event-overview"].goCatalog--logged-in .dashDetailScrollThumb.is-dragging{
  cursor: grabbing;
}

/* Kategorie-, Favoriten- und Events-Raster: kompakte Kacheln im Scrollbereich */
body[data-page="games-event-overview"] #events .goCatGamesScroll .goCatGameCard,
body[data-page="games-event-overview"].goCatalog--logged-in .goCatGamesScroll .goCatGameCard{
  padding: 10px 12px 8px;
}
body[data-page="games-event-overview"] #events .goCatGamesScroll .goCatGameCard__head,
body[data-page="games-event-overview"].goCatalog--logged-in .goCatGamesScroll .goCatGameCard__head{
  margin-bottom: 6px;
}
body[data-page="games-event-overview"] #events .goCatGamesScroll .goCatGameCard__title,
body[data-page="games-event-overview"].goCatalog--logged-in .goCatGamesScroll .goCatGameCard__title{
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body[data-page="games-event-overview"] #events .goCatGamesScroll .goCatGameCard__desc,
body[data-page="games-event-overview"].goCatalog--logged-in .goCatGamesScroll .goCatGameCard__desc{
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}
body[data-page="games-event-overview"] #events .goCatGamesScroll .goCatGameCard__stats,
body[data-page="games-event-overview"].goCatalog--logged-in .goCatGamesScroll .goCatGameCard__stats{
  padding-top: 6px;
  margin-top: auto;
  gap: 4px 10px;
}
body[data-page="games-event-overview"] #events .goCatGamesScroll .goCatGameCard__stat,
body[data-page="games-event-overview"].goCatalog--logged-in .goCatGamesScroll .goCatGameCard__stat{
  font-size: 11px;
}
