/* site palette */
html:root {
    --bg: #F6FAFA;
    --surface: #FFFFFF;
    --surface-alt: #EAF6F6;
    --text: #142425;
    --text-muted: #5A7172;
    --border: #D8E3E4;
    --primary: #115B5F;
    --primary-hover: #0C3E41;
    --on-primary: #FFFFFF;
    --primary-text: #115B5F;
    --accent: #1E855D;
    --on-accent: #FFFFFF;
    --accent-text: #1C7D57;
    --dark-band: #0F3A3C;
    --on-dark: #FFFFFF;
    --on-dark-muted: #B6C3C3;
    --brand-btn-bg: #FFFFFF;
    --brand-btn-text: #0F3A3C;
    --section-alt-bg: linear-gradient(166deg, #EAF6F6 0%, #F1F8F8 100%);
    --dark-band-bg: linear-gradient(156deg, #0F3A3C 0%, #125154 100%);
    --brand-band-bg: #115B5F;
    --hero-bg: linear-gradient(156deg, #0F3A3C 0%, #125154 100%);
}

html:root {
    --bs-primary: #115B5F;
    --bs-primary-rgb: 17, 91, 95;
    --bs-link-color: #115B5F;
    --bs-link-color-rgb: 17, 91, 95;
    --bs-link-hover-color: #0C3E41;
    --mdb-primary: #115B5F;
    --mdb-primary-rgb: 17, 91, 95;
}

.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;
}

body {
    font-family: 'Thasadith', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Thasadith', sans-serif;
    font-weight: 700;
    margin-top: 0;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.kth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    min-width: 48px;
    background-color: var(--primary);
    color: var(--on-primary);
    font-family: 'Thasadith', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: none;
    outline: none;
}

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

.kth-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.kth-btn-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    min-width: 48px;
    background-color: transparent;
    color: var(--primary-text);
    font-family: 'Thasadith', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    outline: none;
}

.kth-btn-alt:hover {
    background-color: var(--surface-alt);
    color: var(--primary-hover);
}

.kth-btn-alt:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.kth-card {
    background-color: var(--surface-alt);
    color: var(--text);
    border: none;
    border-radius: 24px;
    box-shadow: none;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.kth-card:hover {
    background-color: #DFEEEE;
    border: none;
    box-shadow: none;
}

.kth-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    border: none;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 20px;
}

.kth-media.kth-media-portrait {
    aspect-ratio: 4 / 5;
}

.kth-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.kth-eyebrow {
    display: block;
    font-family: 'Thasadith', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 12px;
}

.kth-title {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .kth-title {
        font-size: 26px;
    }
}

.kth-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary);
    color: var(--on-primary);
    font-family: 'Thasadith', sans-serif;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    padding: 4px 10px;
    line-height: 1.2;
}

.kth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--surface-alt);
    color: var(--primary);
    font-size: 24px;
    flex-shrink: 0;
}

.kth-icon i,
.kth-icon bx,
.kth-icon [class^="bx-"],
.kth-icon [class*=" bx-"] {
    font-family: 'boxicons' !important;
}

.kth-section {
    background-color: var(--bg);
    padding: 96px 0;
}

.kth-section-alt {
    background: var(--section-alt-bg, var(--surface-alt));
    padding: 96px 0;
}

.kth-section-dark {
    background: var(--dark-band-bg, var(--dark-band));
    color: var(--on-dark);
    padding: 96px 0;
}

.kth-section-brand {
    background: var(--brand-band-bg, var(--primary));
    color: var(--on-primary);
    padding: 96px 0;
}

@media (max-width: 768px) {

    .kth-section,
    .kth-section-alt,
    .kth-section-dark,
    .kth-section-brand {
        padding: 56px 0;
    }
}

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

.kth-section-dark p,
.kth-on-dark p {
    color: var(--on-dark);
}

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

.kth-section-dark .kth-eyebrow,
.kth-on-dark .kth-eyebrow {
    color: var(--on-dark-muted);
}

.kth-section-dark .kth-btn-alt,
.kth-on-dark .kth-btn-alt {
    color: var(--on-dark);
    background-color: transparent;
}

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

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

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

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

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

.kth-section-brand .kth-btn {
    background-color: var(--brand-btn-bg, #FFFFFF);
    color: var(--brand-btn-text, #0F3A3C);
}

.kth-section-brand .kth-btn:hover {
    background-color: var(--surface-alt, #EAF6F6);
    color: var(--brand-btn-text, #0F3A3C);
}

.kth-section-brand .kth-btn-alt {
    color: var(--on-primary);
    background-color: transparent;
}

.kth-section-brand .kth-btn-alt:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--on-primary);
}

/* ===== header ===== */
.kth-header-block {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #0F3A3C;
}

.kth-header-block .kth-navbar {
    background: #0F3A3C;
    padding-top: 14px;
    padding-bottom: 14px;
}

.kth-header-block .kth-brand {
    text-decoration: none;
    color: #FFFFFF;
}

.kth-header-block .kth-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.kth-header-block .kth-brand-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(30, 133, 93, 0.45);
    overflow-wrap: anywhere;
}

.kth-header-block .kth-toggler {
    background: #115B5F;
    border-radius: 8px;
    padding: 8px 12px;
    line-height: 1;
    color: #FFFFFF;
}

.kth-header-block .kth-toggler:focus {
    box-shadow: 0 0 0 2px #1E855D;
    outline: none;
}

.kth-header-block .kth-toggler-icon {
    font-size: 26px;
    color: #FFFFFF;
    display: inline-block;
    vertical-align: middle;
}

.kth-header-block .kth-nav-link {
    color: #B6C3C3;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
}

.kth-header-block .kth-nav-link i {
    font-size: 18px;
    color: #1E855D;
}

.kth-header-block .kth-nav-link:hover {
    color: #FFFFFF;
    background: #125154;
}

.kth-header-block .kth-nav-link:hover i {
    color: #FFFFFF;
}

.kth-header-block .kth-nav-link.active {
    color: #FFFFFF;
    background: #115B5F;
}

.kth-header-block .kth-nav-link.active i {
    color: #FFFFFF;
}

.kth-header-block .kth-btn {
    background: #115B5F;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 22px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.kth-header-block .kth-btn:hover {
    background: #0C3E41;
    color: #FFFFFF;
}

.kth-header-block .kth-btn i {
    font-size: 18px;
}

@media (max-width: 991.98px) {
    .kth-header-block .navbar-collapse {
        background: #0F3A3C;
        padding: 16px;
        border-radius: 16px;
        margin-top: 12px;
    }

    .kth-header-block .kth-nav-link {
        font-size: 14px;
        padding: 10px 12px;
        width: 100%;
    }

    .kth-header-block .kth-brand-title {
        font-size: 18px;
    }
}

@media (max-width: 767.98px) {
    .kth-header-block .kth-brand-title {
        font-size: 16px;
    }

    .kth-header-block .kth-nav-link {
        font-size: 13px;
    }
}

/* ===== hero ===== */
.hero-arcade-block {
    padding: 100px 0 110px;
    min-height: 580px;
    background: var(--hero-bg);
}

.hero-arcade-block__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-arcade-block__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: center;
    background-size: cover;
}

.hero-arcade-block__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 58, 60, 0.88) 0%, rgba(18, 81, 84, 0.94) 100%);
}

.hero-arcade-block .container {
    z-index: 2;
}

.hero-arcade-block__wrapper {
    max-width: 820px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.hero-arcade-block__badge {
    background-color: var(--primary);
    color: var(--on-primary);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.hero-arcade-block__title {
    color: var(--on-dark);
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.hero-arcade-block__lead {
    color: var(--on-dark-muted);
    font-size: 17px;
    line-height: 1.6;
    max-width: 680px;
}

.hero-arcade-block__btn-random {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--surface);
    color: var(--dark-band);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    min-height: 48px;
    border: none;
    cursor: pointer;
}

.hero-arcade-block__btn-random:hover {
    background-color: var(--surface-alt);
    color: var(--dark-band);
}

.hero-arcade-block__btn-catalog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: var(--on-dark);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    min-height: 48px;
    text-decoration: none;
    box-shadow: inset 0 0 0 2px var(--surface);
}

.hero-arcade-block__btn-catalog:hover {
    background-color: var(--surface);
    color: var(--dark-band);
}

.hero-arcade-block__features {
    border-top: 1px solid rgba(216, 227, 228, 0.2);
    padding-top: 20px;
}

.hero-arcade-block__feature-item {
    color: var(--on-dark-muted);
    font-size: 14px;
    font-weight: 400;
}

.hero-arcade-block__feature-item i {
    color: var(--accent);
}

.hero-arcade-block__divider-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    z-index: 3;
}

.hero-arcade-block__divider {
    display: block;
    width: 100%;
    height: 44px;
}

@media (max-width: 767px) {
    .hero-arcade-block {
        padding: 70px 0 85px;
        min-height: auto;
    }

    .hero-arcade-block__title {
        font-size: 18px;
        line-height: 1.3;
        hyphens: auto;
    }

    .hero-arcade-block__lead {
        font-size: 14px;
        line-height: 1.5;
    }

    .hero-arcade-block__btn-random,
    .hero-arcade-block__btn-catalog {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 12px 20px;
    }

    .hero-arcade-block__features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-arcade-block__divider {
        height: 24px;
    }
}

/* ===== random_game_picker ===== */
.random-picker-section {
    padding: 96px 0
}

.random-picker-section > .container {
    max-width: 1080px
}

.random-picker-section .random-picker-desc {
    max-width: 680px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6
}

.random-picker-section .random-machine-card {
    background: #EAF6F6;
    border-radius: 24px;
    padding: 24px;
    height: auto;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    gap: 18px;
    text-align: center
}

.random-picker-section .random-machine-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px
}

.random-picker-section .random-machine-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3
}

.random-picker-section .random-machine-text {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5
}

.random-picker-section .random-badge-counter {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-text)
}

.random-picker-section .random-slot-display {
    background: #FFFFFF;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.random-picker-section .random-slot-icon i {
    font-size: 36px;
    color: var(--primary-text)
}

.random-picker-section .random-slot-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-text)
}

.random-picker-section .random-slot-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    overflow-wrap: anywhere
}

.random-picker-section .random-slot-platform {
    font-size: 13px;
    color: var(--text-muted)
}

.random-picker-section .random-featured-wrapper {
    background: #EAF6F6;
    border-radius: 24px;
    padding: 32px
}

.random-picker-section .random-subheading {
    font-size: 22px;
    font-weight: 700;
    color: var(--text)
}

.random-picker-section .random-view-all {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-text);
    text-decoration: none
}

.random-picker-section .random-view-all:hover {
    color: var(--primary-hover);
    text-decoration: underline
}

.random-picker-section .random-mini-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 16px
}

.random-picker-section .random-mini-media-link {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9
}

.random-picker-section .random-mini-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.random-picker-section .random-mini-dev {
    font-size: 12px;
    color: var(--text-muted)
}

.random-picker-section .random-mini-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3
}

.random-picker-section .random-title-link {
    color: var(--text);
    text-decoration: none
}

.random-picker-section .random-title-link:hover {
    color: var(--primary-text)
}

.random-picker-section .random-info-box {
    background: #EAF6F6;
    border-radius: 20px
}

.random-picker-section .random-info-icon i {
    font-size: 28px;
    color: var(--primary-text)
}

.random-picker-section .random-info-title {
    color: var(--text);
    font-size: 16px
}

.random-picker-section .random-info-text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5
}

@media(max-width:767px) {
    .random-picker-section {
        padding: 56px 0
    }

    .random-picker-section .random-machine-card,
    .random-picker-section .random-featured-wrapper {
        padding: 20px;
        border-radius: 16px
    }

    .random-picker-section .kth-title {
        font-size: 24px
    }

    .random-picker-section .random-machine-title {
        font-size: 20px
    }

    .random-picker-section .random-subheading {
        font-size: 18px
    }

    .random-picker-section .random-mini-title {
        font-size: 15px
    }
}

/* ===== arcade_game_catalog_grid ===== */
.arcade-catalog-section {
    padding: 56px 0;
}

@media (min-width: 992px) {
    .arcade-catalog-section {
        padding: 96px 0;
    }
}

.arcade-catalog-section__lead {
    max-width: 680px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.arcade-catalog-section__filter-bar {
    position: relative;
}

.arcade-catalog-section__filter-btn {
    border: none;
    background-color: var(--surface);
    color: var(--text);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
}

.arcade-catalog-section__filter-btn:hover {
    background-color: var(--surface-alt);
    color: var(--primary-text);
}

.arcade-catalog-section__filter-btn.is-active {
    background-color: var(--primary);
    color: var(--on-primary);
}

.arcade-catalog-section__card {
    background-color: var(--surface-alt);
    border-radius: 24px;
    overflow: hidden;
    border: none;
}

.arcade-catalog-section__card:hover {
    background-color: #DFEEEE;
}

.arcade-catalog-section__media {
    aspect-ratio: 16 / 10;
    width: 100%;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.arcade-catalog-section__thumb-link {
    width: 100%;
    height: 100%;
}

.arcade-catalog-section__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.arcade-catalog-section__badge {
    background-color: var(--primary);
    color: var(--on-primary);
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    padding: 4px 10px;
    z-index: 2;
}

.arcade-catalog-section__game-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
    hyphens: auto;
    color: var(--text);
}

@media (max-width: 767px) {
    .arcade-catalog-section__game-title {
        font-size: 16px;
    }
}

.arcade-catalog-section__title-link {
    color: var(--text);
    text-decoration: none;
}

.arcade-catalog-section__title-link:hover {
    color: var(--primary-text);
}

.arcade-catalog-section__meta {
    font-size: 13px;
    color: var(--text-muted);
}

.arcade-catalog-section__meta-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.arcade-catalog-section__meta-dot {
    color: var(--text-muted);
}

.arcade-catalog-section .js-game-card.is-hidden {
    display: none !important;
}

/* ===== new_game_releases ===== */
.game-releases-block .js-game-card.is-hidden {
    display: none !important;
}

.game-releases-block {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Thasadith', sans-serif;
    overflow: hidden;
}

.game-releases-block .kth-eyebrow {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.game-releases-block .kth-title {
    color: var(--text);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.game-releases-block .game-releases-desc {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.game-releases-block .game-releases-filter-btn {
    border: none;
    background-color: var(--surface);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.game-releases-block .game-releases-filter-btn:hover {
    background-color: var(--surface-alt);
    color: var(--primary);
}

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

.game-releases-block .game-release-card {
    background-color: var(--surface-alt);
    border-radius: 24px;
    padding: 20px;
    min-height: 100%;
}

.game-releases-block .game-release-card:hover {
    background-color: #DFEEEE;
}

.game-releases-block .game-release-media-wrap {
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 10;
}

.game-releases-block .game-release-media-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.game-releases-block .kth-badge {
    background-color: var(--primary);
    color: var(--on-primary);
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    padding: 4px 10px;
    box-shadow: 0 2px 6px rgba(15, 58, 60, 0.25);
}

.game-releases-block .game-release-chip {
    background-color: var(--surface);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.game-releases-block .game-release-heading {
    line-height: 1.3;
    font-size: 18px;
    font-weight: 700;
}

.game-releases-block .game-release-title-link {
    color: var(--text);
}

.game-releases-block .game-release-title-link:hover {
    color: var(--primary-text);
}

.game-releases-block .game-release-excerpt {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.game-releases-block .kth-btn {
    background-color: var(--primary);
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 12px;
    border: none;
    min-height: 44px;
}

.game-releases-block .kth-btn:hover {
    background-color: var(--primary-hover);
    color: var(--on-primary);
}

.game-releases-block .game-releases-note {
    background-color: var(--surface);
    color: var(--text-muted);
    font-size: 13px;
    border: 1px solid var(--border);
    max-width: 900px;
    overflow-wrap: anywhere;
}

.game-releases-block .text-accent {
    color: var(--accent);
}

@media (max-width: 767px) {
    .game-releases-block .kth-title {
        font-size: 24px;
    }

    .game-releases-block .game-release-card {
        padding: 16px;
    }

    .game-releases-block .game-release-heading {
        font-size: 16px;
    }

    .game-releases-block .game-releases-filter-btn {
        font-size: 13px;
        padding: 8px 14px;
    }

    .game-releases-block .game-releases-note {
        font-size: 12px;
        border-radius: 16px !important;
        text-align: left;
        align-items: flex-start !important;
    }
}

/* ===== arcade_game_ratings ===== */
.arcade-ratings-block {
    padding: 96px 0;
    overflow: hidden;
}

.arcade-ratings-desc {
    max-width: 680px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.arcade-ratings-block .arcade-stat-card {
    padding: 24px 20px;
    border-radius: 24px;
    background: #DFEEEE;
}

.arcade-ratings-block .arcade-stat-icon {
    font-size: 28px;
    color: var(--primary-text);
    line-height: 1;
}

.arcade-ratings-block .arcade-stat-num {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.arcade-ratings-block .arcade-stat-label {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.arcade-ratings-block .arcade-game-card {
    border-radius: 24px;
    padding: 20px;
    background: #EAF6F6;
}

.arcade-ratings-block .arcade-game-card:hover {
    background: #DFEEEE;
}

.arcade-ratings-block .arcade-card-media-link {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.arcade-ratings-block .arcade-media-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
}

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

.arcade-ratings-block .arcade-card-body {
    min-width: 0;
}

.arcade-ratings-block .arcade-star-score {
    font-size: 15px;
    color: var(--text);
    background: rgba(17, 91, 95, 0.08);
    padding: 4px 8px;
    border-radius: 6px;
}

.arcade-ratings-block .arcade-star-score i {
    font-size: 17px;
    color: #E5A100;
}

.arcade-ratings-block .arcade-score-val {
    color: var(--text);
    font-weight: 700;
}

.arcade-ratings-block .arcade-game-name {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
    margin-bottom: 8px;
}

.arcade-ratings-block .arcade-title-link {
    color: var(--text);
    text-decoration: none;
}

.arcade-ratings-block .arcade-title-link:hover {
    color: var(--primary);
}

.arcade-ratings-block .arcade-meta-record {
    font-size: 13px;
    color: var(--text-muted);
}

.arcade-ratings-block .arcade-meta-record i {
    font-size: 16px;
    color: var(--accent-text);
}

.arcade-ratings-block .arcade-meta-dev {
    font-size: 13px;
    color: var(--text);
}

.arcade-ratings-block .arcade-meta-label {
    color: var(--text-muted);
}

.arcade-ratings-block .arcade-meta-val {
    font-weight: 700;
    color: var(--primary-text);
}

.arcade-ratings-block .js-rating-filter {
    border: none;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
}

.arcade-ratings-block .js-rating-filter.active {
    background: var(--primary);
    color: var(--on-primary);
}

@media (max-width: 767px) {
    .arcade-ratings-block {
        padding: 56px 0;
    }

    .arcade-ratings-block .arcade-game-name {
        font-size: 16px;
    }

    .arcade-ratings-block .arcade-stat-num {
        font-size: 30px;
    }
}

/* ===== community_game_poll ===== */
.poll-block .poll-subtitle {
    max-width: 720px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.poll-block .border-bottom-tint {
    border-bottom: 1px solid var(--border);
}

.poll-block .border-top-tint {
    border-top: 1px solid var(--border);
}

.poll-block .poll-meta-text {
    font-size: 14px;
    color: var(--text-muted);
}

.poll-block .poll-status-badge {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 700;
}

.poll-block .poll-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background-color: var(--surface);
    color: var(--primary-text);
    font-weight: 700;
    font-size: 13px;
}

.poll-block .poll-category-name {
    font-size: 16px;
    color: var(--text);
    overflow-wrap: anywhere;
}

.poll-block .poll-percentage-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-text);
}

.poll-block .poll-progress-track {
    width: 100%;
    height: 14px;
    background-color: var(--surface);
    border-radius: 8px;
    overflow: hidden;
}

.poll-block .poll-progress-fill {
    height: 100%;
    border-radius: 8px;
}

.poll-block .poll-fill-primary {
    background-color: var(--primary);
}

.poll-block .poll-fill-accent {
    background-color: var(--accent);
}

.poll-block .poll-item-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.poll-block .poll-side-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.poll-block .poll-side-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.poll-block .poll-accent-icon {
    color: var(--accent-text);
}

.poll-block .poll-list {
    font-size: 14px;
    color: var(--text);
}

.poll-block .poll-stat-badge-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: var(--surface);
    color: var(--primary-text);
    flex-shrink: 0;
}

.poll-block .poll-stat-num {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-text);
}

.poll-block .poll-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

@media (max-width: 767px) {
    .poll-block .poll-category-name {
        font-size: 14px;
    }

    .poll-block .poll-percentage-text {
        font-size: 16px;
    }

    .poll-block .poll-results-card {
        padding: 20px !important;
    }
}

/* ===== developer_game_submission ===== */
.dev-submission-section {
    padding: 96px 0;
    overflow: hidden;
}

@media (max-width: 767px) {
    .dev-submission-section {
        padding: 56px 0;
    }
}

.dev-submission-lead {
    max-width: 720px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

.dev-hero-composition {
    position: relative;
}

.dev-media-frame {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.dev-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.dev-overlap-wrapper {
    position: relative;
}

.dev-overlap-card {
    background: var(--surface);
    padding: 32px;
    border-radius: 24px;
}

.dev-overlap-card .kth-badge {
    background: var(--surface-alt);
    color: var(--primary-text);
}

.dev-overlap-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
}

.dev-overlap-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.dev-tabs-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.dev-tabs-nav .dev-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    text-align: center;
}

@media (max-width: 991px) {
    .dev-tabs-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

.dev-tab-btn {
    background: var(--surface);
    color: var(--text);
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: none;
}

.dev-tab-btn:hover {
    background: #DFEEEE;
    color: var(--primary-text);
}

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

.dev-spec-card {
    background: var(--surface);
    padding: 28px;
    border-radius: 24px;
}

.dev-spec-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.dev-icon-holder {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--surface-alt);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.dev-card-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0;
    line-height: 1.3;
}

.dev-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.dev-spec-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dev-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dev-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
    font-weight: 700;
}

.dev-check-item i {
    font-size: 18px;
    flex-shrink: 0;
    color: var(--accent);
}

.dev-step-card {
    background: var(--surface);
    padding: 28px;
    border-radius: 24px;
}

.dev-step-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1;
}

.dev-step-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.dev-step-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
}

.dev-contact-banner {
    background: var(--surface);
    padding: 32px;
    border-radius: 24px;
}

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

.dev-banner-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.dev-banner-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
}

@media (max-width: 767px) {
    .dev-hero-composition .row {
        flex-direction: column;
    }

    .dev-tab-btn {
        width: 100%;
        text-align: center;
    }

    .dev-overlap-card {
        padding: 24px;
    }

    .dev-contact-banner {
        padding: 24px;
    }
}

/* ===== footer ===== */
.kth-footer-block {
    background: var(--dark-band, #0F3A3C);
    padding-top: 56px;
    padding-bottom: 32px;
    font-family: 'Thasadith', sans-serif;
}

.kth-footer-block .kth-footer-divider {
    width: 100%;
    height: 32px;
    overflow: hidden;
    margin-top: -56px;
    margin-bottom: 24px;
}

.kth-footer-block .kth-footer-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

.kth-footer-block .kth-icon-holder {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kth-footer-block .kth-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.kth-footer-block .kth-footer-desc {
    color: var(--on-dark-muted, #B6C3C3);
    font-size: 15px;
    line-height: 1.6;
    word-break: break-word;
}

.kth-footer-block .kth-footer-disclaimer-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--on-dark-muted, #B6C3C3);
    line-height: 1.5;
    word-break: break-word;
}

.kth-footer-block .kth-footer-heading {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.kth-footer-block .kth-footer-links li {
    margin-bottom: 10px;
}

.kth-footer-block .kth-footer-link {
    color: var(--on-dark-muted, #B6C3C3);
    text-decoration: none;
    word-break: break-word;
    display: inline-block;
}

.kth-footer-block .kth-footer-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.kth-footer-block .kth-footer-contacts i {
    font-size: 20px;
    color: #FFFFFF;
}

.kth-footer-block .kth-contact-text {
    color: var(--on-dark-muted, #B6C3C3);
    font-size: 15px;
    line-height: 1.5;
    word-break: break-word;
}

.kth-footer-block .kth-footer-input {
    background: #FFFFFF;
    color: #142425;
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    box-shadow: none;
}

.kth-footer-block .kth-footer-input::placeholder {
    color: #5A7172;
    opacity: 1;
}

.kth-footer-block .kth-footer-input:focus {
    background: #FFFFFF;
    color: #142425;
    box-shadow: 0 0 0 2px var(--primary, #115B5F);
}

.kth-footer-block .form-check-label {
    color: var(--on-dark-muted, #B6C3C3);
    line-height: 1.5;
    cursor: pointer;
}

.kth-footer-block .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.kth-footer-block .form-check-input:checked {
    background-color: var(--primary, #115B5F);
    border-color: var(--primary, #115B5F);
}

.kth-footer-block .kth-footer-separator {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 1;
}

.kth-footer-block .kth-copyright-text {
    color: var(--on-dark-muted, #B6C3C3);
}

.kth-footer-block .kth-legal-link {
    color: var(--on-dark-muted, #B6C3C3);
    text-decoration: none;
}

.kth-footer-block .kth-legal-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .kth-footer-block {
        padding-top: 40px;
        padding-bottom: 24px;
    }

    .kth-footer-block .kth-footer-title {
        font-size: 20px;
    }

    .kth-footer-block .kth-footer-heading {
        font-size: 18px;
        margin-top: 8px;
    }
}

.arcade-catalog-block {
    padding-top: 56px;
    padding-bottom: 72px;
}

.arcade-catalog-block__heading {
    color: var(--text);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.arcade-catalog-block__intro {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 540px;
    overflow-wrap: anywhere;
}

.arcade-catalog-block__filters {
    overflow-x: auto;
    padding-bottom: 4px;
}

.arcade-catalog-block .arcade-filter-btn {
    background: var(--surface-alt);
    color: var(--primary-text);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.arcade-catalog-block .arcade-filter-btn:hover {
    background: #DFEEEE;
    color: var(--primary-hover);
}

.arcade-catalog-block .arcade-filter-btn.is-active {
    background: var(--primary);
    color: var(--on-primary);
}

.arcade-catalog-block .arcade-filter-btn.is-active:hover {
    background: var(--primary-hover);
    color: var(--on-primary);
}

.arcade-catalog-block__search-wrap {
    width: 100%;
    max-width: 320px;
}

.arcade-catalog-block .arcade-search-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 18px;
    pointer-events: none;
}

.arcade-catalog-block .arcade-search-input {
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    padding: 10px 38px 10px 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
}

.arcade-catalog-block .arcade-search-input::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.arcade-catalog-block .arcade-search-input:focus {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
    border-color: var(--primary);
}

.arcade-catalog-block .arcade-search-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.arcade-catalog-block .arcade-search-clear:hover {
    color: var(--text);
}

.arcade-catalog-block__count {
    color: var(--text-muted);
    font-size: 14px;
}

.arcade-catalog-block .arcade-dense-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.arcade-catalog-block .arcade-dense-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--surface-alt);
    border-radius: 24px;
    padding: 12px;
    height: 100%;
    color: var(--text);
    overflow: hidden;
}

.arcade-catalog-block .arcade-dense-card:hover {
    background: #DFEEEE;
    color: var(--text);
}

.arcade-catalog-block .arcade-card-media-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.arcade-catalog-block .arcade-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.arcade-catalog-block .arcade-card-content {
    padding-top: 10px;
    padding-bottom: 2px;
    text-align: left;
    flex-grow: 1;
}

.arcade-catalog-block .arcade-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.arcade-catalog-block__empty {
    background: var(--surface);
    border-radius: 24px;
    padding: 48px 24px;
    max-width: 520px;
    margin: 0 auto;
}

.arcade-catalog-block__empty-icon i {
    color: var(--primary);
}

.arcade-catalog-block__empty-title {
    color: var(--text);
    font-size: 20px;
    font-weight: 700;
}

.arcade-catalog-block__empty-desc {
    color: var(--text-muted);
    font-size: 14px;
}

.arcade-stats-block {
    padding-top: 64px;
    padding-bottom: 72px;
    background: var(--section-alt-bg);
}

.arcade-stats-block__divider-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.arcade-stats-block__divider {
    display: block;
    width: 100%;
    height: 36px;
}

.arcade-stats-block__header {
    max-width: 640px;
}

.arcade-stats-block__title {
    color: var(--text);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.arcade-stats-block__lead {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.arcade-stats-block .arcade-stat-box {
    background: var(--surface);
    border-radius: 24px;
    padding: 28px 18px;
    height: 100%;
}

.arcade-stats-block .arcade-stat-box__icon i {
    color: var(--primary);
}

.arcade-stats-block .arcade-stat-box__number {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
}

.arcade-stats-block .arcade-stat-box__label {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 700;
    overflow-wrap: anywhere;
}

@media (max-width: 1199.98px) {
    .arcade-catalog-block .arcade-dense-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991.98px) {
    .arcade-catalog-block .arcade-dense-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 767.98px) {
    .arcade-catalog-block {
        padding-top: 36px;
        padding-bottom: 48px;
    }

    .arcade-catalog-block__heading {
        font-size: 16px;
        hyphens: auto;
    }

    .arcade-catalog-block__intro {
        font-size: 14px;
    }

    .arcade-catalog-block__search-wrap {
        max-width: 100%;
    }

    .arcade-catalog-block .arcade-dense-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .arcade-catalog-block .arcade-dense-card {
        padding: 8px;
        border-radius: 16px;
    }

    .arcade-catalog-block .arcade-card-title {
        font-size: 13px;
        line-height: 1.25;
        hyphens: auto;
    }

    .arcade-stats-block {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .arcade-stats-block__title {
        font-size: 16px;
        hyphens: auto;
    }

    .arcade-stats-block__lead {
        font-size: 14px;
    }

    .arcade-stats-block .arcade-stat-box__number {
        font-size: 28px;
    }

    .arcade-stats-block .arcade-stat-box__label {
        font-size: 13px;
    }
}


/* ===== PAGE: about ===== */
.ic-about-story { padding: 56px 0; overflow-wrap: anywhere; } @media (min-width: 992px) { .ic-about-story { padding: 96px 0; } } .ic-about-story__subtitle { max-width: 680px; font-size: 16px; line-height: 1.6; } .ic-about-story__media-wrap { position: relative; } .ic-about-story__media { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 11; width: 100%; } .ic-about-story__media img { width: 100%; height: 100%; object-fit: cover; } .ic-about-story__overlay-badge { position: absolute; bottom: 16px; left: 16px; right: 16px; background-color: var(--surface, #FFFFFF); padding: 14px 18px; border-radius: 12px; } @media (min-width: 576px) { .ic-about-story__overlay-badge { right: auto; max-width: 320px; } } .ic-about-story__badge-icon { width: 44px; height: 44px; border-radius: 10px; background-color: var(--surface-alt, #EAF6F6); color: var(--primary, #115B5F); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; } .ic-about-story__heading { font-size: 24px; font-weight: 700; color: var(--text, #142425); line-height: 1.3; } @media (min-width: 768px) { .ic-about-story__heading { font-size: 28px; } } .ic-about-story__stat-num { font-size: 32px; font-weight: 700; color: var(--primary, #115B5F); line-height: 1.2; margin-bottom: 6px; } @media (min-width: 768px) { .ic-about-story__stat-num { font-size: 40px; } } .ic-about-story__stat-label { font-size: 14px; line-height: 1.4; } .ic-platform-standards { padding: 56px 0; overflow-wrap: anywhere; } @media (min-width: 992px) { .ic-platform-standards { padding: 96px 0; } } .ic-platform-standards__subtitle { max-width: 680px; font-size: 16px; line-height: 1.6; } .ic-platform-standards__card-icon { width: 48px; height: 48px; border-radius: 12px; background-color: var(--surface-alt, #DFEEEE); color: var(--primary, #115B5F); display: inline-flex; align-items: center; justify-content: center; font-size: 26px; } .ic-platform-standards__item-title { font-size: 18px; font-weight: 700; color: var(--text, #142425); line-height: 1.3; } .ic-platform-standards__cta-icon { width: 48px; height: 48px; border-radius: 12px; background-color: var(--surface-alt, #DFEEEE); color: var(--primary, #115B5F); display: inline-flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; } .ic-platform-standards button.js-standards-filter { cursor: pointer; }

/* ===== PAGE: events ===== */
.events-schedule-section{padding:96px 0;background-color:var(--bg);overflow:hidden}.events-schedule-section .events-section-subtitle{max-width:680px;font-size:16px;line-height:1.6}.events-schedule-section .events-filter-bar{margin-bottom:32px}.events-schedule-section .events-filter-btn{padding:10px 20px;font-size:15px;cursor:pointer;border:none;border-radius:12px;outline:none}.events-schedule-section .events-card{background-color:var(--surface-alt);border-radius:24px;padding:28px;transition:none}.events-schedule-section .events-card:hover{background-color:#DFEEEE}.events-schedule-section .events-card-media-wrapper{border-radius:12px;overflow:hidden;aspect-ratio:16/9;background-color:#CBE2E2}.events-schedule-section .events-card-img{width:100%;height:100%;object-fit:cover;display:block}.events-schedule-section .events-card-title{font-size:20px;font-weight:700;line-height:1.3;color:var(--text);overflow-wrap:anywhere}.events-schedule-section .events-card-desc{font-size:15px;line-height:1.5;overflow-wrap:anywhere}.events-schedule-section .events-progress-bar-bg{height:8px;background-color:rgba(17,91,95,0.15);border-radius:4px;overflow:hidden}.events-schedule-section .events-progress-bar-fill{height:100%;background-color:var(--primary);border-radius:4px}.events-schedule-section .events-info-list{border-color:rgba(20,36,37,0.08)!important}.events-schedule-section .events-guidance-box{background-color:var(--surface);border-radius:24px;border:none}.events-schedule-section .events-date-label{color:var(--text-muted);font-weight:500}@media (max-width:767px){.events-schedule-section{padding:56px 0}.events-schedule-section .events-card{padding:20px}.events-schedule-section .events-filter-btn{width:100%;text-align:center}.events-schedule-section .events-card-title{font-size:18px}}

/* ===== PAGE: how-to-play ===== */
.play-instructions-block {
  background-color: var(--bg);
  font-family: 'Thasadith', sans-serif;
}

.play-instructions-block .kth-title {
  color: var(--text);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .play-instructions-block .kth-title {
    font-size: 24px;
  }
}

.play-instructions-block h3 {
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .play-instructions-block h3 {
    font-size: 17px;
  }
}

.play-instructions-block .kth-card {
  background-color: var(--surface-alt);
  border-radius: 24px;
  border: none;
  box-shadow: none;
}

.play-instructions-block .kth-card:hover {
  background-color: #DFEEEE;
}

.play-instructions-block .play-instructions-tabs {
  background-color: var(--surface-alt);
}

.play-instructions-block .play-instructions-tab-btn {
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: none;
}

.play-instructions-block .kth-btn {
  background-color: var(--primary);
  color: var(--on-primary) !important;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 700;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.play-instructions-block .kth-btn:hover {
  background-color: var(--primary-hover);
  color: var(--on-primary) !important;
}

.play-instructions-block .kth-btn-alt {
  background-color: transparent;
  color: var(--primary-text) !important;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.play-instructions-block .kth-btn-alt:hover {
  background-color: #DFEEEE;
  color: var(--primary-text) !important;
}

.play-instructions-block .kth-badge {
  background-color: var(--primary);
  color: var(--on-primary);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.play-instructions-block .control-key-item {
  background-color: var(--surface);
}

.play-instructions-block .key-cap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  background-color: var(--surface-alt);
  border-radius: 6px;
  font-weight: 700;
  color: var(--primary-text);
  font-size: 14px;
}

.play-instructions-block .key-space {
  min-width: 90px;
}

.play-instructions-block .touch-icon-box {
  width: 56px;
  height: 56px;
  background-color: var(--primary);
  color: var(--on-primary);
}

.play-instructions-block .stats-box-item {
  background-color: var(--surface-alt);
}

@media (max-width: 767px) {
  .play-instructions-block .play-instructions-tabs {
    flex-direction: column;
    width: 100%;
  }
  .play-instructions-block .play-instructions-tab-btn {
    width: 100%;
    text-align: center;
  }
}

/* ===== PAGE: beginners-guide ===== */
.beginner-guide-section { padding: 96px 0; background: var(--section-alt-bg, linear-gradient(166deg, #EAF6F6 0%, #F1F8F8 100%)); }
.beginner-guide-section .kth-card { background: var(--surface-alt, #EAF6F6); border-radius: 24px; border: none; box-shadow: none; transition: none; }
.beginner-guide-section .bg-surface { background: var(--surface, #FFFFFF) !important; }
.beginner-guide-section .kth-eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--primary, #115B5F); }
.beginner-guide-section .kth-title { font-size: 36px; line-height: 1.2; font-weight: 700; color: var(--text, #142425); overflow-wrap: anywhere; }
.beginner-guide-section .beginner-guide-lead { font-size: 16px; line-height: 1.6; max-width: 720px; margin: 0 auto; }
.beginner-guide-section .beginner-card-title { font-size: 24px; font-weight: 700; line-height: 1.3; color: var(--text, #142425); overflow-wrap: anywhere; }
.beginner-guide-section .beginner-subheading { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--text, #142425); overflow-wrap: anywhere; }
.beginner-guide-section .kth-badge { background-color: var(--primary, #115B5F); color: var(--on-primary, #FFFFFF); font-size: 12px; font-weight: 700; border-radius: 6px; padding: 4px 10px; display: inline-block; }
.beginner-guide-section .beginner-step-meta { font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.beginner-guide-section .beginner-checklist { list-style: none; }
.beginner-guide-section .beginner-checklist li { font-size: 15px; color: var(--text, #142425); line-height: 1.5; }
.beginner-guide-section .border-top-tint { border-top: 1px solid var(--border, #D8E3E4); }
.beginner-guide-section .beginner-media-wrapper { min-height: 320px; aspect-ratio: 16 / 9; }
.beginner-guide-section .kth-media { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; display: block; }
.beginner-guide-section .kth-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(17, 91, 95, 0.08); display: flex; align-items: center; justify-content: center; }
.beginner-guide-section .kth-btn { background: var(--primary, #115B5F); color: var(--on-primary, #FFFFFF); font-weight: 700; font-size: 16px; padding: 14px 28px; border-radius: 12px; border: none; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.beginner-guide-section .kth-btn:hover { background: var(--primary-hover, #0C3E41); color: var(--on-primary, #FFFFFF); }
.beginner-guide-section .kth-btn-alt { background: transparent; color: var(--primary-text, #115B5F); border: 2px solid var(--primary, #115B5F); font-weight: 700; font-size: 16px; padding: 12px 24px; border-radius: 12px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.beginner-guide-section .kth-btn-alt:hover { background: var(--primary, #115B5F); color: var(--on-primary, #FFFFFF); }
.beginner-guide-section .beginner-filter-btn { background: var(--surface, #FFFFFF); border: none; color: var(--text, #142425); padding: 8px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; }
.beginner-guide-section .beginner-filter-btn.active, .beginner-guide-section .beginner-filter-btn:hover { background: var(--primary, #115B5F); color: var(--on-primary, #FFFFFF); }
.beginner-guide-section .beginner-genre-card { background: var(--surface, #FFFFFF); border-radius: 16px; transition: none; }
.beginner-guide-section .beginner-difficulty { font-size: 13px; }
.beginner-guide-section .beginner-text-link { color: var(--primary-text, #115B5F); font-weight: 700; font-size: 14px; text-decoration: none; }
.beginner-guide-section .beginner-text-link:hover { color: var(--primary-hover, #0C3E41); text-decoration: underline; }
@media (max-width: 767px) { .beginner-guide-section { padding: 56px 0; } .beginner-guide-section .kth-title { font-size: 26px; } .beginner-guide-section .beginner-card-title { font-size: 20px; } .beginner-guide-section .beginner-subheading { font-size: 18px; } .beginner-guide-section .beginner-media-wrapper { min-height: 220px; } }

/* ===== PAGE: tournament-history ===== */
.leaderboard-section {
  padding: 60px 0;
  background-color: var(--bg);
}
.leaderboard-section__header {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.leaderboard-section__header .kth-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.leaderboard-section__header .kth-title {
  font-size: 36px;
  line-height: 1.2;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 14px;
}
.leaderboard-section__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0;
}
.leaderboard-filter-btn {
  border: none;
  background-color: var(--surface-alt);
  color: var(--primary-text);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.leaderboard-filter-btn:hover {
  background-color: #DFEEEE;
  color: var(--primary-hover);
}
.leaderboard-filter-btn.active {
  background-color: var(--primary);
  color: var(--on-primary);
}
.leaderboard-search-box .leaderboard-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--text-muted);
  pointer-events: none;
}
.leaderboard-search-box .js-search-input {
  padding-left: 42px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background-color: var(--surface);
  color: var(--text);
  font-size: 14px;
}
.leaderboard-search-box .js-search-input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}
.leaderboard-table-card {
  background-color: var(--surface-alt);
  border-radius: 24px;
  padding: 24px;
  border: none;
  box-shadow: none;
}
.leaderboard-table {
  border-collapse: separate;
  border-spacing: 0 10px;
}
.leaderboard-table thead th {
  background: transparent;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 16px;
  border: none;
  text-align: left;
}
.leaderboard-table tbody tr {
  background-color: var(--surface);
  border-radius: 12px;
}
.leaderboard-table tbody td {
  padding: 16px;
  font-size: 15px;
  color: var(--text);
  border: none;
  vertical-align: middle;
}
.leaderboard-table tbody tr td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.leaderboard-table tbody tr td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}
.game-cat-tag {
  font-size: 11px;
  font-weight: 700;
  background-color: var(--surface-alt);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 4px;
}
.rank-badge {
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 8px;
}
.rank-badge--gold {
  background-color: #FFF3CD;
  color: #856404;
}
.rank-badge--silver {
  background-color: #E2E3E5;
  color: #383D41;
}
.rank-badge--bronze {
  background-color: #F8D7DA;
  color: #721C24;
}
.score-text {
  font-weight: 700;
  color: var(--accent-text);
  font-size: 16px;
}
.record-status {
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
}
.record-status.status-held {
  background-color: #E6F4EA;
  color: #137333;
}
.record-status.status-archived {
  background-color: var(--surface-alt);
  color: var(--text-muted);
}
.stat-highlight-card {
  background-color: var(--surface-alt);
  border-radius: 24px;
  padding: 24px;
  border: none;
}
.stat-highlight-card .stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 6px;
}
.stat-highlight-card .stat-label {
  font-size: 14px;
  color: var(--text-muted);
}
.leaderboard-empty .empty-icon {
  font-size: 40px;
  color: var(--text-muted);
  display: block;
}
@media (max-width: 767px) {
  .leaderboard-section {
    padding: 40px 0;
  }
  .leaderboard-section__header .kth-title {
    font-size: 24px;
  }
  .leaderboard-table thead {
    display: none;
  }
  .leaderboard-table, .leaderboard-table tbody, .leaderboard-table tr, .leaderboard-table td {
    display: block;
    width: 100%;
  }
  .leaderboard-table tbody tr {
    margin-bottom: 16px;
    padding: 12px 16px;
  }
  .leaderboard-table tbody td {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
  }
  .leaderboard-table tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 13px;
    text-align: left;
    margin-right: 12px;
  }
  .leaderboard-table tbody tr td:first-child,
  .leaderboard-table tbody tr td:last-child {
    border-radius: 0;
  }
  .leaderboard-controls {
    flex-direction: column;
  }
  .leaderboard-filter-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* ===== PAGE: privacy ===== */
.privacy-content-block{padding:56px 0;background-color:var(--bg);position:relative}.privacy-lead{max-width:760px;font-size:16px;line-height:1.6;color:var(--text-muted)}.privacy-nav-card{position:sticky;top:90px;background-color:var(--surface-alt);border-radius:24px}.privacy-nav-title{font-size:20px;font-weight:700;color:var(--text)}.privacy-nav-btn{background:transparent;border:none;color:var(--text);font-size:15px;font-weight:700;padding:12px 16px;border-radius:12px;text-align:left;display:flex;align-items:center;cursor:pointer;width:100%}.privacy-nav-btn:hover{background-color:var(--surface)}.privacy-nav-btn.active{background-color:var(--primary);color:var(--on-primary)}.privacy-nav-info{border-top:1px solid var(--border)}.privacy-date-tag{font-size:13px;color:var(--text-muted);font-weight:400}.privacy-nav-note{font-size:13px;color:var(--text-muted);line-height:1.5}.privacy-inline-link{color:var(--primary-text);font-weight:700;text-decoration:none}.privacy-inline-link:hover{text-decoration:underline}.privacy-article-card{background-color:var(--surface);border-radius:24px}.privacy-section-heading{font-size:22px;font-weight:700;color:var(--text)}.privacy-text{font-size:15px;line-height:1.65;color:var(--text)}.privacy-sub-box{background-color:var(--surface-alt);border-radius:16px}.privacy-sub-title{font-size:16px;font-weight:700;color:var(--primary-text)}.privacy-sub-desc{font-size:14px;line-height:1.5;color:var(--text-muted)}.privacy-check-list{list-style:none;padding-left:0;margin-bottom:0}.privacy-check-icon{color:var(--accent);font-size:18px}.privacy-info-row{background-color:var(--surface-alt);font-size:14px;color:var(--text);gap:12px}.privacy-info-label{min-width:220px;color:var(--primary-text)}.privacy-security-tile{background-color:var(--surface-alt);border-radius:16px;height:100%}.privacy-security-icon{font-size:28px;color:var(--primary-text)}.privacy-tile-title{font-size:15px;font-weight:700;color:var(--text)}.privacy-tile-desc{font-size:13px;line-height:1.5;color:var(--text-muted)}.privacy-rights-grid .privacy-right-item{background-color:var(--surface-alt);border-radius:16px;font-size:14px;line-height:1.5;color:var(--text)}.privacy-right-icon{font-size:20px;color:var(--primary-text)}.privacy-cta-box{background-color:var(--surface-alt)}.privacy-cta-icon{font-size:32px;color:var(--primary-text)}.privacy-cta-title{color:var(--text);font-size:15px}.privacy-cta-desc{color:var(--text-muted);font-size:13px}@media(min-width:768px){.privacy-content-block{padding:96px 0}.privacy-section-heading{font-size:26px}}@media(max-width:767px){.privacy-nav-card{position:static;margin-bottom:16px}.privacy-section-heading{font-size:18px}.privacy-info-row{flex-direction:column}.privacy-info-label{min-width:auto}}

/* ===== PAGE: terms ===== */
.ic-terms-wrap .ic-terms-subtitle { max-width: 680px; line-height: 1.6; }
.ic-terms-wrap .ic-terms-nav { margin-bottom: 8px; }
.ic-terms-wrap .ic-terms-pill { background: var(--surface-alt); color: var(--primary-text); font-family: 'Thasadith', sans-serif; font-size: 15px; font-weight: 700; border: none; border-radius: 12px; padding: 10px 18px; cursor: pointer; display: inline-flex; align-items: center; }
.ic-terms-wrap .ic-terms-pill:hover { background: #DFEEEE; color: var(--primary-text); }
.ic-terms-wrap .ic-terms-pill.active { background: var(--primary); color: var(--on-primary); }
.ic-terms-wrap .ic-terms-pill.active:hover { background: var(--primary-hover); color: var(--on-primary); }
.ic-terms-wrap .ic-terms-card { background: var(--surface-alt); border-radius: 24px; padding: 28px; border: none; }
.ic-terms-wrap .ic-terms-card:hover { background: #DFEEEE; }
.ic-terms-wrap .ic-terms-card-title { font-size: 22px; font-weight: 700; color: var(--text); line-height: 1.3; }
.ic-terms-wrap .ic-terms-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(17, 91, 95, 0.12); color: var(--primary-text); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.ic-terms-wrap .ic-terms-card-body { color: var(--text); line-height: 1.65; }
.ic-terms-wrap .ic-terms-list { display: flex; flex-direction: column; gap: 8px; }
.ic-terms-wrap .ic-terms-subbox { background: var(--surface); border-radius: 14px; padding: 18px; height: 100%; }
.ic-terms-wrap .ic-terms-help { background: var(--surface-alt); border-radius: 24px; }
.ic-terms-wrap .ic-terms-help-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto; }
.ic-terms-wrap .ic-terms-help-title { font-size: 24px; font-weight: 700; color: var(--text); }
.ic-terms-wrap .ic-terms-help-desc { max-width: 600px; line-height: 1.6; }
@media (max-width: 767px) {
  .ic-terms-wrap .ic-terms-card-title { font-size: 18px; }
  .ic-terms-wrap .ic-terms-pill { width: 100%; justify-content: center; font-size: 14px; padding: 10px 14px; }
  .ic-terms-wrap .ic-terms-card { padding: 20px; }
  .ic-terms-wrap .ic-terms-help-title { font-size: 20px; }
}

/* ===== PAGE: disclaimer ===== */
.disclaimer-page { background: var(--bg); }
.disclaimer-page__wrapper { background: var(--surface_alt); border-radius: 24px; padding: 32px; }
.disclaimer-page__header .kth-eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--primary-text); }
.disclaimer-page__header .kth-title { font-size: 32px; font-weight: 700; color: var(--text); line-height: 1.25; margin-bottom: 8px; overflow-wrap: anywhere; }
.disclaimer-page__date-badge { background: var(--surface); color: var(--text-muted); font-size: 14px; font-weight: 400; padding: 6px 14px; border-radius: 6px; }
.disclaimer-page__date-badge i { font-size: 16px; color: var(--primary-text); }
.disclaimer-page__alert { background: var(--surface); border-radius: 16px; padding: 20px; }
.disclaimer-page__alert .kth-icon { color: var(--primary-text); }
.disclaimer-page__alert-title { font-size: 20px; font-weight: 700; color: var(--text); }
.disclaimer-page__section-title { font-size: 20px; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.disclaimer-page__section-title i { font-size: 22px; }
.disclaimer-page__text { font-size: 16px; line-height: 1.6; color: var(--text); margin-bottom: 12px; }
.disclaimer-page__list { padding-left: 20px; margin-bottom: 0; color: var(--text); font-size: 15px; line-height: 1.6; }
.disclaimer-page__list li { margin-bottom: 8px; }
.disclaimer-page__list li:last-child { margin-bottom: 0; }
.disclaimer-page__link { color: var(--primary-text); font-weight: 700; text-decoration: underline; }
.disclaimer-page__link:hover { color: var(--primary-hover); }
.disclaimer-page__footer-box { background: var(--surface); border-radius: 16px; }
@media (max-width: 767px) {
  .disclaimer-page__wrapper { padding: 20px 16px; border-radius: 16px; }
  .disclaimer-page__header .kth-title { font-size: 22px; }
  .disclaimer-page__alert-title { font-size: 18px; }
  .disclaimer-page__section-title { font-size: 18px; }
  .disclaimer-page__text, .disclaimer-page__list { font-size: 14px; }
  .disclaimer-page__alert { flex-direction: column; gap: 12px; }
}

/* ===== PAGE: contact ===== */
.iron-contact-section { background-color: var(--bg); color: var(--text); }
.iron-contact-section .kth-card { background: var(--surface-alt); border-radius: 24px; border: none; box-shadow: none; }
.iron-contact-section .iron-contact-card-title { font-size: 20px; font-weight: 700; color: var(--text); line-height: 1.3; overflow-wrap: anywhere; }
.iron-contact-section .iron-contact-card-subtitle { font-size: 16px; color: var(--text); }
.iron-contact-section .iron-contact-card-text { font-size: 15px; color: var(--text-muted); line-height: 1.5; overflow-wrap: anywhere; }
.iron-contact-section .iron-contact-card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.iron-contact-section .iron-contact-label { font-size: 14px; color: var(--text-muted); }
.iron-contact-section .iron-contact-link { color: var(--primary-text); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.iron-contact-section .iron-contact-link:hover, .iron-contact-section .iron-contact-link:focus { color: var(--primary-hover); text-decoration: underline; }
.iron-contact-section .iron-contact-icon { width: 44px; height: 44px; border-radius: 12px; background-color: #DFEEEE; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.iron-contact-section .iron-contact-icon-accent { width: 44px; height: 44px; border-radius: 12px; background-color: #DFEEEE; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.iron-contact-section .iron-contact-wa-box { background-color: var(--surface); border-radius: 16px; }
.iron-contact-section .iron-contact-hours-box { background-color: var(--surface); border-radius: 16px; margin-top: auto; }
.iron-contact-section .iron-text-primary { color: var(--primary); font-size: 18px; }
.iron-contact-section .iron-contact-map-frame { width: 100%; height: 320px; border-radius: 16px; overflow: hidden; background-color: #E2ECEC; }
.iron-contact-section .iron-contact-map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.iron-contact-section .kth-btn { background-color: var(--primary); color: var(--on-primary); font-weight: 700; padding: 12px 24px; border-radius: 12px; border: none; min-height: 48px; }
.iron-contact-section .kth-btn:hover, .iron-contact-section .kth-btn:focus { background-color: var(--primary-hover); color: var(--on-primary); }
.iron-contact-section .kth-badge { background-color: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 700; border-radius: 6px; padding: 6px 12px; display: inline-block; }
@media (max-width: 767px) { .iron-contact-section .iron-contact-map-frame { height: 260px; } .iron-contact-section .iron-contact-card-title { font-size: 18px; } }

.arcade-comment-card {
    background-color: #EAF6F6;
    border-radius: 24px;
    padding: 24px;
    border: none;
    box-shadow: none;
    font-family: 'Thasadith', sans-serif;
    color: #142425;
    margin-bottom: 20px;
}

.arcade-comment-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.arcade-avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background-color: #115B5F;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    user-select: none;
}

.arcade-avatar-initials {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.arcade-author-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.arcade-author-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.arcade-author-name {
    font-size: 18px;
    font-weight: 700;
    color: #142425;
    line-height: 1.3;
}

.arcade-badge-tag {
    font-size: 12px;
    font-weight: 700;
    background-color: #115B5F;
    color: #FFFFFF;
    padding: 3px 10px;
    border-radius: 6px;
    line-height: 1.4;
}

.arcade-comment-date {
    font-size: 13px;
    color: #5A7172;
    line-height: 1.4;
}

.arcade-comment-body {
    margin-bottom: 18px;
}

.arcade-comment-text {
    font-size: 16px;
    line-height: 1.6;
    color: #142425;
    margin: 0;
}

.arcade-comment-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.arcade-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 12px;
    border: none;
    box-shadow: none;
    font-family: 'Thasadith', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    min-height: 44px;
}

.arcade-btn-like {
    background-color: #FFFFFF;
    color: #115B5F;
}

.arcade-btn-like:hover {
    background-color: #DFEEEE;
    color: #0C3E41;
}

.arcade-btn-reply {
    background-color: #115B5F;
    color: #FFFFFF;
}

.arcade-btn-reply:hover {
    background-color: #0C3E41;
    color: #FFFFFF;
}

.arcade-like-counter {
    font-weight: 700;
    background-color: #EAF6F6;
    color: #115B5F;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 13px;
}

.arcade-reply-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 20px;
    border: none;
    box-shadow: none;
    font-family: 'Thasadith', sans-serif;
    color: #142425;
    margin-left: 32px;
    margin-bottom: 16px;
}

@media (max-width: 576px) {
    .arcade-reply-card {
        margin-left: 16px;
        padding: 16px;
    }
}

.arcade-reply-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.arcade-avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background-color: #115B5F;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    user-select: none;
}

.arcade-avatar-reply {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background-color: #1E855D;
}

.arcade-avatar-initials {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.arcade-author-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.arcade-author-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.arcade-author-name {
    font-size: 17px;
    font-weight: 700;
    color: #142425;
    line-height: 1.3;
}

.arcade-badge-staff {
    font-size: 12px;
    font-weight: 700;
    background-color: #1E855D;
    color: #FFFFFF;
    padding: 3px 10px;
    border-radius: 6px;
    line-height: 1.4;
}

.arcade-comment-date {
    font-size: 13px;
    color: #5A7172;
    line-height: 1.4;
}

.arcade-reply-body {
    margin-bottom: 16px;
}

.arcade-comment-text {
    font-size: 15px;
    line-height: 1.6;
    color: #142425;
    margin: 0;
}

.arcade-reply-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.arcade-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 12px;
    border: none;
    box-shadow: none;
    font-family: 'Thasadith', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    min-height: 44px;
}

.arcade-btn-like {
    background-color: #EAF6F6;
    color: #115B5F;
}

.arcade-btn-like:hover {
    background-color: #DFEEEE;
    color: #0C3E41;
}

.arcade-like-counter {
    font-weight: 700;
    background-color: #FFFFFF;
    color: #115B5F;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 13px;
}


/* ===== PAGE TEMPLATE: games-list ===== */
.game-stage-hero {
    padding: 40px 0 60px;
    background: var(--dark-band-bg, #0F3A3C);
}

.game-stage-hero__meta {
    max-width: 820px;
}

.game-stage-hero__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--on-dark, #FFFFFF);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.game-stage-hero__subtitle {
    font-size: 16px;
    color: var(--on-dark-muted, #B6C3C3);
    overflow-wrap: anywhere;
}

.game-stage-hero__screen-box {
    max-width: 960px;
    width: 100%;
}

.game-stage-hero__status {
    font-size: 14px;
    color: var(--on-dark-muted, #B6C3C3);
}

.game-stage-hero__status-indicator {
    width: 10px;
    height: 10px;
    background-color: var(--accent, #1E855D);
    border-radius: 50%;
    display: inline-block;
}

.game-stage-hero__fs-btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
}

.game-stage-hero__frame-wrap {
    width: 100%;
    height: 560px;
    border-radius: 16px;
    overflow: hidden;
    background: #000000;
}

.game-stage-hero__iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.game-stage-hero__frame-wrap:fullscreen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

.game-stage-hero__frame-wrap:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

.game-stage-hero__frame-wrap.is-faux-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    z-index: 99999;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

.game-stage-hero__frame-wrap:fullscreen .game-stage-hero__iframe,
.game-stage-hero__frame-wrap:-webkit-full-screen .game-stage-hero__iframe,
.game-stage-hero__frame-wrap.is-faux-fullscreen .game-stage-hero__iframe {
    flex: 0 0 auto;
}

.game-stage-hero__fs-exit-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 9999;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
}

.game-numbered-content__wrapper {
    max-width: 900px;
}

.game-numbered-content__item {
    border-bottom: 1px solid var(--border, #D8E3E4);
}

.game-numbered-content__item:last-child {
    border-bottom: none;
}

.game-numbered-content__number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary, #115B5F);
    line-height: 1;
    flex-shrink: 0;
}

.game-numbered-content__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text, #142425);
    overflow-wrap: anywhere;
}

.game-numbered-content__table {
    width: 100%;
    background: var(--surface, #FFFFFF);
    border-radius: 12px;
    overflow: hidden;
}

.game-numbered-content__table thead th {
    background: var(--surface-alt, #EAF6F6);
    color: var(--primary, #115B5F);
    font-weight: 700;
    border-bottom: none;
    padding: 12px 16px;
}

.game-numbered-content__table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border, #D8E3E4);
    color: var(--text, #142425);
}

.game-numbered-content__table tbody tr:nth-of-type(even) {
    background: var(--surface-alt, #EAF6F6);
}

.game-numbered-content__table tbody tr:last-child td {
    border-bottom: none;
}

.game-numbered-content__cta-box {
    border-radius: 20px;
    background: var(--surface-alt, #EAF6F6);
}

.game-numbered-content__cta-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--surface, #FFFFFF);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kth-media {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 991.98px) {
    .game-stage-hero__frame-wrap {
        -webkit-overflow-scrolling: touch;
        transform: translateZ(0);
    }

    .game-stage-hero__iframe {
        transform: translateZ(0);
        pointer-events: auto;
        touch-action: auto;
    }
}

@media (max-width: 767.98px) {
    .game-stage-hero {
        padding: 30px 0 40px;
    }

    .game-stage-hero__title {
        font-size: 18px;
        hyphens: auto;
    }

    .game-stage-hero__subtitle {
        font-size: 14px;
    }

    .game-stage-hero__frame-wrap {
        height: 360px;
    }

    .game-numbered-content__number {
        font-size: 28px;
    }

    .game-numbered-content__table thead {
        display: none;
    }

    .game-numbered-content__table,
    .game-numbered-content__table tbody,
    .game-numbered-content__table tr,
    .game-numbered-content__table td {
        display: block;
        width: 100%;
    }

    .game-numbered-content__table td {
        padding: 8px 12px;
    }
}

/* 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%;
  }
}
