/* 图层控制弹窗(右栏 ▦ 打开) */
#layerCtl { position: absolute; top: 14px; right: 70px; z-index: 22; width: 260px;
  max-height: calc(100vh - 72px); overflow-y: auto; background: #fff; border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.18); padding: 10px 12px; }
#layerCtl.hidden { display: none; }
#layerCtl .lc-h { font-size: 13px; font-weight: 700; color: #1f2937; margin-bottom: 8px; }
#layerCtl label { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #374151; padding: 5px 0; cursor: pointer; }
#layerCtl label i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
#layerCtl .lc-row { display: flex; align-items: center; }
#layerCtl .lc-row .lc-main { flex: 1; }
#layerCtl .lc-caret { border: none; background: none; cursor: pointer; color: #9aa3a0; font-size: 13px; padding: 4px 6px; }
#layerCtl .lc-sub { margin: 0 0 4px 18px; padding-left: 8px; border-left: 2px solid #eef0ee; }
#layerCtl .lc-sub.hidden { display: none; }
#layerCtl .lc-sub label { font-size: 12px; padding: 4px 0; }
#layerCtl .lc-note { font-size: 11px; color: #9aa3a0; margin-top: 8px; line-height: 1.4; }
#layerCtl .lc-tileset span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#layerCtl .lc-empty { padding: 5px 2px; color: #9aa3a0; font-size: 11px; line-height: 1.4; }
#layerCtl .lc-opacity { padding: 5px 2px 2px; }
#layerCtl .lc-opacity > div { display: flex; align-items: center; justify-content: space-between;
  color: #6b7280; font-size: 11px; }
#layerCtl .lc-opacity em { color: var(--green2); font-style: normal; }
#layerCtl .lc-opacity input[type=range] { width: 100%; margin: 5px 0 0; accent-color: var(--green); }
