/* Mobile reading rhythm. Content, order, counts and account behavior stay owned
   by the existing application. No dependency or scroll-driven animation. */
.news-title { display: block; }
.news-thumbnail { float: right; width: 144px; height: 96px; margin: 0 0 12px 20px; object-fit: cover; border-radius: 8px; }
.news-content::after { content: ""; display: block; clear: both; }
.article-loading { color: var(--muted); font-size: 14px; line-height: 1.75; }
.article-skeleton { display: grid; gap: 14px; padding-top: 12px; }
.article-skeleton span { display: block; height: 13px; border-radius: 4px; background: #e9eff7; }
.article-skeleton span:last-child { width: 64%; }

@media (max-width: 760px) {
  :root { --paper: #f6f8fc; --page-gutter: 20px; }
  .site-header {
    padding: 0 20px;
    grid-template-rows: 48px 36px;
    background: #fff;
    border-bottom-color: #e4eaf3;
  }
  .brand { font-size: 22px; letter-spacing: -.3px; }
  .brand-mark { width: 28px; height: 28px; }
  .primary-nav { gap: 26px; }
  .primary-nav a { min-height: 36px; }
  .primary-nav a::after { height: 2px; border-radius: 2px; }
  .audience-values { gap: 16px; }
  .audience-values > div,
  .audience-values > div:first-child { min-width: 58px; }
  .audience-values dt { font-size: 10px; line-height: 1.3; }
  .audience-values strong { font-size: 15px; line-height: 1.3; font-weight: 500; color: #586c8b; }
  .content-scroll { scrollbar-gutter: auto; }
  .content-scroll .workspace { width: calc(100% - 40px); margin-inline: auto; }
  .workspace:not(.searching-view) .issue-heading { background: var(--paper); border-color: #dde5f0; }
  .issue-date { color: #65748b; }
  .issue-count { color: #65748b; }
  .news-item,
  .date-group .news-item { padding: 18px 0 10px; border-color: #e0e7f0; }
  .news-item h2,
  .date-group .news-item h2 {
    font: 600 20px/1.5 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    letter-spacing: -.2px;
    color: #182b48;
  }
  .news-title {
    border-radius: 6px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgb(20 88 245 / .09);
  }
  .news-title:active { background: #eaf0fa; }
  .news-title:focus-visible { outline-offset: 5px; }
  .news-summary { margin: 7px 0 0; color: #62718a; font-size: 14px; line-height: 1.75; -webkit-line-clamp: 2; }
  .news-item .engagement { gap: 22px; margin: 7px 0 0; color: #68768b; font-size: 12px; }
  .news-item .metric { min-height: 44px; gap: 6px; }
  .news-item .metric + .metric { padding-left: 0; border-left: 0; }
  .news-item .metric .icon { width: 16px; height: 16px; opacity: .7; }
  .news-item button.metric { min-width: 44px; }
  .news-item button.metric::before { inset: 4px -7px; }
  .news-item.is-lead,
  .date-group .news-item.is-lead {
    margin: 16px 0 2px;
    padding: 18px 16px 9px;
    border: 1px solid #dce5f2;
    border-radius: 12px;
    background: #fff;
  }
  .news-item.is-lead h2,
  .date-group .news-item.is-lead h2 { font: 700 24px/1.45 var(--serif); letter-spacing: 0; color: #14284b; }
  .news-item.is-lead .news-summary { margin-top: 10px; font-size: 15px; -webkit-line-clamp: 3; }
  .news-thumbnail { width: 84px; height: 68px; margin: 3px 0 8px 12px; border-radius: 6px; }
  .is-lead .news-thumbnail { float: none; display: block; width: 100%; height: auto; max-height: 180px; aspect-ratio: 16/9; margin: 0 0 14px; border-radius: 7px; }
  .news-item.is-read:not(.is-returned) h2 { color: #53637b; }
  .news-item:focus-within h2 { color: var(--accent); }
  .searching-view .news-item h2 { font-size: 20px; }
  .archive-view .group-heading,
  .group-heading { color: #586c8b; font-size: 17px; border-color: #dde5f0; }
  .archive-view .calendar-trigger { font-size: 17px; }
  .list-summary { font-size: 13px; }
  .article-open { background: #fff; }
  .article-open .content-scroll { background: #fff; }
  .article-open .site-header { padding-inline: 20px; border-color: #edf0f5; }
  .article-navigation { margin-bottom: 12px; }
  .article-navigation .back-button { min-height: 44px; font-size: 13px; }
  .article-date { color: #738198; font-size: 12px; }
  .article h1 { font-size: 27px; line-height: 1.5; }
  .article-top { margin-bottom: 22px; }
  .article-lead { padding-left: 14px; border-left: 3px solid #a7c1f5; color: #53637b; }
  .article-copy { color: #283b55; }
  .article-copy h2,
  .article-section h2 { margin-top: 30px; margin-bottom: 12px; font-size: 20px; }
  .article-copy .news-factcards,
  .article-copy .news-diagram {
    margin: 26px 0;
    padding: 16px;
    border: 1px solid #dce6f5;
    border-radius: 10px;
    background: #f5f8fe;
  }
  .article-copy .news-factcards figcaption,
  .article-copy .news-diagram figcaption { margin-bottom: 14px; color: #254976; font-size: 16px; font-weight: 600; }
  .article-copy .news-factcards ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
  .article-copy .news-factcards li { margin: 0; padding: 10px 12px; border: 0; border-radius: 6px; background: #fff; font-size: 15px; line-height: 1.7; }
  .article-copy .news-diagram ol { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; counter-reset: reading-step; }
  .article-copy .news-diagram li { margin: 0; padding: 0 0 0 33px; border: 0; background: transparent; font-size: 15px; line-height: 1.75; counter-increment: reading-step; }
  .article-copy .news-diagram li::before { content: counter(reading-step); position: absolute; left: 0; top: 2px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #e1ebfc; color: #285baf; font: 600 12px/1 sans-serif; }
  .article-copy .news-diagram li::after { display: none; }
  .article-copy .news-factcards p,
  .article-copy .news-diagram p { margin: 12px 0 0; color: #65748b; font-size: 12px; line-height: 1.75; }
  .news-table { border: 1px solid #dce6f5; border-radius: 8px; overscroll-behavior-x: contain; }
  .news-table th,
  .news-table td { min-width: 90px; padding: 11px 12px; }
  .news-figure img { border: 1px solid rgb(0 0 0 / .07); border-radius: 8px; }
  .comment-dock { background: #fff; }
}

@media (max-width: 360px) {
  .site-header,
  .article-open .site-header { padding-inline: 16px; }
  .content-scroll .workspace { width: calc(100% - 32px); }
  .audience-values { gap: 10px; }
  .news-item h2,
  .date-group .news-item h2 { font-size: 19px; }
  .news-item.is-lead h2,
  .date-group .news-item.is-lead h2 { font-size: 22px; }
  .article h1 { font-size: 25px; }
}

@media (prefers-reduced-motion: no-preference) {
  .article-skeleton { animation: reading-pulse 1.3s ease-in-out infinite alternate; }
  @keyframes reading-pulse { from { opacity: .45; } to { opacity: 1; } }
  @media (max-width: 760px) {
    .news-title { transition: background-color 120ms ease-out; }
    .news-item.is-returned { animation: reading-return 1.2s ease-out; }
    .search-open .header-actions .search-area { animation: reading-search 160ms ease-out; }
    .account-dialog[open] { animation: reading-search 180ms ease-out; }
    .metric[aria-pressed="true"] .icon { animation: reading-like 180ms ease-out; }
    @keyframes reading-return { from { background-color: #e6efff; } to { background-color: transparent; } }
    @keyframes reading-search { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes reading-like { 50% { transform: scale(1.16); } }
  }
}
