:root {
  /* Previous #f4f2ef/#1f1b24 replaced with #0E0F13/#EDEDED for dark base */
  /* Previous warm accents (#f2732c/#d9601f) replaced with #FF8A00/#FF6A00 */
  /* Previous light cards (#ffffff/#faf7f2) replaced with #171A21/#1f232c */
  /* Previous border rgba(31,27,36,0.12) replaced with #2A2E35 */
  --background: #0E0F13; /* Obsidian base */
  --foreground: #EDEDED; /* Primary text */
  --muted: #9CA3AF; /* Muted text */
  --muted-strong: #cfd3db; /* Lighter muted for visibility */
  --card: #171A21; /* Panel surface */
  --card-muted: #1f232c; /* Secondary panel */
  --border: #2A2E35; /* Panel border */
  --border-strong: rgba(255, 255, 255, 0.12); /* Emphasis border */
  --primary: #FF8A00; /* Ember accent */
  --primary-dark: #FF6A00; /* Hover accent */
  --accent: rgba(255, 138, 0, 0.12); /* Accent wash */
  --accent-strong: rgba(255, 106, 0, 0.2); /* Strong accent wash */
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 25px 65px rgba(0, 0, 0, 0.55); /* Elevated shadow */
  --shadow-card: 0 20px 35px rgba(0, 0, 0, 0.45); /* Panel shadow */
  --nav-height: 80px;
  --sidebar-width: 320px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  overflow-x: hidden;
}

.storefront-body,
body.storefront-body {
  background-color: var(--background);
  background-image: url("https://res.cloudinary.com/dzayh29d7/image/upload/v1769702962/2026-01-26_19.26.02_ds5wjv.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  position: relative;
}

body.storefront-body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("https://cdn.kotaborneo.my/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  opacity: 0.2; /* subtle scene */
  z-index: -2;
  pointer-events: none;
}

.storefront-body::before,
body.storefront-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(14, 15, 19, 0.55); /* dark wash for readability */
  z-index: -1;
  pointer-events: none;
}
body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1520px, 100% - 40px);
  margin: 0 auto;
  padding: 0 20px;
}

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

.capsule-header {
  display: none;
}
.capsule-brand {
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 1.25rem;
  text-decoration: none;
}
.capsule-brand img {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  border: none;
  background: transparent;
}
.capsule-brand strong {
  font-size: 1.1rem;
}
.capsule-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}
.capsule-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.35rem;
  cursor: pointer;
}
.capsule-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 999px;
}

.capsule-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}
.capsule-nav a {
  font-weight: 600;
  color: var(--foreground);
  opacity: 0.85;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.capsule-nav a:hover {
  opacity: 1;
  color: var(--primary);
}
.capsule-discord {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5865f2;
  border: none;
  background: transparent;
}
.capsule-discord img {
  width: 46px;
  height: 46px;
}

@media (max-width: 900px) {
  .capsule-header {
    flex-wrap: wrap;
    border-radius: 36px;
    gap: 1rem;
    position: relative;
  }
  .capsule-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .capsule-header {
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
  }
  .capsule-toggle {
    display: flex;
  }
  .capsule-nav {
    order: 3;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 17, 22, 0.95);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 5;
  }
  .capsule-nav.is-open {
    display: flex;
  }
  .capsule-nav a {
    width: 100%;
    padding: 0.45rem 0;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

.inline-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.site-hero {
  position: relative;
  padding-bottom: 3rem;
  overflow: hidden;
}

.hero-surface {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4), transparent 60%),
    linear-gradient(180deg, rgba(242, 114, 44, 0.08), rgba(15, 10, 20, 0.03));
  z-index: 0;
}

.nav {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 20;
  pointer-events: none;
}

.nav-container {
  position: relative;
  width: min(1100px, calc(100% - 64px));
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(30, 22, 38, 0.9);
  box-shadow: 0 25px 55px rgba(8, 5, 10, 0.35);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}
.nav.nav-scrolled .nav-container {
  background: rgba(20, 14, 26, 0.92);
  box-shadow: 0 10px 35px rgba(8, 5, 10, 0.45);
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.nav-link {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.85;
}

.nav-link:hover {
  opacity: 1;
}
.discord-icon {
  width: 28px;
  height: 28px;
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav-discord {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
}

.nav-logo {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-logo-image {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-top: calc(var(--nav-height) + 4rem);
}

.hero-blade h1 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin: 0.5rem 0 1rem;
}

.hero-copy {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

.hero-actions {
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 12px;
  border: 2px solid rgba(242, 115, 44, 0.35);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(242, 115, 44, 0.6);
}

.btn-primary {
  background: linear-gradient(125deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: rgba(242, 115, 44, 0.8);
  box-shadow: 0 20px 40px rgba(242, 115, 44, 0.3);
}

.btn-primary:hover:not(:disabled) {
  box-shadow: 0 28px 55px rgba(242, 115, 44, 0.4);
  background: linear-gradient(125deg, var(--primary), #ff8d48);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid rgba(242, 115, 44, 0.4);
}

.btn-outline:hover:not(:disabled) {
  background: rgba(242, 115, 44, 0.12);
  border-color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
  border: 2px solid rgba(242, 115, 44, 0.2);
}

.btn-ghost:hover:not(:disabled) {
  border-color: rgba(242, 115, 44, 0.5);
  background: rgba(242, 115, 44, 0.08);
}

.btn-compact {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  font-weight: 600;
}

.hero-metrics dt {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-metrics dd {
  font-size: 1.1rem;
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo img {
  width: clamp(180px, 22vw, 260px);
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.2));
}

.hero-support {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.user-ribbon {
  position: relative;
  z-index: 1;
  margin-top: 2.5rem;
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: #fff;
}
.user-ribbon .muted {
  color: rgba(255, 255, 255, 0.85);
}
.user-ribbon .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.goal-card,
.user-card {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.goal-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.goal-amount {
  font-size: 1.5rem;
  font-weight: 700;
}

.goal-progress {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.goal-progress-bar {
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
}

.user-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-card-avatar {
  width: 86px;
  height: 86px;
  border-radius: var(--radius-md);
  background: #fff;
  object-fit: cover;
}

.storefront-body {
  background: var(--background);
}

.storefront-shell {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - 4rem);
}

.storefront-sidebar {
  width: var(--sidebar-width);
  background: rgba(23, 26, 33, 0.2); /* further transparency */
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 2rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
  overflow-y: auto;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

@media (min-width: 1024px) {
  .storefront-sidebar {
    margin-top: 5rem;
  }
}
.sidebar-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-logo {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
}

.sidebar-logo img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--card-muted);
  border: 1px solid var(--border);
}

.sidebar-eyebrow {
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.sidebar-subtext {
  font-size: 0.85rem;
  color: var(--muted);
}

.sidebar-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  display: inline-block;
}

.status-dot-live {
  background: #30d158;
  box-shadow: 0 0 6px rgba(48, 209, 88, 0.7);
}

.sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-category-scroll {
  max-height: calc(3 * 92px); /* roughly three category rows */
  overflow-y: auto;
  direction: rtl; /* move scrollbar track to left side */
  padding-right: 0;
  padding-left: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.sidebar-category-scroll > .sidebar-nav {
  direction: ltr; /* keep text left-to-right */
}
.sidebar-category-scroll::-webkit-scrollbar {
  width: 6px;
}
.sidebar-category-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-category-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}
.sidebar-category-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.sidebar-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.sidebar-categories .sidebar-link {
  padding: 0.75rem 0.85rem;
  gap: 0.6rem;
}
.sidebar-categories .sidebar-link-icon {
  width: 34px;
  height: 34px;
  font-size: 0.8rem;
}
.sidebar-categories .sidebar-link-icon.has-image {
  width: 46px;
  height: 46px;
}
.sidebar-categories .sidebar-link-text span {
  font-size: 0.9rem;
}
.sidebar-categories .sidebar-link-text small {
  font-size: 0.7rem;
}

.sidebar-nav,
.sidebar-subnav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 0;
}

.sidebar-subnav {
  padding-left: 1rem;
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-link {
  --sidebar-glow: var(--primary);
  --sidebar-glow-shadow: rgba(255, 138, 0, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: #1a120b; /* match product card tone */
  border: 1px solid var(--border);
  color: var(--foreground);
  text-decoration: none;
}
.sidebar-link-body {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
}
.sidebar-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--foreground);
}
.sidebar-link-icon.has-image {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
}
.sidebar-link-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sidebar-link-icon.has-image img {
  border-radius: var(--radius-md);
}
.sidebar-link-icon.is-placeholder span {
  opacity: 0.75;
}

.sidebar-link:hover {
  border-color: var(--primary);
}

.sidebar-link.is-active,
.sidebar-link.ghost {
  background: #20242d;
}

.sidebar-link.is-active {
  border-color: var(--primary);
  box-shadow: 0 18px 35px rgba(255, 138, 0, 0.25);
}
.sidebar-link:hover,
.sidebar-link.is-active {
  border-color: var(--sidebar-glow);
  box-shadow: 0 15px 35px var(--sidebar-glow-shadow);
}

.sidebar-link-text span {
  font-weight: 600;
}

.sidebar-link-text small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.sidebar-link-arrow {
  opacity: 0.6;
}

.storefront-main {
  flex: 1;
  height: 100%;
  background: transparent; /* transparent main surface */
  border: none;
  border-radius: var(--radius-lg);
  padding: 0; /* align panels flush with sidebar */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: sticky; /* keep panel in view */
  top: 2rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}
.storefront-main::-webkit-scrollbar {
  width: 0;
}
.storefront-main::-webkit-scrollbar-track {
  background: transparent;
}
.storefront-main::-webkit-scrollbar-thumb {
  background: transparent;
}
.storefront-main::-webkit-scrollbar-thumb:hover {
  background: transparent;
}
.storefront-main {
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
}

.storefront-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

.header-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.storefront-content {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  padding-right: 1rem;
}

.home-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.home-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px dashed var(--primary);
  background: var(--accent);
  flex-wrap: wrap;
  box-shadow: var(--shadow-soft);
}

.alert-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.banner-copy h2 {
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  margin: 0.35rem 0 0.5rem;
}

.banner-copy p {
  color: var(--muted);
}

.banner-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--card-muted);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.banner-visual img {
  width: clamp(200px, 60%, 280px);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.info-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.top-spenders {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card-muted);
  box-shadow: var(--shadow-card);
}

.top-spenders-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.top-spender-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  max-width: calc(3 * 280px + 2 * 1rem);
}

.top-spender-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 1 260px;
  width: 100%;
  max-width: 280px;
  min-width: 0;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 122, 122, 0.95);
  outline: 2px solid rgba(255, 86, 86, 0.35);
  outline-offset: 0;
  background: rgba(36, 18, 24, 0.7);
  box-shadow: 0 0 22px rgba(255, 76, 76, 0.45);
}

.top-spender-list--lifetime li {
  border: 1px solid rgba(255, 200, 92, 0.9);
  outline: 2px solid rgba(255, 210, 120, 0.35);
  background: rgba(48, 38, 15, 0.85);
  box-shadow: 0 0 26px rgba(255, 210, 108, 0.45);
}
.top-spender-list--lifetime .spender-name {
  color: #fcd77d;
}
.top-spender-list--lifetime .spender-total-line {
  color: #ffd154;
}
.top-spender-list--lifetime .spender-rank-line {
  color: rgba(255, 238, 186, 0.85);
}
.top-spender-list--lifetime .spender-last-transaction {
  color: rgba(255, 238, 186, 0.7);
}

.top-spender-list--weekly li {
  border: 1px solid rgba(136, 242, 255, 0.9);
  outline: 2px solid rgba(111, 216, 230, 0.4);
  background: rgba(12, 41, 48, 0.8);
  box-shadow: 0 0 24px rgba(96, 219, 255, 0.45);
}
.top-spender-list--weekly .spender-name {
  color: #bdf5ff;
}
.top-spender-list--weekly .spender-total-line {
  color: #7fe9ff;
}
.top-spender-list--weekly .spender-rank-line {
  color: rgba(190, 248, 255, 0.85);
}
.top-spender-list--weekly .spender-last-transaction {
  color: rgba(190, 248, 255, 0.7);
}

.top-spender-list--monthly li {
  border: 1px solid rgba(255, 150, 210, 0.9);
  outline: 2px solid rgba(230, 113, 188, 0.35);
  background: rgba(56, 20, 46, 0.78);
  box-shadow: 0 0 24px rgba(255, 134, 210, 0.4);
}
.top-spender-list--monthly .spender-name {
  color: #ffd3ef;
}
.top-spender-list--monthly .spender-total-line {
  color: #ff9cd6;
}
.top-spender-list--monthly .spender-rank-line {
  color: rgba(255, 210, 236, 0.85);
}
.top-spender-list--monthly .spender-last-transaction {
  color: rgba(255, 210, 236, 0.7);
}
@media (max-width: 600px) {
  .top-spender-list {
    width: 100%;
    max-width: none;
    justify-content: center;
    gap: 0.75rem;
  }
  .top-spender-list li {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 0;
    max-width: none;
    padding: 0.75rem;
  }
  .spender-rank-badge {
    display: none;
  }
  .spender-avatar {
    width: 56px;
    height: 56px;
  }
  .spender-rank-line {
    display: none;
  }
  .spender-last-transaction {
    font-size: 0.45rem;
  }
  .spender-last-transaction-label {
    display: none;
  }
}

.spender-rank-badge {
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 0.1rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.spender-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 4px;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.35);
}

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

.spender-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
}

.spender-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
}

.spender-name {
  font-size: 1rem;
}

.spender-rank-line {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spender-total-line {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

@media (max-width: 600px) {
  .top-spender-list .spender-total-line {
    font-size: 0.65rem;
  }
}

.spender-last-transaction {
  font-size: 0.7rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 600px) {
  .top-spender-list .spender-last-transaction {
    font-size: 0.5rem;
  }
}

.spender-last-transaction-label {
  font-style: normal;
}

@media (max-width: 600px) {
  .top-spender-list .spender-name {
    font-size: 0.7rem;
  }
}

.info-card h3 {
  font-size: 1.2rem;
}

.info-card hr {
  height: 3px;
  width: 48px;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  margin-top: 0.25rem;
}

.home-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(242, 115, 44, 0.2);
}

.payment-method-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.method-badge {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(242, 115, 44, 0.2);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 12px 24px rgba(15, 10, 20, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modules-card {
  padding: 0;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
}

.module-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.gift-card {
  background: transparent;
}

.recent-card {
  background: var(--card-muted);
}

.recent-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.recent-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.recent-list li:last-child {
  border-bottom: none;
}

.recent-list strong {
  display: block;
  font-size: 1rem;
}

.recent-list span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.panel {
  background: rgba(23, 26, 33, 0.2); /* match sidebar transparency */
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.12), rgba(23, 26, 33, 0.9));
}

.hero-panel-copy h2 {
  font-size: clamp(1.85rem, 2.2vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.hero-bullets {
  margin-top: 1rem;
  list-style: disc;
  margin-left: 1.2rem;
  color: var(--muted);
}

.hero-panel-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.meta-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(242, 115, 44, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--foreground);
  padding: 1.25rem;
  box-shadow: 0 15px 35px rgba(15, 10, 20, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.panel-grid {
  display: grid;
  gap: 1.25rem;
}

.panel-grid.two-column {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.panel-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.goal-panel .goal-amount {
  color: var(--primary);
}

.avatar-info {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.avatar-info img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--card-muted);
}

.category-meta-panel {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.badge-muted {
  background: rgba(255, 255, 255, 0.1);
  color: var(--foreground);
}

@media (max-width: 720px) {
  .panel-actions .badge {
    display: none;
  }
}

.storefront-body .footer {
  background: transparent;
  border: none;
  margin-top: auto;
  padding: 0;
}

.storefront-body .footer .container {
  width: 100%;
  margin: 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--border);
}

.storefront-body .footer-grid {
  padding: 2rem 0 0;
}
.page-shell {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 3rem;
}

.category-column {
  width: min(360px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.category-menu,
.sidebar-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.category-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.category-link {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: var(--card-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 600;
}
.category-link strong {
  display: block;
  font-size: 1rem;
}
.category-link small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.category-showcase {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.category-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: var(--card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.category-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.how-to-list {
  margin-left: 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.category-hero .category-headline {
  padding: calc(var(--nav-height) + 3rem) 0 2rem;
}

.category-page {
  margin: 2rem auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.category-link:hover {
  border-color: var(--primary);
}

.highlight-card ol {
  margin: 0.5rem 0 0 1rem;
  color: var(--muted);
  line-height: 1.5;
}

.content-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.section-block {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.page-intro {
  background: transparent;
  border: 1px dashed var(--border);
  box-shadow: none;
}

.section-heading h3 {
  font-size: 1.75rem;
  margin: 0.25rem 0 0.5rem;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.product-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-card {
  --product-glow: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: rgba(26, 18, 11, 0.75); /* transparent ember tone */
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  border-color: var(--product-glow);
  box-shadow: 0 0 20px var(--product-glow);
}

.product-card.is-disabled {
  opacity: 0.6;
}

.product-card-media {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.25);
  width: 8rem;
  height: 8rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-card-media.has-image {
  border: none;
  background: transparent;
}
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card-media.is-placeholder span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  opacity: 0.35;
}

.perk-list {
  list-style: disc;
  margin-left: 1.5rem;
  color: var(--muted);
  line-height: 1.6;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.price-stack span {
  font-size: 1.25rem;
  font-weight: 700;
}

.panel-card,
.tier-card {
  border: 1px solid rgba(242, 115, 44, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 10, 20, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.panel-line {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.panel-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.panel-line.column {
  gap: 0.75rem;
}

.variant-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.variant-btn {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--card-muted);
  padding: 0.75rem 1rem;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-weight: 600;
  cursor: pointer;
}

.variant-btn strong {
  color: var(--primary);
}

.variant-btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.tier-card-head h4 {
  font-size: 1.25rem;
}

.tier-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.essential-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.essential-line:last-child {
  border-bottom: none;
}

.footer {
  margin-top: 4rem;
  background: var(--card);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 2.5rem 0;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-center {
  text-align: center;
}

.footer-center img {
  width: 120px;
  margin: 0 auto 0.5rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 20, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 50;
}

.modal.hidden {
  display: none;
}

.modal-card {
  width: min(520px, 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 35px 55px rgba(0, 0, 0, 0.3);
}

.glass-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  color: #fff;
}
.glass-card .muted {
  color: rgba(255, 255, 255, 0.8);
}
.glass-card .muted.modal-product {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.glass-card .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}
.glass-card .inline-link {
  color: #ffd8bb;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

.icon-btn {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}

.modal-avatar {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.modal-avatar img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.modal-account {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.modal-account-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.4rem;
}

.modal-account-value {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-left: 0;
}
.label {
  font-size: 0.9rem;
  font-weight: 600;
}

.input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  margin: 0.5rem 0 1rem;
  font-size: 1rem;
}

.modal-terms {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.modal-note {
  font-size: 0.85rem;
  line-height: 1.5;
}
.modal-note-gap {
  margin-bottom: 0.75rem;
}

.error {
  color: #d63c3c;
  background: rgba(214, 60, 60, 0.12);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}

.modal-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.hidden {
  display: none !important;
}

.checkout-hero {
  padding-bottom: 2rem;
  position: relative;
}

.checkout-head {
  padding-top: calc(var(--nav-height) + 3rem);
  text-align: center;
}

.checkout-head.simple {
  padding-top: 0;
  text-align: left;
  margin-bottom: 2rem;
}

.checkout-shell {
  margin-top: 0;
  margin-bottom: 2.5rem;
  padding-top: calc(var(--nav-height) + 0.5rem);
}
.pay-warning {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: #0b0c0f;
  border: 1px solid rgba(255, 0, 0, 0.4);
  color: #ff4d4f;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.pay-warning p + p {
  margin-top: 0.5rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.pay-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  min-height: 100%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--foreground);
}

.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.panel-row:last-child {
  border-bottom: none;
}

.amount {
  font-weight: 700;
  color: var(--primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  font-weight: 600;
}

.status-text {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.qr-card {
  text-align: center;
}

.qr-wrap {
  position: relative;
  padding: 1rem;
  background: var(--card-muted);
  border-radius: var(--radius-md);
}

.qr-img {
  width: min(280px, 100%);
  margin: 0 auto;
}

.qr-overlay {
  position: absolute;
  inset: 1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 10, 20, 0.72);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-overlay-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.qr-ewallet-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.qr-ewallet-note.is-boxed {
  background: #0b0c0f;
  border: 1px solid rgba(255, 106, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: #ffb088;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.qr-ewallet-note.is-boxed p {
  margin: 0;
}
.qr-ewallet-note.is-boxed p + p {
  margin-top: 0.35rem;
}
.qr-ewallet-bank {
  font-weight: 600;
  color: #ff8a00;
}

@media (max-width: 1280px) {
  :root {
    --sidebar-width: 280px;
  }
}

@media (max-width: 1024px) {
  :root {
    --sidebar-width: 260px;
  }
  .storefront-shell {
    flex-direction: column;
    padding: 1.5rem;
  }
  .storefront-sidebar {
    padding: 2rem 1.25rem;
    position: static;
    width: 100%;
    height: auto;
  }
  .storefront-main {
    padding: 2rem 1.5rem 2.5rem;
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
  }
  .storefront-header {
    flex-direction: column;
  }
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-logo {
    grid-column: span 2;
  }
  .hero-support {
    grid-column: span 2;
    flex-direction: row;
  }
}

@media (max-width: 900px) {
  .nav-container {
    gap: 1rem;
  }
  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    flex-direction: column;
    background: rgba(30, 22, 38, 0.98);
    border-radius: var(--radius-md);
    padding: 1rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-support {
    flex-direction: column;
  }
  .storefront-shell {
    padding: 1rem;
  }
  .storefront-sidebar {
    position: static;
    width: 100%;
    height: auto;
  }
  .page-shell {
    flex-direction: column;
  }
  .category-column {
    width: 100%;
  }
  .hero-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .user-ribbon {
    flex-direction: column;
  }
  .hero-actions {
    flex-direction: column;
  }
}

.admin-body {
  background: var(--background);
  color: var(--foreground);
  min-height: 100vh;
}

.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 280px;
  background: linear-gradient(180deg, rgba(21, 25, 34, 0.92), rgba(13, 15, 21, 0.92));
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.35);
}

.admin-sidebar h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--foreground);
  text-align: center;
}

.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.admin-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.admin-sidebar nav a::before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  outline: none;
}

.admin-sidebar nav a:hover::before,
.admin-sidebar nav a:focus-visible::before {
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.6);
}

.admin-sidebar form {
  margin-top: auto;
}

.admin-sidebar form .btn {
  width: 100%;
  justify-content: center;
}

.admin-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(14, 15, 19, 0.6);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-section {
  background: rgba(23, 26, 33, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--border);
  text-align: left;
  padding: 0.75rem;
  color: var(--foreground);
}

.admin-actions {
  display: flex;
  gap: 0.5rem;
}

.admin-actions form {
  display: inline;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(23, 26, 33, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.admin-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 0.75rem;
  font-size: 1rem;
  background: var(--card-muted);
  color: var(--foreground);
}
.admin-form .icon-field {
  gap: 0.75rem;
}
.icon-field-header {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--muted);
}
.icon-field-header small {
  font-size: 0.85rem;
}
.icon-field-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.icon-field-controls input[type="url"] {
  flex: 1;
  min-width: 240px;
}
.icon-preview {
  margin-top: 0.5rem;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 0.85rem;
  color: var(--muted);
}
.icon-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.icon-preview span {
  display: block;
  text-align: center;
  padding: 0 0.5rem;
}

.admin-card {
  max-width: 420px;
  margin: 5rem auto;
  border-radius: var(--radius-lg);
  background: rgba(23, 26, 33, 0.85);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-error {
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: #ff6a00;
}

.admin-section--stats {
  padding: 1.75rem;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.admin-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.admin-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  font-size: 0.8rem;
}

.admin-stat-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-stat-label {
  margin: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.admin-stat-value {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.admin-stat-helper {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.admin-section--sales {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-sales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.admin-sales-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 1.25rem;
  background: rgba(15, 18, 26, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-sales-label {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-sales-value {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.admin-sales-helper {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.admin-sortable {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sortable-status {
  font-size: 0.95rem;
  color: var(--muted);
}
.drag-col {
  width: 2.5rem;
}
.drag-cell {
  width: 2.5rem;
}
.drag-handle {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px dashed transparent;
  background: transparent;
  color: var(--muted);
  cursor: grab;
  padding: 0.15rem;
  font-size: 1rem;
}
.drag-handle:hover,
.drag-handle:focus-visible {
  border-color: var(--border);
  color: var(--foreground);
}
.drag-handle:active {
  cursor: grabbing;
}
[data-sortable-row].is-sorting {
  opacity: 0.65;
}
[data-sortable-row].drag-over-before {
  box-shadow: inset 0 2px 0 0 var(--primary-dark);
}
[data-sortable-row].drag-over-after {
  box-shadow: inset 0 -2px 0 0 var(--primary-dark);
}
.sidebar-link-body {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
}
.spender-rank-badge.placeholder {
  display: none;
}
.spender-rank-line.placeholder,
.spender-total-line.placeholder {
  visibility: hidden;
}
.placeholder-cta {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--muted);
  margin-top: 0.25rem;
}

.report-header h1 {
  margin: 0 0 0.25rem;
}
.report-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.report-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.report-section-head h2 {
  margin: 0.35rem 0 0.25rem;
}
.report-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.report-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.report-form-grid label {
  gap: 0.5rem;
  font-weight: 600;
}
.report-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.report-action-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.report-note {
  margin: 0;
  font-size: 0.9rem;
}
.report-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 12px 25px rgba(0, 0, 0, 0.35);
}
.report-chip .chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(242, 115, 44, 0.18);
}
.report-chip.subtle {
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  border-color: var(--border);
  box-shadow: none;
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.report-card {
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 20px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.report-card--primary {
  background: linear-gradient(135deg, rgba(242, 115, 44, 0.18), rgba(255, 255, 255, 0.02));
  border-color: rgba(242, 115, 44, 0.35);
  box-shadow: 0 20px 45px rgba(242, 115, 44, 0.18);
}
.report-value {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.report-helper {
  margin: 0;
  color: var(--muted);
}
.report-summary {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.table-scroller {
  width: 100%;
  overflow: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(15, 16, 22, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.report-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
}
.report-table th {
  background: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}
.report-table th:first-child {
  border-top-left-radius: var(--radius-md);
}
.report-table th:last-child {
  border-top-right-radius: var(--radius-md);
}
.report-table tr:last-child td {
  border-bottom: none;
}
.table-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  font-size: 0.9rem;
}
.table-tag.is-paid {
  color: var(--primary);
  border-color: rgba(242, 115, 44, 0.45);
  background: rgba(242, 115, 44, 0.12);
}
.table-tag.is-pending {
  color: var(--muted);
}
.code-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}
