/* ============================================
   PORTAL PIIXEL - CSS PRINCIPAL (CONSOLIDADO)
   Identidade: dark + verde teal + grain overlay
   Versão: 1.2 (drawer corrigido - escondido por padrão)
   ============================================ */

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

:root {
  --bg: #0a1410;
  --bg-deep: #060d0a;
  --bg-card: #0f1c17;
  --bg-card-hover: #142620;
  --teal-deep: #014034;
  --teal: #038c73;
  --teal-light: #36bfb1;
  --teal-glow: rgba(3, 140, 115, 0.18);
  --white: #f1f1f1;
  --gray: #8a9a92;
  --gray-light: #b5c5bd;
  --border: rgba(241, 241, 241, 0.07);
  --stone-green: #00A868;
  --warning: #FFB020;
  --danger: #FF4757;
  --success: #36bfb1;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

button { font-family: inherit; cursor: pointer; border: none; outline: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; outline: none; }
a { color: var(--teal-light); text-decoration: none; }

/* ============ FORMS ============ */
.field-group { margin-bottom: 1.2rem; }

.field-label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gray-light);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.field-input {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--white);
  font-size: 0.98rem;
  transition: all 0.2s;
  font-family: inherit;
}

.field-input:focus { border-color: var(--teal); background: rgba(3, 140, 115, 0.05); }
.field-input.error { border-color: var(--danger); }

.field-help {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 0.4rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.05em;
}

.field-error {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 0.4rem;
}

/* ============ BOTÕES ============ */
.btn-primary {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--bg);
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  margin-top: 0.5rem;
  font-family: inherit;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(3, 140, 115, 0.4); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-ghost {
  padding: 0.55rem 1rem;
  background: var(--bg-card);
  color: var(--gray-light);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.2s;
  font-family: inherit;
}

.btn-ghost:hover { background: var(--bg-card-hover); color: var(--white); }

/* ============ ALERTAS ============ */
.alert {
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  border-left: 3px solid;
}

.alert-error { background: rgba(255, 71, 87, 0.1); color: #FF8A95; border-color: var(--danger); }
.alert-success { background: rgba(54, 191, 177, 0.1); color: var(--teal-light); border-color: var(--teal-light); }
.alert-warning { background: rgba(255, 176, 32, 0.1); color: var(--warning); border-color: var(--warning); }
.alert-info { background: var(--teal-glow); color: var(--teal-light); border-color: var(--teal-light); }

.alert-icon { font-weight: 700; flex-shrink: 0; }

/* ============ LOGIN / CADASTRO ============ */
.auth-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: radial-gradient(circle at 30% 20%, var(--teal-glow) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(54, 191, 177, 0.08) 0%, transparent 50%),
              var(--bg);
  padding: 2rem;
  position: relative;
}

.auth-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(3, 140, 115, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 140, 115, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.auth-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.auth-box.large { max-width: 540px; }

.auth-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, var(--teal), transparent 50%, var(--teal-light));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

.auth-box > * { position: relative; z-index: 1; }

.auth-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.auth-logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 9px;
  display: grid; place-items: center;
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem; font-weight: 700;
  color: var(--bg);
}

.auth-stone-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 168, 104, 0.1);
  border: 1px solid rgba(0, 168, 104, 0.3);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.1em;
  color: var(--stone-green);
  margin-bottom: 1rem;
}

.auth-stone-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--stone-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--stone-green);
}

.auth-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--teal-light);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.auth-title { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.4rem; }
.auth-subtitle { color: var(--gray); font-size: 0.95rem; margin-bottom: 2rem; }

.auth-divider {
  text-align: center;
  margin: 1.5rem 0;
  color: var(--gray);
  font-size: 0.85rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.1em;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--gray);
  font-size: 0.9rem;
}

.auth-footer a { color: var(--teal-light); font-weight: 600; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .auth-box { padding: 2rem 1.5rem; }
}

/* ============ DASHBOARD ============ */
.dash-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 20, 16, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  width: 40px; height: 40px;
  background: var(--bg-card);
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-menu-btn:hover { background: var(--bg-card-hover); border-color: var(--teal); }
.mobile-menu-btn span { display: block; width: 18px; height: 2px; background: var(--white); border-radius: 2px; }

.dash-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.dash-logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.95rem; font-weight: 700;
  color: var(--bg);
}

.dash-logo-text { display: flex; flex-direction: column; line-height: 1; }
.dash-logo-text small {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--teal-light);
  letter-spacing: 0.15em;
  margin-top: 3px;
}

.dash-nav { display: flex; gap: 0.3rem; align-items: center; }

.dash-nav-item {
  padding: 0.5rem 1rem;
  color: var(--gray-light);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
}

.dash-nav-item:hover, .dash-nav-item.active {
  color: var(--white);
  background: var(--bg-card);
}

.dash-user { display: flex; align-items: center; gap: 0.8rem; }

.dash-plan-badge {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: var(--white);
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.dash-plan-badge.trial { background: var(--warning); color: var(--bg); }

.dash-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: grid; place-items: center;
  font-weight: 700;
  color: var(--bg);
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
}

.user-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 220px;
  padding: 0.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  display: none;
  z-index: 100;
}

.user-menu.open { display: block; }

.user-menu-header {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.4rem;
  cursor: default;
}

/* CORREÇÃO: nome herdava cor escura do .dash-avatar pai */
.user-menu-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white) !important;
}

.user-menu-email {
  font-size: 0.75rem;
  color: var(--gray) !important;
  margin-top: 2px;
}

.user-menu-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  color: var(--gray-light) !important;
  font-size: 0.88rem;
  border-radius: 8px;
  width: 100%; text-align: left;
  transition: all 0.15s;
  text-decoration: none !important;
}

.user-menu-item:hover {
  background: var(--bg-deep);
  color: var(--white) !important;
}

/* HERO */
.dash-hero {
  padding: 3rem 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.dash-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 60%);
  pointer-events: none;
}

.dash-hero-content { position: relative; z-index: 2; max-width: 700px; }

.dash-hero-tag {
  display: inline-flex;
  align-items: center; gap: 0.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--teal-light);
  text-transform: uppercase;
  background: var(--teal-glow);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.dash-hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.dash-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.7rem;
}

.dash-hero h1 span { color: var(--teal-light); }
.dash-hero p { color: var(--gray-light); font-size: 1rem; max-width: 580px; }

/* Banner de status (trial/limite) */
.status-banner {
  margin: 0 2.5rem 2rem;
  padding: 1.2rem 1.5rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.status-banner.trial {
  background: linear-gradient(135deg, rgba(255, 176, 32, 0.15), rgba(255, 176, 32, 0.05));
  border: 1px solid rgba(255, 176, 32, 0.3);
}

.status-banner.limit {
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.15), rgba(255, 71, 87, 0.05));
  border: 1px solid rgba(255, 71, 87, 0.3);
}

.status-banner-info { flex: 1; min-width: 220px; }
.status-banner-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.2rem; }
.status-banner-text { color: var(--gray-light); font-size: 0.88rem; }

/* FILTROS */
.dash-filters {
  padding: 0 2.5rem 1.5rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-chip {
  padding: 0.55rem 1.1rem;
  background: var(--bg-card);
  color: var(--gray-light);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-chip:hover { background: var(--bg-card-hover); color: var(--white); }
.filter-chip.active { background: var(--teal); color: var(--bg); border-color: var(--teal); font-weight: 600; }
.filter-chip .count { font-family: 'Space Mono', monospace; font-size: 0.7rem; opacity: 0.7; }

.search-box { margin-left: auto; position: relative; }

.search-box input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.55rem 1rem 0.55rem 2.5rem;
  color: var(--white);
  font-size: 0.85rem;
  width: 240px;
}

.search-box::before {
  content: '⌕';
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  font-size: 1.1rem;
}

/* GRID DE ARTES */
.arts-grid {
  padding: 0 2.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.art-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}

.art-card:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }

.art-thumb {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
}

.art-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.art-card:hover .art-thumb img { transform: scale(1.03); }

.art-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.15em;
}

.art-info {
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.art-meta { flex: 1; min-width: 0; }
.art-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.art-tags {
  display: flex;
  gap: 0.4rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.art-edit-btn {
  background: var(--teal-glow);
  color: var(--teal-light);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
}

.art-card:hover .art-edit-btn { background: var(--teal); color: var(--bg); }

.art-format-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  z-index: 2;
}

.art-stone-badge {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  background: var(--stone-green);
  color: white;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-weight: 700;
  z-index: 2;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--gray);
}

.empty-state h3 { color: var(--white); margin-bottom: 0.5rem; }

/* ============================================
   MENU MOBILE (DRAWER) - CORRIGIDO
   Escondido completamente por padrão.
   Só aparece via media query mobile.
   ============================================ */
.mobile-drawer,
.mobile-drawer-overlay {
  display: none;
}

.mobile-drawer-header,
.mobile-drawer-logo,
.mobile-drawer-close,
.mobile-drawer-user,
.mobile-drawer-user-info,
.mobile-drawer-user-name,
.mobile-drawer-user-plan,
.mobile-drawer-section-title,
.mobile-drawer-item,
.mobile-drawer-icon {
  /* Quando o drawer-pai estiver display:none, esses filhos são automaticamente ocultados */
}

@media (max-width: 768px) {
  .mobile-drawer {
    display: flex;
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    z-index: 200;
    transition: left 0.3s ease;
    flex-direction: column;
    padding: 1.5rem;
    overflow-y: auto;
  }

  .mobile-drawer.open { left: 0; }

  .mobile-drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(6, 13, 10, 0.7);
    backdrop-filter: blur(4px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border);
  }

  .mobile-drawer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1rem;
  }

  .mobile-drawer-close {
    width: 36px;
    height: 36px;
    background: var(--bg-deep);
    border-radius: 8px;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: var(--gray-light);
    cursor: pointer;
    transition: all 0.2s;
  }

  .mobile-drawer-close:hover {
    background: var(--danger);
    color: white;
  }

  .mobile-drawer-user {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem;
    background: var(--bg-deep);
    border-radius: 12px;
    margin-bottom: 1rem;
  }

  .mobile-drawer-user-info {
    flex: 1;
    min-width: 0;
  }

  .mobile-drawer-user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-drawer-user-plan {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: var(--teal-light);
    letter-spacing: 0.15em;
    margin-top: 2px;
  }

  .mobile-drawer-section-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: var(--gray);
    text-transform: uppercase;
    margin: 1rem 0.5rem 0.5rem;
  }

  .mobile-drawer-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    color: var(--gray-light);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    margin-bottom: 0.2rem;
    transition: all 0.15s;
  }

  .mobile-drawer-item:hover,
  .mobile-drawer-item.active {
    background: var(--teal-glow);
    color: var(--teal-light);
  }

  .mobile-drawer-item.danger {
    color: var(--danger);
    margin-top: auto;
  }

  .mobile-drawer-item.danger:hover {
    background: rgba(255, 71, 87, 0.1);
  }

  .mobile-drawer-icon {
    width: 22px;
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    text-align: center;
    flex-shrink: 0;
  }
}

/* ============ MINHA CONTA ============ */
.account-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.account-summary-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  position: relative;
  overflow: hidden;
}

.account-summary-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
}

.account-summary-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--gray);
  margin-bottom: 0.4rem;
}

.account-summary-value {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.account-card.danger-zone {
  border-color: rgba(255, 71, 87, 0.2);
}

.account-card-header {
  padding: 1.3rem 1.8rem;
  border-bottom: 1px solid var(--border);
}

.account-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.account-card-sub {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--teal-light);
}

.account-card-body {
  padding: 1.8rem;
}

/* ============ RESPONSIVE GERAL ============ */
@media (max-width: 768px) {
  .dash-header { padding: 0.8rem 1rem; gap: 0.8rem; }
  .mobile-menu-btn { display: flex; }
  .dash-nav { display: none; }
  .dash-logo-text small { display: none; }
  .dash-plan-badge { display: none; }

  .dash-hero { padding: 2rem 1rem 1.5rem; }
  .dash-hero h1 { font-size: 1.6rem; }

  .status-banner { margin: 0 1rem 1.5rem; }

  .dash-filters {
    padding: 0 1rem 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .dash-filters::-webkit-scrollbar { display: none; }
  .filter-chip { flex-shrink: 0; }
  .search-box { display: none; }

  .arts-grid {
    padding: 0 1rem 4rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  .art-info { padding: 0.8rem; }
  .art-title { font-size: 0.85rem; }
  .art-edit-btn { padding: 0.4rem 0.6rem; font-size: 0.7rem; }

  .account-summary {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }
  .account-summary-value { font-size: 1.05rem; }
  .account-card-body { padding: 1.2rem; }
  .account-card-header { padding: 1rem 1.2rem; }
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  border: 1px solid var(--teal);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  z-index: 2000;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
}

.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { border-color: var(--danger); }
.toast.error .toast-icon { background: var(--danger); }

.toast-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--bg);
  display: grid; place-items: center;
  font-weight: 700;
}
