/* PKOIN supply page — mirrors the Blocknet supply page. */

.supply-hero .project-hero__copy h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }

.supply-hero__answer { max-width: 660px; }

.supply-hero__easy { color: #d5e2e8; }

.supply-live-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin-top: 20px;
}

.supply-live-grid > span {
  display: flex;
  flex-direction: column;
  padding: 14px 15px;
  border: 1px solid rgba(53, 189, 255, 0.2);
  border-radius: 14px;
  background: rgba(4, 12, 19, 0.72);
}

.supply-live-grid small {
  color: #7fa4b8;
  font-size: 0.55rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.supply-live-grid strong {
  margin-top: 8px;
  color: #eaf7fd;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1;
}

.supply-live-grid__capped strong { color: #55f5ac; }

.supply-live-grid__reward strong { color: #ffc857; }

.supply-overview-grid { display: grid; gap: 13px; margin-top: 18px; }

.supply-panel {
  padding: 24px;
  border: 1px solid rgba(53, 189, 255, 0.2);
  border-radius: 18px;
  background: rgba(4, 13, 19, 0.9);
}

.supply-panel__index {
  color: #35bdff;
  font-size: 0.6rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.supply-panel h2 {
  margin: 8px 0 0;
  color: #f2f6f8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.05;
}

.supply-panel p { margin: 11px 0 0; color: #9fb3bd; font-size: 0.95rem; line-height: 1.65; }

/* Network activity tiles */
.supply-act-sprite { display: none; }

.supply-activity {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.supply-act {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 205px;
  padding: 26px 18px 22px;
  overflow: hidden;
  border: 1px solid rgba(53, 189, 255, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.055), transparent 62%),
    linear-gradient(160deg, rgba(8, 22, 31, 0.94), rgba(3, 10, 15, 0.94));
  text-align: center;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.supply-act::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  opacity: 0.9;
  background: linear-gradient(90deg, transparent, var(--act, #35bdff), transparent);
}

.supply-act:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 189, 255, 0.45);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38);
}

.supply-act__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--act, #35bdff);
  background: radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.015) 72%);
  box-shadow: 0 0 0 1px currentColor, 0 0 30px -8px currentColor, inset 0 0 18px -8px currentColor;
}

.supply-act__icon svg { width: 23px; height: 23px; stroke-width: 2; }

.supply-act small {
  display: block;
  color: #8ea7b4;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.supply-act strong {
  display: block;
  margin-top: 9px;
  color: #f4fbff;
  font-family: Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.supply-act__meta { display: block; margin-top: 9px; color: #8298a4; font-size: 0.82rem; line-height: 1.45; }

.supply-act--cyan { --act: #35bdff; }
.supply-act--green { --act: #55f5ac; }
.supply-act--gold { --act: #ffc857; }
.supply-act--blue { --act: #6892ff; }
.supply-act--purple { --act: #a77bff; }

/* Hero issuance progress */
.supply-progress-hero {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding: 18px 20px 16px;
  border: 1px solid rgba(53, 189, 255, 0.2);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(7, 21, 29, 0.92), rgba(3, 10, 15, 0.95));
}

.supply-progress-hero__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }

.supply-progress-hero__eyebrow { color: #35bdff; font-size: 0.6rem; font-weight: 950; letter-spacing: 0.16em; text-transform: uppercase; }

.supply-progress-hero__badge { display: inline-flex; align-items: center; gap: 7px; color: #55f5ac; font-size: 0.56rem; font-weight: 950; letter-spacing: 0.14em; }

.supply-progress-hero__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55f5ac;
  box-shadow: 0 0 10px rgba(85, 245, 172, 0.8);
  animation: supply-pulse 2.4s ease-in-out infinite;
}

@keyframes supply-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.supply-progress-hero .supply-progress { margin-top: 26px; }

.supply-progress-hero__note { margin: 13px 0 0; color: #8399a5; font-size: 0.78rem; line-height: 1.6; }

.supply-progress-hero__note strong { color: #dbeff8; }

.supply-activity__note {
  margin: 13px 0 0;
  color: #7f96a2;
  font-size: 0.76rem;
  line-height: 1.55;
}

.supply-activity__note b,
.supply-activity__note strong { color: #55f5ac; }

.supply-progress { margin-top: 18px; }

.supply-progress__bar {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: rgba(53, 189, 255, 0.14);
}

.supply-progress__bar > i {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #35bdff, #55f5ac);
  box-shadow: 0 0 18px rgba(85, 245, 172, 0.5);
  transition: width 900ms ease;
}

.supply-progress__marks { position: absolute; inset: 0; pointer-events: none; }

.supply-progress__mark {
  position: absolute;
  top: -5px;
  bottom: -5px;
  width: 1px;
  background: rgba(255, 200, 87, 0.75);
}

.supply-progress__mark span {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffc857;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.supply-progress__legend { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: #8ea7b4; font-size: 0.72rem; }

.supply-table-wrapper { margin-top: 16px; overflow-x: auto; }

.supply-panel table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }

.supply-panel th,
.supply-panel td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

.supply-panel th { color: #bfe6f7; font-size: 0.66rem; font-weight: 950; letter-spacing: 0.1em; text-transform: uppercase; }

.supply-panel td { color: #a9bcc6; }
.supply-panel td:first-child { color: #e6f4fa; font-weight: 700; }
.supply-panel tr:last-child td { border-bottom: 0; }

.supply-panel tr.is-final td {
  color: #55f5ac;
  font-weight: 700;
  border-top: 1px solid rgba(85, 245, 172, 0.35);
}

.supply-highlights { display: grid; gap: 9px; margin-top: 16px; }

.supply-highlights p {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(53, 189, 255, 0.16);
  border-radius: 12px;
  background: rgba(53, 189, 255, 0.04);
  color: #a9bcc6;
  font-size: 0.86rem;
  line-height: 1.55;
}

.supply-highlights strong { color: #dbeff8; }
.supply-highlights b { color: #55f5ac; }

.supply-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 13px; }

.supply-chart {
  padding: 22px;
  border: 1px solid rgba(53, 189, 255, 0.19);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 0, rgba(85, 245, 172, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(7, 21, 29, 0.96), rgba(3, 9, 14, 0.98));
}

.supply-chart__eyebrow { color: #35bdff; font-size: 0.6rem; font-weight: 950; letter-spacing: 0.15em; }

.supply-chart h2 { margin: 7px 0 0; color: #f2f8fa; font-family: Georgia, serif; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.08; }

.supply-chart__stage { position: relative; min-height: 280px; margin-top: 14px; }

.supply-chart__stage canvas { display: block; width: 100% !important; height: 280px !important; }

.supply-chart--wide { grid-column: 1 / -1; }

.supply-chart__note { margin: 9px 0 0; color: #8ea7b4; font-size: 0.84rem; line-height: 1.55; }

.supply-chart__note b { color: #55f5ac; }

.supply-chart__stage--tall { min-height: 320px; }

.supply-chart__stage--tall canvas { height: 320px !important; }

.supply-chart__empty { margin: 0; color: #7f96a2; font-size: 0.84rem; }

.supply-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(53, 189, 255, 0.15);
  border-radius: 16px;
  background: rgba(4, 13, 19, 0.8);
}

.supply-source { display: flex; align-items: center; gap: 11px; }

.supply-source img { width: 30px; }

.supply-source strong { display: block; color: #dbeff8; font-size: 0.7rem; font-weight: 950; letter-spacing: 0.12em; }
.supply-source small { display: block; margin-top: 3px; color: #7f96a2; font-size: 0.72rem; }

.supply-downloads { display: flex; gap: 8px; }

.supply-downloads button {
  padding: 11px 15px;
  color: #04120d;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  border: 0;
  border-radius: 10px;
  background: #55f5ac;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(85, 245, 172, 0.16);
}

.supply-downloads button:hover { filter: brightness(1.06); }

@media (max-width: 1100px) {
  .supply-live-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .supply-activity { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .supply-chart-grid { grid-template-columns: 1fr; }
  .supply-activity { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .supply-live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supply-activity { grid-template-columns: 1fr; }
  .supply-progress-hero { padding: 16px 15px 14px; }
}
