:root { --bg: #f6f7f9; --card: #fff; --fg: #111827; --muted: #6b7280; --line: #e5e7eb; --accent: #3b82f6; --danger: #dc2626; color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root { --bg: #0b0d12; --card: #151821; --fg: #e5e7eb; --muted: #9ca3af; --line: #262a35; } }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--fg); }
a { color: var(--accent); text-decoration: none; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--fg); font-size: 17px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
nav a { margin-left: 18px; color: var(--muted); }
main { max-width: 980px; margin: 0 auto; padding: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.hero { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hero code { background: var(--bg); padding: 4px 8px; border-radius: 6px; font-size: 13px; word-break: break-all; }
.toolbar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
input, select, textarea { font: inherit; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
textarea { width: 100%; min-height: 70px; }
.toolbar input { flex: 1; min-width: 200px; }
.btn { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 10px; padding: 9px 14px; background: var(--accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--line); }
.btn.danger { background: var(--danger); }
.btn.small { padding: 5px 10px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: default; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.app { display: flex; gap: 12px; align-items: center; color: inherit; }
.app:hover { border-color: var(--accent); }
.icon { width: 60px; height: 60px; border-radius: 14px; flex: none; object-fit: cover; background: var(--line); }
.icon.big { width: 96px; height: 96px; border-radius: 22px; }
.app .meta { min-width: 0; }
.app .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.muted { color: var(--muted); font-size: 13px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 1px 6px; border-radius: 5px; background: var(--bg); color: var(--muted); border: 1px solid var(--line); margin-right: 4px; }
.tag.ios { color: #3b82f6; } .tag.android { color: #16a34a; } .tag.hidden { color: var(--danger); }
.head { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.head h1 { margin: 0 0 4px; font-size: 24px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.changelog { white-space: pre-wrap; font-size: 13px; color: var(--muted); }
.stack { display: grid; gap: 14px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); flex: 1; min-width: 180px; }
.progress { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.progress > div { height: 100%; background: var(--accent); width: 0; transition: width .2s; }
.empty { text-align: center; color: var(--muted); padding: 40px; }
.err { color: var(--danger); }
.ok { color: #16a34a; }
pre.key { background: var(--bg); padding: 10px; border-radius: 8px; user-select: all; word-break: break-all; white-space: pre-wrap; }
h2 { font-size: 17px; margin: 0 0 10px; }
