/* RewardVid two-sided product UI
   Loaded after the legacy frontend stylesheet so existing feature views retain
   their behavior while adopting the shared Earn / Promote design system. */

:root {
  --rv-red: #ff3f6c;
  --rv-red-strong: #e7295c;
  --rv-red-soft: rgba(255, 63, 108, .12);
  --rv-blue: #4e8cff;
  --rv-blue-strong: #2f6fdc;
  --rv-blue-soft: rgba(78, 140, 255, .13);
  --rv-purple: #9360ff;
  --rv-green: #54d879;
  --rv-amber: #ffbd4a;
  --rv-danger: #ff625f;
  --rv-radius: 10px;
  --rv-radius-sm: 8px;
  --rv-radius-lg: 12px;
  --rv-header-height: 72px;
  --rv-max-width: 1440px;
  --rv-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gen-font-family: var(--rv-font);
  --theme: var(--rv-red);
  --link-color: var(--rv-red);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --rv-page: #070b12;
  --rv-page-elevated: #0a1019;
  --rv-surface: #0e151f;
  --rv-surface-2: #121b28;
  --rv-surface-3: #182231;
  --rv-surface-hover: #1b2737;
  --rv-border: rgba(163, 181, 207, .16);
  --rv-border-strong: rgba(180, 197, 220, .25);
  --rv-text: #f4f7fb;
  --rv-text-soft: #c6cfdb;
  --rv-muted: #8f9bab;
  --rv-shadow: 0 16px 45px rgba(0, 0, 0, .28);
  --rv-header: rgba(7, 11, 18, .88);
  --bg-color: var(--rv-page);
  --theme-white: var(--rv-surface);
  --theme-black: var(--rv-text);
  --text-color: var(--rv-text);
  --text-muted: var(--rv-muted);
  --border-color: var(--rv-border);
  --form-control: var(--rv-surface-2);
  --share-bg: var(--rv-surface);
}

:root[data-theme="light"] {
  color-scheme: light;
  --rv-page: #f5f7fa;
  --rv-page-elevated: #eef2f7;
  --rv-surface: #ffffff;
  --rv-surface-2: #f7f9fc;
  --rv-surface-3: #eef2f7;
  --rv-surface-hover: #e8edf4;
  --rv-border: rgba(30, 45, 65, .13);
  --rv-border-strong: rgba(30, 45, 65, .22);
  --rv-text: #121a25;
  --rv-text-soft: #354052;
  --rv-muted: #697589;
  --rv-shadow: 0 16px 42px rgba(35, 50, 75, .11);
  --rv-header: rgba(255, 255, 255, .91);
  --bg-color: var(--rv-page);
  --theme-white: var(--rv-surface);
  --theme-black: var(--rv-text);
  --text-color: var(--rv-text);
  --text-muted: var(--rv-muted);
  --border-color: var(--rv-border);
  --form-control: var(--rv-surface-2);
  --share-bg: var(--rv-surface);
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--rv-page);
}

body.rv-app {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: var(--rv-font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--rv-text);
  background:
    radial-gradient(circle at 12% -10%, rgba(78, 140, 255, .10), transparent 25rem),
    radial-gradient(circle at 88% 0%, rgba(255, 63, 108, .08), transparent 28rem),
    var(--rv-page);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.rv-app * {
  box-sizing: border-box;
}

body.rv-app a {
  color: inherit;
}

body.rv-app a:hover {
  color: inherit;
}

body.rv-app h1,
body.rv-app h2,
body.rv-app h3,
body.rv-app h4,
body.rv-app h5,
body.rv-app h6 {
  font-family: var(--rv-font);
  color: var(--rv-text);
  letter-spacing: -.025em;
}

body.rv-app p {
  line-height: 1.6;
}

body.rv-app ::selection {
  color: #fff;
  background: rgba(255, 63, 108, .75);
}

body.rv-app :focus-visible {
  outline: 3px solid rgba(78, 140, 255, .48);
  outline-offset: 2px;
}

.rv-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.rv-app-shell {
  min-height: 100vh;
}

.rv-container {
  width: min(100% - 48px, var(--rv-max-width));
  margin-inline: auto;
}

.rv-main {
  min-height: calc(100vh - var(--rv-header-height));
  padding: calc(var(--rv-header-height) + 28px) 0 64px;
}

.rv-main--user {
  padding-top: calc(var(--rv-header-height) + 30px);
}

.rv-content-standard {
  width: min(100%, 1120px);
  margin-inline: auto;
}

/* Header */
.rv-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1035;
  height: var(--rv-header-height);
  border-bottom: 1px solid var(--rv-border);
  background: var(--rv-header);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}

.rv-header__inner {
  display: grid;
  grid-template-columns: minmax(170px, 230px) minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  height: 100%;
}

.rv-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 0;
}

.rv-brand img {
  display: block;
  width: auto;
  max-width: 175px;
  height: 36px;
  object-fit: contain;
}

.rv-brand__mobile {
  display: none !important;
  width: 34px !important;
  height: 34px !important;
}

.rv-header-search {
  position: relative;
  min-width: 0;
}

.rv-header-search__button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  color: var(--rv-muted);
  background: var(--rv-surface);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.rv-header-search__button:hover {
  border-color: var(--rv-border-strong);
  background: var(--rv-surface-2);
}

.rv-header-search__button i {
  font-size: 17px;
}

.rv-header-search__button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(104px, 1fr));
  gap: 4px;
  min-width: 230px;
  padding: 4px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-surface);
}

.rv-mode-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 7px;
  color: var(--rv-text-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.rv-mode-switch__item:hover {
  color: var(--rv-text);
  background: var(--rv-surface-2);
}

.rv-mode-switch__item.is-active[data-mode="earn"] {
  color: #fff;
  background: linear-gradient(135deg, var(--rv-red), var(--rv-red-strong));
  box-shadow: 0 7px 22px rgba(255, 63, 108, .25);
}

.rv-mode-switch__item.is-active[data-mode="promote"] {
  color: #fff;
  background: linear-gradient(135deg, var(--rv-blue), var(--rv-blue-strong));
  box-shadow: 0 7px 22px rgba(78, 140, 255, .24);
}

.rv-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.rv-balance-chip {
  display: grid;
  grid-template-columns: 32px auto;
  grid-template-areas: "icon label" "icon value";
  column-gap: 10px;
  align-items: center;
  min-width: 148px;
  height: 48px;
  padding: 6px 13px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  background: var(--rv-surface);
  text-decoration: none;
}

.rv-balance-chip__icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 17px;
}

.rv-balance-chip--earn .rv-balance-chip__icon {
  color: var(--rv-green);
  background: rgba(84, 216, 121, .12);
}

.rv-balance-chip--promote .rv-balance-chip__icon {
  color: var(--rv-blue);
  background: var(--rv-blue-soft);
}

.rv-balance-chip__label {
  grid-area: label;
  color: var(--rv-muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.rv-balance-chip__value {
  grid-area: value;
  color: var(--rv-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.rv-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: var(--rv-radius-sm);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.rv-header-action--earn {
  color: #fff !important;
  background: linear-gradient(135deg, var(--rv-red), var(--rv-red-strong));
}

.rv-header-action--promote {
  color: #fff !important;
  background: linear-gradient(135deg, var(--rv-blue), var(--rv-blue-strong));
}

.rv-icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  color: var(--rv-text-soft);
  background: var(--rv-surface);
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.rv-icon-button:hover {
  color: var(--rv-text);
  border-color: var(--rv-border-strong);
  background: var(--rv-surface-2);
}

.rv-icon-button__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid var(--rv-page);
  border-radius: 9px;
  color: #fff;
  background: var(--rv-red);
  font-size: 9px;
  font-weight: 800;
}

.rv-profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 40px;
  padding: 0;
  border: 0;
  color: var(--rv-text-soft);
  background: transparent;
}

.rv-profile-trigger img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--rv-border-strong);
  border-radius: 50%;
  object-fit: cover;
  background: var(--rv-surface-2);
}

.rv-profile-trigger i {
  font-size: 12px;
}

.rv-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--rv-border-strong);
  border-radius: var(--rv-radius-sm);
  color: var(--rv-text) !important;
  background: var(--rv-surface);
  font-size: 13px;
  font-weight: 750;
}

.rv-header .dropdown-menu {
  margin-top: 12px !important;
  overflow: hidden;
  border: 1px solid var(--rv-border) !important;
  border-radius: var(--rv-radius) !important;
  color: var(--rv-text);
  background: var(--rv-surface) !important;
  box-shadow: var(--rv-shadow) !important;
}

.rv-dropdown-profile {
  width: min(310px, calc(100vw - 24px));
  padding: 8px;
}

.rv-dropdown-profile__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  padding: 10px;
  border-bottom: 1px solid var(--rv-border);
}

.rv-dropdown-profile__head img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.rv-dropdown-profile__name {
  overflow: hidden;
  color: var(--rv-text);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-dropdown-profile__email {
  overflow: hidden;
  color: var(--rv-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-dropdown-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 41px;
  padding: 0 11px;
  border-radius: 7px;
  color: var(--rv-text-soft) !important;
  font-size: 13px;
  font-weight: 650;
}

.rv-dropdown-link:hover,
.rv-dropdown-link.is-active {
  color: var(--rv-text) !important;
  background: var(--rv-surface-2);
}

.rv-dropdown-link i {
  width: 18px;
  color: var(--rv-muted);
  text-align: center;
}

.rv-dropdown-link--danger {
  color: #ff7774 !important;
}

.rv-notification-menu {
  width: min(390px, calc(100vw - 24px));
  padding: 0;
}

.rv-notification-menu__header,
.rv-notification-menu__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--rv-border);
}

.rv-notification-menu__footer {
  justify-content: center;
  border-top: 1px solid var(--rv-border);
  border-bottom: 0;
}

.rv-notification-menu__title {
  font-size: 14px;
  font-weight: 800;
}

.rv-notification-list {
  max-height: 390px;
  margin: 0;
  padding: 5px;
  overflow-y: auto;
  list-style: none;
}

.rv-notification-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 11px;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
}

.rv-notification-item:hover {
  background: var(--rv-surface-2);
}

.rv-notification-item__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--rv-red);
  background: var(--rv-red-soft);
  font-size: 16px;
}

.rv-notification-item__title {
  color: var(--rv-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.rv-notification-item__meta {
  margin-top: 3px;
  color: var(--rv-muted);
  font-size: 11px;
}

.rv-header-mobile-search {
  display: none;
}

/* Search drawer - keeps existing AJAX search endpoint and functions.js */
.search-overlay {
  z-index: 1044 !important;
  background: rgba(2, 6, 12, .72) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.search-block {
  z-index: 1045 !important;
  width: min(920px, 100%) !important;
  padding: 28px !important;
  color: var(--rv-text);
  background: var(--rv-page) !important;
  border-inline-start: 1px solid var(--rv-border);
}

.search-block > [data-toggle="search-close"] {
  color: var(--rv-text);
}

.search-block .is-hidden:first-of-type {
  display: block !important;
}

.search-block > input[aria-label="search-query"] {
  width: 100%;
  height: 50px;
  margin: 38px 0 18px;
  padding: 0 16px;
  border: 1px solid var(--rv-border-strong);
  border-radius: var(--rv-radius);
  color: var(--rv-text);
  background: var(--rv-surface);
  font-family: var(--rv-font);
}


.rv-search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  color: var(--rv-muted);
  font-size: 13px;
  font-weight: 700;
}

.rv-campaign-search-results {
  margin-top: 8px;
}

.rv-campaign-search-list {
  display: grid;
  gap: 8px;
}

.rv-campaign-search-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 13px;
  min-height: 78px;
  padding: 9px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  color: var(--rv-text) !important;
  background: var(--rv-surface);
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.rv-campaign-search-item:hover {
  border-color: rgba(78, 140, 255, .42);
  background: var(--rv-surface-2);
  transform: translateY(-1px);
}

.rv-campaign-search-item__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: var(--rv-surface-3);
}

.rv-campaign-search-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv-campaign-search-item__body {
  display: grid;
  gap: 4px;
}

.rv-campaign-search-item__title {
  overflow: hidden;
  color: var(--rv-text);
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-campaign-search-item__meta {
  overflow: hidden;
  color: var(--rv-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-campaign-search-item > .bi-chevron-right {
  color: var(--rv-muted);
  font-size: 13px;
}

/* Buttons */
.rv-btn,
body.rv-app .btn {
  border-radius: var(--rv-radius-sm);
  font-family: var(--rv-font);
  font-weight: 750;
}

.rv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform .17s ease, box-shadow .17s ease, filter .17s ease, background .17s ease;
}

.rv-btn:hover {
  transform: translateY(-1px);
}

.rv-btn--primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--rv-red), var(--rv-red-strong));
  box-shadow: 0 10px 28px rgba(255, 63, 108, .2);
}

.rv-btn--promote {
  color: #fff !important;
  background: linear-gradient(135deg, var(--rv-blue), var(--rv-blue-strong));
  box-shadow: 0 10px 28px rgba(78, 140, 255, .2);
}

.rv-btn--secondary {
  color: var(--rv-text) !important;
  border-color: var(--rv-border-strong);
  background: rgba(255, 255, 255, .025);
}

.rv-btn--secondary:hover {
  background: var(--rv-surface-2);
}

.rv-btn--compact {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

/* Shared card / page primitives */
.rv-panel,
body.rv-app .dashboard-card,
body.rv-app .card:not(.video-post) {
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  color: var(--rv-text);
  background: var(--rv-surface);
  box-shadow: none;
}

body.rv-app .dashboard-card .dashboard-header,
body.rv-app .dashboard-card .dashboard-body {
  padding: 20px;
}

body.rv-app .dashboard-card .dashboard-header {
  margin: 0;
  border-bottom: 1px solid var(--rv-border);
}

body.rv-app .dashboard-card .dashboard-header + .dashboard-body {
  padding-top: 20px;
}

.rv-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.rv-page-head h1,
.rv-page-head h2,
.rv-page-head h3,
.rv-page-head h4 {
  margin: 0;
}

.rv-page-head__eyebrow,
.rv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--rv-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rv-page-head__copy {
  margin-top: 6px;
  color: var(--rv-muted);
  font-size: 14px;
}

.rv-section {
  margin-top: 34px;
}

.rv-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.rv-section-head h2,
.rv-section-head h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 25px);
}

.rv-section-head p {
  margin-top: 4px;
  color: var(--rv-muted);
  font-size: 13px;
}

.rv-section-link {
  color: var(--rv-red) !important;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.rv-section-link--promote {
  color: var(--rv-blue) !important;
}

/* Product hero */
.rv-product-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  align-items: center;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-lg);
  background:
    linear-gradient(110deg, rgba(14, 21, 31, .98), rgba(14, 21, 31, .82) 48%, rgba(42, 17, 41, .84)),
    var(--rv-surface);
  box-shadow: var(--rv-shadow);
}

:root[data-theme="light"] .rv-product-hero {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, .98), rgba(249, 250, 253, .93) 48%, rgba(255, 232, 241, .88)),
    var(--rv-surface);
}

.rv-product-hero--promote {
  background:
    linear-gradient(110deg, rgba(14, 21, 31, .98), rgba(14, 21, 31, .83) 48%, rgba(23, 23, 61, .88)),
    var(--rv-surface);
}

:root[data-theme="light"] .rv-product-hero--promote {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, .98), rgba(249, 250, 253, .94) 48%, rgba(232, 239, 255, .9)),
    var(--rv-surface);
}

.rv-product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 77% 38%, rgba(255, 63, 108, .17), transparent 28%),
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, .02));
}

.rv-product-hero--promote::before {
  background:
    radial-gradient(circle at 78% 38%, rgba(147, 96, 255, .19), transparent 30%),
    radial-gradient(circle at 64% 82%, rgba(78, 140, 255, .12), transparent 25%);
}

.rv-product-hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 48px 24px 48px 54px;
}

[dir="rtl"] .rv-product-hero__content {
  padding: 48px 54px 48px 24px;
}

.rv-product-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 93, 135, .28);
  border-radius: 8px;
  color: #ff7597;
  background: rgba(255, 63, 108, .08);
  font-size: 12px;
  font-weight: 800;
}

.rv-product-hero--promote .rv-product-hero__badge {
  color: #86aaff;
  border-color: rgba(78, 140, 255, .28);
  background: rgba(78, 140, 255, .08);
}

.rv-product-hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--rv-text);
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.055em;
}

.rv-product-hero h1 span {
  color: var(--rv-red);
}

.rv-product-hero--promote h1 span {
  color: var(--rv-blue);
}

.rv-product-hero__lead {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--rv-text-soft);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
}

.rv-product-hero__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 24px;
  margin-top: 24px;
}

.rv-product-hero__benefit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--rv-text-soft);
  font-size: 12px;
  font-weight: 650;
}

.rv-product-hero__benefit i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: var(--rv-red);
  background: var(--rv-red-soft);
}

.rv-product-hero--promote .rv-product-hero__benefit i {
  color: var(--rv-blue);
  background: var(--rv-blue-soft);
}

.rv-product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.rv-product-hero__art {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 340px;
}

.rv-product-hero__art img {
  position: absolute;
  inset: 50% 0 auto auto;
  width: min(700px, 118%);
  max-width: none;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

[dir="rtl"] .rv-product-hero__art img {
  inset: 50% auto auto 0;
}

/* Landing */
.rv-market-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 32px;
  text-align: center;
}

.rv-market-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  width: 860px;
  height: 460px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 63, 108, .18), rgba(103, 70, 211, .08) 48%, transparent 72%);
  pointer-events: none;
}

.rv-market-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin-inline: auto;
}

.rv-market-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid var(--rv-border);
  border-radius: 8px;
  color: var(--rv-text-soft);
  background: var(--rv-surface);
  font-size: 12px;
  font-weight: 800;
}

.rv-market-hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 870;
  line-height: .96;
  letter-spacing: -.065em;
}

.rv-market-hero h1 span {
  color: var(--rv-red);
}

.rv-market-hero__lead {
  max-width: 740px;
  margin: 24px auto 0;
  color: var(--rv-text-soft);
  font-size: clamp(17px, 2vw, 21px);
}

.rv-market-hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.rv-experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
  text-align: left;
}

.rv-experience-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-lg);
  background: var(--rv-surface);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.rv-experience-card:hover {
  transform: translateY(-3px);
  border-color: var(--rv-border-strong);
  box-shadow: var(--rv-shadow);
}

.rv-experience-card--earn {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 63, 108, .18), transparent 45%),
    var(--rv-surface);
}

.rv-experience-card--promote {
  background:
    radial-gradient(circle at 100% 0, rgba(78, 140, 255, .18), transparent 45%),
    var(--rv-surface);
}

.rv-experience-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  border-radius: 10px;
  font-size: 23px;
}

.rv-experience-card--earn .rv-experience-card__icon {
  color: var(--rv-red);
  background: var(--rv-red-soft);
}

.rv-experience-card--promote .rv-experience-card__icon {
  color: var(--rv-blue);
  background: var(--rv-blue-soft);
}

.rv-experience-card h2 {
  margin: 0;
  font-size: 28px;
}

.rv-experience-card p {
  max-width: 510px;
  margin-top: 9px;
  color: var(--rv-muted);
  font-size: 15px;
}

.rv-experience-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--rv-text);
  font-size: 14px;
  font-weight: 800;
}

.rv-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-surface);
}

.rv-trust-stat {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 20px 22px;
  border-inline-end: 1px solid var(--rv-border);
}

.rv-trust-stat:last-child {
  border-inline-end: 0;
}

.rv-trust-stat__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  color: var(--rv-red);
  background: var(--rv-red-soft);
  font-size: 19px;
}

.rv-trust-stat:nth-child(2) .rv-trust-stat__icon {
  color: var(--rv-purple);
  background: rgba(147, 96, 255, .12);
}

.rv-trust-stat:nth-child(3) .rv-trust-stat__icon {
  color: var(--rv-blue);
  background: var(--rv-blue-soft);
}

.rv-trust-stat:nth-child(4) .rv-trust-stat__icon {
  color: var(--rv-green);
  background: rgba(84, 216, 121, .12);
}

.rv-trust-stat strong {
  display: block;
  color: var(--rv-text);
  font-size: 22px;
  line-height: 1.15;
}

.rv-trust-stat span {
  display: block;
  margin-top: 3px;
  color: var(--rv-muted);
  font-size: 11px;
}

.rv-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rv-feature-card {
  padding: 24px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-surface);
}

.rv-feature-card i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 9px;
  color: var(--rv-red);
  background: var(--rv-red-soft);
  font-size: 19px;
}

.rv-feature-card h3 {
  margin: 0;
  font-size: 17px;
}

.rv-feature-card p {
  margin-top: 8px;
  color: var(--rv-muted);
  font-size: 13px;
}

.rv-how-it-works {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 26px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-surface);
}

.rv-step {
  position: relative;
  padding: 0 25px;
  text-align: center;
}

.rv-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 23px;
  right: -18px;
  width: 36px;
  border-top: 1px dashed var(--rv-border-strong);
}

[dir="rtl"] .rv-step:not(:last-child)::after {
  right: auto;
  left: -18px;
}

.rv-step__number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border: 1px solid rgba(255, 63, 108, .28);
  border-radius: 50%;
  color: var(--rv-red);
  background: var(--rv-red-soft);
  font-weight: 850;
}

.rv-step h3 {
  margin: 0;
  font-size: 15px;
}

.rv-step p {
  margin-top: 6px;
  color: var(--rv-muted);
  font-size: 12px;
}

.rv-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid rgba(255, 63, 108, .28);
  border-radius: var(--rv-radius);
  background:
    linear-gradient(110deg, rgba(255, 63, 108, .13), rgba(147, 96, 255, .08)),
    var(--rv-surface);
}

.rv-cta-band h2 {
  margin: 0;
  font-size: 24px;
}

.rv-cta-band p {
  margin-top: 4px;
  color: var(--rv-muted);
  font-size: 13px;
}

.rv-cta-band--promote {
  border-color: rgba(80, 139, 255, .3);
  background:
    linear-gradient(110deg, rgba(80, 139, 255, .14), rgba(147, 96, 255, .1)),
    var(--rv-surface);
}

/* Statistics */
.rv-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-top: 16px;
}

.rv-stat-card {
  position: relative;
  min-height: 130px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-surface);
}

.rv-stat-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -55px;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background: var(--rv-stat-glow, rgba(255, 63, 108, .08));
  filter: blur(12px);
}

.rv-stat-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rv-stat-card__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--rv-stat-color, var(--rv-red));
  background: var(--rv-stat-bg, var(--rv-red-soft));
  font-size: 16px;
}

.rv-stat-card__label {
  color: var(--rv-muted);
  font-size: 12px;
  font-weight: 650;
}

.rv-stat-card__value {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  color: var(--rv-text);
  font-size: clamp(25px, 2.4vw, 32px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.04em;
}

.rv-stat-card__meta {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: var(--rv-muted);
  font-size: 11px;
}

.rv-stat-card--blue {
  --rv-stat-color: var(--rv-blue);
  --rv-stat-bg: var(--rv-blue-soft);
  --rv-stat-glow: rgba(78, 140, 255, .1);
}

.rv-stat-card--green {
  --rv-stat-color: var(--rv-green);
  --rv-stat-bg: rgba(84, 216, 121, .11);
  --rv-stat-glow: rgba(84, 216, 121, .08);
}

.rv-stat-card--purple {
  --rv-stat-color: var(--rv-purple);
  --rv-stat-bg: rgba(147, 96, 255, .12);
  --rv-stat-glow: rgba(147, 96, 255, .1);
}

.rv-stat-card--amber {
  --rv-stat-color: var(--rv-amber);
  --rv-stat-bg: rgba(255, 189, 74, .12);
  --rv-stat-glow: rgba(255, 189, 74, .08);
}

/* Feed filters */
.rv-feed-toolbar {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.rv-feed-search {
  position: relative;
}

.rv-feed-search button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  color: var(--rv-muted);
  background: var(--rv-surface);
}

.rv-category-strip,
body.rv-app .tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 2px 0 5px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.rv-category-link,
body.rv-app .tag-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  color: var(--rv-text-soft) !important;
  background: var(--rv-surface);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.rv-category-link:hover,
.rv-category-link.is-active,
body.rv-app .tag-link:hover,
body.rv-app .tag-link.green {
  color: var(--rv-text) !important;
  border-color: var(--rv-border-strong);
  background: var(--rv-surface-2);
}

/* YouTube-like video feed. No boxed CTA below every video. */
.rv-video-grid,
body.rv-app #videos > .row,
body.rv-app .videos > .row {
  --bs-gutter-x: 18px;
  --bs-gutter-y: 28px;
}

body.rv-app #videos > .row > [class*="col-"],
body.rv-app .videos > .row > [class*="col-"] {
  margin-bottom: 0 !important;
}

body.rv-app .video-post {
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform .18s ease;
}

body.rv-app .video-post:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

body.rv-app .video-post > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

body.rv-app .video-post-thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-surface-2);
}

body.rv-app .video-post-thumbnail img {
  width: 100%;
  height: 100%;
  border-radius: 0 !important;
  object-fit: cover;
  transition: transform .24s ease, filter .24s ease;
}

body.rv-app .video-post:hover .video-post-thumbnail img {
  transform: scale(1.025);
  filter: saturate(1.04) brightness(.94);
}

body.rv-app .video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .36));
  transition: opacity .2s ease;
}

body.rv-app .video-post:hover .video-overlay {
  opacity: 1;
}

body.rv-app .play-btn-trigger {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 34px;
  opacity: 0;
  border-radius: 8px;
  background: rgba(255, 45, 85, .94);
  transform: translate(-50%, -42%);
  transition: opacity .2s ease, transform .2s ease;
}

body.rv-app .play-btn-trigger::before {
  content: "";
  margin-left: 2px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #fff;
}

body.rv-app .video-post:hover .play-btn-trigger {
  opacity: 1;
  transform: translate(-50%, -50%);
}

body.rv-app .video-post-time,
body.rv-app .video-post-count {
  position: absolute;
  z-index: 3;
  top: auto;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  margin: 0;
  padding: 0 7px;
  border-radius: 6px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  backdrop-filter: blur(8px);
}

body.rv-app .video-post-time {
  right: 8px;
  background: rgba(3, 6, 10, .82);
}

body.rv-app .video-post-count {
  left: 8px;
  color: #fff;
  background: rgba(255, 63, 108, .93);
}

body.rv-app .btn-option {
  display: none;
}

body.rv-app .video-post-content {
  padding: 11px 2px 0;
}

body.rv-app .video-post-content .media {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

body.rv-app .video-post-content .media-head {
  margin: 1px 0 0 !important;
}

body.rv-app .video-post-content .avatar,
body.rv-app .video-post-content .avatar-xs {
  width: 34px;
  height: 34px;
}

body.rv-app .video-post-content .avatar-img {
  width: 34px;
  height: 34px;
  border: 1px solid var(--rv-border);
  object-fit: cover;
}

body.rv-app .video-post-content h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 4px !important;
  color: var(--rv-text);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.35;
  letter-spacing: -.015em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.rv-app .video-post-content h6 {
  margin: 0;
  color: var(--rv-muted) !important;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.3;
}

body.rv-app .video-post-content .fn__meta p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 3px;
  color: var(--rv-muted);
  font-size: 10px;
  line-height: 1.35;
}

.rv-video-reward {
  color: var(--rv-green);
  font-weight: 800;
}

/* Native ads retain their creative stage without pretending to be a video. */
body.rv-app .video-post.is-ad {
  padding: 0;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-surface);
}

body.rv-app .video-post.is-ad .ad-thumb {
  border-radius: var(--rv-radius);
}

/* Earn lower dashboard */
.rv-dashboard-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 14px;
}

.rv-streak-panel,
.rv-activity-panel,
.rv-bonus-panel,
.rv-performance-panel {
  padding: 22px;
}

.rv-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.rv-panel-title h3 {
  margin: 0;
  font-size: 17px;
}

.rv-panel-title__meta {
  color: var(--rv-muted);
  font-size: 11px;
}

.rv-streak-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.rv-streak-day {
  text-align: center;
}

.rv-streak-day__dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 6px;
  border: 1px dashed var(--rv-border-strong);
  border-radius: 50%;
  color: var(--rv-muted);
  background: var(--rv-surface-2);
  font-size: 12px;
}

.rv-streak-day.is-complete .rv-streak-day__dot,
.rv-streak-day.is-current .rv-streak-day__dot {
  color: #fff;
  border-style: solid;
  border-color: var(--rv-red);
  background: var(--rv-red);
  box-shadow: 0 0 0 4px rgba(255, 63, 108, .1);
}

.rv-streak-day.is-current .rv-streak-day__dot {
  background: transparent;
  color: var(--rv-red);
}

.rv-streak-day span {
  color: var(--rv-muted);
  font-size: 10px;
}

.rv-bonus-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 15px;
  border: 1px solid rgba(147, 96, 255, .23);
  border-radius: var(--rv-radius-sm);
  background: rgba(147, 96, 255, .08);
}

.rv-bonus-callout strong {
  display: block;
  color: var(--rv-text);
  font-size: 13px;
}

.rv-bonus-callout span {
  display: block;
  margin-top: 3px;
  color: var(--rv-muted);
  font-size: 11px;
}

.rv-activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rv-activity-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--rv-border);
}

.rv-activity-item:last-child {
  border-bottom: 0;
}

.rv-activity-item__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--rv-red);
  background: var(--rv-red-soft);
}

.rv-activity-item--bonus .rv-activity-item__icon {
  color: var(--rv-amber);
  background: rgba(255, 189, 74, .12);
}

.rv-activity-item--offerwall .rv-activity-item__icon {
  color: var(--rv-purple);
  background: rgba(147, 96, 255, .12);
}

.rv-activity-item__title {
  overflow: hidden;
  color: var(--rv-text);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-activity-item__meta {
  margin-top: 3px;
  color: var(--rv-muted);
  font-size: 10px;
}

.rv-activity-item__amount {
  color: var(--rv-green);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* Promote dashboard */
.rv-campaign-quickstart {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) minmax(170px, 240px) auto;
  gap: 12px;
  align-items: end;
  padding: 20px;
  border: 1px solid rgba(78, 140, 255, .32);
  border-radius: var(--rv-radius);
  background:
    linear-gradient(110deg, rgba(78, 140, 255, .06), rgba(147, 96, 255, .04)),
    var(--rv-surface);
}

.rv-campaign-quickstart__intro {
  align-self: center;
  min-width: 210px;
}

.rv-campaign-quickstart__intro h3 {
  margin: 0;
  font-size: 17px;
}

.rv-campaign-quickstart__intro p {
  margin-top: 4px;
  color: var(--rv-muted);
  font-size: 11px;
}

.rv-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--rv-text-soft);
  font-size: 11px;
  font-weight: 700;
}

.rv-field input,
.rv-field select,
.rv-field textarea,
body.rv-app input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.rv-app select,
body.rv-app textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  color: var(--rv-text);
  background: var(--rv-surface-2);
  font-family: var(--rv-font);
  font-size: 13px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

body.rv-app textarea {
  min-height: 110px;
  padding-top: 11px;
  padding-bottom: 11px;
}

.rv-field input:focus,
.rv-field select:focus,
.rv-field textarea:focus,
body.rv-app input:focus,
body.rv-app select:focus,
body.rv-app textarea:focus {
  border-color: rgba(78, 140, 255, .72);
  outline: 0;
  background: var(--rv-surface);
  box-shadow: 0 0 0 3px rgba(78, 140, 255, .11);
}

.rv-field__input-group {
  position: relative;
}

.rv-field__input-group > i,
.rv-field__input-group > span {
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--rv-muted);
  font-size: 13px;
}

[dir="rtl"] .rv-field__input-group > i,
[dir="rtl"] .rv-field__input-group > span {
  right: 13px;
  left: auto;
}

.rv-field__input-group input {
  padding-left: 36px;
}

[dir="rtl"] .rv-field__input-group input {
  padding-right: 36px;
  padding-left: 13px;
}

.rv-campaign-table {
  overflow: hidden;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-surface);
}

.rv-campaign-table__head,
.rv-campaign-row {
  display: grid;
  grid-template-columns: minmax(310px, 2fr) 110px 110px 145px 95px 95px 116px;
  align-items: center;
  gap: 14px;
}

.rv-campaign-table__head {
  min-height: 44px;
  padding: 0 17px;
  border-bottom: 1px solid var(--rv-border);
  color: var(--rv-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rv-campaign-row {
  min-height: 82px;
  padding: 12px 17px;
  border-bottom: 1px solid var(--rv-border);
}

.rv-campaign-row:last-child {
  border-bottom: 0;
}

.rv-campaign-row:hover {
  background: rgba(255, 255, 255, .015);
}

.rv-campaign-cell--campaign {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.rv-campaign-thumb {
  width: 78px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--rv-border);
  border-radius: 7px;
  background: var(--rv-surface-2);
}

.rv-campaign-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv-campaign-title {
  display: block;
  overflow: hidden;
  color: var(--rv-text);
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-campaign-url {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--rv-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 7px;
  color: var(--rv-muted);
  background: var(--rv-surface-2);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.rv-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.rv-status--active {
  color: var(--rv-green);
  background: rgba(84, 216, 121, .09);
}

.rv-status--pending {
  color: var(--rv-blue);
  background: rgba(78, 140, 255, .09);
}

.rv-status--paused,
.rv-status--hidden {
  color: var(--rv-amber);
  background: rgba(255, 189, 74, .09);
}

.rv-status--danger {
  color: var(--rv-danger);
  background: rgba(255, 98, 95, .09);
}

.rv-campaign-metric {
  color: var(--rv-text-soft);
  font-size: 12px;
  font-weight: 650;
}

.rv-campaign-metric small {
  display: block;
  margin-top: 3px;
  color: var(--rv-muted);
  font-size: 9px;
  font-weight: 500;
}

.rv-budget-bar {
  width: 100%;
  height: 4px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--rv-surface-3);
}

.rv-budget-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--rv-green);
}

.rv-campaign-actions {
  display: flex;
  justify-content: flex-end;
}

.rv-campaign-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--rv-border);
  border-radius: 7px;
  color: var(--rv-text-soft) !important;
  background: var(--rv-surface-2);
  font-size: 10px;
  font-weight: 750;
}

.rv-promote-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 14px;
}

.rv-performance-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(32px, 1fr));
  gap: 12px;
  align-items: end;
  height: 190px;
  padding: 16px 8px 0;
}

.rv-performance-bar {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  height: 100%;
  text-align: center;
}

.rv-performance-bar__track {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
}

.rv-performance-bar__fill {
  position: relative;
  width: min(32px, 70%);
  min-height: 4px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--rv-blue), var(--rv-purple));
  box-shadow: 0 -7px 24px rgba(78, 140, 255, .14);
}

.rv-performance-bar__fill span {
  position: absolute;
  top: -23px;
  left: 50%;
  color: var(--rv-text-soft);
  font-size: 9px;
  font-weight: 800;
  transform: translateX(-50%);
}

.rv-performance-bar__label {
  color: var(--rv-muted);
  font-size: 10px;
}

.rv-promote-tool {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background:
    radial-gradient(circle at 100% 0, rgba(147, 96, 255, .16), transparent 48%),
    var(--rv-surface);
}

.rv-promote-tool__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 10px;
  color: var(--rv-purple);
  background: rgba(147, 96, 255, .12);
  font-size: 21px;
}

.rv-promote-tool h3 {
  margin: 0;
  font-size: 19px;
}

.rv-promote-tool p {
  margin-top: 7px;
  color: var(--rv-muted);
  font-size: 12px;
}

.rv-promote-tool__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0;
}

.rv-promote-tool__stat {
  padding: 10px;
  border: 1px solid var(--rv-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .02);
}

.rv-promote-tool__stat strong {
  display: block;
  color: var(--rv-text);
  font-size: 17px;
}

.rv-promote-tool__stat span {
  color: var(--rv-muted);
  font-size: 9px;
}

/* Reworked full campaigns page */
.rv-campaign-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rv-campaign-card {
  overflow: hidden;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-surface);
}

.rv-campaign-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--rv-surface-2);
}

.rv-campaign-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv-campaign-card__badges {
  position: absolute;
  inset: 9px 9px auto;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.rv-campaign-card__body {
  padding: 16px;
}

.rv-campaign-card__title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 42px;
  color: var(--rv-text);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rv-campaign-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}

.rv-campaign-card__stat {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--rv-border);
  border-radius: 7px;
  background: var(--rv-surface-2);
}

.rv-campaign-card__stat strong {
  display: block;
  overflow: hidden;
  color: var(--rv-text);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-campaign-card__stat span {
  color: var(--rv-muted);
  font-size: 9px;
}

.rv-campaign-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

.rv-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--rv-border);
  border-radius: 7px;
  color: var(--rv-text-soft) !important;
  background: var(--rv-surface-2);
  font-size: 10px;
  font-weight: 750;
}

.rv-card-action:hover {
  border-color: var(--rv-border-strong);
  background: var(--rv-surface-hover);
}

/* Legacy dashboard forms, tables and modal compatibility */
body.rv-app .table,
body.rv-app table.dataTable {
  --bs-table-bg: transparent;
  --bs-table-color: var(--rv-text-soft);
  --bs-table-border-color: var(--rv-border);
  color: var(--rv-text-soft) !important;
  background: transparent !important;
}

body.rv-app .table > :not(caption) > * > *,
body.rv-app table.dataTable > :not(caption) > * > * {
  padding: 13px 12px;
  border-color: var(--rv-border);
  color: inherit;
  background: transparent !important;
}

body.rv-app table.dataTable tbody tr {
  background: transparent !important;
}

body.rv-app .dataTables_wrapper,
body.rv-app .dataTables_wrapper label,
body.rv-app .dataTables_wrapper .dataTables_info,
body.rv-app .dataTables_wrapper .dataTables_paginate {
  color: var(--rv-muted) !important;
  font-size: 12px;
}

body.rv-app .modal-content,
body.rv-app .white-popup {
  border: 1px solid var(--rv-border) !important;
  border-radius: var(--rv-radius) !important;
  color: var(--rv-text);
  background: var(--rv-surface) !important;
  box-shadow: var(--rv-shadow);
}

body.rv-app .modal-header,
body.rv-app .modal-footer {
  border-color: var(--rv-border);
}

body.rv-app .btn-close {
  filter: var(--rv-close-filter, none);
}

:root[data-theme="dark"] body.rv-app .btn-close {
  --rv-close-filter: invert(1) grayscale(100%) brightness(200%);
}

body.rv-app .alert {
  border-radius: var(--rv-radius-sm);
}

body.rv-app .alert-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(78, 140, 255, .2);
  border-radius: var(--rv-radius-sm);
  color: var(--rv-blue);
  background: var(--rv-blue-soft);
  font-size: 12px;
  line-height: 1.45;
}

body.rv-app .pagination-list .page-link,
body.rv-app .pagination .page-link {
  border-color: var(--rv-border);
  color: var(--rv-text-soft);
  background: var(--rv-surface);
}

body.rv-app .pagination-list .active .page-link,
body.rv-app .pagination .active .page-link {
  color: #fff;
  border-color: var(--rv-red);
  background: var(--rv-red);
}

/* Offerwall tabs */
.rv-home-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-surface);
}

.rv-home-tab {
  min-height: 35px;
  padding: 0 13px;
  border: 0;
  border-radius: 7px;
  color: var(--rv-muted);
  background: transparent;
  font-size: 12px;
  font-weight: 750;
}

.rv-home-tab.is-active {
  color: #fff;
  background: var(--rv-red);
}

.rv-home-pane {
  display: none;
}

.rv-home-pane.is-active {
  display: block;
}

/* Empty states */
.rv-empty-state {
  padding: 48px 24px;
  border: 1px dashed var(--rv-border-strong);
  border-radius: var(--rv-radius);
  text-align: center;
  background: var(--rv-surface);
}

.rv-empty-state__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 15px;
  border-radius: 10px;
  color: var(--rv-muted);
  background: var(--rv-surface-2);
  font-size: 22px;
}

.rv-empty-state h3 {
  margin: 0;
  font-size: 17px;
}

.rv-empty-state p {
  max-width: 480px;
  margin: 7px auto 0;
  color: var(--rv-muted);
  font-size: 12px;
}

/* Footer and in-footer theme switch */
.rv-footer {
  border-top: 1px solid var(--rv-border);
  background: rgba(0, 0, 0, .035);
}

.rv-footer__main {
  display: grid;
  grid-template-columns: minmax(230px, 1.4fr) repeat(3, minmax(150px, .6fr));
  gap: 44px;
  padding: 48px 0 34px;
}

.rv-footer__brand img {
  width: auto;
  height: 34px;
  object-fit: contain;
}

.rv-footer__brand p {
  max-width: 420px;
  margin-top: 15px;
  color: var(--rv-muted);
  font-size: 13px;
}

.rv-footer__title {
  margin-bottom: 13px;
  color: var(--rv-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rv-footer__links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rv-footer__links a {
  color: var(--rv-muted) !important;
  font-size: 12px;
}

.rv-footer__links a:hover {
  color: var(--rv-text) !important;
}

.rv-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  border-top: 1px solid var(--rv-border);
  color: var(--rv-muted);
  font-size: 11px;
}

.rv-footer__controls {
  display: flex;
  align-items: center;
  gap: 9px;
}

#theme-switcher.rv-theme-toggle,
.rv-theme-toggle {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto !important;
  height: 36px !important;
  padding: 0 12px;
  visibility: visible !important;
  opacity: 1 !important;
  border: 1px solid var(--rv-border) !important;
  border-radius: var(--rv-radius-sm) !important;
  color: var(--rv-text-soft) !important;
  background: var(--rv-surface) !important;
  box-shadow: none !important;
  transform: none !important;
  font-size: 11px;
  font-weight: 700;
}

.rv-footer-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  color: var(--rv-text-soft) !important;
  background: var(--rv-surface);
  font-size: 11px;
  font-weight: 700;
}

/* Login modal */
.rv-auth-modal .modal-dialog {
  max-width: 430px;
}

.rv-auth-modal .modal-content {
  padding: 8px;
}

.rv-auth-modal__brand {
  width: auto;
  height: 35px;
  margin-bottom: 18px;
}

.rv-auth-provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  margin-top: 9px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  color: var(--rv-text) !important;
  background: var(--rv-surface-2);
  font-size: 13px;
  font-weight: 750;
}

.rv-auth-provider--facebook {
  color: #fff !important;
  border-color: #1877f2;
  background: #1877f2;
}

.rv-auth-modal__legal {
  margin: 16px 0 2px;
  color: var(--rv-muted);
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

/* Mobile bottom navigation */
.rv-mobile-nav {
  display: none;
}

/* Preloader slim bar */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(7, 11, 18, .42);
  transition: opacity .15s ease;
}

#preloader.show {
  visibility: visible;
  opacity: 1;
}

#preloader .spinner {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
}

#preloader .spinner::before {
  content: "";
  position: absolute;
  left: -35%;
  width: 35%;
  height: 100%;
  background: var(--rv-red);
  animation: rv-loading 1s linear infinite;
}

@keyframes rv-loading {
  to { left: 100%; }
}

/* Responsive */

/* Utilities */
.min-w-0 {
  min-width: 0 !important;
}

.rv-mobile-nav button.rv-mobile-nav__item {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
}

.rv-btn:disabled,
.rv-btn[aria-disabled="true"] {
  cursor: wait;
  opacity: .68;
  transform: none;
  box-shadow: none;
}

.rv-activity-item--referral .rv-activity-item__icon {
  color: var(--rv-blue);
  background: var(--rv-blue-soft);
}

/* Create campaign */
.rv-create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.rv-create-card,
.rv-wallet-summary,
.rv-create-guide {
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-surface);
}

.rv-create-card {
  overflow: hidden;
}

.rv-create-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--rv-border);
  background:
    linear-gradient(115deg, rgba(78, 140, 255, .08), rgba(147, 96, 255, .035) 55%, transparent),
    var(--rv-surface);
}

.rv-create-card__head h2 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 25px);
}

.rv-create-card__head p {
  margin: 5px 0 0;
  color: var(--rv-muted);
  font-size: 13px;
}

.rv-create-card__icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  border: 1px solid rgba(78, 140, 255, .3);
  border-radius: var(--rv-radius-sm);
  color: var(--rv-blue);
  background: var(--rv-blue-soft);
  font-size: 19px;
}

.rv-create-form {
  padding: 0 24px 24px;
}

.rv-create-section {
  min-width: 0;
  margin: 0;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid var(--rv-border);
}

.rv-create-section legend {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 18px;
  color: var(--rv-text);
  font-size: 15px;
  font-weight: 800;
}

.rv-create-section legend > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: var(--rv-blue);
  background: var(--rv-blue-soft);
  font-size: 11px;
}

.rv-create-section .rv-field + .rv-field,
.rv-create-section .rv-create-fields + .rv-field {
  margin-top: 17px;
}

.rv-create-fields {
  display: grid;
  gap: 16px;
}

.rv-create-fields--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rv-field__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rv-field__label-row > span {
  color: var(--rv-muted);
  font-size: 10px;
  font-weight: 650;
}

.rv-field__help {
  margin: 6px 0 0;
  color: var(--rv-muted);
  font-size: 11px;
}

.rv-paste-field,
.rv-money-field {
  position: relative;
}

.rv-paste-field > i,
.rv-money-field > span {
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--rv-muted);
  pointer-events: none;
}

.rv-paste-field > i {
  color: var(--rv-red);
  font-size: 17px;
}

.rv-paste-field input {
  padding-right: 76px !important;
  padding-left: 40px !important;
}

.rv-paste-button {
  position: absolute;
  top: 50%;
  right: 6px;
  z-index: 3;
  min-height: 30px;
  padding: 0 11px;
  transform: translateY(-50%);
  border: 1px solid var(--rv-border);
  border-radius: 6px;
  color: var(--rv-text-soft);
  background: var(--rv-surface);
  font-size: 10px;
  font-weight: 750;
}

.rv-paste-button:hover {
  border-color: var(--rv-border-strong);
  color: var(--rv-text);
  background: var(--rv-surface-hover);
}

.rv-money-field input {
  padding-left: 34px !important;
}

.rv-money-field--large input {
  min-height: 50px !important;
  font-size: 17px !important;
  font-weight: 800;
}

[dir="rtl"] .rv-paste-field > i,
[dir="rtl"] .rv-money-field > span {
  right: 13px;
  left: auto;
}

[dir="rtl"] .rv-paste-field input {
  padding-right: 40px !important;
  padding-left: 76px !important;
}

[dir="rtl"] .rv-paste-button {
  right: auto;
  left: 6px;
}

[dir="rtl"] .rv-money-field input {
  padding-right: 34px !important;
  padding-left: 13px !important;
}

.rv-campaign-estimate {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  background: var(--rv-border);
}

.rv-campaign-estimate > div {
  min-width: 0;
  padding: 14px;
  background: var(--rv-surface-2);
}

.rv-campaign-estimate span,
.rv-campaign-estimate strong {
  display: block;
}

.rv-campaign-estimate span {
  color: var(--rv-muted);
  font-size: 10px;
  font-weight: 650;
}

.rv-campaign-estimate strong {
  margin-top: 3px;
  overflow: hidden;
  color: var(--rv-text);
  font-size: 17px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-campaign-estimate strong.is-negative {
  color: var(--rv-danger);
}

.rv-create-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
}

.rv-create-submit > div {
  min-width: 0;
}

.rv-create-submit strong,
.rv-create-submit span {
  display: block;
}

.rv-create-submit strong {
  color: var(--rv-text);
  font-size: 13px;
}

.rv-create-submit > div > span {
  margin-top: 3px;
  color: var(--rv-muted);
  font-size: 11px;
}

.rv-create-submit .rv-btn {
  min-width: 170px;
}

.rv-create-aside {
  position: sticky;
  top: calc(var(--rv-header-height) + 20px);
  display: grid;
  gap: 14px;
}

.rv-wallet-summary,
.rv-create-guide {
  padding: 20px;
}

.rv-wallet-summary {
  border-color: rgba(78, 140, 255, .31);
  background:
    radial-gradient(circle at 85% 0%, rgba(78, 140, 255, .18), transparent 45%),
    linear-gradient(145deg, rgba(78, 140, 255, .07), rgba(147, 96, 255, .025)),
    var(--rv-surface);
}

.rv-wallet-summary__top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rv-text-soft);
  font-size: 12px;
  font-weight: 750;
}

.rv-wallet-summary__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--rv-blue);
  background: var(--rv-blue-soft);
  font-size: 16px;
}

.rv-wallet-summary > strong {
  display: block;
  margin-top: 14px;
  color: var(--rv-text);
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.rv-wallet-summary > p {
  margin: 3px 0 16px;
  color: var(--rv-muted);
  font-size: 11px;
}

.rv-create-guide h3 {
  margin: 0;
  font-size: 17px;
}

.rv-create-guide ul,
.rv-create-guide ol {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.rv-create-guide ul {
  display: grid;
  gap: 12px;
}

.rv-create-guide ul li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  color: var(--rv-text-soft);
  font-size: 11px;
}

.rv-create-guide ul i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  color: var(--rv-green);
  background: rgba(84, 216, 121, .10);
}

.rv-create-guide--steps ol {
  display: grid;
  gap: 14px;
}

.rv-create-guide--steps li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.rv-create-guide--steps li > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: var(--rv-blue);
  background: var(--rv-blue-soft);
  font-size: 10px;
  font-weight: 800;
}

.rv-create-guide--steps strong {
  display: block;
  color: var(--rv-text);
  font-size: 11px;
}

.rv-create-guide--steps p {
  margin: 2px 0 0;
  color: var(--rv-muted);
  font-size: 10px;
}

body.rv-app .rv-create-form .is-invalid {
  border-color: var(--rv-danger) !important;
  box-shadow: 0 0 0 3px rgba(255, 98, 95, .09) !important;
}

body.rv-app .rv-create-form .invalid-feedback {
  margin-top: 5px;
  color: var(--rv-danger);
  font-size: 10px;
}

@media (max-width: 1260px) {
  .rv-header__inner {
    grid-template-columns: 170px minmax(180px, 1fr) auto auto;
    gap: 12px;
  }

  .rv-mode-switch {
    min-width: 204px;
  }

  .rv-balance-chip {
    min-width: 126px;
  }

  .rv-balance-chip__label {
    display: none;
  }

  .rv-balance-chip {
    grid-template-areas: "icon value";
    grid-template-columns: 30px auto;
  }

  .rv-header-action span {
    display: none;
  }

  .rv-header-action {
    width: 40px;
    padding: 0;
  }

  .rv-campaign-table__head,
  .rv-campaign-row {
    grid-template-columns: minmax(280px, 2fr) 100px 100px 125px 80px 100px;
  }

  .rv-campaign-table__head > :nth-child(6),
  .rv-campaign-row > :nth-child(6) {
    display: none;
  }
}

@media (max-width: 1050px) {
  .rv-header__inner {
    grid-template-columns: 160px minmax(180px, 1fr) auto;
  }

  .rv-header-search {
    display: none;
  }

  .rv-product-hero {
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .rv-product-hero__content {
    padding-left: 38px;
  }

  [dir="rtl"] .rv-product-hero__content {
    padding-right: 38px;
  }

  .rv-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rv-footer__main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 20px;
  }

  .rv-footer__brand {
    grid-column: 1 / -1;
  }

  .rv-campaign-quickstart {
    grid-template-columns: 1fr 1fr auto;
  }

  .rv-campaign-quickstart__intro {
    grid-column: 1 / -1;
  }

  .rv-campaign-table__head,
  .rv-campaign-row {
    grid-template-columns: minmax(260px, 2fr) 96px 110px 85px 100px;
  }

  .rv-campaign-table__head > :nth-child(3),
  .rv-campaign-row > :nth-child(3) {
    display: none;
  }

  .rv-campaign-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  :root {
    --rv-header-height: 126px;
  }

  body.rv-app {
    font-size: 14px;
    padding-bottom: 72px;
  }

  .rv-container {
    width: min(100% - 24px, var(--rv-max-width));
  }

  .rv-main,
  .rv-main--user {
    padding-top: calc(var(--rv-header-height) + 18px);
    padding-bottom: 36px;
  }

  .rv-header {
    height: var(--rv-header-height);
  }

  .rv-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 62px 52px;
    gap: 0 10px;
  }

  .rv-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .rv-brand__desktop {
    display: none !important;
  }

  .rv-brand__mobile {
    display: block !important;
  }

  .rv-mode-switch {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    margin-bottom: 8px;
  }

  .rv-mode-switch__item {
    height: 36px;
  }

  .rv-header-actions {
    grid-column: 2 / 4;
    grid-row: 1;
  }

  .rv-header-action,
  .rv-header .rv-icon-button--desktop,
  .rv-profile-trigger i {
    display: none;
  }

  .rv-header-mobile-search {
    display: inline-grid;
  }

  .rv-balance-chip {
    grid-template-areas: "icon label" "icon value";
    grid-template-columns: 28px auto;
    column-gap: 7px;
    min-width: 0;
    height: 42px;
    padding: 4px 7px;
    border: 0;
    background: transparent;
  }

  .rv-balance-chip__icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .rv-balance-chip__label {
    display: block;
    max-width: 76px;
    overflow: hidden;
    font-size: 8px;
    text-overflow: ellipsis;
  }

  .rv-balance-chip__value {
    font-size: 13px;
  }

  .rv-profile-trigger img {
    width: 34px;
    height: 34px;
  }

  .rv-icon-button {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border: 0;
    background: transparent;
  }

  .rv-product-hero {
    display: block;
    min-height: 0;
  }

  .rv-product-hero__content {
    padding: 24px 22px 10px;
  }

  [dir="rtl"] .rv-product-hero__content {
    padding: 24px 22px 10px;
  }

  .rv-product-hero h1 {
    max-width: 420px;
    font-size: clamp(33px, 10vw, 43px);
  }

  .rv-product-hero__lead {
    margin-top: 11px;
    font-size: 14px;
  }

  .rv-product-hero__benefits {
    display: none;
  }

  .rv-product-hero__actions {
    margin-top: 17px;
  }

  .rv-product-hero__actions .rv-btn {
    min-height: 42px;
  }

  .rv-product-hero__art {
    min-height: 164px;
  }

  .rv-product-hero__art img {
    inset: 47% 50% auto auto;
    width: min(490px, 122%);
    transform: translate(50%, -50%);
  }

  [dir="rtl"] .rv-product-hero__art img {
    inset: 47% auto auto 50%;
    transform: translate(-50%, -50%);
  }

  .rv-market-hero {
    padding-top: 36px;
  }

  .rv-market-hero h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .rv-market-hero__lead {
    font-size: 16px;
  }

  .rv-experience-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .rv-experience-card {
    min-height: 0;
    padding: 24px;
  }

  .rv-experience-card__icon {
    margin-bottom: 18px;
  }

  .rv-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rv-trust-stat {
    padding: 16px;
    border-bottom: 1px solid var(--rv-border);
  }

  .rv-trust-stat:nth-child(2) {
    border-inline-end: 0;
  }

  .rv-trust-stat:nth-child(3),
  .rv-trust-stat:nth-child(4) {
    border-bottom: 0;
  }

  .rv-feature-grid {
    grid-template-columns: 1fr;
  }

  .rv-how-it-works {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rv-step {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 0;
    text-align: left;
  }

  [dir="rtl"] .rv-step {
    text-align: right;
  }

  .rv-step:not(:last-child)::after {
    top: 48px;
    right: auto;
    bottom: -20px;
    left: 23px;
    width: 0;
    height: 20px;
    border-top: 0;
    border-left: 1px dashed var(--rv-border-strong);
  }

  [dir="rtl"] .rv-step:not(:last-child)::after {
    right: 23px;
    left: auto;
    border-right: 1px dashed var(--rv-border-strong);
    border-left: 0;
  }

  .rv-step__number {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .rv-step h3 {
    align-self: end;
  }

  .rv-step p {
    margin-top: 0;
  }

  .rv-cta-band {
    display: block;
    padding: 24px;
  }

  .rv-cta-band .rv-btn {
    width: 100%;
    margin-top: 18px;
  }

  .rv-stat-grid {
    gap: 10px;
  }

  .rv-stat-card {
    min-height: 118px;
    padding: 16px;
  }

  .rv-stat-card__value {
    font-size: 25px;
  }

  .rv-feed-toolbar {
    display: block;
  }

  .rv-feed-search {
    margin-bottom: 12px;
  }

  body.rv-app #videos > .row,
  body.rv-app .videos > .row {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 24px;
  }

  body.rv-app .video-post-content {
    padding-top: 9px;
  }

  body.rv-app .video-post-content .media {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
  }

  body.rv-app .video-post-content .avatar,
  body.rv-app .video-post-content .avatar-xs,
  body.rv-app .video-post-content .avatar-img {
    width: 28px;
    height: 28px;
  }

  body.rv-app .video-post-content h3 {
    font-size: 12px;
  }

  .rv-dashboard-split,
  .rv-promote-lower {
    grid-template-columns: minmax(0, 1fr);
  }

  .rv-dashboard-split > *,
  .rv-promote-lower > * {
    min-width: 0;
  }

  .rv-campaign-quickstart {
    grid-template-columns: 1fr;
  }

  .rv-campaign-quickstart__intro {
    grid-column: auto;
  }

  .rv-campaign-quickstart .rv-btn {
    width: 100%;
  }

  .rv-campaign-table {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .rv-campaign-table__head {
    display: none;
  }

  .rv-campaign-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 10px;
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius);
    background: var(--rv-surface);
  }

  .rv-campaign-row > * {
    display: block !important;
  }

  .rv-campaign-cell--campaign {
    grid-column: 1 / -1;
  }

  .rv-campaign-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .rv-campaign-action {
    width: 100%;
  }

  .rv-campaign-card-grid {
    grid-template-columns: 1fr;
  }

  .rv-page-head,
  .rv-section-head {
    align-items: flex-start;
  }

  .rv-page-head {
    display: block;
  }

  .rv-page-head > :last-child {
    margin-top: 14px;
  }

  .rv-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    padding-top: 34px;
  }

  .rv-footer__brand {
    grid-column: 1 / -1;
  }

  .rv-footer__bottom {
    display: block;
    padding: 18px 0 92px;
  }

  .rv-footer__controls {
    margin-top: 12px;
  }

  .rv-mobile-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 1036;
    display: grid;
    grid-template-columns: repeat(var(--rv-mobile-items, 4), minmax(0, 1fr));
    min-height: 66px;
    padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    border-top: 1px solid var(--rv-border);
    background: var(--rv-header);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
  }

  .rv-mobile-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    color: var(--rv-muted) !important;
    font-size: 9px;
    font-weight: 650;
    text-align: center;
    text-decoration: none;
  }

  .rv-mobile-nav__item i {
    font-size: 19px;
    line-height: 1;
  }

  .rv-mobile-nav__item span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rv-mobile-nav__item.is-active[data-mode="earn"] {
    color: var(--rv-red) !important;
  }

  .rv-mobile-nav__item.is-active[data-mode="promote"] {
    color: var(--rv-blue) !important;
  }

  .rv-mobile-nav__item--create i {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    margin-top: -16px;
    border: 4px solid var(--rv-page);
    border-radius: 10px;
    color: #fff;
    background: var(--rv-blue);
    box-sizing: content-box;
  }

  .search-block {
    width: 100% !important;
    padding: 20px !important;
  }
}

@media (max-width: 420px) {
  .rv-container {
    width: min(100% - 20px, var(--rv-max-width));
  }

  .rv-header__inner {
    gap: 0 4px;
  }

  .rv-header-actions {
    gap: 2px;
  }

  .rv-balance-chip {
    grid-template-areas: "label" "value";
    grid-template-columns: auto;
    row-gap: 1px;
    padding-inline: 4px;
  }

  .rv-balance-chip__icon {
    display: none;
  }

  .rv-balance-chip__label {
    max-width: 72px;
    font-size: 7.5px;
    text-align: right;
  }

  [dir="rtl"] .rv-balance-chip__label {
    text-align: left;
  }

  .rv-balance-chip__value {
    font-size: 12px;
    line-height: 1.15;
    text-align: right;
  }

  [dir="rtl"] .rv-balance-chip__value {
    text-align: left;
  }

  .rv-product-hero__content,
  [dir="rtl"] .rv-product-hero__content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .rv-product-hero__art {
    min-height: 148px;
  }

  .rv-performance-panel,
  .rv-promote-tool {
    padding: 16px;
  }

  .rv-performance-chart {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
    padding: 14px 0 0;
  }

  .rv-performance-bar__fill {
    width: min(24px, 78%);
  }

  .rv-performance-bar__fill span {
    font-size: 8px;
  }

  .rv-panel-title {
    align-items: flex-start;
  }

  .rv-panel-title__meta {
    text-align: right;
  }

  [dir="rtl"] .rv-panel-title__meta {
    text-align: left;
  }

  .rv-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rv-stat-card__label {
    font-size: 10px;
  }

  .rv-stat-card__value {
    font-size: 22px;
  }

  .rv-trust-stat {
    grid-template-columns: 34px 1fr;
    gap: 8px;
    padding: 13px;
  }

  .rv-trust-stat__icon {
    width: 34px;
    height: 34px;
  }

  .rv-trust-stat strong {
    font-size: 18px;
  }

  .rv-footer__main {
    grid-template-columns: 1fr;
  }

  .rv-footer__brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1050px) {
  .rv-create-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .rv-create-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rv-wallet-summary {
    grid-row: span 2;
  }
}

@media (max-width: 767.98px) {
  .rv-create-card__head {
    padding: 18px;
  }

  .rv-create-form {
    padding: 0 18px 18px;
  }

  .rv-create-section {
    padding: 20px 0;
  }

  .rv-create-fields--two,
  .rv-create-aside {
    grid-template-columns: 1fr;
  }

  .rv-wallet-summary {
    grid-row: auto;
  }

  .rv-campaign-estimate {
    grid-template-columns: 1fr;
  }

  .rv-create-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .rv-create-submit .rv-btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .rv-create-card__head,
  .rv-create-form,
  .rv-wallet-summary,
  .rv-create-guide {
    padding-right: 15px;
    padding-left: 15px;
  }

  .rv-create-card__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}

@media (max-width: 520px) {
  .rv-campaign-search-item {
    grid-template-columns: 86px minmax(0, 1fr) 16px;
    gap: 10px;
    min-height: 68px;
    padding: 8px;
  }

  .rv-campaign-search-item > .rv-status {
    display: none;
  }

  .rv-campaign-search-item__title {
    font-size: 13px;
  }

  .rv-campaign-search-item__meta {
    font-size: 11px;
  }
}

/* --------------------------------------------------------------------------
   RewardVid v2.1 production refinements
   -------------------------------------------------------------------------- */

:root {
  --rv-max-width: 1580px;
}

/* Header variants */
.rv-header--no-search .rv-header__inner {
  grid-template-columns: minmax(170px, 230px) minmax(250px, 1fr) auto;
}

.rv-header--no-search .rv-mode-switch {
  justify-self: center;
}

.rv-header--no-search .rv-header-actions {
  justify-self: end;
}

.rv-header--intro .rv-mode-switch__item:not(:hover) {
  color: var(--rv-text-soft);
  background: transparent;
  box-shadow: none;
}

.rv-login-button {
  min-height: 42px;
  padding: 0 12px 0 15px;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.rv-login-button:hover {
  border-color: var(--rv-border-strong);
  background: var(--rv-surface-2);
  transform: translateY(-1px);
}

.rv-login-button__providers {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 24px;
  flex: 0 0 38px;
}

.rv-login-provider {
  position: absolute;
  top: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
}

.rv-login-provider--google {
  left: 0;
  z-index: 2;
}

.rv-login-provider--facebook {
  left: 13px;
  z-index: 1;
  justify-content: end;
  padding-right: 4px;
  color: #1877f2;
}

.rv-login-provider--facebook i {
  font-size: 15px;
}

.rv-login-provider--fallback {
  left: 7px;
  color: var(--rv-text-soft);
}

.rv-auth-modal__unavailable {
  padding: 12px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  color: var(--rv-muted);
  background: var(--rv-surface-2);
  font-size: 12px;
  text-align: center;
}

/* Compact, balanced product heroes */
.rv-product-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  min-height: 312px;
}

.rv-product-hero__content {
  padding: 34px 18px 34px 40px;
}

[dir="rtl"] .rv-product-hero__content {
  padding: 34px 40px 34px 18px;
}

.rv-product-hero__badge {
  margin-bottom: 12px;
}

.rv-product-hero h1 {
  font-size: clamp(38px, 4.25vw, 56px);
  line-height: .99;
}

.rv-product-hero__lead {
  max-width: 650px;
  margin-top: 13px;
  font-size: 15px;
  line-height: 1.55;
}

.rv-product-hero__benefits {
  gap: 14px 18px;
  margin-top: 15px;
}

.rv-product-hero__benefit {
  font-size: 11px;
}

.rv-product-hero__actions {
  margin-top: 20px;
}

.rv-product-hero__art {
  min-height: 286px;
}

.rv-product-hero__art img {
  width: min(560px, 108%);
}

/* Intro page: keep the value proposition above the fold without oversized type. */
.rv-market-hero {
  padding: 34px 0 18px;
}

.rv-market-hero__inner {
  max-width: 1180px;
}

.rv-market-hero__kicker {
  margin-bottom: 17px;
}

.rv-market-hero h1 {
  font-size: clamp(44px, 5.6vw, 70px);
  line-height: .96;
}

.rv-market-hero__lead {
  max-width: 810px;
  margin-top: 17px;
  font-size: 17px;
  line-height: 1.58;
}

.rv-market-hero__actions {
  margin-top: 21px;
}

.rv-experience-grid {
  gap: 14px;
  margin-top: 28px;
}

.rv-experience-card {
  min-height: 192px;
  padding: 24px;
}

.rv-experience-card__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  font-size: 19px;
}

.rv-experience-card h2 {
  font-size: 20px;
}

.rv-experience-card p {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.55;
}

.rv-experience-card__link {
  margin-top: 15px;
}

.rv-section {
  margin-top: 28px;
}

.rv-section-head {
  margin-bottom: 16px;
}

/* Denser, cleaner statistics */
.rv-stat-grid {
  gap: 12px;
}

.rv-stat-card {
  min-height: 122px;
  padding: 18px;
}

.rv-stat-card__icon {
  width: 34px;
  height: 34px;
  font-size: 16px;
}

.rv-stat-card__value {
  margin-top: 13px;
  font-size: clamp(25px, 2.4vw, 32px);
}

.rv-stat-card__meta {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.45;
}

/* Marketplace video feed */
.rv-video-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 25px 16px;
  width: 100%;
  margin: 0 !important;
}

.rv-video-grid::before,
.rv-video-grid::after {
  display: none !important;
}

.rv-video-grid__item {
  min-width: 0;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

.rv-video-grid__empty {
  grid-column: 1 / -1;
}

.rv-video-grid--search {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px 14px;
}

body.rv-app .video-post-content {
  padding: 10px 2px 0;
}

body.rv-app .video-post-content .media {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

body.rv-app .video-post-content .media-head {
  margin: 0;
}

body.rv-app .video-post-content .avatar,
body.rv-app .video-post-content .avatar img {
  width: 34px;
  height: 34px;
}

body.rv-app .video-post-content h3 {
  display: -webkit-box;
  min-height: 36px;
  margin: 0;
  overflow: hidden;
  color: var(--rv-text);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.rv-app .video-post-content h6 {
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--rv-muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.rv-app .video-post-content .fn__meta {
  margin-top: 3px;
}

body.rv-app .video-post-content .fn__meta p {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 7px;
  margin: 0;
  color: var(--rv-muted);
  font-size: 9px;
  line-height: 1.35;
}

body.rv-app .video-post-content .fn__meta p > span {
  position: relative;
  min-width: 0;
}

body.rv-app .video-post-content .fn__meta p > span:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -5px;
  color: var(--rv-muted);
}

[dir="rtl"] body.rv-app .video-post-content .fn__meta p > span:not(:last-child)::after {
  right: auto;
  left: -5px;
}

body.rv-app .rv-video-budget {
  color: var(--rv-green);
  font-weight: 700;
}

body.rv-app .video-post-time,
body.rv-app .video-post-count {
  bottom: 7px;
  min-height: 21px;
  padding: 0 6px;
  font-size: 9px;
}

/* Search presentation */
.rv-search-section + .rv-search-section {
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid var(--rv-border);
}

.rv-search-creators {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.rv-search-creator {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 14px;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  background: var(--rv-surface);
  text-decoration: none;
}

.rv-search-creator:hover {
  border-color: var(--rv-border-strong);
  background: var(--rv-surface-2);
}

.rv-search-creator img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.rv-search-creator strong,
.rv-search-creator small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-search-creator strong {
  color: var(--rv-text);
  font-size: 12px;
}

.rv-search-creator small {
  color: var(--rv-muted);
  font-size: 10px;
}

.rv-search-creator > i {
  color: var(--rv-muted);
  font-size: 11px;
}

.rv-category-link > span {
  margin-left: 4px;
  color: var(--rv-muted);
  font-size: 10px;
}

.rv-search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 160px;
  color: var(--rv-muted);
  font-size: 12px;
}

/* Responsive advertising cards and third-party slots */
.rv-video-grid__item--ad,
.rv-video-grid__item--external-ad {
  min-width: 0;
}

.rv-ad-card {
  position: relative;
  display: flex;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-surface);
}

.rv-ad-card__link {
  display: flex;
  width: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.rv-ad-card__media {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  background: var(--rv-surface-2);
}

.rv-ad-card__media img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.rv-ad-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 4px 7px;
  border-radius: 5px;
  color: #fff;
  background: rgba(7, 11, 18, .78);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.rv-ad-card__body {
  display: grid;
  gap: 5px;
  padding: 11px 12px 13px;
}

.rv-ad-card__body strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--rv-text);
  font-size: 13px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rv-ad-card__body span {
  color: var(--rv-muted);
  font-size: 10px;
}

.rv-external-ad {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-surface);
  isolation: isolate;
}

.rv-external-ad__slot {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 160px;
  place-items: center;
  overflow: hidden;
}

.rv-external-ad iframe,
.rv-external-ad img,
.rv-external-ad video,
.rv-external-ad canvas,
.rv-external-ad svg,
.rv-external-ad ins,
[data-rv-ad] iframe,
[data-rv-ad] img,
[data-rv-ad] video,
[data-rv-ad] canvas,
[data-rv-ad] svg,
[data-rv-ad] ins {
  max-width: 100% !important;
}

.rv-external-ad iframe,
[data-rv-ad] iframe {
  display: block;
  width: 100% !important;
  border: 0 !important;
}

.rv-external-ad table,
[data-rv-ad] table {
  max-width: 100% !important;
  table-layout: fixed;
}

.rv-external-ad *,
[data-rv-ad] * {
  overflow-wrap: anywhere;
}

/* Page heads and compact shared-product screens */
.rv-page-head--compact {
  margin-bottom: 18px;
}

.rv-status-pill,
.rv-reward-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid var(--rv-border);
  border-radius: 999px;
  color: var(--rv-text-soft);
  background: var(--rv-surface-2);
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.rv-status-pill--success,
.rv-reward-pill {
  color: var(--rv-green);
  border-color: rgba(84, 216, 121, .18);
  background: rgba(84, 216, 121, .09);
}

.rv-status-pill--warning {
  color: var(--rv-amber);
  border-color: rgba(255, 189, 74, .18);
  background: rgba(255, 189, 74, .09);
}

.rv-status-pill--danger {
  color: var(--rv-danger);
  border-color: rgba(255, 98, 95, .18);
  background: rgba(255, 98, 95, .09);
}

.rv-inline-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(78, 140, 255, .21);
  border-radius: var(--rv-radius-sm);
  color: var(--rv-text-soft);
  background: rgba(78, 140, 255, .07);
  font-size: 11px;
  line-height: 1.5;
}

.rv-inline-notice i {
  margin-top: 1px;
  color: var(--rv-blue);
}

.rv-inline-notice--danger {
  border-color: rgba(255, 98, 95, .19);
  background: rgba(255, 98, 95, .07);
}

.rv-inline-notice--danger i {
  color: var(--rv-danger);
}

/* Bonuses */
.rv-bonus-layout {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.rv-bonus-layout > .rv-panel,
.rv-bonus-layout + .rv-panel {
  padding: 20px;
}

.rv-bonus-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 17px 0 12px;
}

.rv-bonus-summary > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  background: var(--rv-surface-2);
}

.rv-bonus-summary span,
.rv-bonus-summary strong {
  display: block;
}

.rv-bonus-summary span {
  color: var(--rv-muted);
  font-size: 10px;
}

.rv-bonus-summary strong {
  margin-top: 4px;
  color: var(--rv-text);
  font-size: 17px;
  line-height: 1.25;
}

.rv-bonus-gate {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  background: linear-gradient(135deg, rgba(147, 96, 255, .06), transparent), var(--rv-surface-2);
}

.rv-bonus-gate.is-required {
  border-color: rgba(255, 98, 95, .28);
}

.rv-bonus-gate__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rv-bonus-gate__head strong {
  color: var(--rv-text);
  font-size: 12px;
}

.rv-bonus-gate p {
  margin: 8px 0 0;
  color: var(--rv-muted);
  font-size: 10px;
  line-height: 1.55;
}

.rv-bonus-gate__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.rv-bonus-gate__metrics span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--rv-text-soft);
  background: var(--rv-surface-3);
  font-size: 9px;
}

.rv-achievement-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.rv-achievement-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background: var(--rv-surface-2);
}

.rv-achievement-card.is-ready {
  border-color: rgba(255, 63, 108, .32);
  box-shadow: 0 0 0 3px rgba(255, 63, 108, .05);
}

.rv-achievement-card__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--rv-red);
  background: var(--rv-red-soft);
}

.rv-achievement-card__main {
  min-width: 0;
}

.rv-achievement-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.rv-achievement-card h3 {
  margin: 0;
  font-size: 12px;
}

.rv-achievement-card p {
  margin: 2px 0 0;
  color: var(--rv-muted);
  font-size: 9px;
  line-height: 1.45;
}

.rv-achievement-card__note {
  margin-top: 8px;
  color: var(--rv-blue);
  font-size: 9px;
}

.rv-achievement-card__progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: var(--rv-muted);
  font-size: 9px;
}

.rv-achievement-card__progress-copy strong {
  color: var(--rv-text-soft);
}

.rv-progress {
  height: 7px;
  margin: 6px 0 11px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--rv-surface-3);
}

.rv-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rv-red), var(--rv-purple));
}

.rv-btn--compact {
  min-height: 34px;
  padding: 0 12px;
  font-size: 10px;
}

/* Referrals */
.rv-referral-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  gap: 17px 22px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 63, 108, .13), transparent 26rem),
    radial-gradient(circle at 96% 100%, rgba(78, 140, 255, .12), transparent 26rem),
    var(--rv-surface);
}

.rv-referral-hero__copy h2 {
  max-width: 700px;
  margin: 5px 0 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}

.rv-referral-hero__copy p {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--rv-muted);
  font-size: 12px;
}

.rv-referral-link {
  align-self: center;
  padding: 15px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  background: rgba(7, 11, 18, .28);
}

:root[data-theme="light"] .rv-referral-link {
  background: rgba(255, 255, 255, .62);
}

.rv-referral-link label {
  display: block;
  margin-bottom: 7px;
  color: var(--rv-text-soft);
  font-size: 10px;
  font-weight: 700;
}

.rv-referral-link__control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  background: var(--rv-surface-2);
}

.rv-referral-link__control input {
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  color: var(--rv-text);
  background: transparent;
  font-size: 11px;
}

.rv-referral-link__control button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 80px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--rv-red), var(--rv-red-strong));
  font-size: 10px;
  font-weight: 750;
}

.rv-referral-benefits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rv-referral-benefit {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  background: var(--rv-surface-2);
}

.rv-referral-benefit--promote {
  border-color: rgba(78, 140, 255, .23);
}

.rv-referral-benefit--earn {
  border-color: rgba(84, 216, 121, .21);
}

.rv-referral-benefit__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  color: var(--rv-blue);
  background: var(--rv-blue-soft);
  font-size: 18px;
}

.rv-referral-benefit--earn .rv-referral-benefit__icon {
  color: var(--rv-green);
  background: rgba(84, 216, 121, .10);
}

.rv-referral-benefit span,
.rv-referral-benefit strong,
.rv-referral-benefit p {
  display: block;
}

.rv-referral-benefit > div > span {
  color: var(--rv-muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.rv-referral-benefit strong {
  margin-top: 1px;
  color: var(--rv-text);
  font-size: 22px;
}

.rv-referral-benefit p {
  margin: 3px 0 0;
  color: var(--rv-muted);
  font-size: 9px;
  line-height: 1.5;
}

.rv-referral-hero > .rv-inline-notice {
  grid-column: 1 / -1;
}

.rv-referral-person {
  display: inline-grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.rv-referral-person img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.rv-referral-person strong,
.rv-referral-person small {
  display: block;
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-referral-person strong {
  color: var(--rv-text);
  font-size: 11px;
}

.rv-referral-person small {
  color: var(--rv-muted);
  font-size: 9px;
}

/* Shared tables */
.rv-table-wrap {
  overflow: hidden;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
}

body.rv-app .rv-table {
  color: var(--rv-text);
  background: transparent;
}

body.rv-app .rv-table > :not(caption) > * > * {
  padding: 12px 14px;
  border-color: var(--rv-border);
  color: var(--rv-text-soft);
  background: transparent;
  font-size: 10px;
  vertical-align: middle;
}

body.rv-app .rv-table thead th {
  color: var(--rv-muted);
  background: var(--rv-surface-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

body.rv-app .dataTables_wrapper .dataTables_filter {
  margin-bottom: 10px;
}

body.rv-app .dataTables_wrapper .dataTables_filter input {
  min-height: 38px;
  margin: 0;
  padding: 0 11px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  color: var(--rv-text);
  background: var(--rv-surface-2);
  font-size: 11px;
}

body.rv-app .dataTables_wrapper .dataTables_paginate {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

/* Subscribe-overlay dialog */
.rv-category-link--button {
  font-family: inherit;
  cursor: pointer;
}

.rv-subscribe-dialog {
  width: min(560px, calc(100vw - 24px));
  padding: 22px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  color: var(--rv-text);
  background: var(--rv-surface);
  box-shadow: var(--rv-shadow);
}

.rv-subscribe-dialog__head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  margin-bottom: 17px;
}

.rv-subscribe-dialog__head h2 {
  margin: 2px 0 0;
  font-size: 20px;
}

.rv-subscribe-dialog__head p {
  margin: 4px 0 0;
  color: var(--rv-muted);
  font-size: 11px;
}

.rv-subscribe-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
}

.rv-subscribe-choice legend {
  grid-column: 1 / -1;
  margin-bottom: 3px;
  color: var(--rv-text-soft);
  font-size: 11px;
  font-weight: 750;
}

.rv-subscribe-choice__option {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 76px;
  padding: 11px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-sm);
  background: var(--rv-surface-2);
  cursor: pointer;
}

.rv-subscribe-choice__option:has(input:checked) {
  border-color: rgba(78, 140, 255, .43);
  box-shadow: 0 0 0 3px rgba(78, 140, 255, .07);
}

.rv-subscribe-choice__option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.rv-subscribe-choice__control {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--rv-border);
  border-radius: 8px;
  color: var(--rv-muted);
  background: var(--rv-surface);
}

.rv-subscribe-choice__option:has(input:checked) .rv-subscribe-choice__control {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--rv-blue), var(--rv-blue-strong));
}

.rv-subscribe-choice__option strong,
.rv-subscribe-choice__option small {
  display: block;
}

.rv-subscribe-choice__option strong {
  color: var(--rv-text);
  font-size: 11px;
}

.rv-subscribe-choice__option small {
  margin-top: 2px;
  color: var(--rv-muted);
  font-size: 9px;
  line-height: 1.35;
}

[data-rv-subscribe-channel-field].is-disabled {
  opacity: .56;
}

.rv-form-message {
  min-height: 18px;
  margin-top: 8px;
  color: var(--rv-muted);
  font-size: 10px;
  text-align: center;
}

.rv-form-message.is-success {
  color: var(--rv-green);
}

.rv-form-message.is-error {
  color: var(--rv-danger);
}

/* Mobile bottom-navigation watch timer */
.rv-mobile-nav__timer {
  display: none;
}

@media (max-width: 1260px) {
  .rv-header--no-search .rv-header__inner {
    grid-template-columns: 170px minmax(220px, 1fr) auto;
  }
}

@media (max-width: 1050px) and (min-width: 768px) {
  .rv-header--no-search .rv-header__inner {
    grid-template-columns: 160px minmax(210px, 1fr) auto;
  }

  .rv-header--no-search .rv-mode-switch {
    justify-self: stretch;
  }

  .rv-product-hero {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .rv-product-hero__art {
    min-height: 270px;
  }

  .rv-achievement-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .rv-bonus-layout,
  .rv-referral-hero {
    grid-template-columns: 1fr;
  }

  .rv-referral-benefits,
  .rv-referral-hero > .rv-inline-notice {
    grid-column: auto;
  }
}

@media (max-width: 767.98px) {
  body.rv-mode-intro {
    --rv-header-height: 112px;
  }

  .rv-header--intro .rv-header__inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 58px 46px;
    gap: 0 10px;
  }

  .rv-header--intro .rv-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .rv-header--intro .rv-mode-switch {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-bottom: 5px;
  }

  .rv-header--intro .rv-header-actions {
    display: none;
  }

  .rv-header--no-search:not(.rv-header--intro) .rv-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .rv-login-button {
    width: 38px;
    min-height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .rv-login-button > span:first-child {
    display: none;
  }

  .rv-login-button__providers {
    transform: scale(.92);
  }

  .rv-product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: stretch;
    min-height: 258px;
  }

  .rv-product-hero__content,
  [dir="rtl"] .rv-product-hero__content {
    padding: 21px 8px 21px 20px;
  }

  [dir="rtl"] .rv-product-hero__content {
    padding-right: 20px;
    padding-left: 8px;
  }

  .rv-product-hero__badge {
    min-height: 28px;
    margin-bottom: 10px;
    padding: 0 9px;
    font-size: 9px;
  }

  .rv-product-hero h1 {
    font-size: clamp(29px, 8.5vw, 38px);
    line-height: 1;
  }

  .rv-product-hero__lead {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.48;
  }

  .rv-product-hero__actions {
    gap: 7px;
    margin-top: 14px;
  }

  .rv-product-hero__actions .rv-btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 10px;
  }

  .rv-product-hero__art {
    min-height: 100%;
  }

  .rv-product-hero__art img {
    inset: 50% 46% auto auto;
    width: min(330px, 185%);
    transform: translate(50%, -50%);
  }

  [dir="rtl"] .rv-product-hero__art img {
    inset: 50% auto auto 46%;
    transform: translate(-50%, -50%);
  }

  .rv-market-hero {
    padding: 23px 0 12px;
  }

  .rv-market-hero__kicker {
    margin-bottom: 13px;
    font-size: 9px;
  }

  .rv-market-hero h1 {
    font-size: clamp(35px, 11.5vw, 48px);
    line-height: .98;
  }

  .rv-market-hero__lead {
    margin-top: 13px;
    font-size: 13px;
  }

  .rv-market-hero__actions {
    gap: 8px;
    margin-top: 17px;
  }

  .rv-market-hero__actions .rv-btn {
    min-height: 40px;
    padding: 0 13px;
    font-size: 10px;
  }

  .rv-experience-grid {
    gap: 10px;
    margin-top: 20px;
  }

  .rv-experience-card {
    padding: 18px;
  }

  .rv-experience-card__icon {
    width: 38px;
    height: 38px;
    margin-bottom: 11px;
  }

  .rv-experience-card h2 {
    font-size: 17px;
  }

  .rv-experience-card p {
    font-size: 10px;
  }

  .rv-stat-card {
    min-height: 104px;
    padding: 14px;
  }

  .rv-stat-card__value {
    margin-top: 10px;
    font-size: 23px;
  }

  .rv-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 10px;
  }

  body.rv-app .video-post-content {
    padding-top: 8px;
  }

  body.rv-app .video-post-content .media {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
  }

  body.rv-app .video-post-content .avatar,
  body.rv-app .video-post-content .avatar img {
    width: 28px;
    height: 28px;
  }

  body.rv-app .video-post-content h3 {
    min-height: 32px;
    font-size: 11px;
    line-height: 1.4;
  }

  body.rv-app .video-post-content h6,
  body.rv-app .video-post-content .fn__meta p {
    font-size: 8px;
  }

  .rv-search-creators {
    grid-template-columns: 1fr;
  }

  .rv-bonus-layout > .rv-panel,
  .rv-bonus-layout + .rv-panel,
  .rv-referral-hero {
    padding: 16px;
  }

  .rv-achievement-list {
    grid-template-columns: 1fr;
  }

  .rv-referral-benefits {
    grid-template-columns: 1fr;
  }

  .rv-subscribe-choice {
    grid-template-columns: 1fr;
  }

  .rv-mobile-nav.is-countdown-active [data-rv-countdown-replace] {
    display: none;
  }

  .rv-mobile-nav.is-countdown-active .rv-mobile-nav__timer {
    grid-column: 3 / 5;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 1px 8px;
    align-items: center;
    min-width: 0;
    padding: 8px 10px 9px;
    overflow: hidden;
    border-inline-start: 1px solid var(--rv-border);
    background: linear-gradient(135deg, rgba(255, 63, 108, .13), rgba(147, 96, 255, .08));
  }

  .rv-mobile-nav__timer[hidden] {
    display: none !important;
  }

  .rv-mobile-nav__timer-icon {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: var(--rv-red);
    background: var(--rv-red-soft);
  }

  .rv-mobile-nav__timer-copy {
    min-width: 0;
  }

  .rv-mobile-nav__timer-copy strong,
  .rv-mobile-nav__timer-copy span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rv-mobile-nav__timer-copy strong {
    color: var(--rv-text);
    font-size: 9px;
    line-height: 1.2;
  }

  .rv-mobile-nav__timer-copy span {
    color: var(--rv-muted);
    font-size: 7px;
    line-height: 1.3;
  }

  .rv-mobile-nav__timer-value {
    color: var(--rv-text);
    font-size: 13px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
  }

  .rv-mobile-nav__timer-track {
    grid-column: 2 / 4;
    display: block;
    height: 3px;
    margin-top: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--rv-surface-3);
  }

  .rv-mobile-nav__timer-track > span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rv-red), var(--rv-purple));
    transition: width .25s linear;
  }

  .rv-mobile-nav__timer[data-state="paused"] .rv-mobile-nav__timer-icon {
    color: var(--rv-amber);
    background: rgba(255, 189, 74, .10);
  }

  .rv-mobile-nav__timer[data-state="complete"] .rv-mobile-nav__timer-icon {
    color: var(--rv-green);
    background: rgba(84, 216, 121, .10);
  }

  .rv-mobile-nav--intro .rv-mobile-nav__item[data-mode="earn"] {
    color: var(--rv-red);
  }

  .rv-mobile-nav--intro .rv-mobile-nav__item[data-mode="promote"] {
    color: var(--rv-blue);
  }
}

@media (max-width: 575.98px) {
  .rv-product-hero {
    grid-template-columns: minmax(0, 1fr) 118px;
    min-height: 246px;
  }

  .rv-product-hero__content,
  [dir="rtl"] .rv-product-hero__content {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .rv-product-hero h1 {
    font-size: clamp(28px, 9vw, 35px);
  }

  .rv-product-hero__lead {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .rv-product-hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 190px;
  }

  .rv-product-hero__actions .rv-btn {
    width: 100%;
  }

  .rv-product-hero__art img {
    width: min(285px, 220%);
  }

  .rv-market-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rv-market-hero__actions .rv-btn {
    width: 100%;
  }

  .rv-bonus-summary {
    grid-template-columns: 1fr;
  }

  .rv-referral-link__control {
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  .rv-referral-link__control button {
    min-width: 46px;
  }

  .rv-referral-link__control button span {
    display: none;
  }
}

@media (max-width: 479.98px) {
  .rv-product-hero {
    grid-template-columns: 1fr;
  }

  .rv-product-hero__content,
  [dir="rtl"] .rv-product-hero__content {
    position: relative;
    z-index: 2;
    padding: 20px;
  }

  .rv-product-hero__lead {
    max-width: 82%;
  }

  .rv-product-hero__art {
    position: absolute;
    right: -12px;
    bottom: -5px;
    z-index: 1;
    width: 155px;
    height: 145px;
    min-height: 0;
    opacity: .78;
  }

  [dir="rtl"] .rv-product-hero__art {
    right: auto;
    left: -12px;
  }

  .rv-product-hero__art img,
  [dir="rtl"] .rv-product-hero__art img {
    inset: 50% 50% auto auto;
    width: 300px;
    transform: translate(50%, -50%);
  }

  [dir="rtl"] .rv-product-hero__art img {
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
  }

  .rv-video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.rv-app .video-post-content .media {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  body.rv-app .video-post-content .avatar,
  body.rv-app .video-post-content .avatar img {
    width: 34px;
    height: 34px;
  }

  body.rv-app .video-post-content h3 {
    min-height: 36px;
    font-size: 13px;
  }

  body.rv-app .video-post-content h6,
  body.rv-app .video-post-content .fn__meta p {
    font-size: 9px;
  }
}

.rv-ad-card__body {
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
}

.rv-ad-card__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: var(--rv-red);
  background: var(--rv-red-soft);
}

.rv-external-ad {
  position: relative;
}

.rv-external-ad__label {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 2;
  padding: 3px 6px;
  border-radius: 5px;
  color: #fff;
  background: rgba(7, 11, 18, .76);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.rv-ad-slot {
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  place-items: center;
  overflow: hidden;
}

.rv-ad-slot > img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.rv-subscribe-choice__option.is-selected {
  border-color: rgba(78, 140, 255, .43);
  box-shadow: 0 0 0 3px rgba(78, 140, 255, .07);
}

.rv-subscribe-choice__option.is-selected .rv-subscribe-choice__control {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--rv-blue), var(--rv-blue-strong));
}

@media (max-width: 767.98px) {
  .rv-brand__desktop {
    display: block !important;
    width: auto;
    max-width: 116px;
    height: 28px;
  }

  .rv-brand__mobile {
    display: none !important;
  }

  .rv-header-mobile-search {
    display: none !important;
  }
}

@media (max-width: 379.98px) {
  .rv-brand__desktop {
    display: none !important;
  }

  .rv-brand__mobile {
    display: block !important;
  }
}

.rv-ad-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--rv-red);
  background:
    radial-gradient(circle at 70% 20%, rgba(147, 96, 255, .24), transparent 38%),
    radial-gradient(circle at 25% 80%, rgba(255, 63, 108, .22), transparent 40%),
    var(--rv-surface-2);
}

.rv-ad-card__placeholder i {
  font-size: 28px;
}

.rv-ad-card__placeholder span {
  color: var(--rv-text-soft);
  font-size: 10px;
  font-weight: 750;
}
