/* DETALHE — fatia do styles.05a04e2d.css usada só por detail.html.
   GERADO por scripts/split-css.mjs; edite o styles.05a04e2d.css e rode de novo.
   Carrega DEPOIS do styles.05a04e2d.css: a ordem da cascata é preservada porque os
   seletores mistos vieram junto, na posição original (ver o script). */

.detail-toolbar .segmented-option { white-space: nowrap; }


.segmented-option {
  flex: 1;
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}


.segmented-option:hover {
  color: var(--text);
}


.segmented-option[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
}




.favorite-button.dex-hero-button[aria-pressed="true"] {
  border-color: var(--gold);
  color: var(--gold);
}



.edicao-head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; margin: 0 0 12px; }

.edicao-head h3 { margin: 0; min-width: 0; }

.edicao-sel { display: inline-flex; align-items: center; gap: 8px; flex: none; margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }

.edicao-sel select {
  width: auto; max-width: 160px; height: 32px; padding: 0 30px 0 10px;
  font-size: 13px; font-weight: 700; color: var(--text); cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  -webkit-appearance: none; appearance: none;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a93a3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 12px 12px;
}

.edicao-sel select:hover { border-color: var(--muted); }
@media (pointer: coarse), (max-width: 700px) {

  .edicao-sel select { height: 44px; }
}



.favorite-button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 0 22px;
  gap: 8px;
}


.favorite-button:hover {
  border-color: var(--accent-dark);
}


.favorite-button[aria-pressed="true"] {
  border-color: #e0506a;
  color: #f08aa0;
}
@media (max-width: 600px) {

  .detail-toolbar .segmented-option { min-height: 40px; padding: 0 8px; white-space: normal; line-height: 1.15; }
}

.segmented-option,
.favorite-button {
  border-radius: 0;
}