:root {
  --portal-red: #c00000;
  --portal-bg: #090909;
  --portal-card: rgba(255, 255, 255, 0.045);
  --portal-line: rgba(255, 255, 255, 0.12);
  --portal-text: #f7f7f7;
  --portal-muted: rgba(255, 255, 255, 0.66);
}

body.portal-page {
  min-height: 100svh;
  margin: 0;
  color: var(--portal-text);
  background:
    linear-gradient(135deg, rgba(192, 0, 0, 0.16), transparent 30%),
    linear-gradient(180deg, #141414, #050505);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.portal-page[data-artist-dashboard] {
  color: #141820;
  background: #f6f7fb;
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.portal-dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100svh;
}

.artist-side {
  position: sticky;
  top: 0;
  height: 100svh;
  box-sizing: border-box;
  padding: 22px 16px;
  background: radial-gradient(circle at top, rgba(192, 0, 0, 0.2), transparent 34%), #07090d;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.artist-side-logo {
  width: 168px;
  margin: 8px 0 26px;
}

.artist-side-logo-small {
  width: 132px;
}

.artist-top-logo {
  width: 112px;
  margin-left: auto;
}

.artist-side a,
.artist-side button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  margin: 4px 0;
  border: 0;
  border-radius: 10px;
  padding: 13px 14px;
  color: #9ca8b5;
  background: transparent;
  text-align: left;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.artist-side a:hover,
.artist-side button:hover,
.artist-side .active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.artist-side .active {
  box-shadow: inset 4px 0 0 #ff4a17;
}

.artist-main {
  padding: 28px clamp(18px, 4vw, 48px) 48px;
  background:
    radial-gradient(circle at 88% 0%, rgba(192, 0, 0, 0.08), transparent 28%),
    #f6f7fb;
  color: #20242a;
}

.artist-topline {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.artist-topline img {
  width: 150px;
  margin-left: auto;
}

.artist-avatar {
  width: 56px;
  height: 56px;
  border: 2px solid #ff4a17;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #111, #c00000);
  font-weight: 900;
  cursor: pointer;
}

.artist-contact {
  border-radius: 999px;
  padding: 12px 16px;
  color: #fff;
  background: #171e24;
  text-decoration: none;
  font-weight: 800;
}

.artist-title h1 {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 4.1rem);
  line-height: 1;
  color: #24272c;
}

.artist-title p {
  color: #68717d;
}

.artist-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.artist-metric {
  min-height: 128px;
  border: 1px solid #d2d2d2;
  border-radius: 12px;
  padding: 22px;
  color: #252525;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
}

.artist-metric.red {
  color: #fff;
  background: linear-gradient(135deg, #d90000, #7b0000);
  border-color: transparent;
}

.artist-metric span,
.artist-metric small {
  display: block;
  color: inherit;
  opacity: 0.74;
  font-weight: 800;
}

.artist-metric strong {
  display: block;
  margin: 8px 0;
  font-size: 2.4rem;
}

.artist-panel {
  margin-top: 18px;
  color: #141820;
}

.portal-page[data-artist-dashboard] .portal-card {
  border-color: #e6e8ee;
  border-radius: 18px;
  background: #fff;
  color: #141820;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.portal-page[data-artist-dashboard] .portal-muted,
.portal-page[data-artist-dashboard] .portal-section p {
  color: #68717d;
}

.portal-page[data-artist-dashboard] .portal-field span {
  color: #34373d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.portal-page[data-artist-dashboard] .portal-field input,
.portal-page[data-artist-dashboard] .portal-field select,
.portal-page[data-artist-dashboard] .portal-field textarea {
  border: 1px solid #ddd5ca;
  border-radius: 10px;
  background: #fff;
  color: #141820;
  font-weight: 750;
}

.artist-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.distribution-form {
  margin-top: 18px;
}

.distribution-people {
  display: grid;
  gap: 14px;
}

.distribution-person {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid #eee4d9;
  border-radius: 16px;
  padding: 16px;
  background: #fffaf5;
}

.distribution-person-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.distribution-person-head strong {
  font-size: 1rem;
}

.distribution-history-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #eee4d9;
  border-radius: 14px;
  padding: 14px;
  background: #fffaf5;
}

.distribution-history-card p {
  margin: 5px 0 0;
}

.distribution-history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

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

.camping-card div,
.calendar-day,
.studio-slot {
  border: 1px solid var(--portal-line);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.camping-card span {
  display: block;
  color: var(--portal-muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.camping-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.15rem;
}

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

.release-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  border: 1px solid var(--portal-line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.release-body {
  display: grid;
  gap: 8px;
}

.contributors-line,
.contributors-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--portal-muted);
  font-size: 0.84rem;
}

.contributors-line span,
.contributors-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.05);
}

.blue-links {
  gap: 10px;
}

.link-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 12px;
  color: #8fc4ff;
  border: 1px solid rgba(143, 196, 255, 0.22);
  background: rgba(36, 84, 152, 0.16);
  text-decoration: none;
  font-weight: 800;
}

.link-chip:hover {
  background: rgba(36, 84, 152, 0.26);
}

.link-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: #fff;
  background: #2a62b7;
  font-size: 0.78rem;
  line-height: 1;
}

.release-table-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.release-cover.mini {
  width: 52px;
  min-width: 52px;
}

.portal-table-compact {
  font-size: 0.88rem;
}

.portal-table-compact th,
.portal-table-compact td {
  padding: 12px 10px;
}

.contributor-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--portal-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.contributor-user {
  min-width: 0;
}

.contributor-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--portal-muted);
}

.contributor-roles label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.release-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  border: 1px solid var(--portal-line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.release-preview {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 14px;
  border: 1px dashed var(--portal-line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.release-cover {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #242424, #c00000);
}

.release-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-cover.banner {
  min-height: 180px;
  aspect-ratio: 1280 / 480;
}

.release-cover span {
  font-size: 2rem;
  font-weight: 900;
}

.release-body h3 {
  margin: 7px 0;
}

.release-body small {
  color: #ffc0c0;
  font-weight: 900;
  text-transform: uppercase;
}

.release-body small.released {
  color: #70e2a0;
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-booking-card {
  display: grid;
  gap: 10px;
}

.release-actions a {
  border-radius: 999px;
  padding: 9px 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  font-weight: 800;
}

.studio-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.studio-repeat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.studio-repeat-chip {
  border: 1px solid var(--portal-line);
  border-radius: 0;
  padding: 10px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.studio-repeat-chip.active {
  border-color: rgba(255, 74, 23, 0.85);
  background: linear-gradient(135deg, rgba(255, 74, 23, 0.22), rgba(192, 0, 0, 0.22));
  color: #fff;
}

.calendar-day,
.studio-slot {
  color: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.calendar-day {
  min-height: 76px;
  display: grid;
  align-content: start;
  gap: 5px;
  border: 1px solid var(--portal-line);
  border-radius: 8px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.05);
}

.calendar-day-trigger {
  display: grid;
  gap: 5px;
  width: 100%;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.calendar-day.is-empty {
  opacity: 0.42;
  cursor: default;
}

.calendar-day.is-today {
  border-color: rgba(255, 74, 23, 0.75);
  box-shadow: inset 0 0 0 1px rgba(255, 74, 23, 0.18);
}

.calendar-day.active {
  border-color: rgba(255, 74, 23, 0.95);
  background: linear-gradient(180deg, rgba(255, 74, 23, 0.24), rgba(192, 0, 0, 0.34));
}

.calendar-day.has-slots {
  border-color: rgba(23, 143, 93, 0.75);
  background: rgba(23, 143, 93, 0.16);
}

.calendar-day.is-muted {
  opacity: 0.35;
}

.calendar-day .day-label,
.calendar-day .day-meta,
.studio-slot span {
  display: block;
  color: var(--portal-muted);
}

.calendar-day strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1;
}

.calendar-day .day-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.calendar-slot-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 5px 8px;
  color: #111;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.calendar-slot-pill.active {
  border-color: rgba(255, 74, 23, 0.85);
  background: rgba(255, 74, 23, 0.16);
}

.calendar-head {
  display: grid;
  gap: 6px;
}

.calendar-head small {
  color: var(--portal-muted);
  font-weight: 700;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.portal-notification-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--portal-line);
  border-radius: 0;
  padding: 10px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.portal-notification-icon {
  font-size: 1rem;
}

.studio-popover {
  position: fixed;
  z-index: 90;
  width: min(340px, calc(100vw - 24px));
  border: 1px solid var(--portal-line);
  border-radius: 8px;
  padding: 14px;
  background: #101114;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.studio-popover-head,
.studio-popover-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.studio-popover-body {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.studio-popover-slot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--portal-line);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.studio-popover-slot.active,
.studio-shift-chip.active {
  border-color: rgba(255, 74, 23, 0.95);
  background: rgba(255, 74, 23, 0.14);
}

.studio-popover-panel {
  position: static;
  width: 100%;
  margin-top: 16px;
}

.studio-popover-inline {
  position: static;
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  box-shadow: none;
}

.studio-shift-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.studio-shift-chip {
  display: grid;
  gap: 4px;
  border: 1px solid var(--portal-line);
  border-radius: 8px;
  padding: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  text-align: left;
  cursor: pointer;
}

.studio-shift-chip span {
  color: var(--portal-muted);
  font-size: 0.84rem;
}

.studio-booking-card {
  align-items: start;
}

.notification-card {
  gap: 6px;
}

.notification-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 16px;
}

.notification-link {
  width: 100%;
  text-align: left;
}

.notification-link.is-unread strong {
  font-weight: 900;
}

.notification-link.is-read {
  opacity: 0.72;
}

.notification-link.is-read strong,
.notification-link.is-read p,
.notification-link.is-read small {
  font-weight: 600;
}

.studio-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.studio-slot:hover {
  border-color: rgba(255, 74, 23, 0.9);
}

.studio-slot.active {
  border-color: rgba(255, 74, 23, 0.95);
  background: rgba(255, 74, 23, 0.14);
}

@media (max-width: 960px) {
  .studio-calendar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .studio-calendar {
    grid-template-columns: 1fr;
  }
}

.portal-modal {
  width: min(620px, calc(100% - 28px));
  border: 0;
  padding: 0;
  color: #fff;
  background: transparent;
}

.portal-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.portal-modal-card {
  position: relative;
  padding: 28px;
}

.portal-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 2rem;
  cursor: pointer;
}

.portal-tabs {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.portal-tabs .portal-button.secondary.active {
  border-color: rgba(255, 74, 23, 0.7);
  background: rgba(192, 0, 0, 0.2);
}

.portal-tabs button {
  border: 1px solid var(--portal-line);
  border-radius: 999px;
  padding: 10px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.weekday-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.weekday-grid label {
  border: 1px solid var(--portal-line);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.portal-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
}

.portal-auth {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 460px;
  align-items: center;
  gap: 48px;
}

.portal-brand img,
.portal-logo {
  width: 180px;
  height: auto;
  margin-bottom: 28px;
}

.portal-brand h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.92;
  text-transform: uppercase;
  font-weight: 900;
}

.portal-brand p {
  max-width: 560px;
  color: var(--portal-muted);
  font-size: 1.08rem;
}

.portal-card {
  border: 1px solid var(--portal-line);
  border-radius: 8px;
  background: rgba(12, 12, 12, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(18px);
}

.portal-form-card {
  padding: 28px;
}

.portal-form-card h2,
.portal-section h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.portal-form-card p,
.portal-section p,
.portal-muted {
  color: var(--portal-muted);
}

.portal-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.portal-field {
  display: grid;
  gap: 8px;
}

.portal-field span {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.portal-field input,
.portal-field select,
.portal-field textarea {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
}

.portal-form-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-field-full {
  grid-column: 1 / -1;
}

.portal-field textarea {
  min-height: 96px;
  padding-top: 12px;
  resize: vertical;
}

.portal-button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, #e00000, var(--portal-red));
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.portal-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--portal-line);
}

.artist-action-btn {
  border: 1px solid var(--portal-line);
  border-radius: 9px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.artist-action-btn.danger {
  color: #ffb4b4;
}

.portal-button[data-toggle-register] {
  margin-top: 14px;
}

.portal-forgot {
  color: #e11d48;
  font-weight: 700;
  text-decoration: none;
}

.portal-forgot strong {
  text-decoration: underline;
}

.social-login {
  display: grid;
  gap: 10px;
  margin: 18px 0 6px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 800;
  cursor: pointer;
}

.social-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex: 0 0 18px;
}

.social-google {
  background: #fff;
  color: #111;
  border: 1px solid #d1d5db;
}

.social-google .social-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.5 0 6.2 1.2 8.5 3.3l6.4-6.4C35.1 2.8 30 0 24 0 14.6 0 6.5 5.4 2.5 13.3l7.4 5.8C11.7 13.5 17.2 9.5 24 9.5z'/%3E%3Cpath fill='%2334A853' d='M46.6 24.5c0-1.5-.1-2.6-.4-3.8H24v7.2h12.7c-.3 1.8-1.5 4.5-4.2 6.3l6.5 5C43.7 35.1 46.6 30.4 46.6 24.5z'/%3E%3Cpath fill='%23FBBC05' d='M9.9 28.3a14.2 14.2 0 0 1-.8-4.3c0-1.5.3-2.9.8-4.3l-7.4-5.8A24 24 0 0 0 0 24c0 3.9.9 7.7 2.5 10.7l7.4-6.4z'/%3E%3Cpath fill='%231A73E8' d='M24 48c6 0 11-2 14.7-5.5l-6.5-5c-1.7 1.2-4 2-8.2 2-6.8 0-12.3-4-14.1-9.8l-7.4 6.4C6.5 42.6 14.6 48 24 48z'/%3E%3C/svg%3E");
}

.social-apple {
  background: #000;
  color: #fff;
}

.social-apple .social-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M16.7 13.2c0-2 1.7-3 1.8-3.1-1-1.5-2.6-1.7-3.1-1.7-1.3-.1-2.5.8-3.1.8-.6 0-1.7-.8-2.7-.8-1.4 0-2.7.8-3.4 2-1.5 2.5-.4 6.2 1.1 8.2.7 1 1.5 2 2.6 1.9 1 0 1.4-.7 2.7-.7 1.2 0 1.6.7 2.7.7 1.1 0 1.8-1 2.5-1.9.8-1.1 1.1-2.1 1.1-2.2-.1 0-2.2-.8-2.2-3.2zm-1.8-5.4c.6-.8 1-1.9.9-3-.9.1-2 .7-2.6 1.5-.6.7-1 1.9-.9 3 .9 0 1.9-.6 2.6-1.5z'/%3E%3C/svg%3E");
}

.social-facebook {
  background: #1877f2;
  color: #fff;
}

.social-facebook .social-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M22 12a10 10 0 1 0-11.6 9.9v-7h-2.5V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.3.2 2.3.2v2.5h-1.3c-1.3 0-1.7.8-1.7 1.7V12h2.9l-.5 2.9h-2.4v7A10 10 0 0 0 22 12z'/%3E%3C/svg%3E");
}

.login-divider {
  margin: 18px 0 12px;
  text-align: center;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
}

.support-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  background: #e11d48;
  color: #fff;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}

.portal-status {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--portal-line);
  color: #fff;
}

.portal-status.error {
  border-color: rgba(192, 0, 0, 0.7);
  background: rgba(192, 0, 0, 0.16);
}

.portal-status.success {
  border-color: rgba(42, 190, 115, 0.65);
  background: rgba(42, 190, 115, 0.14);
}

.portal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 28px;
}

.portal-topbar img {
  height: 34px;
}

.portal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-nav a,
.portal-nav button {
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--portal-line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  cursor: pointer;
}

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

.portal-section {
  padding: 22px;
}

.portal-stack {
  display: grid;
  gap: 18px;
}

.portal-hero {
  padding: clamp(24px, 5vw, 42px);
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(192, 0, 0, 0.28), transparent 32%),
    rgba(12, 12, 12, 0.78);
}

.portal-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.portal-hero p {
  max-width: 720px;
  color: var(--portal-muted);
}

.portal-eyebrow {
  margin: 0 0 10px;
  color: #ff3b3b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portal-highlight {
  border-color: rgba(224, 0, 0, 0.5);
  box-shadow: 0 24px 80px rgba(192, 0, 0, 0.12), 0 24px 80px rgba(0, 0, 0, 0.44);
}

.portal-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.portal-item {
  padding: 14px;
  border: 1px solid var(--portal-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.portal-item strong {
  display: block;
  margin-bottom: 4px;
}

.portal-item span,
.portal-profile span {
  color: var(--portal-muted);
}

.portal-profile {
  display: grid;
  gap: 10px;
}

.portal-profile div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--portal-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.portal-link-button {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  padding: 0 20px;
  text-decoration: none;
}

.portal-admin-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
}

.portal-sidebar {
  align-self: start;
  position: sticky;
  top: 18px;
  padding: 18px;
}

.portal-sidebar a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 12px;
  border-radius: 8px;
}

.portal-sidebar a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.portal-artist-sidebar strong {
  display: block;
  margin: 0 0 18px;
  font-size: 1.1rem;
}

.portal-section h3 {
  margin: 20px 0 0;
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.92rem;
}

.portal-table th,
.portal-table td {
  padding: 10px;
  border-bottom: 1px solid var(--portal-line);
  text-align: left;
  vertical-align: top;
}

.camping-banner-preview {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .portal-auth,
  .portal-admin-layout,
  .portal-grid,
  .portal-dashboard,
  .artist-metrics,
  .camping-card,
  .release-grid {
    grid-template-columns: 1fr;
  }

  .artist-side {
    position: static;
    height: auto;
  }

  .artist-main {
    padding: 20px 16px 34px;
  }

  .portal-form-wide {
    grid-template-columns: 1fr;
  }

  .artist-topline img {
    width: 118px;
  }

  .release-card {
    grid-template-columns: 96px 1fr;
  }

  .release-row,
  .contributor-row {
    grid-template-columns: 1fr;
  }

  .portal-brand h1 {
    font-size: 2.7rem;
  }

  .portal-sidebar {
    position: static;
  }
}
