/* ==========================================================================
   Echo Games — Design System
   Dunkles, technisches, datenorientiertes Interface. Eine Akzentfarbe
   (gedämpftes Messing/Gold — "Echo"), monospaced Zahlen, ruhige Bewegung.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  /* Farben */
  --bg: #0a0b0d;
  --bg-raised: #101114;
  --surface: #131418;
  --surface-hover: #17191e;
  --border: #232529;
  --border-soft: #1a1c20;
  --text: #f1f1ef;
  --text-dim: #9a9ca3;
  --text-faint: #5c5e64;
  --accent: #c9a15b;
  --accent-dim: #8a723f;
  --accent-bg: rgba(201, 161, 91, 0.1);
  --green: #5cb896;
  --red: #c96b5c;
  --amber: #c9a15b;

  /* Typografie */
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  /* Layout */
  --max-w: 1180px;
  --radius: 6px;
  --radius-sm: 3px;
  --nav-h: 64px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--text-dim);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

::selection {
  background: var(--accent-dim);
  color: #0a0b0d;
}

/* Focus visibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border-soft);
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(10px);
  transition: height 0.25s ease;
}

.nav.is-compact {
  height: 52px;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.brand-mark span {
  position: absolute;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.brand-mark span:nth-child(1) { width: 6px; height: 6px; background: var(--accent); border: none; }
.brand-mark span:nth-child(2) { width: 12px; height: 12px; opacity: 0.55; animation: echo-ping 2.6s ease-out infinite; }
.brand-mark span:nth-child(3) { width: 19px; height: 19px; opacity: 0.28; animation: echo-ping 2.6s ease-out infinite 0.5s; }

@keyframes echo-ping {
  0% { transform: translate(-50%, -50%) scale(0.4); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 13.5px;
  color: var(--text-dim);
  font-weight: 500;
  transition: color 0.15s ease;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -19px;
  height: 2px;
  background: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-faint);
  flex-shrink: 0;
}
.dot.online { background: var(--green); box-shadow: 0 0 0 3px rgba(92, 184, 150, 0.15); }
.dot.offline { background: var(--red); box-shadow: 0 0 0 3px rgba(201, 107, 92, 0.15); }
.dot.maintenance { background: var(--amber); box-shadow: 0 0 0 3px rgba(201, 161, 91, 0.15); }

.nav-icon-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.nav-icon-btn:hover { background: var(--surface); color: var(--text); }

.nav-menu-toggle { display: none; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  z-index: 49;
  padding: 20px 24px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; animation: fade-in 0.2s ease; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-dim);
}
.mobile-nav a.active { color: var(--accent); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-menu-toggle { display: flex; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.btn:hover { background: var(--surface-hover); border-color: #34363b; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #171208;
  font-weight: 600;
}
.btn-primary:hover { background: #d6ac66; border-color: #d6ac66; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); background: var(--surface); }
.btn-danger { color: var(--red); }
.btn-sm { height: 30px; padding: 0 12px; font-size: 12.5px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.page-head {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--border-soft);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.page-head h1 { font-size: 30px; margin-bottom: 6px; }
.page-head .sub { color: var(--text-dim); font-size: 14.5px; max-width: 560px; }

.section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-soft);
}
.section:last-child { border-bottom: none; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 16px;
}
.section-head h2 { font-size: 17px; }
.section-head .link { font-size: 12.5px; color: var(--text-dim); font-family: var(--font-mono); }
.section-head .link:hover { color: var(--accent); }

.grid {
  display: grid;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 760px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Stat cards
   ========================================================================== */

.stat-card {
  background: var(--surface);
  padding: 20px 22px;
  transition: background 0.15s ease;
}
.stat-card:hover { background: var(--surface-hover); }
.stat-card .label {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.stat-card .value {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.stat-card .delta {
  margin-top: 6px;
  font-size: 12px;
  font-family: var(--font-mono);
}
.delta.up { color: var(--green); }
.delta.down { color: var(--red); }

/* ==========================================================================
   Cards / rows (Games, News, generic list entries)
   ========================================================================== */

.row-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.15s ease;
}
.row-item:last-child { border-bottom: none; }
a.row-item:hover, .row-item.hoverable:hover { background: var(--surface-hover); }

.row-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.row-icon {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.row-title { font-weight: 500; font-size: 14.5px; color: var(--text); }
.row-desc { font-size: 12.5px; color: var(--text-faint); margin-top: 2px; }

.row-meta { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.meta-block { text-align: right; }
.meta-block .n { font-family: var(--font-mono); font-size: 14px; color: var(--text); }
.meta-block .l { font-size: 10.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }

@media (max-width: 640px) {
  .row-meta { display: none; }
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.badge.active { color: var(--green); border-color: rgba(92,184,150,0.3); background: rgba(92,184,150,0.08); }
.badge.beta { color: var(--amber); border-color: rgba(201,161,91,0.3); background: rgba(201,161,91,0.08); }
.badge.maintenance { color: var(--amber); border-color: rgba(201,161,91,0.3); background: rgba(201,161,91,0.08); }
.badge.disabled { color: var(--text-faint); }
.badge.new { color: #0a0b0d; background: var(--accent); border-color: var(--accent); }

/* ==========================================================================
   Tables
   ========================================================================== */

.table-wrap {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
thead th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  font-weight: 500;
  padding: 12px 16px;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border-soft);
  white-space: nowrap;
}
tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-dim);
  white-space: nowrap;
}
tbody tr { background: var(--surface); transition: background 0.12s ease; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--surface-hover); }
td.strong, th.num, td.num { font-family: var(--font-mono); color: var(--text); }
td.num, th.num { text-align: right; }
.rank-cell { font-family: var(--font-mono); color: var(--text-faint); width: 40px; }
.rank-cell.top-1 { color: var(--accent); }
.player-cell { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; }
.avatar-mini {
  width: 24px; height: 24px; border-radius: 4px;
  background: var(--bg-raised); border: 1px solid var(--border);
  object-fit: cover; image-rendering: pixelated; flex-shrink: 0;
  vertical-align: middle;
}

.table-scroll { overflow-x: auto; }

/* ==========================================================================
   Tabs
   ========================================================================== */

.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 24px;
  overflow-x: auto;
}
.tab {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-bottom-color: var(--accent); }

/* ==========================================================================
   Forms
   ========================================================================== */

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text);
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-dim);
}
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: flex; gap: 18px; }
.field-row .field { flex: 1; }
.field-hint { font-size: 11.5px; color: var(--text-faint); margin-top: 5px; }
.field-error { font-size: 11.5px; color: var(--red); margin-top: 5px; }

/* ==========================================================================
   Modal
   ========================================================================== */

.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(6,7,8,0.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  opacity: 0;
  animation: fade-in 0.18s ease forwards;
  padding: 20px;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 460px;
  max-height: 86vh;
  overflow-y: auto;
  transform: translateY(8px) scale(0.98);
  opacity: 0;
  animation: modal-in 0.22s cubic-bezier(.2,.8,.3,1) 0.02s forwards;
}
@keyframes modal-in { to { transform: translateY(0) scale(1); opacity: 1; } }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border-soft);
}
.modal-head h3 { font-size: 15.5px; }
.modal-body { padding: 24px; }
.modal-foot { padding: 18px 24px; border-top: 1px solid var(--border-soft); display: flex; justify-content: flex-end; gap: 12px; }

/* ==========================================================================
   Dropdown
   ========================================================================== */

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); min-width: 190px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  opacity: 0; transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 60;
  overflow: hidden;
}
.dropdown-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.dropdown-menu a, .dropdown-menu button {
  display: block; width: 100%; text-align: left;
  padding: 10px 14px; font-size: 13px; color: var(--text-dim);
  background: none; border: none; cursor: pointer;
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--surface-hover); color: var(--text); }

/* ==========================================================================
   Spinner (blockig statt rund — dezenter Minecraft-Anklang, keine Assets)
   ========================================================================== */

.spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 4px;
  animation: spin 0.65s linear infinite;
  flex-shrink: 0;
}
.spinner-sm { width: 13px; height: 13px; border-width: 2px; margin-right: 8px; vertical-align: -2px; }
.btn-primary .spinner-sm { border-color: rgba(23,18,8,0.25); border-top-color: #171208; }
@keyframes spin { to { transform: rotate(360deg); } }

.spinner-wrap {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 52px 20px;
  color: var(--text-faint); font-size: 12px; font-family: var(--font-mono);
}

/* ==========================================================================
   Skeleton / loading
   ========================================================================== */

.skel {
  background: linear-gradient(90deg, var(--surface) 0%, var(--surface-hover) 50%, var(--surface) 100%);
  background-size: 200% 100%;
  animation: skel-sweep 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
@keyframes skel-sweep { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skel-line { height: 12px; margin-bottom: 8px; }
.skel-row { height: 60px; margin-bottom: 1px; }

/* ==========================================================================
   Empty / error states
   ========================================================================== */

.state-box {
  padding: 56px 24px;
  text-align: center;
  color: var(--text-dim);
}
.state-box .icon { color: var(--text-faint); margin-bottom: 14px; }
.state-box h4 { font-size: 15px; color: var(--text); margin-bottom: 6px; }
.state-box p { font-size: 13px; max-width: 320px; margin: 0 auto; }

/* ==========================================================================
   Misc animations
   ========================================================================== */

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: fade-up 0.5s cubic-bezier(.2,.7,.3,1) both; }
.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.1s; }
.reveal-3 { animation-delay: 0.15s; }
.reveal-4 { animation-delay: 0.2s; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 32px 0 40px;
  margin-top: 20px;
}
.site-footer .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.site-footer .fine { font-size: 12px; color: var(--text-faint); }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 12.5px; color: var(--text-dim); }
.footer-links a:hover { color: var(--accent); }

/* ==========================================================================
   Utility
   ========================================================================== */

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.text-dim { color: var(--text-dim); }
.text-faint { color: var(--text-faint); }
.hidden { display: none !important; }

/* Auth screens */
.auth-screen {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.auth-box {
  width: 100%; max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.auth-box h1 { font-size: 19px; margin-bottom: 4px; }
.auth-box .sub { font-size: 13px; margin-bottom: 22px; }

/* Admin shell */
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 232px; flex-shrink: 0;
  border-right: 1px solid var(--border-soft);
  padding: 24px 16px;
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
}
.admin-sidebar .brand { padding: 6px 8px 26px; }
.admin-nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.admin-nav + .admin-nav { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border-soft); flex: 0; }
.admin-nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--text-dim);
  transition: background 0.15s ease, color 0.15s ease;
}
.admin-nav a:hover { background: var(--surface); color: var(--text); }
.admin-nav a.active { background: var(--accent-bg); color: var(--accent); }
.admin-main { flex: 1; min-width: 0; padding: 40px 44px 70px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.admin-user { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-dim); }
.admin-block { margin-top: 32px; }
.admin-block:first-child { margin-top: 0; }
.admin-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 26px 28px; }
.admin-card + .admin-card { margin-top: 20px; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }

@media (max-width: 900px) {
  .admin-sidebar { display: none; }
  .admin-main { padding: 26px 20px 56px; }
}

/* Permission-Grid im Admin-Bereich */
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 14px; }
.perm-item {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 13px; color: var(--text-dim); background: var(--bg-raised);
}
.perm-item input { accent-color: var(--accent); width: 15px; height: 15px; }

.auth-tabs { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid var(--border-soft); }
.auth-tab { padding: 9px 4px; margin-right: 18px; font-size: 13px; color: var(--text-dim); cursor: pointer; border-bottom: 2px solid transparent; }
.auth-tab.active { color: var(--text); border-bottom-color: var(--accent); }

/* ==========================================================================
   Shop-Karten
   ========================================================================== */
.shop-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.shop-card:hover { border-color: var(--accent-dim); transform: translateY(-2px); }
.shop-card-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.shop-rank-badge {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.shop-price { font-family: var(--font-mono); font-size: 22px; color: var(--text); }
.shop-desc { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }
.shop-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.shop-features li {
  font-size: 12.5px; color: var(--text-dim);
  padding-left: 16px; position: relative;
}
.shop-features li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--green); font-size: 11px;
}

/* Rang-Badge in Spieler-Tabellen */
.rank-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  background: var(--bg-raised);
  letter-spacing: 0.03em;
  vertical-align: middle;
}
.rank-tag.vip    { color: #4ade80; border-color: rgba(74,222,128,0.3); background: rgba(74,222,128,0.08); }
.rank-tag.mvp    { color: #60a5fa; border-color: rgba(96,165,250,0.3); background: rgba(96,165,250,0.08); }
.rank-tag.mvpplus { color: #c084fc; border-color: rgba(192,132,252,0.3); background: rgba(192,132,252,0.08); }
.rank-tag.owner  { color: var(--accent); border-color: var(--accent-dim); background: var(--accent-bg); }
.rank-tag.staff  { color: #f472b6; border-color: rgba(244,114,182,0.3); background: rgba(244,114,182,0.08); }

/* Skin-Head in Tabellen: bessere Ausrichtung */
.player-cell {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 500;
  line-height: 1;
}
.player-cell .avatar-mini {
  display: block;
  flex-shrink: 0;
  border-radius: 3px;
  image-rendering: pixelated;
}

/* Toast-Notification */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 12px 18px; border-radius: var(--radius-sm);
  font-size: 13px; color: var(--text); z-index: 9999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: fade-up 0.2s ease;
}
