/* ── Themed scrollbars: portal modal-card ────────────────────── */
.modal-card {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,160,0,0.45) rgba(4,2,14,0.92);
}
.modal-card::-webkit-scrollbar         { width: 7px; }
.modal-card::-webkit-scrollbar-track   { background: rgba(4,2,14,0.92); border-radius: 4px; }
.modal-card::-webkit-scrollbar-thumb   { background: rgba(255,160,0,0.45); border-radius: 4px; }
.modal-card::-webkit-scrollbar-thumb:hover { background: rgba(255,215,0,0.75); }

/* ── Themed scrollbars: march modal main scroll area ─────────── */
#marchScrollArea {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,160,0,0.45) rgba(4,2,14,0.92);
  /* Account-theme CSS vars — overwritten by _applyMarchTheme() in JS */
  --mc-full:       rgba(255,215,0,0.95);
  --mc-label:      rgba(255,215,0,0.85);
  --mc-head:       rgba(255,215,0,0.7);
  --mc-mid:        rgba(255,215,0,0.55);
  --mc-border:     rgba(255,215,0,0.35);
  --mc-panel:      rgba(255,215,0,0.15);
  --mc-dim:        rgba(255,215,0,0.25);
  --mc-active-bg:  rgba(255,170,0,0.22);
  --mc-active-bdr: rgba(255,170,0,0.55);
}
#marchScrollArea::-webkit-scrollbar         { width: 7px; }
#marchScrollArea::-webkit-scrollbar-track   { background: rgba(4,2,14,0.92); border-radius: 4px; }
#marchScrollArea::-webkit-scrollbar-thumb   { background: rgba(255,160,0,0.45); border-radius: 4px; }
#marchScrollArea::-webkit-scrollbar-thumb:hover { background: rgba(255,215,0,0.75); }

/* ── Themed scrollbars: march modal inner scroll areas ────────── */
#marchModalContent,
#marchAlertsList,
#marchWebhookPanel,
#marchActiveList {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255,160,0,0.4) rgba(4,2,14,0.7) !important;
}
#marchModalContent::-webkit-scrollbar,
#marchAlertsList::-webkit-scrollbar,
#marchWebhookPanel::-webkit-scrollbar,
#marchActiveList::-webkit-scrollbar          { width: 6px !important; height: 0 !important; }
#marchModalContent::-webkit-scrollbar-track,
#marchAlertsList::-webkit-scrollbar-track,
#marchWebhookPanel::-webkit-scrollbar-track,
#marchActiveList::-webkit-scrollbar-track    { background: rgba(4,2,14,0.7) !important; border-radius: 2px; }
#marchModalContent::-webkit-scrollbar-thumb,
#marchAlertsList::-webkit-scrollbar-thumb,
#marchWebhookPanel::-webkit-scrollbar-thumb,
#marchActiveList::-webkit-scrollbar-thumb    { background: rgba(255,160,0,0.4) !important; border-radius: 2px; }
#marchModalContent::-webkit-scrollbar-thumb:hover,
#marchAlertsList::-webkit-scrollbar-thumb:hover,
#marchWebhookPanel::-webkit-scrollbar-thumb:hover,
#marchActiveList::-webkit-scrollbar-thumb:hover { background: rgba(255,215,0,0.7) !important; }

/* ── AUTO-MARCH MODAL ────────────────────────────────────────── */
.march-modal {
  background: rgba(12,6,8,0.99);
  border: 1px solid rgba(255,80,60,0.35);
  border-radius: 22px;
  padding: 22px 24px;
  width: min(990px, 72vw);
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 0 60px rgba(255,80,60,0.1), 0 16px 50px rgba(0,0,0,0.95);
}
.march-slot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.march-slot-card {
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: all 0.18s;
  min-height: 90px;
  position: relative;
}
.march-slot-card.unlocked {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,80,60,0.22);
}
.march-slot-card.unlocked:hover {
  border-color: rgba(255,80,60,0.55);
  background: rgba(255,80,60,0.06);
}
.march-slot-card.active-march {
  background: rgba(255,80,60,0.07);
  border: 1px solid rgba(255,80,60,0.45);
}
.march-slot-card.locked {
  background: rgba(255,255,255,0.01);
  border: 1px dashed rgba(255,255,255,0.1);
  cursor: default;
  opacity: 0.55;
}
.march-slot-num {
  font-size: 0.58rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 700;
}
.march-slot-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.march-slot-detail {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.5;
}
.march-slot-badge {
  position: absolute;
  top: 10px; right: 12px;
  font-size: 0.55rem;
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}
.march-slot-badge.on  { background: rgba(80,200,100,0.18); color: #4aff88; border: 1px solid rgba(80,200,100,0.35); }
.march-slot-badge.off { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.35); border: 1px solid rgba(255,255,255,0.1); }
.march-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.march-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.march-field.full { grid-column: span 2; }
.march-field-label {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mc-label);
  font-weight: 700;
}
input.march-field-input, select.march-field-select, .march-field-input, .march-field-select {
  width: 100%;
  padding: 9px 12px;
  background: rgb(20,12,44) !important;
  border: 1px solid var(--mc-border) !important;
  border-radius: 9px;
  color: var(--mc-full) !important;
  font-family: inherit;
  font-size: 0.88rem;
  box-sizing: border-box;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.8);
}
.march-field-input::placeholder { color: var(--mc-dim); }
.march-field-select option {
  background-color: #0a0608;
  color: rgba(255,255,255,0.85);
}
.march-field-input:focus,
.march-field-select:focus {
  border-color: var(--mc-head) !important;
  outline: none;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.6), 0 0 0 2px var(--mc-panel);
}
.march-cred-section {
  padding: 12px 14px;
  background: rgba(255,80,60,0.04);
  border: 1px solid rgba(255,80,60,0.15);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── CHEST VIDEO PREVIEW OVERLAY ─────────────────────────────── */
#chestVideoOverlay {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 9310;
  background: rgba(0,0,0,0.96);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  cursor: zoom-out;
}
#chestVideoEl {
  max-width: 420px;
  max-height: 80vh;
  width: auto;
  border-radius: 14px;
  box-shadow: 0 0 50px rgba(255,215,0,0.3);
  display: block;
  cursor: default;
}
#chestVideoTitle {
  font-size: 1rem;
  font-weight: 700;
  color: #e8c878;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ── TRADE MODALS ─────────────────────────────────────────────── */
.trade-modal-overlay {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 9600;
  background: rgba(0,0,0,0.82);
  align-items: center;
  justify-content: center;
}
.trade-modal-overlay.active { display: flex; }

.trade-modal {
  background: rgba(8,6,18,0.98);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 16px;
  padding: 22px 24px;
  width: 440px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 0 60px rgba(255,215,0,0.12), 0 12px 60px rgba(0,0,0,0.9);
  animation: fadeIn 0.25s ease;
}

#marchModalCard {
  background-image: url('/assets/portal/march_form_frame_world1.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: rgba(12,6,8,0.99);
  border: none;
  border-radius: 0;
  padding: 90px 100px 90px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.95);
  scrollbar-width: thin;
  scrollbar-color: var(--sb-thumb) var(--sb-track);
}
#marchModalCard::-webkit-scrollbar         { width: 7px; }
#marchModalCard::-webkit-scrollbar-track   { background: var(--sb-track); border-radius: 4px; }
#marchModalCard::-webkit-scrollbar-thumb   { background: var(--sb-thumb); border-radius: 4px; }
#marchModalCard::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-hover); }

#marchConfirmModal {
  background-image: url('/assets/portal/march_confirm_frame_world1.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: rgba(8,6,18,0.99);
  border: none;
  border-radius: 0;
  padding: 75px 60px 75px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.95);
  scrollbar-width: none;
}
#marchConfirmModal::-webkit-scrollbar { width: 0; }
.trade-modal-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,215,0,0.85);
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,215,0,0.12);
}

/* ── MODAL INFO GRID ─────────────────────────────────────────── */
.modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.modal-info-cell {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 8px 10px;
}
.modal-info-label { font-size: 0.55rem; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); margin-bottom: 3px; }
.modal-info-value { font-size: 0.9rem; font-weight: 700; }
.modal-info-value.red  { color: #ff5555; }
.modal-info-value.gold { color: var(--gold); }

/* ── MODAL TARGETS ───────────────────────────────────────────── */
.modal-targets {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}
.modal-targets-header {
  display: flex;
  justify-content: space-between;
  padding: 5px 10px;
  background: rgba(255,255,255,0.03);
  font-size: 0.55rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dim);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.modal-target-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 10px;
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.modal-target-row:last-child { border-bottom: none; }
.t-label  { color: rgba(255,215,0,0.6); font-weight: 700; }
.t-profit { color: #00e070; font-weight: 700; }
.t-balance { color: rgba(255,255,255,0.6); }

/* ── MODAL CHECKBOXES ────────────────────────────────────────── */
.modal-check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 6px;
  border: 1px solid transparent;
  transition: all 0.18s;
}
.modal-check-row.mck-checked  { background: rgba(0,200,80,0.07); border-color: rgba(0,200,80,0.15); }
.modal-check-row.mck-unchecked { background: rgba(255,80,80,0.05); border-color: rgba(255,80,80,0.12); }
.modal-check-row.mck-required { background: rgba(255,180,0,0.06); border-color: rgba(255,180,0,0.2); }
.mck-box {
  width: 20px; height: 20px; flex-shrink: 0; border-radius: 5px;
  border: 1.5px solid rgba(255,215,0,0.35); background: rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: #00e070; font-weight: 700;
}
.mck-text { flex: 1; font-size: 0.75rem; color: rgba(255,255,255,0.7); line-height: 1.4; }
.mck-text small { display: block; font-size: 0.62rem; color: var(--dim); margin-top: 2px; }

.modal-skip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 0;
  margin-bottom: 8px;
}
.modal-skip-box {
  width: 16px; height: 16px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.45);
  background: transparent; display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; color: #4aff88; transition: all 0.18s;
}
.modal-skip-box.ticked { background: rgba(0,200,80,0.12); border-color: rgba(0,200,80,0.4); }
.modal-skip-label { font-size: 0.62rem; color: rgba(255,255,255,0.6); }

.modal-divider { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 10px 0; }

/* Screenshot upload zones */
.ss-drop-zone {
  border: 1px dashed rgba(255,215,0,0.18);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: rgba(255,255,255,0.02);
}
.ss-drop-zone:hover { border-color: rgba(255,215,0,0.4); background: rgba(255,215,0,0.04); }
.ss-drop-zone.ss-has-image { border-color: rgba(255,215,0,0.4); border-style: solid; }
.ss-preview {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ss-empty-label { font-size: 0.62rem; color: rgba(255,215,0,0.35); pointer-events: none; }

/* Trade levels summary strip in confirm modal */
.modal-levels-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 8px 0 4px;
}
.modal-levels-cell {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 7px;
}
.mls-label { font-size: 0.42rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.mls-val { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.75); }
.mls-val.red { color: rgba(255,100,100,0.9); }
.mls-val.green { color: rgba(60,220,100,0.9); }

.modal-pnl-input {
  width: 100%;
  padding: 12px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--text);
  font-size: 1.1rem;
  text-align: center;
  outline: none;
  transition: border-color 0.18s;
  font-family: inherit;
}
.modal-pnl-input:focus { border-color: rgba(255,215,0,0.4); }

/* ── MODAL ACTIONS ───────────────────────────────────────────── */
.modal-actions { display: flex; gap: 10px; margin-top: 14px; }
.modal-btn-cancel {
  flex: 1; padding: 10px; background: rgba(30,20,10,0.88); border: 1px solid rgba(255,255,255,0.3);
  border-radius: 9px; color: rgba(255,255,255,0.85); font-size: 0.75rem; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: all 0.18s;
}
.modal-btn-cancel:hover { background: rgba(60,40,20,0.95); border-color: rgba(255,255,255,0.5); }
.modal-btn-confirm {
  flex: 2; padding: 10px; background: rgba(120,90,0,0.85); border: 2px solid rgba(255,215,0,0.75);
  border-radius: 9px; color: #FFD700; font-size: 0.75rem; font-weight: 800; cursor: pointer;
  font-family: inherit; letter-spacing: 1px; text-transform: uppercase;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
  box-shadow: 0 0 12px rgba(255,215,0,0.25);
}
.modal-btn-confirm:hover { background: rgba(160,120,0,0.95); transform: translateY(-1px); }
.modal-btn-confirm:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── MARCH MODAL LAYOUT ──────────────────────────────────────── */
.battle-modal-wrap {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.battle-side-panel {
  width: 90px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.battle-side-label { font-size: 0.55rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim); text-align: center; }
.battle-champ-img {
  width: 80px; height: 80px; border-radius: 10px; overflow: hidden;
  border: 1.5px solid rgba(255,215,0,0.25); background: rgba(255,255,255,0.03);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.battle-champ-name { font-size: 0.58rem; color: rgba(255,255,255,0.5); text-align: center; line-height: 1.2; }
.battle-res-img {
  width: 80px; height: 80px; border-radius: 10px;
  border: 1.5px solid rgba(255,215,0,0.2); background: rgba(255,255,255,0.03);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; overflow: hidden;
}
.battle-res-name { font-size: 0.62rem; color: rgba(255,215,0,0.6); text-align: center; font-weight: 600; }
.march-wb-select {
  width: 100%; padding: 7px 10px; margin-bottom: 10px;
  background: rgba(10,8,20,0.8); border: 1px solid rgba(255,215,0,0.2);
  border-radius: 8px; color: rgba(255,215,0,0.8); font-size: 0.75rem; cursor: pointer;
}
.march-wb-display {
  width: 100%; padding: 7px 12px; margin-bottom: 10px;
  background: rgba(255,215,0,0.05); border: 1px solid rgba(255,215,0,0.2);
  border-radius: 8px; color: rgba(255,215,0,0.85); font-size: 0.75rem; font-weight: 700;
  box-sizing: border-box; letter-spacing: 0.5px;
}

/* ── AUTO-FUNDING MODAL ──────────────────────────────────────── */
.autofund-modal {
  background: rgba(8,14,10,0.98);
  border: 1px solid rgba(80,200,100,0.35);
  border-radius: 20px;
  padding: 26px 28px;
  width: 420px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 0 50px rgba(80,200,100,0.1), 0 16px 50px rgba(0,0,0,0.9);
}
.autofund-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.autofund-label {
  font-size: 0.58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 700;
}
.autofund-select, .autofund-input {
  width: 100%;
  padding: 9px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.8rem;
  box-sizing: border-box;
}
.autofund-select:focus, .autofund-input:focus { border-color: rgba(80,200,100,0.4); outline: none; }
.autofund-toggle-row {
  display: flex;
  gap: 8px;
}
.autofund-toggle-btn {
  flex: 1;
  padding: 8px 0;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.45);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}
.autofund-toggle-btn.active {
  background: rgba(80,200,100,0.14);
  border-color: rgba(80,200,100,0.5);
  color: #4aff88;
}
.autofund-enabled-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(80,200,100,0.05);
  border: 1px solid rgba(80,200,100,0.18);
  border-radius: 10px;
}
.autofund-toggle-switch {
  width: 38px; height: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.autofund-toggle-switch.on { background: rgba(80,200,100,0.7); }
.autofund-toggle-switch::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  top: 3px; left: 3px;
  transition: left 0.2s;
}
.autofund-toggle-switch.on::after { left: 21px; }

/* ── FUSION PORTAL MODAL ─────────────────────────────────────── */
.fusion-modal {
  background: rgba(8,6,20,0.98);
  border: 1px solid rgba(160,100,255,0.4);
  border-radius: 22px;
  padding: 26px 28px;
  width: 540px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 0 60px rgba(160,100,255,0.15), 0 16px 50px rgba(0,0,0,0.88);
}
.fusion-portal-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.fusion-portal-modal-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(160,100,255,0.5);
  box-shadow: 0 0 44px rgba(160,100,255,0.4);
}
.fusion-vid-expanded {
  width: 100% !important;
  height: auto !important;
  max-height: 300px !important;
  border-radius: 14px !important;
  box-shadow: 0 0 44px rgba(160,100,255,0.35) !important;
  object-fit: contain !important;
}
.fusion-rule-hint {
  text-align: center;
  font-size: 0.68rem;
  color: rgba(160,100,255,0.7);
  letter-spacing: 0.5px;
}
.fusion-champ-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fusion-empty-msg {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  padding: 20px 10px;
  line-height: 1.6;
}
.fusion-champ-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(160,100,255,0.05);
  border: 1px solid rgba(160,100,255,0.15);
  border-radius: 10px;
}
.fusion-champ-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid rgba(160,100,255,0.3);
  flex-shrink: 0;
  cursor: pointer;
}
.fusion-champ-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fusion-champ-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fusion-champ-tier {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.fusion-champ-stars {
  font-size: 0.75rem;
  color: #FFD700;
  letter-spacing: 2px;
}
.fusion-champ-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.fusion-copy-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,215,0,0.8);
}
.btn-fuse {
  padding: 6px 12px;
  background: rgba(160,100,255,0.15);
  border: 1px solid rgba(160,100,255,0.45);
  border-radius: 8px;
  color: #c080ff;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-fuse:hover {
  background: rgba(160,100,255,0.28);
}

/* Codex gallery star tier badges */
.codex-champ-stars {
  font-size: 0.75rem;
  color: #FFD700;
  letter-spacing: 2px;
  margin-bottom: 1px;
}
.codex-champ-cnt.codex-fuse-ready {
  color: #c080ff;
  font-weight: 700;
}
