/* A Central mantém a identidade do portal em qualquer matéria. */
.btn-central,
#study .study-toolbar .btn-central,
#physics-study .ph-toolbar .btn-central {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  gap: 9px;
  min-height: 44px;
  box-sizing: border-box;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(56, 189, 248, .38);
  border-radius: 999px;
  background: linear-gradient(135deg, #101b30, #0b1528);
  color: #bfeaff;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transform: none;
  box-shadow: inset 0 1px 0 rgba(186, 230, 253, .06);
  transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-central .central-portal {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  color: #38bdf8;
  filter: drop-shadow(0 0 3px rgba(56, 189, 248, .35));
  transition: filter .2s ease;
}
.btn-central:hover,
#study .study-toolbar .btn-central:hover,
#physics-study .ph-toolbar .btn-central:hover {
  color: #e0f5ff;
  border-color: #38bdf8;
  background: linear-gradient(135deg, #142641, #0b1b30);
  text-decoration: none;
  transform: none;
  box-shadow: 0 0 14px rgba(56, 189, 248, .14), inset 0 1px 0 rgba(186, 230, 253, .1);
}
.btn-central:hover .central-portal {
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, .65));
}
.btn-central:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .btn-central,
  #study .study-toolbar .btn-central,
  #physics-study .ph-toolbar .btn-central,
  .btn-central .central-portal { transition: none; }
}
