/* Compact icon with a 44px touch target. Only its halo pulses. */
#xp-lab-root .xp-fullscreen-prompt {
  position: relative;
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  align-self: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
#xp-lab-root .xp-fullscreen-prompt[hidden],
#xp-lab-root .xp-fullscreen-status[hidden] { display: none !important; }
#xp-lab-root .xp-fullscreen-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  overflow: visible;
  border: 1px solid #ffaaa3;
  border-radius: 9px;
  background: linear-gradient(180deg, #f36156 0%, #d52a25 52%, #ae1918 100%);
  color: #fff;
  font: 700 14px/1.2 Tahoma, Arial, sans-serif;
  text-shadow: 0 1px 1px #73110f;
  box-shadow: inset 0 1px 0 #ffc0b7, inset 0 -1px 0 #8a1515, 0 3px 9px #510c0c66;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}
#xp-lab-root .xp-fullscreen-button::before {
  content: '';
  position: absolute;
  inset: -3px;
  z-index: -1;
  border: 2px solid #ff6b61;
  border-radius: 13px;
  box-shadow: 0 0 17px 4px #ff3d35cc;
  pointer-events: none;
  animation: xp-fullscreen-glow 1.6s ease-in-out infinite;
}
#xp-lab-root .xp-fullscreen-button svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#xp-lab-root .xp-fullscreen-button:hover {
  background: linear-gradient(180deg, #ff796b 0%, #e1372d 52%, #bf201c 100%);
}
#xp-lab-root .xp-fullscreen-button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
#xp-lab-root .xp-fullscreen-button:active { background: #b91e1b; }
#xp-lab-root .xp-fullscreen-button:disabled { cursor: progress; }
#xp-lab-root .xp-fullscreen-status {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: min(290px, calc(100vw - 28px));
  box-sizing: border-box;
  max-width: min(290px, calc(100vw - 28px));
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #d14b43;
  border-radius: 6px;
  background: #fff5ef;
  color: #66251f;
  font: 13px/1.4 Tahoma, Arial, sans-serif;
  text-shadow: none;
  box-shadow: 0 3px 12px #0003;
  pointer-events: auto;
}
@keyframes xp-fullscreen-glow {
  0%, 100% { opacity: .2; transform: scale(.94); }
  50% { opacity: 1; transform: scale(1.12); }
}
#xp-lab-root.xp-reduce-motion .xp-fullscreen-button::before { animation: none; opacity: .5; }
@media (prefers-reduced-motion: reduce) {
  #xp-lab-root .xp-fullscreen-button::before { animation: none; opacity: .5; }
}
#xp-lab-root[data-taskbar-position="top"] .xp-fullscreen-status { top: calc(100% + 8px); bottom: auto; }
:fullscreen .xp-fullscreen-prompt { display: none !important; }
:-webkit-full-screen .xp-fullscreen-prompt { display: none !important; }
@media (display-mode: fullscreen) { .xp-fullscreen-prompt { display: none !important; } }
