.account-page { min-height: 100vh; font-family: Inter, system-ui, sans-serif; color: #e2e8f0; }
html[data-shop-theme="light"].account-page { color: #0f172a; }

body.acc-authed #acc-guest { display: none !important; }
body.acc-authed #acc-app { display: grid !important; }
body:not(.acc-authed) #acc-app { display: none !important; }

.acc-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(7, 7, 15, 0.85);
}
html[data-shop-theme="light"] .acc-topbar { background: rgba(255,255,255,0.9); border-color: rgba(15,23,42,0.08); }
.acc-topbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-weight: 700; }
.acc-topbar-links { display: flex; gap: 12px; margin-right: auto; }
.acc-topbar-links a { text-decoration: none; color: inherit; opacity: 0.7; font-size: 14px; font-weight: 500; }
.acc-topbar-links a.is-active { opacity: 1; color: #a78bfa; }
.acc-topbar-tools { display: flex; gap: 8px; }

.acc-guest-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 64px);
  padding: 32px 20px;
}
.acc-guest-card {
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(165deg, rgba(22,24,40,0.98), rgba(10,11,20,0.98));
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}
html[data-shop-theme="light"] .acc-guest-card { background: #fff; border-color: rgba(15,23,42,0.08); }
.acc-guest-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.55; margin: 0 0 8px; }
.acc-guest-card h1 { margin: 0 0 8px; font-size: 26px; }
.acc-guest-lead { margin: 0 0 20px; font-size: 14px; opacity: 0.75; line-height: 1.5; }

.acc-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) 1fr;
  min-height: calc(100vh - 64px);
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .acc-layout { grid-template-columns: 1fr; }
  .acc-sidebar { position: sticky; top: 57px; z-index: 50; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .acc-sidebar-nav { display: flex; overflow-x: auto; gap: 4px; padding-bottom: 8px; }
  .acc-nav-link { flex: 0 0 auto; white-space: nowrap; }
  .acc-sidebar-logout { display: none; }
}

.acc-sidebar {
  padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
html[data-shop-theme="light"] .acc-sidebar { border-color: rgba(15,23,42,0.08); }
.acc-sidebar-user { display: flex; gap: 12px; align-items: center; }
.acc-sidebar-name { margin: 0; font-weight: 700; font-size: 15px; }
.acc-sidebar-email { margin: 2px 0 0; font-size: 12px; opacity: 0.6; }
.acc-sidebar-balance {
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(6,78,59,0.35), rgba(124,92,255,0.12));
  border: 1px solid rgba(52,211,153,0.3);
  position: relative;
  z-index: 2;
}
html[data-shop-theme="light"] .acc-sidebar-balance {
  background: linear-gradient(145deg, #ecfdf5, #f5f3ff);
  border-color: rgba(16,185,129,0.35);
}
.acc-sidebar-balance > span:first-child {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 6px;
}
.acc-balance-dual {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 8px;
}
.acc-balance-usdt { font-size: 18px; font-weight: 800; color: #6ee7b7; letter-spacing: -0.02em; }
.acc-balance-rub { font-size: 15px; font-weight: 700; color: #e9d5ff; }
.acc-balance-eq { font-size: 12px; opacity: 0.5; font-weight: 600; }
html[data-shop-theme="light"] .acc-balance-usdt { color: #047857; }
html[data-shop-theme="light"] .acc-balance-rub { color: #6d28d9; }
.acc-sidebar-topup {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: #a78bfa;
  text-decoration: none;
  cursor: pointer;
}
.acc-sidebar-topup:hover { color: #c4b5fd; text-decoration: underline; }
.acc-sidebar-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.acc-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
}
.acc-nav-link:hover { background: rgba(255,255,255,0.05); opacity: 1; }
.acc-nav-link.is-active { background: rgba(124,92,255,0.22); opacity: 1; color: #e9d5ff; }
html[data-shop-theme="light"] .acc-nav-link.is-active { color: #5b21b6; }
.acc-sidebar-logout { margin-top: auto; }

.acc-main { padding: 24px 28px 48px; overflow: auto; }
.acc-section-head { margin-bottom: 20px; }
.acc-section-head h1 { margin: 0 0 6px; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.acc-section-head p { margin: 0; opacity: 0.72; font-size: 14px; }
.acc-balance-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 0 !important;
}
.acc-balance-hero .acc-balance-usdt { font-size: 36px; }
.acc-balance-hero .acc-balance-rub { font-size: 24px; }

/* —— Dashboard (Обзор) —— */
.acc-dash-head { margin-bottom: 24px; }
.acc-dash-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}
.acc-dash-head h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #f8fafc 0%, #c4b5fd 55%, #6ee7b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-shop-theme="light"] .acc-dash-head h1 {
  background: linear-gradient(120deg, #0f172a 0%, #6d28d9 50%, #047857 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.acc-dash-lead { margin: 0; font-size: 14px; line-height: 1.55; opacity: 0.72; max-width: 52ch; }

.acc-dash-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.acc-dash-block { display: flex; flex-direction: column; gap: 14px; }
.acc-dash-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.acc-dash-label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.55;
}
.acc-dash-link {
  font-size: 13px;
  font-weight: 600;
  color: #a78bfa;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.acc-dash-link:hover { opacity: 1; text-decoration: underline; }
html[data-shop-theme="light"] .acc-dash-link { color: #6d28d9; }

.acc-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 720px) {
  .acc-stat-grid { grid-template-columns: 1fr; }
}

.acc-stat-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(155deg, rgba(30, 32, 52, 0.92), rgba(12, 13, 24, 0.96));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.acc-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
html[data-shop-theme="light"] .acc-stat-card {
  background: linear-gradient(155deg, #fff, #f8fafc);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}
.acc-stat-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 20px;
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.25);
}
.acc-stat-card--orders .acc-stat-icon {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(147, 197, 253, 0.3);
}
.acc-stat-card--spent .acc-stat-icon {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(110, 231, 183, 0.3);
}
.acc-stat-card--tg .acc-stat-icon {
  background: rgba(14, 165, 233, 0.15);
  border-color: rgba(125, 211, 252, 0.3);
}
.acc-stat-body { min-width: 0; flex: 1; }
.acc-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.58;
  margin-bottom: 6px;
}
.acc-stat-value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  word-break: break-word;
}
.acc-stat-card--tg .acc-stat-value { font-size: 17px; }

.acc-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 900px) {
  .acc-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .acc-quick-grid { grid-template-columns: 1fr; }
}

.acc-quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  min-height: 76px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.acc-quick-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.08);
  box-shadow: 0 12px 32px rgba(124, 92, 255, 0.12);
}
html[data-shop-theme="light"] .acc-quick-card {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
}
html[data-shop-theme="light"] .acc-quick-card:hover {
  background: #f5f3ff;
  border-color: rgba(109, 40, 217, 0.35);
}
.acc-quick-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 20px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
}
.acc-quick-card--shop .acc-quick-icon { background: rgba(251, 191, 36, 0.12); }
.acc-quick-card--topup .acc-quick-icon { background: rgba(52, 211, 153, 0.12); }
.acc-quick-card--orders .acc-quick-icon { background: rgba(96, 165, 250, 0.12); }
.acc-quick-card--tg .acc-quick-icon { background: rgba(56, 189, 248, 0.12); }
.acc-quick-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acc-quick-text strong { font-size: 14px; font-weight: 700; }
.acc-quick-text small { font-size: 11px; opacity: 0.55; font-weight: 500; }

.acc-order-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.acc-dash-empty {
  margin: 0;
  padding: 28px 20px;
  text-align: center;
  font-size: 14px;
  opacity: 0.65;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}
html[data-shop-theme="light"] .acc-dash-empty {
  border-color: rgba(15, 23, 42, 0.12);
  background: #f8fafc;
}

.acc-order-card {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(24, 26, 42, 0.95), rgba(10, 11, 20, 0.98));
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.3);
}
html[data-shop-theme="light"] .acc-order-card {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}
.acc-order-card .shop-account-order-top {
  align-items: flex-start;
  gap: 12px;
}
.acc-order-title { font-size: 15px; line-height: 1.35; }
.acc-order-card .shop-account-order-meta { margin: 8px 0 14px; font-size: 13px; opacity: 0.62; }
.acc-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: #0a0a12;
  background: linear-gradient(180deg, #f8fafc, #e2e8f0);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.acc-order-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.18);
}
html[data-shop-theme="light"] .acc-order-btn {
  color: #fff;
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  box-shadow: 0 6px 20px rgba(91, 33, 182, 0.25);
}

.acc-subhead { font-size: 16px; margin: 0 0 12px; }
.acc-card-list { display: flex; flex-direction: column; gap: 12px; }

/* —— Orders (Заказы) —— */
.acc-orders-head,
.acc-support-head { margin-bottom: 24px; }
.acc-orders-head h1,
.acc-support-head h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #f8fafc 0%, #c4b5fd 55%, #6ee7b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-shop-theme="light"] .acc-orders-head h1,
html[data-shop-theme="light"] .acc-support-head h1 {
  background: linear-gradient(120deg, #0f172a 0%, #6d28d9 50%, #047857 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.acc-orders-panel,
.acc-support-panel { display: flex; flex-direction: column; gap: 20px; }

.acc-orders-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 720px) {
  .acc-orders-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.acc-orders-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  max-width: 420px;
  padding: 0 16px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(155deg, rgba(24, 26, 42, 0.9), rgba(10, 11, 20, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
html[data-shop-theme="light"] .acc-orders-search {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.1);
}
.acc-orders-search-icon { font-size: 14px; opacity: 0.5; flex-shrink: 0; }
.acc-orders-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 14px;
  outline: none;
}
.acc-orders-search input::placeholder { opacity: 0.45; }

.acc-orders-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.acc-filter-pill {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.acc-filter-pill:hover {
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(124, 92, 255, 0.1);
}
.acc-filter-pill.is-active {
  border-color: rgba(167, 139, 250, 0.55);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.35), rgba(52, 211, 153, 0.15));
  color: #e9d5ff;
}
html[data-shop-theme="light"] .acc-filter-pill.is-active {
  color: #5b21b6;
  background: linear-gradient(135deg, #ede9fe, #ecfdf5);
}

.acc-order-list--page { gap: 14px; }

.acc-load-more {
  align-self: center;
  padding: 11px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.acc-load-more:hover {
  transform: translateY(-1px);
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(124, 92, 255, 0.12);
}
html[data-shop-theme="light"] .acc-load-more {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.12);
}

.acc-claim-panel {
  margin-top: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(24, 26, 42, 0.6), rgba(10, 11, 20, 0.8));
  overflow: hidden;
}
html[data-shop-theme="light"] .acc-claim-panel {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}
.acc-claim-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  list-style: none;
}
.acc-claim-summary::-webkit-details-marker { display: none; }
.acc-claim-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(124, 92, 255, 0.15);
  font-size: 16px;
}
.acc-claim-body {
  padding: 0 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.acc-claim-body > p {
  margin: 16px 0 12px;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.72;
}
.acc-claim-steps {
  margin: 0 0 16px;
  padding-left: 1.2em;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.78;
}
.acc-claim-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.acc-claim-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font-size: 14px;
}
html[data-shop-theme="light"] .acc-claim-form input {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.12);
}

.acc-ledger-full { max-height: none; }
.acc-tg-panel { position: relative; z-index: 5; max-width: 560px; }
.acc-tg-card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(165deg, rgba(22,24,40,0.95), rgba(10,11,20,0.98));
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
html[data-shop-theme="light"] .acc-tg-card {
  background: #fff;
  border-color: rgba(15,23,42,0.08);
  box-shadow: 0 12px 40px rgba(15,23,42,0.08);
}
.acc-tg-card--linked { border-color: rgba(34,197,94,0.35); }
.acc-tg-card-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.acc-tg-icon { font-size: 28px; line-height: 1; }
.acc-tg-meta { margin: 4px 0 0; font-size: 13px; opacity: 0.75; }
.acc-tg-meta code { font-size: 12px; }
.acc-tg-hint, .acc-tg-lead { font-size: 13px; line-height: 1.5; opacity: 0.78; margin: 0 0 14px; }
.acc-tg-steps { margin: 0 0 16px; padding-left: 1.2em; font-size: 14px; line-height: 1.55; }
.acc-tg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.acc-tg-notice { margin: 14px 0 8px; font-size: 14px; color: #a7f3d0; }
html[data-shop-theme="light"] .acc-tg-notice { color: #047857; }
.acc-tg-code-area { margin-top: 14px; }
.acc-tg-code-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 10px 0 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(0,0,0,0.35);
  border: 1px dashed rgba(253,224,71,0.35);
  font-family: ui-monospace, monospace;
}
html[data-shop-theme="light"] .acc-tg-code-box { background: #f8fafc; border-color: rgba(124,92,255,0.25); }
.acc-tg-code-box code { font-size: 26px; font-weight: 800; letter-spacing: 0.12em; color: #fde047; }
html[data-shop-theme="light"] .acc-tg-code-box code { color: #6d28d9; }
.acc-tg-expires { font-size: 12px; opacity: 0.65; }
.acc-tg-wait { margin: 12px 0 0; font-size: 13px; opacity: 0.6; }
.acc-notify {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  background: rgba(22,24,40,0.96);
  border: 1px solid rgba(124,92,255,0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.acc-notify.is-ok { border-color: rgba(34,197,94,0.5); color: #bbf7d0; }
.acc-notify.is-err { border-color: rgba(248,113,113,0.5); color: #fecaca; }
html[data-shop-theme="light"] .acc-notify { background: #fff; color: #0f172a; }

.acc-slots-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.acc-slot-card {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* —— Support (Поддержка) —— */
.acc-support-panel { max-width: 560px; }

.acc-support-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: inherit;
  background: linear-gradient(155deg, rgba(30, 32, 52, 0.92), rgba(12, 13, 24, 0.96));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.acc-support-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
html[data-shop-theme="light"] .acc-support-card {
  background: linear-gradient(155deg, #fff, #f8fafc);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.acc-support-card--tg {
  border-color: rgba(56, 189, 248, 0.35);
  background: linear-gradient(155deg, rgba(14, 116, 144, 0.25), rgba(12, 13, 24, 0.96));
}
html[data-shop-theme="light"] .acc-support-card--tg {
  background: linear-gradient(155deg, #ecfeff, #f0f9ff);
  border-color: rgba(14, 165, 233, 0.35);
}
.acc-support-card--tg:hover { border-color: rgba(56, 189, 248, 0.55); }

.acc-support-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}
.acc-support-card--tg .acc-support-icon {
  background: rgba(56, 189, 248, 0.2);
}
.acc-support-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.acc-support-text strong { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.acc-support-text span:last-child,
.acc-support-card--doc > span:not(.acc-support-icon):not(.acc-support-arrow) {
  font-size: 13px;
  opacity: 0.65;
  font-weight: 500;
}
.acc-support-card--doc {
  font-size: 14px;
  font-weight: 600;
}
.acc-support-arrow {
  flex-shrink: 0;
  font-size: 18px;
  opacity: 0.45;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.acc-support-card:hover .acc-support-arrow {
  transform: translateX(3px);
  opacity: 0.85;
}

.acc-support-legal {
  display: grid;
  gap: 10px;
}
@media (min-width: 520px) {
  .acc-support-legal { grid-template-columns: 1fr 1fr; }
}

.acc-settings-form { max-width: 400px; }
.acc-settings-meta { font-size: 12px; opacity: 0.55; margin-top: 16px; }

/* Shared order badges (was in shop.css) */
.shop-order-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.shop-order-badge.is-pending { background: rgba(251, 191, 36, 0.15); color: #fcd34d; }
.shop-order-badge.is-paid { background: rgba(59, 130, 246, 0.15); color: #93c5fd; }
.shop-order-badge.is-processing { background: rgba(168, 85, 247, 0.15); color: #d8b4fe; }
.shop-order-badge.is-done { background: rgba(34, 197, 94, 0.15); color: #86efac; }
.shop-order-badge.is-fail { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }

.shop-account-order-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.shop-account-order-meta { font-size: 12px; opacity: 0.65; margin: 6px 0; }

.shop-order-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.shop-order-modal[hidden] { display: none !important; }
.shop-order-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}
.shop-order-modal-card {
  position: relative;
  width: min(480px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(22, 24, 40, 0.98), rgba(10, 11, 20, 0.99));
}
html[data-shop-theme="light"] .shop-order-modal-card {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.1);
}
.shop-order-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.shop-order-modal-close {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.7;
}
.shop-topup-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.shop-topup-preset {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.shop-topup-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; margin-bottom: 8px; }
.shop-topup-form input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
}
.shop-topup-methods { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.shop-pay-btn { flex: 1; min-width: 120px; }

.shop-account-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.shop-account-tab {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font-weight: 600;
  cursor: pointer;
}
.shop-account-tab.is-active {
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(124, 92, 255, 0.2);
}
.shop-account-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; margin-bottom: 12px; }
.shop-account-form input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
}
.shop-account-alert { margin-top: 12px; font-size: 13px; }
.shop-account-alert.is-err { color: #fca5a5; }
.shop-account-alert.is-ok { color: #86efac; }
.shop-cabinet-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
}
