/* Rooms: the listening side. Built on next.css; only what is new lives here. */

.ls-promise { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--panel-2); color: var(--t2); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.ls-promise .ic { color: var(--blue); font-size: 12px; width: auto; }

/* hero: the night radio */
.ls-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 10px 0 6px; padding: 28px 28px; border-radius: 12px; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(124, 196, 255, .22), transparent 55%), radial-gradient(90% 120% at 100% 100%, rgba(120, 90, 200, .22), transparent 60%), var(--s1); }
.ls-hero__k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.ls-hero__h { margin: 6px 0 4px; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.ls-hero__p { margin: 0; color: var(--t2); font-weight: 600; max-width: 460px; }
.ls-hero__play { width: 60px !important; height: 60px !important; flex: none; }

/* room covers: a 2x2 mosaic of what is inside */
.ls-mosaic { position: absolute; inset: 0; display: grid; background: var(--empty) center / cover no-repeat; }
.ls-mosaic--4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.ls-mosaic--4 i { background: center / cover no-repeat; }
.ls-mosaic--empty { place-items: center; color: var(--t4); }
.ls-mosaic--empty .ic { font-size: 26px; width: auto; }
.nx-lib__art { position: relative; overflow: hidden; }
.ls-rh__art { position: relative; overflow: hidden; display: block; cursor: default; }
.ls-rh__art--round { border-radius: 50% !important; }

/* songs */
.ls-tracks { display: grid; gap: 2px; }
.ls-track { display: grid; grid-template-columns: 32px 44px minmax(0, 1fr) 120px 36px 52px; align-items: center; gap: 12px; padding: 6px 10px; border-radius: 6px; cursor: pointer; }
.ls-track:hover { background: rgba(var(--fg-rgb), .05); }
.ls-track__n { text-align: center; color: var(--t3); font-weight: 700; font-size: 13px; }
.ls-track__n .pi, .ls-track__n .eq { display: none; }
.ls-track:hover .ls-track__n .num, .ls-track.is-current .ls-track__n .num { display: none; }
.ls-track:hover .ls-track__n .pi { display: inline-grid; color: var(--t1); }
.ls-track__n .pi .ic { font-size: 11px; }
.ls-track.is-current:not(:hover) .ls-track__n .eq { display: inline-flex; }
.ls-track__art { width: 44px; height: 44px; border-radius: 5px; background: var(--empty) center / cover no-repeat; }
.ls-track__txt { display: grid; min-width: 0; }
.ls-track__t { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ls-track.is-current .ls-track__t { color: var(--blue); }
.ls-track__a { font-size: 12.5px; color: var(--t3); font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; justify-self: start; }
.ls-track__a:hover { color: var(--t1); text-decoration: underline; }
.ls-track__plays { font-size: 12.5px; color: var(--t3); font-weight: 600; text-align: right; }
.ls-track__d { font-size: 12.5px; color: var(--t3); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.ls-heart { opacity: 0; color: var(--t3); }
.ls-track:hover .ls-heart, .ls-heart.is-on { opacity: 1; }
.ls-heart.is-on, .ls-save.is-on { color: var(--blue); }
.ls-heart .ic, .ls-save .ic { font-size: 13px; }
.ls-save { color: var(--t3); margin-left: 4px; }

/* artists */
.ls-artists { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; }
.ls-artist { display: grid; justify-items: center; gap: 8px; padding: 10px; border-radius: 8px; text-align: center; }
.ls-artist:hover { background: rgba(var(--fg-rgb), .05); }
.ls-artist__pic { width: 100%; max-width: 120px; aspect-ratio: 1; border-radius: 50%; background: var(--empty) center / cover no-repeat; }
.ls-artist__n { font-weight: 800; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

.ls-radio { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 800; }
.ls-radio .ic { font-size: 11px; width: auto; }
.nx-player__sub a { color: inherit; }
.nx-player__sub a:hover { color: var(--t1); text-decoration: underline; }

/* rooms has fewer tabs */
@media (max-width: 860px) {
  .nx-tabs { grid-template-columns: repeat(3, 1fr); }
  .ls-promise { display: none; }
  .ls-hero { padding: 22px 18px; }
  .ls-track { grid-template-columns: 24px 40px minmax(0, 1fr) 36px; gap: 10px; padding: 6px; }
  .ls-track__plays, .ls-track__d { display: none; }
  .ls-heart { opacity: 1; }
  .ls-artists { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* room cards: the cover box needs a size for the mosaic inside it */
.ls-room { display: block; }
.ls-room .nx-cover { display: block; position: relative; aspect-ratio: 1; }
.ls-room .nx-card__t, .ls-room .nx-card__s { display: block; }

@media (max-width: 860px) {
  .ls-rh__art { width: 160px !important; height: 160px !important; }
  .ls-track__t { font-size: 13.5px; }
}

/* ==========================================================================
   Rooms, deeper: menus, crates, artist pages, releases, details.
   ========================================================================== */

/* ---- side panel: rooms, your crates, following ---- */
.ls-side { gap: 0; }
.ls-side__sec { display: flex; flex-direction: column; min-height: 0; }
.ls-side__sec--grow { flex: 1; overflow-y: auto; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); scrollbar-width: thin; }
.ls-side__h { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 4px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--t4); }
.ls-side__h .nx-ib { width: 26px; height: 26px; }
.ls-side__h .nx-ib .ic { font-size: 12px; }
.ls-side__h--sub { margin-top: 10px; }
.ls-side__list { display: grid; gap: 1px; }
.ls-side__list .nx-lib__art { width: 40px; height: 40px; }
.ls-side__empty { margin: 2px 8px 8px; font-size: 12.5px; color: var(--t4); font-weight: 600; }
.ls-round { border-radius: 50% !important; background-size: cover !important; background-position: center !important; }

/* ---- the menu ---- */
.ls-menu {
  position: fixed; z-index: 900; min-width: 200px; max-width: 260px; padding: 4px; border-radius: 8px;
  background: var(--menu); border: 1px solid rgba(var(--fg-rgb), .07); box-shadow: 0 16px 44px rgba(0, 0, 0, .55);
  animation: nx-pop .12s var(--ease);
}
.ls-menu hr { border: 0; border-top: 1px solid rgba(var(--fg-rgb), .07); margin: 4px 6px; }
.ls-menu__row { position: relative; }
.ls-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 4px; text-align: left; font-size: 13.5px; font-weight: 700; color: var(--t1); }
.ls-menu button:hover, .ls-menu__row.is-open > button { background: rgba(var(--fg-rgb), .08); }
.ls-menu button .ic { font-size: 13px; width: 16px; color: var(--t3); }
.ls-menu button span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-menu button .fa-chevron-right { width: auto; font-size: 10px; }
.ls-menu button.is-on .ic:first-child { color: var(--blue); }
.ls-menu button.is-danger, .ls-menu button.is-danger .ic { color: var(--bad); }
.ls-menu__sub { display: none; position: absolute; left: calc(100% + 4px); top: -4px; min-width: 190px; max-height: 300px; overflow-y: auto; padding: 4px; border-radius: 8px; background: var(--menu); border: 1px solid rgba(var(--fg-rgb), .07); box-shadow: 0 16px 44px rgba(0, 0, 0, .55); }
.ls-menu__row.has-sub:hover > .ls-menu__sub, .ls-menu__row.is-open > .ls-menu__sub { display: block; }
@media (max-width: 860px) { .ls-menu__sub { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; } }

/* ---- song rows: release column + kebab ---- */
.ls-track { grid-template-columns: 32px 44px minmax(0, 1.3fr) minmax(0, 1fr) 80px 36px 48px 32px; }
.ls-track--noart { grid-template-columns: 32px minmax(0, 1.3fr) minmax(0, 1fr) 80px 36px 48px 32px; }
.ls-track__rel { font-size: 12.5px; color: var(--t3); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; justify-self: start; max-width: 100%; }
a.ls-track__rel:hover { color: var(--t1); text-decoration: underline; }
.ls-kebab { opacity: 0; width: 30px; height: 30px; }
.ls-kebab .ic { font-size: 13px; }
.ls-track:hover .ls-kebab, .ls-track:focus-within .ls-kebab, .nx-bar .ls-kebab { opacity: 1; }
.nx-bar .ls-kebab { width: 40px; height: 40px; }
.nx-bar .ls-kebab .ic { font-size: 16px; }
.ls-disc { display: flex; align-items: center; gap: 10px; padding: 16px 10px 6px; font-size: 13px; font-weight: 800; color: var(--t3); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.ls-disc .ic { font-size: 14px; width: auto; }

/* ---- artist page: banner ---- */
.ls-banner { position: relative; margin: -10px -24px 0; height: 300px; background: var(--empty) center 30% / cover no-repeat; overflow: hidden; }
.ls-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--bg-rgb), .05) 0%, rgba(var(--bg-rgb), .55) 55%, var(--bg) 100%); }
.ls-banner__in { position: absolute; left: 24px; right: 24px; bottom: 18px; z-index: 1; display: flex; align-items: flex-end; gap: 20px; }
.ls-banner__pic { width: 132px; height: 132px; flex: none; border-radius: 50%; background: var(--empty) center / cover no-repeat; box-shadow: 0 0 0 4px var(--bg); }
.ls-banner__txt { min-width: 0; padding-bottom: 6px; }
.ls-banner__name { margin: 4px 0 6px; font-size: clamp(32px, 5vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.ls-banner__meta { color: var(--t2); font-weight: 700; font-size: 14px; }
.ls-banner__meta b { color: var(--t1); }
.ls-follow { box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), .3); background: transparent; }
.ls-follow:hover { box-shadow: inset 0 0 0 1px var(--t1); background: transparent; }
.ls-follow.is-on { box-shadow: inset 0 0 0 1px var(--blue-line); color: var(--blue); }

.ls-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.ls-chip { height: 32px; padding: 0 14px; border-radius: 999px; font-weight: 800; font-size: 13px; color: var(--t1); background: rgba(var(--fg-rgb), .07); }
.ls-chip:hover { background: rgba(var(--fg-rgb), .12); }
.ls-chip.is-on { background: var(--t1); color: var(--bg); }
.ls-room img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- about ---- */
.ls-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; margin-top: 14px; padding: 18px; border-radius: 10px; background: var(--s1); }
.ls-about__pic { min-height: 260px; border-radius: 8px; background: var(--empty) center / cover no-repeat; }
.ls-about__txt p { margin: 0 0 16px; font-size: 15px; font-weight: 600; color: var(--t2); line-height: 1.55; }
.ls-about__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.ls-about__facts dt { font-size: 11.5px; font-weight: 800; color: var(--t4); text-transform: uppercase; letter-spacing: .05em; }
.ls-about__facts dd { margin: 2px 0 0; font-size: 18px; font-weight: 800; }

/* ---- details + up next panel ---- */
.ls-now { display: flex; align-items: center; gap: 2px; min-width: 0; }
.ls-now .nx-player__now { min-width: 0; flex: 0 1 auto; }
.nx-now__s a, .nx-now__facts a { color: var(--t2); }
.nx-now__s a:hover, .nx-now__facts a:hover { color: var(--t1); text-decoration: underline; }
.nx-now__art { position: relative; }
.ls-now-artist { position: relative; display: grid; align-content: end; gap: 2px; min-height: 150px; margin-top: 16px; padding: 14px 16px; border-radius: 10px; overflow: hidden; background: var(--empty) center / cover no-repeat; color: #fff; }
.ls-now-artist::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, .75)); }
.ls-now-artist span, .ls-now-artist b { position: relative; }
.ls-now-artist span { font-size: 12px; font-weight: 800; opacity: .8; }
.ls-now-artist b { font-size: 18px; font-weight: 800; }
.ls-q__h { margin: 14px 4px 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--t4); }
.nx-now .ls-track { grid-template-columns: 24px 40px minmax(0, 1fr) 30px; gap: 10px; padding: 5px 6px; }
.nx-now .ls-track__rel, .nx-now .ls-track__plays, .nx-now .ls-track__d, .nx-now .ls-heart { display: none; }
.nx-now .ls-track__art { width: 40px; height: 40px; }
.ls-mosaic--saved { background: linear-gradient(135deg, rgba(124, 196, 255, .5), rgba(124, 196, 255, .1)) !important; color: #fff !important; }
.ls-mosaic--saved .ic { font-size: 54px !important; }
.nx-card--new { text-align: left; }

@media (max-width: 1100px) { .ls-track { grid-template-columns: 32px 44px minmax(0, 1fr) 70px 36px 48px 32px; } .ls-track__rel { display: none; } .ls-track--noart { grid-template-columns: 32px minmax(0, 1fr) 70px 36px 48px 32px; } }
@media (max-width: 860px) {
  .ls-banner { margin: -4px -16px 0; height: 220px; }
  .ls-banner__in { left: 16px; right: 16px; gap: 14px; }
  .ls-banner__pic { width: 88px; height: 88px; }
  .ls-about { grid-template-columns: minmax(0, 1fr); }
  .ls-about__pic { min-height: 180px; }
  .ls-track, .ls-track--noart { grid-template-columns: 24px 40px minmax(0, 1fr) 30px 30px; }
  .ls-track--noart { grid-template-columns: 24px minmax(0, 1fr) 30px 30px; }
  .ls-track__plays, .ls-track__d, .ls-track__rel { display: none; }
  .ls-kebab { opacity: 1; }
  .ls-now #pl-more { display: none; }
}

/* the New crate card is a button: same box as the cards beside it */
button.nx-card { display: block; width: auto; font: inherit; color: inherit; text-align: left; }
button.nx-card .nx-cover { display: grid; place-items: center; aspect-ratio: 1; width: 100%; }
button.nx-card .nx-card__t, button.nx-card .nx-card__s { display: block; }

/* several artists on one line, each its own link */
.ls-track__a a, .nx-player__sub a, .nx-now__s a { color: inherit; }
.ls-track__a a:hover, .nx-player__sub a:hover { color: var(--t1); text-decoration: underline; }
.ls-track__a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* credits */
.ls-credit { display: grid; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line); }
.ls-credit:first-of-type { border-top: 0; padding-top: 0; }
.ls-credit span { font-size: 11.5px; font-weight: 800; color: var(--t4); text-transform: uppercase; letter-spacing: .05em; }
.ls-credit b { font-size: 14px; font-weight: 700; }
.ls-credit a { color: var(--t1); }
.ls-credit a:hover { text-decoration: underline; }

/* titles are not editable here: no hover box behind them */
.nl-rooms .nx-rh__title, .nl-rooms .nx-rh__title:hover, .nl-rooms .nx-rh__title:focus { background: none !important; box-shadow: none !important; cursor: default; padding: 0; }
.nl-rooms .nx-rh__art, .nl-rooms .ls-rh__art { cursor: default; }
.nl-rooms .nx-rh__art:hover .nx-rh__artedit { opacity: 0; }

/* Legal links at the foot of the side panel */
.ls-legal { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 10px 12px 2px; }
.ls-legal a { font-size: 11.5px; color: var(--t3); text-decoration: none; }
.ls-legal a:hover { color: var(--t1); text-decoration: underline; }
.nx.is-mini .ls-legal { display: none; }

/* long artist lists stay on one line */
.ls-track__a { display: block; min-width: 0; max-width: 100%; justify-self: stretch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* the promise, quietly */
.ls-promise { height: auto !important; padding: 0 4px !important; background: none !important; border: 0 !important; gap: 6px !important; font-size: 11.5px !important; font-weight: 600 !important; color: var(--t3) !important; }
.ls-promise .ic { color: var(--t3) !important; font-size: 10.5px !important; }

/* ================= Room to breathe on the Rooms home ================= */
.nl-rooms .ls-hero { padding: 48px 52px !important; margin-bottom: 12px; border-radius: 12px; }
.nl-rooms .ls-hero__p { max-width: 460px; margin-top: 10px; line-height: 1.55; }
.nl-rooms .nx-sec { margin-top: 60px !important; }
.nl-rooms .nx-sec__head { margin-bottom: 20px !important; }
.nl-rooms .nx-grid { gap: 34px 24px !important; }
.nl-rooms .ls-tracks { gap: 4px; }
.nl-rooms .ls-artists { gap: 18px 24px; }
@media (max-width: 860px) { .nl-rooms .ls-hero { padding: 28px 22px !important; } .nl-rooms .nx-sec { margin-top: 40px !important; } }

/* Picks: made on this device */
.ls-picks-off { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; border-radius: 12px; background: rgba(var(--fg-rgb), .03); }
.ls-picks-off b { display: block; font-size: 15px; font-weight: 800; color: var(--t1); }
.ls-picks-off span { display: block; margin-top: 4px; max-width: 520px; font-size: 13px; line-height: 1.5; color: var(--t3); }
.ls-picks-off .nx-btn { flex: none; }
.ls-picks-note { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 6px; font-size: 11.5px; font-weight: 600; color: var(--t3); }
.ls-picks-note .ic { font-size: 10px; width: auto; }
@media (max-width: 860px) { .ls-picks-off { flex-direction: column; align-items: flex-start; } }

/* ================= Side panel: fold to covers, animated ================= */
.nl-rooms .nx.can-anim { transition: grid-template-columns .32s cubic-bezier(.2, .8, .2, 1); }
.ls-side__h--top { padding-right: 2px; }
.ls-fold { width: 28px !important; height: 28px !important; color: var(--t3); }
.ls-fold .ic { font-size: 11px; transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
.ls-side .nx-lib__txt, .ls-side__h > span, .ls-side .nx-side__link span, .ls-legal, .ls-side__empty, .ls-side__h .nx-ib:not(.ls-fold) {
  transition: opacity .2s ease; white-space: nowrap;
}
.nx.is-mini .ls-side { padding: 8px 6px; }
.nx.is-mini .ls-side .nx-lib__txt, .nx.is-mini .ls-side__h > span, .nx.is-mini .ls-side .nx-side__link span,
.nx.is-mini .ls-legal, .nx.is-mini .ls-side__empty, .nx.is-mini .ls-side__h .nx-ib:not(.ls-fold) { opacity: 0; pointer-events: none; }
.nx.is-mini .ls-side .nx-lib__txt, .nx.is-mini .ls-side__h > span, .nx.is-mini .ls-side .nx-side__link span { width: 0; overflow: hidden; }
.nx.is-mini .ls-side__h, .nx.is-mini .ls-side__h--sub { justify-content: center; padding: 6px 0 4px; min-height: 0; }
.nx.is-mini .ls-side__h--sub { height: 1px; padding: 0; margin: 8px 10px; background: var(--line); }
.nx.is-mini .ls-side__sec--grow .ls-side__h:first-child { height: 0; padding: 0; overflow: hidden; }
.nx.is-mini .ls-fold .ic { transform: rotate(180deg); }
.nx.is-mini .ls-side .nx-lib__item { justify-content: center; gap: 0; padding: 5px 0; }
.nx.is-mini .ls-side .nx-lib__art { width: 44px; height: 44px; }
.nx.is-mini .ls-side .nx-side__link { justify-content: center; gap: 0; padding: 0; }
.nx.is-mini .ls-side .ls-side__empty, .nx.is-mini .ls-legal { display: none; }
@media (prefers-reduced-motion: reduce) { .nl-rooms .nx.can-anim, .ls-fold .ic { transition: none; } }

/* ================= Night radio: the homepage wallpapers, slowly crossfading ================= */
.ls-hero--wall { background: #07090a !important; isolation: isolate; min-height: 260px; }
.ls-hero--wall > :not(.ls-wall) { position: relative; z-index: 2; }
.ls-wall { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; }
.ls-wall::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(7, 9, 10, .86) 0%, rgba(7, 9, 10, .55) 45%, rgba(7, 9, 10, .2) 100%),
              linear-gradient(0deg, rgba(7, 9, 10, .55) 0%, transparent 45%);
}
.ls-wall__img {
  position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0;
  animation: ls-wall 54s linear infinite; animation-delay: calc(var(--i) * 9s - 1s);
}
@keyframes ls-wall {
  0%      { opacity: 0; transform: scale(1.06); }
  4%      { opacity: 1; }
  16.6%   { opacity: 1; }
  21%     { opacity: 0; transform: scale(1); }
  100%    { opacity: 0; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .ls-wall__img { animation: none; }
  .ls-wall__img:first-child { opacity: 1; }
}
:root[data-theme="light"] .ls-hero--wall .ls-hero__h { color: #fff; }
:root[data-theme="light"] .ls-hero--wall .ls-hero__p { color: rgba(255, 255, 255, .8); }
.ls-fold .ic { transform: rotate(180deg); }
.nx.is-mini .ls-fold .ic { transform: rotate(0deg); }

/* ================= Account: top bar + sign-in sheet ================= */
.ls-acct { display: flex; align-items: center; }
.ls-acct__in { height: 32px !important; padding: 0 14px !important; font-size: 12.5px !important; }
.ls-acct__me { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--fg-rgb), .08); color: var(--t1); font-weight: 800; font-size: 13px; cursor: pointer; border: 0; }
.ls-acct__me:hover { background: rgba(var(--fg-rgb), .12); }

.modal__panel.ls-auth { position: relative; width: min(380px, 100%); padding: 30px 28px 22px; text-align: center; border-radius: 14px !important; }
.ls-auth .modal__close { position: absolute; top: 12px; right: 12px; }
.ls-auth__mark { display: block; margin: 2px auto 12px; opacity: .9; }
:root[data-theme="light"] .ls-auth__mark { filter: invert(1); }
.ls-auth__t { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--t1); }
.ls-auth__s { margin: 6px auto 20px; max-width: 290px; font-size: 13px; line-height: 1.5; color: var(--t3); }
.ls-auth__sso { display: grid; gap: 8px; }
.ls-auth__btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 42px; border-radius: 999px; border: 1px solid var(--menu-line, rgba(255,255,255,.08)); background: rgba(var(--fg-rgb), .04); color: var(--t1); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.ls-auth__btn:hover { background: rgba(var(--fg-rgb), .07); }
.ls-auth__btn i { font-size: 15px; width: 18px; }
.ls-auth__or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; font-size: 11.5px; font-weight: 700; color: var(--t4, var(--t3)); text-transform: uppercase; letter-spacing: .06em; }
.ls-auth__or::before, .ls-auth__or::after { content: ""; flex: 1; height: 1px; background: rgba(var(--fg-rgb), .08); }
.ls-auth__form { display: grid; gap: 8px; }
.ls-auth__in { height: 42px; padding: 0 14px; border-radius: 10px; border: 0; outline: 0; background: rgba(var(--fg-rgb), .05); box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), .07); color: var(--t1); font: inherit; font-size: 14px; }
.ls-auth__in:focus { box-shadow: inset 0 0 0 1px var(--blue-line); }
.ls-auth__err { margin: 2px 0 0; font-size: 12.5px; color: var(--bad); text-align: left; }
.ls-auth__go { height: 42px; margin-top: 4px; border-radius: 999px; border: 0; background: var(--blue); color: var(--blue-ink); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.ls-auth__go:disabled, .ls-auth__btn:disabled { opacity: .6; cursor: default; }
.ls-auth__switch { margin-top: 14px; border: 0; background: none; font: inherit; font-size: 13px; color: var(--t3); cursor: pointer; }
.ls-auth__switch b { color: var(--t1); }
.ls-auth__fine { margin: 14px 0 0; font-size: 11px; line-height: 1.5; color: var(--t3); }
.ls-auth__fine a { color: inherit; text-decoration: underline; }

/* sub-menus flip when there is no room */
.ls-menu--subleft .ls-menu__sub { left: auto !important; right: calc(100% + 4px) !important; }
.ls-menu--subup .ls-menu__sub { top: auto !important; bottom: -4px !important; }

/* ================= Sign in, v2: brand buttons, email folded away ================= */
.modal__panel.ls-auth { width: min(372px, 100%); padding: 34px 28px 20px; overflow: hidden; }
.ls-auth__step { display: none; animation: ls-step .22s cubic-bezier(.2, .8, .2, 1); }
.ls-auth__step.is-on { display: block; }
@keyframes ls-step { from { opacity: 0; transform: translateY(6px); } }
.ls-auth__mark { margin: 0 auto 14px; }
.ls-auth__s { margin: 8px auto 22px; max-width: 280px; }
.ls-auth__sso { gap: 10px; }
.ls-auth__btn { position: relative; height: 44px; border-radius: 10px; border: 0; font-size: 14px; font-weight: 700; transition: filter .15s, background .15s; }
.ls-auth__btn svg, .ls-auth__btn i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); }
.ls-auth__btn i { font-size: 17px; width: 18px; text-align: center; }
.ls-auth__btn:hover { filter: brightness(1.06); }
.ls-auth__btn--google { background: #ffffff; color: #1f1f1f; }
.ls-auth__btn--discord { background: #5865F2; color: #ffffff; }
.ls-auth__btn--github { background: #24292f; color: #ffffff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.ls-auth__btn--email { background: transparent; color: var(--t2); box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), .1); }
.ls-auth__btn--email:hover { background: rgba(var(--fg-rgb), .03); filter: none; }
:root[data-theme="light"] .ls-auth__btn--google { box-shadow: inset 0 0 0 1px rgba(13, 20, 23, .14); }
.ls-auth__back { position: absolute; top: 14px; left: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: none; color: var(--t3); cursor: pointer; }
.ls-auth__back:hover { color: var(--t1); background: rgba(var(--fg-rgb), .05); }
[data-step="email"] .ls-auth__t { margin: 6px 0 18px; }
.ls-auth__form { text-align: left; gap: 12px; }
.ls-auth__f { display: grid; gap: 6px; }
.ls-auth__f > span:first-child { font-size: 12px; font-weight: 700; color: var(--t3); }
.ls-auth__in { width: 100%; height: 44px; }
.ls-auth__pw { position: relative; display: block; }
.ls-auth__pw .ls-auth__in { padding-right: 44px; }
.ls-auth__eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--t3); cursor: pointer; }
.ls-auth__eye:hover { color: var(--t1); }
.ls-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 18px; margin-top: -4px; }
.ls-auth__hint { font-size: 12px; color: var(--t3); }
.ls-auth__link { border: 0; background: none; padding: 0; font: inherit; font-size: 12px; font-weight: 700; color: var(--t2); cursor: pointer; }
.ls-auth__link:hover { color: var(--t1); text-decoration: underline; }
.ls-auth__go { height: 44px; border-radius: 10px; }
.ls-auth__err { text-align: center; margin-top: 12px; }
.ls-auth__form .ls-auth__err { text-align: left; margin-top: 0; }
.ls-auth__switch { display: block; margin: 16px auto 0; }
.ls-auth__fine { margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(var(--fg-rgb), .05); }

/* sign-in fields: no ring on focus, just a touch brighter */
.ls-auth__in:focus { box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), .07) !important; background: rgba(var(--fg-rgb), .075); }
.ls-auth__back { top: 16px; left: 16px; width: 34px; height: 34px; font-size: 14px; }
.ls-auth .modal__close { width: 34px; height: 34px; }

/* Rooms, before the server side exists */
.ls-soon { position: relative; isolation: isolate; min-height: calc(100% - 20px); margin-top: 10px; border-radius: 12px; overflow: hidden; display: grid; align-items: end; background: #07090a; }
.ls-soon .ls-wall { border-radius: 12px; }
.ls-soon__in { position: relative; z-index: 2; padding: 56px 52px; max-width: 620px; }
.ls-soon .ls-hero__h { font-size: clamp(34px, 5vw, 56px); color: #fff; }
.ls-soon .ls-hero__p { color: rgba(255, 255, 255, .78); max-width: 460px; margin-top: 10px; line-height: 1.55; }
.ls-soon__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
body.ls-soon-on .nx-side .ls-side__sec, body.ls-soon-on #ls-acct, body.ls-soon-on .nx-search { visibility: hidden; }
@media (max-width: 860px) { .ls-soon__in { padding: 32px 22px; } }
