﻿@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/theme/fonts/be-vietnam-pro/BeVietnamPro-400.ttf") format("truetype");
}

@font-face {
    font-family: "DFVN The Typing of a Madman";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("/theme/fonts/dfvn-typing-madman/DFVNTheTypingofaMadman/DFVN-TheTypingofaMadman.otf") format("opentype");
}

@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/theme/fonts/be-vietnam-pro/BeVietnamPro-500.ttf") format("truetype");
}

@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/theme/fonts/be-vietnam-pro/BeVietnamPro-600.ttf") format("truetype");
}

@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/theme/fonts/be-vietnam-pro/BeVietnamPro-700.ttf") format("truetype");
}

@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/theme/fonts/be-vietnam-pro/BeVietnamPro-800.ttf") format("truetype");
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #eef1f6;
    background: #080a0f;
    font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
}

.home-hero h1,
.home-hero__kicker,
.home-hero__text {
    font-family: "DFVN The Typing of a Madman", "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-shell {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 18% 8%, rgba(176, 45, 31, .2), transparent 30rem),
        linear-gradient(180deg, rgba(8, 10, 15, .25), #080a0f 42rem);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    background: linear-gradient(180deg, rgba(7, 8, 11, .9), rgba(7, 8, 11, .72));
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
}

.site-header__inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 66px;
    margin: 0 auto;
    padding: 0;
    gap: 20px;
}

.site-logo img {
    width: 86px;
    max-height: 50px;
    object-fit: contain;
    object-position: left center;
    height: auto;
}

.site-menu-button {
    order: 4;
    color: #f3d79a;
    border-color: rgba(243, 215, 154, .35);
    width: 44px;
    height: 40px;
    padding: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, .06);
}

.site-nav {
    gap: 8px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: rgba(239, 242, 248, .78);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: #f3d79a;
}

.site-actions {
    order: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.khan-icon-button,
.khan-button,
.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 4px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
}

.khan-icon-button {
    min-height: 44px;
    padding: 0 12px;
    color: #f5e6c5;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
}

.khan-icon-button:hover,
.khan-button:hover,
.home-button:hover {
    color: #fff7df;
}

.khan-button,
.home-button--primary {
    color: #1b0f08;
    background: linear-gradient(180deg, #ffd77b, #bd7626);
    border: 1px solid rgba(255, 220, 140, .72);
    box-shadow: 0 16px 34px rgba(189, 89, 32, .24);
}

.khan-button--register {
    color: #fff3dc;
    background: linear-gradient(180deg, #b82922, #751813);
    border-color: rgba(255, 111, 87, .72);
    box-shadow: 0 16px 34px rgba(117, 24, 19, .28);
}

.site-language-button {
    gap: 8px;
    border-radius: 4px;
    font-weight: 800;
}

.site-language-button img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.site-language-button span {
    min-width: 20px;
}

.site-user-button {
    border: 0;
}

.promo-banner {
    overflow: hidden;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(245, 213, 141, .18);
    border-radius: 6px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .28);
}

.promo-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.promo-modal .modal-dialog {
    width: min(920px, calc(100% - 34px));
    max-width: none;
}

.promo-modal .modal-content {
    position: relative;
    overflow: hidden;
    padding: 8px;
    background: linear-gradient(180deg, rgba(35, 24, 14, .98), rgba(7, 8, 12, .98));
    border: 2px solid rgba(245, 213, 141, .72);
    border-radius: 8px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .16),
        0 26px 90px rgba(0, 0, 0, .76),
        0 0 42px rgba(217, 154, 66, .24);
}

.promo-modal img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.promo-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #1b0f08;
    background: linear-gradient(180deg, #ffd77b, #bd7626);
    border: 2px solid rgba(255, 246, 208, .9);
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .72);
}

.promo-modal__close:hover {
    color: #080a0f;
    background: linear-gradient(180deg, #fff0ad, #d99a42);
    border-color: #fff7df;
}

.khan-dropdown {
    min-width: 210px;
    padding: 8px;
    background: rgba(12, 14, 19, .98);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .45);
}

.khan-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0 10px;
    color: rgba(239, 242, 248, .82);
    border-radius: 4px;
    font-size: 17px;
    font-weight: 800;
}

.khan-dropdown .dropdown-item:hover {
    color: #fff4d5;
    background: rgba(217, 154, 66, .16);
}

.khan-dropdown img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.site-mobile-account {
    display: none;
}

.home-button--ghost {
    color: #f5e6c5;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
}

.home-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 112px 0 80px;
    background:
        linear-gradient(90deg, rgba(8, 10, 15, .97) 0%, rgba(8, 10, 15, .76) 42%, rgba(8, 10, 15, .28) 100%),
        linear-gradient(180deg, transparent 62%, #080a0f 100%),
        url("/theme/images/hero-tests/hero-mage-flipped.png") center center / 1180px auto no-repeat;
}

.home-hero__content,
.home-main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.home-hero__content {
    position: relative;
    z-index: 1;
    max-width: none;
}

.home-hero__logo {
    width: min(430px, 82vw);
    margin-bottom: 16px;
}

.home-hero__kicker {
    margin: 0 0 12px;
    color: #e3a94f;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.home-hero h1 {
    margin: 0;
    color: #fff6df;
    font-size: 68px;
    line-height: 1;
    font-weight: 800;
    text-shadow: 0 18px 48px rgba(0, 0, 0, .72);
}

.home-hero__text {
    margin: 20px 0 0;
    color: rgba(241, 244, 250, .82);
    font-size: 26px;
    line-height: 1.7;
}

.home-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 620px;
    margin-top: 22px;
}

.home-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    color: rgba(255, 246, 223, .88);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 800;
}

.home-hero__meta i {
    color: #e3a94f;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.home-main {
    padding: 0 0 72px;
}

.home-quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: -54px;
    position: relative;
    z-index: 2;
}

.home-quick__item,
.home-panel,
.home-event-card {
    background: rgba(17, 19, 25, .92);
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .36);
}

.home-quick__item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 88px;
    padding: 0 24px;
    border-radius: 6px;
    color: #f6ead0;
    font-weight: 800;
    text-transform: uppercase;
}

.home-quick__item i {
    color: #d99a42;
    font-size: 24px;
}

.home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
    gap: 18px;
    margin-top: 18px;
}

.home-grid--top {
    margin-top: 28px;
    align-items: start;
}

.home-panel {
    border-radius: 6px;
    padding: 24px;
}

.home-panel--events {
    align-self: start;
}

.home-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.home-section-title h2 {
    margin: 0;
    color: #f5d58d;
    font-size: 21px;
    font-weight: 800;
    text-transform: uppercase;
}

.home-section-title__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(245, 213, 141, .88);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-section-title__link:hover {
    color: #fff2c5;
}

.home-event-list {
    display: grid;
    gap: 4px;
}

.home-event-row {
    position: relative;
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 50px;
    padding: 9px 0;
    color: rgba(239, 242, 248, .84);
    line-height: 1.35;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.home-event-row:last-child {
    border-bottom: 0;
}

.home-event-row__mark {
    width: 8px;
    height: 8px;
    background: #d99a42;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(217, 154, 66, .12);
}

.home-event-row__body {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.home-event-row time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: max-content;
    height: 20px;
    padding: 0 7px;
    color: #f5d58d;
    background: rgba(217, 154, 66, .14);
    border: 1px solid rgba(217, 154, 66, .42);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-event-row strong {
    color: #fff5dc;
    font-size: 15px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-event-row small {
    color: rgba(199, 214, 238, .72);
    font-size: 13px;
    white-space: nowrap;
}

.home-event-row--upcoming .home-event-row__mark {
    background: #76b7e8;
    box-shadow: 0 0 0 4px rgba(118, 183, 232, .12);
}

.home-event-row--upcoming time {
    color: #b9ddff;
    background: rgba(118, 183, 232, .14);
    border-color: rgba(118, 183, 232, .42);
}

.event-page {
    min-height: 100vh;
    padding: 104px 0 56px;
}

.event-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.event-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 20px;
}

.event-header span {
    display: block;
    color: #d99a42;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.event-header h1 {
    margin: 5px 0 0;
    color: #fff5dc;
    font-size: 34px;
    font-weight: 900;
    text-transform: uppercase;
}

.event-month-nav {
    display: inline-grid;
    grid-template-columns: 36px auto 36px;
    align-items: center;
    gap: 10px;
    padding: 6px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
}

.event-month-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 34px;
    color: #f5d58d;
    background: rgba(217, 154, 66, .12);
    border: 1px solid rgba(217, 154, 66, .28);
    border-radius: 4px;
}

.event-month-nav a:hover {
    color: #fff5dc;
    border-color: rgba(245, 213, 141, .58);
}

.event-month-nav strong {
    min-width: 76px;
    color: #fff5dc;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
}

.event-calendar {
    overflow: hidden;
    background: rgba(12, 14, 20, .82);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .24);
}

.event-weekdays,
.event-week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.event-weekdays span {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5d58d;
    background: rgba(13, 15, 22, .94);
    border-right: 1px solid rgba(245, 213, 141, .12);
    border-bottom: 1px solid rgba(245, 213, 141, .18);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.event-weekdays span:last-child {
    border-right: 0;
}

.event-weekdays span:nth-child(6) {
    background: rgba(24, 45, 60, .96);
    color: #bfe7ff;
}

.event-weekdays span:nth-child(7) {
    background: rgba(62, 28, 38, .96);
    color: #ffd0dc;
}

.event-day {
    min-height: 132px;
    padding: 10px;
    background: rgba(255, 255, 255, .025);
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.event-day:nth-child(7n) {
    border-right: 0;
}

.event-day:nth-child(6) {
    background: rgba(52, 126, 166, .07);
}

.event-day:nth-child(7) {
    background: rgba(190, 70, 100, .07);
}

.event-day--muted {
    background: rgba(255, 255, 255, .012);
}

.event-day--muted:nth-child(6) {
    background: rgba(52, 126, 166, .04);
}

.event-day--muted:nth-child(7) {
    background: rgba(190, 70, 100, .04);
}

.event-day--muted .event-day__number,
.event-day--muted .event-chip {
    opacity: .42;
}

.event-day--today {
    box-shadow: inset 0 0 0 1px rgba(245, 213, 141, .55);
}

.event-day--clickable {
    cursor: pointer;
}

.event-day--clickable:hover {
    background: rgba(217, 154, 66, .08);
}

.event-day--clickable:focus-visible {
    outline: 2px solid rgba(245, 213, 141, .72);
    outline-offset: -3px;
}

.event-day__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    color: #f5d58d;
    font-size: 14px;
    font-weight: 900;
}

.event-day--today .event-day__number {
    color: #080a0f;
    background: #f5d58d;
    border-radius: 50%;
}

.event-day__items {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.event-chip {
    display: grid;
    min-width: 0;
    padding: 7px 8px;
    background: rgba(217, 154, 66, .14);
    border-left: 3px solid #d99a42;
    border-radius: 4px;
}

.event-chip--upcoming {
    background: rgba(118, 183, 232, .12);
    border-left-color: #76b7e8;
}

.event-chip strong {
    color: #fff5dc;
    font-size: 12px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-more {
    color: rgba(245, 213, 141, .8);
    font-size: 12px;
    font-weight: 800;
}

.event-list-panel {
    display: none;
    margin-top: 18px;
    padding: 22px;
    background: rgba(12, 14, 20, .82);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
}

.event-popup[hidden] {
    display: none;
}

.event-popup {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.event-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .62);
    backdrop-filter: blur(4px);
}

.event-popup__panel {
    position: relative;
    width: min(640px, 100%);
    max-height: min(620px, calc(100vh - 48px));
    overflow: auto;
    padding: 24px;
    background: rgba(12, 14, 20, .96);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .52);
}

.event-popup__panel .home-section-title {
    padding-right: 38px;
}

.event-popup__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #f5d58d;
    background: rgba(217, 154, 66, .12);
    border: 1px solid rgba(217, 154, 66, .32);
    border-radius: 4px;
}

.event-popup__close:hover {
    color: #fff5dc;
    border-color: rgba(245, 213, 141, .62);
}

.event-popup-open {
    overflow: hidden;
}

.home-ranking-empty {
    min-height: 82px;
    display: flex;
    align-items: center;
    color: rgba(239, 242, 248, .62);
}

.home-rank-list {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.home-rank-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    color: rgba(239, 242, 248, .84);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 4px;
}

.home-rank-row:hover {
    color: #fff4d5;
    border-color: rgba(240, 195, 107, .35);
}

.home-rank-row__no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #140d07;
    background: #d99a42;
    border-radius: 4px;
    font-weight: 800;
}

.home-rank-row__name {
    overflow: hidden;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-rank-row__class,
.home-rank-row__level {
    color: rgba(239, 242, 248, .58);
    font-size: 13px;
    font-weight: 700;
}

.home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f0c36b;
    font-weight: 800;
}

.home-feature-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.home-feature-strip > div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
    min-height: 96px;
    padding: 18px;
    background: rgba(12, 14, 19, .92);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 6px;
}

.home-feature-strip i {
    grid-row: 1 / 3;
    color: #d99a42;
    font-size: 26px;
}

.home-feature-strip strong {
    color: #fff4d5;
    font-size: 17px;
    text-transform: uppercase;
}

.home-feature-strip span {
    color: rgba(239, 242, 248, .62);
    line-height: 1.5;
}

.home-panel--gallery {
    min-height: 420px;
}

.home-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.home-gallery__item {
    aspect-ratio: 4 / 3;
    min-height: 112px;
    border-radius: 4px;
    background-position: center;
    background-size: cover;
    border: 1px solid rgba(255, 255, 255, .08);
}

.home-video {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .7)),
        url("/theme/images/gallery/1783306493784_5247331629335773437_5247331629335773437_7c8bb068ea4d1f93ace5f083f933e8c8.jpg") center / cover no-repeat;
    border: 1px solid rgba(255, 255, 255, .08);
}

.home-video__fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff4d5;
    font-weight: 800;
    text-transform: uppercase;
}

.home-video__fallback i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding-left: 4px;
    color: #190f08;
    background: #d99a42;
    border-radius: 50%;
}

.home-event-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.home-event-card {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    border-radius: 6px;
}

.home-event-card img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    opacity: .76;
    transform: scale(1.04);
}

.home-event-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, .78));
}

.home-event-card h3 {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 1;
    margin: 0;
    color: #fff5d8;
    font-size: 22px;
    font-weight: 800;
}

.auth-page {
    min-height: 100vh;
    padding: 104px 0 72px;
    background:
        linear-gradient(90deg, rgba(8, 10, 15, .96), rgba(8, 10, 15, .76)),
        linear-gradient(180deg, transparent 48%, #080a0f 100%),
        url("/theme/images/home-hero-bg.jpg") center center / 1180px auto no-repeat;
}

.auth-shell {
    width: min(1180px, calc(100% - 32px));
    min-height: calc(100vh - 192px);
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.auth-card {
    width: min(460px, 100%);
    padding: 30px;
    background: rgba(17, 19, 25, .94);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .46);
}

.auth-card--wide {
    width: min(640px, 100%);
}

.auth-card__brand img {
    width: 220px;
    max-width: 78%;
    height: auto;
}

.auth-card__brand {
    display: flex;
    justify-content: center;
}

.auth-card__header {
    margin-top: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.auth-card__header p {
    margin: 0 0 8px;
    color: #e3a94f;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-card__header h1 {
    margin: 0;
    color: #fff6df;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 700;
}

.auth-alert {
    display: grid;
    gap: 6px;
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.45;
}

.auth-alert--error {
    color: #ffd8d2;
    background: rgba(159, 42, 32, .22);
    border: 1px solid rgba(238, 89, 70, .35);
}

.auth-alert--success {
    color: #d8f5df;
    background: rgba(39, 128, 70, .2);
    border: 1px solid rgba(81, 184, 108, .32);
}

.auth-form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.auth-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field span {
    color: rgba(239, 242, 248, .72);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.auth-field input {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    color: #fff6df;
    background: rgba(5, 6, 9, .72);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 4px;
    outline: 0;
    font-size: 16px;
    font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
}

.auth-field input:focus {
    border-color: rgba(240, 195, 107, .65);
    box-shadow: 0 0 0 3px rgba(240, 195, 107, .13);
}

.auth-field input::placeholder {
    color: rgba(239, 242, 248, .34);
}

.auth-field input:-webkit-autofill,
.auth-field input:-webkit-autofill:hover,
.auth-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff6df;
    box-shadow: 0 0 0 1000px rgba(5, 6, 9, .92) inset;
    caret-color: #fff6df;
}

.auth-captcha {
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr);
    gap: 10px;
}

.auth-captcha img {
    width: 100%;
    height: 46px;
    object-fit: cover;
    background: #fff;
    border-radius: 4px;
}

.auth-terms {
    margin: 0;
    color: rgba(239, 242, 248, .62);
    font-size: 13px;
    line-height: 1.55;
}

.auth-terms a,
.auth-links a {
    color: #f0c36b;
    font-weight: 800;
}

.auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    width: 100%;
    color: #1b0f08;
    background: linear-gradient(180deg, #ffd77b, #bd7626);
    border: 1px solid rgba(255, 220, 140, .72);
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
    font-size: 17px;
    font-weight: 600;
}

.ranking-page {
    min-height: 100vh;
    padding: 94px 0 72px;
    background:
        linear-gradient(90deg, rgba(8, 10, 15, .95), rgba(8, 10, 15, .78)),
        linear-gradient(180deg, transparent 48%, #080a0f 100%),
        url("/theme/images/home-hero-bg.jpg") center center / 1180px auto no-repeat;
}

.ranking-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.ranking-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 28px;
    align-items: center;
    min-height: 260px;
    padding: 34px;
    background: rgba(17, 19, 25, .9);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 6px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}

.ranking-hero__eyebrow {
    margin: 0 0 12px;
    color: #e3a94f;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.ranking-hero h1 {
    margin: 0;
    color: #fff6df;
    font-size: 48px;
    line-height: 1.05;
    font-weight: 800;
}

.ranking-hero__text {
    max-width: 720px;
    margin: 18px 0 0;
    color: rgba(239, 242, 248, .76);
    font-size: 17px;
    line-height: 1.7;
}

.ranking-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.ranking-hero__stats span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 12px;
    color: rgba(255, 246, 223, .84);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
}

.ranking-hero__stats strong {
    color: #f0c36b;
    font-weight: 800;
}

.ranking-hero__logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking-hero__logo img {
    width: 150px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .42));
}

.ranking-panel {
    margin-top: 18px;
    padding: 24px;
    background: rgba(17, 19, 25, .94);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 6px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .36);
}

.ranking-toolbar {
    display: grid;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.ranking-toolbar__title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f5d58d;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

.ranking-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ranking-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    color: rgba(239, 242, 248, .58);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.ranking-tab.is-active {
    color: #160f08;
    background: #d99a42;
    border-color: rgba(255, 220, 140, .64);
}

.ranking-table-wrap {
    overflow-x: auto;
    margin-top: 18px;
}

.ranking-table {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.ranking-table th,
.ranking-table td {
    padding: 13px 14px;
    color: rgba(239, 242, 248, .82);
    background: rgba(255, 255, 255, .045);
    border-top: 1px solid rgba(255, 255, 255, .07);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    vertical-align: middle;
    white-space: nowrap;
}

.ranking-table thead th {
    color: rgba(245, 213, 141, .84);
    background: transparent;
    border: 0;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.ranking-table tbody tr th:first-child,
.ranking-table tbody tr td:first-child {
    border-left: 1px solid rgba(255, 255, 255, .07);
    border-radius: 4px 0 0 4px;
}

.ranking-table tbody tr td:last-child {
    border-right: 1px solid rgba(255, 255, 255, .07);
    border-radius: 0 4px 4px 0;
}

.ranking-table tbody tr:hover td,
.ranking-table tbody tr:hover th {
    color: #fff4d5;
    background: rgba(217, 154, 66, .09);
    border-color: rgba(217, 154, 66, .24);
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #140d07;
    background: #d99a42;
    border-radius: 4px;
    font-weight: 800;
}

.rank-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.rank-name {
    color: #fff6df;
    font-weight: 800;
}

.rank-muted {
    color: rgba(239, 242, 248, .58);
}

.ranking-empty {
    text-align: center;
}

.site-footer {
    background: #06070a;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.site-footer__inner {
    width: min(1180px, calc(100% - 32px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) 236px;
    align-items: center;
    gap: 40px;
    margin: 0 auto;
    padding: 26px 0;
    color: rgba(239, 242, 248, .58);
}

.site-footer__main {
    display: grid;
    gap: 18px;
    justify-items: start;
}

.site-footer__brand {
    display: grid;
    gap: 5px;
}

.site-footer__brand strong {
    color: #f5d58d;
    font-size: 19px;
    font-weight: 900;
}

.site-footer__brand span {
    font-size: 13px;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    width: 100%;
}

.site-footer__text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(239, 242, 248, .72);
    font-size: 14px;
    font-weight: 800;
}

.site-footer__text-link:hover {
    color: #f3d79a;
}

.site-footer__zalo-card {
    display: block;
    justify-self: end;
    width: 236px;
    padding: 8px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
}

.site-footer__zalo-card:hover {
    border-color: rgba(245, 213, 141, .48);
}

.site-footer__zalo-card img {
    width: 218px;
    height: auto;
    display: block;
    background: #fff;
}

.account-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 106px 0 76px;
}

.account-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 22px;
    align-items: stretch;
    margin-bottom: 22px;
}

.account-hero__copy,
.account-hero__aside,
.account-panel,
.donate-method {
    background: linear-gradient(180deg, rgba(17, 19, 27, .94), rgba(10, 12, 18, .96));
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.account-hero__copy {
    min-height: 260px;
    padding: 34px;
    background:
        linear-gradient(90deg, rgba(12, 14, 21, .96) 0%, rgba(12, 14, 21, .84) 52%, rgba(12, 14, 21, .24) 100%),
        url("/theme/images/home-hero-bg.jpg") center center / 820px auto no-repeat;
}

.account-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #f0b24f;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.account-hero h1 {
    max-width: 620px;
    margin: 0;
    color: #fff4d7;
    font-size: 42px;
    line-height: 1.12;
    font-weight: 900;
}

.account-hero p,
.account-panel p {
    max-width: 680px;
    margin: 18px 0 0;
    color: rgba(239, 243, 252, .78);
    font-size: 16px;
    line-height: 1.75;
}

.account-hero__aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
}

.account-hero__aside span,
.profile-stats span {
    color: rgba(239, 243, 252, .62);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.account-hero__aside strong {
    display: block;
    margin-top: 7px;
    color: #fff4d7;
    font-size: 26px;
    font-weight: 900;
    word-break: break-word;
}

.account-hero__aside a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    margin-top: 22px;
    padding: 0 14px;
    color: #080a0f;
    background: linear-gradient(180deg, #ffe080 0%, #d99a42 100%);
    border: 1px solid rgba(255, 237, 169, .8);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 900;
}

.donate-methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.donate-method {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 18px;
    gap: 16px;
    align-items: center;
    min-height: 138px;
    padding: 22px;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.donate-method:hover {
    transform: translateY(-2px);
    border-color: rgba(240, 178, 79, .5);
    background: linear-gradient(180deg, rgba(27, 30, 40, .96), rgba(12, 14, 20, .98));
}

.donate-method__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    color: #0a0c11;
    background: linear-gradient(180deg, #ffe080 0%, #d99a42 100%);
    border-radius: 6px;
    font-size: 22px;
}

.donate-method__body strong {
    display: block;
    color: #fff4d7;
    font-size: 18px;
    font-weight: 900;
}

.donate-method__body small {
    display: block;
    margin-top: 8px;
    color: rgba(239, 243, 252, .68);
    font-size: 13px;
    line-height: 1.55;
}

.donate-method__arrow {
    color: #f0b24f;
}

.account-grid,
.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.profile-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.account-panel {
    padding: 24px;
}

.account-panel__title {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.account-panel__title i {
    color: #f0b24f;
    font-size: 20px;
}

.account-panel__title h2 {
    margin: 0;
    color: #fff4d7;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.profile-stats div {
    min-height: 88px;
    padding: 16px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 4px;
}

.profile-stats strong {
    display: block;
    margin-top: 9px;
    color: #fff4d7;
    font-size: 18px;
    font-weight: 900;
    word-break: break-word;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    padding: 0 15px;
    color: #f2f5ff;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 4px;
    font: inherit;
    font-weight: 900;
    text-align: left;
}

.profile-action:hover {
    color: #fff4d7;
    border-color: rgba(240, 178, 79, .42);
}

.profile-action span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.profile-action i {
    color: #f0b24f;
}

.account-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 4px;
    font-weight: 800;
}

.account-alert--error {
    color: #ffd6d6;
    background: rgba(180, 47, 47, .18);
    border: 1px solid rgba(255, 104, 104, .28);
}

.account-alert--success {
    color: #d9ffd7;
    background: rgba(56, 142, 74, .18);
    border: 1px solid rgba(96, 216, 124, .28);
}

.kh-modal .modal-content {
    color: #f2f5ff;
    background: #10131b;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 6px;
}

.kh-modal .modal-header,
.kh-modal .modal-footer {
    border-color: rgba(255, 255, 255, .1);
}

.kh-modal h2 {
    margin: 0;
    color: #fff4d7;
    font-size: 22px;
    font-weight: 900;
}

.kh-form {
    display: grid;
    gap: 14px;
}

.kh-form label {
    display: grid;
    gap: 8px;
    margin: 0;
    color: rgba(239, 243, 252, .7);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.kh-form input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    color: #0b0e14;
    background: #e8eef7;
    border: 0;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    text-transform: none;
}

.kh-form select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    color: #0b0e14;
    background: #e8eef7;
    border: 0;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 800;
}

.kh-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.kh-captcha {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 10px;
}

.kh-captcha img {
    width: 150px;
    height: 46px;
    object-fit: cover;
    background: #e8eef7;
    border-radius: 4px;
}

.article-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 106px 0 76px;
}

.kh-download-page {
    display: grid;
    gap: 18px;
}

.kh-download-hero {
    min-height: 360px;
    padding: 38px;
    background:
        linear-gradient(90deg, rgba(12, 14, 21, .97) 0%, rgba(12, 14, 21, .84) 48%, rgba(12, 14, 21, .28) 100%),
        url("/theme/images/home-hero-bg.jpg") center center / 920px auto no-repeat;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 24px 76px rgba(0, 0, 0, .34);
}

.kh-article-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: #f0b24f;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.kh-article-kicker::before {
    content: "\f019";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
}

.kh-download-hero h1 {
    max-width: 620px;
    margin: 0;
    color: #fff4d7;
    font-size: 48px;
    line-height: 1.08;
    font-weight: 900;
}

.kh-download-hero > p:not(.kh-article-kicker) {
    max-width: 640px;
    margin: 18px 0 0;
    color: rgba(239, 243, 252, .8);
    font-size: 17px;
    line-height: 1.75;
}

.kh-download-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.kh-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    color: #120b06;
    background: linear-gradient(180deg, #ffd77b, #bd7626);
    border: 1px solid rgba(255, 220, 140, .72);
    border-radius: 4px;
    box-shadow: 0 16px 34px rgba(189, 89, 32, .24);
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
}

.kh-primary-btn::before {
    content: "\f019";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
}

.kh-primary-btn:hover {
    color: #120b06;
    filter: brightness(1.06);
}

.kh-download-actions span {
    color: rgba(239, 243, 252, .66);
    font-size: 14px;
    font-weight: 700;
}

.kh-download-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.kh-download-meta div,
.kh-download-missing {
    background: rgba(10, 12, 18, .62);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    padding: 14px 16px;
}

.kh-download-meta span {
    display: block;
    color: rgba(239, 243, 252, .58);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.kh-download-meta strong {
    display: block;
    color: #fff0c0;
    font-size: 17px;
    margin-top: 4px;
}

.kh-download-missing {
    color: #ffd2a3;
    display: inline-block;
    font-weight: 900;
    margin-top: 20px;
}

.kh-install-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
}

.kh-install-panel {
    padding: 24px;
    color: #f2f5ff;
    background: linear-gradient(180deg, rgba(17, 19, 27, .94), rgba(10, 12, 18, .96));
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.kh-install-panel h2 {
    margin: 0 0 18px;
    color: #fff4d7;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.kh-install-steps ol,
.kh-install-notes ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kh-install-steps li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    counter-increment: install-step;
    padding: 15px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 4px;
}

.kh-install-steps ol {
    counter-reset: install-step;
}

.kh-install-steps li::before {
    content: counter(install-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #0a0c11;
    background: linear-gradient(180deg, #ffe080 0%, #d99a42 100%);
    border-radius: 4px;
    font-size: 18px;
    font-weight: 900;
}

.kh-install-steps strong,
.kh-install-steps span {
    grid-column: 2;
}

.kh-install-steps strong {
    color: #fff4d7;
    font-size: 16px;
    font-weight: 900;
}

.kh-install-steps span,
.kh-install-notes li {
    color: rgba(239, 243, 252, .74);
    font-size: 14px;
    line-height: 1.65;
}

.kh-install-steps em {
    color: #f0b24f;
    font-style: normal;
    font-weight: 800;
}

.kh-install-notes li {
    position: relative;
    padding-left: 26px;
}

.kh-install-notes li::before {
    content: "\f058";
    position: absolute;
    left: 0;
    top: 1px;
    color: #f0b24f;
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
}

.kh-requirement-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.kh-requirement-list div {
    min-height: 82px;
    padding: 15px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 4px;
}

.kh-requirement-list span {
    display: block;
    color: rgba(239, 243, 252, .6);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.kh-requirement-list strong {
    display: block;
    margin-top: 8px;
    color: #fff4d7;
    font-size: 17px;
    font-weight: 900;
}

.donate-detail-grid {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 16px;
}

.donate-detail-grid--form {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.donate-qr-card p,
.donate-bank-info p {
    color: rgba(239, 243, 252, .76);
}

.donate-qr-card__image {
    display: flex;
    justify-content: center;
    margin-top: 18px;
    padding: 16px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 6px;
}

.donate-qr-card__image img {
    width: min(100%, 280px);
    height: auto;
    background: #fff;
    border-radius: 4px;
}

.donate-qr-card__tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.donate-qr-card__tools img {
    max-width: 150px;
    max-height: 34px;
    object-fit: contain;
}

.donate-info-list {
    display: grid;
    gap: 12px;
    margin: 20px 0 0;
}

.donate-info-list div {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 4px;
}

.donate-info-list dt {
    color: rgba(239, 243, 252, .6);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.donate-info-list dd {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #fff4d7;
    font-weight: 900;
    word-break: break-word;
}

.donate-info-list button,
.donate-copy-field button,
.donate-receipt-form button {
    min-height: 34px;
    padding: 0 11px;
    color: #0a0c11;
    background: #d99a42;
    border: 1px solid rgba(255, 220, 140, .64);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.donate-bank-logo dd img {
    max-width: 150px;
    max-height: 36px;
    object-fit: contain;
}

.donate-amount-field {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 150px;
}

.donate-amount-field select,
.donate-amount-field input {
    min-height: 40px;
    padding: 0 12px;
    color: #0b0e14;
    background: #e8eef7;
    border: 0;
    border-radius: 4px;
    font-weight: 800;
}

.donate-note {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    padding: 14px;
    color: rgba(239, 243, 252, .78);
    background: rgba(217, 154, 66, .1);
    border: 1px solid rgba(217, 154, 66, .18);
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
}

.donate-note i {
    margin-top: 3px;
    color: #f0b24f;
}

.donate-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.donate-side-panel {
    align-self: start;
}

.donate-check-list {
    display: grid;
    gap: 13px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.donate-check-list li {
    position: relative;
    padding-left: 27px;
    color: rgba(239, 243, 252, .74);
    font-size: 14px;
    line-height: 1.65;
}

.donate-check-list li::before {
    content: "\f058";
    position: absolute;
    left: 0;
    top: 1px;
    color: #f0b24f;
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
}

.donate-card-form,
.donate-paypal-box {
    margin-top: 20px;
}

.donate-copy-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.donate-history-panel {
    overflow: hidden;
}

.donate-history-table-wrap {
    overflow-x: auto;
    margin-top: 18px;
}

.donate-history-table {
    width: 100%;
    min-width: 940px;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.donate-history-table th,
.donate-history-table td {
    padding: 13px 14px;
    color: rgba(239, 243, 252, .82);
    background: rgba(255, 255, 255, .045);
    border-top: 1px solid rgba(255, 255, 255, .07);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    vertical-align: middle;
    white-space: nowrap;
}

.donate-history-table thead th {
    color: rgba(245, 213, 141, .84);
    background: transparent;
    border: 0;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.donate-history-table tbody tr td:first-child {
    border-left: 1px solid rgba(255, 255, 255, .07);
    border-radius: 4px 0 0 4px;
}

.donate-history-table tbody tr td:last-child {
    border-right: 1px solid rgba(255, 255, 255, .07);
    border-radius: 0 4px 4px 0;
}

.donate-bonus {
    display: block;
    margin-top: 4px;
    color: #f0b24f;
    font-weight: 900;
}

.donate-method-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
}

.donate-method-chip img {
    width: 34px;
    height: 24px;
    object-fit: contain;
}

.donate-receipt img {
    width: 42px;
    height: 32px;
    object-fit: cover;
    border-radius: 3px;
}

.donate-receipt-form {
    display: grid;
    gap: 6px;
    margin-top: 7px;
}

.donate-receipt-form input {
    color: rgba(239, 243, 252, .78);
    font-size: 12px;
}

.donate-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.donate-status--pending {
    color: #ffe6b0;
    background: rgba(217, 154, 66, .16);
}

.donate-status--success {
    color: #d9ffd7;
    background: rgba(56, 142, 74, .2);
}

.donate-status--error {
    color: #ffd6d6;
    background: rgba(180, 47, 47, .22);
}

.donate-muted {
    color: rgba(239, 243, 252, .42);
}

.donate-empty-state {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 36px 18px;
    color: rgba(239, 243, 252, .72);
    text-align: center;
}

.donate-empty-state i {
    color: #f0b24f;
    font-size: 38px;
}

@media (max-width: 991.98px) {
    .site-header__inner {
        padding: 10px 0;
        gap: 10px;
        min-height: 58px;
    }

    .site-logo img {
        width: 112px;
        max-height: 42px;
        object-fit: contain;
        object-position: left center;
    }

    .site-actions {
        width: auto;
        justify-content: flex-end;
        margin: 0 0 0 auto;
    }

    .site-actions > .dropdown:nth-child(2),
    .site-actions > .khan-button {
        display: none;
    }

    .site-language-button {
        width: 44px;
        height: 40px;
        min-height: 40px;
        padding: 0;
    }

    .site-language-button img {
        width: 24px;
        height: 24px;
    }

    .site-language-button span,
    .site-language-button .fa-angle-down {
        display: none;
    }

    .site-nav-wrap {
        order: 5;
        flex-basis: 100%;
    }

    .site-nav {
        padding: 10px 0 0;
    }

    .site-nav a,
    .site-mobile-account__user,
    .site-mobile-account a {
        width: 100%;
        min-height: 42px;
        padding: 0 12px;
    }

    .site-mobile-account {
        display: grid;
        gap: 4px;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, .08);
    }

    .site-mobile-account__user,
    .site-mobile-account a {
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(239, 242, 248, .78);
        font-size: 17px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .site-mobile-account__user {
        color: #f3d79a;
        background: rgba(217, 154, 66, .1);
        border: 1px solid rgba(217, 154, 66, .18);
        border-radius: 4px;
    }

    .site-mobile-account__user span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-mobile-account a:hover {
        color: #f3d79a;
    }

    .site-mobile-account a.site-mobile-account__register {
        color: #ffd7c7;
    }

    .home-hero {
        min-height: 640px;
        padding-top: 96px;
        background-position: center top;
        background-size: auto, auto, 880px auto;
    }

    .home-hero__content {
        max-width: 620px;
    }

    .home-hero__logo {
        width: min(310px, 82vw);
    }

    .home-hero h1 {
        font-size: 50px;
    }

    .home-grid,
    .home-feature-strip,
    .home-event-cards {
        grid-template-columns: 1fr;
    }

    .auth-page {
        padding: 92px 0 42px;
        background-position: center top;
        background-size: auto, auto, 880px auto;
    }

    .auth-shell {
        min-height: calc(100vh - 134px);
        align-items: flex-start;
    }

    .ranking-page {
        padding: 92px 0 42px;
        background-position: center top;
        background-size: auto, auto, 880px auto;
    }

    .ranking-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 24px;
    }

    .ranking-hero__logo {
        display: none;
    }

    .ranking-hero h1 {
        font-size: 38px;
    }

    .account-page {
        padding-top: 86px;
    }

    .account-hero,
    .account-grid,
    .profile-grid,
    .donate-methods {
        grid-template-columns: 1fr;
    }

    .account-hero__copy {
        min-height: 230px;
        padding: 24px;
        background-position: center right;
        background-size: 700px auto;
    }

    .article-shell {
        padding-top: 86px;
    }

    .event-page {
        padding-top: 86px;
    }

    .event-header {
        align-items: stretch;
        flex-direction: column;
    }

    .event-month-nav {
        width: 100%;
    }

    .event-month-nav strong {
        min-width: 0;
    }

    .event-day {
        min-height: 116px;
        padding: 8px;
    }

    .event-chip {
        padding: 6px;
    }

    .kh-download-hero {
        min-height: 300px;
        padding: 26px;
        background-position: center right;
        background-size: 760px auto;
    }

    .kh-download-hero h1 {
        font-size: 38px;
    }

    .kh-install-grid,
    .kh-download-meta,
    .kh-requirement-list {
        grid-template-columns: 1fr;
    }

    .donate-detail-grid,
    .donate-detail-grid--form {
        grid-template-columns: 1fr;
    }

    .donate-side-panel {
        order: -1;
    }
}

@media (max-width: 700px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .site-footer__main {
        justify-items: center;
    }

    .site-footer__links {
        justify-content: center;
    }

    .site-footer__zalo-card {
        justify-self: center;
    }

    .home-quick {
        grid-template-columns: 1fr;
    }

    .home-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-hero__text {
        font-size: 16px;
    }

    .home-event-row {
        grid-template-columns: 10px minmax(0, 1fr);
        gap: 10px 12px;
    }

    .home-event-row time {
        grid-column: 2;
        justify-self: start;
    }

    .home-section-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding-bottom: 10px;
    }

    .event-calendar {
        display: none;
    }

    .event-list-panel {
        display: block;
    }

    .event-header h1 {
        font-size: 28px;
    }

    .home-rank-row {
        grid-template-columns: 34px minmax(0, 1fr) auto;
    }

    .home-rank-row__class {
        display: none;
    }

    .auth-card {
        padding: 22px;
    }

    .auth-card__brand img {
        width: 180px;
    }

    .auth-card__header h1 {
        font-size: 30px;
    }

    .auth-form__grid,
    .auth-captcha {
        grid-template-columns: 1fr;
    }

    .auth-captcha img {
        width: 138px;
    }

    .ranking-panel {
        padding: 16px;
    }

    .ranking-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .ranking-tab {
        flex: 0 0 auto;
    }

    .ranking-table {
        min-width: 760px;
    }

    .ranking-table th,
    .ranking-table td {
        padding: 10px 11px;
    }

    .account-page {
        width: min(100%, calc(100% - 24px));
        padding-bottom: 48px;
    }

    .account-hero h1 {
        font-size: 32px;
    }

    .account-hero p,
    .account-panel p {
        font-size: 15px;
    }

    .account-hero__aside,
    .account-panel,
    .donate-method {
        padding: 18px;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }

    .donate-method {
        grid-template-columns: 48px minmax(0, 1fr) 16px;
    }

    .donate-method__icon {
        width: 48px;
        height: 48px;
    }

    .kh-captcha {
        grid-template-columns: 1fr;
    }

    .article-shell {
        width: min(100%, calc(100% - 24px));
        padding-bottom: 48px;
    }

    .kh-download-hero,
    .kh-install-panel {
        padding: 18px;
    }

    .kh-download-hero {
        background:
            linear-gradient(180deg, rgba(12, 14, 21, .94) 0%, rgba(12, 14, 21, .86) 100%),
            url("/theme/images/home-hero-bg.jpg") center top / 720px auto no-repeat;
    }

    .kh-download-hero h1 {
        font-size: 31px;
    }

    .kh-download-hero > p:not(.kh-article-kicker),
    .kh-install-steps span,
    .kh-install-notes li {
        font-size: 14px;
    }

    .kh-download-actions,
    .kh-primary-btn {
        width: 100%;
    }

    .kh-form-grid,
    .donate-info-list div,
    .donate-amount-field,
    .donate-copy-field {
        grid-template-columns: 1fr;
    }

    .donate-page-actions,
    .donate-page-actions .home-button {
        width: 100%;
    }

    .donate-qr-card__tools {
        align-items: flex-start;
        flex-direction: column;
    }

    .donate-history-table {
        min-width: 860px;
    }
}
