/* =====================================================================
   FLUNKO POP – alternatives Design
   Verspielt & frech: Papier-Creme, kräftige Umrandungen, harte
   Sticker-Schatten, flache knallige Farben, runde Schrift.
   Wird NACH app.css und tailwind.css geladen und überschreibt nur die
   Optik. Alle Funktionen bleiben unverändert.
   ===================================================================== */

/* ---------- Farben & Grundwerte ---------- */
html body[data-color-mode] {
  --pop-paper: #fff3df;
  --pop-dot: rgba(42, 27, 61, 0.09);
  --pop-card: #ffffff;
  --pop-soft: #fff7ea;
  --pop-soft-2: #ffe9c7;
  --pop-line: #2a1b3d;
  --pop-line-soft: rgba(42, 27, 61, 0.2);
  --pop-shadow: #2a1b3d;
  --pop-text: #2a1b3d;
  --pop-muted: #6b5d80;
  --pop-on-accent: #ffffff;
  --pop-yellow: #ffd23f;
  --pop-coral: #ff6b4a;
  --pop-blue: #4c8dff;
  --pop-green-tile: #22b573;
  --pop-teal: #17b6a3;
  --pop-pink: #ff5fa2;
  --pop-red: #ff4d5e;
  --pop-green: #22c55e;
  --pop-radius: 1.4rem;
  --bg-base: var(--pop-paper);
  --text-primary: var(--pop-text);
  --text-secondary: var(--pop-muted);
  --border-subtle: var(--pop-line-soft);
  --border-highlight: var(--pop-line);
}

/* Dunkelmodus: ruhiges, neutrales Graphit statt Violett */
html body[data-color-mode="dark"] {
  --pop-paper: #17171a;
  --pop-dot: rgba(255, 255, 255, 0.045);
  --pop-card: #222226;
  --pop-soft: #2a2a2f;
  --pop-soft-2: #333339;
  --pop-line: #3f3f46;
  --pop-line-soft: rgba(255, 255, 255, 0.1);
  --pop-shadow: #060607;
  --pop-text: #f4f2ee;
  --pop-muted: #a3a1a8;
}


/* Text auf der Akzentfarbe: bei hellen Akzenten dunkle Schrift */
html body[data-theme="emerald"],
html body[data-theme="amber"],
html body[data-theme="nordic"] {
  --pop-on-accent: #2a1b3d;
}

html body[data-theme="mono"][data-color-mode="dark"] {
  --pop-on-accent: #1c1530;
}

/* ---------- Seite ---------- */
html body[data-color-mode] {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--pop-text);
  background-color: var(--pop-paper);
  background-image: radial-gradient(var(--pop-dot) 1.3px, transparent 1.5px);
  background-size: 22px 22px;
}

/* Glas-Effekte und Hintergrund-Animation des alten Designs ausblenden */
html body[data-color-mode] .bg-grid-pattern,
html body[data-color-mode] #bgCanvas,
html body[data-color-mode] > div.rounded-full.pointer-events-none {
  display: none !important;
}

html body[data-color-mode] .font-display {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

html body[data-color-mode] .font-mono-num {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

html body[data-color-mode] .uppercase.tracking-widest {
  letter-spacing: 0.08em;
}

/* ---------- Textfarben (beide Modi) ---------- */
html body[data-color-mode] .text-white {
  color: var(--pop-text) !important;
}

html body[data-color-mode] .text-zinc-200,
html body[data-color-mode] .text-zinc-300 {
  color: var(--pop-text) !important;
  opacity: 0.88;
}

html body[data-color-mode] .text-zinc-400,
html body[data-color-mode] .text-zinc-500,
html body[data-color-mode] .text-zinc-600 {
  color: var(--pop-muted) !important;
}

html body[data-color-mode] .text-black {
  color: var(--pop-text) !important;
}

/* ---------- Flächen ---------- */
html body[data-color-mode] .surface-card {
  background: var(--pop-card);
  border: 2.5px solid var(--pop-line);
  box-shadow: 5px 5px 0 var(--pop-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html body[data-color-mode] .bg-white\/5,
html body[data-color-mode] .bg-white\/\[0\.02\],
html body[data-color-mode] .bg-white\/\[0\.08\],
html body[data-color-mode] .bg-white\/10,
html body[data-color-mode] .bg-white\/15,
html body[data-color-mode] .bg-black\/20,
html body[data-color-mode] .bg-black\/25,
html body[data-color-mode] .bg-black\/30,
html body[data-color-mode] .bg-black\/35,
html body[data-color-mode] .bg-black\/40,
html body[data-color-mode] .bg-black\/45,
html body[data-color-mode] .bg-black\/50 {
  background-color: var(--pop-soft) !important;
}

html body[data-color-mode] .border-white\/5,
html body[data-color-mode] .border-white\/10,
html body[data-color-mode] .border-white\/15,
html body[data-color-mode] .border-white\/20,
html body[data-color-mode] .border-white\/25,
html body[data-color-mode] .border-white\/30,
html body[data-color-mode] .border-white\/35 {
  border-color: var(--pop-line-soft) !important;
}

/* Ausgewählte Elemente (Segment-Knöpfe, Häkchen, Spieler-Nummern …) */
html body[data-color-mode] .bg-white.text-black,
html body[data-color-mode] .bg-white.text-black i,
html body[data-color-mode] .bg-white.text-black span {
  background-color: var(--accent) !important;
  color: var(--pop-on-accent) !important;
}

html body[data-color-mode] .bg-white.text-black {
  box-shadow: inset 0 0 0 2px var(--pop-line), 2px 2px 0 var(--pop-shadow) !important;
}

html body[data-color-mode] .bg-white.text-black span,
html body[data-color-mode] .bg-white.text-black i {
  box-shadow: none !important;
}

/* ---------- Knöpfe ---------- */
html body[data-color-mode] .pill-button {
  background: var(--pop-card);
  border: 2px solid var(--pop-line);
  box-shadow: 3px 3px 0 var(--pop-shadow);
  color: var(--pop-text);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.2s ease;
}

@media (hover: hover) {
  html body[data-color-mode] .pill-button:hover {
    background: var(--pop-soft-2);
    border-color: var(--pop-line);
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--pop-shadow);
  }
}

html body[data-color-mode] .pill-button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--pop-shadow);
}

html body[data-color-mode] .btn-primary,
html body[data-color-mode] .btn-accent {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 2.5px solid var(--pop-line);
  box-shadow: 4px 4px 0 var(--pop-shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.2s ease;
}

html body[data-color-mode] .btn-primary {
  background: var(--accent);
  color: var(--pop-on-accent);
}

html body[data-color-mode] .btn-accent {
  background: var(--pop-red);
  color: #ffffff;
}

html body[data-color-mode] .btn-primary,
html body[data-color-mode] .btn-primary span,
html body[data-color-mode] .btn-primary i {
  color: var(--pop-on-accent) !important;
}

html body[data-color-mode] .btn-accent,
html body[data-color-mode] .btn-accent span,
html body[data-color-mode] .btn-accent i {
  color: #ffffff !important;
}

@media (hover: hover) {
  html body[data-color-mode] .btn-primary:hover,
  html body[data-color-mode] .btn-accent:hover {
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0 var(--pop-shadow);
    filter: brightness(1.05);
  }
}

html body[data-color-mode] .btn-primary:active,
html body[data-color-mode] .btn-accent:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--pop-shadow);
}

/* Schalter (an/aus) */
html body[data-color-mode] button.w-12.h-7.rounded-full {
  border: 2px solid var(--pop-line);
  background-color: var(--pop-soft-2) !important;
}

html body[data-color-mode] button.w-12.h-7.rounded-full.bg-white {
  background-color: var(--accent) !important;
}

html body[data-color-mode] button.w-12.h-7.rounded-full > span {
  background: var(--pop-card) !important;
  border: 2px solid var(--pop-line);
  width: 1.1rem;
  height: 1.1rem;
}

/* ---------- Eingabefelder ---------- */
html body[data-color-mode] input[type="text"]:not(.bg-transparent),
html body[data-color-mode] input[type="password"]:not(.bg-transparent),
html body[data-color-mode] input[type="number"]:not(.bg-transparent),
html body[data-color-mode] textarea:not(.bg-transparent) {
  background-color: var(--pop-card) !important;
  border: 2px solid var(--pop-line) !important;
  color: var(--pop-text);
  font-weight: 700;
}

html body[data-color-mode] input::placeholder,
html body[data-color-mode] textarea::placeholder {
  color: var(--pop-muted);
  opacity: 0.8;
}

html body[data-color-mode] input:not(.bg-transparent):focus,
html body[data-color-mode] textarea:not(.bg-transparent):focus {
  outline: none;
  box-shadow: 3px 3px 0 var(--accent);
}

/* ---------- Kopfzeile ---------- */
html body[data-color-mode] #logoMenuTrigger {
  border-radius: 1.1rem;
}

html body[data-color-mode] #logoMenuTrigger img {
  border: 2px solid var(--pop-line);
  transform: rotate(-6deg);
}

html body[data-color-mode] #logoMenuTrigger .font-display {
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

/* ---------- Startseite ---------- */
html body[data-color-mode] .home-greeting {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

html body[data-color-mode] .home-greeting > span:last-child {
  background: linear-gradient(transparent 58%, var(--pop-yellow) 58%, var(--pop-yellow) 92%, transparent 92%);
  padding: 0 0.2rem;
}

html body[data-color-mode="dark"] .home-greeting > span:last-child {
  background: linear-gradient(transparent 58%, rgba(255, 210, 63, 0.45) 58%, rgba(255, 210, 63, 0.45) 92%, transparent 92%);
}

/* Spiele-Kacheln: flache Farben, dicke Umrandung, Sticker-Schatten, leicht schief */
html body[data-color-mode] .game-tile {
  --tile-ink: #2a1b3d;
  background: var(--tile-flat, #ff6b4a);
  border: 3px solid var(--pop-line);
  box-shadow: 6px 6px 0 var(--pop-shadow);
  border-radius: 1.6rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Platz für den Sticker-Schatten, damit am Rand nichts abgeschnitten wird */
html body[data-color-mode] .home-tiles,
html body[data-color-mode] .welcome-tiles {
  padding: 0 8px 9px 0;
}

html body[data-color-mode] .game-tile-word { --tile-flat: var(--pop-coral); }
html body[data-color-mode] .game-tile-question { --tile-flat: var(--pop-blue); }
html body[data-color-mode] .game-tile-quiz { --tile-flat: var(--pop-green-tile); }

/* Lustige Punkte oben rechts statt Lichtschein */
html body[data-color-mode] .game-tile-glow {
  width: 46%;
  right: -10%;
  top: -22%;
  border-radius: 999px;
  background: radial-gradient(rgba(255, 255, 255, 0.28) 2px, transparent 2.4px) 0 0 / 14px 14px;
  opacity: 1;
}

@media (hover: hover) {
  html body[data-color-mode] .game-tile:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--pop-shadow);
  }
}

html body[data-color-mode] .game-tile:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--pop-shadow);
}

html body[data-color-mode] .game-tile-title {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 2px 2px 0 rgba(42, 27, 61, 0.35);
}

html body[data-color-mode] .game-tile-desc {
  font-weight: 700;
  color: #ffffff;
}

html body[data-color-mode] .game-tile-chip {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  background: #ffffff;
  color: #2a1b3d;
  border: 2px solid #2a1b3d;
  backdrop-filter: none;
}

html body[data-color-mode] .game-tile-cta {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 600;
  background: var(--pop-yellow);
  color: #2a1b3d;
  border: 2px solid #2a1b3d;
  box-shadow: 3px 3px 0 #2a1b3d;
}

html body[data-color-mode] .game-tile-cta i {
  color: #2a1b3d;
}

html body[data-color-mode] .game-tile-art {
  filter: drop-shadow(3px 4px 0 rgba(42, 27, 61, 0.35));
}

/* Abzeichen im Setup */
html body[data-color-mode] #setupModeBadge[data-mode] {
  border: 2px solid var(--pop-line) !important;
  box-shadow: 2px 2px 0 var(--pop-shadow);
  font-family: 'Fredoka', 'Nunito', sans-serif;
}

html body[data-color-mode] #setupModeBadge[data-mode="word"] { background: var(--pop-coral) !important; }
html body[data-color-mode] #setupModeBadge[data-mode="question"] { background: var(--pop-blue) !important; }
html body[data-color-mode] #setupModeBadge[data-mode="quiz"] { background: var(--pop-green-tile) !important; }

/* ---------- Spielkarte (verdeckt) wie eine echte Spielkarte ---------- */
html body[data-color-mode] #roleCardInner > .card-face:not(.card-face-back) {
  background-color: var(--pop-yellow);
  background-image: repeating-linear-gradient(135deg, rgba(42, 27, 61, 0.07) 0 12px, transparent 12px 24px);
}

html body[data-color-mode] #roleCardInner > .card-face:not(.card-face-back) .text-white,
html body[data-color-mode] #roleCardInner > .card-face:not(.card-face-back) .text-zinc-400,
html body[data-color-mode] #roleCardInner > .card-face:not(.card-face-back) .text-zinc-500 {
  color: #2a1b3d !important;
}

html body[data-color-mode] #roleCardInner > .card-face:not(.card-face-back) .bg-white\/5 {
  background-color: #ffffff !important;
  border: 2px solid #2a1b3d !important;
  box-shadow: 3px 3px 0 #2a1b3d;
}

html body[data-color-mode] #roleCardInner > .card-face:not(.card-face-back) .border-white\/15 {
  border-color: #2a1b3d !important;
}

html body[data-color-mode] #roleCardInner > .card-face:not(.card-face-back) > div:last-child {
  background-color: #2a1b3d !important;
  border: 2px solid #2a1b3d !important;
  color: #fff3df !important;
  font-family: 'Fredoka', 'Nunito', sans-serif;
}

html body[data-color-mode] #roleCardInner > .card-face:not(.card-face-back) > div:last-child span {
  color: #fff3df !important;
}

/* Rückseite: Imposter-Karte bekommt einen roten Rand */
html body[data-color-mode] #cardBackFace.border-rose-500\/40 {
  border-color: var(--pop-red) !important;
  box-shadow: 5px 5px 0 var(--pop-red);
}

/* ---------- Quiz ---------- */
html body[data-color-mode] .quiz-ans {
  border: 2px solid var(--pop-line) !important;
  box-shadow: 3px 3px 0 var(--pop-shadow);
}

html body[data-color-mode] .quiz-ans[data-state="right"] {
  background: #b9f5cf !important;
  border-color: var(--pop-line) !important;
}

html body[data-color-mode] .quiz-ans[data-state="wrong"] {
  background: #ffc2c8 !important;
  border-color: var(--pop-line) !important;
}

html body[data-color-mode="dark"] .quiz-ans[data-state="right"] {
  background: #146c43 !important;
}

html body[data-color-mode="dark"] .quiz-ans[data-state="wrong"] {
  background: #8f1d2c !important;
}

html body[data-color-mode] .quiz-ans[data-state="picked"] {
  background: var(--pop-soft-2) !important;
}

html body[data-color-mode] .quiz-claim {
  background: var(--pop-yellow);
  border: 2px solid #2a1b3d;
  box-shadow: 3px 3px 0 #2a1b3d;
}

html body[data-color-mode] .quiz-claim .text-white,
html body[data-color-mode] .quiz-claim-label {
  color: #2a1b3d !important;
}

html body[data-color-mode] .quiz-tf-true .quiz-tf-icon,
html body[data-color-mode] .quiz-tf-false .quiz-tf-icon {
  border: 2px solid var(--pop-line);
  color: #ffffff !important;
}

html body[data-color-mode] .quiz-tf-true .quiz-tf-icon { background: var(--pop-green); }
html body[data-color-mode] .quiz-tf-false .quiz-tf-icon { background: var(--pop-red); }

html body[data-color-mode] #quizTimeBar {
  border-right: 2px solid var(--pop-line);
}

html body[data-color-mode] .chip-ok,
html body[data-color-mode] .chip-bad {
  border: 1.5px solid var(--pop-line);
}

/* ---------- Pop-ups & Menü ---------- */
html body[data-color-mode] .backdrop-blur-md.fixed.inset-0 {
  background-color: rgba(28, 21, 48, 0.55) !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

html body[data-color-mode] .modal-sheet {
  box-shadow: 7px 7px 0 var(--pop-shadow);
}

html body[data-color-mode] #logoDropdownMenu {
  box-shadow: 6px 6px 0 var(--pop-shadow);
}

html body[data-color-mode] #logoDropdownMenu .rounded-2xl:hover {
  background-color: var(--pop-soft-2) !important;
}

/* Hinweis-Meldungen (Toasts) */
html body[data-color-mode] #toastContainer > div {
  background: var(--pop-yellow);
  border: 2px solid #2a1b3d !important;
  box-shadow: 3px 3px 0 #2a1b3d;
}

html body[data-color-mode] #toastContainer > div,
html body[data-color-mode] #toastContainer > div .text-white,
html body[data-color-mode] #toastContainer > div i,
html body[data-color-mode] #toastContainer > div span {
  color: #2a1b3d !important;
}

/* Zeitstrahl */
html body[data-color-mode] .timeline-slider-viewport {
  border: 2px solid var(--pop-line);
  background: var(--pop-soft);
  box-shadow: none;
}

html body[data-color-mode] .timeline-edge-fade {
  background: linear-gradient(to right, var(--pop-soft) 0%, transparent 22%, transparent 78%, var(--pop-soft) 100%);
}

html body[data-color-mode] .timeline-center-line {
  box-shadow: none;
}

/* Bereichs-Regler (Timer) */
html body[data-color-mode] input[type="range"].estimate-slider {
  background: var(--pop-soft-2);
  border: 2px solid var(--pop-line);
  height: 12px;
}

html body[data-color-mode] input[type="range"].estimate-slider::-webkit-slider-thumb {
  background: var(--pop-yellow);
  border: 2.5px solid var(--pop-line);
  box-shadow: 2px 2px 0 var(--pop-shadow);
}

/* QR-Code-Kasten */
html body[data-color-mode] .share-qr {
  border: 2.5px solid #2a1b3d;
  box-shadow: 4px 4px 0 #2a1b3d;
}

/* Bildlaufleiste */
html body[data-color-mode] ::-webkit-scrollbar-thumb {
  background: var(--pop-line-soft);
}

/* ---------- Bewegung: hüpfen statt weich einblenden ---------- */
@keyframes popViewIn {
  0% { opacity: 0; transform: translateY(14px) scale(0.97); }
  60% { opacity: 1; transform: translateY(-3px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes popModalIn {
  0% { opacity: 0; transform: translateY(26px) rotate(-1.5deg) scale(0.92); }
  65% { opacity: 1; transform: translateY(-4px) rotate(0.4deg) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

html body[data-color-mode] .view-enter {
  animation: popViewIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

html body[data-color-mode] .modal-card-animate-in {
  animation: popModalIn 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  html body[data-color-mode] .view-enter,
  html body[data-color-mode] .modal-card-animate-in {
    animation-duration: 0.01s;
  }

}

/* Eingabefelder in einem umrandeten Kasten: der Kasten bekommt den Pop-Rahmen */
html body[data-color-mode] input.bg-transparent {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--pop-text);
}

html body[data-color-mode] div:has(> input.bg-transparent) {
  border: 2px solid var(--pop-line) !important;
  background-color: var(--pop-card) !important;
}

html body[data-color-mode] input.bg-transparent:focus {
  outline: none;
}

html body[data-color-mode] div:has(> input.bg-transparent:focus) {
  box-shadow: 3px 3px 0 var(--accent);
}

/* Etwas Luft rechts/unten, damit die Sticker-Schatten nie abgeschnitten werden */
html body[data-color-mode] #mainContent > .view-section {
  padding-right: 6px;
  padding-bottom: 7px;
}

/* Dunkelmodus: Im Dunkeln wirken dünnere, dunkle Ränder sauberer; Spielkacheln bleiben farbig */
html body[data-color-mode="dark"] .game-tile {
  border-color: rgba(0, 0, 0, 0.55);
}

/* ---------- Spielauswahl: Kacheln immer vollständig, nichts gequetscht ---------- */
/* Die Überschrift entfällt, die Kacheln bekommen den ganzen Platz */
html body[data-color-mode] #view-home .home-greeting {
  display: none !important;
}

/* Jede Kachel ist mindestens so hoch wie ihr Inhalt; reicht der Platz nicht, darf die Seite scrollen */
html body[data-color-mode] #view-home {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
}

html body[data-color-mode] #view-home .home-tiles {
  flex: 1 0 auto;
  grid-template-rows: repeat(3, minmax(max-content, 1fr)) !important;
  margin-block: auto;
}

html body[data-color-mode] #view-home .home-desc {
  display: block !important;
}

html body[data-color-mode] #view-home .game-tile {
  min-height: 11.5rem;
}

@media (min-width: 640px) and (min-aspect-ratio: 4/5) {
  html body[data-color-mode] #view-home .home-tiles {
    grid-template-rows: minmax(max-content, 1fr) !important;
  }

  html body[data-color-mode] #view-home .game-tile {
    min-height: 0;
  }
}

/* Illustrationen vollständig innerhalb der Kachel (Handy & Tablet hochkant) */
@media (max-width: 639px), (min-width: 640px) and (max-aspect-ratio: 4/5) {
  html body[data-color-mode] .game-tile-art {
    right: 0.85rem;
    height: 80%;
    max-width: 40%;
  }

  html body[data-color-mode] .game-tile-body {
    max-width: 58%;
  }
}

/* Handy: kompakte Kacheln, damit die Spielauswahl ohne Scrollen auf eine Seite passt */
@media (max-width: 639px) {
  html body[data-color-mode] #view-home .home-tiles {
    gap: 0.6rem;
  }

  html body[data-color-mode] #view-home .game-tile {
    min-height: 0;
    border-radius: 1.35rem;
  }

  html body[data-color-mode] #view-home .game-tile-body {
    max-width: 67%;
    padding: 0.7rem 0.85rem;
    gap: 0.3rem;
  }

  html body[data-color-mode] #view-home .game-tile-art {
    right: 0.7rem;
    height: 74%;
    max-width: 31%;
  }

  html body[data-color-mode] #view-home .game-tile-title {
    font-size: min(1.3rem, 5.3vw);
    line-height: 1.05;
  }

  html body[data-color-mode] #view-home .game-tile-desc {
    font-size: 0.74rem;
    line-height: 1.3;
  }

  html body[data-color-mode] #view-home .game-tile-chip {
    font-size: 0.6rem;
    padding: 0.1rem 0.5rem;
  }

  html body[data-color-mode] #view-home .game-tile-cta {
    margin-top: 0.15rem;
    padding: 0.36rem 0.8rem;
    font-size: 0.74rem;
  }
}

/* Sehr kleine Handys: Abzeichen weglassen, Abstände minimal enger – Titel, Text und Knopf bleiben */
@media (max-width: 639px) and (max-height: 660px) {
  html body[data-color-mode] #view-home .game-tile-chip {
    display: none;
  }

  html body[data-color-mode] #view-home .home-tiles {
    gap: 0.5rem;
  }

  html body[data-color-mode] #view-home .game-tile-body {
    padding: 0.6rem 0.8rem;
    gap: 0.25rem;
  }
}
