
:root{--bg:#07080d;--bg2:#0b0c12;--panel:#11121a;--text:#f5f5f7;--muted:#999ba7;--line:rgba(255,255,255,.085);--purple:#8f68ff;--purple2:#654cff;--green:#68e59c}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif;overflow-x:hidden}a{color:inherit;text-decoration:none}.container{width:min(1160px,calc(100% - 40px));margin:auto}.container-wide{width:min(1280px,calc(100% - 34px));margin:auto}.noise{position:fixed;inset:0;z-index:99;pointer-events:none;opacity:.025;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.header{position:fixed;inset:0 0 auto;z-index:50;height:82px;border-bottom:1px solid transparent;transition:.25s}.header.scrolled{background:rgba(7,8,13,.86);backdrop-filter:blur(18px);border-color:var(--line)}.nav{height:100%;display:flex;align-items:center;gap:36px}.brand{display:flex;align-items:center;gap:10px}.brand-logo{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,#9a73ff,#5b4bff);font:800 19px Manrope;box-shadow:0 8px 25px rgba(95,67,255,.3)}.brand>span:last-child{display:flex;flex-direction:column;line-height:1}.brand b{font:800 13px Manrope;letter-spacing:.13em}.brand small{font-size:7px;letter-spacing:.3em;color:#a28df2;margin-top:4px}.nav nav{margin-left:auto;display:flex;gap:30px}.nav nav a{font-size:12px;color:#b9bac3;font-weight:600}.nav nav a:hover{color:#fff}.top-discord{border:1px solid var(--line);border-radius:9px;padding:11px 14px;font-size:11px;font-weight:700;background:rgba(255,255,255,.025)}.hamburger{display:none;margin-left:auto;background:none;border:0}.hamburger span{display:block;width:23px;height:2px;background:white;margin:5px}
.hero{position:relative}.home-hero{min-height:100vh;display:flex;align-items:center;padding:120px 0 75px;overflow:hidden;background:radial-gradient(circle at 78% 42%,rgba(102,68,255,.18),transparent 31%),linear-gradient(180deg,#090a10,#07080d)}.hero-bg{position:absolute;right:-5%;top:8%;width:55%;height:85%;background:radial-gradient(ellipse at center,rgba(117,83,255,.15),transparent 65%)}.hero-lines,.page-hero:before{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:70px 70px;mask-image:linear-gradient(to bottom,black,transparent 80%)}.hero-content{position:relative;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:70px}.eyebrow{font-size:10px;letter-spacing:.19em;font-weight:800;color:#a98fff;display:flex;align-items:center;gap:9px}.eyebrow i{width:6px;height:6px;border-radius:50%;background:#916cff;box-shadow:0 0 13px #916cff}.hero h1,.page-hero h1{font:800 clamp(56px,6.5vw,96px)/.93 Manrope;margin:24px 0;letter-spacing:-.055em}.hero h1 span,.page-hero h1 span,.section-heading h2 span,.section-title h2 span,.city-copy h2 span,.big-cta h2 span{color:#9d7aff}.hero-copy>p,.page-hero p{max-width:620px;color:var(--muted);font-size:16px;line-height:1.8}.hero-buttons{display:flex;gap:11px;margin-top:32px}.btn{min-height:48px;padding:0 20px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:12px;font-weight:800;border:1px solid transparent;transition:.2s}.btn:hover{transform:translateY(-2px)}.primary{background:linear-gradient(135deg,#946dff,#6352ff);box-shadow:0 12px 38px rgba(102,73,255,.25)}.secondary{border-color:var(--line);background:rgba(255,255,255,.03)}.status-row{display:flex;gap:45px;margin-top:55px;padding-top:22px;border-top:1px solid var(--line);max-width:620px}.status-row>div{display:flex;flex-direction:column;gap:7px}.status-row small{font-size:8px;letter-spacing:.16em;color:#696b76;font-weight:800}.status-row strong{font-size:10px;letter-spacing:.08em}.green{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 11px var(--green);margin-right:6px}
.hero-emblem{height:560px;position:relative;display:grid;place-items:center}.emblem-v{font:800 285px/.8 Manrope;color:rgba(255,255,255,.055);text-shadow:0 0 80px rgba(132,89,255,.15)}.emblem-ring{position:absolute;border-radius:50%;border:1px solid rgba(152,117,255,.17)}.ring-a{width:410px;height:410px}.ring-b{width:300px;height:300px;border-style:dashed;animation:spin 30s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.emblem-caption{position:absolute;bottom:100px;text-align:center;display:flex;flex-direction:column}.emblem-caption small{font-size:9px;letter-spacing:.45em;color:#8c8e99}.emblem-caption b{font:800 27px Manrope;letter-spacing:.14em;margin-top:5px}.scroll{position:absolute;bottom:23px;left:50%;transform:translateX(-50%);font-size:7px;letter-spacing:.25em;color:#5e606b;text-align:center}.scroll span{display:block;margin-top:7px;color:#a183ff;font-size:13px}
.section{padding:118px 0}.dark-section{background:#090a0f;border-top:1px solid rgba(255,255,255,.035);border-bottom:1px solid rgba(255,255,255,.035)}.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px}.section-title small,.section-heading small,.city-copy>small,.big-cta>small{font-size:9px;letter-spacing:.2em;color:#7e65d5;font-weight:800}.section-title h2,.section-heading h2,.city-copy h2{font:800 clamp(39px,4.5vw,62px)/1 Manrope;letter-spacing:-.045em;margin:15px 0}.intro-text{font-size:15px;color:var(--muted);line-height:1.85}.line-link{display:inline-block;margin-top:13px;color:#a48aff;font-size:11px;font-weight:800}.section-heading{margin-bottom:47px}.section-heading.row{display:flex;align-items:end;justify-content:space-between}.portal-preview,.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.preview-card,.portal-card{border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.012));padding:30px;min-height:245px;transition:.25s}.preview-card:hover,.portal-card:hover{transform:translateY(-5px);border-color:rgba(143,104,255,.35);background:rgba(39,31,65,.38)}.icon,.portal-icon{width:42px;height:42px;border:1px solid rgba(143,104,255,.25);border-radius:11px;display:grid;place-items:center;color:#a283ff;background:rgba(120,86,255,.06);margin-bottom:27px}.preview-card small{font-size:8px;letter-spacing:.16em;color:#7564ad}.preview-card h3,.portal-card h3{font:700 20px Manrope;margin:7px 0 11px}.preview-card p,.portal-card p{font-size:12px;line-height:1.72;color:var(--muted)}.preview-card b,.portal-card span{display:inline-block;margin-top:12px;font-size:10px;color:#a58bff}.center-button{text-align:center;margin-top:35px}
.city-panel{min-height:510px;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:linear-gradient(120deg,#11101a,#08090e);display:grid;grid-template-columns:1fr 1fr;box-shadow:0 35px 90px rgba(0,0,0,.3)}.city-copy{padding:72px 0 65px 68px;position:relative;z-index:2}.city-copy p{max-width:480px;color:var(--muted);font-size:14px;line-height:1.8}.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}.tags span{font-size:8px;letter-spacing:.14em;padding:8px 10px;border:1px solid var(--line);border-radius:7px;color:#8a8c96}.city-art{position:relative;overflow:hidden}.sun{position:absolute;width:420px;height:420px;border-radius:50%;right:-80px;top:20px;background:radial-gradient(circle,rgba(114,73,255,.35),rgba(58,50,133,.07) 48%,transparent 70%)}.building{position:absolute;bottom:0;border:1px solid rgba(255,255,255,.06);background:linear-gradient(180deg,rgba(157,125,255,.14),rgba(255,255,255,.015))}.b1{width:100px;height:270px;right:340px}.b2{width:120px;height:380px;right:210px}.b3{width:95px;height:230px;right:108px}.b4{width:135px;height:430px;right:-35px}.road{position:absolute;width:650px;height:1px;background:linear-gradient(90deg,transparent,#8866ff,transparent);right:-110px;bottom:130px;transform:rotate(-20deg)}
.news-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:rgba(255,255,255,.015)}.news-image{height:220px;display:grid;place-items:center;background:#111}.news-image b{font:800 44px Manrope;letter-spacing:.12em;color:rgba(255,255,255,.1)}.n1{background:radial-gradient(circle at 70% 25%,#563895,transparent 36%),#111019}.n2{background:radial-gradient(circle at 25% 65%,#304b8d,transparent 38%),#0d1019}.n3{background:radial-gradient(circle at 72% 75%,#623873,transparent 38%),#110e16}.news-content{padding:24px}.news-content small{font-size:8px;letter-spacing:.16em;color:#876cda}.news-content h3{font:700 18px Manrope;margin:10px 0}.news-content p{min-height:62px;font-size:12px;line-height:1.68;color:var(--muted)}.news-content a{font-size:10px;font-weight:800;color:#a68cff}
.big-cta{text-align:center;border:1px solid rgba(147,106,255,.2);border-radius:24px;padding:85px 25px;position:relative;overflow:hidden;background:radial-gradient(circle at 50% -30%,rgba(118,77,255,.25),transparent 50%),#0e0d15}.big-cta h2{font:800 clamp(44px,5vw,72px)/1 Manrope;letter-spacing:-.05em;margin:15px 0}.big-cta p{color:var(--muted)}.big-cta>div{display:flex;justify-content:center;gap:10px;margin-top:28px}
.page-hero{min-height:510px;display:flex;align-items:flex-end;padding:145px 0 75px;position:relative;overflow:hidden;background:radial-gradient(circle at 78% 30%,rgba(109,72,255,.15),transparent 28%),#090a10}.page-hero.mini{min-height:470px}.page-hero .container{position:relative;z-index:2}.page-hero h1{font-size:clamp(53px,6vw,84px);margin-bottom:16px}.page-hero p{margin:0}.portal-section{padding-top:75px}.portal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.portal-card{min-height:280px;position:relative}.portal-number{position:absolute;right:20px;top:18px;font-size:8px;letter-spacing:.18em;color:#555762}.portal-info{border:1px solid var(--line);border-radius:18px;padding:38px;display:flex;align-items:center;justify-content:space-between;background:#0d0e15}.portal-info small{color:#8467df;font-size:8px;letter-spacing:.18em}.portal-info h2{font:700 25px Manrope;margin:8px 0}.portal-info p{font-size:12px;color:var(--muted);margin:0}.slim{padding-top:20px}
.application-list{display:grid;gap:14px}.application-card{border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.018);padding:35px 38px;display:flex;align-items:center;justify-content:space-between;gap:30px}.application-card small{font-size:8px;letter-spacing:.17em;color:#846ad6}.application-card h3{font:700 25px Manrope;margin:8px 0}.application-card p{font-size:12px;color:var(--muted);max-width:650px;line-height:1.7}
.rules-layout{display:grid;grid-template-columns:250px 1fr;gap:70px}.rules-nav{position:sticky;top:120px;align-self:start;display:flex;flex-direction:column;border-left:1px solid var(--line)}.rules-nav a{font-size:11px;color:#888a96;padding:11px 18px}.rules-nav a:hover{color:#fff;border-left:1px solid #9876ff;margin-left:-1px}.rule-section{padding:0 0 55px;margin-bottom:55px;border-bottom:1px solid var(--line)}.rule-section small{font-size:9px;color:#8c70e5;letter-spacing:.18em}.rule-section h2{font:700 32px Manrope;margin:9px 0 14px}.rule-section p{font-size:14px;line-height:1.85;color:var(--muted);max-width:760px}.news-page{grid-template-columns:repeat(3,1fr)}
.footer{border-top:1px solid var(--line);padding:60px 0 25px;background:#06070b}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:60px}.footer-brand{margin-bottom:17px}.footer-grid p{font-size:11px;line-height:1.7;color:#6f717d;max-width:370px}.footer-links{display:flex;flex-direction:column;gap:10px}.footer-links b{font-size:8px;letter-spacing:.15em;color:#777986;margin-bottom:6px;text-transform:uppercase}.footer-links a{font-size:11px;color:#aaaab3}.copyright{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;margin-top:42px;color:#50525c;font-size:8px}
.reveal{opacity:0;transform:translateY(18px);transition:.7s ease}.reveal.visible{opacity:1;transform:none}.delay{transition-delay:.09s}.delay2{transition-delay:.18s}
@media(max-width:900px){.top-discord,.nav nav{display:none}.hamburger{display:block}.nav nav.open{display:flex;position:absolute;left:17px;right:17px;top:74px;flex-direction:column;gap:0;background:#0d0e14;border:1px solid var(--line);border-radius:13px;padding:8px}.nav nav.open a{padding:13px;border-bottom:1px solid var(--line)}.hero-content,.intro-grid,.city-panel,.rules-layout{grid-template-columns:1fr}.hero-copy{text-align:center}.hero-copy .eyebrow{justify-content:center}.hero-copy>p{margin:auto}.hero-buttons,.status-row{justify-content:center}.hero-emblem{height:400px}.portal-grid{grid-template-columns:repeat(2,1fr)}.portal-preview,.news-grid,.news-page{grid-template-columns:1fr 1fr}.city-copy{padding:55px 45px 0}.city-art{height:330px}.rules-nav{position:static;display:grid;grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.container{width:calc(100% - 28px)}.header{height:70px}.brand-logo{width:34px;height:34px}.home-hero{padding-top:110px}.hero h1,.page-hero h1{font-size:clamp(47px,14vw,67px)}.hero-buttons,.big-cta>div{flex-direction:column}.hero-buttons .btn,.big-cta .btn{width:100%}.status-row{gap:18px;justify-content:space-between}.hero-emblem{height:340px}.emblem-v{font-size:200px}.ring-a{width:285px;height:285px}.ring-b{width:215px;height:215px}.section{padding:85px 0}.intro-grid{gap:35px}.portal-preview,.news-grid,.news-page,.portal-grid{grid-template-columns:1fr}.section-heading.row{display:block}.section-heading.row>a{margin-top:10px}.city-copy{padding:42px 25px 0}.portal-info,.application-card{align-items:flex-start;flex-direction:column}.rules-layout{gap:35px}.rules-nav{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.copyright{flex-direction:column;gap:8px}}


/* Discord portal */
.hidden{display:none!important}
.active-nav{color:#fff!important}
.portal-auth-section{padding-top:72px}
.auth-state{
  max-width:760px;margin:0 auto;text-align:center;border:1px solid var(--line);border-radius:22px;
  padding:70px 38px;background:radial-gradient(circle at 50% 0,rgba(109,78,255,.12),transparent 45%),#0c0d14
}
.auth-state h2{font:700 32px Manrope;margin:17px 0 10px}
.auth-state p{color:var(--muted);font-size:13px;line-height:1.7;max-width:560px;margin:0 auto 27px}
.portal-auth-icon{width:64px;height:64px;border-radius:18px;display:grid;place-items:center;margin:0 auto 20px;background:linear-gradient(145deg,#9873ff,#5e4cff);font:800 27px Manrope;box-shadow:0 12px 40px rgba(102,73,255,.26)}
.auth-state>small,.wl-heading>small,.member-welcome>small{font-size:8px;letter-spacing:.2em;color:#8a6fe4;font-weight:800}
.discord-btn{background:#5865F2;color:white;margin-top:5px;min-width:220px}
.discord-mark{font-size:17px}
.auth-note{font-size:9px;line-height:1.6;color:#676a75;margin-top:24px}
.auth-spinner{width:34px;height:34px;border-radius:50%;border:3px solid rgba(255,255,255,.08);border-top-color:#9270ff;margin:0 auto 22px;animation:authSpin .8s linear infinite}
@keyframes authSpin{to{transform:rotate(360deg)}}
.member-top{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid var(--line);border-radius:18px;padding:23px 26px;background:rgba(255,255,255,.018);margin-bottom:18px}
.member-profile{display:flex;align-items:center;gap:16px}
.member-avatar{width:56px;height:56px;border-radius:50%;object-fit:cover;border:2px solid rgba(151,116,255,.25);background:#12131b}
.member-profile small{font-size:8px;letter-spacing:.16em;color:#6e707c}
.member-profile h2{font:700 19px Manrope;margin:4px 0}
.member-profile p{font-size:10px;color:#8c8f99;margin:0}
.not-member-status{color:#e2b277!important}
.member-welcome{padding:50px 5px 38px}
.member-welcome h2{font:700 clamp(34px,4vw,53px)/1.03 Manrope;letter-spacing:-.04em;margin:13px 0}
.member-welcome h2 span{color:#9d7aff}
.member-welcome p{color:var(--muted);font-size:13px;line-height:1.7;max-width:660px}
.member-grid{grid-template-columns:repeat(4,1fr)!important}
.wl-panel{border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.03),rgba(255,255,255,.012));padding:46px;margin-top:18px}
.wl-heading{max-width:720px;margin-bottom:34px}
.wl-heading h2{font:700 clamp(34px,4vw,52px)/1 Manrope;letter-spacing:-.04em;margin:12px 0}
.wl-heading p{color:var(--muted);font-size:13px;line-height:1.75}
.wl-form{display:grid;gap:18px}
.wl-form label{display:grid;gap:8px}
.wl-form label>span{font-size:10px;font-weight:700;color:#b8bac5;letter-spacing:.02em}
.form-row{display:grid;grid-template-columns:1fr 180px;gap:15px}
.wl-form input,.wl-form textarea{
  width:100%;border:1px solid var(--line);background:#090a0f;color:#f5f5f7;border-radius:10px;padding:14px 15px;
  outline:none;font:12px Inter;transition:.2s
}
.wl-form input:focus,.wl-form textarea:focus{border-color:rgba(145,108,255,.55);box-shadow:0 0 0 3px rgba(126,88,255,.08)}
.wl-form textarea{min-height:130px;resize:vertical;line-height:1.6}
.checkbox-line{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:10px!important}
.checkbox-line input{width:16px;height:16px}
.checkbox-line span{font-weight:500!important;color:#878a95!important}
.checkbox-line a{color:#a68cff}
.wl-submit{justify-self:start;min-width:210px}
.wl-submit:disabled{opacity:.55;cursor:not-allowed;transform:none}
.form-message{font-size:11px;min-height:18px}
.form-message.success{color:#70e6a2}.form-message.error{color:#ff8e9c}
.portal-hero{min-height:500px}
@media(max-width:900px){.member-grid{grid-template-columns:1fr 1fr!important}}
@media(max-width:600px){
  .auth-state{padding:50px 22px}
  .member-top{align-items:flex-start;flex-direction:column}
  .member-top>.btn{width:100%}
  .member-grid{grid-template-columns:1fr!important}
  .wl-panel{padding:28px 20px}
  .form-row{grid-template-columns:1fr}
  .wl-submit{width:100%}
}

.auth-error-banner{display:flex;flex-direction:column;gap:5px;margin-bottom:18px;padding:15px 17px;border:1px solid rgba(255,112,132,.28);border-radius:12px;background:rgba(130,35,55,.11);color:#ff9aaa}
.auth-error-banner b{font-size:11px}.auth-error-banner span{font-size:10px;line-height:1.55;color:#d98b97}


/* =========================================================
   VEYRA 2.0 — minimal premium RP design
   ========================================================= */
:root{
  --v-bg:#080808;
  --v-surface:#0e0e0f;
  --v-surface-2:#141416;
  --v-border:rgba(255,255,255,.10);
  --v-white:#f4f4f2;
  --v-muted:#88888c;
  --v-accent:#9b7cff;
  --v-accent2:#6753d8;
}
body.veyra-new{background:var(--v-bg);color:var(--v-white)}
body.veyra-new .header{height:88px}
.new-header{border-bottom:1px solid rgba(255,255,255,.06)!important}
.new-header.scrolled{background:rgba(8,8,8,.78)!important;backdrop-filter:blur(24px)!important}
.new-brand{display:flex;align-items:center;gap:12px;font-family:Manrope,sans-serif}
.brand-glyph{
  width:35px;height:35px;border:1px solid rgba(255,255,255,.18);
  border-radius:50%;display:grid;place-items:center;font-size:14px;font-weight:800;
  position:relative;overflow:hidden;background:rgba(255,255,255,.035)
}
.brand-glyph:after{
  content:"";position:absolute;width:26px;height:26px;border-radius:50%;
  border:1px solid rgba(155,124,255,.5);transform:translate(11px,10px)
}
.brand-word{font-size:12px;font-weight:800;letter-spacing:.26em}
.new-nav{gap:34px!important}
.new-nav a{
  font-size:10px!important;text-transform:uppercase;letter-spacing:.16em!important;
  color:#8c8c90!important;position:relative;padding:9px 0
}
.new-nav a:hover,.new-nav .active-nav{color:#fff!important}
.new-nav .active-nav:after{
  content:"";position:absolute;left:0;right:0;bottom:0;margin:auto;width:4px;height:4px;
  border-radius:50%;background:var(--v-accent)
}
.nav-pill{
  border:1px solid var(--v-border);padding:11px 16px;border-radius:999px;
  text-transform:uppercase;font-size:9px;font-weight:700;letter-spacing:.12em;
  display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.025)
}
.nav-dot{width:5px;height:5px;border-radius:50%;background:#79e7a2;box-shadow:0 0 12px #79e7a2}

.new-hero{
  min-height:100vh;position:relative;overflow:hidden;
  padding:155px 0 95px;display:flex;align-items:center;
  background:
    radial-gradient(circle at 72% 45%,rgba(118,86,255,.15),transparent 29%),
    linear-gradient(180deg,#090909 0%,#080808 100%);
}
.hero-grid{
  position:absolute;inset:0;opacity:.23;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),transparent 85%);
}
.hero-orb{position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none}
.hero-orb-one{
  width:540px;height:540px;right:5%;top:16%;
  background:radial-gradient(circle at 35% 35%,rgba(175,150,255,.28),rgba(78,58,160,.06) 53%,transparent 72%);
}
.hero-orb-two{
  width:300px;height:300px;right:31%;bottom:3%;
  border:1px solid rgba(151,121,255,.12)
}
.new-hero-inner{
  position:relative;z-index:2;display:grid;grid-template-columns:1.05fr .95fr;
  align-items:center;gap:90px
}
.new-kicker,.feature-head small,.split-heading small,.identity-content small,.final-cta-box>small{
  font-size:9px;letter-spacing:.23em;font-weight:700;color:#8f8f94;text-transform:uppercase
}
.new-kicker{display:flex;align-items:center;gap:10px;margin-bottom:26px}
.new-kicker span{width:24px;height:1px;background:var(--v-accent)}
.new-hero h1{
  font:800 clamp(58px,6.5vw,104px)/.91 Manrope,sans-serif;
  margin:0;letter-spacing:-.068em;text-transform:uppercase
}
.new-hero h1 em,.split-heading h2 em,.feature-head h2 em,.identity-content h2 em,.final-cta-box h2 em{
  color:var(--v-accent);font-style:normal
}
.new-hero-copy>p{
  max-width:560px;color:#96969a;font-size:14px;line-height:1.75;margin:30px 0 0
}
.new-hero-actions{display:flex;gap:10px;margin-top:34px}
.safir-btn{
  min-height:48px;padding:0 22px;border-radius:8px;display:inline-flex;align-items:center;
  justify-content:center;gap:22px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;
  font-weight:800;border:1px solid var(--v-border);transition:.25s ease
}
.safir-primary{
  background:var(--v-white);color:#0b0b0c;border-color:var(--v-white)
}
.safir-primary:hover{transform:translateY(-2px);background:#fff}
.safir-ghost{background:rgba(255,255,255,.025);color:#ddd}
.safir-ghost:hover{background:rgba(255,255,255,.06)}
.hero-meta{
  display:flex;gap:40px;margin-top:53px;padding-top:24px;border-top:1px solid var(--v-border);
  max-width:560px
}
.hero-meta>div{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center}
.hero-meta small{grid-column:2;font-size:7px;letter-spacing:.17em;color:#67676c}
.hero-meta strong{grid-column:2;font-size:9px;letter-spacing:.11em;margin-top:4px}
.status-pulse{
  grid-row:1/3;width:6px;height:6px;border-radius:50%;background:#75e4a0;
  box-shadow:0 0 11px rgba(117,228,160,.65)
}
.new-hero-visual{display:flex;justify-content:flex-end}
.visual-shell{
  width:min(460px,100%);aspect-ratio:.83;position:relative;
  border:1px solid rgba(255,255,255,.12);border-radius:4px;overflow:hidden;
  background:
    radial-gradient(circle at 72% 30%,rgba(154,124,255,.18),transparent 36%),
    linear-gradient(145deg,#121214,#0a0a0b);
  box-shadow:0 30px 90px rgba(0,0,0,.45)
}
.visual-shell:before{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(110deg,transparent 0 44%,rgba(255,255,255,.028) 44.1% 44.5%,transparent 44.6%),
    repeating-linear-gradient(0deg,transparent 0 44px,rgba(255,255,255,.022) 45px);
}
.visual-shell:after{
  content:"";position:absolute;width:360px;height:360px;border:1px solid rgba(155,124,255,.16);
  border-radius:50%;left:50%;top:47%;transform:translate(-50%,-50%);
  box-shadow:0 0 0 45px rgba(144,111,255,.025),0 0 0 90px rgba(144,111,255,.015)
}
.visual-topline{
  position:absolute;left:23px;right:23px;top:20px;display:flex;justify-content:space-between;
  font-size:7px;letter-spacing:.14em;color:#66666c;z-index:3
}
.visual-v{
  position:absolute;inset:0;display:grid;place-items:center;
  font:800 250px/.8 Manrope;color:rgba(255,255,255,.94);letter-spacing:-.12em;z-index:2;
  text-shadow:35px 30px 0 rgba(149,115,255,.12)
}
.visual-copy{
  position:absolute;left:27px;bottom:30px;z-index:4;display:flex;flex-direction:column
}
.visual-copy small{font-size:7px;letter-spacing:.2em;color:#77777c}
.visual-copy strong{font:800 34px Manrope;letter-spacing:.08em;margin-top:3px}
.visual-copy span{font-size:8px;letter-spacing:.45em;color:var(--v-accent)}
.visual-coordinate{
  position:absolute;right:-29px;top:50%;transform:rotate(90deg);
  z-index:4;font-size:7px;letter-spacing:.2em;color:#59595e
}
.hero-bottom{
  position:absolute;bottom:24px;left:50%;transform:translateX(-50%);
  display:flex;align-items:center;gap:16px;z-index:3;color:#4e4e52;
  font-size:7px;letter-spacing:.19em
}
.hero-bottom i{width:45px;height:1px;background:#333337}

.new-section{padding:120px 0;border-top:1px solid rgba(255,255,255,.055)}
.section-number{font-size:9px;color:#4d4d51;letter-spacing:.2em;margin-bottom:38px}
.split-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:100px;align-items:end}
.split-heading h2,.feature-head h2,.identity-content h2,.final-cta-box h2{
  font:800 clamp(44px,5vw,75px)/.96 Manrope;margin:12px 0 0;letter-spacing:-.06em
}
.split-copy{padding-bottom:4px}
.split-copy p,.feature-head>p,.identity-content p,.final-cta-box p{
  color:#88888d;font-size:13px;line-height:1.8;max-width:500px
}
.text-arrow{
  display:inline-flex;gap:18px;margin-top:20px;padding-bottom:7px;border-bottom:1px solid #39393d;
  font-size:9px;text-transform:uppercase;letter-spacing:.12em;font-weight:700
}
.feature-wrap{background:#0a0a0b}
.feature-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:48px}
.feature-head>p{max-width:360px;margin:0 0 4px}
.safir-grid{
  display:grid;grid-template-columns:1.25fr .875fr .875fr;gap:12px
}
.safir-card{
  min-height:400px;border:1px solid var(--v-border);border-radius:4px;padding:23px;
  position:relative;overflow:hidden;background:#101012;transition:.3s ease
}
.safir-card:before{
  content:"";position:absolute;inset:0;
  background:
    radial-gradient(circle at 80% 15%,rgba(146,112,255,.13),transparent 31%),
    linear-gradient(145deg,transparent 60%,rgba(255,255,255,.025));
}
.safir-card:hover{transform:translateY(-5px);border-color:rgba(155,124,255,.35);background:#121215}
.safir-card:hover .card-icon{background:var(--v-white);color:#111}
.card-index{position:absolute;left:22px;top:20px;font-size:7px;letter-spacing:.17em;color:#5d5d62}
.card-icon{
  position:absolute;right:20px;top:20px;width:38px;height:38px;border-radius:50%;
  display:grid;place-items:center;border:1px solid var(--v-border);font-size:13px;transition:.25s
}
.card-bottom{position:absolute;left:24px;right:24px;bottom:27px;z-index:2}
.card-bottom small{font-size:7px;letter-spacing:.2em;color:var(--v-accent)}
.card-bottom h3{font:700 21px Manrope;margin:9px 0 8px}
.card-bottom p{font-size:11px;line-height:1.6;color:#737378;margin:0;max-width:330px}

.identity-panel{
  min-height:590px;border:1px solid var(--v-border);position:relative;overflow:hidden;
  background:linear-gradient(135deg,#101012,#09090a);display:flex;align-items:center;padding:70px
}
.identity-grid{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px);
  background-size:60px 60px
}
.identity-mark{
  position:absolute;right:-10px;bottom:-95px;font:800 480px/.8 Manrope;
  color:rgba(255,255,255,.022);letter-spacing:-.14em
}
.identity-content{position:relative;z-index:2;max-width:620px}
.identity-content p{margin:24px 0}
.identity-tags{display:flex;flex-wrap:wrap;gap:7px}
.identity-tags span{
  padding:9px 12px;border:1px solid var(--v-border);border-radius:999px;
  font-size:7px;letter-spacing:.14em;color:#85858a
}
.final-cta{padding-top:60px}
.final-cta-box{
  text-align:center;padding:100px 30px;border-top:1px solid var(--v-border);
  border-bottom:1px solid var(--v-border)
}
.final-cta-box p{margin:20px auto 30px}
.new-footer{padding:50px 0 28px;background:#070708;border-top:1px solid rgba(255,255,255,.05)}
.footer-main{display:flex;align-items:center;justify-content:space-between;padding-bottom:35px}
.footer-mini-links{display:flex;gap:28px}
.footer-mini-links a{font-size:8px;text-transform:uppercase;letter-spacing:.13em;color:#75757a}
.footer-bottom{
  padding-top:22px;border-top:1px solid rgba(255,255,255,.06);display:flex;
  justify-content:space-between;color:#46464a;font-size:7px;letter-spacing:.11em
}

/* Bring the inner portal/pages into the same visual language */
body:not(.veyra-new) .header{background:rgba(8,8,8,.68)}
body:not(.veyra-new) .page-hero{
  background:
    radial-gradient(circle at 78% 30%,rgba(138,102,255,.12),transparent 30%),
    linear-gradient(180deg,#0a0a0b,#080808);
  border-bottom:1px solid rgba(255,255,255,.06)
}
body:not(.veyra-new) .page-hero h1{font-family:Manrope;letter-spacing:-.065em}
body:not(.veyra-new) .page-hero h1 span{color:var(--v-accent)}
body:not(.veyra-new) .auth-state,
body:not(.veyra-new) .wl-panel,
body:not(.veyra-new) .portal-info,
body:not(.veyra-new) .application-card{
  border-radius:5px!important;background:#0e0e10!important;
  border-color:rgba(255,255,255,.09)!important
}
body:not(.veyra-new) .portal-card{
  border-radius:5px!important;background:#101012!important
}
body:not(.veyra-new) .btn{border-radius:7px!important}
body:not(.veyra-new) .footer{background:#070708}

@media(max-width:900px){
  .new-nav,.nav-pill{display:none!important}
  .new-hero-inner,.split-layout{grid-template-columns:1fr}
  .new-hero-inner{gap:65px}
  .new-hero-copy{text-align:left!important}
  .new-hero-copy .new-kicker{justify-content:flex-start!important}
  .new-hero-copy>p{margin-left:0!important}
  .new-hero-actions,.hero-meta{justify-content:flex-start!important}
  .new-hero-visual{justify-content:center}
  .visual-shell{width:min(430px,92vw)}
  .split-layout{gap:35px}
  .feature-head{align-items:flex-start;flex-direction:column;gap:25px}
  .safir-grid{grid-template-columns:1fr 1fr}
  .card-large{grid-column:1/-1}
}
@media(max-width:600px){
  body.veyra-new .header{height:70px}
  .new-hero{padding:120px 0 75px;min-height:auto}
  .new-hero h1{font-size:clamp(52px,16vw,72px)}
  .new-hero-actions{flex-direction:column}
  .safir-btn{width:100%}
  .hero-meta{gap:20px;justify-content:space-between!important}
  .hero-meta>div{flex:1}
  .new-section{padding:82px 0}
  .safir-grid{grid-template-columns:1fr}
  .card-large{grid-column:auto}
  .safir-card{min-height:330px}
  .identity-panel{min-height:520px;padding:40px 25px}
  .identity-mark{font-size:330px}
  .footer-main{align-items:flex-start;flex-direction:column;gap:30px}
  .footer-mini-links{flex-wrap:wrap;gap:18px 24px}
  .footer-bottom{flex-direction:column;gap:8px}
}


/* =========================================================
   VEYRA PORTAL DASHBOARD
   ========================================================= */
.portal-dashboard-body{
  margin:0;
  background:#0a1424;
  color:#eef6ff;
  font-family:Inter,sans-serif;
  min-height:100vh;
}
.portal-dashboard{
  min-height:100vh;
  display:grid;
  grid-template-columns:220px 1fr;
}
.portal-sidebar{
  position:fixed;
  inset:0 auto 0 0;
  width:220px;
  background:#0f1b30;
  border-right:1px solid #213250;
  z-index:50;
  display:flex;
  flex-direction:column;
  transition:.25s ease;
}
.portal-logo-wrap{
  height:72px;
  border-bottom:1px solid #213250;
  display:flex;
  align-items:center;
  justify-content:center;
}
.portal-logo{display:block}
.portal-logo-mark{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  transform:rotate(-9deg);
  font-weight:900;
  font-size:18px;
  color:white;
  background:linear-gradient(145deg,#21bdff,#446bff 55%,#9dd9ff);
  clip-path:polygon(50% 0,100% 28%,82% 100%,18% 100%,0 28%);
  filter:drop-shadow(0 0 12px rgba(45,177,255,.34));
}
.portal-side-nav{
  padding:16px 11px;
  flex:1;
}
.portal-nav-label{
  font-size:9px;
  letter-spacing:.16em;
  color:#60779d;
  font-weight:700;
  margin:0 10px 8px;
}
.portal-nav-label-gap{margin-top:26px}
.portal-nav-item{
  width:100%;
  height:40px;
  border:none;
  background:transparent;
  color:#9bb2d2;
  display:flex;
  align-items:center;
  gap:11px;
  padding:0 14px;
  border-radius:8px;
  cursor:pointer;
  font-size:12px;
  text-align:left;
  transition:.2s ease;
}
.portal-nav-item:hover{
  background:#14263d;
  color:#e8f6ff;
}
.portal-nav-item.active{
  background:linear-gradient(90deg,#15314d,#18304a);
  color:#39c3ff;
  border:1px solid #245278;
}
.portal-nav-icon{
  width:15px;
  font-size:14px;
  color:#8ba5c7;
}
.portal-nav-item.active .portal-nav-icon{color:#45caff}
.portal-collapse{
  position:absolute;
  right:-11px;
  top:420px;
  width:22px;
  height:22px;
  border:1px solid #263c5c;
  border-radius:50%;
  background:#1c2e4a;
  color:#8298bb;
  cursor:pointer;
}
.portal-user-mini{
  border-top:1px solid #213250;
  padding:16px 14px;
  min-height:82px;
  display:grid;
  grid-template-columns:32px 1fr 20px;
  align-items:center;
  gap:10px;
}
.portal-user-avatar{
  width:32px;
  height:32px;
  border-radius:50%;
  background:linear-gradient(145deg,#56cfff,#355dff);
  border:2px solid #2a4569;
  display:grid;
  place-items:center;
  font-weight:800;
  color:#fff;
  overflow:hidden;
  background-size:cover;
  background-position:center;
}
.portal-user-info{min-width:0}
.portal-user-info small{
  display:block;
  font-size:8px;
  color:#60779d;
  white-space:nowrap;
}
.portal-user-info strong{
  display:block;
  font-size:11px;
  color:#e9f4ff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.portal-user-info span{
  display:block;
  font-size:9px;
  color:#6f86a7;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.portal-logout{
  color:#6c84a5;
  font-size:14px;
  text-decoration:none;
}

.portal-main{
  grid-column:2;
  min-height:100vh;
  padding:42px 44px 70px;
  background:
    radial-gradient(circle at 68% 10%,rgba(22,76,121,.10),transparent 28%),
    #0a1424;
}
.portal-page{
  display:none;
  max-width:1010px;
  margin:0 auto;
}
.portal-page.active{display:block}

.portal-profile-card{
  position:relative;
  overflow:hidden;
  border:1px solid #223957;
  border-radius:18px;
  background:#111d31;
  box-shadow:0 20px 60px rgba(0,0,0,.08);
}
.portal-cover{
  height:102px;
  background:
    linear-gradient(180deg,rgba(28,102,150,.54),rgba(17,65,100,.16)),
    linear-gradient(90deg,#10263c,#173d59 50%,#11293f);
  border-bottom:1px solid #21445e;
  position:relative;
}
.portal-cover-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(111,197,255,.09) 1px,transparent 1px),
    linear-gradient(90deg,rgba(111,197,255,.09) 1px,transparent 1px);
  background-size:31px 31px;
}
.portal-profile-avatar{
  position:absolute;
  width:86px;
  height:86px;
  border-radius:50%;
  left:50%;
  top:58px;
  transform:translateX(-50%);
  border:3px solid #0f1b30;
  background:linear-gradient(145deg,#113a5c,#0c1828);
  box-shadow:0 0 0 1px #2d4668;
  display:grid;
  place-items:center;
  font-size:20px;
  font-weight:800;
  background-size:cover;
  background-position:center;
  overflow:hidden;
}
.portal-profile-content{
  text-align:center;
  padding:58px 24px 29px;
}
.portal-eyebrow{
  font-size:8px;
  letter-spacing:.32em;
  color:#23baf8;
  font-weight:800;
}
.portal-profile-content h1{
  font:700 35px/1 Oswald,sans-serif;
  margin:7px 0 10px;
  color:white;
}
.portal-profile-content h1 span{
  color:#38bff5;
}
.portal-profile-content p{
  margin:0;
  color:#6480a5;
  font-size:12px;
}
.portal-action-card{
  margin-top:28px;
  border:1px solid #244566;
  background:linear-gradient(110deg,#14253a,#111d30);
  border-radius:12px;
  padding:25px 22px 22px;
}
.portal-action-card h3{
  margin:0 0 6px;
  font-size:15px;
  color:#f2f7ff;
}
.portal-action-card p{
  margin:0;
  color:#5e7ca4;
  font-size:12px;
}
.portal-primary-btn,
.portal-secondary-btn{
  margin-top:17px;
  min-height:38px;
  border:0;
  border-radius:7px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  cursor:pointer;
  font-weight:700;
  font-size:11px;
}
.portal-primary-btn{
  color:#07121c;
  background:linear-gradient(180deg,#69d4ff,#2ab8f0);
  box-shadow:0 6px 18px rgba(44,183,238,.16);
}
.portal-secondary-btn{
  color:#b9d8f1;
  background:#182b43;
  border:1px solid #2b4969;
}
.hidden{display:none!important}

.portal-page-heading{
  margin-bottom:24px;
}
.portal-page-heading span{
  display:block;
  color:#2bbcf6;
  font-size:8px;
  letter-spacing:.24em;
  font-weight:800;
  margin-bottom:7px;
}
.portal-page-heading h2{
  margin:0;
  color:#fff;
  font:700 32px Oswald,sans-serif;
}
.portal-page-heading p{
  color:#6480a5;
  font-size:12px;
  margin:8px 0 0;
}

.portal-empty-card,
.portal-list-card,
.portal-form-card{
  background:#111d31;
  border:1px solid #223957;
  border-radius:12px;
}
.portal-empty-card{
  min-height:240px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:35px;
}
.portal-empty-icon{
  width:48px;height:48px;border-radius:12px;
  display:grid;place-items:center;
  background:#162941;border:1px solid #284765;
  color:#33bcf5;font-size:20px;margin-bottom:15px;
}
.portal-empty-card h3{margin:0 0 6px;font-size:15px}
.portal-empty-card p{margin:0;color:#647fa1;font-size:11px}
.portal-list-card{overflow:hidden}
.portal-list-card a{
  min-height:56px;
  padding:0 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#b9cce3;
  text-decoration:none;
  border-bottom:1px solid #1f334e;
  font-size:12px;
}
.portal-list-card a:last-child{border-bottom:0}
.portal-list-card a:hover{background:#14263c;color:white}
.portal-list-card b{color:#35bdf5}

.portal-form-card{padding:22px}
.portal-form{
  display:grid;
  gap:17px;
}
.portal-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.portal-form label>span{
  display:block;
  font-size:10px;
  color:#8299b7;
  margin-bottom:7px;
}
.portal-form input,
.portal-form textarea{
  width:100%;
  box-sizing:border-box;
  color:#e8f6ff;
  background:#0d192a;
  border:1px solid #243b59;
  border-radius:8px;
  padding:12px;
  outline:none;
  font:inherit;
  font-size:11px;
}
.portal-form textarea{min-height:105px;resize:vertical}
.portal-form input:focus,
.portal-form textarea:focus{border-color:#31baf1}
.portal-check{
  display:flex!important;
  align-items:center;
  gap:9px;
}
.portal-check input{width:15px;height:15px}
.portal-check span{margin:0!important}
.portal-form-message{
  font-size:11px;
  color:#75d9ff;
}

.portal-sidebar.collapsed{
  width:72px;
}
.portal-sidebar.collapsed .portal-user-info,
.portal-sidebar.collapsed .portal-logout,
.portal-sidebar.collapsed .portal-nav-label,
.portal-sidebar.collapsed .portal-nav-item span:not(.portal-nav-icon){
  display:none;
}
.portal-sidebar.collapsed .portal-nav-item{
  justify-content:center;
  padding:0;
}
.portal-sidebar.collapsed .portal-user-mini{
  grid-template-columns:1fr;
  justify-items:center;
}
.portal-sidebar.collapsed + .portal-main{
  margin-left:-148px;
}

@media(max-width:900px){
  .portal-dashboard{grid-template-columns:72px 1fr}
  .portal-sidebar{width:72px}
  .portal-user-info,.portal-logout,.portal-nav-label,
  .portal-nav-item span:not(.portal-nav-icon){display:none}
  .portal-nav-item{justify-content:center;padding:0}
  .portal-user-mini{grid-template-columns:1fr;justify-items:center}
  .portal-collapse{display:none}
  .portal-main{padding:28px 20px 55px}
}
@media(max-width:600px){
  .portal-dashboard{display:block}
  .portal-sidebar{
    position:fixed;
    top:auto;
    bottom:0;
    width:100%;
    height:66px;
    border-right:0;
    border-top:1px solid #223957;
    flex-direction:row;
    z-index:99;
  }
  .portal-logo-wrap,.portal-user-mini,.portal-nav-label,.portal-collapse{display:none}
  .portal-side-nav{
    width:100%;
    display:flex;
    padding:8px;
    gap:4px;
  }
  .portal-nav-item{
    flex:1;
    height:48px;
    justify-content:center;
    padding:0;
  }
  .portal-nav-item span:not(.portal-nav-icon){display:none}
  .portal-main{
    padding:18px 12px 90px;
    margin:0!important;
  }
  .portal-profile-card{border-radius:13px}
  .portal-cover{height:76px}
  .portal-profile-avatar{width:70px;height:70px;top:43px}
  .portal-profile-content{padding-top:49px}
  .portal-profile-content h1{font-size:28px}
  .portal-form-grid{grid-template-columns:1fr}
}


/* =========================================================
   VEYRA PORTAL — SAME THEME AS HOMEPAGE
   ========================================================= */
.portal-home-theme{
  --p-bg:#080808;
  --p-panel:#0f0f11;
  --p-panel-2:#121214;
  --p-border:rgba(255,255,255,.09);
  --p-muted:#7c7c82;
  --p-text:#f4f4f2;
  --p-accent:#9b7cff;
  --p-accent-soft:rgba(155,124,255,.14);
  --p-accent-line:rgba(155,124,255,.32);
  background:
    radial-gradient(circle at 72% 6%,rgba(125,92,255,.11),transparent 24%),
    #080808;
  color:var(--p-text);
}
.portal-home-theme .portal-dashboard{
  background:transparent;
}
.portal-home-theme .portal-sidebar{
  background:rgba(10,10,11,.94);
  border-right:1px solid var(--p-border);
  backdrop-filter:blur(22px);
}
.portal-home-theme .portal-logo-wrap{
  height:88px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.portal-home-theme .portal-logo-mark{
  width:38px;
  height:38px;
  clip-path:none;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.035);
  display:grid;
  place-items:center;
  filter:none;
  position:relative;
  overflow:hidden;
}
.portal-home-theme .portal-logo-mark:after{
  content:"";
  position:absolute;
  width:28px;height:28px;border-radius:50%;
  border:1px solid rgba(155,124,255,.5);
  transform:translate(11px,10px);
}
.portal-home-theme .portal-logo-mark span{
  position:relative;z-index:2;
  font:800 14px Manrope,sans-serif;
  color:#fff;
}
.portal-home-theme .portal-nav-label{
  color:#4f4f54;
  letter-spacing:.2em;
}
.portal-home-theme .portal-nav-item{
  color:#8b8b90;
  border:1px solid transparent;
  border-radius:8px;
  height:42px;
}
.portal-home-theme .portal-nav-item:hover{
  background:rgba(255,255,255,.035);
  color:#f2f2f2;
}
.portal-home-theme .portal-nav-item.active{
  background:linear-gradient(90deg,rgba(155,124,255,.12),rgba(155,124,255,.04));
  color:#fff;
  border-color:rgba(155,124,255,.23);
}
.portal-home-theme .portal-nav-item.active .portal-nav-icon{
  color:var(--p-accent);
}
.portal-home-theme .portal-nav-icon{
  color:#68686d;
}
.portal-home-theme .portal-collapse{
  background:#121214;
  border-color:var(--p-border);
  color:#7f7f85;
}
.portal-home-theme .portal-user-mini{
  border-top:1px solid rgba(255,255,255,.06);
}
.portal-home-theme .portal-user-avatar{
  background:linear-gradient(145deg,#1c1c20,#121214);
  border-color:rgba(155,124,255,.28);
  color:#fff;
}
.portal-home-theme .portal-user-info small{
  color:#55555a;
  letter-spacing:.12em;
}
.portal-home-theme .portal-user-info strong{
  color:#f4f4f2;
}
.portal-home-theme .portal-user-info span,
.portal-home-theme .portal-logout{
  color:#66666c;
}

.portal-home-theme .portal-main{
  background:
    radial-gradient(circle at 78% 12%,rgba(133,99,255,.10),transparent 26%),
    linear-gradient(180deg,#090909,#080808);
  padding-top:54px;
}
.portal-home-theme .portal-profile-card{
  border-radius:4px;
  background:linear-gradient(145deg,#111113,#0c0c0d);
  border:1px solid var(--p-border);
  box-shadow:0 30px 90px rgba(0,0,0,.28);
}
.portal-home-theme .portal-cover{
  height:130px;
  background:
    radial-gradient(circle at 68% 40%,rgba(155,124,255,.18),transparent 36%),
    linear-gradient(145deg,#111114,#0a0a0b);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.portal-home-theme .portal-cover-grid{
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size:48px 48px;
}
.portal-home-theme .portal-profile-avatar{
  width:92px;
  height:92px;
  top:83px;
  background:linear-gradient(145deg,#141417,#0d0d0e);
  border:3px solid #0a0a0b;
  box-shadow:0 0 0 1px rgba(155,124,255,.34);
}
.portal-home-theme .portal-profile-content{
  padding-top:66px;
  padding-bottom:34px;
}
.portal-home-theme .portal-eyebrow{
  color:var(--p-accent);
  letter-spacing:.3em;
}
.portal-home-theme .portal-profile-content h1{
  font:800 38px/1 Manrope,sans-serif;
  letter-spacing:-.055em;
  text-transform:uppercase;
}
.portal-home-theme .portal-profile-content h1 span{
  color:var(--p-accent);
}
.portal-home-theme .portal-profile-content p{
  color:#77777c;
  font-size:12px;
}

.portal-home-theme .portal-action-card,
.portal-home-theme .portal-empty-card,
.portal-home-theme .portal-list-card,
.portal-home-theme .portal-form-card{
  background:#0f0f11;
  border:1px solid var(--p-border);
  border-radius:4px;
}
.portal-home-theme .portal-action-card{
  margin-top:18px;
  padding:26px 24px;
  position:relative;
  overflow:hidden;
}
.portal-home-theme .portal-action-card:before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 85% 20%,rgba(155,124,255,.09),transparent 30%);
  pointer-events:none;
}
.portal-home-theme .portal-action-card h3{
  font:700 16px Manrope,sans-serif;
  color:#f4f4f2;
  position:relative;
}
.portal-home-theme .portal-action-card p{
  color:#77777d;
  position:relative;
}
.portal-home-theme .portal-primary-btn{
  background:#f4f4f2;
  color:#0b0b0c;
  border:1px solid #f4f4f2;
  border-radius:7px;
  min-height:44px;
  padding:0 18px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:9px;
  position:relative;
}
.portal-home-theme .portal-primary-btn:hover{
  transform:translateY(-1px);
  background:white;
}
.portal-home-theme .portal-secondary-btn{
  background:rgba(255,255,255,.03);
  border:1px solid var(--p-border);
  color:#d0d0d3;
  border-radius:7px;
}

.portal-home-theme .portal-page-heading span{
  color:var(--p-accent);
  letter-spacing:.22em;
}
.portal-home-theme .portal-page-heading h2{
  font:800 38px Manrope,sans-serif;
  letter-spacing:-.055em;
  text-transform:uppercase;
}
.portal-home-theme .portal-page-heading p{
  color:#77777d;
}
.portal-home-theme .portal-empty-icon{
  background:rgba(155,124,255,.06);
  border-color:rgba(155,124,255,.22);
  color:var(--p-accent);
}
.portal-home-theme .portal-empty-card h3{
  color:#f2f2f2;
}
.portal-home-theme .portal-empty-card p{
  color:#74747a;
}
.portal-home-theme .portal-list-card a{
  color:#b6b6bc;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.portal-home-theme .portal-list-card a:hover{
  background:rgba(255,255,255,.025);
  color:#fff;
}
.portal-home-theme .portal-list-card b{
  color:var(--p-accent);
}
.portal-home-theme .portal-form label>span{
  color:#8d8d92;
}
.portal-home-theme .portal-form input,
.portal-home-theme .portal-form textarea{
  background:#0b0b0d;
  border:1px solid rgba(255,255,255,.10);
  color:#f3f3f4;
  border-radius:6px;
}
.portal-home-theme .portal-form input:focus,
.portal-home-theme .portal-form textarea:focus{
  border-color:rgba(155,124,255,.65);
  box-shadow:0 0 0 3px rgba(155,124,255,.06);
}
.portal-home-theme .portal-form-message{
  color:var(--p-accent);
}

/* Keep portal structure same, but visually align with homepage */
@media(max-width:900px){
  .portal-home-theme .portal-logo-wrap{height:72px}
  .portal-home-theme .portal-main{padding-top:30px}
}

/* Role controlled portal panels */
.role-panel-list{display:grid;gap:14px}.staff-application-card,.member-info-card{background:#0f0f11;border:1px solid rgba(255,255,255,.09);border-radius:4px;padding:22px}.staff-app-head{display:flex;justify-content:space-between;gap:15px}.staff-app-head small{color:#9b7cff;text-transform:uppercase;letter-spacing:.15em;font-size:8px}.staff-app-head h3{margin:6px 0 0;font:700 20px Manrope,sans-serif}.staff-app-head>span{font-size:10px;color:#737378}.staff-app-body{margin:22px 0;display:grid;gap:7px}.staff-app-body b{font-size:9px;color:#aaaab0;text-transform:uppercase;letter-spacing:.12em}.staff-app-body p{margin:0 0 10px;color:#78787f;font-size:12px;line-height:1.65;white-space:pre-wrap}.staff-response-input{width:100%;box-sizing:border-box;min-height:90px;background:#0b0b0d;color:#eee;border:1px solid rgba(255,255,255,.1);border-radius:6px;padding:12px;resize:vertical}.staff-app-actions{display:flex;gap:8px}.application-result{margin-top:15px;padding:12px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.025);color:#8f8f95;font-size:11px}.member-info-card small{font-size:8px;color:#5d5d62}.member-info-card h3{margin:8px 0;font:700 18px Manrope,sans-serif}.member-info-card p{margin:0;color:#818187;font-size:12px;line-height:1.7;white-space:pre-wrap}.member-info-card span{display:block;margin-top:15px;color:#9b7cff;font-size:9px;text-transform:uppercase;letter-spacing:.12em}.homepage-updates-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.homepage-update-card{min-height:210px;border:1px solid rgba(255,255,255,.09);border-radius:4px;padding:24px;background:#101012;position:relative;overflow:hidden}.homepage-update-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 15%,rgba(155,124,255,.10),transparent 35%);pointer-events:none}.homepage-update-card small{position:relative;color:#9b7cff;font-size:7px;letter-spacing:.16em;text-transform:uppercase}.homepage-update-card h3{position:relative;font:700 19px Manrope,sans-serif;margin:18px 0 10px}.homepage-update-card p{position:relative;color:#77777d;font-size:11px;line-height:1.7;white-space:pre-wrap}@media(max-width:900px){.homepage-updates-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.homepage-updates-grid{grid-template-columns:1fr}}


/* VEYRA RP OPTION TOGGLES */
.portal-form select{
  width:100%;
  box-sizing:border-box;
  color:#f3f3f4;
  background:#0b0b0d;
  border:1px solid rgba(255,255,255,.10);
  border-radius:6px;
  padding:12px;
  outline:none;
  font:inherit;
  font-size:11px;
}
.portal-form select:focus{
  border-color:rgba(155,124,255,.65);
  box-shadow:0 0 0 3px rgba(155,124,255,.06);
}
.portal-form select option{
  background:#101012;
  color:#f3f3f4;
}
.portal-form select option:disabled{
  color:#55555a;
  background:#0c0c0e;
}
.portal-form select.all-disabled{
  color:#5d5d62;
}

.rp-toggle-card{
  background:#0f0f11;
  border:1px solid rgba(255,255,255,.09);
  border-radius:4px;
  overflow:hidden;
}
.rp-toggle-row{
  min-height:82px;
  padding:0 22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.rp-toggle-row:last-of-type{
  border-bottom:0;
}
.rp-toggle-row strong{
  display:block;
  font:700 13px Manrope,sans-serif;
  color:#f2f2f2;
}
.rp-toggle-row span{
  display:block;
  margin-top:5px;
  color:#6f6f75;
  font-size:10px;
}
.veyra-switch{
  position:relative;
  width:46px;
  height:24px;
  flex:0 0 46px;
}
.veyra-switch input{
  opacity:0;
  width:0;
  height:0;
}
.switch-slider{
  position:absolute;
  inset:0;
  cursor:pointer;
  background:#252529;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  transition:.2s ease;
}
.switch-slider:before{
  content:"";
  position:absolute;
  width:18px;
  height:18px;
  left:2px;
  top:2px;
  border-radius:50%;
  background:#737379;
  transition:.2s ease;
}
.veyra-switch input:checked + .switch-slider{
  background:rgba(155,124,255,.18);
  border-color:rgba(155,124,255,.48);
}
.veyra-switch input:checked + .switch-slider:before{
  transform:translateX(22px);
  background:#9b7cff;
  box-shadow:0 0 14px rgba(155,124,255,.34);
}
#rpOptionsMessage{
  padding:0 22px 18px;
}


/* APPLICATION SETTINGS */
.application-settings-card{
  padding:24px;
}
.settings-group{
  border:1px solid rgba(255,255,255,.08);
  border-radius:4px;
  overflow:hidden;
  margin-top:8px;
  background:#0c0c0e;
}
.settings-group h3{
  margin:0;
  padding:16px 20px;
  border-bottom:1px solid rgba(255,255,255,.07);
  font:700 13px Manrope,sans-serif;
  color:#f0f0f2;
}
.settings-group .rp-toggle-row{
  background:#0f0f11;
}


/* PROFILE VIEW */
.portal-user-clickable{
  width:100%;
  border:0;
  background:transparent;
  cursor:pointer;
  color:inherit;
  text-align:left;
}
.portal-user-clickable:hover{
  background:rgba(255,255,255,.025);
}
.profile-view-card{
  border:1px solid rgba(255,255,255,.09);
  background:#0f0f11;
  border-radius:4px;
  overflow:hidden;
}
.profile-view-cover{
  height:150px;
  position:relative;
  background:
    radial-gradient(circle at 70% 30%,rgba(155,124,255,.20),transparent 35%),
    linear-gradient(145deg,#151519,#0b0b0d);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.profile-view-main{
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  padding:28px 28px 24px;
}
.profile-view-avatar{
  width:92px;
  height:92px;
  border-radius:50%;
  margin-top:-68px;
  background:linear-gradient(145deg,#18181c,#101012);
  border:4px solid #0f0f11;
  box-shadow:0 0 0 1px rgba(155,124,255,.35);
  display:grid;
  place-items:center;
  font:800 24px Manrope,sans-serif;
  background-size:cover;
  background-position:center;
}
.profile-view-identity small{
  display:block;
  color:#66666c;
  font-size:8px;
  letter-spacing:.18em;
}
.profile-view-identity h3{
  margin:5px 0 3px;
  font:800 24px Manrope,sans-serif;
}
.profile-view-identity span{
  color:#7d7d83;
  font-size:11px;
}
.profile-view-status span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border:1px solid rgba(155,124,255,.26);
  border-radius:999px;
  background:rgba(155,124,255,.08);
  color:#b7a8ff;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:700;
}
.profile-view-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  background:rgba(255,255,255,.06);
  border-top:1px solid rgba(255,255,255,.06);
}
.profile-info-box{
  padding:22px;
  background:#0d0d0f;
}
.profile-info-wide{
  grid-column:1/-1;
}
.profile-info-box small{
  display:block;
  color:#5d5d62;
  font-size:8px;
  letter-spacing:.17em;
  margin-bottom:7px;
}
.profile-info-box strong{
  font-size:12px;
  color:#ececef;
  word-break:break-all;
}
.profile-role-list{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.profile-role-chip{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(155,124,255,.24);
  background:rgba(155,124,255,.07);
  color:#bbaeff;
  font-size:9px;
  font-weight:700;
}
.profile-role-chip.muted{
  border-color:rgba(255,255,255,.08);
  background:rgba(255,255,255,.025);
  color:#6d6d72;
}
@media(max-width:600px){
  .profile-view-main{
    grid-template-columns:auto 1fr;
  }
  .profile-view-status{
    grid-column:1/-1;
  }
  .profile-view-grid{
    grid-template-columns:1fr;
  }
  .profile-info-wide{
    grid-column:auto;
  }
}


/* GRAY OUTLINE NAV ICONS */
.portal-nav-icon{
  width:30px;
  height:30px;
  flex:0 0 30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.14);
  border-radius:6px;
  background:rgba(255,255,255,.025);
  color:#a1a1a7;
  font-size:14px;
  line-height:1;
  filter:grayscale(1);
  transition:border-color .18s ease, background .18s ease, color .18s ease;
}
.portal-nav-item:hover .portal-nav-icon,
.portal-nav-item.active .portal-nav-icon{
  border-color:rgba(255,255,255,.28);
  background:rgba(255,255,255,.055);
  color:#dedee2;
}


/* APPLICATION CLOSED NOTICE */
.application-close-date-row{
  padding:18px 22px 22px;
  background:#0f0f11;
}
.application-close-date-row label span{
  display:block;
  margin-bottom:8px;
  color:#8a8a90;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.application-close-date-row input[type="date"]{
  width:100%;
  max-width:280px;
  box-sizing:border-box;
  padding:11px 12px;
  color:#efeff1;
  background:#0a0a0c;
  border:1px solid rgba(255,255,255,.11);
  border-radius:5px;
  color-scheme:dark;
}
.application-close-date-row p{
  margin:9px 0 0;
  color:#606066;
  font-size:9px;
}
.application-closed-notice{
  margin-bottom:18px;
  padding:18px 20px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:5px;
  background:rgba(255,255,255,.025);
}
.application-closed-notice strong{
  display:block;
  color:#e4e4e7;
  font-size:13px;
  margin-bottom:5px;
}
.application-closed-notice p{
  margin:0;
  color:#8b8b91;
  font-size:10px;
}
.application-form-closed{
  opacity:.38;
  filter:grayscale(1);
  pointer-events:none;
}


/* APPLICATION CLOSED ONLY VIEW */
.application-closed-notice{
  min-height:220px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding:32px 34px;
  margin-top:18px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:6px;
  background:
    radial-gradient(circle at 85% 20%, rgba(155,124,255,.08), transparent 28%),
    #0d0d0f;
}
.application-closed-notice strong{
  font-size:22px;
  line-height:1.1;
  margin-bottom:10px;
  color:#f3f3f5;
}
.application-closed-notice p{
  max-width:620px;
  font-size:12px;
  line-height:1.7;
  color:#8a8a91;
}
.application-closed-notice.hidden{
  display:none !important;
}
#wlForm.hidden{
  display:none !important;
}


/* VEYRA LIVES */
.homepage-lives-section{
  padding:76px 0 88px;
  border-top:1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(circle at 80% 10%,rgba(132,95,255,.08),transparent 34%),
    #09090b;
}
.section-shell{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
}
.section-kicker{
  color:#9b7cff;
  font-size:9px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.section-title-row h2{
  margin:9px 0 5px;
  color:#f3f3f5;
  font:800 34px Manrope,sans-serif;
}
.section-title-row p{
  margin:0 0 34px;
  color:#727278;
  font-size:12px;
}
.live-status-block{
  margin-top:28px;
}
.live-status-heading{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:12px;
}
.live-status-heading h3{
  margin:0;
  color:#e8e8ea;
  font-size:13px;
}
.live-count{
  min-width:22px;
  height:22px;
  display:inline-grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  color:#77777d;
  font-size:9px;
}
.live-status-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#55555b;
}
.live-dot-online{
  background:#4bd27b;
  box-shadow:0 0 12px rgba(75,210,123,.45);
}
.live-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.live-card{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:92px;
  padding:16px;
  text-decoration:none;
  background:#0f0f11;
  border:1px solid rgba(255,255,255,.08);
  border-radius:6px;
  transition:.18s ease;
}
.live-card:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.16);
  background:#121215;
}
.live-card.is-online{
  border-color:rgba(75,210,123,.17);
}
.live-avatar{
  width:50px;
  height:50px;
  flex:0 0 50px;
  border-radius:50%;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:#17171a;
  border:1px solid rgba(255,255,255,.10);
  color:#a99cff;
  font-weight:800;
}
.live-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.live-card-main{
  min-width:0;
  flex:1;
}
.live-card-top{
  display:flex;
  align-items:center;
  gap:8px;
}
.live-card-top strong{
  color:#f0f0f2;
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.live-platform{
  color:#66666c;
  font-size:8px;
  text-transform:uppercase;
}
.live-card-main p{
  margin:6px 0 0;
  color:#6f6f75;
  font-size:9px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.live-state-pill{
  padding:6px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  color:#6d6d72;
  font-size:8px;
  font-weight:800;
}
.is-online .live-state-pill{
  color:#69dd91;
  border-color:rgba(75,210,123,.20);
  background:rgba(75,210,123,.06);
}
.live-empty{
  grid-column:1/-1;
  padding:22px;
  border:1px dashed rgba(255,255,255,.08);
  border-radius:6px;
  color:#64646a;
  font-size:10px;
  text-align:center;
}
.live-online-toggle-row{
  display:flex !important;
  align-items:center;
  justify-content:space-between;
}
.staff-live-list{
  margin-top:18px;
  display:grid;
  gap:8px;
}
.staff-live-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:15px 16px;
  background:#0f0f11;
  border:1px solid rgba(255,255,255,.08);
  border-radius:5px;
}
.staff-live-main strong{
  display:block;
  color:#ececef;
  font-size:11px;
}
.staff-live-main span{
  display:block;
  margin-top:4px;
  color:#626268;
  font-size:8px;
}
.staff-live-actions{
  display:flex;
  align-items:center;
  gap:9px;
}
.staff-live-open,
.staff-live-delete{
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:4px;
  background:#121214;
  color:#a0a0a6;
  font-size:9px;
  text-decoration:none;
  cursor:pointer;
}
.staff-live-delete:hover{
  color:#ff8f8f;
  border-color:rgba(255,100,100,.18);
}
@media(max-width:900px){
  .live-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:620px){
  .live-grid{grid-template-columns:1fr;}
  .staff-live-row{align-items:flex-start;flex-direction:column;}
}

/* STANDALONE LIVES PAGE */
.lives-page-body{
  min-height:100vh;
  margin:0;
  background:#09090b;
}
.lives-site-header{
  position:sticky;
  top:0;
  z-index:20;
}
.lives-standalone{
  min-height:calc(100vh - 70px);
  padding-top:92px;
}
.lives-standalone .section-title-row h1{
  margin:9px 0 5px;
  color:#f3f3f5;
  font:800 42px Manrope,sans-serif;
}


/* ===== Veyra Whitelist Wizard ===== */
.wl-wizard{
  display:block;
  width:100%;
  max-width:920px;
  margin:0 auto;
}
.wl-wizard *{box-sizing:border-box}
.wl-progress{
  padding:20px 22px;
  margin-bottom:22px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:14px;
  background:rgba(255,255,255,.025);
}
.wl-progress-top{display:flex;justify-content:space-between;gap:16px;margin-bottom:10px;color:#aaa9b3;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.wl-progress-track{height:5px;background:rgba(255,255,255,.07);border-radius:999px;overflow:hidden}
.wl-progress-bar{height:100%;width:33.333%;background:linear-gradient(90deg,#6d4aff,#9a65ff);border-radius:999px;transition:width .25s ease}
.wl-step-dots{display:flex;align-items:center;justify-content:center;margin-top:18px}
.wl-step-dots span{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.12);background:#151519;color:#777783;font-size:12px;font-weight:800;transition:.2s}
.wl-step-dots span.active,.wl-step-dots span.done{border-color:#10b981;background:rgba(16,185,129,.16);color:#c9baff}
.wl-step-dots i{width:70px;height:1px;background:rgba(255,255,255,.09)}
.wl-step{display:none!important;width:100%;padding:28px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(12,12,15,.72)}
.wl-step.active{display:block!important}
.wl-step-header{margin-bottom:25px;padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,.07)}
.wl-step-header .eyebrow{display:block;color:#8b68ff;font-size:11px;font-weight:800;letter-spacing:.13em;margin-bottom:8px}
.wl-step-header h3{margin:0 0 7px;color:#fff;font-size:24px;line-height:1.2}
.wl-step-header p{margin:0;color:#898893;font-size:14px}
.wl-fields{display:flex;flex-direction:column;gap:18px;width:100%}
.wl-wizard .form-grid.two{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;width:100%}
.wl-wizard label{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;margin:0!important;color:#d8d8df!important;font-size:13px!important;font-weight:600!important}
.wl-wizard label>span{display:block}
.wl-wizard input:not([type="checkbox"]),
.wl-wizard select,
.wl-wizard textarea{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:12px 14px!important;
  border:1px solid rgba(255,255,255,.11)!important;
  border-radius:9px!important;
  outline:none!important;
  background:#111115!important;
  color:#f2f2f5!important;
  font:inherit!important;
  line-height:1.45!important;
  box-shadow:none!important;
  transition:border-color .18s ease,background .18s ease!important;
}
.wl-wizard input:not([type="checkbox"]),.wl-wizard select{height:46px!important}
.wl-wizard textarea{min-height:105px!important;resize:vertical!important}
.wl-wizard input:focus,.wl-wizard select:focus,.wl-wizard textarea:focus{border-color:#7657dc!important;background:#141419!important}
.wl-wizard input::placeholder,.wl-wizard textarea::placeholder{color:#5f5f69}
.wl-wizard select option{background:#151519;color:#eee}
.wl-wizard .check-row{display:grid!important;grid-template-columns:18px 1fr!important;align-items:start!important;gap:11px!important;padding:15px!important;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:rgba(255,255,255,.025)}
.wl-wizard .check-row input{width:16px!important;height:16px!important;margin:2px 0 0!important;accent-color:#10b981}
.wl-wizard-actions{display:flex;align-items:center;gap:10px;margin-top:18px}
.wl-action-spacer{flex:1}
.wl-wizard-actions button{min-width:125px}
.wl-wizard .hidden{display:none!important}
.wl-field-error{border-color:#c65b67!important}
@media(max-width:720px){
  .wl-step{padding:20px 16px}
  .wl-wizard .form-grid.two{grid-template-columns:1fr}
  .wl-step-dots i{width:42px}
}


/* ===== Whitelist wizard button fix ===== */
.wl-wizard .wl-wizard-actions{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  gap:12px!important;
  margin-top:20px!important;
}
.wl-wizard .wl-action-spacer{flex:1 1 auto!important}
.wl-wizard .wl-wizard-actions button{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:auto!important;
  min-width:145px!important;
  height:44px!important;
  margin:0!important;
  padding:0 20px!important;
  border-radius:9px!important;
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:750!important;
  line-height:42px!important;
  text-align:center!important;
  cursor:pointer!important;
  box-shadow:none!important;
  transition:transform .15s ease,border-color .15s ease,background .15s ease!important;
}
.wl-wizard .wl-wizard-actions .secondary-btn{
  border:1px solid rgba(255,255,255,.12)!important;
  background:#151519!important;
  color:#d9d9df!important;
}
.wl-wizard .wl-wizard-actions .secondary-btn:hover{
  background:#1c1c22!important;
  border-color:rgba(255,255,255,.2)!important;
}
.wl-wizard .wl-wizard-actions .primary-btn{
  border:1px solid #8060ef!important;
  background:linear-gradient(135deg,#6f4de1,#8a64f4)!important;
  color:#fff!important;
}
.wl-wizard .wl-wizard-actions .primary-btn:hover{
  transform:translateY(-1px)!important;
  background:linear-gradient(135deg,#7956e9,#9470fa)!important;
}
.wl-wizard .wl-wizard-actions button:disabled{
  opacity:.55!important;
  cursor:not-allowed!important;
  transform:none!important;
}
.wl-wizard .form-message{
  display:block!important;
  min-height:20px!important;
  margin:12px 0 0!important;
  color:#c8c7d0!important;
  font-size:13px!important;
}
.wl-wizard .form-message.error{color:#e47782!important}
.wl-wizard .form-message.success{color:#82d6a1!important}
@media(max-width:560px){
  .wl-wizard .wl-wizard-actions{gap:8px!important}
  .wl-wizard .wl-wizard-actions button{min-width:120px!important;padding:0 14px!important}
}


/* ===== Ansökningshistorik ===== */
.application-history-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:18px;
}
.application-history-head h3{
  margin:5px 0 5px;
  font-size:22px;
  color:#f6f6f8;
}
.application-history-head p{
  margin:0;
  color:#83838d;
  font-size:13px;
}
.application-history-count{
  display:inline-flex;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:8px;
  background:rgba(255,255,255,.025);
  color:#a4a3ad;
  font-size:12px;
  white-space:nowrap;
}
.application-history-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.application-history-item{
  padding:18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:#101014;
}
.application-history-item.pending{border-left:3px solid #a17bff}
.application-history-item.approved{border-left:3px solid #58bc83}
.application-history-item.denied{border-left:3px solid #cb5d68}
.application-history-item-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
}
.application-history-title{
  display:flex;
  align-items:flex-start;
  gap:12px;
}
.application-history-number{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:30px;
  padding:0 8px;
  border-radius:7px;
  background:rgba(16,185,129,.10);
  color:#6ee7b7;
  font-size:11px;
  font-weight:800;
}
.application-history-title h4{
  margin:0 0 4px;
  color:#f1f1f4;
  font-size:15px;
}
.application-history-title p{
  margin:0;
  color:#7f7e89;
  font-size:12px;
}
.application-status-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 9px;
  border-radius:8px;
  font-size:11px;
  font-weight:750;
  white-space:nowrap;
}
.application-status-badge.pending{
  background:rgba(16,185,129,.11);
  color:#a7f3d0;
  border:1px solid rgba(16,185,129,.20);
}
.application-status-badge.approved{
  background:rgba(78,181,121,.10);
  color:#7edda4;
  border:1px solid rgba(78,181,121,.20);
}
.application-status-badge.denied{
  background:rgba(205,79,93,.10);
  color:#ee8b94;
  border:1px solid rgba(205,79,93,.20);
}
.application-history-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.055);
  color:#74747d;
  font-size:11px;
}
.application-history-response{
  margin-top:13px;
  padding:12px 14px;
  border-radius:9px;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.06);
}
.application-history-response span{
  display:block;
  margin-bottom:5px;
  color:#10b981;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.application-history-response p{
  margin:0;
  color:#c2c1c8;
  font-size:12px;
  line-height:1.55;
  white-space:pre-wrap;
}
.application-history-empty,
.application-history-loading{
  padding:28px 18px;
  text-align:center;
}
.application-history-empty h3,
.application-history-loading h3{
  margin:10px 0 5px;
  color:#ededf1;
}
.application-history-empty p,
.application-history-loading p{
  margin:0;
  color:#7e7d88;
  font-size:13px;
}
@media(max-width:650px){
  .application-history-head,
  .application-history-item-top{
    flex-direction:column;
  }
  .application-status-badge{align-self:flex-start}
}

.application-type-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.application-type-card{appearance:none;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:#101014;color:#eee;padding:17px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:6px}
.application-type-card:hover,.application-type-card.active{border-color:rgba(5,150,105,.6);background:rgba(4,120,87,.08)}
.application-type-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:rgba(16,185,129,.12);color:#6ee7b7;font-weight:800}
.application-type-card small{color:#777681;line-height:1.4}
.application-type-card em{font-style:normal;color:#72d69a;font-size:10px;font-weight:800;text-transform:uppercase}
.application-type-card em.closed{color:#e17b86}
.special-application-form{display:flex;flex-direction:column;gap:16px}
.application-admin-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.application-admin-filters button{border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#121217;color:#8e8d98;padding:8px 12px;cursor:pointer}
.application-admin-filters button.active{border-color:rgba(16,185,129,.45);color:#a7f3d0;background:rgba(16,185,129,.09)}
@media(max-width:900px){.application-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.application-type-grid{grid-template-columns:1fr}}


/* Specialansökningsreglage sparas direkt */
#settingStaffApplicationsClosed,
#settingChiefApplicationsClosed,
#settingGangApplicationsClosed{
  cursor:pointer;
}


/* =======================================================================
   VEYRA ROLEPLAY — EMERALD FULL REMAKE
   Full visual system. Dark obsidian surfaces + emerald identity.
   ======================================================================= */

:root{
  --emerald-50:#ecfdf5;
  --emerald-100:#d1fae5;
  --emerald-200:#a7f3d0;
  --emerald-300:#6ee7b7;
  --emerald-400:#34d399;
  --emerald-500:#10b981;
  --emerald-600:#059669;
  --emerald-700:#047857;
  --emerald-800:#065f46;
  --emerald-900:#064e3b;

  --v-accent:#10b981!important;
  --v-accent2:#34d399!important;
  --purple:#10b981!important;
  --purple2:#047857!important;
  --green:#34d399!important;

  --bg:#050907!important;
  --bg2:#07100c!important;
  --panel:#0a120e!important;
  --panel-2:#0d1712!important;
  --panel-3:#101d17!important;
  --text:#f1fff8!important;
  --muted:#7f968a!important;
  --line:rgba(110,231,183,.10)!important;
  --v-border:rgba(110,231,183,.10)!important;
  --v-white:#ecfdf5!important;

  --veyra-glass:rgba(7,16,12,.78);
  --veyra-glass-strong:rgba(8,20,15,.92);
  --veyra-shadow:0 24px 80px rgba(0,0,0,.42);
  --veyra-green-shadow:0 18px 55px rgba(16,185,129,.10);
}

html{
  background:#050907;
  scrollbar-color:#10b981 #07100c;
  scroll-behavior:smooth;
}

body,
.veyra-new,
.portal-dashboard-body,
.lives-page-body{
  color:#edfdf5!important;
  background:
    radial-gradient(circle at 83% 6%,rgba(16,185,129,.095),transparent 28%),
    radial-gradient(circle at 9% 64%,rgba(4,120,87,.065),transparent 32%),
    linear-gradient(180deg,#050907 0%,#06100c 48%,#040806 100%)!important;
}

body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-2;
  opacity:.32;
  background-image:
    linear-gradient(rgba(110,231,183,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(110,231,183,.025) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:linear-gradient(to bottom,#000,transparent 92%);
}

body:after{
  content:"";
  position:fixed;
  width:620px;
  height:620px;
  right:-240px;
  top:-230px;
  pointer-events:none;
  z-index:-1;
  border-radius:50%;
  background:radial-gradient(circle,rgba(16,185,129,.10),transparent 68%);
  filter:blur(10px);
}

.noise{opacity:.018!important}

/* ---------- Shared site header ---------- */
.header,
.new-header,
.lives-site-header{
  height:78px!important;
  background:rgba(4,10,7,.78)!important;
  border-bottom:1px solid rgba(110,231,183,.08)!important;
  backdrop-filter:blur(24px) saturate(125%)!important;
  box-shadow:0 12px 45px rgba(0,0,0,.13)!important;
}
.header.scrolled,
.new-header.scrolled{
  background:rgba(4,10,7,.94)!important;
  border-color:rgba(52,211,153,.14)!important;
}
.brand-logo,
.brand-glyph{
  border:1px solid rgba(110,231,183,.25)!important;
  background:
    radial-gradient(circle at 30% 25%,rgba(110,231,183,.25),transparent 34%),
    linear-gradient(145deg,#0e2b20,#07140e)!important;
  color:#a7f3d0!important;
  box-shadow:0 0 0 1px rgba(16,185,129,.05),0 12px 35px rgba(16,185,129,.12)!important;
}
.brand-glyph:after{border-color:rgba(52,211,153,.52)!important}
.brand small,.brand-word{color:#d1fae5!important}
.new-nav a,.nav nav a{color:#71877b!important}
.new-nav a:hover,.new-nav .active-nav,.nav nav a:hover{color:#ecfdf5!important}
.new-nav .active-nav:after{background:#10b981!important;box-shadow:0 0 12px rgba(16,185,129,.75)}
.nav-pill,.top-discord{
  border-color:rgba(110,231,183,.14)!important;
  background:rgba(16,185,129,.045)!important;
  color:#c9f7df!important;
}
.nav-pill:hover,.top-discord:hover{
  border-color:rgba(52,211,153,.35)!important;
  background:rgba(16,185,129,.09)!important;
}
.nav-dot{background:#34d399!important;box-shadow:0 0 15px rgba(52,211,153,.8)!important}

/* ---------- Homepage hero ---------- */
.new-hero{
  min-height:100vh!important;
  background:
    radial-gradient(circle at 77% 38%,rgba(16,185,129,.18),transparent 29%),
    radial-gradient(circle at 21% 90%,rgba(4,120,87,.09),transparent 30%),
    linear-gradient(145deg,#040806 0%,#07110d 54%,#040806 100%)!important;
}
.hero-grid{
  opacity:.5!important;
  background-image:
    linear-gradient(rgba(52,211,153,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(52,211,153,.035) 1px,transparent 1px)!important;
}
.hero-orb-one{
  background:radial-gradient(circle at 35% 35%,rgba(52,211,153,.28),rgba(4,120,87,.08) 52%,transparent 72%)!important;
}
.hero-orb-two{
  border-color:rgba(52,211,153,.17)!important;
  box-shadow:0 0 100px rgba(16,185,129,.07)!important;
}
.new-kicker{color:#77a58e!important}
.new-kicker span{background:#34d399!important;box-shadow:0 0 12px rgba(52,211,153,.4)}
.new-hero h1{
  color:#f1fff8!important;
  text-shadow:0 18px 55px rgba(0,0,0,.30);
}
.new-hero h1 em,
.split-heading h2 em,
.feature-head h2 em,
.identity-content h2 em,
.final-cta-box h2 em{
  color:#34d399!important;
  text-shadow:0 0 42px rgba(16,185,129,.10);
}
.new-hero-copy>p{color:#8da498!important}
.safir-primary{
  background:linear-gradient(135deg,#34d399,#10b981)!important;
  color:#03110b!important;
  border-color:#34d399!important;
  box-shadow:0 14px 40px rgba(16,185,129,.15)!important;
}
.safir-primary:hover{
  background:linear-gradient(135deg,#6ee7b7,#10b981)!important;
  transform:translateY(-2px)!important;
  box-shadow:0 18px 50px rgba(16,185,129,.24)!important;
}
.safir-ghost{
  background:rgba(7,21,15,.72)!important;
  border-color:rgba(110,231,183,.12)!important;
  color:#b8d9c9!important;
}
.safir-ghost:hover{background:rgba(16,185,129,.08)!important;border-color:rgba(52,211,153,.28)!important}
.hero-meta{border-color:rgba(110,231,183,.10)!important}
.hero-meta small{color:#527061!important}
.hero-meta strong{color:#dff8eb!important}
.status-pulse{background:#34d399!important;box-shadow:0 0 16px rgba(52,211,153,.75)!important}

.visual-shell{
  border:1px solid rgba(110,231,183,.16)!important;
  border-radius:22px!important;
  background:
    radial-gradient(circle at 72% 28%,rgba(16,185,129,.18),transparent 38%),
    linear-gradient(145deg,#0c1b14,#050a07)!important;
  box-shadow:0 36px 110px rgba(0,0,0,.52),0 0 70px rgba(16,185,129,.055)!important;
}
.visual-shell:before{
  background:
    linear-gradient(110deg,transparent 0 44%,rgba(110,231,183,.045) 44.1% 44.5%,transparent 44.6%),
    repeating-linear-gradient(0deg,transparent 0 44px,rgba(110,231,183,.025) 45px)!important;
}
.visual-shell:after{
  border-color:rgba(52,211,153,.18)!important;
  box-shadow:0 0 0 45px rgba(16,185,129,.025),0 0 0 90px rgba(16,185,129,.014)!important;
}
.visual-v{
  color:#eaffeF!important;
  text-shadow:35px 30px 0 rgba(16,185,129,.11)!important;
}
.visual-copy span{color:#34d399!important}
.visual-topline,.visual-coordinate{color:#557164!important}

/* ---------- Homepage sections ---------- */
.new-section{
  border-color:rgba(110,231,183,.065)!important;
  background:transparent!important;
}
.feature-wrap{
  background:
    linear-gradient(180deg,rgba(16,185,129,.025),transparent 38%),
    #060c09!important;
}
.section-number{color:#416051!important}
.split-heading small,.feature-head small,.identity-content small,.final-cta-box>small{color:#6c9580!important}
.split-copy p,.feature-head>p,.identity-content p,.final-cta-box p{color:#81998c!important}
.text-arrow{
  color:#b9ddca!important;
  border-color:rgba(110,231,183,.20)!important;
}
.text-arrow:hover{color:#6ee7b7!important;border-color:#10b981!important}

.safir-grid{gap:16px!important}
.safir-card{
  border:1px solid rgba(110,231,183,.09)!important;
  border-radius:18px!important;
  background:
    linear-gradient(150deg,rgba(16,185,129,.035),transparent 45%),
    #09110d!important;
  box-shadow:0 14px 50px rgba(0,0,0,.18)!important;
}
.safir-card:before{
  background:
    radial-gradient(circle at 83% 14%,rgba(16,185,129,.13),transparent 32%),
    linear-gradient(145deg,transparent 58%,rgba(110,231,183,.025))!important;
}
.safir-card:hover{
  transform:translateY(-7px)!important;
  border-color:rgba(52,211,153,.30)!important;
  background:#0b1711!important;
  box-shadow:0 25px 65px rgba(0,0,0,.30),0 0 40px rgba(16,185,129,.045)!important;
}
.card-index{color:#416252!important}
.card-icon{
  border-color:rgba(110,231,183,.15)!important;
  background:rgba(16,185,129,.04)!important;
  color:#6ee7b7!important;
}
.safir-card:hover .card-icon{background:#10b981!important;color:#03110b!important;border-color:#34d399!important}
.card-bottom small{color:#34d399!important}
.card-bottom h3{color:#eaffeF!important}
.card-bottom p{color:#718a7d!important}

.identity-panel{
  border:1px solid rgba(110,231,183,.10)!important;
  border-radius:26px!important;
  background:
    radial-gradient(circle at 83% 23%,rgba(16,185,129,.13),transparent 31%),
    linear-gradient(135deg,#0a1610,#050a07)!important;
  box-shadow:var(--veyra-shadow),var(--veyra-green-shadow)!important;
}
.identity-grid{
  background-image:
    linear-gradient(rgba(52,211,153,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(52,211,153,.025) 1px,transparent 1px)!important;
}
.identity-mark{color:rgba(52,211,153,.035)!important}
.identity-tags span{
  border-color:rgba(110,231,183,.13)!important;
  background:rgba(16,185,129,.035)!important;
  color:#84ab96!important;
}
.final-cta-box{
  border-color:rgba(110,231,183,.08)!important;
  background:radial-gradient(circle at 50% 55%,rgba(16,185,129,.07),transparent 44%)!important;
}
.new-footer,.footer{
  background:#030705!important;
  border-color:rgba(110,231,183,.07)!important;
}
.footer-bottom,.copyright{border-color:rgba(110,231,183,.07)!important;color:#40584c!important}
.footer-mini-links a,.footer-links a{color:#708d7f!important}
.footer-mini-links a:hover,.footer-links a:hover{color:#6ee7b7!important}

/* ---------- Universal secondary page hero ---------- */
.page-hero{
  background:
    radial-gradient(circle at 78% 28%,rgba(16,185,129,.14),transparent 29%),
    linear-gradient(150deg,#050a07,#07120d 55%,#040806)!important;
  border-bottom:1px solid rgba(110,231,183,.07)!important;
}
.page-hero:after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(52,211,153,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(52,211,153,.025) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:linear-gradient(to bottom,#000,transparent 88%);
  pointer-events:none;
}
.page-hero .eyebrow,.eyebrow{color:#34d399!important}
.page-hero h1{color:#effff7!important}
.page-hero p{color:#789181!important}

/* ---------- News ---------- */
.news-page,.news-grid{gap:18px!important}
.news-card{
  border:1px solid rgba(110,231,183,.09)!important;
  border-radius:20px!important;
  background:#08100c!important;
  box-shadow:0 20px 60px rgba(0,0,0,.20)!important;
  transition:.25s ease!important;
}
.news-card:hover{
  transform:translateY(-5px);
  border-color:rgba(52,211,153,.28)!important;
  box-shadow:0 28px 75px rgba(0,0,0,.30),0 0 35px rgba(16,185,129,.045)!important;
}
.news-image{background:#07100c!important}
.news-image.n1,.n1{background:radial-gradient(circle at 70% 25%,rgba(16,185,129,.36),transparent 38%),#07100c!important}
.news-image.n2,.n2{background:radial-gradient(circle at 25% 65%,rgba(5,150,105,.30),transparent 39%),#06100b!important}
.news-image.n3,.n3{background:radial-gradient(circle at 72% 75%,rgba(52,211,153,.24),transparent 40%),#07110c!important}
.news-image b{color:rgba(110,231,183,.12)!important}
.news-content small{color:#34d399!important}
.news-content h3{color:#ebfff5!important}
.news-content p{color:#758f81!important}
.news-content a{color:#6ee7b7!important}
.news-content a:hover{color:#34d399!important}

/* ---------- Rules ---------- */
.rules-layout{gap:56px!important}
.rules-nav{
  border-left:1px solid rgba(110,231,183,.11)!important;
  padding:10px 0!important;
}
.rules-nav a{
  color:#6f897b!important;
  border-radius:0 10px 10px 0!important;
  transition:.2s ease!important;
}
.rules-nav a:hover{
  color:#dffbef!important;
  border-left:2px solid #10b981!important;
  background:linear-gradient(90deg,rgba(16,185,129,.09),transparent)!important;
}
.rule-section{
  border-color:rgba(110,231,183,.08)!important;
}
.rule-section small{color:#34d399!important}
.rule-section h2{color:#ecfff6!important}
.rule-section p{color:#7f978a!important}

/* ---------- Lives ---------- */
.homepage-lives-section,
.lives-standalone,
.section-shell{
  background:transparent!important;
}
.section-shell{
  border:1px solid rgba(110,231,183,.09)!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 90% 5%,rgba(16,185,129,.08),transparent 30%),
    #07100c!important;
  box-shadow:0 24px 75px rgba(0,0,0,.22)!important;
}
.section-kicker{color:#34d399!important}
.section-title-row h1,.section-title-row h2{color:#effff7!important}
.live-status-heading h3{color:#e8fff4!important}
.live-count{
  background:rgba(16,185,129,.09)!important;
  border:1px solid rgba(52,211,153,.18)!important;
  color:#6ee7b7!important;
}
.live-status-dot,.live-dot-online{background:#34d399!important;box-shadow:0 0 14px rgba(52,211,153,.65)!important}
.live-card{
  border:1px solid rgba(110,231,183,.09)!important;
  border-radius:16px!important;
  background:#09130e!important;
  box-shadow:0 12px 38px rgba(0,0,0,.16)!important;
}
.live-card:hover{
  border-color:rgba(52,211,153,.30)!important;
  background:#0b1811!important;
  transform:translateY(-3px)!important;
}
.live-card.is-online{border-color:rgba(52,211,153,.32)!important;box-shadow:0 0 0 1px rgba(16,185,129,.05),0 20px 55px rgba(0,0,0,.26)!important}
.live-avatar{background:linear-gradient(145deg,#0e2a1f,#07110c)!important;border-color:rgba(52,211,153,.16)!important}
.live-card-top strong{color:#effff7!important}
.live-platform,.live-card-main p{color:#708a7c!important}
.live-state-pill{
  background:rgba(16,185,129,.08)!important;
  border-color:rgba(52,211,153,.15)!important;
  color:#6ee7b7!important;
}
.live-empty{
  border-color:rgba(110,231,183,.09)!important;
  background:rgba(16,185,129,.025)!important;
  color:#70897c!important;
}

/* =======================================================================
   PORTAL — complete emerald dashboard remake
   ======================================================================= */
.portal-dashboard-body{
  background:
    radial-gradient(circle at 75% 0%,rgba(16,185,129,.08),transparent 31%),
    #050906!important;
}
.portal-dashboard{
  min-height:100vh!important;
  background:transparent!important;
}
.portal-sidebar,
.portal-home-theme .portal-sidebar{
  background:
    radial-gradient(circle at 20% 0%,rgba(16,185,129,.10),transparent 26%),
    linear-gradient(180deg,#07110c,#050a07 70%)!important;
  border-right:1px solid rgba(110,231,183,.09)!important;
  box-shadow:18px 0 55px rgba(0,0,0,.18)!important;
}
.portal-logo-wrap,
.portal-home-theme .portal-logo-wrap{
  border-bottom:1px solid rgba(110,231,183,.08)!important;
}
.portal-logo-mark,
.portal-home-theme .portal-logo-mark{
  background:
    radial-gradient(circle at 30% 25%,rgba(110,231,183,.28),transparent 38%),
    linear-gradient(145deg,#0f2f22,#07120d)!important;
  border:1px solid rgba(52,211,153,.24)!important;
  color:#a7f3d0!important;
  box-shadow:0 12px 35px rgba(16,185,129,.12)!important;
}
.portal-logo-mark:after,
.portal-home-theme .portal-logo-mark:after{border-color:rgba(52,211,153,.45)!important}
.portal-nav-label,
.portal-home-theme .portal-nav-label{
  color:#426151!important;
}
.portal-nav-item,
.portal-home-theme .portal-nav-item{
  color:#789183!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
}
.portal-nav-item:hover,
.portal-home-theme .portal-nav-item:hover{
  color:#d8f5e6!important;
  background:rgba(16,185,129,.055)!important;
  border-color:rgba(110,231,183,.06)!important;
}
.portal-nav-item.active,
.portal-home-theme .portal-nav-item.active{
  color:#ecfff6!important;
  background:
    linear-gradient(90deg,rgba(16,185,129,.14),rgba(16,185,129,.035))!important;
  border-color:rgba(52,211,153,.14)!important;
  box-shadow:inset 3px 0 0 #10b981,0 8px 28px rgba(0,0,0,.09)!important;
}
.portal-nav-icon,
.portal-home-theme .portal-nav-icon{color:#587466!important}
.portal-nav-item.active .portal-nav-icon,
.portal-home-theme .portal-nav-item.active .portal-nav-icon{color:#34d399!important}
.portal-collapse{
  background:#09130e!important;
  border-color:rgba(110,231,183,.10)!important;
  color:#78a08b!important;
}
.portal-user-mini,
.portal-home-theme .portal-user-mini{
  background:rgba(16,185,129,.025)!important;
  border-top:1px solid rgba(110,231,183,.08)!important;
}
.portal-user-avatar,
.portal-home-theme .portal-user-avatar{
  border:1px solid rgba(52,211,153,.22)!important;
  box-shadow:0 0 0 4px rgba(16,185,129,.05)!important;
}
.portal-user-info small{color:#4e6d5d!important}
.portal-user-info strong{color:#e8fff3!important}
.portal-user-info span,.portal-logout{color:#668274!important}

.portal-main,
.portal-home-theme .portal-main{
  background:
    radial-gradient(circle at 86% 4%,rgba(16,185,129,.055),transparent 24%),
    transparent!important;
}
.portal-page-heading span,
.portal-home-theme .portal-page-heading span,
.portal-eyebrow{
  color:#34d399!important;
}
.portal-page-heading h2,
.portal-home-theme .portal-page-heading h2{
  color:#eefff7!important;
}
.portal-page-heading p,
.portal-home-theme .portal-page-heading p{
  color:#718b7d!important;
}

/* Profile */
.portal-profile-card,
.portal-home-theme .portal-profile-card,
.profile-view-card{
  border:1px solid rgba(110,231,183,.10)!important;
  border-radius:22px!important;
  background:#08100c!important;
  box-shadow:0 24px 70px rgba(0,0,0,.25)!important;
  overflow:hidden!important;
}
.portal-cover,
.portal-home-theme .portal-cover,
.profile-view-cover{
  background:
    radial-gradient(circle at 72% 20%,rgba(52,211,153,.18),transparent 28%),
    linear-gradient(135deg,#0a2419,#07110c)!important;
  border-bottom:1px solid rgba(110,231,183,.09)!important;
}
.portal-cover-grid{
  background-image:
    linear-gradient(rgba(110,231,183,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(110,231,183,.035) 1px,transparent 1px)!important;
}
.portal-profile-avatar,
.profile-view-avatar{
  border-color:#0b1711!important;
  box-shadow:0 0 0 2px rgba(52,211,153,.18),0 18px 45px rgba(0,0,0,.32)!important;
}
.portal-profile-content h1,
.profile-view-identity h2{color:#ecfff6!important}
.portal-profile-content h1 span{color:#34d399!important}
.portal-profile-content p,
.profile-view-status,
.profile-info-box span{color:#718b7d!important}
.profile-info-box,
.profile-info-wide{
  background:#09130e!important;
  border-color:rgba(110,231,183,.08)!important;
}
.profile-role-list span{
  background:rgba(16,185,129,.08)!important;
  border-color:rgba(52,211,153,.14)!important;
  color:#91d9b6!important;
}

/* Cards / panels / forms */
.portal-action-card,
.portal-empty-card,
.portal-list-card,
.portal-form-card,
.application-settings-card,
.rp-toggle-card,
.staff-application-card,
.profile-view-main,
.portal-home-theme .portal-action-card,
.portal-home-theme .portal-empty-card,
.portal-home-theme .portal-list-card,
.portal-home-theme .portal-form-card{
  border:1px solid rgba(110,231,183,.085)!important;
  border-radius:16px!important;
  background:
    linear-gradient(145deg,rgba(16,185,129,.018),transparent 45%),
    #08100c!important;
  box-shadow:0 16px 50px rgba(0,0,0,.14)!important;
}
.portal-action-card:hover{
  border-color:rgba(52,211,153,.20)!important;
  background:#0a1510!important;
}
.portal-action-card:before{
  background:radial-gradient(circle,rgba(16,185,129,.10),transparent 68%)!important;
}
.portal-action-card h3,
.portal-empty-card h3{color:#ecfff6!important}
.portal-action-card p,
.portal-empty-card p{color:#718b7d!important}
.portal-empty-icon{
  background:rgba(16,185,129,.08)!important;
  color:#6ee7b7!important;
  border:1px solid rgba(52,211,153,.12)!important;
}
.portal-list-card a{
  border-color:rgba(110,231,183,.065)!important;
  color:#bcdaca!important;
}
.portal-list-card a:hover{
  background:rgba(16,185,129,.055)!important;
  color:#effff7!important;
}
.portal-list-card b{color:#34d399!important}

.portal-primary-btn,
.primary-btn{
  background:linear-gradient(135deg,#34d399,#10b981)!important;
  border:1px solid rgba(110,231,183,.32)!important;
  color:#03110b!important;
  border-radius:10px!important;
  box-shadow:0 10px 30px rgba(16,185,129,.12)!important;
}
.portal-primary-btn:hover,
.primary-btn:hover{
  background:linear-gradient(135deg,#6ee7b7,#10b981)!important;
  transform:translateY(-1px)!important;
  box-shadow:0 14px 38px rgba(16,185,129,.18)!important;
}
.portal-secondary-btn,
.secondary-btn{
  background:#0b1711!important;
  border-color:rgba(110,231,183,.12)!important;
  color:#9cc9b2!important;
  border-radius:10px!important;
}
.portal-secondary-btn:hover,.secondary-btn:hover{
  color:#dffbed!important;
  border-color:rgba(52,211,153,.27)!important;
  background:rgba(16,185,129,.07)!important;
}

.portal-form label>span,
.portal-home-theme .portal-form label>span{
  color:#87a798!important;
}
.portal-form input,
.portal-form textarea,
.portal-form select,
.portal-home-theme .portal-form input,
.portal-home-theme .portal-form textarea{
  background:#050b08!important;
  color:#e7fff3!important;
  border:1px solid rgba(110,231,183,.11)!important;
  border-radius:10px!important;
}
.portal-form input::placeholder,
.portal-form textarea::placeholder{color:#405d4e!important}
.portal-form input:focus,
.portal-form textarea:focus,
.portal-form select:focus{
  border-color:rgba(52,211,153,.55)!important;
  background:#07110c!important;
  box-shadow:0 0 0 3px rgba(16,185,129,.08)!important;
}
.portal-form select option{background:#07100c!important;color:#dff8eb!important}

/* Whitelist wizard */
.wl-wizard{
  background:transparent!important;
}
.wl-progress{
  border-color:rgba(110,231,183,.08)!important;
  background:#07100c!important;
}
.wl-progress-top{color:#6c897a!important}
.wl-progress-track,
.wl-progress-bar{
  background:#0d1a13!important;
}
.wl-progress-track>span,
.wl-progress-bar>span,
.wl-progress-fill{
  background:linear-gradient(90deg,#047857,#10b981,#6ee7b7)!important;
  box-shadow:0 0 22px rgba(16,185,129,.20)!important;
}
.wl-step-dots span,
.wl-step-dot{
  background:#0a1610!important;
  border-color:rgba(110,231,183,.11)!important;
  color:#567363!important;
}
.wl-step-dots span.active,
.wl-step-dots span.done,
.wl-step-dot.active,
.wl-step-dot.completed{
  background:#10b981!important;
  border-color:#34d399!important;
  color:#021009!important;
  box-shadow:0 0 18px rgba(16,185,129,.16)!important;
}
.wl-step-header h3{color:#effff7!important}
.wl-step-header p{color:#718b7d!important}

/* Applications */
.application-type-grid{gap:14px!important}
.application-type-card{
  border:1px solid rgba(110,231,183,.09)!important;
  border-radius:16px!important;
  background:#08100c!important;
  color:#eaffeF!important;
  box-shadow:0 12px 38px rgba(0,0,0,.13)!important;
}
.application-type-card:hover,
.application-type-card.active{
  border-color:rgba(52,211,153,.36)!important;
  background:
    radial-gradient(circle at 90% 10%,rgba(16,185,129,.09),transparent 33%),
    #0a1710!important;
  box-shadow:0 20px 55px rgba(0,0,0,.22),0 0 32px rgba(16,185,129,.04)!important;
}
.application-type-icon{
  background:rgba(16,185,129,.10)!important;
  border:1px solid rgba(52,211,153,.12)!important;
  color:#6ee7b7!important;
}
.application-type-card small{color:#6f897b!important}
.application-type-card em{color:#34d399!important}
.application-type-card em.closed{color:#f18b96!important}

.application-history-item{
  border-color:rgba(110,231,183,.08)!important;
  border-radius:14px!important;
  background:#08100c!important;
}
.application-history-item.pending{border-left-color:#10b981!important}
.application-history-item.approved{border-left-color:#34d399!important}
.application-history-title h4{color:#ecfff6!important}
.application-history-title p,.application-history-meta{color:#668173!important}
.application-history-number{
  background:rgba(16,185,129,.09)!important;
  color:#6ee7b7!important;
}
.application-status-badge.pending{
  background:rgba(16,185,129,.09)!important;
  color:#6ee7b7!important;
  border-color:rgba(52,211,153,.18)!important;
}
.application-status-badge.approved{
  background:rgba(52,211,153,.10)!important;
  color:#a7f3d0!important;
  border-color:rgba(52,211,153,.19)!important;
}
.application-history-response{
  background:#09130e!important;
  border-color:rgba(110,231,183,.07)!important;
}
.application-history-response span{color:#34d399!important}
.application-history-response p{color:#a7c6b6!important}

.application-admin-filters button{
  background:#07100c!important;
  border-color:rgba(110,231,183,.09)!important;
  color:#6d897a!important;
}
.application-admin-filters button:hover,
.application-admin-filters button.active{
  background:rgba(16,185,129,.09)!important;
  border-color:rgba(52,211,153,.27)!important;
  color:#a7f3d0!important;
}

.staff-app-type{color:#34d399!important}
.staff-app-head{border-color:rgba(110,231,183,.07)!important}
.staff-app-body b{color:#83ad98!important}
.staff-app-body p{color:#b4d1c1!important}
.staff-response-input{
  background:#050b08!important;
  border-color:rgba(110,231,183,.10)!important;
  color:#e6fff2!important;
}

/* Settings */
.settings-group{
  border:1px solid rgba(110,231,183,.075)!important;
  border-radius:15px!important;
  background:#07100c!important;
}
.settings-group h3{color:#eafff4!important}
.rp-toggle-row{
  border-color:rgba(110,231,183,.065)!important;
}
.rp-toggle-row strong{color:#dff8eb!important}
.rp-toggle-row span{color:#607b6c!important}
.veyra-switch .switch-slider{
  background:#131d18!important;
  border:1px solid rgba(110,231,183,.10)!important;
}
.veyra-switch input:checked + .switch-slider{
  background:#10b981!important;
  border-color:#34d399!important;
  box-shadow:0 0 18px rgba(16,185,129,.14)!important;
}
.application-close-date-row{
  border-color:rgba(110,231,183,.06)!important;
  background:rgba(16,185,129,.018)!important;
}

/* Portal lives admin */
.staff-live-list .live-card,
.rp-toggle-card{
  border-color:rgba(110,231,183,.08)!important;
  background:#08100c!important;
}

/* ---------- Home updates ---------- */
.homepage-updates-grid{gap:16px!important}
.homepage-update-card{
  border:1px solid rgba(110,231,183,.09)!important;
  border-radius:18px!important;
  background:#08100c!important;
  box-shadow:0 16px 48px rgba(0,0,0,.16)!important;
}
.homepage-update-card:hover{
  border-color:rgba(52,211,153,.24)!important;
  transform:translateY(-3px)!important;
}
.homepage-update-card small{color:#34d399!important}
.homepage-update-card h3{color:#ecfff6!important}
.homepage-update-card p{color:#748e80!important}

/* ---------- Generic status / details ---------- */
.portal-form-message{color:#779282!important}
.portal-form-message.success{color:#6ee7b7!important}
.portal-form-message.error{color:#f19aa2!important}
.application-closed-notice{
  border-color:rgba(244,114,124,.15)!important;
  background:rgba(110,20,30,.10)!important;
}
.application-closed-notice strong{color:#f3a2aa!important}

/* ---------- Responsive polish ---------- */
@media(max-width:900px){
  .new-hero-inner{gap:48px!important}
  .visual-shell{border-radius:18px!important}
  .portal-main{background:#050906!important}
}
@media(max-width:700px){
  .header,.new-header{height:70px!important}
  .new-hero{padding-top:120px!important}
  .safir-card,.portal-form-card,.portal-empty-card,.portal-list-card{border-radius:14px!important}
  .identity-panel{border-radius:18px!important}
  .section-shell{border-radius:18px!important}
}


/* =======================================================================
   VEYRA — DEEP EMERALD LAYER
   Tydligare mix av emerald + mörk skogsgrön + obsidian.
   ======================================================================= */
:root{
  --veyra-emerald:#10b981;
  --veyra-emerald-bright:#34d399;
  --veyra-emerald-soft:#6ee7b7;
  --veyra-forest:#047857;
  --veyra-forest-deep:#065f46;
  --veyra-pine:#063c2c;
  --veyra-night:#04100b;
  --veyra-night-2:#06150f;
  --veyra-panel:#081b13;
  --veyra-panel-2:#0a2117;
}

/* Bakgrunden får tydligare mörkgröna lager */
body,
.veyra-new,
.portal-dashboard-body,
.lives-page-body{
  background:
    radial-gradient(circle at 82% 2%,rgba(16,185,129,.12),transparent 25%),
    radial-gradient(circle at 15% 70%,rgba(4,120,87,.12),transparent 34%),
    linear-gradient(145deg,#030906 0%,#06150f 44%,#04100b 72%,#020604 100%)!important;
}

/* Header: nästan svartgrön */
.header,
.new-header,
.lives-site-header{
  background:linear-gradient(90deg,rgba(3,10,7,.96),rgba(5,24,16,.93),rgba(3,10,7,.96))!important;
  border-bottom-color:rgba(52,211,153,.11)!important;
}

/* Sidebar: mörk skogsgrön istället för bara svart */
.portal-sidebar,
.portal-home-theme .portal-sidebar{
  background:
    radial-gradient(circle at 15% 4%,rgba(16,185,129,.14),transparent 27%),
    linear-gradient(180deg,#082017 0%,#06150f 42%,#030a07 100%)!important;
  border-right-color:rgba(52,211,153,.13)!important;
}

/* Main portal får en mörk grön ton */
.portal-main,
.portal-home-theme .portal-main{
  background:
    radial-gradient(circle at 92% 3%,rgba(16,185,129,.075),transparent 25%),
    linear-gradient(145deg,rgba(6,28,19,.34),rgba(3,9,6,.10))!important;
}

/* Paneler använder olika gröna djup */
.portal-profile-card,
.profile-view-card,
.portal-form-card,
.portal-list-card,
.portal-empty-card,
.portal-action-card,
.application-settings-card,
.rp-toggle-card,
.staff-application-card,
.profile-view-main,
.section-shell,
.news-card,
.live-card,
.homepage-update-card,
.application-type-card,
.application-history-item{
  background:
    linear-gradient(145deg,rgba(10,40,27,.88),rgba(5,17,12,.96))!important;
  border-color:rgba(52,211,153,.11)!important;
}

.portal-form-card,
.application-settings-card,
.staff-application-card{
  box-shadow:
    inset 0 1px 0 rgba(110,231,183,.025),
    0 20px 55px rgba(0,0,0,.22)!important;
}

/* Alternerande djup för mindre paneler */
.settings-group,
.profile-info-box,
.profile-info-wide,
.application-history-response,
.wl-progress,
.live-empty{
  background:linear-gradient(145deg,#092219,#06150f)!important;
  border-color:rgba(52,211,153,.10)!important;
}

/* Kort får emerald kant/glow på hover */
.portal-action-card:hover,
.application-type-card:hover,
.application-type-card.active,
.news-card:hover,
.live-card:hover,
.homepage-update-card:hover{
  background:
    radial-gradient(circle at 88% 10%,rgba(52,211,153,.10),transparent 31%),
    linear-gradient(145deg,#0b2a1d,#071810)!important;
  border-color:rgba(52,211,153,.32)!important;
  box-shadow:
    0 24px 65px rgba(0,0,0,.28),
    0 0 38px rgba(16,185,129,.055)!important;
}

/* Navigation: mörkgrön aktiv bakgrund + klar emerald linje */
.portal-nav-item.active,
.portal-home-theme .portal-nav-item.active{
  background:
    linear-gradient(90deg,rgba(4,120,87,.36),rgba(6,95,70,.17),rgba(16,185,129,.025))!important;
  border-color:rgba(52,211,153,.16)!important;
  box-shadow:
    inset 3px 0 0 #34d399,
    0 10px 30px rgba(0,0,0,.12)!important;
}
.portal-nav-item:hover,
.portal-home-theme .portal-nav-item:hover{
  background:rgba(4,120,87,.16)!important;
}

/* Knappar: tydlig gradient mellan ljus och mörk emerald */
.portal-primary-btn,
.primary-btn,
.safir-primary,
.btn-primary,
.wl-wizard .wl-wizard-actions button[type="submit"]{
  background:linear-gradient(135deg,#34d399 0%,#10b981 42%,#047857 100%)!important;
  border-color:rgba(110,231,183,.31)!important;
  color:#02100a!important;
  box-shadow:
    0 12px 32px rgba(16,185,129,.15),
    inset 0 1px 0 rgba(236,253,245,.16)!important;
}
.portal-primary-btn:hover,
.primary-btn:hover,
.safir-primary:hover,
.btn-primary:hover,
.wl-wizard .wl-wizard-actions button[type="submit"]:hover{
  background:linear-gradient(135deg,#6ee7b7 0%,#10b981 48%,#065f46 100%)!important;
  box-shadow:0 16px 42px rgba(16,185,129,.22)!important;
}

/* Secondary buttons ska kännas gröna utan att lysa */
.portal-secondary-btn,
.secondary-btn,
.safir-ghost{
  background:linear-gradient(145deg,#092219,#06140e)!important;
  border-color:rgba(52,211,153,.15)!important;
  color:#9fd8bc!important;
}
.portal-secondary-btn:hover,
.secondary-btn:hover,
.safir-ghost:hover{
  background:linear-gradient(145deg,#0c3021,#082018)!important;
  border-color:rgba(52,211,153,.30)!important;
}

/* Inputs: mörkaste grön ton */
.portal-form input,
.portal-form textarea,
.portal-form select,
.staff-response-input{
  background:linear-gradient(145deg,#030b07,#06150f)!important;
  border-color:rgba(52,211,153,.12)!important;
}
.portal-form input:focus,
.portal-form textarea:focus,
.portal-form select:focus,
.staff-response-input:focus{
  background:#071b12!important;
  border-color:#10b981!important;
  box-shadow:0 0 0 3px rgba(16,185,129,.09),0 8px 28px rgba(0,0,0,.18)!important;
}

/* Switches */
.veyra-switch .switch-slider{
  background:#10241b!important;
}
.veyra-switch input:checked + .switch-slider{
  background:linear-gradient(90deg,#065f46,#10b981)!important;
  border-color:#34d399!important;
}

/* Whitelist progress får hela gröna skalan */
.wl-progress-track>span,
.wl-progress-bar>span,
.wl-progress-fill{
  background:linear-gradient(90deg,#065f46 0%,#047857 28%,#10b981 66%,#6ee7b7 100%)!important;
}

/* Startsidan får mer mörkgrön identitet */
.new-hero{
  background:
    radial-gradient(circle at 78% 35%,rgba(16,185,129,.20),transparent 29%),
    radial-gradient(circle at 15% 88%,rgba(4,120,87,.15),transparent 34%),
    linear-gradient(145deg,#020705 0%,#061b12 52%,#030906 100%)!important;
}
.visual-shell{
  background:
    radial-gradient(circle at 72% 25%,rgba(52,211,153,.18),transparent 37%),
    linear-gradient(145deg,#0b2c1e 0%,#06160f 54%,#020806 100%)!important;
  border-color:rgba(52,211,153,.19)!important;
}
.feature-wrap{
  background:
    radial-gradient(circle at 10% 50%,rgba(4,120,87,.08),transparent 29%),
    linear-gradient(180deg,#06150f,#030906)!important;
}
.safir-card{
  background:
    linear-gradient(145deg,rgba(10,43,29,.92),rgba(4,15,10,.97))!important;
}
.identity-panel{
  background:
    radial-gradient(circle at 84% 22%,rgba(16,185,129,.17),transparent 31%),
    linear-gradient(135deg,#0b2d1f,#06150f 60%,#030906)!important;
}

/* Footer */
.new-footer,
.footer{
  background:linear-gradient(180deg,#04100b,#020604)!important;
  border-top-color:rgba(52,211,153,.09)!important;
}

/* Badges och smådetaljer */
.application-status-badge.pending,
.live-state-pill,
.live-count,
.profile-role-list span{
  background:linear-gradient(135deg,rgba(4,120,87,.25),rgba(16,185,129,.08))!important;
  border-color:rgba(52,211,153,.18)!important;
}

.application-type-icon,
.portal-empty-icon,
.application-history-number,
.card-icon{
  background:linear-gradient(145deg,rgba(4,120,87,.28),rgba(16,185,129,.08))!important;
  border-color:rgba(52,211,153,.16)!important;
}

/* Scrollbar */
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:#04100b}
::-webkit-scrollbar-thumb{
  background:linear-gradient(#065f46,#10b981);
  border:2px solid #04100b;
  border-radius:20px;
}
::-webkit-scrollbar-thumb:hover{background:linear-gradient(#047857,#34d399)}


/* =======================================================================
   VEYRA HOMEPAGE REMAKE — SEAMLESS DARK EMERALD
   Rebuild matching the approved full-page concept.
   ======================================================================= */

body.veyra-home-remake{
  --home-bg:#02100a;
  --home-bg-deep:#010905;
  --home-surface:#062016;
  --home-surface-2:#08291d;
  --home-line:rgba(60,255,178,.105);
  --home-line-strong:rgba(60,255,178,.21);
  --home-green:#19e59a;
  --home-green-2:#08c982;
  --home-green-dark:#047857;
  --home-text:#f1fff8;
  --home-muted:#83a799;
  margin:0;
  background:
    radial-gradient(circle at 18% 9%,rgba(18,195,127,.07),transparent 23%),
    radial-gradient(circle at 86% 18%,rgba(7,109,75,.10),transparent 28%),
    linear-gradient(180deg,#020d08 0%,#03110b 47%,#020d08 100%)!important;
  color:var(--home-text);
  min-height:100%;
}

.veyra-home-remake .noise{
  opacity:.012!important;
  mix-blend-mode:screen;
}

.home-remake-main{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(1,12,7,.16),rgba(2,16,10,.06)),
    radial-gradient(circle at 52% 40%,rgba(16,185,129,.022),transparent 45%);
}

.home-remake-main:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
  background-image:
    linear-gradient(rgba(38,212,143,.017) 1px,transparent 1px),
    linear-gradient(90deg,rgba(38,212,143,.017) 1px,transparent 1px);
  background-size:84px 84px;
  mask-image:linear-gradient(to bottom,black 0%,rgba(0,0,0,.55) 70%,transparent 100%);
}

.home-remake-container,
.veyra-home-nav{
  width:min(1180px,calc(100% - 56px));
  margin-inline:auto;
}

.veyra-home-remake .new-header{
  height:84px!important;
  background:linear-gradient(180deg,rgba(1,10,6,.93),rgba(1,10,6,.74))!important;
  border-bottom:1px solid rgba(52,211,153,.07)!important;
  backdrop-filter:blur(18px)!important;
}
.veyra-home-remake .new-header.scrolled{
  background:rgba(1,10,6,.96)!important;
  border-color:rgba(52,211,153,.11)!important;
}
.veyra-home-nav{
  display:flex;
  align-items:center;
  height:100%;
  gap:35px;
}
.veyra-home-remake .new-brand{gap:10px}
.veyra-home-remake .brand-glyph{
  width:29px!important;height:34px!important;
  border:0!important;border-radius:0!important;
  color:var(--home-green)!important;
  background:none!important;
  box-shadow:none!important;
  font:800 31px/.9 Manrope!important;
  transform:skew(-7deg);
}
.veyra-home-remake .brand-glyph:after{display:none!important}
.veyra-home-remake .brand-word{
  color:#f0fff7!important;
  font-size:13px!important;
  letter-spacing:.08em!important;
}
.veyra-home-remake .new-nav{
  flex:1;
  justify-content:center;
  gap:28px!important;
}
.veyra-home-remake .new-nav a{
  color:#d3e5db!important;
  font-size:8px!important;
  letter-spacing:.11em!important;
  font-weight:800!important;
  padding:10px 0!important;
}
.veyra-home-remake .new-nav a:hover,
.veyra-home-remake .new-nav .active-nav{
  color:var(--home-green)!important;
}
.veyra-home-remake .new-nav .active-nav:after{display:none!important}

.home-login-pill{
  flex:0 0 auto;
  min-width:126px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  border:1px solid var(--home-green-2);
  border-radius:999px;
  color:#8ff2c7;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:8px;
  font-weight:800;
  background:rgba(4,120,87,.06);
  box-shadow:inset 0 0 20px rgba(16,185,129,.02);
  transition:.2s ease;
}
.home-login-pill:hover{
  color:#02100a;
  background:var(--home-green);
  border-color:var(--home-green);
}

.home-remake-hero{
  min-height:760px;
  padding:170px 0 98px;
  position:relative;
  display:flex;
  align-items:center;
  z-index:1;
}
.home-continuous-grid{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.28;
  background-image:
    linear-gradient(rgba(33,213,143,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(33,213,143,.025) 1px,transparent 1px);
  background-size:70px 70px;
  mask-image:linear-gradient(to bottom,black,transparent 94%);
}
.home-glow{
  position:absolute;
  border-radius:50%;
  pointer-events:none;
  filter:blur(8px);
}
.home-glow-one{
  width:560px;height:560px;
  right:-160px;top:20px;
  background:radial-gradient(circle,rgba(16,185,129,.11),transparent 67%);
}
.home-glow-two{
  width:430px;height:430px;
  left:-180px;bottom:-160px;
  background:radial-gradient(circle,rgba(4,120,87,.08),transparent 69%);
}

.hero-layout-remake{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.03fr .97fr;
  gap:90px;
  align-items:center;
}
.home-eyebrow,
.home-section-kicker{
  display:block;
  color:#51b991;
  font-size:8px;
  font-weight:800;
  letter-spacing:.24em;
  text-transform:uppercase;
}
.hero-copy-remake h1,
.home-section-heading h2,
.identity-remake-copy h2,
.home-final-inner h2{
  color:#f4fff9!important;
  font:800 clamp(46px,5.1vw,79px)/.94 Manrope,sans-serif;
  letter-spacing:-.055em;
  text-transform:uppercase;
  margin:14px 0 0;
}
.hero-copy-remake h1 em,
.home-section-heading h2 em,
.identity-remake-copy h2 em,
.home-final-inner h2 em{
  display:inline;
  color:var(--home-green)!important;
  font-style:normal;
}
.hero-copy-remake>p{
  max-width:600px;
  color:#8ba89b;
  font-size:14px;
  line-height:1.85;
  margin:27px 0 0;
}
.hero-actions-remake{
  display:flex;
  gap:14px;
  margin-top:31px;
}
.home-btn{
  min-height:45px;
  padding:0 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:19px;
  border-radius:999px;
  text-transform:uppercase;
  font-size:8px;
  font-weight:800;
  letter-spacing:.08em;
  transition:.22s ease;
}
.home-btn-solid{
  color:#01100a;
  border:1px solid var(--home-green);
  background:linear-gradient(135deg,#23f0a6,#0ad88c);
  box-shadow:0 12px 34px rgba(16,185,129,.17);
}
.home-btn-solid:hover{
  transform:translateY(-2px);
  box-shadow:0 17px 40px rgba(16,185,129,.24);
}
.home-btn-outline{
  color:#9debc9;
  border:1px solid #0bbf7b;
  background:rgba(4,120,87,.02);
}
.home-btn-outline:hover{
  color:#02110b;
  background:#12d890;
}

/* CSS city, so the page needs no external image assets */
.hero-scene{
  height:370px;
  position:relative;
  align-self:end;
  overflow:hidden;
  opacity:.72;
  -webkit-mask-image:linear-gradient(to top,transparent 0%,black 24%,black 72%,transparent 100%);
  mask-image:linear-gradient(to top,transparent 0%,black 24%,black 72%,transparent 100%);
}
.city-haze{
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse at 54% 60%,rgba(30,200,137,.16),transparent 35%),
    linear-gradient(to top,rgba(3,49,33,.48),transparent 62%);
}
.city-moon{
  position:absolute;
  width:320px;height:160px;
  right:4%;bottom:68px;
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(22,120,84,.10),transparent 70%);
  filter:blur(10px);
}
.city-buildings{position:absolute;inset:20px 0 64px}
.city-buildings i{
  position:absolute;
  bottom:0;
  left:var(--x);
  width:8%;
  height:var(--h);
  background:
    repeating-linear-gradient(90deg,transparent 0 9px,rgba(73,255,188,.07) 10px 11px),
    repeating-linear-gradient(0deg,transparent 0 11px,rgba(73,255,188,.08) 12px 13px),
    linear-gradient(#062d20,#03120c);
  border-top:1px solid rgba(70,235,173,.09);
  box-shadow:0 0 30px rgba(2,25,17,.6);
}
.city-buildings i:nth-child(3n){width:6%}
.city-buildings i:nth-child(4n){width:10%}
.city-road{
  position:absolute;
  left:-8%;right:-8%;bottom:20px;height:76px;
  transform:skewY(-4deg);
  background:
    linear-gradient(165deg,transparent 0 36%,rgba(20,136,91,.10) 37% 39%,transparent 40%),
    linear-gradient(to bottom,rgba(2,34,23,.55),rgba(1,10,6,.2));
  border-top:1px solid rgba(45,205,145,.06);
}

.home-flow-section{
  position:relative;
  z-index:1;
  padding:112px 0;
  background:transparent!important;
  border:0!important;
}
.home-flow-section:before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:min(1180px,calc(100% - 56px));
  transform:translateX(-50%);
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(52,211,153,.095) 12%,rgba(52,211,153,.095) 88%,transparent);
}

.home-section-heading{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  align-items:end;
  gap:70px;
  margin-bottom:54px;
}
.home-section-heading h2{
  font-size:clamp(42px,4.6vw,67px);
}
.home-section-heading>p{
  max-width:430px;
  justify-self:end;
  color:#7e9d8e;
  font-size:12px;
  line-height:1.75;
  padding-bottom:8px;
}

.home-feature-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:13px;
}
.home-feature-card{
  min-height:330px;
  padding:29px 28px 25px;
  display:flex;
  flex-direction:column;
  border:1px solid rgba(35,235,156,.16);
  border-radius:14px;
  background:
    radial-gradient(circle at 90% 3%,rgba(21,231,151,.07),transparent 27%),
    linear-gradient(145deg,rgba(7,40,27,.86),rgba(3,22,14,.86));
  box-shadow:inset 0 1px 0 rgba(91,255,197,.025),0 18px 55px rgba(0,0,0,.13);
  transition:.24s ease;
}
.home-feature-card:hover{
  transform:translateY(-5px);
  border-color:rgba(35,235,156,.31);
  background:
    radial-gradient(circle at 88% 4%,rgba(21,231,151,.10),transparent 29%),
    linear-gradient(145deg,rgba(8,49,32,.95),rgba(3,23,15,.95));
}
.feature-round-icon{
  width:54px;height:54px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(16,185,129,.08);
  border:1px solid rgba(41,240,165,.17);
  color:#1ced9e;
  margin-bottom:50px;
}
.feature-round-icon svg{width:24px;height:24px;fill:currentColor}
.feature-card-copy span{
  display:block;
  color:#3fc595;
  font-size:7px;
  font-weight:800;
  letter-spacing:.20em;
  margin-bottom:11px;
}
.feature-card-copy h3{
  color:#effff7;
  font:700 18px Manrope;
  margin:0 0 10px;
}
.feature-card-copy p{
  color:#789687;
  font-size:11px;
  line-height:1.7;
  margin:0;
}
.home-feature-card>b{
  margin-top:auto;
  color:#1ee69c;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-size:8px;
}
.home-feature-card>b span{margin-left:8px}

.identity-remake-card{
  min-height:430px;
  display:grid;
  grid-template-columns:1.08fr .92fr;
  align-items:center;
  gap:45px;
  padding:55px 55px 55px 58px;
  border:1px solid rgba(35,235,156,.16);
  border-radius:15px;
  background:
    radial-gradient(circle at 90% 20%,rgba(20,203,137,.08),transparent 30%),
    linear-gradient(145deg,rgba(7,43,29,.72),rgba(2,20,13,.78));
  box-shadow:0 25px 70px rgba(0,0,0,.15);
  overflow:hidden;
}
.identity-remake-copy h2{
  font-size:clamp(45px,4.5vw,67px);
}
.identity-remake-copy p{
  color:#86a294;
  font-size:12px;
  line-height:1.75;
  max-width:540px;
  margin:23px 0 24px;
}
.identity-remake-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.identity-remake-tags span{
  padding:7px 13px;
  border:1px solid rgba(25,229,154,.38);
  border-radius:999px;
  color:#82cbae;
  background:rgba(6,70,46,.10);
  font-size:8px;
}

.identity-city-card{
  height:290px;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(35,235,156,.15);
  border-radius:13px;
  background:
    radial-gradient(circle at 48% 45%,rgba(32,190,131,.13),transparent 34%),
    linear-gradient(180deg,#06281c,#03140d);
}
.identity-city-sky{
  position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(30,130,92,.06),transparent 53%);
}
.identity-city-buildings{position:absolute;inset:42px 0 0}
.identity-city-buildings i{
  position:absolute;
  left:var(--x);bottom:0;width:var(--w);height:var(--h);
  background:
    repeating-linear-gradient(90deg,transparent 0 8px,rgba(88,255,196,.08) 9px 10px),
    repeating-linear-gradient(0deg,transparent 0 10px,rgba(88,255,196,.09) 11px 12px),
    linear-gradient(#0b3c2b,#03150e);
  border-top:1px solid rgba(79,236,181,.08);
}
.identity-city-label{
  position:absolute;
  right:14px;bottom:14px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(2,16,10,.77);
  border:1px solid rgba(35,235,156,.14);
  color:#24e99e;
  font-size:7px;
  letter-spacing:.11em;
  font-weight:800;
}

.home-updates-remake{padding-bottom:126px}
.home-update-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;
}
.home-update-card{
  min-height:220px;
  padding:25px;
  border-radius:13px;
  border:1px solid rgba(35,235,156,.14);
  background:
    radial-gradient(circle at 92% 6%,rgba(16,185,129,.07),transparent 30%),
    linear-gradient(145deg,rgba(6,39,26,.85),rgba(3,20,13,.90));
}
.home-update-type{
  color:#3dc896;
  font-size:7px;
  letter-spacing:.18em;
  font-weight:800;
  display:flex;
  align-items:center;
  gap:7px;
}
.home-update-type i{
  width:6px;height:6px;border-radius:50%;
  background:#21e99f;
  box-shadow:0 0 12px rgba(33,233,159,.48);
}
.home-update-card h3{
  color:#effff7;
  font:700 17px Manrope;
  margin:16px 0 8px;
}
.home-update-card p{
  color:#769485;
  font-size:10px;
  line-height:1.65;
  margin:0;
}
.home-update-card time{
  display:block;
  margin-top:24px;
  color:#587467;
  font-size:9px;
}

.home-final-cta{
  padding-top:118px;
  padding-bottom:105px;
}
.home-final-inner{
  text-align:center;
  max-width:690px;
  margin:auto;
}
.home-final-inner h2{
  font-size:clamp(42px,4.4vw,63px);
}
.home-final-inner p{
  color:#8ba89b;
  font-size:12px;
  margin:22px 0 0;
}
.final-actions-remake{
  justify-content:center;
  margin-top:28px;
}

.home-remake-footer{
  position:relative;
  z-index:1;
  padding:58px 0 24px;
  background:transparent!important;
  border:0!important;
}
.home-remake-footer:before{
  content:"";
  position:absolute;top:0;left:50%;
  width:min(1180px,calc(100% - 56px));
  height:1px;transform:translateX(-50%);
  background:rgba(52,211,153,.10);
}
.home-footer-top{
  display:grid;
  grid-template-columns:1fr auto;
  gap:80px;
  align-items:start;
  padding-bottom:48px;
}
.home-footer-brand p{
  color:#5f7e6f;
  font-size:9px;
  line-height:1.7;
  margin:20px 0 0;
}
.home-footer-links{
  display:flex;
  gap:100px;
}
.home-footer-links>div{display:flex;flex-direction:column;gap:8px}
.home-footer-links span{
  color:#36765b;
  font-size:7px;
  font-weight:800;
  letter-spacing:.18em;
  margin-bottom:5px;
}
.home-footer-links a{
  color:#6f9181;
  font-size:9px;
}
.home-footer-links a:hover{color:#20e99d}
.home-footer-bottom{
  padding-top:21px;
  border-top:1px solid rgba(52,211,153,.07);
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#466456;
  font-size:8px;
}

/* There must be no separate section background bands */
.veyra-home-remake .home-remake-hero,
.veyra-home-remake .home-flow-section,
.veyra-home-remake .home-remake-footer{
  background-color:transparent!important;
  background-image:none!important;
}
.veyra-home-remake .home-remake-main{
  background:
    radial-gradient(circle at 78% 5%,rgba(16,185,129,.075),transparent 25%),
    radial-gradient(circle at 17% 42%,rgba(4,120,87,.045),transparent 30%),
    radial-gradient(circle at 83% 76%,rgba(6,95,70,.04),transparent 26%),
    linear-gradient(180deg,#020d08 0%,#03120b 36%,#02100a 69%,#020c07 100%)!important;
}

@media(max-width:1000px){
  .veyra-home-remake .new-nav{gap:16px!important}
  .hero-layout-remake{grid-template-columns:1fr;gap:45px}
  .hero-scene{height:260px;opacity:.45}
  .home-section-heading{grid-template-columns:1fr;gap:22px}
  .home-section-heading>p{justify-self:start}
  .identity-remake-card{grid-template-columns:1fr}
  .identity-city-card{height:230px}
}

@media(max-width:820px){
  .home-login-pill{display:none}
  .veyra-home-remake .hamburger{margin-left:auto}
  .veyra-home-remake .new-nav{
    justify-content:flex-start;
    background:#03130c!important;
    border-color:rgba(52,211,153,.12)!important;
  }
  .home-remake-hero{padding-top:135px;min-height:auto}
  .home-feature-grid,
  .home-update-grid{grid-template-columns:1fr}
  .home-feature-card{min-height:250px}
  .feature-round-icon{margin-bottom:32px}
  .home-footer-top{grid-template-columns:1fr;gap:45px}
}

@media(max-width:600px){
  .home-remake-container,.veyra-home-nav{width:min(100% - 30px,1180px)}
  .hero-copy-remake h1{font-size:46px}
  .home-flow-section{padding:82px 0}
  .home-section-heading h2,.identity-remake-copy h2,.home-final-inner h2{font-size:42px}
  .hero-actions-remake{flex-direction:column;align-items:stretch}
  .home-btn{width:100%}
  .hero-scene{display:none}
  .identity-remake-card{padding:35px 24px}
  .identity-city-card{height:190px}
  .home-footer-links{gap:55px}
  .home-footer-bottom{flex-direction:column}
}


/* VEYRA — utbytbar hero-bild
   Byt filen assets/images/hero-city.png för att ändra bilden. */
.hero-image-scene{
  display:flex!important;
  align-items:center;
  justify-content:center;
  overflow:visible!important;
  opacity:1!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}
.hero-city-image{
  display:block;
  width:100%;
  height:auto;
  max-height:430px;
  object-fit:contain;
  object-position:center;
  border:0;
  user-select:none;
  pointer-events:none;
  mix-blend-mode:screen;
  opacity:.82;
  filter:saturate(.92) contrast(1.04);
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,black 13%,black 83%,transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0%,black 13%,black 83%,transparent 100%);
}
@media(max-width:600px){
  .hero-image-scene{display:none!important}
}


/* VEYRA — utbytbar bild i "Vem blir du?"
   Byt endast assets/images/identity-city.png för att använda en egen bild. */
.identity-image-card{
  position:relative!important;
  overflow:hidden!important;
  padding:0!important;
  background:#03140d!important;
}
.identity-city-image{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  border-radius:inherit;
  user-select:none;
  pointer-events:none;
}
.identity-image-card:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(to top,rgba(1,12,7,.38),transparent 42%),
    linear-gradient(90deg,rgba(2,18,11,.15),transparent 40%);
}
.identity-image-card .identity-city-label{
  z-index:2;
}


/* ==============================================================
   VEYRA — NEW OFFICIAL LOGO
   File: assets/images/veyra-logo.png
   Replace that file later to change the logo everywhere.
   ============================================================== */

.brand-with-logo{
  display:inline-flex!important;
  align-items:center!important;
  min-width:0!important;
  height:auto!important;
  text-decoration:none!important;
}

.veyra-brand-logo{
  display:block;
  width:auto;
  height:58px;
  max-width:210px;
  object-fit:contain;
  object-position:left center;
  user-select:none;
  pointer-events:none;
  filter:drop-shadow(0 6px 22px rgba(16,185,129,.16));
}

.new-header .veyra-brand-logo,
.header .veyra-brand-logo,
.lives-site-header .veyra-brand-logo{
  height:52px;
  max-width:185px;
}

.home-remake-footer .veyra-brand-logo,
.new-footer .veyra-brand-logo,
.footer .veyra-brand-logo{
  height:68px;
  max-width:235px;
}

.portal-logo-wrap-image{
  min-height:118px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:18px 12px!important;
}

.portal-veyra-logo{
  display:block;
  width:100%;
  max-width:178px;
  height:auto;
  max-height:92px;
  object-fit:contain;
  object-position:center;
  filter:drop-shadow(0 9px 24px rgba(16,185,129,.18));
}

/* Hide old synthetic logo pieces wherever they remain nearby */
.brand-with-logo .brand-glyph,
.brand-with-logo .brand-word,
.portal-logo-wrap-image .portal-logo-mark,
.portal-logo-wrap-image .portal-logo-copy{
  display:none!important;
}

@media(max-width:700px){
  .new-header .veyra-brand-logo,
  .header .veyra-brand-logo,
  .lives-site-header .veyra-brand-logo{
    height:44px;
    max-width:155px;
  }

  .portal-veyra-logo{
    max-width:145px;
    max-height:78px;
  }
}


/* =====================================================================
   VEYRA LANDING REMAKE
   Inspired by premium community landing pages, but original Veyra design.
   Replace only assets/images/home-hero-bg.png to change the hero background.
   ===================================================================== */

body.veyra-landing-page{
  --vl-green:#10e68f;
  --vl-green-bright:#2ff7aa;
  --vl-green-dark:#057a4f;
  --vl-bg:#020a06;
  --vl-bg2:#04130c;
  --vl-surface:rgba(4,22,14,.70);
  --vl-line:rgba(65,255,178,.13);
  --vl-text:#f5fff9;
  --vl-muted:#8da99b;
  margin:0;
  background:#020905!important;
  color:var(--vl-text);
  font-family:Inter,system-ui,sans-serif;
}

.veyra-landing-page *,
.veyra-landing-page *::before,
.veyra-landing-page *::after{box-sizing:border-box}

.veyra-landing-page a{text-decoration:none}

.vl-header{
  position:absolute;
  top:0;left:0;right:0;
  z-index:30;
  padding:26px 34px 0;
}

.vl-header-inner{
  width:min(1240px,100%);
  min-height:72px;
  margin:auto;
  display:grid;
  grid-template-columns:210px 1fr 210px;
  align-items:center;
  gap:28px;
  padding:10px 15px 10px 18px;
  border:1px solid rgba(80,255,190,.10);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(3,18,11,.72),rgba(2,12,8,.58));
  backdrop-filter:blur(17px);
  box-shadow:0 18px 50px rgba(0,0,0,.18);
}

.vl-brand{
  display:flex;
  align-items:center;
  height:52px;
}

.vl-brand img{
  display:block;
  width:auto;
  height:50px;
  max-width:185px;
  object-fit:contain;
  object-position:left center;
  filter:drop-shadow(0 7px 22px rgba(16,230,143,.14));
}

.vl-nav{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:5px;
  padding:5px;
  border:1px solid rgba(77,255,185,.08);
  border-radius:14px;
  background:rgba(5,30,19,.36);
}

.vl-nav a{
  padding:11px 16px;
  border:1px solid transparent;
  border-radius:10px;
  color:#8da99b;
  font-size:12px;
  font-weight:700;
  transition:.2s ease;
}

.vl-nav a:hover{
  color:#ddffed;
  background:rgba(16,230,143,.06);
}

.vl-nav a.active{
  color:var(--vl-green-bright);
  border-color:rgba(47,247,170,.20);
  background:linear-gradient(180deg,rgba(16,230,143,.13),rgba(16,230,143,.055));
  box-shadow:inset 0 1px rgba(255,255,255,.03);
}

.vl-login{
  justify-self:end;
  min-width:142px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:0 18px;
  border:1px solid rgba(47,247,170,.28);
  border-radius:12px;
  background:rgba(6,68,43,.13);
  color:#b8f9d9;
  font-size:12px;
  font-weight:800;
  transition:.2s ease;
}

.vl-login:hover{
  color:#011008;
  background:var(--vl-green);
  border-color:var(--vl-green);
  box-shadow:0 12px 34px rgba(16,230,143,.18);
}

.vl-login-dot{
  width:7px;height:7px;
  border-radius:50%;
  background:var(--vl-green);
  box-shadow:0 0 12px rgba(16,230,143,.9);
}

.vl-menu-btn{display:none}

.vl-hero{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:150px 40px 80px;
  background:#020b07;
}

.vl-hero-bg{
  position:absolute;
  inset:0;
  background-image:url('/api/home-hero-image');
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  transform:scale(1.025);
  filter:saturate(.85) contrast(1.05) brightness(.64);
}

.vl-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 43%,rgba(8,83,52,.10),transparent 28%),
    linear-gradient(90deg,rgba(1,8,5,.78),rgba(1,10,6,.25) 40%,rgba(1,8,5,.60)),
    linear-gradient(180deg,rgba(2,8,5,.60),rgba(1,8,5,.16) 36%,rgba(1,7,4,.82) 100%);
}

.vl-grid{
  position:absolute;
  inset:0;
  opacity:.20;
  background-image:
    linear-gradient(rgba(41,239,165,.03) 1px,transparent 1px),
    linear-gradient(90deg,rgba(41,239,165,.03) 1px,transparent 1px);
  background-size:76px 76px;
  mask-image:linear-gradient(to bottom,transparent 0%,black 30%,black 78%,transparent 100%);
}

.vl-hero-content{
  position:relative;
  z-index:5;
  width:min(770px,100%);
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.vl-hero-logo{
  width:225px;
  height:170px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:10px;
  filter:drop-shadow(0 18px 45px rgba(16,230,143,.16));
}

.vl-hero-logo img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.vl-kicker{
  display:flex;
  align-items:center;
  gap:12px;
  color:#69c7a1;
  font-size:9px;
  font-weight:800;
  letter-spacing:.28em;
  text-transform:uppercase;
}

.vl-kicker span{
  width:26px;height:1px;
  background:rgba(47,247,170,.45);
}

.vl-hero h1{
  margin:16px 0 0;
  color:#f7fffb;
  font:800 clamp(47px,5.5vw,79px)/.95 Manrope,Inter,sans-serif;
  letter-spacing:-.055em;
  text-transform:uppercase;
  text-shadow:0 18px 45px rgba(0,0,0,.36);
}

.vl-hero h1 em{
  color:var(--vl-green-bright);
  font-style:normal;
}

.vl-hero-content>p{
  width:min(610px,100%);
  margin:22px 0 0;
  color:#9cb2a7;
  font-size:14px;
  line-height:1.8;
}

.vl-actions{
  display:flex;
  gap:13px;
  margin-top:31px;
}

.vl-btn{
  min-height:48px;
  min-width:175px;
  padding:0 22px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:17px;
  font-size:11px;
  font-weight:800;
  transition:.2s ease;
}

.vl-btn-primary{
  color:#011109;
  border:1px solid var(--vl-green);
  background:linear-gradient(135deg,var(--vl-green-bright),var(--vl-green));
  box-shadow:0 12px 36px rgba(16,230,143,.16);
}

.vl-btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 17px 45px rgba(16,230,143,.24);
}

.vl-btn-secondary{
  color:#a5dac1;
  border:1px solid rgba(47,247,170,.28);
  background:rgba(2,18,11,.40);
  backdrop-filter:blur(12px);
}

.vl-btn-secondary:hover{
  color:#eafff3;
  border-color:rgba(47,247,170,.55);
  background:rgba(6,65,42,.28);
}

.vl-status-row{
  margin-top:47px;
  display:flex;
  align-items:center;
  gap:23px;
  padding:14px 21px;
  border:1px solid rgba(47,247,170,.10);
  border-radius:14px;
  background:rgba(2,14,8,.42);
  backdrop-filter:blur(13px);
}

.vl-status-item{
  display:flex;
  align-items:center;
  gap:10px;
  text-align:left;
}

.vl-status-item i{
  width:8px;height:8px;
  border-radius:50%;
  flex:0 0 auto;
}

.vl-status-item i.online{
  background:#29f0a5;
  box-shadow:0 0 13px rgba(41,240,165,.8);
}

.vl-status-item small{
  display:block;
  color:#4d7563;
  font-size:7px;
  font-weight:800;
  letter-spacing:.15em;
}

.vl-status-item strong{
  display:block;
  margin-top:2px;
  color:#ccebdd;
  font-size:9px;
  letter-spacing:.05em;
}

.vl-status-divider{
  width:1px;height:28px;
  background:rgba(47,247,170,.10);
}

.vl-side-note{
  position:absolute;
  z-index:5;
  right:38px;
  bottom:44px;
  padding-right:16px;
  border-right:2px solid rgba(47,247,170,.28);
  text-align:right;
}

.vl-side-note span{
  color:#479978;
  font-size:7px;
  font-weight:800;
  letter-spacing:.2em;
}

.vl-side-note p{
  margin:7px 0 0;
  color:#769a88;
  font-size:10px;
  line-height:1.55;
}

.vl-scroll{
  position:absolute;
  z-index:5;
  left:50%;
  bottom:27px;
  width:36px;height:36px;
  transform:translateX(-50%);
  display:grid;
  place-items:center;
}

.vl-scroll span{
  width:10px;height:10px;
  border-right:1.5px solid rgba(163,231,201,.65);
  border-bottom:1.5px solid rgba(163,231,201,.65);
  transform:rotate(45deg) translate(-2px,-2px);
}

.vl-section{
  position:relative;
  padding:110px 34px;
  background:
    radial-gradient(circle at 88% 12%,rgba(16,230,143,.04),transparent 28%),
    linear-gradient(180deg,#020b07,#03110b);
  border-top:1px solid rgba(47,247,170,.06);
}

.vl-section-inner{
  width:min(1180px,100%);
  margin:auto;
}

.vl-section-heading{
  display:grid;
  grid-template-columns:1fr .7fr;
  align-items:end;
  gap:80px;
  margin-bottom:48px;
}

.vl-section-heading small,
.vl-cta small{
  color:#42a880;
  font-size:8px;
  font-weight:800;
  letter-spacing:.22em;
}

.vl-section-heading h2,
.vl-cta h2{
  margin:12px 0 0;
  color:#f5fff9;
  font:800 clamp(40px,4.5vw,64px)/.97 Manrope,Inter,sans-serif;
  letter-spacing:-.05em;
  text-transform:uppercase;
}

.vl-section-heading h2 em,
.vl-cta h2 em{
  color:var(--vl-green-bright);
  font-style:normal;
}

.vl-section-heading>p{
  margin:0;
  color:#789587;
  font-size:12px;
  line-height:1.8;
}

.vl-card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.vl-card{
  min-height:315px;
  position:relative;
  padding:27px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(47,247,170,.12);
  border-radius:16px;
  background:
    radial-gradient(circle at 95% 3%,rgba(16,230,143,.08),transparent 30%),
    linear-gradient(145deg,rgba(6,38,24,.86),rgba(3,18,11,.96));
  box-shadow:0 18px 55px rgba(0,0,0,.15);
  transition:.23s ease;
}

.vl-card:hover{
  transform:translateY(-5px);
  border-color:rgba(47,247,170,.29);
  background:
    radial-gradient(circle at 90% 5%,rgba(16,230,143,.12),transparent 31%),
    linear-gradient(145deg,rgba(8,48,31,.94),rgba(3,20,13,.98));
}

.vl-card-number{
  position:absolute;
  right:18px;
  top:14px;
  color:#214b38;
  font:800 34px Manrope;
}

.vl-card-icon{
  width:48px;height:48px;
  border-radius:12px;
  display:grid;
  place-items:center;
  border:1px solid rgba(47,247,170,.16);
  background:rgba(16,230,143,.07);
  color:#37eca7;
  font:800 18px Manrope;
  margin-bottom:50px;
}

.vl-card h3{
  margin:0;
  color:#effff7;
  font:700 18px Manrope;
}

.vl-card p{
  margin:12px 0 0;
  color:#759183;
  font-size:11px;
  line-height:1.7;
}

.vl-card b{
  margin-top:auto;
  color:#27e69a;
  font-size:9px;
  letter-spacing:.06em;
}

.vl-news-section{
  background:
    radial-gradient(circle at 10% 30%,rgba(5,122,79,.06),transparent 27%),
    linear-gradient(180deg,#03110b,#020b07);
}

.vl-updates{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.vl-update-card{
  min-height:205px;
  padding:25px;
  border:1px solid rgba(47,247,170,.11);
  border-radius:15px;
  background:linear-gradient(145deg,rgba(5,34,21,.88),rgba(2,16,10,.95));
}

.vl-update-card small{
  color:#36b780;
  font-size:7px;
  font-weight:800;
  letter-spacing:.18em;
}

.vl-update-card h3{
  margin:14px 0 0;
  color:#edfff6;
  font:700 17px Manrope;
}

.vl-update-card p{
  color:#759184;
  font-size:10px;
  line-height:1.7;
}

.vl-update-card time{
  display:block;
  margin-top:20px;
  color:#476456;
  font-size:9px;
}

.vl-cta{
  padding:120px 34px;
  text-align:center;
  background:
    radial-gradient(circle at 50% 40%,rgba(16,230,143,.08),transparent 30%),
    linear-gradient(180deg,#020b07,#020905);
  border-top:1px solid rgba(47,247,170,.06);
}

.vl-cta-inner{
  width:min(650px,100%);
  margin:auto;
}

.vl-cta p{
  color:#789587;
  font-size:12px;
  margin:20px 0 27px;
}

.vl-cta .vl-btn{margin:auto}

.vl-footer{
  padding:35px 34px;
  background:#010704;
  border-top:1px solid rgba(47,247,170,.07);
}

.vl-footer-inner{
  width:min(1180px,100%);
  margin:auto;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:30px;
}

.vl-footer-brand{
  display:flex;
  align-items:center;
  gap:15px;
}

.vl-footer-brand img{
  width:auto;height:54px;
  max-width:150px;
  object-fit:contain;
}

.vl-footer-brand p{
  margin:0;
  color:#4d6d5d;
  font-size:9px;
}

.vl-footer-links{
  display:flex;
  gap:20px;
}

.vl-footer-links a{
  color:#678678;
  font-size:9px;
}

.vl-footer-links a:hover{color:#29e79d}

.vl-footer-inner>span{
  justify-self:end;
  color:#355144;
  font-size:8px;
}

@media(max-width:980px){
  .vl-header-inner{
    grid-template-columns:170px 1fr 160px;
  }
  .vl-nav a{padding-inline:11px}
  .vl-section-heading{grid-template-columns:1fr;gap:24px}
}

@media(max-width:820px){
  .vl-header{padding:18px 18px 0}
  .vl-header-inner{
    display:flex;
    justify-content:space-between;
    min-height:64px;
    padding:8px 10px 8px 14px;
  }
  .vl-brand img{height:45px}
  .vl-login{display:none}
  .vl-menu-btn{
    width:44px;height:44px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    border:1px solid rgba(47,247,170,.13);
    border-radius:11px;
    background:rgba(4,30,18,.44);
  }
  .vl-menu-btn span{
    display:block;width:18px;height:1.5px;
    background:#8cd2b2;
  }
  .vl-nav{
    position:absolute;
    top:77px;left:12px;right:12px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    padding:10px;
    background:rgba(2,14,8,.97);
    border-color:rgba(47,247,170,.14);
  }
  .vl-nav.open{display:flex}
  .vl-nav a{text-align:center}
  .vl-hero{padding-inline:20px}
  .vl-side-note{display:none}
  .vl-card-grid,.vl-updates{grid-template-columns:1fr}
  .vl-footer-inner{grid-template-columns:1fr;text-align:center}
  .vl-footer-brand,.vl-footer-links{justify-content:center}
  .vl-footer-inner>span{justify-self:center}
}

@media(max-width:560px){
  .vl-hero{padding-top:130px;min-height:100svh}
  .vl-hero-logo{width:175px;height:130px}
  .vl-hero h1{font-size:43px}
  .vl-hero-content>p{font-size:12px}
  .vl-actions{width:100%;flex-direction:column}
  .vl-btn{width:100%}
  .vl-status-row{gap:13px;padding:12px 14px}
  .vl-status-divider{display:none}
  .vl-status-item small{font-size:6px}
  .vl-status-item strong{font-size:8px}
  .vl-section{padding:82px 20px}
  .vl-section-heading h2,.vl-cta h2{font-size:40px}
  .vl-footer{padding-inline:20px}
  .vl-footer-links{flex-wrap:wrap}
}


/* ==========================================================
   Staff: startsidans bakgrundsbild
   ========================================================== */
.home-bg-manager{
  display:grid;
  grid-template-columns:minmax(260px,.85fr) minmax(280px,1.15fr);
  gap:22px;
  align-items:start;
}
.home-bg-preview{
  position:relative;
  min-height:230px;
  overflow:hidden;
  border:1px solid rgba(52,211,153,.14);
  border-radius:15px;
  background:#03110b;
}
.home-bg-preview img{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.home-bg-preview:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(1,10,6,.05),rgba(1,10,6,.42));
}
.home-bg-preview-badge{
  position:absolute;
  z-index:2;
  left:14px;
  bottom:14px;
  padding:7px 10px;
  border:1px solid rgba(52,211,153,.22);
  border-radius:999px;
  background:rgba(2,13,8,.78);
  color:#80e9bb;
  font-size:8px;
  font-weight:800;
  letter-spacing:.08em;
  backdrop-filter:blur(10px);
}
.home-bg-upload-panel{
  display:flex;
  flex-direction:column;
  gap:13px;
}
.home-bg-upload-panel p{
  margin:0;
  color:#718b7d;
  font-size:11px;
  line-height:1.65;
}
.home-bg-file{
  position:relative;
  display:flex!important;
  flex-direction:column;
  gap:8px;
  padding:14px;
  border:1px dashed rgba(52,211,153,.22);
  border-radius:12px;
  background:rgba(16,185,129,.025);
}
.home-bg-file input[type="file"]{
  width:100%;
  padding:10px!important;
  cursor:pointer;
}
.home-bg-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.home-bg-meta{
  min-height:18px;
  color:#5f7c6d;
  font-size:9px;
}
@media(max-width:800px){
  .home-bg-manager{grid-template-columns:1fr}
  .home-bg-preview{min-height:190px}
}


/* ==========================================================
   VEYRA LANDING — GEMENSAM HEADER/FOOTER + UTBYTBAR BAKGRUND
   ========================================================== */
.veyra-landing-page{
  --site-green:#18e99a;
  --site-green-2:#35f6ad;
  --site-bg:#020a06;
  --site-line:rgba(53,246,173,.13);
  position:relative;
  min-height:100vh;
  background:#020a06!important;
}
.veyra-landing-page::before{
  content:"";
  position:fixed;
  z-index:-3;
  inset:0;
  background-image:url('/api/home-hero-image');
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  filter:saturate(.72) brightness(.33) contrast(1.05);
  transform:scale(1.03);
}
.veyra-landing-page::after{
  content:"";
  position:fixed;
  z-index:-2;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 25%,rgba(9,104,67,.20),transparent 34%),
    linear-gradient(180deg,rgba(1,8,5,.78) 0%,rgba(1,9,6,.68) 45%,rgba(1,7,4,.94) 100%);
}
.veyra-landing-page .veyra-site-header{
  position:fixed;
  inset:0 0 auto;
  z-index:60;
  height:82px;
  background:rgba(2,10,6,.42);
  border-bottom:1px solid rgba(53,246,173,.07);
  backdrop-filter:blur(16px);
}
.veyra-landing-page .veyra-site-header.scrolled{
  background:rgba(2,10,6,.86);
  border-color:var(--site-line);
}
.veyra-landing-page .veyra-site-header .nav{gap:28px}
.veyra-landing-page .veyra-site-header .brand{height:54px;min-width:150px}
.veyra-landing-page .veyra-brand-logo{
  display:block;
  width:auto;
  height:48px;
  max-width:170px;
  object-fit:contain;
  filter:drop-shadow(0 8px 24px rgba(24,233,154,.17));
}
.veyra-landing-page .veyra-site-header .nav nav{gap:7px}
.veyra-landing-page .veyra-site-header .nav nav a{
  padding:10px 12px;
  border:1px solid transparent;
  border-radius:10px;
  color:#8fa99d;
  font-size:10px;
  font-weight:700;
  letter-spacing:.02em;
}
.veyra-landing-page .veyra-site-header .nav nav a:hover,
.veyra-landing-page .veyra-site-header .nav nav a.active-nav{
  color:#b9f9dc!important;
  border-color:rgba(53,246,173,.17);
  background:rgba(24,233,154,.06);
}
.veyra-landing-page .veyra-login{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:136px;
  border:1px solid rgba(53,246,173,.26)!important;
  border-radius:11px;
  background:rgba(7,67,43,.16)!important;
  color:#baf9dc!important;
}
.veyra-landing-page .veyra-login:hover{
  color:#011109!important;
  background:var(--site-green)!important;
  border-color:var(--site-green)!important;
}
.veyra-login-dot{
  width:7px;height:7px;border-radius:50%;
  background:var(--site-green);
  box-shadow:0 0 12px rgba(24,233,154,.85);
}
.veyra-landing-page .home-hero,
.veyra-landing-page .vl-hero{
  background:transparent!important;
}
/* Den uppladdade bilden är huvudbakgrunden. Hero får bara en extra mörk läsbarhetsyta. */
.veyra-landing-page .vl-hero-bg{
  background-image:none!important;
  opacity:0;
}
.veyra-landing-page .vl-overlay{
  background:
    radial-gradient(circle at 50% 40%,rgba(5,89,57,.10),transparent 32%),
    linear-gradient(180deg,rgba(1,8,5,.10),rgba(1,8,5,.16) 45%,rgba(1,7,4,.80) 100%);
}
.veyra-landing-page .vl-section,
.veyra-landing-page .vl-news-section,
.veyra-landing-page .vl-cta{
  background:rgba(2,10,6,.60)!important;
  backdrop-filter:blur(1px);
}
.veyra-landing-page .vl-section{border-top-color:rgba(53,246,173,.08)}
.veyra-landing-page .vl-footer{
  display:none;
}
.veyra-landing-page .veyra-site-footer{
  display:block;
  position:relative;
  z-index:5;
  background:rgba(1,7,4,.94);
  border-top:1px solid rgba(53,246,173,.09);
}
.veyra-landing-page .veyra-site-footer .footer-links b{color:#4ea982}
.veyra-landing-page .veyra-site-footer .footer-links a{color:#7b9d8e}
.veyra-landing-page .veyra-site-footer .footer-links a:hover{color:#35f6ad}
.veyra-landing-page .veyra-site-footer p{color:#617e70}
.veyra-landing-page .veyra-site-footer .copyright{color:#3d5d4e;border-color:rgba(53,246,173,.08)}
.veyra-landing-page .veyra-site-footer .veyra-brand-logo{height:55px}

/* Samma riktiga logga i den gemensamma headern på Regler/Nyheter. */
.rules-emerald-remake .brand .veyra-brand-logo,
.news-emerald-remake .brand .veyra-brand-logo{
  width:auto;
  height:48px;
  max-width:165px;
  object-fit:contain;
  filter:drop-shadow(0 7px 20px rgba(24,233,154,.14));
}
.rules-emerald-remake .brand.footer-brand .veyra-brand-logo,
.news-emerald-remake .brand.footer-brand .veyra-brand-logo{height:54px}

@media(max-width:900px){
  .veyra-landing-page .veyra-site-header .nav nav.open{
    background:rgba(2,13,8,.97);
    border:1px solid rgba(53,246,173,.14);
  }
}
