/* Otel Kapı Numarası theme • v1.9.8 • standalone, collision-resistant floating up control */
body.okn-site .okn-back-to-top,
.okn-back-to-top {
  --okn-backtop-bottom: 100px;
  position: fixed;
  inset: auto 24px calc(var(--okn-backtop-bottom) + env(safe-area-inset-bottom, 0px)) auto;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 60px;
  height: 60px;
  padding: 7px;
  background: linear-gradient(135deg, #f4d394 0%, #d6a351 65%, #c08a36 100%);
  color: #082238;
  border: 1px solid rgba(255, 240, 202, .95);
  border-radius: 15px;
  box-shadow: 0 7px 23px rgba(7, 27, 40, .25), inset 0 1px rgba(255,255,255,.55);
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .015em;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease, box-shadow .22s ease;
}
body.okn-site .okn-back-to-top.is-visible,
.okn-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.okn-back-to-top svg { display: block; width: 23px; height: 23px; flex: 0 0 auto; }
.okn-back-to-top span { display: block; font-size: 11px; }
.okn-back-to-top:hover { box-shadow: 0 10px 27px rgba(7,27,40,.32), inset 0 1px rgba(255,255,255,.55); }
.okn-back-to-top:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #0a2940; }
@media (max-width: 767px) {
  body.okn-site .okn-back-to-top,
  .okn-back-to-top { right: max(15px, env(safe-area-inset-right, 0px)); width: 54px; height: 54px; border-radius: 14px; }
}
@media (max-height: 280px) {
  .okn-back-to-top { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .okn-back-to-top { transition: none; }
}
