
    .detail-layout {
      max-width: 1000px;
      margin: 0 auto;
      padding: 32px 20px 60px;
      display: flex;
      gap: 40px;
    }

    /* === Sidebar TOC === */
    .detail-toc {
      width: 200px;
      flex-shrink: 0;
      position: sticky;
      top: 80px;
      align-self: flex-start;
      max-height: calc(100vh - 120px);
      overflow-y: auto;
    }

    .detail-toc h4 {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 12px;
    }

    .detail-toc a {
      display: block;
      padding: 6px 12px;
      font-size: 13px;
      color: var(--text-secondary);
      border-left: 2px solid transparent;
      transition: all 0.2s;
      margin-bottom: 2px;
    }

    .detail-toc a:hover,
    .detail-toc a.active {
      color: var(--primary);
      border-left-color: var(--primary);
      background: var(--primary-bg);
      border-radius: 0 4px 4px 0;
    }

    /* === Content === */
    .detail-body {
      flex: 1;
      min-width: 0;
    }

    .detail-body h1 {
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 16px;
      line-height: 1.4;
    }

    .detail-meta {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 32px;
      padding-bottom: 20px;
      border-bottom: 1px solid var(--border);
      font-size: 13px;
      color: var(--text-muted);
    }

    .detail-meta span {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .detail-body .article-content h2 {
      font-size: 20px;
      font-weight: 700;
      margin: 36px 0 16px;
      padding-bottom: 8px;
      border-bottom: 1px solid #f3f4f6;
    }

    .detail-body .article-content h3 {
      font-size: 17px;
      font-weight: 600;
      margin: 28px 0 12px;
    }

    .detail-body .article-content p {
      font-size: 15px;
      line-height: 1.8;
      color: var(--text-secondary);
      margin-bottom: 16px;
    }

    .detail-body .article-content ol,
    .detail-body .article-content ul {
      margin-bottom: 16px;
      padding-left: 20px;
    }

    .detail-body .article-content li {
      font-size: 15px;
      line-height: 1.8;
      color: var(--text-secondary);
      margin-bottom: 8px;
    }

    .detail-body .article-content ol li {
      list-style: decimal;
    }

    .detail-body .article-content ul li {
      list-style: disc;
    }

    /* === Info Box === */
    .info-box {
      padding: 16px 20px;
      border-radius: var(--radius-sm);
      margin: 20px 0;
      font-size: 14px;
      line-height: 1.7;
    }

    .info-box.tip {
      background: #f0fdf4;
      border: 1px solid #bbf7d0;
      color: #166534;
    }

    .info-box.warn {
      background: #fef3c7;
      border: 1px solid #fde68a;
      color: #92400e;
    }

    .info-box.info {
      background: #dbeafe;
      border: 1px solid #bfdbfe;
      color: #1e40af;
    }

    .info-box strong {
      display: block;
      margin-bottom: 4px;
    }

    /* === Step List === */
    .step-list {
      counter-reset: step;
      list-style: none;
      padding: 0;
    }

    .step-list li {
      counter-increment: step;
      display: flex;
      gap: 16px;
      margin-bottom: 24px;
      padding: 20px;
      background: var(--bg-gray);
      border-radius: var(--radius-sm);
      border: 1px solid var(--border);
      list-style: none;
    }

    .step-list li::before {
      content: counter(step);
      width: 32px;
      height: 32px;
      background: var(--primary);
      color: white;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 700;
      flex-shrink: 0;
    }

    .step-list li .step-content {
      flex: 1;
    }

    .step-list li .step-content strong {
      display: block;
      font-size: 15px;
      margin-bottom: 4px;
      color: var(--text-primary);
    }

    .step-list li .step-content p {
      font-size: 14px;
      color: var(--text-secondary);
      margin: 0;
    }

    /* === Bottom Nav === */
    .detail-nav-bottom {
      display: flex;
      justify-content: space-between;
      margin-top: 40px;
      padding-top: 20px;
      border-top: 1px solid var(--border);
    }

    .detail-nav-bottom a {
      font-size: 14px;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .detail-nav-bottom a:hover {
      text-decoration: underline;
    }

    /* === Related === */
    .detail-related {
      margin-top: 32px;
      padding: 24px;
      background: var(--bg-gray);
      border-radius: var(--radius);
    }

    .detail-related h4 {
      font-size: 16px;
      margin-bottom: 12px;
    }

    .detail-related ul {
      padding: 0;
    }

    .detail-related ul li {
      list-style: none;
      padding: 8px 0;
      border-bottom: 1px solid #f3f4f6;
    }

    .detail-related ul li:last-child {
      border-bottom: none;
    }

    .detail-related ul li a {
      font-size: 14px;
      color: var(--text-secondary);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .detail-related ul li a:hover {
      color: var(--primary);
    }

    .detail-related ul li a::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--primary);
      flex-shrink: 0;
    }

    /* === Feedback === */
    .detail-feedback {
      margin-top: 24px;
      padding: 20px;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      text-align: center;
    }

    .detail-feedback p {
      font-size: 14px;
      color: var(--text-secondary);
      margin-bottom: 12px;
    }

    .detail-feedback .fb-btns {
      display: flex;
      justify-content: center;
      gap: 12px;
    }

    @media (max-width: 768px) {
      .detail-layout {
        flex-direction: column;
      }

      .detail-toc {
        width: 100%;
        position: static;
        display: none;
      }

      .detail-body h1 {
        font-size: 22px;
      }

      .step-list li {
        flex-direction: column;
        gap: 12px;
      }
    }