.myPlacesDrawer {
  position: fixed;
  top: var(--topbarH);
  right: 0;
  width: 370px;
  height: calc(100dvh - var(--topbarH));
  background: var(--drawer-bg);
  padding: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  z-index: 850;
  transform: translateX(110%);
  transition: transform .22s ease;
  overflow: auto;
  scrollbar-gutter: stable;
  scrollbar-color: transparent transparent;
  scrollbar-width: thin;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.myPlacesDrawer::-webkit-scrollbar{
  width: 10px;
}
.myPlacesDrawer::-webkit-scrollbar-track{
  background: transparent;
  border-radius: 999px;
}
.myPlacesDrawer::-webkit-scrollbar-thumb{
  background: transparent;
  border-radius: 999px;
  border: 2px solid transparent;
}
.myPlacesDrawer.is-scrolling{
  scrollbar-color: #3c52d9 rgba(12, 8, 20, 0.9);
}
.myPlacesDrawer.is-scrolling::-webkit-scrollbar-track{
  background: rgba(12, 8, 20, 0.9);
}
.myPlacesDrawer.is-scrolling::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, #3c52d9, #2f6fe0);
  border: 2px solid rgba(12, 8, 20, 0.9);
}

.myPlacesDrawer.open {
  transform: translateX(0);
}

.myPlacesDrawerHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.myPlacesDrawerTitle {
  font-size: 14px;
  font-weight: 800;
  color: #eaedff;
  letter-spacing: .02em;
}

.myPlacesClose {
  border: none;
  background: rgba(12, 18, 44, 0.6);
  color: #eaedff;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  cursor: pointer;
}

.myPlacesSection {
  display: grid;
  gap: 8px;
}

.myPlacesSection+.myPlacesSection {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(25, 89, 173, 0.2);
}

.myPlacesTitle {
  font-size: 12px;
  font-weight: 800;
  color: rgba(233, 228, 255, 0.7);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.myPlacesSegment {
  position: relative;
  display: flex;
  gap: 0;
  padding: 7px;
  border-radius: 10px;
  background: rgba(8, 13, 39, .5);
  border: 3px solid rgba(25, 89, 173, .25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.myPlacesSegmentWide {
  height: 52px;
}

.myPlacesSegmentBtn {
  position: relative;
  z-index: 2;
  flex: 1 1 0;
  height: 100%;
  background: transparent;
  border: none;
  color: #c4cbf5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.myPlacesSegmentBtn+.myPlacesSegmentBtn {
  border-left: 1px solid rgba(25, 89, 173, 0.15);
}

.myPlacesSegmentBtn.active {
  color: #eaedff;
background: #253658 !important;
  border: 1px solid #2f62c8 !important;
}

.myPlacesSegmentSubstrate {
  position: absolute;
  top: 7px;
  left: 7px;
  height: calc(100% - 14px);
  width: calc(25% - 7px);
  background: linear-gradient(#253575, #162561);
  box-shadow: inset 0 2px 4px 0 hsla(0, 0%, 100%, .05);
  border-radius: 14px;
  transition: transform .35s ease;
  z-index: 1;
}

.myPlacesBadges {
  display: flex;
  gap: 6px;
  flex-direction: column;
}

.myPlacesEmpty {
  font-size: 12px;
  color: rgba(233, 228, 255, 0.5);
}

.myPlacesMore {
  margin-top: 10px;
  width: 100%;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(25, 89, 173, 0.35);
  background: rgba(18, 10, 32, 0.6);
  color: #eaedff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  text-align: center;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.myPlacesMore:hover {
  background: rgba(37, 53, 117, 0.75);
  border-color: rgba(46, 242, 255, 0.55);
  box-shadow: 0 6px 14px rgba(60, 82, 217, 0.25);
}

.myPlacesItem {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(25, 89, 173, 0.2);
  background: rgba(12, 18, 44, 0.85);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.myPlacesItem:hover {
  background: rgba(37, 53, 117, 0.75);
  border-color: var(--xplrit-accent);
}

.myPlacesThumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.myPlacesItemText {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.myPlacesItemTitle {
  font-weight: 700;
  font-size: 13px;
  color: #eaedff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.myPlacesItemMeta {
  font-size: 12px;
  color: rgba(233, 228, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.myPlacesItemIcon {
  width: 16px;
  height: 16px;
  opacity: 0.85;
  margin: 5px;
}

.segmentIcon {
  width: 14px;
  height: 14px;
  display: block;
  opacity: .85;
}