/* roulang page: index */
:root {
      --bg: #0e1116;
      --bg-2: #131922;
      --panel: #171e28;
      --panel-2: #1c2430;
      --line: rgba(255,255,255,.08);
      --text: #f4f7fb;
      --muted: #a7b0bf;
      --soft: #7f8997;
      --accent: #ffb84d;
      --accent-2: #ff6b81;
      --accent-3: #4dd0ae;
      --shadow: 0 18px 50px rgba(0,0,0,.35);
      --shadow-soft: 0 10px 28px rgba(0,0,0,.22);
      --radius: 8px;
      --radius-sm: 6px;
      --container: 1180px;
      --gap: 24px;
      --gap-sm: 14px;
      --gap-lg: 34px;
      --border: 1px solid var(--line);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.6;
      color: var(--text);
      background:
        radial-gradient(1200px 600px at 20% -10%, rgba(255,184,77,.12), transparent 45%),
        radial-gradient(900px 500px at 90% 10%, rgba(255,107,129,.08), transparent 40%),
        linear-gradient(180deg, #0e1116 0%, #0f131a 100%);
      min-height: 100vh;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    button, input, select, textarea {
      font: inherit;
      color: inherit;
    }
    button { cursor: pointer; }
    ::selection { background: rgba(255,184,77,.35); color: #fff; }

    .container {
      width: min(calc(100% - 32px), var(--container));
      margin: 0 auto;
    }

    .topbar {
      border-bottom: var(--border);
      background: rgba(10, 13, 18, .82);
      backdrop-filter: blur(18px);
      position: relative;
      z-index: 20;
    }
    .topbar-inner {
      min-height: 42px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      color: var(--muted);
      font-size: 13px;
      padding: 10px 0;
    }
    .topbar strong { color: var(--text); font-weight: 600; }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 30;
      border-bottom: var(--border);
      background: rgba(14,17,22,.88);
      backdrop-filter: blur(20px);
    }
    .header-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      gap: 18px;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      flex: 0 0 auto;
      min-width: 0;
    }
    .brand-mark {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: linear-gradient(145deg, var(--accent), var(--accent-2));
      box-shadow: 0 10px 24px rgba(255,107,129,.24);
      display: grid;
      place-items: center;
      color: #160f10;
      font-size: 18px;
      font-weight: 800;
      letter-spacing: 0;
      flex: 0 0 auto;
    }
    .brand-text {
      min-width: 0;
      display: grid;
      gap: 3px;
    }
    .brand-text strong {
      font-size: 17px;
      line-height: 1.15;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .brand-text span {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.2;
    }

    .nav-toggle {
      display: none;
      width: 42px;
      height: 42px;
      border: var(--border);
      border-radius: var(--radius);
      background: rgba(255,255,255,.02);
      align-items: center;
      justify-content: center;
      margin-left: auto;
    }
    .nav-toggle svg { width: 20px; height: 20px; }

    .site-nav {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .site-nav a {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 42px;
      padding: 0 14px;
      border-radius: var(--radius);
      color: var(--muted);
      border: 1px solid transparent;
      transition: .2s ease;
      font-size: 14px;
    }
    .site-nav a:hover,
    .site-nav a:focus-visible {
      color: var(--text);
      border-color: var(--line);
      background: rgba(255,255,255,.03);
      transform: translateY(-1px);
      outline: none;
    }
    .site-nav a.active {
      color: #140f0a;
      background: linear-gradient(145deg, var(--accent), #ffd38a);
      border-color: transparent;
      box-shadow: 0 10px 22px rgba(255,184,77,.2);
    }

    .hero {
      position: relative;
      overflow: hidden;
      border-bottom: var(--border);
      background:
        linear-gradient(180deg, rgba(14,17,22,.22), rgba(14,17,22,.92)),
        var(--hero-bg) center/cover no-repeat;
    }
    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(14,17,22,.92) 0%, rgba(14,17,22,.72) 48%, rgba(14,17,22,.22) 100%);
      pointer-events: none;
    }
    .hero-inner {
      position: relative;
      z-index: 1;
      padding: 54px 0 48px;
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
      gap: 30px;
      align-items: center;
    }
    .hero-copy {
      display: grid;
      gap: 18px;
      max-width: 720px;
    }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      padding: 7px 12px;
      border-radius: 999px;
      border: var(--border);
      background: rgba(255,255,255,.04);
      color: var(--accent);
      font-size: 13px;
      letter-spacing: 0;
    }
    .hero h1 {
      margin: 0;
      font-size: clamp(34px, 5vw, 58px);
      line-height: 1.04;
      letter-spacing: 0;
      max-width: 12ch;
    }
    .hero p {
      margin: 0;
      color: #d7deea;
      font-size: 16px;
      max-width: 62ch;
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 6px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 46px;
      padding: 0 18px;
      border-radius: var(--radius);
      border: var(--border);
      background: rgba(255,255,255,.03);
      color: var(--text);
      transition: .2s ease;
      box-shadow: none;
      font-weight: 600;
    }
    .btn:hover,
    .btn:focus-visible {
      transform: translateY(-1px);
      background: rgba(255,255,255,.06);
      outline: none;
      box-shadow: var(--shadow-soft);
    }
    .btn-primary {
      border-color: transparent;
      color: #1a1208;
      background: linear-gradient(145deg, var(--accent), #ffd98f);
      box-shadow: 0 14px 30px rgba(255,184,77,.22);
    }
    .btn-primary:hover,
    .btn-primary:focus-visible {
      background: linear-gradient(145deg, #ffc85f, #ffe0a8);
    }
    .btn svg,
    .chip svg,
    .search-button svg,
    .menu-icon svg,
    .back-top svg {
      width: 18px;
      height: 18px;
      flex: 0 0 auto;
    }

    .search-box {
      margin-top: 12px;
      display: flex;
      gap: 10px;
      max-width: 640px;
      border: var(--border);
      border-radius: calc(var(--radius) + 2px);
      padding: 10px;
      background: rgba(10,13,18,.58);
      box-shadow: var(--shadow-soft);
      backdrop-filter: blur(10px);
    }
    .search-box input {
      flex: 1 1 auto;
      min-width: 0;
      border: 0;
      outline: none;
      background: transparent;
      color: var(--text);
      font-size: 15px;
      padding: 0 4px;
    }
    .search-box input::placeholder { color: var(--soft); }
    .search-button {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 42px;
      padding: 0 16px;
      border: 0;
      border-radius: var(--radius);
      background: linear-gradient(145deg, var(--accent-2), #ff9aa9);
      color: #1a1012;
      font-weight: 700;
    }

    .hero-panel {
      position: relative;
      padding: 18px;
      border: var(--border);
      border-radius: 18px;
      background: linear-gradient(180deg, rgba(23,30,40,.85), rgba(17,22,30,.92));
      box-shadow: var(--shadow);
      overflow: hidden;
    }
    .hero-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 40%);
      pointer-events: none;
    }
    .hero-panel-cover {
      position: relative;
      aspect-ratio: 16 / 10;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.08);
      background: #0c1016;
    }
    .hero-panel-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .hero-panel-meta {
      position: absolute;
      left: 18px;
      right: 18px;
      bottom: 18px;
      display: grid;
      gap: 10px;
      padding: 16px;
      border-radius: 14px;
      border: var(--border);
      background: rgba(10,13,18,.76);
      backdrop-filter: blur(16px);
    }
    .meta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.08);
      background: rgba(255,255,255,.04);
      color: #dce3ee;
      font-size: 13px;
    }
    .stat-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }
    .stat {
      padding: 12px;
      border-radius: 12px;
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(255,255,255,.06);
    }
    .stat strong {
      display: block;
      font-size: 18px;
      line-height: 1.1;
      color: var(--accent);
    }
    .stat span {
      display: block;
      margin-top: 5px;
      color: var(--muted);
      font-size: 13px;
    }

    .section {
      padding: 28px 0;
    }
    .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 18px;
    }
    .section-head h2 {
      margin: 0;
      font-size: 24px;
      line-height: 1.2;
      letter-spacing: 0;
    }
    .section-head p {
      margin: 0;
      color: var(--muted);
      max-width: 60ch;
      font-size: 14px;
    }

    .quick-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .quick-links a {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 40px;
      padding: 0 14px;
      border-radius: 999px;
      border: var(--border);
      background: rgba(255,255,255,.03);
      color: var(--text);
      transition: .2s ease;
      font-size: 14px;
    }
    .quick-links a:hover,
    .quick-links a:focus-visible {
      transform: translateY(-1px);
      border-color: rgba(255,184,77,.4);
      background: rgba(255,184,77,.08);
      outline: none;
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }
    .feature-card {
      border: var(--border);
      border-radius: 14px;
      background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
      overflow: hidden;
      box-shadow: var(--shadow-soft);
      transition: .22s ease;
    }
    .feature-card:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow);
    }
    .feature-card .thumb {
      aspect-ratio: 16 / 10;
      background: #0f131a;
      overflow: hidden;
    }
    .feature-card .thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .35s ease;
    }
    .feature-card:hover .thumb img { transform: scale(1.03); }
    .feature-card .body {
      padding: 16px;
      display: grid;
      gap: 10px;
    }
    .tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .tag {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(255,255,255,.08);
      color: var(--muted);
      font-size: 12px;
    }
    .feature-card h3,
    .list-title {
      margin: 0;
      font-size: 18px;
      line-height: 1.25;
    }
    .feature-card p,
    .list-summary {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
    }
    .card-foot {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      color: var(--soft);
      font-size: 12px;
    }

    .latest-wrap {
      display: grid;
      gap: 14px;
    }
    .latest-card {
      display: grid;
      grid-template-columns: 128px minmax(0, 1fr);
      gap: 14px;
      padding: 14px;
      border-radius: 14px;
      border: var(--border);
      background: rgba(255,255,255,.03);
      transition: .2s ease;
    }
    .latest-card:hover {
      transform: translateY(-1px);
      background: rgba(255,255,255,.05);
      box-shadow: var(--shadow-soft);
    }
    .latest-cover {
      aspect-ratio: 3 / 4;
      border-radius: 12px;
      overflow: hidden;
      background: #0b0f14;
      border: 1px solid rgba(255,255,255,.06);
    }
    .latest-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .latest-body {
      display: grid;
      gap: 10px;
      align-content: start;
    }
    .latest-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      color: var(--soft);
      font-size: 12px;
    }
    .latest-meta span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 26px;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.06);
    }
    .latest-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      color: var(--accent);
      font-weight: 700;
    }
    .latest-link svg {
      width: 16px;
      height: 16px;
    }
    .empty-state {
      padding: 24px;
      border-radius: 14px;
      border: var(--border);
      background: rgba(255,255,255,.03);
      color: var(--muted);
      text-align: center;
    }

    .topics-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
    }
    .topic-card {
      min-height: 108px;
      border-radius: 14px;
      border: var(--border);
      background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
      padding: 16px;
      display: grid;
      align-content: space-between;
      gap: 12px;
      transition: .2s ease;
    }
    .topic-card:hover {
      transform: translateY(-2px);
      border-color: rgba(255,184,77,.35);
    }
    .topic-card strong {
      font-size: 17px;
      line-height: 1.2;
    }
    .topic-card span {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.6;
    }

    .faq-list {
      display: grid;
      gap: 12px;
    }
    details.faq-item {
      border-radius: 14px;
      border: var(--border);
      background: rgba(255,255,255,.03);
      overflow: hidden;
    }
    details.faq-item summary {
      list-style: none;
      cursor: pointer;
      padding: 16px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      font-weight: 700;
    }
    details.faq-item summary::-webkit-details-marker { display: none; }
    .faq-content {
      padding: 0 18px 18px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.8;
    }

    .cta-block {
      border-top: var(--border);
      border-bottom: var(--border);
      background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
    }
    .cta-inner {
      padding: 24px 0;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 18px;
      align-items: center;
    }
    .cta-inner h2 {
      margin: 0 0 8px;
      font-size: 26px;
      line-height: 1.2;
    }
    .cta-inner p {
      margin: 0;
      color: var(--muted);
      max-width: 68ch;
    }
    .cta-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: flex-end;
    }

    .site-footer {
      padding: 28px 0 34px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.3fr .7fr;
      gap: 20px;
      padding: 22px;
      border-radius: 16px;
      border: var(--border);
      background: rgba(255,255,255,.03);
    }
    .footer-grid h3 {
      margin: 0 0 10px;
      font-size: 18px;
    }
    .footer-grid p,
    .footer-grid a {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.8;
    }
    .footer-links {
      display: grid;
      gap: 10px;
      align-content: start;
    }
    .footer-links a {
      width: fit-content;
      transition: .2s ease;
    }
    .footer-links a:hover { color: var(--text); }
    .copyright {
      margin-top: 14px;
      color: var(--soft);
      font-size: 13px;
    }

    .back-top {
      position: fixed;
      right: 18px;
      bottom: 18px;
      width: 48px;
      height: 48px;
      border: var(--border);
      border-radius: 14px;
      background: rgba(18,23,31,.88);
      display: grid;
      place-items: center;
      box-shadow: var(--shadow-soft);
      z-index: 40;
    }
    .back-top:hover,
    .back-top:focus-visible {
      transform: translateY(-2px);
      outline: none;
      background: rgba(30,37,48,.92);
    }

    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    @media (max-width: 1080px) {
      .hero-inner,
      .cta-inner,
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .feature-grid,
      .topics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .hero h1 { max-width: 14ch; }
    }

    @media (max-width: 860px) {
      .nav-toggle { display: inline-flex; }
      .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 100%;
        margin: 8px 0 0;
        padding: 12px;
        border-radius: 16px;
        border: var(--border);
        background: rgba(12,16,22,.96);
        box-shadow: var(--shadow);
        display: grid;
        gap: 8px;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: .2s ease;
      }
      .site-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
      }
      .site-nav a { width: 100%; justify-content: center; }
      .header-inner { position: relative; }
      .latest-card { grid-template-columns: 108px minmax(0, 1fr); }
    }

    @media (max-width: 640px) {
      .topbar-inner { flex-direction: column; align-items: flex-start; }
      .hero-inner { padding: 38px 0 34px; }
      .hero h1 { font-size: 34px; }
      .feature-grid,
      .topics-grid,
      .stat-grid {
        grid-template-columns: 1fr;
      }
      .latest-card { grid-template-columns: 1fr; }
      .latest-cover { aspect-ratio: 16 / 10; }
      .section { padding: 22px 0; }
      .section-head {
        flex-direction: column;
        align-items: flex-start;
      }
      .cta-actions { justify-content: flex-start; }
      .footer-grid { padding: 18px; }
      .hero-panel-meta {
        left: 14px;
        right: 14px;
        bottom: 14px;
      }
      .brand-text strong { white-space: normal; }
    }

/* roulang page: article */
:root {
      --bg: #0e1116;
      --bg-2: #131922;
      --panel: #171e28;
      --panel-2: #1c2430;
      --panel-3: #202a37;
      --line: rgba(255,255,255,.08);
      --line-strong: rgba(255,255,255,.14);
      --text: #f4f7fb;
      --muted: #a7b0bf;
      --soft: #7f8997;
      --accent: #ffb84d;
      --accent-2: #ff6b81;
      --accent-3: #4dd0ae;
      --danger: #ff6b81;
      --shadow: 0 18px 50px rgba(0,0,0,.35);
      --shadow-soft: 0 10px 28px rgba(0,0,0,.22);
      --radius: 8px;
      --radius-sm: 6px;
      --container: 1180px;
      --gap: 24px;
      --gap-sm: 14px;
      --gap-lg: 34px;
      --border: 1px solid var(--line);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.6;
      color: var(--text);
      background:
        radial-gradient(1200px 600px at 20% -10%, rgba(255,184,77,.12), transparent 45%),
        radial-gradient(900px 500px at 90% 10%, rgba(255,107,129,.08), transparent 40%),
        linear-gradient(180deg, #0e1116 0%, #0f131a 100%);
      min-height: 100vh;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      display: block;
      max-width: 100%;
    }

    button,
    input,
    select,
    textarea {
      font: inherit;
      color: inherit;
    }

    button {
      cursor: pointer;
    }

    .container {
      width: min(calc(100% - 32px), var(--container));
      margin: 0 auto;
    }

    .topbar {
      border-bottom: var(--border);
      background: rgba(10, 13, 18, .82);
      backdrop-filter: blur(18px);
      position: relative;
      z-index: 20;
    }

    .topbar-inner {
      min-height: 42px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      color: var(--muted);
      font-size: 13px;
      padding: 10px 0;
    }

    .topbar strong {
      color: var(--text);
      font-weight: 600;
    }

    .topbar a {
      color: var(--accent);
      transition: .2s ease;
    }

    .topbar a:hover,
    .topbar a:focus-visible {
      color: #ffd38a;
      outline: none;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 30;
      border-bottom: var(--border);
      background: rgba(14,17,22,.88);
      backdrop-filter: blur(20px);
    }

    .header-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      flex: 0 0 auto;
      min-width: 0;
    }

    .brand-mark {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: linear-gradient(145deg, var(--accent), var(--accent-2));
      box-shadow: 0 10px 24px rgba(255,107,129,.24);
      display: grid;
      place-items: center;
      color: #160f10;
      font-size: 18px;
      font-weight: 800;
      letter-spacing: 0;
      flex: 0 0 auto;
    }

    .brand-text {
      min-width: 0;
      display: grid;
      gap: 3px;
    }

    .brand-text strong {
      font-size: 17px;
      line-height: 1.15;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .brand-text span {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.2;
    }

    .nav-toggle {
      display: none;
      width: 42px;
      height: 42px;
      border: var(--border);
      border-radius: var(--radius);
      background: rgba(255,255,255,.02);
      align-items: center;
      justify-content: center;
      margin-left: auto;
      transition: .2s ease;
    }

    .nav-toggle:hover,
    .nav-toggle:focus-visible {
      background: rgba(255,255,255,.06);
      border-color: var(--line-strong);
      outline: none;
    }

    .nav-toggle svg {
      width: 20px;
      height: 20px;
    }

    .site-nav {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .site-nav a {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 42px;
      padding: 0 14px;
      border-radius: var(--radius);
      color: var(--muted);
      border: 1px solid transparent;
      transition: .2s ease;
      font-size: 14px;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible {
      color: var(--text);
      border-color: var(--line);
      background: rgba(255,255,255,.03);
      transform: translateY(-1px);
      outline: none;
    }

    .site-nav a.active {
      color: #140f0a;
      background: linear-gradient(145deg, var(--accent), #ffd38a);
      border-color: transparent;
      box-shadow: 0 10px 22px rgba(255,184,77,.2);
    }

    .article-hero {
      position: relative;
      overflow: hidden;
      border-bottom: var(--border);
      background:
        linear-gradient(180deg, rgba(14,17,22,.28), rgba(14,17,22,.94)),
        url('/assets/images/backpic/back-2.webp') center/cover no-repeat;
    }

    .article-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(14,17,22,.96) 0%, rgba(14,17,22,.78) 50%, rgba(14,17,22,.38) 100%),
        radial-gradient(500px 300px at 75% 20%, rgba(255,184,77,.14), transparent 58%);
      pointer-events: none;
    }

    .article-hero-inner {
      position: relative;
      z-index: 1;
      padding: 38px 0 42px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 330px;
      gap: 30px;
      align-items: end;
    }

    .breadcrumb {
      margin: 0 0 16px;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      color: var(--muted);
      font-size: 13px;
    }

    .breadcrumb a {
      color: #d7deea;
      transition: .2s ease;
    }

    .breadcrumb a:hover,
    .breadcrumb a:focus-visible {
      color: var(--accent);
      outline: none;
    }

    .breadcrumb .sep {
      color: var(--soft);
    }

    .article-kicker {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 14px;
    }

    .badge,
    .tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      width: fit-content;
      border-radius: 999px;
      border: var(--border);
      background: rgba(255,255,255,.04);
      color: var(--muted);
      font-size: 13px;
      line-height: 1;
      padding: 8px 11px;
      white-space: nowrap;
    }

    .badge.hot {
      color: #1b1106;
      background: linear-gradient(145deg, var(--accent), #ffd38a);
      border-color: transparent;
      font-weight: 700;
    }

    .badge.adult {
      color: #fff;
      background: rgba(255,107,129,.16);
      border-color: rgba(255,107,129,.34);
    }

    .article-title {
      margin: 0;
      font-size: clamp(30px, 4.6vw, 52px);
      line-height: 1.1;
      letter-spacing: -.02em;
      max-width: 980px;
    }

    .article-summary {
      margin: 18px 0 0;
      max-width: 840px;
      color: #d7deea;
      font-size: 16px;
    }

    .article-meta {
      margin-top: 20px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      color: var(--muted);
      font-size: 13px;
    }

    .article-meta span {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 7px 10px;
      border-radius: var(--radius-sm);
      background: rgba(255,255,255,.035);
      border: var(--border);
    }

    .cover-panel {
      border: var(--border);
      background: rgba(23,30,40,.72);
      border-radius: var(--radius);
      padding: 10px;
      box-shadow: var(--shadow);
    }

    .cover-panel img {
      width: 100%;
      aspect-ratio: 4 / 5;
      object-fit: cover;
      border-radius: var(--radius-sm);
    }

    .cover-note {
      padding: 12px 4px 2px;
      color: var(--muted);
      font-size: 13px;
    }

    main {
      padding: 36px 0 64px;
    }

    .article-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 330px;
      gap: 30px;
      align-items: start;
    }

    .content-shell {
      min-width: 0;
    }

    .reader-card {
      border: var(--border);
      border-radius: var(--radius);
      background:
        linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018)),
        var(--panel);
      box-shadow: var(--shadow-soft);
      overflow: hidden;
    }

    .reader-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 16px 18px;
      border-bottom: var(--border);
      background: rgba(0,0,0,.12);
    }

    .reader-toolbar strong {
      font-size: 15px;
    }

    .toolbar-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .mini-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 0 11px;
      border-radius: var(--radius-sm);
      border: var(--border);
      background: rgba(255,255,255,.03);
      color: var(--muted);
      font-size: 13px;
      transition: .2s ease;
    }

    .mini-btn:hover,
    .mini-btn:focus-visible {
      color: var(--text);
      background: rgba(255,255,255,.07);
      transform: translateY(-1px);
      outline: none;
    }

    .article-content {
      padding: clamp(22px, 4vw, 42px);
      color: #e6ebf4;
      font-size: 17px;
      line-height: 1.92;
      overflow-wrap: break-word;
      word-break: break-word;
    }

    .article-content h2,
    .article-content h3,
    .article-content h4 {
      color: var(--text);
      line-height: 1.35;
      margin: 2.1em 0 .8em;
      font-weight: 800;
      letter-spacing: -.01em;
    }

    .article-content h2 {
      font-size: 28px;
      padding-left: 14px;
      border-left: 4px solid var(--accent);
    }

    .article-content h3 {
      font-size: 23px;
    }

    .article-content h4 {
      font-size: 19px;
    }

    .article-content p {
      margin: 0 0 1.25em;
    }

    .article-content a {
      color: var(--accent);
      border-bottom: 1px solid rgba(255,184,77,.34);
      transition: .2s ease;
    }

    .article-content a:hover,
    .article-content a:focus-visible {
      color: #ffd38a;
      border-bottom-color: #ffd38a;
      outline: none;
    }

    .article-content img {
      width: 100%;
      height: auto;
      margin: 28px 0;
      border-radius: var(--radius);
      border: var(--border);
      box-shadow: var(--shadow-soft);
    }

    .article-content blockquote {
      margin: 28px 0;
      padding: 18px 20px;
      border-left: 4px solid var(--accent-2);
      border-radius: 0 var(--radius) var(--radius) 0;
      background: rgba(255,107,129,.08);
      color: #f0d8de;
    }

    .article-content ul,
    .article-content ol {
      padding-left: 1.35em;
      margin: 0 0 1.25em;
    }

    .article-content li {
      margin: .45em 0;
    }

    .article-content table {
      width: 100%;
      border-collapse: collapse;
      margin: 24px 0;
      overflow: hidden;
      border-radius: var(--radius);
      border: var(--border);
      font-size: 15px;
    }

    .article-content th,
    .article-content td {
      padding: 12px 14px;
      border-bottom: var(--border);
      vertical-align: top;
    }

    .article-content th {
      color: var(--text);
      background: rgba(255,255,255,.05);
    }

    .article-content tr:last-child th,
    .article-content tr:last-child td {
      border-bottom: 0;
    }

    .not-found {
      padding: clamp(28px, 5vw, 54px);
      text-align: center;
    }

    .not-found h2 {
      margin: 0 0 10px;
      font-size: clamp(26px, 4vw, 38px);
    }

    .not-found p {
      margin: 0 auto 20px;
      max-width: 560px;
      color: var(--muted);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 46px;
      padding: 0 18px;
      border-radius: var(--radius);
      border: var(--border);
      background: rgba(255,255,255,.03);
      color: var(--text);
      transition: .2s ease;
      box-shadow: none;
      font-weight: 600;
    }

    .btn:hover,
    .btn:focus-visible {
      transform: translateY(-1px);
      background: rgba(255,255,255,.06);
      outline: none;
      box-shadow: var(--shadow-soft);
    }

    .btn-primary {
      border-color: transparent;
      color: #1a1208;
      background: linear-gradient(145deg, var(--accent), #ffd98f);
      box-shadow: 0 14px 30px rgba(255,184,77,.22);
    }

    .btn-primary:hover,
    .btn-primary:focus-visible {
      color: #1a1208;
      background: linear-gradient(145deg, #ffc260, #ffe1a6);
    }

    .btn-secondary {
      border-color: rgba(255,255,255,.12);
      background: rgba(255,255,255,.045);
    }

    .side-rail {
      position: sticky;
      top: 100px;
      display: grid;
      gap: 18px;
      min-width: 0;
    }

    .side-card {
      border: var(--border);
      border-radius: var(--radius);
      background:
        linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018)),
        var(--panel);
      box-shadow: var(--shadow-soft);
      overflow: hidden;
    }

    .side-card-header {
      padding: 16px 18px;
      border-bottom: var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .side-card-header h2,
    .side-card-header h3 {
      margin: 0;
      font-size: 16px;
      line-height: 1.3;
    }

    .side-card-body {
      padding: 16px 18px 18px;
    }

    .search-box {
      display: flex;
      gap: 8px;
      align-items: center;
      padding: 8px;
      border: var(--border);
      border-radius: var(--radius);
      background: rgba(255,255,255,.03);
    }

    .search-box input {
      min-width: 0;
      flex: 1;
      height: 38px;
      border: 0;
      outline: none;
      background: transparent;
      color: var(--text);
      padding: 0 8px;
    }

    .search-box input::placeholder {
      color: var(--soft);
    }

    .search-box button {
      flex: 0 0 auto;
      height: 38px;
      padding: 0 13px;
      border-radius: var(--radius-sm);
      border: 0;
      background: linear-gradient(145deg, var(--accent), #ffd38a);
      color: #1a1208;
      font-weight: 700;
      transition: .2s ease;
    }

    .search-box button:hover,
    .search-box button:focus-visible {
      transform: translateY(-1px);
      box-shadow: 0 10px 18px rgba(255,184,77,.16);
      outline: none;
    }

    .recommend-list {
      display: grid;
      gap: 12px;
    }

    .recommend-item {
      display: grid;
      grid-template-columns: 82px minmax(0, 1fr);
      gap: 12px;
      padding: 10px;
      border: var(--border);
      border-radius: var(--radius);
      background: rgba(255,255,255,.025);
      transition: .2s ease;
    }

    .recommend-item:hover,
    .recommend-item:focus-visible {
      transform: translateY(-2px);
      border-color: rgba(255,184,77,.28);
      background: rgba(255,255,255,.045);
      box-shadow: var(--shadow-soft);
      outline: none;
    }

    .recommend-item img {
      width: 82px;
      height: 96px;
      object-fit: cover;
      border-radius: var(--radius-sm);
      border: var(--border);
    }

    .recommend-item strong {
      display: -webkit-box;
      margin-bottom: 6px;
      color: var(--text);
      font-size: 14px;
      line-height: 1.42;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .recommend-item span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.55;
    }

    .topic-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
    }

    .topic-cloud a {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding: 0 11px;
      border-radius: 999px;
      background: rgba(255,255,255,.035);
      border: var(--border);
      color: var(--muted);
      font-size: 13px;
      transition: .2s ease;
    }

    .topic-cloud a:hover,
    .topic-cloud a:focus-visible {
      color: var(--text);
      border-color: rgba(255,184,77,.26);
      background: rgba(255,184,77,.08);
      transform: translateY(-1px);
      outline: none;
    }

    .reading-tip {
      display: grid;
      gap: 10px;
      color: var(--muted);
      font-size: 14px;
    }

    .reading-tip p {
      margin: 0;
    }

    .reading-tip strong {
      color: var(--text);
    }

    .after-article {
      margin-top: 24px;
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 20px;
    }

    .next-card,
    .cta-card {
      border: var(--border);
      border-radius: var(--radius);
      background:
        linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018)),
        var(--panel);
      padding: 22px;
      box-shadow: var(--shadow-soft);
    }

    .next-card h2,
    .cta-card h2 {
      margin: 0 0 10px;
      font-size: 21px;
      line-height: 1.35;
    }

    .next-card p,
    .cta-card p {
      margin: 0 0 16px;
      color: var(--muted);
      font-size: 14px;
    }

    .cta-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .faq-section {
      margin-top: 34px;
    }

    .section-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 16px;
    }

    .section-heading h2 {
      margin: 0;
      font-size: 24px;
      line-height: 1.25;
    }

    .section-heading p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      max-width: 540px;
    }

    .faq-list {
      display: grid;
      gap: 12px;
    }

    .faq-item {
      border: var(--border);
      border-radius: var(--radius);
      background: rgba(255,255,255,.028);
      overflow: hidden;
    }

    .faq-item summary {
      list-style: none;
      cursor: pointer;
      padding: 17px 18px;
      font-weight: 700;
      color: var(--text);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .faq-item summary::-webkit-details-marker {
      display: none;
    }

    .faq-item summary::after {
      content: "+";
      color: var(--accent);
      font-size: 20px;
      line-height: 1;
      transition: .2s ease;
    }

    .faq-item[open] summary::after {
      transform: rotate(45deg);
    }

    .faq-item p {
      margin: 0;
      padding: 0 18px 18px;
      color: var(--muted);
      font-size: 14px;
    }

    .site-footer {
      border-top: var(--border);
      background: #0b0e13;
      padding: 34px 0;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 28px;
      align-items: start;
    }

    .site-footer h3 {
      margin: 0 0 10px;
      font-size: 18px;
    }

    .site-footer p {
      margin: 0;
      color: var(--muted);
      max-width: 620px;
      font-size: 14px;
    }

    .copyright {
      margin-top: 14px;
      color: var(--soft);
      font-size: 13px;
    }

    .footer-links {
      display: grid;
      grid-template-columns: repeat(2, minmax(88px, auto));
      gap: 10px 18px;
    }

    .footer-links a {
      color: var(--muted);
      font-size: 14px;
      transition: .2s ease;
    }

    .footer-links a:hover,
    .footer-links a:focus-visible {
      color: var(--accent);
      outline: none;
    }

    .back-top {
      position: fixed;
      right: 18px;
      bottom: 18px;
      z-index: 40;
      width: 44px;
      height: 44px;
      border-radius: var(--radius);
      border: var(--border);
      background: rgba(23,30,40,.9);
      color: var(--text);
      display: grid;
      place-items: center;
      box-shadow: var(--shadow-soft);
      transition: .2s ease;
    }

    .back-top:hover,
    .back-top:focus-visible {
      transform: translateY(-2px);
      border-color: rgba(255,184,77,.32);
      color: var(--accent);
      outline: none;
    }

    @media (max-width: 1024px) {
      .article-hero-inner,
      .article-layout {
        grid-template-columns: 1fr;
      }

      .cover-panel {
        max-width: 420px;
      }

      .cover-panel img {
        aspect-ratio: 16 / 10;
      }

      .side-rail {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .side-card:last-child {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 860px) {
      .header-inner {
        min-height: 68px;
      }

      .nav-toggle {
        display: inline-flex;
      }

      .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
        border: var(--border);
        border-radius: var(--radius);
        background: rgba(23,30,40,.96);
        box-shadow: var(--shadow);
      }

      .site-nav.open {
        display: flex;
      }

      .site-nav a {
        justify-content: center;
      }

      .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
      }

      .after-article,
      .side-rail {
        grid-template-columns: 1fr;
      }

      .side-card:last-child {
        grid-column: auto;
      }

      .section-heading {
        align-items: flex-start;
        flex-direction: column;
      }
    }

    @media (max-width: 520px) {
      .container {
        width: min(calc(100% - 24px), var(--container));
      }

      .brand {
        max-width: calc(100% - 58px);
      }

      .brand-text strong {
        font-size: 15px;
        max-width: 210px;
      }

      .brand-text span {
        display: none;
      }

      .article-hero-inner {
        padding: 28px 0 34px;
      }

      .article-title {
        font-size: 29px;
      }

      .article-summary {
        font-size: 15px;
      }

      main {
        padding: 24px 0 48px;
      }

      .reader-toolbar {
        align-items: flex-start;
        flex-direction: column;
      }

      .article-content {
        padding: 20px 16px;
        font-size: 16px;
        line-height: 1.85;
      }

      .article-content h2 {
        font-size: 23px;
      }

      .article-content h3 {
        font-size: 20px;
      }

      .recommend-item {
        grid-template-columns: 72px minmax(0, 1fr);
      }

      .recommend-item img {
        width: 72px;
        height: 86px;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .back-top {
        right: 12px;
        bottom: 12px;
      }
    }

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
