/* The gesture supplies its own frame timing. Do not start a second animation
   for every scroll step, including Safari/theme smooth-scroll rules. */
html.ros-pointer-gesture,
html.ros-pointer-gesture body,
html.ros-pointer-gesture :is(#wpwrap, #wpcontent, #wpbody, #wpbody-content, .ros-modal, [role="dialog"]) {
  scroll-behavior: auto !important;
  overflow-anchor: none !important;
}
@font-face {
  font-family: "Bai Jamjuree";
  src: url("../fonts/BaiJamjuree-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
body #ros-overview-tools-popover .ros-overview-joystick-row {
  grid-template-columns: minmax(0, 1fr) 110px !important;
  gap: 4px !important;
}
body #ros-overview-tools-popover #ros-overview-joystick-mode {
  box-sizing: border-box !important;
  font-family: "Bai Jamjuree", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: normal !important;
  width: 110px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 28px !important;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 2px 20px 2px 4px !important;
  border: 1px solid #bdcde0 !important;
  border-radius: 6px !important;
  color: #173453 !important;
  background-color: #f5f8fc !important;
}
@media (pointer: coarse) {
  body #ros-overview-tools-popover #ros-overview-joystick-mode { font-size: 16px !important; }
}
@font-face {
  font-family: "Bai Jamjuree";
  src: url("../fonts/BaiJamjuree-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:where(body #ros-wizard-pointer, body #ros-wizard-pointer-picker),
:where(body #ros-wizard-pointer, body #ros-wizard-pointer-picker) * {
  all: initial !important;
  box-sizing: border-box !important;
  font-family: "Bai Jamjuree", Arial, sans-serif !important;
  font-synthesis: none !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: #173453 !important;
}
body #ros-wizard-pointer {
  display: grid !important;
  justify-items: center !important;
  gap: 3px !important;
  position: fixed !important;
  left: var(--ros-wp-left, 12px) !important;
  top: var(--ros-wp-top, 60vh) !important;
  width: 64px !important;
  height: auto !important;
  padding: 4px !important;
  border: 1px solid #c4d3e4 !important;
  border-radius: 20px !important;
  background: #f3f7fff2 !important;
  box-shadow: 0 8px 28px #17345330, inset 0 1px #fff !important;
  z-index: 2147483000 !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-touch-callout: none !important;
  transform: scale(1) !important;
  transform-origin: center center !important;
  opacity: .65 !important;
  transition: transform .18s ease-out, opacity .2s ease-out !important;
}
body #ros-wizard-pointer.is-active { transform: scale(1.18) !important; opacity: 1 !important; background: #f3f7ff !important; }
body #ros-wizard-pointer.is-backend.is-active,
body.wp-admin #ros-wizard-pointer.is-active {
  opacity: 1 !important;
  background: #f3f7ff !important;
}
body #ros-wizard-pointer, body #ros-wizard-pointer * {
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-touch-callout: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
body #ros-wizard-pointer[hidden], body #ros-wizard-pointer-dot[hidden] { display: none !important; }
body #ros-wizard-pointer .ros-wp-grip,
body #ros-wizard-pointer .ros-wp-fold {
  display: block !important;
  width: 36px !important;
  min-height: 16px !important;
  padding: 1px 3px !important;
  font-size: 8px !important;
  text-align: center !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  border-radius: 6px !important;
  background: #e4edf8 !important;
  touch-action: manipulation !important;
}
body #ros-wizard-pointer .ros-wp-grip { touch-action: none !important; cursor: move !important; }
body #ros-wizard-pointer.is-folded {
  width: 24px !important;
  height: auto !important;
  clip-path: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  padding: 0 !important;
  gap: 0 !important;
  border-radius: 0 10px 10px 0 !important;
  transform: none !important;
  opacity: .6 !important;
}
body #ros-wizard-pointer.is-folded-right { border-radius: 10px 0 0 10px !important; }
body #ros-wizard-pointer.is-folded > :not(.ros-wp-fold) { display: none !important; }
body #ros-wizard-pointer.is-folded .ros-wp-fold {
  position: static !important;
  transform: none !important;
  width: 22px !important;
  min-height: 52px !important;
  font-size: 22px !important;
  background: transparent !important;
}
body #ros-wizard-pointer .ros-wp-pad {
  display: grid !important;
  place-items: center !important;
  position: relative !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  border: 1px solid #c8d9ed !important;
  background: radial-gradient(circle, #e0eaf7, #f9fbff) !important;
}
body #ros-wizard-pointer .ros-wp-cross {
  position: absolute !important;
  inset: 12px !important;
  border-radius: 50% !important;
  background: linear-gradient(#aac0db55, #aac0db55) center / 1px 100% no-repeat,
    linear-gradient(#aac0db55, #aac0db55) center / 100% 1px no-repeat !important;
  pointer-events: none !important;
}
body #ros-wizard-pointer .ros-wp-stick {
  display: grid !important;
  place-items: center !important;
  position: relative !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 2px solid white !important;
  background: linear-gradient(145deg, #6bacf0, #2362b1) !important;
  box-shadow: 0 4px 12px #17345344 !important;
  transform: translate(var(--ros-wp-stick-x, 0px), var(--ros-wp-stick-y, 0px)) !important;
  transition: transform .15s ease !important;
  touch-action: none !important;
  cursor: grab !important;
  -webkit-touch-callout: none !important;
}
body #ros-wizard-pointer.is-moving .ros-wp-stick { transition: none !important; cursor: grabbing !important; }
body #ros-wizard-pointer .ros-wp-stick:disabled { opacity: .4 !important; }
body #ros-wizard-pointer .ros-wp-stick span {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  background: url('../images/reparaturen/scroll-joystick.svg') center / contain no-repeat !important;
  filter: invert(1) !important;
  pointer-events: none !important;
}
body #ros-wizard-pointer .ros-wp-hint {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
}
body #ros-wizard-pointer-dot {
  all: initial !important;
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  width: 18px !important;
  height: 18px !important;
  box-sizing: border-box !important;
  border: 3px solid #fff !important;
  border-radius: 50% !important;
  background: #2378dc !important;
  box-shadow: 0 0 0 2px #174f94, 0 2px 12px #0005 !important;
  transform: translate3d(var(--ros-wp-x, 50vw), var(--ros-wp-y, 40vh), 0) translate(-50%, -50%) !important;
  will-change: transform !important;
  pointer-events: none !important;
  z-index: 2147483100 !important;
}
body #ros-wizard-pointer-dot.is-clicked { transform: translate3d(var(--ros-wp-x, 50vw), var(--ros-wp-y, 40vh), 0) translate(-50%, -50%) scale(1.5) !important; }
/* Virtual hover mirrors the visual feedback of interactive repairOS controls. */
body :is(.brand-card, .ros-category-card, .ros-cat-card, .ros-popular-model-card, .repair-card, .ros-color-item, .rosm-btn, .rosm-status).ros-wp-hover {
  filter: brightness(1.04) !important;
  box-shadow: 0 4px 14px #17345326 !important;
}
body .fancy-dropdown-options li.ros-wp-hover {
  background-color: #e7f0fa !important;
}
@media (max-width: 1366px) {
  body #ros-step-2#ros-step-2#ros-step-2 .gsma-suggest .summary-row.ros-wp-hover {
    border-color: #86b6eb !important;
    background-color: #eef6ff !important;
    box-shadow: 0 3px 12px rgba(35, 104, 185, .16) !important;
  }
  body #ros-step-2#ros-step-2#ros-step-2 .gsma-suggest .ros-suggest-color-btn.ros-wp-hover,
  body #ros-step-2#ros-step-2#ros-step-2 .gsma-suggest .gsma-info-btn.ros-wp-hover {
    background-color: #e3f1ff !important;
    box-shadow: 0 0 0 2px #7eb4ee !important;
    border-radius: 50% !important;
  }
}
body #ros-wizard-pointer-picker {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 8px !important;
  position: fixed !important;
  left: 50% !important;
  top: 10vh !important;
  transform: translateX(-50%) !important;
  width: min(420px, calc(100vw - 24px)) !important;
  max-height: 65vh !important;
  padding: 12px !important;
  border-radius: 14px !important;
  border: 1px solid #c4d3e4 !important;
  background: white !important;
  box-shadow: 0 12px 40px #17345340 !important;
  z-index: 2147482900 !important;
}
body #ros-wizard-pointer-picker strong { display: block !important; padding: 10px 0 !important; font-weight: 600 !important; }
body #ros-wizard-pointer-picker .ros-wp-options {
  display: grid !important;
  grid-column: 1 / -1 !important;
  gap: 5px !important;
  overflow-y: auto !important;
  max-height: 48vh !important;
}
body #ros-wizard-pointer-picker button {
  display: block !important;
  padding: 10px !important;
  min-height: 44px !important;
  border: 1px solid #d5e0ed !important;
  border-radius: 8px !important;
  background: #f5f8fc !important;
  cursor: pointer !important;
}
body #ros-wizard-pointer-picker button[aria-pressed="true"] { background: #e1edff !important; border-color: #2378dc !important; }
body #ros-wizard-pointer-picker button:disabled { opacity: .45 !important; cursor: default !important; }
body #ros-wizard-pointer button:focus-visible,
body #ros-wizard-pointer-picker button:focus-visible { outline: 3px solid #2378dc !important; outline-offset: 2px !important; }
@media (prefers-reduced-motion: reduce) {
  body #ros-wizard-pointer { transition: none !important; }
  body #ros-wizard-pointer .ros-wp-stick { transition: none !important; }
  body #ros-wizard-pointer-dot { animation: none !important; }
}
