/* Nova success stories - public list, story detail, the share flow and My stories.
 *
 * Built in the language of the redesigned pages (Home, Rules, Rewards): layout
 * and colours live inline in the templates. This sheet carries what inline
 * styles cannot: keyframes, hover states (which must beat the inline base style,
 * hence !important), form controls and the phone layout. Motion runs even when
 * the OS asks for reduced motion, like every other page.
 */
body { background: var(--nv-f6f6fa); -webkit-font-smoothing: antialiased; }

.nst { line-height: normal; }
.nst * { box-sizing: border-box; }
.nst a { color: #DD3D4F; text-decoration: none; }
.nst a:hover { color: var(--nv-b4202f); }
.nst [hidden] { display: none !important; }
.nst .nst-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nst .nst-track::-webkit-scrollbar { display: none; }

@keyframes novaRise { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: translateY(0) } }
@keyframes novaMarquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* the ticker: a transform-only loop that pauses while a pointer rests on it */
.nst .nst-marquee { will-change: transform; }
.nst .nst-ticker:hover .nst-marquee { animation-play-state: paused !important; }

/* -- hover / focus ---------------------------------------------------------------- */
.nst .nst-h-dark:hover { background: #DD3D4F !important; transform: translateY(-2px) !important; color: #fff !important; }
.nst .nst-h-dark:disabled { opacity: .6; cursor: default !important; transform: none !important; }
.nst a.nst-h-darklink:hover { background: #DD3D4F !important; color: #fff !important; }
.nst .nst-h-white:hover { transform: translateY(-2px) !important; color: var(--nv-b4202f) !important; box-shadow: 0 22px 36px -14px rgba(0,0,0,.45) !important; }
.nst .nst-h-glass:hover { background: rgba(255,255,255,.2) !important; border-color: rgba(255,255,255,.44) !important; color: #fff !important; }
.nst .nst-h-ghost:hover { border-color: var(--nv-f3c4ca) !important; background: var(--nv-fff5f6) !important; color: var(--nv-b4202f) !important; }
.nst .nst-h-card:hover { transform: translateY(-4px) !important; box-shadow: 0 26px 44px -28px rgba(24,20,80,.36) !important; border-color: var(--nv-f3c4ca) !important; }
.nst .nst-h-feat:hover { border-color: var(--nv-f3c4ca) !important; box-shadow: 0 34px 60px -40px rgba(221,61,79,.35) !important; }
.nst .nst-h-help:hover { transform: translateY(-4px) !important; box-shadow: 0 26px 44px -28px rgba(24,20,80,.36) !important; border-color: var(--nv-f3c4ca) !important; }
.nst .nst-h-chip:hover { border-color: var(--nv-f3c4ca) !important; color: var(--nv-b4202f) !important; }
.nst .nst-h-tick:hover { border-color: var(--nv-f3c4ca) !important; color: var(--nv-0e0f1f-text) !important; }
.nst .nst-h-row:hover { background: var(--nv-fbfafd) !important; }
.nst .nst-h-foot:hover { color: #DD3D4F !important; }
.nst .nst-opt:hover { border-color: var(--nv-f3c4ca) !important; }
.nst .nst-f:focus { border-color: #DD3D4F !important; box-shadow: 0 0 0 4px rgba(221,61,79,.14) !important; outline: none; }
.nst button:focus-visible, .nst a:focus-visible, .nst input:focus-visible, .nst textarea:focus-visible, .nst [tabindex]:focus-visible { outline: 2px solid #DD3D4F; outline-offset: 2px; }

/* a whole grid card is clickable through its "Read" link */
.nst .nst-card-link::after { content: ''; position: absolute; inset: 0; border-radius: 20px; }
.nst .nst-card:focus-within { border-color: var(--nv-f3c4ca) !important; }
.nst .nst-clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* the country switch */
.nst .nst-switch-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nst .nst-switch-track { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--nv-dcdce6); transition: background .25s; }
.nst .nst-switch-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(14,15,31,.25); transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.nst .nst-switch-input:checked + .nst-switch-track { background: #16A36A; }
.nst .nst-switch-input:checked + .nst-switch-track::after { transform: translateX(18px); }
.nst .nst-switch-input:focus-visible + .nst-switch-track { outline: 2px solid #DD3D4F; outline-offset: 2px; }

@media (max-width: 480px) {
  .nst .nst-main { padding: 24px 16px 56px !important; }
  .nst .nst-hero { border-radius: 22px !important; }
}

/* -- phones (below 768px only) ----------------------------------------------------- */
@media (max-width: 767.98px) {
  .nst .nst-wrap { white-space: normal !important; }
  .nst .nst-hero-actions > a { flex: 1 1 100%; }
  .nst .nst-stats { gap: 8px !important; }
  .nst .nst-stat { padding: 14px !important; }
  .nst .nst-chip { height: 44px !important; padding: 0 16px !important; }
  .nst .nst-feat-link, .nst .nst-back { min-height: 44px !important; }
  .nst .nst-card-link { display: inline-flex; align-items: center; min-height: 44px; }
  .nst .nst-share-btn { flex: 1 1 100%; height: 48px !important; }
  .nst .nst-head-links { flex: 1 1 100%; }
  .nst .nst-head-links > a { flex: 1 1 0; }
  .nst .nst-head-cta { flex: 1 1 100%; height: 48px !important; }
  .nst .nst-withdraw { width: 100%; height: 46px !important; }
  .nst #nst-status form { flex: 1 1 100%; }
  .nst #nst-quote { font-size: 16px !important; }
  .nst .nst-btn { height: 44px !important; }
  .nst .nst-foot-links a { display: inline-flex; align-items: center; min-height: 44px; }

  /* My stories: rows become cards */
  .nst .nst-mine-row { grid-template-columns: minmax(0,1fr) auto !important; gap: 12px !important; padding: 16px !important; }
  .nst .nst-mine-name { grid-column: 1 / -1; grid-row: 2; }
  .nst .nst-mine-status { grid-column: 2; grid-row: 1; align-self: start; }
  .nst .nst-mine-actions { grid-column: 1 / -1; justify-content: stretch !important; }
  .nst .nst-mine-actions .nst-btn { flex: 1 1 0; }
}
@media (max-width: 420px) {
  .nst .nst-facts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .nst .nst-facts > div:last-child { grid-column: 1 / -1; }
  .nst .nst-prev-facts { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 360px) {
  .nst .nst-stats { grid-template-columns: minmax(0, 1fr) !important; }
  .nst .nst-kv { flex-wrap: wrap; row-gap: 4px !important; }
  .nst .nst-kv dd { margin-left: auto !important; }
}

/* -- payout certificates and Trustpilot -------------------------------------------- */
.nst .nst-cert-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.nst .nst-tp-link:hover { color: var(--nv-b4202f) !important; }
@media (max-width: 1023.98px) {
  .nst .nst-cert-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
  .nst .nst-cert-actions { flex: 1 1 100%; }
  .nst .nst-cert-actions > a { flex: 1 1 calc(50% - 4px); height: 48px !important; }
  .nst .nst-cert-actions > a:first-child { flex-basis: 100%; }
  .nst .nst-cert-facts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .nst .nst-verify-row { flex-wrap: wrap; }
  .nst .nst-verify-row > input { flex: 1 1 100% !important; font-size: 14px !important; }
  .nst .nst-verify-row > button { flex: 1 1 100% !important; }
  .nst .nst-tp-cta { flex: 1 1 100%; }
  .nst .nst-hero-tp { max-width: 100% !important; }
}
