:root {
  color-scheme: light;
  --timeline-divider: rgb(0 0 0 / 12%);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --surface: #181817;
  --ink: #f2f0ed;
  --timeline-divider: rgb(255 255 255 / 21%);
}

.mast {
  --ink: #000;
  color-scheme: light;
}

.theme-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--ink);
}

.theme-picker::before {
  position: absolute;
  left: .45rem;
  width: .85rem;
  height: .85rem;
  box-sizing: border-box;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(to right, currentColor 50%, transparent 50%);
  content: "";
  pointer-events: none;
}

.theme-picker select {
  width: auto;
  min-height: 44px;
  padding: 0 .1rem 0 1.5rem;
  margin: 0;
  color: inherit;
  background-color: transparent;
  border: 0;
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}

.theme-picker option {
  color: #000;
  background: #fff;
}

@media (min-width: 801px) and (max-width: 1100px) {
  .mast-inner { gap: clamp(8px, 1.5vw, 18px); }
}
