
    /* ========== Supported formats info popover ========== */
/* 
    .section-hint-with-info {
      display: flex;
      align-items: flex-start;
      gap: 7px;
      margin-bottom: 16px;
    }

    .section-hint-with-info .section-hint {
      flex: 1;
      margin: 0;
      min-width: 0;
    }

    .formats-info-wrapper {
      position: relative;
      display: inline-flex;
      flex-shrink: 0;
    } */

    /* .section-hint-with-info {
      display: flex;
      align-items: flex-start;
      gap: 7px;
      margin-bottom: 16px;
    }

    .section-hint-with-info .section-hint {
      flex: 1;
      margin: 0;
      min-width: 0;
    }

    .formats-info-wrapper {
      position: relative;
      display: inline-flex;
      flex-shrink: 0;
    } */

    .section-hint-with-info {
      display: inline-flex;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 16px;
      max-width: 100%;
      vertical-align: top;
    }

    .section-hint-with-info .section-hint {
      margin: 0;
    }

    .formats-info-wrapper {
      position: relative;
      display: inline-flex;
      align-items: center;
      flex-shrink: 0;
    }

    .formats-info-button {
      width: 19px;
      height: 19px;
      padding: 0;
      flex-shrink: 0;

      border: 1px solid var(--accent-primary);
      border-radius: 50%;

      background: transparent;
      color: var(--accent-primary);

      font: inherit;
      font-size: 12px;
      font-weight: 800;
      line-height: 1;

      cursor: pointer;

      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .formats-info-button:hover,
    .formats-info-button:focus-visible,
    .formats-info-button[aria-expanded="true"] {
      color: #ffffff;
      background: var(--accent-primary);
      outline: none;
    }

    [data-theme="dark"] .formats-info-button {
      border-color: #ffffff;
      color: #ffffff;
    }

    [data-theme="dark"] .formats-info-button:hover,
    [data-theme="dark"] .formats-info-button:focus-visible,
    [data-theme="dark"] .formats-info-button[aria-expanded="true"] {
      border-color: #ffffff;
      color: #ffffff;
      background: rgba(255, 255, 255, 0.12);
    }

    .formats-info-popover {
      position: absolute;
      z-index: 100;

      top: calc(100% + 8px);
      /* inset-inline-start: 0; */

      inset-inline-end: 0;

      width: min(320px, calc(100vw - 48px));
      padding: 12px 14px;

      border: 1px solid var(--border);
      border-radius: 12px;

      background: var(--bg-secondary);
      color: var(--text-primary);

      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);

      font-size: 12px;
      line-height: 1.7;
      text-align: start;
    }

    .formats-info-popover[hidden] {
      display: none;
    }

    .formats-info-title {
      display: block;
      margin-bottom: 5px;
      color: var(--text-primary);
    }

    .formats-info-description {
      margin: 0 0 7px;
      color: var(--text-secondary);
    }

    .formats-info-list {
      margin: 0;
      color: var(--text-primary);

      direction: ltr;
      text-align: left;

      font-family:
        "JetBrains Mono",
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

      font-size: 11px;
      line-height: 1.8;
      overflow-wrap: anywhere;
    }

    [data-theme="light"] .formats-info-popover {
      background: #ffffff;
      color: #0f172a;
    }

    @media (max-width: 600px) {
      .section-hint-with-info {
        gap: 6px;
        margin-bottom: 12px;
      }

      .formats-info-popover {
        width: min(290px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
      }
    }


        
    /* ============  ============ */
    .file-upload-area {
      position: relative;
      border: 2px dashed var(--border);
      border-radius: 16px;
      padding: 32px 24px;
      text-align: center;
      transition: all 0.3s ease;
      cursor: pointer;
      background: rgba(99, 102, 241, 0.02);
    }
    
    .file-upload-area:hover {
      border-color: var(--accent-primary);
      background: rgba(99, 102, 241, 0.05);
    }
    
    .file-upload-area.dragover {
      border-color: var(--accent-primary);
      background: rgba(99, 102, 241, 0.1);
      transform: scale(1.02);
    }
    
    @media (min-width: 701px) {
      #uploadSection .section-card {
        min-height: 294px;
      }

      #uploadArea {
        min-height: 172px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }
    }

    .file-reset-btn {
      margin-top: 10px;
      padding: 6px 12px;
      border-radius: 999px;
      border: 1px solid rgba(248, 113, 113, 0.8);
      background: transparent;
      color: #fecaca;
      font-size: 12px;
      cursor: pointer;
    }

    .file-reset-btn:hover {
      background: rgba(248, 113, 113, 0.1);
      color: #fee2e2;
    }


    .upload-icon {
      font-size: 48px;
      margin-bottom: 12px;
      opacity: 0.5;
    }
    
    .upload-text {
      font-size: 14px;
      color: var(--text-secondary);
      margin-bottom: 8px;
    }
    
    .upload-text strong {
      color: var(--accent-primary);
    }
    
    .supported-formats {
      font-size: 11px;
      color: var(--text-secondary);
      opacity: 0.9;
    }
    
    input[type="file"] {
      position: absolute;
      opacity: 0;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      cursor: pointer;
    }
    
    .file-info {
      margin-top: 16px;
      padding: 16px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      gap: 12px;
      animation: fadeIn 0.4s ease-out;
    }
    
    .file-info-success {
      background: rgba(16, 185, 129, 0.1);
      border: 1px solid rgba(16, 185, 129, 0.3);
    }
    
    .file-info-error {
      background: rgba(239, 68, 68, 0.1);
      border: 1px solid rgba(239, 68, 68, 0.3);
    }
    
    .file-info-loading {
      background: rgba(99, 102, 241, 0.1);
      border: 1px solid rgba(99, 102, 241, 0.3);
    }
    
    .file-icon {
      font-size: 32px;
      flex-shrink: 0;
    }
    
    .file-details {
      flex: 1;
    }
 
    .file-name {
      font-size: 14px;
      font-weight: 600;
      color: var(--card-text);
      margin-bottom: 4px;
    }

    .file-meta {
      font-size: 12px;
      color: var(--text-secondary);
    }
    
    .loading-spinner {
      animation: pulse 1.5s ease-in-out infinite;
    }

    .models-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 12px;
      margin-top: 16px;
    }
    
    .model-card {
      position: relative;
      padding: 20px;
      border-radius: 16px;
      background: rgba(15, 23, 42, 0.6);
      border: 1px solid var(--border);
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      overflow: hidden;
    }
    
    .model-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .model-card:hover {
      border-color: var(--accent-primary);
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(99, 102, 241, 0.2);
    }
    
    .model-card:hover::before {
      opacity: 1;
    }
    
    .model-card.selected {
      border-color: var(--accent-primary);
      background: rgba(99, 102, 241, 0.1);
      box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3), 0 12px 32px rgba(99, 102, 241, 0.3);
    }
    
    .model-card.selected::after {
      content: '?';
      position: absolute;
      top: 10px;
      right: 10px;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: var(--accent-primary);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 12px;
    }

    .file-reset-btn:disabled {
      cursor: wait;
      opacity: 0.72;
      transform: none;
    }

    .file-reset-btn.file-reset-btn-active {
      color: #fcd34d;
      border-color: rgba(245, 158, 11, 0.55);
      background: rgba(245, 158, 11, 0.08);
    }

    .model-card.is-unavailable {
      cursor: not-allowed;
      border-color: rgba(239, 68, 68, 0.5);
      background: rgba(127, 29, 29, 0.14);
      filter: saturate(0.72);
    }

    .model-card.is-unavailable:hover {
      border-color: rgba(239, 68, 68, 0.65);
      box-shadow: none;
      transform: none;
    }

    .model-card.is-unavailable::before {
      background: linear-gradient(
        135deg,
        rgba(239, 68, 68, 0.08),
        rgba(15, 23, 42, 0.08)
      );
      opacity: 1;
    }

    .model-card.is-unavailable:focus-visible {
      outline: 3px solid rgba(239, 68, 68, 0.35);
      outline-offset: 3px;
    }

    .badge-unavailable {
      color: #fecaca;
      border: 1px solid rgba(239, 68, 68, 0.5);
      background: rgba(239, 68, 68, 0.18);
      text-transform: none;
    }

    .model-unavailable-notice {
      position: relative;
      z-index: 1;
      display: grid;
      gap: 5px;
      margin-top: 12px;
      padding: 10px 12px;
      border: 1px solid rgba(239, 68, 68, 0.35);
      border-radius: 10px;
      background: rgba(239, 68, 68, 0.1);
      color: #fecaca;
      font-size: 11px;
      line-height: 1.6;
    }

    .model-unavailable-title {
      display: flex;
      align-items: center;
      gap: 7px;
      font-size: 12px;
    }

    .model-unavailable-icon {
      flex: 0 0 auto;
      font-size: 15px;
    }

    [dir="ltr"] .model-unavailable-notice {
      text-align: left;
    }

    [dir="rtl"] .model-unavailable-notice {
      text-align: right;
    }

    @media (max-width: 640px) {
      .model-card {
        padding: 16px;
      }

      .model-header {
        gap: 8px;
      }

      .model-badge {
        max-width: 46%;
        white-space: normal;
      }

      .model-unavailable-notice {
        font-size: 12px;
      }
    }
    
    .model-header {
      display: flex;
      justify-content: space-between;
      align-items: start;
      margin-bottom: 12px;
      position: relative;
      z-index: 1;
    }
    
    .model-name {
      font-size: 15px;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 4px;
    }

    .model-title-row {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .model-logo {
      width: 20px;
      height: 20px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      font-weight: 700;
    }

    .model-logo-openai {
      background: rgba(99, 102, 241, 0.25);
      color: var(--accent-primary);
    }

    .model-logo-google {
      background: rgba(34, 197, 94, 0.25);
      color: #22c55e;
    }

    .model-logo-xai {
      background: rgba(248, 250, 252, 0.07);
      color: #e5e7eb;
    }

    .model-logo-meta {
      background: rgba(59, 130, 246, 0.25);
      color: #3b82f6;
    }

    .model-logo-oss {
      background: rgba(148, 163, 184, 0.25);
      color: #e5e7eb;
    }

    .model-vendor {
      font-size: 11px;
      color: var(--text-secondary);
    }

    .model-logo-img {
      width: 28px;               
      height: 28px;
      border-radius: 999px;
      object-fit: contain;     
      flex-shrink: 0;
      background: #ffffff;        
      padding: 3px;              
      box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.5);  
    }

    .model-badge {
      padding: 4px 10px;
      border-radius: 12px;
      font-size: 10px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    
    .badge-best {
      background: rgba(16, 185, 129, 0.2);
      color: var(--success);
      border: 1px solid rgba(16, 185, 129, 0.4);
    }
    
    .badge-premium {
      background: rgba(251, 191, 36, 0.2);
      color: #fbbf24;
      border: 1px solid rgba(251, 191, 36, 0.4);
    }

    .badge-rank1 {
      background: rgba(99, 102, 241, 0.18);
      color: var(--accent-primary);
      border: 1px solid rgba(99, 102, 241, 0.5);
    }

    .badge-rank2 {
      background: rgba(15, 23, 42, 0.85);
      color: var(--text-secondary);
      border: 1px solid rgba(148, 163, 184, 0.5);
    }
    
    .model-price {
      font-size: 15px;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 8px;
      position: relative;
      z-index: 1;
    }
    
    .model-price-irt {
      color: var(--accent-primary);
    }
    
    .model-price-usd {
      font-size: 12px;
      color: var(--text-secondary);
      font-weight: 500;
      margin-left: 8px;
    }
    
    .model-desc {
      font-size: 12px;
      color: var(--text-secondary);
      line-height: 1.5;
      position: relative;
      z-index: 1;
    }

    textarea {
      width: 100%;
      min-height: 120px;
      padding: 16px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: var(--bg-secondary);
      color: var(--text-primary);
      font-size: 14px;
      font-family: inherit;
      resize: vertical;
      transition: all 0.3s ease;
    }
    
    textarea:focus {
      outline: none;
      border-color: var(--accent-primary);
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    }
    
    textarea::placeholder {
      color: var(--text-secondary);
      opacity: 0.6;
    }
    

    .translation-choice-panel {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-top: 16px;
    }

    .choice-field {
      display: flex;
      flex-direction: column;
      gap: 7px;
    }

    .choice-field label {
      font-size: 12px;
      font-weight: 700;
      color: var(--text-primary);
    }

    .choice-select {
      width: 100%;
      min-height: 46px;
      padding: 0 14px;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: var(--bg-secondary);
      color: var(--text-primary);
      font: inherit;
      font-size: 14px;
      outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .choice-select:focus {
      border-color: var(--accent-primary);
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    }

    .choice-select-native-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .language-combobox {
      position: relative;
      width: 100%;
      z-index: 4;
    }

    .language-combobox.is-open {
      z-index: 40;
    }

    .language-combobox-button {
      width: 100%;
      min-height: 46px;
      padding: 0 12px 0 14px;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: var(--bg-secondary);
      color: var(--text-primary);
      font: inherit;
      font-size: 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      cursor: pointer;
      text-align: start;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .language-combobox-button:focus-visible,
    .language-combobox.is-open .language-combobox-button {
      outline: none;
      border-color: var(--accent-primary);
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    }

    .language-combobox-label {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .language-combobox-label.is-placeholder {
      color: var(--text-secondary);
    }

    .language-combobox-chevron {
      flex: 0 0 auto;
      color: var(--text-secondary);
      font-size: 16px;
      line-height: 1;
      transition: transform 0.2s ease;
    }

    .language-combobox.is-open .language-combobox-chevron {
      transform: none;
    }


    .language-combobox-panel {
      position: absolute;
      top: auto;
      bottom: calc(100% + 6px);
      left: 0;
      right: 0;
      display: none;
      padding: 10px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: rgba(15, 23, 42, 0.98);
      box-shadow: 0 18px 42px rgba(15, 23, 42, 0.42);
      max-height: 280px;
      overflow: hidden;
    }

    .language-combobox.is-open .language-combobox-panel {
      display: block;
    }

    .language-combobox-search {
      width: 100%;
      min-height: 38px;
      padding: 0 12px;
      border-radius: 9px;
      border: 1px solid rgba(148, 163, 184, 0.28);
      background: rgba(2, 6, 23, 0.72);
      color: var(--text-primary);
      font: inherit;
      font-size: 13px;
      outline: none;
      margin-bottom: 8px;
    }

    .language-combobox-search:focus {
      border-color: var(--accent-primary);
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    }

    .language-combobox-options {
      max-height: 210px;
      overflow-y: auto;
      padding-inline-end: 2px;
    }

    .language-combobox-option {
      width: 100%;
      min-height: 38px;
      padding: 8px 10px;
      border: 0;
      border-radius: 8px;
      background: transparent;
      color: var(--text-primary);
      font: inherit;
      font-size: 13px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      cursor: pointer;
      text-align: start;
    }

    .language-combobox-option.is-filtered-out,
    .language-combobox-option[hidden] {
      display: none !important;
    }

    .language-combobox-option:hover,
    .language-combobox-option.is-selected {
      background: rgba(99, 102, 241, 0.18);
    }

    .language-combobox-option-text {
      min-width: 0;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
    }

    .language-combobox-option-native,
    .language-combobox-option-english {
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .language-combobox-option-native {
      color: var(--text-primary);
      font-weight: 600;
    }

    .language-combobox-option-english {
      color: var(--text-secondary);
      font-size: 11px;
    }

    .language-combobox-empty {
      display: none;
      padding: 14px 10px 10px;
      color: var(--text-secondary);
      font-size: 12px;
      text-align: center;
    }

    html[dir="rtl"] .language-combobox-button,
    html[data-lang="fa"] .language-combobox-button,
    html[dir="rtl"] .language-combobox-option,
    html[data-lang="fa"] .language-combobox-option {
      direction: rtl;
      text-align: right;
    }

    html[dir="ltr"] .language-combobox-button,
    html:not([dir="rtl"]):not([data-lang="fa"]) .language-combobox-button,
    html[dir="ltr"] .language-combobox-option,
    html:not([dir="rtl"]):not([data-lang="fa"]) .language-combobox-option {
      direction: ltr;
      text-align: left;
    }

    /* ============  ============ */

    @media (max-width: 600px) {
      .translation-choice-panel {
        grid-template-columns: 1fr;
      }

      .language-combobox-panel {
        max-height: 260px;
      }

      .language-combobox-options {
        max-height: 190px;
      }
    }

    /* ============  ============ */

    .translation-choice-note {
      margin-top: 12px;
      padding: 12px 14px;
      border-radius: 10px;
      border: 1px solid rgba(20, 184, 166, 0.18);
      background: rgba(20, 184, 166, 0.07);
      color: var(--text-secondary);
      font-size: 12px;
      line-height: 1.6;
    }

    .prompt-hidden {
      display: none !important;
    }
    .prompt-examples {
      margin-top: 12px;
      padding: 12px;
      border-radius: 12px;
      background: rgba(99, 102, 241, 0.05);
      border: 1px solid rgba(99, 102, 241, 0.1);
    }
    
    .examples-title {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--text-secondary);
      margin-bottom: 8px;
      font-weight: 600;
    }
    
    .example-item {
      padding: 8px 12px;
      margin-bottom: 6px;
      border-radius: 8px;
      background: rgba(15, 23, 42, 0.6);
      border-left: 3px solid var(--accent-primary);
      font-size: 12px;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .example-item:hover {
      background: rgba(15, 23, 42, 0.8);
      color: var(--text-primary);
      transform: translateX(4px);
    }
    
    .example-item:last-child {
      margin-bottom: 0;
    }

    .footer {
      position: sticky;
      bottom: 0;
      padding: 20px 0;
      background: linear-gradient(to top, var(--bg-primary) 70%, transparent);
      z-index: 10;
    }
    
    .confirm-btn {
      width: 100%;
      padding: 18px 24px;
      border-radius: 16px;
      border: none;
      font-size: 16px;
      font-weight: 700;
      background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
      color: white;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 8px 24px var(--accent-glow);
      position: relative;
      overflow: hidden;
      min-height: 57px;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1.2;
    }
    
    .confirm-btn.confirm-btn-empty {
      color: transparent;
      text-shadow: none;
    }
    .confirm-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s ease;
    }
    
    .confirm-btn:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 12px 32px var(--accent-glow);
    }
    
    .confirm-btn:hover:not(:disabled)::before {
      left: 100%;
    }
    
    .confirm-btn:active:not(:disabled) {
      transform: translateY(0);
    }
    
    .confirm-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      box-shadow: none;
    }
    
    .status-text {
      text-align: center;
      margin-top: 12px;
      font-size: 13px;
      color: var(--text-secondary);
      min-height: 20px;
    }
    
    .models-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }
    
    .models-count {
      font-size: 12px;
      color: var(--text-secondary);
      padding: 6px 12px;
      border-radius: 12px;
      background: rgba(99, 102, 241, 0.1);
      border: 1px solid rgba(99, 102, 241, 0.2);
    }

    #modelsSection .section-icon {
      font-size: 18px;
      opacity: 0.8;
    }

    .rank-legend {
      margin-top: 8px;
      padding: 10px 12px;
      border-radius: 12px;
      background: rgba(15, 23, 42, 0.7);
      border: 1px dashed rgba(148, 163, 184, 0.4);
      font-size: 11px;
      color: var(--text-secondary);
      line-height: 1.5;
    }

    .rank-legend strong {
      color: var(--text-primary);
    }

    .rank-legend-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 8px;
    }

    .rank-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 10px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      margin: 0;
      cursor: pointer;
      transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
    }

    .rank-pill-1 {
      background: rgba(99, 102, 241, 0.15);
      border: 1px solid rgba(99, 102, 241, 0.6);
      color: var(--accent-primary);
    }

    .rank-pill-2 {
      background: rgba(15, 23, 42, 0.8);
      border: 1px solid rgba(148, 163, 184, 0.4);
      color: var(--text-secondary);
    }

    .rank-pill:not(.active) {
      opacity: 0.68;
    }

    .rank-pill.active {
      opacity: 1;
      box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.12);
    }

    .rank-pill-2.active {
      border-color: rgba(148, 163, 184, 0.75);
      color: var(--text-primary);
    }

    .rank-dot {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: currentColor;
    }

    .rank-desc {
      display: none;
      margin: 0;
    }
    
    .rank-desc.active {
      display: block;
    }
