/* AUREA Portal — /roadmap AUR cheers (patch #201).
   Styles for roadmap-cheer.js only: the toolbar bar, the per-card
   cheer block and the submit dialog. Shell / card styles come from
   styles.css, rewards.css and roadmap.css. */

.rmc-bar {
  margin-top: 6px; padding: 22px 24px;
  display: flex; gap: 20px; flex-wrap: wrap;
  align-items: flex-start; justify-content: space-between;
}
.rmc-bar-main { flex: 1 1 420px; min-width: 0; }
.rmc-bar-main h3 { margin: 0 0 8px; color: #FFE97A; font-size: 1.15rem; }
.rmc-bar-main p { margin: 0 0 10px; color: var(--muted, #A7ACC2); line-height: 1.7; }
.rmc-prep { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rmc-bar-total { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.rmc-bar-total span { color: var(--faint, #8B90A5); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; }
.rmc-bar-total strong {
  font-size: 1.5rem; color: #FFD700;
  text-shadow: 0 0 18px rgba(255, 215, 0, 0.35);
}

.rmc-sort { display: flex; gap: 8px; flex-wrap: wrap; }
.rmc-sort-btn {
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid #39415F; background: rgba(23, 28, 51, 0.85);
  color: var(--muted, #A7ACC2); font-weight: 800; font-size: 0.85rem;
}
.rmc-sort-btn.on {
  border-color: rgba(255, 215, 0, 0.65); color: #0A0F1E;
  background: linear-gradient(90deg, #FFE97A, #FFD700);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.30);
}

.rmc-soon-pill {
  display: inline-flex; align-items: center;
  padding: 3px 11px; border-radius: 999px; white-space: nowrap;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em;
  color: #B388FF; border: 1px solid rgba(179, 136, 255, 0.6);
  background: rgba(179, 136, 255, 0.10);
}

/* --- per-card cheer block --- */
.rmc-block {
  margin-top: 4px; padding-top: 12px;
  border-top: 1px solid rgba(57, 65, 95, 0.7);
  display: flex; flex-direction: column; gap: 9px;
}
.rmc-stats { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rmc-amt { color: #FFD700; font-weight: 800; font-size: 0.95rem; }
.rmc-sup { color: var(--faint, #8B90A5); font-size: 0.82rem; font-weight: 700; }
.rmc-btn {
  align-self: flex-start;
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 215, 0, 0.65);
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.16), rgba(179, 136, 255, 0.14));
  color: #FFE97A; font-weight: 800; font-size: 0.95rem;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.18);
}
.rmc-btn:hover:not(:disabled) { border-color: #FFD700; box-shadow: 0 0 20px rgba(255, 215, 0, 0.35); }
.rmc-btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.rmc-block .rmc-soon-pill { align-self: flex-start; }

/* --- two-sided: button row + against button (revision 2026-12-04) --- */
.rmc-btns { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.rmc-btn-no {
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 138, 138, 0.55);
  background: rgba(255, 138, 138, 0.08);
  color: #FFB3B3; font-weight: 800; font-size: 0.92rem;
}
.rmc-btn-no:hover:not(:disabled) { border-color: #FF8A8A; box-shadow: 0 0 16px rgba(255, 138, 138, 0.25); }
.rmc-btn-no:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

/* --- two-sided: ratio bar + % labels --- */
.rmc-ratio { min-height: 1.1em; }
.rmc-none { color: var(--faint, #8B90A5); font-size: 0.82rem; font-weight: 700; }
.rmc-ratio-bar {
  display: flex; height: 10px; border-radius: 999px; overflow: hidden;
  border: 1px solid #39415F; background: rgba(10, 15, 30, 0.7);
}
.rmc-ratio-for {
  display: block; height: 100%;
  background: linear-gradient(90deg, #FFE97A, #FFD700);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.35);
}
.rmc-ratio-against {
  display: block; height: 100%;
  background: linear-gradient(90deg, #FF8A8A, #E05A6B);
}
.rmc-ratio-labs {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-top: 6px; font-size: 0.8rem; font-weight: 700;
}
.rmc-ratio-lab-for { color: #FFE97A; }
.rmc-ratio-lab-against { color: #FFB3B3; }

/* --- my cheers: side chips --- */
.rmc-my-side { font-weight: 700; }
.rmc-my-side-for { color: #FFE97A; }
.rmc-my-side-against { color: #FFB3B3; }

/* --- submit dialog: side toggle --- */
.rmc-side { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.rmc-side-btn {
  flex: 1 1 180px; padding: 10px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid #39415F; background: rgba(23, 28, 51, 0.85);
  color: var(--muted, #A7ACC2); font-weight: 800; font-size: 0.9rem;
}
.rmc-side-btn.on {
  border-color: rgba(255, 215, 0, 0.7); color: #0A0F1E;
  background: linear-gradient(90deg, #FFE97A, #FFD700);
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.30);
}
.rmc-side-btn.on-against {
  border-color: rgba(255, 138, 138, 0.7); color: #0A0F1E;
  background: linear-gradient(90deg, #FFB3B3, #FF8A8A);
  box-shadow: 0 0 14px rgba(255, 138, 138, 0.30);
}

/* --- my cheers (in the toolbar bar) --- */
.rmc-my { margin-top: 12px; }
.rmc-my:empty { margin-top: 0; }
.rmc-my-t { color: #EDEFF7; font-weight: 800; margin-bottom: 6px; }
.rmc-my-row { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted, #A7ACC2); padding: 3px 0; }
.rmc-my-slug { font-weight: 700; color: #EDEFF7; }
.rmc-my-st-verified { color: #7DFFB2; font-weight: 700; }
.rmc-my-st-pending { color: #FFC46B; font-weight: 700; }
.rmc-my-st-rejected { color: #FF8A8A; font-weight: 700; }

/* --- submit dialog --- */
.rmc-dlg-wrap {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(4, 6, 14, 0.78);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
}
.rmc-dlg {
  width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto;
  border-radius: 18px; padding: 24px 26px;
  border: 1px solid rgba(255, 215, 0, 0.5);
  background: linear-gradient(170deg, #171C33, #0A0F1E);
  box-shadow: 0 0 34px rgba(255, 215, 0, 0.16), 0 18px 50px rgba(0, 0, 0, 0.5);
  color: #EDEFF7;
}
.rmc-dlg h3 { margin: 0 0 6px; color: #FFE97A; }
.rmc-dlg p { margin: 0 0 10px; color: var(--muted, #A7ACC2); line-height: 1.65; }
.rmc-dlg-item { color: #EDEFF7 !important; font-weight: 800; font-size: 1.05rem; }
.rmc-addr {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  margin-bottom: 14px; padding: 10px 12px; border-radius: 12px;
  border: 1px solid #39415F; background: rgba(10, 15, 30, 0.7);
}
.rmc-addr code { word-break: break-all; color: #FFE97A; font-size: 0.82rem; flex: 1 1 260px; }
.rmc-copy, .rmc-cancel {
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid #39415F; background: rgba(23, 28, 51, 0.9);
  color: var(--muted, #A7ACC2); font-weight: 700;
}
.rmc-tx {
  width: 100%; box-sizing: border-box; margin-bottom: 12px;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid #39415F; background: rgba(10, 15, 30, 0.85);
  color: #EDEFF7; font-size: 0.9rem;
}
.rmc-tx:focus { outline: none; border-color: rgba(255, 215, 0, 0.65); }
.rmc-consent { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; color: #EDEFF7; line-height: 1.55; margin-bottom: 12px; }
.rmc-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: #FFD700; flex: 0 0 auto; }
.rmc-dlg-msg { min-height: 1.2em; }
.rmc-dlg-msg.err { color: #FF8A8A !important; font-weight: 700; }
.rmc-dlg-msg.ok { color: #7DFFB2 !important; font-weight: 700; }
.rmc-dlg-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.rmc-submit {
  padding: 12px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 215, 0, 0.7);
  background: linear-gradient(90deg, #FFE97A, #FFD700);
  color: #0A0F1E; font-weight: 800; font-size: 0.95rem;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.30);
}

/* DAO ticket strip (patch #237, roadmap-tickets.js) */
.rmt-card h3 { margin: 0 0 8px; }
.rmt-lead { color: var(--muted, #A7ACC2); line-height: 1.7; margin: 0 0 12px; }
.rmt-bal { color: var(--muted, #A7ACC2); margin: 0 0 10px; }
.rmt-bal strong { color: #FFE97A; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.rmt-claim-row {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  padding: 10px 12px; border-radius: 12px; margin-bottom: 10px;
  border: 1px solid rgba(179,136,255,.35); background: rgba(255,255,255,.02);
  color: var(--muted, #A7ACC2); font-size: .92rem;
}
.rmt-claim-btn { padding: 8px 18px; font-size: .88rem; }
.rmt-msg { color: #7DFFAA; margin: 0 0 10px; }
.rmt-link { color: #FFD700; font-weight: 700; }
