.archive-browser { letter-spacing: 0; }
.archive-browser-head { display:flex; align-items:center; justify-content:space-between; gap:24px; border-bottom:2px solid var(--ink); padding-bottom:24px; flex-wrap:wrap; }
.archive-browser-head h2 { margin:0; font-size:48px; line-height:1.1; letter-spacing:0; }
.archive-browser-tools { display:flex; align-items:center; gap:24px; }
.archive-total,.archive-category-head>span { font-size:13px; color:var(--muted); white-space:nowrap; }
.archive-view-switch { display:flex; border:1px solid var(--ink); }
.archive-view-switch[hidden] { display:none; }
.archive-view-switch button { display:grid; place-items:center; width:48px; height:44px; border:0; border-radius:0; background:transparent; color:var(--ink); cursor:pointer; padding:12px; }
.archive-view-switch button+button { border-left:1px solid var(--ink); }
.archive-view-switch button[aria-pressed="true"] { background:var(--ink); color:white; }
.archive-view-switch button:hover { background:var(--pink); color:var(--ink); }
.archive-view-switch svg { width:20px; height:20px; }
.archive-category { margin-top:40px; }
.archive-category-head { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:16px; }
.archive-category-head h3 { font:700 20px/1.35 var(--sans); margin:0; letter-spacing:0; }
.archive-items { list-style:none; padding:0; margin:0; border-top:1px solid var(--line); }
.archive-items li { min-width:0; }
.archive-entry { display:grid; grid-template-columns:64px minmax(0,1fr) 24px; align-items:center; gap:20px; min-height:88px; padding:12px 8px; border-bottom:1px solid var(--line); color:var(--ink); text-decoration:none; }
.archive-preview { display:block; width:64px; height:64px; background:#e3e3e3; overflow:hidden; }
.archive-preview img { display:block; width:100%; height:100%; object-fit:contain; }
.archive-entry-copy { min-width:0; }
.archive-entry-name { display:block; font:600 16px/1.45 var(--sans); overflow-wrap:anywhere; }
.archive-entry-format { display:block; margin-top:4px; font:400 12px/1.4 var(--sans); color:var(--muted); }
.archive-entry-arrow { font-size:22px; }
.archive-entry:hover { background:#fff; }
.archive-entry .archive-preview img { transition:transform .35s ease; }
.archive-entry:is(:hover,:focus-visible) .archive-preview img { transform:scale(1.025); }
.archive-browser :focus-visible { outline:3px solid var(--ink); outline-offset:3px; }
.archive-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.archive-browser[data-view="gallery"] .archive-items { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; border:0; }
.archive-browser[data-view="gallery"] .archive-entry { height:100%; grid-template-columns:minmax(0,1fr) 24px; align-content:start; align-items:start; gap:12px; padding:0 0 16px; }
.archive-browser[data-view="gallery"] .archive-preview { grid-column:1/-1; width:100%; height:auto; aspect-ratio:4/3; }
.archive-browser[data-view="gallery"] .archive-entry-name { font-size:15px; }
@media(max-width:1000px) { .archive-browser[data-view="gallery"] .archive-items { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; } }
@media(max-width:700px) { .archive-browser-head h2 { font-size:34px; } .archive-browser[data-view="gallery"] .archive-items { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } .archive-category-head h3 { font-size:18px; } .archive-entry { gap:12px; } }
@media(max-width:360px) { .archive-browser[data-view="gallery"] .archive-items { grid-template-columns:1fr; } .archive-entry { grid-template-columns:48px minmax(0,1fr) 20px; padding-inline:0; } .archive-preview { width:48px; height:56px; } .archive-category-head { align-items:start; } }
@media(prefers-reduced-motion:reduce) { .archive-browser *, .archive-browser *::before,.archive-browser *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
