@media (max-width: 1024px) {
  .bs-category-sheet {
    position: fixed;
    inset: auto 0 0;
    margin: 0 auto;
    padding: 0;
    inline-size: min(100%, 880px);
    max-inline-size: 100%;
    max-block-size: min(90svh, 880px);
    max-block-size: min(90dvh, 880px);
    border: 0;
    border-radius: 28px 28px 0 0;
    background: #f6f8fb;
    color: #102b46;
    box-shadow: 0 -18px 70px rgb(4 23 42 / 20%);
    font-family: inherit;
    overflow: hidden;
    overscroll-behavior: contain;
  }
  .bs-category-sheet[open] {
    display: flex;
    flex-direction: column;
    animation: bs-category-rise 380ms cubic-bezier(.22,.8,.25,1) backwards;
  }
  .bs-category-sheet::backdrop {background: rgb(4 18 32 / 42%);}
  .bs-category-sheet.is-closing {animation: bs-category-leave 220ms ease-in both;}
  .bs-category-sheet__handle {
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    touch-action: none;
    cursor: grab;
  }
  .bs-category-sheet__handle::before {
    content: "";
    inline-size: 38px;
    block-size: 4px;
    border-radius: 9px;
    background: #c4cfda;
  }
  .bs-category-sheet__header {
    position: static;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 20px 14px;
    background: transparent;
    color: inherit;
  }
  .bs-category-sheet__title {
    margin: 0;
    font-size: clamp(22px, 5.6vw, 29px);
    font-weight: 650;
    letter-spacing: -.025em;
    line-height: 1.25;
    color: inherit;
  }
  .bs-category-sheet__close {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    inline-size: 44px;
    block-size: 44px;
    min-block-size: 44px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #e8eef5;
    color: #27425c;
    font-family: inherit;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
  }
  .bs-category-sheet__content {
    display: grid;
    gap: 12px;
    min-block-size: 0;
    padding: 0 16px 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #c4cfda transparent;
  }
  .bs-category-sheet__group {padding: 0 14px 12px;background: #fff;border: 1px solid #e8eef4;border-radius: 18px;}
  .bs-category-sheet__group-heading {margin: 0;font: inherit;}
  .bs-category-sheet__category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-block-size: 52px;
    padding: 10px 2px;
    color: #102b46;
    text-decoration: none;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.35;
  }
  .bs-category-sheet__arrow {font: 300 26px/1 system-ui;color: #73879c;}
  .bs-category-sheet[dir="rtl"] .bs-category-sheet__arrow {transform: rotate(180deg);}
  .bs-category-sheet__children {display: grid;grid-template-columns: repeat(2,minmax(0,1fr));gap: 8px;}
  .bs-category-sheet__child {
    display: flex;
    align-items: center;
    min-block-size: 44px;
    padding: 9px 11px;
    border-radius: 11px;
    background: #f3f6fa;
    color: #40576e;
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none;
    overflow-wrap: anywhere;
  }
  .bs-category-sheet__footer {
    position: static;
    flex-shrink: 0;
    margin: 0;
    padding: 14px 20px max(18px,env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #e6edf4;
  }
  .bs-category-sheet__all {
    display: flex;
    align-items: center;
    justify-content: center;
    min-block-size: 50px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #1057c3;
    color: #fff;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
  }
  .bs-category-sheet :is(a,button):focus-visible {outline: 3px solid #6199ee;outline-offset: 3px;}
  .bs-category-sheet :is(a,button) {box-sizing: border-box;-webkit-tap-highlight-color: transparent;}
  .bs-category-sheet :is(a,button):active {filter: brightness(.94);}
  html[data-bs-category-sheet-open] :is(.amaya-assistant,.assistant-launch) {pointer-events: none;}
  @media (min-width: 600px) {
    .bs-category-sheet__content {grid-template-columns: repeat(2,minmax(0,1fr));align-items: start;gap: 14px;padding-inline: 24px;}
    .bs-category-sheet__header {padding-inline: 28px;}
    .bs-category-sheet__footer {padding-inline: 28px;}
  }
  @media (max-height: 500px) {.bs-category-sheet {max-block-size: 96dvh;}.bs-category-sheet__handle {flex-basis: 18px;}.bs-category-sheet__header {padding-bottom: 6px;}.bs-category-sheet__footer {padding-block: 8px;}}
  @media (prefers-reduced-motion: reduce) {.bs-category-sheet[open],.bs-category-sheet.is-closing {animation: none;}}
}
@keyframes bs-category-rise {from {opacity: .45;transform: translateY(100%);}to {opacity: 1;transform: translateY(0);}}
@keyframes bs-category-leave {to {opacity: 0;transform: translateY(100%);}}
