
:root { color-scheme: light;
  --bg:#f3f5f7; --surface:#ffffff; --surface2:#e9edf1; --line:#d7dee5;
  --text:#18222c; --muted:#68737f; --accent:#0b6fa4; --accent2:#084e73;
  --on-accent:#ffffff; --link:#0b5f8a; --link-hover:#ffffff;
  --tag-ink:var(--accent); --genre-bg:rgba(11,111,164,.07);
  --ok-fg:#1c7245; --ok-bd:#7fb598; --ok-bg:rgba(30,140,80,.07);
  --dis-fg:#5c6670; --dis-bd:#aeb6bd; --dis-bg:rgba(120,130,140,.08);
  --hi-fg:#7d5c07; --hi-bd:#c2a95c; --hi-bg:rgba(220,180,60,.10);
  --bnd-fg:#9c4a12; --bnd-bd:#cf9a68; --bnd-bg:rgba(230,140,50,.08);
  --th-bg:#e7edf2; --shadow:0 1px 3px rgba(13,43,69,.10);
}

* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--text); font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP",system-ui,sans-serif; line-height:1.75; font-size:15.5px; }
a { color:var(--link); }
a:hover { text-decoration:underline; }
.wrap { max-width:1060px; margin:0 auto; padding:0 16px 64px; }
header.site { padding:22px 0 6px; border-bottom:2px solid var(--accent); margin-bottom:10px; }
header.site .name a { color:var(--text); text-decoration:none; font-size:26px; font-weight:900; letter-spacing:.02em; display:flex; align-items:center; gap:11px; }
header.site .name em { font-style:normal; color:var(--accent); }
.logo-mark { width:34px; height:34px; flex:none; }
header.site .sub { color:var(--muted); font-size:13px; margin-top:2px; }
nav.gnav { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 4px; }
nav.gnav a { color:var(--text); text-decoration:none; background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:4px 14px; font-size:13.5px; font-weight:700; }
nav.gnav a:hover { border-color:var(--accent); color:var(--accent); }
h1 { font-size:27px; margin:20px 0 8px; line-height:1.4; font-weight:900; }
h2 { font-size:20px; margin:30px 0 10px; padding-left:10px; border-left:5px solid var(--accent); line-height:1.45; font-weight:900; }
h3 { font-size:16.5px; margin:20px 0 6px; font-weight:900; }
table { border-collapse:collapse; width:100%; margin:10px 0 18px; font-size:14.5px; }
@media (max-width:640px){ #bt td, #bt th{ padding:5px 6px; } }
.lnks { display:inline-flex; gap:9px; align-items:center; }
.lnks a { color:inherit; display:inline-flex; }
svg.ic { width:18px; height:18px; flex:none; }
.icw { font-family:Georgia,"Times New Roman",serif; font-weight:700; font-size:17px; line-height:1; }
.legend { font-size:13px; color:var(--muted); display:flex; flex-wrap:wrap; gap:6px 16px; align-items:center; margin:10px 0 0; }
.legend .li { display:inline-flex; gap:5px; align-items:center; }
.bkana { color:var(--muted); font-size:12.5px; margin-top:1px; }
.bname { font-size:15.5px; }
.cicon { width:22px; height:22px; border-radius:50%; object-fit:cover; vertical-align:-6px; margin-right:3px; background:var(--surface); border:1px solid var(--line); }
.cicon.sm { width:20px; height:20px; vertical-align:-5px; }
.cslot { display:inline-block; width:24px; height:20px; vertical-align:-5px; }
.cslot .cicon { display:block; margin-right:0; }
.hicon { width:52px; height:52px; border-radius:50%; object-fit:cover; vertical-align:-15px; margin-right:10px; border:1.5px solid var(--accent); background:var(--surface); }
th, td { border:1px solid var(--line); padding:6px 10px; text-align:left; vertical-align:top; }
th { background:var(--th-bg); white-space:nowrap; }
td.num, th.num { text-align:right; }
.cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:12px; margin:12px 0 20px; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:12px 14px; }
.card .t { font-weight:700; font-size:16px; }
.card .d { color:var(--muted); font-size:13px; margin-top:2px; }
a.card { display:block; color:inherit; text-decoration:none; }
a.card .t { color:var(--link); }
a.card:hover { border-color:var(--accent); text-decoration:none; }
a.card:hover .t { text-decoration:underline; }
.note { color:var(--muted); font-size:13.5px; }
.src { color:var(--muted); font-size:12.5px; word-break:break-all; }
.toolbar { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:14px 0 6px; }
.toolbar input[type="search"], .toolbar select { background:var(--surface); color:var(--text); border:1px solid var(--line); border-radius:8px; padding:7px 10px; font-size:14.5px; }
.tag { display:inline-block; background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:0 9px; font-size:12.5px; margin-right:5px; }
.tag.genre { border-color:var(--accent); color:var(--tag-ink); background:var(--genre-bg); font-weight:700; }
.tag.nsrc { border-color:var(--accent); color:var(--tag-ink); background:var(--genre-bg); font-weight:700; margin-right:8px; }
ul.news { list-style:none; margin:10px 0 18px; padding:0; }
ul.news li { padding:9px 0; border-bottom:1px solid var(--line); }
ul.news .nd { color:var(--muted); font-size:.85em; margin-right:8px; white-space:nowrap; font-weight:700; }
ul.news .vm { color:var(--muted); font-size:.85em; margin-top:2px; }
.vgrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(215px,1fr)); gap:14px; margin:10px 0 18px; }
.vcard a { color:var(--text); }
.vcard img.vthumb { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:8px; display:block; border:1px solid var(--line); background:var(--surface); }
.vcard .vt { display:block; margin-top:6px; font-size:.92em; line-height:1.45; }
.vcard .vm { color:var(--muted); font-size:.8em; margin-top:2px; }
.tag.boundary { border-color:var(--bnd-bd); color:var(--bnd-fg); background:var(--bnd-bg); font-weight:700; }
.tag.region { border-color:var(--muted); color:var(--muted); }
.st { display:inline-block; border:1px solid; border-radius:999px; padding:0 9px; font-size:12.5px; white-space:nowrap; }
.st.active { color:var(--ok-fg); border-color:var(--ok-bd); background:var(--ok-bg); }
.st.disbanded { color:var(--dis-fg); border-color:var(--dis-bd); background:var(--dis-bg); }
.st.hiatus { color:var(--hi-fg); border-color:var(--hi-bd); background:var(--hi-bg); }
.parts { color:var(--muted); font-size:13px; }
footer.site { border-top:1px solid var(--line); margin-top:44px; padding-top:14px; color:var(--muted); font-size:13px; }
.hidden { display:none; }
.stat-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:12px; margin:12px 0 20px; }
.stat { background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:12px 14px; }
.stat .n { font-size:26px; font-weight:900; color:var(--accent); }
.stat .l { color:var(--muted); font-size:13px; }

/* C cool: clinical minimal. Thin rules, wide whitespace, quiet weights,
   near-square corners, precision-grid feel. */
body { line-height:1.85; font-size:15px; }
.wrap { max-width:1120px; padding:0 24px 84px; }
header.site { border-bottom:1px solid var(--line); padding:30px 0 12px; margin-bottom:14px; }
header.site .name a { font-size:23px; font-weight:700; letter-spacing:.05em; }
.logo-mark rect { rx:2; }
header.site .sub { letter-spacing:.06em; }
nav.gnav { gap:6px; margin-top:14px; }
nav.gnav a { border-radius:2px; background:transparent; font-weight:600; padding:5px 13px; }
h1 { font-size:25px; font-weight:700; letter-spacing:.03em; margin:26px 0 10px; }
h2 { font-size:18px; font-weight:700; border-left:2px solid var(--accent); padding-left:12px; margin:40px 0 12px; }
h3 { font-weight:700; }
table { font-size:14px; }
th { font-weight:600; color:#3d4a57; letter-spacing:.06em; }
th, td { padding:8px 12px; }
.cards { gap:16px; }
.card, .stat { border-radius:3px; box-shadow:var(--shadow); padding:16px 18px; }
.card .t { font-weight:600; }
.stat .n { font-weight:700; font-size:24px; }
.tag, .st { border-radius:2px; }
.toolbar input[type="search"], .toolbar select { border-radius:2px; }
.vgrid { gap:18px; }
.vcard img.vthumb { border-radius:2px; }
.hicon { border:1px solid var(--line); }
ul.news li { padding:11px 0; }
footer.site { margin-top:64px; }

/* C+ hybrid: C's light clinical base and readability stay untouched; the
   loudness lives in small fixtures only -- the duotone hero on the top
   page, muted black x steel-gray hazard stripes (never acid), stencil
   hazard chips on section headings, uppercase micro labels on stats,
   and one stripe closing the footer. */
/* -- hero (top page only; markup emitted only for this theme) -- */
.hero { margin:4px 0 24px; border:1px solid #23303c; background:#10161d; }
.hero .himg { display:block; width:100%; aspect-ratio:26/10; object-fit:cover; object-position:50% 42%; }
.hero .hcap { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 16px; padding:9px 14px 10px; }
.hero .htag { color:#eef3f7; font-size:11px; font-weight:700; letter-spacing:.34em; text-transform:uppercase; }
.hero .hsub { color:#8fa3b3; font-size:10px; letter-spacing:.22em; text-transform:uppercase; }
.hero .hstrip { height:7px; background:repeating-linear-gradient(45deg, #18222c 0 12px, #8fa3b3 12px 24px); }
@media (max-width:640px){ .hero .himg { aspect-ratio:4/3; object-position:50% 55%; } }
/* -- section headings: small hazard chip instead of the plain rule -- */
h2 { border-left:none; padding-left:0; }
h2::before { content:""; display:inline-block; width:12px; height:12px; margin-right:10px; vertical-align:-1px;
  background:repeating-linear-gradient(45deg, #18222c 0 4px, #aeb9c4 4px 8px); border:1px solid #18222c; }
/* -- stats: uppercase condensed-feel micro labels (markup c2 only) -- */
.stat .len { font-size:9.5px; font-weight:700; letter-spacing:.3em; text-transform:uppercase; color:var(--muted); margin-bottom:3px; }
.stat .n { font-variant-numeric:tabular-nums; }
/* -- footer: one muted hazard stripe to close the page -- */
footer.site { border-top:none; }
footer.site::before { content:""; display:block; height:5px; margin-bottom:14px;
  background:repeating-linear-gradient(45deg, #18222c 0 10px, #8fa3b3 10px 20px); }
