:root {
    --zxr-ink: #101715;
    --zxr-ink-soft: #1b2522;
    --zxr-paper: #f2f3ef;
    --zxr-surface: #ffffff;
    --zxr-line: rgba(16, 23, 21, .13);
    --zxr-muted: #66716d;
    --zxr-red: #b52b27;
    --zxr-red-dark: #7c1f1c;
    --zxr-jade: #1a7168;
    --zxr-gold: #cba85d;
    --zxr-accent: var(--zxr-red);
    --zxr-accent-soft: rgba(181, 43, 39, .12);
    --zxr-radius: 8px;
    --zxr-shadow: 0 18px 52px rgba(10, 18, 16, .12);
    letter-spacing: 0;
}

* {
    letter-spacing: 0;
}

::selection {
    color: #fff;
    background: var(--zxr-red);
}

/* Shared brand */
.s33-brand-lockup {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    min-width: 0;
}

.s33-brand-lockup__badge,
.s33-brand-lockup--compact .s33-brand-lockup__badge,
.fi-sidebar .s33-brand-lockup__badge {
    width: 156px !important;
    height: 58px !important;
    flex: 0 0 156px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.s33-brand-lockup__badge img,
.s33-brand-lockup--compact .s33-brand-lockup__badge img,
.fi-sidebar .s33-brand-lockup__badge img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: left center !important;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .22)) !important;
    transform: none !important;
}

.s33-brand-lockup__text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

/* Public access hub */
body.zxr-hub-page {
    --zxr-pointer-x: 0;
    --zxr-pointer-y: 0;
    min-height: 100svh;
    margin: 0;
    overflow-x: clip !important;
    color: #f8f7f1 !important;
    background-color: #101715 !important;
    background-image:
        linear-gradient(90deg, rgba(8, 14, 13, .92) 0%, rgba(8, 14, 13, .7) 42%, rgba(8, 14, 13, .24) 72%, rgba(8, 14, 13, .66) 100%),
        linear-gradient(180deg, rgba(8, 14, 13, .12) 42%, #101715 84%),
        url('/images/zxr/zxr-hub-bg.png') !important;
    background-position:
        center,
        center,
        calc(50% + (var(--zxr-pointer-x) * 10px)) calc(48% + (var(--zxr-pointer-y) * 7px));
    background-size: cover, cover, cover;
    background-attachment: fixed;
    font-family: "Noto Serif SC", "Songti SC", "STSong", "Microsoft YaHei", serif;
}

body.zxr-hub-page::before {
    content: '';
    position: fixed;
    z-index: 0;
    inset: 30% -15% auto;
    height: 34vh;
    display: block !important;
    pointer-events: none;
    opacity: .42 !important;
    filter: blur(26px);
    background: linear-gradient(90deg, transparent, rgba(211, 224, 218, .18) 18%, rgba(211, 224, 218, .08) 56%, transparent);
    animation: zxr-fog-drift 18s ease-in-out infinite alternate;
}

body.zxr-hub-page::after {
    content: '';
    position: fixed;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    background-image:
        repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .018) 3px 4px),
        repeating-linear-gradient(90deg, transparent 0 5px, rgba(255, 255, 255, .012) 5px 6px);
}

.zxr-hub-page .s33-hub-wrap {
    position: relative;
    z-index: 1;
    width: min(1440px, calc(100% - 48px));
    min-height: 100svh;
    margin: 0 auto;
    padding: 22px 0 26px;
}

.zxr-hub-page .s33-hub-nav {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 12px;
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.zxr-hub-nav-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, .62);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
}

.zxr-hub-page .s33-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 999px;
    color: #f5ead0 !important;
    background: rgba(9, 17, 15, .42) !important;
    box-shadow: none !important;
    backdrop-filter: blur(12px);
}

.zxr-hub-page .s33-status-pill i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #67cf92;
    box-shadow: 0 0 0 4px rgba(103, 207, 146, .13);
}

.zxr-hub-page .s33-hub-hero {
    position: relative;
    display: grid;
    min-height: clamp(420px, 62svh, 610px);
    grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
    align-items: center;
    gap: 24px;
    padding: 32px 0 22px;
    align-items: center !important;
}

.zxr-hub-hero__copy {
    position: relative;
    z-index: 2;
    max-width: 740px;
    animation: zxr-enter-up .72s cubic-bezier(.2, .8, .2, 1) both;
}

.zxr-hub-page .s33-hub-eyebrow {
    color: #e5cc96 !important;
    font-size: 13px;
    font-weight: 800;
}

.zxr-hub-page .s33-hub-eyebrow::before {
    content: '壹';
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    margin-right: 12px;
    border: 1px solid rgba(229, 204, 150, .55);
    color: #efe0bd;
    background: rgba(124, 31, 28, .56);
}

.zxr-hub-page .s33-hub-title {
    margin: 22px 0 16px;
    color: #fffdf6 !important;
    font-size: clamp(52px, 7.2vw, 108px);
    line-height: .92;
    font-weight: 900;
    letter-spacing: 0 !important;
    text-shadow: 0 18px 50px rgba(0, 0, 0, .42);
}

.zxr-hub-page .s33-hub-title span {
    display: block;
    margin-top: 13px;
    color: #dd5c50 !important;
    background: none !important;
    font-size: .44em;
    font-weight: 800;
}

.zxr-hub-page .s33-hub-copy {
    max-width: 580px;
    margin: 0;
    color: rgba(248, 247, 241, .72) !important;
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 15px !important;
    line-height: 1.85 !important;
}

.zxr-hub-hero__rule {
    display: flex;
    max-width: 460px;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    color: rgba(255, 255, 255, .42);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
}

.zxr-hub-hero__rule i {
    display: block;
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, var(--zxr-red), rgba(255, 255, 255, .18));
}

.zxr-hub-hero__art {
    position: relative;
    z-index: 1;
    align-self: stretch;
    animation: zxr-enter-fade .9s .12s ease both;
}

.zxr-hub-hero__art img {
    position: absolute;
    right: 0;
    bottom: -10px;
    width: min(46vw, 650px);
    height: min(62svh, 620px);
    object-fit: contain;
    object-position: right bottom;
    filter: drop-shadow(0 34px 38px rgba(0, 0, 0, .48));
    transform: translate(calc(var(--zxr-pointer-x) * -7px), calc(var(--zxr-pointer-y) * -5px));
    transition: transform .12s linear;
}

.zxr-hub-hero__seal {
    position: absolute;
    right: 2%;
    top: 16%;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 2px solid rgba(213, 65, 55, .7);
    color: rgba(236, 89, 78, .76);
    font-size: 33px;
    font-weight: 900;
    transform: rotate(8deg);
}

.zxr-hub-page .s33-entry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    scroll-margin-top: 20px;
}

.zxr-hub-page .s33-entry-card {
    --zxr-card-accent: #bd4039;
    position: relative;
    display: grid;
    min-height: 294px;
    overflow: hidden;
    grid-template-rows: auto 1fr auto;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .15) !important;
    border-radius: var(--zxr-radius) !important;
    color: #fff !important;
    text-decoration: none;
    background: rgba(13, 22, 20, .82) !important;
    box-shadow: 0 24px 52px rgba(0, 0, 0, .2) !important;
    backdrop-filter: blur(18px);
    transition: transform .22s ease, border-color .22s ease, background-color .22s ease;
    animation: zxr-enter-up .7s both;
}

.zxr-hub-page .s33-entry-card:nth-child(2) { animation-delay: .06s; }
.zxr-hub-page .s33-entry-card:nth-child(3) { animation-delay: .12s; }
.zxr-hub-page .s33-entry-card:nth-child(4) { animation-delay: .18s; }
.zxr-hub-page .s33-entry-card--cyan { --zxr-card-accent: #4d9d99; }
.zxr-hub-page .s33-entry-card--emerald { --zxr-card-accent: #c89b4e; }
.zxr-hub-page .s33-entry-card--orange { --zxr-card-accent: #c75f31; }

.zxr-hub-page .s33-entry-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--zxr-card-accent);
    opacity: 1 !important;
}

.zxr-hub-page .s33-entry-card:hover,
.zxr-hub-page .s33-entry-card:focus-visible {
    z-index: 2;
    border-color: color-mix(in srgb, var(--zxr-card-accent) 70%, white) !important;
    background: rgba(20, 31, 28, .94) !important;
    box-shadow: 0 28px 58px rgba(0, 0, 0, .3) !important;
    transform: translateY(-7px);
    outline: none;
}

.zxr-hub-page .s33-entry-card__tag {
    position: relative;
    z-index: 2;
    color: color-mix(in srgb, var(--zxr-card-accent) 62%, white) !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
    font-weight: 800;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.zxr-hub-page .s33-entry-card__content {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 72%;
    align-self: center;
}

.zxr-hub-page .s33-entry-card__content strong {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: #fff !important;
}

.zxr-hub-page .s33-entry-card__content small {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, .58) !important;
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 12px;
    line-height: 1.65;
}

.zxr-hub-page .s33-entry-card__hero {
    position: absolute;
    right: -32px;
    bottom: 20px;
    width: 58%;
    height: 78%;
    object-fit: contain;
    object-position: right bottom;
    opacity: .76;
    filter: saturate(.82) drop-shadow(0 20px 28px rgba(0, 0, 0, .45));
    transition: opacity .22s ease, transform .22s ease, filter .22s ease;
}

.zxr-hub-page .s33-entry-card:hover .s33-entry-card__hero,
.zxr-hub-page .s33-entry-card:focus-visible .s33-entry-card__hero {
    opacity: 1;
    filter: saturate(1) drop-shadow(0 24px 32px rgba(0, 0, 0, .5));
    transform: translate(-5px, -4px) scale(1.03);
}

.zxr-hub-page .s33-entry-card__cta {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .12) !important;
    color: rgba(255, 255, 255, .84) !important;
    font-size: 12px;
    font-weight: 800;
}

.zxr-hub-page .s33-entry-card__cta span {
    font-size: 20px;
}

.zxr-hub-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    color: rgba(255, 255, 255, .38);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
}

/* Authentication */
body.s33-guest-body,
body.s33-guest-body .fi-simple-layout {
    min-height: 100svh !important;
    background: #111815 !important;
}

body.s33-guest-body .fi-simple-layout,
body.s33-guest-body .fi-simple-main,
body.s33-guest-body .fi-simple-main-ctn,
body.s33-guest-body .fi-simple-main > div[wire\:id] {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.s33-guest-body .s33-guest-shell {
    position: relative;
    display: grid !important;
    min-height: 100svh;
    align-items: center !important;
    padding: 28px !important;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(9, 15, 13, .18), rgba(9, 15, 13, .72) 66%, rgba(9, 15, 13, .94)),
        linear-gradient(180deg, rgba(9, 15, 13, .16), rgba(9, 15, 13, .72)),
        var(--zxr-login-bg);
    background-position: center, center, center 42%;
    background-size: cover;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center;
}

body.s33-guest-body .s33-guest-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .3;
    background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(255, 255, 255, .018) 4px 5px);
}

body.s33-guest-body .s33-login-layout,
body.s33-guest-body .s33-login-layout--single {
    position: relative;
    z-index: 1;
    display: grid !important;
    width: min(1180px, calc(100vw - 56px)) !important;
    min-height: min(720px, calc(100svh - 56px)) !important;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 440px) !important;
    align-items: stretch;
    gap: clamp(28px, 5vw, 80px);
    margin: 0 auto;
}

.zxr-login-scene {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-left: 1px solid rgba(255, 255, 255, .2);
}

.zxr-login-scene::before {
    content: '';
    position: absolute;
    left: 28px;
    bottom: 28px;
    width: min(58vw, 620px);
    height: 72%;
    background-image: var(--zxr-login-hero);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    filter: drop-shadow(0 34px 38px rgba(0, 0, 0, .54));
    animation: zxr-character-float 6s ease-in-out infinite;
}

.zxr-login-scene__logo {
    position: absolute;
    left: 30px;
    top: 20px;
    width: min(260px, 34vw);
    height: 170px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, .4));
}

.zxr-login-scene__copy {
    position: absolute;
    left: 32px;
    bottom: 36px;
    z-index: 2;
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border-left: 3px solid var(--zxr-red);
    color: #fff;
    background: rgba(10, 17, 15, .68);
    backdrop-filter: blur(10px);
}

.zxr-login-scene__copy span,
.zxr-login-scene__copy small {
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
}

.zxr-login-scene__copy strong {
    font-size: 24px;
}

.zxr-login-scene__seal {
    position: absolute;
    right: 5%;
    top: 19%;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 2px solid rgba(219, 73, 63, .72);
    color: rgba(235, 91, 79, .8);
    font-size: 30px;
    font-style: normal;
    transform: rotate(8deg);
}

body.s33-guest-body .s33-login-card {
    align-self: center;
    width: 100% !important;
    min-height: 0 !important;
    padding: clamp(26px, 3.5vw, 40px) !important;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    border-radius: var(--zxr-radius) !important;
    color: #f7f4eb !important;
    background: rgba(16, 24, 21, .9) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .38) !important;
    backdrop-filter: blur(24px);
    animation: zxr-enter-up .66s .08s ease both;
}

body.s33-guest-body .s33-login-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--zxr-red), var(--zxr-gold), transparent);
}

body.s33-guest-body .s33-login-card__head {
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 26px !important;
}

body.s33-guest-body .s33-login-logo-frame {
    width: 112px !important;
    height: 64px !important;
    flex: 0 0 112px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.s33-guest-body .s33-login-logo-frame img {
    width: 112px !important;
    height: 64px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .3)) !important;
}

body.s33-guest-body .s33-login-kicker {
    color: #d7ba7a !important;
    font-size: 11px !important;
}

body.s33-guest-body .s33-login-card h2 {
    margin-top: 5px !important;
    color: #fffdf6 !important;
    font-size: 28px !important;
    font-weight: 900 !important;
}

body.s33-guest-body .s33-login-card label,
body.s33-guest-body .s33-login-card .fi-fo-field-label,
body.s33-guest-body .s33-login-card .fi-fo-field-label-content {
    color: rgba(255, 255, 255, .76) !important;
}

body.s33-guest-body .s33-login-card .fi-input-wrp,
body.s33-guest-body .s33-login-card input:not([type='checkbox']):not([type='radio']):not([type='hidden']),
body.s33-guest-body .s33-login-card select,
body.s33-guest-body .s33-login-card .fi-select-input {
    min-height: 48px !important;
    border: 1px solid rgba(255, 255, 255, .17) !important;
    border-radius: 6px !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .055) !important;
    box-shadow: none !important;
}

body.s33-guest-body .s33-login-card input:not([type='checkbox']):not([type='radio']):not([type='hidden']) {
    caret-color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

body.s33-guest-body .s33-login-card input::placeholder {
    color: rgba(255, 255, 255, .42) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, .42) !important;
}

body.s33-guest-body .s33-login-card input:-webkit-autofill,
body.s33-guest-body .s33-login-card input:-webkit-autofill:hover,
body.s33-guest-body .s33-login-card input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #1c2522 inset !important;
    -webkit-text-fill-color: #fff !important;
}

body.s33-guest-body .s33-login-card input:focus,
body.s33-guest-body .s33-login-card select:focus {
    border-color: rgba(211, 176, 103, .76) !important;
    box-shadow: 0 0 0 3px rgba(203, 168, 93, .12) !important;
}

body.s33-guest-body .s33-captcha-code span {
    min-height: 48px !important;
    border-radius: 6px !important;
    border-color: rgba(203, 168, 93, .28) !important;
    color: #e6ca8e !important;
    background: rgba(203, 168, 93, .08) !important;
}

body.s33-guest-body .s33-login-card button[type='submit'],
body.s33-guest-body .s33-login-card .fi-btn-color-primary,
body.s33-guest-body .s33-login-button {
    min-height: 48px !important;
    border-radius: 6px !important;
    color: #fffaf0 !important;
    background: var(--zxr-red) !important;
    box-shadow: 0 12px 24px rgba(124, 31, 28, .26) !important;
}

body.s33-guest-body .s33-login-card button[type='submit']:hover,
body.s33-guest-body .s33-login-card .fi-btn-color-primary:hover {
    background: #c83b34 !important;
}

body.s33-guest-body .s33-login-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px !important;
    color: rgba(255, 255, 255, .38) !important;
    font-size: 11px;
}

body.s33-guest-body .s33-login-footer a {
    color: #dec58f;
    text-decoration: none;
}

/* Registration and public forms */
body.s33-register-page {
    color: #f7f4eb !important;
    background-color: #111815 !important;
    background-image:
        linear-gradient(90deg, rgba(9, 15, 13, .78), rgba(9, 15, 13, .45)),
        linear-gradient(180deg, rgba(9, 15, 13, .18), rgba(9, 15, 13, .9)),
        url('/images/zxr/zxr-hub-bg.png') !important;
    background-position: center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

body.s33-register-page::before {
    opacity: .2;
    background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(255, 255, 255, .02) 4px 5px) !important;
}

.s33-register-nav a {
    border-radius: 6px !important;
    color: #f3deb0 !important;
    background: rgba(16, 24, 21, .72) !important;
    border-color: rgba(255, 255, 255, .15) !important;
}

.s33-register-nav a.is-download {
    color: #fff !important;
    background: var(--zxr-red) !important;
    border-color: var(--zxr-red) !important;
}

.s33-register-layout {
    align-items: stretch !important;
}

.s33-register-hero,
.s33-register-card,
.s33-success-modal,
body .hero,
body .card {
    border-radius: var(--zxr-radius) !important;
}

.s33-register-hero,
.s33-register-card {
    color: #f7f4eb !important;
    border-color: rgba(255, 255, 255, .16) !important;
    background: rgba(16, 24, 21, .88) !important;
    box-shadow: var(--zxr-shadow) !important;
    backdrop-filter: blur(22px);
}

.s33-register-hero {
    background-image:
        linear-gradient(180deg, rgba(16, 24, 21, .18), rgba(16, 24, 21, .86)),
        url('/images/zxr/zxr-city-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
}

.s33-register-hero span {
    border-radius: 4px !important;
    color: #ead098 !important;
    background: rgba(124, 31, 28, .64) !important;
}

.s33-register-hero h1,
.s33-register-card__head strong {
    color: #fffdf6 !important;
}

.s33-register-hero p,
.s33-register-download {
    color: rgba(255, 255, 255, .68) !important;
}

.s33-register-form span {
    color: rgba(255, 255, 255, .72) !important;
}

.s33-register-form input,
.s33-register-form select {
    border-radius: 6px !important;
    border-color: rgba(255, 255, 255, .16) !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .055) !important;
}

.s33-register-form button,
.s33-success-actions .is-primary {
    border-radius: 6px !important;
    color: #fff !important;
    background: var(--zxr-red) !important;
}

.s33-success-modal,
.s33-success-modal::before {
    color: #f7f4eb !important;
    background: rgba(16, 24, 21, .94) !important;
}

.s33-success-modal h1,
.s33-success-account span {
    color: #fffdf6 !important;
}

.s33-success-modal p {
    color: rgba(255, 255, 255, .68) !important;
}

/* Filament operational workspace */
html.fi body.fi-panel-admin { --zxr-accent: #b52b27; --zxr-accent-soft: rgba(181, 43, 39, .1); }
html.fi body.fi-panel-support { --zxr-accent: #167b84; --zxr-accent-soft: rgba(22, 123, 132, .1); }
html.fi body.fi-panel-agent { --zxr-accent: #9a681f; --zxr-accent-soft: rgba(154, 104, 31, .11); }
html.fi body.fi-panel-player { --zxr-accent: #26745d; --zxr-accent-soft: rgba(38, 116, 93, .1); }

html.fi body:not(.s33-guest-body),
html.fi.dark body:not(.s33-guest-body) {
    color: var(--zxr-ink) !important;
    background: var(--zxr-paper) !important;
    font-family: Inter, "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif !important;
}

html.fi .fi-layout,
html.fi .fi-main-ctn,
html.fi .fi-main,
html.fi.dark .fi-layout,
html.fi.dark .fi-main-ctn,
html.fi.dark .fi-main {
    background: transparent !important;
}

html.fi .fi-sidebar,
html.fi .fi-sidebar-header,
html.fi.dark .fi-sidebar,
html.fi.dark .fi-sidebar-header {
    color: #eef3ef !important;
    background-color: #15201d !important;
    background-image:
        linear-gradient(180deg, rgba(21, 32, 29, .94), rgba(13, 22, 19, .98)),
        url('/images/zxr/zxr-city-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    border-color: rgba(255, 255, 255, .08) !important;
    box-shadow: 10px 0 34px rgba(13, 22, 19, .08) !important;
}

html.fi .fi-sidebar-header,
html.fi.dark .fi-sidebar-header {
    min-height: 78px;
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

html.fi .fi-sidebar .s33-brand-lockup__badge,
html.fi.dark .fi-sidebar .s33-brand-lockup__badge {
    width: 138px !important;
    height: 58px !important;
    flex-basis: 138px !important;
}

html.fi .fi-sidebar-nav,
html.fi.dark .fi-sidebar-nav {
    padding: 12px 10px 20px !important;
}

html.fi .fi-sidebar-group-label,
html.fi.dark .fi-sidebar-group-label {
    padding: 14px 10px 6px !important;
    color: rgba(236, 243, 239, .42) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
}

html.fi .fi-sidebar-item-button,
html.fi.dark .fi-sidebar-item-button {
    min-height: 40px !important;
    border-radius: 6px !important;
    color: rgba(239, 245, 241, .74) !important;
    background: transparent !important;
}

html.fi body:not(.s33-guest-body) .fi-sidebar .fi-sidebar-item-label,
html.fi.dark body:not(.s33-guest-body) .fi-sidebar .fi-sidebar-item-label {
    color: rgba(239, 245, 241, .76) !important;
}

html.fi body:not(.s33-guest-body) .fi-sidebar .fi-sidebar-item.fi-active .fi-sidebar-item-label,
html.fi.dark body:not(.s33-guest-body) .fi-sidebar .fi-sidebar-item.fi-active .fi-sidebar-item-label {
    color: #fff !important;
}

html.fi .fi-sidebar-item-icon,
html.fi.dark .fi-sidebar-item-icon {
    color: rgba(239, 245, 241, .48) !important;
}

html.fi .fi-sidebar-item.fi-active .fi-sidebar-item-button,
html.fi .fi-sidebar-item-button:hover,
html.fi.dark .fi-sidebar-item.fi-active .fi-sidebar-item-button,
html.fi.dark .fi-sidebar-item-button:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .08) !important;
    box-shadow: inset 3px 0 0 var(--zxr-accent) !important;
}

html.fi .fi-sidebar-item.fi-active .fi-sidebar-item-icon,
html.fi .fi-sidebar-item-button:hover .fi-sidebar-item-icon,
html.fi.dark .fi-sidebar-item.fi-active .fi-sidebar-item-icon,
html.fi.dark .fi-sidebar-item-button:hover .fi-sidebar-item-icon {
    color: color-mix(in srgb, var(--zxr-accent) 56%, white) !important;
}

html.fi .fi-topbar,
html.fi.dark .fi-topbar {
    min-height: 64px;
    color: var(--zxr-ink) !important;
    background: rgba(255, 255, 255, .88) !important;
    border-bottom: 1px solid var(--zxr-line) !important;
    box-shadow: none !important;
    backdrop-filter: blur(18px);
}

html.fi .fi-topbar .fi-icon-btn,
html.fi.dark .fi-topbar .fi-icon-btn {
    color: #46534f !important;
}

html.fi .fi-main,
html.fi.dark .fi-main {
    width: 100% !important;
    max-width: none !important;
    padding: 22px 24px 36px !important;
}

html.fi .fi-header-heading,
html.fi.dark .fi-header-heading {
    color: var(--zxr-ink) !important;
    font-size: clamp(24px, 3vw, 34px) !important;
    font-weight: 850 !important;
}

html.fi .fi-header-subheading,
html.fi.dark .fi-header-subheading {
    color: var(--zxr-muted) !important;
}

html.fi .fi-section,
html.fi .fi-ta-ctn,
html.fi .fi-wi-stats-overview-stat,
html.fi .fi-card,
html.fi .fi-modal-window,
html.fi .fi-dropdown-panel,
html.fi.dark .fi-section,
html.fi.dark .fi-ta-ctn,
html.fi.dark .fi-wi-stats-overview-stat,
html.fi.dark .fi-card,
html.fi.dark .fi-modal-window,
html.fi.dark .fi-dropdown-panel {
    border: 1px solid var(--zxr-line) !important;
    border-radius: var(--zxr-radius) !important;
    color: var(--zxr-ink) !important;
    background: var(--zxr-surface) !important;
    box-shadow: 0 8px 24px rgba(16, 23, 21, .055) !important;
}

html.fi .fi-section-header,
html.fi.dark .fi-section-header {
    border-bottom: 1px solid rgba(16, 23, 21, .08) !important;
}

html.fi .fi-section-header-heading,
html.fi .fi-wi-stats-overview-stat-label,
html.fi.dark .fi-section-header-heading,
html.fi.dark .fi-wi-stats-overview-stat-label {
    color: var(--zxr-ink) !important;
}

html.fi .fi-section-header-description,
html.fi .fi-wi-stats-overview-stat-description,
html.fi.dark .fi-section-header-description,
html.fi.dark .fi-wi-stats-overview-stat-description {
    color: var(--zxr-muted) !important;
}

html.fi .fi-input-wrp,
html.fi .fi-select-input,
html.fi .fi-textarea,
html.fi.dark .fi-input-wrp,
html.fi.dark .fi-select-input,
html.fi.dark .fi-textarea {
    border-radius: 6px !important;
    border-color: rgba(16, 23, 21, .15) !important;
    color: var(--zxr-ink) !important;
    background: #fff !important;
    box-shadow: none !important;
}

html.fi .fi-input-wrp:focus-within,
html.fi.dark .fi-input-wrp:focus-within {
    border-color: var(--zxr-accent) !important;
    box-shadow: 0 0 0 3px var(--zxr-accent-soft) !important;
}

html.fi .fi-btn,
html.fi .fi-badge,
html.fi .fi-tabs-item,
html.fi.dark .fi-btn,
html.fi.dark .fi-badge,
html.fi.dark .fi-tabs-item {
    border-radius: 6px !important;
}

html.fi .fi-btn-color-primary,
html.fi.dark .fi-btn-color-primary {
    color: #fff !important;
    background: var(--zxr-accent) !important;
    box-shadow: none !important;
}

html.fi .fi-tabs,
html.fi.dark .fi-tabs {
    border-radius: 8px !important;
    border: 1px solid var(--zxr-line) !important;
    background: rgba(255, 255, 255, .7) !important;
    box-shadow: none !important;
}

html.fi .fi-ta-header-cell,
html.fi.dark .fi-ta-header-cell {
    color: #4d5a56 !important;
    background: #f6f7f4 !important;
}

html.fi .fi-ta-row,
html.fi.dark .fi-ta-row {
    border-color: rgba(16, 23, 21, .07) !important;
}

html.fi .fi-ta-row:hover,
html.fi.dark .fi-ta-row:hover {
    background: var(--zxr-accent-soft) !important;
}

/* Custom panel hero bands */
html.fi .s33-panel-hero,
html.fi .s33-feature-hero,
html.fi .s33-player-hero,
html.fi .s33-market-hero,
html.fi .s33-return-hero,
html.fi .s33-avatar-hero,
html.fi .s33-top-whale-hero {
    border-radius: var(--zxr-radius) !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    color: #fff !important;
    background-image:
        linear-gradient(90deg, rgba(14, 24, 21, .96), rgba(14, 24, 21, .62) 62%, rgba(14, 24, 21, .28)),
        url('/images/zxr/zxr-panel-bg.png') !important;
    background-position: center !important;
    background-size: cover !important;
    box-shadow: 0 16px 44px rgba(16, 23, 21, .13) !important;
}

html.fi .s33-panel-hero__brand img,
html.fi .s33-update-log-brand img {
    width: 96px !important;
    height: 48px !important;
    object-fit: contain !important;
}

html.fi .s33-panel-hero__brand,
html.fi.dark .s33-panel-hero__brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: rgba(255, 255, 255, .78) !important;
    background: transparent !important;
}

html.fi .s33-panel-hero__content,
html.fi .s33-panel-hero__content h2,
html.fi .s33-panel-hero__content p,
html.fi .s33-panel-hero__content span,
html.fi .s33-feature-hero h2,
html.fi .s33-feature-hero p,
html.fi .s33-player-hero h2,
html.fi .s33-player-hero p,
html.fi.dark .s33-panel-hero__content,
html.fi.dark .s33-panel-hero__content h2,
html.fi.dark .s33-panel-hero__content p,
html.fi.dark .s33-panel-hero__content span,
html.fi.dark .s33-feature-hero h2,
html.fi.dark .s33-feature-hero p,
html.fi.dark .s33-player-hero h2,
html.fi.dark .s33-player-hero p {
    position: relative;
    z-index: 2;
    color: #fff !important;
}

html.fi .s33-panel-hero__content p,
html.fi .s33-feature-hero p,
html.fi .s33-player-hero p,
html.fi.dark .s33-panel-hero__content p,
html.fi.dark .s33-feature-hero p,
html.fi.dark .s33-player-hero p {
    color: rgba(255, 255, 255, .72) !important;
}

html.fi .s33-panel-card,
html.fi .s33-feature-card,
html.fi .s33-player-data-card,
html.fi .s33-player-form-card,
html.fi .s33-agent-data-card,
html.fi .s33-ban-card,
html.fi .s33-cross-card,
html.fi .s33-flow-card {
    border-radius: var(--zxr-radius) !important;
}

html.fi.dark body.s33-guest-body .s33-login-card .fi-input-wrp,
html.fi body.s33-guest-body .s33-login-card .fi-input-wrp {
    border-color: rgba(255, 255, 255, .17) !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .055) !important;
}

html.fi.dark body.s33-guest-body .s33-login-card .fi-input-wrp input,
html.fi body.s33-guest-body .s33-login-card .fi-input-wrp input {
    border: 0 !important;
    color: #fff !important;
    background: transparent !important;
}

@keyframes zxr-fog-drift {
    from { transform: translate3d(-5%, -5%, 0) scale(1.05); }
    to { transform: translate3d(8%, 4%, 0) scale(1.12); }
}

@keyframes zxr-enter-up {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zxr-enter-fade {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes zxr-character-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@media (max-width: 1120px) {
    .zxr-hub-page .s33-entry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zxr-hub-page .s33-entry-card {
        min-height: 260px;
    }

    body.s33-guest-body .s33-login-layout,
    body.s33-guest-body .s33-login-layout--single {
        min-height: min(680px, calc(100svh - 48px)) !important;
        grid-template-columns: minmax(0, 1fr) minmax(370px, 420px) !important;
        gap: 28px;
    }
}

@media (max-width: 820px) {
    body.zxr-hub-page {
        background-attachment: scroll;
        background-position: center, center, 62% top;
    }

    .zxr-hub-page .s33-hub-wrap {
        width: min(100% - 28px, 720px);
        padding-top: 14px;
    }

    .zxr-hub-page .s33-hub-nav {
        min-height: 58px;
    }

    .zxr-hub-nav-code {
        display: none;
    }

    .zxr-hub-page .s33-hub-hero {
        min-height: 470px;
        grid-template-columns: 1fr;
        padding-top: 28px;
    }

    .zxr-hub-page .s33-hub-title {
        max-width: 470px;
        font-size: clamp(48px, 14vw, 78px);
    }

    .zxr-hub-hero__art {
        position: absolute;
        inset: 10% 0 0 38%;
        z-index: 0;
        opacity: .74;
    }

    .zxr-hub-hero__art img {
        width: 100%;
        height: 100%;
    }

    .zxr-hub-hero__seal {
        display: none;
    }

    .zxr-hub-page .s33-hub-copy {
        max-width: 66%;
    }

    body.s33-guest-body .s33-guest-shell {
        align-items: start !important;
        overflow: auto;
        padding: 14px !important;
    }

    body.s33-guest-body .s33-login-layout,
    body.s33-guest-body .s33-login-layout--single {
        min-height: 0 !important;
        grid-template-columns: 1fr !important;
        gap: 0;
        width: min(100%, calc(100vw - 28px)) !important;
    }

    .zxr-login-scene {
        min-height: 210px;
        border-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
    }

    .zxr-login-scene::before {
        left: auto;
        right: 2%;
        bottom: -12px;
        width: 46%;
        height: 112%;
        background-position: right bottom;
    }

    .zxr-login-scene__logo {
        left: 4px;
        top: 0;
        width: 190px;
        height: 118px;
    }

    .zxr-login-scene__copy {
        left: 4px;
        bottom: 18px;
    }

    .zxr-login-scene__seal {
        display: none;
    }

    body.s33-guest-body .s33-login-card {
        padding: 24px !important;
    }

    html.fi .fi-main,
    html.fi.dark .fi-main {
        padding: 18px 14px 28px !important;
    }
}

@media (max-width: 560px) {
    .s33-brand-lockup__badge,
    .s33-brand-lockup--compact .s33-brand-lockup__badge {
        width: 126px !important;
        height: 50px !important;
        flex-basis: 126px !important;
    }

    .zxr-hub-page .s33-status-pill {
        padding: 6px 8px;
        font-size: 10px;
    }

    .zxr-hub-page .s33-hub-hero {
        min-height: 430px;
    }

    .zxr-hub-page .s33-hub-title {
        font-size: clamp(44px, 16vw, 64px);
    }

    .zxr-hub-page .s33-hub-copy {
        max-width: 72%;
        font-size: 13px;
    }

    .zxr-hub-page .s33-entry-grid {
        grid-template-columns: 1fr;
    }

    .zxr-hub-page .s33-entry-card {
        min-height: 230px;
    }

    .zxr-hub-page .s33-entry-card__hero {
        right: 0;
    }

    .zxr-hub-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .zxr-login-scene {
        min-height: 184px;
    }

    body.s33-guest-body .s33-login-logo-frame,
    body.s33-guest-body .s33-login-logo-frame img {
        width: 92px !important;
        height: 52px !important;
        flex-basis: 92px !important;
    }

    body.s33-guest-body .s33-login-card h2 {
        font-size: 24px !important;
    }

    .s33-register-layout,
    .s33-register-form {
        grid-template-columns: 1fr !important;
    }

    .s33-register-form label,
    .s33-register-form button {
        grid-column: 1 !important;
    }
}

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