/* Z5 core CSS bundle — generated, do not edit */

/* source: C:\xampp\htdocs\styles\main.css */
/**
 * Z5 — Design system entry (Web3 theme)
 */


/* source: C:\xampp\htdocs\styles\base\variables.css */
/**
 * Z5 — Web3 design tokens (example/Web3)
 */

:root {
  /* Backgrounds */
  --z5-bg-void: #090d18;
  --z5-bg-deep: #0c1220;
  --z5-bg-elevated: #111728;
  --z5-bg-surface: rgba(17, 23, 40, 0.85);
  --z5-bg-surface-solid: #111728;
  --z5-bg-overlay: rgba(9, 13, 24, 0.92);

  /* Brand — Web3 green */
  --z5-green-500: #37d39a;
  --z5-green-400: #6de8b4;
  --z5-green-600: #27a87a;
  --z5-purple-500: #37d39a;
  --z5-purple-400: #6de8b4;
  --z5-purple-300: #80f0c4;
  --z5-blue-500: #4a7ab8;
  --z5-blue-600: #2a5080;
  --z5-cyan-400: #65d8ff;
  --z5-success: #37d39a;
  --z5-warning: #f7ba53;
  --z5-danger: #f88383;

  /* Semantic */
  --z5-color-primary: var(--z5-green-500);
  --z5-color-primary-hover: var(--z5-green-400);
  --z5-color-primary-muted: rgba(55, 211, 154, 0.14);
  --z5-color-secondary: var(--z5-blue-500);
  --z5-color-accent: var(--z5-cyan-400);

  /* Text */
  --z5-text-primary: #eaf2ff;
  --z5-text-secondary: rgba(234, 242, 255, 0.72);
  --z5-text-muted: #7a96bc;
  --z5-text-disabled: #3a5070;
  --z5-text-inverse: #041a10;

  /* Borders */
  --z5-border-subtle: #1e2d47;
  --z5-border-default: #27324d;
  --z5-border-strong: rgba(55, 211, 154, 0.35);
  --z5-border-glow: rgba(55, 211, 154, 0.45);
  --z5-border-focus: rgba(101, 216, 255, 0.55);

  /* Web3 aliases */
  --w3-line: #1e2d47;
  --w3-dim: #7a96bc;
  --w3-muted: #7a96bc;
  --w3-ok: #37d39a;
  --w3-cyan: #65d8ff;
  --w3-err: #f88383;
  --w3-warn: #f7ba53;

  /* Glass */
  --z5-glass-bg: rgba(17, 29, 50, 0.72);
  --z5-glass-bg-strong: rgba(12, 20, 36, 0.92);
  --z5-glass-blur: 16px;
  --z5-glass-blur-heavy: 24px;
  --z5-glass-saturate: 1.2;

  /* Shadows */
  --z5-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
  --z5-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --z5-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --z5-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --z5-shadow-float: 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--z5-border-subtle);
  --z5-shadow-glow-sm: 0 4px 20px rgba(55, 211, 154, 0.22);
  --z5-shadow-glow-md: 0 6px 28px rgba(55, 211, 154, 0.35);
  --z5-shadow-glow-cyan: 0 0 32px rgba(101, 216, 255, 0.2);
  --z5-shadow-inset-top: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --z5-shadow-inset-depth: inset 0 -12px 24px rgba(0, 0, 0, 0.25);

  /* Gradients */
  --z5-gradient-bg: linear-gradient(165deg, #090d18 0%, #0c1220 50%, #111728 100%);
  --z5-gradient-primary: linear-gradient(135deg, #37d39a 0%, #27a87a 100%);
  --z5-gradient-primary-hover: linear-gradient(135deg, #4de0ab 0%, #37d39a 100%);
  --z5-gradient-text: linear-gradient(120deg, #6de8b4 0%, #65d8ff 100%);
  --z5-gradient-border: linear-gradient(135deg, rgba(55, 211, 154, 0.45) 0%, rgba(255, 255, 255, 0.06) 40%, rgba(101, 216, 255, 0.2) 100%);
  --z5-gradient-card-shine: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 40%);

  /* Spacing */
  --z5-space-0: 0;
  --z5-space-1: 0.25rem;
  --z5-space-2: 0.5rem;
  --z5-space-3: 0.75rem;
  --z5-space-4: 1rem;
  --z5-space-5: 1.25rem;
  --z5-space-6: 1.5rem;
  --z5-space-8: 2rem;
  --z5-space-10: 2.5rem;
  --z5-space-12: 3rem;
  --z5-space-16: 4rem;
  --z5-space-20: 5rem;
  --z5-space-24: 6rem;

  /* Layout */
  --z5-container-sm: 640px;
  --z5-container-md: 768px;
  --z5-container-lg: 1024px;
  --z5-container-xl: 1280px;
  --z5-container-2xl: 1440px;
  --z5-sidebar-width: 260px;
  --z5-sidebar-collapsed: 72px;
  --z5-navbar-height: 4.5rem;
  --z5-content-max: 900px;

  /* Radius */
  --z5-radius-xs: 6px;
  --z5-radius-sm: 8px;
  --z5-radius-md: 12px;
  --z5-radius-lg: 13px;
  --z5-radius-xl: 16px;
  --z5-radius-2xl: 20px;
  --z5-radius-full: 9999px;

  /* Typography */
  --z5-font-sans: 'Inter', Consolas, 'Cascadia Mono', system-ui, sans-serif;
  --z5-font-mono: Consolas, 'Cascadia Mono', 'Courier New', monospace;

  --z5-text-xs: 0.6875rem;
  --z5-text-sm: 0.8125rem;
  --z5-text-base: 0.9375rem;
  --z5-text-md: 1rem;
  --z5-text-lg: 1.125rem;
  --z5-text-xl: 1.25rem;
  --z5-text-2xl: 1.5rem;
  --z5-text-3xl: 2rem;
  --z5-text-4xl: 2.5rem;
  --z5-text-5xl: 3.25rem;

  --z5-leading-tight: 1.15;
  --z5-leading-snug: 1.35;
  --z5-leading-normal: 1.55;
  --z5-tracking-tight: -0.025em;
  --z5-tracking-wide: 0.08em;
  --z5-tracking-wider: 0.12em;

  --z5-weight-normal: 400;
  --z5-weight-medium: 500;
  --z5-weight-semibold: 600;
  --z5-weight-bold: 700;
  --z5-weight-extrabold: 800;

  /* Motion */
  --z5-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z5-ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --z5-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --z5-duration-fast: 150ms;
  --z5-duration-base: 200ms;
  --z5-duration-slow: 400ms;
  --z5-duration-slower: 600ms;

  /* Z-index */
  --z5-z-base: 0;
  --z5-z-raised: 10;
  --z5-z-dropdown: 100;
  --z5-z-sticky: 200;
  --z5-z-navbar: 500;
  --z5-z-sidebar: 400;
  --z5-z-modal: 900;
  --z5-z-toast: 1000;

  /* Components */
  --z5-btn-height-sm: 2rem;
  --z5-btn-height-md: 2.5rem;
  --z5-btn-height-lg: 3rem;
  --z5-input-height: 2.5rem;
  --z5-card-padding: var(--z5-space-5);
  --z5-focus-ring: 0 0 0 3px rgba(55, 211, 154, 0.22);
}


/* source: C:\xampp\htdocs\styles\base\fonts.css */
/**
 * Z5 — Inter (UI) + system monospace (logs, code)
 */



/* source: C:\xampp\htdocs\styles\base\reset.css */
/**
 * Z5 Ultimate — Modern reset
 * Minimal, intentional. Preserves accessibility defaults.
 */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  hanging-punctuation: first last;
}

body {
  margin: 0;
  min-height: 100dvh;
  line-height: var(--z5-leading-normal);
  background: var(--z5-bg-void);
  color: var(--z5-text-primary);
  font-family: var(--z5-font-sans);
  font-size: var(--z5-text-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

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

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--z5-border-focus);
  outline-offset: 2px;
}

::selection {
  background: rgba(55, 211, 154, 0.35);
  color: var(--z5-text-primary);
}

[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
}


/* source: C:\xampp\htdocs\styles\base\scrollbar.css */
/**
 * Site-wide scrollbars — thin, transparent track (WebKit + Firefox).
 */

:root {
  --z5-scrollbar-size: 8px;
  --z5-scrollbar-size-thin: 6px;
  --z5-scrollbar-track: transparent;
  --z5-scrollbar-thumb: rgba(122, 150, 188, 0.32);
  --z5-scrollbar-thumb-hover: rgba(122, 150, 188, 0.52);
  --z5-scrollbar-thumb-active: rgba(101, 216, 255, 0.45);
  --z5-scrollbar-thumb-border: transparent;
}

html {
  scrollbar-gutter: stable;
}

*,
*::before,
*::after {
  scrollbar-width: thin;
  scrollbar-color: var(--z5-scrollbar-thumb) var(--z5-scrollbar-track);
}

*::-webkit-scrollbar {
  width: var(--z5-scrollbar-size);
  height: var(--z5-scrollbar-size);
  background: var(--z5-scrollbar-track);
}

*::-webkit-scrollbar-track {
  background: var(--z5-scrollbar-track);
}

*::-webkit-scrollbar-corner {
  background: var(--z5-scrollbar-track);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--z5-scrollbar-thumb);
  border: 2px solid var(--z5-scrollbar-thumb-border);
  background-clip: padding-box;
  border-radius: 999px;
  min-height: 40px;
  transition: background-color 0.18s ease;
}

@media (hover: hover) {
  *::-webkit-scrollbar-thumb:hover {
    background-color: var(--z5-scrollbar-thumb-hover);
  }

  *::-webkit-scrollbar-thumb:active {
    background-color: var(--z5-scrollbar-thumb-active);
  }
}

/* Slightly slimmer in dense panels (logs, tables) */
.w3-mm .log-wrap,
.z5-sidebar__scroll,
.mm-admin-table-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--z5-scrollbar-thumb) var(--z5-scrollbar-track);
}

.w3-mm .log-wrap::-webkit-scrollbar,
.z5-sidebar__scroll::-webkit-scrollbar,
.mm-admin-table-scroll::-webkit-scrollbar {
  width: var(--z5-scrollbar-size-thin);
  height: var(--z5-scrollbar-size-thin);
}


/* source: C:\xampp\htdocs\styles\base\typography.css */
/**
 * Z5 Ultimate — Typography system
 */

.z5-display-1 {
  font-size: clamp(var(--z5-text-4xl), 5vw, var(--z5-text-5xl));
  font-weight: var(--z5-weight-extrabold);
  line-height: var(--z5-leading-tight);
  letter-spacing: var(--z5-tracking-tight);
}

.z5-display-2 {
  font-size: clamp(var(--z5-text-3xl), 4vw, var(--z5-text-4xl));
  font-weight: var(--z5-weight-bold);
  line-height: var(--z5-leading-tight);
  letter-spacing: var(--z5-tracking-tight);
}

.z5-heading-1 {
  font-size: var(--z5-text-3xl);
  font-weight: var(--z5-weight-bold);
  line-height: var(--z5-leading-tight);
  letter-spacing: var(--z5-tracking-tight);
}

.z5-heading-2 {
  font-size: var(--z5-text-2xl);
  font-weight: var(--z5-weight-bold);
  line-height: var(--z5-leading-snug);
  letter-spacing: var(--z5-tracking-tight);
}

.z5-heading-3 {
  font-size: var(--z5-text-xl);
  font-weight: var(--z5-weight-semibold);
  line-height: var(--z5-leading-snug);
}

.z5-heading-4 {
  font-size: var(--z5-text-lg);
  font-weight: var(--z5-weight-semibold);
  line-height: var(--z5-leading-snug);
}

.z5-body-lg {
  font-size: var(--z5-text-lg);
  line-height: var(--z5-leading-normal);
  color: var(--z5-text-secondary);
}

.z5-body {
  font-size: var(--z5-text-base);
  line-height: var(--z5-leading-normal);
  color: var(--z5-text-secondary);
}

.z5-body-sm {
  font-size: var(--z5-text-sm);
  line-height: var(--z5-leading-normal);
  color: var(--z5-text-secondary);
}

.z5-caption {
  font-size: var(--z5-text-xs);
  line-height: var(--z5-leading-normal);
  color: var(--z5-text-muted);
}

.z5-label {
  font-size: var(--z5-text-xs);
  font-weight: var(--z5-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--z5-tracking-wider);
  color: var(--z5-purple-400);
}

.z5-overline {
  font-size: var(--z5-text-xs);
  font-weight: var(--z5-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--z5-tracking-wide);
  color: var(--z5-text-muted);
}

/* Gradient headline */
.z5-text-gradient {
  background: var(--z5-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Semantic text colors */
.z5-text-primary { color: var(--z5-text-primary); }
.z5-text-secondary { color: var(--z5-text-secondary); }
.z5-text-muted { color: var(--z5-text-muted); }
.z5-text-accent { color: var(--z5-purple-400); }
.z5-text-cyan { color: var(--z5-cyan-400); }
.z5-text-success { color: var(--z5-success); }
.z5-text-warning { color: var(--z5-warning); }
.z5-text-danger { color: var(--z5-danger); }

.z5-font-mono {
  font-family: var(--z5-font-mono);
  font-size: 0.9em;
}

.z5-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.z5-balance {
  text-wrap: balance;
}


/* source: C:\xampp\htdocs\styles\base\animations.css */
/**
 * Z5 Ultimate — Reusable animation primitives
 * Apply via utility classes or component :hover states.
 */

@keyframes z5-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes z5-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes z5-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@keyframes z5-pulse-glow {
  0%, 100% {
    box-shadow: var(--z5-shadow-glow-sm);
  }
  50% {
    box-shadow: var(--z5-shadow-glow-md);
  }
}

@keyframes z5-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes z5-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

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

@keyframes z5-scale-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes z5-border-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ─── Utility classes ─── */

.z5-animate-fade-up {
  animation: z5-fade-up var(--z5-duration-slow) var(--z5-ease-out) both;
}

.z5-animate-fade-in {
  animation: z5-fade-in var(--z5-duration-base) var(--z5-ease-out) both;
}

.z5-animate-pulse {
  animation: z5-pulse 2s var(--z5-ease-in-out) infinite;
}

.z5-animate-float {
  animation: z5-float 4s var(--z5-ease-in-out) infinite;
}

.z5-animate-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: z5-shimmer 1.6s linear infinite;
}

/* Stagger children (showcase / lists) */
.z5-stagger > * {
  animation: z5-fade-up var(--z5-duration-slow) var(--z5-ease-out) both;
}
.z5-stagger > *:nth-child(1) { animation-delay: 0ms; }
.z5-stagger > *:nth-child(2) { animation-delay: 60ms; }
.z5-stagger > *:nth-child(3) { animation-delay: 120ms; }
.z5-stagger > *:nth-child(4) { animation-delay: 180ms; }
.z5-stagger > *:nth-child(5) { animation-delay: 240ms; }
.z5-stagger > *:nth-child(6) { animation-delay: 300ms; }

/* Hover glow (apply to interactive surfaces) */
.z5-hover-glow {
  transition:
    box-shadow var(--z5-duration-base) var(--z5-ease-out),
    border-color var(--z5-duration-base) var(--z5-ease-out),
    transform var(--z5-duration-base) var(--z5-ease-out);
}

.z5-hover-glow:hover {
  box-shadow: var(--z5-shadow-float), var(--z5-shadow-glow-sm);
  border-color: var(--z5-border-glow);
}

/* Card hover lift */
.z5-card-hover {
  transition:
    transform var(--z5-duration-base) var(--z5-ease-out),
    box-shadow var(--z5-duration-base) var(--z5-ease-out),
    border-color var(--z5-duration-base) var(--z5-ease-out);
}

.z5-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--z5-shadow-float), var(--z5-shadow-glow-sm);
}

/* Button hover (paired with .z5-btn) */
.z5-btn-hover {
  transition:
    transform var(--z5-duration-fast) var(--z5-ease-out),
    box-shadow var(--z5-duration-base) var(--z5-ease-out),
    background var(--z5-duration-base) var(--z5-ease-out),
    border-color var(--z5-duration-base) var(--z5-ease-out);
}

.z5-btn-hover:hover:not(:disabled) {
  transform: translateY(-1px);
}

.z5-btn-hover:active:not(:disabled) {
  transform: translateY(0);
}

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


/* source: C:\xampp\htdocs\styles\base\effects.css */
/**
 * Z5 Ultimate — Visual effects layer
 * Glass, glow, depth, ambient backgrounds.
 */

/* ─── Ambient page backdrop ─── */
.z5-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: var(--z5-gradient-bg);
}

.z5-backdrop__noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.z5-backdrop__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 77, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 77, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% -10%, black 15%, transparent 65%);
}

.z5-backdrop__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  will-change: transform;
}

.z5-backdrop__orb--purple {
  width: min(560px, 70vw);
  height: min(560px, 70vw);
  background: radial-gradient(circle, var(--z5-purple-500) 0%, transparent 68%);
  top: -12%;
  right: -8%;
}

.z5-backdrop__orb--blue {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  background: radial-gradient(circle, var(--z5-blue-500) 0%, transparent 68%);
  bottom: 8%;
  left: -12%;
}

.z5-backdrop__orb--cyan {
  width: min(280px, 40vw);
  height: min(280px, 40vw);
  background: radial-gradient(circle, var(--z5-cyan-400) 0%, transparent 70%);
  top: 42%;
  left: 38%;
  opacity: 0.18;
}

/* ─── Glass surfaces ─── */
.z5-glass {
  background: var(--z5-glass-bg);
  backdrop-filter: blur(var(--z5-glass-blur)) saturate(var(--z5-glass-saturate));
  -webkit-backdrop-filter: blur(var(--z5-glass-blur)) saturate(var(--z5-glass-saturate));
  border: 1px solid var(--z5-border-subtle);
  box-shadow: var(--z5-shadow-inset-top), var(--z5-shadow-sm);
}

.z5-glass--strong {
  background: var(--z5-glass-bg-strong);
  backdrop-filter: blur(var(--z5-glass-blur-heavy)) saturate(var(--z5-glass-saturate));
  -webkit-backdrop-filter: blur(var(--z5-glass-blur-heavy)) saturate(var(--z5-glass-saturate));
}

/* ─── Glowing border (gradient mask technique) ─── */
.z5-glow-border {
  position: relative;
  border-radius: inherit;
}

.z5-glow-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--z5-gradient-border);
  background-size: 200% 200%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.65;
  transition: opacity var(--z5-duration-base) var(--z5-ease-out);
}

.z5-glow-border:hover::before,
.z5-glow-border.is-active::before {
  opacity: 1;
  animation: z5-border-flow 4s linear infinite;
}

/* ─── Inner highlight (floating card depth) ─── */
.z5-surface-float {
  background: var(--z5-bg-surface);
  border: 1px solid var(--z5-border-default);
  border-radius: var(--z5-radius-lg);
  box-shadow:
    var(--z5-shadow-float),
    var(--z5-shadow-inset-top);
  background-image: var(--z5-gradient-card-shine);
  background-repeat: no-repeat;
}

/* ─── Neon glow utilities ─── */
.z5-glow-purple {
  box-shadow: var(--z5-shadow-glow-md);
}

.z5-glow-cyan {
  box-shadow: var(--z5-shadow-glow-cyan);
}

/* ─── Divider ─── */
.z5-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--z5-border-default) 20%,
    var(--z5-border-default) 80%,
    transparent
  );
  border: none;
  margin: var(--z5-space-6) 0;
}

/* ─── Focus ring helper ─── */
.z5-focus-ring:focus-visible {
  box-shadow: var(--z5-focus-ring);
}



/* source: C:\xampp\htdocs\styles\layout\spacing.css */
/**
 * Z5 Ultimate — Spacing utilities
 * Strict scale only. No arbitrary values in pages.
 */

/* Margin */
.z5-m-0 { margin: var(--z5-space-0); }
.z5-m-1 { margin: var(--z5-space-1); }
.z5-m-2 { margin: var(--z5-space-2); }
.z5-m-3 { margin: var(--z5-space-3); }
.z5-m-4 { margin: var(--z5-space-4); }
.z5-m-6 { margin: var(--z5-space-6); }
.z5-m-8 { margin: var(--z5-space-8); }

.z5-mt-4 { margin-top: var(--z5-space-4); }
.z5-mt-6 { margin-top: var(--z5-space-6); }
.z5-mt-8 { margin-top: var(--z5-space-8); }
.z5-mb-4 { margin-bottom: var(--z5-space-4); }
.z5-mb-6 { margin-bottom: var(--z5-space-6); }
.z5-mb-8 { margin-bottom: var(--z5-space-8); }

.z5-mx-auto { margin-left: auto; margin-right: auto; }

/* Padding */
.z5-p-0 { padding: var(--z5-space-0); }
.z5-p-4 { padding: var(--z5-space-4); }
.z5-p-6 { padding: var(--z5-space-6); }
.z5-p-8 { padding: var(--z5-space-8); }

.z5-px-4 { padding-left: var(--z5-space-4); padding-right: var(--z5-space-4); }
.z5-px-6 { padding-left: var(--z5-space-6); padding-right: var(--z5-space-6); }
.z5-py-4 { padding-top: var(--z5-space-4); padding-bottom: var(--z5-space-4); }
.z5-py-6 { padding-top: var(--z5-space-6); padding-bottom: var(--z5-space-6); }
.z5-py-8 { padding-top: var(--z5-space-8); padding-bottom: var(--z5-space-8); }

/* Gap (for flex/grid children) */
.z5-gap-2 { gap: var(--z5-space-2); }
.z5-gap-3 { gap: var(--z5-space-3); }
.z5-gap-4 { gap: var(--z5-space-4); }
.z5-gap-6 { gap: var(--z5-space-6); }
.z5-gap-8 { gap: var(--z5-space-8); }

/* Stack — vertical rhythm with consistent gaps */
.z5-stack-4 > * + * { margin-top: var(--z5-space-4); }
.z5-stack-6 > * + * { margin-top: var(--z5-space-6); }
.z5-stack-8 > * + * { margin-top: var(--z5-space-8); }

/* Section vertical padding */
.z5-section-y {
  padding-top: var(--z5-space-16);
  padding-bottom: var(--z5-space-16);
}

.z5-section-y-sm {
  padding-top: var(--z5-space-12);
  padding-bottom: var(--z5-space-12);
}


/* source: C:\xampp\htdocs\styles\layout\containers.css */
/**
 * Z5 Ultimate — Container & app shell layout
 */

.z5-container {
  width: 100%;
  max-width: var(--z5-content-max);
  margin-inline: auto;
  padding-inline: var(--z5-space-6);
}

.z5-container--sm { max-width: var(--z5-container-sm); }
.z5-container--md { max-width: var(--z5-container-md); }
.z5-container--lg { max-width: var(--z5-container-lg); }
.z5-container--xl { max-width: var(--z5-container-xl); }
.z5-container--2xl { max-width: var(--z5-container-2xl); }
.z5-container--fluid { max-width: none; }

/* App shell — sidebar + main (for showcase demo) */
.z5-app {
  display: flex;
  min-height: 100dvh;
}

.z5-app__sidebar {
  flex-shrink: 0;
  width: var(--z5-sidebar-width);
}

.z5-app__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.z5-app__content {
  flex: 1;
  padding: var(--z5-space-8);
}

/* Page header block */
.z5-page-header {
  margin-bottom: var(--z5-space-8);
}

/* Showcase-specific narrow reading column */
.z5-prose {
  max-width: 72ch;
}

/* Breakpoints: container padding tightens on mobile */
@media (max-width: 767px) {
  .z5-container {
    padding-inline: var(--z5-space-4);
  }

  .z5-app__content {
    padding: var(--z5-space-6);
  }
}


/* source: C:\xampp\htdocs\styles\layout\grid.css */
/**
 * Z5 Ultimate — Grid system
 */

.z5-grid {
  display: grid;
  gap: var(--z5-space-6);
}

.z5-grid--2 { grid-template-columns: repeat(2, 1fr); }
.z5-grid--3 { grid-template-columns: repeat(3, 1fr); }
.z5-grid--4 { grid-template-columns: repeat(4, 1fr); }
.z5-grid--auto { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.z5-grid--auto-sm { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.z5-col-span-2 { grid-column: span 2; }
.z5-col-span-full { grid-column: 1 / -1; }

/* Flex utilities */
.z5-flex { display: flex; }
.z5-flex-col { flex-direction: column; }
.z5-flex-wrap { flex-wrap: wrap; }
.z5-items-center { align-items: center; }
.z5-items-start { align-items: flex-start; }
.z5-justify-between { justify-content: space-between; }
.z5-justify-center { justify-content: center; }
.z5-flex-1 { flex: 1; }
.z5-shrink-0 { flex-shrink: 0; }

/* Responsive breakpoints — desktop first */
@media (max-width: 1279px) {
  .z5-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  .z5-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .z5-col-span-2 { grid-column: span 1; }
}

@media (max-width: 767px) {
  .z5-grid--2,
  .z5-grid--3,
  .z5-grid--4 {
    grid-template-columns: 1fr;
  }

  .z5-app {
    flex-direction: column;
  }

  .z5-app__sidebar {
    width: 100%;
  }
}



/* source: C:\xampp\htdocs\styles\components\buttons.css */
/**
 * Z5 Ultimate — Buttons
 */

.z5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--z5-space-2);
  height: var(--z5-btn-height-md);
  padding-inline: var(--z5-space-6);
  font-size: var(--z5-text-sm);
  font-weight: var(--z5-weight-semibold);
  line-height: 1;
  border-radius: var(--z5-radius-md);
  border: 1px solid transparent;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.z5-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 48%);
  opacity: 0;
  transition: opacity var(--z5-duration-fast) var(--z5-ease-out);
  pointer-events: none;
}

.z5-btn:hover:not(:disabled)::after {
  opacity: 1;
}

/* Primary */
.z5-btn--primary {
  background: var(--z5-gradient-primary);
  color: var(--z5-text-inverse);
  border-color: rgba(55, 211, 154, 0.35);
  box-shadow: var(--z5-shadow-glow-sm), var(--z5-shadow-sm);
}

.z5-btn--primary:hover:not(:disabled) {
  background: var(--z5-gradient-primary-hover);
  box-shadow: var(--z5-shadow-glow-md), var(--z5-shadow-md);
}

/* Secondary — glass */
.z5-btn--secondary {
  background: var(--z5-glass-bg);
  backdrop-filter: blur(var(--z5-glass-blur));
  -webkit-backdrop-filter: blur(var(--z5-glass-blur));
  color: var(--z5-text-primary);
  border-color: var(--z5-border-default);
  box-shadow: var(--z5-shadow-inset-top), var(--z5-shadow-xs);
}

.z5-btn--secondary:hover:not(:disabled) {
  border-color: var(--z5-border-glow);
  box-shadow: var(--z5-shadow-inset-top), var(--z5-shadow-glow-sm);
}

/* Ghost */
.z5-btn--ghost {
  background: transparent;
  color: var(--z5-text-secondary);
  border-color: transparent;
}

.z5-btn--ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--z5-text-primary);
}

/* Outline */
.z5-btn--outline {
  background: transparent;
  color: var(--z5-green-400);
  border-color: var(--z5-border-strong);
}

.z5-btn--outline:hover:not(:disabled) {
  background: var(--z5-color-primary-muted);
  border-color: var(--z5-border-glow);
  box-shadow: var(--z5-shadow-glow-sm);
}

/* Danger */
.z5-btn--danger {
  background: linear-gradient(135deg, #ff4d67 0%, #e63950 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 24px rgba(255, 77, 103, 0.25);
}

.z5-btn--danger:hover:not(:disabled) {
  box-shadow: 0 0 32px rgba(255, 77, 103, 0.4);
}

/* Sizes */
.z5-btn--sm {
  height: var(--z5-btn-height-sm);
  padding-inline: var(--z5-space-4);
  font-size: var(--z5-text-xs);
  border-radius: var(--z5-radius-sm);
}

.z5-btn--lg {
  height: var(--z5-btn-height-lg);
  padding-inline: var(--z5-space-8);
  font-size: var(--z5-text-base);
  border-radius: var(--z5-radius-md);
}

.z5-btn--icon {
  width: var(--z5-btn-height-md);
  padding-inline: 0;
}

.z5-btn--block {
  width: 100%;
}

.z5-btn-group {
  display: inline-flex;
  gap: var(--z5-space-2);
  flex-wrap: wrap;
}


/* source: C:\xampp\htdocs\styles\components\cards.css */
/**
 * Z5 Ultimate — Cards
 * Floating surfaces — never flat rectangles.
 */

.z5-card {
  position: relative;
  padding: var(--z5-card-padding);
  border-radius: var(--z5-radius-lg);
  background: var(--z5-bg-surface);
  border: 1px solid var(--z5-border-default);
  box-shadow: var(--z5-shadow-float), var(--z5-shadow-inset-top);
  background-image: var(--z5-gradient-card-shine);
  background-size: 100% 48px;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Subtle inner depth */
.z5-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--z5-shadow-inset-depth);
  pointer-events: none;
}

.z5-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--z5-space-4);
  margin-bottom: var(--z5-space-6);
}

.z5-card__title {
  font-size: var(--z5-text-lg);
  font-weight: var(--z5-weight-semibold);
  color: var(--z5-text-primary);
}

.z5-card__subtitle {
  font-size: var(--z5-text-sm);
  color: var(--z5-text-muted);
  margin-top: var(--z5-space-1);
}

.z5-card__body {
  color: var(--z5-text-secondary);
  font-size: var(--z5-text-sm);
  line-height: var(--z5-leading-normal);
}

.z5-card__footer {
  margin-top: var(--z5-space-6);
  padding-top: var(--z5-space-4);
  border-top: 1px solid var(--z5-border-subtle);
}

/* Glass card */
.z5-card--glass {
  background: var(--z5-glass-bg);
  backdrop-filter: blur(var(--z5-glass-blur)) saturate(var(--z5-glass-saturate));
  -webkit-backdrop-filter: blur(var(--z5-glass-blur)) saturate(var(--z5-glass-saturate));
}

/* Dashboard card — panel style */
.z5-card--dashboard {
  padding: var(--z5-space-6);
}

.z5-card--dashboard .z5-card__title {
  font-size: var(--z5-text-md);
}

/* Stat card */
.z5-stat-card {
  padding: var(--z5-space-6);
  border-radius: var(--z5-radius-lg);
  background: var(--z5-bg-surface);
  border: 1px solid var(--z5-border-default);
  box-shadow: var(--z5-shadow-float), var(--z5-shadow-inset-top);
  position: relative;
  overflow: hidden;
}

.z5-stat-card__glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(55, 211, 154, 0.2), transparent 70%);
  pointer-events: none;
}

.z5-stat-card__label {
  font-size: var(--z5-text-xs);
  font-weight: var(--z5-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--z5-tracking-wide);
  color: var(--z5-text-muted);
  margin-bottom: var(--z5-space-2);
}

.z5-stat-card__value {
  font-size: var(--z5-text-3xl);
  font-weight: var(--z5-weight-bold);
  letter-spacing: var(--z5-tracking-tight);
  line-height: 1;
  background: linear-gradient(135deg, var(--z5-text-primary), var(--z5-green-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.z5-stat-card__delta {
  font-size: var(--z5-text-xs);
  margin-top: var(--z5-space-3);
  font-weight: var(--z5-weight-medium);
}

.z5-stat-card__delta--up { color: var(--z5-success); }
.z5-stat-card__delta--down { color: var(--z5-danger); }

/* Tool card — product / launcher tile */
.z5-tool-card {
  display: flex;
  flex-direction: column;
  gap: var(--z5-space-4);
  padding: var(--z5-space-6);
  border-radius: var(--z5-radius-lg);
  background: var(--z5-bg-surface);
  border: 1px solid var(--z5-border-default);
  box-shadow: var(--z5-shadow-float);
  text-align: left;
  cursor: pointer;
  transition:
    transform var(--z5-duration-base) var(--z5-ease-out),
    box-shadow var(--z5-duration-base) var(--z5-ease-out),
    border-color var(--z5-duration-base) var(--z5-ease-out);
}

.z5-tool-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--z5-radius-md);
  background: linear-gradient(145deg, rgba(55, 211, 154, 0.22), rgba(74, 122, 184, 0.12));
  border: 1px solid var(--z5-border-subtle);
  font-size: 1.25rem;
  box-shadow: var(--z5-shadow-inset-top);
}

.z5-tool-card__name {
  font-size: var(--z5-text-md);
  font-weight: var(--z5-weight-semibold);
}

.z5-tool-card__desc {
  font-size: var(--z5-text-sm);
  color: var(--z5-text-muted);
  line-height: var(--z5-leading-snug);
}

.z5-tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--z5-border-glow);
  box-shadow: var(--z5-shadow-float), var(--z5-shadow-glow-sm);
}

/* Premium / locked states */
.z5-card--premium {
  border-color: var(--z5-border-glow);
  box-shadow: var(--z5-shadow-float), var(--z5-shadow-glow-sm);
}

.z5-card--locked {
  opacity: 0.55;
  filter: saturate(0.6);
}

.z5-card--inactive {
  opacity: 0.42;
}


/* source: C:\xampp\htdocs\styles\components\badges.css */
/**
 * Z5 Ultimate — Badges & status pills
 */

.z5-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--z5-space-2);
  height: 1.5rem;
  padding-inline: var(--z5-space-3);
  font-size: var(--z5-text-xs);
  font-weight: var(--z5-weight-semibold);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 5px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.z5-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

/* Variants */
.z5-badge--default {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--z5-border-subtle);
  color: var(--z5-text-secondary);
}

.z5-badge--primary {
  background: rgba(55, 211, 154, 0.14);
  border-color: rgba(55, 211, 154, 0.35);
  color: var(--z5-purple-400);
}

.z5-badge--success {
  background: rgba(0, 255, 149, 0.1);
  border-color: rgba(0, 255, 149, 0.28);
  color: var(--z5-success);
}

.z5-badge--warning {
  background: rgba(255, 176, 32, 0.1);
  border-color: rgba(255, 176, 32, 0.3);
  color: var(--z5-warning);
}

.z5-badge--danger {
  background: rgba(255, 77, 103, 0.1);
  border-color: rgba(255, 77, 103, 0.3);
  color: var(--z5-danger);
}

.z5-badge--cyan {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.28);
  color: var(--z5-cyan-400);
}

.z5-badge--lg {
  height: 1.75rem;
  padding-inline: var(--z5-space-4);
  font-size: var(--z5-text-sm);
  text-transform: none;
  letter-spacing: 0;
}


/* source: C:\xampp\htdocs\styles\components\inputs.css */
/**
 * Z5 Ultimate — Form inputs
 */

.z5-field {
  display: flex;
  flex-direction: column;
  gap: var(--z5-space-2);
}

.z5-field__label {
  font-size: var(--z5-text-sm);
  font-weight: var(--z5-weight-medium);
  color: var(--z5-text-secondary);
}

.z5-field__hint {
  font-size: var(--z5-text-xs);
  color: var(--z5-text-muted);
}

.z5-input {
  height: var(--z5-input-height);
  width: 100%;
  padding-inline: var(--z5-space-4);
  font-size: var(--z5-text-sm);
  color: var(--z5-text-primary);
  background: rgba(5, 8, 22, 0.65);
  border: 1px solid var(--z5-border-default);
  border-radius: var(--z5-radius-md);
  box-shadow: var(--z5-shadow-inset-depth);
  transition:
    border-color var(--z5-duration-fast) var(--z5-ease-out),
    box-shadow var(--z5-duration-fast) var(--z5-ease-out);
}

.z5-input::placeholder {
  color: var(--z5-text-muted);
}

.z5-input:hover:not(:disabled) {
  border-color: var(--z5-border-strong);
}

.z5-input:focus {
  border-color: var(--z5-purple-400);
  box-shadow: var(--z5-focus-ring), var(--z5-shadow-inset-depth);
}

.z5-input--search {
  padding-left: var(--z5-space-10);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='rgba(244,246,252,0.4)' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 3 3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: var(--z5-space-4) center;
}

.z5-textarea {
  min-height: 120px;
  height: auto;
  padding-block: var(--z5-space-3);
  resize: vertical;
  line-height: var(--z5-leading-normal);
}

.z5-select {
  appearance: none;
  height: var(--z5-input-height);
  width: 100%;
  padding-inline: var(--z5-space-4);
  padding-right: var(--z5-space-10);
  font-size: var(--z5-text-sm);
  color: var(--z5-text-primary);
  background-color: rgba(5, 8, 22, 0.65);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='rgba(244,246,252,0.5)' stroke-width='2'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--z5-space-4) center;
  border: 1px solid var(--z5-border-default);
  border-radius: var(--z5-radius-md);
  cursor: pointer;
  transition: border-color var(--z5-duration-fast) var(--z5-ease-out);
}

.z5-select:focus {
  border-color: var(--z5-purple-400);
  box-shadow: var(--z5-focus-ring);
}

.z5-input-group {
  display: flex;
  gap: var(--z5-space-2);
}

.z5-input-group .z5-input {
  flex: 1;
}

.z5-field--error .z5-input,
.z5-field--error .z5-select {
  border-color: var(--z5-danger);
}

.z5-field__error {
  font-size: var(--z5-text-xs);
  color: var(--z5-danger);
}


/* source: C:\xampp\htdocs\styles\components\loaders.css */
/**
 * Z5 Ultimate — Loaders & skeleton states
 */

.z5-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--z5-purple-400);
  border-radius: 50%;
  animation: z5-spin 0.7s linear infinite;
}

.z5-spinner--sm {
  width: 16px;
  height: 16px;
}

.z5-spinner--lg {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

.z5-spinner--cyan {
  border-top-color: var(--z5-cyan-400);
}

/* Pulsing dot loader */
.z5-dots {
  display: flex;
  gap: var(--z5-space-2);
}

.z5-dots__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--z5-purple-400);
  animation: z5-pulse 1.2s var(--z5-ease-in-out) infinite;
}

.z5-dots__dot:nth-child(2) { animation-delay: 0.15s; }
.z5-dots__dot:nth-child(3) { animation-delay: 0.3s; }

/* Skeleton */
.z5-skeleton {
  border-radius: var(--z5-radius-sm);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: z5-shimmer 1.5s linear infinite;
}

.z5-skeleton--text {
  height: 0.875rem;
  margin-bottom: var(--z5-space-2);
}

.z5-skeleton--title {
  height: 1.25rem;
  width: 60%;
  margin-bottom: var(--z5-space-4);
}

.z5-skeleton--card {
  height: 120px;
  border-radius: var(--z5-radius-lg);
}

.z5-skeleton--avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--z5-radius-md);
}

/* Full-page loader overlay */
.z5-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z5-z-toast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--z5-space-6);
  background: var(--z5-bg-overlay);
  backdrop-filter: blur(12px);
}

.z5-loader-overlay__text {
  font-size: var(--z5-text-sm);
  color: var(--z5-text-muted);
  letter-spacing: var(--z5-tracking-wide);
}

/* Progress bar */
.z5-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--z5-radius-full);
  overflow: hidden;
}

.z5-progress__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--z5-purple-500), var(--z5-cyan-400));
  box-shadow: 0 0 12px rgba(123, 77, 255, 0.5);
  transition: width var(--z5-duration-slow) var(--z5-ease-out);
}


/* source: C:\xampp\htdocs\styles\components\sidebar.css */
/**
 * Z5 Ultimate — Application sidebar
 */

.z5-sidebar {
  display: flex;
  flex-direction: column;
  width: var(--z5-sidebar-width);
  min-height: 100dvh;
  background: rgba(12, 18, 32, 0.94);
  backdrop-filter: blur(var(--z5-glass-blur-heavy));
  -webkit-backdrop-filter: blur(var(--z5-glass-blur-heavy));
  border-right: 1px solid var(--z5-border-subtle);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
}

.z5-sidebar__brand {
  padding: var(--z5-space-6);
  border-bottom: 1px solid var(--z5-border-subtle);
}

.z5-sidebar__scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--z5-space-4);
}

.z5-sidebar__section {
  margin-bottom: var(--z5-space-6);
}

.z5-sidebar__label {
  padding: var(--z5-space-2) var(--z5-space-4);
  font-size: var(--z5-text-xs);
  font-weight: var(--z5-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--z5-tracking-wider);
  color: var(--z5-text-muted);
}

.z5-sidebar__item {
  display: flex;
  align-items: center;
  gap: var(--z5-space-3);
  width: 100%;
  padding: var(--z5-space-3) var(--z5-space-4);
  border-radius: var(--z5-radius-md);
  font-size: var(--z5-text-sm);
  font-weight: var(--z5-weight-medium);
  color: var(--z5-text-secondary);
  text-align: left;
  border: 1px solid transparent;
  transition:
    background var(--z5-duration-fast) var(--z5-ease-out),
    color var(--z5-duration-fast) var(--z5-ease-out),
    border-color var(--z5-duration-fast) var(--z5-ease-out);
}

.z5-sidebar__text {
  flex: 1;
  min-width: 0;
}

.z5-sidebar__item:hover {
  background: rgba(55, 211, 154, 0.08);
  color: var(--z5-text-primary);
}

.z5-sidebar__item.is-active {
  background: linear-gradient(90deg, rgba(55, 211, 154, 0.15) 0%, transparent 100%);
  color: var(--z5-green-400);
  border-color: rgba(55, 211, 154, 0.12);
  box-shadow: inset 3px 0 0 var(--z5-green-500);
}

.z5-sidebar__item.is-locked {
  opacity: 0.4;
  pointer-events: none;
}

.z5-sidebar__item.is-team-gated.is-patched,
.z5-sidebar__item.is-team-gated[aria-disabled="true"] {
  cursor: not-allowed;
}

.z5-sidebar__item.is-gated {
  opacity: 0.82;
}

.z5-sidebar__item.is-gated:hover {
  opacity: 1;
}

.z5-sidebar__item.is-team-gated {
  color: #ff8fa3;
}

.z5-sidebar__item.is-team-gated .z5-sidebar__icon {
  color: #ff8fa3;
  opacity: 1;
}

.z5-sidebar__item.is-team-gated:hover {
  background: rgba(248, 131, 131, 0.1);
  color: #ffb3c0;
}

.z5-sidebar__item.is-team-gated:hover .z5-sidebar__icon {
  color: #ffb3c0;
}

.z5-sidebar__icon {
  width: 20px;
  text-align: center;
  opacity: 0.85;
  flex-shrink: 0;
}

.z5-sidebar__lock {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--z5-warning);
}

.z5-sidebar__lock-icon {
  width: 15px;
  height: 15px;
}

.z5-sidebar__item.is-team-gated .z5-sidebar__lock {
  color: #ff6b7a;
}

@media (max-width: 767px) {
  .z5-sidebar {
    width: 100%;
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid var(--z5-border-subtle);
  }
}


/* source: C:\xampp\htdocs\styles\components\logo.css */
/**
 * Z5 Ultimate — Logo component
 */

.z5-logo {
  display: block;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.35))
    drop-shadow(0 0 10px rgba(55, 211, 154, 0.45))
    drop-shadow(0 0 14px rgba(34, 211, 238, 0.3));
}

.z5-logo--sm {
  width: 28px;
  height: 28px;
}

.z5-logo--md {
  width: 36px;
  height: 36px;
}

.z5-logo--lg {
  width: 40px;
  height: 40px;
}

.z5-logo--xl {
  width: 48px;
  height: 48px;
}

.z5-logo-full {
  display: block;
  height: 40px;
  width: auto;
}

.z5-logo-full--lg {
  height: 48px;
}

/* Brand slots — SVG carries its own frame & glow */
.z5-landing-brand__icon,
.z5-app-brand__mark,
.z5-navbar__logo {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  font-size: 0;
  line-height: 0;
  overflow: visible;
}

.z5-landing-brand__icon {
  width: 44px;
  height: 44px;
}

.z5-app-brand__mark {
  width: 40px;
  height: 40px;
}

.z5-navbar__logo {
  width: 40px;
  height: 40px;
}

.z5-dash-welcome__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  font-size: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.z5-dash-welcome__logo .z5-logo {
  width: 48px;
  height: 48px;
}



/* source: C:\xampp\htdocs\styles\themes\dark-theme.css */
/**
 * Z5 Ultimate — Dark Theme (default)
 * Theme engine: apply [data-theme="dark"] on <html> or use .z5-theme-dark on body.
 * Future themes can extend by overriding tokens only.
 */

html,
html[data-theme="dark"],
.z5-theme-dark {
  color-scheme: dark;
}

/* Reinforce background depth on themed root */
.z5-theme-dark,
[data-theme="dark"] body {
  background-color: var(--z5-bg-void);
}

/* Optional: high-contrast elevation tweak */
[data-theme="dark"] .z5-card,
[data-theme="dark"] .z5-stat-card {
  --z5-card-elevation: var(--z5-shadow-float);
}

/* Locked / premium semantic overrides stay in components;
   theme layer only adjusts global atmosphere */

[data-theme="dark"] .z5-backdrop {
  background: var(--z5-gradient-bg);
}

/* Focus visibility in dark mode */
[data-theme="dark"] :focus-visible {
  outline-color: var(--z5-purple-400);
}


/* source: C:\xampp\htdocs\styles\themes\web3-ui.css */
/**
 * Web3 UI — global theme + tool page components (example/Web3)
 */

.w3-theme .z5-app-main:has(.w3-mm) .z5-app-topbar {
  display: none;
}

.w3-theme .z5-app-content:has(.w3-mm) {
  padding-top: var(--z5-space-5);
  /* Responsive breakpoints use main column width, not viewport (sidebar excluded). */
  container-type: inline-size;
  container-name: w3-tool-main;
}

.w3-theme .z5-app-topbar__title {
  color: var(--w3-ok);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.w3-theme .z5-app-topbar__desc {
  color: var(--w3-muted);
  font-size: 0.85rem;
}

.w3-theme .z5-card {
  background: linear-gradient(175deg, #111d32 0%, #0c1424 100%);
  border: 1px solid var(--w3-line);
  border-radius: var(--z5-radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.w3-theme .z5-card::before {
  display: none;
}

.w3-theme .z5-card__title {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--w3-dim);
  font-weight: 700;
}

.w3-theme .z5-input,
.w3-theme .z5-select {
  background: #060d1a;
  border-color: #1e3050;
  font-family: var(--z5-font-sans);
}

.w3-theme .z5-field__label {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--w3-dim);
}

.w3-theme .z5-btn--primary {
  color: var(--z5-text-inverse);
}

.w3-theme .z5-mm-hint,
.w3-mm .token-hint {
  font-size: 0.72rem;
  color: var(--w3-muted);
  line-height: 1.5;
}

.w3-theme .z5-mm-hint a,
.w3-mm .token-hint a {
  color: var(--w3-cyan);
}

.w3-mm {
  --bg: #090d18;
  --panel: #111728;
  --line: #1e2d47;
  --text: #eaf2ff;
  --muted: #7a96bc;
  --dim: #3a5070;
  --cyan: #65d8ff;
  --ok: #37d39a;
  --warn: #f7ba53;
  --err: #f88383;
  --ok-glow: rgba(55, 211, 154, 0.35);
  --err-glow: rgba(248, 131, 131, 0.3);
  --radius: 13px;
  --radius-sm: 8px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  position: relative;
  font-family: 'Inter', Consolas, 'Cascadia Mono', monospace;
  color: var(--text);
  width: 100%;
  animation: w3PageIn 0.4s ease both;
}

@keyframes w3PageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.w3-mm__page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.w3-mm .hdr {
  background: linear-gradient(135deg, #13203a 0%, #0d1828 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.w3-mm .hdr-left { display: flex; align-items: center; gap: 10px; }

.w3-mm .hdr-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(55, 211, 154, 0.15);
  border: 1px solid rgba(55, 211, 154, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ok);
  font-size: 0.85rem;
}

.w3-mm .hdr-z5 { font-size: 1.25rem; font-weight: 800; color: var(--ok); letter-spacing: 0.04em; }
.w3-mm .hdr-sep { color: var(--dim); margin: 0 2px; }
.w3-mm .hdr-title { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.03em; }
.w3-mm .hdr-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.w3-mm .btn-sm {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 5px 12px;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
}

.w3-mm .btn-sm:hover {
  border-color: #4d6fa8;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.w3-mm .card {
  background: linear-gradient(175deg, #111d32 0%, #0c1424 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  animation: w3CardIn 0.35s ease both;
}

@keyframes w3CardIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.w3-mm .card-head {
  padding: 11px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
}

.w3-mm .card-title {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 7px;
}

.w3-mm .card-title i { color: #2d4a72; font-size: 0.75rem; }
.w3-mm .card-body { padding: 16px 18px; }

.w3-mm .token-row {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(8, 14, 26, 0.6);
  margin-bottom: 8px;
  border-left: 2px solid rgba(55, 211, 154, 0.3);
  animation: w3TokenRowIn 0.28s cubic-bezier(0.34, 1.3, 0.64, 1) both;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.w3-mm .token-row:hover { border-color: #2a3f60; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2); }
.w3-mm .token-row.is-active { border-left-color: var(--ok); box-shadow: 0 0 0 1px rgba(55, 211, 154, 0.15); }

@keyframes w3TokenRowIn {
  from { opacity: 0; transform: translateX(-10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.w3-mm .token-row-top { display: flex; align-items: center; margin-bottom: 4px; gap: 6px; }

.w3-mm .token-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(55, 211, 154, 0.15);
  border: 1px solid rgba(55, 211, 154, 0.3);
  color: var(--ok);
  padding: 2px 7px;
  border-radius: 5px;
  flex-shrink: 0;
}

.w3-mm .account-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: rgba(8, 14, 26, 0.85);
  color: var(--muted);
  flex-shrink: 0;
}

.w3-mm .account-platform-badge i {
  font-size: 0.9em;
  opacity: 0.95;
}

.w3-mm .account-platform-badge__label {
  max-width: 5.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.w3-mm .account-platform-badge--steam {
  border-color: rgba(102, 192, 244, 0.35);
  color: #8ec8f0;
}

.w3-mm .account-platform-badge--xbox {
  border-color: rgba(16, 185, 74, 0.35);
  color: #5fd97a;
}

.w3-mm .account-platform-badge--epic {
  border-color: rgba(180, 180, 200, 0.35);
  color: #c8c8dc;
}

.w3-mm .account-platform-badge--playstation {
  border-color: rgba(96, 144, 220, 0.35);
  color: #8eb8f0;
}

.w3-mm #profile-count {
  font-variant-numeric: tabular-nums;
}

.w3-mm .profile-link-row {
  margin-top: 10px;
}

.w3-mm .profile-link-row__label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.w3-mm .profile-link-row__label i {
  margin-right: 6px;
  color: var(--ok);
}

.w3-mm .profile-link-row__bar {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.w3-mm .profile-link-row__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  min-height: 38px;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid #1e3050;
  background: #060d1a;
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.w3-mm .profile-link-row__input:focus {
  border-color: #3d6096;
  box-shadow: 0 0 0 3px rgba(61, 96, 150, 0.15);
}

.w3-mm .profile-link-row__bar #profile-add-btn {
  width: auto;
  min-width: 8.25rem;
  height: 38px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  gap: 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .w3-mm .profile-link-row__bar {
    flex-wrap: wrap;
  }

  .w3-mm .profile-link-row__input {
    flex: 1 1 100%;
  }

  .w3-mm .profile-link-row__bar #profile-add-btn {
    flex: 1 1 100%;
    width: 100%;
  }
}

.w3-mm .profile-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  margin-top: 10px;
}

.w3-mm .profile-input-row .field {
  margin: 0;
  min-width: 0;
}

.w3-mm .profile-input-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.w3-mm .profile-input-row .field--action .btn-find {
  width: auto;
  min-width: 8.25rem;
  height: 38px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  gap: 7px;
  white-space: nowrap;
}

.w3-mm .profile-input-row .field--action .btn-sm {
  height: 38px;
  min-height: 38px;
}

@media (max-width: 560px) {
  .w3-mm .profile-input-row {
    grid-template-columns: 1fr;
  }

  .w3-mm .profile-input-row .field--action .btn-find {
    width: 100%;
  }
}

.w3-mm .profile-oauth-status--ok { color: var(--ok); }
.w3-mm .profile-oauth-status--err { color: var(--err); }
.w3-mm .profile-oauth-status--info { color: var(--muted); }

.w3-mm .profile-session-status {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.74rem;
  line-height: 1.5;
  border: 1px solid transparent;
}

.w3-mm .profile-session-status:not([hidden]) {
  display: flex;
  margin: 10px 0 0;
}

.w3-mm .profile-session-status:not([hidden]):not(:last-child) {
  margin: 10px 0;
}

.w3-mm .profile-session-status > i {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.85rem;
}

.w3-mm .profile-session-status > span {
  flex: 1;
  min-width: 0;
}

.w3-mm .profile-session-status--ok {
  background: rgba(55, 211, 154, 0.08);
  border-color: rgba(55, 211, 154, 0.28);
  color: #a8f0d4;
}

.w3-mm .profile-session-status--ok > i {
  color: var(--ok);
}

.w3-mm .profile-session-status--info {
  background: rgba(101, 216, 255, 0.06);
  border-color: rgba(101, 216, 255, 0.2);
  color: var(--muted);
}

.w3-mm .profile-session-status--info > i {
  color: var(--cyan);
}

.w3-mm .profile-session-status--err {
  background: rgba(248, 131, 131, 0.08);
  border-color: rgba(248, 131, 131, 0.28);
  color: #fecaca;
}

.w3-mm .profile-session-status--err > i {
  color: var(--err);
}

.w3-mm #profile-count.is-full {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.35);
  color: #fbbf24;
}

.w3-mm .token-name { font-size: 0.78rem; color: var(--cyan); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w3-mm .token-meta { font-size: 0.68rem; color: var(--dim); }
.w3-mm .token-hint { font-size: 0.72rem; color: var(--muted); margin: 0 0 8px; line-height: 1.5; }
.w3-mm .token-hint code {
  font-size: 0.68rem;
  color: var(--cyan);
  background: rgba(101, 216, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
}

.w3-mm .btn-add {
  appearance: none;
  border: 1px dashed #1e3050;
  border-radius: 9px;
  background: transparent;
  color: var(--dim);
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
  font-size: 0.74rem;
  width: 100%;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.w3-mm .btn-add:hover { border-color: #3d6096; color: var(--muted); background: rgba(255, 255, 255, 0.03); }

.w3-mm .controls-grid { display: grid; gap: 10px; }

.w3-mm .controls-row-match {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(30, 48, 80, 0.55);
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.65) 0%, rgba(4, 8, 16, 0.35) 100%);
}

.w3-mm .controls-row-match .field {
  margin: 0;
  min-width: 0;
}

.w3-mm .field--action {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.w3-mm .controls-row-match .field--action .btn-find {
  width: auto;
  min-width: 8.25rem;
  height: 38px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  gap: 7px;
  white-space: nowrap;
}

.w3-mm .controls-row-toggles {
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 8px;
}
.w3-mm .controls-row-1 { grid-template-columns: 1fr 1fr 1fr; }
.w3-mm .controls-row-2 { grid-template-columns: 1fr 1fr auto; align-items: end; }

.w3-mm .toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: rgba(8, 14, 26, 0.6);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  user-select: none;
}

.w3-mm .toggle-switch:hover { border-color: rgba(234, 242, 255, 0.2); color: rgba(234, 242, 255, 0.4); }

.w3-mm .toggle-switch .ts-pip {
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #1e293b;
  border: 1px solid #334155;
  flex-shrink: 0;
  margin-left: auto;
  position: relative;
  transition: background 0.18s, border-color 0.18s;
}

.w3-mm .toggle-switch .ts-pip::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #64748b;
  transition: transform 0.18s, background 0.18s;
}

.w3-mm .toggle-switch.is-on {
  border-color: rgba(62, 233, 168, 0.35);
  color: rgba(130, 240, 190, 0.95);
  background: rgba(34, 184, 125, 0.1);
  box-shadow: 0 0 0 1px rgba(62, 233, 168, 0.08) inset;
}

.w3-mm .toggle-switch.is-on .ts-pip { background: rgba(46, 204, 113, 0.3); border-color: rgba(46, 204, 113, 0.3); }
.w3-mm .toggle-switch.is-on .ts-pip::after { transform: translateX(14px); background: rgba(46, 204, 113, 1); }

.w3-mm .field label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.66rem;
  color: var(--dim);
  margin-bottom: 5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.w3-mm .field label i { font-size: 0.7rem; }

.w3-mm .field select {
  width: 100%;
  height: 38px;
  padding: 0 32px 0 11px;
  border-radius: 8px;
  border: 1px solid #1e3050;
  background: #060d1a;
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%233a5070'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.w3-mm .field select:hover {
  border-color: #2a4570;
  background-color: #081220;
}

.w3-mm .field select:focus { border-color: #4a7ab8; box-shadow: 0 0 0 3px rgba(74, 122, 184, 0.18); }

/* ─── Find / Stop / Abandon action button ─── */
.w3-mm .btn-find {
  width: 100%;
  min-width: 8.25rem;
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition:
    transform 0.18s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.22s ease,
    filter 0.18s ease,
    border-color 0.18s ease,
    background 0.22s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.w3-mm .btn-find::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.22) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.w3-mm .btn-find::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: -1;
}

.w3-mm .btn-find:hover::before { opacity: 1; }
.w3-mm .btn-find:active:not(:disabled) { transform: scale(0.97); }

.w3-mm .btn-find .spin,
.w3-mm .btn-find > i,
.w3-mm .btn-find > span {
  position: relative;
  z-index: 1;
}

.w3-mm .btn-find > i {
  font-size: 0.72rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.15s ease;
}

.w3-mm .btn-find--start {
  background: linear-gradient(165deg, #3ee9a8 0%, #22b87d 48%, #1a9a68 100%);
  color: #032116;
  border-color: rgba(62, 233, 168, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 4px 16px rgba(34, 184, 125, 0.35);
}

.w3-mm .btn-find--start::after {
  box-shadow: 0 0 0 0 rgba(62, 233, 168, 0.45);
}

.w3-mm .btn-find--start:hover:not(:disabled) {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 6px 22px rgba(34, 184, 125, 0.48);
  transform: translateY(-1px);
}

.w3-mm .btn-find--start:hover:not(:disabled)::after {
  opacity: 1;
  animation: w3FindRing 1.4s ease-out infinite;
}

.w3-mm .btn-find--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: #3a4b71;
  box-shadow: none;
}

.w3-mm .btn-find--ghost:hover:not(:disabled) {
  border-color: #75b8ff;
  background: rgba(117, 184, 255, 0.08);
  transform: translateY(-1px);
}

.w3-mm .btn-find--stop {
  background: linear-gradient(165deg, #ff9a9a 0%, #ef5f5f 50%, #c94444 100%);
  color: #2a0808;
  border-color: rgba(255, 154, 154, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 4px 16px rgba(239, 95, 95, 0.32);
}

.w3-mm .btn-find--stop.is-running {
  animation: w3StopPulse 1.6s ease-in-out infinite;
}

.w3-mm .btn-find--stop.is-running::after {
  opacity: 1;
  animation: w3StopRing 1.6s ease-out infinite;
}

.w3-mm .btn-find--stop:hover:not(:disabled) {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 6px 22px rgba(239, 95, 95, 0.45);
  transform: translateY(-1px);
}

.w3-mm .btn-find--link {
  background: linear-gradient(165deg, #6a9fd4 0%, #3d6a9e 55%, #2a5080 100%);
  color: #eef6ff;
  border-color: rgba(106, 159, 212, 0.35);
  box-shadow: 0 4px 14px rgba(61, 106, 158, 0.28);
}

.w3-mm .btn-find--abandon {
  background: linear-gradient(165deg, #f0a060 0%, #c97830 52%, #9a5518 100%);
  color: #fff8f0;
  border-color: rgba(240, 160, 96, 0.35);
  box-shadow: 0 4px 14px rgba(201, 120, 48, 0.28);
}

.w3-mm .btn-find--abandon.is-loading {
  animation: w3AbandonPulse 1.2s ease-in-out infinite;
  cursor: wait;
}

.w3-mm .btn-find--abandon:hover:not(:disabled) {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 6px 20px rgba(201, 120, 48, 0.42);
  transform: translateY(-1px);
}

.w3-mm .btn-find:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  filter: grayscale(0.25);
  animation: none !important;
}

.w3-mm .btn-find:disabled::after {
  opacity: 0 !important;
  animation: none !important;
}

@keyframes w3FindRing {
  0% { box-shadow: 0 0 0 0 rgba(62, 233, 168, 0.5); }
  100% { box-shadow: 0 0 0 10px rgba(62, 233, 168, 0); }
}

@keyframes w3StopPulse {
  0%, 100% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.12) inset,
      0 4px 16px rgba(239, 95, 95, 0.32);
  }
  50% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.12) inset,
      0 4px 26px rgba(239, 95, 95, 0.55);
  }
}

@keyframes w3StopRing {
  0% { box-shadow: 0 0 0 0 rgba(255, 120, 120, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(255, 120, 120, 0); }
  100% { box-shadow: 0 0 0 12px rgba(255, 120, 120, 0); }
}

@keyframes w3AbandonPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

.w3-mm .spin {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: w3Spin 0.65s linear infinite;
  display: none;
  flex-shrink: 0;
}

.w3-mm .btn-find.is-running .spin,
.w3-mm .btn-find.is-loading .spin {
  display: block;
}

.w3-mm .btn-find.is-running > i,
.w3-mm .btn-find.is-loading > i {
  display: none;
}

@keyframes w3Spin { to { transform: rotate(360deg); } }

.w3-mm .attempt-bar-wrap {
  height: 2px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.w3-mm .attempt-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ok), var(--cyan), var(--ok));
  background-size: 200% 100%;
  width: 0%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.w3-mm .attempt-bar-wrap.is-active .attempt-bar-fill {
  animation: w3BarShimmer 1.8s linear infinite;
}

@keyframes w3BarShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.w3-mm .status-bar {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 36px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.w3-mm .status-bar:has(.status-dot--running) {
  border-top-color: rgba(56, 189, 248, 0.25);
}

.w3-mm .status-bar:has(.status-dot--ok) {
  border-top-color: rgba(55, 211, 154, 0.3);
}

.w3-mm .status-bar:has(.status-dot--err) {
  border-top-color: rgba(248, 131, 131, 0.3);
}

.w3-mm .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dim);
  flex-shrink: 0;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.w3-mm .status-dot--idle { background: var(--dim); }
.w3-mm .status-dot--running {
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.5);
  animation: w3DotPulse 1.2s ease-in-out infinite, w3DotGlow 1.8s ease-out infinite;
}
.w3-mm .status-dot--ok {
  background: var(--ok);
  box-shadow: 0 0 8px rgba(55, 211, 154, 0.55);
  animation: w3DotPulse 1.5s ease-in-out infinite;
}
.w3-mm .status-dot--err { background: var(--err); box-shadow: 0 0 6px rgba(248, 131, 131, 0.45); }
.w3-mm .status-dot--warn { background: var(--warn); box-shadow: 0 0 6px rgba(251, 191, 36, 0.4); }

@keyframes w3DotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.82); }
}

@keyframes w3DotGlow {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.45); }
  70% { box-shadow: 0 0 0 6px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 6px rgba(56, 189, 248, 0); }
}

.w3-mm .status-msg { flex: 1; min-width: 0; color: var(--muted); transition: color var(--transition); }
.w3-mm .status-msg--idle { color: var(--dim); }
.w3-mm .status-msg--running { color: var(--cyan); }
.w3-mm .status-msg--ok { color: var(--ok); }
.w3-mm .status-msg--err { color: var(--err); }
.w3-mm .status-msg--warn { color: var(--warn); }
.w3-mm .status-timer {
  color: var(--cyan);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.15);
}

.w3-mm .match-banner {
  display: none;
  position: relative;
  overflow: hidden;
  margin: 12px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(55, 211, 154, 0.5);
  border-radius: 10px;
  background: rgba(10, 30, 22, 0.9);
}

.w3-mm .match-banner.is-visible {
  display: block;
  animation: w3MatchCelebrate 0.5s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

@keyframes w3MatchCelebrate {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.w3-mm .match-banner-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ok);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.w3-mm .match-banner-id { font-size: 0.73rem; color: #80f0c4; word-break: break-all; margin-bottom: 8px; font-family: Consolas, monospace; }
.w3-mm .match-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% -20%, rgba(55, 211, 154, 0.18) 0%, transparent 65%);
}

.w3-mm .match-banner-title i {
  animation: w3CheckBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

@keyframes w3CheckBounce {
  from { transform: scale(0) rotate(-30deg); }
  to { transform: scale(1) rotate(0); }
}

.w3-mm .match-countdown {
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  color: var(--ok);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.w3-mm .match-countdown.is-warn {
  color: var(--warn);
}

.w3-mm .log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 18px;
  background: rgba(5, 9, 18, 0.4);
  border-top: 1px solid var(--line);
}

.w3-mm .log-head-title {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.w3-mm .btn-clear-log {
  appearance: none;
  border: 1px solid #1a2a40;
  border-radius: 6px;
  background: transparent;
  color: var(--dim);
  padding: 3px 9px;
  cursor: pointer;
  font: inherit;
  font-size: 0.66rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: border-color var(--transition), color var(--transition);
}

.w3-mm .btn-clear-log:hover { border-color: #3a5070; color: var(--muted); }

.w3-mm .log-wrap {
  background: #040810;
  border-top: 1px solid #0f1a2a;
  font-size: 0.74rem;
  font-family: Consolas, 'Cascadia Mono', monospace;
  height: 210px;
  overflow-y: auto;
  padding: 10px 14px;
  line-height: 1.6;
}

.w3-mm .log-line {
  white-space: pre-wrap;
  word-break: break-all;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 1px 0;
  animation: w3LogEntry 0.2s ease both;
}

.w3-mm .log-line.log-ok { color: var(--ok); }
.w3-mm .log-line.log-err { color: var(--err); }
.w3-mm .log-line.log-warn { color: var(--warn); }
.w3-mm .log-line.log-dim { color: var(--dim); }
.w3-mm .log-line.log-info { color: var(--muted); }

.w3-mm .log-line-icon { flex-shrink: 0; width: 14px; text-align: center; margin-top: 1px; color: inherit; }
.w3-mm .log-line-icon i { color: inherit; font-size: 0.68rem; }
.w3-mm .log-line-ts { color: var(--dim); flex-shrink: 0; font-size: 0.68rem; opacity: 0.85; }
.w3-mm .log-line-msg { flex: 1; color: inherit; }

@keyframes w3LogEntry {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: none; }
}

.w3-mm__toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.77rem;
  font-family: 'Inter', Consolas, monospace;
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #2a3f60;
  background: rgba(15, 22, 38, 0.95);
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.w3-mm__toast.is-show { opacity: 1; transform: translateY(0) scale(1); }
.w3-mm__toast--ok { border-color: rgba(55, 211, 154, 0.55); background: rgba(8, 28, 20, 0.95); color: #80f0c4; }
.w3-mm__toast--err { border-color: rgba(248, 131, 131, 0.55); background: rgba(28, 8, 8, 0.95); color: #f88383; }

@container w3-tool-main (max-width: 720px) {
  .w3-mm .controls-row-match {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .w3-mm .controls-row-match .field--action {
    grid-column: 1 / -1;
  }
  .w3-mm .controls-row-match .field--action .btn-find {
    width: 100%;
  }
}

@container w3-tool-main (max-width: 520px) {
  .w3-mm .controls-row-match,
  .w3-mm .controls-row-toggles,
  .w3-mm .controls-row-1,
  .w3-mm .controls-row-2 {
    grid-template-columns: 1fr;
  }
  .w3-mm .hdr {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── Dashboard home tiles ─── */
.w3-mm .home-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.w3-mm .home-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(8, 14, 26, 0.6);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.w3-mm .home-tile:hover {
  border-color: rgba(55, 211, 154, 0.35);
  box-shadow: 0 4px 20px rgba(55, 211, 154, 0.12);
  transform: translateY(-2px);
}

.w3-mm .home-tile__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(55, 211, 154, 0.15);
  border: 1px solid rgba(55, 211, 154, 0.3);
  color: var(--ok);
  font-size: 0.9rem;
}

.w3-mm .home-tile__icon--alt {
  background: rgba(101, 216, 255, 0.12);
  border-color: rgba(101, 216, 255, 0.28);
  color: var(--cyan);
}

.w3-mm .home-tile__icon--muted {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--muted);
}

.w3-mm .home-tile__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.w3-mm .home-tile__desc {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.w3-mm .home-tile__cta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ok);
  display: flex;
  align-items: center;
  gap: 6px;
}

.w3-mm .home-tile--locked {
  opacity: 0.72;
  border-style: dashed;
}

.w3-mm .home-tile--locked .home-tile__cta {
  color: var(--warn);
}

/* ─── Profile / account rows ─── */
.w3-mm .token-row--pick { cursor: pointer; }
.w3-mm .token-row--pick.is-active { border-left-color: var(--ok); }

.w3-mm .token-master {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ok);
  background: rgba(55, 211, 154, 0.12);
  border: 1px solid rgba(55, 211, 154, 0.28);
  padding: 2px 6px;
  border-radius: 999px;
  flex-shrink: 0;
}

.w3-mm .token-row-actions {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.w3-mm .token-row-actions .btn-sm {
  padding: 3px 9px;
  font-size: 0.66rem;
}

.w3-mm .token-row-actions .btn-sm:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.w3-mm .token-row-actions .token-copy {
  color: var(--text);
  border-color: var(--line);
}

.w3-mm .token-lock {
  font-size: 0.66rem;
  color: var(--warn);
  white-space: nowrap;
}

.w3-mm .field input[type="password"],
.w3-mm .field input[type="text"] {
  width: 100%;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid #1e3050;
  background: #060d1a;
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.w3-mm .field input:focus {
  border-color: #3d6096;
  box-shadow: 0 0 0 3px rgba(61, 96, 150, 0.15);
}

.w3-mm .w3-auth-error:not([hidden]),
.w3-theme .w3-auth-error:not([hidden]) {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  line-height: 1.45;
  background: rgba(248, 131, 131, 0.1);
  border: 1px solid rgba(248, 131, 131, 0.35);
  color: var(--err);
}

.w3-theme .mm-auth-card {
  background: linear-gradient(175deg, #111d32 0%, #0c1424 100%);
  border-color: var(--w3-line);
  box-shadow: var(--z5-shadow-lg), 0 0 48px rgba(55, 211, 154, 0.12);
}

.w3-theme .mm-auth-card::before {
  display: none;
}

.w3-theme .mm-public-header__link.is-active {
  color: var(--w3-ok);
  border-color: rgba(55, 211, 154, 0.35);
  background: rgba(55, 211, 154, 0.1);
}

.w3-theme .z5-app-brand > span {
  color: var(--w3-ok);
}

.w3-theme .z5-app-brand__sub {
  color: var(--w3-dim);
}


/* source: C:\xampp\htdocs\styles\themes\z5-live-ui.css */
/**
 * Z5 live UI — shared design language (purchase page, dashboard, tools)
 * Loaded globally via main.css for all .w3-mm app pages.
 */

.w3-mm {
  --z5-live-accent: var(--ok, #37d39a);
  --z5-live-accent-2: #65d8ff;
  --z5-live-accent-3: #ffd666;
}

/* ─── Page chrome ─── */
.w3-mm .hdr {
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(19, 32, 58, 0.95) 0%, rgba(13, 24, 40, 0.98) 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.w3-mm .hdr-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 0.88rem;
  background: color-mix(in srgb, var(--ok, #37d39a) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--ok, #37d39a) 30%, transparent);
  box-shadow: none;
}

.w3-mm .card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    168deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(8, 14, 28, 0.92) 45%,
    rgba(6, 10, 20, 0.98) 100%
  );
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  isolation: isolate;
}

.w3-mm .card-head {
  background: rgba(255, 255, 255, 0.02);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.w3-mm .card-title i {
  color: var(--ok, #37d39a);
  opacity: 0.9;
}

.w3-mm .card-body {
  padding: 18px 20px;
}

/* ─── Chip rows (icon · label · value) ─── */
.w3-mm .z5-chip {
  --chip-accent: var(--z5-live-accent, var(--ok, #37d39a));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--chip-accent) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--chip-accent) 16%, transparent);
  box-shadow: inset 2px 0 0 var(--chip-accent);
}

.w3-mm .z5-chip__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 0.62rem;
  line-height: 1;
  color: var(--chip-accent);
  background: color-mix(in srgb, var(--chip-accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--chip-accent) 24%, transparent);
}

.w3-mm .z5-chip__ico i {
  display: inline-block;
  line-height: 1;
}

.w3-mm .z5-chip__label {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted, var(--z5-text-secondary));
}

.w3-mm .z5-chip__val {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text, var(--z5-text-primary));
  text-align: right;
  white-space: nowrap;
}

.w3-mm .z5-chip-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ─── Pills (intro / facts) ─── */
.w3-mm .z5-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.w3-mm .z5-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted, var(--z5-text-secondary));
  border-radius: 999px;
  border: 1px solid var(--line, var(--z5-border-subtle));
  background: rgba(255, 255, 255, 0.03);
}

.w3-mm .z5-pill i {
  display: inline-block;
  font-size: 0.72rem;
  line-height: 1;
  color: var(--ok, #37d39a);
}

/* ─── Accent panel (inherit / callout) ─── */
.w3-mm .z5-panel-accent {
  --panel-accent: var(--z5-live-accent, var(--ok, #37d39a));
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--panel-accent) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--panel-accent) 22%, transparent);
  box-shadow: inset 3px 0 0 var(--panel-accent);
}

.w3-mm .z5-panel-accent__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 0.82rem;
  color: var(--panel-accent);
  background: color-mix(in srgb, var(--panel-accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--panel-accent) 28%, transparent);
}

.w3-mm .z5-panel-accent__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--panel-accent);
}

/* ─── Token / list rows ─── */
.w3-mm .token-row {
  border-radius: 8px;
  background: color-mix(in srgb, var(--ok, #37d39a) 4%, rgba(8, 14, 26, 0.6));
  border: 1px solid color-mix(in srgb, var(--ok, #37d39a) 14%, var(--line));
  box-shadow: inset 2px 0 0 color-mix(in srgb, var(--ok, #37d39a) 55%, transparent);
}

.w3-mm .token-row.is-active {
  border-color: color-mix(in srgb, var(--ok, #37d39a) 35%, transparent);
  box-shadow:
    inset 2px 0 0 var(--ok, #37d39a),
    0 0 0 1px color-mix(in srgb, var(--ok, #37d39a) 12%, transparent);
}

.w3-mm .token-label {
  border-radius: 6px;
}

/* ─── Buttons ─── */
.w3-mm .btn-sm {
  border-radius: 8px;
  border-color: color-mix(in srgb, var(--ok, #37d39a) 20%, var(--line));
}

.w3-mm .btn-sm:hover {
  border-color: color-mix(in srgb, var(--ok, #37d39a) 40%, transparent);
  color: var(--text, var(--z5-text-primary));
  background: color-mix(in srgb, var(--ok, #37d39a) 8%, transparent);
}

/* ─── Details / disclosure (compare-style) ─── */
.w3-mm details.z5-disclosure > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.w3-mm details.z5-disclosure > summary::-webkit-details-marker {
  display: none;
}

.w3-mm details.z5-disclosure > summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: auto;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.65rem;
  color: var(--muted, var(--z5-text-muted));
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line, var(--z5-border-subtle));
  transition: transform 0.2s ease, color 0.2s ease;
}

.w3-mm details.z5-disclosure[open] > summary::after {
  transform: rotate(180deg);
  color: var(--ok, #37d39a);
}

/* ─── Subtle hover lift on interactive cards ─── */
.w3-mm .card.z5-card-interactive,
.w3-mm a.card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.w3-mm a.card:hover {
  border-color: color-mix(in srgb, var(--ok, #37d39a) 30%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .w3-mm a.card:hover {
    transform: none;
  }
}

