
: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; } #bt td.c-news{ max-width:130px; } }
#bt td.c-news { max-width:250px; }
#bt .c-news .nd { display:block; color:var(--muted); font-size:12px; font-weight:700; }
#bt .c-news .nttl { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.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.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, one notch tougher (2026-11-23): C's light clinical base,
   body line-height, spacing and text colors stay untouched; the loudness
   is pushed up in the fixtures only -- a rougher duotone hero with a hard
   offset shadow, thicker hazard stripes in more places (page top, hero
   foot, h1 underline, footer), bigger stencil hazard chips on section
   headings, heavier stat micro labels and numerals, squarer corners and
   harder rules. All hazard ink is black x steel gray; never acid. */
/* -- page top: full-bleed hazard band -- */
body::before { content:""; display:block; height:8px;
  background:repeating-linear-gradient(45deg, #18222c 0 14px, #8fa3b3 14px 28px); }
/* -- site header: harder rule under the masthead -- */
header.site { border-bottom:2px solid #23303c; }
/* -- hero (top page only; markup emitted only for this theme) -- */
.hero { margin:4px 0 26px; border:2px solid #10161d; background:#10161d; box-shadow:7px 7px 0 #18222c; }
.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:center; gap:6px 16px; padding:10px 14px 11px; border-top:2px solid #000; }
.hero .htag { color:#eef3f7; font-size:13px; font-weight:800; letter-spacing:.3em; text-transform:uppercase; }
.hero .htag::before { content:""; display:inline-block; width:11px; height:11px; margin-right:10px; vertical-align:-1px;
  background:repeating-linear-gradient(45deg, #eef3f7 0 3px, #18222c 3px 6px); border:1px solid #eef3f7; }
.hero .hsub { color:#8fa3b3; font-size:10.5px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; }
.hero .hstrip { height:14px; background:repeating-linear-gradient(45deg, #18222c 0 18px, #8fa3b3 18px 36px); }
@media (max-width:640px){ .hero .himg { aspect-ratio:4/3; object-position:50% 55%; } .hero { box-shadow:4px 4px 0 #18222c; } }
/* -- page titles: hazard underline block under the name -- */
h1 { font-weight:800; }
h1::after { content:""; display:block; width:min(180px,42%); height:6px; margin-top:9px;
  background:repeating-linear-gradient(45deg, #18222c 0 9px, #8fa3b3 9px 18px); }
/* -- section headings: bigger stencil hazard chip, heavier weight -- */
h2 { border-left:none; padding-left:0; font-weight:900; letter-spacing:.04em; }
h2::before { content:""; display:inline-block; width:17px; height:17px; margin-right:11px; vertical-align:-2px;
  background:repeating-linear-gradient(45deg, #18222c 0 5px, #aeb9c4 5px 10px); border:2px solid #18222c; }
/* -- tables: hard dark rule on top, heavier header rule -- */
table { border-top:3px solid #18222c; }
th { border-bottom:2px solid #18222c; }
/* -- stats: dark top edge, heavier micro labels, harder numerals -- */
.stat { border-top:4px solid #18222c; }
.stat .len { font-size:11px; font-weight:800; letter-spacing:.32em; text-transform:uppercase; color:#3d4a57; margin-bottom:4px; }
.stat .n { font-variant-numeric:tabular-nums; font-size:28px; font-weight:900; color:#18222c; letter-spacing:-.01em; }
/* -- corners squared off, nav and genre tags read as warning tags -- */
.card, .stat { border-radius:1px; }
nav.gnav a { border-radius:0; font-weight:700; }
.tag, .st { border-radius:0; }
.tag.genre, .tag.nsrc { border-width:1.5px; }
.vcard img.vthumb { border-radius:0; }
.toolbar input[type="search"], .toolbar select { border-radius:0; }
.logo-mark rect { rx:0; }
/* -- footer: thicker hazard stripe to close the page -- */
footer.site { border-top:none; }
footer.site::before { content:""; display:block; height:10px; margin-bottom:14px;
  background:repeating-linear-gradient(45deg, #18222c 0 14px, #8fa3b3 14px 28px); }

/* -- site title as a designed logo (2026-11-23): the melocore site's
   masthead treatment adapted to the C+ world (not a copy). Melocore
   puts its title on a coloured sticker plate -- thick ink border, hard
   double offset shadow, a slight tilt, tape pieces on two corners, a
   rotated EST badge pill and a misregistered-print text shadow. Here
   the plate is charcoal with a steel-blue + near-black double shadow,
   the name is near-white with a steel-blue offset shadow, the badge is
   a steel-blue pill, and the lightning mark becomes a steel-blue badge.
   Cool inks only; the header ground itself stays light. -- */
header.site .name a { position:relative; display:inline-flex; background:#18222c;
  border:2.5px solid #10161d; border-radius:2px; padding:9px 22px 9px 12px;
  box-shadow:5px 5px 0 #0b6fa4, 10px 10px 0 rgba(16,22,29,.85);
  transform:rotate(-1.2deg); font-size:25px; letter-spacing:.03em; }
header.site .name a > span:first-of-type { color:#eef3f7; text-shadow:2px 2px 0 #0b6fa4; white-space:nowrap; }
header.site .name em { color:#7cc3e8; }
header.site .name a::before, header.site .name a::after { content:""; position:absolute; width:60px; height:17px; z-index:2;
  background:linear-gradient(180deg, rgba(223,232,239,.55), rgba(198,208,218,.42));
  border-left:2px dashed rgba(16,22,29,.35); border-right:2px dashed rgba(16,22,29,.35); }
header.site .name a::before { top:-10px; left:24px; transform:rotate(-5deg); }
header.site .name a::after { bottom:-10px; right:26px; transform:rotate(4deg); }
header.site .name .est { position:absolute; top:-15px; right:-14px; z-index:3;
  background:#0b6fa4; color:#fff; font-size:11px; font-weight:800; letter-spacing:.08em;
  padding:2px 10px; border:2px solid #10161d; border-radius:999px;
  box-shadow:2.5px 2.5px 0 #10161d; transform:rotate(5deg); white-space:nowrap; }
header.site .name a:hover { transform:rotate(-.7deg) translate(2px,2px);
  box-shadow:3px 3px 0 #0b6fa4, 6px 6px 0 rgba(16,22,29,.85); text-decoration:none; }
.logo-mark rect { fill:#0b6fa4; stroke:#dfe8ef; stroke-width:2.5; }
.logo-mark path { fill:#ffffff; }
header.site .sub { margin-top:12px; }
header.site .sub::before { content:""; display:inline-block; width:9px; height:9px; margin-right:8px;
  background:repeating-linear-gradient(45deg, #18222c 0 3px, #aeb9c4 3px 6px); border:1px solid #18222c; }
@media (max-width:640px){
  header.site .name a { font-size:17px; letter-spacing:.01em; padding:7px 13px 7px 9px; gap:8px;
    box-shadow:3.5px 3.5px 0 #0b6fa4, 7px 7px 0 rgba(16,22,29,.85); }
  .logo-mark { width:26px; height:26px; }
  header.site .name .est { font-size:9px; top:-12px; right:-8px; padding:1px 7px; }
  header.site .name a::before, header.site .name a::after { width:42px; height:13px; }
  header.site .name a::before { left:14px; }
  header.site .name a::after { right:16px; }
}
