/* Shell only — the switcher chrome. Deliberately unlike all three directions
   so it can't be mistaken for the design under review. */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #55565a;
}

#stage {
  min-height: 100vh;
  padding-bottom: 96px;
}

/* --- switcher ------------------------------------------------------------ */

#switcher {
  position: fixed;
  z-index: 9999;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 24px);
  font: 500 13px/1 ui-monospace, "SFMono-Regular", Menlo, monospace;
  color: #fff;
  background: #101114;
  border: 1px solid #3a3d44;
  border-radius: 999px;
  box-shadow:
    0 2px 4px rgb(0 0 0 / 30%),
    0 12px 32px rgb(0 0 0 / 45%);
}

.sw-row {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sw-row::-webkit-scrollbar {
  display: none;
}

.sw-arrow {
  flex: none;
  width: 30px;
  height: 30px;
  font: inherit;
  font-size: 15px;
  color: #fff;
  cursor: pointer;
  background: #24262c;
  border: 0;
  border-radius: 999px;
}

.sw-arrow:hover {
  background: #35383f;
}

.sw-label {
  display: flex;
  flex: none;
  gap: 7px;
  align-items: baseline;
  padding: 0 10px;
  white-space: nowrap;
}

.sw-label b {
  font-size: 14px;
  color: #ffd84d;
}

.sw-label span {
  color: #b7bcc6;
}

.sw-sep {
  flex: none;
  align-self: stretch;
  width: 1px;
  margin: 0 4px;
  background: #3a3d44;
}

.sw-pages {
  display: flex;
  flex: none;
  gap: 2px;
}

.sw-page {
  padding: 8px 10px;
  color: #b7bcc6;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
}

.sw-page:hover {
  color: #fff;
  background: #24262c;
}

.sw-page.is-on {
  color: #101114;
  background: #ffd84d;
}

#switcher :focus-visible {
  outline: 2px solid #ffd84d;
  outline-offset: 2px;
}
