/* ============================================================
   BECOME — form trở thành Player
   ============================================================ */

/* Thể loại = CHIP gọn (đồng bộ chip-pick toàn app) — thay thẻ to choán màn hình */
.bp-games {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.bp-game {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line-soft);
  background: var(--surface2);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}
.bp-game:hover { transform: translateY(-1px); border-color: var(--violet); }
.bp-game.is-selected {
  border-color: var(--pink);
  background: linear-gradient(180deg, rgba(var(--pink-rgb), .14), var(--surface2));
}
/* Thể loại đã có dịch vụ — khoá, không cho thêm trùng (dấu ✓) */
.bp-game.is-owned {
  opacity: .45; cursor: not-allowed; border-style: dashed;
}
.bp-game.is-owned:hover { transform: none; border-color: var(--line-soft); }
.bp-game.is-owned .bp-game__name::after { content: ' ✓'; color: var(--green); }
.bp-game__icon { font-size: 16px; line-height: 1; display: grid; place-items: center; }
.bp-game__icon img { width: 18px; height: 18px; object-fit: contain; display: block; }
.bp-game__name { font-size: 12.5px; font-weight: 700; }

/* Badge số bước (dùng cùng .sd-sec__ic) */
.bp-step {
  background: linear-gradient(135deg, var(--pink), var(--violet));
  border: 0;
  color: var(--on-accent);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 15px;
}

/* ---- Trình nghe thử giọng nói (đồng bộ tông màu) ---- */
.voice-mini {
  display: flex; align-items: center; gap: 12px; max-width: 340px; margin-top: 8px;
  padding: 8px 12px; border-radius: 12px;
  background: var(--surface2); border: 1px solid var(--line);
}
.voice-mini__btn {
  width: 34px; height: 34px; border-radius: 50%; border: 0; flex-shrink: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2)); color: var(--on-cyan); font-size: 13px;
  display: grid; place-items: center; transition: filter var(--ease);
}
.voice-mini__btn:hover { filter: brightness(1.1); }
.voice-mini__bar { flex: 1; height: 6px; border-radius: 4px; background: rgba(var(--hl-rgb), .1); cursor: pointer; overflow: hidden; }
.voice-mini__bar i { display: block; height: 100%; width: 0%; border-radius: 4px; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.voice-mini__time { font-family: var(--font-mono); font-size: 12px; color: var(--muted); flex-shrink: 0; min-width: 34px; }

/* ---- Giá theo từng thể loại ---- */
.bp-prices { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.bp-price-row { display: flex; align-items: center; gap: 10px; }
.bp-price-row__name { flex: 1; font-size: 13px; font-weight: 600; }
.bp-price-row__inp { width: 120px !important; flex-shrink: 0; }

/* ---- 2-cột form ---- */
.bp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
@media (max-width: 720px) { .bp-grid { grid-template-columns: 1fr; } }

/* ---- Ảnh kỹ năng ---- */
.bp-skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 4px;
  max-width: 320px;   /* ô vuông ~100px — không phình theo cột */
}
.bp-skill-add,
.bp-skill {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1.5px dashed var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.bp-skill-add { font-size: 28px; color: var(--pink); cursor: pointer; transition: border-color var(--ease); }
.bp-skill-add:hover { border-color: var(--pink); }
.bp-skill { border-style: solid; }
.bp-skill img { width: 100%; height: 100%; object-fit: cover; }
.bp-skill__del {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 50%; border: 0;
  background: rgba(var(--shadow-rgb), .6); color: var(--on-accent); font-size: 12px; cursor: pointer;
}

/* ============================================================
   QUẢN LÝ DỊCH VỤ (chế độ Player)
   ============================================================ */
.bp-svc {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 11px 14px;
  margin-bottom: 10px;
}
.bp-svc__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bp-svc__title { font-weight: 800; font-size: 14.5px; flex: 1; min-width: 0; }
/* Cụm bên phải: nút Xoá trên, ▲▼ sắp xếp ngay dưới */
.bp-svc__right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
/* Nút ▲▼ sắp xếp thứ tự dịch vụ trên hồ sơ (nằm ngang, dưới nút Xoá) */
.bp-svc__ord { display: flex; flex-direction: row; gap: 4px; }
.bp-svc__ordbtn {
  width: 26px; height: 18px; padding: 0; line-height: 1; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface2); color: var(--muted);
  border-radius: 6px; cursor: pointer; font-size: 10px;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.bp-svc__ordbtn:hover:not(:disabled) { background: var(--surface); color: var(--ink); border-color: var(--cyan); }
.bp-svc__ordbtn:disabled { opacity: .3; cursor: default; }
.bp-svc__badge {
  font-size: 11px; font-weight: 600; color: var(--muted);
  background: var(--surface2); border: 1px solid var(--line-soft);
  padding: 3px 8px; border-radius: 8px; margin-left: 6px; white-space: nowrap;
}
.bp-svc__del {
  border: 1px solid var(--line); background: transparent; color: var(--red);
  font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 9px; cursor: pointer;
  transition: background var(--ease);
}
.bp-svc__del:hover { background: rgba(var(--red-rgb), .12); }
.bp-svc__edit {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0;
}
.bp-svc__edit label { font-size: 12.5px; color: var(--muted); }
.bp-svc__edit .inp { width: auto; padding: 8px 11px; font-size: 13.5px; }
.bp-svc__price { width: 92px !important; }
.bp-svc__kind { min-width: 116px; }
.bp-svc__save { padding: 8px 16px; }
.bp-svc__skills { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-svc__skills .bp-skill,
.bp-svc__skills .bp-skill-add { width: 60px; height: 60px; aspect-ratio: auto; }
.bp-svc__skills .bp-skill-add { font-size: 24px; }

/* ============ Tab Doanh thu (Quản lý Player) ============ */
.earn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 4px; }
.earn-tile {
  background: var(--surface2); border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 14px; display: flex; flex-direction: column; gap: 1px;
}
.earn-tile__ic  { font-size: 20px; }
.earn-tile__val { font-family: var(--font-mono); font-size: 22px; color: var(--gold); margin-top: 4px; line-height: 1.15; }
.earn-tile__lb  { font-size: 12.5px; color: var(--muted); }
.earn-tile__sub { font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.earn-sec-t { font-weight: 600; font-size: 14px; margin: 16px 0 8px; }
/* Danh sách thu nhập — cùng phong cách với "Lịch sử giao dịch" ở Ví (icon + tiêu đề + số Xèng) */
.earn-recent { display: flex; flex-direction: column; }
.earn-row {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 0; border-top: 1px solid var(--line-soft); min-width: 0;
}
.earn-row:first-child { border-top: 0; }
.earn-row__icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px;
  display: grid; place-items: center; font-size: 17px; background: rgba(var(--green-rgb), .12);
}
.earn-row__body { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.earn-row__t { font-weight: 600; font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.earn-row__time { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.earn-row__a { margin-left: auto; font-family: var(--font-mono); font-weight: 700; font-size: 14.5px; color: var(--green); white-space: nowrap; flex: none; }
@media (max-width: 560px) { .earn-grid { grid-template-columns: 1fr; } }

/* Phần tử chỉ-Nebula: base ẩn — chỉ hiện ở theme nebula, chế độ tương ứng (xem khối skin dưới) */
.bp-intro, .bp-stepper, .bp-terms { display: none; }

/* ============================================================
   NEBULA 2.0 — SKIN #become (Trở thành Player + Quản lý Player)
   Gate `:root[data-theme="nebula"]` — Neon giữ NGUYÊN.
   Cùng 1 screen: chế độ ĐĂNG KÝ = `#become:not(.is-player)`,
   chế độ QUẢN LÝ = `#become.is-player` (class do become.js gắn).
   Khớp mockup: "Tro Thanh Player.dc.html" + "Quan Ly Player.dc.html".
   ============================================================ */
/* 2 IDs (#content>#become) để thắng rule full-bleed `.app.is-neb #content>.screen{max-width:none}` */
:root[data-theme="nebula"] #content > #become {
  max-width: 920px; margin: 0 auto; padding: 26px 30px 90px;
}
:root[data-theme="nebula"] #content > #become.is-player { max-width: 1000px; }

/* ---- Header màn ---- */
/* Chế độ ĐĂNG KÝ: banner đã có tiêu đề riêng → ẩn header legacy */
:root[data-theme="nebula"] #become:not(.is-player) > .eyebrow,
:root[data-theme="nebula"] #become:not(.is-player) > #bpHeading,
:root[data-theme="nebula"] #become:not(.is-player) > #bpSub { display: none; }
/* Chế độ QUẢN LÝ: kicker muted + h1, ẩn sub */
:root[data-theme="nebula"] #become.is-player > .eyebrow {
  color: var(--n-label); font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 6px;
}
:root[data-theme="nebula"] #become.is-player > #bpHeading {
  font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 20px; color: var(--ink);
}
:root[data-theme="nebula"] #become.is-player > #bpSub { display: none; }

/* ---- Intro banner (chỉ ĐĂNG KÝ) ---- */
:root[data-theme="nebula"] #become:not(.is-player) .bp-intro {
  display: block; position: relative; overflow: hidden;
  border-radius: 22px; padding: 30px 32px; margin-bottom: 26px;
  background: linear-gradient(115deg, #2a1550, #1e2a52);   /* violet → navy như mockup */
  border: 1px solid rgba(var(--hl-rgb), .09);
}
:root[data-theme="nebula"] #become .bp-intro__glow {
  position: absolute; top: -100px; right: -40px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--violet-rgb), .45), transparent 66%); filter: blur(30px); pointer-events: none;
}
:root[data-theme="nebula"] #become .bp-intro__body { position: relative; }
:root[data-theme="nebula"] #become .bp-intro__kick {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px;
}
:root[data-theme="nebula"] #become .bp-intro__h { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; color: var(--ink); }
:root[data-theme="nebula"] #become .bp-intro__p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 560px; margin: 0; }
:root[data-theme="nebula"] #become .bp-intro__stats { display: flex; gap: 22px; margin-top: 20px; flex-wrap: wrap; }
:root[data-theme="nebula"] #become .bp-intro__stat b { display: block; font-size: 22px; font-weight: 700; color: var(--ink); }
:root[data-theme="nebula"] #become .bp-intro__stat span { font-size: 12.5px; color: var(--muted); }

/* ---- Stepper (chỉ ĐĂNG KÝ) ---- */
:root[data-theme="nebula"] #become:not(.is-player) .bp-stepper {
  display: flex; align-items: center; gap: 6px; margin-bottom: 22px;
}
:root[data-theme="nebula"] #become .bp-step-dot { display: flex; align-items: center; gap: 9px; }
:root[data-theme="nebula"] #become .bp-step-dot span {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px;
  background: rgba(var(--hl-rgb), .1); color: var(--muted); flex: none;
}
:root[data-theme="nebula"] #become .bp-step-dot em { font-size: 14px; font-weight: 500; font-style: normal; color: var(--muted); }
:root[data-theme="nebula"] #become .bp-step-dot.is-active span { background: var(--violet); color: var(--on-accent); }
:root[data-theme="nebula"] #become .bp-step-dot.is-active em { font-weight: 600; color: var(--ink); }
:root[data-theme="nebula"] #become .bp-step-line { flex: 1; height: 2px; background: rgba(var(--hl-rgb), .12); }

/* ---- Tabs (Quản lý) → pill ---- */
:root[data-theme="nebula"] #become .itabs { gap: 8px; margin: 0 0 22px; }
:root[data-theme="nebula"] #become .itab {
  border-radius: 100px; padding: 10px 18px; font-size: 14px; font-weight: 500;
  background: rgba(var(--hl-rgb), .05); border: 1px solid rgba(var(--hl-rgb), .09); color: var(--ink-soft);
}
:root[data-theme="nebula"] #become .itab:hover { color: var(--ink); border-color: rgba(var(--hl-rgb), .16); }
:root[data-theme="nebula"] #become .itab.is-active {
  background: var(--violet-tint); border-color: transparent; color: var(--bg); font-weight: 600;
}

/* ---- Card glass (mọi pane + form) ---- */
:root[data-theme="nebula"] #become .card {
  background: rgba(var(--hl-rgb), .04); border: 1px solid rgba(var(--hl-rgb), .08);
  border-radius: 18px; box-shadow: none;
}
:root[data-theme="nebula"] #become .card__body { padding: 22px; }

/* ---- Section header: icon badge tròn tím + tiêu đề ---- */
:root[data-theme="nebula"] #become .sd-sec { align-items: flex-start; gap: 12px; margin-bottom: 16px; }
:root[data-theme="nebula"] #become .sd-sec__ic {
  width: 38px; height: 38px; border-radius: 11px; border: 0; font-size: 18px;
  background: rgba(var(--violet-rgb), .2); color: var(--ink); place-items: center;
}
:root[data-theme="nebula"] #become #bpEarnPane .sd-sec__ic { background: rgba(var(--cyan-rgb), .18); }
:root[data-theme="nebula"] #become .sd-sec__t { font-size: 15.5px; font-weight: 700; }
:root[data-theme="nebula"] #become .sd-sec__d { font-size: 13px; color: var(--muted); }
/* Badge số bước (form đăng ký) → nền tím, bỏ gradient hồng */
:root[data-theme="nebula"] #become .bp-step {
  width: 34px; height: 34px; border-radius: 10px; background: rgba(var(--violet-rgb), .2);
  color: var(--violet-tint); font-family: var(--font-main); font-weight: 700; font-size: 15px;
}

/* ---- Nút "+ Thêm dịch vụ" (gold) ---- */
:root[data-theme="nebula"] #become #bpAddSvcBtn {
  background: var(--gold); color: var(--on-gold); border: 0; box-shadow: none;
  font-weight: 700; font-size: 13.5px; padding: 10px 15px; border-radius: 11px;
}

/* ---- Công tắc nhận đơn → pill toggle ---- */
:root[data-theme="nebula"] #become .stream-switch { color: var(--ink-soft); font-size: 14px; gap: 11px; margin: 2px 0 18px; }
:root[data-theme="nebula"] #become .stream-switch input {
  appearance: none; -webkit-appearance: none; width: 44px; height: 26px; border-radius: 100px;
  background: rgba(var(--hl-rgb), .18); position: relative; cursor: pointer; flex: none; transition: background .18s var(--ease);
}
:root[data-theme="nebula"] #become .stream-switch input::before {
  content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; transition: transform .18s var(--ease);
}
:root[data-theme="nebula"] #become .stream-switch input:checked { background: var(--green); }
:root[data-theme="nebula"] #become .stream-switch input:checked::before { transform: translateX(18px); background: #06210f; }

/* ============================================================
   Card DỊCH VỤ Nebula (compact row + panel Sửa xổ ra) — become.js render riêng theo theme
   ============================================================ */
:root[data-theme="nebula"] #become .bp-svc--neb {
  border: 1px solid rgba(var(--hl-rgb), .1); border-radius: 14px; padding: 16px; background: none;
  margin-bottom: 14px; transition: border-color var(--ease), background var(--ease);
}
:root[data-theme="nebula"] #become .bp-svc--neb:hover { border-color: rgba(var(--hl-rgb), .18); background: rgba(var(--hl-rgb), .03); }
:root[data-theme="nebula"] #become .bp-svc__row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
:root[data-theme="nebula"] #become .bp-svc__lead { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 220px; }
:root[data-theme="nebula"] #become .bp-svc__ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; flex: none; color: #fff;
}
:root[data-theme="nebula"] #become .bp-svc__ico img { width: 26px; height: 26px; object-fit: contain; }
:root[data-theme="nebula"] #become .bp-svc__nm { font-size: 15px; font-weight: 700; color: var(--ink); }
:root[data-theme="nebula"] #become .bp-svc__meta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
:root[data-theme="nebula"] #become .bp-svc__pr { font-family: var(--font-mono); font-size: 17px; font-weight: 700; color: var(--gold); flex: none; }
:root[data-theme="nebula"] #become .bp-svc__pr small { color: var(--faint); font-weight: 500; }
:root[data-theme="nebula"] #become .bp-svc__acts { display: flex; gap: 8px; flex: none; }
:root[data-theme="nebula"] #become .bp-svc__acts button {
  font-weight: 600; font-size: 13px; padding: 9px 13px; border-radius: 10px; cursor: pointer; transition: background var(--ease), border-color var(--ease);
}
:root[data-theme="nebula"] #become .bp-svc__edit-btn { border: 1px solid rgba(var(--hl-rgb), .14); background: rgba(var(--hl-rgb), .05); color: var(--ink); }
:root[data-theme="nebula"] #become .bp-svc__edit-btn:hover { border-color: rgba(var(--hl-rgb), .24); }
:root[data-theme="nebula"] #become .bp-svc__acts .bp-svc__del {
  border: 1px solid rgba(var(--red-rgb), .3); background: rgba(var(--red-rgb), .1); color: var(--pink-tint);
}
:root[data-theme="nebula"] #become .bp-svc__acts .bp-svc__del:hover { background: rgba(var(--red-rgb), .18); }
/* Panel Sửa xổ ra */
:root[data-theme="nebula"] #become .bp-svc--neb .bp-svc__panel { display: none; }
:root[data-theme="nebula"] #become .bp-svc--neb.is-editing .bp-svc__panel {
  display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(var(--hl-rgb), .08);
}
:root[data-theme="nebula"] #become .bp-svc__panel .bp-svc__edit { margin: 0 0 12px; }
:root[data-theme="nebula"] #become .bp-svc__panel label { font-size: 12.5px; color: var(--muted); }
:root[data-theme="nebula"] #become .bp-svc__panel .inp {
  background: rgba(var(--hl-rgb), .05); border: 1px solid rgba(var(--hl-rgb), .1); border-radius: 10px; color: var(--ink);
}
:root[data-theme="nebula"] #become .bp-svc__panel .bp-svc__save { background: var(--violet2); color: #fff; border: 0; }
:root[data-theme="nebula"] #become .bp-svc__ord { flex-direction: row; }
:root[data-theme="nebula"] #become .bp-svc__ordbtn { background: rgba(var(--hl-rgb), .05); border: 1px solid rgba(var(--hl-rgb), .12); color: var(--muted); }

/* Empty-state dịch vụ (Nebula) */
:root[data-theme="nebula"] #become .bp-empty {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 54px 24px;
  border: 1.5px dashed rgba(var(--hl-rgb), .13); border-radius: 16px; background: rgba(var(--hl-rgb), .02);
}
:root[data-theme="nebula"] #become .bp-empty__ic {
  width: 70px; height: 70px; border-radius: 18px; background: rgba(var(--violet-rgb), .14);
  border: 1px solid rgba(var(--violet-rgb), .32); display: grid; place-items: center; font-size: 32px; margin-bottom: 16px;
}
:root[data-theme="nebula"] #become .bp-empty__t { font-size: 17px; font-weight: 800; margin-bottom: 6px; color: var(--ink); }
:root[data-theme="nebula"] #become .bp-empty__d { font-size: 13.5px; color: var(--muted); max-width: 360px; line-height: 1.6; margin-bottom: 20px; }
:root[data-theme="nebula"] #become .bp-empty__cta { background: var(--gold); color: var(--on-gold); border: 0; font-weight: 700; font-size: 14px; padding: 11px 22px; border-radius: 12px; cursor: pointer; }

/* ============================================================
   Tab HỒ SƠ GIỚI THIỆU (Nebula)
   ============================================================ */
:root[data-theme="nebula"] #become #bpProfilePane .field-label { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin: 0 0 8px; }
:root[data-theme="nebula"] #become #bpProfilePane .field-label .sd-fine { color: var(--faint); }
:root[data-theme="nebula"] #become .inp {
  background: rgba(var(--hl-rgb), .05); border: 1px solid rgba(var(--hl-rgb), .1); border-radius: 11px; color: var(--ink); font-size: 14px;
}
:root[data-theme="nebula"] #become .inp:focus { border-color: rgba(var(--violet-rgb), .5); }
/* Trình soạn thảo (giữ chức năng, đồng bộ màu/kính Nebula) */
:root[data-theme="nebula"] #become .rte {
  background: rgba(var(--hl-rgb), .05); border: 1px solid rgba(var(--hl-rgb), .1); border-radius: 11px;
}
:root[data-theme="nebula"] #become .rte__bar {
  background: rgba(var(--hl-rgb), .03); border-bottom: 1px solid rgba(var(--hl-rgb), .08);
}
:root[data-theme="nebula"] #become .rte__btn {
  background: rgba(var(--hl-rgb), .06); border: 1px solid rgba(var(--hl-rgb), .1); color: var(--ink-soft); border-radius: 8px;
}
:root[data-theme="nebula"] #become .rte__btn:hover { border-color: rgba(var(--violet-rgb), .5); color: var(--ink); }
:root[data-theme="nebula"] #become .rte__btn.is-active { background: var(--violet); border-color: var(--violet); color: #fff; }
:root[data-theme="nebula"] #become .rte__sel {
  background: rgba(var(--hl-rgb), .06); border: 1px solid rgba(var(--hl-rgb), .1); color: var(--ink-soft); border-radius: 8px;
}
:root[data-theme="nebula"] #become .rte__sel option { background: var(--surface2); color: var(--ink); }
:root[data-theme="nebula"] #become .rte__color { outline: 1px solid rgba(var(--hl-rgb), .12); outline-offset: 1px; }
:root[data-theme="nebula"] #become .rte__color.is-active { outline: 2px solid var(--violet-tint); }
:root[data-theme="nebula"] #become .rte__emoji {
  background: var(--surface2); border: 1px solid rgba(var(--hl-rgb), .12); border-radius: 10px;
}
:root[data-theme="nebula"] #become .rte__edit { color: var(--ink); }
:root[data-theme="nebula"] #become .rte__edit:empty:before { color: var(--faint); }
/* Voice player → kính */
:root[data-theme="nebula"] #become .voice-mini {
  background: rgba(var(--hl-rgb), .05); border: 1px solid rgba(var(--hl-rgb), .1); border-radius: 11px; max-width: none;
}
:root[data-theme="nebula"] #become .voice-mini__btn { background: var(--violet); color: #fff; }
/* Nút cuối tab hồ sơ */
:root[data-theme="nebula"] #become #bpEditVoice,
:root[data-theme="nebula"] #become #bpVoiceBtn {
  border: 1px solid rgba(var(--hl-rgb), .16); background: rgba(var(--hl-rgb), .05); color: var(--ink); box-shadow: none;
}
:root[data-theme="nebula"] #become #bpSaveIntro { background: var(--violet2); color: #fff; border: 0; box-shadow: none; }

/* ============================================================
   Tab DOANH THU (Nebula) — tile & số CYAN như mockup
   ============================================================ */
:root[data-theme="nebula"] #become #bpEarnPane .sd-badge--gold {
  color: var(--cyan); background: rgba(var(--cyan-rgb), .12); border: 0; border-radius: 100px;
  font-family: var(--font-mono); font-size: 14.5px; font-weight: 700; padding: 8px 15px;
}
:root[data-theme="nebula"] #become #bpEarnPane .sd-badge--gold::after {
  content: ' tổng'; font-weight: 500; opacity: .8; font-family: var(--font-main); font-size: 12.5px;
}
:root[data-theme="nebula"] #become .earn-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 22px; }
:root[data-theme="nebula"] #become .earn-tile {
  background: rgba(var(--hl-rgb), .04); border: 1px solid rgba(var(--hl-rgb), .08); border-radius: 14px; padding: 18px;
}
:root[data-theme="nebula"] #become .earn-tile__val { color: var(--cyan); font-size: 24px; }
:root[data-theme="nebula"] #become .earn-tile__lb { color: var(--muted); }
:root[data-theme="nebula"] #become .earn-tile__sub { color: var(--faint); }
:root[data-theme="nebula"] #become .earn-sec-t { font-size: 14px; font-weight: 700; margin: 0 0 12px; color: var(--ink); }
/* Lọc thời gian → pill */
:root[data-theme="nebula"] #become #earnPeriods { gap: 6px; margin-bottom: 14px; }
:root[data-theme="nebula"] #become #earnPeriods .wtab {
  border: 0; background: none; color: var(--muted); font-size: 12.5px; font-weight: 500; padding: 7px 13px; border-radius: 9px;
}
:root[data-theme="nebula"] #become #earnPeriods .wtab.is-active { background: var(--violet-tint); color: var(--bg); font-weight: 600; }
/* Hàng thu nhập */
:root[data-theme="nebula"] #become .earn-row { gap: 13px; padding: 13px 10px; border-top: 0; border-bottom: 1px solid rgba(var(--hl-rgb), .06); }
:root[data-theme="nebula"] #become .earn-row:last-child { border-bottom: 0; }
:root[data-theme="nebula"] #become .earn-row__icon { width: 36px; height: 36px; border-radius: 10px; font-size: 16px; background: rgba(var(--violet-rgb), .16); }
/* Tô nền icon theo loại thu nhập (khớp mockup: thuê tím · ủng hộ hồng · quà vàng · khác cyan) */
:root[data-theme="nebula"] #become .earn-row[data-et="hire"]   .earn-row__icon { background: rgba(var(--violet-rgb), .18); }
:root[data-theme="nebula"] #become .earn-row[data-et="donate"] .earn-row__icon { background: rgba(var(--pink-rgb), .15); }
:root[data-theme="nebula"] #become .earn-row[data-et="gift"]   .earn-row__icon { background: rgba(var(--gold-rgb), .15); }
:root[data-theme="nebula"] #become .earn-row[data-et="other"]  .earn-row__icon { background: rgba(var(--cyan-rgb), .14); }
:root[data-theme="nebula"] #become .earn-row__t { font-size: 14px; color: var(--ink); }
:root[data-theme="nebula"] #become .earn-row__time { color: var(--faint); }
:root[data-theme="nebula"] #become .earn-row__a { color: var(--cyan); }

/* ============================================================
   FORM đăng ký (Nebula) — chip, giá, nền tảng, ảnh, submit
   ============================================================ */
/* Form = KHÔNG card ngoài; mỗi bước = 1 card kính riêng (khớp mockup 3 card) */
:root[data-theme="nebula"] #become #bpFormCard.card { background: none; border: 0; box-shadow: none; margin-top: 0; }
:root[data-theme="nebula"] #become #bpFormCard .card__body { padding: 0; }
:root[data-theme="nebula"] #become .bp-fstep {
  background: rgba(var(--hl-rgb), .04); border: 1px solid rgba(var(--hl-rgb), .08);
  border-radius: 18px; padding: 24px; margin-bottom: 16px;
}
:root[data-theme="nebula"] #become .bp-fstep .sd-sec { margin-top: 0; margin-bottom: 16px; }
/* Chip thể loại */
:root[data-theme="nebula"] #become .bp-game {
  padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(var(--hl-rgb), .1);
  background: rgba(var(--hl-rgb), .04); color: var(--ink-soft);
}
:root[data-theme="nebula"] #become .bp-game:hover { transform: translateY(-1px); border-color: rgba(var(--violet-rgb), .5); }
:root[data-theme="nebula"] #become .bp-game.is-selected {
  border: 2px solid var(--violet); background: rgba(var(--violet-rgb), .2); color: #fff;
}
:root[data-theme="nebula"] #become .bp-game.is-selected .bp-game__name::after { content: ' ✓'; color: var(--violet-tint); }
:root[data-theme="nebula"] #become .bp-game__name { font-size: 13.5px; font-weight: 600; }
/* Hàng giá theo thể loại → kính, ô nhập GỌN (khớp mockup "🪙 120" nhỏ) */
:root[data-theme="nebula"] #become .bp-price-row {
  background: rgba(var(--hl-rgb), .04); border: 1px solid rgba(var(--hl-rgb), .1); border-radius: 11px; padding: 7px 14px;
}
:root[data-theme="nebula"] #become .bp-price-row__name { font-size: 14px; font-weight: 600; color: var(--ink); }
:root[data-theme="nebula"] #become .bp-price-row__inp {
  width: 96px !important; padding: 7px 11px; font-size: 14px;
  background: rgba(var(--hl-rgb), .05); border: 1px solid rgba(var(--hl-rgb), .1); border-radius: 9px;
  color: var(--gold); font-family: var(--font-mono); font-weight: 700; text-align: right;
}
/* Chip nền tảng / loại */
:root[data-theme="nebula"] #become .chip-pick button {
  padding: 9px 14px; border-radius: 10px; border: 1px solid rgba(var(--hl-rgb), .1);
  background: rgba(var(--hl-rgb), .04); color: var(--ink-soft); font-weight: 500; font-size: 13px;
}
:root[data-theme="nebula"] #become .chip-pick button:hover { border-color: rgba(var(--violet-rgb), .5); color: var(--ink); }
:root[data-theme="nebula"] #become .chip-pick button.is-selected {
  border: 2px solid var(--violet); background: rgba(var(--violet-rgb), .2); color: #fff; font-weight: 600;
}
/* Ô ảnh kỹ năng — hàng ngang ô 100×80 (khớp mockup) */
:root[data-theme="nebula"] #become #bpSkills { display: flex; flex-wrap: wrap; gap: 12px; max-width: none; grid-template-columns: none; }
:root[data-theme="nebula"] #become #bpSkills .bp-skill-add,
:root[data-theme="nebula"] #become #bpSkills .bp-skill { width: 100px; height: 80px; aspect-ratio: auto; }
:root[data-theme="nebula"] #become .bp-skill-add, :root[data-theme="nebula"] #become .bp-skill {
  border: 1.5px dashed rgba(var(--hl-rgb), .2); background: rgba(var(--hl-rgb), .03); border-radius: 12px;
}
:root[data-theme="nebula"] #become .bp-skill-add { color: var(--faint); }
:root[data-theme="nebula"] #become .bp-skill-add:hover { border-color: var(--violet); color: var(--violet-tint); }
:root[data-theme="nebula"] #become .bp-skill { border-style: solid; }

/* Bước 3 (đăng ký) = 1 cột như mockup + hàng giọng nói gọn */
:root[data-theme="nebula"] #become #bpFormStep3 .bp-grid { grid-template-columns: 1fr; gap: 0; }
:root[data-theme="nebula"] #become #bpFormVoice { margin-top: 16px; }
:root[data-theme="nebula"] #become #bpVoiceBtn { margin-top: 2px; }
/* Nút gửi hồ sơ */
:root[data-theme="nebula"] #become #bpSubmit {
  background: var(--violet2); color: #fff; border: 0; font-weight: 700; font-size: 16px; padding: 16px; border-radius: 14px;
  box-shadow: 0 14px 32px -12px rgba(var(--violet-rgb), .7);
}
:root[data-theme="nebula"] #become:not(.is-player) .bp-terms {
  display: block; text-align: center; font-size: 12.5px; color: var(--n-label); margin-top: 12px;
}
/* Thẻ trạng thái hồ sơ → kính */
:root[data-theme="nebula"] #become #bpAppStatus .card { background: rgba(var(--hl-rgb), .04); }

/* ---- Responsive ---- */
@media (max-width: 720px) {
  :root[data-theme="nebula"] #become { padding: 20px 16px 70px; }
  :root[data-theme="nebula"] #become .bp-intro { padding: 24px 20px; }
  :root[data-theme="nebula"] #become .bp-intro__h { font-size: 25px; }
  :root[data-theme="nebula"] #become .bp-stepper .bp-step-dot em { display: none; }
}
