:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --border: #e2e5ea;
  --text: #1c1e22;
  --muted: #6b7280;
  --accent: #2563eb;
  --me: #7c3aed;
  --linked: #15803d;
  --desk: #b45309;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.75rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.brand {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.brand .me { color: var(--me); }
.crumb { color: var(--muted); font-size: 0.95rem; flex: 1; }
.home {
  margin-left: auto;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.home:hover { text-decoration: underline; }
main { max-width: 1200px; margin: 0 auto; padding: 1.75rem 1.5rem; }
.controls { margin-bottom: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.controls input,
.controls select {
  padding: 0.6rem 0.85rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}
.controls input { flex: 1; min-width: 200px; max-width: 420px; }
.controls select { min-width: 160px; }
.controls input:focus,
.controls select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.series-head { margin-bottom: 1.5rem; }
.series-head h1 { margin: 0; font-size: 1.6rem; }
.series-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}
.series-grid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
}
.series-grid a:hover { border-color: var(--accent); }
.series-grid .name { font-size: 0.98rem; }
.series-grid .count {
  background: var(--bg);
  color: var(--muted);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
}
.plates { display: flex; flex-direction: column; gap: 2.5rem; }
.plate {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}
.meta-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.meta-top h2 { margin: 0; font-size: 1.15rem; }
.panel { color: var(--muted); font-size: 0.85rem; }
.claim { margin: 0.6rem 0 1rem; font-size: 1.02rem; }
.thumb { background: #f0f1f3; border-radius: 6px; overflow: hidden; margin-bottom: 1rem; }
.thumb img { width: 100%; height: auto; display: block; }
.text { margin: 0 0 0.75rem; font-size: 0.95rem; }
.steel, .cut { margin: 0.4rem 0; font-size: 0.92rem; }
.steel strong, .cut strong { color: var(--muted); font-weight: 600; }
.series-end { text-align: center; margin: 2rem 0 1rem; }
.home-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
}
.home-btn:hover { opacity: 0.9; }
@media (max-width: 700px) {
  .plate { max-width: 100%; padding: 1rem; }
}
