:root {
  --sbt-bg: Canvas;
  --sbt-fg: CanvasText;
  --sbt-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.sbt-wrap {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.sbt-bar {
  pointer-events: auto;
  list-style: none;
  margin: 12px;
  padding: 10px 14px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  width: min(900px, calc(100vw - 24px));
  background: var(--sbt-bg);
  color: var(--sbt-fg);
  border-radius: 18px;
  box-shadow: var(--sbt-shadow);
}

.sbt-item { flex: 1; text-align: center; }

.sbt-link {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: center;
  justify-items: center;
  text-decoration: none;
  color: inherit;
  font: 500 12px/1.2 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans";
  padding: 6px 4px;
  border-radius: 12px;
}

.sbt-ico { display:inline-flex; align-items:center; justify-content:center; margin-bottom: 3px; }

.sbt-center .sbt-link {
  transform: translateY(-14%);
  font-weight: 600;
}
.sbt-center .sbt-ico svg { width:28px; height:28px; }

.sbt-link:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
.sbt-link:hover { filter: brightness(0.95); }

@media (max-width: 420px) {
  .sbt-label { font-size: 11px; }
}
@media (max-width: 360px) {
  .sbt-label { display:none; }
}

html { scroll-padding-bottom: 84px; }
body { padding-bottom: 84px; }
