:root {
  --bg: #07070d;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hi: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-hi: rgba(255, 255, 255, 0.18);
  --text: #eef0f7;
  --muted: #9aa0b4;
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --green: #34d399;
  --danger: #fb7185;
  --radius: 18px;
  --grad: linear-gradient(120deg, #7c5cff 0%, #22d3ee 55%, #f472b6 100%);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Animated background */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45; animation: float 22s ease-in-out infinite; }
.orb-a { width: 520px; height: 520px; background: var(--violet); top: -160px; left: -120px; }
.orb-b { width: 460px; height: 460px; background: var(--cyan); top: 30%; right: -160px; animation-delay: -7s; opacity: 0.3; }
.orb-c { width: 420px; height: 420px; background: var(--pink); bottom: -180px; left: 30%; animation-delay: -14s; opacity: 0.22; }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.08); }
  66% { transform: translate(-40px, 60px) scale(0.95); }
}

/* Nav */
.nav {
  position: sticky; top: 14px; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  max-width: 1160px; margin: 14px auto 0; padding: 10px 12px 10px 18px;
  background: rgba(12, 12, 22, 0.6);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border); border-radius: 999px;
  width: calc(100% - 32px);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.brand-mark { display: grid; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { color: var(--muted); padding: 8px 14px; border-radius: 999px; font-size: 15px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-hi); }
.menu-btn { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; font-family: inherit;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn-primary { background: var(--grad); background-size: 160% 100%; color: #fff; box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .7); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 14px 40px -10px rgba(34, 211, 238, .6); }
.btn-ghost { background: var(--surface); border-color: var(--border-hi); color: var(--text); }
.btn-ghost:hover { background: var(--surface-hi); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Hero */
.hero { max-width: 900px; margin: 0 auto; padding: 120px 20px 80px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--border-hi); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hero h1 { font-size: clamp(48px, 9vw, 96px); margin: 28px 0 22px; font-weight: 700; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 620px; margin: 0 auto; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.stats { display: flex; justify-content: center; gap: 56px; margin-top: 70px; flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column; }
.stats strong { font-family: var(--font-head); font-size: 38px; font-weight: 700; }
.stats span { color: var(--muted); font-size: 14px; }

/* Sections */
.section { max-width: 1160px; margin: 0 auto; padding: 90px 20px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.section-head h2, .request-intro h2 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 14px; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* Toolbar */
.toolbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 28px; }
.search { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 48px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); flex: 1 1 260px; max-width: 360px; }
.search input { flex: 1; background: none; border: 0; color: var(--text); font: inherit; outline: none; min-width: 0; }
.search:focus-within { border-color: var(--cyan); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font: 500 14px var(--font-body); cursor: pointer; transition: all .2s; }
.chip:hover { color: var(--text); border-color: var(--border-hi); }
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* App cards */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.app-card { position: relative; padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s, border-color .3s; overflow: hidden; }
.app-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.app-card:hover { transform: translateY(-4px); }
.app-card:hover::before { opacity: 1; }
.app-top { display: flex; gap: 16px; align-items: center; }
.app-icon { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: linear-gradient(135deg, rgba(124,92,255,.35), rgba(34,211,238,.25)); border: 1px solid var(--border-hi); overflow: hidden; }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-card h3 { font-size: 21px; }
.app-meta { color: var(--muted); font-size: 13px; }
.app-desc { color: var(--muted); margin: 0; flex: 1; font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--surface-hi); color: var(--text); border: 1px solid var(--border); }
.badge { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(52,211,153,.14); color: var(--green); border: 1px solid rgba(52,211,153,.3); }
.badge.soon { background: rgba(244,114,182,.12); color: var(--pink); border-color: rgba(244,114,182,.3); }
.app-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.app-actions .btn { padding: 11px 18px; font-size: 14px; }
.app-actions .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.empty { text-align: center; color: var(--muted); margin-top: 30px; }
.empty a { color: var(--cyan); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 30px; }
.step-num { font-family: var(--font-head); font-size: 15px; font-weight: 700; display: inline-block; padding: 6px 12px; border-radius: 10px; background: var(--grad); color: #fff; margin-bottom: 20px; }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }

/* Request */
.request-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; padding: 48px; position: relative; overflow: hidden; }
.request-wrap::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--violet); filter: blur(120px); opacity: .25; top: -120px; left: -120px; pointer-events: none; }
.request-intro { position: relative; z-index: 1; }
.request-intro p { color: var(--muted); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(52,211,153,.15); color: var(--green); font-size: 13px; font-weight: 700; flex: none; }
.form { display: grid; gap: 18px; position: relative; z-index: 1; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; font: inherit; font-size: 15px;
  background: rgba(0,0,0,.3); color: var(--text); border: 1px solid var(--border); transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239aa0b4' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option { background: #12121e; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,92,255,.2); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.6em; font-size: 15px; text-align: center; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--danger); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { padding: 0; transition: border-color .2s; }
.faq details[open] { border-color: var(--border-hi); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--muted); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--border); margin-top: 60px; }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 36px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { color: var(--muted); margin: 0; font-size: 14px; }
.footer-link { color: var(--cyan); font-weight: 500; }

/* Reveal on scroll */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .request-wrap { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
}
@media (max-width: 760px) {
  .nav { gap: 12px; padding: 8px 8px 8px 16px; border-radius: 22px; flex-wrap: wrap; }
  .nav-cta { display: none; }
  .menu-btn { display: grid; gap: 5px; margin-left: auto; width: 42px; height: 42px; place-content: center; border-radius: 50%; background: var(--surface-hi); border: 1px solid var(--border); cursor: pointer; }
  .menu-btn span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links { display: none; width: 100%; flex-direction: column; margin: 0; padding: 6px 0 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .hero { padding: 80px 16px 60px; }
  .section { padding: 64px 16px; }
  .row { grid-template-columns: 1fr; }
  .stats { gap: 32px; }
  .app-grid { grid-template-columns: 1fr; }
  .search { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}

/* ---------- Shared bits ---------- */
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.nowrap { white-space: nowrap; }
.optional { color: var(--muted); font-weight: 400; }
.narrow { max-width: 760px; }
.btn-lg { padding: 16px 26px; font-size: 17px; }
.alert { padding: 12px 16px; border-radius: 12px; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); color: var(--green); margin: 0 0 20px; }
.alert.err { background: rgba(251,113,133,.1); border-color: rgba(251,113,133,.35); color: var(--danger); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--cyan); cursor: pointer; }
.linklike.danger, a.danger { color: var(--danger); }
form.inline { display: inline; }
.file-input { padding: 10px !important; cursor: pointer; }
.file-input::file-selector-button { margin-right: 12px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-hi); background: var(--surface-hi); color: var(--text); font: 500 14px var(--font-body); cursor: pointer; }
.app-card h3 a.stretched::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.app-card .app-actions, .app-card .badge { position: relative; z-index: 1; }
.app-card .badge { position: absolute; }
.prose h2 { font-size: 24px; margin: 28px 0 12px; }
.prose p { color: #c9cddb; margin: 0 0 14px; }
.prose h1 { font-size: clamp(36px, 6vw, 52px); margin-bottom: 16px; }

/* ---------- Community ---------- */
.community { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; padding: 48px; align-items: center; position: relative; overflow: hidden; }
.community::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: var(--cyan); filter: blur(130px); opacity: .18; bottom: -160px; right: -120px; pointer-events: none; }
.community-copy h2 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 14px; }
.community-copy p { color: var(--muted); font-size: 17px; margin: 0; max-width: 520px; }
.community-form { position: relative; z-index: 1; }

/* ---------- App page ---------- */
.app-page { max-width: 1100px; margin: 0 auto; padding: 48px 20px 40px; display: grid; gap: 28px; }
.back { color: var(--muted); font-size: 15px; }
.back:hover { color: var(--text); }
.app-hero { display: grid; grid-template-columns: 1fr 300px; gap: 36px; padding: 36px; }
.app-hero-main { display: flex; gap: 24px; align-items: flex-start; min-width: 0; }
.app-hero-text { min-width: 0; }
.app-hero h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 10px; }
.lead-sm { color: var(--muted); font-size: 18px; margin: 0 0 16px; }
.app-icon-lg { width: 96px; height: 96px; border-radius: 26px; font-size: 48px; }
.app-icon-sm { width: 36px; height: 36px; border-radius: 10px; font-size: 18px; }
.app-hero-side { display: grid; gap: 12px; align-content: start; }
.hint { color: var(--muted); font-size: 13px; text-align: center; margin: -4px 0 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0 0; padding-top: 16px; border-top: 1px solid var(--border); }
.facts div { min-width: 0; }
.facts dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.facts-wide { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); border-top: 0; padding-top: 0; margin-bottom: 8px; }
.shots { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.shot { flex: none; padding: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); cursor: zoom-in; scroll-snap-align: start; }
.shot img { height: 300px; width: auto; max-width: none; display: block; }
.app-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.app-body > section { min-width: 0; }
.changelog h2 { font-size: 24px; margin: 28px 0 16px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 2px solid var(--border-hi); display: grid; gap: 22px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px var(--bg); }
.tl-head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.tl-head time { color: var(--muted); font-size: 14px; }
.tl-notes p { margin: 6px 0 0; color: #c9cddb; font-size: 15px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4,4,10,.92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 100%; border-radius: 12px; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-hi); background: var(--surface-hi); color: var(--text); font-size: 26px; cursor: pointer; }

/* ---------- Login / setup ---------- */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 420px; padding: 36px; display: grid; gap: 18px; }
.auth-card h1 { font-size: 30px; }
.auth-card p { margin: 0; }

/* ---------- Admin ---------- */
body.admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: #0a0a12; }
.admin-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 28px; padding: 24px 16px; border-right: 1px solid var(--border); background: #0c0c16; }
.admin-side nav { display: grid; gap: 4px; }
.admin-side nav a, .admin-side-foot a, .admin-side-foot .linklike { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-size: 15px; }
.admin-side nav a:hover, .admin-side-foot a:hover { color: var(--text); background: var(--surface); }
.admin-side a.active { color: var(--text); background: var(--surface-hi); }
.count { background: var(--violet); color: #fff; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 1px 8px; }
.admin-side-foot { margin-top: auto; display: grid; gap: 2px; }
.admin-side-foot .linklike { width: 100%; color: var(--muted); }
.admin-main { padding: 36px clamp(16px, 4vw, 48px) 60px; min-width: 0; display: grid; gap: 22px; align-content: start; max-width: 1240px; }
.admin-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.admin-title h1 { font-size: 32px; }
.title-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.panel { background: #11111c; border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.panel h2 { font-size: 19px; margin-bottom: 16px; }
.empty-panel { text-align: center; padding: 48px; }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.stat-tile { display: grid; gap: 4px; padding: 20px; transition: border-color .2s; }
a.stat-tile:hover { border-color: var(--border-hi); }
.stat-tile strong { font-family: var(--font-head); font-size: 32px; font-variant-numeric: tabular-nums; }
.stat-tile span { color: var(--muted); font-size: 14px; }
.admin-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; }
.admin-cols > * { min-width: 0; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 0 12px 10px; border-bottom: 1px solid var(--border); }
.table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table a { color: var(--text); }
.table a:hover { color: var(--cyan); }
.table tr.unread td:first-child { box-shadow: inset 3px 0 0 var(--violet); }
.table .actions { white-space: nowrap; text-align: right; }
.table .actions > * { margin-left: 12px; }
.table .actions a { color: var(--cyan); }
.table select, .title-actions select { padding: 6px 10px; border-radius: 8px; background: #0a0a12; color: var(--text); border: 1px solid var(--border); font: inherit; font-size: 13px; }
.trunc { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-app { display: flex; gap: 12px; align-items: center; }
.status { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--surface-hi); color: var(--muted); border: 1px solid var(--border); white-space: nowrap; }
.s-new, .s-coming_soon { background: rgba(124,92,255,.16); color: #b3a2ff; border-color: rgba(124,92,255,.4); }
.s-reviewing, .s-contacted { background: rgba(34,211,238,.12); color: var(--cyan); border-color: rgba(34,211,238,.35); }
.s-accepted, .s-building { background: rgba(250,204,21,.12); color: #fcd34d; border-color: rgba(250,204,21,.35); }
.s-done, .s-joined, .s-published { background: rgba(52,211,153,.12); color: var(--green); border-color: rgba(52,211,153,.35); }
.s-declined { background: rgba(251,113,133,.1); color: var(--danger); border-color: rgba(251,113,133,.3); }
.list { list-style: none; margin: 0; padding: 0; display: grid; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.list li:last-child { border-bottom: 0; }
.list a { display: grid; min-width: 0; }
.list a span { font-size: 13px; }
.edit-form { gap: 22px; }
.row-3 { grid-template-columns: repeat(3, 1fr); }
.prefix-input { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: 12px; background: rgba(0,0,0,.3); overflow: hidden; }
.prefix-input span { padding: 13px 0 13px 16px; color: var(--muted); }
.prefix-input input { border: 0 !important; background: none !important; padding-left: 2px !important; box-shadow: none !important; }
.prefix-input:focus-within { border-color: var(--violet); }
.icon-row { display: flex; gap: 24px; align-items: center; }
.grow { flex: 1; min-width: 0; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.seg label { display: flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: 14px; }
.seg label:has(input:checked) { border-color: var(--violet); background: rgba(124,92,255,.14); }
.seg input { accent-color: var(--violet); }
.dl-pane { display: grid; gap: 12px; margin-bottom: 18px; }
.dl-pane[hidden] { display: none; }
.shot-admin { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.shot-admin figure { margin: 0; display: grid; gap: 6px; justify-items: center; }
.shot-admin img { height: 120px; width: auto; border-radius: 10px; border: 1px solid var(--border); }
.save-bar { position: sticky; bottom: 0; display: flex; gap: 12px; padding: 16px 0; background: linear-gradient(transparent, #0a0a12 35%); }
.admin-timeline { margin-top: 24px; }
.delete-form { margin-top: 18px; }
.narrow-form { max-width: 460px; }
.bars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 4px; align-items: end; height: 140px; }
.bar { height: 100%; display: flex; align-items: flex-end; position: relative; }
.bar::before { content: ""; width: 100%; height: max(var(--h), 2px); border-radius: 4px 4px 1px 1px; background: var(--grad); background-size: 100% 140px; background-position: bottom; opacity: .85; }
.bar span { position: absolute; bottom: calc(var(--h) + 4px); width: 100%; text-align: center; font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bars-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 8px; }
.pager { display: flex; gap: 16px; justify-content: center; align-items: center; padding-top: 16px; color: var(--muted); font-size: 14px; }
.pager a { color: var(--cyan); }

@media (max-width: 900px) {
  .community { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .app-hero { grid-template-columns: 1fr; padding: 28px 22px; }
  .app-body { grid-template-columns: 1fr; }
  body.admin { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--border); }
  .admin-side nav { display: flex; flex-wrap: wrap; gap: 2px; }
  .admin-side-foot { margin: 0; display: flex; flex-wrap: wrap; }
  .admin-side nav a, .admin-side-foot a, .admin-side-foot .linklike { padding: 8px 10px; font-size: 14px; gap: 6px; }
  .admin-cols, .row-3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .app-hero-main { flex-direction: column; gap: 16px; }
  .shot img { height: 220px; }
  .icon-row { flex-direction: column; align-items: flex-start; }
  .bar span { display: none; }
}
.edit-form .panel, #changelog { display: grid; gap: 18px; }
.edit-form .panel h2, #changelog h2 { margin-bottom: 0; }
.panel dl + h2 { margin-top: 20px; }
