/* HYDRA PANEL – modernes Dashboard
   Eine Schriftfamilie: Work Sans (Fliesstext) + Work Sans ExtraBold ("Hydra", Checker-Schrift) fuer Titel und Zahlen.
   Klare Karten, Seitenleiste mit Gruppen, Fortnite-Farben als Akzente (Gelb, Blau, Rarity-Farben). */
@font-face { font-family: "Hydra"; src: url("../fonts/hydra.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/worksans-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Work Sans"; src: url("../fonts/worksans-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #08040F;
  --bg-2: #0F0820;
  --surface: #160C2E;
  --surface-2: #1E1240;
  --surface-3: #2A1A55;
  --line: rgba(200, 150, 255, .13);
  --line-2: rgba(200, 150, 255, .26);
  --text: #F4EDFF;
  --text-2: #CFBDEF;
  --mute: #9B86C6;
  --bolt: #C96BFF;
  --bolt-dark: #8E2BE2;
  --blue: #7C4DFF;
  --blue-2: #5B2ED6;
  --violet: #A43CFF;
  --good: #34D399;
  --bad: #FF5A73;
  --warn: #FFB547;
  --r: 14px;
  --r-sm: 10px;
  --side-w: 248px;
  --top-h: 64px;
  --shadow: 0 10px 30px rgba(0, 0, 10, .28);
  /* alte Namen (Casino-Stylesheet) */
  --navy: #08040F; --navy-2: #160C2E; --sky: #7C4DFF; --sky-2: #5B2ED6; --ice: #F4EDFF;
  --panel: #160C2E; --panel-line: rgba(200, 150, 255, .22); --cut: 14px;
  --r-common: #8C9AA8; --r-uncommon: #5FB523; --r-rare: #2E9BFF; --r-epic: #B54CFF; --r-legendary: #F49B29;
  --r-mythic: #FFD23F; --r-icon: #2BD4E8; --r-marvel: #E8374A; --r-dc: #3D6DFF; --r-starwars: #3B3F4A;
  --r-gaming: #6A55FF; --r-dark: #FF2E9A; --r-frozen: #9FD8FF; --r-lava: #FF6A2B; --r-shadow: #5A5A66;
  --r-slurp: #19E6C1; --r-fncs: #F2B33D; --r-lamborghini: #E6B800; --r-cube: #A23BFF;
  font-size: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 450;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(900px 500px at 85% -10%, rgba(61, 123, 255, .16), transparent 60%),
                    radial-gradient(700px 420px at -10% 10%, rgba(139, 92, 246, .10), transparent 60%);
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--bolt); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
svg { flex: none; }
/* Icon-Sprite (Tabler): Standard-Strich, Groesse kommt vom Kontext */
svg:has(> use) { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 2px solid var(--bolt); outline-offset: 2px; }
::selection { background: var(--bolt); color: var(--bg); }
h1, h2, h3, h4 { margin: 0; font-family: "Hydra", "Work Sans", sans-serif; font-weight: 800; line-height: 1.1; letter-spacing: -.005em; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--bolt); color: var(--bg); border-radius: 8px; }
.skip:focus { top: 12px; }
.title { font-size: clamp(1.7rem, 3vw, 2.3rem); text-transform: uppercase; }
.title.huge { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.subtitle { font-size: 1.25rem; }
.shear { display: inline; }
.lead { font-size: 1rem; color: var(--text-2); max-width: 70ch; }
.muted { color: var(--mute); }
.small { font-size: .85rem; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }
.num, .stat b, .kpi b { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ Grundgeruest: Seitenleiste + Inhalt */
.shell { min-height: 100vh; display: flex; }
.side {
  position: sticky; top: 0; height: 100vh; width: var(--side-w); flex: none; z-index: 40;
  display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(180deg, #0E1531 0%, #0B1127 100%); border-right: 1px solid var(--line);
}
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 10px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none !important; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none;
  font-family: "Hydra", sans-serif; font-size: 1.3rem; color: var(--bg);
  background: linear-gradient(160deg, #FFF59A, var(--bolt) 45%, #F2C200); box-shadow: 0 6px 18px rgba(255, 214, 0, .22);
}
.logo-text { font-family: "Hydra", sans-serif; font-size: 1.22rem; letter-spacing: .02em; line-height: 1; }
.logo-text small { display: block; font-size: .6rem; color: var(--bolt); letter-spacing: .3em; margin-top: 3px; }
.tabs { flex: 1; overflow-y: auto; padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.nav-group { display: flex; flex-direction: column; gap: 2px; }
.nav-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); padding: 6px 10px 4px; font-weight: 600; }
.tabs a {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; color: var(--text-2);
  font-weight: 550; font-size: .93rem; text-decoration: none !important; position: relative; transition: background .15s, color .15s;
}
.tabs a svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.tabs a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.tabs a.active { background: linear-gradient(90deg, rgba(201, 107, 255, .16), rgba(201, 107, 255, .04)); color: #fff; }
.tabs a.active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--bolt); }
.tabs a.active svg { color: var(--bolt); opacity: 1; }
.nav-new { margin-left: auto; font-style: normal; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 99px; background: var(--bolt); color: var(--bg); }
.side-foot { padding: 14px 22px 18px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--mute); display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(52, 211, 153, .15); }
.side .side-close { display: none; }
.side-scrim { position: fixed; inset: 0; z-index: 39; background: rgba(3, 6, 20, .6); backdrop-filter: blur(2px); }
.main-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  position: sticky; top: 0; z-index: 30; height: var(--top-h);
  display: flex; align-items: center; gap: 14px; padding: 0 28px;
  background: rgba(10, 15, 34, .78); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.icon-btn {
  width: 40px; height: 40px; flex: none; display: inline-grid; place-items: center; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text);
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.icon-btn:hover { background: var(--surface-2); }
.menu-btn, .logo-mini { display: none !important; }
.topsearch { position: relative; flex: 0 1 460px; z-index: 5; }
.topsearch > svg { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--mute); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.topsearch input { width: 100%; height: 42px; padding-left: 40px; padding-right: 74px; border-radius: 12px; background: var(--surface); }
.who { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.chip-user {
  display: flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: 12px; border: 1px solid var(--line-2) !important;
  background: var(--surface) !important; color: #fff; font-size: .85rem; white-space: nowrap; line-height: 1.2; text-align: left;
}
.chip-user:hover { background: var(--surface-2) !important; }
.chip-user img { width: 30px; height: 30px; border-radius: 8px; }
.coins { color: var(--bolt); display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.coin-ico {
  width: 15px; height: 15px; border-radius: 50%; display: inline-block; flex: none;
  background: radial-gradient(circle at 35% 30%, #FFF6B0, #FFD000 45%, #C08A00 100%); box-shadow: inset 0 -2px 0 #9A6C00;
}

main { flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 28px 28px 70px; }
main:focus, main:focus-visible { outline: none; }
main.enter { animation: pageIn .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } }

/* ------------------------------------------------------------------ Formulare & Buttons */
input, textarea, select {
  font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 10px 12px; outline: none; min-width: 0; transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { border-color: rgba(201, 107, 255, .7); box-shadow: 0 0 0 3px rgba(201, 107, 255, .14); }
textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #6F7CA8; }
input[type="range"] { padding: 0; accent-color: var(--bolt); background: none; border: 0; box-shadow: none; }
input[type="checkbox"] { accent-color: var(--bolt); width: 16px; height: 16px; }
select { cursor: pointer; }
.btn {
  font: inherit; font-weight: 650; font-size: .92rem; cursor: pointer; border: 0; border-radius: var(--r-sm);
  padding: 10px 18px; color: var(--bg); background: var(--bolt); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14); transition: transform .08s, filter .15s, background .15s; white-space: nowrap; text-decoration: none !important;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn:disabled { filter: grayscale(.8) brightness(.7); cursor: not-allowed; }
.btn.blue { background: var(--blue); color: #fff; }
.btn.ghost { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: var(--surface-3); filter: none; }
.btn.red { background: var(--bad); color: #fff; }
.btn.green { background: var(--good); color: #052b1e; }
.btn.discord { background: #5865F2; color: #fff; }
.btn.epic { background: #fff; color: #111; }
.btn.small { padding: 7px 12px; font-size: .82rem; }
.btn.big { padding: 13px 24px; font-size: 1rem; }
.btn img { width: 18px; height: 18px; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.grow { flex: 1; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.seg button {
  font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; border: 0; color: var(--text-2);
  background: transparent; padding: 7px 13px; border-radius: 9px;
}
.seg button:hover { color: #fff; }
.seg button.on { background: var(--bolt); color: var(--bg); }

/* ------------------------------------------------------------------ Bausteine */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 4px 0 22px; }
.page-head p { margin: 6px 0 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.panel h3 { font-size: 1.05rem; margin-bottom: 12px; }
.grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.section { margin-top: 30px; }
.section > h2, .shop-sec h2, .sec-h h2 { font-size: 1.25rem; margin-bottom: 14px; }
.sec-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.sec-h h2 { margin: 0; }
.empty { padding: 36px 20px; text-align: center; color: var(--mute); }
.empty .btn { margin-top: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: var(--bolt); color: var(--bg); border-radius: 6px;
}
.badge.blue { background: var(--blue); color: #fff; }
.badge.green { background: var(--good); color: #052b1e; }
.badge.red { background: var(--bad); color: #fff; }
.badge.violet { background: var(--violet); color: #fff; }
.badge.soft { background: rgba(255, 255, 255, .08); color: var(--text-2); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 7px 16px; font-size: .93rem; margin: 0; }
.kv dt { color: var(--mute); }
.kv dd { margin: 0; text-align: right; }

/* ------------------------------------------------------------------ Dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.dash-head h1 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.dash-head p { margin: 6px 0 0; color: var(--text-2); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.kpi .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(61, 123, 255, .14); color: #8FB2FF; }
.kpi .ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kpi.y .ic { background: rgba(201, 107, 255, .13); color: var(--bolt); }
.kpi.g .ic { background: rgba(52, 211, 153, .13); color: var(--good); }
.kpi.v .ic { background: rgba(139, 92, 246, .16); color: #B79CFF; }
.kpi b { display: block; font-family: "Hydra", sans-serif; font-size: 1.45rem; line-height: 1.1; color: #fff; font-weight: 800; }
.kpi span { font-size: .8rem; color: var(--mute); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.spot-card { position: relative; overflow: hidden; padding: 0; min-height: 400px; display: flex; flex-direction: column;
  background: radial-gradient(120% 90% at 50% 0%, #2E64F0 0%, #1A3CB4 45%, #0F1F6E 100%); border-color: rgba(120, 160, 255, .25); }
.spot-card .stage3d { position: absolute; inset: 0; }
.spot-card .stage3d canvas { width: 100% !important; height: 100% !important; display: block; }
.spot-card .spot-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 0; pointer-events: none; }
.spot-card .spot-top > * { pointer-events: auto; }
.spot-card .spot-top { padding-bottom: 28px; background: linear-gradient(180deg, rgba(8, 16, 64, .62), rgba(8, 16, 64, 0)); }
.spot-card .spot-top h2 { font-size: 1.2rem; text-shadow: 0 2px 10px rgba(0, 0, 40, .5); }
.spot-card .spot-top p { margin: 4px 0 0; font-size: .85rem; color: #D5E1FF; }
.spot-card .spot-bottom { position: relative; z-index: 2; margin-top: auto; padding: 14px 18px 16px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  background: linear-gradient(180deg, transparent, rgba(6, 12, 46, .75)); }
.spot-card .spot-fallback { position: absolute; inset: 64px 20px 70px; display: flex; gap: 10px; justify-content: center; align-items: flex-end; }
.spot-card .spot-fallback img { height: 100%; max-height: 300px; width: auto; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 30, .45)); cursor: pointer; }
.side-stack { display: flex; flex-direction: column; gap: 16px; }
.me-card .me-row { display: flex; gap: 12px; align-items: center; }
.me-card .me-av { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; font-family: "Hydra", sans-serif; font-size: 1.3rem;
  background: linear-gradient(135deg, var(--violet), var(--blue)); }
.me-card .me-av img { width: 100%; height: 100%; border-radius: 12px; object-fit: cover; }
.me-card h3 { margin: 0; }
.me-card .me-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick a { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); text-decoration: none !important; transition: border-color .15s, transform .15s; }
.quick a:hover { border-color: rgba(201, 107, 255, .45); transform: translateY(-2px); }
.quick a svg { width: 22px; height: 22px; fill: none; stroke: var(--bolt); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.quick a b { font-size: .92rem; font-weight: 650; }
.quick a span { font-size: .76rem; color: var(--mute); line-height: 1.35; }
.dash-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.dash-two > .panel { min-width: 0; }
.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-row { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; }
.news-row img { width: 112px; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.news-row h4 { font-family: "Work Sans", sans-serif; font-weight: 650; font-size: .92rem; line-height: 1.3; }
.news-row p { margin: 2px 0 0; font-size: .8rem; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* alte Lobby-Klassen (falls noch genutzt) */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.hero-cta { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 22px; margin-top: 24px; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: "Hydra", sans-serif; font-size: 1.6rem; color: #fff; }
.countdown { font-variant-numeric: tabular-nums; }
.spotlight { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.lineup-labels { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.lineup-label {
  position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center;
  padding: 4px 11px 5px; border-radius: 8px; white-space: nowrap; max-width: 210px;
  background: rgba(8, 14, 48, .82); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(4px);
}
.lineup-label b { font-size: .76rem; color: #fff; font-weight: 700; overflow: hidden; text-overflow: ellipsis; max-width: 186px; text-transform: uppercase; }
.lineup-label span { color: var(--bolt); font-size: .68rem; font-weight: 600; }
.lineup-label.main { padding: 5px 14px 6px; max-width: 300px; }
.lineup-label.main b { font-size: .9rem; max-width: 280px; }
.lineup-label:not(.main):not(.hot) span { display: none; }
.lineup-label.hot { border-color: var(--bolt); }

/* ------------------------------------------------------------------ News-Karten */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.news-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .15s; }
.news-card:hover { transform: translateY(-3px); }
.news-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-card .txt { padding: 12px 14px 16px; }
.news-card h4 { font-size: 1rem; margin-bottom: 6px; }
.news-card p { margin: 0; color: var(--text-2); font-size: .88rem; }
.news-card .badge { position: absolute; top: 10px; left: 10px; }

/* ------------------------------------------------------------------ Item-Kacheln (Shop & Spind) */
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.items.big { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.item {
  --rc: var(--r-common);
  position: relative; aspect-ratio: 1 / 1.22; overflow: hidden; cursor: default; border-radius: 12px;
  background: radial-gradient(120% 90% at 50% 28%, color-mix(in srgb, var(--rc) 82%, #fff 18%) 0%, var(--rc) 46%, color-mix(in srgb, var(--rc) 42%, #000 58%) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.item::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: color-mix(in srgb, var(--rc) 55%, #fff 45%); z-index: 2; }
.item.w2 { grid-column: span 2; aspect-ratio: auto; }
.item img.pic { position: absolute; inset: 0 0 18% 0; width: 100%; height: 82%; object-fit: contain; object-position: center bottom; transition: transform .25s; }
.item.w2 img.pic, .item.cover img.pic { object-fit: cover; height: 100%; inset: 0; }
.item:hover img.pic { transform: scale(1.04); }
.item .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 10px 9px; background: linear-gradient(180deg, transparent, rgba(5, 8, 30, .9) 48%); }
.item .name { font-size: .86rem; font-weight: 700; line-height: 1.15; text-transform: uppercase; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.item .sub { font-size: .72rem; color: #CFD8F5; margin-top: 3px; display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.item .price { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-size: .86rem; font-weight: 700; }
.item .price img { width: 16px; height: 16px; }
.item .price s { color: #9fb0d8; font-size: .74rem; font-weight: 500; }
.item .flags { position: absolute; top: 7px; left: 7px; display: flex; gap: 4px; flex-wrap: wrap; z-index: 2; }
.item .heart {
  position: absolute; top: 7px; right: 7px; z-index: 3; width: 30px; height: 30px; border: 0; cursor: pointer; border-radius: 9px;
  background: rgba(5, 8, 30, .55); color: #fff; font: inherit; display: grid; place-items: center; backdrop-filter: blur(4px);
}
.item .heart.on { background: var(--bolt); color: var(--bg); }
.item .heart svg { width: 15px; height: 15px; }
.item.clickable { cursor: pointer; transition: transform .15s, box-shadow .15s; }
.item.clickable:hover, .item.clickable:focus-visible { transform: translateY(-3px); outline: none; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--rc) 35%, #fff 65%), 0 12px 24px rgba(0, 0, 20, .35); }
.item.skel { --rc: #1D2754; background: linear-gradient(100deg, #18214A 30%, #222D5E 50%, #18214A 70%); background-size: 300% 100%; animation: shimmer 1.3s linear infinite; }
.item.skel::before { display: none; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.r-common { --rc: var(--r-common); } .r-uncommon { --rc: var(--r-uncommon); } .r-rare { --rc: var(--r-rare); }
.r-epic { --rc: var(--r-epic); } .r-legendary { --rc: var(--r-legendary); } .r-mythic { --rc: var(--r-mythic); }
.r-icon { --rc: var(--r-icon); } .r-marvel { --rc: var(--r-marvel); } .r-dc { --rc: var(--r-dc); }
.r-starwars { --rc: var(--r-starwars); } .r-gaminglegends { --rc: var(--r-gaming); } .r-dark { --rc: var(--r-dark); }
.r-frozen { --rc: var(--r-frozen); } .r-lava { --rc: var(--r-lava); } .r-shadow { --rc: var(--r-shadow); }
.r-slurp { --rc: var(--r-slurp); } .r-fncs { --rc: var(--r-fncs); } .r-lamborghini { --rc: var(--r-lamborghini); }
.r-cube { --rc: var(--r-cube); } .r-exclusive { --rc: #FF3BA7; }
.r-transcendent { --rc: #FF5FD0; } .r-exotic { --rc: #33E0FF; }
.shop-sec { margin-top: 28px; }
.shop-sec h2 { display: flex; gap: 12px; align-items: baseline; }
.shop-sec h2 small { font-family: "Work Sans", sans-serif; font-size: .8rem; font-weight: 500; color: var(--mute); }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.scroller > * { scroll-snap-align: start; }

/* ------------------------------------------------------------------ Inseln */
.isles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.isle { position: relative; cursor: pointer; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; padding: 0; text-align: left; color: #fff; font: inherit; transition: transform .15s, border-color .15s; }
.isle .art { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.isle .art img { width: 100%; height: 100%; object-fit: cover; }
.isle .art .gen { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; font-family: "Hydra", sans-serif; font-size: 1.15rem; text-transform: uppercase; }
.isle .txt { padding: 10px 12px 14px; }
.isle .t { font-weight: 650; font-size: .95rem; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.isle .c { font-size: .78rem; color: var(--mute); margin-top: 4px; display: flex; justify-content: space-between; gap: 8px; }
.isle:hover { border-color: rgba(201, 107, 255, .5); transform: translateY(-3px); }
.isle .art img { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.isle .art.has-img img { opacity: 1; }
.isle .art.has-img .gen { opacity: 0; transition: opacity .35s; }
.isle .mini-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.isle .mini-tags span { font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; background: rgba(201, 107, 255, .14); color: var(--bolt); font-weight: 700; }
.isle .tagline { font-size: .8rem; color: var(--text-2); margin-top: 6px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.isle .live { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; font-size: .76rem; color: var(--mute); min-height: 1em; }
.isle .live .lv { color: #fff; font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
.isle .live .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 8px #4ADE80; animation: livepulse 1.6s infinite; }
@keyframes livepulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font: inherit; font-size: .8rem; font-weight: 550; border: 1px solid var(--line-2); cursor: pointer; color: var(--text-2); background: var(--surface); padding: 6px 11px; border-radius: 99px; }
.tag:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.tag.on { background: var(--bolt); color: var(--bg); border-color: var(--bolt); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.stat { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; }
.stat b { display: block; font-family: "Hydra", sans-serif; font-size: 1.3rem; color: #fff; font-weight: 800; }
.stat span { font-size: .78rem; color: var(--mute); }
.codebox { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 7px 7px 7px 14px; font-family: "Hydra", sans-serif; font-size: 1.15rem; letter-spacing: .06em; }

/* ------------------------------------------------------------------ Spind / Account */
.profile { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.avatar-big { width: 80px; height: 80px; border-radius: 18px; background: linear-gradient(135deg, var(--violet), var(--blue)); display: grid; place-items: center; font-family: "Hydra", sans-serif; font-size: 2.3rem; }
.profile h2 { font-size: 1.7rem; }
.cat-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0 14px; }
.cat-tabs button { font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; border: 1px solid var(--line-2); color: var(--text-2); background: var(--surface); padding: 7px 12px; border-radius: 10px; }
.cat-tabs button b { color: var(--bolt); margin-left: 4px; }
.cat-tabs button.on { background: var(--bolt); color: var(--bg); border-color: var(--bolt); }
.cat-tabs button.on b { color: var(--bg); }
.history { display: flex; flex-direction: column; gap: 8px; }
.hist { display: grid; grid-template-columns: 150px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: #fff; text-decoration: none !important; }
.hist:hover { border-color: rgba(201, 107, 255, .45); }
.hist .d small { display: block; color: var(--mute); font-size: .75rem; }
.hist .n { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: var(--text-2); }
.hist .n b { color: #fff; }
.login-card { max-width: 560px; margin: 30px auto; text-align: center; padding: 34px 28px; }
.login-card .code { font-family: "Hydra", sans-serif; font-size: 2.4rem; letter-spacing: .14em; color: var(--bolt); margin: 14px 0; }
.steps { text-align: left; margin: 18px auto; max-width: 420px; padding-left: 22px; color: var(--text-2); }
.steps li { margin: 6px 0; }
.ranks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.rank { display: flex; gap: 12px; align-items: center; background: var(--surface-2); border-radius: 12px; padding: 10px 12px; }
.rank img { width: 54px; height: 54px; object-fit: contain; }
.rank b { display: block; font-size: 1rem; }
.rank span { font-size: .75rem; color: var(--mute); }
.bar { height: 7px; background: rgba(255, 255, 255, .1); margin-top: 6px; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--bolt); border-radius: 99px; }
.subnav { display: flex; gap: 4px; margin: -6px 0 22px; border-bottom: 1px solid var(--line-2); overflow-x: auto; }
.subnav a { padding: 10px 16px; color: var(--text-2); font-weight: 600; font-size: .9rem; text-decoration: none !important; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.subnav a:hover { color: #fff; }
.subnav a.on { color: var(--bolt); border-bottom-color: var(--bolt); }
.toolbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips .tag b { color: var(--bolt); font-weight: 700; }
.chips .tag.on b { color: var(--bg); }
.rar-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.rar-chip { --rc: var(--r-common); display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: var(--surface-2); border-radius: 99px; font-size: .8rem; }
.rar-chip i { width: 9px; height: 9px; background: var(--rc); display: inline-block; border-radius: 50%; }
.rar-chip b { color: #fff; }
.wish-hit { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: center; border-color: rgba(52, 211, 153, .5); }

/* ------------------------------------------------------------------ Item-Detail */
.modal.wide { width: min(1000px, 100%); }
.item-modal { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 26px; align-items: start; }
.im-art { aspect-ratio: 1 / 1.1; position: relative; }
.im-art img.pic { inset: 0; height: 100%; object-fit: contain; object-position: center bottom; }
.im-info .kv dd { text-align: left; }
.im-info .kv { grid-template-columns: 130px 1fr; }
.dates { display: flex; flex-wrap: wrap; gap: 5px; }
.dates span { font-size: .75rem; padding: 4px 8px; background: var(--surface-2); border-radius: 6px; color: var(--text-2); }
.dates span:first-child { background: var(--bolt); color: var(--bg); }

/* ------------------------------------------------------------------ Freunde */
.people { display: flex; flex-direction: column; gap: 8px; }
.person { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface-2); border-radius: 12px; }
.person .pic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--violet)); font-weight: 700; }
.person .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person .nm small { display: block; color: var(--mute); font-size: .75rem; }

/* ------------------------------------------------------------------ Forum */
.cats { display: flex; flex-direction: column; gap: 10px; }
.cat { display: grid; grid-template-columns: 48px 1fr 90px 220px; gap: 14px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); color: #fff; text-decoration: none !important; transition: border-color .15s; }
.cat:hover { border-color: rgba(201, 107, 255, .45); }
.cat img { width: 38px; height: 38px; }
.cat h4 { font-size: 1.02rem; }
.cat p { margin: 2px 0 0; color: var(--mute); font-size: .85rem; }
.cat .num { text-align: center; font-family: "Hydra", sans-serif; font-size: 1.2rem; }
.cat .num small { display: block; font-family: "Work Sans", sans-serif; font-size: .7rem; color: var(--mute); }
.cat .last { font-size: .8rem; color: var(--text-2); overflow: hidden; }
.threads { display: flex; flex-direction: column; gap: 8px; }
.thread { display: grid; grid-template-columns: 36px 1fr 80px 140px; gap: 12px; align-items: center; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: #fff; text-decoration: none !important; }
.thread:hover { border-color: rgba(201, 107, 255, .45); }
.thread img { width: 36px; height: 36px; border-radius: 8px; }
.thread .t small { display: block; color: var(--mute); font-size: .75rem; }
.posts { display: flex; flex-direction: column; gap: 12px; }
.post { display: grid; grid-template-columns: 150px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.post .au { padding: 16px; background: var(--bg-2); text-align: center; font-size: .9rem; }
.post .au img { width: 60px; height: 60px; margin: 0 auto 8px; border-radius: 14px; }
.post .bd { padding: 16px 18px; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; line-height: 1.6; }
.post .bd .when { display: flex; justify-content: space-between; color: var(--mute); font-size: .75rem; margin-bottom: 8px; white-space: normal; }
.post .bd .txt { white-space: pre-wrap; }
.post.deleted .bd { color: var(--mute); font-style: italic; }
.post .bd a, .msg p a { color: var(--bolt); text-decoration: underline; }
.like { font: inherit; display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line-2); cursor: pointer; padding: 5px 11px; color: var(--text-2); background: var(--surface-2); border-radius: 99px; }
.like svg { width: 15px; height: 15px; }
.like.on { color: var(--bad); border-color: rgba(255, 90, 115, .5); background: rgba(255, 90, 115, .1); }

/* ------------------------------------------------------------------ Stats */
.big-stats .stat b { font-size: 1.7rem; }
.tourney { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; background: var(--surface-2); border-radius: 12px; }
.tourney .t { font-size: 1rem; font-weight: 650; margin-bottom: 4px; }
table.board { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .9rem; }
.board th { text-align: left; color: var(--mute); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; padding: 7px 8px; border-bottom: 1px solid var(--line-2); }
.board td { padding: 8px; border-bottom: 1px solid var(--line); }
.board tr:nth-child(-n+3) td:first-child { color: var(--bolt); font-weight: 700; }
.board td:last-child, .board th:last-child { text-align: right; }
.panel .board td:first-child { white-space: nowrap; }
.weapons { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 12px; margin-top: 14px; }
.weapon { --rc: var(--r-common); display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--rc); border-radius: 12px; }
.weapon .wimg { background: radial-gradient(circle, color-mix(in srgb, var(--rc) 45%, transparent), transparent 70%); display: grid; place-items: center; }
.weapon img { max-height: 70px; object-fit: contain; }
.weapon h4 { font-size: .98rem; line-height: 1.15; }
.weapon .kv dd { text-align: right; white-space: nowrap; }
.tourneys { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.tourney-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.tc-img { position: relative; aspect-ratio: 16 / 7; background: linear-gradient(135deg, var(--violet), var(--blue)); overflow: hidden; }
.tc-img img { width: 100%; height: 100%; object-fit: cover; }
.tc-img .badge { position: absolute; left: 10px; top: 10px; }
.tc-body { padding: 12px 14px 16px; }
.tc-body h4 { font-size: 1.02rem; margin-bottom: 4px; }
.tc-body p { font-size: .85rem; color: var(--text-2); margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ------------------------------------------------------------------ Suche */
.kbd { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); font: inherit; font-size: .68rem; color: var(--mute); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 6px; pointer-events: none; }
.topsearch input:focus ~ .kbd, .topsearch input:not(:placeholder-shown) ~ .kbd { display: none; }
.topsearch input:focus, .topsearch input:not(:placeholder-shown) { padding-right: 12px; }
.search-drop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); min-width: 340px; max-height: min(70vh, 520px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px; box-shadow: 0 20px 50px rgba(0, 0, 10, .5); }
.sd-h { padding: 8px 10px 4px; font-size: .68rem; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.sd-row { display: flex; gap: 10px; align-items: center; width: 100%; padding: 7px 10px; border: 0; border-radius: 10px; background: none; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.sd-row img { width: 34px; height: 34px; object-fit: contain; background: var(--surface-2); border-radius: 8px; }
.sd-ico { width: 34px; height: 34px; display: grid; place-items: center; background: var(--surface-2); border-radius: 8px; color: var(--bolt); flex: none; }
.sd-t { display: flex; flex-direction: column; min-width: 0; font-size: .92rem; }
.sd-t small { color: var(--mute); font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-row.sel, .sd-row:hover { background: var(--surface-2); }

/* ------------------------------------------------------------------ Live-Chat */
.chat-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 42; display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 650; font-size: .88rem; cursor: pointer; color: #fff; padding: 11px 16px; border-radius: 99px;
  background: var(--blue); border: 0; box-shadow: 0 10px 28px rgba(20, 60, 200, .45);
}
.chat-fab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.chat-fab .dot { width: 8px; height: 8px; background: var(--good); border-radius: 50%; display: none; }
.chat-fab.green .dot { display: inline-block; }
.chat {
  position: fixed; right: 20px; bottom: 80px; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 140px)); z-index: 43;
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 10, .55);
}
.chat header { padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); font-weight: 700; }
.chat header button { font: inherit; border: 0; background: transparent; color: var(--text-2); cursor: pointer; font-size: 1.3rem; line-height: 1; }
.chat .msgs { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { display: grid; grid-template-columns: 30px 1fr; gap: 9px; font-size: .88rem; }
.msg img { width: 30px; height: 30px; border-radius: 8px; }
.msg b { color: var(--bolt); font-weight: 700; }
.msg time { color: var(--mute); font-size: .7rem; margin-left: 6px; }
.msg p { margin: 1px 0 0; overflow-wrap: anywhere; color: var(--text); }
.msg .del { font: inherit; font-size: .7rem; border: 0; background: none; color: var(--bad); cursor: pointer; margin-left: 6px; }
.chat form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat form input { flex: 1; }
/* Global Chat */
.chat header { gap: 10px; padding: 10px 12px 10px 14px; }
.chat-title { display: inline-flex; align-items: center; gap: 8px; font-family: Hydra, "Work Sans", sans-serif; letter-spacing: .02em; text-transform: uppercase; font-size: .82rem; white-space: nowrap; }
.chat-title svg { width: 18px; height: 18px; color: var(--bolt); }
.chat-rooms { display: inline-flex; gap: 4px; margin-left: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
.chat-rooms button { font: inherit; font-size: .74rem; font-weight: 700; border: 0; background: transparent; color: var(--text-2); padding: 5px 10px; border-radius: 99px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; transition: background .15s, color .15s, transform .15s; }
.chat-rooms button i { font-style: normal; font-size: .66rem; background: rgba(255,255,255,.08); border-radius: 99px; padding: 1px 6px; color: var(--mute); }
.chat-rooms button.active { background: var(--bolt); color: #1A0533; }
.chat-rooms button.active i { background: rgba(26,5,51,.22); color: #1A0533; }
.chat-rooms button:active { transform: scale(.96); }
.chat-rules { display: flex; align-items: center; gap: 8px; padding: 7px 14px; font-size: .72rem; color: var(--text-2); background: rgba(201, 107, 255, .06); border-bottom: 1px solid var(--line); }
.chat-rules svg { width: 15px; height: 15px; color: var(--bolt); flex: none; }
.chat-typing { height: 0; overflow: hidden; font-size: .72rem; color: var(--mute); padding: 0 14px; transition: height .2s, padding .2s; }
.chat-typing.on { height: 20px; padding: 2px 14px; }
.msg.admin img { border: 2px solid var(--bolt); background: #1A0533; }
.msg.admin b { color: #fff; }
.badge-admin { display: inline-block; margin-left: 6px; font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--bolt); color: #1A0533; padding: 1px 6px; border-radius: 6px; vertical-align: 1px; }
.msg.private { background: rgba(201, 107, 255, .07); border: 1px solid rgba(201, 107, 255, .25); border-radius: 12px; padding: 8px 10px; animation: pop-in .25s cubic-bezier(.2,.9,.25,1.2); }
.msg.private p { color: var(--text); }
.chat form .btn { padding: 0 12px; }
.chat form .btn svg { width: 18px; height: 18px; }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(3px); } 30%, 50%, 70% { transform: translateX(-5px); } 40%, 60% { transform: translateX(5px); } }
.shake { animation: shake .45s cubic-bezier(.36,.07,.19,.97) both; border-color: var(--bad) !important; }
@keyframes pop-in { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }


/* ------------------------------------------------------------------ Modal & Toast */
.modal-bg { position: fixed; inset: 0; z-index: 60; background: rgba(3, 6, 20, .72); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 18px; animation: fade .18s; }
.modal { width: min(820px, 100%); max-height: calc(100vh - 36px); overflow: auto; position: relative; animation: popIn .22s cubic-bezier(.2, .9, .25, 1.05); }
.modal .x { position: absolute; top: 10px; right: 12px; z-index: 2; font: inherit; font-size: 1.5rem; line-height: 1; border: 0; background: none; color: var(--text-2); cursor: pointer; }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.toasts { position: fixed; left: 50%; top: 78px; transform: translateX(-50%); z-index: 70; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { padding: 11px 18px; background: var(--surface-2); border: 1px solid var(--line-2); border-left: 4px solid var(--bolt); border-radius: 12px; color: #fff; animation: drop .25s; box-shadow: var(--shadow); }
.toast.bad { border-left-color: var(--bad); }
.toast.good { border-left-color: var(--good); }
@keyframes fade { from { opacity: 0; } }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }
.spinner { width: 40px; height: 40px; margin: 30px auto; border: 4px solid rgba(255, 255, 255, .12); border-top-color: var(--bolt); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-bar { height: 5px; background: rgba(255, 255, 255, .1); overflow: hidden; margin: 16px 0; border-radius: 99px; }
.loading-bar i { display: block; height: 100%; width: 40%; background: var(--bolt); border-radius: 99px; animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ------------------------------------------------------------------ Fusszeile */
footer.foot { padding: 22px 28px 26px; border-top: 1px solid var(--line); color: var(--mute); font-size: .82rem; }
.foot-in { max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot-brand { font-family: "Hydra", sans-serif; color: var(--text-2); letter-spacing: .06em; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot nav a { color: var(--text-2); }
.foot-note { max-width: 1440px; margin: 10px auto 0; font-size: .74rem; color: #66729C; }

/* ------------------------------------------------------------------ Untere Leiste am Handy */
.bottomnav { display: none; }

/* ------------------------------------------------------------------ Live-Karte */
.map-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.map-head h1 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); text-transform: uppercase; }
.map-head p { margin: 6px 0 0; color: var(--text-2); }
.map-app { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; height: calc(100vh - var(--top-h) - 150px); min-height: 560px; }
.map-stage { position: relative; z-index: 0; isolation: isolate; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); background: #0B2A63; }
.map-stage .lmap { position: absolute; inset: 0; background: #0B2A63; }
.map-stage .map-hint { position: absolute; left: 12px; bottom: 12px; z-index: 500; max-width: calc(100% - 24px); padding: 8px 12px; border-radius: 10px; font-size: .82rem; background: rgba(8, 13, 36, .86); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.map-stage .map-hint b { color: var(--bolt); }
.map-stage .map-ver { position: absolute; left: 12px; top: 12px; z-index: 500; display: flex; gap: 6px; flex-wrap: wrap; }
.map-ver .badge { flex: none; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.map-ver .badge.soft { background: rgba(8, 13, 36, .88); color: #fff; }
.map-side { display: flex; flex-direction: column; min-height: 0; padding: 0; overflow: hidden; }
.map-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.map-tabs button { font: inherit; font-size: .82rem; font-weight: 650; border: 0; border-radius: 9px; padding: 9px 4px; cursor: pointer; color: var(--text-2); background: transparent; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.map-tabs button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.map-tabs button:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.map-tabs button.on { color: var(--bg); background: var(--bolt); }
.map-pane { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 16px; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.map-pane h4 { font-family: "Work Sans", sans-serif; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); margin: 0 0 8px; }
.map-pane .note { font-size: .82rem; color: var(--text-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; line-height: 1.45; }
.map-pane .note b { color: #fff; }
.map-pane .note.warn { border-color: rgba(255, 181, 71, .35); }
.lay { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: pointer; user-select: none; }
.lay:hover { background: rgba(255, 255, 255, .04); }
.lay .sw { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }
.lay .lbl { flex: 1; font-size: .9rem; font-weight: 550; }
.lay .cnt { font-size: .78rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.lay input { margin: 0; }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; color: var(--text-2); }
.fld .fv { display: flex; justify-content: space-between; }
.fld .fv b { color: #fff; font-variant-numeric: tabular-nums; }
.fld select, .fld input[type="text"], .fld input[type="search"] { width: 100%; }
.rank-list { display: flex; flex-direction: column; gap: 4px; }
.rank-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); cursor: pointer; font: inherit; color: var(--text); text-align: left; width: 100%; }
.rank-row:hover { border-color: rgba(201, 107, 255, .45); }
.rank-row .n { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: .8rem; background: var(--surface-3); }
.rank-row .t { font-weight: 600; font-size: .9rem; line-height: 1.2; }
.rank-row .t small { display: block; font-weight: 450; color: var(--mute); font-size: .76rem; }
.rank-row .v { font-size: .8rem; color: var(--text-2); text-align: right; font-variant-numeric: tabular-nums; }
.rank-row.hot .n { background: var(--bad); color: #fff; }
.rank-row.calm .n { background: var(--good); color: #052b1e; }
.mode-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mode-btn { font: inherit; text-align: left; cursor: pointer; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); }
.mode-btn b { display: block; font-size: .9rem; font-weight: 650; }
.mode-btn small { color: var(--mute); font-size: .74rem; }
.mode-btn:hover { border-color: rgba(255, 255, 255, .3); }
.mode-btn.on { border-color: var(--bolt); background: rgba(201, 107, 255, .1); }
.ver-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ver-list button { font: inherit; font-size: .8rem; cursor: pointer; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text-2); }
.ver-list button.on, .ver-list button:hover { border-color: var(--bolt); color: #fff; }
.ver-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.ver-card { font: inherit; cursor: pointer; padding: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text-2); text-align: left; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.ver-card img, .ver-card .no-img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: linear-gradient(135deg, #2A1550, #160C2E); }
.ver-card .vc-t { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding: 6px 8px; font-size: .74rem; }
.ver-card .vc-t b { color: #fff; }
.ver-card .vc-t small { color: var(--mute); }
.ver-card.on, .ver-card:hover { border-color: var(--bolt); transform: translateY(-2px); }
.ver-card.on { box-shadow: 0 0 0 2px rgba(201, 107, 255, .35); }
.stat-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat-mini div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; }
.stat-mini b { display: block; font-family: "Hydra", sans-serif; font-size: 1.15rem; color: #fff; }
.stat-mini span { font-size: .72rem; color: var(--mute); }
.drop-zone { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 14px; border: 1.5px dashed var(--line-2); border-radius: 12px; font-size: .84rem; color: var(--text-2); cursor: pointer; }
.drop-zone:hover, .drop-zone.over { border-color: var(--bolt); color: #fff; }
.drop-zone input { display: none; }
/* Leaflet-Anpassungen */
.leaflet-container { font: inherit; background: #0B2A63; outline: none; }
.leaflet-control-zoom a { background: var(--surface) !important; color: #fff !important; border-color: var(--line-2) !important; }
.leaflet-control-zoom a:hover { background: var(--surface-2) !important; }
.leaflet-bar { border: 1px solid var(--line-2) !important; border-radius: 10px !important; overflow: hidden; box-shadow: 0 6px 16px rgba(0, 0, 0, .35) !important; }
.leaflet-tooltip.hp-tip { background: rgba(8, 13, 36, .92); color: #fff; border: 1px solid var(--line-2); border-radius: 8px; font-size: .78rem; padding: 4px 8px; box-shadow: none; }
.leaflet-tooltip.hp-tip::before { display: none; }
.poi-lbl { background: none; border: 0; }
.poi-lbl span { display: inline-block; transform: translate(-50%, -50%); white-space: nowrap; font-family: "Hydra", sans-serif; font-size: 12px; letter-spacing: .02em; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 0 #000, 0 0 4px rgba(0, 0, 0, .9), 0 0 10px rgba(0, 0, 40, .7); pointer-events: none; }
.poi-lbl.minor span { font-family: "Work Sans", sans-serif; font-weight: 600; font-size: 10.5px; color: #DCE6FF; text-transform: none; }
.lmap.far .poi-lbl.minor { display: none; }
.grid-lbl span { font-family: "Hydra", sans-serif; font-size: 13px; color: rgba(255, 255, 255, .55); transform: translate(-50%, -50%); display: inline-block; text-shadow: 0 0 4px #000; }
.route-num { background: none; border: 0; }
.route-num span { display: grid; place-items: center; width: 20px; height: 20px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--bolt); color: var(--bg); font-size: 11px; font-weight: 800; box-shadow: 0 0 0 2px rgba(0, 0, 0, .5); }
.bus-ico span { display: grid; place-items: center; width: 26px; height: 26px; transform: translate(-50%, -50%); border-radius: 8px; background: #3D7BFF; color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 0 0 2px #fff; }
.jump-ico span { display: block; width: 14px; height: 14px; transform: translate(-50%, -50%) rotate(45deg); background: var(--bolt); box-shadow: 0 0 0 2px #000; }

/* ------------------------------------------------------------------ Responsiv */
@media (max-width: 1280px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-app { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 1100px) {
  .split { grid-template-columns: 1fr; }
  .dash-grid, .dash-two { grid-template-columns: 1fr; }
  .cat { grid-template-columns: 44px 1fr 70px; }
  .cat .last { display: none; }
  .map-app { grid-template-columns: 1fr; height: auto; }
  .map-stage { height: 64vh; min-height: 420px; }
  .map-side { max-height: none; }
}
@media (max-width: 1023px) {
  .side { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-102%); transition: transform .22s ease; box-shadow: 20px 0 40px rgba(0, 0, 0, .45); width: min(300px, 86vw); }
  body.nav-open .side { transform: none; }
  .side .side-close { display: inline-grid; }
  .menu-btn, .logo-mini { display: inline-grid !important; }
  .logo-mini { display: flex !important; }
  .topbar { padding: 0 16px; gap: 10px; }
  main { padding: 20px 18px 70px; }
}
@media (max-width: 760px) {
  :root { --top-h: 58px; }
  .bottomnav {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 38;
    background: rgba(10, 15, 34, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line-2); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .bottomnav a, .bottomnav button { font: inherit; font-size: .68rem; font-weight: 600; color: var(--text-2); background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; text-decoration: none !important; cursor: pointer; }
  .bottomnav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .bottomnav a.active { color: var(--bolt); }
  body { padding-bottom: 66px; }
  .chat-fab { bottom: 78px; right: 14px; padding: 11px; }
  .chat-fab .lbl, #onlineCount { display: none; }
  .chat { bottom: 130px; right: 12px; }
  .topsearch { flex: 1 1 0; min-width: 0; }
  .kbd { display: none; }
  .chip-user .nm, .who .chip-epic { display: none; }
  .chip-user { padding: 4px 9px 4px 4px; }
  .logo-mini { display: none !important; }
  main { padding: 16px 14px 60px; }
  .kpis { gap: 10px; }
  .kpi { padding: 12px; gap: 10px; }
  .kpi .ic { width: 36px; height: 36px; }
  .kpi b { font-size: 1.15rem; }
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .profile { grid-template-columns: auto 1fr; }
  .profile > :last-child { grid-column: 1 / -1; }
  .hist { grid-template-columns: 1fr auto; }
  .hist .n { grid-column: 1 / -1; grid-row: 2; }
  .post { grid-template-columns: 1fr; }
  .post .au { display: flex; gap: 10px; align-items: center; text-align: left; padding: 10px 14px; }
  .post .au img { width: 34px; height: 34px; margin: 0; }
  .thread { grid-template-columns: 34px 1fr 60px; }
  .thread .lp { display: none; }
  .items { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
  .item.w2 { grid-column: span 1; aspect-ratio: 1/1.22; }
  .item-modal { grid-template-columns: 1fr; }
  .im-art { max-width: 300px; }
  .wish-hit { grid-template-columns: 1fr; }
  .tourney { grid-template-columns: 1fr; }
  .search-drop { min-width: 0; position: fixed; left: 10px; right: 10px; top: calc(var(--top-h) + 6px); }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips .tag { flex: none; }
  .toolbar > .row { width: 100%; }
  .toolbar > .row > * { flex: 1 1 140px; }
  .quick { grid-template-columns: 1fr 1fr; }
  .spot-card { min-height: 360px; }
  .news-row { grid-template-columns: 92px 1fr; }
  .news-row img { width: 92px; }
  .map-stage { height: 58vh; min-height: 360px; }
  .map-tabs button { font-size: .74rem; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi .ic { display: none; }
}
/* ------------------------------------------------------------------ Sound-Schalter & Button-Effekte */
.icon-btn.snd svg.off, .icon-btn.snd.off svg.on { display: none; }
.icon-btn.snd.off svg.off { display: block; }
.icon-btn.snd.off { color: var(--mute); }
.icon-btn.sm { width: 32px; height: 32px; border-radius: 8px; }
.icon-btn.sm svg { width: 16px; height: 16px; }
.icon-btn.on { background: var(--bolt); color: var(--bg); border-color: var(--bolt); }
.icon-btn.danger:hover { background: rgba(255, 90, 115, .18); color: var(--bad); border-color: rgba(255, 90, 115, .5); }
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%), rgba(255, 255, 255, .45), transparent 60%); opacity: 0; transition: opacity .35s; }
.btn:active::after { opacity: 1; transition: none; }
.btn:not(.ghost):hover { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14), 0 8px 22px rgba(255, 214, 0, .22); }
.btn.blue:hover, .btn.discord:hover { box-shadow: 0 8px 22px rgba(61, 123, 255, .3); }

/* ------------------------------------------------------------------ Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(3, 6, 20, .9); backdrop-filter: blur(6px); display: flex; flex-direction: column; animation: fade .16s; }
.lightbox.out { opacity: 0; transition: opacity .16s; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; color: var(--text-2); }
.lb-tools { display: flex; gap: 8px; }
.lb-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: #fff; cursor: pointer; }
.lb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-btn:hover { background: var(--surface-2); }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 70px 12px; position: relative; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-stage img.in { animation: lbIn .25s cubic-bezier(.2, .9, .25, 1.1); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lb-btn.nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-btn.nav.l { left: 14px; } .lb-btn.nav.r { right: 14px; }
.lb-cap { padding: 8px 16px 20px; text-align: center; font-size: .9rem; }
.lb-cap b { color: #fff; }

/* ------------------------------------------------------------------ Hydra-Chat */
.hc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.hc { display: flex; flex-direction: column; height: calc(100vh - var(--top-h) - 70px); min-height: 560px; padding: 0; overflow: hidden; }
.hc-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.hc-head b { font-family: "Hydra", sans-serif; font-size: 1.1rem; }
.hc-head small { display: block; color: var(--good); font-size: .75rem; }
.hc-ava { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--bg); background: linear-gradient(160deg, #FFF59A, var(--bolt) 45%, #F2C200); box-shadow: 0 6px 18px rgba(255, 214, 0, .25); }
.hc-ava svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hc-ava.sm { width: 32px; height: 32px; border-radius: 9px; }
.hc-ava.sm svg { width: 18px; height: 18px; }
.hc-msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent;
  background: radial-gradient(600px 300px at 80% 0%, rgba(61, 123, 255, .08), transparent 60%); }
.hc-row { display: flex; gap: 10px; align-items: flex-end; max-width: 86%; }
.hc-row.in { animation: msgIn .25s cubic-bezier(.2, .9, .25, 1.1); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.hc-row.me { align-self: flex-end; flex-direction: row-reverse; }
.hc-col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hc-row.me .hc-col { align-items: flex-end; }
.hc-bubble { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 11px 14px; font-size: .94rem; line-height: 1.5; max-width: 100%; }
.hc-row.me .hc-bubble { background: linear-gradient(135deg, var(--blue), var(--blue-2)); border-color: transparent; border-radius: 16px 16px 4px 16px; color: #fff; }
.hc-row.k-error .hc-bubble { border-color: rgba(255, 90, 115, .45); }
.hc-row.k-result .hc-bubble { border-color: rgba(201, 107, 255, .4); box-shadow: 0 0 0 3px rgba(201, 107, 255, .06); }
.hc-text code { background: rgba(255, 255, 255, .1); padding: 1px 6px; border-radius: 5px; font-family: inherit; font-weight: 600; }
.hc-time { font-size: .68rem; color: var(--mute); padding: 0 4px; }
.hc-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.hc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 10px; }
.hc-card { display: flex; flex-direction: column; gap: 2px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: #fff; text-decoration: none !important; font-size: .78rem; }
.hc-card img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 6px; background: var(--surface-3); }
.hc-card b { font-size: .8rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-card span { color: var(--bolt); }
.msg-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; }
.msg-img { position: relative; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; padding: 0; background: var(--bg-2); cursor: zoom-in; aspect-ratio: 4/3; transition: transform .15s, border-color .15s; }
.msg-img:hover { transform: translateY(-2px); border-color: var(--bolt); }
.msg-img img { width: 100%; height: 100%; object-fit: cover; }
.msg-img span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 6px; font-size: .72rem; font-weight: 600; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(5, 8, 30, .9)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-typing { display: flex; gap: 5px; padding: 0 18px 10px; }
.hc-typing span { width: 8px; height: 8px; border-radius: 50%; background: var(--bolt); animation: blink 1.2s infinite; }
.hc-typing span:nth-child(2) { animation-delay: .2s; } .hc-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.hc-foot { border-top: 1px solid var(--line); padding: 10px 14px 14px; background: var(--bg-2); position: relative; }
.hc-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.hc-chips::-webkit-scrollbar { display: none; }
.hc-chips .tag { flex: none; }
.hc-form { display: flex; gap: 8px; }
.hc-input { flex: 1; height: 46px; border-radius: 12px; font-size: 1rem; }
.hc-send { width: 46px; padding: 0; border-radius: 12px; }
.hc-send svg { width: 20px; height: 20px; }
.hc-sug { position: absolute; left: 14px; bottom: calc(100% + 6px); display: flex; gap: 4px; padding: 6px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); }
.hc-sug button { font: inherit; font-weight: 600; font-size: .85rem; border: 0; border-radius: 8px; padding: 6px 10px; background: var(--surface-2); color: #fff; cursor: pointer; }
.hc-sug button:first-child { background: var(--bolt); color: var(--bg); }
.hc-side { display: flex; flex-direction: column; gap: 16px; }
.hc-help { display: flex; flex-direction: column; gap: 4px; }
.hc-help-row { display: grid; grid-template-columns: 130px 1fr; gap: 10px; align-items: center; text-align: left; font: inherit; font-size: .84rem; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text-2); cursor: pointer; }
.hc-help-row:hover { border-color: rgba(201, 107, 255, .45); color: #fff; }
.hc-help-row code { font-family: inherit; font-weight: 700; color: var(--bolt); }
.hc-acc { display: flex; flex-direction: column; gap: 8px; font-size: .88rem; }
.hc-acc-row { display: flex; gap: 10px; align-items: center; }
.hc-acc-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); }
.hc-acc-row .dot.on { background: var(--good); box-shadow: 0 0 0 3px rgba(52, 211, 153, .18); }
.hc-acc-row b { width: 64px; }
.hc-acc-row span, .hc-acc-row a { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------------------------------------------ Checker (Roblox / Valorant) */
.chk-bar { padding: 14px 16px; }
.chk-search { display: flex; gap: 10px; }
.chk-field { position: relative; flex: 1; display: flex; align-items: center; }
.chk-field svg { position: absolute; left: 13px; width: 18px; height: 18px; fill: none; stroke: var(--mute); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.chk-field input { width: 100%; height: 46px; padding-left: 40px; border-radius: 12px; font-size: 1rem; }
.chk-feats .panel h3 { margin-bottom: 6px; }
.chk-profile { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; }
.chk-ava { aspect-ratio: 1; border-radius: 18px; background: radial-gradient(circle at 50% 30%, #2A3A7A, #141C3F); overflow: hidden; border: 1px solid var(--line-2); }
.chk-ava img { width: 100%; height: 100%; object-fit: cover; }
.chk-info h2 { font-size: 1.8rem; }
.chk-desc { white-space: pre-wrap; color: var(--text-2); font-size: .9rem; max-height: 90px; overflow: auto; }
.chk-list { display: flex; flex-direction: column; gap: 6px; }
.chk-li { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; padding: 7px 10px; background: var(--bg-2); border-radius: 8px; }
.chk-li b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rbx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.rbx-item { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; color: #fff; text-decoration: none !important; transition: transform .15s, border-color .15s; }
.rbx-item:hover { transform: translateY(-3px); border-color: rgba(201, 107, 255, .5); }
.rbx-item.rare { border-color: rgba(255, 95, 208, .5); }
.rbx-item img, .rbx-noimg { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 8px; background: var(--bg-2); }
.rbx-item b { font-size: .84rem; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rbx-val { font-size: .78rem; color: var(--bolt); font-weight: 600; }
.rbx-serial { position: absolute; top: 8px; right: 8px; font-style: normal; font-size: .68rem; color: var(--mute); background: rgba(5, 8, 30, .6); padding: 2px 6px; border-radius: 6px; }
.rbx-rare, .rbx-proj { position: absolute; top: 8px; left: 8px; font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .06em; padding: 2px 6px; border-radius: 6px; background: #FF5FD0; color: #fff; }
.rbx-proj { background: var(--warn); color: var(--bg); top: 30px; }
.valo-skins { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.valo-skin { --tc: #8C9AA8; position: relative; text-align: left; font: inherit; color: #fff; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 14px;
  border: 1px solid var(--line); background: linear-gradient(160deg, color-mix(in srgb, var(--tc) 22%, var(--surface)) 0%, var(--surface) 60%); transition: transform .15s, border-color .15s; }
.valo-skin::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 14px 14px 0 0; background: var(--tc); }
.valo-skin:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tc) 60%, #fff 40%); }
.vs-tier { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; }
.vs-img { height: 90px; display: grid; place-items: center; }
.vs-img img { max-width: 100%; max-height: 90px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .45)); }
.valo-skin b { font-size: .9rem; line-height: 1.2; }
.valo-skin-modal { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.vsm-img { width: 100%; max-height: 260px; object-fit: contain; }
.vsm-video video { width: 100%; border-radius: 12px; margin-top: 10px; }
.vsm-chromas { display: flex; gap: 8px; flex-wrap: wrap; }
.vsm-chroma { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); padding: 0; overflow: hidden; cursor: pointer; color: #fff; font: inherit; font-size: .6rem; }
.vsm-chroma img { width: 100%; height: 100%; object-fit: cover; }
.vsm-chroma:hover { border-color: var(--bolt); }
.vsm-levels { display: flex; gap: 6px; flex-wrap: wrap; }
.valo-bundles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.valo-bundle { position: relative; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); aspect-ratio: 16/8; }
.valo-bundle.big { aspect-ratio: 16/7; }
.valo-bundle img { width: 100%; height: 100%; object-fit: cover; }
.vb-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(5, 8, 30, .92)); display: flex; flex-direction: column; }
.vb-txt b { font-family: "Hydra", sans-serif; font-size: 1.05rem; text-transform: uppercase; }
.vb-txt .vp { color: var(--bolt); font-weight: 700; font-size: .85rem; }
.valo-agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.valo-agent { --ac: #3d7bff; position: relative; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; padding: 0; border: 1px solid var(--line); cursor: pointer; font: inherit; color: #fff; text-align: left;
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--ac) 55%, var(--surface)) 0%, var(--surface) 70%); transition: transform .15s; }
.valo-agent:hover { transform: translateY(-3px); }
.valo-agent img { position: absolute; inset: -10% -30% 0; width: 160%; height: 110%; object-fit: cover; object-position: top; }
.va-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 10px; background: linear-gradient(transparent, rgba(5, 8, 30, .95)); display: flex; flex-direction: column; }
.va-txt b { font-family: "Hydra", sans-serif; font-size: 1.1rem; text-transform: uppercase; }
.va-txt span { font-size: .76rem; color: var(--text-2); }
.valo-agent-modal { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: start; }
.vam-img { width: 100%; }
.vam-abil { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.vam-ab { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: start; font-size: .86rem; background: var(--bg-2); border-radius: 10px; padding: 8px; }
.vam-ab img { width: 44px; height: 44px; }
.vam-ab b { display: block; }
.vam-ab span { color: var(--text-2); }
.valo-maps { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.valo-map { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.valo-map img { width: 100%; height: 100%; object-fit: cover; }
.vm-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(5, 8, 30, .92)); display: flex; flex-direction: column; }
.vm-txt b { font-family: "Hydra", sans-serif; font-size: 1.1rem; text-transform: uppercase; }
.valo-player { position: relative; overflow: hidden; }
.valo-player::before { content: ""; position: absolute; inset: 0; background: var(--bg, none) center/cover; opacity: .18; pointer-events: none; }
.valo-player > * { position: relative; }
.vp-head { display: flex; gap: 14px; align-items: center; }
.vp-card { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.vp-ranks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.vp-rank { display: flex; gap: 12px; align-items: center; background: var(--surface-2); border-radius: 14px; padding: 12px 14px; }
.vp-rank img { width: 64px; height: 64px; object-fit: contain; }
.vp-rank small { font-size: .68rem; color: var(--mute); letter-spacing: .1em; }
.vp-rank b { display: block; font-family: "Hydra", sans-serif; font-size: 1.3rem; }
.vp-rank span { font-size: .85rem; color: var(--text-2); }
.board tr.won td:first-child { border-left: 3px solid var(--good); } .board tr.lost td:first-child { border-left: 3px solid var(--bad); }

/* ------------------------------------------------------------------ Galerie */
.g-tabs button b { color: var(--bolt); }
.g-tabs button.on b { color: var(--bg); }
.g-grid { columns: 3 280px; column-gap: 14px; }
.g-card { break-inside: avoid; margin-bottom: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .15s, border-color .15s; }
.g-card:hover { transform: translateY(-3px); border-color: rgba(201, 107, 255, .4); }
.g-img { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--bg-2); cursor: zoom-in; }
.g-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-game { position: absolute; top: 10px; left: 10px; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--bolt); color: var(--bg); }
.g-roblox .g-game { background: #E63946; color: #fff; } .g-valorant .g-game { background: #FF4655; color: #fff; }
.g-txt { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; }
.g-txt b { font-size: .92rem; line-height: 1.25; }
.g-acts { display: flex; gap: 6px; margin-top: 8px; }
.g-timeline { display: flex; flex-direction: column; gap: 14px; }
.g-day { font-size: 1rem; color: var(--text-2); padding: 14px 0 0; border-top: 1px solid var(--line); }
.g-day:first-child { border: 0; padding-top: 0; }
.g-timeline .g-card { display: grid; grid-template-columns: 260px 1fr; }
.g-timeline .g-img { aspect-ratio: auto !important; height: 100%; min-height: 150px; }
@media (max-width: 1100px) { .hc-wrap { grid-template-columns: 1fr; } .hc-side { display: none; } .chk-profile { grid-template-columns: 160px 1fr; } .valo-skin-modal, .valo-agent-modal { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .hc { height: calc(100vh - var(--top-h) - 150px); min-height: 460px; }
  .hc-row { max-width: 94%; }
  .chk-profile { grid-template-columns: 1fr; }
  .chk-ava { max-width: 180px; }
  .chk-search { flex-wrap: wrap; } .chk-search .btn { width: 100%; }
  .g-grid { columns: 2 150px; }
  .g-timeline .g-card { grid-template-columns: 1fr; }
  .vp-ranks { grid-template-columns: 1fr; }
  .topbar .icon-btn.snd { display: none; }
}

/* ------------------------------------------------------------------ Fortnite-Checker */
.fc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.fc-user { display: flex; gap: 14px; align-items: center; }
.fc-user h2 { font-size: 1.6rem; }
.fc-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.fc-status:not(:empty) { margin-top: 14px; }
.fc-result { margin-top: 14px; border-color: rgba(201, 107, 255, .35); }
.fc-result.in { animation: popIn .35s cubic-bezier(.2, .9, .25, 1.05); }
.fc-imgs { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin-top: 14px; }
.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.style-card { position: relative; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); background: var(--surface-2); cursor: pointer; font: inherit; color: #fff; text-align: left; transition: transform .15s, border-color .15s; }
.style-card img, .style-noimg { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; display: grid; place-items: center; font-family: "Hydra", sans-serif; font-size: 2rem; background: linear-gradient(135deg, var(--violet), var(--blue)); }
.style-card b { display: block; padding: 8px 10px; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.style-card:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .35); }
.style-card.on { border-color: var(--bolt); box-shadow: 0 0 0 3px rgba(201, 107, 255, .18); }
.style-card.on::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--bolt); color: var(--bg); font-weight: 800; display: grid; place-items: center; font-size: .8rem; }

/* ------------------------------------------------------------------ Intro (Hydra-Bus + Tour) */
.icon-btn.lang { width: auto; padding: 0 12px; font-family: "Hydra", sans-serif; font-size: .85rem; letter-spacing: .06em; color: var(--bolt); }
body.intro-open { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 90; overflow: hidden; background: radial-gradient(120% 80% at 50% 110%, #1B3FBF 0%, #0E1F6E 35%, #070B22 75%); animation: fade .4s; }
.intro.out { opacity: 0; transition: opacity .35s; }
.intro-sky { position: absolute; inset: 0; }
.intro-sky .star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .7; animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: .95; } }
.intro-sky .cloud { position: absolute; left: -30%; width: 26vw; max-width: 420px; height: 70px; border-radius: 60px; background: rgba(255, 255, 255, .09); filter: blur(2px); animation: cloud 16s linear infinite; }
.intro-sky .cloud::before { content: ""; position: absolute; left: 20%; top: -40%; width: 45%; height: 110%; border-radius: 50%; background: inherit; }
.intro-sky .cloud.c1 { width: 18vw; height: 48px; opacity: .7; animation-duration: 22s; } .intro-sky .cloud.c2 { width: 32vw; height: 86px; animation-duration: 13s; }
@keyframes cloud { from { transform: translateX(0); } to { transform: translateX(170vw); } }
.intro-bus { position: absolute; top: 24%; left: -40vw; width: min(34vw, 420px); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); animation: busfly 4.2s cubic-bezier(.25, .7, .3, 1) forwards; }
.hbus { width: 100%; height: auto; animation: bob 1.6s ease-in-out infinite; }
.hbus3d { width: 100%; aspect-ratio: var(--bus-ar, 720 / 302); overflow: hidden; animation: bob 1.6s ease-in-out infinite; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5)); }
.hbus3d img { display: block; width: 1200%; max-width: none; height: 100%; animation: busframes 1.1s steps(12, jump-none) infinite; }
@keyframes busframes { to { transform: translateX(-91.6667%); } }
.hb-flames { transform-origin: 90px 135px; animation: flame .12s linear infinite alternate; }
@keyframes flame { from { transform: scaleX(.85); opacity: .85; } to { transform: scaleX(1.15); opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes busfly { 0% { left: -40vw; top: 34%; transform: scale(.7); } 45% { left: 28vw; top: 22%; transform: scale(1); } 100% { left: 115vw; top: 8%; transform: scale(.75); } }
.intro-trail { position: absolute; left: 0; right: 0; top: 0; bottom: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(201, 107, 255, .18) 50%, transparent); height: 10px; top: 36%; transform: translateX(-100%); animation: trail 4.2s cubic-bezier(.25, .7, .3, 1) forwards; filter: blur(6px); }
@keyframes trail { 45% { transform: translateX(-10%); top: 30%; } 100% { transform: translateX(120%); top: 16%; opacity: 0; } }
.intro-title { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%) scale(.92); text-align: center; opacity: 0; transition: opacity .7s, transform .7s cubic-bezier(.2, .9, .25, 1.1); padding: 0 20px; }
.intro-title.in { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.intro-kicker { display: block; font-size: .95rem; letter-spacing: .3em; text-transform: uppercase; color: var(--bolt); font-weight: 700; margin-bottom: 8px; }
.intro-title h1 { font-size: clamp(2.6rem, 9vw, 6.5rem); line-height: .95; letter-spacing: .01em; color: #fff; text-shadow: 0 0 40px rgba(201, 107, 255, .35), 0 10px 40px rgba(0, 0, 0, .6); }
.intro-title p { color: #DCE6FF; font-size: clamp(.95rem, 2vw, 1.2rem); margin: 14px 0 0; }
.intro-skip { position: absolute; right: 20px; bottom: 20px; }
.intro-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -46%) scale(.96); width: min(880px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); opacity: 0; transition: opacity .4s, transform .5s cubic-bezier(.2, .9, .25, 1.1); overflow: hidden; }
.intro-card.in { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.intro.still .intro-bus, .intro.still .intro-trail { display: none; }
.intro-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 12px; }
.intro-card-head h2 { font-size: 1.5rem; } .intro-card-head p { margin: 4px 0 0; color: var(--text-2); font-size: .9rem; }
.intro-card-head .icon-btn { font-size: 1.4rem; line-height: 1; }
.intro-stage { position: relative; aspect-ratio: 16/9; background: #000; }
.intro-stage video { width: 100%; height: 100%; display: block; object-fit: contain; }
.intro-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 86px; height: 86px; border-radius: 50%; border: 0; cursor: pointer; background: var(--bolt); box-shadow: 0 0 0 10px rgba(201, 107, 255, .18), 0 20px 50px rgba(0, 0, 0, .5); display: grid; place-items: center; transition: transform .15s; }
.intro-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.intro-play span { width: 0; height: 0; border-left: 28px solid var(--bg); border-top: 17px solid transparent; border-bottom: 17px solid transparent; margin-left: 7px; }
.intro-stage.playing .intro-play, .intro-stage.playing .intro-dur { display: none; }
.intro-dur { position: absolute; right: 12px; bottom: 12px; font-size: .78rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: #fff; }
.intro-noverr { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; color: var(--text-2); }
.intro-noverr b { color: #fff; }
.intro-card-foot { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px 20px 18px; }
.intro-card-foot .muted { margin-left: auto; }
@media (max-width: 760px) {
  .intro-bus { width: 78vw; top: 28%; }
  .intro-card-foot .muted { display: none; }
  .intro-card-foot .btn { flex: 1; }
  .topbar .icon-btn.lang { display: inline-grid; padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.mod-row { display: grid; grid-template-columns: auto auto 1fr auto; gap: 8px 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: .86rem; }
.mod-row p { grid-column: 1 / -1; margin: 0; color: var(--text-2); overflow-wrap: anywhere; }
.tag.warn { background: rgba(255, 170, 40, .18); color: #FFC56B; }
.tag.bad { background: rgba(255, 80, 80, .18); color: #FF8A8A; }

.lay .lay-ico { width: 26px; height: 26px; object-fit: contain; flex: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 20, .5)); }

/* ---- Logo */
.logo .logo-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 0 10px rgba(201, 107, 255, .55)); transition: transform .3s; }
.logo:hover .logo-img { transform: rotate(-8deg) scale(1.06); }
.logo-mini .logo-img { width: 32px; height: 32px; }
/* ---- 3D-Hero */
.dash-hero { width: 420px; height: 240px; right: 0; top: -70px; }
html, body { overflow-x: clip; }
.dash-hero .hero3d-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity .6s; }
.dash-hero.ready .hero3d-canvas { opacity: 1; }
.dash-hero.ready .hero-fallback { opacity: 0; }
.dash-hero .hero-fallback { position: absolute; right: 30px; top: 40px; width: 300px; transition: opacity .6s; }
.dash-hero.ready, .dash-hero.ready .hero3d-canvas { pointer-events: auto; cursor: grab; }
.dash-hero.ready:active { cursor: grabbing; }
/* ---- Intro 3D-Flug */
.intro-bus3d { position: absolute; inset: 0; }
.intro-bus3d .hero3d-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.intro-logo { width: 150px; height: 150px; margin: 0 auto 10px; display: block; filter: drop-shadow(0 0 30px rgba(201, 107, 255, .6)); animation: logo-pop .8s cubic-bezier(.2, .9, .25, 1.3) both; }
@keyframes logo-pop { from { transform: scale(.4) rotate(-20deg); opacity: 0; } }
/* ---- Sturm-Hintergrund */
#storm { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
/* ---- 3D-Tilt */
.tilt-on { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(-3px) !important; transition: transform .08s linear, box-shadow .2s !important; position: relative; }
.tilt-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .16), transparent 55%); transition: opacity .2s; }
.tilt-on > .tilt-glare { opacity: 1; }
.leaflet-obj-canvas { pointer-events: none; }
.bus-ico img { position: absolute; width: 64px; height: auto; transform: translate(-50%, -78%); filter: drop-shadow(0 6px 8px rgba(0, 0, 20, .6)); pointer-events: none; }
.bus-ico span { background: var(--bolt-dark); }
.quick a img.q3d { width: 38px; height: 38px; object-fit: contain; display: block; margin-bottom: 8px; filter: drop-shadow(0 4px 6px rgba(0, 0, 20, .5)); transition: transform .25s; }
.quick a:hover img.q3d { transform: scale(1.12) rotate(-6deg); }
.quick a svg { display: none; }
