/* ============================================================
   EMBER.su — Profile page (standalone /profile)
   ============================================================ */

[hidden] { display: none !important; }

.profile-shell {
  width: 100%;
  max-width: 1280px;
  margin: 40px auto 60px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
}

/* ====================== ENTRANCE ANIMATIONS ====================== */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Sidebar blocks ease in from left */
.profile-card,
.profile-nav,
.profile-sidebar-footer {
  opacity: 0;
  animation: slideInLeft .75s cubic-bezier(.22,.61,.36,1) forwards;
}
.profile-card           { animation-delay: .05s; }
.profile-nav            { animation-delay: .18s; }
.profile-sidebar-footer { animation-delay: .32s; }

/* Each sidebar nav item with its own stagger */
.profile-nav-item {
  opacity: 0;
  animation: slideInLeft .6s cubic-bezier(.22,.61,.36,1) forwards;
}
.profile-nav > .profile-nav-item:nth-child(1) { animation-delay: .26s; }
.profile-nav > .profile-nav-item:nth-child(2) { animation-delay: .34s; }
.profile-nav > .profile-nav-item:nth-child(3) { animation-delay: .42s; }
.profile-nav > .profile-nav-item:nth-child(4) { animation-delay: .50s; }
.profile-sidebar-footer > .profile-nav-item:nth-child(1) { animation-delay: .40s; }
.profile-sidebar-footer > .profile-nav-item:nth-child(2) { animation-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  .profile-card, .profile-nav, .profile-sidebar-footer,
  .profile-nav-item { animation: none; opacity: 1; }
}

@media (max-width: 900px) {
  .profile-shell {
    grid-template-columns: 1fr;
    padding: 0 18px;
    margin: 24px auto 40px;
  }
}
@media (max-width: 520px) {
  .profile-shell { padding: 0 12px; margin-top: 14px; gap: 14px; }
  .profile-page-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .overview-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; }
  .ov-stat { padding: 14px; min-width: 0; }
  .ov-stat-value { font-size: 20px; overflow-wrap: anywhere; }
  .profile-nav-item { min-height: 42px; }
}

/* ====================== SIDEBAR ====================== */
.profile-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 900px) {
  .profile-sidebar { position: static; }
  .profile-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .profile-nav-item { justify-content: center; padding: 11px 6px; font-size: 11px; text-align: center; }
  .profile-nav-item .ic { display: none; }
  .profile-sidebar-footer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
}

.profile-card {
  padding: 24px;
  background: linear-gradient(160deg, rgba(40, 12, 18, 0.7), rgba(15, 6, 10, 0.7));
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  margin-bottom: 14px;
}

.profile-card-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--grad-fire);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 6px 30px rgba(255, 90, 30, 0.45);
}

.profile-card-name {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.profile-card-email {
  color: var(--text-mute);
  font-size: 13px;
  margin-top: 2px;
  word-break: break-all;
}

.balance-card {
  margin-top: 16px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(255, 60, 20, 0.16), rgba(255, 170, 58, 0.04));
  border: 1px solid var(--border-strong);
  border-radius: 14px;
}

.balance-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.balance-value {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin: 4px 0 10px;
}

.balance-topup {
  width: 100%;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  background: var(--grad-fire);
  color: #fff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: transform .2s, box-shadow .2s;
}

.balance-topup:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -6px rgba(255, 60, 20, 0.55);
}

.balance-topup .topup-plus {
  display: inline-block;
  font-size: 18px;
  line-height: 13px;
  font-weight: 500;
}

/* Profile nav */
.profile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(40, 12, 18, 0.5), rgba(15, 6, 10, 0.5));
  border: 1px solid var(--border);
  border-radius: 16px;
}

.profile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-mute);
  font-size: 14.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition:
    background .22s ease,
    color .22s ease,
    border-color .22s ease,
    transform .22s cubic-bezier(.22,.61,.36,1);
  position: relative;
}

.profile-nav-item .ic {
  width: 17px;
  height: 17px;
  opacity: 0.75;
}

.profile-nav-item:hover {
  background: var(--surface);
  color: var(--text);
  transform: translateX(2px);
}

.profile-nav-item.active {
  background: linear-gradient(135deg, rgba(255, 60, 20, 0.18), rgba(255, 170, 58, 0.06));
  border-color: var(--border-strong);
  color: var(--text);
}

.profile-nav-item.active::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  border-radius: 0 4px 4px 0;
  background: var(--grad-fire);
  box-shadow: 0 0 14px var(--flame-2);
}

.profile-nav-item.active .ic { opacity: 1; color: var(--flame-3); }

.profile-nav-item.danger { color: var(--flame-3); }
.profile-nav-item.danger:hover { background: rgba(255, 46, 31, 0.12); }

.profile-nav-count {
  margin-left: auto;
  font-size: 11.5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-mute);
}

.profile-nav-item.active .profile-nav-count {
  background: rgba(255, 60, 20, 0.2);
  color: var(--flame-3);
}

.profile-sidebar-footer {
  margin-top: 14px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(40, 12, 18, 0.5), rgba(15, 6, 10, 0.5));
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ====================== MAIN ====================== */
.profile-main { min-width: 0; }

.profile-page { display: none; }
.profile-page.active {
  display: block;
  animation: pageIn .55s cubic-bezier(.22,.61,.36,1);
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.profile-page-head {
  margin-bottom: 28px;
}

.profile-page-head h1 {
  font-family: 'Inter', sans-serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 6px;
  line-height: 1.05;
}

.profile-page-head .page-actions {
  margin-top: 16px;
}

/* ====================== OVERVIEW ====================== */
.overview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.ov-stat {
  padding: 22px;
  background: linear-gradient(160deg, rgba(40, 12, 18, 0.6), rgba(15, 6, 10, 0.6));
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
  transition: transform .25s cubic-bezier(.22,.61,.36,1), border-color .25s;
}

.ov-stat:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.ov-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--flame-3);
  margin-bottom: 12px;
}

.ov-stat-icon .ic { width: 20px; height: 20px; }

.ov-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.ov-stat-label {
  font-size: 12.5px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-top: 6px;
}

.ov-card {
  padding: 24px;
  background: linear-gradient(160deg, rgba(40, 12, 18, 0.55), rgba(15, 6, 10, 0.55));
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-bottom: 18px;
}

.ov-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.ov-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ov-card-head h3 { margin-bottom: 0; }

.link-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--flame-3);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .2s;
}

.link-btn:hover { background: rgba(255, 60, 20, 0.08); }

.ov-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 800px) { .ov-row { grid-template-columns: 1fr; } }

.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background .22s, border-color .22s, transform .22s cubic-bezier(.22,.61,.36,1);
}

.quick-action:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateX(3px);
}

.qa-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-fire-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--flame-3);
}

.benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-mute);
  font-size: 14px;
}

.benefits .ic { color: var(--flame-3); width: 17px; height: 17px; }

/* ====================== ORDERS PAGE ====================== */
.order-card {
  padding: 20px;
  background: linear-gradient(180deg, rgba(40, 12, 18, 0.55), rgba(15, 6, 10, 0.55));
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 14px;
  transition: border-color .25s;
}

.order-card:hover { border-color: var(--border-strong); }

.order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.order-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.order-meta {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.order-meta b { color: var(--text-mute); font-weight: 500; }
.order-meta .dot { color: var(--border-strong); }

.order-pricecol { text-align: right; }

.order-price {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.order-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.os-pending   { background: rgba(255, 170, 58, 0.18); color: #ffaa3a; }
.os-paid      { background: rgba(72, 200, 220, 0.15); color: #7cd0ee; }
.os-completed { background: rgba(72, 220, 100, 0.15); color: #6dd982; }
.os-cancelled { background: rgba(120, 120, 120, 0.15); color: var(--text-dim); }

.order-accounts {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.order-accounts-title {
  font-size: 12px;
  color: var(--flame-3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cred-block {
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
}

.cred-block-title {
  color: var(--flame-3);
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.cred-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 90, 30, 0.08);
}
.cred-line:last-child { border-bottom: none; }

.cred-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 100px;
}

.cred-val {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text);
  user-select: all;
  word-break: break-all;
}

.cred-copy {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-mute);
  cursor: pointer;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cred-copy:hover { color: var(--flame-3); border-color: var(--flame-2); }
.cred-copy.copied { background: rgba(72, 220, 100, 0.15); color: #6dd982; border-color: rgba(72, 220, 100, 0.3); }
.cred-copy .ic { width: 12px; height: 12px; }

.order-pending-hint {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-pending-hint .ic { color: var(--flame-3); }

/* ====================== TOPUP PAGE ====================== */
.topup-card {
  padding: 28px;
  max-width: 560px;
  background: linear-gradient(160deg, rgba(40, 12, 18, 0.6), rgba(15, 6, 10, 0.6));
  border: 1px solid var(--border);
  border-radius: 20px;
}

.topup-current {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(255, 60, 20, 0.16), rgba(255, 170, 58, 0.04));
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  margin-bottom: 24px;
}

.topup-current-label {
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.topup-current-value {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.topup-amounts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.topup-amount {
  padding: 14px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  transition: all .22s cubic-bezier(.22,.61,.36,1);
}

.topup-amount:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.topup-amount.active {
  background: var(--grad-fire);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 22px -4px rgba(255, 60, 20, 0.5);
}

.topup-custom { margin-bottom: 20px; }
.topup-custom label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  margin-bottom: 6px;
}

.topup-info {
  padding: 14px 16px;
  background: var(--surface);
  border-radius: 12px;
  margin-bottom: 20px;
}

.topup-info .ic {
  color: var(--flame-3);
  vertical-align: middle;
  margin-right: 4px;
  width: 16px;
  height: 16px;
}

/* ====================== SETTINGS PAGE ====================== */
.settings-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}

.setting-card {
  padding: 26px;
  background: linear-gradient(160deg, rgba(40, 12, 18, 0.55), rgba(15, 6, 10, 0.55));
  border: 1px solid var(--border);
  border-radius: 18px;
}

.setting-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.setting-danger { border-color: rgba(255, 46, 31, 0.2); }
.setting-danger h3 { color: var(--flame-3); }

.order-id-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--text-mute);
  text-decoration: none;
  transition: color .15s ease;
}
.order-id-link:hover { color: var(--flame-3); }
.order-id-link svg { opacity: .7; }
.order-id-link:hover svg { opacity: 1; }

/* Read-only info rows */
.info-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.info-row:last-child { border-bottom: none; }

.info-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.info-value {
  color: var(--text);
  font-weight: 500;
  text-align: right;
  word-break: break-all;
}

/* Auth required gate */
.auth-required {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.auth-required-card {
  text-align: center;
  max-width: 480px;
  padding: 40px;
  background: linear-gradient(160deg, rgba(40, 12, 18, 0.7), rgba(15, 6, 10, 0.7));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  backdrop-filter: blur(20px);
}

.auth-required-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: var(--grad-fire);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 30px rgba(255, 60, 20, 0.4);
}
.auth-required-icon .ic { width: 32px; height: 32px; }

.auth-required-card h1 {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.auth-required-card p {
  color: var(--text-mute);
  margin-bottom: 24px;
}

/* Form row helper (mirror admin) */
.profile-main .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.profile-main .form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.profile-main .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) {
  .profile-main .form-row { grid-template-columns: 1fr; }
}

/* ====================== BOOSTER PANEL ====================== */
.boost-apply-lead {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.booster-earn-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 26px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(255,90,30,0.16), rgba(255,170,58,0.05));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}
.be-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-mute);
  font-weight: 600;
}
.be-value {
  font-family: 'Inter', sans-serif;
  font-size: 34px;
  font-weight: 700;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 4px 0;
}
.be-hint { font-size: 12.5px; color: var(--text-dim); }

.payout-form {
  padding: 20px 22px;
  margin-bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.payout-details-hint { display: block; margin-top: 7px; color: var(--text-dim); font-size: 12px; }
.payout-form select.input { color-scheme: dark; }

.booster-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.bs-item {
  padding: 18px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.bs-num {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--flame-3);
}
.bs-lbl { font-size: 12px; color: var(--text-mute); margin-top: 2px; }

.boost-job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}
.boost-job:last-child { margin-bottom: 0; }
.boost-job-mmr {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
}
.boost-job-mmr span { color: var(--flame-3); font-size: 13px; }
.boost-job-meta { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.boost-job-side { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.boost-job-pay {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--flame-3);
  white-space: nowrap;
}
.boost-job-status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-mute);
}
.bjs-done, .bjs-pending { color: var(--flame-3); }
.bjs-completed, .bjs-paid { color: #2ecc71; }
.bjs-cancelled, .bjs-rejected { color: var(--text-dim); }

.btn.btn-sm { padding: 9px 16px; font-size: 13px; }

.booster-page .boost-job-main { min-width: 0; overflow-wrap: anywhere; }
.booster-page .boost-job-side { flex-wrap: wrap; justify-content: flex-end; }
.booster-page .booster-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.booster-page .booster-tab { padding: 10px 15px; border: 1px solid var(--border); border-radius: 10px; color: var(--text-mute); background: var(--surface); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.booster-page .booster-tab:hover, .booster-page .booster-tab.active { color: var(--text); border-color: var(--accent-line); background: var(--grad-fire-soft); }
.booster-page .bt-count { margin-left: 5px; color: var(--flame-3); }
@media (max-width: 600px) {
  .booster-page { padding-top: 24px; }
  .booster-page .booster-stats { gap: 8px; }
  .booster-page .bs-item { min-width: 0; padding: 14px 6px; }
  .booster-page .boost-job { align-items: stretch; flex-direction: column; }
  .booster-page .boost-job-side { justify-content: flex-start; gap: 8px; }
  .booster-page .boost-job-pay { margin-right: auto; }
  .booster-page .payout-form .form-row { display: grid; grid-template-columns: minmax(0, 1fr); }
}


/* Service hub and payment polish */
#serviceSummaryCard { overflow: hidden; }
#serviceSummary { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
#serviceSummary .quick-action { min-height: 88px; align-items: flex-start; position: relative; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
#serviceSummary .quick-action:hover { transform: translateY(-3px); border-color: rgba(255,126,67,.5); background: rgba(255,106,43,.08); }
#serviceSummary .quick-action b { margin-left: auto; color: var(--flame-3); font: 700 18px 'Inter',sans-serif; }
#topupMethod { width: 100%; }
.topup-method-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:8px; }
.topup-method-card { display:flex; align-items:center; gap:9px; min-height:58px; padding:9px 10px; border:1px solid var(--border); border-radius:10px; color:var(--text); background:rgba(255,255,255,.025); text-align:left; cursor:pointer; }
.topup-method-card:hover, .topup-method-card.active { border-color:rgba(255,126,67,.75); background:rgba(255,106,43,.11); }
.topup-method-emoji { display:grid; place-items:center; width:28px; height:28px; border-radius:8px; background:rgba(255,106,43,.14); font-size:15px; }
.topup-method-card b, .topup-method-card small { display:block; }
.topup-method-card b { font-size:12px; }
.topup-method-card small { margin-top:3px; color:var(--text-dim); font-size:10px; }
.topup-method-loading { padding:12px; color:var(--text-dim); font-size:11px; }
.topup-method-hint { min-height: 16px; margin-top: 7px; color: var(--text-dim); font-size: 11px; line-height: 1.4; }
.topup-payment-info { margin-top: 12px; padding: 11px 12px; border: 1px solid rgba(255,126,67,.28); border-radius: 9px; color: var(--text-mute); background: rgba(255,106,43,.07); font-size: 12px; line-height: 1.45; }
.vpn-profile-list { display: grid; gap: 10px; }
#vpnProfileList { display: grid; gap: 10px; }
.vpn-dashboard-hero { padding: 24px; border: 1px solid rgba(255,126,67,.35); border-radius: 18px; background: linear-gradient(135deg, rgba(85,29,28,.82), rgba(25,18,24,.96)); box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.vpn-dashboard-top { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.vpn-dashboard-top h2 { margin:8px 0 0; color:var(--text); font:700 clamp(28px,4vw,42px)/1.05 'Inter',sans-serif; }
.vpn-status { padding:7px 11px; border-radius:999px; font-size:11px; font-weight:700; }
.vpn-status.is-active { color:#8ce4aa; background:rgba(67,190,112,.14); }
.vpn-status.is-ended { color:var(--text-dim); background:rgba(255,255,255,.08); }
.vpn-dashboard-count { display:flex; align-items:baseline; gap:10px; margin:28px 0 12px; }
.vpn-dashboard-count strong { color:var(--flame-3); font:700 64px/.9 'Inter',sans-serif; }
.vpn-dashboard-count span { color:var(--text-mute); font-size:14px; }
.vpn-dashboard-meta { display:flex; flex-wrap:wrap; gap:16px; color:var(--text-mute); font-size:12px; }
.vpn-dashboard-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:22px; }
.vpn-dashboard-grid { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(220px,.7fr); gap:14px; margin-top:14px; }
.vpn-dashboard-credentials { display:grid; gap:10px; }
.vpn-dashboard-credentials code { display:block; min-height:80px; padding:12px; border-radius:9px; color:var(--text); background:rgba(0,0,0,.22); font:12px/1.5 ui-monospace,monospace; white-space:pre-wrap; word-break:break-word; }
.vpn-device-stat { display:flex; align-items:baseline; gap:8px; padding:12px 0 6px; }
.vpn-device-stat strong { color:var(--flame-3); font:700 42px 'Inter',sans-serif; }
.vpn-device-stat span { color:var(--text-mute); font-size:12px; }
.vpn-empty-state { padding:55px 20px; border:1px dashed var(--border); border-radius:16px; text-align:center; }
.vpn-empty-state h3 { margin:14px 0 7px; color:var(--text); font-size:18px; }
.vpn-empty-state p { margin:0 0 18px; color:var(--text-mute); font-size:13px; }
.vpn-empty-icon { display:inline-grid; place-items:center; width:52px; height:52px; border-radius:15px; color:var(--flame-3); background:rgba(255,106,43,.12); font:700 13px 'Inter'; }
.vpn-profile-order { padding: 15px; border: 1px solid rgba(255,126,67,.24); border-radius: 13px; background: rgba(255,106,43,.055); }
.vpn-profile-order.is-expired { opacity: .7; }
.vpn-profile-order-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.vpn-profile-order-head b { display:block; color:var(--text); font-size:15px; }
.vpn-profile-order-head small { display:block; margin-top:4px; color:var(--text-dim); font-size:11px; }
.vpn-profile-order-head strong { color:var(--flame-3); font-size:12px; white-space:nowrap; }
.vpn-profile-meta { display:flex; flex-wrap:wrap; gap:12px; margin-top:12px; color:var(--text-mute); font-size:11px; }
.vpn-profile-credentials { display:grid; gap:7px; margin-top:12px; padding-top:11px; border-top:1px solid var(--border); }
.vpn-profile-credentials span { color:var(--text-dim); font-size:11px; }
.vpn-profile-credentials code { display:block; padding:9px; border-radius:8px; color:var(--text); background:rgba(0,0,0,.22); font:12px/1.45 ui-monospace,monospace; white-space:pre-wrap; word-break:break-word; }
.vpn-copy { justify-self:start; padding:5px 9px; border:1px solid var(--border); border-radius:7px; color:var(--flame-3); background:transparent; font-size:11px; cursor:pointer; }
.vpn-profile-pending { margin-top:12px; color:var(--text-dim); font-size:11px; }
.vpn-profile-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:13px; }
@media (max-width: 760px) { #serviceSummary { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px) { .vpn-dashboard-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { #serviceSummary { grid-template-columns: 1fr; } }

/* VPN profile */
#vpnDashboard { display:grid; gap:14px; }
.vpn-dash-kicker { display:block; color:#d58e70; font-size:10px; font-weight:800; letter-spacing:.14em; }
.vpn-dashboard-hero { position:relative; overflow:hidden; padding:26px; border:1px solid rgba(255,145,97,.25); background:radial-gradient(circle at 92% 0,rgba(255,108,58,.14),transparent 37%),linear-gradient(135deg,#2a1a18,#171314); }
.vpn-dashboard-hero:after { content:''; position:absolute; width:180px; height:180px; right:-70px; top:-85px; border:1px solid rgba(255,158,111,.12); border-radius:50%; pointer-events:none; }
.vpn-dashboard-top { position:relative; z-index:1; }
.vpn-dashboard-top h2 { margin:10px 0 5px; font-size:clamp(25px,3vw,34px); letter-spacing:-.04em; }
.vpn-dashboard-top p { margin:0; color:#ab9991; font-size:11px; }
.vpn-status { display:inline-flex; align-items:center; gap:7px; flex:none; padding:8px 10px; }
.vpn-status i { width:6px; height:6px; border-radius:50%; background:currentColor; }
.vpn-status.is-pending { color:#f5bc83; background:rgba(244,162,86,.12); }
.vpn-dashboard-details { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:28px; padding:18px 0; border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08); }
.vpn-dashboard-details span,.vpn-dashboard-details strong { display:block; }
.vpn-dashboard-details span { margin-bottom:7px; color:#a99a93; font-size:11px; }
.vpn-dashboard-details strong { color:#f7ece7; font-size:14px; }
.vpn-dashboard-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin-top:18px; color:#b7a39a; font-size:12px; }
.vpn-dashboard-bottom a,.vpn-dash-help a { color:#ffab83; text-decoration:none; font-weight:700; }
.vpn-dashboard-bottom a:hover,.vpn-dash-help a:hover { color:#ffd1b9; }
.vpn-dashboard-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(220px,.65fr); gap:14px; margin:0; }
.vpn-dash-card { min-width:0; padding:22px; border:1px solid rgba(255,255,255,.08); border-radius:16px; background:linear-gradient(145deg,rgba(35,27,27,.95),rgba(20,17,18,.97)); }
.vpn-dash-card h3 { margin:8px 0 0; color:#f8efeb; font:700 18px 'Inter',sans-serif; }
.vpn-dash-card>p,.vpn-device-card>p { color:#a99a93; font-size:12px; line-height:1.6; }
.vpn-dash-card-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.vpn-dash-card-icon { display:grid; place-items:center; width:38px; height:38px; border-radius:11px; background:rgba(255,130,77,.1); color:#ffa579; font-size:20px; }
.vpn-dashboard-credentials { margin-top:16px; }
.vpn-dashboard-credentials code { max-height:240px; overflow:auto; }
.vpn-dashboard-credentials button { justify-self:start; }
.vpn-connection-wait { display:flex; align-items:flex-start; gap:12px; margin-top:22px; padding:16px; border:1px solid rgba(255,162,108,.12); border-radius:12px; background:rgba(255,142,85,.045); }
.vpn-connection-wait>span { color:#efa47e; font-size:20px; line-height:1; }
.vpn-connection-wait strong { color:#eedbd1; font-size:13px; }
.vpn-connection-wait p { margin:6px 0 0; color:#aa9991; font-size:12px; line-height:1.6; }
.vpn-device-limit { display:flex; align-items:center; gap:13px; margin:20px 0; }
.vpn-device-limit strong { color:#ff9e73; font:700 42px/.9 'Inter',sans-serif; }
.vpn-device-limit span { color:#ad9a91; font-size:12px; line-height:1.5; }
.vpn-dash-divider { height:1px; background:rgba(255,255,255,.08); }
.vpn-dash-traffic { display:flex; justify-content:space-between; gap:12px; margin-top:15px; color:#ab9991; font-size:12px; }.vpn-dash-traffic strong { color:#f4e4dc; }
.vpn-dash-help { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:19px 22px; border:1px solid rgba(255,255,255,.07); border-radius:14px; background:rgba(255,255,255,.025); font-size:12px; }
.vpn-dash-help strong,.vpn-dash-help span { display:block; }.vpn-dash-help strong { color:#eee0d9; }.vpn-dash-help span { margin-top:5px; color:#a99a93; }
.vpn-subscriptions { display:grid; gap:9px; }.vpn-subscriptions>span { color:#ab9185; font-size:10px; font-weight:800; letter-spacing:.12em; }.vpn-subscriptions>div { display:flex; flex-wrap:wrap; gap:8px; }.vpn-subscriptions button { padding:10px 13px; border:1px solid rgba(255,255,255,.09); border-radius:10px; background:#211b1b; color:#eee0da; font:700 12px Inter,sans-serif; cursor:pointer; }.vpn-subscriptions button.is-selected { border-color:#e97d4d; background:rgba(255,118,62,.1); }.vpn-subscriptions button small { display:block; margin-top:4px; color:#ac9990; font-size:10px; font-weight:400; }
.vpn-empty-state { padding:50px 22px; border:1px solid rgba(255,140,95,.2); background:radial-gradient(circle at 50% 10%,rgba(255,110,58,.1),transparent 45%),#191415; }.vpn-empty-icon { width:60px; height:60px; margin-bottom:17px; font-size:30px; }.vpn-empty-state h3 { margin:12px 0 9px; font:700 23px 'Inter',sans-serif; }.vpn-empty-state p { max-width:390px; margin:0 auto 20px; line-height:1.7; }
.vpn-dashboard-error { padding:22px; border:1px solid rgba(255,128,86,.2); border-radius:12px; color:#dac9c0; font-size:13px; }.vpn-dashboard-error button { border:0; background:none; color:#ffad86; cursor:pointer; }
.vpn-overview-item { display:flex; align-items:center; gap:12px; width:100%; padding:13px; border:1px solid rgba(255,255,255,.08); border-radius:12px; background:rgba(255,255,255,.025); color:inherit; text-align:left; cursor:pointer; transition:border-color .2s,background .2s; }.vpn-overview-item:hover { border-color:rgba(255,137,87,.35); background:rgba(255,125,70,.06); }.vpn-overview-mark { display:grid; place-items:center; width:40px; height:40px; border-radius:11px; background:rgba(255,125,70,.1); color:#ffad83; font-size:10px; font-weight:800; }.vpn-overview-name { flex:1; min-width:0; }.vpn-overview-name b,.vpn-overview-name small { display:block; }.vpn-overview-name b { font-size:13px; }.vpn-overview-name small { margin-top:5px; color:#a99a93; font-size:11px; }.vpn-overview-arrow { color:#ffad83; }
@media(max-width:760px) { .vpn-dashboard-grid { grid-template-columns:1fr; } }
@media(max-width:520px) { .vpn-dashboard-hero,.vpn-dash-card { padding:20px; }.vpn-dashboard-top { flex-wrap:wrap; }.vpn-dashboard-details { grid-template-columns:1fr 1fr; row-gap:18px; }.vpn-dash-help { align-items:flex-start; flex-direction:column; } }

.vpn-reference-hero { padding:30px; }
.vpn-reference-hero .vpn-dashboard-top h2 { margin-top:18px; }
.vpn-remaining { display:flex; align-items:baseline; gap:9px; margin:24px 0 17px; }
.vpn-remaining strong { color:#ffac82; font:700 clamp(48px,7vw,68px)/.9 'Inter',sans-serif; letter-spacing:-.06em; }
.vpn-remaining span { color:#eadbd4; font-size:16px; }.vpn-remaining small { color:#ab9890; font-size:13px; }
.vpn-hero-meta { display:flex; flex-wrap:wrap; gap:12px 22px; color:#c1aaa0; font-size:12px; }
.vpn-hero-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:22px; }
.vpn-reference-grid { display:grid; grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr); gap:14px; }
.vpn-traffic-content { display:flex; align-items:center; gap:22px; margin-top:23px; }
.vpn-traffic-content>div:last-child { min-width:0; }.vpn-traffic-content>div>strong { color:#f4e7e0; font-size:13px; }.vpn-traffic-content p { color:#ab9991; font-size:12px; line-height:1.5; }
.vpn-traffic-ring { flex:0 0 112px; width:112px; height:112px; display:flex; flex-direction:column; justify-content:center; align-items:center; border:9px solid rgba(255,139,88,.19); border-top-color:#ff9c6c; border-radius:50%; }
.vpn-traffic-ring strong { color:#ffe0ce; font:700 28px 'Inter',sans-serif; }.vpn-traffic-ring span { color:#a99790; font-size:10px; }
.vpn-slots { color:#f7e7de; font:700 25px 'Inter',sans-serif; white-space:nowrap; }.vpn-slots small { color:#9c8b83; font-size:13px; }
.vpn-slots-bar { overflow:hidden; height:5px; margin:20px 0 4px; border-radius:6px; background:rgba(255,255,255,.08); }.vpn-slots-bar span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#e35130,#ffa36b); transition:width .35s ease; }
.vpn-device-list { padding:0; margin:0; list-style:none; }.vpn-device-list li { display:flex; align-items:center; gap:12px; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.07); }.vpn-device-list li>div { flex:1; min-width:0; }.vpn-device-list strong,.vpn-device-list small { display:block; overflow-wrap:anywhere; }.vpn-device-list strong { color:#f0e3dc; font-size:12px; }.vpn-device-list small { margin-top:4px; color:#a89991; font-size:11px; }.vpn-device-icon { flex:none; display:grid; place-items:center; width:38px; height:38px; border-radius:10px; background:rgba(255,145,90,.08); color:#ec9b76; }.vpn-device-list button { border:0; background:none; color:#eaa08d; font-size:11px; cursor:pointer; }.vpn-device-list button:disabled { opacity:.5; }.vpn-device-empty { padding:23px 0 5px; color:#a99a93; font-size:12px; }.vpn-device-note { margin:12px 0 0; color:#a99a93; font-size:11px; line-height:1.5; }
.vpn-connect-modal { position:fixed; inset:0; z-index:500; display:grid; place-items:center; padding:16px; background:rgba(0,0,0,.76); backdrop-filter:blur(6px); }.vpn-connect-modal[hidden] { display:none; }.vpn-connect-modal section { position:relative; width:min(100%,460px); padding:28px; border:1px solid rgba(255,145,97,.3); border-radius:18px; background:#201917; box-shadow:0 25px 70px rgba(0,0,0,.45); }.vpn-connect-modal h3 { margin:10px 0; font:700 24px 'Inter',sans-serif; }.vpn-connect-modal p { color:#bcaaa1; font-size:13px; line-height:1.6; }.vpn-connect-modal code { display:block; max-height:220px; overflow:auto; margin:16px 0; padding:14px; border-radius:9px; background:rgba(0,0,0,.25); color:#f6e8e1; white-space:pre-wrap; word-break:break-word; }.vpn-connect-modal a { color:#ffad83; }.vpn-connect-close { position:absolute; top:13px; right:16px; border:0; background:none; color:#cbb7ad; font-size:25px; cursor:pointer; }
@media(max-width:800px) { .vpn-reference-grid { grid-template-columns:1fr; } }
@media(max-width:480px) { .vpn-reference-hero { padding:20px; }.vpn-traffic-content { gap:14px; }.vpn-traffic-ring { width:90px; height:90px; flex-basis:90px; border-width:7px; } }

/* Profile overview and purchase filters */
#page-overview .overview-stats { grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
#page-overview .ov-stat { min-width:0; padding:19px; background:linear-gradient(145deg,#251b1a,#171414); }
#page-overview .ov-stat-num { font-size:clamp(20px,2.5vw,28px); overflow-wrap:anywhere; }
#page-overview .ov-stat-label { font-size:10px; line-height:1.45; }
#page-overview .ov-card { background:linear-gradient(145deg,#211919,#171414); border-color:rgba(255,255,255,.08); }
.overview-kicker { display:block; margin-bottom:7px; color:#d78c6b; font-size:10px; font-weight:800; letter-spacing:.13em; }
.overview-card-note { color:#a7958d; font-size:11px; }
#page-overview .ov-card-head h3 { margin:0; }
#serviceSummary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
#serviceSummary .quick-action { min-width:0; min-height:92px; flex-wrap:wrap; align-content:center; gap:8px; padding:14px; text-align:left; font:inherit; }
#serviceSummary .qa-ic { flex:none; }
#serviceSummary .qa-label { flex:1; min-width:0; font-size:12px; line-height:1.3; }
#serviceSummary b { color:#f5d8c9; font-size:13px; }
#page-overview .ov-row .ov-card { height:100%; margin:0; }
.overview-help-text { max-width:360px; color:#ae9d95; font-size:13px; line-height:1.7; }
.overview-open-orders { display:inline-flex; align-items:center; gap:12px; margin-top:20px; padding:11px 13px; border:1px solid rgba(255,135,85,.25); border-radius:10px; background:rgba(255,115,65,.07); color:#ffb594; font:700 12px Inter,sans-serif; cursor:pointer; transition:background .2s,border-color .2s; }
.overview-open-orders:hover { background:rgba(255,115,65,.14); border-color:rgba(255,135,85,.5); }
.orders-intro { margin:8px 0 0; color:#aa9c95; font-size:13px; line-height:1.6; }
#page-orders .page-actions { display:grid; gap:18px; margin-top:25px; }
.orders-filter-group { display:grid; gap:9px; }.orders-filter-group>span { color:#a9968e; font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.orders-filter-group .filter-pills { display:flex; flex-wrap:wrap; gap:8px; }
.order-game-badge { display:inline-flex; align-items:center; padding:4px 8px; border:1px solid rgba(255,137,87,.2); border-radius:7px; background:rgba(255,125,70,.07); color:#f2b69a; font-size:10px; font-weight:700; }
.orders-empty { padding:48px 22px; border:1px solid rgba(255,255,255,.08); border-radius:16px; background:rgba(255,255,255,.025); text-align:center; }.orders-empty>span { display:block; margin-bottom:10px; color:#ee9a72; font-size:27px; }.orders-empty strong { display:block; color:#f2e5df; font-size:16px; }.orders-empty p { margin:8px 0 16px; color:#ac9991; font-size:12px; line-height:1.6; }.orders-empty button,.orders-empty a { border:0; background:none; color:#ffad83; font:700 12px Inter,sans-serif; text-decoration:none; cursor:pointer; }
@media(max-width:950px) { #page-overview .overview-stats,#serviceSummary { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:440px) { #page-overview .ov-stat { padding:15px; } #serviceSummary .quick-action { min-height:76px; padding:10px; } .overview-card-note { display:none; } }

/* Match the profile's original dark ember surfaces. */
#page-overview .ov-stat { padding:22px; background:linear-gradient(160deg,rgba(40,12,18,.6),rgba(15,6,10,.6)); border-color:var(--border); }
#page-overview .ov-card { background:linear-gradient(160deg,rgba(40,12,18,.55),rgba(15,6,10,.55)); border-color:var(--border); }
.overview-actions-card .quick-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.overview-actions-card .quick-action { min-width:0; min-height:64px; padding:12px; font:inherit; text-align:left; }
.overview-actions-card .qa-label { font-size:13px; line-height:1.35; }

#page-orders .orders-filter-panel { gap:0; padding:20px 22px; border:1px solid var(--border); border-radius:17px; background:linear-gradient(160deg,rgba(40,12,18,.55),rgba(15,6,10,.55)); box-shadow:0 14px 34px rgba(0,0,0,.1); }
.orders-filter-heading { display:flex; justify-content:space-between; align-items:center; gap:15px; padding-bottom:15px; border-bottom:1px solid var(--border); }
.orders-filter-heading>div { display:flex; align-items:center; gap:10px; color:var(--text); font:700 15px 'Inter',sans-serif; }
.orders-filter-icon { width:29px; height:29px; display:grid; place-items:center; border-radius:9px; background:var(--grad-fire-soft); color:var(--flame-3); }
.orders-filter-icon svg { width:16px; height:16px; }
.orders-filter-heading>button { padding:7px 10px; border:0; border-radius:8px; background:transparent; color:var(--text-mute); font:600 11px Inter,sans-serif; cursor:pointer; transition:color .2s,background .2s; }
.orders-filter-heading>button:hover { background:rgba(255,90,30,.08); color:var(--flame-3); }
.orders-filter-group { grid-template-columns:90px minmax(0,1fr); align-items:center; gap:14px; padding-top:16px; }
.orders-filter-group>span { color:var(--text-dim); font-size:10px; letter-spacing:.1em; }
.orders-filter-group .filter-pills { align-items:center; gap:7px; }
#page-orders .orders-filter-group .filter-pill { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:38px; padding:8px 12px; border:1px solid rgba(255,255,255,.075); border-radius:10px; background:rgba(255,255,255,.025); color:var(--text-mute); font:600 12px Inter,sans-serif; cursor:pointer; transition:background .2s,border-color .2s,color .2s,transform .2s; }
#page-orders .orders-filter-group .filter-pill:hover { border-color:rgba(255,119,66,.38); color:var(--text); transform:translateY(-1px); }
#page-orders .orders-filter-group .filter-pill.active { border-color:rgba(255,112,62,.55); background:linear-gradient(135deg,rgba(255,87,35,.22),rgba(255,148,66,.08)); color:#ffe2d3; box-shadow:inset 0 0 0 1px rgba(255,118,65,.08); }
#page-orders .orders-filter-group .filter-pill:focus-visible,.orders-filter-heading>button:focus-visible { outline:2px solid var(--flame-2); outline-offset:2px; }
#ordersGameFilter img,.order-filter-symbol { width:18px; height:18px; object-fit:contain; flex:none; }
.order-filter-symbol { display:grid; place-items:center; color:var(--flame-3); font-size:15px; line-height:1; }
@media(max-width:760px) { .overview-actions-card .quick-actions { grid-template-columns:1fr; }.overview-actions-card .quick-action { min-height:54px; } }
@media(max-width:520px) { #page-orders .orders-filter-panel { padding:17px; }.orders-filter-group { grid-template-columns:1fr; gap:9px; }.orders-filter-group .filter-pills { gap:6px; } #page-orders .orders-filter-group .filter-pill { padding:8px 10px; }.overview-stats .ov-stat { padding:15px; } }

/* VPN uses the same burgundy surfaces and fire accents as the profile. */
#page-vpn .vpn-dashboard-hero {
  border-color: var(--border);
  background: radial-gradient(circle at 92% 0, rgba(255,90,30,.12), transparent 38%), linear-gradient(160deg, rgba(40,12,18,.7), rgba(15,6,10,.7));
}
#page-vpn .vpn-dash-card,
#page-vpn .vpn-dash-help,
#page-vpn .vpn-empty-state,
#page-vpn .vpn-dashboard-error {
  border-color: var(--border);
  background: linear-gradient(160deg, rgba(40,12,18,.55), rgba(15,6,10,.55));
}
#page-vpn .vpn-connect-modal section {
  border-color: var(--border);
  background: linear-gradient(160deg, #280c12, #0f060a);
}
#page-vpn .vpn-subscriptions button {
  border-color: var(--border);
  background: rgba(40,12,18,.55);
  transition: border-color .2s, background .2s, color .2s;
}
#page-vpn .vpn-subscriptions button:hover,
#page-vpn .vpn-subscriptions button.is-selected {
  border-color: rgba(255,112,62,.55);
  background: rgba(255,90,30,.1);
}
#page-vpn .vpn-dash-kicker { color: var(--flame-3); }
#page-vpn .vpn-traffic-ring { border-color: rgba(255,90,30,.15); border-top-color: var(--flame-2); }
#page-vpn .vpn-device-icon { background: var(--grad-fire-soft); color: var(--flame-3); }
#page-vpn .vpn-slots-bar span { background: var(--grad-fire); }
