* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #05070a; }
a { color: inherit; }

.energy-page {
  --background: #080a0e;
  --background-deep: #05070a;
  --surface: rgba(13, 17, 24, .84);
  --surface-strong: rgba(19, 24, 33, .92);
  --surface-soft: rgba(13, 18, 26, .72);
  --line: rgba(171, 185, 205, .18);
  --line-soft: rgba(171, 185, 205, .09);
  --text: #f6f8fb;
  --muted: #8f9baa;
  --muted-strong: #c2cad4;
  --green: #42dda0;
  --amber: #ffd166;
  --blue: #55b9f3;
  --violet: #9d7cf2;
  --magenta: #ee6eb9;
  --red: #ff6e85;
  background:
    linear-gradient(rgba(120, 146, 170, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 146, 170, .026) 1px, transparent 1px),
    radial-gradient(circle at 14% 9%, rgba(66, 221, 160, .055), transparent 26%),
    radial-gradient(circle at 86% 16%, rgba(238, 110, 185, .045), transparent 25%),
    #05070a;
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 9px 12px;
  transform: translateY(-150%);
  border-radius: 5px;
  color: #06110c;
  background: var(--green);
  font-size: 12px;
  font-weight: 750;
}
.skip-link:focus { transform: translateY(0); }

.energy-header {
  height: 92px;
  background: linear-gradient(180deg, rgba(5, 7, 10, .98), rgba(5, 7, 10, .9) 72%, transparent);
}
.energy-header::after { background: linear-gradient(180deg, rgba(5, 7, 10, .84), transparent); }

.energy-app-bar {
  min-height: 62px;
  background: rgba(8, 11, 16, .88);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .025);
}

.energy-brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  overflow: hidden;
  background: #0d1515;
  box-shadow: inset 0 0 0 1px rgba(66, 221, 160, .035), 0 0 24px rgba(66, 221, 160, .08);
}
.energy-brand-mark::after {
  position: absolute;
  right: 6px;
  bottom: 6px;
  left: 6px;
  height: 1px;
  background: rgba(66, 221, 160, .32);
  content: "";
}
.energy-brand-mark i {
  width: 3px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 8px rgba(66, 221, 160, .3);
}
.energy-brand-mark i:nth-child(1) { height: 9px; background: var(--amber); }
.energy-brand-mark i:nth-child(2) { height: 22px; }
.energy-brand-mark i:nth-child(3) { height: 14px; background: var(--magenta); }

.energy-brand strong { font-size: 14px; letter-spacing: 0; }
.energy-brand small { color: #7f8d9d; font-size: 10px; }
.energy-app-bar .valki-nav { height: 62px; }
.energy-app-bar .valki-nav a::after { background: linear-gradient(90deg, var(--green), var(--blue)); box-shadow: 0 0 14px rgba(66, 221, 160, .48); }
.energy-app-bar .valki-network-pulse::before { border-color: var(--green); filter: drop-shadow(0 0 5px rgba(66, 221, 160, .6)); }
.energy-app-bar .valki-network-pulse::after { border-color: rgba(85, 185, 243, .5); }

.energy-console-main {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 14px 0 36px;
}

.energy-eyebrow {
  margin: 0 0 10px !important;
  color: var(--green) !important;
  font-size: 10px !important;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#markets { scroll-margin-top: 104px; }
.energy-page .ve-livebar { display: none; }
.energy-page .ve-table-shell { background: rgba(8, 11, 16, .78); }
.energy-page .ve-table th { background: rgba(7, 9, 13, .95); }
.energy-page .ve-detail { border-top-color: rgba(66, 221, 160, .28); }
.energy-page .ve-segment[aria-pressed="true"] { background: rgba(66, 221, 160, .1); }
.energy-page .ve-sort-indicator { color: var(--green); }

.energy-method {
  margin-top: 42px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.6fr);
  gap: 48px;
}
.energy-method h2 { margin: 0; max-width: 360px; font-size: 24px; letter-spacing: 0; }
.energy-method dl { margin: 0; border-top: 1px solid var(--line-soft); }
.energy-method dl > div { min-height: 42px; border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 20px; }
.energy-method dt { color: var(--muted); font-size: 10px; }
.energy-method dd { margin: 0; color: var(--muted-strong); font-size: 11px; text-align: right; }
.energy-method a { color: var(--green); text-decoration: none; }
.energy-method a:hover { text-decoration: underline; }

.energy-console-footer {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 9px;
}

@media (max-width: 820px) {
  .energy-header { height: 130px; }
  .energy-console-main { width: min(100% - 28px, 1240px); padding-top: 0; }
  .energy-method { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 520px) {
  .energy-method dl > div { grid-template-columns: 88px 1fr; }
  .energy-console-footer { padding: 20px 0; display: block; line-height: 1.6; }
  .energy-console-footer span { display: block; margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
