/* ==========================================================================
   Other Worlds — theme styles
   ========================================================================== */

@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
	--bg: #05060a;
	--bg-raise: #0b0e18;
	--midnight: #060a1c;
	--midnight-2: #0b1638;
	--line: rgba(255, 255, 255, .09);
	--line-2: rgba(255, 255, 255, .16);
	--glass: rgba(255, 255, 255, .035);
	--glass-2: rgba(255, 255, 255, .06);
	--text: #eceef5;
	--muted: #a2a9bd;
	--dim: #6f7790;
	--scifi: #168BFF;
	--horror: #DC243C;
	--fantasy: #D4AF37;
	--superheroes: #9747FF;
	--accent: #168BFF;
	--tri: linear-gradient(90deg, var(--scifi), var(--horror), var(--fantasy), var(--superheroes));
	--font-display: "Cinzel", "Trajan Pro", "Cormorant Garamond", Georgia, serif;
	--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 18px;
	--radius-lg: 26px;
	--wrap: 1280px;
	--gutter: clamp(16px, 4vw, 40px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	color-scheme: dark;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: .2em; }
a:hover { color: #fff; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--accent) 55%, transparent); color: #fff; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ow-skip:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; color: #000; z-index: 1000; border-radius: 8px; }

.ow-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ow-wrap--narrow { max-width: calc(780px + var(--gutter) * 2); }

.ow-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }

/* Header ------------------------------------------------------------------ */
.ow-header { position: sticky; top: 0; z-index: 100; background: var(--midnight); transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.admin-bar .ow-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ow-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ow-header { top: 0; } }
.ow-header.is-scrolled { background: rgba(5, 7, 16, .82); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.ow-header__inner { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 24px; }
.ow-brand { display: flex; flex-direction: column; gap: 2px; margin-right: auto; min-width: 0; }
.ow-brand__tagline { margin: 0 0 0 46px; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ow-brand .custom-logo { max-height: 52px; width: auto; }

.ow-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.ow-logo__mark { position: relative; width: 34px; height: 34px; flex: none; }
.ow-logo__mark i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid; }
.ow-logo__mark i:nth-child(1) { border-color: var(--scifi); transform: translate(-3px, 2px) scale(.78); box-shadow: 0 0 10px rgba(22, 139, 255, .6); }
.ow-logo__mark i:nth-child(2) { border-color: var(--horror); transform: translate(5px, 2px) scale(.78); box-shadow: 0 0 10px rgba(220, 36, 60, .55); }
.ow-logo__mark i:nth-child(3) { border-color: var(--fantasy); transform: translate(1px, -5px) scale(.78); box-shadow: 0 0 10px rgba(212, 175, 55, .55); }
/* "OTHER WORLDS" and "MERCH" share one size, weight and spacing; MERCH is gold. */
.ow-logo__text { display: flex; align-items: baseline; gap: .4em; font-family: var(--font-display); font-size: 1.32rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1; }
.ow-logo__name, .ow-logo__sub { font-size: 1em; font-weight: inherit; letter-spacing: inherit; }
.ow-logo__name { background: linear-gradient(180deg, #fff 30%, #b9c2dc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ow-logo__sub { background: linear-gradient(180deg, #f3dc8a 20%, var(--fantasy) 75%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.ow-nav { display: flex; align-items: center; gap: 18px; }
.ow-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ow-nav__list a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 500; color: #d5d9e6; transition: background .2s, color .2s; }
.ow-nav__list a:hover, .ow-nav__list .is-current > a, .ow-nav__list .current-menu-item > a { color: #fff; background: var(--glass-2); }
.ow-nav__genre .ow-dot { width: 7px; height: 7px; }
.ow-nav__list .sub-menu { display: none; }
.ow-nav__actions { display: flex; align-items: center; gap: 10px; }
.ow-icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: #fff; transition: border-color .2s, background .2s; }
.ow-icon-btn:hover { border-color: #fff; background: var(--glass-2); }
.ow-portal-pill { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .88rem; color: #fff; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--tri) border-box; border: 1.5px solid transparent; transition: box-shadow .3s; }
.ow-portal-pill:hover { box-shadow: 0 0 24px rgba(22, 139, 255, .35), 0 0 24px rgba(212, 175, 55, .25); }
.ow-portal-pill__ring { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(var(--scifi), var(--horror), var(--fantasy), var(--superheroes), var(--scifi)); -webkit-mask: radial-gradient(circle, transparent 4px, #000 5px); mask: radial-gradient(circle, transparent 4px, #000 5px); animation: ow-spin 4s linear infinite; }

/* Four genres + three pages: keep every menu item on one line, tighten spacing on laptops. */
.ow-nav__list a, .ow-portal-pill { white-space: nowrap; }
.ow-nav__list { gap: 2px; }
.ow-nav__list a { padding: 8px 10px; }
.ow-brand { flex-shrink: 0; }
@media (min-width: 1280px) and (max-width: 1380px) {
	.ow-header__inner { gap: 14px; }
	.ow-nav { gap: 10px; }
	.ow-nav__list { gap: 0; }
	.ow-nav__list a { padding: 8px 9px; font-size: .86rem; gap: 7px; }
	.ow-brand__tagline { letter-spacing: .16em; }
}
.ow-nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.ow-nav-toggle__bars { display: grid; gap: 5px; justify-items: center; }
.ow-nav-toggle__bars i { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.ow-nav-open .ow-nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ow-nav-open .ow-nav-toggle__bars i:nth-child(2) { opacity: 0; }
.ow-nav-open .ow-nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1279px) {
	.ow-nav-toggle { display: grid; place-items: center; }
	.ow-nav { position: fixed; inset: 0; top: 0; z-index: -1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px; padding: 100px var(--gutter) 40px; background: rgba(5, 6, 12, .97); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .3s, visibility .3s; overflow-y: auto; }
	.ow-nav-open .ow-nav { opacity: 1; visibility: visible; transform: none; }
	.ow-nav-open { overflow: hidden; }
	/* backdrop-filter would trap the fixed overlay inside the header box */
	.ow-nav-open .ow-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--midnight); }
	.ow-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
	.ow-nav__list a { font-family: var(--font-display); font-size: 1.4rem; padding: 12px 6px; border-radius: 10px; }
	.ow-nav__actions { justify-content: flex-start; }
	.ow-header__inner { position: relative; }
	.ow-brand, .ow-nav-toggle { position: relative; z-index: 2; }
}
.ow-logo__text { white-space: nowrap; }
@media (max-width: 520px) {
	.ow-brand__tagline { display: none; }
	.ow-logo__text { font-size: 1.05rem; letter-spacing: .1em; }
}
/* Keep the full "OTHER WORLDS MERCH" on one line on small phones. */
@media (max-width: 420px) {
	.ow-logo { gap: 9px; }
	.ow-logo__mark { width: 28px; height: 28px; }
	.ow-logo__text { font-size: .9rem; letter-spacing: .07em; }
}

/* Typography helpers ----------------------------------------------------- */
.ow-eyebrow { margin: 0 0 .7em; font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.ow-eyebrow--tri { display: inline-block; background: var(--tri); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Sections --------------------------------------------------------------- */
.ow-section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.ow-section--tight { padding: clamp(28px, 4vw, 48px) 0; }
.ow-section--flush { padding: clamp(40px, 6vw, 72px) 0 0; }
.ow-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.ow-section__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: .03em; margin: 0; color: #fff; }
.ow-section__intro { margin: .5em 0 0; color: var(--muted); max-width: 60ch; }
.ow-link-arrow { color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line-2); transition: border-color .2s, gap .2s; white-space: nowrap; }
.ow-link-arrow:hover { border-color: var(--accent); }
.ow-section--gems { background: radial-gradient(60% 80% at 10% 0%, rgba(22, 139, 255, .07), transparent 60%), radial-gradient(50% 70% at 100% 100%, rgba(212, 175, 55, .06), transparent 60%); }

/* Starry sky (homepage top) ---------------------------------------------- */
.ow-sky { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); background: linear-gradient(180deg, var(--midnight) 0%, var(--midnight-2) 26%, #091230 46%, #060918 72%, var(--bg) 100%); isolation: isolate; }
.ow-stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.ow-sky__nebula { position: absolute; inset: -10% -10% 20%; z-index: -2; background: radial-gradient(40% 35% at 18% 30%, rgba(22, 139, 255, .22), transparent 70%), radial-gradient(30% 30% at 82% 22%, rgba(220, 36, 60, .14), transparent 70%), radial-gradient(35% 30% at 60% 70%, rgba(212, 175, 55, .1), transparent 70%); filter: blur(30px); }
.ow-sky__inner { position: relative; }
.ow-hero-copy { text-align: center; margin: 0 auto clamp(24px, 4vw, 44px); max-width: 900px; }
.ow-hero-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 5.6vw, 4.6rem); letter-spacing: .04em; line-height: 1.05; margin: 0; background: linear-gradient(180deg, #fff 35%, #a9b4d6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 60px rgba(120, 160, 255, .15); }
.ow-empty-note { text-align: center; color: var(--muted); }

/* Carousel --------------------------------------------------------------- */
.ow-carousel { --active-accent: var(--scifi); position: relative; border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); border: 1px solid var(--line); box-shadow: 0 40px 120px -40px color-mix(in srgb, var(--active-accent) 55%, transparent), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(6px); transition: box-shadow .8s var(--ease); }
.ow-carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: inherit; }
.ow-carousel__track::-webkit-scrollbar { display: none; }
.ow-carousel__track:focus-visible { outline-offset: -3px; }
.ow-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 56px); padding: clamp(18px, 3.5vw, 44px); min-height: 460px; }
.ow-slide__media { position: relative; display: block; aspect-ratio: 1 / 1; width: 100%; max-width: 520px; justify-self: center; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 50% 45%, #fff 0%, #eef0f6 55%, #d7dbe8 100%); isolation: isolate; }
.ow-slide__media:has(.owc-placeholder) { background: var(--bg); }
.ow-slide__media img { width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: transform 1.2s var(--ease); }
.ow-slide__media .owc-placeholder { width: 100%; height: 100%; }
.ow-slide__glow { position: absolute; inset: auto 10% -30% 10%; height: 60%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 60%, transparent), transparent); filter: blur(20px); z-index: 1; pointer-events: none; opacity: .5; }
.ow-slide.is-active .ow-slide__media img { transform: scale(1.03); }
.ow-slide__media .owc-badge--demo { position: absolute; top: 14px; left: 14px; z-index: 2; }
.ow-slide__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.ow-slide__franchise { font-size: .85rem; color: var(--muted); text-decoration: none; }
.ow-slide__franchise:hover { color: #fff; }
.ow-slide__title { font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 600; letter-spacing: .02em; margin: 0 0 .5em; }
.ow-slide__title a { text-decoration: none; }
.ow-slide__text { color: #c4cad9; font-size: 1.04rem; max-width: 52ch; }
.ow-slide__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ow-slide > * { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .ow-slide:not(.is-active) .ow-slide__body { opacity: .2; transform: translateY(10px); }

.ow-carousel__controls { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 20px 22px; }
.ow-carousel__btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); color: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.ow-carousel__btn:hover { border-color: #fff; background: var(--glass-2); }
.ow-carousel__pause { width: 34px; height: 34px; margin-left: 4px; }
.ow-carousel__pause .i-play { display: none; }
.ow-carousel.is-paused .ow-carousel__pause .i-play { display: block; }
.ow-carousel.is-paused .ow-carousel__pause .i-pause { display: none; }
.ow-carousel__dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.ow-carousel__dot { position: relative; width: 26px; height: 6px; border-radius: 6px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .18); overflow: hidden; transition: width .4s var(--ease), background .3s; }
.ow-carousel__dot[aria-selected="true"] { width: 46px; background: color-mix(in srgb, var(--accent) 35%, transparent); }
.ow-carousel__dot[aria-selected="true"]::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(1); }
.ow-carousel.is-playing .ow-carousel__dot[aria-selected="true"]::after { animation: ow-progress 6.5s linear forwards; }
@keyframes ow-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.ow-sky .owc-disclosure { text-align: center; margin-top: 18px; }

@media (max-width: 860px) {
	.ow-slide { grid-template-columns: 1fr; min-height: 0; gap: 18px; }
	.ow-slide__media { max-height: 380px; aspect-ratio: 4 / 3; }
	.ow-slide__text { font-size: .96rem; }
}

/* Buttons ---------------------------------------------------------------- */
.owc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: .62em 1.1em; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .86rem; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, box-shadow .25s, transform .2s; }
.owc-btn:active { transform: translateY(1px); }
.owc-btn--lg { font-size: .96rem; padding: .85em 1.5em; }
.owc-btn--xl { font-size: 1.05rem; padding: 1em 1.8em; width: 100%; }
.owc-btn--ghost { border-color: var(--line-2); color: #fff; background: transparent; }
.owc-btn--ghost:hover { border-color: #fff; background: var(--glass-2); color: #fff; }
.owc-btn--amazon { background: #fff; color: #0a0b10; }
.owc-btn--amazon:hover { color: #0a0b10; background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent), 0 10px 30px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.owc-btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px var(--accent); }
.owc-btn--primary:hover { color: #fff; filter: brightness(1.12); }

/* Product cards ---------------------------------------------------------- */
.owc-grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.owc-grid--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); }
.owc-grid--live { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.owc-grid--single { grid-template-columns: minmax(0, 340px); }

.owc-card { --accent-soft: color-mix(in srgb, var(--accent) 35%, transparent); position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.owc-card:hover { transform: translateY(-4px); border-color: var(--accent-soft); box-shadow: 0 24px 60px -28px var(--accent); }
.owc-card__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: radial-gradient(circle at 50% 42%, #fff 0%, #f0f1f6 55%, #d9dce7 100%); }
.owc-card__media:has(.owc-placeholder) { background: var(--bg); }
.owc-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .6s var(--ease); }
.owc-card__media .owc-placeholder { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.owc-card:hover .owc-card__media img, .owc-card:hover .owc-placeholder { transform: scale(1.05); }
.owc-card__badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.owc-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.owc-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .74rem; }
.owc-card__cat { color: var(--muted); text-decoration: none; }
.owc-card__cat:hover { color: #fff; }
.owc-card__title { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; line-height: 1.3; margin: 0 0 4px; }
.owc-card__title a { text-decoration: none; }
.owc-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.owc-card__franchise { margin: 0 0 8px; font-size: .82rem; }
.owc-card__franchise a { color: var(--accent); text-decoration: none; position: relative; z-index: 1; }
.owc-card__excerpt { color: var(--muted); font-size: .88rem; line-height: 1.5; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.owc-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; position: relative; z-index: 1; }
.owc-card__actions .owc-btn { flex: 1 1 auto; }
.owc-card__meta a, .owc-card__media { position: relative; z-index: 1; }
.owc-card__rank { position: absolute; left: 12px; bottom: 2px; font-family: var(--font-display); font-weight: 700; font-size: 4.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #fff; text-shadow: 0 6px 30px rgba(0, 0, 0, .6); pointer-events: none; }

.owc-genre-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.owc-genre-pill:hover { color: #fff; background: color-mix(in srgb, var(--accent) 30%, transparent); }

.owc-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(5, 6, 10, .82); color: #fff; border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.owc-badge--demo { background: #ffde59; color: #111; border-color: #ffde59; }
.owc-badge--licensed { background: rgba(5, 6, 10, .82); color: var(--fantasy); border-color: color-mix(in srgb, var(--fantasy) 60%, transparent); }
.owc-badge--gem { color: #c9b6ff; border-color: rgba(170, 140, 255, .5); }
.owc-badge--rank { color: var(--fantasy); border-color: color-mix(in srgb, var(--fantasy) 60%, transparent); }

.owc-placeholder { display: block; }

/* Disclosure ------------------------------------------------------------- */
.owc-disclosure { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 18px; font-size: .78rem; color: var(--dim); }
.owc-disclosure a { color: var(--muted); }
.owc-disclosure__tag { padding: 2px 8px; border-radius: 5px; border: 1px solid var(--line-2); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.owc-disclosure--full { display: block; font-size: .86rem; color: var(--muted); }
.owc-disclosure--full strong { color: #fff; }

/* Search the Merch ------------------------------------------------------- */
.ow-search-section { padding-top: clamp(24px, 4vw, 40px); }
.ow-search-panel { position: relative; padding: clamp(22px, 4vw, 44px); border-radius: var(--radius-lg); background: radial-gradient(120% 140% at 0% 0%, rgba(22, 139, 255, .1), transparent 50%), radial-gradient(120% 140% at 100% 100%, rgba(212, 175, 55, .08), transparent 50%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9); }
.ow-search-panel::before { content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: var(--tri); opacity: .8; }
.ow-search-panel .ow-section__head { margin-bottom: 22px; }
.ow-search-panel--genre { background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); }
.ow-search-panel--genre::before { background: var(--accent); }
.ow-search-panel--flush { padding: 18px; margin-top: 24px; }

.owc-search__fields { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(170px, 1fr) minmax(220px, 2.2fr) auto; gap: 12px; align-items: end; }
.owc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.owc-field__label { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-left: 4px; }
.owc-field select, .owc-field input, .ow-sort select, .owc-contact input, .owc-contact select, .owc-contact textarea, .comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background-color: rgba(3, 4, 9, .65); color: #fff; font-size: .98rem; transition: border-color .2s, box-shadow .2s; }
.owc-field select, .ow-sort select, .owc-contact select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a2a9bd' d='M6 8 0 1.4 1.4 0 6 4.9 10.6 0 12 1.4z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.owc-field select option, .ow-sort select option { background: #0b0e18; color: #fff; }
.owc-field input::placeholder { color: var(--dim); }
.owc-field select:focus, .owc-field input:focus, .owc-contact :is(input, select, textarea):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.owc-search__submit { height: 52px; padding: 0 24px; font-size: .95rem; border-radius: 14px; }
.owc-search.is-loading .owc-search__submit svg { animation: ow-pulse 1s ease-in-out infinite; }
@media (max-width: 960px) {
	.owc-search__fields { grid-template-columns: 1fr 1fr; }
	.owc-field--grow, .owc-search__submit { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .owc-search__fields { grid-template-columns: 1fr; } }

.owc-live { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.owc-live__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.owc-live__count { margin: 0; font-weight: 600; }
.owc-live__all { margin-left: auto; font-weight: 600; font-size: .9rem; color: var(--accent); text-decoration: none; }
.owc-live__close { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.owc-live__none, .owc-live__status { color: var(--muted); margin: 0; }
.owc-live .owc-card__excerpt { display: none; }

.ow-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.ow-popular__label { font-size: .78rem; color: var(--dim); margin-right: 4px; }

/* Chips ------------------------------------------------------------------ */
.ow-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.ow-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-size: .85rem; font-weight: 500; color: #d5d9e6; background: rgba(255, 255, 255, .02); transition: border-color .2s, background .2s, color .2s; }
.ow-chip:hover { border-color: #fff; color: #fff; }
.ow-chip.is-current { background: var(--accent); border-color: var(--accent); color: #fff; }
.ow-chip--sm { padding: 5px 11px; font-size: .78rem; }
.ow-chip--gift { border-color: color-mix(in srgb, var(--fantasy) 55%, transparent); color: #f1dc94; }
.ow-product__gifts { margin-bottom: 10px; }
.ow-section--gifts { background: radial-gradient(60% 80% at 90% 0%, rgba(212, 175, 55, .08), transparent 60%); }
.ow-chip--remove { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }

/* Explore the Worlds ----------------------------------------------------- */
.ow-worlds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.ow-world { position: relative; display: flex; align-items: flex-end; min-height: clamp(380px, 46vw, 540px); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 35%, #05060a) 0%, #070912 55%, #040509 100%); transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.ow-world__bg { position: absolute; inset: 0; z-index: -1; }
.ow-world__bg svg, .ow-world__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ow-world::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 28%, rgba(3, 4, 8, .62) 50%, rgba(3, 4, 8, .94) 80%); }
.ow-world__body { display: flex; flex-direction: column; gap: 8px; padding: clamp(22px, 3vw, 32px); width: 100%; }
.ow-world__count { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.ow-world__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: .04em; line-height: 1.05; text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 60%, transparent); }
.ow-world__desc { color: #c4cad9; font-size: .95rem; max-width: 34ch; }
.ow-world__cta { margin-top: 8px; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; color: var(--accent); }
.ow-world:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 30px 80px -30px var(--accent); color: #fff; }
.ow-world:hover .ow-world__bg svg, .ow-world:hover .ow-world__bg img { transform: scale(1.06); }
/* Genre cards: as many equal columns as there are worlds (up to 4) on desktop,
   2 × 2 on tablets, one column on phones. Cards keep the 1080 × 1420 artwork shape. */
.ow-worlds { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ow-worlds--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ow-worlds--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ow-worlds--n1 { grid-template-columns: minmax(0, 1fr); }
.ow-worlds--n1 .ow-world, .ow-worlds--n2 .ow-world { aspect-ratio: auto; min-height: 460px; }
.ow-world { min-height: 0; aspect-ratio: 1080 / 1420; container-type: inline-size; }
.ow-world__bg img { object-position: 50% 20%; }
.ow-world__name { font-size: clamp(1.35rem, 10.5cqi, 2.4rem); overflow-wrap: normal; }
.ow-world__desc { font-size: clamp(.86rem, 5.2cqi, .95rem); }
.ow-world__count, .ow-world__cta { color: color-mix(in srgb, var(--accent) 78%, #fff); text-shadow: 0 1px 10px rgba(0, 0, 0, .85); }
@media (max-width: 1099px) {
	.ow-worlds, .ow-worlds--n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ow-worlds > .ow-world:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: auto; min-height: 420px; }
}
@media (max-width: 599px) {
	.ow-worlds, .ow-worlds--n3, .ow-worlds--n2 { grid-template-columns: minmax(0, 1fr); }
	.ow-world, .ow-worlds > .ow-world:last-child:nth-child(odd) { aspect-ratio: auto; min-height: 380px; }
}

/* Collections ------------------------------------------------------------ */
.owc-collections { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.owc-collection { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.owc-collection__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(circle at 50% 42%, #fff 0%, #eceef4 60%, #d6d9e4 100%); }
.owc-collection__media:has(.owc-placeholder) { background: var(--bg); }
.owc-collection__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .8s var(--ease); }
.owc-collection__media .owc-placeholder { width: 100%; height: 100%; }
.owc-collection__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--accent) 30%, rgba(5, 6, 10, .6))); }
.owc-collection__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.owc-collection__count { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.owc-collection__title { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; letter-spacing: .03em; margin: 0; }
.owc-collection__tagline { color: var(--muted); font-size: .9rem; margin: 0; }
.owc-collection__cta { margin-top: 10px; font-size: .85rem; font-weight: 600; color: #fff; opacity: .75; transition: opacity .2s; }
.owc-collection:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 24px 60px -28px var(--accent); color: #fff; }
.owc-collection:hover .owc-collection__media img { transform: scale(1.05); }
.owc-collection:hover .owc-collection__cta { opacity: 1; }

/* Top 10 ----------------------------------------------------------------- */
.owc-top10 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: clamp(14px, 2vw, 22px); counter-reset: top; }
.owc-top10 .owc-card { flex-direction: row; height: 100%; }
.owc-top10 .owc-card__media { flex: 0 0 clamp(130px, 34%, 210px); aspect-ratio: auto; min-height: 210px; }
.owc-top10 .owc-card__excerpt { -webkit-line-clamp: 4; }
.owc-top10__item:first-child .owc-card { border-color: color-mix(in srgb, var(--fantasy) 45%, transparent); background: radial-gradient(100% 120% at 0% 0%, rgba(212, 175, 55, .12), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.owc-top10 .owc-placeholder text { display: none; }
.owc-top10__item:first-child .owc-card__rank { -webkit-text-stroke-color: var(--fantasy); }
@media (max-width: 520px) {
	.owc-top10 .owc-card { flex-direction: column; }
	.owc-top10 .owc-card__media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
}

/* The Portal ------------------------------------------------------------- */
.ow-section--portal { overflow: hidden; }
.owc-portal { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 5vw, 72px); padding: clamp(28px, 5vw, 64px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: radial-gradient(60% 90% at 25% 50%, rgba(22, 139, 255, .16), transparent 70%), radial-gradient(50% 70% at 30% 20%, rgba(220, 36, 60, .12), transparent 70%), radial-gradient(50% 70% at 20% 85%, rgba(212, 175, 55, .1), transparent 70%), radial-gradient(45% 60% at 75% 80%, rgba(151, 71, 255, .12), transparent 70%), #05060c; isolation: isolate; }
.owc-portal__stage { position: relative; aspect-ratio: 1; width: min(100%, 420px); margin: 0 auto; }
.owc-portal__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; transition: transform 1s var(--ease), opacity .6s; }
.owc-portal__ring--blue { border-top-color: var(--scifi); border-left-color: color-mix(in srgb, var(--scifi) 40%, transparent); box-shadow: 0 0 40px -6px var(--scifi), inset 0 0 40px -10px var(--scifi); animation: ow-spin 14s linear infinite; }
.owc-portal__ring--red { inset: 8%; border-right-color: var(--horror); border-bottom-color: color-mix(in srgb, var(--horror) 40%, transparent); box-shadow: 0 0 40px -8px var(--horror), inset 0 0 40px -12px var(--horror); animation: ow-spin 10s linear infinite reverse; }
.owc-portal__ring--gold { inset: 16%; border-bottom-color: var(--fantasy); border-left-color: color-mix(in srgb, var(--fantasy) 40%, transparent); box-shadow: 0 0 40px -8px var(--fantasy), inset 0 0 40px -12px var(--fantasy); animation: ow-spin 7s linear infinite; }
.owc-portal__ring--violet { inset: 24%; border-top-color: var(--superheroes); border-right-color: color-mix(in srgb, var(--superheroes) 40%, transparent); box-shadow: 0 0 40px -8px var(--superheroes), inset 0 0 40px -12px var(--superheroes); animation: ow-spin 5s linear infinite reverse; }
.owc-portal__core { position: absolute; inset: 32%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .9) 0%, rgba(160, 190, 255, .35) 18%, rgba(22, 139, 255, .12) 45%, transparent 70%), conic-gradient(from 0deg, rgba(22, 139, 255, .3), rgba(220, 36, 60, .3), rgba(212, 175, 55, .3), rgba(151, 71, 255, .3), rgba(22, 139, 255, .3)); filter: blur(2px); animation: ow-breathe 4s ease-in-out infinite; }
.owc-portal__title { font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 600; letter-spacing: .05em; margin: 0 0 .3em; background: var(--tri); -webkit-background-clip: text; background-clip: text; color: transparent; }
.owc-portal__text { color: #c4cad9; font-size: 1.05rem; max-width: 46ch; }
.owc-btn--portal, .owc-btn--portal-again { position: relative; font-size: 1.05rem; padding: 1em 1.8em; color: #fff; background: linear-gradient(#090b14, #090b14) padding-box, conic-gradient(from var(--ow-angle, 0deg), var(--scifi), var(--horror), var(--fantasy), var(--superheroes), var(--scifi)) border-box; border: 2px solid transparent; box-shadow: 0 0 40px -10px rgba(22, 139, 255, .6), 0 0 40px -10px rgba(212, 175, 55, .4); animation: ow-angle 4s linear infinite; }
.owc-btn--portal:hover, .owc-btn--portal-again:hover { color: #fff; box-shadow: 0 0 50px -6px rgba(22, 139, 255, .8), 0 0 50px -6px rgba(220, 36, 60, .6); }
.owc-btn--portal-again { font-size: .9rem; padding: .7em 1.2em; }
.owc-btn--portal[aria-busy="true"] { pointer-events: none; opacity: .85; }
.owc-portal.is-warping .owc-portal__ring--blue { animation-duration: .5s; transform: scale(1.08); }
.owc-portal.is-warping .owc-portal__ring--red { animation-duration: .35s; transform: scale(.92); }
.owc-portal.is-warping .owc-portal__ring--gold { animation-duration: .25s; transform: scale(1.15); }
.owc-portal.is-warping .owc-portal__ring--violet { animation-duration: .2s; transform: scale(.88); }
.owc-portal.is-warping .owc-portal__core { animation: ow-warp 1.15s var(--ease) forwards; }
.owc-portal__result { margin-top: 26px; }
.owc-portal__error { color: #ff9aa8; }
.owc-portal-card { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), rgba(255, 255, 255, .02)); animation: ow-pop .6s var(--ease); }
.owc-portal-card:not(:has(.owc-portal-card__media)) { grid-template-columns: 1fr; }
.owc-portal-card__media { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #fff; }
.owc-portal-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.owc-portal-card__status { margin: 0; font-size: .78rem; color: var(--muted); }
.owc-portal-card__kind { margin: 4px 0 2px; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.owc-portal-card__title { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 6px; }
.owc-portal-card__text { font-size: .88rem; color: var(--muted); margin: 0 0 12px; }
.owc-portal-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) {
	.owc-portal { grid-template-columns: 1fr; text-align: center; }
	.owc-portal__stage { width: min(70%, 300px); }
	.owc-portal__text { margin-left: auto; margin-right: auto; }
	.owc-portal-card { text-align: left; }
}

@property --ow-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes ow-angle { to { --ow-angle: 360deg; } }
@keyframes ow-spin { to { transform: rotate(360deg); } }
@keyframes ow-breathe { 50% { transform: scale(1.08); opacity: .85; } }
@keyframes ow-warp { 0% { transform: scale(1); filter: blur(2px); } 55% { transform: scale(2.4); filter: blur(10px) brightness(1.8); opacity: 1; } 100% { transform: scale(1); filter: blur(2px); opacity: 1; } }
@keyframes ow-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ow-pulse { 50% { opacity: .3; } }

/* FAQ -------------------------------------------------------------------- */
.owc-faq { display: grid; gap: 10px; }
.owc-faq__item { border: 1px solid var(--line); border-radius: 14px; background: var(--glass); transition: border-color .2s, background .2s; }
.owc-faq__item[open] { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--glass-2); }
.owc-faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 1.02rem; color: #fff; }
.owc-faq__q::-webkit-details-marker { display: none; }
.owc-faq__q::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); font-weight: 400; font-size: 1.2rem; color: var(--accent); transition: transform .3s var(--ease); }
.owc-faq__item[open] .owc-faq__q::after { transform: rotate(45deg); }
.owc-faq__a { padding: 0 22px 18px; color: var(--muted); line-height: 1.7; }
.owc-faq__a p { margin: 0; }

/* Banners (genre, term, page) ------------------------------------------- */
.ow-banner { position: relative; overflow: hidden; isolation: isolate; padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 7vw, 90px); background: radial-gradient(70% 120% at 85% 20%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 60%), linear-gradient(180deg, var(--midnight) 0%, var(--midnight-2) 40%, var(--bg) 100%); }
.ow-banner--compact { padding: clamp(32px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); }
.ow-banner__art { position: absolute; inset: 0 0 0 auto; width: min(62%, 760px); z-index: -1; opacity: .9; -webkit-mask: linear-gradient(90deg, transparent 0%, #000 45%); mask: linear-gradient(90deg, transparent 0%, #000 45%); }
.ow-banner__art svg, .ow-banner__art img { width: 100%; height: 100%; object-fit: cover; }
.ow-banner--compact .ow-banner__art { opacity: .35; }
.ow-banner__inner { position: relative; }
.ow-banner__title { font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 600; letter-spacing: .04em; line-height: 1; margin: 0 0 .25em; color: #fff; text-shadow: 0 0 60px color-mix(in srgb, var(--accent) 55%, transparent); }
.ow-banner__title--sm { font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
.ow-banner__text { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #cfd4e3; max-width: 52ch; }
.ow-banner__desc { color: var(--muted); max-width: 70ch; }
.ow-banner__count { font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 18px 0 0; }
.ow-genre-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 5vw, 48px); }
.ow-genre-switch a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600; text-decoration: none; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); }
.ow-genre-switch a.is-current { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); }
@media (max-width: 760px) { .ow-banner__art { width: 100%; opacity: .35; } }

/* Uploaded banner photos fill the whole banner and melt into the night sky:
   dark behind the title (left), fading into the sky at the top and into the page at the bottom.
   The starfield canvas is layered above, so stars twinkle over the image. */
.ow-banner__art--photo { inset: 0; width: 100%; opacity: 1; -webkit-mask: none; mask: none; }
.ow-banner__art--photo img { object-position: 70% center; }
.ow-banner__art--photo::after { content: ""; position: absolute; inset: 0; background:
	linear-gradient(90deg, rgba(5, 6, 10, .92) 0%, rgba(5, 6, 10, .7) 30%, rgba(5, 6, 10, .15) 62%, rgba(5, 6, 10, 0) 80%),
	linear-gradient(180deg, var(--midnight) 0%, rgba(6, 10, 28, 0) 22%, rgba(5, 6, 10, 0) 62%, var(--bg) 100%); }
.ow-banner--compact .ow-banner__art--photo { opacity: .55; }
@media (max-width: 900px) { /* Text spans the full width here, so dim the whole image behind it. */
	.ow-banner__art--photo { opacity: .6; }
	.ow-banner__art--photo::after { background: linear-gradient(180deg, var(--midnight) 0%, rgba(5, 6, 10, .55) 35%, rgba(5, 6, 10, .8) 75%, var(--bg) 100%); }
}

/* Breadcrumbs, results bar, pagination ---------------------------------- */
.ow-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; font-size: .8rem; color: var(--dim); }
.ow-breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.ow-breadcrumbs a { color: var(--muted); text-decoration: none; }
.ow-breadcrumbs a:hover { color: #fff; }
.ow-results-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.ow-results-bar__count { margin: 0; font-weight: 600; font-size: 1.05rem; }
.ow-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ow-link-clear { font-size: .82rem; color: var(--muted); }
.ow-sort { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.ow-sort select { height: 42px; width: auto; min-width: 150px; font-size: .9rem; }
.ow-pagination { margin-top: 44px; }
.ow-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ow-pagination a, .ow-pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 600; font-size: .9rem; }
.ow-pagination .current { background: var(--accent); border-color: var(--accent); }
.ow-pagination a:hover { border-color: #fff; }

.ow-empty { text-align: center; padding: clamp(28px, 5vw, 56px) 0; color: var(--muted); }
.ow-empty__title { font-family: var(--font-display); color: #fff; font-size: 1.8rem; }
.ow-empty .owc-portal { margin-top: 36px; text-align: left; }

/* Product page ----------------------------------------------------------- */
.ow-product { position: relative; padding: clamp(24px, 4vw, 44px) 0 0; }
.ow-product__sky { position: absolute; inset: 0 0 auto; height: 620px; z-index: -1; background: radial-gradient(60% 80% at 20% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%), linear-gradient(180deg, var(--midnight), var(--bg)); }
.ow-product__sky .ow-stars { z-index: 0; }
.ow-product { isolation: isolate; }
.ow-demo-banner { margin: 0 0 24px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 222, 89, .1); border: 1px solid rgba(255, 222, 89, .4); color: #ffe68a; font-size: .9rem; }
.ow-product__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.ow-product__frame { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(circle at 50% 42%, #fff 0%, #eff1f6 55%, #d6dae6 100%); border: 1px solid var(--line); box-shadow: 0 40px 100px -40px var(--accent); }
.ow-product__frame:has(.owc-placeholder) { background: var(--bg); }
.ow-product__frame img { width: 100%; height: 100%; object-fit: contain; padding: 7%; }
.ow-product__frame .owc-placeholder { width: 100%; height: 100%; }
.ow-product__media { position: sticky; top: 100px; }
.ow-product__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .78rem; margin-bottom: 16px; }
.ow-product__title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 600; letter-spacing: .02em; margin: 0 0 .3em; }
.ow-product__franchise { color: var(--muted); margin: 0 0 14px; }
.ow-product__franchise a { color: var(--accent); font-weight: 600; text-decoration: none; }
.ow-product__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.ow-product__badges:empty { display: none; }
.ow-product__lead { font-size: 1.12rem; color: #d4d8e6; }
.ow-buybox { margin: 26px 0; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.ow-buybox__note { color: var(--muted); font-size: .86rem; margin: 12px 0 10px; text-align: center; }
.ow-buybox .owc-disclosure { margin: 0; justify-content: center; }
.ow-product__colls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; }
.ow-product__details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(16px, 3vw, 28px); margin-top: clamp(40px, 6vw, 72px); }
.ow-panel { padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); }
.ow-panel--editorial { border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: radial-gradient(100% 120% at 0% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%), var(--glass); }
.ow-panel__title { font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 14px; }
.ow-product__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; }
.ow-product__added { margin: 18px 0 0; font-size: .8rem; color: var(--dim); }
@media (max-width: 860px) {
	.ow-product__grid { grid-template-columns: 1fr; }
	.ow-product__media { position: static; }
}

/* Prose (pages & posts) -------------------------------------------------- */
.ow-prose { color: #d3d7e4; font-size: 1.04rem; line-height: 1.75; }
.ow-prose > * { max-width: 72ch; }
.ow-prose--wide > * { max-width: none; }
.ow-prose--wide > p { max-width: 72ch; }
.ow-prose h2 { font-family: var(--font-display); font-size: 1.6rem; color: #fff; margin: 1.8em 0 .6em; }
.ow-prose h3 { font-size: 1.2rem; color: #fff; margin: 1.6em 0 .5em; }
.ow-prose a { color: var(--accent); }
.ow-prose ul, .ow-prose ol { padding-left: 1.3em; }
.ow-prose li { margin-bottom: .4em; }
.ow-prose .lead { font-size: 1.2rem; color: #fff; }
.ow-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: #fff; }
.ow-prose img { border-radius: 12px; }
.ow-prose .owc-portal, .ow-prose .owc-grid, .ow-prose .owc-collections, .ow-prose .owc-top10 { margin: 28px 0; }
.ow-post-hero img { border-radius: var(--radius-lg); margin-bottom: 32px; }

.owc-contact { max-width: 620px; margin-top: 28px; }
.owc-contact label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.owc-contact textarea { height: auto; padding: 14px 16px; }
.owc-hp { position: absolute !important; left: -9999px; }
.owc-notice { padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.owc-notice--ok { background: rgba(40, 200, 120, .12); border: 1px solid rgba(40, 200, 120, .4); color: #9ff0c4; }
.owc-notice--bad { background: rgba(220, 36, 60, .12); border: 1px solid rgba(220, 36, 60, .45); color: #ffb3bd; }

.ow-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.ow-post-card { border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); overflow: hidden; }
.ow-post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ow-post-card__body { padding: 20px; }
.ow-post-card__title { font-family: var(--font-display); font-size: 1.3rem; }
.ow-post-card__title a { text-decoration: none; }

.ow-comments { margin-top: 56px; }
.ow-comment-list { padding-left: 0; list-style: none; }
.comment-form textarea { height: auto; padding: 14px 16px; }
.comment-form .submit { padding: .8em 1.5em; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; }

/* Footer ----------------------------------------------------------------- */
.ow-footer { position: relative; margin-top: clamp(48px, 8vw, 96px); padding: clamp(48px, 6vw, 72px) 0 32px; border-top: 1px solid var(--line); background: linear-gradient(180deg, #05060a, #030407); overflow: hidden; }
.ow-footer__glow { position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--tri); opacity: .7; }
.ow-footer__glow::after { content: ""; position: absolute; left: 20%; right: 20%; top: 0; height: 120px; background: radial-gradient(50% 100% at 50% 0%, rgba(120, 140, 255, .12), transparent); }
.ow-footer__disclosure { padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); margin-bottom: 44px; }
.ow-footer__disclosure .owc-disclosure { margin: 0; }
.ow-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.ow-footer__tag { margin: 18px 0 10px; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .04em; color: #fff; }
.ow-footer__tag span { font-family: var(--font-body); font-size: .85rem; color: var(--muted); letter-spacing: 0; }
.ow-footer__about { color: var(--muted); font-size: .9rem; max-width: 42ch; }
.ow-footer__title { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin: 6px 0 16px; }
.ow-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ow-footer ul a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #cfd3e0; font-size: .92rem; }
.ow-footer ul a:hover { color: #fff; }
.ow-footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: .78rem; display: grid; gap: 6px; }
.ow-footer__legal p { margin: 0; }
@media (max-width: 900px) { .ow-footer__grid { grid-template-columns: 1fr 1fr; } .ow-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ow-footer__grid { grid-template-columns: 1fr; } }

/* Reveal ----------------------------------------------------------------- */
.will-reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.will-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* WordPress core classes ------------------------------------------------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--dim); }
.sticky, .bypostauthor, .gallery-caption { }
