/* FOXYVERSE Landing – Dark Editorial Design */

:root {
  color-scheme: dark;
  --lv-bg: #0e1015;
  --lv-bg-muted: #13161e;
  --lv-surface: #181c26;
  --lv-surface-2: #1e2330;
  --lv-text: #e4e8ef;
  --lv-muted: #949bab;
  --lv-border: rgba(255, 255, 255, 0.09);
  --lv-accent: #f97316;
  --lv-accent-dark: #ea580c;
  --lv-blue: #60a5fa;
  --lv-purple: #818cf8;
  --lv-radius: 16px;
  --lv-radius-sm: 10px;
  --lv-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --lv-font: "Instrument Sans", system-ui, sans-serif;
  --lv-display: "Orbitron", sans-serif;
}

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

html { scroll-behavior: smooth; }

body.lv {
  margin: 0;
  font-family: var(--lv-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--lv-text);
  background: var(--lv-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.lv-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(249, 115, 22, 0.08), transparent 42%),
    radial-gradient(circle at 85% 8%, rgba(96, 165, 250, 0.06), transparent 38%);
}

.lv-container {
  width: min(1080px, 90%);
  margin: 0 auto;
}

/* ── Header ─────────────────────────────────────────────── */
.lv-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem min(5%, 2rem);
  background: rgba(14, 16, 21, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lv-border);
}

.lv-logo {
  font-family: var(--lv-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--lv-text);
}

.lv-logo span { color: var(--lv-accent); }
.lv-logo-sm { font-size: 0.88rem; }

.lv-nav {
  display: flex;
  gap: 1.5rem;
}

.lv-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--lv-muted);
  transition: color 150ms;
}

.lv-nav a:hover { color: var(--lv-text); }

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

/* ── Buttons ────────────────────────────────────────────── */
.lv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 150ms, background 150ms, border-color 150ms;
  cursor: pointer;
  white-space: nowrap;
}

.lv-btn:hover { transform: translateY(-1px); }

.lv-btn-solid {
  background: var(--lv-accent);
  color: #0e1015;
  border-color: var(--lv-accent);
}

.lv-btn-solid:hover {
  background: var(--lv-accent-dark);
  border-color: var(--lv-accent-dark);
}

.lv-btn-ghost {
  background: transparent;
  color: var(--lv-text);
  border-color: var(--lv-border);
}

.lv-btn-ghost:hover { border-color: var(--lv-muted); }

.lv-btn-line {
  background: transparent;
  color: var(--lv-text);
  border-color: rgba(255, 255, 255, 0.22);
}

.lv-btn-line:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.lv-btn-lg {
  padding: 0.72rem 1.35rem;
  font-size: 0.95rem;
}

/* ── Hero ───────────────────────────────────────────────── */
.lv-hero {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vh, 5.5rem) 0 clamp(2.5rem, 6vh, 4rem);
}

.lv-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.lv-label {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lv-accent);
}

.lv-hero h1 {
  margin: 0;
  font-family: var(--lv-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lv-lead {
  margin: 1.1rem 0 0;
  max-width: 46ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--lv-muted);
}

.lv-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.lv-hero-card {
  background: var(--lv-surface);
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--lv-shadow);
}

.lv-hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.lv-pill {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.lv-hero-card-title {
  font-family: var(--lv-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lv-muted);
}

.lv-hero-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.lv-hero-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--lv-radius-sm);
  background: var(--lv-surface-2);
  font-size: 0.92rem;
  font-weight: 500;
}

.lv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.lv-dot-blue { background: var(--lv-blue); }
.lv-dot-orange { background: var(--lv-accent); }
.lv-dot-purple { background: var(--lv-purple); }

.lv-hero-card-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--lv-muted);
}

/* ── Sections ───────────────────────────────────────────── */
.lv-section {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 6vh, 4rem) 0;
}

.lv-section-muted {
  background: var(--lv-bg-muted);
  border-top: 1px solid var(--lv-border);
  border-bottom: 1px solid var(--lv-border);
}

.lv-section-head {
  margin-bottom: 1.5rem;
}

.lv-section-head h2 {
  margin: 0;
  font-family: var(--lv-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ── Bento products ─────────────────────────────────────── */
.lv-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.lv-tile {
  background: var(--lv-surface);
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius);
  padding: 1.2rem 1.25rem;
  transition: transform 180ms, box-shadow 180ms;
}

.lv-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--lv-shadow);
}

.lv-tile-feature {
  background: var(--lv-surface);
  border-color: var(--lv-border);
}

.lv-tile-tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lv-muted);
}

.lv-tile h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.lv-tile p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--lv-muted);
}

/* ── Steps ──────────────────────────────────────────────── */
.lv-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.lv-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: var(--lv-surface);
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius);
}

.lv-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(249, 115, 22, 0.18);
  color: var(--lv-accent);
  border: 1px solid rgba(249, 115, 22, 0.35);
  font-family: var(--lv-display);
  font-size: 0.72rem;
  font-weight: 800;
}

.lv-steps strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.lv-steps p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--lv-muted);
  line-height: 1.45;
}

.lv-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem 1.25rem;
  border-radius: var(--lv-radius);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(96, 165, 250, 0.1));
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: var(--lv-text);
}

.lv-banner p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ── Footer ─────────────────────────────────────────────── */
.lv-footer {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0 1.75rem;
}

.lv-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.lv-footer p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--lv-muted);
}

.lv-footer-links {
  display: flex;
  gap: 1.2rem;
}

.lv-footer-links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--lv-muted);
  text-decoration: none;
}

.lv-footer-links a:hover { color: var(--lv-text); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .lv-nav { display: none; }

  .lv-hero-grid {
    grid-template-columns: 1fr;
  }

  .lv-bento,
  .lv-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .lv-header-actions .lv-btn-ghost { display: none; }

  .lv-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .lv-hero-cta .lv-btn { width: 100%; }

  .lv-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .lv-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lv-btn:hover,
  .lv-tile:hover { transform: none; }
}

/* ── App pages (Auth, Dashboard, Team) ──────────────────── */
:root {
  --danger: #f87171;
  --success: #34d399;
  --orange: var(--lv-accent);
  --blue: var(--lv-blue);
}

.lv-header-user {
  font-size: 0.84rem;
  color: var(--lv-muted);
  white-space: nowrap;
}

/* Auth */
.lv-auth-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2rem 0 3rem;
  min-height: calc(100vh - 64px);
}

body.lv.lv-auth {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.lv-auth-card {
  width: min(440px, 92%);
  padding: 2rem 2rem 1.6rem;
  background: var(--lv-surface);
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius);
  box-shadow: var(--lv-shadow);
}

.lv-auth-card-wide { width: min(520px, 92%); }

.lv-auth-head {
  text-align: center;
  margin-bottom: 1.6rem;
}

.lv-auth-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(249, 115, 22, 0.15);
  color: var(--lv-accent);
}

.lv-auth-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.lv-auth-head h1 {
  margin: 0;
  font-family: var(--lv-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.lv-auth-head p {
  margin: 0.5rem 0 0;
  color: var(--lv-muted);
  font-size: 0.92rem;
}

.lv-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lv-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.lv-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.lv-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.lv-field-label-row label { margin: 0; }

.lv-field-link {
  font-size: 0.82rem;
  color: var(--lv-accent);
  text-decoration: none;
}

.lv-field-link:hover { text-decoration: underline; }

.lv-field input[type="text"],
.lv-field input[type="email"],
.lv-field input[type="password"],
.lv-field input[type="url"],
.lv-field input[type="number"],
.lv-field select,
.lv-field textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border-radius: var(--lv-radius-sm);
  border: 1px solid var(--lv-border);
  background: var(--lv-bg-muted);
  color: var(--lv-text);
  font: inherit;
  font-size: 0.94rem;
  transition: border-color 160ms, box-shadow 160ms;
}

.lv-field input:focus,
.lv-field select:focus,
.lv-field textarea:focus {
  outline: none;
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.lv-field input.invalid {
  border-color: rgba(248, 113, 113, 0.6);
}

.lv-input-wrap { position: relative; }
.lv-input-wrap input { padding-right: 2.8rem; }

.lv-toggle-password {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--lv-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lv-toggle-password:hover { color: var(--lv-text); }
.lv-toggle-password svg { width: 18px; height: 18px; fill: currentColor; }

.lv-field-error {
  display: block;
  min-height: 1.1rem;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--danger);
}

.lv-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: var(--lv-muted);
  line-height: 1.45;
  cursor: pointer;
}

.lv-checkbox input {
  margin-top: 0.15rem;
  accent-color: var(--lv-accent);
  flex-shrink: 0;
}

.lv-checkbox a {
  color: var(--lv-accent);
  text-decoration: none;
}

.lv-checkbox a:hover { text-decoration: underline; }

.lv-password-strength { margin-top: 0.45rem; }

.lv-password-strength-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.lv-password-strength-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--danger);
  transition: width 200ms, background 200ms;
}

.lv-password-strength-label {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--lv-muted);
}

.lv-auth-switch {
  margin: 1.2rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--lv-muted);
}

.lv-auth-switch a {
  color: var(--lv-accent);
  font-weight: 600;
  text-decoration: none;
}

.lv-auth-switch a:hover { text-decoration: underline; }

.lv-alert {
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--lv-radius-sm);
  font-size: 0.88rem;
  line-height: 1.45;
}

.lv-alert-error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

.lv-alert-success {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
}

.lv-btn-full { width: 100%; }

/* Dashboard & Team */
.lv-app-main {
  position: relative;
  z-index: 1;
  padding: 2rem 0 3rem;
}

.lv-page-hero {
  margin-bottom: 2rem;
}

.lv-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.lv-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--lv-display);
  font-weight: 800;
  font-size: 1rem;
  color: #0e1015;
  background: var(--lv-accent);
  flex-shrink: 0;
}

.lv-page-hero h1 {
  margin: 0.2rem 0 0;
  font-family: var(--lv-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lv-page-sub {
  margin: 0.35rem 0 0;
  color: var(--lv-muted);
  font-size: 0.92rem;
}

.lv-section-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-family: var(--lv-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lv-muted);
}

.lv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
}

.lv-card {
  background: var(--lv-surface);
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius);
  padding: 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 180ms, box-shadow 180ms;
}

.lv-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--lv-shadow);
}

.lv-card-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.lv-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.lv-card p {
  margin: 0;
  color: var(--lv-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  flex: 1;
}

.lv-card-foot {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.lv-badge {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lv-badge-live {
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #6ee7b7;
}

.lv-badge-soon {
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: #fdba74;
}

.lv-badge-hidden {
  background: rgba(148, 155, 171, 0.12);
  border: 1px solid rgba(148, 155, 171, 0.3);
  color: var(--lv-muted);
}

.lv-btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
}

.lv-btn-danger {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.4);
  color: #fca5a5;
}

.lv-btn-danger:hover {
  background: rgba(248, 113, 113, 0.2);
  border-color: rgba(248, 113, 113, 0.55);
}

.lv-btn[disabled],
.lv-btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.lv-empty {
  margin: 0;
  color: var(--lv-muted);
  line-height: 1.6;
}

/* Team */
.lv-panel {
  margin-bottom: 1.5rem;
  padding: 1.4rem;
  background: var(--lv-surface);
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius);
}

.lv-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.lv-form-full { grid-column: 1 / -1; }

.lv-form-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.lv-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lv-list-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius-sm);
  background: var(--lv-bg-muted);
}

.lv-list-item-main {
  flex: 1;
  min-width: 0;
}

.lv-list-item-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.lv-list-item-head h3 {
  margin: 0;
  font-size: 1rem;
}

.lv-list-item-main p {
  margin: 0;
  color: var(--lv-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.lv-list-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--lv-muted);
}

.lv-list-item-meta a {
  color: var(--lv-accent);
  text-decoration: none;
  word-break: break-all;
}

.lv-list-item-meta a:hover { text-decoration: underline; }

.lv-list-item-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lv-list-item-actions form { margin: 0; }

.lv-info {
  padding: 1.2rem 1.4rem;
  border: 1px dashed var(--lv-border);
  border-radius: var(--lv-radius);
  background: var(--lv-bg-muted);
}

.lv-info-text {
  margin: 0;
  color: var(--lv-muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.lv-info code {
  color: var(--lv-accent);
  font-size: 0.88em;
}

.lv-dot-muted { background: var(--lv-muted); }

/* Team navigation & users */
.lv-team-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--lv-bg-muted);
  border: 1px solid var(--lv-border);
  width: fit-content;
}

.lv-team-nav-link {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--lv-muted);
  transition: background 150ms, color 150ms;
}

.lv-team-nav-link:hover { color: var(--lv-text); }

.lv-team-nav-link-active {
  background: var(--lv-surface);
  color: var(--lv-text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lv-badge-admin {
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: #fdba74;
}

.lv-badge-user {
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: #93c5fd;
}

.lv-badge-config {
  background: rgba(129, 140, 248, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.3);
  color: #a5b4fc;
}

.lv-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--lv-display);
  font-size: 0.68rem;
  font-weight: 800;
  color: #0e1015;
  background: var(--lv-accent);
  flex-shrink: 0;
}

.lv-user-you {
  font-weight: 500;
  color: var(--lv-muted);
  font-size: 0.88em;
}

.lv-role-form {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.lv-role-form select {
  padding: 0.38rem 0.55rem;
  border-radius: var(--lv-radius-sm);
  border: 1px solid var(--lv-border);
  background: var(--lv-bg-muted);
  color: var(--lv-text);
  font: inherit;
  font-size: 0.82rem;
}

.lv-role-form select:focus {
  outline: none;
  border-color: rgba(249, 115, 22, 0.45);
}

.lv-muted-note {
  font-size: 0.8rem;
  color: var(--lv-muted);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .lv-field-row { grid-template-columns: 1fr; }
  .lv-auth-card { padding: 1.5rem 1.2rem; }
  .lv-form-grid { grid-template-columns: 1fr; }
  .lv-list-item { flex-direction: column; }
  .lv-list-item-actions { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .lv-role-form { flex: 1; min-width: 0; }
}

@media (max-width: 520px) {
  .lv-header-user { display: none; }
}
