/* ==========================================================================
   MiniMania – Feinschliff (Startseite, Spielkacheln, Karussells, Handy)
   Wird nach minimania-theme.css geladen und ändert nur Details.
   ========================================================================== */

/* ---- Allgemein ---- */
.home-row { margin-top: 23px; }
.home-card { margin-top: 23px; }
.home-page [hidden] { display: none !important; }

.section-hint {
  color: var(--mm-muted);
  font-size: 13px;
}
.section-hint i { margin-right: 4px; }

.section-link {
  color: var(--mm-muted);
  font-size: 13px;
  font-weight: 500;
  transition: color .2s;
}
.section-link:hover { color: var(--mm-pink); }
.section-link i { margin-left: 4px; transition: transform .2s; }
.section-link:hover i { transform: translateX(3px); }

/* Tastatur-Fokus sichtbar machen */
a:focus-visible,
button:focus-visible,
.chip:focus-visible {
  outline: 2px solid var(--mm-pink);
  outline-offset: 2px;
  border-radius: 10px;
}

/* ---- Banner ---- */
.update-pill i.fa-arrow-right { font-size: 11px; margin-left: 4px; opacity: .7; transition: transform .2s; }
.update-pill:hover i.fa-arrow-right { transform: translateX(3px); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  transition: transform .2s ease, filter .2s ease, background .2s ease, box-shadow .2s ease;
}
.hero-btn:hover { color: #fff; transform: translateY(-2px); background: rgba(255, 255, 255, 0.14); }
.hero-btn:active { transform: translateY(0); }
.hero-btn.primary {
  background: var(--mm-gradient);
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(236, 96, 144, 0.35);
  padding: 0 26px;
}
.hero-btn.primary:hover { filter: brightness(1.1); background: var(--mm-gradient); }
.hero-btn.discord { background: #5865f2; border-color: transparent; }
.hero-btn.discord:hover { background: #6773f5; }
.hero-btn.icon { width: 46px; padding: 0; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  color: var(--mm-muted);
  font-size: 13px;
}
.hero-stats b { color: #fff; font-weight: 600; margin-right: 3px; }
.hero-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, .8);
  vertical-align: 1px;
}

/* ---- Kategorien unter dem Banner ---- */
.tag-strip {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.tag-strip::-webkit-scrollbar { display: none; }
.tag-strip .chip { flex-shrink: 0; white-space: nowrap; }
.tag-strip .chip:first-child { background: var(--mm-gradient) !important; border-color: transparent !important; color: #fff; }

/* Waagerechte Reihen, die auf dem Handy wischbar sind */
.scroll-row { scrollbar-width: thin; }

/* ---- Weiterspielen ---- */
.recently-played .recent-list {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
}
.recently-played .recent-item {
  flex: 0 0 150px;
  scroll-snap-align: start;
}
.recent-thumb {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
}
.recent-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 195 / 150;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform .35s ease;
}
.recent-item:hover .recent-thumb img { transform: scale(1.07); }
.recent-item:hover .tile-play { opacity: 1; transform: scale(1); }
.recent-title {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}
.recent-item:hover .recent-title { color: var(--mm-pink); }
.recent-clear { color: var(--mm-muted); font-size: 13px; }
.recent-clear:hover { color: var(--mm-pink); }

.tile-play.small {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  font-size: 14px;
}

/* ---- Für dich ---- */
.fy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.fy-card {
  display: block;
  background: var(--mm-surface-2);
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.fy-card:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 96, 144, 0.45);
  box-shadow: 0 14px 28px rgba(236, 96, 144, 0.16);
}
.fy-thumb { position: relative; display: block; overflow: hidden; }
.fy-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 195 / 150;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform .35s ease;
}
.fy-card:hover .fy-thumb img { transform: scale(1.07); }
.fy-card:hover .tile-play { opacity: 1; transform: scale(1); }
.fy-body { display: block; padding: 10px 12px 12px; }
.fy-body b {
  display: block;
  color: #fff;
  font-family: var(--mm-heading);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}
.fy-card:hover .fy-body b { color: var(--mm-pink); }
.fy-reason {
  display: block;
  margin-top: 3px;
  color: var(--mm-muted);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fy-reason i { color: var(--mm-pink); margin-right: 3px; font-size: 10px; }

/* ---- Spiel des Tages ---- */
.game-of-day { display: flex; flex-direction: column; }
.game-of-day h5 a { color: #fff; transition: color .2s; }
.game-of-day h5 a:hover { color: var(--mm-pink); }
.god-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 11px;
  border-radius: 14px;
  background: var(--mm-gradient);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: filter .2s, transform .2s;
}
.god-meta + .god-button { margin-top: 14px; }
.god-button:hover { color: #fff; filter: brightness(1.1); transform: translateY(-2px); }

/* ---- Team-Box ---- */
.team-box .heading-section { margin-bottom: 14px; }
.team-links { display: flex; flex-wrap: wrap; gap: 8px; }
.queue-list { margin: 0; }
.queue-list li { color: #ccc; padding: 6px 0; border-top: 1px solid var(--mm-border); }

/* ---- "Wir empfehlen": ganze Zeile klickbar ---- */
.top-downloaded ul li.rec-row { position: relative; border-radius: 14px; transition: background .2s; }
.top-downloaded ul li.rec-row:hover { background: var(--mm-surface-2); }
.top-downloaded ul li.rec-row h4 { transition: color .2s; }
.top-downloaded ul li.rec-row:hover h4 { color: var(--mm-pink); }
.rec-link { position: absolute; inset: 0; z-index: 1; }
.top-downloaded ul li.rec-row .download { position: relative; z-index: 2; }
.top-downloaded { min-height: 0; }

/* ==========================================================================
   Spielkacheln (Meist gesehen, Spiele-Seite, Gerade angesagt)
   Das Template verschiebt jedes <span> in .most-popular .item um 7px nach
   unten – das hat Abzeichen, Play-Button und Trennstriche verrutscht.
   ========================================================================== */
.most-popular .item.game-tile {
  padding: 12px 12px 14px;
  margin-bottom: 24px;
}
.most-popular .game-tile span {
  position: static;
  top: auto;
  display: inline;
  color: inherit;
}
.game-tile .tile-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px !important;
  aspect-ratio: 195 / 150;
  background: rgba(255, 255, 255, 0.04);
}
.game-tile .tile-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform .4s ease;
}
.game-tile .tile-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(14, 12, 23, 0.65));
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.game-tile:hover .tile-thumb::after { opacity: 1; }
.game-tile:hover .tile-thumb img { transform: scale(1.07); }
.most-popular .game-tile .tile-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 12px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
}
.most-popular .game-tile .tile-badge.rank { background: linear-gradient(135deg, #f97316, #ec4899); }
.most-popular .game-tile .tile-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
}
.game-tile:hover .tile-play,
.game-tile:focus-within .tile-play { opacity: 1; transform: scale(1); }
.game-tile .tile-title {
  display: block;
  margin: 12px 2px 4px;
  color: #fff;
  font-family: var(--mm-heading);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}
.game-tile:hover .tile-title { color: var(--mm-pink); }
.game-tile .tile-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 0 2px;
  color: var(--mm-muted);
  font-size: 12.5px;
  line-height: 18px;
}
.most-popular .game-tile .tile-meta span { color: var(--mm-muted); }
.game-tile .tile-meta i { margin-right: 3px; font-size: 11px; }
.game-tile .tile-platform i + i { margin-left: 2px; }
.most-popular .game-tile .tile-meta .tile-trend { color: #fb923c; }

/* ---- Karussells ---- */
.featured-games .owl-nav {
  top: -64px;
  display: flex;
  gap: 6px;
}
.featured-games .owl-nav .owl-prev,
.featured-games .owl-nav .owl-next { margin: 0 !important; }
.featured-games .owl-nav button.owl-prev,
.featured-games .owl-nav button.owl-next {
  width: 34px;
  height: 34px;
  border-radius: 50% !important;
  background: var(--mm-surface-2) !important;
  border: 1px solid var(--mm-border) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}
.featured-games .owl-nav button.owl-prev:hover,
.featured-games .owl-nav button.owl-next:hover {
  background: var(--mm-gradient) !important;
  border-color: transparent !important;
}
.featured-games .owl-nav .owl-prev span,
.featured-games .owl-nav .owl-next span {
  font-size: 22px;
  line-height: 1;
  margin-top: -3px;
  color: #ddd;
}
.featured-games .owl-nav button:hover span { color: #fff; }

.featured-games .owl-carousel .item .thumb { border-radius: 16px; }
.featured-games .owl-carousel .item .thumb img { transition: transform .4s ease; }
.featured-games .owl-carousel .item:hover .thumb img { transform: scale(1.05); }
.featured-games .owl-carousel .item h4 {
  display: block;
  margin-top: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}
.featured-games .owl-carousel .item:hover h4 { color: var(--mm-pink); }
.featured-games .owl-carousel .item h4 span { font-size: 12.5px; }

/* ---- Auszeichnungen: Bilder nicht verzerren ---- */
.live-stream .item .thumb img { aspect-ratio: 1 / 1; object-fit: cover; }

/* ==========================================================================
   Tablet & Handy
   ========================================================================== */
@media (max-width: 1199px) {
  .fy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .home-row > [class*="col-lg"] + [class*="col-lg"] { margin-top: 23px; }
  .fy-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .top-downloaded,
  .top-streamers,
  .live-stream { height: auto; }
}

@media (max-width: 767px) {
  /* Karten etwas schmaler polstern */
  .featured-games,
  .top-downloaded,
  .top-streamers,
  .live-stream,
  .most-popular,
  .game-of-day,
  .comments,
  .feedback,
  .main-profile,
  .gaming-library {
    padding: 20px 16px !important;
    border-radius: 20px;
  }
  .heading-section h4 { font-size: 22px; }
  .featured-games .owl-nav { top: -56px; }

  /* Banner */
  .main-banner { min-height: 0; }
  .main-banner .header-text { padding: 34px 20px 28px !important; text-align: left; }
  .main-banner::after { width: 130px; height: 130px; right: -20px; top: 70px; opacity: .25; }
  .main-banner h4 { font-size: 32px !important; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr 46px; }
  .hero-btn { padding: 0 12px; }
  .hero-btn.primary { grid-column: 1 / -1; }
  .hero-btn.icon { width: 46px; }
  .hero-stats { gap: 6px 14px; }

  /* Wischbare Reihen */
  .fy-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 44%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .fy-card { scroll-snap-align: start; }
  .recently-played .recent-item { flex-basis: 120px; }

  /* Spiel des Tages nicht bildschirmfüllend */
  .god-thumb img { aspect-ratio: 16 / 9; }

  /* Kacheln: zwei nebeneinander */
  .most-popular .row { margin-left: -6px; margin-right: -6px; }
  .most-popular .row > .col-6 { padding-left: 6px; padding-right: 6px; }
  .most-popular .item.game-tile { padding: 8px 8px 10px; margin-bottom: 12px; border-radius: 16px; }
  .game-tile .tile-title { font-size: 13.5px; margin-top: 9px; }
  .game-tile .tile-meta { gap: 2px 9px; font-size: 11.5px; }
  .game-tile .tile-thumb { border-radius: 11px !important; }
  .most-popular .game-tile .tile-badge { top: 6px; left: 6px; padding: 2px 8px; font-size: 10px; }
  .game-tile .tile-play { display: none !important; }

  /* Auszeichnungen kompakter */
  .live-stream .item .down-content h4 { font-size: 13px; }
  .live-stream .item .down-content span { font-size: 12px; }

  .tag-strip { margin-left: -2px; margin-right: -2px; }

  /* Abstände zwischen den Karten einheitlich */
  .home-page .featured-games,
  .home-page .live-stream,
  .home-page .top-downloaded,
  .home-page .top-streamers,
  .home-page .most-popular { margin-bottom: 0 !important; }
  .home-page .most-popular { margin-top: 23px; }

  /* Top Creator: Name ist schon ein Link, der große Button frisst nur Platz */
  .top-streamers ul li .main-button { display: none; }
  .top-streamers ul li { padding: 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-btn, .fy-card, .game-tile .tile-thumb img, .fy-thumb img, .recent-thumb img,
  .featured-games .owl-carousel .item .thumb img { transition: none; }
}

/* ==========================================================================
   Handy: Seitenbanner kompakter, Filter wischbar
   ========================================================================== */
@media (max-width: 767px) {
  .main-banner { padding: 0 !important; }
  .main-banner h6 { font-size: 15px; margin-bottom: 12px; }
  .main-banner h4 { margin-bottom: 14px; }
  .main-banner p { font-size: 14px; line-height: 24px; }
  /* Unterseiten (nicht die Startseite) brauchen kein riesiges Banner */
  .page-content:not(.home-page) .main-banner .header-text { padding: 26px 20px 24px !important; }
  .page-content:not(.home-page) .main-banner h4 { font-size: 28px !important; }

  .filter-chips {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
    mask-image: linear-gradient(90deg, #000 90%, transparent);
  }
  .filter-chips::-webkit-scrollbar { display: none; }
  .filter-chips .chip { flex-shrink: 0; white-space: nowrap; }
  .filter-chips .chip-sep { flex-shrink: 0; }
}

/* ---- Spielseite ---- */
.rotate-dismiss {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
}
.rotate-dismiss:hover { background: rgba(255, 255, 255, 0.18); }
.iframe-overlay-buttons .iframe-btn { transition: transform .15s ease, background .2s ease, border-color .2s ease; }
.iframe-overlay-buttons .iframe-btn:hover { transform: translateY(-2px); }
.iframe-overlay-buttons .iframe-btn:active { transform: scale(.94); }
.related-item img { transition: transform .35s ease; }
.related-item:hover img { transform: scale(1.05); }

@media (max-width: 767px) {
  .iframe-overlay-text { display: none !important; }
  .iframe-overlay-buttons { flex-wrap: nowrap; gap: 8px; }
  .rotate-screen-icon i { font-size: 64px; }
  .rotate-screen-text h2 { font-size: 20px; }
  .rotate-screen-text p { font-size: 13px; }
  .game-info { gap: 2px 14px; flex-wrap: wrap; overflow: visible !important; }
  .game-info p { margin: 0; white-space: normal; }
  .game-actions .mm-btn { flex: 1 1 auto; justify-content: center; }
}

/* ---- Handy-Menü: Icons mit Beschriftung ---- */
.nav-label { display: none; }
@media (max-width: 992px) {
  .header-area .main-nav .nav li a { display: flex !important; align-items: center; justify-content: center; gap: 10px; }
  .nav-label { display: inline; font-size: 14px; font-weight: 500; }
  .header-area .main-nav .nav .bell-wrapper { display: inline-block; position: relative; }
}

/* ---- Mitteilungs-Popup ---- */
.header-popup-frame iframe {
  border: 1px solid var(--mm-border);
  background: #15121f;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
@media (max-width: 767px) {
  .header-popup-frame { top: 80px; right: 8px; left: 8px; width: auto; }
  .header-popup-frame iframe { height: calc(100dvh - 100px); }
}

/* ==========================================================================
   Über uns
   ========================================================================== */
.about-page .heading-section { margin-bottom: 22px; }
.about-section { margin-top: 46px; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 23px;
}
.about-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px;
  border-radius: var(--mm-radius);
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
}
.about-stats i { color: var(--mm-pink); font-size: 18px; margin-bottom: 8px; }
.about-stats b { font-family: var(--mm-heading); font-size: 28px; color: #fff; line-height: 1.1; }
.about-stats span { color: var(--mm-muted); font-size: 13px; }

.about-grid { display: grid; gap: 18px; }
.about-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-card {
  display: block;
  padding: 26px;
  border-radius: var(--mm-radius);
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  box-shadow: var(--mm-shadow);
  transition: transform .25s ease, border-color .25s ease;
}
.about-card:hover { transform: translateY(-3px); border-color: rgba(236, 96, 144, .35); }
.about-card h5 { color: #fff; font-family: var(--mm-heading); font-size: 19px; margin: 0 0 8px; }
.about-card h5 a { color: #fff; }
.about-card h5 a:hover { color: var(--mm-pink); }
.about-card p { color: var(--mm-muted); font-size: 14px; line-height: 24px; margin: 0; }
.about-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 14px;
  font-size: 18px;
}
.about-icon.pink { background: rgba(236, 96, 144, .18); color: #f472b6; }
.about-icon.purple { background: rgba(168, 85, 247, .18); color: #c084fc; }
.about-icon.cyan { background: rgba(56, 189, 248, .16); color: #38bdf8; }

/* Zeitleiste */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(236, 96, 144, .6), rgba(168, 85, 247, .25));
}
.timeline li { position: relative; display: flex; gap: 18px; padding-bottom: 22px; }
.timeline li:last-child { padding-bottom: 0; }
.tl-dot {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1d1830;
  border: 2px solid rgba(236, 96, 144, .55);
  color: #f472b6;
}
.timeline li.now .tl-dot { background: var(--mm-gradient); border-color: transparent; color: #fff; box-shadow: 0 0 20px rgba(236, 96, 144, .5); }
.tl-body {
  flex: 1;
  padding: 12px 18px;
  border-radius: 16px;
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
}
.tl-body small { color: var(--mm-pink); font-size: 12px; font-weight: 600; }
.tl-body b { display: block; color: #fff; font-family: var(--mm-heading); font-size: 17px; }
.tl-body b a { color: #fff; }
.tl-body b a:hover { color: var(--mm-pink); }
.tl-body p { color: var(--mm-muted); font-size: 14px; margin: 2px 0 0; line-height: 22px; }

/* Team */
.team-card { text-align: center; }
.team-avatar {
  display: inline-block;
  padding: 4px;
  border-radius: 50%;
  background: var(--mm-gradient);
  margin-bottom: 14px;
  transition: transform .25s;
}
.team-card:hover .team-avatar { transform: rotate(-4deg) scale(1.04); }
.team-avatar img { display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #15121f; }
.team-roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 14px; }
.team-roles span { padding: 2px 10px; border-radius: 10px; background: var(--mm-surface-2); border: 1px solid var(--mm-border); color: #ddd; font-size: 12px; }
.team-roles span:first-child { background: rgba(236, 96, 144, .18); border-color: rgba(236, 96, 144, .4); color: #fff; }
.team-card ul { list-style: none; padding: 0; margin: 0; text-align: left; }
.team-card ul li { position: relative; padding: 5px 0 5px 22px; color: var(--mm-muted); font-size: 14px; border-top: 1px solid var(--mm-border); }
.team-card ul li::before { content: "\2726"; position: absolute; left: 2px; color: var(--mm-pink); font-size: 11px; top: 7px; }
.more-team { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; justify-content: center; }
.more-team .chip { display: inline-flex; align-items: center; gap: 6px; }
.more-team .chip img { width: 20px; height: 20px; border-radius: 50%; }

/* Fun Facts & Mitmachen */
.fact-list { list-style: none; padding: 0; margin: 10px 0 0; }
.fact-list li { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--mm-border); color: #ddd; font-size: 14px; line-height: 22px; }
.fact-list li:first-child { border-top: none; }
.fact-list li i { color: var(--mm-pink); width: 18px; text-align: center; margin-top: 3px; }
.fact-list a { color: #fff; font-weight: 600; }
.fact-list a:hover { color: var(--mm-pink); }
.join-card p { margin-bottom: 14px; }
.join-links { display: grid; gap: 8px; }
.join-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--mm-surface-2);
  border: 1px solid var(--mm-border);
  color: #fff;
  font-size: 14px;
  transition: border-color .2s, transform .2s;
}
.join-links a i { color: var(--mm-pink); width: 18px; text-align: center; }
.join-links a:hover { border-color: var(--mm-pink); transform: translateX(3px); color: #fff; }

/* Update-Karten */
.update-card { color: inherit; }
.update-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.update-head .version { color: #fff; font-family: var(--mm-heading); font-size: 18px; font-weight: 600; }
.update-card small { color: var(--mm-muted); font-size: 12px; }
.update-card p { margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.latest-pill { padding: 1px 9px; border-radius: 10px; background: var(--mm-gradient); color: #fff; font-size: 11px; font-weight: 700; }
.update-counts { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; font-size: 12px; }
.update-counts .new, .cl-section.new b { color: #4ade80; }
.update-counts .changed, .cl-section.changed b { color: #38bdf8; }
.update-counts .bugfix, .cl-section.bugfix b { color: #f87171; }

/* ==========================================================================
   Changelog
   ========================================================================== */
.changelog { margin-top: 30px; }
.changelog-nav {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding: 16px;
  border-radius: var(--mm-radius);
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
}
.changelog-nav small { color: var(--mm-muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.changelog-nav a { color: #bbb; font-size: 13px; padding: 5px 10px; border-radius: 9px; transition: background .2s, color .2s; }
.changelog-nav a:hover { color: #fff; background: var(--mm-surface-2); }
.changelog-nav a.active { color: #fff; background: rgba(236, 96, 144, .2); }
.changelog-search { position: relative; margin-bottom: 18px; }
.changelog-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--mm-muted); }
.changelog-search input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 42px;
  border-radius: 14px;
  background: var(--mm-surface-2);
  border: 1px solid var(--mm-border);
  color: #fff;
}
.changelog-search input:focus { outline: none; border-color: var(--mm-pink); }
.changelog-entry {
  position: relative;
  padding: 22px 24px;
  margin-bottom: 16px;
  border-radius: var(--mm-radius);
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  scroll-margin-top: 110px;
}
.changelog-entry[hidden] { display: none; }
.changelog-entry:target { border-color: var(--mm-pink); box-shadow: 0 0 0 3px rgba(236, 96, 144, .2); }
.changelog-entry header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.changelog-entry h3 { margin: 0; color: #fff; font-family: var(--mm-heading); font-size: 22px; }
.changelog-entry header small { margin-left: auto; color: var(--mm-muted); font-size: 13px; }
.cl-summary { color: #ccc !important; margin: 10px 0 0; font-size: 14px; line-height: 24px; }
.cl-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 14px; }
.cl-section { padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .2); border: 1px solid var(--mm-border); }
.cl-section b { font-size: 13px; }
.cl-section ul { margin: 6px 0 0; padding-left: 18px; }
.cl-section li { color: #ccc; font-size: 13.5px; line-height: 22px; list-style: disc; }

@media (max-width: 991px) {
  .about-grid.three { grid-template-columns: 1fr; }
  .about-section .col-lg-5 { margin-top: 18px; }
}
@media (max-width: 767px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .about-stats b { font-size: 22px; }
  .about-section { margin-top: 34px; }
  .about-card { padding: 20px; }
  .timeline::before { left: 17px; }
  .tl-dot { width: 36px; height: 36px; font-size: 13px; }
  .timeline li { gap: 12px; }
  .changelog-entry { padding: 18px 16px; }
  .changelog-entry h3 { font-size: 19px; }
  .changelog-entry header small { margin-left: 0; width: 100%; }
}

/* Beta-Seite: Key-Feld auf schmalen Handys */
@media (max-width: 420px) {
  .beta-form input { letter-spacing: 1px !important; font-size: 15px !important; padding: 12px !important; }
  .beta-form button { padding: 0 14px !important; }
}
