:root {
    color-scheme: dark;
    --bg: #111114;
    --panel: #1b1b20;
    --panel-2: #222228;
    --line: #34343c;
    --muted: #aaaab5;
    --text: #f5f5f7;
    --red: #f34451;
    --red-deep: #d72236;
    --radius: 20px;
    --motion: 0.3s;
    --width: 1200px;
    font-family: Inter, 'Segoe UI', Arial, 'Noto Sans Thai', 'Noto Sans CJK SC', sans-serif;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 106px;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input {
    font: inherit;
}
button,
summary {
    cursor: pointer;
}
button {
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
.image-placeholder {
    position: relative;
    isolation: isolate;
}
picture.image-placeholder {
    display: block;
}
.image-placeholder-icon {
    display: block;
    flex: none;
    width: fit-content;
    border-radius: 6px;
}
.pwa-app-icon > img {
    border-radius: inherit;
}
.images-enabled .image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background-color: #23232a;
    background-image:
        url('image-placeholder.svg?v=20261006-site-images'),
        linear-gradient(135deg, #30262e, #19191f);
    background-position: center;
    background-size: clamp(18px, 42%, 80px) auto, cover;
    background-repeat: no-repeat;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.images-enabled .image-placeholder-game::before {
    background-image: url('game-placeholder.svg?v=20261005-game-placeholder');
    background-size: cover;
}
.images-enabled .image-placeholder.is-image-loaded::before {
    opacity: 0;
}
[data-site-image] {
    transition: opacity 0.3s ease;
}
.images-enabled .image-placeholder > [data-site-image]:not(.is-loaded) {
    opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
    .images-enabled .image-placeholder::before,
    .images-enabled .image-placeholder > img[data-site-image] {
        transition: none;
    }
}
svg {
    flex: none;
}
.icon {
    vertical-align: middle;
}
h1,
h2,
h3,
p {
    margin: 0;
}
h1,
h2,
h3 {
    line-height: 1.15;
    font-weight: 650;
    letter-spacing: -0.035em;
}
h1 {
    font-size: clamp(38px, 5.1vw, 68px);
}
h2 {
    font-size: clamp(27px, 3vw, 38px);
}
h3 {
    font-size: 22px;
}
p {
    color: var(--muted);
}
::selection {
    background: #a71d37;
    color: white;
}
.container {
    width: min(var(--width), calc(100% - 64px));
    margin-inline: auto;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
[hidden] {
    display: none !important;
}
:focus-visible {
    outline: 3px solid #ff8592;
    outline-offset: 5px;
    border-radius: 4px;
}
.skip-link {
    position: fixed;
    z-index: 100;
    left: 16px;
    top: -100px;
    background: white;
    color: #111;
    padding: 12px 20px;
}
.skip-link:focus {
    top: 12px;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid var(--line);
    background: rgba(17, 17, 20, 0.96);
    backdrop-filter: blur(16px);
}
.nav-shell {
    height: 88px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}
.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 850;
    letter-spacing: -1.2px;
    flex-shrink: 0;
}
.nav-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.nav-brand-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1.25;
}
.brand-tagline {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0;
    white-space: nowrap;
    /* Keep the full typed line's space throughout its animation. */
    width: calc(29ch + 5px);
}
.brand-tagline-text {
    display: block;
    box-sizing: content-box;
    width: 29ch;
    overflow: hidden;
    padding-right: 3px;
    border-right: 2px solid transparent;
animation:
    brand-print 13s steps(29, end) infinite,
    brand-cursor 0.6s step-end infinite;
}
@keyframes brand-print {
    0% {
        width: 0;
    }
    16.6667%,
    100% {
        width: 29ch;
    }
}
@keyframes brand-cursor {
    0%,
    100% {
        border-color: var(--red);
    }
    50% {
        border-color: transparent;
    }
}
.brand-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    width: 34px;
    height: 34px;
    color: #fff;
    font-style: italic;
    font-size: 26px;
    line-height: 1;
    border-radius: 10px 3px 10px 3px;
}
.brand-dot {
    color: var(--red);
}
.desktop-nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
}
.desktop-nav a,
.nav-login {
    color: #bebec8;
    font-size: 14px;
    white-space: nowrap;
    transition:
        color var(--motion),
        transform var(--motion);
}
.desktop-nav a:hover,
.nav-login:hover {
    color: white;
    transform: translateY(-2px);
}
.desktop-nav a[aria-current],
.nav-login[aria-current] {
    color: white;
}
.desktop-nav a[aria-current]::after {
    content: '';
    display: block;
    height: 3px;
    width: 15px;
    background: var(--red);
    border-radius: 2px;
    position: absolute;
    margin-top: 29px;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}
.language-switcher {
    position: relative;
}
.language-switcher summary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    min-height: 44px;
    color: #d2d2da;
    list-style: none;
}
.language-switcher summary .icon {
    width: 18px;
    height: 18px;
}
.language-switcher summary .icon:last-child {
    width: 13px;
}
.language-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 210px;
    border: 1px solid var(--line);
    background: #242429;
    border-radius: 14px;
    box-shadow: 0 20px 50px #0008;
    padding: 8px;
    animation: popup 0.3s ease both;
}
.language-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    transition:
        background 0.3s,
        color 0.3s;
}
.language-panel a:hover,
.language-panel a[aria-current] {
    background: #33333b;
    color: white;
}
.language-panel .icon {
    width: 16px;
    color: var(--red);
}
summary::-webkit-details-marker {
    display: none;
}
.mobile-menu {
    display: none;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 13px 24px;
    background: var(--red-deep);
    border: 1px solid transparent;
    border-radius: 9px;
    font-weight: 600;
    font-size: 14px;
    color: white;
    line-height: 1.45;
    text-align: center;
    transition:
        transform var(--motion) ease,
        background var(--motion) ease,
        box-shadow var(--motion) ease,
        border-color var(--motion) ease;
}
.btn .icon {
    width: 19px;
    height: 19px;
}
.btn:hover,
.btn:focus-visible {
    transform: translateY(-4px);
    background: #ed3045;
    box-shadow: 0 8px 24px #db26382b;
}
.btn:active {
    transform: translateY(-1px);
}
.btn-secondary {
    background: transparent;
    border-color: #565660;
}
.btn-secondary:hover {
    background: #303036;
    border-color: #878790;
    box-shadow: 0 8px 24px #0002;
}
.btn-small {
    min-height: 41px;
    padding: 9px 16px;
    font-size: 13px;
}
.btn-wide {
    width: 100%;
}
.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.eyebrow {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: #c7c7cf;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.eyebrow > span {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
}
.lead {
    font-size: 17px;
    line-height: 1.8;
    max-width: 590px;
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 550;
    transition:
        color 0.3s,
        transform 0.3s;
}
.text-link:hover {
    color: #ff8390;
    transform: translateX(4px);
}
.text-link .icon {
    width: 18px;
}
.hero {
    display: grid;
    grid-template-columns: 1.03fr 1fr;
    align-items: center;
    gap: 62px;
    padding-block: 72px 74px;
}
.hero h1 {
    margin-bottom: 24px;
}
.hero-copy .lead {
    max-width: 500px;
    margin-bottom: 30px;
}
.hero-link {
    margin-top: 30px;
    color: #bcbcc7;
}
.hero-link span {
    font-size: 20px;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 60px;
    margin-bottom: 30px;
}
.section-heading .eyebrow {
    margin-bottom: 12px;
}
.section-heading > p {
    max-width: 420px;
    font-size: 13px;
    line-height: 1.8;
}
.quick-section {
    padding-bottom: 68px;
}
.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.quick-card {
    border: 1px solid var(--line);
    background: linear-gradient(135deg, #222228, #19191d);
    border-radius: 14px;
    padding: 26px 23px;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}
.quick-card:hover {
    transform: translateY(-6px);
    border-color: #7f3c48;
    box-shadow: 0 14px 34px #0004;
}
.quick-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}
.icon-tile {
    width: 42px;
    height: 42px;
    background: #f3445112;
    border: 1px solid #85334266;
    color: #ff7d8a;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.icon-tile .icon {
    width: 22px;
}
.icon-tile.large {
    width: 56px;
    height: 56px;
    border-radius: 15px;
}
.icon-tile.large .icon {
    width: 27px;
    height: 27px;
}
.index-number {
    font-size: 11px;
    color: #9b9ba6;
    font-variant-numeric: tabular-nums;
}
.quick-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    letter-spacing: -0.015em;
}
.quick-card p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 25px;
}
.card-bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}
.card-bottom .icon {
    width: 17px;
    color: #a1a1ae;
}
.directory-section {
    border-top: 1px solid var(--line);
    padding-block: 64px;
}
.directory-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-block: 28px;
}
.directory-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}
.directory-count > span {
    background: #2e2e35;
    border: 1px solid #45454e;
    padding: 0 8px;
    font-size: 11px;
    color: #c5c5cf;
    border-radius: 5px;
}
.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1b1b20;
    border: 1px solid #414149;
    border-radius: 8px;
    padding: 0 12px;
    width: 265px;
    height: 42px;
    color: var(--muted);
}
.search-box .icon {
    width: 18px;
    height: 18px;
}
.search-box[data-search][hidden] {
    display: flex !important;
    visibility: hidden;
}
.search-box input {
    width: 100%;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: none;
    color: white;
    font-size: 13px;
}
.search-box:focus-within {
    outline: 2px solid #ff8592;
    outline-offset: 3px;
}
.search-box input::placeholder {
    color: #9292a0;
}
.game-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 24px 16px;
}
.game-card {
    display: block;
    min-width: 0;
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}
.game-card:hover,
.game-card:focus-visible {
    transform: translateY(-7px);
    filter: drop-shadow(0 10px 15px #0005);
}
.game-art {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    aspect-ratio: 2/3;
    border: 1px solid #3a3339;
    background: #23232a;
}
.game-art picture {
    display: block;
    height: 100%;
}
.game-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.3s ease,
        filter 0.3s ease,
        opacity 0.3s ease;
}
.game-card:hover .game-art img {
    transform: scale(1.045);
    filter: brightness(0.78);
}
.game-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.game-overlay .icon {
    background: #d72236;
    border: 1px solid #ffffff50;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 10px;
}
.game-card:hover .game-overlay,
.game-card:focus-visible .game-overlay {
    opacity: 1;
}
.game-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding: 10px 2px 0;
    font-size: 11px;
    line-height: 1.5;
}
.game-caption span {
    min-width: 0;
}
.game-caption .icon {
    width: 13px;
    height: 13px;
    color: #b0b0bb;
}
.empty-state {
    padding: 35px;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: 12px;
}
.help-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    border-top: 1px solid #5b2834;
    border-bottom: 1px solid #5b2834;
    background: linear-gradient(100deg, #27141b, #1b151b);
    border-radius: 18px;
    padding: 36px 40px;
    margin-top: 16px;
    margin-bottom: 70px;
}
.help-section .eyebrow {
    margin-bottom: 10px;
    color: #f2a3b0;
}
.help-section h2 {
    font-size: 29px;
    max-width: 620px;
    margin-bottom: 12px;
}
.help-section p:not(.eyebrow) {
    max-width: 590px;
    font-size: 13px;
}
.help-section .button-row {
    flex-shrink: 0;
}
.site-footer {
    background: #0d0d10;
    border-top: 1px solid #26262d;
}
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    padding-block: 44px;
}
.footer-main .wordmark {
    font-size: 22px;
}
.footer-main p {
    margin-top: 15px;
    font-size: 12px;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 22px;
    color: #c2c2cd;
    font-size: 12px;
}
.footer-links a {
    transition:
        color 0.3s,
        transform 0.3s;
}
.footer-links a:hover {
    color: white;
    transform: translateY(-2px);
}
.footer-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    padding-block: 24px;
    border-top: 1px solid #26262d;
}
.footer-social-title {
    flex-shrink: 0;
    color: #bebec9;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
}
.footer-social-links {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid #36363f;
    border-radius: 10px;
    background: #19191f;
    color: #dfdfe6;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
    transition:
        color 0.3s,
        background 0.3s,
        border-color 0.3s,
        transform 0.3s;
}
.social-link .icon {
    width: 18px;
    height: 18px;
}
a.social-link:hover,
.social-more summary:hover,
.social-more[open] > summary {
    color: #fff;
    background: #2b2027;
    border-color: #97424e;
    transform: translateY(-2px);
}
.social-link.is-unavailable {
    color: #92929e;
    background: #15151a;
    border-color: #2a2a32;
    cursor: default;
}
.social-more {
    position: static;
}
.social-more > summary {
    list-style: none;
}
.social-more > summary::-webkit-details-marker {
    display: none;
}
.social-more .social-chevron {
    width: 13px;
    height: 13px;
    transition: transform 0.3s;
}
.social-more[open] .social-chevron {
    transform: rotate(180deg);
}
.social-more-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    z-index: 5;
    width: 200px;
    max-width: calc(100vw - 36px);
    max-height: min(320px, 55vh);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #41414c;
    border-radius: 14px;
    background: #202027;
    box-shadow: 0 12px 32px #0008;
    animation: popup 0.3s ease;
}
.social-more-panel .social-link {
    display: flex;
    justify-content: flex-start;
    min-height: 44px;
}
.social-more-panel .social-link + .social-link {
    margin-top: 6px;
}
.footer-bottom {
    border-top: 1px solid #2d2d35;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    padding-block: 22px 28px;
}
.footer-bottom p {
    font-size: 10px;
    max-width: 840px;
    color: #9696a2;
}
.footer-bottom > span {
    font-size: 10px;
    white-space: nowrap;
    color: #a6a6b1;
}
.breadcrumbs {
    display: flex;
    gap: 13px;
    font-size: 12px;
    color: #9b9ba8;
    padding-top: 28px;
}
.breadcrumbs a {
    transition: color 0.3s;
}
.breadcrumbs a:hover {
    color: white;
}
.breadcrumbs > span:last-child {
    color: #d5d5de;
}
.page-intro {
    padding-block: 55px 48px;
}
.page-intro h1 {
    font-size: clamp(36px, 4.6vw, 59px);
    margin-bottom: 24px;
    max-width: 930px;
}
.page-intro .lead {
    max-width: 780px;
}
.about-intro {
    padding-bottom: 40px;
}
.about-intro .button-row {
    margin-top: 28px;
}
.about-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding-bottom: 72px;
}
.about-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(145deg, #211d24, #18181e);
}
.about-card h2 {
    margin-bottom: 16px;
    font-size: 23px;
    line-height: 1.4;
}
.about-card p {
    font-size: 15px;
    line-height: 1.8;
}
.about-brand-statement {
    border-color: #63303d;
    background: linear-gradient(135deg, #36202b, #1c1820);
}
.about-card .about-slogan {
    color: var(--text);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.02em;
}
@media (max-width: 700px) {
    .about-sections {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-bottom: 48px;
    }
    .about-card {
        padding: 24px;
    }
}
.auth-section {
    position: relative;
    isolation: isolate;
    display: flex;
    justify-content: center;
    padding-block: 56px 84px;
}
.auth-section::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 44%, #ae23351c, transparent 62%);
}
.auth-card {
    position: relative;
    width: min(100%, 500px);
    border: 1px solid #3c333c;
    border-radius: 28px;
    background: linear-gradient(155deg, #27232c, #1b1b22 45%, #19191f);
    box-shadow: 0 28px 70px #0004, inset 0 1px 0 #ffffff08;
}
.auth-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 24%;
    right: 24%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ed7788, transparent);
    pointer-events: none;
}
.auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin: 12px;
    padding: 5px;
    border: 1px solid #ffffff06;
    border-radius: 17px;
    background: #111115b3;
}
.auth-tabs a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #b3afb9;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.auth-tabs a > .icon {
    width: 18px;
    height: 18px;
}
.auth-tabs a:hover {
    color: white;
    background: #ffffff07;
}
.auth-tabs a[aria-current='page'] {
    color: #fff0f2;
    border-color: #9e4d5d55;
    background: linear-gradient(135deg, #65323f, #452831);
    box-shadow: 0 3px 12px #0003;
}
.auth-content {
    padding: 24px 38px 38px;
}
.auth-heading {
    margin-bottom: 30px;
    text-align: center;
}
.auth-emblem {
    display: inline-grid;
    place-items: center;
    width: 86px;
    height: 86px;
    margin-bottom: 23px;
    border: 1px solid #ffffff0d;
    border-radius: 26px;
    background: linear-gradient(150deg, #ffffff07, #ffffff02);
    box-shadow: 0 12px 32px #0003;
}
.auth-emblem img {
    width: 64px;
    height: 64px;
    border-radius: 18px;
}
.auth-heading h1 {
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.3;
    letter-spacing: -0.025em;
    text-wrap: balance;
}
.auth-card .code-block {
    margin-bottom: 24px;
    padding: 17px 18px;
    border: 1px solid #51404b;
    border-radius: 15px;
    background: linear-gradient(120deg, #2c202a, #221e26);
}
.auth-code-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.auth-code-details {
    min-width: 0;
}
.auth-code-details > span {
    display: block;
    margin-bottom: 5px;
    color: #bfaab8;
    font-size: 12px;
    line-height: 1.6;
}
.auth-code-details code {
    display: block;
    color: #ffe0e6;
    font-family: ui-monospace, monospace;
    font-size: clamp(18px, 2.5vw, 22px);
    line-height: 1.5;
    letter-spacing: 0.035em;
    overflow-wrap: anywhere;
    user-select: all;
}
.auth-card .copy-button {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid #765365;
    border-radius: 11px;
    color: #ffd3dc;
    background: #44303d;
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.auth-card .copy-button:hover {
    transform: translateY(-3px);
    border-color: #ad778e;
    background: #604050;
}
.auth-card .copy-button[hidden] {
    display: grid !important;
    visibility: hidden;
}
.auth-card .copy-button .icon {
    width: 18px;
    height: 18px;
}
.auth-card .copy-status:empty {
    display: none;
}
.auth-card .copy-status {
    display: block;
    margin-top: 10px;
    color: #f5c8d6;
    font-size: 12px;
    line-height: 1.6;
}
.auth-card .auth-primary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 12px;
    min-height: 58px;
    padding: 11px 13px 11px 25px;
    border-color: #ff69784d;
    border-radius: 14px;
    background: linear-gradient(110deg, #e32940, #cb1a32);
    box-shadow: 0 8px 22px #d41f3526, inset 0 1px 0 #ffffff14;
    font-size: 15px;
}
.auth-card .auth-primary:hover {
    background: linear-gradient(110deg, #f13a50, #df2340);
    box-shadow: 0 12px 28px #d41f3540;
}
.auth-button-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #00000017;
}
.auth-primary .auth-button-icon .icon {
    width: 17px;
    height: 17px;
}
.auth-card-footer {
    display: flex;
    justify-content: center;
    padding: 13px 24px;
    border-top: 1px solid #ffffff08;
    border-radius: 0 0 28px 28px;
    background: #11111540;
}
.auth-support {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    color: #b9b3bf;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    transition: color 0.3s;
}
.auth-support > .icon {
    width: 17px;
    height: 17px;
}
.auth-support .auth-support-arrow {
    width: 15px;
    height: 15px;
    transition: transform 0.3s;
}
.auth-support:hover {
    color: #ffe0e6;
}
.auth-support:hover .auth-support-arrow {
    transform: translateX(3px);
}
@media (max-width: 600px) {
    .auth-section {
        padding-block: 30px 52px;
    }
    .auth-card {
        border-radius: 23px;
    }
    .auth-tabs {
        margin: 9px;
        padding: 4px;
    }
    .auth-tabs a {
        gap: 7px;
        padding-inline: 8px;
        font-size: 13px;
    }
    .auth-content {
        padding: 23px 23px 30px;
    }
    .auth-emblem {
        width: 78px;
        height: 78px;
        margin-bottom: 20px;
        border-radius: 23px;
    }
    .auth-emblem img {
        width: 58px;
        height: 58px;
        border-radius: 16px;
    }
    .auth-card .code-block {
        padding: 15px;
    }
    .auth-card .auth-primary {
        font-size: 14px;
    }
    .auth-card-footer {
        border-radius: 0 0 23px 23px;
    }
}
.page-intro.download-intro h1 {
    margin-bottom: 0;
}
.download-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    padding-block: 28px 64px;
}
.download-links .text-link {
    font-size: 14px;
}
.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.download-card {
    border: 1px solid #6a3443;
    border-radius: 20px;
    padding: 38px;
    background: linear-gradient(130deg, #311b25, #1c1b21);
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}
.download-card h2 {
    font-size: 28px;
    margin: 25px 0 15px;
}
.download-card p {
    font-size: 15px;
    margin-bottom: 28px;
    max-width: 500px;
}
.download-card .btn {
    margin-top: auto;
}
.browser-card {
    background: linear-gradient(130deg, #24242d, #1a1a20);
    border-color: #474751;
}
.faq-layout {
    margin-bottom: 24px;
}
.faq-links {
    padding-bottom: 64px;
}
.faq-links .text-link {
    font-size: 14px;
}
.faq-item {
    border-top: 1px solid #41414b;
}
.faq-item:last-child {
    border-bottom: 1px solid #41414b;
}
.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
    transition: color 0.3s;
}
.faq-item summary:hover {
    color: #ffb4c0;
}
.faq-number {
    color: #9f7585;
    font-size: 11px;
    align-self: flex-start;
    padding-top: 4px;
}
.faq-item h2 {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.01em;
}
.faq-plus {
    font-size: 25px;
    font-weight: 300;
    margin-left: auto;
    transition: transform 0.3s;
    color: #bca3af;
}
.faq-item[open] .faq-plus {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 38px 26px;
    font-size: 14px;
    line-height: 1.85;
    animation: popup 0.3s ease;
}
.faq-answer .text-link {
    margin-top: 18px;
    color: #efb2c1;
    font-size: 12px;
}
.promotions-section {
    max-width: 1040px;
    padding-bottom: 80px;
}
.promotions-heading {
    padding-block: 24px 36px;
}
.promotions-heading h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 60px);
}
.promotions-list {
    display: grid;
    gap: 28px;
}
.promotion-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}
.promotion-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 26px;
}
.promotion-number {
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.promotion-heading h2 {
    margin: 0;
    font-size: 23px;
    line-height: 1.4;
}
.promotion-card picture {
    display: block;
}
.promotion-card img {
    display: block;
    box-sizing: content-box;
    width: 100%;
    height: auto;
    /* Keep one ratio when resized WebP dimensions round to whole pixels. */
    aspect-ratio: 1280 / 577;
    object-fit: cover;
    border-top: 1px solid var(--line);
}
.promotion-actions {
    display: flex;
    justify-content: center;
    padding: 22px 26px;
    border-top: 1px solid var(--line);
}
@media (max-width: 600px) {
    .promotions-section {
        padding-bottom: 48px;
    }
    .promotions-heading {
        padding-block: 12px 24px;
    }
    .promotions-list {
        gap: 20px;
    }
    .promotion-card {
        border-radius: 16px;
    }
    .promotion-heading {
        gap: 12px;
        padding: 16px;
    }
    .promotion-heading h2 {
        font-size: 18px;
    }
    .promotion-actions {
        padding: 16px;
    }
    .promotion-actions .btn {
        width: 100%;
    }
}
.not-found {
    min-height: 58vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 70px;
    gap: 25px;
}
.not-found .eyebrow {
    font-size: 18px;
    margin: 0;
}
.not-found h1 {
    max-width: 800px;
}
.not-found .lead {
    max-width: 650px;
}
html[lang='zh-Hans-MY'] h1 {
    line-height: 1.3;
}
html[lang='th'] h1,
html[lang='th'] h2,
html[lang='th'] h3 {
    line-height: 1.4;
    letter-spacing: 0;
}
html[lang='th'] .nav-shell {
    gap: 26px;
}
html[lang='th'] .desktop-nav {
    gap: 20px;
}
@keyframes popup {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (min-width: 1280px) {
    .hero h1 {
        font-size: 65px;
    }
    html[lang='th'] .hero h1 {
        font-size: 54px;
    }
}
@media (max-width: 1150px) {
    .nav-shell {
        gap: 25px;
    }
    .desktop-nav {
        gap: 20px;
    }
    .nav-actions {
        gap: 16px;
    }
    .hero {
        gap: 36px;
    }
    .game-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .quick-card {
        padding: 23px 19px;
    }
    .help-section {
        gap: 25px;
        padding: 32px;
    }
    .help-section .button-row {
        max-width: 240px;
    }
    .language-switcher summary > span {
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
@media (max-width: 1150px) {
    .desktop-nav {
        display: none;
    }
    .nav-actions {
        margin-left: auto;
    }
    .nav-login {
        display: none;
    }
    .mobile-menu {
        display: block;
    }
    .mobile-menu summary {
        width: 42px;
        height: 42px;
        border: 1px solid #494952;
        border-radius: 8px;
        list-style: none;
        display: grid;
        place-items: center;
        transition:
            background 0.3s,
            transform 0.3s;
    }
    .mobile-menu summary:hover {
        background: #303037;
        transform: translateY(-2px);
    }
    .menu-lines,
    .menu-lines::before,
    .menu-lines::after {
        width: 17px;
        height: 1px;
        background: #e9e9f1;
        display: block;
        position: relative;
        transition: transform 0.3s;
    }
    .menu-lines::before,
    .menu-lines::after {
        content: '';
        position: absolute;
        left: 0;
    }
    .menu-lines::before {
        top: -5px;
    }
    .menu-lines::after {
        top: 5px;
    }
    .mobile-menu[open] .menu-lines {
        background: transparent;
    }
    .mobile-menu[open] .menu-lines::before {
        top: 0;
        transform: rotate(45deg);
    }
    .mobile-menu[open] .menu-lines::after {
        top: 0;
        transform: rotate(-45deg);
    }
    .mobile-panel {
        position: absolute;
        right: 0;
        top: calc(100% + 8px);
        width: min(370px, calc(100vw - 40px));
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
        background: #232328;
        border: 1px solid #484852;
        border-radius: 15px;
        box-shadow: 0 30px 60px #000a;
        padding: 12px;
        animation: popup 0.3s ease;
    }
    .mobile-panel a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px;
        border-radius: 9px;
        font-size: 15px;
        transition:
            background 0.3s,
            color 0.3s;
    }
    .mobile-panel a[aria-current] {
        background: #4a2633;
        color: #ffdce3;
    }
    .mobile-panel a:hover {
        background: #33333a;
    }
    .mobile-panel .icon {
        width: 18px;
    }
}
@media (max-width: 900px) {
    .container {
        width: calc(100% - 40px);
    }
    .nav-shell {
        height: 76px;
    }
    .hero {
        padding-block: 48px 55px;
        gap: 25px;
    }
    .hero h1 {
        font-size: 43px;
    }
    .hero-copy .lead {
        font-size: 14px;
    }
    .quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .quick-card {
        padding: 24px;
    }
    .quick-top {
        margin-bottom: 20px;
    }
    .section-heading {
        align-items: flex-start;
        gap: 30px;
    }
    .section-heading > p {
        max-width: 340px;
        font-size: 12px;
    }
    .game-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 22px 13px;
    }
    .help-section {
        flex-direction: column;
        align-items: flex-start;
    }
    .help-section .button-row {
        max-width: none;
    }
    .footer-main {
        align-items: flex-start;
        gap: 40px;
    }
    .footer-links {
        max-width: 280px;
        gap: 16px;
    }
    .footer-social {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
    .footer-social-links {
        justify-content: flex-start;
    }
    .download-card {
        padding: 28px;
    }
    .page-intro {
        padding-block: 44px 38px;
    }
}
@media (max-width: 600px) {
    .container {
        width: calc(100% - 36px);
    }
    .nav-shell {
        height: 70px;
        gap: 12px;
    }
    .wordmark {
        font-size: 20px;
        gap: 8px;
        letter-spacing: -0.9px;
    }
    .nav-brand {
        gap: 3px;
    }
    .nav-brand-name {
        gap: 8px;
    }
    .brand-tagline {
        font-size: 8.5px;
    }
    .brand-symbol {
        width: 29px;
        height: 29px;
        font-size: 22px;
    }
    .nav-actions {
        gap: 11px;
    }
    .nav-actions > .btn-small {
        display: none;
    }
    .language-switcher summary > span {
        display: none;
    }
    .language-switcher summary .icon:last-child {
        display: none;
    }
    .language-switcher summary {
        width: 35px;
        justify-content: center;
    }
    .language-switcher summary .icon {
        width: 21px;
        height: 21px;
    }
    .language-panel {
        right: -53px;
        top: calc(100% + 6px);
    }
    .hero {
        grid-template-columns: 1fr;
        gap: 33px;
        padding-block: 40px 45px;
    }
    .hero h1 {
        font-size: clamp(37px, 10.4vw, 55px);
        margin-bottom: 18px;
    }
    .hero-copy .lead {
        font-size: 14px;
        line-height: 1.85;
        margin-bottom: 25px;
        max-width: 460px;
    }
    .eyebrow {
        font-size: 10px;
        letter-spacing: 0.14em;
        margin-bottom: 16px;
    }
    .hero .button-row .btn {
        flex: 1;
    }
    .btn {
        min-height: 49px;
        padding: 12px 20px;
        font-size: 13px;
    }
    .hero-link {
        margin-top: 22px;
        font-size: 12px;
    }
    .quick-section {
        padding-bottom: 44px;
    }
    .section-heading {
        display: block;
        margin-bottom: 24px;
    }
    .section-heading > p {
        max-width: none;
        margin-top: 16px;
        font-size: 12px;
    }
    .section-heading h2 {
        font-size: 28px;
    }
    .section-heading .eyebrow {
        margin-bottom: 10px;
    }
    .quick-grid {
        gap: 12px;
    }
    .quick-card {
        padding: 18px 16px;
        border-radius: 12px;
    }
    .quick-top {
        margin-bottom: 22px;
    }
    .icon-tile {
        width: 36px;
        height: 36px;
    }
    .icon-tile .icon {
        width: 20px;
        height: 20px;
    }
    .index-number {
        font-size: 10px;
    }
    .quick-card h3 {
        font-size: 18px;
        line-height: 1.3;
        overflow-wrap: break-word;
    }
    .quick-card p {
        font-size: 12px;
        margin-bottom: 22px;
    }
    .card-bottom {
        font-size: 10px;
        gap: 6px;
    }
    .card-bottom .icon {
        width: 15px;
    }
    .directory-section {
        padding-block: 40px;
    }
    .directory-toolbar {
        gap: 12px;
        margin-block: 22px;
    }
    .directory-count {
        font-size: 11px;
        gap: 7px;
        flex-shrink: 0;
    }
    .search-box {
        width: 175px;
        max-width: 60%;
        height: 39px;
        padding: 0 9px;
        gap: 5px;
    }
    .search-box input {
        font-size: 11px;
    }
    .game-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 19px 11px;
    }
    .game-art {
        border-radius: 18px;
    }
    .game-caption {
        font-size: 10px;
        padding-top: 8px;
        gap: 3px;
        align-items: flex-start;
    }
    .game-caption .icon {
        width: 11px;
        margin-top: 1px;
    }
    .help-section {
        padding: 26px 22px;
        gap: 24px;
        margin-bottom: 45px;
        border-radius: 14px;
    }
    .help-section h2 {
        font-size: 26px;
        line-height: 1.3;
    }
    .help-section p:not(.eyebrow) {
        font-size: 12px;
    }
    .help-section .button-row {
        width: 100%;
    }
    .help-section .btn {
        flex: 1;
        padding: 12px 15px;
    }
    .footer-main {
        display: block;
        padding-block: 32px;
    }
    .footer-links {
        max-width: none;
        justify-content: flex-start;
        margin-top: 26px;
        font-size: 11px;
        gap: 14px 20px;
    }
    .footer-bottom {
        display: block;
        padding-block: 20px;
    }
    .footer-bottom > span {
        display: block;
        margin-top: 18px;
    }
    .footer-bottom p {
        font-size: 10px;
        line-height: 1.8;
    }
    .breadcrumbs {
        font-size: 11px;
        padding-top: 23px;
    }
    .page-intro {
        padding-block: 35px 30px;
    }
    .page-intro h1 {
        font-size: 37px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    .page-intro .lead {
        font-size: 14px;
        line-height: 1.85;
    }
    .download-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .download-card {
        padding: 26px;
    }
    .download-card h2 {
        font-size: 25px;
    }
    .download-card p {
        font-size: 13px;
    }
    .faq-item summary {
        gap: 12px;
        padding-block: 22px;
    }
    .faq-item h2 {
        gap: 12px;
        font-size: 16px;
        line-height: 1.6;
    }
    .faq-number {
        font-size: 10px;
        min-width: 17px;
        padding-top: 5px;
    }
    .faq-plus {
        font-size: 22px;
    }
    .faq-answer {
        padding: 0 23px 22px 29px;
        font-size: 13px;
    }
    .not-found {
        padding-block: 50px;
        gap: 22px;
    }
    .not-found h1 {
        font-size: 38px;
    }
    .not-found .lead {
        font-size: 14px;
    }
    html[lang='th'] .hero h1 {
        font-size: 38px;
    }
    html[lang='th'] .nav-shell {
        gap: 12px;
    }
}
