  .speed-purple { background-color: #7F0CE9; }
  .speed-red    { background-color: #e53935; }
  .speed-orange { background-color: #ff9800; }
  .speed-yellow { background-color: #EEEA39; color: #333; }
  .speed-green  { background-color: #4caf50; }
  .speed-gray   { background-color: #bdbdbd; }


.scc-wrapper {
              position: relative;
              background-color: #EAF3F8; /* 淺藍色背景 */
              padding: 100px 0 50px 0;
              border-radius: 8px;
              font-family: Arial, sans-serif;
              min-width: 850px; /* 避免文字擠壓 */
              overflow: hidden;
              /* 依距離預估的進度 % */
              --s-10: 10%;
              --s-13: 20%;
              --s-32: 31%;
              --s-35: 42%;
              --s-60: 53%;
              --s-71: 64%;
              --s-99: 76%;
              --s-196: 94%;
          }

          .scc-vline {
              position: absolute;
              transform: translateX(-50%);
              width: 4px;
              border-left: 3px solid #EAF3F8;
              border-right: 3px solid #EAF3F8;
              z-index: 5;
              box-sizing: content-box;
              border-radius: 5px;
              width:6px
          }

          .scc-vline.blue {
              background-color: #1a88cb;
              top:148px;
              bottom: 70px;
          }

          .scc-vline.gray {
              background-color: #888;
              top: 99px;
              height: 170px; /* 剛好蓋住國一區域 */
          }

          .scc-label {
              position: absolute;
              left: 50%;
              transform: translateX(-50%);
              text-align: center;
              font-size: 0.875rem;
              line-height: 1.3;
              white-space: nowrap;
              color: #000;
          }

          .scc-vline.blue .scc-label { top: -45px; }
          .scc-vline.gray .scc-label { top: -45px; }

          .scc-layout {
              position: relative;
              z-index: 1;
          }

          .scc-group { margin-bottom: 25px; position: relative; }

          .scc-row {
              height: 28px;
              margin-bottom: 3px;
              position: relative;
          }

          .scc-bar {
              position: absolute;
              height: 100%;
              display: flex;
              align-items: center;
              justify-content: center;
              font-size: 0.875rem;
              font-weight: 500;
              box-sizing: border-box;
          }

          .scc-bar.yellow { background-color: #f7e127; color: #000; }
          .scc-bar.green { background-color: #61b135; color: #fff; }
          .scc-bar.purple { background-color: #7F0CE9; color: #fff; }
          .scc-bar.red { background-color: #e53935; color: #fff; }
          .scc-bar.orange { background-color: #ff9800; color: #fff; }
          .scc-bar.gray { background-color: #bdbdbd; color: #333; }

          /* 國道梅花標誌的CSS繪製 */
          .scc-icon {
              position: absolute;
              left: 2%;
              transform: translateY(-50%);
              z-index: 10;
              display: flex; 
              align-items: center; 
              justify-content: center;
              font-weight: bold; 
              color: #000;
              /* 簡易梅花SVG背景 */
              background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 5 Q60 5 65 20 Q80 15 90 30 Q100 50 85 65 Q95 80 80 90 Q65 100 50 90 Q35 100 20 90 Q5 80 15 65 Q0 50 10 30 Q20 15 35 20 Q40 5 50 5 Z" fill="white" stroke="%232e7d32" stroke-width="8" stroke-linejoin="round"/></svg>');
              background-position: center;
              background-size: contain !important;
              background-repeat: no-repeat;
          }

          .scc-icon.main { width: 40px !important; height: 40px !important; font-size: 1.125rem; left: 6%; }
          .scc-icon.sub { width: 30px !important; height: 30px !important; font-size: 0.8125rem; left: 17%; }

          /* 方向指南針樣式 */
          .scc-compass {
              position: absolute;
              top: 20px;
              left: 20px;
              display: flex;
              align-items: center;
              font-size: 0.9375rem;
              font-weight: bold;
              color: #444;
              z-index: 20;
              padding: 5px 15px;
          }

          .scc-compass-line {
              width: 50px;
              height: 2px;
              background-color: #444;
              margin: 0 10px;
              position: relative;
          }

          .scc-compass-line::before {
              content: '';
              position: absolute;
              left: -2px;
              top: -3px;
              border-top: 4px solid transparent;
              border-bottom: 4px solid transparent;
              border-right: 6px solid #444;
          }

          .scc-compass-line::after {
              content: '';
              position: absolute;
              right: -2px;
              top: -3px;
              border-top: 4px solid transparent;
              border-bottom: 4px solid transparent;
              border-left: 6px solid #444;
          }
