:root{
  --bg:#0b0f1a;
  --bg2:#05070c;

  --text:rgba(255,255,255,0.92);
  --muted:rgba(255,255,255,0.75);

  --card:rgba(255,255,255,0.06);
  --border:rgba(255,255,255,0.10);
  --shadow:0 20px 60px rgba(0,0,0,0.45);

  --link:rgba(255,255,255,0.82);
  --linkHoverBg:rgba(255,255,255,0.08);

  --btnBg: rgba(255,255,255,0.08);
  --btnBorder: rgba(255,255,255,0.16);
  --btnPrimaryBg: rgba(255,255,255,0.16);
  --btnPrimaryBorder: rgba(255,255,255,0.22);

  --noticeBg: rgba(255,255,255,0.04);
  --noticeBorder: rgba(255,255,255,0.12);

  --okBorder: rgba(120,255,180,0.25);
  --okBg: rgba(120,255,180,0.08);

  --errBorder: rgba(255,120,120,0.28);
  --errBg: rgba(255,120,120,0.08);

  --infoBorder: rgba(120,170,255,0.25);
  --infoBg: rgba(60,120,255,0.10);
}

*{ box-sizing:border-box; }
html, body{ height:100%; margin:0; }

body{
  background:var(--bg);
  color:var(--text);
  font-family: Arial, sans-serif;
}

h1{ font-size:18px; margin:0 0 6px; }
.muted{ color:var(--muted); font-size:13px; margin:0 0 14px; }

/* =========================
   Layout
========================= */

.section{ width:100%; padding:40px 0; }

.container{
  width:min(1400px, calc(100vw - 40px));
  margin:0 auto;
  padding:0;
}

/* Panel */
.panel{
  width:100%;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:22px;
  backdrop-filter: blur(10px);
}

/* =========================
   Header (Full width)
========================= */

.lv-header{
  width:100%;
  position:relative;
  z-index:10000;
  overflow:visible;
}

.lv-topbar{
  width:100%;
  background: rgba(28,28,28,0.96);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position:relative;
  z-index:10000;
  overflow:visible;
}

.lv-top-inner{
  width:min(1400px, calc(100vw - 40px));
  margin:0 auto;
  padding:10px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  position:relative;
  z-index:10001;
  overflow:visible;
}

/* Brand */
.lv-brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text);
}

.lv-logo{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.20);
  background:rgba(255,255,255,0.06);
  display:grid;
  place-items:center;
  font-weight:900;
}

.lv-name{
  font-weight:700;
  font-size:13px;
  letter-spacing:.4px;
}

/* Center nav */
.lv-nav{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  align-items:center;
}

.lv-nav a{
  color:var(--link);
  text-decoration:none;
  font-size:13px;
  padding:6px 8px;
  border-radius:8px;
}

.lv-nav a:hover{
  color:rgba(255,255,255,0.96);
  background:var(--linkHoverBg);
}

.lv-nav a.is-strong{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
}

/* Right area (logged-in UI) */
.lv-right{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
  position:relative;
  z-index:10002;
  overflow:visible;
}

.lv-online{
  font-size:12px;
  color:rgba(255,255,255,0.75);
  white-space:nowrap;
}

.lv-link{
  color:rgba(255,255,255,0.85);
  text-decoration:none;
  font-size:13px;
  padding:6px 8px;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.lv-link:hover{
  color:rgba(255,255,255,0.96);
  background:var(--linkHoverBg);
}

.badge{
  display:inline-grid;
  place-items:center;
  min-width:18px;
  height:18px;
  padding:0 6px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  color:rgba(255,255,255,0.95);
  background: rgba(255,80,80,0.85);
  border:1px solid rgba(255,255,255,0.18);
}

.caret{
  opacity:.8;
  font-size:12px;
}

.lv-profile{
  position:relative;
  z-index:10003;
}

.lv-dropdown{
  z-index:10004;
}

/* Optional Hero (wenn du es aktivierst) */
.lv-hero{
  width:100%;
  height:260px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06), transparent 55%),
    linear-gradient(to bottom, var(--bg2), var(--bg));
  border-bottom:1px solid rgba(255,255,255,0.06);
}

@media (max-width: 980px){
  .lv-top-inner{ flex-direction: column; align-items:flex-start; }
  .lv-right{ width:100%; justify-content:flex-start; }
}

/* =========================
   Auth (Register/Login)
========================= */

.auth-wrap{
  width: min(980px, calc(100vw - 40px));
  margin: 24px auto 60px;
}

.auth-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
  backdrop-filter: blur(10px);
}

.auth-title{
  font-size: 28px;
  margin: 0 0 8px 0;
  letter-spacing: .2px;
}

.auth-sub{
  margin: 0 0 18px 0;
  color: rgba(255,255,255,0.70);
  font-size: 13px;
}

.hr{
  height:1px;
  background: rgba(255,255,255,0.12);
  margin:14px 0 18px;
}

/* Form */
.form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.field label{
  font-size:13px;
  opacity:.9;
}

.field input, .field textarea, .field select{
  width:100%;
  padding:14px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(10,14,26,0.55);
  color: rgba(255,255,255,0.92);
  outline:none;
}

.field input:focus, .field textarea:focus{
  border-color: rgba(255,255,255,0.28);
  background: rgba(10,14,26,0.70);
}

/* Checkbox rows */
.checkrow{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}

.checkrow input[type="checkbox"]{
  width:18px;
  height:18px;
  margin-top:2px;
  accent-color: rgba(255,255,255,0.9);
}

.checkrow p{
  margin:0;
  color: rgba(255,255,255,0.72);
  font-size:13px;
  line-height:1.45;
}

/* Buttons / Actions */
.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:6px;
}

.btn{
  cursor:pointer;
  border:1px solid var(--btnBorder);
  background: var(--btnBg);
  color: var(--text);
  padding: 11px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.btn.primary{
  background: var(--btnPrimaryBg);
  border-color: var(--btnPrimaryBorder);
}

.btn.ghost{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
}

.btn:hover{ background: rgba(255,255,255,0.12); }
.btn.primary:hover{ background: rgba(255,255,255,0.20); }

/* Notices */
.notice{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--noticeBorder);
  background: var(--noticeBg);
  font-size:13px;
}

.notice.err{
  border-color: var(--errBorder);
  background: var(--errBg);
  color: rgba(255,220,220,0.95);
}

.notice.ok{
  border-color: var(--okBorder);
  background: var(--okBg);
  color: rgba(210,255,230,0.95);
}

/* =========================
   Apply (Bewerbung)
========================= */

.apply-title{
  font-size:28px;
  margin:0 0 6px 0;
}

.apply-sub{
  margin:0;
  color: rgba(255,255,255,0.70);
  font-size:13px;
}

.helpbox{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--infoBorder);
  background: var(--infoBg);
  color: rgba(220,235,255,0.92);
  font-size:13px;
  line-height:1.45;
}

.helpbox .dot{
  width:22px;
  height:22px;
  border-radius:999px;
  border:1px solid rgba(120,170,255,0.35);
  display:grid;
  place-items:center;
  font-weight:900;
  flex:0 0 auto;
}

.textarea-wrap{ position:relative; }

.counter{
  margin-top:6px;
  color: rgba(255,255,255,0.55);
  font-size:12px;
  text-align:right;
}

/* Versuchsliste */
.attempts{
  margin-top:16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  overflow:hidden;
}

.attempts .row{
  padding:12px 14px;
  background: rgba(255,255,255,0.04);
  border-top:1px solid rgba(255,255,255,0.08);
  display:flex;
  justify-content:space-between;
  gap:12px;
}

.attempts .row:first-child{ border-top:none; }

.smallmuted{
  color: rgba(255,255,255,0.65);
  font-size:12px;
}

/* =========================
   Schräge (optional)
========================= */

.apply-top{
  width:100%;
  min-height:100px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06), transparent 55%),
    linear-gradient(to bottom, var(--bg2), var(--bg));
  position: relative;
}

.slanted-divider{
  width:100%;
  height:32px;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transform: skewY(-2deg);
  transform-origin: left;
  margin-top: -16px;
}

/* Dashboard Cards/Grid/Pills (fehlte noch) */
.grid{ display:grid; gap:12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px){ .grid{ grid-template-columns:1fr; } }

.card{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 16px;
}

.pill{
  display:inline-block;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  font-size: 12px;
  opacity: .9;
}
.pill.ok{ border-color: rgba(120,255,180,0.25); background: rgba(120,255,180,0.08); }
.pill.warn{ border-color: rgba(255,210,120,0.25); background: rgba(255,210,120,0.08); }
.pill.bad{ border-color: rgba(255,120,120,0.25); background: rgba(255,120,120,0.08); }






/* ACP Tiles */
.tile-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 980px){
  .tile-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px){
  .tile-grid{ grid-template-columns: 1fr; }
}

.tile{
  display:block;
  text-decoration:none;
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 16px;
  transition: transform .08s ease, background .08s ease, border-color .08s ease;
}

.tile:hover{
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

.tile-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.tile-title{
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .2px;
}

.tile-desc{
  margin-top: 8px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.4;
}

.tile-meta{
  margin-top: 12px;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
}

/* =========================
   Profil Dropdown (Header)
========================= */

.lv-profile{
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Button soll wie ein Link wirken (wie .lv-link) */
.lv-profile-btn{
  cursor: pointer;
  border: 0;
  background: transparent;
}

/* Dropdown Panel */
.lv-dropdown{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  padding: 8px;
  border-radius: 14px;

  background: rgba(28,28,28,0.98);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);

  display: none;
  z-index: 9999;
  top: calc(100% + 10px);
}

/* Unsichtbare Hover-Bridge zwischen Button und Dropdown */
@media (hover: hover) and (pointer: fine) {
  .lv-dropdown::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;     /* muss zum Abstand passen */
    height: 10px;   /* muss zum Abstand passen */
  }
}

/* Open state */
.lv-profile.is-open .lv-dropdown{
  display: block;
}

/* Items */
.lv-dd-item{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;

  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 13px;

  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
}

.lv-dd-item:hover{
  color: rgba(255,255,255,0.96);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.10);
}

/* Separator */
.lv-dd-sep{
  height: 1px;
  margin: 8px 6px;
  background: rgba(255,255,255,0.10);
}

/* Logout Button in Form */
.lv-dd-form{ margin: 0; }
.lv-dd-form button.lv-dd-item{
  cursor: pointer;
  border: 0;
  text-align: left;
}

/* "Danger" (Logout) */
.lv-dd-item.danger{
  color: rgba(255,190,190,0.95);
}
.lv-dd-item.danger:hover{
  background: rgba(255,80,80,0.10);
  border-color: rgba(255,120,120,0.22);
}

/* Default: per Klick (Mobile & generell) */
.lv-dropdown{ display: none; }
.lv-profile.is-open .lv-dropdown{ display: block; }

/* Desktop mit Hover: Menü öffnet beim Hover */
@media (hover: hover) and (pointer: fine) {
  .lv-profile:hover .lv-dropdown{
    display: block;
  }
}

/* =========================
   Support: Tabs + Chat
========================= */
.tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.tab { padding:10px 12px; border-radius:12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); text-decoration:none; color: inherit; }
.tab.active { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.16); }

.chat { display:flex; flex-direction:column; gap:10px; }
.msg { border-radius:14px; padding:10px 12px; border:1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.06); }
.msg.user { background: rgba(255,255,255,.04); }
.msg.support { background: rgba(255,255,255,.08); }
.msg.internal { background: rgba(255,180,0,.10); border-color: rgba(255,180,0,.25); }

.msg-head { display:flex; justify-content:space-between; gap:12px; font-size:12px; opacity:.8; margin-bottom:6px; }
.msg-body { white-space:pre-wrap; word-break:break-word; }

.split { display:flex; gap:10px; flex-wrap:wrap; align-items:flex-end; }
.split > * { flex: 1; min-width: 220px; }


/* Tickets-Link: nie hervorheben (nur Badge) */
.lv-right a.tickets-link,
.lv-right a.tickets-link:visited{
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none !important;
  border-bottom: none !important;
  background: transparent !important;
}

.lv-right a.tickets-link:hover,
.lv-right a.tickets-link:focus,
.lv-right a.tickets-link:active{
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none !important;
  border-bottom: none !important;
  background: transparent !important;
}



/* =========================
   Support UX fixes
   - Card links should not turn purple/underlined
   - Tabs should look like buttons even if markup uses plain <a>
========================= */
a.card,
a.card:visited {
  color: inherit !important;
  text-decoration: none !important;
}

a.card:hover,
a.card:focus {
  text-decoration: none !important;
}

/* Tabs: style any link inside .tabs like a button */
.tabs a,
.tabs a:visited {
  color: inherit !important;
  text-decoration: none !important;
}

.tabs a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

.tabs a.active{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.16);
}

/* =========================
   Register Modern V2 - isolated classes
========================= */
.vcr-auth-body{
  min-height:100vh;
  background:
    radial-gradient(circle at 10% -10%, rgba(139,92,246,.36), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(34,211,238,.20), transparent 28%),
    radial-gradient(circle at 55% 110%, rgba(20,184,166,.12), transparent 28%),
    linear-gradient(135deg,#050816,#0b1020) !important;
  background-attachment:fixed !important;
  color:#f8fafc;
}
.vcr-auth-body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.18;
  z-index:-1;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:54px 54px;
  mask-image:linear-gradient(to bottom,black,transparent 78%);
}
.vcr-register-page{
  width:min(1400px, calc(100vw - 40px));
  margin:34px auto 70px;
}
.vcr-register-shell{
  display:grid;
  grid-template-columns:minmax(310px,.72fr) minmax(520px,1.28fr);
  overflow:hidden;
  border:1px solid rgba(148,163,184,.18);
  border-radius:30px;
  background:rgba(15,23,42,.62);
  box-shadow:0 26px 90px rgba(0,0,0,.38);
  backdrop-filter:blur(24px);
}
.vcr-register-info{
  padding:34px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:26px;
  background:
    radial-gradient(circle at 20% 0%,rgba(34,211,238,.20),transparent 34%),
    radial-gradient(circle at 80% 90%,rgba(139,92,246,.26),transparent 40%),
    rgba(255,255,255,.035);
  border-right:1px solid rgba(148,163,184,.18);
}
.vcr-kicker{
  font-size:12px;
  color:#a5b4fc;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.vcr-register-info h1{
  font-size:clamp(38px,4vw,58px);
  line-height:1.01;
  letter-spacing:-.065em;
  margin:12px 0 0;
}
.vcr-lead{
  color:#cbd5e1;
  line-height:1.55;
  margin:18px 0 0;
  max-width:440px;
}
.vcr-info-list{display:grid;gap:12px;margin-top:24px;}
.vcr-info-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px;
  border:1px solid rgba(148,163,184,.18);
  border-radius:18px;
  background:rgba(255,255,255,.04);
}
.vcr-info-item>span,
.vcr-discord-card>span,
.vcr-hint-card>span{
  width:28px;
  height:28px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:1000;
  color:#bae6fd;
  background:rgba(34,211,238,.12);
  border:1px solid rgba(34,211,238,.20);
  flex:0 0 auto;
}
.vcr-info-item b,
.vcr-discord-card b,
.vcr-hint-card b{display:block;color:#fff;font-size:14px;}
.vcr-info-item small,
.vcr-discord-card small,
.vcr-hint-card small{display:block;margin-top:4px;color:#94a3b8;font-size:12px;line-height:1.45;}
.vcr-discord-card,
.vcr-hint-card{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:16px;
  border:1px solid rgba(88,101,242,.28);
  border-radius:20px;
  background:linear-gradient(135deg,rgba(88,101,242,.13),rgba(34,211,238,.06));
}
.vcr-discord-card>span,
.vcr-hint-card>span{
  width:42px;
  height:42px;
  border-radius:16px;
  color:#fff;
  background:rgba(88,101,242,.38);
  border-color:rgba(255,255,255,.12);
}
.vcr-register-panel{padding:34px 36px 36px;}
.vcr-register-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:22px;
}
.vcr-register-head h2{margin:0;font-size:34px;letter-spacing:-.045em;line-height:1.05;}
.vcr-register-head p{margin:7px 0 0;color:#94a3b8;font-size:14px;line-height:1.45;}
.vcr-register-form{display:flex;flex-direction:column;gap:0;width:100%;}
.vcr-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;width:100%;}
.vcr-full{grid-column:1/-1;}
.vcr-field{display:flex;flex-direction:column;gap:8px;margin:0;min-width:0;}
.vcr-field>span{
  display:block;
  color:#cbd5e1;
  font-size:12px;
  font-weight:950;
  letter-spacing:.02em;
}
.vcr-field input{
  display:block !important;
  width:100% !important;
  min-height:50px !important;
  height:50px !important;
  padding:12px 14px !important;
  border-radius:16px !important;
  border:1px solid rgba(148,163,184,.24) !important;
  background:rgba(2,6,23,.52) !important;
  color:#ffffff !important;
  outline:none !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04) !important;
  opacity:1 !important;
  visibility:visible !important;
}
.vcr-field input::placeholder{color:rgba(203,213,225,.45);}
.vcr-field input:focus{
  border-color:rgba(34,211,238,.62) !important;
  box-shadow:0 0 0 4px rgba(34,211,238,.11), inset 0 1px 0 rgba(255,255,255,.05) !important;
  background:rgba(2,6,23,.68) !important;
}
.vcr-hint-card{margin-top:15px;}
.vcr-form-divider{height:1px;background:rgba(148,163,184,.18);margin:20px 0;}
.vcr-check{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(148,163,184,.18);
  background:rgba(255,255,255,.035);
  margin-top:10px;
  color:#dbe4f0;
  font-size:13px;
  line-height:1.45;
}
.vcr-check input{width:18px;height:18px;margin-top:1px;accent-color:#38bdf8;flex:0 0 auto;}
.vcr-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px;}
.vcr-auth-body .btn{border-radius:15px;font-weight:950;min-height:44px;}
.vcr-auth-body .btn.primary{border-color:transparent;background:linear-gradient(135deg,#8b5cf6,#22d3ee);color:#fff;box-shadow:0 14px 34px rgba(34,211,238,.13);}
.vcr-auth-body .btn.ghost{background:rgba(255,255,255,.045);}
.vcr-auth-body .notice{border-radius:16px;margin-bottom:14px;}
@media(max-width:1080px){
  .vcr-register-shell{grid-template-columns:1fr;}
  .vcr-register-info{border-right:0;border-bottom:1px solid rgba(148,163,184,.18);}
}
@media(max-width:700px){
  .vcr-register-page{width:calc(100vw - 24px);margin-top:18px;}
  .vcr-register-info,.vcr-register-panel{padding:22px;}
  .vcr-form-grid{grid-template-columns:1fr;}
  .vcr-full{grid-column:auto;}
  .vcr-register-head{flex-direction:column;}
  .vcr-register-info h1{font-size:36px;}
}

/* =========================
   Site Shell Header/Footer Pass
========================= */
:root{
  --site-shell:1400px;
  --site-pad:40px;
}

.site-shell{
  width:min(var(--site-shell), calc(100vw - var(--site-pad)));
  margin-left:auto;
  margin-right:auto;
}

.container,
.auth-wrap,
.vcr-register-page{
  width:min(var(--site-shell), calc(100vw - var(--site-pad))) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.site-topbar{
  background:rgba(5,8,22,.72) !important;
  border-bottom:1px solid rgba(148,163,184,.14) !important;
  backdrop-filter:blur(22px);
}

.lv-top-inner.site-shell{
  width:min(var(--site-shell), calc(100vw - var(--site-pad))) !important;
  margin:0 auto !important;
  padding:14px 0 !important;
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
}

.site-brand{
  gap:12px !important;
  min-width:max-content;
}

.site-logo{
  width:46px !important;
  height:46px !important;
  border-radius:15px !important;
  padding:0 !important;
  overflow:hidden;
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:0 14px 36px rgba(0,0,0,.22);
}

.site-logo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.site-brand-text{
  display:flex;
  flex-direction:column;
  gap:2px;
  line-height:1;
}

.site-brand-name{
  font-weight:950;
  letter-spacing:-.03em;
  color:#fff;
  font-size:15px;
}

.site-brand-sub{
  color:rgba(203,213,225,.66);
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.site-nav{
  justify-content:center;
  gap:6px !important;
}

.site-nav a{
  padding:9px 11px !important;
  border-radius:999px !important;
  font-weight:850;
  color:rgba(226,232,240,.78) !important;
  border:1px solid transparent;
}

.site-nav a:hover{
  color:#fff !important;
  background:rgba(255,255,255,.07) !important;
  border-color:rgba(255,255,255,.08);
}

.site-nav a.is-strong{
  color:#fff !important;
  background:linear-gradient(135deg,rgba(139,92,246,.22),rgba(34,211,238,.12)) !important;
  border-color:rgba(34,211,238,.24) !important;
}

.site-actions{
  gap:9px !important;
  flex-wrap:nowrap !important;
}

.site-icon-link{
  width:36px;
  height:36px;
  border-radius:999px;
  display:grid;
  place-items:center;
  color:#cbd5e1;
  text-decoration:none;
  border:1px solid transparent;
  background:transparent;
  transition:.16s ease;
}

.site-icon-link span{
  font-size:11px;
  font-weight:1000;
  letter-spacing:-.02em;
}

.site-icon-link:hover{
  color:#fff;
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.10);
  transform:translateY(-1px);
}

.site-status{
  display:inline-flex !important;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.15);
  background:rgba(255,255,255,.045);
  font-weight:850;
  font-size:12px !important;
  color:rgba(226,232,240,.82) !important;
}

.site-status i{
  width:8px;
  height:8px;
  border-radius:999px;
  background:#f87171;
  box-shadow:0 0 16px rgba(248,113,113,.55);
}

.site-status.online i{
  background:#22c55e;
  box-shadow:0 0 16px rgba(34,197,94,.65);
}

.site-ticket-link,
.site-profile-btn{
  padding:9px 11px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.08) !important;
}

.site-ticket-link:hover,
.site-profile-btn:hover{
  background:rgba(255,255,255,.08) !important;
}

.site-footer{
  margin-top:80px;
  padding:0 0 34px;
  color:rgba(226,232,240,.78);
}

.site-footer-inner{
  border-top:1px solid rgba(148,163,184,.16);
  padding-top:26px;
  display:grid;
  gap:22px;
}

.site-footer-brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.site-footer-logo{
  width:46px;
  height:46px;
  border-radius:15px;
  overflow:hidden;
  display:block;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  flex:0 0 auto;
}

.site-footer-logo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.site-footer-brand strong{
  display:block;
  color:#fff;
  font-size:15px;
  letter-spacing:-.02em;
}

.site-footer-brand span{
  display:block;
  margin-top:4px;
  color:rgba(148,163,184,.86);
  font-size:13px;
}

.site-footer-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.site-footer-links a{
  color:rgba(203,213,225,.82);
  text-decoration:none;
  font-size:13px;
  font-weight:850;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
}

.site-footer-links a:hover{
  color:#fff;
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.08);
}

.site-footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  color:rgba(148,163,184,.78);
  font-size:12px;
  padding-top:18px;
  border-top:1px solid rgba(148,163,184,.10);
}

@media(max-width:1050px){
  .lv-top-inner.site-shell{
    grid-template-columns:1fr;
    justify-items:start;
    gap:12px;
  }
  .site-nav{
    justify-content:flex-start;
  }
  .site-actions{
    width:100%;
    justify-content:flex-start !important;
    flex-wrap:wrap !important;
  }
}

@media(max-width:700px){
  :root{--site-pad:24px;}
  .site-brand-text{display:none;}
  .site-status{width:100%;justify-content:center;}
  .site-footer-brand{align-items:flex-start;}
  .site-footer-bottom{flex-direction:column;}
}

/* =========================
   UCP Login-Look Pass
========================= */
.ucp-body{
  min-height:100vh;
  background:
    radial-gradient(circle at 10% -10%, rgba(139,92,246,.36), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(34,211,238,.20), transparent 28%),
    radial-gradient(circle at 55% 110%, rgba(20,184,166,.12), transparent 28%),
    linear-gradient(135deg,#050816,#0b1020);
  background-attachment:fixed;
}
.ucp-body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.16;
  z-index:-1;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:54px 54px;
  mask-image:linear-gradient(to bottom,black,transparent 78%);
}
.ucp-section{
  padding-top:34px;
  padding-bottom:10px;
}
.ucp-container{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.ucp-topbar{
  width:min(1160px,100%);
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
}
.ucp-kicker{
  font-size:12px;
  color:#a5b4fc;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.ucp-title{
  font-size:clamp(36px,4vw,58px);
  line-height:1.01;
  letter-spacing:-.065em;
  margin:10px 0 0;
}
.ucp-subtitle{
  max-width:680px;
  margin:12px 0 0;
  color:#cbd5e1;
  line-height:1.55;
}
.ucp-tabs{
  width:min(1160px,100%);
  margin:0 auto 0 !important;
  padding:8px;
  border:1px solid rgba(148,163,184,.16);
  border-radius:999px;
  background:rgba(15,23,42,.52);
  backdrop-filter:blur(18px);
}
.ucp-tabs a{
  border-radius:999px !important;
  font-weight:900;
}
.ucp-tabs a.active{
  color:#fff !important;
  background:linear-gradient(135deg,rgba(139,92,246,.32),rgba(34,211,238,.15)) !important;
  border-color:rgba(34,211,238,.25) !important;
}
.ucp-profile-hero{
  width:min(1160px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:22px;
  align-items:center;
  overflow:hidden;
  border:1px solid rgba(148,163,184,.18);
  border-radius:30px;
  background:
    radial-gradient(circle at 15% 0%,rgba(34,211,238,.18),transparent 34%),
    radial-gradient(circle at 85% 100%,rgba(139,92,246,.22),transparent 40%),
    rgba(15,23,42,.62);
  box-shadow:0 26px 90px rgba(0,0,0,.38);
  backdrop-filter:blur(24px);
  padding:30px;
}
.ucp-avatar-wrap{display:flex;align-items:center;justify-content:center;}
.ucp-avatar-xl{
  width:96px;
  height:96px;
  border-radius:30px;
  object-fit:cover;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 18px 46px rgba(0,0,0,.26);
  background:linear-gradient(135deg,#8b5cf6,#22d3ee);
}
.ucp-avatar-fallback{
  color:#fff;
  font-size:42px;
  font-weight:1000;
  letter-spacing:-.06em;
}
.ucp-hero-content h2{
  margin:0;
  color:#fff;
  font-size:34px;
  letter-spacing:-.045em;
  line-height:1.05;
}
.ucp-hero-content p{
  margin:8px 0 0;
  color:#94a3b8;
}
.ucp-hero-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:15px;
}
.ucp-hero-meta{
  min-width:170px;
  padding:18px;
  border-radius:20px;
  border:1px solid rgba(148,163,184,.16);
  background:rgba(255,255,255,.035);
}
.ucp-hero-meta span{
  display:block;
  color:#94a3b8;
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.ucp-hero-meta b{
  display:block;
  margin-top:7px;
  color:#fff;
  font-size:14px;
}
.ucp-grid-main,
.ucp-dashboard-grid{
  width:min(1160px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.ucp-grid-main .ucp-card-profile,
.ucp-dashboard-grid .ucp-card:first-child{
  grid-column:1/-1;
}
.ucp-card{
  border:1px solid rgba(148,163,184,.18);
  border-radius:26px;
  background:rgba(15,23,42,.62);
  box-shadow:0 18px 58px rgba(0,0,0,.26);
  backdrop-filter:blur(22px);
  padding:24px;
}
.ucp-card-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:18px;
}
.ucp-card-head h2{
  margin:0;
  font-size:22px;
  letter-spacing:-.035em;
}
.ucp-card-head p{
  margin:6px 0 0;
  color:#94a3b8;
  line-height:1.45;
  font-size:14px;
}
.ucp-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;
}
.ucp-form-grid .full{grid-column:1/-1;}
.ucp-form .field input,
.ucp-form .field select,
.ucp-form .field textarea{
  min-height:50px;
  border-radius:16px;
  border-color:rgba(148,163,184,.24);
  background:rgba(2,6,23,.52);
  color:#fff;
}
.ucp-form .field input:focus,
.ucp-form .field select:focus,
.ucp-form .field textarea:focus{
  border-color:rgba(34,211,238,.62);
  box-shadow:0 0 0 4px rgba(34,211,238,.11), inset 0 1px 0 rgba(255,255,255,.05);
  background:rgba(2,6,23,.68);
}
.field-hint{
  margin:0;
  color:#94a3b8;
  font-size:12px;
  line-height:1.45;
}
.ucp-avatar-upload-preview{
  width:118px;
  height:118px;
  border-radius:32px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(135deg,#8b5cf6,#22d3ee);
  box-shadow:0 18px 46px rgba(0,0,0,.26);
  display:grid;
  place-items:center;
  color:#fff;
  font-size:44px;
  font-weight:1000;
}
.ucp-avatar-upload-preview img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.ucp-remove-form{margin-top:12px;}
.btn.danger,
button.danger{
  color:#fecaca;
  border-color:rgba(248,113,113,.22);
}
.btn.danger:hover,
button.danger:hover{
  background:rgba(248,113,113,.11);
}
.ucp-info-list{
  display:grid;
  gap:0;
  border:1px solid rgba(148,163,184,.14);
  border-radius:20px;
  overflow:hidden;
}
.ucp-info-list>div{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  border-bottom:1px solid rgba(148,163,184,.12);
  background:rgba(255,255,255,.026);
}
.ucp-info-list>div:last-child{border-bottom:0;}
.ucp-info-list span{color:#94a3b8;}
.ucp-info-list b{color:#fff;text-align:right;}
.ucp-card-text{
  margin-top:14px;
  line-height:1.55;
}
.ucp-card-actions{
  margin-top:18px;
}
.ucp-quick-actions{
  display:grid;
  gap:10px;
}
.ucp-quick-actions a{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:16px 18px;
  border:1px solid rgba(148,163,184,.16);
  border-radius:18px;
  background:rgba(255,255,255,.035);
  color:inherit;
  text-decoration:none;
  transition:.16s ease;
}
.ucp-quick-actions a:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.07);
  border-color:rgba(34,211,238,.28);
}
.ucp-quick-actions b{color:#fff;}
.ucp-quick-actions span{color:#94a3b8;font-size:13px;}
.ucp-connect-box{
  display:flex;
  gap:14px;
  align-items:center;
  padding:16px;
  border-radius:20px;
  border:1px solid rgba(88,101,242,.28);
  background:linear-gradient(135deg,rgba(88,101,242,.13),rgba(34,211,238,.06));
}
.ucp-connect-box.connected{
  border-color:rgba(34,197,94,.28);
  background:linear-gradient(135deg,rgba(34,197,94,.11),rgba(34,211,238,.06));
}
.ucp-connect-icon{
  width:46px;
  height:46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:1000;
  background:rgba(88,101,242,.42);
  border:1px solid rgba(255,255,255,.12);
  flex:0 0 auto;
}
.ucp-connect-box b{display:block;color:#fff;}
.ucp-connect-box span{display:block;margin-top:4px;color:#cbd5e1;font-size:13px;line-height:1.45;}
.ucp-discord-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:16px;
}

@media(max-width:900px){
  .ucp-topbar,
  .ucp-profile-hero{
    grid-template-columns:1fr;
  }
  .ucp-topbar{
    flex-direction:column;
    align-items:flex-start;
  }
  .ucp-grid-main,
  .ucp-dashboard-grid,
  .ucp-form-grid{
    grid-template-columns:1fr;
  }
  .ucp-form-grid .full,
  .ucp-grid-main .ucp-card-profile,
  .ucp-dashboard-grid .ucp-card:first-child{
    grid-column:auto;
  }
  .ucp-hero-meta{width:100%;}
}


/* =========================
   Header Dropdown Layer Fix
   Muss ganz unten stehen, damit ältere .lv-dropdown-Regeln überschrieben werden.
========================= */
.lv-header,
.lv-topbar,
.site-topbar{
  position:relative !important;
  z-index:99990 !important;
  overflow:visible !important;
  isolation:isolate;
}

.lv-top-inner,
.lv-top-inner.site-shell,
.site-actions,
.lv-right,
.lv-profile{
  position:relative !important;
  z-index:99991 !important;
  overflow:visible !important;
}

.lv-dropdown{
  position:absolute !important;
  right:0 !important;
  top:calc(100% + 10px) !important;
  z-index:999999 !important;
  overflow:visible !important;
}

.lv-profile.is-open .lv-dropdown,
.lv-profile:hover .lv-dropdown{
  display:block !important;
}

.ucp-section,
.ucp-container,
.ucp-tabs,
.ucp-profile-hero,
.ucp-card,
.panel{
  position:relative;
  z-index:1;
}

/* Header Profilbild fix */
.site-profile-avatar,
.site-profile-btn img,
.lv-profile-btn img{
  width:26px !important;
  height:26px !important;
  min-width:26px !important;
  max-width:26px !important;
  min-height:26px !important;
  max-height:26px !important;
  border-radius:999px !important;
  object-fit:cover !important;
  display:block !important;
}

.ucp-connect-avatar{
  width:46px;
  height:46px;
  border-radius:16px;
  object-fit:cover;
  display:block;
  border:1px solid rgba(255,255,255,.12);
}

/* Sicherheit = Doppelkachel */
.ucp-card-security{
    grid-column: span 2;
}

@media (max-width: 900px){
    .ucp-card-security{
        grid-column: span 1;
    }
}