/* ==========================================================================
   VAULTDROP — "Glass Bento" redesign (v5)
   Floating glass dock, rounded glass tiles on a graphite mesh,
   bento grid on the home page, floating glass player.
   Desktop layout changes are scoped to min-width 801px so the mobile
   rules in styles.css keep working.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0a0c11;
  --surface: rgba(255, 255, 255, .045);
  --surface2: rgba(255, 255, 255, .08);
  --border: rgba(255, 255, 255, .09);
  --border2: rgba(255, 255, 255, .16);
  --text: #eef0f7;
  --muted: #8c93a6;
  --violet: #8b6bff;
  --teal: #34d6c1;
  --rose: #ff6b9a;
  --sidebar: transparent;
  --panel: rgba(255, 255, 255, .045);
  --panel2: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .09);
  --lime: #eef0f7;
  --lime-dark: #c8cde0;
  --track-accent: #8b6bff;
  --radius: 20px;
  --vd-surface: rgba(20, 22, 30, .85);
  --vd-border: rgba(255, 255, 255, .12);
  --vd-muted: #8c93a6;
  --vd-accent: #8b6bff;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: var(--sans);
  --serif: var(--sans);
  --mono: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --grad: linear-gradient(135deg, #8b6bff 0%, #5fa8ff 55%, #34d6c1 100%);
}

/* ---------- Base: graphite canvas with soft mesh glows ---------- */
html { background: var(--bg); }
body, body.auth-hydrating {
  background:
    radial-gradient(60% 50% at 8% 0%, rgba(139, 107, 255, .22), transparent 70%),
    radial-gradient(45% 40% at 100% 20%, rgba(52, 214, 193, .14), transparent 70%),
    radial-gradient(50% 45% at 60% 110%, rgba(255, 107, 154, .10), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; color: var(--text); }
p, .muted, small { color: var(--muted); }
button, input, select, textarea { font-family: var(--sans); }

.section-kicker, .eyebrow, .side-label, .track-meta, .profile-meta-kicker,
.discord-role-label, .discord-role-count, .public-discord-eyebrow, .topbar-edition,
.workspace-kicker, .connection, .following-count, .collection-note {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-kicker, .eyebrow { color: var(--teal); }

/* ---------- Buttons & controls: pills and soft gradients ---------- */
.primary-button, .big-play, .player-controls .big-play {
  background: var(--grad);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 10px 30px -10px rgba(139, 107, 255, .7);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.primary-button:hover, .big-play:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 14px 36px -10px rgba(139, 107, 255, .8); color: #fff; }
.outline-button, .ghost-button {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border2);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  backdrop-filter: blur(10px);
}
.outline-button:hover, .ghost-button:hover { background: var(--surface2); color: var(--text); border-color: var(--violet); }
.icon-button, .back-forward button {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.icon-button:hover, .back-forward button:hover { background: var(--surface2); }
.filter-pill, .directory-tab {
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
}
.filter-pill:hover, .directory-tab:hover { color: var(--text); border-color: var(--border2); }
.filter-pill.active, .filter-pill.selected, .directory-tab.active, .directory-tab.selected {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}
input, select, textarea {
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 107, 255, .18); }
input::placeholder, textarea::placeholder { color: #5f6679; }

/* ---------- Floating dock (desktop) ---------- */
@media (min-width: 801px) {
  .sidebar {
    position: fixed;
    top: 14px;
    left: 14px;
    bottom: 110px;
    width: 76px;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: rgba(18, 20, 28, .72);
    border: 1px solid var(--border);
    border-radius: 28px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6);
    overflow: hidden;
    transition: width .28s ease;
    z-index: 40;
  }
  .sidebar:hover { width: 232px; align-items: stretch; padding: 16px 12px; }
  .sidebar .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 0 14px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border);
    width: 100%;
    justify-content: center;
    font-family: var(--sans);
    font-weight: 800;
    font-size: 16px;
    color: var(--text);
    white-space: nowrap;
  }
  .sidebar .brand-symbol {
    width: 44px; height: 44px; display: grid; place-items: center;
    border-radius: 14px; background: var(--grad); color: #fff; font-size: 20px;
    flex: 0 0 44px;
  }
  .sidebar .brand-dot { font-size: 11px; color: var(--teal); font-family: var(--mono); }
  .sidebar .side-label, .sidebar .side-divider, .sidebar .collection-note,
  .sidebar .sidebar-bottom { display: none; }
  .sidebar .side-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 16px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border: 0;
    background: transparent;
    flex: 0 0 auto;
    transition: background .15s ease, color .15s ease;
  }
  .sidebar .side-link:hover { background: var(--surface2); color: var(--text); }
  .sidebar .side-link.selected { background: var(--grad); color: #fff; box-shadow: 0 8px 24px -8px rgba(139, 107, 255, .8); }
  .sidebar .side-link.selected::before { display: none; }
  .sidebar .side-icon { font-size: 19px; width: 22px; text-align: center; flex: 0 0 22px; color: inherit; }
  .sidebar:hover .side-link { width: 100%; justify-content: flex-start; padding: 0 14px; }
  .sidebar .side-link .following-count { margin-left: auto; font-size: 10px; background: var(--surface2); border-radius: 999px; padding: 1px 7px; }
  .sidebar .discord-join-link { color: var(--teal); }
  .sidebar .discord-external-mark { margin-left: auto; font-size: 11px; opacity: .7; }
  /* Collapsed: hide text, keep icons */
  .sidebar:not(:hover) .brand > span:last-child,
  .sidebar:not(:hover) .side-link { font-size: 0 !important; }
  .sidebar:not(:hover) .side-icon { font-size: 19px !important; }
  .sidebar:not(:hover) .following-count,
  .sidebar:not(:hover) .discord-external-mark { display: none; }
  .sidebar:not(:hover) .brand { border-bottom: 0; }
  .sidebar:not(:hover) .brand-dot { display: none; }

  .main-area { margin-left: 104px; }
  .topbar {
    position: sticky;
    top: 14px;
    height: 68px;
    margin: 14px 14px 0;
    padding: 0 18px;
    border-radius: 24px;
    background: rgba(18, 20, 28, .72);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 30;
  }
  .topbar-leading #sidebarToggle { display: none; }
  .topbar-brand { display: none; }
  .search-wrap { background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 999px; height: 42px; }
  .search-wrap:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139,107,255,.18); }
  .search-wrap input { background: transparent; border: 0; }
  .page-content { padding: 22px 14px 150px; }

  /* Player: floating glass bar */
  .player-bar {
    left: 104px;
    right: 14px;
    bottom: 14px;
    width: auto;
    height: 80px;
    border-radius: 26px;
    background: rgba(18, 20, 28, .78);
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .7);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    grid-template-columns: 260px minmax(0, 1fr) 260px;
    padding: 10px 18px;
    gap: 20px;
  }
  .floating-create {
    background: var(--grad);
    color: #fff;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 16px 36px -10px rgba(139, 107, 255, .8);
    bottom: 116px;
    right: 26px;
  }
  #vdQuickTools { right: 112px; bottom: 116px; }
  #vdToolsToggle {
    background: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(12px);
    box-shadow: none;
  }
  .create-menu { background: rgba(22,24,34,.95); border: 1px solid var(--border2); border-radius: 18px; box-shadow: 0 24px 60px -18px rgba(0,0,0,.7); bottom: 180px; right: 26px; }
  .create-menu button:hover { background: var(--surface2); }
  .vd-tools-panel { background: rgba(22,24,34,.96); border: 1px solid var(--border2); border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
}

/* ---------- Tiles: glass panels used across the site ---------- */
.hero-strip,
.discord-community-panel,
.weekly-release-panel,
.workspace-panel,
.upload-panel,
.section-panel,
.artist-card,
.weekly-release-card,
.auth-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -28px rgba(0, 0, 0, .6);
}
.hero-strip { position: relative; overflow: hidden; padding: clamp(26px, 3.6vw, 48px); }
.hero-strip::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,107,255,.35), transparent 65%);
  pointer-events: none;
}
.hero-strip h1 {
  font-size: clamp(44px, 6.4vw, 92px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.045em;
  color: var(--text);
}
.hero-strip h1 span, .hero-strip h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-strip p { color: var(--muted); font-size: 15px; max-width: 52ch; }
.live-dot { background: var(--teal); box-shadow: 0 0 12px rgba(52,214,193,.8); }
.graphic-sticker { background: var(--grad); color: #fff; border-radius: 999px; }
.graphic-orbit { border-color: rgba(139,107,255,.25); }
.hero-graphic .graphic-disc { background: radial-gradient(circle, #222838 0 22%, #0f1119 23% 100%); }

.discord-community-panel { display: flex; align-items: center; gap: 18px; padding: 24px; }
.discord-community-mark { width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; border: 0; }
.discord-community-copy h2 { font-size: 24px; color: var(--text); }
.discord-community-copy p { color: var(--muted); }
.discord-community-button { border-radius: 999px; background: var(--surface2); color: var(--text); border: 1px solid var(--border2); }
.discord-community-button:hover { border-color: var(--violet); }

.section-row { border-top: 0; padding-top: 0; margin-top: 40px; align-items: flex-end; }
.section-row h2 { font-size: clamp(30px, 3.6vw, 46px); }
.section-row > div:first-child h2 { margin-top: 8px; }
.weekly-release-panel .section-row, .hero-strip .section-row { margin-top: 0; }
.weekly-release-card { padding: 14px; display: flex; gap: 12px; align-items: center; }
.weekly-release-card:hover, .artist-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.artist-card { padding: 20px; }
.artist-card-name { font-size: 20px; font-weight: 800; }
.artist-card-stats { font-size: 12px; color: var(--muted); }
.artist-avatar-fallback { background: var(--grad); color: #fff; font-weight: 800; }
.artist-discovery-tag, .artist-discovery-tags span { border-radius: 999px; border: 1px solid var(--border); background: var(--surface2); color: var(--text); font-size: 11px; padding: 3px 10px; }
.empty-state, .weekly-release-empty { border: 1px dashed var(--border2); background: var(--surface); border-radius: var(--radius); }
.file-drop { border: 1px dashed var(--border2); background: var(--surface); border-radius: var(--radius); }
.file-drop.dragging { border-color: var(--violet); background: rgba(139,107,255,.1); }
.skeleton-card, .skeleton-art, .skeleton-line { background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.08), rgba(255,255,255,.03)); border-radius: 14px; }

/* ---------- Bento home (scoped to the home page) ---------- */
@media (min-width: 801px) {
  body.is-home .page-content {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }
  body.is-home .hero-strip { grid-column: span 8; }
  body.is-home .discord-community-panel { grid-column: span 4; flex-direction: column; align-items: flex-start; justify-content: space-between; }
  body.is-home .weekly-release-panel { grid-column: span 12; }
  body.is-home .section-row { grid-column: span 12; }
  body.is-home .track-grid { grid-column: span 12; }
  body.is-home .weekly-release-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
  body.is-home .hero-buttons { margin-top: 22px; }
}

/* ---------- Track rows: rounded glass tiles ---------- */
.track-art { border-radius: 16px; background: var(--surface2); border: 1px solid var(--border); }
.track-art:before, .track-art:after { display: none; }
.track-art .art-letter { font-weight: 800; color: var(--text); opacity: .4; }
.card-play { background: var(--grad); color: #fff; border: 0; border-radius: 999px; box-shadow: 0 8px 20px -6px rgba(139,107,255,.8); }
.track-card h3 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.track-artist { color: var(--muted); font-size: 13px; }
.track-meta { color: var(--muted); }
.track-meta .visibility { color: var(--teal); }
.track-more { color: var(--muted); }

@media (min-width: 801px) {
  .track-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
    counter-reset: trk;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .track-card {
    counter-increment: trk;
    display: grid;
    grid-template-columns: 40px 56px minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    grid-template-areas: "idx art title artist meta actions";
    align-items: center;
    column-gap: 16px;
    padding: 10px 14px;
    width: 100%;
    max-width: none;
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    transform: none !important;
    transition: background .15s ease, border-color .15s ease;
  }
  .track-card:hover { background: var(--surface2); border-color: var(--border2); }
  .track-card::before {
    content: counter(trk, decimal-leading-zero);
    grid-area: idx;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
  }
  .track-art { grid-area: art; width: 56px; height: 56px; aspect-ratio: auto; margin: 0; }
  .track-art .card-play { position: absolute; right: -6px; bottom: -6px; width: 26px; height: 26px; font-size: 9px; padding: 0; opacity: 0; }
  .track-card:hover .track-art .card-play, .track-art .card-play:focus-visible { opacity: 1; }
  .track-card h3 { grid-area: title; margin: 0; min-width: 0; }
  .track-card h3 .track-title-open { text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; font-size: 15px; }
  .track-artist { grid-area: artist; margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .track-meta { grid-area: meta; display: flex; gap: 12px; margin: 0; min-width: 0; overflow: hidden; white-space: nowrap; }
  .track-card-actions { grid-area: actions; display: flex; gap: 6px; opacity: 1; }
  .track-card-actions button { width: 32px; height: 32px; font-size: 13px; border-radius: 12px; background: var(--surface2); color: var(--text); border: 1px solid var(--border); }
  .track-card-actions button:hover { background: var(--grad); color: #fff; border-color: transparent; }
}

/* ---------- Player (mobile keeps its own rules) ---------- */
.player-bar { background: rgba(18, 20, 28, .92); color: var(--text); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 24px 60px -18px rgba(0,0,0,.7); }
.player-bar strong { color: var(--text); }
.player-bar .now-meta span, .player-bar small { color: var(--muted); }
.player-controls button, .player-extra button { color: var(--text); }
.player-controls .big-play { color: #fff; }
.mini-cover { border-radius: 14px; border: 1px solid var(--border); background-color: var(--surface2); color: var(--text); }
.waveform { opacity: .85; }
.progress-row input, .player-extra input { accent-color: var(--violet); }
.create-menu button { color: var(--text); }
.create-menu button span { color: var(--teal); }

/* ---------- Modals & toasts ---------- */
.modal-backdrop { background: rgba(4, 5, 9, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.auth-modal { background: rgba(20, 22, 30, .92); color: var(--text); border-radius: 28px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.8); }
.modal-close { background: var(--surface2); color: var(--text); border: 1px solid var(--border); border-radius: 999px; }
.modal-close:hover { background: var(--grad); color: #fff; border-color: transparent; }
.toast { background: rgba(22,24,34,.95); color: var(--text); border: 1px solid var(--border2); border-radius: 18px; box-shadow: 0 20px 50px -18px rgba(0,0,0,.7); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
hr, .bottom-callout, .side-divider { border-color: var(--border); }

@media (prefers-reduced-motion: no-preference) { .main-area > * { animation: vdRise .45s ease both; } }
@keyframes vdRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .main-area > * { animation: none; } }

/* ==========================================================================
   ARTIST PROFILE — "artist file" layout
   Banner with grain, overlapping avatar, serif name, two-column body
   (main: bio, presence, roles, studio · rail: stats, links).
   ========================================================================== */
.pp {
  --pp-accent: var(--profile-accent, #8b6bff);
  width: min(1180px, 100%);
  margin: 0 auto 40px;
  color: var(--text);
}
.pp-hero { position: relative; }
.pp-banner {
  position: relative;
  height: clamp(190px, 28vw, 300px);
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 85% 0%, color-mix(in srgb, var(--pp-accent) 55%, transparent), transparent 60%),
    radial-gradient(70% 90% at 0% 100%, color-mix(in srgb, var(--pp-accent) 22%, transparent), transparent 70%),
    linear-gradient(160deg, #241d16, #0e0c0a);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}
.pp-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,18,18,.1), rgba(18,18,18,.8));
}
.pp-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 22px);
  mix-blend-mode: overlay;
}
.pp-banner-top {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  top: 18px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(242,236,223,.8);
}
.pp-banner-mark {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(64px, 12vw, 130px);
  line-height: .8;
  color: rgba(242,236,223,.12);
}
.pp-id {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  margin: -78px 26px 0;
}
.pp-avatar { width: 156px; height: 156px; }
.pp-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--bg);
  box-shadow: 0 0 0 1px var(--line), 0 20px 40px rgba(0,0,0,.5);
  background: var(--panel2);
  display: block;
}
.pp-avatar-img.profile-avatar-square { border-radius: 10px; }
.pp-avatar-fallback {
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 64px;
  color: var(--pp-accent);
}
.pp-titles { min-width: 0; padding-bottom: 6px; }
.pp-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pp-accent);
  margin-bottom: 8px;
}
.pp-titles h1 {
  margin: 0;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: .95;
  overflow-wrap: anywhere;
}
.pp-location {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
}
.pp-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.pp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--pp-accent) 45%, transparent);
  background: color-mix(in srgb, var(--pp-accent) 10%, transparent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
}
.pp-tag i { font-style: normal; color: var(--pp-accent); }
.pp-actions { display: flex; flex-direction: column; gap: 8px; min-width: 190px; padding-bottom: 6px; }
.pp-actions button { width: 100%; }

.pp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  margin: 40px 26px 0;
  align-items: start;
}
.pp-main { min-width: 0; }
.pp-rail { position: sticky; top: 96px; display: grid; gap: 28px; }
.pp-bio {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 26px;
  max-width: 34ch;
}
.pp-bio.muted { color: var(--muted); font-family: var(--sans); font-size: 15px; }
.pp-block {
  border-top: 1px solid var(--line);
  padding: 18px 0 24px;
}
.pp-block-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.pp-spotify {
  display: grid !important;
  grid-template-columns: 56px minmax(0,1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 0 0 26px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.pp-spotify img, .pp-spotify .public-spotify-presence-mark { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; }
.pp-spotify span { min-width: 0; display: grid; gap: 2px; }
.pp-spotify small { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: var(--track-accent); }
.pp-spotify strong { font-family: var(--serif); font-size: 19px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-spotify em { font-style: normal; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-spotify b { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: var(--muted); }

.discord-server-role-badges { margin: 0 0 16px; }
.discord-role-head { margin-bottom: 10px; }
.discord-role-label { font-size: 9px; }
.public-discord-status {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.public-discord-live strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.public-discord-live p, .public-discord-empty { font-size: 13px; }
.discord-activity-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.discord-activity-card img { width: 48px; height: 48px; border-radius: 6px; }

.pp-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
  margin: 0;
}
.pp-stats > div { padding: 16px 8px 14px; text-align: left; border-left: 1px solid var(--line); }
.pp-stats > div:first-child { border-left: 0; padding-left: 0; }
.pp-stats strong { display: block; font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1; }
.pp-stats span { display: block; margin-top: 6px; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.pp-links { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pp-links a {
  display: grid;
  grid-template-columns: 22px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 500;
  transition: color .15s ease, padding .15s ease;
}
.pp-links a:hover { color: var(--pp-accent); padding-left: 8px; }
.pp-links a b { color: var(--muted); font-weight: 400; }
.pp-links .profile-social-logo { width: 22px; height: 22px; display: grid; place-items: center; font-size: 15px; }
.pp-links .profile-social-logo img { width: 18px; height: 18px; object-fit: contain; }
.pp-link-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.public-profile-no-links { color: var(--muted); font-size: 12px; padding: 12px 0; }

.profile-daw-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-daw-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  font-size: 12px;
}
.profile-daw-chip img { width: 20px; height: 20px; object-fit: contain; border-radius: 4px; }
.profile-daw-chip strong { font-weight: 500; }

.pp-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #66604f;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.pp-signature .profile-eq i { background: var(--pp-accent); }

/* Loading / empty / error states inside the profile shell */
.public-profile-state {
  max-width: 560px;
  margin: 60px auto;
  text-align: center;
  padding: 40px 28px;
  border: 1px dashed #3a3328;
  border-radius: 12px;
}
.public-profile-state h1 { font-size: 44px; margin: 10px 0; }

@media (max-width: 980px) {
  .pp-grid { grid-template-columns: 1fr; gap: 28px; margin: 30px 18px 0; }
  .pp-rail { position: static; }
  .pp-id { margin: -64px 18px 0; grid-template-columns: auto minmax(0,1fr); }
  .pp-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .pp-actions button { width: auto; flex: 1 1 180px; }
}
@media (max-width: 560px) {
  .pp-avatar { width: 104px; height: 104px; }
  .pp-avatar-fallback { font-size: 44px; }
  .pp-id { grid-template-columns: minmax(0,1fr); gap: 14px; margin: -52px 12px 0; }
  .pp-avatar { justify-self: start; }
  .pp-banner-mark { display: none; }
  .pp-grid { margin: 24px 12px 0; }
  .pp-banner { border-radius: 10px; }
  .pp-banner-top { left: 14px; right: 14px; top: 12px; font-size: 9px; }
  .pp-titles h1 { font-size: clamp(34px, 11vw, 46px); }
  .pp-stats strong { font-size: 28px; }
  .pp-spotify { grid-template-columns: 44px minmax(0,1fr); }
  .pp-spotify img, .pp-spotify .public-spotify-presence-mark { width: 44px; height: 44px; }
  .pp-spotify b { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pp-links a { transition: none; } }

/* Artist directory: wider cards, ruled grid */
.artist-grid {
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
  gap: 0;
  max-width: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 10px;
}
.artist-grid > .artist-card {
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 18px;
  text-align: left;
}
.artist-grid > .artist-card:hover { border-color: var(--line); background: #151515; transform: none; }
.artist-grid > .artist-card:hover { box-shadow: inset 0 2px 0 var(--track-accent); }
.artist-grid .artist-avatar-wrap { margin-bottom: 14px; }
@media (min-width: 801px) {
  body.is-home .directory-tabs,
  body.is-home .home-directory-tabs { grid-column: span 12; display: flex; flex-wrap: wrap; gap: 8px; }
}
@media (min-width: 801px) {
  body.is-home .discord-community-panel { grid-column: span 12; flex-direction: row; align-items: center; justify-content: flex-start; }
}

/* ==========================================================================
   ROUND 2 — readability, less generic, accent visibility, play placement,
   artist grid, DAW picker, comment timeline
   ========================================================================== */

/* 1) Less "AI" look: flat graphite canvas, neutral accents, no violet/teal glow.
      Per-track accent colors still come from each song's own color. */
:root {
  --muted: #bcc3d2;
  --vd-muted: #bcc3d2;
  --violet: #d6dae6;
  --teal: #d6dae6;
  --rose: #d6dae6;
  --vd-accent: #d6dae6;
  --track-accent: #d6dae6;
  --grad: linear-gradient(135deg, #f3f4f8 0%, #b7bdcc 100%);
}
body, body.auth-hydrating {
  background: #0a0b0f;
  background-attachment: scroll;
}
.card-play { box-shadow: 0 6px 18px rgba(0, 0, 0, .55); }
::selection { background: #d6dae6; color: #0a0b0f; }

/* 2) Text readability: brighter secondary text and comment body text */
p, .muted, small, .track-artist, .track-meta, .artist-card-stats,
.comment-topline time, .section-kicker, .side-label, .eyebrow, .directory-hero p {
  color: #c3c9d6;
}
.track-meta { color: #aab1c0; }
.comment-body p, .comment-item p, .comments-empty, .comments-loading { color: #e2e6ef; }
.comment-topline time { color: #a9b0bf; }

/* 3) Play button sits in the middle of the cover art */
.track-art .card-play {
  top: 50%; left: 50%; right: auto; bottom: auto;
  width: 50px; height: 50px; margin: 0;
  transform: translate(-50%, -50%) scale(.9);
  opacity: 0;
  background: #f5f6fa; color: #0b0c10;
  border-radius: 50%; font-size: 16px; line-height: 1;
  display: grid; place-items: center;
  z-index: 3;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .6);
}
.track-card:hover .track-art .card-play,
.track-art .card-play:focus-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@media (hover: none) {
  .track-art .card-play { opacity: 1; transform: translate(-50%, -50%); }
}

/* 4) Profile accent: visible on the public profile and in the editor */
.pp, .public-profile-card, .artist-profile-panel { --pp-accent: var(--profile-accent); }
.pp .pp-block-label,
.public-profile-card .section-kicker { color: var(--profile-accent); }
.pp .pp-links a:hover { color: var(--profile-accent); }
.public-profile-avatar-wrap { box-shadow: 0 0 0 3px var(--profile-accent); }
.accent-field-label { display: grid; gap: 8px; }
.profile-accent-input {
  width: 100%; height: 56px; padding: 5px;
  border: 2px solid var(--profile-accent-preview, #d9d9d9);
  border-radius: 12px; background: var(--surface); cursor: pointer;
}

/* 5) Artist directory: stop children from overlapping inside each card */
.artist-grid > .artist-card {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 8px; height: auto; min-height: 0; overflow: hidden; position: relative;
}
.artist-grid > .artist-card > * { position: static; }
.artist-grid .artist-avatar-wrap { position: relative; margin: 0 0 6px; }
.artist-grid .artist-online-mark { position: absolute; right: 0; bottom: 0; }
.artist-grid .artist-card-name,
.artist-grid .artist-card-stats {
  max-width: 100%; white-space: normal; overflow-wrap: anywhere; margin: 0;
}
.artist-grid .artist-card p { margin: 0; max-width: 100%; }
.artist-grid .artist-discovery-tags,
.artist-grid .artist-card-tags,
.artist-grid .artist-card-meta {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 0;
}
.artist-grid .artist-discovery-tag { margin: 0; }

/* 6) DAW picker: multi-select chips */
.daw-picker {
  grid-column: 1 / -1; margin: 0; padding: 14px 16px; display: grid; gap: 12px;
  border: 1px solid var(--vd-border); border-radius: 12px;
}
.daw-picker legend { padding: 0 6px; font-size: 12px; font-weight: 700; color: var(--text); }
.daw-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.daw-option {
  display: flex; align-items: center; gap: 9px; padding: 9px 11px; cursor: pointer;
  border: 1px solid var(--border2); border-radius: 10px; background: var(--surface);
  color: var(--text); font-size: 13px; font-weight: 600;
}
.daw-option:has(input:checked) { border-color: #eef0f7; background: var(--surface2); }
.daw-option input { accent-color: #eef0f7; width: 15px; height: 15px; margin: 0; }
.profile-daw-preview-chip img { height: 14px; width: auto; }

/* 7) Comment timeline: bigger, easier target */
.feedback-timeline { height: 30px; }
.feedback-timeline-track { height: 10px; }
.feedback-timeline-marker { width: 18px; height: 18px; }

/* 8) Brand mark uses the site logo */
.brand-symbol { overflow: hidden; padding: 0; background: #0b0c10; }
.brand-symbol img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   Playback options panel (EQ presets, speed, normalize, sleep timer)
   ========================================================================== */
#audioFxBtn {
  min-width: 34px; height: 30px; padding: 0 9px; border-radius: 8px;
  border: 1px solid var(--border2); background: var(--surface); color: var(--muted);
  font: 700 11px var(--mono); letter-spacing: .04em;
}
#audioFxBtn:hover { color: var(--text); border-color: #6a6f7d; }
#audioFxBtn.is-on { color: #0a0b0f; background: #eef0f7; border-color: #eef0f7; }
.audio-fx-panel {
  position: fixed; right: 18px; bottom: 92px; z-index: 1200;
  width: min(360px, calc(100vw - 24px)); max-height: min(72vh, 620px); overflow-y: auto;
  padding: 16px; display: grid; gap: 12px;
  background: #13141a; border: 1px solid var(--border2); border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
.audio-fx-panel.hidden { display: none !important; }
.fx-head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--text); }
.fx-head button { background: none; border: 0; color: var(--muted); font-size: 22px; line-height: 1; }
.fx-label { font: 10px var(--mono); letter-spacing: .12em; color: #a9b0bf; margin-top: 2px; }
.fx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-chips button, .fx-foot button {
  padding: 7px 10px; border-radius: 999px; border: 1px solid var(--border2);
  background: var(--surface); color: var(--text); font-size: 12px; font-weight: 600;
}
.fx-chips button:hover, .fx-foot button:hover { border-color: #7a8090; }
.fx-chips button.active { background: #eef0f7; color: #0a0b0f; border-color: #eef0f7; }
.fx-bands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.fx-band { display: grid; gap: 6px; justify-items: center; font-size: 10px; color: #c3c9d6; }
.fx-band input[type=range] {
  writing-mode: vertical-lr; direction: rtl; width: 24px; height: 110px; accent-color: #eef0f7; margin: 0;
}
.fx-toggle { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text); }
.fx-toggle input { accent-color: #eef0f7; width: 16px; height: 16px; }
.fx-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; color: #a9b0bf; }
@media (max-width: 520px) { .audio-fx-panel { right: 12px; bottom: 84px; } }


/* ==========================================================================
   ROUND 5 — forced readability, flatter look, artist grid, accent, timeline
   ========================================================================== */
body, body.auth-hydrating { background: #0a0b0f !important; background-image: none !important; }
.hero-strip { background: #101116 !important; }
.track-card, .artist-card, .auth-modal, .comments-modal, .audio-fx-panel, .player-bar, .toast {
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.track-card, .artist-card, .auth-modal, .comments-modal, .audio-fx-panel { box-shadow: none !important; }
.player-bar { background: #0e0f14 !important; box-shadow: none !important; }
.card-play, .track-art .card-play { box-shadow: 0 4px 12px rgba(0,0,0,.5) !important; }

/* Text: brighter everywhere it was dim */
p, small, .muted, .track-artist, .track-meta, .track-meta span, .artist-card-stats,
.artist-card p, .comment-body p, .comment-item p, .comments-empty, .comments-loading,
.comment-topline time, .section-kicker, .side-label, .eyebrow, .directory-hero p,
.track-meta .visibility, .now-meta span, .fx-foot, .fx-label {
  color: #d3d8e3 !important;
}
.track-meta, .artist-card-stats, .comment-topline time, .now-meta span { color: #bcc3d1 !important; }
.track-artist { color: #e2e6ef !important; }

/* Artist directory: explicit grid, flow layout, nothing absolute except the online dot */
.artist-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
  gap: 14px !important;
  border: 0 !important; margin-top: 12px !important; max-width: none !important;
}
.artist-grid > .artist-card {
  display: flex !important; flex-direction: column !important; align-items: flex-start !important;
  gap: 8px !important; height: auto !important; min-height: 0 !important;
  width: 100% !important; margin: 0 !important; padding: 18px !important;
  border: 1px solid #262630 !important; border-radius: 12px !important;
  background: #101116 !important; text-align: left !important;
  overflow: hidden !important; position: relative !important; transform: none !important;
}
.artist-grid > .artist-card:hover { border-color: #4a4d5c !important; background: #14151c !important; transform: none !important; box-shadow: none !important; }
.artist-grid > .artist-card * { position: static !important; float: none !important; }
.artist-grid .artist-avatar-wrap { position: relative !important; display: block !important; margin: 0 0 4px !important; width: 66px !important; height: 66px !important; }
.artist-grid .artist-avatar, .artist-grid .leaderboard-avatar { width: 66px !important; height: 66px !important; }
.artist-grid .artist-online-mark { position: absolute !important; right: 0 !important; bottom: 0 !important; }
.artist-grid .artist-card-name { font-size: 15px !important; font-weight: 700 !important; line-height: 1.25 !important; max-width: 100% !important; white-space: normal !important; overflow-wrap: anywhere !important; margin: 0 !important; color: #f2f4f8 !important; }
.artist-grid .artist-card-stats { font-size: 11px !important; line-height: 1.4 !important; margin: 0 !important; max-width: 100% !important; white-space: normal !important; }
.artist-grid .artist-card p { font-size: 12px !important; line-height: 1.5 !important; margin: 0 !important; max-width: 100% !important; display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important; }
.artist-grid .artist-discovery-tag, .artist-grid .artist-discovery-tags, .artist-grid .artist-card-tags, .artist-grid .artist-card-meta {
  display: flex !important; flex-wrap: wrap !important; gap: 6px !important; margin: 0 !important;
}
.artist-grid .artist-discovery-tags span, .artist-grid .artist-card-tags span { font-size: 11px !important; padding: 3px 8px !important; border: 1px solid #333 !important; border-radius: 999px !important; }

/* Profile accent: colors the name, labels and link hover on the public profile */
.pp .pp-name, .pp h1, .public-profile-card .public-profile-name-block strong,
.public-profile-card h1, .public-profile-card h2 { color: var(--profile-accent) !important; }
.pp .pp-block-label, .public-profile-card .section-kicker { color: var(--profile-accent) !important; }
.pp .pp-links a { border-left: 3px solid var(--profile-accent) !important; }
.pp .pp-links a:hover { color: var(--profile-accent) !important; }

/* Timeline: touch-friendly, easy to grab */
#feedbackTimeline, .feedback-timeline { touch-action: none !important; cursor: pointer !important; height: 32px !important; }
.feedback-timeline-marker { width: 20px !important; height: 20px !important; }

/* DAW checkboxes stay readable */
.daw-option { color: #eef0f7 !important; }

/* ==========================================================================
   ROUND 6 — collapsed sidebar rail: every icon in the same centered square
   ========================================================================== */
.sidebar:not(:hover) { align-items: center !important; padding: 18px 0 !important; }
.sidebar:not(:hover) .brand { justify-content: center !important; padding: 0 0 22px !important; width: 100% !important; }
.sidebar:not(:hover) .brand-symbol { margin: 0 auto !important; }
.sidebar:not(:hover) .side-link {
  width: 44px !important; height: 44px !important; min-height: 44px !important;
  margin: 0 auto 6px !important; padding: 0 !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  border-radius: 12px !important; box-shadow: none !important;
}
.sidebar:not(:hover) .side-link.selected { background: #eef0f7 !important; color: #0a0b0f !important; }
.sidebar:not(:hover) .side-icon {
  width: 22px !important; height: 22px !important; flex: none !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  font-size: 18px !important; line-height: 1 !important; margin: 0 !important; color: inherit !important;
}
.sidebar:not(:hover) .side-link.selected .side-icon { color: #0a0b0f !important; }
.sidebar:not(:hover) .side-divider { width: 28px !important; margin: 12px auto !important; }
.sidebar:not(:hover) .following-count, .sidebar:not(:hover) .discord-external-mark { display: none !important; }
.sidebar:not(:hover) .sidebar-bottom { display: none !important; }

/* Support / tip button sits above the social list as its own control */
.pp-support {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: auto !important; min-height: 40px; padding: 10px 18px; margin: 0 0 16px;
  white-space: nowrap !important; text-decoration: none; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: #0a0b0f; background: #eef0f7; border: 0;
}
.pp-support:hover { background: #ffffff; }

/* ROUND 21 — profile header: neutral name, no artist-ID line, support button sized to its text */
.pp .pp-eyebrow { display: none !important; }
.pp .pp-titles h1, .pp h1 {
  color: #f2f4f8 !important; font-size: clamp(34px, 4.4vw, 48px) !important; font-weight: 600 !important;
  letter-spacing: -.02em !important; line-height: 1.05 !important; margin: 4px 0 8px !important; text-shadow: none !important;
}
.pp .pp-support, .pp a.pp-support {
  display: inline-flex !important; width: auto !important; max-width: max-content !important; height: auto !important;
  white-space: nowrap !important; flex: none !important;
}

/* ROUND 22 — artist profile grid alignment (keeps the original design) */
.pp-grid { align-items: start !important; }
.pp-main, .pp-rail { min-width: 0 !important; width: 100% !important; }
.pp-rail { padding-top: 0 !important; margin-top: 0 !important; }
.pp-stats { margin-top: 0 !important; }
.pp-links { width: 100% !important; }
.pp-links a { box-sizing: border-box !important; }
.pp .pp-support { margin-top: 0 !important; margin-bottom: 14px !important; }

/* HOME / editorial refresh — quieter type, fewer synthetic gradients, stronger layout */
body.is-home .page-content { max-width: 1460px; padding-top: 30px; }
body.is-home .hero-strip {
  min-height: 350px; padding: clamp(34px, 5vw, 66px); border-radius: 4px;
  border: 1px solid #303033; background: #0c0c0d; box-shadow: none;
}
body.is-home .hero-strip::before {
  content: none;
  color: #171719; font: 900 clamp(190px, 28vw, 390px)/.8 Arial, sans-serif;
  letter-spacing: -.12em; pointer-events: none;
}
body.is-home .hero-copy { max-width: 650px; }
body.is-home .hero-strip h1 {
  margin: 22px 0 16px; max-width: 720px; font-size: clamp(46px, 6vw, 78px);
  line-height: .98; letter-spacing: -.075em; font-weight: 650;
}
body.is-home .hero-strip h1 span { color: #b8f36b; }
body.is-home .hero-strip p { max-width: 440px; font-size: 13px; line-height: 1.85; color: #a1a1a5; }
body.is-home .hero-buttons { margin-top: 26px; }
body.is-home .hero-buttons .primary-button { background: #c5f47b; color: #111; border-radius: 3px; padding: 13px 18px; }
body.is-home .hero-buttons .outline-button { border-radius: 3px; background: transparent; border-color: #414145; }
body.is-home .hero-footnote { display:flex; align-items:center; gap:12px; margin-top:34px; color:#6f6f74; font:9px 'DM Mono',monospace; letter-spacing:1.2px; }
body.is-home .hero-footnote i { width:22px; height:1px; background:#454549; }
body.is-home .hero-graphic { opacity:.16; right:8%; transform:scale(1.12); }
body.is-home .discord-community-panel {
  display:grid; grid-template-columns:minmax(0,1fr) 390px; align-items:center; gap:clamp(28px,5vw,76px);
  margin:30px 0 42px; padding:clamp(24px,4vw,48px); border:1px solid #303034;
  border-radius:4px; background:#111112; box-shadow:none;
}
body.is-home .discord-community-copy { max-width:560px; }
body.is-home .discord-community-copy .section-kicker { color:#a8d875; letter-spacing:1.8px; }
body.is-home .discord-index { margin:24px 0 12px!important; color:#66666c!important; font:10px 'DM Mono',monospace!important; letter-spacing:1.4px; }
body.is-home .discord-index span { color:#a8d875; padding:0 5px; }
body.is-home .discord-community-copy h2 { margin:0 0 18px; color:#f1f1ed; font-size:clamp(34px,4.2vw,54px); font-weight:600; line-height:1.02; letter-spacing:-.065em; }
body.is-home .discord-community-copy > p:not(.discord-index) { max-width:390px; margin:0; color:#99999f; font-size:13px; line-height:1.9; }
body.is-home .discord-community-button { width:max-content; margin-top:25px; padding:13px 18px; border:1px solid #c5f47b; border-radius:3px; background:#c5f47b; color:#111; font-size:11px; font-weight:800; }
body.is-home .discord-community-button:hover { background:#d6ff9b; border-color:#d6ff9b; }
body.is-home .discord-community-note { display:block; margin-top:15px; color:#66666c; font:9px 'DM Mono',monospace; letter-spacing:.4px; }
body.is-home .discord-widget-wrap { width:100%; max-width:390px; justify-self:end; padding:12px; border:1px solid #303034; background:#0a0a0b; }
body.is-home .discord-widget-heading { display:flex; justify-content:space-between; align-items:center; padding:2px 3px 11px; color:#77777d; font:9px 'DM Mono',monospace; letter-spacing:1.1px; }
body.is-home .discord-widget-status { color:#a8d875; display:flex; align-items:center; gap:7px; }
body.is-home .discord-widget-status i { width:6px; height:6px; border-radius:50%; background:#a8d875; box-shadow:0 0 9px #a8d87566; }
body.is-home .discord-widget-wrap iframe { display:block; width:100%; max-width:350px; height:500px; margin:0 auto; border:0; border-radius:2px; }
body.is-home .directory-tabs { margin-top:22px; }
body.is-home .weekly-release-panel { border-radius:4px; }
@media(max-width:900px) {
  body.is-home .discord-community-panel { grid-template-columns:1fr; }
  body.is-home .discord-widget-wrap { justify-self:start; max-width:100%; }
  body.is-home .discord-widget-wrap iframe { max-width:100%; }
}
@media(max-width:600px) {
  body.is-home .page-content { padding:16px 14px 42px; }
  body.is-home .hero-strip { min-height:0; padding:30px 22px; }
  body.is-home .hero-strip h1 { font-size:clamp(42px,12vw,58px); }
  body.is-home .hero-graphic { right:-100px; top:25px; opacity:.08; }
  body.is-home .hero-footnote { gap:7px; font-size:8px; letter-spacing:.6px; }
  body.is-home .hero-footnote i { width:10px; }
  body.is-home .discord-community-panel { padding:24px 18px; gap:26px; }
  body.is-home .discord-community-copy h2 { font-size:39px; }
  body.is-home .discord-widget-wrap { padding:8px; }
  body.is-home .discord-widget-wrap iframe { height:500px; }
}
