:root { --bg: #f4f1e8; --card: #fff; --ink: #1d2a24; --muted: #6b766f; --green: #1b3328; --gold: #c4a35a; --bad: #c0392b; --ok: #1f8a4c; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 15px/1.55 "Pretendard", "Malgun Gothic", system-ui, sans-serif; display: flex; flex-direction: column; align-items: center; padding: 24px 14px; }
.box { width: 100%; max-width: 460px; background: var(--card); border-radius: 14px; padding: 22px 20px; box-shadow: 0 2px 14px rgba(0,0,0,.07); }
header { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
header img { border-radius: 9px; }
header b { display: block; font-size: 18px; color: var(--green); }
header span { color: var(--muted); font-size: 13px; }
h2 { font-size: 16px; margin: 4px 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.note { padding: 10px 12px; border-radius: 9px; background: #f7f3e6; margin: 10px 0; font-size: 14px; }
.note.bad { background: #fbeaea; color: var(--bad); }
.btn, .ghost { border: 0; border-radius: 9px; padding: 10px 14px; font: inherit; cursor: pointer; }
.btn { background: var(--green); color: #fff; }
.ghost { background: transparent; color: var(--green); border: 1px solid #cfd8d2; }
.btn:disabled { opacity: .5; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.end { justify-content: flex-end; }
input { font: inherit; padding: 10px 12px; border: 1px solid #cfd8d2; border-radius: 9px; width: 100%; letter-spacing: 2px; text-transform: uppercase; }
ul.pcs { list-style: none; padding: 0; margin: 0 0 12px; }
ul.pcs li { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #e3e8e4; border-radius: 10px; margin-bottom: 8px; cursor: pointer; }
ul.pcs li .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #bbb; flex: none; }
.dot.on { background: var(--ok); }
#gbtn { min-height: 44px; margin: 14px 0; display: flex; justify-content: center; }
ol { padding-left: 20px; margin: 6px 0; }
footer { max-width: 460px; color: var(--muted); font-size: 12px; text-align: center; margin-top: 14px; }
