/* Wider container just for the promo grid */
.container-promos {
  max-width: 1440px;
}
@media (min-width: 1600px) {
  .container-promos { max-width: 1560px; }
}

#intelView {
  padding-top: 0;
  margin-top: -70px;
}
.pro-tag {
    padding:1px 6px 1px 6px;
    background-color:#fff;
    border-radius: 50px;
    color: #FF7D41;
    font-family: 'Be Vietnam Pro Bold';
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.news-art-panel {
  height: 480px;            /* was 510px */
  overflow: hidden;
  box-shadow: 2px 4px 40px rgba(0, 0, 0, 0.08) !important;
  -moz-box-shadow: 2px 4px 40px rgba(0, 0, 0, 0.08) !important;
  -webkit-box-shadow: 2px 4px 40px rgba(0, 0, 0, 0.08) !important;
}
.news-art-panel:hover {
  box-shadow: 2px 4px 40px rgba(0, 0, 0, 0.08) !important;
  -moz-box-shadow: 2px 4px 40px rgba(0, 0, 0, 0.08) !important;
  -webkit-box-shadow: 2px 4px 40px rgba(0, 0, 0, 0.08) !important;
}

.img-holder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: #f4f4f4;
}
.badge-status {
  position: relative;
}
.img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.news-art-panel .btn-outline-black {
  position: absolute;
  bottom:0;
  left:0;
  right: 0;
  display: block;
  width: 90%;
  margin:0 auto;
  height:40px !important;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
}
@media (min-width: 1200px) {
  .news-art-panel .content {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .news-art-panel { height: 500px; }
}

/* ===================== FILTER BAR ===================== */
.promo-filter-bar {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  margin-top: 28px;
}
.promo-filter-bar .filter-label {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  margin-bottom: 6px;
  display: block;
  letter-spacing: 0.2px;
}
.promo-filter-bar .nice-select {
  width: 100%;
  height: 48px;
  line-height: 46px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding-left: 16px;
  padding-right: 36px;
  font-size: 15px;
  color:#000;
  font-family:'Be Vietnam Pro Medium';
  background-color: #fafafa;
  font-weight: 500;
}
.promo-filter-bar .nice-select:hover,
.promo-filter-bar .nice-select.open {
  border-color: #000;
}
.promo-filter-bar .nice-select .list {
  width: 100%;
  max-height: 280px;
  overflow-y: auto;
  border-radius: 10px;
  font-size: 14px;
}
.promo-filter-bar .filter-reset {
  display: inline-block;
  font-size: 13px;
  color: #333;
  font-family: 'Be Vietnam Pro Bold';
  text-decoration: underline;
  margin-top: 12px;
}
.promo-filter-bar .filter-reset:hover {
  color: #000;
  text-decoration: none;
}

/* ===================== SEARCH INPUT ===================== */
.search-input-wrap {
  position: relative;
}
.search-input {
  width: 100%;
  height: 48px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding: 0 44px 0 44px;
  font-size: 15px;
  background-color: #fff;                          /* white = active */
  font-weight: 500;
  color: #1a1a1a;
  font-family: 'Be Vietnam Pro Medium';
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);       /* subtle lift */
}
.search-input:focus {
  outline: none;
  border-color: #000;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);      /* deeper lift on focus */
}
.search-input:focus {
  outline: none;
  border-color: #000;
  background-color: #fff;
}
.search-input::placeholder {
  color: #999;
  font-weight: 400;
}
.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  font-size: 14px;
  pointer-events: none;
}
.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.search-clear:hover {
  color: #000;
}
.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
}

/* Meaning-based colors */
.pill-category {
  background: #3b82f6; /* blue */
}

.pill-mechanic {
  background: #10b981; /* green */
}

.pill-prize {
  background: #f59e0b; /* orange */
  color: #1a1a1a; /* better contrast */
}

.pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

@media (max-width: 767px) {
  .promo-filter-bar {
    padding: 16px;
    margin-top: 22px;
  }
  .promo-filter-bar .filter-col {
    margin-bottom: 12px;
  }
  .promo-filter-bar .filter-col:last-child {
    margin-bottom: 0;
  }
}

/* ===================== RESULTS HEADER ===================== */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 0 8px;
}
.results-header .results-count {
  font-size: 14px;
  color: #444;
  font-weight: 500;
}
.results-header .results-count strong {
  color: #000;
}

/* ===================== EMPTY STATE ===================== */
.no-results {
  background: #fff;
  border-radius: 14px;
  padding: 20px 30px;
  min-height: 300px;
  text-align: center;
}
.no-results i {
  font-size: 48px;
  color: #000;
  margin-bottom: 18px;
}
.no-results h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
}
.no-results p {
  font-size: 15px;
  color: #555;
  margin: 0;
}
.brand-link-listing {
  font-family: 'Be Vietnam Pro Bold';
  display: inline-block;
}

.nice-select {
    position: relative;
    padding-right: 36px !important;
}
.nice-select::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    width: 8px !important;
    height: 8px !important;
    border: none !important;
    border-right: 2px solid #555 !important;
    border-bottom: 2px solid #555 !important;
    transform: translateY(-30%) rotate(45deg) !important;
    transition: transform 0.15s ease-in-out !important;
    pointer-events: none !important;
}
.nice-select.open::after {
    transform: translateY(-40%) rotate(-135deg) !important;
}
/* ===================== PAGINATION ===================== */
.promo-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 30px;
  padding: 0 10px;
}
.promo-pagination a,
.promo-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  background: #fff;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #e8e8e8;
  transition: all 0.18s ease;
}
.promo-pagination a:hover {
  background-color:#fff;
  border-color: #000;
  color: #000;
}
.promo-pagination .page-current {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
  cursor: default;
}
.promo-pagination .page-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f5f5f5;
}
.promo-pagination .page-ellipsis {
  border: none;
  background: transparent;
  color: #999;
  cursor: default;
}

.promo-pagination .page-locked {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
  gap: 5px;
}
.promo-pagination .page-locked i {
  font-size: 10px;
  color: #d97706;
}
.promo-pagination .page-locked:hover {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #78350f;
}
.promo-pagination .page-locked:hover i {
  color: #b45309;
}
.promo-pagination .page-locked-next {
  /* Next-button variant: lock icon only, no number — keep it square */
  min-width: 42px;
}

@media (max-width: 480px) {
  .promo-pagination a,
  .promo-pagination span {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }
}

/* ===================== VIEW TOGGLE ===================== */
.view-toggle {
  display: flex;
  gap: 4px;
  background: #f0f0f0;
  border-radius: 10px;
  padding: 4px;
}
.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #888;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.18s ease;
}
.view-toggle-btn:hover {
  color: #1a1a1a;
}
.view-toggle-btn.active {
  background: #fff;
  color: #1a1a1a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* ===================== LIST VIEW ===================== */
.promo-view-list .news-art-panel {
  height: auto;
  min-height: 170px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 0 !important;
  padding-bottom: 0 !important;
}
.promo-view-list .news-art-panel > .text-left {
  display: flex;
  flex-direction: row;
  width: 100%;
}
.promo-view-list .news-art-panel .mb-6 {
  flex: 0 0 360px;
  margin-bottom: 0 !important;
  display: flex;
  align-items: stretch;
}
.promo-view-list .news-art-panel .mb-6 > .redirectLink {
  width: 100%;
  display: flex;
}
.promo-view-list .img-holder {
  height: auto;
  width: 100%;
  aspect-ratio: auto;
  border-radius: 10px 0 0 10px;
}
.promo-view-list .img-holder img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.promo-view-list .news-art-panel .content {
  flex: 1;
  padding: 16px 20px !important;
}
.promo-view-list .news-art-panel .content h3 {
  margin-top: 0 !important;
}
.promo-view-list .news-art-panel hr {
  margin-top: 12px !important;
  margin-bottom: 8px !important;
}
.promo-view-list .external-link-badge {
  top:5px;
}
.promo-view-list .news-art-panel .content p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.promo-view-list.promo-results {
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  /* On mobile, list mode falls back to stacked card style */
  .news-art-panel {
    height: auto;    
  }
  .promo-view-list .news-art-panel {
    flex-direction: column;
    height: auto;
    min-height: 0;
  }  
  .promo-view-list .news-art-panel > .text-left {
    flex-direction: column;
    width: 100%;
  }

  .promo-view-list .news-art-panel .mb-6 {
    flex: 0 0 auto;
    width: 100%;
    display: block;
    margin-bottom: 1.5rem !important;
  }
  .promo-view-list .news-art-panel .mb-6 > .redirectLink {
    display: block;
    width: 100%;
  }
  .promo-view-list .img-holder {
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 10px 10px 0 0;
  }
  .promo-view-list .news-art-panel .content {
    padding: 0 1.25rem 1.5rem !important;
  }
  .promo-view-list .news-art-panel .content p {
    -webkit-line-clamp: 3;
  }
  .promo-view-list .external-link-badge {
    top:-18px;
  }

}

/* ===================== HEADER CONTROLS ===================== */
.header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ===================== INTEL MODE BAR ===================== */
.intel-mode-bar {
  display: flex;
  justify-content: center;
  margin: 0 0 24px 0;
}
.intel-mode-toggle {
  display: inline-flex;
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 5px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* The sliding pill — sits behind the buttons */
.intel-mode-toggle::before {
  content: '';
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  background: #0f172a;
  border-radius: 10px;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}
.intel-mode-toggle.mode-intel::before {
  transform: translateX(100%);
}

.intel-mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: color 0.32s ease;
  font-family: inherit;
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 200px;
}
.intel-mode-btn i {
  font-size: 14px;
}
.intel-mode-btn.active {
  color: #fff !important;
}
.intel-mode-btn:not(.active):hover {
  color: #1a1a1a;
}

.intel-mode-pro {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: uppercase;
  transition: background 0.32s ease;
}
.intel-mode-btn:not(.active) .intel-mode-pro {
  background: #0f172a;
  color: #fff;
}


@media (max-width: 580px) {

  .intel-mode-toggle {
    max-width: 420px;
    width: 100%;        /* fill available space up to max-width */
  }
  .intel-mode-btn {
    padding: 10px 14px;
    font-size: 13px;
    min-width: 0;
    flex: 1;            /* equal width buttons */
    gap: 6px;
  }
  .intel-mode-btn i {
    font-size: 13px;
  }
  .intel-mode-pro {
    font-size: 8px;
    padding: 2px 5px;
  }
}



/* ===================== INTELLIGENCE SECTIONS ===================== */
.intel-section {
  margin-bottom: 40px;
}
.intel-section-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.intel-section-sub {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}
.intel-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  min-height: 200px;
}
.intel-pulse-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.intel-pulse-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-top: 3px solid #6366F1;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pulse-accent-1 { border-top-color: #4F46E5; }
.pulse-accent-2 { border-top-color: #059669; }
.pulse-accent-3 { border-top-color: #D97706; }
.pulse-accent-4 { border-top-color: #DB2777; }
.pulse-accent-5 { border-top-color: #0891B2; }
.pulse-accent-6 { border-top-color: #7C3AED; }

.pulse-icon {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 8px;
}
.pulse-accent-1 .pulse-icon { color: #4F46E5; }
.pulse-accent-2 .pulse-icon { color: #059669; }
.pulse-accent-3 .pulse-icon { color: #D97706; }
.pulse-accent-4 .pulse-icon { color: #DB2777; }
.pulse-accent-5 .pulse-icon { color: #0891B2; }
.pulse-accent-6 .pulse-icon { color: #7C3AED; }

.pulse-num {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 4px;
}
.pulse-label {
  font-size: 13px;
  color: #000;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pulse-delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}
.pulse-delta.up {
  background: #d1fae5;
  color: #065f46;
}
.pulse-delta.down {
  background: #fee2e2;
  color: #991b1b;
}
@media (max-width: 767px) {
  .pulse-num { font-size: 22px; }
  .pulse-label { font-size: 12px; }
  .intel-pulse-card { min-height: 110px; padding: 16px; }
}
.intel-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ===================== INTEL CHART CARDS ===================== */
.intel-chart-card {
  display: flex;
  flex-direction: column;
}
.intel-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 2px 0;
}
.intel-card-sub {
  font-size: 13px;
  color: #999;
  margin: 0 0 16px 0;
}
.intel-chart-wrap {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 280px;
  max-height: 320px;
}
.intel-empty {
  text-align: center;
  color: #aaa;
  font-size: 14px;
  padding: 60px 20px;
  font-style: italic;
}

/* ===================== INTEL RESPONSIVE ===================== */
@media (max-width: 1199px) {
  .intel-breakdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .intel-breakdown-grid .intel-chart-card:last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}
@media (max-width: 991px) {
  .intel-pulse-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .intel-section-title {
    font-size: 20px;
  }
  .intel-section-sub {
    font-size: 13px;
  }
  .intel-breakdown-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .intel-breakdown-grid .intel-chart-card:last-child {
    grid-column: auto;
    max-width: none;
  }
  .intel-card {
    padding: 18px;
  }
  .intel-chart-wrap {
    min-height: 240px;
    max-height: 280px;
  }
  .intel-pulse-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .intel-pulse-card {
    padding: 16px;
    min-height: 100px;
  }
}
@media (max-width: 480px) {
  .intel-pulse-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .intel-chart-wrap {
    min-height: 220px;
    max-height: 260px;
  }
}

/* ===================== INTEL CALLOUT ===================== */
.intel-callout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 18px;
}
.intel-callout i {
  color: #d97706;
}
.intel-callout strong {
  color: #78350f;
  font-weight: 700;
}

/* ===================== INTEL TABLE ===================== */
.intel-table-card {
  padding: 0;
  overflow: hidden;
}
.intel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.intel-table thead {
  background: #f9fafb;
  border-bottom: 1px solid #f0f0f0;
}
.intel-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  padding: 14px 18px;
  white-space: nowrap;
}
.intel-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f5f5f5;
  vertical-align: middle;
}
.intel-table tbody tr {
  transition: background 0.15s ease;
}
.intel-table tbody tr:hover {
  background: #fafbff;
}
.intel-table tbody tr:last-child td {
  border-bottom: none;
}
.intel-table .num-col {
  text-align: right;
  white-space: nowrap;
}
.intel-table .rank-col {
  width: 50px;
  text-align: center;
}
.intel-table .brand-cell {
  font-weight: 600;
  color: #1a1a1a;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  background: #f0f0f0;
  color: #666;
}
.rank-badge.rank-1 { background: #fef3c7; color: #92400e; }
.rank-badge.rank-2 { background: #f1f5f9; color: #475569; }
.rank-badge.rank-3 { background: #fed7aa; color: #9a3412; }
.multi-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  background: #ede9fe;
  color: #6d28d9;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
  letter-spacing: 0.4px;
}
.window-text {
  color: #888;
  font-size: 13px;
}

@media (max-width: 767px) {
  .intel-table .hide-mobile {
    display: none;
  }
  .intel-table th,
  .intel-table td {
    padding: 12px;
    font-size: 13px;
  }
  .intel-table th {
    font-size: 11px;
  }
  .intel-table .rank-col {
    width: 40px;
  }
  .rank-badge {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .multi-tag {
    display: none;
  }
}

/* ===================== INTEL TIMING ===================== */
.intel-timing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.intel-chart-wrap-tall {
  min-height: 320px;
  max-height: 360px;
}

/* Horizontal bars (duration by category) */
.intel-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}
.intel-bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 110px;
  align-items: center;
  gap: 12px;
}
.intel-bar-label {
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.intel-bar-track {
  background: #f3f4f6;
  height: 22px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.intel-bar-fill {
  height: 100%;
  background: #4F46E5;
  border-radius: 6px;
  transition: width 0.6s ease;
}
.intel-bar-value {
  font-size: 13px;
  color: #1a1a1a;
  text-align: right;
  white-space: nowrap;
}
.intel-bar-value strong {
  font-weight: 700;
}
.intel-bar-sample {
  display: block;
  font-size: 11px;
  color: #aaa;
  font-weight: 400;
  margin-top: 1px;
}

@media (max-width: 991px) {
  .intel-timing-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .intel-bar-row {
    grid-template-columns: 100px 1fr 80px;
    gap: 8px;
  }
  .intel-bar-label, .intel-bar-value {
    font-size: 12px;
  }
}

/* ===================== TRENDS ===================== */
.trend-volume-card {
  background: #0f172a;
  color: #fff;
  border-radius: 14px;
  padding: 22px 28px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  border: 1px solid #1e293b;
}
.trend-vol-num {
  font-size: 38px;
  font-weight: 700;
  font-family: 'Be Vietnam Pro Bold';
  line-height: 1;
  letter-spacing: -1px;
}
.trend-vol-label {
  font-size: 14px;
  opacity: 0.95;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.trend-volume-card .pulse-delta.up {
  background: rgba(16, 185, 129, 0.25);
  color: #d1fae5;
}
.trend-volume-card .pulse-delta.down {
  background: rgba(239, 68, 68, 0.25);
  color: #fecaca;
}
.trend-vs {
  opacity: 0.75;
  font-size: 13px;
}

.trend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trend-card {
  min-height: 0;
}
.trend-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.trend-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}
.trend-row:last-child {
  border-bottom: none;
}
.trend-row-label {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trend-mini-num {
  font-size: 12px;
  color: #888;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.trend-row-delta {
  text-align: right;
}

@media (max-width: 991px) {
  .trend-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .trend-vol-num {
    font-size: 30px;
  }
  .trend-vol-label {
    font-size: 13px;
  }
  .trend-volume-card {
    padding: 18px 20px;
  }
}

/* ===================== PRIZE BENCHMARKS ===================== */
.prize-headline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.prize-headline-stat {
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-top: 3px solid #4F46E5;
}
.prize-headline-num {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 4px;
}
.prize-headline-sep {
  color: #cbd5e1;
  font-weight: 400;
  margin: 0 4px;
}
.prize-headline-label {
  font-size: 12px;
  color: #888;
  font-weight: 500;
}

/* Range bars */
.prize-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
.prize-bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 180px;
  align-items: center;
  gap: 14px;
}
.prize-bar-label {
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prize-bar-track {
  position: relative;
  background: #f3f4f6;
  height: 14px;
  border-radius: 999px;
  overflow: visible;
}
.prize-bar-range {
  position: absolute;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, #c7d2fe 0%, #4F46E5 100%);
  border-radius: 999px;
  min-width: 4px;
}
.prize-bar-median {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #1a1a1a;
  border: 3px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: help;
}
.prize-bar-values {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  white-space: nowrap;
}
.prize-bar-median-value {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}
.prize-bar-range-value {
  font-size: 11px;
  color: #888;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 991px) {
  .prize-headline {
    grid-template-columns: 1fr;
  }
  .prize-bar-row {
    grid-template-columns: 110px 1fr 110px;
    gap: 10px;
  }
  .prize-bar-values {
    align-items: flex-end;
  }
  .prize-bar-median-value {
    font-size: 13px;
  }
  .prize-bar-range-value {
    font-size: 10px;
  }
}
@media (max-width: 575px) {
  .prize-bar-row {
    grid-template-columns: 90px 1fr 80px;
    gap: 8px;
  }
  .prize-bar-label {
    font-size: 12px;
  }
}

/* ===================== HEATMAP ===================== */
.heatmap-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 -8px;
  padding: 0 8px;
}
.heatmap-table {
  border-collapse: separate;
  border-spacing: 4px;
  width: 100%;
  min-width: 600px;
}
.heatmap-corner {
  background: transparent;
  width: 140px;
}
.heatmap-mech-header {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 8px 6px;
  text-align: center;
  vertical-align: bottom;
  white-space: nowrap;
  background: transparent;
  /* Rotate long mechanic names so they fit */
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.heatmap-cat-label {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  padding: 0 12px 0 4px;
  white-space: nowrap;
  background: transparent;
  text-align: right;
}
.heatmap-cat-count {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  margin-left: 6px;
  padding: 1px 7px;
  background: #f1f5f9;
  border-radius: 999px;
}
.heatmap-cell {
  width: 60px;
  height: 44px;
  border-radius: 6px;
  text-align: center;
  vertical-align: middle;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: help;
}
.heatmap-cell:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.heatmap-cell-pct {
  font-size: 12px;
  font-weight: 600;
}

/* Intensity scale — single-hue indigo */
.heatmap-cell.i0 {
  background: #f8fafc;
  border: 1px dashed #e2e8f0;
}
.heatmap-cell.i1 {
  background: #e0e7ff;
  color: #1e1b4b;
}
.heatmap-cell.i2 {
  background: #c7d2fe;
  color: #1e1b4b;
}
.heatmap-cell.i3 {
  background: #a5b4fc;
  color: #1e1b4b;
}
.heatmap-cell.i4 {
  background: #6366F1;
  color: #fff;
}
.heatmap-cell.i5 {
  background: #4338ca;
  color: #fff;
}

/* Legend strip */
.heatmap-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.heatmap-legend-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  margin: 0 8px;
}
.heatmap-legend-cell {
  width: 22px;
  height: 14px;
  border-radius: 4px;
}
.heatmap-legend-cell.i0 { background: #f8fafc; border: 1px dashed #e2e8f0; }
.heatmap-legend-cell.i1 { background: #e0e7ff; }
.heatmap-legend-cell.i2 { background: #c7d2fe; }
.heatmap-legend-cell.i3 { background: #a5b4fc; }
.heatmap-legend-cell.i4 { background: #6366F1; }
.heatmap-legend-cell.i5 { background: #4338ca; }

@media (max-width: 767px) {
  .heatmap-corner,
  .heatmap-cat-label {
    width: 100px;
  }
  .heatmap-cell {
    width: 48px;
    height: 38px;
  }
  .heatmap-cell-pct {
    font-size: 11px;
  }
  .heatmap-mech-header {
    font-size: 10px;
    padding: 6px 4px;
  }
}

/* ===================== LOCKED LINK BADGE ===================== */
.locked-link-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 8px;
  cursor: pointer;
}
.locked-link-badge i {
  font-size: 10px;
  color: #d97706;
}
.locked-link-badge:hover {
  background: #fef3c7;
}
.external-link-badge {
  display: inline-block;
  position:absolute;
  top:-14px;
  right:10px;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top:8px;
  margin-bottom:8px;
  text-decoration: none;
  transition: all 0.18s ease;
}
.external-link-badge:hover {
  background: #e2e8f0;
  color: #0f172a;
  text-decoration: none;
}


/* ============================================================
   UPGRADE OVERLAY
   White base, black accents, orange highlights, fully responsive
============================================================ */
:root {
  --up-orange: #FF7D41;
  --up-orange-dark: #E5662E;
  --up-orange-soft: #FFF1E8;
  --up-black: #0f172a;
  --up-text: #1a1a1a;
  --up-muted: #64748b;
  --up-border: #e5e7eb;
  --up-bg-soft: #fafafa;
}

body.upgrade-overlay-open {
  overflow: hidden;
}

.upgrade-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 8vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  font-family: 'Be Vietnam Pro', sans-serif;
}
.upgrade-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.upgrade-modal {
  position: relative;
  width: 100%;
  max-width: 1480px;
  max-height: 100%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.upgrade-overlay.is-open .upgrade-modal {
  transform: scale(1);
}

.upgrade-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--up-black);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 15px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease, background 0.18s ease;
}
.upgrade-close:hover {
  background: var(--up-orange);
  transform: scale(1.08);
}

.upgrade-container {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

/* HERO */
.upgrade-hero {
  text-align: center;
  padding: 40px 0 60px;
}
.upgrade-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--up-orange-soft);
  color: var(--up-orange-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 22px;
}
.upgrade-pill i { font-size: 12px; }

.upgrade-headline {
  font-size: 48px;
  font-weight: 800;
  color: var(--up-black);
  letter-spacing: -1.2px;
  line-height: 1.08;
  margin: 0 0 18px;
}
.upgrade-sub {
  font-size: 18px;
  color: var(--up-muted);
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto 32px;
}

.upgrade-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--up-black);
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}
.upgrade-btn-primary:hover {
  background: var(--up-orange);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.upgrade-btn-primary i {
  font-size: 13px;
  transition: transform 0.18s ease;
}
.upgrade-btn-primary:hover i { transform: translateX(3px); }

.upgrade-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 22px;
  flex-wrap: wrap;
  font-size: 16px;
  color: var(--up-muted);
}
.upgrade-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.upgrade-trust i { color: var(--up-orange); font-size: 12px; }

/* THREE REASONS */
.upgrade-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 80px;
}
.upgrade-reason-card {
  background: #fff;
  border:1px solid var(--up-orange);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.upgrade-reason-card:hover {
  border-color: #333;
  transform: translateY(-2px);
}
.upgrade-reason-icon {
  width: 44px;
  height: 44px;
  background: var(--up-orange-soft);
  color: var(--up-orange-dark);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}
.upgrade-reason-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--up-black);
  margin: 0 0 8px;
}
.upgrade-reason-card p {
  font-size: 14px;
  color: var(--up-muted);
  line-height: 1.55;
  margin: 0;
}

/* SECTION HEADERS */
.upgrade-section {
  margin-bottom: 80px;
}
.upgrade-h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--up-black);
  letter-spacing: -0.6px;
  text-align: center;
  margin: 0 0 8px;
}
.upgrade-h2-sub {
  text-align: center;
  font-size: 17px;
  color: var(--up-muted);
  margin: 0 0 40px;
}

/* WHAT YOU'LL UNLOCK */
.upgrade-unlock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.upgrade-preview {
  background: #fff;
  border: 1px solid var(--up-border);
  border-radius: 18px;
  padding: 30px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.upgrade-preview:hover {
  border-color: var(--up-orange);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
.upgrade-preview-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 14px;
  font-weight: 800;
  color: var(--up-orange);
  letter-spacing: 1px;
}
.upgrade-preview h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--up-black);
  margin: 0 0 8px;
  padding-right: 40px;
}
.upgrade-preview p {
  font-size: 14px;
  color: #666;
  line-height: 1.55;
  margin: 0 0 22px;
}

/* MOCK PREVIEWS */
.upgrade-preview-visual {
  background: var(--up-bg-soft);
  border-radius: 12px;
  padding: 18px;
  min-height: 130px;
}

/* Pulse mock */
.mock-pulse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.mock-pulse-card {
  background: #fff;
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  border-top: 2px solid var(--up-orange);
}
.mock-pulse-card .mock-num {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--up-black);
}
.mock-pulse-card .mock-lbl {
  display: block;
  font-size: 10px;
  color: var(--up-muted);
  margin-top: 2px;
}

/* Trend mock */
.mock-trend-hero {
  background: var(--up-black);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.mock-trend-num {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}
.mock-trend-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mock-trend-pill.up { background: rgba(16, 185, 129, 0.25); color: #d1fae5; }
.mock-trend-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 4px;
  font-size: 12px;
  color: var(--up-text);
  border-bottom: 1px solid #eee;
}
.mock-trend-row:last-child { border-bottom: none; }
.mock-up { color: #059669; font-weight: 600; }
.mock-down { color: #DC2626; font-weight: 600; }

/* Bar / range mock */
.mock-bar-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.mock-bar-row.mock-bar-row-tight {
  grid-template-columns: 80px 1fr 50px;
}
.mock-bar-row:last-child { margin-bottom: 0; }
.mock-bar-lbl { font-size: 12px; color: var(--up-text); }
.mock-bar-track {
  position: relative;
  background: #e5e7eb;
  height: 10px;
  border-radius: 999px;
}
.mock-bar-range {
  position: absolute;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, #FFC9A8, var(--up-orange));
  border-radius: 999px;
}
.mock-bar-fill {
  height: 100%;
  background: var(--up-orange);
  border-radius: 999px;
}
.mock-bar-dot {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--up-black);
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.mock-bar-val { font-size: 11px; color: var(--up-text); font-weight: 600; text-align: right; }

/* Donut mock */
.mock-donut-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  min-height: 100px;
}
.mock-donut {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  position: relative;
}
.mock-donut::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  background: var(--up-bg-soft);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Brand activity mock */
.mock-table-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 12px;
  border-bottom: 1px solid #eee;
}
.mock-table-row:last-child { border-bottom: none; }
.mock-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #666;
  font-size: 10px;
  font-weight: 700;
}
.mock-rank.rank-1 { background: #fef3c7; color: #92400e; }
.mock-rank.rank-2 { background: #f1f5f9; color: #475569; }
.mock-rank.rank-3 { background: #fed7aa; color: #9a3412; }
.mock-brand { flex: 1; font-weight: 600; color: var(--up-text); }
.mock-meta { color: var(--up-muted); font-size: 11px; }

/* Heatmap mock */
.mock-heatmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.mock-heat-cell {
  aspect-ratio: 1.6 / 1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}
.mock-heat-cell.h0 { background: #f8fafc; border: 1px dashed #e2e8f0; }
.mock-heat-cell.h1 { background: #ffe5d0; color: #9a3412; }
.mock-heat-cell.h2 { background: #ffcfa9; color: #9a3412; }
.mock-heat-cell.h3 { background: #ffaa70; color: #fff; }
.mock-heat-cell.h4 { background: var(--up-orange); color: #fff; }
.mock-heat-cell.h5 { background: var(--up-orange-dark); color: #fff; }

/* PRICING */
.upgrade-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}
.upgrade-plan {
  background: #fff;
  border: 2px solid #666;
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease;
}
.upgrade-plan:hover { transform: translateY(-4px); }
.upgrade-plan-popular {
  border-color: var(--up-black);
  background: var(--up-black);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.25);
}
.upgrade-plan-popular:hover { transform: scale(1.04) translateY(-4px); }
.upgrade-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--up-orange);
  color: #fff;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
}
.upgrade-plan-name {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}
.upgrade-plan-popular .upgrade-plan-name { color: var(--up-orange); opacity: 1; }
.upgrade-plan-price {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 4px;
  color: #333;
}
.upgrade-plan-popular .upgrade-plan-price { color: #fff; opacity: 1; }
.upgrade-plan-currency {
  font-size: 28px;
  font-weight: 700;
  vertical-align: top;
  margin-right: 2px;
  opacity: 0.7;
}
.upgrade-plan-monthly {
  font-size: 13px;
  color: inherit;
  opacity: 0.65;
  margin-bottom: 24px;
}
.upgrade-plan-popular .upgrade-plan-monthly { opacity: 0.8; }
.upgrade-plan-save {
  background: var(--up-orange-soft);
  color: var(--up-orange-dark);
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
}
.upgrade-plan-popular .upgrade-plan-save {
  background: rgba(255, 125, 65, 0.25);
  color: #fff;
}
.upgrade-plan-features {
  flex: 1;
  margin-bottom: 24px;
}
.upgrade-plan-features div {
  font-size: 13px;
  color: #333;
  opacity: 0.85;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.upgrade-plan-popular .upgrade-plan-features div {
  color: #fff;
}
.upgrade-plan-features i {
  color: var(--up-orange);
  font-size: 11px;
}
.upgrade-plan-btn {
  width: 100%;
  background: transparent;
  color: inherit;
  border: 2px solid currentColor;
  padding: 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}
.upgrade-plan-btn:hover {
  background: var(--up-black);
  color: #fff;
  border-color: var(--up-black);
}
.upgrade-plan-btn-primary {
  background: var(--up-orange);
  border-color: var(--up-orange);
  color: #fff;
}
.upgrade-plan-btn-primary:hover {
  background: var(--up-orange-dark);
  border-color: var(--up-orange-dark);
  color: #fff;
}
.upgrade-pricing-fineprint {
  text-align: center;
  font-size: 17px;
  color: var(--up-muted);
  margin-top: 26px;
}

/* INCLUDED */
.upgrade-included {
  background: #f5f5f5;
  border-radius: 14px;
  padding: 22px 28px;
  margin-bottom: 80px;
  text-align: center;
}
.upgrade-included p {
  font-size: 14px;
  color: var(--up-text);
  margin: 0;
  line-height: 1.6;
}
.upgrade-included i {
  color: var(--up-orange);
  margin-right: 8px;
}

/* FAQ */
.upgrade-faq {
  max-width: 760px;
  margin: 0 auto;
}
.upgrade-faq-item {
  border-bottom: 1px solid var(--up-border);
}
.upgrade-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--up-black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.18s ease;
}
.upgrade-faq-item summary::-webkit-details-marker { display: none; }
.upgrade-faq-item summary:hover { color: var(--up-orange); }
.upgrade-faq-item summary i {
  color: var(--up-orange);
  font-size: 13px;
  transition: transform 0.2s ease;
}
.upgrade-faq-item[open] summary i { transform: rotate(45deg); }
.upgrade-faq-body {
  padding: 0 4px 18px;
  font-size: 14px;
  color: var(--up-muted);
  line-height: 1.6;
}
.upgrade-faq-body a { color: var(--up-orange-dark); }

/* FINAL CTA STRIP */
.upgrade-cta-strip {
  background: #000000;
  background: linear-gradient(349deg,rgba(0, 0, 0, 1) 0%, rgba(38, 38, 38, 1) 35%);
  border-radius: 18px;
  padding: 50px 30px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.upgrade-cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(255, 125, 65, 0.45), transparent 60%);
  pointer-events: none;
}
.upgrade-cta-strip h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
  position: relative;
}
.upgrade-cta-strip p {
  font-size: 15px;
  opacity: 0.8;
  margin: 0 0 24px;
  position: relative;
}
.upgrade-cta-strip .upgrade-btn-primary {
  background: var(--up-orange);
  position: relative;
}
.upgrade-cta-strip .upgrade-btn-primary:hover {
  background: var(--up-orange-dark);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .upgrade-overlay { padding: 3vh 4vw; }
  .upgrade-modal { border-radius: 16px; }
  .upgrade-headline { font-size: 38px; }
  .upgrade-sub { font-size: 16px; }
  .upgrade-h2 { font-size: 28px; }
  .upgrade-reasons { grid-template-columns: 1fr; gap: 14px; margin-bottom: 60px; }
  .upgrade-unlock-grid { grid-template-columns: 1fr; }
  .upgrade-pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .upgrade-plan-popular { transform: none; }
  .upgrade-plan-popular:hover { transform: translateY(-4px); }
  .upgrade-section { margin-bottom: 60px; }
}

@media (max-width: 767px) {
  .upgrade-overlay { padding: 12px; }
  .upgrade-modal { border-radius: 14px; }
  .upgrade-container { padding: 50px 18px 60px; }
  .upgrade-close { top: 14px; right: 14px; width: 40px; height: 40px; }
  .upgrade-hero { padding: 20px 0 40px; }
  .upgrade-headline { font-size: 30px; letter-spacing: -0.6px; }
  .upgrade-sub { font-size: 15px; }
  .upgrade-btn-primary { padding: 14px 26px; font-size: 15px; width: 100%; justify-content: center; }
  .upgrade-trust { gap: 14px; font-size: 12px; }
  .upgrade-h2 { font-size: 24px; }
  .upgrade-h2-sub { font-size: 14px; margin-bottom: 28px; }
  .upgrade-reason-card { padding: 22px; }
  .upgrade-preview { padding: 22px; }
  .upgrade-preview h4 { font-size: 17px; }
  .upgrade-plan-price { font-size: 46px; }
  .upgrade-cta-strip { padding: 40px 22px; }
  .upgrade-cta-strip h3 { font-size: 22px; }
}

@media (max-width: 480px) {
  .upgrade-headline { font-size: 26px; }
  .upgrade-mock-pulse-grid { grid-template-columns: repeat(2, 1fr); }
  .upgrade-faq-item summary { font-size: 14px; padding: 14px 4px; }
}


/* ============================================================
   OTP VERIFY POPUP
   Triggered when paid subscriber needs to verify mobile.
   Black/white/orange palette to match upgrade overlay.
============================================================ */

body.otp-overlay-open {
  overflow: hidden;
}

.otp-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;   /* above the upgrade overlay */
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: 'Be Vietnam Pro Medium', -apple-system, BlinkMacSystemFont, sans-serif;
}

.otp-modal {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 440px;
  padding: 36px 32px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: otpModalIn 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes otpModalIn {
  from { transform: scale(0.94) translateY(8px); opacity: 0; }
  to   { transform: scale(1) translateY(0);     opacity: 1; }
}

.otp-modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.otp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF1E8;
  color: #E5662E;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.otp-pill i { font-size: 11px; }

.otp-headline {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
  line-height: 1.2;
}

.otp-sub {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.otp-step {
  display: block;
}

.otp-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.otp-input {
  width: 100%;
  height: 52px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;
  background: #fafafa;
  transition: border-color 0.18s ease, background 0.18s ease;
  font-family: inherit;
}
.otp-input:focus {
  outline: none;
  border-color: #FF7D41;
  background: #fff;
}
.otp-input::placeholder { color: #94a3b8; font-weight: 400; }

.otp-input-code {
  text-align: center;
  font-size: 28px;
  letter-spacing: 12px;
  padding: 0;
  font-variant-numeric: tabular-nums;
}

.otp-helper {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 6px;
  margin-bottom: 18px;
}

.otp-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 12px;
  margin-bottom: 14px;
}

.otp-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 10px;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
  font-family: inherit;
  margin-top: 10px;
}
.otp-btn-primary {
  background: #0f172a;
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}
.otp-btn-primary:hover:not(:disabled) {
  background: #FF7D41;
  transform: translateY(-1px);
}
.otp-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.otp-btn-primary i { font-size: 12px; transition: transform 0.18s ease; }
.otp-btn-primary:hover:not(:disabled) i { transform: translateX(3px); }

.otp-btn-loading .otp-btn-label::after {
  content: '...';
  display: inline-block;
  animation: otpDots 1.2s steps(4, end) infinite;
}
@keyframes otpDots {
  0%, 20% { content: '.'; }
  40%     { content: '..'; }
  60%, 100% { content: '...'; }
}

.otp-sent-msg {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  margin: 0 0 22px 0;
  text-align: center;
}
.otp-sent-msg strong { color: #14532d; font-weight: 700; }

.otp-resend {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-top: 20px;
}
.otp-resend a {
  color: #FF7D41;
  font-weight: 600;
  text-decoration: none;
}
.otp-resend a:hover { text-decoration: underline; }

.otp-step-locked {
  text-align: center;
  padding: 20px 0;
}
.otp-locked-icon {
  width: 64px;
  height: 64px;
  background: #fee2e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #dc2626;
  font-size: 22px;
}
.otp-step-locked h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}
.otp-step-locked p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}
.otp-step-locked a { color: #FF7D41; font-weight: 600; }

.otp-footer {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}
.otp-footer a {
  color: #64748b;
  font-weight: 600;
  text-decoration: none;
}
.otp-footer a:hover { color: #FF7D41; }

@media (max-width: 480px) {
  .otp-modal {
    padding: 28px 22px 22px;
    max-width: 100%;
    border-radius: 16px;
  }
  .otp-headline { font-size: 20px; }
  .otp-sub { font-size: 13px; }
  .otp-input { height: 48px; font-size: 15px; }
  .otp-input-code { font-size: 24px; letter-spacing: 8px; }
  .otp-btn { padding: 13px 18px; font-size: 14px; }
}

.pro-status-bar {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background:rgba(255,255,255,0.4);
    border: 1px solid #ececec;
    border-radius: 999px;
    font-size: 14px;
    color: #555;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
    margin-top: 8px;
}

.pro-status-badge {
    color: #1a1a1a;
    font-family: 'Be Vietnam Pro Bold';
    display: inline-flex;
    align-items: center;
    gap: 7px;
    letter-spacing: 0.01em;
}

.pro-status-badge .fa-check-circle {
    color: #10B981;
    font-size: 15px;
}

.pro-status-name {
    color: #1a1a1a;
    font-weight: 500;
}

.pro-status-divider {
    color: #ccc;
    user-select: none;
}

.pro-status-plan,
.pro-status-expiry {
    color: #666;
}

.pro-status-warning {
    color: #FF7D41;
    font-weight: 600;
}

@media (max-width: 600px) {
    .pro-status-bar {
        font-size: 13px;
        padding: 8px 14px;
        gap: 6px;
    }
    .pro-status-divider {
        display: none;
    }
}

.free-tier-cta {
    margin: 48px auto 32px;
    padding: 0 16px;
    max-width: 960px;
}

.free-tier-cta-inner {
    border-radius: 16px;
    padding: 44px 40px;
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.free-tier-cta-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
 }

.free-tier-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 125, 65, 0.15);
    color: #FF7D41;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255, 125, 65, 0.3);
    margin-bottom: 18px;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
}

.free-tier-cta-badge i {
    font-size: 10px;
}

.free-tier-cta-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
    line-height: 1.3;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
}

.free-tier-cta-subtitle {
    font-size: 14px;
    line-height: 22px;
    color: #aaa;
    margin: 0 auto 28px;
    max-width: 100%;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
}

.free-tier-cta-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.free-tier-cta-feature {
    background: rgba(255, 255, 255, 0.06);
    color: #ddd;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Be Vietnam Pro Medium', sans-serif;
}

.free-tier-cta-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.free-tier-cta-price {
    color: #aaa;
    font-size: 13px;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
}

.free-tier-cta-price strong {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.free-tier-cta-btn {
    background: #FF7D41;
    color: #000;
    border: none;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
}

.free-tier-cta-btn:hover {
    background: #ff8d56;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 125, 65, 0.3);
}

.free-tier-cta-btn i {
    font-size: 13px;
    transition: transform 0.15s;
}

.free-tier-cta-btn:hover i {
    transform: translateX(2px);
}

@media (max-width: 600px) {
    .free-tier-cta-inner {
        padding: 32px 22px;
    }
    .free-tier-cta-title {
        font-size: 21px;
    }
    .free-tier-cta-subtitle {
        font-size: 13px;
    }
    .free-tier-cta-feature {
        font-size: 11px;
        padding: 6px 12px;
    }
    .free-tier-cta-action {
        flex-direction: column;
        gap: 14px;
    }
    .free-tier-cta-btn {
        width: 100%;
        justify-content: center;
    }
}
.results-count-divider {
    color: #ccc;
    margin: 0 8px;
    user-select: none;
}
.results-count-cta {
    color: #FF7D41;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    display: block;
    margin-top: 4px;
    transition: opacity 0.15s;
    white-space: nowrap;
}
.results-count-cta:hover {
    opacity: 0.7;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .results-count-divider {
        display: none;
    }
    .results-count-cta {
        display: block;
        margin-top: 6px;
    }
}

.locked-filters-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
    padding: 12px 16px;
    background: #fafafa;
    border-radius: 10px;
}

.locked-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.locked-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #999;
    border: 1px solid #e8e8e8;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    user-select: none;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
}

.locked-filter-chip i {
    font-size: 9px;
    color: #d1d5db;
}

.locked-filters-cta {
    margin-left: auto;
    color: #FF7D41;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
}
.locked-filters-cta i {
    font-size: 11px;
    transition: transform 0.15s;
}
.locked-filters-cta:hover {
    opacity: 0.85;
    color:#000;
    text-decoration: none;
}
.locked-filters-cta:hover i {
    transform: translateX(3px);
}

@media (max-width: 700px) {
    .locked-filters-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .locked-filters-list {
        width: 100%;
    }
    .locked-filters-cta {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        padding-top: 8px;
        border-top: 1px solid #e8e8e8;
        margin-top: 0;
    }
  .locked-filter-chip {
      gap: 5px;
      padding: 4px 10px;
      font-size: 12px;
  }

}


.combo-label {
    font-size: 13px !important;
    white-space: normal !important;
    line-height: 1.4;
    max-width: 220px;
}
.combo-count {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-right: 6px;
}
.combo-pct {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #6366F1;
    background: #eef2ff;
    padding: 2px 8px;
    border-radius: 999px;
}

@media (max-width: 575px) {
    .combo-label {
        font-size: 12px !important;
        max-width: 160px;
    }
}


/* ===================== INTEL NAV ===================== */
.intel-nav {
    display: flex;
    width: fit-content;          /* ← shrink to content */
    max-width: 100%;             /* ← but never overflow viewport */
    margin: 0 auto 32px;         /* ← auto left/right centers it */
    gap: 4px;
    padding: 6px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef0f3;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    position: sticky;
    top: 90px;
    z-index: 100;
    scrollbar-width: none;
}
.intel-nav::-webkit-scrollbar {
    display: none;
}

.intel-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
    flex-shrink: 0;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
}

.intel-nav-link i {
    font-size: 12px;
    color: #94a3b8;
    transition: color 0.18s ease;
}

.intel-nav-link:hover {
    background: #f1f5f9;
    color: #1a1a1a;
    text-decoration: none;
}
.intel-nav-link:hover i {
    color: #1a1a1a;
}

.intel-nav-link.active {
    background: #0f172a;
    color: #fff;
}
.intel-nav-link.active i {
    color: #FF7D41;
}
.intel-nav-link.active:hover {
    color: #fff;
}

/* Scroll target offset so sticky nav doesn't cover the heading */
.intel-section[id] {
    scroll-margin-top: 160px;
}

@media (max-width: 767px) {
    .intel-nav {
        top: 70px;
        padding: 5px;
        border-radius: 12px;
        margin-bottom: 24px;
    }
    .intel-nav-link {
        padding: 8px 13px;
        font-size: 12px;
        gap: 6px;
    }
    .intel-nav-link i {
        font-size: 11px;
    }
    .intel-section[id] {
        scroll-margin-top: 140px;
    }
}

/* ===================== BRAND FILTER (SELECT2) ===================== */
.promoter-filter-wrap {
    position: relative;
    height: 48px;
}
.promoter-filter-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
}

/* Match the nice-select dropdown styling */
.promo-filter-bar .select2-container--default .select2-selection--single {
    height: 48px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background-color: #fafafa;
    transition: border-color 0.15s ease;
}
.promo-filter-bar .select2-container--default.select2-container--focus .select2-selection--single,
.promo-filter-bar .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #000;
}
.promo-filter-bar .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px;
    padding-left: 44px;
    padding-right: 36px;
    font-size: 15px;
    color: #000;
    font-weight: 500;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
}
.promo-filter-bar .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999;
    font-weight: 400;
}
.promo-filter-bar .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    right: 10px;
}
.promo-filter-bar .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #555 transparent transparent transparent;
}
.promo-filter-bar .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #555 transparent;
}

/* Dropdown panel */
/* === Dropdown panel sits FLUSH against trigger === */
.select2-container--default .select2-dropdown {
    border: 1px solid #e3e3e3 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 0 !important;
    background: #fff;
}

/* Dropdown opens BELOW the trigger */
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.select2-dropdown--below {
    border-top: 0 !important;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Dropdown opens ABOVE the trigger (when near bottom of viewport) */
.select2-container--default.select2-container--open.select2-container--above .select2-selection--single {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.select2-dropdown--above {
    border-bottom: 0 !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Tighten search input area inside dropdown */
.select2-container--default .select2-search--dropdown {
    padding: 8px;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    outline: none;
    border-color: #000;
}

/* Result options */
.select2-container--default .select2-results__option {
    padding: 10px 16px;
    font-size: 14px;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #e9f4fa;
    color: #fff;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #e9f4fa;
    color: #1a1a1a;
}
.select2-dropdown--below {
    transform: translateY(-22px);
}
.select2-dropdown--above {
    transform: translateY(22px);
}

/* Clear (×) button */
.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-right: 30px;
    color: #999;
    font-size: 18px;
    font-weight: 400;
    line-height: 45px;
    height: 45px;
}
.select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: #000;
}
/* Force Select2 trigger to full width */
.promoter-filter-wrap .select2-container,
.promoter-filter-wrap .select2 {
    width: 100% !important;
    display: block !important;
}

/* Force dropdown panel to match trigger width */
.select2-container--open .select2-dropdown {
    width: auto;
    min-width: 100%;
}
.promo-filter-bar .select2-container .selection,
.promo-filter-bar .select2-container .select2-selection,
.promo-filter-bar .select2-container .select2-selection--single {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ===================== FREE SEARCH LIMIT BANNER ===================== */
.free-search-limit-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #fff8f3 0%, #fff 100%);
    border: 1px solid #ffd9bc;
    border-radius: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.free-search-limit-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FF7D41;
    color: #fff;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
    flex-shrink: 0;
}
.free-search-limit-badge i {
    font-size: 9px;
}

.free-search-limit-text {
    font-size: 14px;
    color: #1a1a1a;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
    flex: 1;
    line-height: 1.4;
}
.free-search-limit-text strong {
    font-weight: 700;
}

.free-search-limit-cta {
    color: #FF7D41;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: opacity 0.15s;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
    flex-shrink: 0;
}
.free-search-limit-cta:hover {
    opacity: 0.8;
    text-decoration: none;
}
.free-search-limit-cta i {
    font-size: 11px;
    transition: transform 0.15s;
}
.free-search-limit-cta:hover i {
    transform: translateX(3px);
}

@media (max-width: 700px) {
    .free-search-limit-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 16px;
    }
    .free-search-limit-cta {
        width: 100%;
        justify-content: center;
        padding-top: 10px;
        border-top: 1px dashed #ffd9bc;
    }
}

/* ===================== BRAND PROFILE MODAL ===================== */
/* ===================== BRAND PROFILE MODAL ===================== */
body.brand-modal-open { overflow: hidden; }

.brand-modal {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
}
.brand-modal.is-open { opacity: 1; visibility: visible; }

.brand-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    cursor: pointer;
}

.brand-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    transform: scale(0.96);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.brand-modal.is-open .brand-modal-content { transform: scale(1); }

.brand-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #1a1a1a;
    border: none;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    z-index: 2;
}
.brand-modal-close:hover { background: #FF7D41; color: #fff; }

.brand-modal-loading {
    padding: 60px 30px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.brand-modal-loading i { font-size: 24px; color: #FF7D41; }

.brand-modal-body { padding: 36px 32px 32px; }

/* Header — avatar + name + meta */
.brand-modal-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    padding-right: 32px;
}
.brand-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
    font-family: 'Be Vietnam Pro Bold', sans-serif;
    letter-spacing: -1px;
}
.brand-header-info { flex: 1; min-width: 0; }
.brand-name {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 6px;
    line-height: 1.2;
    word-break: break-word;
}
.brand-meta {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.brand-meta strong { color: #1a1a1a; font-weight: 700; }
.brand-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #d1fae5;
    color: #065f46;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}
.brand-live-badge i { font-size: 9px; }

/* Stats grid */
.brand-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}
.brand-stat-card {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 14px 12px;
    text-align: center;
}
.brand-stat-label {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 500;
}
.brand-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.4px;
}
.brand-stat-value.brand-stat-text { font-size: 14px; }

/* Section title (e.g. "Last 3 campaigns") */
.brand-section-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin: 0 0 14px !important;
    font-family: 'Be Vietnam Pro Medium', sans-serif !important;
}

/* Campaign list — armored against global overrides */
.brand-campaigns-section { margin-bottom: 24px; }

.brand-campaign-row {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}
.brand-campaign-row:last-child { border-bottom: none !important; }

.brand-campaign-thumb {
    flex: 0 0 70px;
    width: 70px;
    height: 50px;
    min-width: 70px;
    max-width: 70px;
    border-radius: 6px;
    overflow: hidden;
    background: #f4f4f4;
    display: block;
}
.brand-campaign-thumb img {
    width: 70px !important;
    height: 50px !important;
    max-width: 70px !important;
    object-fit: cover !important;
    display: block !important;
}

.brand-campaign-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.brand-campaign-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3 !important;
    font-family: 'Be Vietnam Pro Medium', sans-serif !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.brand-campaign-meta {
    font-size: 11px !important;
    color: #888 !important;
    margin: 0 0 8px 0 !important;
    font-family: 'Be Vietnam Pro Medium', sans-serif !important;
    display: block !important;
    line-height: 1.4 !important;
}
.brand-campaign-meta i {
    margin-right: 5px !important;
    color: #aaa !important;
    font-size: 10px !important;
}

.brand-campaign-tags {
    display: flex !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
}

.brand-tag {
    display: inline-block !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    font-size: 10px !important;
    padding: 3px 9px !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    font-family: 'Be Vietnam Pro Medium', sans-serif !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    letter-spacing: 0.2px !important;
}

.brand-campaign-status {
    flex-shrink: 0 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-family: 'Be Vietnam Pro Medium', sans-serif !important;
    display: inline-block !important;
    line-height: 1.4 !important;
    align-self: center !important;
}
.brand-campaign-status.status-live {
    background: #d1fae5 !important;
    color: #065f46 !important;
}
.brand-campaign-status.status-upcoming {
    background: #dbeafe !important;
    color: #1e40af !important;
}
.brand-campaign-status.status-ended {
    background: #f1f5f9 !important;
    color: #64748b !important;
}

/* Footer CTA */
.brand-modal-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}
.brand-view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1a1a1a;
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
    font-family: 'Be Vietnam Pro Medium', sans-serif;
}
.brand-view-all-btn:hover {
    background: #FF7D41;
    color: #fff;
    text-decoration: none;
}
.brand-view-all-btn i {
    font-size: 11px;
    transition: transform 0.15s ease;
}
.brand-view-all-btn:hover i { transform: translateX(3px); }

/* Error state */
.brand-modal-error {
    padding: 40px 20px;
    text-align: center;
    color: #991b1b;
    font-size: 14px;
}

/* Brand link styling on cards / tables */
.brand-link {
    cursor: pointer;
    transition: color 0.15s ease;
}
.brand-link:hover {
    color: #FF7D41 !important;
}

/* Responsive */
@media (max-width: 600px) {
    .brand-modal { padding: 12px; }
    .brand-modal-body { padding: 28px 20px 24px; }
    .brand-modal-header { gap: 14px; }
    .brand-avatar { width: 52px; height: 52px; font-size: 22px; }
    .brand-name { font-size: 20px; }
    .brand-stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .brand-stat-card {
        padding: 12px 14px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    .brand-stat-label { margin-bottom: 0; }

    /* Stack thumb above content on small screens for breathing room */
    .brand-campaign-row {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    .brand-campaign-title { white-space: normal !important; }
    .brand-campaign-status {
        order: 3;
        margin-left: auto;
    }
}
