/* ANANTAVINNIE store — single-column release feed. Charcoal, cream, muted acid yellow.
   The last section restyles it after Beatport's mobile store: flat charcoal rows, numbered charts. */

:root {
  --ink: #101211;
  --ink-2: #0b0c0b;
  --panel: #191c19;
  --panel-2: #20241f;
  --cream: #f1f0e9;
  --muted: #a6ada1;
  --dim: #7d8478;
  --accent: #d8dc7b;
  --accent-hi: #e4e795;
  --accent-ink: #141610;
  --border: #333830;
  --hair: rgba(241, 240, 233, 0.09);
  --warn: #e0a07a;
  --sale: #d8dc7b;
  --sale-bg: #1b2019;
  --urgent-bg: #3a2418;

  --f-display: "Archivo", "Oswald", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: 16px;
  --feed: 560px;
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.5, 0, 0.75, 0);
  --bar-h: 72px;
  --player-h: 122px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--cream);
  font: 400 16px/1.5 var(--f-text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.has-cart-bar { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }

img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }

/* One centred column, like a feed */
.col {
  width: 100%;
  max-width: calc(var(--feed) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main:focus { outline: none; }

.eyebrow {
  font: 500 11px/1.2 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.textlink {
  padding: 0;
  border: 0;
  background: none;
  color: var(--cream);
  font: 600 14px/1.4 var(--f-text);
  text-decoration: underline;
  text-decoration-color: rgba(241, 240, 233, 0.35);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}
.textlink:hover { text-decoration-color: var(--accent); }

.badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font: 500 10px/1 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: middle;
  flex: none;
}

/* ---------- Demo strip + header ---------- */

.demo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px var(--gutter);
  padding-top: max(6px, env(safe-area-inset-top));
  background: var(--accent);
  color: var(--accent-ink);
  font: 500 11px/1.3 var(--f-mono);
}
.demo-strip[hidden] { display: none; }
.demo-strip__tag {
  padding: 1px 5px;
  border: 1px solid currentColor;
  border-radius: 2px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 18, 17, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--hair);
}
.site-head__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  text-decoration: none;
  min-width: 0;
}
.brand img { width: 30px; height: 30px; flex: none; }
.brand__word {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: 18px;
  letter-spacing: 0.06em;
}
.site-head__actions { display: flex; align-items: center; gap: 2px; margin-right: -8px; }
.head-link {
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.head-link:hover { color: var(--cream); }

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  text-decoration: none;
}
.icon-btn:hover { background: var(--panel-2); }
.icon-btn[hidden] { display: none; }

.cart-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 11px/18px var(--f-text);
  text-align: center;
  box-shadow: 0 0 0 2px var(--ink);
}
.cart-badge[hidden] { display: none; }

@media (max-width: 359px) {
  .brand__word { font-size: 16px; letter-spacing: 0.03em; }
  .head-link { padding: 0 6px; }
}

/* ---------- Profile ---------- */

.profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  padding-bottom: 6px;
}
.profile__avatar {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px var(--accent);
}
.profile__txt { min-width: 0; flex: 1; }
.profile__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.profile__bio { margin-top: 3px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.profile__meta { margin-top: 5px; font: 500 11px/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

/* ---------- Feed posts ---------- */

.feed { padding-top: 12px; }
.post + .post { margin-top: 36px; }

.post__head {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
}
.post__avatar { width: 32px; height: 32px; flex: none; }
.post__who { flex: 1; min-width: 0; }
.post__name { font-size: 14px; font-weight: 700; line-height: 1.2; }
.post__label { font-size: 12px; line-height: 1.3; color: var(--muted); }

/* Artwork bleeds edge to edge on phones, like a feed post */
.post__media { margin: 0 calc(-1 * max(var(--gutter), env(safe-area-inset-left))); }
.post__media .art { border-radius: 0; box-shadow: none; }

@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .post__media { margin: 0; }
  .post__media .art { border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(241, 240, 233, 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
  .post + .post { margin-top: 56px; }
  .profile { padding-top: 32px; }
}

.post__body { padding-top: 14px; }
.post__info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.post__titles { min-width: 0; }
.post__title { line-height: 1; }
.title-btn {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 72%;
  font-size: 28px;
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.title-btn:hover { color: var(--accent-hi); }
.post__sub { margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.post .price { align-items: flex-end; text-align: right; padding-top: 2px; }
.post__more { margin-top: 12px; font-size: 13px; color: var(--muted); min-height: 28px; }

.feed-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 48px;
  padding-bottom: 40px;
  font: 500 11px/1.2 var(--f-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: center;
}
.feed-end img { opacity: 0.7; }

/* About block above the footer (store/index.php): who Vinnie is and a plain
   link to every track page, for search engines and curious visitors. */
.seo-about { padding-top: 8px; padding-bottom: 32px; border-top: 1px solid var(--hair); font-size: 13px; line-height: 1.55; color: var(--dim); }
.seo-about p { margin: 8px 0 0; max-width: 60ch; }
.seo-about__title { margin: 24px 0 0; font: 600 14px/1.3 var(--f-text); color: var(--muted); }
.seo-about__sub { margin: 18px 0 0; font: 600 12px/1.3 var(--f-text); color: var(--muted); }
.seo-about__list { margin: 6px 0 0; padding: 0; list-style: none; }
.seo-about__list li { padding: 3px 0; }
.seo-about__list a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
.seo-about__list a:hover { color: var(--cream); }
.seo-about__list a[aria-current] { color: var(--cream); text-decoration: none; }

/* ---------- Big catalog: browse bar, grid, list ---------- */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.browse { margin-top: 48px; }
.browse__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.browse__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 72%;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}
.sort select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 36px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23a6ada1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 6px center / 16px;
  color: var(--cream);
  font: 600 13px/1 var(--f-text);
  cursor: pointer;
}

/* Search + filters stay under the header while the grid scrolls. */
.browse__bar {
  position: sticky;
  top: 57px;
  z-index: 15;
  margin-top: 12px;
  padding: 10px 0 8px;
  background: rgba(16, 18, 17, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
}
.browse__row { display: flex; align-items: center; gap: 8px; }
.browse__row--chips { margin-top: 8px; }

.search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--muted);
  cursor: text;
}
.search:focus-within { border-color: var(--muted); }
.search > svg { flex: none; }
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  color: var(--cream);
  font-size: 16px;   /* 16px stops iOS from zooming in */
  outline: none;
}
.search input::placeholder { color: var(--dim); }
.search input::-webkit-search-cancel-button { filter: invert(0.7); }

.seg { display: flex; flex: none; padding: 3px; border: 1px solid var(--border); border-radius: var(--radius); }
.seg__btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 36px;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--dim);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.seg__btn.is-on { background: var(--panel-2); color: var(--cream); }

/* Filter buttons scroll sideways on phones instead of wrapping. */
.chips {
  display: flex;
  gap: 6px;
  margin: 0 calc(-1 * max(var(--gutter), env(safe-area-inset-left)));
  padding: 2px max(var(--gutter), env(safe-area-inset-left));
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: 600 13px/1 var(--f-text);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s var(--ease);
}
.chip:hover { color: var(--cream); }
.chip:active { transform: scale(0.95); }
.chip.is-on { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }

.browse__count { padding: 14px 0 10px; font: 500 11px/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

/* Grid: 3 across on phones, like a profile grid. */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .grid { gap: 20px 12px; } }
.tile { position: relative; min-width: 0; animation: msg-in 0.3s var(--ease-out); }
.tile__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.art--tile { display: block; border-radius: 4px; transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.tile__btn:hover .art--tile { box-shadow: 0 0 0 1px rgba(241, 240, 233, 0.25); }
.tile__btn:active .art--tile { transform: scale(0.97); }
.tile__title {
  display: block;
  margin-top: 7px;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: 14px;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tile__meta { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__check {
  position: absolute;
  top: 6px;
  right: 6px;
  display: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.tile__check svg { width: 14px; height: 14px; }
.tile.is-in-cart .tile__check { display: grid; animation: badge-pop 0.4s var(--ease-out); }

/* List: compact rows for buying several tracks at once. */
.tracks { margin: 0; padding: 0; list-style: none; }
.trk {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--hair);
  animation: msg-in 0.3s var(--ease-out);
}
.trk__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.trk__main .art--xs { flex: none; width: 52px; }
.trk__txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.trk__title { font-weight: 700; font-size: 14.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk__sub { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk__facts { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: 0.04em; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk__main:hover .trk__title { color: var(--accent-hi); }
.trk__price { font: 700 12px/1.3 var(--f-text); letter-spacing: 0; color: var(--cream); }
.mini-cart {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: none;
  color: var(--cream);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s var(--ease);
}
.mini-cart:hover { border-color: var(--muted); }
.mini-cart:active { transform: scale(0.92); }
.mini-cart.is-in-cart { border-color: rgba(216, 220, 123, 0.55); color: var(--accent); }
.mini-cart.is-just-added { animation: added 0.42s var(--ease-out); }
.mini-cart.is-just-added svg path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw 0.35s 0.08s var(--ease-out) forwards; }

.more { display: flex; justify-content: center; padding: 24px 0 8px; }
.no-results { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 0 48px; color: var(--muted); }

/* ---------- Artwork + preview ---------- */

.art {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
}
.art > img { width: 100%; height: 100%; object-fit: cover; }
/* Artwork stays visible if its optional JS fade cannot run. */

.pv-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.pv-wrap--lg, .pv-wrap--md { top: calc(50% + 14px); }

.pv {
  --s: 76px;
  --p: 0;
  position: relative;
  display: grid;
  place-items: center;
  width: var(--s);
  height: var(--s);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 13, 12, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--cream);
  cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s var(--ease), background-color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.pv--lg { --s: 80px; }
.pv--md { --s: 72px; }
.pv:hover { transform: scale(1.05); background-color: rgba(12, 13, 12, 0.74); }
.pv:active { transform: scale(0.96); }

.pv__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.pv__track { fill: none; stroke: rgba(241, 240, 233, 0.3); stroke-width: 1.5; }
.pv__prog {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--p) * 100);
  transition: stroke-dashoffset 0.25s linear;
}
.pv__icon { position: relative; width: 44%; height: 44%; }
.pv__pause, .pv__retry { display: none; }
.pv[data-state="playing"] .pv__play,
.pv[data-state="loading"] .pv__play,
.pv[data-state="error"] .pv__play { display: none; }
.pv[data-state="playing"] .pv__pause,
.pv[data-state="loading"] .pv__pause { display: inline; }
.pv[data-state="error"] .pv__retry { display: inline; }
.pv[data-state="loading"] .pv__prog {
  stroke-dasharray: 22 78;
  stroke-dashoffset: 0;
  transform-origin: 24px 24px;
  animation: spin 0.9s linear infinite;
}
.pv[data-state="unavailable"] { cursor: help; }
.pv[data-state="unavailable"] .pv__track { stroke-dasharray: 1.5 3.5; stroke: rgba(241, 240, 233, 0.45); }
.pv[data-state="unavailable"] .pv__prog { stroke: none; }
.pv[data-state="unavailable"] .pv__icon { opacity: 0.55; }
.pv[data-state="error"] .pv__track { stroke: var(--warn); }

.pv-caption {
  padding: 4px 8px;
  border-radius: 2px;
  background: rgba(12, 13, 12, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font: 500 10px/1.2 var(--f-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--cream);
}
.pv-caption[data-state="idle"] { visibility: hidden; }
.pv-caption[data-state="playing"] { color: var(--accent); }
.pv-caption.is-nudge { animation: nudge 0.45s var(--ease); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  60% { transform: translateX(3px); }
}

/* ---------- Price + buttons ---------- */

.price { display: flex; flex-direction: column; gap: 4px; flex: none; }
.price__amt {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 80%;
  font-size: 22px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price__none { font-size: 13px; color: var(--muted); }
.price--lg .price__amt { font-size: 30px; }
.price__note {
  font: 500 9.5px/1.2 var(--f-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 10px;
  margin-top: 16px;
}
.actions .btn { padding: 0 12px; gap: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 700 15px/1.1 var(--f-text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn > span { overflow: hidden; text-overflow: ellipsis; }
.btn > svg { flex: none; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hi); }
.btn--ghost { border-color: var(--border); background: transparent; color: var(--cream); }
.btn--ghost:hover { border-color: var(--muted); }
.btn--ghost.is-in-cart { border-color: rgba(216, 220, 123, 0.55); color: var(--accent); }
.btn--lg { min-height: 52px; font-size: 16px; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { cursor: progress; opacity: 0.75; }

.unavail { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- Meta ---------- */

.meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--hair); }
.meta dt { font: 500 10px/1.2 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.meta dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; }

/* ---------- States ---------- */

.state { padding-top: 56px; padding-bottom: 72px; }
.state__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 72%;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}
.state__txt { margin: 12px 0 20px; color: var(--muted); }
.noscript { padding-block: 40px; color: var(--muted); }

.skel {
  background: linear-gradient(100deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%);
  background-size: 300% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: var(--radius);
}
.profile__avatar.skel { border-radius: 50%; box-shadow: none; }
.skel--line { height: 12px; margin: 8px 0; }
.skel--half { width: 50%; }
.skel--wide { width: 75%; }
.post .art.skel { margin-top: 56px; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* ---------- Footer ---------- */

.site-foot {
  padding: 20px 0 calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hair);
  background: var(--ink-2);
}
.site-foot__in {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--muted);
}
.site-foot__in p { margin-right: auto; }
.site-foot .textlink { font-size: 13px; min-height: 32px; }

/* ---------- Cart bar ---------- */

.cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(25, 28, 25, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  animation: bar-up 0.3s var(--ease);
}
.cart-bar[hidden] { display: none; }
.cart-bar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--bar-h);
}
.cart-bar__txt { min-width: 0; }
.cart-bar__label { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.cart-bar__total {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 80%;
  font-size: 22px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
@keyframes bar-up { from { transform: translateY(100%); } }

/* ---------- Preview player bar ---------- */

/* Shown once a preview starts. Replaces the cart bar while open (the bar has
   its own Keranjang button and price). */
body.has-player { padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom)); }
body.has-player .cart-bar { display: none; }
body.has-player .toast:not(.toast--sheet) { bottom: calc(var(--player-h) + 12px + env(safe-area-inset-bottom)); }

.player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 26;
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(20, 23, 20, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  animation: bar-up 0.32s var(--ease-out);
}
.player[hidden] { display: none; }
.player__in { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; padding-bottom: 10px; }

.player__ctrl { display: flex; align-items: center; gap: 2px; height: 48px; }
.player__btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--cream);
  cursor: pointer;
  transition: transform 0.15s var(--ease), opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.player__btn svg { width: 20px; height: 20px; }
.player__btn:active { transform: scale(0.9); }
.player__btn:disabled { opacity: 0.3; cursor: default; transform: none; }
.player__play { margin-left: -10px; }
.player__play svg { width: 24px; height: 24px; }
.player__play .pv__pause, .player__play .pv__retry { display: none; }
.player__play[data-state="playing"] .pv__play,
.player__play[data-state="loading"] .pv__play,
.player__play[data-state="error"] .pv__play { display: none; }
.player__play[data-state="playing"] .pv__pause,
.player__play[data-state="loading"] .pv__pause { display: inline; }
.player__play[data-state="loading"] .pv__pause { animation: blink 1s ease-in-out infinite; }
.player__play[data-state="error"] .pv__retry { display: inline; }
.player__close { margin-right: -10px; color: var(--muted); }

/* Waveform: grey bars, played part in accent. Before the peaks are read it is
   a plain line with the same behaviour. */
.wave {
  --p: 0;
  position: relative;
  flex: 1;
  min-width: 0;
  height: 40px;
  margin: 0 4px;
  cursor: pointer;
  touch-action: none;
  border-radius: 2px;
}
.wave:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wave { --s: 0; --e: 1; }
.wave__base, .wave__clip, .wave__played { position: absolute; inset: 0; }
.wave svg { display: block; width: 100%; height: 100%; }
.wave__base svg { fill: rgba(241, 240, 233, 0.26); }
.wave__clip { display: none; }
/* Played part, from the start of the preview up to the playhead. */
.wave__played {
  clip-path: inset(0 calc(100% - var(--p) * 100%) 0 calc(var(--s) * 100%));
  transition: clip-path 0.25s linear;
}
.wave.is-scrub .wave__played { transition: none; }
.wave__played svg { fill: var(--accent); }
.wave:not(.has-peaks) .wave__base,
.wave:not(.has-peaks) .wave__played { top: 19px; bottom: 19px; border-radius: 1px; }
.wave:not(.has-peaks) .wave__base { background: rgba(241, 240, 233, 0.22); }
.wave:not(.has-peaks) .wave__played { background: var(--accent); }

/* Full track: everything outside the preview is greyed out, the preview
   part is lit, with a faint band and edge ticks marking it. */
.wave.is-full .wave__base svg { fill: rgba(241, 240, 233, 0.13); }
.wave.is-full .wave__clip {
  display: block;
  clip-path: inset(0 calc(100% - var(--e) * 100%) 0 calc(var(--s) * 100%));
}
.wave.is-full .wave__clip svg { fill: rgba(241, 240, 233, 0.62); }
.wave.is-full::before {
  content: "";
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: calc(var(--s) * 100%);
  width: calc((var(--e) - var(--s)) * 100%);
  border-left: 1px solid rgba(216, 220, 123, 0.5);
  border-right: 1px solid rgba(216, 220, 123, 0.5);
  background: rgba(216, 220, 123, 0.07);
  pointer-events: none;
}
.wave.has-peaks svg { animation: wave-in 0.45s var(--ease-out); transform-origin: 50% 50%; }
/* Playhead */
.wave::after {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: calc(var(--p) * 100%);
  width: 2px;
  margin-left: -1px;
  border-radius: 1px;
  background: var(--cream);
  opacity: 0.9;
  transition: left 0.25s linear;
  pointer-events: none;
}
.wave.is-scrub::after { transition: none; }

.player__track { display: flex; align-items: center; gap: 10px; min-width: 0; }
.player__art { flex: none; width: 44px; padding: 0; border: 0; cursor: pointer; }
.player__txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.player__title { font-weight: 700; font-size: 13.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__txt:hover .player__title { color: var(--accent-hi); }
.player__facts {
  font: 500 10.5px/1.3 var(--f-mono);
  letter-spacing: 0.03em;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player__facts b { font-weight: 500; color: var(--cream); }
.player__track .mini-cart { width: 40px; height: 40px; }
.player__buy {
  flex: none;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 13px/1 var(--f-text);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s var(--ease);
}
.player__buy:hover { background: var(--accent-hi); }
.player__buy:active { transform: scale(0.95); }
@media (max-width: 400px) {
  .player__buy { padding: 0 9px; font-size: 12.5px; }
}
/* Instead of the price once the track is theirs. */
.player__owned {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 40px;
  padding: 0 11px;
  border: 1px solid rgba(216, 220, 123, 0.45);
  border-radius: var(--radius);
  background: rgba(216, 220, 123, 0.08);
  color: var(--accent);
  font: 600 12.5px/1 var(--f-text);
  white-space: nowrap;
  cursor: pointer;
}
.player__owned svg { width: 15px; height: 15px; }
.player__owned:active { transform: scale(0.95); }

/* Small play/pause on tiles and list rows. */
.mini-pv {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 13, 12, 0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--cream);
  cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.mini-pv svg { width: 58%; height: 58%; }
.mini-pv:active { transform: scale(0.9); }
.mini-pv .pv__pause, .mini-pv .pv__retry { display: none; }
.mini-pv[data-state="playing"] .pv__play,
.mini-pv[data-state="loading"] .pv__play,
.mini-pv[data-state="error"] .pv__play { display: none; }
.mini-pv[data-state="playing"] .pv__pause,
.mini-pv[data-state="loading"] .pv__pause { display: inline; }
.mini-pv[data-state="error"] .pv__retry { display: inline; }
.mini-pv[data-state="playing"], .mini-pv[data-state="loading"] { background: var(--accent); color: var(--accent-ink); }
.mini-pv--tile { position: absolute; top: 6px; left: 6px; width: 32px; height: 32px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45); }
.trk__art { position: relative; flex: none; width: 52px; }
.mini-pv--row { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 4px; background: rgba(12, 13, 12, 0.38); }
.mini-pv--row svg { width: 44%; height: 44%; }
.mini-pv--row[data-state="playing"], .mini-pv--row[data-state="loading"] { background: rgba(12, 13, 12, 0.5); color: var(--accent); }

/* The track that is loaded in the player. */
.trk.is-current { margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--accent); }
.trk.is-current .trk__title { color: var(--accent-hi); }
.tile.is-current .art--tile { box-shadow: 0 0 0 2px var(--accent); }
.post.is-current .post__title { color: var(--accent-hi); }

@keyframes wave-in { from { transform: scaleY(0.1); opacity: 0; } }
@keyframes blink { 50% { opacity: 0.4; } }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: calc(100% - 2 * var(--gutter));
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--cream);
  font-size: 14px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s 0.25s;
  pointer-events: none;
}
.has-cart-bar .toast:not(.toast--sheet) { bottom: calc(var(--bar-h) + 12px + env(safe-area-inset-bottom)); }
.toast.is-on {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.2s, transform 0.25s var(--ease);
}
.toast.has-action { pointer-events: auto; padding-right: 6px; }
.toast__action {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
}
.toast--sheet { position: absolute; }

/* ---------- Sheet (dialog) ---------- */

.sheet {
  width: 100%;
  max-width: 100%;
  max-height: calc(100dvh - max(16px, env(safe-area-inset-top)));
  margin: auto 0 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 14px 14px 0 0;
  background: var(--panel);
  color: var(--cream);
  overflow: hidden;
  box-shadow: 0 -20px 60px -10px rgba(0, 0, 0, 0.7);
}
.sheet[open] { display: flex; flex-direction: column; animation: sheet-up 0.42s var(--ease-out); }
.sheet::backdrop { background: rgba(6, 7, 6, 0.74); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet[open]::backdrop { animation: fade 0.3s ease; }
.sheet.is-closing { animation: sheet-down 0.26s var(--ease-in) forwards; }
.sheet.is-closing::backdrop { animation: fade-out 0.26s ease forwards; }
/* Phones: a bottom sheet that slides all the way up. */
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-down { to { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

.sheet__top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(44px, auto) 1fr minmax(44px, auto);
  align-items: center;
  gap: 8px;
  padding: 8px max(8px, env(safe-area-inset-right)) 8px max(8px, env(safe-area-inset-left));
  border-bottom: 1px solid var(--hair);
  flex: none;
}
.sheet__top::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  width: 36px;
  height: 4px;
  margin-left: -18px;
  border-radius: 2px;
  background: var(--border);
}
.sheet__title {
  grid-column: 2;
  text-align: center;
  font: 500 11px/1.2 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sheet__back {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.sheet__back[hidden] { display: none; }
.sheet__top .icon-btn { grid-column: 3; grid-row: 1; justify-self: end; }

.sheet__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 18px max(var(--gutter), env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
}

@media (min-width: 760px) {
  .sheet {
    width: min(920px, calc(100% - 48px));
    max-height: min(780px, calc(100dvh - 48px));
    margin: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.85);
  }
  .sheet__top::before { display: none; }
  .sheet:not([data-view="detail"]) { width: min(520px, calc(100% - 48px)); }
  /* Larger screens: a centred modal that scales in. */
  .sheet[open] { animation-name: modal-in; animation-duration: 0.3s; }
  .sheet.is-closing { animation-name: modal-out; animation-duration: 0.2s; }
  .sheet__scroll { padding: 26px 30px 30px; }
}

/* Detail */
.art--detail { width: 100%; max-width: min(100%, 48dvh); margin-inline: auto; }
.detail__info { margin-top: 20px; min-width: 0; }
.detail__title {
  margin-top: 10px;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 68%;
  font-size: clamp(38px, 11vw, 60px);
  line-height: 0.92;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.version {
  margin-top: 8px;
  font-family: var(--f-display);
  font-weight: 600;
  font-stretch: 85%;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.detail__artists { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.detail .price { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hair); }
.detail__block { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--hair); }
.detail__block > p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--cream); }
.detail__block .eyebrow { margin: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.tags li {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font: 500 11px/1.2 var(--f-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.rows { margin: 8px 0 0; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--hair); }
.rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.rows dt { flex: none; font-size: 14px; color: var(--muted); }
.rows dd { margin: 0; min-width: 0; text-align: right; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }

.files { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.files li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--panel);
}
.files__fmt { font: 600 12px/1 var(--f-mono); letter-spacing: 0.08em; color: var(--accent); }
.files__spec { font-size: 14px; }
.files__size { font: 500 12px/1 var(--f-mono); color: var(--dim); }

.ticks { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.32em;
  width: 9px;
  height: 5px;
  border-left: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}

.detail__note {
  margin-top: 22px;
  font: 500 11px/1.4 var(--f-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

@media (min-width: 760px) {
  .detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; }
  .art--detail { max-width: none; }
  .detail__info { margin-top: 0; }
}

/* Order (cart + Beli langsung) */
.line-items { list-style: none; margin: 0; padding: 0; }
.line-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
}
.line-item:first-child { padding-top: 0; }
.art--xs { border-radius: 3px; box-shadow: 0 0 0 1px rgba(241, 240, 233, 0.08); }
.line-item__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 78%;
  font-size: 18px;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.line-item__title .badge { margin-left: 4px; height: 18px; }
.line-item__sub { margin-top: 3px; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.line-item__price { margin-top: 4px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.line-item__remove {
  align-self: center;
  min-height: 44px;
  padding: 0 4px 0 10px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(241, 240, 233, 0.3);
  cursor: pointer;
}
.line-item__remove:hover { color: var(--cream); }

.promo { margin-top: 18px; }
.promo__label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.promo__row { display: flex; gap: 8px; }
.promo__input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--ink);
  font-size: 16px;               /* avoids iOS zoom on focus */
  font-family: var(--f-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.promo__input::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--f-text); color: var(--dim); }
.promo__input:focus { outline: none; border-color: var(--accent); }
.promo__input[readonly] { color: var(--accent); }
.promo__msg { min-height: 0; margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--accent); }
.promo__msg:empty { display: none; }
.promo__msg.is-muted { color: var(--muted); }

.summary { margin-top: 18px; border-top: 1px solid var(--border); }
.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  font-size: 14px;
  color: var(--muted);
}
.sum-row span:last-child { color: var(--cream); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.sum-row--promo span:last-child { color: var(--accent); }
.sum-row--total { padding-top: 12px; border-top: 1px solid var(--hair); align-items: baseline; }
.sum-row--total span:first-child { font-weight: 700; color: var(--cream); font-size: 15px; }
.sum-row--total span:last-child {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 80%;
  font-size: 28px;
  line-height: 1;
}
.summary__note { font: 500 10px/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: right; }

.notice {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(216, 220, 123, 0.35);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(216, 220, 123, 0.05);
  font-size: 13.5px;
  line-height: 1.5;
}
.notice__tag { margin-bottom: 3px; font: 500 10.5px/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.order__cta { margin-top: 18px; }
.inline-error {
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(224, 160, 122, 0.5);
  border-radius: var(--radius);
  background: rgba(224, 160, 122, 0.08);
  font-size: 14px;
}

.empty-cart { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 8px 0 4px; color: var(--muted); }
.empty-cart__title { color: var(--cream); font-weight: 700; font-size: 17px; }
.empty-cart .btn { margin-top: 10px; }

/* Demo end */
.end { display: flex; flex-direction: column; gap: 16px; }
.end__mark {
  align-self: flex-start;
  padding: 4px 8px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  font: 500 11px/1.2 var(--f-mono);
  letter-spacing: 0.16em;
  color: var(--accent);
}
.end__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 72%;
  font-size: clamp(30px, 8vw, 38px);
  line-height: 0.98;
  text-transform: uppercase;
}
.end__title:focus { outline: none; }
.end > p { color: var(--muted); font-size: 15px; }
.end .line-items { border-top: 1px solid var(--hair); padding-top: 12px; }

/* Help */
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  position: relative;
  display: block;
  padding: 15px 36px 15px 0;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--muted);
  transition: transform 0.25s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.help__contact { margin-top: 18px; font-size: 14px; color: var(--muted); }
.help__contact .textlink { font-size: 14px; }

/* ---------- Interaction motion ---------- */

/* Copy of the artwork that flies to the cart icon (see js/motion.js). */
.flyer {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  pointer-events: none;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(241, 240, 233, 0.12);
  will-change: transform, opacity;
}
.flyer > img, .flyer > svg { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 1; }

/* Cart icon catches it, the badge pops, the bar total ticks. */
.cart-btn.is-bump { animation: bump 0.45s var(--ease-out); }
.cart-badge.is-pop { animation: badge-pop 0.45s var(--ease-out); }
.cart-bar__total.is-tick { animation: tick 0.35s var(--ease-out); }
@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.16) rotate(-6deg); }
  65% { transform: scale(0.96) rotate(3deg); }
  100% { transform: none; }
}
@keyframes badge-pop {
  0% { transform: scale(0.3); }
  55% { transform: scale(1.25); }
  100% { transform: none; }
}
@keyframes tick {
  0% { transform: translateY(6px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

/* Keranjang -> Di keranjang: a quick press-back and the check draws itself. */
.btn.is-just-added { animation: added 0.42s var(--ease-out); }
.btn.is-just-added svg path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw 0.35s 0.08s var(--ease-out) forwards; }
@keyframes added {
  0% { transform: scale(0.94); background-color: rgba(216, 220, 123, 0.18); }
  50% { transform: scale(1.03); }
  100% { transform: none; background-color: transparent; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Sheet content changing view (detail -> Keranjang, Kembali, checkout). */
.sheet__scroll.view-fwd { animation: view-fwd 0.28s var(--ease-out); }
.sheet__scroll.view-back { animation: view-back 0.28s var(--ease-out); }
@keyframes view-fwd { from { opacity: 0; transform: translateX(14px); } }
@keyframes view-back { from { opacity: 0; transform: translateX(-14px); } }

/* Feed posts below the fold fade up once. */
.post.will-reveal { opacity: 0; transform: translateY(18px); }
.post.will-reveal.is-in { opacity: 1; transform: none; transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out); }

/* Promo: message slides in, wrong or empty code shakes the field. */
.promo__msg:not(:empty) { animation: msg-in 0.25s var(--ease-out); }
.sum-row--promo { animation: msg-in 0.27s var(--ease-out); }
.promo__row.is-shake { animation: shake 0.4s var(--ease-out); }
@keyframes msg-in { from { opacity: 0; transform: translateY(-4px); } }

/* A calm member benefit: one final price, a small check and a short fade. */
.free-stamp{display:inline-flex;align-items:center;margin-left:8px;color:var(--accent);vertical-align:middle;order:2}
.free-stamp svg{width:18px;height:18px}
.free-win{margin-top:16px;padding:14px 0 0;border:0;border-top:1px solid var(--hair);background:none;font-size:13px;line-height:1.5;color:var(--muted)}
.free-win__title{margin-bottom:3px;font:600 13px/1.4 var(--f-text);color:var(--cream)}
[data-total]{display:inline-block;font-variant-numeric:tabular-nums;transform-origin:center}
.sum-row--total>span:last-child{display:inline-flex;align-items:center;gap:3px}
.sum-row--total .total-was{margin-right:8px;color:var(--dim);font:400 12px/1.3 var(--f-text)}
@keyframes shake {
  0%, 100% { transform: none; }
  20% { transform: translateX(-6px); }
  45% { transform: translateX(5px); }
  70% { transform: translateX(-3px); }
}

.empty-cart, .end__mark { animation: msg-in 0.35s var(--ease-out); }
.faq details[open] p { animation: msg-in 0.25s var(--ease-out); }

/* Checkout button while it waits: three soft dots. */
.btn.is-loading::after {
  content: "";
  width: 18px;
  height: 4px;
  background: radial-gradient(circle, currentColor 1.6px, transparent 2px) 0 50% / 6px 4px repeat-x;
  animation: dots 0.9s linear infinite;
  opacity: 0.8;
}
@keyframes dots { 50% { opacity: 0.3; } }

.icon-btn { transition: background-color 0.2s, transform 0.15s var(--ease); }
.icon-btn:active, .head-link:active, .textlink:active, .line-item__remove:active { transform: scale(0.94); }

/* ---------- Motion preferences ---------- */

/* ---------- Bonuses (free extras with a track) ---------- */

.bonus-tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px 0 7px;
  border-radius: 3px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 11px/1 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.bonus-tag svg { width: 15px; height: 15px; }
.bonus-tag--art { top: 12px; left: 12px; animation: tag-in 0.5s 0.2s var(--ease-out) both; }
.bonus-tag--tile { left: 5px; bottom: 5px; height: 18px; padding: 0 5px 0 4px; gap: 3px; font-size: 9px; letter-spacing: 0.05em; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); }
.bonus-tag--tile svg { width: 11px; height: 11px; }
@keyframes tag-in { from { opacity: 0; transform: translateY(-4px) scale(0.92); } }

.bonus-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  padding: 10px 10px 10px 12px;
  border: 1px dashed rgba(216, 220, 123, 0.45);
  border-radius: var(--radius);
  background: rgba(216, 220, 123, 0.06);
  color: var(--cream);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s var(--ease);
}
.bonus-strip:hover { background: rgba(216, 220, 123, 0.11); border-color: var(--accent); }
.bonus-strip:active { transform: scale(0.985); }
.bonus-strip > svg { flex: none; width: 20px; height: 20px; color: var(--accent); }
.bonus-strip .chev { width: 16px; height: 16px; color: var(--dim); }
.bonus-strip__txt { flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bonus-strip__txt b { margin-right: 6px; color: var(--accent); font-weight: 700; }

.bonus-card {
  margin-top: 18px;
  border: 1px solid rgba(216, 220, 123, 0.35);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(216, 220, 123, 0.08), rgba(216, 220, 123, 0.015));
}
.bonus-card.is-flash { animation: bonus-flash 1.6s var(--ease-out); }
@keyframes bonus-flash { 0%, 35% { box-shadow: 0 0 0 2px var(--accent); } 100% { box-shadow: 0 0 0 2px rgba(216, 220, 123, 0); } }
.bonus-card__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 12px; border-bottom: 1px dashed rgba(216, 220, 123, 0.3); }
.bonus-card__head > svg { flex: none; width: 28px; height: 28px; color: var(--accent); }
.bonus-card__title { font: 800 18px/1.1 var(--f-display); font-stretch: 75%; letter-spacing: 0.02em; text-transform: uppercase; color: var(--cream); }
.bonus-card__title span { color: var(--accent); }
.bonus-card__sub { margin-top: 3px; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.bonus-list { margin: 0; padding: 2px 14px; list-style: none; }
.bonus-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; }
.bonus-list li + li { border-top: 1px solid var(--hair); }
.bonus-list__ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; background: var(--panel-2); color: var(--accent); }
.bonus-list__ico svg { width: 21px; height: 21px; }
.bonus-list__txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.bonus-list__type { font: 500 10px/1.2 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.bonus-list__title { font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--cream); }
.bonus-list__note { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.bonus-list__size { flex: none; font: 500 12px/1 var(--f-mono); color: var(--dim); }
.bonus-card__until { padding: 10px 14px 12px; border-top: 1px dashed rgba(216, 220, 123, 0.3); font: 500 11px/1.4 var(--f-mono); letter-spacing: 0.03em; color: var(--accent); }

.trk__bonus { color: var(--accent); font-weight: 500; }
.line-item__bonus { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 12px; line-height: 1.3; color: var(--accent); min-width: 0; }
.line-item__bonus svg { flex: none; width: 13px; height: 13px; }
.line-item__bonus span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sum-row--bonus span:last-child { color: var(--accent); }

/* ---------- Timed discount (Steam-style −% block + countdown) ---------- */

.price--sale .price__amt { color: var(--accent-hi); }
.price__was { display: inline-flex; align-items: center; gap: 6px; }
.price__was s { font-size: 12.5px; color: var(--dim); font-variant-numeric: tabular-nums; text-decoration-thickness: 1px; }
.price__off, .sale-tag, .trk__off {
  background: var(--sale-bg);
  color: var(--sale);
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 85%;
  font-variant-numeric: tabular-nums;
}
.price__off { padding: 3px 5px 2px; border-radius: 2px; font-size: 13px; line-height: 1; }
.price--lg .price__was s { font-size: 14px; }
.price--lg .price__off { font-size: 15px; padding: 4px 6px 3px; }

.sale-tag {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 6px 8px 5px;
  border-radius: 3px;
  font-size: 17px;
  line-height: 1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  animation: tag-in 0.5s 0.3s var(--ease-out) both;
}
.sale-tag--tile { top: 5px; right: auto; left: 5px; padding: 3px 5px 2px; font-size: 12px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); animation: none; }

.sale-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 9px 12px;
  border-radius: var(--radius);
  background: var(--sale-bg);
  color: var(--sale);
}
.sale-bar > svg { flex: none; width: 19px; height: 19px; }
.sale-bar__txt { min-width: 0; }
.sale-bar__txt p:first-child { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; font-size: 13px; line-height: 1.35; }
.sale-bar__label { color: rgba(241, 240, 233, 0.82); }
.countdown { font: 500 14px/1.2 var(--f-mono); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; color: var(--sale); white-space: nowrap; }
.sale-bar__end { margin-top: 3px; font-size: 12px; line-height: 1.4; color: rgba(241, 240, 233, 0.62); }
.sale-bar--lg { margin-top: 14px; padding: 12px 14px; align-items: flex-start; }
.sale-bar--lg > svg { margin-top: 1px; width: 22px; height: 22px; }
.sale-bar--lg .countdown { font-size: 16px; }

/* Under 24 hours: the clock turns warm and pulses gently. */
.sale-bar.is-urgent { background: var(--urgent-bg); color: var(--warn); }
.is-urgent .countdown { color: var(--warn); }
.is-urgent > svg { animation: tick-pulse 1s steps(2, jump-none) infinite; }
@keyframes tick-pulse { 50% { opacity: 0.45; } }

.tile__meta s, .trk__facts s, .line-item__price s { color: var(--dim); font-weight: 400; }
.tile__sale { color: var(--accent-hi); font-weight: 700; }
.trk__off { padding: 1px 3px; border-radius: 2px; font-size: 11px; }
.line-item__price s { margin-right: 4px; font-size: 12.5px; }
.line-item__sale { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 12px; line-height: 1.3; color: var(--sale); }
.line-item__sale svg { flex: none; width: 13px; height: 13px; }
.line-item__sale span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-item__sale .countdown { font-size: 12px; }
.line-item__sale.is-urgent, .line-item__sale.is-urgent .countdown { color: var(--warn); }
.sum-row--sale span:last-child { color: var(--sale); }
.summary__note + .summary__note { margin-top: 4px; }

/* ---------- Member button ---------- */

.head-link--member { display: inline-flex; align-items: center; gap: 5px; }
.head-link--member svg { flex: none; }
.head-link[hidden], .textlink[hidden] { display: none; }
/* Phones: WhatsApp stays in Bantuan and on the payment steps, so the header
   keeps room for the brand, Member, Bantuan and the cart. */
.head-link--help svg { display: none; }
@media (max-width: 479px) {
  #nav-wa { display: none; }
  .head-link--member { padding: 0 8px; }
  .head-link--member svg { display: none; }
  .head-link--help { display: grid; place-items: center; width: 44px; padding: 0; }
  .head-link--help svg { display: block; }
  .head-link--help span { display: none; }
}

/* ---------- Manual transfer (pay view) ---------- */

.pay { display: flex; flex-direction: column; }
.pay > .notice { margin-top: 0; }
.pay__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-top: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.pay__label { font: 500 10.5px/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pay__ref { margin-top: 6px; font: 500 17px/1.1 var(--f-mono); letter-spacing: 0.08em; color: var(--cream); }
.pay__sum { text-align: right; }
.pay__amount {
  margin-top: 4px;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 80%;
  font-size: 30px;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.pay__items { list-style: none; margin: 0; padding: 8px 0 0; }
.pay__items li { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 13.5px; color: var(--muted); }
.pay__items li span:first-child { min-width: 0; overflow-wrap: anywhere; }
.pay__items li span:last-child { flex: none; color: var(--cream); font-variant-numeric: tabular-nums; }
.pay__items .pay__promo span:last-child { color: var(--accent); }

.steps { list-style: none; margin: 18px 0 0; padding: 0; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 22px;
}
/* The line that joins the step numbers. */
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 14.5px;
  top: 34px;
  bottom: 4px;
  width: 1px;
  background: var(--border);
}
.step__n {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  font: 500 13px/1 var(--f-mono);
  color: var(--accent);
}
.step__body { min-width: 0; padding-top: 4px; }
.step__title { margin: 0 0 10px; font: 700 15.5px/1.3 var(--f-text); letter-spacing: 0; color: var(--cream); }
.step__note { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.step__note b { color: var(--cream); font-weight: 700; }
.step__note .textlink { font-size: 14px; white-space: nowrap; }

.acct {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}
.acct + .acct { margin-top: 8px; }
.acct__txt { flex: 1; min-width: 0; }
.acct__bank { font: 500 10.5px/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.acct__no {
  margin-top: 5px;
  font: 500 22px/1.1 var(--f-mono);
  letter-spacing: 0.06em;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.acct__name { margin-top: 5px; font-size: 13px; color: var(--muted); }
.acct--amount .acct__no { color: var(--accent); }
.copy-btn {
  flex: none;
  min-width: 72px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cream);
  font: 700 14px/1 var(--f-text);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.copy-btn:hover { border-color: var(--muted); }
.copy-btn.is-done { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.copy-field { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
.wa-btn { white-space: normal; text-align: center; }
.pay__foot { margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ---------- Portal member ---------- */

.portal { display: flex; flex-direction: column; gap: 18px; }
.portal__title {
  margin: 0 0 6px;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.portal__lead { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.portal__form { margin-top: 0; }
.portal__note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.portal__out { align-self: flex-start; margin-top: 10px; font-size: 13px; }
.lib { display: flex; flex-direction: column; }
.lib__list { margin-top: 10px; }
.lib__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--hair);
}
.lib__item--side { grid-template-columns: 52px minmax(0, 1fr) auto; }
.lib__item:first-child { padding-top: 0; }
.lib__item:last-child { padding-bottom: 0; border-bottom: 0; }
.lib__txt { min-width: 0; }
.lib__sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib__files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lib__file { gap: 7px; min-height: 40px; padding: 0 10px; }
.lib__file svg { flex: none; }
.lib__file-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 13px; line-height: 1; }
.lib__file small { font: 500 10px/1 var(--f-mono); letter-spacing: 0.04em; color: var(--muted); }
.lib__wait { margin-top: 6px; font-size: 13px; color: var(--muted); }
.portal__orders { border-top: 1px solid var(--border); padding-top: 18px; }
.orders { list-style: none; margin: 8px 0 0; padding: 0; }
.orders__item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
}
.orders__item > div:first-child { min-width: 0; }
.orders__ref { font: 500 14px/1.2 var(--f-mono); letter-spacing: 0.06em; color: var(--cream); }
.orders__status { margin-top: 5px; font: 500 10.5px/1.3 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.orders__item.is-pending .orders__status { color: var(--accent); }
.orders__item.is-paid .orders__status { color: var(--sale); }
.orders__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.orders__total { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.portal .help__contact { margin-top: 0; }
.pay, .portal { animation: msg-in 0.3s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .pv[data-state="loading"] .pv__prog { animation: none; stroke-dasharray: 60 40; }
  .post.will-reveal { opacity: 1; transform: none; }
}

@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(0.97); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(6px) scale(0.98); } }

/* A playing preview remains available inside the modal top layer. */
.sheet > .player{position:relative;flex:none;left:auto;right:auto;bottom:auto;z-index:2;width:100%;animation:none}
.sheet > .player .player__in{width:100%;padding-left:var(--gutter);padding-right:var(--gutter)}
.sheet--player .sheet__scroll{padding-bottom:20px}
.player-keyboard .player{display:none!important}
.sheet--keyboard .sheet__scroll{padding-bottom:24px}

.invite-listen{display:flex;align-items:center;gap:16px;padding-block:16px;border-bottom:1px solid var(--border)}.invite-listen p{flex:1;font-size:13px;color:var(--muted)}.invite-listen .btn{flex-shrink:0;min-height:44px}.invite-listen[hidden]{display:none}@media(max-width:480px){.invite-listen{gap:10px}.invite-listen p{font-size:12px}.invite-listen .btn{padding-inline:12px;font-size:12px}}

/* Compact Beatport layout: three fixed text rows, facts and actions alongside. */
:root { --player-h: 130px; }
.player__track { display: grid; grid-template-columns: 50px minmax(0, 1fr) 78px auto; gap: 12px; align-items: center; }
.player__art { width: 50px; }
.player__txt { gap: 2px; overflow: hidden; }
.player__title, .player__sub, .player__version {
  display: block; width: 100%; min-width: 0; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal;
}
.player__title { font-size: 14px; line-height: 1.25; }
.player__sub, .player__version { font-size: 12px; line-height: 1.25; color: var(--muted); }
.player__version { color: var(--dim); }
[data-player-scroll] { display: block; width: max-content; min-width: 100%; }
.player__facts { display: flex; flex-direction: column; gap: 2px; font-size: 11px; line-height: 1.25; letter-spacing: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.player__facts > span { overflow: hidden; text-overflow: ellipsis; }
.player__time { white-space: nowrap; }
.player__actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 600px) {
  :root { --player-h: 122px; }
  .player__track { grid-template-columns: 42px minmax(0, 1fr) 66px auto; gap: 7px; }
  .player__art { width: 42px; }
  .player__title { font-size: 12px; }
  .player__sub, .player__version { font-size: 11px; }
  .player__facts { font-size: 10px; }
  .player__actions { gap: 6px; }
  .player__track .mini-cart { width: 30px; height: 34px; }
  .player__buy { height: 34px; padding: 0 8px; font-size: 11px; }
  .player__owned { height: 34px; padding: 0 8px; font-size: 11px; }
}

/* Release banner replaces the repeated artist identity above each artwork. */
.post__head { height: 44px; }
.post__release { flex: 1; display: flex; align-items: center; gap: 14px; margin: 0; font: 500 11px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post__release::after { content: ""; flex: 1; height: 1px; background: var(--hair); }

/* Artist identity stays in the header rather than repeating above the feed. */
.brand .brand__photo { border-radius: 50%; object-fit: cover; border: 1px solid var(--accent); }

/* Cancelled checkout history stays available without crowding current orders. */
.orders-cancelled { margin-top: 10px; border-top: 1px solid var(--hair); }
.orders-cancelled > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; list-style: none; cursor: pointer; font: 500 12.5px/1.35 var(--f-text); color: var(--muted); }
.orders-cancelled > summary::-webkit-details-marker { display: none; }
.orders-cancelled > summary::after { content: ""; flex: none; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-right: 3px; }
.orders-cancelled[open] > summary::after { transform: rotate(225deg); }
.orders-cancelled > .orders { margin-top: 0; }

.orders-cancelled__clear { display: block; min-height: 44px; margin-left: auto; font-size: 12px; color: var(--warn); }

/* ---------- Free claim: follow step in Beli langsung, member code ---------- */

.claim__free { color: var(--accent); font-family: var(--f-mono); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px; }
.line-item__price s { color: var(--dim); font-weight: 500; }
.claim__intro { margin-top: 18px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.claim__intro b { color: var(--cream); }
.claim__title { margin-bottom: 4px; font: 700 18px/1.2 var(--f-display); font-stretch: 85%; color: var(--accent); }
.claim__progress { display: flex; gap: 6px; margin-top: 18px; }
.claim__progress span { flex: 1; height: 3px; border-radius: 2px; background: var(--border); transition: background-color 0.3s; }
.claim__progress span.is-on { background: var(--accent); }
.claim__count { margin-top: 8px; font: 500 10.5px/1.3 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.claim__steps { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.claim-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.claim-step.is-guided { border-color: rgba(216, 220, 123, 0.6); box-shadow: inset 0 0 0 1px rgba(216, 220, 123, 0.14); }
.claim-step.is-done { background: transparent; border-color: var(--border); }
.claim-step.is-shake { animation: shake 0.4s var(--ease-out); border-color: var(--warn); }
.claim-step__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 62px;
  padding: 10px 12px 10px 14px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
}
.claim-step.is-done .claim-step__link { color: var(--muted); pointer-events: none; }
.claim-step__icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; color: var(--cream); }
.claim-step__icon svg { width: 25px; height: 25px; overflow: visible; }
.claim-step.youtube .claim-step__icon { color: #ff4e4e; }
.claim-step.instagram .claim-step__icon { color: #efb9d7; }
.claim-step.is-done .claim-step__icon { filter: grayscale(1); opacity: 0.6; }
.claim-step__name { min-width: 0; overflow-wrap: anywhere; }
/* Done: the invite page's tick box, label under it until the link is opened. */
.claim-step__done {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  border: 0;
  border-left: 1px solid var(--border);
  background: none;
  color: var(--muted);
  font: 500 10.5px/1.3 var(--f-text);
  text-align: center;
  cursor: pointer;
}
.claim-step.is-open .claim-step__done { flex-direction: row; gap: 8px; color: var(--cream); font-size: 12px; font-weight: 700; }
.claim-step.is-done .claim-step__done { flex-direction: row; gap: 8px; color: var(--muted); cursor: default; opacity: 1; }
.claim-step__box {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1px solid #657052;
  border-radius: 6px;
  opacity: 0.4;
  transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
}
.claim-step.is-open .claim-step__box { opacity: 1; border-color: var(--accent); }
.claim-step__done[aria-checked="true"] .claim-step__box { opacity: 1; background: var(--accent); border-color: var(--accent); }
.claim-step.is-done .claim-step__box { background: #919d7d; border-color: #919d7d; opacity: 0.85; }
.claim-step__done[aria-checked="true"] .claim-step__box::after {
  content: "";
  width: 6px;
  height: 11px;
  margin-top: -3px;
  border: solid var(--accent-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
/* The tapping hand: points at the next thing to do, never takes the tap. */
.tutorial-cue {
  position: absolute;
  z-index: 2;
  left: 17px;
  top: calc(50% + 1px);
  width: 29px;
  height: 32px;
  font: 27px/1 "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55));
  transform-origin: 50% 15%;
  animation: follow-tutorial-tap 2s ease-in-out infinite;
}
.claim-step__done .tutorial-cue { left: 13px; }
.claim-step.is-open .claim-step__done .tutorial-cue { left: 17px; }
.tutorial-cue::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 0;
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: follow-tutorial-ring 2s ease-out infinite;
}
@keyframes follow-tutorial-tap { 0%, 50%, 100% { transform: translateY(6px) rotate(-8deg); } 18% { transform: translateY(-3px) rotate(0); } 26% { transform: translateY(-4px) scale(0.86); } 34% { transform: translateY(2px) rotate(-4deg); } }
@keyframes follow-tutorial-ring { 0%, 18%, 47%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.45); } 26% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.7); } 45% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); } }
@media (prefers-reduced-motion: reduce) { .tutorial-cue { animation: none; transform: translateY(2px); } .tutorial-cue::before { display: none; } }
.claim-step.needs-link { border-color: var(--warn); }
.claim-step__hint { grid-column: 1 / -1; margin: 0; padding: 11px 14px; border-top: 1px solid var(--border); background: rgba(216, 220, 123, 0.04); color: var(--warn); font-size: 13px; line-height: 1.45; animation: msg-in 0.25s var(--ease-out); }
.claim .order__cta { margin-top: 20px; }
.claim .summary__note { margin-top: 12px; text-align: center; }

.claim-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(216, 220, 123, 0.12), rgba(216, 220, 123, 0.02));
}
.claim-card__txt { min-width: 0; }
/* Portal: the one order still waiting on the buyer. */
.unpaid { display: grid; gap: 10px; margin-bottom: 18px; padding: 14px; border: 1px solid var(--accent); border-radius: var(--radius); background: linear-gradient(135deg, rgba(216, 220, 123, 0.12), rgba(216, 220, 123, 0.02)); }
.unpaid .claim-card__tag { margin: 0; }
.unpaid__row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.unpaid__titles { min-width: 0; font-size: 13.5px; line-height: 1.35; color: var(--cream); }
.unpaid .orders-cancelled { margin-top: 0; }
.claim-card__tag { margin-bottom: 4px; font: 500 10px/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.claim-card + .empty-cart { padding-top: 8px; }

.claim-win { margin-top: 0; }
.member-card { display: flex; flex-direction: column; gap: 8px; }
.member-card__hello { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.member-card__hello p { font: 800 19px/1.1 var(--f-display); font-stretch: 78%; text-transform: uppercase; overflow-wrap: anywhere; min-width: 0; }
.member-card__hello .textlink { flex: none; font-size: 12.5px; }
.member-card__form .textlink { margin-top: 4px; font-size: 13px; }
.member-card__code { gap: 8px; padding: 10px 10px 10px 12px; }
.member-card__code .acct__bank { font-size: 9.5px; letter-spacing: 0.12em; }
.member-card__code .acct__no { margin-top: 4px; color: var(--accent); font-size: clamp(14px, 4.4vw, 17px); letter-spacing: 0.03em; overflow-wrap: normal; white-space: nowrap; }
.member-card__code .copy-btn { min-width: 0; min-height: 40px; padding: 0 12px; font-size: 13px; }
.member-card__wa { display: grid; place-items: center; width: 40px; padding: 0 !important; color: #5fd47c; text-decoration: none; }
.lib__free { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 12px; line-height: 1.3; color: var(--muted); }
.lib__free svg { flex: none; width: 13px; height: 13px; }
.lib__free .countdown { font-size: 12px; }
.lib__item .btn { margin-top: 8px; }
.lib__stack { display: grid; gap: 6px; }
.lib__stack > .lib__file { margin-top: 0; width: 100%; justify-content: flex-start; }
.lib__files > .lib__file { margin-top: 0; }
/* The offers sit on their own lighter shelf, apart from what the member owns. */
.member-offer { margin-inline: -6px; padding: 14px 10px 10px; border-radius: 14px; background: var(--panel-2); }
.member-offer__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.member-offer .portal__title { margin: 0; min-width: 0; font-size: 19px; }
.member-offer__lead { flex: none; display: flex; align-items: center; gap: 5px; padding: 5px 9px 5px 7px; border: 1px solid color-mix(in srgb, var(--sale) 45%, transparent); border-radius: 999px; background: var(--sale-bg); color: var(--sale); line-height: 1; }
.member-offer__lead svg { flex: none; width: 13px; height: 13px; }
.member-offer__lead .countdown { font-size: 12.5px; font-weight: 600; }
.member-offer__lead.is-urgent { border-color: color-mix(in srgb, var(--warn) 55%, transparent); color: var(--warn); }
/* Section labels below the greeting stay quiet; only the offer gets a headline. */
.portal__label { margin: 0; font: 500 10.5px/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
/* The member code reads as a pass to keep. */
.member-card__code { background: color-mix(in srgb, var(--accent) 6%, var(--panel)); border-color: color-mix(in srgb, var(--accent) 22%, var(--border)); box-shadow: inset 3px 0 0 var(--accent); }
/* Artwork-first cards. Member value has a label, never a discount sticker. */
span.shop-card__art{cursor:default}.shop-card__art .art{display:block;border-radius:0;box-shadow:none;aspect-ratio:1}.shop-card__art img{object-fit:cover;aspect-ratio:1}
button.shop-card__title{cursor:pointer}button.shop-card__title:hover{color:var(--accent-hi)}
.actions--owned { grid-template-columns: 1fr; }
/* Already owned: one light row instead of a full button. */
.owned-pill { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--sale-bg); color: var(--accent); font: 600 14px/1.2 var(--f-text); text-align: left; cursor: pointer; }
.owned-pill svg { flex: none; width: 16px; height: 16px; }
.owned-pill__go { margin-left: auto; color: var(--cream); font-weight: 500; font-size: 13px; white-space: nowrap; }
.owned-pill:hover .owned-pill__go { text-decoration: underline; text-underline-offset: 3px; }

/* Discoverable playback without a bright halo or decorative badge. */
.member-excl__head{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}.member-excl__head .portal__label{color:var(--cream);font-size:11px;letter-spacing:.12em}.member-excl__lead{font-size:12px;line-height:1.5;color:var(--muted)}
@keyframes vault-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}

/* Keep account exit quiet and require a code-saving confirmation. */
.portal .textlink.portal__out{font:500 11px/1.4 var(--f-text);color:#f09b95;min-height:36px;margin-top:5px;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;text-decoration-color:currentColor}
.member-exit__actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.member-exit .acct__no{font-size:clamp(13px,3.7vw,18px);overflow-wrap:anywhere}.lib__receipts{display:flex;flex-direction:column;align-items:flex-start;margin-top:2px}.lib__receipts .textlink{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 11px/1.4 var(--f-text);color:var(--muted);padding:4px 0}.orders__status{max-width:100%;overflow-wrap:anywhere}

.receipt-download-status{position:fixed;left:16px;right:16px;bottom:24px;z-index:99;max-width:440px;margin:auto;padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--cream);font:500 13px/1.5 var(--f-text);box-shadow:0 8px 30px #0004}.receipt-download-status[hidden]{display:none}a[data-receipt][aria-busy=true]{opacity:.6;pointer-events:none}

/* Vault refinement: shared hierarchy, library controls and restrained accent. */
.price__amt,.price--lg .price__amt{font:600 22px/1.3 var(--f-text);letter-spacing:-.035em;font-variant-numeric:tabular-nums;color:var(--cream)}
.price--lg .price__amt{font-size:24px}.price__label{font:400 9px/1.3 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.sale-tag,.price__off,.trk__off{display:none}.sale-bar{background:none!important;border:0!important;padding:10px 0!important;color:var(--muted)!important;font-size:11px!important;box-shadow:none!important}.sale-bar__txt time{display:inline;color:inherit;font:inherit}.sale-bar svg{display:none}
.portal{gap:24px}.portal__title{font-size:20px}.portal__label{font-size:10px;letter-spacing:.14em}.member-card{gap:12px}.member-card__hello p{font:600 20px/1.25 var(--f-text);text-transform:none;letter-spacing:-.025em}.member-card__hello .textlink{font-size:11px;color:var(--muted)}
.member-card__code{background:#20241f;border:1px solid var(--hair);border-radius:8px;box-shadow:none;padding:12px}.member-card__code .acct__no{color:var(--cream);font-size:clamp(12px,3.8vw,15px);letter-spacing:.02em}.member-card__code .acct__bank{font-size:8px;letter-spacing:.12em}.member-card__code .copy-btn{font-size:11px;min-height:44px;border-color:var(--hair);background:transparent;padding-inline:10px}.member-card__wa{color:var(--muted)}
.member-offer{margin-inline:0;padding:0;background:transparent;border-radius:0}.member-offer__head{display:block;margin-bottom:16px}.member-offer .portal__title{font:500 11px/1.5 var(--f-mono);letter-spacing:.1em;text-transform:uppercase}.member-offer__lead{display:block;max-width:100%;margin-top:5px;padding:0;background:none;border:0;border-radius:0;color:var(--muted);font:400 10px/1.6 var(--f-text)}.member-offer__lead time{font:inherit}.member-offer__lead svg{display:none}
.lib__item{grid-template-columns:52px minmax(0,1fr);gap:12px;padding:14px 0}.lib__item--side{grid-template-columns:52px minmax(0,1fr) 80px}.lib__item .art--xs{width:52px;height:52px;border-radius:5px}.lib__item .line-item__title{font:600 13px/1.4 var(--f-text);letter-spacing:-.01em;overflow-wrap:anywhere}.lib__sub{font-size:10.5px;margin-top:3px;color:var(--dim)}
.lib__stack{gap:5px}.lib__file{min-height:44px!important;padding:6px 9px!important;gap:7px;border:1px solid var(--hair);border-radius:6px;background:#20241f;box-shadow:none;color:var(--cream)}.lib__file svg{width:14px;height:14px;color:var(--muted)}.lib__file-txt{font:500 11px/1.1 var(--f-text);letter-spacing:.05em;gap:4px}.lib__file small{font:400 8px/1 var(--f-mono);letter-spacing:0;color:var(--dim)}
.lib__receipts{margin-top:7px;gap:1px}.lib__receipts .textlink{display:flex;align-items:baseline;gap:8px;max-width:100%;font:400 10px/1.5 var(--f-text);padding:3px 0;min-height:24px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--border)}.lib__receipt-ref{font:400 8px/1.5 var(--f-mono);color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.lib__free{font-size:10px;line-height:1.5}.lib__free .countdown{font:inherit;color:inherit}
.btn{font-weight:600;border-radius:6px}.btn--primary{background:#d1d68a}.btn--primary:hover{background:#dee2a5}.btn:active{transform:translateY(1px)}
.pv{background:rgba(17,19,17,.58);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 4px 14px #0003}.pv--lg{--s:64px}.pv--md{--s:56px}.pv__icon{width:38%;height:38%}.pv:hover{transform:none;background:rgba(17,19,17,.74)}.pv:active{transform:scale(.98)}.pv-caption.is-nudge{animation:none}
@media(min-width:720px){.pv--lg{--s:72px}.pv--md{--s:64px}}
.promo__row.is-shake,.claim-step.is-shake{animation:msg-in .2s ease-out}.cart-btn.is-bump,.cart-badge.is-pop,.cart-bar__total.is-tick,.plus-cart.is-just-added,.mini-cart.is-just-added,.btn.is-just-added,.bonus-card.is-flash{animation:msg-in .22s ease-out}
.tutorial-cue{animation:msg-in .35s ease-out;filter:none}.tutorial-cue::before{content:none;animation:none}
.bonus-tag{background:rgba(21,24,20,.86);color:var(--cream);box-shadow:none;font-weight:500}.bonus-strip,.bonus-card,.bonus-card__head{border-color:var(--hair);border-style:solid;background:transparent}.bonus-card__title{font:600 15px/1.4 var(--f-text);text-transform:none;letter-spacing:-.01em}
@media(max-width:359px){.lib__item--side{grid-template-columns:40px minmax(0,1fr) 76px;gap:9px}.lib__item .art--xs{width:40px;height:40px}.lib__item .line-item__title{font-size:12px}.lib__receipt-ref{display:none}.member-card__code{padding:10px;gap:5px}.member-card__code .copy-btn{padding-inline:8px}.member-card__wa{width:36px}}
@media(prefers-reduced-motion:reduce){[data-total],.bp-row,.free-win{animation:none!important;transition:none!important;filter:none!important;transform:none!important}}

/* ---------- Beatport-style layer: flat charcoal, numbered rows, split price button ---------- */

:root {
  --ink: #1c1c1c;
  --ink-2: #151515;
  --panel: #282828;
  --panel-2: #303030;
  --cream: #f2f2f2;
  --muted: #a6a6a6;
  --dim: #7a7a7a;
  --border: #3b3b3b;
  --hair: rgba(255, 255, 255, 0.08);
  --sale-bg: rgba(216, 220, 123, 0.1);
  --f-display: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-text: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius: 4px;
}
body { font-size: 15px; letter-spacing: -0.005em; }

/* Header: a solid bar, the member entry as the one filled button (Beatport's Log In). */
.site-head { background: #141414; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: #262626; }
.brand__word { font: 700 15px/1 var(--f-text); font-stretch: normal; letter-spacing: 0.04em; }
.brand .brand__photo { border: 0; }
.head-link--member { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-right: 6px; padding: 0 12px; border-radius: 4px; background: var(--accent); color: var(--accent-ink); font: 600 13px/1 var(--f-text); }
.head-link--member:hover { background: var(--accent-hi); color: var(--accent-ink); }
.head-link--member[hidden] { display: none; }
.head-link--member svg { width: 15px; height: 15px; }

/* Featured release: Beatport's track page. */
.feed { padding-top: 8px; }
.post__head { height: 40px; }
.post__release { font: 500 13px/1.2 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--muted); }
.post__release::after { content: none; }
.post__media .art { border-radius: 0; }
@media (min-width: 600px) { .post__media .art { border-radius: var(--radius); box-shadow: none; } }
.post__body { padding-top: 16px; }
.post__info { display: block; }
.post__title { line-height: 1.15; }
.title-btn { font: 600 26px/1.15 var(--f-text); font-stretch: normal; letter-spacing: -0.02em; text-transform: none; }
.title-btn:hover { color: var(--cream); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post__ver { font: 300 26px/1.15 var(--f-text); letter-spacing: -0.02em; color: #d9d9d9; }
.post__sub { margin-top: 8px; font-size: 14px; color: var(--cream); }
.post__sub span { color: var(--muted); }
.post .price { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 14px; padding: 0; text-align: left; }
.price__was { font: 400 15px/1.3 var(--f-text); color: var(--dim); text-decoration-thickness: 1px; font-variant-numeric: tabular-nums; }
.price__amt, .price--lg .price__amt { font: 600 22px/1.2 var(--f-text); letter-spacing: -0.02em; }
.price__label { font: 500 11px/1.3 var(--f-text); letter-spacing: 0.02em; text-transform: none; color: var(--muted); }
.actions { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 8px; margin-top: 14px; }
.btn { border-radius: 4px; font: 600 14px/1.1 var(--f-text); letter-spacing: -0.005em; }
.btn--ghost { border-color: transparent; background: var(--panel-2); }
.btn--ghost:hover { border-color: transparent; background: #3a3a3a; }
.btn--ghost.is-in-cart { border-color: transparent; background: var(--sale-bg); }
.btn--lg { font-size: 15px; }
.post .meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hair); }
.post .meta > div { display: block; }
.post .meta dt { font: 400 12px/1.4 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--muted); }
.post .meta dd { margin: 2px 0 0; font: 500 14px/1.35 var(--f-text); color: var(--cream); }
.post__more { margin-top: 14px; }
.owned-pill { border-radius: 4px; }

/* Section headings like "Beatport Top 10". */
.section-title { margin: 0; font: 600 20px/1.2 var(--f-text); letter-spacing: -0.02em; color: var(--cream); }
.section-title span { margin-left: 4px; font-weight: 400; color: var(--muted); }
.feed-more { margin-top: 40px; }

/* Numbered track rows. */
.bp-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.bp-row { position: relative; display: grid; grid-template-columns: 18px 64px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 4px; background: var(--panel); transition: background-color 0.2s; }
.bp-row.is-current { background: var(--panel-2); box-shadow: inset 2px 0 0 var(--accent); }
.bp-row.is-dim { opacity: 0.6; }
.bp-row__n { font: 400 15px/1 var(--f-text); font-variant-numeric: tabular-nums; text-align: center; color: var(--muted); }
.bp-row__media { position: relative; width: 64px; height: 64px; align-self: start; }
.bp-row__art { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
span.bp-row__art { cursor: default; }
.art--row { display: block; width: 64px; height: 64px; border-radius: 2px; overflow: hidden; }
.art--row img { width: 100%; height: 100%; object-fit: cover; }
.art--row .bonus-tag { display: none; }
.bp-row .mini-pv--row { border-radius: 2px; background: rgba(0, 0, 0, 0.28); opacity: 0.92; }
.bp-row .mini-pv--row svg { width: 40%; height: 40%; }
.bp-row__txt { min-width: 0; }
.bp-row__title { display: block; max-width: 100%; margin: 0; padding: 0; border: 0; background: none; color: #e6e6e6; text-align: left; font: 400 14px/1.35 var(--f-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
button.bp-row__title { cursor: pointer; }
button.bp-row__title:hover b { text-decoration: underline; text-underline-offset: 3px; }
.bp-row__title b { font-weight: 600; }
.bp-row__title span { color: #cfcfcf; }
.bp-row__artists { margin-top: 1px; font-size: 13px; line-height: 1.35; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-row__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 8px; }
.bp-row__was { font: 400 12.5px/1 var(--f-text); color: var(--dim); font-variant-numeric: tabular-nums; text-decoration-thickness: 1px; }
.bp-row__label { font: 500 11px/1.2 var(--f-text); color: var(--muted); }
.bp-row__price { font: 600 14px/1 var(--f-text); font-variant-numeric: tabular-nums; }
.bp-row__note { margin-top: 6px; font-size: 12px; color: var(--muted); }
.bp-row.is-arrived { animation: vault-arrive 360ms cubic-bezier(.2, .7, .2, 1) both; }

/* Split price button: price buys now, the bag adds to the cart. */
.price-btn { display: inline-flex; height: 36px; border: 1.5px solid rgba(216, 220, 123, 0.75); border-radius: 4px; background: rgba(216, 220, 123, 0.09); overflow: hidden; }
.price-btn button { display: grid; place-items: center; margin: 0; padding: 0; border: 0; background: none; color: var(--cream); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color 0.2s, color 0.2s; }
.price-btn__buy { padding: 0 11px !important; font: 600 13px/1 var(--f-text); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.price-btn__cart { width: 36px; border-left: 1.5px solid rgba(216, 220, 123, 0.75) !important; color: var(--accent) !important; }
.price-btn__cart svg { width: 17px; height: 17px; }
.price-btn button:hover { background: rgba(216, 220, 123, 0.16); }
.price-btn button:active { background: rgba(216, 220, 123, 0.24); }
.price-btn__cart.is-in-cart { background: var(--accent); color: var(--accent-ink) !important; }
.owned-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; margin-top: 8px; padding: 0 10px; border: 0; border-radius: 4px; background: var(--sale-bg); color: var(--accent); font: 500 12px/1 var(--f-text); cursor: pointer; }
.owned-chip svg { width: 14px; height: 14px; }

/* Discount deadline (admin setting): "Waktu terbatas" + date, or a live timer. */
.promo-end, .sale-bar.promo-end { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 10px 0 0; padding: 0 !important; font: 400 12.5px/1.4 var(--f-text) !important; color: var(--muted) !important; }
.promo-end > svg, .sale-bar.promo-end > svg { display: block; flex: none; width: 14px; height: 14px; color: var(--accent); }
.promo-end__tag { padding: 3px 6px; border-radius: 3px; background: var(--sale-bg); color: var(--accent); font: 600 10.5px/1 var(--f-text); letter-spacing: 0.06em; text-transform: uppercase; }
.promo-end time { font: inherit; color: var(--cream); }
.promo-end .countdown { font: 500 13px/1 var(--f-mono); letter-spacing: 0; color: var(--accent); }
.bp-row__end { margin-top: 6px; font-size: 11.5px !important; }
.bp-row__end .promo-end__tag { font-size: 9.5px; padding: 2px 5px; }
.line-item__sale.promo-end { margin-top: 4px; font-size: 11.5px !important; }

/* Portal member: owned tracks as flat rows, vault and offers as charts. */
.member-excl__head, .member-offer__head { display: block; margin-bottom: 0; }
.member-excl__lead { margin-top: 4px; font-size: 13px; color: var(--muted); }
.member-offer .member-offer__lead { margin-top: 6px; }
.portal__label { font: 600 20px/1.2 var(--f-text); letter-spacing: -0.02em; text-transform: none; color: var(--cream); }
.lib__list { display: grid; gap: 6px; }
.lib__item, .lib__item:first-child, .lib__item:last-child { padding: 10px; border: 0; border-radius: 4px; background: var(--panel); }
.lib__item .art--xs { border-radius: 2px; }
.lib__file { border: 0 !important; border-radius: 4px !important; background: var(--panel-2) !important; }
.lib__file:hover { background: #3a3a3a !important; }

/* Sheets, inputs and summaries follow the flat panels. */
.sheet { background: var(--ink); }
.sheet__top { background: #141414; }
.promo__input, .acct, .notice, .claim-step, .member-card__code { border-radius: 4px; }
.mini-cart, .copy-btn { border-radius: 4px; }

@media (max-width: 359px) {
  .bp-row { grid-template-columns: 56px minmax(0, 1fr); gap: 10px; padding-left: 8px; }
  .bp-row__n { display: none; }
  .bp-row__media, .art--row { width: 56px; height: 56px; }
  .price-btn__buy { padding: 0 9px !important; font-size: 12.5px; }
  .title-btn, .post__ver { font-size: 23px; }
}
@media (min-width: 600px) {
  .bp-row { grid-template-columns: 22px 72px minmax(0, 1fr); padding: 10px 14px 10px 10px; }
  .bp-row__media, .art--row { width: 72px; height: 72px; }
  .title-btn, .post__ver { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .bp-row.is-arrived { animation: none; } }

/* Labels in plain sentence case (Beatport keeps caps for nothing); codes and timers keep the mono face. */
.eyebrow, .badge, .feed-end, .pv-caption, .sheet__title, .tags li, .detail__note, .summary__note, .notice__tag, .bonus-list__type, .bonus-card__until, .pay__label, .acct__bank, .orders__status, .claim__count, .claim-card__tag, .portal__label, .price__note, .player__facts, .demo-strip, .meta dt, .browse__count { font-family: var(--f-text); letter-spacing: 0.01em; text-transform: none; }
.eyebrow, .pay__label, .acct__bank, .claim__count, .orders__status, .meta dt { font-size: 12px; font-weight: 500; }
.notice__tag, .claim-card__tag { font-size: 12px; font-weight: 600; }
.sheet__title { font-size: 15px; font-weight: 600; color: var(--cream); }
.feed-end { font-size: 13px; color: var(--muted); }
.summary__note { font-size: 12px; }
.badge { font-size: 10.5px; font-weight: 600; }
.actions--owned { grid-template-columns: 1fr; }
.bp-row__was, .price__was { color: #8c8c8c; }
.bp-row__end { gap: 2px 6px; }
.bp-row__end .promo-end__tag { padding: 0; background: none; font-size: 10.5px; letter-spacing: 0.04em; }
.lib__free { display: block; font-size: 11.5px; line-height: 1.45; }
.lib__free time { color: var(--cream); }
.brand__word { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Help lives in the footer (Bantuan), so the header keeps Member in full. */
@media (max-width: 359px) { .head-link--member svg { display: none; } .head-link--member { padding: 0 10px; } }
.price-btn { height: 42px; }
.price-btn__cart { width: 42px; }
.owned-chip { height: 40px; }

/* Revision: clear artwork, version on its own line, old price above the new one, slimmer price button. */
.bp-row .mini-pv--row { inset: auto; left: 50%; top: 50%; width: 30px; height: 30px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: none; backdrop-filter: none; opacity: 1; }
.bp-row .mini-pv--row:active { transform: translate(-50%, -50%) scale(0.92); }
.bp-row .mini-pv--row svg { width: 60%; height: 60%; }
.bp-row .mini-pv--row[data-state="playing"], .bp-row .mini-pv--row[data-state="loading"] { background: var(--accent); color: var(--accent-ink); }
.bp-row__title b, .bp-row__title span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-row__title span { margin-top: 1px; font-size: 13px; color: #d0d0d0; }
.bp-row__buy { display: block; margin-top: 8px; }
.bp-row__deal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.bp-row__was { display: block; margin-bottom: 3px; font-size: 13px; line-height: 1.2; color: #a6a6a6; text-decoration-color: rgba(166, 166, 166, 0.9); }
.price-btn { height: 32px; }
.price-btn__buy { padding: 0 10px !important; font-size: 13px; }
.price-btn__cart { width: 34px; }
.price-btn__cart svg { width: 16px; height: 16px; }
.owned-chip { height: 32px; }
.post__ver { margin-top: 2px; font: 300 22px/1.2 var(--f-text); letter-spacing: -0.015em; color: #d9d9d9; }
.post .price { flex-direction: column; align-items: flex-start; gap: 2px; }
.price__was { font-size: 15px; color: #a6a6a6; }
.line-item__price s { display: block; margin-bottom: 2px; font-size: 13px; color: #a6a6a6; }
@media (max-width: 359px) { .post__ver { font-size: 19px; } }
@media (min-width: 600px) { .post__ver { font-size: 24px; } }
/* The featured release in the catalogue: a label strip on the artwork and a lime edge. */
.bp-row.is-featured { box-shadow: inset 2px 0 0 var(--accent); }
.bp-row__flag { position: absolute; left: 0; right: 0; top: 0; z-index: 1; padding: 2px 0; border-radius: 2px 2px 0 0; background: var(--accent); color: var(--accent-ink); font: 600 9.5px/1.2 var(--f-text); letter-spacing: 0.02em; text-align: center; pointer-events: none; }
/* Compact discount: old price, saving and end date share one line above the price button. */
.bp-row__was { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-bottom: 4px; text-decoration: none; }
.bp-row__was s { color: #a6a6a6; text-decoration-color: rgba(166, 166, 166, 0.9); }
.bp-row__off { font: 600 12px/1.2 var(--f-text); color: var(--accent); font-variant-numeric: tabular-nums; }
.promo-end--compact { display: inline-flex !important; align-items: baseline; gap: 4px; margin: 0; font: 400 12px/1.2 var(--f-text) !important; color: var(--muted) !important; }
.promo-end--compact::before { content: "·"; margin-right: 4px; color: var(--dim); }
.promo-end--compact > svg { align-self: center; width: 12px; height: 12px; }
.promo-end--compact .countdown { font-size: 12px; }
.promo-end--compact.promo-end--countdown { flex-basis: 100%; }
.promo-end--compact.promo-end--countdown::before { content: none; }
/* bp3 rows: title and version share one line (the version as a quiet chip),
   and the discount line is always there, empty when there is none, so every
   row is the same height and the price buttons line up. */
.bp-row__title { overflow: hidden; text-overflow: clip; }
.bp-row__title .bp-row__line { display: inline-flex; align-items: center; gap: 7px; overflow: visible; margin: 0; font-size: 14px; color: inherit; white-space: nowrap; will-change: transform; }
.bp-row__title .bp-row__line b { display: inline; overflow: visible; }
.bp-row__title .bp-row__ver { display: inline-block; flex: none; overflow: visible; margin: 0; padding: 2px 6px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 3px; background: rgba(255, 255, 255, 0.06); font: 400 11.5px/1.2 var(--f-text); color: #c4c4c4; }
.bp-row__was { flex-wrap: nowrap; height: 17px; margin-bottom: 5px; overflow: hidden; white-space: nowrap; }
.bp-row__buy { margin-top: 7px; }
.promo-end--compact.promo-end--countdown { flex-basis: auto; }
.promo-end--compact.promo-end--countdown::before { content: "·"; }
.bp-row { grid-template-columns: 18px 80px minmax(0, 1fr); }
.bp-row__media { align-self: center; }
.bp-row__media, .art--row { width: 80px; height: 80px; }
@media (max-width: 359px) { .bp-row { grid-template-columns: 64px minmax(0, 1fr); } .bp-row__media, .art--row { width: 64px; height: 64px; } }
@media (min-width: 600px) { .bp-row { grid-template-columns: 22px 88px minmax(0, 1fr); } .bp-row__media, .art--row { width: 88px; height: 88px; } }
/* On the narrowest phones a running timer needs the room more than the %. */
@media (max-width: 359px) { .bp-row__was:has(.promo-end--countdown) .bp-row__off { display: none; } .bp-row__was { gap: 2px 6px; } }
/* The button's place in rows with nothing to buy: owned chip or a short note, same height. */
.bp-row__buy .owned-chip { height: 32px; margin: 0; }
.bp-row__deal.bp-row__note { display: flex; align-items: center; height: 32px; margin: 0; font-size: 12.5px; color: var(--muted); }
.bp-row__was.bp-row__label { align-items: center; font: 500 12px/17px var(--f-text); color: var(--muted); }

/* ---------- bp4: calm surfaces (cart, payment, member portal), after Beatport ---------- */
/* Notices are plain text: no tinted box, no coloured stripe. */
.notice { margin-top: 16px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: 13px; line-height: 1.5; color: var(--muted); }
.notice__tag { display: block; margin-bottom: 2px; font: 600 13px/1.4 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--cream); }
.promo-end__tag { padding: 0; background: none; font-size: 11px; letter-spacing: 0.04em; }

/* Cart rows: panels like the store rows, price on the right. */
.order .line-items, .end .line-items { display: grid; gap: 6px; }
.line-item, .line-item:first-child { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border: 0; border-radius: 4px; background: var(--panel); }
.line-item .art--xs { width: 64px; height: 64px; border-radius: 2px; }
.line-item__title, .lib__item .line-item__title { margin: 0; font: 400 14px/1.35 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-item__title b { font-weight: 600; }
.line-item__ver { font-weight: 300; color: #cfcfcf; }
.line-item__title .badge { margin-left: 6px; vertical-align: 1px; }
.line-item__sub { margin-top: 2px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-item__bonus { color: var(--muted); }
.line-item__bonus svg { color: var(--accent); }
.line-item__end { margin-top: 3px; font-size: 12px; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.line-item__end .promo-end--compact::before { content: none; }
.line-item__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line-item__price { margin: 0; text-align: right; font: 600 14.5px/1.2 var(--f-text); font-variant-numeric: tabular-nums; color: var(--cream); }
.line-item__price s { display: block; margin: 0 0 2px; font-size: 12px; font-weight: 400; color: #a6a6a6; }
.line-item__remove { position: static; min-height: 0; padding: 0; border: 0; background: none; font: 400 12px/1.2 var(--f-text); text-decoration: none; color: var(--muted); }
.line-item__remove:hover { color: var(--cream); text-decoration: underline; }

/* Totals: labels right-aligned beside their values, as on Beatport's cart. */
.summary { display: grid; gap: 14px; margin-top: 22px; padding-top: 0; border-top: 0; }
.summary .sum-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 16px; padding: 0; border: 0; font-size: 14px; }
.summary .sum-row > span:first-child { text-align: right; color: var(--muted); }
.summary .sum-row > span:last-child { justify-self: end; text-align: right; font-weight: 500; color: var(--cream); }
.summary .sum-row--sale > span:last-child, .summary .sum-row--promo > span:last-child { color: var(--cream); }
.summary .sum-row--bonus > span:last-child { color: var(--muted); }
.summary .sum-row--total { margin-top: 8px; align-items: baseline; }
.summary .sum-row--total > span:first-child { font: 400 18px/1.2 var(--f-text); color: var(--muted); }
.summary .sum-row--total > span:last-child { font: 600 24px/1.1 var(--f-text); letter-spacing: -0.01em; color: var(--cream); }
.summary .sum-row--total .total-was { font-size: 13px; font-weight: 400; }
.summary__note { margin: 0; font: 400 12px/1.45 var(--f-text); letter-spacing: 0; text-transform: none; text-align: right; color: var(--dim); }
.promo__add { min-height: 38px; padding: 0 14px; border: 1px solid var(--accent); border-radius: 4px; background: none; color: var(--accent); font: 500 13.5px/1 var(--f-text); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color 0.2s; }
.promo__add:hover { background: rgba(216, 220, 123, 0.08); }
.promo--open { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 8px 16px; margin: 0; }
.promo--open .promo__label { margin: 0; text-align: right; font: 400 14px/1.3 var(--f-text); color: var(--muted); }
.promo--open .promo__row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.promo--open .promo__input { flex: 1; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid #bdbdbd; border-radius: 4px; background: #f4f4f4; color: #141414; font: 500 14px/1 var(--f-mono); letter-spacing: 0.04em; }
.promo--open .promo__input::placeholder { color: #8a8a8a; }
.promo--open .promo__input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(216, 220, 123, 0.35); }
.promo--open .promo__input[readonly] { background: var(--panel); border-color: var(--panel); color: var(--cream); }
.promo--open .btn--sm { flex: none; min-height: 38px; padding: 0 12px; }
.promo__close { display: grid; place-items: center; flex: none; width: 30px; height: 38px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.promo__close:hover { color: var(--cream); }
.promo--open .promo__msg { grid-column: 1 / -1; margin: 0; text-align: right; font-size: 12.5px; }
/* Phones: the open field takes the full width, so a whole code fits at 16px. */
@media (max-width: 480px) { .promo--open { grid-template-columns: 1fr; gap: 8px; } .promo--open .promo__label { text-align: left; } .promo--open .promo__input { letter-spacing: 0.02em; } }

/* One calm call to action, right-aligned like Beatport's Checkout. */
.order__cta { display: flex; justify-content: flex-end; margin-top: 22px; }
.order__cta .btn { width: auto; min-width: 62%; min-height: 48px; border-radius: 4px; font: 600 15px/1 var(--f-text); letter-spacing: 0; text-transform: none; }
.free-win { border-top: 0; padding-top: 0; }

/* Payment (manual transfer): white numbers, quiet steps, flat boxes. */
.pay__head { padding: 18px 0 12px; border: 0; }
.pay__label, .acct__bank { font: 400 12px/1.3 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--muted); }
.pay__ref { margin-top: 4px; font: 500 16px/1.2 var(--f-mono); letter-spacing: 0.06em; }
.pay__amount { margin-top: 2px; font: 600 26px/1.1 var(--f-text); letter-spacing: -0.01em; color: var(--cream); }
.pay__items { padding: 10px 0 0; border-top: 1px solid var(--hair); }
.pay__items .pay__promo span:last-child { color: var(--cream); }
.steps { margin-top: 26px; }
.step__n { border: 1px solid #4a4a4a; background: none; color: var(--muted); font: 500 12px/1 var(--f-text); box-shadow: none; }
.step:not(:last-child)::before { background: #3a3a3a; }
.step__title { font: 600 15px/1.3 var(--f-text); }
.acct, .acct + .acct { border: 0; background: var(--panel); box-shadow: none; }
.acct__no { font: 500 18px/1.2 var(--f-mono); letter-spacing: 0.04em; color: var(--cream); }
.acct--amount .acct__no { color: var(--cream); }
.copy-btn { min-height: 34px; padding: 0 12px; border: 1px solid #4a4a4a; border-radius: 4px; background: none; color: var(--cream); font: 500 12.5px/1 var(--f-text); }
.copy-btn:hover { border-color: #6a6a6a; }
.wa-btn { min-height: 48px; border-radius: 4px; font: 600 14.5px/1 var(--f-text); letter-spacing: 0; text-transform: none; }
.step .btn--ghost, .portal .btn--ghost { border-radius: 4px; text-transform: none; letter-spacing: 0; }
.pay__foot { color: var(--dim); font-size: 12.5px; }

/* Member portal: plain headings, flat panels, no coloured accents. */
.portal__title, .portal .section-title, .portal__label { font: 600 20px/1.2 var(--f-text); letter-spacing: -0.02em; text-transform: none; font-stretch: normal; color: var(--cream); }
.member-card__hello p { font: 600 20px/1.25 var(--f-text); text-transform: none; }
.member-card__code { padding: 12px; border: 0; border-radius: 4px; background: var(--panel); box-shadow: none; }
.member-card__code .acct__bank { font-size: 12px; letter-spacing: 0; }
.member-card__code .acct__no { color: var(--cream); }
.member-card__wa { color: var(--cream); }
.portal__orders { padding-top: 22px; border-top: 1px solid var(--hair); }
.orders { display: grid; gap: 6px; margin-top: 12px; }
.orders__item { padding: 12px; border: 0; border-radius: 4px; background: var(--panel); }
.orders__ref { font: 500 13.5px/1.2 var(--f-mono); letter-spacing: 0.04em; }
.orders__status, .orders__item.is-pending .orders__status, .orders__item.is-paid .orders__status { margin-top: 4px; font: 400 12px/1.35 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--muted); }
.orders__item.is-pending .orders__status { color: var(--cream); }
.orders__total { font: 600 14px/1.2 var(--f-text); }
.orders__side .btn { min-height: 34px; padding: 0 12px; font-size: 13px; }
.portal .textlink.portal__out { font: 400 12.5px/1.4 var(--f-text); color: var(--muted); }
.lib__free time { color: var(--cream); }
.orders__item .line-item__sub { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.orders__item { display: flex; justify-content: space-between; gap: 12px; min-width: 0; }

/* bp5 payment page: compact, one bank card, member-aware. */
.pay { gap: 0; }
.pay__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 4px 0 10px; }
.pay__detail { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.pay__detail > summary { display: flex; align-items: center; justify-content: space-between; min-height: 40px; list-style: none; cursor: pointer; font-size: 13px; color: var(--muted); }
.pay__detail > summary::-webkit-details-marker { display: none; }
.pay__detail > summary::after { content: ""; width: 6px; height: 6px; margin-right: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.2s; }
.pay__detail[open] > summary::after { transform: rotate(-135deg); }
.pay__detail .pay__items { padding: 0 0 10px; border: 0; }
.pay-member { margin: 14px 0 0; padding: 12px; border-radius: 4px; background: var(--panel); }
.pay-member__title { display: block; margin: 0; font: 600 14px/1.35 var(--f-text); color: var(--cream); }
.pay-member__lead { margin: 3px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.pay-member .promo__row { display: flex; gap: 6px; margin-top: 10px; }
.pay-member .promo__input { flex: 1; min-width: 0; height: 38px; padding: 0 10px; border-radius: 4px; font: 500 13.5px/1 var(--f-mono); letter-spacing: 0.04em; }
.pay-member .btn--sm { min-height: 38px; padding: 0 14px; border-radius: 4px; }
.pay-member .promo__msg { margin-top: 6px; font-size: 12.5px; }
.pay-member.is-on { display: flex; align-items: flex-start; gap: 10px; }
.pay-member__mark, .pay-done__mark { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.pay-member__mark svg, .pay-done__mark svg { width: 14px; height: 14px; }
.pay-member__code { font: 500 12.5px/1 var(--f-mono); letter-spacing: 0.03em; color: var(--cream); }
.pay-wait { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.pay-wait__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pay-pulse 1.4s ease-in-out infinite; }
@keyframes pay-pulse { 50% { opacity: 0.3; transform: scale(0.8); } }
@media (prefers-reduced-motion: reduce) { .pay-wait__dot { animation: none; } }
.pay-done { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 14px; padding: 14px 12px; border-radius: 4px; background: var(--panel); font-size: 13px; line-height: 1.5; color: var(--muted); }
.pay-done__title { margin-bottom: 2px; font: 600 15px/1.3 var(--f-text); color: var(--cream); }
.pay-done b { font: 500 12.5px/1 var(--f-mono); color: var(--cream); }
.steps--compact { margin-top: 18px; }
.steps--compact .step { gap: 10px; padding-bottom: 16px; }
.steps--compact .step__n { width: 22px; height: 22px; font-size: 11px; }
.steps--compact .step:not(:last-child)::before { left: 11px; top: 26px; }
.steps--compact .step__body { padding-top: 1px; }
.steps--compact .step__title { margin-bottom: 8px; font-size: 14.5px; }
.steps--compact .step__note { margin-bottom: 10px; font-size: 13px; }
.steps--compact .step__note .textlink { font-size: 13px; }
.bank { border-radius: 4px; background: var(--panel); }
.bank__top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--hair); }
.bank-mark { display: inline-grid; place-items: center; flex: none; height: 22px; padding: 0 7px; border-radius: 3px; background: #fff; color: #0060af; font: italic 800 13px/1 var(--f-text); letter-spacing: 0.02em; }
.bank__holder { min-width: 0; font-size: 13px; color: var(--cream); overflow-wrap: anywhere; }
.bank__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; }
.bank__row + .bank__row { border-top: 1px solid var(--hair); }
.bank__no { margin-top: 2px; font: 500 16.5px/1.2 var(--f-mono); letter-spacing: 0.04em; color: var(--cream); }
.bank .copy-btn { min-height: 32px; }
.pay-done b, .pay-member__code { white-space: nowrap; }
.bank-mark { height: 26px; padding: 0 8px; border-radius: 3px; background: #fff; }
.bank-mark img { display: block; width: 54px; height: auto; }

/* ---------- bp7: no zoom on fields, hidden member code, first-time tour ---------- */

/* iOS Safari zooms the page into any field under 16px and leaves it zoomed.
   On touch screens every field is 16px, so the page keeps its size. */
@media (hover: none) and (pointer: coarse) {
  input, select, textarea { font-size: 16px !important; }
}

/* Member code shown as dots, with an eye to reveal it like a password. */
.secret { display: flex; align-items: center; gap: 4px; }
.secret__val { min-width: 0; white-space: nowrap; }
.secret__eye { display: grid; place-items: center; flex: none; width: 32px; height: 32px; margin: -6px 0 -6px -2px; border: 0; border-radius: 4px; background: none; color: var(--muted); cursor: pointer; }
.secret__eye:hover, .secret__eye[aria-pressed="true"] { color: var(--cream); }
.secret-warn { margin: 0; font-size: 12px; line-height: 1.45; color: #f07a7a; }
.secret-warn[data-secret-warn]:not([hidden]) { animation: msg-in 0.25s var(--ease-out); }
.member-card__key { display: flex; flex-direction: column; gap: 8px; }

/* The tour sits over the whole sheet. The ring's huge shadow dims everything
   around the lit part; the clipped block stops taps outside it. */
.tour { position: absolute; inset: 0; z-index: 30; overflow: hidden; pointer-events: none; }
.tour__block { position: absolute; inset: 0; pointer-events: auto; }
.tour.is-welcome .tour__block { background: rgba(6, 7, 6, 0.78); animation: fade 0.25s ease; }
.tour__ring { position: absolute; border-radius: 8px; box-shadow: 0 0 0 2px var(--accent), 0 0 0 200vmax rgba(6, 7, 6, 0.78); pointer-events: none; transition: left 0.3s var(--ease-out), top 0.3s var(--ease-out), width 0.3s var(--ease-out), height 0.3s var(--ease-out); }
.tour__slot { pointer-events: auto; position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; max-width: 440px; margin: 0 auto; }
.tour.is-welcome .tour__slot { top: 12px !important; bottom: 12px; display: flex; flex-direction: column; justify-content: center; }
.tour.is-welcome .tour__card { max-height: 100%; overflow-y: auto; }
.tour__card { padding: 16px; border: 1px solid var(--hair); border-radius: 10px; background: var(--panel-2); box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.8); animation: tour-in 0.3s var(--ease-out); }
.tour__card--welcome { display: flex; flex-direction: column; gap: 12px; padding: 20px 18px 18px; }
.tour__eyebrow { margin: 0 0 4px; font: 500 11px/1.3 var(--f-text); letter-spacing: 0.04em; color: var(--accent); }
.tour__card--welcome .tour__eyebrow { margin: 0; font-size: 13px; }
.tour__title { margin: 0 0 6px; font: 600 17px/1.3 var(--f-text); letter-spacing: -0.015em; color: var(--cream); }
.tour__card--welcome .tour__title { margin: 0; font-size: 20px; }
.tour__text { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.tour__text b { font-weight: 600; color: var(--cream); }
.tour__card .tour__next { display: flex; margin: 12px 0 0 auto; }
.tour__card--welcome .tour__next { width: 100%; margin: 4px 0 0; }
.tour__code .acct__no { white-space: nowrap; }
@keyframes tour-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .tour__card, .tour.is-welcome .tour__block { animation: none; } .tour__ring { transition: none; } }

/* bp9: "Hai, {name}" for a signed-in member, in place of the brand word. */
.brand__word--hi { letter-spacing: 0.01em; }

/* Member vault: "Harga member" strip along the bottom of the artwork. */
.bp-row__flag--member { top: auto; bottom: 0; border-radius: 0 0 2px 2px; white-space: nowrap; overflow: hidden; }
@media (max-width: 359px) { .bp-row__flag--member { font-size: 8.5px; letter-spacing: 0; } }

/* bp11: in an app's built-in browser (Instagram, TikTok) downloads move to Chrome or Safari. */
.handoff { margin: 16px 0 4px; padding: 14px; border: 1px solid var(--accent); border-radius: 10px; background: #232619; }
.handoff__title { margin: 0 0 4px; font-weight: 600; font-size: 15px; color: var(--cream, #fff); }
.handoff__text, .handoff__hint { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.handoff__hint { margin-top: 10px; font-size: 12px; }
.handoff__hint b { color: var(--cream, #fff); font-weight: 600; }
.handoff__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.handoff__actions .btn--primary { flex: 1 1 160px; }
.handoff.is-nudged { animation: handoff-nudge 0.6s ease-out; }
@keyframes handoff-nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .handoff.is-nudged { animation: none; } }
