/*[ITZSKOTT CSS]*/
/*[ITZSKOTT.CO.UK]*/
/*[INFO@ITZSKOTT.CO.UK]*/

@import url("modules.css");
@import url("cp.css");

:root {
  --bg: #0e0e10;
  --panel: #18181b;
  --gradient:#121215;
  --border: #2a2a35;
  --muted: #a1a1aa;
  --accent: #47CF19;
  --danger: #ff4d4d;
  --warning: #ffb347;
  --text: #ededed;
  --input-bg: rgba(0,0,0,0.45);
  --input-bg-hover: rgba(0,0,0,0.55);
  --input-bg-focus: rgba(0,0,0,0.60);
  --input-border: var(--border);
  --input-border-hover: rgba(255,255,255,0.18);
  --input-border-focus: rgba(71,207,25,.55);
  --input-text: var(--text);
  --input-placeholder: var(--muted);
  --input-shadow-inset: inset 0 1px 0 rgba(255,255,255,0.04);
  --input-focus-ring: 0 0 0 3px rgba(71,207,25,.15);
  --name1:#7C3AED;
  --name2:#ff3b3b;  
}

*,
*::before,
*::after{ box-sizing: border-box; }

html, body{
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body{
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
  transition: background-color .2s ease, color .2s ease; 
}

/*[TOPBAR + HAMBURGER]*/
.topbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  /*background: var(--panel);*/
  background: linear-gradient(180deg, var(--panel), var(--gradient));
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .6px;
}

.brand .logo{
  width: 42px;
  height: 42px;
}

.nav-links{
  display:flex;
  gap: 18px;
  align-items:center;
}

.nav-btn{
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: .15s ease;
  border: 1px solid transparent;
}

.nav-btn:hover{
  color: var(--text);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.10);
  transform: translateY(-2px);  
}

.topbar { z-index: 1000; }
.nav-links { display: flex; gap: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 28px;
  height: 22px;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 18px;
    top: 60px;
    flex-direction: column;
    gap: 8px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    width: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  }

  .nav-links.show {
    display: flex;
  }
}

.bubble{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 13px 17px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
}

.cmdbubble{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 13px 17px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255,255,255,0.02);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  margin-top: 5px;
}

.welcome-row{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.welcome-text h2{
  margin:0;
}

.welcome-avatar{
  width:56px;
  height:56px;
  border-radius:50%;
  object-fit:cover;
  flex:0 0 auto;
}

.btn {
  height: 36px;
  background: var(--accent);
  color: #0E0E10;
  border: none;
  padding: 9px 13px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s ease;
}
.btn:hover {
  background: #459929;
  transform: translateY(-1px);
}

.btn.small{
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 13px;
}

.btn.is-disabled,
.btn:disabled{
  opacity: .55;
  filter: grayscale(.4);
  cursor: not-allowed;
  transform: none;
}

.container.fullscreen{
  max-width: none;
  margin: 0;
  padding: 0;
  height: calc(100vh - 70px);
  overflow: hidden;
}

.app-shell{
  display: grid;
  grid-template-columns: 240px 1fr;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

/*[SIDEBAR + NAV]*/
.sidebar{
  background: linear-gradient(180deg, var(--panel), var(--gradient));
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  padding-bottom: 64px;
  overflow-y: auto;
  position: relative;
  min-width: 0;
}

.side-title{
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .8px;
  padding: 14px 10px 6px;
  text-transform: uppercase;
  opacity: .85;
}

.side-link-top{
  margin-top:0px;
  padding-top: 0px;
}

.side-title::after{
  content:"";
  display:block;
  height:1px;
  margin-top:8px;
  background: linear-gradient(90deg, rgba(255,255,255,.10), transparent);
}

.sidebar .side-link{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px 10px 38px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border: 1px solid transparent;
  transition: .15s ease;
  margin: 3px 0;
  position: relative;
  min-width: 0;
}

.sidebar .side-link:hover{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.10);
  transform: translateX(2px);
}

.sidebar .side-link.active{
  background: rgba(71,207,25,0.14);
  border-color: rgba(71,207,25,0.35);
  color: var(--accent);
}

.side-link.is-disabled{
  opacity: .55;
  filter: grayscale(.4);
  transform: none;
}

.module-card.is-disabled{
  opacity: .65;
  transform: none;
}

.side-link.is-disabled:hover{
  transform: none;
}

.sidebar .side-link::before{
  content:"";
  position:absolute;
  left:12px;
  top:50%;
  width:18px;
  height:18px;
  transform: translateY(-50%);
  opacity:.95;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  filter: brightness(0) invert(1);
}

.box-title{
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  opacity: .85;
}

.box-title::after{
  content:"";
  display:block;
  height:1px;
  margin-top:6px;
  margin-bottom: 5px;
  background: linear-gradient(90deg, rgba(255,255,255,.10), transparent);
}

/*[ICONS]*/
.ico-dashboard::before{ background-image:url("images/icons/dashboard.svg");}
.ico-activity::before{  background-image:url("images/icons/activity.svg");}
.ico-settings::before{  background-image:url("images/icons/settings.svg");}
.ico-commands::before{  background-image:url("images/icons/commands.svg");}
.ico-loyalty::before{   background-image:url("images/icons/loyalty.svg");}
.ico-modules::before{   background-image:url("images/icons/modules.svg");}
.ico-timers::before{    background-image:url("images/icons/timers.svg");}
.ico-notifications::before{ background-image:url("images/icons/notifications.svg");}
.ico-docs::before{      background-image:url("images/icons/docs.svg");}
.ico-help::before{      background-image:url("images/icons/help.svg");}
.ico-status::before{    background-image:url("images/icons/status.svg");}
.ico-logout::before{    background-image:url("images/icons/logout.svg");}
.ico-stats::before{     background-image:url("images/icons/stats.svg");}
.ico-addplus::before{     background-image:url("images/icons/plus.svg");}
.ico-sound::before{     background-image:url("images/icons/sound.svg");}
.ico-shield::before{     background-image:url("images/icons/shield.svg");}
.ico-overlays::before{     background-image:url("images/icons/overlays.svg");}
.ico-headphones::before{     background-image:url("images/icons/headphones.svg");}
.ico-subathon::before{     background-image:url("images/icons/subathon.svg");}
.ico-slots::before{     background-image:url("images/icons/slots.svg");}
.ico-coinflip::before{     background-image:url("images/icons/coinflip.svg");}
.ico-rps::before{     background-image:url("images/icons/rps.svg");}
.ico-ranking::before{     background-image:url("images/icons/ranking.svg");}
.ico-leaderboard::before{     background-image:url("images/icons/leaderboard.svg");}
.ico-bot::before{     background-image:url("images/icons/bot.svg");}
.ico-trivia::before{     background-image:url("images/icons/trivia.svg");}
.ico-spotify::before{     background-image:url("images/icons/spotify.svg");}
.ico-home::before{     background-image:url("images/icons/home.svg");}
.ico-contact::before{     background-image:url("images/icons/contact.svg");}
.ico-admin::before{     background-image:url("images/icons/admin.svg");}

.side-link.ico-logout{
  color: var(--danger);
}

.sidebar-socials{
  position:absolute;
  left:0;
  right:0;
  bottom:18px;
  display:flex;
  justify-content:center;
  gap:16px;
}

.social-links a{
  color: var(--muted);
  font-size: 20px;
  transition: .15s ease;
}

.social-links a:hover{
  color: var(--accent);
  transform: translateY(-1px);
}

/*[MAIN + FOOTER]*/
.main{
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.main-content{
  flex: 1 1 auto;
  padding: 18px;
  min-width: 0;
  overflow: visible;
}

.dash-footer{
  flex: 0 0 auto;
  background: linear-gradient(180deg, var(--panel), var(--gradient));
  /*background: var(--panel);*/
  border-top: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);  
}

.dash-footer-inner{
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px 14px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.dash-footer a{
  color: var(--muted);
  text-decoration: none;
  margin: 0px 4px 0px 4px;
}
.dash-footer a:hover{ color: var(--accent); }

@media (max-width: 700px){
  .dash-footer-inner{
    flex-direction: column;
    align-items:flex-start;
    gap: 8px;
  }
  .dash-footer a{
    margin-left: 0;
    margin-right: 14px;
  }
}

.boxspace{
  margin-bottom:14px;
}

/*[CARDS]*/
.module-card {
  position: relative;
  /*background: var(--panel);*/
  background: linear-gradient(180deg, var(--panel), var(--gradient));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.module-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.module-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.muted{
  color: var(--muted);
  opacity: .9;
  font-size: 13px;
}
.muted a{
  color: var(--accent);
  text-decoration: none;
}

.card-title-icon{
  position: relative;
  padding-left: 28px;
  display: inline-block;
}

.card-title-icon::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:20px;
  height:20px;
  transform: translateY(-50%);
  opacity:.95;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  filter: brightness(0) invert(1);
}

/*[GRID]*/
.dash-grid{
  display:grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap:14px;
  margin: 14px 0;
}

.dash-grid-home{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
  margin: 14px 0;
}

.dash-grid-cmd{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap:14px;
  margin: 14px 0;
}

.dash-row{
  display:grid;
  grid-template-columns: 1.6fr .9fr;
  gap:14px;
  align-items: start;
}

@media (max-width: 1100px){
  .dash-grid, .dash-grid-home, .dash-grid-cmd{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-row{ grid-template-columns: 1fr; }
}

.dash-row > *, .dash-grid > *, .module-card{ min-width: 0; }

.drawer-backdrop{ display:none; }
body.drawer-open .drawer-backdrop{ display:block; }

@media (max-width: 900px){
  .app-shell{ grid-template-columns: 1fr; }

  .sidebar{
    position: fixed;
    top: 70px;
    bottom: 0;
    left: 0;
    width: 260px;
    transform: translateX(-105%);
    transition: transform .2s ease;
    z-index: 950;
  }
  body.drawer-open .sidebar{ transform: translateX(0); }
}

#drawerBtn{ display:none; }
@media (max-width: 900px){
  #drawerBtn{ display:inline-flex; }
}

/*[PANEL TABS]*/
.panel-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.panel-tabs{
  display:flex;
  align-items:center;
  gap:8px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}

.tab-btn{
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: .15s ease;
  letter-spacing: .2px;
}
.tab-btn:hover{ color: var(--text); background: rgba(255,255,255,0.04); }
.tab-btn.active{ color: #0b0b0c; background: var(--accent); }

.panel-body{
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0,0,0,0.15);
  overflow: hidden;
}

.panel-section{ display:none; padding: 14px; }
.panel-section.active{ display:block; }

/*[GRAPH]*/
.mock-legend{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom: 10px;
}

.legend-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}

.dot{
  width:10px;
  height:10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(71,207,25,0.18);
}
.dot.alt{
  background: #7aa7ff;
  box-shadow: 0 0 0 3px rgba(122,167,255,0.16);
}

.mock-chart{
  width: 100%;
  max-width: 100%;
  height: 220px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.04);
  background:
    radial-gradient(circle at 25% 10%, rgba(71,207,25,0.08), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
  overflow: hidden;
}
.mock-chart svg{
  width: 100%;
  max-width: 100%;
  height: 100%;
  display:block;
}

.mock-grid line{ stroke: rgba(255,255,255,0.04); stroke-width: 1; }
.mock-axis{ fill: var(--muted); font-size: 11px; font-weight: 800; opacity: .9; }

/*[ACTIVITY LIST]*/
.activity-list{
  display:flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  background: rgba(0,0,0,0.10);
}

.activity-list a{
  color: var(--accent);
  text-decoration: none;
}
.activity-list a:hover{ color: var(--text); }

.activity-item{
  display:grid;
  grid-template-columns: 1fr 90px;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
  align-items:center;
}
.activity-item:first-child{ border-top: none; }

.activity-left{
  display:flex;
  gap:10px;
  align-items:center;
  min-width: 0;
}

.activity-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  filter: invert(63%) sepia(92%) saturate(640%) hue-rotate(78deg)
          brightness(95%) contrast(105%);
  transition: filter 0.2s;
}

.act-ico{
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  flex: 0 0 auto;
}

.act-text{
  min-width: 0;
  display:flex;
  flex-direction: column;
  gap: 3px;
}

.act-text .who{
  font-weight: 900;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.act-text .what{
  color: var(--text);
  opacity: .92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
}

.act-time{
  justify-self:end;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  letter-spacing: 1px;
}

.act-ico i {
  color: var(--muted);
  transition: opacity .15s ease, transform .15s ease;
}

.activity-footer{
  display:flex;
  justify-content:flex-end;
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.mini-link{
  color: var(--accent);
  font-weight: 900;
  text-decoration:none;
  font-size: 13px;
}
.mini-link:hover{ text-decoration: none; color:var(--text); }

/*[STATS GRID]*/
.stats-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:10px;
}

.stat-box{
  background: rgba(255,255,255,0.03);
  border:1px solid var(--border);
  border-radius:10px;
  padding:10px 12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  min-width: 0;
}

.preset-btn{
  cursor: pointer;
}

.preset-btn:hover{
  transform: translateY(-1px);
  border: 1px solid var(--input-border-hover);
}

.stat-label{
  color: var(--muted);
  font-weight:700;
  font-size:13px;
}

.stat-value{
  font-weight:900;
  font-size:16px;
  color: var(--text);
}

.stat-badge{
  font-weight:900;
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--border);
}

.stat-badge.ok{
  color: var(--accent);
  border-color: rgba(71,207,25,.4);
  background: rgba(71,207,25,.12);
}

.stat-badge.warn{
  color:#ffb347;
  border-color: rgba(255,179,71,.45);
  background: rgba(255,179,71,.12);
}

.stat-badge.error{
  color:#ff4d4d;
  border-color: rgba(255,77,77,.45);
  background: rgba(255,77,77,.12);
}

.social-links .fa-discord:hover { color: #5865F2; } 
.social-links .fa-twitch:hover  { color: #9146FF; } 
.social-links .fa-youtube:hover { color: #FF0000; }
.social-links .fa-x-twitter:hover {
  color: #1DA1F2;
}

/*[LISTING]*/
.cmd-list{
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,0.10);
}

.cmd-edit-wrap {
  padding-left: 8px;
  padding-right: 8px;
}

.timer-edit-wrap {
  padding-left: 8px;
  padding-right: 8px;
}

.cmd-def-edit-wrap {
  padding-left: 8px;
  padding-right: 8px;
}
.notif-edit-wrap {
  padding-left: 8px;
  padding-right: 8px;
}

.cmd-row{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.cmd-row:first-child{ border-top: none; }

.list-row{
  gap: 0px !important;
}
.list-space{
  padding-right: 12px;
}

.cmd-body{ min-width:0; }
.cmd-name{
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}
.cmd-desc{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.cmd-meta{
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  opacity: .9;
}

.cmd-toggle{
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  position: relative;
}
.cmd-toggle::after{
  content:"";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.45);
}
.cmd-toggle.on{
  background: rgba(71,207,25,0.22);
  border-color: rgba(71,207,25,0.35);
}
.cmd-toggle.on::after{
  left: 22px;
  background: var(--accent);
}

.item-actions{
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.cmd-actions{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cmd-actions .cmd-toggle-wrap{
  height: 34px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.cmd-actions .cmd-toggle{
  margin: 0;
}

.cmd-actions{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cmd-actions .cmd-toggle-wrap{
  height: 34px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.cmd-actions .cmd-toggle{
  margin: 0;
}

.icon-btn{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: var(--muted);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  cursor: pointer;
  transition: .15s ease;
}

.icon-btn > svg,
.icon-btn > img,
.icon-btn > i,
.icon-btn > span {
  display: block;
  transform: translateY(1px);
}

.icon-btn:hover{
  color: var(--text);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
}

.icon-btn.danger{
  color: #ff4d4d;
  border-color: rgba(255,77,77,0.35);
  background: rgba(255,77,77,0.08);
}

.icon-btn.danger:hover{
  background: rgba(255,77,77,0.12);
}

.icon-btn.locked{
  opacity: .6;
  cursor: default;
}

.icon-btn.is-locked {
  opacity: 0.6;
  cursor: not-allowed;
}

.toggle-wrap-border{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .15s ease;
}

/*CMD EXTRAS*/
.cmd-extras{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.extras-group{
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  background: rgba(0,0,0,0.14);
  overflow: hidden;
}

.extras-head{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 12px 12px;
  background: rgba(255,255,255,0.03);
  border: 0;
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.extras-head:hover{
  background: rgba(255,255,255,0.05);
}

.extras-plus{
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-weight: 900;
}

.extras-body{
  padding: 12px;
  display: grid;
  gap: 10px;
}

.extras-2col{
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 10px;
}

@media (max-width: 900px){
  .extras-2col{ grid-template-columns: 1fr; }
}

.extras-list{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bubble-del{
  margin-left: 6px;
  color: var(--accent);
  cursor: pointer;
  font-weight: 900;
}
.bubble-del:hover{
  filter: brightness(1.2);
}

/*[FORMS]*/
.accentC{
  color: var(--accent);
}

.accentR{
  color: #e82727;
}

.input,
input[type="text"],
input[type="search"],
select,
textarea{
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;

  background: var(--input-bg);
  border: 1px solid var(--input-border);

  color: var(--input-text);
  font-weight: 600;
  font-size: 14px;

  outline: none;
  transition: .15s ease;
}

textarea{
  height: auto;
  min-height: 110px;
  padding: 10px 12px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder{
  color: var(--input-placeholder);
  opacity: .8;
}

.input:hover,
input:hover,
select:hover,
textarea:hover{
  background: var(--input-bg-hover);
  border-color: var(--input-border-hover);
}

.input:focus,
input:focus,
select:focus,
textarea:focus{
  background: var(--input-bg-focus);
  border-color: var(--input-border-focus);
}

.cmd-add-wrap{
  margin-top: 12px;
}

.cmd-add-card{
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  padding: 14px;
}

.cmd-add-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom: 12px;
}

.icon-btn{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}
.icon-btn:hover{ color: var(--text); border-color: rgba(255,255,255,.16); }

.cmd-add-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cmd-add-grid .full{ grid-column: 1 / -1; }

.field-label{
  display:block;
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 12px;
}

.field-hint{
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  opacity: .9;
}
.field-hint code{
  color: var(--text);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  padding: 1px 6px;
  border-radius: 999px;
}

.ui-input, .ui-select, .ui-textarea{
  width: 100%;
  font-weight: 700;
  font-size: 13px;
  transition: .15s ease;
}

.ui-input, .ui-select{ height: 38px; padding: 0 12px; }
.ui-textarea{ min-height: 120px; padding: 10px 12px; resize: vertical; }
.ui-input::placeholder, .ui-textarea::placeholder{ color: rgba(161,161,170,.75); }

.ui-select,
.ui-select:hover,
.ui-select:focus{
  -webkit-appearance:none;
  appearance:none;
  padding-right: 36px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(237,237,237,.85) 50%),
    linear-gradient(135deg, rgba(237,237,237,.85) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat:no-repeat;
  color-scheme: dark;
}

.ui-select option{
  background-color:#0b0b0b;
  color:#fff;
}

.cmd-add-actions{
  display:flex;
  justify-content:flex-end;
  gap: 10px;
  margin-top: 12px;
}

.spotifywrap{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
}

.btn.ghost{
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn.ghost:hover{
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
}
.btn.danger{
  background: var(--danger);
  border-color: rgba(255,64,64,.35);
  color:#0b0b0c;
}

.switch{
  display:inline-flex;
  align-items:center;
  position:relative; /* match mini-switch */
  height: 38px;
}

.switch input{
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
  margin:0;
}

.switch-ui{
  width: 46px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.45);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: .15s ease;
}

.switch-ui::after{
  content:"";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  position:absolute;
  top: 50%;
  left: 3px;
  transform: translateY(-50%);
  transition: .15s ease;
}

.switch input:not(:disabled):not(:checked) + .switch-ui:hover{
  border-color: rgba(255,255,255,0.18);
  cursor: pointer;
}
.switch input:not(:disabled):not(:checked) + .switch-ui:hover::after{
  background: rgba(255,255,255,.25);
}

.switch input:not(:disabled):checked + .switch-ui:hover{
  filter: brightness(.7);
  cursor: pointer;
}

.switch input:checked + .switch-ui{
  background: rgba(71,207,25,0.22);
  border-color: rgba(71,207,25,0.35);
}

.switch input:checked + .switch-ui::after{
  left: 22px; 
  background: var(--accent);
}


@media (max-width: 900px){
  .cmd-add-grid{ grid-template-columns: 1fr; }
}

/*[SLIDER]*/
.styled-slider{
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 38px;
  margin: 0;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 0 12px;
  outline: none;

  display: block;
  box-sizing: border-box;
}

.styled-slider::-webkit-slider-runnable-track{
  height: 6px;
  background: transparent;
}

.styled-slider::-moz-range-track{
  height: 6px;
  background: transparent;
}

.styled-slider::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #0e0e10;
  cursor: pointer;
  margin-top: -5px; 
}

.styled-slider::-moz-range-thumb{
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #0e0e10;
  cursor: pointer;
}
.slider-val{
  color: var(--accent);
}

.slider-val.is-disabled {
  color: var(--danger);
  cursor: not-allowed;
}

/* Command Tips card */
.cmd-tips .cmd-tips-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:6px;
}

.cmd-tips .tips-badge{
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
}

.cmd-tips .cmd-tips-sub{
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.cmd-tips .tips-grid{
  display:grid;
  gap:8px;
}

.cmd-tips .tip-row{
  display:grid;
  grid-template-columns: 180px 1fr;
  gap:10px;
  align-items:center;
  padding:10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.18);
}

.cmd-tips .tip-row code{
  display:inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 900;
  font-size: 12px;
}

.small-tip{
  display:grid;
  grid-template-columns: 30px 1fr;
  gap:10px;
  align-items:center;
  padding:10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.18);
  margin-top: 5px;
}

.small-tip code{
  display:inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 900;
  font-size: 12px;
}

.cmd-tips .tips-divider{
  height:1px;
  margin: 12px 0;
  background: linear-gradient(90deg, rgba(255,255,255,.08), transparent);
}

.content-divider{
  height:1px;
  margin: 12px 0;
  background: linear-gradient(90deg, rgba(255,255,255,.08), transparent);
}

.c-divider{
  height:1px;
  margin: 12px 0;
}

.cmd-tips .tips-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display:grid;
  gap:8px;
}

.cmd-tips .tips-list li{
  display:flex;
  align-items:center;
  gap:10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

.cmd-tips .dot-ok,
.cmd-tips .dot-warn{
  width:10px;
  height:10px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.cmd-tips .dot-ok{
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(71,207,25,.14);
}

.cmd-tips .dot-warn{
  background: var(--danger);
  box-shadow: 0 0 0 3px rgba(255,64,64,.14);
}

.cmd-tips .tips-footer{
  margin-top: 12px;
}

/*[SCROLLBAR]*/
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--panel);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent) 0%, #3aa914 100%);
  border-radius: 10px;
  border: 2px solid var(--panel); /* adds padding look */
  transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #5CFF24 0%, #47CF19 100%);
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--panel);
}
html {
  scroll-behavior: smooth;
}
::-webkit-scrollbar-thumb:hover {
  box-shadow: 0 0 8px rgba(71, 207, 25, 0.5);
}

.status-kpis{
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.kpi-val{
  margin: 6px 0 0;
}

.status-head{
  margin-bottom: 10px;
}

.status-controls{
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.status-search{ width: 220px; }
.status-filter{ width: 140px; }

.status-grid{
  grid-template-columns: 1fr 1fr;
}

.status-tip{
  margin-top: 12px;
}

.status-right{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.status-notes{
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-note{
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.45;
}

.status-actions{
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.status-events{
  margin-top: 10px;
}

@media (max-width: 1100px){
  .status-kpis{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

#toast.toast{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;

  background: rgba(20,20,24,.92);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;

  opacity: 0;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

#toast.show{
  opacity: 1;
  transform: translateY(0);
}

#toast .toast-icon{
  font-size: 16px;
  opacity: .95;
}

#toast.success{ border-color: rgba(71,207,25,.45); }
#toast.error{ border-color: rgba(255,90,90,.55); }
#toast.info{ border-color: rgba(80,170,255,.55); }
#toast.warn{ border-color: rgba(255,190,60,.55); }
#toast.success .toast-icon i{color: rgba(71,207,25,.95);}
#toast.error .toast-icon i{color: rgba(255,90,90,.95);}
#toast.info .toast-icon i{color: rgba(80,170,255,.95);}
#toast.warn .toast-icon i{color: rgba(255,190,60,.95);}

#toast .toast-icon i{
  font-size: 16px;
  opacity: .95;
}
/*.cmd-empty{
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
}*/

.cmd-empty{
  border: 1px dashed rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 14px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.Adesc{
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  padding: 5px;
}

.cmd-extras .extras-body input.ui-input,
.cmd-extras .extras-body textarea.ui-textarea,
.cmd-extras .extras-body select.ui-select{
  background: rgba(0,0,0,.45) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}

.cmd-extras .extras-body input.ui-input::placeholder,
.cmd-extras .extras-body textarea.ui-textarea::placeholder{
  color: rgba(255,255,255,.45) !important;
}

.cmd-extras .extras-body input.ui-input:hover,
.cmd-extras .extras-body input.ui-input:focus,
.cmd-extras .extras-body textarea.ui-textarea:hover,
.cmd-extras .extras-body textarea.ui-textarea:focus,
.cmd-extras .extras-body select.ui-select:hover,
.cmd-extras .extras-body select.ui-select:focus{
  background: rgba(0,0,0,.55) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.22) !important;
  outline: none !important;
}

.cmd-extras .extras-body input.ui-input:-webkit-autofill,
.cmd-extras .extras-body input.ui-input:-webkit-autofill:hover,
.cmd-extras .extras-body input.ui-input:-webkit-autofill:focus{
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 0 0 1000px rgba(0,0,0,.55) inset !important;
  transition: background-color 9999s ease-out 0s;
}


/*[MISC]*/
.muted-alert {
  background:
    linear-gradient(180deg, rgba(255,70,70,0.18), rgba(255,40,40,0.10)),
    linear-gradient(180deg, var(--panel), var(--gradient));
  border: 1px solid rgba(255,80,80,0.45);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 12px;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,120,120,0.15);
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.2s ease;
  text-align: center;

}
.muted-alert.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
} 

/*[BOT PREVIEW]*/
.stat-box-full{
  grid-column: 1 / -1;
}

.msg{
  display:flex;
  align-items:center;
  gap:8px;                 
  padding:6px 0;
  line-height:1.35;
  font-size:14px;
}

.badges{
  display:flex;
  gap:6px;
  align-items:center;
  flex:0 0 auto;           
}

.badge{
  width:20px;
  height:20px;
  image-rendering:-webkit-optimize-contrast;
  display:block;
  border-radius:3px;
}

.emote{
  width:22px;
  height:22px;
  image-rendering:-webkit-optimize-contrast;
  display: inline-block;
  border-radius:3px;
  vertical-align: middle;
}

.content{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  flex:1;
  flex-wrap:nowrap;
}

.name{
  font-weight:800;
  white-space:nowrap;
}
.name.one{color:var(--name1)}
.name.two{color:var(--name2)}

.colon{
  opacity:.9;
  font-weight:700;
  white-space:nowrap;
}

.text{
  color:var(--text);
  word-break:break-word;
}

.list-head{
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.03);
  color:var(--muted);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
  display:grid;
  grid-template-columns: 1fr auto;
  align-items:center;
  padding:12px 14px;
  border-radius:12px;
  margin-bottom:5px;
}

/*[SOUNDBOARD]*/
.ov-logo-section{
  overflow: hidden;
  max-height: 180px;
  opacity: 1;
  transform: translateY(0);
  transition: max-height .25s ease, opacity .18s ease, transform .18s ease;
}

.ov-logo-section.is-hidden{
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  margin: 0;
}

.sb-overlay-card .sb-url-row{
  display:flex;
  gap:10px;
  align-items:center;
}

.sb-overlay-card .ui-input{
  flex:1 1 auto;
  min-width:0;
}
.sb-shell{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 14px;
  margin-top: 14px;
  min-width: 0;
  align-items: start;
}
@media (max-width: 1000px){
  .sb-shell{ grid-template-columns: 1fr; }
}

.docs-shell{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 14px;
  margin-top: 14px;
  min-width: 0;
  align-items: start;
}

.docs-shell.docs-help-layout{
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.docs-shell.docs-help-layout > .module-card{
  flex: 1 1 auto;
  min-width: 0;
}

.docs-shell.docs-help-layout .sb-menu{
  flex: 0 0 320px;
}

@media (max-width: 900px){
  .docs-shell.docs-help-layout{
    flex-direction: column;
  }

  .docs-shell.docs-help-layout .sb-menu{
    width: 100%;
    flex: 1 1 auto;
    position: static !important;
    top: auto !important;
    height: auto !important;
    overflow: visible !important;
  }
}

.sb-menu{
  display:flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.sb-menu .sb-tab{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  cursor:pointer;
  transition: .15s ease;
  font-weight: 900;
}
.sb-menu .sb-tab:hover{
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.16);
  transform: translateX(2px);
}
.sb-menu .sb-tab.active{
  background: rgba(71,207,25,0.14);
  border-color: rgba(71,207,25,0.35);
  color: var(--accent);
}

.sb-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 26px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.28);
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
}

.sb-view{ display:none; }
.sb-view.active{ display:block; }

.sb-kpis{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 900px){
  .sb-kpis{ grid-template-columns: 1fr; }
}

.sb-row{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}

.sb-list{
  margin-top: 12px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.sb-item{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.12);
  min-width: 0;
}
.sb-item .left{
  min-width:0;
  display:flex;
  align-items:center;
  gap: 12px;
}
.sb-item .ico{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  flex: 0 0 auto;
}
.sb-item .title{
  font-weight: 900;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.sb-item .desc{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
/*ITEM LIST*/
.item-list{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.12);
  min-width: 0;
  flex: 1 1 auto;
}
.item-list .left{
  min-width:0;
  display:flex;
  align-items:center;
  gap: 12px;
}
.item-list .ico{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  flex: 0 0 auto;
}
.item-list .title{
  font-weight: 900;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.item-list .desc{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.empty{
  border: 1px dashed rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 14px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}
.empty strong{ color: var(--text); }

.pill-mini{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
}

.pill-mini-2{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  font-weight: 900;
  font-size: 10px;
  white-space: nowrap;
}

.pill-mini.warn{
  color: var(--warning);
  border-color: rgba(255,179,71,.45);
  background: rgba(255,179,71,.12);
}

.volume-display{
  font-weight:bold; 
  color: var(--accent);
}

#sb-redeems-table .sb-actions{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
}

#sb-redeems-table .sb-actions .cmd-toggle-wrap{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;  
  flex: 0 0 auto;
}

#sb-redeems-table .sb-actions .icon-btn{
  flex: 0 0 auto;
}

#sb-overlay-url.is-hidden-url{
  -webkit-text-security: disc !important; 
  text-security: disc !important;   
}

#sb-overlay-url.is-hidden-url.is-shown{
  -webkit-text-security: none !important;
  text-security: none !important;
}

.spotify-profile-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background-color: #222;
}

.docs-code{
  margin: 10px 0 0 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.22);
  overflow: auto;
}

.docs-code code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
  white-space: pre;
}

.cmd-row.is-disabled {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.sb-item.is-disabled {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.default-cmd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.default-cmd-btn{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  cursor:pointer;
  transition: .15s ease;
  font-weight: 900;
}
.default-cmd-btn:hover{
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.16);
  transform: translateX(2px);
}
.default-cmd-btn.active{
  background: rgba(71,207,25,0.14);
  border-color: rgba(71,207,25,0.35);
  color: var(--accent);
}
.settings-avatar{
  width:56px;
  height:56px;
  border-radius:50%;
  border:1px solid var(--border);
  background:rgba(0,0,0,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.dash-link{
  color: var(--accent);
  text-decoration: none;
}
.dash-link:hover{
  color: var(--text);
}

.pill.partner{
  background: rgba(145, 70, 255, 0.18);
  border: 1px solid rgba(145, 70, 255, 0.45);
  color: #c9a7ff;
}

.pill.affiliate{
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #8db8ff;
}

.pill.standard{
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #cbd5f1;
}

/*TOPBAR STATUS BUBBLE*/
.top-status{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border-radius:999px;
  font-weight:800;
  font-size:13px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.03);
  max-width:600px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease;
}

.top-status.hidden{
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.top-status-close{
  background:none;
  border:none;
  color:inherit;
  cursor:pointer;
  opacity:.7;
  display:flex;
  align-items:center;
  transition: opacity .15s ease, transform .15s ease;
}
.top-status-close:hover{
  opacity:1;
  transform: scale(1.08);
}
.top-status.ok{
  color: var(--accent);
  border-color: rgba(71,207,25,.4);
  background: rgba(71,207,25,.12);
}
.top-status.warn{
  color: var(--warning);
  border-color: rgba(255,179,71,.45);
  background: rgba(255,179,71,.12);
}
.top-status.error{
  color: var(--danger);
  border-color: rgba(255,77,77,.45);
  background: rgba(255,77,77,.12);
}
@media (max-width: 800px) {
  .top-status {
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
  }
}
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.viewer-count {
  font-weight: 600;
  opacity: 0.85;
  font-size: 14px;
}
.streamonline{
  color: var(--accent);
}
.streamoffline{
  color: var(--danger);
}
.panel-actions {
  display: flex;
  align-items: center;
  margin-top: 12px;
}

.panel-actions button {
  margin-left: auto;
}

.hidden{
  display: none;
}