:root {
  color-scheme: dark;
  --ps-bg: #07090a;
  --ps-panel: #101214;
  --ps-panel-2: #15181b;
  --ps-line: rgba(255, 255, 255, 0.09);
  --ps-muted: #8d9298;
  --ps-text: #f2f3f4;
  --ps-violet: #a98cff;
  --ps-teal: #65dec6;
  --ps-rose: #f083a5;
  --ps-gold: #e5c277;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--ps-bg);
  color: var(--ps-text);
}

* {
  box-sizing: border-box;
}
html,
body,
#root {
  width: 100%;
  min-height: 100%;
  margin: 0;
}
body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ps-bg);
}
button {
  color: inherit;
  font: inherit;
}
button:focus-visible {
  outline: 2px solid var(--ps-violet);
  outline-offset: 3px;
}

.ps-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  background:
    radial-gradient(
      circle at 85% 0%,
      rgba(122, 89, 218, 0.12),
      transparent 32%
    ),
    var(--ps-bg);
}
.ps-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 88px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 9px;
  border-right: 1px solid var(--ps-line);
  background: rgba(7, 9, 10, 0.96);
  backdrop-filter: blur(16px);
}
.ps-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.14em;
  font-size: 10px;
}
.ps-brand > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  font-weight: 800;
  font-size: 19px;
}
.ps-nav {
  width: 100%;
  display: grid;
  gap: 8px;
  margin: auto 0;
}
.ps-nav button,
.ps-mobile-nav button {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #777c82;
}
.ps-nav button {
  min-height: 61px;
  display: grid;
  place-items: center;
  gap: 4px;
  border-radius: 15px;
}
.ps-nav button > span {
  font-size: 19px;
  line-height: 1;
}
.ps-nav button small {
  max-width: 64px;
  font-size: 9px;
  line-height: 1.1;
}
.ps-nav button.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.085);
  box-shadow: inset 0 0 0 1px var(--ps-line);
}
.ps-profile {
  display: grid;
  justify-items: center;
  gap: 7px;
}
.ps-profile > span:last-child {
  display: none;
}

.ps-main {
  grid-column: 2;
  min-width: 0;
  padding-bottom: 88px;
}
.ps-preview-ribbon {
  min-height: 39px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  border-bottom: 1px solid var(--ps-line);
  color: var(--ps-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.ps-preview-ribbon > span:first-child {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.ps-preview-ribbon p {
  margin: 0;
}
.ps-safe-badge {
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid rgba(101, 222, 198, 0.28);
  border-radius: 999px;
  color: var(--ps-teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ps-view {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 58px);
  animation: ps-in 0.28s ease both;
}
@keyframes ps-in {
  from {
    opacity: 0.2;
    transform: translateY(5px);
  }
}
.ps-view-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}
.ps-kicker {
  margin: 0 0 10px;
  color: var(--ps-violet);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
}
.ps-view h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.ps-subtitle {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--ps-muted);
  font-size: 15px;
  line-height: 1.55;
}
.ps-balance {
  display: flex;
  gap: 8px;
  padding-top: 4px;
}
.ps-balance > span {
  min-width: 96px;
  padding: 13px 15px;
  border: 1px solid var(--ps-line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  text-align: right;
}
.ps-balance small {
  color: var(--ps-muted);
  font-size: 8px;
  letter-spacing: 0.1em;
}
.ps-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 16px;
}
.ps-section-heading > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.ps-section-heading h2,
.ps-panel h2,
.ps-people-panel h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.025em;
}
.ps-section-heading button,
.ps-panel-heading button {
  border: 0;
  padding: 7px;
  background: transparent;
  color: var(--ps-muted);
  cursor: pointer;
  font-size: 12px;
}
.ps-section-heading > span {
  color: var(--ps-muted);
  font-size: 11px;
}
.ps-live-dot,
.ps-online {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5478;
  box-shadow: 0 0 0 4px rgba(255, 84, 120, 0.12);
}
.ps-online {
  width: 6px;
  height: 6px;
  background: var(--ps-teal);
  box-shadow: 0 0 0 4px rgba(101, 222, 198, 0.1);
}

.ps-live-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 13px;
  margin-bottom: 28px;
}
.ps-live-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--ps-line);
  border-radius: 20px;
  padding: 18px;
  cursor: pointer;
  text-align: left;
  background: var(--ps-panel);
  isolation: isolate;
}
.ps-live-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    0deg,
    rgba(5, 6, 8, 0.96),
    rgba(5, 6, 8, 0.06) 75%
  );
}
.ps-live-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.78;
  transition: transform 0.35s ease;
}
.ps-live-card:hover::before {
  transform: scale(1.035);
}
.ps-live-card--hero::before {
  background:
    radial-gradient(
      circle at 30% 34%,
      rgba(169, 140, 255, 0.75),
      transparent 28%
    ),
    radial-gradient(
      circle at 65% 42%,
      rgba(101, 222, 198, 0.5),
      transparent 25%
    ),
    #171522;
}
.ps-live-card--night::before {
  background: url("/assets/showcase/night-walk.svg") center / cover;
}
.ps-live-card--film::before {
  background: url("/assets/showcase/workspace-glow.svg") center / cover;
}
.ps-chip {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 8px;
  border-radius: 6px;
  background: rgba(7, 9, 10, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.ps-chip--live {
  background: #e33f64;
  border-color: transparent;
}
.ps-card-copy {
  position: absolute;
  inset: auto 18px 17px;
  display: grid;
  gap: 5px;
}
.ps-card-copy strong {
  font-size: 18px;
}
.ps-card-copy small {
  color: rgba(255, 255, 255, 0.64);
}
.ps-stage-stack {
  position: absolute;
  inset: 25px 28px auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.ps-stage-face {
  width: 92px;
  height: 116px;
  overflow: hidden;
  margin-left: -16px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: #181a1d;
  transform: rotate(var(--rotate, -3deg));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}
.ps-stage-face:nth-child(2) {
  --rotate: 3deg;
  transform: translateY(-8px) rotate(3deg);
}
.ps-stage-face:nth-child(3) {
  --rotate: -2deg;
}
.ps-stage-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-home-columns {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 13px;
}
.ps-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--ps-line);
  border-radius: 20px;
  background: rgba(16, 18, 20, 0.9);
}
.ps-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.ps-panel-heading > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ps-panel-heading > span {
  color: var(--ps-muted);
  font-size: 9px;
  letter-spacing: 0.16em;
}
.ps-mini-message {
  display: flex;
  gap: 11px;
  padding: 12px 0;
  border-top: 1px solid var(--ps-line);
}
.ps-mini-message p {
  margin: 0;
  color: #c1c4c7;
  font-size: 13px;
  line-height: 1.45;
}
.ps-mini-message strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
}
.ps-chat-pulse {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 11px;
  background: rgba(101, 222, 198, 0.06);
  color: var(--ps-teal);
  font-size: 11px;
}
.ps-now-playing {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 17px;
}
.ps-now-playing .ps-panel-heading {
  grid-column: 1 / -1;
  width: 100%;
  margin-bottom: 0;
}
.ps-track-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.ps-track-copy strong {
  font-size: 18px;
}
.ps-track-copy span {
  color: var(--ps-muted);
  font-size: 11px;
}
.ps-now-playing .ps-primary-button {
  grid-column: 1 / -1;
}

.ps-avatar {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  overflow: visible;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: #24272b;
}
.ps-avatar--small {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}
.ps-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.ps-presence {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--ps-panel);
  border-radius: 50%;
  background: var(--ps-teal);
}
.ps-primary-button,
.ps-secondary-button {
  min-height: 44px;
  border-radius: 12px;
  padding: 0 17px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 750;
  font-size: 12px;
}
.ps-primary-button {
  background: #f2f3f4;
  color: #090a0b;
}
.ps-secondary-button {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--ps-line);
  color: #fff;
}
.ps-icon-button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--ps-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}
.ps-icon-button.is-active {
  color: var(--ps-teal);
  border-color: rgba(101, 222, 198, 0.35);
  background: rgba(101, 222, 198, 0.1);
}

.ps-chat-header {
  align-items: center;
}
.ps-member-stack {
  display: flex;
  align-items: center;
  padding-right: 12px;
}
.ps-member-stack .ps-avatar {
  margin-right: -10px;
  border: 2px solid var(--ps-bg);
}
.ps-member-stack > span:last-child {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  margin-left: -2px;
  border-radius: 50%;
  background: #202328;
  color: var(--ps-muted);
  font-size: 10px;
}
.ps-chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid var(--ps-line);
  border-radius: 20px;
  background: rgba(16, 18, 20, 0.72);
}
.ps-chat-stream {
  min-width: 0;
  border-right: 1px solid var(--ps-line);
}
.ps-channel-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 22px;
  border-bottom: 1px solid var(--ps-line);
}
.ps-channel-bar > span:last-child {
  margin-left: auto;
  color: var(--ps-muted);
  font-size: 11px;
}
.ps-messages {
  padding: 12px 22px;
}
.ps-message {
  display: flex;
  gap: 13px;
  padding: 14px 0;
}
.ps-message-body {
  min-width: 0;
}
.ps-message-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.ps-message-meta span,
.ps-message-meta time {
  color: var(--ps-muted);
  font-size: 10px;
}
.ps-message-meta time {
  margin-left: auto;
}
.ps-message p {
  margin: 6px 0 0;
  color: #d3d5d7;
  font-size: 13px;
  line-height: 1.52;
}
.ps-reaction {
  min-height: 28px;
  margin-top: 9px;
  padding: 0 9px;
  border: 1px solid rgba(169, 140, 255, 0.24);
  border-radius: 999px;
  background: rgba(169, 140, 255, 0.08);
  cursor: pointer;
}
.ps-readonly-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 8px 20px 20px;
  padding: 13px 15px;
  border: 1px solid rgba(101, 222, 198, 0.18);
  border-radius: 12px;
  background: rgba(101, 222, 198, 0.055);
  color: var(--ps-muted);
  font-size: 11px;
  line-height: 1.4;
}
.ps-readonly-note > span:first-child {
  color: var(--ps-teal);
}
.ps-readonly-note strong {
  display: block;
  color: var(--ps-teal);
}
.ps-people-panel {
  padding: 21px 14px;
}
.ps-people-panel h2 {
  padding: 0 8px 13px;
}
.ps-person-row {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 8px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.ps-person-row:hover {
  background: rgba(255, 255, 255, 0.05);
}
.ps-person-row > span:last-child {
  display: grid;
  gap: 3px;
}
.ps-person-row small {
  color: var(--ps-muted);
  font-size: 10px;
}

.ps-music-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ps-muted);
  font-size: 11px;
}
.ps-music-status > span {
  letter-spacing: -2px;
  color: #555;
}
.ps-music-status > span.is-playing {
  color: var(--ps-teal);
  animation: ps-beat 1s infinite alternate;
}
@keyframes ps-beat {
  to {
    transform: scaleY(0.55);
  }
}
.ps-music-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 26px;
  padding: 28px;
  border: 1px solid var(--ps-line);
  border-radius: 22px;
  background: linear-gradient(
    120deg,
    rgba(119, 82, 190, 0.2),
    rgba(16, 18, 20, 0.9) 52%,
    rgba(101, 222, 198, 0.08)
  );
}
.ps-music-hero-copy > span {
  color: var(--ps-violet);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.ps-music-hero-copy h2 {
  margin: 7px 0 8px;
  font-size: clamp(27px, 4vw, 48px);
  letter-spacing: -0.05em;
}
.ps-music-hero-copy p {
  max-width: 540px;
  margin: 0 0 19px;
  color: var(--ps-muted);
  line-height: 1.5;
}
.ps-music-actions {
  display: flex;
  gap: 9px;
}
.ps-listener-stack {
  display: flex;
  align-items: center;
  align-self: center;
}
.ps-listener-stack .ps-avatar {
  margin-left: -9px;
  border: 2px solid #15171b;
}
.ps-listener-stack > span:last-child {
  margin-left: 9px;
  color: var(--ps-muted);
  font-size: 10px;
  white-space: nowrap;
}
.ps-album {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  width: 75px;
  height: 75px;
  border-radius: 14px;
  background: linear-gradient(145deg, #513e7b, #15151d);
  font-weight: 900;
  letter-spacing: -0.08em;
  isolation: isolate;
}
.ps-album::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 130%;
  height: 36%;
  background: rgba(255, 255, 255, 0.09);
  transform: rotate(-25deg);
}
.ps-album i {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 3px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}
.ps-album > span {
  transform: translateY(22px);
  font-size: 9px;
  letter-spacing: 0.08em;
}
.ps-album--large {
  width: clamp(142px, 17vw, 210px);
  height: clamp(142px, 17vw, 210px);
  border-radius: 22px;
}
.ps-album--large > span {
  transform: translateY(46px);
  font-size: 16px;
}
.ps-album--large i {
  width: 29px;
  height: 29px;
  border-width: 7px;
}
.ps-album--small {
  width: 43px;
  height: 43px;
  border-radius: 9px;
  font-size: 8px;
}
.ps-album--small > span {
  transform: translateY(12px);
}
.ps-album--small i {
  display: none;
}
.ps-album--tiny {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  font-size: 7px;
}
.ps-album--tiny > span {
  transform: none;
}
.ps-album--tiny i {
  display: none;
}
.ps-album--amber {
  background: linear-gradient(145deg, #b17837, #2d1c17);
}
.ps-album--teal {
  background: linear-gradient(145deg, #337d75, #102221);
}
.ps-album--blue {
  background: linear-gradient(145deg, #3765a1, #111c30);
}
.ps-track-list {
  border-top: 1px solid var(--ps-line);
}
.ps-music .ps-section-heading {
  margin-top: 30px;
}
.ps-track-row {
  width: 100%;
  display: grid;
  grid-template-columns: 32px 43px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 65px;
  padding: 9px 13px;
  border: 0;
  border-bottom: 1px solid var(--ps-line);
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.ps-track-row:hover,
.ps-track-row.is-current {
  background: rgba(255, 255, 255, 0.035);
}
.ps-track-row.is-current .ps-track-number,
.ps-track-row.is-current .ps-track-main strong {
  color: var(--ps-teal);
}
.ps-track-number,
.ps-track-length {
  color: var(--ps-muted);
  font-size: 11px;
  text-align: center;
}
.ps-track-main {
  display: grid;
  gap: 4px;
}
.ps-track-main small {
  color: var(--ps-muted);
}

.ps-watch {
  width: 100%;
  max-width: none;
  padding: 0;
}
.ps-watch-hero {
  position: relative;
  min-height: 530px;
  display: flex;
  align-items: center;
  padding: clamp(35px, 6vw, 86px);
  background-position: center;
  background-size: cover;
  transition: background-image 0.25s ease;
}
.ps-watch-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ps-watch-copy {
  position: relative;
  z-index: 1;
  max-width: 570px;
}
.ps-watch-copy h1 {
  font-size: clamp(45px, 7vw, 94px);
  text-transform: uppercase;
}
.ps-watch-copy > p:not(.ps-kicker):not(.ps-watch-description) {
  color: #c8cbcd;
  font-size: 12px;
}
.ps-watch-description {
  color: var(--ps-muted);
  line-height: 1.6;
}
.ps-watch-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 23px;
}
.ps-preview-progress {
  position: absolute;
  z-index: 1;
  inset: auto clamp(35px, 6vw, 86px) 29px;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
}
.ps-preview-progress span {
  display: block;
  height: 100%;
  background: var(--ps-violet);
  transition: width 0.3s ease;
}
.ps-preview-progress small {
  display: block;
  margin-top: 8px;
  color: #aeb1b4;
}
.ps-watch-shelf {
  padding: 28px clamp(28px, 5vw, 72px) 55px;
}
.ps-title-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.ps-title-grid button {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--ps-line);
  border-radius: 16px;
  background: var(--ps-panel);
  cursor: pointer;
  text-align: left;
}
.ps-title-grid button.is-selected {
  border-color: rgba(169, 140, 255, 0.65);
  box-shadow: 0 0 0 2px rgba(169, 140, 255, 0.14);
}
.ps-title-grid img {
  width: 100%;
  aspect-ratio: 16/8;
  display: block;
  object-fit: cover;
}
.ps-title-grid button > span {
  display: grid;
  gap: 4px;
  padding: 14px;
}
.ps-title-grid small {
  color: var(--ps-muted);
}

.ps-live {
  width: 100%;
  max-width: none;
  padding: 0;
}
.ps-live-topbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 28px;
  border-bottom: 1px solid var(--ps-line);
}
.ps-live-topbar > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
.ps-live-topbar h1 {
  font-size: 21px;
  letter-spacing: -0.03em;
}
.ps-live-topbar p {
  margin: 5px 0 0;
  color: var(--ps-muted);
  font-size: 11px;
}
.ps-live-audience {
  color: var(--ps-muted);
  font-size: 11px;
}
.ps-live-audience .ps-icon-button {
  width: auto;
  padding: 0 13px;
}
.ps-live-room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  min-height: calc(100vh - 126px);
}
.ps-stage {
  position: relative;
  min-width: 0;
  padding: 14px;
  background: #050607;
}
.ps-stage-grid {
  height: min(70vh, 680px);
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.ps-stage-tile {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: #17191d;
}
.ps-stage-tile--1 {
  grid-row: 1 / 4;
}
.ps-stage-tile--2 {
  grid-column: 2;
  grid-row: 1;
}
.ps-stage-tile--3 {
  grid-column: 2;
  grid-row: 2;
}
.ps-stage-tile--4 {
  grid-column: 2;
  grid-row: 3;
}
.ps-stage-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(0.78) contrast(1.06);
}
.ps-stage-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 6, 7, 0.82), transparent 42%);
}
.ps-stage-tile > div {
  position: absolute;
  z-index: 1;
  inset: auto 14px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.ps-stage-tile > div span {
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.45);
  color: #b8bbc0;
  font-size: 8px;
  letter-spacing: 0.1em;
}
.ps-stage-controls {
  position: absolute;
  z-index: 2;
  inset: auto 28px 29px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ps-stage-controls button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(7, 9, 10, 0.74);
  cursor: pointer;
  backdrop-filter: blur(9px);
}
.ps-stage-controls span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
}
.ps-live-rail {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--ps-line);
  background: #0d0f11;
}
.ps-live-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--ps-line);
}
.ps-live-tabs button {
  min-height: 54px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ps-muted);
  cursor: pointer;
}
.ps-live-tabs button[aria-selected="true"] {
  color: #fff;
  border-color: var(--ps-violet);
}
.ps-live-chat {
  flex: 1;
  padding: 15px 18px;
}
.ps-live-chat p {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--ps-line);
  color: #c8cbce;
  font-size: 12px;
  line-height: 1.45;
}
.ps-live-chat strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
}
.ps-audience-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: start;
  padding: 20px;
}
.ps-audience-grid > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ps-audience-grid small {
  color: var(--ps-muted);
}
.ps-readonly-note--live {
  margin-top: auto;
}

.ps-player {
  position: fixed;
  z-index: 30;
  inset: auto 18px 18px 106px;
  min-height: 58px;
  display: grid;
  grid-template-columns: 40px 35px minmax(120px, auto) minmax(90px, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  background: rgba(17, 19, 22, 0.95);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(22px);
}
.ps-player > button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f2f3f4;
  color: #090a0b;
  cursor: pointer;
}
.ps-player-copy {
  display: grid;
  gap: 2px;
  font-size: 11px;
}
.ps-player-copy small,
.ps-player time {
  color: var(--ps-muted);
  font-size: 9px;
}
.ps-player-line {
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}
.ps-player-line i {
  display: block;
  height: 100%;
  background: var(--ps-violet);
  transition: width 0.3s;
}
.ps-mobile-nav {
  display: none;
}

@media (max-width: 900px) {
  .ps-live-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ps-live-card--hero {
    grid-column: 1 / -1;
  }
  .ps-home-columns {
    grid-template-columns: 1fr;
  }
  .ps-chat-layout {
    grid-template-columns: 1fr;
  }
  .ps-chat-stream {
    border-right: 0;
  }
  .ps-people-panel {
    display: none;
  }
  .ps-music-hero {
    grid-template-columns: auto 1fr;
  }
  .ps-listener-stack {
    grid-column: 1 / -1;
  }
  .ps-live-room {
    grid-template-columns: 1fr;
  }
  .ps-live-rail {
    min-height: 400px;
    border-left: 0;
    border-top: 1px solid var(--ps-line);
  }
}

@media (max-width: 620px) {
  .ps-app {
    display: block;
    min-height: 100svh;
  }
  .ps-sidebar {
    display: none;
  }
  .ps-main {
    padding-bottom: 86px;
  }
  .ps-preview-ribbon {
    min-height: 34px;
    padding: 0 14px;
    gap: 8px;
  }
  .ps-preview-ribbon p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .ps-safe-badge {
    font-size: 7px;
    padding: 4px 6px;
  }
  .ps-view {
    padding: 27px 16px 38px;
  }
  .ps-view-header {
    display: block;
    margin-bottom: 27px;
  }
  .ps-view h1 {
    font-size: 36px;
  }
  .ps-subtitle {
    font-size: 13px;
  }
  .ps-balance {
    margin-top: 20px;
  }
  .ps-balance > span {
    flex: 1;
    text-align: left;
  }
  .ps-live-grid {
    grid-template-columns: 1fr;
  }
  .ps-live-card--hero {
    grid-column: auto;
  }
  .ps-live-card {
    min-height: 184px;
  }
  .ps-stage-face {
    width: 74px;
    height: 94px;
  }
  .ps-home-columns {
    display: block;
  }
  .ps-panel {
    margin-top: 13px;
    padding: 17px;
  }
  .ps-now-playing {
    grid-template-columns: 64px 1fr;
  }
  .ps-album {
    width: 64px;
    height: 64px;
  }
  .ps-chat-header .ps-member-stack {
    margin-top: 20px;
  }
  .ps-chat-layout {
    min-height: 0;
    border-radius: 15px;
  }
  .ps-channel-bar {
    height: 51px;
    padding: 0 14px;
  }
  .ps-messages {
    padding: 7px 13px;
  }
  .ps-message {
    gap: 10px;
  }
  .ps-message-meta span {
    display: none;
  }
  .ps-readonly-note {
    margin: 7px 12px 13px;
  }
  .ps-music-hero {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 20px;
  }
  .ps-album--large {
    width: 132px;
    height: 132px;
  }
  .ps-listener-stack {
    grid-column: auto;
  }
  .ps-track-row {
    grid-template-columns: 25px 40px minmax(0, 1fr) auto;
    gap: 8px;
    padding-inline: 4px;
  }
  .ps-watch-hero {
    min-height: 520px;
    padding: 34px 18px 70px;
    background-position: 60% center;
  }
  .ps-watch-copy h1 {
    font-size: 54px;
  }
  .ps-watch-description {
    max-width: 83%;
  }
  .ps-preview-progress {
    inset-inline: 18px;
    bottom: 30px;
  }
  .ps-watch-shelf {
    padding: 23px 16px 40px;
  }
  .ps-title-grid {
    grid-template-columns: 1fr;
  }
  .ps-title-grid img {
    aspect-ratio: 16/7;
  }
  .ps-live-topbar {
    align-items: flex-start;
    padding: 14px;
  }
  .ps-live-topbar > div:first-child {
    align-items: flex-start;
  }
  .ps-live-audience {
    display: grid !important;
    justify-items: end;
    gap: 6px !important;
  }
  .ps-stage {
    padding: 7px;
  }
  .ps-stage-grid {
    min-height: 480px;
    height: 62svh;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.4fr 1fr 1fr;
  }
  .ps-stage-tile--1 {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .ps-stage-tile--2 {
    grid-column: 1;
    grid-row: 2;
  }
  .ps-stage-tile--3 {
    grid-column: 2;
    grid-row: 2;
  }
  .ps-stage-tile--4 {
    grid-column: 1 / 3;
    grid-row: 3;
  }
  .ps-stage-controls {
    inset: auto 14px 15px;
  }
  .ps-stage-controls span {
    display: none;
  }
  .ps-live-rail {
    min-height: 390px;
  }
  .ps-player {
    inset: auto 9px 75px 9px;
    grid-template-columns: 38px 32px minmax(0, 1fr) auto;
    min-height: 54px;
  }
  .ps-player-line {
    display: none;
  }
  .ps-player time {
    white-space: nowrap;
  }
  .ps-mobile-nav {
    position: fixed;
    z-index: 40;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 66px;
    padding: 5px 5px max(5px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--ps-line);
    background: rgba(7, 9, 10, 0.95);
    backdrop-filter: blur(20px);
  }
  .ps-mobile-nav button {
    min-width: 0;
    display: grid;
    place-items: center;
    gap: 2px;
  }
  .ps-mobile-nav button > span {
    font-size: 16px;
  }
  .ps-mobile-nav button small {
    max-width: 62px;
    overflow: hidden;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ps-mobile-nav button.is-active {
    color: #fff;
  }
}

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

/* Current VULU visual language: neutral black structures, semantic status
   color, compact mono labels, and the reviewed pixel/dither treatment. */
:root {
  --ps-bg: #040404;
  --ps-panel: #0a0a0a;
  --ps-panel-2: #141414;
  --ps-line: rgba(255, 255, 255, 0.16);
  --ps-muted: #9a9a9a;
  --ps-text: #f6f7f6;
  --ps-violet: #c77dff;
  --ps-teal: #4ade80;
  --ps-rose: #ff4458;
  --ps-gold: #f2d24a;
}

.ps-app {
  grid-template-columns: 72px minmax(0, 1fr);
  background: #040404;
  isolation: isolate;
}
.ps-app::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.24) 0 0.7px, transparent 0.8px),
    linear-gradient(115deg, transparent 25%, rgba(74, 222, 128, 0.04) 50%, transparent 75%);
  background-size: 4px 4px, 100% 100%;
}
.ps-sidebar {
  width: 72px;
  padding-inline: 7px;
  background: #050505;
}
.ps-brand > span,
.ps-nav button,
.ps-panel,
.ps-live-card,
.ps-chat-layout,
.ps-music-hero,
.ps-title-grid button,
.ps-stage-tile {
  border-radius: 14px;
}
.ps-brand > span {
  border-width: 2px;
  background:
    repeating-conic-gradient(rgba(255, 255, 255, 0.08) 0 25%, transparent 0 50%) 0 0 / 4px 4px,
    #141414;
}
.ps-nav button.is-active {
  color: var(--ps-text);
  background: #1a1a1a;
  box-shadow: inset 3px 0 0 var(--ps-teal);
}
.ps-preview-ribbon,
.ps-kicker,
.ps-chip,
.ps-panel-heading > span,
.ps-stage-tile > div span,
.ps-safe-badge {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}
.ps-preview-ribbon {
  background: rgba(4, 4, 4, 0.92);
}
.ps-safe-badge {
  border-color: rgba(74, 222, 128, 0.42);
  color: var(--ps-teal);
}
.ps-live-card,
.ps-panel,
.ps-chat-layout,
.ps-music-hero,
.ps-track-list,
.ps-title-grid button,
.ps-stage-tile {
  border-width: 2px;
}
.ps-live-card::after,
.ps-stage-tile::after,
.ps-watch-hero::after {
  background-image:
    linear-gradient(0deg, rgba(4, 4, 4, 0.94), rgba(4, 4, 4, 0.03) 74%),
    radial-gradient(circle, rgba(255, 255, 255, 0.2) 0 0.65px, transparent 0.8px);
  background-size: auto, 4px 4px;
}
.ps-chip--live {
  background: var(--ps-rose);
}
.ps-chat-pulse,
.ps-readonly-note {
  border-color: rgba(74, 222, 128, 0.28);
  background: rgba(74, 222, 128, 0.06);
  color: var(--ps-teal);
}
.ps-person-row {
  cursor: default;
}
.ps-person-row:hover {
  background: transparent;
}
.ps-avatar,
.ps-stage-face,
.ps-stage-tile img,
.ps-title-grid img {
  image-rendering: pixelated;
}
.ps-primary-button {
  background: var(--ps-teal);
  color: #032012;
}
.ps-player-line i {
  background-color: var(--ps-teal);
}
.ps-live-tabs button[aria-selected="true"] {
  border-color: var(--ps-teal);
  background: rgba(74, 222, 128, 0.12);
}

@media (min-width: 901px) {
  .ps-home {
    display: grid;
    grid-template-columns: minmax(230px, 0.72fr) minmax(0, 2fr);
    grid-template-areas:
      "intro intro"
      "live-heading content"
      "live content";
    gap: 0 12px;
  }
  .ps-home > .ps-view-header {
    grid-area: intro;
  }
  .ps-home > .ps-section-heading {
    grid-area: live-heading;
    align-self: end;
  }
  .ps-home > .ps-live-grid {
    grid-area: live;
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }
  .ps-home > .ps-home-columns {
    grid-area: content;
    grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.75fr);
  }
  .ps-home .ps-live-card {
    min-height: 148px;
  }
  .ps-home .ps-live-card--hero {
    min-height: 222px;
  }
  .ps-home .ps-stage-stack {
    inset: 18px 20px auto;
    transform: scale(0.72);
    transform-origin: top center;
  }
  .ps-home .ps-chat-preview {
    min-height: 100%;
    border-width: 3px;
  }
  .ps-home .ps-now-playing {
    align-content: start;
    border-width: 3px;
  }
}
