/* ==========================================================================
   BEATSHOUSE — Account Dashboard v5.0
   OLED dark. Violet accent. Premium profile layout.
   ========================================================================== */

#bh-account.bh-account {
  --bh-accent:  #C8FF00;
  --bh-accent-dim: rgba(200,255,0,0.12);
  --bh-bg:      #000;
  --bh-panel:   rgba(255,255,255,0.02);
  --bh-card:    rgba(255,255,255,0.03);
  --bh-border:  rgba(255, 255, 255, 0.06);
  --bh-border-hover: rgba(255,255,255,0.12);
  --bh-text:    rgba(255,255,255,0.92);
  --bh-muted:   rgba(255,255,255,0.5);
  --bh-secondary: rgba(255,255,255,0.28);
  --bh-green:   #86efac;
  --bh-red:     #f87171;
  color: var(--bh-text);
  width: 100%;
  font-family: 'Manrope', system-ui, sans-serif;
}

/* WooCommerce account wrapper */
body.woocommerce-account.bh-account-mode .woocommerce {
  width: min(1280px, calc(100% - 24px)) !important;
  max-width: 1280px !important;
  margin: 12px auto 24px !important;
  display: block !important;
  min-height: calc(100vh - var(--bh-header-offset, 120px));
  min-height: calc(100dvh - var(--bh-header-offset, 120px));
  overflow-x: clip;
}

body.woocommerce-account.bh-account-mode .woocommerce-MyAccount-navigation,
body.woocommerce-account.bh-account-mode .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.woocommerce-account.bh-account-mode .woocommerce-MyAccount-navigation {
  display: none !important;
}

body.woocommerce-account.bh-account-mode .woocommerce-MyAccount-content {
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,0.03) !important;
  padding: 16px !important;
  overflow: visible !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 4px 20px rgba(6,5,10,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Hide WooCommerce default intro text */
body.woocommerce-account.bh-account-mode .woocommerce-MyAccount-content > p:first-of-type,
body.woocommerce-account.bh-account-mode .woocommerce-MyAccount-content > p:nth-of-type(2) {
  display: none !important;
}

/* ── Container ── */
#bh-account .bh-account__container {
  display: grid;
  gap: 12px;
  min-height: calc(100dvh - 160px);
}

/* ── Header bar ── */
#bh-account .bh-account__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0;
  background: rgba(255,255,255,0.03);
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

#bh-account .bh-account__header h1 {
  margin: 0;
  font: 700 clamp(20px, 2.2vw, 28px) / 1.1 'Manrope', system-ui, sans-serif;
  color: var(--bh-text);
}

#bh-account .bh-account__header p {
  margin: 5px 0 0;
  color: var(--bh-muted);
  font-size: 13px;
}

#bh-account .bh-account__quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

/* ── Buttons ── */
#bh-account .bh-btn {
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255,255,255,0.7);
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  font: 600 12px / 1 'Manrope', system-ui, sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.22s cubic-bezier(0.19,1,0.22,1), border-color 0.22s cubic-bezier(0.19,1,0.22,1), color 0.22s cubic-bezier(0.19,1,0.22,1);
}

#bh-account .bh-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}

#bh-account .bh-btn.is-active,
#bh-account .bh-btn--accent {
  border: 1px solid rgba(200,255,0,0.3);
  background: rgba(200,255,0,0.12);
  color: #C8FF00;
  font-weight: 700;
  box-shadow: none;
  transition: background 0.22s cubic-bezier(0.19,1,0.22,1), border-color 0.22s cubic-bezier(0.19,1,0.22,1), transform 0.15s cubic-bezier(0.19,1,0.22,1);
}

#bh-account .bh-btn--accent:hover {
  background: rgba(200,255,0,0.2);
  border-color: rgba(200,255,0,0.45);
  color: #fff;
}

#bh-account .bh-btn:focus-visible,
#bh-account .bh-account__action:focus-visible,
#bh-account .bh-dropzone:focus-visible,
#bh-account .bh-dropzone__browse:focus-visible {
  outline: 2px solid rgba(200,255,0, 0.5);
  outline-offset: 2px;
}

/* ── Nav actions ── */
#bh-account .bh-account__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#bh-account .bh-account__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font: 600 12px / 1 'Manrope', system-ui, sans-serif;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.22s cubic-bezier(0.19,1,0.22,1), border-color 0.22s cubic-bezier(0.19,1,0.22,1), color 0.22s cubic-bezier(0.19,1,0.22,1);
}

#bh-account .bh-account__action:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}

#bh-account .bh-account__action.is-active {
  border-color: rgba(200,255,0,0.3);
  background: rgba(200,255,0,0.1);
  color: #C8FF00;
}

/* ── Main content area ── */
#bh-account .bh-account__main { display: grid; gap: 12px; min-height: 0; }

/* ── Panels ── */
#bh-account .bh-account__panel {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0;
  background: rgba(255,255,255,0.03);
  padding: 16px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 4px 20px rgba(6,5,10,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: box-shadow 0.3s cubic-bezier(0.19,1,0.22,1);
}

#bh-account .bh-account__panel:hover {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 6px 28px rgba(6,5,10,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}

#bh-account .bh-account__panel-head h2 {
  margin: 0;
  font: 700 17px / 1.1 'Manrope', system-ui, sans-serif;
  color: var(--bh-text);
}

#bh-account .bh-account__panel-head p {
  margin: 5px 0 0;
  color: var(--bh-muted);
  font-size: 13px;
}

/* ── Stats ── */
#bh-account .bh-account__stats {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

#bh-account .bh-account__stats article {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0;
  background: rgba(255,255,255,0.02);
  padding: 12px;
  display: grid;
  gap: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

#bh-account .bh-account__stats strong {
  font-size: 16px;
  color: rgba(255,255,255,0.92);
}

#bh-account .bh-account__stats span {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  line-height: 1.4;
}

/* ── Dropzone ── */
#bh-account .bh-dropzone {
  margin-top: 12px;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 22px 16px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.22s cubic-bezier(0.19,1,0.22,1), background-color 0.22s cubic-bezier(0.19,1,0.22,1);
}

#bh-account .bh-dropzone.is-dragover {
  border-color: rgba(200,255,0, 0.45);
  background: rgba(200,255,0, 0.06);
}

#bh-account .bh-dropzone__inner {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

#bh-account .bh-dropzone__inner strong { font-size: 15px; color: var(--bh-text); }

#bh-account .bh-dropzone__inner span,
#bh-account .bh-dropzone__hint {
  color: var(--bh-muted);
  font-size: 12px;
}

#bh-account .bh-dropzone__browse {
  border: 1px solid rgba(200,255,0, 0.25);
  background: rgba(200,255,0, 0.1);
  color: #C8FF00;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  font: 600 12px / 1 'Manrope', system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.22s cubic-bezier(0.19,1,0.22,1), border-color 0.22s cubic-bezier(0.19,1,0.22,1);
}

#bh-account .bh-dropzone__browse:hover {
  background: rgba(200,255,0, 0.18);
  border-color: rgba(200,255,0, 0.45);
  color: #fff;
}

/* ── Alerts ── */
#bh-account .bh-account__alert { margin-top: 10px; min-height: 20px; font-size: 12px; color: var(--bh-muted); }
#bh-account .bh-account__alert.is-error   { color: var(--bh-red); }
#bh-account .bh-account__alert.is-success { color: var(--bh-green); }

/* ── Upload list ── */
#bh-account .bh-upload-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

#bh-account .bh-upload-item {
  border: 1px solid var(--bh-border);
  border-radius: 0;
  background: var(--bh-panel);
  padding: 10px;
  display: grid;
  gap: 6px;
}

#bh-account .bh-upload-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#bh-account .bh-upload-item__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--bh-text);
}

#bh-account .bh-upload-item__meta,
#bh-account .bh-upload-item__status {
  color: var(--bh-muted);
  font-size: 11px;
}

#bh-account .bh-upload-progress {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

#bh-account .bh-upload-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: rgba(200,255,0,0.8);
  border-radius: 999px;
  transition: width 0.3s cubic-bezier(0.19,1,0.22,1);
}

/* ── Form ── */
#bh-account .bh-account__form { display: grid; gap: 10px; }

#bh-account .bh-account__form label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--bh-text);
  font-size: 13px;
}

/* ── Legacy panel overflow ── */
#bh-account .bh-account__panel--legacy { overflow: auto; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 980px) {
  body.woocommerce-account.bh-account-mode .woocommerce {
    width: calc(100% - 12px) !important;
    margin-top: 8px !important;
    min-height: auto;
  }

  #bh-account .bh-account__header {
    display: grid;
    grid-template-columns: 1fr;
  }

  #bh-account .bh-account__quick-actions,
  #bh-account .bh-account__actions {
    justify-content: stretch;
  }

  #bh-account .bh-btn,
  #bh-account .bh-account__action {
    width: 100%;
    min-height: 44px;
  }

  #bh-account .bh-account__stats {
    grid-template-columns: 1fr 1fr;
  }

  body.woocommerce-account.bh-account-mode .woocommerce-MyAccount-content {
    padding: 12px !important;
  }
}

@media (max-width: 480px) {
  #bh-account .bh-account__stats {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Downloads view — [my_downloads]
   ========================================================================== */

.bh-dl-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 0 20px;
}

/* ── Order group ──────────────────────────────────── */
.bh-dl-order {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 4px 20px rgba(6,5,10,0.2);
}

.bh-dl-order__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(200,255,0,.06);
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.bh-dl-order__id {
  font-weight: 700;
  color: rgba(255,255,255,.85);
  font-size: 13px;
}
.bh-dl-order__total { margin-left: auto; font-weight: 600; color: rgba(255,255,255,.65); }
.bh-dl-order__status {
  background: rgba(200,255,0,.15);
  color: #C8FF00;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(200,255,0,0.2);
}

/* ── Item row ─────────────────────────────────────── */
.bh-dl-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.bh-dl-item:last-child { border-bottom: 0; }

.bh-dl-item__art {
  width: 52px;
  height: 52px;
  border-radius: 0;
  overflow: hidden;
  background: #080808;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bh-dl-item__art img { width:100%;height:100%;object-fit:cover; }
.bh-dl-item__art-placeholder {
  font: 700 20px/1 'Syne', system-ui, sans-serif;
  color: rgba(255,255,255,.4);
}

.bh-dl-item__info { min-width: 0; }

.bh-dl-item__title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.bh-dl-item__license {
  font-size: 11px;
  color: #C8FF00;
  font-weight: 500;
  margin-bottom: 4px;
}
.bh-dl-item__license i { margin-right: 3px; opacity: .7; }

.bh-dl-item__pills {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.bh-dl-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 0;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.5);
  letter-spacing: .03em;
}

/* Per-file row inside item */
.bh-dl-item__file {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.bh-dl-item__file-meta {
  display: flex;
  gap: 8px;
  align-items: center;
}
.bh-dl-item__remaining,
.bh-dl-item__expires {
  font-size: 11px;
  color: rgba(255,255,255,.38);
}
.bh-dl-item__expires.is-expired { color: #e05050; }

.bh-dl-item__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: rgba(200,255,0,.1);
  border: 1px solid rgba(200,255,0,.25);
  border-radius: 999px;
  color: #C8FF00;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.22s cubic-bezier(0.19,1,0.22,1), border-color 0.22s cubic-bezier(0.19,1,0.22,1);
}
.bh-dl-item__btn:hover { background: rgba(200,255,0,.2); border-color: rgba(200,255,0,.45); color: #fff; }
.bh-dl-item__btn--disabled {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.25);
  cursor: default;
}

.bh-dl-item__pending {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  margin-top: 4px;
}
.bh-dl-item__pending i { margin-right: 4px; }

/* ── Admin inline edit ───────────────────────────── */
.bh-dl-item__admin {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 0;
}
.bh-dl-edit-remaining { width: 72px; }
.bh-dl-edit-expires   { width: 110px; }
.bh-dl-edit-remaining,
.bh-dl-edit-expires {
  padding: 4px 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 0;
  color: rgba(255,255,255,.85);
  font-size: 11px;
}
.bh-dl-edit-save,
.bh-dl-edit-revoke {
  padding: 4px 10px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity .15s;
}
.bh-dl-edit-save        { background: rgba(200,255,0,1); color: #000; border: 1px solid rgba(200,255,0,0.4); }
.bh-dl-edit-revoke      { background: rgba(220,40,40,.15); color: #e05050; border: 1px solid rgba(220,40,40,.28); }
.bh-dl-edit-save:disabled,
.bh-dl-edit-revoke:disabled { opacity: .45; cursor: wait; }

/* ── Empty / not-logged ──────────────────────────── */
.bh-dl-empty {
  text-align: center;
  padding: 48px 16px;
  color: rgba(255,255,255,.35);
  font-size: 14px;
}
.bh-dl-empty i { display:block; font-size: 28px; margin-bottom: 10px; opacity: .3; }

/* ── Admin panel ─────────────────────────────────── */
.bh-dl-admin { font-size: 13px; }

.bh-dl-admin__tabs {
  display: flex;
  gap: 4px;
  padding: 12px 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.bh-dl-admin__tab {
  padding: 7px 14px;
  border: none;
  border-radius: 0;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.45);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.bh-dl-admin__tab.is-active,
.bh-dl-admin__tab:hover {
  background: rgba(200,255,0,.12);
  color: #C8FF00;
}

.bh-dl-admin__pane { padding: 14px 16px; }

.bh-dl-admin__search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.bh-dl-admin__input {
  flex: 1;
  padding: 8px 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 0;
  color: rgba(255,255,255,.9);
  font-size: 13px;
}
.bh-dl-admin__btn {
  padding: 8px 16px;
  background: rgba(200,255,0,0.15);
  color: #C8FF00;
  border: 1px solid rgba(200,255,0,0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.22s cubic-bezier(0.19,1,0.22,1), border-color 0.22s cubic-bezier(0.19,1,0.22,1);
}
.bh-dl-admin__btn:hover { background: rgba(200,255,0,0.25); border-color: rgba(200,255,0,0.45); color: #fff; }

.bh-dl-admin__user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,.04);
  border-radius: 0;
  margin-bottom: 12px;
}
.bh-dl-admin__user-badge img { border-radius: 50%; }
.bh-dl-admin__user-badge strong { display:block; font-size:13px; color:rgba(255,255,255,.85); }
.bh-dl-admin__user-badge span  { font-size:11px; color:rgba(255,255,255,.4); }

.bh-dl-admin__msg {
  padding: 8px 12px;
  border-radius: 0;
  font-size: 12px;
  margin-top: 8px;
}
.bh-dl-admin__msg--ok  { background: rgba(200,255,0,.1); color: #C8FF00; }
.bh-dl-admin__msg--err { background: rgba(220,40,40,.1);   color: #e05050; }

.bh-dl-admin__grant-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bh-dl-admin__grant-form button { grid-column: 1 / -1; margin-top: 4px; justify-self: start; }
.bh-dl-admin__grant-form .bh-dl-admin__msg { grid-column: 1 / -1; margin: 0; }

.bh-dl-admin__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: rgba(255,255,255,.45);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.bh-dl-admin__label .bh-dl-admin__input { flex: unset; width: 100%; }

@media (max-width: 480px) {
  .bh-dl-admin__grant-form { grid-template-columns: 1fr; }
  .bh-dl-item__admin { gap: 4px; }
}

/* ── Subscriber dashboard cards ── */
#bh-account .bh-dashboard-cards { padding: 0; background: none; border: none; box-shadow: none; }
#bh-account .bh-dc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
#bh-account .bh-dc-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0;
  background: rgba(255,255,255,0.03);
  color: var(--bh-text);
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
#bh-account .bh-dc-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(200,255,0,0.28);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--bh-text);
}
#bh-account .bh-dc-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(200,255,0,0.1);
  border: 1px solid rgba(200,255,0,0.2);
  border-radius: 0;
  margin-bottom: 4px;
  flex-shrink: 0;
}
#bh-account .bh-dc-icon svg { width: 18px; height: 18px; color: #C8FF00; }
#bh-account .bh-dc-label {
  font: 700 14px/1.2 'Manrope', system-ui, sans-serif;
  color: rgba(255,255,255,.9);
}
#bh-account .bh-dc-desc {
  font: 400 12px/1.45 'Manrope', sans-serif;
  color: rgba(255,255,255,.42);
  flex: 1;
}
#bh-account .bh-dc-cta {
  font: 600 11px/1 'Manrope', sans-serif;
  color: #a78bfa;
  margin-top: 4px;
}
@media (max-width: 480px) {
  #bh-account .bh-dc-grid { grid-template-columns: 1fr; }
}

/* ── Login form: remember me checkbox ── */
.woocommerce-form-login input#rememberme,
.woocommerce-form__input-checkbox#rememberme {
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
  accent-color: #C8FF00;
  width: 16px !important;
  height: 16px !important;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


/* ── Profile Posts Feed (bpp) ── */
.bh-profile-posts { max-width: 680px; margin: 0 auto; padding: 40px 16px 80px; }

.bpp-header { text-align: center; margin-bottom: 40px; }
.bpp-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2rem, 6vw, 3rem); letter-spacing: .04em; color: #fff; margin: 0 0 4px; }
.bpp-subtitle { font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; color: rgba(255,255,255,.4); margin: 0; }

.bpp-create-wrap { background: #111; border: 1px solid rgba(255,255,255,.08); border-radius: 0; padding: 24px; margin-bottom: 40px; }

.bpp-feed { display: flex; flex-direction: column; gap: 24px; }

.bpp-card { background: #0d0d0d; border: 1px solid rgba(255,255,255,.07); border-radius: 0; overflow: hidden; transition: border-color .2s; }
.bpp-card:hover { border-color: rgba(255,255,255,.14); }

.bpp-card__body { padding: 24px 24px 0; }
.bpp-card__title { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: .03em; color: #fff; margin: 0 0 6px; }
.bpp-card__date { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.35); margin-bottom: 14px; }
.bpp-card__content { color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.65; margin-bottom: 20px; }
.bpp-card__content p:last-child { margin-bottom: 0; }

.bpp-card__media { margin: 0 -24px; }
.bpp-card__img { width: 100%; display: block; max-height: 420px; object-fit: cover; }

.bpp-card__audio { padding: 16px 0; }
.bpp-card__audio audio { width: 100%; border-radius: 0; }

.bpp-card__video { position: relative; padding-top: 56.25%; margin: 16px -24px 0; }
.bpp-card__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.bpp-card__footer { display: flex; gap: 12px; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,.06); }

.bpp-like-btn,
.bpp-fav-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 0; padding: 7px 14px; cursor: pointer;
    color: rgba(255,255,255,.55); font-size: .8rem; font-weight: 600;
    letter-spacing: .04em; transition: background .15s, color .15s, border-color .15s;
}
.bpp-like-btn svg, .bpp-fav-btn svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.bpp-like-btn:hover, .bpp-fav-btn:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.bpp-like-btn.is-active { background: rgba(220,50,80,.15); border-color: rgba(220,50,80,.4); color: #e05070; }
.bpp-fav-btn.is-active { background: rgba(200,255,0,.12); border-color: rgba(200,255,0,.35); color: #C8FF00; }

.bpp-comments { padding: 20px 24px; border-top: 1px solid rgba(255,255,255,.06); }
.bpp-comments-list { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }

.bpp-comment-submit {
    background: rgba(255,255,255,.1) !important; color: #fff !important;
    border: 1px solid rgba(255,255,255,.15) !important; border-radius: 0 !important;
    padding: 8px 18px !important; font-size: .8rem !important; cursor: pointer !important;
}

.bpp-empty { text-align: center; padding: 80px 20px; }
.bpp-empty__msg { font-size: 1.1rem; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.bpp-empty__cta { font-size: .85rem; color: rgba(255,255,255,.3); }

/* ── Profile Follow/Follower pages (bph) ── */
.bph-page { max-width: 760px; margin: 0 auto; padding: 40px 16px 80px; }

.bph-header { margin-bottom: 36px; }
.bph-back { display: inline-block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); text-decoration: none; margin-bottom: 12px; }
.bph-back:hover { color: rgba(255,255,255,.75); }
.bph-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(1.8rem, 5vw, 2.6rem); letter-spacing: .04em; color: #fff; margin: 0; }
.bph-count { font-size: .65em; color: rgba(255,255,255,.35); vertical-align: middle; margin-left: .3em; }

.bph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }

.bph-card { background: #0d0d0d; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 22px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; transition: border-color .2s, transform .2s, box-shadow .2s; }
.bph-card:hover { border-color: rgba(255,255,255,.18); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.4); }

.bph-card__avatar-wrap { display: block; margin-bottom: 2px; }
.bph-card__avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.12); transition: border-color .2s; }
.bph-card:hover .bph-card__avatar { border-color: rgba(155,127,232,.5); }

.bph-card__name { font-size: .9rem; color: #f4f4f5; text-decoration: none; font-weight: 700; letter-spacing: .01em; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bph-card__name:hover { color: #fff; }
.bph-card__handle { font-size: .72rem; color: rgba(255,255,255,.4); text-decoration: none; letter-spacing: .02em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bph-card__handle:hover { color: rgba(255,255,255,.65); }

.bph-follow-btn { margin-top: 4px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 7px 16px; cursor: pointer; transition: background .22s cubic-bezier(0.19,1,0.22,1), border-color .22s cubic-bezier(0.19,1,0.22,1), transform .1s; white-space: nowrap; }
.bph-follow-btn:active { transform: scale(.95); }
.bph-follow-btn:hover { background: rgba(255,255,255,.18); }
.bph-follow-btn.is-following { background: transparent; border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.45); }
.bph-follow-btn.is-following:hover { border-color: rgba(220,50,60,.5); color: #e05060; }

.bph-empty { text-align: center; padding: 80px 20px; }
.bph-empty__msg { font-size: 1.05rem; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.bph-empty__cta { font-size: .85rem; color: rgba(255,255,255,.3); margin-bottom: 24px; }
.bph-empty__btn { display: inline-block; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 0; color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 10px 24px; text-decoration: none; transition: background .15s; }
.bph-empty__btn:hover { background: rgba(255,255,255,.14); }

/* ── Profile posts/followers mobile ── */
@media (max-width: 600px) {
  .bpp-feed { gap: 12px; }
  .bpp-card { border-radius: 0; }
  .bpp-card__actions { flex-wrap: wrap; gap: 8px; }
  .bpp-card__meta { font-size: .72rem; }
  .bph-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
  .bph-card { padding: 16px 10px; border-radius: 12px; }
  .bph-card__avatar { width: 60px; height: 60px; }
  .bph-card__name { font-size: .8rem; }
  .bph-card__handle { font-size: .66rem; }
  .bph-follow-btn { font-size: .66rem; padding: 5px 10px; }
}
