:root { --ink:#1a1a1a; --body:#595959; --red:#d1432f; --lil:#b3a6d9; --line:#e7e7e7; --panel:#f7f7f7;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--mono); }
main { max-width: 760px; margin: 0 auto; padding: 32px max(16px, env(safe-area-inset-left)) 48px; }
.kick { color: var(--red); font-weight: 700; letter-spacing: .08em; font-size: 13px; text-transform: uppercase; }
h1 { font-size: 34px; margin: 6px 0 4px; } h2 { font-size: 20px; margin-top: 32px; }
p { color: var(--body); line-height: 1.5; }
.card { border: 2px solid var(--ink); border-left: 10px solid var(--lil); padding: 20px; margin: 20px 0; }
button, .btn, input[type=password] { font: inherit; font-size: 16px; padding: 12px 16px; border: 2px solid var(--ink); background: #fff; color: var(--ink); }
button, .btn { cursor: pointer; font-weight: 700; } .primary { background: var(--ink); color: #fff; }
button:disabled { opacity: .4; cursor: wait; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.status { margin-top: 12px; font-weight: 700; min-height: 1.4em; } .wait { color: var(--red); }
.strip { display: flex; height: 34px; margin: 6px 0 14px; border: 1px solid var(--line); } .strip span { flex: 1; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { border: 1.5px solid var(--red); color: var(--red); padding: 2px 8px; font-size: 13px; font-weight: 700; }
.list { display: grid; gap: 10px; }
.item { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); padding: 8px; }
.item img { width: 64px; height: 64px; object-fit: cover; background: var(--panel); }
.item .grad { height: 18px; display: flex; margin-top: 6px; } .item .grad span { flex: 1; }
.item > div { flex: 1; min-width: 0; }
small { color: var(--body); } input[type=file] { display: none; }
#preview { width: 100%; max-height: 320px; object-fit: cover; margin-top: 14px; }
