
  :root {
    --paper: #EFE6CE;
    --ink: #191410;
    --cyan: #0099C7;
    --magenta: #DE1673;
    --yellow: #F2BE00;
    --paper-dark: #E3D6B4;
    --font-display: 'Rampart One', sans-serif;
    --font-body: 'Zen Kaku Gothic New', sans-serif;
    --font-en: 'Bangers', cursive;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }
  body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.8;
    background-image: radial-gradient(circle, rgba(25,20,16,0.05) 1px, transparent 1px);
    background-size: 8px 8px;
  }
  a { color: inherit; }
  .wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
  a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

  /* ---------- ヘッダー ---------- */
  header {
    background: var(--ink); color: var(--paper);
    border-bottom: 6px solid var(--yellow);
    position: sticky; top: 0; z-index: 50;
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 8px;
    padding: 12px 20px; max-width: 1040px; margin: 0 auto;
  }
  .logo {
    font-family: var(--font-en); font-size: 1.6rem; letter-spacing: 2px;
    text-decoration: none; display: flex; align-items: baseline; gap: 8px;
  }
  .logo .dot-c { color: var(--cyan); }
  .logo-jp { font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; opacity: 0.8; }
  nav { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  nav a {
    color: var(--paper); text-decoration: none;
    font-weight: 700; font-size: 0.8rem;
    padding: 2px 4px;
  }
  nav a:hover { color: var(--yellow); }
  nav a[data-active] { color: var(--yellow); border-bottom: 3px solid var(--yellow); }

  /* ---------- ページ切替 ---------- */
  main > section[data-page] { display: block; padding: 48px 0 72px; }

  .sec-head { margin-bottom: 32px; }
  .sec-head .en { font-family: var(--font-en); font-size: 1rem; letter-spacing: 3px; color: var(--cyan); }
  .sec-head h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(1.5rem, 4vw, 2.3rem);
    border-bottom: 4px solid var(--ink);
    display: inline-block; padding-bottom: 4px;
  }
  .sec-head p { margin-top: 10px; font-size: 0.9rem; max-width: 44em; }
  .crumb { font-size: 0.75rem; font-weight: 700; margin-bottom: 16px; }
  .crumb a { color: var(--magenta); }

  /* ---------- ホーム ---------- */
  .hero-mini { text-align: center; padding: 24px 0 40px; }
  .hero-mini .en { font-family: var(--font-en); letter-spacing: 3px; color: var(--magenta); font-size: 1.1rem; }
  .hero-mini h1 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.35;
  }
  .hero-mini h1 .marker { background: linear-gradient(transparent 60%, var(--yellow) 60%); }
  .hero-mini p { font-size: 0.92rem; max-width: 38em; margin: 14px auto 0; }

  .gate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  @media (max-width: 760px) { .gate-grid { grid-template-columns: 1fr; } }
  .gate {
    background: #fff; border: 3px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    text-decoration: none; display: flex; flex-direction: column;
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .gate:hover { transform: translate(-2px,-2px); box-shadow: 9px 9px 0 var(--ink); }
  .gate-visual {
    height: 110px; border-bottom: 3px solid var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-en); font-size: 2rem; color: #fff;
    text-shadow: 3px 3px 0 var(--ink);
    background-size: 10px 10px;
  }
  .gate-visual.c { background-color: var(--cyan);    background-image: radial-gradient(circle, rgba(255,255,255,0.35) 1.5px, transparent 1.5px); }
  .gate-visual.m { background-color: var(--magenta); background-image: radial-gradient(circle, rgba(255,255,255,0.35) 1.5px, transparent 1.5px); }
  .gate-visual.y { background-color: var(--yellow);  background-image: radial-gradient(circle, rgba(255,255,255,0.45) 1.5px, transparent 1.5px); }
  .gate-body { padding: 18px; flex: 1; }
  .gate h3 { font-size: 1.15rem; font-weight: 900; }
  .gate p { font-size: 0.82rem; margin-top: 8px; color: #4a4238; }
  .gate .go { display: block; padding: 10px 18px; font-weight: 900; font-size: 0.8rem; color: var(--magenta); border-top: 2px dashed var(--paper-dark); }

  .tool-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
  @media (max-width: 640px) { .tool-row { grid-template-columns: 1fr; } }
  .tool {
    border: 3px solid var(--ink); background: var(--ink); color: var(--paper);
    text-decoration: none; padding: 18px 20px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: 6px 6px 0 rgba(25,20,16,0.2);
    transition: transform 0.15s;
  }
  .tool:hover { transform: translate(-2px,-2px); }
  .tool .icon {
    font-family: var(--font-en); font-size: 1.5rem;
    width: 48px; height: 48px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
  }
  .tool .icon.c { background: var(--cyan); }
  .tool .icon.y { background: var(--yellow); color: var(--ink); }
  .tool h3 { font-size: 1rem; font-weight: 900; }
  .tool p { font-size: 0.75rem; opacity: 0.85; }

  /* ---------- 検索ボックス ---------- */
  .searchbox {
    display: flex; gap: 0; margin-bottom: 28px; max-width: 520px;
    border: 3px solid var(--ink); background: #fff;
    box-shadow: 5px 5px 0 var(--ink);
  }
  .searchbox input {
    flex: 1; border: none; font-family: var(--font-body);
    font-size: 0.95rem; padding: 12px 16px; background: transparent;
  }
  .searchbox input:focus { outline: none; }
  .searchbox .sicon {
    display: flex; align-items: center; padding: 0 16px;
    background: var(--yellow); border-left: 3px solid var(--ink);
    font-weight: 900; font-size: 0.8rem;
  }
  .no-hit { display: none; font-weight: 700; font-size: 0.9rem; padding: 24px; background: #fff; border: 2px dashed var(--ink); }
  .no-hit.show { display: block; }

  /* ---------- キャラ検索カード ---------- */
  .chara-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
  .chara {
    background: #fff; border: 3px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink); padding: 16px;
  }
  .chara.hide { display: none; }
  .chara-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
  .chara .badge {
    width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%;
    border: 3px solid var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-en); font-size: 1.2rem; color: #fff;
    text-shadow: 2px 2px 0 var(--ink);
    background-size: 7px 7px;
  }
  .badge.c { background-color: var(--cyan);    background-image: radial-gradient(circle, rgba(255,255,255,0.35) 1.2px, transparent 1.2px); }
  .badge.m { background-color: var(--magenta); background-image: radial-gradient(circle, rgba(255,255,255,0.35) 1.2px, transparent 1.2px); }
  .badge.y { background-color: var(--yellow);  background-image: radial-gradient(circle, rgba(255,255,255,0.45) 1.2px, transparent 1.2px); }
  .badge.k { background-color: var(--ink);     background-image: radial-gradient(circle, rgba(255,255,255,0.25) 1.2px, transparent 1.2px); }
  .chara h3 { font-size: 0.98rem; font-weight: 900; line-height: 1.4; }
  .chara h3 small { display: block; font-family: var(--font-en); font-weight: 400; font-size: 0.72rem; color: #9a8f7d; letter-spacing: 1px; }
  .chara p { font-size: 0.78rem; color: #4a4238; }
  .chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
  .chip {
    font-size: 0.62rem; font-weight: 900; padding: 2px 8px;
    border: 2px solid var(--ink);
  }
  .chip.comic { background: var(--cyan); color: #fff; }
  .chip.live  { background: var(--magenta); color: #fff; }
  .chip.anime { background: var(--yellow); }

  /* ---------- 用語辞典 ---------- */
  .dict-list { display: grid; gap: 12px; }
  .term {
    background: #fff; border: 2px solid var(--ink);
    border-left: 10px solid var(--cyan);
    padding: 14px 18px;
  }
  .term.hide { display: none; }
  .crow.hide { display: none; }
  .term h3 { font-size: 0.95rem; font-weight: 900; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .term h3 .en { font-family: var(--font-en); font-weight: 400; font-size: 0.78rem; color: #9a8f7d; letter-spacing: 1px; }
  .term p { font-size: 0.82rem; margin-top: 4px; }

  /* ---------- 時系列タイムライン(コミック) ---------- */
  .timeline { position: relative; padding-left: 34px; }
  .timeline::before {
    content: ''; position: absolute; left: 10px; top: 0; bottom: 0;
    width: 5px; background: var(--ink);
  }
  .t-item { position: relative; margin-bottom: 26px; }
  .t-item::before {
    content: ''; position: absolute; left: -31px; top: 8px;
    width: 17px; height: 17px; border-radius: 50%;
    background: var(--yellow); border: 4px solid var(--ink);
  }
  .t-year {
    font-family: var(--font-en); font-size: 1rem; letter-spacing: 2px;
    color: var(--magenta);
  }
  .t-card {
    background: #fff; border: 3px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink); padding: 20px;
  }
  .t-card h3 { font-size: 1.1rem; font-weight: 900; }
  .t-card h3 small { display: block; font-family: var(--font-en); font-weight: 400; font-size: 0.75rem; color: #9a8f7d; letter-spacing: 1px; }
  .t-card .synopsis { font-size: 0.85rem; margin-top: 10px; }
  .edition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
  @media (max-width: 640px) { .edition-grid { grid-template-columns: 1fr; } }
  .edition { border: 2px solid var(--ink); padding: 12px 14px; font-size: 0.78rem; background: var(--paper); }
  .edition .ed-label {
    display: inline-block; font-size: 0.62rem; font-weight: 900; color: #fff;
    padding: 1px 8px; margin-bottom: 6px;
  }
  .edition.us .ed-label { background: var(--cyan); }
  .edition.jp .ed-label { background: var(--magenta); }
  .edition strong { display: block; font-size: 0.85rem; }
  .edition .meta { color: #6b6154; font-weight: 700; font-size: 0.7rem; }
  .amz-btn {
    display: inline-block; margin-top: 8px;
    background: var(--yellow); color: var(--ink);
    border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
    font-weight: 900; font-size: 0.75rem;
    text-decoration: none; padding: 6px 14px;
    transition: transform 0.12s, box-shadow 0.12s;
  }
  .amz-btn:hover { transform: translate(1px,1px); box-shadow: 2px 2px 0 var(--ink); }
  .pr-label { font-size: 0.6rem; font-weight: 700; color: #9a8f7d; margin-left: 6px; }

  /* ---------- 実写:並び替えトグル ---------- */
  .toggle-row { display: flex; gap: 0; margin-bottom: 24px; border: 3px solid var(--ink); width: fit-content; background: #fff; box-shadow: 4px 4px 0 var(--ink); }
  .toggle-row button {
    font-family: var(--font-body); font-weight: 900; font-size: 0.85rem;
    border: none; background: transparent; padding: 10px 22px; cursor: pointer;
  }
  .toggle-row button[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }

  .watch-list { display: grid; gap: 10px; }
  .watch {
    display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center;
    background: #fff; border: 2px solid var(--ink); padding: 12px 16px;
  }
  @media (max-width: 560px) { .watch { grid-template-columns: 48px 1fr; } .watch .w-type { display: none; } }
  .w-num {
    font-family: var(--font-en); font-size: 1.5rem;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--ink); color: var(--yellow);
    display: flex; align-items: center; justify-content: center;
  }
  .watch h3 { font-size: 0.92rem; font-weight: 900; }
  .watch .w-meta { font-size: 0.7rem; color: #6b6154; font-weight: 700; }
  .w-type {
    font-size: 0.65rem; font-weight: 900; padding: 3px 10px;
    border: 2px solid var(--ink);
  }
  .w-type.movie { background: var(--cyan); color: #fff; }
  .w-type.drama { background: var(--magenta); color: #fff; }

  /* キャラ別コース */
  .course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
  @media (max-width: 720px) { .course-grid { grid-template-columns: 1fr; } }
  .course { background: #fff; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 20px; }
  .course h3 { font-size: 1rem; font-weight: 900; padding-left: 10px; border-left: 8px solid var(--magenta); margin-bottom: 12px; }
  .course ol { list-style: none; counter-reset: step; }
  .course li {
    counter-increment: step; position: relative;
    padding: 7px 0 7px 40px; font-size: 0.82rem; font-weight: 700;
    border-bottom: 1px solid var(--paper-dark);
  }
  .course li::before {
    content: counter(step);
    position: absolute; left: 0; top: 7px;
    width: 26px; height: 26px;
    background: var(--ink); color: var(--yellow);
    font-family: var(--font-en); font-size: 0.95rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
  }
  .course li span { display: block; font-size: 0.68rem; font-weight: 500; color: #6b6154; }

  /* ---------- 実写:フィルタ・追加要素 ---------- */
  .filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
  .fbtn {
    font-family: var(--font-body); font-weight: 900; font-size: 0.75rem;
    border: 2px solid var(--ink); background: #fff; padding: 6px 14px;
    cursor: pointer; box-shadow: 2px 2px 0 var(--ink);
  }
  .fbtn[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
  .w-type.anime { background: var(--yellow); }
  .w-type.special { background: var(--ink); color: #fff; }
  .w-badge {
    display: inline-block; font-size: 0.58rem; font-weight: 900;
    border: 2px solid var(--ink); padding: 0 6px; margin-left: 6px;
    background: var(--yellow); vertical-align: 2px;
  }
  .w-badge.upcoming { background: #fff; }
  .offtime-head {
    font-size: 1rem; font-weight: 900; margin: 28px 0 12px;
    padding-left: 10px; border-left: 8px solid var(--cyan);
  }
  .defenders {
    margin-top: 36px; background: #fff; border: 3px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink); padding: 22px;
  }
  .defenders h3 { font-size: 1rem; font-weight: 900; padding-left: 10px; border-left: 8px solid var(--magenta); }
  .defenders > p { font-size: 0.8rem; margin-top: 8px; }
  .defenders ul { list-style: none; margin-top: 10px; }
  .defenders li { font-size: 0.82rem; padding: 7px 0; border-bottom: 1px solid var(--paper-dark); font-weight: 700; }
  .defenders li span { display: block; font-size: 0.7rem; font-weight: 500; color: #6b6154; }
  .course-target { font-size: 0.72rem; font-weight: 700; color: #6b6154; margin-bottom: 8px; }

  /* ---------- アニメ ---------- */
  .anime-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
  .anime-card { background: #fff; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 20px; }
  .anime-card h3 { font-size: 1rem; font-weight: 900; }
  .anime-card .meta { font-size: 0.7rem; color: #6b6154; font-weight: 700; margin-top: 2px; }
  .anime-card p { font-size: 0.8rem; margin-top: 8px; }

  .note {
    margin-top: 28px; background: var(--paper);
    border: 2px dashed var(--ink); padding: 14px 18px;
    font-size: 0.78rem; font-weight: 700;
  }

  /* ---------- 用語辞典:追加要素 ---------- */
  .cat-tag {
    font-size: 0.58rem; font-weight: 900; border: 2px solid var(--ink);
    background: var(--yellow); padding: 0 6px; margin-left: auto;
  }
  .term-note { font-size: 0.72rem; margin-top: 6px; color: var(--cyan); font-weight: 700; }

  /* ---------- キャラ詳細(スポットライト) ---------- */
  .spotlight { margin-bottom: 44px; }
  .spot-item {
    background: #fff; border: 3px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink); margin-bottom: 16px;
  }
  .spot-item summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; font-weight: 900;
  }
  .spot-item summary::-webkit-details-marker { display: none; }
  .spot-item summary .arrow { margin-left: auto; font-family: var(--font-en); font-size: 1.2rem; transition: transform 0.2s; }
  .spot-item[open] summary .arrow { transform: rotate(90deg); }
  .spot-item[open] summary { border-bottom: 3px solid var(--ink); }
  .spot-name { font-size: 1.02rem; }
  .spot-name small { display: block; font-family: var(--font-en); font-weight: 400; font-size: 0.72rem; color: #9a8f7d; letter-spacing: 1px; }
  .spot-badge {
    font-size: 0.62rem; font-weight: 900; color: #fff;
    background: var(--magenta); border: 2px solid var(--ink); padding: 1px 8px;
  }
  .spot-body { padding: 18px 20px 22px; }
  .spot-facts {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px; margin-bottom: 14px;
  }
  .spot-facts div { font-size: 0.72rem; background: var(--paper); border: 2px solid var(--ink); padding: 6px 10px; }
  .spot-facts b { display: block; font-size: 0.62rem; color: var(--magenta); }
  .spot-body h4 {
    font-size: 0.92rem; font-weight: 900; margin: 16px 0 6px;
    padding-left: 10px; border-left: 6px solid var(--cyan);
  }
  .spot-body p { font-size: 0.85rem; }
  .spot-read { margin-top: 16px; border-top: 2px dashed var(--paper-dark); padding-top: 12px; }
  .spot-read h4 { border-left-color: var(--yellow); }
  .spot-read .rbook { font-size: 0.82rem; padding: 8px 0; border-bottom: 1px solid var(--paper-dark); }
  .spot-read .rbook b { font-weight: 900; }
  .spot-read .rbook span { display: block; font-size: 0.72rem; color: #6b6154; }

  .w-desc { font-size: 0.76rem; margin: 2px 0; }

  .term p.dual { padding: 6px 10px; margin-top: 6px; border: 2px solid var(--paper-dark); }
  .term p.dual.comic { border-left: 6px solid var(--cyan); }
  .term p.dual.mcu { border-left: 6px solid var(--magenta); }

  /* ---------- コミックDB ---------- */
  .db-count { font-size: 0.8rem; font-weight: 900; margin-bottom: 12px; }
  .comic-list { display: grid; gap: 8px; }
  .crow {
    display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: start;
    background: #fff; border: 2px solid var(--ink); padding: 10px 14px;
  }
  @media (max-width: 560px) { .crow { grid-template-columns: 1fr; } }
  .cs-badge {
    font-size: 0.62rem; font-weight: 900; text-align: center;
    border: 2px solid var(--ink); padding: 3px 6px; margin-top: 2px;
  }
  .cs-badge.A { background: var(--cyan); color: #fff; }
  .cs-badge.S { background: var(--yellow); }
  .cs-badge.R { background: #fff; }
  .cs-badge.D { background: var(--magenta); color: #fff; }
  .crow h3 { font-size: 0.9rem; font-weight: 900; line-height: 1.5; }
  .crow h3 .doom-star { color: var(--magenta); }
  .c-meta { font-size: 0.7rem; color: #6b6154; font-weight: 700; }
  .c-screen { font-size: 0.7rem; color: var(--cyan); font-weight: 900; margin-top: 2px; }

  /* ---------- 作品詳細(あらすじ/ネタバレ) ---------- */
  .watch-d { border: 2px solid var(--ink); background: #fff; }
  .watch-d > summary { list-style: none; cursor: pointer; border: none; }
  .watch-d > summary::-webkit-details-marker { display: none; }
  .watch-d .watch { border: none; }
  .watch.has-detail::after { content: '▾ 詳細'; font-size: 0.65rem; font-weight: 900; color: var(--magenta); align-self: center; }
  .watch-d[open] .watch.has-detail::after { content: '▴ 閉じる'; }
  .w-detail { padding: 0 16px 14px; border-top: 2px dashed var(--paper-dark); }
  .w-syn { font-size: 0.82rem; margin-top: 10px; }
  .spoiler-box { margin-top: 10px; border: 2px solid var(--magenta); }
  .spoiler-box summary {
    list-style: none; cursor: pointer;
    background: var(--magenta); color: #fff;
    font-size: 0.75rem; font-weight: 900; padding: 7px 12px;
  }
  .spoiler-box summary::-webkit-details-marker { display: none; }
  .spoiler-box p { font-size: 0.82rem; padding: 10px 12px; }
  .sp-pending { font-size: 0.72rem; font-weight: 700; color: #9a8f7d; margin-top: 8px; }

  /* ---------- フッター ---------- */
  footer {
    background: var(--ink); color: var(--paper);
    padding: 40px 0; border-top: 6px solid var(--magenta);
  }
  footer .disclosure {
    font-size: 0.78rem; font-weight: 700;
    background: rgba(255,255,255,0.08);
    padding: 12px 16px; border-left: 4px solid var(--yellow);
  }
  footer .legal { font-size: 0.72rem; opacity: 0.7; margin-top: 16px; }
  footer .credit { font-family: var(--font-en); letter-spacing: 2px; margin-top: 24px; font-size: 0.9rem; }

  /* ---------- 記事(マルチページ版で追加) ---------- */
  .article-list { display: grid; gap: 16px; }
  .article-body { max-width: 46em; }
  .article-body h1 { display: none; }
  .article-body h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; margin: 40px 0 12px; border-left: 6px solid var(--magenta); padding-left: 10px; }
  .article-body h3 { font-size: 1.05rem; margin: 28px 0 8px; border-bottom: 2px dashed var(--paper-dark); padding-bottom: 4px; }
  .article-body p { margin: 12px 0; font-size: 0.92rem; line-height: 1.9; }
  .article-body ul, .article-body ol { margin: 12px 0 12px 1.4em; font-size: 0.92rem; line-height: 1.9; }
  .article-body li { margin: 6px 0; }
  .article-body blockquote { background: #fff; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 12px 16px; margin: 20px 0; font-size: 0.88rem; }
  .article-body blockquote p { margin: 6px 0; }
  .article-body hr { border: none; border-top: 3px solid var(--ink); margin: 36px 0; }
  .article-body table { border-collapse: collapse; width: 100%; font-size: 0.85rem; margin: 16px 0; display: block; overflow-x: auto; }
  .article-body th, .article-body td { border: 2px solid var(--ink); padding: 6px 10px; text-align: left; }
  .article-body th { background: var(--paper-dark); }
  .article-body em { font-style: normal; font-size: 0.8rem; color: #6b5f52; }
  .article-body a { color: var(--magenta); font-weight: 700; }

  /* ---------- 3層ターゲット導線(ホーム) ---------- */
  .type-band { margin: 0 0 40px; }
  .type-band-head {
    font-family: var(--font-body); font-weight: 900; font-size: 1.15rem;
    text-align: center; margin-bottom: 16px;
  }
  .type-band-head::before, .type-band-head::after { content: " — "; color: var(--magenta); }
  .type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  @media (max-width: 760px) { .type-grid { grid-template-columns: 1fr; } }
  .type-card {
    background: #fff; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
    text-decoration: none; padding: 16px 18px 12px;
    display: flex; flex-direction: column; gap: 8px;
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .type-card:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }
  .type-tag {
    align-self: flex-start; font-family: var(--font-en); font-size: 0.85rem;
    letter-spacing: 2px; color: #fff; text-shadow: 1px 1px 0 var(--ink);
    border: 2px solid var(--ink); padding: 1px 10px;
  }
  .type-tag.c { background: var(--cyan); }
  .type-tag.y { background: var(--yellow); }
  .type-tag.m { background: var(--magenta); }
  .type-card h3 { font-size: 1rem; font-weight: 900; line-height: 1.5; }
  .type-card p { font-size: 0.8rem; color: #4a4238; flex: 1; }
  .type-card .go { font-weight: 900; font-size: 0.8rem; color: var(--magenta); border-top: 2px dashed var(--paper-dark); padding-top: 8px; }

  /* ---------- 見出しフォントの使い分け ----------
     Rampart One(中抜き)は約15文字以内の飾り見出しのみ。
     記事タイトル・作品名を含む見出し・2行以上に折り返す見出しは Zen Kaku Gothic New 900。
     迷ったら太ゴシック側に倒す(チャット側Claude指定の基準) */
  [data-page="article"] .sec-head h2,
  .article-body h2 {
    font-family: var(--font-body);
    font-weight: 900;
    letter-spacing: 0.02em;
    overflow-wrap: break-word;
  }
  [data-page="article"] .sec-head h2 {
    font-size: clamp(1.15rem, 3.2vw, 1.6rem);
    line-height: 1.6;
    display: block; border-bottom: 4px solid var(--ink);
  }

  /* ---------- フッターリンク・購入リンク準備中 ---------- */
  .footer-links { margin-top: 10px; font-size: 0.75rem; font-weight: 700; }
  .footer-links a { color: var(--yellow); }
  .amz-pending {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    color: #6b5f52; border: 2px dashed var(--paper-dark);
    padding: 4px 12px; margin-top: 8px;
  }

  /* ---------- 作品詳細の購入ボタン行 ---------- */
  .w-buy { margin-top: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

  /* ---------- キャラ百科・新カード ---------- */
  a.chara { text-decoration: none; color: inherit; display: block; transition: transform 0.15s, box-shadow 0.15s; }
  a.chara:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
  .chara-live { font-size: 0.75rem; font-weight: 700; color: #4a4238; margin: 8px 0; border-top: 2px dashed var(--paper-dark); padding-top: 8px; }
  .chip.doom { background: var(--magenta); color: #fff; }
  .chip.faction-villain { background: var(--ink); color: #fff; }
  .chip.faction-hero { background: var(--cyan); color: #fff; }
  .chip.faction-antihero { background: var(--magenta); color: #fff; }
  .chip.faction-support { background: var(--yellow); color: var(--ink); }
  .filter-label { font-size: 0.72rem; font-weight: 900; align-self: center; margin-right: 4px; min-width: 3.2em; }
  .chara-filter { margin-bottom: 10px; }
  .doom-banner {
    display: block; margin: 20px 0 28px; padding: 14px 20px;
    background: var(--ink); color: var(--yellow); text-decoration: none;
    border: 3px solid var(--ink); box-shadow: 5px 5px 0 rgba(25,20,16,0.25);
    font-weight: 900; font-size: 0.95rem; transition: transform 0.15s;
  }
  .doom-banner:hover { transform: translate(-2px,-2px); }
  .chara-name-h { font-family: var(--font-body); font-weight: 900; letter-spacing: 0.02em; }
  .enc-facts {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px;
    background: #fff; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
    padding: 16px 20px; margin-bottom: 28px; font-size: 0.85rem;
  }
  @media (max-width: 640px) { .enc-facts { grid-template-columns: 1fr; } }
  .enc-facts b { display: inline-block; min-width: 4em; color: var(--magenta); margin-right: 8px; }
  .enc-ver { background: #fff; border: 2px solid var(--ink); padding: 12px 16px; margin: 12px 0; }
  .enc-ver-head { font-size: 0.85rem; }
  .enc-ver-head span { font-size: 0.75rem; color: #6b5f52; margin-left: 10px; font-weight: 700; }
  .enc-ver-none { background: transparent; border: 2px dashed var(--paper-dark); }
  .enc-back { margin-top: 36px; font-weight: 900; }
  .enc-back a { color: var(--magenta); }

  /* ---------- 百科: 出演作リスト ---------- */
  .app-list { display: grid; gap: 10px; margin: 12px 0; }
  .app-item { background: #fff; border: 2px solid var(--ink); padding: 10px 14px; }
  .app-head { font-size: 0.88rem; margin: 0; }
  .app-role {
    font-size: 0.7rem; font-weight: 900; color: #fff; background: var(--cyan);
    border: 1px solid var(--ink); padding: 1px 8px; margin-left: 10px; vertical-align: 2px;
  }
  .app-jp { font-size: 0.72rem; font-weight: 700; color: #6b5f52; margin-left: 10px; }
  .app-item .spoiler-box { margin-top: 8px; }

  /* ---------- MCU外シリーズ・視聴順リスト ---------- */
  .series-order-head { font-size: 0.95rem; font-weight: 900; margin: 24px 0 4px; border-top: 2px dashed var(--paper-dark); padding-top: 16px; }
  .series-order-note { font-size: 0.8rem; color: #4a4238; margin-bottom: 10px; }
  .series-order { list-style: none; counter-reset: so; margin: 0; }
  .series-order li {
    counter-increment: so; position: relative;
    padding: 8px 0 8px 44px; border-bottom: 2px dashed var(--paper-dark);
    font-size: 0.9rem;
  }
  .series-order li::before {
    content: counter(so); position: absolute; left: 0; top: 8px;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--ink); color: var(--yellow);
    font-family: var(--font-en); font-size: 0.95rem;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--ink);
  }
  .series-order li span { font-size: 0.75rem; color: #6b5f52; font-weight: 700; margin-left: 10px; }
  .series-desc { font-size: 0.8rem; color: #4a4238; margin-top: 4px; }
  .other-series { margin-top: 20px; }

  /* ---------- 百科: 登場作品と活躍(在庫区分・未邦訳) ---------- */
  .app-sub { font-size: 0.95rem; font-weight: 900; margin: 20px 0 8px; }
  .app-head .cs-badge { margin-right: 10px; }
  .cs-badge.none { background: #cfc6b3; color: #5a5245; }

  /* ---------- 実写個別ページ ---------- */
  .w-more { margin-top: 10px; font-weight: 900; font-size: 0.8rem; }
  .w-more a { color: var(--magenta); }
  .w-more-solo { padding: 4px 0 0 8px; }
  .credit-pos {
    display: inline-block; font-size: 0.72rem; font-weight: 900; color: #fff;
    border: 2px solid var(--ink); padding: 2px 10px;
  }
  .credit-pos.mid { background: var(--cyan); }
  .credit-pos.post { background: var(--magenta); }
  .nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  @media (max-width: 640px) { .nav-grid { grid-template-columns: 1fr; } }
  .nav-col { background: #fff; border: 2px solid var(--ink); padding: 12px 16px; }
  .nav-label { font-size: 0.78rem; font-weight: 900; color: var(--magenta); margin-bottom: 6px; }
  .nav-col ul { list-style: none; margin: 0; }
  .nav-col li { font-size: 0.85rem; padding: 4px 0; border-bottom: 1px dashed var(--paper-dark); }
  .nav-col a { color: var(--ink); font-weight: 700; }
  .char-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
  .char-link {
    display: inline-block; background: #fff; border: 2px solid var(--ink);
    padding: 6px 12px; font-size: 0.82rem; text-decoration: none; color: var(--ink);
    box-shadow: 3px 3px 0 var(--ink); transition: transform 0.15s;
  }
  .char-link:hover { transform: translate(-1px,-1px); }

  /* ---------- 用語辞典: 関連語チップ ---------- */
  .term-rel { font-size: 0.78rem; font-weight: 700; margin-top: 8px; color: #6b5f52; }
  .rel-chip {
    display: inline-block; background: var(--paper); border: 2px solid var(--ink);
    padding: 1px 10px; margin: 2px 4px 2px 0; text-decoration: none;
    color: var(--ink); font-size: 0.75rem; box-shadow: 2px 2px 0 var(--ink);
  }
  .rel-chip:hover { background: var(--yellow); }
  .term:target { outline: 4px solid var(--magenta); outline-offset: 4px; }

  /* ---------- 記事: DB参照チップ ---------- */
  .db-refs { white-space: nowrap; }
  .db-ref {
    display: inline-block; font-size: 0.75rem; font-weight: 900;
    border: 2px solid var(--ink); background: #fff; padding: 1px 8px 1px 2px;
    margin: 0 3px; text-decoration: none; color: var(--ink) !important;
    box-shadow: 2px 2px 0 var(--ink); vertical-align: 1px;
  }
  .db-ref .cs-badge { margin-right: 6px; }
  .crow:target { outline: 4px solid var(--magenta); outline-offset: 2px; }

  /* ---------- MCU相関マップ ---------- */
  .map-legend { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 16px; font-size: 0.78rem; font-weight: 700; }
  .legend-item { display: flex; align-items: center; gap: 6px; }
  .legend-line { display: inline-block; width: 28px; height: 0; }
  .legend-line.lane { border-top: 4px solid var(--cyan); }
  .legend-line.bar { border-top: 5px solid var(--ink); }
  .legend-line.cross { border-top: 3px dashed var(--magenta); }
  .legend-box.dashed { display: inline-block; width: 22px; height: 14px; border: 2px dashed var(--ink); background: #fff; }
  .map-scroll { overflow: hidden; border: 3px solid var(--ink); background: #fff; box-shadow: 6px 6px 0 var(--ink);
    width: calc(100vw - 48px); max-width: 1360px; margin-left: calc(50% - min(50vw - 24px, 680px)); }
  .map-canvas { position: relative; }
  .map-mobile { display: none; }
  @media (max-width: 719px) {
    .map-scroll { display: none; }
    .map-mobile { display: block; }
    .map-m-lane { border: 3px solid var(--gcolor, var(--ink)); background: #fff; margin-bottom: 12px; }
    .map-m-lane summary { cursor: pointer; padding: 10px 14px; font-size: 0.85rem; border-left: 8px solid var(--gcolor, var(--ink)); }
    .map-m-lane summary b { display: block; }
    .map-m-lane summary span { font-size: 0.7rem; color: #6b5f52; font-weight: 700; }
    .map-m-lane ol, .map-m-lane ul { margin: 0; padding: 4px 14px 12px 2em; }
    .map-m-lane li { font-size: 0.85rem; padding: 5px 0; border-bottom: 1px dashed var(--paper-dark); }
    .map-m-lane li.upcoming a { color: #6b5f52; }
    .map-m-lane li.upcoming a::after { content: "(未公開)"; font-size: 0.7rem; }
    .map-m-lane a { color: var(--ink); font-weight: 700; text-decoration: none; }
    .map-m-lane a.watched::after { content: " ✅"; }
    .map-m-why { display: block; font-size: 0.75rem; color: var(--magenta); font-weight: 700; }
    .map-m-bars { --gcolor: var(--ink); }
    .map-m-cross { --gcolor: var(--magenta); }
  }
  .map-svg { position: absolute; left: 0; top: 0; }
  .map-lanehead { position: sticky; top: 0; z-index: 5; display: flex; background: var(--paper); border-bottom: 3px solid var(--ink); }
  .map-lane-label {
    font-size: 0.7rem; font-weight: 900; text-align: center;
    padding: 8px 6px; line-height: 1.4; height: 56px; box-sizing: border-box;
    border-right: 1px dashed var(--paper-dark);
  }
  .map-node {
    position: absolute; z-index: 2; display: flex; align-items: center;
    min-height: 48px; padding: 4px 8px; box-sizing: border-box;
    background: #fff; border: 2px solid var(--ink);
    font-size: 0.66rem; font-weight: 700; line-height: 1.35;
    text-decoration: none; color: var(--ink);
    box-shadow: 2px 2px 0 var(--ink);
  }
  .map-node:hover { z-index: 4; transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }
  .map-node.upcoming { border-style: dashed; background: var(--paper); }
  .map-why {
    position: absolute; z-index: 3; width: 22px; height: 22px; border-radius: 50%;
    background: var(--magenta); color: #fff; border: 2px solid var(--ink);
    font-size: 0.75rem; font-weight: 900; text-align: center; line-height: 18px;
    cursor: pointer;
  }
  .map-why::after {
    content: attr(data-why); display: none; position: absolute; z-index: 10;
    left: 26px; top: -6px; width: max-content; max-width: 230px;
    background: var(--ink); color: var(--paper); font-size: 0.72rem; font-weight: 700;
    padding: 6px 10px; line-height: 1.5; text-align: left;
  }
  .map-why:hover::after, .map-why:focus::after { display: block; }
  .map-lanes-desc { margin-top: 20px; font-size: 0.82rem; }
  .map-lanes-desc p { margin: 6px 0; }

  /* ---------- 診断ウィザード ---------- */
  .navi-box { background: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 20px; margin-bottom: 40px; }
  .navi-q { font-weight: 900; font-size: 1rem; margin: 8px 0 14px; }
  .navi-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
  .navi-opt {
    text-align: left; background: var(--paper); border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink); padding: 10px 14px; cursor: pointer;
    font-family: var(--font-body); transition: transform 0.12s;
  }
  .navi-opt:hover { transform: translate(-1px,-1px); background: #fff; }
  .navi-opt b { display: block; font-size: 0.9rem; }
  .navi-opt span { font-size: 0.72rem; color: #6b5f52; }
  .navi-back {
    margin-top: 14px; background: none; border: 2px solid var(--ink); padding: 6px 14px;
    font-family: var(--font-body); font-weight: 900; font-size: 0.78rem; cursor: pointer;
  }
  .navi-why { font-size: 0.8rem; color: #4a4238; margin-top: 4px; }
  .navi-warn { font-size: 0.78rem; font-weight: 900; color: var(--magenta); margin-top: 4px; }
  .navi-next { font-size: 0.85rem; font-weight: 700; margin-top: 14px; border-top: 2px dashed var(--paper-dark); padding-top: 12px; }

  /* ---------- 9/30カウントダウン ---------- */
  .countdown-banner {
    background: var(--magenta); color: #fff; border: 3px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink); padding: 10px 16px; margin-bottom: 24px;
    font-size: 0.88rem; font-weight: 700;
  }
  .countdown-banner.ended { background: var(--ink); color: var(--paper); }
  .countdown-banner:empty { display: none; }

  /* ---------- 視聴済みチェック+進捗 ---------- */
  .progress-box { background: #fff; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 12px 16px; margin-bottom: 20px; }
  .progress-label { font-size: 0.82rem; font-weight: 700; margin-bottom: 8px; }
  .progress-bar { height: 14px; border: 2px solid var(--ink); background: var(--paper); }
  .progress-fill { height: 100%; width: 0; background: var(--cyan); transition: width 0.3s; }
  .watch-check {
    flex-shrink: 0; width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #fff; color: var(--paper-dark); font-weight: 900; cursor: pointer;
    margin-right: 8px; align-self: center; user-select: none;
  }
  .watch-check.on { background: var(--cyan); color: #fff; }
  .map-node.watched { background: #d7f0f7; border-width: 3px; }
  .map-watched-note { font-size: 0.8rem; font-weight: 900; color: var(--cyan); margin-top: 6px; }

  /* ---------- 予習必要度メーター ---------- */
  .prep-meter { display: inline-block; font-size: 0.7rem; font-weight: 900; border: 1px solid var(--ink); padding: 0 8px; margin-left: 6px; background: #fff; }
  .prep-meter.g { border-color: #1a7f37; }
  .prep-meter.y { background: #fff7dc; }
  .prep-meter.r { background: #ffe3ef; }

  /* ---------- ドゥームズデイ相関図 ---------- */
  .rel-box { background: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 20px; margin-bottom: 40px; }
  .rel-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.75rem; font-weight: 700; margin: 10px 0 16px; }
  .rel-legend span, .rel-table .rl { display: inline-flex; align-items: center; gap: 6px; }
  .rl { display: inline-block; width: 24px; height: 0; margin-right: 4px; vertical-align: middle; }
  .rl.family { border-top: 3px solid #DE1673; }
  .rl.love { border-top: 3px solid #e74c3c; }
  .rl.ally { border-top: 3px solid #1a7f37; }
  .rl.rival { border-top: 3px dashed #e67e22; }
  .rl.mystery { border-top: 3px dashed #7f8c8d; }
  .rel-seen-hint { color: var(--cyan); }
  .rel-canvas { position: relative; display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr);
    grid-template-areas: "ff doom xmen" "cosmic-myth doom xmen" "avengers newavengers wakanda" "avengers newavengers wildcard"; }
  .rel-svg { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
  .rel-island { position: relative; z-index: 0; border: 3px solid var(--gcolor); background: var(--paper); padding: 10px 12px; }
  .rel-doom { grid-area: doom; } .rel-ff { grid-area: ff; } .rel-xmen { grid-area: xmen; }
  .rel-avengers { grid-area: avengers; } .rel-newavengers { grid-area: newavengers; }
  .rel-wakanda { grid-area: wakanda; } .rel-wildcard { grid-area: wildcard; } .rel-cosmic-myth { grid-area: cosmic-myth; }
  @media (max-width: 760px) { .rel-canvas { grid-template-columns: 1fr; grid-template-areas: "doom" "ff" "cosmic-myth" "xmen" "avengers" "newavengers" "wakanda" "wildcard"; } }
  .rel-island-head { font-size: 0.78rem; border-bottom: 2px solid var(--gcolor); padding-bottom: 4px; margin-bottom: 8px; }
  .rel-island-head b { display: block; }
  .rel-island-head span { color: #6b5f52; font-size: 0.7rem; }
  .rel-chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .rel-chip { position: relative; z-index: 2; display: inline-block; background: #fff; border: 2px solid var(--ink);
    padding: 2px 8px; font-size: 0.72rem; font-weight: 700; text-decoration: none; color: var(--ink); }
  .rel-chip:hover { background: var(--yellow); }
  .rel-chip.seen { box-shadow: 0 0 0 3px rgba(0,153,199,0.45); }
  .rel-chip.seen::after { content: "✨"; font-size: 0.65rem; margin-left: 2px; }
  .rel-why { z-index: 3; background: #fff; color: var(--ink); }
  .rel-why.mystery { background: #7f8c8d; color: #fff; }
  .rel-table-wrap { overflow-x: auto; margin-top: 12px; }
  .rel-table { border-collapse: collapse; width: 100%; font-size: 0.78rem; }
  .rel-table th, .rel-table td { border: 2px solid var(--ink); padding: 5px 10px; text-align: left; }
  .rel-table th { background: var(--paper-dark); }

  /* ---------- 開幕演出 You Will Return ---------- */
  .splash { position: fixed; inset: 0; z-index: 200; background: #0a0a0a; display: flex;
    align-items: center; justify-content: center; cursor: pointer; opacity: 1; transition: opacity 0.6s; }
  .splash[hidden] { display: none !important; }
  .splash.out { opacity: 0; pointer-events: none; }
  .splash-inner { text-align: center; padding: 0 24px; }
  .splash-en { color: #f5f2ea; font-family: var(--font-body); font-weight: 500; text-transform: uppercase;
    font-size: clamp(1rem, 3.4vw, 1.7rem); letter-spacing: 0.35em; opacity: 0; transition: opacity 1s; }
  .splash-jp { color: rgba(245,242,234,0.66); font-size: clamp(0.72rem, 2vw, 0.9rem); letter-spacing: 0.12em;
    margin-top: 18px; opacity: 0; transition: opacity 1s 0.8s; }
  .splash-gold { color: #d4af37; font-family: var(--font-en); font-size: clamp(0.9rem, 2.4vw, 1.2rem);
    letter-spacing: 0.3em; margin-top: 26px; opacity: 0; transition: opacity 1s 1.4s; }
  .splash.run .splash-en, .splash.run .splash-jp, .splash.run .splash-gold { opacity: 1; }
  .splash-skip { position: absolute; right: 18px; bottom: 14px; color: rgba(245,242,234,0.45); font-size: 0.68rem; letter-spacing: 0.1em; }
  .splash-lock { overflow: hidden; }
  @media (prefers-reduced-motion: reduce) { .splash { display: none !important; } }

  /* ---------- ディズニープラスボタン(アフィリエイトリンク投入で点灯) ---------- */
  .amz-btn.dplus-btn { background: #0e2a5c; color: #fff; }
  .amz-btn.dplus-btn:hover { background: #113f8f; }

  /* ---------- クリック可能要素のアフォーダンス強化(2026-08-18) ----------
     方針: 既存デザイン(コミック調)を変えず、開閉チップ・矢印・下線・カーソルのみ追加 */
  button, summary, [role="checkbox"], .map-why { cursor: pointer; }
  /* 作品カードの「詳細」をチップ化してタップ対象と分かるように(スマホでも表示) */
  .watch.has-detail::after {
    content: '▾ 詳細';
    border: 2px solid var(--magenta); background: #fff;
    padding: 2px 8px; border-radius: 2px;
    flex-shrink: 0; white-space: nowrap;
  }
  .watch-d[open] .watch.has-detail::after { content: '▴ 閉じる'; background: var(--magenta); color: #fff; }
  .watch-d > summary:hover .watch { background: #fffdf5; }
  /* キャラカードに行き先を明示するフッター行(CSSのみ・全カード共通) */
  a.chara::after {
    content: '詳細ページへ →';
    display: block; margin-top: 8px; padding-top: 8px;
    border-top: 2px dashed var(--paper-dark);
    font-size: 0.72rem; font-weight: 900; color: var(--magenta);
  }
  /* 文中のテキストリンクは下線で明示 */
  .article-body a, .term-note a, .navi-next a, .w-more a, .enc-back a,
  .footer-links a, .map-watched-note a, .series-desc a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
  }
  /* マップのノードカードに遷移マーク */
  .map-node::after { content: '›'; margin-left: auto; padding-left: 4px; color: var(--magenta); font-weight: 900; }
  /* ネタバレボタンのホバー反応 */
  .spoiler-box > summary:hover { filter: brightness(1.08); }
  /* フィルタボタンの未選択ホバー */
  .fbtn:hover:not([aria-pressed="true"]) { background: var(--paper-dark); }
  .toggle-row button:hover:not([aria-pressed="true"]) { background: var(--paper-dark); }

  /* ---------- その先のロードマップ(2028〜) ---------- */
  .future-slate { margin-top: 40px; }
  .future-pre { font-size: 0.85rem; margin: 8px 0 14px; max-width: 44em; }
  .future-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  @media (max-width: 760px) { .future-grid { grid-template-columns: 1fr; } }
  .future-card { border: 3px dashed var(--ink); background: var(--paper); padding: 14px 16px; }
  .future-card h4 { font-size: 0.95rem; font-weight: 900; }
  .future-date { font-size: 0.75rem; font-weight: 700; color: var(--magenta); margin: 6px 0; }
  .future-note { font-size: 0.78rem; color: #4a4238; }

  /* ---------- アンカー広告(画面下端固定)用の余白 ----------
     広告がフッター末尾の行に重ならないよう、フッター下部に確保 */
  footer { padding-bottom: 130px; }
  @media (max-width: 640px) { footer { padding-bottom: 110px; } }

  /* ---------- 逆算視聴ガイド ---------- */
  .want-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
  .want-card {
    background: #fff; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
    padding: 14px 16px; text-decoration: none; color: var(--ink);
    display: flex; flex-direction: column; gap: 6px; transition: transform 0.15s, box-shadow 0.15s;
  }
  .want-card:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
  .want-card.hide { display: none; }
  .want-card h3 { font-size: 0.95rem; font-weight: 900; line-height: 1.5; }
  .want-card-catch { font-size: 0.78rem; color: #4a4238; flex: 1; }
  .want-card-times { font-size: 0.72rem; font-weight: 900; color: var(--magenta); border-top: 2px dashed var(--paper-dark); padding-top: 6px; }
  .want-catch { font-size: 0.88rem; font-weight: 900; color: var(--magenta); margin-top: 10px; }
  .course-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
  .course-tab { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.4; }
  .course-tab span { font-size: 0.68rem; font-weight: 700; opacity: 0.8; }
  .course-pane { background: #fff; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 18px 20px; }
  .course-meta { font-size: 0.85rem; margin-bottom: 14px; }
  .course-time {
    display: inline-block; background: var(--ink); color: var(--yellow);
    font-weight: 900; font-size: 0.75rem; padding: 2px 10px; margin-right: 10px;
  }
  .want-list { list-style: none; counter-reset: wl; margin: 0; }
  .want-item {
    counter-increment: wl; position: relative; padding: 10px 0 10px 42px;
    border-bottom: 2px dashed var(--paper-dark);
  }
  .want-item::before {
    content: counter(wl); position: absolute; left: 0; top: 10px;
    width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink);
    background: var(--paper); font-family: var(--font-en); font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
  }
  .want-item.done::before { content: '✓'; background: var(--cyan); color: #fff; font-family: var(--font-body); font-weight: 900; }
  .want-item.done .want-title a, .want-item.done .want-nolink { text-decoration: line-through; opacity: 0.55; }
  .want-item.v-skip { opacity: 0.55; }
  .want-title { font-size: 0.9rem; font-weight: 700; }
  .want-title a { color: var(--ink); }
  .want-why { font-size: 0.78rem; color: #4a4238; margin-top: 2px; }
  .want-nolink { color: #6b5f52; }
  .verdict { display: inline-block; font-size: 0.68rem; font-weight: 900; border: 1px solid var(--ink); padding: 0 8px; margin-left: 8px; }
  .verdict.recommend { background: var(--yellow); }
  .verdict.optional { background: #fff; color: #6b5f52; }
  .verdict.skip { background: var(--paper-dark); color: #5a5245; }
  .want-remain { display: none; margin-top: 14px; font-size: 0.82rem; font-weight: 900; color: var(--cyan); }
  .want-remain.show { display: block; }
  .want-none { font-size: 1.05rem; font-weight: 900; color: var(--magenta); padding: 10px 0; }
  .want-none span { display: block; font-size: 0.82rem; font-weight: 700; color: #4a4238; margin-top: 4px; }

  /* ---------- ゲーム図鑑 ---------- */
  .game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
  .game-card { background: #fff; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
  .game-card h3 { font-size: 1rem; font-weight: 900; line-height: 1.5; }
  .game-card h3 small { display: block; font-family: var(--font-en); font-size: 0.75rem; letter-spacing: 1px; color: var(--cyan); font-weight: 400; }
  .game-meta { font-size: 0.75rem; font-weight: 900; color: var(--magenta); }
  .game-platform { font-size: 0.72rem; color: #6b5f52; font-weight: 700; }
  .game-desc { font-size: 0.8rem; color: #4a4238; flex: 1; }
  .game-link { display: block; margin-top: 6px; padding-top: 8px; border-top: 2px dashed var(--paper-dark); font-weight: 900; font-size: 0.8rem; color: var(--magenta); }
  .game-asof { font-size: 0.8rem; font-weight: 700; background: #fff; border: 2px dashed var(--ink); padding: 8px 14px; margin-bottom: 14px; }
  .game-asof a { color: var(--magenta); text-decoration: underline; }
  .game-chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
  .gchar { background: #fff; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 12px 14px; }
  .gchar.hide { display: none; }
  .gchar-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
  .gchar-head h3 { font-size: 0.92rem; font-weight: 900; flex: 1; min-width: 60%; }
  .gchar-head h3 small { display: block; font-size: 0.68rem; color: #6b5f52; font-weight: 700; }
  .gtier, .grole, .gteam { font-size: 0.66rem; font-weight: 900; border: 1px solid var(--ink); padding: 1px 7px; }
  .gtier.playable { background: var(--yellow); }
  .gtier.main { background: #fff; }
  .gtier.sub { background: var(--paper-dark); color: #5a5245; }
  .grole.vanguard { background: var(--cyan); color: #fff; }
  .grole.fighter { background: var(--magenta); color: #fff; }
  .grole.strategist { background: #1a7f37; color: #fff; }
  .grole.all { background: var(--ink); color: var(--yellow); }
  .gteam { background: var(--paper); }
  .gchar-note { font-size: 0.78rem; color: #4a4238; margin-bottom: 6px; }
  .gchar-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-top: 2px dashed var(--paper-dark); padding-top: 6px; }
  .gsince { font-size: 0.68rem; font-weight: 900; background: var(--paper); border: 1px solid var(--paper-dark); padding: 1px 7px; }
  .gchar-link { font-size: 0.75rem; font-weight: 900; color: var(--magenta); text-decoration: underline; }
  .gchar-none { font-size: 0.72rem; color: #6b5f52; font-weight: 700; }

  /* ---------- ロードマップ: 発表済みキャスト ---------- */
  .future-cast { margin-top: 10px; border-top: 2px dashed var(--paper-dark); padding-top: 8px; }
  .future-cast-head { font-size: 0.72rem; font-weight: 900; color: var(--cyan); margin-bottom: 4px; }
  .future-cast ul { list-style: none; margin: 0; }
  .future-cast li { font-size: 0.75rem; padding: 2px 0; }
  .future-cast a { color: var(--magenta); font-weight: 700; text-decoration: underline; }
  .future-cast-note { font-size: 0.68rem; color: #6b5f52; margin-top: 6px; }

  /* ---------- 劇場イベント ---------- */
  .event-banner {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
    background: var(--ink); color: var(--paper); text-decoration: none;
    border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--magenta);
    padding: 12px 18px; margin: 0 0 28px; font-size: 0.9rem; transition: transform 0.15s;
  }
  .event-banner:hover { transform: translate(-2px,-2px); }
  .event-banner[hidden] { display: none !important; }
  .event-tag { font-size: 0.68rem; font-weight: 900; background: var(--magenta); color: #fff; padding: 2px 8px; border: 1px solid var(--ink); }
  .event-status { font-size: 0.75rem; font-weight: 900; padding: 2px 10px; border: 2px solid currentColor; margin-left: auto; }
  .ev-soon .event-status { color: var(--yellow); }
  .ev-live .event-status { color: #6ee7a0; }
  .ev-ended .event-status { color: #9a9a9a; }
  .event-card { background: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--magenta); padding: 18px 20px; margin-bottom: 28px; }
  .event-card.ev-ended { box-shadow: 6px 6px 0 var(--paper-dark); opacity: 0.8; }
  .event-card.ev-ended .event-status { color: #6b5f52; }
  .event-card.ev-live .event-status { color: #1a7f37; }
  .event-card.ev-soon .event-status { color: var(--magenta); }
  .event-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
  .event-card-head .event-status { margin-left: 0; }
  .event-card h3 { font-size: 1.15rem; font-weight: 900; }
  .event-dates { font-size: 0.8rem; font-weight: 900; color: var(--magenta); margin: 4px 0 10px; }
  .event-summary { font-size: 0.88rem; margin-bottom: 12px; }
  .event-versions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
  @media (max-width: 640px) { .event-versions { grid-template-columns: 1fr; } }
  .event-ver { border: 2px solid var(--ink); padding: 8px 12px; background: var(--paper); }
  .event-ver b { display: block; font-size: 0.85rem; }
  .event-ver span { font-size: 0.72rem; font-weight: 900; color: var(--cyan); }
  .event-ver p { font-size: 0.75rem; color: #4a4238; margin-top: 4px; }
  .event-detail { border: 2px dashed var(--ink); padding: 8px 12px; margin-bottom: 12px; font-size: 0.82rem; }
  .event-detail summary { cursor: pointer; font-weight: 900; }
  .event-detail ul { margin: 6px 0 6px 1.4em; }
  .event-bonus { font-size: 0.82rem; font-weight: 700; background: #fff7dc; border-left: 4px solid var(--yellow); padding: 6px 10px; margin-bottom: 12px; }
  .event-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }

  /* ---------- 本文増強(逆算ガイド・作品ページ) ---------- */
  .want-target { background: #fff; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 14px 18px; margin-bottom: 16px; font-size: 0.88rem; }
  .want-target-head { font-size: 0.72rem; font-weight: 900; color: var(--cyan); letter-spacing: 1px; margin-bottom: 6px; }
  .want-target-desc { font-weight: 900; margin-bottom: 4px; }
  .want-target-conn { margin-top: 8px; font-size: 0.82rem; }
  .want-target-meta { margin-top: 6px; font-size: 0.75rem; color: #6b5f52; font-weight: 700; }
  .course-guide-note { font-size: 0.82rem; color: #4a4238; border-left: 4px solid var(--yellow); padding: 6px 12px; margin-bottom: 16px; }
  .want-desc { font-size: 0.78rem; color: #4a4238; margin-top: 2px; }
  .enc-facts-wide { grid-column: 1 / -1; }
  .nav-desc { display: block; font-size: 0.72rem; color: #6b5f52; font-weight: 400; }
  .guide-lead { font-size: 0.85rem; margin: 6px 0; }
  .guide-times { font-size: 0.78rem; font-weight: 700; color: #4a4238; margin-bottom: 10px; }
