:root { --bg:#0b0d12; --panel:#13161f; --panel2:#191d28; --border:#242938; --text:#eef1f7; --muted:#8b93a7; --accent:linear-gradient(135deg,#f59e0b,#ec4899); --amber:#f59e0b; }
* { box-sizing:border-box; margin:0; padding:0; }
body { font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; background:var(--bg); color:var(--text); min-height:100vh; -webkit-font-smoothing:antialiased; }
h1, h2, h3 { font-family:"Plus Jakarta Sans","Inter",-apple-system,sans-serif; letter-spacing:-0.02em; }
#balText, .pill, [data-exp-countdown] { font-variant-numeric:tabular-nums; }
button { cursor:pointer; font:inherit; border:none; border-radius:10px; }
input,select,textarea { background:#0e1118; border:1px solid var(--border); color:var(--text); border-radius:10px; padding:10px 12px; font:inherit; width:100%; }
.hidden { display:none !important; }
.btn-grad { background:var(--accent); color:#111; font-weight:700; padding:10px 16px; }
.btn-dark { background:var(--panel2); color:var(--text); border:1px solid var(--border); padding:9px 14px; }
.btn-red { background:rgba(239,68,68,.15); color:#fca5a5; border:1px solid rgba(239,68,68,.35); padding:9px 14px; }
.btn-green { background:rgba(34,197,94,.15); color:#86efac; border:1px solid rgba(34,197,94,.35); padding:9px 14px; }
.login-wrap { min-height:100vh; display:grid; place-items:center; padding:24px; }
.login-card { width:100%; max-width:420px; background:var(--panel); border:1px solid var(--border); border-radius:18px; padding:28px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:800; font-size:18px; margin-bottom:18px; }
.brand-dot { width:32px; height:32px; border-radius:9px; background:var(--accent); display:grid; place-items:center; color:#111; }
.field { margin-bottom:12px; }
.field label { display:block; font-size:12px; color:var(--muted); margin-bottom:6px; }
.msg-err { color:#fca5a5; font-size:13px; margin-top:8px; }
.msg-ok { color:#86efac; font-size:13px; margin-top:8px; }
.app-shell { display:grid; grid-template-columns:245px 1fr; height:100vh; overflow:hidden; }
.sidebar { background:var(--panel); border-right:1px solid var(--border); padding:18px 12px; display:flex; flex-direction:column; gap:6px; height:100vh; overflow-y:auto; }
.nav-label { font-size:11px; color:var(--muted); letter-spacing:.08em; padding:10px 10px 4px; text-transform:uppercase; }
.nav-item { position:relative; display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:10px; color:var(--muted); background:transparent; text-align:left; width:100%; transition:background .16s ease, color .16s ease, transform .14s ease; }
.nav-item.active,.nav-item:hover { background:rgba(245,158,11,.11); color:var(--text); }
.nav-item.active { color:#fde68a; font-weight:600; background:linear-gradient(90deg, rgba(245,158,11,.18), rgba(236,72,153,.06)); box-shadow:inset 0 0 0 1px rgba(245,158,11,.2); }
.nav-item.active::before { content:""; position:absolute; left:0; top:20%; bottom:20%; width:3px; border-radius:0 4px 4px 0; background:linear-gradient(180deg, #f59e0b, #ec4899); }
.main-area { display:flex; flex-direction:column; height:100vh; overflow:hidden; background:radial-gradient(700px circle at 12% 0%, rgba(245,158,11,0.07), transparent 55%), radial-gradient(620px circle at 92% 18%, rgba(236,72,153,0.06), transparent 55%), radial-gradient(680px circle at 50% 100%, rgba(99,102,241,0.06), transparent 60%), var(--bg); }
.topbar { height:64px; flex-shrink:0; border-bottom:1px solid var(--border); background:var(--panel); padding:0 22px; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.topbar-right { display:flex; align-items:center; gap:10px; }
.pill { background:var(--panel2); border:1px solid var(--border); padding:7px 12px; border-radius:999px; font-size:13px; display:flex; align-items:center; gap:6px; }
.content { padding:22px; max-width:1280px; width:100%; margin:0 auto; flex:1; overflow-y:auto; }
.card { background:var(--panel); border:1px solid var(--border); border-radius:14px; padding:18px; margin-bottom:16px; min-width:0; }
.grid-2 { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.grid-emotes { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:12px; }
.emote-card { background:var(--panel2); border:1px solid var(--border); border-radius:12px; padding:12px; text-align:center; }
.emote-name { font-size:13px; font-weight:600; margin-bottom:8px; }
.dpad { display:grid; grid-template-columns:repeat(3,44px); gap:6px; justify-content:center; }
.dpad button { height:44px; background:var(--panel2); color:var(--text); border:1px solid var(--border); font-weight:700; }
.chip { display:inline-flex; align-items:center; gap:6px; background:var(--panel2); border:1px solid var(--border); border-radius:999px; padding:5px 10px; font-size:12px; margin:3px; }
.log-box { background:#0a0c10; border:1px solid var(--border); border-radius:10px; padding:12px; font-family:ui-monospace,monospace; font-size:12px; max-height:240px; overflow-y:auto; line-height:1.5; }
.badge-on { color:#86efac; background:rgba(34,197,94,.14); padding:3px 9px; border-radius:999px; font-size:12px; }
.badge-off { color:#fca5a5; background:rgba(239,68,68,.14); padding:3px 9px; border-radius:999px; font-size:12px; }
.badge-stop { color:#fdba74; background:rgba(251,146,60,.16); padding:3px 9px; border-radius:999px; font-size:12px; }
.modal-bg { position:fixed; inset:0; background:rgba(0,0,0,.7); display:grid; place-items:center; z-index:50; padding:20px; }
.modal { background:var(--panel); border:1px solid var(--border); border-radius:16px; padding:22px; width:100%; max-width:480px; }
@media (max-width:900px) { .app-shell { grid-template-columns:1fr; height:auto; overflow:visible; } .sidebar,.main-area,.content { height:auto; overflow:visible; } .grid-2,.grid-3 { grid-template-columns:1fr; } }

select { appearance:none; -webkit-appearance:none; color-scheme:dark; padding:10px 38px 10px 14px; background-color:#111622; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"), linear-gradient(180deg,rgba(255,255,255,0.03),rgba(255,255,255,0)); background-repeat:no-repeat, no-repeat; background-position:right 12px center, 0 0; border:1px solid var(--border); border-radius:11px; color:var(--text); font-weight:500; cursor:pointer; transition:border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
select:hover { border-color:rgba(245,158,11,.45); background-color:#151b2a; }
select:focus { outline:none; border-color:#f59e0b; box-shadow:0 0 0 3px rgba(245,158,11,.16); }
select option { background:#111622; color:var(--text); padding:8px; }
#botSelect { width:auto; min-width:220px; max-width:300px; padding:8px 34px 8px 12px; font-size:13px; font-weight:600; }

.bot-picker { position:relative; display:inline-block; }
.bot-picker-btn { display:flex; align-items:center; justify-content:space-between; gap:10px; min-width:250px; background:linear-gradient(180deg,#151a27,#0f131d); border:1px solid var(--border); color:var(--text); border-radius:11px; padding:9px 14px; font-size:13px; font-weight:600; transition:border-color .18s, box-shadow .18s, transform .12s; }
.bot-picker-btn:hover { border-color:rgba(245,158,11,.5); box-shadow:0 4px 18px rgba(0,0,0,.35); }
.bot-picker-btn:focus-visible { outline:none; border-color:#f59e0b; box-shadow:0 0 0 3px rgba(245,158,11,.16); }
.bot-picker-caret { color:var(--amber); font-size:12px; transition:transform .15s; }
.bot-picker-menu { position:absolute; top:calc(100% + 7px); left:0; min-width:100%; max-height:300px; overflow-y:auto; background:rgba(16,20,31,.98); backdrop-filter:blur(12px); border:1px solid rgba(245,158,11,.25); border-radius:13px; padding:6px; box-shadow:0 18px 44px rgba(0,0,0,.65); z-index:45; display:flex; flex-direction:column; gap:4px; }
.bot-picker-item { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; text-align:left; background:transparent; color:var(--text); padding:9px 11px; border-radius:9px; font-size:13px; transition:background .14s, border-color .14s; border:1px solid transparent; }
.bot-picker-item:hover { background:rgba(255,255,255,.06); }
.bot-picker-item.active { background:linear-gradient(135deg,rgba(245,158,11,.16),rgba(236,72,153,.12)); border-color:rgba(245,158,11,.42); color:#fde68a; }
.bot-picker-meta { display:flex; align-items:center; gap:7px; font-weight:600; }
.bot-picker-type { font-size:10.5px; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; background:rgba(255,255,255,.06); padding:2px 6px; border-radius:6px; }

.wa-layout { display:grid; grid-template-columns:330px 1fr; gap:16px; height:calc(100vh - 120px); min-height:580px; }
.wa-list { display:flex; flex-direction:column; gap:8px; flex:1; overflow-y:auto; }
.wa-ticket { text-align:left; background:#0e1118; border:1px solid var(--border); border-radius:10px; padding:10px 12px; color:var(--text); }
.wa-ticket.active { border-color:rgba(34,197,94,.55); background:rgba(34,197,94,.08); }
.wa-chat { display:flex; flex-direction:column; background:#0b141a; border:1px solid var(--border); border-radius:14px; overflow:hidden; height:100%; }
.wa-header { padding:12px 16px; background:#111b21; border-bottom:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; }
.wa-messages { flex:1; padding:16px; display:flex; flex-direction:column; gap:10px; overflow-y:auto; }
.wa-row { display:flex; width:100%; }
.wa-row.me { justify-content:flex-end; }
.wa-row.them { justify-content:flex-start; }
.wa-bubble { max-width:78%; padding:9px 13px; border-radius:12px; font-size:13.5px; line-height:1.45; }
.wa-row.me .wa-bubble { background:#005c4b; color:#e9edef; border-top-right-radius:3px; }
.wa-row.them .wa-bubble { background:#202c33; color:#e9edef; border-top-left-radius:3px; }
.wa-sender { font-size:11px; font-weight:700; margin-bottom:3px; color:#86efac; display:flex; gap:6px; align-items:center; }
.wa-row.me .wa-sender { color:#a7f3d0; }
.wa-mode { font-weight:500; font-size:10px; background:rgba(255,255,255,.12); padding:1px 6px; border-radius:999px; color:#d1d5db; }
.wa-time { font-size:10px; color:rgba(233,237,239,.6); text-align:right; margin-top:4px; }
.wa-compose { display:flex; gap:8px; padding:10px 12px; background:#111b21; border-top:1px solid var(--border); }
@media (max-width:900px) { .wa-layout { grid-template-columns:1fr; } }

.wa-sidebar { display:flex; flex-direction:column; gap:12px; height:100%; min-height:0; }
.wa-sidebar .card { margin-bottom:0; }
.wa-tickets-card { flex:1; display:flex; flex-direction:column; min-height:0; }
#newTicketMsg { resize:none; height:140px; line-height:1.45; }
.wa-ticket-top { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.wa-ticket-badge { white-space:nowrap; font-size:10px; font-weight:700; padding:3px 8px; border-radius:999px; background:var(--panel2); border:1px solid var(--border); color:#a7f3d0; }
.type-picker { position:relative; width:100%; margin-bottom:10px; }
.type-picker-btn { display:flex; align-items:center; justify-content:space-between; width:100%; background:#0e1118; border:1px solid var(--border); color:var(--text); border-radius:10px; padding:10px 12px; font-size:13px; font-weight:600; }
.type-picker-btn:hover { border-color:rgba(255,255,255,.28); }
.type-picker-menu { position:absolute; top:calc(100% + 6px); left:0; right:0; background:#121622; border:1px solid var(--border); border-radius:12px; padding:6px; box-shadow:0 16px 40px rgba(0,0,0,.55); z-index:45; display:flex; flex-direction:column; gap:4px; }
.type-picker-opt { display:flex; align-items:center; justify-content:space-between; width:100%; text-align:left; background:transparent; color:var(--text); padding:9px 10px; border-radius:8px; font-size:13px; font-weight:500; }
.type-picker-opt:hover { background:rgba(255,255,255,.06); }
.type-picker-opt.active { background:rgba(34,197,94,.14); color:#86efac; }

.wa-closed-bar { padding:12px 16px; background:#111b21; border-top:1px solid var(--border); display:flex; flex-direction:column; gap:8px; align-items:center; text-align:center; }
.wa-stars { display:flex; gap:6px; justify-content:center; }
.wa-star { background:var(--panel2); border:1px solid var(--border); color:#fbbf24; font-size:18px; padding:6px 11px; border-radius:8px; transition:transform .12s, background .12s; }
.wa-star:hover { transform:scale(1.08); background:rgba(251,191,36,.16); }

.bal-red { color:#fca5a5 !important; border-color:rgba(239,68,68,.55) !important; background:rgba(239,68,68,.14) !important; }
.bal-yellow { color:#fde047 !important; border-color:rgba(234,179,8,.55) !important; background:rgba(234,179,8,.14) !important; }
.bal-green { color:#86efac !important; border-color:rgba(34,197,94,.55) !important; background:rgba(34,197,94,.14) !important; }
.bal-vip { color:#fff !important; border-color:rgba(251,191,36,.8) !important; background:linear-gradient(135deg,rgba(251,191,36,.28),rgba(168,85,247,.32)) !important; box-shadow:0 0 14px rgba(251,191,36,.28); }

.bot-copy-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(235px,1fr)); gap:8px; margin-top:10px; max-height:240px; overflow-y:auto; }
.bot-copy-card { display:flex; align-items:flex-start; gap:9px; padding:10px 12px; background:#0e1118; border:1px solid var(--border); border-radius:11px; cursor:pointer; transition:border-color .15s, background .15s; }
.bot-copy-card:hover { border-color:rgba(245,158,11,.45); }
.bot-copy-card:has(input:checked) { border-color:rgba(245,158,11,.7); background:rgba(245,158,11,.09); }

.content.locked-content { overflow:hidden !important; position:relative; }
.expired-lock-overlay { position:absolute; inset:0; z-index:30; display:grid; place-items:center; background:rgba(11,13,18,.78); backdrop-filter:blur(7px); padding:24px; }
.expired-lock-card { background:var(--panel); border:1px solid rgba(239,68,68,.4); border-radius:18px; padding:30px 28px; max-width:420px; width:100%; text-align:center; box-shadow:0 24px 60px rgba(0,0,0,.65); }


/* Modal Select Polish */
.modal-card select,
#buyModal select,
#renewModal select {
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
  width: 100%;
  padding: 11px 38px 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: rgba(15, 18, 28, 0.95);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa4bf' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  color: #f3f5fc;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.modal-card select:hover,
#buyModal select:hover,
#renewModal select:hover {
  border-color: rgba(124, 123, 255, 0.55);
  background-color: rgba(21, 25, 39, 0.98);
}
.modal-card select:focus,
#buyModal select:focus,
#renewModal select:focus {
  outline: none;
  border-color: #7c7bff;
  box-shadow: 0 0 0 3px rgba(124, 123, 255, 0.22);
}
.modal-card select option {
  background: #121522;
  color: #f3f5fc;
  padding: 10px;
}


/* Stylish Custom Select Dropdowns for Buy & Renew Modals */
.cselect-wrap { position: relative; width: 100%; }
.cselect-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-radius: 10px;
  background: #0e1118; border: 1px solid var(--border); color: var(--text);
  font-size: 14px; font-weight: 500; text-align: left; cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.cselect-btn:hover { border-color: rgba(245, 158, 11, 0.55); background: #131722; }
.cselect-wrap.open .cselect-btn {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}
.cselect-arrow { color: var(--muted); transition: transform .18s ease; flex-shrink: 0; }
.cselect-wrap.open .cselect-arrow { transform: rotate(180deg); color: #f59e0b; }
.cselect-menu {
  display: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 90;
  background: #13161f; border: 1px solid #2d3448; border-radius: 12px;
  padding: 6px; max-height: 230px; overflow-y: auto;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.65);
}
.cselect-wrap.open .cselect-menu { display: block; }
.cselect-opt {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 8px; background: transparent; color: var(--text);
  font-size: 13.5px; text-align: left; cursor: pointer;
  transition: background .14s ease, color .14s ease;
}
.cselect-opt:hover { background: rgba(245, 158, 11, 0.14); color: #fff; }
.cselect-opt.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(236, 72, 153, 0.22));
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fde68a; font-weight: 600;
}


/* Premium UI Polish */
@keyframes adibotFadeSlide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.topbar, .sidebar {
  background: rgba(19, 22, 31, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.modal-bg, .modal-backdrop {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(5, 7, 12, 0.72);
  backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 20px;
}
.modal, .modal-card {
  background: rgba(19, 22, 31, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 22px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  animation: adibotFadeSlide .2s ease-out;
}
.card {
  transition: border-color .2s ease, box-shadow .2s ease;
  animation: adibotFadeSlide .18s ease-out;
}
.card:hover {
  border-color: rgba(245, 158, 11, 0.28);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.06), 0 4px 16px rgba(236, 72, 153, 0.05);
}
.exp-bar-track {
  width: 100%; max-width: 260px; height: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); overflow: hidden; margin: 8px 0 6px;
}
.rental-card .exp-bar-track {
  max-width: 100%;
  margin: 2px 0 4px;
}
.exp-bar-fill { height: 100%; border-radius: 999px; transition: width .4s ease; }

/* Corner Toast Stack */
#toastStack {
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  display: flex; flex-direction: column; gap: 10px; max-width: 340px; pointer-events: none;
}
.adibot-toast {
  pointer-events: auto;
  background: rgba(19, 22, 31, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(134, 239, 172, 0.35);
  border-left: 3px solid #22c55e;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  animation: adibotFadeSlide .2s ease-out;
  font-size: 13px;
}
.adibot-toast.err {
  border-color: rgba(252, 165, 165, 0.4);
  border-left-color: #ef4444;
}
.adibot-toast-title { font-weight: 700; margin-bottom: 3px; font-size: 13.5px; }
.adibot-toast-msg { color: var(--muted); line-height: 1.4; }


/* Global Sleek Scrollbars */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 158, 11, 0.35) rgba(11, 13, 18, 0.4);
}
*::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
*::-webkit-scrollbar-track {
  background: rgba(11, 13, 18, 0.45);
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.45), rgba(236, 72, 153, 0.45));
  border-radius: 999px;
  border: 1px solid rgba(19, 22, 31, 0.6);
}
*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.8), rgba(236, 72, 153, 0.8));
}

.mobile-menu-btn{display:none;background:var(--panel2);color:var(--text);border:1px solid var(--border);padding:7px 11px;font-size:16px;line-height:1;border-radius:9px}
.mobile-nav-backdrop{position:fixed;inset:0;z-index:75;background:rgba(0,0,0,.6);backdrop-filter:blur(4px)}
.mobile-bottom-nav{display:none}
.install-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;margin-bottom:12px;border-radius:12px;background:linear-gradient(135deg,rgba(245,158,11,.14),rgba(236,72,153,.14));border:1px solid rgba(245,158,11,.35);font-size:13px}
@media (max-width:900px){
  input,select,textarea{font-size:16px !important}
  .mobile-menu-btn{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
  .topbar{height:auto;min-height:58px;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;flex-wrap:wrap;gap:8px}
  .topbar-right{flex-wrap:wrap;gap:6px}
  .content{padding:14px;padding-bottom:calc(82px + env(safe-area-inset-bottom))}
  .sidebar{position:fixed;top:0;bottom:0;left:-275px;width:255px;z-index:80;transition:left .22s ease;padding-top:calc(18px + env(safe-area-inset-top));box-shadow:12px 0 36px rgba(0,0,0,.65)}
  .sidebar.mobile-open{left:0}
  .mobile-bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;position:fixed;left:0;right:0;bottom:0;z-index:70;background:rgba(19,22,31,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--border);padding:6px 8px calc(6px + env(safe-area-inset-bottom))}
  .mbn-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:transparent;color:var(--muted);font-size:11px;padding:6px 2px;border-radius:10px}
  .mbn-btn span:first-child{font-size:17px}
  .mbn-btn.active{color:var(--amber);background:rgba(245,158,11,.12);font-weight:600}
}

.notice-board{display:flex;flex-direction:column;gap:8px;padding:12px 20px 0;}
.notice-board.hidden{display:none;}
.notice-banner{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:12px;background:rgba(25,29,40,0.92);border:1px solid var(--border);border-left:4px solid #f59e0b;backdrop-filter:blur(10px);}
.notice-banner.sev-critical{border-left-color:#ef4444;background:rgba(239,68,68,0.1);}
.notice-banner.sev-maintenance{border-left-color:#ec4899;background:rgba(236,72,153,0.09);}
.notice-banner.sev-warning{border-left-color:#f59e0b;background:rgba(245,158,11,0.09);}
.notice-banner.sev-info{border-left-color:#38bdf8;background:rgba(56,189,248,0.08);}
.notice-badge{display:inline-block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;padding:2px 7px;border-radius:999px;background:rgba(255,255,255,0.08);margin-right:6px;}
.notice-close{background:none;border:none;color:var(--muted,#94a3b8);cursor:pointer;font-size:15px;line-height:1;padding:2px 6px;border-radius:6px;}
.notice-close:hover{color:#fff;background:rgba(255,255,255,0.08);}

.notice-banner.sev-dev{border-left-color:#8b5cf6;background:rgba(139,92,246,0.1);}

/* UI Modal & Scrollbar Polish */
*{scrollbar-width:thin;scrollbar-color:rgba(148,163,184,0.35) transparent;}
::-webkit-scrollbar{width:7px;height:7px;}
::-webkit-scrollbar-track{background:transparent;}
::-webkit-scrollbar-thumb{background:rgba(148,163,184,0.3);border-radius:999px;}
::-webkit-scrollbar-thumb:hover{background:rgba(148,163,184,0.5);}
.ui-modal-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(4,7,15,0.72);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:16px;}
.ui-modal-card{width:100%;max-width:420px;background:rgba(17,22,36,0.96);border:1px solid rgba(255,255,255,0.12);border-radius:16px;padding:20px;box-shadow:0 24px 60px rgba(0,0,0,0.55);}
.ui-modal-card h3{margin:0 0 8px;font-size:17px;}
.ui-modal-card p{margin:0 0 14px;font-size:13px;color:var(--muted,#94a3b8);line-height:1.45;}
.ui-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;flex-wrap:wrap;}
.cselect-menu{max-height:260px;overflow-y:auto;}

.topbar-right .cselect-wrap { width: auto; min-width: 92px; flex-shrink: 0; }
.topbar-right .cselect-btn { padding: 6px 10px; border-radius: 999px; font-size: 12.5px; }
.topbar-right button, .topbar-right .pill { white-space: nowrap; flex-shrink: 0; }

/* Premium Login */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(600px circle at 20% 20%, rgba(245, 158, 11, 0.14), transparent 60%),
    radial-gradient(520px circle at 82% 80%, rgba(236, 72, 153, 0.12), transparent 60%),
    #090b10;
}
.login-card {
  width: 100%;
  max-width: 420px;
  background: rgba(17, 20, 30, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 28px 26px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(245, 158, 11, 0.08) inset;
  animation: adibotFadeSlide .28s ease-out;
}
.login-card .brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 20px;
}
.login-logo-ring {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  padding: 3px;
  background: linear-gradient(135deg, #f59e0b, #ec4899);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}
.login-logo-ring img {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  object-fit: cover;
  display: block;
}
.login-tip-box {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.2);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}

.login-greet {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 14px;
}
.login-greet img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(245, 158, 11, 0.55);
  background: #131722;
}
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 40px; }
.pass-eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 15px;
  padding: 4px 6px;
}
.pass-eye:hover { color: #fff; }
.otp-boxes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.otp-box {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  padding: 10px 0 !important;
  border-radius: 10px !important;
  font-variant-numeric: tabular-nums;
}
.login-help-footer {
  margin-top: 12px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
}
.login-help-footer a { color: #93c5fd; text-decoration: underline; }

/* Global sleek checkboxes, toggle pills & button polish */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: #0e1118;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  vertical-align: middle;
  transition: background .16s ease, border-color .16s ease, transform .1s ease;
}
input[type="checkbox"]:hover {
  border-color: rgba(245, 158, 11, 0.7);
}
input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: transparent;
}
input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #111;
  font-size: 11.5px;
  font-weight: 900;
  line-height: 1;
}

/* Toggle switch style only for boolean rule/setting checkboxes */
input[type="checkbox"][id^="mc"],
input[type="checkbox"][id^="sm"],
input[type="checkbox"][id^="afk"] {
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #1f2433;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
input[type="checkbox"][id^="mc"]::after,
input[type="checkbox"][id^="sm"]::after,
input[type="checkbox"][id^="afk"]::after {
  content: "";
  position: absolute;
  inset: auto;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #9ca3af;
  transition: transform .18s ease, background .18s ease;
}
input[type="checkbox"][id^="mc"]:checked,
input[type="checkbox"][id^="sm"]:checked,
input[type="checkbox"][id^="afk"]:checked {
  background: var(--accent);
  border-color: transparent;
}
input[type="checkbox"][id^="mc"]:checked::after,
input[type="checkbox"][id^="sm"]:checked::after,
input[type="checkbox"][id^="afk"]:checked::after {
  transform: translateX(14px);
  background: #ffffff;
}

label:has(> input[type="checkbox"][id^="mc"]),
label:has(> input[type="checkbox"][id^="sm"]),
label:has(> input[type="checkbox"][id^="afk"]) {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
  transition: border-color .18s ease, background .18s ease;
}
label:has(> input[type="checkbox"][id^="mc"]:checked),
label:has(> input[type="checkbox"][id^="sm"]:checked),
label:has(> input[type="checkbox"][id^="afk"]:checked) {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.12);
}

.btn-grad, .btn-dark, .btn-green, .btn-red {
  transition: transform .12s ease, filter .18s ease, box-shadow .18s ease;
}
.btn-grad:hover, .btn-dark:hover, .btn-green:hover, .btn-red:hover {
  filter: brightness(1.08);
}
.btn-grad:active, .btn-dark:active, .btn-green:active, .btn-red:active {
  transform: scale(0.97);
}

/* Fix bot-picker dropdown stacking & overlap */
.topbar { position: relative; z-index: 600 !important; overflow: visible !important; }
.bot-picker { position: relative; z-index: 650; }
.bot-picker-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 270px;
  max-width: min(360px, 90vw);
  max-height: 320px;
  overflow-y: auto;
  z-index: 1200 !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none !important; margin: 0 !important; }
input[type="number"] { -moz-appearance: textfield !important; appearance: textfield !important; }

/* Premium Glassmorphic Polish & Micro-Interactions */
@keyframes adibotPulseDot {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  50% { transform: scale(1.12); opacity: 0.9; box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  flex-shrink: 0;
  animation: adibotPulseDot 2s infinite;
}
.live-dot.out {
  background: #f87171;
  animation: none;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}
.premium-hero-card {
  margin-bottom: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.82) 48%, rgba(88, 101, 242, 0.11) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.premium-hero-card:hover {
  border-color: rgba(134, 239, 172, 0.36);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.balance-choc-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(220px, 1fr) auto;
  gap: 18px;
  align-items: center;
}
.balance-choc-grid.no-choc {
  grid-template-columns: 1fr auto;
}
.balance-choc-col.with-divider {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.rate-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--text);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.rate-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(134, 239, 172, 0.45);
  background: rgba(16, 185, 129, 0.12);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}
.rate-pill.choc-rate {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.48);
  color: #fef3c7;
  font-size: 14.5px;
  font-weight: 800;
  padding: 5px 13px;
}
.rate-pill.choc-rate:hover {
  border-color: rgba(251, 191, 36, 0.78);
  background: rgba(245, 158, 11, 0.24);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.18);
}
.avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
  transition: transform .16s ease, box-shadow .16s ease;
}
.avail-pill:hover {
  transform: translateY(-1.5px);
}
.avail-pill.out {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}
.discord-contact-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(12, 16, 28, 0.72);
  border: 1px solid rgba(124, 123, 255, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  min-width: 218px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.discord-contact-box:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 123, 255, 0.52);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.rental-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
  gap: 14px;
}
.rental-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.045) 0%, rgba(15, 19, 31, 0.82) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.rental-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(148,163,184,0.35), transparent);
}
.rental-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.rental-card.st-active { border-color: rgba(34, 197, 94, 0.28); }
.rental-card.st-active::before { background: linear-gradient(90deg, #22c55e, #34d399, transparent); }
.rental-card.st-active:hover { border-color: rgba(74, 222, 128, 0.54); }
.rental-card.st-stopped { border-color: rgba(251, 146, 60, 0.3); }
.rental-card.st-stopped::before { background: linear-gradient(90deg, #f59e0b, #fb923c, transparent); }
.rental-card.st-stopped:hover { border-color: rgba(251, 146, 60, 0.56); }
.rental-card.st-expired { border-color: rgba(239, 68, 68, 0.3); }
.rental-card.st-expired::before { background: linear-gradient(90deg, #ef4444, #f87171, transparent); }
.rental-card.st-expired:hover { border-color: rgba(248, 113, 113, 0.56); }
.rental-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(236,72,153,0.2));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.26);
}
.rental-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rental-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(9, 12, 20, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12px;
}
.rental-meta-room {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-weight: 500;
}
.rental-meta-players {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.rental-actions-primary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.rental-actions-primary button {
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.rental-actions-primary .btn-green:hover {
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.rental-actions-primary .btn-red:hover {
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.rental-actions-primary .btn-dark:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}
.rental-actions-primary button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.rental-actions-secondary {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.rental-actions-secondary button, .rental-actions-secondary a {
  padding: 5px 9px;
  font-size: 11.5px;
  border-radius: 8px;
}
.ov-hero-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.ov-hero-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
.ov-avatar-showcase {
  width: 112px;
  height: 138px;
  padding: 6px;
  border-radius: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, rgba(245, 158, 11, 0.16), rgba(11, 14, 22, 0.85) 75%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ov-avatar-showcase:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 14px 32px rgba(245, 158, 11, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.ov-avatar-showcase img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.bot-avatar-modal-stage {
  height: 420px;
  max-height: 65vh;
  padding: 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 38%, rgba(245, 158, 11, 0.18), rgba(10, 12, 20, 0.92) 72%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.bot-avatar-modal-stage img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 720px) {
  .ov-hero-card { flex-direction: column; align-items: stretch; }
  .ov-avatar-showcase { width: 100%; height: 150px; }
}
@media (max-width: 980px) {
  .balance-choc-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .balance-choc-col.with-divider {
    padding-left: 0;
    padding-top: 12px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .discord-contact-box {
    width: 100%;
    min-width: 0;
  }
}
.nav-badge-slot { display: inline-flex; align-items: center; margin-left: 6px; }
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #f43f5e);
  box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.55);
  animation: udBadgePulse 2s ease-in-out infinite;
}
@keyframes udBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(244, 63, 94, 0); }
}

/* Refined Organized Upper Nav Bar */
.topbar {
  height: 62px;
  padding: 0 20px;
  background: rgba(14, 17, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.bot-context-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 8px 3px 3px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
}
.bot-context-group .bot-picker-btn {
  height: 34px;
  min-width: 220px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(20, 25, 38, 0.9);
  font-size: 13px;
  font-weight: 600;
}
.bot-context-group .bot-picker-btn:hover {
  border-color: rgba(245, 158, 11, 0.45);
}
.topbar-status-slot {
  display: inline-flex;
  align-items: center;
}
.topbar-status-slot .badge-on,
.topbar-status-slot .badge-off,
.topbar-status-slot .badge-stop {
  height: 26px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar-utilities {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}
.topbar-wallet-pill {
  height: 32px;
  padding: 0 11px;
  border-radius: 9px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  gap: 5px;
}
.topbar-wallet-pill b {
  color: #bbf7d0;
  font-weight: 700;
}
.topbar-right .cselect-wrap {
  min-width: 78px;
}
.topbar-right .cselect-btn,
.topbar-lang-sel {
  height: 32px !important;
  padding: 0 10px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.topbar-right .cselect-btn:hover {
  border-color: rgba(245, 158, 11, 0.4) !important;
}
.topbar-icon-btn {
  width: 32px;
  height: 32px;
  padding: 0 !important;
  border-radius: 9px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: border-color 0.16s, background 0.16s, transform 0.12s;
}
.topbar-icon-btn:hover {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}
.topbar-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.topbar-buy-btn {
  height: 36px;
  padding: 0 15px !important;
  border-radius: 10px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.22);
  transition: transform 0.14s, box-shadow 0.18s, filter 0.16s;
}
.topbar-buy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.28);
  filter: brightness(1.04);
}
.topbar-user-pill {
  height: 36px;
  padding: 0 12px 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  font-weight: 600;
  gap: 7px;
}
.topbar-user-pill img {
  width: 24px !important;
  height: 24px !important;
  border-radius: 999px;
  object-fit: cover;
}
@media (max-width: 900px) {
  .topbar { height: auto; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; gap: 8px; }
  .topbar-divider { display: none; }
  .bot-context-group { max-width: 100%; }
  .bot-context-group .bot-picker-btn { min-width: 160px; }
  .topbar-right { width: 100%; justify-content: space-between; gap: 8px; }
}
