:root {
  --bg: #141a24;
  --card: #222b3a;
  --fg: #fff1ea;
  --mut: #c3b4aa;
  --line: #3a4456;
  --coral: #ff6b4a;
  --ink: #2a120c;
  --gold: #f0c36a;
  --bad: #ffb4a8;
  --close: #f0c36a;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
#app { min-height: 100%; }
.screen { min-height: 100%; padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin: 0 auto; }
.top { display: flex; gap: 10px; align-items: center; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 28px; }
.bars i { display: block; width: 5px; border-radius: 2px; background: var(--coral); }
.bars i:nth-child(1) { height: 8px; }
.bars i:nth-child(2) { height: 12px; background: #ff8a6e; }
.bars i:nth-child(3) { height: 16px; background: var(--gold); }
.bars i:nth-child(4) { height: 20px; }
.bars i:nth-child(5) { height: 24px; background: #fff1ea; }
.bars i:nth-child(6) { height: 28px; }
.brand { margin: 0; font-family: Georgia, Palatino, serif; font-size: 26px; font-weight: 700; letter-spacing: 0.01em; }
.sub { margin: 0; color: var(--mut); font-size: 13px; }
.legal { margin: 0; font-size: 12px; line-height: 1.4; background: #2a211c; border-left: 3px solid var(--coral); padding: 8px 10px; color: #ffe8df; }
.stages { display: flex; gap: 4px; }
.stages b { flex: 1; height: 10px; border-radius: 99px; background: var(--line); display: block; font-weight: 400; }
.stages b.done { background: var(--coral); }
.stages b.now { background: var(--gold); }
.meta { text-align: center; color: var(--mut); font-size: 13px; margin: 0; }
.play {
  align-self: center; min-width: 180px; border: 0; border-radius: 14px;
  background: var(--coral); color: var(--ink); font-weight: 800; font-size: 16px; padding: 14px 22px;
}
.play[aria-pressed="true"] { background: var(--gold); }
.row { display: flex; gap: 8px; }
.suggest { position: relative; flex: 1; min-width: 0; }
.row input { width: 100%; background: #0e131c; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.go { background: var(--coral); color: var(--ink); border: 0; border-radius: 10px; padding: 10px 14px; font-weight: 800; }
.skip, .ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.list { position: absolute; z-index: 3; left: 0; right: 0; top: calc(100% + 4px); background: #1b2330; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.list button { display: block; width: 100%; text-align: left; background: transparent; border: 0; padding: 8px 12px; }
.list button strong { display: block; }
.list button em { display: block; font-style: normal; color: var(--mut); font-size: 12px; }
.list button.on, .list button:hover { background: #2c3648; }
.status { min-height: 1.3em; margin: 0; text-align: center; font-size: 14px; }
.status.bad { color: var(--bad); }
.status.ok { color: var(--gold); }
.status.close { color: var(--close); }
.card { display: flex; gap: 12px; align-items: center; background: var(--card); border-radius: 12px; padding: 10px; }
.card img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; background: #000; }
.card h3 { margin: 0 0 2px; font-size: 16px; }
.card p { margin: 0; color: var(--mut); font-size: 13px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.note { margin-top: auto; color: var(--mut); font-size: 11px; line-height: 1.4; }
.center { align-items: center; justify-content: center; text-align: center; }
