/* Burn Address Block */
.burn-address-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.burn-coin-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.burn-coin-card.burn-coin-btc {
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.08) 0%, rgba(247, 147, 26, 0.02) 100%);
  border-color: rgba(247, 147, 26, 0.15);
}

.burn-coin-card.burn-coin-doge {
  background: linear-gradient(135deg, rgba(203, 166, 88, 0.08) 0%, rgba(203, 166, 88, 0.02) 100%);
  border-color: rgba(203, 166, 88, 0.15);
}

.burn-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

.burn-divider {
  display: none;
}
@media (min-width: 640px) {
  .burn-divider {
    display: block;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    align-self: stretch;
  }
}

.burn-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.burn-header-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.burn-header-icon.btc {
  background: rgba(247, 147, 26, 0.15);
  color: #f7931a;
}
.burn-header-icon.bnb {
  background: rgba(243, 186, 47, 0.15);
  color: #f3ba2f;
}
.burn-header-icon.doge {
  background: rgba(203, 166, 88, 0.15);
  color: #cba658;
}
.burn-header-name {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}
.burn-header-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-left: auto;
}

.burn-address-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
}
.burn-address-row .burn-addr {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.burn-address-row .burn-addr-short {
  display: none;
}
@media (max-width: 639px) {
  .burn-address-row .burn-addr {
    display: none;
  }
  .burn-address-row .burn-addr-short {
    display: inline;
  }
  .burn-stat {
    padding: 0.4rem 0.5rem;
  }
  .burn-header {
    flex-wrap: wrap;
  }
  .burn-header-sub {
    margin-left: 0;
    width: 100%;
    text-align: right;
  }
}
.burn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 0.75rem;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.burn-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.burn-btn.copied {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.3);
}

.burn-link-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  margin-top: 0.25rem;
  transition: color 0.2s;
}
.burn-link-sm:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}
.burn-link-sm i {
  font-size: 0.5rem;
}

.burn-stat {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0.625rem;
  padding: 0.5rem 0.625rem;
}
@media (min-width: 640px) {
  .burn-stat {
    padding: 0.625rem 0.75rem;
  }
}
.burn-stat-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.burn-stat-value {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
  min-width: 0;
}
.burn-stat-value.btc-accent {
  color: #f7931a;
}
.burn-stat-value.bnb-accent {
  color: #f3ba2f;
}
.burn-stat-value.doge-accent {
  color: #cba658;
}
.burn-stat-value-sm {
  font-weight: 600;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
}
.burn-balance-usd {
  font-size: 0.75rem;
  font-weight: 600;
  color: #22d3ee;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
  min-width: 0;
  text-align: right;
}

.burn-tx-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.75rem;
}
.burn-tx-hash {
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.burn-tx-amount {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6ee7b7;
  font-family: system-ui, -apple-system, sans-serif;
  overflow-wrap: break-word;
  min-width: 0;
}
.burn-tx-amount-usd {
  font-size: 0.7rem;
  font-weight: 500;
  color: #22d3ee;
  font-family: system-ui, -apple-system, sans-serif;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
  min-width: 0;
  text-align: right;
}
.burn-tx-date {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: system-ui, -apple-system, sans-serif;
  overflow-wrap: break-word;
  min-width: 0;
}

.burn-ecart {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
  min-width: 0;
}
.burn-ecart.up {
  color: #6ee7b7;
}
.burn-ecart.neutral {
  color: rgba(255, 255, 255, 0.4);
}
.burn-ecart.down {
  color: #fda4af;
}
.burn-ecart-usd {
  font-size: 0.7rem;
  font-weight: 500;
  color: #22d3ee;
  font-family: system-ui, -apple-system, sans-serif;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
  min-width: 0;
  text-align: right;
}

.doge-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.25rem;
}
.doge-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #cba658, #d4af37);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.burn-last-update {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.35);
  margin-left: auto;
}

.burn-refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 0.75rem;
  transition: background 0.2s, color 0.2s;
  margin-left: 0.5rem;
  flex-shrink: 0;
}
.burn-refresh-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.burn-refresh-btn.loading {
  animation: burn-spin 1s linear infinite;
}
@keyframes burn-spin {
  to {
    transform: rotate(360deg);
  }
}

.burn-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f43f5e;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: 999px;
  padding: 0.125rem 0.5rem;
  margin-left: 0.5rem;
}
.burn-badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f43f5e;
  animation: burn-pulse 2s ease-in-out infinite;
}
@keyframes burn-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.burn-error {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.5rem 0;
}

.burn-deaths-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  color: #f43f5e;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.burn-deaths-count {
  color: #f43f5e;
  font-weight: 800;
  font-size: 0.875rem;
}

/* ── Theme Light ── */
body.theme-light .burn-coin-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

body.theme-light .burn-coin-card.burn-coin-btc {
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.06) 0%, rgba(247, 147, 26, 0.01) 100%);
  border-color: rgba(247, 147, 26, 0.2);
}

body.theme-light .burn-coin-card.burn-coin-doge {
  background: linear-gradient(135deg, rgba(203, 166, 88, 0.06) 0%, rgba(203, 166, 88, 0.01) 100%);
  border-color: rgba(203, 166, 88, 0.2);
}

body.theme-light .burn-header-name {
  color: #0f172a;
}
body.theme-light .burn-header-sub {
  color: rgba(0, 0, 0, 0.55);
}
body.theme-light .burn-address-row {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.75);
}
body.theme-light .burn-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.6);
}
body.theme-light .burn-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}
body.theme-light .burn-btn.copied {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.3);
}

body.theme-light .burn-link-sm {
  color: rgba(0, 0, 0, 0.55);
}
body.theme-light .burn-link-sm:hover {
  color: rgba(0, 0, 0, 0.8);
}
body.theme-light .burn-stat-label {
  color: rgba(0, 0, 0, 0.55);
}
body.theme-light .burn-stat-value {
  color: #0f172a;
}
body.theme-light .burn-stat-value-sm {
  color: rgba(0, 0, 0, 0.55);
}
body.theme-light .doge-progress-bar {
  background: rgba(0, 0, 0, 0.08);
}
body.theme-light .burn-balance-usd {
  color: #ff8c00;
}
body.theme-light .burn-tx-hash {
  color: rgba(0, 0, 0, 0.65);
}
body.theme-light .burn-tx-amount {
  color: #047857;
}
body.theme-light .burn-tx-amount-usd {
  color: #ff8c00;
}
body.theme-light .burn-tx-date {
  color: rgba(0, 0, 0, 0.45);
}
body.theme-light .burn-ecart.neutral {
  color: rgba(0, 0, 0, 0.4);
}
body.theme-light .burn-ecart-usd {
  color: #ff8c00;
}
body.theme-light .burn-last-update {
  color: rgba(0, 0, 0, 0.4);
}
body.theme-light .burn-refresh-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.55);
}
body.theme-light .burn-refresh-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}
body.theme-light .burn-badge-live {
  color: #be123c;
  background: rgba(244, 63, 94, 0.08);
  border-color: rgba(244, 63, 94, 0.15);
}
body.theme-light .burn-badge-live::before {
  background: #be123c;
}
body.theme-light .burn-divider {
  background: rgba(0, 0, 0, 0.1);
}
body.theme-light .burn-error {
  color: rgba(0, 0, 0, 0.5);
}
