:root {
  --bg: #000000;
  --panel: #111111;
  --panel-2: #1a1a1a;
  --text: #ffffff;
  --muted: #999999;
  --line: #333333;
  --accent: #ffffff;
  --max: 1000px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans TC", sans-serif;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.page-main { padding: 40px 0 80px; }
.hero { margin-bottom: 2.5rem; }
.eyebrow { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; margin-bottom: 15px; }
.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1.1;
  margin: 0 0 2.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px 24px;
}
.hero-row-top {
  margin-bottom: 1.25rem;
}
.hero-row-bottom {
  align-items: center;
  margin-bottom: 2.5rem;
}
.hero-copy {
  width: auto;
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans TC", sans-serif;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.8;
  letter-spacing: 0;
  flex: 0 0 auto;
}
button, input, select {
  font-size: 0.9rem; color: inherit;
  border: 1px solid var(--line); background: #111;
  border-radius: 6px; transition: all 0.2s;
}
button { cursor: pointer; padding: 8px 16px; }
button:hover { background: #222; border-color: #555; }

.status-group, .filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
#updatedAt {
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans TC", sans-serif;
  font-size: 0.9rem;
  line-height: 1.8;
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans TC", sans-serif;
  font-size: 0.9rem;
  line-height: 1.8;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans TC", sans-serif;
  font-size: 0.9rem;
  line-height: 1.8;
}
.stat-item,
.stats span {
  color: var(--muted);
  font: inherit;
  font-weight: 400;
}
.status-group button,
.filter-group select {
  padding: 8px 12px;
}
.status-group button,
.filter-group select {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans TC", sans-serif;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
  border-color: #444;
}
.status-group button:hover,
.filter-group select:hover,
.filter-group select:focus {
  border-color: #666;
}

.layout-grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 40px;
}


.card-list { display: grid; gap: 0; }
.card {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  transition: opacity 0.2s ease;
}
.card:last-child { border-bottom: none; }
.card:hover { opacity: 0.7; }
.card .meta { color: var(--muted); font-size: .8rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.02em; }
.card h3 { font-family: Georgia, serif; font-size: 1.25rem; line-height: 1.3; margin: 0 0 12px; font-weight: normal; color: var(--text); }
.card p { margin: 0; color: #ccc; font-size: .95rem; line-height: 1.7; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag {
  display: inline-flex; padding: 3px 8px; border-radius: 2px;
  background: var(--panel-2); color: var(--muted); font-size: .7rem;
  border: 1px solid var(--line); text-transform: uppercase;
}

.empty {
  padding: 40px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); text-align: center;
}

@media (max-width: 920px) {
  .layout-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-row { align-items: flex-start; }
  .hero-row-bottom { align-items: flex-start; }
}
