/**
 * ============================================================================
 * FightArtMX - COMMISSIONS CSS (Estilos del Cotizador de Comisiones)
 * ============================================================================
 * Requiere: ../assets/css/core.css cargado previamente en el <head>.
 */
/* ==========================================================================
       2. TOP BAR & STICKY PRICE
       ========================================================================== */
    .sticky-topbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 72px;
      background: rgba(11, 15, 23, 0.88);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border-subtle);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 1.5rem;
      transition: box-shadow var(--transition-base);
    }

    .brand-group {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }

    .brand-logo-badge {
      width: 42px;
      height: 42px;
      background: linear-gradient(135deg, var(--accent) 0%, #d84b00 100%);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #000;
      font-weight: 900;
      font-size: 1.15rem;
      box-shadow: 0 4px 14px var(--accent-glow);
    }

    .brand-title {
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--text-main);
      letter-spacing: -0.5px;
    }

    .brand-title span {
      color: var(--accent);
    }

    .topbar-actions {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .price-pill-sticky {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-pill);
      padding: 6px 16px;
      display: flex;
      align-items: center;
      gap: 8px;
      box-shadow: var(--shadow-sm);
      transition: all var(--transition-fast);
    }

    .price-pill-sticky .label {
      font-size: 0.78rem;
      text-transform: uppercase;
      font-weight: 700;
      color: var(--text-muted);
      letter-spacing: 0.5px;
    }

    .price-pill-sticky .amount-wrap {
      font-family: 'JetBrains Mono', monospace;
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--accent);
      display: inline-block;
      transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .price-pill-sticky .currency {
      font-size: 0.8rem;
      color: var(--text-muted);
      font-weight: 600;
    }

    .price-pill-sticky.pulse-bump .amount-wrap {
      transform: scale(1.3);
      color: #fff;
      text-shadow: 0 0 12px var(--accent);
    }

    .lang-switcher {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-pill);
      padding: 3px;
      display: flex;
      align-items: center;
      gap: 2px;
    }

    .lang-btn {
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-size: 0.75rem;
      font-weight: 700;
      padding: 6px 12px;
      border-radius: var(--radius-pill);
      cursor: pointer;
      transition: all var(--transition-fast);
    }

    .lang-btn.active {
      background: var(--accent);
      color: #000;
      box-shadow: 0 2px 8px var(--accent-glow);
    }

    /* ==========================================================================
       3. LAYOUT & RESPONSIVE GRID
       ========================================================================== */
    .app-container {
      max-width: 1320px;
      width: 100%;
      margin: 0 auto;
      padding: 2rem 1.25rem 4rem;
      position: relative;
      z-index: 1;
    }

    .main-grid {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 2rem;
      align-items: start;
      max-width: 1320px;
      margin: 0 auto;
      transition: max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1), grid-template-columns 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .main-grid.no-preview {
      grid-template-columns: 1fr;
      max-width: 1040px;
    }

    .main-grid.no-preview .preview-sidebar {
      display: none;
    }

    @keyframes sidebarSlideIn {
      from {
        opacity: 0;
        transform: translateX(18px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .preview-sidebar {
      animation: sidebarSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @media (max-width: 860px) {
      .main-grid,
      .main-grid.no-preview {
        grid-template-columns: 1fr;
        max-width: 100%;
      }
      .preview-sidebar {
        position: static;
        max-width: 360px;
        width: 100%;
        margin: 0 auto;
      }
    }

    /* ==========================================================================
       4. STEPPER WIZARD
       ========================================================================== */
    .wizard-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 2rem;
      box-shadow: var(--shadow-md);
      position: relative;
    }

    .stepper-header {
      margin-bottom: 2.25rem;
    }

    .stepper-steps {
      display: flex;
      justify-content: space-between;
      position: relative;
      margin-bottom: 1.5rem;
    }

    .stepper-track {
      position: absolute;
      top: 20px;
      left: 40px;
      right: 40px;
      height: 3px;
      background: var(--border-subtle);
      z-index: 0;
    }

    .stepper-progress-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--accent), var(--accent-hover));
      width: 0%;
      transition: width var(--transition-slow);
    }

    .step-item {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      user-select: none;
    }

    .step-circle {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--bg-card);
      border: 2px solid var(--border-subtle);
      color: var(--text-muted);
      font-weight: 700;
      font-size: 0.95rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--transition-base);
    }

    .step-label {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--text-muted);
      text-align: center;
      transition: color var(--transition-base);
      max-width: 100px;
    }

    .step-item.active .step-circle {
      border-color: var(--accent);
      background: var(--accent-soft);
      color: var(--accent);
      box-shadow: 0 0 16px var(--accent-glow);
    }

    .step-item.active .step-label {
      color: var(--text-main);
      font-weight: 700;
    }

    .step-item.completed .step-circle {
      background: var(--accent);
      border-color: var(--accent);
      color: #000;
    }

    .step-item.completed .step-label {
      color: var(--text-muted);
    }

    /* ==========================================================================
       5. STEP VIEWS (FADE TRANSITIONS)
       ========================================================================== */
    .step-content {
      display: none;
      animation: stepFadeIn 0.35s ease forwards;
    }

    .step-content.active {
      display: block;
    }

    @keyframes stepFadeIn {
      from {
        opacity: 0;
        transform: translateY(12px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .step-title-block {
      margin-bottom: 1.75rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .step-title-block h2 {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .step-title-block p {
      color: var(--text-muted);
      font-size: 0.92rem;
      margin-top: 4px;
    }

    /* ==========================================================================
       6. FORM CONTROLS & CARDS
       ========================================================================== */
    .form-group {
      margin-bottom: 1.5rem;
    }

    .form-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1.25rem;
    }

    label {
      display: block;
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 8px;
    }

    .req {
      color: var(--accent);
      margin-left: 2px;
    }

    .input-field,
    .select-field,
    .textarea-field {
      width: 100%;
      background: var(--bg-input);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      color: var(--text-main);
      font-family: inherit;
      font-size: 0.95rem;
      padding: 12px 16px;
      transition: all var(--transition-fast);
      outline: none;
    }

    .input-field:focus,
    .select-field:focus,
    .textarea-field:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px var(--accent-soft);
      background: #111824;
    }

    .input-field.input-error,
    .select-field.input-error {
      border-color: var(--danger);
      box-shadow: 0 0 0 3px var(--danger-soft);
    }

    .field-hint {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-top: 5px;
    }

    /* Custom Selection Cards (Tipo Comisión & Framing) */
    .cards-selection-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    .choice-card {
      background: var(--bg-card);
      border: 2px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 1.25rem 1rem;
      text-align: center;
      cursor: pointer;
      transition: all var(--transition-fast);
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      user-select: none;
    }

    .choice-card:hover {
      border-color: rgba(255, 102, 0, 0.4);
      background: var(--bg-card-hover);
      transform: translateY(-2px);
    }

    .choice-card.selected {
      border-color: var(--accent);
      background: var(--accent-soft);
      box-shadow: 0 4px 18px var(--accent-glow);
    }

    .choice-card .badge-price {
      background: var(--bg-base);
      color: var(--accent);
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.85rem;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: var(--radius-pill);
      border: 1px solid var(--border-subtle);
    }

    .choice-card.selected .badge-price {
      background: var(--accent);
      color: #000;
      border-color: var(--accent);
    }

    .choice-icon {
      font-size: 1.8rem;
      line-height: 1;
      margin-bottom: 4px;
    }

    .choice-title {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-main);
    }

    .choice-desc {
      font-size: 0.76rem;
      color: var(--text-muted);
      line-height: 1.3;
    }

    /* Range Sliders */
    .range-box {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 1.25rem;
      margin-top: 0.5rem;
    }

    .range-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
    }

    .range-val-badge {
      font-family: 'JetBrains Mono', monospace;
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--accent);
      background: var(--accent-soft);
      padding: 4px 14px;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(255, 102, 0, 0.3);
    }

    input[type="range"] {
      -webkit-appearance: none;
      width: 100%;
      height: 8px;
      background: var(--border-subtle);
      border-radius: 4px;
      outline: none;
      cursor: pointer;
    }

    input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 10px var(--accent-glow);
      cursor: pointer;
      border: 3px solid #000;
      transition: transform 0.15s;
    }

    input[type="range"]::-webkit-slider-thumb:hover {
      transform: scale(1.18);
    }

    /* Switch & Checkbox Components */
    .custom-switch-card {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 1rem 1.25rem;
      margin-bottom: 1rem;
      cursor: pointer;
      transition: all var(--transition-fast);
    }

    .custom-switch-card:hover {
      border-color: rgba(255, 102, 0, 0.4);
    }

    .switch-info {
      display: flex;
      flex-direction: column;
      gap: 3px;
    }

    .switch-title {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .switch-desc {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .toggle-track {
      width: 48px;
      height: 26px;
      background: var(--border-subtle);
      border-radius: var(--radius-pill);
      position: relative;
      transition: background var(--transition-fast);
      flex-shrink: 0;
    }

    .toggle-thumb {
      width: 20px;
      height: 20px;
      background: #fff;
      border-radius: 50%;
      position: absolute;
      top: 3px;
      left: 3px;
      transition: transform var(--transition-fast);
    }

    .custom-switch-card.active .toggle-track {
      background: var(--accent);
    }

    .custom-switch-card.active .toggle-thumb {
      transform: translateX(22px);
      background: #000;
    }

    /* License Cards (Mutual Exclusivity) */
    .license-card {
      background: var(--bg-card);
      border: 2px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 1.25rem;
      margin-bottom: 1rem;
      cursor: pointer;
      transition: all var(--transition-fast);
      position: relative;
    }

    .license-card:hover:not(.disabled) {
      border-color: rgba(255, 102, 0, 0.4);
    }

    .license-card.selected {
      border-color: var(--accent);
      background: var(--accent-soft);
      box-shadow: 0 4px 18px var(--accent-glow);
    }

    .license-card.disabled {
      opacity: 0.42;
      cursor: not-allowed;
      border-color: var(--border-subtle);
      filter: grayscale(0.5);
    }

    .license-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 6px;
    }

    .license-pill {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--accent);
      background: var(--bg-base);
      border: 1px solid var(--border-subtle);
      padding: 3px 10px;
      border-radius: var(--radius-pill);
    }

    .license-card.selected .license-pill {
      background: var(--accent);
      color: #000;
    }

    /* Tooltip (Accessible button — hover desktop + tap toggle mobile) */
    .tooltip-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 20px;
      height: 20px;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 50%;
      background: var(--border-subtle);
      color: var(--text-muted);
      font-family: inherit;
      font-size: 0.72rem;
      font-weight: 800;
      cursor: help;
      position: relative;
      flex-shrink: 0;
      transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    }

    .tooltip-icon:hover,
    .tooltip-icon:focus-visible,
    .tooltip-icon.tooltip-open {
      background: var(--accent);
      color: #000;
      border-color: var(--accent);
      outline: none;
    }

    .tooltip-text {
      visibility: hidden;
      opacity: 0;
      width: min(260px, 72vw);
      background: #0d121c;
      color: #e2e8f0;
      text-align: left;
      font-size: 0.76rem;
      font-weight: 500;
      line-height: 1.45;
      border-radius: var(--radius-sm);
      padding: 10px 12px;
      position: absolute;
      z-index: 120;
      bottom: calc(100% + 10px);
      left: 50%;
      transform: translateX(-50%);
      box-shadow: var(--shadow-lg);
      border: 1px solid var(--border-subtle);
      border-left: 3px solid var(--accent);
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
      pointer-events: none;
      white-space: normal;
    }

    .tooltip-icon:hover .tooltip-text,
    .tooltip-icon:focus-visible .tooltip-text,
    .tooltip-icon.tooltip-open .tooltip-text {
      visibility: visible;
      opacity: 1;
    }

    /* ==========================================================================
       7. DYNAMIC CHARACTER SUBROUTINE CARDS
       ========================================================================== */
    .characters-container {
      margin-top: 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

    .character-slot-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-left: 4px solid var(--accent);
      border-radius: var(--radius-md);
      padding: 1.25rem;
      transition: all var(--transition-fast);
      animation: fadeInSlot 0.3s ease;
    }

    @keyframes fadeInSlot {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .slot-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
    }

    .slot-title {
      font-size: 1rem;
      font-weight: 800;
      color: var(--accent);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* Origin segmented control */
    .origin-segmented {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 6px;
      background: var(--bg-input);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 4px;
      margin-bottom: 1.25rem;
    }

    .origin-tab {
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-size: 0.8rem;
      font-weight: 600;
      padding: 8px 4px;
      border-radius: 6px;
      cursor: pointer;
      transition: all var(--transition-fast);
      text-align: center;
    }

    .origin-tab.active {
      background: var(--accent);
      color: #000;
      font-weight: 700;
    }

    /* Dropbox button */
    .dropbox-action-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #0061ff;
      color: #fff;
      font-size: 0.88rem;
      font-weight: 700;
      padding: 10px 18px;
      border-radius: var(--radius-md);
      text-decoration: none;
      transition: all var(--transition-fast);
      margin-top: 6px;
    }

    .dropbox-action-btn:hover {
      background: #0050d4;
      transform: translateY(-1px);
      box-shadow: 0 4px 14px rgba(0, 97, 255, 0.4);
    }

    /* AniList Autocomplete */
    .anilist-search-wrap {
      position: relative;
    }

    .anilist-results-dropdown {
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      background: #0e141f;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      max-height: 220px;
      overflow-y: auto;
      z-index: 100;
      box-shadow: var(--shadow-lg);
      list-style: none;
    }

    .anilist-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 14px;
      cursor: pointer;
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
      transition: background var(--transition-fast);
    }

    .anilist-item:hover {
      background: var(--accent-soft);
    }

    .anilist-item img {
      width: 38px;
      height: 38px;
      border-radius: var(--radius-sm);
      object-fit: cover;
      flex-shrink: 0;
      background: #000;
    }

    .anilist-item .name-title {
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--text-main);
    }

    .anilist-item .series-title {
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .selected-char-preview {
      display: flex;
      align-items: center;
      gap: 14px;
      background: var(--bg-input);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 10px;
      margin-top: 10px;
    }

    .selected-char-preview img {
      width: 60px;
      height: 60px;
      border-radius: var(--radius-sm);
      object-fit: cover;
      border: 1px solid var(--accent);
    }

    /* FightArtMX Roster Grid */
    .roster-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin-top: 8px;
    }

    .roster-card {
      background: var(--bg-input);
      border: 2px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 10px 8px;
      text-align: center;
      cursor: pointer;
      transition: all var(--transition-fast);
    }

    .roster-card:hover {
      border-color: rgba(255, 102, 0, 0.5);
    }

    .roster-card.active {
      border-color: var(--accent);
      background: var(--accent-soft);
    }

    .roster-avatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      margin: 0 auto 6px;
      object-fit: cover;
      display: block;
      border: 2px solid transparent;
      background: #000;
    }

    .roster-card.active .roster-avatar {
      border-color: var(--accent);
    }

    .roster-name {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--text-main);
    }

    .roster-bio-box {
      background: var(--bg-input);
      border-radius: var(--radius-md);
      padding: 12px;
      margin-top: 10px;
      font-size: 0.82rem;
      border-left: 3px solid var(--accent);
      color: var(--text-muted);
    }

    /* ==========================================================================
       8. STEP 4: SUMMARY & COUPON
       ========================================================================== */
    .quote-breakdown-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 1rem;
      background: var(--bg-card);
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-subtle);
    }

    .quote-breakdown-table th,
    .quote-breakdown-table td {
      padding: 12px 16px;
      text-align: left;
      font-size: 0.88rem;
    }

    .quote-breakdown-table th {
      background: #0f141f;
      color: var(--text-muted);
      font-weight: 700;
      text-transform: uppercase;
      font-size: 0.75rem;
      letter-spacing: 0.5px;
    }

    .quote-breakdown-table td {
      border-top: 1px solid rgba(255, 255, 255, 0.04);
    }

    .quote-breakdown-table .amount-col {
      text-align: right;
      font-family: 'JetBrains Mono', monospace;
      font-weight: 600;
    }

    .quote-breakdown-table .total-row td {
      background: var(--accent-soft);
      font-weight: 800;
      color: var(--text-main);
      border-top: 2px solid var(--accent);
      font-size: 1rem;
    }

    .coupon-input-group {
      display: flex;
      gap: 10px;
    }

    .coupon-btn {
      background: var(--bg-card);
      border: 1px solid var(--accent);
      color: var(--accent);
      font-weight: 700;
      padding: 0 1.25rem;
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: all var(--transition-fast);
      white-space: nowrap;
    }

    .coupon-btn:hover {
      background: var(--accent);
      color: #000;
    }

    .coupon-status-tag {
      font-size: 0.82rem;
      margin-top: 8px;
      font-weight: 600;
      display: none;
    }

    .coupon-status-tag.valid {
      display: block;
      color: var(--success);
    }

    .coupon-status-tag.invalid {
      display: block;
      color: var(--danger);
    }

    /* Alert Boxes */
    .alert-banner {
      background: rgba(16, 185, 129, 0.08);
      border: 1px solid rgba(16, 185, 129, 0.3);
      border-radius: var(--radius-md);
      padding: 1rem;
      margin-top: 1rem;
      display: flex;
      gap: 12px;
      align-items: flex-start;
    }

    .alert-banner.info {
      background: rgba(59, 130, 246, 0.08);
      border-color: rgba(59, 130, 246, 0.3);
    }

    .alert-icon {
      font-size: 1.2rem;
      line-height: 1;
    }

    .alert-text {
      font-size: 0.84rem;
      color: var(--text-main);
    }

    /* ==========================================================================
       9. WIZARD CONTROLS / BUTTONS
       ========================================================================== */
    .wizard-actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 2.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid var(--border-subtle);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-family: inherit;
      font-size: 0.95rem;
      font-weight: 700;
      padding: 12px 26px;
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: all var(--transition-fast);
      border: none;
      outline: none;
      user-select: none;
    }

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

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

    .btn-primary {
      background: linear-gradient(135deg, var(--accent) 0%, #e65c00 100%);
      color: #000;
      box-shadow: 0 4px 14px var(--accent-glow);
    }

    .btn-primary:hover {
      background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
      box-shadow: 0 6px 20px rgba(255, 102, 0, 0.45);
      transform: translateY(-1px);
    }

    .btn-success {
      background: linear-gradient(135deg, #10b981 0%, #059669 100%);
      color: #fff;
      box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    }

    .btn-success:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    }

    /* ==========================================================================
       10. PREVIEW & PORTFOLIO SIDEBAR
       ========================================================================== */
    .preview-sidebar {
      position: sticky;
      top: 96px;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .preview-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 1.5rem;
      box-shadow: var(--shadow-md);
    }

    .preview-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1rem;
    }

    .preview-header h3 {
      font-size: 0.98rem;
      font-weight: 800;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .preview-canvas-wrap {
      width: 100%;
      aspect-ratio: 4 / 5;
      max-height: 410px;
      background: #06090e;
      border-radius: var(--radius-md);
      overflow: hidden;
      position: relative;
      border: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .preview-img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      transition: opacity 0.3s ease, transform 0.4s ease;
    }

    .preview-img.fade-out {
      opacity: 0;
      transform: scale(0.97);
    }

    .preview-badge-category {
      position: absolute;
      bottom: 10px;
      left: 10px;
      top: auto;
      z-index: 4;
      background: rgba(6, 9, 14, 0.84);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      color: var(--accent);
      font-size: 0.7rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 4px 10px;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(255, 102, 0, 0.45);
      pointer-events: none;
    }

    .preview-caption {
      margin-top: 1rem;
      font-size: 0.85rem;
      color: var(--text-muted);
      text-align: center;
      min-height: 40px;
    }

    .carousel-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 0.75rem;
    }

    .carousel-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--border-subtle);
      cursor: pointer;
      transition: all var(--transition-fast);
    }

    .carousel-dot.active {
      width: 22px;
      border-radius: var(--radius-pill);
      background: var(--accent);
      box-shadow: 0 0 8px var(--accent);
    }

    /* Live Summary Snapshot */
    .snapshot-box {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      padding: 1rem;
      margin-top: 1rem;
      border: 1px solid var(--border-subtle);
      font-size: 0.82rem;
    }

    .snapshot-row {
      display: flex;
      justify-content: space-between;
      padding: 4px 0;
      color: var(--text-muted);
    }

    .snapshot-row strong {
      color: var(--text-main);
    }

    /* ==========================================================================
       11. MODAL DIALOG & TOAST (NO ALERTS!)
       ========================================================================== */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.78);
      backdrop-filter: blur(10px);
      z-index: 2000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      animation: modalFade 0.25s ease forwards;
    }

    .modal-backdrop.active {
      display: flex;
    }

    @keyframes modalFade {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .modal-dialog {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      max-width: 680px;
      width: 100%;
      max-height: 85vh;
      display: flex;
      flex-direction: column;
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      animation: modalSlide 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes modalSlide {
      from { transform: translateY(20px) scale(0.97); }
      to { transform: translateY(0) scale(1); }
    }

    .modal-header {
      padding: 1.25rem 1.75rem;
      border-bottom: 1px solid var(--border-subtle);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .modal-header h3 {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .modal-close-btn {
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-size: 1.4rem;
      cursor: pointer;
      transition: color var(--transition-fast);
      line-height: 1;
    }

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

    .modal-body {
      padding: 1.75rem;
      overflow-y: auto;
    }

    .json-code-box {
      background: #080c14;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 1rem;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.8rem;
      color: #7dd3fc;
      max-height: 260px;
      overflow: auto;
      white-space: pre;
    }

    .modal-footer {
      padding: 1.25rem 1.75rem;
      border-top: 1px solid var(--border-subtle);
      display: flex;
      justify-content: flex-end;
      gap: 12px;
    }

    /* Toast notification (Top-Right below header so it never collides with bottom estimate pill) */
    .toast-container {
      position: fixed;
      top: 84px;
      right: 20px;
      bottom: auto;
      z-index: 3000;
      display: flex;
      flex-direction: column;
      gap: 10px;
      pointer-events: none;
      max-width: min(380px, calc(100vw - 24px));
    }

    .toast-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-left: 4px solid var(--accent);
      border-radius: var(--radius-md);
      padding: 12px 18px;
      color: var(--text-main);
      font-size: 0.88rem;
      font-weight: 600;
      box-shadow: var(--shadow-lg);
      display: flex;
      align-items: center;
      gap: 12px;
      pointer-events: auto;
      animation: toastIn 0.3s ease;
      min-width: 280px;
    }

    .toast-card.success {
      border-left-color: var(--success);
    }

    .toast-card.error {
      border-left-color: var(--danger);
    }

    @keyframes toastIn {
      from { transform: translateX(100%); opacity: 0; }
      to { transform: translateX(0); opacity: 1; }
    }

    /* Helper utilities */
    .d-none { display: none !important; }

    /* ==========================================================================
       12. YCH VISUAL GALLERY & SPOT SELECTOR CARDS
       ========================================================================== */
    .ych-gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 12px;
      margin-bottom: 1.5rem;
    }

    .ych-spot-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 12px;
      margin-bottom: 1.5rem;
    }

    .ych-thumb-card {
      background: var(--bg-card);
      border: 2px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 10px;
      text-align: center;
      cursor: pointer;
      transition: all var(--transition-fast);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      user-select: none;
      position: relative;
    }

    .ych-thumb-card:hover {
      border-color: rgba(255, 102, 0, 0.45);
      background: var(--bg-card-hover);
      transform: translateY(-2px);
    }

    .ych-thumb-card.selected {
      border-color: var(--accent);
      background: var(--accent-soft);
      box-shadow: 0 4px 18px var(--accent-glow);
    }

    .ych-thumb-frame {
      width: 100%;
      aspect-ratio: 4 / 5;
      background: #06090e;
      border-radius: var(--radius-sm);
      overflow: hidden;
      border: 1px solid var(--border-subtle);
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .ych-thumb-frame img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

    .ych-nsfw-tag {
      position: absolute;
      top: 6px;
      right: 6px;
      background: var(--danger);
      color: #fff;
      font-size: 0.65rem;
      font-weight: 800;
      padding: 2px 6px;
      border-radius: var(--radius-pill);
      letter-spacing: 0.4px;
    }

    .ych-card-title {
      font-size: 0.84rem;
      font-weight: 700;
      color: var(--text-main);
      line-height: 1.25;
    }

    .ych-card-price {
      background: var(--bg-base);
      color: var(--accent);
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.78rem;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: var(--radius-pill);
      border: 1px solid var(--border-subtle);
    }

    .ych-thumb-card.selected .ych-card-price {
      background: var(--accent);
      color: #000;
      border-color: var(--accent);
    }


    /* ==========================================================================
       13. WARNING CALLOUT, ANTI-SAVE SHIELD, CAROUSEL ARROWS, ROSTER 4:5 & PANELS
       ========================================================================== */
    .alert-banner.warning {
      background: var(--warning-soft);
      border-color: rgba(245, 158, 11, 0.45);
    }

    .alert-banner.warning .alert-text {
      color: #fde68a;
    }

    /* Protección contra clic derecho y arrastre de imágenes */
    img,
    .preview-canvas-wrap,
    .ych-thumb-frame,
    .roster-photo-box {
      -webkit-user-select: none;
      user-select: none;
      -webkit-user-drag: none;
    }

    .img-shield-overlay {
      position: absolute;
      inset: 0;
      z-index: 3;
      background: transparent;
    }

    /* Controles de Carrusel en Vista Previa */
    .carousel-controls-bar {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-top: 0.75rem;
    }

    .carousel-controls-bar .carousel-nav {
      margin-top: 0;
    }

    .carousel-arrow-btn {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      color: var(--text-main);
      font-size: 1.05rem;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all var(--transition-fast);
    }

    .carousel-arrow-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: var(--accent-soft);
    }

    /* Disabled origin tab (para YCH de 1 spot donde el acompañante es solo FightArtMX) */
    .origin-tab.disabled,
    .origin-tab:disabled {
      opacity: 0.35;
      cursor: not-allowed;
      pointer-events: none;
    }

    /* Roster Categorizado FightArtMX */
    .roster-category-block {
      margin-bottom: 1rem;
    }

    .roster-category-label {
      font-size: 0.75rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      color: var(--accent);
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .roster-category-label::after {
      content: "";
      flex: 1;
      height: 1px;
      background: rgba(255, 102, 0, 0.2);
    }

    .roster-grid-categorized {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
      gap: 8px;
    }

    /* Ficha detallada FightArtMX: Foto 4:5 grande a la izquierda + Texto y Check Joven/Adulta a la derecha */
    .roster-detail-split {
      display: grid;
      grid-template-columns: 185px 1fr;
      gap: 1.25rem;
      background: var(--bg-input);
      border: 1px solid var(--border-subtle);
      border-left: 3px solid var(--accent);
      border-radius: var(--radius-md);
      padding: 1rem;
      margin-top: 12px;
      align-items: start;
    }

    @media (max-width: 640px) {
      .roster-detail-split {
        grid-template-columns: 1fr;
      }
      .roster-photo-box {
        max-width: 220px;
        margin: 0 auto;
      }
    }

    .roster-photo-box {
      width: 100%;
      aspect-ratio: 4 / 5;
      background: #06090e;
      border-radius: var(--radius-sm);
      overflow: hidden;
      border: 1px solid var(--border-subtle);
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .roster-photo-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: opacity 0.25s ease;
    }

    .roster-info-col {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .roster-info-header {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
    }

    .roster-info-name {
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--text-main);
    }

    .roster-origin-pill {
      font-size: 0.72rem;
      font-weight: 700;
      background: var(--accent-soft);
      color: var(--accent);
      border: 1px solid rgba(255, 102, 0, 0.3);
      padding: 2px 10px;
      border-radius: var(--radius-pill);
    }

    /* Check Versión Joven / Versión Adulta */
    .age-version-toggle {
      display: inline-flex;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-pill);
      padding: 3px;
      gap: 4px;
      width: fit-content;
    }

    .age-version-btn {
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 700;
      padding: 5px 12px;
      border-radius: var(--radius-pill);
      cursor: pointer;
      transition: all var(--transition-fast);
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    .age-version-btn.active {
      background: var(--accent);
      color: #000;
    }

    .roster-bio-text {
      font-size: 0.83rem;
      color: var(--text-muted);
      line-height: 1.55;
      max-height: 220px;
      overflow-y: auto;
      padding-right: 4px;
    }

    /* Comic Panel Cards */
    .comic-panels-grid {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 8px;
    }

    .comic-panel-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-left: 3px solid var(--accent);
      border-radius: var(--radius-md);
      padding: 1rem;
    }

    .comic-panel-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
      gap: 10px;
      flex-wrap: wrap;
    }

    .comic-panel-badge {
      font-size: 0.85rem;
      font-weight: 800;
      color: var(--accent);
    }

    .dropbox-action-btn.pose-btn {
      background: #0f172a;
      border: 1px solid #3b82f6;
      color: #93c5fd;
      padding: 7px 14px;
      font-size: 0.8rem;
    }

    .dropbox-action-btn.pose-btn:hover {
      background: #1e3a8a;
      color: #fff;
    }

    /* Aviso de cupón ya usado */
    .coupon-used-log {
      margin-top: 8px;
      padding: 10px 14px;
      border-radius: var(--radius-sm);
      background: var(--danger-soft);
      border: 1px solid rgba(239, 68, 68, 0.4);
      color: #fca5a5;
      font-size: 0.83rem;
      font-weight: 600;
    }

    /* ==========================================================================
       14. FLOATING ESTIMATE WIDGET (COMPACT LABEL + BIG NUMBER)
       ========================================================================== */
    .floating-estimate-widget {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 850;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 2px;
      padding: 11px 18px 12px;
      border-radius: 16px;
      background: rgba(11, 15, 24, 0.94);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border: 1.5px solid rgba(255, 107, 0, 0.55);
      box-shadow: 0 14px 36px rgba(0, 0, 0, 0.72), 0 0 24px -6px rgba(255, 107, 0, 0.45);
      transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.2s ease, box-shadow 0.2s ease;
      user-select: none;
    }

    .floating-estimate-widget .est-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.64rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-muted);
      line-height: 1;
    }

    .floating-estimate-widget .est-price-row {
      display: inline-flex;
      align-items: baseline;
      gap: 5px;
      line-height: 1.05;
    }

    .floating-estimate-widget .est-amount {
      font-family: 'JetBrains Mono', monospace;
      font-size: 2rem;
      font-weight: 800;
      color: var(--accent);
      letter-spacing: -0.03em;
      transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease;
    }

    .floating-estimate-widget .est-currency {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--text-muted);
    }

    .floating-estimate-widget.pulse-bump {
      transform: scale(1.06);
      border-color: #fbbf24;
    }

    .floating-estimate-widget.pulse-bump .est-amount {
      color: #ffffff;
      text-shadow: 0 0 14px var(--accent);
    }

    body.famx-commissions-page .app-container {
      padding-bottom: 6.25rem;
    }

    @media (max-width: 768px) {
      .floating-estimate-widget {
        display: none !important;
      }
      body.famx-commissions-page .app-container {
        padding-bottom: 7.25rem;
      }
      .toast-container {
        top: 76px;
        right: 12px;
        left: 12px;
        max-width: none;
      }
      .toast-card {
        min-width: 0;
        width: 100%;
      }
    }

    /* ==========================================================================
       15. VIEW EXAMPLES BUTTON ON COMMISSION TYPE CARDS
       ========================================================================== */
    .view-examples-btn {
      margin-top: 10px;
      width: 100%;
      padding: 6px 10px;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-muted);
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all 0.2s ease;
    }

    .view-examples-btn:hover {
      border-color: var(--accent);
      background: rgba(255, 107, 0, 0.14);
      color: #ffffff;
    }

    /* ==========================================================================
       16. SPECIAL PROMO HIGHLIGHT CARD, BANNER & COMMISSION #2 BOX
       ========================================================================== */
    .choice-card.promo-highlight-card {
      position: relative;
      border: 2px solid #f59e0b !important;
      background: linear-gradient(145deg, rgba(245, 158, 11, 0.18) 0%, rgba(255, 107, 0, 0.1) 48%, rgba(22, 29, 43, 0.96) 100%) !important;
      box-shadow: 0 0 26px -6px rgba(245, 158, 11, 0.55), inset 0 1px 0 rgba(254, 240, 138, 0.22);
      padding-top: 2.15rem;
      overflow: visible;
    }

    .choice-card.promo-highlight-card:hover {
      border-color: #fbbf24 !important;
      box-shadow: 0 10px 30px -6px rgba(245, 158, 11, 0.65);
    }

    .choice-card.promo-highlight-card.selected {
      border-color: #fde047 !important;
      box-shadow: 0 0 0 2px rgba(253, 224, 71, 0.4), 0 0 32px -4px rgba(245, 158, 11, 0.78);
    }

    .promo-ribbon-badge {
      position: absolute;
      top: -11px;
      left: 50%;
      transform: translateX(-50%);
      white-space: nowrap;
      padding: 3px 11px;
      border-radius: 999px;
      background: linear-gradient(90deg, #f59e0b, #fde047, #f59e0b);
      color: #090b10;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.64rem;
      font-weight: 800;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      box-shadow: 0 4px 14px rgba(245, 158, 11, 0.55);
      z-index: 3;
    }

    .promo-highlight-card .choice-title {
      color: #fef08a;
    }

    .promo-highlight-card .badge-price {
      background: rgba(245, 158, 11, 0.22);
      border: 1px solid rgba(253, 224, 71, 0.5);
      color: #fde047;
    }

    .promo-strike-price {
      text-decoration: line-through;
      opacity: 0.65;
      margin-right: 4px;
      font-weight: 600;
    }

    .promo-info-banner {
      margin-top: 1rem;
      margin-bottom: 1.25rem;
      padding: 14px 16px;
      border-radius: var(--radius-md);
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(255, 107, 0, 0.08) 100%);
      border: 1.5px solid rgba(245, 158, 11, 0.55);
      color: #fef3c7;
      font-size: 0.88rem;
      line-height: 1.55;
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    .promo-info-banner .promo-banner-icon {
      font-size: 1.3rem;
      flex-shrink: 0;
      line-height: 1.2;
    }

    .promo-comm2-card {
      margin-top: 1.75rem;
      padding: 1.35rem;
      border-radius: var(--radius-lg);
      background: linear-gradient(155deg, rgba(245, 158, 11, 0.09) 0%, rgba(17, 22, 32, 0.96) 55%);
      border: 1.5px solid rgba(245, 158, 11, 0.55);
      box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.7);
    }

    .promo-comm2-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 10px;
    }

    .promo-comm2-title {
      font-family: 'Chakra Petch', sans-serif;
      font-size: 1.08rem;
      font-weight: 700;
      color: #fde047;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .promo-comm2-tag {
      padding: 3px 10px;
      border-radius: 999px;
      background: rgba(245, 158, 11, 0.2);
      border: 1px solid rgba(253, 224, 71, 0.45);
      color: #fde047;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.7rem;
      font-weight: 700;
    }

    .promo-pose-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin-top: 6px;
    }

    .promo-pose-btn {
      padding: 11px 14px;
      border-radius: var(--radius-md);
      border: 1.5px solid var(--border-subtle);
      background: var(--bg-input);
      color: var(--text-main);
      font-family: 'Chakra Petch', sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      transition: all 0.2s ease;
    }

    .promo-pose-btn small {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 0.74rem;
      font-weight: 500;
      color: var(--text-muted);
    }

    .promo-pose-btn.active {
      border-color: #f59e0b;
      background: rgba(245, 158, 11, 0.16);
      color: #fef08a;
      box-shadow: 0 0 16px -4px rgba(245, 158, 11, 0.5);
    }

    /* ==========================================================================
       17. EXAMPLES MODAL VIEWER
       ========================================================================== */
    .examples-modal-dialog {
      max-width: 680px !important;
    }

    .examples-stage {
      position: relative;
      width: 100%;
      aspect-ratio: 4 / 5;
      max-height: 56vh;
      border-radius: 12px;
      overflow: hidden;
      background: var(--bg-input);
      border: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 12px;
    }

    .examples-stage img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

    .examples-caption-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 12px;
    }

    .examples-caption-text {
      font-size: 0.88rem;
      color: var(--text-main);
      font-weight: 600;
    }

    .examples-counter {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.76rem;
      color: var(--accent);
      flex-shrink: 0;
    }

    .examples-thumbs {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding-bottom: 4px;
    }

    .examples-thumb-btn {
      width: 56px;
      height: 70px;
      flex-shrink: 0;
      border-radius: 8px;
      overflow: hidden;
      border: 2px solid var(--border-subtle);
      background: var(--bg-input);
      padding: 0;
      cursor: pointer;
      transition: border-color 0.2s ease, transform 0.15s ease;
    }

    .examples-thumb-btn.active {
      border-color: var(--accent);
      transform: translateY(-2px);
    }

    .examples-thumb-btn img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }


    /* ==========================================================================
       18. WELCOME HERO, TURNAROUND PILL & WAITLIST GATE
       ========================================================================== */
    .comm-welcome-hero {
      max-width: 820px;
      margin: 0 auto 1.75rem;
      text-align: center;
      padding: 0.25rem 0.5rem;
    }

    .comm-welcome-title {
      font-family: 'Chakra Petch', sans-serif;
      font-size: clamp(1.55rem, 3vw, 2.2rem);
      font-weight: 700;
      color: #f8fafc;
      letter-spacing: 0.01em;
      margin-bottom: 0.65rem;
      line-height: 1.2;
    }

    .comm-welcome-body {
      font-size: 0.96rem;
      color: var(--text-muted);
      line-height: 1.65;
      max-width: 720px;
      margin: 0 auto 1.1rem;
    }

    .comm-terms-link {
      display: inline-block;
      margin-left: 6px;
      color: var(--accent);
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .comm-terms-link:hover {
      color: #fbbf24;
    }

    .comm-turnaround-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      justify-content: center;
      padding: 8px 16px;
      border-radius: 999px;
      background: rgba(255, 107, 0, 0.12);
      border: 1px solid rgba(255, 107, 0, 0.45);
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.78rem;
      color: #fed7aa;
    }

    .comm-turnaround-pill .turnaround-value {
      color: #ffffff;
      font-weight: 800;
    }

    .waitlist-gate-card {
      max-width: 720px;
      margin: 0 auto 2rem;
      padding: 2.25rem 1.75rem;
      text-align: center;
      border-radius: var(--radius-xl);
      background: linear-gradient(155deg, rgba(245, 158, 11, 0.12) 0%, rgba(15, 20, 30, 0.96) 55%);
      border: 1.5px solid rgba(245, 158, 11, 0.55);
      box-shadow: 0 20px 45px -16px rgba(0, 0, 0, 0.8);
    }

    .waitlist-gate-badge {
      display: inline-block;
      padding: 5px 14px;
      border-radius: 999px;
      background: rgba(245, 158, 11, 0.2);
      border: 1px solid rgba(253, 224, 71, 0.5);
      color: #fde047;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.74rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      margin-bottom: 1rem;
    }

    .waitlist-gate-title {
      font-family: 'Chakra Petch', sans-serif;
      font-size: 1.6rem;
      color: #ffffff;
      margin-bottom: 0.75rem;
    }

    .waitlist-gate-desc {
      color: #cbd5e1;
      font-size: 0.95rem;
      line-height: 1.65;
      max-width: 580px;
      margin: 0 auto 1.5rem;
    }

    .waitlist-active-banner {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 12px 16px;
      margin-bottom: 1.25rem;
      border-radius: var(--radius-md);
      background: rgba(245, 158, 11, 0.14);
      border: 1px solid rgba(245, 158, 11, 0.5);
      color: #fef3c7;
      font-size: 0.86rem;
      line-height: 1.5;
    }

    /* ==========================================================================
       19. NATIVE FILE UPLOADER & POSE ILLUSTRATIONS & PAYMENT POLICY
       ========================================================================== */
    .ref-uploader-box {
      padding: 12px 14px;
      border-radius: var(--radius-md);
      background: rgba(255, 255, 255, 0.025);
      border: 1.5px dashed rgba(148, 163, 184, 0.35);
      transition: border-color 0.2s ease, background 0.2s ease;
    }

    .ref-uploader-box:hover {
      border-color: var(--accent);
      background: rgba(255, 107, 0, 0.04);
    }

    .ref-uploader-head {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .ref-upload-btn {
      display: inline-flex !important;
      align-items: center;
      gap: 8px;
      padding: 9px 15px;
      border-radius: 10px;
      background: linear-gradient(135deg, #2563eb, #1d4ed8);
      color: #ffffff !important;
      font-size: 0.84rem;
      font-weight: 700;
      cursor: pointer;
      margin-bottom: 0 !important;
      transition: transform 0.15s ease, filter 0.2s ease;
    }

    .ref-upload-btn.pose-upload-btn {
      background: linear-gradient(135deg, #ff6b00, #ea580c);
    }

    .ref-upload-btn:hover {
      filter: brightness(1.1);
      transform: translateY(-1px);
    }

    .ref-upload-hint {
      font-size: 0.76rem;
      color: var(--text-muted);
    }

    .ref-preview-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 10px;
    }

    .ref-preview-grid:empty {
      display: none;
    }

    .ref-thumb-item {
      position: relative;
      width: 78px;
      height: 78px;
      border-radius: 10px;
      overflow: hidden;
      border: 1.5px solid var(--border-subtle);
      background: var(--bg-input);
    }

    .ref-thumb-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .ref-thumb-remove {
      position: absolute;
      top: 3px;
      right: 3px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: none;
      background: rgba(15, 23, 42, 0.88);
      color: #ffffff;
      font-size: 0.8rem;
      line-height: 1;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .ref-thumb-remove:hover {
      background: #dc2626;
    }

    .ref-uploading-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(59, 130, 246, 0.16);
      border: 1px solid rgba(59, 130, 246, 0.45);
      color: #bfdbfe;
      font-size: 0.76rem;
      font-weight: 600;
    }

    .pose-illus-wrap {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 4px;
      color: #cbd5e1;
      transition: color 0.2s ease, transform 0.2s ease;
    }

    .promo-pose-btn.active .pose-illus-wrap {
      color: #fde047;
      transform: scale(1.04);
    }

    .btn-clear-fanart {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      width: 28px;
      height: 28px;
      border-radius: 50%;
      font-size: 1.05rem;
      line-height: 1;
      cursor: pointer;
      flex-shrink: 0;
    }

    .btn-clear-fanart:hover {
      background: rgba(220, 38, 38, 0.25);
      color: #ffffff;
      border-color: #ef4444;
    }

    .license-pill.standard-pill {
      background: rgba(16, 185, 129, 0.18);
      border: 1px solid rgba(16, 185, 129, 0.45);
      color: #6ee7b7;
    }

    .payment-policy-banner {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 14px 16px;
      margin-bottom: 1.35rem;
      border-radius: var(--radius-md);
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(14, 165, 233, 0.08) 100%);
      border: 1.5px solid rgba(16, 185, 129, 0.45);
      color: #d1fae5;
      font-size: 0.88rem;
      line-height: 1.55;
    }

    .payment-policy-banner .policy-icon {
      font-size: 1.35rem;
      flex-shrink: 0;
      line-height: 1.2;
    }


    /* ==========================================================================
       20. BRAND TITLE, POSE IMG & CLOSED / WAITLIST MUTED CRIMSON THEME
       ========================================================================== */
    .comm-hero-brand-title {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-family: 'Chakra Petch', sans-serif;
      font-size: clamp(1.15rem, 2.2vw, 1.45rem);
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #e2e8f0;
      margin-bottom: 0.85rem;
    }

    .comm-hero-brand-title .accent-mx {
      color: var(--accent);
    }

    .comm-hero-brand-title .brand-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 12px var(--accent);
      flex-shrink: 0;
    }

    .welcome-closed-lead {
      display: inline;
      color: #fca5a5;
      font-weight: 700;
      margin-right: 6px;
    }

    .pose-illus-img {
      width: 84px;
      height: 96px;
      object-fit: contain;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: rgba(9, 12, 20, 0.7);
      display: block;
    }

    .promo-pose-btn.active .pose-illus-img {
      border-color: rgba(253, 224, 71, 0.65);
    }

    /* --- ESQUEMA DE COLORES APAGADO CON BASES ROJAS (COMISIONES CERRADAS) --- */
    body.famx-commissions-page.commissions-closed {
      --bg-app: #10080a;
      --bg-card: #1a0d10;
      --bg-card-elevated: #221115;
      --bg-input: #13090c;
      --border-subtle: rgba(220, 38, 38, 0.24);
      --border-focus: #b91c1c;
      --accent: #dc2626;
      --accent-hover: #ef4444;
      --accent-soft: rgba(220, 38, 38, 0.16);
      --text-main: #f3e8ea;
      --text-muted: #b5949a;
      background-color: #10080a !important;
      background-image:
        radial-gradient(circle at 50% 0%, rgba(185, 28, 28, 0.24) 0%, transparent 60%),
        radial-gradient(circle at 85% 85%, rgba(127, 29, 29, 0.2) 0%, transparent 50%) !important;
    }

    body.commissions-closed .wizard-card,
    body.commissions-closed .preview-card {
      background: linear-gradient(160deg, rgba(28, 13, 17, 0.96) 0%, rgba(18, 9, 12, 0.98) 100%);
      border-color: rgba(220, 38, 38, 0.28);
      box-shadow: 0 22px 50px -18px rgba(0, 0, 0, 0.85), 0 0 28px -12px rgba(185, 28, 28, 0.35);
    }

    body.commissions-closed .comm-turnaround-pill {
      background: rgba(185, 28, 28, 0.18);
      border-color: rgba(239, 68, 68, 0.45);
      color: #fecaca;
    }

    body.commissions-closed .waitlist-gate-card {
      background: linear-gradient(155deg, rgba(153, 27, 27, 0.22) 0%, rgba(20, 10, 13, 0.97) 60%);
      border-color: rgba(239, 68, 68, 0.52);
    }

    body.commissions-closed .waitlist-gate-badge {
      background: rgba(220, 38, 38, 0.24);
      border-color: rgba(248, 113, 113, 0.55);
      color: #fecaca;
    }

    body.commissions-closed .waitlist-active-banner {
      background: rgba(153, 27, 27, 0.24);
      border-color: rgba(239, 68, 68, 0.5);
      color: #fee2e2;
    }

    body.commissions-closed .floating-estimate-widget {
      background: rgba(22, 10, 13, 0.95);
      border-color: rgba(220, 38, 38, 0.65);
      box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.85), 0 0 22px -6px rgba(220, 38, 38, 0.45);
    }

    body.commissions-closed .btn-primary,
    body.commissions-closed .btn-success {
      background: linear-gradient(135deg, #b91c1c, #991b1b);
      border-color: rgba(248, 113, 113, 0.4);
      color: #ffffff;
    }

    body.commissions-closed .btn-primary:hover,
    body.commissions-closed .btn-success:hover {
      background: linear-gradient(135deg, #dc2626, #b91c1c);
    }

    body.commissions-closed .step-item.active .step-circle,
    body.commissions-closed .step-item.completed .step-circle,
    body.commissions-closed .stepper-progress-fill,
    body.commissions-closed .origin-tab.active {
      background: #b91c1c;
      border-color: #ef4444;
    }

    body.commissions-closed .choice-card.selected,
    body.commissions-closed .license-card.selected,
    body.commissions-closed .custom-switch-card.active {
      border-color: #dc2626;
      background: rgba(185, 28, 28, 0.16);
    }

    body.commissions-closed .comm-terms-link {
      color: #f87171;
    }


    /* ==========================================================================
       21. 5-STEP CRO OVERHAUL: WELCOME, FAQ, UPSELL, LICENSES, SPEI, LEGAL,
           MOBILE STICKY BAR, MOBILE PREVIEW DRAWER & INLINE VALIDATION
       ========================================================================== */

    /* Stepper Utility Bar (Draft status + Reset button) */
    .stepper-utility-bar {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      margin-bottom: 1rem;
      min-height: 26px;
    }

    .draft-restored-pill {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.7rem;
      font-weight: 600;
      color: #86efac;
      background: rgba(16, 185, 129, 0.12);
      border: 1px solid rgba(16, 185, 129, 0.32);
      padding: 3px 10px;
      border-radius: 999px;
      margin-right: auto;
    }

    .btn-reset-draft {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: transparent;
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 999px;
      cursor: pointer;
      transition: all 0.18s ease;
    }

    .btn-reset-draft:hover {
      border-color: var(--accent);
      color: var(--text-main);
      background: var(--accent-soft);
    }

    .est-custom-lic {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.65rem;
      font-weight: 700;
      color: #fde047;
      background: rgba(245, 158, 11, 0.16);
      border: 1px solid rgba(253, 224, 71, 0.4);
      padding: 2px 8px;
      border-radius: 999px;
      margin-top: 3px;
    }

    /* Step 1: Welcome Hero, Status Badge, Guarantee, How It Works & FAQ */
    .welcome-step-hero {
      text-align: center;
      padding: 0.25rem 0 1.35rem;
    }

    .welcome-status-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: 999px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      margin-bottom: 1rem;
    }

    .welcome-status-badge.open {
      background: rgba(16, 185, 129, 0.14);
      border: 1px solid rgba(16, 185, 129, 0.48);
      color: #6ee7b7;
    }

    .welcome-status-badge.closed {
      background: rgba(220, 38, 38, 0.2);
      border: 1px solid rgba(248, 113, 113, 0.55);
      color: #fecaca;
    }

    .status-pulse-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #10b981;
      box-shadow: 0 0 10px #10b981;
      flex-shrink: 0;
    }

    .welcome-status-badge.closed .status-pulse-dot {
      background: #ef4444;
      box-shadow: 0 0 10px #ef4444;
    }

    .welcome-step-heading {
      font-family: 'Chakra Petch', sans-serif;
      font-size: clamp(1.5rem, 3vw, 2.05rem);
      font-weight: 700;
      color: #ffffff;
      line-height: 1.2;
      margin-bottom: 0.7rem;
    }

    .welcome-step-lead {
      font-size: 0.96rem;
      color: var(--text-muted);
      line-height: 1.65;
      max-width: 660px;
      margin: 0 auto 1.15rem;
    }

    .welcome-guarantee-card {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 1.15rem 1.25rem;
      border-radius: var(--radius-md);
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.13) 0%, rgba(14, 165, 233, 0.08) 100%);
      border: 1.5px solid rgba(16, 185, 129, 0.45);
      margin-bottom: 1.5rem;
    }

    .guarantee-icon {
      font-size: 1.65rem;
      line-height: 1;
      flex-shrink: 0;
    }

    .guarantee-title {
      font-family: 'Chakra Petch', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      color: #6ee7b7;
      margin-bottom: 4px;
    }

    .guarantee-copy p {
      font-size: 0.88rem;
      color: #e2e8f0;
      line-height: 1.55;
      margin: 0 0 6px;
    }

    .guarantee-copy .comm-terms-link {
      margin-left: 0;
      font-size: 0.84rem;
    }

    /* 4-Stage How It Works Bar */
    .how-it-works-section {
      margin-bottom: 1.65rem;
    }

    .how-it-works-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      color: var(--accent);
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    .how-it-works-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
    }

    .how-stage-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 12px 11px;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .how-stage-num {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      font-weight: 800;
      color: var(--accent);
    }

    .how-stage-title {
      font-family: 'Chakra Petch', sans-serif;
      font-size: 0.92rem;
      font-weight: 700;
      color: var(--text-main);
    }

    .how-stage-desc {
      font-size: 0.76rem;
      color: var(--text-muted);
      line-height: 1.4;
    }

    .welcome-cta-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      margin: 1.65rem 0 1.85rem;
    }

    .welcome-start-btn {
      min-width: 240px;
      padding: 14px 32px;
      font-size: 1.02rem;
      letter-spacing: 0.02em;
    }

    .welcome-cta-sub {
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    /* Collapsible FAQ Accordion */
    .comm-faq-section {
      border-top: 1px solid var(--border-subtle);
      padding-top: 1.35rem;
    }

    .comm-faq-heading {
      font-family: 'Chakra Petch', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 10px;
    }

    .comm-faq-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

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

    .faq-item[open] {
      border-color: rgba(255, 102, 0, 0.45);
    }

    .faq-item summary {
      list-style: none;
      padding: 11px 14px;
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--text-main);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      user-select: none;
    }

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

    .faq-item summary::after {
      content: '+';
      font-family: 'JetBrains Mono', monospace;
      font-size: 1.05rem;
      color: var(--accent);
      font-weight: 700;
      flex-shrink: 0;
    }

    .faq-item[open] summary::after {
      content: '−';
    }

    .faq-item p {
      margin: 0;
      padding: 0 14px 12px;
      font-size: 0.83rem;
      color: var(--text-muted);
      line-height: 1.55;
      border-top: 1px solid rgba(255, 255, 255, 0.04);
      padding-top: 10px;
    }

    /* Step 2: Contextual Full Body -> Promo Upsell Banner */
    .promo-upsell-banner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      flex-wrap: wrap;
      padding: 13px 16px;
      margin: 0.5rem 0 1.25rem;
      border-radius: var(--radius-md);
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(255, 102, 0, 0.1) 100%);
      border: 1.5px solid rgba(251, 191, 36, 0.55);
      box-shadow: 0 8px 22px -10px rgba(245, 158, 11, 0.45);
    }

    .upsell-copy {
      flex: 1;
      min-width: 220px;
    }

    .upsell-badge {
      display: inline-block;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.66rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      color: #0b0f17;
      background: #fbbf24;
      padding: 2px 8px;
      border-radius: 999px;
      margin-bottom: 5px;
    }

    .upsell-text {
      font-size: 0.85rem;
      color: #fef3c7;
      line-height: 1.45;
    }

    .btn-upsell-upgrade {
      background: linear-gradient(135deg, #fbbf24, #f59e0b);
      color: #0b0f17;
      border: none;
      border-radius: var(--radius-sm);
      padding: 9px 15px;
      font-family: 'Chakra Petch', sans-serif;
      font-size: 0.86rem;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      transition: transform 0.15s ease, filter 0.15s ease;
    }

    .btn-upsell-upgrade:hover {
      transform: translateY(-1px);
      filter: brightness(1.08);
    }

    /* YCH Both Savings Badge */
    .ych-save-badge {
      position: absolute;
      top: -10px;
      right: 10px;
      background: linear-gradient(90deg, #10b981, #059669);
      color: #ffffff;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.65rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      padding: 3px 9px;
      border-radius: 999px;
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
      white-space: nowrap;
    }

    /* Comic 1-character positive hint */
    .comic-one-char-note {
      margin-top: 10px;
      padding: 9px 12px;
      border-radius: var(--radius-sm);
      background: rgba(16, 185, 129, 0.1);
      border: 1px solid rgba(16, 185, 129, 0.35);
      color: #a7f3d0;
      font-size: 0.8rem;
      line-height: 1.45;
      display: flex;
      align-items: flex-start;
      gap: 8px;
    }

    .origin-segmented-2 {
      grid-template-columns: repeat(2, 1fr);
    }

    .pose-illus-svg {
      display: block;
      width: 84px;
      height: 96px;
      border-radius: 8px;
    }

    /* AniList Dropdown auto-dropup */
    .anilist-results-dropdown.dropup {
      top: auto;
      bottom: calc(100% + 6px);
    }

    /* Step 3: Licenses Block A + Block B NDA */
    .license-section-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.74rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--accent);
      margin-bottom: 10px;
    }

    .license-card.enterprise-license-card {
      border-style: dashed;
    }

    .license-card.enterprise-license-card.selected {
      border-style: solid;
      border-color: #fbbf24;
      background: rgba(245, 158, 11, 0.12);
      box-shadow: 0 4px 18px rgba(245, 158, 11, 0.25);
    }

    .license-pill.enterprise-pill {
      background: rgba(245, 158, 11, 0.18);
      border-color: rgba(253, 224, 71, 0.45);
      color: #fde047;
    }

    .license-card.selected .license-pill.enterprise-pill {
      background: #fbbf24;
      color: #0b0f17;
    }

    .nda-switch-card {
      border-width: 2px;
      border-color: rgba(139, 92, 246, 0.35);
      background: linear-gradient(145deg, rgba(139, 92, 246, 0.08) 0%, var(--bg-card) 60%);
    }

    .nda-switch-card.active {
      border-color: #a855f7;
      background: linear-gradient(145deg, rgba(168, 85, 247, 0.18) 0%, var(--bg-card) 70%);
      box-shadow: 0 4px 20px rgba(168, 85, 247, 0.25);
    }

    .nda-switch-card.active .toggle-track {
      background: #a855f7;
    }

    .nda-pill {
      font-size: 0.76rem;
      padding: 2px 9px;
      color: #d8b4fe;
      border-color: rgba(168, 85, 247, 0.45);
      background: rgba(168, 85, 247, 0.16);
    }

    /* Step 5: Turnaround strip, SPEI MXN card & Legal Consent Box */
    .summary-turnaround-strip {
      margin-top: 10px;
      padding: 10px 14px;
      border-radius: var(--radius-md);
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      font-size: 0.84rem;
      color: var(--text-muted);
    }

    .summary-turnaround-strip strong {
      color: var(--text-main);
      margin-left: auto;
      font-family: 'JetBrains Mono', monospace;
    }

    .spei-info-card {
      background: rgba(16, 185, 129, 0.08);
      border: 1px solid rgba(16, 185, 129, 0.34);
      border-radius: var(--radius-md);
      padding: 1rem 1.15rem;
      margin-top: 0.75rem;
    }

    .spei-header-row {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 12px;
    }

    .spei-sub-copy {
      font-size: 0.83rem;
      color: var(--text-muted);
      margin-top: 3px;
      line-height: 1.45;
    }

    .spei-mxn-box {
      background: rgba(9, 13, 22, 0.78);
      border: 1px solid rgba(16, 185, 129, 0.38);
      border-radius: var(--radius-sm);
      padding: 11px 13px;
    }

    .spei-mxn-top {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }

    .spei-mxn-label {
      font-size: 0.8rem;
      color: #a7f3d0;
      font-weight: 600;
    }

    .spei-mxn-amount {
      font-family: 'JetBrains Mono', monospace;
      font-size: 1.18rem;
      font-weight: 800;
      color: #34d399;
    }

    .spei-mxn-meta {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      color: var(--text-muted);
      margin-top: 4px;
    }

    .spei-mxn-disclaimer {
      font-size: 0.74rem;
      color: #94a3b8;
      margin-top: 6px;
      line-height: 1.4;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      padding-top: 6px;
    }

    /* Legal Checkboxes */
    .legal-consent-box {
      margin-top: 1.5rem;
      padding: 1.15rem;
      border-radius: var(--radius-md);
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .legal-consent-title {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.74rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--accent);
    }

    .legal-check-item {
      display: flex !important;
      align-items: flex-start;
      gap: 11px;
      margin-bottom: 0 !important;
      padding: 10px 12px;
      border-radius: var(--radius-sm);
      background: var(--bg-input);
      border: 1px solid var(--border-subtle);
      cursor: pointer;
      transition: border-color 0.18s ease, background 0.18s ease;
    }

    .legal-check-item:hover {
      border-color: rgba(255, 102, 0, 0.45);
    }

    .legal-check-item.legal-check-adult {
      border-color: rgba(239, 68, 68, 0.38);
      background: rgba(239, 68, 68, 0.06);
    }

    .legal-check-item.input-error {
      border-color: var(--danger);
      box-shadow: 0 0 0 3px var(--danger-soft);
    }

    .legal-checkbox-input {
      width: 18px;
      height: 18px;
      margin-top: 2px;
      accent-color: var(--accent);
      flex-shrink: 0;
      cursor: pointer;
    }

    .legal-check-text {
      font-size: 0.83rem;
      font-weight: 500;
      color: var(--text-main);
      line-height: 1.48;
    }

    .legal-check-text .comm-terms-link {
      margin: 0 3px;
    }

    /* Inline Validation Error Messages */
    .field-error-msg {
      color: #fca5a5;
      font-size: 0.78rem;
      font-weight: 600;
      margin-top: 6px;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .field-error-msg::before {
      content: '⚠';
      color: var(--danger);
    }

    .roster-error-highlight {
      border: 1.5px solid var(--danger) !important;
      border-radius: var(--radius-md);
      padding: 10px;
      background: rgba(239, 68, 68, 0.06);
      box-shadow: 0 0 0 3px var(--danger-soft);
    }

    /* Mobile Collapsible Preview Toggle (<= 860px) */
    .mobile-preview-wrap {
      display: none;
      margin-bottom: 1.25rem;
    }

    .mobile-preview-toggle-btn {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 14px;
      border-radius: var(--radius-md);
      background: var(--bg-card);
      border: 1px solid rgba(255, 102, 0, 0.45);
      color: var(--text-main);
      font-family: 'Chakra Petch', sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.18s ease;
    }

    .mobile-preview-toggle-btn:hover {
      background: var(--accent-soft);
    }

    .mobile-preview-chevron {
      margin-left: auto;
      transition: transform 0.2s ease;
    }

    .mobile-preview-toggle-btn[aria-expanded="true"] .mobile-preview-chevron {
      transform: rotate(180deg);
    }

    .mobile-preview-drawer {
      margin-top: 10px;
      padding: 12px;
      border-radius: var(--radius-md);
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
    }

    .mobile-preview-drawer .preview-canvas-wrap.mobile-canvas {
      max-height: 290px;
      max-width: 240px;
      margin: 0 auto;
    }

    .mobile-carousel-counter {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.78rem;
      color: var(--accent);
      font-weight: 700;
    }

    /* Mobile Sticky Bottom Bar (Hidden on desktop, shown <= 768px from Step 2+) */
    .mobile-sticky-bar {
      display: none;
    }

    /* Success Modal Next Steps & Explore Links */
    .modal-next-steps-box {
      background: rgba(255, 102, 0, 0.08);
      border: 1px solid rgba(255, 102, 0, 0.32);
      border-radius: var(--radius-md);
      padding: 13px 15px;
      margin-bottom: 14px;
    }

    .modal-next-steps-title {
      font-family: 'Chakra Petch', sans-serif;
      font-size: 0.92rem;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 8px;
    }

    .modal-next-steps-list {
      margin: 0;
      padding-left: 1.2rem;
      display: flex;
      flex-direction: column;
      gap: 6px;
      font-size: 0.82rem;
      color: var(--text-main);
      line-height: 1.45;
    }

    .modal-explore-links {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }

    .modal-explore-link {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 9px 12px;
      border-radius: var(--radius-sm);
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      color: var(--text-main);
      text-decoration: none;
      font-size: 0.82rem;
      font-weight: 700;
      transition: border-color 0.18s ease, background 0.18s ease;
    }

    .modal-explore-link:hover {
      border-color: var(--accent);
      background: var(--accent-soft);
    }

    .modal-footer-wrap {
      flex-wrap: wrap;
    }

    /* Responsive Adjustments */
    @media (max-width: 860px) {
      .mobile-preview-wrap {
        display: block;
      }
      .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .wizard-card {
        padding: 1.25rem 1rem;
      }
      .stepper-track {
        left: 22px;
        right: 22px;
        top: 17px;
      }
      .step-circle {
        width: 34px;
        height: 34px;
        font-size: 0.82rem;
      }
      .step-label {
        font-size: 0.68rem;
        max-width: 68px;
        line-height: 1.15;
      }
      /* Hide desktop wizard actions on mobile when sticky bottom bar is visible (Step 2+) */
      body.mobile-bar-visible #wizard-actions-bar {
        display: none !important;
      }
      .mobile-sticky-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 950;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
        background: rgba(11, 15, 24, 0.96);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1.5px solid rgba(255, 102, 0, 0.5);
        box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.72);
      }
      .mobile-sticky-bar.d-none {
        display: none !important;
      }
      .mobile-sticky-price {
        display: flex;
        flex-direction: column;
        gap: 1px;
        min-width: 0;
      }
      .mobile-est-label {
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.58rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        color: var(--text-muted);
        text-transform: uppercase;
      }
      .mobile-est-row {
        display: flex;
        align-items: baseline;
        gap: 4px;
        flex-wrap: wrap;
      }
      .mobile-est-amount {
        font-family: 'JetBrains Mono', monospace;
        font-size: 1.32rem;
        font-weight: 800;
        color: var(--accent);
        line-height: 1.1;
      }
      .mobile-est-currency {
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.68rem;
        font-weight: 700;
        color: var(--text-muted);
      }
      .mobile-est-lic {
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.62rem;
        font-weight: 700;
        color: #fde047;
      }
      .mobile-sticky-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
      }
      .mobile-nav-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
        white-space: nowrap;
      }
      .promo-pose-grid {
        grid-template-columns: 1fr 1fr;
      }
      .cards-selection-grid {
        grid-template-columns: 1fr;
      }
      .modal-footer-wrap {
        justify-content: stretch;
      }
      .modal-footer-wrap .btn {
        flex: 1 1 130px;
      }
    }

    @media (max-width: 440px) {
      .how-it-works-grid {
        grid-template-columns: 1fr;
      }
      .mobile-nav-btn {
        padding: 9px 11px;
        font-size: 0.8rem;
      }
      .mobile-est-amount {
        font-size: 1.18rem;
      }
    }

    /* Crimson Waitlist Mode compatibility for new Step 1-5 elements */
    body.commissions-closed .mobile-sticky-bar {
      background: rgba(22, 10, 13, 0.97);
      border-top-color: rgba(220, 38, 38, 0.65);
    }

    body.commissions-closed .welcome-guarantee-card {
      background: linear-gradient(135deg, rgba(185, 28, 28, 0.16) 0%, rgba(28, 13, 17, 0.92) 100%);
      border-color: rgba(239, 68, 68, 0.45);
    }

    body.commissions-closed .guarantee-title {
      color: #fecaca;
    }

    body.commissions-closed .mobile-preview-toggle-btn {
      border-color: rgba(239, 68, 68, 0.48);
    }


    /* Global SFW + NSFW Gallery Visibility Switch */
    .global-nsfw-display-card {
      margin-bottom: 1.35rem;
      border-width: 1.5px;
      border-color: rgba(244, 63, 94, 0.35);
      background: linear-gradient(135deg, rgba(244, 63, 94, 0.08) 0%, var(--bg-card) 65%);
    }

    .global-nsfw-display-card.active {
      border-color: #f43f5e;
      background: linear-gradient(135deg, rgba(244, 63, 94, 0.17) 0%, var(--bg-card) 75%);
      box-shadow: 0 4px 18px rgba(244, 63, 94, 0.22);
    }

    .global-nsfw-display-card.active .toggle-track {
      background: #f43f5e;
    }
