.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  position: relative;
  z-index: 40;
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.theme-color-control {
  position: relative;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.92) 0 39px, transparent 40px),
    var(--theme-ring);
  box-shadow:
    0 14px 28px rgba(var(--theme-rgb), 0.14),
    inset 0 0 0 1px rgba(255,255,255,0.68);
}
.theme-color-control::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.64);
  pointer-events: none;
}
.theme-color-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: 0;
  padding: 0;
}
.theme-reset-btn {
  position: absolute;
  right: -2px;
  bottom: -2px;
  z-index: 2;
  width: 24px;
  height: 24px;
  min-width: 0;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.74);
  background: rgba(255,255,255,0.72);
  color: var(--accent);
  box-shadow: 0 8px 16px rgba(var(--theme-rgb), 0.16);
  font-size: 14px;
  line-height: 1;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.theme-reset-btn:hover,
.theme-reset-btn:active {
  transform: none;
  box-shadow: 0 8px 16px rgba(var(--theme-rgb), 0.16);
  filter: none;
}
.topbar-logo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: none;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.topbar-brand-copy {
  min-width: 0;
}
