/* enhancement.css — стили для стрелок карусели и лайтбокса (поверх оригинала) */
.ps-en-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3);
  color: #202124;
  font: 400 24px/1 'Roboto', sans-serif;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.ps-en-arrow:hover { background: #fff; box-shadow: 0 2px 6px rgba(60, 64, 67, 0.4); }
.ps-en-prev { left: -6px; }
.ps-en-next { right: -6px; }

.ps-en-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  animation: ps-en-fade 0.2s ease;
}
.ps-en-lightbox img {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.ps-en-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.ps-en-close:hover { background: rgba(255, 255, 255, 0.25); }

@keyframes ps-en-fade { from { opacity: 0; } to { opacity: 1; } }

/* About this app — clamp описания (3 строки), toggle через arrow_forward */
div.bARER.ps-about-clamp,
div[data-g-id="description"].ps-about-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 4.8em;
}

/* device-tab active */
div.D3Qfie.ps-en-active {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

/* helpful voted */
div.D3Qfie.ps-en-voted {
  color: #1a73e8;
  font-weight: 600;
}

/* info popup card */
.ps-en-infocard {
  background: #fff;
  border-radius: 12px;
  padding: 24px 28px;
  max-width: 460px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  color: #202124;
  font-family: 'Google Sans', 'Roboto', sans-serif;
}
.ps-en-infocard h3 { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.ps-en-infocard p { margin: 0; font-size: 14px; line-height: 1.55; color: #5f6368; }
.ps-en-info .ps-en-close { background: rgba(0, 0, 0, 0.1); color: #202124; }
.ps-en-info .ps-en-close:hover { background: rgba(0, 0, 0, 0.2); }

/* thank-you feedback line */
.ps-en-thanks { animation: ps-en-fade 0.2s ease; }
