    :root {
      --bg-color: #0f1117;
      --card-bg: #1a1d27;
      --card-border: #2a2e3d;
      --accent: #7c4dff;
      --accent-hover: #9e75ff;
      --accent-alpha: rgba(124, 77, 255, 0.15);
      --text-primary: #f0f2f5;
      --text-secondary: #9da3b4;
      --text-muted: #656c80;
      --code-bg: #12141c;
      --code-border: #262a38;
      --success: #00e676;
      --warning: #ffab00;
      --radius: 12px;
      --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
      --font-mono: "JetBrains Mono", "Fira Code", Consolas, Monaco, "Courier New", monospace;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-color);
      color: var(--text-primary);
      font-family: var(--font-family);
      line-height: 1.5;
      padding: 32px 16px;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .container {
      width: 100%;
      max-width: 920px;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--card-border);
    }

    .logo-area {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .logo-badge {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 14px rgba(124, 77, 255, 0.35);
      overflow: hidden;
      background: rgba(255, 255, 255, 0.05);
    }

    .logo-badge img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 12px;
      display: block;
    }

    .logo-badge svg {
      width: 24px;
      height: 24px;
      fill: #ffffff;
    }

    .title-group h1 {
      font-size: 1.35rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #ffffff;
    }

    .title-group p {
      font-size: 0.85rem;
      color: var(--text-secondary);
    }

    .badge-standalone {
      font-size: 0.75rem;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 20px;
      background: var(--accent-alpha);
      color: var(--accent);
      border: 1px solid rgba(124, 77, 255, 0.3);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .header-right {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .nav-tabs {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .nav-tab {
      padding: 6px 12px;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text-secondary);
      text-decoration: none;
      border-radius: 8px;
      border: 1px solid transparent;
      transition: all 0.2s ease;
    }

    .nav-tab:hover {
      color: var(--text-primary);
      background: rgba(255, 255, 255, 0.05);
    }

    .nav-tab.active {
      color: var(--accent);
      background: var(--accent-alpha);
      border-color: rgba(124, 77, 255, 0.3);
    }

    .banner-guide {
      background: linear-gradient(135deg, rgba(124, 77, 255, 0.12), rgba(61, 90, 254, 0.08));
      border: 1px solid rgba(124, 77, 255, 0.35);
      border-radius: var(--radius);
      padding: 16px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }

    .banner-guide-text {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      flex: 1;
      min-width: 260px;
    }

    .banner-guide-text svg {
      width: 24px;
      height: 24px;
      fill: var(--accent);
      flex-shrink: 0;
      margin-top: 2px;
    }

    .banner-guide-text h3 {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 2px;
    }

    .banner-guide-text p {
      font-size: 0.82rem;
      color: var(--text-secondary);
      line-height: 1.45;
    }

    .lang-selector {
      display: flex;
      align-items: center;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 8px;
      padding: 2px 4px;
      gap: 2px;
    }

    .lang-btn {
      background: transparent;
      border: none;
      color: var(--text-secondary);
      font-size: 0.78rem;
      font-weight: 600;
      padding: 4px 8px;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .lang-btn:hover {
      color: var(--text-primary);
      background: rgba(255, 255, 255, 0.05);
    }

    .lang-btn.active {
      background: var(--accent);
      color: #ffffff;
    }

    .card {
      background-color: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    }

    .card-title {
      font-size: 1.05rem;
      font-weight: 600;
      color: #ffffff;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 18px;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    label {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text-secondary);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    label .tag {
      font-size: 0.72rem;
      font-weight: 500;
      padding: 2px 6px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.06);
      color: var(--text-muted);
    }

    label .tag.required {
      background: rgba(124, 77, 255, 0.15);
      color: var(--accent);
    }

    .input-wrapper {
      position: relative;
      display: flex;
      align-items: center;
    }

    input[type="text"] {
      width: 100%;
      background-color: var(--code-bg);
      border: 1px solid var(--card-border);
      border-radius: 8px;
      padding: 10px 14px;
      color: var(--text-primary);
      font-family: var(--font-mono);
      font-size: 0.88rem;
      transition: all 0.2s ease;
    }

    input[type="text"]:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.2);
    }

    .input-btn {
      position: absolute;
      right: 6px;
      background: var(--card-border);
      border: none;
      border-radius: 6px;
      color: var(--text-secondary);
      padding: 4px 8px;
      font-size: 0.75rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .input-btn:hover {
      background: var(--accent);
      color: #ffffff;
    }

    .checkbox-group {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 4px;
    }

    .checkbox-pill {
      display: flex;
      align-items: center;
      gap: 8px;
      background: var(--code-bg);
      border: 1px solid var(--card-border);
      padding: 8px 14px;
      border-radius: 8px;
      cursor: pointer;
      user-select: none;
      transition: all 0.2s ease;
      font-size: 0.88rem;
    }

    .checkbox-pill:hover {
      border-color: rgba(124, 77, 255, 0.4);
    }

    .checkbox-pill input[type="checkbox"] {
      accent-color: var(--accent);
      width: 16px;
      height: 16px;
      cursor: pointer;
    }

    .checkbox-pill.active {
      border-color: var(--accent);
      background: var(--accent-alpha);
      color: #ffffff;
    }

    .output-card {
      background-color: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .output-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }

    .output-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 18px;
      border-radius: 8px;
      font-size: 0.88rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
      border: none;
      text-decoration: none;
    }

    .btn-primary {
      background: var(--accent);
      color: #ffffff;
      box-shadow: 0 4px 12px rgba(124, 77, 255, 0.3);
    }

    .btn-primary:hover {
      background: var(--accent-hover);
      box-shadow: 0 4px 16px rgba(124, 77, 255, 0.45);
      transform: translateY(-1px);
    }

    .btn-secondary {
      background: var(--code-bg);
      color: var(--text-secondary);
      border: 1px solid var(--card-border);
    }

    .btn-secondary:hover {
      background: var(--card-border);
      color: var(--text-primary);
    }

    .btn-link {
      background: transparent;
      color: var(--text-secondary);
      padding: 6px 12px;
      font-size: 0.8rem;
    }

    .btn-link:hover {
      color: var(--accent);
    }

    .code-container {
      position: relative;
      background-color: var(--code-bg);
      border: 1px solid var(--code-border);
      border-radius: 8px;
      padding: 14px;
      overflow-x: auto;
      max-height: 280px;
    }

    pre code {
      font-family: var(--font-mono);
      font-size: 0.84rem;
      color: #c9d1d9;
      white-space: pre-wrap;
      word-break: break-all;
      line-height: 1.6;
    }

    .info-box {
      display: flex;
      gap: 12px;
      background: rgba(124, 77, 255, 0.08);
      border: 1px solid rgba(124, 77, 255, 0.2);
      border-radius: 8px;
      padding: 14px 16px;
      font-size: 0.85rem;
      color: var(--text-secondary);
    }

    .info-box svg {
      flex-shrink: 0;
      width: 20px;
      height: 20px;
      fill: var(--accent);
      margin-top: 1px;
    }

    .steps-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
      counter-reset: step-counter;
    }

    .step-item {
      display: flex;
      gap: 14px;
      align-items: flex-start;
      padding: 12px 14px;
      background: var(--code-bg);
      border-radius: 8px;
      border: 1px solid var(--card-border);
    }

    .step-num {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: var(--accent-alpha);
      color: var(--accent);
      border: 1px solid rgba(124, 77, 255, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 0.78rem;
      flex-shrink: 0;
    }

    .step-content h4 {
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 2px;
    }

    .step-content p {
      font-size: 0.82rem;
      color: var(--text-secondary);
    }

    .step-content a {
      color: var(--accent);
      text-decoration: none;
      font-weight: 500;
    }

    .step-content a:hover {
      text-decoration: underline;
    }

    .copied-toast {
      display: none;
      align-items: center;
      gap: 6px;
      color: var(--success);
      font-size: 0.82rem;
      font-weight: 600;
    }

    .copied-toast.visible {
      display: inline-flex;
    }

    .faq-section {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .faq-item {
      background: var(--code-bg);
      border: 1px solid var(--card-border);
      border-radius: 8px;
      overflow: hidden;
      transition: border-color 0.2s ease;
    }

    .faq-item:hover {
      border-color: rgba(124, 77, 255, 0.4);
    }

    .faq-item summary {
      padding: 14px 16px;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-primary);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      list-style: none;
      user-select: none;
    }

    .faq-item summary::-webkit-details-marker {
      display: none;
    }

    .faq-item summary::after {
      content: "›";
      font-size: 1.2rem;
      color: var(--accent);
      transition: transform 0.2s ease;
    }

    .faq-item[open] summary::after {
      transform: rotate(90deg);
    }

    .faq-item[open] summary {
      border-bottom: 1px solid var(--card-border);
      background: rgba(124, 77, 255, 0.05);
    }

    .faq-content {
      padding: 14px 16px;
      font-size: 0.84rem;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    .faq-content p {
      margin-bottom: 8px;
    }

    .faq-content p:last-child {
      margin-bottom: 0;
    }

    .faq-content strong {
      color: var(--text-primary);
    }

    .faq-content code {
      font-family: var(--font-mono);
      background: rgba(255, 255, 255, 0.08);
      padding: 2px 6px;
      border-radius: 4px;
      font-size: 0.8rem;
      color: #e2e8f0;
    }

    footer {
      text-align: center;
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-top: 12px;
      padding-top: 16px;
    }

    /* ==========================================================================
       Mobile Responsive Styles (Phones & Tablets)
       ========================================================================== */
    @media (max-width: 768px) {
      body {
        padding: 16px 12px;
      }

      .container {
        gap: 16px;
      }

      header {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
      }

      .logo-area {
        align-items: center;
      }

      .title-group h1 {
        font-size: 1.15rem;
      }

      .title-group p {
        font-size: 0.8rem;
      }

      .header-right {
        justify-content: space-between;
        width: 100%;
      }

      .nav-tabs {
        flex: 1;
        justify-content: flex-start;
      }

      .nav-tab {
        padding: 6px 10px;
        font-size: 0.78rem;
      }

      .lang-selector {
        margin-left: auto;
      }

      .banner-guide {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 16px;
        gap: 12px;
      }

      .banner-guide .btn {
        width: 100%;
        justify-content: center;
      }

      .card, .output-card {
        padding: 16px 14px;
        gap: 16px;
      }

      .grid-2 {
        grid-template-columns: 1fr;
        gap: 14px;
      }

      .checkbox-group {
        flex-direction: column;
        gap: 8px;
      }

      .checkbox-pill {
        width: 100%;
      }

      /* Generate Button full width on mobile */
      #btnGenerateScript {
        width: 100%;
        justify-content: center;
      }

      /* Output header on mobile */
      .output-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
      }

      .output-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }

      .output-actions .btn {
        justify-content: center;
        padding: 8px 10px;
        font-size: 0.8rem;
      }

      .copied-toast {
        grid-column: 1 / -1;
        justify-content: center;
      }

      .code-container {
        max-height: 240px;
        padding: 10px;
      }

      pre code {
        font-size: 0.78rem;
      }

      .step-item {
        padding: 14px;
        gap: 12px;
      }

      .step-num {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
      }
    }

    @media (max-width: 480px) {
      .header-right {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
      }

      .nav-tabs {
        width: 100%;
        justify-content: center;
      }

      .lang-selector {
        justify-content: center;
        width: 100%;
      }

      .output-actions {
        grid-template-columns: 1fr;
      }
    }
