:root {
  --paper: #f3eee6;
  --surface: #fffaf4;
  --ink: #1c1814;
  --muted: #6f675c;
  --line: #d8d0c2;
  --clay: #c45c3e;
  --sage: #5f6e60;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; }
button, [role="button"] { cursor: pointer; }
.hidden { display: none !important; }
.wkb { min-height: 100vh; max-width: 920px; margin: 0 auto; padding: 20px 16px 48px; }
.wkb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.wkb-logo { font-size: 22px; font-weight: 700; text-decoration: none; color: var(--ink); }
.wkb-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.wkb-chip { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: 13px; }
.wkb-guest { margin: 0 0 20px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); font-size: 13px; line-height: 1.5; }
.wkb-shop { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .wkb-shop { grid-template-columns: repeat(3, 1fr); } }
.wkb-card { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; overflow: hidden; text-align: left; padding: 0; }
.wkb-swatch { height: 120px; }
.wkb-card-body { padding: 12px; display: flex; justify-content: space-between; gap: 8px; }
.wkb-card h3 { margin: 0; font-size: 15px; }
.wkb-card p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.wkb-crush, .wkb-result { text-align: center; }
.wkb-kicker { letter-spacing: .18em; font-size: 11px; color: var(--muted); text-transform: uppercase; }
.wkb-help { color: var(--muted); font-size: 14px; }
#wkb-canvas { width: min(100%, 420px); height: auto; touch-action: none; }
.wkb-result h2 { font-size: 32px; margin: 8px 0; }
.wkb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0; }
.wkb-stat { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--surface); }
.wkb-stat span { display: block; font-size: 12px; color: var(--muted); }
.wkb-btn { height: 44px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 14px; }
.wkb-btn.line { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.wkb-field { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0; font-size: 14px; }
.wkb-field input[type="number"] { width: 120px; height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; }
.wkb-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 12px; }
.wkb-table th, .wkb-table td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; }
.wkb-admin-main h1 { font-size: 28px; }
.wkb-admin-main h2 { font-size: 18px; margin-top: 28px; }
.wkb-make h1 { font-size: 28px; margin: 0 0 8px; }
.wkb-craft { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin: 16px 0 24px; flex-wrap: wrap; }
.wkb-preview { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; }
.wkb-craft-meta { flex: 1; min-width: 180px; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.wkb-recipe { margin: 0; font-size: 13px; color: var(--muted); }
.wkb-cat { margin: 0 0 18px; }
.wkb-cat h2 { font-size: 14px; margin: 0 0 8px; }
.wkb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wkb-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; }
.wkb-pill.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.wkb-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
