/* =============================================================================
   BZRO PROTOCOL — Refined Design System
   
   Design principles:
   - Minimal ornamentation, maximum clarity
   - WCAG AA compliant contrast in both themes
   - 8px grid spacing system
   - Intentional typographic scale (modular)
   - Subtle depth through color, not heavy shadows
   - No "crypto jank" — clean, professional, calm
   
   Font: Inter (sans) for UI, JetBrains Mono for data
   ============================================================================= */

/* ===== CSS VARIABLES ===== */
:root {
  /* Light theme — high contrast, warm neutrals */
  --bg-page:          #fbfbfc;
  --bg-surface:       #ffffff;
  --bg-surface-2:     #f5f5f7;
  --bg-surface-3:     #efeff2;
  --border-subtle:    #eaeaef;
  --border-default:   #dfe1e7;
  --border-strong:    #c9ccd4;
  
  --text-primary:     #1a1d24;
  --text-secondary:   #555b6e;
  --text-tertiary:    #858b9f;
  --text-disabled:    #b9becb;
  
  /* Semantic colors — desaturated, professional */
  --accent:           #3b6e8b;
  --accent-soft:      #eef4f7;
  --accent-border:    #cbdde6;
  --accent-strong:    #2a526b;
  
  --accent-gold:      #a6793a;
  --accent-gold-soft: #faf5ea;
  --accent-gold-border: #e2d5bd;
  
  --success:          #3f7864;
  --danger:           #b04949;
  --warning:          #b4702c;
  --info:             #4a7c9e;
  
  --success-bg:       #f0f6f2;
  --danger-bg:        #fcf2f2;
  --warning-bg:       #fdf6ed;
  --info-bg:          #f0f5f8;
  
  --elevation-1:      0 1px 2px rgba(0,0,0,0.02), 0 1px 2px rgba(0,0,0,0.02);
  --elevation-2:      0 2px 4px rgba(0,0,0,0.02), 0 1px 2px rgba(0,0,0,0.03);
  --elevation-3:      0 4px 12px rgba(0,0,0,0.03), 0 1px 3px rgba(0,0,0,0.03);
  
  --font-sans:        'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:        'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  
  --radius-sm:        4px;
  --radius-md:        8px;
  --radius-lg:        12px;
  
  --transition-fast:  0.12s ease;
  --transition-base:  0.2s ease;
}

[data-theme="dark"] {
  /* Dark theme — deep, neutral, reduced eye strain */
  --bg-page:          #0f1117;
  --bg-surface:       #171a22;
  --bg-surface-2:     #1e212b;
  --bg-surface-3:     #262a36;
  --border-subtle:    #222632;
  --border-default:   #2a2e3d;
  --border-strong:    #3a3f52;
  
  --text-primary:     #edf0f5;
  --text-secondary:   #9da3b9;
  --text-tertiary:    #6e748c;
  --text-disabled:    #484d63;
  
  --accent:           #6ea2bc;
  --accent-soft:      #1f2b33;
  --accent-border:    #2e3e4a;
  --accent-strong:    #58869e;
  
  --accent-gold:      #c7a252;
  --accent-gold-soft: #262018;
  --accent-gold-border: #3e3524;
  
  --success:          #7bb29e;
  --danger:           #c97a7a;
  --warning:          #d68f47;
  --info:             #7ba0bd;
  
  --success-bg:       #1d2b26;
  --danger-bg:        #2e1e1e;
  --warning-bg:       #2d241a;
  --info-bg:          #1d2a33;
  
  --elevation-1:      0 1px 2px rgba(0,0,0,0.2);
  --elevation-2:      0 2px 4px rgba(0,0,0,0.25);
  --elevation-3:      0 4px 12px rgba(0,0,0,0.3);
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY SCALE ===== */
/* Using 1.25 modular scale (major third) */
.text-xs   { font-size: 11px; line-height: 1.4; }
.text-sm   { font-size: 12px; line-height: 1.45; }
.text-base { font-size: 14px; line-height: 1.5; }
.text-md   { font-size: 15px; line-height: 1.5; }
.text-lg   { font-size: 18px; line-height: 1.4; }
.text-xl   { font-size: 22px; line-height: 1.3; }
.text-2xl  { font-size: 28px; line-height: 1.25; }
.text-3xl  { font-size: 34px; line-height: 1.2; }

.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }

.mono, .font-mono {
  font-family: var(--font-mono);
  font-feature-settings: "ss02", "ss03", "calt", "liga";
}

/* Color utilities — with proper contrast */
.text-primary   { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary  { color: var(--text-tertiary); }
.text-accent    { color: var(--accent); }
.text-gold      { color: var(--accent-gold); }
.text-success   { color: var(--success); }
.text-danger    { color: var(--danger); }
.text-warning   { color: var(--warning); }

/* ===== LAYOUT ===== */
.app {
  display: flex;
  min-height: calc(100vh - 60px);
}

.main-content {
  flex: 1;
  padding: 32px 40px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 60px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.2px;
}

.logo-badge {
  width: 28px;
  height: 28px;
  background: var(--accent-gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #0f1117;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.network-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  color: var(--text-secondary);
}

.wallet-balance {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-gold);
  font-weight: 500;
}

.theme-toggle {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--bg-surface-3);
  color: var(--accent-gold);
  border-color: var(--accent-gold-border);
}

.wallet-dropdown {
  position: absolute;
  top: 60px;
  right: 20px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 200px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.wallet-dropdown-item {
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 14px;
}

.wallet-dropdown-item:hover {
  background: var(--surface3);
}

.wallet-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.wallet-dropdown-address {
  padding: 10px 16px;
  font-size: 12px;
  font-family: monospace;
  color: var(--text-muted);
  word-break: break-all;
}

.wallet-dropdown.hidden {
  display: none;
}

/* ===== BUTTONS ===== */
.btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface-2);
  border-color: var(--border-default);
  color: var(--text-secondary);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--bg-surface-3);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-default);
  color: var(--text-secondary);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--bg-surface-2);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-danger {
  background: var(--danger-bg);
  border-color: var(--danger);
  color: var(--danger);
}
.btn-danger:hover:not(:disabled) {
  background: var(--danger);
  color: white;
}

.btn-success {
  background: var(--success-bg);
  border-color: var(--success);
  color: var(--success);
}
.btn-success:hover:not(:disabled) {
  background: var(--success);
  color: white;
}

.btn-sm {
  font-size: 12px;
  padding: 5px 12px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-connect {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  background: var(--accent-gold);
  border: none;
  border-radius: 6px;
  color: #0f1117;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-connect:hover {
  background: var(--accent-gold);
  filter: brightness(0.92);
}
.btn-connect.connected {
  background: var(--bg-surface-2);
  border: 1px solid var(--accent-gold-border);
  color: var(--accent-gold);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* ===== SIDEBAR ===== */
nav {
  width: 260px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  padding: 24px 12px;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}

.nav-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 16px 12px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 1px;
}

.nav-item:hover {
  background: var(--bg-surface-2);
  color: var(--text-primary);
}

.nav-item.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-icon {
  font-size: 14px;
  width: 20px;
  text-align: center;
  opacity: 0.7;
}

.nav-item.admin-item { 
  color: var(--danger); 
}
.nav-item.admin-item:hover { 
  background: var(--danger-bg); 
}

/* ===== PANELS ===== */
.panel {
  display: none;
}
.panel.active {
  display: block;
  animation: panelFadeIn 0.2s ease;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.panel-heading {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: 28px;
  border-left: 3px solid var(--accent-gold);
  padding-left: 16px;
}

.panel-heading span {
  color: var(--accent-gold);
  font-weight: 600;
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--elevation-1);
}

.card-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.card-admin {
  border-left-color: var(--danger);
  border-left-width: 2px;
}
.card-admin .card-title { color: var(--danger); }
.card-admin .card-title::before { background: var(--danger); }

/* ===== STAT GRID ===== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px 20px;
  transition: all var(--transition-fast);
}

.stat-card:hover {
  border-color: var(--border-default);
  background: var(--bg-surface);
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.stat-value {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

/* Grid utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }

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

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.input-hint {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 6px;
  line-height: 1.4;
}

/* ===== MESSAGE BOXES ===== */
.info-box, .warning-box, .success-box {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
}

.info-box {
  background: var(--info-bg);
  border-left: 3px solid var(--info);
  color: var(--text-primary);
}
.warning-box {
  background: var(--warning-bg);
  border-left: 3px solid var(--warning);
  color: var(--text-primary);
}
.success-box {
  background: var(--success-bg);
  border-left: 3px solid var(--success);
  color: var(--text-primary);
}

/* ===== LOG BOX ===== */
.log-box {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  max-height: 140px;
  overflow-y: auto;
  margin-top: 20px;
}

.log-line {
  padding: 2px 0;
  color: var(--text-tertiary);
  border-left: 2px solid transparent;
  padding-left: 8px;
}
.log-line.success { color: var(--success); border-left-color: var(--success); }
.log-line.error   { color: var(--danger); border-left-color: var(--danger); }
.log-line.info    { color: var(--info); border-left-color: var(--info); }
.log-line.warning { color: var(--warning); border-left-color: var(--warning); }
.log-line.pending { color: var(--accent-gold); border-left-color: var(--accent-gold); }

/* ===== NFT GRID ===== */
.nft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.nft-art-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.nft-art-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-default);
  box-shadow: var(--elevation-1);
}

.nft-art-card.selected {
  border-color: var(--accent-gold);
  background: var(--accent-gold-soft);
}

.card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-surface-3);
}

.card-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--text-tertiary);
}

.card-body {
  padding: 8px 10px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.card-id {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-gold);
}

.card-sub {
  font-size: 10px;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.card-reward {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--success);
  margin-top: 4px;
}

.card-locked {
  font-size: 10px;
  color: var(--danger);
  margin-top: 4px;
}

.card-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: var(--accent-gold);
  border-radius: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #0f1117;
}

.nft-art-card.selected .card-check {
  display: flex;
}

/* ===== PROPOSAL CARDS ===== */
.proposal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all var(--transition-fast);
}

.proposal-card:hover {
  border-color: var(--border-default);
  box-shadow: var(--elevation-1);
}

.proposal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.proposal-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
}

.proposal-collection {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Badges */
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-active     { background: var(--accent-soft); color: var(--accent); }
.badge-voteopen   { background: var(--success-bg); color: var(--success); }
.badge-succeeded  { background: var(--success-bg); color: var(--success); }
.badge-defeated   { background: var(--danger-bg); color: var(--danger); }
.badge-executedelay { background: var(--info-bg); color: var(--info); }
.badge-capwaiting { background: var(--warning-bg); color: var(--warning); }

/* Vote bars */
.vote-bar-wrap {
  background: var(--bg-surface-3);
  height: 4px;
  border-radius: 20px;
  overflow: hidden;
  margin: 8px 0;
}

.vote-bar-fill {
  height: 100%;
  transition: width 0.3s ease;
}
.vote-bar-fill-for { background: var(--success); }
.vote-bar-fill-quorum { background: var(--accent); }

/* ===== RECEIPT ITEMS ===== */
.receipt-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.receipt-item:hover {
  background: var(--bg-surface-2);
  border-color: var(--border-default);
}

/* ===== MODALS ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.show {
  display: flex;
}

.modal, .tx-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 28px;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--elevation-3);
}

.spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--border-default);
  border-top-color: var(--accent-gold);
  border-radius: 50%;
  margin: 0 auto 18px;
  animation: spin 0.7s linear infinite;
}

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

.connect-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all var(--transition-fast);
}

.connect-option:hover {
  background: var(--bg-surface-3);
  border-color: var(--border-default);
}

/* ===== HISTORY & DETAILS ===== */
.history-row {
  cursor: pointer;
  border-radius: 8px;
  transition: background var(--transition-fast);
}

.history-row:hover {
  background: var(--bg-surface-2);
}

.history-details {
  display: none;
  background: var(--bg-surface-2);
  padding: 16px;
  border-top: 1px solid var(--border-subtle);
  border-radius: 0 0 8px 8px;
  margin-top: -1px;
}

.history-details.show {
  display: block;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.details-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.details-value {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
  word-break: break-all;
}

/* ===== UTILITIES ===== */
.hidden { display: none !important; }
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 18px; }
.mb-1 { margin-bottom: 6px; }
.mb-2 { margin-bottom: 12px; }
.ml-1 { margin-left: 6px; }
.ml-2 { margin-left: 12px; }
.w-full { width: 100%; }
.cursor-pointer { cursor: pointer; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }

.copy-address {
  cursor: pointer;
  border-bottom: 1px dashed var(--border-default);
  transition: all var(--transition-fast);
}
.copy-address:hover {
  border-bottom-color: var(--accent-gold);
  color: var(--accent-gold);
}

.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface);
  border: 1px solid var(--accent-gold-border);
  color: var(--accent-gold);
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 12px;
  z-index: 10000;
  white-space: nowrap;
  box-shadow: var(--elevation-2);
}

.admin-banner {
  display: none;
  background: var(--danger-bg);
  border-left: 3px solid var(--danger);
  padding: 10px 16px;
  font-size: 12px;
  color: var(--danger);
  margin-bottom: 20px;
  border-radius: 8px;
}
.admin-banner.show { display: flex; align-items: center; gap: 8px; }

/* ===== MOBILE ===== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-primary);
  padding: 8px;
  margin-right: 8px;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-page);
  z-index: 1000;
  flex-direction: column;
  padding: 60px 20px 20px;
  overflow-y: auto;
}
.mobile-menu-overlay.show { display: flex; }
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .app { display: block; }
  nav { display: none; }
  .mobile-menu-btn { display: block; }
  .main-content { padding: 20px; }
  .panel-heading { font-size: 22px; }
  .stat-value { font-size: 22px; }
  .nft-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .details-grid { grid-template-columns: 1fr; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }