.vf-util { background: var(--brand); color: var(--brand-ink); font: 600 12.5px var(--font); }
.vf-util .in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 7px; }
.vf-util .r { display: flex; align-items: center; gap: 18px; }
.vf-util .r span { opacity: .72; }
.vf-util a { color: var(--gold); text-decoration: none; font-weight: 700; }
.vf-util a:hover { text-decoration: underline; }
@media (max-width: 760px) { .vf-util .l { display: none; } .vf-util .in { justify-content: center; } }
@media (max-width: 480px) { .vf-util .r span { display: none; } }

header.vf-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 6px 18px -14px rgba(0,0,0,.35); }
header.vf-head::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--red) 0 33%, var(--gold) 33% 66%, var(--brand) 66%); }
header.vf-head > .in { display: flex; align-items: center; gap: 22px; padding-block: 12px; }
header.vf-head .logo { font: 800 24px/1 var(--font); letter-spacing: -.03em; text-decoration: none; white-space: nowrap; color: var(--ink); display: inline-flex; align-items: baseline; gap: 1px; }
header.vf-head .logo b { color: var(--red); }
header.vf-head .logo small { font: 500 10.5px var(--mono); color: var(--muted); letter-spacing: .04em; margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--line); text-transform: uppercase; }

.vf-nav { display: flex; align-items: center; gap: 2px; font: 700 14px var(--font); }
.vf-nav > a, .vf-drop > summary { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); cursor: pointer; white-space: nowrap; }
.vf-nav > a:hover, .vf-drop > summary:hover, .vf-drop[open] > summary { background: var(--soft); }
.vf-nav > a[aria-current="page"] { color: var(--red); background: var(--red-soft); }
.vf-drop { position: relative; }
.vf-drop > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.vf-drop > summary::-webkit-details-marker { display: none; }
.vf-drop > summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; transition: transform .15s; }
.vf-drop[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.vf-panel { position: absolute; top: calc(100% + 10px); left: -8px; width: 440px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); }
.vf-panel a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.vf-panel a:hover, .vf-panel a[aria-current="page"] { background: var(--soft); }
.vf-panel b { font: 800 14px var(--font); color: var(--ink); }
.vf-panel a[aria-current="page"] b { color: var(--red); }
.vf-panel small { font: 500 12px var(--font); color: var(--muted); }
.vf-panel .all { grid-column: 1 / -1; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; padding-top: 12px; }
.vf-panel .all b { color: var(--red); }

.vf-search { margin-left: auto; display: flex; align-items: center; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 3px 3px 14px; min-width: 0; width: 260px; transition: border-color .15s, background .15s; }
.vf-search:focus-within { border-color: var(--ink); background: var(--bg); }
.vf-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 500 14px var(--font); padding: 6px 0; outline: none; }
.vf-search input::placeholder { color: var(--muted); }
.vf-search button { flex: none; width: 32px; height: 32px; border: 0; border-radius: 999px; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; }
.vf-search svg { width: 16px; height: 16px; }

.vf-burger { display: none; margin-left: auto; }
.vf-burger > summary { list-style: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.vf-burger > summary::-webkit-details-marker { display: none; }
.vf-burger > summary svg { width: 20px; height: 20px; }
.vf-burger[open] > summary { background: var(--soft); }
.vf-sheet { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(0,0,0,.5); padding: 14px max(16px, env(safe-area-inset-left, 0px)) 20px; display: grid; gap: 4px; max-height: calc(100vh - 80px); overflow-y: auto; }
.vf-sheet .vf-search { display: flex; width: auto; margin: 0 0 10px; }
.vf-sheet .lbl2 { font: 700 11px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 4px 4px; }
.vf-sheet a { padding: 11px 12px; border-radius: 10px; font: 700 15px var(--font); text-decoration: none; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; }
.vf-sheet a small { font: 500 13px var(--font); color: var(--muted); }
.vf-sheet a:hover, .vf-sheet a[aria-current="page"] { background: var(--soft); }
.vf-sheet a[aria-current="page"] { color: var(--red); }

@media (max-width: 1060px) { .vf-search { width: 200px; } header.vf-head .logo small { display: none; } }
@media (max-width: 900px) {
  header.vf-head > .in > .vf-nav, header.vf-head > .in > .vf-search { display: none; }
  .vf-burger { display: block; }
}
@media (prefers-reduced-motion: reduce) { .vf-drop > summary::after, .vf-search { transition: none; } }
