/* 歸零官網 Bootstrap 的預設樣式（出自 components/lp-reset.css） */
    .lp, .lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
    .lp h1, .lp h2, .lp h3, .lp h4, .lp h5, .lp h6 { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; }
    .lp p, .lp ul, .lp ol, .lp dl, .lp dd, .lp figure, .lp blockquote { margin: 0; }
    .lp ul, .lp ol { padding: 0; }
    .lp a { color: inherit; text-decoration: none; }
    .lp img, .lp svg, .lp video { vertical-align: middle; max-width: 100%; }
    .lp button { font: inherit; color: inherit; background: none; border: 0; padding: 0; border-radius: 0; }
    .lp label { display: inline; margin: 0; }
    .lp p, .lp dt, .lp dd, .lp li { line-height: inherit; font-size: inherit; }
    .lp.lp-projects p, .lp.lp-projects dd { text-wrap: pretty; }

    /* 設計 token（出自 OA_DESIGN.md） */
    .lp.lp-projects {
      --pj-orange: #FFA300;
      --pj-orange-light: #FFF3DC;
      --pj-text: #2D2E32;
      --pj-dark: #12151E;
      --pj-gray: #5B616D;
      --pj-line: #E6E8EC;
      --pj-surface: #FFFFFF;
      --pj-light: #FAF9F6;
      --pj-link: #00776B;
      --pj-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
      --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
      --e1: 0 2px 8px rgba(18,21,30,0.06);
      --e2: 0 8px 24px rgba(18,21,30,0.08);
      --e3: 0 16px 44px rgba(18,21,30,0.11);
      --e-cta: 0 8px 24px rgba(255,163,0,0.32);
      --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
      --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
      --dur-fast: 120ms; --dur-base: 220ms;
      --pj-nav-h: 60px;
      display: block;
      background: var(--pj-light);
      color: var(--pj-text);
      font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
      font-size: 16px;
      line-height: 1.7;
    }
    .lp.lp-projects ::selection { background: var(--pj-orange-light); color: var(--pj-text); }
    .lp.lp-projects :focus-visible { outline: 3px solid var(--pj-text); outline-offset: 3px; border-radius: 4px; }
    .lp .lp-pj-wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
    @media (min-width: 768px) { .lp .lp-pj-wrap { padding: 0 24px; } }

    /* 試聽按鈕：全頁唯一的橘實心 */
    .lp .lp-pj-cta {
      display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
      padding: 12px 32px; border: 2px solid transparent; border-radius: var(--r-pill);
      background: var(--pj-orange); color: var(--pj-text); box-shadow: var(--e-cta);
      font-size: 16px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.4; cursor: pointer; white-space: nowrap;
      transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) var(--ease-out);
    }
    .lp .lp-pj-cta:active { transform: scale(0.97); transition-duration: var(--dur-fast); }

    /* 階段膠囊：淺橘底＋深墨字（橘實心只給試聽按鈕） */
    .lp .lp-pj-pill {
      display: inline-flex; align-items: center; padding: 4px 14px; border-radius: var(--r-pill);
      background: var(--pj-orange-light); color: var(--pj-text);
      font-size: 14px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.5;
    }
    .lp .lp-pj-pill--sm { padding: 2px 12px; font-size: 13px; }

    /* ── Hero：起點對終點 ── */
    .lp .lp-pj-hero { padding: 24px 0 40px; background: var(--pj-surface); border-bottom: 1px solid var(--pj-line); }
    .lp .lp-pj-hero-top { display: grid; gap: 12px; }
    .lp .lp-pj-hero h1 {
      font-size: clamp(34px, 5.4vw, 68px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--pj-dark);
    }
    .lp .lp-pj-hero-side { display: grid; gap: 16px; justify-items: start; }
    .lp .lp-pj-hero-lead { font-size: 16px; color: var(--pj-text); max-width: 34em; }
    .lp .lp-pj-nowrap { white-space: nowrap; }
    .lp .lp-pj-h2-stage { display: block; }

    .lp .lp-pj-duel { margin-top: 28px; display: grid; gap: 8px; }
    .lp .lp-pj-spec { margin: 0; min-width: 0; }
    .lp .lp-pj-spec-media { position: relative; }
    .lp .lp-pj-spec-shot {
      display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); background: var(--pj-dark);
    }
    .lp .lp-pj-spec--start .lp-pj-spec-shot { object-position: center top; }
    .lp .lp-pj-spec--end .lp-pj-spec-shot { object-position: center top; background: var(--pj-surface); border: 1px solid var(--pj-line); }
    .lp .lp-pj-spec-code {
      position: absolute; padding: 0; border: 3px solid var(--pj-surface); border-radius: var(--r-sm);
      background: var(--pj-surface); box-shadow: var(--e2); overflow: hidden;
    }
    .lp .lp-pj-spec-code img { display: block; width: 100%; height: auto; }
    .lp .lp-pj-spec--start .lp-pj-spec-code { right: -6px; bottom: -44px; width: 40%; }
    .lp .lp-pj-spec--end .lp-pj-spec-code { left: 12px; right: -6px; bottom: -34px; background: var(--pj-dark); border-color: var(--pj-dark); }
    .lp .lp-pj-spec figcaption { margin-top: 54px; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; color: var(--pj-gray); }
    .lp .lp-pj-spec figcaption b { font-weight: 700; color: var(--pj-dark); }
    .lp .lp-pj-spec--end figcaption { margin-top: 46px; }
    .lp .lp-pj-duel-arrow {
      display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 0 8px;
      color: var(--pj-text); font-size: 15px; font-weight: 700; letter-spacing: 0.02em;
    }
    .lp .lp-pj-duel-arrow svg { flex: none; width: 28px; height: 48px; }
    .lp .lp-pj-duel-arrow .lp-pj-arrow-h { display: none; }

    /* 學習路線軌道：9 個階段 */
    .lp .lp-pj-path { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--pj-line); --path-gap: 12px; }
    .lp .lp-pj-path-title { font-size: 22px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; color: var(--pj-dark); }
    .lp .lp-pj-path-note { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--pj-gray); max-width: 40em; }
    .lp .lp-pj-path-scroll {
      margin: 24px -16px 0; padding: 4px 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
      scrollbar-width: none; overscroll-behavior-x: contain;
      -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
      mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
    }
    .lp .lp-pj-path-scroll::-webkit-scrollbar { display: none; }
    .lp .lp-pj-path-scroll.is-end { -webkit-mask-image: none; mask-image: none; }
    .lp .lp-pj-path-grid {
      display: grid; grid-template-columns: repeat(9, calc((100vw - 16px - 2 * var(--path-gap)) / 2.3)); column-gap: var(--path-gap); width: max-content;
    }
    .lp .lp-pj-path-groups { margin-bottom: 12px; }
    .lp .lp-pj-path-group {
      position: relative; grid-column: span 2; padding-bottom: 10px;
      font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: 0.02em; color: var(--pj-gray); white-space: nowrap;
    }
    .lp .lp-pj-path-group--wide { grid-column: span 3; }
    .lp .lp-pj-path-group::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
      border: 1px solid var(--pj-gray); border-bottom: 0; opacity: 0.55;
    }
    .lp .lp-pj-path-list { list-style: none; }
    .lp .lp-pj-path-list li { min-width: 0; scroll-snap-align: start; }
    .lp .lp-pj-path-step { display: block; color: var(--pj-text); border-radius: var(--r-sm); }
    .lp .lp-pj-path-thumb {
      display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
      border: 1px solid var(--pj-line); border-radius: var(--r-sm); background: var(--pj-light);
      transition: transform var(--dur-base) var(--ease-spring), border-color var(--dur-fast) var(--ease-out);
    }
    .lp .lp-pj-path-rail { position: relative; display: block; height: 16px; margin-top: 14px; }
    .lp .lp-pj-path-rail::before {
      content: ""; position: absolute; left: 0; right: calc(-1 * var(--path-gap)); top: 50%; height: 1px; background: var(--pj-text);
    }
    .lp .lp-pj-path-list li:last-child .lp-pj-path-rail::before { right: 2px; }
    .lp .lp-pj-path-list li:last-child .lp-pj-path-rail::after {
      content: ""; position: absolute; right: 2px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
      border-top: 1px solid var(--pj-text); border-right: 1px solid var(--pj-text); transform: rotate(45deg);
    }
    .lp .lp-pj-path-node {
      position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px;
      border-radius: var(--r-pill); background: var(--pj-text);
      transition: transform var(--dur-base) var(--ease-spring);
    }
    .lp .lp-pj-path-num {
      display: block; margin-top: 10px; font-family: var(--pj-mono); font-size: 13px; font-weight: 500;
      font-variant-numeric: tabular-nums; letter-spacing: 0.04em; color: var(--pj-gray); line-height: 1.4;
    }
    .lp .lp-pj-path-name { display: block; margin-top: 2px; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--pj-dark); word-break: keep-all; }

    @media (min-width: 992px) {
      .lp .lp-pj-path { margin-top: 56px; padding-top: 40px; --path-gap: 16px; }
      .lp .lp-pj-path-title { font-size: 24px; }
      .lp .lp-pj-path-scroll { margin: 32px 0 0; padding: 4px 0 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
      .lp .lp-pj-path-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); width: auto; }
    }

    @media (min-width: 992px) {
      .lp .lp-pj-hero { padding: 48px 0 56px; }
      .lp .lp-pj-hero-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
      .lp .lp-pj-hero-side { padding-left: 28px; border-left: 2px solid var(--pj-text); gap: 20px; }
      .lp.lp-projects .lp-pj-hero-lead { font-size: 18px; text-wrap: balance; }
      .lp .lp-pj-duel { margin-top: 40px; grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr); gap: 0; align-items: start; }
      .lp .lp-pj-spec--start .lp-pj-spec-code { right: -16px; bottom: -64px; width: 38%; }
      .lp .lp-pj-spec--end .lp-pj-spec-code { left: 24px; right: -16px; bottom: -40px; }
      .lp .lp-pj-spec figcaption { margin-top: 80px; font-size: 15px; }
      .lp .lp-pj-spec--end figcaption { margin-top: 56px; }
      .lp .lp-pj-duel-arrow { flex-direction: column; gap: 6px; align-self: start; margin-top: 110px; padding: 0 16px; }
      .lp .lp-pj-duel-arrow .lp-pj-arrow-v { display: none; }
      .lp .lp-pj-duel-arrow .lp-pj-arrow-h { display: block; width: 92px; height: 28px; }
    }

    /* ── 頁內階段導覽（捲過 hero 後出現） ── */
    .lp .lp-pj-nav {
      position: fixed; left: 0; right: 0; top: var(--oa-header-offset, 0); z-index: 95;
      background: var(--pj-surface); border-bottom: 1px solid var(--pj-line);
      transform: translateY(-120%); visibility: hidden;
      transition: transform .28s ease, top .28s ease, visibility 0s linear .28s;
    }
    .lp .lp-pj-nav.is-shown { transform: none; visibility: visible; transition: transform .28s ease, top .28s ease; }
    .lp .lp-pj-nav-inner { max-width: 1140px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 12px; min-height: var(--pj-nav-h); }
    .lp .lp-pj-nav-links { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); padding-right: 24px; flex: 1 1 auto; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
    .lp .lp-pj-nav-links::-webkit-scrollbar { display: none; }
    .lp .lp-pj-nav-links a {
      flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
      border-radius: var(--r-pill); font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--pj-text);
    }
    .lp .lp-pj-nav-links a span { font-family: var(--pj-mono); font-weight: 700; font-size: 13px; color: var(--pj-gray); }
    .lp .lp-pj-nav-links a[aria-current="true"] { background: var(--pj-orange-light); font-weight: 700; }
    .lp .lp-pj-nav-links a[aria-current="true"] span { color: var(--pj-text); }
    .lp .lp-pj-nav .lp-pj-cta { flex: none; min-height: 44px; padding: 8px 18px; font-size: 14px; box-shadow: none; }
    @media (min-width: 768px) { .lp .lp-pj-nav-inner { padding: 8px 24px; } }
    @media (min-width: 1200px) {
      .lp .lp-pj-nav-links { -webkit-mask-image: none; mask-image: none; padding-right: 0; }
      .lp .lp-pj-nav-links a { padding: 0 10px; }
    }

    /* ── 課程區塊 ── */
    .lp .lp-pj-course { padding: 48px 0; scroll-margin-top: calc(var(--oa-header-offset, 0px) + var(--pj-nav-h)); }
    .lp .lp-pj-course--alt { background: var(--pj-surface); }
    .lp .lp-pj-part { scroll-margin-top: calc(var(--oa-header-offset, 0px) + var(--pj-nav-h) + 8px); }
    .lp .lp-pj-course-inner { display: grid; gap: 24px; }
    .lp .lp-pj-course-head h2 {
      font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--pj-dark);
    }
    .lp .lp-pj-course-intro { margin-top: 12px; max-width: 34em; color: var(--pj-text); font-size: 16px; }
    .lp .lp-pj-courselink {
      display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 8px;
      color: var(--pj-link); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
    }
    .lp .lp-pj-courselink span { transition: transform var(--dur-base) var(--ease-spring); }
    .lp .lp-pj-part + .lp-pj-part { margin-top: 48px; }
    .lp .lp-pj-part-title { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--pj-dark); }

    .lp .lp-pj-grid { display: grid; gap: 40px; }
    @media (min-width: 768px) {
      .lp .lp-pj-course { padding: 72px 0; }
      .lp .lp-pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
    }
    @media (min-width: 992px) {
      .lp .lp-pj-course { padding: 96px 0; }
      .lp .lp-pj-course-inner { grid-template-columns: 290px minmax(0, 1fr); gap: 56px; align-items: start; }
      .lp .lp-pj-course-head { position: sticky; top: calc(var(--oa-header-offset, 0px) + var(--pj-nav-h) + 32px); }
    }

    /* ── 作品卡 ── */
    .lp .lp-pj-card { min-width: 0; }
    .lp .lp-pj-shot {
      position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--pj-dark);
    }
    .lp .lp-pj-shot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
    .lp .lp-pj-code {
      position: absolute; right: 10px; bottom: 10px; display: block; width: 50%;
      overflow: hidden; border: 3px solid var(--pj-surface); border-radius: var(--r-sm); background: var(--pj-surface);
      box-shadow: var(--e1); cursor: zoom-in;
      transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) var(--ease-out);
    }
    .lp .lp-pj-code--wide { width: 64%; }
    .lp .lp-pj-code { display: flex; flex-direction: column; }
    .lp .lp-pj-code img { order: 2; display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; object-position: left center; background: var(--pj-surface); border-radius: 4px; }
    .lp .lp-pj-code--wide img { aspect-ratio: auto; }
    @media (max-width: 767.98px) { .lp .lp-pj-code { width: 45%; right: 8px; bottom: 8px; } .lp .lp-pj-code--wide { width: 58%; } }
    .lp .lp-pj-code-tag {
      order: 1; flex: none; display: flex; align-items: center; gap: 4px; padding: 1px 4px 3px;
      background: var(--pj-surface); color: var(--pj-text);
      font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: 0.02em;
    }
    .lp .lp-pj-code:active { transform: scale(0.97); }
    .lp .lp-pj-lesson { margin-top: 16px; font-size: 13px; font-weight: 500; color: var(--pj-gray); letter-spacing: 0.02em; }
    .lp .lp-pj-card-title { margin-top: 2px; font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--pj-dark); }
    .lp .lp-pj-facts { margin-top: 12px; display: grid; gap: 10px; }
    .lp .lp-pj-facts dt { font-size: 13px; font-weight: 500; color: var(--pj-gray); letter-spacing: 0.02em; line-height: 1.4; }
    .lp .lp-pj-facts dd { margin: 2px 0 0; font-size: 16px; line-height: 1.65; }
    .lp .lp-pj-facts-key { padding-top: 10px; border-top: 1px solid var(--pj-line); }
    .lp .lp-pj-facts-key dd { font-weight: 700; color: var(--pj-dark); }

    /* 手機每課先顯示 3 張（有 JS 才收合） */
    .lp .lp-pj-more { display: none; }
    @media (max-width: 767.98px) {
      .lp.lp-js .lp-pj-grid:not(.is-open) > .lp-pj-card:nth-child(n+4) { display: none; }
      .lp.lp-js .lp-pj-more:not([hidden]) {
        display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 28px;
        border: 1px solid var(--pj-line); border-radius: var(--r-pill); background: var(--pj-surface);
        color: var(--pj-text); font-size: 15px; font-weight: 700; cursor: pointer;
      }
    }

    /* ── 中段與底部試聽 ── */
    .lp .lp-pj-band { padding: 40px 0; background: var(--pj-orange-light); }
    .lp .lp-pj-band-inner { display: grid; gap: 16px; align-items: center; }
    .lp .lp-pj-band h2 { font-size: clamp(22px, 2.5vw, 28px); font-weight: 700; line-height: 1.3; color: var(--pj-dark); }
    .lp .lp-pj-band p { margin-top: 8px; max-width: 36em; }
    .lp .lp-pj-band .lp-pj-cta { justify-self: start; }
    @media (min-width: 768px) {
      .lp .lp-pj-band { padding: 48px 0; }
      .lp .lp-pj-band-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; }
    }
    .lp .lp-pj-end { padding: 64px 0 72px; background: var(--pj-orange-light); }
    .lp .lp-pj-end h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; color: var(--pj-dark); }
    .lp .lp-pj-end p { margin-top: 12px; max-width: 34em; font-size: 18px; }
    .lp .lp-pj-end .lp-pj-cta { margin-top: 24px; }

    /* ── 常見問題（2026-10-26 補，沿用本頁 token） ── */
    .lp .lp-pj-faq { padding: 56px 0; background: var(--pj-surface); }
    .lp .lp-pj-faq h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--pj-dark); }
    .lp .lp-pj-faq-note { margin-top: 12px; color: var(--pj-gray); font-size: 15px; }
    .lp .lp-pj-faq-list { margin-top: 24px; display: grid; gap: 12px; max-width: 46em; }
    .lp .lp-pj-faq-item { border: 1px solid var(--pj-line); border-radius: var(--r-md); background: var(--pj-light); }
    .lp .lp-pj-faq-item h3 { flex: 1 1 auto; margin: 0; font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--pj-dark); text-wrap: balance; }
    .lp .lp-pj-faq-item p { margin: 0; padding: 0 24px 20px; }
    /* FAQ 收合（2026-10-27 內容層次第一批）：題目在 summary、答案預設收起，FAQPage 文字不變 */
    .lp .lp-pj-faq-item > summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 16px 20px 16px 24px; cursor: pointer; border-radius: var(--r-md); }
    .lp .lp-pj-faq-item > summary::-webkit-details-marker { display: none; }
    .lp .lp-pj-faq-item > summary::after { content: "+"; flex: 0 0 24px; font-size: 26px; line-height: 1; font-weight: 400; text-align: center; color: var(--pj-dark); transition: transform .2s ease; }
    .lp .lp-pj-faq-item[open] > summary::after { transform: rotate(45deg); }
    .lp .lp-pj-faq-item > summary:focus-visible { outline: 2px solid #2D2E32; outline-offset: 2px; }
    @media (prefers-reduced-motion: reduce) { .lp .lp-pj-faq-item > summary::after { transition: none; } }
    .lp .lp-pj-faq-link { color: var(--pj-link); text-decoration: underline; text-underline-offset: 2px; }

    /* ── 程式碼放大視窗 ── */
    .lp .lp-pj-dialog {
      width: min(960px, calc(100vw - 24px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--r-md);
      background: var(--pj-surface); color: var(--pj-text); box-shadow: var(--e3); overflow: hidden;
    }
    .lp .lp-pj-dialog::backdrop { background: rgba(18, 21, 30, 0.72); }
    .lp .lp-pj-dialog[open] { display: flex; flex-direction: column; }
    .lp .lp-pj-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--pj-line); }
    .lp .lp-pj-dialog-title { font-size: 16px; font-weight: 700; line-height: 1.4; }
    .lp .lp-pj-dialog-close {
      flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
      border: 2px solid transparent; border-radius: var(--r-pill); cursor: pointer;
    }
    .lp .lp-pj-dialog-body { overflow: auto; padding: 16px; background: var(--pj-light); }
    .lp .lp-pj-dialog-body img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; border-radius: 4px; }
    .lp .lp-pj-dialog-body.is-wide img { max-width: none; width: 640px; }
    @media (min-width: 700px) { .lp .lp-pj-dialog-body.is-wide img { width: auto; max-width: 100%; } }
    .lp .lp-pj-dialog-note { padding: 8px 20px 12px; font-size: 13px; color: var(--pj-gray); }
    .lp .lp-pj-dialog-swipe { display: none; }
    @media (max-width: 699.98px) { .lp .lp-pj-dialog-body.is-wide + .lp-pj-dialog-note .lp-pj-dialog-swipe { display: inline; } }

    /* ── 分組配色（色票出自 OA_DESIGN.md 的 light 色）──
       Scratch＝primary-light #FFF3DC、Python＝teal-light #E4F9F7、
       JavaScript 與網頁＝coral-light #FFEDEA、演算法與 AI＝navy-light #E9EEF8 */
    .lp.lp-projects { --g-scratch: #FFF3DC; --g-python: #E4F9F7; --g-web: #FFEDEA; --g-ai: #E9EEF8; }

    /* 首屏：淡橘滿版底；導言＋試聽按鈕墊白色面板，讓亮橘按鈕跳出來 */
    .lp .lp-pj-hero { background: var(--g-scratch); border-bottom: 0; }
    .lp .lp-pj-hero-side { padding: 20px; background: var(--pj-surface); border-radius: var(--r-lg); }
    /* 手機首屏收緊：讓起點作品與積木小窗進到首屏 */
    @media (max-width: 991.98px) {
      .lp .lp-pj-hero { padding-top: 16px; }
      .lp .lp-pj-hero-top { gap: 10px; }
      .lp .lp-pj-hero-side { padding: 14px 16px 16px; gap: 12px; border-radius: var(--r-md); }
      .lp.lp-projects .lp-pj-hero-lead { font-size: 15px; line-height: 1.65; }
      .lp .lp-pj-hero-side .lp-pj-cta { min-height: 44px; padding: 10px 28px; }
      .lp .lp-pj-duel { margin-top: 16px; }
    }
    @media (min-width: 992px) { .lp .lp-pj-hero-side { padding: 28px 32px; border-left: 0; } }

    /* 路線軌道：白色面板＋4 組色帶 */
    .lp .lp-pj-path { margin-top: 48px; padding: 24px 20px; border-top: 0; background: var(--pj-surface); border-radius: var(--r-lg); }
    .lp .lp-pj-path-scroll { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; scroll-padding: 0 20px; }
    .lp .lp-pj-path-grid { grid-template-columns: repeat(9, calc((100vw - 52px - 2 * var(--path-gap)) / 2.3)); }
    .lp .lp-pj-path-group { padding: 6px 12px; border-radius: var(--r-sm); color: var(--pj-dark); font-weight: 700; }
    .lp .lp-pj-path-group::after { display: none; }
    .lp .lp-pj-path-group:nth-child(1) { background: var(--g-scratch); }
    .lp .lp-pj-path-group:nth-child(2) { background: var(--g-python); }
    .lp .lp-pj-path-group:nth-child(3) { background: var(--g-web); }
    .lp .lp-pj-path-group:nth-child(4) { background: var(--g-ai); }
    @media (min-width: 992px) {
      .lp .lp-pj-path { margin-top: 64px; padding: 32px; }
      .lp .lp-pj-path-scroll { margin: 32px 0 0; padding: 4px 0 0; }
      .lp .lp-pj-path-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); }
    }

    /* 課程區塊：每組滿版淡色底，白色作品卡浮在上面 */
    .lp #stage-1, .lp #stage-2 { background: var(--g-scratch); }
    .lp #python { background: var(--g-python); }
    .lp #stage-5, .lp #stage-6, .lp #stage-7 { background: var(--g-web); }
    .lp #stage-8, .lp #stage-9 { background: var(--g-ai); }
    .lp #stage-2, .lp #stage-6, .lp #stage-7, .lp #stage-9 { padding-top: 16px; }
    .lp .lp-pj-card { padding: 12px 12px 20px; background: var(--pj-surface); border-radius: var(--r-md); }
    .lp .lp-pj-card .lp-pj-lesson, .lp .lp-pj-card .lp-pj-card-title, .lp .lp-pj-card .lp-pj-facts { padding: 0 8px; }
    .lp .lp-pj-band { background: var(--pj-surface); }

    /* 每組開頭的叩叮 */
    .lp .lp-pj-kd { display: block; width: auto; height: 88px; margin-bottom: 12px; }
    @media (min-width: 768px) { .lp .lp-pj-kd { height: 128px; margin-bottom: 16px; } }
    @media (min-width: 992px) { .lp .lp-pj-kd { height: 168px; margin-left: -8px; } }

    /* hover 只給有滑鼠的裝置 */
    @media (hover: hover) and (pointer: fine) {
      .lp .lp-pj-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,163,0,0.42); }
      .lp .lp-pj-path-step:hover .lp-pj-path-thumb { transform: translateY(-2px); border-color: var(--pj-text); }
      .lp .lp-pj-path-step:hover .lp-pj-path-node { transform: scale(1.5); }
      .lp .lp-pj-path-step:hover .lp-pj-path-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
      .lp .lp-pj-nav-links a:hover { background: var(--pj-light); }
      .lp .lp-pj-nav-links a[aria-current="true"]:hover { background: var(--pj-orange-light); }
      .lp .lp-pj-courselink:hover span { transform: translateX(3px); }
      .lp .lp-pj-code:hover { transform: translateY(-3px); box-shadow: var(--e2); }
      .lp .lp-pj-more:hover { border-color: var(--pj-text); }
      .lp .lp-pj-dialog-close:hover { background: var(--pj-light); }
    }

    @media (prefers-reduced-motion: reduce) {
      .lp.lp-projects *, .lp.lp-projects *::before, .lp.lp-projects *::after {
        animation-duration: .01ms; animation-iteration-count: 1; transition-duration: .01ms; scroll-behavior: auto;
      }
    }
  /* lp-crumb：全站麵包屑（2026-10-27）。左緣對齊官網 header 的 logo（最寬 1296px、內距 28px／手機 18px）；底色＝本頁開頭區塊 */
.lp .lp-crumb { background: #FFF3DC; }
.lp .lp-crumb ol { list-style: none; margin: 0 auto; max-width: 1296px; padding: 5px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 13px; line-height: 1.6; color: #5B616D; }
.lp .lp-crumb li { margin: 0; padding: 0; }
.lp .lp-crumb li + li::before { content: "›"; margin-right: 8px; color: #8A8F98; }
.lp .lp-crumb a, .lp .lp-crumb a:visited { color: #5B616D; text-decoration: none; display: inline-block; padding: 6px 0; margin: -6px 0; }
.lp .lp-crumb a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 3px; }
.lp .lp-crumb [aria-current] { color: #2D2E32; }
@media (hover: hover) and (pointer: fine) { .lp .lp-crumb a:hover { text-decoration: underline; } }
@media (max-width: 960px) { .lp .lp-crumb ol { padding: 5px 18px; } }
/* /lp-crumb */
.lp .lp-updated { margin: 0; padding: 20px 16px 28px; text-align: center; font-size: 14px; line-height: 1.6; color: #5B616D; }
