/* 탑바 좌표 검색 옆의 접이식 레이어 단축키 */
#quick-layer-control {
    position: relative;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    margin-left: 6px;
    font-family: 'Noto Sans KR', system-ui, sans-serif;
}
#top-bar-container:has(#quick-layer-control) { z-index: 2147482000 !important; }
#coord-goto-wrap { margin-left: 6px !important; }
#quick-layer-launcher {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 1px solid rgba(207,174,116,.5);
    border-radius: 8px;
    background: rgba(20,22,24,.94);
    color: #aab8c6;
    box-shadow: 0 3px 12px rgba(0,0,0,.28);
    cursor: pointer;
}
#quick-layer-launcher:hover,
#quick-layer-launcher[aria-expanded="true"] { background: #5a4022; color: #ffe3a0; }
#quick-layer-launcher:focus-visible,
#quick-layer-panel button:focus-visible { outline: 2px solid #efc969; outline-offset: 2px; }
#quick-layer-panel {
    position: fixed;
    z-index: 2147483000;
    width: 190px;
    max-height: min(520px, var(--quick-panel-max-height, 400px));
    overflow-y: auto;
    font-family: 'Noto Sans KR', system-ui, sans-serif;
    padding: 8px;
    border: 1px solid rgba(207,174,116,.5);
    border-radius: 8px;
    background: rgba(15,20,25,.97);
    box-shadow: 0 8px 25px rgba(0,0,0,.55);
}
#quick-layer-panel[hidden] { display: none; }
.quick-layer-heading { padding: 2px 4px 7px; color: #e9d294; font-size: 11px; font-weight: 700; }
.quick-layer-category { border-top: 1px solid rgba(255,255,255,.09); }
.quick-layer-category > summary { display: flex; align-items: center; gap: 7px; padding: 9px 5px; color: #e3d8c4; font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; }
.quick-layer-category > summary::-webkit-details-marker { display: none; }
.quick-layer-category > summary::after { content: '▸'; margin-left: 3px; color: #baa16d; }
.quick-layer-category[open] > summary::after { content: '▾'; }
.quick-layer-category-icon { width: 18px; color: #d4a843; text-align: center; }
.quick-layer-category-count { margin-left: auto; color: #8f9da6; font-size: 10px; font-weight: 500; }
.quick-layer-options { display: grid; gap: 5px; }
.quick-layer-category .quick-layer-options { padding: 0 0 8px; }
.quick-layer-options button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 34px;
    padding: 5px 8px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 5px;
    background: rgba(255,255,255,.035);
    color: #abb4bc;
    font: 600 12px/1.2 'Noto Sans KR', system-ui, sans-serif;
    text-align: left;
    cursor: pointer;
}
.quick-layer-options button:hover { background: rgba(212,168,67,.13); }
.quick-layer-options button[aria-pressed="true"] {
    border-color: rgba(212,168,67,.62);
    background: rgba(212,168,67,.19);
    color: #ffe3a0;
}
.quick-layer-symbol { width: 18px; color: inherit; font-size: 17px; line-height: 1; text-align: center; }
.quick-layer-options button::after { content: '○'; margin-left: auto; font-size: 11px; }
.quick-layer-options button[aria-pressed="true"]::after { content: '●'; }
#hamburger-menu-panel .hm-layer-category { margin-top: 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; }
#hamburger-menu-panel .hm-layer-category > summary { padding: 9px 10px; color: #e5d3a7; font-size: 12px; font-weight: 700; cursor: pointer; }
#hamburger-menu-panel .hm-layer-category > .hm-layer-grid { padding: 0 8px 8px; }
@media (max-width: 967px) {
    #quick-layer-control { flex-basis: 42px; width: 42px; height: 42px; margin-left: 0; }
    #coord-goto-wrap { margin-left: 0 !important; }
    #quick-layer-panel { width: 190px; }
    .quick-layer-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .quick-layer-options button { gap: 4px; padding: 5px; font-size: 10px; }
    .quick-layer-options button::after { display: none; }
}
