/* layout/header.css — Vykron Squad Series */
.site-header { position: sticky; top: 0; z-index: 40; height: var(--head); background: rgba(8,8,10,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; font: 600 15px var(--f-d); letter-spacing: .02em; }
.brand img { border-radius: 10px; }
.brand b { color: var(--or); font-weight: 700; }
.main-nav { display: none; gap: 4px; }
.main-nav a { padding: 8px 14px; border-radius: 8px; color: var(--mut); font-weight: 600; transition: color .15s, background .15s; }
.main-nav a:hover { color: var(--tx); background: var(--s2); }
.main-nav a[aria-current] { color: var(--tx); background: var(--s2); box-shadow: inset 0 -2px 0 var(--or); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.bar-actions .bar-cta { display: none; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 12px; background: var(--s2); border: 1px solid var(--line); color: var(--tx); transition: border-color .15s, box-shadow .15s; }
.icon-btn:hover { border-color: var(--or); box-shadow: 0 0 18px -4px var(--or-glow); }

.status-banner { font-size: 14.5px; border-bottom: 1px solid var(--line); background: var(--s1); }
.status-banner .wrap { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.status-banner.bad { background: rgba(255,92,108,.12); color: #ffb3bb; border-color: rgba(255,92,108,.35); }
.status-banner.warn { background: rgba(255,194,71,.1); color: #ffdc8f; border-color: rgba(255,194,71,.3); }
.status-banner.info { background: var(--or-soft); color: #ffc9a3; border-color: rgba(255,90,0,.3); }
.status-banner b { color: #fff; }

.bottom-nav { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: calc(var(--nav) + env(safe-area-inset-bottom)); padding: 6px 8px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(12,12,14,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--dim); font: 600 11.5px var(--f-d); min-width: 0; }
.bottom-nav .bn-t { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bottom-nav .bn-ico { font-size: 20px; display: grid; place-items: center; height: 28px; width: 40px; border-radius: 10px; transition: background .15s, color .15s; }
.bottom-nav a[aria-current] { color: var(--tx); }
.bottom-nav a[aria-current] .bn-ico { color: var(--or2); background: var(--or-soft); }
.bottom-nav a.cta .bn-ico { background: var(--or); color: #0a0a0a; width: 46px; height: 34px; box-shadow: 0 6px 20px -4px var(--or-glow); }
.bottom-nav a.cta { color: var(--tx); }

.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; z-index: 70; top: 0; bottom: 0; right: 0; width: min(88vw, 380px); background: var(--s1); border-left: 1px solid var(--line); transform: translateX(102%); transition: transform .28s cubic-bezier(.3,.8,.3,1); display: flex; flex-direction: column; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); overflow-y: auto; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; }
.drawer-logo { height: 52px; width: auto; }
.drawer-nav { display: grid; gap: 2px; margin-top: 6px; }
.drawer-nav a { display: flex; align-items: center; gap: 14px; padding: 13px 12px; border-radius: 12px; font-weight: 600; color: #e6e6ea; }
.drawer-nav a .ico { color: var(--or2); font-size: 18px; }
.drawer-nav a:hover { background: var(--s2); }
.drawer-tools { display: grid; gap: 10px; margin-top: 18px; }
.tool { display: flex; gap: 14px; align-items: center; text-align: left; padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--s2); transition: border-color .15s, box-shadow .15s; }
.tool:hover { border-color: var(--or); box-shadow: 0 0 22px -8px var(--or-glow); }
.tool .ico { color: var(--or2); font-size: 22px; }
.tool b { display: block; font-weight: 600; }
.tool small { color: var(--mut); font-size: 13px; }
.drawer-foot { display: flex; gap: 10px; margin-top: auto; padding-top: 22px; }
