.lucide { width: 18px; height: 18px; flex: 0 0 18px; vertical-align: middle; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; background: transparent; color: var(--white); border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.icon-button:hover { background: rgba(255,255,255,.09); }
.icon-button:disabled { opacity: .5; cursor: wait; }
.artist-profile { --profile-accent: #f0cd85; letter-spacing: 0; }
.accent-teal { --profile-accent: #80ddd0; }
.accent-rose { --profile-accent: #f4a8b8; }
.accent-blue { --profile-accent: #a9caff; }
.artist-profile h1, .artist-profile h2, .artist-profile h3, .artist-studio h1, .artist-studio h2 { font-family: "DM Sans", system-ui, sans-serif; letter-spacing: 0; }
.artist-profile h2, .artist-studio h2 { font-size: var(--text-panel); }
.profile-notice { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; font-size: 14px; color: var(--gold-soft); }
.profile-cover { max-height: 300px; height: 24vw; min-height: 140px; overflow: hidden; }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.social-profile-header { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 44px; padding-top: 44px; padding-bottom: 36px; }
.profile-avatar { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; border: 3px solid var(--profile-accent); padding: 4px; background: var(--ink); }
.profile-name-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.profile-name-row h1 { font-size: var(--text-workspace); line-height: 1.2; margin: 0; overflow-wrap: anywhere; }
.profile-location { color: var(--muted); margin: 8px 0 18px; }
.profile-counts { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.profile-counts b { font-size: 17px; margin-right: 4px; }
.profile-headline { font-weight: 700; margin: 22px 0 8px; }
.profile-bio { color: #dcebe7; max-width: 700px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; margin: 8px 0; }
.profile-socials { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0; color: var(--profile-accent); font-size: 14px; }
.profile-socials a, .profile-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.profile-actions { margin-top: 20px; flex-wrap: wrap; }
.profile-actions .btn-primary { background: var(--profile-accent); color: #041313; }
.profile-booking { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 28px; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.profile-booking h2 { margin: 0; }
.profile-booking p { margin: 8px 0 0; font-size: 14px; }
.live-availability { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) 44px; align-items: end; gap: 12px; }
.live-availability label { min-width: 0; font-size: 13px; color: var(--muted); }
.live-availability input { display: block; width: 100%; min-width: 0; height: 44px; margin-top: 6px; color-scheme: dark; }
.live-availability .availability-result { grid-column: 1 / -1; min-height: 20px; margin: 0; color: var(--muted); }
.availability-result[data-status="available"] { color: #80ddd0; }
.availability-result[data-status="booked"], .availability-result[data-status="unavailable"], .field-error { color: #f4a8b8; }
.profile-content { padding-bottom: 36px; }
.profile-tabs { display: flex; justify-content: center; gap: 32px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.profile-tabs a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 6px; color: var(--muted); font-size: 14px; border-bottom: 2px solid transparent; }
.profile-tabs a.active { color: var(--profile-accent, var(--gold-soft)); border-bottom-color: currentColor; }
#profile-content, .artist-studio [id] { scroll-margin-top: 105px; }
.artist-post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 12px; }
.artist-post { margin: 0; min-width: 0; }
.post-visual { position: relative; aspect-ratio: 1; background: #102423; overflow: hidden; }
.layout-portrait .post-visual { aspect-ratio: 3 / 4; }
.post-visual > a { display: block; width: 100%; height: 100%; }
.post-visual img, .post-visual video { width: 100%; height: 100%; object-fit: cover; }
.post-visual video { object-fit: contain; background: #080d0d; }
.media-unavailable:not([hidden]) { display: flex; height: 100%; align-items: center; justify-content: center; flex-direction: column; gap: 12px; padding: 20px; color: var(--muted); text-align: center; font-size: 13px; }
.post-visual video[hidden] { display: none; }
.post-pin { position: absolute; top: 10px; right: 10px; background: #041313; color: #f0cd85; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; pointer-events: none; }
.artist-post figcaption { padding: 14px 4px; font-size: 14px; }
.post-artist { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.post-artist img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.post-artist b, .post-title, .post-caption { overflow-wrap: anywhere; }
.post-title { display: block; }
.post-caption { margin: 7px 0; line-height: 1.6; color: #c7d6d2; white-space: pre-line; }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--profile-accent, var(--gold-soft)); margin: 10px 0; overflow-wrap: anywhere; }
.post-tags a { max-width: 100%; }
.post-like .engagement-btn { display: inline-flex; align-items: center; gap: 8px; }
.profile-empty { text-align: center; padding: 60px 12px; }
.profile-empty > .lucide { width: 40px; height: 40px; color: var(--muted); }
.profile-about { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; margin: 32px 0; }
.profile-details { margin: 0; }
.profile-details > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.profile-details dt { font-size: 13px; color: var(--muted); }
.profile-details dd { margin: 6px 0 0; overflow-wrap: anywhere; }
.preserve-lines { white-space: pre-line; overflow-wrap: anywhere; }
.availability-windows > div { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--line); }
.home-artists { grid-template-columns: repeat(3,minmax(0,1fr)); }
.artist-studio h1 { font-size: var(--text-workspace); }
.studio-nav { display: flex; gap: 24px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; font-size: 14px; }
.artist-studio .admin-grid > .panel, .artist-studio .wrap > .panel, .artist-studio .wrap > section.panel { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 24px 0; }
.appearance-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
.appearance-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.appearance-form legend { font-size: 14px; margin-bottom: 12px; }
.color-options { display: flex; flex-wrap: wrap; gap: 14px; }
.color-option { position: relative; display: grid; justify-items: center; gap: 6px; font-size: 12px; }
.color-option input { position: absolute; opacity: 0; width: 40px; height: 40px; margin: 0; }
.color-option .swatch { width: 36px; height: 36px; border-radius: 50%; display: block; border: 3px solid var(--ink); }
.swatch-gold { background: #f0cd85; }.swatch-teal { background: #80ddd0; }.swatch-rose { background: #f4a8b8; }.swatch-blue { background: #a9caff; }
.color-option input:checked + .swatch { outline: 2px solid white; }
.color-option input:focus-visible + .swatch { outline: 3px solid var(--gold); outline-offset: 3px; }
.layout-options { display: flex; gap: 18px; }
.layout-options label { display: inline-flex; align-items: center; gap: 8px; }
.layout-options input { width: 18px; height: 18px; }
.studio-post-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.post-editor { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 36px; }
.post-editor img, .post-editor video { width: 100%; max-height: 580px; object-fit: contain; }
.post-editor h1 { font-family: "DM Sans", system-ui, sans-serif; font-size: var(--text-workspace); }
.onboarding-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 32px; }
.onboarding-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.onboarding-list .done { color: #80ddd0; }
.onboarding-list .review { color: var(--gold-soft); }
.reminder-preference { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 20px 0; }
.live-message-status { color: var(--muted); font-size: 12px; min-height: 18px; }
.message-bubble p { white-space: pre-wrap; overflow-wrap: anywhere; }
.conversation-layout h1 { font-size: 26px; letter-spacing: 0; overflow-wrap: anywhere; }
.conversation-layout h1, .conversation-layout h2 { font-family: "DM Sans", system-ui, sans-serif; }
.conversation-layout h2 { font-size: var(--text-panel); letter-spacing: 0; line-height: 1.3; }
.conversation-layout > .panel { background: none; border: 0; box-shadow: none; padding: 16px 0; }
.conversation-layout .message-bubble > div { flex-wrap: wrap; font-size: 13px; gap: 4px 12px; }
@media (max-width: 760px) {
  .conversation-layout { display: flex; flex-direction: column-reverse; }
  .conversation-layout > .panel { width: 100%; }
  .conversation-layout .detail-grid.single { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .conversation-layout .message-form { grid-template-columns: minmax(0,1fr); }
  .social-profile-header { grid-template-columns: 88px minmax(0,1fr); gap: 20px; padding-top: 28px; }
  .profile-avatar { width: 88px; height: 88px; }
  .profile-name-row h1 { font-size: 26px; }
  .profile-counts { gap: 14px; }
  .profile-booking, .profile-about, .post-editor, .appearance-form { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .profile-tabs { justify-content: space-between; gap: 8px; }
  .artist-post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 8px; }
  .home-artists { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 480px) {
  .social-profile-header { grid-template-columns: 64px minmax(0,1fr); gap: 16px; }
  .profile-identity { display: contents; }
  .profile-name-row { grid-column: 2; grid-row: 1; }
  .profile-identity > :not(.profile-name-row) { grid-column: 1 / -1; margin-top: 0; margin-bottom: 0; }
  .profile-avatar { width: 64px; height: 64px; padding: 2px; }
  .profile-name-row h1 { font-size: 23px; }
  .profile-counts { gap: 12px; font-size: 12px; }.profile-counts b { font-size: 14px; }
  .profile-actions .btn { width: 100%; justify-content: center; padding: 12px; }
  .profile-tabs a { font-size: 13px; gap: 5px; }
  .profile-tabs .lucide { width: 16px; height: 16px; flex-basis: 16px; }
  .artist-post figcaption { font-size: 12px; padding: 10px 2px; }
  .home-artists, .onboarding-list { grid-template-columns: minmax(0,1fr); }
  .studio-nav { gap: 16px; }
}
