/* cookieclear1 · 20260805 · Services/Account clear-cache control
 * Cascade-last fold. Does not change product-switcher z-index / portal / overlay.
 * Touch ≥44. Safe-area aware soft hint.
 */
html[data-vy-cookieclear1^="20260805"] .vy-cookie-clear-slot,
.vy-cookie-clear-slot {
  margin: 10px 0 4px;
  padding: 0 2px;
}

html[data-vy-cookieclear1^="20260805"] .vy-cookie-clear-item,
a.vy-cookie-clear-item,
.vy-cookie-clear-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: rgba(29, 78, 216, 0.06);
  border: 1px solid rgba(29, 78, 216, 0.14);
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

html[data-vy-cookieclear1^="20260805"] .vy-cookie-clear-item:hover,
a.vy-cookie-clear-item:hover {
  background: rgba(29, 78, 216, 0.1);
  border-color: rgba(29, 78, 216, 0.22);
}

html[data-vy-cookieclear1^="20260805"] .vy-cookie-clear-item:active,
a.vy-cookie-clear-item:active {
  transform: scale(0.99);
}

.vy-cookie-clear-item__mark {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1d4ed8, #1e3a8a);
  color: #fff;
  font: 700 16px/1 Onest, system-ui, sans-serif;
}

.vy-cookie-clear-item__txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.vy-cookie-clear-item__txt strong {
  font: 700 14px/1.25 Onest, system-ui, sans-serif;
  color: #152033;
}

.vy-cookie-clear-item__txt small {
  font: 500 12px/1.3 Onest, system-ui, sans-serif;
  color: #5b6b7c;
}

.vy-cookie-clear-prof {
  margin: 14px 0 8px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(29, 78, 216, 0.05);
  border: 1px dashed rgba(29, 78, 216, 0.22);
}

.vy-cookie-clear-prof__btn,
#vyCookieClearProf {
  width: 100%;
  min-height: 44px;
}

.vy-cookie-clear-prof__hint {
  margin: 8px 0 0;
  font: 500 12px/1.35 Onest, system-ui, sans-serif;
  color: #5b6b7c;
}

.vy-cookie-clear-hint {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 2147481000; /* below Сервисы panel (~2147482500) — never blocks overlay */
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(360px, calc(100vw - 28px));
  padding: 10px 12px 10px 14px;
  border-radius: 999px;
  background: #152033ee;
  color: #fff;
  font: 600 13px/1.3 Onest, system-ui, sans-serif;
  box-shadow: 0 12px 28px rgba(21, 32, 51, 0.28);
  pointer-events: auto;
  animation: vyCookieClearHintIn 0.35s ease both;
}

.vy-cookie-clear-hint.is-out {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.vy-cookie-clear-hint__x {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  min-width: 32px;
  min-height: 32px;
  cursor: pointer;
  opacity: 0.8;
}

@keyframes vyCookieClearHintIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 640px) {
  .vy-cookie-clear-item {
    min-height: 52px;
  }
}
