
:root{
  --blue: 255,120,200;
  --text:#fdf2ff;
  --muted:#d4bfe9;
  --card-bg: rgba(24,8,32,.86);
  --stroke: rgba(255,255,255,.16);
}
*{box-sizing:border-box}
html,body{
  margin:0; min-height:100%;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text); overflow-x:hidden;
  background-image: radial-gradient(#150016, #020008);
}

.particle-network-animation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  overflow: hidden;
  background-color: #0b0612;
  z-index: 0;
}

.wrap{max-width:1400px; margin:0 auto; position:relative; z-index:1; padding:24px 16px 40px;}
@keyframes fadeUp{from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)}}

.header{
  text-align:center; margin:10px 0 32px;
  opacity:0; transform:translateY(-14px); animation:fadeUp .8s ease forwards; position:relative;
}
.header__title{
  font-family: Orbitron, sans-serif;
  font-size: clamp(28px, 6vw, 52px);
  color:#f973c9;
  text-shadow:
    0 0 20px rgba(249,115,201,.85),
    0 0 40px rgba(236,72,153,.7),
    0 0 80px rgba(219,39,119,.55);
  margin:0;
}
.header__subtitle{font-size:16px; color:#b0c4de; letter-spacing:2px; margin-top:8px;}
.header::after{
  content:""; position:absolute; bottom:-14px; left:50%; transform:translateX(-50%);
  width:200px; height:4px; border-radius:4px;
  background:linear-gradient(90deg, transparent, #f472b6, transparent);
  box-shadow:0 0 20px rgba(244,114,182,.85);
}

.btnrow{
  display:flex; gap:8px; flex-wrap:wrap; justify-content:center;
  margin:32px 0 20px;
  opacity:0; transform:translateY(10px); animation:fadeUp .8s ease forwards; animation-delay:.35s;
}
a.btn, button.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:999px;
  background:linear-gradient(135deg,#ec4899,#a855f7);
  color:#fff; text-decoration:none; font-weight:800; border:1px solid rgba(255,255,255,.10); cursor:pointer;
  box-shadow:0 10px 26px rgba(236,72,153,.38), inset 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
  letter-spacing:.2px;
}
.btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.05);
  box-shadow:0 14px 36px rgba(236,72,153,.62), inset 0 0 0 1px rgba(255,255,255,.1)
}
.btn-sm{padding:8px 12px; font-size:13px}
.btn-icon{width:36px; height:36px; padding:0; border-radius:999px}

.user-chip{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 12px; border-radius:999px;
  font-size:13px; font-weight:600; letter-spacing:.02em;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  color:var(--text);
  cursor:default;
  box-shadow:none;
}
.user-chip:hover{ transform:none; filter:none; }

.card{
  position:relative; background:var(--card-bg); border-radius:20px; padding:20px; margin-bottom:18px; overflow:hidden; text-align:left;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 14px 36px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.04);
  backdrop-filter: blur(8px) saturate(1.2);
  opacity:0; transform:translateY(16px); animation:fadeUp .8s ease forwards;
}
.card::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(circle at var(--glow-x,50%) var(--glow-y,50%), rgba(var(--blue), calc(var(--glow-intensity,0)*.65)) 0%, transparent 60%);
  opacity:.9; transition:opacity .2s ease;
}

label{display:block; font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:6px}

input,select{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--stroke);
  color:var(--text);
  outline:none;
  transition:border-color .2s, box-shadow .2s;
}

input{background:#140322}
input::placeholder{color:#b8a0c8}

select{
  width:100%;
  padding:12px 44px 12px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  color: var(--text);
  background: rgba(24, 8, 32, .35);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  outline:none;
  transition:border-color .2s, box-shadow .2s, background .2s;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background-image:
    linear-gradient(135deg, transparent 50%, rgba(249,115,201,.95) 50%),
    linear-gradient(225deg, transparent 50%, rgba(168,85,247,.95) 50%),
    linear-gradient(to right, rgba(255,255,255,.10), rgba(255,255,255,0));
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%,
    calc(100% - 42px) 50%;
  background-size: 6px 6px, 6px 6px, 1px 60%;
  background-repeat: no-repeat;
}
input:focus,select:focus{
  border-color:#f472b6;
  box-shadow:0 0 0 4px rgba(244,114,182,.26)
}
select:focus{
  background: rgba(24, 8, 32, .45);
}

select option{
  background: rgba(20,3,34,.95);
  color: var(--text);
}
select option:checked{
  background: rgba(244,114,182,.35);
  color:#fff;
}

.chip-input{
  display:flex; flex-wrap:wrap; gap:8px; align-items:center;
  padding:8px; border:1px solid var(--stroke); border-radius:12px; background:#140322; min-height:46px
}
.chip-input input{background:transparent; border:none; padding:6px 0; box-shadow:none}
.chip-input input::placeholder{color:#b8a0c8}
.chip-badge{
  background:#140322; border:1px solid var(--stroke); border-radius:999px; padding:6px 10px;
  font-size:12px; color:#fed7ff; display:inline-flex; align-items:center; gap:6px;
}
.chipx{
  border:0; background:#13202e; color:#fff; border-radius:999px; cursor:pointer;
  width:18px; height:18px; line-height:18px; text-align:center; font-weight:900;
}

* { scrollbar-width: thin; scrollbar-color: rgba(249,115,201,.9) #1a0d24; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: #1a0d24; border-radius: 10px; }
*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f472b6, #a855f7);
  border-radius: 10px;
  border: 2px solid rgba(24,8,32,.5);
}
*::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #f9a8d4, #c084fc); }
*::-webkit-scrollbar-button { display: none; }

.listwrap{border:1px solid var(--stroke); border-radius:12px; overflow:auto; max-height:70vh}
.listhead{position:sticky; top:0; z-index:1; display:flex; justify-content:space-between; align-items:center; padding:12px; border-bottom:1px solid var(--stroke); background:rgba(6,16,26,.9)}
.list{display:grid; gap:12px; padding:12px}
.item{
  display:grid; grid-template-columns:160px 1fr; gap:14px;
  border:1px solid rgba(255,255,255,.14); border-radius:14px; padding:12px; position:relative;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);
}
@media(max-width:640px){.item{grid-template-columns:1fr}}
.thumb{width:100%; height:120px; max-width:160px; background:#140322; border:1px solid rgba(255,255,255,.14); border-radius:12px; overflow:hidden; display:flex; align-items:center; justify-content:center}
.thumb img{width:100%; height:100%; object-fit:cover}
.content{min-width:0}
.title{margin:0 0 6px; font-weight:800}
.evName{font-weight:800; color:#f9a8d4}
.meta{display:flex; gap:12px; flex-wrap:wrap; font-size:12px; color:var(--muted)}
.event-status{justify-content:space-between; flex-wrap:nowrap; width:100%; margin-bottom:4px; font-weight:600}
.event-status .status-enter{color:#a78bfa}
.event-status .status-open{color:#f9a8d4; margin-left:auto}
.event-status .status-open.genehmigt{color:#86efac}
.event-status .status-open.abgelehnt{color:#fca5a5}
.event-status .status-open.zur-auszahlung{color:#86efac}
.hint{font-size:12px; color:#a7b0bf; margin-top:6px}

.status-badge{display:inline-block; margin-top:6px; padding:6px 10px; border-radius:999px; font-size:12px; font-weight:700}
.badge-reviewed{background:rgba(34,197,94,.12); color:#86efac; border:1px solid rgba(34,197,94,.35)}
.badge-rejected{background:rgba(239,68,68,.12); color:#fca5a5; border:1px solid rgba(239,68,68,.35)}
.badge-nobank{background:rgba(59,130,246,.12); color:#93c5fd; border:1px solid rgba(59,130,246,.35)}
.badge-noproof{background:rgba(251,191,36,.12); color:#fde68a; border:1px solid rgba(251,191,36,.35)}

details.participants{margin-top:8px; border:1px solid var(--stroke); border-radius:10px; background:#09111a}
details.participants summary{cursor:pointer; padding:8px 10px; font-weight:800; color:#c7e5ff}
.plist{padding:8px; display:grid; gap:6px}
.pitem{display:flex; justify-content:space-between; gap:10px; border:1px solid rgba(255,255,255,.14); border-radius:8px; padding:6px 10px; background:#0b1020}
.pname{font-weight:800; color:#e5f7ff}
.pid{color:#93c5fd; font-family:ui-monospace,monospace}

.admin-tools{
  position:absolute; top:8px; right:8px; display:flex; gap:6px;
}
.admin-only{display:none}
body.admin .admin-only{display:initial}
.btn-ghost{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:36px; height:36px; padding:0 10px; border-radius:999px;
  background:linear-gradient(135deg,#ec4899,#a855f7);
  color:#fff; font-weight:900; border:1px solid rgba(255,255,255,.08); cursor:pointer;
  box-shadow:0 8px 20px rgba(236,72,153,.38), inset 0 0 0 1px rgba(255,255,255,.05);
  transition:transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.btn-ghost:hover{transform:translateY(-1px); filter:brightness(1.05); box-shadow:0 12px 28px rgba(236,72,153,.52), inset 0 0 0 1px rgba(255,255,255,.08)}
.btn-ghost span{font-size:14px; line-height:1}

.particle{
  position:absolute; border-radius:50%; background:rgba(var(--blue),1); box-shadow:0 0 8px rgba(var(--blue),.7);
  pointer-events:none; z-index:0; opacity:.7; animation:floatParticle 4s ease-in-out infinite alternate;
}
@keyframes floatParticle{from{transform:translateY(0) scale(1); opacity:.8} to{transform:translateY(-25px) scale(1.3); opacity:.3}}

footer{
  text-align:center; margin-top:24px; font-size:13px; font-weight:600;
  background:linear-gradient(90deg,
    #f973c9,
    #e879f9,
    #c4b5fd,
    #a855f7,
    #ec4899,
    #f973c9);
  -webkit-background-clip:text; -webkit-text-fill-color: transparent;
  background-size:400% 400%; animation:rgbFlow 10s linear infinite;
}
@keyframes rgbFlow{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
