/* HexaHosting Control Panel – Design v2 („tiefschwarzes Glas“)
   Basis/Komponenten aus https://cdn.hexahosting.de/assets/css/hexa.css, hier überschrieben/erweitert.
   Keine Inline-Styles: dynamische Werte kommen ausschließlich als CSS-Variablen per CSSOM (--p, --rx, …). */

@property --cp-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --cp-bg: #05060d;
  --cp-glass: rgba(14, 16, 34, .58);
  --cp-glass-strong: rgba(12, 14, 30, .86);
  --cp-line: rgba(255, 255, 255, .075);
  --cp-line-2: rgba(255, 255, 255, .12);
  --cp-text: #eef0fb;
  --cp-muted: #9097b8;
  --cp-primary: #7c5cff;
  --cp-accent: #22d3ee;
  --cp-ok: #22c55e;
  --cp-warn: #f59e0b;
  --cp-danger: #ef4444;
  --cp-radius: 18px;
  --cp-radius-sm: 12px;
  --cp-ease: cubic-bezier(.2, .7, .2, 1);
  --cp-grad: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
  --cp-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  --fam: #7c5cff;
  --fam-rgb: 124, 92, 255;
}

/* Family-Farben */
.fam-minecraft { --fam: #4ade80; --fam-rgb: 74, 222, 128; }
.fam-rust      { --fam: #f97316; --fam-rgb: 249, 115, 22; }
.fam-ark       { --fam: #38bdf8; --fam-rgb: 56, 189, 248; }
.fam-cs2       { --fam: #facc15; --fam-rgb: 250, 204, 21; }
.fam-fivem     { --fam: #f43f5e; --fam-rgb: 244, 63, 94; }
.fam-redm      { --fam: #dc2626; --fam-rgb: 220, 38, 38; }
.fam-default   { --fam: #7c5cff; --fam-rgb: 124, 92, 255; }

[hidden] { display: none !important; }

/* =========================================================================
   Basis
   ========================================================================= */
html { background: var(--cp-bg); }
.cp-body {
  margin: 0;
  min-height: 100vh;
  background: var(--cp-bg);
  background-image: none;
  color: var(--cp-text);
  font-family: var(--hx-font, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  line-height: 1.55;
  overflow-x: hidden;
}
.cp-body *, .cp-body *::before, .cp-body *::after { box-sizing: border-box; }
.cp-body a:not(.hx-btn) { color: var(--cp-accent); text-decoration: none; }
.cp-body a:not(.hx-btn):hover { color: #67e8f9; text-decoration: underline; text-underline-offset: 3px; }
.cp-body :focus-visible { outline: 2px solid var(--cp-accent); outline-offset: 3px; }
.cp-body h1, .cp-body h2, .cp-body h3 { letter-spacing: -.02em; }

.cp-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.cp-skip {
  position: absolute; left: 8px; top: -60px; z-index: 1000;
  padding: 8px 14px; border-radius: 10px;
  background: var(--cp-primary); color: #fff !important;
}
.cp-skip:focus { top: 8px; }

.cp-muted { color: var(--cp-muted); }
.cp-hint { display: block; margin-top: 4px; font-size: .82rem; }
.cp-small { font-size: .85rem; }
.cp-mono { font-family: var(--hx-mono, ui-monospace, monospace); }
.cp-req { color: var(--cp-danger); }
.cp-grad-text {
  background: linear-gradient(100deg, #a78bfa 0%, #7c5cff 30%, #22d3ee 70%, #a5f3fc 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: cp-shine 8s linear infinite;
}
.cp-ico { flex: none; }

.cp-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--cp-line-2);
  background: rgba(255, 255, 255, .04);
  color: var(--cp-text);
  vertical-align: middle;
}
.cp-chip--beta {
  border-color: rgba(124, 92, 255, .55);
  background: linear-gradient(135deg, rgba(124, 92, 255, .25), rgba(34, 211, 238, .18));
  color: #e9e4ff;
  box-shadow: 0 0 18px rgba(124, 92, 255, .35);
}
.cp-chip--ok { border-color: rgba(34, 197, 94, .5); background: rgba(34, 197, 94, .14); color: #86efac; }

/* =========================================================================
   Hintergrund
   ========================================================================= */
.cp-bg {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(124, 92, 255, .14), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(34, 211, 238, .07), transparent 60%),
    var(--cp-bg);
}
.cp-bg__hex {
  position: absolute; left: 0; top: 0;
  width: 100%; height: calc(100% + 90px);
  animation: cp-hexpan 40s linear infinite;
}
.cp-bg__orb {
  position: absolute;
  width: 46vmax; height: 46vmax;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
  animation: cp-drift 26s ease-in-out infinite alternate;
}
.cp-bg__orb--a { left: -12vmax; top: -14vmax; background: radial-gradient(circle, rgba(124, 92, 255, .7), transparent 65%); }
.cp-bg__orb--b { right: -16vmax; top: 20vh; background: radial-gradient(circle, rgba(34, 211, 238, .45), transparent 65%); animation-duration: 32s; animation-delay: -8s; }
.cp-bg__orb--c { left: 30vw; bottom: -26vmax; background: radial-gradient(circle, rgba(244, 63, 94, .28), transparent 65%); animation-duration: 38s; animation-delay: -16s; }
.cp-bg__grid {
  position: absolute; left: -10%; right: -10%; bottom: -10%; height: 45vh;
  background-image:
    linear-gradient(rgba(124, 92, 255, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 255, .14) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  opacity: .5;
  animation: cp-gridmove 6s linear infinite;
}

/* =========================================================================
   Glas, Glow, Buttons, Inputs
   ========================================================================= */
.cp-glass {
  position: relative;
  background: var(--cp-glass);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), var(--cp-shadow);
}
/* Animierter Gradient-Rahmen */
.cp-glow { position: relative; isolation: isolate; }
.cp-glow::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--cp-angle),
    transparent 0deg, transparent 200deg,
    rgba(var(--fam-rgb), .95) 260deg, #22d3ee 300deg, rgba(var(--fam-rgb), .95) 330deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: cp-angle 6s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.cp-body .hx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: var(--cp-radius-sm);
  font-weight: 700;
  letter-spacing: .01em;
  border: 1px solid var(--cp-line-2);
  background: rgba(255, 255, 255, .04);
  color: var(--cp-text);
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s var(--cp-ease), box-shadow .25s var(--cp-ease), background-color .2s, border-color .2s, opacity .2s;
  white-space: nowrap;
  max-width: 100%;
}
.cp-body .hx-btn:hover { text-decoration: none; transform: translateY(-1px); border-color: rgba(255, 255, 255, .25); }
.cp-body .hx-btn:active { transform: translateY(0) scale(.98); }
.cp-body .hx-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.cp-body .hx-btn--primary {
  border-color: transparent;
  background: var(--cp-grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 92, 255, .35);
}
.cp-body .hx-btn--primary:hover { box-shadow: 0 10px 32px rgba(124, 92, 255, .55), 0 0 0 1px rgba(255, 255, 255, .15) inset; }
.cp-body .hx-btn--ghost { background: rgba(255, 255, 255, .03); }
.cp-body .hx-btn--ghost:hover { background: rgba(255, 255, 255, .07); }
.cp-body .hx-btn--danger { background: rgba(239, 68, 68, .14); border-color: rgba(239, 68, 68, .5); color: #fecaca; }
.cp-body .hx-btn--danger:hover { background: rgba(239, 68, 68, .26); box-shadow: 0 0 24px rgba(239, 68, 68, .35); }
.cp-body .hx-btn--sm { min-height: 34px; padding: 6px 12px; font-size: .85rem; border-radius: 10px; }
.cp-body .hx-btn--block { width: 100%; }
.cp-btn-xl { min-height: 54px !important; padding: 14px 28px !important; font-size: 1.05rem; border-radius: 14px !important; }
.cp-btn-glow { position: relative; overflow: hidden; }
.cp-btn-glow::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  animation: cp-sweep 3.8s ease-in-out infinite;
  pointer-events: none;
}
.cp-body .hx-btn.is-busy, .cp-pbtn.is-busy {
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .12) 0 10px, transparent 10px 20px);
  background-size: 28px 28px;
  animation: cp-stripes .8s linear infinite;
  cursor: progress;
}

.cp-body .hx-input, .cp-body .hx-select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--cp-radius-sm);
  border: 1px solid var(--cp-line-2);
  background: rgba(5, 6, 13, .65);
  color: var(--cp-text);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.cp-body .hx-input:hover { border-color: rgba(255, 255, 255, .2); }
.cp-body .hx-input:focus, .cp-body .hx-input:focus-visible {
  outline: none;
  border-color: var(--cp-primary);
  background: rgba(5, 6, 13, .9);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, .3), 0 0 24px rgba(124, 92, 255, .25);
}
.cp-body .hx-input[aria-invalid="true"] { border-color: var(--cp-danger); box-shadow: 0 0 0 3px rgba(239, 68, 68, .25); }
.cp-body .hx-label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; color: #d6d9ee; }
.cp-body .hx-field { margin: 0 0 16px; min-width: 0; }

.cp-form { display: block; }
.cp-form-error, .cp-form-success {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--cp-radius-sm);
  font-size: .92rem;
}
.cp-form-error { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .45); color: #fecaca; }
.cp-form-error__link { display: inline-block; margin-top: 6px; font-weight: 700; margin-left: 4px; }
.cp-form-success { background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .45); color: #bbf7d0; }
.cp-form__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.cp-form--inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.cp-form--inline .hx-field { flex: 1 1 220px; margin: 0; }

.cp-linkbtn {
  border: 0; background: none; padding: 0;
  color: var(--cp-accent); font: inherit; font-weight: 600; cursor: pointer;
}
.cp-linkbtn:hover { text-decoration: underline; }

/* =========================================================================
   Boot
   ========================================================================= */
.cp-boot {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  color: var(--cp-muted);
}
.cp-boot__mark {
  position: relative;
  width: 96px; height: 96px;
  display: grid; place-items: center;
}
.cp-boot__mark::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(from var(--cp-angle), transparent 0 60%, #7c5cff 80%, #22d3ee 100%);
  -webkit-mask: radial-gradient(circle, transparent 44px, #000 45px);
  mask: radial-gradient(circle, transparent 44px, #000 45px);
  animation: cp-angle 1.4s linear infinite;
}
.cp-boot__mark img { filter: drop-shadow(0 0 22px rgba(124, 92, 255, .7)); animation: cp-breathe 2.4s ease-in-out infinite; }

/* =========================================================================
   Auth (Split-Screen)
   ========================================================================= */
.cp-auth { min-height: 100vh; display: grid; grid-template-columns: 1fr; }
.cp-auth__art { display: none; }
.cp-auth__panel {
  display: flex; align-items: center; justify-content: center;
  padding: 40px 16px;
  min-width: 0;
}
.cp-auth__inner { width: 100%; max-width: 440px; }
.cp-auth__logo { display: flex; justify-content: center; margin-bottom: 26px; }
.cp-auth__logo img { height: 34px; width: auto; }
.cp-auth__card { padding: 30px 26px; }
.cp-auth__title { margin: 0 0 6px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.1rem); font-weight: 900; }
.cp-auth__lead { margin: 0 0 22px; }
.cp-auth__switch { margin: 18px 0 0; text-align: center; color: var(--cp-muted); }
.cp-auth__back { margin: 20px 0 0; text-align: center; font-size: .9rem; }
.cp-auth__back a { color: var(--cp-muted) !important; }

@media (min-width: 960px) {
  .cp-auth { grid-template-columns: 1.15fr 1fr; }
  .cp-auth__art {
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    padding: 48px;
    border-right: 1px solid var(--cp-line);
    background:
      radial-gradient(600px 500px at 50% 40%, rgba(124, 92, 255, .2), transparent 70%),
      linear-gradient(180deg, rgba(5, 6, 13, .2), rgba(5, 6, 13, .7));
  }
  .cp-auth__art-inner { max-width: 520px; text-align: left; }
  .cp-auth__logo { justify-content: flex-start; }
}
.cp-hexcore { width: min(380px, 80%); height: auto; display: block; margin: 0 0 20px -10px; overflow: visible; }
.cp-hexcore__ring { transform-box: view-box; transform-origin: 200px 200px; animation: cp-spin 40s linear infinite; }
.cp-hexcore__ring--2 { animation-duration: 26s; animation-direction: reverse; }
.cp-hexcore__ring--3 { animation-duration: 16s; }
.cp-hexcore__core { transform-box: view-box; transform-origin: 200px 200px; animation: cp-breathe 3.2s ease-in-out infinite; filter: drop-shadow(0 0 24px rgba(124, 92, 255, .8)); }
.cp-auth__claim { margin: 0 0 18px; font-size: clamp(2rem, 1.2rem + 2.2vw, 3.2rem); line-height: 1.05; font-weight: 900; }
.cp-auth__points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; color: #c9cde6; }
.cp-auth__points li { position: relative; padding-left: 26px; }
.cp-auth__points li::before {
  content: "";
  position: absolute; left: 0; top: .45em;
  width: 12px; height: 12px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--cp-grad);
  box-shadow: 0 0 10px #7c5cff;
}
.cp-auth__beta { margin: 0; color: var(--cp-muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.cp-enter { animation: cp-in .5s var(--cp-ease) both; }

/* =========================================================================
   Shell
   ========================================================================= */
.cp-shell { min-height: 100vh; }
.cp-sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 60;
  width: 264px;
  display: flex; flex-direction: column;
  padding: 18px 14px;
  background: rgba(7, 8, 18, .78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-right: 1px solid var(--cp-line);
  overflow-y: auto;
}
.cp-sidebar__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 18px; }
.cp-sidebar__logo img { height: 30px; width: auto; }
.cp-sidebar__close { display: none; }
.cp-nav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cp-nav__link {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  color: #b8bdd8 !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color .2s, color .2s, transform .2s var(--cp-ease);
}
.cp-nav__link:hover { background: rgba(255, 255, 255, .05); color: #fff !important; transform: translateX(2px); }
.cp-nav__link[aria-current="page"] {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(124, 92, 255, .28), rgba(34, 211, 238, .06));
  box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .35), 0 0 24px rgba(124, 92, 255, .18);
}
.cp-nav__link[aria-current="page"]::before {
  content: "";
  position: absolute; left: -14px; top: 10px; bottom: 10px;
  width: 4px; border-radius: 0 4px 4px 0;
  background: var(--cp-grad);
  box-shadow: 0 0 12px #7c5cff;
}
.cp-nav__icon { width: 20px; height: 20px; flex: none; }
.cp-sidebar__beta {
  margin: 20px 4px 0;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(124, 92, 255, .3);
  background: linear-gradient(160deg, rgba(124, 92, 255, .14), rgba(34, 211, 238, .05));
}
.cp-sidebar__beta p { margin: 8px 0 0; font-size: .85rem; color: #c9cde6; }
.cp-sidebar__foot { margin-top: auto; padding: 18px 8px 4px; display: grid; gap: 6px; }
.cp-sidebar__ext { font-size: .85rem; color: var(--cp-muted) !important; }

.cp-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.cp-content { margin-left: 264px; min-width: 0; min-height: 100vh; display: flex; flex-direction: column; }

.cp-topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  min-height: 64px;
  padding: 10px 28px;
  background: rgba(5, 6, 13, .6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cp-line);
}
.cp-topbar__menu, .cp-topbar__brand { display: none; }
.cp-topbar__spacer { flex: 1; }
.cp-topbar__user { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cp-topbar__name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.cp-avatar {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; flex: none;
  border-radius: 50%;
  background: var(--cp-grad);
  color: #fff; font-weight: 800;
  box-shadow: 0 0 0 2px rgba(5, 6, 13, .9), 0 0 0 3px rgba(124, 92, 255, .6), 0 0 18px rgba(124, 92, 255, .5);
}
.cp-avatar--xl { width: 64px; height: 64px; font-size: 1.6rem; }
.cp-iconbtn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--cp-line-2);
  background: rgba(255, 255, 255, .04);
  color: var(--cp-text);
  cursor: pointer;
}
.cp-iconbtn:hover { background: rgba(255, 255, 255, .08); }

.cp-main {
  flex: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 28px 64px;
  outline: none;
  min-width: 0;
}
.cp-view-in { animation: cp-view .45s var(--cp-ease) both; }

@media (max-width: 959px) {
  .cp-sidebar {
    transform: translateX(-105%);
    transition: transform .3s var(--cp-ease);
    width: min(300px, 86vw);
    box-shadow: 20px 0 60px rgba(0, 0, 0, .6);
  }
  .cp-shell--nav-open .cp-sidebar { transform: none; }
  .cp-sidebar__close { display: inline-grid; }
  .cp-content { margin-left: 0; }
  .cp-topbar { padding: 10px 16px; }
  .cp-topbar__menu { display: inline-grid; }
  .cp-topbar__brand { display: inline-flex; }
  .cp-main { padding: 22px 16px 56px; }
}
@media (max-width: 520px) {
  .cp-topbar__name, .cp-topbar__logout-text { display: none; }
  .cp-topbar__logout { padding: 6px 10px !important; }
}

/* =========================================================================
   Seitenkopf, Sektionen, Karten
   ========================================================================= */
.cp-page-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 26px;
}
.cp-page-head__text { min-width: 0; flex: 1 1 320px; }
.cp-page-head__title {
  margin: 0;
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.08;
  outline: none;
  overflow-wrap: anywhere;
}
.cp-page-head__sub { margin: 8px 0 0; color: var(--cp-muted); font-size: 1.02rem; max-width: 70ch; }
.cp-page-head__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cp-back { display: inline-block; margin-bottom: 8px; font-size: .9rem; font-weight: 600; color: var(--cp-muted) !important; }
.cp-back:hover { color: #fff !important; text-decoration: none !important; }

.cp-section { margin: 34px 0 0; }
.cp-section__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.cp-section__title { margin: 0 0 12px; font-size: 1.25rem; font-weight: 800; }
.cp-section__head .cp-section__title { margin: 0; }
.cp-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

.cp-stack { display: grid; gap: 22px; }
.cp-stack > section > .cp-section__title { margin-top: 6px; }
.cp-cols { display: grid; gap: 22px; grid-template-columns: 1fr; margin-top: 22px; }
.cp-stack .cp-cols { margin-top: 0; }
@media (min-width: 900px) {
  .cp-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .cp-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.cp-card { padding: 24px; min-width: 0; }
.cp-card__title { margin: 0 0 12px; font-size: 1.15rem; font-weight: 800; }
.cp-card__lead { margin: -6px 0 16px; }
.cp-empty { text-align: center; padding: 34px 24px; }
.cp-empty p { margin: 0; }
.cp-error-box { padding: 24px; border-color: rgba(239, 68, 68, .4); }
.cp-error-box p { margin: 0 0 14px; color: #fecaca; }
.cp-warn-text { color: #fcd34d; margin: 0 0 14px; }

/* Scroll-Reveal */
[data-reveal] { opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .6s var(--cp-ease), transform .6s var(--cp-ease); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-tilt].is-in { transition: opacity .6s var(--cp-ease), transform .25s var(--cp-ease); }
[data-tilt].is-tilting { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-3px); transition-delay: 0ms; }
[data-tilt]::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--fam-rgb), .14), transparent 45%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
[data-tilt].is-tilting::after { opacity: 1; }

/* =========================================================================
   Skeleton-Loader
   ========================================================================= */
.cp-skel { display: grid; gap: 22px; }
.cp-skel-head { display: grid; gap: 12px; margin-bottom: 4px; }
.cp-sk {
  border-radius: var(--cp-radius);
  background: linear-gradient(100deg, rgba(255, 255, 255, .035) 30%, rgba(124, 92, 255, .12) 50%, rgba(255, 255, 255, .035) 70%);
  background-size: 300% 100%;
  border: 1px solid var(--cp-line);
  animation: cp-shimmer 1.5s ease-in-out infinite;
}
.cp-sk--title { height: 44px; width: min(420px, 80%); border-radius: 12px; }
.cp-sk--line { height: 16px; width: min(560px, 95%); border-radius: 8px; }
.cp-sk--tile { height: 118px; }
.cp-sk--hero { height: 260px; }
.cp-sk--card { height: 220px; }
.cp-sk--ring { height: 230px; }
.cp-sk--stepper { height: 56px; border-radius: 999px; }
.cp-sk--block { height: 180px; }

/* =========================================================================
   Dashboard
   ========================================================================= */
.cp-hello { margin-bottom: 26px; }
.cp-hello__kicker { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; color: var(--cp-muted); font-weight: 600; font-size: .9rem; }
.cp-hello__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); }

.cp-stats { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) { .cp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cp-stat { padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow: hidden; }
.cp-stat::after {
  content: "";
  position: absolute; right: -30px; top: -30px;
  width: 110px; height: 110px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(135deg, rgba(124, 92, 255, .22), transparent 70%);
  pointer-events: none;
}
.cp-stat__label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cp-muted); }
.cp-stat__value { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cp-stat__of { color: var(--cp-muted); font-weight: 700; font-size: .6em; }
.cp-stat__sub { font-size: .85rem; color: var(--cp-muted); }
.cp-stat--primary .cp-stat__value { background: var(--cp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cp-stat--ok .cp-stat__value { color: #4ade80; text-shadow: 0 0 24px rgba(74, 222, 128, .45); }
.cp-stat--ok::after { background: linear-gradient(135deg, rgba(34, 197, 94, .25), transparent 70%); }
.cp-stat--accent .cp-stat__value { color: #67e8f9; text-shadow: 0 0 24px rgba(34, 211, 238, .4); }
.cp-stat--accent::after { background: linear-gradient(135deg, rgba(34, 211, 238, .22), transparent 70%); }

.cp-quick { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 34px; }
@media (min-width: 900px) { .cp-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cp-quick__item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  color: var(--cp-text) !important;
  text-decoration: none !important;
  transition: border-color .2s, transform .25s var(--cp-ease), box-shadow .25s, opacity .6s var(--cp-ease);
}
.cp-quick__item:hover { border-color: rgba(124, 92, 255, .5); box-shadow: 0 0 30px rgba(124, 92, 255, .2), var(--cp-shadow); }
.cp-quick__item > .cp-ico:last-child { margin-left: auto; color: var(--cp-muted); transition: transform .2s; }
.cp-quick__item:hover > .cp-ico:last-child { transform: translateX(4px); color: #fff; }
.cp-quick__icon {
  display: grid; place-items: center;
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 92, 255, .3), rgba(34, 211, 238, .15));
  color: #fff;
}
.cp-quick__text { display: grid; min-width: 0; }
.cp-quick__text span { color: var(--cp-muted); font-size: .86rem; }

/* =========================================================================
   Status-Badge
   ========================================================================= */
.cp-status {
  --st: #9097b8; --st-rgb: 144, 151, 184;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--st-rgb), .45);
  background: rgba(var(--st-rgb), .12);
  color: var(--st);
  font-size: .82rem; font-weight: 800;
  white-space: nowrap;
  flex: none;
}
.cp-status--ok { --st: #4ade80; --st-rgb: 74, 222, 128; }
.cp-status--warn { --st: #fbbf24; --st-rgb: 251, 191, 36; }
.cp-status--danger { --st: #f87171; --st-rgb: 248, 113, 113; }
.cp-status--info { --st: #67e8f9; --st-rgb: 103, 232, 249; }
.cp-status__dot {
  position: relative;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--st);
  box-shadow: 0 0 10px var(--st);
}
.cp-status--ok .cp-status__dot::after,
.cp-status--busy .cp-status__dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--st);
  animation: cp-ping 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}
.cp-status--busy .cp-status__dot { animation: cp-blink 1s ease-in-out infinite; }

/* =========================================================================
   Server-Karten
   ========================================================================= */
.cp-srv-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .cp-srv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cp-srv-grid--single { grid-template-columns: 1fr; } }
.cp-srv {
  display: flex; flex-direction: column; gap: 18px;
  padding: 22px;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(500px 220px at 0% 0%, rgba(var(--fam-rgb), .16), transparent 70%),
    var(--cp-glass);
}
.cp-srv--big { padding: 28px; }
.cp-srv__top { display: flex; align-items: center; gap: 16px; min-width: 0; }
.cp-srv__art { width: 64px; height: 64px; flex: none; }
.cp-srv--big .cp-srv__art { width: 86px; height: 86px; }
.cp-srv__id { flex: 1; min-width: 0; }
.cp-srv__name { margin: 0; font-size: 1.3rem; font-weight: 900; overflow-wrap: anywhere; }
.cp-srv--big .cp-srv__name { font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); }
.cp-srv__name a { color: var(--cp-text) !important; }
.cp-srv__name a:hover { color: #fff !important; text-decoration: none !important; text-shadow: 0 0 18px rgba(var(--fam-rgb), .7); }
.cp-srv__meta { margin: 2px 0 0; color: var(--cp-muted); font-size: .92rem; }
.cp-srv__addr {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(5, 6, 13, .55);
  border: 1px solid var(--cp-line);
  min-width: 0;
}
.cp-srv__addr-label { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cp-muted); }
.cp-srv__addr-value {
  flex: 1 1 160px; min-width: 0;
  font-family: var(--hx-mono, ui-monospace, monospace);
  font-size: 1.05rem; font-weight: 700;
  color: var(--fam);
  background: none; padding: 0; border: 0;
  overflow-wrap: anywhere;
  text-shadow: 0 0 16px rgba(var(--fam-rgb), .45);
}
.cp-srv--big .cp-srv__addr-value { font-size: clamp(1.1rem, .9rem + 1vw, 1.5rem); }
.cp-srv__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.cp-srv__power, .cp-srv__links { display: flex; flex-wrap: wrap; gap: 8px; }

/* Power-Buttons */
.cp-pbtn {
  --pb: #9097b8; --pb-rgb: 144, 151, 184;
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 10px;
  border: 1px solid rgba(var(--pb-rgb), .45);
  background: rgba(var(--pb-rgb), .1);
  color: var(--pb);
  font: inherit; font-size: .86rem; font-weight: 800;
  cursor: pointer;
  transition: background-color .2s, box-shadow .25s, transform .15s var(--cp-ease), opacity .2s;
}
.cp-pbtn:hover:not(:disabled) { background: rgba(var(--pb-rgb), .22); box-shadow: 0 0 22px rgba(var(--pb-rgb), .4); transform: translateY(-1px); }
.cp-pbtn:active:not(:disabled) { transform: scale(.97); }
.cp-pbtn:disabled { opacity: .32; cursor: not-allowed; filter: grayscale(.6); }
.cp-pbtn--start { --pb: #4ade80; --pb-rgb: 74, 222, 128; }
.cp-pbtn--stop { --pb: #fbbf24; --pb-rgb: 251, 191, 36; }
.cp-pbtn--restart { --pb: #67e8f9; --pb-rgb: 103, 232, 249; }
.cp-pbtn--kill { --pb: #f87171; --pb-rgb: 248, 113, 113; }
.cp-pbtn--lg { min-height: 46px; padding: 10px 18px; font-size: .95rem; border-radius: 12px; }

/* Kopieren */
.cp-copy {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px;
  padding: 5px 11px;
  border-radius: 9px;
  border: 1px solid var(--cp-line-2);
  background: rgba(255, 255, 255, .05);
  color: var(--cp-text);
  font: inherit; font-size: .8rem; font-weight: 700;
  cursor: pointer;
  flex: none;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.cp-copy:hover { background: rgba(124, 92, 255, .2); border-color: rgba(124, 92, 255, .6); }
.cp-copy.is-copied { color: #4ade80; border-color: rgba(74, 222, 128, .6); background: rgba(74, 222, 128, .12); box-shadow: 0 0 18px rgba(74, 222, 128, .3); }

/* Fortschritt */
.cp-progress {
  position: relative;
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, .07);
}
.cp-progress--lg { height: 8px; }
.cp-progress > span {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--fam, #7c5cff), #22d3ee, transparent);
  box-shadow: 0 0 16px rgba(34, 211, 238, .6);
  animation: cp-indet 1.6s ease-in-out infinite;
}

/* Leerer Zustand */
.cp-empty-hero {
  margin-top: 30px;
  padding: 48px 24px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(124, 92, 255, .22), transparent 70%),
    var(--cp-glass);
}
.cp-empty-hero__arts { display: flex; justify-content: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.cp-empty-hero__arts .cp-art { width: 60px; height: 60px; animation: cp-float 4s ease-in-out infinite; }
.cp-empty-hero__arts .cp-art:nth-child(2) { animation-delay: -1s; }
.cp-empty-hero__arts .cp-art:nth-child(3) { animation-delay: -2s; }
.cp-empty-hero__arts .cp-art:nth-child(4) { animation-delay: -3s; }
.cp-empty-hero__title { margin: 0 0 10px; font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem); font-weight: 900; }
.cp-empty-hero__text { margin: 0 auto 26px; max-width: 52ch; color: #c3c8e3; }
.cp-limit-note {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, .4);
  background: rgba(251, 191, 36, .08);
  color: #fcd34d; font-weight: 700; font-size: .9rem;
}

/* Abstrakte Spiel-Grafik */
.cp-art { display: block; color: var(--fam); filter: drop-shadow(0 0 14px rgba(var(--fam-rgb), .45)); overflow: visible; }
.cp-art__spin { transform-box: fill-box; transform-origin: center; animation: cp-spin 14s linear infinite; }
.cp-art__float { animation: cp-float 3.4s ease-in-out infinite; }
.cp-art__float--2 { animation-delay: -1.7s; }
.cp-art__pulse { transform-box: fill-box; transform-origin: center; animation: cp-breathe 3s ease-in-out infinite; }
.cp-art__dash { animation: cp-dashmove 1.6s ease-in-out infinite; }

/* =========================================================================
   Server-Detail
   ========================================================================= */
.cp-detail__hero {
  padding: 26px;
  overflow: hidden;
  display: grid; gap: 20px;
}
.cp-detail__hero-bg {
  position: absolute; inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(var(--fam-rgb), .3), transparent 65%),
    radial-gradient(500px 260px at 100% 100%, rgba(34, 211, 238, .1), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.cp-detail__head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; min-width: 0; }
.cp-detail__art { width: 92px; height: 92px; flex: none; }
.cp-detail__id { flex: 1 1 240px; min-width: 0; }
.cp-detail__title { font-size: clamp(1.8rem, 1.1rem + 2.8vw, 3rem); }
.cp-detail__meta { margin: 6px 0 0; color: #c3c8e3; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cp-fam-dot { width: 10px; height: 10px; border-radius: 3px; transform: rotate(45deg); background: var(--fam); box-shadow: 0 0 12px var(--fam); }
.cp-detail__head > .cp-status { font-size: .95rem; padding: 7px 16px 7px 12px; }

.cp-detail__bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.cp-detail__addr { flex: 1 1 280px; min-width: 0; }
.cp-detail__addr-label { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cp-muted); margin-bottom: 6px; }
.cp-detail__addr-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(5, 6, 13, .6);
  border: 1px solid rgba(var(--fam-rgb), .35);
  box-shadow: 0 0 30px rgba(var(--fam-rgb), .12) inset;
}
.cp-detail__addr-value {
  flex: 1 1 160px; min-width: 0;
  font-family: var(--hx-mono, ui-monospace, monospace);
  font-size: clamp(1.15rem, .9rem + 1.2vw, 1.7rem); font-weight: 800;
  color: var(--fam);
  background: none; padding: 0; border: 0;
  text-shadow: 0 0 18px rgba(var(--fam-rgb), .5);
  overflow-wrap: anywhere;
}
.cp-detail__addr-none { flex: 1 1 280px; margin: 0; }
.cp-detail__power { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-detail__panelrow { display: flex; flex-wrap: wrap; gap: 10px; }
.cp-detail__panel { white-space: normal !important; text-align: center; }

.cp-banner {
  display: grid; gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--cp-line-2);
}
.cp-banner__text { display: grid; gap: 2px; }
.cp-banner__text span { color: #c3c8e3; font-size: .92rem; }
.cp-banner--install { border-color: rgba(251, 191, 36, .45); background: linear-gradient(90deg, rgba(251, 191, 36, .12), rgba(251, 191, 36, .03)); }
.cp-banner--install strong { color: #fcd34d; }
.cp-banner--danger { border-color: rgba(239, 68, 68, .5); background: rgba(239, 68, 68, .1); }
.cp-banner--danger strong { color: #fca5a5; }

.cp-live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, .35);
  background: rgba(74, 222, 128, .08);
  color: #86efac; font-size: .78rem; font-weight: 800;
}
.cp-live-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: cp-blink 1.6s ease-in-out infinite; }
.cp-res-note { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px dashed var(--cp-line-2); color: var(--cp-muted); font-size: .92rem; }

.cp-res-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .cp-res-grid { grid-template-columns: 1fr; } }
.cp-ring { padding: 20px 16px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.cp-ring__svgwrap { position: relative; width: min(170px, 100%); aspect-ratio: 1; }
.cp-ring__svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.cp-ring__track { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 10; }
.cp-ring__val {
  fill: none;
  stroke: var(--fam);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset .9s var(--cp-ease), stroke .3s;
  filter: drop-shadow(0 0 6px rgba(var(--fam-rgb), .7));
}
.cp-ring--warn .cp-ring__val { stroke: #fbbf24; filter: drop-shadow(0 0 6px rgba(251, 191, 36, .7)); }
.cp-ring--hot .cp-ring__val { stroke: #f87171; filter: drop-shadow(0 0 8px rgba(248, 113, 113, .8)); }
.cp-ring__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 18px; }
.cp-ring__big { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cp-ring__sub { font-size: .78rem; color: var(--cp-muted); }
.cp-ring__label { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cp-muted); }

.cp-res-row { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 760px) { .cp-res-row { grid-template-columns: 2fr 1fr; } }
.cp-net, .cp-uptime { padding: 18px 20px; min-width: 0; }
.cp-net__title { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cp-muted); margin-bottom: 12px; }
.cp-net__line {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  grid-template-areas: "dir val" "bar bar" "tot tot";
  align-items: center; gap: 4px 12px;
  margin-bottom: 12px;
}
.cp-net__line:last-child { margin-bottom: 0; }
.cp-net__dir { grid-area: dir; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; }
.cp-net__dir--rx { color: #67e8f9; }
.cp-net__dir--tx { color: #c4b5fd; }
.cp-net__val { grid-area: val; text-align: right; font-weight: 900; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.cp-net__line .cp-bar { grid-area: bar; }
.cp-net__total { grid-area: tot; font-size: .78rem; color: var(--cp-muted); }
.cp-bar { display: block; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.cp-bar__fill {
  display: block; height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--fam), #22d3ee);
  box-shadow: 0 0 12px rgba(34, 211, 238, .5);
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
  transition: transform .9s var(--cp-ease);
}
.cp-uptime { display: flex; flex-direction: column; justify-content: center; }
.cp-uptime__val { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 900; font-variant-numeric: tabular-nums; background: var(--cp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.cp-kv-grid { display: grid; gap: 12px; }
.cp-kv { display: grid; gap: 4px; min-width: 0; }
.cp-kv__label { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cp-muted); }
.cp-kv__row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 12px;
  border-radius: 12px;
  background: rgba(5, 6, 13, .55);
  border: 1px solid var(--cp-line);
  min-width: 0;
}
.cp-kv__value {
  flex: 1; min-width: 0;
  font-family: var(--hx-mono, ui-monospace, monospace);
  font-size: .95rem;
  background: none; padding: 0; border: 0; color: var(--cp-text);
  overflow-wrap: anywhere;
}
.cp-kv__value--plain { font-family: inherit; }
.cp-sftp__pw { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; color: #c3c8e3; font-size: .92rem; }
.cp-sftp__pw .cp-ico { margin-top: 2px; color: var(--cp-accent); }

.cp-specs { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.cp-specs__item { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid var(--cp-line); display: grid; min-width: 0; }
.cp-specs__label { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cp-muted); }
.cp-specs__value { font-weight: 800; overflow-wrap: anywhere; }
.cp-price-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 8px; }

.cp-danger { margin-top: 22px; border-color: rgba(239, 68, 68, .3); }
.cp-danger__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--cp-line); }
.cp-danger__row:first-of-type { border-top: 0; padding-top: 4px; }
.cp-danger__row > div { flex: 1 1 260px; min-width: 0; }
.cp-danger__row p { margin: 2px 0 0; font-size: .9rem; }

/* =========================================================================
   Bestell-Assistent
   ========================================================================= */
.cp-stepper {
  list-style: none; margin: 0 0 26px; padding: 6px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  border-radius: 999px;
  background: rgba(14, 16, 34, .6);
  border: 1px solid var(--cp-line);
}
.cp-stepper__item { min-width: 0; }
.cp-stepper__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 0; background: none;
  color: var(--cp-muted);
  font: inherit; font-weight: 700;
  transition: background-color .25s, color .25s;
}
button.cp-stepper__btn { cursor: pointer; }
button.cp-stepper__btn:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.cp-stepper__num {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--cp-line-2);
  font-size: .85rem; font-weight: 900;
}
.cp-stepper__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-stepper__item.is-current .cp-stepper__btn { background: linear-gradient(90deg, rgba(124, 92, 255, .35), rgba(34, 211, 238, .15)); color: #fff; box-shadow: 0 0 24px rgba(124, 92, 255, .25); }
.cp-stepper__item.is-current .cp-stepper__num { background: var(--cp-grad); border-color: transparent; color: #fff; box-shadow: 0 0 14px rgba(124, 92, 255, .7); }
.cp-stepper__item.is-done .cp-stepper__num { background: rgba(74, 222, 128, .15); border-color: rgba(74, 222, 128, .5); color: #4ade80; }
@media (max-width: 420px) { .cp-stepper__btn { flex-direction: column; gap: 2px; padding: 6px 4px; font-size: .8rem; } .cp-stepper { border-radius: 18px; } .cp-stepper__btn { border-radius: 14px; } }

.cp-wiz-in { animation: cp-step .45s var(--cp-ease) both; }
.cp-wiz__title { margin: 0 0 16px; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); font-weight: 900; outline: none; }
.cp-wiz__hint { margin: -6px 0 18px; }
.cp-wiz__picked {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 18px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid rgba(var(--fam-rgb), .4);
  background: rgba(var(--fam-rgb), .08);
  max-width: 100%;
}
.cp-wiz__picked-art { width: 32px; height: 32px; }
.cp-wiz__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; }

.cp-game-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.cp-game {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 20px;
  min-width: 0;
  text-align: left;
  font: inherit; color: var(--cp-text);
  cursor: pointer;
  overflow: hidden;
  background:
    radial-gradient(260px 160px at 100% 0%, rgba(var(--fam-rgb), .2), transparent 70%),
    var(--cp-glass);
  transition: border-color .25s, box-shadow .3s, transform .25s var(--cp-ease);
}
.cp-game:hover:not(:disabled) { border-color: rgba(var(--fam-rgb), .6); box-shadow: 0 0 34px rgba(var(--fam-rgb), .25), var(--cp-shadow); }
.cp-game.is-selected { border-color: rgba(var(--fam-rgb), .8); box-shadow: 0 0 40px rgba(var(--fam-rgb), .35), var(--cp-shadow); }
.cp-game__art { width: 72px; height: 72px; margin-bottom: 8px; transition: transform .35s var(--cp-ease); }
.cp-game:hover:not(:disabled) .cp-game__art { transform: scale(1.08) rotate(-4deg); }
.cp-game__name { font-size: 1.15rem; font-weight: 900; }
.cp-game__desc { color: var(--cp-muted); font-size: .88rem; line-height: 1.45; }
.cp-game__min { margin-top: auto; padding-top: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--fam); }
.cp-game.is-soon { cursor: not-allowed; opacity: .55; filter: grayscale(.7); }
.cp-game__soon {
  position: absolute; right: 12px; top: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--cp-line-2);
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}

.cp-plan-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); }
.cp-plan {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 22px 20px;
  min-width: 0;
  text-align: left;
  font: inherit; color: var(--cp-text);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .25s, box-shadow .3s, transform .25s var(--cp-ease);
}
.cp-plan:hover:not(:disabled) { border-color: rgba(124, 92, 255, .6); transform: translateY(-3px); box-shadow: 0 0 30px rgba(124, 92, 255, .25), var(--cp-shadow); }
.cp-plan.is-selected { border-color: rgba(124, 92, 255, .9); box-shadow: 0 0 40px rgba(124, 92, 255, .35), var(--cp-shadow); background: linear-gradient(160deg, rgba(124, 92, 255, .18), rgba(34, 211, 238, .06)), var(--cp-glass); }
.cp-plan.is-disabled { opacity: .42; cursor: not-allowed; filter: grayscale(.6); }
.cp-plan__ribbon {
  position: absolute; right: 12px; top: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--cp-grad);
  color: #fff;
  font-size: .72rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 0 16px rgba(124, 92, 255, .6);
}
.cp-plan__name { font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cp-muted); }
.cp-plan__ram { font-size: 2.4rem; font-weight: 900; line-height: 1.05; }
.cp-plan.is-selected .cp-plan__ram { background: var(--cp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cp-plan__ramlabel { font-size: .8rem; color: var(--cp-muted); margin-bottom: 8px; }
.cp-plan__specs { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; font-size: .9rem; color: #c9cde6; }
.cp-plan__specs li::before { content: "› "; color: var(--cp-accent); font-weight: 900; }
.cp-plan__price { margin-top: auto; display: grid; gap: 2px; }
.cp-plan__price strong { color: #4ade80; font-size: 1rem; }
.cp-plan__price span { color: var(--cp-muted); font-size: .8rem; }
.cp-plan__why { margin-top: 8px; font-size: .78rem; font-weight: 800; color: #fca5a5; }

.cp-wiz__details { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .cp-wiz__details { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.cp-summary { padding: 24px; min-width: 0; overflow: hidden; background: radial-gradient(400px 200px at 0% 0%, rgba(var(--fam-rgb), .2), transparent 70%), var(--cp-glass); }
@media (min-width: 1000px) { .cp-summary { position: sticky; top: 90px; } }
.cp-summary__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; min-width: 0; }
.cp-summary__art { width: 60px; height: 60px; flex: none; }
.cp-summary__kicker { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cp-muted); }
.cp-summary__game { font-size: 1.3rem; font-weight: 900; overflow-wrap: anywhere; }
.cp-summary__price { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--cp-line); }
.cp-summary__price .cp-muted { font-size: .86rem; }
.cp-summary__free { font-size: 1.6rem; font-weight: 900; color: #4ade80; text-shadow: 0 0 24px rgba(74, 222, 128, .45); }

.cp-lock { padding: 44px 24px; text-align: center; overflow: hidden; }
.cp-lock__icon {
  display: inline-grid; place-items: center;
  width: 72px; height: 72px; margin-bottom: 14px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(135deg, rgba(251, 191, 36, .35), rgba(124, 92, 255, .35));
  color: #fff;
}
.cp-lock__icon .cp-ico { width: 30px; height: 30px; }
.cp-lock__title { margin: 0 0 10px; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); font-weight: 900; }
.cp-lock__text { margin: 0 auto 22px; max-width: 58ch; color: #c3c8e3; }
.cp-lock__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* =========================================================================
   Panel, Secrets, Listen
   ========================================================================= */
.cp-secret-box { padding: 24px; border-color: rgba(251, 191, 36, .45); animation: cp-in .5s var(--cp-ease) both; }
.cp-secret-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.cp-secret {
  flex: 1 1 240px; min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(5, 6, 13, .75);
  border: 1px solid rgba(124, 92, 255, .45);
  font-family: var(--hx-mono, ui-monospace, monospace);
  font-size: 1rem; font-weight: 700;
  color: #e9e4ff;
  overflow-wrap: anywhere;
  box-shadow: 0 0 24px rgba(124, 92, 255, .2) inset;
}
.cp-pstate { margin: 0 0 14px; }
.cp-feature-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.cp-feature-list li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid var(--cp-line); }
.cp-feature-list span { color: var(--cp-muted); font-size: .86rem; }
.cp-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: #c9cde6; }
.cp-steps li::marker { color: var(--cp-accent); font-weight: 900; }

.cp-code {
  margin: 0 0 12px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(5, 6, 13, .8);
  border: 1px solid var(--cp-line);
  overflow-x: auto;
  font-size: .86rem;
  max-width: 100%;
}
.cp-code code { background: none; padding: 0; border: 0; color: #c4b5fd; white-space: pre; }

.cp-table-card { padding: 4px 8px; overflow: hidden; }
.cp-table { width: 100%; border-collapse: collapse; }
.cp-table th { color: var(--cp-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.cp-table th, .cp-table td { padding: 12px 10px; border-bottom: 1px solid var(--cp-line); text-align: left; vertical-align: middle; }
.cp-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 719px) {
  .cp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cp-table, .cp-table tbody, .cp-table tr, .cp-table td { display: block; width: 100%; }
  .cp-table tr { padding: 10px 4px; border-bottom: 1px solid var(--cp-line); }
  .cp-table tbody tr:last-child { border-bottom: 0; }
  .cp-table td { display: flex; justify-content: space-between; gap: 12px; padding: 5px 4px; border: 0; overflow-wrap: anywhere; }
  .cp-table td::before { content: attr(data-label); color: var(--cp-muted); font-size: .82rem; font-weight: 700; flex: none; }
}

.cp-acc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; min-width: 0; }
.cp-acc-head .cp-card__title { margin: 0 0 4px; overflow-wrap: anywhere; }
.cp-dl { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 10px 16px; margin: 0; }
.cp-dl dt { color: var(--cp-muted); font-size: .9rem; }
.cp-dl dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }

/* =========================================================================
   Dialog
   ========================================================================= */
.cp-dialog {
  width: min(480px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--cp-line-2);
  border-radius: var(--cp-radius);
  background: var(--cp-glass-strong);
  color: var(--cp-text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 0 1px rgba(124, 92, 255, .2), 0 0 60px rgba(124, 92, 255, .15);
}
.cp-dialog[open] { animation: cp-pop .28s var(--cp-ease) both; }
.cp-dialog::backdrop { background: rgba(2, 3, 8, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cp-dialog__form { padding: 24px; }
.cp-dialog__title { margin: 0 0 10px; font-size: 1.3rem; font-weight: 900; }
.cp-dialog__text { margin: 0 0 18px; color: #c3c8e3; overflow-wrap: anywhere; }
.cp-dialog__typed { margin-bottom: 18px; }
.cp-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

/* Toasts im Glas-Look */
.cp-body .hx-toast {
  background: var(--cp-glass-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--cp-line-2);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}

/* =========================================================================
   Animationen
   ========================================================================= */
@keyframes cp-angle { to { --cp-angle: 360deg; } }
@keyframes cp-spin { to { transform: rotate(360deg); } }
@keyframes cp-shine { to { background-position: -200% 0; } }
@keyframes cp-hexpan { from { transform: translateY(0); } to { transform: translateY(-90px); } }
@keyframes cp-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 4vh) scale(1.1); }
  100% { transform: translate(-4vw, 8vh) scale(.95); }
}
@keyframes cp-gridmove { to { background-position: 0 48px, 0 0; } }
@keyframes cp-sweep { 0%, 60% { left: -60%; } 100% { left: 130%; } }
@keyframes cp-stripes { to { background-position: 28px 0; } }
@keyframes cp-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes cp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes cp-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cp-view { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes cp-step { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes cp-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes cp-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes cp-ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
@keyframes cp-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes cp-indet { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@keyframes cp-dashmove { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

/* Reduzierte Bewegung: Animationen aus, Zustände statisch */
@media (prefers-reduced-motion: reduce) {
  .cp-body *, .cp-body *::before, .cp-body *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  [data-tilt].is-tilting { transform: none !important; }
  .cp-bg__hex, .cp-bg__orb, .cp-bg__grid, .cp-glow::before, .cp-btn-glow::after,
  .cp-grad-text, .cp-art *, .cp-hexcore *, .cp-status__dot, .cp-status__dot::after,
  .cp-live-pill__dot, .cp-sk, .cp-boot__mark::before, .cp-boot__mark img { animation: none !important; }
  .cp-btn-glow::after { display: none; }
  .cp-glow::before { --cp-angle: 120deg; }
  .cp-progress > span { animation: none !important; width: 100%; transform: none; opacity: .6; }
  .cp-status--ok .cp-status__dot::after, .cp-status--busy .cp-status__dot::after { display: none; }
}

/* Checkbox-Felder (z. B. Minecraft-EULA) */
.cp-check__label {
  position: relative;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px;
  border-radius: var(--cp-radius-sm);
  border: 1px solid var(--cp-line-2);
  background: rgba(5, 6, 13, .55);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.cp-check__label:hover { border-color: rgba(124, 92, 255, .5); }
.cp-check__input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; left: 14px; top: 12px; cursor: pointer; }
.cp-check__box {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 7px;
  border: 2px solid rgba(255, 255, 255, .3);
  background: rgba(5, 6, 13, .8);
  display: grid; place-items: center;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.cp-check__box::after {
  content: "";
  width: 10px; height: 6px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform .2s var(--cp-ease);
}
.cp-check__input:checked + .cp-check__box { background: var(--cp-grad); border-color: transparent; box-shadow: 0 0 16px rgba(124, 92, 255, .6); }
.cp-check__input:checked + .cp-check__box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.cp-check__input:focus-visible + .cp-check__box { outline: 2px solid var(--cp-accent); outline-offset: 3px; }
.cp-check__input[aria-invalid="true"] + .cp-check__box { border-color: var(--cp-danger); box-shadow: 0 0 0 3px rgba(239, 68, 68, .25); }
.cp-check__text { font-weight: 600; overflow-wrap: anywhere; }
