/* AUREA Portal — /dao (AUREA DAO, burn-to-vote governance).
   Page-specific styles only; shell/cards/buttons come from styles.css /
   rewards.css / ai-local.css. All tallies come from the dao_state RPC
   (patch #200); while it is unapplied the page shows the static seed
   proposals with true 0 tallies (see dao.js). */

.dao-kicker {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(255,215,0,.55);
  background: linear-gradient(90deg, rgba(255,215,0,.16), rgba(179,136,255,.14));
  color: #FFD700; font-weight: 800; font-size: .72rem;
  letter-spacing: .14em; margin-bottom: 14px;
}

.dao-pao-note {
  margin: 14px 0 0; max-width: 860px; line-height: 1.7;
  color: var(--muted, #A7ACC2); font-size: .95rem;
}

.dao-total-card {
  padding: 26px 22px; border-radius: 18px; text-align: center;
  border: 1px solid rgba(255,215,0,.55);
  background: linear-gradient(165deg, rgba(255,215,0,.1), rgba(179,136,255,.07) 55%, rgba(10,15,30,.55));
  box-shadow: 0 0 30px rgba(255,215,0,.13);
}
.dao-total-label { display: block; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #A7ACC2); font-weight: 700; }
.dao-total-value { display: block; margin: 8px 0 2px; font-size: 2.9rem; line-height: 1.1; font-weight: 800; color: #FFE97A; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .dao-total-value { font-size: 2rem; } }
.dao-total-note { margin: 6px 0 0; color: var(--muted, #A7ACC2); font-size: .95rem; line-height: 1.6; }

.dao-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
@media (max-width: 900px) { .dao-steps { grid-template-columns: 1fr; } }
.dao-step {
  padding: 18px; border-radius: 16px; position: relative;
  border: 1px solid rgba(255,215,0,.35); background: rgba(255,255,255,.03);
}
.dao-step h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--text, #EDEFF7); }
.dao-step p { margin: 0; color: var(--muted, #A7ACC2); line-height: 1.65; font-size: .94rem; }
.dao-step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; margin-bottom: 10px;
  background: linear-gradient(135deg, #FFD700, #B388FF); color: #0A0F1E;
  font-weight: 800; font-size: .9rem;
}
.dao-burn-addr { margin-top: 10px !important; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dao-burn-addr code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .8rem; word-break: break-all; color: var(--text, #EDEFF7);
  background: rgba(255,255,255,.05); border: 1px solid #39415F;
  border-radius: 8px; padding: 6px 8px; flex: 1 1 220px;
}
.dao-copy-btn {
  border: 1px solid rgba(255,215,0,.55); background: rgba(255,215,0,.1);
  color: #FFD700; border-radius: 8px; padding: 6px 12px; font-weight: 700;
  cursor: pointer; font-size: .85rem;
}

.dao-warn {
  margin-top: 16px; padding: 18px; border-radius: 16px;
  border: 1px solid rgba(255,107,107,.6);
  background: linear-gradient(165deg, rgba(255,107,107,.1), rgba(10,15,30,.4));
}
.dao-warn h3 { margin: 0 0 8px; font-size: 1.05rem; color: #FF9B9B; }
.dao-warn p { margin: 0; color: var(--text, #EDEFF7); line-height: 1.65; font-size: .95rem; }

.dao-daily-note {
  margin-top: 16px; padding: 14px 18px; border-radius: 16px;
  border: 1px solid rgba(179,136,255,.5); background: rgba(179,136,255,.07);
  color: var(--text, #EDEFF7); line-height: 1.6; font-size: .95rem;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.dao-daily-note .cs-pill { flex: 0 0 auto; }

.dao-soon {
  margin-top: 14px; padding: 16px 18px; border-radius: 16px;
  border: 1px dashed rgba(255,215,0,.5); background: rgba(255,215,0,.05);
}
.dao-soon p { margin: 8px 0 0; color: var(--muted, #A7ACC2); line-height: 1.65; font-size: .95rem; }
.dao-signin-note {
  margin-top: 14px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid #39415F; background: rgba(255,255,255,.03);
  color: var(--muted, #A7ACC2); font-size: .93rem; line-height: 1.6;
}

.dao-props { display: grid; gap: 16px; margin-top: 16px; }
.dao-prop {
  padding: 20px; border-radius: 16px;
  border: 1px solid rgba(255,215,0,.35); background: rgba(255,255,255,.03);
}
.dao-cand { border-style: dashed; border-color: rgba(179,136,255,.45); background: rgba(179,136,255,.04); }
.dao-prop-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dao-prop-head h3 { margin: 0; font-size: 1.2rem; color: var(--text, #EDEFF7); flex: 1 1 auto; }
.dao-chip {
  padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; border: 1px solid #39415F; color: var(--muted, #A7ACC2);
}
.dao-chip.open { border-color: rgba(120,255,170,.55); color: #7DFFAA; }
.dao-chip.upcoming { border-color: rgba(255,215,0,.55); color: #FFD700; }
.dao-chip.closed { border-color: #39415F; color: var(--muted, #A7ACC2); }
.dao-prop-body { margin: 10px 0 0; color: var(--muted, #A7ACC2); line-height: 1.7; font-size: .97rem; }
.dao-prop-period { margin: 10px 0 0; font-size: .85rem; color: var(--faint, #8B90A5); font-variant-numeric: tabular-nums; }

.dao-tally { margin-top: 16px; display: grid; gap: 10px; }
.dao-tally-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; align-items: center; }
@media (max-width: 700px) { .dao-tally-row { grid-template-columns: 76px 1fr auto; } }
.dao-tally-lab { font-size: .88rem; font-weight: 700; color: var(--text, #EDEFF7); }
.dao-tally-amt { font-size: .95rem; font-weight: 800; color: #FFE97A; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dao-bar { height: 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid #39415F; overflow: hidden; }
.dao-bar > i { display: block; height: 100%; border-radius: 999px; }
.dao-bar.for > i { background: linear-gradient(90deg, #FFD700, #FFE97A); }
.dao-bar.against > i { background: linear-gradient(90deg, #B388FF, #7C5CFF); }
.dao-voters { margin: 2px 0 0; font-size: .85rem; color: var(--faint, #8B90A5); }

.dao-outcome {
  margin-top: 14px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(120,255,170,.45); background: rgba(120,255,170,.05);
}
.dao-outcome h4 { margin: 0 0 6px; font-size: .95rem; color: #7DFFAA; }
.dao-outcome p { margin: 0; color: var(--text, #EDEFF7); line-height: 1.65; font-size: .94rem; }

.dao-vote-form { margin-top: 16px; border-top: 1px solid #39415F; padding-top: 16px; }
.dao-vote-form h4 { margin: 0 0 10px; font-size: 1rem; color: var(--text, #EDEFF7); }
.dao-choice { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.dao-choice label {
  display: inline-flex; gap: 8px; align-items: center; cursor: pointer;
  border: 1px solid #39415F; border-radius: 999px; padding: 8px 16px;
  color: var(--text, #EDEFF7); font-weight: 700; font-size: .93rem;
  background: rgba(255,255,255,.03);
}
.dao-choice input { accent-color: #FFD700; }
.dao-tx-input {
  width: 100%; box-sizing: border-box; padding: 11px 12px; border-radius: 10px;
  border: 1px solid #39415F; background: rgba(10,15,30,.6);
  color: var(--text, #EDEFF7); font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88rem;
}
.dao-consent { display: flex; gap: 9px; align-items: flex-start; margin: 12px 0; cursor: pointer; }
.dao-consent input { margin-top: 3px; accent-color: #FF6B6B; }
.dao-consent span { color: #FFB3B3; font-size: .9rem; line-height: 1.55; font-weight: 600; }
.dao-submit {
  border: none; border-radius: 12px; padding: 12px 26px; cursor: pointer;
  background: linear-gradient(135deg, #FFD700, #B388FF); color: #0A0F1E;
  font-weight: 800; font-size: 1rem;
}
.dao-submit[disabled] { opacity: .45; cursor: not-allowed; }
.dao-form-msg { margin: 10px 0 0; font-size: .9rem; line-height: 1.55; }
.dao-form-msg.ok { color: #7DFFAA; }
.dao-form-msg.err { color: #FF9B9B; }

.dao-mine { display: grid; gap: 10px; margin-top: 14px; }
.dao-mine-row {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid #39415F; background: rgba(255,255,255,.03);
  font-size: .9rem; color: var(--muted, #A7ACC2);
}
.dao-mine-row .dao-mine-amt { color: #FFE97A; font-weight: 800; font-variant-numeric: tabular-nums; }
.dao-st { padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; border: 1px solid #39415F; }
.dao-st.pending { color: #FFD700; border-color: rgba(255,215,0,.55); }
.dao-st.verified { color: #7DFFAA; border-color: rgba(120,255,170,.55); }
.dao-st.rejected { color: #FF9B9B; border-color: rgba(255,107,107,.55); }
.dao-mine-row a { color: #B388FF; }

.dao-card {
  padding: 18px; border-radius: 16px; margin-top: 16px;
  border: 1px solid rgba(255,215,0,.35); background: rgba(255,255,255,.03);
}
.dao-card p { margin: 0 0 10px; color: var(--muted, #A7ACC2); line-height: 1.7; font-size: .97rem; }
.dao-card p:last-child { margin-bottom: 0; }
.dao-link { color: #FFD700; font-weight: 700; }

/* DAO ticket program (patch #237): level bands, claims, ticket votes */
.dao-tick-mine { color: #FFE97A !important; font-weight: 800; }
.dao-tick-bands { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 4px; }
.dao-band-row {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  padding: 8px 12px; border-radius: 10px;
  border: 1px solid #39415F; background: rgba(255,255,255,.02);
  font-size: .88rem; color: var(--muted, #A7ACC2);
}
.dao-band-lv { color: #FFD700; font-weight: 800; min-width: 64px; font-variant-numeric: tabular-nums; }
.dao-band-v { font-variant-numeric: tabular-nums; }
.dao-tick-claims-t { margin: 16px 0 8px; font-size: 1rem; color: #fff; }
.dao-tick-claims { display: flex; flex-direction: column; gap: 8px; }
.dao-claim-row {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  padding: 10px 12px; border-radius: 12px;
  border: 1px solid rgba(179,136,255,.35); background: rgba(255,255,255,.02);
}
.dao-claim-lab { flex: 1 1 auto; color: var(--muted, #A7ACC2); font-size: .92rem; }
.dao-claim-amt { color: #7DFFAA; font-weight: 800; font-variant-numeric: tabular-nums; }
.dao-claim-btn { padding: 8px 18px; font-size: .88rem; }
/* Upgrade 2026-12-05: why-burn heading icon, real-UI screenshot figure,
   FAQ and next-pages recommendation grid. */
.dao-h2-flex { display: flex; align-items: center; gap: 12px; }
.dao-h2-ic {
  width: 44px; height: 44px; border-radius: 12px; object-fit: cover;
  border: 1px solid rgba(255,215,0,.4); flex: 0 0 auto;
}
.dao-shot { margin: 18px 0 0; }
.dao-shot img {
  display: block; width: 100%; height: auto; border-radius: 16px;
  border: 1px solid rgba(255,215,0,.35);
}
.dao-shot figcaption {
  margin-top: 8px; color: var(--faint, #8B90A5);
  font-size: .88rem; line-height: 1.6;
}
.dao-faq { display: grid; gap: 12px; margin-top: 16px; }
.dao-faq-item {
  padding: 16px 18px; border-radius: 16px;
  border: 1px solid rgba(255,215,0,.35); background: rgba(255,255,255,.03);
}
.dao-faq-item h3 { margin: 0 0 8px; font-size: 1rem; color: var(--text, #EDEFF7); }
.dao-faq-item p { margin: 0; color: var(--muted, #A7ACC2); line-height: 1.7; font-size: .95rem; }
.dao-tick-tally { margin-top: 10px; }
.dao-tick-tally-t { margin: 0 0 6px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; color: #B388FF; }
.dao-tick-form { margin-top: 14px; }
.dao-tick-amt { max-width: 140px; }
