.admap-shell{
  padding-top:118px;
}

.admap-layout{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(320px,.8fr);
  gap:16px;
  align-items:start;
}

.admap-map-card,
.admap-side,
.admap-detail{
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(12,17,26,.78);
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}

.admap-map-card,
.admap-side{
  padding:12px;
}

.admap-map-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:10px;
  margin-bottom:10px;
}

.admap-map-head h1{
  margin:0;
  color:#f6f9ff;
  font-size:clamp(1.25rem,2.3vw,1.9rem);
  font-weight:850;
  letter-spacing:-.01em;
}

.admap-map-head p{
  margin:0;
  color:#b6c7e0;
  font-size:.78rem;
  line-height:1.3;
}

.admap-map{
  height:min(76vh,740px);
  min-height:520px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.15);
  background:#0c111b;
}

.admap-side-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.admap-side-head h2{
  margin:0;
  color:#f6f9ff;
  font-size:1.02rem;
  font-weight:800;
}

.admap-side-head span{
  color:#bfd0e7;
  font-size:.74rem;
  font-weight:700;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  padding:5px 10px;
}

.admap-side-head strong{
  color:#fff;
  font-weight:900;
}

.admap-list{
  display:flex;
  flex-direction:column;
  gap:8px;
  max-height:min(74vh,640px);
  overflow:auto;
  padding-right:2px;
}

.admap-row{
  width:100%;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.03);
  border-radius:11px;
  padding:9px;
  display:grid;
  grid-template-columns:40px 1fr auto;
  align-items:center;
  gap:8px;
  text-align:left;
  cursor:pointer;
  transition:border-color .16s ease, background .16s ease, transform .16s ease;
}

.admap-row:hover{
  transform:translateY(-1px);
  border-color:rgba(126,216,255,.55);
  background:rgba(255,255,255,.06);
}

.admap-row.active{
  border-color:rgba(126,216,255,.78);
  background:rgba(30,99,255,.15);
}

.admap-row-logo{
  width:40px;
  height:40px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.06);
  display:grid;
  place-items:center;
  overflow:hidden;
}

.admap-row-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  opacity:.86;
}

.admap-row-main strong{
  display:block;
  color:#f7faff;
  font-size:.8rem;
  font-weight:760;
  line-height:1.28;
}

.admap-row-main small{
  display:block;
  color:#a5bad7;
  font-size:.68rem;
  margin-top:2px;
}

.admap-row-rate{
  color:#fff;
  font-size:.72rem;
  font-weight:800;
  white-space:nowrap;
}

.admap-detail-wide{
  margin-top:16px;
}

.admap-detail{
  padding:14px;
}

.admap-detail-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}

.admap-brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.admap-brand-logo{
  width:46px;
  height:46px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.06);
  display:grid;
  place-items:center;
  overflow:hidden;
  flex:0 0 auto;
}

.admap-brand-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  opacity:.88;
}

.admap-brand small{
  display:block;
  color:#a7bddc;
  font-size:.66rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:2px;
}

.admap-brand h3{
  margin:0;
  color:#fff;
  font-size:1rem;
  font-weight:820;
  line-height:1.25;
}

.admap-traffic{
  color:#fff;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  font-size:.72rem;
  font-weight:760;
  padding:6px 10px;
  white-space:nowrap;
}

.admap-detail-body{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:14px;
  align-items:start;
}

.admap-media-col,
.admap-meta-col{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.admap-main-photo{
  min-height:260px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(7,11,18,.62);
}

.admap-main-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.admap-thumbs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}

.admap-thumb{
  height:60px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:10px;
  overflow:hidden;
  background:rgba(255,255,255,.04);
  cursor:pointer;
  padding:0;
}

.admap-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.admap-thumb.active{
  border-color:rgba(126,216,255,.78);
}

.admap-info-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}

.admap-info-grid article{
  border-radius:10px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.03);
  padding:9px;
}

.admap-info-grid span{
  display:block;
  color:#9eb3d2;
  font-size:.64rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:760;
  margin-bottom:3px;
}

.admap-info-grid strong{
  display:block;
  color:#edf3ff;
  font-size:.78rem;
  line-height:1.35;
  font-weight:720;
}

.admap-hours{
  border-radius:10px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.03);
  padding:9px;
}

.admap-hour{
  display:flex;
  justify-content:space-between;
  gap:8px;
  color:#d5e2f6;
  font-size:.72rem;
  padding:3px 0;
  border-bottom:1px dashed rgba(255,255,255,.11);
}

.admap-hour:last-child{
  border-bottom:0;
}

.admap-note{
  margin:0;
  color:#c2d2e8;
  font-size:.75rem;
  line-height:1.42;
}

.admap-cta{
  width:100%;
}

.leaflet-control-zoom{
  border:none !important;
  box-shadow:0 10px 20px rgba(0,0,0,.24) !important;
}

.leaflet-control-zoom a{
  background:rgba(9,14,22,.86) !important;
  color:#edf4ff !important;
  border:1px solid rgba(255,255,255,.18) !important;
}

.leaflet-control-attribution{
  background:rgba(8,12,20,.6) !important;
  color:#d1e0f4 !important;
  border-radius:8px 0 0 0;
}

.admap-pin-wrap{
  background:transparent;
  border:0;
}

.admap-pin{
  width:46px;
  height:46px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.3);
  background:rgba(12,18,29,.9);
  box-shadow:0 10px 18px rgba(0,0,0,.32);
  overflow:hidden;
  position:relative;
  display:grid;
  place-items:center;
  transition:transform .15s ease, box-shadow .15s ease;
}

.admap-pin img{
  width:100%;
  height:100%;
  object-fit:contain;
  opacity:.52;
}

.admap-pin span{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:.75rem;
  font-weight:900;
  letter-spacing:.08em;
  text-shadow:0 4px 10px rgba(0,0,0,.5);
}

.admap-pin.active{
  transform:translateY(-1px) scale(1.06);
  box-shadow:0 12px 22px rgba(0,0,0,.35),0 0 0 4px rgba(30,99,255,.18);
  border-color:rgba(126,216,255,.7);
}

@media (max-width:1200px){
  .admap-layout{
    grid-template-columns:1fr;
  }

  .admap-list{
    max-height:290px;
  }

  .admap-detail-body{
    grid-template-columns:1fr;
  }
}

@media (max-width:760px){
  .admap-shell{
    padding-top:102px;
  }

  .admap-map{
    min-height:420px;
    height:58vh;
  }

  .admap-map-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .admap-info-grid{
    grid-template-columns:1fr;
  }

  .admap-main-photo{
    min-height:210px;
  }
}

:root[data-theme='light'] .admap-map-card,
:root[data-theme='light'] .admap-side,
:root[data-theme='light'] .admap-detail{
  border-color:rgba(24,36,58,.14);
  background:#fff;
  box-shadow:0 8px 20px rgba(23,34,58,.08);
}

:root[data-theme='light'] .admap-map-head h1,
:root[data-theme='light'] .admap-side-head h2,
:root[data-theme='light'] .admap-brand h3,
:root[data-theme='light'] .admap-row-main strong,
:root[data-theme='light'] .admap-row-rate,
:root[data-theme='light'] .admap-info-grid strong{
  color:#152846;
}

:root[data-theme='light'] .admap-map-head p,
:root[data-theme='light'] .admap-brand small,
:root[data-theme='light'] .admap-row-main small,
:root[data-theme='light'] .admap-note,
:root[data-theme='light'] .admap-hour,
:root[data-theme='light'] .admap-info-grid span{
  color:#425a79;
}

:root[data-theme='light'] .admap-side-head span,
:root[data-theme='light'] .admap-row,
:root[data-theme='light'] .admap-info-grid article,
:root[data-theme='light'] .admap-hours,
:root[data-theme='light'] .admap-traffic,
:root[data-theme='light'] .admap-main-photo,
:root[data-theme='light'] .admap-thumb{
  border-color:rgba(24,36,58,.14);
  background:rgba(24,36,58,.05);
  color:#2e4868;
}

:root[data-theme='light'] .admap-map{
  border-color:rgba(24,36,58,.16);
}

:root[data-theme='light'] .leaflet-control-zoom a{
  background:rgba(255,255,255,.96) !important;
  color:#1c3454 !important;
  border-color:rgba(24,36,58,.16) !important;
}

:root[data-theme='light'] .leaflet-control-attribution{
  background:rgba(255,255,255,.9) !important;
  color:#3f5675 !important;
}

:root[data-theme='light'] .admap-pin{
  border-color:rgba(24,36,58,.24);
  background:rgba(248,251,255,.97);
}

:root[data-theme='light'] .admap-pin span{
  color:#122944;
  text-shadow:none;
}
