:root {
  --bg: #05080d;
  --bg-2: #09101a;
  --panel: #0d131b;
  --panel-2: #101823;
  --line: #1d2a38;
  --line-soft: rgba(255,255,255,.06);
  --text: #e9f3ff;
  --muted: #98a8bb;
  --muted-2: #7f90a3;
  --cyan: #00e5ff;
  --cyan-2: #1f7cff;
  --danger: #ff6b6b;
  --success: #3ddc97;
  --warning: #ffcf5a;
  --max: 1240px;
  --radius: 24px;
  --shadow: 0 26px 60px rgba(0,0,0,.32);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at top right, rgba(0,229,255,.10), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 32px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(5, 8, 13, 0.88);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 240px; }
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  color: #031018;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0,229,255,.2);
}
.brand strong { display: block; font-size: 19px; }
.brand small { display: block; color: var(--muted); margin-top: 2px; font-size: 12px; }
.main-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.main-nav a { color: var(--muted); transition: .18s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.lang-switcher { display: flex; gap: 10px; }
.flag-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: .8;
  background: rgba(255,255,255,.04);
}
.flag-link.active, .flag-link:hover {
  opacity: 1;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,229,255,.12);
}

.site-main { min-height: calc(100vh - 140px); }

.hero { padding: 48px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 14px);
  line-height: 1.02;
  margin: 14px 0;
}
.hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
  max-width: 760px;
}
.hero-card, .card {
  background: linear-gradient(180deg, rgba(13,19,27,.97), rgba(16,24,35,.97));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { overflow: hidden; }
.hero-actions { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }

.pill, .badge, .filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,229,255,.09);
  border: 1px solid rgba(0,229,255,.18);
  color: var(--cyan);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
}
.mini-country {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .18s ease;
}
.btn-primary {
  background: var(--cyan);
  color: #041018;
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary, .btn-ghost {
  background: rgba(255,255,255,.03);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover, .btn-secondary:hover { border-color: rgba(0,229,255,.35); }

.section { padding: 28px 0; }
.section-muted {
  background: rgba(255,255,255,.015);
  border-top: 1px solid rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.03);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.section-head h1, .section-head h2 { margin: 0; }
.section-copy { margin: 8px 0 0; color: var(--muted); line-height: 1.7; max-width: 760px; }

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.stats-strip.compact { margin-bottom: 20px; }
.stat-card {
  background: linear-gradient(180deg, rgba(8,14,21,.9), rgba(9,17,26,.98));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  min-height: 94px;
}
.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}
.stat-card strong {
  display: block;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.game-card { padding: 18px; text-align: center; }
.game-card img {
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.06);
}
.game-card h3 { margin: 0 0 14px; }

.server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.server-card, .server-detail { overflow: hidden; }
.banner, .server-detail-banner {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.server-card-body, .server-detail-body { padding: 18px; }
.server-card h3, .server-detail h1 { margin: 0 0 8px; }
.server-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.game-icon-mini {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.status-dot.online {
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(61,220,151,.12);
}
.status-dot.offline {
  background: var(--danger);
  box-shadow: 0 0 0 6px rgba(255,107,107,.10);
}
.muted-line, .muted-small { color: var(--muted); }
.muted-small { font-size: 13px; }
.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin: 14px 0 8px;
  color: var(--muted);
  font-size: 14px;
}
.metric-row strong { color: var(--text); font-size: 14px; }
.progress {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 999px;
  overflow: hidden;
}
.progress.large { height: 14px; }
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-2));
  border-radius: inherit;
}
.progress.alt span {
  background: linear-gradient(90deg, var(--success), var(--warning));
}
.card-stats, .info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.info-chips span, .card-stats span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-soft);
}
.server-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0;
}
.bar-block {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-soft);
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.detail-grid > div {
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-soft);
  line-height: 1.6;
}
.detail-grid strong { color: var(--muted); }

.form-card { padding: 22px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
label span { display: block; margin-bottom: 8px; font-weight: 700; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: #09111a;
  color: var(--text);
  border-radius: 14px;
  padding: 14px 15px;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(0,229,255,.45);
  box-shadow: 0 0 0 4px rgba(0,229,255,.1);
}
.error-text {
  color: #ff9b9b;
  min-height: 18px;
  display: inline-block;
  margin-top: 6px;
}
.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-chip { color: var(--muted); }
.filter-chip.active {
  color: var(--text);
  border-color: rgba(0,229,255,.4);
}

.alert {
  margin: 18px auto 0;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
}
.alert.success {
  background: rgba(61,220,151,.08);
  border-color: rgba(61,220,151,.22);
}
.alert.error {
  background: rgba(255,107,107,.08);
  border-color: rgba(255,107,107,.22);
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgba(255,255,255,.04);
  margin-top: 30px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}

.center-card { padding: 36px; text-align: center; }
.empty-state { padding: 30px; text-align: center; color: var(--muted); }

@media (max-width: 980px) {
  .hero-grid, .server-bars, .stats-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .form-grid, .stats-strip, .server-bars { grid-template-columns: 1fr; }
}


.detail-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px;flex-wrap:wrap}.detail-actions,.action-row,.inline-actions,.table-badges{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.state-pill{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:700;border:1px solid var(--line-soft);background:rgba(255,255,255,.05)}.state-pill.premium{background:rgba(255,207,90,.12);color:var(--warning);border-color:rgba(255,207,90,.25)}.state-pill.verified,.state-pill.active,.state-pill.claim-verified{background:rgba(61,220,151,.12);color:var(--success);border-color:rgba(61,220,151,.25)}.state-pill.claim-pending{background:rgba(0,229,255,.09);color:var(--cyan);border-color:rgba(0,229,255,.18)}.state-pill.claim-rejected,.state-pill.claim-unclaimed{background:rgba(255,107,107,.10);color:var(--danger);border-color:rgba(255,107,107,.2)}.claim-box,.info-banner,.step-card{background:rgba(255,255,255,.03);border:1px solid var(--line-soft);border-radius:18px;padding:18px}.info-banner p,.step-card p{margin:8px 0 0;color:var(--muted);line-height:1.7}.info-banner.soft{background:rgba(0,229,255,.04)}.claim-layout{display:grid;gap:18px}.claim-steps{display:grid;grid-template-columns:1fr 1fr;gap:18px}.step-card{position:relative}.step-number{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--cyan);color:#041018;font-weight:800;margin-bottom:14px}.code-box{background:#08111b;border:1px solid var(--line);border-radius:16px;padding:14px;margin-top:14px}.code-box.small{min-width:240px}.code-box small{display:block;color:var(--muted);margin-bottom:8px}.code-box code{display:block;white-space:pre-wrap;word-break:break-word;color:var(--cyan);font-family:Consolas,Monaco,monospace;font-size:14px}.dashboard-panels{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:22px}.admin-panels{grid-template-columns:1fr 1fr}.list-stack{display:grid;gap:16px}.compact-card{padding:18px}.compact-card h3{margin:0 0 8px}.subheading{margin:0 0 14px}.table-wrap{overflow-x:auto;padding:6px}.admin-table{width:100%;border-collapse:collapse;min-width:980px}.admin-table th,.admin-table td{padding:14px 12px;border-bottom:1px solid var(--line);vertical-align:top}.admin-table th{color:var(--muted);font-size:13px;text-align:left;font-weight:700}.btn-small{padding:9px 12px;font-size:12px}.claim-admin-card,.form-card{padding:22px}.claim-admin-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;flex-wrap:wrap}.stats-five{grid-template-columns:repeat(5,minmax(0,1fr))}@media (max-width:1080px){.stats-five,.stats-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-panels,.admin-panels,.claim-steps,.hero-grid,.server-bars{grid-template-columns:1fr}}@media (max-width:760px){.stats-strip{grid-template-columns:1fr}.main-nav{width:100%}.header-inner{align-items:flex-start}}


.download-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}.download-card{display:flex;flex-direction:column;gap:12px}.admin-layout{display:grid;grid-template-columns:minmax(320px,420px) 1fr;gap:20px;align-items:start}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid label{display:flex;flex-direction:column;gap:8px}.form-grid .full{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea{background:#0c141d;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:12px 14px;color:#fff}.admin-thumb{width:100%;max-width:220px;aspect-ratio:16/9;object-fit:cover;border-radius:16px;margin-bottom:12px}.action-row{display:flex;flex-wrap:wrap;gap:10px}@media (max-width:900px){.admin-layout{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}}


.profile-card,.dashboard-profile{overflow:hidden}.profile-banner,.server-detail-banner{width:100%;height:220px;object-fit:cover;display:block}.profile-head,.post-head{display:flex;gap:16px;align-items:center;padding:18px}.profile-avatar{width:96px;height:96px;border-radius:50%;object-fit:cover;border:3px solid rgba(255,255,255,.15)}.avatar-mini{width:42px;height:42px;border-radius:50%;object-fit:cover}.narrow{max-width:900px}.inline-form{display:inline}.message-body{white-space:pre-wrap;line-height:1.6;padding-top:18px}.admin-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:12px;border-bottom:1px solid rgba(255,255,255,.08);text-align:left}.empty-state{padding:22px}.compact-card p{margin:.35rem 0}.form-card textarea{min-height:120px}.post-head strong{display:block}.dashboard-profile .profile-avatar{width:72px;height:72px}

.server-title-row{display:flex;gap:14px;align-items:flex-start;margin-bottom:10px}.server-title-row.large{margin-bottom:0}.mc-icon{width:42px;height:42px;border-radius:12px;object-fit:cover;border:1px solid rgba(255,255,255,.12);background:#0b1220;flex:0 0 auto}.mc-icon.large{width:72px;height:72px;border-radius:16px}.motd-line{color:var(--muted);line-height:1.5;margin:.35rem 0 0}.info-banner{margin-bottom:18px}


/* v10.1 hubcs-inspired list layout, tighter */
:root {
  --max: 1180px;
  --bg: #050505;
  --bg-2: #090b0f;
  --panel: #0b0f14;
  --panel-2: #111821;
  --line: #1c2631;
  --cyan: #00e5ff;
  --cyan-2: #00bcd4;
}

.server-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.server-list .server-card {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  min-height: 188px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(9, 13, 18, 0.98), rgba(14, 20, 28, 0.98));
  border: 1px solid rgba(0, 229, 255, 0.10);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.server-list .server-card .banner {
  height: 100%;
  min-height: 188px;
  aspect-ratio: auto;
  border-bottom: 0;
  border-right: 1px solid var(--line);
}

.server-list .server-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 18px 15px;
}

.server-list .server-title-row {
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.server-list .server-title-row h3 {
  font-size: clamp(20px, 1.6vw, 26px);
  margin: 0 0 6px;
}

.server-list .muted-line {
  font-size: 13px;
  line-height: 1.5;
}

.server-list .motd-line {
  color: #c7d6e3;
  line-height: 1.5;
  margin: 6px 0 0;
  font-size: 13px;
}

.server-list .badge,
.server-list .mini-country,
.server-list .state-pill,
.server-list .muted-small {
  font-size: 12px;
}

.server-list .game-icon-mini {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.server-list .mc-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.server-card-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 172px;
  gap: 16px;
  align-items: end;
}

.server-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.server-card-actions .btn,
.detail-actions .btn-join {
  width: 100%;
}

.server-card-actions .btn {
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 10px;
}

.btn-join {
  min-height: 42px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0, 229, 255, 0.14);
}

.server-list .metric-row {
  margin: 10px 0 6px;
  font-size: 13px;
}

.server-list .metric-row strong {
  font-size: 13px;
}

.server-progress {
  max-width: 460px;
  height: 8px;
}

.server-list .info-chips,
.server-list .card-stats {
  margin: 10px 0 0;
  gap: 8px;
  font-size: 12px;
}

.server-list .info-chips span,
.server-list .card-stats span {
  padding: 6px 9px;
}

.profile-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 960px) {
  .server-list .server-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .server-list .server-card .banner {
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .server-card-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .server-card-actions {
    flex-direction: row;
  }

  .server-card-actions .btn {
    width: auto;
    flex: 1 1 0;
  }
}

@media (max-width: 640px) {
  .server-list .server-card-body {
    padding: 14px;
  }

  .server-card-actions {
    flex-direction: column;
  }

  .profile-head {
    align-items: flex-start;
  }

  .profile-actions {
    margin-left: 0;
    width: 100%;
  }
}

.server-list .server-meta-top {
  margin-bottom: 16px;
}

.server-list .status-dot.online {
  box-shadow: 0 0 0 7px rgba(61,220,151,.14);
}

.server-list .status-dot.offline {
  box-shadow: 0 0 0 7px rgba(255,107,107,.12);
}

.section-muted {
  background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.008));
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-chip.active {
  background: rgba(0,229,255,.14);
  border-color: rgba(0,229,255,.32);
  color: #ebfcff;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

@media (max-width: 980px) {
  .server-list .server-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .server-list .server-card .banner {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .server-card-bottom {
    grid-template-columns: 1fr;
  }

  .server-card-actions,
  .detail-actions {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .server-list .server-card-body {
    padding: 18px;
  }

  .server-list .server-card .banner {
    min-height: 180px;
  }

  .server-list .server-title-row h3 {
    font-size: 24px;
  }
}


/* v11 compact layout + bridge/community */
.hero-grid-strong { grid-template-columns: 1.05fr .95fr; }
.hero-card-split { display: grid; grid-template-rows: auto 1fr; }
.hero-card-copy { padding: 16px 18px 18px; display: grid; gap: 10px; }
.trust-row.compact { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.trust-pill { padding:8px 12px; border-radius:999px; background:rgba(255,255,255,.04); border:1px solid var(--line-soft); color:var(--muted); font-size:12px; }
.compact-game-grid { gap: 14px; }
.compact-game-card { padding: 14px; }
.compact-game-card img { width: 74px; height: 74px; margin-bottom: 10px; }
.compact-home-list .server-card,
.compact-server-list .server-card { grid-template-columns: 220px minmax(0,1fr); }
.compact-row-card { min-height: 118px; }
.compact-row-card .banner { height: 100%; aspect-ratio: auto; min-height: 118px; }
.compact-row-card .server-card-body { padding: 12px 14px; }
.compact-row-card .server-title-row { margin-bottom: 6px; gap: 10px; }
.compact-row-card .server-title-row h3 { font-size: 21px; margin-bottom: 4px; }
.compact-row-card .muted-line { font-size: 13px; margin: 0; }
.compact-row-card .muted-line.smaller { font-size: 12px; }
.compact-row-card .motd-line.compact { font-size: 12px; line-height: 1.35; margin-top: 4px; }
.compact-row-card .server-meta-top { margin-bottom: 8px; gap: 8px; }
.compact-row-card .badge,
.compact-row-card .mini-country,
.compact-row-card .state-pill,
.compact-row-card .muted-small { font-size: 11px; padding: 5px 8px; }
.compact-row-card .game-icon-mini { width: 22px; height: 22px; border-radius: 7px; }
.compact-row-card .mc-icon { width: 30px; height: 30px; border-radius: 8px; }
.compact-bottom { align-items: center; gap: 12px; }
.compact-metrics { display: grid; gap: 6px; }
.compact-row-card .metric-row { margin: 0; font-size: 12px; }
.compact-row-card .metric-row strong { font-size: 12px; }
.compact-row-card .info-chips.compact-chips { margin: 6px 0 0; gap: 6px; }
.compact-row-card .info-chips.compact-chips span { padding: 5px 8px; font-size: 11px; }
.compact-actions { min-width: 190px; }
.compact-actions .btn { min-height: 38px; padding: 10px 12px; font-size: 12px; }
.with-flag { display:inline-flex; align-items:center; gap:8px; }
.compact-stats-strip .stat-card { min-height: 78px; padding: 14px; }
.compact-stats-strip .stat-card span { margin-bottom: 8px; font-size: 12px; }
.compact-stats-strip .stat-card strong { font-size: clamp(18px, 3vw, 28px); }
.live-player-card .post-head { padding: 0 0 6px; }
@media (max-width: 980px) {
  .compact-home-list .server-card,
  .compact-server-list .server-card { grid-template-columns: 180px minmax(0,1fr); }
}
@media (max-width: 760px) {
  .hero-grid-strong { grid-template-columns: 1fr; }
  .compact-home-list .server-card,
  .compact-server-list .server-card,
  .server-list .server-card { grid-template-columns: 1fr; }
  .compact-row-card .banner { min-height: 96px; }
  .compact-actions { min-width: 0; width: 100%; }
}


/* v11.1 richer compact server cards */
.server-country-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #d9edf5;
}
.server-ip-line {
  color: #d7e6f2;
  font-weight: 600;
}
.compact-row-card {
  min-height: 142px;
}
.compact-row-card .banner {
  min-height: 142px;
}
.compact-row-card .server-card-body {
  padding: 13px 15px;
}
.compact-row-card .server-meta-top {
  margin-bottom: 9px;
  gap: 7px;
}
.compact-row-card .badge,
.compact-row-card .mini-country,
.compact-row-card .state-pill,
.compact-row-card .muted-small {
  font-size: 11px;
  padding: 5px 8px;
}
.compact-row-card .server-title-row h3 {
  font-size: 20px;
  margin-bottom: 3px;
}
.compact-row-card .muted-line,
.compact-row-card .server-ip-line {
  font-size: 12px;
  margin: 0;
}
.compact-row-card .mc-icon {
  width: 32px;
  height: 32px;
}
.compact-row-card .info-chips.compact-chips {
  margin-top: 7px;
}
.compact-row-card .info-chips.compact-chips span {
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.07);
}
.compact-actions .btn {
  min-height: 36px;
}
.server-list .server-card {
  border-color: rgba(0,229,255,.12);
  background:
    radial-gradient(circle at top right, rgba(0,229,255,.07), transparent 30%),
    linear-gradient(180deg, rgba(8, 11, 16, .99), rgba(11, 17, 24, .99));
}
.server-list .server-card .banner {
  border-right-color: rgba(255,255,255,.07);
}
.server-list .server-title-row h3 {
  color: #f2fbff;
}
.server-list .muted-small,
.server-list .muted-line {
  color: #9fb6c7;
}
.server-list .server-meta-top {
  align-items: center;
}
.server-list .status-dot.online {
  box-shadow: 0 0 0 6px rgba(61,220,151,.12);
}
.server-list .status-dot.offline {
  box-shadow: 0 0 0 6px rgba(255,107,107,.10);
}
@media (max-width: 760px) {
  .compact-row-card {
    min-height: 0;
  }
  .compact-row-card .banner {
    min-height: 110px;
  }
}

/* v12 richer HubCS-like server list */
.server-list-tight { display:flex; flex-direction:column; gap:14px; }
.hub-server-card {
  background: linear-gradient(180deg, rgba(0,229,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(0,229,255,.16);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 190px minmax(0,1fr) 104px 116px;
  align-items: stretch;
  overflow: hidden;
  min-height: 108px;
  border-left: 5px solid #ff5757;
  box-shadow: inset 0 0 0 1px rgba(0,229,255,.04);
}
.hub-server-card.online { border-left-color: #2ecc71; }
.hub-server-banner {
  width: 190px;
  height: 108px;
  object-fit: cover;
  background:#000;
  display:block;
}
.hub-server-body {
  padding: 11px 16px;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.hub-server-badges {
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:5px;
}
.hub-badge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.4px;
  text-transform:uppercase;
  border:1px solid rgba(255,255,255,.10);
  color:#e8f8ff;
  background:rgba(255,255,255,.05);
}
.hub-badge img,
.hub-server-ip img,
.country-flag-img {
  width:16px;
  height:12px;
  object-fit:cover;
  border-radius:2px;
  display:block;
  box-shadow:0 0 0 1px rgba(255,255,255,.12);
}
.hub-badge.premium { background:rgba(255,174,0,.14); border-color:rgba(255,174,0,.28); color:#ffd46b; }
.hub-badge.verified,
.hub-badge.claim-verified { background:rgba(46,204,113,.14); border-color:rgba(46,204,113,.28); color:#8ff0b7; }
.hub-badge.claim-pending { background:rgba(255,183,77,.14); border-color:rgba(255,183,77,.26); color:#ffce79; }
.hub-server-title {
  margin:0 0 2px;
  font-size:15px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.65px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:#fff;
}
.hub-server-ip {
  color:#2ecc71;
  font-size:14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  margin-bottom:5px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.hub-server-meta {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  font-size:11px;
  color:#98afbf;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.45px;
}
.hub-server-meta strong { color:#eef9ff; }
.hub-server-meta .mapName { color:#fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-transform:none; }
.hub-server-motd {
  margin:6px 0 0;
  font-size:11px;
  color:#9eb8c9;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.hub-server-slots {
  padding: 12px 12px 10px;
  text-align:center;
  min-width:104px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
}
.hub-server-slots .v { font-size:14px; font-weight:1000; color:#2ecc71; line-height:1; }
.hub-server-slots .s { font-size:10px; color:#7d96a7; font-weight:900; text-transform:uppercase; letter-spacing:.7px; }
.hub-server-actions { display:flex; flex-direction:column; width:116px; min-height:108px; }
.hub-server-actions .join,
.hub-server-actions .details {
  flex:1;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.8px;
  font-size:10px;
}
.hub-server-actions .join { background: linear-gradient(180deg, rgba(46,204,113,1), rgba(39,174,96,1)); color:#000; }
.hub-server-actions .join:hover { filter: brightness(1.06); }
.hub-server-actions .details { background: rgba(255,255,255,.04); color:#d8f3ff; border-top:1px solid rgba(255,255,255,.06); }
.hub-server-actions .details:hover { background: rgba(255,255,255,.07); }
.server-progress.tight { height:6px; margin-top:4px; }
.mc-icon.big { width:28px; height:28px; margin:0 auto 2px; }
.avatar-mini,
.profile-avatar,
.player-avatar img,
.live-player-avatar img,
.steam-avatar img {
  display:block;
}
.avatar-mini {
  width:42px;
  height:42px;
  min-width:42px;
  min-height:42px;
  border-radius:50%;
  object-fit:cover;
  overflow:hidden;
  flex-shrink:0;
  background:#10171f;
  border:1px solid rgba(0,229,255,.18);
}
@media (max-width: 980px) {
  .hub-server-card { grid-template-columns: 160px minmax(0,1fr) 92px 104px; }
  .hub-server-banner { width:160px; height:104px; }
  .hub-server-actions { width:104px; }
}
@media (max-width: 760px) {
  .hub-server-card { grid-template-columns: 1fr; }
  .hub-server-banner { width:100%; height:130px; }
  .hub-server-slots { text-align:left; padding: 0 16px 12px; align-items:flex-start; }
  .hub-server-actions { width:100%; min-height:0; display:grid; grid-template-columns:1fr 1fr; }
  .hub-server-actions .details { border-top:0; border-left:1px solid rgba(255,255,255,.06); }
}

.country-flag-img,
.hub-server-ip img,
.hub-badge.country img {
  background:#0f151c;
}
.avatar-mini,
.profile-avatar,
.player-avatar img,
.live-player-avatar img,
.steam-avatar img {
  position:relative;
  z-index:2;
}
.compact-home-list .hub-server-card { margin-bottom: 12px; }


.landing-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.landing-card{padding:20px}.feature-list.compact{margin:12px 0 0 0;padding-left:18px;color:#c7d6e5}.feature-list.compact li{margin:6px 0}.trust-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.trust-box{background:rgba(255,255,255,.03);border:1px solid rgba(0,229,255,.08);border-radius:14px;padding:12px 13px;display:flex;flex-direction:column;gap:6px}.trust-box strong{font-size:13px;color:#fff}.trust-box span{font-size:12px;color:#a8bdd1;line-height:1.4}.badge-cyan{background:rgba(0,229,255,.12);color:#8ef4ff}.compact-stats-strip .stat-card{padding:14px 16px}.compact-stats-strip .stat-card strong{font-size:24px}.server-list-tight .hub-server-card{min-height:0}@media (max-width: 900px){.landing-grid{grid-template-columns:1fr}.trust-grid{grid-template-columns:1fr}}


.chat-scroll-box{max-height:190px;overflow-y:auto;padding-right:6px}
.chat-feed-compact{gap:8px}
.chat-feed-compact .compact-card{padding:10px 12px}
.bridge-chat-line{font-size:9px;line-height:1.35;font-weight:300;color:var(--muted);margin:4px 0 0}
.chart-card{padding:18px}
.chart-wrap{width:100%}
.player-chart-svg{width:100%;height:180px;display:block;background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.01));border:1px solid var(--line-soft);border-radius:16px;padding:10px}
.chart-label-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(48px,1fr));gap:6px;margin-top:10px;color:var(--muted-2);font-size:11px}
.chart-label-row span{text-align:center}
.chart-stats-inline{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.player-history-card .detail-grid{margin-top:8px}
.player-history-meta{margin-left:auto}
.compact-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}
.player-page-stats{margin-bottom:8px}


.landing-block-image{width:100%;height:180px;object-fit:cover;border-radius:16px;margin-bottom:14px;border:1px solid var(--line-soft)}
.plugin-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;padding:4px 0 0}
.plugin-option{display:flex;gap:10px;align-items:flex-start;background:rgba(255,255,255,.03);border:1px solid var(--line-soft);border-radius:14px;padding:10px 12px}
.plugin-option input{margin-top:3px}.plugin-option span{display:flex;flex-direction:column;gap:3px}.plugin-option small{color:var(--muted);font-size:11px;line-height:1.35}
.gallery-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.gallery-admin-item{display:flex;flex-direction:column;gap:8px;background:rgba(255,255,255,.03);padding:10px;border:1px solid var(--line-soft);border-radius:14px}.gallery-admin-item img{width:100%;height:120px;object-fit:cover;border-radius:10px}
.server-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:16px}.server-gallery-item img{width:100%;height:140px;object-fit:cover;border-radius:14px;border:1px solid var(--line-soft)}
.detail-long-copy{margin-top:12px;color:#d8e5f2;line-height:1.6;font-size:14px}.detail-feature-box,.detail-plugin-box{margin-top:14px;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(0,229,255,.08)}.detail-feature-box strong,.detail-plugin-box strong{display:block;margin-bottom:8px;color:#fff}.detail-feature-box p{margin:0;color:#bcd0e3;line-height:1.55}.plugin-badges{display:flex;flex-wrap:wrap;gap:8px}.chart-seed-note{margin-bottom:10px;font-size:12px;color:var(--muted)}


/* v16 server detail */
.server-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.06)}
.server-tab{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:#cfe8ef;text-decoration:none;font-size:13px;font-weight:700}
.server-tab.active{background:rgba(0,229,255,.16);border-color:rgba(0,229,255,.34);color:#fff}
.server-live-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.server-live-columns.single{grid-template-columns:1fr}
.server-live-column{min-width:0}
.fixed-panel{min-height:220px}
.fixed-panel.tall{min-height:320px}
.compact-scroll{max-height:220px;overflow:auto}
.live-player-list.compact-scroll{padding:4px}
.live-player-card.compact{display:flex;align-items:center;gap:10px;padding:8px 10px;border-bottom:1px solid rgba(255,255,255,.05)}
.live-player-card.compact:last-child{border-bottom:0}
.live-player-copy{display:flex;flex-direction:column;min-width:0}
.live-player-copy strong{font-size:13px;line-height:1.2}
.tiny{font-size:11px}
.bridge-chat-wrap.compact-scroll{padding:8px}
.bridge-chat-item.micro-chat{padding:6px 8px;border-bottom:1px solid rgba(255,255,255,.05)}
.bridge-chat-item.micro-chat:last-child{border-bottom:0}
.bridge-chat-item.micro-chat .bridge-chat-head{display:flex;justify-content:space-between;gap:10px;font-size:10px;line-height:1.1;margin-bottom:3px;color:#a8bcc5}
.bridge-chat-item.micro-chat .bridge-chat-head strong{font-size:10px;color:#dffaff}
.bridge-chat-item.micro-chat p{font-size:9px;line-height:1.25;font-weight:300;margin:0;color:#d8e8ee}
.plugin-filter-row{margin-top:12px}
.plugin-list{display:grid;gap:12px;margin-top:14px}
.plugin-list-item{padding:14px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06)}
.plugin-list-item h3{margin:0 0 6px;font-size:15px}
.plugin-list-item p{margin:0;color:#a9bdc5;font-size:13px;line-height:1.45}
.tab-panel-box{margin-top:14px}
.compact-head{margin-bottom:10px}
.compact-head .section-copy{margin:4px 0 0}
@media (max-width: 900px){
  .server-live-columns{grid-template-columns:1fr}
}

.page-shell.page-shell-servers,
.section .container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
}


.admin-quick-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:16px 0 20px}
.admin-quick-links a{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 14px;border-radius:12px;background:rgba(11,18,24,.9);border:1px solid rgba(0,229,255,.14);color:#dffaff;text-decoration:none;font-size:13px;font-weight:600}
.admin-quick-links a:hover{border-color:rgba(0,229,255,.35);background:rgba(14,24,31,.98)}


/* v18 polish */
.admin-quick-links{
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  align-items:stretch;
}
.admin-quick-links a{
  min-height:46px;
  text-align:center;
  box-shadow:0 10px 24px rgba(0,0,0,.16);
}
.server-live-columns{
  align-items:stretch;
}
.server-live-column{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.server-live-column .section-head.compact-head{
  min-height:46px;
  margin-bottom:0;
}
.server-live-column .fixed-panel,
.server-live-column .bridge-chat-wrap.compact-scroll,
.server-live-column .live-player-list.compact-scroll{
  flex:1 1 auto;
}
.fixed-panel,
.compact-scroll{
  scrollbar-width:thin;
}
.fixed-panel::-webkit-scrollbar,
.compact-scroll::-webkit-scrollbar{
  width:8px;
}
.fixed-panel::-webkit-scrollbar-thumb,
.compact-scroll::-webkit-scrollbar-thumb{
  background:rgba(0,229,255,.22);
  border-radius:999px;
}
.detail-grid > div,
.stats-strip.compact .stat-card,
.plugin-list-item,
.server-post-box,
.claim-box{
  box-sizing:border-box;
}


/* v21 polish, legal and analytics */
.badge, .state-pill, .chip, .filter-chip {
  font-size: 10px;
  padding: 6px 8px;
}

.server-title-wrap {
  min-height: 46px;
  display: flex;
  align-items: flex-start;
}

.server-title {
  min-height: calc(1.18em * 2);
  line-height: 1.18;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.players-row, .metric-row {
  min-height: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.live-columns {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 16px;
  align-items: stretch;
}
.live-box, .players-box, .chat-box {
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.live-box-header, .players-box-header, .chat-box-header {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.live-box-body, .players-box-body, .chat-box-body {
  flex: 1;
  overflow: auto;
}
.chat-box-body {
  max-height: 220px;
}
.chat-line {
  font-size: 10px;
  line-height: 1.25;
  font-weight: 300;
  padding: 4px 0;
}
.chat-line strong {
  font-size: 10px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--text);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 920px;
  margin: 0 auto;
  border-radius: 18px;
  padding: 16px;
  display: none;
}
.cookie-banner.is-visible {
  display: block;
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.legal-content {
  max-width: 920px;
}
.legal-content .form-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}
html,
body {
    background: #05080d;
    background-color: #05080d;
    color: #eef7ff;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
}

.site-shell,
.page-shell,
.main-content,
.container {
    background: transparent;
}

#app,
.site-wrap,
.page-wrap {
    min-height: 100vh;
    background: #05080d;
}

/* iPhone / Safari Pull-to-Refresh nicht blockieren */
html {
    overscroll-behavior-y: auto;
}

html,
body,
.site-body,
.site-main {
    background: #05080d;
    background-color: #05080d;
}

body {
    overflow-x: hidden;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}
@media (max-width: 900px) {
  .live-columns {
    grid-template-columns: 1fr;
  }
}

.compact-country{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;line-height:1;}
.compact-country .country-flag-img{display:block;width:18px;height:18px;object-fit:cover;}
.admin-rank-server-form {
    min-width: 130px;
    max-width: 140px;
}

.admin-rank-server-form .input {
    font-size: 12px;
    padding: 6px 8px;
}

.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 180px;
}

.admin-table td,
.admin-table th {
    vertical-align: top;
}
.rankServerStack {
    display: grid;
    gap: 14px;
}

.rankServerRow {
    margin-bottom: 0;
}

.rankServerIcon {
    display: grid;
    place-items: center;
    font-size: 22px;
    color: var(--cyan);
}

.rankServerRow .stats .btn {
    padding: 6px 10px;
    font-size: 12px;
}

@media (max-width: 760px) {
    .rankServerRow .top {
        align-items: flex-start;
    }

    .rankServerRow .xpbox {
        width: 100%;
        margin-top: 10px;
    }
/* Rank Servers */
.rank-servers-list{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.rank-server-card{
    border:1px solid rgba(255,255,255,.08);
    background:rgba(10,18,28,.88);
    border-radius:16px;
    padding:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.rank-server-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-bottom:10px;
}

.rank-server-title-wrap{
    display:flex;
    flex-direction:column;
    gap:10px;
    min-width:0;
}

.rank-server-title{
    margin:0;
    font-size:22px;
    line-height:1.2;
}

.rank-server-title a{
    color:#eef7ff;
    text-decoration:none;
}

.rank-server-title a:hover{
    color:var(--cyan);
}

.rank-server-badges{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.rank-server-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
    flex-shrink:0;
}

.rank-server-address{
    color:#89a1bc;
    font-size:14px;
    margin-bottom:16px;
    word-break:break-word;
}

.rank-server-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
    gap:12px;
}

.rank-server-stat{
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.06);
    border-radius:12px;
    padding:12px;
}

.rank-server-stat .label{
    display:block;
    font-size:12px;
    color:#89a1bc;
    margin-bottom:6px;
}

.rank-server-stat strong{
    color:#eef7ff;
    font-size:15px;
}

.rank-empty{
    padding:20px;
    border-radius:12px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.06);
    color:#eef7ff;
}

.rank-empty-sub{
    margin-top:8px;
    color:#89a1bc;
    font-size:14px;
}

@media (max-width: 820px){
    .rank-server-top{
        flex-direction:column;
    }

    .rank-server-actions{
        justify-content:flex-start;
    }

    .rank-server-title{
        font-size:18px;
    }
}
