/* HYDRA THEME – Fortnite-/Hydra-Look als Schicht über app.css + casino.css
   schräge, fette Titel mit Verlauf; wuchtige 3D-Buttons mit Druck-Animation und Glanz; Sturm-Hintergrund mit Streifen;
   schräge Akzent-Chips; Seitenwechsel mit Wisch; 3D-Assets (Blender) als Deko. Eine Schriftfamilie bleibt (Work Sans + Hydra). */

/* ---------- Hintergrund: Sturm-Glow + feine Diagonalstreifen ---------- */
body {
  background-image:
    radial-gradient(1100px 600px at 85% -10%, rgba(164, 60, 255, .26), transparent 60%),
    radial-gradient(800px 500px at -10% 15%, rgba(255, 61, 210, .10), transparent 60%),
    radial-gradient(700px 400px at 50% 110%, rgba(201, 107, 255, .07), transparent 60%);
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(-32deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 22px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .25) 60%, transparent);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(6, 2, 16, .6));
}

/* ---------- Titel: schräg, fett, Verlauf, harter Schatten ---------- */
.title, .dash-head h1, .page-head h1, .cas-title, .hero-title {
  font-family: "Hydra", "Work Sans", sans-serif; text-transform: uppercase; letter-spacing: .01em; line-height: .98;
  font-style: italic; transform: skewX(-6deg); display: inline-block;
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F6FF 45%, #C96BFF 46%, #8E2BE2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(26, 5, 51, .95)) drop-shadow(0 8px 18px rgba(0, 0, 30, .45));
  padding-right: .12em;
}
.title .shear { display: inline; }
.dash-head h1 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
h2:not(.subtitle):not(.cas-sub) { font-family: "Hydra", "Work Sans", sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.section > h2, .panel > h2, .panel h3 { position: relative; padding-left: 14px; }
.section > h2::before, .panel > h2::before, .panel h3::before {
  content: ""; position: absolute; left: 0; top: .18em; bottom: .12em; width: 5px; border-radius: 2px;
  background: linear-gradient(180deg, var(--bolt), #8E2BE2); transform: skewX(-12deg); box-shadow: 0 0 12px rgba(201, 107, 255, .35);
}

/* ---------- Buttons: wuchtig, 3D-Kante, Druck, Glanz ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  font-family: "Hydra", "Work Sans", sans-serif; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; font-size: .86rem;
  border-radius: 11px; padding: 11px 20px;
  box-shadow: 0 4px 0 var(--btn-edge, #5E159F), 0 10px 22px rgba(0, 0, 20, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .09s cubic-bezier(.2, .8, .2, 1), box-shadow .09s, filter .15s, background .15s;
  --btn-edge: #5E159F;
  background: linear-gradient(180deg, #BE62FF 0%, #9A35F0 55%, #8E2BE2 100%); color: #fff; text-shadow: 0 1px 0 rgba(40, 0, 80, .45);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05) saturate(1.05); box-shadow: 0 6px 0 var(--btn-edge), 0 14px 26px rgba(0, 0, 20, .4), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn:active, .btn.pressed { transform: translateY(3px) scale(.985); box-shadow: 0 1px 0 var(--btn-edge), 0 4px 10px rgba(0, 0, 20, .35), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn::after {
  content: ""; position: absolute; inset: -40% -60%; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .55) 48%, rgba(255, 255, 255, .15) 52%, transparent 62%);
  transform: translateX(-80%) skewX(-18deg); opacity: 0;
}
.btn:hover::after { animation: btn-shine .65s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes btn-shine { 0% { transform: translateX(-80%) skewX(-18deg); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(80%) skewX(-18deg); opacity: 0; } }
.btn.blue { --btn-edge: #1B45B8; }
.btn.red { --btn-edge: #A42A3C; }
.btn.green { --btn-edge: #1C8A62; }
.btn.discord { --btn-edge: #3B47C0; }
.btn.epic { --btn-edge: #B8BCC8; }
.btn.ghost { background: var(--surface-2); color: var(--text); text-shadow: none; --btn-edge: rgba(200, 150, 255, .22); box-shadow: 0 3px 0 var(--btn-edge), inset 0 0 0 1px var(--line-2); text-transform: none; font-family: "Work Sans", sans-serif; font-weight: 650; letter-spacing: 0; }
.btn.ghost:hover { box-shadow: 0 5px 0 var(--btn-edge), inset 0 0 0 1px var(--line-2), 0 10px 20px rgba(0, 0, 20, .3); }
.btn.ghost::after { display: none; }
.btn.small { padding: 7px 13px; font-size: .74rem; border-radius: 9px; box-shadow: 0 3px 0 var(--btn-edge), 0 6px 14px rgba(0, 0, 20, .3), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn.small:hover { box-shadow: 0 4px 0 var(--btn-edge), 0 8px 16px rgba(0, 0, 20, .35), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn.small:active { box-shadow: 0 1px 0 var(--btn-edge), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn:disabled, .btn:disabled:hover { transform: none; box-shadow: 0 2px 0 rgba(0, 0, 0, .25); filter: grayscale(.8) brightness(.7); }
.btn:disabled::after { display: none; }
.btn.big { font-size: 1rem; padding: 14px 26px; }

/* ---------- Icon-Buttons / Tabs ---------- */
.icon-btn { transition: transform .12s, background .15s, color .15s; }
.icon-btn:hover { transform: translateY(-1px); }
.icon-btn:active { transform: scale(.92); }
.tabs a { transition: background .15s, color .15s, transform .12s; }
.tabs a:hover { transform: translateX(2px); }
.tabs a.active { background: linear-gradient(90deg, rgba(201, 107, 255, .2), rgba(201, 107, 255, .04)); }
.tabs a.active::before { width: 4px; box-shadow: 0 0 10px var(--bolt); }
.nav-new { font-family: "Hydra", "Work Sans", sans-serif; letter-spacing: .06em; transform: skewX(-8deg); box-shadow: 0 2px 0 rgba(0, 0, 0, .3); }

/* ---------- Karten / Panels ---------- */
.panel, .kpi, .stat, .g-card, .quick a, .cas-card, .fc-feature, .style-card, .item {
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .18s, border-color .18s;
}
.panel { border-color: rgba(150, 172, 255, .14); box-shadow: 0 14px 36px rgba(0, 0, 12, .35), inset 0 1px 0 rgba(255, 255, 255, .04); }
.kpi:hover, .stat:hover, .quick a:hover { transform: translateY(-3px); border-color: rgba(201, 107, 255, .38); box-shadow: 0 12px 26px rgba(0, 0, 20, .35); }
.kpi b, .stat b { font-family: "Hydra", "Work Sans", sans-serif; }
.kpi .ic { background: linear-gradient(160deg, rgba(201, 107, 255, .18), rgba(124, 77, 255, .18)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }

/* schräge Akzent-Chips */
.tag, .badge, .pill, .nav-new, .fc-pill, .g-badge { font-family: "Hydra", "Work Sans", sans-serif; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Dashboard-Hero mit 3D-Bus ---------- */
.dash-head { position: relative; }
.dash-hero { position: absolute; pointer-events: none; z-index: 0; }
.dash-hero img { width: 100%; height: auto; display: block; }
.dash-head > div:not(.dash-hero) { position: relative; z-index: 1; }
@keyframes hero-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(1.5deg); } }
@media (min-width: 1200px) { .dash-head > div:last-child:not(.dash-hero) { margin-right: 380px; } }
@media (max-width: 1199px) { .dash-hero { display: none; } }

/* ---------- Seitenwechsel: Wisch ---------- */
main.enter { animation: pageIn .36s cubic-bezier(.2, .8, .2, 1); }
@keyframes pageIn { from { opacity: 0; transform: translateX(14px); } }
.page-wipe { position: fixed; inset: -10% -40%; z-index: 60; pointer-events: none; display: grid; place-items: center; }
.page-wipe::before, .page-wipe::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-18deg); }
.page-wipe::before { background: var(--bolt); animation: wipe .5s cubic-bezier(.65, 0, .35, 1) forwards; }
.page-wipe::after { background: #1A0533; animation: wipe .5s .06s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes wipe { 0% { transform: translateX(-120%) skewX(-18deg); } 100% { transform: translateX(120%) skewX(-18deg); } }

/* ---------- Toasts ---------- */
.toast { border-left: 5px solid var(--bolt); font-weight: 600; box-shadow: 0 14px 30px rgba(0, 0, 20, .45); animation: toast-in .3s cubic-bezier(.2, .9, .25, 1.2); }
.toast.bad { border-left-color: var(--bad); }
.toast.ok { border-left-color: var(--good); }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* ---------- Eingaben ---------- */
input:not([type=range]):not([type=checkbox]), select, textarea { transition: border-color .15s, box-shadow .15s, transform .1s; }
input:not([type=range]):not([type=checkbox]):focus, select:focus, textarea:focus { border-color: var(--bolt); box-shadow: 0 0 0 3px rgba(201, 107, 255, .18); }

/* ---------- Lade-Spinner als Blitz ---------- */
.spinner { width: 42px; height: 42px; border: 0; margin: 28px auto; background: url("../img/3d/sym_bolt.webp") center / contain no-repeat; animation: bolt-pulse .9s ease-in-out infinite; filter: drop-shadow(0 0 10px rgba(201, 107, 255, .5)); }
@keyframes bolt-pulse { 0%, 100% { transform: scale(.92); opacity: .7; } 50% { transform: scale(1.08); opacity: 1; } }

/* ---------- Casino im Hydra-Look ---------- */
.cas-card { border-radius: 16px; }
.cas-card:hover { box-shadow: 0 18px 40px rgba(0, 0, 20, .5), 0 0 0 1px rgba(201, 107, 255, .4); }
.cas-card-txt h3 { font-family: "Hydra", "Work Sans", sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.cas-cell img.sym3d { transition: transform .25s cubic-bezier(.2, .9, .25, 1.4); }
.cas-cell.win img.sym3d { animation: sym-win .7s ease-in-out infinite alternate; }
@keyframes sym-win { from { transform: scale(1) rotate(-4deg); filter: drop-shadow(0 0 6px rgba(201, 107, 255, .5)); } to { transform: scale(1.14) rotate(4deg); filter: drop-shadow(0 0 18px rgba(201, 107, 255, .9)); } }
.cas-chip3d { width: 54px; height: 54px; display: inline-block; filter: drop-shadow(0 6px 8px rgba(0, 0, 20, .5)); transition: transform .15s; }
.cas-chip3d:hover { transform: translateY(-4px) rotate(-6deg); }
.coin-spin { width: 28px; height: 28px; display: inline-block; vertical-align: middle; background: url("../img/3d/coin_spin.webp") 0 0 / 1600% 100% no-repeat; animation: coin-spin 1.1s steps(16) infinite; }
@keyframes coin-spin { to { background-position: -1600% 0; } }
.coin-ico { border-radius: 0; box-shadow: none; width: 17px; height: 17px; background: url("../img/3d/coin.webp") center / contain no-repeat; filter: drop-shadow(0 1px 1px rgba(0, 0, 20, .5)); }

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn::after, .page-wipe, .dash-hero { animation: none !important; display: none; }
  .btn, .kpi, .stat, .quick a, .tabs a, .icon-btn { transition: none; }
}

/* ------------------------------------------------------------------ Batch G: Icons, Seitenkopf-3D, Schatzsuche, Hydra AI */
/* Navigation: kraeftigere Icons mit eigenem Plaettchen, aktives Icon leuchtet */
.tabs a svg { width: 30px; height: 30px; padding: 5px; border-radius: 9px; stroke-width: 2; opacity: .9; background: rgba(255, 255, 255, .04); transition: background .15s, transform .15s, color .15s; }
.tabs a:hover svg { background: rgba(201, 107, 255, .14); transform: scale(1.06); color: #fff; }
.tabs a.active svg { background: linear-gradient(135deg, var(--bolt), var(--blue)); color: #fff; box-shadow: 0 4px 14px rgba(201, 107, 255, .35); }
.tabs .nav-label { letter-spacing: .14em; font-size: .64rem; opacity: .75; }
.nav-new { background: linear-gradient(135deg, var(--bolt), #FF4DF0); color: #1A0533; }
.bottomnav a svg, .bottomnav button svg { stroke-width: 2; }

/* Seitenkopf mit 3D-Icon rechts */
.page-head .head3d { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .45)); animation: head-float 5s ease-in-out infinite; align-self: center; }
@keyframes head-float { 0%, 100% { transform: translateY(0) rotate(-2deg) } 50% { transform: translateY(-8px) rotate(2deg) } }
@media (max-width: 720px) { .page-head .head3d { width: 72px; height: 72px; } }
@media (prefers-reduced-motion: reduce) { .page-head .head3d { animation: none; } }

/* Schatzsuche: Guide-Schritte */
.th-guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 12px; }
.th-step { position: relative; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; overflow: hidden; }
.th-step::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201, 107, 255, .18), transparent 70%); pointer-events: none; }
.th-step img { width: 92px; height: 92px; align-self: center; object-fit: contain; flex: none; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)); }
.th-step .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bolt); color: #1A0533; font-weight: 800; font-size: .75rem; margin-bottom: 6px; }
.th-step b { display: block; font-size: 1rem; }
.th-step p { margin: 4px 0 0; font-size: .84rem; color: var(--text-2); line-height: 1.4; }

/* Sprite-Dex */
.sprites { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sprite { position: relative; font: inherit; color: #fff; cursor: pointer; text-align: center; padding: 14px 10px 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform .15s, border-color .15s, box-shadow .15s; overflow: hidden; }
.sprite::before { content: ""; position: absolute; inset: 0 0 45%; background: radial-gradient(ellipse at 50% 0%, var(--rc, rgba(201, 107, 255, .35)), transparent 70%); pointer-events: none; }
.sprite img { width: 96px; height: 96px; object-fit: contain; position: relative; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); transition: transform .2s; }
.sprite:hover { transform: translateY(-4px); border-color: var(--bolt); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.sprite:hover img { transform: scale(1.08) rotate(-3deg); }
.sprite .dex { position: absolute; left: 10px; top: 8px; font-size: .7rem; font-weight: 800; color: var(--mute); }
.sprite b { font-size: .92rem; line-height: 1.2; }
.sprite .rar { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--rt, var(--bolt)); }
.sprite .meta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; font-size: .72rem; color: var(--mute); }
.r-common { --rc: rgba(160, 170, 190, .35); --rt: #B8C0D0; } .r-uncommon { --rc: rgba(74, 222, 128, .35); --rt: #4ADE80; } .r-rare { --rc: rgba(76, 150, 255, .4); --rt: #6FB1FF; }
.r-epic { --rc: rgba(201, 107, 255, .45); --rt: #D79BFF; } .r-legendary { --rc: rgba(255, 170, 60, .45); --rt: #FFB547; } .r-mythic { --rc: rgba(255, 220, 90, .5); --rt: #FFE27A; }
.sprite-modal .sprite-top { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: var(--r); background: radial-gradient(ellipse at 20% 20%, var(--rc, rgba(201, 107, 255, .3)), transparent 60%), var(--bg-2); margin-bottom: 16px; }
.sprite-modal .big { width: 180px; height: 180px; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .5)); animation: head-float 5s ease-in-out infinite; }
.sprite-modal h3 { margin: 14px 0 8px; }
.boon { display: flex; flex-direction: column; gap: 2px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.boon span { color: var(--text-2); font-size: .88rem; }
.var-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.var { font: inherit; color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); }
.var img { width: 56px; height: 56px; object-fit: contain; }
.var small { color: var(--mute); font-size: .7rem; text-align: center; }
.var .pct { font-weight: 800; color: var(--bolt); font-size: .85rem; }
.var.on, .var:hover { border-color: var(--bolt); }
@media (max-width: 600px) { .sprite-modal .sprite-top { grid-template-columns: 1fr; justify-items: center; text-align: center; } .sprite-modal .stat-row { justify-content: center; } }

/* Hydra AI */
.ai-panel { display: flex; flex-direction: column; gap: 12px; }
.ai-log { display: flex; flex-direction: column; gap: 10px; max-height: 56vh; min-height: 220px; overflow: auto; padding: 4px 2px; }
.ai-msg { display: flex; gap: 10px; align-items: flex-end; max-width: 80%; animation: pop-in .25s cubic-bezier(.2, .9, .25, 1.2); }
.ai-msg img { width: 40px; height: 40px; object-fit: contain; flex: none; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.ai-msg .bub { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 10px 14px; }
.ai-msg .bub p { margin: 0; } .ai-msg .bub p + p { margin-top: 6px; }
.ai-msg.me { align-self: flex-end; } .ai-msg.me .bub { background: linear-gradient(135deg, var(--bolt-dark), var(--blue)); border: 0; border-radius: 16px 16px 4px 16px; color: #fff; }
.ai-msg.wait .bub { color: var(--mute); letter-spacing: .2em; animation: livepulse 1s infinite; }
.ai-msg.err .bub { border-color: #ff5d7a; color: #ffb3c0; }
.ai-form input { padding: 12px 14px; }
.msg.ai img { border: 2px solid var(--blue); background: #1A0533; }
.badge-admin.ai { background: linear-gradient(135deg, var(--bolt), var(--blue)); color: #fff; }
.msg.mine.private { background: rgba(124, 77, 255, .1); border-color: rgba(124, 77, 255, .3); }

.inlink { color: var(--bolt); font-weight: 700; text-decoration: underline dotted; }
@media (min-width: 1100px) { .th-guide { grid-template-columns: repeat(5, 1fr); } }
/* 3D-Drehteller im Seitenkopf (Meshy-Modelle) */
.page-head .head3d-gl { position: relative; width: 150px; height: 150px; animation: none; filter: none; }
.page-head .head3d-gl img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .45)); transition: opacity .4s; }
.page-head .head3d-gl.ready img { opacity: 0; }
.page-head .head3d-gl canvas { position: absolute; inset: -20%; width: 140% !important; height: 140% !important; cursor: grab; touch-action: pan-y; }
.page-head .head3d-gl canvas:active { cursor: grabbing; }
@media (max-width: 720px) { .page-head .head3d-gl { width: 90px; height: 90px; } }
/* Chat-Kopf: Tabs duerfen schrumpfen, Schliessen-Button immer sichtbar */
.chat header { flex-wrap: nowrap; }
.chat-title { flex: none; }
.chat-rooms { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.chat-rooms button { padding: 5px 7px; font-size: .7rem; white-space: nowrap; }
.chat-rooms button i { display: none; }
#chatClose { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.35rem; transition: background .15s, transform .15s; }
#chatClose:hover { background: var(--bolt); color: #1A0533; transform: scale(1.06); }
/* Bus-Marker: feste Groesse, egal welches Bild */
.leaflet-container .leaflet-marker-pane .bus-ico img { width: 72px !important; height: auto !important; max-width: none; transform: translate(-50%, -82%); }
.mono { font-family: ui-monospace, Consolas, monospace; word-break: break-all; }
/* Galerie-Pakete */
.g-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.g-pack { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; cursor: pointer; transition: transform .15s, border-color .15s; }
.g-pack:hover { transform: translateY(-3px); border-color: rgba(201, 107, 255, .5); }
.gp-cover { position: relative; aspect-ratio: 4 / 3; background: var(--bg-2); overflow: hidden; }
.gp-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gp-cover .gp-second { position: absolute; right: -8%; bottom: -10%; width: 55%; height: 55%; border-radius: 10px; border: 2px solid var(--surface); box-shadow: 0 8px 20px rgba(0, 0, 0, .5); transform: rotate(-6deg); }
.gp-count { position: absolute; left: 10px; top: 10px; min-width: 30px; height: 30px; display: grid; place-items: center; padding: 0 8px; border-radius: 10px; background: var(--bolt); color: #1A0533; font-weight: 800; font-size: .9rem; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.gp-cover .g-game { left: auto; right: 10px; }
.g-pack .g-txt { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.g-pack .gp-desc { font-size: .82rem; color: var(--text-2); }
.g-pack .g-acts { margin-top: 8px; display: flex; gap: 8px; }
.g-pack-modal .g-grid { columns: 3 220px; }
/* Community-Meldungen auf der Karte */
.rep-ico img { position: absolute; width: 34px; height: 34px; transform: translate(-50%, -60%); opacity: .55; filter: drop-shadow(0 4px 6px rgba(0, 0, 20, .6)) saturate(.6); pointer-events: auto; cursor: pointer; }
.leaflet-container .leaflet-marker-pane .rep-ico img { width: 34px !important; height: 34px !important; }
.rep-ico b { position: absolute; transform: translate(-2px, -34px); background: #FF4DF0; color: #1A0533; font-size: .62rem; font-weight: 800; padding: 1px 5px; border-radius: 6px; box-shadow: 0 0 0 2px #1A0533; pointer-events: none; white-space: nowrap; }
.hp-pop .leaflet-popup-content-wrapper { background: var(--surface); color: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
.hp-pop .leaflet-popup-tip { background: var(--surface); }
.hp-pop .leaflet-popup-content { margin: 12px 14px; font: inherit; }
.rep-pop { display: flex; flex-direction: column; gap: 2px; min-width: 180px; }
/* Chat: Antworten, Erwaehnungen, Emojis */
.msg .reply-btn { margin-left: 6px; }
.msg .quote { display: flex; gap: 6px; align-items: baseline; max-width: 100%; margin: 4px 0 2px; padding: 4px 8px; border-left: 3px solid var(--bolt); border-radius: 0 8px 8px 0; background: rgba(201, 107, 255, .1); font: inherit; font-size: .78rem; color: var(--text-2); cursor: pointer; text-align: left; }
.msg .quote b { color: var(--bolt); flex: none; } .msg .quote span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg .mention { color: var(--bolt); font-weight: 700; background: rgba(201, 107, 255, .12); border-radius: 5px; padding: 0 3px; }
.msg.mention-me { background: rgba(255, 77, 240, .08); border-radius: 12px; padding: 8px 10px; box-shadow: inset 3px 0 0 #FF4DF0; }
.msg.flash { animation: msgflash 1.2s; } @keyframes msgflash { 0% { background: rgba(201, 107, 255, .35) } 100% { background: transparent } }
.chat-reply { display: flex; align-items: center; gap: 6px; padding: 6px 12px; margin: 0 10px; border-radius: 10px 10px 0 0; background: var(--bg-2); border: 1px solid var(--line); border-bottom: 0; font-size: .8rem; }
.chat-reply b { color: var(--bolt); } .chat-reply .rq { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.chat-reply .icon-btn { margin-left: auto; width: 26px; height: 26px; }
#chatForm { position: relative; }
.emoji-btn { padding: 0 10px; font-size: 1.1rem; line-height: 1; min-width: 40px; }
.emoji-pick { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; margin: 0 10px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; max-height: 190px; overflow: auto; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.emoji-pick button { font-size: 1.25rem; line-height: 1; padding: 5px 0; background: transparent; border: 0; border-radius: 8px; cursor: pointer; transition: transform .1s, background .1s; }
.emoji-pick button:hover { background: rgba(201, 107, 255, .18); transform: scale(1.2); }
.mention-ac { display: flex; flex-direction: column; margin: 0 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.mention-ac button { font: inherit; font-size: .86rem; text-align: left; padding: 8px 12px; background: transparent; border: 0; color: #fff; cursor: pointer; }
.mention-ac button.sel, .mention-ac button:hover { background: rgba(201, 107, 255, .18); color: var(--bolt); }
