/* Bildschirme im Stil der Homepage: Anmelden, Startbildschirm, News, Alle Spiele, Duelle, Shop, Events, Rangliste ... */

/* ---------- Anmelden ---------- */
.auth-wrap { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; padding: 16px; width: 100%; max-width: 470px; margin: 0 auto; }
.auth-top { display: flex; justify-content: flex-end; } .auth-top .select { width: auto; min-width: 150px; min-height: 42px; }
.logo { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 0; text-align: center; }
.logo-img { width: min(78vw, 360px); height: auto; filter: drop-shadow(6px 10px 16px rgba(0, 0, 0, .3)); }
.logo-t { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: .2em; color: var(--blue-dark); }

/* ---------- Startbildschirm ---------- */
.home { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 0; isolation: isolate; }
.home > :not(.home-bg) { position: relative; z-index: 1; }
.home-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.home-bg i { position: absolute; display: block; }
/* goldene Lichtstrahlen hinter dem Logo */
.home-bg .rays { left: 50%; top: 150px; width: 200vmax; height: 200vmax; margin: -100vmax 0 0 -100vmax;
  background: repeating-conic-gradient(from 0deg, rgba(255, 215, 0, .16) 0deg 5deg, transparent 5deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 0, rgba(0, 0, 0, .5) 10%, transparent 30%); mask: radial-gradient(circle, #000 0, rgba(0, 0, 0, .5) 10%, transparent 30%);
  animation: rays 100s linear infinite; }
@keyframes rays { to { transform: rotate(360deg); } }
/* goldener Staub, der langsam aufsteigt */
.home-bg .sparks { left: 0; right: 0; top: 0; height: 200%; opacity: .8;
  background-image: radial-gradient(2.5px 2.5px at 10% 20%, rgba(184, 134, 11, .7), transparent), radial-gradient(2px 2px at 30% 65%, rgba(26, 117, 255, .45), transparent), radial-gradient(2px 2px at 55% 35%, rgba(184, 134, 11, .6), transparent),
    radial-gradient(2.5px 2.5px at 75% 80%, rgba(255, 190, 0, .6), transparent), radial-gradient(2px 2px at 90% 45%, rgba(26, 117, 255, .4), transparent), radial-gradient(2px 2px at 42% 92%, rgba(184, 134, 11, .6), transparent);
  background-size: 100% 50%; animation: sparks 26s linear infinite; }
.home-bg .sparks.s2 { opacity: .55; background-size: 70% 40%; animation-duration: 38s; animation-delay: -12s; }
@keyframes sparks { to { transform: translateY(-50%); } }

/* Obere Leiste wie die Kopfzeile der Homepage: helles Panel mit blauer Kante */
.hud { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; flex: none; background: rgba(253, 246, 231, .97); border-bottom: 4px solid var(--blue); box-shadow: 0 5px 25px rgba(0, 0, 0, .18); }
.hud-me { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 0 1 auto; padding: 3px 16px 3px 3px; border-radius: 999px; border: 2px solid rgba(26, 117, 255, .35); background: #fff; text-align: start; transition: border-color .15s; }
.hud-me:hover { border-color: var(--blue); }
[dir="rtl"] .hud-me { padding: 3px 3px 3px 16px; }
.hud-me-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.hud-me-t b { font-family: var(--font-display); font-weight: 700; color: var(--blue-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud-me-t small { color: var(--gold); font-weight: 700; font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-cur { display: flex; gap: 8px; align-items: center; }
.coin-chip.wrench { color: var(--blue-dark); border-color: rgba(26, 117, 255, .45); padding: 0 12px; }
.coin-chip.wrench::after { display: none; }
@media (max-width: 400px) { .hud { padding-inline: 8px; } .hud-cur { gap: 6px; } .hud-cur .coin-chip { height: 38px; font-size: .9rem; } .coin-chip.wrench { padding: 0 9px; } .hud-me-t small { display: none; } }

.home-body { flex: 1; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 4px 16px 22px; }
.home-logo { flex: none; display: flex; justify-content: center; padding-top: 6px; }
.home-logo img { width: min(62vw, 330px); height: auto; filter: drop-shadow(6px 10px 14px rgba(0, 0, 0, .3)); }
.home-grid { width: 100%; max-width: 1280px; display: flex; flex-direction: column; gap: 22px; }
/* Handy: News unter dem Spiele-Rahmen, nur die neuesten 5 */
.home-grid .news-panel { order: 2; } .home-grid .home-main { order: 1; }
@media (max-width: 899px) { .news-panel .news-card:nth-child(n+6) { display: none; } }
.home-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.home-h { font-family: var(--font-title); font-size: 1.5rem; color: var(--gold); border-bottom: 3px solid var(--gold); padding-bottom: 6px; }

/* Rahmen "Alle Spiele" wie der Slider-Rahmen der Homepage */
.hero-frame { border: 5px solid var(--blue); border-radius: 20px; background: var(--blue); box-shadow: var(--shadow-big); overflow: hidden; }
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; min-height: 230px; padding: 84px 22px 20px; border: 0; text-align: start; color: #fff;
  background: radial-gradient(120% 90% at 85% 0%, #ffcf5a 0%, transparent 55%), radial-gradient(90% 100% at 0% 100%, #0044b3 0%, transparent 65%), linear-gradient(135deg, #ff8a2e 0%, #d6336c 50%, #5b2bb5 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .07) 0 18px, transparent 18px 46px); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 65%); pointer-events: none; }
.hero:hover .hg { transform: rotate(calc((var(--i) - 2) * 5deg)) translateY(-4px); }
.hero-glow { position: absolute; width: 60%; aspect-ratio: 1; right: -12%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 240, 180, .55), transparent 65%); animation: glow 4s ease-in-out infinite; pointer-events: none; }
@keyframes glow { 50% { transform: scale(1.12); opacity: .7; } }
.hero-games { position: absolute; top: 18px; inset-inline-end: 20px; display: flex; z-index: 1; }
.hg { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.8rem; margin-inline-start: -10px; background: var(--c); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .35); transform: rotate(calc((var(--i) - 2) * 5deg)); transition: transform .25s; animation: hg-in .5s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i) * 70ms); }
.hg .ic-img { width: 100%; height: 100%; border-radius: 13px; object-fit: cover; }
@keyframes hg-in { from { transform: scale(0) rotate(0); } }
.hero-tx { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.hero-kicker { font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; opacity: .95; }
.hero-title { font-family: var(--font-display); font-size: clamp(1.9rem, 7vw, 2.9rem); font-weight: 700; line-height: 1.05;
  background: linear-gradient(100deg, #ffd700 20%, #fff6c2 45%, #ffd700 70%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: shine-t 7s linear infinite; filter: drop-shadow(2px 3px 6px rgba(0, 0, 0, .85)); }
@keyframes shine-t { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.hero-count { font-weight: 700; opacity: .95; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
/* blaue Leiste unter dem Bild (wie das Menü unter dem Slider) */
.hero-bar { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; padding: 10px 14px; background: var(--blue); }
.hero-cta { min-height: 46px; } @media (max-width: 440px) { .hero-link { display: none; } .hero-cta { width: 100%; } }
.hero-link { border: 0; background: none; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .03em; padding: 8px 4px; transition: color .2s, text-shadow .2s; }
.hero-link:hover { color: var(--gold-light); text-shadow: 0 0 10px rgba(255, 215, 0, .5); }

/* Spielmodi wie die Spiele-Kacheln der Homepage */
.modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mode { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; min-height: 92px; padding: 16px 14px 14px; border-radius: 18px; border: 3px solid var(--c); background: var(--surf); text-align: start; color: var(--text); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.mode::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--c); }
.mode:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 12px 18px 28px rgba(0, 0, 0, .25); }
.mode:active { transform: translateY(-1px); }
.mode-ic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; font-size: 1.8rem; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, #fff); border: 2px solid color-mix(in srgb, var(--c) 45%, #fff); animation: float 4s ease-in-out infinite; }
.mode:nth-child(2) .mode-ic { animation-delay: .6s; } .mode:nth-child(3) .mode-ic { animation-delay: 1.2s; } .mode:nth-child(4) .mode-ic { animation-delay: 1.8s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.mode-tx { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mode-tx b { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; color: var(--c); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mode-tx small { font-size: .82rem; color: var(--muted); }
.mode-go { font-size: 1.8rem; font-weight: 700; color: var(--c); transition: transform .2s; } .mode:hover .mode-go { transform: translateX(5px); }
@media (max-width: 480px) { .modes { gap: 10px; } .mode { flex-direction: column; text-align: center; padding: 16px 8px 12px; gap: 6px; } .mode-go { display: none; } .mode-tx b { font-size: .98rem; } }

/* News-Panel */
.news-panel { background: rgba(253, 246, 231, .95); border: var(--frame); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow-big); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.news-all { align-self: center; }
.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-card { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 10px; border-radius: 14px; border: 2px solid transparent; background: rgba(255, 255, 255, .55); text-align: start; color: var(--text); transition: border-color .15s, transform .15s, background .15s; }
.news-card:hover { border-color: rgba(26, 117, 255, .5); background: #fff; transform: translateX(3px); }
.news-thumb { flex: none; width: 74px; height: 74px; border-radius: 12px; border: 2px solid var(--blue); background: center / cover no-repeat #fff; display: grid; place-items: center; font-size: 2rem; }
.news-thumb.ic.ep { background: linear-gradient(135deg, #c0392b, #7a1c12); border-color: #c0392b; } .news-thumb.ic.sg { background: linear-gradient(135deg, #2b86ff, #0044b3); }
.news-card.compact .news-thumb { width: 58px; height: 58px; font-size: 1.6rem; }
.news-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.news-tags { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.news-src, .news-cat, .news-new { font-size: .68rem; font-weight: 800; padding: 2px 8px; border-radius: 10px; text-transform: uppercase; letter-spacing: .04em; }
.news-src.sg { background: var(--blue); color: #fff; } .news-src.ep { background: #c0392b; color: #fff; }
.news-cat { background: rgba(184, 134, 11, .15); color: #7a5806; } .news-new { background: var(--mint); color: #fff; animation: pulse-new 2s ease-in-out infinite; }
@keyframes pulse-new { 50% { transform: scale(1.08); } }
.news-title { font-size: 1rem; line-height: 1.25; color: var(--text); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-date { color: var(--muted); font-weight: 600; font-size: .78rem; }
.news-ex { font-size: .88rem; color: #4a4030; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-detail { display: flex; flex-direction: column; gap: 10px; user-select: text; -webkit-user-select: text; }
.news-img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; border: 3px solid var(--blue); }
.news-intro { white-space: pre-line; line-height: 1.55; }
.news-h { font-family: var(--font-display); color: var(--blue-dark); font-size: 1.05rem; margin-bottom: 6px; }
.news-changes { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.news-changes li { position: relative; padding: 8px 10px 8px 34px; background: #fff; border-radius: 10px; border-left: 4px solid var(--gold); line-height: 1.4; }
.news-changes li::before { content: "✔"; position: absolute; left: 11px; top: 8px; color: var(--mint); font-weight: 900; }

/* Untere Leiste */
.dock { flex: none; display: flex; justify-content: center; gap: 2px; padding: 6px 8px calc(6px + var(--safe-b)); background: rgba(253, 246, 231, .97); border-top: 4px solid var(--blue); box-shadow: 0 -5px 20px rgba(0, 0, 0, .15); }
.dock-b { flex: 1; max-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 2px; border: 0; border-radius: 12px; background: none; color: var(--blue-dark); transition: background .15s; }
.dock-b:hover { background: rgba(26, 117, 255, .08); }
.dock-ic { position: relative; width: 44px; height: 38px; display: grid; place-items: center; font-size: 1.45rem; transition: transform .15s; }
.dock-b:hover .dock-ic { transform: translateY(-2px) scale(1.08); }
.dock-t { font-size: .7rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* Breite Bildschirme: links Spiele + Modi, rechts News (wie Homepage 2fr / 1fr) */
@media (min-width: 900px) {
  .home-grid { display: grid; grid-template-columns: minmax(300px, 360px) 1fr; align-items: start; gap: 28px; }
  .home-grid .news-panel { order: 0; } .home-grid .home-main { order: 1; }
  .hero { min-height: 320px; padding: 110px 28px 24px; }
  .hg { width: 72px; height: 72px; font-size: 2.3rem; border-radius: 20px; }
  .news-panel { position: sticky; top: 0; max-height: calc(100vh - 200px); }
  .news-panel .news-list { overflow-y: auto; min-height: 0; flex: 1 1 auto; margin-right: -8px; padding-right: 8px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .home-logo { display: none; }
  .hero { min-height: 0; padding-top: 72px; }
  .dock-t { display: none; }
}

/* ---------- Alle Spiele: Filter-Spalte links ---------- */
.glayout { flex: 1; display: flex; min-height: 0; }
.gside { flex: none; width: 240px; display: flex; flex-direction: column; gap: 6px; padding: 16px 12px; overflow-y: auto; background: rgba(253, 246, 231, .92); border-inline-end: 4px solid var(--blue); box-shadow: 4px 0 18px rgba(0, 0, 0, .1); }
.gside-t { font-family: var(--font-title); font-size: 1.25rem; color: var(--gold); border-bottom: 3px solid var(--gold); padding: 0 4px 6px; margin-bottom: 6px; }
.gf { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 12px; border-radius: 12px; border: 2px solid transparent; background: none; text-align: start; font-weight: 700; color: var(--text); transition: background .15s, border-color .15s, transform .15s; }
.gf:hover { background: rgba(26, 117, 255, .08); transform: translateX(3px); }
.gf.on { background: var(--blue-grad); color: #fff; box-shadow: 0 5px 14px rgba(26, 117, 255, .35); }
.gf-ic { font-size: 1.35rem; width: 28px; text-align: center; flex: none; }
.gf-l { flex: 1; font-family: var(--font-display); font-size: .95rem; }
.gf-n { min-width: 26px; padding: 1px 7px; border-radius: 10px; background: rgba(184, 134, 11, .18); color: #7a5806; font-size: .78rem; font-weight: 800; text-align: center; }
.gf.on .gf-n { background: rgba(255, 255, 255, .25); color: #fff; }
.gmain { flex: 1; min-width: 0; }
.gmain-in { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px 28px; max-width: 1100px; margin: 0 auto; }
.gsearch { min-height: 46px; border-radius: 30px; padding-inline: 18px; }
.ghead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-bottom: 3px solid var(--gold); padding-bottom: 6px; }
.ghead-t { font-family: var(--font-title); color: var(--gold); font-size: 1.5rem; } .ghead-n { color: var(--muted); font-weight: 700; font-size: .88rem; }
/* Handy: Spalte wird schmal (Symbol über kurzem Text) */
@media (max-width: 640px) {
  .gside { width: 78px; padding: 10px 6px; gap: 4px; }
  .gside-t { display: none; }
  .gf { flex-direction: column; gap: 2px; min-height: 64px; padding: 6px 2px; text-align: center; position: relative; }
  .gf:hover { transform: none; }
  .gf-l { font-size: .62rem; font-family: var(--font); font-weight: 800; line-height: 1.1; }
  .gf-n { position: absolute; top: 2px; right: 2px; min-width: 18px; padding: 0 4px; font-size: .62rem; }
  .gmain-in { padding: 12px 12px 24px; gap: 12px; }
  .ghead-t { font-size: 1.2rem; }
}

/* Kacheln wie auf der Homepage */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 18px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 0; border-radius: 18px; border: 3px solid var(--c); background: var(--surf); text-align: start; color: var(--text); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 12px 20px 30px rgba(0, 0, 0, .25); }
.tile:active { transform: translateY(-1px); }
.tile-art { position: relative; height: 124px; display: grid; place-items: center; background-size: cover; background-position: center;
  background-image: radial-gradient(70% 80% at 80% 0%, rgba(255, 255, 255, .45), transparent 60%), linear-gradient(150deg, color-mix(in srgb, var(--c) 80%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 60%, #000)); }
.tile-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .08) 0 14px, transparent 14px 34px); }
.tile-art.has-cover::before { display: none; }
.tile-ic { position: relative; width: 84px; height: 84px; display: grid; place-items: center; font-size: 3.3rem; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); animation: float 4s ease-in-out infinite; }
.tile:nth-child(2n) .tile-ic { animation-delay: .7s; } .tile:nth-child(3n) .tile-ic { animation-delay: 1.4s; }
.tile-ic .ic-img { width: 100%; height: 100%; border-radius: 20px; object-fit: cover; }
.tile-tag { position: absolute; top: 9px; inset-inline-start: 9px; padding: 3px 10px; border-radius: 12px; background: var(--c); border: 2px solid #fff; font-size: .7rem; font-weight: 800; color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.tile-tag.duel { inset-inline-start: auto; inset-inline-end: 9px; padding: 2px 7px; background: #fff; color: #000; }
.tile-tag.demo { background: var(--orange); }
.tile .lock { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; background: rgba(235, 218, 190, .6); }
.tile.locked { filter: grayscale(.5); }
.tile-tx { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.tile-tx b { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.tile-desc { font-size: .82rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tile-stat { display: flex; justify-content: space-between; font-weight: 700; } .tile-stars { color: var(--gold); }
.bar { height: 10px; border-radius: 5px; background: #eadbbb; overflow: hidden; } .bar i { display: block; height: 100%; background: var(--c, var(--blue)); border-radius: 5px; }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr; gap: 14px; } .tile-art { height: 104px; } }
@media (min-width: 641px) and (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Duelle ---------- */
.game-pick { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.gp { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 30px; border: 2px solid var(--c); background: var(--surf); font-family: var(--font-display); font-weight: 700; white-space: nowrap; color: var(--text); }
.gp.on { background: var(--c); color: #fff; box-shadow: 0 5px 14px rgba(0, 0, 0, .2); }
.stat-line { margin-bottom: 4px; }
.row.hist.win .res { color: var(--mint); } .row.hist.lose .res { color: var(--danger); }
.duel-bar { display: flex; align-items: center; gap: 10px; padding: 6px 14px; background: var(--surf); border-bottom: 3px solid var(--blue); flex: none; } .duel-state { margin-inline-start: auto; font-size: .85rem; color: var(--danger); font-weight: 700; }
.game-stage { flex: 1; position: relative; background: #000; min-height: 0; } .game-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--bg0); }
.web-frame { background: var(--bg0); }

/* ---------- Events ---------- */
.event-list { display: flex; flex-direction: column; gap: 14px; }
.event-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 18px 14px 14px; border-radius: 18px; border: 3px solid var(--violet); background: var(--surf); text-align: start; box-shadow: var(--shadow); color: var(--text); transition: transform .25s; }
.event-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--violet); }
.event-card:hover { transform: translateY(-4px); } .event-card.soon { opacity: .7; }
.event-ic { width: 62px; height: 62px; border-radius: 50%; background: #efe6ff; border: 2px solid #c8b2f5; display: grid; place-items: center; font-size: 2.2rem; flex: none; }
.event-tx { flex: 1; display: flex; flex-direction: column; gap: 2px; } .event-tx b { font-family: var(--font-display); font-size: 1.1rem; color: var(--violet); } .reward { color: var(--gold); font-weight: 800; }
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 14px 10px 46px; padding: 8px 0 28px; }
.ev-grid .node { position: relative; left: auto; top: auto; transform: none; width: 100%; max-width: 92px; margin: 0 auto; }
.ev-grid .node-g { position: absolute; top: calc(100% + 10px); font-size: .72rem; white-space: nowrap; }

/* ---------- Shop ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.shop-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border-radius: 18px; background: var(--surf); border: 3px solid rgba(26, 117, 255, .35); box-shadow: var(--shadow); transition: transform .2s; }
.shop-card:hover { transform: translateY(-4px); } .shop-card.eq { border-color: var(--mint); }
.shop-card.r-rare { border-color: var(--blue); background: linear-gradient(180deg, #fff, #e3eeff); } .shop-card.r-epic { border-color: var(--violet); background: linear-gradient(180deg, #fff, #efe6ff); }
.shop-card .price { color: var(--gold); font-weight: 800; } .shop-pv { min-height: 70px; display: grid; place-items: center; font-size: 2.5rem; } .shop-pv.big { min-height: 110px; transform: scale(1.4); margin: 10px 0 16px; }
.ic-emoji.big { font-size: 3rem; }

/* ---------- Rangliste, Mitteilungen, Profil ---------- */
.filters { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 8px; flex: none; max-width: 820px; width: 100%; margin: 0 auto; }
.seg { display: flex; gap: 4px; background: rgba(255, 255, 255, .6); border: 2px solid rgba(26, 117, 255, .3); border-radius: 30px; padding: 4px; }
.seg-b { flex: 1; min-height: 40px; border: 0; background: none; border-radius: 30px; font-family: var(--font-display); font-weight: 700; color: var(--blue-dark); }
.seg-b.on { background: var(--blue-grad); color: #fff; box-shadow: 0 4px 12px rgba(26, 117, 255, .35); }
.mine { font-weight: 800; color: var(--gold); text-align: center; }
.row.rank .rk { width: 34px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--muted); } .row.rank .val { font-size: 1.1rem; font-weight: 800; color: var(--gold); }
.row.rank.top1 { border-color: #e8b92c; background: linear-gradient(90deg, rgba(255, 215, 0, .22), transparent 70%), var(--surf); } .row.rank.top1 .rk { color: #c99700; }
.row.rank.top2 { border-color: #9fb0b8; } .row.rank.top2 .rk { color: #7d8e96; }
.row.rank.top3 { border-color: #c98a50; } .row.rank.top3 .rk { color: #b06f35; }
.row.rank.me { border-color: var(--blue); background: linear-gradient(90deg, rgba(26, 117, 255, .12), transparent), var(--surf); }
.notif-ic { font-size: 1.6rem; width: 38px; text-align: center; }
.profile { display: flex; flex-direction: column; } .profile-head { display: flex; flex-direction: column; align-items: center; gap: 4px; }

.install-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: #e6f6ec; border: 2px solid var(--mint); }
.install-bar > span:first-child { font-size: 1.6rem; } .install-t { flex: 1; font-size: .9rem; } .install-bar .btn { flex: none; width: auto; }

/* ---------- Anmeldeseite: Demos ohne Konto ---------- */
.auth-demo { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .55); border: 2px dashed var(--gold); }

/* ---------- Welt (PartyGarage): Kopf mit Name und Symbol ---------- */
.world-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 20px; border: 4px solid var(--c); color: #fff; box-shadow: var(--shadow-big);
  background: radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, .35), transparent 55%), linear-gradient(135deg, color-mix(in srgb, var(--c) 85%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 55%, #000)); }
.world-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .08) 0 18px, transparent 18px 46px); pointer-events: none; }
.world-hero-ic { position: relative; flex: none; width: 84px; height: 84px; display: grid; place-items: center; font-size: 3.4rem; border-radius: 22px; background: rgba(255, 255, 255, .22); border: 3px solid rgba(255, 255, 255, .7); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .3)); }
.world-hero-ic .ic-img { width: 100%; height: 100%; border-radius: 19px; object-fit: cover; }
.world-hero-tx { position: relative; min-width: 0; }
.world-hero-tx h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 700; line-height: 1.1; text-shadow: 0 3px 6px rgba(0, 0, 0, .4); }
.world-hero-tx p { margin: 4px 0 8px; line-height: 1.45; text-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.world-hero-stat { display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgba(0, 0, 0, .3); font-weight: 800; font-size: .85rem; }
.tile.world .tile-art { height: 150px; } .tile-ic.big { width: 100px; height: 100px; font-size: 4rem; }
@media (max-width: 480px) { .world-hero { flex-direction: column; text-align: center; padding: 18px 14px; } .world-hero-ic { width: 72px; height: 72px; font-size: 3rem; } .tile.world .tile-art { height: 120px; } }

/* Alle Spiele: Abschnitte (Spiele | Absatz | Demos) */
.glist { display: flex; flex-direction: column; }
.gsec + .gsec { margin-top: 28px; padding-top: 24px; border-top: 3px dashed rgba(184, 134, 11, .55); }
.gsec-t { font-family: var(--font-title); color: var(--blue-dark); font-size: 1.3rem; margin: 0 0 14px; }
