
:root{
  --bg:#0b0b0f;
  --panel:#12121a;
  --text:#f2f2f6;
  --muted:#b6b6c6;
  --line:#2a2a3a;
  --accent:#7dd3fc;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a{color:inherit; text-decoration:none}
.container{max-width:1100px; margin:0 auto; padding:28px 18px 60px;}
header{
  display:flex; gap:16px; align-items:flex-start; justify-content:space-between;
  border-bottom:1px solid var(--line); padding-bottom:18px; margin-bottom:22px;
}
h1{margin:0; font-size:34px; letter-spacing:.2px}
.subtitle{color:var(--muted); max-width:760px; line-height:1.35; margin-top:6px}
.badge{
  display:inline-block; border:1px solid var(--line); padding:6px 10px;
  border-radius:999px; color:var(--muted); font-size:12px;
}
.notice{
  background:linear-gradient(180deg, rgba(125,211,252,.12), rgba(125,211,252,.02));
  border:1px solid rgba(125,211,252,.25);
  padding:14px 14px;
  border-radius:14px;
  color:var(--muted);
  margin:16px 0 22px;
}
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap:18px;
}
.card{
  background: var(--panel);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  transition: transform .12s ease, border-color .12s ease;
}
.card:hover{transform: translateY(-2px); border-color: rgba(125,211,252,.35);}
.card img{width:100%; display:block; background:#fff}
.card .meta{padding:12px 12px 14px}
.card h3{margin:0; font-size:14px; line-height:1.25}
.card .small{color:var(--muted); font-size:12px; margin-top:6px}
.tagrow{margin-top:8px; display:flex; flex-wrap:wrap; gap:6px}
.tag{
  font-size:11px; color:var(--muted);
  border:1px solid var(--line); padding:3px 8px; border-radius:999px;
}
footer{
  border-top:1px solid var(--line);
  margin-top:34px; padding-top:14px; color:var(--muted); font-size:13px;
}
/* Detail page */
.breadcrumb{color:var(--muted); font-size:13px; margin-bottom:10px}
.detail{
  display:grid; grid-template-columns: 1.4fr 1fr; gap:18px;
}
@media (max-width: 900px){ .detail{grid-template-columns:1fr;} }
.figure{
  background: var(--panel); border:1px solid var(--line); border-radius:16px; overflow:hidden;
}
.figure img{width:100%; display:block; background:#fff}
.panel{
  background: var(--panel); border:1px solid var(--line); border-radius:16px; padding:16px;
}
.panel h2{margin:0 0 6px; font-size:22px}
.panel .year{color:var(--muted); font-size:13px; margin-bottom:12px}
details{
  border-top:1px solid var(--line); padding-top:12px; margin-top:12px;
}
summary{cursor:pointer; color:var(--accent); font-weight:600}
ul{margin:10px 0 0 18px; color:var(--muted); line-height:1.45}
.navlinks{display:flex; justify-content:space-between; gap:10px; margin-top:14px}
.navlinks a{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding:10px 12px; border-radius:12px; color:var(--text);
  min-width:110px; text-align:center;
}
.navlinks a:hover{border-color: rgba(125,211,252,.35)}
