:root {
  --odin-accent-1: var(--odin-info, #37c6e6);
}

@media (max-width: 991.98px) {
  #odinQrOverlay.odin-v2-qr-overlay {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: calc(16px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom)) !important;
    box-sizing: border-box !important;
    z-index: 2147483000 !important;
    display: block !important;
    overflow: auto !important;
    overscroll-behavior: contain;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;
    background: rgba(5, 13, 22, .97) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
  }

  #odinQrOverlay.odin-v2-qr-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  #odinQrOverlay .odin-v2-qr-head {
    position: sticky;
    top: 0;
    z-index: 4;
    padding: .15rem 0 .65rem;
    background: linear-gradient(180deg, rgba(5,13,22,.98) 72%, rgba(5,13,22,0));
  }

  #odinQrOverlay #odinQrClose {
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
  }

  #odinMobileMenuSearchForm .odin-v2-mobile-menu-search-field {
    position: relative !important;
    min-height: 50px !important;
    border: 1px solid #2b4a61 !important;
    background: rgba(10,24,38,.95) !important;
    border-radius: 8px !important;
  }

  #odinMobileMenuSearch {
    height: 48px !important;
    padding-right: 2.8rem !important;
  }

  #odinMobileSearchClear.odin-v2-search-clear {
    position: absolute !important;
    right: .78rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--odin-accent-1) !important;
    box-shadow: none !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    z-index: 20 !important;
    cursor: pointer !important;
  }

  #odinMobileSearchClear.odin-v2-search-clear.visible,
  #odinMobileMenuSearch:not(:placeholder-shown) + #odinMobileSearchClear.odin-v2-search-clear {
    display: inline-flex !important;
  }

  #odinMobileSearchClear.odin-v2-search-clear > span {
    display: block !important;
    font-size: 1.08rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }

  #odinMobileSearchClear.odin-v2-search-clear:hover,
  #odinMobileSearchClear.odin-v2-search-clear:focus-visible {
    color: var(--odin-accent-1) !important;
    opacity: .78;
    outline: none !important;
  }

  #odinMobileSearchClear.odin-v2-search-clear:active {
    transform: translateY(-50%) scale(.92) !important;
  }
}

[data-bs-theme="light"] #odinQrOverlay.odin-v2-qr-overlay {
  background: rgba(247, 250, 252, .97) !important;
}

[data-bs-theme="light"] #odinQrOverlay .odin-v2-qr-head {
  background: linear-gradient(180deg, rgba(247,250,252,.98) 72%, rgba(247,250,252,0));
}

[data-bs-theme="light"] #odinMobileMenuSearchForm .odin-v2-mobile-menu-search-field {
  background: rgba(255,255,255,.97) !important;
  border-color: #cbd9e3 !important;
  box-shadow: inset 0 0 0 1px rgba(20,48,67,.02) !important;
}

[data-bs-theme="light"] #odinMobileMenuSearchForm .odin-v2-mobile-menu-search-field > i {
  color: #6f8494 !important;
}

[data-bs-theme="light"] #odinMobileMenuSearch {
  background: transparent !important;
  color: #172433 !important;
  -webkit-text-fill-color: #172433 !important;
  caret-color: var(--odin-accent-1) !important;
}

[data-bs-theme="light"] #odinMobileMenuSearch::placeholder {
  color: #7b8d9b !important;
  opacity: 1 !important;
}

[data-bs-theme="light"] #odinMobileMenuSearchForm .odin-v2-mobile-menu-search-field:focus-within {
  border-color: var(--odin-accent-1) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--odin-accent-1) 14%, transparent) !important;
}
