:root {
  --bg: #0b0b0b; --panel: #141412; --panel2: #1c1b18; --line: #2e2a22; --text: #f2eee4; --muted: #b3ad9f;
  --accent: #f2ce6b; --accent-ink: #0b0b0b; --gold: #e0a92b; --good: #3ecf8e; --bad: #ff6b6b; --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
header.top { border-bottom: 1px solid var(--line); background: rgba(11,11,15,.9); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { white-space: nowrap; font-weight: 800; letter-spacing: .02em; color: var(--text); font-size: 18px; }
.brand span { color: var(--accent); }
nav.links { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 15px; }
nav.links a { color: var(--muted); }
nav.links a.btn { color: var(--accent-ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 999px; padding: 9px 18px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none !important; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn.danger { background: var(--bad); color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.hero { padding: 48px 0 24px; }
.hero h1 { font-size: clamp(28px, 5vw, 46px); line-height: 1.1; margin: 0 0 10px; }
.hero p { color: var(--muted); max-width: 640px; margin: 0 0 18px; font-size: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 44vw), 1fr)); gap: 16px; }
.track { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.track .art { aspect-ratio: 1; background: linear-gradient(135deg, #2e2412, #0e0d0b); position: relative; display: flex; align-items: center; justify-content: center; }
.track .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.track .art .ph { font-size: 42px; color: rgba(255,255,255,.25); font-weight: 800; }
.playbtn { position: absolute; right: 10px; bottom: 10px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--accent);
  color: var(--accent-ink); font-size: 18px; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.track .meta { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.track .t { font-weight: 700; }
.track .a { color: var(--muted); font-size: 14px; }
.track .row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; gap: 8px; }
.tag { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.tag.new { color: var(--accent); border-color: var(--accent); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.price { font-size: 34px; font-weight: 800; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; }
ul.ticks { padding-left: 18px; color: var(--muted); }
.fine { color: var(--muted); font-size: 13px; }
form.stack { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
label { font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
label.check { flex-direction: row; align-items: flex-start; gap: 8px; color: var(--text); }
input, select, textarea { background: var(--panel2); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 10px 12px; font: inherit; width: 100%; }
label.check input { width: auto; margin-top: 4px; }
input:focus, select:focus, textarea:focus, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.msg { padding: 10px 14px; border-radius: 10px; font-size: 14px; display: none; }
.msg.show { display: block; }
.msg.err { background: rgba(255,107,107,.12); color: #ffb3b3; border: 1px solid rgba(255,107,107,.35); }
.msg.ok { background: rgba(62,207,142,.12); color: #a6f0cf; border: 1px solid rgba(62,207,142,.35); }
section { margin: 28px 0; }
h2 { font-size: 22px; margin: 0 0 14px; }
footer { border-top: 1px solid var(--line); margin-top: 48px; padding: 24px 0 120px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
/* sticky player */
.player { position: fixed; left: 0; right: 0; bottom: 0; background: #111118; border-top: 1px solid var(--line); z-index: 10; display: none; }
.player.show { display: block; }
.player .wrap { display: flex; align-items: center; gap: 14px; padding: 10px 16px; }
.player .now { flex: 1; min-width: 0; }
.player .now .t { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .now .s { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player audio { width: min(420px, 45vw); }
.player .note { font-size: 12px; color: var(--accent); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.tablewrap { overflow-x: auto; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.tabs button { background: var(--panel); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; font: inherit; }
.tabs button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.kpi .v { font-size: 24px; font-weight: 800; }
.kpi .l { color: var(--muted); font-size: 13px; }
.pill { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); }
.pill.pub { color: var(--good); border-color: var(--good); }
.pill.draft { color: var(--muted); }
.pill.removed { color: var(--bad); border-color: var(--bad); }
.progress { height: 6px; background: var(--panel2); border-radius: 99px; overflow: hidden; }
.progress > div { height: 100%; width: 0; background: var(--accent); transition: width .2s; }
@media (max-width: 640px) {
  .two { grid-template-columns: 1fr; }
  .player .wrap { flex-wrap: wrap; }
  .player audio { width: 100%; }
  nav.links { gap: 10px; font-size: 14px; flex-wrap: nowrap; }
  nav.links a:first-child { display: none; }
  .brand { font-size: 16px; }
  .grid { gap: 10px; }
  .track .meta { padding: 10px; }
  .track .row { flex-direction: column; align-items: flex-start; }
  .hide-sm { display: none; }
}
/* embed */
body.embed { background: var(--bg); }
body.embed .list { display: flex; flex-direction: column; gap: 6px; padding: 10px; }
body.embed .item { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
body.embed .item img, body.embed .item .ph { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; background: #2a2112; flex: none; }
body.embed .item .info { flex: 1; min-width: 0; }
body.embed .item .info div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grid > p { grid-column: 1 / -1; }

/* ---- brewerevolution.com look ---- */
h1, h2, h3, h4, .btn, .brand, .tabs button { font-family: Montserrat, system-ui, sans-serif; }
h1, h2 { color: #fff7e2; letter-spacing: .08em; text-transform: uppercase; }
h2 { color: var(--gold); }
.hero h1 { letter-spacing: .06em; }
.btn { border-radius: 4px; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
#site-header { position: sticky; top: 0; z-index: 20; background: rgba(11,11,11,.96); border-bottom: 1px solid rgba(224,169,43,.35); backdrop-filter: blur(6px); }
.sitebar .wrap { display: flex; align-items: center; gap: 24px; height: 76px; }
.sitebar .logo img { display: block; width: 44px; height: 44px; }
.mainmenu { display: flex; gap: 30px; flex: 1; justify-content: center; }
.mainmenu a { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .04em; color: var(--text); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.mainmenu a:hover, .mainmenu a.active { color: var(--accent); border-bottom-color: var(--gold); text-decoration: none; }
#site-header nav.links { gap: 14px; flex-wrap: nowrap; }
#site-header nav.links a { font-family: Montserrat, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .04em; color: var(--muted); }
#site-header nav.links a.btn { color: var(--accent-ink); }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; cursor: pointer; margin-left: auto; }
.menu-toggle span { display: block; height: 2px; background: var(--text); margin: 5px 0; }
.adminbar { background: #16140f; border-bottom: 1px solid var(--line); }
.adminbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 46px; gap: 12px; font-family: Montserrat, sans-serif; }
.adminbar a { color: var(--muted); margin-right: 10px; }
#site-footer { border-top: 1px solid rgba(224,169,43,.35); margin-top: 56px; padding: 40px 0 120px; color: var(--muted); font-size: 14px; background: #080808; }
.footgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 28px; }
#site-footer h4 { color: var(--gold); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 8px 0 10px; }
#site-footer ul { list-style: none; padding: 0; margin: 0; columns: 2; }
#site-footer li { margin: 0 0 6px; }
#site-footer a { color: var(--muted); }
#site-footer a:hover { color: var(--accent); }
#site-footer .copy { margin-top: 24px; font-size: 12px; }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .sitebar .wrap { flex-wrap: wrap; height: auto; min-height: 64px; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .mainmenu { display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 4px; }
  #site-header.open .mainmenu { display: flex; }
  #site-header nav.links { order: 2; }
  .footgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  #site-header nav.links { gap: 10px; }
  #site-header nav.links a { font-size: 12px; }
  #site-header nav.links a[href="/account#library"] { display: none; }
  .sitebar .logo img { width: 38px; height: 38px; }
  .footgrid { grid-template-columns: 1fr; }
}

/* Albums & EPs */
.track.release .tracklist { margin-top: 4px; }
.track.release .tracklist summary { cursor: pointer; }
.track.release .tracklist ol { margin: 6px 0 0; padding-left: 20px; font-size: 14px; color: var(--muted); }
.track.release .tracklist li { margin: 2px 0; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--text); font: inherit; cursor: pointer; text-align: left; }
.linkbtn:hover { color: var(--accent); text-decoration: underline; }
.track.release .tracklist .bp-buy1 { color: var(--accent); font-size: 12px; font-weight: 700; margin-left: 4px; }
.track.release .tracklist .bp-buy1:disabled { opacity: .5; cursor: not-allowed; }
/* Site menu: identical size, format and position on every Brewer Evolution page (listen + workspace) */
html, body { margin: 0; }
#site-header { top: 0; margin: 0; }
.sitebar .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 76px; max-width: 1100px; padding: 0 16px; }
.sitebar .logo { justify-self: start; }
.mainmenu { grid-column: 2; flex: none; gap: 30px; }
#site-header nav.links { grid-column: 3; justify-self: end; }
@media (max-width: 860px) {
  .sitebar .wrap { display: flex; height: auto; min-height: 64px; }
}
/* Admin: folder pickers */
.lbl { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.catpick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.catpick label.chip { flex-direction: row; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 13px; cursor: pointer; }
.catpick label.chip input { width: auto; margin: 0; }
.catpick label.chip:has(input:checked) { border-color: var(--gold); background: rgba(224,169,43,.12); }
.catpick .newcat { width: 150px; padding: 5px 10px; font-size: 13px; border-radius: 999px; }
.catpick .none { font-size: 13px; color: var(--muted); }
/* Listen page: browse by folder */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chips button { font: 600 13px Montserrat, sans-serif; letter-spacing: .04em; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #0b0b0b; }
.track[hidden] { display: none; }
.chips button .fine { color: inherit; opacity: .7; font-size: 12px; }

/* Admin: visitors */
.tchart { display: flex; align-items: flex-end; gap: 3px; height: 180px; padding: 8px 0 26px; position: relative; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tchart .b { flex: 1; min-width: 4px; background: linear-gradient(180deg, var(--gold), rgba(224,169,43,.35)); border-radius: 3px 3px 0 0; position: relative; }
.tchart .b:hover { filter: brightness(1.25); }
.tchart .b span { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--muted); white-space: nowrap; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.tgrid table td:last-child, .tgrid table th:last-child { text-align: right; }

/* Promo code box (next to the Join / Subscribe buttons) */
.joinrow { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 22px; }
.promo { min-width: 0; max-width: 100%; }
.joinrow > * { min-width: 0; max-width: 100%; }
.promo-label { display: block; font: 700 12px Montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.promo-row { display: flex; gap: 8px; max-width: 100%; }
.promo-row input { box-sizing: border-box; flex: 0 1 170px; width: 170px; min-width: 0; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin: 0; }
.promo-row .btn { white-space: nowrap; }
.promo-msg { margin: 6px 0 0; font-size: 13px; min-height: 0; }
.promo-msg:empty { display: none; }
.promo-msg.ok { color: #9be39b; } .promo-msg.err { color: #ff8a80; }
.promohi { border: 1px solid rgba(224,169,43,.45); background: rgba(224,169,43,.08); border-radius: 12px; padding: 10px 14px; }
.promohi p { margin: 0; }
#promojoin, #promojoin2 { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 520px) { .promo-row input { flex: 1 1 0; width: 0; } .promo, .joinrow > span { width: 100%; } }
.promonew { margin-top: 16px; padding: 14px 16px; border: 1px solid rgba(224,169,43,.5); border-radius: 12px; background: rgba(224,169,43,.08); max-width: 420px; }
.promobig { font: 800 30px/1.2 ui-monospace, Menlo, monospace; letter-spacing: .14em; color: var(--accent, #f2ce6b); margin: 6px 0 10px; }

/* My Playlists */
.plsec { margin-top: 28px; }
.plmsg { font-size: 13px; margin: 0 0 8px; min-height: 0; }
.plmsg:empty { display: none; }
.plmsg.ok { color: #9be39b; } .plmsg.err { color: #ff8a80; }
.pl-list { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pl-card { display: flex; align-items: center; gap: 4px; background: var(--panel, #141414); border: 1px solid var(--line); border-radius: 14px; padding: 6px 8px 6px 6px; max-width: 100%; }
.pl-card.on { border-color: var(--accent, #e0a92b); box-shadow: 0 0 0 1px var(--accent, #e0a92b); }
.pl-open { display: flex; align-items: center; gap: 10px; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; text-align: left; min-width: 0; }
.pl-open img, .pl-open .pl-ph, .pl-songs img, .pl-songs .pl-ph { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; display: grid; place-items: center; background: #2a2112; color: var(--accent); }
.pl-txt { display: flex; flex-direction: column; min-width: 0; }
.pl-txt b { font: 700 14px Montserrat, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.pl-txt small { color: var(--muted); font-size: 12px; }
.pl-play { width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; flex: none; background: radial-gradient(circle at 30% 25%, #fff, var(--accent) 50%); color: #0b0b0b; font-size: 14px; }
.pl-view { margin-top: 14px; }
.pl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 10px; }
.pl-head h3 { margin: 0; font: 800 20px Montserrat, sans-serif; }
.pl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.pl-songs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pl-songs li { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; border: 1px solid var(--line); }
.pl-songs .pl-txt { flex: 1; }
.pl-songs .pl-txt b { max-width: none; white-space: normal; }
.pl-n { width: 22px; text-align: right; color: var(--muted); font: 700 13px Montserrat, sans-serif; flex: none; }
.pl-btns { display: flex; gap: 4px; flex: none; }
.pl-ic { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font-size: 14px; }
.pl-ic:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.pl-ic:disabled { opacity: .3; cursor: default; }
.pl-row { margin-top: 6px; }
.pl-dlg { border: 1px solid rgba(224,169,43,.45); border-radius: 18px; background: #121212; color: var(--text); padding: 0; width: min(440px, calc(100vw - 24px)); }
.pl-dlg::backdrop { background: rgba(0,0,0,.65); }
.pl-dlgform { padding: 20px; display: grid; gap: 10px; }
.pl-dlgform h2 { margin: 0; font: 800 20px Montserrat, sans-serif; color: var(--accent); }
.pl-dlgform > .fine { margin: 0; }
.pl-pick { display: grid; gap: 6px; max-height: 45vh; overflow: auto; }
.pl-pickbtn { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; text-align: left; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px; padding: 10px; color: inherit; cursor: pointer; }
.pl-pickbtn span { font-weight: 800; color: var(--accent); text-align: center; }
.pl-pickbtn.has { border-color: var(--accent); background: rgba(224,169,43,.1); }
.pl-pickbtn small { color: var(--muted); }
.pl-newlbl { font-size: 13px; color: var(--muted); }
.pl-newrow { display: flex; gap: 8px; margin-top: 4px; }
.pl-newrow input { flex: 1 1 0; width: 0; min-width: 0; margin: 0; }
.pl-dlgbtns { display: flex; justify-content: flex-end; }
@media (max-width: 520px) { .pl-btns .pl-ic { width: 30px; height: 30px; } .pl-songs img, .pl-songs .pl-ph { display: none; } .pl-actions { margin-left: 0; } }
.owndev { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; border: 1px solid rgba(224,169,43,.45); background: rgba(224,169,43,.07); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.owndev:empty { display: none; }
.tchart .b { display: flex; flex-direction: column; justify-content: flex-end; overflow: visible; }
.tchart .b i.own { display: block; width: 100%; background: repeating-linear-gradient(45deg, #5aa9e6, #5aa9e6 3px, #3d86c2 3px, #3d86c2 6px); border-radius: inherit; }
.tkey { display: flex; align-items: center; gap: 6px; margin: -4px 0 8px; }
.keyb, .keyown { display: inline-block; width: 14px; height: 10px; border-radius: 2px; vertical-align: middle; background: var(--gold); }
.keyown { background: repeating-linear-gradient(45deg, #5aa9e6, #5aa9e6 3px, #3d86c2 3px, #3d86c2 6px); }
.yours { display: inline-block; font-size: 11px; font-weight: 700; color: #8cc8f5; background: rgba(90,169,230,.14); border: 1px solid rgba(90,169,230,.4); border-radius: 999px; padding: 0 7px; margin-left: 4px; vertical-align: 1px; }
.kpi-own { font-size: 12px; color: #8cc8f5; margin-top: 2px; }

/* Visitors: stacked bars (everyone else / your network / your devices), networks, time on site */
.ownboxes { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-bottom: 14px; }
.ownboxes .owndev { margin: 0; }
.tchart .b.stack { background: none; display: flex; flex-direction: column-reverse; justify-content: flex-start; }
.tchart .b.stack > i { display: block; width: 100%; flex: none; }
.tchart .b.stack > i.oth { background: linear-gradient(180deg, var(--gold), rgba(224,169,43,.55)); }
.tchart .b.stack > i.netseg { background: repeating-linear-gradient(45deg, #b48ef0, #b48ef0 3px, #8a63d2 3px, #8a63d2 6px); }
.tchart .b.stack > i.own { background: repeating-linear-gradient(45deg, #5aa9e6, #5aa9e6 3px, #3d86c2 3px, #3d86c2 6px); }
.tchart .b.stack > i:last-of-type { border-radius: 3px 3px 0 0; }
.tchart .b .bt { position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); font: 700 10px Montserrat, sans-serif; color: var(--muted); display: none; }
.tchart .b:hover .bt { display: block; color: var(--text); }
.keynet { display: inline-block; width: 14px; height: 10px; border-radius: 2px; vertical-align: middle; background: repeating-linear-gradient(45deg, #b48ef0, #b48ef0 3px, #8a63d2 3px, #8a63d2 6px); }
.yours.net { color: #cdb4f7; background: rgba(180,142,240,.14); border-color: rgba(180,142,240,.45); }
.netc { color: #cdb4f7; }
.netlist { margin: 6px 0 0; padding-left: 18px; font-size: 14px; }
.netform { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.netform input { margin: 0; width: 190px; max-width: 100%; }
.hbar { display: block; height: 12px; border-radius: 3px; background: linear-gradient(90deg, rgba(224,169,43,.5), var(--gold)); min-width: 2px; }

/* Time spent: everyone else vs you */
.timesplit { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 18px; }
.tsplit { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--panel, #141414); }
.tsplit.others { border-color: rgba(224,169,43,.5); } .tsplit.yours { border-color: rgba(90,169,230,.5); } .tsplit.network { border-color: rgba(180,142,240,.5); }
.tsplit-h { font: 700 14px Montserrat, sans-serif; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.tsplit-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tsplit .v { font: 800 22px Montserrat, sans-serif; }
.tsplit .l { font-size: 12px; color: var(--muted); }
/* Visits list */
.visits { display: grid; gap: 4px; margin-bottom: 18px; }
.vrow { display: grid; grid-template-columns: 2fr 1fr 1.4fr .6fr 1fr; gap: 10px; align-items: center; padding: 9px 12px; font-size: 14px; }
.vhead { font: 700 12px Montserrat, sans-serif; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.visit { border: 1px solid var(--line); border-radius: 10px; }
.visit[open] { border-color: rgba(224,169,43,.5); }
.visit summary { cursor: pointer; list-style: none; }
.visit summary::-webkit-details-marker { display: none; }
.visit summary > span:first-child::before { content: "▸ "; color: var(--gold); }
.visit[open] summary > span:first-child::before { content: "▾ "; }
.vsecs { font-weight: 700; }
.vpages { padding: 0 12px 12px 28px; }
@media (max-width: 640px) { .vrow { grid-template-columns: 1.6fr 1fr .8fr; } .vrow > span:nth-child(2), .vrow > span:nth-child(3) { display: none; } }
.vclk { color: var(--gold); font-weight: 700; }
.bulkbar { position: sticky; top: 8px; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 12px; margin-bottom: 10px;
  border: 1px solid rgba(224,169,43,.55); border-radius: 12px; background: #19160f; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.bulkbar[hidden] { display: none; }
.bulkbar select { margin: 0; width: auto; flex: 0 1 300px; min-width: 180px; }

/* Browse by folder */
.browsesec { margin-top: 26px; }
.fgroup + .fgroup { margin-top: 14px; }
.fgroup h3 { margin: 0 0 8px; font: 700 13px Montserrat, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.fcard { display: flex; align-items: center; gap: 10px; text-align: left; padding: 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel, #141414); color: var(--text); cursor: pointer; transition: border-color .2s, transform .15s, background .2s; min-width: 0; }
.fcard:hover { border-color: rgba(224,169,43,.6); transform: translateY(-1px); }
.fcard.on { border-color: var(--gold); background: rgba(224,169,43,.1); box-shadow: 0 0 0 1px var(--gold); }
.fart { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; flex: none; background: #2a2112; display: grid; place-items: center; }
.fart img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fph { font-size: 24px; }
.ftxt { display: flex; flex-direction: column; min-width: 0; }
.ftxt b { font: 700 15px Montserrat, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ftxt small { color: var(--muted); font-size: 12px; }
.folderbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: -4px 0 14px; padding: 10px 12px; border: 1px solid rgba(224,169,43,.45); border-radius: 12px; background: rgba(224,169,43,.07); }
.folderbar[hidden] { display: none; }
.folderbar > span { flex: 1; min-width: 200px; }
@media (max-width: 520px) { .fgrid { grid-template-columns: 1fr 1fr; } .fart { width: 44px; height: 44px; } }
body.embed .echips { margin: 8px 10px 0; gap: 6px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
body.embed .echips button { white-space: nowrap; padding: 6px 12px; font-size: 12px; }
body.embed .efoot { padding: 6px 4px 0; }
body.embed .efoot a { color: var(--accent); }

/* ===== Store front (iTunes / iHeart style) ===== */
.st { margin-top: 8px; scroll-margin-top: 16px; }
html.bp-pinned:not(.bp-min) .st { scroll-margin-top: calc(var(--bp-h, 84px) + 22px); }
.st-tabs { position: sticky; top: calc(var(--hdr, 0px) + 8px); z-index: 7; display: inline-flex; gap: 4px; padding: 5px; margin: 6px 0 18px; border-radius: 999px;
  background: rgba(30,28,24,.82); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 8px 26px rgba(0,0,0,.45); max-width: 100%; overflow-x: auto; }
html.bp-pinned:not(.bp-min) .st-tabs { top: calc(var(--bp-h, 84px) + 18px); }
.st-tabs button { border: 0; background: transparent; color: var(--text); font: 700 15px Montserrat, sans-serif; padding: 9px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.st-tabs button[aria-selected="true"] { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.st-tabs button:hover { background: rgba(255,255,255,.08); }
.st-view[hidden] { display: none; }
.st-h { margin: 4px 0 14px; }
.st-row { margin: 0 0 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.st-rowh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.st-rowh h2 { margin: 0; font: 700 clamp(20px, 2.6vw, 26px) Montserrat, sans-serif; letter-spacing: .01em; text-transform: none; color: var(--text); }
.st-see { border: 0; background: none; color: var(--muted); font: 600 15px Montserrat, sans-serif; cursor: pointer; padding: 4px 0; }
.st-see:hover { color: var(--gold); }
.st-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(148px, 172px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.st-scroll > * { scroll-snap-align: start; }
.st-gridcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 18px; }
.st-card { display: flex; flex-direction: column; gap: 4px; min-width: 0; border: 0; background: none; padding: 0; color: var(--text); text-align: left; cursor: pointer; }
.st-art { position: relative; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #2a2112, #0e0d0b); box-shadow: 0 6px 18px rgba(0,0,0,.35); margin-bottom: 4px; }
.st-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.st-card:hover .st-art img { transform: scale(1.04); }
.st-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.55); }
.st-ph svg { width: 38%; height: 38%; }
.st-pl { position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #0b0b0b;
  background: radial-gradient(circle at 30% 25%, #fff, var(--gold) 60%); box-shadow: 0 4px 14px rgba(0,0,0,.5); opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.st-pl svg { width: 18px; height: 18px; }
.st-card:hover .st-pl, .st-card:focus-visible .st-pl { opacity: 1; transform: none; }
@media (hover: none) { .st-pl { opacity: .92; transform: none; width: 32px; height: 32px; } }
.st-eq { position: absolute; left: 8px; bottom: 8px; display: none !important; color: var(--gold); background: rgba(0,0,0,.6); border-radius: 6px; padding: 4px 5px; }
.bp-now .st-eq { display: inline-flex !important; }
.bp-now .st-art { box-shadow: 0 0 0 2px var(--gold), 0 6px 18px rgba(0,0,0,.35); }
.bp-paused .st-eq i { animation-play-state: paused; }
.st-badge { position: absolute; left: 8px; top: 8px; font: 800 10px Montserrat, sans-serif; letter-spacing: .1em; text-transform: uppercase; background: rgba(0,0,0,.65); color: var(--gold); padding: 3px 7px; border-radius: 6px; }
.st-t { font: 600 15px/1.25 "Open Sans", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-a { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-free { font: 800 9px Montserrat, sans-serif; font-style: normal; color: #0b0b0b; background: var(--gold); border-radius: 4px; padding: 1px 4px; vertical-align: 2px; }
.st-folder { display: flex; align-items: flex-end; }
.st-folder img { position: absolute; inset: 0; opacity: .55; mix-blend-mode: luminosity; }
.st-fname { position: relative; padding: 10px; font: 800 18px/1.15 Montserrat, sans-serif; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.st-hint { margin: -6px 0 22px; }
/* featured banner */
.st-banner { display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 86%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 0 28px; padding-bottom: 6px; scrollbar-width: thin; }
.st-hero { position: relative; scroll-snap-align: start; height: 250px; border-radius: 14px; overflow: hidden; border: 0; padding: 0; cursor: pointer; color: #fff; text-align: left; display: flex; align-items: center; gap: 18px; background: #111; }
.st-herobg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(22px) saturate(1.4) brightness(.55); transform: scale(1.1); }
.st-hero img { position: relative; height: 78%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-left: 22px; box-shadow: 0 12px 30px rgba(0,0,0,.55); }
.st-herotxt { position: relative; display: flex; flex-direction: column; gap: 4px; padding-right: 18px; min-width: 0; }
.st-herotxt small { font: 800 12px Montserrat, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.st-herotxt b { font: 800 clamp(20px, 2.8vw, 30px)/1.15 Montserrat, sans-serif; }
.st-herotxt span { color: rgba(255,255,255,.8); }
.st-hero.bp-now { box-shadow: 0 0 0 2px var(--gold); }
/* genre tiles (iHeart style) */
.st-tile { position: relative; overflow: hidden; border: 0; border-radius: 12px; aspect-ratio: 16 / 9; min-width: 0; padding: 0; cursor: pointer; text-align: left; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .15s; }
.st-scroll .st-tile { width: 100%; }
.st-tile:hover { transform: translateY(-2px); }
.st-tname { position: absolute; left: 12px; top: 10px; right: 40%; font: 800 clamp(16px, 2vw, 20px)/1.15 Montserrat, sans-serif; text-shadow: 0 2px 10px rgba(0,0,0,.35); z-index: 1; }
.st-tile img { position: absolute; right: -10%; bottom: -10%; width: 55%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; transform: rotate(18deg); box-shadow: -6px 6px 18px rgba(0,0,0,.45); }
.st-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
/* charts / track lists */
.st-chart { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); column-gap: 28px; }
.st-chart li { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.st-crow { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; border: 0; background: none; color: var(--text); padding: 10px 0; text-align: left; cursor: pointer; }
.st-crow:disabled { cursor: default; opacity: .6; }
.st-rank { width: 26px; flex: none; text-align: center; font: 700 16px Montserrat, sans-serif; color: var(--muted); }
.st-cart { position: relative; width: 56px; height: 56px; flex: none; border-radius: 6px; overflow: hidden; background: #2a2112; }
.st-cart img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-ctxt { display: flex; flex-direction: column; min-width: 0; }
.st-ctxt b { font: 600 16px "Open Sans", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-ctxt small { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-crow.bp-now b { color: var(--gold); }
.st-tl .st-crow .st-eq { position: static; margin-left: auto; }
.st-price { flex: none; border: 1.5px solid var(--gold); color: var(--gold); background: transparent; border-radius: 999px; padding: 6px 16px; font: 700 15px Montserrat, sans-serif; cursor: pointer; }
.st-price:hover:not(:disabled) { background: rgba(224,169,43,.14); }
.st-price:disabled { opacity: .5; cursor: default; }
/* detail */
.st-dhead { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.st-back { flex-basis: 100%; border: 0; background: none; color: var(--gold); font: 700 16px Montserrat, sans-serif; text-align: left; cursor: pointer; padding: 0; }
.st-dart { width: 180px; height: 180px; object-fit: cover; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.st-dtxt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.st-dtxt small { font: 800 12px Montserrat, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.st-dtxt h2 { margin: 0; }
.st-dbtns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
@media (max-width: 640px) {
  .st-scroll { grid-auto-columns: 42%; gap: 12px; }
  .st-tabs button { font-size: 14px; padding: 8px 13px; }
  .st-hero { height: 190px; gap: 12px; } .st-hero img { margin-left: 14px; height: 72%; }
  .st-gridcards { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .st-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .st-dart { width: 130px; height: 130px; }
  .st-price { padding: 5px 12px; font-size: 14px; }
}
/* compact store inside the brewerevolution.com home-page player */
body.embed .st { padding: 0 10px 10px; }
body.embed .st-tabs { top: 4px; margin: 8px 0 12px; }
body.embed .st-tabs button { font-size: 13px; padding: 7px 13px; }
body.embed .st-scroll { grid-auto-columns: 128px; gap: 12px; }
body.embed .st-rowh h2 { font-size: 18px; }
body.embed .st-row { margin-bottom: 16px; padding-bottom: 14px; }
body.embed .st-hero { height: 160px; } body.embed .st-banner { grid-auto-columns: min(420px, 88%); margin-bottom: 18px; }
body.embed .st-t { font-size: 14px; } body.embed .st-a { font-size: 13px; }
body.embed .epromo { padding: 8px 10px 0; } body.embed .epromo .promo-label { display: inline-block; margin: 0 8px 0 0; } body.embed .epromo .promo-form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } body.embed .epromo .promo-row input { width: 130px; padding: 7px 10px; } body.embed .epromo .promo-row .btn { padding: 7px 14px; } body.embed .epromo .promo-msg { flex-basis: 100%; } body.embed .epromo .promohi { margin: 0; font-size: 13px; }

/* =====================================================================================
   BREWER EVOLUTION DESIGN SYSTEM  (tokens → base → layout → components; see /styleguide)
   8-point grid: every space, size and radius is a multiple of 8px (4px only as a half-step for hairline detail).
   ===================================================================================== */
:root {
  /* colour — brand */
  --color-brand: #e0a92b; --color-brand-light: #f2ce6b; --color-brand-deep: #8a5a12; --color-on-brand: #0b0b0b;
  /* colour — neutrals */
  --color-bg: #0b0b0b; --color-surface: #141412; --color-surface-2: #1c1b18; --color-line: #2e2a22;
  --color-text: #f2eee4; --color-text-muted: #b3ad9f; --color-text-faint: #8f897c;
  /* colour — feedback */
  --color-success: #3ecf8e; --color-danger: #ff6b6b; --color-info: #5aa9e6;
  /* type */
  --font-display: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 12px; --fs-sm: 14px; --fs-md: 16px; --fs-lg: 20px; --fs-xl: 24px; --fs-2xl: 32px; --fs-3xl: 40px; --fs-4xl: 48px;
  --lh-tight: 1.2; --lh-snug: 1.35; --lh-body: 1.5; --tracking-caps: .14em;
  /* space (8-pt) */
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 64px; --s8: 96px;
  /* sizes */
  --control-sm: 32px; --control: 40px; --control-lg: 48px; --container: 1200px; --gutter: 24px;
  /* radius */
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px; --radius: var(--r-md); --radius-lg: var(--r-md);
  /* elevation */
  --shadow-1: 0 8px 24px rgba(0,0,0,.28); --shadow-2: 0 16px 48px rgba(0,0,0,.42); --shadow-glow: 0 0 32px rgba(224,169,43,.24);
  /* glass */
  --glass: linear-gradient(140deg, rgba(255,255,255,.075), rgba(255,255,255,.02) 55%, rgba(255,255,255,.045));
  --glass-solid: rgba(20,19,16,.62); --glass-line: rgba(255,255,255,.09); --glass-hi: inset 0 1px 0 rgba(255,255,255,.08);
  --glass-shadow: var(--shadow-1); --glass-blur: blur(16px) saturate(140%);
  /* motion */
  --ease: cubic-bezier(.2,.8,.2,1); --dur-fast: 150ms; --dur: 250ms;
  /* layers */
  --z-header: 20; --z-player: 40; --z-assistant: 60; --z-modal: 70;
  /* legacy names used across the app → map to tokens */
  --bg: var(--color-bg); --panel: var(--color-surface); --panel2: var(--color-surface-2); --line: var(--color-line);
  --text: var(--color-text); --muted: var(--color-text-muted); --accent: var(--color-brand-light); --accent-ink: var(--color-on-brand);
  --gold: var(--color-brand); --good: var(--color-success); --bad: var(--color-danger);
}

/* ---------- base typography (visual hierarchy & contrast) ---------- */
html, body { font: var(--fs-md)/var(--lh-body) var(--font-body); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: var(--lh-tight); margin: 0 0 var(--s3); }
h1 { font-size: clamp(var(--fs-2xl), 5vw, var(--fs-4xl)); font-weight: 800; letter-spacing: .01em; }
h2 { font-size: clamp(var(--fs-xl), 3vw, var(--fs-2xl)); font-weight: 700; }
h3 { font-size: var(--fs-lg); font-weight: 700; }
p { margin: 0 0 var(--s3); line-height: var(--lh-body); }
.fine { font-size: var(--fs-sm); color: var(--color-text-muted); }
.kicker { font: 800 var(--fs-xs)/1 var(--font-display) !important; letter-spacing: .22em; text-transform: uppercase; color: var(--color-brand) !important; margin: 0 0 var(--s2) !important; }

/* ---------- layout & grid ---------- */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 16px; } }
main.wrap > section, main.wrap > div > section { margin: var(--s6) 0; }
.hero { padding: var(--s7) 0 var(--s4); }
.hero h1 { margin-bottom: var(--s3); }
.hero p { margin-bottom: var(--s4); font-size: var(--fs-lg); color: var(--color-text-muted); max-width: 640px; }
.grid { gap: var(--s4); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 640px) { .hero { padding: var(--s6) 0 var(--s3); } .hero p { font-size: var(--fs-md); } main.wrap > section, main.wrap > div > section { margin: var(--s5) 0; } .grid { gap: var(--s3); } }

/* ---------- components ---------- */
/* buttons: 40px (sm 32px, lg 48px), pill, brand fill or ghost */
.btn { min-height: var(--control); padding: 0 var(--s3); border-radius: var(--r-pill); font: 700 var(--fs-sm)/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase;
  transition: transform var(--dur-fast) var(--ease), filter var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease); }
.btn:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
.btn.small { min-height: var(--control-sm); padding: 0 var(--s3); font-size: var(--fs-xs); }
.btn.large { min-height: var(--control-lg); padding: 0 var(--s4); font-size: var(--fs-md); }
.btn.ghost { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); color: var(--color-text); }
.btn.ghost:hover:not(:disabled) { background: rgba(255,255,255,.08); }
/* inputs: 48px tall, 16px inner padding */
input, select, textarea { min-height: var(--control-lg); padding: 0 var(--s3); border-radius: var(--r-sm); background: rgba(255,255,255,.04); border: 1px solid var(--glass-line); font: var(--fs-md) var(--font-body); }
textarea { padding: var(--s2) var(--s3); line-height: var(--lh-body); }
input[type=checkbox], input[type=radio] { min-height: 0; }
input:hover, select:hover, textarea:hover { border-color: rgba(255,255,255,.16); }
label { gap: var(--s2); }
form.stack { gap: var(--s3); }
/* chips */
.chips { gap: var(--s2); margin: 0 0 var(--s4); }
.chips button { min-height: var(--control-sm); padding: 0 var(--s3); }
/* glass panels (frosted, soft edge, gentle depth) — cards, panels, dialogs */
.card, .track, .pl-card, .fcard, .folderbar, .tsplit, .kpi, .visit, .owndev, .promohi, .pl-view, .be-glass {
  background: var(--glass), var(--glass-solid); border: 1px solid var(--glass-line);
  box-shadow: var(--glass-hi), var(--glass-shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.card { border-radius: var(--r-md); padding: var(--s4); }
.track { border-radius: var(--r-md); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.track:hover { transform: translateY(-4px); border-color: rgba(224,169,43,.35); box-shadow: var(--glass-hi), var(--shadow-2); }
.track .meta { padding: var(--s3); gap: var(--s1); }
.track .row { padding-top: var(--s2); gap: var(--s2); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .card, .track, .pl-card, .fcard, .folderbar, .tsplit, .kpi, .visit, .owndev, .promohi, .pl-view, .be-glass { background: #15140f; }
}
/* store front on the 8-pt grid */
.st-tabs { margin: var(--s2) 0 var(--s4); }
.st-tabs button { min-height: var(--control); padding: 0 var(--s3); }
.st-row { margin: 0 0 var(--s5); padding-bottom: var(--s4); }
.st-rowh { margin-bottom: var(--s3); }
.st-scroll { gap: var(--s3); }
.st-gridcards { gap: var(--s4) var(--s3); }
.st-banner { gap: var(--s3); margin: 0 0 var(--s5); }
.st-hero { height: 256px; border-radius: var(--r-md); }
.st-art { border-radius: var(--r-sm); }
.st-tile { border-radius: var(--r-md); }
.st-chart { column-gap: var(--s5); }
.st-crow { gap: var(--s3); padding: var(--s2) 0; }
.st-cart { width: 56px; height: 56px; border-radius: var(--r-sm); }
.st-price { min-height: var(--control-sm); padding: 0 var(--s3); }
.st-dhead { gap: var(--s3); margin-bottom: var(--s4); }
@media (max-width: 640px) { .st-hero { height: 192px; } .st-gridcards { gap: var(--s3); } }

/* animated light environment: slow drifting pools of warm light behind the page (transform/opacity only) */
.be-light { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.be-light i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(72px); opacity: .22; will-change: transform; }
.be-light i:nth-child(1) { left: -18vmax; top: -22vmax; background: radial-gradient(circle, var(--color-brand), transparent 62%); animation: be-drift1 38s ease-in-out infinite alternate; }
.be-light i:nth-child(2) { right: -22vmax; top: 18vh; background: radial-gradient(circle, var(--color-brand-deep), transparent 62%); animation: be-drift2 46s ease-in-out infinite alternate; opacity: .26; }
.be-light i:nth-child(3) { left: 20vw; bottom: -30vmax; background: radial-gradient(circle, var(--color-brand-light), transparent 60%); animation: be-drift3 54s ease-in-out infinite alternate; opacity: .12; }
.be-light::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% -10%, rgba(242,206,107,.10), transparent 55%); animation: be-breathe 12s ease-in-out infinite alternate; }
@keyframes be-drift1 { to { transform: translate(14vw, 12vh) scale(1.12); } }
@keyframes be-drift2 { to { transform: translate(-16vw, 22vh) scale(.92); } }
@keyframes be-drift3 { to { transform: translate(18vw, -14vh) scale(1.08); } }
@keyframes be-breathe { from { opacity: .55; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .be-light i, .be-light::after { animation: none; } }
html.bp-has-player .be-light { opacity: .6; }

/* accessibility: skip link + visible focus */
.skip { position: absolute; left: var(--s3); top: -64px; z-index: 100; background: var(--color-brand-light); color: var(--color-on-brand); padding: var(--s2) var(--s3); border-radius: var(--r-sm); font-weight: 700; transition: top var(--dur-fast); }
.skip:focus { top: var(--s2); text-decoration: none; }
:focus-visible { outline: 2px solid var(--color-brand-light); outline-offset: 2px; }

/* Videos page */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--s4); margin-bottom: var(--s7); }
.vcard { display: flex; flex-direction: column; text-align: left; padding: 0; border-radius: var(--radius-lg); overflow: hidden; color: var(--text); cursor: pointer; font: inherit; transition: transform .25s ease, border-color .25s ease; }
.vcard:hover { transform: translateY(-3px); border-color: rgba(224,169,43,.4); }
.vthumb { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #2a2112, #0e0d0b); display: grid; place-items: center; overflow: hidden; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.vcard:hover .vthumb img { transform: scale(1.04); }
.vph { font: 800 14px Montserrat, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.vplay { position: absolute; width: var(--s7); height: var(--s7); border-radius: 50%; display: grid; place-items: center; color: #0b0b0b; background: radial-gradient(circle at 30% 25%, #fff, var(--gold) 60%); box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 30px rgba(224,169,43,.35); }
.vplay svg { width: 28px; height: 28px; margin-left: 3px; }
.vmeta { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s3) var(--s3) var(--s4); }
.vmeta b { font: 700 17px Montserrat, sans-serif; line-height: 1.3; }
.vmeta small { color: var(--muted); }
.vd { color: var(--muted); font-size: 14px; margin-top: var(--s2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vempty { grid-column: 1 / -1; border-radius: var(--radius-lg); padding: var(--s7) var(--s6); text-align: center; }
.vempty p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.vmodal { border: 0; padding: 0; background: transparent; width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); color: var(--text); }
.vmodal::backdrop { background: rgba(0,0,0,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vmodal-in { border-radius: var(--r-md); padding: var(--s4); }
.vmodal-h { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); }
.vmodal-h h2 { margin: 0; font-size: 20px; flex: 1; min-width: 0; }
.vclose { width: var(--control); height: var(--control); border-radius: 50%; border: 1px solid var(--glass-line); background: rgba(255,255,255,.05); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.vframe { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: #000; }
.vframe.tall { aspect-ratio: 9 / 16; max-height: 75vh; margin: 0 auto; }
.vframe iframe, .vframe video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vdesc { color: var(--muted); margin: var(--s3) 0 0; }
.vdesc:empty { display: none; }

/* =====================================================================================
   TYPOGRAPHY SYSTEM
   Pairing: Montserrat (display / headings, geometric) + Open Sans (body, humanist) — both variable fonts
   (weight 100–900 / 300–800, Open Sans also width 75–100). Fluid type scale (1.25 ratio) with clamp().
   ===================================================================================== */
:root {
  /* fluid type scale: min at 360px wide → max at 1280px wide */
  --fs-xs: .75rem;                                            /* 12 */
  --fs-sm: .875rem;                                           /* 14 */
  --fs-md: 1rem;                                              /* 16 body */
  --fs-lg: clamp(1.125rem, 1.07rem + .25vw, 1.25rem);         /* 18 → 20 */
  --fs-xl: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);           /* 20 → 24 */
  --fs-2xl: clamp(1.5rem, 1.3rem + .9vw, 2rem);               /* 24 → 32 */
  --fs-3xl: clamp(1.875rem, 1.55rem + 1.45vw, 2.5rem);        /* 30 → 40 */
  --fs-4xl: clamp(2.25rem, 1.75rem + 2.2vw, 3.5rem);          /* 36 → 56  display */
  /* weights (variable axes) */
  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700; --fw-black: 800;
  /* leading */
  --lh-display: 1.08; --lh-tight: 1.2; --lh-snug: 1.35; --lh-body: 1.6;
  /* tracking */
  --tr-display: -.012em; --tr-heading: -.005em; --tr-body: 0; --tr-caps: .14em; --tr-wide: .22em;
  /* measure */
  --measure: 66ch; --measure-narrow: 48ch;
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: var(--fs-md); line-height: var(--lh-body); font-weight: var(--fw-regular);
  font-kerning: normal; font-feature-settings: "kern" 1, "liga" 1, "calt" 1; font-optical-sizing: auto; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* hierarchy: display → h1 → h2 → h3 → body → small */
h1, h2, h3, h4, .display { font-family: var(--font-display); font-kerning: normal; text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
h1 { font-size: var(--fs-4xl); line-height: var(--lh-display); font-weight: var(--fw-black); letter-spacing: var(--tr-display); }
h2 { font-size: var(--fs-2xl); line-height: var(--lh-tight); font-weight: var(--fw-bold); letter-spacing: var(--tr-heading); }
h3 { font-size: var(--fs-xl); line-height: var(--lh-snug); font-weight: var(--fw-bold); }
h4 { font-size: var(--fs-lg); line-height: var(--lh-snug); font-weight: var(--fw-semibold); }
p, li, .vd, .st-a { text-wrap: pretty; }
p { max-width: var(--measure); }
.hero p { max-width: var(--measure-narrow); font-size: var(--fs-lg); line-height: var(--lh-snug); }
.fine, small { font-size: var(--fs-sm); line-height: var(--lh-snug); }
.kicker, .st-badge, .st-herotxt small, .st-dtxt small, .tsplit-h, .vhead { letter-spacing: var(--tr-caps); }
.kicker { letter-spacing: var(--tr-wide); }
.btn { letter-spacing: .06em; }
/* uppercase brand headings (site style) keep wide tracking and tight leading */
.hero h1, .vhero h1 { text-transform: uppercase; letter-spacing: .04em; }
/* tables / numbers line up */
table, .kpi .v, .st-rank, .bp-cur, .bp-dur, .tsplit .v { font-variant-numeric: tabular-nums; }

/* kinetic typography: headlines settle into place (tracking + fade + rise); section titles reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: be-type-in .9s var(--ease) both; }
  .hero h1 + p, .hero .kicker + h1 + p { animation: be-fade-up .8s .18s var(--ease) both; }
  .hero .kicker { animation: be-fade-up .6s var(--ease) both; }
  .reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease), letter-spacing .9s var(--ease); letter-spacing: .02em; }
  .reveal.in { opacity: 1; transform: none; letter-spacing: var(--tr-heading); }
}
@keyframes be-type-in { from { opacity: 0; letter-spacing: .16em; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; letter-spacing: .04em; transform: none; filter: none; } }
@keyframes be-fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero h1 { font-size: var(--fs-4xl); margin-bottom: var(--s3); }

/* Design-system reference page (/styleguide) */
.sg section { margin: var(--s6) 0; }
.sg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: var(--s3); }
.sg-sw { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--glass-line); background: var(--color-surface); }
.sg-sw::before { content: ""; display: block; height: 72px; background: var(--c); border-bottom: 1px solid var(--glass-line); }
.sg-sw b, .sg-sw code { display: block; padding: 0 var(--s3); }
.sg-sw b { padding-top: var(--s2); font: 700 var(--fs-sm) var(--font-display); }
.sg-sw code { padding-bottom: var(--s2); color: var(--color-text-muted); font-size: var(--fs-xs); }
.sg-type { display: grid; gap: var(--s3); }
.sg-type > div { display: grid; grid-template-columns: 176px 1fr; gap: var(--s3); align-items: baseline; border-bottom: 1px solid var(--glass-line); padding-bottom: var(--s3); }
.sg-type > div:last-child { border-bottom: 0; padding-bottom: 0; }
.sg-type code, .sg-space code { color: var(--color-text-muted); font-size: var(--fs-xs); }
.sg-space { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: flex-end; margin-bottom: var(--s3); }
.sg-space > div { display: flex; flex-direction: column; gap: var(--s2); align-items: flex-start; }
.sg-space i { display: block; width: var(--w); height: var(--w); background: var(--color-brand); border-radius: 2px; }
.sg-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.sg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(264px, 1fr)); gap: var(--s4); }
.promohi { border-radius: var(--r-md); padding: var(--s3); }
@media (max-width: 640px) { .sg-type > div { grid-template-columns: 1fr; gap: var(--s1); } }
@media (max-width: 640px) { .st-tabs button { padding: 0 12px; font-size: var(--fs-sm); } }

/* ===== Song page: slides in from the right over the whole screen (Spotify-style) ===== */
html.sp-open, html.sp-open body { overflow: hidden; }
.sp { position: fixed; inset: 0; z-index: 38; background: #121212; color: #fff; transform: translateX(100%); transition: transform .38s cubic-bezier(.2,.8,.2,1); box-shadow: -24px 0 48px rgba(0,0,0,.45); }
.sp.in { transform: translateX(0); }
.sp[hidden] { display: none; }
.sp-bg { position: absolute; inset: 0 0 auto 0; height: min(78vh, 760px); background: linear-gradient(180deg, var(--sp1, #6e4614) 0%, color-mix(in srgb, var(--sp1, #6e4614) 55%, #121212) 45%, #121212 100%); transition: background .6s; pointer-events: none; }
.sp-scroll { position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  max-width: 760px; margin: 0 auto; padding: max(16px, env(safe-area-inset-top)) var(--s3, 16px) calc(48px + env(safe-area-inset-bottom)); }
html.bp-pinned:not(.bp-min) .sp-scroll { padding-top: calc(var(--bp-h, 84px) + 20px); }
.sp-head { position: sticky; top: 0; z-index: 2; height: 0; display: flex; justify-content: space-between; align-items: flex-start; }
.sp-back { width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(0,0,0,.38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 4px 16px rgba(0,0,0,.35); }
.sp-back svg { width: 24px; height: 24px; }
.sp-back:hover { background: rgba(0,0,0,.55); }
.sp-cover { width: min(64vw, 340px); aspect-ratio: 1; margin: 0 auto 24px; border-radius: 6px; overflow: hidden; background: #2a2620; box-shadow: 0 16px 48px rgba(0,0,0,.55); display: grid; place-items: center; }
.sp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-ph { color: rgba(255,255,255,.5); display: grid; place-items: center; }
.sp-ph svg { width: 40%; height: 40%; }
.sp-title { text-transform: none; color: #fff; font: 800 clamp(26px, 7vw, 40px)/1.12 Montserrat, sans-serif; letter-spacing: -.01em; margin: 0 0 12px; text-wrap: balance; overflow-wrap: break-word; }
.sp-artist { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sp-artist b { font: 700 16px Montserrat, sans-serif; }
.sp-av { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: #333; flex: none; }
.sp-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-meta { color: rgba(255,255,255,.7); font-size: 14px; margin: 0 0 16px; }
.sp-meta b { color: #fff; font-weight: 700; }
.sp-actions { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.sp-thumb { width: 36px; height: 48px; border-radius: 4px; overflow: hidden; border: 2px solid rgba(255,255,255,.75); flex: none; display: grid; place-items: center; background: #2a2620; color: rgba(255,255,255,.5); }
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-thumb svg { width: 60%; }
.sp-ic { width: 40px; height: 40px; padding: 4px; border: 0; background: none; color: rgba(255,255,255,.75); cursor: pointer; display: grid; place-items: center; border-radius: 50%; text-decoration: none; }
.sp-ic svg { width: 30px; height: 30px; }
.sp-ic:hover, .sp-ic[aria-pressed="true"] { color: var(--accent, #f2ce6b); }
.sp-buy { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: none; color: #fff; font: 700 13px Montserrat, sans-serif; cursor: pointer; }
.sp-buy svg { width: 24px; height: 24px; }
.sp-buy:hover { border-color: var(--accent, #f2ce6b); color: var(--accent, #f2ce6b); }
.sp-buy:disabled { opacity: .5; cursor: not-allowed; }
.sp-gap { flex: 1; }
.sp-play { width: 60px; height: 60px; border-radius: 50%; border: 0; flex: none; display: grid; place-items: center; cursor: pointer; color: #0b0b0b;
  background: var(--accent, #f2ce6b); box-shadow: 0 8px 24px rgba(242,206,107,.35); transition: transform .15s; }
.sp-play svg { width: 28px; height: 28px; }
.sp-play:hover { transform: scale(1.05); }
.sp-play:disabled { opacity: .4; cursor: not-allowed; }
.sp-note { font-size: 13px; color: color-mix(in srgb, var(--accent, #f2ce6b) 85%, #fff); margin: 4px 0 8px; }
.sp-note a { color: #fff; font-weight: 700; text-decoration: underline; }
.sp-tracks { list-style: none; margin: 16px 0 0; padding: 0; }
.sp-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 0; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; }
.sp-row:disabled { opacity: .5; cursor: default; }
.sp-rt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.sp-rt b { font: 600 17px/1.3 "Open Sans", sans-serif; }
.sp-rt small { color: rgba(255,255,255,.65); font-size: 14px; }
.sp-row.bp-now .sp-rt b { color: var(--accent, #f2ce6b); }
.sp-row .st-eq { display: none; position: static; inset: auto; transform: none; margin: 0; }
.sp-row.bp-now .st-eq { display: inline-flex; }
.sp-dur { color: rgba(255,255,255,.6); font-size: 13px; font-variant-numeric: tabular-nums; }
.sp-count { font: 600 15px "Open Sans", sans-serif; margin: 24px 0 40px; }
.sp-moreh { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sp-moreh h2 { font: 800 22px/1.2 Montserrat, sans-serif; margin: 0; }
.sp-all { border: 0; background: none; color: rgba(255,255,255,.75); font: 700 14px Montserrat, sans-serif; cursor: pointer; white-space: nowrap; }
.sp-all:hover { color: #fff; }
.sp-scrollx { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(-1 * var(--s3, 16px)); padding-left: var(--s3, 16px); padding-right: var(--s3, 16px); scrollbar-width: none; }
.sp-scrollx::-webkit-scrollbar { display: none; }
.sp-card { flex: none; width: 150px; scroll-snap-align: start; border: 0; background: none; color: #fff; text-align: left; padding: 0; cursor: pointer; display: grid; gap: 6px; }
.sp-cart { width: 150px; height: 150px; border-radius: 6px; overflow: hidden; background: #2a2620; display: grid; place-items: center; }
.sp-cart img { width: 100%; height: 100%; object-fit: cover; }
.sp-ct { font: 600 14px/1.3 "Open Sans", sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-ca { color: rgba(255,255,255,.6); font-size: 13px; }
.sp-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px); opacity: 0; transition: opacity .2s, transform .2s; background: #f2eee4; color: #0b0b0b; font: 600 14px "Open Sans", sans-serif; padding: 10px 16px; border-radius: 999px; pointer-events: none; z-index: 3; }
.sp-toast.show { opacity: 1; transform: translate(-50%, 0); }
.sp :focus-visible { outline: 2px solid var(--accent, #f2ce6b); outline-offset: 2px; }
@media (min-width: 900px) { .sp-cover { width: 300px; } }
@media (prefers-reduced-motion: reduce) { .sp { transition: none; } }
/* song titles open the song page */
.st-card .st-t, .st-card .st-a, .st-crow .st-ctxt b, .st-herotxt b { cursor: pointer; }
.st-card:hover .st-t, .st-crow:hover .st-ctxt b { text-decoration: underline; text-underline-offset: 3px; }
.sp-link { border: 0; background: none; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.sp-link:hover { text-decoration: underline; text-underline-offset: 3px; }
html.sp-open .bea-btn { display: none !important; }
.sp-moreh h2 { text-transform: none; color: #fff; }
/* minimize (phones): slides the song page down and away; music keeps playing in the mini player */
.sp-min { display: none; }
.sp.down:not(.in) { transform: translateY(100%); }
@media (max-width: 760px) { .sp-min { display: grid; } }
/* song page in narrow spaces (phones, the player box on brewerevolution.com): everything in the action row fits */
@media (max-width: 440px) {
  .sp-scroll { padding-left: 14px; padding-right: 14px; }
  .sp-actions { gap: 8px; }
  .sp-thumb { width: 30px; height: 40px; }
  .sp-ic { width: 36px; height: 36px; padding: 3px; }
  .sp-ic svg { width: 27px; height: 27px; }
  .sp-buy { height: 32px; padding: 0 10px 0 4px; font-size: 12px; gap: 4px; }
  .sp-buy svg { width: 22px; height: 22px; }
  .sp-play { width: 52px; height: 52px; }
  .sp-play svg { width: 24px; height: 24px; }
  .sp-back { width: 42px; height: 42px; }
  .sp-cover { width: min(62vw, 300px); }
}
.sp-actions > * { flex-shrink: 0; }
.sp-actions .sp-gap { flex: 1 1 0; min-width: 0; }

/* =====================================================================
   Phone app experience (Listen site, phones): bottom tabs, docked player, app pages
   ===================================================================== */
.ap-tabs, .ap-top, .ap-view { display: none; }
@media (max-width: 760px) {
  html.be-app { --ap-tab: 58px; --ap-mini: 64px; }
  html.be-app body { padding-top: 0 !important; padding-bottom: calc(var(--ap-tab) + env(safe-area-inset-bottom) + 12px) !important; }
  html.be-app.bp-has-player body { padding-bottom: calc(var(--ap-tab) + var(--ap-mini) + env(safe-area-inset-bottom) + 20px) !important; }
  html.be-app #site-footer, html.be-app main > .hero h1, html.be-app .bp-tab { display: none !important; }
  /* the site menu stays at the top of every app page (and above song pages) so visitors can reach the rest of the site */
  html.be-app #site-header, html.be-app.bp-pinned:not(.bp-min) #site-header { display: block !important; position: sticky !important; top: 0 !important; z-index: 42 !important; }
  html.be-app .ap-logo { display: none; }
  html.be-app main.wrap { padding-top: 4px !important; }
  html.be-app .sp { top: var(--hdr, 64px); }
  html.be-app .sp-scroll { padding-top: 14px !important; }
  html.be-app main.wrap { padding-top: max(10px, env(safe-area-inset-top)); }
  /* top bar */
  html.be-app .ap-top { display: flex; align-items: center; gap: 12px; padding: 8px 0 12px; }
  .ap-logo { width: 34px; height: 34px; border-radius: 50%; flex: none; }
  .ap-title { flex: 1; min-width: 0; margin: 0; font: 800 24px/1.2 Montserrat, sans-serif; letter-spacing: -.01em; text-transform: none; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ap-join { flex: none; background: var(--accent); color: var(--accent-ink) !important; font: 800 12px Montserrat, sans-serif; letter-spacing: .04em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; text-decoration: none !important; }
  /* which content shows on each tab */
  html.be-app[data-aptab="home"] .ap-view { display: none !important; }
  html.be-app:not([data-aptab="home"]) main > :not(.ap-top):not(.ap-view) { display: none !important; }
  html.be-app .ap-view:not([hidden]) { display: block; }
  /* the home page's sign-up block becomes a compact card */
  html.be-app main > .hero { padding: 0 0 8px; }
  html.be-app main > .hero p { font-size: 14px; margin: 0 0 10px; }
  html.be-app main > .hero .joinrow .btn { padding: 8px 14px; font-size: 13px; }
  html.be-app .st-tabs { top: 0; }
  /* tab bar */
  html.be-app .ap-tabs { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 39;
    height: calc(var(--ap-tab) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: linear-gradient(180deg, rgba(11,11,11,.0), rgba(11,11,11,.92) 22%, #0b0b0b 60%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .ap-tabs button { display: grid; justify-items: center; align-content: center; gap: 3px; border: 0; background: none; color: rgba(255,255,255,.62); font: 600 10.5px "Open Sans", sans-serif; cursor: pointer; padding: 6px 0 0; }
  .ap-tabs button.on { color: #fff; }
  .ap-tabs .ap-ic svg { width: 25px; height: 25px; display: block; }
  .ap-tabs button.on .ap-ic { color: var(--accent); }
  /* player docked above the tabs, one line like Spotify; tap it for full screen */
  html.be-app .bp-mini { top: auto !important; bottom: calc(var(--ap-tab) + env(safe-area-inset-bottom) + 4px); left: 50%; width: calc(100vw - 14px); height: var(--ap-mini);
    transform: translate(-50%, 180%); padding: 8px 8px 8px 8px !important; border-radius: 12px; column-gap: 10px; row-gap: 0;
    grid-template-columns: 48px minmax(0, 1fr) auto !important; grid-template-areas: "art meta ctrls" !important; grid-template-rows: 1fr !important; }
  html.be-app .bp.show .bp-mini, html.be-app .bp.show.min .bp-mini { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
  html.be-app .bp-mini .bp-scrub, html.be-app .bp-mini .bp-react-mini, html.be-app .bp-mini .bp-note, html.be-app .bp-mini .bp-minbtn,
  html.be-app .bp-mini .bp-handle, html.be-app .bp-mini .bp-extra, html.be-app .bp-mini .bp-fsicon, html.be-app .bp-mini [data-a="prev"] { display: none !important; }
  html.be-app .bp-mini .bp-art { width: 48px; height: 48px; border-radius: 8px; }
  html.be-app .bp-mini .bp-meta { align-self: center; }
  html.be-app .bp-mini .bp-title { font-size: 14px !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; overflow-wrap: normal !important; }
  html.be-app .bp-mini .bp-artist { font-size: 12.5px; white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; }
  html.be-app .bp-mini .bp-ctrls { gap: 4px; margin: 0; justify-content: flex-end; }
  html.be-app .bp-mini .bp-play { width: 42px; height: 42px; }
  html.be-app .bp-mini::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--c1, #f2ce6b) calc(var(--ap-prog, 0) * 100%), rgba(255,255,255,.18) 0); }
  html.be-app .bea-btn { bottom: calc(var(--ap-tab) + env(safe-area-inset-bottom) + 12px) !important; }
  html.be-app.bp-has-player .bea-btn { bottom: calc(var(--ap-tab) + var(--ap-mini) + env(safe-area-inset-bottom) + 18px) !important; }
  /* song pages sit between the top of the screen and the player/tabs */
  html.be-app .sp-scroll { padding-top: max(14px, env(safe-area-inset-top)) !important; padding-bottom: calc(var(--ap-tab) + var(--ap-mini) + env(safe-area-inset-bottom) + 28px); }
  html.be-app .sp-min { display: none; }
  /* app pages */
  .ap-h { font: 800 20px/1.2 Montserrat, sans-serif; text-transform: none; letter-spacing: -.005em; color: #fff; margin: 22px 0 12px; }
  .ap-pad { margin: 12px 0; }
  .ap-sbox { display: flex; align-items: center; gap: 10px; background: #f2eee4; color: #0b0b0b; border-radius: 8px; padding: 0 12px; height: 46px; }
  .ap-sbox .ap-ic svg { width: 22px; height: 22px; display: block; }
  .ap-sbox input { flex: 1; min-width: 0; border: 0; background: none; color: #0b0b0b; font: 600 16px "Open Sans", sans-serif; outline: none; padding: 0; height: 100%; }
  .ap-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: none; }
  .ap-chips button, .ap-chip { flex: none; border: 1px solid rgba(255,255,255,.22); background: none; color: #fff; border-radius: 999px; padding: 7px 14px; font: 600 13px "Open Sans", sans-serif; cursor: pointer; text-decoration: none !important; }
  .ap-chips button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
  .ap-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .ap-tile { position: relative; height: 96px; border: 0; border-radius: 8px; overflow: hidden; text-align: left; padding: 12px; color: #fff; cursor: pointer; }
  .ap-tile b { position: relative; z-index: 1; font: 800 16px/1.2 Montserrat, sans-serif; }
  .ap-tile img { position: absolute; right: -14px; bottom: -6px; width: 64px; height: 64px; object-fit: cover; border-radius: 4px; transform: rotate(25deg); box-shadow: 0 4px 12px rgba(0,0,0,.4); }
  .ap-list { list-style: none; margin: 8px 0 0; padding: 0; }
  .ap-row { display: flex; align-items: center; }
  .ap-rmain { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px 0; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; }
  .ap-rmain:disabled { opacity: .5; }
  .ap-art { width: 52px; height: 52px; flex: none; border-radius: 4px; overflow: hidden; background: #2a2620; display: grid; place-items: center; color: rgba(255,255,255,.5); }
  .ap-art.ap-round { border-radius: 50%; }
  .ap-art img { width: 100%; height: 100%; object-fit: cover; }
  .ap-art svg { width: 50%; height: 50%; }
  .ap-rt { flex: 1; min-width: 0; display: grid; gap: 2px; }
  .ap-rt b { font: 600 15px/1.3 "Open Sans", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ap-rt small { color: rgba(255,255,255,.62); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ap-rmain.bp-now .ap-rt b { color: var(--accent); }
  .ap-rmain .st-eq { display: none; position: static; }
  .ap-rmain.bp-now .st-eq { display: inline-flex; }
  .ap-more { width: 40px; height: 40px; flex: none; border: 0; background: none; color: rgba(255,255,255,.7); display: grid; place-items: center; cursor: pointer; }
  .ap-more svg, .ap-chev svg { width: 20px; height: 20px; display: block; }
  .ap-chev { color: rgba(255,255,255,.5); flex: none; }
  .ap-empty { text-align: center; padding: 48px 12px; }
  .ap-empty b { font: 800 18px Montserrat, sans-serif; }
  .ap-empty p { color: rgba(255,255,255,.65); }
  .ap-card { background: #1a1916; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 16px; margin: 4px 0 12px; }
  .ap-card b { font: 700 16px Montserrat, sans-serif; display: block; }
  .ap-card p, .ap-card small { color: rgba(255,255,255,.65); font-size: 13px; display: block; margin: 4px 0 0; }
  .ap-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
  .ap-me { display: flex; gap: 14px; align-items: center; }
  .ap-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 800 24px Montserrat, sans-serif; flex: none; }
  .ap-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .ap-links a { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; font: 600 15px "Open Sans", sans-serif; text-decoration: none !important; }
  .ap-library .plsec { margin-top: 8px; }
  .ap-library .plsec h2 { font: 800 20px/1.2 Montserrat, sans-serif; text-transform: none; color: #fff; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) { html.be-app .ap-view:not([hidden]) { animation: ap-in .22s ease; } }
@keyframes ap-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  html.be-app .ap-sbox { display: flex !important; flex-direction: row !important; grid-template-columns: none !important; }
  html.be-app .ap-sbox input { -webkit-appearance: none; appearance: none; width: auto !important; flex: 1 1 auto; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; color: #0b0b0b !important; padding: 0 !important; border-radius: 0 !important; }
  html.be-app .ap-sbox input::placeholder { color: #5f5a50; }
}
@media (max-width: 760px) {
  html.be-app .ap-view { margin: 0 !important; padding-top: 0 !important; }
  html.be-app .ap-sbox input::-webkit-search-cancel-button { filter: invert(1) brightness(.4); }
}
@media (max-width: 760px) { html.be-app .ap-join { display: none; } } /* the site menu already has Join */

/* New Releases & Updates row (Listen page + home-page player) */
.wn-scroll { grid-auto-columns: minmax(200px, 240px) !important; }
.wn-card { display: grid; gap: 6px; align-content: start; border: 0; background: none; color: var(--text); text-align: left; padding: 0; cursor: pointer; min-width: 0; }
.wn-art { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #24221d; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.wn-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.wn-card:hover .wn-art img { transform: scale(1.04); }
.wn-be { font: 900 44px Montserrat, sans-serif; color: rgba(255,255,255,.9); letter-spacing: -.02em; }
.wn-badge { position: absolute; left: 8px; top: 8px; padding: 4px 9px; border-radius: 999px; font: 800 10px Montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase; background: rgba(11,11,11,.78); color: #fff; backdrop-filter: blur(6px); }
.wn-badge.wn-gold { background: var(--accent); color: var(--accent-ink); }
.wn-badge.wn-new { background: #3ecf8e; color: #062b1a; }
.wn-t { font: 700 15px/1.3 Montserrat, sans-serif; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wn-s { font-size: 13px; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wn-s em { font-style: normal; color: var(--accent); font-weight: 600; }
.wn-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.wn-dlg { border: 1px solid rgba(224,169,43,.4); border-radius: 18px; padding: 0; background: #121110; color: var(--text); width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 40px); overflow: auto; }
.wn-dlg::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.wn-body { padding: 0 0 20px; }
.wn-body > :not(.wn-hero) { margin-left: 20px; margin-right: 20px; }
.wn-hero { width: 100%; max-height: 300px; object-fit: cover; display: block; margin-bottom: 16px; }
.wn-hero.wn-sq { aspect-ratio: 1; max-height: 340px; }
.wn-kick { display: block; color: var(--accent); font: 800 11px Montserrat, sans-serif; letter-spacing: .12em; text-transform: uppercase; margin-top: 20px; }
.wn-hero + .wn-kick { margin-top: 0; }
.wn-body h2 { font: 800 24px/1.2 Montserrat, sans-serif; text-transform: none; margin: 6px 0 10px; color: #fff; }
.wn-body p { color: #d8d2c4; margin: 0 0 12px; }
.wn-when em { font-style: normal; color: var(--accent); }
.wn-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
body.embed .wn-scroll { grid-auto-columns: 200px !important; }
/* "Out now" note when a scheduled release goes live while music is playing */
.wn-drop { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px;
  background: #1c1a16; border: 1px solid #e2b653; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.5); max-width: calc(100vw - 24px); color: #f3ecdc; font-size: 14px; }
.wn-drop img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; flex: none; }
.wn-drop span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wn-drop span b { display: block; color: #e2b653; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.wn-drop .btn { flex: none; }
.wn-drop .wn-x { background: none; border: 0; color: #a9a08c; font-size: 20px; cursor: pointer; padding: 0 4px; flex: none; }
/* Admin: draft banner, date & time dialog, and date pickers that fit on phones */
.note-draft { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: rgba(226, 182, 83, .1); border: 1px solid rgba(226, 182, 83, .45); font-size: 14px; }
.whendlg { border: 1px solid #3a3529; border-radius: 16px; background: #1c1a16; color: inherit; padding: 20px; width: min(420px, calc(100vw - 32px)); }
.whendlg::backdrop { background: rgba(0, 0, 0, .6); }
input[type=date], input[type=datetime-local] { min-width: 0; max-width: 100%; width: 100%; box-sizing: border-box; -webkit-appearance: none; appearance: none; text-align: left; }
input[type=datetime-local]::-webkit-date-and-time-value, input[type=date]::-webkit-date-and-time-value { text-align: left; }
/* Admin album form: per-song image picker */
.songart { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 6px; overflow: hidden; background: #24221d; border: 1px dashed #4a4334; cursor: pointer; vertical-align: middle; font-size: 9.5px; line-height: 1.15; text-align: center; color: #a9a08c; }
.songart img { width: 100%; height: 100%; object-fit: cover; }
#albumtracks { overflow-x: auto; }
/* Admin album track order: one card per song, names always visible, drag handle + arrows */
.at-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin: 4px 0 8px; }
.at-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.at-row { display: flex; align-items: center; gap: 10px; padding: 10px; background: #1b1a17; border: 1px solid #2e2b24; border-radius: 12px; }
.at-row.dragging { opacity: .85; border-color: #e2b653; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.at-drag { flex: none; width: 34px; height: 44px; border: 0; border-radius: 8px; background: #26241f; color: #c9bfa8; font-size: 20px; cursor: grab; touch-action: none; }
.at-drag:active { cursor: grabbing; }
.at-no { flex: none; width: 22px; text-align: center; color: #a9a08c; font-variant-numeric: tabular-nums; font-weight: 700; }
.at-img { flex: none; display: grid; gap: 4px; justify-items: center; }
.at-main { flex: 1; min-width: 0; display: grid; gap: 6px; }
.at-title { width: 100%; font-weight: 600; }
.at-sub { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.at-price { display: inline-flex !important; align-items: center; gap: 6px; flex-direction: row !important; margin: 0 !important; font-size: 13px !important; }
.at-price input { width: 72px !important; padding: 4px 8px !important; }
.at-btns { flex: none; display: flex; gap: 4px; }
@media (max-width: 600px) {
  .at-row { flex-wrap: wrap; row-gap: 8px; }
  .at-btns { order: 1; margin-left: auto; }
  .at-main { order: 2; flex-basis: 100%; }
  .at-sub .btn { padding: 6px 10px; }
}
/* Admin preview banner (only shown to the admin on ?preview= links) */
.pv-bar { position: relative; z-index: 200; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; justify-content: center; padding: 8px 14px;
  background: repeating-linear-gradient(135deg, #3a2d0c 0 14px, #33280b 14px 28px); color: #f3ecdc; font-size: 13.5px; border-bottom: 1px solid #e2b653; text-align: center; }
.pv-bar b { color: #e2b653; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.pv-bar a { color: #e2b653; font-weight: 700; }
.pv-pill { position: fixed; left: 10px; bottom: 150px; z-index: 210; padding: 6px 12px; border-radius: 999px; background: #e2b653; color: #14120e !important; font: 800 11px Montserrat, sans-serif;
  text-transform: uppercase; letter-spacing: .08em; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.5); }
.pv-pill span { margin-left: 4px; font-size: 14px; }
/* account menu button in the header (be-account.js) */
#nav[data-be-pending] { visibility: hidden; }
#nav [hidden] { display: none !important; }
#site-header nav.links a[data-be-acct] { display: inline-flex; align-items: center; gap: 2px; padding: 6px 12px; border: 1px solid var(--line, #3a3529); border-radius: 999px; color: var(--text) !important; cursor: pointer; white-space: nowrap; }
#site-header nav.links a[data-be-acct]:hover, #site-header nav.links a[data-be-acct][aria-expanded="true"] { border-color: var(--gold, #e2b653); color: var(--gold, #e2b653) !important; text-decoration: none; }
.be-signedout { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); z-index: 300; padding: 10px 18px; border-radius: 999px; background: #1c1a16; border: 1px solid #e2b653; color: #f3ecdc; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
/* My Account page */
.acct-head { display: flex; align-items: center; gap: 16px; margin: 24px 0 14px; flex-wrap: wrap; }
.acct-av { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f0cf7a, #c9962f); color: #17150f; font: 800 24px Montserrat, sans-serif; }
.acct-who { flex: 1; min-width: 0; } .acct-who h1 { margin: 0; font-size: clamp(26px, 5vw, 38px); } .acct-who p { margin: 2px 0 0; overflow-wrap: anywhere; }
.acct-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; margin: 0 0 16px; border: 1px solid var(--line, #2e2b24); border-radius: 999px; scrollbar-width: none; }
.acct-tabs::-webkit-scrollbar { display: none; }
.acct-tabs a { flex: none; padding: 9px 16px; border-radius: 999px; color: var(--muted) !important; font: 700 14px Montserrat, sans-serif; text-decoration: none !important; white-space: nowrap; }
.acct-tabs a.on { background: var(--gold, #e2b653); color: #17150f !important; }
.acct-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.acct-tile { display: grid; gap: 4px; padding: 16px; border-radius: 14px; background: #1b1a17; border: 1px solid #2e2b24; color: var(--text) !important; text-decoration: none !important; }
.acct-tile:hover { border-color: var(--gold, #e2b653); }
.acct-tile b { font: 700 16px Montserrat, sans-serif; } .acct-tile span { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; } .acct-tile em { font-style: normal; color: var(--gold, #e2b653); font-weight: 700; font-size: 13px; margin-top: 4px; }
.acct-join { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(226,182,83,.18), rgba(226,182,83,.05)); border: 1px solid rgba(226,182,83,.5); }
.acct-join b { display: block; font: 700 17px Montserrat, sans-serif; } .acct-join span { color: var(--muted); }
.acct-pls { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.acct-pls li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 10px; background: #1b1a17; }
.acct-pane h2 { outline: none; }
.ap-signout { width: 100%; justify-content: center; }
/* Mid-size screens (tablets, small laptops): the header fits on one line — tighter menu, and My Library is in the
   My Account menu, so it isn't repeated in the bar. */
@media (min-width: 861px) and (max-width: 1240px) {
  .sitebar .wrap { gap: 16px; grid-template-columns: auto 1fr auto; }
  .mainmenu { gap: 18px; justify-self: center; }
  .mainmenu a { font-size: 14px; }
  #site-header nav.links { gap: 10px; }
  #site-header nav.links a[href="/account#library"] { display: none; }
}
/* in-page links (#library, #profile…) land below the sticky header, not under it */
html { scroll-padding-top: 92px; }

/* ---------- Studio Store (obsidian & gold, like the Studio) ---------- */
body[data-page="store"] { background: radial-gradient(1100px 520px at 20% -10%, rgba(212,175,55,.09), transparent 60%), #08080a; }
.sx { --ch: #F3E5AB; --am: #D4AF37; --hair: rgba(212,175,55,.18); padding-bottom: 48px; }
.sx-hero { padding: 48px 0 20px; }
.sx-hero h1 { font: 800 clamp(30px, 5.4vw, 54px)/1.08 Montserrat, sans-serif; margin: 0 0 12px; letter-spacing: -.01em; }
.sx-hero h1 span { background: linear-gradient(90deg, #f6e9b8, #d4af37); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sx-hero p:not(.kicker) { color: var(--muted); max-width: 640px; font-size: 18px; margin: 0; }
.sx .be-glass { background: linear-gradient(160deg, rgba(243,229,171,.06), rgba(255,255,255,.01) 55%, rgba(212,175,55,.035)), #0e0e11; border: 1px solid var(--hair); border-radius: 18px; box-shadow: inset 0 1px 0 rgba(243,229,171,.06), 0 14px 40px rgba(0,0,0,.45); }
.sx-pass { margin: 24px 0 8px; display: grid; gap: 16px; }
.sx-pass-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; padding: 28px; position: relative; overflow: hidden; border-color: rgba(243,229,171,.38) !important; }
.sx-pass-in::after { content: ''; position: absolute; inset: auto -20% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(212,175,55,.18), transparent); pointer-events: none; }
.sx-badge { display: inline-block; font: 800 11px Montserrat, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #0b0a07; background: linear-gradient(180deg, #f6e9b8, #d4af37); border-radius: 999px; padding: 5px 12px; margin: 0 0 12px; }
.sx-pass-l h2 { font: 800 clamp(22px, 3vw, 30px)/1.2 Montserrat, sans-serif; margin: 0 0 12px; color: var(--ch); }
.sx-feat { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sx-feat li { padding-left: 26px; position: relative; color: #ddd6c4; }
.sx-feat li::before { content: '✦'; position: absolute; left: 0; color: var(--am); }
.sx-pass-r { display: grid; align-content: center; gap: 10px; position: relative; z-index: 1; }
.sx-price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.sx-price b { font: 800 48px/1 Montserrat, sans-serif; color: var(--ch); text-shadow: 0 0 24px rgba(243,229,171,.25); }
.sx-price span { color: var(--muted); }
.sx-note { margin: 0; color: var(--muted); font-size: 14px; }
.sx-note b { color: var(--ch); }
.sx-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.sx .btn { background: linear-gradient(180deg, #f6e9b8, #d9bb5f); color: #0b0a07; box-shadow: 0 0 0 1px rgba(243,229,171,.35), 0 6px 18px rgba(212,175,55,.2); }
.sx .btn.ghost { background: transparent; color: var(--text); box-shadow: none; border: 1px solid rgba(212,175,55,.35); }
.sx .btn.sm { padding: 7px 14px; font-size: 13px; }
.sx-join { padding: 24px; display: grid; gap: 12px; max-width: 520px; }
.sx-join h3 { margin: 0; color: var(--ch); font-family: Montserrat, sans-serif; }
.sx-join label { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.sx-join label.check { display: flex; gap: 8px; align-items: flex-start; }
.sx-join input:not([type=checkbox]) { background: #08080a; border: 1px solid rgba(212,175,55,.25); color: var(--text); border-radius: 10px; padding: 10px 12px; font: inherit; }
.sx-sec { margin-top: 40px; }
.sx-sec h2 { font: 800 22px Montserrat, sans-serif; letter-spacing: .02em; margin: 0 0 14px; }
.sx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.sx-card { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; padding: 20px; transition: transform .2s, border-color .2s; }
.sx-card:hover { transform: translateY(-2px); border-color: rgba(243,229,171,.45); }
.sx-card:target { border-color: var(--ch); box-shadow: 0 0 0 1px var(--ch), 0 0 30px rgba(243,229,171,.2); }
.sx-art { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; color: var(--ch); background: radial-gradient(circle at 30% 20%, rgba(243,229,171,.2), rgba(212,175,55,.04)); border: 1px solid var(--hair); }
.sx-art svg { width: 46px; height: 46px; filter: drop-shadow(0 0 6px rgba(243,229,171,.45)); }
.sx-kind { margin: 0; font: 700 11px Montserrat, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--am); }
.sx-kind b { color: #7fd1a4; }
.sx-body h3 { margin: 4px 0 6px; font: 800 19px Montserrat, sans-serif; }
.sx-body p:not(.sx-kind) { margin: 0 0 8px; color: #cfc7b2; font-size: 15px; }
.sx-body ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.sx-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.sx-fine { margin-top: 32px; }
.sx-loading { color: var(--muted); }
.sx-dlg { border: 1px solid rgba(212,175,55,.35); border-radius: 18px; background: rgba(14,14,17,.94); color: var(--text); max-width: 460px; padding: 24px; backdrop-filter: blur(18px); }
.sx-dlg::backdrop { background: rgba(0,0,0,.6); }
.sx-dlg h2 { margin: 0 0 8px; color: #F3E5AB; font-family: Montserrat, sans-serif; }
@media (max-width: 760px) { .sx-pass-in { grid-template-columns: 1fr; padding: 20px; } .sx-price b { font-size: 40px; } .sx-grid { grid-template-columns: 1fr; } }
.sx-join[hidden] { display: none; }
.sx-admin { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 14px 18px; margin-bottom: 16px; border: 1px solid rgba(212,175,55,.45) !important; border-radius: 14px; color: var(--text, #EEE8D8); }
.sx-admin b { color: #F3E5AB; }
.sx-admin .sx-cta { display: inline-flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
