
/* SIMSAR_SELECTED_GLASS_V91 */
@media screen and (max-width:767px) {
  /* Selected property only */
  #page-map.active:has(#simsar-map-v1
  .smv2-card.smv2-selected) {
    isolation:isolate;
  }

  #page-map.active #simsar-map-v1.smv2-sheet-open
  .smv2-panel:has(.smv2-card.smv2-selected) {
    display:flex !important;
    flex-direction:column !important;
    position:fixed !important;
    top:auto !important;
    left:10px !important;
    right:10px !important;
    bottom:calc(100px + env(safe-area-inset-bottom,0px)) !important;
    width:auto !important;
    height:auto !important;
    max-height:min(32dvh,205px) !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    z-index:2147483000 !important;
    border-radius:16px !important;
    border:1px solid rgba(255,255,255,.78) !important;
    background:rgba(255,255,255,.86) !important;
    -webkit-backdrop-filter:blur(14px) !important;
    backdrop-filter:blur(14px) !important;
    box-shadow:0 8px 24px rgba(15,23,42,.22) !important;
    overflow:hidden !important;
  }

  #page-map.active #simsar-map-v1.smv2-sheet-open
  .smv2-panel:has(.smv2-selected) .smv2-panel-head {
    display:flex !important;
    flex:0 0 36px !important;
    min-height:36px !important;
    height:36px !important;
    padding:2px 8px !important;
    background:transparent !important;
    border:0 !important;
  }

  #page-map.active #simsar-map-v1.smv2-sheet-open
  .smv2-panel:has(.smv2-selected) .smv2-panel-head strong {
    display:none !important;
  }

  #page-map.active #simsar-map-v1.smv2-sheet-open
  .smv2-panel:has(.smv2-selected) #smv2Close {
    display:grid !important;
    place-items:center !important;
    margin-inline-start:auto !important;
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    min-height:34px !important;
    border-radius:50% !important;
    background:#eef2f7 !important;
    color:#233b51 !important;
  }

  #page-map.active #simsar-map-v1.smv2-sheet-open
  .smv2-panel:has(.smv2-selected) .smv2-results {
    display:block !important;
    flex:1 1 auto !important;
    min-height:0 !important;
    padding:0 9px 9px !important;
    overflow-y:auto !important;
    overscroll-behavior:contain;
  }

  #page-map.active #simsar-map-v1.smv2-sheet-open
  .smv2-panel:has(.smv2-selected) .smv2-card {
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:7px !important;
    gap:10px !important;
    border:0 !important;
    border-radius:11px !important;
    background:rgba(255,255,255,.35) !important;
    box-shadow:none !important;
  }

  #page-map.active #simsar-map-v1
  .smv2-panel:has(.smv2-selected) .smv2-photo {
    flex:0 0 88px !important;
    width:88px !important;
    height:95px !important;
    border-radius:9px !important;
  }

  #page-map.active #simsar-map-v1
  .smv2-panel:has(.smv2-selected) .smv2-card-copy {
    flex:1 1 0 !important;
    min-width:0 !important;
  }

  #page-map.active #simsar-map-v1.smv2-sheet-open
  .smv2-layout:has(.smv2-selected) #smv2Show {
    display:none !important;
  }
}
