/* ==========================================================================
   D-ARTIST — Reusable Component System (components.css)
   Strict Monochrome Black / White / Grayscale Aesthetic
   No Glows, No Neon, No Emojis, Gallery-Grade Polish
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BUTTONS & ICON BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
  border: 1px solid transparent;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
}

.btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Primary Button: Solid White on Dark */
.btn-primary {
  background-color: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-primary:hover {
  background-color: var(--gray-200);
  border-color: var(--gray-200);
  color: var(--black);
}

.btn-primary:active {
  background-color: var(--gray-300);
}

/* Secondary Button: Subtle Surface with Crisp Border */
.btn-secondary {
  background-color: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background-color: var(--surface-hover);
  border-color: var(--border-strong);
  color: var(--white);
}

.btn-secondary:active {
  background-color: var(--surface-3);
}

/* Ghost Button: Transparent */
.btn-ghost {
  background-color: transparent;
  color: var(--muted);
  border-color: transparent;
}

.btn-ghost:hover {
  background-color: var(--surface-2);
  color: var(--white);
}

/* Danger Button: Subtle Monochrome Alert */
.btn-danger {
  background-color: var(--surface-2);
  color: #F87171;
  border-color: #451A1A;
}

.btn-danger:hover {
  background-color: #2D1414;
  border-color: #7F1D1D;
  color: #FCA5A5;
}

/* Sizes */
.btn-sm {
  padding: 6px 12px;
  font-size: var(--font-size-xs);
  gap: 6px;
}

.btn-sm svg {
  width: 13px;
  height: 13px;
}

.btn-lg {
  padding: 13px 26px;
  font-size: var(--font-size-base);
  gap: 10px;
}

.btn-lg svg {
  width: 18px;
  height: 18px;
}

.btn-block {
  width: 100%;
}

/* Disabled & Loading */
.btn:disabled, .btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: calc(50% - 8px);
  left: calc(50% - 8px);
  border: 2px solid rgba(120, 120, 120, 0.4);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: btnSpinner 0.6s linear infinite;
}

.btn-primary.btn-loading::after {
  border-top-color: var(--black);
}

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

/* Icon Buttons */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--text-dim);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.btn-icon:hover {
  background-color: var(--surface-hover);
  color: var(--white);
  border-color: var(--border-strong);
}

.btn-icon.active {
  background-color: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-icon-sm {
  width: 28px;
  height: 28px;
}

.btn-icon-sm svg {
  width: 14px;
  height: 14px;
}

.btn-icon-lg {
  width: 44px;
  height: 44px;
}

/* --------------------------------------------------------------------------
   2. FORM INPUTS, TEXTAREAS & GROUPS
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-label-required::after {
  content: " *";
  color: var(--white);
}

.form-input, .form-textarea, .form-select-native {
  width: 100%;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text);
  font-size: var(--font-size-sm);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-input:hover, .form-textarea:hover {
  border-color: var(--border-strong);
}

.form-input:focus, .form-textarea:focus {
  background-color: var(--surface-2);
  border-color: var(--border-focus);
  outline: none;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--muted-dark);
}

.form-input:disabled, .form-textarea:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.form-textarea {
  min-height: 96px;
  resize: vertical;
}

.form-hint {
  font-size: var(--font-size-xs);
  color: var(--muted-dark);
  line-height: 1.4;
}

.form-error {
  font-size: var(--font-size-xs);
  color: #F87171;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --------------------------------------------------------------------------
   3. CUSTOM REUSABLE DROPDOWN
   -------------------------------------------------------------------------- */
.custom-dropdown {
  position: relative;
  width: 100%;
  user-select: none;
}

.dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text);
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.dropdown-trigger:hover {
  border-color: var(--border-strong);
}

.custom-dropdown.is-open .dropdown-trigger {
  border-color: var(--border-focus);
  background-color: var(--surface-2);
}

.dropdown-trigger-icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.custom-dropdown.is-open .dropdown-trigger-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background-color: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  z-index: 120;
  display: none;
  max-height: 260px;
  overflow-y: auto;
  padding: 4px;
}

.custom-dropdown.is-open .dropdown-menu {
  display: block;
}

.dropdown-search-wrap {
  padding: 4px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

.dropdown-search-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 6px 10px;
  font-size: var(--font-size-xs);
  color: var(--text);
}

.dropdown-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: var(--font-size-sm);
  color: var(--text-dim);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-option:hover {
  background-color: var(--surface-hover);
  color: var(--white);
}

.dropdown-option.is-selected {
  background-color: var(--surface-3);
  color: var(--white);
  font-weight: 600;
}

.dropdown-option.is-selected::after {
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--white);
  border-radius: 50%;
}

.dropdown-option.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   4. CUSTOM DATE & TIME PICKER
   -------------------------------------------------------------------------- */
.date-picker-wrap, .time-picker-wrap {
  position: relative;
  width: 100%;
}

.date-picker-panel, .time-picker-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  z-index: 130;
  padding: 16px;
  width: 300px;
  display: none;
}

.date-picker-wrap.is-open .date-picker-panel,
.time-picker-wrap.is-open .time-picker-panel {
  display: block;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.calendar-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--white);
}

.calendar-nav-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-nav-btn:hover {
  color: var(--white);
  border-color: var(--border-strong);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: var(--font-size-2xs);
  font-weight: 600;
  color: var(--muted-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xs);
  color: var(--text-dim);
  border-radius: var(--radius-xs);
  cursor: pointer;
  background: transparent;
  border: none;
}

.calendar-day:hover {
  background: var(--surface-hover);
  color: var(--white);
}

.calendar-day.today {
  border: 1px solid var(--border-strong);
  color: var(--white);
}

.calendar-day.selected {
  background: var(--white);
  color: var(--black);
  font-weight: 700;
}

.calendar-day.other-month {
  color: var(--gray-700);
}

.calendar-day.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.calendar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* Time Picker List */
.time-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
  padding: 4px;
}

.time-slot {
  padding: 6px 4px;
  text-align: center;
  font-size: var(--font-size-xs);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text-dim);
  cursor: pointer;
}

.time-slot:hover {
  background: var(--surface-hover);
  color: var(--white);
}

.time-slot.selected {
  background: var(--white);
  color: var(--black);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   5. COLOR / THEME SELECTOR COMPONENT (Monochrome Architecture)
   -------------------------------------------------------------------------- */
.theme-selector-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: fit-content;
}

.theme-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-xs);
  background: transparent;
  border: none;
  transition: all var(--transition-fast);
}

.theme-pill-btn:hover {
  color: var(--white);
}

.theme-pill-btn.active {
  background: var(--surface-2);
  color: var(--white);
  font-weight: 600;
  box-shadow: var(--shadow-subtle);
}

.theme-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
}

.theme-swatch.dark-noir { background: #000000; }
.theme-swatch.gallery-gray { background: #1C1C1F; }
.theme-swatch.paper-light { background: #F4F4F5; }

/* --------------------------------------------------------------------------
   6. CUSTOM REUSABLE UPLOAD COMPONENT
   -------------------------------------------------------------------------- */
.uploader-box {
  width: 100%;
  border: 1px dashed var(--border-strong);
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.uploader-box:hover, .uploader-box.drag-over {
  border-color: var(--white);
  background-color: var(--surface-2);
}

.uploader-input-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.uploader-prompt-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 12px auto;
  color: var(--muted);
}

.uploader-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.uploader-subtitle {
  font-size: var(--font-size-xs);
  color: var(--muted);
  max-width: 380px;
  margin: 0 auto;
}

/* Upload Preview */
.upload-preview-wrap {
  margin-top: 14px;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  overflow: hidden;
}

.upload-preview-img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background-color: var(--black);
}

.upload-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.upload-remove-btn:hover {
  background: var(--black);
  border-color: var(--white);
}

/* --------------------------------------------------------------------------
   7. PROGRESS BARS & PROCESSORS
   -------------------------------------------------------------------------- */
.progress-track {
  width: 100%;
  height: 6px;
  background: var(--surface-3);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
  width: 0%;
}

.progress-bar-fill.processing {
  background: repeating-linear-gradient(
    -45deg,
    var(--white),
    var(--white) 10px,
    var(--gray-400) 10px,
    var(--gray-400) 20px
  );
  animation: progressStripes 1s linear infinite;
}

@keyframes progressStripes {
  0% { background-position: 0 0; }
  100% { background-position: 40px 0; }
}

.progress-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-xs);
  color: var(--muted);
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   8. ARTWORK CARD & MASONRY GALLERY
   -------------------------------------------------------------------------- */
.artwork-grid {
  column-count: 4;
  column-gap: 20px;
  width: 100%;
}

@media (max-width: 1400px) {
  .artwork-grid {
    column-count: 3;
    column-gap: 16px;
  }
}

@media (max-width: 900px) {
  .artwork-grid {
    column-count: 2;
    column-gap: 14px;
  }
}

@media (max-width: 520px) {
  .artwork-grid {
    column-count: 1;
    column-gap: 0;
  }
}

.artwork-card {
  position: relative;
  width: 100%;
  aspect-ratio: auto;
  height: auto;
  background-color: var(--surface, #121214);
  border-radius: var(--radius-sm, 6px);
  overflow: hidden;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
  cursor: pointer;
  user-select: none;
  display: block;
}

.artwork-card:hover {
  border-color: var(--border-hover, rgba(255, 255, 255, 0.22));
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.artwork-media-container {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
  background-color: #0b0b0d;
}

.artwork-media-link {
  display: block;
  width: 100%;
  height: auto;
  text-decoration: none;
}

.artwork-image {
  aspect-ratio: auto;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.artwork-card:hover .artwork-image {
  transform: scale(1.03);
}

.artwork-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(8, 8, 10, 0.94) 0%,
    rgba(8, 8, 10, 0.72) 45%,
    rgba(8, 8, 10, 0.32) 75%,
    rgba(8, 8, 10, 0) 100%
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
  padding: 40px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 0.3s ease;
}

.artwork-card:hover .artwork-overlay {
  background: linear-gradient(
    to top,
    rgba(5, 5, 7, 0.98) 0%,
    rgba(5, 5, 7, 0.82) 50%,
    rgba(5, 5, 7, 0.42) 80%,
    rgba(5, 5, 7, 0) 100%
  );
}

.editorial-art-overlay-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.editorial-art-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
  pointer-events: auto;
}

.editorial-art-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white, #ffffff);
  line-height: 1.25;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.editorial-art-title a {
  color: inherit;
  text-decoration: none;
}

.editorial-art-title a:hover {
  text-decoration: underline;
}

.editorial-art-medium-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.art-medium-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.art-dot-separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
}

.art-price-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold, #d4af37);
  display: inline-block;
  margin-top: 2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.art-price-text.available-tag {
  color: #4ade80;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.editorial-art-stats-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  pointer-events: auto;
  margin-bottom: 2px;
}

.art-stat-like-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 4px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  flex-shrink: 0;
  user-select: none;
}

.art-stat-like-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.art-stat-like-btn .like-icon-wrap {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform-origin: center center;
}

.art-stat-like-btn .like-icon-wrap svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  display: block;
}

.art-stat-like-btn .heart-filled {
  display: none;
}

.art-stat-like-btn.is-liked,
.art-stat-like-btn.active {
  background: rgba(244, 63, 94, 0.18);
  border-color: rgba(244, 63, 94, 0.45);
  color: #fb7185;
}

.art-stat-like-btn.is-liked:hover,
.art-stat-like-btn.active:hover {
  background: rgba(244, 63, 94, 0.28);
  border-color: rgba(244, 63, 94, 0.6);
  color: #fda4af;
}

.art-stat-like-btn.is-liked .heart-outline,
.art-stat-like-btn.active .heart-outline {
  display: none;
}

.art-stat-like-btn.is-liked .heart-filled,
.art-stat-like-btn.active .heart-filled {
  display: block;
  color: #f43f5e;
}

.art-stat-like-btn .like-count-display,
.art-stat-like-btn .count {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Keyframe Animations for Heart Pop & Settle */
@keyframes heartPop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.38);
  }
  65% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes heartSettle {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(0.85);
  }
  100% {
    transform: scale(1);
  }
}

.art-stat-like-btn.is-animating-like .like-icon-wrap,
.art-stat-like-btn.heart-pop .like-icon-wrap,
#btn-like-art.is-animating-like svg,
#btn-like-art.heart-pop svg,
button[data-action="like"].heart-pop svg {
  animation: heartPop 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.art-stat-like-btn.is-animating-unlike .like-icon-wrap,
#btn-like-art.is-animating-unlike svg,
button[data-action="like"].is-animating-unlike svg {
  animation: heartSettle 0.32s ease;
}

.art-stat-views {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 4px 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  flex-shrink: 0;
}

.art-stat-views svg,
.editorial-art-card .art-stat-views svg,
.artwork-card .art-stat-views svg {
  width: 13px !important;
  height: 13px !important;
  max-width: 13px !important;
  max-height: 13px !important;
  min-width: 13px !important;
  min-height: 13px !important;
  display: inline-block !important;
  position: static !important;
  flex-shrink: 0 !important;
  color: currentColor;
  stroke: currentColor;
  opacity: 0.85;
  vertical-align: middle;
}

.artwork-view-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted, #888);
  flex-shrink: 0;
}

.artwork-view-stat svg,
.artwork-view-stat .artwork-view-icon svg,
.artwork-view-stat .view-icon-wrap svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  display: inline-block !important;
  position: static !important;
  flex-shrink: 0 !important;
  color: currentColor;
  stroke: currentColor;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   9. ARTIST CARD
   -------------------------------------------------------------------------- */
.artist-card {
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.artist-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.artist-card-cover {
  width: 100%;
  height: 96px;
  object-fit: cover;
  background-color: var(--surface-2);
}

.artist-card-body {
  padding: 0 16px 16px 16px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.artist-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--surface);
  margin-top: -28px;
  background-color: var(--surface-2);
}

.artist-card-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.artist-card-name {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--white);
}

.artist-card-name:hover {
  text-decoration: underline;
}

.artist-card-handle {
  font-size: var(--font-size-xs);
  color: var(--muted);
}

.artist-card-specialty {
  font-size: var(--font-size-xs);
  color: var(--text-dim);
  margin: 6px 0 12px 0;
  line-height: 1.4;
  height: 34px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.artist-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px 0;
  margin-bottom: 12px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.artist-stat-val {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--white);
  display: block;
}

.artist-stat-lbl {
  font-size: var(--font-size-2xs);
  color: var(--muted);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   10. COLLECTION CARD
   -------------------------------------------------------------------------- */
.collection-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.collection-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.collection-cover-wrap {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
  background-color: var(--surface-2);
}

.collection-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.collection-card:hover .collection-cover {
  transform: scale(1.03);
}

.collection-badge-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(9, 9, 11, 0.85);
  border: 1px solid var(--border-strong);
  font-size: var(--font-size-2xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  color: var(--white);
}

.collection-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.collection-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--white);
}

.collection-desc {
  font-size: var(--font-size-xs);
  color: var(--muted);
  line-height: 1.5;
  height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.collection-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
  margin-top: 6px;
}

.collection-artist-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.collection-artist-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.collection-artist-name {
  font-size: var(--font-size-xs);
  color: var(--text-dim);
}

.collection-count-badge {
  font-size: var(--font-size-2xs);
  color: var(--muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   11. STAT CARD
   -------------------------------------------------------------------------- */
.stat-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-val {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat-trend {
  font-size: var(--font-size-xs);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   12. NOTIFICATION CARD
   -------------------------------------------------------------------------- */
.notification-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

.notification-card:hover {
  border-color: var(--border-strong);
}

.notification-card.unread {
  border-left: 3px solid var(--white);
  background-color: var(--surface-2);
}

.notif-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.notif-body {
  flex: 1;
}

.notif-text {
  font-size: var(--font-size-sm);
  color: var(--text);
  line-height: 1.4;
}

.notif-meta {
  font-size: var(--font-size-2xs);
  color: var(--muted);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   13. BADGES, PILLS & TAGS
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-2xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-dim);
}

.badge-verified {
  border-color: var(--border-strong);
  color: var(--white);
  background: var(--surface-3);
}

.badge-verified svg {
  width: 12px;
  height: 12px;
  fill: var(--white);
}

.pill-filter {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: var(--font-size-xs);
  font-weight: 500;
  border-radius: 0;
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.pill-filter:hover {
  color: var(--white);
  border-color: var(--border-strong);
}

.pill-filter.active {
  background-color: var(--white);
  color: var(--black);
  border-color: var(--white);
  font-weight: 600;
}

/* Tabs */
.tabs-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 10px 0;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.tab-btn:hover {
  color: var(--white);
}

.tab-btn.active {
  color: var(--white);
  border-bottom-color: var(--white);
  font-weight: 600;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-xs);
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.breadcrumb-separator {
  color: var(--muted-dark);
}

.breadcrumb-current {
  color: var(--white);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   14. FEEDBACK (TOAST, MODAL, CONFIRMATION, ALERT, EMPTY, SKELETON)
   -------------------------------------------------------------------------- */
/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: var(--font-size-sm);
  color: var(--white);
  box-shadow: var(--shadow-card);
  pointer-events: auto;
  animation: toastEnter 0.25s ease forwards;
}

.toast-leave {
  animation: toastLeave 0.25s ease forwards;
}

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

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

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-dialog {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  animation: modalEnter 0.2s ease forwards;
}

@keyframes modalEnter {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--white);
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

/* Alert Boxes */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: var(--font-size-sm);
  color: var(--text);
  margin-bottom: var(--space-md);
}

.alert svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-info { border-color: var(--border-strong); }
.alert-warning { border-color: #555522; background: #1C1C14; }
.alert-danger { border-color: #552222; background: #1C1414; }
.alert-success { border-color: #225522; background: #141C14; }

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 100%;
}

.empty-state-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px auto;
  color: var(--muted-dark);
}

.empty-state-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.empty-state-desc {
  font-size: var(--font-size-sm);
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 20px auto;
  line-height: 1.5;
}

/* Skeletons */
.skeleton-box {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.8s ease-in-out infinite;
  border-radius: var(--radius-xs);
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --------------------------------------------------------------------------
   15. ENGAGEMENT (RATING, LIKES, SAVES, SHARES)
   -------------------------------------------------------------------------- */
.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.rating-star-btn {
  background: transparent;
  border: none;
  color: var(--muted-dark);
  cursor: pointer;
  padding: 2px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.rating-star-btn svg {
  width: 16px;
  height: 16px;
}

.rating-star-btn:hover,
.rating-star-btn.active {
  color: var(--white);
}

.rating-star-btn:hover {
  transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   16. CINEMATIC 3-ZONE CENTERED NAVBAR (Permanently Fixed — Never Hides on Scroll)
   -------------------------------------------------------------------------- */
.site-header,
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  pointer-events: none;
}

.site-nav,
.navbar {
  pointer-events: auto;
  width: 100%;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), backdrop-filter var(--transition-fast), box-shadow var(--transition-fast);
}

.site-nav.scrolled,
.navbar.scrolled {
  background: rgba(8, 8, 10, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.nav-inner,
.nav-inner-centered {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 95%;
  margin: 0 auto;
  height: 74px;
  gap: 20px;
}

/* 1. Left Navigation Group */
.nav-left,
.nav-links-left {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: start;
}

/* 2. Centered Logo */
.nav-logo,
.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.brand-logo,
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo .brand-logo-img,
.nav-logo .brand-logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.brand-logo .logo-glyph,
.nav-logo .logo-glyph {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.brand-logo:hover .logo-glyph,
.nav-logo:hover .logo-glyph {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.brand-logo .brand-text,
.nav-logo .brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
}

/* 3. Right Navigation Group */
.nav-right,
.nav-links-right-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: end;
}

.nav-links-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link.active {
  color: var(--white);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--white);
}

.nav-link-cta {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 14px;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-link-cta:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* Desktop: Hide Mobile Toggle Buttons */
.mobile-menu-btn,
.mobile-search-btn {
  display: none !important;
}

@media (max-width: 960px) {
  .nav-inner,
  .nav-inner-centered {
    display: flex;
    justify-content: space-between;
    height: 64px;
  }

  .nav-links-left,
  .nav-links-right {
    display: none !important;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
  }
}

/* User Menu & Avatar */
.nav-user-dropdown-wrap {
  position: relative;
}

.nav-avatar-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  transition: border-color var(--transition-fast);
}

.nav-avatar-btn:hover {
  border-color: var(--white);
}

.user-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.nav-user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: rgba(14, 14, 18, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  padding: 6px;
  display: none;
  z-index: 1100;
}

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

.user-menu-header {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 4px;
}

.user-menu-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
}

.user-menu-handle {
  font-size: 11.5px;
  color: var(--muted);
}

.user-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
}

.user-menu-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.user-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}

/* --------------------------------------------------------------------------
   17. FULL-SCREEN BLURRED SEARCH OVERLAY (MODAL / OUT OF DOCUMENT FLOW)
   -------------------------------------------------------------------------- */
.search-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: none;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(40px, 10vh, 120px);
  padding-left: 20px;
  padding-right: 20px;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}

.search-overlay.is-open {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.search-overlay-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateY(-12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay.is-open .search-overlay-container {
  transform: translateY(0);
}

.search-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.search-overlay-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  border-radius: var(--radius-xs);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
  transition: all var(--transition-fast);
}

.search-overlay-close-btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.search-overlay-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.search-overlay-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(18, 18, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  gap: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-overlay-input-wrap:focus-within {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.search-overlay-input-icon {
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.search-overlay-input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: var(--white) !important;
  font-family: inherit;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
  -webkit-appearance: none;
  appearance: none;
}

.search-overlay-input:focus,
.search-overlay-input:focus-visible,
.search-overlay-input:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.search-overlay-input::-webkit-search-decoration,
.search-overlay-input::-webkit-search-cancel-button,
.search-overlay-input::-webkit-search-results-button,
.search-overlay-input::-webkit-search-results-decoration {
  display: none !important;
  -webkit-appearance: none;
}

.search-overlay-input::placeholder {
  color: var(--muted-dark);
}

.search-overlay-results {
  max-height: 50vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 4px;
}

.search-group-title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted-dark);
  padding: 10px 10px 4px 10px;
  letter-spacing: 0.1em;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  transition: background var(--transition-fast);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.search-result-item:hover, .search-result-item.is-selected {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.search-result-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 3px;
  background: var(--surface-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.search-result-thumb.thumb-avatar {
  border-radius: 50%;
}

.search-result-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search-result-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-meta {
  font-size: 11.5px;
  color: var(--muted);
}

.search-medium-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 10px 10px 10px;
}

.search-medium-chip {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.search-medium-chip:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.search-footer-action {
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.search-footer-action:hover {
  color: var(--gray-300);
}

/* --------------------------------------------------------------------------
   18. MOBILE NAVIGATION DRAWER
   -------------------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1100;
  display: none;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-body {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: rgba(10, 10, 12, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}

.mobile-nav-link {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--white);
}

.mobile-nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0;
}

/* --------------------------------------------------------------------------
   19. MINIMAL LEGAL LINE (NO TRADITIONAL FOOTER)
   -------------------------------------------------------------------------- */
.site-minimal-legal {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
  background: var(--bg);
  margin-top: var(--space-3xl);
}

.legal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}

.legal-brand {
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.legal-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.legal-links a:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   17. STUDIO SIDEBAR & LAYOUT
   -------------------------------------------------------------------------- */
.studio-layout {
  display: flex;
  min-height: calc(100vh - var(--nav-height));
  position: relative;
}

.studio-sidebar {
  width: var(--sidebar-width);
  background-color: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding: 24px 16px;
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}

.studio-workspace-area {
  flex: 1;
  padding: 32px clamp(16px, 3.5vw, 40px);
  max-width: 1200px;
}

.studio-menu-group {
  margin-bottom: 24px;
}

.studio-menu-label {
  font-size: var(--font-size-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-dark);
  padding: 0 12px;
  margin-bottom: 6px;
  display: block;
}

.studio-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  font-size: var(--font-size-sm);
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.studio-nav-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.studio-nav-item:hover {
  background-color: var(--surface-hover);
  color: var(--white);
}

.studio-nav-item.active {
  background-color: var(--surface-2);
  color: var(--white);
  border: 1px solid var(--border-strong);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   18. D-ARTIST EXHIBITION GALLERY WALL FOOTER (PUBLIC SITE ONLY)
   Strict Monochrome Black / White / Grayscale Architectural Aesthetic
   -------------------------------------------------------------------------- */
.exhibition-footer {
  background-color: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  margin-top: auto;
  position: relative;
  z-index: 10;
  width: 100%;
}

.exhibition-footer-container {
  width: 95%;
  max-width: none;
  margin: 0 auto;
  padding: 72px 0 32px 0;
}

/* 1. Hero Statement & Become an Artist CTA Card */
.footer-hero-section {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: stretch;
  margin-bottom: 56px;
}

.footer-statement-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
  display: block;
}

.footer-statement-title {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  font-family: var(--font-main);
}

.footer-statement-desc {
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 540px;
  line-height: 1.65;
  margin: 0;
}

/* Boxy Become an Artist CTA Card */
.footer-cta-card {
  background: #0d0d10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 20px;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.footer-cta-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.footer-cta-content {
  display: flex;
  flex-direction: column;
}

.footer-cta-kicker {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
  display: block;
}

.footer-cta-title {
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.footer-cta-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin: 0 0 20px 0;
  max-width: 260px;
}

.btn-footer-cta {
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #FFFFFF;
  border-radius: 2px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  width: fit-content;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-footer-cta:hover {
  background: #E4E4E7;
  color: #000000;
  border-color: #E4E4E7;
  transform: translateY(-1px);
}

.btn-footer-cta svg {
  transition: transform 0.2s ease;
}

.btn-footer-cta:hover svg {
  transform: translateX(3px);
}

.footer-cta-artwork-preview {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 160px;
  border-radius: 2px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cta-artwork-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.footer-cta-card:hover .footer-cta-artwork-img {
  transform: scale(1.05);
  opacity: 1;
}

.footer-cta-artwork-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 2. Navigation Directory Grid */
.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.35fr;
  gap: 36px;
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 48px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
}

.footer-col-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 18px 0;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-link {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  width: fit-content;
}

.footer-nav-link:hover {
  color: #FFFFFF;
  transform: translateX(2px);
}

/* Newsletter & Correspondence Column */
.footer-newsletter-col {
  padding-left: 12px;
}

.footer-newsletter-text {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  margin: 0 0 14px 0;
}

.footer-newsletter-form {
  margin-bottom: 18px;
}

.footer-input-group {
  display: flex;
  gap: 6px;
  align-items: center;
}

.footer-email-input {
  flex: 1;
  background: #0e0e12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  color: #FFFFFF;
  padding: 9px 12px;
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s ease;
}

.footer-email-input:focus {
  border-color: #FFFFFF;
}

.btn-footer-submit {
  width: 36px;
  height: 36px;
  background: #FFFFFF;
  color: #000000;
  border: none;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.btn-footer-submit:hover {
  background: #E4E4E7;
}

.footer-direct-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.footer-contact-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
}

.footer-contact-link {
  font-size: 13px;
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-mono, monospace);
  transition: opacity 0.2s ease;
}

.footer-contact-link:hover {
  opacity: 0.8;
}

/* 3. Final Gallery Wall Artwork Specimen Strip */
.footer-artwork-strip {
  margin-bottom: 48px;
}

.footer-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 11px;
}

.footer-strip-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
}

.footer-strip-sub {
  color: rgba(255, 255, 255, 0.4);
  font-size: 10.5px;
}

.footer-strip-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.footer-strip-item {
  position: relative;
  height: 90px;
  border-radius: 2px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  display: block;
}

.footer-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: grayscale(20%);
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.footer-strip-item:hover img {
  transform: scale(1.06);
  opacity: 1;
  filter: grayscale(0%);
}

.strip-item-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4px 6px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.footer-strip-item:hover .strip-item-meta {
  opacity: 1;
}

/* 5. Footer Brand Stage: Giant Background Wordmark + Centered Big White Emblem */
.footer-brand-stage {
  position: relative;
  width: 100%;
  margin: 56px auto 32px auto;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
}

.footer-giant-wordmark-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  font-family: var(--font-main);
  font-size: clamp(100px, 18.5vw, 320px);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.045);
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  transition: color 0.4s ease;
}

.footer-stage-logo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.footer-stage-logo-img {
  width: clamp(72px, 8vw, 100px);
  height: clamp(72px, 8vw, 100px);
  object-fit: contain;
  display: block;
  opacity: 0.96;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.95));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.footer-stage-logo-img:hover {
  transform: scale(1.08);
  opacity: 1;
}

.footer-brand-stage:hover .footer-giant-wordmark-bg {
  color: rgba(255, 255, 255, 0.07);
}

/* 5. Footer Bottom Bar / Legal & Signature */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
}

.footer-signature-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.5;
}

.footer-signature-brand,
.footer-signature-credits {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.01em;
}

.footer-motto {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.footer-credit-text {
  color: rgba(255, 255, 255, 0.45);
}

.footer-credit-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.footer-credit-link:hover {
  color: #FFFFFF;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-center {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: #FFFFFF;
}

.footer-bullet {
  color: rgba(255, 255, 255, 0.2);
  font-size: 10px;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .footer-hero-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-nav-grid {
    grid-template-columns: repeat(3, 1fr) 1.5fr;
    gap: 28px;
  }
  .footer-strip-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-strip-item:nth-child(n+4) {
    display: none;
  }
  .footer-brand-stage {
    min-height: 200px;
    margin: 44px auto 24px auto;
  }
  .footer-giant-wordmark-bg {
    font-size: clamp(80px, 17vw, 220px);
  }
  .footer-stage-logo-img {
    width: clamp(60px, 8vw, 80px);
    height: clamp(60px, 8vw, 80px);
  }
}

@media (max-width: 768px) {
  .exhibition-footer-container {
    padding: 56px 0 28px 0;
  }
  .footer-cta-card {
    grid-template-columns: 1fr;
  }
  .footer-cta-artwork-preview {
    display: none;
  }
  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .footer-newsletter-col {
    grid-column: 1 / -1;
    padding-left: 0;
  }
  .footer-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-strip-item:nth-child(n+3) {
    display: none;
  }
  .footer-brand-stage {
    min-height: 160px;
    margin: 36px auto 18px auto;
  }
  .footer-giant-wordmark-bg {
    font-size: clamp(58px, 16vw, 140px);
    letter-spacing: -0.04em;
  }
  .footer-stage-logo-img {
    width: 56px;
    height: 56px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-statement-title {
    font-size: 2.1rem;
  }
  .footer-brand-stage {
    min-height: 130px;
    margin: 28px auto 14px auto;
  }
  .footer-giant-wordmark-bg {
    font-size: clamp(42px, 16vw, 92px);
    letter-spacing: -0.03em;
  }
  .footer-stage-logo-img {
    width: 46px;
    height: 46px;
  }
  .footer-signature-block {
    gap: 8px;
  }
  .footer-signature-brand,
  .footer-signature-credits {
    gap: 6px;
    font-size: 11.5px;
  }
}

/* ==========================================================================
   ROLE-BASED NAVBAR & USER CONTROLS STYLING
   ========================================================================== */
.nav-anon-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-register-link {
  font-size: var(--font-size-xs);
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-register-link:hover {
  color: var(--white);
}

.nav-auth-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-notif-trigger {
  position: relative;
}

.nav-studio-cta,
.nav-admin-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
}

.user-menu-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: 6px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
}

.user-menu-badge.badge-artist {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.user-menu-badge.badge-admin {
  border-color: rgba(255, 255, 255, 0.35);
  background: var(--white);
  color: var(--black);
}

.user-menu-badge.badge-user {
  color: var(--muted);
}

.user-menu-link.highlight {
  background: var(--surface-hover);
  color: var(--white);
  font-weight: 600;
}

.user-menu-logout-btn {
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-family: inherit;
  font-size: var(--font-size-xs);
}

.user-menu-logout-btn:hover {
  color: var(--white);
  background: var(--surface-hover);
}

.mobile-drawer-auth-block {
  padding: 8px 0;
}

.mobile-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.user-avatar-sm {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* ==========================================================================
   DEVELOPER ROLE PREVIEW SWITCHER (DEV ONLY)
   Strict Monochrome Floating Controller
   ========================================================================== */
.dev-role-preview-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99999;
  font-family: var(--font-main);
}

.dev-preview-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 15, 15, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 24px;
  font-size: 11px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
}

.dev-preview-pill:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(24, 24, 24, 0.98);
}

.dev-preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  transition: background var(--transition-fast);
}

.dev-preview-dot.active {
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.dev-preview-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 10px;
}

.dev-preview-arrow {
  font-size: 9px;
  opacity: 0.7;
}

.dev-preview-panel {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  width: 320px;
  background: rgba(12, 12, 12, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.2s, transform 0.2s;
  transform-origin: bottom left;
}

.dev-role-preview-widget.is-collapsed .dev-preview-panel {
  display: none;
}

.dev-preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.dev-preview-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
}

.dev-preview-subtitle {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

.dev-preview-env-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--muted);
  padding: 2px 6px;
  border-radius: 4px;
}

.dev-preview-notice {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.dev-preview-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dev-preview-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dev-preview-option:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.dev-preview-option.is-selected {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.dev-preview-option input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--white);
  cursor: pointer;
}

.dev-preview-opt-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dev-preview-opt-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
}

.dev-preview-opt-desc {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.3;
}

.dev-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  font-size: 10px;
  color: var(--muted);
}

.dev-preview-status-line strong {
  color: var(--white);
  text-transform: uppercase;
}

.btn-dev-reset {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.btn-dev-reset:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   AUTHENTICATION PROMPT MODAL (ANONYMOUS ACTION INTERCEPT)
   ========================================================================== */
.auth-prompt-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-prompt-modal-backdrop.is-open {
  display: flex;
}

.auth-prompt-modal-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 440px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
  animation: authModalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authModalFadeIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-prompt-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.auth-prompt-close-btn:hover {
  color: var(--white);
}

.auth-prompt-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  color: var(--white);
}

.auth-prompt-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.auth-prompt-desc {
  font-size: var(--font-size-sm);
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.auth-prompt-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-prompt-artist-note {
  font-size: var(--font-size-xs);
  color: var(--muted);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.auth-prompt-artist-note a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}


