/* Extracted legacy public page styles from penguin_news/list.php. */
:root {
      --news-accent: #0f5d92;
      --news-accent-strong: #0b4269;
      --news-canvas: #fbfbfa;
      --news-surface: #fbfbfa;
      --news-border: #cfd5da;
      --news-heading: #17212b;
      --news-text: #394550;
      --news-muted: #737d86;
    }
    html[data-theme="dark"] {
      --news-accent: #78b9eb;
      --news-accent-strong: #a8d6f7;
      --news-canvas: #0f141b;
      --news-surface: #0f141b;
      --news-border: #303b48;
      --news-heading: #f4f7fb;
      --news-text: #dbe4ee;
      --news-muted: #a9b5c2;
    }
    * { box-sizing: border-box; }
    html { background: var(--news-canvas); }
    body {
      width: 100%;
      min-height: 100vh;
      margin: 0;
      display: flex;
      flex-direction: column;
      background: var(--news-canvas);
      color: var(--news-text);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
      -webkit-font-smoothing: antialiased;
    }
    a, button { -webkit-tap-highlight-color: transparent; }
html[data-theme="dark"] .nav a,
    html[data-theme="dark"] .tag,
    html[data-theme="dark"] .news-excerpt,
    html[data-theme="dark"] .detail-hint,
    html[data-theme="dark"] .site-links a { color: #aebdcb; }
    html[data-theme="dark"] .page-stats,
    html[data-theme="dark"] .news-feed,
    html[data-theme="dark"] .news-card { border-color: #303b48; }
    .site-header {
      width: 100%;
      max-width: 1180px;
      min-height: 66px;
      margin: 0 auto;
      padding: 10px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--news-heading);
      text-decoration: none;
      font-size: 1.28rem;
      font-weight: 750;
      letter-spacing: -.02em;
    }
    .brand img {
      width: 42px;
      height: 42px;
      border-radius: 7px;
      object-fit: cover;
    }
    .nav {
      display: flex;
      align-items: center;
      gap: 22px;
      flex-wrap: nowrap;
    }
    .nav a {
      padding: 6px 0;
      color: #52687d;
      border-bottom: 1px solid transparent;
      text-decoration: none;
      font-size: .9rem;
      font-weight: 600;
      white-space: nowrap;
    }
    .nav a:hover,
    .nav a:focus-visible,
    .nav a[aria-current="page"] {
      color: var(--news-heading);
      border-bottom-color: var(--news-heading);
    }
    .page {
      width: 100%;
      max-width: 1080px;
      margin: 0 auto;
      padding: 0 24px 72px;
    }
    .qn-site-footer {
      width: 100%;
      margin-top: auto;
      padding: 20px 24px;
      color: #666;
      background: transparent;
      text-align: center;
    }
    .qn-site-footer .footer-links {
      line-height: 1.9;
      text-align: center;
    }
    .qn-site-footer .footer-content { text-align: center; }
    .page-title {
      margin: 0;
      padding: 38px 0 18px;
    }
    .page-title-copy { min-width: 0; }
    .page-title h1 {
      margin: 0 0 10px;
      color: var(--news-heading);
      font-family: "Songti SC", "Noto Serif CJK SC", "STSong", serif;
      font-size: clamp(2.4rem, 5vw, 3.55rem);
      font-weight: 800;
      line-height: 1;
      letter-spacing: -.035em;
    }
    .page-intro {
      max-width: 640px;
      margin: 0;
      color: var(--news-muted);
      font-size: .96rem;
      line-height: 1.65;
    }
    .page-stats {
      margin-top: 16px;
      padding-top: 10px;
      display: flex;
      justify-content: space-between;
      color: var(--news-muted);
      border-top: 1px solid #e1e4e6;
      font-size: .75rem;
      font-weight: 550;
      line-height: 1.5;
      text-align: left;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }
    .content-grid {
      display: block;
    }
    .news-main,
    .news-feed { min-width: 0; }
    .news-feed {
      border-top: 1px solid #aeb5bb;
    }
    .news-card {
      position: relative;
      display: block;
      margin: 0;
      padding: 29px 0 25px;
      color: inherit;
      border-bottom: 1px solid #e3e6e8;
    }
    .news-card > a {
      display: grid;
      grid-template-columns: 108px minmax(0, 1fr);
      column-gap: 26px;
      outline: none;
    }
    .news-card > a:focus-visible {
      outline: 2px solid rgba(15, 93, 146, .35);
      outline-offset: 8px;
    }
    .news-meta {
      display: flex;
      grid-column: 1;
      grid-row: 1 / 3;
      align-items: flex-start;
      flex-direction: column;
      gap: 6px;
      margin: 4px 0 0;
      color: #899198;
      font-size: .72rem;
      line-height: 1.4;
    }
    .news-meta time {
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }
    .news-meta time::before {
      content: none;
    }
    .tag {
      display: inline-flex;
      align-items: center;
      padding: 0;
      color: #506777;
      background: transparent;
      font-size: .73rem;
      font-weight: 700;
      line-height: 1.35;
    }
    .news-title {
      grid-column: 2;
      margin: 0 0 10px;
      color: var(--news-heading);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
      font-size: clamp(1.32rem, 2.05vw, 1.68rem);
      font-weight: 700;
      line-height: 1.36;
      letter-spacing: -.025em;
      text-wrap: pretty;
    }
    .news-title--brief {
      font-size: 1.08rem;
      font-weight: 600;
      letter-spacing: -.01em;
    }
    .news-card:hover .news-title { color: var(--news-accent-strong); }
    .news-body {
      grid-column: 2;
      display: flex;
      align-items: flex-start;
      gap: 28px;
    }
    .news-excerpt {
      flex: 1;
      min-width: 0;
      margin: 0;
      color: #68727a;
      font-size: .93rem;
      line-height: 1.72;
      white-space: pre-wrap;
      overflow-wrap: anywhere;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .thumb {
      width: 220px;
      height: 142px;
      flex: 0 0 auto;
      object-fit: cover;
      background: #edf2f6;
      border-radius: 2px;
    }
    .actions {
      margin: 14px 0 0 134px;
      padding: 0;
      border: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      color: #7d878f;
      font-size: .79rem;
    }
    .action-group {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .action-btn {
      min-height: 30px;
      padding: 4px 6px 4px 0;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--news-muted);
      background: transparent;
      border: 0;
      border-radius: 0;
      cursor: pointer;
      font: inherit;
      font-size: .82rem;
      font-variant-numeric: tabular-nums;
    }
    .action-btn:hover,
    .action-btn:focus-visible {
      color: var(--news-accent-strong);
      background: transparent;
      outline: none;
    }
    .action-btn:active { transform: translateY(1px); }
    .liked,
    .liked:hover,
    .liked:focus-visible {
      color: #b43a5d;
      background: transparent;
    }
    .detail-hint {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 34px;
      padding: 5px 0;
      color: #536a7a;
      border-radius: 0;
      text-decoration: none;
      border-bottom: 0;
      font-size: .78rem;
      font-weight: 650;
      white-space: nowrap;
    }
    .detail-hint:hover,
    .detail-hint:focus-visible {
      color: var(--news-accent-strong);
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 5px;
      background: transparent;
      outline: none;
    }
    .detail-hint i {
      font-size: .72rem;
      transition: transform 140ms ease-out;
    }
    .detail-hint:hover i,
    .detail-hint:focus-visible i { transform: translateX(2px); }
    .empty {
      padding: 58px 24px;
      text-align: center;
      color: var(--news-muted);
      border-top: 2px solid var(--news-heading);
      border-bottom: 1px solid var(--news-border);
    }
    .empty i {
      display: block;
      margin-bottom: 13px;
      color: var(--news-accent);
      font-size: 1.35rem;
    }
    .pagination {
      margin-top: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      flex-wrap: wrap;
    }
    .pagination a,
    .pagination span {
      min-width: 34px;
      height: 38px;
      padding: 0 8px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--news-muted);
      background: transparent;
      border: 0;
      border-bottom: 1px solid transparent;
      border-radius: 0;
      text-decoration: none;
      font-size: .88rem;
      font-weight: 600;
      font-variant-numeric: tabular-nums;
    }
    .pagination a:hover,
    .pagination a:focus-visible {
      color: var(--news-heading);
      border-bottom-color: var(--news-heading);
      background: transparent;
      outline: none;
    }
    .pagination .active {
      color: var(--news-heading);
      background: transparent;
      border-bottom: 2px solid var(--news-heading);
    }
    .site-links {
      margin-top: 64px;
      padding: 24px 0 0;
      display: flex;
      align-items: center;
      gap: 22px;
      background: transparent;
      border-top: 2px solid var(--news-heading);
    }
    .site-links h2 {
      margin: 0 auto 0 0;
      color: var(--news-heading);
      font-family: "Songti SC", "Noto Serif CJK SC", "STSong", serif;
      font-size: 1.2rem;
      font-weight: 750;
    }
    .site-links p {
      display: none;
    }
    .site-links a {
      min-height: 36px;
      padding: 6px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      color: #4b6175;
      background: transparent;
      border-bottom: 1px solid transparent;
      border-radius: 0;
      text-decoration: none;
      font-size: .86rem;
      font-weight: 600;
    }
    .site-links a:hover,
    .site-links a:focus-visible {
      color: var(--news-accent-strong);
      background: transparent;
      border-bottom-color: var(--news-accent-strong);
      outline: none;
    }
    .site-links i { color: #7893aa; }
    ::selection {
      color: var(--news-heading);
      background: #cfe7f7;
    }
    @media (max-width: 900px) {
      .news-card > a { grid-template-columns: 92px minmax(0, 1fr); column-gap: 20px; }
      .actions { margin-left: 112px; }
      .thumb { width: 185px; height: 124px; }
      .site-links { flex-wrap: wrap; }
    }
    @media (max-width: 640px) {
      .site-header { min-height: 62px; padding: 9px 14px; gap: 12px; }
      .brand { font-size: 1.2rem; }
      .brand img { width: 40px; height: 40px; }
      .nav { gap: 2px; overflow-x: auto; scrollbar-width: none; }
      .nav::-webkit-scrollbar { display: none; }
      .nav a { padding: 7px 8px; font-size: .82rem; }
      .page { padding: 0 14px 42px; }
      .page-title {
        padding: 27px 0 15px;
      }
      .page-title h1 { margin-bottom: 9px; font-size: 2.08rem; }
      .page-intro { font-size: .9rem; line-height: 1.6; }
      .page-stats { margin-top: 13px; padding-top: 9px; font-size: .71rem; }
      .news-card { padding: 22px 0 20px; }
      .news-card > a { display: block; }
      .news-meta { margin: 0 0 8px; flex-direction: row; align-items: center; gap: 11px; }
      .news-title { margin-bottom: 9px; font-size: 1.22rem; line-height: 1.42; }
      .news-title--brief { font-size: 1.02rem; line-height: 1.42; }
      .news-body { flex-direction: column-reverse; gap: 12px; }
      .thumb { width: 100%; height: 210px; }
      .news-excerpt { font-size: .89rem; line-height: 1.68; -webkit-line-clamp: 3; }
      .actions { margin: 14px 0 0; align-items: center; gap: 8px; }
      .action-group { gap: 2px; }
      .detail-hint { padding-right: 3px; }
      .site-links { margin-top: 44px; padding-top: 18px; align-items: flex-start; gap: 8px 18px; }
      .site-links h2 { width: 100%; margin-bottom: 4px; }
      .site-links a { font-size: .82rem; }
      .pagination a,
      .pagination span { min-width: 40px; height: 40px; padding: 0 11px; }
      .qn-site-footer { padding: 18px 14px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .action-btn:active { transform: none; }
      .detail-hint i { transition: none; }
    }

