/* ════════════════════════════════════════
   SHARED STYLES — Character Profile Site
════════════════════════════════════════ */

:root {
  --ink-950: #05060d;
  --ink-900: #090b15;
  --ink-850: #0e1220;
  --surface: rgba(13, 16, 31, 0.72);
  --surface-strong: rgba(18, 22, 40, 0.92);
  --surface-soft: rgba(20, 24, 43, 0.58);
  --border-soft: rgba(220, 197, 150, 0.16);
  --border-strong: rgba(220, 197, 150, 0.28);
  --text-body: #ebe4d7;
  --text-muted: #b6af9d;
  --white-star: #fff8ea;
  --star-gold: #d7b56d;
  --star-amber: #e6a85d;
  --star-coral: #df8e83;
  --star-teal: #7dd7d0;
  --star-mint: #a6f0d1;
  --star-slate: #91a0c0;
  --star-purple: #b78dff;
  --violet: #9f73da;
  --lavender: #d8c8ff;
  --astro-teal: #7dd7d0;
  --seafoam: #a6f0d1;
  --emerald: #6bda96;
  --sage: #89c59b;
  --periwinkle: #9eb8e9;
  --gold: #d7b56d;
  --card-bg: var(--surface);
  --card-border: var(--border-soft);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  background-color: #05060d;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(
      ellipse 72% 50% at 16% 18%,
      rgba(214, 181, 109, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 58% 52% at 84% 22%,
      rgba(125, 215, 208, 0.14) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 56% 46% at 80% 78%,
      rgba(223, 142, 131, 0.12) 0%,
      transparent 62%
    ),
    radial-gradient(
      ellipse 42% 34% at 12% 76%,
      rgba(145, 160, 192, 0.12) 0%,
      transparent 62%
    ),
    linear-gradient(
      165deg,
      var(--ink-850) 0%,
      var(--ink-900) 42%,
      var(--ink-950) 100%
    );
  background-attachment: fixed;
  color: var(--text-body);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background-image: radial-gradient(
    rgba(255, 248, 234, 0.08) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  opacity: 0.08;
  mix-blend-mode: screen;
}

body::after {
  background: linear-gradient(
    180deg,
    rgba(5, 6, 13, 0.1) 0%,
    rgba(5, 6, 13, 0.56) 100%
  );
  box-shadow: inset 0 0 220px rgba(5, 6, 13, 0.55);
}

/* ── Canvas sits above body bg ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ── Slow-drift shimmer ── */
.nebula-layer {
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 38% 30% at 60% 40%,
      rgba(214, 181, 109, 0.12) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 32% 46% at 32% 68%,
      rgba(125, 215, 208, 0.12) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 30% 30% at 15% 35%,
      rgba(223, 142, 131, 0.1) 0%,
      transparent 70%
    );
  animation: nebulaFloat 22s ease-in-out infinite alternate;
}

@keyframes nebulaFloat {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(3%, 2%) scale(1.06);
    opacity: 1;
  }
  100% {
    transform: translate(-2%, 4%) scale(0.96);
    opacity: 0.6;
  }
}

/* ── Page wrapper ── */
.page-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4.5rem) clamp(1rem, 3vw, 2rem) calc(6rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

/* ── Section title ── */
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.88rem;
  position: relative;
  z-index: 2;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--star-gold);
  text-align: center;
  margin-bottom: 1.6rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(215, 181, 109, 0.15),
    var(--star-gold),
    rgba(125, 215, 208, 0.15),
    transparent
  );
}

.section-title.no-underline {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.section-title.no-underline::after {
  display: none;
}

/* ── Card base ── */
.card {
  background: linear-gradient(
    180deg,
    rgba(24, 28, 48, 0.82) 0%,
    rgba(10, 12, 24, 0.74) 100%
  );
  border: 1px solid var(--border-soft);
  border-radius: 1.4rem;
  backdrop-filter: blur(24px) saturate(120%);
  box-shadow:
    0 24px 90px rgba(0, 0, 0, 0.38),
    0 0 42px rgba(125, 215, 208, 0.05),
    inset 0 1px 0 rgba(255, 248, 234, 0.04);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  z-index: 3;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(215, 181, 109, 0.12),
    var(--star-gold),
    rgba(125, 215, 208, 0.36),
    rgba(215, 181, 109, 0.12),
    transparent
  );
}

/* ── Pills ── */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill {
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid;
  transition: all 0.3s;
  cursor: default;
}

.pill:hover {
  transform: translateY(-1px);
}
.pill-purple {
  background: rgba(215, 181, 109, 0.09);
  border-color: rgba(215, 181, 109, 0.34);
  color: var(--star-gold);
}
.pill-teal {
  background: rgba(125, 215, 208, 0.08);
  border-color: rgba(125, 215, 208, 0.34);
  color: var(--star-teal);
}
.pill-blue {
  background: rgba(145, 160, 192, 0.09);
  border-color: rgba(145, 160, 192, 0.34);
  color: var(--star-slate);
}
.pill-gold {
  background: rgba(230, 168, 93, 0.09);
  border-color: rgba(230, 168, 93, 0.35);
  color: var(--star-amber);
}
.pill-green {
  background: rgba(166, 240, 209, 0.08);
  border-color: rgba(166, 240, 209, 0.3);
  color: var(--star-mint);
}

/* ── Divider ── */
.info-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(215, 181, 109, 0.38),
    rgba(125, 215, 208, 0.16),
    transparent
  );
}

/* ── Fade-up scroll animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Footer ── */
.page-load-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  background: rgba(180, 80, 80, 0.08);
  border: 1px solid rgba(180, 80, 80, 0.2);
  color: rgba(220, 150, 150, 0.8);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
}
footer span {
  color: var(--star-gold);
}

/* ── Back link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    color 0.3s,
    transform 0.3s;
  margin-bottom: 0.5rem;
}
.back-link:hover {
  color: var(--star-gold);
  transform: translateX(-2px);
}

/* ── View-all button ── */
.view-all-btn {
  display: block;
  margin: 1.75rem auto 0;
  width: fit-content;
  padding: 0.75rem 2.5rem;
  background: transparent;
  border: 1px solid rgba(215, 181, 109, 0.35);
  border-radius: 999px;
  color: var(--white-star);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s;
}
.view-all-btn:hover {
  background: rgba(215, 181, 109, 0.09);
  border-color: rgba(215, 181, 109, 0.7);
  color: var(--white-star);
  box-shadow: 0 0 24px rgba(215, 181, 109, 0.18);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ════════════════════════════════════════
   INDEX PAGE STYLES
════════════════════════════════════════ */

/* ── Profile Card ── */
.profile-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  align-items: stretch;
}

.artwork-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-frame {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 1rem;
  padding: 0.5rem;
  border: 1px solid rgba(215, 181, 109, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 248, 234, 0.04), rgba(5, 6, 13, 0.18)),
    linear-gradient(
      145deg,
      rgba(215, 181, 109, 0.16),
      rgba(125, 215, 208, 0.08)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 234, 0.1),
    0 20px 50px rgba(0, 0, 0, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.artwork-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.7rem;
}

.artwork-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.artwork-placeholder .astro-symbol {
  font-size: 4rem;
  background: linear-gradient(
    135deg,
    var(--star-gold),
    var(--star-teal),
    var(--white-star)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(215, 181, 109, 0.55));
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(0.2rem, 1vw, 0.5rem) 0;
}

.char-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 700;
  color: var(--white-star);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-shadow: 0 0 38px rgba(215, 181, 109, 0.18);
}

.char-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  color: var(--star-teal);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

.char-server {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 0.55rem;
}

.about-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--star-gold);
  margin-bottom: 0.45rem;
}

.about-text {
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--text-body);
  max-width: 60ch;
}

/* ── Gallery Preview ── */
.gallery-preview {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}

.gallery-preview::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5rem;
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 13, 0.55) 0%,
    transparent 100%
  );
  border-radius: 1.4rem 1.4rem 0 0;
  pointer-events: none;
  z-index: 1;
}

.gallery-preview .section-title {
  position: relative;
  z-index: 2;
}

.gallery-grid-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.loading-state {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1.4rem 0;
}

.loading-state.grid-span {
  grid-column: 1 / -1;
}

.loading-state.masonry-span {
  break-inside: avoid;
  width: 100%;
}

#page-loading {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 6, 13, 0.82);
  backdrop-filter: blur(18px);
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

#page-loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(215, 181, 109, 0.16);
  cursor: pointer;
  transition: all 0.4s;
  background: linear-gradient(
    180deg,
    rgba(24, 28, 48, 0.72),
    rgba(6, 8, 16, 0.9)
  );
  box-shadow: inset 0 1px 0 rgba(255, 248, 234, 0.05);
}

.gallery-thumb:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(215, 181, 109, 0.45);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.24),
    0 0 18px rgba(215, 181, 109, 0.14);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s, opacity 0.4s ease;
  opacity: 0;
}

.gallery-thumb img.img-loaded {
  opacity: 1;
}

.gallery-thumb.img-loading {
  background: linear-gradient(
    90deg,
    rgba(255, 248, 234, 0.04) 25%,
    rgba(255, 248, 234, 0.09) 50%,
    rgba(255, 248, 234, 0.04) 75%
  );
  background-size: 1200px 100%;
  animation: skel-shimmer 1.6s infinite linear;
}

.gallery-thumb:hover img {
  transform: scale(1.06);
}

.thumb-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0.5rem;
  color: var(--text-muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.thumb-placeholder .ph-sym {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--star-gold), var(--star-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.65;
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 6, 13, 0.94) 0%,
    rgba(5, 6, 13, 0.24) 55%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-thumb:hover .thumb-overlay {
  opacity: 1;
}

.thumb-cap {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--white-star);
}

.thumb-tag {
  font-size: 0.6rem;
  color: var(--star-teal);
  margin-top: 0.15rem;
}

/* ── Jobs ── */
.job-category {
  margin-bottom: 2rem;
}

.job-category:last-child {
  margin-bottom: 0;
}

.category-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  padding-left: 0.7rem;
  border-left: 2px solid var(--star-gold);
}

.jobs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.job-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.4rem;
  width: 68px;
  border-radius: 0.75rem;
  border: 1px solid rgba(215, 181, 109, 0.12);
  background: rgba(10, 13, 24, 0.72);
  cursor: default;
  transition: all 0.3s;
}

.job-item:hover {
  border-color: rgba(215, 181, 109, 0.38);
  background: rgba(215, 181, 109, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.job-item.highlight {
  border-color: rgba(125, 215, 208, 0.4);
  background: rgba(125, 215, 208, 0.07);
  box-shadow: 0 0 18px rgba(125, 215, 208, 0.16);
}

.job-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
}

.job-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
}

.job-level {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--white-star);
}

.job-item.highlight .job-level {
  color: var(--star-teal);
}

/* ── Paired job row (Tank+Healer / Melee+PhysRange) ── */
.job-row-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.job-row-pair .job-category {
  margin-bottom: 0;
}

/* ── Content Cleared ── */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
}

.content-tier {
  background: rgba(8, 10, 18, 0.72);
  border: 1px solid rgba(215, 181, 109, 0.14);
  border-radius: 1rem;
  padding: 1.4rem;
  transition: all 0.3s;
}

.content-tier:hover {
  border-color: rgba(215, 181, 109, 0.34);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.tier-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tier-savage {
  color: var(--star-gold);
}
.tier-extreme {
  color: var(--star-coral);
}
.tier-ultimate {
  color: var(--star-teal);
}
.tier-criterion {
  color: var(--star-slate);
}
.tier-chaotic {
  color: var(--star-coral);
}

.tier-badge {
  font-size: 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.1em;
  padding: 0.18rem 0.55rem;
  border-radius: 1rem;
  border: 1px solid;
}

.badge-savage {
  border-color: rgba(215, 181, 109, 0.36);
  color: var(--star-gold);
  background: rgba(215, 181, 109, 0.08);
}

.badge-extreme {
  border-color: rgba(223, 142, 131, 0.36);
  color: var(--star-coral);
  background: rgba(223, 142, 131, 0.08);
}

.badge-ultimate {
  border-color: rgba(125, 215, 208, 0.36);
  color: var(--star-teal);
  background: rgba(125, 215, 208, 0.08);
}

.badge-criterion {
  border-color: rgba(145, 160, 192, 0.36);
  color: var(--star-slate);
  background: rgba(145, 160, 192, 0.08);
}

.badge-chaotic {
  border-color: rgba(223, 142, 131, 0.36);
  color: var(--star-coral);
  background: rgba(223, 142, 131, 0.08);
}

.content-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.content-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--text-body);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(215, 181, 109, 0.08);
}

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

.check-icon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.58rem;
}

.check-cleared {
  background: rgba(125, 215, 208, 0.16);
  border: 1px solid rgba(125, 215, 208, 0.42);
  color: var(--star-teal);
}

.check-prog {
  background: rgba(215, 181, 109, 0.14);
  border: 1px solid rgba(215, 181, 109, 0.4);
  color: var(--star-gold);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .profile-card {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding: 1.6rem;
  }

  .artwork-wrap {
    display: flex;
    justify-content: center;
  }

  .artwork-frame {
    aspect-ratio: 3/4;
    max-height: 400px;
    max-width: 300px;
  }

  .char-name {
    font-size: clamp(2rem, 8vw, 2.8rem);
    text-align: center;
  }

  .char-title,
  .char-server {
    text-align: center;
  }

  .pills {
    justify-content: center;
  }

  .info-divider {
    width: 100%;
  }

  .about-text {
    max-width: 100%;
  }

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

@media (max-width: 600px) {
  .job-row-pair {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

@supports (-webkit-touch-callout: none) {
  .bottom-fade {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(90px + env(safe-area-inset-bottom));
    background: linear-gradient(to bottom, transparent, #05060d);
    pointer-events: none;
    z-index: 50;
  }

  .top-fade {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: calc(60px + env(safe-area-inset-top));
    background: linear-gradient(to top, transparent, #05060d);
    pointer-events: none;
    z-index: 50;
  }
}

/* ════════════════════════════════════════
   SKELETON LOADING STATE
════════════════════════════════════════ */
@keyframes skel-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}

.skel {
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(255, 248, 234, 0.04) 25%,
    rgba(255, 248, 234, 0.09) 50%,
    rgba(255, 248, 234, 0.04) 75%
  );
  background-size: 1200px 100%;
  animation: skel-shimmer 1.6s infinite linear;
}

/* Profile card skeleton */
.skel-artwork {
  position: absolute;
  inset: 0;
  border-radius: 0.7rem;
}

.skel-name {
  height: 52px;
  width: 72%;
  border-radius: 6px;
}

.skel-title {
  height: 14px;
  width: 48%;
  margin-top: 0.55rem;
  border-radius: 6px;
}

.skel-server {
  height: 12px;
  width: 32%;
  margin-top: 0.4rem;
  border-radius: 6px;
}

.skel-pills {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.skel-pill {
  height: 26px;
  width: 72px;
  border-radius: 999px;
}

.skel-about-label {
  height: 11px;
  width: 56px;
  border-radius: 4px;
  margin-bottom: 0.55rem;
}

.skel-about-line {
  height: 13px;
  border-radius: 4px;
  margin-bottom: 0.55rem;
}

/* Gallery preview skeleton */
.skel-thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 0.75rem;
}

/* Job skeleton */
.skel-job-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skel-job-item {
  height: 36px;
  width: 80px;
  border-radius: 8px;
}

