/* INRI-PVP - Minecraft trifft modernes Gaming-UI */

:root {
  --bg: #0a0c0f;
  --bg-2: #101318;
  --panel: rgba(20, 24, 30, 0.82);
  --panel-solid: #15191f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ecebe6;
  --muted: #9aa1a9;
  --dim: #6b727b;
  --gold: #f5b43c;
  --gold-2: #ffd978;
  --green: #62d26f;
  --green-dim: rgba(98, 210, 111, 0.14);
  --red: #ff5f5f;
  --red-dim: rgba(255, 95, 95, 0.14);
  --yellow: #ffcf4a;
  --blue: #5ab4ff;
  --bedrock: #8fd6ff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 var(--font);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img.px, .px { image-rendering: pixelated; image-rendering: crisp-edges; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.num { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- Kopfzeile */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 14px clamp(16px, 4vw, 40px);
  transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
  border-bottom: 1px solid transparent;
}
.topbar.solid {
  background: rgba(10, 12, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: 0.06em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand span { font-size: 17px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  color: var(--muted); padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14px;
}
.nav a:hover, .nav a.active { color: var(--text); background: rgba(255, 255, 255, 0.07); text-decoration: none; }
.nav-login { margin-left: 6px; color: #2a1a00 !important; }
.nav-login:hover { background: linear-gradient(180deg, var(--gold-2), var(--gold)) !important; }
.acc { position: relative; margin-left: 10px; }
.acc-btn {
  display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.05); font-weight: 700; font-size: 14px;
}
.acc-btn:hover, .acc.open .acc-btn, .acc-btn.active { background: rgba(255,255,255,.1); }
.acc-head { width: 28px; height: 28px; border-radius: 7px; overflow: hidden; display: block; background: #222; }
.acc-head canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.chev { color: var(--muted); font-size: 11px; transition: transform .15s; }
.acc.open .chev { transform: rotate(180deg); }
.acc-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; padding: 6px; display: none;
  background: rgba(18, 21, 26, .98); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow);
}
.acc.open .acc-menu { display: grid; }
.acc-menu a { padding: 10px 12px !important; border-radius: 8px !important; }
.acc-menu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 2px; width: auto; }
.acc-menu .logout { color: #ffb3b3 !important; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 10px; padding: 7px 10px; cursor: pointer; }

/* ---------------------------------------------------------------- Knoepfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 11px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06); color: var(--text);
  font-weight: 700; letter-spacing: 0.02em; cursor: pointer; white-space: nowrap;
  transition: transform 0.08s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.btn:hover { background: rgba(255, 255, 255, 0.11); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn img { width: 20px; height: 20px; }
.btn.gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #2a1a00; border-color: rgba(255, 220, 140, 0.8);
  box-shadow: 0 6px 22px rgba(245, 180, 60, 0.25), inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}
.btn.gold:hover { filter: brightness(1.06); }
.btn.green { background: linear-gradient(180deg, #74e27f, #3fae4c); color: #062a0b; border-color: #8ef098; box-shadow: inset 0 -2px 0 rgba(0,0,0,.2); }
.btn.red { background: var(--red-dim); border-color: rgba(255, 95, 95, 0.45); color: #ffc9c9; }
.btn.small { padding: 7px 12px; font-size: 13px; border-radius: 9px; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; }

/* ---------------------------------------------------------------- Hero (Spawn) */
.hero {
  position: relative; min-height: min(100vh, 900px); display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: -6% 0 -6% 0; z-index: -2;
  background: linear-gradient(135deg, #2b4a2e, #16202a) center / cover no-repeat;
  background-image: url("/static/img/spawn.jpg"), linear-gradient(135deg, #2b4a2e, #16202a);
  background-size: cover; background-position: center 38%;
  will-change: transform; transform: translate3d(0, 0, 0) scale(1.04);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 20% 100%, rgba(10, 12, 15, 0.92) 0%, rgba(10, 12, 15, 0.55) 45%, rgba(10, 12, 15, 0) 75%),
    linear-gradient(180deg, rgba(10, 12, 15, 0.55) 0%, rgba(10, 12, 15, 0.08) 22%, rgba(10, 12, 15, 0.25) 55%, var(--bg) 100%);
}
.hero-inner {
  width: 100%; max-width: 1180px; margin: 0 auto;
  padding: 140px clamp(16px, 4vw, 40px) clamp(48px, 9vh, 96px);
}
.logo-word {
  font-size: clamp(54px, 11vw, 132px); font-weight: 950; letter-spacing: 0.02em; line-height: 0.9;
  background: linear-gradient(180deg, #fff3cf 0%, var(--gold-2) 38%, var(--gold) 70%, #c9791f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 rgba(90, 45, 0, 0.55)) drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}
.hero-sub { margin-top: 14px; max-width: 560px; color: #d8d6cf; font-size: clamp(15px, 1.6vw, 18px); text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.hero-status { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px; font-weight: 800; letter-spacing: 0.08em; font-size: 13px;
  background: rgba(15, 18, 22, 0.72); border: 1px solid var(--line-strong); backdrop-filter: blur(10px);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dim); flex: none; }
.s-ONLINE .dot { background: var(--green); box-shadow: 0 0 0 4px var(--green-dim), 0 0 14px var(--green); }
.s-ONLINE { color: #b8f5be; }
.s-STARTING .dot, .s-STOPPING .dot { background: var(--yellow); animation: pulse 1.1s infinite; }
.s-STARTING, .s-STOPPING { color: #ffe7a3; }
.s-ERROR .dot { background: var(--red); }
.s-ERROR { color: #ffb3b3; }
.s-OFFLINE { color: #c9ccd1; }
@keyframes pulse { 50% { opacity: 0.35; } }

.address {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(15, 18, 22, 0.72); border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 14px;
  backdrop-filter: blur(10px);
}
.address button { background: rgba(255,255,255,.08); border: 0; border-radius: 999px; padding: 5px 12px; cursor: pointer; font: 600 12px var(--font); }
.address button:hover { background: rgba(255,255,255,.16); }

/* ---------------------------------------------------------------- Seitenlayout */
.page { max-width: 1180px; margin: 0 auto; padding: 96px clamp(16px, 4vw, 40px) 64px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 12px 0 22px; }
.page-head h1 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; }
.eyebrow { color: var(--gold); font-weight: 800; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 6px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section { margin-top: 56px; }
.section h2 { font-size: 22px; font-weight: 850; margin-bottom: 14px; }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); backdrop-filter: blur(12px); min-width: 0;
}
.card h3 { font-size: 15px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.card.center { text-align: center; }
.stat { display: flex; align-items: center; gap: 14px; }
.stat img { width: 40px; height: 40px; }
.stat .v { font-size: 26px; font-weight: 900; line-height: 1.1; }
.stat .l { color: var(--muted); font-size: 13px; font-weight: 600; }

.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature img { width: 36px; height: 36px; flex: none; margin-top: 2px; }
.feature b { display: block; font-size: 16px; margin-bottom: 2px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- Formulare */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 96px 16px 40px; }
.auth { width: min(440px, 100%); }
.auth h1 { font-size: 28px; font-weight: 900; margin-bottom: 6px; }
.field { display: grid; gap: 6px; margin-top: 14px; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.input {
  width: 100%; padding: 12px 14px; border-radius: 10px; background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line-strong); outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 180, 60, 0.18); }
.sent-to { color: var(--text); word-break: break-all; }
.bot-check { margin-top: 16px; min-height: 0; }
.bot-check:empty { display: none; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 46px; }
.eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 8px;
  background: transparent; color: var(--muted); cursor: pointer;
}
.eye:hover { color: var(--text); background: rgba(255,255,255,.07); }
.eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.code-input { font: 800 28px var(--mono); letter-spacing: 0.45em; text-align: center; }
.form-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; }
.msg { margin-top: 14px; padding: 11px 14px; border-radius: 10px; font-size: 14px; }
.msg.err { background: var(--red-dim); border: 1px solid rgba(255, 95, 95, 0.35); color: #ffd0d0; }
.msg.ok { background: var(--green-dim); border: 1px solid rgba(98, 210, 111, 0.35); color: #cdf7d2; }
.msg.info { background: rgba(90, 180, 255, 0.1); border: 1px solid rgba(90, 180, 255, 0.3); color: #cfe7ff; }

/* ---------------------------------------------------------------- Dashboard */
.profile { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.head {
  width: 72px; height: 72px; border-radius: 12px; overflow: hidden; flex: none; position: relative;
  background: #222 no-repeat; image-rendering: pixelated; box-shadow: 0 8px 22px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.1);
}
.head canvas { width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.profile .name { font-size: 26px; font-weight: 900; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; border: 1px solid var(--line-strong); background: rgba(255,255,255,.05);
}
.tag.java { color: #ffd9a8; border-color: rgba(255, 170, 80, 0.4); }
.tag.bedrock { color: var(--bedrock); border-color: rgba(143, 214, 255, 0.4); }
.tag.on { color: #b8f5be; border-color: rgba(98, 210, 111, 0.45); }
.tickets-row { display: flex; gap: 14px; flex-wrap: wrap; }
.ticket-chip { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(0,0,0,.28); border: 1px solid var(--line); min-width: 120px; }
.ticket-chip img { width: 30px; height: 30px; }
.ticket-chip .v { font-size: 22px; font-weight: 900; }
.ticket-chip .l { font-size: 12px; color: var(--muted); font-weight: 700; }
.t-1 { --tc: #cd7f32; } .t-2 { --tc: #c9d1d9; } .t-3 { --tc: #ffd34d; }
.ticket-chip { box-shadow: inset 3px 0 0 var(--tc); }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px;
  border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid var(--line); color: var(--text); font-weight: 800; letter-spacing: 0.04em;
  transition: transform 0.12s, border-color 0.15s, background 0.15s;
}
.tile:hover { transform: translateY(-2px); border-color: rgba(245,180,60,.45); text-decoration: none; background: linear-gradient(180deg, rgba(245,180,60,.1), rgba(255,255,255,.02)); }
.tile img { width: 34px; height: 34px; }
.tile small { color: var(--muted); font-weight: 600; letter-spacing: 0; }

/* ---------------------------------------------------------------- Inventar */
.small { font-size: 13px; }
.inv-layout { display: grid; grid-template-columns: minmax(230px, 280px) minmax(0, 1fr) minmax(240px, 300px); gap: 16px; align-items: start; }
.inv-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; font-size: 17px; }
.inv-body { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: stretch; }
.armor-col { display: grid; gap: 8px; align-content: start; }
.armor-col.end { align-content: end; }
.skin-box {
  display: grid; place-items: center; border-radius: 12px; padding: 10px 0;
  background: radial-gradient(80% 60% at 50% 45%, rgba(245,180,60,.12), transparent 70%), rgba(0,0,0,.28);
  border: 1px solid var(--line);
}
.skin { width: 88px; height: 176px; image-rendering: pixelated; filter: drop-shadow(0 10px 14px rgba(0,0,0,.55)); }
.vitals { display: flex; gap: 12px; font-weight: 800; font-size: 14px; align-items: center; }
.vitals img { width: 16px; height: 16px; vertical-align: -3px; }
.vitals .lvl { color: #9cf07a; }

.igrid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.igrid.hotbar { padding: 6px; margin: -6px; border-radius: 12px; background: rgba(245,180,60,.05); }
.islot {
  position: relative; aspect-ratio: 1; min-width: 0; padding: 0; display: grid; place-items: center; cursor: pointer;
  border-radius: 9px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  box-shadow: inset 0 2px 6px rgba(0,0,0,.45);
  transition: border-color .12s, background .12s, transform .08s;
}
.armor-col .islot { width: clamp(40px, 11vw, 52px); }
.islot:hover { border-color: rgba(245,180,60,.55); background: rgba(245,180,60,.08); }
.islot.sel { border-color: var(--gold-2); box-shadow: 0 0 0 2px rgba(255,217,120,.35), inset 0 2px 6px rgba(0,0,0,.45); }
.islot.empty { cursor: default; }
.islot img { width: 72%; height: 72%; image-rendering: pixelated; pointer-events: none; }
.islot img.ph { opacity: .16; filter: grayscale(1); }
.islot.ench img, .idetail-icon.ench img { filter: drop-shadow(0 0 4px rgba(186, 120, 255, .95)); }
.islot .cnt { position: absolute; right: 4px; bottom: 1px; font: 800 13px/1 var(--font); color: #fff; text-shadow: 1px 1px 0 #000, 0 0 4px #000; pointer-events: none; }
.islot .bar { position: absolute; left: 14%; right: 14%; bottom: 7%; height: 3px; border-radius: 2px; background: rgba(0,0,0,.8); overflow: hidden; }
.islot .bar i { display: block; height: 100%; }

.inv-detail { position: sticky; top: 84px; min-height: 220px; }
.idetail.empty { display: grid; place-items: center; min-height: 180px; text-align: center; }
.idetail-hint { color: var(--muted); max-width: 200px; }
.idetail-head { display: flex; gap: 14px; align-items: center; }
.idetail-icon { width: 64px; height: 64px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(0,0,0,.3); border: 1px solid var(--line); }
.idetail-icon img { width: 46px; height: 46px; image-rendering: pixelated; }
.idetail-name { font-weight: 900; font-size: 18px; line-height: 1.2; }
.idetail-name.enchanted { color: #7fe6ff; }
.idetail-name.custom { color: #ffd978; }
.idetail-label { margin: 16px 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ender-label { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.ender-label img { width: 18px; height: 18px; }
.ench-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ench-chip { padding: 4px 9px; border-radius: 7px; font-size: 13px; font-weight: 700; color: #d9c2ff; background: rgba(160, 100, 255, .12); border: 1px solid rgba(160, 100, 255, .3); }
.idetail-lore { color: #d59bff; font-style: italic; font-size: 14px; display: grid; gap: 2px; }
.dura { height: 7px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 4px; }
.dura i { display: block; height: 100%; }
.idetail-id { margin-top: 18px; font: 12px var(--mono); color: var(--dim); word-break: break-all; }
.tag.t-1 { color: #e6a36a; } .tag.t-2 { color: #d7dde3; } .tag.t-3 { color: #ffd34d; }

@media (max-width: 1080px) {
  .inv-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .inv-main { grid-column: 1 / -1; order: -1; }
  .inv-detail { position: static; }
}
@media (max-width: 640px) {
  .inv-layout { grid-template-columns: 1fr; }
  .inv-detail { order: -1; min-height: 0; }
  .idetail.empty { min-height: 60px; }
  .skin { width: 64px; height: 128px; }
  .igrid { gap: 4px; }
  .islot { border-radius: 7px; }
  .islot .cnt { font-size: 11px; right: 2px; }
  .card.inv-main, .card.inv-player { padding: 14px; }
}

/* ---------------------------------------------------------------- Gluecksrad */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { padding: 10px 16px; border-radius: 11px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); cursor: pointer; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.tab img { width: 22px; height: 22px; }
.tab.active { border-color: var(--tc, var(--gold)); background: color-mix(in srgb, var(--tc, var(--gold)) 16%, transparent); }
.wheel-box { position: relative; margin-top: 18px; padding: 26px 0 22px; border-radius: 16px; background: #0d0f13; border: 1px solid var(--line); overflow: hidden; }
.wheel-window { position: relative; overflow: hidden; height: 108px; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.reel { position: absolute; top: 10px; left: 50%; display: flex; gap: 10px; will-change: transform; }
.reel .cell {
  width: 88px; height: 88px; flex: none; display: grid; place-items: center; border-radius: 12px;
  background: #1a1d23; border: 1px solid var(--line-strong); position: relative;
}
.reel .cell img { width: 52px; height: 52px; image-rendering: pixelated; }
.reel .cell.rare { border-color: rgba(255, 190, 60, 0.7); box-shadow: inset 0 0 18px rgba(255, 190, 60, 0.25); }
.reel .cell.win { outline: 3px solid var(--gold-2); box-shadow: 0 0 30px rgba(255, 210, 90, 0.6); }
.marker { position: absolute; left: 50%; transform: translateX(-50%); z-index: 3; width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; }
.marker.top { top: 6px; border-top: 16px solid var(--gold-2); filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.marker.bottom { bottom: 6px; border-bottom: 16px solid var(--gold-2); filter: drop-shadow(0 -2px 4px rgba(0,0,0,.6)); }
.wheel-actions { display: flex; gap: 12px; justify-content: center; margin-top: 18px; flex-wrap: wrap; align-items: center; }
.result {
  margin-top: 18px; padding: 18px; border-radius: 14px; text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, rgba(98,210,111,.18), transparent 70%), rgba(0,0,0,.25);
  border: 1px solid rgba(98,210,111,.35); animation: pop 0.35s ease-out;
}
.result.rare { background: radial-gradient(120% 140% at 50% 0%, rgba(255,200,70,.28), transparent 70%), rgba(0,0,0,.25); border-color: rgba(255,200,70,.55); }
.result img { width: 56px; height: 56px; image-rendering: pixelated; }
.result b { display: block; font-size: 22px; margin-top: 6px; }
@keyframes pop { from { transform: scale(0.94); opacity: 0; } }
.prize-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 12px; }
.prize-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 14px; }
.prize-row img { width: 26px; height: 26px; image-rendering: pixelated; }
.prize-row .c { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.buy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.qty button { background: rgba(255,255,255,.06); border: 0; width: 36px; height: 38px; cursor: pointer; font-weight: 900; }
.qty span { min-width: 34px; text-align: center; font-weight: 800; }

/* ---------------------------------------------------------------- Karte */
.map-wrap { position: relative; height: calc(100vh - 200px); min-height: 420px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #07080a; touch-action: none; }
.map-wrap canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.map-wrap canvas.drag { cursor: grabbing; }
.map-ui { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; }
.map-ui button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(15,18,22,.85); cursor: pointer; font-size: 20px; font-weight: 800; }
.map-info { position: absolute; left: 12px; bottom: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(15,18,22,.85); border: 1px solid var(--line); font: 600 13px var(--mono); }
.map-legend { position: absolute; left: 12px; top: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(15,18,22,.85); border: 1px solid var(--line); font-size: 13px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- Tabellen / Admin */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { color: var(--muted); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.badge.red { background: var(--red-dim); color: #ffb3b3; }
.badge.green { background: var(--green-dim); color: #b8f5be; }
.badge.gray { background: rgba(255,255,255,.07); color: var(--muted); }
pre.log { max-height: 420px; overflow: auto; background: #07080a; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font: 12px/1.45 var(--mono); white-space: pre-wrap; word-break: break-word; color: #c9d1d9; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

/* ---------------------------------------------------------------- Anleitung */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding: 12px 14px 12px 52px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 12px; top: 11px; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 900; background: rgba(245,180,60,.16); color: var(--gold-2); }
.kbd { font-family: var(--mono); background: rgba(255,255,255,.08); padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line-strong); white-space: nowrap; }
.path { color: var(--gold-2); font-weight: 700; }
.callout { padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(245,180,60,.4); background: rgba(245,180,60,.08); }
.callout.blue { border-color: rgba(90,180,255,.4); background: rgba(90,180,255,.08); }
.server-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.server-chips span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line-strong); font-weight: 700; font-size: 14px; }

footer { border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; padding: 26px clamp(16px, 4vw, 40px); text-align: center; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 300; padding: 12px 18px; border-radius: 12px; background: #1d2229; border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-weight: 700; animation: pop .25s ease-out; max-width: calc(100vw - 32px); }
.toast.err { border-color: rgba(255,95,95,.5); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(255,255,255,.18); border-top-color: var(--gold); animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: grid; place-items: center; min-height: 40vh; }

/* ---------------------------------------------------------------- Handy */
@media (max-width: 900px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero-bg { background-image: url("/static/img/spawn-960.jpg"), linear-gradient(135deg, #2b4a2e, #16202a); background-position: 58% 40%; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 62px; right: 12px; left: 12px; flex-direction: column; align-items: stretch; background: rgba(15,18,22,.97); border: 1px solid var(--line-strong); border-radius: 14px; padding: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav-login { margin: 6px 0 0; }
  .acc { margin: 6px 0 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .acc-btn { display: none; }
  .acc-menu { display: grid; position: static; box-shadow: none; border: 0; background: none; padding: 0; min-width: 0; }
  .g2 { grid-template-columns: 1fr; }
  .page { padding-top: 84px; }
  .reel .cell { width: 72px; height: 72px; }
  .reel .cell img { width: 42px; height: 42px; }
  .wheel-window { height: 92px; }
  .inv { padding: 8px; }
  .avatar-box { min-width: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { transform: none !important; }
  * { animation-duration: 0.01ms !important; }
}
