
    :root {
      --primary: #007BFF;
      --primary-dark: #0056b3;
      --light-bg: #f8f9fa;
      --tab-border: #ddd;
    }

    body {
      font-family: 'Segoe UI', sans-serif;
      margin: 20px;
      background: var(--light-bg);
      color: #333;
    }

    .tabsmenu {
      max-width: 960px;
      margin: auto;
    }

    .tabsmenu input[type="radio"] {
      display: none;
    }

    .tabsmenu .tab-labels {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      border-bottom: 2px solid var(--tab-border);
      background: white;
      gap: 6px;
    }

    .tabsmenu .tab-labels label {
      width: 24%; /* 桌機固定寬度 */
      text-align: center;
      padding: 10px 12px;
      cursor: pointer;
      border: 1px solid transparent;
      border-bottom: none;
      background: var(--light-bg);
      transition: background 0.3s, color 0.3s, transform 0.2s;
      font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 18px;
      border-radius: 6px 6px 0 0;
    }

    .tabsmenu .tab-labels label:hover {
      background: #e2e6ea;
      transform: translateY(-2px);
    }

    /* Active tab 樣式 */
    #tab1:checked ~ .tab-labels label[for="tab1"],
    #tab2:checked ~ .tab-labels label[for="tab2"],
    #tab3:checked ~ .tab-labels label[for="tab3"],
    #tab4:checked ~ .tab-labels label[for="tab4"],
    #tab5:checked ~ .tab-labels label[for="tab5"],
    #tab6:checked ~ .tab-labels label[for="tab6"] {
      background: white;
      border: 1px solid var(--tab-border);
      border-bottom: 2px solid white;
      color: var(--primary);
    }

    .tabsmenu .tab-content {
      position: relative;
    }

    .tabsmenu .tab-content section {
      display: none;
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.5s ease;
      /* padding: 24px; */
      background: white;
      /* border: 1px solid var(--tab-border); */
      border-top: none;
    }

    #tab1:checked ~ .tab-content section:nth-of-type(1),
    #tab2:checked ~ .tab-content section:nth-of-type(2),
    #tab3:checked ~ .tab-content section:nth-of-type(3),
    #tab4:checked ~ .tab-content section:nth-of-type(4),
    #tab5:checked ~ .tab-content section:nth-of-type(5),
    #tab6:checked ~ .tab-content section:nth-of-type(6) {
      display: block;
      opacity: 1;
      transform: translateY(0);
    }

    /* 手機 RWD 樣式 */
    @media (max-width: 640px) {
      .tabsmenu .tab-labels label {
        width: auto;
        flex: 1 0 45%;
        font-size: 18px;
        padding: 8px;
      }
    }
