/*
 * GMRGAME Reference Theme 4.0
 * Visual direction: Homeko Sehri + Homeko World.
 * Neutral black/graphite surfaces, restrained amber details, cream selection,
 * red primary calls to action and green download/success states.
 */

:root {
    --gmr-ref-bg: #050505;
    --gmr-ref-bg-soft: #090a0c;
    --gmr-ref-header: rgba(8, 9, 11, .97);
    --gmr-ref-panel: rgba(17, 18, 21, .94);
    --gmr-ref-panel-solid: #111216;
    --gmr-ref-panel-raised: #18191d;
    --gmr-ref-row: #17181b;
    --gmr-ref-row-alt: #1c1d21;
    --gmr-ref-row-hover: #242329;
    --gmr-ref-cream: #f3e6c7;
    --gmr-ref-cream-button: #ecdab0;
    --gmr-ref-gold: #c78b2b;
    --gmr-ref-gold-light: #efc177;
    --gmr-ref-red: #dc2626;
    --gmr-ref-red-dark: #991b1b;
    --gmr-ref-green: #18b66a;
    --gmr-ref-text: #e6e6e6;
    --gmr-ref-text-strong: #f7f7f7;
    --gmr-ref-muted: #9da0a8;
    --gmr-ref-muted-2: #737780;
    --gmr-ref-line: rgba(255, 255, 255, .09);
    --gmr-ref-line-gold: rgba(239, 193, 119, .28);
    --gmr-ref-line-gold-strong: rgba(239, 193, 119, .55);
    --gmr-ref-shadow: rgba(0, 0, 0, .52);
}

html {
    background: var(--gmr-ref-bg) !important;
}

body.wok-3d-shell {
    background: var(--gmr-ref-bg) !important;
    color: var(--gmr-ref-text) !important;
    font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home)::before {
    opacity: 1 !important;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(3, 4, 6, .42) 50%, rgba(0, 0, 0, .84)),
        linear-gradient(180deg, rgba(4, 5, 7, .28), rgba(0, 0, 0, .82)),
        url('/images/wok/wok-factions-battle.png') center top / cover no-repeat fixed !important;
}

body.wok-3d-shell.route-download::before,
body.wok-3d-shell.route-login-page::before,
body.wok-3d-shell.route-register-page::before,
body.wok-3d-shell.route-user-account::before {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .84), rgba(4, 6, 9, .4) 50%, rgba(0, 0, 0, .86)),
        linear-gradient(180deg, rgba(2, 3, 5, .25), rgba(0, 0, 0, .84)),
        url('/assets/images/gmr-feature-team-v2.jpg') center / cover no-repeat fixed !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .container,
body.wok-3d-shell:not(.route-landing):not(.route-home) .main,
body.wok-3d-shell:not(.route-landing):not(.route-home) .cont-items {
    background: transparent !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .cont-items {
    color: var(--gmr-ref-text) !important;
}

/* Global announcement and navigation */
.gmr-top-notice {
    min-height: 42px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .13) !important;
    background: linear-gradient(90deg, #9f1f22 0%, #d6282d 46%, #f0443f 100%) !important;
    box-shadow: inset 0 -1px rgba(85, 10, 10, .34) !important;
    color: #fff !important;
    font-family: Inter, "Segoe UI", sans-serif !important;
    text-shadow: none !important;
}

.gmr-top-notice::before,
.gmr-top-notice::after {
    border-color: rgba(255, 255, 255, .65) !important;
}

.gmr-top-notice a {
    border: 1px solid rgba(255, 255, 255, .22) !important;
    background: rgba(0, 0, 0, .18) !important;
    box-shadow: none !important;
    color: #fff !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .main > header {
    min-height: 96px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--gmr-ref-line) !important;
    background: var(--gmr-ref-header) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .28) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .wok-main-logo::before {
    background: radial-gradient(circle, rgba(199, 139, 43, .13), transparent 68%) !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .wok-main-logo img {
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .58)) !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .main-nav-menu > li + li::before {
    border-color: rgba(199, 139, 43, .52) !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .main-nav-menu > li > a {
    color: #d7d7da !important;
    font-family: Inter, "Segoe UI", sans-serif !important;
    font-weight: 650 !important;
    text-shadow: none !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .main-nav-menu > li > a:hover,
body.wok-3d-shell:not(.route-landing):not(.route-home) .main-nav-menu > li > a:focus {
    color: var(--gmr-ref-cream) !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .main-nav-menu > li > a::after {
    background: var(--gmr-ref-gold) !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .header-account-action,
body.wok-3d-shell:not(.route-landing):not(.route-home) .language-selector {
    min-height: 42px !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 5px !important;
    background: rgba(255, 255, 255, .045) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .22) !important;
    color: #e4e4e7 !important;
    text-shadow: none !important;
}

/* Reference order: login is cream, registration is a dark secondary action. */
body.wok-3d-shell:not(.route-landing):not(.route-home) .header-account-action:not(.header-account-action--register) {
    border-color: rgba(236, 218, 176, .9) !important;
    background: var(--gmr-ref-cream-button) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .26) !important;
    color: #2a1d09 !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .header-account-action--register {
    border-color: rgba(255, 255, 255, .15) !important;
    background: rgba(12, 12, 14, .82) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .26) !important;
    color: #ececef !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .header-account-action:hover,
body.wok-3d-shell:not(.route-landing):not(.route-home) .language-selector:hover {
    transform: translateY(-1px) !important;
    filter: brightness(1.08) !important;
}

/* Shared page heroes */
.gmr-page-hero,
.title-header,
.guide-hero,
.wok-download__hero,
.gmr-account-hero {
    min-height: 250px !important;
    margin-bottom: 38px !important;
    padding: 50px 24px 46px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--gmr-ref-line) !important;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(5, 6, 8, .26) 50%, rgba(0, 0, 0, .74)),
        linear-gradient(180deg, rgba(2, 3, 4, .22), rgba(0, 0, 0, .63)),
        url('/images/wok/wok-factions-battle.png') center 40% / cover no-repeat !important;
    box-shadow: none !important;
}

.gmr-page-hero::before,
.title-header::before,
.guide-hero::before,
.wok-download__hero::before,
.gmr-account-hero::before {
    background: linear-gradient(90deg, transparent, var(--gmr-ref-line-gold) 22%, var(--gmr-ref-line-gold) 78%, transparent) !important;
    box-shadow: none !important;
}

.gmr-page-hero::after,
.title-header::after,
.guide-hero::after,
.wok-download__hero::after,
.gmr-account-hero::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 30%, transparent 70%, rgba(0, 0, 0, .38)) !important;
}

.page-title,
.guide-hero h1,
.guide-hero-title,
.wok-download__title,
.gmr-page-hero__title,
.gmr-account-hero__title,
.login-page-title,
.register-page-title {
    color: var(--gmr-ref-cream) !important;
    background: linear-gradient(180deg, #fff7dd 0%, #e7d2a3 58%, #b98a3a 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-weight: 800 !important;
    letter-spacing: .035em !important;
    text-shadow: none !important;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .7)) !important;
}

.gmr-page-hero__eyebrow,
.gmr-account-hero__eyebrow,
.gmr-auth-eyebrow {
    color: var(--gmr-ref-gold-light) !important;
    font-family: Inter, "Segoe UI", sans-serif !important;
    text-shadow: none !important;
}

.gmr-page-hero__subtitle,
.guide-hero-subtitle,
.wok-download__subtitle,
.gmr-account-hero__subtitle,
.login-page-subtitle,
.register-page-subtitle {
    color: var(--gmr-ref-muted) !important;
    font-family: Inter, "Segoe UI", sans-serif !important;
    text-shadow: none !important;
}

/* Neutral content surfaces used by all inner pages. */
.ranking-container .ranking-sidebar,
.ranking-container .tab-content,
.clan-ranking-container > .row > .col-md-3,
.clan-ranking-container .tab-content,
.guide-nav-wrapper,
.wok-guide-content,
.guide-block,
.wok-download__panel,
.wok-download__requirements,
.wok-download__steps,
.news-item,
.news-detail-content,
.news-detail-actions,
.login-page-container,
.register-page-container,
.account-sidebar,
.account-content,
.info-card,
.modal-content {
    border: 1px solid var(--gmr-ref-line-gold) !important;
    border-radius: 5px !important;
    background: linear-gradient(180deg, rgba(24, 25, 29, .97), rgba(14, 15, 18, .98)) !important;
    box-shadow: 0 18px 42px var(--gmr-ref-shadow), inset 0 1px rgba(255, 255, 255, .035) !important;
}

.ranking-container .ranking-sidebar,
.clan-ranking-container > .row > .col-md-3,
.guide-nav-wrapper,
.wok-download__steps,
.account-sidebar {
    background: rgba(17, 18, 21, .96) !important;
}

.ranking-container .ranking-sidebar,
.clan-ranking-container > .row > .col-md-3 {
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
}

/* Inputs */
body.wok-3d-shell:not(.route-landing):not(.route-home) .form-control,
body.wok-3d-shell:not(.route-landing):not(.route-home) input,
body.wok-3d-shell:not(.route-landing):not(.route-home) select,
body.wok-3d-shell:not(.route-landing):not(.route-home) textarea {
    border: 1px solid rgba(255, 255, 255, .13) !important;
    border-radius: 5px !important;
    background: rgba(12, 13, 16, .92) !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .34) !important;
    color: var(--gmr-ref-text-strong) !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .form-control:focus,
body.wok-3d-shell:not(.route-landing):not(.route-home) input:focus,
body.wok-3d-shell:not(.route-landing):not(.route-home) select:focus,
body.wok-3d-shell:not(.route-landing):not(.route-home) textarea:focus {
    border-color: rgba(239, 193, 119, .62) !important;
    background: #0f1013 !important;
    box-shadow: 0 0 0 3px rgba(199, 139, 43, .12) !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) input::placeholder,
body.wok-3d-shell:not(.route-landing):not(.route-home) textarea::placeholder {
    color: #6f737c !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) input:-webkit-autofill,
body.wok-3d-shell:not(.route-landing):not(.route-home) input:-webkit-autofill:hover,
body.wok-3d-shell:not(.route-landing):not(.route-home) input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--gmr-ref-text-strong) !important;
    caret-color: var(--gmr-ref-text-strong) !important;
    box-shadow: inset 0 0 0 1000px #0d0e11, 0 0 0 1px rgba(255, 255, 255, .13) !important;
    transition: background-color 9999s ease-out 0s !important;
}

/* Shared cream primary buttons */
.login-button,
.register-button,
.btn-submit,
.ranking-container #player_search_button,
.clan-ranking-container #clan_search_button,
.news-detail-back-btn {
    border: 1px solid rgba(236, 218, 176, .96) !important;
    border-radius: 5px !important;
    background: var(--gmr-ref-cream-button) !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .3) !important;
    color: #2a1d09 !important;
    font-family: Inter, "Segoe UI", sans-serif !important;
    font-weight: 800 !important;
    text-shadow: none !important;
}

.login-button:hover:not(:disabled),
.register-button:hover:not(:disabled),
.btn-submit:hover,
.ranking-container #player_search_button:hover,
.clan-ranking-container #clan_search_button:hover,
.news-detail-back-btn:hover {
    background: #f6e9c8 !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .34) !important;
    transform: translateY(-1px) !important;
    filter: none !important;
}

/* Tabs, category filters and side navigation */
.ranking-container .page-menu li a,
.ranking-container .filter-menu li a,
.clan-ranking-container .page-menu li a,
.clan-ranking-container .filter-menu li a,
.gmr-news-filter,
.guide-list li a,
.sidebar-menu li a,
.sidebar-menu2 li a {
    border: 1px solid rgba(255, 255, 255, .11) !important;
    border-radius: 5px !important;
    background: rgba(255, 255, 255, .035) !important;
    box-shadow: none !important;
    color: #d4d4d8 !important;
    font-family: Inter, "Segoe UI", sans-serif !important;
    text-shadow: none !important;
}

.ranking-container .page-menu li.active a,
.ranking-container .page-menu li a:hover,
.ranking-container .filter-menu li.active a,
.ranking-container .filter-menu li a:hover,
.clan-ranking-container .page-menu li.active a,
.clan-ranking-container .page-menu li a:hover,
.clan-ranking-container .filter-menu li.active a,
.clan-ranking-container .filter-menu li a:hover,
.gmr-news-filter.is-active,
.gmr-news-filter:hover,
.guide-list li a.active,
.guide-list li a:hover,
.sidebar-menu li a.active,
.sidebar-menu li a:hover {
    border-color: rgba(236, 218, 176, .92) !important;
    background: var(--gmr-ref-cream-button) !important;
    box-shadow: 0 5px 13px rgba(0, 0, 0, .24) !important;
    color: #2a1d09 !important;
    text-shadow: none !important;
}

/* Ranking tables */
.ranking-container .tab-content,
.clan-ranking-container .tab-content {
    overflow: hidden !important;
    background: rgba(15, 16, 19, .97) !important;
}

.ranking-container table,
.ranking-container .table,
.clan-ranking-container table,
.clan-ranking-container .table {
    background: rgba(18, 18, 20, .8) !important;
    color: var(--gmr-ref-text) !important;
    font-family: Inter, "Segoe UI", sans-serif !important;
}

.ranking-container table thead,
.ranking-container .table thead,
.clan-ranking-container .table thead {
    background: rgba(255, 255, 255, .043) !important;
    box-shadow: none !important;
}

.ranking-container table thead th,
.ranking-container .table thead th,
.clan-ranking-container .table thead th {
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
    background: transparent !important;
    color: #a8adb7 !important;
    text-shadow: none !important;
}

.ranking-container table tbody tr,
.ranking-container .table tbody tr,
.clan-ranking-container .table tbody tr {
    background: var(--gmr-ref-row) !important;
    box-shadow: none !important;
}

.ranking-container table tbody tr:nth-child(even),
.ranking-container .table tbody tr:nth-child(even),
.clan-ranking-container .table tbody tr:nth-child(even) {
    background: var(--gmr-ref-row-alt) !important;
}

.ranking-container table tbody tr:hover,
.ranking-container .table tbody tr:hover,
.clan-ranking-container .table tbody tr:hover {
    background: var(--gmr-ref-row-hover) !important;
}

.ranking-container table tbody td,
.ranking-container .table tbody td,
.ranking-container .table-arty-td,
.clan-ranking-container .table tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, .055) !important;
    background: transparent !important;
    color: #e6e6e8 !important;
}

.ranking-container table th:first-child,
.ranking-container table td:first-child,
.ranking-container table th:last-child,
.ranking-container table td:last-child {
    color: var(--gmr-ref-cream) !important;
}

.ranking-container .character-link {
    color: #f4f4f5 !important;
}

.ranking-container .clan-link {
    color: #a7b8d8 !important;
}

/* Guide */
.wok-guide-content-head {
    border-bottom-color: var(--gmr-ref-line) !important;
    background: rgba(255, 255, 255, .02) !important;
}

.wok-guide-current-title,
.guide-block > h2,
.guide-block > h3,
.guide-block .guide-title {
    color: var(--gmr-ref-cream) !important;
    text-shadow: none !important;
}

.guide-block {
    background: rgba(21, 22, 26, .92) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .32) !important;
}

.guide-block p,
.guide-block li,
.guide-desc {
    color: #c9cbd0 !important;
}

.guide-arty th {
    background: rgba(199, 139, 43, .08) !important;
    color: var(--gmr-ref-gold-light) !important;
}

.guide-arty td {
    border-color: var(--gmr-ref-line) !important;
    background: #17181b !important;
    color: #e2e2e4 !important;
}

/* Download page */
.wok-download-link {
    border: 1px solid rgba(24, 182, 106, .55) !important;
    border-radius: 6px !important;
    background: linear-gradient(90deg, rgba(5, 74, 43, .92), rgba(6, 57, 35, .92)) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .35), inset 0 1px rgba(255, 255, 255, .05) !important;
}

.wok-download-link:hover {
    border-color: rgba(43, 211, 129, .72) !important;
    background: linear-gradient(90deg, rgba(6, 91, 52, .96), rgba(7, 69, 42, .96)) !important;
    transform: translateY(-2px) !important;
}

.wok-download-step__icon {
    border: 1px solid rgba(236, 218, 176, .92) !important;
    background: var(--gmr-ref-cream-button) !important;
    box-shadow: 0 0 0 5px rgba(236, 218, 176, .07), 0 6px 15px rgba(0, 0, 0, .32) !important;
    color: #2a1d09 !important;
    text-shadow: none !important;
}

.wok-download-step:not(:last-child)::after {
    background: linear-gradient(90deg, rgba(239, 193, 119, .25), rgba(239, 193, 119, .7), rgba(239, 193, 119, .25)) !important;
    box-shadow: none !important;
}

.wok-requirement-card {
    border: 1px solid var(--gmr-ref-line) !important;
    border-top-color: var(--gmr-ref-line-gold-strong) !important;
    border-radius: 5px !important;
    background: rgba(17, 19, 24, .9) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .3) !important;
}

.wok-requirement-card th {
    color: var(--gmr-ref-gold-light) !important;
}

/* News */
.gmr-news-search {
    border-color: var(--gmr-ref-line) !important;
    background: rgba(12, 13, 16, .9) !important;
    box-shadow: none !important;
}

.news-item {
    background: rgba(14, 15, 18, .97) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .4) !important;
}

.news-item:hover {
    border-color: var(--gmr-ref-line-gold-strong) !important;
    background: #121317 !important;
    box-shadow: 0 22px 44px rgba(0, 0, 0, .52) !important;
    transform: translateY(-4px) !important;
}

.news-item-image {
    border-bottom-color: var(--gmr-ref-line) !important;
    box-shadow: none !important;
}

.news-item-content {
    background: linear-gradient(180deg, rgba(23, 24, 28, .96), rgba(13, 14, 17, .98)) !important;
}

.news-item-title,
.news-item-title a,
.news-detail-title {
    color: var(--gmr-ref-text-strong) !important;
    text-shadow: none !important;
}

.news-item-description,
.news-item-date,
.news-item-content,
.news-detail-content {
    color: var(--gmr-ref-muted) !important;
}

.news-item-link {
    color: var(--gmr-ref-gold-light) !important;
}

/* Login, registration and account */
.login-page-container,
.register-page-container {
    border-color: var(--gmr-ref-line-gold) !important;
    background: rgba(10, 11, 13, .96) !important;
    box-shadow: 0 28px 65px rgba(0, 0, 0, .62), inset 0 1px rgba(255, 255, 255, .035) !important;
}

.login-page-title,
.register-page-title {
    text-transform: none !important;
}

.login-form-group label,
.register-form-group label,
.account-content label {
    color: #d8d8dc !important;
    text-shadow: none !important;
}

.login-links,
.register-links {
    border-top-color: var(--gmr-ref-line) !important;
}

.login-links a,
.register-links a {
    color: var(--gmr-ref-gold-light) !important;
}

.account-sidebar,
.account-content {
    background: rgba(13, 14, 17, .97) !important;
}

.user-profile,
.balance-section,
.info-card {
    border: 1px solid var(--gmr-ref-line) !important;
    background: rgba(255, 255, 255, .035) !important;
    box-shadow: none !important;
}

.balance-value,
.user-username,
.info-card h2,
.info-card h3 {
    color: var(--gmr-ref-cream) !important;
    text-shadow: none !important;
}

/* Alerts and modal surfaces */
body.wok-3d-shell .modal-content {
    color: var(--gmr-ref-text) !important;
}

body.wok-3d-shell .modal-header {
    border-bottom: 1px solid var(--gmr-ref-line) !important;
    background: #18191d !important;
}

body.wok-3d-shell .alert-danger {
    border-color: rgba(239, 68, 68, .42) !important;
    background: rgba(127, 29, 29, .28) !important;
    color: #fca5a5 !important;
}

body.wok-3d-shell .alert-success {
    border-color: rgba(34, 197, 94, .38) !important;
    background: rgba(20, 83, 45, .28) !important;
    color: #86efac !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .site-footer {
    border-top: 1px solid var(--gmr-ref-line) !important;
    background: #050505 !important;
    box-shadow: none !important;
}

/* Landing page */
.gmr-home {
    background: var(--gmr-ref-bg) !important;
    color: var(--gmr-ref-text) !important;
}

.gmr-home__ambient {
    opacity: .32 !important;
    filter: grayscale(.12) saturate(.72) contrast(1.04) !important;
}

.gmr-home-header {
    border-bottom: 1px solid var(--gmr-ref-line) !important;
    background: var(--gmr-ref-header) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .28) !important;
}

.gmr-home-header__nav a {
    color: #d7d7da !important;
    font-family: Inter, "Segoe UI", sans-serif !important;
}

.gmr-home-header__nav a:hover,
.gmr-home-header__nav a:focus {
    color: var(--gmr-ref-cream) !important;
}

.gmr-home-header__nav a::after {
    background: var(--gmr-ref-gold) !important;
}

.gmr-home-header__icon,
.gmr-home-header__discord,
.gmr-home-header__mobile-toggle,
.gmr-home-utility__group {
    border: 1px solid rgba(255, 255, 255, .11) !important;
    background: rgba(255, 255, 255, .045) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .24) !important;
}

.gmr-home-header__download,
.gmr-home-primary-button {
    border: 1px solid #ef4444 !important;
    background: linear-gradient(180deg, #ef4444, var(--gmr-ref-red) 58%, var(--gmr-ref-red-dark)) !important;
    box-shadow: 0 6px 16px rgba(127, 29, 29, .35) !important;
    color: #fff !important;
}

.gmr-home-header__download:hover,
.gmr-home-primary-button:hover,
.gmr-home-primary-button:focus {
    background: linear-gradient(180deg, #f05252, #e12a2a 58%, #a31d1d) !important;
    box-shadow: 0 9px 20px rgba(127, 29, 29, .42) !important;
    transform: translateY(-1px) !important;
}

.gmr-home-utility__group a {
    color: #e4e4e7 !important;
}

.gmr-home-utility__group a.is-primary,
.gmr-home-utility__group a:hover,
.gmr-home-utility__group a:focus {
    background: var(--gmr-ref-cream-button) !important;
    color: #2a1d09 !important;
}

.gmr-home-hero {
    background-color: var(--gmr-ref-bg) !important;
}

.gmr-home-hero::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .28) 58%, #050505 100%) !important;
}

.gmr-home-hero__title,
.gmr-home-section-title {
    color: var(--gmr-ref-cream) !important;
    background: linear-gradient(180deg, #fff7dd 0%, #e7d2a3 58%, #b98a3a 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-family: Georgia, "Times New Roman", serif !important;
    text-shadow: none !important;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .72)) !important;
}

.gmr-home-hero__eyebrow,
.gmr-home-section__eyebrow,
.gmr-home-showcase__kicker,
.gmr-home-news__date,
.gmr-home-academy__bonus {
    color: var(--gmr-ref-gold-light) !important;
}

.gmr-home-hero__description,
.gmr-home-section__description {
    color: var(--gmr-ref-muted) !important;
}

.gmr-home-showcase__card,
.gmr-home-ranking,
.gmr-home-academy,
.gmr-home-news__card {
    border: 1px solid var(--gmr-ref-line-gold) !important;
    border-radius: 5px !important;
    background: linear-gradient(180deg, rgba(21, 22, 26, .94), rgba(10, 11, 13, .97)) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .03) !important;
}

.gmr-home-showcase__card:hover,
.gmr-home-news__card:hover,
.gmr-home-news__card:focus {
    border-color: var(--gmr-ref-line-gold-strong) !important;
    background-color: #111216 !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .58) !important;
    transform: translateY(-4px) !important;
}

.gmr-home-ticker {
    border-top-color: var(--gmr-ref-line) !important;
    border-bottom-color: var(--gmr-ref-line) !important;
    background: rgba(5, 5, 5, .88) !important;
}

.gmr-home-ranking__tabs {
    border-bottom: 1px solid var(--gmr-ref-line) !important;
    background: rgba(255, 255, 255, .025) !important;
    box-shadow: none !important;
}

.gmr-home-ranking__tab {
    border: 1px solid rgba(255, 255, 255, .09) !important;
    background: rgba(255, 255, 255, .025) !important;
    box-shadow: none !important;
    color: #b8bac0 !important;
}

.gmr-home-ranking__tab.is-active,
.gmr-home-ranking__tab:hover,
.gmr-home-ranking__tab:focus {
    border-color: rgba(236, 218, 176, .92) !important;
    background: var(--gmr-ref-cream-button) !important;
    box-shadow: 0 5px 13px rgba(0, 0, 0, .24) !important;
    color: #2a1d09 !important;
}

.gmr-home-ranking__row {
    border-bottom-color: rgba(255, 255, 255, .055) !important;
    background: var(--gmr-ref-row) !important;
    box-shadow: none !important;
}

.gmr-home-ranking__row:nth-child(even) {
    background: var(--gmr-ref-row-alt) !important;
}

.gmr-home-ranking__row:hover {
    background: var(--gmr-ref-row-hover) !important;
}

.gmr-home-ranking__score,
.gmr-home-academy-summary__value,
.gmr-home-academy__prize {
    color: var(--gmr-ref-cream) !important;
}

.gmr-home-section--academy {
    background: rgba(255, 255, 255, .012) !important;
}

.gmr-home-footer {
    border-top: 1px solid var(--gmr-ref-line) !important;
    background: #050505 !important;
    box-shadow: none !important;
}

@media (max-width: 1100px) {
    body.wok-3d-shell:not(.route-landing):not(.route-home) .main > header {
        min-height: 82px !important;
    }
}

@media (max-width: 820px) {
    .gmr-page-hero,
    .title-header,
    .guide-hero,
    .wok-download__hero,
    .gmr-account-hero {
        min-height: 205px !important;
        margin-bottom: 28px !important;
        padding: 38px 18px !important;
    }

    .ranking-container .tab-content,
    .clan-ranking-container .tab-content {
        overflow-x: auto !important;
    }
}

@media (max-width: 560px) {
    .gmr-top-notice {
        min-height: 38px !important;
    }

    .news-item:hover,
    .gmr-home-showcase__card:hover,
    .gmr-home-news__card:hover,
    .gmr-home-news__card:focus {
        transform: translateY(-2px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.wok-3d-shell *,
    body.wok-3d-shell *::before,
    body.wok-3d-shell *::after {
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* --------------------------------------------------------------------------
   Home 5.0: two-tier navigation and animated Academy roadmap
   Inspired by the information hierarchy of Homeko World, adapted to GMR.
   -------------------------------------------------------------------------- */

@keyframes gmrHomeHeaderGlow {
    0%, 100% { opacity: .38; translate: -35% 0; }
    50% { opacity: .78; translate: 35% 0; }
}

@keyframes gmrAcademyRail {
    from { background-position: 0 50%; }
    to { background-position: 220% 50%; }
}

@keyframes gmrAcademyEnergy {
    0% { opacity: 0; transform: translate3d(-55%, 48%, 0) scale(.75); }
    36% { opacity: .28; }
    72% { opacity: .12; }
    100% { opacity: 0; transform: translate3d(78%, -50%, 0) scale(1.22); }
}

@keyframes gmrAcademyActivePulse {
    0%, 100% { opacity: .35; transform: scale(.96); }
    50% { opacity: .88; transform: scale(1.035); }
}

@keyframes gmrAcademyStatusPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.24); }
}

@keyframes gmrAcademyPoolShine {
    0%, 25% { background-position: 115% 50%; }
    62%, 100% { background-position: -25% 50%; }
}

body.wok-3d-shell.route-landing,
body.wok-3d-shell.route-home {
    --gmr-home-header: 148px;
}

body.wok-3d-shell .gmr-home-header {
    height: var(--gmr-home-header) !important;
    border-bottom: 1px solid rgba(239, 193, 119, .22) !important;
    background: rgba(7, 8, 10, .985) !important;
    box-shadow:
        inset 0 -1px 0 rgba(255, 255, 255, .025),
        0 8px 0 rgba(0, 0, 0, .24),
        0 24px 54px rgba(0, 0, 0, .58) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

.gmr-home-header::after {
    content: "";
    position: absolute;
    right: 18%;
    bottom: -1px;
    left: 18%;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(239, 193, 119, .82), transparent);
    animation: gmrHomeHeaderGlow 7s ease-in-out infinite;
}

.gmr-home-header__top {
    height: 62px;
    border-bottom: 1px solid rgba(239, 193, 119, .16);
    background: #0b0c0e;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .55);
}

.gmr-home-header__top-inner,
.gmr-home-header__inner {
    width: min(1680px, calc(100% - 56px)) !important;
    margin: 0 auto;
}

.gmr-home-header__top-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.gmr-home-header__quick-actions,
.gmr-home-header__server-tools,
.gmr-home-header__server,
.gmr-home-header__language,
.gmr-home-header__main,
.gmr-home-header__nav,
.gmr-home-header__socials {
    display: flex;
    align-items: center;
}

.gmr-home-header__quick-actions {
    min-width: 0;
    gap: 10px;
}

.gmr-home-header__quick-actions a {
    position: relative;
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .075);
    border-bottom-color: rgba(0, 0, 0, .82);
    border-radius: 7px;
    background: linear-gradient(180deg, #18191c, #101114);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .055),
        0 3px 0 rgba(0, 0, 0, .48),
        0 8px 16px rgba(0, 0, 0, .28);
    color: #d7d8dc !important;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
    transition: transform .18s ease, border-color .18s ease, color .18s ease, filter .18s ease;
}

.gmr-home-header__quick-actions a i {
    color: #969aa3;
    font-size: 13px;
}

.gmr-home-header__quick-actions a.is-login {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    color: var(--gmr-ref-cream) !important;
}

.gmr-home-header__quick-actions a.is-login i,
.gmr-home-header__quick-actions a.is-download i {
    color: var(--gmr-ref-gold-light);
}

.gmr-home-header__quick-actions a.is-download {
    border-color: rgba(239, 193, 119, .25);
    color: #f0d6a1 !important;
}

.gmr-home-header__quick-actions a:hover,
.gmr-home-header__quick-actions a:focus {
    border-color: rgba(239, 193, 119, .46);
    color: #fff4d8 !important;
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.gmr-home-header__server-tools {
    flex: 0 0 auto;
    gap: 10px;
}

.gmr-home-header__server {
    min-height: 48px;
    gap: 10px;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 8px;
    background: rgba(16, 17, 20, .92);
    box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 8px 20px rgba(0, 0, 0, .25);
}

.gmr-home-header__server-icon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 6px;
    background: rgba(199, 139, 43, .12);
    color: var(--gmr-ref-gold-light);
}

.gmr-home-header__server-copy {
    display: grid;
    min-width: 92px;
    gap: 2px;
}

.gmr-home-header__server-copy small {
    color: #737780;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.gmr-home-header__server-copy strong {
    max-width: 130px;
    overflow: hidden;
    color: #ececef;
    font-size: 11px;
    letter-spacing: .06em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.gmr-home-header__online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-left: 11px;
    border-left: 1px solid rgba(255, 255, 255, .07);
    color: #7ddfa8;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .035em;
    text-transform: uppercase;
    white-space: nowrap;
}

.gmr-home-header__online > i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #21d279;
    box-shadow: 0 0 12px rgba(33, 210, 121, .82);
    animation: gmrStatusPulse 2.2s ease-in-out infinite;
}

.gmr-home-header__language {
    min-height: 40px;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 7px;
    background: rgba(255, 255, 255, .035);
    color: #c9cad0 !important;
    font-size: 10px;
    font-weight: 800;
}

.gmr-home-header__language img {
    width: 21px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .35);
}

.gmr-home-header__language > i {
    color: #6f737c;
    font-size: 8px;
}

.gmr-home-header__main {
    height: 86px;
    background: rgba(5, 6, 8, .96);
}

.gmr-home-header__inner {
    display: grid !important;
    grid-template-columns: 190px minmax(0, 1fr) auto !important;
    height: 100% !important;
    align-items: center;
    gap: clamp(20px, 3vw, 54px);
}

.gmr-home-header__logo {
    align-self: stretch;
    justify-content: flex-start !important;
    padding: 7px 0 !important;
}

.gmr-home-header__logo::before {
    inset: 4px -18px !important;
    background: radial-gradient(circle, rgba(199, 139, 43, .12), transparent 70%) !important;
}

.gmr-home-header__logo img {
    width: 178px !important;
    height: 72px !important;
    object-position: left center;
    filter: drop-shadow(0 5px 0 rgba(0, 0, 0, .42)) drop-shadow(0 10px 14px rgba(0, 0, 0, .66)) !important;
}

.gmr-home-header__nav {
    justify-content: flex-start !important;
    gap: clamp(13px, 1.65vw, 28px) !important;
}

.gmr-home-header__nav a {
    min-height: 52px !important;
    gap: 0 !important;
    color: #c9cbd0 !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    letter-spacing: .075em !important;
    white-space: nowrap;
}

.gmr-home-header__nav a::after {
    bottom: 5px !important;
    height: 2px !important;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, var(--gmr-ref-gold-light), transparent) !important;
}

.gmr-home-header__nav a.is-active,
.gmr-home-header__nav a:hover,
.gmr-home-header__nav a:focus {
    color: #fff0c7 !important;
}

.gmr-home-header__nav a.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.gmr-home-header__socials {
    justify-content: flex-end;
    gap: 7px;
}

.gmr-home-header__icon {
    width: 36px !important;
    height: 36px !important;
    border-color: rgba(255, 255, 255, .07) !important;
    border-radius: 50% !important;
    background: linear-gradient(180deg, #17181b, #0e0f12) !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, .055), 0 4px 0 rgba(0, 0, 0, .42), 0 9px 18px rgba(0, 0, 0, .32) !important;
    color: #b9bbc2 !important;
}

.gmr-home-header__icon:hover,
.gmr-home-header__icon:focus {
    border-color: rgba(239, 193, 119, .38) !important;
    color: var(--gmr-ref-gold-light) !important;
    transform: translateY(-3px) !important;
}

.gmr-home-utility {
    display: none !important;
}

.gmr-home-hero {
    padding-top: calc(var(--gmr-home-header) + 58px) !important;
}

/* Academy becomes an animated season path instead of a plain card grid. */
.gmr-home-section--academy {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 12%, rgba(199, 139, 43, .09), transparent 32%),
        rgba(255, 255, 255, .012) !important;
}

.gmr-home-section--academy::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .42;
    background:
        radial-gradient(circle at 12% 25%, rgba(239, 193, 119, .12) 0 1px, transparent 2px),
        radial-gradient(circle at 78% 36%, rgba(239, 193, 119, .09) 0 1px, transparent 2px);
    background-size: 180px 180px, 260px 260px;
    animation: gmrAmbientDrift 22s ease-in-out infinite alternate;
}

.gmr-home-academy-summary {
    position: relative;
    overflow: hidden;
    border-color: rgba(239, 193, 119, .30) !important;
    background: linear-gradient(145deg, rgba(31, 32, 36, .94), rgba(10, 11, 14, .98)) !important;
    box-shadow:
        inset 0 1px rgba(255, 255, 255, .06),
        inset 0 -2px rgba(0, 0, 0, .55),
        0 5px 0 rgba(0, 0, 0, .34),
        0 18px 34px rgba(0, 0, 0, .34) !important;
}

.gmr-home-academy-summary::after {
    content: "";
    position: absolute;
    inset: -60% auto -60% -20%;
    width: 30%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .24), transparent);
    transform: skewX(-22deg);
    animation: gmrButtonSheen 5.8s ease-in-out infinite;
}

.gmr-home-academy-summary__value {
    color: var(--gmr-ref-cream) !important;
    background: linear-gradient(105deg, #cfa755, #fff5d5 38%, #fff 50%, #e6c477 62%, #b7832c) !important;
    background-size: 220% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: gmrAcademyPoolShine 5.5s ease-in-out infinite;
}

.gmr-home-academies {
    position: relative;
    isolation: isolate;
    gap: 14px !important;
}

.gmr-home-academies::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 37px;
    right: 4%;
    left: 4%;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, rgba(79, 82, 90, .35), rgba(239, 193, 119, .75), rgba(79, 82, 90, .35));
    background-size: 220% 100%;
    box-shadow: 0 0 18px rgba(239, 193, 119, .22);
    animation: gmrAcademyRail 6s linear infinite;
}

.gmr-home-academy {
    min-height: 258px !important;
    padding: 20px 18px 18px !important;
    overflow: hidden;
    border-top-color: rgba(255, 255, 255, .11) !important;
    border-right-color: rgba(255, 255, 255, .05) !important;
    border-bottom-color: rgba(0, 0, 0, .88) !important;
    border-left-color: rgba(239, 193, 119, .24) !important;
    border-radius: 8px !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .045), transparent 34%),
        linear-gradient(180deg, rgba(25, 26, 30, .985), rgba(9, 10, 13, .995)) !important;
    box-shadow:
        inset 1px 1px rgba(255, 255, 255, .045),
        inset -1px -1px rgba(0, 0, 0, .62),
        0 7px 0 rgba(0, 0, 0, .38),
        0 25px 48px rgba(0, 0, 0, .48) !important;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease !important;
}

.gmr-home-academy:hover {
    z-index: 3;
    border-color: rgba(239, 193, 119, .56) !important;
    box-shadow:
        inset 1px 1px rgba(255, 255, 255, .07),
        inset -1px -1px rgba(0, 0, 0, .56),
        0 11px 0 rgba(0, 0, 0, .32),
        0 36px 66px rgba(0, 0, 0, .58) !important;
    transform: translateY(-7px) rotateX(2deg) !important;
}

.gmr-home-academy.is-active {
    border-color: rgba(239, 193, 119, .68) !important;
    background:
        radial-gradient(circle at 82% 16%, rgba(199, 139, 43, .18), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, .06), transparent 34%),
        linear-gradient(180deg, rgba(31, 29, 24, .99), rgba(10, 11, 13, .995)) !important;
}

.gmr-home-academy.is-active::after {
    content: "";
    position: absolute;
    inset: 5px;
    pointer-events: none;
    border: 1px solid rgba(239, 193, 119, .30);
    border-radius: 6px;
    box-shadow: inset 0 0 26px rgba(199, 139, 43, .10), 0 0 18px rgba(199, 139, 43, .09);
    animation: gmrAcademyActivePulse 2.8s ease-in-out infinite;
}

.gmr-home-academy.is-completed {
    filter: saturate(.58) brightness(.82);
}

.gmr-home-academy__energy {
    position: absolute;
    z-index: 0;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(239, 193, 119, .28), rgba(199, 139, 43, .08) 38%, transparent 68%);
    animation: gmrAcademyEnergy 7s ease-in-out infinite;
    animation-delay: calc(var(--academy-index, 0) * -1.1s);
}

.gmr-home-academy__top,
.gmr-home-academy__bonus,
.gmr-home-academy__dates,
.gmr-home-academy__prize {
    position: relative;
    z-index: 2;
}

.gmr-home-academy__top {
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.gmr-home-academy__step {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(239, 193, 119, .42);
    border-radius: 50%;
    background: linear-gradient(180deg, #24252a, #111216);
    box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 4px 0 rgba(0, 0, 0, .50), 0 0 18px rgba(199, 139, 43, .12);
    color: var(--gmr-ref-gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: 900;
}

.gmr-home-academy__status {
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, .07);
    box-shadow: inset 0 1px rgba(255, 255, 255, .10), 0 3px 0 rgba(0, 0, 0, .35) !important;
}

.gmr-home-academy.is-active .gmr-home-academy__status {
    border-color: rgba(255, 170, 120, .32);
    background: linear-gradient(180deg, #ef4444, #b91c1c) !important;
    animation: gmrAcademyStatusPulse 1.8s ease-in-out infinite;
}

.gmr-home-academy.is-upcoming .gmr-home-academy__status {
    border-color: rgba(239, 193, 119, .40);
    background: linear-gradient(180deg, #d6a94e, #8a5c18) !important;
    color: #fff8e8 !important;
}

.gmr-home-academy.is-completed .gmr-home-academy__status {
    background: linear-gradient(180deg, #268b5d, #12603d) !important;
    color: #ecfff5 !important;
}

.gmr-home-academy__title {
    position: relative;
    z-index: 2;
    margin: 20px 0 9px !important;
    color: #f7f7f7 !important;
    font-size: 22px !important;
    text-shadow: 0 3px 0 rgba(0, 0, 0, .72), 0 10px 18px rgba(0, 0, 0, .54) !important;
}

.gmr-home-academy__bonus {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--gmr-ref-gold-light) !important;
}

.gmr-home-academy__bonus i {
    color: #ef9f45;
    filter: drop-shadow(0 0 7px rgba(239, 159, 69, .38));
}

.gmr-home-academy__dates {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 8px;
    margin-top: 15px !important;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .065);
    border-radius: 5px;
    background: rgba(0, 0, 0, .24);
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, .38);
    color: #afb1b8 !important;
    font-weight: 750;
}

.gmr-home-academy__dates i {
    color: var(--gmr-ref-gold);
}

.gmr-home-academy__prize {
    right: 17px !important;
    bottom: 16px !important;
    display: grid;
    gap: 2px;
    text-align: right;
}

.gmr-home-academy__prize small {
    color: #777b84;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.gmr-home-academy__prize strong {
    color: var(--gmr-ref-cream);
    font-size: 17px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .62);
}

@media (max-width: 1320px) {
    .gmr-home-header__quick-actions a {
        padding: 0 12px;
        font-size: 9px;
    }

    .gmr-home-header__quick-actions a.is-forgot {
        display: none;
    }

    .gmr-home-header__online {
        max-width: 95px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .gmr-home-header__nav {
        gap: 14px !important;
    }

    .gmr-home-header__nav a {
        font-size: 9px !important;
    }
}

@media (max-width: 1080px) {
    .gmr-home-header__quick-actions a span,
    .gmr-home-header__language span {
        display: none;
    }

    .gmr-home-header__quick-actions a {
        width: 42px;
        padding: 0;
    }

    .gmr-home-header__quick-actions a.is-login {
        width: 36px;
    }

    .gmr-home-header__nav a:nth-child(4),
    .gmr-home-header__nav a:nth-child(6) {
        display: none;
    }
}

@media (max-width: 980px) {
    body.wok-3d-shell.route-landing,
    body.wok-3d-shell.route-home {
        --gmr-home-header: 86px;
    }

    .gmr-home-header__top {
        display: none;
    }

    .gmr-home-header__main {
        height: 86px;
    }

    .gmr-home-header__inner {
        grid-template-columns: 54px minmax(120px, 1fr) 54px !important;
        gap: 8px;
        width: calc(100% - 28px) !important;
    }

    .gmr-home-header__logo {
        grid-column: 2;
        justify-content: center !important;
    }

    .gmr-home-header__logo img {
        width: 150px !important;
        object-position: center;
    }

    .gmr-home-header__nav,
    .gmr-home-header__socials {
        display: none !important;
    }

    .gmr-home-header__mobile-toggle {
        display: inline-flex !important;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .gmr-home-mobile-menu {
        inset: var(--gmr-home-header) 0 0 !important;
    }

    .gmr-home-hero {
        padding-top: calc(var(--gmr-home-header) + 42px) !important;
    }

    .gmr-home-academies {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .gmr-home-academies::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .gmr-home-academy-timeline {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .gmr-home-academy-timeline::-webkit-scrollbar {
        display: none;
    }
}

/* Home 5.2: account actions, cinematic hero and Academy portal carousel */
.gmr-home-header__inner {
    grid-template-columns: 172px minmax(430px, 1fr) auto auto !important;
    gap: clamp(10px, 1.2vw, 22px) !important;
}

.gmr-home-header__logo img {
    width: 164px !important;
}

.gmr-home-header__socials {
    gap: 5px !important;
}

.gmr-home-header__icon {
    width: 32px !important;
    height: 32px !important;
}

.gmr-home-header__actions,
.gmr-home-header__account-button,
.gmr-home-header__lang-button {
    display: flex;
    align-items: center;
}

.gmr-home-header__actions {
    justify-content: flex-end;
    gap: 7px;
}

.gmr-home-header__account-button,
.gmr-home-header__lang-button {
    position: relative;
    min-height: 39px;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid rgba(239, 193, 119, .22);
    border-radius: 4px;
    box-shadow: inset 0 1px rgba(255, 255, 255, .07), 0 4px 0 rgba(0, 0, 0, .34), 0 9px 18px rgba(0, 0, 0, .28);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform .18s ease, border-color .18s ease, filter .18s ease;
}

.gmr-home-header__account-button.is-login {
    border-color: rgba(255, 244, 214, .82);
    background: linear-gradient(180deg, #fff2c8, #d6b56d);
    color: #241a0b !important;
}

.gmr-home-header__account-button.is-register {
    background: linear-gradient(180deg, rgba(26, 27, 31, .98), rgba(11, 12, 15, .98));
    color: #eee2c5 !important;
}

.gmr-home-header__lang-button {
    min-width: 61px;
    padding: 0 9px;
    border-color: rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .035);
    color: #d4d5d9 !important;
}

.gmr-home-header__lang-button img {
    width: 19px;
    height: 13px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .4);
}

.gmr-home-header__lang-button > i {
    color: #777b84;
    font-size: 7px;
}

.gmr-home-header__account-button:hover,
.gmr-home-header__account-button:focus,
.gmr-home-header__lang-button:hover,
.gmr-home-header__lang-button:focus {
    border-color: rgba(255, 235, 184, .62);
    filter: brightness(1.08);
    transform: translateY(-2px);
}

@keyframes gmrHeroCinematicPan {
    0% { transform: translate3d(0, 0, 0); filter: saturate(.92) brightness(.84); }
    50% { transform: translate3d(0, 0, 0); filter: saturate(1) brightness(.92); }
    100% { transform: translate3d(0, 0, 0); filter: saturate(.95) brightness(.87); }
}

@keyframes gmrHeroAtmosphere {
    0%, 100% { opacity: .68; background-position: center, 0 0, 90px 40px; }
    50% { opacity: .92; background-position: center, 42px -28px, 45px 80px; }
}

.gmr-home-hero {
    isolation: isolate;
    background: #050608 !important;
}

.gmr-home-hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    pointer-events: none;
    background: url('/assets/images/gmr-hero-farm-v3.jpg') center top / 100% auto no-repeat;
    will-change: filter;
    animation: gmrHeroCinematicPan 22s ease-in-out infinite alternate;
}

.gmr-home-hero::after {
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(2, 3, 5, .15), rgba(2, 3, 5, .28) 52%, #050608 100%),
        radial-gradient(circle, rgba(236, 188, 92, .22) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(255, 225, 158, .14) 0 1px, transparent 2px) !important;
    background-size: auto, 220px 220px, 310px 310px !important;
    animation: gmrHeroAtmosphere 14s ease-in-out infinite;
}

.gmr-home-hero > .gmr-home__inner {
    position: relative;
    z-index: 2;
}

/* Keep the complete hero artwork visible and give every showcase image a clear focal point. */
.gmr-home-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.78fr) minmax(0, 1fr);
    grid-template-rows: 162px 162px 94px;
    gap: 12px;
}

.gmr-home-showcase__card img {
    object-position: center 42%;
    filter: saturate(.92) contrast(1.05) brightness(.80);
}

.gmr-home-showcase__card::after {
    background:
        linear-gradient(105deg, rgba(190, 125, 35, .10), transparent 42%),
        linear-gradient(180deg, transparent 16%, rgba(5, 5, 4, .20) 48%, rgba(5, 5, 4, .94) 100%);
}

.gmr-home-showcase__card:nth-child(1) img {
    object-position: 66% 34%;
}

.gmr-home-showcase__card--main img {
    object-position: 44% 50%;
}

.gmr-home-showcase__card:nth-child(3) img {
    object-position: 50% 46%;
}

.gmr-home-showcase__card:nth-child(4) img {
    object-position: 32% 42%;
}

.gmr-home-showcase__card:nth-child(5) img {
    object-position: 50% 42%;
}

.gmr-home-showcase__card:hover img,
.gmr-home-showcase__card:focus img {
    transform: scale(1.025);
    filter: saturate(1.04) contrast(1.06) brightness(.90);
}

.gmr-home-showcase__card--community {
    background:
        linear-gradient(90deg, rgba(8, 7, 6, .94), rgba(20, 14, 8, .76)),
        url('/assets/images/gmr-feature-team-v3.jpg') center 35% / cover !important;
}

.gmr-home-showcase__card--status {
    background:
        linear-gradient(90deg, rgba(7, 7, 6, .94), rgba(19, 14, 8, .78)),
        url('/assets/images/gmr-feature-balance-v3.jpg') center 35% / cover !important;
}

@media (max-width: 1120px) {
    .gmr-home-showcase {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.55fr) minmax(0, .9fr);
        grid-template-rows: 150px 150px 90px;
        gap: 10px;
    }
}

@media (max-width: 860px) {
    .gmr-home-showcase {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 250px 150px 150px 88px 88px;
    }
}

@keyframes gmrAcademySceneBreath {
    0% { transform: scale(1.012) translate3d(-.25%, 0, 0); filter: brightness(.79) saturate(.92); }
    50% { transform: scale(1.04) translate3d(.3%, -.3%, 0); filter: brightness(.88) saturate(1); }
    100% { transform: scale(1.02) translate3d(0, .22%, 0); filter: brightness(.82) saturate(.96); }
}

@keyframes gmrAcademyPortalPulse {
    0%, 100% { opacity: .34; transform: translate(-50%, -50%) scale(.82); filter: blur(3px); }
    50% { opacity: .86; transform: translate(-50%, -50%) scale(1.12); filter: blur(8px); }
}

@keyframes gmrAcademyMotes {
    from { transform: translate3d(0, 22px, 0); background-position: 0 0, 80px 130px, 160px 50px; }
    to { transform: translate3d(0, -34px, 0); background-position: 55px -150px, 145px -40px, 220px -120px; }
}

.gmr-home-section--academy {
    position: relative;
    isolation: isolate;
    min-height: 720px;
    padding: 58px 0 66px !important;
    overflow: hidden;
    border-top: 1px solid rgba(223, 191, 118, .18);
    border-bottom: 1px solid rgba(223, 191, 118, .14);
    background: #030506 !important;
}

.gmr-home-section--academy::before {
    display: none !important;
}

.gmr-home-academy-scene {
    position: absolute;
    z-index: -3;
    inset: -3%;
    overflow: hidden;
    pointer-events: none;
    background: url('/assets/images/gmr-academy-farm-v3.jpg') center / cover no-repeat;
    will-change: transform, filter;
    animation: gmrAcademySceneBreath 18s ease-in-out infinite alternate;
}

.gmr-home-academy-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(1, 3, 5, .12), rgba(1, 3, 5, .07) 38%, rgba(1, 3, 5, .56) 100%),
        radial-gradient(ellipse at center, transparent 26%, rgba(0, 0, 0, .12) 62%, rgba(0, 0, 0, .68) 100%);
}

.gmr-home-academy-portal-pulse {
    position: absolute;
    top: 47%;
    left: 24%;
    width: clamp(230px, 23vw, 410px);
    aspect-ratio: 1;
    border: 2px solid rgba(238, 188, 91, .22);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 190, 74, .18), rgba(164, 101, 25, .06) 44%, transparent 70%);
    box-shadow: inset 0 0 70px rgba(238, 178, 71, .12), 0 0 88px rgba(218, 147, 45, .18);
    animation: gmrAcademyPortalPulse 4.8s ease-in-out infinite;
}

.gmr-home-academy-motes {
    position: absolute;
    inset: -10% 0;
    opacity: .72;
    background:
        radial-gradient(circle, rgba(244, 190, 92, .72) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(255, 222, 151, .55) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(181, 126, 48, .42) 0 1px, transparent 2px);
    background-size: 170px 170px, 240px 240px, 310px 310px;
    animation: gmrAcademyMotes 18s linear infinite;
}

.gmr-home-section--academy > .gmr-home__inner {
    position: relative;
    z-index: 2;
    width: min(1220px, calc(100% - 48px)) !important;
}

.gmr-home-academy-stage-head {
    display: flex;
    width: min(720px, 100%);
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.gmr-home-academy-stage-head .gmr-home-section-title {
    margin: 0 !important;
    font-size: clamp(30px, 3vw, 43px) !important;
    letter-spacing: .03em;
}

.gmr-home-academy-summary {
    display: flex !important;
    min-width: 265px;
    min-height: 76px;
    align-items: center;
    gap: 13px !important;
    padding: 9px 17px !important;
    border: 1px solid rgba(255, 223, 157, .44) !important;
    border-radius: 14px !important;
    background: linear-gradient(145deg, rgba(44, 36, 22, .92), rgba(13, 13, 12, .95)) !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 14px 36px rgba(0, 0, 0, .38) !important;
}

.gmr-home-academy-summary__icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    background: rgba(255, 245, 211, .09);
    color: #fff0c4;
    font-size: 21px;
}

.gmr-home-academy-summary__copy {
    display: grid;
    gap: 3px;
}

.gmr-home-academy-summary__label {
    font-size: 8px !important;
    letter-spacing: .22em !important;
}

.gmr-home-academy-summary__value {
    font-size: 27px !important;
    line-height: 1;
}

.gmr-home-academy-carousel {
    display: grid;
    grid-template-columns: 48px minmax(0, 640px) 48px;
    width: min(900px, 100%);
    margin: 62px auto 0;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.gmr-home-academy-viewport {
    width: 100%;
    overflow: hidden;
    padding: 12px 5px 20px;
}

.gmr-home-academies {
    display: flex !important;
    width: max-content;
    gap: 18px !important;
    transform: translate3d(0, 0, 0);
    transition: transform .62s cubic-bezier(.22, .7, .2, 1);
}

.gmr-home-academies::before {
    display: none !important;
}

.gmr-home-academy {
    display: flex;
    flex: 0 0 304px;
    min-height: 210px !important;
    flex-direction: column;
    padding: 19px 20px 17px !important;
    border: 1px solid rgba(129, 190, 216, .22) !important;
    border-radius: 9px !important;
    background: linear-gradient(180deg, rgba(14, 24, 29, .84), rgba(5, 9, 12, .92)) !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, .045), 0 18px 42px rgba(0, 0, 0, .40) !important;
    opacity: .28;
    filter: grayscale(.58) brightness(.72);
    transform: scale(.94) !important;
    transition: opacity .42s ease, filter .42s ease, transform .42s ease, border-color .42s ease !important;
}

.gmr-home-academy.is-selected {
    border-color: rgba(255, 225, 161, .55) !important;
    background: linear-gradient(180deg, rgba(43, 36, 25, .93), rgba(12, 11, 9, .97)) !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 22px 50px rgba(0, 0, 0, .54), 0 0 32px rgba(227, 189, 111, .09) !important;
    opacity: 1;
    filter: none;
    transform: scale(1) translateY(-5px) !important;
}

.gmr-home-academy.is-neighbor {
    opacity: .54;
    filter: grayscale(.30) brightness(.84);
}

.gmr-home-academy:hover {
    border-color: rgba(255, 226, 165, .55) !important;
    opacity: .88;
    filter: none;
    transform: scale(.97) translateY(-3px) !important;
}

.gmr-home-academy.is-selected:hover {
    opacity: 1;
    transform: scale(1) translateY(-7px) !important;
}

.gmr-home-academy.is-active::after,
.gmr-home-academy__energy {
    display: none !important;
}

.gmr-home-academy__top {
    min-height: 30px !important;
    align-items: flex-start !important;
}

.gmr-home-academy__title {
    margin: 0 !important;
    color: #f4f1e9 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 19px !important;
    letter-spacing: .01em;
}

.gmr-home-academy__status {
    min-height: 24px;
    padding: 0 9px !important;
    border-radius: 5px !important;
    background: rgba(255, 255, 255, .07) !important;
    color: #d4d1c9 !important;
    font-size: 7px !important;
    letter-spacing: .13em !important;
}

.gmr-home-academy.is-active .gmr-home-academy__status,
.gmr-home-academy.is-upcoming .gmr-home-academy__status,
.gmr-home-academy.is-completed .gmr-home-academy__status {
    border-color: rgba(255, 229, 173, .18) !important;
    background: rgba(255, 245, 217, .10) !important;
    color: #efe3c7 !important;
    animation: none !important;
}

.gmr-home-academy__bonus {
    align-self: flex-start;
    margin-top: 13px;
    padding: 6px 10px;
    border-radius: 4px;
    background: linear-gradient(180deg, #fff5c9, #dcc37f);
    color: #2b210d !important;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.gmr-home-academy__bonus i {
    color: #6c5018 !important;
    filter: none !important;
}

.gmr-home-academy__dates {
    min-height: auto !important;
    margin-top: 13px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #d1d2d4 !important;
    font-size: 11px;
}

.gmr-home-academy__divider {
    height: 1px;
    margin: 14px 0 12px;
    background: linear-gradient(90deg, rgba(255, 231, 181, .20), rgba(255, 255, 255, .06), transparent);
}

.gmr-home-academy__prize {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    display: flex !important;
    margin-top: auto;
    align-items: center;
    gap: 9px;
    text-align: left !important;
}

.gmr-home-academy__prize i {
    color: #f2db9d;
    font-size: 15px;
}

.gmr-home-academy__prize strong {
    color: #f4e7c5 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px !important;
}

.gmr-home-academy-arrow {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 235, 191, .36);
    border-radius: 50%;
    background: rgba(3, 7, 9, .74);
    box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 10px 28px rgba(0, 0, 0, .42);
    color: #f4e6c2;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.gmr-home-academy-arrow:hover,
.gmr-home-academy-arrow:focus {
    border-color: rgba(255, 238, 197, .78);
    background: rgba(49, 39, 23, .88);
    transform: scale(1.07);
}

.gmr-home-academy-arrow:disabled {
    opacity: .28;
    cursor: default;
    transform: none;
}

.gmr-home-academy-timeline {
    position: relative;
    display: grid;
    grid-auto-columns: minmax(92px, 1fr);
    grid-auto-flow: column;
    width: min(720px, 100%);
    margin: 42px auto 0;
}

.gmr-home-academy-timeline::before {
    content: "";
    position: absolute;
    top: 18px;
    right: 9%;
    left: 9%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 203, 145, .34) 10%, rgba(229, 203, 145, .34) 90%, transparent);
}

.gmr-home-academy-timeline__item {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: rgba(220, 220, 220, .48);
    cursor: pointer;
}

.gmr-home-academy-timeline__dot {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border: 1px solid rgba(226, 202, 150, .30);
    border-radius: 50%;
    background: rgba(12, 12, 10, .86);
    box-shadow: 0 7px 18px rgba(0, 0, 0, .32);
    color: #aaa28f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
}

.gmr-home-academy-timeline__label {
    max-width: 105px;
    overflow: hidden;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.gmr-home-academy-timeline__item.is-current {
    color: #fff0c5;
}

.gmr-home-academy-timeline__item.is-current .gmr-home-academy-timeline__dot {
    width: 46px;
    height: 46px;
    margin: -5px;
    border-color: #fff0c5;
    background: linear-gradient(180deg, #443920, #16130e);
    box-shadow: 0 0 0 4px rgba(255, 236, 190, .08), 0 0 24px rgba(255, 218, 135, .22);
    color: #fff4d4;
}

@media (max-width: 1480px) {
    .gmr-home-header__inner {
        grid-template-columns: 160px minmax(390px, 1fr) auto !important;
    }

    .gmr-home-header__socials {
        display: none !important;
    }
}

@media (max-width: 1180px) {
    .gmr-home-header__nav a:nth-child(6),
    .gmr-home-header__nav a:nth-child(7) {
        display: none;
    }

    .gmr-home-header__account-button {
        width: 39px;
        padding: 0;
    }

    .gmr-home-header__account-button span {
        display: none;
    }
}

@media (max-width: 980px) {
    .gmr-home-header__inner {
        grid-template-columns: 54px minmax(120px, 1fr) 54px !important;
        gap: 8px !important;
    }

    .gmr-home-header__logo {
        grid-column: 2;
    }

    .gmr-home-header__logo img {
        width: 150px !important;
    }

    .gmr-home-header__actions {
        display: none !important;
    }

    .gmr-home-section--academy {
        min-height: 660px;
        padding: 52px 0 58px !important;
    }

    .gmr-home-academy-stage-head {
        width: min(680px, 100%);
    }

    .gmr-home-academy-carousel {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 12px;
    }

    .gmr-home-academy {
        flex-basis: min(304px, calc(100vw - 150px));
    }
}

@media (max-width: 640px) {
    .gmr-home-section--academy > .gmr-home__inner {
        width: calc(100% - 28px) !important;
    }

    .gmr-home-academy-stage-head {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    .gmr-home-academy-stage-head .gmr-home-section-title {
        text-align: center;
    }

    .gmr-home-academy-summary {
        width: min(280px, 100%);
        min-width: 0;
        margin: 0 auto;
    }

    .gmr-home-academy-carousel {
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        margin-top: 36px;
        gap: 7px;
    }

    .gmr-home-academy-arrow {
        width: 34px;
        height: 34px;
        font-size: 10px;
    }

    .gmr-home-academy-viewport {
        padding-inline: 0;
    }

    .gmr-home-academy {
        flex-basis: calc(100vw - 110px);
        min-height: 220px !important;
    }

    .gmr-home-academy-timeline {
        width: 100%;
        padding-bottom: 8px;
        overflow-x: auto;
        grid-auto-columns: 82px;
    }

    .gmr-home-academy-timeline::before {
        right: 41px;
        left: 41px;
        width: calc(100% - 82px);
    }

    .gmr-home-academy-timeline__label {
        max-width: 76px;
        font-size: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gmr-home-hero::before,
    .gmr-home-hero::after,
    .gmr-home-academy-scene,
    .gmr-home-academy-portal-pulse,
    .gmr-home-academy-motes {
        animation: none !important;
    }

    .gmr-home-academies {
        transition: none !important;
    }
}

@media (max-width: 560px) {
    .gmr-home-academies {
        grid-template-columns: 1fr !important;
    }

    .gmr-home-academy {
        min-height: 232px !important;
    }

    .gmr-home-academy:hover {
        transform: translateY(-3px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gmr-home-header::after,
    .gmr-home-header__online > i,
    .gmr-home-section--academy::before,
    .gmr-home-academy-summary::after,
    .gmr-home-academy-summary__value,
    .gmr-home-academies::before,
    .gmr-home-academy,
    .gmr-home-academy__energy,
    .gmr-home-academy.is-active::after,
    .gmr-home-academy.is-active .gmr-home-academy__status {
        animation: none !important;
    }

    .gmr-home-academy {
        opacity: 1 !important;
        translate: none !important;
    }
}

/* Final conflict fence for high-specificity rules in the legacy theme files. */
body.wok-3d-shell:not(.route-landing):not(.route-home) {
    background: var(--gmr-ref-bg) !important;
    color: var(--gmr-ref-text) !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .main .cont-items {
    background: transparent !important;
}

body.wok-3d-shell .page-title,
body.wok-3d-shell .guide-hero h1,
body.wok-3d-shell .guide-hero-title,
body.wok-3d-shell .wok-download__title,
body.wok-3d-shell .gmr-page-hero__title,
body.wok-3d-shell .gmr-account-hero__title,
body.wok-3d-shell .login-page-title,
body.wok-3d-shell .register-page-title,
body.wok-3d-shell .gmr-home-hero__title,
body.wok-3d-shell .gmr-home-section-title {
    background: linear-gradient(180deg, #fffaf0 0%, #f3e3bd 65%, #dec38d 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body.wok-3d-shell .ranking-container table thead,
body.wok-3d-shell .ranking-container .table thead,
body.wok-3d-shell .clan-ranking-container .table thead {
    background: rgba(255, 255, 255, .043) !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.wok-3d-shell .ranking-container table thead th,
body.wok-3d-shell .ranking-container .table thead th,
body.wok-3d-shell .clan-ranking-container .table thead th {
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
    background: transparent !important;
    background-image: none !important;
    color: #a8adb7 !important;
    text-shadow: none !important;
}

body.wok-3d-shell .ranking-container table tbody tr,
body.wok-3d-shell .ranking-container .table tbody tr,
body.wok-3d-shell .clan-ranking-container .table tbody tr {
    background-color: #17181b !important;
    background-image: none !important;
}

body.wok-3d-shell .ranking-container table tbody tr:nth-child(even),
body.wok-3d-shell .ranking-container .table tbody tr:nth-child(even),
body.wok-3d-shell .clan-ranking-container .table tbody tr:nth-child(even) {
    background-color: #1c1d21 !important;
    background-image: none !important;
}

body.wok-3d-shell .ranking-container table tbody tr:hover,
body.wok-3d-shell .ranking-container .table tbody tr:hover,
body.wok-3d-shell .clan-ranking-container .table tbody tr:hover {
    background-color: #242329 !important;
    background-image: none !important;
}

body.wok-3d-shell .login-page-container .login-button,
body.wok-3d-shell .register-page-container .register-button,
body.wok-3d-shell .account-content .btn-submit {
    border: 1px solid rgba(236, 218, 176, .96) !important;
    background-color: #ecdab0 !important;
    background-image: none !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .3) !important;
    color: #2a1d09 !important;
    text-shadow: none !important;
}

body.wok-3d-shell .login-page-container .login-button:hover:not(:disabled),
body.wok-3d-shell .register-page-container .register-button:hover:not(:disabled),
body.wok-3d-shell .account-content .btn-submit:hover {
    border-color: #f6e9c8 !important;
    background: #f6e9c8 !important;
    background-image: none !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .34) !important;
    color: #2a1d09 !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .btn,
body.wok-3d-shell:not(.route-landing):not(.route-home) button:not(.close):not(.mobile-menu-toggle),
body.wok-3d-shell:not(.route-landing):not(.route-home) input[type="submit"] {
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-bottom-color: rgba(255, 255, 255, .12) !important;
    background-color: #15161a !important;
    background-image: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25) !important;
    color: #e4e4e7 !important;
    text-shadow: none !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) button.login-button:not(.close):not(.mobile-menu-toggle),
body.wok-3d-shell:not(.route-landing):not(.route-home) button.register-button:not(.close):not(.mobile-menu-toggle),
body.wok-3d-shell:not(.route-landing):not(.route-home) button.btn-submit:not(.close):not(.mobile-menu-toggle),
body.wok-3d-shell:not(.route-landing):not(.route-home) button#player_search_button:not(.close):not(.mobile-menu-toggle),
body.wok-3d-shell:not(.route-landing):not(.route-home) button#clan_search_button:not(.close):not(.mobile-menu-toggle),
body.wok-3d-shell:not(.route-landing):not(.route-home) .btn.btn-primary,
body.wok-3d-shell:not(.route-landing):not(.route-home) .btn.btn-info {
    border-color: rgba(236, 218, 176, .96) !important;
    border-bottom-color: rgba(236, 218, 176, .96) !important;
    background-color: #ecdab0 !important;
    background-image: none !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .3) !important;
    color: #2a1d09 !important;
    text-shadow: none !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) button.gmr-news-filter:not(.close):not(.mobile-menu-toggle) {
    border-color: rgba(255, 255, 255, .11) !important;
    background-color: rgba(255, 255, 255, .035) !important;
    color: #d4d4d8 !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) button.gmr-news-filter.is-active:not(.close):not(.mobile-menu-toggle),
body.wok-3d-shell:not(.route-landing):not(.route-home) button.gmr-news-filter:hover:not(.close):not(.mobile-menu-toggle) {
    border-color: rgba(236, 218, 176, .92) !important;
    background-color: #ecdab0 !important;
    background-image: none !important;
    color: #2a1d09 !important;
}

/* --------------------------------------------------------------------------
   GMR unified 3D depth layer
   Keeps the neutral reference palette while adding physical depth, bevels
   and interaction feedback across every view rendered by layouts.app.
   -------------------------------------------------------------------------- */

:root {
    --gmr-3d-edge-top: rgba(255, 255, 255, .10);
    --gmr-3d-edge-side: rgba(255, 255, 255, .045);
    --gmr-3d-gold-glint: rgba(239, 193, 119, .34);
    --gmr-3d-shadow-close: rgba(0, 0, 0, .48);
    --gmr-3d-shadow-far: rgba(0, 0, 0, .72);
    --gmr-3d-depth-sm: 0 5px 0 rgba(0, 0, 0, .46), 0 11px 24px rgba(0, 0, 0, .34);
    --gmr-3d-depth-md: 0 8px 0 rgba(0, 0, 0, .34), 0 24px 52px rgba(0, 0, 0, .52);
    --gmr-3d-depth-lg: 0 12px 0 rgba(0, 0, 0, .28), 0 34px 80px rgba(0, 0, 0, .62);
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .cont-items {
    perspective: 1600px;
    perspective-origin: 50% 20%;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .cont-items::before {
    border: 1px solid rgba(255, 255, 255, .035) !important;
    border-top-color: rgba(239, 193, 119, .12) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .018), rgba(0, 0, 0, .20)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .035),
        0 38px 100px rgba(0, 0, 0, .46) !important;
}

/* Header and announcement: raised glass and metal strips. */
.gmr-top-notice {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .20),
        inset 0 -3px 0 rgba(83, 7, 10, .38),
        0 7px 18px rgba(0, 0, 0, .38) !important;
    text-shadow: 0 1px 2px rgba(74, 0, 0, .58) !important;
}

.gmr-top-notice a {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .16),
        0 3px 0 rgba(84, 8, 10, .42),
        0 7px 12px rgba(0, 0, 0, .20) !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .main > header {
    border-bottom-color: rgba(239, 193, 119, .18) !important;
    box-shadow:
        inset 0 -1px 0 rgba(255, 255, 255, .025),
        0 7px 0 rgba(0, 0, 0, .22),
        0 22px 46px rgba(0, 0, 0, .56) !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .wok-main-logo img {
    transform: translateZ(18px);
    filter:
        drop-shadow(0 4px 0 rgba(0, 0, 0, .46))
        drop-shadow(0 12px 18px rgba(0, 0, 0, .62)) !important;
}

/* Page heroes become deep framed scenes rather than flat banners. */
.gmr-page-hero,
.title-header,
.guide-hero,
.wok-download__hero,
.gmr-account-hero {
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
    isolation: isolate;
    overflow: hidden !important;
    border: 1px solid rgba(239, 193, 119, .24) !important;
    border-top-color: rgba(255, 255, 255, .16) !important;
    border-bottom-color: rgba(0, 0, 0, .82) !important;
    border-radius: 8px !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .09),
        inset 0 -38px 62px rgba(0, 0, 0, .50),
        0 9px 0 rgba(0, 0, 0, .40),
        0 30px 70px rgba(0, 0, 0, .58) !important;
    transform: none;
}

.gmr-page-hero::after,
.title-header::after,
.guide-hero::after,
.wok-download__hero::after,
.gmr-account-hero::after {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        inset 0 -26px 48px rgba(0, 0, 0, .42) !important;
}

body.wok-3d-shell .page-title,
body.wok-3d-shell .guide-hero h1,
body.wok-3d-shell .guide-hero-title,
body.wok-3d-shell .wok-download__title,
body.wok-3d-shell .gmr-page-hero__title,
body.wok-3d-shell .gmr-account-hero__title,
body.wok-3d-shell .login-page-title,
body.wok-3d-shell .register-page-title,
body.wok-3d-shell .gmr-home-hero__title,
body.wok-3d-shell .gmr-home-section-title {
    filter:
        drop-shadow(0 2px 0 rgba(87, 57, 13, .90))
        drop-shadow(0 6px 0 rgba(0, 0, 0, .46))
        drop-shadow(0 15px 22px rgba(0, 0, 0, .68)) !important;
}

/* Universal raised surfaces used throughout ranking, guide, news and account. */
body.wok-3d-shell:not(.route-landing):not(.route-home) .panel,
body.wok-3d-shell:not(.route-landing):not(.route-home) .well,
.ranking-container .ranking-sidebar,
.ranking-container .tab-content,
.clan-ranking-container > .row > .col-md-3,
.clan-ranking-container .tab-content,
.guide-nav-wrapper,
.wok-guide-content,
.guide-block,
.wok-download__panel,
.wok-download__requirements,
.wok-download__steps,
.news-item,
.news-detail-content,
.news-detail-actions,
.login-page-container,
.register-page-container,
.account-sidebar,
.account-content,
.info-card,
.modal-content {
    position: relative;
    border-top-color: rgba(255, 255, 255, .105) !important;
    border-right-color: rgba(255, 255, 255, .055) !important;
    border-bottom-color: rgba(0, 0, 0, .86) !important;
    border-left-color: rgba(239, 193, 119, .24) !important;
    background-image:
        linear-gradient(145deg, rgba(255, 255, 255, .045), transparent 30%),
        linear-gradient(180deg, rgba(25, 26, 30, .98), rgba(11, 12, 15, .99)) !important;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, .045),
        inset -1px -1px 0 rgba(0, 0, 0, .66),
        inset 0 -18px 30px rgba(0, 0, 0, .18),
        var(--gmr-3d-depth-md) !important;
    transform-style: preserve-3d;
}

.ranking-container .ranking-sidebar,
.clan-ranking-container > .row > .col-md-3,
.guide-nav-wrapper,
.wok-download__steps,
.account-sidebar {
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, .045),
        inset -1px -1px 0 rgba(0, 0, 0, .62),
        0 6px 0 rgba(0, 0, 0, .40),
        0 22px 44px rgba(0, 0, 0, .46) !important;
}

/* Cards lift gently; the whole page stays stable and readable. */
.news-item,
.info-card,
.guide-block,
.wok-requirement-card,
.gmr-home-showcase__card,
.gmr-home-news__card,
.gmr-home-ranking__board,
.gmr-home-academy__panel,
.gmr-landing-feature,
.gmr-landing-news__card {
    transform: translateZ(0);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

.news-item:hover,
.info-card:hover,
.guide-block:hover,
.wok-requirement-card:hover,
.gmr-home-showcase__card:hover,
.gmr-home-news__card:hover,
.gmr-home-news__card:focus,
.gmr-landing-feature:hover,
.gmr-landing-news__card:hover {
    border-color: rgba(239, 193, 119, .38) !important;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, .07),
        inset 0 -18px 30px rgba(0, 0, 0, .20),
        0 11px 0 rgba(0, 0, 0, .34),
        0 34px 64px rgba(0, 0, 0, .58) !important;
    transform: translateY(-5px) translateZ(16px) !important;
}

/* Tables are recessed into their frame with dimensional rows and headers. */
.ranking-container .tab-content,
.clan-ranking-container .tab-content {
    overflow: hidden;
}

body.wok-3d-shell .ranking-container table,
body.wok-3d-shell .ranking-container .table,
body.wok-3d-shell .clan-ranking-container .table {
    border-collapse: separate !important;
    border-spacing: 0 2px !important;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .22));
}

body.wok-3d-shell .ranking-container table thead,
body.wok-3d-shell .ranking-container .table thead,
body.wok-3d-shell .clan-ranking-container .table thead {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .06),
        inset 0 -2px 0 rgba(0, 0, 0, .56),
        0 5px 12px rgba(0, 0, 0, .25) !important;
}

body.wok-3d-shell .ranking-container table tbody td,
body.wok-3d-shell .ranking-container .table tbody td,
body.wok-3d-shell .clan-ranking-container .table tbody td {
    border-top-color: rgba(255, 255, 255, .045) !important;
    border-bottom-color: rgba(0, 0, 0, .48) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .018) !important;
}

body.wok-3d-shell .ranking-container table tbody tr:hover td,
body.wok-3d-shell .ranking-container .table tbody tr:hover td,
body.wok-3d-shell .clan-ranking-container .table tbody tr:hover td {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .045),
        inset 4px 0 0 rgba(239, 193, 119, .38),
        0 7px 14px rgba(0, 0, 0, .24) !important;
}

/* Inset controls look carved into the raised panels. */
body.wok-3d-shell:not(.route-landing):not(.route-home) .form-control,
body.wok-3d-shell:not(.route-landing):not(.route-home) input,
body.wok-3d-shell:not(.route-landing):not(.route-home) select,
body.wok-3d-shell:not(.route-landing):not(.route-home) textarea {
    border-top-color: rgba(0, 0, 0, .82) !important;
    border-right-color: rgba(255, 255, 255, .08) !important;
    border-bottom-color: rgba(255, 255, 255, .13) !important;
    border-left-color: rgba(0, 0, 0, .72) !important;
    box-shadow:
        inset 0 4px 10px rgba(0, 0, 0, .68),
        inset 0 -1px 0 rgba(255, 255, 255, .035),
        0 1px 0 rgba(255, 255, 255, .025) !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .form-control:focus,
body.wok-3d-shell:not(.route-landing):not(.route-home) input:focus,
body.wok-3d-shell:not(.route-landing):not(.route-home) select:focus,
body.wok-3d-shell:not(.route-landing):not(.route-home) textarea:focus {
    box-shadow:
        inset 0 4px 10px rgba(0, 0, 0, .72),
        0 0 0 2px rgba(239, 193, 119, .11),
        0 8px 20px rgba(0, 0, 0, .30) !important;
}

/* Physical buttons: raised at rest, higher on hover, pressed on active. */
body.wok-3d-shell:not(.route-landing):not(.route-home) .btn,
body.wok-3d-shell:not(.route-landing):not(.route-home) button:not(.close):not(.mobile-menu-toggle),
body.wok-3d-shell:not(.route-landing):not(.route-home) input[type="submit"] {
    border-top-color: rgba(255, 255, 255, .16) !important;
    border-right-color: rgba(255, 255, 255, .09) !important;
    border-bottom-color: rgba(0, 0, 0, .92) !important;
    border-left-color: rgba(255, 255, 255, .08) !important;
    background-image: linear-gradient(180deg, #202126 0%, #15161a 55%, #0e0f12 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .10),
        inset 0 -2px 0 rgba(0, 0, 0, .44),
        0 4px 0 #07080a,
        0 10px 18px rgba(0, 0, 0, .38) !important;
    transform: translateY(0) translateZ(0);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .btn:hover,
body.wok-3d-shell:not(.route-landing):not(.route-home) button:not(.close):not(.mobile-menu-toggle):hover,
body.wok-3d-shell:not(.route-landing):not(.route-home) input[type="submit"]:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .14),
        inset 0 -2px 0 rgba(0, 0, 0, .42),
        0 6px 0 #07080a,
        0 15px 25px rgba(0, 0, 0, .46) !important;
    transform: translateY(-2px) translateZ(8px) !important;
}

body.wok-3d-shell:not(.route-landing):not(.route-home) .btn:active,
body.wok-3d-shell:not(.route-landing):not(.route-home) button:not(.close):not(.mobile-menu-toggle):active,
body.wok-3d-shell:not(.route-landing):not(.route-home) input[type="submit"]:active {
    box-shadow:
        inset 0 3px 7px rgba(0, 0, 0, .44),
        inset 0 1px 0 rgba(255, 255, 255, .05),
        0 1px 0 #07080a,
        0 4px 9px rgba(0, 0, 0, .32) !important;
    transform: translateY(3px) translateZ(0) !important;
}

/* Cream primary actions keep their palette and gain a polished gold bevel. */
body.wok-3d-shell .login-page-container .login-button,
body.wok-3d-shell .register-page-container .register-button,
body.wok-3d-shell .account-content .btn-submit,
body.wok-3d-shell:not(.route-landing):not(.route-home) button#player_search_button:not(.close):not(.mobile-menu-toggle),
body.wok-3d-shell:not(.route-landing):not(.route-home) button#clan_search_button:not(.close):not(.mobile-menu-toggle),
body.wok-3d-shell:not(.route-landing):not(.route-home) .btn.btn-primary,
body.wok-3d-shell:not(.route-landing):not(.route-home) .btn.btn-info {
    border-top-color: #fff4d3 !important;
    border-right-color: #c7a765 !important;
    border-bottom-color: #76551d !important;
    border-left-color: #e5c98d !important;
    background-color: #ecdab0 !important;
    background-image: linear-gradient(180deg, #fff3d1 0%, #ecdab0 48%, #c9a867 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .76),
        inset 0 -2px 0 rgba(116, 80, 23, .28),
        0 5px 0 #6c4b17,
        0 13px 23px rgba(0, 0, 0, .44) !important;
    color: #2a1d09 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .46) !important;
}

body.wok-3d-shell .login-page-container .login-button:hover:not(:disabled),
body.wok-3d-shell .register-page-container .register-button:hover:not(:disabled),
body.wok-3d-shell .account-content .btn-submit:hover,
body.wok-3d-shell:not(.route-landing):not(.route-home) button#player_search_button:hover,
body.wok-3d-shell:not(.route-landing):not(.route-home) button#clan_search_button:hover,
body.wok-3d-shell:not(.route-landing):not(.route-home) .btn.btn-primary:hover,
body.wok-3d-shell:not(.route-landing):not(.route-home) .btn.btn-info:hover {
    background-image: linear-gradient(180deg, #fff8e4 0%, #f2dfb6 48%, #d2b372 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .82),
        inset 0 -2px 0 rgba(116, 80, 23, .25),
        0 7px 0 #6c4b17,
        0 18px 28px rgba(0, 0, 0, .50) !important;
}

/* Tabs, filters and navigation chips use compact button depth. */
.page-menu > li > a,
.filter-menu > li > a,
.guide-nav-item,
.gmr-news-filter,
.gmr-home-ranking__tab,
.account-menu a {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .055),
        inset 0 -2px 0 rgba(0, 0, 0, .34),
        0 3px 0 rgba(0, 0, 0, .38),
        0 8px 14px rgba(0, 0, 0, .24) !important;
    transform: translateY(0);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease !important;
}

.page-menu > li > a:hover,
.filter-menu > li > a:hover,
.guide-nav-item:hover,
.gmr-news-filter:hover,
.gmr-home-ranking__tab:hover,
.account-menu a:hover {
    transform: translateY(-2px) !important;
}

.page-menu > li.active > a,
.filter-menu > li.active > a,
.guide-nav-item.is-active,
.gmr-news-filter.is-active,
.gmr-home-ranking__tab.is-active,
.account-menu a.active {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .60),
        inset 0 -2px 0 rgba(111, 76, 20, .26),
        0 4px 0 #654616,
        0 11px 20px rgba(0, 0, 0, .34) !important;
}

/* Download links are green dimensional action cards. */
.wok-download-link {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .10),
        inset 0 -4px 0 rgba(0, 35, 19, .42),
        0 7px 0 rgba(0, 28, 16, .72),
        0 22px 38px rgba(0, 0, 0, .44) !important;
    transform: translateY(0) translateZ(0);
}

.wok-download-link:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .13),
        inset 0 -4px 0 rgba(0, 35, 19, .38),
        0 10px 0 rgba(0, 28, 16, .72),
        0 29px 48px rgba(0, 0, 0, .52) !important;
    transform: translateY(-4px) translateZ(12px) !important;
}

/* Landing/home use the same depth system even though their layout is unique. */
.gmr-home-header,
.gmr-landing-header {
    box-shadow:
        inset 0 -1px 0 rgba(239, 193, 119, .16),
        0 8px 0 rgba(0, 0, 0, .22),
        0 24px 52px rgba(0, 0, 0, .52) !important;
}

.gmr-home-showcase__card,
.gmr-home-news__card,
.gmr-home-ranking__board,
.gmr-home-academy__panel,
.gmr-landing-feature,
.gmr-landing-news__card {
    border-top-color: rgba(255, 255, 255, .10) !important;
    border-right-color: rgba(255, 255, 255, .05) !important;
    border-bottom-color: rgba(0, 0, 0, .84) !important;
    background-image:
        linear-gradient(145deg, rgba(255, 255, 255, .045), transparent 32%),
        linear-gradient(180deg, rgba(25, 26, 30, .97), rgba(10, 11, 14, .99)) !important;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, .045),
        inset -1px -1px 0 rgba(0, 0, 0, .62),
        0 8px 0 rgba(0, 0, 0, .34),
        0 27px 54px rgba(0, 0, 0, .52) !important;
}

.gmr-home-ranking__row {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .025),
        inset 0 -1px 0 rgba(0, 0, 0, .42),
        0 3px 8px rgba(0, 0, 0, .18) !important;
}

.gmr-home-cta,
.gmr-landing-cta {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .22),
        inset 0 -3px 0 rgba(74, 8, 9, .40),
        0 6px 0 #681112,
        0 17px 30px rgba(0, 0, 0, .48) !important;
}

/* Legacy and utility pages: character, clan, forum, tickets, shop and guides. */
body.wok-3d-shell:not(.route-landing):not(.route-home) .ranking-block,
body.wok-3d-shell:not(.route-landing):not(.route-home) .character-block,
body.wok-3d-shell:not(.route-landing):not(.route-home) .gamemasters-block,
body.wok-3d-shell:not(.route-landing):not(.route-home) .new__ticket-block,
body.wok-3d-shell:not(.route-landing):not(.route-home) .chat,
body.wok-3d-shell:not(.route-landing):not(.route-home) .faq-container,
body.wok-3d-shell:not(.route-landing):not(.route-home) .clan-detail-container,
body.wok-3d-shell:not(.route-landing):not(.route-home) .detail-page,
body.wok-3d-shell:not(.route-landing):not(.route-home) .user-profile,
body.wok-3d-shell:not(.route-landing):not(.route-home) .premium-gift-container,
body.wok-3d-shell:not(.route-landing):not(.route-home) .pus-items-container,
body.wok-3d-shell:not(.route-landing):not(.route-home) .upgrade-rates-container,
body.wok-3d-shell:not(.route-landing):not(.route-home) .lottery-container,
body.wok-3d-shell:not(.route-landing):not(.route-home) .forum-guide-container,
body.wok-3d-shell:not(.route-landing):not(.route-home) .forum-category-page,
body.wok-3d-shell:not(.route-landing):not(.route-home) .forum-thread-page,
body.wok-3d-shell:not(.route-landing):not(.route-home) .edit-form-container,
body.wok-3d-shell:not(.route-landing):not(.route-home) .modal-container,
body.wok-3d-shell:not(.route-landing):not(.route-home) .arayuz-block,
body.wok-3d-shell:not(.route-landing):not(.route-home) .battle-block,
body.wok-3d-shell:not(.route-landing):not(.route-home) .castle-block,
body.wok-3d-shell:not(.route-landing):not(.route-home) .gameplay-block,
body.wok-3d-shell:not(.route-landing):not(.route-home) .installation-block,
body.wok-3d-shell:not(.route-landing):not(.route-home) .mob-block,
body.wok-3d-shell:not(.route-landing):not(.route-home) .promo-block,
body.wok-3d-shell:not(.route-landing):not(.route-home) .shop__block,
body.wok-3d-shell:not(.route-landing):not(.route-home) .userprofile-block,
body.wok-3d-shell:not(.route-landing):not(.route-home) .zones-block,
body.wok-3d-shell:not(.route-landing):not(.route-home) .zindan-block {
    position: relative;
    border: 1px solid rgba(239, 193, 119, .22) !important;
    border-top-color: rgba(255, 255, 255, .10) !important;
    border-right-color: rgba(255, 255, 255, .05) !important;
    border-bottom-color: rgba(0, 0, 0, .86) !important;
    border-radius: 7px !important;
    background-color: #111216 !important;
    background-image:
        linear-gradient(145deg, rgba(255, 255, 255, .045), transparent 30%),
        linear-gradient(180deg, rgba(25, 26, 30, .985), rgba(10, 11, 14, .995)) !important;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, .045),
        inset -1px -1px 0 rgba(0, 0, 0, .66),
        inset 0 -18px 30px rgba(0, 0, 0, .18),
        var(--gmr-3d-depth-md) !important;
    color: var(--gmr-ref-text) !important;
}

.detail-card,
.stat-card,
.faq-item,
.forum-category-row,
.sub-forum-item,
.moderation-item-content,
.player-tickets {
    border: 1px solid rgba(255, 255, 255, .075) !important;
    border-top-color: rgba(255, 255, 255, .105) !important;
    border-bottom-color: rgba(0, 0, 0, .78) !important;
    background-color: #17181b !important;
    background-image: linear-gradient(155deg, rgba(255, 255, 255, .038), transparent 42%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .035),
        inset 0 -2px 0 rgba(0, 0, 0, .35),
        0 5px 0 rgba(0, 0, 0, .30),
        0 14px 27px rgba(0, 0, 0, .32) !important;
}

.table-responsive,
.applications-table,
.premium-gift-table,
.lottery-table-wrapper,
.upgrade-scroll-table,
.mob-drops-table,
.mob-info-table {
    border: 1px solid rgba(255, 255, 255, .07) !important;
    border-top-color: rgba(0, 0, 0, .80) !important;
    border-bottom-color: rgba(255, 255, 255, .09) !important;
    border-radius: 5px !important;
    background: rgba(8, 9, 11, .88) !important;
    box-shadow:
        inset 0 5px 14px rgba(0, 0, 0, .58),
        0 6px 0 rgba(0, 0, 0, .33),
        0 18px 34px rgba(0, 0, 0, .34) !important;
}

.modal-backdrop.in {
    opacity: .78 !important;
    backdrop-filter: blur(3px);
}

@media (max-width: 820px) {
    body.wok-3d-shell:not(.route-landing):not(.route-home) .cont-items {
        perspective: none;
    }

    .gmr-page-hero,
    .title-header,
    .guide-hero,
    .wok-download__hero,
    .gmr-account-hero {
        transform: none;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .07),
            inset 0 -24px 42px rgba(0, 0, 0, .42),
            0 7px 0 rgba(0, 0, 0, .34),
            0 22px 42px rgba(0, 0, 0, .50) !important;
    }

    .ranking-container .tab-content,
    .clan-ranking-container .tab-content {
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }
}

@media (max-width: 560px) {
    .news-item:hover,
    .info-card:hover,
    .guide-block:hover,
    .wok-requirement-card:hover,
    .gmr-home-showcase__card:hover,
    .gmr-home-news__card:hover,
    .gmr-landing-feature:hover,
    .gmr-landing-news__card:hover {
        transform: translateY(-2px) !important;
    }

    body.wok-3d-shell:not(.route-landing):not(.route-home) .btn,
    body.wok-3d-shell:not(.route-landing):not(.route-home) button:not(.close):not(.mobile-menu-toggle),
    body.wok-3d-shell:not(.route-landing):not(.route-home) input[type="submit"] {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .10),
            inset 0 -2px 0 rgba(0, 0, 0, .40),
            0 3px 0 #07080a,
            0 8px 14px rgba(0, 0, 0, .34) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-item,
    .info-card,
    .guide-block,
    .wok-requirement-card,
    .wok-download-link,
    .gmr-home-showcase__card,
    .gmr-home-news__card,
    .gmr-landing-feature,
    .gmr-landing-news__card {
        transform: none !important;
    }
}

/* --------------------------------------------------------------------------
   GMR motion layer
   Progressive scroll reveals, ambient movement and tactile feedback. Content
   remains visible when JavaScript is unavailable and motion can be reduced.
   -------------------------------------------------------------------------- */

:root {
    --gmr-motion-ease: cubic-bezier(.2, .72, .2, 1);
    --gmr-motion-spring: cubic-bezier(.17, .89, .32, 1.28);
}

@keyframes gmrNoticeFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes gmrAmbientDrift {
    0% {
        background-position: 0 110px, 0 240px, 0 80px;
        opacity: .46;
    }
    50% { opacity: .72; }
    100% {
        background-position: 46px -220px, -64px -150px, 82px -280px;
        opacity: .54;
    }
}

@keyframes gmrHeaderIn {
    from { opacity: 0; translate: 0 -18px; }
    to { opacity: 1; translate: 0 0; }
}

@keyframes gmrHeroBreath {
    0% { background-position: 48% center, 50% center, 48% 40%; }
    100% { background-position: 52% center, 50% center, 52% 40%; }
}

@keyframes gmrHeroLine {
    0%, 100% { opacity: .48; filter: brightness(.84); }
    50% { opacity: 1; filter: brightness(1.28); }
}

@keyframes gmrTitleShine {
    0%, 18% { background-position: 115% 50%; }
    48%, 100% { background-position: -25% 50%; }
}

@keyframes gmrEyebrowPulse {
    0%, 100% { opacity: .68; letter-spacing: .16em; }
    50% { opacity: 1; letter-spacing: .19em; }
}

@keyframes gmrIconFloat {
    0%, 100% { translate: 0 0; filter: brightness(1); }
    50% { translate: 0 -5px; filter: brightness(1.18); }
}

@keyframes gmrDownloadAlive {
    0%, 100% { filter: brightness(1) saturate(1); }
    50% { filter: brightness(1.08) saturate(1.12); }
}

@keyframes gmrRowIn {
    from { opacity: 0; translate: -12px 0; }
    to { opacity: 1; translate: 0 0; }
}

@keyframes gmrTabIn {
    from { opacity: 0; translate: 0 8px; filter: blur(2px); }
    to { opacity: 1; translate: 0 0; filter: blur(0); }
}

@keyframes gmrModalIn {
    from { opacity: 0; transform: translateY(22px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes gmrAlertIn {
    from { opacity: 0; translate: 0 -8px; clip-path: inset(0 0 100% 0); }
    to { opacity: 1; translate: 0 0; clip-path: inset(0 0 0 0); }
}

@keyframes gmrButtonSheen {
    0%, 68% { translate: -260% 0; opacity: 0; }
    72% { opacity: .18; }
    86% { opacity: .42; }
    100% { translate: 340% 0; opacity: 0; }
}

@keyframes gmrRipple {
    from { opacity: .52; transform: scale(.04); }
    to { opacity: 0; transform: scale(1); }
}

@keyframes gmrStatusPulse {
    0%, 100% { opacity: .72; box-shadow: 0 0 0 0 rgba(24, 182, 106, .38); }
    50% { opacity: 1; box-shadow: 0 0 0 7px rgba(24, 182, 106, 0); }
}

body.wok-3d-shell:not(.route-landing):not(.route-home)::after {
    animation: gmrAmbientDrift 20s ease-in-out infinite alternate !important;
}

.gmr-top-notice {
    background-size: 220% 100% !important;
    animation: gmrNoticeFlow 7s ease-in-out infinite !important;
}

body.wok-3d-shell.wok-3d-ready:not(.route-landing):not(.route-home) .main > header,
body.wok-3d-shell.wok-3d-ready .gmr-home-header,
body.wok-3d-shell.wok-3d-ready .gmr-landing-header {
    animation: gmrHeaderIn .62s var(--gmr-motion-ease) both;
}

.gmr-page-hero,
.title-header,
.guide-hero,
.wok-download__hero,
.gmr-account-hero {
    animation: gmrHeroBreath 18s ease-in-out infinite alternate;
}

.gmr-page-hero::before,
.title-header::before,
.guide-hero::before,
.wok-download__hero::before,
.gmr-account-hero::before {
    animation: gmrHeroLine 4.6s ease-in-out infinite;
}

body.wok-3d-shell .page-title,
body.wok-3d-shell .guide-hero h1,
body.wok-3d-shell .guide-hero-title,
body.wok-3d-shell .wok-download__title,
body.wok-3d-shell .gmr-page-hero__title,
body.wok-3d-shell .gmr-account-hero__title,
body.wok-3d-shell .login-page-title,
body.wok-3d-shell .register-page-title,
body.wok-3d-shell .gmr-home-hero__title,
body.wok-3d-shell .gmr-home-section-title {
    background-image: linear-gradient(105deg, #dec38d 0%, #fffaf0 22%, #f3e3bd 40%, #fff 49%, #f3e3bd 58%, #dec38d 82%, #b98a3a 100%) !important;
    background-size: 240% 100% !important;
    animation: gmrTitleShine 6.8s ease-in-out infinite;
}

.gmr-page-hero__eyebrow,
.gmr-account-hero__eyebrow,
.gmr-auth-eyebrow {
    animation: gmrEyebrowPulse 4.2s ease-in-out infinite;
}

/* Scroll entrance system is enabled by wok-3d.js only after feature checks. */
.gmr-motion-ready .gmr-reveal {
    opacity: 0;
    translate: 0 26px;
    filter: blur(4px) brightness(.78);
    transition:
        opacity .62s var(--gmr-motion-ease),
        translate .72s var(--gmr-motion-spring),
        filter .62s ease !important;
    transition-delay: var(--gmr-reveal-delay, 0ms) !important;
    will-change: opacity, translate, filter;
}

.gmr-motion-ready .gmr-reveal.is-visible {
    opacity: 1;
    translate: 0 0;
    filter: blur(0) brightness(1);
    will-change: auto;
}

/* Sequential table motion makes ranking changes easier to follow. */
body.wok-3d-shell .ranking-container tbody tr,
body.wok-3d-shell .clan-ranking-container tbody tr,
.gmr-home-ranking__row {
    animation: gmrRowIn .48s var(--gmr-motion-ease) both;
}

body.wok-3d-shell .ranking-container tbody tr:nth-child(2),
body.wok-3d-shell .clan-ranking-container tbody tr:nth-child(2),
.gmr-home-ranking__row:nth-child(2) { animation-delay: 55ms; }

body.wok-3d-shell .ranking-container tbody tr:nth-child(3),
body.wok-3d-shell .clan-ranking-container tbody tr:nth-child(3),
.gmr-home-ranking__row:nth-child(3) { animation-delay: 110ms; }

body.wok-3d-shell .ranking-container tbody tr:nth-child(4),
body.wok-3d-shell .clan-ranking-container tbody tr:nth-child(4),
.gmr-home-ranking__row:nth-child(4) { animation-delay: 165ms; }

body.wok-3d-shell .ranking-container tbody tr:nth-child(5),
body.wok-3d-shell .clan-ranking-container tbody tr:nth-child(5),
.gmr-home-ranking__row:nth-child(5) { animation-delay: 220ms; }

body.wok-3d-shell .ranking-container tbody tr:nth-child(n+6),
body.wok-3d-shell .clan-ranking-container tbody tr:nth-child(n+6),
.gmr-home-ranking__row:nth-child(n+6) { animation-delay: 275ms; }

.tab-pane.active,
.gmr-home-ranking__panel.is-active {
    animation: gmrTabIn .4s var(--gmr-motion-ease) both;
}

.modal.in .modal-dialog {
    animation: gmrModalIn .4s var(--gmr-motion-spring) both;
}

.alert {
    animation: gmrAlertIn .38s var(--gmr-motion-ease) both;
}

.info-card-icon,
.wok-download-link__icon,
.wok-download-step__icon,
.wok-requirement-card__title i,
.gmr-home-showcase__icon {
    animation: gmrIconFloat 3.4s ease-in-out infinite;
}

.info-card:nth-child(even) .info-card-icon,
.wok-download-step:nth-child(even) .wok-download-step__icon,
.wok-requirement-card:nth-child(even) .wok-requirement-card__title i,
.gmr-home-showcase__card:nth-child(even) .gmr-home-showcase__icon {
    animation-delay: -1.7s;
}

.wok-download-link {
    animation: gmrDownloadAlive 3.8s ease-in-out infinite;
}

.status-dot,
.server-status-dot,
.gmr-home-status__dot,
.online-indicator {
    animation: gmrStatusPulse 2.2s ease-in-out infinite;
}

.news-item-image img,
.news-detail-image img,
.gmr-home-news__art img,
.gmr-landing-news__card img {
    transition: transform .7s var(--gmr-motion-ease), filter .7s ease !important;
}

.news-item:hover .news-item-image img,
.gmr-home-news__card:hover .gmr-home-news__art img,
.gmr-landing-news__card:hover img {
    transform: scale(1.055);
    filter: brightness(1.09) saturate(1.06);
}

/* Light sweep across the most important actions. */
.login-button,
.register-button,
.btn-primary,
.btn-info,
#player_search_button,
#clan_search_button,
.header-account-action,
.wok-download-link__action,
.gmr-home-cta,
.gmr-landing-cta {
    position: relative !important;
    isolation: isolate;
    overflow: hidden !important;
}

.login-button::after,
.register-button::after,
.btn-primary::after,
.btn-info::after,
#player_search_button::after,
#clan_search_button::after,
.header-account-action::after,
.wok-download-link__action::after,
.gmr-home-cta::after,
.gmr-landing-cta::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: -55%;
    bottom: -55%;
    left: 0;
    width: 34%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .82), transparent);
    transform: skewX(-22deg);
    animation: gmrButtonSheen 5.4s ease-in-out infinite;
}

.register-button::after,
.btn-info::after,
.header-account-action--register::after {
    animation-delay: -2.7s;
}

/* Pointer ripple is created safely by wok-3d.js and removed after completion. */
.gmr-ripple-host {
    position: relative !important;
    overflow: hidden !important;
}

.gmr-click-ripple {
    position: absolute;
    z-index: 4;
    display: block;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, .74) 0%, rgba(239, 193, 119, .28) 42%, transparent 70%);
    mix-blend-mode: screen;
    transform: scale(.04);
    animation: gmrRipple .7s ease-out forwards;
}

@media (max-width: 820px) {
    .gmr-motion-ready .gmr-reveal {
        translate: 0 16px;
        filter: blur(2px) brightness(.84);
        transition-duration: .5s !important;
    }

    .gmr-page-hero,
    .title-header,
    .guide-hero,
    .wok-download__hero,
    .gmr-account-hero {
        animation-duration: 24s;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.wok-3d-shell::after,
    .gmr-top-notice,
    body.wok-3d-shell .main > header,
    .gmr-page-hero,
    .title-header,
    .guide-hero,
    .wok-download__hero,
    .gmr-account-hero,
    .gmr-page-hero::before,
    .title-header::before,
    .guide-hero::before,
    .wok-download__hero::before,
    .gmr-account-hero::before,
    body.wok-3d-shell .page-title,
    body.wok-3d-shell .guide-hero h1,
    body.wok-3d-shell .guide-hero-title,
    body.wok-3d-shell .wok-download__title,
    body.wok-3d-shell .gmr-page-hero__title,
    body.wok-3d-shell .gmr-account-hero__title,
    body.wok-3d-shell .login-page-title,
    body.wok-3d-shell .register-page-title,
    body.wok-3d-shell .gmr-home-hero__title,
    body.wok-3d-shell .gmr-home-section-title,
    .gmr-page-hero__eyebrow,
    .gmr-account-hero__eyebrow,
    .gmr-auth-eyebrow,
    body.wok-3d-shell .ranking-container tbody tr,
    body.wok-3d-shell .clan-ranking-container tbody tr,
    .gmr-home-ranking__row,
    .tab-pane.active,
    .modal.in .modal-dialog,
    .alert,
    .info-card-icon,
    .wok-download-link,
    .wok-download-link__icon,
    .wok-download-step__icon,
    .wok-requirement-card__title i,
    .gmr-home-showcase__icon,
    .status-dot,
    .server-status-dot,
    .gmr-home-status__dot,
    .online-indicator {
        animation: none !important;
    }

    .gmr-motion-ready .gmr-reveal,
    .gmr-motion-ready .gmr-reveal.is-visible {
        opacity: 1 !important;
        translate: none !important;
        filter: none !important;
        transition: none !important;
    }

    .login-button::after,
    .register-button::after,
    .btn-primary::after,
    .btn-info::after,
    #player_search_button::after,
    #clan_search_button::after,
    .header-account-action::after,
    .wok-download-link__action::after,
    .gmr-home-cta::after,
    .gmr-landing-cta::after,
    .gmr-click-ripple {
        display: none !important;
    }
}

/* Home 5.1: single-row header that scrolls with the page */
body.wok-3d-shell.route-landing,
body.wok-3d-shell.route-home {
    --gmr-home-header: 86px;
}

body.wok-3d-shell.route-landing .gmr-home-header,
body.wok-3d-shell.route-home .gmr-home-header {
    position: relative !important;
    inset: auto !important;
    height: var(--gmr-home-header) !important;
}

.gmr-home-header__top {
    display: none !important;
}

.gmr-home-header__main {
    height: var(--gmr-home-header) !important;
}

body.wok-3d-shell.route-landing .gmr-home-hero,
body.wok-3d-shell.route-home .gmr-home-hero {
    padding-top: 58px !important;
}

@media (max-width: 980px) {
    body.wok-3d-shell.route-landing .gmr-home-mobile-menu,
    body.wok-3d-shell.route-home .gmr-home-mobile-menu {
        position: absolute !important;
        inset: var(--gmr-home-header) 0 auto !important;
        max-height: calc(100vh - var(--gmr-home-header));
        overflow-y: auto;
    }

    body.wok-3d-shell.route-landing .gmr-home-hero,
    body.wok-3d-shell.route-home .gmr-home-hero {
        padding-top: 42px !important;
    }
}

/* Home 5.3: one shared non-sticky header for every public page */
body.wok-3d-shell {
    --gmr-home-header: 86px;
}

body.wok-3d-shell .gmr-shared-header {
    position: relative !important;
    inset: auto !important;
    z-index: 1200 !important;
    display: block !important;
    box-sizing: border-box;
    width: 100% !important;
    height: var(--gmr-home-header) !important;
    min-height: var(--gmr-home-header) !important;
    margin: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(239, 193, 119, .22) !important;
    background: rgba(7, 8, 10, .985) !important;
    box-shadow: inset 0 -1px rgba(255, 255, 255, .025), 0 8px 0 rgba(0, 0, 0, .20), 0 22px 48px rgba(0, 0, 0, .48) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

body.wok-3d-shell .gmr-shared-header .gmr-home-header__main {
    display: flex !important;
    width: 100%;
    height: var(--gmr-home-header) !important;
    align-items: center;
    background: rgba(5, 6, 8, .96) !important;
}

body.wok-3d-shell .gmr-shared-header .gmr-home-header__inner {
    position: relative;
    display: grid !important;
    grid-template-columns: 172px minmax(430px, 1fr) auto auto !important;
    width: min(1680px, calc(100% - 56px)) !important;
    height: 100% !important;
    margin: 0 auto;
    align-items: center;
    gap: clamp(10px, 1.2vw, 22px) !important;
}

body.wok-3d-shell .gmr-shared-header .gmr-home-header__logo {
    position: relative;
    display: flex;
    align-self: stretch;
    align-items: center;
    justify-content: flex-start !important;
    padding: 7px 0 !important;
}

body.wok-3d-shell .gmr-shared-header .gmr-home-header__logo img {
    position: relative;
    display: block;
    width: 164px !important;
    max-width: 100%;
    height: 72px !important;
    object-fit: contain;
    object-position: left center;
}

body.wok-3d-shell .gmr-shared-header .gmr-home-header__nav,
body.wok-3d-shell .gmr-shared-header .gmr-home-header__socials,
body.wok-3d-shell .gmr-shared-header .gmr-home-header__actions {
    display: flex;
    align-items: center;
}

body.wok-3d-shell .gmr-shared-header .gmr-home-header__nav {
    min-width: 0;
    justify-content: flex-start !important;
    gap: clamp(13px, 1.35vw, 24px) !important;
}

body.wok-3d-shell .gmr-shared-header .gmr-home-header__nav a {
    position: relative;
    display: inline-flex !important;
    min-height: 52px !important;
    align-items: center;
    color: #c9cbd0 !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    letter-spacing: .075em !important;
    text-decoration: none !important;
    text-transform: uppercase;
    white-space: nowrap;
}

body.wok-3d-shell .gmr-shared-header .gmr-home-header__nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 5px !important;
    left: 0;
    height: 2px !important;
    opacity: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, var(--gmr-ref-gold-light), transparent) !important;
    transform: scaleX(.25);
    transition: opacity .2s ease, transform .2s ease;
}

body.wok-3d-shell .gmr-shared-header .gmr-home-header__nav a.is-active,
body.wok-3d-shell .gmr-shared-header .gmr-home-header__nav a:hover,
body.wok-3d-shell .gmr-shared-header .gmr-home-header__nav a:focus {
    color: #fff0c7 !important;
}

body.wok-3d-shell .gmr-shared-header .gmr-home-header__nav a.is-active::after,
body.wok-3d-shell .gmr-shared-header .gmr-home-header__nav a:hover::after,
body.wok-3d-shell .gmr-shared-header .gmr-home-header__nav a:focus::after {
    opacity: 1;
    transform: scaleX(1);
}

body.wok-3d-shell .gmr-shared-header .gmr-home-header__mobile-toggle {
    display: none !important;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .11) !important;
    border-radius: 7px;
    background: rgba(255, 255, 255, .045) !important;
    color: #f5f4ef;
    font-size: 18px;
    box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 7px 18px rgba(0, 0, 0, .30) !important;
}

body.wok-3d-shell .gmr-shared-header .gmr-home-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.wok-3d-shell > .gmr-home-mobile-menu {
    display: none;
}

body.wok-3d-shell > .gmr-home-mobile-menu.is-open {
    display: block;
}

body.wok-3d-shell .gmr-top-notice,
body.wok-3d-shell .social-media-bar {
    display: none !important;
}

@media (max-width: 1480px) {
    body.wok-3d-shell .gmr-shared-header .gmr-home-header__inner {
        grid-template-columns: 160px minmax(390px, 1fr) auto !important;
    }

    body.wok-3d-shell .gmr-shared-header .gmr-home-header__socials {
        display: none !important;
    }
}

@media (max-width: 1180px) {
    body.wok-3d-shell .gmr-shared-header .gmr-home-header__nav a:nth-child(6),
    body.wok-3d-shell .gmr-shared-header .gmr-home-header__nav a:nth-child(7) {
        display: none !important;
    }

    body.wok-3d-shell .gmr-shared-header .gmr-home-header__account-button {
        width: 39px;
        padding: 0 !important;
    }

    body.wok-3d-shell .gmr-shared-header .gmr-home-header__account-button span {
        display: none;
    }
}

@media (max-width: 980px) {
    body.wok-3d-shell .gmr-shared-header .gmr-home-header__inner {
        grid-template-columns: 54px minmax(120px, 1fr) 54px !important;
        width: calc(100% - 28px) !important;
        gap: 8px !important;
    }

    body.wok-3d-shell .gmr-shared-header .gmr-home-header__logo {
        grid-column: 2;
        grid-row: 1;
        justify-content: center !important;
    }

    body.wok-3d-shell .gmr-shared-header .gmr-home-header__logo img {
        width: 150px !important;
        height: 74px !important;
        object-position: center;
    }

    body.wok-3d-shell .gmr-shared-header .gmr-home-header__nav,
    body.wok-3d-shell .gmr-shared-header .gmr-home-header__socials,
    body.wok-3d-shell .gmr-shared-header .gmr-home-header__actions {
        display: none !important;
    }

    body.wok-3d-shell .gmr-shared-header .gmr-home-header__mobile-toggle {
        display: inline-flex !important;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    body.wok-3d-shell > .gmr-home-mobile-menu {
        position: absolute !important;
        z-index: 1190;
        inset: var(--gmr-home-header) 0 auto !important;
        box-sizing: border-box;
        width: 100%;
        max-height: calc(100vh - var(--gmr-home-header));
        padding: 16px 14px 30px;
        overflow-y: auto;
        border-bottom: 1px solid rgba(239, 193, 119, .24);
        background: rgba(6, 6, 7, .985);
        box-shadow: 0 22px 50px rgba(0, 0, 0, .58);
    }

    body.wok-3d-shell > .gmr-home-mobile-menu a {
        display: flex;
        min-height: 52px;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        border-bottom: 1px solid rgba(239, 193, 119, .13);
        color: #eeeae1 !important;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: .045em;
        text-decoration: none !important;
        text-transform: uppercase;
    }

    body.wok-3d-shell > .gmr-home-mobile-menu a i {
        color: var(--gmr-ref-gold-light);
    }

    body.gmr-shared-menu-open {
        overflow: hidden !important;
    }
}
/* Clan ranking search results ------------------------------------------------- */
body.route-clan-ranking .clan-ranking-container .clan-search-results[hidden] {
    display: none !important;
}

body.route-clan-ranking .clan-ranking-container .clan-search-results.is-visible {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-height: 300px !important;
    margin-top: 10px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid rgba(236, 201, 125, .24) !important;
    border-radius: 7px !important;
    background: rgba(8, 8, 7, .72) !important;
}

body.route-clan-ranking .clan-ranking-container .clan-search-results .table {
    display: table !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    table-layout: fixed !important;
    border: 0 !important;
    border-radius: 0 !important;
}

body.route-clan-ranking .clan-ranking-container .clan-search-results th,
body.route-clan-ranking .clan-ranking-container .clan-search-results td {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

@media (max-width: 760px) {
    body.route-clan-ranking .clan-ranking-container .tab-content .table {
        min-width: 680px !important;
    }
}
