.ta-tool-bridge {
  --ta-shell-ink: #eef4ff;
  --ta-shell-muted: rgba(238, 244, 255, .72);
  position: relative;
  z-index: 1000;
  min-height: 48px;
  color: var(--ta-shell-ink);
  background: linear-gradient(100deg, #071326, #0c2750 62%, #153968);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 9px 25px rgba(7, 19, 38, .12);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Noto Sans JP", Arial, sans-serif;
}

.ta-tool-bridge__inner {
  width: min(1160px, calc(100% - 28px));
  min-height: 48px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ta-tool-bridge__brand,
.ta-tool-bridge__links,
.ta-tool-bridge__link {
  display: inline-flex;
  align-items: center;
}

.ta-tool-bridge__brand {
  gap: 9px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.ta-tool-bridge__mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #071326;
  background: linear-gradient(135deg, #fff, #b9dcff);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .18);
  font-size: 13px;
  font-weight: 950;
}

.ta-tool-bridge__links {
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ta-tool-bridge__links::-webkit-scrollbar { display: none; }

.ta-tool-bridge__link {
  min-height: 34px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  color: var(--ta-shell-muted);
  background: transparent;
  text-decoration: none;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.ta-tool-bridge__link:hover,
.ta-tool-bridge__link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .10);
}

.ta-tool-site-footer {
  margin-top: 36px;
  padding: 24px 14px calc(24px + env(safe-area-inset-bottom));
  color: #667085;
  background: rgba(248, 250, 253, .92);
  border-top: 1px solid rgba(17, 24, 39, .09);
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Noto Sans JP", Arial, sans-serif;
  font-size: 12px;
}

.ta-tool-site-footer__links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}

.ta-tool-site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #16396b;
  text-decoration: none;
  font-weight: 850;
}

@media (max-width: 560px) {
  .ta-tool-bridge__inner {
    width: min(100% - 18px, 1160px);
    gap: 8px;
  }

  .ta-tool-bridge__brand {
    min-width: 44px;
    min-height: 44px;
  }

  .ta-tool-bridge__brand span:last-child { display: none; }
  .ta-tool-bridge__link {
    min-height: 44px;
    padding-inline: 10px;
  }
}

/* Keep the shared shell inside the document width on padded tool pages. */
.ta-tool-bridge,
.ta-tool-site-footer {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
