/* Giao diện Ngọc Rồng Hoa Sen — Bố cục cổng game hiện đại, tông Vàng Kim & Đỏ Hoa Sen */

:root {
    color-scheme: light;
    --ink: #142535;
    --muted: #56697a;
    --purple-950: #0e365c;
    --purple-800: #19568f;
    --purple-700: #2571b8;
    --purple-100: #e9f3fd;
    --gold: #5fdcff;
    --gold-dark: #0884a6;
    --surface: #ffffff;
    --surface-soft: #f3fcff;
    --line: #c0e3ed;
    --shadow: 0 12px 34px rgba(22, 65, 105, .10);
    --radius: 18px;
    --minimum-text-size: 15px;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body.modern-site {
    margin: 0;
    background:
        radial-gradient(ellipse at 12% 3%, rgba(58, 139, 215, .10), transparent 28rem),
        radial-gradient(ellipse at 91% 9%, rgba(60, 206, 247, .18), transparent 32rem),
        #f4fdff;
    color: var(--ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

body.modern-site a {
    color: inherit;
    text-decoration: none;
}

body.modern-site button,
body.modern-site input,
body.modern-site select,
body.modern-site textarea {
    font: inherit;
}

body.modern-site img {
    max-width: 100%;
}

body.modern-site :where(a, button, summary, input, select, textarea) {
    -webkit-tap-highlight-color: transparent;
}

body.modern-site :where(a, button, summary, input, select, textarea):focus-visible {
    outline: 3px solid rgba(37, 113, 184, .42);
    outline-offset: 3px;
}

@keyframes nro-fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-shell {
    width: min(1080px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    transform: translateY(-150%);
    border-radius: 8px;
    background: #ffffff;
    color: var(--purple-950) !important;
}

.skip-link:focus {
    transform: translateY(0);
}

.age-notice {
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 5px 12px;
    color: #586b7c;
    font-size: 10px;
    text-align: center;
}

.age-badge {
    display: inline-grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border: 1px solid #9bbad7;
    border-radius: 50%;
    background: rgba(255, 255, 255, .78);
    color: #586b7c;
    font-size: 10px;
    font-weight: 700;
}

.site-header {
    position: relative;
    z-index: 20;
    overflow: visible;
    border: 1px solid rgba(158, 234, 255, .22);
    border-radius: 18px;
    background: linear-gradient(115deg, #0e365c, #195994 68%, #2c7bc4);
    box-shadow: 0 14px 35px rgba(14, 54, 92, .22);
    color: #ffffff;
}

.site-header-main {
    display: flex;
    min-height: 84px;
    align-items: center;
    gap: 24px;
    padding: 12px 22px;
}

.site-brand {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

.site-brand img {
    display: block;
    width: auto;
    max-width: 145px;
    max-height: 60px;
    object-fit: contain;
    transition: transform .24s ease, filter .24s ease;
}

.site-brand:hover img {
    transform: translateY(-2px) scale(1.04);
    filter: drop-shadow(0 5px 8px rgba(128, 227, 255, .35));
}

.site-navigation {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.site-navigation a {
    padding: 9px 11px;
    border-radius: 9px;
    color: rgba(238, 247, 255, .85) !important;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.site-navigation a:hover,
.site-navigation a.is-active,
.site-navigation a[aria-current="page"] {
    background: rgba(130, 228, 255, .18);
    color: #ffffff !important;
}

.site-navigation a:hover {
    transform: translateY(-2px);
}

.site-account {
    flex: 0 0 auto;
}

.button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: 11px;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.2;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(14, 54, 92, .18);
}

.button:active,
.quick-links a:active,
.home-section-link:active {
    transform: scale(.97);
}

.button-primary {
    background: linear-gradient(135deg, #8ae6ff, #38d4ff);
    box-shadow: 0 8px 20px rgba(30, 188, 232, .28);
    color: #122d46 !important;
}

.button-secondary {
    background: linear-gradient(135deg, #2571b8, #19568f);
    box-shadow: 0 6px 16px rgba(25, 86, 143, .22);
    color: #ffffff !important;
}

.button-outline {
    border-color: rgba(165, 235, 255, .42);
    background: rgba(255, 255, 255, .10);
    color: #ffffff !important;
}

.button-outline-dark {
    border-color: var(--line);
    background: #ffffff;
    color: var(--ink) !important;
}

.button-glass {
    border-color: rgba(255, 255, 255, .48);
    background: rgba(255, 255, 255, .11);
    color: #ffffff !important;
}

.button-zalo {
    position: relative;
    overflow: hidden;
    border-color: rgba(175, 218, 255, .65);
    background: linear-gradient(135deg, #0068ff, #0052ce);
    box-shadow: 0 6px 18px rgba(0, 104, 255, .35);
    color: #ffffff !important;
    animation: zalo-glow 3s ease-in-out infinite;
}

.button-zalo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .3) 50%, transparent 75%);
    transform: translateX(-150%);
    pointer-events: none;
    animation: zalo-shine 4.5s ease-in-out infinite;
}

.button-zalo:hover,
.button-zalo:focus-visible {
    background: linear-gradient(135deg, #0062ef, #004bc4);
    box-shadow: 0 8px 28px rgba(0, 104, 255, .65), 0 0 0 4px rgba(95, 180, 255, .2);
    animation: none;
}

body.modern-site .button-zalo:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

@keyframes zalo-glow {
    0%, 100% {
        box-shadow: 0 6px 18px rgba(0, 104, 255, .35), 0 0 0 0 rgba(95, 180, 255, 0);
    }
    50% {
        box-shadow: 0 6px 26px rgba(0, 104, 255, .6), 0 0 0 4px rgba(95, 180, 255, .18);
    }
}

@keyframes zalo-shine {
    0%, 55% {
        transform: translateX(-150%);
    }
    85%, 100% {
        transform: translateX(150%);
    }
}

/* Account dropdown menu */
.account-menu {
    position: relative;
}

.account-menu > summary {
    display: flex;
    max-width: 210px;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 5px;
    border: 1px solid rgba(165, 235, 255, .36);
    border-radius: 999px;
    background: rgba(255, 255, 255, .11);
    cursor: pointer;
    list-style: none;
    color: #ffffff;
}

.account-menu > summary::-webkit-details-marker,
.admin-menu > summary::-webkit-details-marker {
    display: none;
}

.account-menu > summary img {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(130, 228, 255, .8);
    border-radius: 50%;
    object-fit: cover;
    transition: transform .2s ease, box-shadow .2s ease;
}

.account-menu[open] > summary img,
.account-menu > summary:hover img {
    transform: scale(1.06);
    box-shadow: 0 0 0 3px rgba(130, 228, 255, .25);
}

.account-menu > summary span {
    overflow: hidden;
    max-width: 120px;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu-panel {
    position: absolute;
    z-index: 60;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    width: 248px;
    max-height: min(72vh, 560px);
    gap: 3px;
    overflow: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--shadow);
    color: var(--ink);
}

.account-menu-panel > a,
.admin-menu > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 13px;
    transition: background .16s ease, transform .16s ease;
}

.account-menu-panel > a:hover,
.admin-menu > a:hover {
    background: var(--purple-100);
    transform: translateX(3px);
}

.account-menu-balance {
    padding: 8px 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 700;
}

.admin-menu {
    border-top: 1px solid var(--line);
    padding-top: 6px;
    margin-top: 4px;
}

.admin-menu > summary {
    padding: 9px 10px;
    color: var(--purple-700);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    list-style: none;
}

.admin-menu > a {
    padding-left: 18px;
}

.account-menu-panel .account-logout {
    margin-top: 4px;
    background: #eff7ff;
    color: #286aa8;
    font-weight: 700;
}

.quick-links {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px 12px;
    border-top: 1px solid rgba(165, 235, 255, .16);
}

.quick-links a {
    display: inline-flex;
    min-height: 31px;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 8px;
    color: rgba(238, 247, 255, .82) !important;
    font-size: 12px;
    font-weight: 650;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.quick-links a:hover,
.quick-links a.is-active {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .14);
    color: #ffffff !important;
}

.quick-links .quick-play {
    background: rgba(95, 220, 255, .24);
    color: #94e8ff !important;
}

.quick-links .quick-play:hover,
.quick-links .quick-play.is-active {
    background: rgba(95, 220, 255, .36);
    color: #ffffff !important;
}

.site-main {
    flex: 1;
    min-height: 420px;
}

.site-page {
    padding: 25px 0 38px;
}

.site-footer {
    margin: 0 0 26px;
    padding: 30px 34px 16px;
    border-radius: var(--radius);
    background: linear-gradient(120deg, #0e365c, #195994);
    box-shadow: var(--shadow);
    color: #e6f8fd;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 25px;
}

.footer-brand img {
    width: auto;
    max-width: 130px;
    max-height: 54px;
    object-fit: contain;
    object-position: left center;
}

.footer-grid p {
    max-width: 320px;
    color: rgba(230, 243, 255, .74);
    font-size: 13px;
}

.footer-grid h2 {
    margin: 0 0 10px;
    color: #84e4ff;
    font-size: 14px;
}

.footer-grid section > a:not(.footer-brand) {
    display: block;
    width: fit-content;
    margin: 5px 0;
    color: rgba(230, 243, 255, .80) !important;
    font-size: 13px;
    transition: color .16s ease, transform .16s ease;
}

.footer-grid section > a:hover {
    color: #84e4ff !important;
    transform: translateX(2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 13px;
    border-top: 1px solid rgba(165, 235, 255, .16);
    color: rgba(230, 243, 255, .68);
    font-size: 11px;
}

/* Hero Section */
.home-hero {
    position: relative;
    display: flex;
    min-height: 390px;
    align-items: center;
    overflow: hidden;
    padding: 42px clamp(24px, 6vw, 78px);
    border: 1px solid rgba(145, 231, 255, .5);
    border-radius: 24px;
    background: #103f6b;
    box-shadow: var(--shadow);
    color: #ffffff;
}

.home-hero-content {
    position: relative;
    z-index: 3;
    max-width: 570px;
}

.home-hero-image,
.home-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero-image {
    z-index: 0;
    object-fit: cover;
    object-position: center;
    animation: hero-zoom 26s ease-in-out infinite alternate;
}

.home-hero-shade {
    z-index: 1;
    background: linear-gradient(90deg, rgba(9, 34, 58, .95) 0%, rgba(16, 63, 107, .78) 44%, rgba(16, 63, 107, .12) 100%);
}

.home-hero::before,
.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.home-hero::before {
    background-image:
        radial-gradient(circle, rgba(178, 238, 255, .95) 0 1.6px, transparent 2.6px),
        radial-gradient(circle, rgba(120, 226, 255, .9) 0 1.4px, transparent 2.4px),
        radial-gradient(circle, rgba(190, 224, 255, .92) 0 1.8px, transparent 3px),
        radial-gradient(circle, rgba(220, 247, 255, .9) 0 1.2px, transparent 2.2px);
    background-size: 150px 130px, 190px 160px, 250px 190px, 130px 170px;
    background-position: 20px 30px, 120px 90px, 60px 150px, 150px 10px;
    animation: hero-twinkle 3.6s ease-in-out infinite;
}

.home-hero::after {
    background-image:
        radial-gradient(circle, rgba(160, 234, 255, .85) 0 2.2px, transparent 3.4px),
        radial-gradient(circle, rgba(195, 226, 255, .8) 0 1.6px, transparent 2.8px),
        radial-gradient(circle, rgba(225, 249, 255, .75) 0 1.2px, transparent 2.2px);
    background-size: 210px 190px, 170px 150px, 120px 110px;
    background-position: 40px 0, 150px 60px, 90px 110px;
    animation: hero-snow 22s linear infinite, hero-twinkle 5.2s ease-in-out infinite reverse;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.home-hero .eyebrow {
    color: #9ceaff;
}

.home-hero .eyebrow .bi {
    animation: hero-pulse 2.4s ease-in-out infinite;
}

.home-hero h1 {
    margin: 12px 0;
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    letter-spacing: -.012em;
    line-height: 1.18;
    text-shadow: 0 2px 14px rgba(6, 23, 38, .55);
}

.home-hero h1 span {
    background: linear-gradient(100deg, #7be2ff 0%, #b0eeff 35%, #d8f7ff 50%, #b0eeff 65%, #7be2ff 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(6, 23, 38, .55));
    animation: hero-shine 5.5s ease-in-out infinite;
}

.home-hero-content > p {
    max-width: 520px;
    margin: 0 0 23px;
    color: rgba(238, 247, 255, .88);
    font-size: 16px;
    line-height: 1.65;
    text-shadow: 0 1px 8px rgba(6, 23, 38, .55);
}

body.modern-site .home-hero-content > p {
    font-size: 17px !important;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-hero .button-primary {
    animation: hero-glow 2.8s ease-in-out infinite;
}

.home-hero-note {
    margin-top: 22px;
    color: rgba(230, 243, 255, .72);
    font-size: 11px;
}

@keyframes hero-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.07); }
}

@keyframes hero-twinkle {
    0%, 100% { opacity: .25; }
    50% { opacity: 1; }
}

@keyframes hero-snow {
    from { background-position: 40px 0, 150px 60px, 90px 110px; }
    to { background-position: 20px 260px, 120px 260px, 70px 260px; }
}

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

@keyframes hero-pulse {
    0%, 100% { opacity: .65; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.25) rotate(12deg); }
}

@keyframes hero-glow {
    0%, 100% { box-shadow: 0 6px 16px rgba(0, 200, 255, .25); }
    50% { box-shadow: 0 6px 26px rgba(70, 215, 255, .7), 0 0 0 4px rgba(120, 226, 255, .18); }
}

/* Home Article Sections */
.home-article-sections {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 26px;
    padding: 28px 0 14px;
}

.home-article-section {
    min-width: 0;
}

.home-article-heading {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 8px;
    padding: 0 2px;
}

.home-article-heading h2 {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.25;
}

.home-section-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--purple-800);
    font-size: 13px;
    font-weight: 700;
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-section-link .bi {
    display: inline-block;
    transition: transform .18s ease;
}

.home-section-link:hover,
.home-section-link:focus-visible {
    color: var(--purple-700);
    background: rgba(37, 113, 184, .10);
    box-shadow: 0 0 0 1px rgba(37, 113, 184, .18);
    outline: none;
}

.home-section-link:hover .bi,
.home-section-link:focus-visible .bi {
    transform: translateX(4px);
}

.home-article-empty {
    margin: 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: var(--muted);
}

/* Article Cards */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.article-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 10px;
    overflow: hidden;
    background: #f2fcff;
    border: 1px solid rgba(37, 113, 184, .15);
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(22, 65, 105, .08);
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.article-card:hover {
    transform: translateY(-2px);
    background: #e4f2ff;
    border-color: #8fb8df;
    box-shadow: 0 8px 20px rgba(22, 65, 105, .14);
}

.article-card:active {
    transform: scale(.99);
}

.article-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 1000 / 585;
    margin: 0 0 12px;
    overflow: hidden;
    background: #dcecfb;
    border-radius: 10px;
}

.article-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter .25s ease;
}

.article-card:hover .article-card-image img {
    filter: brightness(1.06);
}

.article-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 0 4px 4px;
}

.article-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    margin: 0;
    color: #667a8c;
}

.article-card-meta strong {
    color: var(--purple-800);
    font-weight: 700;
}

.article-card-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 6px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.article-card-title a {
    color: #15304a;
}

.article-card-title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.article-card-new {
    display: inline-block;
    width: auto;
    height: 14px;
    margin-left: 4px;
    vertical-align: middle;
}

.article-card-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 10px;
    color: #43586b;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.article-card-read {
    align-self: flex-start;
    margin-top: auto;
    color: var(--purple-700) !important;
    font-weight: 700;
}

body.modern-site .article-card-meta span {
    font-size: 13px !important;
}

body.modern-site .article-card-meta strong,
body.modern-site .article-card-excerpt,
body.modern-site .article-card-read {
    font-size: 14px !important;
}

/* Community Banner */
.community-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 15px;
    padding: 22px 26px;
    border: 1px solid #b8e4f0;
    border-radius: 17px;
    background: linear-gradient(100deg, #e2f9ff, #f4fdff);
}

.community-banner h2 {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: 21px;
    letter-spacing: -.012em;
    line-height: 1.2;
}

.community-banner p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
}

/* Shared Cards & Typography */
.about-article,
.giftcode-post,
.bxh-box,
.auth-container,
.hs-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 7px 23px rgba(22, 65, 105, .06);
}

body.modern-site .page-section-title {
    margin: 0 0 18px;
    color: var(--ink);
    font-family: inherit;
    font-size: 30px !important;
    font-weight: 800 !important;
    letter-spacing: 0;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.post-rich-content {
    color: #324454;
    overflow-wrap: anywhere;
}

.post-rich-content > :first-child {
    margin-top: 0;
}

.post-rich-content a {
    color: var(--purple-700) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post-rich-content img {
    height: auto;
    border-radius: 10px;
}

.post-rich-content h1,
.post-rich-content h2,
.post-rich-content h3 {
    color: var(--purple-800);
    line-height: 1.3;
}

.post-rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
}

.post-rich-content th,
.post-rich-content td {
    padding: 8px 10px;
    border: 1px solid var(--line);
    text-align: left;
}

.post-rich-content th {
    background: var(--purple-100);
    color: var(--purple-800);
}

/* Forum Layout & Filters */
.forum-feature-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 16px;
}

.forum-feature-links > a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.forum-feature-links > a:hover {
    transform: translateY(-2px);
    border-color: #8fb8df;
    box-shadow: 0 8px 20px rgba(22, 65, 105, .09);
}

.forum-feature-links img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.forum-feature-links span {
    display: grid;
}

.forum-feature-links strong {
    color: var(--ink);
    font-size: 14px;
}

.forum-feature-links small {
    color: var(--muted);
    font-size: 12px;
}

.forum-welcome {
    margin: 0 0 15px;
    padding: 12px 15px;
    border: 1px solid #8fd9ed;
    border-radius: 12px;
    background: #e2f9ff;
    color: #066782;
    font-weight: 600;
}

.forum-welcome[role="note"] {
    overflow: hidden;
    white-space: nowrap;
    animation: ticker 16s linear infinite;
}

@keyframes ticker {
    from { text-indent: 100%; }
    to { text-indent: -100%; }
}

.forum-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-pill {
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--muted);
    font-size: 13px !important;
    font-weight: 650;
    transition: all .16s ease;
}

.filter-pill:hover,
.filter-pill.is-active {
    background: var(--purple-700);
    border-color: var(--purple-700);
    color: #ffffff !important;
}

.filter-search {
    display: flex;
    gap: 6px;
    flex: 0 1 290px;
}

.filter-search input {
    flex: 1;
    min-width: 140px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink);
}

.forum-pagination-bar {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.pagination-link {
    display: grid;
    min-width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #ffffff;
    color: var(--ink);
    font-weight: 600;
}

.pagination-link:hover {
    border-color: var(--purple-700);
    background: var(--purple-100);
}

.pagination-current {
    background: var(--purple-700);
    border-color: var(--purple-700);
    color: #ffffff !important;
    cursor: default;
}

/* Giftcode Page */
.giftcode-panel {
    display: grid;
    gap: 14px;
}

.giftcode-post {
    padding: 18px;
}

.giftcode-post-header {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 13px;
    border-bottom: 1px solid #dbeff4;
}

.giftcode-avatar {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    object-fit: cover;
}

.giftcode-author-info {
    display: grid;
}

.giftcode-author {
    font-size: 13px;
    font-weight: 700;
}

.giftcode-meta {
    display: flex;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
}

.giftcode-code {
    margin-left: auto;
    padding: 7px 12px;
    border: 1px dashed #a8c6e2;
    border-radius: 9px;
    background: #ecfbff;
    color: var(--purple-700);
    font-family: ui-monospace, Consolas, monospace;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    overflow-wrap: anywhere;
    transition: background .16s ease, transform .16s ease, border-color .16s ease;
}

.giftcode-code:hover {
    background: #d8ebfd;
    border-color: var(--purple-700);
    transform: translateY(-1px);
}

.giftcode-post-content {
    padding-top: 13px;
}

.giftcode-item-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.giftcode-item {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid #c0d8ee;
    border-radius: 9px;
    background: #f0fcff;
    color: #264461;
    font-size: 12px;
}

.giftcode-item-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    object-fit: contain;
    image-rendering: pixelated;
}

.giftcode-redeem-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 15px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(100deg, #e2f9ff, #ffffff);
    box-shadow: 0 7px 23px rgba(22, 65, 105, .06);
}

.giftcode-redeem-form {
    display: flex;
    flex: 1 1 300px;
    gap: 8px;
}

.giftcode-redeem-form input {
    flex: 1;
    min-width: 120px;
    padding: 9px 12px;
    border: 1px solid #adc8e2;
    border-radius: 10px;
    background: #ffffff;
    color: var(--ink);
    font-family: ui-monospace, Consolas, monospace;
    font-weight: 700;
}

.giftcode-status-pill {
    padding: 3px 9px;
    border-radius: 999px;
    background: #e6fcf5;
    color: #087f5b;
    font-size: 12px !important;
    font-weight: 700;
}

/* Rankings */
.ranking-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.ranking-heading .page-section-title {
    margin: 0;
}

.bxh-box {
    overflow: hidden;
    margin: 0 0 18px;
}

.bxh-box h2 {
    margin: 0;
    padding: 13px 17px;
    background: linear-gradient(100deg, #19568f, #2c7bc4);
    color: #ffffff;
    font-size: 15px;
    text-align: center;
}

.ranking-note {
    margin: 0;
    padding: 9px 17px;
    border-bottom: 1px solid #cbdef0;
    background: #eefbff;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.ranking-table-wrap {
    overflow-x: auto;
}

.ranking-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    color: #22394e;
    font-size: 13px;
    text-align: center;
}

.ranking-table th {
    padding: 12px 10px;
    background: #e5f1fd;
    color: #19568f;
    font-weight: 700;
}

.ranking-table td {
    padding: 10px;
    border-bottom: 1px solid #dbeff4;
}

.ranking-table tbody tr:nth-child(even) {
    background: #f4fdff;
}

.ranking-position {
    width: 56px;
    color: var(--purple-700);
    font-weight: 700;
}

.ranking-position-1 { color: #1799bd; }
.ranking-position-2 { color: #737582; }
.ranking-position-3 { color: #3f74a5; }

.ranking-avatar {
    width: 62px;
}

.ranking-avatar img {
    display: block;
    width: 42px;
    height: 42px;
    margin: auto;
    border: 1px solid #b8d3ec;
    border-radius: 9px;
    object-fit: cover;
}

.ranking-contribution-table {
    table-layout: fixed;
}

.ranking-score-table th:nth-child(1),
.ranking-score-table td:nth-child(1) { width: 7%; }
.ranking-score-table th:nth-child(2),
.ranking-score-table td:nth-child(2) { width: 10%; }
.ranking-score-table th:nth-child(3),
.ranking-score-table td:nth-child(3) { width: 20%; }
.ranking-score-table th:nth-child(4),
.ranking-score-table td:nth-child(4) { width: 13%; }
.ranking-score-table th:nth-child(5),
.ranking-score-table td:nth-child(5) { width: 50%; }

.ranking-contribution-table .ranking-character-name {
    white-space: nowrap;
}

.ranking-score {
    color: #1d62a3;
    font-weight: 700;
}

.ranking-th-gon {
    display: none;
}

.ranking-reward-cell {
    text-align: left;
    line-height: 1.7;
}

.ranking-reward-item {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    align-items: center;
    gap: 7px;
    margin: 3px 6px 3px 0;
    padding: 5px 9px;
    border: 1px solid #c0d8ee;
    border-radius: 9px;
    background: #f0fcff;
    color: #264461;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
}

.ranking-reward-grid {
    display: grid;
    grid-template-columns: repeat(var(--cot, 3), max-content);
    justify-content: center;
    gap: 6px;
}

.ranking-reward-grid .ranking-reward-item {
    width: auto;
    margin: 0;
}

.ranking-reward-icon {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    object-fit: contain;
    image-rendering: pixelated;
}

.ranking-reward-empty {
    color: var(--muted);
    font-size: 12px;
}

/* Article Detail & Comments */
.about-article {
    padding: clamp(18px, 4vw, 32px);
}

.about-article-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
}

.about-article-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.about-article-heading .article-card-meta {
    margin-bottom: 4px;
}

.about-article-heading h1 {
    margin: 0;
    font-size: clamp(22px, 3vw, 28px);
}

.return-bar {
    margin: 0 0 12px;
}

.return-bar a {
    color: var(--purple-700) !important;
    font-weight: 700;
}

.post-comments {
    margin-top: 14px;
}

.post-comments h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 18px;
}

.post-comment-list {
    display: grid;
    gap: 8px;
}

.post-comment {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    color: var(--ink);
    background: #f2fcff;
    border: 1px solid #c0d8ee;
    border-radius: 10px;
}

.post-comment-avatar {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.post-comment-main {
    flex: 1 1 auto;
    min-width: 0;
}

.post-comment-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    margin: 1px 0 6px;
}

.post-comment-author {
    color: var(--purple-800);
    font-size: 14px;
    font-weight: 700;
}

.post-comment-time {
    color: var(--muted);
    font-size: 12px;
}

.post-comment-content {
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.box_comment_new {
    position: relative;
    margin-top: 14px;
}

.comment-error {
    margin-bottom: 6px;
    color: #1e6bb3;
    font-size: 13px;
}

.comment-error:empty {
    display: none;
}

.comment-composer {
    display: flex;
    position: relative;
    align-items: flex-end;
    gap: 8px;
    padding: 8px;
    background: #f5fdff;
    border: 1px solid #b3cde6;
    border-radius: 12px;
}

.comment-composer:focus-within {
    border-color: var(--purple-700);
    box-shadow: 0 0 0 3px rgba(37, 113, 184, .14);
}

.comment-input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    max-height: 160px;
    padding: 9px 10px;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    background: transparent !important;
    border: 0 !important;
    outline: none;
    resize: vertical;
}

.emoji-button {
    flex: 0 0 auto;
    padding: 6px 8px;
    font-size: 20px;
    line-height: 1;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.emoji-button:hover {
    background: rgba(37, 113, 184, .1);
}

.emoji-picker {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 0;
    z-index: 20;
    max-width: min(340px, 100%);
    max-height: 200px;
    padding: 6px;
    overflow: auto;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(14, 54, 92, .18);
}

.emoji-picker.is-open {
    display: block;
}

.emoji-picker span {
    display: inline-block;
    margin: 3px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.emoji-picker span:hover {
    transform: scale(1.2);
}

.comment-login-note {
    margin: 12px 0 0;
    color: var(--muted);
}

.comment-login-note a {
    color: var(--purple-700) !important;
    font-weight: 700;
}

/* Auth & Profile Containers */
.auth-container {
    max-width: 520px;
    margin: 0 auto;
    padding: clamp(18px, 4vw, 32px);
}

.auth-container h1 {
    margin: 5px 0;
    font-size: 27px;
    letter-spacing: -.012em;
}

.auth-description,
.auth-note {
    color: var(--muted);
    font-size: 13px;
}

.auth-note {
    margin: 17px 0 0;
    padding-top: 13px;
    border-top: 1px solid var(--line);
}

.auth-container form {
    display: grid;
    gap: 13px;
}

.modern-site .form-control,
.modern-site input[type="text"],
.modern-site input[type="password"],
.modern-site input[type="email"],
.modern-site input[type="number"],
.modern-site select,
.modern-site textarea {
    max-width: 100%;
    padding: 9px 11px;
    border: 1px solid #bad1e6;
    border-radius: 9px;
    background: #ffffff;
    color: var(--ink);
}

.modern-site textarea {
    min-height: 110px;
}

.auth-container input,
.auth-container select {
    width: 100%;
    min-height: 40px;
    outline: none;
}

.auth-container input:focus,
.auth-container select:focus {
    border-color: var(--purple-700);
    box-shadow: 0 0 0 3px rgba(37, 113, 184, .14);
}

.form-field {
    display: grid;
    gap: 6px;
    color: #2b445c;
    font-size: 13px;
    font-weight: 700;
}

.password-field {
    position: relative;
    display: flex;
}

.password-field input {
    padding-right: 48px !important;
}

.password-field .toggle-password {
    position: absolute;
    top: 50%;
    right: 4px;
    display: grid;
    width: 36px;
    min-height: 34px;
    place-items: center;
    padding: 5px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.password-field .toggle-password:hover {
    background: var(--purple-100);
    color: var(--purple-700);
}

.eye-icon {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.eye-icon-closed { display: none; }
.toggle-password.is-visible .eye-icon-open { display: none; }
.toggle-password.is-visible .eye-icon-closed { display: block; }

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 4px;
    margin-bottom: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #e9f9fd;
}

.auth-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
    font-weight: 700;
    cursor: pointer;
}

.auth-tab.is-active {
    background: #ffffff;
    color: var(--purple-800);
    box-shadow: 0 2px 8px rgba(22, 65, 105, .1);
}

.account-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0;
}

.stat-tile {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
}

.stat-tile small {
    display: block;
    color: var(--muted);
    font-size: 12px !important;
}

/* Feedback Page */
.feedback-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 16px;
    align-items: start;
}

.feedback-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 7px 23px rgba(22, 65, 105, .06);
}

.feedback-card form {
    display: grid;
    gap: 12px;
}

.feedback-list {
    display: grid;
    gap: 12px;
}

.feedback-item {
    padding: 15px 17px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 7px 23px rgba(22, 65, 105, .06);
}

.feedback-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.feedback-badge {
    padding: 3px 9px;
    border-radius: 999px;
    background: #e9f3fd;
    color: var(--purple-800);
    font-size: 12px !important;
    font-weight: 700;
    white-space: nowrap;
}

.feedback-badge.is-done {
    background: #e6fcf5;
    color: #087f5b;
}

.feedback-reply {
    margin-top: 9px;
    padding: 8px 11px;
    border-left: 3px solid var(--purple-700);
    border-radius: 0 8px 8px 0;
    background: #f0fcff;
}

/* Downloads Grid */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.platform-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 7px 23px rgba(22, 65, 105, .06);
}

.platform-card.is-highlighted {
    border-color: var(--purple-700);
    box-shadow: 0 10px 28px rgba(37, 113, 184, .18);
}

.platform-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.platform-icon-box {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 12px;
    background: var(--purple-100);
    color: var(--purple-800);
    font-size: 22px;
}

.iphone-download {
    margin-top: 20px;
}

/* Legacy Server Feature Cards (Nạp ATM/Card, Đổi Thỏi Vàng, Shop, Profile) */
.hs-card {
    padding: clamp(18px, 3.5vw, 28px);
    margin-bottom: 18px;
}

.hs-pkg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 10px;
    margin: 14px 0 18px;
}

.hs-pkg-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
    cursor: pointer;
    text-align: left;
    transition: all .16s ease;
}

.hs-pkg-btn:hover,
.hs-pkg-btn.is-selected {
    border-color: var(--purple-700);
    background: #e4f2ff;
    box-shadow: 0 4px 14px rgba(37, 113, 184, .15);
}

.hs-pkg-btn img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.hs-table-wrap {
    overflow-x: auto;
}

.hs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.hs-table th {
    padding: 10px 12px;
    background: #e5f1fd;
    color: var(--purple-800);
    text-align: left;
    font-weight: 700;
}

.hs-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #dbeff4;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    z-index: 1500;
    top: 20px;
    right: 20px;
    display: grid;
    max-width: min(360px, calc(100vw - 24px));
    gap: 8px;
}

.toast {
    padding: 11px 15px;
    border-radius: 12px;
    background: #0e365c;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 10px 26px rgba(14, 54, 92, .32);
    animation: nro-fade-up .2s ease-out both;
}

.toast.is-success { background: #0c7b59; }
.toast.is-error { background: #2571b8; }

/* 404 */
.not-found {
    padding: 56px 20px;
    text-align: center;
}

.not-found h1 {
    margin: 0;
    color: var(--purple-700);
    font-size: 72px;
    line-height: 1;
}

.not-found p {
    margin: 12px 0 22px;
    color: var(--muted);
}

/* Global minimum readable text enforcement */
body.modern-site :where(*:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(.bi):not(svg):not(path):not(.player-page *)) {
    font-size: max(var(--minimum-text-size), 1em) !important;
}

body.modern-site .age-notice,
body.modern-site .age-notice * {
    font-size: 10px !important;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
    .site-header-main {
        flex-wrap: wrap;
        gap: 12px;
    }

    .site-navigation {
        display: grid;
        order: 5;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        flex-basis: 100%;
        justify-content: initial;
        padding-top: 9px;
        border-top: 1px solid rgba(165, 235, 255, .16);
    }

    .site-navigation a {
        text-align: center;
    }

    .site-account {
        margin-left: auto;
    }
}

@media (max-width: 860px) {
    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feedback-layout,
    .platform-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --minimum-text-size: 13px;
    }

    body.modern-site {
        font-size: 13px;
    }

    body.modern-site .age-notice,
    body.modern-site .age-notice * {
        font-size: 8px !important;
    }

    body.modern-site .page-section-title {
        font-size: 24px !important;
    }

    .site-shell {
        width: min(100% - 18px, 1080px);
    }

    .site-header {
        border-radius: 14px;
    }

    .site-header-main {
        min-height: 66px;
        gap: 8px;
        padding: 10px 9px;
    }

    .site-brand img {
        max-width: 95px;
        max-height: 45px;
    }

    .site-navigation {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        overflow: visible;
        padding: 8px 9px 10px;
        white-space: normal;
    }

    .quick-links a {
        flex: none;
        justify-content: center;
        min-width: 0;
        padding: 6px 4px;
        font-size: 12px;
        text-align: center;
        white-space: nowrap;
    }

    .site-page {
        padding: 14px 0 25px;
    }

    .home-hero {
        min-height: 380px;
        align-items: flex-end;
        padding: 27px 20px;
        border-radius: 17px;
    }

    .home-hero-image {
        object-position: 62% center;
    }

    .home-hero-shade {
        background: linear-gradient(0deg, rgba(9, 34, 58, .96) 0%, rgba(16, 63, 107, .68) 72%, rgba(16, 63, 107, .1) 100%);
    }

    .home-hero h1 {
        font-size: 34px;
    }

    .forum-feature-links,
    .account-overview-grid {
        grid-template-columns: 1fr;
    }

    .community-banner {
        align-items: flex-start;
        flex-direction: column;
        padding: 19px;
    }

    .giftcode-post {
        padding: 13px;
    }

    .giftcode-post-header {
        flex-wrap: wrap;
    }

    .giftcode-author-info {
        flex: 1 1 0;
        min-width: 0;
    }

    .giftcode-code {
        flex: 1 0 100%;
        text-align: center;
    }

    .ranking-contribution-table {
        min-width: 0;
    }

    .ranking-th-day-du { display: none; }
    .ranking-th-gon { display: inline; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 560px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .ranking-contribution-table th:nth-child(2),
    .ranking-contribution-table td.ranking-avatar {
        display: none;
    }

    .ranking-score-table th:nth-child(1),
    .ranking-score-table td:nth-child(1) { width: 9%; }
    .ranking-score-table th:nth-child(3),
    .ranking-score-table td:nth-child(3) { width: 22%; }
    .ranking-score-table th:nth-child(4),
    .ranking-score-table td:nth-child(4) { width: 15%; }
    .ranking-score-table th:nth-child(5),
    .ranking-score-table td:nth-child(5) { width: 54%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .home-hero-image,
    .home-hero::before,
    .home-hero::after,
    .home-hero h1 span,
    .home-hero .eyebrow .bi,
    .home-hero .button-primary,
    .button-zalo,
    .button-zalo::before,
    .forum-welcome[role="note"] {
        animation: none;
    }
}
