@charset "UTF-8";
/* ==========================================
   "ככה הצבע שלך נראה באמת" - the inspection light (javascript/paint-light.js, used in polish.html)
   A navy panel in the store's blue: a light follows the mouse / finger and shows the fine swirl scratches in the paint;
   three steps (before, first polish, after) change how many there are. The canvas is only the picture: the words are real text.
   ========================================== */
.paintlight {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: clamp(28px, 5vw, 64px) auto !important;
}
/* (the page's generic ".body div div { margin: 10% }" rule must not reach into the panel) */
.paintlight div,
.paintlight p,
.paintlight h2 {
  margin: 0 !important;
}
.paintlight__stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: clamp(480px, 56vw, 640px);
  border: 1px solid rgba(120, 160, 255, 0.16);
  border-radius: 24px;
  background: linear-gradient(180deg, #02050f 0%, #04102b 58%, #020611 100%);
  box-shadow: 0 30px 70px -34px rgba(10, 30, 90, 0.7);
  color: #ffffff;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: crosshair;
}
.paintlight__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* the words sit above the picture */
.paintlight__text {
  position: absolute;
  z-index: 2;
  top: clamp(28px, 6vw, 56px);
  right: 0;
  left: 0;
  padding: 0 24px;
  text-align: center;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.paintlight__stage.is-swapping .paintlight__text {
  opacity: 0;
  transform: translateY(8px);
}
.body .paintlight .paintlight__stage .paintlight__title {
  margin: 0 !important;
  color: #ffffff;
  font-size: clamp(1.9rem, 4.6vw, 3.3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  text-shadow: 0 2px 24px rgba(0, 8, 40, 0.6);
}
.body .paintlight .paintlight__stage .paintlight__sub {
  margin: 12px 0 0 !important;
  color: rgba(196, 211, 246, 0.9);
  font-size: clamp(1rem, 2.1vw, 1.3rem);
  line-height: 1.5;
}
.paintlight__hint {
  position: absolute;
  z-index: 2;
  right: 50%;
  bottom: 104px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(2, 8, 28, 0.5);
  color: rgba(214, 224, 250, 0.9);
  font-size: 0.92rem;
  white-space: nowrap;
  transform: translateX(50%);
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.paintlight__hint::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fb0ff;
  box-shadow: 0 0 0 0 rgba(127, 176, 255, 0.6);
  animation: paintHint 2s ease-out infinite;
}
.paintlight__stage.is-touched .paintlight__hint {
  opacity: 0;
}
@keyframes paintHint {
  0% { box-shadow: 0 0 0 0 rgba(127, 176, 255, 0.55); }
  100% { box-shadow: 0 0 0 12px rgba(127, 176, 255, 0); }
}
/* the three steps: a pill with the chosen one in white */
.paintlight__tabs {
  position: absolute;
  z-index: 3;
  right: 50%;
  bottom: 34px;
  display: flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 14, 34, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translateX(50%);
  cursor: default;
}
.paintlight__tab {
  min-height: 44px;
  padding: 8px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(200, 212, 244, 0.85);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.paintlight__tab:hover {
  color: #ffffff;
}
.paintlight__tab[aria-selected="true"] {
  background: #f1f4fb;
  color: #0a1024;
}
.paintlight__tab:focus-visible {
  outline: 3px solid #7fb0ff;
  outline-offset: 2px;
}
.paintlight__note {
  margin: 14px 0 0 !important;
  color: #666666;
  font-size: 0.86rem;
  line-height: 1.7;
  text-align: center;
}
@media (max-width: 640px) {
  .paintlight__stage {
    height: clamp(520px, 138vw, 600px);
    border-radius: 20px;
  }
  .paintlight__tab {
    padding: 8px 16px;
    font-size: 0.95rem;
  }
  .paintlight__hint {
    bottom: 96px;
    font-size: 0.85rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .paintlight__text {
    transition: none;
  }
  .paintlight__hint::before {
    animation: none;
  }
}
