/* Neon Techpriest visual system
   Site: neontechpriest.com, unofficial EVE Online fan reference.
   IP belongs to Fenris Creations (formerly CCP Games).

   Do not invent a new look. Do not add mouse trails, particles,
   parallax, 3D, games, or Games Workshop imagery.

   PALETTE only: bg #07060c, fg #e8e6f0, muted #8a8498,
   line #2a2436, accent #5eead4, hot #ff4fd8.

   TYPE
   - Titles / wordmarks: Orbitron 500, uppercase, tracking 0.16em,
     chromatic fringe on titles only.
   - Kickers / nav / indexes: Share Tech Mono. Kickers 12px.
     Nav / brand / idx 11px.
   - Body / lede: IBM Plex Sans, 15px, muted.
   - Do not scale html { font-size } to enlarge text. Set font-size
     on the text node only.

   ATMOSPHERE. CSS only, static, no JS, no cursor attachment.
   Splash page only: a left-side grid that fades out to the right.

   CHROME
   Header brand + nav, cyan/magenta/line hairline, HUD frames with
   corner ticks, disclaimer footer.

   INTERACTIVE
   Clickable items: pointer, fg color, 1px inset line.
   Hover / current / pressed: accent color + accent line.
   focus-visible: 1px accent outline.
   Static HUD rows use .hud-item (not buttons).
*/

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500&family=Orbitron:wght@400;500;600&family=Share+Tech+Mono&display=swap");

:root {
  --bg: #07060c;
  --fg: #e8e6f0;
  --muted: #8a8498;
  --line: #2a2436;
  --accent: #5eead4;
  --hot: #ff4fd8;
  --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, monospace;
  --font-display: "Orbitron", ui-sans-serif, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html, body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

.shell {
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column;
  min-height: 100dvh; width: min(100%, 48rem);
  margin: 0 auto; padding: 2.5rem 1.5rem;
}
.site-header {
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 1.5rem;
}
.brand {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--fg);
}
.nav {
  display: flex; gap: 1.25rem; align-items: baseline; flex-wrap: nowrap;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.nav-drop { position: relative; }
.nav-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 80;
  display: none;
  flex-direction: column;
  min-width: 8.5rem;
  padding-top: 0.4rem;
  background: transparent;
  border: 0;
}
.nav-drop:hover > .nav-menu,
.nav-drop:focus-within > .nav-menu { display: flex; }
.nav-menu a {
  display: block;
  padding: 0.55rem 0.9rem;
  background: #0c0b12;
  border: 1px solid var(--line);
  box-shadow: none;
  color: var(--fg);
}
.nav-menu a + a { border-top: 0; }
.nav-menu a:hover { color: var(--accent); }
.nav-menu a[aria-current="page"] {
  color: var(--accent);
  box-shadow: inset 0 -1px 0 var(--accent);
}

.hairline { display: flex; height: 1px; margin-top: 1rem; }
.hairline .c { width: 2.5rem; background: var(--accent); }
.hairline .m { width: 1rem; background: var(--hot); }
.hairline .rest { flex: 1; background: var(--line); }
main { display: flex; flex: 1; flex-direction: column; }
.site-footer {
  margin-top: 2.5rem; padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.disclaimer-kicker {
  margin: 0; font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--hot);
}
.disclaimer {
  margin: 0.25rem 0 0; max-width: 110ch;
  font-size: 9px; line-height: 1.4; color: var(--muted);
}
.kicker {
  margin: 0; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent);
}
.wordmark {
  margin: 0.3rem 0 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.15;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-shadow: -1.5px 0 rgb(255 79 216 / 0.7), 1.5px 0 rgb(94 234 212 / 0.7);
}
.lede {
  margin: 0.5rem 0 0; max-width: none;
  font-size: 15px; line-height: 1.45; color: var(--muted);
}
.page-title { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.hud-frame {
  position: relative; margin-top: 2rem;
  border: 1px solid var(--line);
}
.hud-frame::before, .hud-frame::after, .hud-tr, .hud-bl {
  position: absolute; width: 14px; height: 14px;
  pointer-events: none; content: "";
}
.hud-frame::before {
  top: -1px; left: -1px;
  border-top: 1px solid var(--accent); border-left: 1px solid var(--accent);
}
.hud-frame::after {
  right: -1px; bottom: -1px;
  border-right: 1px solid var(--hot); border-bottom: 1px solid var(--hot);
}
.hud-tr {
  top: -1px; right: -1px;
  border-top: 1px solid var(--hot); border-right: 1px solid var(--hot);
}
.hud-bl {
  bottom: -1px; left: -1px;
  border-bottom: 1px solid var(--accent); border-left: 1px solid var(--accent);
}
.hud-list { margin: 0; padding: 0; list-style: none; }
.hud-list li + li { border-top: 1px solid var(--line); }
.hud-list a, .hud-list button, .hud-item {
  display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 1.1rem;
  width: 100%; background: transparent; border: 0; text-align: left;
  color: inherit; font: inherit;
}
.hud-list .row { display: flex; align-items: baseline; gap: 0.75rem; }
.idx { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--hot); }
.hud-list .label {
  font-family: var(--font-display); font-size: 16px; letter-spacing: 0.14em;
  line-height: 1.35; text-transform: uppercase; color: var(--fg);
}
.note { padding-left: 2rem; font-family: var(--font-mono); font-size: 16px; color: var(--muted); }
.data-table { width: 100%; border-collapse: collapse; font-size: 18px; }
.data-table th, .data-table td {
  padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line);
  text-align: left; vertical-align: middle;
}
.data-table th {
  font-family: var(--font-mono); font-size: 12px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.data-table td { color: var(--fg); }
.data-table td:first-child { color: var(--fg); font-family: var(--font-mono); font-size: 16px; }
.data-table .muted-cell { color: var(--muted); font-size: 16px; }
.data-table .pri {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.data-table tr.critical { background: rgb(255 79 216 / 0.14); }
.data-table tr.critical .pri { color: var(--hot); }
.data-table tr.very { background: rgb(255 79 216 / 0.07); }
.data-table tr.very .pri { color: var(--hot); }
.data-table tr.high { background: rgb(94 234 212 / 0.07); }
.data-table tr.high .pri { color: var(--accent); }
article { padding: 1.35rem 0 3rem; }
.section,
.split {
  margin-top: 0;
  padding-top: 3rem;
}
.section > .page-title,
.split .page-title {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}
.section > .hud-frame,
.split .hud-frame { margin-top: 0.7rem; }
.meta {
  margin: 0.85rem 0 0;
  font-family: var(--font-mono); font-size: 16px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.meta b { color: var(--fg); font-weight: 400; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0;
  margin-top: 1.25rem;
}
.chip-row button {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0.35rem 0.9rem 0.35rem 0;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  box-shadow: inset 0 -1px 0 var(--line);
}
.chip-row button + button {
  margin-left: 0.9rem;
  padding-left: 0.9rem;
  border-left: 1px solid var(--line);
}
.table-wrap { overflow-x: auto; }
.dmg-set { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; }
.damage-icon { width: 22px; height: 22px; object-fit: contain; display: block; }
.damage-icon.minor { opacity: .45; }
.key-row {
  display: flex; flex-wrap: wrap; gap: 1.25rem; padding: 1rem 1.1rem;
  font-family: var(--font-mono); font-size: 14px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  align-items: center;
}
.key-row span { display: inline-flex; align-items: center; gap: 0.45rem; }

.clickable,
.brand,
.nav a,
.hud-list button {
  cursor: pointer;
  color: var(--fg);
}
.nav > a, .nav-drop > a, .brand {
  box-shadow: inset 0 -1px 0 var(--line);
}
.hud-list button { box-shadow: none; }
.hud-list button .label { box-shadow: inset 0 -1px 0 var(--line); }
.nav > a:hover,
.nav-drop > a:hover,
.brand:hover,
.chip-row button:hover,
.hud-list button:hover .label {
  color: var(--accent);
  box-shadow: inset 0 -1px 0 var(--accent);
}
.nav > a[aria-current="page"],
.nav-drop > a[aria-current="page"],
.chip-row button[aria-pressed="true"] {
  color: var(--accent);
  box-shadow: inset 0 -1px 0 var(--accent);
}
.hud-list button[aria-pressed="true"] .label {
  color: var(--accent);
  box-shadow: inset 0 -1px 0 var(--accent);
}
.hud-list button { position: relative; padding-right: 5.5rem; }
.hud-list button .hint {
  position: absolute;
  right: 1.1rem;
  top: 1.15rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hud-list button:hover .hint,
.hud-list button[aria-pressed="true"] .hint { color: var(--accent); }
.hud-item { cursor: default; }

@media (min-width: 900px) {
  .shell { width: min(100%, 72rem); padding: 3rem 2.25rem; }
  .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    padding-top: 3rem;
  }
  .data-table { font-size: 20px; }
}
@media (min-width: 1280px) {
  .shell { width: min(100%, 88rem); padding: 3.25rem 2.75rem; }
}
@media (min-width: 1600px) {
  .shell { width: min(100%, 104rem); }
  .data-table { font-size: 22px; }
}
@media (min-width: 1920px) {
  .shell { width: min(100%, 116rem); padding: 3.5rem 3rem; }
}
@media (min-width: 2560px) {
  .shell { width: min(100%, 132rem); }
  .data-table { font-size: 24px; }
}
@media (max-width: 640px) {
  .shell { padding: 2rem 1.25rem; }
  .site-header { flex-wrap: wrap; }
  .chip-row button + button {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
  .chip-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Splash only. Static grid, left-weighted, gone by the right edge. */
.splash-wash {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgb(94 234 212 / 0.13) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgb(255 79 216 / 0.09) 0 1px, transparent 1px 26px),
    radial-gradient(ellipse 50% 85% at 0% 42%, rgb(255 79 216 / 0.2), transparent 64%),
    radial-gradient(ellipse 38% 55% at 4% 100%, rgb(94 234 212 / 0.14), transparent 62%);
  background-size: 48px 100%, 100% 26px, auto, auto;
  animation: splash-drift 32s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / 0.7) 18%, rgb(0 0 0 / 0.22) 46%, transparent 70%);
  mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / 0.7) 18%, rgb(0 0 0 / 0.22) 46%, transparent 70%);
}
@keyframes splash-drift {
  to { background-position: 48px 0, 0 -26px, 0 0, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .splash-wash { animation: none; }
}
.points {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}
.points li {
  position: relative;
  margin: 0;
  padding: 0.45rem 0 0.45rem 1.15rem;
  color: var(--fg);
  font-size: 15px;
  line-height: 1.45;
}
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.55rem;
  height: 1px;
  background: var(--accent);
}
.points b {
  font-weight: 500;
}
.points span {
  display: block;
  color: var(--muted);
}
.config-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;
  row-gap: 3.5rem;
  margin-top: 0.7rem;
}
.config-board .wide { grid-column: 1 / -1; }
.config-card {
  border: 1px solid var(--line);
  padding: 0.85rem 0.95rem 1rem;
  background: #0c0b12;
}
.config-card .kicker { font-size: 11px; }
.config-card h3 {
  margin: 0.15rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.config-card p {
  margin: 0.2rem 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .config-board { grid-template-columns: 1fr; }
}

.shot .hud-frame { margin-top: 0.55rem; }
.shot-body { padding: 0.85rem 1rem 1rem; }
.field-label {
  margin: 0.75rem 0 0.3rem;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.field-label:first-child { margin-top: 0; }
.field-row { display: flex; gap: 0.75rem; align-items: flex-start; }
.field-value { flex: 1; margin: 0; color: var(--fg); font-size: 14px; line-height: 1.4; }
.hint { margin: 0.15rem 0 0.35rem; color: var(--muted); font-size: 13px; }
.mini, .jumps span, .chip {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 13px;
}
.mini { padding: 0.4rem 0.75rem; white-space: nowrap; }
.jumps { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.jumps span { padding: 0.35rem 0.55rem; }
.jumps .on, .mini.on { border-color: var(--accent); color: var(--accent); }
.jumps.stack { flex-direction: column; align-items: flex-start; margin-top: 0.55rem; }
.combo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 2rem;
  margin-top: 0.35rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 14px;
}
.caret { color: var(--muted); font-size: 11px; }
.chip { margin-top: 0.55rem; padding: 0.3rem 0.55rem; }
.slider-row { display: flex; align-items: center; gap: 0.75rem; }
.slider-row > div:first-child, .slider-row > .slider { flex: 1; }
.slider { position: relative; height: 2px; margin: 0.85rem 0; background: #3a3548; }
.slider i {
  position: absolute;
  top: -6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e8e6f0;
}
.readout { color: var(--accent); font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }
.watch-line { margin: 0.15rem 0; color: var(--fg); font-size: 14px; line-height: 1.45; }
.watch-line.dim { color: var(--muted); }
.config-board > div > .lede {
  margin-top: 0.9rem;
  font-size: 17px;
  line-height: 1.5;
  color: #c4c0d0;
}

/* Abyssal phone only. A window wider than 720px never uses this block. */
@media (max-width: 720px) {
  #factionFilter.chip-row {
    display: block;
    max-width: 100%;
    column-count: 2;
    column-gap: 1.25rem;
    column-fill: balance;
  }

  #factionFilter.chip-row button {
    display: block;
    width: 100%;
    margin: 0 0 0.45rem;
    padding: 0.3rem 0;
    border: 0;
    letter-spacing: 0.06em;
    white-space: normal;
    text-align: left;
    break-inside: avoid;
  }

  #factionFilter.chip-row button + button {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  #factions .table-wrap { overflow: visible; }

  #factions .data-table thead { display: none; }

  #factions .data-table,
  #factions .data-table tbody { display: block; width: 100%; }

  #factions .data-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 0.75rem;
    row-gap: 0.2rem;
    padding: 0.7rem 0.15rem;
    border-bottom: 1px solid var(--line);
  }

  #factions .data-table td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }

  #factions .data-table td:nth-child(1) { grid-column: 1; grid-row: 1; }
  #factions .data-table td:nth-child(2),
  #factions .data-table td:nth-child(3) { display: none; }
  #factions .data-table td:nth-child(4) { grid-column: 1; grid-row: 2; }
  #factions .data-table td.pri {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    text-align: right;
    white-space: nowrap;
  }

  #iconKey.key-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem 1.25rem;
  }
}
