/**
 * GigGo Profile — Neon Glassmorphism (หน้า ฉัน)
 */

#screen-myprofile.is-gig-profile {
  background: #0a0f1a;
  position: relative;
  overflow: hidden;
}

#screen-myprofile.is-gig-profile::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 40% at 10% 15%, rgba(34, 211, 238, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 45% at 92% 22%, rgba(236, 72, 153, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 88%, rgba(139, 92, 246, 0.16), transparent 55%),
    #0f172a;
}

#screen-myprofile.is-gig-profile .screen-header {
  position: relative;
  z-index: 2;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(167, 139, 250, 0.2);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.08);
}

#screen-myprofile.is-gig-profile #myprofile-content.scroll-area {
  position: relative;
  z-index: 1;
  background: transparent;
}

.gig-profile-root--neon {
  position: relative;
  padding-bottom: 24px;
}

.gig-profile-root--neon .gig-profile-block,
.gig-profile-root--neon .gig-section,
.gig-profile-root--neon .gig-cta-banner {
  margin-left: 14px;
  margin-right: 14px;
}

/* ——— Hero glass plate ——— */
.gig-profile-hero--neon {
  margin: 10px 14px 14px;
  border-radius: 24px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow:
    0 0 0 1px rgba(236, 72, 153, 0.08) inset,
    0 8px 40px rgba(139, 92, 246, 0.2),
    0 0 60px rgba(34, 211, 238, 0.06);
  overflow: hidden;
}

.gig-profile-hero--neon .gig-profile-hero__bg {
  opacity: 0.68;
  filter: blur(10px) saturate(1.2);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

/* รูปที่อัปโหลดเอง — ชัดเต็มกรอบ ไม่เบลอ */
.gig-profile-hero--neon.gig-profile-hero--custom-bg .gig-profile-hero__bg {
  opacity: 1;
  filter: none;
  transform: none;
  background-size: cover;
}

.gig-profile-hero--neon.gig-profile-hero--custom-bg .gig-profile-hero__bg::after {
  display: none;
}

.gig-profile-hero__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.25) 0%,
    rgba(15, 23, 42, 0.55) 45%,
    rgba(15, 23, 42, 0.88) 100%
  );
  pointer-events: none;
}

.gig-profile-hero--neon.gig-profile-hero--custom-bg .gig-profile-hero__bg-overlay {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.04) 0%,
    rgba(15, 23, 42, 0.18) 50%,
    rgba(15, 23, 42, 0.48) 100%
  );
}

[data-theme="light"] .gig-profile-hero__bg-overlay {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(238, 241, 246, 0.75) 55%,
    rgba(238, 241, 246, 0.95) 100%
  );
}

[data-theme="light"] .gig-profile-hero--neon.gig-profile-hero--custom-bg .gig-profile-hero__bg-overlay {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.55) 100%
  );
}

[data-theme="light"] .gig-band-badge-popover {
  background: rgba(255, 255, 255, 0.98);
  color: #1e293b;
  border-color: rgba(124, 58, 237, 0.35);
}

[data-theme="light"] .gig-band-badge-popover::after {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(124, 58, 237, 0.35);
}

[data-theme="light"] .gig-band-badge-popover__title {
  color: #6d28d9;
}

[data-theme="light"] .gig-band-badge-popover__name {
  color: #334155;
}

.gig-profile-hero--neon .gig-profile-hero__glass {
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gig-profile-hero--neon.gig-profile-hero--custom-bg .gig-profile-hero__glass {
  background: rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(5px) saturate(130%);
  -webkit-backdrop-filter: blur(5px) saturate(130%);
}

.gig-profile-hero--neon .gig-hero-kicker {
  text-shadow: 0 0 12px rgba(196, 181, 253, 0.6);
}

.gig-profile-hero--neon .gig-hero-title {
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.35);
}

.gig-profile-hero--neon .gig-hero-sub {
  color: rgba(226, 232, 240, 0.85);
}

.gig-profile-hero--neon .gig-chip {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(167, 139, 250, 0.25);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.12);
}

.gig-btn-primary--glass {
  background: rgba(139, 92, 246, 0.22) !important;
  border: 1px solid rgba(196, 181, 253, 0.55) !important;
  backdrop-filter: blur(12px);
  box-shadow:
    0 0 20px rgba(139, 92, 246, 0.35),
    0 0 40px rgba(236, 72, 153, 0.12) !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

.gig-btn-primary--glass:hover {
  box-shadow: 0 0 28px rgba(167, 139, 250, 0.55) !important;
}

/* ——— Neon avatar + guitar ——— */
.gig-avatar-stack {
  position: relative;
  width: 122px;
  margin: 0 auto 14px;
}

.gig-neon-avatar {
  position: relative;
  width: 100%;
  height: 122px;
  margin: 0;
}

.gig-avatar-gallery-btn {
  position: absolute;
  bottom: 0;
  left: -4px;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.55);
  background: rgba(15, 23, 42, 0.92);
  color: #e9d5ff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35), 0 0 16px rgba(139, 92, 246, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gig-avatar-gallery-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 22px rgba(139, 92, 246, 0.5);
}

.gig-avatar-gallery-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.gig-avatar-gallery-btn__count {
  line-height: 1;
  min-width: 1ch;
}

.gig-photo-gallery-view {
  padding: 4px 0 8px;
}

.gig-photo-gallery-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--text-muted, #94a3b8);
}

.gig-photo-gallery-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch;
}

.gig-photo-gallery-item {
  flex: 0 0 min(88%, 320px);
  scroll-snap-align: center;
  margin: 0;
  text-align: center;
}

.gig-photo-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.gig-photo-gallery-item figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted, #94a3b8);
}

.gig-gallery-edit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 48px;
  margin-bottom: 10px;
}

.gig-gallery-edit-empty {
  width: 100%;
  margin: 0;
  font-size: 12px;
  color: var(--text-muted, #94a3b8);
}

.gig-gallery-edit-item {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.gig-gallery-edit-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gig-gallery-edit-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.gig-gallery-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.gig-gallery-edit-actions .gig-visual-url {
  flex: 1 1 160px;
  min-width: 0;
}

.gig-btn-ghost-sm {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: transparent;
  color: inherit;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.gig-btn-ghost-sm:hover {
  border-color: rgba(167, 139, 250, 0.6);
  background: rgba(139, 92, 246, 0.12);
}

[data-theme="light"] .gig-avatar-gallery-btn {
  background: rgba(255, 255, 255, 0.95);
  color: #6d28d9;
  border-color: rgba(124, 58, 237, 0.35);
}

/* สัญลักษณ์มุมขวาบน — มี/ไม่มีวงประจำ (กดดูชื่อวง) */
.gig-avatar-band-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 8;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(15, 23, 42, 0.95);
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.35),
    0 0 14px rgba(139, 92, 246, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gig-avatar-band-badge:hover {
  transform: scale(1.06);
}

.gig-avatar-band-badge:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}

.gig-band-badge-popover {
  position: absolute;
  top: 0;
  right: 38px;
  z-index: 12;
  min-width: 148px;
  max-width: 220px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(15, 23, 42, 0.96);
  color: #f1f5f9;
  text-align: left;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(139, 92, 246, 0.25);
  pointer-events: auto;
}

.gig-band-badge-popover[hidden] {
  display: none !important;
}

.gig-band-badge-popover::after {
  content: '';
  position: absolute;
  top: 12px;
  right: -6px;
  width: 10px;
  height: 10px;
  background: rgba(15, 23, 42, 0.96);
  border-right: 1px solid rgba(167, 139, 250, 0.45);
  border-top: 1px solid rgba(167, 139, 250, 0.45);
  transform: rotate(45deg);
}

.gig-band-badge-popover__title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: #c4b5fd;
}

.gig-band-badge-popover__name {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #e2e8f0;
}

.gig-band-badge-popover__name strong {
  color: #fff;
  font-weight: 600;
}

.gig-band-badge-popover__hint {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: #94a3b8;
}

.gig-band-badge-popover--solo .gig-band-badge-popover__title {
  color: #94a3b8;
}

.gig-avatar-band-badge svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.gig-avatar-band-badge--yes {
  background: linear-gradient(145deg, #22d3ee, #8b5cf6);
  color: #fff;
}

.gig-avatar-band-badge--no {
  background: rgba(51, 65, 85, 0.95);
  color: #94a3b8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.gig-neon-avatar__orbit {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    #22d3ee,
    #a855f7,
    #ec4899,
    #8b5cf6,
    #22d3ee
  );
  animation: gig-orbit-spin 8s linear infinite;
  opacity: 0.85;
  filter: blur(0.5px);
}

.gig-neon-avatar__orbit::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #0f172a;
  box-shadow: inset 0 0 24px rgba(139, 92, 246, 0.35);
}

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

.gig-neon-avatar__inner {
  position: absolute;
  inset: 6px;
  z-index: 2;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 40% 30%, #1e293b, #0f172a 70%);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.45);
}

.gig-neon-avatar__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(1.2);
  z-index: 2;
}

.gig-neon-avatar--has-photo .gig-neon-avatar__photo {
  opacity: 1;
  filter: saturate(1.05);
}

.gig-neon-avatar--has-photo .gig-neon-avatar__guitar-svg {
  display: none;
}

.gig-neon-avatar__photo.is-hidden {
  display: none;
}

/* ——— อัปโหลดรูปในแก้ไขโปรไฟล์ ——— */
.gig-visual-upload {
  margin: 16px 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.35);
  border: 1px solid rgba(167, 139, 250, 0.2);
}

[data-theme="light"] .gig-visual-upload {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(124, 58, 237, 0.15);
}

.gig-visual-hint {
  margin: 0 0 12px !important;
}

.gig-visual-block {
  margin-bottom: 14px;
}

.gig-visual-block:last-child {
  margin-bottom: 0;
}

.gig-visual-preview {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.25);
  background: rgba(15, 23, 42, 0.4);
  margin: 8px 0;
}

.gig-visual-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gig-visual-pos {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(167, 139, 250, 0.25);
}

.gig-pos-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 10px;
}

.gig-pos-btn {
  flex: 1;
  min-width: 64px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(15, 23, 42, 0.35);
  color: inherit;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}

[data-theme="light"] .gig-pos-btn {
  background: #fff;
  border-color: rgba(124, 58, 237, 0.25);
  color: #1a1a2e;
}

.gig-pos-btn:active {
  transform: scale(0.98);
  border-color: #a78bfa;
}

.gig-pos-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  font-size: 12px;
  color: var(--gig-muted, #94a3b8);
}

.gig-pos-slider-row span {
  flex: 0 0 72px;
}

.gig-pos-slider-row input[type="range"] {
  flex: 1;
  accent-color: #8b5cf6;
}

.gig-visual-preview--round {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.gig-visual-preview--wide {
  width: 100%;
  height: 88px;
}

.gig-visual-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 72px;
  font-size: 11px;
  color: var(--gig-muted, #94a3b8);
}

.gig-visual-file {
  width: 100%;
  font-size: 12px;
  margin-bottom: 6px;
}

.gig-visual-url {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.25);
  background: rgba(15, 23, 42, 0.5);
  color: inherit;
  font-family: inherit;
  font-size: 13px;
}

[data-theme="light"] .gig-visual-url {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a1a2e;
}

.gig-neon-avatar__guitar-svg {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.7))
    drop-shadow(0 0 16px rgba(167, 139, 250, 0.5));
}

/* ——— Stats ภาพรวม — compact 2×3 glass ——— */
.gig-profile-block--stats {
  position: relative;
  margin: 0 14px 14px;
  padding: 12px 12px 14px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(34, 211, 238, 0.15);
  box-shadow:
    0 0 32px rgba(139, 92, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.gig-profile-block--stats::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.12), transparent 70%);
  pointer-events: none;
}

.gig-profile-block--stats .gig-section-head h2 {
  font-size: 14px;
  text-shadow: 0 0 10px rgba(196, 181, 253, 0.4);
}

.gig-profile-block--stats .gig-section-meta {
  font-size: 10px;
  color: rgba(148, 163, 184, 0.9);
}

.gig-stats-neon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}

/* ——— รีวิวล่าสุด (ช่องล่างขวา ภาพรวม) ——— */
.gig-latest-reviews {
  min-height: 96px;
  display: flex;
  flex-direction: column;
}

.gig-latest-reviews .gig-stat-card__label {
  margin-bottom: 2px;
}

.gig-latest-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-height: 0;
}

.gig-latest-review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.gig-latest-review__stars {
  font-size: 9px;
  letter-spacing: 0.02em;
  color: var(--stat-accent, #6ee7b7);
  line-height: 1;
}

.gig-latest-review__stars-dim {
  opacity: 0.35;
}

.gig-latest-review__date {
  font-size: 8px;
  color: rgba(148, 163, 184, 0.85);
  white-space: nowrap;
}

.gig-latest-review__text {
  margin: 0;
  font-size: 9px;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.92);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gig-latest-review__from {
  margin: 0;
  font-size: 8px;
  color: rgba(148, 163, 184, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gig-latest-reviews__empty {
  margin: 4px 0 0;
  font-size: 9px;
  line-height: 1.35;
  color: rgba(148, 163, 184, 0.85);
}

.gig-latest-reviews__more {
  margin-top: 4px;
  padding: 0;
  border: none;
  background: none;
  color: var(--stat-accent, #6ee7b7);
  font-size: 9px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gig-latest-reviews__more:hover {
  opacity: 0.85;
}

.gig-stat-card {
  position: relative;
  min-height: 72px;
  padding: 10px 10px 8px;
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(167, 139, 250, 0.22);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.08);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gig-stat-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.12);
}

.gig-stat-card--wide {
  grid-column: span 2;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.gig-stat-card__icons {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-bottom: 4px;
}

.gig-stat-card--wide .gig-stat-card__icons {
  margin-bottom: 0;
  flex-direction: column;
  gap: 2px;
}

/* ——— Semantic Neon Pastel (good / warn / danger / neutral) ——— */
.gig-stat-card--good {
  --stat-accent: #6ee7b7;
  --stat-accent-soft: rgba(110, 231, 183, 0.18);
  --stat-glow: rgba(52, 211, 153, 0.45);
}

.gig-stat-card--warn {
  --stat-accent: #fde68a;
  --stat-accent-soft: rgba(253, 230, 138, 0.16);
  --stat-glow: rgba(251, 191, 36, 0.4);
}

.gig-stat-card--danger {
  --stat-accent: #fda4af;
  --stat-accent-soft: rgba(253, 164, 175, 0.16);
  --stat-glow: rgba(251, 113, 133, 0.45);
}

.gig-stat-card--neutral {
  --stat-accent: #c4b5fd;
  --stat-accent-soft: rgba(196, 181, 253, 0.14);
  --stat-glow: rgba(139, 92, 246, 0.35);
}

.gig-stat-card[class*="gig-stat-card--"] {
  border-color: color-mix(in srgb, var(--stat-accent) 35%, transparent);
  background: linear-gradient(
    145deg,
    rgba(30, 41, 59, 0.5) 0%,
    var(--stat-accent-soft) 100%
  );
}

.gig-stat-card__icon {
  width: 14px;
  height: 14px;
  stroke: var(--stat-accent, #c4b5fd);
  filter: drop-shadow(0 0 5px var(--stat-glow, rgba(167, 139, 250, 0.5)));
}

.gig-stat-card__icon--alt {
  stroke: color-mix(in srgb, var(--stat-accent, #67e8f9) 75%, #fff);
}

.gig-stat-card__value {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--stat-accent, #f8fafc);
  line-height: 1.1;
  text-shadow: 0 0 14px var(--stat-glow, rgba(167, 139, 250, 0.35));
}

.gig-stat-card--good .gig-stat-viz--wave span {
  background: linear-gradient(180deg, #6ee7b7, #34d399);
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.55);
}

.gig-stat-card--warn .gig-stat-viz--wave span {
  background: linear-gradient(180deg, #fde68a, #fbbf24);
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.45);
}

.gig-stat-card--danger .gig-stat-viz--wave span {
  background: linear-gradient(180deg, #fda4af, #fb7185);
  box-shadow: 0 0 6px rgba(251, 113, 133, 0.45);
}

.gig-stat-card--good .gig-stat-viz--stage {
  background: linear-gradient(90deg, transparent, #6ee7b7, #34d399, transparent);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.35);
}

.gig-stat-card--warn .gig-stat-viz--stage {
  background: linear-gradient(90deg, transparent, #fde68a, #fbbf24, transparent);
}

.gig-stat-card--danger .gig-stat-viz--stage {
  background: linear-gradient(90deg, transparent, #fda4af, #fb7185, transparent);
}

.gig-stat-card--neutral .gig-stat-viz--stage {
  background: linear-gradient(90deg, transparent, #a78bfa, #8b5cf6, transparent);
}

.gig-stat-card--wide .gig-stat-card__value {
  font-size: 1.35rem;
}

.gig-stat-card__label {
  margin: 2px 0 0;
  font-size: 10px;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.95);
  line-height: 1.2;
}

.gig-stat-card__meta {
  margin: 2px 0 0;
  font-size: 9px;
  color: rgba(148, 163, 184, 0.65);
}

/* Sound wave viz */
.gig-stat-viz--wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  margin: 4px 0 2px;
}

.gig-stat-viz--wave span {
  flex: 1;
  max-width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, #22d3ee, #8b5cf6);
  box-shadow: 0 0 6px rgba(34, 211, 238, 0.5);
  animation: gig-wave 1.2s ease-in-out infinite;
}

.gig-stat-viz--wave span:nth-child(1) { height: 40%; animation-delay: 0s; }
.gig-stat-viz--wave span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.gig-stat-viz--wave span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.gig-stat-viz--wave span:nth-child(4) { height: 55%; animation-delay: 0.15s; }
.gig-stat-viz--wave span:nth-child(5) { height: 85%; animation-delay: 0.25s; }
.gig-stat-viz--wave span:nth-child(6) { height: 45%; animation-delay: 0.05s; }

@keyframes gig-wave {
  0%, 100% { transform: scaleY(0.85); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Mini stage glow (งานสำเร็จ) */
.gig-stat-viz--stage {
  width: 100%;
  height: 4px;
  margin-top: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, #a855f7, #ec4899, transparent);
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.4);
  opacity: 0.8;
}

/* Glass sections below */
.gig-profile-root--neon .gig-section {
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(139, 92, 246, 0.18);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.06);
  padding: 14px;
  margin-bottom: 12px;
}

.gig-profile-root--neon .gig-section-head h2 {
  font-size: 14px;
  text-shadow: 0 0 8px rgba(196, 181, 253, 0.3);
}

.gig-profile-root--neon .gig-bento {
  display: none;
}

/* Particles */
.gig-stats-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.gig-stats-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.6);
  box-shadow: 0 0 6px rgba(34, 211, 238, 0.8);
  animation: gig-particle 6s ease-in-out infinite;
}

.gig-stats-particles span:nth-child(1) { left: 12%; top: 20%; animation-delay: 0s; }
.gig-stats-particles span:nth-child(2) { left: 78%; top: 35%; animation-delay: 1.2s; }
.gig-stats-particles span:nth-child(3) { left: 45%; top: 70%; animation-delay: 2s; }

@keyframes gig-particle {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-8px); opacity: 0.9; }
}

/* ——— ธีมสว่าง (สลับตาม data-theme ของแอป) ——— */
[data-theme="light"] #screen-myprofile.is-gig-profile {
  background: #eef1f6;
}

[data-theme="light"] #screen-myprofile.is-gig-profile::before {
  background:
    radial-gradient(ellipse 55% 40% at 8% 12%, rgba(124, 58, 237, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 45% at 95% 18%, rgba(236, 72, 153, 0.06), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 95%, rgba(99, 102, 241, 0.08), transparent 55%),
    #eef1f6;
}

[data-theme="light"] #screen-myprofile.is-gig-profile .screen-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(124, 58, 237, 0.15);
  box-shadow: 0 2px 16px rgba(124, 58, 237, 0.06);
}

[data-theme="light"] .gig-profile-hero--neon {
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 8px 32px rgba(124, 58, 237, 0.12),
    0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .gig-profile-hero--neon .gig-profile-hero__glass {
  background: rgba(255, 255, 255, 0.65);
  border-top-color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .gig-profile-hero--neon.gig-profile-hero--custom-bg .gig-profile-hero__glass {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
}

[data-theme="light"] .gig-profile-hero--neon .gig-hero-kicker {
  color: #7c3aed;
  text-shadow: none;
}

[data-theme="light"] .gig-profile-hero--neon .gig-hero-title {
  color: #1a1a2e;
  text-shadow: none;
}

[data-theme="light"] .gig-profile-hero--neon .gig-hero-sub {
  color: #475569;
}

[data-theme="light"] .gig-profile-hero--neon .gig-chip {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(124, 58, 237, 0.2);
  color: #1a1a2e;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08);
}

[data-theme="light"] .gig-profile-hero--neon .gig-chip svg {
  stroke: #7c3aed;
}

[data-theme="light"] .gig-btn-primary--glass {
  background: rgba(124, 58, 237, 0.12) !important;
  border-color: rgba(124, 58, 237, 0.45) !important;
  color: #5b21b6 !important;
  text-shadow: none !important;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.15) !important;
}

[data-theme="light"] .gig-neon-avatar__orbit::after {
  background: #ffffff;
  box-shadow: inset 0 0 16px rgba(124, 58, 237, 0.15);
}

[data-theme="light"] .gig-neon-avatar__inner {
  background: radial-gradient(circle at 40% 30%, #f8fafc, #eef1f6 70%);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}

[data-theme="light"] .gig-neon-avatar__photo {
  opacity: 0.5;
}

[data-theme="light"] .gig-neon-avatar--has-photo .gig-neon-avatar__photo {
  opacity: 1;
  filter: none;
}

[data-theme="light"] .gig-avatar-band-badge {
  border-color: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .gig-avatar-band-badge--no {
  background: rgba(226, 232, 240, 0.98);
  color: #64748b;
}

[data-theme="light"] .gig-neon-avatar__guitar-svg {
  filter: drop-shadow(0 0 6px rgba(180, 83, 9, 0.45))
    drop-shadow(0 0 10px rgba(124, 58, 237, 0.25));
}

[data-theme="light"] .gig-profile-block--stats {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(124, 58, 237, 0.18);
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.08);
}

[data-theme="light"] .gig-profile-block--stats::before {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08), transparent 70%);
}

[data-theme="light"] .gig-profile-block--stats .gig-section-head h2 {
  color: #1a1a2e;
  text-shadow: none;
}

[data-theme="light"] .gig-latest-review__text {
  color: #334155;
}

[data-theme="light"] .gig-latest-review__from,
[data-theme="light"] .gig-latest-review__date,
[data-theme="light"] .gig-latest-reviews__empty {
  color: #64748b;
}

[data-theme="light"] .gig-profile-block--stats .gig-section-meta {
  color: #6e6e80;
}

[data-theme="light"] .gig-stat-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(124, 58, 237, 0.16);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .gig-stat-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .gig-stat-card[class*="gig-stat-card--"] {
  background: linear-gradient(145deg, #ffffff 0%, var(--stat-accent-soft) 120%);
}

[data-theme="light"] .gig-stat-card--good { --stat-accent: #059669; --stat-glow: rgba(5, 150, 105, 0.25); }
[data-theme="light"] .gig-stat-card--warn { --stat-accent: #ca8a04; --stat-glow: rgba(202, 138, 4, 0.2); }
[data-theme="light"] .gig-stat-card--danger { --stat-accent: #e11d48; --stat-glow: rgba(225, 29, 72, 0.22); }
[data-theme="light"] .gig-stat-card--neutral { --stat-accent: #7c3aed; --stat-glow: rgba(124, 58, 237, 0.2); }

[data-theme="light"] .gig-stat-card__icon {
  filter: none;
}

[data-theme="light"] .gig-stat-card__value {
  text-shadow: none;
}

[data-theme="light"] .gig-profile-root--neon .gig-label-sm,
[data-theme="light"] .gig-profile-root--neon .gig-muted-text {
  color: #475569;
}

[data-theme="light"] .gig-stat-card__label,
[data-theme="light"] .gig-stat-card__meta {
  color: #6e6e80;
}

[data-theme="light"] .gig-stat-viz--wave span {
  background: linear-gradient(180deg, #7c3aed, #a855f7);
  box-shadow: none;
}

[data-theme="light"] .gig-stat-viz--stage {
  background: linear-gradient(90deg, transparent, #7c3aed, #a855f7, transparent);
  box-shadow: none;
  opacity: 0.65;
}

[data-theme="light"] .gig-stats-particles span {
  background: rgba(124, 58, 237, 0.35);
  box-shadow: none;
}

[data-theme="light"] .gig-profile-root--neon .gig-section {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(124, 58, 237, 0.14);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .gig-profile-root--neon .gig-section-head h2 {
  color: #1a1a2e;
  text-shadow: none;
}

[data-theme="light"] .gig-profile-root--neon .gig-text-accent {
  color: #7c3aed;
}

[data-theme="light"] .gig-profile-root--neon .gig-tag {
  background: #f4f4f9;
  border-color: rgba(0, 0, 0, 0.06);
  color: #1a1a2e;
}

[data-theme="light"] .gig-profile-root--neon .gig-btn-secondary {
  background: #ffffff;
  border-color: rgba(124, 58, 237, 0.2);
  color: #1a1a2e;
}

[data-theme="light"] .gig-profile-root--neon .gig-summary-text strong {
  color: #1a1a2e;
}

[data-theme="light"] .gig-profile-root--neon .gig-summary-badge {
  color: #7c3aed;
}

[data-theme="light"] .gig-rate-hero {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(124, 58, 237, 0.12);
}

[data-theme="light"] .gig-rate-hero__price {
  color: #1a1a2e;
}

[data-theme="light"] .gig-rate-meta__cell {
  background: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .gig-rate-job-type {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(124, 58, 237, 0.15);
}

[data-theme="light"] .gig-rate-job-type__label {
  color: #1a1a2e;
}

[data-theme="light"] .gig-rate-job-type__price {
  color: #6d28d9;
}

[data-theme="light"] .gig-band-affiliation {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(124, 58, 237, 0.1));
  border-color: rgba(124, 58, 237, 0.2);
}

[data-theme="light"] .gig-band-affiliation__name {
  color: #1a1a2e;
}

[data-theme="light"] .gig-rate-slots__list li {
  color: #334155;
}

[data-theme="light"] .gig-profile-root--neon .gig-pricing-sub {
  color: #1a1a2e;
}

[data-theme="light"] .gig-profile-root--neon .gig-pricing-grid {
  border-top-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .gig-profile-root--neon .gig-portfolio-card__title {
  color: #1a1a2e;
}

[data-theme="light"] .gig-profile-root--neon .gig-nested-panel {
  background: rgba(244, 244, 249, 0.9);
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .gig-profile-root--neon .gig-cta-banner {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(124, 58, 237, 0.2);
}

[data-theme="light"] .gig-profile-root--neon .gig-cta-banner h3 {
  color: #1a1a2e;
}

[data-theme="light"] .gig-profile-root--neon .gig-cta-banner p {
  color: #475569;
}

[data-theme="light"] .gig-profile-root--neon .gig-btn-save-role {
  color: #5b21b6;
  background: rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .gig-profile-root--neon .gig-link-btn {
  color: #7c3aed;
}

[data-theme="light"] .gig-profile-root--neon .gig-pricing-badge {
  background: rgba(124, 58, 237, 0.15);
  color: #5b21b6;
}

[data-theme="light"] .gig-profile-root--neon .gig-pricing-toggle,
[data-theme="light"] .gig-profile-root--neon .gig-pricing-panel {
  background: rgba(244, 244, 249, 0.95);
}
