/* ═══════════════════════════════════════════════════════
   SMM TELEGRAM — AUTH MODAL + USER MENU + PROFILE
   ═══════════════════════════════════════════════════════ */

/* ── MODAL OVERLAY ── */
.smm-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(4, 9, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.smm-modal-overlay.open {
  opacity: 1; pointer-events: all;
}

/* ── MODAL BOX ── */
.smm-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.4rem 2.2rem 2rem;
  width: 100%; max-width: 480px;
  position: relative;
  transform: translateY(24px) scale(.97);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(0,212,255,.06);
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* Prevent body scroll when modal open */
body.smm-modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
.smm-modal-overlay.open .smm-modal {
  transform: translateY(0) scale(1);
}

/* ── CLOSE ── */
.smm-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--bg-glass); border: 1px solid var(--border);
  color: var(--text-muted); border-radius: 50%;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; font-size: .9rem;
}
.smm-modal-close:hover { background: rgba(255,255,255,.08); color: white; }

/* ── BRAND ── */
.smm-modal-brand {
  font-family: var(--heading); font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 1.4rem; text-align: center;
}
.smm-modal-brand span { -webkit-text-fill-color: white; }

/* ── TABS ── */
.smm-auth-tabs {
  display: flex; background: rgba(255,255,255,.04);
  border: 1px solid var(--border); border-radius: 14px;
  padding: 4px; gap: 4px; margin-bottom: 1.6rem;
}
.smm-auth-tab {
  flex: 1; background: transparent; border: none; color: var(--text-muted);
  border-radius: 10px; padding: .55rem; font-weight: 600; font-size: .875rem;
  cursor: pointer; transition: all .25s;
}
.smm-auth-tab.active {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: white; box-shadow: 0 4px 16px rgba(0,94,255,.35);
}

/* ── PANES ── */
.smm-auth-pane { display: none; }
.smm-auth-pane.active { display: block; }

.smm-auth-sub {
  color: var(--text-muted); font-size: .875rem; margin-bottom: 1.4rem; text-align: center;
}

/* ── FIELDS ── */
.smm-field { margin-bottom: 1rem; }
.smm-field label {
  display: block; font-size: .8rem; font-weight: 600; color: var(--text-muted);
  margin-bottom: .4rem; letter-spacing: .02em;
}
.smm-field label i { margin-right: .3rem; }
.smm-field input[type="text"],
.smm-field input[type="email"],
.smm-field input[type="password"],
.smm-field input[type="tel"],
.smm-field input[type="url"],
.smm-field textarea,
.smm-field select {
  width: 100%; background: rgba(255,255,255,.04);
  border: 1px solid var(--border); border-radius: 12px;
  color: white; padding: .7rem 1rem; font-size: .9rem;
  font-family: var(--body); transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.smm-field input:focus,
.smm-field textarea:focus,
.smm-field select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,212,255,.12);
}
.smm-field input::placeholder { color: var(--text-muted); opacity: .7; }

.smm-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 480px) { .smm-field-row { grid-template-columns: 1fr; } }

/* ── PASSWORD EYE ── */
.smm-pass-wrap { position: relative; }
.smm-pass-wrap input { padding-right: 2.8rem; }
.smm-eye {
  position: absolute; right: .8rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  font-size: .95rem; transition: color .2s; padding: 0;
}
.smm-eye:hover { color: var(--accent); }

/* ── PASSWORD STRENGTH ── */
.smm-strength-wrap {
  height: 4px; background: rgba(255,255,255,.07); border-radius: 99px;
  margin-top: .5rem; overflow: hidden;
}
.smm-strength-bar {
  height: 100%; width: 0; border-radius: 99px;
  transition: width .4s, background .4s;
}
.smm-strength-label {
  font-size: .72rem; font-weight: 600; margin-top: .3rem; display: block;
}

/* ── CHECKBOX ── */
.smm-check-label {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: var(--text-muted); cursor: pointer;
}
.smm-check-label input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer;
}
.smm-forgot { font-size: .82rem; color: var(--accent); text-decoration: none; font-weight: 600; }
.smm-forgot:hover { text-decoration: underline; }

/* ── ALERT ── */
.smm-alert {
  border-radius: 10px; padding: .65rem 1rem; font-size: .84rem;
  font-weight: 600; margin-bottom: .9rem; display: none;
}
.smm-alert.error { display: block; background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; }
.smm-alert.success { display: block; background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.3); color: #6ee7b7; }

/* ── SUBMIT BUTTON ── */
.smm-btn-submit {
  width: 100%; padding: .8rem;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border: none; border-radius: 12px; color: white;
  font-family: var(--heading); font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: all .25s;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  box-shadow: 0 6px 24px rgba(0,94,255,.35);
}
.smm-btn-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 32px rgba(0,212,255,.45); }
.smm-btn-submit:disabled { opacity: .6; cursor: default; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
.spin { display: inline-block; animation: spin .7s linear infinite; }

/* ── DIVIDER ── */
.smm-auth-divider {
  display: flex; align-items: center; gap: .8rem;
  color: var(--text-muted); font-size: .78rem; margin: 1.2rem 0;
}
.smm-auth-divider::before,
.smm-auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ── SOCIAL BUTTONS ── */
.smm-social-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.smm-social-btn {
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  color: var(--text-muted); border-radius: 10px; padding: .6rem;
  font-size: .84rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  transition: all .2s;
}
.smm-social-btn:hover:not(:disabled) { background: rgba(255,255,255,.08); color: white; border-color: rgba(255,255,255,.15); }
.smm-social-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ── SUCCESS STATE ── */
.smm-success-icon {
  text-align: center; font-size: 3.5rem; color: var(--green);
  margin: .5rem 0 1rem; animation: popIn .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes popIn { from { transform: scale(0) rotate(-15deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
.smm-success-title { text-align: center; font-family: var(--heading); font-size: 1.6rem; margin-bottom: .5rem; }
.smm-success-sub { text-align: center; color: var(--text-muted); font-size: .9rem; }

/* ════════════════════════════════════════
   USER MENU / DROPDOWN
   ════════════════════════════════════════ */
.smm-user-menu { position: relative; }
.smm-avatar-btn {
  display: flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  border-radius: 40px; padding: .3rem .8rem .3rem .3rem;
  cursor: pointer; transition: all .2s;
}
.smm-avatar-btn:hover { background: rgba(255,255,255,.09); border-color: rgba(0,212,255,.25); }
.smm-user-name { font-size: .85rem; font-weight: 600; color: white; }

.smm-avatar-wallet {
  margin-left: .25rem;
  padding: .22rem .48rem;
  border-radius: 999px;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.22);
  color: #34d399;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
}

.smm-dropdown {
  position: absolute; top: calc(100% + .6rem); right: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; min-width: 230px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: all .25s cubic-bezier(.4,0,.2,1); z-index: 500;
}
.smm-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }

.smm-dropdown-header {
  padding: 1rem 1.1rem .8rem; border-bottom: 1px solid var(--border);
}
.smm-drop-name { font-weight: 700; font-size: .9rem; color: white; }
.smm-drop-email { font-size: .75rem; color: var(--text-muted); margin-top: .15rem; }

.smm-drop-wallet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .75rem;
  padding: .72rem .8rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(16,185,129,.13), rgba(0,212,255,.08));
  border: 1px solid rgba(16,185,129,.22);
  color: var(--text-muted);
  text-decoration: none;
}
.smm-drop-wallet span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 700;
}
.smm-drop-wallet strong {
  color: #34d399;
  font-size: .95rem;
  font-weight: 900;
  white-space: nowrap;
}
.smm-drop-wallet:hover {
  color: #fff;
  border-color: rgba(16,185,129,.38);
  background: linear-gradient(135deg, rgba(16,185,129,.18), rgba(0,212,255,.12));
}

.smm-drop-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem 1.1rem; font-size: .85rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  transition: all .18s; cursor: pointer;
}
.smm-drop-item i { font-size: 1rem; width: 20px; }
.smm-drop-item:hover { background: rgba(255,255,255,.05); color: white; }
.smm-drop-divider { height: 1px; background: var(--border); margin: .3rem 0; }
.smm-drop-logout:hover { color: #fca5a5; background: rgba(239,68,68,.07); }

/* ════════════════════════════════════════
   PROFILE PAGE
   ════════════════════════════════════════ */
.profile-hero {
  background: linear-gradient(135deg, rgba(0,94,255,.15), rgba(0,212,255,.08));
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 0;
}
.profile-cover {
  position: relative; height: 180px; border-radius: 20px 20px 0 0;
  background: linear-gradient(135deg, rgba(0,94,255,.4), rgba(124,58,237,.3), rgba(0,212,255,.25));
  overflow: hidden; margin-bottom: 0;
}
.profile-cover-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.profile-avatar-wrap {
  position: absolute; bottom: -48px; left: 2rem;
  display: flex; align-items: flex-end; gap: 1rem;
}
.profile-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  border: 4px solid var(--bg-card); object-fit: cover;
}
.profile-avatar-fallback {
  width: 96px; height: 96px; border-radius: 50%;
  border: 4px solid var(--bg-card);
  background: linear-gradient(135deg, #005eff, #00d4ff);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading); font-size: 2rem; font-weight: 800; color: white;
}
.profile-meta { padding: 3.5rem 0 1.5rem 2rem; }
.profile-name { font-family: var(--heading); font-size: 1.6rem; font-weight: 800; margin-bottom: .2rem; }
.profile-role { color: var(--accent); font-size: .85rem; font-weight: 600; }
.profile-stats { display: flex; gap: 2rem; margin-top: 1rem; flex-wrap: wrap; }
.profile-stat-val { font-family: var(--heading); font-size: 1.4rem; font-weight: 800; color: white; }
.profile-stat-lbl { font-size: .75rem; color: var(--text-muted); }

/* ── PROFILE NAV TABS ── */
.profile-nav {
  display: flex; gap: 0; border-top: 1px solid var(--border);
  padding: 0 2rem; overflow-x: auto; scrollbar-width: none;
}
.profile-nav::-webkit-scrollbar { display: none; }
.profile-nav-item {
  display: flex; align-items: center; gap: .4rem;
  padding: .9rem 1.1rem; font-size: .85rem; font-weight: 600;
  color: var(--text-muted); text-decoration: none; border-bottom: 2px solid transparent;
  white-space: nowrap; transition: all .2s; cursor: pointer; background: none; border-top: none; border-left: none; border-right: none;
}
.profile-nav-item:hover { color: white; }
.profile-nav-item.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── PROFILE CONTENT ── */
.profile-section { padding: 2rem 0; display: none; }
.profile-section.active { display: block; }

.profile-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 1.8rem; margin-bottom: 1.5rem;
}
.profile-card-title {
  font-family: var(--heading); font-size: 1.05rem; font-weight: 700;
  margin-bottom: 1.2rem; display: flex; align-items: center; gap: .5rem;
}
.profile-card-title i { color: var(--accent); }

/* ── STATS CARDS ── */
.profile-stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.psc {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.3rem 1.2rem;
  display: flex; flex-direction: column; gap: .3rem;
}
.psc-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: .4rem; }
.psc-val { font-family: var(--heading); font-size: 1.5rem; font-weight: 800; }
.psc-lbl { font-size: .75rem; color: var(--text-muted); }

/* ── WALLET CARD ── */
.wallet-balance {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border-radius: 20px; padding: 2rem; color: white; position: relative; overflow: hidden;
  margin-bottom: 1.2rem;
}
.wallet-balance::before {
  content: ''; position: absolute;
  width: 250px; height: 250px; border-radius: 50%;
  background: rgba(255,255,255,.06); top: -80px; right: -60px;
}
.wallet-bal-lbl { font-size: .8rem; opacity: .8; margin-bottom: .3rem; }
.wallet-bal-val { font-family: var(--heading); font-size: 2.4rem; font-weight: 800; }
.wallet-add-btn {
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25);
  color: white; border-radius: 10px; padding: .5rem 1.2rem;
  font-weight: 700; font-size: .85rem; cursor: pointer; transition: all .2s; margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem;
}
.wallet-add-btn:hover { background: rgba(255,255,255,.28); }

/* ── ORDERS TABLE ── */
.smm-table { width: 100%; border-collapse: collapse; }
.smm-table th {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); padding: .6rem .8rem; text-align: left;
  border-bottom: 1px solid var(--border);
}
.smm-table td {
  padding: .85rem .8rem; font-size: .85rem; border-bottom: 1px solid rgba(255,255,255,.04);
}
.smm-table tr:last-child td { border-bottom: none; }
.smm-table tr:hover td { background: rgba(255,255,255,.02); }
.order-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  border-radius: 100px; padding: .25rem .7rem; font-size: .75rem; font-weight: 700;
}
.badge-done    { background: rgba(16,185,129,.12); color: #6ee7b7; border: 1px solid rgba(16,185,129,.2); }
.badge-pending { background: rgba(251,191,36,.12); color: #fcd34d; border: 1px solid rgba(251,191,36,.2); }
.badge-proc    { background: rgba(0,212,255,.12); color: var(--accent); border: 1px solid rgba(0,212,255,.2); }
.badge-cancel  { background: rgba(239,68,68,.12); color: #fca5a5; border: 1px solid rgba(239,68,68,.2); }

/* ── SETTINGS FORM ── */
.smm-save-btn {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border: none; border-radius: 12px; color: white;
  padding: .7rem 1.8rem; font-weight: 700; font-size: .9rem;
  cursor: pointer; transition: all .25s; display: inline-flex; align-items: center; gap: .4rem;
  box-shadow: 0 4px 16px rgba(0,94,255,.3);
}
.smm-save-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,212,255,.4); }

.smm-danger-btn {
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25);
  color: #fca5a5; border-radius: 12px; padding: .7rem 1.5rem;
  font-weight: 700; font-size: .875rem; cursor: pointer; transition: all .2s;
}
.smm-danger-btn:hover { background: rgba(239,68,68,.18); }

/* ── AVATAR UPLOAD ── */
.smm-avatar-upload { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.5rem; }
.smm-avatar-upload img,
.smm-avatar-upload .smm-av-fallback {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
}
.smm-av-fallback {
  background: linear-gradient(135deg, #005eff, #00d4ff);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading); font-size: 1.4rem; font-weight: 800; color: white;
}
.smm-upload-btn {
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  color: var(--text-muted); border-radius: 10px; padding: .5rem 1.1rem;
  font-size: .83rem; font-weight: 600; cursor: pointer; transition: all .2s;
  display: inline-flex; align-items: center; gap: .4rem;
}
.smm-upload-btn:hover { background: rgba(255,255,255,.09); color: white; }

/* ── EMPTY STATE ── */
.smm-empty {
  text-align: center; padding: 3rem 1rem; color: var(--text-muted);
}
.smm-empty i { font-size: 2.5rem; margin-bottom: .8rem; display: block; opacity: .4; }
.smm-empty p { font-size: .9rem; }

/* ── ADD TO CART TOAST ── */
.smm-atc-toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999;
  display: flex; align-items: center; gap: .55rem;
  padding: .7rem 1.2rem; border-radius: 12px;
  font-size: .87rem; font-weight: 600; color: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  animation: toastIn .3s ease;
}
.smm-atc-toast-ok    { background: linear-gradient(135deg,#059669,#10b981); }
.smm-atc-toast-error { background: linear-gradient(135deg,#dc2626,#ef4444); }
@keyframes toastIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }

/* ── spin animation (used on loading buttons) ── */
@keyframes spin { to { transform: rotate(360deg); } }
.spin { display:inline-block; animation: spin .7s linear infinite; }

/* ── new cart item highlight ── */
.smm-mci-new { animation: mciSlide .35s ease; }
@keyframes mciSlide { from { opacity:0; transform:translateX(10px); } to { opacity:1; transform:none; } }

/* ── PAY BUTTON (orders table) ── */
.smm-pay-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  background: linear-gradient(135deg, #005eff, #00d4ff);
  color: #fff; border-radius: 8px; padding: .3rem .75rem;
  font-size: .78rem; font-weight: 700; text-decoration: none;
  white-space: nowrap; transition: all .2s;
  box-shadow: 0 2px 10px rgba(0,94,255,.35);
}
.smm-pay-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,212,255,.45); color: #fff; }

/* ── MINI CART ── */
.smm-mini-cart-wrap { position: relative; }
.smm-mini-cart-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  color: white; font-size: 1.1rem; cursor: pointer;
  transition: all .2s; position: relative;
}
.smm-mini-cart-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(0,212,255,.3); }
.smm-cart-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 18px; height: 18px; border-radius: 100px;
  background: linear-gradient(135deg, #005eff, #00d4ff);
  color: #fff; font-size: .65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; line-height: 1;
  border: 2px solid var(--bg-dark);
}
.smm-cart-badge-hidden { display: none; }

.smm-mini-cart-drop {
  position: absolute; top: calc(100% + .65rem); right: 0;
  width: 300px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: all .25s cubic-bezier(.4,0,.2,1); z-index: 500;
  overflow: hidden;
}
.smm-mini-cart-drop.open { opacity: 1; pointer-events: all; transform: translateY(0); }

.smm-mini-cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: .85rem 1.1rem; border-bottom: 1px solid var(--border);
  font-weight: 700; font-size: .9rem; color: white;
}
.smm-mini-cart-count {
  font-size: .75rem; font-weight: 600; color: var(--accent);
  background: rgba(0,212,255,.1); border: 1px solid rgba(0,212,255,.2);
  border-radius: 100px; padding: .15rem .6rem;
}
.smm-mini-cart-body { max-height: 260px; overflow-y: auto; padding: .5rem 0; }
.smm-mini-cart-body::-webkit-scrollbar { width: 4px; }
.smm-mini-cart-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.smm-mini-cart-item {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .65rem 1.1rem; transition: background .15s;
}
.smm-mini-cart-item:hover { background: rgba(255,255,255,.03); }
.smm-mci-icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: rgba(0,212,255,.1); border: 1px solid rgba(0,212,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: .95rem;
}
.smm-mci-info { flex: 1; min-width: 0; }
.smm-mci-name { font-size: .82rem; font-weight: 600; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.smm-mci-meta { font-size: .73rem; color: var(--text-muted); margin-top: .15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.smm-mini-cart-empty {
  text-align: center; padding: 2rem 1rem; color: var(--text-muted);
}
.smm-mini-cart-empty i { font-size: 2rem; display: block; margin-bottom: .5rem; opacity: .4; }
.smm-mini-cart-empty p { font-size: .85rem; margin: 0; }

.smm-mini-cart-footer {
  padding: .85rem 1.1rem; border-top: 1px solid var(--border);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .smm-modal { padding: 1.8rem 1.4rem 1.5rem; }
  .profile-meta { padding-left: 1rem; }
  .profile-avatar-wrap { left: 1rem; }
  .profile-cover { height: 130px; }
  .profile-stats { gap: 1rem; }
  .smm-mini-cart-drop { width: 270px; right: -60px; }
}


/* ════════════════════════════════════════
   GAMIFICATION THEME INTEGRATION
   ════════════════════════════════════════ */
.smm-gamification-chip {
  align-items: center;
  gap: .55rem;
  min-height: 40px;
  max-width: 190px;
  padding: .28rem .7rem .28rem .35rem;
  border: 1px solid rgba(0,212,255,.22);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0,94,255,.14), rgba(0,212,255,.08));
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.smm-gamification-chip:hover { color:#fff; transform: translateY(-1px); border-color: rgba(0,212,255,.45); background: linear-gradient(135deg, rgba(0,94,255,.24), rgba(0,212,255,.14)); }
.smm-game-chip-badge {
  width: 32px; height: 32px; flex: 0 0 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.13); font-size: 1rem;
}
.smm-game-chip-text { display:flex; flex-direction:column; min-width:0; line-height:1.15; }
.smm-game-chip-text strong { font-size:.78rem; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:96px; }
.smm-game-chip-text em { margin-top:.1rem; color:var(--text-muted); font-size:.68rem; font-style:normal; }
.smm-game-chip-progress { position:absolute; left:.42rem; right:.42rem; bottom:3px; height:3px; border-radius:999px; background:rgba(255,255,255,.08); overflow:hidden; }
.smm-game-chip-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#00d4ff,#6ee7b7); }
.smm-theme-gamification-shell { padding:0; overflow:hidden; }
.smm-theme-gamification-shell > .profile-card-title { padding:1.4rem 1.6rem; margin:0; border-bottom:1px solid var(--border); }
.smm-theme-gamification-shell .wsmsm-account { margin:0; max-width:none; padding:0; background:transparent; color:var(--text); }
.smm-theme-gamification-shell .wsmsm-account__panel { background:var(--bg-card); border-color:var(--border); color:var(--text); }
.smm-theme-gamification-shell .wsmsm-account__panel h3 { color:#fff; }
.smm-theme-gamification-shell .wsmsm-account__table th,
.smm-theme-gamification-shell .wsmsm-account__table td { color:var(--text); border-color:var(--border); }
.smm-theme-gamification-shell .wsmsm-gamification-level-badge,
.smm-theme-gamification-shell .wsmsm-gamification-guide > div,
.smm-theme-gamification-shell .wsmsm-gamification-levels > div,
.smm-theme-gamification-shell .wsmsm-gamification-achievement-card,
.smm-theme-gamification-shell .wsmsm-gamification-leaderboard-card { background:rgba(255,255,255,.04); border-color:var(--border); color:var(--text); }
.smm-theme-gamification-shell .wsmsm-gamification-levels strong,
.smm-theme-gamification-shell .wsmsm-gamification-guide strong,
.smm-theme-gamification-shell .wsmsm-gamification-achievement-card strong { color:#fff; }
.smm-game-psc .psc-val { font-size:1.15rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media (max-width: 1199px) { .smm-gamification-chip { display:none !important; } }


/* Points notifications + profile gamification overview v1.0.2 */
.smm-points-notification {
  position: relative;
}
.smm-points-bell {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  color: #fff;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.smm-points-bell:hover { transform: translateY(-1px); border-color: rgba(0,212,255,.45); background: rgba(0,212,255,.10); }
.smm-points-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  background: #f43f5e;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(244,63,94,.35);
}
.smm-points-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 340px;
  max-width: calc(100vw - 24px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(8, 15, 34, .98);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  overflow: hidden;
  z-index: 9999;
}
.smm-points-notification.is-open .smm-points-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.smm-points-dropdown-head {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem 1.05rem;
  border-bottom: 1px solid var(--border);
}
.smm-points-dropdown-head strong { color:#fff; font-size:.92rem; }
.smm-points-dropdown-head span { color:var(--text-muted); font-size:.75rem; }
.smm-points-list { max-height: 330px; overflow: auto; }
.smm-points-item {
  display: flex;
  gap: .75rem;
  padding: .9rem 1.05rem;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: transparent;
}
.smm-points-item:hover { color:#fff; background: rgba(0,212,255,.07); }
.smm-points-item.is-unread { background: linear-gradient(90deg, rgba(0,212,255,.12), rgba(0,94,255,.05)); }
.smm-points-item-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  flex: 0 0 34px;
}
.smm-points-item-body { display:flex; flex-direction:column; min-width:0; }
.smm-points-item-body strong { color:#fff; font-size:.82rem; line-height:1.4; }
.smm-points-item-body em { margin-top:.2rem; color:var(--text-muted); font-size:.72rem; font-style:normal; line-height:1.45; }
.smm-points-item-body small { margin-top:.28rem; color:rgba(148,163,184,.85); font-size:.68rem; }
.smm-points-empty { padding: 1.4rem; text-align:center; color:var(--text-muted); font-size:.82rem; }
.smm-points-view-all {
  display:block;
  padding: .9rem 1.05rem;
  text-align:center;
  color: var(--accent);
  text-decoration:none;
  font-weight:700;
  border-top: 1px solid var(--border);
}
.smm-profile-points-overview {
  display:grid;
  grid-template-columns: minmax(0,1.45fr) minmax(280px,.7fr);
  gap:1rem;
  align-items:stretch;
  margin:1.25rem 0;
  background: linear-gradient(135deg, rgba(0,94,255,.14), rgba(0,212,255,.06));
}
.smm-profile-points-main { display:flex; gap:1rem; align-items:center; }
.smm-profile-points-badge {
  width:78px;
  height:78px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 78px;
  border-radius:24px;
  background:linear-gradient(135deg, rgba(251,191,36,.20), rgba(0,212,255,.12));
  border:1px solid rgba(255,255,255,.13);
  font-size:2.2rem;
}
.smm-profile-points-copy h3 { margin:.2rem 0 .3rem; color:#fff; font-size:1.55rem; }
.smm-profile-points-copy h3 span { color:var(--accent); font-size:.9rem; margin-left:.5rem; }
.smm-profile-points-copy p { margin:.3rem 0 .8rem; color:var(--text-muted); }
.smm-profile-points-copy small { display:block; margin-top:.45rem; color:var(--text-muted); }
.smm-profile-points-progress {
  height: 9px;
  border-radius: 999px;
  overflow:hidden;
  background:rgba(255,255,255,.08);
}
.smm-profile-points-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#00d4ff,#6ee7b7,#fbbf24); }
.smm-profile-points-side {
  padding:1rem;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:rgba(255,255,255,.035);
}
.smm-profile-points-side > strong { display:block; margin-bottom:.75rem; color:#fff; }
.smm-profile-points-side p { color:var(--text-muted); font-size:.82rem; margin:.5rem 0 1rem; }
.smm-profile-points-notice {
  display:flex;
  align-items:center;
  gap:.55rem;
  padding:.6rem .7rem;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  color:#fff;
  text-decoration:none;
  margin-bottom:.5rem;
  background:rgba(255,255,255,.03);
}
.smm-profile-points-notice:hover { color:#fff; background:rgba(0,212,255,.08); }
.smm-profile-points-notice.is-unread { border-color:rgba(0,212,255,.25); }
.smm-profile-points-notice em { font-style:normal; font-size:.78rem; }
.smm-points-open-btn {
  width:100%;
  min-height:38px;
  margin-top:.5rem;
  border:0;
  border-radius:12px;
  background:linear-gradient(135deg,#005eff,#00d4ff);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.smm-theme-gamification-shell .wsmsm-gamification-notification-item {
  background:rgba(255,255,255,.04);
  border-color:var(--border);
}
@media(max-width:991px){
  .smm-profile-points-overview{grid-template-columns:1fr;}
  .smm-profile-points-main{align-items:flex-start;}
}
@media(max-width:575px){
  .smm-points-dropdown{right:-70px;width:300px;}
  .smm-profile-points-main{display:grid;}
}

/* Points history/profile visibility update v1.0.4 */
.smm-profile-points-overview {
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .8fr) minmax(260px, .8fr);
  align-items: stretch;
}
.smm-profile-points-history {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}
.smm-profile-points-history > strong,
.smm-points-fallback-panel h4 {
  display: block;
  margin-bottom: .75rem;
  color: #fff;
  font-weight: 800;
}
.smm-profile-points-history p,
.smm-empty-note {
  margin: 0;
  color: var(--text-muted);
  font-size: .86rem;
}
.smm-profile-points-history-item,
.smm-points-history-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .35rem .65rem;
  padding: .62rem .7rem;
  margin-bottom: .48rem;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  color: var(--text);
  text-decoration: none;
}
.smm-profile-points-history-item:hover,
.smm-points-history-item:hover {
  color: #fff;
  border-color: rgba(0,212,255,.24);
  background: rgba(0,212,255,.06);
}
.smm-profile-points-history-item span,
.smm-points-history-item strong {
  grid-row: span 2;
  color: #6ee7b7;
  font-weight: 900;
}
.smm-profile-points-history-item em,
.smm-points-history-item span {
  overflow: hidden;
  color: var(--text);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.smm-profile-points-history-item small,
.smm-points-history-item em {
  color: var(--text-muted);
  font-size: .72rem;
  font-style: normal;
}
.smm-points-fallback-panel {
  padding: 1.4rem 1.6rem;
}
.smm-points-history-list {
  display: grid;
  gap: .55rem;
}
.smm-theme-gamification-shell .wsmsm-account__table-wrap {
  max-height: 520px;
  overflow: auto;
}
.smm-theme-gamification-shell .wsmsm-account__table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(7,14,31,.98);
}
@media (max-width: 1199px) {
  .smm-profile-points-overview { grid-template-columns: 1fr; }
}

/* Mobile navigation/profile menu hardening — v1.0.8 */
@media (max-width: 991.98px) {
  .navbar {
    z-index: 3000;
  }

  .navbar > .container {
    position: relative;
  }

  .navbar-toggler {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.10) !important;
    box-shadow: none !important;
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0,212,255,.16) !important;
  }

  .navbar-collapse {
    position: absolute;
    top: calc(100% + .75rem);
    left: .75rem;
    right: .75rem;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: .85rem;
    background: rgba(8,15,34,.98);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(0,0,0,.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .navbar-nav {
    width: 100%;
    gap: .3rem !important;
    margin-bottom: .75rem !important;
  }

  .navbar .nav-link {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: .65rem .85rem !important;
    border-radius: 12px;
    background: rgba(255,255,255,.025);
  }

  .navbar .nav-link:hover,
  .navbar .nav-link:focus {
    background: rgba(0,212,255,.08);
  }

  .navbar .dropdown-menu {
    position: static !important;
    width: 100%;
    margin: .25rem 0 .45rem !important;
    padding: .35rem;
    background: rgba(255,255,255,.035);
    box-shadow: none;
  }

  .navbar-collapse > .d-flex {
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
    gap: .55rem !important;
    margin-top: .75rem !important;
    padding-top: .75rem;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .navbar .smm-mini-cart-wrap,
  .navbar .smm-points-notification,
  .navbar .smm-user-menu {
    width: 100%;
  }

  .navbar .smm-mini-cart-btn,
  .navbar .smm-points-bell,
  .navbar .smm-avatar-btn {
    width: 100%;
    min-height: 44px;
    border-radius: 14px;
    justify-content: flex-start;
    padding: .35rem .8rem;
    gap: .65rem;
  }

  .navbar .smm-mini-cart-btn::after {
    content: 'Cart';
    font-size: .86rem;
    font-weight: 700;
  }

  .navbar .smm-points-bell::after {
    content: 'Points Notifications';
    font-size: .86rem;
    font-weight: 700;
  }

  .navbar .smm-user-name {
    display: inline-block !important;
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .navbar .smm-avatar-wallet {
    display: inline-flex !important;
    margin-left: auto;
  }

  .navbar .smm-dropdown,
  .navbar .smm-mini-cart-drop,
  .navbar .smm-points-dropdown {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: .55rem;
    border-radius: 16px;
    box-shadow: none;
    transform: none !important;
    overflow: hidden;
  }

  .navbar .smm-dropdown,
  .navbar .smm-mini-cart-drop {
    display: none;
    opacity: 1;
    pointer-events: auto;
  }

  .navbar .smm-dropdown.open,
  .navbar .smm-mini-cart-drop.open {
    display: block;
  }

  .navbar .smm-points-dropdown {
    display: none;
    opacity: 1;
    visibility: visible;
  }

  .navbar .smm-points-notification.is-open .smm-points-dropdown {
    display: block;
  }
}

@media (max-width: 767.98px) {
  .profile-hero {
    padding-top: 1.2rem;
  }

  .profile-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    padding: .75rem;
    overflow: visible;
    border-top: 1px solid var(--border);
    background: rgba(4,9,26,.18);
  }

  .profile-nav-item {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    text-align: center;
    padding: .65rem .45rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(255,255,255,.03);
    white-space: normal;
    line-height: 1.25;
    font-size: .78rem;
  }

  .profile-nav-item.active {
    border-color: rgba(0,212,255,.42);
    background: rgba(0,212,255,.10);
    box-shadow: inset 0 0 0 1px rgba(0,212,255,.10);
  }

  .profile-nav-item i {
    flex: 0 0 auto;
  }
}

@media (max-width: 420px) {
  .profile-nav {
    grid-template-columns: 1fr;
  }

  .navbar .smm-user-name {
    max-width: 40vw;
  }
}

/* ── SERVICE DETAILS MODAL ── */
.smm-svc-details-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  border: 1px solid rgba(0,212,255,.22); border-radius: 999px;
  padding: .42rem .85rem; background: rgba(0,212,255,.08); color: var(--accent);
  font-size: .78rem; font-weight: 800; cursor: pointer; transition: all .2s;
  white-space: nowrap;
}
.smm-svc-details-btn:hover { background: rgba(0,212,255,.14); border-color: rgba(0,212,255,.42); transform: translateY(-1px); }
.smm-svc-modal[hidden] { display: none !important; }
.smm-svc-modal {
  position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
}
.smm-svc-modal-overlay { position: absolute; inset: 0; background: rgba(2,6,23,.74); backdrop-filter: blur(8px); }
.smm-svc-modal-dialog {
  position: relative; z-index: 1; width: min(760px, 94vw); max-height: min(90vh, 780px); overflow: auto;
  border: 1px solid rgba(0,212,255,.18); border-radius: 22px;
  background: linear-gradient(180deg, rgba(10,18,38,.98), rgba(4,9,26,.99));
  box-shadow: 0 30px 90px rgba(0,0,0,.58); padding: 1.35rem;
}
.smm-svc-modal-close {
  position: absolute; top: .9rem; right: .9rem; width: 34px; height: 34px;
  border: 1px solid var(--border); border-radius: 50%; background: rgba(255,255,255,.05);
  color: var(--text-main); cursor: pointer; font-size: 1.35rem; line-height: 1;
}
.smm-svc-modal-head { padding-right: 2.4rem; }
.smm-svc-modal-id {
  display: inline-flex; min-height: 28px; align-items: center; border-radius: 999px;
  padding: 0 .65rem; background: rgba(0,212,255,.1); color: var(--accent);
  font-size: .78rem; font-weight: 900;
}
.smm-svc-modal-head h3 { margin: .75rem 0 .35rem; color: var(--text-main); font-size: clamp(1.25rem, 3vw, 1.75rem); line-height: 1.2; font-weight: 900; }
.smm-svc-modal-head p { margin: 0; color: var(--text-muted); font-size: .86rem; font-weight: 600; }
.smm-svc-modal-meta { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .7rem; margin: 1rem 0; }
.smm-svc-modal-meta span,
.smm-svc-modal-charge {
  border: 1px solid var(--border); border-radius: 16px; padding: .75rem;
  background: rgba(255,255,255,.035); color: var(--text-muted); font-size: .76rem; font-weight: 700;
}
.smm-svc-modal-meta strong,
.smm-svc-modal-charge strong { display: block; margin-top: .28rem; color: var(--text-main); font-size: 1rem; font-weight: 900; }
.smm-svc-modal-desc {
  margin-bottom: 1rem; border: 1px solid rgba(0,212,255,.12); border-radius: 16px;
  padding: 1rem; background: rgba(0,212,255,.045); color: #cfe1f6;
  font-size: .9rem; line-height: 1.7; white-space: pre-wrap;
}
.smm-svc-modal-form { display: grid; gap: .85rem; }
.smm-svc-modal-field span { display: block; margin-bottom: .4rem; color: var(--text-main); font-size: .78rem; font-weight: 800; }
.smm-svc-modal-field input {
  width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: 14px;
  padding: 0 .9rem; background: var(--bg-card); color: var(--text-main); outline: none;
}
.smm-svc-modal-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,212,255,.12); }
.smm-svc-modal-charge { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.smm-svc-modal-charge strong { margin: 0; color: var(--accent); font-size: 1.15rem; }
.smm-svc-modal-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.smm-svc-modal-cart-link {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 42px;
  border: 1px solid var(--border); border-radius: 12px; padding: 0 1rem;
  color: var(--text-main); background: rgba(255,255,255,.04); text-decoration: none; font-size: .86rem; font-weight: 800;
}
.smm-svc-modal-cart-link:hover { color: var(--accent); border-color: rgba(0,212,255,.25); }
.smm-svc-modal-note {
  border-radius: 14px; padding: .9rem; background: rgba(251,191,36,.1);
  color: #fcd34d; font-size: .86rem; font-weight: 700;
}
.smm-svc-modal-open { overflow: hidden; }
@media (max-width: 640px) {
  .smm-svc-modal { padding: .75rem; }
  .smm-svc-modal-dialog { padding: 1rem; border-radius: 18px; }
  .smm-svc-modal-meta { grid-template-columns: 1fr; }
  .smm-svc-modal-charge { flex-direction: column; align-items: flex-start; }
  .smm-svc-modal-actions { flex-direction: column; align-items: stretch; }
  .smm-svc-modal-actions .smm-save-btn,
  .smm-svc-modal-cart-link { width: 100%; justify-content: center; }
}

/* Profile dashboard sidebar v1.1.1 */
.profile-dashboard-area .container {
  position: relative;
}
.profile-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.profile-content {
  min-width: 0;
}
.profile-sidebar {
  position: sticky;
  top: 92px;
  z-index: 10;
  background: linear-gradient(180deg, rgba(10,18,38,.96), rgba(4,9,26,.98));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  padding: .9rem;
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}
.profile-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem .7rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: .75rem;
}
.profile-sidebar-head strong,
.profile-sidebar-head span {
  display: block;
}
.profile-sidebar-head strong {
  font-family: var(--heading);
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 800;
}
.profile-sidebar-head span {
  color: var(--text-muted);
  font-size: .76rem;
  margin-top: .14rem;
}
.profile-sidebar-close,
.profile-sidebar-toggle {
  border: 0;
  cursor: pointer;
  font-family: var(--body);
}
.profile-sidebar-close {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: var(--text-muted);
}
.profile-sidebar-close:hover {
  color: #fff;
  background: rgba(255,255,255,.10);
}
.profile-sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  min-height: 46px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,94,255,.22), rgba(0,212,255,.14));
  color: #fff;
  font-weight: 800;
}
.profile-sidebar-toggle i {
  font-size: 1.15rem;
}
.profile-sidebar .profile-nav {
  display: flex;
  flex-direction: column;
  gap: .38rem;
  padding: 0;
  border-top: 0;
  overflow: visible;
}
.profile-sidebar .profile-nav-item {
  width: 100%;
  min-height: 46px;
  justify-content: flex-start;
  gap: .65rem;
  padding: .74rem .85rem;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--text-muted);
  text-align: left;
  white-space: normal;
}
.profile-sidebar .profile-nav-item i {
  width: 22px;
  font-size: 1rem;
  color: rgba(0,212,255,.82);
}
.profile-sidebar .profile-nav-item:hover {
  color: #fff;
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.08);
}
.profile-sidebar .profile-nav-item.active {
  color: #fff;
  border-color: rgba(0,212,255,.34);
  border-bottom-color: rgba(0,212,255,.34);
  background: linear-gradient(135deg, rgba(0,94,255,.16), rgba(0,212,255,.10));
  box-shadow: inset 0 0 0 1px rgba(0,212,255,.08);
}
.profile-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(2,6,23,.68);
  backdrop-filter: blur(6px);
}
body.profile-sidebar-open {
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .profile-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .profile-layout {
    display: block;
  }
  .profile-sidebar-toggle {
    display: flex;
  }
  .profile-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(330px, 86vw);
    max-width: 86vw;
    z-index: 10060;
    border-radius: 0 24px 24px 0;
    padding: 1rem;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform .25s ease;
    box-shadow: 24px 0 70px rgba(0,0,0,.32);
  }
  body.profile-sidebar-open .profile-sidebar {
    transform: translateX(0);
  }
  .profile-sidebar-head {
    padding-top: .35rem;
  }
  .profile-sidebar-close {
    display: inline-flex;
  }
  .profile-sidebar .profile-nav {
    display: flex;
    grid-template-columns: none;
    gap: .45rem;
    padding: 0;
    background: transparent;
    border-top: 0;
  }
  .profile-sidebar .profile-nav-item {
    min-height: 48px;
    justify-content: flex-start;
    text-align: left;
    padding: .75rem .85rem;
    font-size: .84rem;
    line-height: 1.25;
  }
  .profile-card {
    padding: 1.15rem;
    border-radius: 18px;
  }
}

/* Mobile UX polish v1.1.2: no page overflow, bottom nav, profile sidebar trigger */
@media (max-width: 767.98px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  img,
  svg,
  video,
  canvas,
  iframe {
    max-width: 100%;
  }

  .container,
  .container-fluid,
  .profile-dashboard-area,
  .profile-dashboard-area .container,
  .profile-layout,
  .profile-content,
  .profile-section,
  .profile-card,
  .wsmsm-services,
  .smm-svc-cat {
    max-width: 100%;
    min-width: 0;
  }

  .row {
    --bs-gutter-x: 1rem;
  }

  .navbar {
    padding: .72rem 0;
  }

  .navbar-brand {
    font-size: 1.18rem;
    max-width: calc(100vw - 86px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .profile-hero {
    padding-top: .95rem;
  }

  .profile-cover {
    height: 118px;
    border-radius: 18px;
  }

  .profile-avatar-wrap {
    left: 1rem;
    bottom: -40px;
  }

  .profile-avatar,
  .profile-avatar-fallback {
    width: 82px;
    height: 82px;
    border-width: 4px;
  }

  .profile-meta {
    padding: 3rem 0 1rem 1rem;
  }

  .profile-name {
    font-size: 1.32rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .profile-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    padding-right: .75rem;
  }

  .profile-stat-val {
    font-size: 1.02rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .profile-dashboard-area {
    padding-top: 1rem !important;
    padding-bottom: calc(6rem + env(safe-area-inset-bottom)) !important;
  }

  .profile-sidebar-toggle {
    position: sticky;
    top: 74px;
    z-index: 120;
    width: 100%;
    min-height: 58px;
    margin: 0 0 1rem;
    padding: .62rem .72rem;
    justify-content: space-between;
    border: 1px solid rgba(0,212,255,.22);
    border-radius: 18px;
    background:
      linear-gradient(135deg, rgba(0,94,255,.22), rgba(0,212,255,.12)),
      rgba(10,18,38,.86);
    box-shadow: 0 14px 42px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .profile-sidebar-toggle-main {
    display: inline-flex;
    align-items: center;
    gap: .72rem;
    min-width: 0;
  }

  .profile-sidebar-toggle-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    border-radius: 14px;
    background: rgba(0,212,255,.14);
    color: var(--accent);
    box-shadow: inset 0 0 0 1px rgba(0,212,255,.16);
  }

  .profile-sidebar-toggle-copy {
    display: grid;
    gap: .1rem;
    min-width: 0;
    text-align: left;
  }

  .profile-sidebar-toggle-copy strong {
    color: #fff;
    font-size: .91rem;
    line-height: 1.15;
    font-weight: 900;
  }

  .profile-sidebar-toggle-copy em {
    color: var(--text-muted);
    font-size: .74rem;
    line-height: 1.15;
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .profile-sidebar-toggle-arrow {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    border-radius: 999px;
    background: rgba(255,255,255,.055);
    color: #fff;
  }

  body.profile-sidebar-open .profile-sidebar-toggle-arrow {
    transform: rotate(180deg);
  }

  .profile-sidebar-backdrop {
    z-index: 10040;
  }

  .profile-sidebar {
    width: min(342px, 88vw);
    max-width: 88vw;
    padding: .95rem .9rem calc(1.3rem + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 0% 0%, rgba(0,212,255,.12), transparent 34%),
      linear-gradient(180deg, rgba(10,18,38,.99), rgba(4,9,26,.995));
    border-right: 1px solid rgba(0,212,255,.18);
  }

  .profile-sidebar-head {
    padding: .25rem .15rem .95rem;
  }

  .profile-sidebar-user {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
  }

  .profile-sidebar-mini-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 10px 24px rgba(0,0,0,.24);
  }

  .profile-sidebar-mini-avatar img,
  .profile-sidebar-mini-avatar b {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    color: #fff;
    font-size: .9rem;
    font-weight: 900;
  }

  .profile-sidebar-user-copy {
    min-width: 0;
  }

  .profile-sidebar-user-copy strong {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .92rem;
  }

  .profile-sidebar-user-copy span {
    font-size: .73rem;
  }

  .profile-sidebar-close {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .profile-sidebar .profile-nav {
    gap: .5rem;
  }

  .profile-sidebar .profile-nav-item {
    min-height: 50px;
    padding: .8rem .85rem;
    border-radius: 16px;
    background: rgba(255,255,255,.025);
  }

  .profile-sidebar .profile-nav-item.active {
    background: linear-gradient(135deg, rgba(0,94,255,.2), rgba(0,212,255,.12));
    box-shadow: 0 10px 28px rgba(0,0,0,.14), inset 0 0 0 1px rgba(0,212,255,.12);
  }

  .profile-card {
    padding: 1rem;
    border-radius: 18px;
  }

  .profile-card-title {
    align-items: flex-start;
    gap: .55rem;
    line-height: 1.35;
  }

  .profile-stat-cards {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .psc {
    padding: 1rem;
    border-radius: 16px;
  }

  .wallet-balance {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .wallet-bal-val {
    font-size: 1.75rem;
    overflow-wrap: anywhere;
  }

  .wallet-custom-row,
  .wallet-quick-amounts,
  .smm-svc-modal-actions,
  .smm-pagination {
    max-width: 100%;
  }

  #smmSvcSearch,
  #smmSvcCatFilter,
  .wallet-custom-wrap,
  .wallet-btn-charge,
  .smm-save-btn,
  .smm-danger-btn {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center;
  }

  .smm-table {
    display: block;
    width: 100%;
    min-width: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
  }

  .smm-table thead {
    display: none;
  }

  .smm-table tbody,
  .smm-table tr,
  .smm-table td {
    display: block;
    width: 100%;
    min-width: 0 !important;
  }

  .smm-table tr {
    margin: 0 0 .75rem;
    padding: .82rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.025);
  }

  .smm-table tr:last-child {
    margin-bottom: 0;
  }

  .smm-table td {
    display: grid;
    grid-template-columns: minmax(82px, .38fr) minmax(0, 1fr);
    gap: .75rem;
    align-items: center;
    padding: .52rem 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.055) !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: none !important;
    overflow-wrap: anywhere;
  }

  .smm-table td:last-child {
    border-bottom: 0 !important;
  }

  .smm-table td::before {
    content: attr(data-label);
    color: var(--text-muted);
    font-size: .72rem;
    line-height: 1.25;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .035em;
  }

  .smm-table td[colspan] {
    display: block;
  }

  .smm-table td[colspan]::before {
    content: none;
  }

  .smm-pay-btn,
  .smm-svc-details-btn {
    width: 100%;
    justify-content: center;
  }

  .smm-modal-overlay {
    padding: .8rem;
  }

  .smm-modal {
    max-width: calc(100vw - 1.6rem);
    border-radius: 20px;
    padding: 2.1rem 1rem 1rem;
  }
}

.smm-mobile-bottom-nav {
  display: none;
}

@media (max-width: 767.98px) {
  .smm-mobile-bottom-nav {
    position: fixed;
    left: max(.75rem, env(safe-area-inset-left));
    right: max(.75rem, env(safe-area-inset-right));
    bottom: max(.65rem, env(safe-area-inset-bottom));
    z-index: 2990;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
    padding: .45rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: rgba(8,15,34,.88);
    box-shadow: 0 18px 55px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.07);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .smm-mobile-bottom-item {
    appearance: none;
    border: 0;
    min-width: 0;
    min-height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .22rem;
    border-radius: 17px;
    background: transparent;
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--body);
    font-size: .69rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
  }

  .smm-mobile-bottom-item i {
    font-size: 1.16rem;
    line-height: 1;
  }

  .smm-mobile-bottom-item.active,
  .smm-mobile-bottom-item:hover,
  .smm-mobile-bottom-item:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, rgba(0,94,255,.32), rgba(0,212,255,.18));
    outline: none;
  }

  .smm-mobile-bottom-item:active {
    transform: translateY(1px) scale(.98);
  }

  .smm-mobile-bottom-icon-wrap {
    position: relative;
    display: inline-flex;
  }

  .smm-mobile-bottom-icon-wrap em {
    position: absolute;
    top: -.52rem;
    right: -.72rem;
    min-width: 17px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-size: .62rem;
    font-style: normal;
    font-weight: 900;
    box-shadow: 0 0 0 2px rgba(8,15,34,.95);
  }

  body.profile-sidebar-open .smm-mobile-bottom-nav,
  body.smm-modal-open .smm-mobile-bottom-nav,
  body.smm-svc-modal-open .smm-mobile-bottom-nav {
    transform: translateY(calc(100% + 1rem));
    opacity: 0;
    pointer-events: none;
  }
}

/* Shared profile sidebar identity block v1.1.2 */
.profile-sidebar-user {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
}
.profile-sidebar-mini-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.13);
}
.profile-sidebar-mini-avatar img,
.profile-sidebar-mini-avatar b {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  color: #fff;
  font-size: .88rem;
  font-weight: 900;
}
.profile-sidebar-user-copy {
  min-width: 0;
}
.profile-sidebar-user-copy strong {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-sidebar-user-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 767.98px) {
  .profile-sidebar-mini-avatar {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 15px;
  }
}
.profile-sidebar-mini-avatar img { display: block; }
.profile-sidebar-mini-avatar b { display: flex; }

/* Profile dashboard Pro UI v1.1.5 */
.profile-dashboard-area {
  position: relative;
  background:
    radial-gradient(circle at 12% 0%, rgba(0,212,255,.10), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(124,58,237,.12), transparent 30%),
    var(--bg-dark) !important;
}
.profile-dashboard-area::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 280px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.045), transparent);
}
.profile-hero {
  background:
    radial-gradient(circle at 8% 0%, rgba(0,212,255,.18), transparent 30%),
    linear-gradient(135deg, rgba(4,10,28,.98), rgba(10,18,38,.96));
}
.profile-cover {
  border: 1px solid rgba(255,255,255,.10);
  border-bottom: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(0,212,255,.28), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(255,76,189,.24), transparent 24%),
    linear-gradient(135deg, rgba(0,94,255,.42), rgba(16,24,52,.82) 54%, rgba(124,58,237,.36));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 24px 80px rgba(0,0,0,.18);
}
.profile-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.2), #000 36%, rgba(0,0,0,.36));
}
.profile-avatar,
.profile-avatar-fallback {
  box-shadow: 0 0 0 1px rgba(0,212,255,.18), 0 18px 42px rgba(0,0,0,.34);
}
.profile-name {
  letter-spacing: -.03em;
}
.profile-role {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .28rem .65rem;
  border: 1px solid rgba(0,212,255,.18);
  border-radius: 999px;
  background: rgba(0,212,255,.065);
}
.profile-role::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #44e6bd;
  box-shadow: 0 0 0 4px rgba(68,230,189,.12);
}
.profile-stat-val {
  letter-spacing: -.025em;
}
.profile-pro-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(0,94,255,.15), rgba(0,212,255,.06)),
    rgba(10,18,38,.72);
  box-shadow: 0 18px 55px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
.profile-pro-header::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  right: -92px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,.14), transparent 66%);
  pointer-events: none;
}
.profile-pro-copy,
.profile-pro-actions {
  position: relative;
  z-index: 1;
}
.profile-pro-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .55rem;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.profile-pro-copy h2 {
  margin: 0 0 .35rem;
  color: #fff;
  font-family: var(--heading);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.profile-pro-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.65;
}
.profile-pro-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .6rem;
  flex-wrap: wrap;
}
.profile-pro-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  padding: .65rem .95rem;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.profile-pro-action:hover {
  transform: translateY(-1px);
  border-color: rgba(0,212,255,.28);
  background: rgba(0,212,255,.08);
}
.profile-pro-action.is-primary {
  border-color: rgba(0,212,255,.30);
  background: linear-gradient(135deg, rgba(0,94,255,.86), rgba(0,212,255,.70));
  color: #06121f;
  box-shadow: 0 12px 30px rgba(0,212,255,.14);
}
.profile-pro-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1rem;
}
.profile-pro-mini-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .95rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.profile-pro-mini-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(0,212,255,.09);
  box-shadow: inset 0 0 0 1px rgba(0,212,255,.13);
}
.profile-pro-mini-card small,
.profile-readiness-head small {
  display: block;
  margin-bottom: .16rem;
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.profile-pro-mini-card strong,
.profile-readiness-head strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.profile-readiness {
  display: grid;
  align-content: center;
  gap: .55rem;
}
.profile-readiness-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.profile-readiness-head small,
.profile-readiness-head strong {
  margin: 0;
}
.profile-readiness-bar {
  display: block;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.07);
}
.profile-readiness-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent2), var(--accent), #6ee7b7);
}
.profile-sidebar {
  overflow: hidden;
}
.profile-sidebar::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 150px;
  background: radial-gradient(circle at 20% 0%, rgba(0,212,255,.14), transparent 56%);
  pointer-events: none;
}
.profile-sidebar > * {
  position: relative;
  z-index: 1;
}
.profile-sidebar .profile-nav-item {
  justify-content: space-between;
  padding: .76rem .78rem;
}
.profile-nav-main {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
}
.profile-nav-main span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-sidebar .profile-nav-item em {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .38rem;
  border-radius: 999px;
  background: rgba(0,212,255,.11);
  color: var(--accent);
  font-size: .68rem;
  font-style: normal;
  font-weight: 900;
}
.profile-sidebar .profile-nav-item.active em {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.profile-sidebar-assist {
  display: flex;
  gap: .75rem;
  padding: .9rem;
  margin-top: .85rem;
  border: 1px solid rgba(0,212,255,.14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0,212,255,.08), rgba(255,255,255,.025));
}
.profile-sidebar-assist > span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(0,212,255,.10);
}
.profile-sidebar-assist strong {
  display: block;
  color: #fff;
  font-size: .78rem;
  line-height: 1.25;
}
.profile-sidebar-assist button {
  appearance: none;
  display: inline-flex;
  padding: 0;
  margin-top: .28rem;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 900;
  cursor: pointer;
}
.profile-card,
.psc {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025)), rgba(10,18,38,.68);
  border-color: rgba(255,255,255,.095);
  box-shadow: 0 18px 48px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.045);
}
.profile-card-title {
  color: #fff;
  letter-spacing: -.015em;
}
.profile-card-title::after {
  content: '';
  flex: 1;
  height: 1px;
  min-width: 28px;
  background: linear-gradient(90deg, rgba(0,212,255,.20), transparent);
}
.psc {
  position: relative;
  overflow: hidden;
}
.psc::after {
  content: '';
  position: absolute;
  right: -44px;
  top: -48px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(0,212,255,.055);
}
.psc-icon,
.psc-val,
.psc-lbl {
  position: relative;
  z-index: 1;
}
.psc-val {
  color: #fff;
  letter-spacing: -.04em;
}
.smm-field input,
.smm-field textarea,
.smm-field select,
.wallet-custom-row input,
#smmSvcSearch,
#smmSvcCatFilter {
  min-height: 46px;
  border-color: rgba(255,255,255,.11) !important;
  background: rgba(255,255,255,.045) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.smm-field input:focus,
.smm-field textarea:focus,
.smm-field select:focus,
.wallet-custom-row input:focus,
#smmSvcSearch:focus,
#smmSvcCatFilter:focus {
  border-color: rgba(0,212,255,.36) !important;
  box-shadow: 0 0 0 4px rgba(0,212,255,.08), inset 0 1px 0 rgba(255,255,255,.05);
  outline: none;
}
.smm-table tr {
  transition: background .2s ease, border-color .2s ease;
}
.smm-table tbody tr:hover {
  background: rgba(0,212,255,.035);
}
.order-badge,
.sptr-status,
.sptr-priority {
  white-space: nowrap;
}
.sp-header {
  align-items: center;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(0,94,255,.14), rgba(0,212,255,.055)), rgba(10,18,38,.66);
}
.sp-ticket-row {
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
@media (max-width: 1199.98px) {
  .profile-pro-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-pro-header { align-items: flex-start; flex-direction: column; }
  .profile-pro-actions { justify-content: flex-start; }
}
@media (max-width: 991.98px) {
  .profile-layout { grid-template-columns: 248px minmax(0, 1fr); }
  .profile-pro-action { flex: 1 1 auto; }
}
@media (max-width: 767.98px) {
  .profile-pro-header {
    padding: 1rem;
    border-radius: 20px;
    margin-bottom: .8rem;
  }
  .profile-pro-kicker { font-size: .66rem; letter-spacing: .07em; }
  .profile-pro-copy h2 { font-size: 1.28rem; }
  .profile-pro-copy p { font-size: .82rem; line-height: 1.55; }
  .profile-pro-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .profile-pro-action {
    width: 100%;
    min-height: 46px;
  }
  .profile-pro-strip {
    grid-template-columns: 1fr;
    gap: .65rem;
    margin-bottom: .85rem;
  }
  .profile-pro-mini-card {
    padding: .85rem;
    border-radius: 16px;
  }
  .profile-pro-mini-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 13px;
  }
  .profile-sidebar {
    overflow-y: auto;
  }
  .profile-sidebar .profile-nav-item {
    padding: .82rem .8rem;
  }
  .profile-nav-main span {
    white-space: normal;
  }
  .profile-sidebar-assist {
    margin-bottom: .4rem;
  }
  .profile-card-title::after {
    min-width: 18px;
  }
  .profile-stat-cards {
    grid-template-columns: 1fr;
  }
  .sp-header {
    display: grid !important;
    gap: .9rem;
    padding: 1rem;
  }
  .sp-btn-new,
  .sp-btn-empty {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 420px) {
  .profile-stats { grid-template-columns: 1fr; }
  .profile-pro-header,
  .profile-pro-mini-card,
  .profile-card,
  .psc { border-radius: 16px; }
}

/* Header + profile dashboard visual unification — v1.1.6 */
.navbar {
  padding: .7rem 0;
  background:
    radial-gradient(circle at 18% -140%, rgba(0,212,255,.18), transparent 42%),
    linear-gradient(180deg, rgba(6,12,30,.96), rgba(4,9,26,.92));
  border-bottom: 1px solid rgba(0,212,255,.10);
  box-shadow: 0 14px 44px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.035);
}
body.admin-bar .navbar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .navbar { top: 46px; } }
.navbar > .container {
  min-height: 58px;
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  letter-spacing: -.04em;
  filter: drop-shadow(0 0 18px rgba(0,212,255,.14));
}
.navbar .nav-link {
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  background: rgba(0,212,255,.07);
}
.navbar-collapse > .d-flex {
  padding: .25rem;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.smm-mini-cart-btn,
.smm-points-bell,
.smm-avatar-btn,
.smm-header-dashboard-btn {
  min-height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.smm-mini-cart-btn:hover,
.smm-points-bell:hover,
.smm-avatar-btn:hover,
.smm-header-dashboard-btn:hover {
  background: rgba(0,212,255,.08);
  border-color: rgba(0,212,255,.25);
  color: #fff;
}
.smm-header-dashboard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  padding: .35rem .78rem;
  color: var(--text-main);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 900;
  line-height: 1;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.smm-header-dashboard-btn i {
  color: var(--accent);
  font-size: 1rem;
}
.smm-header-dashboard-btn:hover { transform: translateY(-1px); }
.smm-avatar-btn {
  padding: .25rem .64rem .25rem .25rem;
}
.smm-avatar-btn img,
.smm-avatar-btn > span:first-of-type {
  box-shadow: 0 0 0 2px rgba(0,212,255,.12);
}
.smm-user-name {
  font-weight: 900;
  letter-spacing: -.015em;
}
.smm-avatar-wallet {
  background: rgba(16,185,129,.14);
  border-color: rgba(16,185,129,.28);
}

.profile-hero,
.profile-dashboard-area {
  background:
    radial-gradient(circle at 12% 0%, rgba(0,212,255,.14), transparent 30%),
    radial-gradient(circle at 88% 4%, rgba(0,94,255,.16), transparent 34%),
    linear-gradient(180deg, #05122a 0%, var(--bg-dark) 100%) !important;
}
.profile-hero {
  padding: 1.8rem 0 1.05rem;
  border-bottom: 1px solid rgba(0,212,255,.08);
}
.profile-cover {
  height: 126px;
  border: 1px solid rgba(0,212,255,.18);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(0,212,255,.25), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(0,94,255,.20), transparent 32%),
    linear-gradient(135deg, rgba(0,94,255,.34), rgba(10,18,38,.86) 55%, rgba(0,212,255,.12));
  box-shadow: 0 20px 60px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.07);
}
.profile-cover::after {
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .68;
}
.profile-avatar-wrap {
  bottom: -42px;
  left: 1.6rem;
  z-index: 3;
}
.profile-avatar,
.profile-avatar-fallback {
  width: 88px;
  height: 88px;
  border: 5px solid rgba(5,18,42,.96);
  border-radius: 24px;
}
.profile-meta {
  min-height: 112px;
  margin: 0;
  padding: 1.25rem 1.4rem 1.35rem 8.2rem;
  border: 1px solid rgba(0,212,255,.18);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025)),
    rgba(10,18,38,.76);
  box-shadow: 0 18px 58px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.045);
}
.profile-name {
  font-size: clamp(1.45rem, 3vw, 2rem);
}
.profile-stats {
  gap: .7rem;
}
.profile-stats > div {
  min-width: 122px;
  padding: .65rem .85rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}
.profile-stat-val {
  font-size: 1.08rem;
}
.profile-stat-lbl {
  margin-top: .12rem;
  font-weight: 800;
}
.profile-layout {
  align-items: flex-start;
}
.profile-sidebar,
.profile-pro-header,
.profile-pro-mini-card,
.profile-card,
.wallet-hero,
.wallet-bonus-panel {
  border-color: rgba(0,212,255,.14) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.028)),
    rgba(10,18,38,.76) !important;
  box-shadow: 0 18px 54px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.052) !important;
}
.profile-sidebar {
  border-radius: 26px;
}
.profile-pro-header {
  padding: 1.15rem 1.25rem;
  border-radius: 24px;
}
.profile-pro-header::after,
.wallet-bonus-panel::before {
  opacity: .38;
  background: radial-gradient(circle, rgba(0,212,255,.18), transparent 66%);
}
.profile-pro-strip {
  gap: .75rem;
}
.profile-sidebar .profile-nav-item.active,
.smm-mobile-bottom-item.active {
  border-color: rgba(0,212,255,.30) !important;
  background: linear-gradient(135deg, rgba(0,94,255,.24), rgba(0,212,255,.13)) !important;
}
.wallet-hero {
  border-radius: 24px;
  padding: 1.45rem 1.55rem;
  margin-bottom: 1rem;
}
.wallet-hero-inner {
  gap: 1rem;
}
.wallet-bal-val {
  background: linear-gradient(90deg, var(--accent), #7dd3fc 48%, #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wallet-btn-charge {
  border-radius: 14px;
  color: #06121f;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  box-shadow: 0 12px 30px rgba(0,212,255,.13);
}
.wallet-btn-pay {
  border-color: rgba(16,185,129,.28);
  background: rgba(16,185,129,.10);
}
.wallet-bonus-panel {
  grid-template-columns: minmax(240px, .92fr) minmax(320px, 1.35fr);
  border-radius: 24px;
  padding: 1.45rem;
  overflow: hidden;
}
.wallet-bonus-panel::after {
  content: '';
  position: absolute;
  inset: auto -8% -42% auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,.12), transparent 65%);
  pointer-events: none;
}
.wallet-bonus-copy h3 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
}
.wallet-bonus-copy h3 strong {
  background: linear-gradient(90deg, var(--accent), #8ab4ff 52%, #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wallet-bonus-kicker {
  border-color: rgba(0,212,255,.28);
  background: rgba(0,212,255,.075);
  color: #bdfaff;
}
.wallet-bonus-tier-card {
  border-color: rgba(0,212,255,.13);
  background: linear-gradient(180deg, rgba(0,212,255,.07), rgba(255,255,255,.035));
}
.wallet-bonus-tier-top {
  color: #a5f3fc;
}
.wallet-bonus-tier-card:hover {
  border-color: rgba(0,212,255,.32);
  background: linear-gradient(180deg, rgba(0,212,255,.105), rgba(255,255,255,.045));
}
.wallet-plisio-info,
.wallet-bonus-preview,
.wallet-qty-btn,
.wallet-custom-wrap input,
.smm-field input,
.smm-field textarea,
.smm-field select {
  border-color: rgba(0,212,255,.11) !important;
}

@media (min-width: 992px) and (max-width: 1280px) {
  .smm-header-dashboard-btn span { display: none; }
  .smm-header-dashboard-btn { width: 42px; padding-left: 0; padding-right: 0; }
}
@media (max-width: 991.98px) {
  .navbar {
    padding: .58rem 0;
  }
  .navbar > .container {
    min-height: 52px;
  }
  .navbar-toggler {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,.045) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
  }
  .navbar-collapse {
    margin-top: .75rem;
    padding: .8rem;
    border: 1px solid rgba(0,212,255,.13);
    border-radius: 22px;
    background: rgba(6,12,30,.96);
    box-shadow: 0 20px 55px rgba(0,0,0,.32);
  }
  .navbar-collapse > .d-flex {
    border-radius: 18px;
    padding: .7rem;
  }
  .navbar .smm-mini-cart-wrap,
  .navbar .smm-points-notification,
  .navbar .smm-user-menu,
  .navbar .smm-header-dashboard-btn {
    width: 100%;
  }
  .navbar .smm-header-dashboard-btn {
    min-height: 44px;
    justify-content: flex-start;
    padding: .35rem .8rem;
    border-radius: 14px;
  }
}
@media (max-width: 767.98px) {
  .profile-hero {
    padding: 1rem 0 .65rem;
  }
  .profile-cover {
    height: 92px;
    border-radius: 22px 22px 0 0;
  }
  .profile-avatar-wrap {
    left: 1rem;
    bottom: -34px;
  }
  .profile-avatar,
  .profile-avatar-fallback {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    border-width: 4px;
  }
  .profile-meta {
    min-height: 104px;
    padding: 1rem .95rem 1rem 5.8rem;
    border-radius: 0 0 22px 22px;
  }
  .profile-name {
    font-size: 1.22rem;
  }
  .profile-role {
    padding: .22rem .54rem;
    font-size: .72rem;
  }
  .profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .5rem;
    padding-right: 0;
    margin-top: .72rem;
  }
  .profile-stats > div {
    min-width: 0;
    padding: .48rem .56rem;
    border-radius: 13px;
  }
  .profile-stat-val {
    font-size: .88rem;
  }
  .profile-stat-lbl {
    font-size: .66rem;
  }
  .profile-sidebar-toggle {
    display: none !important;
  }
  .profile-dashboard-area {
    padding-top: .8rem !important;
  }
  .wallet-hero,
  .wallet-bonus-panel,
  .profile-card,
  .profile-pro-header,
  .profile-pro-mini-card {
    border-radius: 18px !important;
  }
  .wallet-hero {
    padding: 1rem;
  }
  .wallet-hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }
  .wallet-bonus-panel {
    padding: 1rem;
  }
  .wallet-bonus-copy h3 {
    font-size: clamp(1.65rem, 9vw, 2.2rem);
  }
  .smm-mobile-bottom-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .32rem;
    padding: .38rem;
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(10,18,38,.94), rgba(4,9,26,.92));
    border-color: rgba(0,212,255,.16);
  }
  .smm-mobile-bottom-item {
    min-height: 54px;
    border: 1px solid transparent;
    border-radius: 17px;
    font-size: .64rem;
  }
  .smm-mobile-bottom-item i {
    font-size: 1.08rem;
  }
}
@media (max-width: 380px) {
  .profile-meta {
    padding-left: .95rem;
    padding-top: 2.9rem;
  }
  .profile-avatar-wrap {
    bottom: -32px;
  }
  .profile-stats {
    grid-template-columns: 1fr !important;
  }
  .smm-mobile-bottom-item span:last-child {
    font-size: .6rem;
  }
}

/* ════════════════════════════════════════
   v1.1.7 — Profile panel color unification, clean header, mobile wallet rewards fix
   ════════════════════════════════════════ */
:root {
  --smm-panel-1: rgba(8, 18, 42, .86);
  --smm-panel-2: rgba(6, 14, 34, .78);
  --smm-line-accent: rgba(0, 212, 255, .16);
  --smm-soft-accent: rgba(0, 212, 255, .085);
}

/* New header treatment */
.navbar {
  padding: .68rem 0 !important;
  background:
    radial-gradient(circle at 8% -90%, rgba(0,212,255,.16), transparent 34%),
    radial-gradient(circle at 96% -80%, rgba(0,94,255,.12), transparent 34%),
    rgba(3, 8, 22, .88) !important;
  border-bottom: 1px solid rgba(0,212,255,.09) !important;
  box-shadow: 0 10px 40px rgba(0,0,0,.28) !important;
}
.navbar > .container {
  min-height: 60px !important;
  padding: .38rem .62rem !important;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025)),
    rgba(8, 18, 42, .66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 18px 54px rgba(0,0,0,.20);
}
.navbar-brand {
  min-height: 44px !important;
  padding: 0 .45rem;
  font-size: 1.36rem !important;
  white-space: nowrap;
}
.navbar .nav-link {
  padding: .48rem .86rem !important;
  color: rgba(226,239,255,.64) !important;
  border: 1px solid transparent;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .current-menu-item > .nav-link {
  color: #fff !important;
  border-color: rgba(0,212,255,.12);
  background: rgba(0,212,255,.075) !important;
}
.navbar-collapse > .d-flex {
  gap: .38rem !important;
  padding: .28rem !important;
  border: 1px solid rgba(0,212,255,.10) !important;
  border-radius: 18px !important;
  background: rgba(3,8,22,.34) !important;
}
.smm-mini-cart-btn,
.smm-points-bell,
.smm-avatar-btn,
.smm-header-dashboard-btn {
  min-height: 42px !important;
  border-radius: 15px !important;
  border-color: rgba(0,212,255,.12) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.060), rgba(255,255,255,.026)),
    rgba(8, 18, 42, .70) !important;
}
.smm-header-dashboard-btn {
  color: #dff7ff !important;
  padding: .45rem .72rem !important;
}
.smm-header-dashboard-btn i,
.smm-mini-cart-btn i,
.smm-points-bell i {
  color: var(--accent) !important;
}
.smm-account-pill {
  gap: .52rem !important;
  padding: .24rem .68rem .24rem .26rem !important;
}
.smm-account-mark,
.profile-avatar-initials,
.profile-sidebar-mini-avatar b {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #06121f;
  font-family: var(--heading);
  font-weight: 950;
  letter-spacing: -.03em;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.78), transparent 16%),
    linear-gradient(135deg, var(--accent), #6ee7b7 58%, #8ab4ff);
  box-shadow: 0 0 0 1px rgba(0,212,255,.18), 0 10px 26px rgba(0,212,255,.12);
}
.smm-account-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 13px;
  font-size: .82rem;
}
.smm-avatar-btn img { display: none !important; }
.smm-user-name { color: #f8fbff; }
.smm-avatar-wallet {
  border: 1px solid rgba(16,185,129,.25);
  background: rgba(16,185,129,.11) !important;
  color: #a7f3d0 !important;
}

/* Profile header rebuilt around generated identity, not uploaded photo */
.profile-hero {
  padding: 1.15rem 0 1rem !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(0,212,255,.14), transparent 28%),
    radial-gradient(circle at 82% 6%, rgba(0,94,255,.16), transparent 30%),
    linear-gradient(180deg, #05122a, #04091a) !important;
}
.profile-cover-clean {
  min-height: 124px;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem 1.25rem 8.4rem;
  border: 1px solid var(--smm-line-accent) !important;
  border-radius: 26px 26px 0 0 !important;
  background:
    linear-gradient(135deg, rgba(0,212,255,.115), rgba(0,94,255,.085) 46%, rgba(255,255,255,.026)),
    var(--smm-panel-1) !important;
  overflow: hidden;
}
.profile-cover-clean::after {
  opacity: .36 !important;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent) !important;
}
.profile-cover-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.profile-cover-content span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .55rem;
  color: #bdfaff;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.profile-cover-content strong {
  display: block;
  max-width: 680px;
  color: #fff;
  font-family: var(--heading);
  font-size: clamp(1.2rem, 2.1vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -.045em;
}
.profile-cover-content p {
  max-width: 650px;
  margin: .48rem 0 0;
  color: rgba(226,239,255,.64);
  font-size: .86rem;
  line-height: 1.55;
}
.profile-avatar-wrap {
  bottom: auto !important;
  top: 50%;
  left: 1.35rem !important;
  transform: translateY(-50%);
  z-index: 3;
}
.profile-avatar-initials {
  width: 92px !important;
  height: 92px !important;
  border: 1px solid rgba(0,212,255,.20) !important;
  border-radius: 28px !important;
  font-size: 1.55rem;
}
.profile-avatar { display: none !important; }
.profile-meta {
  min-height: auto !important;
  padding: 1rem 1.2rem !important;
  border: 1px solid var(--smm-line-accent) !important;
  border-top: 0 !important;
  border-radius: 0 0 26px 26px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)),
    rgba(8,18,42,.78) !important;
}
.profile-name { font-size: clamp(1.35rem, 2.4vw, 1.8rem) !important; }
.profile-role {
  color: #bdfaff !important;
  border-color: rgba(0,212,255,.22) !important;
  background: rgba(0,212,255,.07) !important;
}
.profile-stats > div,
.profile-pro-header,
.profile-pro-mini-card,
.profile-card,
.psc,
.wallet-hero,
.wallet-bonus-panel,
.profile-sidebar {
  border-color: var(--smm-line-accent) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.025)),
    var(--smm-panel-2) !important;
}
.profile-pro-header,
.wallet-hero,
.wallet-bonus-panel {
  box-shadow: 0 18px 58px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.055) !important;
}
.profile-pro-action.is-primary,
.wallet-btn-charge {
  color: #06121f !important;
  background: linear-gradient(135deg, var(--accent), #6ee7b7) !important;
  border-color: rgba(0,212,255,.36) !important;
}
.profile-sidebar-mini-avatar b {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  font-size: .95rem;
}
.profile-sidebar-mini-avatar img { display: none !important; }
.profile-sidebar .profile-nav-item:hover {
  border-color: rgba(0,212,255,.18) !important;
  background: rgba(0,212,255,.055) !important;
}
.profile-sidebar .profile-nav-item.active {
  color: #fff !important;
  border-color: rgba(0,212,255,.34) !important;
  background: linear-gradient(135deg, rgba(0,212,255,.13), rgba(0,94,255,.12)) !important;
}

/* Wallet rewards: prevent mobile clipping/falling and keep all cards inside viewport */
.wallet-bonus-panel {
  min-width: 0;
  width: 100%;
  overflow: hidden !important;
}
.wallet-bonus-copy,
.wallet-bonus-grid,
.wallet-bonus-tier-card { min-width: 0; }
.wallet-bonus-grid {
  width: 100%;
  min-width: 0;
}
.wallet-bonus-tier-card strong,
.wallet-bonus-tier-top span { overflow-wrap: anywhere; }

@media (max-width: 1199.98px) {
  .wallet-bonus-panel {
    grid-template-columns: 1fr !important;
  }
  .wallet-bonus-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    overflow: visible !important;
  }
}

@media (max-width: 991.98px) {
  .navbar > .container {
    border-radius: 18px;
    padding: .42rem .58rem !important;
  }
  .navbar-collapse {
    border-radius: 18px !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)),
      rgba(5,12,30,.98) !important;
  }
  .navbar-collapse > .d-flex {
    border-radius: 16px !important;
    display: grid !important;
    grid-template-columns: 1fr;
  }
  .navbar .smm-header-dashboard-btn {
    display: inline-flex;
  }
}

@media (max-width: 767.98px) {
  .profile-hero { padding: .8rem 0 .72rem !important; }
  .profile-cover-clean {
    min-height: 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: .78rem;
    padding: .92rem !important;
    border-radius: 20px 20px 0 0 !important;
  }
  .profile-avatar-wrap {
    position: static !important;
    transform: none !important;
  }
  .profile-avatar-initials {
    width: 58px !important;
    height: 58px !important;
    border-radius: 18px !important;
    font-size: 1.05rem !important;
  }
  .profile-cover-content span {
    margin-bottom: .32rem;
    font-size: .61rem;
    letter-spacing: .06em;
  }
  .profile-cover-content strong {
    font-size: 1rem;
    line-height: 1.18;
  }
  .profile-cover-content p { display: none; }
  .profile-meta {
    padding: .82rem .9rem !important;
    border-radius: 0 0 20px 20px !important;
  }
  .profile-name { font-size: 1.12rem !important; }
  .profile-role { font-size: .68rem !important; }
  .profile-stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .5rem !important;
  }
  .profile-stats > div {
    min-width: 0 !important;
    padding: .52rem .55rem !important;
  }
  .wallet-hero {
    padding: .95rem !important;
    border-radius: 18px !important;
  }
  .wallet-hero-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .85rem !important;
  }
  .wallet-bal-val {
    font-size: clamp(1.95rem, 11vw, 2.45rem) !important;
    line-height: 1 !important;
    overflow-wrap: anywhere;
  }
  .wallet-bonus-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .85rem !important;
    padding: .95rem !important;
    border-radius: 18px !important;
    overflow: visible !important;
  }
  .wallet-bonus-panel::after { display: none !important; }
  .wallet-bonus-copy h3 {
    margin-bottom: .45rem !important;
    font-size: clamp(1.45rem, 8vw, 1.95rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -.04em !important;
  }
  .wallet-bonus-copy p {
    font-size: .78rem !important;
    line-height: 1.48 !important;
  }
  .wallet-bonus-kicker {
    max-width: 100%;
    white-space: normal !important;
    font-size: .64rem !important;
    line-height: 1.2;
  }
  .wallet-bonus-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .55rem !important;
    overflow: visible !important;
    padding: 0 !important;
  }
  .wallet-bonus-tier-card {
    min-height: 112px;
    padding: .74rem !important;
    border-radius: 15px !important;
  }
  .wallet-bonus-tier-top {
    gap: .35rem !important;
    margin-bottom: .58rem !important;
    font-size: .65rem !important;
  }
  .wallet-bonus-tier-card strong {
    font-size: clamp(1.45rem, 9vw, 1.75rem) !important;
  }
  .wallet-bonus-tier-card small { font-size: .58rem !important; }
  .wallet-quick-amounts {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .45rem !important;
  }
  .wallet-qty-btn { min-width: 0 !important; padding: .62rem .35rem !important; }
  .wallet-custom-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .55rem !important;
  }
  .smm-mobile-bottom-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 390px) {
  .wallet-bonus-grid { grid-template-columns: 1fr 1fr !important; }
  .wallet-bonus-tier-card { min-height: 104px; }
  .wallet-quick-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .profile-stats { grid-template-columns: 1fr !important; }
}

@media (max-width: 350px) {
  .wallet-bonus-grid { grid-template-columns: 1fr !important; }
}
