/* ------- Tabs (top-level pages) ------- */

.tab-content.hidden { display: none; }

.nav-button.active {
  border-color: var(--neon-color, #888);
  color: #fff;
  text-shadow:
    0 0 4px var(--neon-color, #888),
    0 0 10px color-mix(in srgb, var(--neon-color, #888) 60%, transparent);
  box-shadow:
    0 0 4px color-mix(in srgb, var(--neon-color, #888) 50%, transparent),
    0 0 10px color-mix(in srgb, var(--neon-color, #888) 25%, transparent);
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.65;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.2));
  transition: opacity 0.15s ease, filter 0.15s ease;
  pointer-events: none;
}
.nav-button:hover .nav-icon {
  opacity: 0.9;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.45));
}
.nav-button.active .nav-icon {
  opacity: 1;
  filter:
    drop-shadow(0 0 3px var(--neon-color, #fff))
    drop-shadow(0 0 8px color-mix(in srgb, var(--neon-color, #fff) 65%, transparent));
}

/* ------- Glossary ------- */

.glossary-intro {
  padding: 18px 20px;
  background: #111;
  border: 1px solid #1f1f1f;
  border-radius: 6px;
  text-align: center;
  margin-top: 18px;
}
.glossary-intro-title {
  margin: 0 0 8px;
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 22px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 6px rgba(127, 209, 59, 0.6),
    0 0 14px rgba(127, 209, 59, 0.3);
}
.glossary-intro-text {
  margin: 0 auto;
  max-width: 760px;
  color: #bbb;
  font-size: 14px;
  line-height: 1.55;
}

.glossary-search {
  position: relative;
  margin: 16px 0 12px;
}
/* Hide the browser-native clear button on search inputs — we render our own
   custom "×" (.glossary-search-clear / .star-chart-search-clear), so the native
   one is a redundant second X. */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.glossary-search-input {
  width: 100%;
  padding: 12px 40px 12px 16px;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  color: #eee;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.glossary-search-input:focus {
  outline: none;
  border-color: #7fd13b;
  box-shadow: 0 0 0 2px rgba(127, 209, 59, 0.18);
}
.glossary-search-input::placeholder {
  color: #666;
}
.glossary-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #aaa;
  font-size: 18px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glossary-search-clear:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

.glossary-empty {
  padding: 24px;
  text-align: center;
  color: #888;
  font-size: 14px;
  background: #111;
  border: 1px dashed #2a2a2a;
  border-radius: 6px;
  margin-top: 8px;
}

/* Jargon term tooltips (auto-wrapped key terms) */
.term-tip {
  position: relative;
  border-bottom: 1px dotted rgba(255,255,255,0.45);
  cursor: help;
  outline: none;
}
.term-tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 250px;
  background: #1c1c22;
  color: #e8e8ee;
  border: 1px solid #3a3a42;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s;
  z-index: 60;
  pointer-events: none;
}
.term-tip::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: calc(100% + 3px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #3a3a42;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s;
  z-index: 60;
  pointer-events: none;
}
.term-tip:hover::after, .term-tip:focus::after,
.term-tip:hover::before, .term-tip:focus::before { opacity: 1; visibility: visible; }

/* Glossary index (TOC) */
.glossary-toc {
  --neon-color: #7fd13b;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 18px;
  margin: 0 0 22px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #131316 0%, #0e0e10 100%);
  border: 1px solid #232328;
  border-radius: 10px;
}
.glossary-toc:empty,
.glossary-toc.hidden { display: none; }
.glossary-toc-cat { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.glossary-toc-cat-label {
  font-family: 'Fredoka', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7fd13b;
}
.glossary-toc-links { display: flex; flex-direction: column; gap: 2px; }
.glossary-toc-link {
  text-align: left;
  background: none;
  border: 0;
  padding: 3px 6px;
  margin: 0;
  border-radius: 6px;
  color: #cfcfd6;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.glossary-toc-link:hover { background: rgba(127,209,59,0.12); color: #e8e8ee; }
.glossary-toc-link.is-soon { color: #8a8a92; }
.glossary-toc-link.is-soon::after { content: ' •'; color: #6a6a72; }

.glossary-sections {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  /* destaques [[...]] (.hl) usam var(--neon-color); no glossário ficam verdes pra
     casar com a temática. As cores explícitas do Status Effects não usam a var,
     então permanecem intactas. */
  --neon-color: #7fd13b;
}
/* não há `.hidden` global no site — regras por componente. A busca esconde
   seções/categorias sem resultado via estas regras. */
.glossary-section.hidden,
.glossary-category.hidden { display: none; }

.glossary-section {
  position: relative;
  background: linear-gradient(180deg, #131316 0%, #0e0e10 100%);
  border: 1px solid #232328;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
/* faixa de acento à esquerda — aparece no hover e quando aberta */
.glossary-section::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #7fd13b;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.glossary-section:hover {
  border-color: #34343c;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.glossary-section[open] {
  border-color: rgba(127, 209, 59, 0.35);
  box-shadow: 0 0 0 1px rgba(127, 209, 59, 0.12), 0 4px 18px rgba(0, 0, 0, 0.4);
}
.glossary-section[open]::before,
.glossary-section:hover::before { opacity: 1; }
.glossary-section-header {
  list-style: none;
  cursor: pointer;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
  transition: background 0.12s ease;
}
.glossary-section-header::-webkit-details-marker { display: none; }
.glossary-section-header:hover {
  background: rgba(127, 209, 59, 0.04);
}
.glossary-section-title {
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #f0f0f2;
  letter-spacing: 0.4px;
}
.glossary-section[open] > .glossary-section-header .glossary-section-title {
  color: #fff;
}
.glossary-section-caret {
  color: #888;
  font-size: 14px;
  transition: transform 0.18s ease, color 0.15s ease;
}
.glossary-section[open] > .glossary-section-header .glossary-section-caret {
  transform: rotate(180deg);
  color: #7fd13b;
}
.glossary-section-body {
  padding: 6px 20px 20px;
  color: #c2c2c2;
  font-size: 14px;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Seções "Em breve" (placeholders sem conteúdo ainda) — visual atenuado */
.glossary-section-soon .glossary-section-title { color: #9a9aa2; }
.glossary-section-soon:hover { border-color: #2c2c33; }
.glossary-soon {
  color: #777;
  font-style: italic;
  margin: 12px 0 2px;
}
.glossary-tag.tag-soon {
  background: rgba(255, 255, 255, 0.05);
  color: #9a9aa2;
  border-color: rgba(255, 255, 255, 0.12);
}

/* Destaque do termo buscado */
mark.glossary-hl {
  background: rgba(127, 209, 59, 0.28);
  color: #eaffd6;
  border-radius: 2px;
  padding: 0 1px;
}
.glossary-section-body p {
  margin: 12px 0;
}
.glossary-section-body strong {
  color: #fff;
}
.glossary-section-intro {
  color: #aaa;
  font-size: 13px;
  font-style: italic;
  margin: 12px 0 16px;
}

/* ------- Glossary category divider ------- */
.glossary-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 4px;
  padding: 0 2px;
}
.glossary-category::before,
.glossary-category::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #222;
}
.glossary-category-label {
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7fd13b;
  white-space: nowrap;
}

/* ------- Glossary section tags (Daily, Endgame, etc.) ------- */
.glossary-section-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.glossary-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(127, 209, 59, 0.1);
  color: #7fd13b;
  border: 1px solid rgba(127, 209, 59, 0.2);
  white-space: nowrap;
}
.glossary-tag.tag-weekly {
  background: rgba(74, 158, 255, 0.1);
  color: #4a9eff;
  border-color: rgba(74, 158, 255, 0.2);
}
.glossary-tag.tag-daily {
  background: rgba(74, 198, 220, 0.1);
  color: #4ac6dc;
  border-color: rgba(74, 198, 220, 0.2);
}
.glossary-tag.tag-endgame {
  background: rgba(255, 160, 60, 0.1);
  color: #ffa03c;
  border-color: rgba(255, 160, 60, 0.2);
}
.glossary-tag.tag-wip {
  background: rgba(214, 166, 74, 0.12);
  color: #d6a64a;
  border-color: rgba(214, 166, 74, 0.28);
}

/* ------- Glossary images ------- */
.glossary-figures {
  display: flex;
  gap: 12px;
  margin: 14px 0 4px;
}
.glossary-figure {
  flex: 1;
  min-width: 0;
}
.glossary-figure img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: top;
  border-radius: 5px;
  border: 1px solid #2a2a2a;
  display: block;
  background: #0a0a0a;
}
.glossary-figure figcaption {
  font-size: 11px;
  color: #666;
  text-align: center;
  margin-top: 5px;
  font-style: italic;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .glossary-figures {
    flex-direction: column;
  }
  .glossary-figure img {
    height: 130px;
  }
}
/* figuras de apoio menores (Star Chart) */
.glossary-figures-sm .glossary-figure img { height: 120px; }
/* grid 2 colunas (ex.: 4 prints do Circuito) */
.glossary-figures-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .glossary-figures-grid { grid-template-columns: 1fr; } }

/* ===== Star Chart glossary (timeline / junction / special / terms / tips) ===== */
.sc-gloss { margin-top: 6px; }
.sc-h {
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #7fd13b;
  margin: 22px 0 8px;
}
.sc-sub { font-size: 12px; color: #8a8a92; margin: 0 0 12px; font-style: italic; }
.sc-h-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sc-h-row .sc-h { margin-bottom: 8px; }
.sc-spoiler-toggle {
  flex: 0 0 auto;
  background: none;
  border: 1px solid rgba(184,136,255,.4);
  border-radius: 999px;
  color: #b888ff;
  font-size: 11px;
  padding: 3px 11px;
  cursor: pointer;
  transition: background .12s ease, border-color .12s ease;
}
.sc-spoiler-toggle:hover { background: rgba(184,136,255,.12); border-color: #b888ff; }

/* timeline */
.sc-timeline {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
}
.sc-tl-chip {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 74px;
  padding: 8px 4px 7px;
  background: linear-gradient(180deg, #15151a 0%, #0e0e12 100%);
  border: 1px solid #26262c;
  border-top: 2px solid var(--f, #5ec0e8);
  border-radius: 9px;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.sc-tl-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0,0,0,.4), 0 0 0 1px color-mix(in srgb, var(--f, #5ec0e8) 45%, transparent);
}
.sc-tl-img { width: 40px; height: 40px; object-fit: contain; }
.sc-tl-name { font-size: 11px; color: #eee; font-weight: 600; text-align: center; line-height: 1.1; }
.sc-tl-lv { font-size: 10px; color: var(--f, #9aa); font-variant-numeric: tabular-nums; }
.sc-tl-arrow { flex: 0 0 auto; color: #555; font-size: 16px; }

/* legenda de facções */
.sc-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 2px 0 4px; }
.sc-fac { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #b8b8c0; }
.sc-fac i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }

/* anatomia da junction */
.sc-jsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sc-jsteps-2 { grid-template-columns: repeat(2, 1fr); }
.sc-jstep {
  background: rgba(127,209,59,.05);
  border: 1px solid rgba(127,209,59,.18);
  border-radius: 9px;
  padding: 12px;
}
.sc-jstep-t { display: block; font-weight: 600; color: #cfeeb0; font-size: 13px; margin-bottom: 5px; }
.sc-jstep-d { display: block; font-size: 12.5px; color: #b6b6bd; line-height: 1.5; }

/* destinos especiais */
.sc-special { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sc-special-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1px solid #26262c;
  border-left: 3px solid var(--f, #b888ff);
  border-radius: 9px;
  overflow: hidden;
  background: #0e0e12;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.sc-special-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--f, #b888ff) 50%, #26262c); }
.sc-special-img { width: 100%; height: 70px; object-fit: cover; display: block; }
.sc-special-name { font-weight: 600; color: #fff; font-size: 13px; padding: 8px 10px 0; }
.sc-special-note { font-size: 11.5px; color: #9a9aa2; padding: 3px 10px 10px; line-height: 1.4; }
/* véu de spoiler nos destinos especiais */
.sc-special-veil {
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed rgba(184,136,255,.4);
  border-left: 3px solid #b888ff;
  background:
    repeating-linear-gradient(45deg, rgba(184,136,255,.06) 0 10px, transparent 10px 20px),
    #0e0e12;
  min-height: 120px;
}
.sc-special-veil .sc-veil-ico { font-size: 22px; opacity: .85; margin-top: 12px; }
.sc-special-veil .sc-special-note { color: #b888ff; }

/* termos-chave */
.sc-terms { margin: 0; display: grid; gap: 6px; }
.sc-term { display: grid; grid-template-columns: 130px 1fr; gap: 10px; align-items: baseline; }
.sc-term dt { font-weight: 600; color: #eaffd6; font-size: 13px; }
.sc-term dd { margin: 0; font-size: 12.5px; color: #b6b6bd; line-height: 1.5; }
/* recompensas: % logo após o nome (Sorties) */
.sc-terms-chance .sc-term { display: flex; align-items: baseline; gap: 8px; }
.sc-terms-chance .sc-term dt { flex: 0 0 auto; }
.sc-terms-chance .sortie-chance { color: #7fd13b; font-weight: 600; font-variant-numeric: tabular-nums; }
/* tiers de crítico (amarelo/laranja/vermelho) */
.crit-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.crit-tier {
  border: 1px solid #26262c;
  border-top: 3px solid var(--c, #e8c04a);
  border-radius: 9px;
  padding: 12px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c, #e8c04a) 12%, #111) 0%, #0e0e12 100%);
}
.crit-tier-name { font-family: 'Fredoka', 'Segoe UI', sans-serif; font-weight: 600; font-size: 13px; color: var(--c, #fff); }
.crit-tier-cc { font-size: 11px; color: var(--c, #999); opacity: 0.85; font-variant-numeric: tabular-nums; margin: 2px 0 6px; }
.crit-tier-d { font-size: 12px; color: #b6b6bd; line-height: 1.45; }
.crit-tier-ex { margin-top: 7px; font-size: 12px; font-weight: 600; color: var(--c, #fff); font-variant-numeric: tabular-nums; }
/* tabela de exemplos CD → multiplicador por tier */
.crit-ex-label { margin: 12px 0 2px; }
.crit-ex-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.crit-ex { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 0; }
.crit-ex th, .crit-ex td { padding: 6px 10px; text-align: left; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,0.07); }
.crit-ex th { font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #9a9aa2; }
.crit-ex td { color: #cfcfd6; font-variant-numeric: tabular-nums; }
.crit-ex th.ct-y, .crit-ex td.ct-y { color: #e8c04a; }
.crit-ex th.ct-o, .crit-ex td.ct-o { color: #e0823c; }
.crit-ex th.ct-r, .crit-ex td.ct-r { color: #d2483a; }
.crit-ex td.ct-y, .crit-ex td.ct-o, .crit-ex td.ct-r { font-weight: 600; }
@media (max-width: 600px) { .crit-tiers { grid-template-columns: 1fr; } }

/* Rotations (A/B/C) */
.rot-cycle { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 6px 0 4px; }
.rot-chip { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: #cfcfd6; }
.rot-chip.is-c { background: rgba(127,209,59,0.14); border-color: #7fd13b; color: #7fd13b; box-shadow: 0 0 14px rgba(127,209,59,0.25); }
.rot-arrow { color: #6a6a72; font-size: 14px; }
.rot-loop { color: #7fd13b; font-size: 18px; margin-left: 4px; }
.rot-repeat { margin: 0 0 4px; color: #9a9aa2; font-size: 12px; }
.rot-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 0; }
.rot-table th, .rot-table td { padding: 6px 10px; text-align: left; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,0.07); }
.rot-table th { font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #9a9aa2; }
.rot-table td { color: #cfcfd6; font-variant-numeric: tabular-nums; }
.rot-table td.rot-iv { color: #9a9aa2; }
.rot-table th.rot-c, .rot-table td.rot-c { color: #7fd13b; font-weight: 600; }

/* Mission types */
.mt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 4px 0 6px; }
.mt-card { display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); }
.mt-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; flex: none; }
.mt-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mt-name { font-weight: 600; color: #e8e8ee; font-size: 13px; }
.mt-desc { color: #b8b8c0; font-size: 12px; line-height: 1.4; }
.mt-note { color: #9a9aa2; font-size: 12px; margin: 8px 0 0; }

/* Forma & Orokin — item cards with in-game icons */
.forma-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; margin: 4px 0 6px; }
.forma-card { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); }
.forma-icon { width: 46px; height: 46px; flex: none; object-fit: contain; }
.forma-card-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.forma-card-name { font-weight: 600; color: #e8e8ee; font-size: 13px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.forma-badge { font-size: 10px; font-weight: 700; color: #7fd13b; background: rgba(127,209,59,0.12); border: 1px solid rgba(127,209,59,0.3); border-radius: 999px; padding: 1px 7px; }
.forma-card-desc { color: #b8b8c0; font-size: 12px; line-height: 1.4; }

/* Forma & Orokin — polarity types (wiki icons are black → invert to white) */
.pol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px 16px; margin: 4px 0 6px; }
.pol-item { display: flex; gap: 10px; align-items: center; }
.pol-icon { width: 26px; height: 26px; flex: none; object-fit: contain; filter: invert(1); opacity: 0.92; }
.pol-icon.is-light { filter: none; }
.pol-item-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pol-name { font-weight: 600; color: #e8e8ee; font-size: 12.5px; }
.pol-desc { color: #b8b8c0; font-size: 11.5px; line-height: 1.3; }

/* Reusable highlighted callout inside glossary sections */
.gloss-callout {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0 14px;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(127, 209, 59, 0.08);
  border: 1px solid rgba(127, 209, 59, 0.28);
  border-left-width: 3px;
}
.gloss-callout-ico { font-size: 17px; line-height: 1.4; flex: none; }
.gloss-callout-text { font-size: 13px; line-height: 1.45; color: #d6e8c8; }

/* Rivens — lifecycle triptych (veiled → challenge → unveiled) */
.riven-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0 12px; }
.riven-flow-fig { margin: 0; }
.riven-flow-fig img { width: 100%; aspect-ratio: 563 / 842; object-fit: cover; object-position: center; display: block; border-radius: 8px; border: 1px solid #26262c; cursor: zoom-in; }
.gloss-link { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: var(--neon-color, #6ee787); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.gloss-link:hover { filter: brightness(1.25); }
.gloss-ico { width: 17px; height: 17px; vertical-align: -4px; margin: 0 1px; object-fit: contain; }
.archon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0 10px; }
.archon-card { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #15151b; border: 1px solid #2a2a32; border-top: 2px solid var(--ac, #6ee787); }
.archon-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; cursor: zoom-in; }
.archon-card-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 10px; display: flex; flex-direction: column; align-items: center; gap: 3px; background: linear-gradient(to top, rgba(0,0,0,0.94) 24%, rgba(0,0,0,0.55) 64%, transparent); }
.archon-name { font-weight: 700; font-size: 15px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.85); }
.archon-shard { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--ac, #6ee787); text-shadow: 0 1px 3px rgba(0,0,0,0.85); }
.archon-shard img { width: 16px; height: 16px; object-fit: contain; }
@media (max-width: 560px) { .archon-grid { gap: 6px; } .archon-name { font-size: 12.5px; } .archon-shard { font-size: 10px; gap: 3px; } }
.gloss-rew-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.gloss-rew { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; background: #15151b; border: 1px solid #24242c; }
.gloss-rew-ico { width: 26px; height: 26px; object-fit: contain; flex: none; }
.gloss-rew-name { font-size: 13px; color: #d8d8e0; }
.gloss-rew-pct { font-size: 12.5px; font-weight: 700; color: #9a9aa4; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gloss-rew.is-guaranteed { border-color: #3a5d44; background: linear-gradient(90deg, rgba(110,231,135,0.10), #15151b); }
.gloss-rew.is-guaranteed .gloss-rew-pct { color: #6ee787; }

/* Arcanos — grid de cards, slots em pills, ranks visuais, fontes em lista */
.arc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 4px 0; }
.arc-card { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px; background: #15151b; border: 1px solid #24242c; }
.arc-card-ico { width: 42px; height: 42px; object-fit: contain; flex: none; }
.arc-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.arc-card-name { font-weight: 700; font-size: 13px; color: #fff; }
.arc-card-eff { font-size: 11.5px; color: #b0b0b8; line-height: 1.35; }
.arc-slots { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; }
.arc-slot { font-size: 11.5px; color: #c8c8d0; background: #15151b; border: 1px solid #24242c; border-radius: 999px; padding: 4px 11px; }
.arc-slot b { color: #fff; font-weight: 700; }
.arc-ranks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin: 4px 0; }
.arc-rank { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 8px; background: #15151b; border: 1px solid #24242c; }
.arc-rank-n { font-weight: 800; font-size: 17px; color: var(--neon-color, #7fd13b); font-variant-numeric: tabular-nums; line-height: 1; }
.arc-rank-l { font-size: 9px; color: #9a9aa4; text-transform: uppercase; letter-spacing: 0.5px; }
.arc-rank-tot { font-size: 9.5px; color: #7a7a82; font-variant-numeric: tabular-nums; }
.arc-src-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.arc-src { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; padding: 7px 11px; border-radius: 8px; background: #15151b; border: 1px solid #24242c; }
.arc-src-where { font-weight: 700; font-size: 12.5px; color: #fff; }
.arc-src-gives { font-size: 11.5px; color: #9a9aa4; }
@media (max-width: 560px) { .arc-grid { grid-template-columns: 1fr; } .arc-ranks { grid-template-columns: repeat(3, 1fr); } }

/* Helminth — nota de preferências (setas) */
.helm-pref { background: #15151b; border: 1px solid #24242c; border-radius: 9px; padding: 11px 13px; margin: 4px 0 10px; }
.helm-pref-intro { margin: 0 0 8px; font-size: 12px; color: #c0c0c8; line-height: 1.4; }
.helm-pref-rows { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.helm-pref-row { font-size: 12px; color: #d2d2da; display: inline-flex; align-items: center; gap: 5px; }
.helm-arrow { font-weight: 800; font-size: 12px; line-height: 1; }
.helm-arrow.up { color: #5fc26a; }
.helm-arrow.down { color: #e0685a; }
.helm-arrow.neu { color: #9a9aa4; }
.helm-pref-extra { margin: 8px 0 0; font-size: 11.5px; color: #9a9aa4; line-height: 1.4; }

/* Helminth — 6 secreções como botões; modal com a lista completa de materiais */
.helm-sec-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 4px 0 0; }
.helm-sec-btn { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 6px; border-radius: 9px; background: #15151b; border: 1px solid #24242c; color: #d8d8e0; font: inherit; cursor: pointer; }
.helm-sec-btn img { width: 30px; height: 30px; object-fit: contain; }
.helm-sec-btn span { font-size: 11px; font-weight: 600; }
.helm-sec-btn:hover { border-color: var(--neon-color, #7fd13b); color: #fff; }
@media (max-width: 560px) { .helm-sec-row { grid-template-columns: repeat(3, 1fr); } }
.helm-sec-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 20px; }
.helm-sec-modal.hidden { display: none; }
.helm-sec-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }
.helm-sec-modal-content { position: relative; width: 600px; max-width: 100%; max-height: calc(100vh - 40px); overflow-y: auto; background: #111114; border: 1px solid #2a2a32; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); padding: 18px 20px 20px; text-align: center; }
.helm-sec-modal-close { position: absolute; top: 8px; right: 12px; background: none; border: 0; color: #aaa; font-size: 24px; line-height: 1; cursor: pointer; }
.helm-sec-modal-close:hover { color: #fff; }
.helm-sec-modal-ico { width: 104px; height: 104px; object-fit: contain; margin: 6px auto 4px; display: block; }
.helm-sec-modal-title { margin: 0; font-size: 20px; color: #fff; }
.helm-sec-modal-sub { margin: 2px 0 14px; font-size: 11.5px; color: #9a9aa4; }
.helm-sec-modal-mats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; text-align: left; }
.helm-mat { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 7px; background: #17171d; border: 1px solid #232330; }
.helm-mat-ico { width: 24px; height: 24px; object-fit: contain; flex: none; }
.helm-mat-name { flex: 1; min-width: 0; font-size: 11.5px; color: #d2d2da; line-height: 1.25; }
.helm-mat-2x { font-size: 9px; font-weight: 700; color: #7fd13b; border: 1px solid #3a5d44; border-radius: 4px; padding: 0 3px; flex: none; }
.helm-mat-qty { font-size: 11.5px; font-weight: 700; color: #c8c8d0; font-variant-numeric: tabular-nums; white-space: nowrap; flex: none; }
.helm-mat.is-link { cursor: pointer; font: inherit; text-align: left; width: 100%; }
.helm-mat.is-link:hover { border-color: var(--neon-color, #7fd13b); }

/* Helminth — grid de cards de habilidades subsumíveis (frame · habilidade · materiais) */
.helm-sub { margin-top: 4px; }
.helm-sub > summary { cursor: pointer; font-size: 13px; color: var(--neon-color, #7fd13b); font-weight: 600; padding: 6px 0; }
.helm-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.helm-card { display: flex; flex-direction: column; gap: 6px; padding: 9px; border-radius: 10px; background: #15151b; border: 1px solid #24242c; cursor: pointer; font: inherit; text-align: center; }
.helm-card:hover { border-color: var(--neon-color, #7fd13b); }
.helm-card-frame { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #0e0e12; border-radius: 7px; }
.helm-card-name { font-size: 13.5px; font-weight: 700; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.helm-card-alt { display: inline-flex; align-items: center; gap: 3px; font-size: 9px; font-weight: 800; letter-spacing: 0.5px; color: #d6a64a; background: rgba(214, 166, 74, 0.12); border: 1px solid #5a4a26; border-radius: 5px; padding: 1px 6px; cursor: help; }
.helm-card-alt img { width: 13px; height: 13px; object-fit: contain; }
.helm-card-skill { display: flex; flex-direction: column; gap: 3px; }
.helm-card-ability { display: flex; align-items: center; justify-content: center; gap: 7px; }
.helm-card-ab-ico { width: 30px; height: 30px; object-fit: contain; flex: none; }
.helm-card-ab-name { font-size: 12px; font-weight: 700; color: var(--neon-color, #7fd13b); line-height: 1.2; }
.helm-card-desc { font-size: 10.5px; color: #a8a8b0; line-height: 1.35; text-align: left; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.helm-card-mats { margin-top: auto; display: flex; flex-direction: column; gap: 5px; border: 1px solid #232330; border-radius: 7px; padding: 6px 7px; text-align: left; }
.helm-cost-row { display: flex; flex-direction: column; gap: 2px; }
.helm-cost-lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; color: #8a8a92; }
.helm-cost { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #d2d2da; font-variant-numeric: tabular-nums; }
.helm-cost-ico { width: 17px; height: 17px; object-fit: contain; flex: none; }
.helm-cost-nm { flex: 1; min-width: 0; }
.helm-cost-pct { font-weight: 700; }
@media (max-width: 1000px) { .helm-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .helm-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .helm-cards { grid-template-columns: 1fr; } }

/* Arquétipos — marcador da habilidade subsumível na aba + nota no painel */
.ability-tab-helm { width: 14px; height: 14px; object-fit: contain; vertical-align: -2px; margin-right: 4px; }
.ability-subsume-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; padding: 10px 12px; border-radius: 9px; background: rgba(127, 209, 59, 0.08); border: 1px solid #2f4a22; }
.ability-subsume-note img { width: 26px; height: 26px; object-fit: contain; flex: none; }
.ability-subsume-note span { font-size: 12.5px; color: #c8d6c0; line-height: 1.45; }
.ability-subsume-note b { color: #fff; }
@media (max-width: 560px) { .helm-sec-modal-mats { grid-template-columns: repeat(2, 1fr); } }
.riven-flow-fig figcaption { margin-top: 6px; text-align: center; display: flex; flex-direction: column; gap: 1px; }
.riven-flow-t { font-weight: 600; font-size: 12.5px; color: #d2b8ff; }
.riven-flow-d { font-size: 11.5px; color: #b8b8c0; line-height: 1.3; }
@media (max-width: 560px) { .riven-flow { grid-template-columns: 1fr; } }

/* Rivens — disposition dots */
.riven-disp { display: flex; flex-direction: column; gap: 3px; margin: 2px 0 10px; }
.riven-disp-row { display: flex; gap: 11px; align-items: baseline; font-size: 12.5px; }
.riven-disp-dots { font-family: monospace; letter-spacing: 2px; color: #b888ff; font-size: 13px; flex: none; }
.riven-disp-t { color: #b8b8c0; }

/* Rivens — unveiling challenges (expandable + chips) */
.riven-chal { margin: 2px 0 6px; }
.riven-chal > summary { cursor: pointer; list-style: none; font-size: 12.5px; font-weight: 600; color: #b888ff; }
.riven-chal > summary::-webkit-details-marker { display: none; }
.riven-chal > summary::before { content: '▸ '; }
.riven-chal[open] > summary::before { content: '▾ '; }
.riven-chal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 8px; }
.riven-chal-chip { text-align: left; font: inherit; font-size: 12px; line-height: 1.3; color: #d2d2d6; background: rgba(184,136,255,0.06); border: 1px solid rgba(184,136,255,0.2); border-radius: 8px; padding: 8px 10px; cursor: pointer; transition: background .12s, border-color .12s; }
.riven-chal-chip:hover { background: rgba(184,136,255,0.14); border-color: rgba(184,136,255,0.5); }
@media (max-width: 680px) { .riven-chal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .riven-chal-grid { grid-template-columns: 1fr; } }

/* Rivens — challenge modal */
.riven-chal-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.riven-chal-modal.hidden { display: none; }
.riven-chal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.72); }
.riven-chal-box { position: relative; z-index: 1; width: 100%; max-width: 460px; background: linear-gradient(180deg, #16131c 0%, #0e0c12 100%); border: 1px solid #34294a; border-radius: 14px; padding: 20px 22px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.riven-chal-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: #9a9aa2; font-size: 22px; line-height: 1; cursor: pointer; }
.riven-chal-close:hover { color: #fff; }
.riven-chal-modal-title { margin: 0 24px 10px 0; font-size: 16px; color: #e8d9ff; }
.riven-chal-tip { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: #cfcfd6; }
.riven-chal-frames.hidden, .riven-chal-place.hidden { display: none; }
.riven-chal-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #8a8a92; margin-bottom: 6px; }
.riven-chal-frame-row { display: flex; flex-wrap: wrap; gap: 8px; }
.riven-frame { display: flex; align-items: center; gap: 6px; font: inherit; font-size: 12px; color: #e8e8ee; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; padding: 3px 10px 3px 4px; cursor: pointer; }
.riven-frame:hover { background: rgba(184,136,255,0.16); border-color: rgba(184,136,255,0.5); }
.riven-frame img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.riven-chal-place { margin-top: 12px; }
.riven-place { font: inherit; font-size: 12.5px; color: #7fb8d4; background: rgba(127,184,212,0.1); border: 1px solid rgba(127,184,212,0.3); border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.riven-place:hover { background: rgba(127,184,212,0.2); }

/* Modding — annotated UI figure + color legend */
.mod-ui-fig { margin: 4px 0 10px; }
.mod-ui-fig img { width: 100%; height: auto; display: block; border-radius: 8px; border: 1px solid #26262c; cursor: zoom-in; }
.mod-ui-fig figcaption { margin-top: 5px; font-size: 11px; color: #8a8a92; text-align: center; }
.mod-legend { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px 16px; }
.mod-legend-item { display: flex; gap: 8px; font-size: 12.5px; line-height: 1.4; color: #b8b8c0; }
.mod-legend-item b { color: #e8e8ee; font-weight: 600; }
.mod-legend-dot { width: 11px; height: 11px; border-radius: 3px; margin-top: 4px; flex: none; box-shadow: 0 0 6px currentColor; }

/* Modding — polarity demo (3 states of the same mod) */
.mod-pol-demo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0 10px; }
.mod-pol-fig { margin: 0; }
.mod-pol-fig img { width: 100%; height: auto; display: block; border-radius: 8px; border: 1px solid #26262c; cursor: zoom-in; }
.mod-pol-fig figcaption { margin-top: 6px; font-size: 12px; line-height: 1.4; color: #b8b8c0; text-align: center; }
.mod-pol-fig figcaption.is-match { color: #7fce8a; }
.mod-pol-fig figcaption.is-miss { color: #e0857c; }
@media (max-width: 560px) { .mod-pol-demo { grid-template-columns: 1fr; } }

/* Status Effects — elemental combination order */
.el-ord-demo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0 12px; }
.el-ord-fig { margin: 0; }
.el-ord-fig img { width: 100%; height: auto; display: block; border-radius: 8px; border: 1px solid #26262c; cursor: zoom-in; }
.el-ord-fig figcaption { margin-top: 6px; text-align: center; line-height: 1.35; }
.el-ord-order { display: block; font-size: 11.5px; color: #9a9aa2; }
.el-ord-res { display: block; font-size: 13px; color: #cfcfd6; }
.el-combos-h { margin-top: 28px; }
.el-combos { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 5px 16px; }
.el-combo { font-size: 13px; color: #b8b8c0; }
.el-search-demo { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
@media (max-width: 560px) { .el-ord-demo { grid-template-columns: 1fr; } }

/* cards dos sindicatos de facção */
.syn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.syn-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--c, #7fd13b);
  border-radius: 9px;
  padding: 12px 14px;
  background: var(--bg, #111);   /* cor de fundo oficial do sindicato */
}
.syn-card-head { display: flex; align-items: flex-start; gap: 11px; }
.syn-card-icon { width: 42px; height: 42px; object-fit: contain; flex: 0 0 auto; }
.syn-card-htext { min-width: 0; }
.syn-card-name {
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--c, #fff);
}
.syn-card-desc { font-size: 12px; color: var(--c, #b0b0b8); opacity: 0.82; line-height: 1.45; margin: 3px 0 0; }
.syn-rels { margin-top: 9px; }
.syn-rels { display: flex; flex-direction: column; gap: 3px; }
.syn-rel { display: flex; align-items: baseline; gap: 8px; font-size: 11.5px; }
.syn-rel-k { flex: 0 0 110px; font-weight: 600; }
.syn-rel-v { color: #d2d2d6; }
.syn-rel--ally  .syn-rel-k { color: #7fd13b; }
.syn-rel--opp   .syn-rel-k { color: #c9b063; }
.syn-rel--enemy .syn-rel-k { color: #e07b8a; }

/* "Warframes com augments aqui" — lista expansível no card do sindicato */
.syn-aug { margin-top: 10px; border-top: 1px solid color-mix(in srgb, var(--c, #7fd13b) 22%, transparent); padding-top: 8px; }
.syn-aug > summary {
  cursor: pointer;
  list-style: none;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--c, #cfcfd6);
  opacity: 0.92;
}
.syn-aug > summary::-webkit-details-marker { display: none; }
.syn-aug > summary::before { content: '▸ '; }
.syn-aug[open] > summary::before { content: '▾ '; }
.syn-aug-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.syn-aug-row { display: flex; gap: 8px; font-size: 11.5px; line-height: 1.35; }
.syn-aug-frame { flex: 0 0 92px; font-weight: 600; color: #e8e8ee; }
.syn-aug-mods { color: #b8b8c0; }
@media (max-width: 600px) {
  .syn-grid { grid-template-columns: 1fr; }
  .syn-aug-row { flex-direction: column; gap: 0; }
  .syn-aug-frame { flex: none; }
}

/* callout full-width (ex.: teste de Mastery) */
.sc-jstep-full { margin-bottom: 4px; }

/* MR — cards de "como você ganha" */
.mr-earn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mr-earn-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: linear-gradient(180deg, #15151a 0%, #0e0e12 100%);
  border: 1px solid #26262c;
  border-top: 2px solid #7fd13b;
  border-radius: 9px;
}
.mr-earn-xp {
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #7fd13b;
  line-height: 1;
}
.mr-earn-xp::after { content: ' XP'; font-size: 11px; color: #6f8a4e; font-weight: 600; }
.mr-earn-t { font-weight: 600; color: #fff; font-size: 13px; }
.mr-earn-d { font-size: 12px; color: #b0b0b8; line-height: 1.5; }
/* Nightwave: número grande (Standing) sem o sufixo fixo " XP" do MR */
.nw-stat { font-family: 'Fredoka', 'Segoe UI', sans-serif; font-size: 24px; font-weight: 700; color: #7fd13b; line-height: 1; }
.nw-unit { font-size: 11px; color: #6f8a4e; font-weight: 600; }

/* linha de bônus positivo (ex.: Percurso de Aço drop chance) */
.sp-bonus {
  margin: 8px 0 0;
  padding: 9px 12px;
  background: rgba(127, 209, 59, 0.08);
  border: 1px solid rgba(127, 209, 59, 0.25);
  border-radius: 8px;
  color: #cfeeb0;
  font-size: 12.5px;
  line-height: 1.5;
}

/* dicas */
.sc-tips { margin: 4px 0 0; padding-left: 18px; }
.sc-tips li { font-size: 13px; color: #c2c2c2; line-height: 1.6; margin: 4px 0; }

/* CTA */
.sc-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 11px 20px;
  background: linear-gradient(180deg, rgba(127,209,59,.18), rgba(127,209,59,.08));
  border: 1px solid rgba(127,209,59,.45);
  border-radius: 8px;
  color: #cfeeb0;
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.sc-cta:hover {
  background: linear-gradient(180deg, rgba(127,209,59,.28), rgba(127,209,59,.14));
  box-shadow: 0 0 16px rgba(127,209,59,.25);
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .sc-jsteps { grid-template-columns: 1fr; }
  .sc-term { grid-template-columns: 100px 1fr; }
  .mr-earn { grid-template-columns: 1fr; }
}

/* ------- Lightbox (glossary image viewer) ------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox-modal.hidden { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lightbox-img {
  position: relative;
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #333;
  background: rgba(20, 20, 20, 0.9);
  color: #ccc;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
  transition: background 0.15s, color 0.15s;
}
.lightbox-close:hover { background: #222; color: #fff; }

.glossary-figure img { cursor: zoom-in; }

/* ------- Quest section (inside Glossary — Progressão) ------- */

.quest-arcs {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 8px 0 4px;
}

.quest-arc-section { }

.quest-arc-header {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #7fd13b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #2a2040;
}

.quest-subarc-label {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 14px 0 8px;
}

.quest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quest-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
  background: #0d0d0d;
  border: 1px solid #2a2040;
  transition: border-color 0.18s, transform 0.15s, box-shadow 0.18s;
  outline: none;
}
.quest-card:hover,
.quest-card:focus-visible {
  border-color: #7fd13b;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(127,209,59,0.25);
}

.quest-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform 0.3s;
}
.quest-card:hover .quest-card-img,
.quest-card:focus-visible .quest-card-img {
  transform: scale(1.04);
}

.quest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 8px 10px;
}

.quest-card-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* Quest modal */

.quest-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}
.quest-modal.hidden { display: none; }

.quest-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
}

.quest-modal-content {
  position: relative;
  width: min(540px, 94vw);
  max-height: 90vh;
  background: #0f0f14;
  border: 1px solid #2a2040;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 48px rgba(0,0,0,0.7);
  animation: modal-in 0.18s ease-out;
}

.quest-modal-banner {
  width: 100%;
  height: auto;          /* preenche a largura toda no aspecto natural — sem corte */
  max-height: 460px;
  object-fit: contain;   /* fallback p/ imagens muito altas (retrato) */
  display: block;
  background: #0d0d0d;
  flex-shrink: 0;
}

.quest-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 10px;
  flex-shrink: 0;
}

.quest-modal-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #eaffd6;
  margin: 0;
  line-height: 1.2;
}

.quest-modal-close {
  background: none;
  border: 1px solid #333;
  color: #888;
  font-size: 1.2rem;
  line-height: 1;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.quest-modal-close:hover { background: #222; color: #fff; }

.quest-modal-body {
  overflow-y: auto;
  padding: 0 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quest-modal-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.quest-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #0a0a10;
  border: 1px solid #1e1e2e;
  border-radius: 8px;
  padding: 10px 14px;
}

.quest-meta-row {
  display: flex;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.4;
}

.quest-meta-label {
  color: #888;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 90px;
}

.quest-meta-value {
  color: #ccc;
}

.quest-modal-desc {
  font-size: 0.88rem;
  color: #b0b0b0;
  line-height: 1.6;
  margin: 0;
}

/* ------- Quest reward grid (in-game completion style) ------- */
.quest-rewards {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.quest-rewards.hidden { display: none; }
.quest-rewards-label {
  display: block;
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7fd13b;
  margin-bottom: 12px;
}
.quest-rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
}
.quest-reward-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid #26262c;
  border-radius: 8px;
  background-color: #0d0d11;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;     /* imagem completa dentro do quadrado */
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.quest-reward-cell:hover {
  border-color: rgba(127, 209, 59, 0.45);
  transform: translateY(-2px);
}
.quest-reward-name {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 18px 6px 7px;
  /* gradiente preto no rodapé pra dar contraste ao texto sobre a imagem */
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 55%, transparent 100%);
  font-size: 11px;
  line-height: 1.2;
  color: #fff;
  text-align: center;
}
.quest-reward-legacy {
  font-size: 0.85rem;
  color: #b0b0b0;
  margin: 0;
}
/* célula de "desbloqueio" (recompensa genérica sem item/ícone, ex.: Access to Deepmines) */
/* empilha o ✦ em cima e o nome embaixo, centralizados — nome longo não cobre o diamante */
.quest-reward-cell.quest-reward-unlock {
  background-color: rgba(127, 209, 59, 0.05);
  border-style: dashed;
  border-color: #33402a;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px;
}
.quest-reward-cell.quest-reward-unlock::before {
  content: '✦';
  position: static;
  transform: none;
  flex: none;
  font-size: 20px;
  line-height: 1;
  color: #7fd13b;
  opacity: 0.75;
}
.quest-reward-cell.quest-reward-unlock .quest-reward-name {
  background: none;
  padding: 0;
  color: #cdd6c4;
  font-size: 10px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* lista de pré-requisitos (seção Requirements da wiki) */
.quest-meta-row:has(.quest-req-list) { align-items: flex-start; }
.quest-req-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.quest-req-list li {
  position: relative;
  padding-left: 14px;
  color: #ccc;
  font-size: 0.85rem;
  line-height: 1.4;
}
.quest-req-list li::before {
  content: '›';
  position: absolute;
  left: 2px;
  color: #7fd13b;
}

@media (max-width: 600px) {
  .quest-grid { grid-template-columns: repeat(2, 1fr); }
  .quest-modal-banner { max-height: 300px; }
}

/* ------- Status Effects (inside Glossary section) ------- */

.status-intro {
  padding: 18px 20px;
  background: #111;
  border: 1px solid #1f1f1f;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 16px;
}

.status-intro-title {
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 28px;
  margin: 0 0 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 6px #e0e0e0,
    0 0 14px rgba(224, 224, 224, 0.5);
}

.status-intro-text {
  margin: 0;
  color: #bbb;
  font-size: 14px;
  line-height: 1.55;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.status-group {
  margin-top: 14px;
}

.status-group-label {
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888;
  margin: 0 0 8px 4px;
}

.status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  background: #111;
  border: 1px solid #1f1f1f;
  border-radius: 6px;
  justify-content: center;
}

.status-bar-hint {
  font-size: 15px;
  color: #666;
  text-align: center;
  margin: 6px 0 0;
  letter-spacing: 0.3px;
  font-style: italic;
}

.status-pill {
  --neon-color: #888;
  --neon-gradient: linear-gradient(90deg, var(--neon-color), var(--neon-color));
  background:
    linear-gradient(#060606, #060606) padding-box,
    var(--neon-gradient) border-box;
  border: 1.5px solid transparent;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  letter-spacing: 1px;
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  text-transform: uppercase;
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease, border-width 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  isolation: isolate;
  -webkit-text-stroke: 0.6px var(--neon-color);
  text-shadow:
    0 0 4px var(--neon-color),
    0 0 8px color-mix(in srgb, var(--neon-color) 65%, transparent);
}

.status-pill::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--neon-gradient);
  filter: blur(8px);
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
  transition: inset 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.status-pill .status-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 2px var(--neon-color));
}

.status-pill:hover { transform: translateY(-1px); }
.status-pill:hover::before { opacity: 0.6; filter: blur(10px); }

.status-pill.active {
  border-width: 2px;
  text-shadow:
    0 0 4px var(--neon-color),
    0 0 12px var(--neon-color),
    0 0 24px color-mix(in srgb, var(--neon-color) 80%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--neon-color) 50%, transparent);
}

.status-pill.active::before {
  inset: -6px;
  filter: blur(14px);
  opacity: 0.9;
}

.status-pill.dimmed:not(.active) {
  opacity: 0.22;
  filter: saturate(0.4);
}

.status-pill.dimmed:not(.active)::before { opacity: 0; }

.status-pill.dimmed:not(.active):hover {
  opacity: 0.6;
  filter: saturate(0.9);
}

.status-pill.dimmed:not(.active):hover::before { opacity: 0.3; }

/* Status info block (mirrors archetype-info) */

.status-info {
  margin-top: 16px;
  padding: 22px 22px 20px;
  background: #111;
  border: 1px solid #1f1f1f;
  border-radius: 6px;
  text-align: center;
}

.status-info.hidden { display: none; }

.status-info-title {
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  -webkit-text-stroke: 0;
  text-shadow:
    0 0 6px var(--neon-color, #888),
    0 0 14px color-mix(in srgb, var(--neon-color, #888) 70%, transparent),
    0 0 28px color-mix(in srgb, var(--neon-color, #888) 40%, transparent);
}

.status-info-title .info-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px var(--neon-color, #888));
}

.status-info-description {
  margin: 0 0 14px;
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.55;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.status-info-proc {
  margin: 0 auto 18px;
  padding: 12px 16px;
  max-width: 760px;
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  color: #d8d8d8;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

/* Inline keyword highlight inside status descriptions/procs/intro */
.hl {
  font-weight: 700;
  color: var(--neon-color, #f0c97a);
  text-shadow: 0 0 6px color-mix(in srgb, var(--neon-color, #f0c97a) 55%, transparent);
}
.status-intro-text .hl {
  color: #f0c97a;
  text-shadow: 0 0 6px rgba(240, 201, 122, 0.5);
}
/* Effects whose neon color is too pale for inline highlights — opt into neon white.
   Add more slugs here if needed (e.g. tau, true). */
.status-info[data-slug="magnetic"] .hl {
  color: #fff;
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.85),
    0 0 10px rgba(255, 255, 255, 0.45);
}

.status-info-proc-label {
  display: block;
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--neon-color, #aaa);
  margin: 0 0 4px;
  text-shadow:
    0 0 4px color-mix(in srgb, var(--neon-color, #888) 60%, transparent);
}

.status-faction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.status-faction-col {
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 12px 14px;
}

.status-faction-col.empty {
  opacity: 0.45;
}

.status-faction-col-label {
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 8px;
  text-align: center;
}

.status-faction-col.vuln .status-faction-col-label { color: #2ecc71; }
.status-faction-col.resist .status-faction-col-label { color: #e74c3c; }

.status-faction-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.status-faction-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
  background: rgba(0,0,0,0.4);
}

.status-faction-col.vuln .status-faction-chip {
  color: #d4f7d8;
  border-color: rgba(46, 204, 113, 0.55);
}

.status-faction-col.resist .status-faction-chip {
  color: #fad6d0;
  border-color: rgba(231, 76, 60, 0.55);
}

.status-faction-chip-mult {
  font-weight: 700;
  font-size: 11px;
  opacity: 0.85;
}

.status-faction-empty {
  text-align: center;
  font-size: 12px;
  color: #555;
  font-style: italic;
  padding: 6px 0;
}

/* ===== Archon Shards ===== */
.shard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 14px; }
.shard-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border: 1px solid #2a2a31; border-top: 2px solid var(--ac); border-radius: 8px; background: #16161a; text-align: center; }
.shard-card-ics { display: flex; gap: 6px; align-items: center; }
.shard-ic { width: 30px; height: 30px; object-fit: contain; }
.shard-ic.is-tau { filter: drop-shadow(0 0 5px var(--ac, #fff)); }
.shard-card-name { font-weight: 700; color: var(--ac); font-size: 14px; }
.shard-card-cat { font-size: 11px; color: #9a9aa2; line-height: 1.3; }
.shard-card-recipe { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11px; color: #8a8a92; }
.shard-card-recipe .shard-ic { width: 18px; height: 18px; }
.shard-card-fusedtag { text-transform: uppercase; letter-spacing: 0.5px; font-size: 9px; color: #6f6f78; border: 1px solid #34343c; border-radius: 4px; padding: 1px 4px; }

.shard-tables { display: grid; gap: 14px; margin: 0 0 4px; }
.shard-tbl-wrap { overflow-x: auto; border: 1px solid #26262c; border-radius: 8px; }
.shard-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 380px; }
.shard-tbl caption { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #16161a; border-bottom: 2px solid var(--ac); text-align: left; }
.shard-tbl caption .shard-ic { width: 22px; height: 22px; }
.shard-tbl caption span { font-weight: 700; color: var(--ac); }
.shard-tbl caption em { font-style: normal; font-size: 11px; color: #8a8a92; }
.shard-tbl th, .shard-tbl td { padding: 6px 10px; text-align: left; border-bottom: 1px solid #222228; }
.shard-tbl thead th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #8a8a92; background: #131316; }
.shard-tbl td:first-child { color: #d6d6dd; }
.shard-tbl td:not(:first-child), .shard-tbl th:not(:first-child) { text-align: right; white-space: nowrap; width: 1%; }
.shard-tbl .is-tau { color: var(--ac); font-weight: 600; }
.shard-sub { display: inline-block; padding-left: 14px; margin-top: 3px; font-size: 11.5px; color: #9a9aa2; }
.shard-el { font-weight: 600; white-space: nowrap; }
.shard-el-ic { width: 13px; height: 13px; object-fit: contain; vertical-align: -2px; margin-right: 1px; }
.shard-tbl tbody tr:last-child td { border-bottom: none; }

.shard-src-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 4px; }
.shard-src-card { display: flex; flex-direction: column; gap: 7px; padding: 12px; border: 1px solid #2a2a31; border-radius: 8px; background: #16161a; }
.shard-src-head { display: flex; align-items: center; gap: 8px; }
.shard-src-ico { width: 22px; height: 22px; object-fit: contain; flex: none; }
.shard-src-title { font-weight: 700; color: #eaffd6; font-size: 13.5px; }
.shard-src-cad { margin-left: auto; font-size: 9px; text-transform: uppercase; letter-spacing: 0.5px; color: #8a8a92; border: 1px solid #34343c; border-radius: 4px; padding: 1px 6px; }
.shard-src-desc { font-size: 12.5px; color: #b6b6bd; line-height: 1.5; margin: 0; flex: 1; }
.shard-src-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border: 1px solid var(--neon-color, #8fd14f); border-radius: 999px; background: rgba(143,209,79,0.08); color: var(--neon-color, #8fd14f); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: background 0.15s; }
.shard-src-link:hover { background: rgba(143,209,79,0.18); }
.shard-src-arrow { transition: transform 0.15s; }
.shard-src-link:hover .shard-src-arrow { transform: translateX(2px); }

/* Coalescent é estreito (2 entradas); Ascent leva o resto pra caber 3 entradas + "+" numa linha. */
.shard-fuse-cols { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 18px; align-items: start; margin: 0 0 4px; }
.shard-fuse-col { min-width: 0; }
.shard-fuse-col .shard-fuse-list { margin-bottom: 0; }
.shard-ascent-grid { display: grid; grid-template-rows: repeat(3, auto); grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.shard-fuse-list { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0 0 14px; }
.shard-fuse { display: flex; align-items: center; gap: 6px; padding: 6px 12px; min-height: 46px; box-sizing: border-box; border: 1px solid #26262c; border-radius: 8px; background: #16161a; flex-wrap: wrap; }
.shard-fuse .shard-ic { width: 26px; height: 26px; }
.shard-fuse-op { color: #6f6f78; font-weight: 700; }
.shard-fuse-out { color: #eaffd6; margin-right: 4px; }
.shard-stela { display: flex; align-items: center; gap: 5px; padding-left: 12px; margin-left: auto; border-left: 1px solid #2a2a31; font-size: 12px; color: #c9b96a; white-space: nowrap; }

@media (max-width: 600px) {
  .shard-grid { grid-template-columns: repeat(2, 1fr); }
  .shard-src-grid { grid-template-columns: 1fr; }
  .shard-fuse-cols { grid-template-columns: 1fr; gap: 4px; }
}

