﻿/* ================================================================
   VODKA — SHARED DESIGN SYSTEM
   All pages use this file
   ================================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #4f91c2;
  --green-dark: #174f79;
  --green-light: #eaf5fc;
  --black: #123a5a;
  --dark: #1c4a70;
  --grey-1: #f5f6f8;
  --grey-2: #eceef1;
  --grey-3: #d5d9e0;
  --grey-4: #668da9;
  --text: #174f79;
  --text-light: #668da9;
  --red: #5f9fc8;
  --gold: #f6a623;
  --bg: #eef0f4;
  --card: #ffffff;
  --nav-bg: #123a5a;
  --nav-active: var(--green);
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-w: 100%;
}

html,
body {
  min-height: 100%;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}
input,
select {
  font: inherit;
  outline: none;
}
img {
  display: block;
  max-width: 100%;
}

.icon-text-fallback {
  display: inline-grid;
  align-items: center;
  justify-content: center;
  min-width: 1em;
  min-height: 1em;
  line-height: 1;
  font-style: normal;
  font-weight: 800;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  background: var(--bg);
}

.page-content {
  width: 100%;
  max-width: var(--max-w);
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: none;
}

.spa-route[data-route="home"] .page-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}

.spa-route[data-route="home"] .page-content {
  height: 100%;
  min-height: 0;
}

.spa-route[data-route="home"] .hero-banner {
  flex: 1 1 0;
  height: auto;
  min-height: 195px;
}

.home-dashboard {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 12px;
  background: #f6f7f5;
  overscroll-behavior-y: contain;
}
.home-overview { padding: 0 12px 12px; }
.home-about-card {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 22px 24px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 92% 18%, rgba(226, 173, 73, .32), transparent 34%),
    linear-gradient(120deg, #102d25 0%, #1c4938 54%, #416442 100%);
  box-shadow: 0 14px 28px rgba(25, 55, 39, .18);
  color: #fff;
}
.home-about-card::after {
  position: absolute;
  right: -52px;
  bottom: -96px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 24px rgba(255,255,255,.035), 0 0 0 52px rgba(255,255,255,.025);
  pointer-events: none;
}
.home-about-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  color: #e8c878;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-about-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 7px;
  font-size: clamp(20px, 5vw, 25px);
  letter-spacing: -.035em;
}
.home-about-card p {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  line-height: 1.55;
}
.home-about-link {
  position: relative;
  z-index: 2;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 11px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}
.home-about-link:hover { transform: translateY(-1px); background: rgba(255,255,255,.2); }
.home-about-link svg { width: 14px; height: 14px; }
.home-about-decoration {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.09);
  color: #f0d58f;
  transform: rotate(8deg);
}
.home-about-decoration svg { width: 24px; height: 24px; }
.home-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.home-summary-card {
  min-width: 0;
  min-height: 154px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(26,35,28,.12);
  transition: transform .18s ease, box-shadow .18s ease;
}
.home-summary-card:hover,
.home-summary-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(26,35,28,.17);
}
.home-summary-card:focus-visible,
.home-about-link:focus-visible {
  outline: 3px solid rgba(79,145,194,.45);
  outline-offset: 3px;
}
.home-summary-balance {
  background:
    linear-gradient(180deg, rgba(34, 111, 157, .08), rgba(35, 113, 159, .34)),
    radial-gradient(ellipse at 10% 110%, #a9def8, transparent 62%),
    linear-gradient(135deg, #76c3eb, #4199c9);
}
.home-summary-income {
  background:
    linear-gradient(180deg, rgba(22,35,28,.1), rgba(22,35,28,.68)),
    radial-gradient(ellipse at 90% 110%, #c07a42, transparent 58%),
    linear-gradient(135deg, #737b63, #34473d);
}
.home-summary-topline {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
}
.home-summary-icon,
.home-summary-arrow {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.13);
}
.home-summary-icon { width: 34px; height: 34px; border-radius: 11px; }
.home-summary-icon svg { width: 17px; height: 17px; }
.home-summary-arrow { width: 26px; height: 26px; border-radius: 9px; }
.home-summary-arrow svg { width: 14px; height: 14px; }
.home-summary-value {
  display: block;
  max-width: 100%;
  margin-top: 16px;
  overflow: hidden;
  font-size: clamp(16px, 4.5vw, 22px);
  font-weight: 800;
  letter-spacing: -.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-summary-label { margin-top: 3px; font-size: 11px; font-weight: 700; }
.home-summary-hint { margin-top: 5px; color: rgba(255,255,255,.72); font-size: 9px; }

.spa-route.route-entering .page-content {
  animation: route-enter 0.38s cubic-bezier(0.22, 0.75, 0.25, 1) both;
  transform-origin: center top;
}

.spa-route.route-entering .page-header {
  animation: route-header-enter 0.32s 0.04s cubic-bezier(0.22, 0.75, 0.25, 1) both;
}

.spa-route.route-entering .scroll-body,
.spa-route.route-entering .mine-scroll-body,
.spa-route.route-entering .team-scroll-body {
  animation: route-body-enter 0.42s 0.06s cubic-bezier(0.22, 0.75, 0.25, 1) both;
}

.spa-route.route-backward.route-entering .scroll-body,
.spa-route.route-backward.route-entering .mine-scroll-body,
.spa-route.route-backward.route-entering .team-scroll-body {
  animation-name: route-body-enter-backward;
}

@keyframes route-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes route-header-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes route-body-enter {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes route-body-enter-backward {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── bottom navigation ── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  background: var(--nav-bg);
  display: flex;
  align-items: stretch;
  height: calc(60px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 100;
}

.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #8a9099;
  font-size: 11px;
  font-weight: 500;
  transition: color 0.2s;
  padding: 8px 0 10px;
}

.bottom-nav a:hover,
.bottom-nav a.active {
  color: var(--green);
}

.bottom-nav a,
button,
.menu-item,
.action-btn,
.content-primary-btn,
.copy-btn {
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

button:not(:disabled):active,
.menu-item:active,
.action-btn:active,
.content-primary-btn:active,
.copy-btn:active {
  transform: scale(0.98);
}

svg.lucide,
.bottom-nav svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-btn-icon svg,
.menu-item-icon svg,
.notice-icon svg,
.wallet-record-icon svg {
  width: 20px;
  height: 20px;
}

/* ── page padding above bottom nav ── */
.scroll-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 72px;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.spa-route[data-route="shop"] .page-shell,
.spa-route[data-route="team"] .page-shell,
.spa-route[data-route="team-members"] .page-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}

.spa-route[data-route="shop"] .page-content,
.spa-route[data-route="team"] .page-content,
.spa-route[data-route="team-members"] .page-content {
  height: 100%;
  min-height: 0;
}

.spa-route[data-route="shop"] .hero-banner {
  flex: 0 0 auto;
}

.team-scroll-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.team-page-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 56px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #edf0ed;
  backdrop-filter: blur(14px);
  color: #141414;
}

.team-page-header .page-header-back {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.team-page-header .page-header-title {
  position: absolute;
  left: 50%;
  max-width: calc(100% - 112px);
  transform: translateX(-50%);
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-members-link {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  margin: 14px 12px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.team-members-link span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.team-level-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px;
  padding: 10px;
  border-radius: 18px;
  background: #123a5a;
}

.team-level-card {
  display: flex;
  min-width: 0;
  min-height: 98px;
  flex-direction: column-reverse;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.team-level-card strong {
  font-size: clamp(13px, 3.5vw, 18px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.team-level-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  white-space: nowrap;
}

.team-member-toolbar {
  padding: 4px 12px 10px;
  background: transparent;
}

.team-level-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid #edf0ed;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 38, 46, 0.05);
}

.team-level-tab {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #668da9;
  font-size: 12px;
  font-weight: 700;
}

.team-level-tab.active {
  border-color: transparent;
  background: #123a5a;
  color: #fff;
  box-shadow: 0 5px 12px rgba(17, 19, 24, 0.16);
}

.team-list-status {
  min-height: 0;
  margin: 0 12px;
  padding: 0 16px;
  border-radius: 14px;
  background: transparent;
  color: #858585;
  font-size: 12px;
}

.team-list-status:not(:empty) {
  padding-top: 12px;
  padding-bottom: 12px;
}

.team-member-list {
  margin: 0 12px;
  overflow: hidden;
  border: 1px solid #edf0ed;
  border-radius: 18px;
  background: #fff;
}

.team-member-row {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid #edf0ed;
}
.team-member-row:last-child { border-bottom: 0; }

.team-member-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffede6, #fff6f1);
  color: #e84a0d;
  font-size: 21px;
}
.page-emoji {
  display: inline-grid;
  place-items: center;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

.team-member-details {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 5px;
}

.team-member-details strong {
  overflow: hidden;
  color: #292929;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-member-joined {
  color: #929292;
  font-size: 12px;
}

.team-member-package-spend {
  flex: 0 0 auto;
  color: #222;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.team-load-more {
  display: block;
  width: calc(100% - 24px);
  min-height: 44px;
  margin: 12px;
  border: 1px solid #e4e7e4;
  border-radius: 12px;
  background: #fff;
  color: #174f79;
  font-weight: 700;
}

.team-load-more[hidden] {
  display: none;
}

.team-invite-details {
  margin: 14px 12px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.team-invite-details > summary {
  padding: 14px 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.team-invite-details[open] > summary {
  border-bottom: 1px solid var(--grey-2);
}

.team-invite-details .invite-card {
  margin: 0;
  box-shadow: none;
}

.team-invite-note {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--text-light);
  font-size: 12px;
}

.spa-route[data-route="mine"] .page-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}

.spa-route[data-route="mine"] .page-content {
  height: 100%;
  min-height: 0;
}

.mine-scroll-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.spa-route[data-route="mine"]:not([hidden]) .mine-header,
.spa-route[data-route="mine"]:not([hidden]) .mine-scroll-body > .content-note,
.spa-route[data-route="mine"]:not([hidden]) .mine-scroll-body > .mine-fund-actions,
.spa-route[data-route="mine"]:not([hidden]) .mine-scroll-body > .menu-group {
  animation: mine-content-enter 0.42s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.spa-route[data-route="mine"]:not([hidden]) .mine-header {
  animation-delay: 0.04s;
}
.spa-route[data-route="mine"]:not([hidden]) .mine-scroll-body > .content-note {
  animation-delay: 0.09s;
}
.spa-route[data-route="mine"]:not([hidden]) .mine-scroll-body > .mine-fund-actions {
  animation-delay: 0.14s;
}
.spa-route[data-route="mine"]:not([hidden])
  .mine-scroll-body
  > .menu-group:nth-child(4) {
  animation-delay: 0.19s;
}
.spa-route[data-route="mine"]:not([hidden])
  .mine-scroll-body
  > .menu-group:nth-child(5) {
  animation-delay: 0.25s;
}

.spa-route[data-route="mine"]:not([hidden]) .wallet-split-item {
  animation: mine-wallet-enter 0.4s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.spa-route[data-route="mine"]:not([hidden]) .wallet-split-item:nth-child(2) {
  animation-delay: 0.1s;
}

.spa-route[data-route="mine"]:not([hidden]) .menu-item {
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s ease;
}

.spa-route[data-route="mine"]:not([hidden]) .menu-item:hover .menu-item-arrow {
  transform: translateX(3px);
}

.menu-item-arrow {
  transition:
    transform 0.18s ease,
    color 0.18s ease;
}

@keyframes mine-content-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mine-wallet-enter {
  from {
    opacity: 0;
    transform: translateY(7px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── hero banner ── */
.hero-banner {
  width: 100%;
  height: 195px;
  background: #123a5a;
  position: relative;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 700ms cubic-bezier(.22, .61, .36, 1), filter 350ms ease;
}

#hero-banner img {
  object-position: center 48%;
}

.hero-banner:hover img {
  transform: scale(1.035);
}

.hero-banner::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.62),
    rgba(0, 0, 0, 0.12) 68%,
    transparent
  );
  pointer-events: none;
}

.hero-brand {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.hero-brand-logo {
  width: 30px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

/* ── marquee ticker ── */
.ticker-bar {
  position: relative;
  top: 0;
  z-index: 1;
  height: 48px;
  display: flex;
  align-items: center;
  margin: 12px;
  padding: 7px 10px;
  gap: 8px;
  border: 1px solid #edf0ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(31,38,46,.045);
  font-size: 11px;
  overflow: hidden;
}

.ticker-label {
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #123a5a;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 0 9px;
  border-radius: 9px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-label svg { width: 12px; height: 12px; }
.ticker-track { flex: 1; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-block; animation: ticker 22s linear infinite; color: #668da9; }
@keyframes ticker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.ticker-bell { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 9px; background: #fff2ed; color: #e84a0d; }
.ticker-bell svg { width: 15px; height: 15px; }

.home-section-heading {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 12px;
}
.home-section-heading > div > span { display: block; margin-bottom: 2px; color: #668da9; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.home-section-heading h2 { margin: 0; color: #174f79; font-size: 15px; letter-spacing: -.02em; }
.home-section-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #e7eae7; border-radius: 11px; background: #fff; color: #668da9; }
.home-section-mark svg { width: 16px; height: 16px; }

/* ── action buttons row ── */
.action-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 12px 12px;
}
.action-btn {
  position: relative;
  min-width: 0;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 8px;
  overflow: hidden;
  border: 1px solid rgba(79,145,194,.15);
  border-radius: 20px;
  background: linear-gradient(160deg, #fff, #f8fbfd);
  color: #174f79;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31,38,46,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.action-btn::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -36px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(79,145,194,.05);
  pointer-events: none;
}
.action-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(79,145,194,.24);
  box-shadow: 0 14px 28px rgba(31,38,46,.1);
}
.action-btn:focus-visible {
  outline: 3px solid rgba(79,145,194,.28);
  outline-offset: 3px;
}
.action-btn-icon {
  width: 50px;
  height: 50px;
  display: grid;
  flex: 0 0 50px;
  place-items: center;
  border: 3px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background: linear-gradient(145deg, #e1f4ff, #b9e3f8);
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 5px 13px rgba(48,132,177,.16);
}
.action-btn-payment .action-btn-icon { background: linear-gradient(145deg, #e0f3ff, #a9dcf5); }
.action-btn-withdraw .action-btn-icon { background: linear-gradient(145deg, #e5f7f5, #bceae5); }
.action-btn-service .action-btn-icon { background: linear-gradient(145deg, #edf5ff, #c8dcf5); }
.action-btn-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.action-btn-copy strong { font-size: 12px; line-height: 1.2; letter-spacing: -.01em; }
.action-btn-copy small { color: #668da9; font-size: 9px; line-height: 1.2; }

/* ── section title ── */
.section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  padding: 0 14px 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── product grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
  padding: 0 12px 20px;
}

.product-catalog-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  color: var(--text-light);
  text-align: center;
}

.product-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #e3eae5;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(31, 51, 42, 0.055);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card-visual {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background: linear-gradient(135deg, #edf4ef, #e5ece8);
}

.product-card-header {
  margin: 0;
  color: #203d31;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.product-status {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 8px;
  min-height: 23px;
  display:inline-flex;
  align-items:center;
  padding: 0 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(18, 38, 29, .82);
  backdrop-filter:blur(8px);
  color:#fff;
  font-size: 8px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  line-height: 1;
}
.product-status::before { width:6px;height:6px;margin-right:5px;border-radius:50%;background:#35c759;box-shadow:0 0 0 3px rgba(53,199,89,.12);content:""; }
.product-card[data-status="coming-soon"] .product-status::before { background:#9ea5ad;box-shadow:none; }

.product-card[data-status="coming-soon"] .product-status {
  color: #668da9;
}

.product-card-img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 450ms cubic-bezier(.22, .61, .36, 1), filter 300ms ease;
}
.product-card:hover .product-card-img {
  transform: scale(1.035);
}

.product-card-img-placeholder {
  width: 100%;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6d947e;
  font-size: 30px;
}

.product-card-body {
  padding: 11px 11px 9px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-stat {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  padding-bottom: 7px;
  border-bottom: 1px solid #edf0ee;
  color: #43544a;
  font-size: 10px;
  line-height: 1.4;
}

.product-stat-label,
.product-price-label {
  color: #839087;
  font-size: 9px;
  font-weight: 500;
}

.product-stat > span:last-child {
  font-weight: 650;
  text-align: right;
}

.product-price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #203d31;
}

.product-daily-income {
  padding: 7px 8px;
  border: 1px solid #e7eee9;
  border-radius: 8px;
  background: #f5f9f6;
  color: #627568;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.4;
}

.buy-btn {
  display: flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  width: calc(100% - 22px);
  margin: 0 11px 11px;
  min-height: 39px;
  border: 0;
  background: #1d5b41;
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
}
.buy-btn > span:last-child { font-size: 17px; line-height: 1; }

.buy-btn:hover { background: #154832; }

.buy-btn.coming-soon {
  border-color: #e2e7e3;
  background: #f2f4f2;
  color: #707b73;
  box-shadow: none;
  cursor: not-allowed;
}

/* ── cards (stats / summary) ── */
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 12px;
}

.stat-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.stat-card-label {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.stat-card-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}

.spa-route[data-route="order"] .page-content {
  height: 100%;
  min-height: 0;
}
.spa-route[data-route="order"] .page-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}
.owned-products-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}
.owned-products-header {
  height: 58px;
  padding: 0 12px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #edf0ed;
}
.owned-products-header span,
.owned-products-heading span { color: #668da9; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
.owned-products-header h1,
.owned-products-heading h2 { margin: 2px 0 0; color: #174f79; font-size: 16px; letter-spacing: -0.02em; }
.owned-products-header a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #123a5a;
  color: #fff;
}
.owned-products-header a .page-emoji { font-size: 18px; }
.owned-products-hero {
  position: relative;
  height: 178px;
  margin: 12px;
  overflow: hidden;
  border-radius: 22px;
  background: #123a5a;
}
.owned-products-hero > img { width: 100%; height: 100%; object-fit: cover; }
.owned-products-hero > img {
  object-position: center 52%;
  transform: scale(1);
  transition: transform 700ms cubic-bezier(.22, .61, .36, 1);
}
.owned-products-hero:hover > img { transform: scale(1.04); }
.owned-products-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 14, 0.76), rgba(8, 10, 14, 0.12)); }
.owned-products-summary {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.owned-summary-card {
  min-width: 0;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  color: #fff;
}
.owned-summary-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 11px; background: #ffede6; color: #e84a0d; }
.owned-summary-icon-dark { background: rgba(255,255,255,.14); color: #fff; }
.owned-summary-icon { font-size: 18px; }
.owned-summary-card small { display: block; margin-bottom: 3px; color: rgba(255,255,255,.68); font-size: 8px; }
.owned-summary-card strong { display: block; overflow: hidden; font-size: clamp(12px, 3.7vw, 16px); text-overflow: ellipsis; white-space: nowrap; }
.owned-income-note {
  margin: 0 12px 12px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #edf0ed;
  border-radius: 14px;
  background: #fff;
}
.owned-income-note > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #edf8ef; color: #4b8158; font-size: 20px; }
.owned-income-note p { margin: 0; color: #858b93; font-size: 10px; line-height: 1.45; }
.owned-income-note strong { color: #343941; }
.owned-products-heading { margin: 0 12px 10px; display: flex; align-items: center; justify-content: space-between; }
.owned-products-heading > .page-emoji { font-size: 20px; color: #aab0b7; }

.owned-product-list {
  display: grid;
  gap: 10px;
  padding: 0 12px;
}

.owned-product-card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid #e8ece8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(30, 51, 68, 0.055);
}

.owned-product-card::before {
  position: absolute;
  inset: 14px auto 14px 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand-orange);
  content: "";
}

.owned-product-header,
.owned-product-identity {
  display: flex;
  align-items: center;
}

.owned-product-header {
  justify-content: space-between;
  gap: 12px;
}

.owned-product-identity {
  min-width: 0;
  gap: 12px;
}

.owned-product-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffede6, #fff6f1);
  color: #e84a0d;
}
.owned-product-icon { font-size: 22px; }

.owned-product-name {
  color: #174f79;
  font-size: 15px;
  font-weight: 700;
}

.owned-product-date {
  margin-top: 4px;
  color: #7b877f;
  font-size: 11px;
}

.owned-product-status {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.owned-product-status.is-active {
  background: #edf8ef;
  color: #487a55;
}
.owned-product-status.is-active::before {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 50%;
  background: #35c759;
  box-shadow: 0 0 0 3px rgba(53,199,89,.10);
  vertical-align: 1px;
  content: "";
}

.owned-product-status.is-complete {
  background: #f0f2f1;
  color: #69736c;
}

.owned-product-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  padding: 13px 0;
  border-top: 1px solid #edf0ee;
  border-bottom: 1px solid #edf0ee;
}

.owned-product-metric {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.owned-product-metric > span {
  color: #7b877f;
  font-size: 10px;
}

.owned-product-metric > strong {
  color: #2f3c46;
  font-size: 13px;
  font-weight: 700;
}

.owned-product-price {
  font-variant-numeric: tabular-nums;
}

.owned-product-note {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 7px 12px;
  margin-top: 12px;
  padding: 10px 11px;
  border-radius: 9px;
  background: #f6f8f6;
  color: #647168;
  font-size: 11px;
  line-height: 1.5;
}

.owned-product-countdown-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #52616b;
  font-size: 11px;
  font-weight: 600;
}

.owned-product-countdown-label::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.35);
  content: "";
  animation: owned-product-pulse 1.8s ease-out infinite;
}

.owned-product-countdown {
  color: var(--green-dark);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.owned-product-cycle-progress {
  display: block;
  height: 5px;
  overflow: hidden;
  grid-column: 1 / -1;
  border-radius: 999px;
  background: #e3edf2;
}

.owned-product-cycle-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-dark), #8b5cf6);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s linear;
}

.owned-product-note-copy {
  grid-column: 1 / -1;
  color: #647168;
}

@keyframes owned-product-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.35);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(124, 58, 237, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0);
  }
}

.owned-product-countdown-label[hidden],
.owned-product-countdown[hidden],
.owned-product-cycle-progress[hidden] {
  display: none;
}

.owned-products-empty {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 12px 12px;
  padding: 28px 20px;
  border: 1px solid #edf0ed;
  border-radius: 18px;
  background: #fff;
  color: #969da5;
  gap: 8px;
  text-align: center;
}
.owned-empty-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: #f1f3f1; color: #737b84; }
.owned-empty-icon { font-size: 26px; }
.owned-products-empty h2 { margin: 4px 0 0; color: #174f79; font-size: 16px; }
.owned-products-empty p { max-width: 260px; margin: 0 0 7px; font-size: 11px; line-height: 1.5; }
.owned-products-empty a { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 12px; background: #123a5a; color: #fff; font-size: 11px; font-weight: 700; }
.owned-products-empty a .page-emoji { font-size: 17px; }

.owned-products-empty[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .owned-product-countdown-label::before {
    animation: none;
  }

  .owned-product-cycle-progress-fill {
    transition: none;
  }
}

/* ── mine / profile header ── */
.mine-header {
  background:
    linear-gradient(135deg, rgba(8, 12, 18, 0.96), rgba(8, 12, 18, 0.72) 62%, rgba(8, 12, 18, 0.48)),
    url("photo_2026-10-28_15-15-31.jpg") center 42% / cover no-repeat;
  color: #fff;
  padding: 18px 16px 16px;
  position: relative;
  min-height: 228px;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 14px 28px rgba(8, 12, 18, 0.12);
}

.mine-header::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -115px;
  top: -105px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.025), 0 0 0 56px rgba(255, 255, 255, 0.018);
}

.mine-header-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.mine-member-badge {
  height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mine-member-badge > span:first-child { font-size: 15px; line-height: 1; }

.mine-profile-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.mine-avatar-wrap {
  position: relative;
  flex: 0 0 68px;
}

.mine-header-info {
  width: 100%;
  position: relative;
  z-index: 2;
  margin-top: 16px;
}
.mine-header-art {
  pointer-events: none;
}
.wallet-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
.wallet-split-item {
  min-width: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
}
.wallet-split-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 50%;
  background: linear-gradient(145deg, #dff3ff, #a9dbf3);
  color: #fff;
}
.wallet-split-icon > span {
  font-size: 16px;
  line-height: 1;
}
.wallet-split-label {
  margin-bottom: 3px;
  font-size: 9px;
  opacity: 0.68;
  white-space: nowrap;
}
.wallet-split-balance {
  font-size: clamp(13px, 3.8vw, 17px);
  font-weight: 800;
  overflow-wrap: anywhere;
  letter-spacing: -0.02em;
}
.mine-balance {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.mine-balance-label {
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 14px;
}
.mine-profile-copy { min-width: 0; }
.mine-phone {
  font-size: clamp(15px, 4.2vw, 18px);
  font-weight: 800;
  margin-top: 2px;
  overflow-wrap: anywhere;
}
.mine-phone-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.64);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.mine-phone-meta {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.68);
}
.mine-phone-meta > span { font-size: 13px; line-height: 1; }

.mine-header-img {
  width: 68px;
  height: 68px;
  display: block;
  object-fit: cover;
  object-position: center 34%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
  transition: transform 350ms cubic-bezier(.22, .61, .36, 1), box-shadow 350ms ease;
}
.mine-avatar-wrap:hover .mine-header-img {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.28);
}
.mine-avatar-status {
  position: absolute;
  right: 3px;
  bottom: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #171a20;
  background: #35c759;
}

/* ── tab buttons ── */
.mine-fund-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 12px 16px;
}

.mine-fund-action {
  position: relative;
  min-width: 0;
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  overflow: hidden;
  border: 1px solid #e4edf3;
  border-radius: 17px;
  background: #fff;
  color: #29465b;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 64, 82, .07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mine-fund-action::after {
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(99, 185, 231, .08);
  content: "";
  pointer-events: none;
}

.mine-fund-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 64, 82, .12);
}

.mine-fund-action:focus-visible {
  outline: 3px solid rgba(95, 183, 231, .42);
  outline-offset: 3px;
}

.mine-fund-payment.active {
  border-color: #9ed5f2;
  background: linear-gradient(135deg, #f7fcff, #e8f6fd);
}

.mine-fund-withdraw.active {
  border-color: #a7d8ed;
  background: linear-gradient(135deg, #f7fcff, #eaf5fa);
}

.mine-fund-action-icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  border: 2px solid rgba(255,255,255,.8);
  border-radius: 50%;
  background: linear-gradient(145deg, #68bce8, #3498cc);
  color: #fff;
  box-shadow: 0 6px 12px rgba(52, 152, 204, .2);
}

.mine-fund-withdraw .mine-fund-action-icon {
  background: linear-gradient(145deg, #8acbe8, #4b9fc5);
}

.mine-fund-action-icon {
  font-size: 22px;
  line-height: 1;
}

.mine-fund-action-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
}

.mine-fund-action-copy strong {
  font-size: 13px;
  font-weight: 800;
}

.mine-fund-action-copy small {
  color: #698195;
  font-size: 9px;
  line-height: 1.35;
}

.mine-fund-action-arrow {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  display: grid;
  flex: 0 0 26px;
  place-items: center;
  border-radius: 50%;
  background: rgba(75, 159, 197, .1);
  color: #438db2;
}

.mine-fund-action-arrow {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

/* ── menu list ── */
.menu-group {
  margin: 0 12px 12px;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--grey-2);
  cursor: pointer;
  transition: background 0.15s;
  color: var(--text);
}

.menu-item[hidden] {
  display: none;
}
.menu-item:last-child {
  border-bottom: none;
}
.menu-item:hover {
  background: var(--grey-1);
}

.menu-item-icon {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid #e5f2f9;
  border-radius: 50%;
  background: linear-gradient(145deg, #f4fbff, #e0f2fb);
  color: #3e86aa;
  font-size: 17px;
  line-height: 1;
}

.menu-item-label {
  flex: 1;
  font-size: 13.5px;
  font-weight: 500;
}
.menu-item-arrow {
  color: var(--grey-4);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.mine-nav-emoji {
  display: inline-block;
  font-size: 20px;
  line-height: 1;
}

/* ── team page ── */
.team-hero {
  position: relative;
  height: 220px;
  margin: 12px;
  overflow: hidden;
  border-radius: 22px;
  background: #123a5a;
  box-shadow: 0 14px 30px rgba(20, 24, 31, 0.16);
}
.team-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1);
  transition: transform 700ms cubic-bezier(.22, .61, .36, 1), filter 350ms ease;
}
.team-hero:hover > img { transform: scale(1.045); }
.team-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 14, 0.88) 0%, rgba(8, 10, 14, 0.42) 58%, rgba(8, 10, 14, 0.08) 100%);
}
.team-hero-copy {
  position: absolute;
  left: 20px;
  top: 32px;
  color: #fff;
}
.team-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.team-hero-kicker .page-emoji { font-size: 15px; }
.team-hero-copy h1 {
  margin: 0;
  font-size: clamp(28px, 8vw, 38px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.team-total-card {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-width: 112px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: #fff;
}
.team-total-card span { display: block; font-size: 9px; opacity: 0.72; text-transform: uppercase; letter-spacing: 0.08em; }
.team-total-card strong { display: block; margin-top: 3px; font-size: 24px; }

.team-main-card {
  margin: 12px;
  padding: 16px;
  border: 1px solid #edf0ed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(31, 38, 46, 0.07);
}
.team-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.team-section-heading span:first-child,
.commission-header > div > span {
  display: block;
  margin-bottom: 3px;
  color: #9399a1;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.team-section-heading h2,
.commission-header h2 {
  margin: 0;
  color: #174f79;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.team-share-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #123a5a;
  color: #fff;
}
.team-share-icon { font-size: 19px; }

.invite-card {
  margin: 0;
  padding: 0;
  border-radius: 14px;
  background: #f5f7f5;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.invite-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px;
}
.invite-row-left { min-width: 0; }
.invite-code-val { margin-top: 4px; font-size: 17px; font-weight: 800; color: #174f79; }
.invite-code-lbl,
.invite-link-lbl { font-size: 9px; font-weight: 700; color: #668da9; text-transform: uppercase; letter-spacing: 0.06em; }
.invite-link-val { max-width: 220px; margin-top: 4px; overflow: hidden; font-size: 11px; color: #525a66; text-overflow: ellipsis; white-space: nowrap; }
.invite-divider { height: 1px; margin: 0 13px; background: #e3e7e3; }
.copy-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #123a5a;
  color: #fff;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.copy-btn { font-size: 12px; }
.copy-btn:hover { background: var(--green-dark); }

.team-members-link {
  min-height: 64px;
  margin: 12px;
  padding: 0 14px;
  border: 1px solid #edf0ed;
  border-radius: 18px;
  background: #fff;
}
.team-members-link > span { gap: 10px; }
.team-members-link-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #ffede6;
  color: #e84a0d;
}
.team-members-link-icon { font-size: 19px; }
.team-members-link > .page-emoji { font-size: 24px; }

.commission-section {
  margin: 12px;
  overflow: hidden;
  border: 1px solid #edf0ed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(31, 38, 46, 0.07);
}
.commission-header {
  margin: 0;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #edf0ed;
}
.commission-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 999px;
  background: #edf8ef;
  color: #3f7650;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.commission-status > span { width: 6px; height: 6px; border-radius: 50%; background: #35c759; box-shadow: 0 0 0 3px rgba(53, 199, 89, 0.12); }
.commission-list {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: #f7f8f7;
}
.commission-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 112px;
  padding: 12px;
  border: 1px solid #e9ece9;
  border-radius: 15px;
  background: #fff;
}
.commission-card-primary {
  border-color: #dfe3df;
  box-shadow: 0 8px 18px rgba(17, 19, 24, 0.05);
}
.commission-level-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #123a5a;
  color: #fff;
}
.commission-level-icon-orange { background: #ffede6; color: #e84a0d; }
.commission-level-icon-grey { background: #eef0f2; color: #66707c; }
.commission-level-icon { font-size: 20px; }
.commission-card-main { min-width: 0; }
.commission-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf0ed;
}
.commission-card-heading > div span {
  display: block;
  margin-bottom: 2px;
  color: #668da9;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.commission-card-heading > div strong { color: #174f79; font-size: 13px; }
.commission-rate {
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: 999px;
  background: #f1f3f1;
  color: #687069;
  font-size: 9px;
  font-weight: 800;
}
.commission-card-stats {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 8px;
  padding-top: 10px;
}
.commission-card-stats > div { min-width: 0; }
.commission-card-stats > div:last-child { padding-left: 10px; border-left: 1px solid #edf0ed; }
.commission-card-stats span {
  display: block;
  margin-bottom: 3px;
  color: #668da9;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}
.commission-card-stats strong {
  display: block;
  overflow: hidden;
  color: #174f79;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-commission-note {
  margin: 12px 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #858b93;
  font-size: 10px;
  line-height: 1.5;
}
.team-commission-note > span { flex: 0 0 18px; font-size: 15px; line-height: 1.2; }

/* team tabs */
.team-tab-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 14px 12px 0;
  background: #123a5a;
  border-radius: var(--radius);
  overflow: hidden;
}

.team-tab-btn {
  padding: 12px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: #668da9;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.team-tab-btn.active {
  color: #fff;
  border-bottom: 2px solid var(--green);
}

/* ── rules section ── */
.rules-card {
  margin: 14px 12px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.rules-card p {
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 8px;
}

.rules-card p:last-child {
  margin-bottom: 0;
}
.rules-card p em {
  color: var(--green);
  font-style: normal;
  font-weight: 600;
}

/* ── payment page ── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--grey-2);
  position: sticky;
  top: 0;
  z-index: 50;
}

.page-header-back {
  font-size: 22px;
  color: var(--dark);
  line-height: 1;
  cursor: pointer;
}

.page-header-title {
  font-size: 15px;
  font-weight: 700;
}
.page-header-action {
  font-size: 20px;
  color: var(--text-light);
}

.pay-section {
  padding: 16px;
}

.pay-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.pay-label span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light);
  margin-left: 6px;
}

.amount-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.amount-chip {
  position: relative;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #e1e9e3;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f4faff 100%);
  color: #334451;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(22, 80, 110, 0.05);
  transition: border-color 0.18s ease, background 0.18s ease,
    color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.amount-chip:hover:not(:disabled) {
  border-color: var(--green);
  color: #334451;
  box-shadow: 0 5px 12px rgba(124, 58, 237, 0.12);
  transform: translateY(-1px);
}

.amount-chip:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.25);
  outline-offset: 2px;
}

.amount-chip.selected {
  border-color: var(--green-dark);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  box-shadow: 0 5px 14px rgba(124, 58, 237, 0.24);
}

.amount-chip.selected::after {
  position: absolute;
  top: 4px;
  right: 7px;
  content: "✓";
  font-size: 10px;
  font-weight: 700;
}

.amount-chip:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.pay-input-row {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--grey-3);
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  height: 48px;
  gap: 6px;
  margin-bottom: 18px;
}

.pay-input-prefix {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
}

.pay-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--dark);
}

.pay-input::placeholder {
  color: var(--grey-4);
  font-size: 12px;
}

/* channel */
.channel-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.channel-item {
  border: 1.5px solid var(--grey-3);
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
  text-align: center;
  color: var(--text);
}

.channel-item:hover,
.channel-item.selected {
  border-color: var(--green);
  color: var(--green);
}

.channel-item:disabled {
  border-color: var(--grey-2);
  background: #f5f6f5;
  color: #8a928d;
  cursor: not-allowed;
  opacity: 0.75;
}

.channel-item:disabled.selected {
  border-color: var(--grey-2);
  color: #8a928d;
}

.pay-now-btn {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
  margin-bottom: 18px;
}

.pay-now-btn:hover {
  background: var(--green-dark);
}

.manual-recharge-panel {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid var(--grey-2);
  border-radius: 10px;
  background: var(--card);
}

.manual-recharge-panel h2 {
  margin: 0;
  color: var(--dark);
  font-size: 16px;
}

#manual-recharge-instructions {
  white-space: pre-line;
}

#manual-recharge-form {
  margin-top: 14px;
}

#manual-recharge-form input[type="file"] {
  padding: 10px;
  font-size: 12px;
}

#manual-recharge-form .pay-now-btn {
  margin: 0;
}

#manual-recharge-status:empty {
  display: none;
}

/* notices */
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

.notice-icon {
  flex-shrink: 0;
  font-size: 14px;
}

/* ── modern recharge page ── */
[data-route="pay"] .pay-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 12px 24px;
}

.recharge-balance-card {
  min-height: 118px;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(12, 17, 24, 0.78), rgba(124, 58, 237, 0.96)),
    url("photo_2026-10-28_15-15-31.jpg") center 48% / cover no-repeat;
  box-shadow: 0 14px 30px rgba(24, 32, 28, 0.18);
}

.recharge-balance-card > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recharge-balance-label {
  font-size: 12px;
  opacity: 0.78;
}

.recharge-balance-value {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.recharge-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 10px;
  font-weight: 700;
}

.recharge-secure-badge svg { width: 14px; height: 14px; }

.recharge-form-card {
  padding: 16px;
  border: 1px solid #e8ece9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(34, 48, 40, 0.06);
}

[data-route="pay"] .amount-chips {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

[data-route="pay"] .amount-chip {
  min-height: 48px;
  border-radius: 10px;
  background: #f7f8f7;
  border-color: #e7ebe8;
  color: #334451;
  font-size: 12px;
}

[data-route="pay"] .amount-chip:hover:not(:disabled):not(.selected) {
  background: #edf4f1;
  color: #263b32;
}

[data-route="pay"] .amount-chip.selected,
[data-route="pay"] .amount-chip.selected:hover {
  border-color: var(--green-dark);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
}

[data-route="pay"] .pay-input-row {
  height: 58px;
  border-radius: 12px;
  border-color: #dde4df;
  background: #fafbfa;
  margin-bottom: 14px;
}

[data-route="pay"] .pay-input-prefix { font-size: 20px; }
[data-route="pay"] .pay-input { height: 56px; font-size: 21px; font-weight: 750; outline: none; }

.recharge-channel-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recharge-channel-label span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf8f0;
  color: #397a50;
  font-size: 10px;
}

[data-route="pay"] .channel-list { gap: 8px; margin-bottom: 10px; }

[data-route="pay"] .channel-item {
  min-height: 64px;
  border-radius: 12px;
  border: 1px solid #e3e8e4;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: var(--dark);
}

[data-route="pay"] .channel-item.selected {
  border-color: var(--green);
  background: #faf5ff;
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.08);
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f1f3f1;
  color: var(--green);
}

.channel-icon svg { width: 20px; height: 20px; }
.channel-copy { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.channel-copy strong { font-size: 13px; }
.channel-copy small { color: var(--text-light); font-size: 10px; }
.channel-check { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: transparent; }
.channel-check svg { width: 14px; height: 14px; }
.channel-item.selected .channel-check { background: var(--green); color: #fff; }

.recharge-status-notice {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 9px;
  border-left: 3px solid #bfc8c2;
  background: #f5f7f5;
  color: #69756d;
  font-size: 11px;
}

[data-route="pay"] .pay-now-btn {
  height: 52px;
  border-radius: 12px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green-dark);
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.18);
}

[data-route="pay"] .pay-now-btn span { flex: 0 1 auto; }
[data-route="pay"] .pay-now-btn svg { width: 18px; height: 18px; }
[data-route="pay"] .pay-now-btn svg:last-child { margin-left: 4px; }
.recharge-provider-note { margin-top: 10px; }

/* ── withdrawal page ── */
.withdraw-balance-card {
  margin: 14px 12px;
  background: linear-gradient(135deg, #2c3e50, #3d5468);
  border-radius: var(--radius);
  padding: 18px;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.withdraw-balance-label {
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 4px;
}
.withdraw-balance-value {
  font-size: 28px;
  font-weight: 700;
}

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

#withdrawal-bank,
#withdrawal-account-number,
#withdrawal-account-name {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 0 0 14px;
  padding: 0 12px;
  border: 1.5px solid var(--grey-3);
  border-radius: 8px;
  background: #fff;
  color: var(--dark);
  font-size: 14px;
}

#save-withdrawal-bank-details {
  margin-bottom: 12px;
}

#save-withdrawal-bank-details:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

#withdrawal-request-status:empty {
  display: none;
}

.withdraw-account-btn {
  width: 100%;
  background: var(--card);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  border: 1.5px solid var(--grey-3);
}

.withdraw-account-btn span:last-child {
  color: var(--green);
  font-weight: 600;
}

.fee-info {
  background: var(--grey-1);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--text-light);
  margin: 14px 0;
  line-height: 1.6;
}

.fee-info strong {
  color: var(--red);
}

.withdraw-btn {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
  transition: background 0.2s;
}

.withdraw-btn:hover {
  background: var(--green-dark);
}

/* ── modern withdrawal page ── */
.withdraw-balance-card {
  margin: 14px 12px;
  min-height: 148px;
  padding: 18px 18px 14px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.96), rgba(105, 12, 18, 0.98)),
    url("photo_2026-10-28_15-15-31.jpg") center / cover;
  box-shadow: 0 16px 32px rgba(126, 22, 28, 0.22);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.withdraw-balance-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -110px;
  top: -120px;
  border: 28px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.withdraw-balance-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.withdraw-balance-label {
  font-size: 12px;
  opacity: 0.78;
  margin-bottom: 7px;
}

.withdraw-balance-value {
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.withdraw-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
}

.withdraw-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #67d391;
  box-shadow: 0 0 0 3px rgba(103, 211, 145, 0.15);
}

.withdraw-card-footer {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
}

.withdraw-card-footer span,
.withdraw-card-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.withdraw-card-footer a {
  color: #fff;
  font-weight: 700;
}

.withdraw-card-footer svg { width: 15px; height: 15px; }

.withdraw-section { padding: 0 12px 20px; }
.withdraw-form-card {
  padding: 16px;
  border: 1px solid #e9ecea;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(34, 48, 40, 0.07);
}

.withdraw-form-card .pay-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.withdraw-form-card .pay-label span {
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f4f6f4;
}

.withdraw-form-card .pay-input-row {
  height: 62px;
  margin-bottom: 10px;
  border: 1px solid #dfe5e1;
  border-radius: 12px;
  background: #fafbfa;
  padding: 0 14px;
}

.withdraw-form-card .pay-input-prefix {
  font-size: 20px;
  color: #1a2420;
}

.withdraw-form-card .pay-input {
  height: 60px;
  font-size: 24px;
  font-weight: 750;
  outline: none;
}

.withdraw-quick-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.withdraw-quick-amounts .amount-chip {
  min-height: 38px;
  padding: 7px;
  border-radius: 9px;
  font-size: 12px;
}

.withdraw-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.withdraw-estimate,
.withdraw-account-status {
  margin: 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: #f5f7f5;
  color: #667168;
  font-size: 11px;
  line-height: 1.55;
}

.withdraw-estimate { border-left: 3px solid var(--green); }
.withdraw-account-status { border-left: 3px solid #c8d0ca; }

.withdraw-account-btn {
  width: 100%;
  min-height: 64px;
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid #e2e7e3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  background: #fff;
  box-shadow: none;
}

.withdraw-account-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f0f2f0;
  color: var(--green);
}

.withdraw-account-icon svg { width: 20px; height: 20px; }
.withdraw-account-copy { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.withdraw-account-copy small { color: var(--text-light); font-size: 10px; }
.withdraw-account-copy strong { font-size: 13px; }
.withdraw-account-btn > svg { width: 18px; height: 18px; color: #9aa39d; }

.withdraw-btn {
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green-dark);
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.18);
}

.withdraw-btn svg { width: 19px; height: 19px; }
.withdraw-btn:disabled { opacity: 0.48; box-shadow: none; cursor: not-allowed; }
.withdraw-btn.is-locked:disabled {
  border: 1px solid #e8d9b6;
  background: #f7f1e5;
  color: #80652d;
  opacity: 1;
}
.withdraw-btn.is-locked:disabled svg { color: #a17d35; }
.withdraw-notices { gap: 8px; margin-top: 10px; }
.withdraw-notices .notice-item { border: 1px solid #edf0ee; box-shadow: none; }

/* ── modal overlay ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 45, 59, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12000;
  padding: 20px 14px;
  overflow-y: auto;
  backdrop-filter: blur(8px) saturate(115%);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
}

.modal-overlay.hidden {
  display: none !important;
  pointer-events: none !important;
}

.modal-box {
  position: relative;
  border: 1px solid rgba(255,255,255,.82);
  border-top: 4px solid #82c9f3;
  border-radius: 24px;
  background: rgba(255,255,255,.87);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  width: 100%;
  max-width: 620px;
  max-height: calc(100dvh - 40px);
  overflow: hidden;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(22, 38, 57, .22);
  animation: announcement-enter 0.24s ease-out both;
}

.modal-title {
  margin: 0;
  padding: 19px 20px 9px;
  border: 0;
  color: #25364a;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.announcement-title-mark {
  display: block;
  width: 44px;
  height: 5px;
  margin: 0 auto 15px;
  border-radius: 999px;
  background: linear-gradient(90deg, #58b4e8, #a5ddf8);
}

.modal-body {
  padding: 0 25px 12px;
}

.modal-body p {
  margin: 0;
  color: #405166;
  font-size: 14px;
  line-height: 1.5;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.announcement-body {
  display: grid;
  gap: 9px;
}
.announcement-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 3px;
  color: #293d52;
  font-size: clamp(15px, 3.2vw, 19px);
  line-height: 1.35;
}
.announcement-heading > span,
.announcement-highlight > span,
.announcement-warning > span {
  flex: 0 0 auto;
  font-size: 21px;
  line-height: 1;
}
.announcement-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 13px;
  border: 1px solid rgba(125, 196, 233, .24);
  border-radius: 14px;
  background: linear-gradient(115deg, rgba(112, 195, 240, .1), rgba(112, 195, 240, .16));
}
.announcement-highlight p {
  font-size: clamp(13px, 2.8vw, 16px);
}
.announcement-highlight strong {
  color: #2787bd;
  font-weight: 800;
}
.announcement-footnote {
  padding: 3px 0 2px;
  color: #737373 !important;
  font-size: 13px !important;
}
.announcement-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(112, 195, 240, .24);
  border-left: 4px solid #82c9f3;
  border-radius: 13px;
  background: linear-gradient(110deg, rgba(112, 195, 240, .12), rgba(130, 201, 243, .16));
}
.announcement-warning p {
  font-size: 13px;
}

.modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 5px 25px 22px;
}

.modal-telegram-btn {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(110deg, #58b4e8, #9bd9f7);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}
.modal-telegram-btn:hover { background: linear-gradient(110deg, #379fd8, #79c7ef); }

.modal-ok-btn {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(62, 96, 128, .15);
  border-radius: 13px;
  background: rgba(80, 119, 153, .1);
  color: #2e4a64;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}
.modal-ok-btn:hover { background: rgba(80, 119, 153, .17); }

.modal-telegram-btn:focus-visible,
.modal-ok-btn:focus-visible {
  outline: 3px solid rgba(95, 183, 231, .42);
  outline-offset: 3px;
}

@keyframes announcement-enter {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── login / reg shared ── */
.auth-wrapper {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 0 max(34px, env(safe-area-inset-bottom));
  background: #fff;
}

.auth-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.auth-hero {
  position: relative;
  width: 100%;
  height: clamp(220px, 32vw, 340px);
  overflow: hidden;
  background: #244b73;
}

.auth-slider,
.auth-slide,
.auth-slide::after,
.auth-slide .auth-hero-image,
.auth-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.auth-slide {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.auth-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.auth-slide .auth-hero-image {
  object-fit: cover;
  object-position: center 46%;
  transform: scale(1.025);
  transition: transform 5.5s linear;
}

.auth-slide.is-active .auth-hero-image {
  transform: scale(1.1);
}

.auth-slide::after {
  content: "";
  background: linear-gradient(
    90deg,
    rgba(10, 24, 38, 0.72),
    rgba(12, 35, 55, 0.23) 72%,
    rgba(12, 35, 55, 0.12)
  );
}

.auth-hero-shade {
  z-index: 1;
  pointer-events: none;
}

.auth-hero-brand {
  position: absolute;
  z-index: 2;
  left: max(24px, calc((100% - 880px) / 2));
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.auth-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.auth-avatar-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.auth-avatar svg {
  width: 35px;
  height: 32px;
}

.auth-slider-dots {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100% - 880px) / 2));
  bottom: 27px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-slider-dot {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.auth-slider-dot.is-active {
  width: 25px;
  background: #fff;
}

.auth-slider-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.auth-slide-caption {
  position: absolute;
  z-index: 1;
  right: max(24px, calc((100% - 880px) / 2));
  bottom: 58px;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  font-weight: 600;
  text-align: right;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.auth-intro {
  width: 100%;
  max-width: 460px;
  margin: 34px auto 25px;
  padding: 0 24px;
  text-align: left;
}

.auth-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.auth-intro h1 {
  color: #202b34;
  font-size: clamp(24px, 6vw, 29px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.auth-intro p {
  margin-top: 8px;
  color: #77827a;
  font-size: 13px;
  line-height: 1.55;
}

.auth-form {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.auth-field-label {
  margin: 0 0 8px 2px;
  color: #3f4c55;
  font-size: 12px;
  font-weight: 650;
}

.auth-optional {
  color: #929b94;
  font-weight: 400;
}

.auth-input-row {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid #e0e7e2;
  border-radius: 12px;
  background: #fbfcfb;
  overflow: hidden;
  margin-bottom: 18px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background-color 0.2s;
}

.auth-input-row:focus-within {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.country-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 0 14px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s;
}

.auth-emoji {
  display: inline-block;
  margin-right: 4px;
  font-size: 1.15em;
  line-height: 1;
  vertical-align: -0.08em;
}

.auth-password-field > button .auth-emoji,
.auth-input-row > button[aria-label="Show password"] .auth-emoji {
  margin-right: 0;
  font-size: 18px;
  vertical-align: baseline;
}

.auth-password-visibility-icon {
  position: relative;
}

.auth-password-visibility-icon[data-password-visible="false"]::after {
  position: absolute;
  top: 50%;
  left: -2px;
  width: 22px;
  height: 2px;
  border: 1px solid #fff;
  border-radius: 2px;
  background: #35556c;
  content: "";
  transform: rotate(-45deg);
}

.country-tag:hover {
  background: #fbd2d5;
}

.auth-input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 15px;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #293640;
}

.auth-input::placeholder {
  color: #a0aaa3;
  font-size: 13px;
}

.auth-input-row > button[aria-label="Show password"] {
  right: 10px !important;
  color: #7f8b82 !important;
}

.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #77827a;
  cursor: pointer;
  user-select: none;
  margin: 0 0 22px 2px;
}

.auth-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.auth-checkbox-box {
  width: 17px;
  height: 17px;
  border: 1.5px solid #c4cec7;
  border-radius: 5px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.auth-checkbox:checked + .auth-checkbox-box {
  background: var(--green);
  border-color: var(--green);
}

.auth-checkbox:focus-visible + .auth-checkbox-box {
  outline: 3px solid rgba(124, 58, 237, 0.22);
  outline-offset: 2px;
}

.auth-checkbox:checked + .auth-checkbox-box::after {
  content: "";
  display: block;
  width: 4px;
  height: 7px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(43deg) translateY(-1px);
}

.auth-submit {
  width: 100%;
  min-height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.22);
  margin-bottom: 22px;
}

.auth-submit:hover {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.29);
}
.auth-submit:active {
  transform: scale(0.99);
}

.auth-footer-link {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #77827a;
  text-align: center;
}

.auth-footer-link a {
  color: var(--green-dark);
  font-weight: 700;
  transition: color 0.15s;
}

.auth-footer-link a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .auth-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: max(30px, env(safe-area-inset-bottom));
  }

  .auth-hero {
    height: 228px;
  }

  .auth-slide-caption {
    right: 20px;
    bottom: 53px;
    max-width: 170px;
    font-size: 13px;
  }

  .auth-hero-brand {
    left: 20px;
    bottom: 20px;
    gap: 10px;
    font-size: 18px;
  }

  .auth-avatar {
    width: 50px;
    height: 50px;
  }

  .auth-avatar svg {
    width: 31px;
    height: 28px;
  }

  .auth-slider-dots {
    right: 20px;
    bottom: 23px;
  }

  .auth-intro {
    margin-top: 28px;
    padding-right: 22px;
    padding-left: 22px;
  }

  @media (prefers-reduced-motion: reduce) {
    .auth-slide,
    .auth-slide .auth-hero-image {
      transition: none;
    }
  }

  .auth-form,
  .auth-footer-link {
    padding-right: 22px;
    padding-left: 22px;
  }
}

/* ── reg specific ── */
.auth-input-plain {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid #e0e7e2;
  border-radius: 12px;
  background: #fbfcfb;
  font-size: 14px;
  color: #293640;
  margin-bottom: 18px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.auth-input-plain:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.auth-input-plain::placeholder {
  color: #a0aaa3;
  font-size: 13px;
}

.auth-password-field {
  position: relative;
}

.auth-password-field .auth-input-plain {
  padding-right: 48px;
}

.auth-password-field > button {
  position: absolute;
  top: 16px;
  right: 12px;
  padding: 4px;
  background: transparent;
  color: #7f8b82;
  font-size: 18px;
}

.auth-password-field > button:focus-visible,
.auth-input-row > button[aria-label="Show password"]:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ── utility ── */
.text-green {
  color: var(--green);
}
.text-red {
  color: var(--red);
}
.text-gold {
  color: var(--gold);
}
.fw-600 {
  font-weight: 600;
}

/* Athletic visual treatment for account access screens. */
.auth-wrapper {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 0 max(34px, env(safe-area-inset-bottom));
  background: #fff;
}

.auth-card {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  overflow: visible;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.auth-hero {
  height: clamp(260px, 42vh, 430px);
  background: #123a5a;
}

.auth-slide .auth-hero-image {
  object-position: center;
  transform: none;
}

.auth-slide.is-active .auth-hero-image {
  transform: scale(1.025);
}

.auth-slide::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 85%);
}

.auth-hero-brand {
  left: 28px;
  bottom: 25px;
  gap: 12px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.auth-avatar {
  width: 58px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.auth-avatar-image {
  border-radius: 50%;
  object-fit: contain;
}

.auth-slider-dots {
  right: 28px;
  bottom: 30px;
}

.auth-slide-caption {
  right: 28px;
  bottom: 66px;
  max-width: 240px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
}

.auth-slide-caption.is-changing {
  animation: auth-message-in 0.55s ease both;
}

@keyframes auth-message-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-slide-caption.is-changing {
    animation: none;
  }
}

.auth-intro {
  margin-top: 30px;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 12px;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 999px;
  background: #fff1f1;
  color: #b5121b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
}

.auth-intro h1 {
  color: #123a5a;
  font-weight: 900;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.auth-intro p,
.auth-footer-link {
  color: #666;
}

.auth-field-label {
  color: #222;
}

.auth-input-row {
  border-color: #d7d7d7;
  border-radius: 999px;
  background: #f7f7f7;
}

.auth-input-row:focus-within {
  border-color: #123a5a;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1);
}

.country-tag {
  background: #e9e9e9;
  color: #123a5a;
}

.country-tag:hover {
  background: #ddd;
}

.auth-submit {
  border-radius: 999px;
  background: #123a5a;
  box-shadow: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.auth-submit:hover {
  background: #174f79;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.auth-footer-link a {
  color: #123a5a;
}

.auth-footer-link a:hover {
  color: #444;
}

.auth-input-plain {
  border-radius: 999px;
}

@media (max-width: 480px) {
  .auth-wrapper {
    padding: 0 0 max(30px, env(safe-area-inset-bottom));
  }

  .auth-card {
    width: 100%;
    margin: 0 auto;
    border-radius: 0;
  }
}

/* ── responsive layout and interaction states ── */
button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.55);
  outline-offset: 3px;
}

.spa-route[data-route="shop"] .page-content { background: #f6f7f5; }
.shop-scroll-body { background: #f6f7f5; }
.shop-hero {
  position: relative;
  flex: 0 0 190px;
  height: 190px;
  overflow: hidden;
  background: #123a5a;
}
.shop-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1);
  transition: transform 900ms cubic-bezier(.22, .61, .36, 1);
  animation: vodkaHeroScale 10s ease-in-out infinite alternate;
}
.shop-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,14,.82), rgba(8,10,14,.18)); }
.shop-hero-copy { position:absolute; left:16px; top:28px; color:#fff; }
.shop-hero-copy > span { display:inline-flex; align-items:center; gap:6px; margin-bottom:9px; color:rgba(255,255,255,.72); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.11em; }
.shop-hero-copy .page-emoji { font-size: 14px; }
.shop-hero-copy h1 { margin:0; font-size:34px; line-height:.98; letter-spacing:-.045em; }
.shop-hero-count { position:absolute; right:12px; bottom:12px; min-height:32px; display:inline-flex; align-items:center; padding:0 10px; border:1px solid rgba(255,255,255,.14); border-radius:999px; background:rgba(255,255,255,.12); backdrop-filter:blur(10px); color:#fff; font-size:9px; font-weight:800; }

.product-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 14px 12px 12px;
}
.product-tools-heading { display:flex; align-items:center; justify-content:space-between; }
.product-tools-heading span:first-child { display:block; margin-bottom:2px; color:#668da9; font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; }
.product-tools-heading h2 { margin:0; color:#174f79; font-size:16px; letter-spacing:-.02em; }
.product-tools-heading > span { width:36px; height:36px; display:grid; place-items:center; border:1px solid #e7eae7; border-radius:11px; background:#fff; color:#668da9; }
.product-tools-heading > span:last-child { font-size: 18px; }
.product-search {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #e7eae7;
  border-radius: 14px;
  background: #fff;
  color: #969da5;
  box-shadow: 0 7px 18px rgba(31,38,46,.04);
}
.product-search .page-emoji { font-size: 17px; }
.product-search input { width: 100%; min-width: 0; border: 0; outline:0; background: transparent; color: #174f79; font-size:12px; }
.product-search input::placeholder { color: #a0a6ad; }
.product-filters { display: flex; gap: 7px; overflow-x:auto; scrollbar-width:none; }
.product-filters::-webkit-scrollbar { display:none; }
.product-filter {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #e7eae7;
  border-radius: 999px;
  background: #fff;
  color: #668da9;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.product-filter.active { border-color:#123a5a; background:#123a5a; color:#fff; box-shadow:0 5px 12px rgba(17,19,24,.13); }
.product-results { grid-column:1/-1; min-height:0; margin:0; color:#969da5; font-size:10px; }
.product-results:empty { display:none; }
.product-empty { margin:12px; padding:24px 16px; border-radius:18px; background:#fff; color:#969da5; font-size:12px; text-align:center; }

.content-card {
  margin: 14px 12px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.content-card h2 {
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 16px;
}

.content-card p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.65;
}

.content-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  line-height: 1.6;
}

.content-note.error {
  background: #fff1f1;
  color: #a83232;
}

.content-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.content-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
}

.content-form input,
.content-form select,
.content-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--grey-3);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.content-form input:focus,
.content-form select:focus,
.content-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.content-primary-btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 24px;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.15s;
}

.content-primary-btn:hover {
  background: var(--green-dark);
}
.content-primary-btn:active {
  transform: scale(0.99);
}

.wallet-record {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e8edf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(24, 39, 51, 0.045);
  overflow: hidden;
}
.wallet-record-list {
  display: grid;
  gap: 10px;
  padding: 14px 12px 24px;
}
.wallet-record-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  border: 1px solid rgba(32, 61, 49, 0.08);
}
.wallet-record-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wallet-record.is-credit .wallet-record-icon {
  border-color: #dcebe1;
  background: linear-gradient(145deg, #f1f8f3, #e6f2e9);
  color: var(--green-dark);
}
.wallet-record.is-debit .wallet-record-icon {
  border-color: #f0dfdc;
  background: linear-gradient(145deg, #fff5f3, #fdebe8);
  color: #c24c47;
}
.wallet-record-details {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.wallet-record-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}
.wallet-record-title {
  color: #2f3b44;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.wallet-record-status {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.wallet-record-status.is-pending {
  background: #fff4dc;
  color: #9a6900;
}
.wallet-record-status.is-success,
.wallet-record-status.is-verified {
  background: #e7f6ec;
  color: #218344;
}
.wallet-record-status.is-failed,
.wallet-record-status.is-rejected {
  background: #fff0ef;
  color: #b83e39;
}
.wallet-record-wallet {
  padding: 3px 7px;
  border-radius: 20px;
  background: #f1f4f2;
  color: #68756e;
  font-size: 9px;
  font-weight: 700;
  text-transform: capitalize;
  white-space: nowrap;
}
.wallet-record-date {
  color: var(--text-light);
  font-size: 10px;
}
.wallet-record-reference {
  color: #64727c;
  font-size: 10px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.wallet-record-summary {
  display: grid;
  justify-items: end;
  gap: 6px;
  text-align: right;
}
.wallet-record.is-withdrawal {
  border-color: #e7e8f5;
  background: linear-gradient(110deg, #fff 0%, #fff 68%, #faf9ff 100%);
}
.wallet-record.is-withdrawal.is-credit {
  border-color: #dceee5;
  background: linear-gradient(110deg, #fff 0%, #fff 68%, #f6fcf8 100%);
}
.wallet-record-amount {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.wallet-record-breakdown {
  max-width: 220px;
  color: #78838d;
  font-size: 9px;
  line-height: 1.45;
  white-space: normal;
}
.wallet-record-balance {
  color: #8a948e;
  font-size: 9px;
  white-space: nowrap;
}

@media (max-width: 360px) {
  .wallet-record {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    padding: 11px;
  }
  .wallet-record-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }
  .wallet-record-summary {
    grid-column: 2;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
    width: 100%;
    text-align: left;
  }
}
.wallet-credit {
  color: var(--green-dark);
}
.wallet-debit {
  color: var(--red);
}

.app-toast-region {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 12000;
  display: grid;
  gap: 8px;
  width: min(390px, calc(100vw - 32px));
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.app-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 16px;
  background: rgba(246, 239, 224, 0.82);
  color: #2f2a22;
  box-shadow:
    0 18px 50px rgba(42, 35, 24, 0.22),
    0 3px 12px rgba(42, 35, 24, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  animation: app-toast-in 0.22s cubic-bezier(.2, .8, .2, 1);
}

.app-toast-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.54);
}

.app-toast-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-toast-copy {
  min-width: 0;
}

.app-toast.error {
  border-color: rgba(255, 255, 255, 0.72);
}
.app-toast.error .app-toast-icon {
  border-color: rgba(196, 59, 74, 0.2);
  background: rgba(255, 237, 237, 0.78);
  color: #c43b4a;
}
.app-toast.success {
  border-color: rgba(255, 255, 255, 0.72);
}
.app-toast.success .app-toast-icon {
  border-color: rgba(24, 134, 79, 0.18);
  background: rgba(231, 248, 238, 0.82);
  color: #18864f;
}
.app-toast.info .app-toast-icon {
  border-color: rgba(23, 79, 121, 0.18);
  background: rgba(231, 242, 250, 0.82);
  color: #174f79;
}

@keyframes app-toast-in {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.app-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: min(420px, calc(100vw - 32px));
  max-width: none;
  max-height: min(80vh, 640px);
  overflow: auto;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.app-modal[open] {
  animation: modal-enter 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.app-modal::backdrop {
  background: rgba(15, 20, 27, 0.58);
}

.app-modal[open]::backdrop {
  animation: backdrop-enter 0.18s ease-out both;
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes backdrop-enter {
  from {
    background: rgba(15, 20, 27, 0);
  }
  to {
    background: rgba(15, 20, 27, 0.58);
  }
}

.app-modal-content {
  padding: 22px;
}

.app-modal-title {
  margin: 0 0 10px;
  color: var(--dark);
  font-size: 18px;
  font-weight: 700;
}

.app-modal-message {
  margin: 0;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.app-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.app-modal-actions button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 22px;
  font-weight: 600;
}

.app-modal-cancel {
  background: var(--grey-1);
  color: var(--dark);
}

.app-modal-confirm {
  background: var(--green);
  color: #fff;
}

.app-modal-confirm:hover {
  background: var(--green-dark);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: auto;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  background: var(--bg);
  color: var(--text-light);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.page-loader.is-translucent {
  background: rgba(15, 24, 35, 0.48);
  color: #fff;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.page-loader.is-translucent .page-loader-spinner {
  background:
    radial-gradient(farthest-side, #fff 94%, #0000) top / 8px 8px no-repeat,
    conic-gradient(#0000 30%, #fff);
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-spinner {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(farthest-side, #ffa516 94%, #0000) top / 8px 8px no-repeat,
    conic-gradient(#0000 30%, #ffa516);
  -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
  mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
  animation: l13 1s infinite linear;
}

.page-loader-label {
  font-size: 13px;
  font-weight: 500;
}

.payment-request-overlay {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 24, 35, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.payment-request-overlay[hidden] {
  display: none;
}

.payment-request-loader-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(300px, 100%);
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  color: #233344;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  text-align: center;
  animation: payment-loader-enter 0.18s ease-out;
}

.payment-request-loader-card strong {
  font-size: 15px;
}

.payment-request-loader-card small {
  color: #617386;
  font-size: 12px;
  line-height: 1.5;
}

.payment-request-loader-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(30, 94, 135, 0.16);
  border-top-color: #1e5e87;
  border-radius: 50%;
  animation: payment-loader-spin 0.75s linear infinite;
}

@keyframes payment-loader-spin {
  to { transform: rotate(360deg); }
}

@keyframes payment-loader-enter {
  from { opacity: 0; transform: translateY(6px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes l13 {
  100% {
    transform: rotate(1turn);
  }
}

.record-tabs {
  display: flex;
  gap: 8px;
  margin: 14px 12px;
}

.record-tabs a {
  flex: 1;
  padding: 12px 8px;
  border: 1px solid var(--grey-3);
  border-radius: 8px;
  background: #fff;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.record-tabs a.active {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green-dark);
}

.empty-records {
  margin: 14px 12px;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text-light);
  text-align: center;
  box-shadow: var(--shadow);
}

.empty-records i {
  display: block;
  margin-bottom: 12px;
  color: var(--grey-4);
  font-size: 34px;
}

.empty-records p {
  font-size: 13px;
  line-height: 1.6;
}

.product-card[hidden] {
  display: none;
}

.modal-title {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  color: var(--text-light);
  font-size: 20px;
}

.modal-close:hover {
  background: var(--grey-1);
  color: var(--text);
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-card {
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }
  .product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(25, 39, 52, 0.09);
  }
  .product-card-img,
  .product-card-img-placeholder {
    height: 128px;
  }
}

@media (min-width: 900px) {
  :root {
    --max-w: 1120px;
  }
  .page-shell {
    padding: 24px;
  }
  .spa-route[data-route="home"] .page-shell {
    height: calc(100vh - 48px);
    height: calc(100dvh - 48px);
  }
  .spa-route[data-route="shop"] .page-shell {
    height: calc(100vh - 48px);
    height: calc(100dvh - 48px);
  }
  .page-content {
    min-height: calc(100vh - 48px);
    border-radius: 16px;
    overflow: hidden;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-right: 20px;
    padding-left: 20px;
  }
  .spa-route[data-route="shop"] .page-shell,
  .spa-route[data-route="team"] .page-shell,
  .spa-route[data-route="team-members"] .page-shell {
    height: calc(100vh - 48px);
    height: calc(100dvh - 48px);
  }
  .spa-route[data-route="mine"] .page-shell {
    height: calc(100vh - 48px);
    height: calc(100dvh - 48px);
  }
  .bottom-nav {
    bottom: 24px;
    height: calc(68px + env(safe-area-inset-bottom));
    border-radius: 0 0 16px 16px;
  }
  .scroll-body {
    padding-bottom: 88px;
  }
  .hero-banner {
    height: clamp(195px, 25vw, 300px);
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-right: 20px;
    padding-left: 20px;
  }
  .product-tools {
    padding-right: 20px;
    padding-left: 20px;
  }
  .action-row {
    margin-bottom: 20px;
  }
  .pay-section {
    max-width: 700px;
    margin: 0 auto;
  }
  .content-card {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 420px) {
  .spa-route[data-route="home"] .hero-banner {
    flex: 0 0 178px;
    min-height: 178px;
  }
  .home-dashboard { padding-bottom: 12px; }
  .ticker-bar { margin: 8px 10px; }
  .home-section-heading { margin-inline: 10px; }
  .action-row { margin-inline: 10px; gap: 7px; }
  .action-btn { min-height: 108px; gap: 7px; padding: 10px 5px; border-radius: 16px; }
  .action-btn-icon { width: 44px; height: 44px; flex-basis: 44px; font-size: 21px; }
  .action-btn-copy strong { font-size: 11px; }
  .action-btn-copy small { font-size: 8px; }
  .home-overview { padding-inline: 10px; }
  .home-about-card { min-height: 184px; padding: 18px; border-radius: 19px; }
  .home-about-decoration { right: 16px; top: 16px; width: 40px; height: 40px; }
  .home-summary-grid { gap: 8px; margin-top: 10px; }
  .home-summary-card { min-height: 145px; padding: 12px; border-radius: 15px; }
  .home-summary-label { font-size: 10px; }
  .home-summary-hint { font-size: 8px; }
}
  .product-tools {
    grid-template-columns: 1fr;
  }
  .product-filters {
    overflow-x: auto;
    padding: 2px 0 4px;
  }
  .product-filter {
    flex: 0 0 auto;
  }
  .stat-card-value {
    font-size: 19px;
  }
  .mine-balance {
    font-size: 25px;
  }
  .mine-header-info {
    padding-right: 0;
  }
  .mine-avatar-wrap {
    flex-basis: 64px;
  }
  .mine-header-img {
    width: 64px;
    height: 64px;
  }
  .wallet-split-grid {
    max-width: 100%;
    gap: 8px;
  }
  .wallet-split-balance {
    font-size: 16px;
  }
  .bottom-nav a {
    font-size: 10px;
  }
}

@media (max-width: 640px) {
  .spa-route[data-route="home"] .hero-banner {
    flex: 0 0 auto;
    height: clamp(190px, 34vh, 270px);
  }
}

@media (max-width: 340px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-right: 8px;
    padding-left: 8px;
  }
  .product-card-body {
    padding: 9px 8px 8px;
    gap: 7px;
  }
  .buy-btn {
    width: calc(100% - 16px);
    margin: 0 8px 8px;
  }
  .mine-header {
    padding-inline: 12px;
  }
  .mine-member-badge {
    padding-inline: 8px;
  }
  .mine-avatar-wrap {
    flex-basis: 58px;
  }
  .mine-header-img {
    width: 58px;
    height: 58px;
  }
  .wallet-split-item {
    padding: 10px 8px;
  }
  .wallet-split-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .bottom-nav a {
    font-size: 9px;
  }
}

@keyframes vodkaHeroScale {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

#admin-product-image-preview:hover {
  transform: scale(1.025);
  filter: saturate(1.05);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .page-loader-spinner {
    animation: none;
  }
}

/* Site-wide deep/light blue text system */
h1,
h2,
h3,
h4,
h5,
h6,
p,
label,
.form-label {
  color: var(--text);
}

small,
.text-muted,
.content-note {
  color: var(--text-light);
}
.mt-8 {
  margin-top: 8px;
}
.mt-14 {
  margin-top: 14px;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-7px);
  }
  40% {
    transform: translateX(7px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}
.shake {
  animation: shake 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.admin-form {
  margin-top: 16px;
}

.admin-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--grey-3);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.admin-form .admin-checkbox {
  flex-direction: row;
  align-items: center;
}

.admin-form .admin-checkbox input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.admin-form-actions {
  display: flex;
  gap: 10px;
}

.admin-form-actions > * {
  flex: 1;
}
.admin-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.admin-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--grey-2);
  border-radius: 8px;
  background: #fff;
  overflow-wrap: anywhere;
}

.admin-list-row p {
  margin-top: 4px;
  color: var(--text-light);
  font-size: 12px;
}

.spa-route[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .spa-route:not([hidden]) .page-content,
  .spa-route:not([hidden]) .page-header,
  .spa-route:not([hidden]) .scroll-body,
  .spa-route:not([hidden]) .mine-scroll-body,
  .spa-route:not([hidden]) .team-scroll-body,
  .spa-route[data-route="mine"]:not([hidden]) .mine-header,
  .spa-route[data-route="mine"]:not([hidden]) .mine-scroll-body > .content-note,
  .spa-route[data-route="mine"]:not([hidden]) .mine-scroll-body > .mine-fund-actions,
  .spa-route[data-route="mine"]:not([hidden]) .mine-scroll-body > .menu-group,
  .spa-route[data-route="mine"]:not([hidden]) .wallet-split-item,
  .app-modal[open],
  .app-modal[open]::backdrop {
    animation: none;
  }

  button,
  .bottom-nav a,
  .menu-item,
  .action-btn,
  .content-primary-btn,
  .copy-btn {
    transition: none;
  }

  .menu-item-arrow {
    transition: none;
  }
}

/* Admin console */
.admin-body {
  --admin-ink: #17202b;
  --admin-muted: #788393;
  --admin-line: #e8edf2;
  --admin-surface: #fff;
  --admin-canvas: #f5f7fa;
  min-height: 100vh;
  background: var(--admin-canvas);
  color: var(--admin-ink);
}

.admin-gate[hidden],
.admin-app[hidden],
.admin-view[hidden] {
  display: none !important;
}

.admin-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(
      ellipse at 15% 15%,
      rgba(124, 58, 237, 0.12),
      transparent 35%
    ),
    radial-gradient(
      ellipse at 90% 85%,
      rgba(53, 105, 214, 0.1),
      transparent 32%
    ),
    var(--admin-canvas);
}

.admin-login-card {
  width: min(100%, 430px);
  padding: 38px;
  border: 1px solid rgba(225, 231, 237, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 80px rgba(25, 38, 55, 0.12);
}

.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--admin-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.admin-brand small {
  display: block;
  margin-top: 3px;
  color: var(--admin-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.admin-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #8b5cf6, #7c3aed);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.24);
}

.admin-brand-logo {
  object-fit: cover;
  border-radius: 50%;
  background: #b51f2b;
  object-position: center;
  transition: transform 350ms cubic-bezier(.22, .61, .36, 1), box-shadow 350ms ease;
}
.admin-brand:hover .admin-brand-logo {
  transform: scale(1.08);
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.22);
}

.admin-login-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-top: 38px;
  place-items: center;
  border-radius: 16px;
  background: #f3e8ff;
  color: var(--green-dark);
  font-size: 25px;
}

.admin-login-card h1 {
  margin-top: 20px;
  color: var(--admin-ink);
  font-size: 25px;
  letter-spacing: -0.04em;
}

.admin-login-card > p {
  margin-top: 9px;
  color: var(--admin-muted);
  font-size: 14px;
  line-height: 1.6;
}

.admin-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: #404b59;
  font-size: 12px;
  font-weight: 700;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #dfe5eb;
  border-radius: 10px;
  background: #fff;
  color: var(--admin-ink);
  outline: 0;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.admin-form textarea {
  resize: vertical;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.admin-form .admin-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
}

.admin-form .admin-checkbox input {
  width: 17px;
  min-height: 17px;
  accent-color: var(--green);
}

.admin-recharge-channel-settings {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #e2e8e4;
  border-radius: 12px;
  background: #f8faf8;
}

.admin-recharge-channel-settings legend {
  padding: 0 6px;
  color: #174f79;
  font-size: 13px;
  font-weight: 700;
}

.admin-recharge-channel-settings .content-note {
  margin: 0;
}

.admin-supported-banks-card {
  margin-top: 20px;
}

.admin-bank-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
}

.admin-bank-form .admin-primary-btn {
  min-height: 46px;
}

.admin-supported-banks-card .admin-list {
  max-height: 420px;
  overflow: auto;
  margin-top: 18px;
}

.admin-form-message {
  margin: 0;
  padding: 11px 12px;
  border-radius: 9px;
  background: #fff1f0;
  color: #b63532;
  font-size: 12px;
  line-height: 1.5;
}

.admin-primary-btn,
.admin-secondary-btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}

.admin-primary-btn {
  min-height: 47px;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  color: #fff;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.17);
}

.admin-primary-btn:hover {
  background: #5b21b6;
}

.admin-secondary-btn {
  border-color: var(--admin-line);
  background: #fff;
  color: #174f79;
}

.admin-secondary-btn:hover {
  border-color: #cbd5df;
  background: #f8fafb;
}

.admin-primary-btn:active,
.admin-secondary-btn:active {
  transform: scale(0.98);
}

.admin-primary-btn:disabled,
.admin-secondary-btn:disabled {
  cursor: wait;
  opacity: 0.6;
}

.admin-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 23px;
  color: #668da9;
  font-size: 12px;
  font-weight: 650;
}

.admin-back-link:hover {
  color: var(--green-dark);
}

.admin-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  min-height: 100vh;
  height: 100vh;
  flex-direction: column;
  overflow: hidden;
  padding: 22px 14px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(87, 124, 170, 0.25), transparent 48%),
    linear-gradient(165deg, #172b43 0%, #102238 58%, #0c1a2b 100%);
  color: #fff;
}

.admin-sidebar .admin-brand {
  min-height: 65px;
  margin-bottom: 13px;
  padding: 0 8px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}
.admin-sidebar .admin-brand small {
  margin-top: 3px;
  color: #91a4bb;
  font-size: 9px;
  letter-spacing: 0.12em;
}
.admin-sidebar .admin-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
}

.admin-sidebar-label {
  padding: 12px 11px 9px;
  color: #71859c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.admin-nav {
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 3px 12px;
  scrollbar-color: rgba(167, 187, 211, 0.25) transparent;
  scrollbar-width: thin;
}

.admin-nav-item {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #b0bdcc;
  text-align: left;
  font-size: 12px;
  font-weight: 650;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.admin-nav-item i {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #9fb1c6;
  font-size: 16px;
  text-align: center;
}
.admin-nav-item:hover {
  transform: translateX(2px);
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.065);
  color: #fff;
}
.admin-nav-item.active {
  border-color: rgba(125, 211, 252, 0.16);
  background: linear-gradient(100deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.07));
  color: #e3f7ff;
  box-shadow: inset 3px 0 #67c8f2;
}
.admin-nav-item.active i {
  background: rgba(103, 200, 242, 0.16);
  color: #83d8ff;
}
.admin-nav-count {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 20px;
  background: #d34c48;
  color: #fff;
  font-size: 10px;
}
.admin-view.active {
  animation: admin-view-enter 0.2s ease-out both;
}

@keyframes admin-view-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-sidebar-bottom {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 10px;
}

.admin-security-note {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 10px;
  border: 1px solid rgba(143, 177, 210, 0.15);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: #a6b6c8;
  font-size: 10px;
}

.admin-security-note i {
  color: #79d3f8;
  font-size: 15px;
}
.admin-sidebar .admin-back-link {
  margin: 0;
  padding: 5px 10px;
  color: #aeb9c5;
}
.admin-sidebar .admin-back-link:hover {
  color: #fff;
}

.admin-signout-btn {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #b0bdcc;
  text-align: left;
  font-size: 12px;
}

.admin-signout-btn:hover {
  border-color: rgba(255, 136, 136, 0.16);
  background: rgba(226, 87, 87, 0.1);
  color: #ffd1d1;
}

.admin-main {
  min-width: 0;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--admin-line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.admin-breadcrumb {
  color: #98a2af;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.admin-breadcrumb span {
  padding: 0 7px;
  color: #c0c7d0;
}
.admin-breadcrumb strong {
  color: #667282;
  font-weight: 650;
}
.admin-topbar h1 {
  margin-top: 5px;
  color: var(--admin-ink);
  font-size: 18px;
  letter-spacing: -0.03em;
}
.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 11px;
}

.admin-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #70c9ed;
  font-size: 10px;
  font-weight: 700;
}

.admin-live-indicator i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.16);
}
.admin-live-indicator.is-disconnected {
  color: #9aa4b0;
}
.admin-live-indicator.is-disconnected i {
  background: #9aa4b0;
  box-shadow: 0 0 0 4px rgba(154, 164, 176, 0.16);
}
.admin-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}
.admin-account {
  display: grid;
  gap: 3px;
}
.admin-account strong {
  max-width: 190px;
  overflow: hidden;
  color: #2e3947;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-account span {
  color: #929dab;
  font-size: 10px;
}
.admin-mobile-menu {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #f0f3f6;
  color: #435060;
  font-size: 18px;
}

.admin-content {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 30px clamp(20px, 4vw, 48px) 56px;
}

.admin-console-status {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #b9dff0;
  border-radius: 9px;
  background: #f2f9fc;
  color: var(--green-dark);
  font-size: 12px;
  line-height: 1.5;
}

.admin-console-status.is-error {
  border-color: #f0c5c2;
  background: #fff1f0;
  color: #a72e2b;
}

.admin-console-status[hidden] {
  display: none;
}

.admin-welcome-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
.admin-welcome-row h2 {
  color: var(--admin-ink);
  font-size: 23px;
  letter-spacing: -0.04em;
}
.admin-welcome-row p {
  margin-top: 6px;
  color: var(--admin-muted);
  font-size: 12px;
  line-height: 1.55;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}
.admin-stat-card,
.admin-panel-card {
  border: 1px solid var(--admin-line);
  border-radius: 13px;
  background: var(--admin-surface);
  box-shadow: 0 3px 14px rgba(27, 42, 58, 0.025);
}

.admin-stat-card {
  min-width: 0;
  padding: 18px;
}
.admin-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #707d8c;
  font-size: 11px;
  font-weight: 650;
}
.admin-stat-top i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 17px;
}
.admin-stat-card:nth-child(2) .admin-stat-top i {
  background: #f3e8ff;
  color: #7c3aed;
}
.admin-stat-card:nth-child(3) .admin-stat-top i {
  background: #f1efff;
  color: #7463c7;
}
.admin-stat-card:nth-child(4) .admin-stat-top i {
  background: #fff5e8;
  color: #d39032;
}
.admin-stat-card > strong {
  display: block;
  margin-top: 15px;
  overflow: hidden;
  color: #1b2835;
  font-size: clamp(20px, 2.5vw, 27px);
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-stat-card > small {
  display: block;
  margin-top: 6px;
  color: #98a2ae;
  font-size: 10px;
}

.admin-panel-card {
  min-width: 0;
  margin-bottom: 17px;
  padding: 20px;
}
.admin-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.admin-panel-heading h3 {
  color: #25313e;
  font-size: 14px;
}
.admin-panel-heading p {
  margin-top: 5px;
  color: #8a95a2;
  font-size: 11px;
}
.admin-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  color: #7c3aed;
  font-size: 11px;
  font-weight: 700;
}
.admin-text-btn:hover {
  color: #5b21b6;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.admin-table th {
  padding: 11px 12px;
  border-bottom: 1px solid var(--admin-line);
  color: #929dab;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.admin-table td {
  max-width: 260px;
  padding: 12px;
  border-bottom: 1px solid #f0f2f5;
  color: #596575;
  font-size: 11px;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.admin-table tbody tr:last-child td {
  border-bottom: 0;
}
.admin-empty-cell {
  height: 90px;
  color: #96a0ac !important;
  text-align: center;
}
.admin-withdrawal-panel {
  padding-bottom: 15px;
}
.admin-withdrawal-list {
  display: grid;
  gap: 12px;
}
.admin-withdrawal-empty {
  display: grid;
  min-height: 120px;
  place-items: center;
  margin: 0;
  border: 1px dashed #dfe5eb;
  border-radius: 13px;
  color: #8995a2;
  font-size: 12px;
}
.admin-withdrawal-empty.is-error {
  border-color: #efcfcd;
  background: #fff8f7;
  color: #a83e39;
}
.admin-withdrawal-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e6ebf0;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #fcfdff);
  box-shadow: 0 4px 14px rgba(27, 42, 58, 0.035);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.admin-withdrawal-card:hover {
  transform: translateY(-1px);
  border-color: #d3e2ed;
  box-shadow: 0 8px 22px rgba(27, 42, 58, 0.07);
}
.admin-withdrawal-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 18px 14px;
}
.admin-withdrawal-payout {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.admin-withdrawal-payout > span {
  color: #8a96a4;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.admin-withdrawal-payout > strong {
  color: #172a3d;
  font-size: 22px;
  letter-spacing: -0.045em;
  line-height: 1.15;
}
.admin-withdrawal-payout > small {
  color: #778594;
  font-size: 10px;
  line-height: 1.45;
}
.admin-withdrawal-status {
  flex: 0 0 auto;
  margin-top: 2px;
}
.admin-withdrawal-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 13px 18px;
  border-top: 1px solid #eef1f4;
  border-bottom: 1px solid #eef1f4;
  background: #fafbfd;
}
.admin-withdrawal-detail {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.admin-withdrawal-detail > span {
  color: #929eaa;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.admin-withdrawal-detail > strong {
  overflow-wrap: anywhere;
  color: #344253;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}
.admin-withdrawal-detail.is-user-id > strong,
.admin-withdrawal-detail.is-reference > strong {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}
.admin-withdrawal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
}
.admin-withdrawal-submitted {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8a96a3;
  font-size: 10px;
  line-height: 1.5;
}
.admin-withdrawal-submitted i {
  font-size: 13px;
}
.admin-withdrawal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}
.admin-withdrawal-actions > small {
  align-self: center;
  color: #8a96a3;
  font-size: 10px;
}
.admin-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 20px;
  background: #f0f2f5;
  color: #667281;
  font-size: 9px;
  font-weight: 750;
  text-transform: capitalize;
  white-space: nowrap;
}
.admin-status-badge.success {
  background: var(--green-light);
  color: var(--green-dark);
}
.admin-status-badge.warning {
  background: #fff5e5;
  color: #b4771f;
}
.admin-status-badge.danger {
  background: #fff0ef;
  color: #bf4640;
}
.admin-status-badge.info {
  background: #edf2ff;
  color: #536cc0;
}
.admin-amount-positive {
  color: var(--green-dark) !important;
  font-weight: 750;
  white-space: nowrap;
}
.admin-amount-negative {
  color: #c24c47 !important;
  font-weight: 750;
  white-space: nowrap;
}

.admin-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  align-items: start;
}
.admin-two-column .admin-panel-card {
  margin-bottom: 17px;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.admin-form-actions {
  display: flex;
  gap: 10px;
}
.admin-form-actions > * {
  flex: 1;
}
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.admin-search {
  display: flex;
  width: min(420px, 100%);
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--admin-line);
  border-radius: 9px;
  color: #929dab;
}
.admin-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--admin-ink);
  font-size: 11px;
}
.admin-user-count {
  margin-left: auto;
  color: #8994a1;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}
.admin-user-identity {
  display: grid;
  gap: 4px;
  min-width: 150px;
}
.admin-user-identity strong {
  color: #354150;
  font-size: 11px;
}
.admin-user-identity small {
  color: #9aa4b0;
  font-size: 9px;
}
.admin-user-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}
.admin-user-empty {
  display: grid;
  min-height: 100px;
  grid-column: 1 / -1;
  place-items: center;
  margin: 0;
  padding: 18px;
  border: 1px dashed #dfe5eb;
  border-radius: 12px;
  color: #8995a2;
  font-size: 12px;
  text-align: center;
}
.admin-user-empty.is-error {
  border-color: #efcfcd;
  background: #fff8f7;
  color: #a83e39;
}
.admin-user-card {
  display: grid;
  min-width: 0;
  gap: 13px;
  padding: 16px;
  border: 1px solid #e6ebf0;
  border-radius: 13px;
  background: linear-gradient(145deg, #fff, #fcfdff);
  box-shadow: 0 4px 14px rgba(27, 42, 58, 0.035);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.admin-user-card:hover {
  transform: translateY(-1px);
  border-color: #d3e2ed;
  box-shadow: 0 8px 22px rgba(27, 42, 58, 0.07);
}
.admin-user-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.admin-user-card .admin-user-identity {
  min-width: 0;
  gap: 5px;
}
.admin-user-card .admin-user-identity strong {
  overflow-wrap: anywhere;
  color: #263648;
  font-size: 12px;
}
.admin-user-card .admin-user-identity small {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
}
.admin-user-card-badges {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}
.admin-user-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.admin-user-metric {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #edf0f4;
  border-radius: 9px;
  background: #fafbfd;
}
.admin-user-metric > span {
  color: #929eaa;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.admin-user-metric > strong {
  overflow-wrap: anywhere;
  color: #354456;
  font-size: 12px;
  font-weight: 750;
}
.admin-user-metadata {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  color: #8995a2;
  font-size: 9px;
}
.admin-user-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 5px;
  padding-top: 11px;
  border-top: 1px solid #eef1f4;
}
.admin-user-actions > .admin-row-action {
  margin: 0;
  min-height: 32px;
}
.admin-user-actions > .admin-wallet-adjustment {
  flex-basis: 100%;
  margin: 3px 0 0;
  padding: 8px 10px;
  border: 1px solid #edf0f4;
  border-radius: 9px;
  background: #fafbfd;
}
.admin-user-actions > .admin-wallet-adjustment > summary {
  list-style-position: inside;
  color: #46576a;
  font-size: 10px;
}
.admin-user-actions .admin-wallet-adjustment-form {
  min-width: 0;
  margin-top: 8px;
}
.admin-user-protected {
  align-self: center;
  color: #657587;
  font-size: 10px;
  font-weight: 650;
}
.admin-row-action {
  min-height: 30px;
  margin: 2px;
  padding: 0 9px;
  border: 1px solid #e6ebf0;
  border-radius: 7px;
  background: #fff;
  color: #667281;
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
}
.admin-row-action.is-primary {
  border-color: #b9dff0;
  background: #f2f9fc;
  color: var(--green-dark);
}
.admin-row-action.is-danger {
  border-color: #f2d9d7;
  background: #fff6f5;
  color: #b54741;
}
.admin-wallet-adjustment {
  min-width: 170px;
  margin-top: 5px;
}
.admin-wallet-adjustment summary {
  color: #536171;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}
.admin-wallet-adjustment-form {
  display: grid;
  min-width: 190px;
  gap: 7px;
  padding: 9px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
}
.admin-wallet-adjustment-form input,
.admin-wallet-adjustment-form select {
  width: 100%;
  min-height: 32px;
  padding: 6px 8px;
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  color: var(--admin-ink);
  font-size: 10px;
}
.admin-wallet-adjustment-actions {
  display: flex;
}
.admin-inline-link {
  color: #7c3aed;
  font-size: 10px;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}
.admin-list {
  display: grid;
  gap: 9px;
}
.admin-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border: 1px solid #edf0f3;
  border-radius: 9px;
  background: #fff;
  overflow-wrap: anywhere;
}
.admin-list-row strong {
  color: #354150;
  font-size: 11px;
}
.admin-list-row p {
  margin-top: 5px;
  color: #8c97a4;
  font-size: 10px;
  line-height: 1.5;
}
.admin-product-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}
.admin-product-delete {
  border-color: #f0d7d6;
  color: #a53d39;
}
.admin-product-delete:hover {
  border-color: #e8b9b7;
  background: #fff5f4;
  color: #8f2f2c;
}
.admin-security-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 2px;
  background: #f2f9fc;
}
.admin-security-card > i {
  color: #5b21b6;
  font-size: 21px;
}
.admin-security-card h3 {
  color: #344253;
  font-size: 12px;
}
.admin-security-card p {
  max-width: 780px;
  margin-top: 5px;
  color: #7e8b99;
  font-size: 11px;
  line-height: 1.65;
}
.admin-sidebar-scrim {
  display: none;
}

.admin-body :focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.35);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .admin-app {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-content {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 760px) {
  .admin-app {
    display: block;
  }
  .admin-user-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-sidebar {
    position: fixed;
    z-index: 50;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(280px, 84vw);
    height: 100dvh;
    min-height: 0;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
  }
  .admin-sidebar.is-open {
    transform: translateX(0);
  }
  .admin-sidebar-scrim.is-visible {
    position: fixed;
    z-index: 45;
    inset: 0;
    display: block;
    background: rgba(10, 18, 27, 0.48);
  }
  .admin-topbar {
    min-height: 72px;
    padding: 10px 18px;
  }
  .admin-mobile-menu {
    display: inline-grid;
    flex: 0 0 38px;
    place-items: center;
  }
  .admin-topbar > div:first-of-type {
    flex: 1;
  }
  .admin-topbar-right {
    gap: 8px;
  }
  .admin-live-indicator {
    margin: 0 3px 0 0;
    font-size: 0;
  }
  .admin-live-indicator i {
    width: 8px;
    height: 8px;
  }
  .admin-account strong {
    max-width: 120px;
  }
  .admin-content {
    padding: 24px 17px 40px;
  }
  .admin-two-column {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .admin-withdrawal-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-withdrawal-detail.is-user-id,
  .admin-withdrawal-detail.is-reference {
    grid-column: 1 / -1;
  }
  .admin-withdrawal-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-withdrawal-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .admin-login-card {
    padding: 27px 22px;
    border-radius: 16px;
  }
  .admin-login-icon {
    margin-top: 30px;
  }
  .admin-topbar {
    gap: 9px;
  }
  .admin-account {
    display: none;
  }
  .admin-topbar h1 {
    font-size: 16px;
  }
  .admin-breadcrumb {
    font-size: 9px;
  }
  .admin-content {
    padding-right: 12px;
    padding-left: 12px;
  }
  .admin-welcome-row {
    align-items: flex-start;
  }
  .admin-welcome-row h2 {
    font-size: 20px;
  }
  .admin-welcome-row p {
    max-width: 270px;
  }
  .admin-stat-grid {
    gap: 9px;
  }
  .admin-stat-card {
    padding: 13px;
  }
  .admin-stat-top {
    align-items: flex-start;
    font-size: 10px;
  }
  .admin-stat-top i {
    width: 29px;
    height: 29px;
    font-size: 15px;
  }
  .admin-stat-card > strong {
    font-size: 19px;
  }
  .admin-panel-card {
    padding: 14px;
  }
  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-search {
    width: 100%;
  }
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-bank-form {
    grid-template-columns: 1fr;
  }
  .admin-table th,
  .admin-table td {
    padding: 10px 9px;
  }
  .admin-withdrawal-card-header {
    padding: 15px 14px 12px;
  }
  .admin-withdrawal-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px 14px;
  }
  .admin-withdrawal-detail.is-user-id,
  .admin-withdrawal-detail.is-reference {
    grid-column: 1 / -1;
  }
  .admin-withdrawal-card-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 14px;
  }
  .admin-withdrawal-actions {
    justify-content: flex-start;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-sidebar,
  .admin-view.active,
  .admin-primary-btn,
  .admin-secondary-btn,
  .admin-form input,
  .admin-form select,
  .admin-form textarea {
    transition: none;
  }
}
