@charset "UTF-8";

:root {
  /* цвета */
  --bg: #0B0706;
  --text: #F6EEEA;
  --muted: #BFB1AB;
  --muted-2: #D9CCC6;
  --accent: #FF6B2C;
  --accent-2: #FF7A3D;
  --on-accent: #1A0600;
  --ok: #3DDC84;
  --ok-text: #7BE9AE;
  --danger: #FF5C6C;
  --line: rgba(255,255,255,0.08);

  /* скругления */
  --r-card: 28px;
  --r-btn: 18px;
  --r-tile: 20px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  background: #060403;
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, input {
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  margin: 0;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

button:focus-visible,
input:focus-visible {
  outline: 2px solid #FFB08A;
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==================== LIVING AMBIENT GLOWS ==================== */
.bg-canvas {
  position: fixed;
  inset: 0;
  max-width: 430px;
  margin: 0 auto;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
}

.glow--a {
  width: 340px;
  height: 340px;
  top: -110px;
  right: -120px;
  background: radial-gradient(circle, rgba(255,107,44,.52), rgba(255,107,44,0) 70%);
  animation: glowFloatA 14s ease-in-out infinite alternate;
}

.glow--b {
  width: 380px;
  height: 380px;
  top: 420px;
  left: -200px;
  background: radial-gradient(circle, rgba(200,60,20,.42), rgba(200,60,20,0) 70%);
  animation: glowFloatB 18s ease-in-out infinite alternate;
}

.glow--c {
  width: 260px;
  height: 260px;
  bottom: -60px;
  right: -90px;
  background: radial-gradient(circle, rgba(255,140,66,.22), rgba(255,140,66,0) 72%);
  animation: glowPulseC 11s ease-in-out infinite alternate;
}

@keyframes glowFloatA {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.92; }
  50%  { transform: translate3d(-26px, 28px, 0) scale(1.08); opacity: 1; }
  100% { transform: translate3d(12px, -14px, 0) scale(0.95); opacity: 0.85; }
}

@keyframes glowFloatB {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  50%  { transform: translate3d(34px, -30px, 0) scale(1.1); opacity: 1; }
  100% { transform: translate3d(-12px, 18px, 0) scale(0.96); opacity: 0.8; }
}

@keyframes glowPulseC {
  0%   { transform: translate3d(0, 0, 0) scale(0.92); opacity: 0.65; }
  100% { transform: translate3d(-20px, -24px, 0) scale(1.15); opacity: 1; }
}

/* ==================== LAYOUT & STAGGERED ENTRANCE ==================== */
.screen {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

@media (min-width: 460px) {
  .screen {
    border-left: 1px solid rgba(255,255,255,0.06);
    border-right: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 0 80px rgba(0,0,0,0.85);
  }
}

.content {
  position: relative;
  z-index: 1;
  padding: 18px 16px 108px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tab-pane {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.tab-pane.active {
  display: flex;
}

.tab-pane.active > * {
  animation: cardSpringIn 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tab-pane.active > *:nth-child(1) { animation-delay: 0ms; }
.tab-pane.active > *:nth-child(2) { animation-delay: 55ms; }
.tab-pane.active > *:nth-child(3) { animation-delay: 110ms; }
.tab-pane.active > *:nth-child(4) { animation-delay: 165ms; }
.tab-pane.active > *:nth-child(5) { animation-delay: 220ms; }
.tab-pane.active > *:nth-child(6) { animation-delay: 275ms; }
.tab-pane.active > *:nth-child(7) { animation-delay: 320ms; }

@keyframes cardSpringIn {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* ==================== LIQUID GLASS ==================== */
.glass {
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 8px 24px rgba(0,0,0,.3);
}

.card {
  border-radius: var(--r-card);
  padding: 20px;
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.card--col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 16px 22px;
  gap: 12px;
}

/* ==================== TYPOGRAPHY ==================== */
.lbl {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--muted);
  text-transform: uppercase;
}

.eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.h-money {
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -1px;
  color: var(--text);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.h-plan {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.4px;
  line-height: 1.15;
  color: var(--text);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.value-flash {
  color: #FFB08A !important;
  text-shadow: 0 0 18px rgba(255,107,44,0.45);
}

.h-page {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.4px;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}

.sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.brand-word {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #FF884A 0%, #FF6220 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 107, 44, 0.25));
  user-select: none;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.recno-node {
  animation: nodeGlow 3.2s ease-in-out infinite;
}
.recno-node--2 { animation-delay: 0.4s; }
.recno-node--3 { animation-delay: 0.8s; }

@keyframes nodeGlow {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

.shield-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shield-wrap svg {
  animation: shieldHalo 3.6s ease-in-out infinite;
}

@keyframes shieldHalo {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(255,107,44,0.3)); transform: scale(1); }
  50%      { filter: drop-shadow(0 0 14px rgba(255,107,44,0.65)); transform: scale(1.04); }
}

.brand-head-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ==================== HEADER & AVATAR ==================== */
.header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
}

.header-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.header-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(255,107,44,0.32), inset 0 1px 0 rgba(255,255,255,0.3);
}

.avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}

.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
  transition: transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.16s ease, border-color 0.16s ease;
}

.icon-btn:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,107,44,0.35);
}

.icon-btn:active {
  transform: scale(0.92);
}

.bell-btn:hover svg {
  animation: bellSwing 0.55s ease;
}

@keyframes bellSwing {
  0%, 100% { transform: rotate(0deg); }
  20%      { transform: rotate(14deg); }
  45%      { transform: rotate(-12deg); }
  70%      { transform: rotate(7deg); }
  85%      { transform: rotate(-4deg); }
}

.bell-dot {
  position: absolute;
  top: 10px;
  right: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255,107,44,0.85);
}

.bell-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: radarPulse 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ==================== BUTTONS, SHIMMER & RIPPLE ==================== */
.btn, .btn2 {
  position: relative;
  overflow: hidden;
  min-width: fit-content;
  height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-btn);
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.18s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active, .btn2:active {
  transform: scale(0.965);
}

.btn {
  border: 0;
  background: linear-gradient(135deg, #FF7D45, #FF6020);
  color: var(--on-accent);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(255,107,44,.32), inset 0 1px 0 rgba(255,255,255,.32);
}

.btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.34), transparent);
  transform: rotate(22deg);
  pointer-events: none;
  animation: btnSheen 4.5s ease-in-out infinite;
}

@keyframes btnSheen {
  0%   { left: -70%; opacity: 0; }
  12%  { opacity: 1; }
  32%  { left: 135%; opacity: 0; }
  100% { left: 135%; opacity: 0; }
}

.btn:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 12px 28px rgba(255,107,44,.42), inset 0 1px 0 rgba(255,255,255,.36);
}

.btn2 {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: var(--text);
  font-weight: 600;
}

.btn2:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-1px);
}

.btn--sm, .btn2--sm {
  height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 13px;
}

.btn--full {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.btn-row .btn  { flex: 1 1 150px; padding: 0 14px; }
.btn-row .btn2 { flex: 1 1 100px; padding: 0 14px; }

.btn-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  pointer-events: none;
  animation: rippleWave 0.52s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
}

@keyframes rippleWave {
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* ==================== STATUS BADGE & RADAR PULSE ==================== */
.badge {
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ok-text);
  background: rgba(61,220,132,.12);
  border: 1px solid rgba(61,220,132,.4);
  flex-shrink: 0;
  white-space: nowrap;
}

.badge i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  display: inline-block;
}

.badge i::after,
.online-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ok);
  animation: radarPulse 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radarPulse {
  0%   { transform: scale(1); opacity: 0.72; }
  75%, 100% { transform: scale(2.6); opacity: 0; }
}

.pill-tag {
  height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-2);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  white-space: nowrap;
}

.pill-tag--accent {
  color: #FFB08A;
  background: rgba(255,107,44,.14);
  border-color: rgba(255,107,44,.32);
}

/* ==================== PROGRESS BAR WITH ENERGY FLOW ==================== */
.progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.bar-head span {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 13px;
}

.bar-head .bar-val {
  font-weight: 700;
  color: var(--text);
}

.bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #FF6B2C 0%, #FFB08A 50%, #FF6B2C 100%);
  background-size: 200% 100%;
  box-shadow: 0 0 12px rgba(255,107,44,0.45);
  transition: width 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  animation: barEnergy 2.6s linear infinite;
}

@keyframes barEnergy {
  0%   { background-position: 200% 0; }
  100% { background-position: 0% 0; }
}

/* ==================== QUICK ACTION TILES ==================== */
.tiles {
  display: flex;
  justify-content: space-between;
  padding: 4px 2px 0;
  gap: 6px;
}

.tile {
  flex: 1 1 0;
  max-width: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-2);
  padding: 0;
}

.tile .glass {
  position: relative;
  overflow: hidden;
  width: 60px;
  height: 60px;
  border-radius: var(--r-tile);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover .glass {
  transform: translateY(-2px);
  border-color: rgba(255,107,44,0.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 22px rgba(255,107,44,0.18);
}

.tile:active .glass {
  transform: scale(0.92);
}

.tile svg {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tile--renew:hover svg {
  transform: rotate(180deg);
}

.tile--devices:hover svg,
.tile--referrals:hover svg,
.tile--support:hover svg {
  transform: translateY(-1.5px) scale(1.08);
}

/* ==================== LOCATION CHIPS ==================== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  overflow: hidden;
  height: 36px;
  padding: 0 14px 0 7px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text);
  transition: transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1), border-color 0.2s ease, background 0.2s ease;
  animation: chipIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.chip:hover {
  transform: translateY(-2px);
  border-color: rgba(255,107,44,0.35);
  background: rgba(255,255,255,.11);
}

.chip:active {
  transform: scale(0.95);
}

@keyframes chipIn {
  from { opacity: 0; transform: translateY(8px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: none;
  border: 1px solid rgba(255,255,255,.22);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.online-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.online-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.online-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(61,220,132,0.7);
  flex-shrink: 0;
}

/* ==================== INPUTS & PROMO ==================== */
.input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.input-glass {
  flex: none;
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border-radius: 15px;
  background: rgba(0,0,0,.36);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-row .input-glass {
  flex: 1 1 0;
  width: auto;
  height: 46px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
}

.input-glass::placeholder {
  color: rgba(191,177,171,0.55);
}

.input-glass:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,107,44,0.14);
}

.promo-btn {
  position: relative;
  overflow: hidden;
  height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  background: rgba(255,107,44,.16);
  border: 1px solid rgba(255,107,44,.4);
  color: #FFB08A;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.18s ease, transform 0.16s ease;
}

.promo-btn:hover {
  background: rgba(255,107,44,.25);
}

.promo-btn:active {
  transform: scale(0.96);
}

.promo-list {
  display: none;
  flex-direction: column;
  gap: 8px;
}

.promo-list.has-items {
  display: flex;
}

.promo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(61,220,132,.10);
  border: 1px solid rgba(61,220,132,.28);
  font-size: 13px;
  color: var(--ok-text);
  animation: promoPop 0.34s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}

@keyframes promoPop {
  from { opacity: 0; transform: translateY(-6px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==================== KEYS & SLIDING SEGMENTED INDICATOR ==================== */
.key-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.34);
  border: 1px solid rgba(255,255,255,.10);
}

.key-code {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 12.5px;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-pill {
  height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  transition: background 0.16s ease, transform 0.14s ease;
}

.copy-pill:hover {
  background: rgba(255,255,255,.16);
}

.copy-pill:active {
  transform: scale(0.94);
}

.seg-tabs {
  position: relative;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.08);
}

.seg-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  border-radius: 10px;
  background: rgba(255,255,255,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 4px 12px rgba(0,0,0,.22);
  transition: transform 0.34s cubic-bezier(0.34, 1.38, 0.64, 1), width 0.34s cubic-bezier(0.34, 1.38, 0.64, 1);
  z-index: 0;
  pointer-events: none;
}

.seg-btn {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  height: 36px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.seg-btn.active {
  color: var(--text);
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeSlideGuide 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fadeSlideGuide {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted-2);
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,107,44,.18);
  border: 1px solid rgba(255,107,44,.4);
  color: #FFB08A;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==================== REFERRALS ==================== */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-card-num {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

.stat-card-num--ok {
  color: var(--ok-text);
}

.rule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.rule-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.rule-text {
  font-size: 13.5px;
  color: var(--muted-2);
  line-height: 1.4;
}

/* ==================== PROFILE: DEVICES, SWITCHES & LINKS ==================== */
.dev-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.danger-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--danger);
  transition: opacity 0.15s ease;
}

.danger-link:hover {
  opacity: 0.8;
}

.dev-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  max-height: 76px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  transition: opacity 0.24s ease, transform 0.24s ease, max-height 0.26s ease, padding 0.26s ease, border-color 0.2s ease;
}

.dev-row.removing {
  opacity: 0;
  transform: translateX(28px);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
}

.dev-ic {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255,107,44,.16), rgba(255,255,255,.06));
  border: 1px solid rgba(255,107,44,.26);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  flex-shrink: 0;
}

.dev-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dev-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.dev-sub {
  font-size: 12px;
  color: var(--muted);
}

.dev-remove {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: rgba(255,255,255,.06);
  transition: color 0.16s ease, background 0.16s ease, transform 0.14s ease;
}

.dev-remove:hover {
  color: var(--danger);
  background: rgba(255,92,108,.16);
}

.dev-remove:active {
  transform: scale(0.9);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.toggle-row:first-child {
  border-top: none;
  padding-top: 0;
}

.toggle-row:last-child {
  padding-bottom: 0;
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  border-radius: 26px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.12);
  transition: background 0.24s ease, border-color 0.24s ease;
}

.slider:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.26s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.switch input:checked + .slider {
  background: var(--accent);
  border-color: var(--accent);
}

.switch input:checked + .slider:before {
  transform: translateX(20px);
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: transform 0.16s ease;
}

.link-row:hover {
  transform: translateX(2px);
}

.link-row:first-child {
  border-top: none;
  padding-top: 2px;
}

.link-row:last-child {
  padding-bottom: 2px;
}

.link-left {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.link-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.link-badge--orange {
  background: rgba(255,107,44,.16);
  color: #FF8A4C;
  border: 1px solid rgba(255,107,44,.28);
}

.link-badge--green {
  background: rgba(61,220,132,.14);
  color: #7BE9AE;
  border: 1px solid rgba(61,220,132,.28);
}

.link-badge--violet {
  background: rgba(155,77,255,.16);
  color: #C49BFF;
  border: 1px solid rgba(155,77,255,.30);
}

.link-handle {
  font-size: 13px;
  color: var(--accent-2);
  font-weight: 600;
}

.legal-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  padding: 4px 0 8px;
}

.legal-footer a:hover {
  color: var(--text);
}

/* ==================== BOTTOM NAVIGATION + SLIDING PILL ==================== */
.nav {
  position: fixed;
  z-index: 30;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  width: calc(100% - 20px);
  max-width: 410px;
  height: 72px;
  padding: 0 6px;
  border-radius: 36px;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, rgba(28, 18, 14, 0.86), rgba(14, 9, 7, 0.94));
}

.nav-indicator {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 0;
  border-radius: 29px;
  background: linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,107,44,0.10));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 4px 16px rgba(255,107,44,0.18);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.38s cubic-bezier(0.34, 1.38, 0.64, 1), width 0.38s cubic-bezier(0.34, 1.38, 0.64, 1);
  z-index: 0;
  pointer-events: none;
}

.nb {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  height: 58px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: -.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease, transform 0.14s ease;
}

.nb:active {
  transform: scale(0.93);
}

.nb span {
  width: 100%;
  max-width: 56px;
  height: 28px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nb.on {
  color: #fff;
  font-weight: 600;
}

.nb.on svg {
  stroke: var(--accent-2);
  animation: navIconPop 0.36s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes navIconPop {
  0%   { transform: scale(0.84) translateY(2px); }
  55%  { transform: scale(1.16) translateY(-1px); }
  100% { transform: scale(1) translateY(0); }
}

/* ==================== SPRING BOTTOM SHEETS / MODALS ==================== */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5, 3, 2, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

@media (min-width: 460px) {
  .sheet-backdrop {
    align-items: center;
  }
}

.sheet-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sheet {
  width: 100%;
  max-width: 410px;
  border-radius: var(--r-card);
  padding: 22px 20px;
  background: linear-gradient(155deg, rgba(38,24,18,.94), rgba(14,9,8,.96));
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 16px 48px rgba(0,0,0,.65);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(44px) scale(0.96);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.sheet-backdrop.open .sheet {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sheet-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.sheet-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--muted-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.sheet-close:hover {
  background: rgba(255,255,255,.16);
}

.sheet-close:active {
  transform: scale(0.9);
}

.amt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.amt-pill {
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.18s ease;
}

.amt-pill.active {
  background: rgba(255,107,44,.18);
  border-color: var(--accent);
  color: #FFB08A;
}

.yoomoney-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,107,44,.38);
}

.ym-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(139, 63, 253, 0.38);
}

.ym-badge svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bot-note-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.plan-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.18s ease;
}

.plan-opt.active {
  background: rgba(255,107,44,.16);
  border-color: var(--accent);
}

.stepper-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
}

.stepper-ctrl {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-btn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.14s ease;
}

.step-btn:hover {
  background: rgba(255,255,255,.18);
}

.step-btn:active {
  transform: scale(0.9);
}

.qr-frame {
  background: #FFFFFF;
  padding: 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.qr-frame svg {
  width: 210px;
  height: 210px;
  display: block;
}

/* ==================== SPRING TOAST ==================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%) translateY(20px) scale(0.95);
  z-index: 120;
  width: max-content;
  max-width: min(390px, calc(100vw - 32px));
  padding: 11px 16px;
  border-radius: 16px;
  background: rgba(26, 15, 11, 0.94);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,107,44,.45);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.34s cubic-bezier(0.34, 1.35, 0.64, 1);
  box-shadow: 0 12px 32px rgba(0,0,0,.55);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.toast-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(61,220,132,0.18);
  color: var(--ok-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==================== BOOT & AUTH SCREEN ==================== */
.boot-screen {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
  z-index: 2;
}

.boot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.auth-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-content {
  position: relative;
  z-index: 1;
  padding: 28px 16px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100dvh;
  justify-content: center;
}

.auth-card {
  animation: cardSpringIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.otp-input {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.28em;
  height: 54px;
}

.tg-widget-slot {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.auth-err-box {
  border-color: rgba(255,107,44,0.32);
  background: rgba(255,107,44,0.08);
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,107,44,0.28);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spinRotate 0.8s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes spinRotate {
  to { transform: rotate(360deg); }
}

.pending-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

/* ==================== AVATAR IMAGE & BALANCE BREAKDOWN ==================== */
.avatar {
  position: relative;
}

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
}

.bal-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bal-sub {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 1px;
  line-height: 1.3;
}

/* ==================== STATUS & SERVER VARIANTS ==================== */
.badge--warn {
  color: #FFD180;
  background: rgba(255,179,71,.14);
  border-color: rgba(255,179,71,.38);
}

.badge--warn i,
.badge--warn i::after {
  background: #FFB347;
}

.badge--off {
  color: var(--muted-2);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.16);
}

.badge--off i {
  background: var(--muted);
}

.badge--off i::after {
  display: none;
}

.chip--off {
  opacity: 0.62;
  border-color: rgba(255,92,108,0.26);
}

.online-dot--warn {
  background: #FFB347;
  box-shadow: 0 0 8px rgba(255,179,71,0.7);
}

.online-dot--warn::after {
  background: #FFB347;
}

.plan-price {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}

.price-old {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
}

.logout-btn {
  color: var(--danger);
  border-color: rgba(255,92,108,0.24);
  background: rgba(255,92,108,0.06);
}

.logout-btn:hover {
  background: rgba(255,92,108,0.14);
}

/* ==================== TOP-UP AMOUNT BOX ==================== */
.topup-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(0,0,0,0.42);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.topup-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,107,44,0.16), inset 0 2px 6px rgba(0,0,0,0.35);
}

.topup-input-lbl {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.topup-num-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 21px;
  font-weight: 700;
  text-align: right;
  letter-spacing: -0.3px;
  -moz-appearance: textfield;
}

.topup-num-input::-webkit-outer-spin-button,
.topup-num-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.topup-cur-badge {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-2);
  flex-shrink: 0;
}

/* ==================== CLIENT DOWNLOADS & CONFIRMATION SHEET ==================== */
.guide-dl-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.guide-client-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}

.guide-client-block--primary {
  background: linear-gradient(145deg, rgba(255,107,44,0.13), rgba(255,255,255,0.04));
  border-color: rgba(255,107,44,0.32);
}

.guide-client-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.guide-client-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.confirm-warn-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,107,44,0.14), rgba(255,92,108,0.08));
  border: 1px solid rgba(255,107,44,0.34);
}

.confirm-warn-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.confirm-warn-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.4;
}

.dev-status-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--ok-text);
  background: rgba(61,220,132,0.12);
  border: 1px solid rgba(61,220,132,0.28);
  padding: 3px 8px;
  border-radius: 99px;
  flex-shrink: 0;
}

/* ==================== ADMIN TAB ==================== */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.admin-kpi-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 16px;
  border-radius: 22px;
}

.admin-kpi-val {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.15;
  color: var(--text);
}

.admin-kpi-val--accent {
  color: #FFB08A;
}

.admin-kpi-val--ok {
  color: var(--ok-text);
}

.admin-kpi-sub {
  font-size: 11.5px;
  color: var(--muted);
}

.admin-feed-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-feed-row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 13px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  text-align: left;
  color: var(--text);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.admin-feed-row:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,107,44,0.32);
}

.admin-feed-row:active {
  transform: scale(0.985);
}

.admin-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--on-accent);
  background: linear-gradient(145deg, #FF8A4C, #D94618);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
}

.admin-av--lg {
  width: 50px;
  height: 50px;
  font-size: 17px;
}

.admin-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-feed-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-feed-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-feed-sub {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-feed-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.admin-feed-amt {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ok-text);
}

.admin-feed-amt--spend {
  color: #FFB08A;
}

.admin-feed-time {
  font-size: 11px;
  color: var(--muted);
}

.admin-user-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 6px;
}

.admin-user-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-kv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.admin-kv {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-kv-val {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}

.admin-act-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 2px;
}

.admin-act-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.26);
  border: 1px solid rgba(255,255,255,0.08);
}

.admin-matches-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ==================== ADMIN PROMO CODE MANAGER ==================== */
.sheet--scrollable {
  max-height: calc(100vh - 28px);
  overflow-y: auto;
}

.adm-field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.adm-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.adm-max-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.adm-exp-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adm-exp-grid .amt-pill {
  flex: 1 1 calc(33.3% - 6px);
  min-width: 88px;
}

.admin-promo-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-promo-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 15px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.11);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.admin-promo-card--inactive {
  opacity: 0.72;
  background: rgba(255,255,255,0.03);
}

.admin-promo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-promo-code-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.admin-promo-code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
}

.admin-promo-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.admin-promo-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 13px;
  background: rgba(0,0,0,0.30);
  border: 1px solid rgba(255,255,255,0.07);
}

.admin-promo-stat-val {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-promo-stat-val--accent {
  color: #FFB08A;
}

.admin-promo-stat-val--ok {
  color: var(--ok-text);
}

.admin-promo-users {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.admin-promo-user-chip {
  height: 25px;
  padding: 0 9px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted-2);
  transition: background 0.15s ease, color 0.15s ease;
}

.admin-promo-user-chip:hover {
  background: rgba(255,107,44,0.18);
  border-color: rgba(255,107,44,0.36);
  color: #fff;
}

.admin-promo-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

.admin-promo-btn {
  flex: 1;
  height: 36px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  color: var(--text);
  transition: all 0.18s ease;
}

.admin-promo-btn:hover {
  background: rgba(255,255,255,0.14);
}

.admin-promo-btn--del {
  flex: 0 0 auto;
  padding: 0 14px;
  color: var(--danger);
  background: rgba(255,92,108,0.08);
  border-color: rgba(255,92,108,0.24);
}

.admin-promo-btn--del:hover {
  background: rgba(255,92,108,0.18);
}
