/* Shared Moya Smena BottomSheet. One component for /go/ and every mobile consumer. */
.sheet-layer{position:fixed;inset:0;z-index:9999;visibility:hidden}
.sheet-layer.open{visibility:visible}
.sheet-backdrop{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:rgba(0,0,0,.6);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);cursor:default;z-index:0;opacity:1;pointer-events:auto;transition:opacity .3s ease}
.sheet{position:absolute;z-index:2;bottom:0;left:0;right:0;margin:0 auto;width:100%;max-width:840px;height:80vh;height:80dvh;max-height:80vh;max-height:80dvh;background:#fff;border-radius:18px 18px 0 0;transform:translateY(25%);opacity:0;transition:transform .3s ease-out,opacity .2s ease;overflow:hidden}
.sheet.dragging{transition:none!important;user-select:none;-webkit-user-select:none}
.sheet-layer.open .sheet{transform:translateY(0);opacity:1}
.sheet-layer.open.closing .sheet{transform:translateY(25%);opacity:0}
.sheet-layer.open.closing .sheet-backdrop{opacity:0}
.sheet-top{height:78px;position:absolute;z-index:30;top:0;left:0;right:0;background:#fff;border-radius:18px 18px 0 0;border-bottom:1px solid var(--field,#f1f1f4);display:flex;align-items:center;padding:16px 70px 16px 16px}
.sheet-top strong{font-size:18px;font-weight:600;line-height:var(--lh-18,23px);display:block;min-width:0;max-width:100%;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sheet-close{position:absolute;right:16px;top:16px;width:46px;height:46px;padding:0;border:0;border-radius:10px;background:var(--field,#f1f1f4);display:grid;place-items:center;cursor:pointer}
.sheet-close img{display:block;width:22px;height:22px}
.mobile-grab{display:none}
.sheet-body{position:relative;z-index:1;height:100%;overflow-y:auto;padding:94px 16px 31px;scrollbar-width:none;-ms-overflow-style:none}
.sheet-body::-webkit-scrollbar{display:none;width:0;height:0}
.sheet.no-search .sheet-top{padding-left:16px}
.sheet.no-search .sheet-top strong{display:block}
.sheet.no-search .sheet-body{padding-top:94px}
.sheet.has-search .sheet-top strong{display:none}
html.sheet-locked,body.sheet-locked{overflow:hidden;overscroll-behavior:none}

@media(max-width:570px){
  .sheet{height:88vh;height:88dvh;max-height:88vh;max-height:88dvh;overflow:visible}
  .sheet-body{background:#fff;border-radius:18px 18px 0 0;padding-bottom:calc(31px + env(safe-area-inset-bottom,0px))}
  .mobile-grab{display:block;position:absolute;z-index:8;top:-28px;left:50%;transform:translateX(-50%);width:64px;height:36px;border-radius:18px;background:transparent;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}
  .mobile-grab::before{content:"";position:absolute;left:50%;top:15px;transform:translateX(-50%);width:38px;height:5px;border-radius:999px;background:#c8c8cf;pointer-events:none}
  .mobile-grab:active{cursor:grabbing}
}

/* V661: any visible sheet sits above the shared sticky header. Hide the
   header without changing layout or scroll position; restore after close. */
.sheet-layer.open{z-index:20050}
body:has(.sheet-layer.open) .lk-header-shell{
 visibility:hidden!important;
 pointer-events:none!important;
}
