﻿:root {
      --paper: #FAFAF8;
      --ink: #1A1A1A;
      --muted: #6B6B6B;
      --accent: #9B2C2C;
      --rule: #E5E2DB;
      --soft: #F0EBE3;
      --surface: #FFFFFF;
      --shadow: rgba(46, 32, 20, 0.13);
      --noise-opacity: 0.026;
      --content: 680px;
      --site: 980px;
      --anchor-offset: 112px;
      --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
      --serif: Georgia, "Times New Roman", Times, serif;
      color-scheme: light;
    }

    [data-theme="dark"] {
      --paper: #141414;
      --ink: #E0DCD4;
      --muted: #8A8580;
      --accent: #B84444;
      --rule: #2A2825;
      --soft: #211F1C;
      --surface: #1C1B19;
      --shadow: rgba(0, 0, 0, 0.4);
      --noise-opacity: 0.012;
      color-scheme: dark;
    }

    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      background: var(--paper);
      overflow-x: hidden;
    }

    body {
      margin: 0;
      min-height: 100vh;
      overflow-x: hidden;
      background: var(--paper);
      color: var(--ink);
      font-family: var(--serif);
      font-size: 19px;
      line-height: 1.82;
      letter-spacing: 0.01em;
      text-rendering: optimizeLegibility;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: var(--noise-opacity);
      z-index: 0;
      background-image:
        radial-gradient(circle at 20% 30%, var(--ink) 0.55px, transparent 0.6px),
        radial-gradient(circle at 80% 70%, var(--ink) 0.45px, transparent 0.55px);
      background-size: 19px 19px, 23px 23px;
      mix-blend-mode: multiply;
    }

    [data-theme="dark"] body::before { mix-blend-mode: screen; }

    ::selection {
      background: var(--accent);
      color: var(--paper);
    }

    .progress {
      position: fixed;
      top: 0;
      left: 0;
      height: 2px;
      width: 0;
      background: var(--accent);
      z-index: 20;
    }

    .site-shell {
      position: relative;
      z-index: 1;
      animation: fadeIn 0.6s ease both;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .nav {
      position: sticky;
      top: 0;
      z-index: 10;
      display: block;
      padding: 24px max(24px, calc((100vw - 980px) / 2));
      background: color-mix(in srgb, var(--paper) 88%, transparent);
      border-bottom: 1px solid transparent;
      backdrop-filter: blur(10px);
      transition: border-color 0.3s ease, padding 0.3s ease;
    }

    .nav-main {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      min-width: 0;
    }

    .nav.is-scrolled {
      border-bottom-color: var(--rule);
      padding-top: 16px;
      padding-bottom: 16px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      white-space: nowrap;
    }

    .brand-logo {
      display: block;
      width: 206px;
      height: auto;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 22px;
      font-family: var(--sans);
      font-size: 13px;
      letter-spacing: 0;
      min-width: 0;
    }

    .nav-category-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px 18px;
      max-width: var(--site);
      margin: 16px auto 0;
      padding-top: 14px;
      border-top: 1px solid var(--rule);
      font: 13px/1.4 var(--sans);
      letter-spacing: 0;
    }

    .nav-category-row a {
      color: var(--ink);
      text-decoration: none;
      white-space: nowrap;
      background-image: linear-gradient(var(--accent), var(--accent));
      background-repeat: no-repeat;
      background-position: 0 100%;
      background-size: 0 1px;
      transition: color 0.2s ease, background-size 0.2s ease;
    }

    .nav-category-row a:hover,
    .nav-category-row a:focus-visible {
      color: var(--accent);
      background-size: 100% 1px;
    }

    .nav-search-row {
      width: min(100%, 560px);
      margin: 16px auto 0;
    }

    .nav-search-form {
      display: inline-flex;
      align-items: center;
      width: 100%;
      min-width: 0;
      height: 32px;
      border: 1px solid var(--rule);
      border-radius: 4px;
      background: color-mix(in srgb, var(--surface) 84%, transparent);
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .nav-search-form:focus-within {
      border-color: var(--accent);
      box-shadow: none;
    }

    .nav-search-input {
      width: 100%;
      min-width: 0;
      height: 30px;
      border: 0;
      outline: 0;
      padding: 5px 8px 5px 10px;
      color: var(--ink);
      background: transparent;
      font: 13px/1.2 var(--sans);
      letter-spacing: 0;
    }

    .nav-search-input::placeholder { color: var(--muted); }

    .nav-search-submit {
      flex: 0 0 32px;
      width: 32px;
      height: 30px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 0;
      border-left: 1px solid var(--rule);
      padding: 0;
      color: var(--accent);
      background: transparent;
      cursor: pointer;
    }

    .nav-search-submit:hover { color: var(--ink); }

    .nav-search-submit:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: -2px;
    }

    .nav-search-submit svg {
      width: 16px;
      height: 16px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.8;
      stroke-linecap: round;
    }

    .nav-links a,
    .text-link {
      color: var(--ink);
      text-decoration: none;
      background-image: linear-gradient(var(--accent), var(--accent));
      background-repeat: no-repeat;
      background-position: 0 100%;
      background-size: 0 1px;
      transition: color 0.2s ease, background-size 0.2s ease;
    }

    .nav-links a:hover,
    .text-link:hover {
      color: var(--accent);
      background-size: 100% 1px;
    }

    .theme-toggle {
      width: 38px;
      height: 28px;
      border: 1px solid var(--rule);
      border-radius: 999px;
      background: transparent;
      padding: 3px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      transition: border-color 0.2s ease;
    }

    .theme-toggle span {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 1px solid var(--accent);
      display: block;
      transform: translateX(0);
      transition: transform 0.3s ease, background-color 0.3s ease;
    }

    [data-theme="dark"] .theme-toggle span {
      transform: translateX(10px);
      background: var(--accent);
    }

    main {
      padding: 88px 24px 140px;
    }

    .measure {
      max-width: var(--content);
      margin: 0 auto;
    }

    .site-width {
      max-width: var(--site);
      margin: 0 auto;
    }

    .article-inner {
      max-width: var(--content);
      margin: 0 auto;
    }

    .kicker {
      font-family: var(--sans);
      font-size: 12px;
      font-weight: 600;
      color: var(--accent);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 18px;
    }

    h1, h2, h3 {
      font-family: var(--serif);
      letter-spacing: -0.02em;
      color: var(--ink);
      margin: 0;
    }

    h1 {
      font-size: clamp(34px, 4.8vw, 50px);
      line-height: 1.08;
      font-weight: 700;
      max-width: 18ch;
    }

    .home-title {
      max-width: none;
    }

    .topic-title {
      font-size: clamp(34px, 4.6vw, 48px);
      max-width: 22ch;
    }

    h2 {
      font-size: 28px;
      line-height: 1.18;
      margin-top: 2.2em;
      margin-bottom: 0.8em;
      font-weight: 700;
      scroll-margin-top: var(--anchor-offset);
    }

    h3 {
      font-size: 21px;
      line-height: 1.25;
      margin-top: 2em;
      margin-bottom: 0.6em;
      font-weight: 700;
      scroll-margin-top: var(--anchor-offset);
    }

    p {
      margin: 0 0 1.65em;
    }

    .lede {
      margin-top: 28px;
      color: var(--muted);
      font-size: 21px;
      line-height: 1.7;
    }

    .search-form {
      display: flex;
      align-items: stretch;
      gap: 12px;
      max-width: 680px;
      margin: 30px 0 48px;
    }

    .search-input {
      min-width: 0;
      flex: 1 1 auto;
      min-height: 46px;
      border: 1px solid var(--rule);
      border-radius: 4px;
      padding: 10px 14px;
      background: var(--surface);
      color: var(--ink);
      font: 16px/1.4 var(--sans);
      letter-spacing: 0;
    }

    .search-input::placeholder { color: var(--muted); }

    .search-input:focus-visible,
    .search-submit:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }

    .search-submit {
      min-height: 46px;
      border: 1px solid var(--accent);
      border-radius: 4px;
      padding: 10px 18px;
      background: var(--accent);
      color: var(--paper);
      cursor: pointer;
      font: 600 14px/1.4 var(--sans);
      letter-spacing: 0;
    }

    .search-submit:hover { filter: brightness(0.92); }

    .search-summary,
    .search-empty {
      color: var(--muted);
      font-family: var(--sans);
      font-size: 14px;
      letter-spacing: 0;
    }

    .search-empty { margin: 0 0 2.2em; }

    .search-page h1,
    .search-page .phrase-list a {
      overflow-wrap: anywhere;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 18px;
      align-items: center;
      margin: 34px 0 54px;
      padding-top: 18px;
      border-top: 1px solid var(--rule);
      color: var(--muted);
      font-family: var(--sans);
      font-size: 13px;
      letter-spacing: 0;
    }

    .breadcrumbs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      margin-bottom: 34px;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 12px;
      letter-spacing: 0;
    }

    .breadcrumbs a {
      color: var(--muted);
      text-decoration: none;
      background-image: linear-gradient(var(--accent), var(--accent));
      background-repeat: no-repeat;
      background-position: 0 100%;
      background-size: 0 1px;
      transition: color 0.2s ease, background-size 0.2s ease;
    }

    .breadcrumbs a:hover {
      color: var(--accent);
      background-size: 100% 1px;
    }

    .breadcrumbs span {
      color: var(--muted);
    }

    .meta a {
      color: var(--accent);
      text-decoration: none;
    }

    .article-body > p:first-of-type::first-letter {
      float: left;
      font-family: var(--serif);
      font-size: 3.5em;
      line-height: 0.78;
      padding: 0.08em 0.11em 0 0;
      color: var(--accent);
      font-weight: 700;
    }

    .trust-page .measure {
      max-width: var(--content);
    }

    .trust-body {
      margin-top: 12px;
    }

    .contact-email {
      margin: 0 0 42px;
      font-family: var(--sans);
      font-size: 15px;
      letter-spacing: 0;
    }

    .trust-section {
      margin-top: 56px;
    }

    .trust-section:first-child {
      margin-top: 0;
    }

    .trust-section h2 {
      margin-top: 0;
    }

    .trust-list {
      margin: 0 0 1.65em;
      padding-left: 1.3em;
    }

    .trust-list li {
      margin-bottom: 0.65em;
      padding-left: 0.25em;
    }

    blockquote {
      margin: 2.2em 0;
      padding-left: 1.5em;
      border-left: 3px solid var(--accent);
      color: var(--ink);
      font-size: 1.1em;
      font-style: italic;
    }

    .phrase-list {
      margin: 0;
      padding: 0;
      list-style: none;
      border-top: 1px solid var(--rule);
    }

.phrase-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.topic-list li {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: center;
  min-height: 88px;
}

.topic-list .topic-thumb {
  grid-row: 1 / span 2;
  width: 132px;
  height: 88px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: none;
}

.topic-list .phrase-meta {
  margin-top: 2px;
}

.article-hero {
  margin: 30px 0 42px;
}

.article-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

    .phrase-list a {
      color: var(--ink);
      text-decoration: none;
    }

    .phrase-list a:hover { color: var(--accent); }

    .phrase-meta {
      display: block;
      margin-top: 5px;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 12px;
      letter-spacing: 0;
    }

    .article-toc {
      position: sticky;
      top: 92px;
      float: right;
      width: 220px;
      max-height: calc(100vh - 118px);
      overflow: auto;
      margin: 8px -270px 32px 40px;
      padding: 18px 0;
      border-top: 1px solid var(--rule);
      border-bottom: 1px solid var(--rule);
    }

    .article-toc h2 {
      margin-top: 0;
      margin-bottom: 12px;
      font-size: 18px;
    }

    .article-toc ol {
      counter-reset: toc;
      margin: 0;
      padding-left: 0;
      list-style: none;
      font-family: var(--sans);
      font-size: 12px;
      line-height: 1.55;
      letter-spacing: 0;
    }

    .article-toc li {
      counter-increment: toc;
      margin-bottom: 8px;
    }

    .article-toc a {
      display: grid;
      grid-template-columns: 2.15em 1fr;
      gap: 8px;
      color: var(--ink);
      text-decoration: none;
      background-image: linear-gradient(var(--accent), var(--accent));
      background-repeat: no-repeat;
      background-position: 0 100%;
      background-size: 0 1px;
      transition: color 0.2s ease, background-size 0.2s ease;
    }

    .article-toc a::before {
      content: counter(toc) ".";
      color: var(--muted);
      font-variant-numeric: tabular-nums;
    }

    .article-toc a:hover {
      color: var(--accent);
      background-size: 100% 1px;
    }

    .copy-lines,
    .avoid-list,
    .tips-list {
      margin: 0 0 2.2em;
      padding: 0;
      list-style: none;
      border-top: 1px solid var(--rule);
    }

    .copy-lines li,
    .avoid-list li,
    .tips-list li {
      padding: 22px 0;
      border-bottom: 1px solid var(--rule);
    }

    .copy-line {
      margin: 0 0 12px;
      padding-left: 1em;
      font-size: 1.04em;
    }

    .line-context {
      display: grid;
      gap: 6px;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 13px;
      line-height: 1.55;
      letter-spacing: 0;
    }

    .line-context strong,
    .avoid-list strong,
    .tips-list strong {
      color: var(--ink);
      font-weight: 600;
    }

    .avoid-list span,
    .tips-list span {
      display: block;
      margin-top: 6px;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 13px;
      line-height: 1.55;
      letter-spacing: 0;
    }

    .article-nav,
    .related-topics {
      margin-top: 76px;
      padding-top: 28px;
      border-top: 1px solid var(--rule);
      clear: both;
    }

    .article-nav {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .article-nav a,
    .article-nav .is-disabled {
      display: block;
      color: var(--ink);
      text-decoration: none;
      border-bottom: 1px solid transparent;
    }

    .article-nav .is-disabled {
      color: var(--muted);
      opacity: 0.62;
    }

    .article-nav a:hover strong,
    .related-topics a:hover {
      color: var(--accent);
    }

    .article-nav span {
      display: block;
      margin-bottom: 6px;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 12px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .article-nav strong {
      font-family: var(--serif);
      font-size: 22px;
      line-height: 1.2;
      transition: color 0.2s ease;
    }

    .article-nav .next {
      text-align: right;
    }

    .related-topics h2 {
      margin-top: 0;
    }

    .related-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0 28px;
      margin: 0;
      padding: 0;
      list-style: none;
      border-top: 1px solid var(--rule);
    }

    .related-grid li {
      padding: 18px 0;
      border-bottom: 1px solid var(--rule);
    }

    .related-grid a {
      color: var(--ink);
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .category-list {
      margin: 70px 0 0;
      padding: 0;
      list-style: none;
      border-top: 1px solid var(--rule);
    }

    .category-list li {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding: 20px 0;
      border-bottom: 1px solid var(--rule);
      font-family: var(--sans);
      font-size: 14px;
      letter-spacing: 0;
    }

    .count {
      color: var(--muted);
      white-space: nowrap;
    }

    .tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: -26px 0 48px;
    }

    .tag-row a {
      font-family: var(--sans);
      font-size: 12px;
      color: var(--accent);
      text-decoration: none;
      border-bottom: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
      padding-bottom: 2px;
    }

    .share-widget {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      margin: 30px 0 46px;
      padding: 16px 0;
      border-top: 1px solid var(--rule);
      border-bottom: 1px solid var(--rule);
      font-family: var(--sans);
      letter-spacing: 0;
    }

    .share-heading {
      display: grid;
      gap: 2px;
      min-width: 0;
    }

    .share-label {
      color: var(--ink);
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
    }

    .share-note {
      color: var(--muted);
      font-size: 11px;
      line-height: 1.4;
    }

    .share-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 7px;
    }

    .share-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 30px;
      border: 1px solid var(--rule);
      border-radius: 999px;
      padding: 5px 10px;
      color: var(--ink);
      background: var(--surface);
      font: 600 11px/1.2 var(--sans);
      letter-spacing: 0;
      text-decoration: none;
      white-space: nowrap;
      cursor: pointer;
      transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    }

    .share-link:hover,
    .share-link:focus-visible {
      border-color: var(--accent);
      color: var(--accent);
      outline: none;
    }

    .share-copy.is-copied {
      border-color: var(--accent);
      color: var(--accent);
      background: color-mix(in srgb, var(--accent) 8%, var(--surface));
    }

    .share-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 17px;
      height: 17px;
      border-radius: 50%;
      color: var(--paper);
      background: var(--accent);
      font: 700 10px/1 var(--sans);
    }

    .article-author {
      display: flex;
      align-items: flex-start;
      gap: 18px;
      margin-top: 58px;
      padding: 24px 0;
      border-top: 1px solid var(--rule);
      border-bottom: 1px solid var(--rule);
    }

    .author-avatar {
      display: inline-flex;
      flex: 0 0 64px;
      align-items: center;
      justify-content: center;
      width: 64px;
      height: 64px;
      border-radius: 50%;
      color: #fff;
      background: var(--author-accent, var(--accent));
      box-shadow: 0 8px 22px color-mix(in srgb, var(--author-accent, var(--accent)) 30%, transparent);
      font: 700 16px/1 var(--sans);
      letter-spacing: 0.02em;
    }

    .author-copy {
      min-width: 0;
    }

    .author-kicker {
      color: var(--muted);
      font: 600 11px/1.35 var(--sans);
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .author-name {
      margin: 2px 0 6px;
      font-size: 23px;
      line-height: 1.2;
    }

    .author-copy p {
      max-width: 58ch;
      margin: 0;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 13px;
      line-height: 1.65;
    }

    .author-avatar-coral { --author-accent: #c45454; }
    .author-avatar-indigo { --author-accent: #5865a8; }
    .author-avatar-amber { --author-accent: #b97821; }
    .author-avatar-teal { --author-accent: #287f82; }
    .author-avatar-plum { --author-accent: #865477; }
    .author-avatar-blue { --author-accent: #3d73a9; }
    .author-avatar-rose { --author-accent: #b95875; }
    .author-avatar-green { --author-accent: #4c805d; }
    .author-avatar-orange { --author-accent: #c66e3c; }
    .author-avatar-violet { --author-accent: #745aa8; }
    .author-avatar-sky { --author-accent: #4e8ea5; }
    .author-avatar-mint { --author-accent: #4c8d7b; }
    .author-avatar-slate { --author-accent: #637285; }
    .author-avatar-magenta { --author-accent: #a84d82; }
    .author-avatar-navy { --author-accent: #3d5e86; }
    .author-avatar-lime { --author-accent: #6f8c38; }
    .author-avatar-saffron { --author-accent: #b58a2d; }
    .author-avatar-aqua { --author-accent: #3d898f; }
    .author-avatar-lavender { --author-accent: #80699c; }
    .author-avatar-copper { --author-accent: #a96949; }

    .ad-slot {
      clear: both;
      margin: 0 0 52px;
      padding: 0;
    }

    .ad-slot-native {
      position: relative;
      left: 50%;
      width: min(728px, calc(100vw - 48px));
      margin-left: 0;
      transform: translateX(-50%);
    }

    .native-banner-frame {
      width: 100%;
      min-height: 90px;
      height: 90px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border-top: 1px solid var(--rule);
      border-bottom: 1px solid var(--rule);
      background: color-mix(in srgb, var(--soft) 46%, transparent);
    }

    .native-banner-frame iframe {
      display: block;
      width: 728px;
      height: 90px;
      border: 0;
    }

@media (max-width: 799px) {
      .topic-list li {
        grid-template-columns: 96px minmax(0, 1fr);
        column-gap: 12px;
      }

      .topic-list .topic-thumb {
        width: 96px;
        height: 64px;
      }

      .ad-slot-native {
        width: min(300px, calc(100vw - 16px));
      }

      .native-banner-frame {
        min-height: 250px;
        height: 250px;
      }

      .native-banner-frame iframe {
        width: 300px;
        max-width: 100%;
        height: 250px;
      }
    }

    code {
      background: var(--soft);
      border-radius: 4px;
      padding: 0.08em 0.32em;
      font-size: 0.9em;
    }

    img {
      max-width: 100%;
      border-radius: 4px;
      box-shadow: 0 18px 45px var(--shadow);
      opacity: 0.9;
      transition: opacity 0.4s ease;
    }

    img.is-visible { opacity: 1; }

    figcaption {
      color: var(--muted);
      font-style: italic;
      font-size: 0.88em;
      text-align: center;
      margin-top: 12px;
    }

    footer {
      border-top: 1px solid var(--rule);
      padding: 42px 24px 70px;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 13px;
      letter-spacing: 0;
    }

    .footer-brand {
      display: inline-flex;
      align-items: center;
      margin-bottom: 8px;
      text-decoration: none;
    }

    .footer-logo {
      display: block;
      width: 206px;
      height: auto;
    }

    .footer-copy {
      max-width: 620px;
      margin: 0 0 22px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
    }

    .footer-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 16px;
      margin-top: 16px;
    }

    .footer-tags a {
      color: var(--muted);
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: color 0.2s ease, border-color 0.2s ease;
    }

    .footer-tags a:hover {
      color: var(--accent);
      border-color: var(--accent);
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 18px;
      margin-top: 30px;
      padding-top: 22px;
      border-top: 1px solid var(--rule);
    }

    .footer-links a {
      color: var(--ink);
      text-decoration: none;
      border-bottom: 1px solid transparent;
    }

    .footer-links a:hover {
      color: var(--accent);
      border-color: var(--accent);
    }

    .tag-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
      gap: 12px;
      margin-top: 36px;
    }

    .tag-card {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      min-height: 56px;
      border: 1px solid var(--rule);
      border-radius: 8px;
      background: var(--surface);
      color: var(--ink);
      padding: 14px 16px;
      text-decoration: none;
      box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
      transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }

    .tag-card:hover {
      border-color: color-mix(in srgb, var(--accent) 58%, var(--rule));
      color: var(--accent);
      box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
      transform: translateY(-1px);
    }

    .tag-card-name {
      font-family: var(--sans);
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0;
      line-height: 1.35;
    }

    .tag-count {
      flex: 0 0 auto;
      border-radius: 999px;
      background: var(--soft);
      color: var(--muted);
      font-family: var(--sans);
      font-size: 12px;
      font-weight: 700;
      line-height: 1;
      padding: 6px 8px;
    }

    .pagination {
      display: flex;
      gap: 12px;
      align-items: center;
      justify-content: center;
      margin-top: 54px;
      font-family: var(--sans);
      font-size: 14px;
      color: var(--muted);
    }

    .pagination a {
      border: 1px solid var(--rule);
      border-radius: 999px;
      color: var(--ink);
      padding: 8px 13px;
      text-decoration: none;
    }

    .pagination a:hover {
      border-color: var(--accent);
      color: var(--accent);
    }

    @media (max-width: 720px) {
      body { font-size: 18px; }
      .nav {
        padding-left: 24px;
        padding-right: 24px;
      }
      .nav-main { gap: 12px; }
      .brand-logo { width: 174px; height: auto; }
      .nav-links { gap: 10px; }
      .nav-links a { display: inline; }
      .nav-category-row {
        justify-content: flex-start;
        gap: 9px 14px;
        margin-top: 14px;
        padding-top: 12px;
        font-size: 12px;
        line-height: 1.45;
      }
      .nav-search-row { width: 100%; margin-top: 14px; }
      .nav-search-form { height: 44px; }
      .nav-search-input { height: 42px; padding: 9px 10px; font-size: 16px; }
      .nav-search-input::placeholder { color: var(--muted); }
      .nav-search-submit { flex-basis: 44px; width: 44px; height: 42px; }
      .search-form { flex-direction: column; width: 100%; }
      .search-input, .search-submit { width: 100%; }
      main { padding-top: 64px; }
      .ad-slot { margin-bottom: 42px; }
      .share-widget {
        display: block;
        margin-top: 26px;
        margin-bottom: 38px;
      }
      .share-links {
        justify-content: flex-start;
        margin-top: 12px;
      }
      .share-note { font-size: 12px; }
      .article-author {
        gap: 14px;
        margin-top: 46px;
        padding: 20px 0;
      }
      .author-avatar {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
        font-size: 14px;
      }
      .author-name { font-size: 21px; }
      .author-copy p { font-size: 12px; }
      h1, .topic-title {
        font-size: clamp(32px, 9vw, 42px);
        max-width: none;
      }
      .category-list li { align-items: baseline; }
      .article-toc {
        top: 62px;
        float: none;
        width: auto;
        max-height: 42vh;
        margin: 42px 0 52px;
        padding: 16px 0;
        background: color-mix(in srgb, var(--paper) 94%, transparent);
        backdrop-filter: blur(10px);
        z-index: 4;
      }
      .article-toc ol { columns: 1; }
      .article-nav,
      .related-grid {
        grid-template-columns: 1fr;
      }
      .article-nav .next {
        text-align: left;
      }
    }

