/* My Art Space: 2D social profile lobby + preserved matrix Backdoor */
.art-profile-body {
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 240, 255, .07), transparent 28rem),
    radial-gradient(circle at 88% 32%, rgba(72, 89, 255, .07), transparent 34rem),
    var(--bg);
}
.art-profile-nav { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.art-profile-shell { width: min(1180px, 92vw); padding-top: 34px; text-align: left; }
.profile-banner {
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(135deg, rgba(0,240,255,.13), rgba(8,13,27,.35) 46%, rgba(0,0,0,.88)),
    radial-gradient(circle at 70% 25%, rgba(0,119,254,.28), transparent 28rem),
    #020408;
  background-position: center;
  background-size: cover;
  box-shadow: 0 28px 90px rgba(0,0,0,.5);
}
.profile-banner-shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.82)); pointer-events:none; }
.profile-banner-copy { position:relative; z-index:2; padding: clamp(28px,5vw,58px); max-width:900px; }
.profile-banner-copy h1 { margin: 10px 0 12px; max-width: 900px; font-size: clamp(44px,7vw,88px); line-height:.9; letter-spacing:-.055em; }
.profile-mood { color:#8fdcff; margin:0; font:600 14px 'Space Grotesk',sans-serif; letter-spacing:.04em; }

.myspace-layout { display:grid; grid-template-columns:minmax(260px,330px) minmax(0,1fr); gap:22px; margin-top:22px; align-items:start; }
.profile-rail, .profile-world-column { display:grid; gap:18px; }
.profile-card {
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(7,12,23,.94),rgba(2,5,12,.95));
  box-shadow:0 18px 55px rgba(0,0,0,.32);
}
.profile-identity-card { padding:24px; text-align:left; }
.profile-avatar-wrap { position:relative; width:92px; height:92px; margin-bottom:16px; }
.profile-avatar { width:100%; height:100%; object-fit:cover; border-radius:18px; border:1px solid rgba(0,240,255,.42); background:#020408; }
.profile-online-dot { position:absolute; right:-2px; bottom:8px; width:14px; height:14px; border-radius:50%; background:#14F195; border:3px solid #050914; box-shadow:0 0 18px rgba(20,241,149,.8); }
.profile-identity-card .profile-about { margin:0 0 16px; font-size:15px; text-align:left; line-height:1.65; max-width:none; }
.profile-identity-card .tags { justify-content:flex-start; margin:12px 0; gap:7px; }
.profile-identity-card .tag { padding:5px 11px; font-size:10px; }
.profile-card-kicker { color:var(--accent); font:700 11px 'JetBrains Mono',monospace; letter-spacing:.14em; }
.profile-meta { color:var(--muted); font-size:12px; line-height:1.55; }
.anthem-card { padding:22px; }
.anthem-card h2 { margin:8px 0 14px; font-size:18px; }
.anthem-card audio { width:100%; height:38px; filter:saturate(.8) brightness(.82); }
.world-intro-card { padding:22px 24px; display:flex; align-items:flex-start; justify-content:space-between; gap:22px; }
.world-intro-card h2 { margin:6px 0; font-size:24px; }
.world-intro-card p { margin:0; max-width:700px; color:var(--muted); line-height:1.6; }
.world-status-pill { white-space:nowrap; border:1px solid rgba(0,240,255,.3); color:#79e7ff; background:rgba(0,240,255,.07); border-radius:999px; padding:7px 11px; font:700 10px 'JetBrains Mono',monospace; letter-spacing:.08em; }

.profile-world-column .door-stage { margin:0; min-height:500px; border:1px solid var(--line); border-radius:20px; overflow:hidden; flex-direction:column; }
.door-linger-note { position:absolute; bottom:20px; color:#7290a4; font:600 10px 'JetBrains Mono',monospace; letter-spacing:.05em; }
.portal-progress { position:absolute!important; left:0; bottom:0; height:3px; width:0; background:linear-gradient(90deg,#00F0FF,#0077FE); box-shadow:0 0 18px #00F0FF; z-index:5!important; }
.door.door-ajar { transform:rotateY(-28deg) translateX(8px); box-shadow:0 0 0 2px var(--accent),0 0 85px rgba(0,240,255,.8),inset 0 0 45px rgba(0,0,0,.96); }
.door.door-ajar .portal-progress { width:100%; transition:width 2.2s linear; }
.door.door-committed { transform:rotateY(-58deg) translateX(26px) scale(.98); filter:brightness(1.25); }

.profile-gallery-section { margin-top:24px; border-top:1px solid var(--line); padding-top:30px; }
.profile-section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:18px; }
.profile-section-heading h2 { margin:6px 0 0; font-size:30px; }
.profile-section-heading a { color:var(--accent); font-size:13px; text-decoration:none; }
.profile-art-grid article { min-height:150px; }
.profile-art-grid article h2 { margin-top:0; }

@media (max-width: 820px) {
  .art-profile-shell { width:min(94vw,720px); }
  .myspace-layout { grid-template-columns:1fr; }
  .profile-banner { min-height:250px; }
  .world-intro-card { flex-direction:column; }
  .profile-world-column .door-stage { min-height:430px; }
}
/* LIVE-AUDIT: contained mobile profile navigation */
@media (max-width: 520px) {
  .art-profile-nav { flex-direction: column; align-items: flex-start; flex-wrap: wrap; gap: 10px; padding: 14px 5vw; }
  .art-profile-nav nav { flex-wrap: wrap; gap: 10px 14px; max-width: 100%; }
  .art-profile-nav nav a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .door.door-ajar, .door.door-committed { transform:none; }
  .door.door-ajar .portal-progress { transition:none; width:0; }
}
