@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');

:root { color-scheme: dark; --bg: #0d0d0f; --bg-alt: #0a0a0a; --panel: #111113; --line: #1f1f24; --text: #fff; --muted: #a1a1aa; --muted-2: #666672; --green: #4ade80; --container: min(1120px, calc(100vw - 40px)); --anchor-offset: 92px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; font-family: 'Geist', sans-serif; background: radial-gradient(circle at top, rgba(74, 222, 128, .12), transparent 24%), radial-gradient(circle at 100% 10%, rgba(59, 130, 246, .14), transparent 18%), linear-gradient(180deg, #09090b 0%, #0d0d0f 16%, #0d0d0f 100%); color: var(--text); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.page-shell { position: relative; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 72px; padding: 10px max((100vw - 1120px) / 2, 20px); background: rgba(10, 10, 10, .88); backdrop-filter: blur(20px); }
.brand { display: inline-flex; align-items: center; gap: 12px; height: 100%; font-family: 'IBM Plex Mono', monospace; font-size: 1rem; font-weight: 700; }
.topnav { display: inline-flex; align-items: center; gap: 24px; color: var(--muted); font-size: .95rem; }
.topnav a:hover { color: var(--text); }
.section { width: var(--container); margin: 0 auto; padding: 88px 0; }
.section-divider { border-top: 1px solid var(--line); }
.section-header { display: grid; gap: 16px; justify-items: center; margin-bottom: 48px; text-align: center; }
.section-header p { max-width: 700px; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.eyebrow-live { display: inline-flex; align-items: center; gap: 10px; }
.status-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 6px rgba(74, 222, 128, .12); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 24px; border-radius: 999px; background: var(--green); color: #0a0a0a; font-weight: 700; line-height: 1; box-shadow: 0 10px 30px rgba(74, 222, 128, .24); }
.button-small { min-height: 42px; padding: 0 18px; }
.footer { display: flex; justify-content: space-between; gap: 24px; width: 100%; align-items: center; padding: 40px max((100vw - 1120px) / 2, 20px); border-top: 1px solid var(--line); background: var(--bg-alt); }
.footer-brand { margin-bottom: 4px; font-family: 'IBM Plex Mono', monospace; font-size: 1rem; font-weight: 700; }
.footer-copy { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.7; }

.viewer-hero { padding-top: 72px; padding-bottom: 64px; }
.viewer-hero .section-header { margin-bottom: 0; }
.viewer-hero h1 { max-width: 1100px; margin: 0; font-family: 'IBM Plex Mono', monospace; font-size: clamp(2.5rem, 6.8vw, 4.75rem); line-height: 1.05; text-wrap: balance; }
.viewer-content { padding-top: 44px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.toolbar input { width: min(560px, 100%); border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--text); padding: 14px 18px; outline: none; }
.toolbar input:focus { border-color: var(--green); }
#count, .status, .plugin-meta, .expiry { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: .78rem; }
.status { margin: 0 0 20px; }
.cards { display: grid; gap: 12px; padding-bottom: 72px; }
.plugin-row { display: grid; grid-template-columns: minmax(190px, 1fr) minmax(260px, 1.6fr) minmax(130px, .7fr) 42px; gap: 24px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-left: 2px solid var(--green); background: linear-gradient(90deg, rgba(74, 222, 128, .045), rgba(17, 17, 19, .72)); }
.archive-row { grid-template-columns: minmax(190px, 1fr) minmax(260px, 1.6fr) 42px; }
.plugin-main h2 { margin: 8px 0 3px; font-family: 'IBM Plex Mono', monospace; font-size: 1.15rem; }
.mini-tag { color: var(--green); font-family: 'IBM Plex Mono', monospace; font-size: .7rem; letter-spacing: .16em; }
.developer, .summary { margin: 0; color: var(--muted); line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tags span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; color: var(--muted-2); font-family: 'IBM Plex Mono', monospace; font-size: .66rem; }
.conditions { margin: 12px 0 0; color: var(--amber); font-size: .83rem; line-height: 1.5; }
.conditions span { display: block; margin-bottom: 4px; color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.plugin-meta { display: grid; gap: 8px; }
.button { white-space: nowrap; }
.arrow-button { width: 38px; height: 38px; min-height: 38px; padding: 0; border-radius: 999px; background: var(--green); color: #0a0a0a; font-size: 1.1rem; box-shadow: 0 8px 22px rgba(74, 222, 128, .2); }
.empty { color: var(--muted); }
@media (max-width: 900px) { .plugin-row, .archive-row { grid-template-columns: minmax(180px, 1fr) minmax(200px, 1fr) 42px; } .plugin-meta { grid-column: 1 / 3; } }
@media (max-width: 760px) { .topbar { width: 100%; flex-direction: column; gap: 14px; min-height: 0; padding: 14px 12px; } .topnav { flex-wrap: wrap; justify-content: center; gap: 14px; font-size: .88rem; } .section { width: calc(100vw - 24px); padding: 72px 0; } }
@media (max-width: 680px) { .viewer-hero { padding-top: 52px; } .toolbar { display: block; } .toolbar input { width: 100%; } #count { display: block; margin-top: 10px; } .plugin-row, .archive-row { display: grid; grid-template-columns: 1fr 42px; gap: 14px; padding: 20px; } .plugin-main { grid-column: 1; } .description, .plugin-meta { grid-column: 1 / -1; } .plugin-row .button { grid-column: 2; grid-row: 1; } }
