/* TOCKKI Interactive V1.6 — text-only camera lock control.
   data-locked is maintained by existing V1.5 camera_lock.js; no JS behavior changes. */
.view-lock-toggle {
  position: fixed;
  top: max(19px, env(safe-area-inset-top));
  right: max(17px, env(safe-area-inset-right));
  z-index: 23;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 86px;
  height: 34px;
  padding: 0 9px;
  border: 1px solid #d4c7e2;
  border-radius: 9px;
  background: rgba(255, 255, 255, .96);
  color: #695978;
  box-shadow: 0 3px 12px rgba(75, 55, 92, .10);
  font: 600 12px/1 system-ui, -apple-system, "Malgun Gothic", sans-serif;
  letter-spacing: -.2px;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background-color .14s ease, border-color .14s ease,
              color .14s ease, box-shadow .14s ease;
}
.view-lock-toggle:hover {
  background: #f4edfa;
  border-color: #ac91c8;
}
.view-lock-toggle:focus-visible {
  outline: 3px solid #a487c3;
  outline-offset: 3px;
}
/* Activated: clearly purple, with white text. */
.view-lock-toggle[data-locked="true"],
.view-lock-toggle[aria-pressed="true"] {
  background: #7956a5;
  border-color: #7956a5;
  color: #fff;
  box-shadow: 0 4px 13px rgba(100, 61, 143, .24);
}
.view-lock-toggle[data-locked="true"]:hover,
.view-lock-toggle[aria-pressed="true"]:hover {
  background: #68438f;
  border-color: #68438f;
}
/* Safety for browsers retaining cached V1.5 markup: never show lock icons. */
.view-lock-toggle svg { display: none !important; }
.top-mark { right: 125px; }
@media (max-width: 650px) {
  .view-lock-toggle {
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
  }
  .top-mark { right: 119px; }
}
@media (max-width: 410px) { .top-mark { display: none; } }
