:root {
    --site-bg: #0e1117;
    --site-card: #141a21;
    --site-card-glass: #19212a;
    --site-text: #eef3f4;
    --site-muted: #a4b0b7;
    --site-dim: #75848c;
    --site-primary: #F39B27;
    --site-primary-hover: #FFC252;
    --site-primary-dark: #B96A10;
    --site-neon-green: #F39B27;
    --site-accent-gold: #F39B27;
    --site-tactical-cyan: #FFC252;
    --site-red: #de5752;
    --site-red-bright: #f0756e;
    --site-line: rgba(173, 208, 216, .12);
    --site-line-neon: rgba(255, 194, 82, .26);
}

html,
body {
    background-color: var(--site-bg);
}

body {
    background-image:
        radial-gradient(ellipse at 50% -18%, rgba(181, 144, 78, .12), transparent 54%),
        linear-gradient(135deg, rgba(255, 255, 255, .018) 25%, transparent 25%),
        linear-gradient(315deg, rgba(255, 255, 255, .012) 25%, transparent 25%);
    background-size: auto, 8px 8px, 8px 8px;
    color: var(--site-text);
}

::selection {
    background: rgba(243, 155, 39, .32);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--site-primary);
    outline-offset: 3px;
}

.site-announcement {
    background: #0c0d0e;
    border-bottom-color: rgba(243, 155, 39, .18);
}

.site-announcement-label,
.site-announcement-status {
    color: #d8b878;
}

.site-announcement-status {
    background: rgba(243, 155, 39, .08);
    border-color: rgba(243, 155, 39, .24);
}

header.site-header-legacy,
header.site-header-legacy.is-scrolled {
    background: rgba(15, 16, 17, .96);
    border-bottom-color: rgba(243, 155, 39, .2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}

.logo-container .logo-icon {
    width: 38px;
    height: 38px;
    border: 1px solid #F39B27;
    border-radius: 6px;
    background: #F39B27;
    color: #171512;
    box-shadow: none;
}

.logo-container:hover .logo-icon {
    border-color: #FFC252;
    background: #FFC252;
    color: #171512;
    box-shadow: 0 0 18px rgba(243, 155, 39, .24);
}

.logo-container .logo-text,
.footer-content .footer-brand .brand-text {
    background: linear-gradient(110deg, #f1dfb6, #c59b55 78%);
    filter: none;
}

.primary-nav-links a,
.nav-dropdown-btn {
    border-radius: 5px;
    letter-spacing: .15px;
}

.primary-nav-links a:hover,
.nav-dropdown-btn:hover,
.nav-dropdown.open .nav-dropdown-btn,
.nav-dropdown-btn.active {
    background: rgba(243, 155, 39, .08);
}

.primary-nav-links a.active {
    background: rgba(243, 155, 39, .11);
    box-shadow: inset 0 -2px #F39B27;
}

.primary-nav-links a.active::after {
    display: none;
}

.nav-action-download,
.nav-action-register,
.btn-primary,
.cf-page-home .btn-primary {
    border-color: #F39B27;
    border-radius: 5px;
    background: linear-gradient(120deg, #F39B27, #B96A10);
    color: #171512 !important;
    box-shadow: 0 7px 20px rgba(0, 0, 0, .25);
}

.nav-action-download:hover,
.nav-action-register:hover,
.btn-primary:hover,
.cf-page-home .btn-primary:hover {
    border-color: #FFC252;
    background: linear-gradient(120deg, #FFC252, #D8831E);
    color: #171512 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}

.nav-action-download,
.nav-action-register,
.btn-primary,
.cf-lightbox-btn-primary,
.cf-page-download .dl-button:not(.dl-button-secondary):not(.is-disabled),
.cf-admin-button,
.attendance-claim-button,
.cf-giftcode-submit,
.cf-btn-hero-primary,
.cf-profile-primary-button,
.auth-submit,
.cf-account-submit,
.cf-character-required-primary,
.cf-live-chat-compose button {
    position: relative;
    overflow: hidden;
    min-height: 44px;
    border: 1px solid #e6c982;
    border-radius: 3px;
    background: linear-gradient(112deg, #ead08f 0%, #d2ad68 52%, #b78b49 100%);
    color: #19150f;
    font-weight: 900;
    letter-spacing: .055em;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .26);
    transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.nav-action-download,
.nav-action-register,
.cf-live-chat-compose button {
    min-height: 39px;
}

.cf-lightbox-btn-primary,
.cf-page-download .dl-button:not(.dl-button-secondary):not(.is-disabled),
.cf-admin-button,
.attendance-claim-button,
.cf-giftcode-submit,
.cf-btn-hero-primary,
.cf-profile-primary-button,
.auth-submit,
.cf-account-submit,
.cf-character-required-primary {
    box-shadow: 0 5px 16px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .26);
}

.nav-action-download::before,
.nav-action-register::before,
.btn-primary::before,
.cf-lightbox-btn-primary::before,
.cf-page-download .dl-button:not(.dl-button-secondary):not(.is-disabled)::before,
.cf-admin-button::before,
.attendance-claim-button::before,
.cf-giftcode-submit::before,
.cf-btn-hero-primary::before,
.cf-profile-primary-button::before,
.auth-submit::before,
.cf-account-submit::before,
.cf-character-required-primary::before,
.cf-live-chat-compose button::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, .28) 46%, transparent 68%);
    content: "";
    pointer-events: none;
    transform: translateX(-130%);
    transition: transform .48s cubic-bezier(.2, .65, .25, 1);
}

.nav-action-download:hover:not(:disabled)::before,
.nav-action-register:hover:not(:disabled)::before,
.btn-primary:hover:not(:disabled)::before,
.cf-lightbox-btn-primary:hover:not(:disabled)::before,
.cf-page-download .dl-button:not(.dl-button-secondary):not(.is-disabled):hover::before,
.cf-admin-button:hover:not(:disabled)::before,
.attendance-claim-button:hover:not(:disabled)::before,
.cf-giftcode-submit:hover:not(:disabled)::before,
.cf-btn-hero-primary:hover:not(:disabled)::before,
.cf-profile-primary-button:hover:not(:disabled)::before,
.auth-submit:hover:not(:disabled)::before,
.cf-account-submit:hover:not(:disabled)::before,
.cf-character-required-primary:hover:not(:disabled)::before,
.cf-live-chat-compose button:hover:not(:disabled)::before {
    transform: translateX(130%);
}

.nav-action-download:hover:not(:disabled),
.nav-action-register:hover:not(:disabled),
.btn-primary:hover:not(:disabled),
.cf-lightbox-btn-primary:hover:not(:disabled),
.cf-page-download .dl-button:not(.dl-button-secondary):not(.is-disabled):hover,
.cf-admin-button:hover:not(:disabled),
.attendance-claim-button:hover:not(:disabled),
.cf-giftcode-submit:hover:not(:disabled),
.cf-btn-hero-primary:hover:not(:disabled),
.cf-profile-primary-button:hover:not(:disabled),
.auth-submit:hover:not(:disabled),
.cf-account-submit:hover:not(:disabled),
.cf-character-required-primary:hover:not(:disabled),
.cf-live-chat-compose button:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: #f2dda8;
    background: linear-gradient(112deg, #f3dfa9 0%, #e0bd79 52%, #c49a58 100%);
    color: #17130e;
    box-shadow: 0 9px 22px rgba(0, 0, 0, .34), 0 0 18px rgba(243, 155, 39, .16), inset 0 1px rgba(255, 255, 255, .32);
}

.nav-action-download:active:not(:disabled),
.nav-action-register:active:not(:disabled),
.btn-primary:active:not(:disabled),
.cf-lightbox-btn-primary:active:not(:disabled),
.cf-page-download .dl-button:not(.dl-button-secondary):not(.is-disabled):active,
.cf-admin-button:active:not(:disabled),
.attendance-claim-button:active:not(:disabled),
.cf-giftcode-submit:active:not(:disabled),
.cf-btn-hero-primary:active:not(:disabled),
.cf-profile-primary-button:active:not(:disabled),
.auth-submit:active:not(:disabled),
.cf-account-submit:active:not(:disabled),
.cf-character-required-primary:active:not(:disabled),
.cf-live-chat-compose button:active:not(:disabled) {
    transform: translateY(1px);
    box-shadow: 0 2px 7px rgba(0, 0, 0, .28), inset 0 2px 4px rgba(0, 0, 0, .12);
}

.btn-outline,
.btn-secondary,
.nav-action-login,
.cf-lightbox-btn-secondary,
.cf-page-download .dl-button-secondary,
.cf-admin-secondary-button,
.cf-btn-hero-secondary,
.cf-profile-secondary-button,
.cf-character-required-secondary,
.cf-giftcode-history-header button,
.cf-frame-filter-btn {
    position: relative;
    min-height: 42px;
    overflow: hidden;
    border: 1px solid rgba(230, 219, 194, .2);
    border-radius: 3px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
    color: #ded8c9;
    font-weight: 800;
    letter-spacing: .035em;
    text-decoration: none;
    transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.btn-outline:hover:not(:disabled),
.btn-secondary:hover:not(:disabled),
.nav-action-login:hover:not(:disabled),
.cf-lightbox-btn-secondary:hover:not(:disabled),
.cf-page-download .dl-button-secondary:hover:not(:disabled),
.cf-admin-secondary-button:hover:not(:disabled),
.cf-btn-hero-secondary:hover:not(:disabled),
.cf-profile-secondary-button:hover:not(:disabled),
.cf-character-required-secondary:hover:not(:disabled),
.cf-giftcode-history-header button:hover:not(:disabled),
.cf-frame-filter-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(243, 155, 39, .62);
    background: linear-gradient(180deg, rgba(243, 155, 39, .15), rgba(243, 155, 39, .055));
    color: #f2d89e;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .06);
}

.btn-outline:active:not(:disabled),
.btn-secondary:active:not(:disabled),
.nav-action-login:active:not(:disabled),
.cf-lightbox-btn-secondary:active:not(:disabled),
.cf-page-download .dl-button-secondary:active:not(:disabled),
.cf-admin-secondary-button:active:not(:disabled),
.cf-btn-hero-secondary:active:not(:disabled),
.cf-profile-secondary-button:active:not(:disabled),
.cf-character-required-secondary:active:not(:disabled),
.cf-giftcode-history-header button:active:not(:disabled),
.cf-frame-filter-btn:active:not(:disabled) {
    transform: translateY(1px);
}

.cf-account-tabs button {
    border-radius: 3px;
    transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.cf-account-tabs button:hover:not(.active):not(:disabled) {
    border-color: rgba(243, 155, 39, .36);
    background: rgba(243, 155, 39, .07);
    color: #e8d5ac;
}

.cf-account-tabs button.active {
    box-shadow: inset 0 -2px #F39B27;
}

.cf-admin-icon-button {
    border-radius: 3px;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.cf-admin-icon-button:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(243, 155, 39, .52);
    background: rgba(243, 155, 39, .14);
    color: #e8d5ac;
}

button:disabled,
button[aria-disabled="true"],
a.is-disabled,
.is-disabled {
    cursor: not-allowed;
}

.nav-action-download:disabled,
.nav-action-register:disabled,
.btn-primary:disabled,
.cf-lightbox-btn-primary:disabled,
.cf-page-download .dl-button.is-disabled,
.cf-admin-button:disabled,
.attendance-claim-button:disabled,
.cf-giftcode-submit:disabled,
.cf-btn-hero-primary:disabled,
.cf-profile-primary-button:disabled,
.auth-submit:disabled,
.cf-account-submit:disabled,
.cf-character-required-primary:disabled,
.cf-live-chat-compose button:disabled {
    transform: none;
    border-color: rgba(255, 255, 255, .1);
    background: #393833;
    color: #959187;
    box-shadow: none;
    opacity: .62;
}

.nav-action-login,
.nav-action-download,
.nav-action-register,
.cf-lightbox-btn,
.cf-page-download .dl-button,
.cf-admin-button,
.cf-admin-secondary-button,
.attendance-claim-button,
.cf-giftcode-submit,
.cf-btn-hero-primary,
.cf-btn-hero-secondary,
.cf-profile-primary-button,
.cf-profile-secondary-button,
.auth-submit,
.cf-account-submit,
.cf-character-required-primary,
.cf-character-required-secondary {
    isolation: isolate;
}

.nav-action-login > *,
.nav-action-download > *,
.nav-action-register > *,
.cf-lightbox-btn > *,
.cf-page-download .dl-button > *,
.cf-admin-button > *,
.cf-admin-secondary-button > *,
.attendance-claim-button > *,
.cf-giftcode-submit > *,
.cf-btn-hero-primary > *,
.cf-btn-hero-secondary > *,
.cf-profile-primary-button > *,
.cf-profile-secondary-button > *,
.auth-submit > *,
.cf-account-submit > *,
.cf-character-required-primary > *,
.cf-character-required-secondary > * {
    position: relative;
    z-index: 1;
}

.nav-action-login,
.nav-action,
.mobile-toggle {
    border-radius: 5px;
}

.nav-action-login {
    border-color: rgba(243, 155, 39, .24);
    background: rgba(243, 155, 39, .06);
}

.nav-action-login:hover {
    border-color: rgba(243, 155, 39, .5);
    background: rgba(243, 155, 39, .12);
    color: #e7c982;
    box-shadow: none;
}

.nav-dropdown-menu,
.user-dropdown-menu {
    border-color: rgba(243, 155, 39, .24);
    border-radius: 8px;
    background: rgba(22, 23, 24, .98);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .52);
}

.nav-user-pill,
.nav-gem-balance {
    border-radius: 6px;
}

.mobile-toggle:hover {
    border-color: rgba(243, 155, 39, .5);
}

.mobile-nav-backdrop {
    background: rgba(0, 0, 0, .78);
}

@media (max-width: 1080px) {
    .primary-nav {
        background: rgba(17, 18, 19, .99);
        border-bottom-color: rgba(243, 155, 39, .22);
    }
}

.cf-portal-bar {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid rgba(233, 217, 180, .1);
    background: #141516;
}

.cf-portal-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1480px, calc(100% - 48px));
    min-height: 51px;
    margin: 0 auto;
}

.cf-portal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    color: #77766f;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cf-portal-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #bdb8ab;
    text-decoration: none;
}

.cf-portal-breadcrumb a i {
    color: #F39B27;
}

.cf-portal-breadcrumb > i {
    color: #55544f;
    font-size: 8px;
}

.cf-portal-breadcrumb > span {
    color: #e0c58f;
}

.cf-portal-nav {
    display: flex;
    align-items: stretch;
    gap: 4px;
    align-self: stretch;
    overflow-x: auto;
    scrollbar-width: none;
}

.cf-portal-nav::-webkit-scrollbar {
    display: none;
}

.cf-portal-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: max-content;
    padding: 0 15px;
    color: #85837b;
    text-decoration: none;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    transition: color .18s ease, background .18s ease;
}

.cf-portal-nav a i {
    color: #77756e;
    font-size: 11px;
}

.cf-portal-nav a:hover,
.cf-portal-nav a:hover i,
.cf-portal-nav a.active,
.cf-portal-nav a.active i {
    color: #e3c27f;
}

.cf-portal-nav a.active {
    background: linear-gradient(180deg, rgba(243, 155, 39, .08), transparent);
}

.cf-portal-nav a.active::after {
    position: absolute;
    right: 12px;
    bottom: 0;
    left: 12px;
    height: 2px;
    background: #F39B27;
    content: "";
}

/* Home uses its own chartreuse/cyan tactical palette while other routes keep the shared theme. */
.cf-page-home {
    --site-primary: #F39B27;
    --site-primary-hover: #FFC252;
    --site-neon-green: #F39B27;
    --site-tactical-cyan: #FFC252;
    background-color: #0e1117;
    background-image:
        radial-gradient(ellipse at 70% 22%, rgba(37, 76, 91, .16), transparent 42%),
        linear-gradient(135deg, rgba(255, 255, 255, .014) 25%, transparent 25%),
        linear-gradient(315deg, rgba(255, 255, 255, .01) 25%, transparent 25%);
    background-size: auto, 8px 8px, 8px 8px;
}

.cf-page-home .site-announcement {
    border-bottom-color: rgba(243, 155, 39, .18);
}

.cf-page-home .site-announcement-label,
.cf-page-home .site-announcement-status {
    color: #F39B27;
}

.cf-page-home .site-announcement-status {
    border-color: rgba(243, 155, 39, .24);
    background: rgba(243, 155, 39, .055);
}

.cf-page-home header.site-header-legacy,
.cf-page-home header.site-header-legacy.is-scrolled {
    border-bottom-color: rgba(255, 194, 82, .15);
    background: rgba(14, 17, 23, .96);
}

.cf-page-home .logo-container .logo-icon {
    border-color: #F39B27;
    background: #F39B27;
    color: #10140b;
}

.cf-page-home .logo-container:hover .logo-icon {
    border-color: #FFC252;
    background: #FFC252;
    color: #10140b;
}

.cf-page-home .primary-nav-links a:hover,
.cf-page-home .nav-dropdown-btn:hover,
.cf-page-home .primary-nav-links a.active {
    background: rgba(243, 155, 39, .07);
}

.cf-page-home .primary-nav-links a.active {
    box-shadow: inset 0 -2px #F39B27;
}

.cf-page-home .nav-action-download,
.cf-page-home .nav-action-register,
.cf-page-home .btn-primary {
    border-color: #F39B27;
    background: #F39B27;
    color: #10140b !important;
}

.cf-page-home .nav-action-download:hover,
.cf-page-home .nav-action-register:hover,
.cf-page-home .btn-primary:hover {
    border-color: #FFC252;
    background: #FFC252;
    color: #10140b !important;
}

.cf-home-portal {
    position: relative;
    isolation: isolate;
    padding-bottom: 64px;
}

.cf-page-home .hero {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    min-height: clamp(620px, calc(100svh - 106px), 790px);
    margin: 0;
    padding: 72px max(6vw, calc((100% - 1440px) / 2));
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid rgba(255, 194, 82, .16);
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(9, 13, 18, .98) 0%, rgba(9, 13, 18, .9) 26%, rgba(9, 13, 18, .38) 57%, rgba(9, 13, 18, .48) 100%),
        linear-gradient(0deg, #0e1117 0%, transparent 27%, rgba(8, 11, 16, .08) 80%, rgba(8, 11, 16, .44) 100%),
        url("../img/img1920.png") center 39% / cover;
    box-shadow: inset 0 -30px 60px rgba(0, 0, 0, .18);
    text-align: left;
    isolation: isolate;
}

.cf-page-home .hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(rgba(255, 194, 82, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 194, 82, .035) 1px, transparent 1px),
        radial-gradient(circle at 54% 46%, transparent 0 170px, rgba(255, 194, 82, .1) 171px 172px, transparent 173px),
        linear-gradient(115deg, transparent 0 49.9%, rgba(255, 194, 82, .14) 50%, transparent 50.1%);
    background-size: 44px 44px, 44px 44px, auto, auto;
    content: "";
    pointer-events: none;
    mask-image: linear-gradient(90deg, transparent, #000 37%, #000 100%);
}

.cf-page-home .hero::after {
    content: none;
}

.cf-home-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 372px);
    align-items: center;
    gap: clamp(30px, 5vw, 76px);
    width: min(100%, 1440px);
    margin: 0 auto;
}

.cf-home-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 740px;
}

.cf-home-hero-copy::before,
.cf-home-hero-copy::after {
    position: absolute;
    width: 28px;
    height: 28px;
    border-color: #F39B27;
    content: "";
    pointer-events: none;
}

.cf-home-hero-copy::before {
    top: -25px;
    left: -28px;
    border-top: 1px solid;
    border-left: 1px solid;
}

.cf-home-hero-copy::after {
    right: -25px;
    bottom: -22px;
    border-right: 1px solid rgba(255, 194, 82, .65);
    border-bottom: 1px solid rgba(255, 194, 82, .65);
}

.cf-home-hero-copy > * {
    position: relative;
    z-index: 1;
}

.cf-page-home .hero .badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(243, 155, 39, .3);
    border-radius: 0;
    background: rgba(13, 19, 24, .72);
    color: #F39B27;
    box-shadow: none;
    letter-spacing: .18em;
    font-size: 9px;
}

.cf-home-live-dot,
.cf-home-ops-online i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #F39B27;
    box-shadow: 0 0 12px rgba(243, 155, 39, .75);
}

.cf-page-home .hero h1 {
    max-width: 800px;
    margin: 18px 0 20px;
    font-size: clamp(52px, 7.5vw, 104px);
    line-height: .91;
    letter-spacing: -.055em;
    text-transform: uppercase;
    text-shadow: 0 4px 34px rgba(0, 0, 0, .72);
}

.cf-page-home .hero h1 .highlight {
    background: linear-gradient(100deg, #F39B27 0%, #F39B27 45%, #FFC252 100%);
    background-clip: text;
    filter: none;
    -webkit-text-fill-color: transparent;
}

.cf-page-home .hero p {
    max-width: 540px;
    margin: 0 0 30px;
    color: #b6c0c6;
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 400;
    line-height: 1.85;
}

.cf-page-home .hero .action-buttons {
    justify-content: flex-start;
    gap: 9px;
}

.cf-page-home .hero .action-buttons .btn {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    font-size: 10px;
    letter-spacing: .07em;
}

.cf-page-home .hero .btn-outline {
    border-color: rgba(255, 194, 82, .45);
    background: rgba(10, 17, 23, .82);
    color: #dff9ff;
}

.cf-page-home .hero .btn-secondary {
    border-color: rgba(243, 155, 39, .24);
    border-radius: 0;
    background: rgba(10, 17, 23, .72);
}

.cf-page-home .hero .btn-outline:hover,
.cf-page-home .hero .btn-secondary:hover {
    border-color: #FFC252;
    background: rgba(255, 194, 82, .11);
    color: #fff;
    box-shadow: 0 0 18px rgba(255, 194, 82, .12);
}

.cf-page-home .hero .stats {
    justify-content: flex-start;
    gap: 0;
    margin-top: 34px;
}

.cf-page-home .hero .stat-item {
    min-width: 125px;
    padding: 2px 20px;
    border-left: 1px solid rgba(255, 194, 82, .25);
    text-align: left;
}

.cf-page-home .hero .stat-item:first-child {
    padding-left: 0;
    border-left: 0;
}

.cf-page-home .hero .stats .stat-item .stat-number {
    font-size: 26px;
}

.cf-page-home .hero .stats .stat-item .stat-label {
    color: #8d9aa2;
    font-size: 9px;
    letter-spacing: .14em;
}

.cf-home-ops-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 13px;
    border: 1px solid rgba(255, 194, 82, .34);
    background:
        linear-gradient(145deg, rgba(19, 28, 35, .97), rgba(11, 16, 22, .95)),
        #10171d;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .56), inset 0 0 28px rgba(255, 194, 82, .035);
    clip-path: polygon(0 0, calc(100% - 19px) 0, 100% 19px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.cf-home-ops-card-top,
.cf-home-ops-card-bottom,
.cf-home-ops-card-title,
.cf-home-mode-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cf-home-ops-card-top {
    min-height: 25px;
    color: #a9bac2;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .16em;
}

.cf-home-ops-card-top > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cf-home-ops-card-top > span:first-child i {
    color: #FFC252;
}

.cf-home-ops-online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #F39B27;
    font-size: 7px;
}

.cf-home-ops-online i {
    width: 5px;
    height: 5px;
}

.cf-home-ops-art {
    position: relative;
    height: 150px;
    margin: 9px 0 13px;
    overflow: hidden;
    background: #10171d;
}

.cf-home-ops-art::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 13, 18, .9), transparent 72%), linear-gradient(90deg, rgba(8, 13, 18, .08), transparent 55%, rgba(8, 13, 18, .22));
    content: "";
}

.cf-home-ops-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    filter: saturate(.72) contrast(1.08);
}

.cf-home-ops-art-label {
    position: absolute;
    z-index: 1;
    bottom: 11px;
    left: 12px;
    color: #F39B27;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .16em;
}

.cf-home-ops-card-title {
    padding: 2px 1px 9px;
    border-bottom: 1px solid rgba(255, 194, 82, .17);
    color: #e4edf0;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
}

.cf-home-ops-card-title > span > span {
    margin-left: 7px;
    color: #71838b;
    font-size: 7px;
    font-weight: 700;
}

.cf-home-ops-card-title > i {
    color: #FFC252;
    font-size: 12px;
}

.cf-home-mode-link {
    justify-content: flex-start;
    gap: 11px;
    min-height: 59px;
    padding: 8px 3px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    color: #f0f4f4;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, padding .18s ease;
}

.cf-home-mode-link:hover {
    padding-right: 7px;
    padding-left: 8px;
    background: rgba(255, 194, 82, .055);
    color: #F39B27;
}

.cf-home-mode-mark {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(243, 155, 39, .37);
    color: #F39B27;
    font-size: 9px;
    font-weight: 900;
}

.cf-home-mode-link > span:nth-child(2) {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.cf-home-mode-link strong {
    font-size: 10px;
    letter-spacing: .1em;
}

.cf-home-mode-link small {
    color: #8d9aa2;
    font-size: 8px;
}

.cf-home-mode-link > i {
    color: #FFC252;
    font-size: 10px;
}

.cf-home-ops-card-bottom {
    padding-top: 10px;
    color: #71838b;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .13em;
}

.cf-home-hero-coordinate {
    position: absolute;
    z-index: 1;
    color: rgba(161, 197, 205, .75);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .16em;
    pointer-events: none;
}

.cf-home-hero-coordinate-top {
    top: 24px;
    right: 5vw;
}

.cf-home-hero-coordinate-bottom {
    bottom: 22px;
    left: 5vw;
}

.cf-home-hero-crosshair {
    position: absolute;
    top: 22%;
    right: 26%;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 194, 82, .48);
    border-radius: 50%;
    pointer-events: none;
}

.cf-home-hero-crosshair::before,
.cf-home-hero-crosshair::after {
    position: absolute;
    top: 50%;
    left: 50%;
    background: rgba(255, 194, 82, .56);
    content: "";
    transform: translate(-50%, -50%);
}

.cf-home-hero-crosshair::before {
    width: 46px;
    height: 1px;
}

.cf-home-hero-crosshair::after {
    width: 1px;
    height: 46px;
}

.cf-page-home .home-feature-video {
    width: min(1120px, calc(100% - 36px));
    margin-top: 34px;
}

.cf-page-home .home-feature-video-frame,
.cf-page-home .news-card {
    border-radius: 6px;
}

.cf-page-home .news-section-wrapper {
    max-width: 1440px;
    padding-top: 58px;
}

.cf-page-home .section-header {
    align-items: flex-end;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 194, 82, .16);
}

.cf-home-section-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: #FFC252;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .18em;
}

.cf-page-home .section-header h2 {
    letter-spacing: .04em;
}

.cf-page-home .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.cf-page-home .news-card {
    background: #121920;
    border-color: rgba(255, 194, 82, .13);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.cf-page-home .news-card:hover {
    border-color: rgba(243, 155, 39, .42);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .36);
}

.cf-page-home .news-card .news-image .news-tag {
    border-radius: 0;
    background: #F39B27;
    color: #10140b;
}

.cf-page-home .hero .stats .stat-number .accent,
.cf-page-home .section-header h2 .accent,
.cf-page-home .news-card .news-category,
.cf-page-home .news-card .read-more {
    color: #F39B27;
}

.cf-page-home .news-card .news-category {
    border-color: rgba(243, 155, 39, .2);
    background: rgba(243, 155, 39, .07);
}

.cf-page-home .news-card .read-more:hover,
.cf-page-home .section-header .view-all:hover {
    color: #FFC252;
}

.cf-page-home .home-feature-video-frame {
    border-color: rgba(255, 194, 82, .24);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4), 0 0 35px rgba(255, 194, 82, .045);
}

.cf-page-home .home-feature-video {
    margin-top: 34px;
}

.cf-page-home .home-feature-video-frame {
    border-color: rgba(235, 226, 205, .15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .34);
}

.cf-global-footer {
    position: relative;
    z-index: 10;
    padding: 42px max(24px, calc((100% - 1280px) / 2)) 18px;
    border-top: 1px solid rgba(243, 155, 39, .18);
    background:
        linear-gradient(110deg, rgba(243, 155, 39, .04), transparent 40%),
        #0c0d0e;
}

.cf-global-footer-main {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(130px, .7fr));
    gap: clamp(22px, 4vw, 58px);
    max-width: 1280px;
    margin: 0 auto;
}

.cf-global-footer-brand p {
    max-width: 310px;
    margin: 15px 0;
    color: #85837c;
    font-size: 10px;
    line-height: 1.85;
}

.cf-global-footer-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #eee8d8;
    text-decoration: none;
}

.cf-global-footer-wordmark > span {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border: 1px solid rgba(243, 155, 39, .5);
    background: rgba(243, 155, 39, .12);
    color: #F39B27;
}

.cf-global-footer-wordmark strong {
    font-size: 17px;
    font-weight: 950;
    letter-spacing: .16em;
}

.cf-global-footer-discord {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d4b578;
    text-decoration: none;
    font-size: 9px;
    font-weight: 800;
}

.cf-global-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.cf-global-footer-column h2 {
    margin: 4px 0 3px;
    color: #e2dfd5;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cf-global-footer-column a {
    color: #828078;
    text-decoration: none;
    font-size: 9px;
    transition: color .15s ease;
}

body.cf-page-game-info .bg-overlay,
body.cf-page-rules .bg-overlay,
body.cf-page-support .bg-overlay {
    background:
        radial-gradient(ellipse at 68% 24%, rgba(255, 194, 82, .09), transparent 49%),
        linear-gradient(180deg, rgba(14, 17, 23, .06), #0e1117 94%);
}

.cf-page-home .cf-global-footer {
    border-top-color: rgba(255, 194, 82, .18);
    background:
        linear-gradient(110deg, rgba(255, 194, 82, .045), transparent 45%),
        #0b1015;
}

.cf-global-footer-column a:hover,
.cf-global-footer-bottom a:hover {
    color: #e3c27f;
}

.cf-global-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1280px;
    margin: 34px auto 0;
    padding-top: 15px;
    border-top: 1px solid rgba(235, 226, 205, .09);
    color: #66655f;
    font-size: 8px;
    letter-spacing: .04em;
}

.cf-global-footer-bottom a {
    color: #969188;
    text-decoration: none;
}

.cf-global-footer-legal {
    display: block;
    margin-top: 5px;
    color: #585751;
}

footer {
    background: #0c0d0e;
    border-top-color: rgba(243, 155, 39, .2);
}

.footer-content .footer-brand .social-links a {
    border-radius: 4px;
}

/* Give the older information, rules and support layouts the same page frame. */
.cf-page-game-info .container,
.cf-page-rules .container,
.cf-page-support .container {
    width: min(1120px, calc(100% - 36px));
    max-width: 1120px;
    margin: 34px auto 76px;
}

.cf-page-game-info .glass-card,
.cf-page-rules .glass-card,
.cf-page-support .glass-card {
    border: 1px solid rgba(235, 226, 205, .1);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(27, 28, 29, .96), rgba(19, 20, 21, .98));
    box-shadow: 0 18px 46px rgba(0, 0, 0, .24);
    backdrop-filter: none;
}

.cf-page-game-info .header-card,
.cf-page-game-info .header-card .logo-icon,
.cf-page-support .header-section .logo-icon,
.cf-page-rules .header-section .logo-icon {
    border-radius: 5px;
}

.cf-page-game-info .section-icon,
.cf-page-support .section-icon,
.cf-page-rules .section-icon {
    border-radius: 5px;
}

.cf-page-game-info .bg-overlay,
.cf-page-rules .bg-overlay,
.cf-page-support .bg-overlay {
    background:
        radial-gradient(ellipse at 50% 0, rgba(179, 145, 83, .1), transparent 54%),
        linear-gradient(180deg, rgba(16, 17, 19, .2), #101113 92%);
}

.cf-page-home .bg-overlay {
    background:
        radial-gradient(ellipse at 68% 24%, rgba(255, 194, 82, .09), transparent 49%),
        linear-gradient(180deg, rgba(14, 17, 23, .06), #0e1117 94%);
}

::-webkit-scrollbar-thumb {
    background: rgba(243, 155, 39, .38);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(243, 155, 39, .64);
}

@media (max-width: 920px) {
    .cf-portal-bar-inner {
        width: calc(100% - 28px);
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .cf-portal-breadcrumb {
        padding: 10px 0 8px;
    }

    .cf-portal-nav {
        min-height: 42px;
        margin: 0 -14px;
        padding: 0 14px;
    }

    .cf-portal-nav a {
        padding: 0 12px;
    }

    .cf-page-home .hero {
        min-height: 0;
        padding: 62px 28px 54px;
        background-position: 53% center;
    }

    .cf-home-hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(265px, 320px);
        gap: 25px;
    }

    .cf-page-home .hero h1 {
        font-size: clamp(48px, 8vw, 72px);
    }

    .cf-page-home .hero .stats {
        gap: 0;
    }

    .cf-page-home .hero .stat-item {
        min-width: 116px;
        padding-inline: 16px;
    }

    .cf-page-home .news-grid {
        grid-template-columns: 1fr;
    }

    .cf-global-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .cf-portal-breadcrumb {
        font-size: 8px;
    }

    .cf-portal-nav a {
        gap: 6px;
        padding: 0 10px;
        font-size: 8px;
    }

    .cf-portal-nav a i {
        font-size: 10px;
    }

    .cf-page-home .hero {
        min-height: 0;
        padding: 66px 22px 54px;
        background:
            linear-gradient(90deg, rgba(9, 13, 18, .92), rgba(9, 13, 18, .72)),
            linear-gradient(0deg, #0e1117 0%, transparent 65%),
            url("../img/img1920.png") 51% center / cover;
    }

    .cf-home-hero-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .cf-page-home .hero h1 {
        font-size: clamp(46px, 14vw, 66px);
    }

    .cf-home-hero-copy::before {
        top: -25px;
        left: -12px;
    }

    .cf-home-hero-copy::after {
        right: -12px;
        bottom: -16px;
    }

    .cf-home-ops-card {
        width: min(100%, 400px);
        margin: 0 auto;
    }

    .cf-home-hero-coordinate-top {
        top: 24px;
        right: 22px;
    }

    .cf-home-hero-coordinate-bottom {
        bottom: 20px;
        left: 22px;
    }

    .cf-home-hero-crosshair {
        top: 21%;
        right: 13%;
    }

    .cf-page-home .hero .action-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .cf-page-home .hero .action-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .cf-page-home .hero .stats {
        justify-content: space-between;
        margin-top: 28px;
    }

    .cf-page-home .hero .stat-item {
        min-width: 0;
        padding-inline: 10px;
    }

    .cf-page-home .hero .stats .stat-item .stat-number {
        font-size: 22px;
    }

    .cf-page-home .hero .stats .stat-item .stat-label {
        font-size: 7px;
    }

    .cf-page-home .news-section-wrapper {
        padding-top: 42px;
    }

    .cf-global-footer {
        padding: 32px 18px 16px;
    }

    .cf-global-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 28px 18px;
    }

    .cf-global-footer-brand {
        grid-column: 1 / -1;
    }

    .cf-global-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Shared tactical skin for every route, modal and interactive surface. */
:root {
    color-scheme: dark;
    --site-bg: #0e1117;
    --site-card: #141a21;
    --site-card-glass: #19212a;
    --site-text: #eef3f4;
    --site-muted: #a4b0b7;
    --site-dim: #75848c;
    --site-primary: #F39B27;
    --site-primary-hover: #FFC252;
    --site-primary-dark: #B96A10;
    --site-neon-green: #F39B27;
    --site-accent-gold: #F39B27;
    --site-tactical-cyan: #FFC252;
    --site-line: rgba(173, 208, 216, .12);
    --site-line-neon: rgba(255, 194, 82, .26);
}

html,
body,
footer {
    background-color: #0e1117;
}

body {
    background-image:
        radial-gradient(ellipse at 68% -12%, rgba(255, 194, 82, .1), transparent 48%),
        linear-gradient(135deg, rgba(255, 255, 255, .014) 25%, transparent 25%),
        linear-gradient(315deg, rgba(255, 255, 255, .01) 25%, transparent 25%);
    color: #eef3f4;
}

::selection {
    background: rgba(243, 155, 39, .28);
    color: #fff;
}

:focus-visible {
    outline-color: #FFC252;
}

.site-announcement {
    background: #0b1015;
    border-bottom-color: rgba(255, 194, 82, .16);
}

.site-announcement-label,
.site-announcement-status {
    color: #F39B27;
}

.site-announcement-status {
    border-color: rgba(243, 155, 39, .22);
    background: rgba(243, 155, 39, .055);
}

header.site-header-legacy,
header.site-header-legacy.is-scrolled {
    border-bottom-color: rgba(255, 194, 82, .17);
    background: rgba(14, 17, 23, .96);
}

.logo-container .logo-icon {
    border-color: #F39B27;
    background: #F39B27;
    color: #10140b;
}

.logo-container:hover .logo-icon {
    border-color: #FFC252;
    background: #FFC252;
    color: #10140b;
    box-shadow: 0 0 18px rgba(243, 155, 39, .2);
}

.logo-container .logo-text,
.footer-content .footer-brand .brand-text {
    background: linear-gradient(110deg, #f1f5e1, #F39B27 78%);
}

.primary-nav-links a:hover,
.nav-dropdown-btn:hover,
.nav-dropdown.open .nav-dropdown-btn,
.nav-dropdown-btn.active,
.primary-nav-links a.active {
    background: rgba(243, 155, 39, .065);
}

.primary-nav-links a.active {
    box-shadow: inset 0 -2px #F39B27;
}

.nav-action-download,
.nav-action-register,
.btn-primary,
.cf-lightbox-btn-primary,
.cf-page-download .dl-button:not(.dl-button-secondary):not(.is-disabled),
.cf-admin-button,
.attendance-claim-button,
.cf-giftcode-submit,
.cf-btn-hero-primary,
.cf-profile-primary-button,
.auth-submit,
.cf-account-submit,
.cf-character-required-primary,
.cf-live-chat-compose button {
    border-color: #F39B27;
    background: linear-gradient(112deg, #dfff42 0%, #F39B27 52%, #b4d900 100%);
    color: #111609 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3), 0 0 18px rgba(243, 155, 39, .08);
}

.nav-action-download:hover:not(:disabled),
.nav-action-register:hover:not(:disabled),
.btn-primary:hover:not(:disabled),
.cf-lightbox-btn-primary:hover:not(:disabled),
.cf-page-download .dl-button:not(.dl-button-secondary):not(.is-disabled):hover,
.cf-admin-button:hover:not(:disabled),
.attendance-claim-button:hover:not(:disabled),
.cf-giftcode-submit:hover:not(:disabled),
.cf-btn-hero-primary:hover:not(:disabled),
.cf-profile-primary-button:hover:not(:disabled),
.auth-submit:hover:not(:disabled),
.cf-account-submit:hover:not(:disabled),
.cf-character-required-primary:hover:not(:disabled),
.cf-live-chat-compose button:hover:not(:disabled) {
    border-color: #e9ff91;
    background: linear-gradient(112deg, #e9ff91 0%, #e0ff4d 52%, #c8ef18 100%);
    color: #111609 !important;
    box-shadow: 0 9px 24px rgba(0, 0, 0, .36), 0 0 20px rgba(243, 155, 39, .15);
}

.btn-outline,
.btn-secondary,
.nav-action-login,
.cf-lightbox-btn-secondary,
.cf-page-download .dl-button-secondary,
.cf-admin-secondary-button,
.cf-btn-hero-secondary,
.cf-profile-secondary-button,
.cf-character-required-secondary,
.cf-giftcode-history-header button,
.cf-frame-filter-btn {
    border-color: rgba(255, 194, 82, .22);
    border-radius: 3px;
    background: linear-gradient(180deg, rgba(255, 194, 82, .055), rgba(255, 255, 255, .015));
    color: #dce8eb;
}

.btn-outline:hover:not(:disabled),
.btn-secondary:hover:not(:disabled),
.nav-action-login:hover:not(:disabled),
.cf-lightbox-btn-secondary:hover:not(:disabled),
.cf-page-download .dl-button-secondary:hover:not(:disabled),
.cf-admin-secondary-button:hover:not(:disabled),
.cf-btn-hero-secondary:hover:not(:disabled),
.cf-profile-secondary-button:hover:not(:disabled),
.cf-character-required-secondary:hover:not(:disabled),
.cf-giftcode-history-header button:hover:not(:disabled),
.cf-frame-filter-btn:hover:not(:disabled) {
    border-color: rgba(255, 194, 82, .58);
    background: rgba(255, 194, 82, .09);
    color: #dff9ff;
}

.cf-account-tabs button.active {
    box-shadow: inset 0 -2px #F39B27;
}

.nav-action-login {
    border-color: rgba(255, 194, 82, .24);
    background: rgba(255, 194, 82, .045);
}

.nav-action-login:hover {
    border-color: rgba(255, 194, 82, .55);
    background: rgba(255, 194, 82, .1);
    color: #c9f7ff;
}

.nav-dropdown-menu,
.user-dropdown-menu,
.primary-nav,
.mobile-nav-backdrop {
    border-color: rgba(255, 194, 82, .2);
    background-color: rgba(14, 19, 25, .98);
}

.cf-skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    transform: translateY(calc(-100% - 14px));
    border: 1px solid var(--site-primary);
    background: var(--site-card);
    color: var(--site-text);
    font-weight: 700;
    text-decoration: none;
}

.cf-skip-link:focus {
    transform: translateY(0);
}

#mainContent {
    scroll-margin-top: calc(var(--site-header-height) + 16px);
}

.cf-not-found {
    position: relative;
    display: grid;
    min-height: min(660px, calc(100vh - var(--site-header-height)));
    align-content: center;
    justify-items: center;
    overflow: hidden;
    padding: 72px 24px;
    text-align: center;
}

.cf-not-found::before {
    position: absolute;
    width: min(620px, 90vw);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 194, 82, .09);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 194, 82, .08), transparent 68%);
    content: "";
    pointer-events: none;
}

.cf-not-found > * {
    position: relative;
    max-width: 640px;
}

.cf-not-found-code {
    color: rgba(243, 155, 39, .13);
    font-size: clamp(100px, 24vw, 220px);
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: .9;
}

.cf-not-found-kicker {
    margin: 28px 0 10px;
    color: var(--site-tactical-cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
}

.cf-not-found h1 {
    margin: 0;
    font-size: clamp(26px, 5vw, 44px);
    line-height: 1.15;
}

.cf-not-found > p:not(.cf-not-found-kicker) {
    margin: 14px 0 0;
    color: var(--site-muted);
    line-height: 1.75;
}

.cf-not-found-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.cf-not-found-actions a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(255, 194, 82, .28);
    color: var(--site-text);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}

.cf-not-found-primary {
    border-color: var(--site-primary) !important;
    background: var(--site-primary);
    color: #111609 !important;
}

.cf-not-found-actions a:hover {
    border-color: var(--site-tactical-cyan);
    background: rgba(255, 194, 82, .08);
}

.nav-dropdown-menu,
.user-dropdown-menu {
    box-shadow: 0 18px 42px rgba(0, 0, 0, .56);
}

.nav-gem-balance,
.nav-user-pill {
    border-color: rgba(255, 194, 82, .15);
}

@media (max-width: 1080px) {
    .primary-nav {
        border-bottom-color: rgba(255, 194, 82, .2);
    }
}

.cf-portal-bar {
    border-bottom-color: rgba(255, 194, 82, .15);
    background: #111820;
}

.cf-portal-breadcrumb a i,
.cf-portal-nav a:hover,
.cf-portal-nav a:hover i,
.cf-portal-nav a.active,
.cf-portal-nav a.active i,
.cf-global-footer-discord {
    color: #FFC252;
}

.cf-portal-breadcrumb > span {
    color: #F39B27;
}

.cf-portal-nav a.active {
    background: linear-gradient(180deg, rgba(255, 194, 82, .08), transparent);
}

.cf-portal-nav a.active::after {
    background: #F39B27;
}

body.cf-page:not(.cf-page-home) {
    background-color: #0e1117;
    color: #eef3f4;
}

body.cf-page:not(.cf-page-home) :is(
    .lb-page,
    .wheel-page,
    .market-page,
    .wos-page,
    .dl-page,
    .attendance-main,
    .cf-giftcode-page,
    .cf-admin-page,
    .cf-profile-page,
    .cf-support-page,
    .cf-rules-page
) {
    color: #eef3f4;
}

body.cf-page:not(.cf-page-home) :is(
    .lb-hero,
    .cf-wheel-hero,
    .cf-market-hero,
    .cf-wos-hero,
    .dl-hero,
    .cf-profile-hero-card
) {
    border-color: rgba(255, 194, 82, .24);
    border-radius: 4px;
    background-color: #111820;
    background-image:
        linear-gradient(115deg, rgba(255, 194, 82, .07), transparent 48%),
        radial-gradient(ellipse at 88% 42%, rgba(243, 155, 39, .07), transparent 43%),
        linear-gradient(135deg, #141c23, #0b1016 80%);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .38);
}

body.cf-page:not(.cf-page-home) :is(
    .lb-panel,
    .lb-stat,
    .cf-wheel-stage-card,
    .cf-market-card,
    .cf-wos-card,
    .dl-card,
    .dl-install-section,
    .dl-info-card,
    .attendance-card,
    .cf-giftcode-card,
    .cf-admin-card,
    .cf-profile-card,
    .cf-stat-card,
    .glass-card,
    .auth-dialog,
    .cf-account-dialog,
    .player-profile-dialog,
    .cf-live-chat-panel
) {
    border-color: rgba(173, 208, 216, .12);
    border-radius: 4px;
    background-color: #121920;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .3);
}

body.cf-page:not(.cf-page-home) :is(
    .lb-hero h1 span,
    .cf-wheel-hero-copy h1 span,
    .cf-market-hero-copy h1 span,
    .cf-wos-hero-copy h1 span,
    .dl-hero h1 span,
    .cf-giftcode-hero h1 span,
    .attendance-hero h1 span,
    .accent,
    .lb-eyebrow,
    .lb-section-kicker,
    .lb-hero-meta i,
    .lb-hero-mark,
    .lb-panel-header h2 i,
    .lb-search > i,
    .lb-level,
    .lb-footer-note i,
    .cf-wheel-hero-mark,
    .cf-market-hero-mark,
    .cf-wos-hero-mark,
    .dl-eyebrow,
    .dl-section-kicker,
    .dl-hero h1 span,
    .dl-hero-tags i,
    .dl-crosshair,
    .dl-heading-mark,
    .dl-card-icon,
    .dl-card-badge,
    .dl-features i,
    .dl-info-icon,
    .cf-giftcode-eyebrow,
    .cf-giftcode-hero h1 span,
    .cf-giftcode-card-icon,
    .cf-giftcode-profile-link,
    .attendance-eyebrow,
    .attendance-hero h1 span,
    .card-topline i,
    .reward-copy small,
    .reward-gem-icon,
    #attendanceBonusPercent,
    .attendance-rules-card h2 i,
    .cf-admin-eyebrow,
    .cf-admin-card-icon,
    .cf-admin-code,
    .cf-admin-badge,
    .cf-admin-chat-usn,
    .cf-admin-user-id,
    .cf-account-icon,
    .cf-account-balance-card strong,
    .auth-brand-icon,
    .auth-input > i,
    .auth-switch button,
    .cf-profile-eyebrow,
    .cf-profile-card-kicker,
    .cf-stat-icon,
    .cf-profile-sec-icon,
    .cf-frame-modal-icon,
    .auth-brand,
    .cf-account-icon
) {
    color: #F39B27;
}

body.cf-page:not(.cf-page-home) :is(
    .lb-hero-mark,
    .cf-wheel-hero-mark,
    .cf-market-hero-mark,
    .cf-wos-hero-mark,
    .dl-hero-art
) {
    border-color: rgba(255, 194, 82, .3);
    border-radius: 4px;
    background: linear-gradient(145deg, rgba(255, 194, 82, .1), rgba(243, 155, 39, .035));
    box-shadow: inset 0 0 20px rgba(255, 194, 82, .05);
}

body.cf-page:not(.cf-page-home) :is(
    .lb-retry,
    .cf-page-download .dl-button-secondary,
    .cf-giftcode-history-header button,
    .cf-admin-secondary-button,
    .cf-profile-secondary-button
) {
    border-color: rgba(255, 194, 82, .24);
}

body.cf-page:not(.cf-page-home) :is(
    .lb-table td,
    .cf-admin-table td,
    .cf-account-daily,
    .cf-account-current-name,
    .cf-account-cooldown,
    .cf-account-tabs button,
    .cf-giftcode-input-wrap,
    .cf-admin-form input,
    .cf-admin-form select,
    .cf-admin-created-codes textarea,
    .cf-admin-chat-reply textarea
) {
    border-color: rgba(173, 208, 216, .14);
    border-radius: 3px;
    background-color: #0d1319;
}

body.cf-page:not(.cf-page-home) :is(
    .lb-search:focus-within,
    .cf-giftcode-input-wrap:focus-within,
    .cf-admin-form input:focus,
    .cf-admin-form select:focus,
    .cf-admin-created-codes textarea:focus,
    .cf-admin-chat-reply textarea:focus,
    .auth-input:focus-within,
    .cf-account-form input:focus,
    .cf-account-form select:focus
) {
    border-color: rgba(255, 194, 82, .62);
    box-shadow: 0 0 0 3px rgba(255, 194, 82, .1);
}

body.cf-page:not(.cf-page-home) :is(
    .lb-panel-header,
    .cf-admin-table th,
    .cf-admin-chat-thread-title
) {
    background: linear-gradient(100deg, rgba(255, 194, 82, .055), transparent);
}

body.cf-page:not(.cf-page-home) .cf-global-footer {
    border-top-color: rgba(255, 194, 82, .18);
    background:
        linear-gradient(110deg, rgba(255, 194, 82, .045), transparent 45%),
        #0b1015;
}

.cf-global-footer-column a:hover,
.cf-global-footer-bottom a:hover,
.cf-page:not(.cf-page-home) .cf-admin-icon-button:hover {
    color: #F39B27;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 194, 82, .34);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(243, 155, 39, .6);
}

/* Normalize every page-level action after page CSS, including legacy inline colors. */
body.cf-page button:not(:where(#btnSpinCenter, .mobile-toggle, .nav-dropdown-btn, .nav-user-toggle-btn, .nav-gem-refresh, .cf-admin-icon-button, .cf-account-close, .auth-close, .cf-frame-modal-close, .cf-wheel-winner-close, .cf-avatar-sub-btn, .cf-avatar-edit-icon, .cf-lightbox-close, .auth-switch button, .cf-live-chat-header button)) {
    border-radius: 3px !important;
    background-color: #141d25 !important;
    border-color: rgba(255, 194, 82, .28) !important;
    color: #dce8eb !important;
    box-shadow: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.cf-page :is(
    .btn-primary,
    .nav-action-download,
    .nav-action-register,
    .cf-lightbox-btn-primary,
    .cf-admin-button,
    .attendance-claim-button,
    .cf-giftcode-submit,
    .cf-profile-primary-button,
    .cf-btn-hero-primary,
    .cf-account-submit,
    .cf-character-required-primary,
    .auth-submit,
    .cf-page-download .dl-button:not(.dl-button-secondary):not(.is-disabled)
) {
    border: 1px solid #F39B27 !important;
    border-radius: 3px !important;
    background: #F39B27 !important;
    color: #111609 !important;
    font-weight: 850;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .28) !important;
}

body.cf-page :is(
    .btn-primary,
    .nav-action-download,
    .nav-action-register,
    .cf-lightbox-btn-primary,
    .cf-admin-button,
    .attendance-claim-button,
    .cf-giftcode-submit,
    .cf-profile-primary-button,
    .cf-btn-hero-primary,
    .cf-account-submit,
    .cf-character-required-primary,
    .auth-submit,
    .cf-page-download .dl-button:not(.dl-button-secondary):not(.is-disabled)
):hover:not(:disabled) {
    border-color: #FFC252 !important;
    background: #FFC252 !important;
    color: #111609 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .34), 0 0 16px rgba(243, 155, 39, .12) !important;
    transform: translateY(-1px);
}

body.cf-page :is(
    .btn-secondary,
    .btn-outline,
    .nav-action-login,
    .cf-lightbox-btn-secondary,
    .cf-admin-secondary-button,
    .cf-profile-secondary-button,
    .cf-btn-hero-secondary,
    .cf-character-required-secondary,
    .cf-page-download .dl-button-secondary,
    .cf-giftcode-history-header button,
    .cf-frame-filter-btn,
    .cf-admin-nav-item,
    .cf-admin-toggle,
    .cf-admin-icon-button,
    .cf-account-tabs button,
    .cf-avatar-sub-btn,
    .btn-back,
    .back-btn,
    .back-home-btn,
    .discord-btn,
    .lb-retry
) {
    border: 1px solid rgba(255, 194, 82, .28) !important;
    border-radius: 3px !important;
    background: #141d25 !important;
    color: #dce8eb !important;
}

body.cf-page :is(
    .btn-secondary,
    .btn-outline,
    .nav-action-login,
    .cf-lightbox-btn-secondary,
    .cf-admin-secondary-button,
    .cf-profile-secondary-button,
    .cf-btn-hero-secondary,
    .cf-character-required-secondary,
    .cf-page-download .dl-button-secondary,
    .cf-giftcode-history-header button,
    .cf-frame-filter-btn,
    .cf-admin-nav-item,
    .cf-admin-toggle,
    .cf-admin-icon-button,
    .cf-account-tabs button,
    .cf-avatar-sub-btn,
    .btn-back,
    .back-btn,
    .back-home-btn,
    .discord-btn,
    .lb-retry
):hover:not(:disabled) {
    border-color: #FFC252 !important;
    background: rgba(255, 194, 82, .1) !important;
    color: #e5fbff !important;
    box-shadow: 0 0 14px rgba(255, 194, 82, .08) !important;
}

body.cf-page :is(.btn-submit) {
    border: 1px solid #F39B27 !important;
    border-radius: 3px !important;
    background: #F39B27 !important;
    color: #111609 !important;
}

body.cf-page :is(.btn-submit):hover:not(:disabled) {
    border-color: #FFC252 !important;
    background: #FFC252 !important;
    color: #111609 !important;
}

body.cf-page button:disabled,
body.cf-page button[aria-disabled="true"],
body.cf-page .is-disabled {
    cursor: not-allowed;
}

body.cf-page button:disabled:not(#btnSpinCenter),
body.cf-page button[aria-disabled="true"] {
    border-color: rgba(173, 208, 216, .12) !important;
    background: #222a30 !important;
    color: #7d8a90 !important;
    box-shadow: none !important;
    transform: none !important;
}

body.cf-page :is(.cf-admin-icon-button, .nav-gem-refresh, .cf-account-close, .auth-close, .cf-frame-modal-close, .cf-wheel-winner-close):hover {
    border-color: #FFC252;
    background: rgba(255, 194, 82, .1);
    color: #FFC252;
}

body.cf-page :is(.cf-admin-nav-item.active, .cf-frame-filter-btn.active, .cf-account-tabs button.active) {
    border-color: #F39B27 !important;
    background: rgba(243, 155, 39, .12) !important;
    color: #F39B27 !important;
    box-shadow: inset 0 -2px #F39B27 !important;
}

body.cf-page .cf-admin-nav-item.active .cf-admin-nav-icon {
    color: #F39B27 !important;
}

body.cf-page :is(.cf-button-danger, [data-action="danger"]) {
    border-color: #de5752 !important;
    background: #271719 !important;
    color: #ff918b !important;
    box-shadow: none !important;
}

body.cf-page :is(.cf-button-danger, [data-action="danger"]):hover:not(:disabled) {
    border-color: #f0756e !important;
    background: rgba(222, 87, 82, .18) !important;
    color: #ffc0bc !important;
}

body.cf-page .site-announcement {
    background: rgba(8, 12, 16, .68);
    border-bottom-color: rgba(255, 194, 82, .14);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
}

body.cf-page header.site-header-legacy {
    background: linear-gradient(110deg, rgba(14, 20, 26, .78), rgba(11, 16, 22, .66));
    border-bottom-color: rgba(255, 194, 82, .22);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .045);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    backdrop-filter: blur(24px) saturate(150%);
}

body.cf-page header.site-header-legacy.is-scrolled {
    background: linear-gradient(110deg, rgba(10, 15, 20, .9), rgba(8, 12, 17, .84));
    border-bottom-color: rgba(243, 155, 39, .26);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .38), inset 0 1px rgba(255, 255, 255, .035);
}

@media (max-width: 1080px) {
    body.cf-page .primary-nav {
        background: rgba(10, 15, 20, .9);
        border-bottom-color: rgba(255, 194, 82, .2);
        box-shadow: 0 20px 45px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .04);
        -webkit-backdrop-filter: blur(24px) saturate(145%);
        backdrop-filter: blur(24px) saturate(145%);
    }
}

/* Lucky wheel: glass mission console */
body.cf-page.cf-page-lucky-wheel .wheel-page,
body.cf-page.cf-page-wheel .wheel-page {
    width: min(1320px, calc(100% - 40px));
    margin: 34px auto 76px;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-hero,
body.cf-page.cf-page-wheel .cf-wheel-hero {
    min-height: 255px;
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid rgba(255, 194, 82, .28);
    border-radius: 12px;
    background:
        linear-gradient(105deg, rgba(9, 15, 21, .94) 0%, rgba(12, 21, 28, .76) 58%, rgba(8, 14, 19, .62) 100%),
        radial-gradient(ellipse at 86% 45%, rgba(243, 155, 39, .14), transparent 38%),
        repeating-linear-gradient(0deg, transparent 0 31px, rgba(255, 194, 82, .035) 32px),
        repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 194, 82, .035) 32px) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .32), inset 0 1px rgba(255, 255, 255, .055) !important;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-hero::after,
body.cf-page.cf-page-wheel .cf-wheel-hero::after {
    position: absolute;
    right: 24px;
    bottom: 20px;
    width: 76px;
    height: 24px;
    border-top: 1px solid rgba(255, 194, 82, .42);
    border-bottom: 1px solid rgba(255, 194, 82, .18);
    content: "";
    opacity: .7;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-hero-copy h1,
body.cf-page.cf-page-wheel .cf-wheel-hero-copy h1 {
    margin-top: 12px;
    font-size: clamp(32px, 5vw, 58px);
    letter-spacing: -.035em;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-hero-copy h1 span,
body.cf-page.cf-page-wheel .cf-wheel-hero-copy h1 span {
    color: #F39B27;
    text-shadow: 0 0 24px rgba(243, 155, 39, .3);
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-eyebrow,
body.cf-page.cf-page-wheel .cf-wheel-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #F39B27;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-eyebrow::before,
body.cf-page.cf-page-wheel .cf-wheel-eyebrow::before {
    width: 22px;
    height: 1px;
    background: #FFC252;
    content: "";
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-hero-copy p,
body.cf-page.cf-page-wheel .cf-wheel-hero-copy p {
    max-width: 680px;
    color: #a6b4bd;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-hero-meta i,
body.cf-page.cf-page-wheel .cf-wheel-hero-meta i {
    color: #FFC252;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-hero-mark,
body.cf-page.cf-page-wheel .cf-wheel-hero-mark {
    width: 150px;
    height: 150px;
    border: 1px solid rgba(255, 194, 82, .32);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(255, 194, 82, .1), rgba(243, 155, 39, .035));
    color: #F39B27;
    box-shadow: inset 0 0 28px rgba(255, 194, 82, .05), 0 18px 38px rgba(0, 0, 0, .26);
}

body.cf-page.cf-page-lucky-wheel .cf-jackpot-board,
body.cf-page.cf-page-wheel .cf-jackpot-board {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 18px 0 22px;
    padding: 20px 24px;
    overflow: hidden;
    border: 1px solid rgba(243, 155, 39, .24);
    border-radius: 10px;
    background: linear-gradient(105deg, rgba(20, 27, 30, .88), rgba(12, 19, 24, .76));
    box-shadow: 0 16px 38px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .045);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
}

body.cf-page.cf-page-lucky-wheel .cf-jackpot-board::after,
body.cf-page.cf-page-wheel .cf-jackpot-board::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(243, 155, 39, .045));
    content: "";
    pointer-events: none;
}

body.cf-page.cf-page-lucky-wheel .cf-jackpot-main,
body.cf-page.cf-page-wheel .cf-jackpot-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

body.cf-page.cf-page-lucky-wheel .cf-jackpot-icon,
body.cf-page.cf-page-wheel .cf-jackpot-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: 1px solid rgba(243, 155, 39, .34);
    border-radius: 8px;
    background: rgba(243, 155, 39, .09);
    color: #F39B27;
    font-size: 22px;
    box-shadow: inset 0 0 20px rgba(243, 155, 39, .06), 0 0 22px rgba(243, 155, 39, .08);
}

body.cf-page.cf-page-lucky-wheel .cf-jackpot-label,
body.cf-page.cf-page-wheel .cf-jackpot-label {
    display: block;
    margin-bottom: 6px;
    color: #9daeb7;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .14em;
}

body.cf-page.cf-page-lucky-wheel .cf-jackpot-label i,
body.cf-page.cf-page-wheel .cf-jackpot-label i {
    margin-right: 5px;
    color: #F39B27;
}

body.cf-page.cf-page-lucky-wheel .cf-jackpot-amount,
body.cf-page.cf-page-wheel .cf-jackpot-amount {
    color: #e9ff9b;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em;
    text-shadow: 0 0 22px rgba(243, 155, 39, .2);
}

body.cf-page.cf-page-lucky-wheel .cf-jackpot-amount span,
body.cf-page.cf-page-wheel .cf-jackpot-amount span {
    color: #FFC252 !important;
    font-size: 11px !important;
    font-weight: 800;
    letter-spacing: .12em;
}

body.cf-page.cf-page-lucky-wheel .cf-jackpot-winner,
body.cf-page.cf-page-wheel .cf-jackpot-winner {
    display: grid;
    gap: 5px;
    min-width: 180px;
    text-align: right;
}

body.cf-page.cf-page-lucky-wheel .cf-jackpot-winner > span,
body.cf-page.cf-page-wheel .cf-jackpot-winner > span {
    color: #84939c;
    font-size: 10px;
    letter-spacing: .04em;
}

body.cf-page.cf-page-lucky-wheel .cf-jackpot-winner strong,
body.cf-page.cf-page-wheel .cf-jackpot-winner strong {
    color: #F39B27;
    font-size: 12px;
    font-weight: 800;
}

body.cf-page.cf-page-lucky-wheel .cf-jackpot-winner i,
body.cf-page.cf-page-wheel .cf-jackpot-winner i {
    margin-right: 4px;
    color: #FFC252;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-grid,
body.cf-page.cf-page-wheel .cf-wheel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(290px, .75fr);
    align-items: start;
    gap: 20px;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-stage-card,
body.cf-page.cf-page-wheel .cf-wheel-stage-card,
body.cf-page.cf-page-lucky-wheel .cf-wheel-side-card,
body.cf-page.cf-page-wheel .cf-wheel-side-card {
    border: 1px solid rgba(255, 194, 82, .17);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(19, 27, 34, .86), rgba(10, 16, 22, .82));
    box-shadow: 0 18px 44px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .04);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    backdrop-filter: blur(16px) saturate(135%);
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-stage-card,
body.cf-page.cf-page-wheel .cf-wheel-stage-card {
    min-width: 0;
    padding: 20px clamp(16px, 3vw, 34px) 22px;
    overflow: hidden;
    text-align: center;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-stage-heading,
body.cf-page.cf-page-wheel .cf-wheel-stage-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    text-align: left;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-stage-kicker,
body.cf-page.cf-page-wheel .cf-wheel-stage-kicker {
    color: #84949d;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .14em;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-live,
body.cf-page.cf-page-wheel .cf-wheel-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #a5b2b9;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .1em;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-live i,
body.cf-page.cf-page-wheel .cf-wheel-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #F39B27;
    box-shadow: 0 0 10px rgba(243, 155, 39, .7);
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-wrap,
body.cf-page.cf-page-wheel .cf-wheel-wrap {
    width: min(100%, 440px);
    max-width: 440px;
    margin: 0 auto;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .32));
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-canvas,
body.cf-page.cf-page-wheel .cf-wheel-canvas {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 194, 82, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(10, 16, 22, .88), 0 0 0 8px rgba(255, 194, 82, .2), 0 0 34px rgba(255, 194, 82, .08) !important;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-pointer,
body.cf-page.cf-page-wheel .cf-wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    z-index: 10;
    width: 0;
    height: 0;
    transform: translateX(-50%);
    border-right: 13px solid transparent;
    border-bottom: 0;
    border-left: 13px solid transparent;
    border-top: 27px solid #F39B27;
    filter: drop-shadow(0 3px 8px rgba(243, 155, 39, .6));
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-center-button,
body.cf-page.cf-page-wheel .cf-wheel-center-button {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    display: flex;
    width: 82px;
    height: 82px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(243, 155, 39, .88) !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 35% 25%, #25303a, #0b1118 72%) !important;
    color: #F39B27 !important;
    cursor: pointer;
    box-shadow: 0 0 0 6px rgba(10, 16, 22, .72), 0 0 24px rgba(243, 155, 39, .26), inset 0 0 16px rgba(243, 155, 39, .08) !important;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-center-button:hover,
body.cf-page.cf-page-wheel .cf-wheel-center-button:hover {
    transform: translate(-50%, -50%) scale(1.05);
    border-color: #FFC252 !important;
    box-shadow: 0 0 0 6px rgba(10, 16, 22, .72), 0 0 32px rgba(243, 155, 39, .42), inset 0 0 18px rgba(243, 155, 39, .12) !important;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-center-button i,
body.cf-page.cf-page-wheel .cf-wheel-center-button i {
    font-size: 17px;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-center-button span,
body.cf-page.cf-page-wheel .cf-wheel-center-button span {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-controls,
body.cf-page.cf-page-wheel .cf-wheel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-balance,
body.cf-page.cf-page-wheel .cf-wheel-balance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255, 194, 82, .18);
    border-radius: 6px;
    background: rgba(4, 9, 13, .52);
    color: #96a6af;
    font-size: 10px;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-balance > i,
body.cf-page.cf-page-wheel .cf-wheel-balance > i {
    color: #FFC252;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-balance strong,
body.cf-page.cf-page-wheel .cf-wheel-balance strong {
    color: #e9ff9b;
    font-size: 12px;
    white-space: nowrap;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-recharge,
body.cf-page.cf-page-wheel .cf-wheel-recharge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 0 8px;
    border: 1px solid rgba(243, 155, 39, .28) !important;
    border-radius: 4px !important;
    background: rgba(243, 155, 39, .08) !important;
    color: #F39B27 !important;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-recharge:hover,
body.cf-page.cf-page-wheel .cf-wheel-recharge:hover {
    background: rgba(243, 155, 39, .16) !important;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-spin-actions,
body.cf-page.cf-page-wheel .cf-wheel-spin-actions {
    display: flex;
    gap: 8px;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-spin-button,
body.cf-page.cf-page-wheel .cf-wheel-spin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 5px !important;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .01em;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-spin-primary,
body.cf-page.cf-page-wheel .cf-wheel-spin-primary {
    border: 1px solid #F39B27 !important;
    background: linear-gradient(115deg, #F39B27, #a9d500) !important;
    color: #101609 !important;
    box-shadow: 0 6px 18px rgba(243, 155, 39, .13) !important;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-spin-secondary,
body.cf-page.cf-page-wheel .cf-wheel-spin-secondary {
    border: 1px solid rgba(255, 194, 82, .38) !important;
    background: rgba(27, 50, 59, .66) !important;
    color: #b7f3ff !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, .04) !important;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-spin-button:hover:not(:disabled),
body.cf-page.cf-page-wheel .cf-wheel-spin-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(0, 0, 0, .26), 0 0 18px rgba(255, 194, 82, .12) !important;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-spin-primary:hover:not(:disabled),
body.cf-page.cf-page-wheel .cf-wheel-spin-primary:hover:not(:disabled) {
    border-color: #FFC252 !important;
    background: #FFC252 !important;
    color: #101609 !important;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-spin-secondary:hover:not(:disabled),
body.cf-page.cf-page-wheel .cf-wheel-spin-secondary:hover:not(:disabled) {
    border-color: #FFC252 !important;
    background: rgba(255, 194, 82, .14) !important;
    color: #e1fbff !important;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-status,
body.cf-page.cf-page-wheel .cf-wheel-status {
    min-height: 21px;
    margin-top: 10px;
    color: #a8b7bf;
    font-size: 11px;
    font-weight: 750;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-history,
body.cf-page.cf-page-wheel .cf-wheel-history {
    display: grid;
    gap: 14px;
    min-width: 0;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-side-card,
body.cf-page.cf-page-wheel .cf-wheel-side-card {
    min-width: 0;
    padding: 16px;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-side-title,
body.cf-page.cf-page-wheel .cf-wheel-side-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 13px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    color: #e4edf0;
    font-size: 12px;
    font-weight: 850;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-side-title i,
body.cf-page.cf-page-wheel .cf-wheel-side-title i {
    color: #FFC252;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-log-list,
body.cf-page.cf-page-wheel .cf-wheel-log-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-height: 265px;
    overflow-y: auto;
    padding-right: 3px;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-log-entry,
body.cf-page.cf-page-wheel .cf-wheel-log-entry {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 5px;
    background: rgba(3, 8, 12, .38);
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-log-entry > img,
body.cf-page.cf-page-wheel .cf-wheel-log-entry > img {
    flex: 0 0 30px;
    border: 1px solid rgba(255, 194, 82, .24);
    border-radius: 50%;
    object-fit: cover;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-log-copy,
body.cf-page.cf-page-wheel .cf-wheel-log-copy {
    flex: 1;
    min-width: 0;
    color: #a9b5bc;
    font-size: 10px;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-log-meta,
body.cf-page.cf-page-wheel .cf-wheel-log-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-log-meta strong,
body.cf-page.cf-page-wheel .cf-wheel-log-meta strong {
    overflow: hidden;
    color: #F39B27;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-log-meta small,
body.cf-page.cf-page-wheel .cf-wheel-log-meta small,
body.cf-page.cf-page-lucky-wheel .cf-wheel-user-log-entry small,
body.cf-page.cf-page-wheel .cf-wheel-user-log-entry small {
    flex: 0 0 auto;
    color: #71818b;
    font-size: 9px;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-log-copy > span strong,
body.cf-page.cf-page-wheel .cf-wheel-log-copy > span strong {
    color: #dce8eb;
    font-weight: 750;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-user-log-list,
body.cf-page.cf-page-wheel .cf-wheel-user-log-list {
    max-height: 220px;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-user-log-entry,
body.cf-page.cf-page-wheel .cf-wheel-user-log-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 4px;
    background: rgba(3, 8, 12, .32);
    color: #d4dfe3;
    font-size: 10px;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-user-log-entry > span,
body.cf-page.cf-page-wheel .cf-wheel-user-log-entry > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-empty,
body.cf-page.cf-page-wheel .cf-wheel-empty {
    margin: 0;
    padding: 20px 8px;
    color: #82919a;
    font-size: 10px;
    text-align: center;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-empty a,
body.cf-page.cf-page-wheel .cf-wheel-empty a {
    color: #F39B27;
    font-weight: 800;
    text-decoration: none;
}

body.cf-page.cf-page-lucky-wheel .cf-wheel-winner-dialog,
body.cf-page.cf-page-wheel .cf-wheel-winner-dialog {
    border-color: rgba(255, 194, 82, .3);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(19, 28, 35, .97), rgba(8, 13, 18, .98));
    box-shadow: 0 28px 90px rgba(0, 0, 0, .72), 0 0 36px rgba(255, 194, 82, .08);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
}

@media (max-width: 900px) {
    body.cf-page.cf-page-lucky-wheel .cf-wheel-grid,
    body.cf-page.cf-page-wheel .cf-wheel-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.cf-page.cf-page-lucky-wheel .cf-wheel-history,
    body.cf-page.cf-page-wheel .cf-wheel-history {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    body.cf-page.cf-page-lucky-wheel .wheel-page,
    body.cf-page.cf-page-wheel .wheel-page {
        width: calc(100% - 24px);
        margin-top: 22px;
    }

    body.cf-page.cf-page-lucky-wheel .cf-wheel-hero,
    body.cf-page.cf-page-wheel .cf-wheel-hero {
        min-height: 0;
        padding: 26px 20px;
        border-radius: 8px;
    }

    body.cf-page.cf-page-lucky-wheel .cf-wheel-hero-meta,
    body.cf-page.cf-page-wheel .cf-wheel-hero-meta {
        gap: 9px 14px;
        font-size: 10px;
    }

    body.cf-page.cf-page-lucky-wheel .cf-jackpot-board,
    body.cf-page.cf-page-wheel .cf-jackpot-board {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px;
    }

    body.cf-page.cf-page-lucky-wheel .cf-jackpot-winner,
    body.cf-page.cf-page-wheel .cf-jackpot-winner {
        min-width: 0;
        text-align: left;
    }

    body.cf-page.cf-page-lucky-wheel .cf-wheel-history,
    body.cf-page.cf-page-wheel .cf-wheel-history {
        grid-template-columns: minmax(0, 1fr);
    }

    body.cf-page.cf-page-lucky-wheel .cf-wheel-stage-card,
    body.cf-page.cf-page-wheel .cf-wheel-stage-card {
        padding: 15px 12px 17px;
    }

    body.cf-page.cf-page-lucky-wheel .cf-wheel-controls,
    body.cf-page.cf-page-wheel .cf-wheel-controls {
        align-items: stretch;
        flex-direction: column;
    }

    body.cf-page.cf-page-lucky-wheel .cf-wheel-balance,
    body.cf-page.cf-page-wheel .cf-wheel-balance {
        justify-content: center;
        flex-wrap: wrap;
    }

    body.cf-page.cf-page-lucky-wheel .cf-wheel-spin-actions,
    body.cf-page.cf-page-wheel .cf-wheel-spin-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.cf-page.cf-page-lucky-wheel .cf-wheel-spin-button,
    body.cf-page.cf-page-wheel .cf-wheel-spin-button {
        min-width: 0;
        padding: 0 8px;
        font-size: 9px;
    }
}

/* Shared tactical presentation for account, store and reward interactions. */
body.cf-page .cf-shop-page {
    width: min(1240px, calc(100% - 40px));
    margin: 30px auto 72px;
}

body.cf-page .cf-shop-hero,
body.cf-page .cf-shop-balance-card,
body.cf-page .cf-shop-card,
body.cf-page .cf-shop-modal {
    border-color: rgba(255, 194, 82, .18);
    border-radius: 4px;
    background: linear-gradient(145deg, rgba(20, 29, 37, .96), rgba(9, 14, 20, .98));
    box-shadow: 0 18px 48px rgba(0, 0, 0, .3);
}

body.cf-page .cf-shop-hero-copy h1 span,
body.cf-page .cf-shop-eyebrow,
body.cf-page .cf-shop-card-subcat,
body.cf-page .cf-shop-card-price-gem {
    color: var(--site-primary);
}

body.cf-page .cf-shop-hero-badges {
    color: #b6c3c9;
}

body.cf-page .cf-shop-balance-row,
body.cf-page .cf-shop-calc-table,
body.cf-page .cf-shop-modal-item-summary,
body.cf-page .cf-shop-modal-thumb {
    border-color: rgba(173, 208, 216, .12);
    border-radius: 3px;
    background: rgba(5, 10, 15, .66);
}

body.cf-page .cf-shop-balance-gem,
body.cf-page .cf-shop-card-price-gp {
    color: var(--site-tactical-cyan);
}

body.cf-page .cf-shop-cat-tab,
body.cf-page .cf-shop-chip,
body.cf-page .cf-shop-page-btn,
body.cf-page .cf-shop-btn-history,
body.cf-page .cf-shop-btn-gift {
    border: 1px solid rgba(255, 194, 82, .2) !important;
    border-radius: 3px !important;
    background: rgba(17, 26, 34, .82) !important;
    color: #c4d2d7 !important;
}

body.cf-page .cf-shop-cat-tab:hover,
body.cf-page .cf-shop-chip:hover,
body.cf-page .cf-shop-page-btn:hover,
body.cf-page .cf-shop-btn-history:hover,
body.cf-page .cf-shop-btn-gift:hover {
    border-color: rgba(255, 194, 82, .55) !important;
    background: rgba(255, 194, 82, .08) !important;
    color: #e7fbff !important;
}

body.cf-page .cf-shop-cat-tab.active,
body.cf-page .cf-shop-chip.active,
body.cf-page .cf-shop-page-btn.active {
    border-color: var(--site-primary) !important;
    background: rgba(243, 155, 39, .12) !important;
    color: var(--site-primary) !important;
}

body.cf-page .cf-shop-btn-buy,
body.cf-page .cf-shop-btn-recharge {
    border: 1px solid var(--site-primary) !important;
    border-radius: 3px !important;
    background: var(--site-primary) !important;
    color: #111609 !important;
    box-shadow: none !important;
    font-weight: 850;
}

body.cf-page .cf-shop-btn-buy:hover,
body.cf-page .cf-shop-btn-recharge:hover {
    border-color: var(--site-primary-hover) !important;
    background: var(--site-primary-hover) !important;
    color: #111609 !important;
    transform: translateY(-1px);
}

body.cf-page .cf-shop-card-thumb {
    border: 1px solid rgba(255, 194, 82, .1);
    border-radius: 3px;
    background: radial-gradient(circle, rgba(255, 194, 82, .08), rgba(5, 10, 15, .9) 72%);
}

body.cf-page .cf-shop-search-box input,
body.cf-page .cf-shop-sort-select {
    border-color: rgba(255, 194, 82, .18);
    border-radius: 3px;
    background: #080e14;
    color: var(--site-text);
}

body.cf-page .cf-shop-search-box input:focus,
body.cf-page .cf-shop-sort-select:focus {
    border-color: var(--site-tactical-cyan);
}

body.cf-page .cf-shop-modal-backdrop {
    z-index: 3000;
}

body.cf-page .cf-shop-modal-header {
    border-bottom-color: rgba(255, 194, 82, .14);
    background: linear-gradient(100deg, rgba(255, 194, 82, .06), transparent);
}

body.cf-page .cf-shop-modal-title i,
body.cf-page .cf-shop-modal-item-meta i {
    color: var(--site-tactical-cyan);
}

body.cf-page .cf-shop-modal-body {
    max-height: min(72vh, 640px);
    overflow-y: auto;
}

body.cf-page .cf-wheel-live.is-paused {
    color: #de5752;
}

body.cf-page .cf-wheel-live.is-paused i {
    background: #de5752;
    box-shadow: 0 0 10px rgba(222, 87, 82, .6);
}

body.cf-page .cf-wheel-center-button:disabled,
body.cf-page .cf-wheel-spin-button:disabled {
    cursor: not-allowed !important;
    filter: grayscale(.7);
    opacity: .48;
}

body.cf-page .cf-wheel-status a {
    color: var(--site-primary);
    font-weight: 850;
    text-decoration: none;
}

body.cf-page .cf-wheel-winner-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    max-height: min(46vh, 420px);
    margin-bottom: 20px;
    padding: 14px;
    overflow-y: auto;
    border: 1px solid rgba(255, 194, 82, .16);
    border-radius: 4px;
    background: rgba(3, 8, 13, .6);
}

body.cf-page .cf-wheel-winner-item {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    text-align: left;
}

body.cf-page .cf-wheel-winner-item:last-child {
    border-bottom: 0;
}

body.cf-page .cf-wheel-winner-item img {
    flex: 0 0 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(243, 155, 39, .22));
}

body.cf-page .cf-wheel-winner-item > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

body.cf-page .cf-wheel-winner-item strong {
    font-size: 13px;
    overflow-wrap: anywhere;
}

body.cf-page .cf-wheel-winner-item small {
    color: var(--site-muted);
    font-size: 10px;
}

body.cf-page .cf-wheel-winner-dialog .cf-lightbox-btn-primary {
    width: 100%;
    min-height: 44px;
}

body.cf-page .cf-account-dialog {
    border-color: rgba(255, 194, 82, .26);
    border-radius: 6px;
    background: linear-gradient(145deg, rgba(20, 29, 37, .98), rgba(9, 14, 20, .99));
}

body.cf-page .cf-account-tabs button.active {
    border-color: var(--site-primary);
    background: rgba(243, 155, 39, .1);
    color: var(--site-primary);
}

body.cf-page .cf-account-form input {
    border-radius: 3px;
    background: rgba(5, 10, 15, .86);
}

body.cf-page .cf-profile-hero-card,
body.cf-page .cf-profile-card,
body.cf-page .cf-stat-card {
    border-radius: 4px;
}

body.cf-page .cf-home-activity-card .news-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

body.cf-page-profile .cf-profile-hero-card {
    border-color: var(--site-line-neon);
    border-radius: 4px;
    background: radial-gradient(ellipse at 12% 40%, rgba(255, 194, 82, .1), transparent 50%), linear-gradient(145deg, rgba(20, 29, 37, .98), rgba(9, 14, 20, .99));
    box-shadow: 0 18px 48px rgba(0, 0, 0, .35);
}

body.cf-profile-modal-open {
    overflow: hidden;
}

body.cf-page-profile .cf-profile-card,
body.cf-page-profile .cf-stat-card,
body.cf-page-profile .cf-profile-hero-rank {
    border-color: var(--site-line);
    border-radius: 4px;
    background: linear-gradient(145deg, rgba(20, 29, 37, .96), rgba(9, 14, 20, .98));
    box-shadow: 0 14px 36px rgba(0, 0, 0, .24);
}

body.cf-page-profile .cf-profile-badge,
body.cf-page-profile .cf-profile-security-row,
body.cf-page-profile .cf-profile-side-nav a,
body.cf-page-profile .cf-profile-search,
body.cf-page-profile .cf-profile-inventory-empty {
    border-radius: 3px;
}

body.cf-page-profile .cf-profile-vip-badge {
    border-color: rgba(243, 155, 39, .35) !important;
    background: rgba(243, 155, 39, .08) !important;
    color: var(--site-primary) !important;
    box-shadow: none !important;
}

body.cf-page-profile .cf-profile-status-badge.is-created {
    border-color: rgba(255, 194, 82, .28);
    background: rgba(255, 194, 82, .08);
    color: var(--site-tactical-cyan);
}

body.cf-page-profile .cf-profile-status-badge.is-missing {
    border-color: rgba(222, 87, 82, .3);
    background: rgba(222, 87, 82, .08);
    color: #ff918b;
}

body.cf-page-profile .cf-profile-card-kicker,
body.cf-page-profile .cf-profile-sec-icon,
body.cf-page-profile .cf-profile-search,
body.cf-page-profile .cf-profile-empty-icon {
    color: var(--site-tactical-cyan);
}

body.cf-page-profile .cf-stat-icon {
    border-color: rgba(243, 155, 39, .22);
    border-radius: 3px;
    background: rgba(243, 155, 39, .08);
    color: var(--site-primary);
}

body.cf-page-profile .cf-profile-security-row,
body.cf-page-profile .cf-profile-side-nav a {
    border-color: var(--site-line);
    background: rgba(5, 10, 15, .55);
}

body.cf-page-profile .cf-profile-side-nav a:hover {
    border-color: var(--site-line-neon);
    background: rgba(255, 194, 82, .08);
    color: var(--site-text);
}

body.cf-page-profile .cf-profile-side-nav a > i:first-child {
    color: var(--site-tactical-cyan);
}

body.cf-page-profile .cf-profile-search {
    border-color: var(--site-line-neon);
    background: rgba(5, 10, 15, .72);
}

body.cf-page-profile .cf-profile-inventory-empty {
    border-color: var(--site-line);
    background: rgba(5, 10, 15, .36);
}

body.cf-page-profile .cf-frame-modal-dialog {
    border-color: var(--site-line-neon);
    border-radius: 4px;
    background: linear-gradient(145deg, rgba(20, 29, 37, .99), rgba(9, 14, 20, .99));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .72);
}

body.cf-page-profile .cf-frame-modal-header {
    border-bottom-color: var(--site-line);
}

body.cf-page-profile .cf-frame-modal-icon,
body.cf-page-profile .cf-frame-item {
    border-radius: 3px;
}

body.cf-page-profile .cf-frame-item {
    border-color: var(--site-line);
    background: rgba(5, 10, 15, .48);
}

body.cf-page-profile .cf-frame-item.is-selected {
    border-color: var(--site-primary) !important;
    background: rgba(243, 155, 39, .1) !important;
}

body.cf-page-profile .cf-frame-item.is-selected .cf-frame-name {
    color: var(--site-primary);
}

body.cf-page-profile .cf-frame-badge-active {
    border-color: var(--site-primary);
    background: var(--site-primary);
    color: #111609;
    box-shadow: none;
}

body.cf-page-profile .cf-profile-hero-actions > * {
    min-height: 42px;
}

body.cf-page .cf-home-ops-online.is-offline i {
    background: #ff6b6b;
    box-shadow: 0 0 10px rgba(255, 107, 107, .65);
}

@media (max-width: 640px) {
    body.cf-page-profile .cf-profile-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    body.cf-page-profile .cf-stat-card {
        gap: 9px;
        padding: 12px;
    }

    body.cf-page-profile .cf-stat-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    body.cf-page-profile .cf-profile-hero-actions > * {
        flex: 1 1 100%;
        justify-content: center;
    }

    body.cf-page .cf-shop-page {
        width: calc(100% - 24px);
        margin-top: 20px;
    }

    body.cf-page .cf-shop-hero {
        align-items: stretch;
        flex-direction: column;
        padding: 24px 18px;
    }

    body.cf-page .cf-shop-balance-card {
        min-width: 0;
    }

    body.cf-page .cf-shop-cat-tabs {
        gap: 7px;
        margin-right: -12px;
        padding-right: 12px;
    }

    body.cf-page .cf-shop-cat-tab {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 8px 12px;
        font-size: 11px;
    }

    body.cf-page .cf-shop-filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    body.cf-page .cf-shop-filter-controls,
    body.cf-page .cf-shop-search-box {
        width: 100%;
    }

    body.cf-page .cf-shop-sort-select {
        min-height: 42px;
    }

    body.cf-page .cf-shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
        gap: 12px;
    }
}

@media (max-width: 360px) {
    body.cf-page-profile .cf-profile-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.cf-page-profile .cf-profile-hero-actions > *,
    body.cf-page-profile .cf-stat-card,
    body.cf-page-profile .cf-frame-item {
        transition: none;
    }

    body.cf-page .cf-shop-card,
    body.cf-page .cf-shop-btn-buy,
    body.cf-page .cf-shop-btn-gift,
    body.cf-page .cf-shop-btn-recharge {
        transition: none;
    }
}

/* Reference-inspired shared navigation: centered tactical tabs and framed active state. */
.site-announcement {
    min-height: 27px;
    background: rgba(8, 10, 12, .88);
    border-bottom-color: rgba(255, 255, 255, .08);
}

.site-announcement-inner {
    min-height: 27px;
    max-width: 1620px;
}

.site-announcement-label {
    color: #ffc252;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.site-announcement-copy {
    color: #777a7d;
}

.site-announcement-status {
    border-color: rgba(243, 155, 39, .3);
    background: rgba(243, 155, 39, .08);
    color: #ffc252;
}

@media (min-width: 1200px) {
    header.site-header-legacy {
        position: sticky;
        z-index: 25;
        display: block;
        width: min(100% - 32px, 1620px);
        min-height: 82px;
        margin-inline: auto;
        padding: 0 clamp(12px, 1.4vw, 22px);
        border: 0;
        border-top: 1px solid rgba(255, 255, 255, .15);
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        background:
            linear-gradient(90deg, rgba(10, 13, 16, .86), rgba(13, 15, 17, .7) 50%, rgba(10, 13, 16, .86));
        box-shadow: none;
        backdrop-filter: blur(18px) saturate(115%);
        -webkit-backdrop-filter: blur(18px) saturate(115%);
    }

    header.site-header-legacy::before,
    header.site-header-legacy::after {
        position: absolute;
        top: -1px;
        width: 52px;
        height: 8px;
        border-top: 1px solid rgba(255, 255, 255, .17);
        content: "";
        pointer-events: none;
    }

    header.site-header-legacy::before {
        left: 0;
        border-right: 1px solid rgba(255, 255, 255, .17);
        transform: skewX(-42deg);
        transform-origin: left top;
    }

    header.site-header-legacy::after {
        right: 0;
        border-left: 1px solid rgba(255, 255, 255, .17);
        transform: skewX(42deg);
        transform-origin: right top;
    }

    header.site-header-legacy.is-scrolled {
        min-height: 72px;
        background: rgba(9, 12, 15, .95);
        box-shadow: 0 14px 36px rgba(0, 0, 0, .34);
    }

    .logo-container {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: clamp(12px, 1.5vw, 24px);
        transform: translateY(-50%);
    }

    .logo-container:hover {
        transform: translateY(calc(-50% - 1px));
    }

    .logo-container .site-logo {
        width: clamp(124px, 10vw, 152px);
        max-height: 46px;
    }

    .primary-nav {
        position: absolute;
        inset: 0;
        display: block;
        min-width: 0;
        pointer-events: none;
    }

    .primary-nav-links {
        position: absolute;
        top: 0;
        left: clamp(180px, 16vw, 280px);
        right: clamp(340px, 30vw, 470px);
        display: flex;
        height: 100%;
        align-items: stretch;
        justify-content: center;
        gap: clamp(0px, .45vw, 8px);
        pointer-events: auto;
    }

    .primary-nav-links > a,
    .nav-dropdown > .nav-dropdown-btn {
        position: relative;
        display: inline-flex;
        height: 100%;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 0 clamp(6px, .8vw, 13px);
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #a4a8aa;
        font-size: clamp(9px, .74vw, 12px);
        font-weight: 850;
        letter-spacing: .08em;
        text-transform: uppercase;
        transition: color .18s ease, background .18s ease;
    }

    .primary-nav-links > a i:first-child,
    .nav-dropdown > .nav-dropdown-btn > i:first-child {
        display: none;
    }

    .primary-nav-links > a:hover,
    .nav-dropdown > .nav-dropdown-btn:hover,
    .nav-dropdown.open > .nav-dropdown-btn {
        transform: none;
        background: rgba(255, 255, 255, .035);
        color: #fff;
    }

    .primary-nav-links > a.active,
    .nav-dropdown > .nav-dropdown-btn.active {
        background: transparent;
        color: #fff;
        box-shadow: none;
    }

    .primary-nav-links > a.active::before,
    .nav-dropdown > .nav-dropdown-btn.active::before {
        position: absolute;
        top: -1px;
        right: 8px;
        left: 8px;
        height: 2px;
        background: #f39b27;
        box-shadow: 0 0 14px rgba(243, 155, 39, .58);
        content: "";
    }

    .primary-nav-links > a.active::after,
    .nav-dropdown > .nav-dropdown-btn.active::after {
        position: absolute;
        bottom: -1px;
        left: 50%;
        width: 0;
        height: 0;
        border-top: 8px solid #f39b27;
        border-right: 7px solid transparent;
        border-left: 7px solid transparent;
        background: transparent;
        box-shadow: none;
        content: "";
        transform: translateX(-50%);
    }

    .nav-dropdown {
        height: 100%;
        pointer-events: auto;
    }

    .nav-dropdown > .nav-dropdown-btn {
        width: 100%;
    }

    .nav-dropdown-arrow {
        display: inline-block !important;
        margin-left: 2px;
        color: #7d8184 !important;
        font-size: 9px !important;
    }

    .primary-nav-actions {
        position: absolute;
        top: 50%;
        right: clamp(12px, 1.5vw, 24px);
        display: flex;
        width: auto;
        align-items: center;
        gap: 8px;
        transform: translateY(-50%);
        pointer-events: auto;
    }

    body.cf-page .primary-nav-actions .nav-action-download,
    body.cf-page .primary-nav-actions .nav-action {
        min-height: 36px;
        padding-inline: 12px;
        border-radius: 0;
        font-size: 10px;
        letter-spacing: .04em;
    }

    body.cf-page .primary-nav-actions .nav-action-download {
        border: 1px solid rgba(255, 255, 255, .3) !important;
        background: rgba(8, 10, 12, .48) !important;
        color: #e8e8e8 !important;
        box-shadow: none !important;
    }

    body.cf-page .primary-nav-actions .nav-action-download:hover,
    body.cf-page .primary-nav-actions .nav-action-download.active {
        border-color: #f39b27 !important;
        background: rgba(243, 155, 39, .12) !important;
        color: #ffc252 !important;
        box-shadow: none !important;
    }

    body.cf-page .primary-nav-actions .nav-action-login {
        border: 1px solid rgba(255, 255, 255, .24) !important;
        background: rgba(8, 10, 12, .24) !important;
        color: #e1e2e2 !important;
        box-shadow: none !important;
    }

    body.cf-page .primary-nav-actions .nav-action-register {
        border: 1px solid #f39b27 !important;
        background: #f39b27 !important;
        color: #16120d !important;
        box-shadow: none !important;
    }

    body.cf-page .primary-nav-actions .nav-action-login:hover,
    body.cf-page .primary-nav-actions .nav-action-download:hover {
        transform: translateY(-1px);
    }

    .nav-gem-balance {
        min-height: 36px;
    }

    .nav-user-pill {
        min-height: 38px;
    }

    .nav-dropdown-menu {
        top: calc(100% - 8px);
        border-radius: 2px;
        border-color: rgba(243, 155, 39, .28);
    }
}

@media (max-width: 1199px) {
    .site-announcement-inner {
        width: calc(100% - 32px);
    }
}

@media (max-width: 1080px) {
    .site-announcement {
        min-height: 29px;
    }

    .site-announcement-inner {
        min-height: 29px;
    }

    .site-announcement-label {
        font-size: 8px;
    }

    header.site-header-legacy {
        border-bottom-color: rgba(243, 155, 39, .25);
        background: rgba(12, 14, 16, .88);
        box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
    }
}

@media (prefers-reduced-motion: reduce) {
    .primary-nav-links > a,
    .nav-dropdown > .nav-dropdown-btn {
        transition: none;
    }
}


/* =========================================================================
   CROSSFIRE V3 SYNCHRONIZED THEME & HEADER ACROSS ALL PAGES
   ========================================================================= */

/* Fixed CrossFire V3 Atmospheric Background matching Home */
.page-frame-bg {
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    width: 100% !important;
    height: 100% !important;
}
.page-frame-bg-main img,
.page-frame-bg-blur img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    inset: 0 !important;
}
.page-frame-bg-blur {
    opacity: 0.65 !important;
}
body.cf-page {
    background: #0b0c0e !important;
    color: #eef3f4 !important;
    min-height: 100vh !important;
    position: relative !important;
}
main.page-shell,
#mainContent,
.page-shell {
    position: relative !important;
    z-index: 1 !important;
}

/* Hide legacy announcement bar on all pages to match home */
.site-announcement {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

/* V3 Synchronized Header Bar (54px height, exact match with Image 2) */
header.site-header-legacy,
header.site-header-legacy--v3 {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
    height: 54px !important;
    min-height: 54px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: linear-gradient(180deg, rgba(14, 18, 26, 0.98) 0%, rgba(9, 11, 15, 0.96) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

.site-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 54px !important;
}

/* Logo */
.v3-logo-wrap {
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin-right: 18px !important;
    text-decoration: none !important;
}
.v3-site-logo {
    height: 32px !important;
    width: auto !important;
    display: block !important;
    object-fit: contain !important;
}

/* Navigation Menu - Image 2 Style */
header.site-header-legacy .navigation-menu {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
}
header.site-header-legacy .navigation-menu .menu-item {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 54px !important;
    padding: 0 16px !important;
    min-width: 76px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
}
header.site-header-legacy .navigation-menu .menu-item-text {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    color: rgba(255, 255, 255, 0.72) !important;
    transition: color 0.15s ease !important;
}
header.site-header-legacy .navigation-menu .menu-item:hover .menu-item-text {
    color: #fff !important;
}
header.site-header-legacy .navigation-menu .menu-item.cur .menu-item-text {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 157, 43, 0.6) !important;
}

/* Active Highlight with Image 2 Notch */
header.site-header-legacy .navigation-menu .menu-item.cur:before {
    content: "" !important;
    position: absolute !important;
    top: 0px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 128px !important;
    height: 87px !important;
    background-image: url('/img/cfhd-navigation-menu-item-cur.Bft4LNZt.png') !important;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
    pointer-events: none !important;
    z-index: 2 !important;
    opacity: 1 !important;
}

/* Dropdown styling */
header.site-header-legacy .nav-dropdown {
    position: relative !important;
    height: 54px !important;
    display: inline-flex !important;
    align-items: center !important;
}
header.site-header-legacy .nav-dropdown-btn {
    height: 54px !important;
}
header.site-header-legacy .nav-dropdown-menu {
    position: absolute !important;
    top: 54px !important;
    left: 0 !important;
    min-width: 210px !important;
    background: rgba(14, 18, 26, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-top: 2px solid #ff9d2b !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
    border-radius: 0 0 6px 6px !important;
    padding: 6px 0 !important;
    z-index: 200 !important;
}
header.site-header-legacy .nav-dropdown-menu a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 16px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #d1d5db !important;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}
header.site-header-legacy .nav-dropdown-menu a:hover,
header.site-header-legacy .nav-dropdown-menu a.active {
    background: rgba(255, 157, 43, 0.12) !important;
    color: #ffb85d !important;
}

/* Right Side Actions */
header.site-header-legacy .primary-nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    position: static !important;
    transform: none !important;
}
.v3-vip-badge-sm {
    font-size: 10.5px !important;
    color: #ff9d2b !important;
    font-weight: 800 !important;
    margin-left: 4px !important;
}

/* High-Definition Tactical Action Buttons on all pages */
.market-float-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    height: 28px !important;
    line-height: 26px !important;
    padding: 0 10px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    border-style: solid !important;
    border-width: 1px !important;
    text-align: center !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transition: all 0.15s ease-in-out !important;
    font-family: inherit !important;
}
.market-float-button--default {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    color: #f1f2f5 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
.market-float-button--default:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: #ff9d2b !important;
    color: #ffb85d !important;
    box-shadow: 0 0 8px rgba(255, 157, 43, 0.35) !important;
}
.market-float-button--primary {
    background: linear-gradient(180deg, #ffb300 0%, #ff8f00 100%) !important;
    border-color: #ffd54f !important;
    color: #1a1505 !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 6px rgba(255, 143, 0, 0.35) !important;
}
.market-float-button--primary:hover {
    background: linear-gradient(180deg, #ffc107 0%, #ffa000 100%) !important;
    border-color: #fff9c4 !important;
    color: #000 !important;
    box-shadow: 0 0 10px rgba(255, 179, 0, 0.6) !important;
}

/* Mobile responsive menu */
@media (max-width: 991px) {
    header.site-header-legacy .mobile-toggle {
        display: block !important;
    }
    header.site-header-legacy .navigation-menu {
        display: none !important;
        position: fixed !important;
        top: 54px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(12, 14, 18, 0.98) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        flex-direction: column !important;
        height: auto !important;
        padding: 12px 0 !important;
        gap: 0 !important;
        z-index: 150 !important;
    }
    header.site-header-legacy.nav-open .navigation-menu {
        display: flex !important;
    }
    header.site-header-legacy .navigation-menu .menu-item {
        width: 100% !important;
        height: 44px !important;
        justify-content: flex-start !important;
        padding: 0 20px !important;
    }
    header.site-header-legacy .navigation-menu .menu-item.cur:before {
        display: none !important;
    }
    header.site-header-legacy .navigation-menu .menu-item.cur {
        background: rgba(255, 157, 43, 0.15) !important;
        border-left: 3px solid #ff9d2b !important;
    }
}


/* ==========================================================================
   CF V3 TACTICAL HUD: REAL-TIME NOTIFICATION BELL & DROPDOWN (MASTER SOLID)
   ========================================================================== */
.header-notif-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1000 !important;
}

.header-notif-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    outline: none !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
}

.header-notif-btn:hover,
.header-notif-btn.is-active {
    background: rgba(255, 107, 0, 0.16) !important;
    border-color: rgba(255, 107, 0, 0.5) !important;
    color: #ff9d2b !important;
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.3) !important;
}

.header-notif-btn.has-new-alert i {
    animation: notif-bell-ring 0.8s ease-in-out infinite !important;
    color: #ff9d2b !important;
}

@keyframes notif-bell-ring {
    0%, 100% { transform: rotate(0); }
    20%, 60% { transform: rotate(14deg); }
    40%, 80% { transform: rotate(-14deg); }
}

.notif-badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    min-width: 17px !important;
    height: 17px !important;
    padding: 0 4px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background: linear-gradient(135deg, #ff4757, #ff6b00) !important;
    color: #fff !important;
    border-radius: 9px !important;
    border: 1.5px solid #0d121a !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-shadow: 0 2px 6px rgba(255, 71, 87, 0.5) !important;
    pointer-events: none !important;
    z-index: 5 !important;
}

.notif-badge-mini {
    display: inline-block !important;
    padding: 1px 5px !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #ff4757, #ff6b00) !important;
    border-radius: 3px !important;
    margin-left: 6px !important;
    vertical-align: middle !important;
    line-height: 1.2 !important;
    box-shadow: 0 0 6px rgba(255, 107, 0, 0.4) !important;
}

.notif-dropdown {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    width: 360px !important;
    max-width: calc(100vw - 24px) !important;
    background: #0d121a !important;
    border: 1px solid rgba(255, 107, 0, 0.35) !important;
    border-radius: 6px !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.95), 0 0 24px rgba(255, 107, 0, 0.15) !important;
    z-index: 99999 !important;
    display: none !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    animation: notifDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.notif-dropdown:not(.is-open) {
    display: none !important;
}

.notif-dropdown.is-open {
    display: flex !important;
}

@keyframes notifDropdownFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.notif-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: #111722 !important;
    box-sizing: border-box !important;
}

.notif-header-title {
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    color: #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
}

.notif-mark-all {
    background: none !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 11px !important;
    cursor: pointer !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    transition: all 0.15s ease !important;
}

.notif-mark-all:hover {
    color: #ff9d2b !important;
    background: rgba(255, 107, 0, 0.1) !important;
}

.notif-tabs {
    display: flex !important;
    padding: 6px 10px !important;
    gap: 6px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: #090d14 !important;
    box-sizing: border-box !important;
}

.notif-tab {
    flex: 1 !important;
    background: none !important;
    border: 1px solid transparent !important;
    color: #8fa0b5 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 5px 8px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    text-align: center !important;
}

.notif-tab:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.notif-tab.is-active {
    color: #ff9d2b !important;
    background: rgba(255, 107, 0, 0.14) !important;
    border-color: rgba(255, 107, 0, 0.3) !important;
}

.notif-list {
    max-height: 320px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    background: #0d121a !important;
    box-sizing: border-box !important;
}

.notif-empty {
    padding: 32px 16px !important;
    text-align: center !important;
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

.notif-loading {
    padding: 28px 16px !important;
    text-align: center !important;
    color: #8fa0b5 !important;
    font-size: 12px !important;
}

.notif-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    cursor: pointer !important;
    background: transparent !important;
    transition: background 0.15s ease !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.notif-item:hover {
    background: rgba(255, 107, 0, 0.06) !important;
}

.notif-item.is-unread {
    background: rgba(255, 107, 0, 0.09) !important;
    border-left: 3px solid #ff9d2b !important;
}

.notif-item-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

.notif-item-icon.type-event {
    background: rgba(255, 107, 0, 0.15) !important;
    color: #ff9d2b !important;
    border: 1px solid rgba(255, 107, 0, 0.3) !important;
}

.notif-item-icon.type-system {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

.notif-item-icon.type-reward {
    background: rgba(234, 179, 8, 0.15) !important;
    color: #facc15 !important;
    border: 1px solid rgba(234, 179, 8, 0.3) !important;
}

.notif-item-body {
    flex: 1 !important;
    min-width: 0 !important;
}

.notif-item-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #f1f5f9 !important;
    margin-bottom: 3px !important;
    line-height: 1.35 !important;
}

.notif-item-content {
    font-size: 11px !important;
    color: #94a3b8 !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.notif-item-time {
    font-size: 10px !important;
    color: #64748b !important;
    margin-top: 4px !important;
}

.notif-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 14px !important;
    background: #111722 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-size: 11px !important;
    color: #94a3b8 !important;
    box-sizing: border-box !important;
}

.notif-footer-text {
    font-size: 11px !important;
    color: #8fa0b5 !important;
    display: inline-flex !important;
    align-items: center !important;
}

@media (max-width: 900px) {
    .header-notif-wrapper {
        position: relative !important;
    }
    .notif-dropdown {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        right: 0 !important;
        left: auto !important;
        width: min(340px, calc(100vw - 20px)) !important;
        max-width: calc(100vw - 20px) !important;
    }
}



/* ==========================================================================
   CF V3 AUTH MODAL ABSOLUTE CLEAN INPUT RESET (ELIMINATES DOUBLE BOX EFFECT)
   ========================================================================== */
.auth-dialog .auth-input,
.auth-modal .auth-input,
.auth-input {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 4px !important;
    background: #07090e !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    position: relative !important;
}

.auth-dialog .auth-input:focus-within,
.auth-modal .auth-input:focus-within,
.auth-input:focus-within {
    border-color: #ff9d2b !important;
    background: #07090e !important;
    box-shadow: 0 0 14px rgba(255, 107, 0, 0.28) !important;
}

.auth-input > i {
    width: 18px !important;
    text-align: center !important;
    color: #ff9d2b !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
    pointer-events: none !important;
}

/* Force inner <input> to be 100% borderless, transparent, and seamless */
.auth-dialog .auth-input input,
.auth-modal .auth-input input,
.auth-form .auth-input input,
.auth-input input,
#modal-login-user,
#modal-login-pass,
#modal-register-user,
#modal-register-email,
#modal-register-pass,
#modal-register-captcha {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    outline: none !important;
    outline-offset: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
    box-sizing: border-box !important;
}

.auth-dialog .auth-input input:focus,
.auth-modal .auth-input input:focus,
.auth-form .auth-input input:focus,
.auth-input input:focus,
#modal-login-user:focus,
#modal-login-pass:focus,
#modal-register-user:focus,
#modal-register-email:focus,
#modal-register-pass:focus,
#modal-register-captcha:focus {
    border: none !important;
    border-width: 0 !important;
    outline: none !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

/* WebKit Autofill seamless fix */
.auth-input input:-webkit-autofill,
.auth-input input:-webkit-autofill:hover,
.auth-input input:-webkit-autofill:focus,
.auth-input input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #07090e inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

