:root {
  --bg: #ffffff;
  --text: #111111;
  --hint: #999999;
  --link: #2481cc;
  --accent: #2481cc;
  --card: #f4f4f5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#app { padding: 8px 12px 24px; }

.toolbar {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  align-items: center;
}

.toolbar-actions {
  justify-content: space-between;
}

#filter {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--hint);
  background: var(--card);
  color: var(--text);
  font-size: 15px;
}

.btn-link {
  background: none;
  border: none;
  color: var(--link);
  font-size: 14px;
  padding: 4px;
  cursor: pointer;
}

.counter {
  color: var(--hint);
  font-size: 13px;
}

.shop-section { margin-top: 12px; }

.shop-header {
  font-weight: 700;
  font-size: 13px;
  padding: 6px 4px;
  color: var(--hint);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.posting-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 6px;
  cursor: pointer;
  user-select: none;
}

.posting-row.selected {
  outline: 2px solid var(--accent);
}

.thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e3e3e3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hint);
  font-size: 12px;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info {
  flex: 1;
  min-width: 0;
}

.name {
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pn {
  font-size: 12px;
  color: var(--hint);
  margin-top: 2px;
}

.check {
  font-size: 18px;
  flex-shrink: 0;
}

.empty, .error {
  text-align: center;
  color: var(--hint);
  padding: 40px 12px;
  font-size: 14px;
}
