/* Arc Raiders Console - Optimized for Mobile, Desktop, and In-Game Browsers */
:root {
  --bg-primary: #0a0e14;
  --bg-secondary: #131920;
  --bg-tertiary: #1a2028;
  --accent: #00d4ff;
  --accent-dark: #0099bb;
  --keep: #22c55e;
  --sell: #f59e0b;
  --recycle: #8b5cf6;
  --evaluate: #6b7280;
  --danger: #ef4444;
  --text-primary: #e5e7eb;
  --text-secondary: #9ca3af;
  --border: #2d3748;
  --priority-s: #ff6b6b;
  --priority-a: #ffd93d;
  --priority-b: #6bcb77;
  --priority-c: #4d96ff;
  --priority-d: #6b7280;
  /* Safe areas for mobile notches */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  /* Prevent text size adjustment on orientation change */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for mobile */
  line-height: 1.5;
  /* Smooth scrolling */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* Prevent pull-to-refresh on mobile */
  overscroll-behavior-y: contain;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  padding-top: calc(1rem + var(--safe-top));
  padding-bottom: calc(1rem + var(--safe-bottom));
  padding-left: calc(1rem + var(--safe-left));
  padding-right: calc(1rem + var(--safe-right));
}

/* Header */
header {
  text-align: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
  position: relative;
}

header h1 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.accent {
  color: var(--accent);
}

.subtitle {
  color: var(--text-secondary);
  font-size: clamp(0.8rem, 2.5vw, 1rem);
}

.header-actions {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.5rem;
}

.icon-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  /* Touch-friendly size */
  min-width: 44px;
  min-height: 44px;
}

.icon-btn:hover, .icon-btn:active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 212, 255, 0.1);
}

.text-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
}

.text-btn:hover {
  text-decoration: underline;
}

/* Event Banner */
.event-banner {
  background: linear-gradient(135deg, #ff6b3520, #ff9f4320);
  border: 1px solid #ff6b35;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: pulse-border 2s infinite;
  font-size: 0.9rem;
}

@keyframes pulse-border {
  0%, 100% { border-color: #ff6b35; }
  50% { border-color: #ff9f43; }
}

.event-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Profile Panel */
.profile-panel, .camera-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  animation: slideDown 0.2s ease-out;
}

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

.profile-header, .camera-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.profile-header h3, .camera-header h3 {
  font-size: 1rem;
  color: var(--accent);
}

.profile-hint, .camera-hint {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.profile-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.profile-item label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.profile-item select {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  padding: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  /* Touch-friendly */
  min-height: 44px;
}

.profile-item select:focus {
  outline: none;
  border-color: var(--accent);
}

.profile-saved {
  text-align: center;
  color: var(--keep);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Camera Panel */
.camera-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.upload-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-tertiary);
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text-secondary);
}

.upload-btn:hover, .upload-btn:active {
  border-color: var(--accent);
  color: var(--accent);
}

.upload-btn input {
  display: none;
}

.image-preview {
  position: relative;
  margin-bottom: 1rem;
}

.image-preview img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg-tertiary);
}

.ocr-status {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: var(--accent);
  text-align: center;
  padding: 0.5rem;
  border-radius: 0 0 8px 8px;
  font-size: 0.85rem;
}

.scan-results {
  max-height: 400px;
  overflow-y: auto;
  border-radius: 8px;
  background: var(--bg-tertiary);
}

.scan-summary {
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--accent);
}

.scan-result-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}

.scan-result-item:hover {
  background: var(--bg-secondary);
}

.scan-result-item:last-child {
  border-bottom: none;
}

.scan-result-item .item-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--bg-secondary);
  border-radius: 6px;
  padding: 4px;
}

.scan-item-name {
  font-weight: 500;
}

.scan-item-count {
  color: var(--text-secondary);
  font-size: 0.8rem;
  display: block;
}

/* Search Section */
.search-section {
  margin-bottom: 1rem;
}

.search-container {
  position: relative;
}

#searchInput {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  /* Touch-friendly height */
  min-height: 56px;
}

#searchInput:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

#searchInput::placeholder {
  color: var(--text-secondary);
}

.search-hint {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* Quick Result */
.quick-result {
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
  animation: slideIn 0.2s ease-out;
}

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

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.result-title {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.result-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.result-qty {
  color: var(--accent);
  font-size: 0.9rem;
}

.result-action {
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.result-action.keep, .result-action.sell-excess { background: var(--keep); color: #000; }
.result-action.sell { background: var(--sell); color: #000; }
.result-action.recycle { background: var(--recycle); color: #fff; }
.result-action.evaluate { background: var(--evaluate); color: #fff; }

.result-advice {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.result-detailed {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.result-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.meta-item {
  background: var(--bg-tertiary);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Search Results */
.search-results {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 0.5rem;
  max-height: 250px;
  overflow-y: auto;
}

.search-result-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  transition: background 0.15s;
  /* Touch-friendly */
  min-height: 48px;
}

.search-result-item .item-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--bg-tertiary);
  border-radius: 6px;
  padding: 4px;
}

.sr-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.search-result-item:hover, .search-result-item:active {
  background: var(--bg-tertiary);
}

.search-result-item:last-child {
  border-bottom: none;
}

.sr-name {
  font-weight: 500;
}

.sr-category {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.sr-action {
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Filters */
.filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
}

.filter-btn {
  padding: 0.5rem 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.15s;
  white-space: nowrap;
  /* Touch-friendly */
  min-height: 40px;
}

.filter-btn:hover, .filter-btn:active {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 600;
}

.filter-btn.highlight {
  border-color: var(--priority-s);
  color: var(--priority-s);
}

.filter-btn.highlight.active {
  background: var(--priority-s);
  color: #000;
}

/* Category Nav */
.category-nav {
  display: flex;
  gap: 0.4rem;
  flex-wrap: nowrap;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cat-btn {
  padding: 0.35rem 0.65rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.15s;
  white-space: nowrap;
  /* Touch-friendly */
  min-height: 36px;
}

.cat-btn:hover, .cat-btn:active, .cat-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 212, 255, 0.1);
}

/* Items Grid */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.item-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  min-height: 90px;
}

.item-card:hover, .item-card:active {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.item-card-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: 8px;
  overflow: hidden;
}

.item-card-icon .item-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.item-card-content {
  flex: 1;
  min-width: 0;
}

.item-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.25rem;
  gap: 0.5rem;
}

.item-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.item-priority {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.priority-S { background: var(--priority-s); color: #fff; }
.priority-A { background: var(--priority-a); color: #000; }
.priority-B { background: var(--priority-b); color: #000; }
.priority-C { background: var(--priority-c); color: #fff; }
.priority-D { background: var(--priority-d); color: #fff; }

.item-category {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.item-recommendation {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.rec-keep { background: rgba(34, 197, 94, 0.2); color: var(--keep); }
.rec-sell { background: rgba(245, 158, 11, 0.2); color: var(--sell); }
.rec-recycle { background: rgba(139, 92, 246, 0.2); color: var(--recycle); }
.rec-evaluate { background: rgba(107, 114, 128, 0.2); color: var(--evaluate); }

.item-reason {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.item-value {
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 0.35rem;
}

/* Sections */
.section {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.section-header {
  padding: 0.875rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-tertiary);
  user-select: none;
  /* Touch-friendly */
  min-height: 48px;
}

.section-header:hover, .section-header:active {
  background: var(--bg-secondary);
}

.toggle-icon {
  transition: transform 0.2s;
}

.section.collapsed .toggle-icon {
  transform: rotate(-90deg);
}

.section-content {
  padding: 1rem;
  display: block;
}

.section.collapsed .section-content {
  display: none;
}

/* Workshop & Scrappy content */
.station-card, .scrappy-level {
  background: var(--bg-tertiary);
  border-radius: 8px;
  padding: 0.875rem;
  margin-bottom: 0.75rem;
}

.station-name, .level-title {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.station-current {
  display: inline-block;
  background: var(--keep);
  color: #000;
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

.upgrade-level {
  margin-left: 0.75rem;
  padding: 0.5rem 0;
  border-left: 2px solid var(--border);
  padding-left: 0.75rem;
  margin-bottom: 0.4rem;
}

.upgrade-level.unlocked {
  border-left-color: var(--keep);
}

.upgrade-level.next {
  border-left-color: var(--accent);
  background: rgba(0, 212, 255, 0.05);
  border-radius: 0 6px 6px 0;
  padding-right: 0.5rem;
}

.upgrade-level h4 {
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.materials-list {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.unlocks {
  font-size: 0.75rem;
  color: var(--keep);
  margin-top: 0.2rem;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  padding-top: calc(1rem + var(--safe-top));
  padding-bottom: calc(1rem + var(--safe-bottom));
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  max-height: 80dvh;
  overflow-y: auto;
  position: relative;
  padding: 1.25rem;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  /* Touch-friendly */
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-header-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.modal-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: 10px;
  overflow: hidden;
}

.modal-icon .item-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.modal-title-section {
  flex: 1;
  min-width: 0;
}

.modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.modal-item-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding-right: 2rem;
}

.modal-section {
  margin: 0.75rem 0;
  padding: 0.75rem;
  background: var(--bg-tertiary);
  border-radius: 8px;
}

.modal-section h4 {
  color: var(--accent);
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Loading */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 20, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.footer-note {
  color: var(--accent);
  margin-top: 0.35rem;
}

/* Utility */
.hidden {
  display: none !important;
}

/* Scrollbar - Desktop */
@media (hover: hover) {
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-track {
    background: var(--bg-primary);
  }

  ::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
  }
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .container {
    padding: 0.75rem;
    padding-top: calc(0.75rem + var(--safe-top));
    padding-bottom: calc(0.75rem + var(--safe-bottom));
  }

  header {
    padding: 1rem 0;
  }

  header h1 {
    font-size: 1.5rem;
  }

  .header-actions {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 0.75rem;
  }

  .filters, .category-nav {
    justify-content: flex-start;
  }

  .items-grid {
    grid-template-columns: 1fr;
  }

  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .result-action {
    margin-top: 0.5rem;
  }
}

/* Steam Overlay / Windows Game Bar - Compact mode */
@media (max-width: 400px), (max-height: 500px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0.5rem;
  }

  header {
    padding: 0.75rem 0;
  }

  header h1 {
    font-size: 1.25rem;
  }

  .subtitle {
    display: none;
  }

  .event-banner {
    font-size: 0.8rem;
    padding: 0.5rem;
  }

  #searchInput {
    padding: 0.75rem 1rem;
    min-height: 48px;
    font-size: 0.95rem;
  }

  .search-hint {
    display: none;
  }

  .quick-result {
    padding: 0.75rem;
  }

  .filters, .category-nav {
    gap: 0.25rem;
  }

  .filter-btn, .cat-btn {
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
    min-height: 36px;
  }

  .items-grid {
    gap: 0.5rem;
  }

  .item-card {
    padding: 0.65rem;
    min-height: 100px;
  }

  .item-name {
    font-size: 0.85rem;
  }

  .item-reason {
    font-size: 0.75rem;
  }

  footer {
    padding: 1rem 0;
    font-size: 0.7rem;
  }
}

/* Landscape phone optimization */
@media (max-height: 450px) and (orientation: landscape) {
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
  }

  header h1 {
    margin-bottom: 0;
  }

  .subtitle {
    display: none;
  }

  .header-actions {
    position: static;
    transform: none;
  }

  .event-banner {
    display: none;
  }

  .items-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* Print styles - hide unnecessary elements */
@media print {
  .header-actions,
  .filters,
  .category-nav,
  .event-banner,
  .profile-panel,
  .camera-panel,
  .search-hint,
  footer {
    display: none !important;
  }

  .items-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
