








.help-page { padding: 1em 0 3em; }
.help-header { margin-bottom: 2em; }
.help-header h1 {
  font-size: 2em;
  margin: 0 0 0.3em;
  color: var(--text);
  text-shadow: 0 0 12px rgba(56, 225, 255, 0.25);
}
.help-header h1::before {
  content: '⚙ ';
  color: var(--cyan);
}
.help-lead { color: var(--muted); line-height: 1.5; max-width: 720px; margin: 0; }

.help-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  padding: 1em;
  margin-bottom: 2em;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.help-toc a {
  font-size: 0.9em;
  padding: 0.3em 0.7em;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  color: var(--muted);
  text-decoration: none;
}
.help-toc a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.help-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.4em 1.6em;
  margin-bottom: 1.2em;
  scroll-margin-top: 1em;
}
.help-section h2 {
  color: var(--cyan);
  font-size: 1.25em;
  margin: 0 0 0.7em;
  letter-spacing: 0.01em;
}
.help-section p {
  line-height: 1.6;
  margin: 0 0 0.8em;
  color: var(--text);
}
.help-section p:last-child { margin-bottom: 0; }
.help-section strong { color: var(--magenta); }
.help-section em { color: var(--yellow); font-style: normal; }
.help-section ul { line-height: 1.7; padding-left: 1.3em; margin: 0 0 0.8em; }
.help-section ul li { color: var(--text); }

.help-section .h3-gap { margin-top: 18px; }


.help-section code { overflow-wrap: anywhere; }

.help-hint {
  color: var(--muted);
  font-size: 0.9em;
  line-height: 1.5;
  margin: 0 0 1em !important;
}

.help-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92em;
}
.help-table th, .help-table td {
  text-align: left;
  padding: 0.5em 0.7em;
  border-bottom: 1px solid var(--line);
}
.help-table th {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.help-table td:first-child { width: 8em; }
.help-table tr:last-child td { border-bottom: none; }


.help-table td { white-space: normal; overflow-wrap: anywhere; }


.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: var(--sp-s);
}


.catalog-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: var(--sp-s) var(--sp-m);
}
.catalog-card.weapon-catalog-card {
  border-color: rgba(255, 216, 74, 0.25);
}
.catalog-card.weapon-catalog-card.is-default {
  border-color: rgba(94, 255, 138, 0.35);
  background: rgba(94, 255, 138, 0.04);
}



.catalog-card--hexa {
  border-color: rgba(255, 69, 181, 0.30);
  background: rgba(255, 69, 181, 0.04);
}
.catalog-card--hexa .catalog-symbol {
  color: var(--magenta);
  text-shadow: 0 0 8px rgba(255, 69, 181, 0.4);
}
.catalog-card--tree {
  border-color: rgba(56, 225, 255, 0.30);
  background: rgba(56, 225, 255, 0.04);
}
.catalog-card--tree .catalog-symbol {
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(56, 225, 255, 0.4);
}
.catalog-card--ach {
  border-color: rgba(255, 216, 74, 0.30);
  background: rgba(255, 216, 74, 0.04);
}
.catalog-card--ach .catalog-symbol {
  color: var(--yellow);
  text-shadow: 0 0 8px rgba(255, 216, 74, 0.4);
}



.help-page .g-hexa  { color: var(--cur-hexa); }
.help-page .g-skill { color: var(--cur-skill); }
.help-page .g-wp    { color: var(--yellow); }
.help-page .g-cyan  { color: var(--cyan); }



.catalog-head {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  margin-bottom: var(--sp-2xs);
}

.catalog-symbol {
  color: var(--yellow);
  font-size: var(--fs-h3);
  min-width: 1.4em;
  text-align: center;
}
.catalog-symbol.weapon-symbol { color: var(--yellow); }



.catalog-symbol.weapon-symbol svg.wpn-icon, .build-weapon-glyph svg.wpn-icon {
  display: inline-block; vertical-align: middle; width: 1.35em; height: 1.35em; margin: -0.15em 0;
}
.catalog-symbol.weapon-symbol svg.wpn-icon { filter: drop-shadow(0 0 4px rgba(255, 216, 74, 0.4)); vertical-align: -0.2em; }
.build-weapon-glyph svg.wpn-icon { vertical-align: -0.2em; }



.catalog-symbol .credit-icon { width: 1.1em; height: 1.1em; vertical-align: -0.15em; }




.draw-btn svg.draw-icon {
  vertical-align: -0.28em;
  margin-right: 0.35em;
}

.catalog-label { font-weight: 600; color: var(--text); flex: 1; font-size: var(--fs-body); }
.catalog-tag {
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  background: rgba(94, 255, 138, 0.08);
  padding: 0.15em 0.5em;
  border-radius: 10px;
}

.catalog-desc {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: var(--fs-small);
  line-height: 1.45;
}








.help-page .build-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8em;
}
.help-page .build-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.9em 1em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.help-page .build-name {
  color: var(--magenta);
  font-weight: 600;
  font-size: 1.05em;
  text-shadow: 0 0 8px rgba(255, 69, 181, 0.25);
}
.help-page .build-meta { font-size: 0.85em; color: var(--muted); }
.help-page .build-weapon { color: var(--yellow); }











:where(.help-page) .build-sockets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
}
.build-sockets li {
  background: rgba(56, 225, 255, 0.06);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 0.2em 0.6em;
  font-size: 0.85em;
  color: var(--text);
}
.help-page .build-sym { color: var(--yellow); margin-right: 0.2em; }







:where(.help-page) .build-note {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 0.88em !important;
  line-height: 1.45;
}


.help-page .faq-list { margin: 0; }
.faq-list dt {
  color: var(--cyan);
  font-weight: 600;
  margin: 0 0 0.3em;
}
.faq-list dt::before {
  content: '› ';
  color: var(--magenta);
}
.faq-list dd {
  margin: 0 0 1.2em;
  padding-left: 1em;
  color: var(--text);
  line-height: 1.5;
  border-left: 2px solid var(--line);
}
.faq-list dd:last-child { margin-bottom: 0; }

.help-foot {
  text-align: center;
  margin-top: 2em;
  padding-top: 1.5em;
  border-top: 1px solid var(--line);
}



@media (max-width: 600px) {
  .help-toc { flex-direction: column; }
  .help-toc a { text-align: center; }
  .help-table { font-size: 0.85em; }
  .help-table th, .help-table td { padding: 0.4em 0.5em; }
  .help-table td:first-child { width: auto; }
}
