:root {
  --bg: #e8b682;
  --panel: #fef8da;
  --ink: #4a3728;
  --muted: #6b4e36;
  --accent: #324ea1;
  --accent-ink: #fef8da;
  --line: #d9a56f;
  --ok: #324ea1;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  padding: 20px 16px 48px;
  padding-top: max(20px, env(safe-area-inset-top));
  max-width: 720px;
  margin: 0 auto;
}

.top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 720;
}

.bell,
.ghost {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.bell {
  flex-shrink: 0;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 650;
}

.bell[aria-pressed="true"] {
  background: var(--panel);
  color: var(--accent);
}

.ghost {
  background: transparent;
  color: var(--muted);
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.status {
  margin: 18px 0 8px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.list {
  display: grid;
  gap: 12px;
}

.card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  background: var(--panel);
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.card img,
.card .ph {
  width: 108px;
  min-height: 108px;
  height: 100%;
  object-fit: cover;
  background: var(--accent);
  align-self: stretch;
}

.card .ph {
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  font-size: 12px;
}

.meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 12px 12px 0;
  min-width: 0;
}

.card.is-new {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.meta h2 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.3;
}

.new {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.meta p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.drive {
  color: var(--ink);
  font-weight: 650;
}

.ago {
  font-size: 12px;
}

.price {
  color: var(--accent);
  font-weight: 700;
}

.empty {
  padding: 32px 8px;
  color: var(--muted);
}

.card.holding {
  transform: scale(0.985);
  opacity: 0.7;
}

.ignored-wrap {
  margin-top: 20px;
}

.ignored-toggle {
  width: 100%;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.ignored-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.ignored-panel.open {
  grid-template-rows: 1fr;
  margin-top: 12px;
}

.ignored-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.ignored-hint {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.card.is-ignored {
  opacity: 0.88;
}
