/* 인덱스 "드웨븐 오러리" 스타일 — 홈과 하단 내비만. html[data-style="orrery"](다크 테마와 함께)일 때만 적용 */
/* 머리 */
html[data-theme="dark"][data-style="orrery"] .header-left { position: relative; }
html[data-theme="dark"][data-style="orrery"] .header-left::before {
    content: ''; position: absolute; left: 0; top: 50%; width: 74px; height: 74px; transform: translateY(-50%);
    border-radius: 50%; background: radial-gradient(circle, rgba(240, 190, 90, .22), transparent 68%); pointer-events: none;
}
html[data-theme="dark"][data-style="orrery"] .header-left > * { position: relative; }
html[data-theme="dark"][data-style="orrery"] .header-text h1 {
    font-family: 'Cinzel', serif; color: #E7C77A; letter-spacing: .04em;
    text-shadow: 0 0 10px rgba(240, 190, 90, 0.35);
}
html[data-theme="dark"][data-style="orrery"] .header-text .subtitle { font-family: 'Cinzel', serif; color: #b9a37a; }
html[data-theme="dark"][data-style="orrery"] .gz-link-btn { color: #fff; }
html[data-theme="dark"][data-style="orrery"] .gz-link-ico { filter: drop-shadow(0 0 4px rgba(240, 190, 90, .8)); }
html[data-theme="dark"][data-style="orrery"] .gz-link-btn,
html[data-theme="dark"][data-style="orrery"] .settings-avatar-btn {
    border: 1px solid rgba(217, 180, 98, 0.55);
    box-shadow: 0 0 10px rgba(240, 190, 90, 0.35);
}

/* 지역 선택·공지 */
html[data-theme="dark"][data-style="orrery"] .custom-dropdown-btn {
    border: 1px solid rgba(217, 180, 98, 0.5);
    background: rgba(20, 20, 30, 0.9);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4), 0 0 8px rgba(240, 190, 90, 0.18);
}
html[data-theme="dark"][data-style="orrery"] .province-label,
html[data-theme="dark"][data-style="orrery"] .status-effect-title,
html[data-theme="dark"][data-style="orrery"] .notice-header h3,
html[data-theme="dark"][data-style="orrery"] .notice-header h2 { color: #D9B462; font-family: 'Cinzel', 'Noto Sans KR', serif; }
html[data-theme="dark"][data-style="orrery"] .notice-box {
    border: 1px solid rgba(217, 180, 98, 0.35);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .35) inset, 0 6px 18px rgba(0, 0, 0, .35);
}
html[data-theme="dark"][data-style="orrery"] .skill-empty-watermark { color: rgba(217, 180, 98, 0.45); }

/* 도구 버튼 줄 */
html[data-theme="dark"][data-style="orrery"] .vk-icon-btn {
    border-color: rgba(217, 180, 98, 0.45) !important;
    background: rgba(18, 18, 26, 0.92) !important;
}
html[data-theme="dark"][data-style="orrery"] .vk-icon-btn:active,
html[data-theme="dark"][data-style="orrery"] .vk-icon-btn.active,
html[data-theme="dark"][data-style="orrery"] .vk-icon-btn.is-open {
    border-color: rgba(240, 200, 110, 0.9) !important;
    box-shadow: 0 0 10px 1px rgba(240, 190, 90, 0.6);
}

/* 하단 내비: 위 금빛 선, 백색 + 빛나는 아이콘·글자, 홈 메달 받침 */
html[data-theme="dark"][data-style="orrery"] .bottom-nav { box-shadow: 0 -6px 18px rgba(0, 0, 0, .5); }
html[data-theme="dark"][data-style="orrery"] .bottom-nav::after { border-top: 1px solid rgba(217, 180, 98, 0.45); }
/* 시트가 열린 동안: 시트 하단 버튼 줄과 한 덩어리 — 내비 위 띠를 버튼 줄과 같은 색으로(금빛 선은 띠 바로 아래 경계에 그대로 둠) */
html[data-theme="dark"][data-style="orrery"] .bottom-nav:has(.nav-home.mode-close)::before { background: #0c0c12; }
/* 현재 시트 표시 막대: 아이콘과 같은 흰색 + 빛 */
html[data-theme="dark"][data-style="orrery"] .nav-btn.is-current::before {
    background: #fff;
    box-shadow: 0 0 3px rgba(255, 240, 200, 0.9), 0 0 8px rgba(255, 200, 110, 0.85);
}
html[data-theme="dark"][data-style="orrery"] .nav-btn:not(.nav-home) {
    color: #fff;
    opacity: .85;
    filter: drop-shadow(0 0 4px rgba(255, 214, 140, 0.55));
}
html[data-theme="dark"][data-style="orrery"] .nav-btn.is-current:not(.nav-home) {
    opacity: 1;
    filter: drop-shadow(0 0 3px rgba(255, 240, 200, 0.9)) drop-shadow(0 0 8px rgba(255, 200, 110, 0.85));
}
html[data-theme="dark"][data-style="orrery"] .nav-btn.nav-home .icon-logo {
    filter: brightness(0) invert(1) drop-shadow(0 0 3px rgba(255, 240, 200, 0.8)) drop-shadow(0 0 7px rgba(255, 200, 110, 0.7));
}
html[data-theme="dark"][data-style="orrery"] .nav-btn.nav-home::after {
    width: 64px; height: 64px; top: -7px;
    background: linear-gradient(rgba(12, 12, 18, 0.58), rgba(12, 12, 18, 0.58)), url(../img/orrery/medal.webp) center / 100% no-repeat, #0c0c12;
}

/* 점선 구분선 대신 구분선 그림(상태 이상 위·공지 위) */
html[data-theme="dark"][data-style="orrery"] .status-effect-summary,
html[data-theme="dark"][data-style="orrery"] .bottom-widgets-wrap { position: relative; border-top: 0; }
html[data-theme="dark"][data-style="orrery"] .status-effect-summary::before,
html[data-theme="dark"][data-style="orrery"] .bottom-widgets-wrap::before {
    content: ''; position: absolute; left: 8%; right: 8%; top: 0; height: 14px;
    background: url(../img/orrery/divider.webp) center / contain no-repeat; opacity: .9; pointer-events: none;
}
html[data-theme="dark"][data-style="orrery"] .status-effect-summary { padding-top: 26px; }
html[data-theme="dark"][data-style="orrery"] .bottom-widgets-wrap { padding-top: 40px; }
