/* ============================
   GALLERY STYLES (artworks.html)
   ============================ */

/* Prevent double-tap-to-zoom on the entire gallery page */
body.gallery-mode {
  touch-action: manipulation;
}

/* Hide system cursor inside the gallery */
body.gallery-mode,
body.gallery-mode * {
  cursor: none !important;
}

html.gallery-mode,
html.gallery-mode * {
  cursor: none !important;
}

:fullscreen body.gallery-mode,
:fullscreen body.gallery-mode * {
  cursor: none !important;
}

:-webkit-full-screen body.gallery-mode,
:-webkit-full-screen body.gallery-mode * {
  cursor: none !important;
}

:fullscreen,
:fullscreen * {
  cursor: none !important;
}

:-webkit-full-screen,
:-webkit-full-screen * {
  cursor: none !important;
}

/* ============================
   ARTWORK VIEWER
   ============================ */

#artwork-viewer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#artwork-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 1;
  touch-action: none;
}

#artwork-container img {
  position: relative;
  display: block;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  cursor: none !important;
}

#artwork-container img:hover {
  transform: scale(1.01);
  box-shadow: 0 3px 8px rgba(0,0,0,0.9);
  cursor: none !important;
}

/* ============================
   GALLERY ARROWS
   ============================ */

.gallery-arrow {
  position: absolute;
  top: calc(50% + var(--safe-top) / 2);
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  padding: 0.6rem 1rem;
  font-size: 2rem;
  border-radius: 6px;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 3000;
  touch-action: manipulation;
  direction: ltr;
  unicode-bidi: isolate;
}

.gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.85);
  color: white;
  cursor: none;
}

@media (max-width: 900px) {
  .gallery-arrow {
    opacity: 0.20;
  }
}

#art-prev { left: 20px; }
#art-next { right: 20px; }

/* ============================
   GALLERY EXIT
   ============================ */

.gallery-exit {
  position: static;
  background: rgba(255,255,255,0.9);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.gallery-exit:hover {
  background: black;
  color: white;
  cursor: none;
}

/* ============================
   ICON BUTTONS (Fullscreen, Settings, etc.)
   ============================ */

.icon-btn {
  background: rgba(255,255,255,0.9);
  border: none;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  color: #111;
  user-select: none;
  pointer-events: auto;
}

.icon-btn:hover {
  background: black;
  color: white;
  cursor: none;
}

.icon-btn span {
  font-size: 1.5rem;
}

/* Fullscreen icon swap */
#fs-toggle-btn .fs-exit { display: none; }
#fs-toggle-btn.is-fullscreen .fs-enter { display: none; }
#fs-toggle-btn.is-fullscreen .fs-exit { display: inline; }

@media (pointer: coarse) {
  #fs-toggle-btn { display: none !important; }
}

#filter-toggle,
#filter-toggle:hover {
  cursor: none !important;
}

/* ============================
   FILTER PANEL
   ============================ */

#filter-panel {
  z-index: 3999;
  position: fixed;
  top: 100px;
  right: 20px;
  background: rgba(255,255,255,0.85);
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
}

#filter-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#filter-panel,
#filter-panel * {
  cursor: none !important;
}

#art-filter select {
  padding: 4px 6px;
  border-radius: 4px;
  border: none;
  background: #f0f0f0;
  font-size: 0.9rem;
}

#art-filter input[type="search"] {
  padding: 4px 8px;
  border-radius: 6px;
  border: none;
  background: #f0f0f0;
  font-size: 0.9rem;
  width: 220px;
}

@media (max-width: 520px) {
  #art-filter input[type="search"] {
    width: 140px;
  }
}

/* ============================
   ZOOM CONTROLS
   ============================ */

#zoom-controls {
  position: absolute;
  bottom: calc(20px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  z-index: 3500;
  background: rgba(255,255,255,0.85);
  padding: 6px 8px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.35);
}

.zoom-btn {
  background: black;
  color: white;
  border: none;
  padding: 0.45rem 0.8rem;
  font-size: 1rem;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
  transition: background 0.3s ease, color 0.3s ease;
}

.zoom-btn:hover {
  background: white;
  color: black;
  cursor: none;
}

#zoom-label {
  font-size: 1rem;
  color: #333;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

/* ============================
   CUSTOM DESKTOP CURSOR
   ============================ */

#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.12s ease, height 0.12s ease, background 0.18s ease;
  z-index: 99999;
  opacity: 0;
}

.cursor-ripple {
  animation: cursorRipple 0.35s ease-out forwards;
}

@keyframes cursorRipple {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

button:hover ~ #custom-cursor,
.gallery-arrow:hover ~ #custom-cursor,
.zoom-btn:hover ~ #custom-cursor {
  width: 22px !important;
  height: 22px !important;
}

@media (pointer: fine) {
  body.gallery-mode {
    cursor: none !important;
  }
  body.gallery-mode #custom-cursor {
    opacity: 1;
  }
}

@media (pointer: coarse) {
  body.gallery-mode #custom-cursor { display: none !important; }
}

/* ============================
   BACKGROUND SELECTOR
   ============================ */

#background-selector {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.bg-thumb {
  width: 42px;
  height: 28px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  opacity: 0.7;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.bg-thumb:hover {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.45);
}

.bg-thumb.active {
  opacity: 1;
  outline: 2px solid rgba(0,0,0,0.6);
}

/* ============================
   LIGHTBOX
   ============================ */

#lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 6000;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}

@supports (height: 100dvh) { #lightbox { height: 100dvh; } }

#lightbox-content {
  background: rgba(255, 255, 255, 0.9);
  max-width: 90vw;
  width: auto;
  max-height: 85vh;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4vh;
  margin-bottom: 4vh;
  overflow-y: auto;
  padding: 0;
  padding-bottom: calc(4.5rem + var(--safe-bottom));
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8);
  color: #393939;
  text-align: left;
  scroll-padding-bottom: 6rem;
  position: relative;
  display: inline-block;
  align-self: center;
}

@media (max-width: 900px) {
  #lightbox-content {
    max-height: 85vh;
    margin-top: 10vh;
  }
}

#lb-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

#lb-size {
  font-weight: bold;
  margin-bottom: 0.8rem;
}

#lb-meta {
  font-style: italic;
  color: #9a9a9a;
  font-size: 0.85rem;
  line-height: 1.3;
  margin-top: -0.4rem;
  margin-bottom: 1rem;
}

#lb-description {
  margin-bottom: 2rem;
}

#lb-purchase {
  color: rgb(80, 80, 80);
  font-weight: 600;
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.3s ease;
}

#lb-purchase:hover {
  color: rgb(0, 0, 0);
  cursor: none;
}

#lb-policies {
  border: none;
  background: transparent;
  color: rgb(80, 80, 80);
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

#lb-policies:hover {
  color: #000;
  background: rgba(0,0,0,0.06);
}

#lb-close {
  position: fixed;
  top: calc(6px + var(--safe-top));
  right: 12px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 0.45rem 0.9rem;
  font-size: 1.1rem;
  border-radius: 4px;
  z-index: 7000;
}

#lb-close:hover {
  background: #565656;
}

#lb-img {
  width: auto;
  max-width: 85vw;
  height: auto;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-height: 60vh;
  background: none;
  box-shadow: 0 2.5px 5px rgba(0, 0, 0, 0.8);
}

@supports (height: 100dvh) {
  #lb-img {
    max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 200px);
  }
}

/* ============================
   LIGHTBOX IMAGE MAGNIFIER
   ============================ */

#lb-magnifier {
  position: fixed;
  width: 250px;
  height: 250px;
  border-radius: 10%;
  border: 2px solid rgba(255,255,255,0.85);
  background-repeat: no-repeat;
  background-size: 250%;
  pointer-events: none;
  box-shadow: 0 8px 18px rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 8000;
}

@media (pointer: coarse) {
  #lb-magnifier {
    display: none !important;
  }
}

#lb-title,
#lb-size,
#lb-meta,
#lb-description,
#lb-art-meta {
  padding: 0 1.2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

#lb-art-meta {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: #333;
  background: rgba(255, 255, 255, 0.6);
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  width: fit-content;
  margin-left: auto;
  margin-right: 1.5rem;
}

#lb-art-meta:hover {
  color: #ffffff;
  background: rgba(224, 224, 224, 0.6);
  cursor: none;
}

#lb-art-price {
  font-weight: 100;
  color: #9a9a9a;
  cursor: none;
}

#lb-policies-view {
  display: none;
  padding: 1.2rem 1.2rem 1.3rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

#lb-policies-view .lb-policies-back {
  border: none;
  background: rgba(0,0,0,0.06);
  color: #333;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
}

#lb-policies-view .lb-policies-back:hover {
  background: rgba(0,0,0,0.12);
}

/* ============================
   STATUS DOTS (availability)
   ============================ */

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.green-dot {
  background-color: #2ecc71;
}

.red-dot {
  background-color: #e74c3c;
}

.disabled-purchase {
  color: #777 !important;
  pointer-events: none !important;
  filter: grayscale(100%);
}

/* ============================
   POLICIES MODAL (in-gallery)
   ============================ */

#policies-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 6500;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}

#policies-lightbox-content {
  width: min(820px, calc(100vw - 32px));
  max-height: 86vh;
  overflow: auto;
  padding: 2.2rem 2.2rem;
  background: rgba(0,0,0,0.38);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.94);
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
  box-sizing: border-box;
}

#policies-lightbox-content .policies-title,
#policies-lightbox-content .policies-section h2 {
  color: rgba(255,255,255,0.96);
}

#policies-lightbox-content .policies-sub,
#policies-lightbox-content .policies-section p,
#policies-lightbox-content .policies-footer {
  color: rgba(255,255,255,0.90);
}

#policies-lightbox-content .policies-footer a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  transition: color 0.25s ease;
}

#policies-lightbox-content .policies-footer a:hover {
  color: rgba(230,230,230,0.95);
}

#policies-lightbox-content .lb-policies-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

#policies-lightbox-content .lb-policies-back,
#policies-lightbox-content .lb-policies-close {
  border: none;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: background 0.25s ease, color 0.25s ease;
}

#policies-lightbox-content .lb-policies-back:hover,
#policies-lightbox-content .lb-policies-close:hover {
  background: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.98);
}

@media (max-width: 520px) {
  #policies-lightbox-content {
    padding: 1.6rem 1.3rem;
    max-height: 88vh;
  }
}

.policies-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: background 0.25s ease, color 0.25s ease;
}

.policies-page-btn:hover {
  background: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.98);
}

/* ============================
   VIEW ALL (GRID OVERLAY)
   ============================ */

#viewall-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 9000;
  opacity: 0;
  transition: opacity 0.35s ease;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}

#viewall-overlay,
#viewall-overlay * {
  cursor: none !important;
}

#viewall-overlay.active { display: flex; }
#viewall-overlay.show { opacity: 1; }

#viewall-panel {
  width: min(1100px, 92vw);
  height: min(78vh, 820px);
  background: rgba(255,255,255,0);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#viewall-topbar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0);
  gap: 10px;
  padding: 12px 14px;
}

#viewall-search {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0,0,0,0.6);
  color: #ffffff;
  font-size: 0.95rem;
  caret-color: #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

#viewall-search::placeholder {
  color: rgba(255,255,255,0.65);
}

#viewall-grid {
  flex: 1;
  overflow: auto;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  align-content: start;
  grid-auto-rows: 1fr;
}

.viewall-tile {
  position: relative;
  display: block;
  background: rgba(238,237,234);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
  overflow: hidden;
  cursor: pointer;
  height: 0;
  padding-bottom: 100%;
}

.viewall-tile img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 6px 14px rgba(0,0,0,0.28);
  border-radius: 4px;
}

.viewall-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0));
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.viewall-tile:hover .viewall-hover { opacity: 1; }

.viewall-hover .meta {
  width: 100%;
  text-align: left;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.viewall-hover .title {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.1;
}

.viewall-hover .artist {
  font-size: 0.78rem;
  opacity: 0.9;
  margin-top: 4px;
}

#viewall-count {
  padding: 10px 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(0,0,0,0.08);
}

@media (max-width: 520px) {
  #viewall-panel { width: 96vw; height: 82vh; }
  #viewall-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* ============================
   ARTISTS (GRID OVERLAY)
   ============================ */

#artists-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 9000;
  opacity: 0;
  transition: opacity 0.35s ease;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}

#artists-overlay,
#artists-overlay * {
  cursor: none !important;
}

#artists-overlay.active { display: flex; }
#artists-overlay.show { opacity: 1; }

#artists-panel {
  width: min(1100px, 92vw);
  height: min(78vh, 820px);
  background: rgba(255,255,255,0);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#artists-topbar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0);
  gap: 10px;
  padding: 12px 14px;
}

#artists-search {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0,0,0,0.6);
  color: #ffffff;
  font-size: 0.95rem;
  caret-color: #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

#artists-search::placeholder {
  color: rgba(255,255,255,0.65);
}

#artists-grid {
  flex: 1;
  overflow: auto;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  align-content: start;
  grid-auto-rows: 1fr;
}

.artist-tile {
  position: relative;
  display: block;
  background: rgba(238,237,234);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
  overflow: hidden;
  cursor: pointer;
  height: 0;
  padding-bottom: 100%;
}

.artist-tile img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 82%;
  max-height: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 6px 14px rgba(0,0,0,0.28);
  border-radius: 6px;
}

.artist-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0));
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.artist-tile:hover .artist-hover { opacity: 1; }

.artist-hover .meta {
  width: 100%;
  text-align: left;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.artist-hover .name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.1;
}

.artist-hover .role {
  font-size: 0.78rem;
  opacity: 0.9;
  margin-top: 4px;
}

#artists-count {
  padding: 10px 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(0,0,0,0.08);
}

@media (max-width: 520px) {
  #artists-panel { width: 96vw; height: 82vh; }
  #artists-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* ============================
   ARTIST BIO MODAL
   ============================ */

#artistbio-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 9500;
  opacity: 0;
  transition: opacity 0.35s ease;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}

#artistbio-overlay,
#artistbio-overlay * {
  cursor: none !important;
}

#artistbio-overlay.active { display: flex; }
#artistbio-overlay.show { opacity: 1; }

#artistbio-panel {
  width: min(820px, calc(100vw - 32px));
  max-height: 86vh;
  overflow: auto;
  padding: 1.2rem 1.2rem 1.6rem;
  background: rgba(0,0,0,0.38);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.94);
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
  box-sizing: border-box;
}

#artistbio-topbar {
  display: flex;
  justify-content: right;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.9rem;
}

#artistbio-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#artistbio-img {
  width: min(240px, 70vw);
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.45);
  margin: 0.2rem 0 1rem;
}

#artistbio-name {
  margin: 0.2rem 0 0.4rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.03em;
}

#artistbio-title {
  margin: 0 0 1rem;
  font-style: italic;
  opacity: 0.92;
}

#artistbio-bio {
  margin: 0 0 1.2rem;
  line-height: 1.6;
  max-width: 62ch;
}

#artistbio-link {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: background 0.25s ease, color 0.25s ease;
}

#artistbio-link:hover {
  background: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.98);
}
