:root {
  --v2-bg: #080809;
  --v2-text: #f5f3ef;
  --v2-muted: #aaa6a0;
  --v2-line: rgba(245,243,239,.14);
  --v2-accent: #c45249;
}

body.world-v2 {
  background: var(--v2-bg);
}

.world-v2 .site-header {
  min-height: 56px;
  background: rgba(8,8,9,.98);
  border-bottom-color: var(--v2-line);
}
.world-v2 .header-inner { min-height: 56px; }
.world-v2 .wordmark {
  font-size: 18px;
  letter-spacing: -.04em;
}
.world-v2 .locale-nav {
  font-size: 12px;
  gap: 14px;
  color: #aaa6a0;
}
.world-v2 .locale-nav a { min-height: 40px; }

.world-v2 main.site-shell {
  display: flex;
  flex-direction: column;
}

/* Live-first information hierarchy: audience, language, live cards. */
.world-v2 .audience-nav { order: 1; }
.world-v2 .language-discovery { order: 2; }
.world-v2 .live-head { order: 3; }
.world-v2 .live-mount { order: 4; }
.world-v2 .seo-intro { order: 5; }
.world-v2 .list-note { order: 6; }
.world-v2 .interest-discovery { display: none !important; }

.world-v2 .audience-nav {
  position: sticky;
  top: 56px;
  z-index: 70;
  min-height: 54px;
  gap: clamp(22px, 3.2vw, 40px);
  background: rgba(8,8,9,.98);
  border-bottom: 1px solid var(--v2-line);
  overflow-x: auto;
}
.world-v2 .audience-button {
  min-height: 54px;
  color: #a9a59f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
}
.world-v2 .audience-button.active,
.world-v2 .audience-button[aria-pressed="true"] {
  color: var(--v2-text);
  font-weight: 800;
}
.world-v2 .audience-button.active::after,
.world-v2 .audience-button[aria-pressed="true"]::after {
  height: 3px;
  background: var(--v2-accent);
}

/* The legacy categoryless shelf hides every .secondary-discovery section on home.
   V2 deliberately restores only the spoken-language row. */
.world-v2 .language-discovery {
  display: grid !important;
  min-height: 46px;
  grid-template-columns: 118px minmax(0,1fr);
  gap: 16px;
  border-bottom: 1px solid var(--v2-line);
}
.world-v2 .language-discovery h2 {
  color: #9c9892;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .08em;
}
.world-v2 .language-discovery .hub-links {
  gap: 0 22px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.world-v2 .language-discovery .hub-links::-webkit-scrollbar { display: none; }
.world-v2 .language-discovery .hub-link {
  min-height: 45px;
  flex: none;
}
.world-v2 .language-discovery .hub-link strong {
  color: #c7c3bd;
  font-size: 13px;
  font-weight: 680;
}

.world-v2 .live-head {
  min-height: 44px;
  padding-top: 13px;
  align-items: center;
}
.world-v2 .live-title {
  color: #b0aca6;
  font-size: 11px;
  letter-spacing: .13em;
  font-weight: 760;
}
.world-v2 .live-title::before {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--v2-accent);
}
.world-v2 .live-status { font-size: 12px; }

.world-v2 .model-grid {
  gap: 18px 12px;
  padding-top: 8px;
}
.world-v2 .model-media {
  border-color: rgba(245,243,239,.12);
  border-radius: 7px;
  background: #111113;
}
.world-v2 .model-meta { padding: 8px 2px 0; }
.world-v2 .model-name {
  color: #ddd9d3;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 680;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.world-v2 .model-live {
  display: inline-flex;
  align-items: center;
  flex: none;
  color: #b7b3ad;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .06em;
}
/* Country / HD facts were useful in the old dense discovery layout, but on the V2
   six-column shelf they compete with the performer name and LIVE state. */
.world-v2 .model-facts { display: none !important; }

/* Keep SEO/copy available but move it below the primary discovery experience. */
.world-v2 .seo-intro {
  margin-top: 28px;
  padding: 22px 0 14px;
  border-top: 1px solid var(--v2-line);
  border-bottom: 0;
}
.world-v2 .seo-intro .eyebrow,
.world-v2 .seo-intro h1,
.world-v2 .seo-intro .lede,
.world-v2 .seo-intro .hub-links { display: none; }
.world-v2 .affiliate-disclosure {
  margin: 0;
  color: #8f8b85;
  font-size: 11px;
}

@media (max-width: 640px) {
  .world-v2 .site-header,
  .world-v2 .header-inner { min-height: 52px; }
  .world-v2 .wordmark { font-size: 16px; }
  .world-v2 .locale-nav { max-width: 48vw; font-size: 11px; }
  .world-v2 .audience-nav {
    top: 52px;
    min-height: 50px;
    gap: 0;
    justify-content: space-between;
    overflow: visible;
  }
  .world-v2 .audience-button {
    min-width: 0;
    min-height: 50px;
    flex: 1 1 25%;
    font-size: 12px;
    text-align: center;
  }
  .world-v2 .language-discovery {
    min-height: 42px;
    grid-template-columns: 54px minmax(0,1fr);
    gap: 8px;
  }
  .world-v2 .language-discovery h2 { font-size: 10px; }
  .world-v2 .language-discovery .hub-link { min-height: 41px; }
  .world-v2 .language-discovery .hub-link strong { font-size: 12px; }
  .world-v2 .live-head { min-height: 38px; padding-top: 9px; }
  .world-v2 .model-grid { gap: 14px 8px; padding-top: 6px; }
  .world-v2 .model-name { font-size: 12px; }
  .world-v2 .model-live { font-size: 9px; }
  .world-v2 .seo-intro { margin-top: 20px; }
}


/* ORONOKAGAMI_WORLD_V2_LOCAL_FIRST_HOME_V2 */
body.world-v2.is-home .audience-nav,
body.world-v2.is-home .language-discovery,
body.world-v2.is-home .discovery-filter-bar {
  display: none !important;
}
body.world-v2.is-home .live-head {
  display: flex !important;
  order: 1 !important;
}
body.world-v2.is-home .live-mount {
  order: 2 !important;
  padding-top: 6px;
}
body.world-v2.is-home .live-refresh {
  order: 3 !important;
}
body.world-v2.is-home .seo-intro {
  order: 4 !important;
}
body.world-v2.is-home .list-note {
  order: 5 !important;
}


/* ORONOKAGAMI_LOCAL_FIRST_AUDIENCE_SWITCH_V1 */
body.world-v2.is-home .audience-nav {
  display: flex !important;
  order: 1 !important;
}
body.world-v2.is-home .language-discovery,
body.world-v2.is-home .discovery-filter-bar {
  display: none !important;
}
body.world-v2.is-home .live-head { order: 2 !important; }
body.world-v2.is-home .live-mount { order: 3 !important; }
body.world-v2.is-home .live-refresh { order: 4 !important; }
body.world-v2.is-home .seo-intro { order: 5 !important; }
body.world-v2.is-home .list-note { order: 6 !important; }


/* ORONOKAGAMI_MINIMAL_HOME_SURFACE_V1 */
body.world-v2.is-home .audience-nav {
  display: flex !important;
  order: 1 !important;
}


/* ORONOKAGAMI_WORLD_V2_VISUAL_POLISH_V1
   The moving performer media is the visual hero. Keep chrome quiet, readable and fast. */
body.world-v2.is-home {
  --v2-bg: #070708;
  --v2-surface: #0d0d0f;
  --v2-surface-raised: #111114;
  --v2-text: #f4f2ef;
  --v2-muted: #aaa7a2;
  --v2-quiet: #77746f;
  --v2-line: rgba(244,242,239,.12);
  --v2-line-strong: rgba(244,242,239,.22);
  --v2-accent: #d64f45;
  --v2-accent-soft: rgba(214,79,69,.14);
  --shell-max: 960px;
  background: var(--v2-bg) !important;
  color: var(--v2-text);
}

body.world-v2.is-home .site-header {
  min-height: 54px;
  border-bottom: 1px solid var(--v2-line);
  background: rgba(7,7,8,.94) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
body.world-v2.is-home .header-inner { min-height: 54px; }
body.world-v2.is-home .wordmark {
  color: var(--v2-text);
  font-size: 18px;
  font-weight: 860;
  letter-spacing: -.045em;
}
body.world-v2.is-home .wordmark::before,
body.world-v2.is-home .wordmark::after { display: none !important; }
body.world-v2.is-home .locale-nav {
  gap: 4px;
  color: var(--v2-quiet);
  font-size: 10px;
}
body.world-v2.is-home .locale-nav a {
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 8px;
}
body.world-v2.is-home .locale-nav a:hover,
body.world-v2.is-home .locale-nav a:focus-visible {
  color: var(--v2-text);
  background: rgba(255,255,255,.045);
}
body.world-v2.is-home .locale-nav a[aria-current=page] {
  color: var(--v2-text);
  border-color: var(--v2-line);
  background: rgba(255,255,255,.035);
}

body.world-v2.is-home main.site-shell {
  width: min(var(--shell-max), calc(100% - 32px));
}
body.world-v2.is-home .live-head {
  min-height: 42px;
  padding: 13px 1px 6px;
  align-items: center;
}
body.world-v2.is-home .live-title {
  color: #d3d0cb;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .08em;
  font-weight: 790;
}
body.world-v2.is-home .live-title::before {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--v2-accent);
  box-shadow: 0 0 0 3px var(--v2-accent-soft);
}
body.world-v2.is-home .live-status {
  color: var(--v2-quiet);
  font-size: 11px;
}

body.world-v2.is-home .model-grid {
  gap: 12px 10px;
  padding-top: 4px;
}
body.world-v2.is-home .model-card {
  border: 1px solid var(--v2-line);
  border-radius: 10px;
  background: var(--v2-surface);
  overflow: hidden;
  box-shadow: none;
  transform: translateZ(0);
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
  animation: okg-card-in 220ms cubic-bezier(.2,.75,.3,1) both;
}
body.world-v2.is-home .model-card:nth-child(2n) { animation-delay: 12ms; }
body.world-v2.is-home .model-card:nth-child(3n) { animation-delay: 24ms; }
body.world-v2.is-home .model-card:hover,
body.world-v2.is-home .model-card:focus-visible {
  border-color: var(--v2-line-strong);
  background: var(--v2-surface-raised);
  transform: translateY(-1px);
  box-shadow: none;
}
body.world-v2.is-home .model-media {
  border: 0;
  border-radius: 0;
  background: #0a0a0c;
}
body.world-v2.is-home .model-media::after {
  display: block;
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(to bottom, transparent, rgba(7,7,8,.18));
  pointer-events: none;
}
body.world-v2.is-home .model-media img,
body.world-v2.is-home .model-media video {
  transition: transform 180ms ease, filter 180ms ease, opacity 140ms ease;
}
@media (hover:hover) and (pointer:fine) {
  body.world-v2.is-home .model-card:hover .model-media img,
  body.world-v2.is-home .model-card:hover .model-media video {
    transform: scale(1.012);
    filter: brightness(1.025);
  }
}
body.world-v2.is-home .model-meta {
  position: relative;
  min-height: 38px;
  padding: 9px 9px 10px;
  gap: 8px;
}
body.world-v2.is-home .model-name {
  color: #ebe8e3;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}
body.world-v2.is-home .model-live {
  position: absolute;
  z-index: 4;
  left: 7px;
  right: auto;
  top: -29px;
  min-height: 20px;
  padding: 0 7px;
  border: 1px solid rgba(214,79,69,.34);
  border-radius: 999px;
  display: inline-flex !important;
  align-items: center;
  color: #ffd2ce;
  background: rgba(7,7,8,.78);
  font-size: 8px;
  line-height: 1;
  font-weight: 820;
  letter-spacing: .04em;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
body.world-v2.is-home .model-facts { display: none !important; }

body.world-v2.is-home .live-refresh,
body.world-v2.is-home #live-refresh {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--v2-line);
  border-radius: 9px;
  color: #d6d2cc;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 120ms ease;
}
body.world-v2.is-home .live-refresh:hover,
body.world-v2.is-home .live-refresh:focus-visible,
body.world-v2.is-home #live-refresh:hover,
body.world-v2.is-home #live-refresh:focus-visible {
  color: var(--v2-text);
  border-color: var(--v2-line-strong);
  background: rgba(255,255,255,.045);
}
body.world-v2.is-home .live-refresh:active,
body.world-v2.is-home #live-refresh:active { transform: scale(.98); }

body.world-v2.is-home .seo-intro {
  margin-top: 30px;
  padding: 18px 0 6px;
  border-top: 1px solid var(--v2-line);
}
body.world-v2.is-home .affiliate-disclosure {
  color: var(--v2-quiet);
  font-size: 10px;
  line-height: 1.55;
}
body.world-v2.is-home .site-footer {
  margin-top: 38px;
  padding: 20px 0 28px;
  border-top-color: var(--v2-line);
  color: var(--v2-quiet);
}
body.world-v2.is-home .footer-links {
  align-items: center;
  gap: 8px 18px;
}
body.world-v2.is-home .footer-links a,
body.world-v2.is-home .footer-links button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  color: var(--v2-quiet);
}

body.world-v2.is-home .modal-backdrop {
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
body.world-v2.is-home .modal {
  width: min(100%, 410px);
  padding: 24px;
  border: 1px solid var(--v2-line-strong);
  border-radius: 14px;
  background: #101012;
  box-shadow: 0 28px 80px rgba(0,0,0,.46);
}
body.world-v2.is-home .modal h1,
body.world-v2.is-home .modal h2 { color: var(--v2-text); }
body.world-v2.is-home .modal h1 { font-size: 30px; }
body.world-v2.is-home .btn {
  min-height: 48px;
  border-radius: 9px;
}
body.world-v2.is-home .btn:not(.secondary) {
  border-color: var(--v2-text);
  background: var(--v2-text);
  color: #09090a;
}
body.world-v2.is-home .btn.secondary {
  border-color: var(--v2-line-strong);
  background: transparent;
  color: var(--v2-muted);
}

@keyframes okg-card-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  body.world-v2.is-home .site-header,
  body.world-v2.is-home .header-inner { min-height: 50px; }
  body.world-v2.is-home .wordmark { font-size: 16px; }
  body.world-v2.is-home main.site-shell { width: calc(100% - 16px); }
  body.world-v2.is-home .locale-nav { max-width: 50vw; }
  body.world-v2.is-home .locale-nav a { min-height: 32px; padding-inline: 7px; }
  body.world-v2.is-home .live-head { min-height: 38px; padding: 10px 1px 5px; }
  body.world-v2.is-home .model-grid { gap: 9px 7px; padding-top: 3px; }
  body.world-v2.is-home .model-card { border-radius: 8px; }
  body.world-v2.is-home .model-meta { min-height: 35px; padding: 8px 8px 9px; }
  body.world-v2.is-home .model-name { font-size: 11.5px; }
  body.world-v2.is-home .model-live { top: -27px; left: 6px; min-height: 19px; padding-inline: 6px; font-size: 7.5px; }
  body.world-v2.is-home .live-refresh,
  body.world-v2.is-home #live-refresh { min-height: 36px; padding-inline: 11px; }
  body.world-v2.is-home .modal { padding: 21px; border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  body.world-v2.is-home .model-card,
  body.world-v2.is-home .model-media img,
  body.world-v2.is-home .model-media video,
  body.world-v2.is-home .live-refresh,
  body.world-v2.is-home #live-refresh {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}


/* ORONOKAGAMI_SELF_LOCALIZED_HOME_FINISH_V1
   Final first-screen contract:
   - the visitor lands on the automatic Local First shelf;
   - four performer-type controls are optional correction, never a gate;
   - capsule geometry restores the proven V4 interaction pattern;
   - near-black / ivory / restrained vermilion remains the current ORONOKAGAMI palette. */
body.world-v2.is-home .audience-nav {
  min-height: 52px;
  padding: 7px 0 6px;
  gap: 7px;
  justify-content: flex-start;
  border-bottom: 1px solid var(--v2-line);
  background: rgba(7,7,8,.96) !important;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
body.world-v2.is-home .audience-nav::-webkit-scrollbar { display: none; }
body.world-v2.is-home .audience-button {
  flex: 0 0 auto;
  min-width: 0;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--v2-line-strong);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--v2-muted);
  background: rgba(255,255,255,.018);
  font-size: 12px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease, transform 100ms ease;
}
/* Selection is already communicated by the filled capsule and aria-pressed state.
   Suppress both legacy pseudo-element affordances so no visual checkmark/underline
   duplicates the selected state. */
body.world-v2.is-home .audience-button::before,
body.world-v2.is-home .audience-button::after {
  content: none !important;
  display: none !important;
}
body.world-v2.is-home .audience-button:hover,
body.world-v2.is-home .audience-button:focus-visible {
  border-color: rgba(244,242,239,.42);
  color: var(--v2-text);
  background: rgba(255,255,255,.045);
}
body.world-v2.is-home .audience-button:active { transform: scale(.98); }
body.world-v2.is-home .audience-button.active,
body.world-v2.is-home .audience-button[aria-pressed="true"] {
  border-color: var(--v2-text);
  color: #080809;
  background: var(--v2-text);
  font-weight: 850;
}

/* Vermilion is intentionally reserved for the live-state signal. The four choices are
   correction controls, not four competing brand colors. */
body.world-v2.is-home .live-title::before { background: var(--v2-accent); }

@media (max-width: 640px) {
  body.world-v2.is-home .audience-nav {
    top: 50px;
    min-height: 48px;
    padding: 6px 0 5px;
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
  }
  body.world-v2.is-home .audience-button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 12px;
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.world-v2.is-home .audience-button {
    transition: none !important;
    transform: none !important;
  }
}
