
:root{--panel:rgba(16,10,26,.72);--border:rgba(165,105,255,.18);--border-hover:rgba(185,125,255,.55);--purple:#8b5cf6;--purple2:#c084fc;--text:#f8f5ff;--muted:#a89db7;--success:#62f6a5}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--text);background:radial-gradient(circle at 50% -20%,#251036 0,#0a0510 38%,#05030a 75%)}body{min-height:100vh;overflow-x:hidden}#stars{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}.nebula{position:fixed;width:420px;height:420px;border-radius:50%;filter:blur(90px);opacity:.18;z-index:0;pointer-events:none;animation:floatNebula 13s ease-in-out infinite alternate}.n1{left:-120px;top:12%;background:#7c3aed}.n2{right:-100px;bottom:5%;background:#a855f7;animation-delay:-6s}@keyframes floatNebula{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(60px,-35px,0) scale(1.12)}}a{color:inherit;text-decoration:none}.glass{background:linear-gradient(180deg,rgba(25,15,38,.82),rgba(11,7,18,.72));border:1px solid var(--border);box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 18px 65px rgba(0,0,0,.42),0 0 45px rgba(126,34,206,.05);backdrop-filter:blur(18px)}.topbar{position:sticky;top:12px;z-index:20;width:min(1240px,94vw);margin:12px auto 0;padding:13px 16px;border-radius:18px;display:flex;justify-content:space-between;align-items:center}.top-brand,.userbox{display:flex;align-items:center;gap:12px}.logo{font-weight:950;letter-spacing:1.4px;font-size:21px}.logo span{color:var(--purple2);text-shadow:0 0 22px rgba(192,132,252,.65)}.brand-mark{width:74px;height:74px;display:grid;place-items:center;margin:0 auto 16px;border-radius:22px;font-size:35px;font-weight:950;background:linear-gradient(145deg,#5b21b6,#a855f7);box-shadow:0 0 0 1px rgba(216,180,254,.2),0 0 55px rgba(147,51,234,.42);transform:rotate(-5deg)}.brand-mark.small{width:38px;height:38px;margin:0;border-radius:11px;font-size:18px}.landing{position:relative;z-index:2;min-height:100vh;display:grid;place-items:center;padding:30px}.hero{width:min(840px,94vw);border-radius:30px;padding:68px 55px;text-align:center;animation:fadeUp .8s ease both}.badge,.eyebrow{display:inline-flex;align-items:center;gap:8px;color:#d8b4fe;font-size:11px;letter-spacing:2.3px;font-weight:800;text-transform:uppercase}.badge{padding:8px 12px;border:1px solid rgba(192,132,252,.18);border-radius:999px;background:rgba(109,40,217,.1)}.hero h1{margin:22px 0 15px;font-size:clamp(44px,7vw,78px);letter-spacing:-3px;line-height:.98}.hero h1 span{background:linear-gradient(90deg,#fff,#d8b4fe,#9333ea);-webkit-background-clip:text;color:transparent}.hero p{color:var(--muted);max-width:650px;margin:0 auto 22px;font-size:17px;line-height:1.75}.page{position:relative;z-index:2;width:min(1240px,94vw);margin:42px auto 100px}.page-head{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:28px}.page-head h1{margin:7px 0 6px;font-size:clamp(32px,5vw,48px)}.page-head p,.section-title-row p{margin:0;color:var(--muted)}.status-pill{display:flex;align-items:center;gap:9px;border:1px solid rgba(98,246,165,.2);background:rgba(98,246,165,.06);color:#b5ffd5;border-radius:999px;padding:10px 14px;font-size:11px;font-weight:800;letter-spacing:1px}.status-pill span{width:8px;height:8px;border-radius:50%;background:var(--success);box-shadow:0 0 14px var(--success);animation:pulse 1.8s ease infinite}@keyframes pulse{50%{opacity:.35;transform:scale(.8)}}.server-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}.server-card{border-radius:20px;padding:20px;display:flex;align-items:center;gap:14px;transition:.25s ease}.server-card:hover{transform:translateY(-4px);border-color:var(--border-hover);box-shadow:0 22px 70px rgba(98,35,150,.2)}.server-icon{width:52px;height:52px;min-width:52px;display:grid;place-items:center;border-radius:16px;font-size:21px;font-weight:900;background:linear-gradient(145deg,#4c1d95,#9333ea)}.server-card h2{margin:0 0 4px;font-size:18px}.server-card p{margin:0;color:var(--muted);font-size:13px}.arrow{margin-left:auto;color:var(--purple2);font-size:22px}.section-card{border-radius:22px;padding:24px;margin-bottom:30px}.section-header{display:flex;gap:14px;align-items:center;margin-bottom:24px}.section-header h2{margin:0 0 4px;font-size:21px}.section-header p{margin:0;color:var(--muted);font-size:14px}.icon-wrap{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:rgba(139,92,246,.12);border:1px solid rgba(192,132,252,.16)}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:block}.field.full{grid-column:1/-1}.field>span{display:block;margin-bottom:7px;font-weight:700;font-size:13px}.field small{display:block;color:var(--muted);margin:-2px 0 9px;line-height:1.5}select{width:100%;appearance:none;padding:12px 13px;color:white;background:linear-gradient(180deg,rgba(10,6,15,.95),rgba(8,5,12,.95));border:1px solid rgba(151,94,211,.28);border-radius:12px;outline:none;transition:.2s}select:focus{border-color:#9f67e8;box-shadow:0 0 0 3px rgba(139,92,246,.12),0 0 25px rgba(124,58,237,.14)}.multi{min-height:175px;padding:7px}.multi option{padding:9px 10px;margin:2px 0;border-radius:8px}.multi option:checked{background:linear-gradient(90deg,#5b21b6,#7e22ce);color:white}.toggle-line{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px;border-radius:16px;background:rgba(255,255,255,.018);border:1px solid rgba(255,255,255,.045);cursor:pointer}.toggle-line b,.toggle-line small{display:block}.toggle-line small{color:var(--muted);margin-top:4px}.toggle-line input{display:none}.toggle-line i{width:52px;height:29px;min-width:52px;border-radius:999px;background:#21172b;border:1px solid #463153;position:relative;transition:.25s}.toggle-line i:before{content:"";position:absolute;width:21px;height:21px;border-radius:50%;left:3px;top:3px;background:#887d92;transition:.25s}.toggle-line input:checked+i{background:linear-gradient(90deg,#6d28d9,#9333ea);box-shadow:0 0 24px rgba(147,51,234,.35)}.toggle-line input:checked+i:before{transform:translateX(23px);background:white}.section-title-row{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:38px 2px 18px}.section-title-row h2{margin:7px 0 0;font-size:27px}.ticket-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ticket-card{border-radius:20px;padding:20px;transition:.25s ease}.ticket-card:hover{transform:translateY(-3px);border-color:var(--border-hover);box-shadow:0 22px 70px rgba(90,35,150,.13)}.ticket-card-top{display:flex;align-items:center;gap:13px;margin-bottom:17px}.ticket-emoji{width:45px;height:45px;display:grid;place-items:center;font-size:22px;border-radius:14px;background:rgba(139,92,246,.1);border:1px solid rgba(192,132,252,.13)}.ticket-card h3{margin:0 0 4px;font-size:17px}.ticket-card p{margin:0;color:var(--muted);font-size:13px}.sticky-save{position:sticky;bottom:18px;z-index:14;margin:28px 0 30px;padding:13px 14px 13px 18px;border-radius:17px;display:flex;align-items:center;justify-content:space-between;gap:18px}.sticky-save b,.sticky-save span{display:block}.sticky-save span{color:var(--muted);font-size:12px;margin-top:3px}.btn{border:0;border-radius:12px;padding:11px 16px;font-weight:850;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:.22s ease}.btn.primary{color:white;background:linear-gradient(90deg,#6d28d9,#9333ea);box-shadow:0 9px 25px rgba(109,40,217,.25)}.btn.primary:hover{transform:translateY(-2px);box-shadow:0 13px 33px rgba(139,92,246,.38)}.btn.ghost{color:#ddd2ea;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07)}.btn.large{padding:14px 22px;font-size:15px}.inline-form{display:flex;align-items:center;gap:12px}.inline-form select{flex:1}.empty{padding:28px;border-radius:20px}@keyframes fadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}.section-card,.ticket-card,.server-card{animation:fadeUp .55s ease both}@media(max-width:850px){.settings-grid,.ticket-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.page-head,.section-title-row{align-items:flex-start;flex-direction:column}.inline-form{flex-direction:column}.inline-form .btn{width:100%}.hero{padding:48px 24px}}@media(max-width:560px){.userbox span{display:none}.sticky-save{align-items:stretch;flex-direction:column}.sticky-save .btn{width:100%}}


/* ===== FPS VELORIA CUSTOM DROPDOWNS ===== */
.custom-select{
  position:relative;
  width:100%;
}
.custom-select-trigger{
  width:100%;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 13px;
  color:#f7f0ff;
  background:linear-gradient(180deg,#0d0714,#09050f);
  border:1px solid rgba(164,91,255,.42);
  border-radius:12px;
  cursor:pointer;
  outline:none;
  transition:.2s ease;
}
.custom-select-trigger:hover,
.custom-select.open .custom-select-trigger{
  border-color:#a855f7;
  box-shadow:0 0 0 3px rgba(139,92,246,.12),0 0 28px rgba(126,34,206,.2);
}
.custom-select-value{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:left;
}
.chevron{
  color:#c084fc;
  font-size:18px;
  transition:transform .2s ease;
}
.custom-select.open .chevron{transform:rotate(180deg)}
.custom-select-menu{
  position:absolute;
  z-index:100;
  left:0;
  right:0;
  top:calc(100% + 8px);
  display:none;
  overflow:hidden;
  border-radius:14px;
  border:1px solid rgba(168,85,247,.5);
  background:linear-gradient(180deg,rgba(18,9,28,.995),rgba(7,3,11,.995));
  box-shadow:0 24px 70px rgba(0,0,0,.75),0 0 38px rgba(126,34,206,.25);
  backdrop-filter:blur(18px);
  animation:veloriaSelectIn .16s ease both;
}
.custom-select.open .custom-select-menu{display:block}
@keyframes veloriaSelectIn{
  from{opacity:0;transform:translateY(-6px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
.custom-select-search-wrap{
  padding:10px;
  border-bottom:1px solid rgba(168,85,247,.15);
  background:rgba(255,255,255,.01);
}
.custom-select-search{
  width:100%;
  padding:10px 11px;
  color:#fff;
  background:#08040d;
  border:1px solid rgba(155,92,246,.32);
  border-radius:10px;
  outline:none;
}
.custom-select-search:focus{
  border-color:#a855f7;
  box-shadow:0 0 0 3px rgba(168,85,247,.1);
}
.custom-select-options{
  max-height:320px;
  overflow:auto;
  padding:7px;
  scrollbar-width:thin;
  scrollbar-color:#7c3aed #0a0510;
}
.custom-select-options::-webkit-scrollbar{width:8px}
.custom-select-options::-webkit-scrollbar-track{background:#0a0510}
.custom-select-options::-webkit-scrollbar-thumb{
  background:linear-gradient(#6d28d9,#9333ea);
  border-radius:999px;
}
.custom-option{
  width:100%;
  display:block;
  text-align:left;
  color:#eadff8;
  background:transparent;
  border:0;
  border-radius:9px;
  padding:10px 11px;
  cursor:pointer;
  transition:.15s ease;
}
.custom-option:hover{
  color:#fff;
  background:linear-gradient(90deg,rgba(91,33,182,.38),rgba(126,34,206,.24));
}
.custom-option.selected{
  color:#fff;
  background:linear-gradient(90deg,#5b21b6,#7e22ce);
  box-shadow:0 0 16px rgba(126,34,206,.28);
}
.panel-select{flex:1}

/* Force native multi-role selectors to stay dark */
select.multi{
  color-scheme:dark;
  background:#09050f !important;
  border-color:rgba(164,91,255,.42) !important;
}
select.multi option{
  background:#09050f;
  color:#f5efff;
}


/* =========================================================
   FPS VELORIA V3.4 — ZERO NATIVE SELECTS / FULL DARK UI
   ========================================================= */

.vel-select{
  position:relative;
  width:100%;
}

.vel-trigger{
  width:100%;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 13px;
  color:#f8f2ff;
  background:
    linear-gradient(180deg,rgba(14,7,21,.98),rgba(7,3,12,.99));
  border:1px solid rgba(153,82,236,.44);
  border-radius:12px;
  outline:none;
  cursor:pointer;
  text-align:left;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 8px 22px rgba(0,0,0,.16);
  transition:.18s ease;
}

.vel-trigger:hover,
.vel-select.open .vel-trigger{
  border-color:#a855f7;
  box-shadow:
    0 0 0 3px rgba(139,92,246,.12),
    0 0 28px rgba(126,34,206,.19);
}

.vel-trigger-multi{
  min-height:52px;
  justify-content:flex-start;
  flex-wrap:wrap;
  padding-right:44px;
  position:relative;
}

.vel-chevron{
  color:#c084fc;
  margin-left:auto;
  font-size:18px;
  transition:.2s ease;
}

.vel-trigger-multi .vel-chevron{
  position:absolute;
  right:13px;
  top:50%;
  transform:translateY(-50%);
}

.vel-select.open .vel-chevron{
  transform:rotate(180deg);
}

.vel-select.open .vel-trigger-multi .vel-chevron{
  transform:translateY(-50%) rotate(180deg);
}

.vel-placeholder{
  color:#92859f;
  font-size:13px;
}

.vel-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.vel-tag{
  display:inline-flex;
  align-items:center;
  gap:7px;
  max-width:220px;
  padding:6px 8px 6px 10px;
  border-radius:999px;
  color:#f7eeff;
  background:linear-gradient(90deg,rgba(91,33,182,.72),rgba(126,34,206,.64));
  border:1px solid rgba(216,180,254,.15);
  box-shadow:0 0 18px rgba(126,34,206,.13);
  font-size:12px;
  font-weight:700;
}

.vel-tag > span:first-child{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.vel-tag-x{
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  color:#e9d5ff;
  cursor:pointer;
  font-size:14px;
}

.vel-tag-x:hover{
  background:rgba(255,255,255,.16);
  color:white;
}

.vel-menu{
  position:absolute;
  z-index:500;
  left:0;
  right:0;
  top:calc(100% + 8px);
  display:none;
  overflow:hidden;
  border-radius:15px;
  border:1px solid rgba(168,85,247,.48);
  background:
    radial-gradient(circle at 80% -20%,rgba(126,34,206,.19),transparent 38%),
    linear-gradient(180deg,#12081c 0%,#09040f 100%);
  box-shadow:
    0 28px 80px rgba(0,0,0,.78),
    0 0 45px rgba(126,34,206,.22),
    inset 0 1px 0 rgba(255,255,255,.03);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  animation:velDrop .16s ease both;
}

.vel-menu-up{
  top:auto;
  bottom:calc(100% + 8px);
  transform-origin:bottom;
}

.vel-select.open .vel-menu{
  display:block;
}

@keyframes velDrop{
  from{opacity:0;transform:translateY(-6px) scale(.988)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

.vel-search-wrap{
  padding:10px;
  background:rgba(255,255,255,.012);
  border-bottom:1px solid rgba(168,85,247,.13);
}

.vel-search{
  width:100%;
  height:42px;
  padding:0 12px;
  color:#fff;
  background:#07030c;
  border:1px solid rgba(168,85,247,.34);
  border-radius:10px;
  outline:none;
}

.vel-search::placeholder{
  color:#7f728c;
}

.vel-search:focus{
  border-color:#a855f7;
  box-shadow:0 0 0 3px rgba(168,85,247,.10);
}

.vel-options{
  max-height:310px;
  overflow-y:auto;
  padding:7px;
  background:#09040f;
  scrollbar-width:thin;
  scrollbar-color:#7c3aed #09040f;
}

.vel-options::-webkit-scrollbar{
  width:8px;
}

.vel-options::-webkit-scrollbar-track{
  background:#09040f;
}

.vel-options::-webkit-scrollbar-thumb{
  background:linear-gradient(#6d28d9,#9333ea);
  border-radius:999px;
}

.vel-option{
  width:100%;
  min-height:39px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  margin:2px 0;
  color:#e8dcf5;
  background:transparent;
  border:1px solid transparent;
  border-radius:9px;
  cursor:pointer;
  text-align:left;
  font:inherit;
  transition:.13s ease;
}

.vel-option:hover{
  color:white;
  background:linear-gradient(90deg,rgba(91,33,182,.32),rgba(126,34,206,.16));
  border-color:rgba(168,85,247,.12);
}

.vel-option.selected{
  color:white;
  background:linear-gradient(90deg,rgba(91,33,182,.88),rgba(126,34,206,.72));
  border-color:rgba(216,180,254,.14);
  box-shadow:0 0 18px rgba(126,34,206,.14);
}

.vel-check{
  opacity:0;
  color:#fff;
  font-weight:900;
  transition:.12s ease;
}

.vel-option.selected .vel-check{
  opacity:1;
}

.panel-select{
  flex:1;
}

.vel-hidden{
  display:none !important;
}

/* Hide any accidental native dropdown left in the ticket page */
#ticketSettingsForm select,
#publishPanelForm select{
  display:none !important;
}

.shake{
  animation:velShake .38s ease;
}

@keyframes velShake{
  0%,100%{transform:translateX(0)}
  25%{transform:translateX(-5px)}
  50%{transform:translateX(5px)}
  75%{transform:translateX(-3px)}
}
