@media (max-width: 768px) {
    body {
        min-width: 0;
        padding-top: 64px;
    }

    .container,
    .site-header__inner,
    .site-footer__inner,
    .article-wrap {
        width: calc(100% - 32px);
    }

    .site-header {
        top: 0;
        height: 64px;
        overflow: visible;
        z-index: 9999;
        background: #fff;
    }

    body.menu-open .site-header {
        z-index: 9999;
    }

    .admin-bar .site-header {
        top: 0;
    }

    .site-header__inner {
        justify-content: space-between;
        height: 64px;
        background: #fff;
    }

    .site-logo img {
        width: 110px;
        height: 32px;
        object-fit: contain;
    }

    .site-nav {
        display: none;
    }

    .register-button {
        position: relative;
        z-index: 2;
        min-width: 92px;
        height: 30px;
        padding: 0 12px;
        font-size: 14px;
    }

    .mobile-menu-toggle {
        position: relative;
        z-index: 3;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 30px;
        height: 30px;
        border: 0;
        background: transparent;
        padding: 0;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        width: 24px;
        height: 2px;
        border-radius: 2px;
        background: #1570b7;
        transition: transform 0.35s ease, opacity 0.35s ease;
        transform-origin: center;
    }

    .mobile-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-nav-panel {
        display: block;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        z-index: 9998;
        width: 100%;
        max-height: 0;
        padding: 0 20px;
        background: #ffffff;
        box-shadow: 0 12px 24px rgba(80, 130, 180, 0.16);
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease, padding 0.4s ease;
    }

    .mobile-nav-panel.is-open {
        max-height: 420px;
        padding-top: 10px;
        padding-bottom: 12px;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-nav-panel a {
        height: 42px;
        min-height: 40px;
        border-radius: 0;
        background: transparent;
        color: #173d72;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
        font-size: 14px;
        font-weight: 600;
        line-height: 42px;
    }

    .mobile-nav-panel a:hover,
    .mobile-nav-panel a.active {
        color: #1570b7;
    }

    .mobile-nav-panel__download {
        justify-content: space-between !important;
    }

    .mobile-nav-panel__download span {
        width: 12px;
        height: 12px;
        background: url("../icons/icon-arrow-down.svg") center / 12px 12px no-repeat;
        filter: brightness(0) saturate(100%) invert(29%) sepia(20%) saturate(1164%) hue-rotate(186deg) brightness(89%) contrast(86%);
    }

    .breadcrumb {
        max-width: 100%;
        line-height: 24px;
        overflow-wrap: anywhere;
    }

    .breadcrumb__current {
        display: inline;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }


    .hero {
        flex-direction: column;
        min-height: 0;
        padding: 34px 0 20px;
        text-align: center;
    }

    .hero__copy {
        width: 100%;
    }

    .hero__copy h1 {
        color: #0b74bd;
        font-size: 36px;
        line-height: 48px;
        white-space: normal;
    }

    .hero__copy h1::after {
        display: block;
        width: 60px;
        height: 3px;
        margin: 12px auto 0;
        border-radius: 3px;
        background: #179cff;
        content: "";
    }

    .hero__copy p {
        font-size: 14px;
        line-height: 24px;
        text-align: left;
    }

    .hero__partners {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .hero__partners span {
        height: 32px;
        padding: 0 14px 0 12px;
        font-size: 12px;
        letter-spacing: 0.2px;
    }

    .hero__partners span::before {
        width: 5px;
        height: 5px;
        margin-right: 7px;
        box-shadow: 0 0 0 3px rgba(23, 156, 255, 0.12);
    }

    .hero__media {
        position: relative;
        z-index: 1;
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        margin-top: 18px;
    }

    .hero__media img {
        position: relative;
        z-index: 1;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .platform-card {
        position: relative;
        z-index: 3;
        width: calc(100% - 32px);
        margin-top: -32px;
        margin-bottom: 18px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .platform-entry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        border: 0;
        margin-bottom: 12px;
    }

    .platform-entry,
    .platform-entry + .platform-entry {
        min-height: 38px;
        border: 0;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 6px 16px rgba(80, 130, 180, 0.12);
        gap: 8px;
        padding: 0 10px;
        font-size: 12px;
        line-height: 16px;
        justify-content: center;
        white-space: nowrap;
    }

    .platform-entry img {
        width: 16px;
        height: 16px;
    }

    .platform-entry b {
        display: none;
    }

    .platform-card__note {
        margin: 0;
        padding: 12px 12px 8px;
        border-radius: 10px 10px 0 0;
        background: #fff;
        font-size: 10px;
        font-weight: 700;
        line-height: 16px;
        text-align: center;
    }

    .contact-card-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 12px 10px;
        border-radius: 0 0 10px 10px;
        background: #fff;
        box-shadow: 0 6px 16px rgba(80, 130, 180, 0.12);
    }

    .contact-card {
        min-height: 42px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        gap: 8px;
    }

    .contact-card img {
        width: 26px;
        height: 26px;
    }

    .contact-card strong {
        font-size: 12px;
        line-height: 16px;
    }

    .copy-button,
    .outline-button,
    .gradient-button {
        height: 28px;
        min-width: auto;
        padding: 0 12px;
        border-radius: 14px;
        font-size: 12px;
        white-space: nowrap;
    }

    .page-section {
        padding-top: 58px;
    }

    .section-title {
        margin-bottom: 24px;
    }

    .section-title h1,
    .section-title h2 {
        gap: 8px;
        font-size: 24px;
        line-height: 34px;
    }

    .section-title h1::before,
    .section-title h1::after,
    .section-title h2::before,
    .section-title h2::after {
        width: 64px;
        height: 10px;
        background:
            linear-gradient(45deg, transparent 44%, #2fa8ff 44% 56%, transparent 56%) 0 2px / 6px 6px no-repeat,
            linear-gradient(-45deg, transparent 44%, #2fa8ff 44% 56%, transparent 56%) 0 2px / 6px 6px no-repeat,
            linear-gradient(45deg, transparent 44%, #66c6ff 44% 56%, transparent 56%) 8px 2px / 6px 6px no-repeat,
            linear-gradient(-45deg, transparent 44%, #66c6ff 44% 56%, transparent 56%) 8px 2px / 6px 6px no-repeat,
            linear-gradient(45deg, transparent 44%, #a7ddff 44% 56%, transparent 56%) 16px 2px / 6px 6px no-repeat,
            linear-gradient(-45deg, transparent 44%, #a7ddff 44% 56%, transparent 56%) 16px 2px / 6px 6px no-repeat,
            linear-gradient(90deg, #4bb5ff 0%, rgba(120, 200, 255, 0.35) 65%, transparent 100%) left center / 100% 1px no-repeat;
    }

    .section-title p {
        font-size: 12px;
        line-height: 20px;
    }

    .download-cards {
        width: 100%;
        justify-content: flex-start;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 16px 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-color: transparent transparent;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .download-cards::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
        background: transparent;
    }

    .download-cards::-webkit-scrollbar-track,
    .download-cards::-webkit-scrollbar-thumb,
    .download-cards::-webkit-scrollbar-corner {
        display: none;
        width: 0;
        height: 0;
        background: transparent;
    }

    .download-card {
        width: 286px;
        min-width: 286px;
        min-height: 480px;
        scroll-snap-align: start;
    }

    .download-card img {
        width: 160px;
        aspect-ratio: 160 / 220;
        height: 220px;
        object-fit: contain;
    }

    .download-card h3 {
        font-size: 22px;
    }

    .page-section--about {
        margin-top: 36px;
        padding: 38px 0 52px;
    }

    .page-section--about::before {
        display: none;
    }

    .about-panel {
        display: flex;
        flex-direction: column;
        min-height: 0;
        margin-top: 14px;
        padding: 24px 16px;
        border-radius: 24px;
    }

    .about-panel::before {
        top: -28px;
        height: calc(100% + 56px);
    }

    .about-panel__image {
        position: static;
        order: -1;
        width: 100%;
        aspect-ratio: 600 / 560;
        height: auto;
    }

    .about-tabs {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }

    .about-tab {
        flex: 1;
        min-height: 36px;
        font-size: 13px;
    }

    .about-heading {
        flex-wrap: wrap;
    }

    .about-heading strong,
    .about-heading h3,
    .game-panel__body strong,
    .game-panel__body h3 {
        font-size: 24px;
        line-height: 34px;
    }

    .about-heading span,
    .game-panel__body span {
        font-size: 14px;
    }

    .about-text {
        max-height: 210px;
        overflow-y: auto;
    }

    .game-tabs {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 0;
        width: calc(100% - 32px);
        margin: 0 auto 24px;
        padding: 6px;
        border: none;
        border-radius: 999px;
        outline: none;
        background: #e8f6ff;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        box-shadow: 0 8px 18px rgba(80, 130, 180, 0.12);
    }

    .game-tabs::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .game-tabs::before,
    .game-tabs::after {
        border: none;
    }

    .game-tab {
        flex: 0 0 auto;
        min-width: 84px;
        width: auto;
        height: 40px;
        padding: 0 16px;
        border: 0;
        border-radius: 999px;
        outline: none;
        background: transparent;
        box-shadow: none;
        color: #3f5075;
        font-size: 14px;
        font-weight: 600;
        line-height: 40px;
        text-align: center;
        white-space: nowrap;
        transition: all 0.25s ease;
    }

    .game-tab.active {
        background: #fff;
        color: #1570b7;
        box-shadow: 0 6px 14px rgba(80, 130, 180, 0.16);
    }

    .game-tab:hover {
        background: transparent;
        color: #1570b7;
        box-shadow: none;
    }

    .game-tab.active:hover {
        background: #fff;
        color: #1570b7;
        box-shadow: 0 6px 14px rgba(80, 130, 180, 0.16);
    }

    .game-tab:focus {
        outline: none;
    }

    .game-panel {
        min-height: 0;
    }

    .game-panel > img {
        position: static;
        width: 100%;
        aspect-ratio: 610 / 520;
        height: auto;
        object-fit: contain;
    }

    .game-panel__body {
        position: static;
        width: 100%;
        min-height: 0;
        padding: 20px 16px;
        border-radius: 24px;
    }

    .faq-list,
    .dynamic-list,
    .news-grid {
        width: calc(100% - 32px);
    }

    .faq-question,
    .dynamic-head {
        min-height: 56px;
        padding: 12px 14px;
        font-size: 14px;
        line-height: 22px;
    }

    .faq-question {
        height: 48px;
        min-height: 48px;
        padding: 0 14px;
    }

    .faq-answer,
    .dynamic-body {
        padding: 0 14px;
        line-height: 24px;
    }

    .faq-item.open .faq-answer,
    .dynamic-item.open .dynamic-body {
        max-height: 900px;
        padding: 12px 14px 16px;
    }

    .dynamic-head time {
        width: 82px;
    }

    .dynamic-head time strong {
        font-size: 28px;
    }

    .dynamic-title {
        padding-left: 12px;
    }

    .dynamic-tabs {
        margin-top: -10px;
    }

    .news-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin: 0 auto;
    }

    .news-card img {
        aspect-ratio: 16 / 9;
        height: 190px;
    }

    .site-footer {
        padding: 28px 20px 24px;
    }

    .footer-main {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .footer-brand img {
        display: none;
    }

    .footer-brand p {
        font-size: 14px;
        line-height: 24px;
    }

    .footer-socials {
        justify-content: center;
        margin-top: 14px;
    }

    .footer-friend-links {
        padding-top: 0;
        text-align: center;
    }

    .footer-friend-links h3,
    .footer-friend-links h2,
    .footer-friend-links strong {
        margin-bottom: 14px;
        font-size: 16px;
    }

    .footer-friend-links a {
        display: inline-flex;
        min-height: 28px;
        align-items: center;
        padding: 0 10px;
        border-radius: 3px;
        background: rgba(255, 255, 255, 0.08);
        font-size: 14px;
    }

    .footer-certificates {
        flex-wrap: nowrap;
        gap: 8px;
        margin-top: 22px;
        padding-top: 18px;
        justify-content: center;
    }

    .footer-certificates img {
        width: auto;
        max-width: 68px;
        height: 22px;
        flex: 0 1 auto;
    }

    .footer-license {
        text-align: left;
        font-size: 14px;
        line-height: 24px;
    }

    .footer-bottom {
        gap: 10px;
    }

    .footer-bottom a,
    .footer-bottom span,
    .footer-copyright {
        font-size: 13px;
    }

    .news-page,
    .archive-page,
    .single-page {
        min-height: auto;
        padding-top: 38px;
    }

    .error-page {
        align-items: flex-start;
        width: 100%;
        max-width: 100vw;
        min-height: auto;
        padding: 32px 16px 40px;
        overflow-x: hidden;
    }

    .error-card {
        width: 100%;
        max-width: 100%;
        padding: 28px 20px;
        border-radius: 16px;
    }

    body.error404 {
        overflow-x: hidden;
    }

    body.error404 .site-footer {
        margin-top: auto;
    }

    body.error404 .footer-certificates::before {
        left: 0;
        width: 100%;
        transform: none;
    }

    .error-card h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .error-card p {
        font-size: 14px;
        line-height: 24px;
    }

    .error-back-home {
        font-size: 14px;
    }

    .news-list--page,
    .news-list--archive {
        width: 100%;
        max-width: none;
    }

    .news-list--page .news-card a,
    .news-list--archive .news-card a {
        display: block;
    }

    .news-list--page .news-card img,
    .news-list--archive .news-card img {
        height: 180px;
    }

    .article-wrap {
        width: calc(100% - 32px) !important;
        max-width: 100% !important;
    }

    .article-card {
        padding: 28px 18px;
        border-radius: 16px;
    }

    .article-card h1 {
        font-size: 24px;
        line-height: 34px;
    }

    .back-to-top {
        right: 16px;
        bottom: 18px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    #about .about-panel {
        overflow: hidden !important;
    }

    #about .about-tabs {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        margin: 0 0 16px !important;
        transform: none !important;
    }

    #about .about-tabs::before {
        display: none !important;
    }

    #about .about-tab {
        flex: 1 1 0 !important;
        justify-content: center !important;
        width: auto !important;
        min-width: 0 !important;
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 !important;
        border-radius: 999px !important;
        font-size: 12px !important;
        transform: none !important;
    }

    #about .about-tab.active,
    #about .about-tab:hover {
        transform: none !important;
    }

    #about .about-tab__icon {
        width: 38px !important;
        height: 38px !important;
        flex-basis: 38px !important;
    }

    #about .about-tab__icon img {
        width: 24px !important;
        height: 24px !important;
    }

    #about .about-tab__text {
        min-width: 0 !important;
        height: 36px !important;
        margin-left: -10px !important;
        padding: 0 12px 0 18px !important;
        font-size: 12px !important;
        line-height: 36px !important;
        white-space: nowrap !important;
    }

    #about .about-text {
        max-height: 180px !important;
        padding-right: 10px !important;
        scrollbar-color: #168bff rgba(22, 139, 255, 0.12) !important;
        scrollbar-width: thin !important;
    }

    #about .about-text::-webkit-scrollbar {
        width: 3px !important;
    }

    #about .about-text::-webkit-scrollbar-track {
        border-radius: 999px !important;
        background: rgba(22, 139, 255, 0.12) !important;
    }

    #about .about-text::-webkit-scrollbar-thumb {
        border-radius: 999px !important;
        background: linear-gradient(180deg, #67c4ff 0%, #168bff 100%) !important;
    }
}

@media (max-width: 1024px) {
    #about.page-section {
        margin-top: 24px !important;
        padding-top: 18px !important;
        padding-bottom: 42px !important;
    }

    #about::before {
        display: none !important;
    }

    #about .section-title {
        margin-bottom: 12px !important;
        padding-top: 0 !important;
    }

    #about .about-panel {
        display: flex !important;
        flex-direction: column !important;
        width: calc(100% - 32px) !important;
        margin-top: 8px !important;
        min-height: 0 !important;
        padding: 18px 14px !important;
        overflow: hidden !important;
    }

    #about .about-panel::before {
        top: -20px !important;
        height: calc(100% + 40px) !important;
    }

    #about .about-panel__image {
        position: static !important;
        order: -1 !important;
        width: 100% !important;
        height: auto !important;
    }

    #about .about-text {
        max-height: 160px !important;
        overflow-y: auto !important;
        margin-top: 12px !important;
    }

    #about .about-text p {
        font-size: 13px !important;
        line-height: 22px !important;
    }
}

@media (max-width: 768px) {
    .page-section {
        padding: 34px 0 38px;
    }

    .section-title {
        margin-bottom: 20px;
    }

    .section-title h1,
    .section-title h2 {
        margin-top: 0;
        margin-bottom: 6px;
        font-size: 24px;
        font-weight: 700;
        line-height: 32px;
    }

    .section-title p {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 13px;
        line-height: 20px;
    }

    .download-cards,
    .about-panel,
    .faq-list,
    .dynamic-list,
    .news-grid {
        margin-top: 0;
    }

    .download-cards {
        padding-bottom: 8px;
    }

    .game-tabs {
        margin-bottom: 20px;
    }

    .game-panel {
        margin-top: 0;
    }

    .faq-list,
    .dynamic-list,
    .news-grid {
        margin-right: auto;
        margin-left: auto;
    }

    .dynamic-tabs {
        margin: 16px auto 20px;
    }

    #about.page-section {
        margin-top: 0 !important;
        padding-top: 34px !important;
        padding-bottom: 38px !important;
    }

    #about .section-title {
        margin-bottom: 20px !important;
        padding-top: 0 !important;
    }

    #about .about-panel {
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
        overflow-x: hidden;
    }

    body.error404 {
        display: flex;
        flex-direction: column;
        min-height: 100dvh;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    .site-header,
    .site-main,
    main,
    .error-page,
    .site-footer {
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
        overflow-x: hidden;
    }

    .site-main,
    main {
        flex: 1 0 auto;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .container,
    .site-header__inner,
    .site-footer__inner,
    .article-wrap,
    .error-card {
        width: calc(100% - 32px) !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-right: auto !important;
        margin-left: auto !important;
        box-sizing: border-box;
    }

    .error-page {
        flex: 1 0 auto;
        align-items: flex-start;
        height: auto !important;
        min-height: 0 !important;
        padding: 24px 0 40px;
    }

    .error-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .error-card h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .error-card p {
        font-size: 14px;
        line-height: 24px;
    }

    .site-footer {
        flex-shrink: 0;
        margin-top: auto;
        margin-bottom: 0 !important;
        padding-right: 0;
        padding-left: 0;
    }

    body.error404 .site-footer {
        margin-top: auto;
    }

    .site-footer__inner,
    .footer-copyright {
        margin-bottom: 0 !important;
    }

    .footer-brand,
    .footer-license,
    .footer-bottom,
    .footer-copyright {
        max-width: 100%;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .footer-certificates {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        max-width: 100%;
        overflow: hidden;
    }

    .footer-certificates img {
        width: auto;
        max-width: 72px;
        height: auto;
        flex: 0 1 auto;
    }

    .footer-bottom {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 8px;
        line-height: 24px;
    }

    .footer-bottom a,
    .footer-bottom span {
        white-space: nowrap;
    }

    .site-logo img {
        max-width: 120px;
        height: auto;
    }

    .site-header__actions {
        flex-shrink: 0;
    }

    html,
    body {
        scrollbar-color: #168bff transparent;
        scrollbar-width: thin;
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: block;
        width: 3px;
        height: 3px;
    }

    html::-webkit-scrollbar-track,
    body::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 999px;
    }

    html::-webkit-scrollbar-thumb,
    body::-webkit-scrollbar-thumb {
        background: #168bff;
        border-radius: 999px;
    }

    html::-webkit-scrollbar-thumb:hover,
    body::-webkit-scrollbar-thumb:hover {
        background: #0b74bd;
    }

    body.news-page .news-list--page,
    .news-page .news-list--page,
    body.archive .news-list--archive {
        width: 100% !important;
        max-width: none !important;
    }

    body.single-post .article-wrap {
        width: calc(100% - 24px) !important;
        max-width: 100% !important;
    }

    .single-page .breadcrumb {
        position: relative;
        z-index: 20;
    }

    .single-page .breadcrumb a,
    .news-page .section-title p a {
        color: #0b5ea8 !important;
        text-decoration: none !important;
        pointer-events: auto !important;
    }

    .single-page .breadcrumb a:hover,
    .news-page .section-title p a:hover {
        color: #084b86 !important;
    }

    .single-page .breadcrumb__current {
        pointer-events: none !important;
    }

    .news-page > .container,
    body.archive .archive-page > .container {
        width: calc(100% - 24px) !important;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 9999;
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
        height: 64px;
        box-sizing: border-box;
        overflow: visible;
    }

    .site-header__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: calc(100% - 32px) !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 64px;
        margin-right: auto !important;
        margin-left: auto !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    .site-logo {
        flex: 0 1 auto;
        min-width: 0;
        max-width: 140px;
    }

    .site-logo img {
        display: block;
        max-width: 120px;
        height: auto;
    }

    .site-header__actions {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        gap: 12px;
        min-width: 0;
    }

    .register-button {
        height: 34px;
        padding: 0 18px;
        border-radius: 999px;
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        padding: 0;
    }

    .mobile-menu-toggle span {
        display: block;
    }

    .site-nav {
        display: none;
    }

    body.error404 {
        padding-top: 64px;
    }

    .site-main.error-page,
    .error-page {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
        margin-top: 0 !important;
        padding: 32px 16px 32px;
        box-sizing: border-box;
        overflow-x: hidden;
        background: #eef6ff;
        transform: none !important;
    }

    .error-card {
        position: relative;
        z-index: 1;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 28px 20px;
        border-radius: 16px;
        box-sizing: border-box;
        transform: none !important;
    }

    .error-card h1 {
        margin: 0 0 16px;
        font-size: 24px;
        line-height: 32px;
    }
}

@media (max-width: 768px) {
    .breadcrumb,
    .breadcrumb__current,
    .article-meta,
    .empty-message,
    .news-card p {
        color: #445b78 !important;
    }

    .breadcrumb a,
    .breadcrumb a:visited,
    .section-title p a,
    .section-title p a:visited,
    .news-card__meta span,
    .primary-link,
    .xks-pagination .current,
    .xks-pagination a:hover {
        color: #0b5ea8 !important;
    }

    .breadcrumb a:hover,
    .section-title p a:hover,
    .primary-link:hover {
        color: #084b86 !important;
    }

    .footer-license,
    .footer-copyright {
        color: #d7e6f5 !important;
    }

    .footer-bottom a,
    .footer-bottom span {
        color: #ffffff !important;
    }

    .site-footer a:hover,
    .footer-bottom a:hover {
        color: #8fd4ff !important;
    }

    .site-nav a,
    .nav-anchor {
        color: #243b5c !important;
    }

    .site-nav a.active,
    .site-nav a:hover,
    .nav-anchor.active,
    .nav-anchor:hover {
        color: #0b5ea8 !important;
    }

    .copy-button,
    .outline-button,
    .download-card__button {
        border-color: #0b5ea8 !important;
        color: #0b5ea8 !important;
        font-weight: 700;
    }

    .copy-button:hover,
    .outline-button:hover,
    .download-card__button:hover {
        color: #ffffff !important;
    }
}
