*{box-sizing:border-box;margin:0;padding:0}
:root{--bg:#080b12;--panel:rgba(255,255,255,.045);--border:rgba(255,255,255,.08);--text:#fff;--muted:rgba(255,255,255,.55);--blue:#4a8cff;--green:#35ff8a;--red:#ff4a6a}
body{font-family:Inter,sans-serif;min-height:100vh;background:#080b12;color:white;padding:22px}
.bg{position:fixed;inset:0;background:radial-gradient(ellipse at 20% 20%,rgba(26,92,255,.16),transparent 45%),radial-gradient(ellipse at 80% 80%,rgba(74,140,255,.08),transparent 50%);z-index:-1}
.topbar{max-width:1180px;margin:0 auto 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid var(--border);background:rgba(255,255,255,.035);backdrop-filter:blur(18px);border-radius:24px}
.brand{font-weight:900;font-size:1.4rem;letter-spacing:1px}.brand span{font-size:.65rem;color:var(--blue);margin-left:8px;letter-spacing:3px}
nav{display:flex;gap:8px;flex-wrap:wrap}.nav-btn,.login-btn,.primary,.secondary,.tab{border:1px solid var(--border);background:rgba(255,255,255,.05);color:rgba(255,255,255,.82);border-radius:999px;padding:10px 16px;font-weight:700;cursor:pointer;transition:.25s}
.nav-btn:hover,.nav-btn.active,.login-btn:hover,.secondary:hover,.tab.active{border-color:rgba(74,140,255,.5);background:rgba(74,140,255,.13);color:white}
main{max-width:1180px;margin:0 auto}.view{display:none}.view.active{display:block}
.hero-card,.panel{background:var(--panel);border:1px solid var(--border);border-radius:36px;box-shadow:0 22px 70px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.06);backdrop-filter:blur(20px)}
.hero-card{min-height:560px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:52px}
.logo{font-size:clamp(5rem,16vw,10rem);font-weight:900;color:var(--blue);text-shadow:0 0 55px rgba(74,140,255,.22);line-height:.9}
.subtitle{margin-top:16px;letter-spacing:8px;text-transform:uppercase;color:rgba(255,255,255,.28);font-size:.8rem}.description{margin:24px auto;max-width:600px;line-height:1.7;color:var(--muted);font-size:1.08rem}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.primary{background:var(--blue);border-color:var(--blue);color:white;box-shadow:0 10px 30px rgba(26,92,255,.25)}.primary:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(26,92,255,.35)}.secondary:hover{transform:translateY(-2px)}
.small-note{margin-top:14px;color:rgba(255,255,255,.35);font-size:.86rem}.grid.two{display:grid;grid-template-columns:1fr 1.2fr;gap:18px}.panel{padding:28px}.panel.wide{grid-column:1/-1}
h2{margin-bottom:18px;font-size:1.4rem}.muted{color:var(--muted);line-height:1.6}
.cards-list,.updates-list,.table-list{display:grid;gap:12px}.license-card,.update-card,.row-card{border:1px solid var(--border);background:rgba(0,0,0,.22);border-radius:20px;padding:16px}
.badge{display:inline-flex;border-radius:999px;padding:4px 10px;font-size:.75rem;font-weight:800}.ok{background:rgba(53,255,138,.12);color:var(--green);border:1px solid rgba(53,255,138,.2)}.bad{background:rgba(255,74,106,.12);color:var(--red);border:1px solid rgba(255,74,106,.2)}.warn{background:rgba(255,190,80,.12);color:#ffbe50;border:1px solid rgba(255,190,80,.2)}
.admin-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form{display:grid;gap:10px}input,textarea{width:100%;background:rgba(0,0,0,.35);border:1px solid var(--border);border-radius:16px;padding:13px 15px;color:white;font-family:Inter,sans-serif;outline:none}textarea{min-height:120px;resize:vertical}input:focus,textarea:focus{border-color:rgba(74,140,255,.55)}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.section-head h2{margin:0}.row-card{display:grid;grid-template-columns:1.2fr .8fr .8fr auto;gap:12px;align-items:center}.actions{display:flex;gap:8px;flex-wrap:wrap}.mini{padding:7px 10px;border-radius:10px;border:1px solid var(--border);background:rgba(255,255,255,.05);color:white;cursor:pointer}.mini.red{border-color:rgba(255,74,106,.28);color:#ff8aa0}
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.stat{padding:16px;border:1px solid var(--border);border-radius:18px;background:rgba(0,0,0,.22)}.stat b{display:block;font-size:1.7rem;color:var(--blue)}
.hidden{display:none!important}.modal{position:fixed;inset:0;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;padding:22px;z-index:50}.modal-card{max-width:460px;width:100%;background:rgba(12,16,26,.94);border:1px solid var(--border);border-radius:28px;padding:28px;position:relative;box-shadow:0 30px 90px rgba(0,0,0,.6)}.x{position:absolute;right:16px;top:14px;background:none;border:0;color:white;font-size:1.8rem;cursor:pointer}.full{width:100%;margin-top:10px}.tabs{display:flex;gap:8px;margin-bottom:20px}.auth-tab{display:none}.auth-tab.active{display:grid;gap:10px}.check{color:var(--muted);display:flex;gap:8px;align-items:center}.check input{width:auto}
.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(30px);opacity:0;background:rgba(20,25,38,.9);border:1px solid var(--border);border-radius:16px;padding:13px 20px;transition:.25s;z-index:60}.toast.show{opacity:1;transform:translateX(-50%)}
@media(max-width:850px){.topbar{flex-direction:column;align-items:flex-start}.grid.two,.admin-layout{grid-template-columns:1fr}.row-card{grid-template-columns:1fr}.hero-card{padding:34px 22px;min-height:480px}.section-head{flex-direction:column;align-items:stretch}}


/* v2 smooth polish */
html{scroll-behavior:smooth}
body{overflow-x:hidden}
.bg::before,.bg::after{content:"";position:absolute;border-radius:999px;filter:blur(36px);opacity:.42;animation:floatGlow 12s ease-in-out infinite}
.bg::before{width:360px;height:360px;left:8%;top:14%;background:rgba(74,140,255,.12)}
.bg::after{width:420px;height:420px;right:6%;bottom:6%;background:rgba(26,92,255,.08);animation-delay:-5s}
@keyframes floatGlow{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(24px,-18px,0) scale(1.06)}}

.view{animation:fadeSlide .34s ease both}
@keyframes fadeSlide{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}

.topbar,.hero-card,.panel,.modal-card{transition:border-color .28s ease,box-shadow .28s ease,transform .28s ease,background .28s ease}
.hero-card:hover,.panel:hover{border-color:rgba(74,140,255,.18);box-shadow:0 26px 82px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.08)}
.brand span{display:none}
.hero-card{min-height:500px}
.logo{margin-bottom:26px}
.hero-actions{margin-top:4px}

.modal{backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);animation:modalFade .18s ease both}
.modal-card{border-radius:34px;padding:30px;background:linear-gradient(180deg,rgba(15,20,34,.96),rgba(7,10,18,.94));overflow:hidden}
.modal-card::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 25% 0%,rgba(74,140,255,.17),transparent 38%),radial-gradient(circle at 85% 85%,rgba(74,140,255,.08),transparent 44%);pointer-events:none}
.modal-card>*{position:relative}
@keyframes modalFade{from{opacity:0}to{opacity:1}}

.tabs{background:rgba(255,255,255,.045);padding:6px;border-radius:999px;border:1px solid rgba(255,255,255,.07)}
.tab{flex:1;padding:11px 10px;background:transparent;border-color:transparent}
.tab.active{background:#1a5cff;border-color:#1a5cff;box-shadow:0 8px 26px rgba(26,92,255,.26)}

.auth-tab{animation:authIn .24s ease both}
@keyframes authIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.auth-icon{width:54px;height:54px;border-radius:18px;margin:2px auto 4px;display:grid;place-items:center;color:white;font-weight:900;font-size:1.25rem;background:rgba(74,140,255,.16);border:1px solid rgba(74,140,255,.25);box-shadow:0 0 30px rgba(74,140,255,.16)}
.auth-tab h2{text-align:center;margin-bottom:4px;font-size:1.55rem}
.auth-sub{text-align:center;color:rgba(255,255,255,.45);font-size:.9rem;line-height:1.5;margin-bottom:10px}

input,textarea{transition:border-color .22s ease,box-shadow .22s ease,background .22s ease,transform .22s ease}
input:focus,textarea:focus{box-shadow:0 0 0 4px rgba(74,140,255,.09);background:rgba(0,0,0,.42)}
.primary,.secondary,.login-btn,.nav-btn,.mini{will-change:transform}
.primary:active,.secondary:active,.login-btn:active,.nav-btn:active,.mini:active{transform:scale(.97)}

.toast{box-shadow:0 18px 60px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.07);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}


/* Markdown editor for updates */
.editor-toolbar{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  padding:8px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
  background:rgba(0,0,0,.2);
}

.editor-toolbar button{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.05);
  color:rgba(255,255,255,.82);
  border-radius:12px;
  padding:8px 11px;
  font-weight:800;
  cursor:pointer;
  transition:.22s ease;
}

.editor-toolbar button:hover{
  background:rgba(74,140,255,.16);
  border-color:rgba(74,140,255,.45);
  color:#fff;
  transform:translateY(-1px);
}

.editor-preview-title{
  color:rgba(255,255,255,.28);
  text-transform:uppercase;
  letter-spacing:3px;
  font-size:.68rem;
  font-weight:800;
  margin-top:4px;
}

.preview-box{
  min-height:110px;
  border:1px solid rgba(255,255,255,.07);
  background:rgba(0,0,0,.23);
  border-radius:18px;
  padding:16px;
}

.markdown-body{
  color:rgba(255,255,255,.68);
  line-height:1.7;
  overflow-wrap:anywhere;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3{
  color:#fff;
  line-height:1.25;
  margin:8px 0 10px;
}

.markdown-body h1{font-size:1.45rem}
.markdown-body h2{font-size:1.25rem}
.markdown-body h3{font-size:1.08rem}

.markdown-body p{margin:7px 0}
.markdown-body strong{color:#fff;font-weight:900}
.markdown-body em{color:rgba(255,255,255,.82)}
.markdown-body a{color:#4a8cff;text-decoration:none;border-bottom:1px solid rgba(74,140,255,.35)}
.markdown-body a:hover{border-bottom-color:#4a8cff}
.markdown-body ul{padding-left:22px;margin:8px 0}
.markdown-body li{margin:4px 0}
.markdown-body blockquote{
  margin:10px 0;
  padding:10px 14px;
  border-left:3px solid #4a8cff;
  background:rgba(74,140,255,.09);
  border-radius:12px;
  color:rgba(255,255,255,.76);
}

.markdown-body code{
  background:rgba(74,140,255,.13);
  border:1px solid rgba(74,140,255,.18);
  color:#bcd3ff;
  padding:2px 6px;
  border-radius:8px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.88em;
}

.markdown-body pre{
  margin:10px 0;
  padding:14px;
  border-radius:16px;
  background:rgba(0,0,0,.42);
  border:1px solid rgba(255,255,255,.07);
  overflow:auto;
}

.markdown-body pre code{
  padding:0;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.82);
}


/* HWID privacy */
.hwid-secret{
  display:inline-flex;
  align-items:center;
  gap:8px;
  max-width:100%;
  vertical-align:middle;
}

.hwid-value{
  display:inline-block;
  max-width:min(520px, 62vw);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-weight:800;
  letter-spacing:.2px;
  padding:4px 8px;
  border-radius:10px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.07);
  color:rgba(255,255,255,.82);
}

.hwid-secret[data-hidden="1"] .hwid-value{
  filter:blur(3.2px);
  user-select:none;
}

.hwid-eye{
  width:30px;
  height:30px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.055);
  color:#fff;
  cursor:pointer;
  display:inline-grid;
  place-items:center;
  transition:.22s ease;
  flex:0 0 auto;
}

.hwid-eye:hover{
  background:rgba(74,140,255,.16);
  border-color:rgba(74,140,255,.42);
  transform:translateY(-1px);
}

.login-btn.is-logged{
  border-color:rgba(255,255,255,.1);
}


/* Admin account nickname menu */
.account-actions-wrap{
  position:relative;
  display:inline-block;
  max-width:100%;
}

.nick-action{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(74,140,255,.24);
  background:rgba(74,140,255,.09);
  color:#fff;
  border-radius:14px;
  padding:8px 12px;
  font-weight:900;
  cursor:pointer;
  transition:.22s ease;
  max-width:100%;
}

.nick-action:hover{
  background:rgba(74,140,255,.18);
  border-color:rgba(74,140,255,.48);
  transform:translateY(-1px);
}

.nick-arrow{
  color:rgba(255,255,255,.55);
  font-size:.78rem;
}

.account-menu{
  position:absolute;
  left:0;
  top:calc(100% + 8px);
  min-width:220px;
  display:none;
  padding:8px;
  border-radius:18px;
  background:rgba(8,12,22,.992);
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 18px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  z-index:100000;
  animation:menuIn .18s ease both;
}

.account-menu.open{
  display:grid;
  gap:6px;
}

.account-menu button{
  width:100%;
  text-align:left;
  border:0;
  border-radius:12px;
  padding:10px 12px;
  background:transparent;
  color:rgba(255,255,255,.82);
  font-weight:750;
  cursor:pointer;
  transition:.18s ease;
}

.account-menu button:hover{
  background:rgba(74,140,255,.14);
  color:#fff;
}

.account-menu button.danger{
  color:#ff8aa0;
}

.account-menu button.danger:hover{
  background:rgba(255,74,106,.13);
  color:#ffb3c0;
}

@keyframes menuIn{
  from{opacity:0;transform:translateY(-5px) scale(.98)}
  to{opacity:1;transform:translateY(0) scale(1)}
}


/* Home social/action links */
.home-links{
  margin-top:24px;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}

.home-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:11px 16px;
  border-radius:999px;
  text-decoration:none;
  color:rgba(255,255,255,.72);
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.075);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
  transition:.24s ease;
  font-weight:800;
  font-size:.92rem;
}

.home-link:hover{
  color:#fff;
  background:rgba(74,140,255,.14);
  border-color:rgba(74,140,255,.42);
  box-shadow:0 10px 32px rgba(26,92,255,.14), inset 0 1px 0 rgba(255,255,255,.08);
  transform:translateY(-2px);
}

.home-link-icon{
  width:28px;
  height:28px;
  border-radius:12px;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:.9rem;
  background:rgba(74,140,255,.16);
  border:1px solid rgba(74,140,255,.24);
  box-shadow:0 0 20px rgba(74,140,255,.12);
  line-height:1;
}

.home-link-icon.yt{
  background:rgba(255,74,106,.14);
  border-color:rgba(255,74,106,.22);
}

.home-link-icon.sup{
  background:rgba(53,255,138,.10);
  border-color:rgba(53,255,138,.18);
}

.home-link-icon.idea{
  background:rgba(255,190,80,.12);
  border-color:rgba(255,190,80,.20);
}

/* Themed HWID eye button */
.hwid-eye{
  width:34px;
  height:34px;
  border-radius:13px;
  border:1px solid rgba(74,140,255,.22);
  background:linear-gradient(180deg, rgba(74,140,255,.12), rgba(255,255,255,.04));
  color:#fff;
  cursor:pointer;
  display:inline-grid;
  place-items:center;
  transition:.22s ease;
  flex:0 0 auto;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 rgba(74,140,255,0);
}

.hwid-eye:hover{
  background:rgba(74,140,255,.18);
  border-color:rgba(74,140,255,.45);
  box-shadow:0 8px 22px rgba(26,92,255,.16), inset 0 1px 0 rgba(255,255,255,.08);
  transform:translateY(-1px);
}

.eye-glyph{
  position:relative;
  width:19px;
  height:12px;
  border:2px solid rgba(255,255,255,.9);
  border-radius:70% 70% 70% 70% / 90% 90% 90% 90%;
  transform:rotate(-2deg);
  display:block;
}

.eye-pupil{
  position:absolute;
  left:50%;
  top:50%;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#4a8cff;
  box-shadow:0 0 12px rgba(74,140,255,.65);
  transform:translate(-50%, -50%);
}

.eye-slash{
  position:absolute;
  left:50%;
  top:50%;
  width:25px;
  height:2px;
  border-radius:99px;
  background:#ff8aa0;
  box-shadow:0 0 10px rgba(255,74,106,.35);
  transform:translate(-50%, -50%) rotate(-42deg);
  opacity:1;
  transition:.2s ease;
}

.hwid-eye[data-state="visible"] .eye-slash{
  opacity:0;
  transform:translate(-50%, -50%) rotate(-42deg) scaleX(.45);
}

.hwid-eye[data-state="visible"]{
  border-color:rgba(53,255,138,.28);
  background:linear-gradient(180deg, rgba(53,255,138,.11), rgba(255,255,255,.04));
}

.hwid-eye[data-state="visible"] .eye-pupil{
  background:#35ff8a;
  box-shadow:0 0 12px rgba(53,255,138,.55);
}

@media(max-width:650px){
  .home-links{
    gap:9px;
  }

  .home-link{
    padding:10px 13px;
    font-size:.84rem;
  }
}


/* Reference-style homepage links */
.hero-actions{
  margin-bottom:0;
}

.hero-actions .secondary{
  display:none !important;
}

.home-divider{
  width:60px;
  height:1.5px;
  background:linear-gradient(90deg, transparent, rgba(26,92,255,.25), transparent);
  margin:28px auto 24px;
  border-radius:4px;
}

.home-social-section,
.home-support-section{
  text-align:center;
}

.home-label{
  font-size:.65rem;
  font-weight:800;
  letter-spacing:4px;
  text-transform:uppercase;
  color:rgba(255,255,255,.16);
  margin-bottom:16px;
}

.home-pill-links{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
}

.home-pill-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:142px;
  justify-content:center;
  background:rgba(255,255,255,.045);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.065);
  padding:10px 22px;
  border-radius:40px;
  color:rgba(255,255,255,.56);
  text-decoration:none;
  font-size:.9rem;
  font-weight:700;
  transition:.28s ease;
  box-shadow:0 2px 12px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.035);
}

.home-pill-link i{
  font-size:1.12rem;
  color:rgba(74,140,255,.42);
  transition:.28s ease;
}

.home-pill-link:hover{
  background:#1a5cff;
  border-color:#1a5cff;
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 8px 28px rgba(26,92,255,.24);
}

.home-pill-link:hover i{
  color:#fff;
}

.home-support-section{
  margin-top:0;
}

.home-support-links{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:18px 34px;
}

.home-support-link{
  color:rgba(255,255,255,.38);
  text-decoration:none;
  font-size:.92rem;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:10px;
  transition:.25s ease;
  padding:4px 0;
  border-bottom:1.5px solid transparent;
}

.home-support-link i{
  font-size:1rem;
  color:rgba(74,140,255,.48);
  transition:.25s ease;
}

.home-support-link:hover{
  color:#4a8cff;
  border-bottom-color:rgba(74,140,255,.18);
}

.home-support-link:hover i{
  color:#4a8cff;
  transform:translateY(-1px);
}

/* Disable old app icon grid visual if old classes remain anywhere */
.app-link-grid,
.home-links{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.app-link{
  min-height:auto !important;
  flex-direction:row !important;
  border-radius:40px !important;
}

@media(max-width:600px){
  .home-pill-link{
    min-width:0;
    width:100%;
  }

  .home-pill-links{
    max-width:270px;
    margin:0 auto;
  }

  .home-support-links{
    flex-direction:column;
    align-items:center;
    gap:12px;
  }
}


/* Clickable SQL logo */
.brand-link,
.logo-link{
  text-decoration:none;
  color:inherit;
  cursor:pointer;
}

.brand-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  transition:.25s ease;
}

.brand-link:hover{
  color:#6ea3ff;
  text-shadow:0 0 24px rgba(74,140,255,.34);
  transform:translateY(-1px);
}

.logo-link{
  display:inline-block;
  color:#4a8cff;
  transition:.28s ease;
}

.logo-link:hover{
  color:#6ea3ff;
  text-shadow:0 0 70px rgba(74,140,255,.34), 0 0 22px rgba(74,140,255,.22);
  transform:translateY(-2px) scale(1.015);
}

/* Smooth interactive background */
body{
  position:relative;
  overflow-x:hidden;
}

.bg{
  transition:background .35s ease;
}

.bg::before{
  content:"";
  position:absolute;
  inset:-20%;
  pointer-events:none;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(74,140,255,.13), transparent 260px),
    radial-gradient(circle at calc(var(--mx, 50%) + 170px) calc(var(--my, 50%) + 120px), rgba(26,92,255,.07), transparent 300px);
  opacity:.9;
  transition:opacity .3s ease;
}

.cursor-glow{
  position:fixed;
  left:0;
  top:0;
  width:420px;
  height:420px;
  pointer-events:none;
  z-index:-1;
  border-radius:999px;
  background:
    radial-gradient(circle, rgba(74,140,255,.16) 0%, rgba(26,92,255,.08) 32%, transparent 68%);
  filter:blur(22px);
  opacity:.65;
  mix-blend-mode:screen;
  will-change:transform;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:radial-gradient(circle at var(--mx, 50%) var(--my, 50%), black 0 260px, transparent 520px);
  opacity:.45;
  transition:opacity .25s ease;
}

.hero-card,
.panel,
.topbar{
  position:relative;
}

.hero-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(74,140,255,.09), transparent 360px);
  opacity:.55;
  transition:opacity .25s ease;
}

.hero-card > *,
.panel > *,
.topbar > *{
  position:relative;
  z-index:1;
}

@media (hover:none){
  .cursor-glow{
    display:none;
  }
}

/* Highlight subscription panel after selecting account */
.pulse-license{
  animation:pulseLicensePanel 1.2s ease both;
}

@keyframes pulseLicensePanel{
  0%,100%{border-color:rgba(255,255,255,.08);box-shadow:0 22px 70px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.06)}
  35%{border-color:rgba(74,140,255,.65);box-shadow:0 0 0 4px rgba(74,140,255,.12),0 26px 82px rgba(0,0,0,.52),0 0 40px rgba(74,140,255,.20),inset 0 1px 0 rgba(255,255,255,.10)}
}


/* Subscription issue panel — improved */
.license-issue-panel{
  position:relative;
  overflow:hidden;
  border-color:rgba(74,140,255,.18);
  background:
    radial-gradient(circle at 15% 0%, rgba(74,140,255,.14), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.032));
}

.license-issue-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size:34px 34px;
  mask-image:radial-gradient(circle at 25% 0%, black 0 220px, transparent 520px);
  opacity:.6;
}

.license-issue-panel > *{
  position:relative;
  z-index:1;
}

.license-issue-head{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:20px;
}

.license-issue-icon{
  width:54px;
  height:54px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(74,140,255,.95), rgba(26,92,255,.72));
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  box-shadow:0 16px 40px rgba(26,92,255,.23), inset 0 1px 0 rgba(255,255,255,.22);
}

.license-issue-head h2{
  margin:0 0 4px;
}

.license-issue-head p{
  margin:0;
  color:rgba(255,255,255,.45);
  line-height:1.45;
  font-size:.92rem;
}

.license-form-pro{
  display:grid;
  gap:13px;
}

.license-grid-pro{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.license-field{
  display:grid;
  gap:7px;
}

.license-field span{
  color:rgba(255,255,255,.62);
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.35px;
  text-transform:uppercase;
}

.license-field input{
  background:rgba(0,0,0,.33);
  border-color:rgba(255,255,255,.085);
}

.license-field input:focus{
  border-color:rgba(74,140,255,.62);
  box-shadow:0 0 0 4px rgba(74,140,255,.1), 0 12px 30px rgba(0,0,0,.18);
}

.license-presets{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.license-presets button{
  border:1px solid rgba(74,140,255,.20);
  background:rgba(74,140,255,.075);
  color:rgba(255,255,255,.76);
  border-radius:999px;
  padding:8px 12px;
  font-weight:850;
  cursor:pointer;
  transition:.2s ease;
}

.license-presets button:hover{
  background:rgba(74,140,255,.18);
  border-color:rgba(74,140,255,.46);
  color:#fff;
  transform:translateY(-1px);
}

.license-submit{
  width:100%;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:9px;
  margin-top:2px;
}

.account-row{
  grid-template-columns:1.4fr .65fr .7fr;
}


.pulse-license{
  animation:pulseLicensePanel 1.15s ease both;
}

@keyframes pulseLicensePanel{
  0%,100%{box-shadow:0 22px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06)}
  35%{box-shadow:0 0 0 4px rgba(74,140,255,.18), 0 28px 90px rgba(26,92,255,.22), inset 0 1px 0 rgba(255,255,255,.1)}
}

@media(max-width:850px){
  .license-grid-pro,
  .account-row{
    grid-template-columns:1fr;
  }
}


/* Imported premium subscription issue styling */
/* Beautiful subscription issue panel */
.license-issue-panel{
  position:relative;
  overflow:hidden;
  border-color:rgba(74,140,255,.12);
}

.license-issue-panel::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(circle at 15% 0%, rgba(74,140,255,.16), transparent 32%),
    radial-gradient(circle at 90% 80%, rgba(74,140,255,.08), transparent 38%);
  pointer-events:none;
}

.license-issue-panel > *{
  position:relative;
  z-index:1;
}

.license-issue-head{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:22px;
}

.license-issue-head h2{
  margin:0 0 5px;
}

.license-issue-head p{
  margin:0;
  color:rgba(255,255,255,.42);
  line-height:1.45;
  font-size:.92rem;
}

.license-issue-icon{
  width:54px;
  height:54px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.2), transparent 30%),
    linear-gradient(180deg, rgba(74,140,255,.95), rgba(26,92,255,.72));
  border:1px solid rgba(255,255,255,.12);
  color:white;
  box-shadow:0 0 32px rgba(74,140,255,.22), inset 0 1px 0 rgba(255,255,255,.22);
}

.license-steps{
  display:grid;
  gap:15px;
}

.license-step{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:13px;
  align-items:start;
}

.step-num{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:rgba(74,140,255,.11);
  border:1px solid rgba(74,140,255,.18);
  color:#8fb6ff;
  font-size:.74rem;
  font-weight:900;
}

.license-field{
  display:grid;
  gap:7px;
}

.license-field label,
.duration-head label{
  color:rgba(255,255,255,.72);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.3px;
}

.license-field input,
.license-field textarea,
.duration-head input{
  width:100%;
  background:rgba(0,0,0,.34);
  border:1px solid rgba(255,255,255,.075);
  color:#fff;
  border-radius:16px;
  padding:13px 14px;
  outline:none;
  transition:.22s ease;
  font-family:Inter, sans-serif;
}

.license-field input:focus,
.license-field textarea:focus,
.duration-head input:focus{
  border-color:rgba(74,140,255,.55);
  box-shadow:0 0 0 4px rgba(74,140,255,.085);
  background:rgba(0,0,0,.42);
}

.lic-hwid-input{
  min-height:82px;
  resize:vertical;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace !important;
  font-size:.86rem;
  line-height:1.5;
}

.license-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.duration-box{
  display:grid;
  gap:12px;
  width:100%;
}

.duration-head{
  display:grid;
  grid-template-columns:1fr 116px;
  gap:12px;
  align-items:center;
}

.duration-head span{
  display:block;
  margin-top:5px;
  color:rgba(255,255,255,.32);
  font-size:.78rem;
}

.duration-presets{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.duration-presets button{
  border:1px solid rgba(255,255,255,.075);
  background:rgba(255,255,255,.045);
  color:rgba(255,255,255,.64);
  border-radius:999px;
  padding:9px 12px;
  font-weight:900;
  cursor:pointer;
  transition:.22s ease;
}

.duration-presets button:hover{
  color:#fff;
  border-color:rgba(74,140,255,.36);
  background:rgba(74,140,255,.12);
  transform:translateY(-1px);
}

.duration-presets button.active{
  color:#fff;
  background:#1a5cff;
  border-color:#1a5cff;
  box-shadow:0 8px 28px rgba(26,92,255,.24);
}

.license-preview{
  margin-top:18px;
  border:1px solid rgba(74,140,255,.16);
  background:
    radial-gradient(circle at 15% 0%, rgba(74,140,255,.12), transparent 42%),
    rgba(0,0,0,.24);
  border-radius:22px;
  padding:16px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}

.preview-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.preview-top b{
  color:#8fb6ff;
  font-size:.92rem;
}

.preview-main{
  display:grid;
  gap:5px;
}

.preview-main span{
  color:#fff;
  font-weight:900;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.preview-main small{
  color:rgba(255,255,255,.42);
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.license-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

.license-actions .primary,
.license-actions .secondary{
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.soft-secondary{
  background:rgba(255,255,255,.045);
  border-color:rgba(255,255,255,.075);
}

.pulse-license{
  animation:pulseLicense 1.2s ease;
}

@keyframes pulseLicense{
  0%,100%{box-shadow:0 22px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06)}
  35%{box-shadow:0 0 0 4px rgba(74,140,255,.16), 0 24px 80px rgba(26,92,255,.16), inset 0 1px 0 rgba(255,255,255,.08)}
}

@media(max-width:780px){
  .license-grid,
  .duration-head{
    grid-template-columns:1fr;
  }

  .license-step{
    grid-template-columns:1fr;
  }

  .step-num{
    display:none;
  }
}


/* Clean license issue layout: no 01/02/03 steps */
.license-step{
  display:block !important;
  grid-template-columns:1fr !important;
}

.step-num{
  display:none !important;
}

.license-issue-icon{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,.28), transparent 34%),
    linear-gradient(145deg, rgba(74,140,255,1), rgba(26,92,255,.72));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:
    0 0 34px rgba(74,140,255,.26),
    0 10px 32px rgba(26,92,255,.18),
    inset 0 1px 0 rgba(255,255,255,.24);
}

.license-issue-icon::after{
  content:"";
  position:absolute;
  inset:-35%;
  background:linear-gradient(120deg, transparent 25%, rgba(255,255,255,.20), transparent 58%);
  transform:translateX(-45%) rotate(12deg);
  opacity:.45;
}

.license-theme-icon{
  width:27px;
  height:27px;
  fill:#fff;
  filter:drop-shadow(0 3px 10px rgba(0,0,0,.28));
  position:relative;
  z-index:1;
}

.license-issue-head{
  align-items:flex-start;
}

.license-steps{
  gap:18px;
}


/* Minimal license issue icon */
.license-issue-icon-min,
.license-issue-icon{
  width:46px;
  height:46px;
  border-radius:16px;
  background:rgba(74,140,255,.085) !important;
  border:1px solid rgba(74,140,255,.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 0 0 1px rgba(255,255,255,.018),
    0 10px 26px rgba(0,0,0,.18) !important;
}

.license-issue-icon::after{
  display:none !important;
}

.license-theme-icon{
  width:24px;
  height:24px;
  fill:none !important;
  stroke:#6ea3ff;
  stroke-width:1.85;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 0 10px rgba(74,140,255,.28));
}

.license-issue-icon-min:hover{
  background:rgba(74,140,255,.12) !important;
  border-color:rgba(74,140,255,.36) !important;
}


/* Cabinet installer / buy card in cabinet */
.cabinet-download-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px;
  margin-bottom:14px;
  border:1px solid var(--border);
  border-radius:20px;
  background:rgba(0,0,0,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
  transition:border-color .24s ease, background .24s ease, transform .24s ease, box-shadow .24s ease;
}

.cabinet-download-card:hover{
  border-color:rgba(74,140,255,.42);
  background:rgba(0,0,0,.28);
  box-shadow:0 0 0 1px rgba(74,140,255,.06), 0 16px 42px rgba(26,92,255,.12), inset 0 1px 0 rgba(255,255,255,.06);
  transform:translateY(-1px);
}

.cabinet-download-main{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.cabinet-download-icon{
  width:38px;
  height:38px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:13px;
  color:#8fb6ff;
  background:rgba(74,140,255,.10);
  border:1px solid rgba(74,140,255,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055), 0 0 18px rgba(74,140,255,.08);
  transition:.24s ease;
}

.cabinet-download-card b{
  display:block;
  color:rgba(255,255,255,.94);
  margin-bottom:3px;
  font-size:1rem;
  transition:color .24s ease, text-shadow .24s ease;
}

.cabinet-download-card .small-note{
  margin-top:0;
  color:rgba(255,255,255,.52);
  font-size:.86rem;
  transition:color .24s ease;
}

.cabinet-download-card:hover b{
  color:#6ea3ff;
  text-shadow:0 0 18px rgba(74,140,255,.42);
}

.cabinet-download-card:hover .small-note{
  color:rgba(255,255,255,.72);
}

.cabinet-download-card:hover .cabinet-download-icon{
  color:#fff;
  border-color:rgba(74,140,255,.42);
  background:rgba(74,140,255,.16);
  box-shadow:0 0 22px rgba(74,140,255,.20), inset 0 1px 0 rgba(255,255,255,.08);
}

.cabinet-download-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  white-space:nowrap;
  min-width:168px;
  padding:10px 16px;
  border:1px solid rgba(255,255,255,.075);
  background:rgba(255,255,255,.045);
  color:rgba(255,255,255,.78);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}

.cabinet-download-btn:hover{
  background:rgba(74,140,255,.14);
  border-color:rgba(74,140,255,.46);
  color:#fff;
  box-shadow:0 8px 28px rgba(26,92,255,.18), inset 0 1px 0 rgba(255,255,255,.08);
}

.cabinet-buy-card .cabinet-download-icon{
  color:#8fb6ff;
  background:rgba(74,140,255,.10);
  border-color:rgba(74,140,255,.18);
}

.cabinet-buy-card .cabinet-download-btn{
  color:rgba(255,255,255,.78);
  background:rgba(255,255,255,.045);
  border-color:rgba(255,255,255,.075);
}

.cabinet-buy-card .cabinet-download-btn:hover{
  background:rgba(74,140,255,.14);
  border-color:rgba(74,140,255,.46);
  color:#fff;
}

@media(max-width:650px){
  .cabinet-download-card{
    align-items:stretch;
    flex-direction:column;
  }

  .cabinet-download-btn{
    width:100%;
    min-width:0;
  }
}


/* Custom rights style menu */
.role-inline-text{
  display:inline;
  font-weight:800;
  letter-spacing:.2px;
}
.rights-admin-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  padding:4px 10px;
  border:1px solid color-mix(in srgb, var(--rights-color) 58%, transparent);
  border-radius:999px;
  background:rgba(15,23,42,.56);
  color:var(--rights-color);
  font-size:12px;
  font-weight:850;
  letter-spacing:.18px;
  white-space:nowrap;
}
.rights-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(2,6,23,.72);
  backdrop-filter:blur(14px);
}
.rights-modal{
  width:min(460px,100%);
  border:1px solid rgba(34,211,238,.22);
  border-radius:24px;
  background:
    radial-gradient(circle at 15% 0%, rgba(34,211,238,.18), transparent 34%),
    linear-gradient(180deg, rgba(15,23,42,.98), rgba(2,6,23,.98));
  box-shadow:0 24px 80px rgba(0,0,0,.55),0 0 38px rgba(34,211,238,.13);
  color:#e5e7eb;
  overflow:hidden;
  animation:rightsModalIn .16s ease-out;
}
@keyframes rightsModalIn{
  from{opacity:0;transform:translateY(10px) scale(.98)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
.rights-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:20px 22px 14px;
  border-bottom:1px solid rgba(148,163,184,.12);
}
.rights-modal-title{
  margin:0;
  color:#f8fafc;
  font-size:18px;
  font-weight:900;
  letter-spacing:-.2px;
}
.rights-modal-user{
  margin-top:4px;
  color:#94a3b8;
  font-size:13px;
  font-weight:700;
}
.rights-modal-close{
  width:36px;
  height:36px;
  border:1px solid rgba(148,163,184,.18);
  border-radius:12px;
  background:rgba(15,23,42,.75);
  color:#cbd5e1;
  cursor:pointer;
  font-size:20px;
  line-height:1;
}
.rights-modal-body{padding:18px 22px 22px}
.rights-field{
  display:grid;
  gap:8px;
  margin-bottom:16px;
}
.rights-field label{
  color:#cbd5e1;
  font-size:13px;
  font-weight:850;
}
.rights-input,.rights-color-row{
  width:100%;
  border:1px solid rgba(148,163,184,.16);
  border-radius:15px;
  background:rgba(15,23,42,.74);
  color:#f8fafc;
  outline:none;
}
.rights-input{
  height:44px;
  padding:0 14px;
  font-weight:750;
}
.rights-input:focus,.rights-color-row:focus-within{
  border-color:rgba(34,211,238,.55);
  box-shadow:0 0 0 4px rgba(34,211,238,.12);
}
.rights-color-row{
  display:flex;
  align-items:center;
  gap:12px;
  height:48px;
  padding:8px 12px;
}
.rights-color-row input[type="color"]{
  width:42px;
  height:32px;
  padding:0;
  border:0;
  border-radius:10px;
  background:transparent;
  cursor:pointer;
}
.rights-color-code{
  color:#e2e8f0;
  font-weight:850;
  font-variant-numeric:tabular-nums;
}
.rights-glow-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border:1px solid rgba(148,163,184,.14);
  border-radius:16px;
  padding:12px 14px;
  background:rgba(15,23,42,.54);
  margin:8px 0 16px;
}
.rights-glow-row span{
  display:block;
  color:#cbd5e1;
  font-weight:850;
}
.rights-glow-row small{
  display:block;
  margin-top:3px;
  color:#64748b;
  font-size:12px;
  font-weight:700;
}
.rights-switch{
  width:48px;
  height:28px;
  position:relative;
  display:inline-flex;
  flex:0 0 auto;
}
.rights-switch input{opacity:0;width:0;height:0}
.rights-slider{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:rgba(51,65,85,.9);
  border:1px solid rgba(148,163,184,.18);
  transition:.18s ease;
}
.rights-slider::before{
  content:"";
  position:absolute;
  width:20px;
  height:20px;
  left:4px;
  top:3px;
  border-radius:999px;
  background:#e2e8f0;
  transition:.18s ease;
}
.rights-switch input:checked + .rights-slider{
  background:rgba(34,211,238,.82);
  box-shadow:0 0 18px rgba(34,211,238,.28);
}
.rights-switch input:checked + .rights-slider::before{transform:translateX(20px)}
.rights-preview-box{
  border:1px dashed rgba(148,163,184,.22);
  border-radius:18px;
  padding:14px;
  background:rgba(2,6,23,.34);
  margin-bottom:18px;
}
.rights-preview-label{
  margin-bottom:8px;
  color:#64748b;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.rights-preview-line{color:#dbeafe;font-weight:700}
.rights-preview-value{font-size:16px;font-weight:950}
.rights-modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
}
.rights-btn{
  min-height:42px;
  border:0;
  border-radius:14px;
  padding:0 16px;
  font-weight:900;
  cursor:pointer;
}
.rights-btn-cancel{
  background:rgba(30,41,59,.85);
  color:#cbd5e1;
  border:1px solid rgba(148,163,184,.14);
}
.rights-btn-save{
  background:linear-gradient(180deg, #22d3ee, #0891b2);
  color:#06111a;
  box-shadow:0 0 26px rgba(34,211,238,.24);
}
.rights-btn:disabled{opacity:.62;cursor:wait}


/* Fix account dropdown being covered by the next admin panels */
.panel.menu-host-open{
  z-index:1000;
  overflow:visible;
}

.row-card.row-menu-open{
  position:relative;
  z-index:1001;
}

.account-actions-wrap:has(.account-menu.open){
  z-index:1002;
}

.account-menu.open{
  z-index:100000;
}

/* License status, last login, HWID change modal */
.license-status-badge{
  white-space:nowrap;
  font-weight:900;
}
.muted-badge{
  background:rgba(148,163,184,.10);
  color:#94a3b8;
  border:1px solid rgba(148,163,184,.18);
}
.account-license-status{
  display:grid;
  gap:5px;
  justify-items:start;
}
.last-login-line{
  color:rgba(148,163,184,.92);
}
.hwid-current-box{
  width:100%;
  min-height:44px;
  display:flex;
  align-items:center;
  border:1px solid rgba(148,163,184,.16);
  border-radius:15px;
  background:rgba(15,23,42,.54);
  color:#cbd5e1;
  padding:0 14px;
  font-weight:850;
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.hwid-change-input{
  min-height:92px;
  height:auto;
  padding:12px 14px;
  resize:vertical;
  line-height:1.45;
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.hwid-modal .rights-modal-title::before{
  content:"";
  display:inline-block;
  width:8px;
  height:8px;
  margin-right:8px;
  border-radius:999px;
  background:#22d3ee;
  box-shadow:0 0 16px rgba(34,211,238,.65);
  vertical-align:middle;
}

/* Final clean site-style modals: no blue gradients */
.rights-modal-backdrop{
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.rights-modal{
  border:1px solid var(--border);
  background:rgba(12,16,26,.96);
  box-shadow:0 30px 90px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.06);
}
.rights-modal-head{
  border-bottom:1px solid var(--border);
}
.rights-modal-close,
.rights-input,
.rights-color-row,
.rights-glow-row,
.rights-preview-box,
.hwid-current-box{
  background:rgba(0,0,0,.35);
  border-color:var(--border);
}
.rights-input:focus,
.rights-color-row:focus-within{
  border-color:rgba(74,140,255,.55);
  box-shadow:0 0 0 4px rgba(74,140,255,.09);
}
.rights-switch input:checked + .rights-slider{
  background:var(--blue);
  box-shadow:0 0 18px rgba(74,140,255,.28);
}
.rights-btn-save{
  background:var(--blue);
  color:#fff;
  box-shadow:0 10px 30px rgba(26,92,255,.25);
}
.rights-btn-save:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 36px rgba(26,92,255,.35);
}
.rights-btn-cancel{
  background:rgba(255,255,255,.05);
  color:rgba(255,255,255,.82);
  border:1px solid var(--border);
}
.hwid-current-box{
  min-height:46px;
  padding:9px 12px;
  overflow:hidden;
}
.hwid-current-box .hwid-secret{
  max-width:100%;
}
.hwid-current-box .hwid-value{
  overflow:hidden;
  text-overflow:ellipsis;
}
.hwid-modal .rights-modal-title::before{
  background:var(--blue);
  box-shadow:0 0 16px rgba(74,140,255,.55);
}


/* Update style color glow animated emojis */
.update-style-panel{
  display:grid;
  gap:12px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:20px;
  background:rgba(0,0,0,.24);
}
.update-style-row{
  display:grid;
  grid-template-columns:minmax(190px,1fr) auto auto;
  gap:12px;
  align-items:center;
}
.update-style-field{
  display:grid;
  gap:8px;
}
.update-style-field>span{
  color:rgba(255,255,255,.55);
  font-size:.82rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.color-picker-line{
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:rgba(0,0,0,.35);
}
.color-picker-line input[type="color"]{
  width:40px;
  height:34px;
  padding:0;
  border:0;
  border-radius:12px;
  background:transparent;
  cursor:pointer;
}
.color-picker-line b{
  color:#dbeafe;
  font-size:.9rem;
}
.update-toggle-field{
  min-height:54px;
  padding:12px 14px;
  border:1px solid rgba(148,163,184,.14);
  border-radius:16px;
  background:rgba(15,23,42,.54);
  color:rgba(255,255,255,.86);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.update-toggle-field span{
  display:block;
  color:#cbd5e1;
  font-weight:850;
}
.update-toggle-field small{
  display:block;
  margin-top:3px;
  color:#64748b;
  font-size:12px;
  font-weight:700;
}
.update-site-switch{margin-left:auto}
.update-emoji-grid{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.update-emoji-choice{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:1px solid var(--border);
  background:rgba(255,255,255,.045);
  border-radius:16px;
  cursor:pointer;
  transition:.2s ease;
}
.update-emoji-choice:hover,
.update-emoji-choice.active{
  border-color:rgba(74,140,255,.55);
  background:rgba(74,140,255,.14);
  transform:translateY(-1px);
}
.news-lottie{
  display:inline-grid;
  contain:layout paint;
  place-items:center;
  width:42px;
  height:42px;
  flex:0 0 auto;
  line-height:1;
  vertical-align:middle;
}
.news-lottie svg,
.news-lottie canvas{
  width:100%!important;
  height:100%!important;
  display:block;
}
.news-lottie-fallback{
  font-size:28px;
  animation:emojiFloat 2.2s ease-in-out infinite;
}
.picker-emoji{width:34px;height:34px}
.update-title-emoji{width:46px;height:46px;margin:-7px 2px -7px -4px}
.update-inline-emoji{
  width:30px;
  height:30px;
  margin:-5px 2px;
  display:inline-grid;
  vertical-align:middle;
}
.update-emoji-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:2px;
}
.update-emoji-actions small{
  color:#64748b;
  font-size:12px;
  font-weight:700;
  line-height:1.35;
}
.update-insert-emoji-btn{
  min-height:38px;
  border-radius:13px;
  padding:0 14px;
}
@keyframes emojiFloat{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-3px) scale(1.06)}
}
.styled-update-card{
  position:relative;
  overflow:hidden;
  background:rgba(0,0,0,.28);
}
.update-card-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:10px;
}
.update-title-wrap{
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
}
.update-title{
  min-width:0;
  font-size:1.03rem;
  line-height:1.32;
  word-break:break-word;
  font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight:500;
  letter-spacing:0;
}
.update-title-bold{
  font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight:900 !important;
  letter-spacing:0;
}
.update-content{
  margin-top:8px;
  color:#eaf4ff;
  opacity:1;
  line-height:1.72;
  font-weight:650;
}
.update-content p,
.update-content li,
.update-content blockquote,
.update-content h1,
.update-content h2,
.update-content h3{
  color:inherit;
}
.update-content code{
  color:#fff;
}
.preview-box{
  color:#eaf4ff!important;
}
.preview-box .update-card{
  margin:0;
}
.password-modal-note{
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px 14px;
  background:rgba(0,0,0,.28);
  color:rgba(255,255,255,.58);
  font-size:.9rem;
  line-height:1.45;
}
.password-modal-note.bad{
  color:#ff8aa0;
  border-color:rgba(255,74,106,.28);
  background:rgba(255,74,106,.07);
}
.password-modal .rights-modal-title::before{
  content:"";
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--blue);
  box-shadow:0 0 16px rgba(74,140,255,.55);
  margin-right:10px;
  vertical-align:middle;
}
@media(max-width:700px){
  .update-style-row{grid-template-columns:1fr}
  .update-card-head{align-items:flex-start;flex-direction:column}
}

/* Update content inline emoji + title-only glow */
.styled-update-card .update-content{
  color:#eaf4ff;
  font-weight:650;
  line-height:1.65;
}
.styled-update-card .update-content p,
.styled-update-card .update-content li{
  color:inherit;
}

/* Update edit controls */
.update-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.update-editor-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.update-editor-actions .primary,
.update-editor-actions .secondary{
  min-height:42px;
}

.update-emoji-none{
  color:#94a3b8;
  font-weight:900;
  font-size:22px;
}
.picker-no-emoji{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:11px;
  color:#94a3b8;
  background:rgba(148,163,184,.08);
  border:1px dashed rgba(148,163,184,.28);
}
.update-emoji-none.active .picker-no-emoji{
  color:#eaf4ff;
  border-color:rgba(74,140,255,.58);
  background:rgba(74,140,255,.14);
}

/* Emoji text/title split fix */
.update-emoji-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.update-emoji-actions small{
  flex-basis:100%;
}
.update-insert-emoji-btn{
  min-height:38px;
}


/* МВД / ФСБ license separation */
.license-field select,
.license-product-select{
  width:100%;
  background:rgba(0,0,0,.34);
  border:1px solid rgba(255,255,255,.075);
  color:#fff;
  border-radius:16px;
  padding:13px 14px;
  outline:none;
  font-family:Inter,sans-serif;
}
.license-field select:focus,
.license-product-select:focus{
  border-color:rgba(74,140,255,.55);
  box-shadow:0 0 0 4px rgba(74,140,255,.085);
}
.license-product-select{
  width:auto;
  min-width:92px;
  padding:7px 28px 7px 10px;
  border-radius:10px;
}
.product-badge{margin-left:6px}
.product-fsb{border-color:rgba(129,140,248,.36);color:#c7d2fe;background:rgba(99,102,241,.14)}
.product-mvd{border-color:rgba(56,189,248,.36);color:#bae6fd;background:rgba(14,165,233,.14)}
#previewProduct{display:block;margin-top:4px;color:rgba(143,182,255,.92)}
