    /* ============================================================
       全裝置防跑版硬性守則 (Ironclad Zero-Regression RWD Guards)
       適用尺寸：手機 (375px~639px)、平板 (640px~1023px)、桌機 (1024px+)
       ============================================================ */
    *, *::before, *::after {
      box-sizing: border-box;
    }

    html {
      max-width: 100vw;
      overflow-x: clip;
    }

    body {
      max-width: 100vw;
      overflow-x: clip;
      position: relative;
      min-height: 100vh;
    }

    /* 主頁面頁首懸浮吸頂保證：隨螢幕滑動無縫跟隨 */
    #main-site-header {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      z-index: 45 !important;
    }

    img, video, canvas, svg {
      max-width: 100%;
      height: auto;
    }

    /* 容器防橫向爆版兜底保護 (不影響 fixed 頁首) */
    section, footer, main, article {
      max-width: 100%;
      overflow-x: clip;
    }

    /* 浮動快捷選單 (Speed Dial FAB) 智慧顯隱守則：
       當全螢幕星際動畫播放中，徹底隱藏；進入整體網頁後，100% 顯現 */
    body:has(#cinematic-theater-overlay:not(.hidden)) #floating-quick-dock {
      display: none !important;
    }
    #floating-quick-dock {
      display: flex !important;
    }
    #floating-quick-dock.dock-force-hidden {
      display: none !important;
    }

    /* 全裝置響應式排版與跨行講究 (手機/平板/電腦) */
    html {
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    
    /* 標題與重點文字：講究跨行平衡，避免單字孤行 */
    h1, h2, h3, h4, h5, h6 {
      text-wrap: balance;
      word-break: keep-all;
      overflow-wrap: break-word;
      line-height: 1.35;
    }

    /* 段落內文：舒適行高與智慧避頭尾折行 */
    p, .readable-text {
      line-height: 1.75;
      text-wrap: pretty;
      overflow-wrap: break-word;
    }

    /* 行動裝置極致體驗（< 640px）：觸控熱區、字級防放大、點擊回饋 */
    @media (max-width: 640px) {
      input, select, textarea {
        font-size: 16px !important; /* 強制 16px 防 iPhone Safari 自動放大 */
        max-width: 100% !important;
        box-sizing: border-box !important;
      }
      select {
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .mobile-text-readable {
        font-size: 15px !important;
        line-height: 1.65 !important;
      }
      /* 拇指熱區保護：主要互動按鈕最小高度 44px */
      button, a.btn-touch-target {
        min-height: 40px;
      }
    }

    body {
      background-color: #FAF8FC;
      color: #3E3249;
      font-family: 'Plus Jakarta Sans', 'Noto Sans TC', 'Noto Sans JP', sans-serif;
      overflow-x: hidden;
    }
    
    .glass-card {
      background: rgba(255, 255, 255, 0.88);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid rgba(94, 78, 109, 0.12);
    }
    
    .glass-card-hover {
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .glass-card-hover:hover {
      transform: translateY(-3px);
      border-color: rgba(197, 160, 89, 0.45);
      box-shadow: 0 12px 28px -8px rgba(94, 78, 109, 0.12);
    }

    .purple-gradient-text {
      background: linear-gradient(135deg, #3E3249 0%, #5E4E6D 50%, #857396 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .gold-gradient-text {
      background: linear-gradient(135deg, #9F7E3B 0%, #C5A059 50%, #DFB76C 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* 三方四正連線動畫 */
    @keyframes linePulse {
      0%, 100% { stroke-opacity: 0.9; stroke-width: 2.5; }
      50% { stroke-opacity: 0.45; stroke-width: 1.8; }
    }
    .sanfang-line-ben-dui {
      stroke-dasharray: 6 4;
      animation: linePulse 2.8s ease-in-out infinite;
    }

    .custom-scrollbar::-webkit-scrollbar {
      height: 6px;
    }
    .custom-scrollbar::-webkit-scrollbar-track {
      background: rgba(94, 78, 109, 0.05);
      border-radius: 999px;
    }
    .custom-scrollbar::-webkit-scrollbar-thumb {
      background: rgba(197, 160, 89, 0.4);
      border-radius: 999px;
    }
    .custom-scrollbar::-webkit-scrollbar-thumb:hover {
      background: rgba(197, 160, 89, 0.7);
    }

    /* 無形 × 九大行星軌跡動畫 (Formless 9-Planet Celestial Orbits) */
    @keyframes orbitSpinCW {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    @keyframes orbitSpinCCW {
      0% { transform: rotate(360deg); }
      100% { transform: rotate(0deg); }
    }
    @keyframes formlessBreath {
      0%, 100% { transform: scale(1); opacity: 0.75; }
      50% { transform: scale(1.12); opacity: 1; }
    }
    @keyframes coreFloat {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-6px); }
    }
    @keyframes planetPulse {
      0%, 100% { opacity: 0.85; filter: drop-shadow(0 0 4px rgba(197, 160, 89, 0.8)); }
      50% { opacity: 1; filter: drop-shadow(0 0 10px rgba(197, 160, 89, 1)); }
    }
    .orbit-cw-1 { transform-origin: 250px 250px; animation: orbitSpinCW 9s linear infinite; }
    .orbit-ccw-2 { transform-origin: 250px 250px; animation: orbitSpinCCW 13s linear infinite; }
    .orbit-cw-3 { transform-origin: 250px 250px; animation: orbitSpinCW 17s linear infinite; }
    .orbit-ccw-4 { transform-origin: 250px 250px; animation: orbitSpinCCW 22s linear infinite; }
    .orbit-cw-5 { transform-origin: 250px 250px; animation: orbitSpinCW 28s linear infinite; }
    .orbit-ccw-6 { transform-origin: 250px 250px; animation: orbitSpinCCW 35s linear infinite; }
    .orbit-cw-7 { transform-origin: 250px 250px; animation: orbitSpinCW 43s linear infinite; }
    .orbit-ccw-8 { transform-origin: 250px 250px; animation: orbitSpinCCW 52s linear infinite; }
    .orbit-cw-9 { transform-origin: 250px 250px; animation: orbitSpinCW 64s linear infinite; }
    .formless-aura { animation: formlessBreath 6s ease-in-out infinite; }
    .core-levitate { animation: coreFloat 4.5s ease-in-out infinite; }

    /* 沉浸式星軌劇場動態效果 (Cinematic Journey Animations) */
    @keyframes fadeInScale {
      0% { opacity: 0; transform: scale(0.92); }
      100% { opacity: 1; transform: scale(1); }
    }
    @keyframes fadeOut {
      0% { opacity: 1; transform: scale(1); }
      100% { opacity: 0; transform: scale(1.05); }
    }
    @keyframes spinSlow {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    @keyframes spinReverse {
      0% { transform: rotate(360deg); }
      100% { transform: rotate(0deg); }
    }
    @keyframes characterPop {
      0% { opacity: 0; transform: translateY(18px) scale(0.85); }
      70% { transform: translateY(-4px) scale(1.04); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }
    @keyframes cosmicGlowPulse {
      0%, 100% { box-shadow: 0 0 25px rgba(223, 183, 108, 0.4), inset 0 0 15px rgba(223, 183, 108, 0.2); }
      50% { box-shadow: 0 0 45px rgba(223, 183, 108, 0.75), inset 0 0 25px rgba(223, 183, 108, 0.4); }
    }

    .animate-fadeInScale { animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
    .animate-fadeOut { animation: fadeOut 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
    .animate-spin-slow { animation: spinSlow 20s linear infinite; }
    .animate-spin-reverse { animation: spinReverse 15s linear infinite; }
    .animate-characterPop { animation: characterPop 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
    .cosmic-interactive-sphere {
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .cosmic-interactive-sphere:hover {
      cursor: pointer;
      animation: cosmicGlowPulse 2.5s ease-in-out infinite;
      transform: scale(1.03);
    }

    /* ==================== 星際紫微旅程專屬動畫 (Formless Interstellar Keyframes) ==================== */
    @keyframes ringTunnelFlyThrough {
      0% { transform: scale(1); opacity: 1; }
      55% { opacity: 0.95; filter: brightness(1.8); }
      100% { transform: scale(5.8); opacity: 0; filter: brightness(2.5) blur(4px); }
    }
    @keyframes coreStarburstDissolve {
      0% { transform: scale(1); opacity: 1; filter: brightness(1); }
      45% { transform: scale(1.65); opacity: 1; filter: brightness(2.4); }
      100% { transform: scale(0.15); opacity: 0; filter: brightness(3) blur(10px); }
    }
    @keyframes formlessFloatIn {
      0% { opacity: 0; transform: translateY(14px) scale(0.96); filter: blur(10px); }
      100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
    }
    @keyframes penetrateThroughConstellation {
      0% { transform: scale(1); opacity: 1; filter: brightness(1); }
      50% { transform: scale(2.2); opacity: 0.9; filter: brightness(1.8); }
      100% { transform: scale(5.2); opacity: 0; filter: brightness(2.6) blur(6px); }
    }
    @keyframes emergeFromStarfield {
      0% { transform: scale(0.28); opacity: 0; filter: blur(12px); }
      100% { transform: scale(1); opacity: 1; filter: blur(0px); }
    }
    @keyframes earthGroundLaunch {
      0% { transform: scale(1) translateY(0); opacity: 1; filter: brightness(1); }
      55% { transform: scale(2.3) translateY(20px); opacity: 0.9; filter: brightness(1.5); }
      100% { transform: scale(4.5) translateY(90px); opacity: 0; filter: brightness(2.4) blur(6px); }
    }
    @keyframes spaceFloatWeightless {
      0%, 100% { transform: translate3d(0px, 0px, 0px) rotate(0deg); }
      33% { transform: translate3d(4px, -8px, 0px) rotate(0.6deg); }
      66% { transform: translate3d(-4px, 5px, 0px) rotate(-0.6deg); }
    }
    @keyframes constellationDraw {
      0% { stroke-dashoffset: 600; opacity: 0.2; }
      100% { stroke-dashoffset: 0; opacity: 0.95; }
    }
    @keyframes starNodeTwinkle {
      0%, 100% { transform: scale(1); opacity: 0.85; }
      50% { transform: scale(1.35); opacity: 1; }
    }

    .tunnel-ring-fly {
      transform-origin: 250px 250px;
      animation: ringTunnelFlyThrough 1.05s cubic-bezier(0.5, 0, 0.15, 1) forwards;
    }
    .tunnel-core-dissolve {
      animation: coreStarburstDissolve 0.95s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    .animate-formlessFloatIn {
      animation: formlessFloatIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .animate-penetrateConstellation {
      animation: penetrateThroughConstellation 0.95s cubic-bezier(0.45, 0, 0.15, 1) forwards;
    }
    .animate-emergeFromStarfield {
      animation: emergeFromStarfield 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .animate-earthLaunch {
      animation: earthGroundLaunch 0.95s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    .animate-spaceFloat {
      animation: spaceFloatWeightless 6.5s ease-in-out infinite;
    }
    .constellation-line-anim {
      stroke-dasharray: 600;
      stroke-dashoffset: 600;
      animation: constellationDraw 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    .star-node-twinkle {
      transform-box: fill-box;
      transform-origin: center;
      animation: starNodeTwinkle 2.4s ease-in-out infinite;
    }

    /* 無邊框星光底線輸入元件 (Formless Starlight Underline Inputs) */
    .starlight-underline-input {
      background: transparent;
      border: none;
      border-bottom: 1.5px solid rgba(223, 183, 108, 0.45);
      border-radius: 0;
      box-shadow: none;
      transition: all 0.35s ease;
    }
    .starlight-underline-input:focus {
      outline: none;
      border-bottom-color: #FDE047;
      box-shadow: 0 6px 18px -6px rgba(253, 224, 71, 0.45);
    }
    .starlight-underline-select {
      background: rgba(15, 10, 28, 0.35);
      border: none;
      border-bottom: 1.5px solid rgba(223, 183, 108, 0.45);
      border-radius: 0;
      box-shadow: none;
      transition: all 0.35s ease;
    }
    .starlight-underline-select:focus {
      outline: none;
      border-bottom-color: #FDE047;
      box-shadow: 0 6px 18px -6px rgba(253, 224, 71, 0.45);
    }
    .starlight-underline-select option {
      background-color: #120B20;
      color: #FAF8FC;
    }

    .no-scrollbar {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    .no-scrollbar::-webkit-scrollbar {
      display: none;
    }



