.julyres-child-theme .rollbar {
  position: fixed !important;
  top: auto !important;
  right: calc(22px + env(safe-area-inset-right)) !important;
  bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  display: block !important;
  z-index: 1038;
  width: 66px;
  transform: none;
  pointer-events: none;
}

.julyres-child-theme .rollbar .actions {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  width: 62px;
  margin: 0 !important;
  padding: 6px 4px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.32);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 10px 28px rgba(15, 23, 42, 0.12);
  list-style: none;
  backdrop-filter: saturate(150%) blur(22px);
  -webkit-backdrop-filter: saturate(150%) blur(22px);
  pointer-events: auto;
}

.julyres-child-theme .rollbar .actions::before {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.64), transparent);
  opacity: 0.34;
  pointer-events: none;
}

.julyres-child-theme .rollbar .actions li {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 !important;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.julyres-child-theme .rollbar .actions li:hover {
  background: transparent !important;
}

.julyres-child-theme .rollbar .actions li.julyres-rollbar-top-item {
  margin-top: 5px !important;
  padding-top: 9px;
}

.julyres-child-theme .rollbar .actions li.julyres-rollbar-top-item::before {
  position: absolute;
  top: 0;
  right: 17px;
  left: 17px;
  height: 1px;
  content: "";
  background: rgba(15, 23, 42, 0.045);
}

.julyres-child-theme .rollbar .actions a,
.julyres-child-theme .back-top.julyres-rollbar-item {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 54px !important;
  min-width: 54px;
  height: 48px !important;
  min-height: 48px;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 0 !important;
  border-radius: 14px !important;
  color: rgba(75, 85, 101, 0.68) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 11px;
  font-weight: 620;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateZ(0);
  cursor: pointer;
  transition:
    color 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.julyres-child-theme .rollbar .actions a i,
.julyres-child-theme .back-top.julyres-rollbar-item i {
  display: block;
  margin: 0 0 5px !important;
  color: currentColor;
  font-size: 16px;
  line-height: 1;
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), color 180ms ease;
}

.julyres-child-theme .rollbar .actions a span,
.julyres-child-theme .back-top.julyres-rollbar-item span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: currentColor;
  font-size: 11px;
  font-weight: 620;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.julyres-child-theme .rollbar .actions a:hover,
.julyres-child-theme .rollbar .actions a:focus-visible,
.julyres-child-theme .back-top.julyres-rollbar-item:hover,
.julyres-child-theme .back-top.julyres-rollbar-item:focus-visible {
  color: #1f2937 !important;
  background: rgba(255, 255, 255, 0.46) !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

.julyres-child-theme .rollbar .actions a:active,
.julyres-child-theme .back-top.julyres-rollbar-item:active {
  transform: scale(0.96);
}

.julyres-child-theme .rollbar .actions a:hover i,
.julyres-child-theme .rollbar .actions a:focus-visible i {
  transform: translateY(-1px);
}

.julyres-child-theme .back-top.julyres-rollbar-item:hover i,
.julyres-child-theme .back-top.julyres-rollbar-item:focus-visible i {
  transform: translateY(-2px);
}

.julyres-child-theme .rollbar .actions a.is-active,
.julyres-child-theme .rollbar .actions a.is-active:hover,
.julyres-child-theme .rollbar .actions a.is-active:focus-visible {
  color: var(--julyres-primary) !important;
  background: rgba(var(--ri-primary-rgb), 0.08) !important;
  box-shadow: none !important;
}

[data-bs-theme="dark"] .julyres-child-theme .rollbar .actions {
  border: 0;
  background:
    linear-gradient(180deg, rgba(31, 41, 55, 0.52), rgba(15, 23, 42, 0.44)),
    rgba(15, 23, 42, 0.34);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 12px 30px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .julyres-child-theme .rollbar .actions::before {
  opacity: 0.14;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
}

[data-bs-theme="dark"] .julyres-child-theme .rollbar .actions li.julyres-rollbar-top-item::before {
  background: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .julyres-child-theme .rollbar .actions a,
[data-bs-theme="dark"] .julyres-child-theme .back-top.julyres-rollbar-item {
  color: rgba(226, 232, 240, 0.68) !important;
  background: transparent !important;
}

[data-bs-theme="dark"] .julyres-child-theme .rollbar .actions a:hover,
[data-bs-theme="dark"] .julyres-child-theme .rollbar .actions a:focus-visible,
[data-bs-theme="dark"] .julyres-child-theme .back-top.julyres-rollbar-item:hover,
[data-bs-theme="dark"] .julyres-child-theme .back-top.julyres-rollbar-item:focus-visible {
  color: #e5edf8 !important;
  background: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

[data-bs-theme="dark"] .julyres-child-theme .rollbar .actions a.is-active,
[data-bs-theme="dark"] .julyres-child-theme .rollbar .actions a.is-active:hover,
[data-bs-theme="dark"] .julyres-child-theme .rollbar .actions a.is-active:focus-visible {
  color: var(--julyres-primary) !important;
  background: rgba(var(--ri-primary-rgb), 0.16) !important;
  box-shadow: none !important;
}

body.julyres-child-theme.julyres-rollbar-qr-open {
  overflow: hidden;
}

.julyres-child-theme .julyres-rollbar-qr-dialog[hidden] {
  display: none !important;
}

.julyres-child-theme .julyres-rollbar-qr-dialog {
  position: fixed;
  inset: 0;
  z-index: 1098;
  display: grid;
  place-items: center;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.julyres-child-theme .julyres-rollbar-qr-dialog.is-open {
  opacity: 1;
  pointer-events: auto;
}

.julyres-child-theme .julyres-rollbar-qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.julyres-child-theme .julyres-rollbar-qr-panel {
  position: relative;
  width: min(386px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  padding: 22px 22px 24px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 22px 70px rgba(15, 23, 42, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.92) inset;
  transform: translateY(10px) scale(0.98);
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.julyres-child-theme .julyres-rollbar-qr-dialog.is-open .julyres-rollbar-qr-panel {
  transform: translateY(0) scale(1);
}

.julyres-child-theme .julyres-rollbar-qr-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: rgba(31, 41, 55, 0.72);
  background: rgba(243, 244, 246, 0.92);
  box-shadow: none;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.julyres-child-theme .julyres-rollbar-qr-close:hover,
.julyres-child-theme .julyres-rollbar-qr-close:focus-visible {
  color: #111827;
  background: rgba(229, 231, 235, 0.96);
  transform: translateY(-1px);
}

.julyres-child-theme .julyres-rollbar-qr-heading {
  padding-right: 38px;
  margin-bottom: 14px;
}

.julyres-child-theme .julyres-rollbar-qr-heading span {
  display: block;
  margin-bottom: 5px;
  color: var(--julyres-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.julyres-child-theme .julyres-rollbar-qr-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.julyres-child-theme .julyres-rollbar-qr-media {
  display: flex;
  justify-content: center;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.julyres-child-theme .julyres-rollbar-qr-media img {
  display: block;
  width: 100%;
  max-width: 330px;
  max-height: min(72vh, 520px);
  object-fit: contain;
  border-radius: 12px;
}

[data-bs-theme="dark"] .julyres-child-theme .julyres-rollbar-qr-backdrop {
  background: rgba(2, 6, 23, 0.62);
}

[data-bs-theme="dark"] .julyres-child-theme .julyres-rollbar-qr-panel {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.96);
  box-shadow:
    0 24px 78px rgba(0, 0, 0, 0.48),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

[data-bs-theme="dark"] .julyres-child-theme .julyres-rollbar-qr-close {
  color: rgba(226, 232, 240, 0.72);
  background: rgba(30, 41, 59, 0.92);
}

[data-bs-theme="dark"] .julyres-child-theme .julyres-rollbar-qr-close:hover,
[data-bs-theme="dark"] .julyres-child-theme .julyres-rollbar-qr-close:focus-visible {
  color: #f8fafc;
  background: rgba(51, 65, 85, 0.96);
}

[data-bs-theme="dark"] .julyres-child-theme .julyres-rollbar-qr-heading h2 {
  color: #f8fafc;
}

.julyres-child-theme .m-navbar {
  border-top: 1px solid var(--julyres-border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 -12px 28px rgba(16, 24, 40, 0.08);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
}

[data-bs-theme="dark"] .julyres-child-theme .m-navbar {
  background: rgba(17, 24, 39, 0.92);
}

.julyres-child-theme .m-navbar a {
  color: var(--julyres-muted);
  font-weight: 600;
}

.julyres-child-theme .m-navbar a:hover,
.julyres-child-theme .m-navbar a:focus {
  color: var(--julyres-primary);
}

@media (prefers-reduced-motion: reduce) {
  .julyres-child-theme .rollbar .actions a,
  .julyres-child-theme .back-top.julyres-rollbar-item,
  .julyres-child-theme .rollbar .actions a i,
  .julyres-child-theme .back-top.julyres-rollbar-item i,
  .julyres-child-theme .julyres-rollbar-qr-dialog,
  .julyres-child-theme .julyres-rollbar-qr-panel,
  .julyres-child-theme .julyres-rollbar-qr-close {
    transition: none;
  }
}

@media (min-width: 768px) and (max-width: 1539.98px) {
  .julyres-child-theme .rollbar {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .julyres-child-theme .rollbar {
    display: none !important;
    top: auto !important;
    right: calc(10px + env(safe-area-inset-right)) !important;
    bottom: calc(66px + env(safe-area-inset-bottom)) !important;
    width: 60px;
  }

  .julyres-child-theme .rollbar .actions {
    width: 60px;
    padding: 7px 5px;
    border-radius: 15px;
  }

  .julyres-child-theme .rollbar .actions a,
  .julyres-child-theme .back-top.julyres-rollbar-item {
    width: 50px !important;
    min-width: 50px;
    height: 46px !important;
    min-height: 46px;
    border-radius: 15px !important;
  }

  .julyres-child-theme .rollbar .actions a i,
  .julyres-child-theme .back-top.julyres-rollbar-item i {
    margin-bottom: 5px !important;
    font-size: 16px;
  }

  .julyres-child-theme .rollbar .actions a span,
  .julyres-child-theme .back-top.julyres-rollbar-item span {
    font-size: 10.5px;
  }

  .julyres-child-theme .julyres-rollbar-qr-dialog {
    padding: 16px;
  }

  .julyres-child-theme .julyres-rollbar-qr-panel {
    width: min(360px, calc(100vw - 32px));
    padding: 20px 18px 20px;
    border-radius: 20px;
  }

  .julyres-child-theme .julyres-rollbar-qr-heading h2 {
    font-size: 18px;
  }

  .julyres-child-theme .julyres-rollbar-qr-media {
    padding: 8px;
  }
}
