@font-face { font-family: "Geist"; font-weight: 400 700; font-display: swap; src: url(geist-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-weight: 400 700; font-display: swap; src: url(geist-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Pixelify Sans"; font-weight: 500 700; font-display: swap; src: url(pixelify-sans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Pixelify Sans"; font-weight: 500 700; font-display: swap; src: url(pixelify-sans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root { --bg: #E4DDCF; --panel: #F3EEE4; --ink: #29241E; --muted: #6B6255; --line: #D6CCBA; --accent: #4C8A2A; --accent-ink: #FFFFFF;
  --accent-text: #3E7420; --viewport: #B9C1C7; --chrome: #E9E2D4; --btn: #ECE5D8; --btn-hover: #F9F6EF; --edge: #B9AD98;
  --bevel: inset 1px 1px 0 rgba(255,255,255,.8), inset -1px -1px 0 rgba(80,60,30,.14); --bevel-on: inset 1px 1px 0 rgba(255,255,255,.3), inset -1px -1px 0 rgba(0,0,0,.25);
  --shadow: 0 8px 24px rgba(60,45,20,.16); --r: 3px; color-scheme: light;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; --font-head: "Pixelify Sans", "Courier New", monospace; }
@media (prefers-color-scheme: dark) { :root { --bg: #1F1D1A; --panel: #2B2925; --ink: #ECE6DA; --muted: #A39B8D; --line: #3D3934; --accent: #86C25A; --accent-ink: #13200A;
  --accent-text: #8FCB63; --viewport: #57626C; --chrome: #23211E; --btn: #3A3732; --btn-hover: #47433D; --edge: #0F0E0C;
  --bevel: inset 1px 1px 0 rgba(255,255,255,.09), inset -1px -1px 0 rgba(0,0,0,.35); --shadow: 0 10px 30px rgba(0,0,0,.45); color-scheme: dark; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); }
a { color: var(--accent-text); }
header.top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--chrome); border-bottom: 1px solid var(--edge); }
header.top a.home { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
header.top img { image-rendering: pixelated; }
header.top .brand { font: 700 20px/1 var(--font-head); margin: 0; }
header.top .brand span { color: var(--accent-text); }
header.top .right { margin-left: auto; display: flex; gap: 8px; }
main { max-width: 1100px; margin: 0 auto; padding: 20px 16px 48px; }
h1, h2 { font-family: var(--font-head); font-weight: 700; color: var(--accent-text); margin: 0 0 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 5px 14px; border: 1px solid var(--edge); border-radius: var(--r);
  background: var(--btn); box-shadow: var(--bevel); color: var(--ink); font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--btn-hover); }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--bevel-on); font-weight: 600; }
.btn.primary:hover { filter: brightness(1.08); }
.lead { color: var(--muted); margin: 0 0 16px; max-width: 640px; }
.bar { display: flex; gap: 8px; margin-bottom: 8px; }
.bar input, .bar select { font: inherit; font-size: 14px; padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); color: var(--ink); }
.bar input { flex: 1; min-width: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 16px; padding: 0; list-style: none; }
.tag { font-size: 12px; padding: 1px 8px; border: 1px solid var(--line); border-radius: var(--r); color: var(--muted); background: transparent; font-family: inherit; text-decoration: none; }
button.tag, a.tag { cursor: pointer; min-height: 26px; display: inline-flex; align-items: center; }
button.tag[aria-pressed="true"] { background: var(--accent); border-color: var(--edge); color: var(--accent-ink); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.card { display: grid; gap: 4px; padding: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; height: 100%; }
.card:hover, .card:focus-visible { border-color: var(--accent); box-shadow: var(--shadow); }
.pic { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--viewport); display: block; }
.card .name { font-weight: 600; }
.by { color: var(--muted); font-size: 13px; }
.empty { color: var(--muted); }
.build { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.build .pic { aspect-ratio: auto; border: 1px solid var(--line); }
.build .acts { display: grid; gap: 8px; margin: 16px 0; }
.build .desc { white-space: pre-line; margin: 10px 0; }
.small { font-size: 13px; color: var(--muted); }
.back { display: inline-block; margin-bottom: 14px; font-size: 14px; }
footer { max-width: 1100px; margin: 0 auto; padding: 0 16px 32px; font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .build { grid-template-columns: minmax(0, 1fr); } header.top .right .btn:not(.primary) { display: none; } }