/* Always dark (Doc, 2026-11-07). */
:root {
  color-scheme: dark;
  --bg: #121212;
  --panel: #1c1c1e;
  --text: #f2f2f2;
  --muted: #a1a1a6;
  --line: #38383a;
  --accent: #f2f2f2;
  --on-accent: #121212;
  --ok: #81c784;
  --err: #ff8a80;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.wrap { width: 100%; max-width: 560px; margin: 0 auto; padding: 0 16px; }
main { flex: 1; }
.hero { text-align: center; padding: 56px 0 32px; }
h1 { font-size: clamp(2rem, 8vw, 3.5rem); margin: 0 0 .25em; }
.tagline { color: var(--muted); margin: 0; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px 16px;
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 32px; }
.card > label { font-weight: 600; margin-top: 10px; }
.card > label:first-child { margin-top: 0; }
input[type="url"], textarea {
  width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--text); font: inherit; }
textarea { resize: vertical; }
input:focus, textarea:focus, button:focus-visible, .pick:focus-within {
  outline: 2px solid var(--accent); outline-offset: 1px; }
.pick { display: inline-flex; align-self: flex-start; cursor: pointer; padding: 10px 16px; border-radius: 10px;
  border: 1px dashed var(--accent); color: var(--accent); font-weight: 600; }
.pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.picked { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.picked img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin: 8px 0 0; font-weight: 600; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--err); }
button { margin-top: 14px; height: 48px; border: 0; border-radius: 12px; background: var(--accent); color: var(--on-accent);
  font: inherit; font-weight: 700; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
footer { color: var(--muted); font-size: .85rem; text-align: center; padding: 24px 16px; }
