:root {
  --bg-canvas: #f2f3f7;
  --bg-card: #ffffff;
  --bg-subtle: #f9fafb;

  --text-main: #111827;
  --text-sub: #4b5563;
  --text-muted: #9ca3af;

  --accent-green: #059669;
  --accent-green-bg: #ebfaf2;
  --accent-btn-black: #1c1c1e;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --safe-top: env(safe-area-inset-top, 16px);
  --safe-bottom: env(safe-area-inset-bottom, 16px);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

html {
  width: 100%;
  max-width: 100vw;
  height: 100%;
  overflow-x: hidden;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

body {
  width: 100%;
  max-width: 100vw;
  min-height: 100%;
  background-color: var(--bg-canvas);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

button, input, select, textarea, a,
.vse-app-card, .vse-btn-black, .vse-payment-card,
.vse-dock-item, .vse-cart-action-btn, .vse-tab-btn,
.vse-sheet-dialog, .vse-order-sheet {
  touch-action: manipulation !important;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

.twa-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  min-height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  width: 100%;
  padding-bottom: calc(var(--safe-bottom) + 96px);
}

.tab-pane {
  display: none;
  width: 100%;
}

.tab-pane.active {
  display: block;
  animation: tabFadeIn 0.22s ease-out;
}

@keyframes tabFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bottom-spacer {
  height: 0;
}

body.cart-on .main-content {
  padding-bottom: calc(var(--safe-bottom) + 172px);
}

.vse-owned-badge {
  display: none;
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  padding-right: 4px;
}

.vse-app-card.owned {
  cursor: default;
}

.vse-app-card.owned .vse-owned-badge {
  display: inline-block;
}

.vse-app-card.owned .vse-app-checkbox-circle {
  display: none;
}

.vse-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px 16px;
}

.vse-brand-info {
  display: flex;
  flex-direction: column;
}

.vse-brand-logo-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vse-brand-logo-icon {
  color: var(--text-main);
  display: flex;
  align-items: center;
}

.vse-brand-logo-img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
}

.vse-brand-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.4px;
}

.vse-brand-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 1px;
}

.vse-support-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-green);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  transition: opacity 0.15s;
}

.vse-support-link:active {
  opacity: 0.7;
}

.vse-counters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px 14px 16px;
}

.vse-counter-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.vse-counter-val {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -0.5px;
}

.vse-counter-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

.vse-search-container {
  padding: 0 16px 10px 16px;
}

.vse-search-input-box {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vse-search-ico {
  color: var(--text-muted);
  flex-shrink: 0;
}

.vse-search-input-box input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 16px !important; 
  color: var(--text-main);
  font-family: inherit;
  touch-action: manipulation;
}

.vse-search-input-box input::placeholder {
  color: var(--text-muted);
}

.vse-search-clear {
  border: none;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-sub);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
}

.vse-categories-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px 14px 16px;
  scrollbar-width: none;
}

.vse-categories-scroll::-webkit-scrollbar {
  display: none;
}

.vse-cat-chip {
  border: none;
  background: #e5e7eb;
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s;
}

.vse-cat-chip.active {
  background: var(--accent-btn-black);
  color: #ffffff;
}

.vse-section-header {
  padding: 0 16px 12px 16px;
}

.vse-section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.4px;
}

.vse-apps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px;
  contain: layout;
}

.vse-app-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: background-color 0.12s ease, opacity 0.12s ease;
  contain: layout style;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.vse-app-card.card-hidden {
  display: none !important;
}

.vse-app-card:active {
  background-color: #f3f4f6;
  opacity: 0.92;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.vse-app-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vse-app-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.vse-app-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vse-app-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 3px;
}

.vse-app-ver {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.vse-badge-pill {
  background: var(--accent-green-bg);
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vse-badge-pill.installed {
  background: #e0f2fe;
  color: #0284c7;
}

.vse-badge-chevron {
  font-size: 11px;
  opacity: 0.7;
}

.vse-promo-banner {
  margin: 0 16px 14px 16px;
  background: #17181a;
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s, border-color 0.15s;
  color: #ffffff;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  border: 1.5px solid transparent;
}

.vse-promo-banner:active {
  transform: scale(0.985);
}

.vse-promo-banner.selected {
  border-color: #10b981;
  background: #101e18;
}

.vse-promo-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vse-promo-tag-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vse-promo-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.vse-promo-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vse-promo-price-bold {
  font-size: 17px;
  font-weight: 800;
  color: #10b981;
}

.vse-promo-price-strike {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: line-through;
}

.vse-promo-discount-badge {
  background: #10b981;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.vse-bundle-radio {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.vse-promo-banner.selected .vse-bundle-radio {
  border-color: #10b981;
  background: #10b981;
}

.vse-bundle-check-svg {
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vse-promo-banner.selected .vse-bundle-check-svg {
  opacity: 1;
  transform: scale(1);
}

.vse-catalog-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vse-catalog-count-badge {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.vse-app-card.selected {
  background: #f0fdf4;
  border-color: #86efac;
}

.vse-app-checkbox-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.vse-app-card.selected .vse-app-checkbox-circle {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.vse-app-checkbox-circle svg {
  display: none;
}

.vse-app-card.selected .vse-app-checkbox-circle svg {
  display: block;
}

.vse-floating-cart-wrapper {
  position: fixed;
  bottom: calc(var(--safe-bottom) + 98px);
  left: 16px;
  right: 16px;
  max-width: 468px;
  margin: 0 auto;
  padding: 0;
  z-index: 85;
  will-change: transform, opacity;
  pointer-events: none;
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.vse-floating-cart-wrapper.visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

.vse-floating-cart-wrapper.hiding {
  opacity: 0 !important;
  transform: translateY(28px) scale(0.94) !important;
  pointer-events: none !important;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), transform 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.vse-floating-cart-bar {
  background: linear-gradient(180deg, rgba(32, 33, 40, 0.65) 0%, rgba(18, 19, 24, 0.55) 100%);
  backdrop-filter: blur(20px) saturate(190%) contrast(108%);
  -webkit-backdrop-filter: blur(20px) saturate(190%) contrast(108%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 1.5px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 10px 14px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), inset 0 1.5px 2px rgba(255, 255, 255, 0.7), inset 0 -1.5px 2px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.vse-cart-meta-col {
  display: flex;
  flex-direction: column;
}

.vse-cart-discount-label {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 600;
}

.vse-cart-price-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vse-cart-old-price {
  font-size: 13px;
  color: #6b7280;
  text-decoration: line-through;
}

.vse-cart-final-price {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
}

.vse-cart-dismiss-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  margin-left: 4px;
}

.vse-cart-action-btn {
  background: #10b981;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.18s, box-shadow 0.18s;
}

.vse-cart-action-btn:active {
  background: #059669;
  opacity: 0.94;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.vse-cart-action-btn .vse-arrow {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vse-cart-action-btn:hover .vse-arrow,
.vse-cart-action-btn:active .vse-arrow {
  transform: translateX(3px);
}

.price-pulse {
  animation: cartPricePulse 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cartPricePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); color: #34d399; }
  100% { transform: scale(1); }
}

.vse-order-sheet,
#order-modal-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 500px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  border-top-left-radius: 28px !important;
  border-top-right-radius: 28px !important;
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  overscroll-behavior: contain;
}

.vse-order-title-col {
  display: flex;
  flex-direction: column;
}

.vse-order-tag-green {
  font-size: 12px;
  font-weight: 800;
  color: #059669;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.vse-order-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.4px;
  margin-top: 2px;
}

.vse-order-scroll-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.vse-order-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  max-height: 140px;
  overflow-y: auto;
  padding: 4px 0;
}

.vse-order-tag-pill {
  background: #f3f4f6;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.vse-order-modal-footer {
  flex-shrink: 0;
  padding-top: 6px;
  background: #ffffff;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.vse-order-modal-footer .vse-order-summary-row {
  margin-bottom: 12px;
  padding: 8px 0;
}

.vse-order-modal-footer .vse-btn-black {
  width: 100%;
}

.vse-payment-methods-box {
  margin-bottom: 20px;
}

.vse-payment-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
  display: block;
}

.vse-payment-options-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vse-payment-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 0.22s ease,
              border-color 0.22s ease,
              box-shadow 0.22s ease;
  will-change: transform;
}

.vse-payment-card:active {
  transform: scale(0.965);
}

.vse-payment-card.active {
  border-color: #10b981;
  background: #f0fdf4;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.12);
}

.vse-pay-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vse-pay-ico-wrap {
  width: 28px;
  height: 28px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vse-pay-ico-wrap.sbp-ico,
.vse-pay-ico-wrap.stars-ico {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #64748b;
}

.vse-grey-pay-icon {
  width: 22px;
  height: 22px;
  display: block;
  transition: transform 0.24s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vse-payment-card.active .vse-grey-pay-icon {
  transform: scale(1.1);
}

.vse-grey-star-inline {
  display: inline-block;
  vertical-align: -2px;
  margin-left: 3px;
  width: 13px;
  height: 13px;
}

.vse-pay-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.vse-pay-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.vse-pay-radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
}

.vse-payment-card.active .vse-pay-radio-dot {
  border-color: #10b981;
  background: #10b981;
  box-shadow: inset 0 0 0 4px #ffffff;
  transform: scale(1.08);
}

.vse-order-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid #f3f4f6;
  margin-bottom: 14px;
}

.vse-summary-lbl {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
}

.vse-summary-price-col {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vse-summary-old {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.vse-summary-bold {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.vse-profile-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vse-profile-empty-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
  margin: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.vse-empty-bag-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #ebfaf2;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vse-empty-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
}

.vse-dock-container {
  position: fixed;
  bottom: calc(var(--safe-bottom) + 10px);
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 8px;
  max-width: 420px;
  margin: 0 auto;
  z-index: 85;
  pointer-events: none;
  box-sizing: border-box;
}

.vse-dock-bar {
  pointer-events: auto;
  position: relative;
  flex: 1;
  min-width: 0;
  height: 52px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(0, 0, 0, 0.14) 100%);
  backdrop-filter: blur(28px) saturate(210%) contrast(105%) brightness(105%);
  -webkit-backdrop-filter: blur(28px) saturate(210%) contrast(105%) brightness(105%);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-top: 1.5px solid rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 
    0 10px 30px 0 rgba(0, 0, 0, 0.20),
    0 2px 8px 0 rgba(0, 0, 0, 0.08),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.12),
    inset 0 0 12px 0 rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 3px 4px;
  gap: 2px;
  box-sizing: border-box;
}

.vse-dock-search-btn {
  pointer-events: auto;
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  border: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(0, 0, 0, 0.14) 100%);
  backdrop-filter: blur(28px) saturate(210%) contrast(105%) brightness(105%);
  -webkit-backdrop-filter: blur(28px) saturate(210%) contrast(105%) brightness(105%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-top: 1.5px solid rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 
    0 10px 30px 0 rgba(0, 0, 0, 0.20),
    0 2px 8px 0 rgba(0, 0, 0, 0.08),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.12),
    inset 0 0 12px 0 rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.vse-dock-search-btn:active {
  transform: scale(0.92);
}

.vse-dock-search-icon {
  stroke: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}

.vse-dock-item {
  position: relative;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  height: 46px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  padding: 3px 2px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.vse-dock-item span {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 550;
  letter-spacing: -0.2px;
  text-align: center;
  white-space: nowrap;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: color 0.18s ease, font-weight 0.18s ease;
  -webkit-font-smoothing: antialiased;
}

.vse-dock-icon {
  width: 22px;
  height: 22px;
  display: block;
  color: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.18s ease, filter 0.18s ease;
}

.vse-dock-item:active {
  transform: scale(0.93);
}

.vse-dock-item.active {
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.60);
  border-radius: var(--radius-pill);
  box-shadow: 
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.80),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.10);
}

.vse-dock-item.active span {
  color: #00a2ff;
  font-weight: 650;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.vse-dock-item.active .vse-dock-icon {
  color: #00a2ff;
  transform: scale(1.04);
  filter: drop-shadow(0 1px 3px rgba(0, 162, 255, 0.55));
}

@media (max-width: 375px) {
  .vse-dock-container {
    padding: 0 4px;
    gap: 5px;
  }
  .vse-dock-bar {
    height: 48px;
    padding: 2px 3px;
  }
  .vse-dock-search-btn {
    width: 48px;
    height: 48px;
  }
  .vse-dock-item {
    height: 42px;
    padding: 2px 1px;
  }
  .vse-dock-item span {
    font-size: 10px;
    letter-spacing: -0.3px;
  }
  .vse-dock-icon {
    width: 20px;
    height: 20px;
  }
}

body.modal-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

body.modal-open #main-scroll {
  overflow: hidden !important;
  touch-action: none !important;
  pointer-events: none !important;
}

body.modal-open .bottom-nav {
  pointer-events: none !important;
}

.vse-modal-curtain {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.46);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  touch-action: none;
  transition: opacity 0.46s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.46s;
  will-change: opacity;
  transform: translateZ(0);
}

.vse-modal-curtain.active {
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.vse-sheet-dialog {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 500px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  z-index: 100;
  background: #ffffff;
  border-top-left-radius: 28px !important;
  border-top-right-radius: 28px !important;
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  box-shadow: 0 -12px 45px rgba(0, 0, 0, 0.2);
  padding: 10px 18px calc(var(--safe-bottom) + 20px) 18px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
  transform: translate3d(0, 105%, 0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.46s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.46s;
  contain: layout paint;
}

.vse-sheet-dialog.active {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
}

.vse-sheet-handle {
  display: flex;
  justify-content: center;
  padding: 4px 0 10px 0;
  cursor: grab;
}

.vse-handle-bar {
  width: 36px;
  height: 4.5px;
  border-radius: var(--radius-pill);
  background: #d1d5db;
}

.vse-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.vse-sheet-app-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vse-sheet-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.vse-sheet-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vse-sheet-title-col {
  display: flex;
  flex-direction: column;
}

.vse-sheet-app-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.vse-sheet-app-ver {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.vse-sheet-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  border: none;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s;
}

.vse-sheet-close-btn:active {
  transform: scale(0.92);
}

.vse-segmented-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.vse-tab-btn {
  border: none;
  border-radius: 16px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: #f3f4f6;
  color: var(--text-sub);
  transition: all 0.18s;
}

.vse-tab-btn.active {
  background: var(--accent-btn-black);
  color: #ffffff;
}

.vse-tab-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e5e7eb;
  color: var(--text-sub);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vse-tab-btn.active .vse-tab-num {
  background: #374151;
  color: #ffffff;
}

.vse-warning-banner {
  background: #fef8ec;
  border: 1px solid #faecd8;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.vse-warning-icon {
  color: #b45309;
  flex-shrink: 0;
  margin-top: 1px;
}

.vse-warning-heading {
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
  display: block;
  margin-bottom: 2px;
}

.vse-warning-text {
  font-size: 12px;
  color: #a16207;
  line-height: 1.4;
}

.vse-sheet-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 10px;
}

.vse-sheet-scroll::-webkit-scrollbar {
  display: none;
}

.vse-install-phase-init {
  padding: 10px 4px 6px;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.vse-install-phase-init.phase-exiting {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
}

.vse-phase-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.vse-phase-sub {
  font-size: 13.5px;
  color: var(--text-sub);
  margin-bottom: 22px;
  line-height: 1.4;
}

.vse-install-phase-active {
  transform-origin: top center;
}

.vse-install-phase-active.phase-opening-anim {
  animation: phaseMasterFade 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes phaseMasterFade {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.vse-install-phase-active.phase-opening-anim > *:nth-child(1) {
  animation: phaseStaggerSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.04s both;
}
.vse-install-phase-active.phase-opening-anim > *:nth-child(2) {
  animation: phaseStaggerSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}
.vse-install-phase-active.phase-opening-anim > *:nth-child(3) {
  animation: phaseStaggerSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}
.vse-install-phase-active.phase-opening-anim > *:nth-child(4) {
  animation: phaseStaggerSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}
.vse-install-phase-active.phase-opening-anim > *:nth-child(5) {
  animation: phaseStaggerSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.20s both;
}
.vse-install-phase-active.phase-opening-anim > *:nth-child(6) {
  animation: phaseStaggerSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

@keyframes phaseStaggerSlide {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.vse-btn-black {
  width: 100%;
  background: var(--accent-btn-black);
  color: #ffffff;
  border: none;
  border-radius: 18px;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s, background 0.15s;
}

.vse-btn-black:active {
  opacity: 0.9;
  filter: brightness(0.92);
}

.vse-btn-black.disabled {
  background: #6b7280;
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.vse-arrow {
  font-size: 16px;
}

.vse-step1-card {
  background: #edf9f2;
  border: 1px solid #cbf0db;
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
}

.vse-step1-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.vse-step1-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-green);
}

.vse-step1-timer-badge {
  background: #ffffff;
  border: 1px solid #d1fae5;
  border-radius: 10px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vse-timer-clock {
  font-size: 12px;
}

.vse-timer-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.vse-timer-val {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-main);
}

.vse-timer-lbl {
  font-size: 10px;
  color: var(--text-muted);
}

.vse-step1-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.vse-step1-sub {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.4;
  margin-bottom: 14px;
}

.vse-step1-footnote {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

.vse-card-neutral {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
}

.vse-step-indicator-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.vse-step-circle-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e5e7eb;
  color: var(--text-sub);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vse-step-subtext {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.vse-step-heading {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.vse-step-expl {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.4;
  margin-bottom: 14px;
}

.vse-mockups-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.vse-mockup-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vse-mockup-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.alert-mockup-frame {
  background: #dbe0e8;
}

.homescreen-mockup-frame {
  background: linear-gradient(135deg, #dfd7cc 0%, #b8aba0 100%);
}

.vse-ios-alert-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 8px 6px 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  text-align: center;
  width: 95%;
}

.vse-alert-msg {
  font-size: 9.5px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  line-height: 1.3;
}

.vse-alert-btns {
  border-top: 1px solid #e5e7eb;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 6px;
}

.vse-alert-btn {
  font-size: 10px;
  color: #007aff;
}

.vse-alert-btn.bold {
  font-weight: 700;
}

.vse-homescreen-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vse-hs-app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.vse-hs-icon-settings {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #8e8e93;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.vse-hs-icon-loading {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  position: relative;
  overflow: hidden;
  background: #000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.vse-hs-app-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.vse-loading-ring-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vse-ring-svg {
  width: 24px;
  height: 24px;
  transform: rotate(-90deg);
}

.ring-bg {
  stroke: #ffffff;
  stroke-width: 3.5;
  fill: none;
  opacity: 0.35;
}

.ring-fill {
  stroke: #ffffff;
  stroke-width: 3.5;
  fill: none;
  stroke-linecap: round;
}

.vse-hs-app-name {
  font-size: 9px;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.vse-mockup-caption {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 8px;
  text-align: center;
}

.vse-mockup-caption strong {
  color: var(--text-main);
  margin-right: 2px;
}

.vse-accordion-wrap {
  background: #fef7eb;
  border: 1px solid #fde7c7;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 12px;
  cursor: pointer;
}

.vse-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vse-acc-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vse-acc-icon {
  color: #b45309;
}

.vse-acc-title {
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
}

.vse-acc-sub {
  font-size: 11px;
  color: #b45309;
}

.vse-acc-arrow {
  font-size: 12px;
  color: #b45309;
  transition: transform 0.25s ease;
}

.vse-acc-arrow.open {
  transform: rotate(90deg);
}

.vse-troubleshoot-list {
  list-style: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(180, 83, 9, 0.15);
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: #78350f;
  line-height: 1.4;
}

.vse-checkbox-box {
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 14px;
  transition: border-color 0.18s;
}

.vse-checkbox-box:hover {
  border-color: var(--accent-btn-black);
}

.vse-custom-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s;
}

.vse-custom-checkbox.checked {
  background: var(--accent-btn-black);
  border-color: var(--accent-btn-black);
}

.vse-custom-checkbox svg {
  display: none;
}

.vse-custom-checkbox.checked svg {
  display: block;
}

.vse-checkbox-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
}

.vse-act-timer-card {
  background: #edf9f2;
  border: 1px solid #cbf0db;
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.vse-act-timer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vse-act-clock-icon {
  color: var(--accent-green);
  display: flex;
  align-items: center;
}

.vse-act-timer-text-group {
  display: flex;
  flex-direction: column;
}

.vse-act-timer-sub {
  font-size: 12px;
  color: var(--accent-green);
  font-weight: 600;
}

.vse-act-timer-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin-top: 2px;
  letter-spacing: -0.4px;
}

.vse-act-timer-badge {
  background: #ffffff;
  border: 1px solid #d1fae5;
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.vse-act-mockups-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.vse-act-mockup-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vse-act-mockup-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.frame-wallpaper {
  background: linear-gradient(135deg, #dfd7cc 0%, #b8aba0 100%);
}

.vse-wallpaper-content {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  width: 100%;
  justify-content: center;
}

.vse-hs-icon-settings-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.vse-hs-icon-settings-small {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #8e8e93;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  border: 1.5px solid #ef4444;
}

.vse-hs-icon-app-green {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.green-dot-inner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
}

.vse-hs-app-name-sm {
  font-size: 8.5px;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.vse-red-pointer-arrow {
  position: absolute;
  color: #ef4444;
  font-size: 22px;
  font-weight: 900;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.arrow-1 {
  top: -8px;
  left: 22px;
}

.frame-settings-profile {
  background: #f2f2f7;
}

.vse-settings-inner-ui {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.vse-settings-ui-title {
  font-size: 13px;
  font-weight: 800;
  color: #000000;
  padding-left: 2px;
}

.vse-settings-profile-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #ef4444;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.vse-profile-circle-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #818cf8, #6366f1);
  flex-shrink: 0;
}

.vse-profile-card-texts {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.vse-prof-user-title {
  font-size: 9px;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
}

.vse-prof-user-sub {
  font-size: 7px;
  color: #8e8e93;
  white-space: nowrap;
}

.vse-prof-arrow {
  font-size: 10px;
  color: #c7c7cc;
  margin-left: auto;
}

.arrow-2 {
  top: 2px;
  right: 14px;
}

.vse-input-box-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.vse-input-box-left {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-right: 8px;
}

.vse-input-box-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 2px;
}

.vse-input-box-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: monospace;
}

.vse-input-copy-btn {
  border: none;
  background: var(--accent-btn-black);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
}

.vse-input-copy-btn:active {
  background: var(--accent-green);
}

.vse-act-info-box {
  background: #edf9f2;
  border: 1px solid #cbf0db;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.vse-act-info-icon-circ {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 1px;
}

.vse-act-info-bold {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-green);
  display: block;
  margin-bottom: 2px;
}

.vse-act-info-desc {
  font-size: 12px;
  color: #047857;
  line-height: 1.35;
}

.vse-code-request-card {
  background: #ebfaf2;
  border: 1px solid #cbf0db;
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.vse-code-card-left {
  display: flex;
  flex-direction: column;
}

.vse-code-card-label {
  font-size: 11px;
  color: var(--accent-green);
  font-weight: 600;
}

.vse-code-card-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-green);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.vse-code-refresh-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbf0db;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease;
}

.vse-code-refresh-btn:active {
  transform: rotate(180deg);
}

.vse-page-header {
  padding: 18px 16px 14px 16px;
}

.vse-page-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.4px;
}

.vse-page-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.vse-info-card {
  margin: 0 16px 16px 16px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  gap: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.vse-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(5, 150, 105, 0.1);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vse-info-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.vse-info-text p {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.4;
}

.vse-steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px;
  margin-bottom: 24px;
}

.vse-timeline-item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  gap: 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.vse-tl-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-btn-black);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vse-tl-body h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.vse-tl-body p {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.4;
}

#tab-referrals .vse-card-neutral,
.vse-ref-card {
  margin: 0 16px 16px 16px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.vse-ref-balance-wrap {
  text-align: center;
  padding: 4px 0 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
}

.vse-ref-lbl {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
}

.vse-ref-sum {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  display: block;
  margin-top: 4px;
  letter-spacing: -0.5px;
}

.vse-ref-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.vse-ref-stat-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px 4px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 66px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.vse-stat-val {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-main);
  display: block;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.vse-stat-lbl {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.2;
}

.vse-profile-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vse-avatar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-btn-black);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
}

.vse-profile-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
}

.vse-profile-handle {
  font-size: 13px;
  color: var(--text-muted);
}

.vse-toast {
  position: fixed;
  top: calc(var(--safe-top) + 14px);
  left: 50%;
  width: max-content;
  max-width: min(calc(100vw - 32px), 440px);
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translate3d(-50%, -140%, 0) scale(0.96);
  background: rgba(28, 28, 30, 0.96);
  color: #ffffff;
  padding: 15px 24px;
  border-radius: 20px;
  font-size: 14.5px;
  line-height: 1.4;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0.42s;
}

.vse-toast .toast-message {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}

.vse-toast.show {
  transform: translate3d(-50%, 0, 0) scale(1);
  opacity: 1;
  visibility: visible;
}

.vse-splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f2f3f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1), transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.38s;
  will-change: opacity, transform;
}

.vse-splash-screen.fade-out {
  opacity: 0;
  transform: scale(1.02);
  visibility: hidden;
  pointer-events: none;
}

.vse-splash-card {
  width: 100%;
  max-width: 320px;
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vse-splash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.vse-splash-logo-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vse-splash-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
  display: block;
}

.vse-splash-brand-texts {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.vse-splash-brand-title {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.vse-splash-brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
}

.vse-dino-stage-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 18px;
}

.vse-dino-stage {
  width: 260px;
  height: 64px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  cursor: pointer;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
  touch-action: manipulation;
}

.vse-dino-stage canvas {
  display: block;
  width: 260px;
  height: 64px;
}

.vse-splash-meta {
  width: 100%;
  max-width: 260px;
}

.vse-splash-bar-outer {
  width: 100%;
  height: 5px;
  background: #f3f4f6;
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 8px;
}

.vse-splash-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: var(--radius-pill);
  transition: width 0.22s ease-out;
}

.vse-splash-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
}

.vse-splash-percent {
  font-weight: 700;
  color: #111827;
}

.vse-udid-status-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid #e2e8f0;
  border-radius: 22px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.vse-udid-status-card.enrolled {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border-color: #86efac;
}

.vse-udid-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.vse-udid-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
}

.vse-udid-status-card.enrolled .vse-udid-badge-pill {
  background: rgba(5, 150, 105, 0.15);
  color: #059669;
}

.vse-udid-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
}

.vse-udid-status-card.enrolled .vse-udid-dot {
  background: #10b981;
}

.vse-udid-no-icloud-tag {
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 8px;
  border-radius: 8px;
}

.vse-udid-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.vse-udid-card-desc {
  font-size: 12px;
  color: #4b5563;
  line-height: 1.4;
  margin-bottom: 12px;
}

.vse-udid-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vse-udid-btn-main {
  flex: 1;
  background: #111827;
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.vse-udid-btn-main:active {
  transform: scale(0.98);
}

.vse-udid-btn-sec {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 11px 13px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.vse-plans-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.vse-plan-mini-card {
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 18px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.vse-plan-mini-card:active {
  transform: scale(0.98);
}

.vse-plan-mini-card.selected {
  border-color: #111827;
  background: #f8fafc;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
}

.vse-plan-mini-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  background: #dcfce7;
  color: #15803d;
  padding: 2px 7px;
  border-radius: 6px;
  margin-bottom: 5px;
}

.vse-plan-mini-badge.vip {
  background: #fef3c7;
  color: #b45309;
}

.vse-plan-mini-title {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 4px;
}

.vse-plan-mini-price {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}

.vse-plan-mini-price del {
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
  margin-left: 4px;
}

.vse-profile-device-box {
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  padding: 15px 16px;
  margin-bottom: 12px;
}

.vse-pdev-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.vse-pdev-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #6b7280;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.vse-pdev-model {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.vse-pdev-status-badge {
  font-size: 11px;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
  padding: 4px 9px;
  border-radius: 8px;
  white-space: nowrap;
}

.vse-pdev-udid-line {
  font-size: 12px;
  color: #4b5563;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 7px 10px;
  margin-bottom: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vse-pdev-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.vse-pdev-btn {
  border-radius: 12px;
  padding: 10px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
}

.vse-pdev-btn.primary {
  background: #111827;
  color: #ffffff;
}

.vse-pdev-btn.secondary {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

.vse-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}

.vse-status-pill.success {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.vse-status-pill.waiting {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

@keyframes vseSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vse-spin {
  animation: vseSpin 1.1s linear infinite;
}

.vse-install-ready-box, .vse-install-waiting-box {
  text-align: center;
  padding: 8px 4px;
}

.vse-install-ready-title, .vse-install-waiting-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: -0.4px;
}

.vse-install-ready-sub, .vse-install-waiting-sub {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.45;
  margin-bottom: 18px;
}

.vse-install-link-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.vse-install-link-btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.vse-instructions-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 16px;
  margin-top: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vse-instr-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.vse-instr-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f3f4f6;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.vse-instr-text {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.45;
}

.vse-instr-text strong {
  color: var(--text-main);
}

.vse-support-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.vse-support-notice a {
  color: var(--text-main);
  font-weight: 600;
  text-decoration: none;
}

.vse-waiting-info-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 16px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.5;
  text-align: left;
}

.vse-payment-card.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: auto;
}

.vse-payment-card.disabled:active {
  transform: none;
}

.vse-payment-card.disabled .vse-pay-radio-dot {
  border-color: #cbd5e1;
  background: transparent;
}

.vse-ref-hero-card,
.vse-ref-funnel-card,
.vse-ref-activity-card {
  margin: 0 16px 14px 16px;
  background: #ffffff;
  border-radius: 20px;
  padding: 18px 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.vse-ref-activity-card {
  margin-bottom: 24px;
}

.vse-ref-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.vse-ref-badge-pct {
  background: #ecfdf5;
  color: #059669;
  font-weight: 700;
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.vse-ref-payout-hint {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

.vse-ref-balance-center {
  text-align: center;
  padding: 6px 0 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 14px;
}

.vse-ref-sub-hint {
  font-size: 12px;
  color: #10b981;
  font-weight: 600;
  margin: 4px 0 0 0;
}

.vse-ref-link-field {
  margin-bottom: 10px;
}

.vse-ref-link-lbl {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 5px;
  display: block;
}

.vse-ref-input-group {
  display: flex;
  gap: 6px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 4px 6px 4px 12px;
}

.vse-ref-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 12px;
  color: #0f172a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  outline: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vse-ref-copy-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}

.vse-ref-copy-btn:active {
  transform: scale(0.92);
}

.vse-ref-hero-actions {
  margin-top: 14px;
}

.vse-funnel-header,
.vse-activity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vse-funnel-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.vse-funnel-sub {
  font-size: 11.5px;
  color: #94a3b8;
  display: block;
  margin-top: 2px;
}

.vse-period-selector {
  background: #f1f5f9;
  padding: 3px;
  border-radius: 12px;
  display: flex;
  gap: 3px;
  margin: 14px 0 14px 0;
}

.vse-period-pill {
  flex: 1;
  border: none;
  background: transparent;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.vse-period-pill.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  font-weight: 700;
}

.vse-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.vse-kpi-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.vse-kpi-card.highlight-emerald {
  background: #f0fdf4;
  border-color: rgba(16, 185, 129, 0.2);
}

.vse-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.vse-kpi-label {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}

.vse-kpi-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vse-kpi-icon svg {
  display: block;
}

.vse-kpi-icon.icon-blue {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.vse-kpi-icon.icon-purple {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
}

.vse-kpi-icon.icon-amber {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
}

.vse-kpi-icon.icon-emerald {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}

.vse-kpi-icon.icon-rose {
  background: rgba(225, 29, 72, 0.1);
  color: #e11d48;
}

.vse-kpi-icon.icon-gold {
  background: rgba(5, 150, 105, 0.12);
  color: #059669;
}

.vse-kpi-val {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin-top: 2px;
}

.vse-kpi-card.highlight-emerald .vse-kpi-val {
  color: #059669;
}

.vse-kpi-sub {
  font-size: 10.5px;
  color: #94a3b8;
  margin-top: 2px;
}

.vse-activity-count {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 20px;
}

.vse-ref-list {
  margin-top: 10px;
}

.vse-ref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.vse-ref-item:last-child {
  border-bottom: none;
}

.vse-ref-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.vse-ref-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe, #bfdbfe);
  color: #0369a1;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vse-ref-name-col {
  min-width: 0;
}

.vse-ref-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.vse-ref-date {
  font-size: 11px;
  color: #94a3b8;
  display: block;
}

.vse-ref-item-right {
  text-align: right;
  flex-shrink: 0;
}

.vse-ref-tag-paid {
  background: #ecfdf5;
  color: #059669;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
}

.vse-ref-tag-reg {
  background: #f1f5f9;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
}

.vse-ref-earning {
  font-size: 12.5px;
  font-weight: 800;
  color: #059669;
  display: block;
  margin-top: 2px;
}

.vse-ref-empty {
  text-align: center;
  padding: 32px 16px 24px 16px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.vse-ref-empty-ico {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  flex-shrink: 0;
}

.vse-ref-empty-ico svg {
  display: block;
}

.vse-ref-empty h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
  text-align: center;
  width: 100%;
}

.vse-ref-empty p {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0 auto;
  max-width: 260px;
  line-height: 1.45;
  text-align: center;
}

.vse-code-warning-card {
  margin: 0 16px 16px 16px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid rgba(239, 68, 68, 0.2);
  box-shadow: 0 4px 18px rgba(220, 38, 38, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.vse-code-warning-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.vse-code-alert-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(239, 68, 68, 0.09);
  color: #dc2626;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.1px;
}

.vse-code-tries-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: #f1f5f9;
  color: #0f172a;
  font-size: 11px;
  font-weight: 700;
}

.vse-code-warning-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.vse-code-warning-lead {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.4;
  margin-bottom: 12px;
}

.vse-code-rules-grid {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 12px;
}

.vse-code-rule-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 13px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.vse-code-rule-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-btn-black);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.vse-code-rule-content {
  flex: 1;
}

.vse-code-rule-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.vse-code-rule-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.4;
}

.vse-code-rule-desc strong {
  color: var(--text-main);
}

.vse-code-caution-banner {
  background: linear-gradient(135deg, rgba(254, 242, 242, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.vse-caution-icon-wrap {
  color: #dc2626;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
}

.vse-caution-text-block {
  flex: 1;
}

.vse-caution-head {
  font-size: 13px;
  font-weight: 800;
  color: #b91c1c;
  margin-bottom: 3px;
}

.vse-caution-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
  margin-bottom: 6px;
}

.vse-caution-desc a {
  color: #007aff;
  font-weight: 600;
  text-decoration: none;
}

.vse-caution-footer-tag {
  font-size: 10.5px;
  font-weight: 850;
  color: #dc2626;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.vse-modal-2fa-warning {
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.28);
  border-radius: 16px;
  padding: 14px;
  margin-top: 14px;
  text-align: left;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.05);
}

.vse-m2fa-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.vse-m2fa-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  font-size: 11px;
  font-weight: 800;
}

.vse-m2fa-timer {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.vse-m2fa-title {
  font-size: 13px;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 6px;
}

.vse-m2fa-step {
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
  margin-bottom: 6px;
}

.vse-m2fa-step strong {
  color: #0f172a;
}

.vse-m2fa-step a {
  color: #007aff;
  text-decoration: none;
  font-weight: 600;
}

.vse-m2fa-danger {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(239, 68, 68, 0.25);
  font-size: 11px;
  font-weight: 850;
  color: #dc2626;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}


