.hide,
[hidden] {
    display: none !important;
}

/* .cn locks language dropdown; worlds / catalog / download are the same on .cn and .cc. */
html.ow-lang-locked .header__lang {
    display: none !important;
}

html.ow-site-cn .ow-legal-cc,
html.ow-site-en .ow-legal-cn {
    display: none !important;
}

.flex{ display: flex; }
.flex-r{ display: flex; flex-direction: row; flex-wrap:wrap;align-items: flex-start;}
.flex-c{ display: flex; flex-direction: column;}
.flex-ra{ justify-content: space-around;}
.flex-rb{ justify-content: space-between;}
.flex1{ flex: 1;}
.flex-jc{ justify-content: center;}
.flex-ac{ align-items: center;}
.flex-cc{ justify-content: center; align-items: center;}

.logout{ cursor: pointer; }

/* Prevent login button flash while auth state hydrates */
html:not(.openworld-auth-ready):not(.openworld-logged-in) #header__user .header__wallet {
    visibility: hidden;
}

html.openworld-logged-in #header__user .header__wallet {
    display: none !important;
}

html.openworld-logged-in #header__user .header__user__img.hide {
    display: block !important;
}

html.openworld-auth-loading #header__user .header__wallet {
    visibility: hidden;
}

html.openworld-auth-ready #header__user .header__wallet,
html.openworld-auth-ready #header__user .header__user__img {
    visibility: visible;
}

/* Language switcher */
.header__lang {
    position: relative;
}
.ow-lang-select {
    position: relative;
}
.ow-lang-toggle {
    appearance: none;
    background: transparent;
    border: 1px solid #333333;
    border-radius: 6px;
    color: #EDEDED;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    min-width: 92px;
    padding: 6px 26px 6px 10px;
    position: relative;
    text-align: left;
}
.ow-lang-toggle::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #C8C8C8;
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-40%);
}
.ow-lang-select.is-open .ow-lang-toggle {
    border-color: #478CBF;
}
.ow-lang-menu {
    background: #1C1C1C;
    border: 1px solid #333333;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    display: none;
    list-style: none;
    margin: 6px 0 0;
    min-width: 100%;
    padding: 6px 0;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 40;
}
.ow-lang-select.is-open .ow-lang-menu {
    display: block;
}
.ow-lang-menu .openworld-lang-btn {
    background: transparent;
    border: 0;
    color: #C8C8C8;
    cursor: pointer;
    display: block;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    text-align: left;
    width: 100%;
}
.ow-lang-menu .openworld-lang-btn:hover,
.ow-lang-menu .openworld-lang-btn.is-active {
    background: #262626;
    color: #EDEDED;
}

.disable-btn{ background-color: #333333 !important;border-color: #666 !important;cursor: unset !important;pointer-events: none; }
.disable-btn:hover{ background-color: #333333 !important;border-color: #666 !important; }

/* EditorTheme tokens — match src/Openworld.Client/EditorTheme.cs */
:root {
    --openworld-bg: #141414;
    --openworld-panel: #1C1C1C;
    --openworld-elevated: #262626;
    --openworld-border: #333333;
    --openworld-primary: #478CBF;
    --openworld-primary-dark: #5AA3D4;
    --openworld-surface: #1C1C1C;
    --openworld-text: #EDEDED;
    --openworld-muted: #C8C8C8;
}

html,
body {
    background-color: var(--openworld-bg);
    color: var(--openworld-text);
    font-feature-settings: "kern" 1;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
}

img, video, canvas, svg {
    max-width: 100%;
}

body.active-light-mode {
    background-color: var(--openworld-bg) !important;
}

body.active-light-mode .slider__search h3,
body.active-light-mode .slider__search > span,
body.active-light-mode .section__title,
body.active-light-mode .section__title-2 {
    color: var(--openworld-text) !important;
}

body.active-light-mode .footer__widget-title,
body.active-light-mode .footer__widget ul li a,
body.active-light-mode .footer__info p,
body.active-light-mode .footer__copyright p,
body.active-light-mode .footer__copyright a {
    color: var(--openworld-muted) !important;
}

body.active-light-mode .footer__copyright a:hover,
body.active-light-mode .footer__widget ul li a:hover {
    color: var(--openworld-text) !important;
}

.ow-wordmark {
    display: inline-block;
    color: var(--openworld-text) !important;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 64px;
    text-decoration: none !important;
    white-space: nowrap;
}

.ow-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.ow-brand-mark {
    height: 64px;
    width: auto;
    display: block;
}

.header__logo {
    min-width: 0;
}

.header__wrapper > .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.header__wrapper > .row > [class*="col-"]:first-child {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}

.header__wrapper > .row > [class*="col-"]:nth-child(2) {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
}

.header__menu-wrapper {
    padding-left: 56px;
}

.header__wrapper > .row > [class*="col-"]:last-child {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    margin-left: auto;
}

.header__area.header__transparent,
.header__area.header__sticky.header-sticky {
    background: var(--openworld-panel) !important;
    border-bottom: 1px solid var(--openworld-border);
    backdrop-filter: none;
}

.header__menu-wrapper .main-menu nav > ul > li > a {
    color: #C8C8C8;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.header__menu-wrapper .main-menu nav > ul > li > a:hover {
    color: #EDEDED;
}

.header__menu-wrapper .main-menu nav > ul > li > a.openworld-nav-active,
.header__menu-wrapper .main-menu nav > ul > li > a.openworld-nav-active i {
    color: #EDEDED !important;
    border-bottom-color: #478CBF;
}

.slider__title-3 {
    letter-spacing: 0;
    color: var(--openworld-text);
}

.section__title, .section__title-2 {
    letter-spacing: 0;
    color: var(--openworld-text);
}

.nft__box, .bid__item, .creator__item {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--openworld-border);
    background: var(--openworld-panel);
}

.nft__box:hover, .bid__item:hover {
    box-shadow: none;
}

.tp-btn-gradient,
.tp-btn-gradient.active,
.cta__content-2 .tp-btn-gradient,
.cta__content-2 .tp-btn-gradient.active {
    background: var(--openworld-primary) !important;
    border-radius: 4px !important;
    border: 1px solid var(--openworld-border);
    color: #fff !important;
}

.tp-btn-gradient::after,
.cta__content-2 .tp-btn-gradient::after {
    display: none !important;
}

.tp-btn-gradient:hover,
.tp-btn-gradient.active:hover {
    background: var(--openworld-primary-dark) !important;
    color: #fff !important;
}

.tp-btn-2,
.tp-btn-4,
.tp-btn-border,
.tp-btn-3,
.header__wallet-btn {
    border-radius: 4px !important;
}

.header__wallet-btn {
    background: var(--openworld-elevated) !important;
    border: 1px solid var(--openworld-border) !important;
}

.footer__area {
    background: var(--openworld-panel);
    border-top: 1px solid var(--openworld-border);
}

.footer__widget-title {
    color: var(--openworld-text);
}

.footer__widget ul li a,
.footer__menu a,
.footer__copyright p,
.footer__copyright a {
    color: var(--openworld-muted);
}

.footer__widget ul li a:hover,
.footer__menu a:hover,
.footer__copyright a:hover {
    color: var(--openworld-text);
}

.footer__menu a {
    margin-left: 18px;
}

.footer__subscribe-input input,
.footer__subscribe-input-btn {
    border-radius: 4px !important;
}

body.openworld-loading .bid__slider-active-3:empty,
body.openworld-loading .swiper-wrapper:empty {
    min-height: 220px;
    background: var(--openworld-elevated);
    border: 1px solid var(--openworld-border);
    border-radius: 4px;
}

.share__modal, .report__modal, .bid__modal.modal, .theme__settings {
    display: none !important;
}

.offcanvas__social {
    display: none;
}

.offcanvas__content {
    background: var(--openworld-panel);
}

.offcanvas__content a {
    color: #C8C8C8;
}

p,
.cta__content-2 p,
.slider__search p,
.login__top p,
.login__register-hint,
.login__input-title h4,
.login__form,
.login__wrapper,
.product__details-info,
.product__details-title,
.nft__box p,
.bid__item p,
.creator__content,
.creator__title a {
    color: var(--openworld-text) !important;
}

.login__area,
.login__wrapper {
    background: transparent;
}

.login__input input,
.login__input textarea,
.footer__subscribe-input input {
    color: #EDEDED !important;
    background: #262626 !important;
    border-color: #333 !important;
    border-radius: 8px !important;
}

.login__input .nice-select,
.login__area .tp-btn-4,
.login__btn .tp-btn-4,
.login__form .tp-btn-4 {
    border-radius: 4px !important;
}

.login__input-title h4,
.login__input-title h4 span {
    color: #EDEDED !important;
}

.login__input-title h4 span:last-child {
    color: #478CBF !important;
}
.login__register-hint {
    margin: 0;
    font-size: 14px;
    color: var(--openworld-muted) !important;
}

.login__register-hint a {
    color: var(--openworld-primary-dark) !important;
    text-decoration: underline;
}

.login__input input::placeholder,
.login__input textarea::placeholder,
.footer__subscribe-input input::placeholder {
    color: #EDEDED !important;
    opacity: 0.7;
}

.mean-container .mean-nav ul li a {
    color: #EDEDED !important;
}


.header__wallet-btn {
    padding: 8px 16px !important;
    min-width: 72px;
    text-align: center;
}

.header__wallet-btn svg {
    display: none;
}

.ow-hero,
.ow-page {
    padding: 136px 0 56px;
}

.ow-hero {
    padding-bottom: 72px;
    border-bottom: 1px solid var(--openworld-border);
}

.ow-kicker {
    color: var(--openworld-primary-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.ow-hero h1,
.ow-page h1 {
    max-width: 18em;
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 600;
    letter-spacing: 0 !important;
    line-height: 1.25;
    color: var(--openworld-text);
    margin: 0 0 16px;
}

.ow-page h1 {
    max-width: none;
}

.ow-lead {
    max-width: 54ch;
    color: var(--openworld-muted) !important;
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 28px;
}

.ow-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ow-hero-actions .tp-btn-gradient {
    min-width: 168px;
    text-align: center;
    padding: 12px 20px;
}

.ow-hero-actions .tp-btn-gradient:not(.active) {
    background: var(--openworld-elevated) !important;
    color: var(--openworld-text) !important;
}

.ow-steps {
    padding: 48px 0;
    border-bottom: 1px solid var(--openworld-border);
}

.ow-step {
    background: var(--openworld-panel);
    border: 1px solid var(--openworld-border);
    border-radius: 4px;
    padding: 24px;
    height: 100%;
    margin-bottom: 16px;
}

.ow-step span {
    display: inline-block;
    color: var(--openworld-primary-dark);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.ow-step h2 {
    font-size: 20px;
    color: var(--openworld-text);
    margin: 0 0 8px;
}

.ow-step p,
.ow-muted,
.ow-card p {
    color: var(--openworld-muted) !important;
    line-height: 1.55;
    margin: 0;
}

.ow-muted {
    margin-top: 8px;
}

.ow-text-link {
    color: var(--openworld-primary-dark);
    font-weight: 600;
}

.ow-text-link:hover {
    color: var(--openworld-text);
}

.ow-catalog .section__title {
    margin: 0;
}

.ow-empty {
    padding: 40px 24px;
    text-align: center;
    border: 1px dashed var(--openworld-border);
    border-radius: 4px;
    color: var(--openworld-muted);
    background: var(--openworld-panel);
}

.ow-shelf {
    margin-top: 40px;
    padding: 28px 28px 8px;
    background: var(--openworld-panel);
    border: 1px solid var(--openworld-border);
    border-radius: 4px;
}

.ow-shelf .section__title {
    margin: 0 0 8px;
}

.ow-shelf > .ow-muted {
    margin: 0 0 24px;
}

.ow-shelf-grid {
    min-height: 220px;
}

.ow-shelf-grid > [class*="col-"] {
    margin-bottom: 24px;
}

.ow-slot {
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.ow-slot-box {
    flex: 1;
    min-height: 160px;
    border: 1px dashed var(--openworld-border);
    border-radius: 4px;
    background: var(--openworld-elevated);
}

.ow-slot .ow-muted {
    margin-top: 12px;
    min-height: 1.55em;
}

.ow-asset-thumb {
    min-height: 140px;
    background: var(--openworld-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ow-asset-kind {
    color: var(--openworld-muted);
    font-size: 14px;
}

.ow-cards {
    margin-top: 8px;
}

.ow-dl-section {
    font-size: 18px;
    color: var(--openworld-text);
    margin: 28px 0 8px;
    font-weight: 600;
}

.ow-dl-split > [class*="col-"] > .ow-dl-section {
    margin-top: 8px;
}

.ow-dl-split .ow-dl-player .row {
    margin-left: -8px;
    margin-right: -8px;
}

.ow-dl-split .ow-dl-player .row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

.ow-product-split {
    padding: 56px 0 48px;
    border-bottom: 1px solid var(--openworld-border);
}

.ow-card {
    background: var(--openworld-panel);
    border: 1px solid var(--openworld-border);
    border-radius: 4px;
    padding: 32px;
    height: 100%;
    margin-bottom: 24px;
}

.ow-card h2 {
    font-size: 22px;
    color: var(--openworld-text);
    margin: 0 0 12px;
}

.ow-card p {
    margin: 0 0 24px;
}

.ow-badge {
    display: inline-block;
    font-size: 12px;
    color: var(--openworld-muted);
    border: 1px solid var(--openworld-border);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.ow-card .tp-btn-4,
.ow-card .tp-btn-gradient {
    display: inline-block;
    cursor: pointer;
}

.ow-card .ow-action-btn {
    pointer-events: auto;
    opacity: 1;
    cursor: pointer;
    margin-top: 12px;
}

.ow-qr {
    margin-top: 16px;
    padding: 12px;
    background: #fff;
    border-radius: 4px;
    color: #141414;
    word-break: break-all;
}

.ow-qr img {
    display: block;
    max-width: 220px;
    height: auto;
}

.ops-num {
    font-size: 32px;
    font-weight: 700;
    color: #478CBF;
    line-height: 1.2;
    margin: 8px 0 12px;
}

.ow-hint {
    margin-top: 8px;
    color: var(--openworld-muted) !important;
}

.ow-search {
    position: relative;
    max-width: 480px;
    margin: 0 0 24px;
}

.ow-search input {
    width: 100%;
    height: 48px;
    padding: 0 44px 0 16px;
    color: #EDEDED;
    background: #262626;
    border: 1px solid #333;
    border-radius: 4px;
}

.ow-search input::placeholder {
    color: #C8C8C8;
}

.ow-search i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #C8C8C8;
}

#search_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
}

#search_tags .search-tag,
#search_tags .search-tag-all {
    background: var(--openworld-elevated);
    border: 1px solid var(--openworld-border);
    color: var(--openworld-muted);
    border-radius: 4px;
    padding: 6px 12px;
}

#search_tags .search-tag.active,
#search_tags .search-tag-all.active {
    background: var(--openworld-primary);
    border-color: var(--openworld-primary);
    color: #fff;
}

.ow-space-cta {
    margin-top: 28px;
}

.ow-space-cta .tp-btn-2,
.ow-space-cta .tp-btn-gradient {
    background: var(--openworld-primary) !important;
    border: 1px solid var(--openworld-border);
    color: #fff !important;
    border-radius: 4px;
    padding: 12px 24px;
}

.ow-footer {
    padding: 28px 0 32px;
}

.ow-footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.ow-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ow-footer-nav a,
.ow-footer .footer__copyright {
    color: var(--openworld-muted);
    font-size: 14px;
}

.ow-footer .footer__beian {
    margin-left: 16px;
    color: inherit;
    text-decoration: none;
}

.ow-footer .footer__beian:hover {
    color: var(--openworld-text);
    text-decoration: underline;
}

.ow-footer-nav a:hover {
    color: var(--openworld-text);
}

@media (max-width: 575px) {
    .ow-brand-mark {
        height: 48px;
    }

    .ow-wordmark {
        font-size: 22px;
        line-height: 48px;
    }
}

@media (max-width: 767px) {
    .ow-hero,
    .ow-page {
        padding-top: 116px;
    }

    .ow-hero-actions .tp-btn-gradient {
        width: 100%;
    }
}

/* ===== OpenWorld visual upgrade (design system) ===== */

/* Layered page background: deep base + blue radial glow + subtle grid */
.ow-hero,
.ow-page {
    position: relative;
    background:
        radial-gradient(900px 420px at 72% -8%, rgba(71, 140, 191, 0.14) 0%, rgba(71, 140, 191, 0) 60%),
        radial-gradient(700px 360px at 8% 0%, rgba(90, 163, 212, 0.08) 0%, rgba(90, 163, 212, 0) 55%),
        var(--openworld-bg);
}

.ow-hero::before,
.ow-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(720px 400px at 70% 0%, #000 0%, transparent 78%);
    mask-image: radial-gradient(720px 400px at 70% 0%, #000 0%, transparent 78%);
}

.ow-hero > .container,
.ow-page > .container {
    position: relative;
    z-index: 1;
}

/* Hero two-column layout */
.ow-hero-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.18fr;
    gap: 40px;
    align-items: center;
}

.ow-hero-visual {
    position: relative;
}

.ow-hero-shot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    border: 1px solid var(--openworld-border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* Hero World Shard (Three.js) */
.ow-hero-shard {
    position: relative;
    aspect-ratio: 16 / 10;
    width: 100%;
    min-height: 320px;
    border-radius: 14px;
    border: 1px solid var(--openworld-border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    /* Key art is the hero — Three.js only overlays neon digital layers on top. */
    background-color: #0a0e14;
    background-image: url("/assets/img/brand/promo-hero.jpg?v=chrome2");
    background-size: cover;
    background-position: center;
}

.ow-hero-shard .ow-hero-shot {
    position: absolute;
    inset: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    z-index: 0;
    /* Absolute — never take a second row under the shard frame. */
    opacity: 1;
}

.ow-hero-shard .ow-hero-shot[hidden] {
    /* Keep absolute slot; opacity only — do not reflow into a black hole. */
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.ow-hero-canvas {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    display: block;
    z-index: 1;
    opacity: 1;
    cursor: grab;
    /* Allow vertical page scroll; horizontal drag handled in JS after threshold. */
    touch-action: pan-y;
}

.ow-hero-canvas:not(.is-live) {
    opacity: 0;
    pointer-events: none;
}

.ow-hero-canvas.is-live {
    opacity: 1;
}

.ow-hero-canvas:active {
    cursor: grabbing;
}

@media (max-width: 900px) {
    .ow-hero-shard {
        aspect-ratio: 16 / 11;
        min-height: 260px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ow-hero-canvas {
        display: none !important;
    }
}

.ow-card-media {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
    display: block;
    border: 1px solid rgba(71, 140, 191, 0.2);
}

.ow-hero-badge {
    position: absolute;
    top: -30px;
    right: -18px;
    width: 104px;
    height: 104px;
    z-index: 2;
}

.ow-hero-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(20, 20, 20, 0.85), 0 0 70px rgba(71, 140, 191, 0.5);
}

/* CSS-only editor window mockup (kept for non-home reuse) */
.ow-mockup {
    background: var(--openworld-panel);
    border: 1px solid var(--openworld-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.ow-mockup-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: var(--openworld-elevated);
    border-bottom: 1px solid var(--openworld-border);
}

.ow-mockup-bar .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #333;
}

.ow-mockup-bar .dot:nth-child(1) { background: #ff5f57; }
.ow-mockup-bar .dot:nth-child(2) { background: #febc2e; }
.ow-mockup-bar .dot:nth-child(3) { background: #28c840; }

.ow-mockup-title {
    margin-left: 10px;
    font-size: 12px;
    color: var(--openworld-muted);
    letter-spacing: 0.02em;
}

.ow-mockup-body {
    display: grid;
    grid-template-columns: 84px 1fr 96px;
    height: 320px;
}

.ow-mockup-side,
.ow-mockup-inspector {
    background: var(--openworld-panel);
    border-right: 1px solid var(--openworld-border);
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ow-mockup-inspector {
    border-right: none;
    border-left: 1px solid var(--openworld-border);
}

.ow-mockup-side-item,
.ow-mockup-inspector-row {
    height: 14px;
    border-radius: 4px;
    background: var(--openworld-elevated);
}

.ow-mockup-side-item.is-active {
    background: rgba(71, 140, 191, 0.45);
}

.ow-mockup-inspector-row {
    height: 22px;
    margin-bottom: 4px;
}

.ow-mockup-inspector-row:nth-child(2) { height: 34px; background: rgba(71, 140, 191, 0.18); }

.ow-mockup-viewport {
    position: relative;
    background: radial-gradient(120% 90% at 50% 0%, #1f2834 0%, #12151a 72%);
    overflow: hidden;
}

.ow-mockup-grid {
    position: absolute;
    left: -50%;
    right: -50%;
    bottom: -62%;
    height: 128%;
    background-image:
        linear-gradient(rgba(71, 140, 191, 0.30) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71, 140, 191, 0.30) 1px, transparent 1px);
    background-size: 34px 34px;
    transform: perspective(320px) rotateX(60deg);
    transform-origin: center top;
}

.ow-mockup-object {
    position: absolute;
    border-radius: 8px;
    background: linear-gradient(160deg, #478CBF 0%, #2b5876 100%);
    box-shadow: 0 0 24px rgba(71, 140, 191, 0.35);
}

.ow-mockup-object-a { width: 46px; height: 46px; left: 22%; bottom: 34%; }
.ow-mockup-object-b { width: 28px; height: 28px; right: 24%; bottom: 26%; border-radius: 50%; background: linear-gradient(160deg, #5AA3D4 0%, #2b5876 100%); }
.ow-mockup-object-c { width: 38px; height: 18px; left: 48%; bottom: 18%; border-radius: 4px; background: rgba(90, 163, 212, 0.7); }

/* Story band — share/OG art between copy sections */
.ow-story {
    padding: 72px 0;
    border-bottom: 1px solid var(--openworld-border);
    background:
        radial-gradient(720px 360px at 88% 20%, rgba(71, 140, 191, 0.12) 0%, rgba(71, 140, 191, 0) 60%),
        var(--openworld-bg);
}

.ow-story-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: center;
}

.ow-story-copy h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    color: var(--openworld-text);
    margin: 0 0 16px;
    max-width: 16em;
}

.ow-story-copy .ow-lead {
    margin-bottom: 0;
}

.ow-story-shot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    border: 1px solid var(--openworld-border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

/* Feature cards */
.ow-features {
    padding: 72px 0 48px;
    border-bottom: 1px solid var(--openworld-border);
}

.ow-features .ow-kicker,
.ow-capability-band .ow-kicker {
    text-align: center;
    margin-bottom: 8px;
}

.ow-features-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.ow-features-head h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    color: var(--openworld-text);
    margin: 0 0 12px;
}

.ow-feature {
    height: 100%;
    background: var(--openworld-panel);
    border: 1px solid var(--openworld-border);
    border-radius: 8px;
    padding: 26px 24px;
    margin-bottom: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ow-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(71, 140, 191, 0.6);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.ow-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(71, 140, 191, 0.16);
    border: 1px solid rgba(71, 140, 191, 0.35);
    color: var(--openworld-primary-dark);
    margin-bottom: 16px;
}

.ow-feature-icon svg {
    width: 22px;
    height: 22px;
}

.ow-feature h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--openworld-text);
    margin: 0 0 8px;
}

.ow-feature p {
    color: var(--openworld-muted) !important;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

/* Capability band */
.ow-capability-band {
    padding: 48px 0;
    border-bottom: 1px solid var(--openworld-border);
}

.ow-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.ow-capability {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--openworld-panel);
    border: 1px solid var(--openworld-border);
    border-radius: 8px;
    padding: 18px 20px;
}

.ow-capability .ow-capability-mark {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--openworld-primary);
    box-shadow: 0 0 0 4px rgba(71, 140, 191, 0.15);
}

.ow-capability span {
    color: var(--openworld-text);
    font-size: 15px;
    font-weight: 500;
}

/* Bottom CTA banner */
.ow-cta {
    padding: 72px 0;
}

.ow-cta-banner {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 64px 32px;
    border-radius: 12px;
    border: 1px solid rgba(71, 140, 191, 0.4);
    background: #141414;
}

.ow-cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.42;
    pointer-events: none;
}

.ow-cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(20, 20, 20, 0.55) 0%, rgba(20, 20, 20, 0.82) 100%),
        radial-gradient(700px 320px at 50% -20%, rgba(71, 140, 191, 0.28) 0%, rgba(71, 140, 191, 0) 65%);
    pointer-events: none;
}

.ow-cta-inner {
    position: relative;
    z-index: 1;
}

.ow-cta-banner h2 {
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 600;
    color: var(--openworld-text);
    margin: 0 0 12px;
}

.ow-cta-banner p {
    color: var(--openworld-muted) !important;
    max-width: 46ch;
    margin: 0 auto 28px;
}

.ow-cta-banner .tp-btn-gradient {
    min-width: 200px;
    padding: 13px 26px;
    font-size: 15px;
}

/* Footer tagline */
.footer__tagline {
    color: var(--openworld-muted);
    font-size: 14px;
    margin: 0 0 6px;
}

/* Card hover lift shared by download / subpages */
.ow-card {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ow-card:hover {
    transform: translateY(-4px);
    border-color: rgba(71, 140, 191, 0.6);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

/* Download page icon chip */
.ow-icon-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(71, 140, 191, 0.16);
    border: 1px solid rgba(71, 140, 191, 0.35);
    color: var(--openworld-primary-dark);
    margin-bottom: 16px;
}

.ow-icon-chip svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 991px) {
    .ow-story-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ow-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ow-hero-copy {
        order: 1;
    }

    .ow-hero-visual {
        order: 2;
    }

    .ow-capability-grid {
        grid-template-columns: 1fr;
    }

    .ow-mockup-body {
        height: 260px;
    }
}

#loading .tp-preloader,
.tp-preloader {
    border-color: #478CBF !important;
}

.tp-preloader-3 .loader-1 .loader-outter,
.tp-preloader-3 .loader-1 .loader-inner,
.active-light-mode .tp-preloader-3 .loader-1 .loader-outter,
.active-light-mode .tp-preloader-3 .loader-1 .loader-inner {
    border-color: #478CBF !important;
}

@keyframes stroke-color {
    0%, 100% { stroke: #478CBF; }
}

@-webkit-keyframes stroke-color {
    0%, 100% { stroke: #478CBF; }
}


/* Social login hidden until WeChat / Google are live */
.ow-oauth-wechat,
.ow-oauth-google {
    display: none !important;
}
.ow-auth-sms {
    display: none !important;
}
html.ow-site-cn .ow-auth-sms {
    display: block !important;
}
html.ow-site-cn .ow-auth-mail {
    display: none !important;
}
.ow-oauth-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.ow-oauth-btn .ow-oauth-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}
.ow-oauth-btn .ow-oauth-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.header__area {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.ow-footer {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.offcanvas__content .ow-lang-select {
    width: 100%;
    max-width: 280px;
}

.offcanvas__content .ow-lang-toggle {
    width: 100%;
    min-height: 44px;
}

.offcanvas__content .ow-lang-menu {
    left: 0;
    right: 0;
}

.offcanvas__wallet-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    background: var(--openworld-primary);
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
}

html.openworld-logged-in .offcanvas__wallet {
    display: none !important;
}

html:not(.openworld-logged-in) .offcanvas__account {
    display: none !important;
}

.offcanvas__account {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.offcanvas__account a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--openworld-border);
    border-radius: 6px;
    color: var(--openworld-text) !important;
    text-decoration: none !important;
}

.header__bar .hamurger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    margin: 0;
}

.offcanvas__close-btn {
    width: 44px;
    height: 44px;
}

@media (hover: none) {
    .ow-feature:hover {
        transform: none;
        box-shadow: none;
    }
}

.offcanvas__area .modal-dialog {
    background: var(--openworld-panel) !important;
}

.offcanvas__area .modal-content {
    background: var(--openworld-panel);
    height: 100%;
    border-radius: 0;
}

@media (max-width: 991px) {
    .header__wrapper {
        overflow-x: hidden;
    }

    .offcanvas__area .modal-dialog {
        max-width: 100%;
    }

    .header__menu-wrapper {
        padding-left: 0;
    }

    .ow-hero,
    .ow-page {
        padding: calc(96px + env(safe-area-inset-top)) 0 40px;
    }

    .ow-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ow-hero-copy {
        order: 1;
    }

    .ow-hero-visual {
        order: 2;
        overflow: hidden;
    }

    .ow-hero-badge {
        width: 64px;
        height: 64px;
        top: -12px;
        right: 8px;
    }

    .ow-mockup-side,
    .ow-mockup-inspector {
        display: none;
    }

    .ow-mockup-body {
        grid-template-columns: 1fr;
        height: 200px;
    }

    .ow-capability-grid {
        grid-template-columns: 1fr;
    }

    .ow-cta-banner {
        padding: 36px 20px;
    }

    .ow-cta-banner .tp-btn-gradient {
        min-width: 0;
        width: 100%;
    }

    .login__shape,
    .login__shape-1,
    .login__shape-2,
    .login__shape-3,
    .login__shape-4 {
        display: none !important;
    }

    .login__wrapper {
        padding-left: 0;
        padding-right: 0;
        overflow: hidden;
    }

    .login__input input,
    .login__input textarea {
        font-size: 16px !important;
        min-height: 44px;
    }

    .login__form .tp-btn-2,
    .login__form .tp-btn-4,
    .login__form button[type="submit"],
    .ow-card .tp-btn-4,
    .ow-card .tp-btn-gradient,
    .ow-hero-actions .tp-btn-gradient,
    .ow-space-cta .tp-btn-gradient {
        min-height: 44px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .ow-brand {
        gap: 8px;
    }

    .ow-brand-mark {
        height: 40px;
    }

    .ow-wordmark {
        font-size: 18px;
        line-height: 40px;
    }

    .ow-hero h1,
    .ow-page h1 {
        max-width: none;
        font-size: 28px;
    }

    .ow-lead {
        max-width: none;
        font-size: 15px;
        margin-bottom: 20px;
    }

    .ow-features {
        padding: 40px 0 24px;
    }

    .ow-feature {
        padding: 20px 16px;
        margin-bottom: 16px;
    }

    .ow-card {
        padding: 22px 16px;
        margin-bottom: 16px;
    }

    .ow-search {
        max-width: none;
    }

    .ow-search input {
        font-size: 16px;
    }

    .ow-footer-row,
    .ow-footer-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer__menu a {
        margin-left: 0;
        margin-right: 16px;
    }

    .ow-mockup-title {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: calc(100% - 72px);
    }
}

@media (max-width: 575px) {
    .ow-hero-badge {
        display: none;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.login__input.has-sms input {
    padding-right: 118px;
}

.login__input-sms {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    min-height: 36px;
    padding: 0 14px !important;
    font-size: 13px;
    line-height: 36px;
    border-radius: 20px !important;
    white-space: nowrap;
    background: var(--openworld-elevated) !important;
    border: 1px solid var(--openworld-border) !important;
    color: var(--openworld-text) !important;
}

.ow-captcha {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.ow-captcha-field {
    flex: 1;
    margin-bottom: 0;
}

.ow-captcha-img-btn {
    flex: 0 0 132px;
    padding: 0;
    border: 1px solid var(--openworld-border);
    border-radius: 12px;
    background: #1a1a1a;
    overflow: hidden;
    cursor: pointer;
    height: 48px;
}

.ow-captcha-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ow-dl-disabled {
    display: inline-block;
    opacity: 0.55;
    pointer-events: none;
    cursor: not-allowed;
}

/* Create ways — 2×2 marketing cards */
.ow-create-ways .ow-features-head .ow-muted {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
}
.ow-ways-soon {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    vertical-align: middle;
    color: var(--openworld-primary-dark);
    background: rgba(71, 140, 191, 0.16);
    border: 1px solid rgba(71, 140, 191, 0.35);
    border-radius: 4px;
}
.ow-create-ways .ow-feature code {
    font-size: 0.92em;
    color: var(--openworld-text);
}
@media (max-width: 767px) {
    .ow-ways-grid .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


.ow-dl-cli {
    margin-top: 40px;
}
.ow-dl-cli-card {
    max-width: 40rem;
}
.ow-dl-cli-steps {
    margin: 12px 0 8px;
    padding-left: 1.25rem;
    color: rgba(232, 236, 242, 0.85);
    font-size: 15px;
    line-height: 1.55;
}
.ow-dl-cli-steps li {
    margin-bottom: 6px;
}
.ow-dl-cli-steps code {
    font-size: 0.92em;
    color: var(--openworld-text);
}

/* Product docs (Astro /docs) */
.ow-docs-page {
    padding-top: 32px;
    padding-bottom: 64px;
}
.ow-docs-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}
.ow-docs-toc {
    position: sticky;
    top: 88px;
    padding: 16px;
    border: 1px solid var(--openworld-border);
    border-radius: 12px;
    background: rgba(18, 22, 28, 0.9);
}
.ow-docs-toc-title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
}
.ow-docs-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ow-docs-toc li {
    margin: 0 0 8px;
}
.ow-docs-toc a {
    color: rgba(232, 236, 242, 0.75);
    text-decoration: none;
    font-size: 14px;
}
.ow-docs-toc a:hover,
.ow-docs-toc a.is-active {
    color: var(--openworld-primary);
}
.ow-docs-article {
    max-width: 44rem;
}
.ow-docs-article h1 {
    margin: 0 0 16px;
    font-size: 1.75rem;
}
.ow-docs-article h2 {
    margin: 28px 0 10px;
    font-size: 1.25rem;
}
.ow-docs-article p,
.ow-docs-article li {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(232, 236, 242, 0.88);
}
.ow-docs-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 20px;
    font-size: 14px;
}
.ow-docs-article th,
.ow-docs-article td {
    border: 1px solid var(--openworld-border);
    padding: 8px 10px;
    text-align: left;
}
.ow-docs-locale[hidden] {
    display: none !important;
}
@media (max-width: 900px) {
    .ow-docs-layout {
        grid-template-columns: 1fr;
    }
    .ow-docs-toc {
        position: static;
    }
}

