﻿:root {
  color-scheme: dark;
  --bg: #151619;
  --paper: #f4f1ea;
  --muted: #bdbbb6;
  --line: #3b3c40;
  --accent: #dcfa78;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.top, main { width: min(1320px, 92%); margin-inline: auto; }
.top { display: flex; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); }
.top h1 { margin: 0; font-size: 1.35rem; }
main { padding-bottom: 32px; }
.brand { font-size: 1.35rem; letter-spacing: -.07em; font-weight: 800; text-decoration: none; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .875rem; letter-spacing: .15em; margin: 0 0 12px; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1px solid var(--line); background: transparent; padding: 8px 16px; border-radius: 30px; font-size: .9rem; }
.filters button:hover { border-color: var(--accent); }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #151619; }
#count, #notice { color: var(--muted); margin: 0; font-size: .9rem; }
#notice { margin-bottom: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 16px; }
.card { min-width: 0; display: block; text-align: left; border: 0; padding: 0; background: transparent; }
.art { display: grid; place-items: center; aspect-ratio: 4 / 3; width: 100%; overflow: hidden; background: #26272a; }
.card .art { transition: filter .18s; }
.card:hover .art { filter: brightness(1.12); }
.art img { width: 100%; height: 100%; object-fit: cover; }
.card-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.card-meta strong { font-size: 1.1rem; }
.card-meta span { color: var(--muted); font-size: .875rem; }
.mock { container-type: inline-size; position: relative; isolation: isolate; }
.mock::before { content: ""; position: absolute; z-index: -1; }
.mock b { font-size: 14cqw; line-height: .83; letter-spacing: -.09em; text-align: center; white-space: pre-line; }
.mock small { position: absolute; bottom: 9%; left: 8%; font-size: 3.2cqw; letter-spacing: .16em; font-weight: 700; }
.orbit { background: #c8b7fb; color: #262046; }
.orbit::before { width: 74%; height: 37%; border: 2px solid currentColor; border-radius: 50%; transform: rotate(-28deg); }
.orbit b { font-family: Georgia, serif; font-style: italic; }
.mach { background: #f95739; color: #25110d; }
.mach::before { inset: 11%; background: repeating-linear-gradient(115deg, transparent 0 17px, #27141132 18px 20px); }
.mach b { transform: skew(-10deg); font-weight: 900; }
.terra { background: #202b26; color: #f4dd9c; }
.terra::before { width: 51%; aspect-ratio: 1; border: 1px solid #a7986b; border-radius: 50%; box-shadow: 0 0 0 14px #ffffff12, 0 0 0 29px #ffffff0b; }
.terra b { font-family: Georgia, serif; font-weight: 400; }
.form { background: #dedbd1; color: #201d19; }
.form::before { width: 41%; aspect-ratio: 1; background: #f4ff57; transform: rotate(23deg); }
.form b { font-weight: 900; }
.noise { background: #1e1541; color: #fdb7e7; }
.noise::before { inset: 0; background: repeating-radial-gradient(ellipse at 70% 55%, transparent 0 8px, #d286ee40 9px 10px); }
.noise b { font-family: Georgia, serif; font-style: italic; }
.still { background: #294ee6; color: #fff5de; }
.still::before { width: 65%; aspect-ratio: 1; background: radial-gradient(circle, #92abff, transparent 69%); }
.still b { font-weight: 300; }
dialog { width: min(850px, 94%); max-height: 92dvh; background: var(--bg); color: var(--paper); border: 1px solid var(--line); padding: clamp(12px, 3vw, 24px); }
dialog::backdrop { background: #000c; }
.viewer-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 16px; }
.viewer-top h2 { margin: 0; }
.close { border: 1px solid var(--line); background: transparent; border-radius: 50%; width: 44px; height: 44px; font-size: 1.5rem; }
#viewer-art .art { max-height: 72dvh; }
#viewer-art img { object-fit: contain; min-height: 0; }
@media (max-width: 780px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .card .art { transition: none; } }
