/* コンデル？ v1.8.3.7 - PC compact UI + map-move auto hide */

@media (min-width:1000px){
  :root{
    --desktop-compact-sheet:350px;
  }

  /* Top-left search/filter panel: smaller footprint. */
  .search-panel{
    left:14px!important;
    top:76px!important;
    width:330px!important;
    padding:8px!important;
    border-radius:17px!important;
  }
  .search-row input{
    height:42px!important;
    font-size:13px!important;
  }
  .search-row button{
    height:42px!important;
    padding:0 13px!important;
    font-size:12px!important;
  }
  .toolbar{
    margin-top:6px!important;
    gap:6px!important;
  }
  .chip,.sort{
    height:28px!important;
    padding:0 9px!important;
    font-size:10px!important;
  }
  .legend{
    gap:9px!important;
    margin-top:7px!important;
    font-size:8.5px!important;
  }

  /* Right congestion list: narrower and denser. */
  .sheet{
    right:14px!important;
    top:76px!important;
    bottom:14px!important;
    width:var(--desktop-compact-sheet)!important;
    border-radius:19px!important;
    transition:
      transform .22s ease,
      opacity .18s ease,
      width .22s ease!important;
    will-change:transform,opacity;
  }
  .sheet-content{
    padding:16px 14px 20px!important;
  }
  .eyebrow{
    font-size:9px!important;
  }
  .welcome h1{
    font-size:24px!important;
  }
  .place-title h2{
    font-size:22px!important;
  }
  .list{
    gap:6px!important;
    margin-top:7px!important;
  }
  .list-item{
    min-height:56px!important;
    padding:8px 40px 8px 10px!important;
    border-radius:12px!important;
  }
  .list-item strong{
    font-size:12.5px!important;
  }
  .list-item small{
    font-size:9.5px!important;
  }
  .list-item::after{
    right:11px!important;
    font-size:21px!important;
  }

  .fab{
    right:378px!important;
    height:44px!important;
    min-width:84px!important;
  }
  .maplibregl-ctrl-bottom-right{
    right:372px!important;
  }

  /* While the user moves/zooms the map, slide the congestion list away. */
  body.konderu-map-moving .sheet{
    transform:translateX(calc(100% + 28px))!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  body.konderu-map-moving .fab{
    right:14px!important;
  }
  body.konderu-map-moving .maplibregl-ctrl-bottom-right{
    right:8px!important;
  }

  .fab,
  .maplibregl-ctrl-bottom-right{
    transition:right .22s ease,transform .18s ease!important;
  }
}

/* Keep the same compact width on very wide monitors. */
@media (min-width:1500px){
  .search-panel{
    left:18px!important;
    width:340px!important;
  }
  .sheet{
    right:18px!important;
    width:360px!important;
  }
  .fab{
    right:396px!important;
  }
  .maplibregl-ctrl-bottom-right{
    right:390px!important;
  }
  body.konderu-map-moving .fab{
    right:18px!important;
  }
  body.konderu-map-moving .maplibregl-ctrl-bottom-right{
    right:10px!important;
  }
}
