:root {
  color-scheme: dark;
  --mf-bg: #0b0d10;
  --mf-surface: #15191e;
  --mf-raised: #1c222a;
  --mf-border: #2b3139;
  --mf-control: #69747f;
  --mf-text: #f4f5f7;
  --mf-muted: #b8bec7;
  --mf-accent: #00e5ff;
  --mf-on-accent: #0b0d10;
  --mf-width: 1440px;
  --mf-radius: 8px;
  font-family: Inter, Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--mf-bg);
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  color: var(--mf-text);
  background: var(--mf-bg);
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
img,
video {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}
h1 {
  font-size: 64px;
  font-weight: 800;
}
h2 {
  font-size: 36px;
  font-weight: 800;
}
h3 {
  font-size: 22px;
}
p + p {
  margin-top: 16px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--mf-accent);
  outline-offset: 5px;
}
button,
a {
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}
::selection {
  background: var(--mf-accent);
  color: var(--mf-on-accent);
}
[hidden] {
  display: none !important;
}
.container {
  width: min(calc(100% - 80px), var(--mf-width));
  margin-inline: auto;
}
.section {
  padding-block: 64px;
}
.section + .section {
  border-top: 1px solid var(--mf-border);
}
.muted {
  color: var(--mf-muted);
}
.accent {
  color: var(--mf-accent);
}
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--mf-accent);
  margin-bottom: 16px;
}
.lead {
  font-size: 20px;
  color: var(--mf-muted);
  max-width: 58ch;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
.section-heading p {
  margin-top: 12px;
  max-width: 65ch;
  color: var(--mf-muted);
}
.text-link {
  color: var(--mf-accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
}
.text-link:hover {
  text-decoration: underline;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 20px;
  top: 12px;
  transform: translateY(-160%);
  background: var(--mf-accent);
  color: var(--mf-on-accent);
  padding: 12px;
}
.skip-link:focus {
  transform: none;
}
.site-header {
  border-bottom: 1px solid var(--mf-border);
  background: var(--mf-bg);
  position: relative;
  z-index: 10;
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 36px;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-mark {
  position: relative;
  display: block;
  width: 154px;
  aspect-ratio: 300/113;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-mark:after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mf-accent);
  mask: url("../Moja%20by%20OneSelf%20World%20Logo%20-%20White.png")
    center/contain no-repeat;
  clip-path: inset(61% 0 0 0);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--mf-muted);
  font-size: 15px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--mf-text);
}
.site-nav a[aria-current="page"] {
  border-color: var(--mf-accent);
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.site-account {
  position: relative;
}
#siteAccountButton {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(280px, calc(100vw - 40px));
  padding: 8px;
  background: var(--mf-surface);
  border: 1px solid var(--mf-control);
  border-radius: 8px;
  box-shadow: 0 12px 32px #0008;
  z-index: 100;
}
.site-account-menu p {
  font-size: 14px;
  color: var(--mf-muted);
  padding: 10px;
  overflow-wrap: anywhere;
}
.site-account-menu a,
.site-account-menu button {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  color: var(--mf-text);
  padding: 10px;
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}
.site-account-menu a:hover,
.site-account-menu button:hover {
  background: var(--mf-raised);
}
.site-account-unavailable {
  width: min(440px, calc(100% - 40px));
  color: var(--mf-text);
  background: var(--mf-surface);
  border: 1px solid var(--mf-control);
  border-radius: 8px;
  padding: 28px;
}
.site-account-unavailable::backdrop {
  background: #000b;
}
.site-account-unavailable h2 {
  font-size: 24px;
}
.site-account-unavailable p {
  margin: 16px 0 24px;
  color: var(--mf-muted);
}
[data-mf-site] .moja-license-panel {
  background: var(--mf-surface);
  border-color: var(--mf-control);
  border-radius: 8px;
}
[data-mf-site] .moja-license-button.primary {
  background: var(--mf-accent);
  border-color: var(--mf-accent);
  color: var(--mf-on-accent);
}
[data-mf-site] .moja-license-switch button {
  color: var(--mf-accent);
}
[data-mf-site] .moja-license-age input {
  accent-color: var(--mf-accent);
}
@media (max-width: 1000px) {
  .header-actions > a {
    display: none;
  }
}
@media (max-width: 760px) {
  .site-header .header-actions {
    display: flex;
  }
  #siteAccountButton {
    padding: 8px 10px;
    min-height: 40px;
    font-size: 14px;
    max-width: 90px;
  }
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--mf-control);
  border-radius: 8px;
  color: var(--mf-text);
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--mf-control);
  border-radius: 8px;
  color: var(--mf-text);
  background: transparent;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  line-height: 1.4;
}
.button:hover {
  background: var(--mf-raised);
  border-color: var(--mf-text);
}
.button.primary {
  background: var(--mf-accent);
  color: var(--mf-on-accent);
  border-color: var(--mf-accent);
}
.button.primary:hover {
  background: #7cf1ff;
  border-color: #7cf1ff;
}
.button.light {
  background: var(--mf-text);
  color: var(--mf-bg);
  border-color: var(--mf-text);
}
.button.small {
  min-height: 44px;
  font-size: 14px;
  padding: 10px 16px;
}
.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 12px;
  border: 1px solid var(--mf-control);
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.4;
}
.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.site-footer {
  border-top: 1px solid var(--mf-border);
  padding-block: 32px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  color: var(--mf-muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
/* Reference-led creator hero: prominent, unframed footage of the real Editor. */
.creator-hero {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--mf-border);
}
.creator-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: none;
}
.creator-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: none;
}
.creator-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--edit-heroMedia, 60%));
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 40px 0 40px max(36px, calc((100% - 1440px) / 2));
}
.creator-copy {
  width: 100%;
  min-width: 0;
  max-width: 520px;
  position: relative;
  z-index: 2;
}
.creator-hero h1 {
  font-size: 92px;
  line-height: 0.96;
  font-weight: 900;
}
.creator-hero .lead {
  margin-top: 24px;
  max-width: 38ch;
  color: #e2e5e8;
}
.product-scene {
  position: relative;
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-scene video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  object-fit: contain;
}
.broll-toggle {
  position: absolute;
  bottom: 20px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: #0b0d10e6;
  border: 1px solid var(--mf-control);
  border-radius: 6px;
  color: var(--mf-text);
}
.category-section {
  padding-top: 32px;
}
.category-section .section-heading h2 {
  font-size: 80px;
  font-weight: 900;
  line-height: 1.04;
}
.category-section .category-tile {
  aspect-ratio: 16/10;
}
.creator-hero .actions .button {
  padding-inline: 16px;
  font-size: 15px;
}
.creator-hero .lead {
  font-size: 22px;
}
.discovery-intro h1 {
  font-size: 72px;
  font-weight: 900;
}
.detail-heading h1 {
  font-size: 80px;
  font-weight: 900;
}
.detail-content h2 {
  font-size: 40px;
}
.detail-grid {
  grid-template-columns: minmax(0, 2.2fr) minmax(300px, 1fr);
}
.catalog-grid.curated {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
}
@media (min-width: 761px) and (max-width: 1199px) {
  .category-section .section-heading h2 {
    font-size: 60px;
  }
  .creator-hero h1 {
    font-size: 68px;
  }
  .creator-hero .lead {
    font-size: 18px;
  }
  .creator-hero .actions {
    gap: 10px;
  }
  .creator-hero .actions .button {
    padding-inline: 12px;
    font-size: 14px;
  }
}
.product-caption {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--mf-muted);
  font-size: 14px;
  gap: 12px;
}
.product-caption strong {
  color: var(--mf-accent);
}
.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--mf-muted);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.category-tile {
  position: relative;
  min-width: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--mf-control);
  border-radius: 8px;
}
.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-tile:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #000e, transparent 65%);
}
.category-tile span {
  position: absolute;
  z-index: 1;
  left: 22px;
  bottom: 20px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
}
.category-tile:hover {
  border-color: var(--mf-accent);
}
.category-tile .icon {
  color: var(--mf-accent);
}
.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.workflow article {
  border-top: 1px solid var(--mf-control);
  padding-top: 24px;
}
.workflow .step-number {
  color: var(--mf-accent);
  font-size: 14px;
  font-weight: 700;
  display: block;
  margin-bottom: 18px;
}
.workflow p {
  color: var(--mf-muted);
  margin-top: 12px;
}
.creator-band {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  padding-block: 48px;
}
.creator-band p {
  color: var(--mf-muted);
  margin-top: 14px;
  max-width: 55ch;
}
.creator-band .actions {
  margin: 0;
  flex-shrink: 0;
}
.template-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.template-row img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: var(--mf-surface);
  border-radius: 8px;
}
.template-row .lead {
  font-size: 18px;
  margin-top: 20px;
}
/* Discovery uses real catalog entries, not padded placeholder rails. */
.discovery-intro {
  padding-block: 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.discovery-intro h1 {
  font-size: 72px;
  max-width: 11ch;
}
.discovery-intro .lead {
  margin-top: 20px;
  font-size: 18px;
}
.search-field {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 28px;
}
.search-field .icon {
  position: absolute;
  left: 18px;
  color: var(--mf-muted);
}
.search-field input {
  width: 100%;
  background: var(--mf-surface);
  border: 1px solid var(--mf-control);
  border-radius: 8px;
  min-height: 52px;
  color: var(--mf-text);
  padding: 12px 18px 12px 50px;
}
.search-field input::placeholder {
  color: var(--mf-muted);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.filter {
  background: transparent;
  color: var(--mf-muted);
  border: 1px solid var(--mf-control);
  border-radius: 6px;
  min-height: 44px;
  padding: 8px 16px;
  font-size: 14px;
}
.filter:hover {
  background: var(--mf-raised);
  color: var(--mf-text);
}
.filter[aria-pressed="true"] {
  background: var(--mf-accent);
  color: var(--mf-on-accent);
  border-color: var(--mf-accent);
}
.featured-experience {
  --featured-inset: 28px;
  position: relative;
  isolation: isolate;
  min-height: 390px;
  display: flex;
  align-items: end;
  padding: calc(var(--featured-inset) + 52px) var(--featured-inset)
    var(--featured-inset);
  overflow: hidden;
  border: 1px solid var(--mf-control);
  border-radius: 8px;
}
.featured-experience > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-experience:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #000f, transparent 95%);
}
.featured-experience h2 {
  font-size: 38px;
  max-width: 12ch;
  margin: 18px 0 10px;
}
.featured-experience .tag {
  position: absolute;
  top: var(--featured-inset);
  left: var(--featured-inset);
  background: #0009;
}
.featured-experience .actions {
  margin-top: 20px;
}
.featured-experience small {
  display: block;
  margin-top: 12px;
  color: #dce1e5;
  font-size: 14px;
}
.catalog-section {
  padding-bottom: 56px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.catalog-grid.curated {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
}
.experience-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--mf-border);
  border-radius: 8px;
  background: var(--mf-surface);
}
.experience-card:hover {
  border-color: var(--mf-accent);
  background: var(--mf-raised);
}
.card-art {
  position: relative;
  aspect-ratio: 16/9;
  background: #111;
}
.card-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-play {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--mf-accent);
  color: var(--mf-bg);
  border-radius: 50%;
}
.card-copy {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}
.card-copy h3 {
  font-size: 23px;
}
.card-copy p {
  color: var(--mf-muted);
  font-size: 14px;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  margin-top: auto;
}
.catalog-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.sort-label {
  font-size: 14px;
  color: var(--mf-muted);
  display: flex;
  gap: 10px;
  align-items: center;
}
.sort-label select {
  color: var(--mf-text);
  background: var(--mf-surface);
  padding: 10px;
  border: 1px solid var(--mf-control);
  border-radius: 6px;
  min-height: 44px;
}
.catalog-status {
  color: var(--mf-muted);
  margin-bottom: 20px;
  font-size: 14px;
}
.empty-state {
  padding: 32px 0;
  max-width: 65ch;
}
.empty-state h3 {
  margin-bottom: 12px;
}
.empty-state p {
  color: var(--mf-muted);
}
/* Detail keeps trailer media distinct from the interactive launch action. */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--mf-muted);
  margin: 32px 0 24px;
}
.breadcrumb a:hover {
  color: var(--mf-accent);
}
.detail-heading {
  margin-bottom: 28px;
}
.detail-heading h1 {
  font-size: 80px;
  overflow-wrap: anywhere;
  margin-bottom: 20px;
}
.attribution {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--mf-muted);
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(300px, 1fr);
  grid-template-areas: "media action" "about requirements";
  gap: 28px;
  row-gap: 0;
  align-items: stretch;
}
.detail-column {
  display: contents;
}
.experience-media {
  grid-area: media;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.detail-content {
  grid-area: about;
  align-self: start;
  min-width: 0;
}
.action-panel {
  grid-area: action;
}
.requirements {
  grid-area: requirements;
  align-self: start;
  min-width: 0;
}
.trailer-stage {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--mf-border);
  border-radius: 8px;
  flex-grow: 1;
}
.trailer-stage > img,
.trailer-stage > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.trailer-button {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: white;
  font-size: 18px;
  font-weight: 700;
  background: #0003;
  text-shadow: 0 1px 8px black;
}
.trailer-button .play-ring {
  width: 68px;
  height: 68px;
  border: 2px solid white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0b0d10b3;
  color: var(--mf-accent);
}
.trailer-button .icon {
  width: 28px;
  height: 28px;
}
.trailer-button:hover {
  background: #0006;
}
.screenshots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.screenshot-button {
  position: relative;
  padding: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid var(--mf-control);
  border-radius: 6px;
  background: var(--mf-surface);
}
.screenshot-button[aria-pressed="true"] {
  border: 2px solid var(--mf-accent);
}
.screenshot-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.action-panel {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--mf-control);
  border-radius: 8px;
  background: var(--mf-surface);
}
.action-panel h2 {
  font-size: 32px;
  overflow-wrap: anywhere;
}
.action-panel .hook {
  font-size: 18px;
  color: var(--mf-muted);
  margin-top: 18px;
  white-space: pre-line;
}
.action-panel > .button {
  width: 100%;
  margin-top: 20px;
  flex-shrink: 0;
}
.action-panel > #experiencePlayerAccount {
  margin-bottom: 24px;
}
.action-panel .player-options {
  margin-top: auto;
}
.action-panel .action-note {
  font-size: 14px;
  color: var(--mf-muted);
  text-align: center;
  margin-top: 10px;
}
.player-options {
  border-top: 1px solid var(--mf-border);
  margin-top: 24px;
  padding-top: 20px;
}
.player-options p {
  font-size: 14px;
  color: var(--mf-muted);
}
.player-options .text-link {
  font-size: 15px;
}
.price-status {
  font-size: 14px;
  color: var(--mf-muted);
  margin-top: 16px;
}
.detail-content {
  padding-top: 24px;
}
.detail-column {
  min-width: 0;
}
#trailerStatus:empty {
  display: none;
}
.detail-content h2 {
  font-size: 40px;
  margin-bottom: 20px;
}
.detail-content p {
  color: var(--mf-muted);
  white-space: pre-line;
}
.detail-content h3 {
  margin: 28px 0 14px;
}
.requirements {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--mf-control);
  border-radius: 8px;
  background: var(--mf-surface);
}
.requirements h2 {
  font-size: 24px;
  margin-bottom: 22px;
}
.requirements dl {
  margin: 0;
}
.requirements dl > div {
  padding: 16px 0;
  border-top: 1px solid var(--mf-border);
  display: flex;
  gap: 24px;
  align-items: center;
}
.requirements dt {
  font-size: 14px;
  color: var(--mf-muted);
}
.requirements dd {
  margin: 4px 0 0;
  color: var(--mf-muted);
}
.detail-icon {
  display: inline-block;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  background: currentColor;
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}
.play-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}
.play-steps > div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-inline: 20px;
  border-left: 1px solid var(--mf-border);
  font-size: 16px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.play-steps > div:first-child {
  padding-left: 0;
  border-left: 0;
}
.play-steps .detail-icon {
  color: var(--mf-accent);
  flex-basis: 56px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--mf-surface);
  mask: none;
  -webkit-mask: none;
  border-radius: 50%;
}
.play-steps .detail-icon::before {
  content: "";
  width: 28px;
  height: 28px;
  background: currentColor;
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}
.creator-byline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mf-text);
}
.creator-byline img,
.creator-profile > img {
  object-fit: cover;
  border-radius: 50%;
}
.creator-profile {
  display: flex;
  align-items: center;
  gap: 28px;
  border-block: 1px solid var(--mf-border);
  margin-top: 40px;
  padding-block: 24px;
}
.creator-profile > img {
  flex: 0 0 104px;
  width: 104px;
  height: 104px;
}
.creator-profile > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.creator-profile p {
  color: var(--mf-muted);
  white-space: pre-line;
}
.creator-profile h2 {
  font-size: 36px;
  margin: 4px 0;
}
#how-it-works.section {
  padding-top: 0;
}
#how-it-works > .section-heading {
  align-items: center;
  padding-block: 32px;
  margin-bottom: 0;
}
#how-it-works > .section-heading .eyebrow {
  margin-top: 0;
}
#download {
  padding-top: 48px;
}
#templates.section {
  padding-bottom: 0;
}
#download .eyebrow {
  margin-top: 0;
}
@media (max-width: 1000px) {
  .play-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .play-steps > div {
    border: 0;
    padding: 0;
  }
}
@media (max-width: 760px) {
  .creator-profile {
    gap: 16px;
  }
  .creator-profile > img {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }
  .creator-profile h2 {
    font-size: 26px;
  }
}
.creator-credit {
  margin-top: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--mf-border);
  border-bottom: 1px solid var(--mf-border);
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
}
.creator-credit p {
  color: var(--mf-muted);
  margin-bottom: 10px;
}
.creator-credit h2 {
  font-size: 28px;
}
.related {
  padding-block: 40px 64px;
}
.related h2 {
  margin-bottom: 24px;
}
.related .catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.page-notice {
  padding: 16px;
  border-left: 3px solid var(--mf-accent);
  background: var(--mf-surface);
  color: var(--mf-muted);
}
/* Installer styles are scoped here; behavior and download destinations stay unchanged. */
#mojaDesktopInstallFlow {
  background: #000c !important;
}
.moja-install-panel {
  background: var(--mf-surface) !important;
  border: 1px solid var(--mf-control) !important;
  border-radius: 8px;
  max-height: 90vh;
  overflow: auto;
}
.moja-install-kicker {
  color: var(--mf-accent) !important;
  letter-spacing: 0 !important;
}
.moja-install-title {
  font-size: 36px !important;
  text-transform: none !important;
  line-height: 1.15 !important;
}
.moja-install-actions .primary {
  color: var(--mf-bg) !important;
  background: var(--mf-accent) !important;
  border-color: var(--mf-accent) !important;
}
.moja-install-actions a,
.moja-install-actions button {
  text-transform: none !important;
  border-radius: 8px;
  min-height: 44px;
}
.moja-install-mark {
  position: relative;
}
.moja-install-mark:after {
  content: "";
  position: absolute;
  inset: 0;
  right: auto;
  width: min(260px, 64vw);
  background: var(--mf-accent);
  mask: url("../Moja%20by%20OneSelf%20World%20Logo%20-%20White.png") left
    center/contain no-repeat;
  clip-path: inset(61% 0 0 0);
}
img {
  height: auto;
}
.card-art img,
.screenshot-button img,
.category-tile img {
  position: absolute;
  inset: 0;
}
.product-scene img,
.template-row img {
  height: auto;
}
.discovery-intro h1 {
  max-width: none;
}
@media (min-width: 1600px) {
  .creator-hero {
    min-height: 660px;
  }
}
@media (max-width: 1100px) {
  .site-nav {
    gap: 18px;
  }
  .header-inner {
    gap: 20px;
  }
  .header-actions .button {
    padding-inline: 12px;
  }
  .creator-hero h1 {
    font-size: 68px;
  }
  .creator-hero-inner {
    gap: 28px;
  }
  .discovery-intro {
    gap: 28px;
  }
  .discovery-intro h1 {
    font-size: 60px;
  }
  .catalog-grid,
  .catalog-grid.curated {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .creator-band {
    align-items: start;
    flex-direction: column;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
    gap: 22px;
    row-gap: 0;
  }
  .action-panel {
    padding: 22px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }
  h1 {
    font-size: 44px;
  }
  h2 {
    font-size: 30px;
  }
  .section {
    padding-block: 44px;
  }
  .header-inner {
    min-height: 82px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .brand-mark {
    width: 136px;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .header-actions {
    display: none;
  }
  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    padding: 0 0 16px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    padding: 8px 12px;
  }
  .creator-hero {
    min-height: 0;
  }
  .creator-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 40px;
  }
  .creator-hero h1 {
    font-size: 48px;
    max-width: 11ch;
  }
  .creator-hero .lead {
    font-size: 18px;
  }
  .creator-hero:after {
    background: linear-gradient(90deg, #0b0d10ed, #0b0d10c9);
  }
  .product-scene img {
    max-height: 270px;
  }
  .product-caption {
    font-size: 13px;
  }
  .category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .category-tile {
    aspect-ratio: 16/9;
  }
  .category-tile span {
    font-size: 24px;
  }
  .workflow {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .template-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .discovery-intro {
    grid-template-columns: 1fr;
    padding-block: 32px;
    gap: 28px;
  }
  .discovery-intro h1 {
    font-size: 44px;
    max-width: 12ch;
  }
  .featured-experience {
    --featured-inset: 22px;
    min-height: 350px;
  }
  .featured-experience h2 {
    font-size: 32px;
  }
  .catalog-heading {
    align-items: start;
    flex-wrap: wrap;
  }
  .catalog-grid,
  .catalog-grid.curated,
  .related .catalog-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .catalog-section {
    padding-bottom: 40px;
  }
  .detail-heading h1 {
    font-size: 42px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "media" "action" "about" "requirements";
    gap: 24px;
  }
  .detail-column {
    display: contents;
  }
  .experience-media {
    grid-row: 1;
  }
  .action-panel {
    grid-row: 2;
  }
  .detail-content,
  .requirements {
    padding-top: 12px;
  }
  .detail-content {
    grid-row: 3;
  }
  .requirements {
    grid-row: 4;
    margin-top: 0;
  }
  .action-panel h2 {
    font-size: 28px;
  }
  .creator-credit {
    align-items: start;
    flex-direction: column;
  }
  .footer-inner {
    align-items: start;
    flex-direction: column;
  }
  .creator-band .actions {
    flex-shrink: 1;
  }
  .lead {
    font-size: 18px;
  }
  .trailer-button {
    font-size: 16px;
  }
  .trailer-button .play-ring {
    width: 54px;
    height: 54px;
  }
  .attribution {
    gap: 12px;
  }
  .sort-label {
    width: 100%;
    justify-content: space-between;
  }
  .sort-label select {
    flex: 1;
  }
  .actions .button {
    flex-grow: 1;
  }
  .detail-heading {
    margin-bottom: 22px;
  }
}
@media (max-width: 760px) {
  .creator-hero-inner {
    padding-block: 28px;
    gap: 20px;
  }
  .creator-hero h1 {
    font-size: 44px;
  }
  .creator-hero .eyebrow {
    margin-bottom: 12px;
  }
  .creator-hero .lead {
    margin-top: 18px;
    font-size: 16px;
  }
  .creator-hero .actions {
    gap: 10px;
    margin-top: 20px;
    flex-wrap: nowrap;
  }
  .creator-hero .actions .button {
    font-size: 14px;
    padding: 10px;
    flex: 1;
    white-space: nowrap;
  }
  .creator-hero .hero-note {
    margin-top: 14px;
  }
  .product-scene img {
    max-height: 210px;
  }
  .product-caption {
    flex-wrap: wrap;
    gap: 0;
    margin-top: 10px;
  }
  .template-row img {
    max-height: 300px;
  }
}
@media (max-width: 760px) {
  .product-scene img {
    width: min(100%, 336px);
    max-height: none;
    margin-inline: auto;
  }
}
@media (min-width: 761px) and (max-height: 850px) {
  .creator-hero {
    min-height: 600px;
  }
}
@media (max-width: 760px) and (max-height: 780px) {
  .product-caption {
    display: none;
  }
}
@media (max-width: 760px) {
  .creator-hero {
    display: block;
    min-height: 0;
  }
  .creator-hero-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 28px 20px;
    gap: 24px;
  }
  .creator-copy {
    width: 100%;
    max-width: none;
  }
  .product-scene {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    aspect-ratio: 8/5;
  }
  .product-scene video {
    width: auto;
    height: auto;
    object-fit: contain;
  }
  .broll-toggle {
    right: 12px;
    bottom: 12px;
  }
  .category-section .section-heading h2 {
    font-size: 38px;
  }
  .discovery-intro h1 {
    font-size: 44px;
  }
  .detail-heading h1 {
    font-size: 42px;
  }
  .detail-content h2 {
    font-size: 30px;
  }
  .catalog-grid.curated {
    grid-template-columns: 1fr;
  }
}
.episodes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.episode-button {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1px solid var(--mf-control);
  border-radius: 6px;
  background: var(--mf-surface);
  color: var(--mf-text);
  overflow: hidden;
  min-width: 0;
}
.episode-button img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #0b0d10;
}
.episode-title {
  padding: 10px 12px 4px;
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.episode-status {
  padding: 0 12px 10px;
  font-size: 13px;
  color: var(--mf-muted);
}
.episode-button:disabled {
  opacity: 1;
  cursor: default;
}
.episode-button:not(:disabled):hover {
  border-color: var(--mf-accent);
}
:root .creator-hero h1 {
  font-size: var(--edit-heroTitle, clamp(44px, 6vw, 92px));
}
:root .category-section h2 {
  font-size: var(--edit-categoryTitle, 80px);
}
:root .product-scene {
  width: 100%;
}
:root .creator-copy {
  width: 100%;
  overflow-wrap: anywhere;
}
:root .detail-heading h1 {
  font-size: var(--edit-detailTitle, 80px);
}
:root .detail-content {
  padding-top: var(--edit-aboutGap, 24px);
}
:root .section {
  padding-block: var(--edit-sectionSpace, 64px);
}
:root .category-section {
  padding-top: 32px;
}
@media (max-width: 760px) {
  :root .creator-copy {
    width: 100%;
  }
  .episode-title {
    font-size: 14px;
    padding: 8px 6px 4px;
  }
  .episode-status {
    font-size: 12px;
    padding: 0 6px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* Preserve original screenshot detail and offer its native-resolution view. */
.category-card { min-width: 0; }
.category-card .category-tile { display: block; }
.category-tile--clear img { object-fit: contain; background: #0b0e10; }
.category-tile--clear:after { display: none; }
.category-tile--clear span {
  left: 0; right: 0; bottom: 0;
  padding: 12px 20px;
  background: #0b0e10e8;
}
.category-image-original {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px; color: var(--mf-accent); font-size: 14px;
}
.category-image-original:hover { text-decoration: underline; }

#experiencePoster[src$="/takeo-timing-artwork.png"],
.card-art img[src$="/takeo-timing-artwork.png"] { object-fit: cover; }

#experiencePoster[src$="/streetball-legends-main.png"],
.episode-button img[src$="/streetball-legends-main.png"],
.card-art img[src$="/streetball-legends-main.png"] { object-fit: cover; }

.episode-button img[src$="/streetball-legends-episode-two-cyan.png"] { object-fit: cover; }

.episode-button img[src$="/streetball-legends-episode-three.png"] { object-fit: cover; }

/* Shared navigation and clear-button interaction states. */
.site-nav a, .site-nav a:hover, .site-nav a[aria-current="page"] { color:var(--mf-text); }
.button:not(.primary):not(.light) { color:var(--mf-text); border-color:var(--mf-control); }
.button:not(.primary):not(.light):is(:hover,:active,:focus-visible) { border-color:var(--mf-accent); }

.filter { color:var(--mf-text); }
.filter:not([aria-pressed="true"]) { background:transparent; }
.filter:is(:hover,:active,:focus-visible) { border-color:var(--mf-accent); }
.eyebrow.made-with-brand { color:var(--mf-text); }
.made-with-brand .brand-flow { color:var(--mf-accent); }
