/* site palette */
html:root {
    --bg: #FBF7F3;
    --surface: #FFFFFF;
    --surface-alt: #F3E6E8;
    --text: #32261A;
    --text-muted: #6D6255;
    --border: #E4DED8;
    --primary: #53262D;
    --primary-hover: #3B1B20;
    --on-primary: #FFFFFF;
    --primary-text: #53262D;
    --accent: #EF61E2;
    --on-accent: #111111;
    --accent-text: #CB15BB;
    --dark-band: #37191E;
    --on-dark: #FFFFFF;
    --on-dark-muted: #C3BDB6;
    --brand-btn-bg: #FFFFFF;
    --brand-btn-text: #37191E;
    --section-alt-bg: #F3E6E8;
    --dark-band-bg: #37191E;
    --brand-band-bg: #53262D;
    --hero-bg: #37191E;
}

html:root {
    --bs-primary: #53262D;
    --bs-primary-rgb: 83, 38, 45;
    --bs-link-color: #53262D;
    --bs-link-color-rgb: 83, 38, 45;
    --bs-link-hover-color: #3B1B20;
    --mdb-primary: #53262D;
    --mdb-primary-rgb: 83, 38, 45;
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-color: var(--on-primary);
    --bs-btn-hover-bg: var(--primary-hover);
    --bs-btn-hover-border-color: var(--primary-hover);
    --bs-btn-hover-color: var(--on-primary);
    --bs-btn-active-bg: var(--primary-hover);
    --bs-btn-active-border-color: var(--primary-hover);
    --bs-btn-active-color: var(--on-primary);
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--on-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--on-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-text);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-hover-color: var(--on-primary);
    color: var(--primary-text);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--on-primary);
}

.text-primary,
.link-primary {
    color: var(--primary-text) !important;
}

.bg-primary,
.text-bg-primary,
.badge.bg-primary {
    color: var(--on-primary) !important;
}

/* /site palette */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Bai Jamjuree', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

.text-muted {
    color: var(--text-muted) !important;
}

.jdv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 14px 32px;
    background-color: var(--primary);
    color: var(--on-primary);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 9999px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, color 0.2s ease;
}

.jdv-btn:hover {
    background-color: var(--primary-hover);
    color: var(--on-primary);
    transform: scale(1.04);
}

.jdv-btn:active {
    transform: scale(0.92);
}

.jdv-btn-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 14px 32px;
    background-color: transparent;
    color: var(--primary-text);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 9999px;
    border: 3px solid var(--primary);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, color 0.2s ease;
}

.jdv-btn-alt:hover {
    background-color: var(--surface-alt);
    color: var(--primary-hover);
    transform: scale(1.04);
}

.jdv-btn-alt:active {
    transform: scale(0.92);
}

.jdv-card {
    display: flex;
    flex-direction: column;
    background-color: var(--surface);
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: 28px;
    padding: 18px;
    box-shadow: none;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease;
}

@media (min-width: 768px) {
    .jdv-card {
        padding: 24px;
    }
}

.jdv-card:hover {
    transform: scale(1.02);
    border-color: var(--primary);
}

.jdv-card .jdv-btn,
.jdv-card .jdv-btn-alt {
    margin-top: auto;
}

.jdv-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border);
    background-color: var(--surface-alt);
}

.jdv-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jdv-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent-text);
    margin-bottom: 8px;
}

.jdv-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.jdv-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: var(--on-accent);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 12px;
    border-radius: 9999px;
    line-height: 1;
}

.jdv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 22px;
    background-color: var(--surface-alt);
    color: var(--primary);
    font-size: 1.75rem;
    flex-shrink: 0;
}

.jdv-section {
    padding-top: 48px;
    padding-bottom: 48px;
    background-color: var(--bg);
    color: var(--text);
}

.jdv-section-alt {
    padding-top: 48px;
    padding-bottom: 48px;
    background-color: var(--surface-alt);
    color: var(--text);
}

.jdv-section-dark {
    padding-top: 48px;
    padding-bottom: 48px;
    background-color: var(--dark-band);
    color: var(--on-dark);
}

.jdv-section-brand {
    padding-top: 48px;
    padding-bottom: 48px;
    background-color: var(--primary);
    color: var(--on-primary);
}

@media (min-width: 768px) {

    .jdv-section,
    .jdv-section-alt,
    .jdv-section-dark,
    .jdv-section-brand {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

.jdv-section-dark,
.jdv-section-dark h1,
.jdv-section-dark h2,
.jdv-section-dark h3,
.jdv-section-dark .jdv-title,
.jdv-on-dark,
.jdv-on-dark h1,
.jdv-on-dark h2,
.jdv-on-dark h3,
.jdv-on-dark .jdv-title {
    color: var(--on-dark);
}

.jdv-section-dark p,
.jdv-section-dark a,
.jdv-section-dark .text-muted,
.jdv-on-dark p,
.jdv-on-dark a,
.jdv-on-dark .text-muted {
    color: var(--on-dark-muted) !important;
}

.jdv-section-dark .jdv-eyebrow,
.jdv-on-dark .jdv-eyebrow {
    color: var(--accent);
}

.jdv-section-dark .jdv-btn-alt,
.jdv-on-dark .jdv-btn-alt {
    border-color: var(--on-dark);
    color: var(--on-dark);
}

.jdv-section-dark .jdv-btn-alt:hover,
.jdv-on-dark .jdv-btn-alt:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--on-dark);
}

.jdv-section-brand .jdv-btn {
    background-color: var(--brand-btn-bg);
    color: var(--brand-btn-text);
}

.jdv-section-brand .jdv-btn:hover {
    background-color: var(--surface-alt);
    color: var(--brand-btn-text);
}

.jdv-section-brand .jdv-btn-alt,
.jdv-section-brand .jdv-btn-alt:visited {
    border: 2px solid var(--on-primary);
    background-color: transparent;
    color: var(--on-primary);
}

.jdv-section-brand .jdv-btn-alt:hover,
.jdv-section-brand .jdv-btn-alt:focus,
.jdv-section-brand .jdv-btn-alt:focus-visible,
.jdv-section-brand .jdv-btn-alt:active,
.jdv-section-brand .jdv-btn-alt:visited:hover,
.jdv-section-brand .jdv-btn-alt:visited:focus,
.jdv-section-brand .jdv-btn-alt:visited:active {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--dark-band) !important;
}

.jdv-section-dark .jdv-card,
.jdv-on-dark .jdv-card {
    background-color: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

.jdv-section-dark .jdv-card h1,
.jdv-section-dark .jdv-card h2,
.jdv-section-dark .jdv-card h3,
.jdv-section-dark .jdv-card .jdv-title,
.jdv-on-dark .jdv-card h1,
.jdv-on-dark .jdv-card h2,
.jdv-on-dark .jdv-card h3,
.jdv-on-dark .jdv-card .jdv-title {
    color: var(--text);
}

.jdv-section-dark .jdv-card p,
.jdv-on-dark .jdv-card p {
    color: var(--text);
}

.jdv-section-dark .jdv-card .text-muted,
.jdv-on-dark .jdv-card .text-muted {
    color: var(--text-muted) !important;
}

.jdv-section-dark .jdv-card a,
.jdv-on-dark .jdv-card a {
    color: var(--primary-text);
}

/* ===== header ===== */
.ash-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: var(--surface, #FFFFFF);
    border-bottom: 2px solid var(--border, #E4DED8)
}

.ash-header .ash-navbar {
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: var(--surface, #FFFFFF)
}

.ash-header .ash-brand-logo {
    max-width: 44px;
    max-height: 44px;
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    display: inline-block
}

.ash-header .ash-brand-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary, #53262D);
    letter-spacing: -0.02em;
    line-height: 1.2
}

.ash-header .nav-link {
    color: var(--text, #32261A);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 8px 14px;
    border-radius: 9999px;
    transition: color 0.2s ease, background-color 0.2s ease
}

.ash-header .nav-link:hover,
.ash-header .nav-link:focus {
    color: var(--primary, #53262D);
    background-color: var(--surface-alt, #F3E6E8)
}

.ash-header .nav-link.active {
    color: var(--primary, #53262D);
    background-color: var(--surface-alt, #F3E6E8)
}

.ash-header .ash-toggler {
    border: 2px solid var(--border, #E4DED8);
    border-radius: 14px;
    padding: 6px 12px;
    background-color: var(--surface-alt, #F3E6E8);
    color: var(--primary, #53262D);
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none
}

.ash-header .ash-toggler:focus {
    box-shadow: none;
    outline: 2px solid var(--primary, #53262D)
}

.ash-header .dropdown-menu {
    background-color: var(--surface, #FFFFFF);
    border: 2px solid var(--border, #E4DED8);
    border-radius: 18px;
    padding: 8px;
    box-shadow: 0 12px 28px rgba(55, 25, 30, 0.08)
}

.ash-header .dropdown-item {
    color: var(--text, #32261A);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 10px 16px;
    border-radius: 12px;
    transition: background-color 0.2s ease, color 0.2s ease
}

.ash-header .dropdown-item:hover,
.ash-header .dropdown-item:focus {
    background-color: var(--surface-alt, #F3E6E8);
    color: var(--primary, #53262D)
}

.ash-header .ash-cta-wrap {
    display: flex;
    align-items: center
}

.ash-header .ash-header-cta {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap
}

@media(max-width:991.98px) {
    .ash-header .navbar-nav {
        padding-top: 14px;
        padding-bottom: 6px;
        gap: 4px
    }

    .ash-header .ash-cta-wrap {
        padding-top: 10px;
        padding-bottom: 14px;
        width: 100%
    }

    .ash-header .ash-header-cta {
        width: 100%;
        text-align: center
    }

    .ash-header .dropdown-menu {
        border: 1px solid var(--border, #E4DED8);
        background-color: var(--surface-alt, #F3E6E8);
        margin-top: 4px;
        margin-bottom: 8px;
        box-shadow: none
    }
}

/* ===== hero ===== */
.af-hero {
    background-color: var(--hero-bg, #37191E);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.af-hero__bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
}

.af-hero__overlay {
    background: radial-gradient(circle at 70% 30%, rgba(239, 97, 226, 0.15) 0%, rgba(55, 25, 30, 0.92) 80%);
}

.af-hero__title {
    font-size: clamp(1.85rem, 4vw, 3rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.af-hero__lead {
    font-size: clamp(0.95rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    max-width: 620px;
    overflow-wrap: anywhere;
}

.af-hero__tag {
    background-color: rgba(239, 97, 226, 0.25);
    border: 1px solid rgba(239, 97, 226, 0.4);
    color: #FFFFFF;
    font-size: 0.875rem;
}

.af-hero__action-btn {
    border-radius: 9999px;
    min-height: 52px;
    padding: 12px 28px;
    font-weight: 600;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.af-hero__action-btn:hover {
    transform: scale(1.04);
}

.af-hero__action-btn:active {
    transform: scale(0.92);
}

.af-hero__stats {
    border-color: rgba(255, 255, 255, 0.15) !important;
    font-size: 0.9rem;
}

.af-hero__phone-frame {
    width: 100%;
    max-width: 310px;
    background-color: #1A0B0E;
    border: 4px solid var(--primary, #53262D);
    border-radius: 36px;
    padding: 12px 10px;
    box-shadow: 0px 6px 0px #37191E;
}

.af-hero__phone-notch {
    width: 68px;
    height: 6px;
    background-color: #37191E;
    border-radius: 4px;
    margin: 0 auto 10px auto;
}

.af-hero__screen {
    height: 480px;
    background-color: #000000;
    border-radius: 26px;
}

.af-hero__screen-img {
    object-fit: cover;
}

.af-hero__screen-badge {
    background-color: rgba(55, 25, 30, 0.85);
    border: 1px solid var(--accent, #EF61E2);
    white-space: nowrap;
}

@media (max-width: 767px) {
    .af-hero__title {
        font-size: 1.65rem;
    }

    .af-hero__phone-frame {
        max-width: 260px;
    }

    .af-hero__screen {
        height: 380px;
    }

    .af-hero__content-row {
        flex-direction: column;
    }

    .af-hero__stats {
        font-size: 0.8rem;
    }
}

/* ===== daily_challenge ===== */
.ash-daily-challenge {
    background-color: var(--brand-band-bg, #53262D);
    position: relative;
    overflow: hidden
}

.ash-daily-challenge .ash-daily-header {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto
}

.ash-daily-challenge .ash-daily-subtitle {
    font-size: 1.05rem;
    line-height: 1.6
}

.ash-daily-challenge .jdv-card {
    background: var(--surface, #FFFFFF);
    border-radius: 28px;
    border: 2px solid var(--border, #E4DED8);
    padding: 24px;
    color: var(--text, #32261A);
    box-shadow: none
}

.ash-daily-challenge .ash-card-media-wrap {
    border-radius: 20px;
    overflow: hidden;
    background: #000000;
    aspect-ratio: 16/9
}

.ash-daily-challenge .ash-mission-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease
}

.ash-daily-challenge .ash-media-link:hover .ash-mission-cover {
    transform: scale(1.03)
}

.ash-daily-challenge .ash-mission-badge-float {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2
}

.ash-daily-challenge .ash-meta-tag,
.ash-daily-challenge .ash-meta-date {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--text-muted, #6D6255)
}

.ash-daily-challenge .ash-mission-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3
}

.ash-daily-challenge .ash-title-link {
    color: var(--text, #32261A);
    text-decoration: none;
    transition: color .2s ease
}

.ash-daily-challenge .ash-title-link:hover {
    color: var(--accent-text, #CB15BB)
}

.ash-daily-challenge .ash-mission-desc {
    font-size: .9375rem;
    line-height: 1.6
}

.ash-daily-challenge .ash-progress-block {
    background: var(--surface-alt, #F3E6E8);
    border: 1px solid var(--border, #E4DED8)
}

.ash-daily-challenge .ash-progress-label {
    font-size: .875rem;
    font-weight: 700;
    color: var(--text, #32261A)
}

.ash-daily-challenge .ash-progress-val {
    font-size: 1rem;
    color: var(--primary-text, #53262D)
}

.ash-daily-challenge .ash-custom-progress {
    height: 12px;
    border-radius: 9999px;
    background: #FFFFFF;
    border: 1px solid var(--border, #E4DED8);
    overflow: hidden
}

.ash-daily-challenge .ash-progress-fill {
    background: var(--accent, #EF61E2);
    transition: width .6s ease
}

.ash-daily-challenge .ash-board-icon {
    width: 42px;
    height: 42px;
    background: var(--surface-alt, #F3E6E8)
}

.ash-daily-challenge .ash-leaderboard-table thead th {
    background: var(--surface-alt, #F3E6E8);
    color: var(--text, #32261A);
    font-size: .8125rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    padding: 12px 10px;
    border: none
}

.ash-daily-challenge .ash-leaderboard-table tbody td {
    padding: 14px 10px;
    border-bottom: 1px solid var(--border, #E4DED8);
    font-size: .9375rem;
    color: var(--text, #32261A)
}

.ash-daily-challenge .ash-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: .875rem
}

.ash-daily-challenge .ash-rank-badge.rank-1 {
    background: #FFE082;
    color: #795548
}

.ash-daily-challenge .ash-rank-badge.rank-2 {
    background: #ECEFF1;
    color: #455A64
}

.ash-daily-challenge .ash-rank-badge.rank-3 {
    background: #FFCCBC;
    color: #5D4037
}

.ash-daily-challenge .ash-rank-badge.rank-default {
    background: transparent;
    color: var(--text-muted, #6D6255)
}

.ash-daily-challenge .ash-player-name {
    overflow-wrap: anywhere
}

.ash-daily-challenge .ash-rank-row:hover {
    background-color: rgba(83, 38, 45, .03)
}

@media (max-width:767px) {
    .ash-daily-challenge .ash-leaderboard-table thead {
        display: none
    }

    .ash-daily-challenge .ash-leaderboard-table,
    .ash-daily-challenge .ash-leaderboard-table tbody,
    .ash-daily-challenge .ash-leaderboard-table tr,
    .ash-daily-challenge .ash-leaderboard-table td {
        display: block;
        width: 100%
    }

    .ash-daily-challenge .ash-leaderboard-table tr {
        margin-bottom: 12px;
        padding: 12px;
        border: 1px solid var(--border, #E4DED8);
        border-radius: 18px;
        background: var(--surface, #FFFFFF)
    }

    .ash-daily-challenge .ash-leaderboard-table td {
        padding: 6px 0;
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center
    }

    .ash-daily-challenge .ash-leaderboard-table td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: .8125rem;
        color: var(--text-muted, #6D6255);
        margin-right: 8px
    }

    .ash-daily-challenge .jdv-card {
        padding: 18px
    }

    .ash-daily-challenge .ash-mission-title {
        font-size: 1.15rem
    }
}

/* ===== games_grid ===== */
.ash-games-section {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem
}

.ash-games-section .jdv-title {
    color: var(--text);
    font-weight: 700
}

.ash-games-section .ash-counter-chip {
    background: var(--accent);
    color: var(--on-accent);
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.875rem
}

.ash-games-section .ash-section-desc {
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.6
}

.ash-games-section .ash-game-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: transform .28s cubic-bezier(.34, 1.56, .64, 1)
}

.ash-games-section .ash-game-card:hover {
    transform: scale(1.03)
}

.ash-games-section .ash-game-card:active {
    transform: scale(0.97)
}

.ash-games-section .ash-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--surface-alt)
}

.ash-games-section .ash-media-link {
    display: block;
    width: 100%;
    height: 100%
}

.ash-games-section .ash-game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.ash-games-section .ash-card-body {
    padding: 0
}

.ash-games-section .ash-game-title {
    color: var(--text);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere
}

.ash-games-section .ash-title-link {
    color: var(--text);
    text-decoration: none;
    transition: color .2s ease
}

.ash-games-section .ash-title-link:hover {
    color: var(--primary-text)
}

.ash-games-section .ash-meta-item {
    font-size: 0.8125rem;
    color: var(--text-muted)
}

.ash-games-section .jdv-btn {
    border-radius: 9999px;
    font-weight: 700;
    padding: 0.6rem 1.25rem;
    text-decoration: none;
    display: inline-block;
    transition: transform .2s ease, background-color .2s ease
}

.ash-games-section .jdv-btn:active {
    transform: scale(0.94)
}

@media (max-width:767px) {
    .ash-games-section .jdv-title {
        font-size: 1.25rem;
        hyphens: auto
    }

    .ash-games-section .ash-game-title {
        font-size: 0.95rem;
        hyphens: auto
    }

    .ash-games-section .ash-games-grid-col {
        width: 100%
    }
}

/* ===== top_players ===== */
.ash-top-players .ash-top-players__subtitle {
    color: var(--on-dark-muted);
    font-size: 1rem;
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.5;
}

.ash-top-players .ash-top-players__stat-card {
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 20px;
    background-color: var(--surface);
    color: var(--text);
}

.ash-top-players .ash-top-players__stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background-color: var(--surface-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.ash-top-players .ash-top-players__stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-text);
    line-height: 1.2;
}

.ash-top-players .ash-top-players__stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.ash-top-players .ash-top-players__board-wrapper {
    border: 2px solid var(--border);
    border-radius: 28px;
    background-color: var(--surface);
    color: var(--text);
    overflow: hidden;
}

.ash-top-players .ash-top-players__table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.ash-top-players .ash-top-players__table thead th {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border);
    letter-spacing: 0.02em;
}

.ash-top-players .ash-top-players__table tbody td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border);
}

.ash-top-players .ash-top-players__table tbody tr:last-child td {
    border-bottom: none;
}

.ash-top-players .ash-top-players__badge {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.875rem;
}

.ash-top-players .ash-top-players__badge--gold {
    background-color: #FFD700;
    color: #111111;
}

.ash-top-players .ash-top-players__badge--silver {
    background-color: #E0E0E0;
    color: #111111;
}

.ash-top-players .ash-top-players__badge--bronze {
    background-color: #CD7F32;
    color: #FFFFFF;
}

.ash-top-players .ash-top-players__badge--rank {
    background-color: var(--surface-alt);
    color: var(--primary-text);
}

.ash-top-players .ash-top-players__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--surface-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ash-top-players .ash-top-players__player-name {
    display: block;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.2;
    word-break: break-word;
}

.ash-top-players .ash-top-players__status-pill {
    font-size: 0.75rem;
    color: #198754;
    font-weight: 500;
    line-height: 1;
}

.ash-top-players .ash-top-players__status-pill--idle {
    color: var(--text-muted);
}

.ash-top-players .ash-top-players__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #198754;
    display: inline-block;
}

.ash-top-players .ash-top-players__status-dot--idle {
    background-color: var(--text-muted);
}

.ash-top-players .ash-top-players__tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 9999px;
    background-color: var(--surface-alt);
    color: var(--primary-text);
    font-size: 0.8125rem;
    font-weight: 600;
}

.ash-top-players .ash-top-players__metric {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

.ash-top-players .ash-top-players__rate {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--accent-text);
}

.ash-top-players .ash-top-players__score {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-text);
}

@media (max-width: 767px) {
    .ash-top-players .ash-top-players__table thead {
        display: none;
    }

    .ash-top-players .ash-top-players__table,
    .ash-top-players .ash-top-players__table tbody,
    .ash-top-players .ash-top-players__table tr,
    .ash-top-players .ash-top-players__table td {
        display: block;
        width: 100%;
    }

    .ash-top-players .ash-top-players__table tr {
        margin-bottom: 16px;
        border: 2px solid var(--border);
        border-radius: 20px;
        padding: 12px;
        background-color: var(--surface);
    }

    .ash-top-players .ash-top-players__table tbody td {
        border-bottom: 1px dashed var(--border);
        padding: 8px 4px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: right;
    }

    .ash-top-players .ash-top-players__table tbody td:last-child {
        border-bottom: none;
    }

    .ash-top-players .ash-top-players__table tbody td::before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 0.8125rem;
        color: var(--text-muted);
        text-align: left;
        padding-right: 12px;
    }

    .ash-top-players .ash-top-players__table tbody td[data-label="อันดับ"] {
        justify-content: space-between;
    }

    .ash-top-players .ash-top-players__table tbody td[data-label="ชื่อผู้เล่น"] {
        justify-content: space-between;
    }

    .ash-top-players .ash-top-players__table tbody td[data-label="คะแนนรวม"] {
        justify-content: space-between;
        text-align: right;
    }
}

/* ===== game_statistics ===== */
.game-stats-block {
    padding-top: 48px;
    padding-bottom: 48px;
}

@media (min-width: 768px) {
    .game-stats-block {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

.game-stats-block .game-stats-desc {
    max-width: 640px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.game-stats-block .game-stats-filter-nav {
    background: var(--surface-alt);
    border-radius: 9999px;
    border: 2px solid var(--border);
}

.game-stats-block .game-stats-tab-btn {
    background: transparent;
    border: none;
    outline: none;
    border-radius: 9999px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text);
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, color 0.2s ease;
}

.game-stats-block .game-stats-tab-btn:hover {
    transform: scale(1.04);
    color: var(--primary);
}

.game-stats-block .game-stats-tab-btn.active {
    background: var(--primary);
    color: var(--on-primary);
}

.game-stats-block .game-stats-metric-card {
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 20px 16px;
    background: var(--surface);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.game-stats-block .game-stats-metric-card:hover {
    transform: scale(1.03);
}

.game-stats-block .game-stats-metric-num {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 4px;
}

.game-stats-block .game-stats-metric-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.game-stats-block .game-stats-card {
    border: 2px solid var(--border);
    border-radius: 28px;
    background: var(--surface);
    overflow: hidden;
    padding: 16px;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.game-stats-block .game-stats-card:hover {
    transform: scale(1.02);
}

.game-stats-block .game-stats-thumb-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    background: var(--surface-alt);
    position: relative;
}

.game-stats-block .game-stats-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-stats-block .game-stats-title-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.game-stats-block .game-stats-title-link:hover {
    color: var(--accent-text);
}

.game-stats-block .game-stats-meta-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.game-stats-block .game-stats-meta-val {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

@media (max-width: 767px) {
    .game-stats-block .game-stats-card {
        border-radius: 22px;
        padding: 14px;
    }
}

/* ===== footer ===== */
.ash-site-footer {
    background-color: var(--dark-band, #37191E);
    color: var(--on-dark, #FFFFFF);
    font-family: 'Bai Jamjuree', sans-serif;
    border-top: 3px solid var(--primary, #53262D);
}

.ash-site-footer a {
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.ash-site-footer .ash-footer-brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    display: inline-block;
    margin-right: 8px;
}

.ash-site-footer .ash-footer-tag {
    display: inline-block;
    background-color: var(--accent, #EF61E2);
    color: var(--on-accent, #111111);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    vertical-align: middle;
}

.ash-site-footer .ash-footer-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--on-dark-muted, #C3BDB6);
    overflow-wrap: anywhere;
}

.ash-site-footer .ash-family-badge {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--on-dark, #FFFFFF);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    font-size: 0.8125rem;
    padding: 6px 14px;
}

.ash-site-footer .ash-footer-heading {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.ash-site-footer .ash-footer-nav li,
.ash-site-footer .ash-footer-contact li {
    margin-bottom: 8px;
    font-size: 0.9375rem;
    color: var(--on-dark-muted, #C3BDB6);
    overflow-wrap: anywhere;
}

.ash-site-footer .ash-footer-link {
    color: var(--on-dark-muted, #C3BDB6);
    display: inline-block;
}

.ash-site-footer .ash-footer-link:hover,
.ash-site-footer .ash-footer-link:focus {
    color: var(--accent, #EF61E2);
    transform: translateX(2px);
}

.ash-site-footer .ash-contact-icon {
    color: var(--accent, #EF61E2);
    font-size: 1rem;
    flex-shrink: 0;
}

.ash-site-footer .ash-wa-btn {
    background-color: #25D366;
    color: #0b2e13;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 8px 18px;
    border-radius: 9999px;
    border: none;
    box-shadow: none;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
}

.ash-site-footer .ash-wa-btn:hover,
.ash-site-footer .ash-wa-btn:focus {
    background-color: #20bd5a;
    color: #051608;
    transform: scale(1.04);
}

.ash-site-footer .ash-wa-btn:active {
    transform: scale(0.95);
}

.ash-site-footer .ash-footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
    border: none;
}

.ash-site-footer .ash-footer-copy {
    font-size: 0.875rem;
    color: var(--on-dark-muted, #C3BDB6);
}

.ash-site-footer .ash-footer-sublink {
    font-size: 0.8125rem;
    color: var(--on-dark-muted, #C3BDB6);
}

.ash-site-footer .ash-footer-sublink:hover,
.ash-site-footer .ash-footer-sublink:focus {
    color: var(--accent, #EF61E2);
}

.ash-site-footer .ash-dot {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
}

@media (max-width: 767px) {
    .ash-site-footer .ash-footer-heading {
        font-size: 0.9375rem;
    }

    .ash-site-footer .ash-footer-nav li,
    .ash-site-footer .ash-footer-contact li {
        font-size: 0.875rem;
    }

    .ash-site-footer .ash-footer-copy {
        font-size: 0.8125rem;
    }

    .ash-site-footer .ash-footer-sublink {
        font-size: 0.75rem;
    }
}

.af-guide-listing {
    background-color: var(--bg, #FBF7F3);
}

.af-guide-listing__intro-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted, #6D6255);
    overflow-wrap: anywhere;
}

.af-guide-toolbar {
    background-color: var(--surface, #FFFFFF);
    border: 2px solid var(--border, #E4DED8);
}

.af-filter-btn {
    background-color: var(--surface-alt, #F3E6E8);
    color: var(--text, #32261A);
    border: none;
    padding: 8px 18px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.af-filter-btn:hover {
    background-color: var(--primary, #53262D);
    color: var(--on-primary, #FFFFFF);
    transform: scale(1.04);
}

.af-filter-btn:active {
    transform: scale(0.94);
}

.af-filter-btn.active {
    background-color: var(--primary, #53262D);
    color: var(--on-primary, #FFFFFF);
}

.af-search-input {
    background-color: var(--surface-alt, #F3E6E8);
    border: 2px solid var(--border, #E4DED8);
    border-radius: 9999px;
    padding-left: 2.5rem;
    padding-right: 1.25rem;
    font-size: 0.875rem;
    color: var(--text, #32261A);
    height: 44px;
}

.af-search-input:focus {
    background-color: #FFFFFF;
    border-color: var(--primary, #53262D);
    box-shadow: none;
    color: var(--text, #32261A);
}

.af-search-input::placeholder {
    color: var(--text-muted, #6D6255);
    opacity: 0.85;
}

.af-featured-card {
    border-radius: 28px;
    overflow: hidden;
    border: 2px solid var(--border, #E4DED8);
    background-color: var(--surface, #FFFFFF);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease;
}

.af-featured-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent, #EF61E2);
}

.af-compact-card {
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid var(--border, #E4DED8);
    background-color: var(--surface, #FFFFFF);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease;
}

.af-compact-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent, #EF61E2);
}

.af-media-portrait {
    aspect-ratio: 3 / 4;
    width: 100%;
    background-color: var(--surface-alt, #F3E6E8);
}

.af-media-portrait-compact {
    aspect-ratio: 3 / 4;
    width: 100%;
    background-color: var(--surface-alt, #F3E6E8);
}

.af-badge-chip {
    background-color: var(--accent, #EF61E2);
    color: var(--on-accent, #111111);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 9999px;
    letter-spacing: 0.02em;
}

.af-meta-text {
    font-size: 0.8125rem;
    color: var(--text-muted, #6D6255);
    display: inline-flex;
    align-items: center;
}

.af-card-title {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text, #32261A);
    overflow-wrap: anywhere;
}

.af-card-title a {
    color: var(--text, #32261A);
    transition: color 0.2s ease;
}

.af-card-title a:hover {
    color: var(--primary, #53262D);
}

.af-card-title-compact {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text, #32261A);
    overflow-wrap: anywhere;
}

.af-card-title-compact a {
    color: var(--text, #32261A);
    transition: color 0.2s ease;
}

.af-card-title-compact a:hover {
    color: var(--primary, #53262D);
}

.af-card-summary {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted, #6D6255);
    overflow-wrap: anywhere;
}

.af-card-summary-compact {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-muted, #6D6255);
    overflow-wrap: anywhere;
}

.af-cta-banner {
    background-color: var(--brand_band_bg, #53262D);
}

.af-cta-heading {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.af-cta-desc {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    overflow-wrap: anywhere;
}

.af-brand-btn {
    background-color: var(--brand_btn_bg, #FFFFFF);
    color: var(--brand_btn_text, #37191E);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 9999px;
    border: none;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
}

.af-brand-btn:hover {
    background-color: var(--surface-alt, #F3E6E8);
    color: var(--primary, #53262D);
    transform: scale(1.04);
}

.af-brand-btn:active {
    transform: scale(0.94);
}

.af-empty-message {
    padding: 3rem 1rem;
    border: 2px dashed var(--border, #E4DED8);
    border-radius: 24px;
    background-color: var(--surface, #FFFFFF);
}

@media (max-width: 767.98px) {
    .af-guide-listing__header-row {
        flex-direction: column;
    }

    .af-featured-card,
    .af-compact-card {
        width: 100%;
    }

    .af-media-portrait,
    .af-media-portrait-compact {
        aspect-ratio: 4 / 3;
    }

    .af-card-title {
        font-size: 1rem;
    }

    .af-card-title-compact {
        font-size: 0.9375rem;
    }

    .af-cta-heading {
        font-size: 1.25rem;
    }

    .af-brand-btn {
        width: 100%;
        text-align: center;
    }
}


/* ===== PAGE: privacy ===== */
.policy-content{color:var(--text);font-family:var(--font-family);line-height:1.75;padding:40px 16px;max-width:920px;margin:0 auto;overflow-wrap:anywhere;word-break:normal;hyphens:auto}.policy-content h2{color:var(--primary-text);font-size:clamp(1.25rem,2.2vw,1.65rem);font-weight:700;line-height:1.35;margin-top:2.25rem;margin-bottom:1rem;padding-bottom:0.5rem;border-bottom:2px solid var(--border)}.policy-content h2:first-of-type{margin-top:0}.policy-content p{color:var(--text);font-size:1rem;margin-bottom:1.15rem}.policy-content ul{margin-top:0.5rem;margin-bottom:1.5rem;padding-left:1.5rem;list-style-type:disc}.policy-content li{color:var(--text);margin-bottom:0.65rem;line-height:1.65}.policy-content strong{color:var(--text);font-weight:600}.policy-content a{color:var(--primary-text);text-decoration:underline;font-weight:600;transition:color .2s ease}.policy-content a:hover,.policy-content a:focus{color:var(--primary-hover);text-decoration:none}@media (max-width:767px){.policy-content{padding:28px 14px}.policy-content h2{font-size:16px;margin-top:1.75rem;margin-bottom:0.75rem;padding-bottom:0.35rem}.policy-content p{font-size:0.9375rem;line-height:1.65;margin-bottom:1rem}.policy-content ul{padding-left:1.2rem;margin-bottom:1.25rem}.policy-content li{font-size:0.9375rem;margin-bottom:0.5rem}}

/* ===== PAGE: terms ===== */
.policy-content{color:var(--text);font-family:inherit;font-size:1rem;line-height:1.7;overflow-wrap:anywhere;word-break:normal;hyphens:auto;padding:24px 0}.policy-content h2{color:var(--primary-text);font-size:clamp(1.25rem,2.2vw,1.65rem);font-weight:700;line-height:1.3;margin-top:2rem;margin-bottom:0.85rem;padding-bottom:0.35rem;border-bottom:2px solid var(--surface-alt)}.policy-content h2:first-of-type{margin-top:0}.policy-content h3{color:var(--text);font-size:clamp(1.1rem,1.8vw,1.35rem);font-weight:600;line-height:1.35;margin-top:1.5rem;margin-bottom:0.65rem}.policy-content p{color:var(--text);margin-bottom:1rem;line-height:1.7}.policy-content ul{list-style-type:disc;padding-left:1.5rem;margin-bottom:1.25rem}.policy-content ul li{color:var(--text);margin-bottom:0.5rem;line-height:1.6}.policy-content strong{color:var(--primary-text);font-weight:600}.policy-content a{color:var(--primary-text);text-decoration:underline;text-underline-offset:3px;transition:color 0.2s ease}.policy-content a:hover{color:var(--accent-text)}@media (max-width:767px){.policy-content{padding:16px 0}.policy-content h2{font-size:16px;margin-top:1.5rem;margin-bottom:0.6rem}.policy-content h3{font-size:14px;margin-top:1.2rem;margin-bottom:0.5rem}.policy-content p,.policy-content ul li{font-size:0.925rem;line-height:1.6}.policy-content ul{padding-left:1.25rem;margin-bottom:1rem}}

/* ===== PAGE: disclaimer ===== */
.policy-content { background-color: var(--surface); color: var(--text); padding: 32px 24px; border-radius: 28px; border: 2px solid var(--border); line-height: 1.7; overflow-wrap: anywhere; word-break: break-word; } .policy-content .policy-update-badge { display: inline-block; background-color: var(--surface-alt); color: var(--primary-text); font-weight: 600; font-size: 0.875rem; padding: 6px 16px; border-radius: 9999px; margin-bottom: 24px; border: 1px solid var(--border); } .policy-content h2 { color: var(--primary); font-size: clamp(1.25rem, 2.5vw, 1.625rem); font-weight: 700; line-height: 1.3; margin-top: 32px; margin-bottom: 14px; border-bottom: 2px solid var(--surface-alt); padding-bottom: 8px; } .policy-content h2:first-of-type { margin-top: 0; } .policy-content p { color: var(--text); font-size: 1rem; margin-bottom: 16px; } .policy-content strong { color: var(--primary-text); font-weight: 700; } .policy-content ul { list-style: disc; margin: 0 0 20px 20px; padding: 0; } .policy-content ul li { color: var(--text); margin-bottom: 10px; line-height: 1.6; } .policy-content .policy-link { color: var(--primary-text); text-decoration: underline; font-weight: 600; transition: color 0.28s ease; } .policy-content .policy-link:hover, .policy-content .policy-link:focus { color: var(--accent-text); outline: none; } .policy-content .policy-contact-details { background-color: var(--surface-alt); border-radius: 20px; padding: 20px; margin-top: 16px; border: 1px solid var(--border); font-size: 0.95rem; line-height: 1.8; } @media (max-width: 767px) { .policy-content { padding: 20px 16px; border-radius: 20px; } .policy-content h2 { font-size: 16px; margin-top: 24px; margin-bottom: 10px; } .policy-content p, .policy-content ul li { font-size: 0.9375rem; } .policy-content .policy-update-badge { font-size: 0.8125rem; padding: 4px 12px; margin-bottom: 18px; } .policy-content .policy-contact-details { padding: 16px; font-size: 0.875rem; } }

/* ===== PAGE: about ===== */
.about-content-section { padding: 48px 0; background-color: var(--bg); }
@media (min-width: 992px) { .about-content-section { padding: 80px 0; } }
.about-content-section__intro-box { display: flex; flex-direction: column; }
.about-content-section__counter-chip { background: var(--accent); color: var(--on-accent); font-size: 0.8125rem; font-weight: 700; padding: 4px 12px; border-radius: 9999px; line-height: 1; letter-spacing: 0.04em; }
.about-content-section__text { color: var(--text-muted); font-size: 1.0625rem; line-height: 1.7; margin: 0; }
.about-content-section__image-wrapper { position: relative; border-radius: 28px; overflow: hidden; border: 3px solid var(--primary); background-color: var(--surface-alt); aspect-ratio: 16 / 11; width: 100%; box-shadow: 0 6px 0 var(--dark-band); }
.about-content-section__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-content-section__feature-card { display: flex; flex-direction: column; height: 100%; border: 2px solid var(--border); border-radius: 28px; background-color: var(--surface); padding: 24px; transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1); }
.about-content-section__feature-card:hover { transform: scale(1.03); }
.about-content-section__icon-holder { width: 64px; height: 64px; border-radius: 22px; background-color: var(--surface-alt); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.85rem; margin-bottom: 20px; border: 2px solid var(--border); }
.about-content-section__card-title { font-size: 1.35rem; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.3; }
.about-content-section__card-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 0; }
.about-content-section__interactive-tabs-card { background-color: var(--surface); border: 2px solid var(--border); border-radius: 28px; padding: 32px 24px; box-shadow: 0 6px 0 var(--border); }
@media (min-width: 768px) { .about-content-section__interactive-tabs-card { padding: 40px 36px; } }
.about-content-section__tab-buttons { border-bottom: 2px solid var(--border); padding-bottom: 16px; }
.about-content-section__tab-btn { background: var(--surface-alt); border: 2px solid var(--border); color: var(--text); padding: 10px 20px; border-radius: 9999px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; display: inline-flex; align-items: center; }
.about-content-section__tab-btn:hover { background: var(--surface); color: var(--primary); border-color: var(--primary); transform: scale(1.02); }
.about-content-section__tab-btn.active { background: var(--primary); color: var(--on-primary); border-color: var(--primary); box-shadow: 0 4px 0 var(--dark-band); }
.about-content-section__pane-title { font-size: 1.35rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.about-content-section__pane-text { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 0; }
.about-content-section__stat-box { background-color: var(--surface-alt); border: 2px solid var(--primary); border-radius: 24px; padding: 24px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.about-content-section__stat-num { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--primary-text); line-height: 1; margin-bottom: 8px; }
.about-content-section__stat-label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); margin: 0; }
@media (max-width: 767px) {
  .about-content-section .row { margin-left: 0; margin-right: 0; }
  .about-content-section__card-title { font-size: 1.2rem; }
  .about-content-section__pane-title { font-size: 1.2rem; }
  .about-content-section__tab-btn { width: 100%; justify-content: center; }
}

/* ===== PAGE: players ===== */
.players-status-section { padding-top: 48px; padding-bottom: 64px; }
.players-status-section .players-heading-col { max-width: 640px; }
.players-status-section .players-counter-chip { background-color: var(--accent); color: var(--on-accent); font-size: 0.8125rem; font-weight: 700; padding: 4px 12px; border-radius: 9999px; line-height: 1; display: inline-block; }
.players-status-section .players-subtitle { font-size: 0.9375rem; line-height: 1.5; }
.players-status-section .players-search-wrapper { position: relative; min-width: 260px; }
.players-status-section .players-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1rem; pointer-events: none; }
.players-status-section .players-search-input { width: 100%; border: 2px solid var(--border); background-color: var(--surface); color: var(--text); border-radius: 9999px; padding: 10px 16px 10px 38px; font-size: 0.875rem; transition: border-color 0.2s ease, outline 0.2s ease; }
.players-status-section .players-search-input:focus { outline: none; border-color: var(--primary); }
.players-status-section .players-filter-btn { border: 2px solid var(--border); background-color: var(--surface); color: var(--text); font-weight: 600; font-size: 0.875rem; border-radius: 9999px; padding: 8px 18px; cursor: pointer; transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; display: inline-flex; align-items: center; gap: 8px; }
.players-status-section .players-filter-btn:hover { transform: scale(1.04); border-color: var(--primary); color: var(--primary); }
.players-status-section .players-filter-btn:active { transform: scale(0.92); }
.players-status-section .players-filter-btn.active { background-color: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.players-status-section .players-filter-btn .filter-badge { background-color: rgba(0, 0, 0, 0.08); padding: 2px 7px; border-radius: 9999px; font-size: 0.75rem; }
.players-status-section .players-filter-btn.active .filter-badge { background-color: var(--accent); color: var(--on-accent); }
.players-status-section .players-card { display: flex; flex-direction: column; height: 100%; border: 2px solid var(--border); border-radius: 28px; background-color: var(--surface); padding: 20px; transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease; }
.players-status-section .players-card:hover { transform: scale(1.02); border-color: var(--primary); }
.players-status-section .players-avatar-box { position: relative; width: 54px; height: 54px; flex-shrink: 0; }
.players-status-section .players-avatar-img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; border: 2px solid var(--border); }
.players-status-section .players-status-dot { position: absolute; bottom: -2px; right: -2px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--surface); }
.players-status-section .status-playing { background-color: #28a745; }
.players-status-section .status-lobby { background-color: #ffc107; }
.players-status-section .status-idle { background-color: #6c757d; }
.players-status-section .players-username { font-weight: 700; color: var(--text); font-size: 0.95rem; }
.players-status-section .badge-playing { background-color: #e8f5e9; color: #2e7d32; font-size: 0.75rem; padding: 2px 8px; border-radius: 9999px; font-weight: 600; }
.players-status-section .badge-lobby { background-color: #fff8e1; color: #f57f17; font-size: 0.75rem; padding: 2px 8px; border-radius: 9999px; font-weight: 600; }
.players-status-section .badge-idle { background-color: #eceff1; color: #455a64; font-size: 0.75rem; padding: 2px 8px; border-radius: 9999px; font-weight: 600; }
.players-status-section .players-highlight-text { font-weight: 600; color: var(--primary-text); max-width: 140px; }
.players-status-section .players-progress-track { width: 100%; height: 6px; background-color: var(--surface-alt); border-radius: 9999px; overflow: hidden; }
.players-status-section .players-progress-fill { height: 100%; background-color: var(--accent); border-radius: 9999px; }
.players-status-section .players-tag-pill { background-color: var(--surface-alt); color: var(--text); font-size: 0.75rem; font-weight: 600; padding: 2px 10px; border-radius: 9999px; }
.players-status-section .players-guidance-box { background-color: var(--surface-alt); border: 2px solid var(--border); }
.players-status-section .players-empty-icon { font-size: 3rem; color: var(--text-muted); }
@media (max-width: 767px) { .players-status-section { padding-top: 32px; padding-bottom: 48px; } .players-status-section .players-filter-bar { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; } .players-status-section .players-filter-btn { white-space: nowrap; } }

/* ===== PAGE: rooms ===== */
.ash-lobby-section { padding-top: 48px; padding-bottom: 64px; } @media (min-width: 768px) { .ash-lobby-section { padding-top: 72px; padding-bottom: 88px; } } .ash-lobby-section .ash-counter-chip { background-color: var(--accent); color: var(--on-accent); font-size: 0.8125rem; font-weight: 700; padding: 4px 14px; border-radius: 9999px; line-height: 1.2; letter-spacing: 0.04em; } .ash-lobby-section .ash-live-indicator { background-color: var(--surface); border: 2px solid var(--border); padding: 6px 14px; border-radius: 9999px; } .ash-lobby-section .ash-pulse-dot { width: 10px; height: 10px; border-radius: 50%; background-color: #28a745; box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.25); display: inline-block; } .ash-lobby-section .ash-indicator-text { font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); } .ash-lobby-section .ash-search-box { position: relative; } .ash-lobby-section .ash-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1.1rem; pointer-events: none; } .ash-lobby-section .ash-input { background-color: var(--surface); border: 2px solid var(--border); border-radius: 9999px; padding: 12px 18px 12px 44px; color: var(--text); font-size: 0.9375rem; transition: border-color 0.2s ease; } .ash-lobby-section .ash-input:focus { border-color: var(--primary); box-shadow: none; background-color: var(--surface); color: var(--text); } .ash-lobby-section .ash-input::placeholder { color: var(--text-muted); opacity: 0.8; } .ash-lobby-section .ash-filter-btn { background-color: var(--surface); color: var(--text); border: 2px solid var(--border); border-radius: 9999px; padding: 8px 18px; font-size: 0.875rem; font-weight: 600; transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; cursor: pointer; } .ash-lobby-section .ash-filter-btn:hover { background-color: var(--surface-alt); border-color: var(--primary); transform: scale(1.04); } .ash-lobby-section .ash-filter-btn.active { background-color: var(--primary); color: var(--on-primary); border-color: var(--primary); transform: none; } .ash-lobby-section .ash-room-item { background: var(--surface); border: 2px solid var(--border); border-radius: 28px; padding: 24px; transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease; } .ash-lobby-section .ash-room-item:hover { transform: scale(1.02); border-color: var(--primary); } .ash-lobby-section .ash-server-tag { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; background-color: var(--surface-alt); padding: 3px 8px; border-radius: 9999px; } .ash-lobby-section .ash-status-pill { font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 9999px; letter-spacing: 0.02em; } .ash-lobby-section .ash-status-active { background-color: #e8f5e9; color: #1e7e34; } .ash-lobby-section .ash-status-waiting { background-color: #fff3cd; color: #856404; } .ash-lobby-section .ash-room-title { font-size: 1.15rem; font-weight: 700; color: var(--primary-text); overflow-wrap: anywhere; } .ash-lobby-section .ash-room-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; overflow-wrap: anywhere; } .ash-lobby-section .ash-room-specs { background-color: var(--surface-alt); border-radius: 18px; padding: 12px 16px; font-size: 0.8125rem; } .ash-lobby-section .ash-spec-label { color: var(--text-muted); } .ash-lobby-section .ash-spec-val { color: var(--text); } .ash-lobby-section .ash-no-results-icon { font-size: 2.5rem; color: var(--text-muted); } .ash-lobby-section .ash-notice-card { background-color: var(--surface); border: 2px solid var(--border); border-radius: 24px; } .ash-lobby-section .ash-notice-icon-box { width: 48px; height: 48px; border-radius: 50%; background-color: var(--surface-alt); color: var(--primary-text); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; } .ash-lobby-section .ash-notice-text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; } .ash-lobby-section .ash-inline-link { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; } .ash-lobby-section .ash-inline-link:hover { color: var(--primary); } @media (max-width: 767px) { .ash-lobby-section .ash-room-specs { padding: 10px 12px; } .ash-lobby-section .ash-filter-btn { flex: 1 1 auto; text-align: center; } }

/* ===== PAGE: contact ===== */
.ash-contact-block { padding: 48px 0; background-color: var(--bg); }
@media (min-width: 992px) { .ash-contact-block { padding: 72px 0; } }
.ash-contact-block .ash-contact-card, .ash-contact-block .ash-map-card { background-color: var(--surface); border: 2px solid var(--border); border-radius: 28px; padding: 28px; height: 100%; box-shadow: none; }
@media (max-width: 767px) { .ash-contact-block .ash-contact-card, .ash-contact-block .ash-map-card { padding: 20px; border-radius: 20px; } }
.ash-contact-block .jdv-eyebrow { font-size: 0.8125rem; font-weight: 700; color: var(--accent-text); text-transform: uppercase; letter-spacing: 0.04em; }
.ash-contact-block .jdv-title { color: var(--text); font-weight: 700; margin-bottom: 0; line-height: 1.25; }
.ash-contact-block .ash-contact-subtitle { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.ash-contact-block .ash-contact-list { display: flex; flex-direction: column; gap: 20px; }
.ash-contact-block .ash-contact-item { padding: 14px 16px; background-color: var(--surface-alt); border: 1px solid var(--border); border-radius: 18px; transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ash-contact-block .ash-contact-item:hover { transform: scale(1.02); }
.ash-contact-block .ash-icon-circle { width: 44px; height: 44px; min-width: 44px; border-radius: 14px; background-color: var(--primary); color: var(--on-primary); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.ash-contact-block .ash-icon-circle.ash-icon-wa { background-color: #25D366; color: #FFFFFF; }
.ash-contact-block .ash-contact-details { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.ash-contact-block .ash-contact-label { font-size: 0.8125rem; color: var(--text-muted); font-weight: 600; margin-bottom: 2px; }
.ash-contact-block .ash-contact-value { color: var(--text); font-size: 0.95rem; font-weight: 500; line-height: 1.5; }
.ash-contact-block .ash-contact-link { color: var(--primary-text); font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: color 0.2s ease; }
.ash-contact-block .ash-contact-link:hover { color: var(--accent-text); text-decoration: underline; }
.ash-contact-block .ash-service-note { background-color: var(--bg); border: 1px solid var(--border); border-radius: 16px; }
.ash-contact-block .jdv-badge { background-color: var(--accent); color: var(--on-accent); font-size: 0.8125rem; font-weight: 700; padding: 4px 12px; border-radius: 9999px; line-height: 1; display: inline-flex; align-items: center; }
.ash-contact-block .ash-map-container { min-height: 380px; width: 100%; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); background-color: var(--surface-alt); position: relative; }
.ash-contact-block .ash-map-container iframe { width: 100% !important; height: 100% !important; min-height: 380px; border: 0 !important; display: block; }
@media (max-width: 767px) { .ash-contact-block .ash-map-container { min-height: 300px; } .ash-contact-block .ash-map-container iframe { min-height: 300px; } }

/* ===== PAGE TEMPLATE: games-list ===== */
body {
    font-family: 'Bai Jamjuree', sans-serif;
    background-color: var(--bg, #FBF7F3);
    color: var(--text, #32261A);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.ash-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: var(--surface, #FFFFFF);
    border-bottom: 2px solid var(--border, #E4DED8);
}

.ash-header .ash-navbar {
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: var(--surface, #FFFFFF);
}

.ash-header .ash-brand-logo {
    max-width: 44px;
    max-height: 44px;
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    display: inline-block;
}

.ash-header .ash-brand-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary, #53262D);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.ash-header .nav-link {
    color: var(--text, #32261A);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 8px 14px;
    border-radius: 9999px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.ash-header .nav-link:hover,
.ash-header .nav-link:focus {
    color: var(--primary, #53262D);
    background-color: var(--surface-alt, #F3E6E8);
}

.ash-header .nav-link.active {
    color: var(--primary, #53262D);
    background-color: var(--surface-alt, #F3E6E8);
}

.ash-header .ash-toggler {
    border: 2px solid var(--border, #E4DED8);
    border-radius: 14px;
    padding: 6px 12px;
    background-color: var(--surface-alt, #F3E6E8);
    color: var(--primary, #53262D);
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.ash-header .ash-toggler:focus {
    box-shadow: none;
    outline: 2px solid var(--primary, #53262D);
}

.ash-header .dropdown-menu {
    background-color: var(--surface, #FFFFFF);
    border: 2px solid var(--border, #E4DED8);
    border-radius: 18px;
    padding: 8px;
    box-shadow: 0 12px 28px rgba(55, 25, 30, 0.08);
}

.ash-header .dropdown-item {
    color: var(--text, #32261A);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 10px 16px;
    border-radius: 12px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ash-header .dropdown-item:hover,
.ash-header .dropdown-item:focus {
    background-color: var(--surface-alt, #F3E6E8);
    color: var(--primary, #53262D);
}

.ash-header .ash-cta-wrap {
    display: flex;
    align-items: center;
}

.ash-header .ash-header-cta {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.af-hero {
    background-color: var(--hero-bg, #37191E);
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.af-hero__bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
}

.af-hero__overlay {
    background: radial-gradient(circle at 70% 30%, rgba(239, 97, 226, 0.15) 0%, rgba(55, 25, 30, 0.92) 80%);
}

.af-hero__title {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.af-hero__lead {
    font-size: clamp(0.95rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    max-width: 680px;
    overflow-wrap: anywhere;
}

.af-hero__tag {
    background-color: rgba(239, 97, 226, 0.25);
    border: 1px solid rgba(239, 97, 226, 0.4);
    color: #FFFFFF;
    font-size: 0.875rem;
}

.af-share-btn {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.af-share-btn:hover {
    background-color: var(--accent, #EF61E2);
    color: #111111;
    transform: scale(1.1);
}

.af-stage-section .af-frame-outer-wrapper {
    max-width: 1040px;
    position: relative;
}

.af-stage-section .af-frame-bg-shape {
    width: 100%;
    height: 100%;
    top: 14px;
    left: 14px;
    background-color: var(--primary, #53262D);
    border-radius: 28px;
    z-index: 0;
}

.af-stage-section .af-screen-container {
    background-color: #000000;
    position: relative;
    z-index: 1;
    border: 4px solid var(--primary, #53262D) !important;
    box-shadow: 0 16px 36px rgba(55, 25, 30, 0.25);
}

.af-stage-section .af-screen-led {
    width: 10px;
    height: 10px;
}

.af-stage-section .af-screen-top-bar {
    min-height: 48px;
}

.af-stage-section .af-iframe-holder {
    width: 100%;
    height: 560px;
    background-color: #000000;
}

.af-stage-section .af-responsive-iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.af-screen-container:fullscreen,
.af-screen-container:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    border: none !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #000000 !important;
}

.af-screen-container:fullscreen .af-iframe-holder,
.af-screen-container:-webkit-full-screen .af-iframe-holder {
    flex-grow: 1 !important;
    height: calc(100vh - 48px) !important;
}

.af-details-section .af-count-chip {
    background-color: var(--accent, #EF61E2);
    color: #111111;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    line-height: 1;
}

.af-details-section .af-heading-2 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--text, #32261A);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.af-details-section .af-heading-3 {
    font-size: 1.15rem;
    color: var(--text, #32261A);
    overflow-wrap: anywhere;
}

.af-details-section .af-rich-text p {
    line-height: 1.7;
    color: var(--text-muted, #6D6255);
    overflow-wrap: anywhere;
}

.af-details-section .af-check-list li span {
    line-height: 1.6;
    color: var(--text, #32261A);
    font-weight: 500;
}

.af-details-section .af-ctrl-box {
    transition: transform 0.2s ease;
}

.af-details-section .af-ctrl-box:hover {
    transform: translateY(-2px);
}

.af-custom-accordion .accordion-button {
    background-color: var(--surface, #FFFFFF);
    color: var(--text, #32261A);
    box-shadow: none;
    padding: 16px 20px;
}

.af-custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--surface-alt, #F3E6E8);
    color: var(--primary, #53262D);
}

.af-sticky-sidebar {
    position: sticky;
    top: 84px;
}

.af-widget-card {
    box-shadow: none;
}

.af-specs-dl dt,
.af-specs-dl dd {
    font-size: 0.9375rem;
}

.af-related-item-link {
    background-color: #FFFFFF;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.af-related-item-link:hover {
    background-color: var(--surface-alt, #F3E6E8);
    transform: translateX(4px);
}

.af-sidebar-cta {
    background-color: var(--primary, #53262D) !important;
}

.af-split-cta {
    background-color: var(--primary, #53262D);
}

.af-action-scale {
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.af-action-scale:hover {
    transform: scale(1.05);
}

.ash-site-footer {
    background-color: var(--dark-band, #37191E);
    color: var(--on-dark, #FFFFFF);
    border-top: 3px solid var(--primary, #53262D);
}

.ash-site-footer a {
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.ash-site-footer .ash-footer-brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    display: inline-block;
    margin-right: 8px;
}

.ash-site-footer .ash-footer-tag {
    display: inline-block;
    background-color: var(--accent, #EF61E2);
    color: var(--on-accent, #111111);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    vertical-align: middle;
}

.ash-site-footer .ash-footer-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--on-dark-muted, #C3BDB6);
    overflow-wrap: anywhere;
}

.ash-site-footer .ash-family-badge {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--on-dark, #FFFFFF);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    font-size: 0.8125rem;
    padding: 6px 14px;
}

.ash-site-footer .ash-footer-heading {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.ash-site-footer .ash-footer-nav li,
.ash-site-footer .ash-footer-contact li {
    margin-bottom: 8px;
    font-size: 0.9375rem;
    color: var(--on-dark-muted, #C3BDB6);
    overflow-wrap: anywhere;
}

.ash-site-footer .ash-footer-link {
    color: var(--on-dark-muted, #C3BDB6);
    display: inline-block;
}

.ash-site-footer .ash-footer-link:hover,
.ash-site-footer .ash-footer-link:focus {
    color: var(--accent, #EF61E2);
    transform: translateX(2px);
}

.ash-site-footer .ash-contact-icon {
    color: var(--accent, #EF61E2);
    font-size: 1rem;
    flex-shrink: 0;
}

.ash-site-footer .ash-wa-btn {
    background-color: #25D366;
    color: #0b2e13;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 8px 18px;
    border-radius: 9999px;
    border: none;
    box-shadow: none;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
}

.ash-site-footer .ash-wa-btn:hover,
.ash-site-footer .ash-wa-btn:focus {
    background-color: #20bd5a;
    color: #051608;
    transform: scale(1.04);
}

.ash-site-footer .ash-wa-btn:active {
    transform: scale(0.95);
}

.ash-site-footer .ash-footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
    border: none;
}

.ash-site-footer .ash-footer-copy {
    font-size: 0.875rem;
    color: var(--on-dark-muted, #C3BDB6);
}

.ash-site-footer .ash-footer-sublink {
    font-size: 0.8125rem;
    color: var(--on-dark-muted, #C3BDB6);
}

.ash-site-footer .ash-footer-sublink:hover,
.ash-site-footer .ash-footer-sublink:focus {
    color: var(--accent, #EF61E2);
}

.ash-site-footer .ash-dot {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
}

@media (max-width: 991.98px) {
    .ash-header .navbar-nav {
        padding-top: 14px;
        padding-bottom: 6px;
        gap: 4px;
    }

    .ash-header .ash-cta-wrap {
        padding-top: 10px;
        padding-bottom: 14px;
        width: 100%;
    }

    .ash-header .ash-header-cta {
        width: 100%;
        text-align: center;
    }

    .ash-header .dropdown-menu {
        border: 1px solid var(--border, #E4DED8);
        background-color: var(--surface-alt, #F3E6E8);
        margin-top: 4px;
        margin-bottom: 8px;
        box-shadow: none;
    }

    .af-sticky-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .af-stage-section .af-iframe-holder {
        height: 380px;
    }

    .af-stage-section .af-frame-bg-shape {
        top: 6px;
        left: 6px;
    }

    .af-cta-split-row {
        flex-direction: column;
    }

    .af-controls-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PAGE TEMPLATE: guides-list ===== */
:root {
    --bg: #FBF7F3;
    --surface: #FFFFFF;
    --surface-alt: #F3E6E8;
    --text: #32261A;
    --text-muted: #6D6255;
    --border: #E4DED8;
    --primary: #53262D;
    --primary-hover: #3B1B20;
    --on-primary: #FFFFFF;
    --primary-text: #53262D;
    --accent: #EF61E2;
    --on-accent: #111111;
    --accent-text: #CB15BB;
    --dark-band: #37191E;
    --on-dark: #FFFFFF;
    --on-dark-muted: #C3BDB6;
    --hero-bg: #37191E;
}

body.ash-article-detail-page {
    font-family: 'Bai Jamjuree', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.ash-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: var(--surface, #FFFFFF);
    border-bottom: 2px solid var(--border, #E4DED8);
}

.ash-header .ash-navbar {
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: var(--surface, #FFFFFF);
}

.ash-header .ash-brand-logo {
    max-width: 44px;
    max-height: 44px;
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    display: inline-block;
}

.ash-header .ash-brand-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary, #53262D);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.ash-header .nav-link {
    color: var(--text, #32261A);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 8px 14px;
    border-radius: 9999px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.ash-header .nav-link:hover,
.ash-header .nav-link:focus {
    color: var(--primary, #53262D);
    background-color: var(--surface-alt, #F3E6E8);
}

.ash-header .nav-link.active {
    color: var(--primary, #53262D);
    background-color: var(--surface-alt, #F3E6E8);
}

.ash-header .ash-toggler {
    border: 2px solid var(--border, #E4DED8);
    border-radius: 14px;
    padding: 6px 12px;
    background-color: var(--surface-alt, #F3E6E8);
    color: var(--primary, #53262D);
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.ash-header .ash-toggler:focus {
    box-shadow: none;
    outline: 2px solid var(--primary, #53262D);
}

.ash-header .dropdown-menu {
    background-color: var(--surface, #FFFFFF);
    border: 2px solid var(--border, #E4DED8);
    border-radius: 18px;
    padding: 8px;
    box-shadow: 0 12px 28px rgba(55, 25, 30, 0.08);
}

.ash-header .dropdown-item {
    color: var(--text, #32261A);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 10px 16px;
    border-radius: 12px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ash-header .dropdown-item:hover,
.ash-header .dropdown-item:focus {
    background-color: var(--surface-alt, #F3E6E8);
    color: var(--primary, #53262D);
}

.ash-header .ash-cta-wrap {
    display: flex;
    align-items: center;
}

.ash-header .ash-header-cta {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.jdv-section {
    background-color: var(--bg);
}

.jdv-section-alt {
    background-color: var(--surface-alt);
}

.jdv-section-dark {
    background-color: var(--dark-band);
}

.jdv-section-brand {
    background-color: var(--primary);
}

.jdv-btn {
    background-color: var(--primary);
    color: var(--on-primary);
    font-weight: 700;
    border: none;
    border-radius: 9999px;
    min-height: 48px;
    padding: 10px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
}

.jdv-btn:hover {
    background-color: var(--primary-hover);
    color: var(--on-primary);
    transform: scale(1.04);
}

.jdv-btn:active {
    transform: scale(0.92);
}

.jdv-btn-alt {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 9999px;
    min-height: 48px;
    padding: 10px 24px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, color 0.2s ease;
}

.jdv-btn-alt:hover {
    background-color: var(--primary);
    color: var(--on-primary);
    transform: scale(1.04);
}

.jdv-btn-alt:active {
    transform: scale(0.92);
}

.jdv-badge {
    background-color: var(--accent);
    color: var(--on-accent);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    display: inline-block;
}

.jdv-card {
    background-color: var(--surface);
    border: 2px solid var(--border);
    border-radius: 28px;
}

.jdv-title {
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.af-hero__title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    line-height: 1.3;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.af-hero__lead {
    font-size: clamp(0.95rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    max-width: 650px;
    overflow-wrap: anywhere;
}

.af-hero__tag {
    background-color: rgba(239, 97, 226, 0.2);
    border: 1px solid rgba(239, 97, 226, 0.4);
    color: #FFFFFF;
}

.ash-meta-row {
    font-size: 0.9rem;
}

.ash-meta-dot {
    font-size: 0.75rem;
    opacity: 0.4;
}

.ash-game-wrapper {
    max-width: 960px;
    background-color: #1A0B0E;
    border: 3px solid var(--primary);
    border-radius: 28px;
    box-shadow: 0px 6px 0px #37191E;
    overflow: hidden;
}

.ash-game-bar {
    background-color: var(--dark-band);
    border-bottom: 2px solid var(--primary);
}

.ash-game-btn {
    min-height: 40px;
    padding: 6px 16px;
    font-size: 0.875rem;
}

.ash-game-frame-box {
    width: 100%;
    height: 520px;
    background-color: #000000;
}

.ash-game-iframe {
    height: 100%;
    border: none;
    display: block;
}

.ash-game-wrapper:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
    border: none !important;
    display: flex;
    flex-direction: column;
}

.ash-game-wrapper:fullscreen .ash-game-frame-box {
    flex: 1 1 auto;
    height: 100% !important;
}

.ash-title-num {
    background-color: var(--accent);
    color: var(--on-accent);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    display: inline-block;
    vertical-align: middle;
}

.ash-overview-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
    overflow-wrap: anywhere;
}

.ash-main-media-frame {
    max-width: 380px;
}

.ash-media-offset-bg {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 100%;
    height: 100%;
    background-color: var(--accent);
    border-radius: 28px;
    border: 2px solid var(--primary);
    z-index: 0;
}

.ash-main-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border: 2px solid var(--border);
    border-radius: 28px;
}

.ash-fact-tile {
    border-radius: 20px;
}

.ash-fact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--surface-alt);
    color: var(--primary);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.ash-fact-val {
    font-size: 1rem;
    color: var(--text);
}

.ash-toc-card {
    background-color: var(--surface);
    border: 2px solid var(--border);
}

.ash-toc-title {
    color: var(--text);
}

.ash-toc-list {
    list-style: disc;
}

.ash-toc-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.ash-toc-link:hover {
    color: var(--accent-text);
    text-decoration: underline;
}

.ash-acc-item {
    background-color: var(--surface);
    border-color: var(--border) !important;
    overflow: hidden;
}

.ash-acc-btn {
    background-color: var(--surface);
    color: var(--text);
    font-size: 1.0625rem;
    padding: 18px 24px;
    box-shadow: none !important;
}

.ash-acc-btn:not(.collapsed) {
    background-color: var(--surface-alt);
    color: var(--primary);
}

.ash-acc-num {
    background-color: var(--primary);
    color: var(--on-primary);
    font-size: 0.8125rem;
    padding: 3px 8px;
    border-radius: 9999px;
}

.ash-article-body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    overflow-wrap: anywhere;
}

.ash-author-box {
    border-radius: 24px;
}

.ash-author-placeholder-circle {
    width: 68px;
    height: 68px;
    background-color: var(--primary);
}

.ash-brand-band-btn {
    background-color: #FFFFFF;
    color: var(--dark-band);
    border: none;
    min-height: 52px;
    padding: 12px 30px;
    font-size: 1.05rem;
}

.ash-brand-band-btn:hover {
    background-color: var(--surface-alt);
    color: var(--dark-band);
}

.ash-banner-card {
    border-radius: 28px;
    overflow: hidden;
}

.ash-banner-card-top {
    height: 160px;
}

.ash-banner-img {
    height: 100%;
    object-fit: cover;
}

.ash-overlapping-icon {
    position: absolute;
    bottom: -24px;
    left: 20px;
    width: 54px;
    height: 54px;
    background-color: var(--surface-alt);
    border: 3px solid var(--surface);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ash-banner-card-body {
    padding: 34px 20px 20px 20px;
}

.ash-site-footer {
    background-color: var(--dark-band, #37191E);
    color: var(--on-dark, #FFFFFF);
    border-top: 3px solid var(--primary, #53262D);
}

.ash-site-footer a {
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.ash-site-footer .ash-footer-brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    display: inline-block;
    margin-right: 8px;
}

.ash-site-footer .ash-footer-tag {
    display: inline-block;
    background-color: var(--accent, #EF61E2);
    color: var(--on-accent, #111111);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    vertical-align: middle;
}

.ash-site-footer .ash-footer-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--on-dark-muted, #C3BDB6);
    overflow-wrap: anywhere;
}

.ash-site-footer .ash-family-badge {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--on-dark, #FFFFFF);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    font-size: 0.8125rem;
    padding: 6px 14px;
}

.ash-site-footer .ash-footer-heading {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.ash-site-footer .ash-footer-nav li,
.ash-site-footer .ash-footer-contact li {
    margin-bottom: 8px;
    font-size: 0.9375rem;
    color: var(--on-dark-muted, #C3BDB6);
    overflow-wrap: anywhere;
}

.ash-site-footer .ash-footer-link {
    color: var(--on-dark-muted, #C3BDB6);
    display: inline-block;
}

.ash-site-footer .ash-footer-link:hover,
.ash-site-footer .ash-footer-link:focus {
    color: var(--accent, #EF61E2);
    transform: translateX(2px);
}

.ash-site-footer .ash-contact-icon {
    color: var(--accent, #EF61E2);
    font-size: 1rem;
    flex-shrink: 0;
}

.ash-site-footer .ash-wa-btn {
    background-color: #25D366;
    color: #0b2e13;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 8px 18px;
    border-radius: 9999px;
    border: none;
    box-shadow: none;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
}

.ash-site-footer .ash-wa-btn:hover,
.ash-site-footer .ash-wa-btn:focus {
    background-color: #20bd5a;
    color: #051608;
    transform: scale(1.04);
}

.ash-site-footer .ash-wa-btn:active {
    transform: scale(0.95);
}

.ash-site-footer .ash-footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
    border: none;
}

.ash-site-footer .ash-footer-copy {
    font-size: 0.875rem;
    color: var(--on-dark-muted, #C3BDB6);
}

.ash-site-footer .ash-footer-sublink {
    font-size: 0.8125rem;
    color: var(--on-dark-muted, #C3BDB6);
}

.ash-site-footer .ash-footer-sublink:hover,
.ash-site-footer .ash-footer-sublink:focus {
    color: var(--accent, #EF61E2);
}

.ash-site-footer .ash-dot {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
}

@media (max-width: 991.98px) {
    .ash-header .navbar-nav {
        padding-top: 14px;
        padding-bottom: 6px;
        gap: 4px;
    }

    .ash-header .ash-cta-wrap {
        padding-top: 10px;
        padding-bottom: 14px;
        width: 100%;
    }

    .ash-header .ash-header-cta {
        width: 100%;
        text-align: center;
    }

    .ash-header .dropdown-menu {
        border: 1px solid var(--border, #E4DED8);
        background-color: var(--surface-alt, #F3E6E8);
        margin-top: 4px;
        margin-bottom: 8px;
        box-shadow: none;
    }
}

@media (max-width: 767.98px) {
    .af-hero__title {
        font-size: 1.45rem;
    }

    .ash-game-frame-box {
        height: 380px;
    }

    .ash-main-media-frame {
        max-width: 100%;
    }

    .ash-site-footer .ash-footer-heading {
        font-size: 0.9375rem;
    }

    .ash-site-footer .ash-footer-nav li,
    .ash-site-footer .ash-footer-contact li {
        font-size: 0.875rem;
    }

    .ash-site-footer .ash-footer-copy {
        font-size: 0.8125rem;
    }

    .ash-site-footer .ash-footer-sublink {
        font-size: 0.75rem;
    }
}

/* ===== session fixes ===== */
/* burger menu only on mobile */
@media (min-width: 992px) {
    .ash-header .ash-toggler {
        display: none;
    }
}

/* no horizontal page scroll + missing min-width utility */
html,
body {
    overflow-x: hidden;
}

.min-w-0 {
    min-width: 0 !important;
}

/* card images: keep proportions, no forced stretching */
.af-media-portrait .jdv-media,
.af-media-portrait-compact .jdv-media {
    aspect-ratio: auto;
    object-fit: contain;
    background-color: var(--surface-alt, #F3E6E8);
}

/* accordion number badge: two digits on one line */
.ash-acc-num {
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 767px) {
    .ash-acc-num {
        margin-right: 14px !important;
    }
}

/* "all games" button inside related-games sidebar: contain text */
.af-related-item-link {
    min-width: 0;
    max-width: 100%;
}

.af-related-item-link>div {
    min-width: 0;
}

/* mobile-text-guard */
@media (max-width: 767px) {
  h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figcaption, td, th, label {
    overflow-wrap: anywhere;
  }
  a, button, .btn {
    overflow-wrap: anywhere;
    white-space: normal;
  }
  img, video, iframe {
    max-width: 100%;
  }
}
