.workspace-nav a[aria-current="page"] {
  color: #fff;
  border-color: rgba(255, 255, 255, .04);
  background: #1c2333;
}

.workspace-nav a[aria-current="page"] i {
  color: var(--gold, #ffb32c);
}

.smart-miners-tabs {
  display: flex;
  gap: 8px;
  min-width: 0;
  padding: 11px clamp(18px, 4vw, 64px);
  overflow-x: auto;
  border-bottom: 1px solid rgba(137, 151, 184, .18);
  background: rgba(11, 16, 27, .96);
  scrollbar-width: thin;
  scrollbar-color: #4d5f82 transparent;
}

.smart-miners-tabs a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 15px;
  border: 1px solid rgba(137, 151, 184, .23);
  border-radius: 10px;
  color: #9ba8c4;
  background: #111827;
  font: 800 .69rem/1.1 "Inter", "Segoe UI", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .16s ease, color .16s ease, background .16s ease, transform .16s ease;
}

.smart-miners-tabs a:hover {
  border-color: rgba(38, 215, 255, .55);
  color: #f5f8ff;
  background: #162238;
  transform: translateY(-1px);
}

.smart-miners-tabs a.active,
.smart-miners-tabs a[aria-current="page"] {
  border-color: rgba(38, 215, 255, .72);
  color: #fff;
  background: linear-gradient(135deg, rgba(27, 93, 122, .9), rgba(55, 36, 112, .92));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), 0 0 18px rgba(38, 215, 255, .1);
}

.smart-miners-tabs-standalone {
  position: relative;
  z-index: 20;
  width: min(1400px, calc(100% - 32px));
  margin: 12px auto 0;
  padding: 9px;
  border: 1px solid rgba(137, 151, 184, .2);
  border-radius: 13px;
  background: rgba(10, 15, 26, .94);
}

body[data-page="webuse"] > .smart-miners-tabs-standalone {
  width: calc(100% - 24px);
  margin-top: 8px;
}

@media (max-width: 700px) {
  .smart-miners-tabs {
    gap: 6px;
    padding: 8px 12px;
  }

  .smart-miners-tabs a {
    min-height: 34px;
    padding: 8px 11px;
    border-radius: 8px;
    font-size: .63rem;
  }

  .smart-miners-tabs-standalone,
  body[data-page="webuse"] > .smart-miners-tabs-standalone {
    width: calc(100% - 16px);
    margin-top: 8px;
    padding: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smart-miners-tabs a { transition: none; }
}
