/* The sliding cutout turns the same disc from sun to crescent on either surface. */
.tiq-mode-glyph {
  display: inline-block;
  position: relative;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  pointer-events: none;
}
.tiq-mode-glyph::before,
.tiq-mode-glyph::after {
  content: "";
  position: absolute;
  inset: 0;
}
.tiq-mode-glyph::before {
  background: repeating-conic-gradient(from -6deg, currentColor 0 12deg, transparent 12deg 45deg);
  mask: radial-gradient(circle, transparent 45%, black 48% 63%, transparent 66%);
  transition: transform 310ms ease, opacity 180ms ease;
}
.tiq-mode-glyph::after {
  inset: 5px;
  background: currentColor;
  border-radius: 50%;
  mask-image: radial-gradient(circle 5.6px, transparent 92%, black 105%);
  mask-size: 300% 300%;
  mask-position: 0% 100%;
  transition: mask-position 330ms ease, transform 330ms ease;
}
[aria-pressed="true"] > .tiq-mode-glyph::before {
  transform: rotate(42deg) scale(.56);
  opacity: 0;
}
[aria-pressed="true"] > .tiq-mode-glyph::after {
  transform: scale(1.38) rotate(-15deg);
  mask-position: 38% 66%;
}
@media (prefers-reduced-motion: reduce) {
  .tiq-mode-glyph::before, .tiq-mode-glyph::after { transition: none; }
}
