/**
 * ASAS 2026 - The Eras of Art
 * Luxury Dark-Mode Design System & Interactive UI
 * Palette: Obsidian Black, Antique Sketch Gray, Crimson Ribbon Red & Vibrant Pigments
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Dominant Dark Architectural Tones */
  --bg-obsidian: #07080b;
  --bg-canvas: #0c0e14;
  --bg-card: rgba(18, 20, 28, 0.84);
  --bg-card-hover: rgba(26, 29, 40, 0.94);
  --bg-overlay: rgba(7, 8, 11, 0.92);

  /* Borders & Architectural Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-slate: #252836;
  --border-focus: #e52e2d;

  /* Primary Accent: Gallery Crimson & Architectural Sand/Gold */
  --primary-crimson: #e52e2d;
  --primary-crimson-hover: #ff3b30;
  --primary-glow: rgba(229, 46, 45, 0.32);
  --accent-sand: #d4af37;
  --accent-gold: #e5c158;
  --accent-emerald: #10b981;

  /* Secondary Pigments */
  --pigment-yellow: #f59e0b;
  --pigment-cyan: #06b6d4;
  --pigment-ultramarine: #3b82f6;
  --pigment-magenta: #ec4899;
  --pigment-orange: #f97316;

  /* Legible Typography & Grays */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-antique: #e2e8f0;

  /* Clean Modern Sans-Serif Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Geometry & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-card: 0 16px 40px -10px rgba(0, 0, 0, 0.75), 0 0 1px 1px rgba(255, 255, 255, 0.07);
  --shadow-glow: 0 0 24px var(--primary-glow);
}

/* Base Reset & Smoothness */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   THEMED SCROLLBAR & CURSOR
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #07080b;
}
::-webkit-scrollbar-thumb {
  background: #232735;
  border-radius: 999px;
  border: 2px solid #07080b;
  transition: background 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f465c;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #232735 #07080b;
}

body {
  cursor: default;
}

button, a, input[type="button"], input[type="submit"], .key-btn, .mode-btn, .cat-pill, .fav-toggle-btn {
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

button:hover, .key-btn:hover, .mode-btn:hover {
  transform: translateY(-2px);
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(229, 46, 45, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 20% 40%, rgba(245, 158, 11, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Subtle Architectural Grid Canvas */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(#1f2330 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 20px 100px;
  position: relative;
  z-index: 1;
}

.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  position: relative;
  z-index: 1;
}

/* Typography Classes */
.serif { font-family: var(--font-sans); font-weight: 700; }
.tracking-wide { letter-spacing: 0.06em; }
.tracking-widest { letter-spacing: 0.14em; }
.uppercase { text-transform: uppercase; }

/* ==========================================================================
   HEADER & HERO BRANDING
   ========================================================================== */
.header-hero {
  text-align: center;
  padding: 20px 0 16px;
  position: relative;
}

.site-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.hero-logo-img {
  max-height: 80px;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.7));
  transition: transform 0.3s ease;
}

.hero-logo-img:hover {
  transform: scale(1.02);
}

.hero-logo-fallback {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
  margin-bottom: 4px;
}

.hero-edition-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--pigment-yellow);
  background: rgba(255, 208, 0, 0.1);
  border: 1px solid rgba(255, 208, 0, 0.25);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.hero-tagline {
  color: var(--text-secondary);
  font-size: 13.5px;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ==========================================================================
   HERO CAMERA QR SCANNER CARD (PRIMARY PROMINENT DISCOVERY FEATURE)
   ========================================================================== */
.hero-camera-card {
  background: linear-gradient(135deg, rgba(20, 22, 32, 0.96), rgba(12, 14, 20, 0.98));
  border: 1px solid rgba(229, 46, 45, 0.35);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-top: 18px;
  margin-bottom: 22px;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(229, 46, 45, 0.12);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-camera-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 46, 45, 0.6);
  box-shadow: 0 20px 44px -10px rgba(0, 0, 0, 0.85), 0 0 28px rgba(229, 46, 45, 0.22);
}

.hero-camera-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-sand), var(--primary-crimson), var(--pigment-cyan));
}

.camera-card-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.camera-card-visual {
  position: relative;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-radar-pulse {
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border-radius: 16px;
  background: rgba(229, 46, 45, 0.18);
  animation: cameraPulse 2.2s infinite ease-out;
}

@keyframes cameraPulse {
  0% { transform: scale(0.92); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.92); opacity: 0; }
}

.camera-icon-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary-crimson), #c41817);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(229, 46, 45, 0.45);
}

.camera-card-text {
  flex: 1;
}

.camera-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.camera-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.camera-card-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.btn-hero-camera {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-crimson), #c41817);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px var(--primary-glow);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-camera:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(229, 46, 45, 0.55);
  background: linear-gradient(135deg, var(--primary-crimson-hover), #d3201f);
}

/* ==========================================================================
   INTERACTIVE DISCOVERY CONTROLS (KEYPAD & SEARCH TOGGLE)
   ========================================================================== */
.lookup-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  margin-top: 16px;
  position: relative;
  overflow: hidden;
}

.lookup-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-sand), var(--primary-crimson), var(--pigment-cyan));
}

.mode-switcher {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  background: rgba(10, 11, 15, 0.85);
  border: 1px solid var(--border-slate);
  padding: 4px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  gap: 4px;
}

.mode-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.mode-btn.active {
  background: var(--primary-crimson);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

/* 4-Digit Number Display */
.code-display-wrap {
  text-align: center;
  margin-bottom: 18px;
}

.code-display-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.code-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(8, 9, 13, 0.85);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-md);
  padding: 10px 24px;
  min-width: 250px;
}

.code-display .hash-sym {
  color: var(--primary-crimson);
  font-size: 24px;
  font-weight: 800;
}

.code-digits {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 12px;
  color: #fff;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.code-digits .placeholder-dash {
  color: rgba(255, 255, 255, 0.18);
}

/* SVG Vector Icon Pack Classes */
.icon-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.text-gold { color: var(--accent-gold); }
.text-sand { color: var(--accent-sand); }
.text-emerald { color: var(--accent-emerald); }
.text-crimson { color: var(--primary-crimson); }

/* Numeric Keypad Grid */
.keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 380px;
  margin: 0 auto;
}

.key-btn {
  background: rgba(30, 30, 36, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  padding: 16px 0;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.key-btn:hover {
  background: rgba(45, 45, 54, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.key-btn:active {
  transform: translateY(2px) scale(0.96);
  background: var(--primary-crimson);
  box-shadow: 0 0 16px var(--primary-glow);
}

.key-btn.action-clear {
  color: #ff6b6b;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

.key-btn.action-backspace {
  color: var(--pigment-yellow);
}

.view-instant-btn {
  width: 100%;
  margin-top: 18px;
  background: linear-gradient(135deg, var(--primary-crimson), #c41817);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 15px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px var(--primary-glow);
  transition: all 0.25s ease;
}

.view-instant-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(229, 46, 45, 0.55);
}

/* ==========================================================================
   TEXT / KEYBOARD SEARCH VIEW
   ========================================================================== */
.text-search-pane {
  display: none;
}

.text-search-pane.active {
  display: block;
}

.search-input-wrap {
  position: relative;
  margin-bottom: 16px;
}

.search-input-wrap input {
  width: 100%;
  background: rgba(10, 10, 14, 0.9);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-md);
  padding: 14px 18px 14px 44px;
  color: #ffffff;
  font-size: 16px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.25s ease;
}

.search-input-wrap input:focus {
  border-color: var(--primary-crimson);
  box-shadow: 0 0 14px rgba(229, 46, 45, 0.25);
}

.search-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.quick-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.cat-pill {
  background: rgba(30, 30, 36, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-pill:hover, .cat-pill.active {
  background: var(--border-slate);
  color: #ffffff;
  border-color: var(--pigment-yellow);
}

.live-results-list {
  max-height: 280px;
  overflow-y: auto;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-row {
  background: rgba(20, 20, 24, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}

.result-row:hover {
  background: rgba(35, 35, 42, 0.9);
  border-color: var(--primary-crimson);
  transform: translateX(4px);
}

.result-code-tag {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--pigment-yellow);
  background: rgba(255, 208, 0, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  margin-right: 12px;
}

/* ==========================================================================
   CAMERA SCAN TRIGGER BAR
   ========================================================================== */
.camera-trigger-bar {
  margin-top: 14px;
}

.camera-btn {
  width: 100%;
  background: rgba(18, 18, 22, 0.7);
  border: 1px dashed var(--border-slate);
  border-radius: var(--radius-md);
  padding: 13px 18px;
  color: var(--text-antique);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.camera-btn:hover {
  background: rgba(28, 28, 35, 0.9);
  border-color: var(--pigment-cyan);
  color: #ffffff;
}

/* ==========================================================================
   VISITOR ENGAGEMENT & DIGITAL PASSPORT
   ========================================================================== */
.passport-tracker-card {
  background: linear-gradient(135deg, rgba(20, 20, 25, 0.75), rgba(12, 12, 15, 0.85));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.passport-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.passport-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--pigment-yellow);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.passport-count {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
}

.passport-stars-left {
  font-size: 12px;
  color: var(--text-secondary);
}

.passport-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(229, 46, 45, 0.15);
  border: 1px solid rgba(229, 46, 45, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-crimson);
}

/* ==========================================================================
   ARTWORK DETAILS MODAL (MUSEUM CATALOG CARD)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.artwork-modal-sheet {
  background: #111115;
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .artwork-modal-sheet {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(25, 25, 30, 0.8);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 10;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: var(--primary-crimson);
}

.artwork-card-content {
  padding: 24px;
}

/* Artwork Header Badges */
.card-top-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.art-code-badge {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  background: var(--primary-crimson);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px var(--primary-glow);
}

.art-era-badge {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--pigment-yellow);
}

.artwork-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 8px;
}

.artist-name-line {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-antique);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.artist-grade-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Artwork Visual Media (Adaptive for Landscape, Portrait & Square) */
.artwork-photo-wrap {
  position: relative;
  width: 100%;
  min-height: 200px;
  max-height: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: radial-gradient(circle at center, #181820 0%, #08080a 100%);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.7);
  cursor: zoom-in;
}

.artwork-photo-wrap img {
  max-width: 100%;
  max-height: 456px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.artwork-photo-wrap:hover img {
  transform: scale(1.018);
}

.artwork-photo-wrap .tap-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: var(--text-antique);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}

@media (max-width: 640px) {
  .artwork-photo-wrap {
    min-height: 180px;
    max-height: 52vh;
    padding: 8px;
  }
  .artwork-photo-wrap img {
    max-height: calc(52vh - 16px);
  }
}

.artwork-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(18, 18, 22, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 20px;
}

.meta-item-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.meta-item-value {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Artist Statement Narrative */
.artist-statement-block {
  margin-bottom: 24px;
}

.statement-heading {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pigment-yellow);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.statement-text {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  white-space: pre-line;
}

/* Audio Player ("Hear the Artist") */
.audio-player-card {
  background: linear-gradient(135deg, rgba(28, 28, 38, 0.95), rgba(16, 16, 22, 0.98));
  border: 1px solid rgba(0, 178, 254, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.audio-player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pigment-cyan), var(--primary-crimson), var(--pigment-yellow));
}

.audio-player-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.audio-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-crimson), #c41230);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 16px var(--primary-glow);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.audio-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(227, 24, 55, 0.55);
}

.audio-play-btn.playing {
  background: linear-gradient(135deg, var(--pigment-cyan), #0088cc);
  box-shadow: 0 4px 18px rgba(0, 178, 254, 0.45);
}

.audio-info {
  flex-grow: 1;
  min-width: 0;
}

.audio-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.audio-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

.audio-badge-pill {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(0, 178, 254, 0.18);
  color: var(--pigment-cyan);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 178, 254, 0.3);
}

.audio-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Equalizer Waveform Animation */
.sound-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  padding: 0 4px;
}

.sound-bar {
  width: 3px;
  height: 6px;
  background: var(--pigment-cyan);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.sound-wave.playing .sound-bar:nth-child(1) { animation: soundPulse 0.9s infinite ease-in-out; }
.sound-wave.playing .sound-bar:nth-child(2) { animation: soundPulse 0.7s infinite ease-in-out 0.15s; }
.sound-wave.playing .sound-bar:nth-child(3) { animation: soundPulse 1.1s infinite ease-in-out 0.3s; }
.sound-wave.playing .sound-bar:nth-child(4) { animation: soundPulse 0.8s infinite ease-in-out 0.45s; }
.sound-wave.playing .sound-bar:nth-child(5) { animation: soundPulse 1.0s infinite ease-in-out 0.2s; }

@keyframes soundPulse {
  0%, 100% { height: 4px; }
  50% { height: 18px; }
}

/* Scrubber / Progress Bar */
.audio-track-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.audio-scrubber {
  flex-grow: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}

.audio-scrubber::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pigment-cyan);
  box-shadow: 0 0 8px rgba(0, 178, 254, 0.8);
  cursor: pointer;
  transition: transform 0.15s;
}

.audio-scrubber::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.audio-scrubber::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pigment-cyan);
  border: none;
  box-shadow: 0 0 8px rgba(0, 178, 254, 0.8);
  cursor: pointer;
}

.audio-time-label {
  font-family: monospace;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 65px;
  text-align: right;
}

.audio-mute-btn {
  background: none;
  border: none;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
  transition: color 0.2s;
}

.audio-mute-btn:hover {
  color: #fff;
}

/* Voting & Guestbook Actions */
.interaction-actions-block {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.vote-choice-btn {
  width: 100%;
  background: linear-gradient(135deg, #ffd000, #ff9500);
  border: none;
  border-radius: var(--radius-md);
  color: #000;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(255, 208, 0, 0.35);
  transition: all 0.25s ease;
  margin-bottom: 16px;
}

.vote-choice-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 208, 0, 0.5);
}

.vote-choice-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Guestbook Kudos Box */
.guestbook-box {
  background: rgba(18, 18, 22, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.guestbook-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-antique);
  margin-bottom: 12px;
}

.reaction-buttons-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.react-btn {
  background: rgba(28, 28, 34, 0.8);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-size: 13px;
  padding: 7px 12px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.react-btn:hover, .react-btn.selected {
  background: var(--primary-crimson);
  color: #fff;
  border-color: var(--primary-crimson);
}

.guestbook-input-row {
  display: flex;
  gap: 8px;
}

.guestbook-input {
  flex-grow: 1;
  background: rgba(10, 10, 14, 0.9);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #fff;
  font-size: 13.5px;
  outline: none;
}

.guestbook-input:focus {
  border-color: var(--primary-crimson);
}

.guestbook-submit-btn {
  background: var(--primary-crimson);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 0 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.guestbook-submit-btn:hover {
  background: var(--primary-crimson-hover);
}

/* ==========================================================================
   CAMERA SCANNER OVERLAY MODAL
   ========================================================================== */
.scanner-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #000000;
  z-index: 1200;
  display: none;
  flex-direction: column;
}

.scanner-modal.active {
  display: flex;
}

.scanner-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 14, 0.8);
  z-index: 10;
}

.scanner-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
}

.scanner-viewport-wrap {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#scannerVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reticle / Viewfinder Frame */
.scanner-reticle {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.reticle-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--primary-crimson);
  border-style: solid;
}

.reticle-tl { top: -2px; left: -2px; border-width: 4px 0 0 4px; border-radius: 8px 0 0 0; }
.reticle-tr { top: -2px; right: -2px; border-width: 4px 4px 0 0; border-radius: 0 8px 0 0; }
.reticle-bl { bottom: -2px; left: -2px; border-width: 0 0 4px 4px; border-radius: 0 0 0 8px; }
.reticle-br { bottom: -2px; right: -2px; border-width: 0 4px 4px 0; border-radius: 0 0 8px 0; }

.laser-scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-crimson), var(--pigment-yellow), transparent);
  box-shadow: 0 0 12px var(--primary-crimson);
  animation: laserScan 2.2s infinite ease-in-out;
}

@keyframes laserScan {
  0% { top: 4px; opacity: 0.2; }
  50% { top: 96%; opacity: 1; }
  100% { top: 4px; opacity: 0.2; }
}

.scanner-hint {
  position: absolute;
  bottom: 30px;
  text-align: center;
  width: 100%;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */
.admin-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 28px;
}

.admin-logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-logo-group img {
  width: 40px;
  height: 40px;
}

.admin-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s;
}

.admin-link:hover, .admin-link.active {
  color: #fff;
  border-bottom: 2px solid var(--primary-crimson);
  padding-bottom: 4px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.stat-card-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.stat-card-value {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
}

.stat-card.accent-red .stat-card-value { color: var(--primary-crimson); }
.stat-card.accent-yellow .stat-card-value { color: var(--pigment-yellow); }
.stat-card.accent-cyan .stat-card-value { color: var(--pigment-cyan); }

.admin-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-slate);
  color: var(--text-muted);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 13.5px;
}

.data-table tr:hover td {
  background: rgba(35, 35, 42, 0.4);
}

/* Button & Pill Utilities */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary-crimson);
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-crimson-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(35, 35, 42, 0.8);
  border: 1px solid var(--border-slate);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(45, 45, 54, 1);
  color: #fff;
}

.btn-danger {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #f87171;
}

.btn-danger:hover {
  background: #dc2626;
  color: #fff;
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(20, 20, 26, 0.95);
  border: 1px solid var(--border-slate);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   SLEEK PWA INSTALL BANNER & OFFLINE CAPABILITIES
   ========================================================================== */

/* Offline Status Pill */
.offline-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(18, 18, 22, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  margin-top: 8px;
}

.offline-status-pill .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
}

.offline-status-pill.offline {
  border-color: rgba(255, 208, 0, 0.4);
  color: var(--pigment-yellow);
  background: rgba(30, 26, 12, 0.9);
}

.offline-status-pill.offline .status-dot {
  background: #eab308;
  box-shadow: 0 0 8px #eab308;
  animation: pulseAmber 1.8s infinite;
}

@keyframes pulseAmber {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Sleek Floating PWA Install Pop-Up */
.pwa-install-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(18, 18, 24, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(229, 46, 45, 0.4);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85), 0 0 20px rgba(229, 46, 45, 0.25);
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(160px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.pwa-install-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.pwa-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #0d0d10;
  border: 1px solid var(--border-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
}

.pwa-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pwa-text-box {
  flex-grow: 1;
  overflow: hidden;
}

.pwa-title {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.pwa-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.35;
}

.pwa-action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pwa-btn-install {
  background: linear-gradient(135deg, var(--primary-crimson), #c41817);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px var(--primary-glow);
  white-space: nowrap;
  transition: transform 0.2s;
}

.pwa-btn-install:hover {
  transform: scale(1.05);
}

.pwa-btn-dismiss {
  background: transparent;
  color: var(--text-muted);
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  transition: color 0.2s;
}

.pwa-btn-dismiss:hover {
  color: #fff;
}

/* iOS Safari Install Guide Modal */
.ios-guide-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ios-guide-modal.active {
  display: flex;
}

.ios-guide-card {
  background: #141418;
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-lg);
  max-width: 400px;
  width: 100%;
  padding: 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.ios-step-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: rgba(24, 24, 30, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-primary);
}

.ios-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-crimson);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   DEVICE-ONLY FAVOURITES SYSTEM & LUXURY GALLERY STYLES
   ========================================================================== */

.favourite-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-slate);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.22s ease;
  width: 100%;
  margin-bottom: 16px;
}

.favourite-toggle-btn:hover {
  background: rgba(229, 46, 45, 0.12);
  border-color: rgba(229, 46, 45, 0.5);
  transform: translateY(-1px);
}

.favourite-toggle-btn.active {
  background: linear-gradient(135deg, rgba(229, 46, 45, 0.25), rgba(233, 30, 99, 0.15));
  border-color: var(--primary-crimson);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(229, 46, 45, 0.3);
}

.favourite-toggle-btn.active .fav-icon {
  transform: scale(1.15);
  animation: heartBeat 0.4s ease-out;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1.15); }
}

/* Favourites Pane */
.favourites-pane {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.favourites-pane.active {
  display: block;
}

.fav-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.fav-items-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fav-item-card {
  display: grid;
  grid-template-columns: 80px 1fr 36px;
  gap: 14px;
  background: rgba(20, 20, 26, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  align-items: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.fav-item-card:hover {
  background: rgba(28, 28, 36, 0.95);
  border-color: var(--border-slate);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.fav-thumb-wrap {
  width: 80px;
  height: 64px;
  background: #0a0a0d;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.fav-thumb-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fav-item-info {
  min-width: 0;
}

.fav-item-title {
  font-weight: 700;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fav-item-artist {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.fav-item-school {
  font-size: 11px;
  color: var(--pigment-yellow);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.fav-remove-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.fav-remove-btn:hover {
  background: rgba(229, 46, 45, 0.15);
  color: var(--primary-crimson);
}

.empty-favs-state {
  text-align: center;
  padding: 40px 16px;
}

/* ==========================================================================
   FULLSCREEN HIGH-RES LIGHTBOX MODAL
   ========================================================================== */

.artwork-lightbox-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5, 5, 8, 0.96);
  backdrop-filter: blur(20px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.artwork-lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content-box {
  position: relative;
  max-width: 95vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 95vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
  margin-top: 14px;
  text-align: center;
  color: #fff;
  font-size: 14px;
}

.lightbox-close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3010;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: var(--primary-crimson);
  border-color: var(--primary-crimson);
  transform: rotate(90deg);
}

