/* web/styles/desktop-polish.css */
html:not(.phone) {
  scrollbar-gutter: stable;
}
html:not(.phone) .main:empty {
  min-height: 100vh;
}
html:not(.phone) .main:is(:empty, :has(> .mcp-context-back-row:only-child), :has(.sk-root[aria-busy=true])) + .home-footer {
  display: none;
}
html:not(.phone) .main.mcp-route-pending::before,
html:not(.phone) .main:empty::before {
  content: "";
  display: block;
  width: 96px;
  height: 3px;
  margin: 32px auto;
  border-radius: 999px;
  background: var(--surface-2);
  opacity: 0;
  animation: mcp-pending-in 180ms ease 140ms forwards;
}
@keyframes mcp-pending-in {
  to {
    opacity: 1;
  }
}
html:not(.phone) :is(a, button, input[type=checkbox], input[type=radio], input[type=range], input[type=color], input[type=button], input[type=submit], input[type=reset]):focus-visible {
  outline: 2px solid var(--pm-red-text);
  outline-offset: 3px;
}
html:not(.phone) :is(.tabs, .feed-tabs) :is(a, button) {
  transition: background-color 150ms ease, color 150ms ease;
}
html:not(.phone) .input {
  transition: border-color 150ms ease;
}
html:not(.phone) :is(.gcard:has(> .gcard-open:focus-visible), .ccard:focus-visible) .cover {
  transform: translateY(-3px);
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  html:not(.phone) *,
  html:not(.phone) *::before,
  html:not(.phone) *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html:not(.phone) :is(.gcard:hover, .gcard:has(> .gcard-open:focus-visible), .ccard:is(:hover, :focus-visible)) .cover {
    transform: none;
  }
}
