/* =========================================================
       1. 主題變數：淺色（手揉宣紙暖陽）與深色（深邃月夜營火）
       ========================================================= */
    :root {
      /* 共同色彩 */
      --orange: #e06838;
      --orange-hover: #c95427;
      --orange-deep: #a34327;
      --moon: #f8ca5a;
      --moon-glow: #fef1b8;
      --green: #417763;
      --green-light: #edf6f1;
      
      --radius-sm: 10px;
      --radius-md: 18px;
      --radius-lg: 26px;
      --radius-full: 9999px;
      
      font-family: 'Outfit', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    /* 淺色模式 (預設) */
    html[data-theme="light"] {
      --ink: #26211c;
      --ink-soft: #3f362e;
      --muted: #76695c;
      --muted-light: #9e9183;
      --paper: #fcf9f2;
      --paper-warm: #f6efe2;
      --paper-card: rgba(255, 255, 255, 0.82);
      --card-hover: rgba(255, 255, 255, 0.96);
      --line: #e9decb;
      --line-subtle: rgba(218, 203, 180, 0.45);
      
      --topbar-bg: rgba(252, 249, 242, 0.88);
      --topbar-border: rgba(224, 212, 193, 0.7);
      --orange-bg: #faece4;
      --pill-bg: #fbf0dc;
      --pill-text: #945318;
      --pill-border: rgba(220, 160, 80, 0.35);
      
      --shadow-sm: 0 2px 8px rgba(78, 50, 24, 0.04);
      --shadow-card: 0 10px 28px -6px rgba(92, 61, 33, 0.07), 0 2px 8px -2px rgba(92, 61, 33, 0.03);
      --shadow-hover: 0 18px 36px -8px rgba(92, 61, 33, 0.12), 0 4px 12px -2px rgba(92, 61, 33, 0.05);
      --shadow-moon: 0 20px 50px rgba(22, 42, 38, 0.28), 0 0 40px rgba(248, 202, 90, 0.15);
      
      --bg-glow-1: rgba(248, 202, 90, 0.24);
      --bg-glow-2: rgba(224, 104, 56, 0.07);
      --bg-glow-3: rgba(65, 119, 99, 0.06);
      --bg-gradient: linear-gradient(180deg, #fdfaf4 0%, #f7f0e4 100%);
      
      --table-header: #f9eedc;
      --table-hover: rgba(254, 246, 235, 0.65);
      --notice-bg: linear-gradient(135deg, #fff3e0 0%, #faede0 100%);
      --notice-text: #5c3b1e;
      --footer-bg: rgba(250, 244, 233, 0.65);
      --code-bg: rgba(217, 98, 50, 0.08);
      --code-hover: rgba(217, 98, 50, 0.16);
    }

    /* 深色模式 (中秋露營夜空深色系：深墨黛藍夜空 + 暖金微光) */
    html[data-theme="dark"] {
      --ink: #f5eedf;
      --ink-soft: #dcd3c4;
      --muted: #a69888;
      --muted-light: #73695d;
      --paper: #121817;
      --paper-warm: #17211e;
      --paper-card: rgba(27, 39, 36, 0.75);
      --card-hover: rgba(33, 49, 45, 0.9);
      --line: #2e403c;
      --line-subtle: rgba(70, 96, 90, 0.35);
      
      --topbar-bg: rgba(18, 24, 23, 0.88);
      --topbar-border: rgba(46, 64, 60, 0.7);
      --orange-deep: #f28b5e;
      --orange-bg: rgba(224, 104, 56, 0.18);
      --pill-bg: rgba(248, 202, 90, 0.15);
      --pill-text: #fed976;
      --pill-border: rgba(248, 202, 90, 0.35);
      --green-light: rgba(65, 119, 99, 0.28);
      
      --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
      --shadow-card: 0 10px 30px -6px rgba(0, 0, 0, 0.45);
      --shadow-hover: 0 18px 40px -8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(248, 202, 90, 0.08);
      --shadow-moon: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 45px rgba(248, 202, 90, 0.2);
      
      --bg-glow-1: rgba(248, 202, 90, 0.12);
      --bg-glow-2: rgba(224, 104, 56, 0.09);
      --bg-glow-3: rgba(65, 119, 99, 0.12);
      --bg-gradient: linear-gradient(180deg, #121817 0%, #0d1211 100%);
      
      --table-header: #21322e;
      --table-hover: rgba(41, 61, 56, 0.55);
      --notice-bg: linear-gradient(135deg, #2a2219 0%, #1e1b17 100%);
      --notice-text: #fad8a5;
      --footer-bg: rgba(14, 19, 18, 0.85);
      --code-bg: rgba(242, 139, 94, 0.15);
      --code-hover: rgba(242, 139, 94, 0.25);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      color: var(--ink);
      background-color: var(--paper);
      background-image: 
        radial-gradient(ellipse 60% 45% at 85% 6%, var(--bg-glow-1), transparent 60%),
        radial-gradient(circle at 10% 25%, var(--bg-glow-2), transparent 45%),
        radial-gradient(circle at 90% 75%, var(--bg-glow-3), transparent 40%),
        var(--bg-gradient);
      background-attachment: fixed;
      line-height: 1.75;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      transition: background-color 0.35s ease, color 0.35s ease;
    }

    a { 
      color: var(--orange-deep); 
      text-decoration: none;
      transition: all 0.2s ease;
    }
    a:hover {
      color: var(--orange);
    }

    .wrap {
      width: min(1140px, calc(100% - 40px));
      margin: 0 auto;
    }

    /* 頂部導航列 */
    .topbar {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--topbar-bg);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--topbar-border);
      box-shadow: var(--shadow-sm);
      transition: all 0.3s ease;
    }

    .topbar-inner {
      min-height: 68px;
      display: flex;
      gap: 16px;
      align-items: center;
      justify-content: space-between;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--ink);
      text-decoration: none;
      font-weight: 800;
      font-size: 1.12rem;
      letter-spacing: -0.01em;
    }

    .brand-icon {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--moon), var(--orange));
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 8px rgba(224, 104, 56, 0.35);
      color: #fff;
      font-size: 0.95rem;
    }

    .nav-wrapper {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    nav {
      display: flex;
      gap: 4px;
      flex-wrap: wrap;
      align-items: center;
    }

    nav a {
      color: var(--muted);
      padding: 6px 13px;
      border-radius: var(--radius-full);
      font-size: 0.92rem;
      font-weight: 500;
      transition: all 0.2s ease;
    }

    nav a:hover, nav a:focus {
      color: var(--orange-deep);
      background: var(--orange-bg);
    }

    /* 主題切換按鈕 (Theme Switcher) */
    .theme-toggle {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--paper-card);
      border: 1px solid var(--line);
      color: var(--ink);
      padding: 6px 14px;
      border-radius: var(--radius-full);
      font-size: 0.88rem;
      font-weight: 600;
      cursor: pointer;
      box-shadow: var(--shadow-sm);
      transition: all 0.25s ease;
      user-select: none;
      white-space: nowrap;
    }

    .theme-toggle:hover {
      transform: translateY(-2px);
      border-color: var(--orange);
      background: var(--card-hover);
      box-shadow: var(--shadow-card);
    }

    .theme-toggle .icon {
      font-size: 1.05rem;
      line-height: 1;
      display: inline-block;
      transition: transform 0.3s ease;
    }

    .theme-toggle:hover .icon {
      transform: rotate(18deg) scale(1.1);
    }

    /* 首頁 Hero 區塊 */
    .hero {
      padding: 92px 0 80px;
      position: relative;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.18fr 0.82fr;
      gap: 56px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--orange-deep);
      font-family: 'Outfit', sans-serif;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-weight: 700;
      font-size: 0.82rem;
      margin-bottom: 14px;
      background: var(--orange-bg);
      padding: 4px 14px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(224, 104, 56, 0.2);
    }

    h1, h2, h3 {
      line-height: 1.25;
      margin: 0 0 16px;
      color: var(--ink);
    }

    h1 {
      font-family: 'Noto Serif TC', 'Outfit', serif;
      font-size: clamp(2.4rem, 5.2vw, 4.4rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      max-width: 720px;
    }

    h1 span.accent {
      color: var(--orange-deep);
      background: linear-gradient(120deg, var(--orange-deep), var(--orange));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      position: relative;
    }

    h2 {
      font-size: clamp(1.7rem, 3.2vw, 2.4rem);
      letter-spacing: -0.02em;
      font-weight: 700;
    }

    h3 {
      font-size: 1.22rem;
      font-weight: 700;
      letter-spacing: -0.01em;
      margin-bottom: 8px;
    }

    .lead {
      max-width: 620px;
      color: var(--muted);
      font-size: 1.15rem;
      line-height: 1.8;
      margin: 18px 0 0;
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-top: 36px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border-radius: var(--radius-full);
      padding: 13px 24px;
      font-size: 0.98rem;
      font-weight: 700;
      text-decoration: none;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      cursor: pointer;
    }

    .button.primary {
      color: #fffaf2;
      background: linear-gradient(135deg, var(--orange), #b8471e);
      border: 1px solid var(--orange-deep);
      box-shadow: 0 4px 14px rgba(224, 104, 56, 0.3);
    }

    .button.primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(224, 104, 56, 0.42);
      background: linear-gradient(135deg, #eb7444, var(--orange));
      color: #ffffff;
    }

    .button.secondary {
      color: var(--ink-soft);
      background: var(--paper-card);
      border: 1px solid var(--line);
      box-shadow: var(--shadow-sm);
    }

    .button.secondary:hover {
      transform: translateY(-2px);
      background: var(--card-hover);
      border-color: var(--orange);
      color: var(--orange-deep);
      box-shadow: var(--shadow-card);
    }

    /* 月見夜卡片 (Hero Moon Card) */
    .moon-card {
      min-height: 380px;
      border-radius: var(--radius-lg);
      padding: 36px;
      position: relative;
      background: linear-gradient(150deg, #1f3933 0%, #162b27 60%, #101f1c 100%);
      box-shadow: var(--shadow-moon);
      color: #fff9f0;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.14);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    html[data-theme="dark"] .moon-card {
      border: 1px solid rgba(248, 202, 90, 0.25);
      background: linear-gradient(150deg, #243e38 0%, #192e29 60%, #111d1a 100%);
    }

    /* 滿月柔光與月相光暈 */
    .moon-card::before {
      content: "";
      position: absolute;
      width: 175px;
      height: 175px;
      top: 32px;
      right: 32px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 35%, #fffdf4 0%, var(--moon) 60%, #d89f2d 100%);
      box-shadow: 
        0 0 0 16px rgba(248, 202, 90, 0.09),
        0 0 0 34px rgba(248, 202, 90, 0.04),
        0 0 80px rgba(248, 202, 90, 0.4);
      animation: floatMoon 8s ease-in-out infinite alternate;
    }

    @keyframes floatMoon {
      0% { transform: translateY(0) scale(1); filter: brightness(1); }
      100% { transform: translateY(-8px) scale(1.02); filter: brightness(1.08); }
    }

    .moon-card::after {
      content: "✦   ·   ✧   ·   ✦   ·  ⋆";
      position: absolute;
      left: 32px;
      top: 36px;
      color: rgba(255, 255, 255, 0.55);
      font-size: 0.82rem;
      letter-spacing: 12px;
      pointer-events: none;
    }

    .moon-card-content {
      position: relative;
      z-index: 2;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }

    .moon-card h2 {
      max-width: 290px;
      color: #fffaf0 !important;
      font-size: 1.85rem;
      font-weight: 700;
      line-height: 1.35;
      margin: 18px 0 0;
      font-family: 'Noto Serif TC', serif;
    }

    .moon-meta {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px 18px;
      margin-top: 28px;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.16);
    }

    .moon-meta div {
      color: #d1dfdb;
      font-size: 0.88rem;
    }

    .moon-meta strong {
      display: block;
      color: #fffbf2;
      font-size: 1.15rem;
      font-weight: 700;
      letter-spacing: -0.01em;
      margin-bottom: 2px;
    }

    /* 通用章節與結構 */
    section {
      padding: 82px 0;
      position: relative;
    }

    .section-head {
      display: flex;
      justify-content: space-between;
      gap: 32px;
      align-items: flex-end;
      margin-bottom: 38px;
    }

    .section-head p {
      margin: 0;
      max-width: 500px;
      color: var(--muted);
      font-size: 1.04rem;
      line-height: 1.7;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }

    /* 精緻卡片設計 */
    .card {
      background: var(--paper-card);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      padding: 30px 28px;
      box-shadow: var(--shadow-card);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
      display: flex;
      flex-direction: column;
    }

    .card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(224, 104, 56, 0.45);
      background: var(--card-hover);
    }

    .card p {
      color: var(--muted);
      margin: 0;
      font-size: 0.98rem;
      line-height: 1.7;
    }

    .card h3 {
      color: var(--ink);
      margin-top: 10px;
    }

    .number {
      font-family: 'Outfit', sans-serif;
      color: var(--orange);
      font-size: 2.2rem;
      font-weight: 800;
      line-height: 1;
      opacity: 0.95;
      letter-spacing: -0.03em;
    }

    /* 手帳標籤風格 (Pill) */
    .pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      align-self: flex-start;
      border-radius: var(--radius-full);
      padding: 4px 12px;
      background: var(--pill-bg);
      color: var(--pill-text);
      font-size: 0.8rem;
      font-weight: 700;
      border: 1px solid var(--pill-border);
      letter-spacing: 0.02em;
    }

    .pill::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--orange);
    }

    /* 統計數字區塊 (Facts) */
    .facts {
      background: var(--paper-warm);
      border-block: 1px solid var(--line);
      position: relative;
    }

    .facts::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle at 50% 50%, var(--bg-glow-2), transparent 70%);
      pointer-events: none;
    }

    .fact-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .fact {
      background: var(--paper-card);
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      padding: 26px 22px;
      box-shadow: var(--shadow-sm);
      transition: all 0.25s ease;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .fact:hover {
      transform: translateY(-2px);
      background: var(--card-hover);
      border-color: rgba(224, 104, 56, 0.4);
      box-shadow: var(--shadow-card);
    }

    .fact strong {
      display: block;
      font-family: 'Outfit', 'Noto Sans TC', sans-serif;
      font-size: 1.65rem;
      font-weight: 800;
      color: var(--orange-deep);
      letter-spacing: -0.02em;
      margin-bottom: 4px;
    }

    .fact span {
      font-size: 0.92rem;
      color: var(--muted);
      font-weight: 500;
    }

    /* 首發時間軸 (Timeline) */
    .timeline {
      display: grid;
      gap: 16px;
    }

    .time-item {
      display: grid;
      grid-template-columns: 160px 1fr;
      gap: 28px;
      align-items: center;
      padding: 22px 28px;
      background: var(--paper-card);
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
      transition: all 0.25s ease;
    }

    .time-item:hover {
      background: var(--card-hover);
      border-color: rgba(224, 104, 56, 0.35);
      transform: translateX(4px);
      box-shadow: var(--shadow-card);
    }

    .time {
      color: var(--orange-deep);
      font-family: 'Outfit', sans-serif;
      font-weight: 800;
      font-size: 1.05rem;
      letter-spacing: 0.01em;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .time::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--orange);
      box-shadow: 0 0 0 4px rgba(224, 104, 56, 0.18);
    }

    .time-item h3 {
      margin: 0 0 6px;
      font-size: 1.15rem;
    }

    .time-item p {
      margin: 0;
      color: var(--muted);
      font-size: 0.96rem;
      line-height: 1.65;
    }

    /* 籌備流程步驟 (Flow) */
    .flow {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
      margin-top: 24px;
    }

    .flow-step {
      position: relative;
      padding: 26px 22px;
      background: var(--paper-card);
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
      transition: all 0.25s ease;
      display: flex;
      flex-direction: column;
    }

    .flow-step:hover {
      transform: translateY(-3px);
      background: var(--card-hover);
      border-color: rgba(224, 104, 56, 0.4);
      box-shadow: var(--shadow-card);
    }

    .flow-step h3 {
      font-size: 1.08rem;
      margin: 12px 0 8px;
    }

    .flow-step p {
      color: var(--muted);
      font-size: 0.92rem;
      line-height: 1.6;
      margin: 0;
    }

    /* 表格設計 (Table) */
    .table-container {
      overflow-x: auto;
      background: var(--paper-card);
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-card);
    }

    table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
    }

    th, td {
      padding: 16px 20px;
      text-align: left;
      vertical-align: middle;
      border-bottom: 1px solid var(--line);
    }

    th {
      color: var(--orange-deep);
      background: var(--table-header);
      font-size: 0.92rem;
      font-weight: 700;
      letter-spacing: 0.03em;
    }

    td {
      font-size: 0.96rem;
      color: var(--ink-soft);
    }

    tr:last-child td {
      border-bottom: none;
    }

    tbody tr {
      transition: background 0.15s ease;
    }

    tbody tr:hover {
      background: var(--table-hover);
    }

    /* 角色卡片 (Role Cards) 人味與徽章 */
    .role-card {
      border-left: 4px solid var(--orange);
    }

    .role-badge {
      display: inline-block;
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--green);
      background: var(--green-light);
      padding: 2px 10px;
      border-radius: var(--radius-full);
      margin-bottom: 6px;
    }

    /* 溫暖叮嚀框 (Notice) */
    .notice {
      border-left: 4px solid var(--orange);
      padding: 22px 26px;
      background: var(--notice-bg);
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      color: var(--notice-text);
      box-shadow: var(--shadow-sm);
      line-height: 1.75;
      font-size: 1.02rem;
    }

    .notice strong {
      color: var(--orange-deep);
    }

    .doc-links {
      margin-top: 24px;
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      color: var(--muted);
      font-size: 0.95rem;
    }

    .doc-links a {
      font-weight: 600;
      padding: 5px 12px;
      border-radius: 6px;
      background: var(--code-bg);
    }

    .doc-links a:hover {
      background: var(--code-hover);
    }

    /* 頁尾 Footer */
    footer {
      padding: 48px 0 64px;
      border-top: 1px solid var(--line);
      background: var(--footer-bg);
      color: var(--muted);
      font-size: 0.92rem;
    }

    footer p {
      margin: 6px 0;
    }

    .footer-brand {
      color: var(--ink);
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* 響應式調整 */
    @media (max-width: 900px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      .grid-3, .grid-2 {
        grid-template-columns: 1fr;
      }
      .fact-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .flow {
        grid-template-columns: repeat(2, 1fr);
      }
      .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
      }
    }

    @media (max-width: 600px) {
      .wrap {
        width: min(100% - 28px, 1140px);
      }
      .topbar-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 0;
        gap: 12px;
      }
      .nav-wrapper {
        justify-content: space-between;
        width: 100%;
      }
      nav {
        gap: 2px;
      }
      nav a {
        padding: 4px 8px;
        font-size: 0.85rem;
      }
      .theme-toggle {
        padding: 5px 10px;
        font-size: 0.82rem;
      }
      .hero {
        padding: 56px 0 48px;
      }
      .moon-card {
        min-height: 320px;
        padding: 26px;
      }
      .moon-card::before {
        width: 130px;
        height: 130px;
        top: 24px;
        right: 20px;
      }
      .moon-meta {
        grid-template-columns: 1fr;
        gap: 10px;
      }
      .fact-grid, .flow {
        grid-template-columns: 1fr;
      }
      .time-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 18px 20px;
      }
      th, td {
        padding: 12px 14px;
        font-size: 0.88rem;
      }
    }

@media print {
      .topbar, .hero-actions, .theme-toggle { display: none; }
      body { background: white; color: black; }
      section, .hero { padding: 25px 0; }
      .card, .moon-card, .table-container { box-shadow: none; break-inside: avoid; }
      a { color: inherit; }
    }

    /* 完整使用流程頁 */
    .guide-hero {
      padding-bottom: 58px;
    }

    .guide-hero .lead {
      max-width: 720px;
    }

    .guide-toc {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      margin-top: 28px;
    }

    .guide-toc a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 58px;
      padding: 14px 16px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: var(--paper-card);
      color: var(--ink-soft);
      font-weight: 650;
      box-shadow: var(--shadow-sm);
    }

    .guide-toc a:hover {
      transform: translateY(-2px);
      border-color: rgba(224, 104, 56, 0.45);
      background: var(--card-hover);
      color: var(--orange-deep);
      box-shadow: var(--shadow-card);
    }

    .guide-toc a span:last-child {
      color: var(--orange);
      font-size: 1.05rem;
    }

    .guide-section {
      scroll-margin-top: 92px;
    }

    .quick-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
    }

    .command-block {
      margin: 16px 0 0;
      padding: 18px 20px;
      overflow-x: auto;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: var(--code-bg);
      color: var(--ink-soft);
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
      font-size: 0.9rem;
      line-height: 1.7;
      white-space: pre;
    }

    .status-flow {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin: 22px 0 0;
    }

    .status-node {
      padding: 8px 13px;
      border-radius: var(--radius-full);
      border: 1px solid var(--pill-border);
      background: var(--pill-bg);
      color: var(--pill-text);
      font-family: 'Outfit', sans-serif;
      font-size: 0.86rem;
      font-weight: 800;
      letter-spacing: 0.02em;
    }

    .status-arrow {
      color: var(--muted-light);
      font-weight: 800;
    }

    .guide-list {
      margin: 14px 0 0;
      padding-left: 1.25rem;
      color: var(--muted);
    }

    .guide-list li + li {
      margin-top: 8px;
    }

    .guide-list strong {
      color: var(--ink-soft);
    }

    .callout {
      margin-top: 22px;
      padding: 20px 22px;
      border: 1px solid var(--line);
      border-left: 4px solid var(--green);
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      background: var(--paper-card);
      color: var(--muted);
      box-shadow: var(--shadow-sm);
    }

    .callout strong {
      color: var(--ink);
    }

    .callout.warning {
      border-left-color: var(--orange);
      background: var(--notice-bg);
      color: var(--notice-text);
    }

    .version-strip {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      margin-top: 20px;
    }

    .version-card {
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      padding: 22px;
      background: var(--paper-card);
      box-shadow: var(--shadow-sm);
    }

    .version-card strong {
      display: block;
      margin-bottom: 5px;
      color: var(--ink);
      font-size: 1.1rem;
    }

    .version-card p {
      margin: 0;
      color: var(--muted);
    }

    .version-card code {
      word-break: break-word;
    }

    .step-list {
      counter-reset: guide-step;
      display: grid;
      gap: 14px;
      margin-top: 22px;
    }

    .step-item {
      counter-increment: guide-step;
      display: grid;
      grid-template-columns: 42px 1fr;
      gap: 16px;
      align-items: start;
      padding: 18px 20px;
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      background: var(--paper-card);
      box-shadow: var(--shadow-sm);
    }

    .step-item::before {
      content: counter(guide-step, decimal-leading-zero);
      display: grid;
      place-items: center;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--orange-bg);
      color: var(--orange-deep);
      font-family: 'Outfit', sans-serif;
      font-weight: 800;
    }

    .step-item h3 {
      margin: 1px 0 4px;
      font-size: 1.02rem;
    }

    .step-item p {
      margin: 0;
      color: var(--muted);
    }

    .guide-meta {
      color: #d1dfdb;
      font-size: 0.9rem;
      line-height: 1.7;
      max-width: 320px;
    }

    .guide-meta strong {
      color: #fffaf0;
    }

    @media (max-width: 900px) {
      .guide-toc {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .quick-grid, .version-strip {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 600px) {
      .guide-toc {
        grid-template-columns: 1fr;
      }
      .step-item {
        grid-template-columns: 36px 1fr;
        padding: 16px;
      }
      .step-item::before {
        width: 36px;
        height: 36px;
      }
      .command-block {
        padding: 15px 16px;
        font-size: 0.84rem;
      }
    }
