header { position: sticky; top: 0; z-index: 3; background: color-mix(in srgb, var(--page) 90%, transparent); backdrop-filter: blur(24px); }
.bar { display: flex; align-items: center; gap: 16px; max-width: 1440px; height: 72px; margin: auto; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 6px; flex: none; }
.logo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 20px; }
.logo b { font-weight: 500; letter-spacing: -.02em; }
#mark { width: 40px; height: 40px; fill: var(--accent); transition: rotate .5s var(--spring); }
#mark .face { stroke: var(--page); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
#mark .face-fill { fill: var(--page); }
.logo:hover #mark { rotate: -8deg; }
.arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--muted); }
.arrow:hover { background: var(--tile); color: var(--ink); }
#products { position: fixed; inset: auto; width: 220px; margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); }
#products a { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 8px; color: inherit; text-decoration: none; font-size: 15px; }
#products a:hover { background: var(--tile); }
#products small { display: block; color: var(--muted); font-size: 12px; }
.finder { display: flex; flex: 1; min-width: 0; max-width: 920px; align-items: center; }
.search { display: flex; flex: 1; min-width: 0; height: 44px; align-items: center; gap: 10px; padding: 0 16px; border-radius: 99px; background: var(--tile); color: var(--muted); transition: background-color .3s, box-shadow .3s; }
.search:focus-within { background: var(--card); color: var(--accent); box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 45%, transparent), 0 0 0 5px color-mix(in oklab, var(--accent) 12%, transparent); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font-size: 15px; text-overflow: ellipsis; }
.search input::placeholder { color: var(--muted); }
.keys { display: flex; gap: 4px; }
kbd { min-width: 20px; padding: 1px 5px; border-radius: 6px; background: var(--card); color: var(--muted); font: 11px/16px "DM Mono", ui-monospace, monospace; text-align: center; }
#clear { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--muted) 20%, transparent); color: var(--ink); }
#clear [data-icon] { width: 14px; height: 14px; }
.neck { width: 40px; height: 44px; margin: 0 -20px; flex: none; fill: var(--tile); }
.shuffle { position: relative; display: flex; height: 44px; flex: none; align-items: center; gap: 10px; padding: 0 20px; border-radius: 99px; background: var(--tile); font-size: 15px; }
.shuffle:hover { background: var(--hover); }
.shuffle b { font-weight: 500; }
.shuffle [data-icon] { transition: rotate .5s var(--spring); }
.shuffle:hover [data-icon] { rotate: -12deg; scale: 1.1; }
.github { display: flex; height: 44px; flex: none; align-items: center; gap: 10px; padding: 0 20px; border-radius: 99px; background: var(--tile); color: inherit; text-decoration: none; font-size: 15px; }
.github:hover { background: var(--hover); }
.github svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 1023px) { .github { width: 40px; height: 40px; justify-content: center; padding: 0; } .github span { display: none; } }
@media (max-width: 479px) { .search > [data-icon] { display: none; } }
@media (min-width: 1024px) { .brand { width: 264px; } .bar { gap: 24px; } }
@media (max-width: 767px) { .neck, .shuffle b, .keys { display: none; } .shuffle { width: 40px; height: 40px; padding: 0; justify-content: center; margin-left: 6px; } .search { height: 40px; padding: 0 12px; } .search input { font-size: 14px; } }
@media (max-width: 639px) { .bar { gap: 8px; padding: 0 10px; } .logo b { display: none; } .brand { gap: 0; } .arrow { width: 24px; } #mark { width: 34px; height: 34px; } }
