/*
 * Final shared typography polish.
 * Keeps headings, titles, subtitles, and premium labels readable across page CSS overrides.
 */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .entry-title,
body .page-title,
body .section-title,
body [class*="__title"],
body [class*="-title"],
body [class*="_title"] {
  letter-spacing: 0;
  text-wrap: balance;
}

body .subtitle,
body .sub-title,
body [class*="subtitle"],
body [class*="sub-title"],
body [class*="__subtitle"],
body [class*="-lead"],
body [class*="__lead"] {
  letter-spacing: 0;
}

body .eyebrow,
body [class*="eyebrow"],
body [class*="kicker"],
body [class*="label"],
body [class*="badge"],
body [class*="premium"],
body [class*="Premium"] {
  letter-spacing: .02em;
}

body .asset-premium-badge,
body .premium-badge,
body .ok-premium-badge,
body .is-premium,
body [class*="premium-badge"],
body [class*="premium_badge"] {
  letter-spacing: .01em;
}

/* Pricing has older highly-specific rules, so keep these explicit. */
body .ok-pricing-wrap .ok-pricing-header,
body .ok-pricing-wrap .ok-credit-plans,
body .ok-pricing-wrap .ok-on-demand-section,
body .ok-pricing-wrap .ok-enterprise-credit,
body .ok-pricing-wrap .ok-subscription-benefits,
body .ok-pricing-wrap .ok-subscription-faq {
  width: min(1320px, calc(100% - clamp(40px, 10vw, 144px)));
  max-width: 1320px;
  margin-inline: auto;
}

body .ok-pricing-wrap .ok-pricing-header {
  padding-top: clamp(18px, 3vw, 34px);
  margin-bottom: clamp(42px, 6vw, 74px);
}

body .ok-pricing-wrap .ok-pricing-header h1,
body .ok-pricing-wrap .ok-pricing-header h2 {
  max-width: 1080px;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 1.08;
  letter-spacing: 0;
}

body .ok-pricing-wrap .ok-subscription-benefits-head {
  width: min(1120px, 100%);
  max-width: 1120px;
}

body .ok-pricing-wrap .ok-subscription-benefits h2,
body .ok-pricing-wrap .ok-subscription-faq h2,
body .ok-pricing-wrap .ok-on-demand-copy h3 {
  max-width: 1080px;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.1;
  letter-spacing: 0;
}

body .ok-pricing-wrap .ok-subscription-benefits-head p,
body .ok-pricing-wrap .ok-pricing-header p,
body .ok-pricing-wrap .ok-on-demand-copy p {
  max-width: 780px;
  line-height: 1.62;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  body .ok-pricing-wrap .ok-pricing-header,
  body .ok-pricing-wrap .ok-credit-plans,
  body .ok-pricing-wrap .ok-on-demand-section,
  body .ok-pricing-wrap .ok-enterprise-credit,
  body .ok-pricing-wrap .ok-subscription-benefits,
  body .ok-pricing-wrap .ok-subscription-faq {
    width: calc(100% - 12px);
  }

  body .ok-pricing-wrap .ok-pricing-header h1,
  body .ok-pricing-wrap .ok-pricing-header h2,
  body .ok-pricing-wrap .ok-subscription-benefits h2,
  body .ok-pricing-wrap .ok-subscription-faq h2,
  body .ok-pricing-wrap .ok-on-demand-copy h3 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.12;
  }
}

/* Premium consistency across the rest of the theme. */
body .ok-profile-page .ok-profile-shell,
body .ok-profile-page .ok-profile-main,
body .okb-policy-page .okb-policy-shell,
body .okb-studio-v2 .okb-studio-v2-shell,
body .okb-studio-v2-final > .okb-studio-v2-shell,
body .okb-studio-v2-trust .okb-studio-v2-shell,
body .okb-studio-v2-contact-band .okb-studio-v2-shell,
body .contact-page .contact-shell,
body .ok-product-page .ok-product-shell,
body .homefeed .homefeed__inner,
body .homefeed--taxonomy,
body .ok-stock-banner,
body .site-main .entry:not(.entry--custom-page) .entry-header,
body .site-main .entry:not(.entry--custom-page) .entry-content,
body .okb-global-page .entry-header,
body .okb-global-page .entry-content,
body .okb-footer .okb-footer-shell {
  width: min(1320px, calc(100% - clamp(40px, 10vw, 144px)));
  max-width: 1320px;
  margin-inline: auto;
}

body .ok-profile-page .ok-profile-hero h1,
body .okb-policy-page .okb-policy-hero h1,
body .okb-studio-v2 .okb-studio-v2-heading h1,
body .okb-studio-v2 .okb-studio-v2-heading h2,
body .contact-page .contact-card h1,
body .ok-stock-banner .ok-stock-banner__content h1,
body .site-main .entry:not(.entry--custom-page) .entry-header h1,
body .okb-footer .okb-footer-hero h2 {
  max-width: 1080px;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 1.08;
  letter-spacing: 0;
}

body .okb-global-page .entry-content h2,
body .okb-global-page .entry-content h3,
body .ok-product-page .ok-product-section-head h2,
body .homefeed .ok-stock-results__bar h1,
body .homefeed .ok-stock-results__bar h2,
body .homefeed--taxonomy .ok-stock-results__bar h1,
body .homefeed--taxonomy .ok-stock-results__bar h2,
body .okb-footer .okb-footer-col h3 {
  letter-spacing: 0;
}

body .ok-profile-page .ok-profile-hero p,
body .okb-policy-page .okb-policy-hero p,
body .okb-studio-v2 .okb-studio-v2-heading p,
body .contact-page .contact-subtitle,
body .ok-stock-banner .ok-stock-banner__content p,
body .site-main .entry:not(.entry--custom-page) .entry-header p {
  max-width: 780px;
  line-height: 1.62;
  letter-spacing: 0;
}

body .ok-product-page .ok-product-shell {
  width: min(80%, 1800px);
  max-width: 1800px;
}

body .ok-product-page {
  min-height: 0;
}

body .ok-product-page .ok-product-preview-box,
body .ok-product-page .ok-product-preview-box.is-image {
  min-height: var(--ok-product-preview-min-height, 0px);
}

body .ok-product-page .ok-product-preview-box.is-png {
  background:
    linear-gradient(45deg, rgba(226, 232, 240, .95) 25%, transparent 25% 75%, rgba(226, 232, 240, .95) 75%),
    linear-gradient(45deg, rgba(226, 232, 240, .95) 25%, transparent 25% 75%, rgba(226, 232, 240, .95) 75%),
    var(--ok-surface);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}

body .ok-product-page .ok-product-preview-box img,
body .ok-product-page .ok-product-preview-box picture,
body .ok-product-page .ok-product-preview-box picture img {
  max-height: min(78vh, var(--ok-product-preview-max-height, 820px));
}

body .ok-product-page .ok-product-preview-box.is-video {
  aspect-ratio: var(--okvp-ratio, 16 / 9);
  min-height: 0;
}

body .ok-product-page .ok-product-preview-box.is-video.is-vertical-video {
  aspect-ratio: 16 / 9;
}

body .ok-product-page .ok-product-preview-box.is-video video {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

@media (max-width: 760px) {
  body.okb-search-open .site-header {
    z-index: 120000;
  }

  body.okb-search-open .site-header .okb-header-search,
  body.okb-search-open .okb-header-search,
  body.okb-search-open .site-header .header-search,
  body.okb-search-open .site-header .header-search-dropdown,
  body.okb-search-open .site-header .asset-category-menu {
    z-index: 120010;
  }

  body.okb-search-open .ok-product-page .ok-product-preview-card.is-video-preview .ok-product-preview-box.is-video,
  body.okb-search-open .ok-product-page .ok-product-preview-card.is-video-preview .ok-product-preview-box.is-video.is-vertical-video {
    z-index: 1;
  }

  body .ok-product-page .ok-product-preview-card.is-video-preview {
    background: var(--ok-surface);
  }

  body .ok-product-page.has-video-preview .ok-product-hero,
  body .ok-product-page.has-video-preview .ok-product-preview-card.is-video-preview {
    display: contents;
  }

  body .ok-product-page .ok-product-preview-card.is-video-preview .ok-product-preview-box.is-video,
  body .ok-product-page .ok-product-preview-card.is-video-preview .ok-product-preview-box.is-video.is-vertical-video {
    position: fixed;
    top: var(--ok-mobile-video-sticky-top, 58px);
    left: 0;
    z-index: 110000;
    width: 100vw;
    margin-inline: 0;
    aspect-ratio: 16 / 9;
    height: 56.25vw;
  }

  body .ok-product-page .ok-product-preview-card.is-video-preview .ok-product-preview-box.is-video .ok-yt-player {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  body .ok-product-page .ok-product-preview-card.is-video-preview .ok-product-preview-title {
    margin: 56.25vw 0 0;
    padding: 10px max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
    background: var(--ok-surface);
    color: var(--ok-ink);
    -webkit-text-fill-color: currentColor;
    background-image: none;
    font-size: 15px;
    line-height: 1.28;
    overflow-wrap: anywhere;
  }

  body .ok-product-page.has-video-preview .ok-product-panel {
    margin-top: 6px;
  }

  body .ok-product-page .ok-product-preview-card.is-video-preview .ok-product-preview-box.is-video .ok-yt-player,
  body .ok-product-page .ok-product-preview-card.is-video-preview .ok-product-preview-box.is-video video {
    position: relative;
    z-index: 1;
  }

  body.single-post .okb-footer {
    position: relative;
    z-index: 0;
  }

  body.ok-has-mobile-video-preview .okb-footer,
  body.ok-has-mobile-video-preview .okb-footer * {
    z-index: auto;
  }
}

body .ok-product-page .ok-product-preview-title {
  letter-spacing: 0;
}

body .homefeed .ok-stock-banner,
body .homefeed--taxonomy .ok-stock-banner {
  width: 100%;
  max-width: 100%;
}

body .homefeed .ok-stock-banner .ok-stock-banner__content h1,
body .homefeed--taxonomy .ok-stock-banner .ok-stock-banner__content h1 {
  max-width: 860px;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.1;
}

body .homefeed .ok-stock-banner .ok-stock-banner__content p,
body .homefeed--taxonomy .ok-stock-banner .ok-stock-banner__content p {
  max-width: 620px;
}

body .okb-footer .okb-footer-hero {
  gap: clamp(32px, 6vw, 90px);
}

@media (max-width: 760px) {
  body .ok-profile-page .ok-profile-shell,
  body .ok-profile-page .ok-profile-main,
  body .okb-policy-page .okb-policy-shell,
  body .okb-studio-v2 .okb-studio-v2-shell,
  body .okb-studio-v2-final > .okb-studio-v2-shell,
  body .okb-studio-v2-trust .okb-studio-v2-shell,
  body .okb-studio-v2-contact-band .okb-studio-v2-shell,
  body .contact-page .contact-shell,
  body .ok-product-page .ok-product-shell,
  body .homefeed .homefeed__inner,
  body .homefeed--taxonomy,
  body .ok-stock-banner,
  body .site-main .entry:not(.entry--custom-page) .entry-header,
  body .site-main .entry:not(.entry--custom-page) .entry-content,
  body .okb-global-page .entry-header,
  body .okb-global-page .entry-content,
  body .okb-footer .okb-footer-shell {
    width: calc(100% - 12px);
  }

  body .ok-profile-page .ok-profile-hero h1,
  body .okb-policy-page .okb-policy-hero h1,
  body .okb-studio-v2 .okb-studio-v2-heading h1,
  body .okb-studio-v2 .okb-studio-v2-heading h2,
  body .contact-page .contact-card h1,
  body .ok-stock-banner .ok-stock-banner__content h1,
  body .site-main .entry:not(.entry--custom-page) .entry-header h1,
  body .okb-footer .okb-footer-hero h2 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.12;
  }
}

body :where(
  .ok-pricing-wrap,
  .ok-profile-page,
  .okb-policy-page,
  .okb-studio-v2,
  .contact-page,
  .homefeed,
  .homefeed--taxonomy,
  .ok-product-page
) {
  --ok-premium-page-x: clamp(20px, 5vw, 72px);
  --ok-premium-shell: 1320px;
}

body :where(
  .ok-pricing-header,
  .ok-credit-plans,
  .ok-on-demand-section,
  .ok-enterprise-credit,
  .ok-subscription-benefits,
  .ok-subscription-faq,
  .ok-profile-shell,
  .okb-policy-shell,
  .okb-studio-v2-shell,
  .contact-shell,
  .homefeed__inner,
  .homefeed--taxonomy,
  .ok-product-shell
) {
  width: min(var(--ok-premium-shell), calc(100% - (var(--ok-premium-page-x) * 2)));
  max-width: var(--ok-premium-shell);
  margin-inline: auto;
}

body :where(
  .ok-pricing-header h1,
  .ok-pricing-header h2,
  .ok-subscription-benefits h2,
  .ok-subscription-faq h2,
  .ok-on-demand-copy h3,
  .ok-profile-hero h1,
  .okb-policy-hero h1,
  .okb-studio-v2-heading h1,
  .okb-studio-v2-heading h2,
  .contact-card h1,
  .ok-stock-banner__content h1
) {
  max-width: min(1120px, 100%);
  margin-inline: auto;
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: 1.08;
}

body :where(
  .ok-subscription-benefits h2,
  .ok-subscription-faq h2,
  .ok-on-demand-copy h3
) {
  font-size: clamp(34px, 4.8vw, 64px);
}

body :where(
  .ok-pricing-header p,
  .ok-subscription-benefits-head p,
  .ok-on-demand-copy p,
  .ok-profile-hero p,
  .okb-policy-hero p,
  .okb-studio-v2-heading p,
  .contact-subtitle,
  .ok-stock-banner__content p
) {
  max-width: min(760px, 100%);
  margin-inline: auto;
  line-height: 1.6;
}

body .ok-pricing-wrap .ok-offer-timer {
  width: min(760px, calc(100vw - 40px));
  max-width: min(760px, calc(100vw - 40px));
  margin-inline: auto;
  overflow: hidden;
}

body .ok-pricing-wrap .ok-offer-timer-grid {
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body .ok-pricing-wrap .ok-offer-timer-grid div {
  min-width: 0;
  overflow: hidden;
}

@media (max-width: 760px) {
  body :where(
    .ok-pricing-header,
    .ok-credit-plans,
    .ok-on-demand-section,
    .ok-enterprise-credit,
    .ok-subscription-benefits,
    .ok-subscription-faq,
    .ok-profile-shell,
    .okb-policy-shell,
    .okb-studio-v2-shell,
    .contact-shell,
    .homefeed__inner,
    .homefeed--taxonomy,
    .ok-product-shell
  ) {
    width: min(100% - 12px, var(--ok-premium-shell));
  }

  body :where(
    .ok-pricing-header h1,
    .ok-pricing-header h2,
    .ok-subscription-benefits h2,
    .ok-subscription-faq h2,
    .ok-on-demand-copy h3,
    .ok-profile-hero h1,
    .okb-policy-hero h1,
    .okb-studio-v2-heading h1,
    .okb-studio-v2-heading h2,
    .contact-card h1,
    .ok-stock-banner__content h1
  ) {
    font-size: clamp(32px, 10vw, 48px);
    line-height: 1.12;
  }

  body .ok-product-page .ok-product-preview-box img,
  body .ok-product-page .ok-product-preview-box picture,
  body .ok-product-page .ok-product-preview-box picture img,
  body .ok-product-page .ok-product-preview-box video {
    max-height: min(72vh, var(--ok-product-preview-mobile-max-height, 560px));
  }

  body .ok-pricing-wrap .ok-offer-timer {
    width: min(320px, calc(100vw - 68px));
    max-width: min(320px, calc(100vw - 68px));
    padding: 12px 10px;
  }

  body .ok-pricing-wrap .ok-offer-timer-grid {
    gap: 5px;
  }

  body .ok-pricing-wrap .ok-offer-timer-grid div {
    padding: 8px 2px 7px;
  }

  body .ok-pricing-wrap .ok-offer-timer-grid strong {
    font-size: 17px;
  }

  body .ok-pricing-wrap .ok-offer-timer-grid span {
    font-size: 7px;
    letter-spacing: 0;
  }
}

body .homefeed--taxonomy,
body .homefeed--search {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-right: 0;
  padding-left: 0;
}

body .homefeed--search > .asset-search-header,
body .homefeed--search > .homefeed-category-shell {
  width: min(80%, 1800px);
  max-width: 1800px;
  margin-inline: auto;
}

body .homefeed--taxonomy > .asset-search-header,
body .homefeed--taxonomy > .homefeed-category-shell,
body .homefeed--taxonomy > .homefeed-grid,
body .homefeed--taxonomy > .pagination,
body .homefeed--taxonomy > .feed-empty {
  width: min(80%, 1800px);
  max-width: 1800px;
  margin-inline: auto;
}

@media (max-width: 760px) {
  body .homefeed--taxonomy > .asset-search-header,
  body .homefeed--taxonomy > .homefeed-category-shell,
  body .homefeed--taxonomy > .homefeed-grid,
  body .homefeed--taxonomy > .pagination,
  body .homefeed--taxonomy > .feed-empty,
  body .homefeed--search > .asset-search-header,
  body .homefeed--search > .homefeed-category-shell {
    width: calc(100% - 16px);
  }
}

body.single-post .ok-product-utility,
body.single-post .ok-product-utility button,
body.single-post .ok-product-utility span,
body.single-post .ok-product-utility #panelShareBtn {
  border-radius: 5px;
}

body.single-post .ok-product-utility button::after,
body.single-post .ok-product-utility #panelShareBtn::after {
  border-radius: 5px;
}

/* Homefeed desktop finish: last-loaded compact layout and readable filters. */
body.page-template-page-feed .homefeed.homefeed--magnific {
  padding-top: clamp(18px, 2.6vw, 34px);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(18px, 2vw, 28px);
  align-items: start;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter {
  top: 88px;
  max-height: calc(100svh - 112px);
  padding: 18px;
  border-color: var(--ok-border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 0, rgba(122, 183, 255, .12), transparent 40%),
    linear-gradient(180deg, rgba(23, 29, 38, .98), rgba(11, 15, 22, .98));
  color: var(--ok-ink-soft);
  box-shadow: none;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter__head {
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 14px;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter__head span,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-label {
  color: var(--ok-sky);
  font-size: 12px;
  font-weight: 800;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter__head strong {
  color: var(--ok-ink);
  font-size: 21px;
  line-height: 1.08;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter__actions {
  align-self: start;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter__actions a {
  min-height: 36px;
  padding: 7px 13px;
  font-size: 12px;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter__actions button[data-ok-stock-filter-close] {
  display: none;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-group {
  gap: 7px;
  padding: 14px 0;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio {
  position: relative;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--ok-ink-soft);
  opacity: 1;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio span {
  min-width: 0;
  color: currentColor;
  font-size: 13px;
  font-weight: 740;
  line-height: 1.2;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio i,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-app-icon {
  width: 18px;
  min-width: 18px;
  display: inline-grid;
  place-items: center;
  color: var(--ok-sky);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio.is-disabled {
  color: var(--ok-ink-muted);
  opacity: .9;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio:has(input:checked) {
  border-color: var(--ok-border-blue);
  background: rgba(122, 183, 255, .13);
  color: var(--ok-ink);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner {
  min-height: clamp(230px, 22vw, 315px);
  width: 100%;
  max-width: none;
  margin-bottom: clamp(16px, 2vw, 24px);
  padding: clamp(28px, 4vw, 46px);
  border-color: var(--ok-border);
  background:
    radial-gradient(circle at 14% 8%, rgba(122, 183, 255, .14), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(182, 156, 255, .12), transparent 36%),
    linear-gradient(180deg, rgba(23, 29, 38, .98), rgba(11, 15, 22, .98));
  box-shadow: none;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner::before {
  display: none;
  content: none;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner__content {
  padding: 0;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner .ok-stock-banner__content h1 {
  max-width: 13ch;
  margin-inline: auto;
  color: var(--ok-ink);
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
  -webkit-text-fill-color: currentColor;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner .ok-stock-banner__content p {
  max-width: 58ch;
  margin-top: 14px;
  color: var(--ok-ink-muted);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.45;
  -webkit-text-fill-color: currentColor;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner__content > span {
  min-height: 28px;
  margin-bottom: 12px;
  padding: 0 11px;
  font-size: 11px;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-results__bar {
  padding: 16px 18px;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-results__bar h1,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-results__bar h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.06;
}

body > #profileMenu.profile-dropdown {
  position: fixed;
  top: calc(72px + env(safe-area-inset-top));
  right: max(22px, env(safe-area-inset-right));
  left: auto;
  z-index: 130020;
  width: min(380px, calc(100vw - 28px));
  max-width: none;
  max-height: min(760px, calc(100dvh - 88px));
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(218, 220, 224, .92);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0, rgba(168, 199, 250, .28), transparent 36%),
    linear-gradient(180deg, var(--ok-surface) 0%, var(--ok-page-bg-soft) 100%);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
  overscroll-behavior: contain;
}

body > #profileMenu.profile-dropdown[hidden] {
  display: none;
}

body.okb-profile-open > .okb-menu-backdrop {
  display: none;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

@media (max-width: 760px) {
  body.okb-profile-open {
    overflow: auto;
  }

  body.okb-profile-open .site-header {
    z-index: 10100;
    pointer-events: auto;
  }

  body > #profileMenu.profile-dropdown {
    inset: 0;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body > #profileMenu.profile-dropdown[hidden] {
    display: none;
  }

  body > #profileMenu.profile-dropdown::before {
    content: "";
    position: sticky;
    top: 0;
    z-index: 2;
    display: block;
    width: 42px;
    height: 5px;
    margin: calc(10px + env(safe-area-inset-top)) auto 4px;
    border-radius: 999px;
    background: rgba(95, 99, 104, .28);
  }

  body > #profileMenu.profile-dropdown .profile-login-box,
  body > #profileMenu.profile-dropdown .profile-head {
    margin-top: 6px;
  }
}

/* Profile menu must not dim, blur, or replace the page background. */
body.okb-profile-open > .okb-menu-backdrop,
body.okb-profile-open .okb-menu-backdrop {
  display: none;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  filter: none;
}

body.okb-profile-open,
body.okb-profile-open .site-header,
body.okb-profile-open main,
body.okb-profile-open #main-content,
body.okb-profile-open .site,
body.okb-profile-open .okb-gemini-site {
  filter: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Homefeed mobile repair: this file is loaded last, including the footer cascade. */
@media (max-width: 760px) {
  body.page-template-page-feed .homefeed,
  body.page-template-page-feed .ok-stock-layout,
  body.page-template-page-feed .ok-stock-results,
  body.page-template-page-feed .ok-stock-banner,
  body.page-template-page-feed .ok-stock-results__bar,
  body.page-template-page-feed .ok-stock-category-grid,
  body.page-template-page-feed .ok-stock-grid {
    max-width: 100%;
    overflow-x: clip;
  }

  body.page-template-page-feed .homefeed {
    width: 100%;
    padding: 18px 12px 64px;
  }

  body.page-template-page-feed .ok-stock-layout {
    display: block;
    width: 100%;
    min-width: 0;
  }

  body.page-template-page-feed .ok-stock-results {
    width: 100%;
    min-width: 0;
  }

  body.page-template-page-feed .ok-stock-banner {
    width: 100%;
    min-width: 0;
    display: block;
    padding: 32px 18px;
    border-radius: 22px;
  }

  body.page-template-page-feed .ok-stock-banner__art {
    display: none;
  }

  body.page-template-page-feed .ok-stock-banner__content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    text-align: center;
  }

  body.page-template-page-feed .ok-stock-banner__content h1 {
    width: auto;
    max-width: 15ch;
    margin-inline: auto;
    font-size: clamp(25px, 7vw, 30px);
    line-height: 1.12;
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  body.page-template-page-feed .ok-stock-banner__content p {
    width: auto;
    max-width: 30ch;
    margin-inline: auto;
    font-size: 15px;
    line-height: 1.55;
  }

  body.page-template-page-feed .ok-stock-results__bar {
    display: grid;
    gap: 10px;
  }

  body.page-template-page-feed .ok-stock-results__bar h1,
  body.page-template-page-feed .ok-stock-results__bar h2 {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.12;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body.page-template-page-feed .ok-stock-category-grid,
  body.page-template-page-feed .ok-stock-grid {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.page-template-page-feed .ok-stock-category-card {
    width: 100%;
    min-width: 0;
  }

  body.page-template-page-feed .ok-stock-category-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    align-content: start;
    gap: 12px;
    padding: 8px;
  }

  body.page-template-page-feed .ok-stock-category-card__media {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  body.page-template-page-feed .ok-stock-category-card__media {
    width: 92px;
    height: 92px;
  }

  body.page-template-page-feed .ok-stock-category-card strong,
  body.page-template-page-feed .ok-stock-category-card small {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  body.page-template-page-feed .ok-stock-category-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  body.page-template-page-feed .ok-stock-category-card__media {
    width: 78px;
    height: 78px;
  }
}

@media (max-width: 760px) {
  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner .ok-stock-banner__content h1 {
    font-size: clamp(25px, 7vw, 30px);
    line-height: 1.12;
    letter-spacing: 0;
    max-width: 15ch;
    margin-inline: auto;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--mobile-cat-cols-2 .ok-stock-category-grid,
  body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--mobile-post-cols-2 .ok-stock-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

body.page-template-page-feed .homefeed img[src*="via.placeholder.com"] {
  display: none;
}

/* Compact account popover. Applies after legacy profile menu rules. */
body > #profileMenu.profile-dropdown {
  top: calc(64px + env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  width: min(320px, calc(100vw - 24px));
  max-height: min(620px, calc(100dvh - 78px));
  padding: 10px;
  border-radius: 16px;
  background: var(--ok-surface);
  box-shadow: 0 18px 46px rgba(15, 23, 42, .16);
}

body > #profileMenu.profile-dropdown .profile-login-box,
body > #profileMenu.profile-dropdown .profile-head,
body > #profileMenu.profile-dropdown .profile-credit-box,
body > #profileMenu.profile-dropdown .profile-menu-actions {
  width: 100%;
  margin: 0;
  border-radius: 12px;
  box-shadow: none;
}

body > #profileMenu.profile-dropdown .profile-login-box {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(218, 220, 224, .82);
  background: var(--ok-surface);
  text-align: center;
}

body > #profileMenu.profile-dropdown .profile-login-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 12px;
  background: var(--ok-blue-soft);
  color: var(--ok-blue-ui);
  font-size: 18px;
}

body > #profileMenu.profile-dropdown .profile-login-box h2 {
  margin: 2px 0 0;
  font-size: 18px;
  line-height: 1.18;
}

body > #profileMenu.profile-dropdown .profile-login-box p {
  max-width: 26ch;
  margin: 0;
  color: var(--ok-ink-muted);
  font-size: 13px;
  line-height: 1.45;
}

body > #profileMenu.profile-dropdown .profile-login-btn,
body > #profileMenu.profile-dropdown .profile-login-help {
  width: 100%;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 2px 0 0;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

body > #profileMenu.profile-dropdown .profile-login-help {
  min-height: 34px;
  color: var(--ok-blue-ui);
  background: transparent;
}

body > #profileMenu.profile-dropdown .profile-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(218, 220, 224, .82);
  background: var(--ok-surface);
}

body > #profileMenu.profile-dropdown .profile-head img,
body > #profileMenu.profile-dropdown .profile-head .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

body > #profileMenu.profile-dropdown .profile-head span {
  display: block;
  margin: 0;
  color: #6b7280;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

body > #profileMenu.profile-dropdown .profile-head strong,
body > #profileMenu.profile-dropdown .profile-head small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body > #profileMenu.profile-dropdown .profile-head strong {
  color: var(--ok-ink);
  font-size: 15px;
  line-height: 1.25;
}

body > #profileMenu.profile-dropdown .profile-head small {
  color: var(--ok-ink-muted);
  font-size: 12px;
  line-height: 1.3;
}

body > #profileMenu.profile-dropdown .profile-credit-box {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid rgba(218, 220, 224, .82);
  background: var(--ok-page-bg-soft);
}

body > #profileMenu.profile-dropdown .profile-support-pin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  background: var(--ok-surface);
}

body > #profileMenu.profile-dropdown .profile-support-pin span,
body > #profileMenu.profile-dropdown .profile-credit-main span,
body > #profileMenu.profile-dropdown .profile-credit-grid span {
  color: var(--ok-ink-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

body > #profileMenu.profile-dropdown .profile-support-pin strong {
  display: block;
  color: var(--ok-ink);
  font-size: 14px;
  line-height: 1.2;
}

body > #profileMenu.profile-dropdown .profile-support-pin button {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 11px;
}

body > #profileMenu.profile-dropdown .profile-credit-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--ok-surface);
}

body > #profileMenu.profile-dropdown .profile-credit-main strong {
  color: var(--ok-blue-ui);
  font-size: 24px;
  line-height: 1;
}

body > #profileMenu.profile-dropdown .profile-credit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

body > #profileMenu.profile-dropdown .profile-credit-grid > span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 6px 4px;
  border: 1px solid rgba(218, 220, 224, .82);
  border-radius: 10px;
  background: var(--ok-surface);
  text-align: center;
}

body > #profileMenu.profile-dropdown .profile-credit-grid b {
  display: block;
  color: var(--ok-ink);
  font-size: 14px;
  line-height: 1.1;
}

body > #profileMenu.profile-dropdown .profile-menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}

body > #profileMenu.profile-dropdown .profile-menu-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid rgba(218, 220, 224, .82);
  border-radius: 10px;
  background: var(--ok-surface);
  color: var(--ok-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

body > #profileMenu.profile-dropdown .profile-menu-action i {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 18px;
  color: var(--ok-blue-ui);
  font-size: 13px;
}

body > #profileMenu.profile-dropdown .profile-menu-action--logout {
  grid-column: 1 / -1;
  justify-content: center;
  color: #b3261e;
}

body > #profileMenu.profile-dropdown .profile-menu-action--logout i {
  color: #b3261e;
}

@media (max-width: 760px) {
  body > #profileMenu.profile-dropdown {
    top: auto;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 8px;
    inset: auto 8px calc(8px + env(safe-area-inset-bottom)) 8px;
    width: auto;
    height: auto;
    max-height: min(86dvh, 620px);
    display: block;
    padding: 10px;
    border: 1px solid rgba(218, 220, 224, .92);
    border-radius: 18px;
  }

  body > #profileMenu.profile-dropdown[hidden] {
    display: none;
  }

  body > #profileMenu.profile-dropdown::before {
    position: static;
    width: 38px;
    height: 4px;
    margin: 0 auto 10px;
  }

  body > #profileMenu.profile-dropdown .profile-menu-actions {
    grid-template-columns: 1fr;
  }
}

/* Premium single-post image preview carousel */
body .ok-product-page {
  --ok-preview-stage-height: clamp(380px, 62vh, 760px);
  --ok-preview-stage-mobile-height: clamp(260px, 72vw, 520px);
}

body .ok-product-page .ok-product-preview-card {
  border-color: rgba(218, 220, 224, .82);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 48px rgba(60, 64, 67, .1);
}

body .ok-product-page .ok-product-preview-box.is-image {
  position: relative;
  width: 100%;
  height: var(--ok-preview-stage-height);
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-color: rgba(218, 220, 224, .86);
  border-radius: 8px;
  background: var(--ok-surface);
}

body .ok-product-page .ok-product-preview-box.is-image.is-png {
  background: var(--ok-surface);
  background-size: auto;
  background-position: 0 0;
}

body .ok-product-page .ok-product-preview-box.is-image > img,
body .ok-product-page .ok-product-preview-box.is-image > picture,
body .ok-product-page .ok-product-preview-box.is-image > picture img {
  width: auto;
  height: auto;
  max-width: calc(100% - 28px);
  max-height: calc(100% - 28px);
  object-fit: contain;
  object-position: center;
  margin: auto;
  border-radius: 6px;
}

body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel,
body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-track {
  width: 100%;
  height: 100%;
  min-height: 0;
}

body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-track {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-track::-webkit-scrollbar {
  display: none;
}

body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-slide {
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(18px, 2.4vw, 34px);
  scroll-snap-align: center;
}

body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-slide img {
  width: auto;
  height: auto;
  max-width: calc(100% - clamp(36px, 4.8vw, 68px));
  max-height: calc(100% - clamp(36px, 4.8vw, 68px));
  object-fit: contain;
  object-position: center;
  margin: auto;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, .08);
}

body .ok-product-page .ok-preview-carousel-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(218, 220, 224, .9);
  background: rgba(255, 255, 255, .92);
  color: var(--ok-ink);
  box-shadow: 0 14px 34px rgba(17, 24, 39, .16);
  backdrop-filter: blur(14px);
}

body .ok-product-page .ok-preview-carousel-arrow--prev {
  left: 14px;
}

body .ok-product-page .ok-preview-carousel-arrow--next {
  right: 14px;
}

body .ok-product-page .ok-preview-carousel-dots {
  left: 50%;
  right: auto;
  bottom: 14px;
  max-width: min(360px, calc(100% - 108px));
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 7px 9px;
  border: 1px solid rgba(218, 220, 224, .86);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 34px rgba(17, 24, 39, .14);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
  scrollbar-width: none;
}

body .ok-product-page .ok-preview-carousel-dots::-webkit-scrollbar {
  display: none;
}

body .ok-product-page .ok-preview-carousel-dots button {
  appearance: none;
  width: 8px;
  min-width: 8px;
  height: 8px;
  min-height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(95, 99, 104, .32);
  box-shadow: none;
  flex: 0 0 8px;
  line-height: 0;
  transition: background-color .2s ease, opacity .2s ease, transform .2s ease;
}

body .ok-product-page .ok-preview-carousel-dots button[aria-current="true"] {
  width: 8px;
  min-width: 8px;
  flex-basis: 8px;
  background: var(--ok-blue-ui);
  transform: scale(1.35);
}

@media (max-width: 760px) {
  body .ok-product-page .ok-product-shell {
    width: calc(100% - 12px);
  }

  body .ok-product-page .ok-product-preview-card:not(.is-video-preview) {
    padding: 8px;
    border-radius: 8px;
  }

  body .ok-product-page .ok-product-preview-box.is-image {
    height: var(--ok-preview-stage-mobile-height);
    border-radius: 8px;
  }

  body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-slide {
    padding: 14px;
  }

  body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-slide img {
    max-width: calc(100% - 28px);
    max-height: calc(100% - 28px);
  }

  body .ok-product-page .ok-preview-carousel-arrow {
    width: 36px;
    height: 36px;
  }

  body .ok-product-page .ok-preview-carousel-arrow--prev {
    left: 8px;
  }

  body .ok-product-page .ok-preview-carousel-arrow--next {
    right: 8px;
  }

  body .ok-product-page .ok-preview-carousel-dots {
    bottom: 8px;
    max-width: calc(100% - 92px);
    min-height: 26px;
    gap: 6px;
    padding: 6px 8px;
  }

  body .ok-product-page .ok-preview-carousel-dots button {
    width: 7px;
    min-width: 7px;
    height: 7px;
    min-height: 7px;
    flex-basis: 7px;
  }

  body .ok-product-page .ok-preview-carousel-dots button[aria-current="true"] {
    width: 7px;
    min-width: 7px;
    flex-basis: 7px;
  }
}

@media (max-width: 420px) {
  body .ok-product-page {
    --ok-preview-stage-mobile-height: clamp(240px, 82vw, 390px);
  }

  body .ok-product-page .ok-product-preview-card:not(.is-video-preview) {
    padding: 6px;
  }
}

/* Final contain-first preview sizing: fill the stage, never crop the image content. */
body .ok-product-page .ok-product-preview-box.is-image > img,
body .ok-product-page .ok-product-preview-box.is-image > picture {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  box-sizing: border-box;
  display: block;
  margin: 0;
  padding: clamp(12px, 1.6vw, 22px);
}

body .ok-product-page .ok-product-preview-box.is-image > img,
body .ok-product-page .ok-product-preview-box.is-image > picture > img {
  object-fit: contain;
  object-position: center center;
}

body .ok-product-page .ok-product-preview-box.is-image > picture > img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  box-sizing: border-box;
  display: block;
  margin: 0;
}

body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-slide {
  padding: 0;
}

body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  box-sizing: border-box;
  display: block;
  margin: 0;
  padding: clamp(12px, 1.6vw, 22px);
  object-fit: contain;
  object-position: center center;
}

body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-dots {
  bottom: 10px;
}

@media (max-width: 760px) {
  body .ok-product-page .ok-product-preview-box.is-image > img,
  body .ok-product-page .ok-product-preview-box.is-image > picture,
  body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-slide img {
    padding: 8px;
  }
}

/* Definitive carousel fitting frame. Keeps every preview centered and fully visible. */
body .ok-product-page .ok-product-preview-box.has-preview-slider {
  height: var(--ok-preview-stage-height);
  min-height: 0;
  display: block;
}

body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel,
body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-track,
body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-slide,
body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-media {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 0;
  box-sizing: border-box;
}

body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-track {
  display: flex;
  align-items: stretch;
}

body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-slide {
  flex: 0 0 100%;
  display: block;
  padding: 0;
  overflow: hidden;
}

body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1.4vw, 18px);
  background: var(--ok-surface);
}

body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  display: block;
  flex: 0 1 auto;
  padding: 0;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  transform: none;
}

body .ok-product-page .ok-product-preview-box.is-image:not(.has-preview-slider) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1.4vw, 18px);
}

body .ok-product-page .ok-product-preview-box.is-image:not(.has-preview-slider) > img,
body .ok-product-page .ok-product-preview-box.is-image:not(.has-preview-slider) > picture,
body .ok-product-page .ok-product-preview-box.is-image:not(.has-preview-slider) > picture > img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  margin: auto;
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 760px) {
  body .ok-product-page .ok-product-preview-box.has-preview-slider {
    height: var(--ok-preview-stage-mobile-height);
  }

  body .ok-product-page .ok-product-preview-box.has-preview-slider .ok-preview-carousel-media,
  body .ok-product-page .ok-product-preview-box.is-image:not(.has-preview-slider) {
    padding: 8px;
  }
}

/* Homefeed filter premium compact finish. */
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter {
  width: 260px;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(26, 32, 42, .96), rgba(9, 13, 19, .98)),
    var(--ok-surface);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter form {
  display: grid;
  gap: 0;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--ok-border-soft);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter__head span {
  margin-bottom: 4px;
  font-size: 11px;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter__head strong {
  max-width: 10ch;
  font-size: 20px;
  line-height: 1;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter__actions a {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(122, 183, 255, .08);
  color: var(--ok-sky);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-group {
  gap: 5px;
  padding: 11px 0 12px;
  border-top: 0;
  border-bottom: 1px solid var(--ok-border-soft);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-group:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-label {
  margin-bottom: 5px;
  font-size: 11px;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio {
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ok-ink-muted);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio span {
  gap: 9px;
  font-size: 13px;
  font-weight: 720;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio i,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-app-icon {
  color: var(--ok-sky);
  opacity: .95;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio:hover {
  border-color: rgba(122, 183, 255, .24);
  background: rgba(122, 183, 255, .07);
  color: var(--ok-ink-soft);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio:has(input:checked) {
  border-color: rgba(122, 183, 255, .34);
  background: rgba(122, 183, 255, .12);
  color: var(--ok-ink);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio:has(input:checked)::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--ok-blue-ui);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio.is-disabled {
  color: var(--ok-ink-muted);
  opacity: .76;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio.is-disabled:hover {
  border-color: transparent;
  background: transparent;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter::-webkit-scrollbar {
  width: 6px;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter::-webkit-scrollbar-thumb {
  background: rgba(122, 183, 255, .38);
}

/* Homefeed filter definitive list rows: remove legacy inner pills. */
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-group::before,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-group::after {
  display: none;
  content: none;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter {
  width: 248px;
  padding: 14px;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-layout {
  grid-template-columns: 248px minmax(0, 1fr);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio {
  min-height: 32px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 6px 8px 6px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio::before {
  content: "";
  width: 3px;
  height: 18px;
  margin-right: 8px;
  border-radius: 999px;
  background: transparent;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio::after {
  display: none;
  content: none;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio span,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio input:checked + span,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio:hover span,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio.is-disabled span,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio.is-disabled:hover span {
  min-height: 0;
  width: auto;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.2;
  transform: none;
  box-shadow: none;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio:hover {
  background: rgba(122, 183, 255, .07);
  color: var(--ok-ink-soft);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio:has(input:checked) {
  background: rgba(122, 183, 255, .1);
  color: var(--ok-ink);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio:has(input:checked)::before {
  background: var(--ok-blue-ui);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio i,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-radio span i,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-app-icon {
  width: 16px;
  min-width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  color: var(--ok-sky);
  font-size: 13px;
  line-height: 1;
}

/* Homefeed should go straight from hero/filter state to content grid. */
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-results__bar {
  display: none;
}

/* Desktop filter belongs to the page, not an internal scroll panel. */
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter {
  max-height: none;
  overflow: visible;
  scrollbar-width: none;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Final dark header system. */
body .site-header {
  border-bottom: 0;
  background: #12161d;
  color: var(--ok-ink-soft);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.admin-bar .site-header {
  top: 32px;
}

body .site-header .header-inner {
  min-height: 76px;
  background: transparent;
}

body .site-header :where(a, button, span, strong, small, i, input) {
  color: inherit;
}

body .site-header .site-logo {
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
}

body .site-header .site-logo:hover {
  border-color: var(--ok-border-blue);
  background: rgba(122, 183, 255, .08);
}

body .site-header .header-search {
  border: 1px solid var(--ok-border);
  border-radius: 999px;
  background: var(--ok-surface-subtle);
  color: var(--ok-ink-soft);
  box-shadow: none;
}

body .site-header .header-search:focus-within {
  border-color: var(--ok-border-blue);
  background: var(--ok-surface);
  box-shadow: 0 0 0 3px rgba(122, 183, 255, .12);
}

body .site-header .header-search-field,
body .site-header .header-search-field input[type="search"] {
  color: var(--ok-ink);
  background: transparent;
}

body .site-header .header-search-field input[type="search"]::placeholder {
  color: var(--ok-ink-muted);
}

body .site-header .header-search .search-icon,
body .site-header .asset-category-current > i,
body .site-header .asset-category-chevron {
  color: var(--ok-sky);
}

body .site-header .asset-category-button {
  border: 1px solid var(--ok-border-soft);
  border-radius: 999px;
  background: rgba(9, 11, 15, .78);
  color: var(--ok-ink);
  box-shadow: none;
}

body .site-header .asset-category-button:hover,
body .site-header .asset-category-button[aria-expanded="true"],
body .site-header .okb-nav-link:hover,
body .site-header .okb-nav-dropdown.is-open > .okb-nav-link,
body .site-header .okb-nav-dropdown-toggle[aria-expanded="true"] {
  border-color: var(--ok-border-blue);
  background: rgba(122, 183, 255, .12);
  color: var(--ok-sky);
}

body .site-header .okb-nav-link {
  color: var(--ok-ink-muted);
}

body .site-header .okb-nav-link i {
  color: var(--ok-sky);
}

body .site-header .okb-header-pricing {
  gap: 8px;
  border: 1px solid rgba(122, 183, 255, .5);
  background: var(--ok-blue-ui);
  color: var(--ok-ink-inverse);
  box-shadow: none;
}

body .site-header .okb-header-pricing i,
body .site-header .okb-header-pricing span {
  color: currentColor;
}

body .site-header .okb-header-pricing:hover,
body .site-header .okb-header-pricing:focus-visible {
  border-color: var(--ok-violet);
  background: var(--ok-violet);
  background-color: var(--ok-violet);
  background-image: none;
  color: var(--ok-page-bg);
  outline: 0;
}

body .site-header .profile-btn,
body .site-header .okb-mobile-menu-toggle,
body .site-header .okb-mobile-search-toggle {
  border: 1px solid var(--ok-border);
  background: var(--ok-surface-subtle);
  color: var(--ok-sky);
  box-shadow: none;
}

body .site-header .profile-btn:hover,
body .site-header .okb-mobile-menu-toggle:hover,
body .site-header .okb-mobile-search-toggle:hover,
body .site-header .profile-btn[aria-expanded="true"] {
  border-color: var(--ok-border-blue);
  background: rgba(122, 183, 255, .12);
}

body .site-header .profile-avatar,
body .site-header .profile-btn .avatar {
  border: 1px solid var(--ok-border-blue);
  background: var(--ok-surface);
}

body .site-header .asset-category-menu,
body .site-header .header-search-dropdown,
body .site-header .okb-nav-mega,
body > #profileMenu.profile-dropdown {
  border-color: var(--ok-border);
  background: var(--ok-surface);
  color: var(--ok-ink-soft);
  box-shadow: none;
}

body .site-header .asset-category-option,
body .site-header .okb-search-chips button,
body .site-header .okb-search-category-grid a,
body .site-header .okb-nav-category-grid a,
body .site-header .okb-nav-mega-links a,
body > #profileMenu.profile-dropdown :where(.profile-login-box, .profile-head, .profile-credit-box, .profile-menu-action, .profile-support-pin, .profile-credit-main, .profile-credit-grid > span) {
  border-color: var(--ok-border-soft);
  background: var(--ok-surface-soft);
  color: var(--ok-ink-soft);
  box-shadow: none;
}

body .site-header .asset-category-option:hover,
body .site-header .asset-category-option.is-active,
body .site-header .okb-search-chips button:hover,
body .site-header .okb-search-category-grid a:hover,
body .site-header .okb-nav-category-grid a:hover,
body .site-header .okb-nav-mega-links a:hover,
body > #profileMenu.profile-dropdown .profile-menu-action:hover {
  border-color: var(--ok-border-blue);
  background: rgba(122, 183, 255, .12);
  color: var(--ok-sky);
}

body .site-header :where(.okb-search-suggest-head span, .okb-search-section-head a, .okb-nav-mega-intro > span),
body > #profileMenu.profile-dropdown :where(.profile-login-icon, .profile-credit-main strong, .profile-menu-action i) {
  color: var(--ok-sky);
}

body .site-header :where(.okb-search-suggest-head strong, .okb-search-suggest-section h2, .okb-search-category-grid strong, .okb-nav-mega-intro > strong, .okb-nav-category-grid strong),
body > #profileMenu.profile-dropdown :where(h2, strong, b) {
  color: var(--ok-ink);
}

body .site-header :where(.okb-search-category-grid small, .okb-nav-category-grid small, .okb-nav-mega-intro p),
body > #profileMenu.profile-dropdown :where(p, small, span) {
  color: var(--ok-ink-muted);
}

@media (max-width: 760px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  body .site-header .header-inner {
    min-height: 66px;
  }

  body.okb-search-open .site-header {
    background: var(--ok-page-bg);
  }
}

/* Final compact dark profile popover. */
body > #profileMenu.profile-dropdown {
  top: calc(68px + env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  width: min(300px, calc(100vw - 24px));
  max-height: min(560px, calc(100dvh - 84px));
  display: grid;
  gap: 8px;
  padding: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--ok-border);
  border-radius: 16px;
  background: var(--ok-surface);
  color: var(--ok-ink-soft);
  box-shadow: none;
  scrollbar-width: none;
}

body > #profileMenu.profile-dropdown[hidden] {
  display: none;
}

body > #profileMenu.profile-dropdown::-webkit-scrollbar {
  display: none;
}

body > #profileMenu.profile-dropdown :where(.profile-login-box, .profile-head, .profile-credit-box, .profile-menu-actions) {
  width: 100%;
  margin: 0;
  border: 1px solid var(--ok-border-soft);
  border-radius: 12px;
  background: var(--ok-surface-subtle);
  box-shadow: none;
}

body > #profileMenu.profile-dropdown .profile-head {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 9px;
  padding: 9px;
  align-items: center;
}

body > #profileMenu.profile-dropdown .profile-head img,
body > #profileMenu.profile-dropdown .profile-head .avatar {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ok-border-blue);
}

body > #profileMenu.profile-dropdown .profile-head span {
  color: var(--ok-sky);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .04em;
}

body > #profileMenu.profile-dropdown .profile-head strong {
  color: var(--ok-ink);
  font-size: 14px;
  line-height: 1.2;
}

body > #profileMenu.profile-dropdown .profile-head small {
  color: var(--ok-ink-muted);
  font-size: 12px;
  line-height: 1.25;
}

body > #profileMenu.profile-dropdown .profile-credit-box {
  gap: 8px;
  padding: 9px;
  background: var(--ok-surface-subtle);
}

body > #profileMenu.profile-dropdown .profile-support-pin,
body > #profileMenu.profile-dropdown .profile-credit-main {
  min-height: 42px;
  padding: 8px 9px;
  border: 1px solid var(--ok-border-soft);
  border-radius: 10px;
  background: var(--ok-surface);
}

body > #profileMenu.profile-dropdown .profile-support-pin span,
body > #profileMenu.profile-dropdown .profile-credit-main span,
body > #profileMenu.profile-dropdown .profile-credit-grid span {
  color: var(--ok-ink-muted);
  font-size: 10px;
  font-weight: 800;
}

body > #profileMenu.profile-dropdown .profile-support-pin strong {
  color: var(--ok-ink);
  font-size: 13px;
  letter-spacing: .12em;
}

body > #profileMenu.profile-dropdown .profile-support-pin button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--ok-border-blue);
  border-radius: 999px;
  background: rgba(122, 183, 255, .14);
  color: var(--ok-sky);
  font-size: 11px;
  font-weight: 820;
}

body > #profileMenu.profile-dropdown .profile-credit-main strong {
  color: var(--ok-sky);
  font-size: 24px;
  line-height: 1;
}

body > #profileMenu.profile-dropdown .profile-credit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

body > #profileMenu.profile-dropdown .profile-credit-grid > span {
  min-height: 44px;
  padding: 6px 3px;
  border: 1px solid var(--ok-border-soft);
  border-radius: 10px;
  background: var(--ok-surface);
  text-align: center;
}

body > #profileMenu.profile-dropdown .profile-credit-grid b {
  color: var(--ok-ink);
  font-size: 13px;
  line-height: 1.1;
}

body > #profileMenu.profile-dropdown .profile-menu-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
}

body > #profileMenu.profile-dropdown .profile-menu-action {
  min-height: 38px;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 9px;
  border: 1px solid var(--ok-border-soft);
  border-radius: 10px;
  background: var(--ok-surface-subtle);
  color: var(--ok-ink-soft);
  font-size: 12px;
  font-weight: 780;
}

body > #profileMenu.profile-dropdown .profile-menu-action i {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 8px;
  background: rgba(122, 183, 255, .12);
  color: var(--ok-sky);
  font-size: 12px;
}

body > #profileMenu.profile-dropdown .profile-menu-action:hover {
  border-color: var(--ok-border-blue);
  background: rgba(122, 183, 255, .1);
  color: var(--ok-ink);
}

body > #profileMenu.profile-dropdown .profile-menu-action--logout {
  grid-column: 1 / -1;
  min-height: 42px;
  justify-content: center;
  border-color: rgba(122, 183, 255, .38);
  border-radius: 999px;
  background: var(--ok-blue-ui);
  color: var(--ok-ink-inverse);
  font-size: 13px;
}

body > #profileMenu.profile-dropdown .profile-menu-action--logout i {
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: transparent;
  color: currentColor;
}

@media (max-width: 760px) {
  body > #profileMenu.profile-dropdown {
    right: 10px;
    bottom: auto;
    left: auto;
    width: min(300px, calc(100vw - 20px));
    height: auto;
    max-height: min(560px, calc(100dvh - 80px));
    border-radius: 16px;
  }
}

/* Marketplace-style account menu: compact, readable, and dark-token aligned. */
body > #profileMenu.profile-dropdown {
  top: calc(72px + env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  width: min(326px, calc(100vw - 24px));
  max-height: min(680px, calc(100dvh - 92px));
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--ok-border);
  border-radius: 15px;
  background: var(--ok-surface);
  color: var(--ok-ink-soft);
  box-shadow: none;
}

body > #profileMenu.profile-dropdown .profile-head {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--ok-border-soft);
  border-radius: 0;
  background: var(--ok-surface);
}

body > #profileMenu.profile-dropdown .profile-head img,
body > #profileMenu.profile-dropdown .profile-head .avatar {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ok-border-blue);
  background: var(--ok-surface-subtle);
}

body > #profileMenu.profile-dropdown .profile-head span {
  margin: 0 0 2px;
  color: var(--ok-sky);
  font-size: 10px;
  font-weight: 840;
  letter-spacing: .055em;
  text-transform: uppercase;
}

body > #profileMenu.profile-dropdown .profile-head strong,
body > #profileMenu.profile-dropdown .profile-head small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body > #profileMenu.profile-dropdown .profile-head strong {
  color: var(--ok-ink);
  font-size: 14px;
  font-weight: 780;
  line-height: 1.2;
}

body > #profileMenu.profile-dropdown .profile-head small {
  margin-top: 2px;
  color: var(--ok-ink-muted);
  font-size: 12px;
  line-height: 1.25;
}

body > #profileMenu.profile-dropdown .profile-credit-box {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--ok-border-soft);
  border-radius: 0;
  background: var(--ok-surface);
}

body > #profileMenu.profile-dropdown .profile-support-pin,
body > #profileMenu.profile-dropdown .profile-credit-main {
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid var(--ok-border-soft);
  border-radius: 10px;
  background: var(--ok-surface-subtle);
}

body > #profileMenu.profile-dropdown .profile-support-pin span,
body > #profileMenu.profile-dropdown .profile-credit-main span,
body > #profileMenu.profile-dropdown .profile-credit-grid span {
  color: var(--ok-ink-muted);
  font-size: 11px;
  font-weight: 720;
  line-height: 1.15;
}

body > #profileMenu.profile-dropdown .profile-support-pin strong {
  color: var(--ok-ink);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .12em;
}

body > #profileMenu.profile-dropdown .profile-support-pin button {
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid var(--ok-border-blue);
  border-radius: 999px;
  background: var(--ok-blue-ui);
  color: var(--ok-ink-inverse);
  font-size: 11px;
  font-weight: 820;
}

body > #profileMenu.profile-dropdown .profile-credit-main strong {
  color: var(--ok-sky);
  font-size: 18px;
  font-weight: 840;
  line-height: 1;
}

body > #profileMenu.profile-dropdown .profile-credit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

body > #profileMenu.profile-dropdown .profile-credit-grid > span {
  min-height: 36px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 5px 4px;
  border: 1px solid var(--ok-border-soft);
  border-radius: 9px;
  background: var(--ok-surface-subtle);
}

body > #profileMenu.profile-dropdown .profile-credit-grid b {
  color: var(--ok-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

body > #profileMenu.profile-dropdown .profile-menu-actions {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: var(--ok-surface);
}

body > #profileMenu.profile-dropdown .profile-menu-action {
  min-height: 42px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  justify-content: stretch;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ok-ink-soft);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}

body > #profileMenu.profile-dropdown .profile-menu-action i {
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: var(--ok-ink-muted);
  font-size: 14px;
}

body > #profileMenu.profile-dropdown .profile-menu-action:hover {
  border-color: transparent;
  background: var(--ok-surface-subtle);
  color: var(--ok-ink);
}

body > #profileMenu.profile-dropdown .profile-menu-action:hover i {
  color: var(--ok-sky);
}

body > #profileMenu.profile-dropdown .profile-menu-action--logout {
  order: 20;
  min-height: 46px;
  grid-template-columns: 22px minmax(0, 1fr);
  justify-items: start;
  justify-content: stretch;
  margin: 10px 0 -10px;
  padding: 0 16px;
  border: 0;
  border-top: 1px solid var(--ok-border-soft);
  border-radius: 0;
  background: transparent;
  color: var(--ok-ink-soft);
  font-size: 13px;
}

body > #profileMenu.profile-dropdown .profile-menu-action--logout i {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: transparent;
  color: var(--ok-ink-muted);
}

body > #profileMenu.profile-dropdown .profile-menu-action--logout:hover {
  background: rgba(122, 183, 255, .08);
  color: var(--ok-ink);
}

@media (max-width: 760px) {
  body > #profileMenu.profile-dropdown {
    top: calc(66px + env(safe-area-inset-top));
    right: 10px;
    left: auto;
    width: min(326px, calc(100vw - 20px));
    max-height: min(680px, calc(100dvh - 82px));
  }
}

/* Header-scoped profile dropdown. The menu lives inside .site-header, not as a body child. */
body .site-header #profileMenu.profile-dropdown {
  top: calc(100% + 12px);
  right: 0;
  left: auto;
  width: min(326px, calc(100vw - 24px));
  max-height: min(680px, calc(100dvh - 92px));
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--ok-border);
  border-radius: 15px;
  background: var(--ok-surface);
  color: var(--ok-ink-soft);
  box-shadow: none;
}

body .site-header #profileMenu.profile-dropdown[hidden] {
  display: none;
}

body .site-header #profileMenu.profile-dropdown::before {
  display: none;
  content: none;
}

body .site-header #profileMenu.profile-dropdown .profile-head {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--ok-border-soft);
  border-radius: 0;
  background: var(--ok-surface);
  box-shadow: none;
}

body .site-header #profileMenu.profile-dropdown .profile-head img,
body .site-header #profileMenu.profile-dropdown .profile-head .avatar {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ok-border-blue);
  background: var(--ok-surface-subtle);
}

body .site-header #profileMenu.profile-dropdown .profile-head span {
  margin: 0 0 2px;
  color: var(--ok-sky);
  font-size: 10px;
  font-weight: 840;
  letter-spacing: .055em;
  text-transform: uppercase;
}

body .site-header #profileMenu.profile-dropdown .profile-head strong,
body .site-header #profileMenu.profile-dropdown .profile-head small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .site-header #profileMenu.profile-dropdown .profile-head strong {
  color: var(--ok-ink);
  font-size: 14px;
  font-weight: 780;
  line-height: 1.2;
}

body .site-header #profileMenu.profile-dropdown .profile-head small {
  margin-top: 2px;
  color: var(--ok-ink-muted);
  font-size: 12px;
  line-height: 1.25;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-box {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--ok-border-soft);
  border-radius: 0;
  background: var(--ok-surface);
  box-shadow: none;
}

body .site-header #profileMenu.profile-dropdown .profile-support-pin,
body .site-header #profileMenu.profile-dropdown .profile-credit-main {
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid var(--ok-border-soft);
  border-radius: 10px;
  background: var(--ok-surface-subtle);
  box-shadow: none;
}

body .site-header #profileMenu.profile-dropdown .profile-support-pin span,
body .site-header #profileMenu.profile-dropdown .profile-credit-main span,
body .site-header #profileMenu.profile-dropdown .profile-credit-grid span {
  color: var(--ok-ink-muted);
  font-size: 11px;
  font-weight: 720;
  line-height: 1.15;
}

body .site-header #profileMenu.profile-dropdown .profile-support-pin strong {
  color: var(--ok-ink);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .12em;
}

body .site-header #profileMenu.profile-dropdown .profile-support-pin button {
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid var(--ok-border-blue);
  border-radius: 999px;
  background: var(--ok-blue-ui);
  color: var(--ok-ink-inverse);
  font-size: 11px;
  font-weight: 820;
  box-shadow: none;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-main strong {
  color: var(--ok-sky);
  font-size: 18px;
  font-weight: 840;
  line-height: 1;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-grid > span {
  min-height: 36px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 5px 4px;
  border: 1px solid var(--ok-border-soft);
  border-radius: 9px;
  background: var(--ok-surface-subtle);
  text-align: center;
  box-shadow: none;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-grid b {
  color: var(--ok-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-actions {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: var(--ok-surface);
  box-shadow: none;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action {
  min-height: 42px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  justify-content: stretch;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ok-ink-soft);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  box-shadow: none;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action i {
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: var(--ok-ink-muted);
  font-size: 14px;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action:hover {
  border-color: transparent;
  background: var(--ok-surface-subtle);
  color: var(--ok-ink);
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action:hover i {
  color: var(--ok-sky);
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--logout {
  order: 20;
  min-height: 46px;
  grid-template-columns: 22px minmax(0, 1fr);
  justify-items: start;
  justify-content: stretch;
  margin: 10px 0 -10px;
  padding: 0 16px;
  border: 0;
  border-top: 1px solid var(--ok-border-soft);
  border-radius: 0;
  background: transparent;
  color: var(--ok-ink-soft);
  font-size: 13px;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--logout i {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: transparent;
  color: var(--ok-ink-muted);
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--logout:hover {
  background: rgba(122, 183, 255, .08);
  color: var(--ok-ink);
}

@media (max-width: 760px) {
  body .site-header #profileMenu.profile-dropdown {
    top: calc(100% + 8px);
    right: 0;
    width: min(326px, calc(100vw - 20px));
    max-height: min(680px, calc(100dvh - 82px));
  }
}

/* Profile dropdown polish: keep the marketplace menu crisp and token-driven. */
body .site-header #profileMenu.profile-dropdown {
  --ok-profile-menu-pad: 14px;
  --ok-profile-menu-row: 40px;
  top: 85px;
  right: 28px;
  width: min(280px, calc(100vw - 24px));
  border-radius: var(--ok-radius-md);
  background: var(--ok-surface);
}

body .site-header #profileMenu.profile-dropdown .profile-head {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 11px;
  padding: 14px var(--ok-profile-menu-pad);
}

body .site-header #profileMenu.profile-dropdown .profile-head img,
body .site-header #profileMenu.profile-dropdown .profile-head .avatar {
  width: 40px;
  height: 40px;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-box {
  gap: 7px;
  padding: 11px var(--ok-profile-menu-pad) 12px;
}

body .site-header #profileMenu.profile-dropdown .profile-support-pin,
body .site-header #profileMenu.profile-dropdown .profile-credit-main,
body .site-header #profileMenu.profile-dropdown .profile-credit-grid > span {
  border-radius: var(--ok-radius-sm);
  background: var(--ok-surface-subtle);
}

body .site-header #profileMenu.profile-dropdown .profile-credit-main {
  min-height: 36px;
  padding-block: 8px;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-actions {
  padding: 8px 0 0;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action {
  min-height: var(--ok-profile-menu-row);
  grid-template-columns: 22px 1fr;
  justify-items: start;
  justify-content: stretch;
  column-gap: 11px;
  position: relative;
  z-index: 0;
  padding: 0 var(--ok-profile-menu-pad);
  text-align: left;
  transition:
    background-color .16s ease,
    color .16s ease;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action span,
body .site-header #profileMenu.profile-dropdown .profile-menu-action i {
  position: relative;
  z-index: 1;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action span {
  width: 100%;
  min-width: 0;
  display: block;
  color: currentColor;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.2;
  text-align: left;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action i {
  justify-self: start;
  color: var(--ok-ink-muted);
  transition:
    color .16s ease,
    transform .16s ease;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action::before {
  content: "";
  position: absolute;
  inset: 4px 8px;
  z-index: 0;
  border-radius: var(--ok-radius-sm);
  background: transparent;
  transition: background-color .16s ease;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action:where(:hover, :focus-visible) {
  background: transparent;
  color: var(--ok-ink);
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action:where(:hover, :focus-visible)::before {
  background: var(--ok-surface-subtle);
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action:where(:hover, :focus-visible) i {
  color: var(--ok-sky);
  transform: translateX(1px);
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--logout {
  min-height: 48px;
  margin: 8px 0 0;
  padding: 0 var(--ok-profile-menu-pad);
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--logout span {
  font-weight: 760;
}

/* Final polish for the middle account-menu rows. */
body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--profile,
body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--explore,
body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--checkout {
  width: calc(100% - 16px);
  min-height: 38px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  place-items: center start;
  gap: 10px;
  margin: 1px 8px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--ok-radius-sm);
  background: transparent;
  color: var(--ok-ink);
}

body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--profile span,
body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--explore span,
body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--checkout span {
  width: auto;
  justify-self: start;
  color: currentColor;
  font-size: 13px;
  font-weight: 760;
  text-align: left;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--profile i,
body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--explore i,
body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--checkout i {
  width: 26px;
  height: 26px;
  justify-self: start;
  border-radius: var(--ok-radius-xs);
  background: var(--ok-surface-subtle);
  color: var(--ok-ink-muted);
}

body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--profile::before,
body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--explore::before,
body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--checkout::before {
  display: none;
  content: none;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--profile:where(:hover, :focus-visible),
body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--explore:where(:hover, :focus-visible),
body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--checkout:where(:hover, :focus-visible) {
  border-color: var(--ok-border-soft);
  background: var(--ok-surface-subtle);
  color: var(--ok-sky);
}

body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--profile:where(:hover, :focus-visible) i,
body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--explore:where(:hover, :focus-visible) i,
body .site-header #profileMenu.profile-dropdown .profile-menu-actions a.profile-menu-action--checkout:where(:hover, :focus-visible) i {
  background: rgba(122, 183, 255, .16);
  color: var(--ok-sky);
  transform: none;
}

/* Shared primary CTA style, matched to the homepage hero Explore assets button. */
body :where(
  .button-primary,
  .ok-theme-button,
  .ok-btn,
  .ok-hero-btn,
  .ok-inline-btn,
  .ok-account-btn,
  .okg-btn--blue,
  .ok-buy-credit,
  .ok-product-primary,
  .ok-download-primary,
  .ok-checkout-pay,
  .ok-access-submit,
  .ok-login-submit,
  .ok-register-submit,
  .contact-form button[type="submit"],
  input[type="submit"]
) {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--ok-radius-pill);
  background: var(--ok-blue-ui);
  color: var(--ok-ink-inverse);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.15;
  text-decoration: none;
  box-shadow: none;
  transition: transform .22s ease, border-color .22s ease, background-color .22s ease, color .22s ease;
}

body :where(
  .button-primary,
  .ok-theme-button,
  .ok-btn,
  .ok-hero-btn,
  .ok-inline-btn,
  .ok-account-btn,
  .okg-btn--blue,
  .ok-buy-credit,
  .ok-product-primary,
  .ok-download-primary,
  .ok-checkout-pay,
  .ok-access-submit,
  .ok-login-submit,
  .ok-register-submit,
  .contact-form button[type="submit"]
) :where(i, span, strong),
body :where(input[type="submit"]) {
  color: var(--ok-ink-inverse);
}

body :where(
  .button-primary,
  .ok-theme-button,
  .ok-btn,
  .ok-hero-btn,
  .ok-inline-btn,
  .ok-account-btn,
  .okg-btn--blue,
  .ok-buy-credit,
  .ok-product-primary,
  .ok-download-primary,
  .ok-checkout-pay,
  .ok-access-submit,
  .ok-login-submit,
  .ok-register-submit,
  .contact-form button[type="submit"],
  input[type="submit"]
):where(:hover, :focus-visible) {
  transform: translateY(-2px);
  border-color: var(--ok-primary-hover, var(--ok-violet));
  background: var(--ok-primary-hover, var(--ok-violet));
  background-color: var(--ok-primary-hover, var(--ok-violet));
  background-image: none;
  color: var(--ok-ink-inverse);
  box-shadow: none;
}

body :where(
  .button-primary,
  .ok-theme-button,
  .ok-btn,
  .ok-hero-btn,
  .ok-inline-btn,
  .ok-account-btn,
  .okg-btn--blue,
  .ok-buy-credit,
  .ok-product-primary,
  .ok-download-primary,
  .ok-checkout-pay,
  .ok-access-submit,
  .ok-login-submit,
  .ok-register-submit,
  .contact-form button[type="submit"]
):where(:hover, :focus-visible) :where(i, span, strong) {
  color: var(--ok-ink-inverse);
}

body .okb-footer .okb-footer-hero-actions .okb-footer-btn:not(.okb-footer-btn--soft):hover,
body .okb-footer .okb-footer-hero-actions .okb-footer-btn:not(.okb-footer-btn--soft):focus-visible,
body .okb-footer .okb-footer-btn:not(.okb-footer-btn--soft):hover,
body .okb-footer .okb-footer-btn:not(.okb-footer-btn--soft):focus-visible {
  border-color: var(--ok-primary-hover, var(--ok-violet));
  background: var(--ok-primary-hover, var(--ok-violet));
  color: var(--ok-ink-inverse);
  box-shadow: none;
}

body .okb-footer .okb-footer-hero-actions .okb-footer-btn:not(.okb-footer-btn--soft):hover :where(i, span, strong),
body .okb-footer .okb-footer-hero-actions .okb-footer-btn:not(.okb-footer-btn--soft):focus-visible :where(i, span, strong),
body .okb-footer .okb-footer-btn:not(.okb-footer-btn--soft):hover :where(i, span, strong),
body .okb-footer .okb-footer-btn:not(.okb-footer-btn--soft):focus-visible :where(i, span, strong) {
  color: var(--ok-ink-inverse);
}

body .okg-home .okg-actions .okg-btn:hover,
body .okg-home .okg-actions .okg-btn:focus-visible,
body .okg-home .okg-btn.okg-btn--blue:hover,
body .okg-home .okg-btn.okg-btn--blue:focus-visible,
body .okg-home .okg-btn.okg-btn--dark:hover,
body .okg-home .okg-btn.okg-btn--dark:focus-visible,
body .okg-home .okg-studio-link:hover,
body .okg-home .okg-studio-link:focus-visible {
  border-color: var(--ok-primary-hover, var(--ok-violet));
  background: var(--ok-primary-hover, var(--ok-violet));
  background-color: var(--ok-primary-hover, var(--ok-violet));
  background-image: none;
  color: var(--ok-ink-inverse);
  box-shadow: none;
}

body .okg-home .okg-actions .okg-btn:hover :where(i, span, strong),
body .okg-home .okg-actions .okg-btn:focus-visible :where(i, span, strong),
body .okg-home .okg-studio-link:hover :where(i, span, strong),
body .okg-home .okg-studio-link:focus-visible :where(i, span, strong) {
  color: var(--ok-ink-inverse);
}

/* Final single asset polish: last-loaded dark theme layer. */
body.single-post .ok-product-page {
  --ok-asset-accent: var(--ok-blue-ui);
  --ok-asset-accent-soft: rgba(122, 183, 255, .12);
  --ok-asset-violet: var(--ok-violet);
  --ok-asset-green: #81c995;
  --ok-asset-coral: #f6aea9;
  padding: clamp(18px, 2.4vw, 32px) 0 clamp(46px, 6vw, 82px);
  background:
    radial-gradient(circle at 16% 0, rgba(122, 183, 255, .1), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(168, 131, 255, .09), transparent 30%),
    var(--ok-page-bg);
}

body.single-post .ok-product-page .ok-product-shell {
  width: min(1280px, calc(100% - clamp(28px, 6vw, 96px)));
  max-width: 1280px;
}

body.single-post .ok-product-page .ok-product-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  gap: clamp(14px, 1.8vw, 22px);
  align-items: stretch;
}

body.single-post .ok-product-page .ok-product-preview-card,
body.single-post .ok-product-page .ok-product-panel,
body.single-post .ok-product-page .ok-product-details {
  border: 1px solid var(--ok-border);
  border-radius: var(--ok-radius-lg);
  background: var(--ok-gradient-card);
  color: var(--ok-ink-soft);
  box-shadow: none;
  backdrop-filter: none;
}

body.single-post .ok-product-page .ok-product-preview-card {
  padding: 10px;
  overflow: hidden;
}

body.single-post .ok-product-page .ok-product-preview-box,
body.single-post .ok-product-page .ok-product-preview-box.is-image,
body.single-post .ok-product-page .ok-product-preview-box.is-image.is-png,
body.single-post .ok-product-page .ok-product-preview-box.has-preview-slider {
  border: 1px solid var(--ok-border-soft);
  border-radius: var(--ok-radius-md);
  background:
    linear-gradient(45deg, rgba(122, 183, 255, .07) 25%, transparent 25% 75%, rgba(122, 183, 255, .07) 75%),
    linear-gradient(45deg, rgba(168, 131, 255, .055) 25%, transparent 25% 75%, rgba(168, 131, 255, .055) 75%),
    var(--ok-surface-subtle);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
}

body.single-post .ok-product-page .ok-product-preview-box.is-video,
body.single-post .ok-product-page .ok-product-preview-card.is-video-preview .ok-product-preview-box.is-video {
  overflow: hidden;
  border-color: var(--ok-border);
  background: #05070d;
}

body.single-post .ok-product-page .ok-product-preview-title {
  display: none;
  margin: 0;
  color: var(--ok-ink);
  -webkit-text-fill-color: var(--ok-ink);
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 800;
  line-height: 1.18;
  background: none;
}

body.single-post .ok-product-page .ok-product-detail-title {
  margin: 0 0 10px;
  color: var(--ok-ink);
  -webkit-text-fill-color: var(--ok-ink);
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body.single-post .ok-product-page .ok-product-panel {
  padding: 10px;
  top: calc(var(--ok-fixed-header-height, 72px) + 16px);
  height: 100%;
}

body.single-post .ok-product-page .ok-product-list,
body.single-post .ok-product-page .ok-product-utility,
body.single-post .ok-product-page .ok-product-creator-card,
body.single-post .ok-product-page .ok-product-tags,
body.single-post .ok-product-page .ok-product-empty {
  border-color: var(--ok-border);
  background: var(--ok-surface-subtle);
}

body.single-post .ok-product-page .ok-product-list {
  border-radius: var(--ok-radius-md);
}

body.single-post .ok-product-page .ok-product-list-row {
  min-height: 48px;
  grid-template-columns: minmax(82px, .72fr) minmax(0, 1.28fr);
  gap: 12px;
  padding: 0 12px;
  border-color: var(--ok-border-soft);
}

body.single-post .ok-product-page .ok-product-list-row span,
body.single-post .ok-product-page .ok-product-description > span,
body.single-post .ok-product-page .ok-product-tags > div > span,
body.single-post .ok-product-page .ok-product-section-head span {
  color: var(--ok-sky);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .03em;
}

body.single-post .ok-product-page .ok-product-list-row strong {
  color: var(--ok-ink);
  font-size: 14px;
  font-weight: 780;
}

body.single-post .ok-product-page .ok-product-list-row:nth-child(1) i,
body.single-post .ok-product-page .ok-product-utility i {
  color: var(--ok-asset-accent);
}

body.single-post .ok-product-page .ok-product-list-row:nth-child(2) i,
body.single-post .ok-product-page .ok-product-list-row:nth-child(2) .ok-stock-app-icon {
  color: var(--ok-asset-violet);
}

body.single-post .ok-product-page .ok-product-list-row:nth-child(3) i {
  color: var(--ok-asset-green);
}

body.single-post .ok-product-page .ok-product-list-row:nth-child(4) i,
body.single-post .ok-product-page .ok-product-list-row:last-child i {
  color: var(--ok-asset-coral);
}

body.single-post .ok-product-page .ok-product-list-row--terms {
  min-height: 52px;
}

body.single-post .ok-product-page .ok-product-list-row--terms strong {
  align-items: flex-start;
}

body.single-post .ok-product-page .ok-product-term-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-width: 0;
}

body.single-post .ok-product-page .ok-product-term-list a {
  color: var(--ok-ink);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.3;
  text-decoration: none;
}

body.single-post .ok-product-page .ok-product-term-list a:not(:last-child)::after {
  content: ",";
  color: var(--ok-ink-muted);
}

body.single-post .ok-product-page .ok-product-term-list a:hover,
body.single-post .ok-product-page .ok-product-term-list a:focus-visible {
  color: var(--ok-sky);
  outline: 0;
}

body.single-post .ok-product-page .ok-product-primary,
body.single-post .ok-product-page .ok-product-primary:visited {
  min-height: 50px;
  background: var(--ok-blue-ui);
  color: var(--ok-ink-inverse);
  font-weight: 760;
}

body.single-post .ok-product-page .ok-product-primary:hover,
body.single-post .ok-product-page .ok-product-primary:focus-visible {
  border-color: var(--ok-asset-violet);
  background: var(--ok-asset-violet);
  color: var(--ok-ink-inverse);
  transform: translateY(-1px);
}

body.single-post .ok-product-page .ok-product-utility {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 5px;
  border-radius: var(--ok-radius-sm);
}

body.single-post .ok-product-page .ok-product-utility button,
body.single-post .ok-product-page .ok-product-utility span {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: var(--ok-radius-xs);
  background: var(--ok-surface);
  color: var(--ok-ink-soft);
  font-size: 12px;
  font-weight: 760;
}

body.single-post .ok-product-page .ok-product-utility button:hover,
body.single-post .ok-product-page .ok-product-utility button:focus-visible {
  border-color: var(--ok-border-blue);
  background: var(--ok-asset-accent-soft);
  color: var(--ok-ink);
  outline: 0;
}

body.single-post .ok-product-page .ok-product-creator-card {
  padding: 11px;
}

body.single-post .ok-product-page .ok-product-creator-card strong {
  color: var(--ok-ink);
}

body.single-post .ok-product-page .ok-product-creator-card strong i {
  background: var(--ok-asset-green);
  color: var(--ok-page-bg);
}

body.single-post .ok-product-page .ok-product-tags a {
  min-height: 30px;
  border-color: var(--ok-border);
  background: var(--ok-surface);
  color: var(--ok-ink-soft);
}

body.single-post .ok-product-page .ok-product-tags a:hover,
body.single-post .ok-product-page .ok-product-tags a:focus-visible {
  border-color: var(--ok-border-blue);
  background: var(--ok-asset-accent-soft);
  color: var(--ok-sky);
  outline: 0;
}

body.single-post .ok-product-page .ok-product-license {
  border: 1px solid rgba(168, 131, 255, .3);
  border-radius: var(--ok-radius-md);
  background: rgba(168, 131, 255, .1);
}

body.single-post .ok-product-page .ok-product-license i,
body.single-post .ok-product-page .ok-product-license a {
  color: var(--ok-asset-violet);
}

body.single-post .ok-product-page .ok-product-details {
  margin-top: clamp(22px, 3vw, 36px);
  padding: clamp(18px, 2.4vw, 28px);
}

body.single-post .ok-product-page .ok-product-content {
  color: var(--ok-ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

body.single-post .ok-product-page .ok-product-content :where(p, li) {
  color: var(--ok-ink-muted);
}

body.single-post .ok-product-page .ok-product-section-head {
  margin-bottom: 14px;
}

body.single-post .ok-product-page .ok-product-section-head h2 {
  color: var(--ok-ink);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 800;
}

body.single-post .ok-product-page .ok-related-arrow,
body.single-post .ok-product-page .ok-product-section-head a,
body.single-post .ok-product-page .ok-preview-carousel-arrow {
  border-color: var(--ok-border);
  background: var(--ok-surface);
  color: var(--ok-ink-soft);
}

body.single-post .ok-product-page .ok-related-arrow:hover,
body.single-post .ok-product-page .ok-product-section-head a:hover,
body.single-post .ok-product-page .ok-preview-carousel-arrow:hover {
  border-color: var(--ok-border-blue);
  background: var(--ok-asset-accent-soft);
  color: var(--ok-sky);
}

body.single-post .ok-product-page .ok-preview-carousel-dots {
  border-color: var(--ok-border);
  background: var(--ok-surface);
}

body.single-post .ok-product-page .ok-preview-carousel-dots button {
  background: var(--ok-border-strong);
}

body.single-post .ok-product-page .ok-preview-carousel-dots button[aria-current="true"] {
  background: var(--ok-asset-accent);
}

body.single-post .ok-product-page .ok-product-preview-card .ok-yt-player {
  --okvp-primary: var(--ok-asset-accent);
  border-radius: var(--ok-radius-sm);
}

body.single-post .ok-product-page .ok-yt-player:not(.is-player-fullscreen) .ok-yt-player__close,
body.single-post .ok-product-page .ok-yt-player__back,
body.single-post .ok-product-page .ok-yt-player__forward,
body.single-post .ok-product-page .ok-yt-player__volume {
  display: none;
}

body.single-post .ok-product-page .ok-yt-player__controls {
  gap: 6px;
  padding: 26px 10px 9px;
  background: linear-gradient(180deg, transparent, rgba(3, 7, 18, .86) 46%, rgba(3, 7, 18, .97));
}

body.single-post .ok-product-page .ok-yt-player__bar {
  height: 5px;
}

body.single-post .ok-product-page .ok-yt-player__bar:hover,
body.single-post .ok-product-page .ok-yt-player.is-scrubbing .ok-yt-player__bar {
  height: 8px;
}

body.single-post .ok-product-page .ok-yt-player button {
  width: 32px;
  height: 32px;
}

body.single-post .ok-product-page .ok-yt-player__time {
  min-width: 76px;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
}

@media (max-width: 1180px) {
  body.single-post .ok-product-page .ok-product-hero {
    grid-template-columns: 1fr;
  }

  body.single-post .ok-product-page .ok-product-panel {
    position: static;
    height: auto;
  }
}

@media (max-width: 760px) {
  body.single-post .ok-product-page .ok-product-shell {
    width: calc(100% - 12px);
  }

  body.single-post .ok-product-page .ok-product-preview-card.is-video-preview,
  body.single-post .ok-product-page .ok-product-preview-card.is-video-preview .ok-product-preview-title {
    background: var(--ok-surface);
  }

  body.single-post .ok-product-page.has-video-preview .ok-product-panel {
    margin-top: calc(var(--ok-mobile-video-height, 56.25vw) + 8px);
  }

  body.single-post .ok-product-page .ok-product-panel,
  body.single-post .ok-product-page .ok-product-details {
    padding: 12px;
  }

  body.single-post .ok-product-page .ok-product-detail-title {
    font-size: clamp(22px, 7vw, 32px);
  }
}

@media (max-width: 520px) {
  body.single-post .ok-product-page .ok-product-list-row {
    min-height: 44px;
    grid-template-columns: minmax(74px, .72fr) minmax(0, 1.28fr);
    padding-inline: 10px;
  }

  body.single-post .ok-product-page .ok-yt-player__time {
    min-width: 54px;
  }
}

/* Homefeed phone layout final pass. Keeps the desktop sidebar system out of the mobile flow. */
@media (max-width: 760px) {
  body.page-template-page-feed .homefeed.homefeed--magnific {
    width: 100%;
    padding: 10px 10px 44px;
    overflow-x: clip;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-toggle {
    position: sticky;
    top: calc(76px + env(safe-area-inset-top));
    z-index: 25;
    margin: 0 0 10px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-layout {
    width: 100%;
    max-width: 520px;
    display: block;
    margin-inline: auto;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-results,
  body.page-template-page-feed .homefeed.homefeed--magnific .homefeed-category-shell {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-inline: 0;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner {
    width: 100%;
    min-height: 0;
    margin: 0 0 12px;
    padding: 28px 18px 26px;
    border-radius: 18px;
    background:
      radial-gradient(circle at 15% 0, rgba(122, 183, 255, .14), transparent 38%),
      radial-gradient(circle at 92% 12%, rgba(182, 156, 255, .12), transparent 36%),
      linear-gradient(180deg, rgba(23, 29, 38, .98), rgba(11, 15, 22, .98));
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner__content {
    width: 100%;
    max-width: none;
    text-align: center;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner__content > span {
    min-height: 26px;
    margin-bottom: 12px;
    padding-inline: 10px;
    font-size: 10px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner .ok-stock-banner__content h1 {
    width: 100%;
    max-width: 11.5ch;
    margin-inline: auto;
    color: var(--ok-ink);
    font-size: clamp(29px, 10vw, 38px);
    line-height: 1.03;
    letter-spacing: 0;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: normal;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner .ok-stock-banner__content p {
    max-width: 27ch;
    margin: 13px auto 0;
    color: var(--ok-ink-muted);
    font-size: 13px;
    line-height: 1.45;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--mobile-cat-cols-2 .ok-stock-category-grid,
  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-grid,
  body.page-template-page-feed .homefeed.homefeed--magnific .homefeed-category-grid {
    width: 100%;
    max-width: none;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-card {
    width: 100%;
    min-height: 94px;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-card__media {
    width: 76px;
    height: 76px;
    border-radius: 10px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-card strong {
    color: var(--ok-ink);
    font-size: 14px;
    line-height: 1.2;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-card small {
    margin-top: 4px;
    color: var(--ok-ink-muted);
    font-size: 11px;
    line-height: 1.2;
  }
}

@media (max-width: 380px) {
  body.page-template-page-feed .homefeed.homefeed--magnific {
    padding-inline: 9px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner {
    padding-inline: 14px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner .ok-stock-banner__content h1 {
    font-size: clamp(28px, 9.5vw, 34px);
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-card {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-card__media {
    width: 70px;
    height: 70px;
  }
}

/* Homefeed responsive alignment system: desktop, tablet, and mobile use one flexible shell. */
body.page-template-page-feed .homefeed.homefeed--magnific {
  --ok-feed-shell: min(100%, 1780px);
  --ok-feed-sidebar: clamp(236px, 18vw, 280px);
  --ok-feed-gap: clamp(14px, 2vw, 28px);
  --ok-feed-card-min: 280px;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-layout {
  width: var(--ok-feed-shell);
  max-width: var(--ok-feed-shell);
  margin-inline: auto;
  grid-template-columns: var(--ok-feed-sidebar) minmax(0, 1fr);
  gap: var(--ok-feed-gap);
  align-items: start;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-results {
  width: 100%;
  max-width: none;
  min-width: 0;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner {
  width: 100%;
  min-width: 0;
  min-height: clamp(230px, 22vw, 320px);
  display: grid;
  place-items: center;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner__content {
  width: min(100%, 760px);
  margin-inline: auto;
  text-align: center;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner .ok-stock-banner__content h1 {
  max-width: 13.5ch;
  margin-inline: auto;
  font-size: clamp(38px, 4.2vw, 60px);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner .ok-stock-banner__content p {
  max-width: 58ch;
  margin-inline: auto;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-grid,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-grid {
  width: 100%;
  max-width: none;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--ok-feed-card-min)), 1fr));
  gap: clamp(12px, 1.4vw, 20px);
  align-items: stretch;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-card {
  min-width: 0;
}

@media (min-width: 1560px) {
  body.page-template-page-feed .homefeed.homefeed--magnific {
    --ok-feed-card-min: 340px;
  }
}

@media (max-width: 1240px) {
  body.page-template-page-feed .homefeed.homefeed--magnific {
    --ok-feed-sidebar: 240px;
    --ok-feed-card-min: 250px;
    padding-inline: clamp(14px, 2vw, 26px);
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter {
    width: 240px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner {
    min-height: clamp(220px, 25vw, 300px);
    padding: clamp(24px, 4vw, 38px);
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner .ok-stock-banner__content h1 {
    font-size: clamp(34px, 4.6vw, 52px);
  }
}

@media (max-width: 980px) {
  body.page-template-page-feed .homefeed.homefeed--magnific {
    --ok-feed-shell: min(100%, 920px);
    --ok-feed-card-min: 260px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-layout {
    display: block;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner {
    min-height: 0;
    margin-top: 8px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-card__media {
    width: 84px;
    height: 84px;
  }
}

@media (max-width: 760px) {
  body.page-template-page-feed .homefeed.homefeed--magnific {
    --ok-feed-shell: 100%;
    --ok-feed-card-min: 100%;
    padding: 10px 10px 44px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-layout {
    max-width: none;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner {
    margin-top: 0;
    padding: 28px 16px 26px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner .ok-stock-banner__content h1 {
    max-width: 11.5ch;
    font-size: clamp(29px, 10vw, 38px);
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-banner .ok-stock-banner__content p {
    max-width: 27ch;
    font-size: 13px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--mobile-cat-cols-2 .ok-stock-category-grid,
  body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--mobile-post-cols-2 .ok-stock-grid,
  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-grid,
  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-grid {
    grid-template-columns: 1fr;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-card {
    min-height: 92px;
    grid-template-columns: 74px minmax(0, 1fr);
    padding: 9px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-card__media {
    width: 74px;
    height: 74px;
  }
}

/* Homefeed filterbar redesign: no left sidebar, full-width grid, sticky dropdown controls. */
body.page-template-page-feed .homefeed.homefeed--magnific {
  --ok-feed-shell: min(100%, 1840px);
  --ok-feed-card-min: 300px;
  padding: 0 clamp(12px, 2vw, 34px) clamp(72px, 8vw, 124px);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filterbar {
  position: sticky;
  top: calc(76px + env(safe-area-inset-top));
  z-index: 9990;
  width: calc(100% + (clamp(12px, 2vw, 34px) * 2));
  max-width: none;
  margin: 0 calc(clamp(12px, 2vw, 34px) * -1) clamp(18px, 1.8vw, 28px);
  padding: 10px clamp(12px, 2vw, 34px);
  border: 0;
  background: #12161d;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filterbar__scroll {
  position: relative;
  width: var(--ok-feed-shell);
  max-width: var(--ok-feed-shell);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  overflow: visible;
}

body.admin-bar.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filterbar {
  top: calc(108px + env(safe-area-inset-top));
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu {
  position: relative;
  flex: 0 0 auto;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu summary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--ok-border);
  border-radius: 999px;
  background: rgba(245, 247, 251, .075);
  color: var(--ok-ink);
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  list-style: none;
  cursor: pointer;
  box-shadow: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu summary::-webkit-details-marker {
  display: none;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu summary i:first-child {
  color: var(--ok-sky);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu summary i:last-child {
  color: var(--ok-ink-muted);
  font-size: 11px;
  transition: transform .18s ease;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu[open] summary,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu summary:hover {
  border-color: var(--ok-border-blue);
  background: linear-gradient(180deg, rgba(122, 183, 255, .18), rgba(122, 183, 255, .10));
  color: var(--ok-ink);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu[open] summary i:last-child {
  transform: rotate(180deg);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 90;
  width: min(340px, calc(100vw - 24px));
  max-height: min(430px, calc(100dvh - 160px));
  display: grid;
  gap: 2px;
  overflow-y: auto;
  padding: 6px;
  border: 0;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(25, 30, 39, .99), rgba(18, 22, 29, .99));
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu__panel .ok-stock-radio {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ok-ink-soft);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu__panel .ok-stock-radio:hover,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu__panel .ok-stock-radio:has(input:checked) {
  background: rgba(122, 183, 255, .11);
  color: var(--ok-ink);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu__panel .ok-stock-radio span {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  font-weight: 720;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu__panel .ok-stock-radio i,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu__panel .ok-stock-app-icon {
  width: 18px;
  min-width: 18px;
  color: var(--ok-sky);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu__panel .ok-stock-radio input {
  margin-left: auto;
  order: 2;
  accent-color: var(--ok-violet);
  transform: scale(.95);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filterbar__reset {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid var(--ok-border);
  border-radius: 999px;
  background: transparent;
  color: var(--ok-ink-muted);
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filterbar__reset:hover {
  border-color: var(--ok-violet);
  background: var(--ok-primary-hover-soft);
  color: var(--ok-ink);
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-layout {
  width: var(--ok-feed-shell);
  max-width: var(--ok-feed-shell);
  display: block;
  margin-inline: auto;
}

body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--overview .ok-stock-layout {
  padding-top: clamp(20px, 3vw, 44px);
}

body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-layout {
  padding-top: 0;
}

body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-grid,
body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-empty {
  margin-top: 0;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-results {
  width: 100%;
  max-width: none;
}

body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-grid,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--ok-feed-card-min)), 1fr));
}

body .homefeed.homefeed--magnific.homefeed--taxonomy,
body .homefeed.homefeed--magnific.homefeed--search {
  --ok-feed-shell: min(100%, 1840px);
  --ok-feed-card-min: 300px;
  padding: 0 clamp(12px, 2vw, 34px) clamp(72px, 8vw, 124px);
}

body .homefeed.homefeed--magnific.homefeed--taxonomy .ok-stock-layout,
body .homefeed.homefeed--magnific.homefeed--search .ok-stock-layout {
  width: var(--ok-feed-shell);
  max-width: var(--ok-feed-shell);
  display: block;
  margin-inline: auto;
  padding-top: clamp(12px, 1.6vw, 22px);
}

body .homefeed.homefeed--magnific.homefeed--taxonomy .ok-stock-results,
body .homefeed.homefeed--magnific.homefeed--search .ok-stock-results,
body .homefeed.homefeed--magnific.homefeed--taxonomy .ok-stock-results__bar,
body .homefeed.homefeed--magnific.homefeed--search .ok-stock-results__bar {
  width: 100%;
  max-width: none;
}

body .homefeed.homefeed--magnific.homefeed--taxonomy .ok-stock-grid,
body .homefeed.homefeed--magnific.homefeed--search .ok-stock-grid {
  width: 100%;
  max-width: none;
  margin-top: 0;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--ok-feed-card-min)), 1fr));
}

@media (min-width: 1500px) {
  body.page-template-page-feed .homefeed.homefeed--magnific {
    --ok-feed-card-min: 330px;
  }
}

@media (max-width: 1180px) {
  body.page-template-page-feed .homefeed.homefeed--magnific {
    --ok-feed-card-min: 260px;
  }
}

@media (max-width: 860px) {
  body.page-template-page-feed .homefeed.homefeed--magnific {
    padding-inline: 10px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filterbar {
    top: calc(66px + env(safe-area-inset-top));
    width: calc(100% + 20px);
    margin-inline: -10px;
    margin-bottom: 10px;
    padding: 7px 10px;
    overflow: hidden;
  }

  body.admin-bar.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filterbar {
    top: calc(112px + env(safe-area-inset-top));
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filterbar__scroll {
    flex-wrap: nowrap;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filterbar__scroll::-webkit-scrollbar {
    display: none;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu,
  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filterbar__reset {
    scroll-snap-align: start;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu summary {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 13px;
    white-space: nowrap;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu__panel {
    position: fixed;
    top: calc(113px + env(safe-area-inset-top));
    right: 10px;
    left: 10px;
    width: auto;
    max-height: min(420px, calc(100dvh - 132px));
  }

  body.admin-bar.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-filter-menu__panel {
    top: calc(159px + env(safe-area-inset-top));
  }
}

@media (max-width: 560px) {
  body.page-template-page-feed .homefeed.homefeed--magnific {
    --ok-feed-card-min: 100%;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-grid,
  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-grid {
    gap: 10px;
  }
}

/* Homefeed result filters attach to the header like a second fixed toolbar. */
body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results {
  --ok-feed-filter-top: calc(76px + env(safe-area-inset-top));
  --ok-feed-filter-height: 68px;
  padding-top: var(--ok-feed-filter-height);
}

body.admin-bar.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results {
  --ok-feed-filter-top: calc(108px + env(safe-area-inset-top));
}

body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-filterbar {
  position: fixed;
  top: var(--ok-feed-filter-top);
  right: 0;
  left: 0;
  z-index: 9990;
  width: 100%;
  height: var(--ok-feed-filter-height);
  margin: 0;
  padding: 9px clamp(12px, 2vw, 34px);
  display: flex;
  align-items: center;
  border: 0;
  background: #12161d;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-filterbar__scroll {
  width: var(--ok-feed-shell);
  max-width: var(--ok-feed-shell);
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 0;
  scrollbar-width: none;
}

body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-filterbar__scroll::-webkit-scrollbar {
  display: none;
}

body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-filter-menu summary,
body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-filterbar__reset {
  min-height: 44px;
}

body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-filter-menu__panel {
  position: fixed;
  top: calc(var(--ok-feed-filter-top) + var(--ok-feed-filter-height) + 8px);
  left: auto;
  width: min(300px, calc(100vw - 24px));
}

body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-layout {
  padding-top: clamp(12px, 1.6vw, 22px);
}

@media (max-width: 860px) {
  body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results {
    --ok-feed-filter-top: calc(66px + env(safe-area-inset-top));
    --ok-feed-filter-height: 58px;
    padding-top: var(--ok-feed-filter-height);
  }

  body.admin-bar.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results {
    --ok-feed-filter-top: calc(112px + env(safe-area-inset-top));
  }

  body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-filterbar {
    top: var(--ok-feed-filter-top);
    width: 100%;
    height: var(--ok-feed-filter-height);
    margin: 0;
    padding: 7px 10px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-filter-menu summary,
  body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-filterbar__reset {
    min-height: 40px;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-filter-menu__panel,
  body.admin-bar.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-filter-menu__panel {
    top: calc(var(--ok-feed-filter-top) + var(--ok-feed-filter-height) + 8px);
    right: 10px;
    left: 10px;
    width: auto;
    max-height: min(420px, calc(100dvh - var(--ok-feed-filter-top) - var(--ok-feed-filter-height) - 24px));
  }
}

@media (min-width: 861px) {
  body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-filterbar,
  body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-filterbar__scroll {
    overflow: visible;
  }

  body.page-template-page-feed .homefeed.homefeed--magnific.homefeed--results .ok-stock-filter-menu__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: auto;
    left: 0;
    width: min(300px, calc(100vw - 24px));
  }

}

/* Asset grids: 4 desktop, 3 laptop, 2 tablet, 1 mobile. */
body .homefeed-grid,
body .homefeed-category-grid,
body .ok-stock-grid,
body .ok-stock-category-grid,
body .homefeed--search > .homefeed-grid,
body .homefeed--taxonomy > .homefeed-grid,
body .homefeed--taxonomy > .ok-stock-grid,
body .homefeed--search > .ok-stock-grid,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-grid,
body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.35vw, 22px);
  align-items: stretch;
}

@media (max-width: 1279px) {
  body .homefeed-grid,
  body .homefeed-category-grid,
  body .ok-stock-grid,
  body .ok-stock-category-grid,
  body .homefeed--search > .homefeed-grid,
  body .homefeed--taxonomy > .homefeed-grid,
  body .homefeed--taxonomy > .ok-stock-grid,
  body .homefeed--search > .ok-stock-grid,
  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-grid,
  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 959px) {
  body .homefeed-grid,
  body .homefeed-category-grid,
  body .ok-stock-grid,
  body .ok-stock-category-grid,
  body .homefeed--search > .homefeed-grid,
  body .homefeed--taxonomy > .homefeed-grid,
  body .homefeed--taxonomy > .ok-stock-grid,
  body .homefeed--search > .ok-stock-grid,
  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-grid,
  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 619px) {
  body .homefeed-grid,
  body .homefeed-category-grid,
  body .ok-stock-grid,
  body .ok-stock-category-grid,
  body .homefeed--search > .homefeed-grid,
  body .homefeed--taxonomy > .homefeed-grid,
  body .homefeed--taxonomy > .ok-stock-grid,
  body .homefeed--search > .ok-stock-grid,
  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-category-grid,
  body.page-template-page-feed .homefeed.homefeed--magnific .ok-stock-grid {
    grid-template-columns: 1fr;
  }
}

/* Final premium profile dropdown polish. */
body .site-header #profileMenu.profile-dropdown,
body > #profileMenu.profile-dropdown {
  --ok-menu-bg: rgba(8, 12, 21, .96);
  --ok-menu-card: rgba(17, 25, 41, .88);
  --ok-menu-line: rgba(132, 167, 229, .24);
  --ok-menu-line-strong: rgba(132, 167, 229, .36);
  --ok-menu-text: #f7fbff;
  --ok-menu-muted: #aebbd4;
  --ok-menu-blue: #86b7ff;
  --ok-menu-cyan: #63e6f2;
  --ok-menu-violet: #b69cff;
  --ok-menu-orange: #ffb36b;
  --ok-menu-red: #ff7b91;
  position: fixed !important;
  top: calc(var(--okb-header-height, 72px) + 12px) !important;
  right: max(18px, calc((100vw - min(1440px, 100vw)) / 2 + 22px)) !important;
  z-index: 10020 !important;
  width: min(370px, calc(100vw - 28px)) !important;
  max-height: min(680px, calc(100vh - var(--okb-header-height, 72px) - 28px)) !important;
  display: grid !important;
  gap: 10px !important;
  overflow: auto !important;
  padding: 12px !important;
  border: 1px solid var(--ok-menu-line-strong) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 8% 0, rgba(99, 230, 242, .18), transparent 35%),
    radial-gradient(circle at 100% 18%, rgba(182, 156, 255, .18), transparent 36%),
    radial-gradient(circle at 84% 100%, rgba(255, 179, 107, .12), transparent 38%),
    var(--ok-menu-bg) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
  backdrop-filter: blur(20px) saturate(1.14) !important;
}

body .site-header #profileMenu.profile-dropdown[hidden],
body > #profileMenu.profile-dropdown[hidden] {
  display: none !important;
}

body .site-header #profileMenu.profile-dropdown *,
body > #profileMenu.profile-dropdown * {
  box-sizing: border-box !important;
}

body .site-header #profileMenu.profile-dropdown :where(h2, p, a, span, strong, small, b),
body > #profileMenu.profile-dropdown :where(h2, p, a, span, strong, small, b) {
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  letter-spacing: 0 !important;
}

body .site-header #profileMenu.profile-dropdown .profile-head,
body .site-header #profileMenu.profile-dropdown .profile-login-box,
body > #profileMenu.profile-dropdown .profile-head,
body > #profileMenu.profile-dropdown .profile-login-box {
  position: relative !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 13px !important;
  margin: 0 !important;
  padding: 14px !important;
  overflow: hidden !important;
  border: 1px solid var(--ok-menu-line) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 0 0, rgba(134, 183, 255, .18), transparent 10rem),
    linear-gradient(135deg, rgba(23, 34, 55, .92), rgba(9, 14, 24, .92)) !important;
  box-shadow: none !important;
}

body .site-header #profileMenu.profile-dropdown .profile-login-box,
body > #profileMenu.profile-dropdown .profile-login-box {
  grid-template-columns: 1fr !important;
  text-align: left !important;
}

body .site-header #profileMenu.profile-dropdown .profile-head img,
body .site-header #profileMenu.profile-dropdown .profile-head .avatar,
body > #profileMenu.profile-dropdown .profile-head img,
body > #profileMenu.profile-dropdown .profile-head .avatar {
  width: 58px !important;
  height: 58px !important;
  border: 3px solid #0a101b !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, var(--ok-menu-cyan), var(--ok-menu-violet) 56%, var(--ok-menu-orange)) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .30) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-login-icon,
body > #profileMenu.profile-dropdown .profile-login-icon {
  width: 52px !important;
  height: 52px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(134, 183, 255, .26) !important;
  border-radius: 16px !important;
  background: rgba(134, 183, 255, .14) !important;
  color: var(--ok-menu-blue) !important;
  font-size: 22px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-head span,
body > #profileMenu.profile-dropdown .profile-head span {
  display: inline-flex !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: 0 0 5px !important;
  padding: 4px 8px !important;
  border: 1px solid rgba(99, 230, 242, .22) !important;
  border-radius: 999px !important;
  background: rgba(99, 230, 242, .10) !important;
  color: var(--ok-menu-cyan) !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

body .site-header #profileMenu.profile-dropdown .profile-head strong,
body .site-header #profileMenu.profile-dropdown .profile-login-box h2,
body > #profileMenu.profile-dropdown .profile-head strong,
body > #profileMenu.profile-dropdown .profile-login-box h2 {
  display: block !important;
  margin: 0 !important;
  color: var(--ok-menu-text) !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
}

body .site-header #profileMenu.profile-dropdown .profile-head small,
body .site-header #profileMenu.profile-dropdown .profile-login-box p,
body > #profileMenu.profile-dropdown .profile-head small,
body > #profileMenu.profile-dropdown .profile-login-box p {
  display: block !important;
  margin: 6px 0 0 !important;
  color: var(--ok-menu-muted) !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-box,
body > #profileMenu.profile-dropdown .profile-credit-box {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body .site-header #profileMenu.profile-dropdown .profile-support-pin,
body .site-header #profileMenu.profile-dropdown .profile-credit-main,
body > #profileMenu.profile-dropdown .profile-support-pin,
body > #profileMenu.profile-dropdown .profile-credit-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 68px !important;
  padding: 12px !important;
  border: 1px solid var(--ok-menu-line) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(182, 156, 255, .16), transparent 9rem),
    rgba(17, 25, 41, .74) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-main,
body > #profileMenu.profile-dropdown .profile-credit-main {
  grid-template-columns: 1fr !important;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 179, 107, .16), transparent 9rem),
    rgba(17, 25, 41, .74) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-support-pin span,
body .site-header #profileMenu.profile-dropdown .profile-credit-main span,
body .site-header #profileMenu.profile-dropdown .profile-credit-grid span,
body > #profileMenu.profile-dropdown .profile-support-pin span,
body > #profileMenu.profile-dropdown .profile-credit-main span,
body > #profileMenu.profile-dropdown .profile-credit-grid span {
  color: var(--ok-menu-muted) !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

body .site-header #profileMenu.profile-dropdown .profile-support-pin strong,
body .site-header #profileMenu.profile-dropdown .profile-credit-main strong,
body > #profileMenu.profile-dropdown .profile-support-pin strong,
body > #profileMenu.profile-dropdown .profile-credit-main strong {
  display: block !important;
  margin-top: 4px !important;
  color: var(--ok-menu-text) !important;
  font-size: 25px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

body .site-header #profileMenu.profile-dropdown .profile-support-pin button,
body > #profileMenu.profile-dropdown .profile-support-pin button {
  min-height: 34px !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 7px 10px !important;
  background: var(--ok-menu-violet) !important;
  color: #080b12 !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  cursor: pointer !important;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-grid,
body > #profileMenu.profile-dropdown .profile-credit-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 !important;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-grid > span,
body > #profileMenu.profile-dropdown .profile-credit-grid > span {
  display: grid !important;
  gap: 5px !important;
  min-height: 62px !important;
  align-content: center !important;
  padding: 10px !important;
  border: 1px solid var(--ok-menu-line) !important;
  border-radius: 14px !important;
  background: rgba(8, 12, 21, .58) !important;
  text-align: center !important;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-grid b,
body > #profileMenu.profile-dropdown .profile-credit-grid b {
  color: var(--ok-menu-blue) !important;
  font-size: 19px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-actions,
body > #profileMenu.profile-dropdown .profile-menu-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action,
body .site-header #profileMenu.profile-dropdown .profile-login-btn,
body .site-header #profileMenu.profile-dropdown .profile-login-help,
body > #profileMenu.profile-dropdown .profile-menu-action,
body > #profileMenu.profile-dropdown .profile-login-btn,
body > #profileMenu.profile-dropdown .profile-login-help {
  min-height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--ok-menu-line) !important;
  border-radius: 14px !important;
  background: rgba(17, 25, 41, .72) !important;
  color: var(--ok-menu-text) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action i,
body > #profileMenu.profile-dropdown .profile-menu-action i {
  width: 30px !important;
  height: 30px !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 30px !important;
  border-radius: 10px !important;
  background: rgba(134, 183, 255, .13) !important;
  color: var(--ok-menu-blue) !important;
  font-size: 13px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--explore i,
body > #profileMenu.profile-dropdown .profile-menu-action--explore i {
  background: rgba(99, 230, 242, .13) !important;
  color: var(--ok-menu-cyan) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--checkout i,
body > #profileMenu.profile-dropdown .profile-menu-action--checkout i {
  background: rgba(255, 179, 107, .14) !important;
  color: var(--ok-menu-orange) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--logout,
body > #profileMenu.profile-dropdown .profile-menu-action--logout {
  border-color: rgba(255, 123, 145, .20) !important;
  color: var(--ok-menu-red) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--logout i,
body > #profileMenu.profile-dropdown .profile-menu-action--logout i {
  background: rgba(255, 123, 145, .13) !important;
  color: var(--ok-menu-red) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action:hover,
body .site-header #profileMenu.profile-dropdown .profile-login-help:hover,
body > #profileMenu.profile-dropdown .profile-menu-action:hover,
body > #profileMenu.profile-dropdown .profile-login-help:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(134, 183, 255, .38) !important;
  background: rgba(134, 183, 255, .12) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-login-btn,
body > #profileMenu.profile-dropdown .profile-login-btn {
  justify-content: center !important;
  margin-top: 12px !important;
  border: 0 !important;
  background: var(--ok-menu-blue) !important;
  color: #07101d !important;
}

body .site-header #profileMenu.profile-dropdown .profile-login-help,
body > #profileMenu.profile-dropdown .profile-login-help {
  justify-content: center !important;
  margin-top: 8px !important;
  color: var(--ok-menu-blue) !important;
}

@media (max-width: 720px) {
  body .site-header #profileMenu.profile-dropdown,
  body > #profileMenu.profile-dropdown {
    top: calc(var(--okb-header-height, 66px) + 8px) !important;
    right: 10px !important;
    left: 10px !important;
    width: auto !important;
    max-height: calc(100vh - var(--okb-header-height, 66px) - 18px) !important;
    border-radius: 20px !important;
    padding: 10px !important;
  }

  body .site-header #profileMenu.profile-dropdown .profile-head,
  body > #profileMenu.profile-dropdown .profile-head {
    grid-template-columns: auto minmax(0, 1fr) !important;
  }

  body .site-header #profileMenu.profile-dropdown .profile-credit-grid,
  body .site-header #profileMenu.profile-dropdown .profile-menu-actions,
  body > #profileMenu.profile-dropdown .profile-credit-grid,
  body > #profileMenu.profile-dropdown .profile-menu-actions {
    grid-template-columns: 1fr !important;
  }
}

/* Profile dropdown v3 compact menu alignment. */
body .site-header #profileMenu.profile-dropdown,
body > #profileMenu.profile-dropdown {
  width: min(340px, calc(100vw - 24px)) !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 14px 14px 12px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-head,
body > #profileMenu.profile-dropdown .profile-head {
  padding-bottom: 11px !important;
  gap: 11px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-head img,
body .site-header #profileMenu.profile-dropdown .profile-head .avatar,
body > #profileMenu.profile-dropdown .profile-head img,
body > #profileMenu.profile-dropdown .profile-head .avatar {
  width: 48px !important;
  height: 48px !important;
  border-radius: 13px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-head strong,
body > #profileMenu.profile-dropdown .profile-head strong {
  font-size: 17px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-box,
body > #profileMenu.profile-dropdown .profile-credit-box {
  gap: 6px !important;
  padding: 9px 0 !important;
}

body .site-header #profileMenu.profile-dropdown .profile-support-pin,
body .site-header #profileMenu.profile-dropdown .profile-credit-main,
body > #profileMenu.profile-dropdown .profile-support-pin,
body > #profileMenu.profile-dropdown .profile-credit-main {
  padding: 5px 2px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-support-pin button,
body > #profileMenu.profile-dropdown .profile-support-pin button {
  min-height: 30px !important;
  padding: 6px 10px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-main strong,
body > #profileMenu.profile-dropdown .profile-credit-main strong {
  font-size: 34px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-main::after,
body > #profileMenu.profile-dropdown .profile-credit-main::after {
  height: 4px !important;
  margin-top: 8px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-grid,
body > #profileMenu.profile-dropdown .profile-credit-grid {
  padding-top: 5px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-grid > span,
body > #profileMenu.profile-dropdown .profile-credit-grid > span {
  padding: 4px 8px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-grid b,
body > #profileMenu.profile-dropdown .profile-credit-grid b {
  font-size: 18px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-actions,
body > #profileMenu.profile-dropdown .profile-menu-actions {
  gap: 1px !important;
  padding-top: 7px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action,
body > #profileMenu.profile-dropdown .profile-menu-action {
  min-height: 40px !important;
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  align-items: center !important;
  justify-content: start !important;
  justify-items: start !important;
  gap: 10px !important;
  padding: 6px 4px !important;
  text-align: left !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action::before,
body .site-header #profileMenu.profile-dropdown .profile-menu-action::after,
body .site-header #profileMenu.profile-dropdown .profile-menu-actions a::before,
body .site-header #profileMenu.profile-dropdown .profile-menu-actions a::after,
body > #profileMenu.profile-dropdown .profile-menu-action::before,
body > #profileMenu.profile-dropdown .profile-menu-action::after,
body > #profileMenu.profile-dropdown .profile-menu-actions a::before,
body > #profileMenu.profile-dropdown .profile-menu-actions a::after {
  display: none !important;
  content: none !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action i,
body > #profileMenu.profile-dropdown .profile-menu-action i {
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action span,
body > #profileMenu.profile-dropdown .profile-menu-action span {
  display: block !important;
  min-width: 0 !important;
  color: inherit !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-align: left !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action:hover,
body > #profileMenu.profile-dropdown .profile-menu-action:hover {
  background: rgba(134, 183, 255, .08) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--logout,
body > #profileMenu.profile-dropdown .profile-menu-action--logout {
  margin-top: 4px !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(255, 123, 145, .13) !important;
  color: #ff8da0 !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--logout:hover,
body > #profileMenu.profile-dropdown .profile-menu-action--logout:hover {
  background: rgba(255, 123, 145, .10) !important;
  color: #ffb0bd !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--logout:hover i,
body > #profileMenu.profile-dropdown .profile-menu-action--logout:hover i {
  background: rgba(255, 123, 145, .18) !important;
  color: #ffb0bd !important;
}

@media (max-width: 720px) {
  body .site-header #profileMenu.profile-dropdown,
  body > #profileMenu.profile-dropdown {
    max-height: calc(100vh - var(--okb-header-height, 66px) - 18px) !important;
    overflow: auto !important;
  }
}

/* Profile dropdown v4: compact logged-out state and color-aware menu hovers. */
body .site-header #profileMenu.profile-dropdown,
body > #profileMenu.profile-dropdown {
  width: min(324px, calc(100vw - 22px)) !important;
  max-height: calc(100vh - var(--okb-header-height, 72px) - 18px) !important;
  overflow: visible !important;
  padding: 12px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-actions {
  padding-top: 8px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action,
body > #profileMenu.profile-dropdown .profile-menu-action {
  width: 100% !important;
  min-height: 40px !important;
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  place-items: center start !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 6px 8px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  text-align: left !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action i,
body > #profileMenu.profile-dropdown .profile-menu-action i {
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  border-radius: 9px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action span,
body > #profileMenu.profile-dropdown .profile-menu-action span {
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  text-align: left !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--profile:hover,
body > #profileMenu.profile-dropdown .profile-menu-action--profile:hover {
  background: rgba(134, 183, 255, .12) !important;
  color: #a8c9ff !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--profile:hover i,
body > #profileMenu.profile-dropdown .profile-menu-action--profile:hover i {
  background: rgba(134, 183, 255, .20) !important;
  color: #a8c9ff !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--explore:hover,
body > #profileMenu.profile-dropdown .profile-menu-action--explore:hover {
  background: rgba(99, 230, 242, .11) !important;
  color: #86f2fb !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--explore:hover i,
body > #profileMenu.profile-dropdown .profile-menu-action--explore:hover i {
  background: rgba(99, 230, 242, .20) !important;
  color: #86f2fb !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--checkout:hover,
body > #profileMenu.profile-dropdown .profile-menu-action--checkout:hover {
  background: rgba(255, 179, 107, .12) !important;
  color: #ffc88e !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--checkout:hover i,
body > #profileMenu.profile-dropdown .profile-menu-action--checkout:hover i {
  background: rgba(255, 179, 107, .22) !important;
  color: #ffc88e !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--logout,
body > #profileMenu.profile-dropdown .profile-menu-action--logout {
  margin-top: 5px !important;
  padding: 8px !important;
  border-top: 1px solid rgba(255, 123, 145, .14) !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #ff8da0 !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--logout:hover,
body > #profileMenu.profile-dropdown .profile-menu-action--logout:hover {
  background: rgba(255, 123, 145, .12) !important;
  color: #ffb0bd !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--logout:hover i,
body > #profileMenu.profile-dropdown .profile-menu-action--logout:hover i {
  background: rgba(255, 123, 145, .22) !important;
  color: #ffb0bd !important;
}

body .site-header #profileMenu.profile-dropdown .profile-login-box,
body > #profileMenu.profile-dropdown .profile-login-box {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 4px 2px 2px !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
}

body .site-header #profileMenu.profile-dropdown .profile-login-icon,
body > #profileMenu.profile-dropdown .profile-login-icon {
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  border-radius: 14px !important;
  background:
    radial-gradient(circle at 30% 15%, rgba(99, 230, 242, .26), transparent 58%),
    rgba(134, 183, 255, .13) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-login-box h2,
body > #profileMenu.profile-dropdown .profile-login-box h2 {
  display: block !important;
  margin: 0 0 4px !important;
  color: #f7fbff !important;
  font-size: 17px !important;
  line-height: 1.12 !important;
  white-space: normal !important;
}

body .site-header #profileMenu.profile-dropdown .profile-login-box p,
body > #profileMenu.profile-dropdown .profile-login-box p {
  grid-column: 1 / -1 !important;
  margin: 4px 0 8px !important;
  color: #aebbd4 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

body .site-header #profileMenu.profile-dropdown .profile-login-btn,
body .site-header #profileMenu.profile-dropdown .profile-login-help,
body > #profileMenu.profile-dropdown .profile-login-btn,
body > #profileMenu.profile-dropdown .profile-login-help {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-height: 40px !important;
  justify-content: center !important;
  margin: 0 !important;
  border-radius: 12px !important;
  font-size: 13px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-login-btn,
body > #profileMenu.profile-dropdown .profile-login-btn {
  background: #86b7ff !important;
  color: #07101d !important;
}

body .site-header #profileMenu.profile-dropdown .profile-login-btn:hover,
body > #profileMenu.profile-dropdown .profile-login-btn:hover {
  background: #b69cff !important;
  color: #07101d !important;
}

body .site-header #profileMenu.profile-dropdown .profile-login-help,
body > #profileMenu.profile-dropdown .profile-login-help {
  border: 1px solid rgba(99, 230, 242, .22) !important;
  background: rgba(99, 230, 242, .08) !important;
  color: #86f2fb !important;
}

body .site-header #profileMenu.profile-dropdown .profile-login-help:hover,
body > #profileMenu.profile-dropdown .profile-login-help:hover {
  background: rgba(99, 230, 242, .14) !important;
}

@media (max-width: 720px) {
  body .site-header #profileMenu.profile-dropdown,
  body > #profileMenu.profile-dropdown {
    right: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-height: calc(100vh - var(--okb-header-height, 66px) - 16px) !important;
    overflow: auto !important;
  }
}

/* Profile dropdown v2: anchored premium sheet, less boxed content. */
body .site-header .header-inner {
  position: relative;
}

body .site-header #profileMenu.profile-dropdown,
body > #profileMenu.profile-dropdown {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  left: auto !important;
  width: min(360px, calc(100vw - 24px)) !important;
  gap: 0 !important;
  padding: 14px !important;
  border-radius: 22px !important;
  background:
    linear-gradient(165deg, rgba(11, 17, 29, .98), rgba(11, 14, 22, .96) 58%, rgba(30, 22, 28, .96)),
    radial-gradient(circle at 20% 0, rgba(99, 230, 242, .16), transparent 18rem) !important;
}

body .site-header #profileMenu.profile-dropdown::before,
body > #profileMenu.profile-dropdown::before {
  content: "" !important;
  position: absolute !important;
  top: -7px !important;
  right: 22px !important;
  width: 14px !important;
  height: 14px !important;
  border-top: 1px solid var(--ok-menu-line-strong) !important;
  border-left: 1px solid var(--ok-menu-line-strong) !important;
  background: rgba(11, 17, 29, .98) !important;
  transform: rotate(45deg) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-head,
body .site-header #profileMenu.profile-dropdown .profile-login-box,
body > #profileMenu.profile-dropdown .profile-head,
body > #profileMenu.profile-dropdown .profile-login-box {
  grid-template-columns: auto minmax(0, 1fr) !important;
  padding: 4px 2px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(132, 167, 229, .16) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body .site-header #profileMenu.profile-dropdown .profile-login-box,
body > #profileMenu.profile-dropdown .profile-login-box {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 12px !important;
  text-align: left !important;
}

body .site-header #profileMenu.profile-dropdown .profile-login-box .profile-login-btn,
body .site-header #profileMenu.profile-dropdown .profile-login-box .profile-login-help,
body > #profileMenu.profile-dropdown .profile-login-box .profile-login-btn,
body > #profileMenu.profile-dropdown .profile-login-box .profile-login-help {
  grid-column: 1 / -1 !important;
}

body .site-header #profileMenu.profile-dropdown .profile-head img,
body .site-header #profileMenu.profile-dropdown .profile-head .avatar,
body > #profileMenu.profile-dropdown .profile-head img,
body > #profileMenu.profile-dropdown .profile-head .avatar {
  width: 54px !important;
  height: 54px !important;
  border-radius: 15px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-head span,
body > #profileMenu.profile-dropdown .profile-head span {
  padding: 3px 8px !important;
  border-color: rgba(99, 230, 242, .18) !important;
  background: rgba(99, 230, 242, .09) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-box,
body > #profileMenu.profile-dropdown .profile-credit-box {
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(132, 167, 229, .16) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-support-pin,
body .site-header #profileMenu.profile-dropdown .profile-credit-main,
body > #profileMenu.profile-dropdown .profile-support-pin,
body > #profileMenu.profile-dropdown .profile-credit-main {
  min-height: 0 !important;
  padding: 8px 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body .site-header #profileMenu.profile-dropdown .profile-support-pin button,
body > #profileMenu.profile-dropdown .profile-support-pin button {
  border-radius: 999px !important;
  background: rgba(182, 156, 255, .18) !important;
  color: var(--ok-menu-violet) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-main strong,
body > #profileMenu.profile-dropdown .profile-credit-main strong {
  font-size: 38px !important;
  color: var(--ok-menu-blue) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-main::after,
body > #profileMenu.profile-dropdown .profile-credit-main::after {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ok-menu-blue), var(--ok-menu-cyan), var(--ok-menu-violet), var(--ok-menu-orange));
  opacity: .78;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-grid,
body > #profileMenu.profile-dropdown .profile-credit-grid {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0 !important;
  padding-top: 8px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-grid > span,
body > #profileMenu.profile-dropdown .profile-credit-grid > span {
  min-height: 0 !important;
  padding: 5px 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body .site-header #profileMenu.profile-dropdown .profile-credit-grid > span + span,
body > #profileMenu.profile-dropdown .profile-credit-grid > span + span {
  border-left: 1px solid rgba(132, 167, 229, .16) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-actions,
body > #profileMenu.profile-dropdown .profile-menu-actions {
  grid-template-columns: 1fr !important;
  gap: 2px !important;
  padding-top: 10px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action,
body > #profileMenu.profile-dropdown .profile-menu-action {
  min-height: 48px !important;
  padding: 9px 4px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action i,
body > #profileMenu.profile-dropdown .profile-menu-action i {
  border-radius: 999px !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action:hover,
body > #profileMenu.profile-dropdown .profile-menu-action:hover {
  transform: none !important;
  background: rgba(134, 183, 255, .09) !important;
}

body .site-header #profileMenu.profile-dropdown .profile-menu-action--logout,
body > #profileMenu.profile-dropdown .profile-menu-action--logout {
  margin-top: 6px !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(255, 123, 145, .14) !important;
  border-radius: 0 !important;
}

/* Archive/search result pages use the same full-width shell as filtered homefeed. */
body :where(.homefeed--taxonomy, .homefeed--search).homefeed--magnific {
  --ok-feed-shell: min(100%, 1840px);
  --ok-feed-card-min: 300px;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 calc(50% - 50vw) !important;
  padding: 0 clamp(12px, 2vw, 34px) clamp(72px, 8vw, 124px) !important;
}

body :where(.homefeed--taxonomy, .homefeed--search).homefeed--magnific :where(.ok-stock-layout, .ok-stock-results, .ok-stock-results__bar, .ok-stock-grid) {
  width: 100% !important;
  max-width: none !important;
}

body :where(.homefeed--taxonomy, .homefeed--search).homefeed--magnific .ok-stock-layout {
  margin-inline: 0 !important;
  padding-top: clamp(12px, 1.6vw, 22px) !important;
}

body :where(.homefeed--taxonomy, .homefeed--search).homefeed--magnific .ok-stock-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(14px, 1.35vw, 22px) !important;
}

@media (min-width: 1500px) {
  body :where(.homefeed--taxonomy, .homefeed--search).homefeed--magnific {
    --ok-feed-card-min: 330px;
  }
}

@media (max-width: 1180px) {
  body :where(.homefeed--taxonomy, .homefeed--search).homefeed--magnific {
    --ok-feed-card-min: 260px;
  }

  body :where(.homefeed--taxonomy, .homefeed--search).homefeed--magnific .ok-stock-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 959px) {
  body :where(.homefeed--taxonomy, .homefeed--search).homefeed--magnific .ok-stock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  body :where(.homefeed--taxonomy, .homefeed--search).homefeed--magnific {
    --ok-feed-card-min: 100%;
    padding-inline: 10px !important;
  }

  body :where(.homefeed--taxonomy, .homefeed--search).homefeed--magnific .ok-stock-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  body .site-header #profileMenu.profile-dropdown,
  body > #profileMenu.profile-dropdown {
    position: fixed !important;
    top: calc(var(--okb-header-height, 66px) + 8px) !important;
    right: 10px !important;
    left: 10px !important;
    width: auto !important;
  }

  body .site-header #profileMenu.profile-dropdown::before,
body > #profileMenu.profile-dropdown::before {
    right: 25px !important;
  }
}

/* Footer refresh: dark, colorful, and no pale status pills. */
body .okb-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(132, 167, 255, .22);
  background:
    radial-gradient(circle at 8% 0%, rgba(85, 153, 255, .22), transparent 32rem),
    radial-gradient(circle at 82% 18%, rgba(255, 124, 188, .18), transparent 30rem),
    radial-gradient(circle at 72% 100%, rgba(255, 181, 96, .16), transparent 24rem),
    linear-gradient(135deg, #070b12 0%, #0b111c 45%, #171329 100%);
  color: #d9e5ff;
}

body .okb-footer::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 78%);
  content: "";
}

body .okb-footer-shell {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - clamp(32px, 7vw, 120px)));
  max-width: 1320px;
  padding: clamp(56px, 8vw, 104px) 0 28px;
  margin-inline: auto;
}

body .okb-footer-spotlight {
  display: none;
}

body .okb-footer-spotlight > div:first-child {
  max-width: 780px;
}

body .okb-footer-spotlight span {
  color: #8ab4ff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body .okb-footer-spotlight h2 {
  max-width: 760px;
  margin: 12px 0 0;
  color: #f7fbff;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: 0;
}

body .okb-footer-spotlight p {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(222, 234, 255, .76);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
}

body .okb-footer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

body .okb-footer .okb-footer-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(138, 180, 255, .3);
  border-radius: 999px;
  background: #8ab4ff;
  color: #07111f;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(77, 139, 255, .22);
}

body .okb-footer .okb-footer-btn--soft {
  background: rgba(255, 255, 255, .06);
  color: #dce9ff;
  box-shadow: none;
}

body .okb-footer-main {
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.55fr);
  gap: clamp(42px, 7vw, 104px);
  padding: 0 0 clamp(34px, 5vw, 58px);
}

body .okb-footer-brand {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body .okb-footer-brand img {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 0 20px rgba(122, 183, 255, .38));
}

body .okb-footer-brand p,
body .okb-footer-col a,
body .okb-footer-bottom,
body .okb-footer-bottom p {
  color: rgba(220, 232, 255, .74);
}

body .okb-footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #ffcf9b;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

body .okb-footer-tags {
  display: none;
}

body .okb-footer-col h3 {
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body .okb-footer-col:nth-child(1) h3 {
  color: #8ab4ff !important;
}

body .okb-footer-col:nth-child(2) h3 {
  color: #ffcf9b !important;
}

body .okb-footer-col:nth-child(3) h3 {
  color: #9ff6d0 !important;
}

body .okb-footer-col:nth-child(4) h3 {
  color: #ff9fca !important;
}

body .okb-footer-col a {
  width: max-content;
  max-width: 100%;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  text-shadow: 0 0 18px rgba(138, 180, 255, .1);
}

body .okb-footer-col a::after {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .18s ease, transform .18s ease;
  content: "";
}

body .okb-footer-col a:hover,
body .okb-footer-col a:focus-visible {
  border-color: rgba(138, 180, 255, .48);
  color: #8ab4ff;
}

body .okb-footer-col a:hover::after,
body .okb-footer-col a:focus-visible::after {
  opacity: .8;
  transform: translateX(0);
}

body .okb-footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(143, 174, 229, .18);
  padding-top: 24px;
}

body .okb-footer-copyright {
  justify-self: center;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid rgba(143, 174, 229, .18);
  border-radius: 999px;
  background: rgba(7, 12, 22, .5);
  color: rgba(220, 232, 255, .78) !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

body .okb-footer-visitor-count {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(138, 180, 248, .34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0, rgba(122, 183, 255, .32), transparent 5rem),
    radial-gradient(circle at 92% 100%, rgba(242, 166, 203, .22), transparent 5rem),
    linear-gradient(135deg, rgba(18, 22, 29, .96), rgba(13, 17, 24, .9));
  color: #dce9ff !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .08);
}

body .okb-footer-visitor-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--ok-gradient-gemini);
  color: #07090d;
  box-shadow: 0 12px 28px rgba(122, 183, 255, .18);
}

body .okb-footer-visitor-icon i {
  color: #07090d;
  font-size: 16px;
}

body .okb-footer-visitor-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: auto;
  align-items: baseline;
  row-gap: 1px;
}

body .okb-footer-visitor-kicker {
  color: var(--ok-ink-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
}

body .okb-footer-visitor-copy strong {
  color: var(--ok-ink);
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}

body .okb-footer-payment-methods span {
  position: relative;
  min-width: 0;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid rgba(143, 174, 229, .2);
  border-radius: 14px;
  background: rgba(7, 12, 22, .72);
  color: #eaf2ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

body .okb-footer-payment-methods span::before,
body .okb-footer-payment-methods span::after {
  position: absolute;
  left: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 5;
}

body .okb-footer-payment-methods span::before {
  content: attr(data-footer-tooltip);
  bottom: calc(100% + 12px);
  padding: 7px 10px;
  border: 1px solid rgba(138, 180, 248, .35);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 249, 255, .98), rgba(219, 233, 255, .96));
  color: #09111f;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .75);
}

body .okb-footer-payment-methods span::after {
  content: "";
  bottom: calc(100% + 6px);
  width: 10px;
  height: 10px;
  background: rgba(232, 242, 255, .98);
  border-right: 1px solid rgba(138, 180, 248, .3);
  border-bottom: 1px solid rgba(138, 180, 248, .3);
  transform: translate(-50%, 8px) rotate(45deg);
}

body .okb-footer-payment-methods span:hover::before,
body .okb-footer-payment-methods span:focus-visible::before,
body .okb-footer-payment-methods span:hover::after,
body .okb-footer-payment-methods span:focus-visible::after {
  opacity: 1;
}

body .okb-footer-payment-methods span:hover::before,
body .okb-footer-payment-methods span:focus-visible::before {
  transform: translate(-50%, 0);
}

body .okb-footer-payment-methods span:hover::after,
body .okb-footer-payment-methods span:focus-visible::after {
  transform: translate(-50%, 0) rotate(45deg);
}

body .okb-footer-payment-methods span:nth-child(1) {
  border-color: rgba(122, 183, 255, .28);
}

body .okb-footer-payment-methods span:nth-child(2) {
  border-color: rgba(143, 214, 173, .3);
}

body .okb-footer-payment-methods span:nth-child(3) {
  border-color: rgba(182, 156, 255, .3);
}

body .okb-footer-payment-methods span:nth-child(4) {
  border-color: rgba(255, 179, 107, .3);
}

body .okb-footer-payment-methods i {
  color: var(--ok-sky);
  font-size: 13px;
}

body .okb-footer-payment-methods b {
  color: inherit;
  font: inherit;
}

@media (max-width: 900px) {
  body .okb-footer-spotlight,
  body .okb-footer-main,
  body .okb-footer-bottom {
    grid-template-columns: 1fr;
  }

  body .okb-footer-hero-actions,
  body .okb-footer-payment-methods {
    justify-content: flex-start;
  }

  body .okb-footer-copyright {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  body .okb-footer .okb-footer-shell {
    width: min(100% - 36px, 1320px);
  }
}

@media (max-width: 560px) {
  body .okb-footer .okb-footer-shell {
    width: min(100% - 36px, 1320px);
    padding-top: 28px;
  }

  body .okb-footer-brand {
    border-radius: 0;
  }

  body .okb-footer-payment-methods {
    flex-wrap: wrap;
  }

  body .okb-footer-payment-methods span {
    height: 38px;
    padding: 0 10px;
  }

  body .okb-footer .okb-footer-btn {
    width: 100%;
  }
}

/* Cinematic Explore dropdown. */
body .site-header .okb-nav-dropdown-toggle {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(138, 180, 255, .28);
  background:
    radial-gradient(circle at 12% 20%, rgba(138, 180, 255, .16), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(255, 207, 155, .12), transparent 30%),
    rgba(10, 14, 22, .72);
  color: #dce9ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

body .site-header .okb-nav-dropdown-toggle::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(100deg, transparent 0 24%, rgba(255, 255, 255, .14) 42%, transparent 58% 100%);
  opacity: 0;
  transform: translateX(-45%);
  transition: opacity .35s ease, transform .65s ease;
  pointer-events: none;
}

body .site-header .okb-nav-dropdown-toggle:hover::before,
body .site-header .okb-nav-dropdown.is-open > .okb-nav-dropdown-toggle::before {
  opacity: .72;
  transform: translateX(45%);
}

body .site-header .okb-nav-dropdown.is-open > .okb-nav-link,
body .site-header .okb-nav-dropdown-toggle[aria-expanded="true"] {
  border-color: rgba(159, 246, 208, .58);
  background:
    radial-gradient(circle at 16% 22%, rgba(159, 246, 208, .18), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(255, 159, 202, .18), transparent 34%),
    rgba(12, 18, 28, .9);
  color: #f4fbff;
  box-shadow: 0 0 0 3px rgba(159, 246, 208, .08), 0 18px 52px rgba(0, 0, 0, .34);
}

body .site-header .okb-nav-dropdown-toggle i {
  color: #9ff6d0;
}

body .site-header .okb-nav-mega {
  overflow: hidden;
  gap: 12px;
  border: 1px solid rgba(138, 180, 255, .28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(138, 180, 255, .18), transparent 28%),
    radial-gradient(circle at 84% 8%, rgba(255, 159, 202, .18), transparent 32%),
    radial-gradient(circle at 75% 84%, rgba(159, 246, 208, .16), transparent 34%),
    linear-gradient(160deg, rgba(10, 14, 23, .98), rgba(14, 20, 32, .96) 54%, rgba(26, 24, 43, .96));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .52), inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
}

body .site-header .okb-nav-mega::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .18;
  pointer-events: none;
}

body .site-header .okb-nav-mega::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(138, 180, 255, .8), rgba(255, 207, 155, .72), rgba(159, 246, 208, .76), transparent);
  pointer-events: none;
}

body .site-header .okb-nav-mega > * {
  position: relative;
  z-index: 1;
}

body .site-header .okb-nav-mega-intro {
  border: 1px solid rgba(138, 180, 255, .24);
  background:
    linear-gradient(140deg, rgba(10, 14, 24, .4), rgba(12, 18, 28, .82)),
    radial-gradient(circle at 12% 8%, rgba(138, 180, 255, .24), transparent 38%),
    radial-gradient(circle at 88% 82%, rgba(255, 207, 155, .18), transparent 42%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

body .site-header .okb-nav-mega-intro > span {
  color: #9ff6d0;
}

body .site-header .okb-nav-mega-intro > strong {
  max-width: 12ch;
  color: #f7fbff;
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.02;
}

body .site-header .okb-nav-mega-intro p {
  color: rgba(220, 231, 246, .76);
}

body .site-header .okb-nav-mega-intro a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(159, 246, 208, .42);
  border-radius: 999px;
  background: rgba(159, 246, 208, .13);
  color: #9ff6d0;
  text-decoration: none;
}

body .site-header .okb-nav-mega-intro a:hover {
  background: rgba(159, 246, 208, .2);
  color: #f7fbff;
}

body .site-header .okb-nav-category-grid > a {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(138, 180, 255, .22);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)),
    rgba(10, 15, 24, .72);
  color: #eef5ff;
  transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}

body .site-header .okb-nav-category-grid > a::before {
  content: "";
  position: absolute;
  inset: auto 12px 0 12px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--okb-explore-accent, #8ab4ff);
  box-shadow: 0 -12px 36px var(--okb-explore-glow, rgba(138, 180, 255, .28));
}

body .site-header .okb-nav-category-grid > a:nth-child(1) {
  --okb-explore-accent: #8ab4ff;
  --okb-explore-glow: rgba(138, 180, 255, .34);
}

body .site-header .okb-nav-category-grid > a:nth-child(2) {
  --okb-explore-accent: #ffcf9b;
  --okb-explore-glow: rgba(255, 207, 155, .34);
}

body .site-header .okb-nav-category-grid > a:nth-child(3) {
  --okb-explore-accent: #ff9fca;
  --okb-explore-glow: rgba(255, 159, 202, .32);
}

body .site-header .okb-nav-category-grid > a:hover {
  border-color: color-mix(in srgb, var(--okb-explore-accent, #8ab4ff) 68%, transparent);
  background:
    radial-gradient(circle at 15% 12%, color-mix(in srgb, var(--okb-explore-accent, #8ab4ff) 18%, transparent), transparent 42%),
    rgba(12, 18, 29, .92);
  color: #f7fbff;
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

body .site-header .okb-nav-category-grid > a > i {
  color: var(--okb-explore-accent, #8ab4ff);
  background: rgba(9, 13, 22, .92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 26px var(--okb-explore-glow, rgba(138, 180, 255, .24));
}

body .site-header .okb-nav-category-grid strong {
  color: #f7fbff;
}

body .site-header .okb-nav-category-grid small {
  color: rgba(220, 231, 246, .66);
}

body .site-header .okb-nav-mega-links {
  gap: 9px;
}

body .site-header .okb-nav-mega-links a {
  border: 1px solid rgba(138, 180, 255, .24);
  background: rgba(9, 14, 24, .58);
  color: rgba(220, 231, 246, .82);
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

body .site-header .okb-nav-mega-links a:nth-child(1) {
  border-color: rgba(138, 180, 255, .34);
  color: #8ab4ff;
}

body .site-header .okb-nav-mega-links a:nth-child(2) {
  border-color: rgba(255, 207, 155, .34);
  color: #ffcf9b;
}

body .site-header .okb-nav-mega-links a:nth-child(3) {
  border-color: rgba(159, 246, 208, .34);
  color: #9ff6d0;
}

body .site-header .okb-nav-mega-links a:hover {
  border-color: rgba(247, 251, 255, .42);
  background: rgba(255, 255, 255, .08);
  color: #f7fbff;
  transform: translateY(-1px);
}

@media (max-width: 940px) {
  body .site-header .okb-nav-mega,
  body .site-header .okb-nav-mega--categories-1,
  body .site-header .okb-nav-mega--categories-2,
  body .site-header .okb-nav-mega--categories-3 {
    width: min(560px, calc(100vw - 24px));
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body .site-header .okb-nav-mega {
    border-radius: 18px;
    padding: 12px;
  }

  body .site-header .okb-nav-category-grid {
    gap: 8px;
  }

  body .site-header .okb-nav-category-grid > a {
    min-height: 70px;
    transform: none;
  }

  body .site-header .okb-nav-category-grid > a:hover {
    transform: none;
  }

  body .site-header .okb-nav-mega-links a {
    min-height: 34px;
    padding-inline: 11px;
  }
}

/* Complete Explore menu redesign: studio panel, feature route, category lanes. */
body .site-header .okb-nav-mega--cinema,
body .site-header .okb-nav-mega--cinema.okb-nav-mega--categories-1,
body .site-header .okb-nav-mega--cinema.okb-nav-mega--categories-2,
body .site-header .okb-nav-mega--cinema.okb-nav-mega--categories-3 {
  right: -126px;
  width: min(820px, calc(100vw - 32px));
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(138, 180, 255, .2), transparent 26%),
    radial-gradient(circle at 78% 8%, rgba(255, 159, 202, .2), transparent 30%),
    radial-gradient(circle at 78% 88%, rgba(159, 246, 208, .16), transparent 34%),
    linear-gradient(160deg, rgba(8, 12, 20, .98), rgba(13, 19, 31, .98) 52%, rgba(28, 25, 42, .98));
}

body .site-header .okb-nav-cinema-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 0 4px 0 6px;
}

body .site-header .okb-nav-cinema-head span,
body .site-header .okb-nav-stage-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9ff6d0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body .site-header .okb-nav-cinema-head span i {
  color: #9ff6d0;
}

body .site-header .okb-nav-cinema-head > a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(138, 180, 255, .28);
  border-radius: 999px;
  background: rgba(138, 180, 255, .1);
  color: #dce9ff;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

body .site-header .okb-nav-cinema-head > a:hover {
  border-color: rgba(159, 246, 208, .5);
  background: rgba(159, 246, 208, .14);
  color: #f7fbff;
}

body .site-header .okb-nav-cinema-layout {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

body .site-header .okb-nav-feature {
  min-height: 256px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  overflow: hidden;
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 207, 155, .3);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, .08), rgba(7, 11, 20, .86)),
    radial-gradient(circle at 28% 18%, rgba(255, 207, 155, .32), transparent 30%),
    radial-gradient(circle at 84% 34%, rgba(138, 180, 255, .28), transparent 34%),
    linear-gradient(135deg, #182234, #101621 62%, #1f1d2f);
  color: #f7fbff;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

body .site-header .okb-nav-feature::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .28;
  pointer-events: none;
}

body .site-header .okb-nav-feature::after {
  content: "";
  position: absolute;
  width: 148px;
  height: 148px;
  right: -40px;
  top: -38px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 159, 202, .32), transparent 64%);
  pointer-events: none;
}

body .site-header .okb-nav-feature > * {
  position: relative;
  z-index: 1;
}

body .site-header .okb-nav-feature-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 207, 155, .34);
  border-radius: 999px;
  background: rgba(255, 207, 155, .12);
  color: #ffcf9b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body .site-header .okb-nav-feature strong {
  max-width: 11ch;
  color: #ffffff;
  font-size: 31px;
  line-height: 1;
  letter-spacing: 0;
}

body .site-header .okb-nav-feature small {
  max-width: 30ch;
  color: rgba(232, 240, 255, .74);
  font-size: 13px;
  line-height: 1.45;
}

body .site-header .okb-nav-feature-action {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: #9ff6d0;
  font-size: 13px;
  font-weight: 850;
}

body .site-header .okb-nav-feature:hover {
  border-color: rgba(255, 207, 155, .52);
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .28);
}

body .site-header .okb-nav-category-stage {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
}

body .site-header .okb-nav-mega--cinema .okb-nav-category-grid,
body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-1,
body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-2,
body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 10px;
  align-self: stretch;
  justify-content: stretch;
}

body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-1 {
  grid-template-columns: minmax(0, 1fr);
}

body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body .site-header .okb-nav-mega--cinema .okb-nav-category-grid > a,
body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-1 > a,
body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-2 > a:first-child,
body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-2 > a:nth-child(2),
body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-3 > a:first-child,
body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-3 > a:nth-child(2),
body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-3 > a:nth-child(3) {
  width: auto;
  height: auto;
  min-height: 204px;
  grid-column: auto;
  grid-row: auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
  align-items: stretch;
  gap: 12px;
  padding: 13px;
  border-radius: 18px;
}

body .site-header .okb-nav-mega--cinema .okb-nav-category-grid > a b {
  justify-self: start;
  color: var(--okb-explore-accent, #8ab4ff);
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

body .site-header .okb-nav-mega--cinema .okb-nav-category-grid > a > i {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 16px;
  font-size: 18px;
}

body .site-header .okb-nav-mega--cinema .okb-nav-category-grid > a span {
  align-self: end;
  min-width: 0;
  max-width: 100%;
}

body .site-header .okb-nav-mega--cinema .okb-nav-category-grid strong {
  font-size: 15px;
  line-height: 1.16;
}

body .site-header .okb-nav-mega--cinema .okb-nav-category-grid small {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.2;
}

body .site-header .okb-nav-mega--cinema .okb-nav-mega-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 0;
}

body .site-header .okb-nav-mega--cinema .okb-nav-mega-links a {
  min-height: 46px;
  justify-content: center;
  gap: 9px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 850;
}

body .site-header .okb-nav-mega--cinema .okb-nav-mega-links a i {
  color: currentColor;
}

@media (min-width: 941px) {
  body .site-header .okb-nav-mega--cinema.okb-nav-mega--categories-1,
  body .site-header .okb-nav-mega--cinema.okb-nav-mega--categories-2 {
    width: min(700px, calc(100vw - 32px));
  }
}

@media (max-width: 940px) {
  body .site-header .okb-nav-mega--cinema,
  body .site-header .okb-nav-mega--cinema.okb-nav-mega--categories-1,
  body .site-header .okb-nav-mega--cinema.okb-nav-mega--categories-2,
  body .site-header .okb-nav-mega--cinema.okb-nav-mega--categories-3 {
    right: 0;
    width: min(620px, calc(100vw - 24px));
  }

  body .site-header .okb-nav-cinema-layout {
    grid-template-columns: 1fr;
  }

  body .site-header .okb-nav-feature {
    min-height: 190px;
  }

  body .site-header .okb-nav-feature strong {
    max-width: 14ch;
    font-size: 28px;
  }

  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid > a,
  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-3 > a:first-child,
  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-3 > a:nth-child(2),
  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-3 > a:nth-child(3) {
    min-height: 132px;
  }
}

@media (max-width: 760px) {
  body .site-header .okb-nav-mega--cinema,
  body .site-header .okb-nav-mega--cinema.okb-nav-mega--categories-1,
  body .site-header .okb-nav-mega--cinema.okb-nav-mega--categories-2,
  body .site-header .okb-nav-mega--cinema.okb-nav-mega--categories-3 {
    width: 100%;
    padding: 12px;
    border-radius: 18px;
  }

  body .site-header .okb-nav-cinema-head {
    min-height: 36px;
  }

  body .site-header .okb-nav-feature {
    min-height: 168px;
    padding: 15px;
  }

  body .site-header .okb-nav-feature strong {
    font-size: 25px;
  }

  body .site-header .okb-nav-feature small {
    font-size: 12px;
  }

  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid,
  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-1,
  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-2,
  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-3 {
    grid-template-columns: 1fr;
  }

  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid > a,
  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-1 > a,
  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-2 > a:first-child,
  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-2 > a:nth-child(2),
  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-3 > a:first-child,
  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-3 > a:nth-child(2),
  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid--count-3 > a:nth-child(3) {
    min-height: 72px;
    grid-template-columns: auto 42px minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px;
  }

  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid > a b {
    align-self: center;
  }

  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid > a > i {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
  }

  body .site-header .okb-nav-mega--cinema .okb-nav-category-grid > a span {
    align-self: center;
  }

  body .site-header .okb-nav-mega--cinema .okb-nav-mega-links {
    grid-template-columns: 1fr;
  }
}

/* Explore dropdown simplified layout after removing category routes. */
body .site-header .okb-nav-mega--simple,
body .site-header .okb-nav-mega--cinema.okb-nav-mega--simple {
  right: -88px;
  width: min(680px, calc(100vw - 32px));
}

body .site-header .okb-nav-mega--simple .okb-nav-cinema-layout {
  grid-template-columns: minmax(260px, 1.04fr) minmax(250px, .96fr);
}

body .site-header .okb-nav-mega--simple .okb-nav-feature {
  min-height: 252px;
}

body .site-header .okb-nav-route-grid {
  display: grid;
  gap: 10px;
}

body .site-header .okb-nav-route-grid > a {
  min-height: 76px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(138, 180, 255, .22);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018)),
    rgba(9, 14, 24, .64);
  color: #eef5ff;
  text-decoration: none;
  transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}

body .site-header .okb-nav-route-grid > a:nth-child(1) {
  --okb-route-color: #8ab4ff;
  --okb-route-glow: rgba(138, 180, 255, .28);
}

body .site-header .okb-nav-route-grid > a:nth-child(2) {
  --okb-route-color: #ffcf9b;
  --okb-route-glow: rgba(255, 207, 155, .28);
}

body .site-header .okb-nav-route-grid > a:nth-child(3) {
  --okb-route-color: #9ff6d0;
  --okb-route-glow: rgba(159, 246, 208, .26);
}

body .site-header .okb-nav-route-grid > a > i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
  color: var(--okb-route-color, #8ab4ff);
  font-size: 17px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 26px var(--okb-route-glow, rgba(138, 180, 255, .22));
}

body .site-header .okb-nav-route-grid strong,
body .site-header .okb-nav-route-grid small {
  display: block;
}

body .site-header .okb-nav-route-grid strong {
  color: var(--okb-route-color, #f7fbff);
  font-size: 15px;
  line-height: 1.12;
}

body .site-header .okb-nav-route-grid small {
  margin-top: 5px;
  color: rgba(220, 231, 246, .68);
  font-size: 12px;
  line-height: 1.28;
}

body .site-header .okb-nav-route-grid > a:hover {
  border-color: color-mix(in srgb, var(--okb-route-color, #8ab4ff) 58%, transparent);
  background:
    radial-gradient(circle at 12% 14%, color-mix(in srgb, var(--okb-route-color, #8ab4ff) 18%, transparent), transparent 42%),
    rgba(13, 19, 31, .92);
  transform: translateX(3px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .24);
}

body .site-header .okb-nav-mega--simple .okb-nav-mega-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 940px) {
  body .site-header .okb-nav-mega--simple,
  body .site-header .okb-nav-mega--cinema.okb-nav-mega--simple {
    right: 0;
    width: min(560px, calc(100vw - 24px));
  }

  body .site-header .okb-nav-mega--simple .okb-nav-cinema-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body .site-header .okb-nav-mega--simple,
  body .site-header .okb-nav-mega--cinema.okb-nav-mega--simple {
    width: 100%;
  }

  body .site-header .okb-nav-mega--simple .okb-nav-feature {
    min-height: 160px;
  }

  body .site-header .okb-nav-route-grid > a {
    min-height: 68px;
    grid-template-columns: 40px minmax(0, 1fr);
    border-radius: 14px;
    padding: 10px;
  }

  body .site-header .okb-nav-route-grid > a > i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  body .site-header .okb-nav-route-grid > a:hover {
    transform: none;
  }

  body .site-header .okb-nav-mega--simple .okb-nav-mega-links {
    grid-template-columns: 1fr;
  }
}

/* Softer Explore palette to match the account popover mood. */
body .site-header .okb-nav-mega--cinema,
body .site-header .okb-nav-mega--cinema.okb-nav-mega--simple {
  border-color: rgba(138, 180, 255, .3);
  background:
    radial-gradient(circle at 0 0, rgba(138, 180, 255, .16), transparent 11rem),
    radial-gradient(circle at 100% 100%, rgba(255, 159, 202, .11), transparent 13rem),
    linear-gradient(145deg, rgba(8, 13, 23, .98), rgba(12, 15, 25, .98) 58%, rgba(22, 15, 24, .98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255, 255, 255, .06);
}

body .site-header .okb-nav-mega--cinema::before {
  opacity: .08;
}

body .site-header .okb-nav-mega--cinema::after {
  left: 18px;
  right: 18px;
  background: linear-gradient(90deg, transparent, rgba(138, 180, 255, .5), rgba(159, 246, 208, .34), rgba(255, 207, 155, .42), transparent);
}

body .site-header .okb-nav-dropdown-toggle {
  border-color: rgba(138, 180, 255, .26);
  background:
    radial-gradient(circle at 0 0, rgba(138, 180, 255, .12), transparent 5rem),
    rgba(9, 14, 23, .82);
  color: #dce9ff;
}

body .site-header .okb-nav-dropdown.is-open > .okb-nav-link,
body .site-header .okb-nav-dropdown-toggle[aria-expanded="true"] {
  border-color: rgba(138, 180, 255, .36);
  background:
    radial-gradient(circle at 0 0, rgba(138, 180, 255, .15), transparent 5rem),
    radial-gradient(circle at 100% 100%, rgba(159, 246, 208, .1), transparent 6rem),
    rgba(10, 15, 24, .92);
  color: #f7fbff;
  box-shadow: 0 0 0 3px rgba(138, 180, 255, .07), 0 16px 42px rgba(0, 0, 0, .28);
}

body .site-header .okb-nav-feature {
  border-color: rgba(138, 180, 255, .24);
  background:
    radial-gradient(circle at 0 0, rgba(138, 180, 255, .18), transparent 9rem),
    radial-gradient(circle at 100% 100%, rgba(255, 159, 202, .1), transparent 10rem),
    linear-gradient(145deg, rgba(11, 17, 29, .9), rgba(13, 16, 26, .95) 58%, rgba(21, 15, 24, .94));
}

body .site-header .okb-nav-feature::after {
  opacity: .42;
}

body .site-header .okb-nav-feature-kicker {
  border-color: rgba(159, 246, 208, .28);
  background: rgba(159, 246, 208, .1);
  color: #9ff6d0;
}

body .site-header .okb-nav-feature:hover {
  border-color: rgba(138, 180, 255, .38);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .24);
}

body .site-header .okb-nav-route-grid > a {
  border-color: rgba(138, 180, 255, .2);
  background:
    radial-gradient(circle at 0 0, color-mix(in srgb, var(--okb-route-color, #8ab4ff) 10%, transparent), transparent 5.5rem),
    rgba(9, 14, 24, .68);
  box-shadow: none;
}

body .site-header .okb-nav-route-grid > a > i {
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

body .site-header .okb-nav-route-grid > a:hover {
  border-color: rgba(138, 180, 255, .34);
  background:
    radial-gradient(circle at 0 0, color-mix(in srgb, var(--okb-route-color, #8ab4ff) 13%, transparent), transparent 6rem),
    rgba(11, 17, 28, .88);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}
