/* デザイン：レトロ掲示板（2026-11-05 ユーザーが案Bを選んだ。昔の掲示板の灰緑・紺の帯・青いリンク・ドット文字のロゴ） */
:root {
  --bg: #dce2ea; /* 背景：紺の帯に合わせた青みの灰色（2026-11-05 案3。カードの白と差をつけるため） */
  --paper: #ffffff;
  --ink: #1d1d1d;
  --ink-soft: #555a52;
  --line: #b3bccb;
  --accent: #c8102e;
  --link: #0b4fb3;
  --link-visited: #6a2fa0;
  --header: #2b3a55;
  --strip: #eef1f6;
  --strip-ink: #1b2a4a;
  --anime: #d6407a;
  --game: #2f6fd1;
  --net: #2e9a5e;
  --good: #2e9a5e;
  --good-bg: #eaf6ef;
  --bad: #d2493a;
  --bad-bg: #fcecea;
  --neutral: #8a6d1f;
  --neutral-bg: #f8f1dc;
  --shadow: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #181d26; --paper: #222937; --ink: #e8ebe4; --ink-soft: #a7afbd; --line: #3a4356;
    --link: #8ab8ff; --link-visited: #c4a0ff; --header: #121826; --strip: #2b3446; --strip-ink: #e8ebe4;
    --good-bg: #1d3027; --bad-bg: #3a2220; --neutral-bg: #352e1b; --neutral: #d9b85a;
  }
}
:root[data-theme="dark"] {
  --bg: #181d26; --paper: #222937; --ink: #e8ebe4; --ink-soft: #a7afbd; --line: #3a4356;
  --link: #8ab8ff; --link-visited: #c4a0ff; --header: #121826; --strip: #2b3446; --strip-ink: #e8ebe4;
  --good-bg: #1d3027; --bad-bg: #3a2220; --neutral-bg: #352e1b; --neutral: #d9b85a;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px; line-height: 1.85; letter-spacing: .02em;
}
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.main { min-width: 0; }

/* header：紺の帯にロゴ、赤白のしま、その下の明るい段にジャンルの一覧 */
.site-header { background: var(--header); position: sticky; top: 0; z-index: 10; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.header-bar { height: 4px; background: repeating-linear-gradient(90deg, var(--accent) 0 12px, #f7f8f4 12px 24px); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { flex: none; transition: transform .2s; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-text { font-family: "DotGothic16", "BIZ UDPGothic", monospace; font-size: 27px; line-height: 1.2; color: #f7f8f4; letter-spacing: .06em; }
.logo-text em { font-style: normal; color: #ffcc33; }
/* ジャンルの一覧：紺の帯の下に、明るい色の段を分けて、濃い文字で並べる（2026-11-05：紺の上の薄い文字が読みにくかった）。入りきらない分は横にすべらせる */
.cat-strip { background: var(--strip); border-bottom: 1px solid var(--line); }
.cat-nav { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; white-space: nowrap; text-decoration: none; font-size: 15px; font-weight: 700; padding: 9px 14px; color: var(--strip-ink); border-right: 1px solid var(--line); transition: background .15s; }
.cat-nav a:first-child { border-left: 1px solid var(--line); }
.cat-nav a:hover { background: rgba(0, 0, 0, .06); }
.cat-nav a.is-active { background: var(--paper); color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
@media (max-width: 560px) {
  .logo-text { font-size: 22px; }
  .logo-mark { width: 34px; height: 34px; }
  .cat-nav a { padding: 8px 12px; font-size: 14px; }
}

/* list */
.hero { padding: 28px 0 8px; }
.hero h1 { margin: 0; font-size: 26px; font-weight: 900; }
.hero p { margin: 4px 0 0; color: var(--ink-soft); font-size: 14px; }
.hero h1 small { font-size: 15px; color: var(--ink-soft); margin-left: 6px; }
.day-head { margin: 22px 0 0; font-size: 15px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.day-head::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.cards { display: grid; gap: 12px; padding: 12px 0 8px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px; box-shadow: var(--shadow); display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 14px; align-items: start; }
.card-thumb { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-soft); flex-wrap: wrap; }
.card-title { margin: 6px 0 4px; font-size: 17px; line-height: 1.5; font-weight: 900; }
.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--accent); }
.card-lead { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.likes { color: #e0245e; font-weight: 700; font-size: 12.5px; }
.label { font-weight: 900; margin-right: 2px; }
.label-悲報 { color: #3c6fd8; }
.label-朗報 { color: #e2572b; }
.label-速報 { color: #d12f2f; }
.label-衝撃 { color: #a020c8; }
.label-続報, .label-延期, .label-公式 { color: #8a6d1f; }

/* pager */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 24px 0 8px; }
.pager a, .pager span { min-width: 38px; padding: 6px 10px; border-radius: 8px; text-align: center; font-weight: 700; font-size: 14px; text-decoration: none; border: 1px solid var(--line); background: var(--paper); }
.pager .pager-cur { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager .pager-gap { border: 0; background: none; }

/* sidebar */
.sidebar { display: grid; gap: 16px; align-content: start; padding: 24px 0 16px; }
.side-box { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.side-title { margin: 0 0 4px; font-size: 15px; font-weight: 900; border-left: 4px solid var(--accent); padding-left: 8px; }
.side-note { margin: 0 0 8px; font-size: 11.5px; color: var(--ink-soft); }
.rank-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.rank-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.rank-tabs label { flex: 1; text-align: center; padding: 5px 0; border-radius: 8px; background: var(--bg); font-size: 13px; font-weight: 700; cursor: pointer; }
.rank-tabs input:checked + label { background: var(--accent); color: #fff; }
.rank-tabs input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.rank-panel { display: none; width: 100%; margin-top: 4px; }
#rank-week:checked ~ .rank-panel-week, #rank-month:checked ~ .rank-panel-month, #rank-all:checked ~ .rank-panel-all { display: block; }
.ranking { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.ranking li { display: grid; grid-template-columns: 26px 1fr; column-gap: 8px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 13.5px; line-height: 1.55; }
.ranking li:first-child { border-top: 0; }
.ranking a { text-decoration: none; font-weight: 700; }
.ranking a:hover { color: var(--accent); }
.rank { grid-row: span 2; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--bg); font-weight: 900; font-size: 13px; }
.rank-1 { background: #e2b33b; color: #fff; } .rank-2 { background: #a3abb5; color: #fff; } .rank-3 { background: #c07a43; color: #fff; }
.rank-likes { grid-column: 2; font-size: 11.5px; color: #e0245e; font-weight: 700; }
.side-cats, .side-latest { list-style: none; margin: 0; padding: 0; }
.side-cats a { display: flex; align-items: center; gap: 8px; padding: 6px 0; text-decoration: none; font-weight: 700; font-size: 14px; }
.side-cats .count { margin-left: auto; color: var(--ink-soft); font-size: 12.5px; background: var(--bg); border-radius: 999px; padding: 0 9px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-anime { background: var(--anime); } .dot-game { background: var(--game); } .dot-net { background: var(--net); }
.side-latest li { padding: 6px 0; border-top: 1px dashed var(--line); font-size: 13.5px; line-height: 1.55; }
.side-latest li:first-child { border-top: 0; }
.side-latest a { text-decoration: none; }
.side-latest a:hover { color: var(--accent); }
.antenna-list { list-style: none; margin: 4px 0 8px; padding: 0; }
.antenna-list li { padding: 5px 0; border-top: 1px dashed var(--line); font-size: 13px; line-height: 1.5; }
.antenna-list li:first-child { border-top: 0; }
.antenna-list a { text-decoration: none; }
.antenna-list a:hover { color: var(--accent); }
.antenna-sites { margin: 0; font-size: 13px; font-weight: 700; }
.side-links { display: grid; gap: 6px; font-size: 13.5px; }
.search-form { display: flex; gap: 6px; }
.search-form input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; }
.search-form button { padding: 8px 14px; border: 0; border-radius: 8px; background: var(--ink); color: var(--paper); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.search-form.big { margin: 8px 0 4px; }
.search-form.big input { font-size: 16px; padding: 10px 12px; }
.search-status { color: var(--ink-soft); font-size: 14px; }

/* share, prev/next, comments */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 0; }
.share-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-right: 4px; }
.share a { text-decoration: none; color: #fff; font-weight: 700; font-size: 13.5px; padding: 7px 14px; border-radius: 999px; }
.share-x { background: #111; } .share-hatena { background: #00a4de; } .share-line { background: #06c755; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 0; }
.prevnext a { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; font-size: 13.5px; line-height: 1.55; font-weight: 700; }
.prevnext a span { display: block; font-size: 12px; color: var(--accent); margin-bottom: 2px; }
.pn-newer { text-align: right; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.to-comments { margin-left: auto; font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 700; }
.comments h2 { margin-bottom: 4px; }
.comment-list { list-style: none; padding: 0; margin: 10px 0 16px; }
.comment { padding: 10px 0; border-top: 1px dashed var(--line); }
.comment-head { font-size: 12.5px; color: var(--net); font-weight: 700; }
.comment-body { margin: 4px 0 0 !important; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-empty { color: var(--ink-soft); font-size: 14px; padding: 8px 0; }
.comment-form { display: grid; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.comment-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
.comment-form input, .comment-form textarea { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; }
.comment-form button { justify-self: start; padding: 9px 20px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.comment-form button:disabled { opacity: .6; }
.comment-msg { margin: 0 !important; font-size: 13.5px; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.to-top { position: fixed; right: 16px; bottom: 16px; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; text-decoration: none; font-size: 14px; opacity: .8; box-shadow: var(--shadow); }

.chip { display: inline-block; font-size: 12px; font-weight: 700; line-height: 1; padding: 5px 9px; border-radius: 999px; color: #fff; text-decoration: none; }
.chip-anime { background: var(--anime); }
.chip-game { background: var(--game); }
.chip-net { background: var(--net); }
.spoiler-tag { font-size: 12px; font-weight: 700; color: var(--bad); border: 1px solid var(--bad); border-radius: 999px; padding: 2px 8px; line-height: 1.3; }

/* article */
.crumbs { padding: 18px 0 0; font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.crumbs a:not(.chip) { color: var(--ink-soft); }
.article { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 8px; margin-top: 12px; box-shadow: var(--shadow); }
.article-head h1 { margin: 0; font-size: 24px; line-height: 1.5; font-weight: 900; }
.article-meta { margin: 6px 0 0; color: var(--ink-soft); font-size: 13px; }
.spoiler-banner { margin: 16px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--bad-bg); color: var(--ink); font-size: 14px; border-left: 4px solid var(--bad); }
.spoiler-banner strong { color: var(--bad); margin-right: 6px; }

.three-lines { margin: 18px 0 0; padding: 14px 18px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.three-lines h2 { margin: 0 0 4px; font-size: 14px; color: var(--accent); letter-spacing: .1em; }
.three-lines ol { margin: 0; padding-left: 1.4em; }
.three-lines li { margin: 4px 0; font-weight: 700; }

.embed { margin: 20px 0 0; }
.embed-video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.embed-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-lite { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; }
.yt-lite img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 14px; background: rgba(226, 52, 40, .92); transition: transform .15s; }
.yt-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt-lite:hover .yt-play { transform: scale(1.08); }
.embed figcaption { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }

.block { margin: 28px 0 0; }
.block h2 { font-size: 19px; font-weight: 900; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); display: inline-block; }
.block p { margin: 0 0 12px; }
.facts ul { margin: 0; padding: 0; list-style: none; }
.facts li { padding: 8px 0 8px 22px; border-bottom: 1px dashed var(--line); position: relative; font-size: 15px; }
.facts li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

.reactions .note { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 12px; }
.rgrid { display: grid; gap: 12px; }
.rgroup { border-radius: 12px; padding: 14px 16px; }
.rgroup h3 { margin: 0 0 6px; font-size: 15.5px; display: flex; align-items: center; gap: 8px; }
.rdot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.rgroup ul { margin: 0; padding-left: 1.2em; }
.rgroup li { margin: 3px 0; font-size: 15px; }
.tone-good { background: var(--good-bg); }
.tone-good .rdot { background: var(--good); }
.tone-good h3 { color: var(--good); }
.tone-bad { background: var(--bad-bg); }
.tone-bad .rdot { background: var(--bad); }
.tone-bad h3 { color: var(--bad); }
.tone-neutral { background: var(--neutral-bg); }
.tone-neutral .rdot { background: var(--neutral); }
.tone-neutral h3 { color: var(--neutral); }
.quote { margin: 10px 0 0; padding: 10px 14px; background: var(--paper); border-radius: 10px; position: relative; }
.quote p { margin: 0; font-weight: 700; font-size: 16px; }
.quote cite { display: block; font-style: normal; font-size: 12px; color: var(--ink-soft); }

.editor { display: flex; gap: 14px; align-items: flex-start; background: var(--bg); border-radius: 12px; padding: 14px 18px 4px; border: 1px solid var(--line); }
/* 管理人のドット絵：丸の中に小さく（元の絵より小さく出すので、なめらかに縮める） */
.editor-icon { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); }
.editor-body { flex: 1; min-width: 0; }
.editor h2 { border: 0; font-size: 15px; color: var(--accent); padding: 0; margin-bottom: 4px; }
@media (max-width: 560px) { .editor { gap: 10px; padding: 12px 14px 2px; } .editor-icon { width: 44px; height: 44px; } }

.xpost { margin: 10px 0 0; }
.xpost .twitter-tweet { margin: 0 !important; }
.xpost blockquote.x-lazy, .xpost blockquote.twitter-tweet:not(.twitter-tweet-rendered) { padding: 10px 14px; background: var(--paper); border-radius: 10px; font-size: 14px; }
.xofficial-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin: 0 0 4px !important; }
.xslot { margin: 24px 0 0; padding: 18px; border: 2px dashed var(--line); border-radius: 12px; text-align: center; color: var(--ink-soft); font-size: 14px; }
.xslot-label { display: block; font-weight: 900; color: var(--ink); margin-bottom: 4px; }

.sources ul { margin: 0; padding-left: 1.2em; font-size: 13.5px; }
.sources li { margin: 4px 0; overflow-wrap: anywhere; }
.sources a { color: var(--ink-soft); }

.related { margin: 32px 0 0; }
.related h2 { font-size: 17px; margin: 0; }

.contact-button { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; padding: 10px 18px; border-radius: 999px; }
.contact-button:hover { opacity: .9; }
.site-footer { border-top: 1px solid var(--line); margin-top: 24px; padding: 20px 0 32px; font-size: 12.5px; color: var(--ink-soft); }
.site-footer p { margin: 0 0 6px; }
.footer-name { font-weight: 900; color: var(--ink); }

@media (max-width: 560px) {
  .article { padding: 18px 16px 4px; border-radius: 12px; }
  .article-head h1 { font-size: 20px; }
  .card { grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .card-title { font-size: 15px; margin-top: 4px; }
  .card-lead { display: none; }
  .prevnext { grid-template-columns: 1fr; }
  .pn-newer { text-align: left; }
  .header-inner { padding-top: 8px; padding-bottom: 8px; }
}

/* 公式の X 投稿の画像のサムネ（thumbX）：切り抜かずに全体を見せ、出どころを右下に重ねる */
.card-thumb { position: relative; }
.thumb-x { position: absolute; inset: 0; background: #16151c; overflow: hidden; }
.card-thumb .thumb-x img { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-thumb .thumb-x-bg { object-fit: cover; filter: blur(14px) brightness(.55); transform: scale(1.15); }
.card-thumb .thumb-x-img { object-fit: contain; }
.thumb-credit { position: absolute; right: 5px; bottom: 5px; font-size: 10.5px; line-height: 1.5; color: #fff; background: rgba(0, 0, 0, .62); padding: 0 6px; border-radius: 4px; }

/* 作品・話題のタグ */
.tag-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.tag-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line, rgba(0, 0, 0, .08)); border-radius: 999px; padding: 2px 10px; text-decoration: none; }
.tag-chip:hover { color: var(--ink); border-color: rgba(0, 0, 0, .2); }
.tag-chip .count { font-weight: 400; opacity: .7; font-size: 12px; }
.tag-index { gap: 8px; }
.tag-index .tag-chip { font-size: 15px; padding: 5px 14px; }
.side-more { margin: 8px 0 0; font-size: 13px; text-align: right; }
.same-tag ul { margin: 0; padding-left: 1.2em; }
.same-tag li { margin: 6px 0; }
.same-tag time { margin-left: 8px; font-size: 12px; color: var(--ink-soft); }

/* ワンタップの投票 */
.vote h2 { margin-bottom: 10px; }
.vote-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vote-btn { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px 12px; border: 2px solid var(--line, rgba(0, 0, 0, .1)); border-radius: 12px; background: var(--paper); cursor: pointer; font: inherit; color: var(--ink); overflow: hidden; }
.vote-btn:hover:not(:disabled) { border-color: #ff6a7d; transform: translateY(-1px); }
.vote-btn:disabled { cursor: default; }
.vote-emoji { font-size: 26px; line-height: 1.2; }
.vote-label { font-size: 13px; font-weight: 700; }
.vote-bar { display: none; width: 80%; height: 6px; border-radius: 3px; background: var(--line, rgba(0, 0, 0, .08)); margin-top: 4px; }
.vote-bar span { display: block; height: 100%; width: 0; border-radius: 3px; background: #ff6a7d; transition: width .6s; }
.vote-pct { font-size: 13px; font-weight: 800; color: var(--ink-soft); min-height: 0; }
.voted .vote-bar { display: block; }
.vote-btn.mine { border-color: #ff6a7d; background: rgba(255, 106, 125, .12); }
.vote-msg { margin: 8px 0 0; font-size: 13px; color: var(--ink-soft); }
@media (max-width: 480px) { .vote-buttons { grid-template-columns: repeat(2, 1fr); } }

/* 週間まとめの順位 */
.ranking-list ol { list-style: none; margin: 0; padding: 0; }
.ranking-list li { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; }
.ranking-list li > .rank { flex: none; margin-top: 14px; }
.ranking-list li > .cards { flex: 1; min-width: 0; display: block; }

/* 追記した記事の印 */
.updated-tag { font-size: 11.5px; font-weight: 800; color: #fff; background: #2e9a5e; border-radius: 4px; padding: 0 6px; }
.updated-date { font-size: 13px; color: #2e9a5e; font-weight: 700; margin-left: 4px; }

/* TikTok の話題の動画 */
.tiktok-list ol { list-style: none; margin: 0; padding: 0; }
.tt-item { padding: 14px 0 18px; border-bottom: 1px solid var(--line); }
.tt-item:last-child { border-bottom: 0; }
.tt-item h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 16.5px; }
.tt-meta { display: flex; gap: 10px; align-items: center; margin: 0 0 6px; font-size: 13px; color: var(--ink-soft); }
.tt-note { margin: 0 0 10px; }
.tt-frame { width: 100%; max-width: 325px; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #000; }
.tt-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.tt-link { margin: 6px 0 0; font-size: 13px; }

/* ---- デザイン：レトロ掲示板の仕上げ（2026-11-05） ---- */
/* 角は小さく、影はつけず、細い線で区切る（昔の掲示板の板のように） */
.card, .block, .side-box, .three-lines, .rgroup, .vote-btn, .tt-frame, .article, .prevnext a, .comment-form, .comment-form input, .comment-form textarea, .pager a, .pager span, .rank-tabs label, .search-form input, .search-form button, .spoiler-banner, .card-thumb, .embed-video { border-radius: 3px !important; box-shadow: none !important; }
.card, .block, .side-box, .three-lines { border: 1px solid var(--line); }
/* 記事の題名は青いリンク、読んだ記事は紫（昔のネットの見た目） */
.card-title a { color: var(--link); }
.card-title a:visited { color: var(--link-visited); }
.card-title a:hover { text-decoration: underline; }
/* 日付の見出しはドット文字の緑 */
.day-head { font-family: "DotGothic16", "BIZ UDPGothic", monospace; color: #2f7d32; letter-spacing: .04em; }
:root[data-theme="dark"] .day-head { color: #7fd38a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .day-head { color: #7fd38a; } }
.hero h1, .side-title { font-family: "DotGothic16", "BIZ UDPGothic", monospace; font-weight: 400; letter-spacing: .04em; }
/* 投票の色をサイトの赤にそろえる */
.vote-btn:hover:not(:disabled), .vote-btn.mine { border-color: var(--accent); }
.vote-bar span { background: var(--accent); }
.vote-btn.mine { background: rgba(200, 16, 46, .1); }

/* ヘッダー：ロゴを大きく、その下にサイトの説明（2026-11-05 ユーザーより。一覧ページの見出しの下の説明はやめた） */
.brand { display: flex; flex-direction: column; min-width: 0; }
.logo-text { font-size: 36px; }
.logo-mark { width: 52px; height: 52px; }
.site-tagline { margin: 0 0 0 62px; color: #c9d2e3; font-size: 13.5px; line-height: 1.5; }
.hero { padding: 22px 0 4px; }
@media (max-width: 560px) {
  .logo-text { font-size: 28px; }
  .logo-mark { width: 42px; height: 42px; }
  .site-tagline { margin-left: 0; font-size: 12px; margin-top: 4px; }
}

/* 次に読む：大きなカードを1枚（2026-11-05） */
.next-read h2 { color: var(--accent); }
.next-read-card { display: grid; grid-template-columns: minmax(0, 45%) minmax(0, 1fr); gap: 16px; align-items: center; text-decoration: none; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 3px; padding: 12px; }
.next-read-card:hover .next-read-title { text-decoration: underline; }
.next-read-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.next-read-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.next-read-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.next-read-meta { font-size: 12.5px; color: var(--ink-soft); font-weight: 700; }
.next-read-title { font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--link); }
.next-read-lead { font-size: 14px; color: var(--ink-soft); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) { .next-read-card { grid-template-columns: minmax(0, 1fr); } .next-read-title { font-size: 17px; } }
.next-read-card[hidden] { display: none; }

/* ジャンルの色（build.mjs で自動生成） */
.chip-anime, .dot-anime { background: #d6407a; }
.chip-manga, .dot-manga { background: #e07b1a; }
.chip-game, .dot-game { background: #2f6fd1; }
.chip-vtuber, .dot-vtuber { background: #8b52d9; }
.chip-movie, .dot-movie { background: #a8323a; }
.chip-tech, .dot-tech { background: #148a9c; }
.chip-geino, .dot-geino { background: #9a6a1c; }
.chip-sports, .dot-sports { background: #56606c; }
.chip-animal, .dot-animal { background: #6a8f1c; }
.chip-net, .dot-net { background: #2e9a5e; }
.chip-tiktok, .dot-tiktok { background: #e8336d; }
