:root { --bg: #0f1419; --panel: #1a222c; --text: #e7ecf1; --muted: #8b98a5; --accent: #ff4500; --accent-2: #4a9eff; --ok: #1f6f4a; --warn: #7a5b12; --error: #8b2e2e; --border: #2c3640; --font: "IBM Plex Sans", "Segoe UI", sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace; } * { box-sizing: border-box; } body { margin: 0; font-family: var(--font); background: radial-gradient(1200px 600px at 10% -10%, #243041 0%, transparent 60%), radial-gradient(900px 500px at 100% 0%, #2a1c14 0%, transparent 55%), var(--bg); color: var(--text); min-height: 100vh; } .site-header { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: end; justify-content: space-between; padding: 1.5rem clamp(1rem, 3vw, 2.5rem); border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--panel) 85%, transparent); backdrop-filter: blur(8px); } .brand h1 { margin: 0; font-size: 2rem; letter-spacing: 0.04em; } .brand p { margin: 0.15rem 0 0; color: var(--muted); } .search { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end; } .search label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.8rem; color: var(--muted); } .search input { min-width: 12rem; padding: 0.55rem 0.7rem; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--text); } button, .btn { appearance: none; border: 0; border-radius: 6px; padding: 0.55rem 0.9rem; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; } .btn.secondary { background: var(--accent-2); } button:disabled { opacity: 0.45; cursor: not-allowed; } .banner { margin: 1rem clamp(1rem, 3vw, 2.5rem); padding: 0.75rem 1rem; border-radius: 6px; } .banner.error { background: var(--error); } .banner.warn { background: var(--warn); } .banner.ok { background: var(--ok); } main { padding: 1rem clamp(1rem, 3vw, 2.5rem) 3rem; } .empty { color: var(--muted); } .results { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; } .result { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 1rem; } .meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; align-items: baseline; margin-bottom: 0.5rem; } .muted { color: var(--muted); } .permalink { color: var(--accent-2); } .body { white-space: pre-wrap; line-height: 1.45; margin: 0 0 0.75rem; } .shot { margin: 0.5rem 0 0.25rem; } .shot-thumb { appearance: none; border: 1px solid var(--border); border-radius: 6px; padding: 0; background: #000; cursor: zoom-in; display: inline-flex; flex-direction: column; align-items: stretch; max-width: min(100%, 420px); overflow: hidden; } .shot-thumb img { display: block; max-width: 100%; height: auto; vertical-align: middle; } .shot-hint { font-size: 0.75rem; color: var(--muted); background: color-mix(in srgb, var(--panel) 90%, #000); padding: 0.35rem 0.55rem; text-align: left; } .no-shot { margin: 0.35rem 0 0.5rem; font-size: 0.85rem; } .lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.82); padding: 1.5rem; } .lightbox[hidden] { display: none !important; } .lightbox img { max-width: min(96vw, 1100px); max-height: 90vh; border-radius: 8px; border: 1px solid var(--border); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); background: #111; } .lightbox-close { position: absolute; top: 0.75rem; right: 1rem; border: 0; background: transparent; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; } body.lightbox-open { overflow: hidden; } .actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.75rem; } .pager { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; justify-content: space-between; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); } .pager-meta { color: var(--muted); font-size: 0.9rem; } .pager-links { display: flex; gap: 0.5rem; } .btn.secondary.disabled, span.btn.secondary.disabled { opacity: 0.4; cursor: default; pointer-events: none; } code { font-family: var(--mono); }