/* 清明上河豚 Blox Fruits 拳法攻略樣式（guide_fighting_godhuman） */
.site-main .gh-jump{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.site-main .gh-jump a{display:inline-flex;align-items:center;min-height:44px;padding:9px 14px;border-radius:12px;background:#eef2ff;color:#243b70;font-weight:750;text-decoration:none}
.site-main .gh-prerequisites{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;margin-top:12px}
.site-main .gh-prerequisites a{display:inline-block;padding:5px 0;color:#1e3a8a}
.site-main .gh-material-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 22px}
.site-main .gh-material{display:grid;grid-template-columns:56px minmax(0,1fr);gap:14px;padding:18px;border:1px solid #d8e0ee;border-radius:17px;background:linear-gradient(145deg,#fff,#f4f8ff);color:#20365b;text-decoration:none;min-width:0}
.site-main .gh-material img{object-fit:contain;max-width:100%}
.site-main .gh-material strong{display:block;font-size:1.13rem}
.site-main .gh-material small{display:block;margin-top:4px;color:#5b6474}
.site-main .gh-material p{color:#475569;font-size:.91rem;line-height:1.7;margin:10px 0}
.site-main .gh-material span{font-size:.9rem;color:#1d4ed8;font-weight:750}
.site-main .gh-material:focus-visible,.site-main .gh-jump a:focus-visible{outline:3px solid #6366f1;outline-offset:3px}
.site-main .gh-credit{font-size:.88rem;color:#526077;line-height:1.75}
.site-main #requirements,.site-main #materials,.site-main #teacher,.site-main #skills{scroll-margin-top:160px}
@media(max-width:650px){.site-main .gh-material-grid,.site-main .gh-prerequisites{grid-template-columns:1fr}.site-main .gh-material{padding:16px}.site-main .gh-jump a{flex:1 1 40%;justify-content:center}}
body.dark-mode .site-main .gh-material{background:#17233b;border-color:#43536d;color:#e2e8f0}
body.dark-mode .site-main .gh-material p,body.dark-mode .site-main .gh-material small,body.dark-mode .site-main .gh-credit{color:#c2cee0}
body.dark-mode .site-main .gh-material strong,body.dark-mode .site-main #teacher p,body.dark-mode .site-main #teacher strong{color:#e2e8f0}
body.dark-mode .site-main .gh-material span,body.dark-mode .site-main .gh-prerequisites a{color:#93c5fd}
body.dark-mode .site-main .gh-jump a{background:#283957;color:#e0e7ff}
body.dark-mode .site-main #teacher{background:#172d48;color:#e2e8f0}
/* === 頁面專屬樣式 (局部隔離) === */
    /* 所有樣式皆限制在 .site-main 內部 */
    
    .site-main {
      --primary-color: #2c3e50; /* 深邃藍 */
      --accent-color: #f1c40f;  /* 神聖金 */
      --text-dark: #2d3436;
      --bg-card: #ffffff;
    }

    /* 上方快速導覽列 */
    .site-main .guide-subnav {
      display: flex;
      overflow-x: auto;
      white-space: nowrap;
      padding: 15px 10px;
      background: #fff;
      border-bottom: 1px solid #eee;
      margin-bottom: 20px;
      align-items: center;
      gap: 10px;
    }
    .site-main .guide-subnav-label {
      font-weight: bold;
      color: #555;
    }
    .site-main .guide-subnav a {
      display: inline-block;
      padding: 6px 14px;
      background: #f1f3f5;
      color: #333;
      border-radius: 20px;
      text-decoration: none;
      font-size: 0.9rem;
      transition: all 0.2s ease;
    }
    .site-main .guide-subnav a:hover, 
    .site-main .guide-subnav a.active {
      background: var(--primary-color);
      color: #fff;
      box-shadow: 0 2px 4px rgba(44, 62, 80, 0.4);
    }

    /* 內容卡片樣式 */
    .site-main .guide-detail-card {
      background: var(--bg-card);
      border-radius: 12px;
      padding: 30px 25px;
      margin-bottom: 25px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
      border: 1px solid #e9ecef;
    }

    /* 標題帶有 Emoji */
    .site-main .guide-detail-card h2 {
      display: flex;
      align-items: center;
      margin-top: 0;
      color: var(--text-dark);
      border-bottom: 3px solid #f0f0f0; 
      padding-bottom: 15px;
      margin-bottom: 20px;
      font-size: 1.5rem;
    }
    .site-main .h2-emoji {
      margin-right: 12px;
      font-size: 1.8rem;
    }

    /* 列表優化 */
    .site-main ul, .site-main ol {
      padding-left: 20px;
      line-height: 1.8;
      color: #444;
    }
    .site-main ul li, .site-main ol li {
      margin-bottom: 8px;
    }

    /* 強調文字框 */
    .site-main .highlight-box {
      background: #fdfcf5; /* 淺金背景 */
      border-left: 4px solid var(--accent-color);
      padding: 15px;
      border-radius: 6px;
      margin: 15px 0;
      color: #333;
      font-weight: 500;
      line-height: 1.6;
    }
    .site-main .highlight-warning {
      background: #fff3cd;
      border-left: 4px solid #ffc107;
      color: #856404;
      font-weight: bold;
    }

    /* 拳法 Hero 區塊 (圖+文) */
    .site-main .fs-hero {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 20px;
    }
    .site-main .fs-hero-icon {
      width: 80px;
      height: 80px;
      border-radius: 15px;
      object-fit: cover;
      border: 2px solid #eee;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      background: #fdfdfd;
    }
    .site-main .fs-hero-text h1 {
      margin: 0 0 5px 0;
      font-size: 1.8rem;
      color: var(--text-dark);
    }
    .site-main .fs-hero-sub {
      color: #666;
      font-size: 0.95rem;
    }
    .site-main .tag {
      display: inline-block;
      padding: 3px 8px;
      border-radius: 4px;
      font-size: 0.8rem;
      margin-right: 5px;
      font-weight: normal;
    }
    .site-main .tag-god { background: #f1c40f; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,0.2); border: 1px solid #d4ac0d; }

    /* 表格樣式優化 */
    .site-main .table-responsive {
      overflow-x: auto;
      border-radius: 8px;
    }
    .site-main .skill-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 10px;
      font-size: 0.95rem;
      min-width: 500px;
    }
    .site-main .skill-table th {
      background: #f4f6f7;
      color: #2c3e50;
      padding: 12px;
      text-align: left;
      font-weight: bold;
      border: 1px solid #dcdde1;
    }
    .site-main .skill-table td {
      border: 1px solid #eee;
      padding: 12px;
      vertical-align: middle;
      color: #444;
    }
    .site-main .skill-key {
      display: inline-block;
      width: 28px;
      height: 28px;
      line-height: 28px;
      text-align: center;
      border-radius: 4px;
      background: var(--primary-color);
      color: #fff;
      font-weight: bold;
      font-size: 0.9rem;
    }

    /* 底部推薦按鈕網格 */
    .site-main .guide-buttons-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 15px;
      margin-top: 15px;
    }
    .site-main .guide-button {
      display: flex;
      flex-direction: column;
      text-align: left;
      padding: 15px;
      border-radius: 12px;
      border: 1px solid #ccc;
      text-decoration: none;
      color: #333;
      transition: transform 0.2s, box-shadow 0.2s;
      background: #fff;
    }
    .site-main .guide-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
      border-color: var(--primary-color);
    }
    .site-main .button-emoji { font-size: 1.6rem; margin-bottom: 5px; }
    .site-main .button-title { font-weight: bold; font-size: 1.1rem; margin-bottom: 4px; color: #2c3e50; }
    .site-main .button-desc { font-size: 0.85rem; color: #6c757d; line-height: 1.4; }

    /* 手機版適配 */
    @media (max-width: 600px) {
      .site-main .fs-hero {
        flex-direction: column;
        text-align: center;
      }
    }
