/* AUREA Portal — /transparency (Treasury, pools, buyback & burn).
   Page-specific styles only; shell/cards/buttons come from styles.css /
   rewards.css / ai-local.css. Every number on the page is read live from
   BNB Smart Chain public RPC in the visitor's browser (see
   transparency.js); nothing is baked in. */

.tp-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;
}

.tp-hero-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);
}
.tp-hero-lab { margin: 0; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #A7ACC2); font-weight: 700; }
.tp-hero-num { 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) { .tp-hero-num { font-size: 2rem; } }
.tp-hero-sub { margin: 0; color: var(--muted, #A7ACC2); font-size: .95rem; line-height: 1.6; }
.tp-hero-usd { margin: 2px 0 8px; font-size: 1.3rem; font-weight: 700; color: #FFD700; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .tp-hero-usd { font-size: 1.1rem; } }
.tp-coin { width: 30px; height: 30px; vertical-align: -6px; margin-right: 8px; }

.tp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
@media (max-width: 900px) { .tp-cards { grid-template-columns: 1fr; } }
.tp-card {
  padding: 18px; border-radius: 16px;
  border: 1px solid rgba(255,215,0,.35); background: rgba(255,255,255,.03);
}
.tp-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--text, #EDEFF7); }
.tp-card p { margin: 0; color: var(--muted, #A7ACC2); line-height: 1.65; font-size: .94rem; }

.tp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px; }
@media (max-width: 700px) { .tp-stats { grid-template-columns: 1fr; } }
.tp-stat {
  padding: 16px; border-radius: 16px; text-align: center;
  border: 1px solid #39415F; background: rgba(255,255,255,.03);
}
.tp-stat-num { margin: 0; font-size: 1.55rem; font-weight: 800; color: #FFE97A; font-variant-numeric: tabular-nums; }
.tp-stat-lab { margin: 6px 0 0; font-size: .82rem; color: var(--muted, #A7ACC2); line-height: 1.5; }

.tp-addr-card {
  margin-top: 16px; padding: 18px; border-radius: 16px;
  border: 1px solid rgba(255,215,0,.45); background: rgba(255,255,255,.03);
}
.tp-addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1rem; word-break: break-all; color: var(--text, #EDEFF7); line-height: 1.6;
}
.tp-addr-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.tp-copy-note { font-size: .82rem; color: var(--muted, #A7ACC2); margin: 8px 0 0; }

.tp-table-wrap { overflow-x: auto; margin-top: 16px; }
.tp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.tp-table th, .tp-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #39415F; vertical-align: top; }
.tp-table th { color: #FFE97A; font-size: .88rem; }
.tp-table td { color: var(--muted, #A7ACC2); }
.tp-table td:first-child { color: var(--text, #EDEFF7); font-weight: 700; }
.tp-table td.tp-num { font-variant-numeric: tabular-nums; color: var(--text, #EDEFF7); font-weight: 700; white-space: nowrap; }
.tp-table .tp-total td { border-top: 2px solid rgba(255,215,0,.55); color: #FFE97A; font-weight: 800; }
.tp-table a { color: #FFD700; }
.tp-tlab { display: none; }
.tp-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; word-break: break-all; }

/* Wide tables stack vertically on phones (standing rule): hide the
   header row, each row becomes a block, first cell is the row heading,
   other cells show "label + value" via .tp-tlab spans. */
@media (max-width: 700px) {
  .tp-table { min-width: 0; }
  .tp-table thead { display: none; }
  .tp-table tr { display: block; padding: 10px 0; border-bottom: 1px solid #39415F; }
  .tp-table td { display: block; border-bottom: none; padding: 3px 12px; }
  .tp-table td.tp-num { white-space: normal; }
  .tp-tlab { display: inline-block; min-width: 7.5em; margin-right: 8px; color: var(--muted, #A7ACC2); font-size: .8rem; font-weight: 600; }
  .tp-table .tp-total td { border-top: none; }
  .tp-table tr.tp-total { border-top: 2px solid rgba(255,215,0,.55); }
}

.tp-chart-card {
  padding: 18px; border-radius: 18px; margin-top: 16px;
  border: 1px solid #39415F; background: rgba(255,255,255,.03);
}
.tp-chart svg { width: 100%; height: auto; display: block; }
.tp-chart-legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 10px; font-size: .85rem; color: var(--muted, #A7ACC2); }
.tp-leg { display: inline-flex; align-items: center; gap: 8px; }
.tp-leg-bar { width: 14px; height: 10px; border-radius: 2px; background: linear-gradient(180deg, #FFE97A, #FFB300); display: inline-block; }
.tp-leg-line { width: 18px; height: 0; border-top: 3px solid #B388FF; display: inline-block; }

.tp-status {
  display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800;
  border: 1px solid rgba(255,215,0,.6); color: #FFE97A; background: rgba(255,215,0,.1);
}
.tp-note { color: var(--muted, #A7ACC2); font-size: .9rem; line-height: 1.65; }
.tp-updated { color: var(--muted, #A7ACC2); font-size: .85rem; margin-top: 12px; font-variant-numeric: tabular-nums; }

/* Tokenomics allocation (stacked share bar + wider table). */
.tk-bar { display: flex; height: 28px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,215,0,.45); margin-top: 16px; box-shadow: 0 0 18px rgba(255,215,0,.08); }
.tk-seg { height: 100%; }
.tk-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: .88rem; color: var(--muted, #A7ACC2); }
.tk-leg-item { display: inline-flex; align-items: center; gap: 7px; }
.tk-dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; border: 1px solid rgba(255,255,255,.18); }
.tp-table.tk-table { min-width: 880px; }
.tk-live { font-weight: 700; color: var(--text, #EDEFF7); font-variant-numeric: tabular-nums; }
.tk-sub { display: block; margin-top: 6px; font-size: .85rem; color: var(--muted, #A7ACC2); line-height: 1.55; }
@media (max-width: 700px) { .tp-table.tk-table { min-width: 0; } }
.tp-copy-btn { margin-left: 8px; width: 28px; height: 28px; vertical-align: middle; border-radius: 8px; border: 1px solid var(--border, #39415F); background: rgba(255,255,255,.04); color: #A7ACC2; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.tp-copy-btn:hover { border-color: #c9a227; color: #e8c766; }
.tp-copy-btn.done { color: #4ade80; border-color: #4ade80; }
