:root {
  color-scheme: dark;
  --black: #020202;
  --panel: rgba(5, 5, 5, .84);
  --panel-strong: rgba(12, 12, 12, .94);
  --white: #f5f2ee;
  --muted: #b9b9b9;
  --dim: #777;
  --red: #e50914;
  --line: rgba(229, 9, 20, .46);
  --soft-line: rgba(245, 242, 238, .14);
  --green: #7cb20d;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

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

body::before {
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .98), rgba(0, 0, 0, .72), rgba(0, 0, 0, .92)),
    radial-gradient(circle at 72% 20%, rgba(229, 9, 20, .2), transparent 31%),
    url("/assets/lightnet-home-hero.png?v=20260729-public-clean1") center top / cover no-repeat;
}

body::after {
  inset: 10px;
  z-index: -1;
  border: 1px solid rgba(229, 9, 20, .3);
  box-shadow: inset 0 0 52px rgba(229, 9, 20, .08);
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0, rgba(255, 255, 255, .025) 1px, transparent 1px, transparent 10px);
  opacity: .58;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  width: min(1440px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 100vh;
}

.topbar {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  font-weight: 900;
}

.brand img {
  width: auto;
  height: 58px;
  max-width: 190px;
  object-fit: contain;
}

.brand span {
  color: var(--white);
}

.brand-net {
  color: var(--red);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.desktop-nav {
  display: none !important;
}

nav a,
.button,
button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  background: rgba(0, 0, 0, .46);
  color: var(--white);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
}

nav a:hover,
.button:hover,
button:hover,
.text-link:hover {
  border-color: var(--line);
  color: var(--red);
}

.mobile-menu {
  display: block;
  position: relative;
  flex: 0 0 auto;
}

.mobile-menu summary {
  min-width: 48px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  background: rgba(0, 0, 0, .82);
  list-style: none;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(229, 9, 20, .18);
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  width: 21px;
  height: 2px;
  display: block;
  background: var(--white);
  content: "";
}

.hamburger::before {
  transform: translateY(-7px);
}

.hamburger::after {
  transform: translateY(5px);
}

.mobile-panel {
  position: fixed;
  inset: 78px 18px auto 18px;
  z-index: 80;
  max-height: calc(100vh - 96px);
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(3, 3, 4, .98);
  box-shadow: 0 24px 90px rgba(0, 0, 0, .72);
}

.mobile-group {
  padding: 10px 0;
  border-bottom: 1px solid var(--soft-line);
}

.mobile-group:last-child {
  border-bottom: 0;
}

.mobile-group span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
}

.mobile-group a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--white);
  font-weight: 900;
}

.mobile-group a:hover {
  background: rgba(229, 9, 20, .16);
}

.primary {
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(229, 9, 20, .5), rgba(72, 0, 7, .86));
}

.flash {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  background: rgba(0, 0, 0, .72);
}

.flash.error {
  border-color: var(--red);
}

main {
  padding: 26px 0 54px;
}

.artist-hero,
.reportage-hero,
.profile-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: 40px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .94), rgba(0, 0, 0, .56), rgba(0, 0, 0, .88)),
    url("/assets/lightnet-home-hero.png?v=20260729-public-clean1") center / cover no-repeat;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .52);
}

.artist-mode .artist-hero {
  grid-template-columns: minmax(0, 1fr);
}

.reportage-hero {
  grid-template-columns: 1fr;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .96), rgba(0, 0, 0, .72), rgba(0, 0, 0, .9)),
    url("/assets/lightnet-home-hero.png?v=20260729-public-clean1") center / cover no-repeat;
}

.profile-hero {
  grid-template-columns: 1fr auto;
  background-position: center;
  background-size: cover;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--white);
  text-transform: uppercase;
  line-height: .94;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  font-size: 82px;
}

h2 {
  font-size: 38px;
}

h3 {
  font-size: 24px;
}

.rule {
  width: 290px;
  height: 4px;
  margin: 24px 0;
  background: linear-gradient(90deg, var(--red), rgba(245, 242, 238, .8), transparent);
}

.hero-copy {
  width: min(560px, 100%);
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-panel,
.bio,
.tiers,
.auth-box,
.reportage-single {
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .36);
}

.hero-panel {
  padding: 28px;
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  font-size: 30px;
  text-transform: uppercase;
}

.hero-panel span {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.section-head {
  margin: 48px 0 20px;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.portal-grid article {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  background: rgba(0, 0, 0, .72);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .38);
}

.portal-grid span {
  color: var(--red);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
}

.portal-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.spotify-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.artist-release-stack {
  display: grid;
  gap: 28px;
}

.artist-release-section {
  padding: 20px;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  background: rgba(0, 0, 0, .7);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .38);
}

.artist-release-head {
  min-height: 92px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--soft-line);
}

.artist-release-head img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0, 0, 0, .54);
}

.artist-release-head h3 {
  font-size: 30px;
}

.artist-release-head span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 900;
}

.artist-spotify-row {
  grid-template-columns: 1fr;
}

.spotify-card {
  min-height: 442px;
  padding: 18px;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(9, 9, 10, .9), rgba(2, 2, 2, .96)),
    url("/assets/lightnet-home-hero.png?v=20260729-artists-spotify1") center / cover no-repeat;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .42);
}

.spotify-card-head {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--soft-line);
}

.spotify-card-head img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0, 0, 0, .54);
}

.spotify-card-head strong,
.spotify-card-head span {
  display: block;
}

.spotify-card-head strong {
  text-transform: uppercase;
  font-size: 21px;
  font-weight: 900;
}

.spotify-card-head span,
.spotify-empty {
  color: var(--muted);
  font-weight: 900;
}

.spotify-frame {
  width: 100%;
  min-height: 352px;
  display: block;
  border: 0;
  border-radius: 6px;
  background: rgba(0, 0, 0, .72);
}

.profile-spotify .spotify-card {
  min-height: 382px;
}

.profile-spotify .spotify-frame {
  min-height: 352px;
}

.artist-card {
  min-height: 230px;
  padding: 18px;
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  background: rgba(0, 0, 0, .58);
}

.artist-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.artist-card strong,
.artist-card span {
  display: block;
}

.artist-card strong {
  margin-top: 18px;
  text-transform: uppercase;
  font-size: 22px;
}

.artist-card span,
.handle,
.meta {
  color: var(--muted);
}

.profile-main {
  display: flex;
  align-items: center;
  gap: 24px;
}

.avatar {
  width: 142px;
  height: 142px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .46);
}

.profile-main p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.profile-actions {
  display: grid;
  gap: 12px;
}

.profile-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  margin-top: 22px;
}

.bio,
.tiers {
  padding: 24px;
}

.bio p,
.reportage-single p,
.post p {
  color: var(--muted);
  line-height: 1.58;
}

.tier {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  background: rgba(0, 0, 0, .46);
}

.tier strong,
.tier span {
  display: block;
}

.tier span {
  margin-top: 6px;
  color: var(--red);
  font-weight: 900;
}

.post-list,
.reportage-list {
  display: grid;
  gap: 16px;
}

.post,
.reportage-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  background: rgba(0, 0, 0, .64);
}

.post img,
.reportage-item img {
  width: 180px;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
}

.post span,
.reportage-item span {
  color: var(--red);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--red);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
}

.auth {
  min-height: 620px;
  display: grid;
  place-items: center;
}

.artist-onboarding {
  display: grid;
  gap: 22px;
}

.onboarding-hero {
  min-height: 380px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .96), rgba(0, 0, 0, .6), rgba(0, 0, 0, .9)),
    url("/assets/lightnet-home-hero.png?v=20260729-artist-onboarding1") center / cover no-repeat;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .52);
}

.onboarding-steps {
  display: grid;
  gap: 10px;
}

.onboarding-steps span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--soft-line);
  border-left: 4px solid var(--red);
  border-radius: 4px;
  background: rgba(0, 0, 0, .62);
  text-transform: uppercase;
  font-weight: 900;
}

.creator-form {
  display: grid;
  gap: 18px;
}

.creator-panel {
  padding: 24px;
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .36);
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-box {
  width: min(720px, 100%);
  padding: 30px;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--white);
  font-weight: 900;
}

label span {
  text-transform: uppercase;
  font-size: 13px;
}

input,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  background: rgba(0, 0, 0, .62);
  color: var(--white);
  padding: 10px 12px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.dashboard .edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  background: var(--panel);
}

.wide {
  grid-column: 1 / -1;
}

.dashboard-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.mini-list {
  display: grid;
  gap: 10px;
}

.mini-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  background: rgba(0, 0, 0, .58);
}

.reportage-single {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 30px;
}

.reportage-single > img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 24px;
}

.site-footer {
  padding: 22px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 24px, 1440px);
  }

  .topbar {
    min-height: 72px;
    align-items: center;
    flex-direction: row;
  }

  .desktop-nav {
    display: none;
  }

  .brand img {
    width: auto;
    height: 48px;
    max-width: 150px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 30px;
  }

  .artist-hero,
  .onboarding-hero,
  .profile-hero,
  .reportage-hero,
  .profile-body,
  .creator-grid,
  .dashboard .edit-grid,
  .dashboard-split,
  .portal-grid,
  .post,
  .reportage-item {
    grid-template-columns: 1fr;
  }

  .artist-hero,
  .profile-hero,
  .reportage-hero {
    padding: 24px;
    min-height: auto;
  }

  .spotify-showcase {
    grid-template-columns: 1fr;
  }

  .artist-release-section {
    padding: 14px;
  }

  .artist-release-head {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .artist-release-head .button {
    grid-column: 1 / -1;
  }

  .artist-release-head img {
    width: 72px;
    height: 72px;
  }

  .spotify-card {
    min-height: 390px;
    padding: 14px;
  }

  .spotify-frame {
    min-height: 320px;
  }

  .profile-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .post img,
  .reportage-item img {
    width: 100%;
    height: 220px;
  }
}
