  .article-page {
    padding: calc(var(--header-h) + clamp(48px, 7vh, 80px)) var(--pad-x) clamp(64px, 9vh, 112px);
    max-width: 820px;
    margin: 0 auto;
    background: var(--bg);
  }
  .article-sidebar { display: none; }
  @media (min-width: 1024px) {
    .article-page {
      max-width: 1320px;
      padding-left: 40px;
      padding-right: 40px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 320px;
      gap: 64px;
      /* No align-items:start here on purpose — the sidebar column must
         stretch to match .article-main's full height (the grid default)
         so .sidebar-toc has room to stay position:sticky for the whole
         article, not just for as many pixels as the sidebar's own
         (much shorter) content naturally takes up. */
    }
    .article-sidebar { display: flex; flex-direction: column; gap: 40px; }
  }

  .sidebar-block-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 18px;
  }
  .sidebar-category-list { display: flex; flex-direction: column; }
  .sidebar-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 2px;
    border-top: 1px solid var(--border);
    font-family: var(--font-jp);
    font-size: 16px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color .15s;
  }
  .sidebar-category-list a:first-child { border-top: none; }
  .sidebar-category-list a:hover { color: var(--accent-deep); }
  .sidebar-category-list a .arrow {
    color: var(--muted-soft);
    font-size: 14px;
    transition: transform .15s, color .15s;
  }
  .sidebar-category-list a:hover .arrow { transform: translateX(3px); color: var(--accent-deep); }

  .sidebar-latest-list { display: flex; flex-direction: column; gap: 20px; }
  .sidebar-latest-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-decoration: none;
    color: var(--fg);
  }
  .sidebar-latest-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--muted);
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
  }
  .sidebar-latest-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
  }
  .sidebar-latest-title {
    font-family: var(--font-jp);
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .sidebar-latest-item:hover .sidebar-latest-title { color: var(--accent-deep); }
  .sidebar-latest-date {
    font-family: var(--font-en);
    font-size: 12px;
    color: var(--muted-soft);
  }

  .sidebar-banner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #26272C;
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    text-decoration: none;
  }
  .sidebar-banner-eyebrow {
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    color: rgba(255,255,255,.68);
  }
  .sidebar-banner-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.55;
  }
  .sidebar-banner-arrow { color: #fff; font-size: 14px; margin-top: 6px; transition: transform .15s; }
  .sidebar-banner:hover .sidebar-banner-arrow { transform: translateX(4px); }

  .sidebar-toc {
    position: sticky;
    top: calc(var(--header-h) + var(--space-tight));
    display: none;
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 20px;
  }
  .sidebar-toc.has-items { display: block; }
  .sidebar-toc .sidebar-block-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--muted);
  }
  .sidebar-toc .sidebar-block-title::before {
    content: "INDEX";
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--muted);
  }
  .sidebar-toc-list { display: flex; flex-direction: column; gap: 2px; }
  .sidebar-toc-list .toc-item {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    text-decoration: none;
    padding: 8px 10px;
    margin: 0 -10px;
    border-radius: var(--radius);
    transition: background .15s, color .15s;
  }
  .sidebar-toc-list .toc-item:hover { background: var(--card); color: var(--accent-deep); }

  .article-header {
    margin-bottom: clamp(28px, 4vh, 40px);
  }
  .article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .article-meta-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .article-meta-right {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .article-author-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  .article-author-trigger:hover .article-author-name { color: var(--accent-deep); }
  .article-author-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }
  .article-author-name {
    font-family: var(--font-jp);
    font-size: 12px;
    font-weight: 700;
    color: var(--fg);
    white-space: nowrap;
  }
  .article-category {
    background: var(--accent-soft);
    color: var(--accent-deep);
    padding: 4px 12px;
    border-radius: 999px;
    font-family: var(--font-jp);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
  }
  .article-category.is-waseda { background: var(--crimson); color: #fff; }
  .article-category.is-keio { background: var(--navy); color: #fff; }
  .article-category.is-sougou,
  .article-category.is-ippan {
    background: #f1f0ec;
    color: #393834;
    border: 0;
    border-radius: 8px;
    padding: 6px 11px;
    font-size: 12px;
    line-height: 1.2;
  }
  .article-date {
    font-family: var(--font-en);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0;
  }
  .article-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: 0;
    color: var(--fg);
  }

  .article-eyecatch {
    margin-bottom: clamp(28px, 4vh, 40px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1200 / 630;
    background: var(--bg-soft);
  }
  .article-eyecatch img {
    width: 100%; height: 100%; object-fit: contain; display: block;
  }

  /* Body content from microCMS rich editor */
  .article-body {
    font-family: var(--font-jp);
    color: var(--muted);
    /* Keep mobile reading comfortable; desktop steps up to 17px below. */
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
  }
  @media (min-width: 640px) {
    .article-body { font-size: 17px; }
  }
  .article-body > * + * { margin-top: 1.2em; }
  .article-body h1,
  .article-body h2,
  .article-body h3,
  .article-body h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: 0;
    margin-top: 4em;
    margin-bottom: .8em;
  }
  .article-body h2 {
    font-size: clamp(21px, 2.2vw, 24px);
    color: #fff;
    background: #26272C;
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-top: 6em;
    margin-bottom: 1.4em;
    /* TOC links (both the in-flow block and the mobile floating button's
       sheet) jump straight to these — without this the fixed header
       covers the top of the heading on landing. 58px header + a
       generous 42px gap: this heading has its own dark background box
       (not just text), so a flush 16px gap still read as touching the
       header. */
    scroll-margin-top: 100px;
  }
  .article-body h3 {
    font-size: clamp(18px, 2vw, 21px);
    color: var(--fg);
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-strong);
    margin-top: 3.5em;
  }
  .article-body h4 {
    font-size: clamp(16px, 1.7vw, 18px);
    color: var(--fg);
    font-weight: 600;
    padding-left: 12px;
    border-left: 2px solid var(--border-strong);
    margin-top: 2.6em;
  }
  .article-body p { font-weight: 400 !important; line-height: 2; }
  /* microCMS's strikethrough toolbar is normalized to semantic <mark> by
     sanitizeHtml(); authors use it as the single inline highlight level. */
  .article-body mark {
    text-decoration: none;
    background-color: transparent;
    background-image: linear-gradient(transparent 48%, #F0DFB5 48%);
  }
  .article-body a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
  .article-body a:hover { text-decoration-thickness: 2px; }
  .article-body a.article-link-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-soft);
    color: var(--fg);
    text-decoration: none;
    font-size: 14px;
    word-break: break-all;
    transition: border-color .15s, box-shadow .15s, transform .15s;
  }
  .article-body a.article-link-card::before {
    content: "🔗";
    flex-shrink: 0;
    font-size: 16px;
  }
  .article-body a.article-link-card:hover {
    border-color: var(--accent-tint);
    background: var(--accent-soft);
  }
  /* Rich OGP card (note.com style) — swapped in once /api/ogp resolves */
  .article-body a.article-link-card.is-rich {
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: var(--card);
    overflow: hidden;
    min-height: 128px;
  }
  .article-body a.article-link-card.is-rich::before { display: none; }
  .article-body a.article-link-card.is-rich:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
  }
  .link-card-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
  }
  .link-card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    color: var(--fg);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .link-card-desc {
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .link-card-domain {
    margin-top: auto;
    padding-top: 6px;
    font-size: 12px;
    color: var(--muted-soft);
  }
  .link-card-thumb {
    flex-shrink: 0;
    width: 34%;
    max-width: 220px;
    background: var(--bg-soft);
    position: relative;
  }
  /* Specificity bumped to beat .article-body img below (same specificity,
     later in source — its height:auto/margin-block/border-radius were
     silently winning over this rule and leaving the thumbnail short of
     its box on one side, the actual cause of the "inconsistent thumbnail
     size" report). */
  .article-body .link-card-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
    display: block;
  }
  @media (max-width: 480px) {
    .link-card-thumb { width: 30%; }
    .link-card-text { padding: 14px 16px; }
    .link-card-title { font-size: 14px; }
    .link-card-desc { display: none; }
  }
  .article-body strong { font-weight: 700; }
  /* microCMS may wrap heading text in <strong>. Keep heading hierarchy at
     600; strong remains 700 for emphasis in paragraphs and other body copy. */
  .article-body h1 strong,
  .article-body h2 strong,
  .article-body h3 strong,
  .article-body h4 strong { font-weight: inherit; }
  .article-body em { font-style: italic; }
  .article-body ul,
  .article-body ol { padding-left: 1.5em; }
  .article-body li { margin-top: .35em; }
  /* microCMS wraps inserted images in a native <figure>, whose browser
     default 40px side margins otherwise make mobile images look narrow. */
  .article-body figure {
    width: 100%;
    margin: 2.2em 0;
  }
  .article-body img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    margin-block: 2.2em;
  }
  /* Default: emphasis/summary callout (not a literal quote from a source) */
  .article-body blockquote {
    width: 100%;
    box-sizing: border-box;
    background: var(--bg-quote);
    border: 0;
    border-radius: var(--radius);
    padding: 18px 20px;
    color: var(--muted);
    font-style: normal;
    margin: 2.2em 0;
  }
  /* The "（出典：...）" line within any quote is set off like a caption. */
  .article-body blockquote .blockquote-source {
    text-align: right;
    font-size: 0.85em;
    color: var(--muted-soft);
  }
  .article-body blockquote > :first-child { margin-top: 0; }
  .article-body blockquote > :last-child { margin-bottom: 0; }
  .article-body code {
    background: var(--bg-soft);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-en);
    font-size: 14px;
  }
  .article-body pre {
    background: var(--bg-soft);
    padding: 16px 18px;
    border-radius: var(--radius);
    overflow-x: auto;
    line-height: 1.6;
  }
  .article-body pre code {
    background: none;
    padding: 0;
  }
  .article-table-wrap {
    overflow: hidden;
    margin-block: 2.4em;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
  }
  .article-body table {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .article-body th,
  .article-body td {
    border: 0;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
  }
  .article-body th {
    background: var(--bg-soft);
    font-weight: 700;
    color: var(--fg);
    border-bottom-color: var(--border-strong);
  }
  /* Use each cell's right edge rather than `td + td`: with rowspan, the
     following row's first DOM cell is not the first visual column. */
  .article-body tr > :last-child { border-right: 0; }
  .article-body tr:last-child td { border-bottom: 0; }
  @media (max-width: 600px) {
    .article-body table { font-size: 14px; }
    .article-body th,
    .article-body td { padding: 6px 8px; }
  }

  /* INDEX / 目次 — auto-generated from the article's own h2 headings */
  .article-toc {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3.4vw, 32px) clamp(24px, 3.4vw, 34px);
    margin-top: 4em;
    margin-bottom: 4em;
  }
  .article-toc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    text-align: left;
    appearance: none;
    cursor: pointer;
  }
  .article-toc-head:focus-visible {
    outline: 2px solid var(--accent-deep);
    outline-offset: 4px;
  }
  .article-toc-label { display: flex; align-items: baseline; gap: 10px; }
  .article-toc-en {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(24px, 3vw, 28px);
    letter-spacing: 0;
    color: var(--fg);
  }
  .article-toc-jp {
    font-family: var(--font-jp);
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
  }
  .article-toc-chevron {
    width: 16px; height: 16px;
    color: var(--fg);
    flex-shrink: 0;
    transition: transform .2s;
  }
  .article-toc.is-collapsed .article-toc-chevron { transform: rotate(-90deg); }
  .article-toc-list {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
  }
  .article-toc.is-collapsed .article-toc-list { display: none; }
  .article-toc-list .toc-item {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--muted);
    text-decoration: none;
    margin-top: 16px;
  }
  .article-toc-list .toc-level-3 {
    padding-left: 20px;
    font-size: 14px;
    font-weight: 500;
  }
  .article-toc-list .toc-item:first-child { margin-top: 0; }
  .article-toc-list .toc-item:hover { color: var(--accent-deep); }

  /* The desktop sidebar is a compact adaptation of the same TOC component. */
  .sidebar-toc .article-toc-head { margin: 0; }
  .sidebar-toc .article-toc-en { font-size: 16px; }
  .sidebar-toc .article-toc-jp { font-size: 12px; }
  .sidebar-toc .article-toc-list { margin-top: 14px; gap: 2px; }
  .sidebar-toc .article-toc-list .toc-item {
    font-size: 14px;
    line-height: 1.5;
    padding: 8px 10px;
    margin: 0 -10px;
    border-radius: var(--radius);
  }
  .sidebar-toc.is-collapsed .article-toc-list { display: none; }

  /* Floating "目次" button — mobile only. Hidden until the reader
     scrolls past the in-flow TOC above (see insertTocFab), so short
     articles that never scroll that far never show it. */
  .toc-fab {
    display: none;
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--fg);
    border: 1px solid var(--border);
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.16);
    z-index: 45;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .2s, transform .2s;
    pointer-events: none;
  }
  .toc-fab svg { width: 20px; height: 20px; }
  .toc-fab.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  @media (max-width: 760px) {
    .toc-fab { display: flex; }
  }
  .toc-sheet {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 56;
    background: rgba(10, 10, 12, .5);
    align-items: flex-end;
    justify-content: center;
  }
  .toc-sheet.is-open { display: flex; }
  .toc-sheet-card {
    width: 100%;
    max-width: 560px;
    max-height: 70vh;
    overflow-y: auto;
    background: var(--card);
    border-radius: 20px 20px 0 0;
    padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
  }
  .toc-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }
  .toc-sheet-label {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--fg);
  }
  .toc-sheet-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--fg);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .toc-sheet-list { display: flex; flex-direction: column; }
  .toc-sheet-list .toc-item {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--muted);
    text-decoration: none;
    padding: 12px;
    margin: 0 -12px;
    border-radius: var(--radius);
  }
  .toc-sheet-list .toc-item + .toc-item { margin-top: 2px; }
  .toc-sheet-list .toc-item.is-current { background: var(--bg-soft); }

  /* WRITER / ライター紹介 — fixed byline appended after every article */
  .article-writer {
    margin-top: clamp(48px, 6vh, 64px);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 3.4vw, 34px);
  }
  .article-writer-label { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; }
  .article-writer-en {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0;
    color: var(--fg);
  }
  .article-writer-body { display: flex; gap: 22px; align-items: flex-start; }
  .article-writer-avatar {
    width: 84px; height: 84px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }
  .article-writer-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--fg);
  }
  .article-writer-name-en {
    font-family: var(--font-en);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0;
    color: var(--muted-soft);
    margin-left: 4px;
  }
  .article-writer-role {
    font-family: var(--font-jp);
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
    margin-top: 6px;
    margin-bottom: 14px;
  }
  .article-writer-bio {
    font-family: var(--font-jp);
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
  }

  /* Profile popup — same content as the WRITER card, triggered by
     clicking the small byline in the article header (used when
     screen-recording so the presenter's profile can be shown without
     navigating away). */
  .article-profile-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 10, 12, .55);
    padding: 20px;
    align-items: center;
    justify-content: center;
  }
  .article-profile-modal.is-open { display: flex; }
  .article-profile-modal-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 3.4vw, 34px);
  }
  .article-profile-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--fg);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
  }
  @media (max-width: 560px) {
    .article-writer-body { flex-direction: column; align-items: center; text-align: center; }
  }

  .article-error {
    padding: 80px 20px;
    text-align: center;
    color: var(--muted);
    font-family: var(--font-jp);
  }

  /* Skeleton shown while /api/blog is loading — mirrors the real header/
     eyecatch/body shape so the swap to real content doesn't jump. */
  .article-skeleton-line,
  .article-skeleton-eyecatch {
    background: linear-gradient(90deg, var(--bg-soft) 25%, #EFEFF1 37%, var(--bg-soft) 63%);
    background-size: 400% 100%;
    animation: article-skeleton-pulse 1.4s ease infinite;
    border-radius: 6px;
  }
  .article-skeleton-line { height: 13px; }
  .article-skeleton-line + .article-skeleton-line { margin-top: 14px; }
  .article-skeleton-meta { display: flex; gap: 12px; margin-bottom: 20px; }
  .article-skeleton-meta .article-skeleton-line { width: 90px; height: 24px; border-radius: 999px; }
  .article-skeleton-title.article-skeleton-line { height: 30px; width: 92%; }
  .article-skeleton-title.article-skeleton-line + .article-skeleton-line { height: 30px; width: 60%; margin-top: 10px; }
  .article-skeleton-eyecatch {
    margin-top: clamp(28px, 4vh, 40px);
    border-radius: var(--radius-lg);
    aspect-ratio: 1200 / 630;
  }
  .article-skeleton-body { margin-top: clamp(28px, 4vh, 40px); }
  .article-skeleton-body .article-skeleton-line { width: 100%; }
  .article-skeleton-body .article-skeleton-line:nth-child(3n+1) { width: 85%; }
  @keyframes article-skeleton-pulse {
    0% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  .article-error strong {
    display: block;
    color: var(--fg);
    font-size: 17px;
    margin-bottom: 12px;
  }

  .article-error-detail {
    color: var(--muted-soft);
  }

  .article-draft-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 12px 20px;
    background: #FFF4D6;
    border: 1px solid #E8C560;
    border-radius: 8px;
    color: #6B5410;
    font-family: var(--font-jp);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
  }

  .article-cta {
    margin-top: clamp(48px, 7vh, 72px);
    padding-top: clamp(28px, 4vh, 40px);
    border-top: 1px solid var(--border);
    text-align: center;
  }
  .article-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--fg);
    font-family: var(--font-jp);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s;
  }
  .article-cta a:hover {
    background: var(--accent-soft);
    color: var(--accent-deep);
  }

  .article-related-courses,
  .article-related {
    margin-top: clamp(40px, 6vh, 56px);
    padding-top: clamp(24px, 3.5vh, 32px);
    border-top: 1px solid var(--border);
  }
  .article-section-heading {
    font-family: var(--font-jp);
    font-size: 17px;
    font-weight: 700;
    color: var(--fg);
    margin: 0 0 16px;
  }
  .related-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
  }
  .related-course-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    transition: border-color .2s, background .2s;
  }
  .related-course-card:hover {
    border-color: var(--border-strong);
    background: var(--bg-soft);
  }
  .related-course-uni {
    align-self: flex-start;
    background: var(--accent-soft);
    color: var(--accent-deep);
    padding: 3px 10px;
    border-radius: 999px;
    font-family: var(--font-jp);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
  }
  .related-course-uni.is-waseda { background: var(--crimson); color: #fff; }
  .related-course-uni.is-keio { background: var(--navy); color: #fff; }
  .related-course-name {
    font-family: var(--font-jp);
    font-size: 14px;
    font-weight: 600;
    color: var(--fg);
    line-height: 1.5;
  }
