/*
 * Light-only Gemini-inspired presentation system.
 * Loaded after the legacy theme stylesheet so every public template shares
 * the same typography, surfaces, controls, spacing, and vibrant accents.
 */

:root {
  color-scheme: light;

  /* Core theme tokens: use these first for every new component. */
  --ok-font-sans: "Google Sans", "Product Sans", "Roboto", Arial, sans-serif;
  --ok-font-display: "Google Sans", "Product Sans", "Roboto", Arial, sans-serif;
  --ok-font-weight-regular: 400;
  --ok-font-weight-medium: 520;
  --ok-font-weight-bold: 760;
  --ok-font-weight-heavy: 900;

  --ok-page-bg: #ffffff;
  --ok-page-bg-soft: #f8fbff;
  --ok-page-bg-muted: #f8f9fa;
  --ok-surface: #ffffff;
  --ok-surface-soft: #f3f6fc;
  --ok-surface-muted: #e9eef6;
  --ok-surface-subtle: #fafbff;
  --ok-surface-glass: rgba(255, 255, 255, .9);
  --ok-surface-elevated: #ffffff;

  --ok-ink: #1f1f1f;
  --ok-ink-soft: #3c4043;
  --ok-ink-muted: #5f6368;
  --ok-ink-faint: #80868b;
  --ok-ink-inverse: #ffffff;

  --ok-blue: #0b57d0;
  --ok-blue-strong: #0842a0;
  --ok-blue-ui: #1a73e8;
  --ok-blue-soft: #e8f0fe;
  --ok-blue-surface: #f8fbff;
  --ok-sky: #a8c7fa;
  --ok-violet: #7c4dff;
  --ok-violet-soft: #c4b5fd;
  --ok-pink: #d965a7;
  --ok-pink-soft: #f6aea9;
  --ok-yellow: #fdd663;
  --ok-green: #81c995;
  --ok-red: #b3261e;
  --ok-orange: #e37400;

  --ok-border: #dadce0;
  --ok-border-soft: #e8eaed;
  --ok-border-strong: #bdc1c6;
  --ok-border-blue: #a8c7fa;
  --ok-border-glass: rgba(218, 220, 224, .82);

  --ok-gradient-gemini: linear-gradient(110deg, var(--ok-blue) 5%, var(--ok-violet) 42%, var(--ok-pink) 72%, var(--ok-orange) 100%);
  --ok-gradient-page: radial-gradient(circle at 10% 0, rgba(168, 199, 250, .55), transparent 30rem), radial-gradient(circle at 92% 8%, rgba(196, 181, 253, .38), transparent 34rem), linear-gradient(180deg, var(--ok-page-bg) 0%, var(--ok-page-bg-soft) 100%);
  --ok-gradient-card: radial-gradient(circle at 0 0, rgba(168, 199, 250, .24), transparent 34%), var(--ok-surface);
  --ok-gradient-premium: radial-gradient(circle at 0 0, rgba(168, 199, 250, .34), transparent 30%), radial-gradient(circle at 100% 100%, rgba(196, 181, 253, .22), transparent 30%), var(--ok-blue-surface);

  --ok-space-1: 4px;
  --ok-space-2: 8px;
  --ok-space-3: 12px;
  --ok-space-4: 16px;
  --ok-space-5: 20px;
  --ok-space-6: 24px;
  --ok-space-7: 28px;
  --ok-space-8: 32px;
  --ok-space-10: 40px;
  --ok-space-12: 48px;
  --ok-space-16: 64px;
  --ok-section-y: clamp(64px, 8vw, 118px);
  --ok-page-x: clamp(16px, 4vw, 56px);
  --ok-shell: 1180px;
  --ok-shell-wide: 1320px;

  --ok-radius-xs: 8px;
  --ok-radius-sm: 12px;
  --ok-radius-md: 16px;
  --ok-radius-lg: 20px;
  --ok-radius-xl: 24px;
  --ok-radius-2xl: 28px;
  --ok-radius-3xl: 34px;
  --ok-radius-pill: 999px;

  --ok-shadow-xs: 0 1px 0 rgba(255, 255, 255, .88) inset;
  --ok-shadow-soft: 0 8px 24px rgba(60, 64, 67, .08);
  --ok-shadow-card: 0 12px 34px rgba(60, 64, 67, .1);
  --ok-shadow-elevated: 0 22px 64px rgba(60, 64, 67, .14);
  --ok-shadow-premium: 0 28px 86px rgba(60, 64, 67, .16);
  --ok-shadow-blue: 0 12px 28px rgba(26, 115, 232, .24);
  --ok-focus-ring: 0 0 0 4px rgba(11, 87, 208, .18);

  --ok-control-height: 48px;
  --ok-control-height-sm: 42px;
  --ok-button-height: 52px;
  --ok-card-radius: var(--ok-radius-xl);
  --ok-panel-radius: var(--ok-radius-3xl);
  --ok-media-radius: var(--ok-radius-lg);
  --ok-thumb-ratio: 16 / 10;
  --ok-transition-fast: .18s ease;
  --ok-transition: .28s cubic-bezier(.2, .7, .2, 1);

  /* Legacy aliases kept so current templates continue to render safely. */
  --font-family-main: var(--ok-font-sans);
  --font-family-display: var(--ok-font-display);
  --color-background: var(--ok-page-bg);
  --color-background-secondary: var(--ok-page-bg-muted);
  --color-surface: var(--ok-surface);
  --color-surface-soft: var(--ok-surface-soft);
  --color-surface-muted: var(--ok-surface-muted);
  --color-surface-subtle: var(--ok-surface-subtle);
  --color-surface-elevated: var(--ok-surface-elevated);
  --color-text-body: var(--ok-ink-soft);
  --color-text-heading: var(--ok-ink);
  --color-text-muted: var(--ok-ink-muted);
  --color-text-link: var(--ok-blue);
  --color-text-black: var(--ok-ink);
  --color-primary: var(--ok-blue);
  --color-primary-button: var(--ok-blue);
  --color-primary-hover: var(--ok-blue-strong);
  --color-primary-soft: var(--ok-blue-soft);
  --color-primary-contrast: var(--ok-ink-inverse);
  --color-button-hover-text: var(--ok-ink-inverse);
  --color-secondary: var(--ok-violet);
  --color-accent: var(--ok-pink);
  --color-border: var(--ok-border);
  --color-border-strong: var(--ok-border-strong);
  --color-border-muted: var(--ok-border-soft);
  --ok-gemini-blue: var(--ok-blue);
  --ok-gemini-sky: var(--ok-sky);
  --ok-gemini-violet: var(--ok-violet-soft);
  --ok-gemini-pink: var(--ok-pink-soft);
  --ok-gemini-yellow: var(--ok-yellow);
  --ok-gemini-green: var(--ok-green);
  --ok-feed-green: var(--ok-blue);
  --ok-feed-green-hover: var(--ok-blue-strong);
  --ok-feed-green-soft: var(--ok-blue-soft);
  --ok-feed-green-border: var(--ok-border-blue);
  --ok-gemini-gradient: var(--ok-gradient-gemini);
  --ok-premium-badge-bg: var(--ok-blue-soft);
  --ok-premium-badge-text: var(--ok-blue);
  --ok-premium-badge-border: var(--ok-border-blue);
  --ok-premium-badge-shadow: rgba(11, 87, 208, .14);
  --radius-xs: var(--ok-radius-xs);
  --radius-sm: var(--ok-radius-sm);
  --radius-md: var(--ok-radius-md);
  --radius-lg: var(--ok-radius-lg);
  --radius-xl: var(--ok-radius-xl);
  --radius-2xl: var(--ok-radius-2xl);
  --radius-round: var(--ok-radius-pill);
  --radius-pill: var(--ok-radius-pill);
  --button-radius: var(--ok-radius-pill);
  --shadow-soft: var(--ok-shadow-soft);
  --shadow-card: var(--ok-shadow-card);
  --shadow-hover: var(--ok-shadow-elevated);
  --shadow-focus: var(--ok-focus-ring);
  --transition-fast: var(--ok-transition-fast);
  --transition-base: var(--ok-transition);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

.okb-tooltip {
  position: fixed;
  z-index: 99999;
  max-width: min(260px, calc(100vw - 24px));
  padding: 8px 10px;
  border: 1px solid rgba(218, 220, 224, .38);
  border-radius: var(--ok-radius-sm, 12px);
  background: rgba(31, 31, 31, .96);
  color: var(--ok-ink-inverse, #fff);
  font-family: var(--ok-font-sans, Arial, sans-serif);
  font-size: 12px;
  font-weight: var(--ok-font-weight-bold, 760);
  line-height: 1.35;
  letter-spacing: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -6px, 0) scale(.98);
  box-shadow: 0 14px 36px rgba(31, 31, 31, .22);
  transition: opacity .14s ease, transform .14s ease;
}

.okb-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(218, 220, 224, .22);
  border-bottom: 1px solid rgba(218, 220, 224, .22);
  background: rgba(31, 31, 31, .96);
  transform: translateX(-50%) rotate(45deg);
}

.okb-tooltip.is-visible {
  opacity: 1;
  transform: translate3d(-50%, -10px, 0) scale(1);
}

.okb-tooltip[data-placement="bottom"] {
  transform: translate3d(-50%, 6px, 0) scale(.98);
}

.okb-tooltip[data-placement="bottom"].is-visible {
  transform: translate3d(-50%, 10px, 0) scale(1);
}

.okb-tooltip[data-placement="bottom"]::after {
  top: -5px;
  bottom: auto;
  border: 0;
  border-left: 1px solid rgba(218, 220, 224, .22);
  border-top: 1px solid rgba(218, 220, 224, .22);
}

.okb-inline-embed {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(220px, .44fr) minmax(0, 1fr);
  gap: var(--ok-space-4, 16px);
  align-items: stretch;
  margin: 1.6em 0;
  overflow: hidden;
  border: 1px solid var(--ok-border-soft, #e8eaed);
  border-radius: var(--ok-radius-lg, 20px);
  background: var(--ok-surface, #fff);
  color: var(--ok-ink, #1f1f1f);
  box-shadow: var(--ok-shadow-soft, 0 8px 24px rgba(60, 64, 67, .08));
  container-type: inline-size;
}

.okb-inline-embed__media {
  min-width: 0;
  min-height: clamp(180px, 24vw, 260px);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ok-surface-soft, #f3f6fc);
  color: var(--ok-blue, #0b57d0);
  text-decoration: none;
}

.okb-inline-embed__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.okb-inline-embed__media span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--ok-radius-md, 16px);
  background: var(--ok-blue-soft, #e8f0fe);
  font-size: 22px;
}

.okb-inline-embed__body {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(16px, 3vw, 26px) clamp(16px, 3vw, 28px) clamp(16px, 3vw, 26px) 0;
  overflow-wrap: anywhere;
}

.okb-inline-embed__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: var(--ok-blue, #0b57d0);
  font-size: 12px;
  font-weight: var(--ok-font-weight-heavy, 900);
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.okb-inline-embed h3 {
  margin: 0;
  color: var(--ok-ink, #1f1f1f);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.14;
  letter-spacing: 0;
}

.okb-inline-embed h3 a {
  color: inherit;
  text-decoration: none;
}

.okb-inline-embed h3 a:hover {
  color: var(--ok-blue, #0b57d0);
}

.okb-inline-embed p {
  margin: 0;
  color: var(--ok-ink-muted, #5f6368);
  font-size: 14px;
  line-height: 1.6;
}

.okb-inline-embed__cta {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--ok-blue, #0b57d0);
  font-size: 13px;
  font-weight: var(--ok-font-weight-heavy, 900);
  text-decoration: none;
}

.okb-inline-embed__cta:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@container (max-width: 620px) {
  .okb-inline-embed {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .okb-inline-embed__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .okb-inline-embed__body {
    padding: 16px;
  }
}

@media (max-width: 760px) {
  .okb-inline-embed {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: var(--ok-radius-md, 16px);
  }

  .okb-inline-embed__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .okb-inline-embed__body {
    padding: 16px;
  }
}

@media (max-width: 420px) {
  .okb-inline-embed {
    margin: 1.25em 0;
  }

  .okb-inline-embed__label {
    font-size: 11px;
  }

  .okb-inline-embed h3 {
    font-size: 20px;
  }

  .okb-inline-embed p {
    font-size: 13px;
  }
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

html,
html[data-theme],
html[data-theme="dark"] {
  color-scheme: light !important;
  --ok-page-bg: #ffffff !important;
  --ok-page-bg-soft: #f8fbff !important;
  --ok-page-bg-muted: #f8f9fa !important;
  --ok-surface: #ffffff !important;
  --ok-surface-soft: #f3f6fc !important;
  --ok-surface-muted: #e9eef6 !important;
  --ok-surface-subtle: #fafbff !important;
  --ok-surface-glass: rgba(255, 255, 255, .9) !important;
  --ok-surface-elevated: #ffffff !important;
  --ok-ink: #1f1f1f !important;
  --ok-ink-soft: #3c4043 !important;
  --ok-ink-muted: #5f6368 !important;
  --ok-ink-faint: #80868b !important;
  --ok-ink-inverse: #ffffff !important;
  --ok-blue: #0b57d0 !important;
  --ok-blue-strong: #0842a0 !important;
  --ok-blue-ui: #1a73e8 !important;
  --ok-blue-soft: #e8f0fe !important;
  --ok-blue-surface: #f8fbff !important;
  --ok-sky: #a8c7fa !important;
  --ok-violet: #7c4dff !important;
  --ok-violet-soft: #c4b5fd !important;
  --ok-pink: #d965a7 !important;
  --ok-pink-soft: #f6aea9 !important;
  --ok-yellow: #fdd663 !important;
  --ok-green: #81c995 !important;
  --ok-red: #b3261e !important;
  --ok-orange: #e37400 !important;
  --ok-border: #dadce0 !important;
  --ok-border-soft: #e8eaed !important;
  --ok-border-strong: #bdc1c6 !important;
  --ok-border-blue: #a8c7fa !important;
  --ok-border-glass: rgba(218, 220, 224, .82) !important;
  --color-background: #ffffff !important;
  --color-background-secondary: #f8f9fa !important;
  --color-surface: #ffffff !important;
  --color-surface-soft: #f3f6fc !important;
  --color-surface-muted: #e9eef6 !important;
  --color-surface-subtle: #fafbff !important;
  --color-surface-elevated: #ffffff !important;
  --color-text-body: #3c4043 !important;
  --color-text-heading: #1f1f1f !important;
  --color-text-muted: #5f6368 !important;
  --color-text-link: #0b57d0 !important;
  --color-text-black: #1f1f1f !important;
  --color-primary: #0b57d0 !important;
  --color-primary-button: #0b57d0 !important;
  --color-primary-hover: #0842a0 !important;
  --color-primary-soft: #e8f0fe !important;
  --color-primary-contrast: #ffffff !important;
  --color-border: #dadce0 !important;
  --color-border-strong: #bdc1c6 !important;
  --color-border-muted: #e8eaed !important;
}

html,
body {
  background: #fff !important;
  color: var(--color-text-body) !important;
  font-family: var(--font-family-main) !important;
}

body {
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-title,
.section-title {
  color: var(--color-text-heading) !important;
  font-family: var(--font-family-display) !important;
  font-weight: 500 !important;
  letter-spacing: -.04em !important;
}

p,
li,
label,
small {
  color: inherit;
}

a {
  color: var(--color-text-link);
  text-underline-offset: .18em;
}

a:hover {
  color: #0842a0;
}

::selection {
  background: #c2e7ff;
  color: #001d35;
}

/* Global navigation */
.site-header {
  border-bottom: 1px solid rgba(218, 220, 224, .86) !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: none !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
}

.site-header .site-logo {
  border: 0 !important;
  background: transparent !important;
}

.site-header--search .header-search,
.site-header .profile-btn,
.okb-mobile-menu-toggle,
.okb-mobile-search-toggle {
  border-color: var(--color-border) !important;
  background: #f3f6fc !important;
  box-shadow: none !important;
}

.site-header .okb-header-menu-list > .menu-item > a {
  color: #444746 !important;
  font-weight: 600 !important;
}

.site-header .okb-header-menu-list > .menu-item > a:hover,
.site-header .okb-header-menu-list > .menu-item.is-open > a,
.site-header .okb-header-menu-list > .current-menu-item > a,
.site-header .okb-header-menu-list > .current-menu-ancestor > a {
  background: #e8f0fe !important;
  color: #0b57d0 !important;
  box-shadow: none !important;
}

.site-header .okb-header-menu-list .sub-menu,
.site-header .profile-menu,
.site-header .header-search-dropdown {
  border-color: var(--color-border) !important;
  background: #fff !important;
  color: #1f1f1f !important;
  box-shadow: 0 16px 40px rgba(60, 64, 67, .16) !important;
}

.site-header .okb-header-menu-list .sub-menu a:hover {
  background: #f3f6fc !important;
  color: #0b57d0 !important;
}

.site-header .okb-header-pricing,
.site-header .okb-drawer-pricing {
  border: 0 !important;
  background: #0b57d0 !important;
  color: #fff !important;
}

.site-header .okb-header-pricing *,
.site-header .okb-drawer-pricing * {
  color: #fff !important;
}

.profile-theme-toggle,
.profile-theme-switch {
  display: none !important;
}

/* Shared cards, controls and icon language */
:where(
  .feed-item,
  .ok-asset-card,
  .ok-wide-card,
  .ok-panel-card,
  .ok-license-note,
  .ok-creator-card,
  .entry,
  article[class*="card"],
  div[class*="card"]
) {
  border-color: var(--color-border) !important;
}

.feed-item,
.ok-asset-card,
.ok-wide-card,
.ok-panel-card,
.ok-license-note,
.ok-creator-card {
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.feed-item:hover,
.ok-asset-card:hover,
.ok-wide-card:hover {
  border-color: #a8c7fa !important;
  box-shadow: var(--shadow-card) !important;
  transform: translateY(-3px);
}

:where(button, .button, .btn, a[class*="btn"], a[class*="button"], input[type="submit"], input[type="button"]) {
  min-height: 46px;
  border-radius: 999px !important;
  font-family: var(--font-family-main) !important;
  font-weight: 650 !important;
}

:where(input:not([type="checkbox"]):not([type="radio"]), textarea, select) {
  min-height: 48px;
  border: 1px solid var(--color-border) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #1f1f1f !important;
  box-shadow: none !important;
}

:where(input:not([type="checkbox"]):not([type="radio"]), textarea, select):focus {
  border-color: #0b57d0 !important;
  outline: 0 !important;
  box-shadow: var(--shadow-focus) !important;
}

/* Token-based building blocks for new theme work */
.ok-theme-section {
  padding: var(--ok-section-y) var(--ok-page-x);
  background: var(--ok-page-bg);
  color: var(--ok-ink-soft);
}

.ok-theme-section--soft {
  background: var(--ok-gradient-page);
}

.ok-theme-shell {
  width: min(var(--ok-shell), 100%);
  margin-inline: auto;
}

.ok-theme-shell--wide {
  width: min(var(--ok-shell-wide), 100%);
}

.ok-theme-card {
  border: 1px solid var(--ok-border-glass);
  border-radius: var(--ok-card-radius);
  background: var(--ok-surface);
  color: var(--ok-ink-soft);
  box-shadow: var(--ok-shadow-card);
}

.ok-theme-card--premium {
  background: var(--ok-gradient-premium);
  box-shadow: var(--ok-shadow-elevated);
}

.ok-theme-media {
  aspect-ratio: var(--ok-thumb-ratio);
  overflow: hidden;
  border-radius: var(--ok-media-radius);
  background: var(--ok-surface-soft);
}

.ok-theme-media > :where(img, video) {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.ok-theme-button,
.ok-theme-button--soft {
  min-height: var(--ok-button-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ok-space-2);
  padding: 0 var(--ok-space-6);
  border-radius: var(--ok-radius-pill);
  font-weight: var(--ok-font-weight-heavy);
  text-decoration: none;
}

.ok-theme-button {
  border: 0;
  background: var(--ok-blue-ui);
  color: var(--ok-ink-inverse);
  box-shadow: var(--ok-shadow-blue);
}

.ok-theme-button:hover {
  background: var(--ok-blue);
  color: var(--ok-ink-inverse);
}

.ok-theme-button--soft {
  border: 1px solid var(--ok-border);
  background: var(--ok-surface);
  color: var(--ok-blue);
  box-shadow: none;
}

.ok-theme-badge {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: var(--ok-space-2);
  padding: 0 var(--ok-space-3);
  border-radius: var(--ok-radius-pill);
  background: var(--ok-blue-soft);
  color: var(--ok-blue);
  font-size: 12px;
  font-weight: var(--ok-font-weight-heavy);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ok-theme-control-surface {
  border: 1px solid var(--ok-border-glass);
  border-radius: var(--ok-panel-radius);
  background: var(--ok-surface-glass);
  box-shadow: var(--ok-shadow-soft);
  backdrop-filter: blur(18px) saturate(145%);
}

:where(
  .ok-help-icon,
  .ok-download-history-thumb,
  .ok-search-history-query,
  .ok-feature-icon,
  [class*="icon-box"]
) {
  background: #e8f0fe !important;
  color: #0b57d0 !important;
}

/* Page, archive and post presentation */
.site-main,
.site-content,
.content-area,
main:not(.okg-home) {
  background: #fff;
}

.site-main > .entry:not(.entry--custom-page),
.page .entry-content:not(:has(.okg-home)),
.single .site-main {
  width: min(var(--okb-page-content-width, 1180px), calc(100% - 32px));
  margin-inline: auto;
}

.site-main .entry:not(.entry--custom-page) .entry-header {
  padding: clamp(56px, 8vw, 108px) 0 34px !important;
  border: 0 !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(168, 199, 250, .48), transparent 32%),
    radial-gradient(circle at 82% 10%, rgba(196, 181, 253, .34), transparent 30%),
    #fff !important;
}

.site-main .entry:not(.entry--custom-page) .entry-header h1,
.page-title {
  max-width: 900px;
  font-size: clamp(44px, 7vw, 92px) !important;
  line-height: .98 !important;
}

.site-main .entry:not(.entry--custom-page) .entry-content {
  font-size: 17px !important;
  line-height: 1.75 !important;
}

.okb-global-page {
  padding-bottom: clamp(48px, 7vw, 92px);
}

.okb-global-page .entry-header {
  border-radius: 0 0 28px 28px;
}

.okb-global-page .entry-content {
  max-width: min(var(--okb-page-content-width, 1180px), calc(100vw - 32px));
  margin: 0 auto clamp(38px, 6vw, 72px);
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(210, 219, 235, .95);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.okb-global-page .entry-content > *:first-child {
  margin-top: 0;
}

.okb-global-page .entry-content > *:last-child {
  margin-bottom: 0;
}

.okb-global-page .entry-content h2,
.okb-global-page .entry-content h3,
.okb-global-page .entry-content h4 {
  margin: 1.7em 0 .55em;
  color: #202124;
  line-height: 1.15;
  letter-spacing: 0;
}

.okb-global-page .entry-content h2 {
  font-size: clamp(26px, 3vw, 42px);
}

.okb-global-page .entry-content h3 {
  font-size: clamp(21px, 2.2vw, 30px);
}

.okb-global-page .entry-content p,
.okb-global-page .entry-content li {
  color: #4b5563;
}

.okb-global-page .entry-content ul,
.okb-global-page .entry-content ol {
  display: grid;
  gap: 10px;
  padding-left: 1.2em;
}

.okb-global-page .entry-content a {
  color: #0b57d0;
  font-weight: 800;
  text-decoration: none;
}

.okb-global-page .entry-content a:hover {
  text-decoration: underline;
}

.okb-global-page .entry-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid #e5eaf3;
  border-radius: 14px;
}

.okb-global-page .entry-content th,
.okb-global-page .entry-content td {
  padding: 14px;
  border-bottom: 1px solid #e5eaf3;
  text-align: left;
}

.okb-global-page .entry-content th {
  background: #f6f9ff;
  color: #202124;
}

.site-main .entry-content blockquote,
.ok-single-content blockquote {
  margin: 32px 0;
  padding: 24px 28px !important;
  border: 0 !important;
  border-left: 5px solid #7c4dff !important;
  border-radius: 0 20px 20px 0 !important;
  background: #f3f0ff !important;
}

.category .page-header,
.tag .page-header,
.search .page-header {
  padding: clamp(64px, 9vw, 112px) 0 36px;
  background:
    radial-gradient(circle at 14% 30%, rgba(168, 199, 250, .55), transparent 30%),
    radial-gradient(circle at 84% 10%, rgba(246, 174, 169, .32), transparent 28%);
}

.pagination a,
.pagination span,
.feed-tabs a,
.feed-tabs button {
  border-radius: 999px !important;
}

.pagination .current,
.feed-tabs .active {
  background: #0b57d0 !important;
  color: #fff !important;
}

/* Pricing page CSS moved to assets/css/pages/pricing-page.css. */
/* Checkout page CSS moved to assets/css/pages/checkout-page.css. */
/* My profile base CSS moved to assets/css/pages/my-profile-page.css. */
/* Access, contact, policy and utility pages */
.ok-access-page,
.ok-reset-page,
.ok-contact-page,
.ok-policy-page {
  background:
    radial-gradient(circle at 8% 8%, rgba(168, 199, 250, .4), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(196, 181, 253, .3), transparent 28%),
    #fff !important;
}

.ok-access-card,
.ok-reset-card,
.ok-contact-card,
.ok-policy-shell {
  border: 1px solid #dadce0 !important;
  border-radius: 28px !important;
  background: #fff !important;
  box-shadow: var(--shadow-card) !important;
}

/* Footer */
.okb-footer {
  border-top: 1px solid #dadce0 !important;
  background:
    radial-gradient(circle at 10% 0, rgba(168, 199, 250, .55), transparent 28%),
    radial-gradient(circle at 90% 100%, rgba(196, 181, 253, .32), transparent 30%),
    #f8f9fa !important;
  color: #3c4043 !important;
}

.okb-footer-brand p,
.okb-footer-col a,
.okb-footer-mini span,
.okb-footer-bottom,
.okb-footer-visitor-count span {
  color: #5f6368 !important;
}

.okb-footer-col h3,
.okb-footer-mini strong,
.okb-footer-secure-payments > strong {
  color: #1f1f1f !important;
}

.okb-footer-mini,
.okb-footer-tags span,
.okb-footer-visitor-count,
.okb-footer-payment-methods span {
  border-color: #dadce0 !important;
  background: rgba(255, 255, 255, .72) !important;
  color: #1f1f1f !important;
}

.okb-footer-btn {
  background: #0b57d0 !important;
  color: #fff !important;
}

.okb-footer-btn--soft {
  border: 1px solid #dadce0 !important;
  background: #fff !important;
  color: #0b57d0 !important;
}

@media (max-width: 1100px) {
  body .ok-credit-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 780px) {
  body .ok-credit-plans {
    grid-template-columns: 1fr !important;
  }

  body .ok-credit-card {
    min-height: auto !important;
  }

  body .ok-profile-tabs {
    border-radius: 22px;
  }

  body .ok-subscription-benefit-grid,
  body .ok-subscription-faq {
    grid-template-columns: 1fr;
  }

  body .ok-subscription-benefit-grid i {
    margin-bottom: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* =========================================================
   COMPLETE GEMINI EDITORIAL REFINEMENT
   These final rules intentionally replace remaining legacy presentation.
========================================================= */

/* Search: one calm, rounded prompt surface everywhere */
.header-search {
  min-height: 56px !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 0 !important;
  padding: 5px !important;
  overflow: visible !important;
  border: 1px solid #d3d8e1 !important;
  border-radius: 999px !important;
  background: #f3f6fc !important;
  box-shadow: none !important;
}

.header-search .mobile-search-back {
  display: none !important;
}

.header-search:focus-within {
  border-color: #a8c7fa !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(168, 199, 250, .25) !important;
}

.header-search .asset-type-select-wrap {
  min-width: 0 !important;
}

.header-search .asset-category-button {
  width: auto !important;
  min-width: 52px !important;
  height: 46px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #444746 !important;
  box-shadow: none !important;
}

.header-search .asset-category-button:hover,
.header-search .asset-category-button[aria-expanded="true"] {
  background: #e8f0fe !important;
  color: #0b57d0 !important;
}

.header-search .header-search-field {
  min-height: 46px !important;
  height: 46px !important;
  padding: 0 10px 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
}

.header-search .search-icon {
  color: #0b57d0 !important;
}

.header-search .header-search-field input[type="search"] {
  min-height: 42px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #1f1f1f !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}

.header-search .header-search-field input[type="search"]::placeholder {
  color: #747775 !important;
  font-weight: 400 !important;
}

.header-search .asset-category-menu,
.header-search .header-search-dropdown {
  margin-top: 10px !important;
  overflow: hidden !important;
  border: 1px solid #dadce0 !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 18px 48px rgba(60, 64, 67, .18) !important;
}

.header-search .asset-category-option,
.header-search .ps-quick-chip {
  border-radius: 14px !important;
  color: #444746 !important;
}

.header-search .asset-category-option:hover,
.header-search .asset-category-option.is-active,
.header-search .ps-quick-chip:hover {
  background: #e8f0fe !important;
  color: #0b57d0 !important;
}

/* Homepage CSS moved to assets/css/pages/homepage.css. */
/* Single post CSS moved to assets/css/pages/single-post-page.css. */
/* Text animations remain restrained and purposeful */
.okg-reveal,
.okb-gemini-reveal {
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.2, .7, .2, 1) !important;
}

@keyframes okbGeminiGradient {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@media (max-width: 900px) {
  .header-search {
    grid-template-columns: 48px minmax(0, 1fr) !important;
  }

  .header-search .asset-category-current span,
  .header-search .asset-category-chevron {
    display: none !important;
  }

  .okg-home .okg-hero-search {
    border-radius: 28px !important;
  }

  body.okb-search-open .site-header--search .header-search .mobile-search-back {
    display: inline-flex !important;
  }
}

@media (max-width: 560px) {
  .okg-home .okg-display {
    width: 100%;
    max-width: 100%;
    font-size: clamp(48px, 14.5vw, 62px) !important;
    line-height: .92 !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  .okg-home .okg-hero-copy {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .okg-home .okg-hero-lead {
    width: 100%;
    max-width: 100%;
    padding-inline: 6px;
    font-size: 17px !important;
  }

  .okg-home .okg-shell {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
  }
}

/* =========================================================
   PRODUCTION SHELL — CLEAN HEADER, SEARCH, FOOTER, FULL WIDTH
========================================================= */
html {
  overflow-x: clip;
}

body.okb-gemini-site {
  min-width: 320px;
  overflow-x: clip;
  background: #fff !important;
}

.okb-skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100000;
  padding: 12px 18px;
  border-radius: 999px;
  background: #0b57d0;
  color: #fff !important;
  transition: top .2s ease;
}

.okb-skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky !important;
  top: 0;
  z-index: 10000;
  width: 100%;
  border: 0 !important;
  border-bottom: 1px solid rgba(218, 220, 224, .82) !important;
  background: rgba(255, 255, 255, .92) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
}

.site-header .header-inner {
  position: relative;
  width: 100% !important;
  max-width: none !important;
  min-height: 76px;
  display: grid !important;
  grid-template-columns: auto minmax(320px, 1fr) auto auto !important;
  align-items: center;
  gap: 14px !important;
  margin: 0 !important;
  padding: 10px clamp(16px, 2.6vw, 42px) !important;
}

.site-header .site-logo {
  width: 62px !important;
  height: 62px !important;
  display: grid !important;
  place-items: center;
  border: 0 !important;
  border-radius: 16px !important;
  background: transparent !important;
}

.site-header .site-logo img {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain;
}

.okb-header-search {
  min-width: 0;
}

.okb-header-search .header-search {
  width: min(100%, 900px);
}

.okb-header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.okb-nav-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #444746 !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.okb-nav-link:hover,
.okb-nav-dropdown.is-open > .okb-nav-link {
  background: #e8f0fe !important;
  color: #0b57d0 !important;
}

.okb-nav-dropdown {
  position: relative;
}

.okb-nav-dropdown-toggle {
  cursor: pointer;
}

.okb-nav-dropdown-toggle i {
  font-size: 10px;
  transition: transform .2s ease;
}

.okb-nav-dropdown.is-open .okb-nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.okb-nav-mega {
  position: absolute;
  top: calc(100% + 14px);
  right: -180px;
  width: min(940px, calc(100vw - 40px));
  display: none;
  grid-template-columns: minmax(230px, .8fr) minmax(0, 1.6fr);
  gap: 24px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #dadce0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 0 0, rgba(168, 199, 250, .42), transparent 34%),
    #fff;
  box-shadow: 0 24px 70px rgba(60, 64, 67, .18);
}

.okb-nav-dropdown.is-open .okb-nav-mega {
  display: grid;
}

.okb-nav-mega-intro {
  padding: 20px;
  border-radius: 22px;
  background: #f3f6fc;
}

.okb-nav-mega-intro > span {
  color: #0b57d0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.okb-nav-mega-intro > strong {
  display: block;
  margin-top: 14px;
  color: #1f1f1f;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.04;
}

.okb-nav-mega-intro p {
  margin: 14px 0 20px;
  color: #5f6368;
  font-size: 14px;
  line-height: 1.55;
}

.okb-nav-mega-intro a {
  color: #0b57d0 !important;
  font-weight: 650;
  text-decoration: none;
}

.okb-nav-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.okb-nav-category-grid > a {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid #e4e7ec;
  border-radius: 18px;
  background: #fff;
  color: #1f1f1f !important;
  text-decoration: none;
}

.okb-nav-category-grid > a:hover {
  border-color: #a8c7fa;
  background: #f8fbff !important;
}

.okb-nav-category-grid > a > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 14px;
  background: #e8f0fe;
  color: #0b57d0;
}

.okb-nav-category-grid strong,
.okb-nav-category-grid small {
  display: block;
}

.okb-nav-category-grid strong {
  color: #1f1f1f;
  font-size: 14px;
}

.okb-nav-category-grid small {
  margin-top: 3px;
  color: #747775;
  font-size: 12px;
}

.okb-nav-mega-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.okb-nav-mega-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f6fc;
  color: #444746 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header .okb-header-pricing {
  min-height: 44px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(110deg, #0b57d0, #7c4dff) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.profile-btn,
.okb-mobile-menu-toggle,
.okb-mobile-search-toggle {
  width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  display: grid !important;
  place-items: center;
  flex: 0 0 44px;
  padding: 0 !important;
  border: 1px solid #dadce0 !important;
  border-radius: 50% !important;
  background: #f8f9fa !important;
  color: #444746 !important;
  cursor: pointer;
}

.profile-btn .avatar,
.profile-btn .profile-avatar {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  object-fit: cover;
}

.profile-avatar--guest {
  display: grid;
  place-items: center;
  color: #5f6368;
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: clamp(16px, 2.6vw, 42px);
  z-index: 10020;
  width: min(390px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid #dadce0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(60, 64, 67, .2);
}

.profile-dropdown[hidden] {
  display: none !important;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  background:
    radial-gradient(circle at 0 0, rgba(168, 199, 250, .52), transparent 44%),
    #f8fbff;
}

.profile-head img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.profile-head span,
.profile-head strong,
.profile-head small {
  display: block;
}

.profile-head span {
  color: #0b57d0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-head strong {
  margin-top: 2px;
  color: #1f1f1f;
  font-size: 18px;
}

.profile-head small {
  margin-top: 2px;
  overflow: hidden;
  color: #5f6368;
  text-overflow: ellipsis;
}

.profile-credit-box {
  margin: 16px;
  padding: 18px;
  border-radius: 22px;
  background: #f3f6fc;
}

.profile-credit-main {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.profile-credit-main span {
  color: #5f6368;
  font-size: 13px;
}

.profile-credit-main strong {
  color: #0b57d0;
  font-size: 34px;
  font-weight: 500;
}

.profile-credit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.profile-credit-grid > span {
  padding: 10px 6px;
  border-radius: 14px;
  background: #fff;
  color: #5f6368;
  font-size: 11px;
  text-align: center;
}

.profile-credit-grid b {
  display: block;
  color: #1f1f1f;
  font-size: 16px;
}

.profile-menu-actions {
  display: grid;
  gap: 4px;
  padding: 0 12px 14px;
}

.profile-menu-actions a {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #444746 !important;
  font-weight: 600;
  text-decoration: none;
}

.profile-menu-actions a:hover {
  background: #e8f0fe !important;
  color: #0b57d0 !important;
}

.profile-menu-actions i {
  width: 22px;
  color: #0b57d0;
  text-align: center;
}

.profile-login-box {
  padding: 28px;
  text-align: center;
}

.profile-login-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: #e8f0fe;
  color: #0b57d0;
  font-size: 22px;
}

.profile-login-box h2 {
  margin: 0;
  font-size: 28px !important;
}

.profile-login-box p {
  margin: 10px 0 22px;
  color: #5f6368;
}

.profile-login-btn,
.profile-login-help {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
}

.profile-login-btn {
  background: #0b57d0;
  color: #fff !important;
}

.profile-login-help {
  margin-top: 8px;
  color: #0b57d0 !important;
}

.okb-mobile-menu-toggle,
.okb-mobile-search-toggle,
.okb-header-drawer-head,
.okb-mobile-nav-actions {
  display: none !important;
}

.okb-menu-backdrop {
  display: none;
}

/* Clean search behavior */
.header-search {
  position: relative;
  min-height: 52px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center;
  padding: 4px 5px 4px 16px !important;
  overflow: visible !important;
  border: 1px solid #dadce0 !important;
  border-radius: 999px !important;
  background: #f3f6fc !important;
}

.header-search:focus-within {
  border-color: #a8c7fa !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(168, 199, 250, .22) !important;
}

.header-search-field {
  min-width: 0;
  min-height: 42px !important;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 !important;
}

.header-search-field .search-icon {
  color: #0b57d0 !important;
}

.header-search-field input[type="search"] {
  width: 100%;
  min-height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #1f1f1f !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
}

.asset-type-select-wrap {
  position: relative;
}

.asset-category-input {
  display: none;
}

.asset-category-button {
  min-height: 42px !important;
  display: flex !important;
  align-items: center;
  gap: 9px;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #444746 !important;
  font-size: 13px;
  font-weight: 600 !important;
  white-space: nowrap;
}

.asset-category-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.asset-category-chevron {
  font-size: 10px;
}

.asset-category-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10030;
  width: min(330px, calc(100vw - 28px));
  max-height: 430px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #dadce0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 56px rgba(60, 64, 67, .18);
}

.asset-category-menu[hidden],
.header-search-dropdown[hidden] {
  display: none !important;
}

.asset-category-option {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border: 0;
  border-radius: 14px !important;
  background: transparent !important;
  color: #444746 !important;
  cursor: pointer;
  text-align: left;
}

.asset-category-option:hover,
.asset-category-option.is-active {
  background: #e8f0fe !important;
  color: #0b57d0 !important;
}

.asset-category-option > i {
  width: 24px;
  color: #0b57d0;
  text-align: center;
}

.asset-category-option small {
  margin-left: auto;
  color: #747775;
}

.header-search-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 10025;
  width: min(760px, calc(100vw - 28px));
  max-height: min(74vh, 720px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid #dadce0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(60, 64, 67, .2);
}

.okb-search-suggest-head > span {
  color: #0b57d0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.okb-search-suggest-head > strong {
  display: block;
  margin-top: 7px;
  color: #1f1f1f;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.04em;
}

.okb-search-suggest-section {
  margin-top: 24px;
}

.okb-search-suggest-section h2 {
  margin: 0 0 12px;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.okb-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.okb-search-chips button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  background: #fff;
  color: #444746;
  cursor: pointer;
}

.okb-search-chips button:hover {
  border-color: #a8c7fa;
  background: #e8f0fe;
  color: #0b57d0;
}

.okb-search-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.okb-search-section-head a {
  color: #0b57d0 !important;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.okb-search-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.okb-search-category-grid > a {
  min-width: 0;
  padding: 10px;
  border: 1px solid #e4e7ec;
  border-radius: 18px;
  color: #1f1f1f !important;
  text-decoration: none;
}

.okb-search-category-grid > a:hover {
  border-color: #a8c7fa;
  background: #f8fbff !important;
}

.okb-search-category-media {
  aspect-ratio: 1.35;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 9px;
  border-radius: 13px;
  background: #e8f0fe;
  color: #0b57d0;
}

.okb-search-category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.okb-search-category-grid strong,
.okb-search-category-grid small {
  display: block;
}

.okb-search-category-grid strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.okb-search-category-grid small {
  margin-top: 2px;
  color: #747775;
  font-size: 11px;
}

.mobile-search-back {
  display: none !important;
}

/* Full-width content system */
body:not(.home) :where(.site-main, .site-content, .content-area, main) {
  width: 100% !important;
  max-width: none !important;
}

body:not(.home) .site-main > :where(article, section, .entry),
body:not(.home) .entry-content {
  max-width: none !important;
}

.entry-content,
.site-main,
.content-area {
  box-shadow: none !important;
}

/* Clean footer */
.okb-footer {
  margin-top: 0 !important;
  border-top: 1px solid #dadce0 !important;
  background:
    radial-gradient(circle at 10% 0, rgba(168, 199, 250, .56), transparent 30%),
    radial-gradient(circle at 90% 100%, rgba(196, 181, 253, .35), transparent 32%),
    #f8f9fa !important;
  color: #3c4043 !important;
}

.okb-footer-shell {
  width: 100% !important;
  max-width: none !important;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 80px) 28px !important;
}

.okb-footer-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: clamp(54px, 7vw, 90px);
  border-bottom: 1px solid #dadce0;
}

.okb-footer-hero > div:first-child {
  max-width: 820px;
}

.okb-footer-hero span {
  color: #0b57d0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.okb-footer-hero h2 {
  margin: 16px 0 0;
  font-size: clamp(48px, 7vw, 100px) !important;
  line-height: .94 !important;
}

.okb-footer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.okb-footer .okb-footer-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 0 !important;
  border-radius: 999px !important;
  background: #0b57d0 !important;
  color: #fff !important;
  font-weight: 650;
  text-decoration: none;
}

.okb-footer .okb-footer-btn--soft {
  border: 1px solid #dadce0 !important;
  background: #fff !important;
  color: #0b57d0 !important;
}

.okb-footer-main {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.6fr);
  gap: clamp(50px, 8vw, 120px);
  padding: clamp(54px, 7vw, 90px) 0;
}

.okb-footer-brand img {
  width: 56px;
  height: 56px;
}

.okb-footer-brand p {
  max-width: 410px;
  margin: 22px 0 0;
  color: #5f6368 !important;
  font-size: 16px;
  line-height: 1.65;
}

.okb-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.okb-footer-tags span,
.okb-footer-visitor-count {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: #444746 !important;
  font-size: 12px;
  font-weight: 600;
}

.okb-footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 60px);
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.okb-footer-col h3 {
  margin: 0 0 18px;
  color: #1f1f1f !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase;
}

.okb-footer-col a {
  display: block;
  margin: 0 0 12px;
  color: #5f6368 !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.okb-footer-col a:hover {
  color: #0b57d0 !important;
}

.okb-footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid #dadce0;
  color: #5f6368 !important;
}

.okb-footer-bottom p {
  margin: 0;
  color: #5f6368;
  font-size: 12px;
}

.okb-footer-payment-methods {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.okb-footer-payment-methods span {
  min-width: 36px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border: 1px solid #dadce0;
  border-radius: 9px;
  background: #fff !important;
  color: #444746 !important;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .site-header .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
  }

  .okb-header-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10040;
    width: min(430px, calc(100vw - 18px));
    display: block;
    padding: 18px;
    overflow-y: auto;
    border-left: 1px solid #dadce0;
    border-radius: 28px 0 0 28px;
    background: #fff;
    box-shadow: -28px 0 80px rgba(60, 64, 67, .2);
    transform: translateX(105%);
    transition: transform .28s ease;
  }

  body.okb-menu-open .okb-header-nav {
    transform: translateX(0);
  }

  .okb-header-drawer-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
  }

  .okb-drawer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1f1f1f !important;
    font-weight: 650;
    text-decoration: none;
  }

  .okb-drawer-logo img {
    width: 48px;
    height: 48px;
  }

  .okb-header-drawer-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #dadce0;
    border-radius: 50%;
    background: #f8f9fa;
  }

  .okb-nav-link {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    margin-bottom: 6px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f8f9fa;
  }

  .okb-nav-dropdown {
    position: static;
  }

  .okb-nav-mega {
    position: static;
    width: auto;
    grid-template-columns: 1fr;
    margin: 8px 0 12px;
    padding: 12px;
    border-radius: 20px;
    box-shadow: none;
  }

  .okb-nav-category-grid {
    grid-template-columns: 1fr;
  }

  .okb-nav-mega-intro {
    display: none;
  }

  .okb-mobile-nav-actions {
    display: grid !important;
    gap: 8px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #dadce0;
  }

  .okb-mobile-nav-actions a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: #e8f0fe;
    color: #0b57d0 !important;
    font-weight: 650;
    text-decoration: none;
  }

  .okb-mobile-menu-toggle {
    display: grid !important;
  }

  .okb-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10035;
    border: 0;
    background: rgba(32, 33, 36, .42);
    backdrop-filter: blur(4px);
  }

  body.okb-menu-open .okb-menu-backdrop {
    display: block;
  }

  body.okb-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 760px) {
  .site-header .header-inner {
    min-height: 66px;
    grid-template-columns: auto 1fr auto !important;
    padding: 8px 12px !important;
  }

  .site-header .site-logo {
    width: 56px !important;
    height: 56px !important;
  }

  .okb-header-search {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: none;
    padding: 10px;
    background: #fff;
  }

  body.okb-search-open .okb-header-search {
    display: block;
  }

  body.okb-search-open {
    overflow: hidden;
  }

  .okb-header-search .header-search {
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center;
    padding-left: 5px !important;
  }

  .okb-header-search .mobile-search-back {
    width: 42px;
    height: 42px;
    display: grid !important;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #e8f0fe;
    color: #0b57d0;
  }

  .okb-header-search .header-search-dropdown {
    top: calc(100% + 8px);
    width: 100%;
    max-height: calc(100vh - 90px);
  }

  .okb-header-search .asset-category-current span,
  .okb-header-search .asset-category-chevron {
    display: none;
  }

  .okb-header-search .asset-category-button {
    width: 42px;
    padding: 0 !important;
    justify-content: center;
  }

  .okb-header-search .asset-category-menu {
    position: fixed;
    top: 72px;
    left: 10px;
    right: 10px;
    width: auto;
  }

  .okb-mobile-search-toggle {
    display: grid !important;
  }

  .site-header .okb-header-pricing {
    display: none !important;
  }

  .header-actions {
    gap: 6px;
  }

  .okb-search-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .okb-footer-hero,
  .okb-footer-main {
    display: grid;
    grid-template-columns: 1fr;
  }

  .okb-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .okb-footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .okb-footer-payment-methods {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .profile-btn {
    display: none !important;
  }

  .okb-footer-links {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PAGE FAMILIES — FEED, INSPIRATION, SEARCH, PRODUCT, ACCOUNT
========================================================= */
.okb-mobile-menu-toggle i,
.okb-mobile-search-toggle i,
.profile-btn i,
.okb-header-drawer-close i {
  color: #444746 !important;
}

.okb-mobile-search-toggle::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid #444746;
  border-radius: 50%;
  box-sizing: border-box;
}

.okb-mobile-search-toggle::after {
  content: "";
  width: 7px;
  height: 2px;
  position: absolute;
  translate: 7px 7px;
  rotate: 45deg;
  border-radius: 2px;
  background: #444746;
}

.okb-mobile-menu-toggle {
  position: relative;
}

.okb-mobile-menu-toggle::before,
.okb-mobile-menu-toggle::after {
  content: "";
  width: 18px;
  height: 2px;
  position: absolute;
  left: 12px;
  border-radius: 2px;
  background: #444746;
  box-shadow: 0 6px 0 #444746;
}

.okb-mobile-menu-toggle::before {
  top: 14px;
}

.okb-mobile-menu-toggle::after {
  top: 26px;
  box-shadow: none;
}

.okb-mobile-search-toggle i,
.okb-mobile-menu-toggle i {
  display: none !important;
}

.profile-avatar--guest::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #9aa0a6;
  box-shadow: 0 13px 0 5px #9aa0a6;
}

/* Homefeed and explore CSS moved to assets/css/pages/homefeed.css, assets/css/pages/explore-page.css. */
/* Premium Gemini-style profile avatar + account dropdown */
.site-header .profile-btn {
  position: relative !important;
  width: 52px !important;
  height: 52px !important;
  padding: 4px !important;
  border: 1px solid rgba(218,220,224,.9) !important;
  border-radius: 999px !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #a8c7fa, #c4b5fd, #f6aea9) border-box !important;
  box-shadow: 0 8px 24px rgba(60,64,67,.1) !important;
}

.site-header .profile-btn::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #34a853;
  box-shadow: 0 2px 8px rgba(52,168,83,.32);
}

.site-header .profile-btn:hover,
.site-header .profile-btn[aria-expanded="true"] {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #0b57d0, #7c4dff, #d965a7) border-box !important;
  box-shadow: 0 12px 34px rgba(60,64,67,.16) !important;
  transform: translateY(-1px) !important;
}

.profile-btn .avatar,
.profile-btn .profile-avatar,
.profile-btn .profile-avatar--guest {
  width: 42px !important;
  height: 42px !important;
  border: 0 !important;
  border-radius: 999px !important;
  object-fit: cover !important;
}

.profile-dropdown {
  width: min(390px, calc(100vw - 24px)) !important;
  overflow: hidden !important;
  border: 1px solid rgba(218,220,224,.95) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 8% 0, rgba(168,199,250,.35), transparent 30%),
    radial-gradient(circle at 100% 12%, rgba(196,181,253,.22), transparent 34%),
    rgba(255,255,255,.96) !important;
  box-shadow: 0 26px 80px rgba(60,64,67,.2) !important;
  backdrop-filter: blur(18px);
}

.profile-dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 28px;
  width: 14px;
  height: 14px;
  border-left: 1px solid rgba(218,220,224,.95);
  border-top: 1px solid rgba(218,220,224,.95);
  background: rgba(255,255,255,.96);
  transform: rotate(45deg);
}

.profile-head {
  padding: 24px 24px 22px !important;
  background:
    radial-gradient(circle at 12% 0, rgba(168,199,250,.34), transparent 34%),
    linear-gradient(180deg, rgba(248,251,255,.92), rgba(255,255,255,.72)) !important;
  border-bottom: 1px solid #e8eaed !important;
}

.profile-head img {
  width: 62px !important;
  height: 62px !important;
  border: 3px solid #fff;
  box-shadow: 0 10px 28px rgba(60,64,67,.14);
}

.profile-head span {
  color: #0b57d0 !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
}

.profile-head strong {
  margin-top: 6px !important;
  color: #1f1f1f !important;
  font-size: 21px !important;
  line-height: 1.1 !important;
}

.profile-head small {
  max-width: 250px;
  color: #5f6368 !important;
  font-size: 14px !important;
}

.profile-credit-box {
  margin: 18px 18px 14px !important;
  padding: 18px !important;
  border: 1px solid #e8eaed;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(168,199,250,.28), transparent 30%),
    #f8fbff !important;
}

.profile-credit-main {
  align-items: center !important;
}

.profile-credit-main span {
  color: #5f6368 !important;
  font-weight: 750;
}

.profile-credit-main strong {
  background: linear-gradient(100deg, #0b57d0, #7c4dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-size: 38px !important;
  font-weight: 650 !important;
  letter-spacing: -.04em;
}

.profile-credit-grid {
  gap: 10px !important;
}

.profile-credit-grid > span {
  min-height: 66px;
  display: grid !important;
  place-items: center;
  padding: 10px 6px !important;
  border: 1px solid #eef2ff;
  border-radius: 18px !important;
  background: #fff !important;
  color: #5f6368 !important;
  font-size: 12px !important;
}

.profile-credit-grid b {
  color: #1f1f1f !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

.profile-menu-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 4px 14px 16px !important;
}

.profile-menu-actions a {
  min-height: 74px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 12px 10px !important;
  border: 1px solid #e8eaed !important;
  border-radius: 20px !important;
  background: #fff !important;
  color: #3c4043 !important;
  font-weight: 850 !important;
  text-align: center !important;
}

.profile-menu-actions a i {
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 13px;
  background: #f3f6fc;
  color: #0b57d0 !important;
}

.profile-menu-actions a:hover {
  background: #e8f0fe !important;
  color: #0b57d0 !important;
}

.profile-menu-actions a:hover i {
  background: #fff;
}

/* Professional Gemini-style My Profile dashboard hero + tabs */
body .ok-profile-page {
  width: min(1320px, calc(100% - clamp(28px, 5vw, 80px))) !important;
  max-width: 1320px !important;
  margin-inline: auto !important;
  padding: clamp(42px, 7vw, 82px) 0 clamp(72px, 9vw, 128px) !important;
  background: transparent !important;
}

body .ok-profile-hero {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center !important;
  gap: clamp(24px, 4vw, 54px) !important;
  min-height: 260px;
  padding: clamp(30px, 5vw, 58px) !important;
  overflow: hidden;
  border: 1px solid rgba(218,220,224,.9) !important;
  border-radius: 36px !important;
  background:
    radial-gradient(circle at 0 0, rgba(168,199,250,.5), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(246,174,169,.34), transparent 34%),
    linear-gradient(135deg, rgba(248,251,255,.95), rgba(255,255,255,.92)) !important;
  box-shadow: 0 24px 80px rgba(60,64,67,.1) !important;
}

body .ok-profile-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -32% 42%;
  height: 220px;
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(168,199,250,.18), rgba(196,181,253,.16), rgba(246,174,169,.16));
  filter: blur(34px);
  pointer-events: none;
}

body .ok-profile-user {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center !important;
  gap: clamp(18px, 3vw, 30px) !important;
}

body .ok-profile-avatar {
  display: grid;
  place-items: center;
  width: clamp(92px, 10vw, 124px);
  height: clamp(92px, 10vw, 124px);
  border-radius: 32px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #a8c7fa, #c4b5fd, #f6aea9) border-box;
  border: 1px solid transparent;
  box-shadow: 0 18px 48px rgba(60,64,67,.14);
}

body .ok-profile-avatar img {
  width: calc(100% - 16px) !important;
  height: calc(100% - 16px) !important;
  border: 0 !important;
  border-radius: 26px !important;
  object-fit: cover !important;
}

body .ok-profile-badge {
  width: max-content;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 8px 13px !important;
  border: 1px solid rgba(168,199,250,.85) !important;
  border-radius: 999px !important;
  background: rgba(232,240,254,.82) !important;
  color: #0b57d0 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body .ok-profile-hero h1 {
  margin: 0 !important;
  color: #1f1f1f !important;
  font-size: clamp(46px, 6vw, 84px) !important;
  line-height: .95 !important;
  letter-spacing: -.055em !important;
}

body .ok-profile-hero p {
  margin: 14px 0 0 !important;
  color: #5f6368 !important;
  font-size: 17px !important;
  line-height: 1.5 !important;
  word-break: break-word !important;
}

body .ok-profile-hero > .ok-hero-btn {
  position: relative;
  z-index: 1;
  min-width: 150px;
  justify-self: end;
}

body .ok-profile-tabs {
  position: sticky !important;
  top: 82px !important;
  z-index: 30 !important;
  width: max-content !important;
  max-width: 100% !important;
  display: flex !important;
  gap: 6px !important;
  margin: 28px auto 34px !important;
  padding: 6px !important;
  overflow-x: auto !important;
  border: 1px solid rgba(218,220,224,.9) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 14px 42px rgba(60,64,67,.1) !important;
  backdrop-filter: blur(18px);
}

body .ok-tab {
  min-height: 46px !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #5f6368 !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

body .ok-tab:hover {
  background: #f3f6fc !important;
  color: #0b57d0 !important;
}

body .ok-tab.active {
  background: #0b57d0 !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(11,87,208,.22) !important;
}

@media (max-width: 760px) {
  body .ok-profile-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    text-align: center;
  }

  body .ok-profile-user {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  body .ok-profile-badge {
    margin-inline: auto;
  }

  body .ok-profile-hero > .ok-hero-btn {
    width: 100%;
    justify-self: stretch;
  }

  body .ok-profile-tabs {
    width: 100% !important;
    margin-inline: 0 !important;
    justify-content: flex-start;
    border-radius: 24px !important;
  }
}

.profile-menu-actions a:nth-child(1),
.profile-menu-actions a:nth-child(2) {
  background:
    radial-gradient(circle at 10% 0, rgba(168,199,250,.28), transparent 36%),
    #fff !important;
}

.profile-menu-actions a:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 52px !important;
  flex-direction: row !important;
}

.profile-menu-actions a:nth-child(4) {
  grid-column: 1 / -1;
  min-height: 52px !important;
  flex-direction: row !important;
  border-color: #0b57d0 !important;
  background: #0b57d0 !important;
  color: #fff !important;
}

.profile-menu-actions a:nth-child(4) i {
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
}

.profile-menu-actions a:nth-child(4):hover {
  background: #0842a0 !important;
  color: #fff !important;
}

.profile-login-btn {
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  border: 0 !important;
  border-radius: 999px !important;
  background: #0b57d0 !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.profile-login-btn:hover {
  background: #0842a0 !important;
  color: #fff !important;
}

/* Final My Profile polish: premium Gemini-inspired dashboard header */
body .ok-profile-page {
  width: min(1180px, calc(100% - clamp(24px, 5vw, 72px))) !important;
  max-width: 1180px !important;
  padding-top: clamp(28px, 5vw, 54px) !important;
}

body .ok-profile-hero {
  grid-template-columns: minmax(0, 1fr) auto !important;
  min-height: 0 !important;
  padding: clamp(28px, 4.5vw, 44px) !important;
  border-radius: 32px !important;
  border-color: rgba(218, 220, 224, .78) !important;
  background:
    radial-gradient(circle at 0 0, rgba(168,199,250,.48), transparent 30%),
    radial-gradient(circle at 100% 15%, rgba(251,188,4,.16), transparent 24%),
    radial-gradient(circle at 100% 100%, rgba(246,174,169,.34), transparent 30%),
    linear-gradient(120deg, rgba(255,255,255,.96), rgba(248,251,255,.94)) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 20px 64px rgba(60,64,67,.11) !important;
}

body .ok-profile-hero::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 24px;
  pointer-events: none;
}

body .ok-profile-hero::after {
  inset: auto -12% -42% 36% !important;
  height: 190px !important;
  opacity: .9;
}

body .ok-profile-user {
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: clamp(18px, 3vw, 26px) !important;
}

body .ok-profile-avatar {
  width: clamp(82px, 8vw, 104px) !important;
  height: clamp(82px, 8vw, 104px) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from 170deg, #a8c7fa, #d7aefb, #f6aea9, #a8c7fa) border-box !important;
  border: 2px solid transparent !important;
  box-shadow: 0 16px 42px rgba(60,64,67,.16) !important;
}

body .ok-profile-avatar img {
  width: calc(100% - 12px) !important;
  height: calc(100% - 12px) !important;
  border-radius: 22px !important;
}

body .ok-profile-badge {
  margin-bottom: 10px !important;
  padding: 7px 12px !important;
  border: 0 !important;
  background: rgba(232,240,254,.92) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset !important;
}

body .ok-profile-hero h1 {
  max-width: 720px;
  font-size: clamp(38px, 5vw, 62px) !important;
  letter-spacing: -.045em !important;
}

body .ok-profile-hero p {
  margin-top: 9px !important;
  font-size: 16px !important;
}

body .ok-profile-hero > .ok-hero-btn {
  min-width: 142px !important;
  min-height: 52px !important;
  padding: 0 25px !important;
  border-radius: 999px !important;
  background: #1a73e8 !important;
  box-shadow: 0 10px 24px rgba(26,115,232,.22) !important;
}

body .ok-profile-hero > .ok-hero-btn:hover {
  background: #0b57d0 !important;
  box-shadow: 0 14px 30px rgba(26,115,232,.28) !important;
}

body .ok-profile-tabs {
  top: 78px !important;
  gap: 4px !important;
  margin: 24px auto 32px !important;
  padding: 5px !important;
  border-color: rgba(218,220,224,.72) !important;
  background: rgba(255,255,255,.86) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.88) inset,
    0 12px 36px rgba(60,64,67,.09) !important;
  scrollbar-width: none;
}

body .ok-profile-tabs::-webkit-scrollbar {
  display: none;
}

body .ok-tab {
  min-height: 43px !important;
  padding: 0 18px !important;
  color: #3c4043 !important;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease !important;
}

body .ok-tab:hover {
  transform: translateY(-1px);
  background: rgba(232,240,254,.9) !important;
}

body .ok-tab.active {
  background: #1a73e8 !important;
  box-shadow: 0 8px 20px rgba(26,115,232,.24) !important;
}

@media (max-width: 760px) {
  body .ok-profile-page {
    width: min(100% - 24px, 1180px) !important;
  }

  body .ok-profile-hero {
    padding: 24px !important;
    border-radius: 26px !important;
  }

body .ok-profile-hero h1 {
    font-size: clamp(34px, 14vw, 48px) !important;
  }
}

/* Final Checkout redesign: clean Gemini-style payment flow */
body .ok-checkout-wrap {
  min-height: calc(100vh - 76px) !important;
  width: 100% !important;
  padding: clamp(28px, 5vw, 62px) clamp(16px, 4vw, 56px) clamp(56px, 7vw, 96px) !important;
  background:
    radial-gradient(circle at 12% 0, rgba(168,199,250,.42), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(246,174,169,.22), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%) !important;
  color: #1f1f1f !important;
}

body .ok-checkout-shell {
  position: relative !important;
  width: min(1120px, 100%) !important;
  max-width: 1120px !important;
  display: grid !important;
  grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr) !important;
  gap: 0 !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  border: 1px solid rgba(218,220,224,.82) !important;
  border-radius: 34px !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.92) inset,
    0 24px 76px rgba(60,64,67,.12) !important;
  isolation: isolate;
}

body .ok-checkout-shell::before {
  content: "" !important;
  position: absolute !important;
  inset: -18% auto auto -12% !important;
  width: 48% !important;
  height: 58% !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: radial-gradient(circle, rgba(168,199,250,.36), rgba(168,199,250,0) 68%) !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

body .ok-checkout-shell::after {
  content: "" !important;
  position: absolute !important;
  inset: auto -12% -22% auto !important;
  width: 46% !important;
  height: 48% !important;
  border-radius: 999px !important;
  background: radial-gradient(circle, rgba(196,181,253,.24), rgba(196,181,253,0) 70%) !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

body .ok-checkout-summary {
  grid-column: 1 !important;
  grid-row: 1 !important;
  padding: clamp(30px, 4vw, 50px) !important;
  border-right: 1px solid rgba(218,220,224,.75) !important;
  background:
    radial-gradient(circle at 0 0, rgba(168,199,250,.34), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(232,222,248,.5), transparent 34%),
    linear-gradient(180deg, #f8fbff, #f3f6fc) !important;
}

body .ok-checkout-main {
  grid-column: 2 !important;
  grid-row: 1 !important;
  padding: clamp(30px, 4vw, 52px) !important;
  border: 0 !important;
  background: rgba(255,255,255,.84) !important;
}

body .ok-checkout-close {
  top: 18px !important;
  right: 18px !important;
  width: 42px !important;
  height: 42px !important;
  border: 1px solid rgba(218,220,224,.85) !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.88) !important;
  color: #3c4043 !important;
  box-shadow: 0 8px 24px rgba(60,64,67,.12) !important;
  backdrop-filter: blur(12px);
}

body .ok-checkout-back {
  min-height: 38px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(218,220,224,.9) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #0b57d0 !important;
  box-shadow: none !important;
}

body .ok-checkout-back:hover {
  background: #e8f0fe !important;
}

body .ok-checkout-kicker,
body .ok-checkout-pill {
  width: max-content !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: #e8f0fe !important;
  color: #0b57d0 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

body .ok-checkout-main h1 {
  max-width: 520px !important;
  margin: 22px 0 16px !important;
  color: #1f1f1f !important;
  font-size: clamp(46px, 5.7vw, 72px) !important;
  font-weight: 500 !important;
  line-height: .98 !important;
  letter-spacing: -.06em !important;
}

body .ok-checkout-lead {
  max-width: 520px !important;
  margin: 0 0 26px !important;
  color: #5f6368 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

body .ok-checkout-methods {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin: 0 0 16px !important;
}

body .ok-checkout-method {
  min-height: 86px !important;
  align-items: center !important;
  padding: 17px 18px !important;
  border: 1px solid rgba(218,220,224,.92) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 8px 26px rgba(60,64,67,.06) !important;
}

body .ok-checkout-method.is-selected {
  border-color: #1a73e8 !important;
  background:
    radial-gradient(circle at 0 0, rgba(168,199,250,.28), transparent 38%),
    #f8fbff !important;
  box-shadow: 0 10px 30px rgba(26,115,232,.12) !important;
}

body .ok-checkout-method strong {
  display: block !important;
  color: #1f1f1f !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
}

body .ok-checkout-method small {
  display: block !important;
  margin-top: 4px !important;
  color: #5f6368 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

body .ok-payment-brands {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 9px !important;
}

body .ok-payment-brand {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 22px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: #f1f3f4 !important;
  color: #444746 !important;
  font-size: 10px !important;
  font-style: normal !important;
  font-weight: 850 !important;
}

body .ok-checkout-promo {
  padding: 16px !important;
  border: 1px solid rgba(218,220,224,.92) !important;
  border-radius: 22px !important;
  background: #f8fafd !important;
}

body .ok-checkout-promo > div {
  margin-bottom: 12px !important;
}

body .ok-checkout-promo strong {
  color: #1f1f1f !important;
}

body .ok-checkout-promo span,
body .ok-checkout-promo-message {
  color: #5f6368 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body .ok-checkout-promo-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  gap: 8px !important;
  align-items: center !important;
}

body .ok-checkout-promo-form input {
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(218,220,224,.92) !important;
  border-radius: 14px !important;
  background: #fff !important;
}

body .ok-checkout-promo-form button {
  min-height: 44px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #e8f0fe !important;
  color: #0b57d0 !important;
  font-weight: 900 !important;
}

body .ok-checkout-promo-form button:hover {
  background: #d3e3fd !important;
}

body .ok-checkout-pay {
  width: 100% !important;
  min-height: 56px !important;
  margin-top: 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #1a73e8 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 28px rgba(26,115,232,.24) !important;
}

body .ok-checkout-pay:hover {
  background: #0b57d0 !important;
  box-shadow: 0 16px 34px rgba(26,115,232,.3) !important;
  transform: translateY(-1px);
}

body .ok-checkout-summary h2 {
  margin: 18px 0 8px !important;
  color: #1f1f1f !important;
  font-size: clamp(34px, 4vw, 54px) !important;
  line-height: 1 !important;
  letter-spacing: -.045em !important;
}

body .ok-summary-credits {
  margin-bottom: 22px !important;
  color: #0b57d0 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

body .ok-checkout-summary ul {
  display: grid !important;
  gap: 10px !important;
  margin: 24px 0 30px !important;
  padding: 0 !important;
  list-style: none !important;
}

body .ok-checkout-summary li {
  position: relative !important;
  padding-left: 28px !important;
  color: #3c4043 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

body .ok-checkout-summary li::before {
  content: "\2713" !important;
  position: absolute !important;
  left: 0 !important;
  top: .05em !important;
  width: 19px !important;
  height: 19px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: #e8f0fe !important;
  color: #0b57d0 !important;
  font-size: 11px !important;
  font-weight: 950 !important;
}

body .ok-summary-prices {
  gap: 13px !important;
  margin-top: 28px !important;
  padding: 20px !important;
  border: 1px solid rgba(218,220,224,.82) !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.76) !important;
}

body .ok-summary-prices > div {
  color: #5f6368 !important;
  font-size: 14px !important;
}

body .ok-summary-total {
  margin-top: 6px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(218,220,224,.8) !important;
  color: #1f1f1f !important;
}

body .ok-summary-total strong {
  color: #0b57d0 !important;
  font-size: 22px !important;
}

@media (max-width: 900px) {
  body .ok-checkout-shell {
    grid-template-columns: 1fr !important;
    border-radius: 28px !important;
  }

  body .ok-checkout-summary,
  body .ok-checkout-main {
    grid-column: 1 !important;
  }

  body .ok-checkout-summary {
    grid-row: 2 !important;
    border-right: 0 !important;
    border-top: 1px solid rgba(218,220,224,.75) !important;
  }

  body .ok-checkout-main {
    grid-row: 1 !important;
  }
}

@media (max-width: 560px) {
  body .ok-checkout-wrap {
    padding-inline: 12px !important;
  }

  body .ok-checkout-main,
  body .ok-checkout-summary {
    padding: 24px !important;
  }

  body .ok-checkout-main h1 {
    font-size: clamp(38px, 15vw, 52px) !important;
  }

  body .ok-checkout-promo-form {
    grid-template-columns: 1fr !important;
  }
}

/* Pricing final CSS moved to assets/css/pages/pricing-page.css. */
/* Soft Gemini button hover: remove hard sliding split */
body .ok-buy-credit::before,
body .ok-checkout-pay::before,
body .ok-enterprise-credit a::before,
body .ok-profile-hero > .ok-hero-btn::before,
body .ok-tab::before,
.profile-menu-actions a::before,
.site-header .okb-header-pricing::before,
.okb-footer .okb-footer-btn::before,
.profile-login-btn::before {
  content: none !important;
}

body .ok-buy-credit,
body .ok-checkout-pay,
body .ok-enterprise-credit a,
body .ok-profile-hero > .ok-hero-btn,
.profile-menu-actions a:nth-child(4),
.okb-footer .okb-footer-btn:not(.okb-footer-btn--soft),
.site-header .okb-header-pricing,
.profile-login-btn {
  background:
    radial-gradient(circle at 20% 0, rgba(255,255,255,.18), transparent 34%),
    linear-gradient(115deg, #0b57d0 0%, #1a73e8 58%, #5b9cff 100%) !important;
  background-size: 140% 140% !important;
  color: #fff !important;
  transition: background-position .28s ease, box-shadow .24s ease, transform .22s ease !important;
}

body .ok-buy-credit:hover,
body .ok-checkout-pay:hover,
body .ok-enterprise-credit a:hover,
body .ok-profile-hero > .ok-hero-btn:hover,
.profile-menu-actions a:nth-child(4):hover,
.okb-footer .okb-footer-btn:not(.okb-footer-btn--soft):hover,
.site-header .okb-header-pricing:hover,
.profile-login-btn:hover {
  background:
    radial-gradient(circle at 30% 0, rgba(255,255,255,.22), transparent 38%),
    linear-gradient(115deg, #0b57d0 0%, #2b7de9 54%, #7fb2ff 100%) !important;
  background-position: 100% 50% !important;
  color: #fff !important;
}

body .ok-buy-credit:disabled,
body .ok-buy-credit[disabled] {
  background: #e8eaed !important;
  color: #80868b !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: not-allowed !important;
}

body .ok-tab.active {
  background:
    radial-gradient(circle at 26% 0, rgba(255,255,255,.2), transparent 38%),
    linear-gradient(115deg, #0b57d0 0%, #1a73e8 62%, #6ea8ff 100%) !important;
  box-shadow: 0 8px 22px rgba(26,115,232,.22) !important;
}

body .ok-tab:hover {
  background: #e8f0fe !important;
}

.profile-menu-actions a:nth-child(4) {
  border-color: transparent !important;
  box-shadow: 0 10px 24px rgba(26,115,232,.2) !important;
}

.profile-menu-actions a:nth-child(4) i {
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
}

.okb-footer .okb-footer-btn:not(.okb-footer-btn--soft) {
  box-shadow: 0 10px 24px rgba(26,115,232,.2) !important;
}

.okb-footer .okb-footer-btn:not(.okb-footer-btn--soft):hover {
  box-shadow: 0 14px 30px rgba(26,115,232,.28) !important;
  transform: translateY(-1px) !important;
}

/* Premium shared footer scale and gradient headline */
.okb-footer-hero > div:first-child {
  max-width: 960px !important;
}

.okb-footer-hero h2 {
  max-width: 920px !important;
  color: var(--ok-ink) !important;
  font-size: clamp(42px, 6.2vw, 86px) !important;
  line-height: 1.03 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.okb-footer-hero h2 .okb-gradient-word {
  display: inline !important;
  font: inherit !important;
  font-size: inherit !important;
  font-weight: 900 !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-transform: none !important;
  white-space: nowrap !important;
  color: var(--ok-blue) !important;
  background: var(--ok-gradient-gemini) !important;
  background-size: 180% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.okb-footer-hero > div:first-child > span {
  display: inline-flex !important;
  margin-bottom: 4px !important;
  color: var(--ok-blue) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.okb-footer-hero-actions {
  flex: 0 0 auto !important;
  align-self: center !important;
}

@media (max-width: 900px) {
  .okb-footer-hero {
    align-items: start !important;
  }

  .okb-footer-hero h2 {
    max-width: 760px !important;
    font-size: clamp(38px, 10vw, 68px) !important;
  }
}

@media (max-width: 560px) {
  .okb-footer-hero h2 {
    font-size: clamp(34px, 11vw, 48px) !important;
    line-height: 1.08 !important;
  }

  .okb-footer-hero h2 .okb-gradient-word {
    white-space: normal !important;
  }
}

/* Homepage search CSS moved to assets/css/pages/homepage.css. */
/* Mobile header repair: solid menus, visible icons, reliable drawers */
.site-header .asset-category-menu,
.site-header .header-search-dropdown,
.site-header .profile-dropdown,
.site-header .okb-nav-mega {
  background: #fff !important;
  background-image: none !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
}

.site-header .asset-category-current > i,
.site-header .asset-category-option > i,
.site-header .okb-nav-category-grid > a > i,
.site-header .okb-search-category-media > i {
  display: grid !important;
  place-items: center !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.site-header .asset-category-current > i {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  color: #0b57d0 !important;
}

.site-header .okb-mobile-search-toggle,
.site-header .okb-mobile-menu-toggle,
.site-header .profile-btn {
  position: relative !important;
  width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid #dadce0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #1f1f1f !important;
  overflow: hidden !important;
}

.site-header .okb-mobile-search-toggle::before,
.site-header .okb-mobile-search-toggle::after,
.site-header .okb-mobile-menu-toggle::before,
.site-header .okb-mobile-menu-toggle::after,
.site-header .profile-avatar--guest::before {
  content: none !important;
}

.site-header .okb-mobile-search-toggle i,
.site-header .okb-mobile-menu-toggle i,
.site-header .profile-btn i,
.site-header .profile-avatar--guest i {
  display: block !important;
  color: currentColor !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

.site-header .profile-btn .avatar,
.site-header .profile-btn .profile-avatar {
  width: 38px !important;
  height: 38px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
}

.site-header .profile-dropdown {
  z-index: 10090 !important;
}

.okb-header-nav {
  z-index: 10080 !important;
}

.okb-menu-backdrop {
  z-index: 10070 !important;
}

body.okb-menu-open .okb-menu-backdrop {
  display: block !important;
}

@media (max-width: 760px) {
  .site-header {
    background: #fff !important;
    backdrop-filter: none !important;
  }

  .site-header .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 10px !important;
  }

  .site-header .header-actions {
    justify-self: end !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .site-header .profile-btn,
  .site-header .okb-mobile-search-toggle,
  .site-header .okb-mobile-menu-toggle {
    display: grid !important;
  }

  .site-header .okb-header-search {
    background: #fff !important;
  }

  .site-header .okb-header-search .header-search {
    min-height: 58px !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    gap: 6px !important;
    padding: 6px !important;
    border-radius: 28px !important;
    background: #fff !important;
  }

  .site-header .okb-header-search .mobile-search-back,
  .site-header .okb-header-search .asset-category-button {
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    border: 1px solid #d3d8e1 !important;
    border-radius: 50% !important;
    background: #fff !important;
  }

  .site-header .okb-header-search .header-search-field {
    min-width: 0 !important;
    gap: 9px !important;
    padding: 0 4px !important;
  }

  .site-header .okb-header-search .search-icon {
    display: block !important;
    flex: 0 0 auto !important;
    color: #0b57d0 !important;
    font-size: 17px !important;
  }

  .site-header .okb-header-search .asset-category-current span,
  .site-header .okb-header-search .asset-category-chevron {
    display: none !important;
  }

  .site-header .asset-category-menu {
    top: 76px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-height: calc(100svh - 96px) !important;
    padding: 14px !important;
    border-radius: 26px !important;
    background: #fff !important;
    background-image: none !important;
  }

  .site-header .asset-category-option,
  .site-header .asset-category-option:hover,
  .site-header .asset-category-option.is-active {
    background-color: #fff !important;
  }

  .site-header .asset-category-option:hover,
  .site-header .asset-category-option.is-active {
    background-color: #e8f0fe !important;
  }

  .site-header .profile-dropdown {
    position: fixed !important;
    top: 72px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-height: calc(100svh - 88px) !important;
    overflow-y: auto !important;
    background: #fff !important;
    background-image: none !important;
  }

  .site-header .profile-dropdown::before {
    content: none !important;
  }

  .okb-header-nav {
    width: min(430px, calc(100vw - 16px)) !important;
    border-radius: 26px 0 0 26px !important;
    background: #fff !important;
    background-image: none !important;
  }
}

@media (max-width: 480px) {
  .site-header .profile-btn {
    display: grid !important;
  }

  .site-header .site-logo {
    width: 52px !important;
    height: 52px !important;
  }

  .site-header .site-logo img {
    width: 48px !important;
    height: 48px !important;
  }

  .site-header .okb-mobile-search-toggle,
  .site-header .okb-mobile-menu-toggle,
  .site-header .profile-btn {
    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }
}

/* Mobile header action state repair */
.site-header {
  z-index: 10100 !important;
}

.okb-menu-backdrop {
  z-index: 10090 !important;
  background: rgba(32, 33, 36, .46) !important;
  backdrop-filter: none !important;
}

.okb-header-nav {
  z-index: 10120 !important;
}

.site-header .okb-header-search {
  z-index: 10140 !important;
}

.site-header .profile-dropdown {
  z-index: 10130 !important;
}

body.okb-menu-open .site-header .profile-dropdown,
body.okb-search-open .site-header .profile-dropdown {
  display: none !important;
}

body.okb-search-open .okb-menu-backdrop {
  display: none !important;
}

@media (max-width: 760px) {
  .site-header .profile-dropdown {
    top: 84px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 24px !important;
  }

  .site-header .profile-login-box {
    padding: 28px 20px !important;
  }

  .site-header .profile-login-box h2 {
    font-size: 26px !important;
    line-height: 1.15 !important;
  }

  .site-header .profile-login-box p {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .site-header .okb-header-search {
    inset: 0 !important;
    padding: 10px 12px !important;
    overflow-y: auto !important;
  }

  .site-header .okb-header-search .header-search-dropdown {
    position: static !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-height: none !important;
    margin-top: 14px !important;
    overflow: visible !important;
    border-radius: 24px !important;
    box-sizing: border-box !important;
  }

  .site-header .okb-search-suggest-head,
  .site-header .okb-search-suggest-section,
  .site-header .okb-search-chips,
  .site-header .okb-search-category-grid {
    width: 100% !important;
    min-width: 0 !important;
  }

  .site-header .okb-search-suggest-head strong {
    max-width: none !important;
    font-size: clamp(26px, 8vw, 36px) !important;
    line-height: 1.18 !important;
    word-break: normal !important;
  }

  .site-header .okb-search-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .site-header .okb-search-chips button {
    width: auto !important;
    max-width: 100% !important;
  }

  .site-header .profile-login-btn,
  .site-header .profile-login-help {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .site-header .okb-header-nav {
    top: 0 !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 0 !important;
    width: auto !important;
    max-height: 100svh !important;
    overflow-y: auto !important;
    border-radius: 0 0 24px 24px !important;
    box-shadow: -18px 0 48px rgba(32, 33, 36, .24) !important;
  }

  body.okb-menu-open .site-header {
    z-index: 10110 !important;
  }
}

@media (max-width: 380px) {
  .site-header .header-inner {
    gap: 6px !important;
    padding-inline: 8px !important;
  }

  .site-header .header-actions {
    gap: 4px !important;
  }

  .site-header .okb-mobile-search-toggle,
  .site-header .okb-mobile-menu-toggle,
  .site-header .profile-btn {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  .site-header .site-logo img {
    width: 46px !important;
    height: 46px !important;
  }
}

/* Tablet and desktop header: no duplicate mobile actions */
@media (min-width: 761px) {
  body.okb-search-open,
  body.okb-menu-open {
    overflow: auto !important;
  }

  .site-header .okb-mobile-search-toggle,
  .site-header .okb-mobile-menu-toggle {
    display: none !important;
  }

  .site-header .okb-header-search {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: block !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .site-header .okb-header-search .header-search-dropdown {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: 0 !important;
    right: auto !important;
    width: min(760px, calc(100vw - 48px)) !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
  }

  .site-header .okb-header-search .mobile-search-back {
    display: none !important;
  }

  .site-header .okb-menu-backdrop,
  body.okb-menu-open .okb-menu-backdrop,
  body.okb-search-open .okb-menu-backdrop {
    display: none !important;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .site-header .header-inner {
    grid-template-columns: auto minmax(320px, 1fr) auto auto !important;
  }

  .site-header .okb-header-nav {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: auto !important;
    width: auto !important;
    max-height: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
  }

  .site-header .okb-header-drawer-head,
  .site-header .okb-mobile-nav-actions {
    display: none !important;
  }

  .site-header .okb-nav-link {
    width: auto !important;
    min-height: 44px !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 9px 14px !important;
    border-radius: 999px !important;
    background: transparent !important;
  }

  .site-header .okb-nav-dropdown {
    position: relative !important;
  }

  .site-header .okb-nav-mega {
    position: absolute !important;
    top: calc(100% + 14px) !important;
    right: -180px !important;
    width: min(940px, calc(100vw - 40px)) !important;
    grid-template-columns: minmax(230px, .8fr) minmax(0, 1.6fr) !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 24px !important;
    border-radius: 28px !important;
    box-shadow: 0 24px 70px rgba(60, 64, 67, .18) !important;
  }

  .site-header .okb-nav-mega-intro {
    display: block !important;
  }

  .site-header .okb-nav-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Final mobile containment: prevent sideways page drift and repair profile tabs */
html,
body,
body.okb-gemini-site {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.site,
.site-main,
.entry-content,
.okg-home,
.ok-profile-page {
  max-width: 100vw !important;
  overflow-x: clip !important;
}

@media (max-width: 760px) {
  .site-header,
  .site-header .header-inner,
  .site-main,
  .entry-content,
  .okg-home,
  .ok-profile-page {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .okg-home,
  .okg-home * {
    box-sizing: border-box !important;
  }

  .okg-home .okg-shell {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 20px !important;
    margin-inline: 0 !important;
  }

  .okg-home .okg-hero {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    padding: 74px 0 54px !important;
  }

  .okg-home .okg-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    text-align: left !important;
  }

  .okg-home .okg-kicker,
  .okg-home .okg-hero .okg-kicker {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    letter-spacing: .08em !important;
  }

  .okg-home .okg-display {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    font-size: clamp(42px, 13.5vw, 56px) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    overflow-wrap: normal !important;
  }

  .okg-home .okg-display-line,
  .okg-home .okg-gradient-text {
    max-width: 100% !important;
    overflow-wrap: normal !important;
  }

  .okg-home .okg-hero-lead {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 24px 0 0 !important;
    text-align: left !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    overflow-wrap: break-word !important;
  }

  .okg-home .okg-actions,
  .okg-home .okg-hero .okg-actions {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    overflow: hidden !important;
  }

  .okg-home .okg-btn {
    min-width: 0 !important;
    max-width: 100% !important;
    padding-inline: 18px !important;
    white-space: normal !important;
  }

  .okg-home .okg-showcase,
  .okg-home .okg-showcase-frame,
  .okg-home .okg-media,
  .okg-home .okg-rail,
  .okg-home .okg-asset-grid {
    width: 100% !important;
    max-width: 100% !important;
  }

  .okg-home .okg-showcase-frame {
    min-height: 420px !important;
    border-radius: 26px !important;
  }

  body .ok-profile-page {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 18px 12px 64px !important;
    margin: 0 !important;
    overflow-x: hidden !important;
  }

  body .ok-profile-hero {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 18px !important;
    padding: 22px !important;
    overflow: hidden !important;
    text-align: center !important;
  }

  body .ok-profile-hero::before,
  body .ok-profile-hero::after {
    content: none !important;
  }

  body .ok-profile-user {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 12px !important;
    text-align: center !important;
  }

  body .ok-profile-avatar {
    width: 78px !important;
    height: 78px !important;
    border-radius: 24px !important;
  }

  body .ok-profile-avatar img {
    border-radius: 19px !important;
  }

  body .ok-profile-badge {
    max-width: 100% !important;
    margin-inline: auto !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.35 !important;
  }

  body .ok-profile-hero h1 {
    max-width: 100% !important;
    font-size: clamp(32px, 11vw, 44px) !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
  }

  body .ok-profile-hero p {
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  body .ok-profile-hero > .ok-hero-btn {
    width: 100% !important;
    max-width: 260px !important;
    justify-self: center !important;
    padding-inline: 18px !important;
  }

  body .ok-profile-tabs {
    position: sticky !important;
    top: 66px !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    margin: 18px 0 22px !important;
    padding: 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border-radius: 999px !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: thin !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body .ok-profile-tabs::-webkit-scrollbar {
    display: block !important;
    height: 4px !important;
  }

  body .ok-profile-tabs::-webkit-scrollbar-thumb {
    border-radius: 999px !important;
    background: rgba(11, 87, 208, .28) !important;
  }

  body .ok-tab {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    scroll-snap-align: start !important;
    white-space: nowrap !important;
  }

  body .ok-tab-panel,
  body .ok-stat-grid,
  body .ok-stat-card,
  body .ok-account-card,
  body .ok-download-history-head,
  body .ok-filter-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body .ok-stat-grid,
  body .ok-stat-grid--summary {
    grid-template-columns: 1fr !important;
  }

  body .ok-filter-box {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body .ok-purchase-list,
  body .ok-purchase-item,
  body .ok-purchase-main,
  body .ok-purchase-meta,
  body .ok-purchase-actions,
  body .ok-download-history-list,
  body .ok-download-history-item,
  body .ok-download-history-controls,
  body .ok-account-row,
  body .ok-account-actions {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body .ok-purchase-main,
  body .ok-purchase-actions,
  body .ok-account-actions,
  body .ok-download-history-head,
  body .ok-download-history-controls {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body .ok-purchase-meta {
    grid-template-columns: 1fr !important;
  }

  body .ok-purchase-main h3,
  body .ok-purchase-main p,
  body .ok-purchase-meta strong,
  body .ok-download-history-main h3,
  body .ok-download-history-main p,
  body .ok-account-row strong {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  body .ok-download-history-item {
    grid-template-columns: 54px minmax(0, 1fr) !important;
    align-items: start !important;
  }

  body .ok-download-history-date {
    grid-column: 2 !important;
    width: max-content !important;
    max-width: 100% !important;
  }

  .site-header .profile-dropdown {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    overflow-x: hidden !important;
  }

  .site-header .profile-head,
  .site-header .profile-credit-box,
  .site-header .profile-menu-actions {
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .site-header .profile-head {
    min-width: 0 !important;
  }

  .site-header .profile-head > div {
    min-width: 0 !important;
  }

  .site-header .profile-head strong,
  .site-header .profile-head small {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .site-header .profile-credit-main {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    align-items: start !important;
  }

  .site-header .profile-credit-main strong {
    max-width: 100% !important;
    font-size: clamp(32px, 12vw, 48px) !important;
    line-height: 1 !important;
    overflow-wrap: anywhere !important;
  }

  .site-header .profile-credit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .site-header .profile-credit-grid > span {
    min-width: 0 !important;
    padding-inline: 6px !important;
  }

  .site-header .profile-menu-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .site-header .profile-menu-actions a {
    min-width: 0 !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .site-header .profile-menu-actions a:nth-child(3),
  .site-header .profile-menu-actions a:nth-child(4) {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 420px) {
  .okg-home .okg-shell {
    padding-inline: 16px !important;
  }

  .okg-home .okg-display {
    font-size: clamp(40px, 12.4vw, 50px) !important;
  }

  .okg-home .okg-actions .okg-btn {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  body .ok-profile-page {
    padding-inline: 10px !important;
  }

  .site-header .profile-credit-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Header simplification: search before profile, no hamburger, centered category icon */
.site-header .okb-mobile-menu-toggle {
  display: none !important;
}

.site-header .header-actions {
  display: flex !important;
  align-items: center !important;
}

.site-header .okb-mobile-search-toggle {
  order: 1 !important;
}

.site-header .profile-btn {
  order: 2 !important;
}

.site-header .okb-header-pricing {
  order: 0 !important;
}

.site-header .profile-menu-actions a:nth-child(3),
.site-header .profile-menu-actions a:nth-child(4),
.site-header .profile-menu-actions a:nth-child(5) {
  grid-column: auto !important;
}

.site-header .profile-menu-actions a:nth-child(4) {
  min-height: 74px !important;
  flex-direction: column !important;
  border-color: #e8eaed !important;
  background: #fff !important;
  color: #3c4043 !important;
  box-shadow: none !important;
}

.site-header .profile-menu-actions a:nth-child(4) i {
  background: #eef4ff !important;
  color: #0b57d0 !important;
}

.site-header .profile-menu-actions a:nth-child(4):hover {
  background: #e8f0fe !important;
  color: #0b57d0 !important;
}

.site-header .profile-menu-actions a:nth-child(5) {
  grid-column: 1 / -1 !important;
  min-height: 52px !important;
  flex-direction: row !important;
  border-color: transparent !important;
  background:
    radial-gradient(circle at 20% 0, rgba(255,255,255,.18), transparent 34%),
    linear-gradient(115deg, #0b57d0 0%, #1a73e8 58%, #5b9cff 100%) !important;
  color: #fff !important;
}

.site-header .profile-menu-actions a:nth-child(5) i {
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
}

/* Option-aware header containment */
.site-header--no-search .header-inner {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
}

.site-header--no-search .okb-header-nav {
  justify-self: end !important;
}

.site-header--no-search .header-actions,
.site-header--no-explore .header-actions,
.site-header--no-upgrade .header-actions {
  justify-self: end !important;
}

@media (min-width: 761px) {
  .site-header .profile-dropdown {
    top: calc(100% + 2px) !important;
  }

  .site-header .okb-nav-dropdown {
    position: relative !important;
  }

  .site-header .okb-nav-mega {
    position: absolute !important;
    top: calc(100% + 1px) !important;
    left: auto !important;
    right: 0 !important;
    width: min(720px, calc(100vw - 32px)) !important;
    max-width: none !important;
    max-height: calc(100vh - var(--okb-header-height, 76px) - 28px) !important;
    overflow-y: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
    grid-template-columns: minmax(240px, 286px) minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  .admin-bar .site-header .okb-nav-mega {
    top: calc(100% + 18px) !important;
  }

  .site-header--no-search .okb-nav-mega,
  .site-header--no-upgrade .okb-nav-mega,
  .site-header--no-search.site-header--no-upgrade .okb-nav-mega {
    left: auto !important;
    right: 0 !important;
    width: min(720px, calc(100vw - 32px)) !important;
  }

  .site-header .okb-nav-mega--categories-1 {
    width: min(488px, calc(100vw - 32px)) !important;
    grid-template-columns: minmax(240px, 286px) minmax(150px, 156px) !important;
  }

  .site-header .okb-nav-mega--categories-2 {
    width: min(646px, calc(100vw - 32px)) !important;
    grid-template-columns: minmax(240px, 286px) minmax(314px, 314px) !important;
  }

  .site-header .okb-nav-mega--categories-3 {
    width: min(720px, calc(100vw - 32px)) !important;
    grid-template-columns: minmax(240px, 286px) minmax(346px, 346px) !important;
  }

  .site-header .okb-nav-mega-intro {
    align-self: stretch !important;
    min-height: 0 !important;
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .site-header .okb-nav-mega-intro > strong {
    font-size: 27px !important;
  }

  .site-header .okb-nav-category-grid {
    align-self: stretch !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: auto !important;
    align-content: start !important;
    align-items: stretch !important;
    gap: 14px !important;
    min-width: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .site-header .okb-nav-category-grid--count-1 {
    grid-template-columns: 156px !important;
  }

  .site-header .okb-nav-category-grid--count-2 {
    grid-template-columns: repeat(2, 150px) !important;
    justify-content: start !important;
  }

  .site-header .okb-nav-category-grid--count-3 {
    grid-template-columns: 160px 172px !important;
    grid-template-rows: repeat(2, 96px) !important;
  }

  .site-header .okb-nav-category-grid > a {
    min-height: 0 !important;
    height: auto !important;
    display: grid !important;
    grid-template-rows: auto 1fr !important;
    align-content: stretch !important;
    justify-items: start !important;
    gap: 10px !important;
    padding: 16px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
  }

  .site-header .okb-nav-category-grid--count-1 > a,
  .site-header .okb-nav-category-grid--count-2 > a:first-child,
  .site-header .okb-nav-category-grid--count-2 > a:nth-child(2) {
    width: 150px !important;
    height: 150px !important;
  }

  .site-header .okb-nav-category-grid--count-3 > a:first-child {
    grid-row: 1 / span 2 !important;
    width: 160px !important;
    height: 206px !important;
  }

  .site-header .okb-nav-category-grid--count-3 > a:nth-child(2),
  .site-header .okb-nav-category-grid--count-3 > a:nth-child(3) {
    grid-column: 2 !important;
    width: 172px !important;
    height: 96px !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px !important;
  }

  .site-header .okb-nav-category-grid > a > i {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
  }

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

  .site-header .okb-nav-category-grid strong {
    overflow-wrap: anywhere !important;
    line-height: 1.15 !important;
  }

  .site-header .okb-nav-category-grid small {
    overflow-wrap: anywhere !important;
  }

  .site-header .okb-nav-mega-links {
    padding-top: 0 !important;
  }
}

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

  .site-header .okb-nav-category-grid {
    justify-content: start !important;
  }

  .site-header .okb-nav-category-grid--count-1 {
    grid-template-columns: 156px !important;
  }

  .site-header .okb-nav-category-grid--count-2 {
    grid-template-columns: repeat(2, 150px) !important;
  }

  .site-header .okb-nav-category-grid--count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
  }

  .site-header .okb-nav-category-grid--count-3 > a:first-child,
  .site-header .okb-nav-category-grid--count-3 > a:nth-child(2),
  .site-header .okb-nav-category-grid--count-3 > a:nth-child(3) {
    grid-column: auto !important;
    grid-row: auto !important;
    width: auto !important;
    height: 126px !important;
  }

  .site-header .okb-nav-category-grid--count-3 > a:nth-child(2),
  .site-header .okb-nav-category-grid--count-3 > a:nth-child(3) {
    grid-template-columns: none !important;
    grid-template-rows: auto 1fr !important;
    align-items: stretch !important;
  }
}

/* Account dropdown compact layout and explicit desktop/mobile actions */
.site-header .profile-dropdown {
  width: min(342px, calc(100vw - 20px)) !important;
  border-radius: 26px !important;
}

.site-header .profile-head {
  padding: 18px 18px 16px !important;
  gap: 12px !important;
}

.site-header .profile-head img {
  width: 52px !important;
  height: 52px !important;
}

.site-header .profile-head strong {
  font-size: 19px !important;
}

.site-header .profile-head small {
  max-width: 210px !important;
  font-size: 13px !important;
}

.site-header .profile-credit-box {
  margin: 14px !important;
  padding: 14px !important;
  border-radius: 22px !important;
}

.site-header .profile-support-pin {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
  padding: 10px 10px 10px 12px !important;
  border: 1px solid rgba(168,199,250,.72) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 12% 0, rgba(168,199,250,.28), transparent 40%),
    #fff !important;
}

.site-header .profile-support-pin span,
.site-header .profile-support-pin strong {
  display: block !important;
}

.site-header .profile-support-pin span {
  color: #0b57d0 !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.site-header .profile-support-pin strong {
  margin-top: 3px !important;
  color: #1f1f1f !important;
  font-size: 15px !important;
  font-variant-numeric: tabular-nums !important;
  letter-spacing: .12em !important;
  line-height: 1.1 !important;
}

.site-header .profile-support-pin button {
  min-width: 82px !important;
  min-height: 34px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 20% 0, rgba(255,255,255,.2), transparent 36%),
    linear-gradient(115deg, #0b57d0 0%, #1a73e8 58%, #5b9cff 100%) !important;
  color: #fff !important;
  cursor: pointer !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 18px rgba(26,115,232,.18) !important;
}

.site-header .profile-support-pin button:hover {
  background-position: 100% 50% !important;
  box-shadow: 0 12px 24px rgba(26,115,232,.24) !important;
}

.site-header .profile-credit-main strong {
  font-size: 34px !important;
}

.site-header .profile-credit-grid {
  gap: 8px !important;
}

.site-header .profile-credit-grid > span {
  min-height: 58px !important;
  border-radius: 15px !important;
  font-size: 11px !important;
}

.site-header .profile-credit-grid b {
  font-size: 16px !important;
}

.site-header .profile-menu-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 9px !important;
  padding: 0 14px 14px !important;
}

.site-header .profile-menu-action {
  min-height: 68px !important;
  flex-direction: column !important;
  border-color: #e8eaed !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 12% 0, rgba(168,199,250,.20), transparent 38%),
    #fff !important;
  color: #3c4043 !important;
  box-shadow: none !important;
}

.site-header .profile-menu-action i {
  width: 32px !important;
  height: 32px !important;
  border-radius: 12px !important;
  background: #eef4ff !important;
  color: #0b57d0 !important;
}

.site-header .profile-menu-action:hover {
  border-color: rgba(168,199,250,.78) !important;
  background:
    radial-gradient(circle at 20% 0, rgba(168,199,250,.36), transparent 40%),
    #f8fbff !important;
  color: #0b57d0 !important;
}

.site-header .profile-menu-action--buy,
.site-header .profile-menu-action--explore,
.site-header .profile-menu-action--logout {
  grid-column: 1 / -1 !important;
  min-height: 50px !important;
  flex-direction: row !important;
}

.site-header .profile-menu-action--buy {
  border-color: rgba(168,199,250,.8) !important;
  background:
    radial-gradient(circle at 14% 0, rgba(168,199,250,.32), transparent 36%),
    linear-gradient(180deg, #fff, #f8fbff) !important;
}

.site-header .profile-menu-action--explore {
  display: flex !important;
  border-color: rgba(168,199,250,.8) !important;
  background:
    radial-gradient(circle at 14% 0, rgba(168,199,250,.28), transparent 36%),
    linear-gradient(180deg, #fff, #f8fbff) !important;
}

.site-header .profile-menu-action--logout {
  border-color: transparent !important;
  background:
    radial-gradient(circle at 20% 0, rgba(255,255,255,.18), transparent 34%),
    linear-gradient(115deg, #0b57d0 0%, #1a73e8 58%, #5b9cff 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(26,115,232,.2) !important;
}

.site-header .profile-menu-action--logout i {
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
}

.site-header .profile-menu-action--logout:hover {
  background:
    radial-gradient(circle at 30% 0, rgba(255,255,255,.22), transparent 38%),
    linear-gradient(115deg, #0b57d0 0%, #2b7de9 54%, #7fb2ff 100%) !important;
  color: #fff !important;
}

.site-header .profile-menu-actions a.profile-menu-action--profile,
.site-header .profile-menu-actions a.profile-menu-action--checkout {
  grid-column: auto !important;
  min-height: 50px !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  padding: 10px 12px !important;
}

.site-header .profile-menu-actions a.profile-menu-action--buy,
.site-header .profile-menu-actions a.profile-menu-action--explore,
.site-header .profile-menu-actions a.profile-menu-action--logout {
  grid-column: 1 / -1 !important;
  min-height: 50px !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 10px 14px !important;
}

.site-header .profile-menu-actions a.profile-menu-action--profile i,
.site-header .profile-menu-actions a.profile-menu-action--checkout i,
.site-header .profile-menu-actions a.profile-menu-action--buy i,
.site-header .profile-menu-actions a.profile-menu-action--explore i {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 11px !important;
  background: #eef4ff !important;
  color: #0b57d0 !important;
  font-size: 14px !important;
}

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

  body.okb-profile-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 10095;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(14px) saturate(130%);
    pointer-events: none;
  }

  body.okb-profile-open .site-header {
    z-index: 10110 !important;
  }

  .site-header .profile-dropdown {
    position: absolute !important;
    top: calc(100% + 2px) !important;
    left: 10px !important;
    right: 10px !important;
    z-index: 10140 !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    overflow: hidden !important;
    border-radius: 24px !important;
  }

  .site-header .profile-head {
    padding: 12px 14px 10px !important;
    gap: 10px !important;
  }

  .site-header .profile-head img {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
  }

  .site-header .profile-head span {
    font-size: 9px !important;
    line-height: 1 !important;
  }

  .site-header .profile-head strong {
    margin-top: 3px !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
  }

  .site-header .profile-head small {
    max-width: 240px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  .site-header .profile-credit-box {
    margin: 10px 12px !important;
    padding: 12px !important;
    border-radius: 18px !important;
  }

  .site-header .profile-support-pin {
    gap: 10px !important;
    margin-bottom: 10px !important;
    padding: 8px 8px 8px 10px !important;
    border-radius: 14px !important;
  }

  .site-header .profile-support-pin button {
    min-width: 76px !important;
    min-height: 32px !important;
    font-size: 11px !important;
  }

  .site-header .profile-credit-main {
    display: flex !important;
    align-items: end !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .site-header .profile-credit-main strong {
    font-size: 28px !important;
    line-height: .95 !important;
  }

  .site-header .profile-credit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-top: 10px !important;
  }

  .site-header .profile-credit-grid > span {
    min-height: 48px !important;
    padding: 7px 5px !important;
    border-radius: 13px !important;
    font-size: 10px !important;
  }

  .site-header .profile-credit-grid b {
    font-size: 14px !important;
    line-height: 1.05 !important;
  }

  .site-header .okb-mobile-menu-toggle {
    display: none !important;
  }

  .site-header .header-actions {
    gap: 8px !important;
  }

  .site-header .okb-header-search .asset-category-button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    place-items: center !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .site-header .okb-header-search .asset-category-current {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    place-items: center !important;
    gap: 0 !important;
  }

  .site-header .okb-header-search .asset-category-current > i {
    width: 20px !important;
    height: 20px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    color: #0b57d0 !important;
    font-size: 17px !important;
    line-height: 1 !important;
  }

  .site-header .okb-header-search .asset-category-current span,
  .site-header .okb-header-search .asset-category-chevron {
    display: none !important;
  }

  .site-header .profile-menu-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    padding: 0 12px 12px !important;
  }

  .site-header .profile-menu-actions a,
  .site-header .profile-menu-actions a:nth-child(3),
  .site-header .profile-menu-actions a:nth-child(4),
  .site-header .profile-menu-actions a:nth-child(5),
  .site-header .profile-menu-action--profile,
  .site-header .profile-menu-action--checkout,
  .site-header .profile-menu-action--buy,
  .site-header .profile-menu-action--explore,
  .site-header .profile-menu-action--logout {
    grid-column: 1 / -1 !important;
    min-height: 46px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 9px 14px !important;
    border-radius: 16px !important;
    text-align: center !important;
  }

  .site-header .profile-menu-actions a.profile-menu-action--profile,
  .site-header .profile-menu-actions a.profile-menu-action--checkout {
    grid-column: auto !important;
    min-height: 46px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    border-radius: 16px !important;
    text-align: center !important;
  }

  .site-header .profile-menu-action--buy {
    display: flex !important;
  }

  .site-header .profile-menu-action--explore {
    display: flex !important;
  }

  .site-header .profile-menu-action--profile,
  .site-header .profile-menu-action--checkout {
    order: 0 !important;
  }

  .site-header .profile-menu-action--buy {
    order: 1 !important;
  }

  .site-header .profile-menu-action--explore {
    order: 2 !important;
  }

  .site-header .profile-menu-action--logout {
    order: 3 !important;
  }

  .site-header .profile-menu-action i,
  .site-header .profile-menu-actions a:nth-child(4) i,
  .site-header .profile-menu-actions a:nth-child(5) i {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 11px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 380px) {
  .site-header .header-actions {
    gap: 6px !important;
  }
}

/* Gemini homefeed and post experience */
.homefeed--magnific {
  min-height: 100vh;
  padding: clamp(18px, 3vw, 42px) clamp(12px, 2.4vw, 34px) clamp(72px, 8vw, 120px);
  background:
    radial-gradient(circle at 10% 0%, rgba(230, 244, 234, .86), transparent 30%),
    radial-gradient(circle at 95% 12%, rgba(168, 218, 181, .5), transparent 34%),
    linear-gradient(180deg, #f8fff9 0%, #fff 44%, #f5fbf6 100%);
}

.ok-stock-layout {
  width: min(100%, 1760px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(230px, 292px) minmax(0, 1fr);
  gap: clamp(16px, 2.2vw, 32px);
  align-items: start;
}

.ok-stock-filter-toggle,
.ok-stock-filter-backdrop {
  display: none;
}

.ok-stock-filter {
  position: sticky;
  top: calc(var(--okb-header-height, 74px) + 14px);
  overflow: visible;
  border: 1px solid rgba(168, 218, 181, .72);
  border-radius: 22px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 22px 60px rgba(19, 115, 51, .09);
  backdrop-filter: blur(18px);
}

.ok-stock-filter form {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.ok-stock-filter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ok-stock-filter__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ok-stock-filter__head span,
.ok-stock-filter-label {
  display: block;
  color: #6b7280;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ok-stock-filter__head strong {
  display: block;
  margin-top: 3px;
  color: #101418;
  font-size: 20px;
  line-height: 1.1;
}

.ok-stock-filter__head a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  background: #fff;
  color: var(--ok-feed-green);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.ok-stock-filter__actions button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  display: none;
  place-items: center;
  padding: 0;
  border: 1px solid #dadce0;
  border-radius: 999px;
  background: #fff;
  color: #343a40;
}

.ok-stock-filter-group {
  display: grid;
  gap: 7px;
}

.ok-stock-radio {
  display: block;
}

.ok-stock-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ok-stock-radio span {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: #343a40;
  font-size: 13px;
  font-weight: 820;
  line-height: 1.25;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.ok-stock-radio span i,
.ok-stock-app-icon {
  width: 20px;
  color: var(--ok-feed-green);
  text-align: center;
}

.ok-stock-app-icon {
  display: inline-grid;
  place-items: center;
  height: 20px;
  border: 1px solid color-mix(in srgb, var(--ok-feed-green) 22%, transparent);
  border-radius: 4px;
  background: var(--ok-feed-green-soft);
  color: var(--ok-feed-green);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.ok-stock-radio:hover span {
  transform: translateX(2px);
  background: #f3f6fc;
}

.ok-stock-radio.is-disabled {
  opacity: .42;
}

.ok-stock-radio.is-disabled span {
  cursor: not-allowed;
}

.ok-stock-radio.is-disabled:hover span {
  transform: none;
  background: transparent;
}

.ok-stock-radio input:checked + span {
  border-color: rgba(19, 115, 51, .24);
  background: var(--ok-feed-green-soft);
  color: var(--ok-feed-green);
}

.ok-stock-results {
  min-width: 0;
}

.ok-stock-banner {
  position: relative;
  min-height: clamp(250px, 28vw, 360px);
  display: grid;
  grid-template-columns: minmax(130px, .55fr) minmax(320px, 1.2fr) minmax(130px, .55fr);
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  margin-bottom: clamp(22px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(168, 218, 181, .74);
  border-radius: clamp(20px, 3vw, 34px);
  background:
    radial-gradient(circle at 20% 20%, rgba(168, 218, 181, .78), transparent 34%),
    radial-gradient(circle at 82% 76%, rgba(230, 244, 234, .78), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(248,251,255,.76));
  box-shadow: 0 30px 84px rgba(19, 115, 51, .12);
}

.ok-stock-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.58) 22%, rgba(255,255,255,.58) 78%, rgba(255,255,255,.88)),
    linear-gradient(180deg, transparent, rgba(255,255,255,.42));
  pointer-events: none;
}

.ok-stock-banner__content {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 5vw, 64px) 0;
  text-align: center;
}

.ok-stock-banner__content span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 0 12px;
  border: 1px solid rgba(19, 115, 51, .18);
  border-radius: 999px;
  background: rgba(230, 244, 234, .72);
  color: var(--ok-feed-green);
  font-size: 12px;
  font-weight: 900;
}

.ok-stock-banner__content h1 {
  max-width: 760px;
  margin: 0 auto;
  color: #101418;
  font-size: clamp(32px, 4.8vw, 70px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 920;
}

.ok-stock-banner__content p {
  max-width: 610px;
  margin: 18px auto 0;
  color: #4d535b;
  font-size: clamp(15px, 1.55vw, 20px);
  line-height: 1.6;
}

.ok-stock-banner__art {
  position: relative;
  z-index: 0;
  height: 100%;
  min-height: inherit;
  display: grid;
  grid-template-columns: repeat(2, minmax(70px, 1fr));
  gap: 10px;
  opacity: .9;
  transform: rotate(-3deg) scale(1.04);
}

.ok-stock-banner__art--right {
  transform: rotate(3deg) scale(1.04);
}

.ok-stock-banner__art img {
  width: 100%;
  height: 100%;
  min-height: 118px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(60, 64, 67, .14);
}

.ok-stock-results__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.ok-stock-results__bar span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ok-stock-results__bar h1,
.ok-stock-results__bar h2 {
  margin: 3px 0 0;
  color: #101418;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.ok-stock-active-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ok-stock-active-filters span,
.ok-stock-pagination .page-numbers {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #4d535b;
  letter-spacing: 0;
  text-transform: none;
}

.ok-stock-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}

.ok-stock-category-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(168, 218, 181, .7);
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  color: #101418;
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(19, 115, 51, .08);
  backdrop-filter: blur(14px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ok-stock-category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 218, 181, .95);
  background: #fff;
  box-shadow: 0 20px 52px rgba(19, 115, 51, .13), 0 0 0 6px rgba(168, 218, 181, .16);
}

.ok-stock-category-card__media {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #f3f6fc;
}

.ok-stock-category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ok-stock-category-card strong {
  display: block;
  color: #101418;
  font-size: 15px;
  font-weight: 850;
}

.ok-stock-category-card small {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 750;
}

.ok-stock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.ok-stock-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(168, 218, 181, .72);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(19, 115, 51, .09);
  transition: transform .22s ease, box-shadow .22s ease;
}

.ok-stock-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 58px rgba(19, 115, 51, .15), 0 0 0 6px rgba(168, 218, 181, .14);
}

.ok-stock-card__link,
.ok-stock-card__media {
  position: relative;
  display: block;
}

.ok-stock-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 14px 14px 0 0;
  background: #fff;
}

.ok-stock-card__media img,
.ok-stock-card__media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ok-stock-card.is-video .ok-stock-card__media,
.ok-stock-card.is-display-video .ok-stock-card__media {
  aspect-ratio: 16 / 10;
  background: #05070b;
}

.ok-stock-card.is-video .ok-stock-card__media img,
.ok-stock-card.is-video .ok-stock-card__media video,
.ok-stock-card.is-display-video .ok-stock-card__media img,
.ok-stock-card.is-display-video .ok-stock-card__media video {
  height: 100%;
  object-fit: cover;
}

.ok-stock-card:not(.is-video):not(.is-display-video) .ok-stock-card__media {
  min-height: 0;
  display: grid;
  place-items: center;
  background:
    linear-gradient(45deg, rgba(232,240,254,.9) 25%, transparent 25% 75%, rgba(232,240,254,.9) 75%),
    linear-gradient(45deg, rgba(232,240,254,.9) 25%, transparent 25% 75%, rgba(232,240,254,.9) 75%),
    #fff;
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}

.ok-stock-card:not(.is-video):not(.is-display-video) .ok-stock-card__media img {
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.ok-stock-card .hover-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .22s ease;
}

.ok-stock-card:hover .hover-video {
  opacity: 1;
}

.ok-stock-card__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  translate: -50% -50%;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: var(--ok-feed-green);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.ok-stock-card__link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.68));
  pointer-events: none;
}

.ok-stock-card__meta,
.ok-stock-card__title {
  position: absolute;
  left: 10px;
  right: 10px;
  z-index: 3;
}

.ok-stock-card__meta {
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.ok-stock-card__meta span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.68);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.ok-stock-card__meta .is-free {
  color: #137333;
  background: rgba(230, 244, 234, .94);
}

.ok-stock-card__meta .is-premium {
  color: #9a5b00;
  background: rgba(255, 248, 225, .94);
}

.ok-stock-card__title {
  bottom: 44px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .22s ease, transform .22s ease;
}

.ok-stock-card:hover .ok-stock-card__title {
  opacity: 1;
  transform: translateY(0);
}

.ok-stock-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(28px, 4vw, 52px);
}

.ok-stock-pagination .page-numbers.current,
.ok-stock-pagination .page-numbers:hover {
  border-color: var(--ok-feed-green);
  background: var(--ok-feed-green);
  color: #fff;
}

.ok-stock-empty {
  min-height: 420px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 34px;
  border: 1px dashed var(--ok-feed-green-border);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  text-align: center;
}

body.single .ok-asset-detail {
  min-height: 100vh;
  padding: clamp(18px, 3vw, 42px) clamp(12px, 2.2vw, 32px) clamp(72px, 8vw, 120px);
  background:
    radial-gradient(circle at 10% 0%, rgba(168, 199, 250, .5), transparent 30%),
    radial-gradient(circle at 96% 12%, rgba(226, 213, 255, .55), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #fff 48%, #f7faff 100%);
}

.ok-asset-detail__shell {
  width: min(1760px, 100%);
  margin: 0 auto;
}

.ok-asset-kicker {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  padding: 0 13px;
  border: 1px solid rgba(11, 87, 208, .18);
  border-radius: 999px;
  background: rgba(232, 240, 254, .78);
  color: #0b57d0;
  font-size: 12px;
  font-weight: 920;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ok-asset-under-preview h1 {
  max-width: 1080px;
  margin: 12px 0 0;
  color: #101418;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 930;
}

.ok-asset-quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.ok-asset-quick-meta span,
.ok-asset-quick-meta button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(218, 220, 224, .86);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #4d535b;
  font-weight: 850;
}

.ok-asset-quick-meta button {
  cursor: pointer;
}

.ok-asset-quick-meta button:hover {
  border-color: #a8c7fa;
  color: #0b57d0;
  box-shadow: 0 14px 32px rgba(60, 64, 67, .12);
}

.ok-asset-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: clamp(16px, 2vw, 30px);
  align-items: start;
}

.ok-asset-stage-card,
.ok-asset-side > section,
.ok-asset-side > .ok-post-download-ad {
  border: 1px solid rgba(218, 220, 224, .78);
  border-radius: 32px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 26px 86px rgba(60, 64, 67, .11);
  backdrop-filter: blur(18px);
}

.ok-asset-stage-card {
  display: grid;
  gap: 16px;
  padding: clamp(10px, 1.5vw, 18px);
}

.ok-asset-under-preview {
  padding: clamp(8px, 1.4vw, 18px) 4px 0;
}

.ok-asset-stage {
  position: relative;
  min-height: min(76vh, 900px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(45deg, rgba(232,240,254,.9) 25%, transparent 25% 75%, rgba(232,240,254,.9) 75%),
    linear-gradient(45deg, rgba(232,240,254,.9) 25%, transparent 25% 75%, rgba(232,240,254,.9) 75%),
    #fff;
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
}

.ok-asset-stage.ok-single-media--video {
  aspect-ratio: 16 / 9;
  min-height: auto;
  background: #05070b;
}

.ok-asset-stage img,
.ok-asset-stage video,
.ok-asset-stage .ok-yt-player {
  width: 100%;
  height: 100%;
  display: block;
}

.ok-asset-stage img {
  object-fit: contain;
}

.ok-asset-stage video,
.ok-asset-stage .ok-yt-player video {
  object-fit: contain;
  background: #05070b;
}

.ok-asset-taxonomy {
  display: grid;
  gap: 14px;
  padding: 8px 4px 2px;
}

.ok-asset-taxonomy > div > span {
  display: block;
  margin-bottom: 8px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 920;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ok-asset-taxonomy > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ok-asset-taxonomy a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  background: #fff;
  color: #4d535b;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.ok-asset-taxonomy a:hover {
  border-color: #a8c7fa;
  color: #0b57d0;
}

.ok-asset-side {
  position: sticky;
  top: calc(var(--okb-header-height, 74px) + 14px);
  display: grid;
  gap: 14px;
}

.ok-asset-action-card,
.ok-asset-info-card,
.ok-asset-license-card,
.ok-asset-creator-card {
  padding: 16px;
}

.ok-asset-action-card__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.ok-asset-action-card__head span,
.ok-asset-info-card h2,
.ok-asset-creator-card span {
  margin: 0;
  color: #6b7280;
  font-size: 11px;
  font-weight: 920;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ok-asset-action-card__head strong {
  color: #101418;
  font-size: 24px;
  line-height: 1;
}

.ok-asset-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 18px;
  background: #fff8e1;
  color: #8a5a00;
  font-weight: 850;
}

.ok-download-primary {
  position: relative;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(#0b57d0, #0b57d0) padding-box,
    linear-gradient(135deg, #a8c7fa, #c4b5fd, #f6aea9) border-box;
  color: #fff;
  font-weight: 930;
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(11, 87, 208, .28);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.ok-download-primary::before {
  content: "";
  position: absolute;
  inset: -60% auto -60% -40%;
  width: 45%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transition: left .55s ease;
}

.ok-download-primary:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(#084ab4, #084ab4) padding-box,
    linear-gradient(135deg, #a8c7fa, #c4b5fd, #f6aea9) border-box;
  box-shadow: 0 24px 62px rgba(11, 87, 208, .32), 0 0 0 7px rgba(168, 199, 250, .2);
}

.ok-download-primary:hover::before {
  left: 110%;
}

.ok-download-primary span {
  opacity: .86;
}

.ok-download-primary,
.ok-download-primary:hover,
.ok-download-primary:focus,
.ok-download-primary:visited,
.ok-download-primary *,
.ok-download-primary:hover *,
.ok-download-primary:focus * {
  color: #fff;
}

.ok-download-empty {
  margin: 0;
  padding: 14px;
  border-radius: 18px;
  background: #f3f6fc;
  color: #5f6368;
  font-weight: 850;
}

.ok-asset-info-card dl {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
  overflow: hidden;
  border: 1px solid rgba(218, 220, 224, .72);
  border-radius: 20px;
}

.ok-asset-info-card dl > div {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(218, 220, 224, .72);
}

.ok-asset-info-card dl > div:last-child {
  border-bottom: 0;
}

.ok-asset-info-card dt {
  color: #6b7280;
  font-size: 11px;
  font-weight: 920;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ok-asset-info-card dd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #101418;
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.ok-asset-license-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.ok-asset-license-card > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #e8f0fe;
  color: #0b57d0;
}

.ok-asset-license-card strong {
  display: block;
  color: #101418;
}

.ok-asset-license-card p {
  margin: 4px 0 0;
  color: #5f6368;
  line-height: 1.5;
}

.ok-asset-creator-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.ok-creator-avatar img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.ok-asset-creator-card strong {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
  color: #101418;
}

.ok-asset-creator-card strong i {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f0fe;
  color: #0b57d0;
  font-size: 10px;
}

.ok-credit-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  place-items: center;
  padding: 18px;
}

.ok-credit-modal.show {
  display: grid;
}

.ok-credit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(248, 251, 255, .72);
  backdrop-filter: blur(22px);
}

.ok-credit-modal-card {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 28px;
  border: 1px solid rgba(218, 220, 224, .86);
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 0%, rgba(168, 199, 250, .48), transparent 34%),
    #fff;
  box-shadow: 0 34px 110px rgba(60, 64, 67, .24);
  text-align: center;
}

.ok-credit-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #dadce0;
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  color: #0b57d0;
  cursor: pointer;
}

.ok-credit-modal-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 24px;
  background: #e8f0fe;
  color: #0b57d0;
  font-size: 28px;
}

.ok-credit-modal-card h2 {
  margin: 0;
  color: #101418;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  letter-spacing: -.04em;
}

.ok-credit-modal-card p {
  margin: 12px auto 20px;
  max-width: 340px;
  color: #5f6368;
  line-height: 1.6;
}

.ok-credit-modal-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.ok-credit-modal-stats div {
  padding: 14px;
  border: 1px solid #dadce0;
  border-radius: 18px;
  background: rgba(248, 251, 255, .86);
}

.ok-credit-modal-stats span {
  display: block;
  color: #6b7280;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ok-credit-modal-stats strong {
  display: block;
  margin-top: 4px;
  color: #101418;
  font-size: 24px;
}

.ok-credit-modal-buy {
  min-height: 54px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: #0b57d0;
  color: #fff;
  font-weight: 930;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(11, 87, 208, .28);
}

.ok-credit-modal-buy:hover {
  background: #084ab4;
  box-shadow: 0 24px 62px rgba(11, 87, 208, .34), 0 0 0 7px rgba(168, 199, 250, .22);
}

.ok-post-download-ad {
  overflow: hidden;
}

@media (max-width: 1120px) {
  .ok-asset-layout {
    grid-template-columns: 1fr;
  }

  .ok-asset-side {
    position: static;
  }

  .ok-asset-stage {
    min-height: min(68vh, 720px);
  }
}

@media (max-width: 760px) {
  body.single .ok-asset-detail {
    padding: 10px 10px 64px;
  }

  .ok-asset-stage-card,
  .ok-asset-side > section,
  .ok-asset-side > .ok-post-download-ad {
    border-radius: 24px;
  }

  .ok-asset-under-preview h1 {
    font-size: clamp(32px, 11vw, 56px);
  }

  .ok-asset-stage {
    min-height: min(58vh, 520px);
    border-radius: 18px;
  }

  .ok-asset-action-card__head,
  .ok-asset-info-card dl > div {
    display: grid;
  }
}

@media (max-width: 520px) {
  .ok-asset-quick-meta,
  .ok-asset-quick-meta button {
    width: 100%;
  }

  .ok-asset-quick-meta span {
    flex: 1 1 100%;
  }

  .ok-asset-stage {
    min-height: min(54vh, 420px);
  }
}

@media (max-width: 1280px) {
  .ok-stock-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .homefeed-category-grid,
  .homefeed-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1080px) {
  .ok-stock-layout {
    grid-template-columns: 1fr;
  }

  .ok-stock-filter {
    position: static;
  }

  .ok-stock-banner {
    grid-template-columns: 1fr;
  }

  .ok-stock-banner__art {
    position: absolute;
    inset: 0;
    opacity: .18;
    transform: none;
  }

  .ok-stock-banner__content {
    padding: clamp(36px, 9vw, 82px) 22px;
  }

}

@media (max-width: 820px) {
  body.ok-stock-filter-open {
    overflow: hidden;
  }

  .ok-stock-filter-toggle {
    min-height: 44px;
    width: max-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0 auto clamp(16px, 4vw, 24px);
    padding: 0 18px;
    border: 1px solid var(--ok-feed-green-border);
    border-radius: 999px;
    background: #fff;
    color: var(--ok-feed-green);
    font-size: 14px;
    font-weight: 850;
    box-shadow: 0 12px 32px rgba(19, 115, 51, .12);
  }

  .ok-stock-filter-toggle i {
    font-size: 15px;
  }

  .ok-stock-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(16, 20, 24, .34);
    backdrop-filter: blur(4px);
  }

  body.ok-stock-filter-open .ok-stock-filter-backdrop {
    display: block;
  }

  .ok-stock-filter {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    width: min(88vw, 360px);
    max-width: calc(100vw - 28px);
    overflow-y: auto;
    border-block: 0;
    border-right: 0;
    border-radius: 22px 0 0 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: -22px 0 60px rgba(16, 20, 24, .18);
    transform: translateX(110%);
    transition: transform .24s ease;
  }

  body.ok-stock-filter-open .ok-stock-filter {
    transform: translateX(0);
  }

  .ok-stock-filter form {
    min-height: 100%;
    align-content: start;
    padding: 18px 14px 22px;
  }

  .ok-stock-filter__head {
    position: sticky;
    top: 0;
    z-index: 2;
    margin: -18px -14px 0;
    padding: 16px 14px 12px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
  }

  .ok-stock-filter__actions button {
    display: grid;
  }

  .homefeed-category-grid,
  .homefeed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ok-stock-grid,
  .ok-stock-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ok-stock-results__bar {
    display: grid;
  }

  .ok-stock-active-filters {
    justify-content: flex-start;
  }

}

@media (max-width: 560px) {
  .homefeed {
    padding-inline: 12px !important;
  }

  .asset-search-header,
  .ok-inspo-head {
    border-radius: 18px !important;
  }

  .homefeed-category-head,
  .ok-inspo-head,
  .ok-inspo-section-head {
    display: grid !important;
    align-items: start !important;
  }

  .homefeed-category-grid,
  .homefeed-grid {
    grid-template-columns: 1fr !important;
  }

  .ok-stock-grid,
  .ok-stock-category-grid {
    grid-template-columns: 1fr;
  }

  .ok-stock-category-card {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 102px;
  }

  .ok-stock-category-card__media {
    width: 82px;
    height: 82px;
  }

}

@media (max-width: 560px) {
  .homefeed--magnific .ok-stock-category-card {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(72px, 82px) minmax(0, 1fr);
    gap: 14px;
    padding: 10px;
  }

  .homefeed--magnific .ok-stock-category-card > span:last-child {
    min-width: 0;
  }

  .homefeed--magnific .ok-stock-category-card strong,
  .homefeed--magnific .ok-stock-category-card small {
    overflow-wrap: anywhere;
  }

  .homefeed--magnific.homefeed--mobile-cat-cols-2 .ok-stock-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .homefeed--magnific.homefeed--mobile-cat-cols-2 .ok-stock-category-card {
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
  }

  .homefeed--magnific.homefeed--mobile-cat-cols-2 .ok-stock-category-card__media {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .homefeed--magnific.homefeed--mobile-cat-cols-2 .ok-stock-category-card strong {
    font-size: 13px;
    line-height: 1.25;
  }

  .homefeed--magnific.homefeed--mobile-cat-cols-2 .ok-stock-category-card small {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.25;
  }
}

@media (max-width: 380px) {
  .homefeed--magnific.homefeed--mobile-cat-cols-1 .ok-stock-category-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .homefeed--magnific.homefeed--mobile-cat-cols-1 .ok-stock-category-card__media {
    width: 72px;
    height: 72px;
  }

  .homefeed--magnific.homefeed--mobile-cat-cols-2 .ok-stock-category-grid {
    gap: 8px !important;
  }

  .homefeed--magnific.homefeed--mobile-cat-cols-2 .ok-stock-category-card {
    padding: 8px;
  }
}

@media (max-width: 560px) {
  .homefeed--taxonomy.homefeed--mobile-post-cols-2 .homefeed-grid,
  .homefeed--taxonomy.homefeed--mobile-post-cols-2 .homefeed-category-grid {
    gap: 10px !important;
  }

  .homefeed--taxonomy.homefeed--mobile-post-cols-2 .feed-item,
  .homefeed--taxonomy.homefeed--mobile-post-cols-2 .ok-stock-card {
    min-width: 0;
    padding: 6px !important;
    border-radius: 14px !important;
  }

  .homefeed--taxonomy.homefeed--mobile-post-cols-2 .feed-item > a,
  .homefeed--taxonomy.homefeed--mobile-post-cols-2 .ok-stock-card__link,
  .homefeed--taxonomy.homefeed--mobile-post-cols-2 .feed-item .media-wrap,
  .homefeed--taxonomy.homefeed--mobile-post-cols-2 .ok-stock-card__media {
    border-radius: 10px !important;
  }

  .homefeed--taxonomy.homefeed--mobile-post-cols-2 .feed-title,
  .homefeed--taxonomy.homefeed--mobile-post-cols-2 .ok-stock-card__title {
    padding: 8px 2px 2px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .homefeed--taxonomy.homefeed--mobile-post-cols-2 .homefeed-grid,
  .homefeed--taxonomy.homefeed--mobile-post-cols-2 .homefeed-category-grid {
    gap: 8px !important;
  }

  .homefeed--taxonomy.homefeed--mobile-post-cols-2 .feed-item,
  .homefeed--taxonomy.homefeed--mobile-post-cols-2 .ok-stock-card {
    padding: 5px !important;
  }

  .homefeed--taxonomy.homefeed--mobile-post-cols-2 .feed-title,
  .homefeed--taxonomy.homefeed--mobile-post-cols-2 .ok-stock-card__title {
    font-size: 11px !important;
  }
}

/* Gemini feed and explore finish */
.homefeed,
.homefeed--magnific,
.ok-inspo-page {
  background:
    radial-gradient(circle at 10% 0, rgba(168, 199, 250, .62), transparent 30rem),
    radial-gradient(circle at 92% 8%, rgba(196, 181, 253, .46), transparent 34rem),
    linear-gradient(180deg, #f8fbff 0%, #fff 42%, #f7faff 100%) !important;
}

.homefeed-category-kicker,
.asset-search-kicker,
.ok-inspo-eyebrow,
.ok-stock-filter__head a,
.ok-stock-radio span i,
.ok-stock-banner__content span {
  color: #0b57d0 !important;
}

.ok-stock-filter {
  border-color: rgba(168, 199, 250, .72) !important;
  box-shadow: 0 22px 60px rgba(60, 64, 67, .09) !important;
}

.feed-item,
.ok-stock-card,
.ok-stock-category-card,
.ok-inspo-card {
  border-color: rgba(168, 199, 250, .72) !important;
  box-shadow: 0 12px 34px rgba(60, 64, 67, .09) !important;
}

.feed-item:hover,
.ok-stock-card:hover,
.ok-stock-category-card:hover,
.ok-inspo-card:hover {
  border-color: rgba(168, 199, 250, .95) !important;
  box-shadow: 0 22px 58px rgba(60, 64, 67, .14), 0 0 0 6px rgba(168, 199, 250, .14) !important;
}

.feed-item .media-wrap,
.ok-stock-card__media {
  background: #fff !important;
}

.ok-inspo-thumb,
.ok-stock-category-card__media {
  background: #eef3fb !important;
}

.ok-stock-card__play {
  background: #fff !important;
  color: #0b57d0 !important;
  box-shadow: 0 16px 36px rgba(11, 87, 208, .18) !important;
}

.asset-premium-badge,
.ok-stock-radio input:checked + span,
.ok-stock-banner__content span,
.ok-stock-card__meta .is-free {
  border-color: rgba(168, 199, 250, .9) !important;
  background: #e8f0fe !important;
  color: #0b57d0 !important;
}

.asset-search-header,
.ok-inspo-head,
.ok-stock-banner {
  border-color: rgba(168, 199, 250, .72) !important;
  background:
    radial-gradient(circle at 12% 12%, rgba(168, 199, 250, .74), transparent 32%),
    radial-gradient(circle at 88% 90%, rgba(196, 181, 253, .48), transparent 32%),
    #f8fbff !important;
  box-shadow: 0 22px 64px rgba(60, 64, 67, .1) !important;
}

.homefeed-more-card {
  background:
    radial-gradient(circle at 20% 20%, rgba(168, 199, 250, .52), transparent 36%),
    #f8fbff !important;
}

.ok-inspo-thumb::after {
  background: linear-gradient(135deg, rgba(11, 87, 208, .2), rgba(124, 77, 255, .12)) !important;
}

.ok-inspo-tag:hover {
  border-color: #a8c7fa !important;
  background: #e8f0fe !important;
  color: #0b57d0 !important;
}

.ok-stock-pagination .page-numbers.current,
.ok-stock-pagination .page-numbers:hover {
  border-color: #0b57d0 !important;
  background: #0b57d0 !important;
  color: #fff !important;
}

.ok-stock-empty {
  border-color: #a8c7fa !important;
}

@media (max-width: 820px) {
  .ok-stock-filter-toggle {
    border-color: #a8c7fa !important;
    color: #0b57d0 !important;
    box-shadow: 0 12px 32px rgba(60, 64, 67, .12) !important;
  }

  .ok-stock-filter-backdrop {
    z-index: 12000 !important;
  }

  body.ok-stock-filter-open .ok-stock-filter-backdrop {
    display: block !important;
  }

  .ok-stock-filter {
    top: 0 !important;
    bottom: auto !important;
    z-index: 12010 !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    padding-top: env(safe-area-inset-top) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
  }

  .ok-stock-filter form {
    min-height: calc(100dvh - env(safe-area-inset-top)) !important;
    padding: 0 14px 24px !important;
  }

  .ok-stock-filter__head {
    top: 0 !important;
    margin: 0 -14px 14px !important;
    padding: calc(16px + env(safe-area-inset-top)) 14px 12px !important;
  }
}

/* My profile final CSS moved to assets/css/pages/my-profile-page.css. */
/* Checkout final CSS moved to assets/css/pages/checkout-page.css. */
/* My profile controls CSS moved to assets/css/pages/my-profile-page.css. */
/* Checkout compact CSS moved to assets/css/pages/checkout-page.css. */
/* Asset card thumbnail cleanup */
.feed-item {
  padding: 8px !important;
  border-radius: 20px !important;
}

.feed-title {
  padding: 10px 4px 2px !important;
}

.feed-item .media-wrap,
.ok-stock-card__media {
  aspect-ratio: 16 / 10 !important;
  min-height: 0 !important;
  display: block !important;
  overflow: hidden !important;
}

.feed-item .media-wrap {
  position: relative !important;
  border-radius: 14px !important;
  background: #fff !important;
}

.feed-item > a {
  border-radius: 14px !important;
}

.feed-item > a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 45%;
  background: linear-gradient(to top, rgba(6, 8, 12, .68), transparent);
  pointer-events: none;
}

.feed-item .ok-stock-card__meta,
.feed-item .ok-stock-card__title {
  left: 10px;
  right: 10px;
}

.feed-item:hover .ok-stock-card__title {
  opacity: 1;
  transform: translateY(0);
}

.feed-item .media-wrap img,
.feed-item .media-wrap video,
.ok-stock-card__media img,
.ok-stock-card__media video {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
}

.feed-item .media-wrap img {
  pointer-events: none !important;
  will-change: transform;
  transition: filter .22s ease, transform .6s cubic-bezier(.22, 1, .36, 1) !important;
}

.feed-item .hover-video {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #fff !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: none !important;
  transition: opacity .24s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  .feed-item.is-image > a:hover .media-wrap img,
  .feed-item.is-image:focus-within .media-wrap img {
    filter: saturate(1.04) contrast(1.02) !important;
    transform: scale(1.06) !important;
  }

  .feed-item.is-hover-video-ready > a:hover .hover-video,
  .feed-item.is-hover-video-ready:focus-within .hover-video {
    opacity: 1 !important;
  }
}

.feed-item .media-wrap :where(.ok-preview-watermark, .preview-watermark, .watermark),
.ok-stock-card__media :where(.ok-preview-watermark, .preview-watermark, .watermark) {
  display: none !important;
}

/* Final asset card style: clean inset preview with title below */
.feed-item,
.ok-stock-card {
  padding: 8px !important;
  overflow: hidden !important;
  border: 1px solid var(--ok-border-soft) !important;
  border-radius: 8px !important;
  background: var(--ok-surface) !important;
  box-shadow: none !important;
  transition: border-color var(--ok-transition-fast), box-shadow var(--ok-transition-fast), transform var(--ok-transition-fast) !important;
}

.feed-item:hover,
.ok-stock-card:hover {
  border-color: var(--ok-border-blue) !important;
  box-shadow: 0 10px 28px rgba(60, 64, 67, .11) !important;
  transform: translateY(-2px) !important;
}

.feed-item > a,
.ok-stock-card__link {
  position: relative !important;
  display: grid !important;
  gap: 0 !important;
  overflow: visible !important;
  border-radius: 6px !important;
  color: var(--ok-ink) !important;
  text-decoration: none !important;
}

.feed-item > a::after,
.ok-stock-card__link::after,
.feed-overlay {
  display: none !important;
  content: none !important;
}

.feed-item .media-wrap,
.ok-stock-card__media {
  position: relative !important;
  aspect-ratio: 16 / 10 !important;
  min-height: 0 !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 6px !important;
  background: var(--ok-surface-soft) !important;
}

.feed-item .media-wrap img,
.feed-item .media-wrap video,
.ok-stock-card__media img,
.ok-stock-card__media video {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  background: var(--ok-surface-soft) !important;
}

.ok-stock-card.is-video .ok-stock-card__media img,
.ok-stock-card.is-video .ok-stock-card__media video,
.ok-stock-card.is-display-video .ok-stock-card__media img,
.ok-stock-card.is-display-video .ok-stock-card__media video,
.feed-item.is-video .media-wrap img,
.feed-item.is-video .media-wrap video {
  object-fit: cover !important;
}

.feed-item .hover-video,
.ok-stock-card .hover-video {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .22s ease !important;
  border-radius: 6px !important;
  background: var(--ok-surface-soft) !important;
}

.feed-item.is-hover-video-ready > a:hover .hover-video,
.feed-item.is-hover-video-ready:focus-within .hover-video,
.ok-stock-card.is-hover-video-ready:hover .hover-video,
.ok-stock-card.is-hover-video-ready:focus-within .hover-video {
  opacity: 1 !important;
}

.ok-stock-card__play,
.feed-item .ok-video-play {
  position: absolute !important;
  inset: 50% auto auto 50% !important;
  z-index: 3 !important;
  width: 48px !important;
  height: 48px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, .86) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .92) !important;
  color: var(--ok-blue) !important;
  box-shadow: 0 14px 34px rgba(60, 64, 67, .18) !important;
  transform: translate(-50%, -50%) !important;
  transition: opacity .2s ease, transform .2s ease, background .2s ease !important;
  pointer-events: none !important;
}

.ok-stock-card__play i,
.feed-item .ok-video-play i {
  margin-left: 2px;
  color: inherit !important;
  font-size: 15px !important;
}

.feed-item:hover .ok-video-play,
.feed-item:focus-within .ok-video-play,
.ok-stock-card:hover .ok-stock-card__play,
.ok-stock-card:focus-within .ok-stock-card__play {
  background: var(--ok-blue) !important;
  color: #fff !important;
  transform: translate(-50%, -50%) scale(1.04) !important;
}

.feed-item.is-hover-video-ready:hover .ok-video-play,
.feed-item.is-hover-video-ready:focus-within .ok-video-play,
.ok-stock-card.is-hover-video-ready:hover .ok-stock-card__play,
.ok-stock-card.is-hover-video-ready:focus-within .ok-stock-card__play {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(.92) !important;
}

.ok-stock-card__meta {
  position: absolute !important;
  inset: 8px 8px auto auto !important;
  z-index: 4 !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  pointer-events: none !important;
}

.ok-stock-card__meta > span:first-child {
  display: none !important;
}

.ok-stock-card__meta span {
  width: 30px !important;
  height: 30px !important;
  display: inline-grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid var(--ok-border-blue) !important;
  border-radius: 6px !important;
  background: var(--ok-blue-soft) !important;
  color: var(--ok-blue) !important;
  font-size: 0 !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 18px rgba(11, 87, 208, .14) !important;
}

.ok-stock-card__meta span i {
  width: 1em !important;
  height: 1em !important;
  display: block !important;
  margin: 0 !important;
  color: inherit !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

.ok-stock-card__meta .is-free {
  display: none !important;
}

.ok-stock-card__meta .is-premium {
  display: inline-grid !important;
}

.asset-premium-badge,
.premium-badge,
.ok-premium-badge,
.feed-item .asset-premium-badge,
.ok-stock-card .asset-premium-badge {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid var(--ok-border-blue) !important;
  border-radius: 6px !important;
  background: var(--ok-blue-soft) !important;
  color: var(--ok-blue) !important;
  box-shadow: 0 8px 18px rgba(11, 87, 208, .14) !important;
}

.asset-premium-badge i,
.premium-badge i,
.ok-premium-badge i,
.feed-item .asset-premium-badge i,
.ok-stock-card .asset-premium-badge i {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: auto !important;
  height: auto !important;
  display: inline-block !important;
  margin: 0 !important;
  color: inherit !important;
  font-size: 14px !important;
  line-height: 1 !important;
  transform: translate(-50%, -50%) !important;
}

.ok-stock-card__meta span,
.asset-premium-badge,
.premium-badge,
.ok-premium-badge,
.feed-item .asset-premium-badge,
.ok-stock-card .asset-premium-badge {
  position: relative !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-align: center !important;
}

.ok-stock-card__meta span i {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: auto !important;
  height: auto !important;
  display: inline-block !important;
  line-height: 1 !important;
  transform: translate(-50%, -50%) !important;
}

.ok-stock-card__title {
  position: static !important;
  inset: auto !important;
  display: block !important;
  min-height: 40px !important;
  padding: 10px 2px 2px !important;
  color: var(--ok-ink) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
  opacity: 1 !important;
  transform: none !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.feed-title {
  min-height: 40px !important;
  padding: 10px 2px 2px !important;
  color: var(--ok-ink) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
}

@media (max-width: 560px) {
  .feed-item,
  .ok-stock-card {
    padding: 6px !important;
  }

  .ok-stock-card__title,
  .feed-title {
    font-size: 14px !important;
  }
}

/* Video card repair: center play icon in the preview and avoid hover cropping */
.ok-stock-card__media {
  position: relative !important;
}

.ok-stock-card__media > .ok-stock-card__play,
.feed-item .media-wrap > .ok-video-play {
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  inset: auto !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
}

.ok-stock-card__media > .hover-video,
.feed-item .media-wrap > .hover-video,
.ok-stock-card.is-video .ok-stock-card__media img,
.ok-stock-card.is-video .ok-stock-card__media video,
.ok-stock-card.is-display-video .ok-stock-card__media img,
.ok-stock-card.is-display-video .ok-stock-card__media video,
.feed-item.is-video .media-wrap img,
.feed-item.is-video .media-wrap video {
  object-fit: contain !important;
  object-position: center !important;
}

.ok-stock-card:hover .ok-stock-card__media > .ok-stock-card__play,
.ok-stock-card:focus-within .ok-stock-card__media > .ok-stock-card__play,
.feed-item:hover .media-wrap > .ok-video-play,
.feed-item:focus-within .media-wrap > .ok-video-play {
  transform: translate(-50%, -50%) scale(1.04) !important;
}

.ok-stock-card.is-hover-video-ready:hover .ok-stock-card__media > .ok-stock-card__play,
.ok-stock-card.is-hover-video-ready:focus-within .ok-stock-card__media > .ok-stock-card__play,
.feed-item.is-hover-video-ready:hover .media-wrap > .ok-video-play,
.feed-item.is-hover-video-ready:focus-within .media-wrap > .ok-video-play {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(.92) !important;
}

/* Homepage studio CSS moved to assets/css/pages/homepage.css. */
/* Policy/about/contact/discuss CSS moved to assets/css/pages/policy-pages.css, assets/css/pages/about-us.css, assets/css/pages/contact-us.css, assets/css/pages/discuss-your-project.css. */
