/* site palette */
html:root {
    --bg: #FAF4F6;
    --surface: #FFFFFF;
    --surface-alt: #F3E9EC;
    --text: #2B181D;
    --text-muted: #785E65;
    --border: #E4D8DB;
    --primary: #881A37;
    --primary-hover: #6A142B;
    --on-primary: #FFFFFF;
    --primary-text: #881A37;
    --accent: #E29DAF;
    --on-accent: #111111;
    --accent-text: #C63F62;
    --dark-band: #350D18;
    --on-dark: #FFFFFF;
    --on-dark-muted: #C3B6BA;
    --brand-btn-bg: #FFFFFF;
    --brand-btn-text: #350D18;
    --section-alt-bg: linear-gradient(178deg, #F3E9EC 0%, #F7F0F2 100%);
    --dark-band-bg: linear-gradient(157deg, #350D18 0%, #541223 100%);
    --brand-band-bg: #881A37;
    --hero-bg: linear-gradient(157deg, #350D18 0%, #541223 100%);
}

html:root {
    --bs-primary: #881A37;
    --bs-primary-rgb: 136, 26, 55;
    --bs-link-color: #881A37;
    --bs-link-color-rgb: 136, 26, 55;
    --bs-link-hover-color: #6A142B;
    --mdb-primary: #881A37;
    --mdb-primary-rgb: 136, 26, 55;
}

.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: 'Google Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary-text);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
    text-underline-offset: 4px;
}

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

.avx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary);
    color: var(--on-primary);
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.avx-btn:hover {
    background-color: var(--accent);
    color: var(--on-accent);
    text-decoration: none;
}

.avx-btn-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    color: var(--primary-text);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 10px 26px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.avx-btn-alt:hover {
    background-color: var(--primary);
    color: var(--on-primary);
    text-decoration: none;
}

.avx-card {
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(43, 24, 29, 0.04);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.avx-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(43, 24, 29, 0.08);
}

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

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

.avx-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}

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

.avx-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 50px;
    background-color: var(--surface-alt);
    color: var(--primary-text);
    border: 1px solid var(--border);
}

.avx-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: 22px;
    flex-shrink: 0;
}

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

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

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

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

.avx-section-brand .avx-btn {
    background-color: var(--brand_btn_bg, #FFFFFF);
    color: var(--brand_btn_text, #350D18);
}

.avx-section-brand .avx-btn:hover {
    background-color: var(--accent);
    color: var(--on-accent);
}

.avx-section-brand .avx-btn-alt {
    border-color: var(--on-primary);
    color: var(--on-primary);
}

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

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

.avx-section-dark h1,
.avx-section-dark h2,
.avx-section-dark h3,
.avx-section-dark h4,
.avx-section-dark h5,
.avx-section-dark h6,
.avx-on-dark h1,
.avx-on-dark h2,
.avx-on-dark h3,
.avx-on-dark h4,
.avx-on-dark h5,
.avx-on-dark h6 {
    color: var(--on-dark);
}

.avx-section-dark .avx-title,
.avx-on-dark .avx-title {
    color: var(--on-dark);
}

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

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

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

.avx-section-dark .avx-btn-alt:hover,
.avx-on-dark .avx-btn-alt:hover {
    background-color: var(--on-dark);
    color: var(--dark-band);
}

.avx-section-dark .avx-card,
.avx-on-dark .avx-card {
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

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

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

@media (max-width: 767.98px) {

    .avx-section,
    .avx-section-alt,
    .avx-section-dark,
    .avx-section-brand {
        padding: 48px 0;
    }

    .avx-title {
        font-size: 26px;
    }
}

/* =====  ===== */
.site-header-block {
    background: var(--surface, #FFFFFF);
    border-bottom: 1px solid var(--border, #E4D8DB);
    z-index: 1030;
    transition: box-shadow 0.2s ease-in-out;
}

.site-header-block .avx-header-nav {
    padding: 14px 0;
    background: var(--surface, #FFFFFF);
}

.site-header-block .header-brand-logo {
    max-width: 44px;
    max-height: 44px;
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
}

.site-header-block .brand-title-text {
    font-family: var(--font_family_headings, 'Google Sans', sans-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--text, #2B181D);
    letter-spacing: -0.01em;
}

.site-header-block .navbar-toggler {
    border: none;
    padding: 8px;
    background: var(--surface-alt, #F3E9EC);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
}

.site-header-block .navbar-toggler:focus {
    box-shadow: 0 0 0 2px var(--primary, #881A37);
    outline: none;
}

.site-header-block .toggler-icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--primary, #881A37);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header-block .header-nav-list {
    gap: 4px;
}

.site-header-block .header-nav-link {
    font-family: var(--font_family_primary, 'Google Sans', sans-serif);
    font-size: 15px;
    font-weight: 500;
    color: var(--text, #2B181D);
    padding: 8px 14px;
    border-radius: 50px;
    transition: all 0.2s ease-in-out;
}

.site-header-block .header-nav-link:hover,
.site-header-block .header-nav-link:focus {
    color: var(--primary, #881A37);
    background-color: var(--surface-alt, #F3E9EC);
}

.site-header-block .header-auth-btn {
    font-family: var(--font_family_primary, 'Google Sans', sans-serif);
    font-size: 15px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 50px;
    background-color: var(--primary, #881A37);
    color: var(--on-primary, #FFFFFF);
    text-decoration: none;
    border: none;
    transition: all 0.2s ease-in-out;
}

.site-header-block .header-auth-btn:hover,
.site-header-block .header-auth-btn:focus {
    background-color: var(--accent, #E29DAF);
    color: var(--on-accent, #111111);
}

@media (max-width: 991.98px) {
    .site-header-block .navbar-collapse {
        background: var(--surface, #FFFFFF);
        padding: 20px 16px 16px;
        border-radius: 16px;
        margin-top: 12px;
        border: 1px solid var(--border, #E4D8DB);
        box-shadow: 0 8px 24px rgba(43, 24, 29, 0.08);
    }

    .site-header-block .header-nav-list {
        gap: 6px;
    }

    .site-header-block .header-nav-link {
        display: block;
        padding: 10px 14px;
        border-radius: 10px;
    }

    .site-header-block .header-actions-wrap {
        border-top: 1px solid var(--border, #E4D8DB);
        margin-top: 8px;
    }

    .site-header-block .header-auth-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .site-header-block .navbar-toggler {
        display: none;
    }

    .site-header-block .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .site-header-block .header-nav-list {
        flex-wrap: nowrap;
    }

    .site-header-block .header-nav-link {
        white-space: nowrap;
        padding: 8px 10px;
        font-size: 14px;
    }
}

/* =====  ===== */
.avx-hero-block {
    background-color: var(--bg, #FAF4F6);
    position: relative;
    overflow: hidden;
}

.avx-hero-block .avx-hero-wrapper {
    min-height: 540px;
}

.avx-hero-block .avx-hero-media-wrapper {
    width: 100%;
    border-radius: 48px 16px 16px 16px;
    overflow: hidden;
    position: relative;
    background: var(--surface-alt, #F3E9EC);
}

.avx-hero-block .avx-hero-media-frame {
    width: 100%;
    height: 480px;
    position: relative;
}

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

.avx-hero-block .avx-hero-drop-card {
    background: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4D8DB);
    border-radius: 28px;
    max-width: 680px;
    z-index: 2;
    margin-top: -120px;
    margin-left: 24px;
    position: relative;
    box-shadow: 0 16px 36px rgba(43, 24, 29, 0.08);
}

.avx-hero-block .avx-hero-heading {
    font-family: 'Google Sans', sans-serif;
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--text, #2B181D);
    letter-spacing: -0.015em;
    word-break: break-word;
}

.avx-hero-block .avx-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted, #785E65);
}

.avx-hero-block .avx-hero-btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent, #E29DAF);
    color: #111111;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.avx-hero-block .avx-hero-btn-accent:hover {
    background-color: var(--primary, #881A37);
    color: #FFFFFF;
}

.avx-hero-block .avx-hero-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--primary, #881A37);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 26px;
    border-radius: 50px;
    border: 2px solid var(--primary, #881A37);
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.avx-hero-block .avx-hero-btn-outline:hover {
    background-color: var(--primary, #881A37);
    color: #FFFFFF;
}

.avx-hero-block .avx-hero-features {
    border-color: var(--border, #E4D8DB) !important;
    font-size: 14px;
}

@media (max-width: 991px) {
    .avx-hero-block .avx-hero-media-frame {
        height: 380px;
    }

    .avx-hero-block .avx-hero-drop-card {
        margin-top: -60px;
        margin-left: 0;
        max-width: 100%;
        border-radius: 24px;
    }

    .avx-hero-block .avx-hero-heading {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .avx-hero-block .avx-hero-media-frame {
        height: 260px;
        border-radius: 28px 12px 12px 12px;
    }

    .avx-hero-block .avx-hero-drop-card {
        margin-top: 16px;
        padding: 20px !important;
        border-radius: 20px;
    }

    .avx-hero-block .avx-hero-heading {
        font-size: 18px;
        line-height: 1.3;
    }

    .avx-hero-block .avx-hero-desc {
        font-size: 14px;
        margin-bottom: 16px !important;
    }

    .avx-hero-block .avx-hero-btn-accent,
    .avx-hero-block .avx-hero-btn-outline {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 10px 20px;
    }

    .avx-hero-block .avx-hero-features {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px !important;
    }
}

/* =====  ===== */
.all-games-grid-block {
    padding: 72px 0;
    overflow-x: hidden;
}

.all-games-grid-block__subtitle {
    max-width: 680px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.all-games-grid-block__filter-btn {
    border: 1px solid var(--border);
    background-color: var(--surface);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.all-games-grid-block__filter-btn:hover,
.all-games-grid-block__filter-btn.active {
    background-color: var(--primary);
    color: var(--on-primary);
    border-color: var(--primary);
}

.all-games-grid-block__card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.all-games-grid-block__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(43, 24, 29, 0.08);
}

.all-games-grid-block__img-wrap {
    aspect-ratio: 16 / 10;
    width: 100%;
    overflow: hidden;
    background-color: var(--surface-alt);
}

.all-games-grid-block__img-wrap img {
    object-fit: cover;
    transition: transform 0.3s ease;
}

.all-games-grid-block__card:hover .all-games-grid-block__img-wrap img {
    transform: scale(1.03);
}

.all-games-grid-block__duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(43, 24, 29, 0.85);
    color: var(--on-dark);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.all-games-grid-block__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.all-games-grid-block__meta-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.all-games-grid-block__game-title {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}

.all-games-grid-block__game-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.all-games-grid-block__game-title a:hover {
    color: var(--primary);
}

.all-games-grid-block__desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .all-games-grid-block {
        padding: 48px 0;
    }

    .all-games-grid-block__game-title {
        font-size: 16px;
    }

    .all-games-grid-block__subtitle {
        font-size: 14px;
    }
}

/* =====  ===== */
.game-duration-block__lead {
    max-width: 680px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.game-duration-block__card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.game-duration-block__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(43, 24, 29, 0.08);
}

.game-duration-block__icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--surface-alt);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.game-duration-block__text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.game-duration-block__meta {
    border-color: var(--border) !important;
    font-size: 13px;
}

.game-duration-block__meta-label {
    color: var(--text-muted);
}

.game-duration-block__meta-val {
    color: var(--primary-text);
}

.game-duration-block__summary-panel {
    background-color: var(--surface);
    border: 1px solid var(--border);
}

.game-duration-block__summary-text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .game-duration-block .avx-title {
        font-size: 24px;
    }

    .game-duration-block__summary-panel {
        text-align: left;
    }
}

/* =====  ===== */
.daily-challenge-section {
    background: var(--brand-band-bg, #881A37);
    color: var(--on-primary, #FFFFFF);
    overflow: hidden;
}

.daily-challenge-section .daily-eyebrow {
    color: var(--accent, #E29DAF);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.daily-challenge-section .daily-main-title {
    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 700;
    line-height: 1.25;
}

.daily-challenge-section .daily-intro {
    max-width: 640px;
    font-size: 15px;
    line-height: 1.6;
}

.daily-challenge-section .daily-challenge-card,
.daily-challenge-section .daily-leaderboard-card {
    background: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4D8DB);
    border-radius: 24px;
    color: var(--text, #2B181D);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.daily-challenge-section .daily-badge {
    background: #F3E9EC;
    color: var(--primary, #881A37);
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
}

.daily-challenge-section .daily-timer-pill {
    background: #FAF4F6;
    border: 1px solid var(--border, #E4D8DB);
    color: var(--text, #2B181D);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 13px;
}

.daily-challenge-section .daily-game-media {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
    max-height: 220px;
}

.daily-challenge-section .daily-game-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.daily-challenge-section .daily-game-media:hover img {
    transform: scale(1.03);
}

.daily-challenge-section .daily-game-title {
    font-size: 20px;
    font-weight: 700;
}

.daily-challenge-section .daily-game-title a {
    color: var(--primary, #881A37);
}

.daily-challenge-section .daily-game-title a:hover {
    color: var(--primary-hover, #6A142B);
}

.daily-challenge-section .daily-mission-desc {
    font-size: 14px;
    color: var(--text-muted, #785E65);
    line-height: 1.6;
}

.daily-challenge-section .daily-reward-box {
    background: var(--surface-alt, #F3E9EC);
    border: 1px dashed var(--border, #E4D8DB);
}

.daily-challenge-section .daily-reward-icon {
    color: var(--primary, #881A37);
    font-size: 18px;
}

.daily-challenge-section .daily-progress-label {
    font-size: 14px;
    color: var(--text, #2B181D);
}

.daily-challenge-section .daily-progress-value {
    font-size: 14px;
    color: var(--primary, #881A37);
}

.daily-challenge-section .daily-progress-bar-bg {
    height: 12px;
    background-color: #E4D8DB;
    border-radius: 10px;
    overflow: hidden;
}

.daily-challenge-section .daily-progress-bar-fill {
    background-color: var(--primary, #881A37);
    border-radius: 10px;
}

.daily-challenge-section .daily-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text, #2B181D);
}

.daily-challenge-section .daily-rank-item {
    background: #FAF4F6;
    border: 1px solid var(--border, #E4D8DB);
}

.daily-challenge-section .daily-rank-top1 {
    background: #FFF9E6;
    border-color: #FFE699;
}

.daily-challenge-section .daily-rank-top2 {
    background: #F8F9FA;
    border-color: #E9ECEF;
}

.daily-challenge-section .daily-rank-top3 {
    background: #FFF0ED;
    border-color: #FFD8CE;
}

.daily-challenge-section .daily-rank-medal {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.daily-challenge-section .daily-medal-1 {
    background: #FFD700;
    color: #5C4300;
}

.daily-challenge-section .daily-medal-2 {
    background: #C0C0C0;
    color: #333333;
}

.daily-challenge-section .daily-medal-3 {
    background: #CD7F32;
    color: #FFFFFF;
}

.daily-challenge-section .daily-rank-number {
    width: 32px;
    text-align: center;
    font-size: 15px;
}

.daily-challenge-section .daily-player-meta {
    line-height: 1.2;
}

.daily-challenge-section .daily-time-record {
    font-size: 14px;
}

.daily-challenge-section .daily-notes-box {
    background: var(--surface-alt, #F3E9EC);
    border-left: 3px solid var(--primary, #881A37);
}

@media (max-width: 767px) {
    .daily-challenge-section .daily-main-title {
        font-size: 20px;
    }

    .daily-challenge-section .daily-game-title {
        font-size: 18px;
    }

    .daily-challenge-section .daily-card-title {
        font-size: 16px;
    }

    .daily-challenge-section .daily-game-media {
        max-height: 180px;
    }
}

/* =====  ===== */
.avx-support-faq .avx-support-faq__subtitle {
    max-width: 680px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6
}

.avx-support-faq .avx-support-faq__step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: transform .2s ease, box-shadow .2s ease
}

.avx-support-faq .avx-support-faq__step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(43, 24, 29, .08)
}

.avx-support-faq .avx-support-faq__icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--surface-alt);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px
}

.avx-support-faq .avx-support-faq__step-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6
}

.avx-support-faq .avx-support-faq__accordion-wrapper {
    background: var(--surface-alt);
    border: 1px solid var(--border)
}

.avx-support-faq .avx-support-faq__faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    transition: border-color .2s ease
}

.avx-support-faq .avx-support-faq__faq-item.active {
    border-color: var(--primary)
}

.avx-support-faq .avx-support-faq__faq-btn {
    color: var(--text);
    font-size: 16px;
    cursor: pointer
}

.avx-support-faq .avx-support-faq__faq-btn i {
    transition: transform .2s ease;
    color: var(--primary)
}

.avx-support-faq .avx-support-faq__faq-item.active .avx-support-faq__faq-btn i {
    transform: rotate(180deg)
}

.avx-support-faq .avx-support-faq__faq-content {
    display: none;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    border-top: 1px dashed var(--border);
    padding-top: 12px
}

.avx-support-faq .avx-support-faq__faq-item.active .avx-support-faq__faq-content {
    display: block
}

.avx-support-faq .avx-support-faq__contact-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px
}

.avx-support-faq .avx-support-faq__contact-panel p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6
}

.avx-support-faq .avx-support-faq__contact-item {
    background: var(--surface-alt);
    border: 1px solid var(--border)
}

.avx-support-faq .avx-support-faq__contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px
}

.avx-support-faq .avx-support-faq__contact-label {
    color: var(--primary);
    letter-spacing: .05em;
    font-size: 11px
}

.avx-support-faq .avx-support-faq__contact-link {
    color: var(--text);
    text-decoration: none;
    transition: color .2s ease;
    overflow-wrap: anywhere
}

.avx-support-faq .avx-support-faq__contact-link:hover {
    color: var(--primary);
    text-decoration: underline
}

@media(max-width:767px) {
    .avx-support-faq .avx-title {
        font-size: 22px
    }

    .avx-support-faq .avx-support-faq__faq-btn {
        font-size: 15px
    }
}

/* =====  ===== */
.site-footer {
    padding-top: 64px;
    padding-bottom: 32px;
    color: var(--text, #2B181D);
    border-top: 1px solid var(--border, #E4D8DB);
}

.site-footer__logo {
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
}

.site-footer__brand-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary, #881A37);
    letter-spacing: -0.01em;
}

.site-footer__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted, #785E65);
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.site-footer__col-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text, #2B181D);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.site-footer__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__link {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted, #785E65);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    overflow-wrap: anywhere;
}

.site-footer__link:hover,
.site-footer__link:focus {
    color: var(--primary, #881A37);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer__contact-icon {
    color: var(--primary, #881A37);
    font-size: 16px;
    line-height: 1.4;
}

.site-footer__contact-text,
.site-footer__contact-link {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted, #785E65);
    overflow-wrap: anywhere;
}

.site-footer__bottom {
    border-color: var(--border, #E4D8DB) !important;
}

.site-footer__copy {
    font-size: 13px;
    color: var(--text-muted, #785E65);
}

.site-footer__badge-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    background: var(--surface, #FFFFFF);
    color: var(--primary, #881A37);
    border: 1px solid var(--border, #E4D8DB);
}

@media (max-width: 767px) {
    .site-footer {
        padding-top: 48px;
        padding-bottom: 24px;
    }

    .site-footer__col-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .site-footer__main-row {
        row-gap: 28px !important;
    }
}

/* ===== PAGE: about ===== */
.about-section .about-panel {
  background: var(--surface-alt, #F3E9EC);
  border-radius: 28px;
  padding: 48px 36px;
  border: 1px solid var(--border, #E4D8DB);
}

.about-section .about-media-wrapper {
  padding-bottom: 24px;
  padding-right: 16px;
}

.about-section .about-accent-block {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 70%;
  height: 70%;
  background: var(--accent, #E29DAF);
  border-radius: 40px 16px 16px 16px;
  z-index: 1;
}

.about-section .about-image-frame {
  border-radius: 48px 16px 16px 16px;
  height: 380px;
  background: var(--surface, #FFFFFF);
  position: relative;
  z-index: 2;
  border: 2px solid var(--border, #E4D8DB);
}

.about-section .about-badge-card {
  position: absolute;
  bottom: 0;
  left: 20px;
  background: var(--surface, #FFFFFF);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(43, 24, 29, 0.12);
  border: 1px solid var(--border, #E4D8DB);
  z-index: 3;
  max-width: calc(100% - 40px);
}

.about-section .about-badge-icon {
  width: 48px;
  height: 48px;
  background: var(--surface-alt, #F3E9EC);
  color: var(--primary, #881A37);
  border-radius: 14px;
  flex-shrink: 0;
}

.about-section .about-check-icon {
  width: 24px;
  height: 24px;
  background: var(--primary, #881A37);
  color: var(--on-primary, #FFFFFF);
  border-radius: 50%;
  font-size: 14px;
}

.about-section .about-value-card {
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--border, #E4D8DB);
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(43, 24, 29, 0.03);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.about-section .about-value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(43, 24, 29, 0.08);
}

.about-section .about-value-icon {
  width: 52px;
  height: 52px;
  background: var(--surface-alt, #F3E9EC);
  color: var(--primary, #881A37);
  border-radius: 16px;
}

.about-section .avx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary, #881A37);
  color: var(--on-primary, #FFFFFF);
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  transition: all 0.2s ease-in-out;
}

.about-section .avx-btn:hover {
  background: var(--accent, #E29DAF);
  color: var(--on-accent, #111111);
}

.about-section .avx-btn-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--primary, #881A37);
  border: 2px solid var(--primary, #881A37);
  border-radius: 50px;
  padding: 10px 26px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.about-section .avx-btn-alt:hover {
  background: var(--primary, #881A37);
  color: var(--on-primary, #FFFFFF);
}

@media (max-width: 767px) {
  .about-section .about-panel {
    padding: 24px 16px;
    border-radius: 20px;
  }
  .about-section .about-image-frame {
    height: 260px;
    border-radius: 32px 12px 12px 12px;
  }
  .about-section .about-media-wrapper {
    padding-bottom: 32px;
    padding-right: 0;
  }
  .about-section .about-badge-card {
    position: static;
    margin-top: -24px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
  }
  .about-section .about-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .about-section .about-cta-group .avx-btn,
  .about-section .about-cta-group .avx-btn-alt {
    width: 100%;
    text-align: center;
  }
  .about-section h2.avx-title {
    font-size: 1.25rem;
  }
  .about-section h3 {
    font-size: 1rem;
  }
}

/* ===== PAGE: game-collection ===== */
.games-archive-section {
  position: relative;
}

.games-archive-section .game-poster-card {
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid #E4D8DB;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.games-archive-section .game-poster-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(43, 24, 29, 0.12);
}

.games-archive-section .game-poster-link {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 19px;
  text-decoration: none;
}

.games-archive-section .game-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.games-archive-section .game-poster-card:hover .game-poster-img {
  transform: scale(1.04);
}

.games-archive-section .game-poster-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(180deg, rgba(43, 24, 29, 0.05) 40%, rgba(43, 24, 29, 0.85) 100%);
  z-index: 2;
  text-align: center;
  align-items: center;
}

.games-archive-section .game-poster-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .games-archive-section .game-poster-title {
    font-size: 13px;
  }
  .games-archive-section .game-poster-overlay {
    padding: 10px !important;
  }
}

/* ===== PAGE: support ===== */
.support-page-section {
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.support-page-section .max-w-650 {
  max-width: 650px;
}

.support-page-section .support-boxed-panel {
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px 28px;
}

.support-page-section .support-step-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.support-page-section .support-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(43, 24, 29, 0.08);
}

.support-page-section .support-capsule-badge {
  display: inline-block;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.support-page-section .support-icon-square {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background-color: var(--surface-alt);
  color: var(--primary);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.support-page-section .support-filter-btn {
  border: 1px solid var(--border);
  background-color: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.support-page-section .support-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.support-page-section .support-filter-btn.active {
  background-color: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}

.support-page-section .support-accordion .accordion-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.support-page-section .support-accordion .accordion-button {
  background-color: var(--surface);
  color: var(--text);
  font-size: 16px;
  padding: 18px 22px;
  box-shadow: none;
}

.support-page-section .support-accordion .accordion-button:not(.collapsed) {
  background-color: var(--surface-alt);
  color: var(--primary);
}

.support-page-section .support-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--border);
}

.support-page-section .support-accordion .accordion-body {
  padding: 18px 22px 22px 22px;
  font-size: 15px;
  line-height: 1.6;
  background-color: var(--surface);
}

.support-page-section .support-contact-wrapper {
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
}

.support-page-section .support-contact-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background-color: var(--surface-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.support-page-section .support-map-frame {
  height: 100%;
  min-height: 380px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}

.support-page-section .support-map-frame iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 380px;
  border: 0;
  display: block;
}

@media (max-width: 767px) {
  .support-page-section .support-boxed-panel {
    padding: 24px 16px;
  }
  .support-page-section .support-map-frame {
    min-height: 300px;
    height: 300px;
  }
  .support-page-section .support-step-card {
    padding: 18px;
  }
  .support-page-section .support-contact-wrapper {
    padding: 20px 14px !important;
  }
}

/* ===== PAGE: update-news ===== */
.news-grid-section { background-color: var(--bg); position: relative; }
.news-grid-section .news-heading { font-size: 26px; font-weight: 700; color: var(--text); line-height: 1.3; }
.news-grid-section .news-title-line { height: 2px; background: linear-gradient(90deg, var(--border) 0%, rgba(228, 216, 219, 0) 100%); }
.news-grid-section .news-overlay-card { box-shadow: 0 4px 16px rgba(43, 24, 29, 0.08); transition: transform 0.25s ease, box-shadow 0.25s ease; isolation: isolate; }
.news-grid-section .news-overlay-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(43, 24, 29, 0.16); }
.news-grid-section .news-media-ratio { aspect-ratio: 1 / 1; background-color: var(--surface-alt); }
.news-grid-section .news-media-ratio img { transition: transform 0.35s ease; }
.news-grid-section .news-overlay-card:hover .news-media-ratio img { transform: scale(1.05); }
.news-grid-section .news-overlay-gradient { background: linear-gradient(180deg, rgba(53, 13, 24, 0.1) 0%, rgba(53, 13, 24, 0.72) 50%, rgba(53, 13, 24, 0.94) 100%); z-index: 2; }
.news-grid-section .news-meta-row { font-size: 13px; color: var(--on-dark-muted); }
.news-grid-section .news-meta-divider { opacity: 0.6; }
.news-grid-section .news-card-title { font-size: 19px; line-height: 1.35; font-weight: 700; overflow-wrap: anywhere; word-break: break-word; }
.news-grid-section .news-read-link { font-size: 14px; text-underline-offset: 4px; transition: color 0.2s ease; }
.news-grid-section .news-overlay-card:hover .news-read-link { color: var(--accent) !important; }
@media (max-width: 767px) {
  .news-grid-section .news-heading { font-size: 16px; }
  .news-grid-section .news-card-title { font-size: 16px; }
  .news-grid-section .news-meta-row { font-size: 12px; }
}

/* ===== PAGE: auth ===== */
.auth-info-section { padding: 56px 0; }
.auth-info-section .auth-boxed-panel { background: var(--surface-alt, #F3E9EC); border-radius: 28px; padding: 40px 32px; border: 1px solid var(--border, #E4D8DB); }
.auth-info-section .auth-visual-wrap { width: 100%; aspect-ratio: 4 / 3; min-height: 280px; }
.auth-info-section .auth-accent-backdrop { position: absolute; top: -12px; right: -12px; width: 100%; height: 100%; background: var(--accent, #E29DAF); border-radius: 48px 16px 16px 16px; z-index: 1; }
.auth-info-section .auth-media-frame { position: relative; width: 100%; height: 100%; border-radius: 48px 16px 16px 16px; overflow: hidden; z-index: 2; box-shadow: 0 12px 32px rgba(43, 24, 29, 0.08); }
.auth-info-section .auth-lead-text { color: var(--text, #2B181D); font-size: 16px; line-height: 1.6; }
.auth-info-section .auth-icon-badge { width: 44px; height: 44px; background: var(--primary, #881A37); border-radius: 12px; }
.auth-info-section .auth-item-title { font-size: 18px; font-weight: 700; color: var(--text, #2B181D); line-height: 1.3; }
.auth-info-section .auth-item-desc { font-size: 14px; color: var(--text-muted, #785E65); line-height: 1.5; }
.auth-info-section .auth-step-card { background: var(--surface, #FFFFFF); border: 1px solid var(--border, #E4D8DB); border-radius: 24px; padding: 28px 24px; transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; }
.auth-info-section .auth-step-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(43, 24, 29, 0.08); }
.auth-info-section .auth-step-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--primary, #881A37); border-radius: 50px; padding: 4px 14px; background: var(--surface-alt, #F3E9EC); }
.auth-info-section .auth-step-number { font-weight: 700; color: var(--primary, #881A37); font-size: 14px; }
.auth-info-section .auth-step-label { font-weight: 600; color: var(--text, #2B181D); font-size: 13px; }
.auth-info-section .auth-card-title { font-size: 20px; font-weight: 700; color: var(--text, #2B181D); line-height: 1.3; }
.auth-info-section .auth-card-text { font-size: 15px; color: var(--text-muted, #785E65); line-height: 1.55; }
.auth-info-section .auth-faq-card { background: var(--surface, #FFFFFF); border: 1px solid var(--border, #E4D8DB); border-radius: 20px; }
.auth-info-section .auth-faq-title { font-size: 17px; font-weight: 700; color: var(--text, #2B181D); line-height: 1.35; }
.auth-info-section .auth-faq-text { font-size: 14px; color: var(--text-muted, #785E65); line-height: 1.55; }
@media (max-width: 767px) { .auth-info-section { padding: 36px 0; } .auth-info-section .auth-boxed-panel { padding: 24px 16px; border-radius: 20px; } .auth-info-section .auth-visual-wrap { aspect-ratio: 16 / 10; min-height: 220px; } .auth-info-section .auth-accent-backdrop { top: -6px; right: -6px; } .auth-info-section .auth-card-title { font-size: 18px; } .auth-info-section .auth-faq-title { font-size: 16px; } }

/* ===== PAGE: how-to-play ===== */
.htp-section { padding: 72px 0; }
.htp-boxed-panel { background: var(--surface-alt); border-radius: 28px; padding: 48px 36px; border: 1px solid var(--border); }
.htp-lead-text { font-size: 18px; line-height: 1.6; color: var(--text-muted); }
.htp-check-title { font-size: 18px; font-weight: 700; color: var(--text); }
.htp-check-desc { font-size: 14px; color: var(--text-muted); }
.htp-photo-container { position: relative; padding: 16px; }
.htp-photo-backdrop { position: absolute; top: 0; right: 0; width: 85%; height: 85%; background: var(--accent); border-radius: 48px 16px 16px 16px; z-index: 1; }
.htp-photo-frame { position: relative; z-index: 2; border-radius: 40px 12px 12px 12px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 12px 32px rgba(43, 24, 29, 0.08); }
.htp-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.htp-drop-caption { position: absolute; bottom: 20px; left: 20px; z-index: 3; background: var(--surface); padding: 16px 20px; border-radius: 20px; border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(43, 24, 29, 0.1); max-width: 300px; width: auto; height: auto; }
.htp-caption-sub { font-size: 13px; color: var(--text-muted); }
.htp-subtitle { font-size: 16px; color: var(--text-muted); max-width: 680px; }
.htp-filter-btn { border-radius: 50px; padding: 10px 24px; font-size: 15px; font-weight: 600; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; transition: all 0.2s ease-in-out; }
.htp-filter-btn:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.htp-filter-btn.active { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.htp-guide-card { border-radius: 24px; padding: 24px; border: 1px solid var(--border); background: var(--surface); transition: all 0.2s ease-in-out; }
.htp-guide-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(43, 24, 29, 0.08); }
.htp-guide-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.htp-guide-level { font-size: 13px; font-weight: 600; color: var(--primary-text); }
.htp-card-title { font-size: 20px; font-weight: 700; color: var(--text); }
.htp-card-text { font-size: 15px; line-height: 1.55; color: var(--text-muted); }
.htp-card-controls { background: var(--surface-alt); border: 1px solid var(--border); }
.htp-control-label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.htp-control-key { font-size: 13px; font-weight: 700; color: var(--text); background: var(--surface); padding: 4px 10px; border-radius: 8px; border: 1px solid var(--border); }
.htp-tip-text { font-size: 13px; font-weight: 500; color: var(--primary-text); }
.htp-radial-card { background: var(--surface-alt); border-radius: 24px; padding: 44px 24px 28px 24px; border: 1px solid var(--border); position: relative; height: 100%; transition: all 0.2s ease-in-out; }
.htp-radial-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(43, 24, 29, 0.08); }
.htp-protruding-badge { width: 52px; height: 52px; background: var(--primary); color: var(--on-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; position: absolute; top: -26px; left: 50%; transform: translateX(-50%); box-shadow: 0 6px 16px rgba(136, 26, 55, 0.25); }
.htp-radial-title { font-size: 19px; font-weight: 700; color: var(--text); }
.htp-radial-desc { font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.htp-card-link { font-size: 14px; font-weight: 600; color: var(--primary-text); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: color 0.2s ease; }
.htp-card-link:hover { color: var(--primary-hover); text-decoration: underline; }
@media (max-width: 767px) {
  .htp-section { padding: 48px 0; }
  .htp-boxed-panel { padding: 28px 20px; border-radius: 20px; }
  .htp-photo-container { padding: 8px; margin-top: 16px; height: auto; }
  .htp-photo-backdrop { display: none; }
  .htp-drop-caption { position: static; margin: 16px 0 0; max-width: 100%; width: 100%; height: auto; transform: none; box-shadow: 0 4px 16px rgba(43, 24, 29, 0.08); }
  .htp-card-title { font-size: 18px; }
  .htp-radial-card { padding-top: 40px; margin-top: 24px; }
}

/* ===== PAGE: tournament-history ===== */
.tournament-history-section { background-color: var(--bg); }
.tournament-history-section .tournament-portal-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.tournament-history-section .tournament-mosaic-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; }
.tournament-history-section .tournament-mosaic-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(43, 24, 29, 0.08); }
.tournament-history-section .tournament-card-media-link { display: block; overflow: hidden; }
.tournament-history-section .tournament-card-media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-alt); }
.tournament-history-section .tournament-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.tournament-history-section .tournament-mosaic-card:hover .tournament-card-media img { transform: scale(1.04); }
.tournament-history-section .tournament-card-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; text-align: center; justify-content: space-between; gap: 12px; }
.tournament-history-section .tournament-card-title { font-size: 17px; font-weight: 700; line-height: 1.35; margin: 0; overflow-wrap: anywhere; }
.tournament-history-section .tournament-title-link { color: var(--text); text-decoration: none; transition: color 0.2s ease; }
.tournament-history-section .tournament-title-link:hover { color: var(--primary); }
.tournament-history-section .tournament-meta-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); margin-top: auto; }
.tournament-history-section .tournament-arrow-btn { width: 36px; height: 36px; border-radius: 50%; background-color: var(--surface-alt); color: var(--primary-text); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.2s ease; flex-shrink: 0; }
.tournament-history-section .tournament-arrow-btn:hover { background-color: var(--primary); color: var(--on-primary); transform: translateX(2px); }
@media (min-width: 992px) {
  .tournament-history-section .tournament-portal-mosaic { grid-template-columns: 1.4fr 1fr 1fr; }
  .tournament-history-section .tournament-mosaic-card.featured .tournament-card-title { font-size: 20px; }
}
@media (max-width: 991px) and (min-width: 768px) {
  .tournament-history-section .tournament-portal-mosaic { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .tournament-history-section .tournament-portal-mosaic { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tournament-history-section .tournament-card-body { padding: 14px 10px; }
  .tournament-history-section .tournament-card-title { font-size: 13px; line-height: 1.3; }
  .tournament-history-section .tournament-meta-bottom { flex-direction: column; gap: 6px; padding-top: 8px; }
  .tournament-history-section .tournament-arrow-btn { width: 30px; height: 30px; font-size: 14px; }
}

/* ===== PAGE: privacy ===== */
.privacy-page .privacy-boxed-panel { margin: 0 auto; padding: 48px 32px; border-radius: 28px; background: #F3E9EC; max-width: 1200px; } .privacy-page .privacy-lead-text { font-size: 18px; line-height: 1.6; color: #2B181D; margin-bottom: 16px; overflow-wrap: anywhere; } .privacy-page .privacy-meta-badge { background: #FFFFFF; border: 1px solid #E4D8DB; border-radius: 50px; padding: 6px 16px; font-size: 13px; font-weight: 500; color: #785E65; } .privacy-page .privacy-card { background: #FFFFFF; border: 1px solid #E4D8DB; border-radius: 24px; padding: 32px 28px; } .privacy-page .privacy-icon-box { width: 48px; height: 48px; min-width: 48px; border-radius: 12px; background: #F3E9EC; color: #881A37; display: flex; align-items: center; justify-content: center; font-size: 22px; } .privacy-page .privacy-section-heading { font-size: 22px; line-height: 1.3; font-weight: 700; color: #2B181D; overflow-wrap: anywhere; } .privacy-page .privacy-text { font-size: 16px; line-height: 1.6; color: #2B181D; overflow-wrap: anywhere; } .privacy-page .privacy-list { list-style: none; padding-left: 0; margin-bottom: 0; } .privacy-page .privacy-list li { font-size: 15px; line-height: 1.55; color: #2B181D; overflow-wrap: anywhere; } .privacy-page .text-primary-custom { color: #881A37; font-size: 17px; } .privacy-page .privacy-subcard { background: #F3E9EC; border-radius: 16px; border: 1px solid #E4D8DB; } .privacy-page .privacy-subcard-title { font-size: 16px; font-weight: 700; color: #2B181D; } .privacy-page .privacy-subcard-text { font-size: 14px; line-height: 1.5; color: #785E65; overflow-wrap: anywhere; } .privacy-page .privacy-help-box { background: #FAF4F6; border-radius: 16px; border: 1px solid #E4D8DB; font-size: 15px; color: #2B181D; } .privacy-page .privacy-link { color: #881A37; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; } .privacy-page .privacy-link:hover { color: #6A142B; } @media (max-width: 767px) { .privacy-page .privacy-boxed-panel { padding: 24px 16px; border-radius: 20px; } .privacy-page .privacy-card { padding: 20px 16px; border-radius: 18px; } .privacy-page .privacy-section-heading { font-size: 18px; } .privacy-page .privacy-lead-text { font-size: 15px; } .privacy-page .privacy-card-header { align-items: flex-start !important; } }

/* ===== PAGE: terms ===== */
.terms-block { background-color: var(--bg); color: var(--text); } .terms-block__panel { background-color: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 48px 32px; box-shadow: 0 4px 20px rgba(43, 24, 29, 0.03); } .terms-block__meta { font-size: 14px; } .terms-block__subtitle { font-size: 20px; font-weight: 700; color: var(--primary); letter-spacing: -0.01em; border-bottom: 2px solid var(--surface-alt); padding-bottom: 8px; } .terms-block__content p { font-size: 16px; line-height: 1.7; color: var(--text); } .terms-block__list { list-style-type: disc; color: var(--text); font-size: 16px; line-height: 1.7; } .terms-block__list li { margin-bottom: 8px; } .terms-block__nav-link a { color: var(--primary); transition: color 0.2s ease-in-out; } .terms-block__nav-link a:hover { color: var(--primary-hover); text-decoration: underline !important; } @media (max-width: 767px) { .terms-block__panel { padding: 24px 16px; border-radius: 20px; } .terms-block__subtitle { font-size: 18px; } .terms-block__content p, .terms-block__list { font-size: 15px; } }

/* ===== PAGE: disclaimer ===== */
.disclaimer-block {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-family-body, 'Google Sans', sans-serif);
}

.disclaimer-block__container {
  width: 100%;
}

.disclaimer-block__intro-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 4px 16px rgba(43, 24, 29, 0.03);
}

.disclaimer-block__meta-date {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.disclaimer-block__lead {
  font-size: 17px;
  line-height: 1.65;
}

.disclaimer-block__content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 4px 20px rgba(43, 24, 29, 0.04);
}

.disclaimer-block__icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background-color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.disclaimer-block__subtitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.disclaimer-block__text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  overflow-wrap: anywhere;
}

.disclaimer-block__note-text {
  font-size: 15px;
  line-height: 1.5;
}

.disclaimer-block__btn {
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
}

.disclaimer-block__btn-alt {
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
}

@media (max-width: 767px) {
  .disclaimer-block__intro-card,
  .disclaimer-block__content-card {
    border-radius: 20px;
    padding: 20px 16px !important;
  }

  .disclaimer-block__subtitle {
    font-size: 16px;
  }

  .disclaimer-block__text {
    font-size: 14px;
    line-height: 1.6;
  }

  .disclaimer-block__lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .disclaimer-block__icon-box {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 17px;
  }

  .disclaimer-block__btn,
  .disclaimer-block__btn-alt {
    width: 100%;
    text-align: center;
  }
}

.arcade-comment-card.main-thread {
    background-color: #FFFFFF;
    border: 1px solid #E4D8DB;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(43, 24, 29, 0.04);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.arcade-comment-card.main-thread:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(43, 24, 29, 0.08);
}

.arcade-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #881A37 0%, #C63F62 100%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    border: 2px solid #FAF4F6;
    flex-shrink: 0;
}

.comment-author-name {
    font-size: 16px;
    font-weight: 700;
    color: #2B181D;
}

.comment-badge-role {
    background-color: #F3E9EC;
    color: #881A37;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid #E4D8DB;
}

.comment-timestamp {
    font-size: 13px;
    color: #785E65;
}

.comment-text {
    font-size: 15px;
    line-height: 1.6;
    color: #2B181D;
}

.btn-action-like {
    background-color: #F3E9EC;
    color: #881A37;
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.btn-action-like:hover {
    background-color: #E29DAF;
    color: #111111;
    border-color: #E29DAF;
}

.btn-action-reply {
    background-color: transparent;
    color: #785E65;
    border: 1px solid #E4D8DB;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.btn-action-reply:hover {
    background-color: #881A37;
    color: #FFFFFF;
    border-color: #881A37;
}

.arcade-comment-card.nested-reply {
    background-color: #F3E9EC;
    border: 1px solid #E4D8DB;
    border-left: 4px solid #881A37;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(43, 24, 29, 0.03);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.arcade-comment-card.nested-reply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(43, 24, 29, 0.06);
}

.arcade-avatar.reply-avatar {
    width: 42px;
    height: 42px;
    font-size: 14px;
    background: linear-gradient(135deg, #350D18 0%, #881A37 100%);
}

.reply-badge {
    background-color: #881A37;
    color: #FFFFFF;
    border-color: #881A37;
}

.arcade-comment-card.nested-reply .comment-author-name {
    font-size: 15px;
    font-weight: 700;
    color: #2B181D;
}

.arcade-comment-card.nested-reply .comment-timestamp {
    font-size: 12px;
    color: #785E65;
}

.arcade-comment-card.nested-reply .comment-text {
    font-size: 14px;
    line-height: 1.55;
    color: #2B181D;
}

.arcade-comment-card.nested-reply .btn-action-like {
    background-color: #FFFFFF;
    color: #881A37;
    border: 1px solid #E4D8DB;
    padding: 4px 12px;
    font-size: 12px;
}

.arcade-comment-card.nested-reply .btn-action-like:hover {
    background-color: #E29DAF;
    color: #111111;
    border-color: #E29DAF;
}


/* ===== PAGE TEMPLATE: game-collection ===== */
:root {
    --bg: #FAF4F6;
    --surface: #FFFFFF;
    --surface-alt: #F3E9EC;
    --text: #2B181D;
    --text-muted: #785E65;
    --border: #E4D8DB;
    --primary: #881A37;
    --primary-hover: #6A142B;
    --on-primary: #FFFFFF;
    --primary-text: #881A37;
    --accent: #E29DAF;
    --on-accent: #111111;
    --accent-text: #C63F62;
    --dark-band: #350D18;
    --on-dark: #FFFFFF;
    --on-dark-muted: #C3B6BA;
}

body {
    font-family: 'Google Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

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

.avx-section-alt {
    background: linear-gradient(178deg, #F3E9EC 0%, #F7F0F2 100%);
}

.avx-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.avx-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(43, 24, 29, 0.08);
}

.avx-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.avx-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.015em;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.avx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 50px;
    background-color: var(--primary);
    color: var(--on-primary);
    font-weight: 600;
    font-size: 15px;
    border: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.avx-btn:hover {
    background-color: var(--accent);
    color: var(--on-accent);
}

.avx-btn-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 50px;
    background-color: var(--surface-alt);
    color: var(--primary-text);
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.avx-btn-alt:hover {
    background-color: var(--primary);
    color: var(--on-primary);
    border-color: var(--primary);
}

.game-header {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.game-header__brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.game-header__nav-link {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.game-header__nav-link:hover,
.game-header__nav-link.active {
    color: var(--primary);
}

.game-stage-container {
    background: #000000;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(43, 24, 29, 0.12);
}

.game-stage-topbar {
    background-color: #1a080d;
    color: #ffffff;
}

.game-stage-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
}

.game-stage-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    overflow-wrap: anywhere;
}

.game-control-btn {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.game-control-btn:hover {
    background-color: var(--accent);
    color: #111111;
}

.game-control-btn--exit {
    display: none;
    background-color: #350D18;
    border: 1px solid #E29DAF;
}

.game-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 560px;
    background-color: #050505;
}

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

.game-stage-container.is-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999;
    border-radius: 0;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}

.game-stage-container.is-fullscreen .game-iframe-wrapper {
    flex: 1 1 auto;
    height: calc(100vh - 54px);
}

.game-stage-container.is-fullscreen .game-control-btn--exit {
    display: inline-flex;
}

.game-stage-container.is-fullscreen .js-fullscreen-btn {
    display: none;
}

.game-facts-panel {
    background-color: var(--surface);
    border: 1px solid var(--border);
}

.game-fact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--surface-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.game-fact-label {
    font-size: 13px;
    color: var(--text-muted);
}

.game-fact-value {
    font-size: 15px;
    color: var(--text);
}

.game-feature-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: var(--surface-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.game-feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.game-feature-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

.game-media-frame {
    background-color: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(43, 24, 29, 0.05);
}

.game-spotlight-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
}

.game-specs-box {
    background-color: var(--surface-alt);
    border: 1px solid var(--border);
}

.game-cta-banner {
    background: var(--surface);
    border: 1px solid var(--border);
    max-width: 900px;
    margin: 0 auto;
}

.game-thumb-wrapper {
    width: 100%;
    height: 150px;
}

.fs-7 {
    font-size: 13px;
}

.site-footer {
    padding-top: 64px;
    padding-bottom: 32px;
    color: var(--text, #2B181D);
    border-top: 1px solid var(--border, #E4D8DB);
}

.site-footer__logo {
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
}

.site-footer__brand-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary, #881A37);
    letter-spacing: -0.01em;
}

.site-footer__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted, #785E65);
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.site-footer__col-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text, #2B181D);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.site-footer__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__link {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted, #785E65);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    overflow-wrap: anywhere;
}

.site-footer__link:hover,
.site-footer__link:focus {
    color: var(--primary, #881A37);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer__contact-icon {
    color: var(--primary, #881A37);
    font-size: 16px;
    line-height: 1.4;
}

.site-footer__contact-text,
.site-footer__contact-link {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted, #785E65);
    overflow-wrap: anywhere;
}

.site-footer__bottom {
    border-color: var(--border, #E4D8DB) !important;
}

.site-footer__copy {
    font-size: 13px;
    color: var(--text-muted, #785E65);
}

.site-footer__badge-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    background: var(--surface, #FFFFFF);
    color: var(--primary, #881A37);
    border: 1px solid var(--border, #E4D8DB);
}

@media (max-width: 767px) {
    .avx-title {
        font-size: 22px;
    }

    .game-iframe-wrapper {
        height: 380px;
    }

    .game-stage-title {
        font-size: 15px;
    }

    .game-stage-topbar {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .game-stage-topbar .game-control-btn {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
    }

    .site-footer {
        padding-top: 48px;
        padding-bottom: 24px;
    }

    .site-footer__col-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .site-footer__main-row {
        row-gap: 28px !important;
    }
}

/* ===== PAGE TEMPLATE: update-news ===== */
body.news-detail-body {
    background-color: var(--bg, #FAF4F6);
    color: var(--text, #2B181D);
    font-family: 'Google Sans', sans-serif;
    overflow-x: hidden;
}

.site-header {
    background-color: var(--surface, #FFFFFF);
    border-bottom: 1px solid var(--border, #E4D8DB);
}

.site-header__logo {
    object-fit: contain;
}

.site-header__brand-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary, #881A37);
}

.site-header__link {
    color: var(--text, #2B181D);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.site-header__link:hover,
.site-header__link.active {
    color: var(--primary, #881A37);
}

.news-hero {
    padding: 60px 0;
    background: var(--dark-band-bg, linear-gradient(157deg, #350D18 0%, #541223 100%));
    color: var(--on-dark, #FFFFFF);
}

.news-hero__title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--on-dark, #FFFFFF);
    overflow-wrap: anywhere;
}

.news-hero__subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--on-dark-muted, #C3B6BA);
    max-width: 800px;
    margin: 0 auto;
    overflow-wrap: anywhere;
}

.news-hero__meta-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--on-dark, #FFFFFF);
}

.news-hero__pill-divider {
    opacity: 0.4;
}

.key-facts-strip {
    background: var(--surface-alt, #F3E9EC);
    border-color: var(--border, #E4D8DB) !important;
}

.key-facts-strip__icon {
    color: var(--primary, #881A37);
    font-size: 16px;
}

.key-facts-strip__label {
    font-size: 13px;
    color: var(--text-muted, #785E65);
}

.key-facts-strip__val {
    font-size: 13px;
    font-weight: 600;
    color: var(--text, #2B181D);
}

.article-main-section__media-wrap {
    position: relative;
    border-radius: 40px 12px 12px 12px;
    overflow: visible;
}

.article-main-section__accent-bg {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 100%;
    height: 100%;
    background-color: var(--accent, #E29DAF);
    border-radius: 40px 12px 12px 12px;
    z-index: 0;
}

.article-main-section__img {
    position: relative;
    z-index: 1;
    border-radius: 40px 12px 12px 12px;
    max-height: 480px;
    object-fit: cover;
    display: block;
    border: 1px solid var(--border, #E4D8DB);
}

.article-main-section__takeaway-box {
    background-color: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4D8DB);
    box-shadow: 0 4px 16px rgba(43, 24, 29, 0.04);
}

.article-main-section__takeaway-list {
    color: var(--text, #2B181D);
    line-height: 1.6;
}

.article-main-section__num-badge {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary, #881A37);
    background-color: var(--surface-alt, #F3E9EC);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
}

.article-main-section__h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text, #2B181D);
    line-height: 1.3;
}

.article-main-section__text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text, #2B181D);
    margin-bottom: 16px;
    overflow-wrap: anywhere;
}

.article-main-section__callout {
    background-color: var(--surface-alt, #F3E9EC);
    border-color: var(--primary, #881A37) !important;
}

.article-main-section__callout-quote {
    font-size: 17px;
    font-weight: 500;
    color: var(--text, #2B181D);
    font-style: italic;
    line-height: 1.6;
}

.article-main-section__callout-author {
    font-size: 13px;
    color: var(--text-muted, #785E65);
    font-weight: 600;
}

.article-main-section__box-panel {
    background-color: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4D8DB);
}

.news-cta-banner__box {
    background-color: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4D8DB);
    max-width: 960px;
    margin: 0 auto;
}

.news-cta-banner__desc {
    font-size: 16px;
    color: var(--text-muted, #785E65);
    max-width: 600px;
}

.related-card {
    background-color: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4D8DB);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(43, 24, 29, 0.08);
}

.related-card__img {
    height: 160px;
    object-fit: cover;
}

.related-card__title a {
    color: var(--text, #2B181D);
    transition: color 0.2s ease;
}

.related-card__title a:hover {
    color: var(--primary, #881A37);
}

.related-card__date {
    font-size: 12px;
}

.related-card__btn {
    font-size: 14px;
}

.related-card__btn:hover {
    text-decoration: underline;
}

.site-footer {
    padding-top: 64px;
    padding-bottom: 32px;
    color: var(--text, #2B181D);
    border-top: 1px solid var(--border, #E4D8DB);
}

.site-footer__logo {
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
}

.site-footer__brand-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary, #881A37);
    letter-spacing: -0.01em;
}

.site-footer__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted, #785E65);
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.site-footer__col-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text, #2B181D);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.site-footer__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__link {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted, #785E65);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    overflow-wrap: anywhere;
}

.site-footer__link:hover,
.site-footer__link:focus {
    color: var(--primary, #881A37);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer__contact-icon {
    color: var(--primary, #881A37);
    font-size: 16px;
    line-height: 1.4;
}

.site-footer__contact-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted, #785E65);
    overflow-wrap: anywhere;
}

.site-footer__bottom {
    border-color: var(--border, #E4D8DB) !important;
}

.site-footer__copy {
    font-size: 13px;
    color: var(--text-muted, #785E65);
}

.site-footer__badge-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    background: var(--surface, #FFFFFF);
    color: var(--primary, #881A37);
    border: 1px solid var(--border, #E4D8DB);
}

@media (max-width: 767px) {
    .news-hero {
        padding: 40px 0;
    }

    .news-hero__title {
        font-size: 18px;
    }

    .news-hero__subtitle {
        font-size: 14px;
    }

    .article-main-section__h2 {
        font-size: 16px;
    }

    .article-main-section__accent-bg {
        display: none;
    }

    .site-footer {
        padding-top: 48px;
        padding-bottom: 24px;
    }

    .site-footer__col-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .site-footer__main-row {
        row-gap: 28px !important;
    }
}

/* ===== PAGE TEMPLATE: tournament-history ===== */
.article-detail-page {
    background-color: var(--bg, #FAF4F6);
    color: var(--text, #2B181D);
}

.site-header__brand-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary, #881A37);
}

.site-header__nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text, #2B181D);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-header__nav-link:hover,
.site-header__nav-link.active {
    color: var(--primary, #881A37);
}

.article-hero {
    background: var(--hero-bg, linear-gradient(157deg, #350D18 0%, #541223 100%));
}

.article-hero__wrapper {
    max-width: 820px;
}

.article-hero__title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.article-hero__subtitle {
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.text-accent {
    color: var(--accent, #E29DAF) !important;
}

.article-cards-stack {
    max-width: 900px;
}

.article-card {
    background-color: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4D8DB);
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(43, 24, 29, 0.03);
}

.article-chip {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    background-color: var(--surface-alt, #F3E9EC);
    color: var(--text, #2B181D);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid var(--border, #E4D8DB);
}

.article-media-wrapper {
    padding: 10px;
}

.article-media-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    background-color: var(--accent, #E29DAF);
    border-radius: 28px 12px 12px 12px;
    z-index: 0;
}

.article-media-box {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    margin-left: 14px;
    border-radius: 24px 12px 12px 12px;
    aspect-ratio: 16 / 9;
    background-color: #eee;
}

.article-heading-group {
    position: relative;
}

.article-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text, #2B181D);
    margin-bottom: 8px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.article-subheading {
    font-size: 18px;
    font-weight: 600;
    color: var(--text, #2B181D);
    margin-bottom: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.article-heading-line {
    width: 42px;
    height: 3px;
    background-color: var(--primary, #881A37);
    border-radius: 2px;
}

.article-toc-box {
    background-color: var(--surface-alt, #F3E9EC) !important;
    border-color: var(--border, #E4D8DB) !important;
}

.article-toc-link {
    color: var(--text, #2B181D);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
    overflow-wrap: anywhere;
}

.article-toc-link:hover {
    color: var(--primary, #881A37);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.article-body-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text, #2B181D);
    margin-bottom: 16px;
    overflow-wrap: anywhere;
}

.article-body-text p:last-child {
    margin-bottom: 0;
}

.article-quote-card {
    background: linear-gradient(135deg, #F3E9EC 0%, #FFFFFF 100%);
    border-left: 5px solid var(--primary, #881A37);
}

.article-quote-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--primary, #881A37);
    color: #FFFFFF;
    font-size: 28px;
}

.article-quote-text {
    font-size: 18px;
    font-weight: 600;
    font-style: italic;
    color: var(--text, #2B181D);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.article-quote-author {
    font-size: 14px;
}

.article-stat-strip {
    background-color: var(--surface-alt, #F3E9EC) !important;
    border-color: var(--border, #E4D8DB) !important;
}

.article-stat-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.article-stat-label {
    margin-top: 4px;
}

.article-bullet-list li {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text, #2B181D);
    overflow-wrap: anywhere;
}

.related-item-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border-color: var(--border, #E4D8DB) !important;
}

.related-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(43, 24, 29, 0.08);
}

.related-item-media {
    aspect-ratio: 16 / 10;
}

.related-item-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.related-item-link {
    color: var(--text, #2B181D);
    text-decoration: none;
    transition: color 0.2s ease;
    overflow-wrap: anywhere;
}

.related-item-link:hover {
    color: var(--primary, #881A37);
}

@media (max-width: 767px) {
    .article-hero__title {
        font-size: 16px;
        hyphens: auto;
    }

    .article-hero__subtitle {
        font-size: 13px;
    }

    .article-section-title {
        font-size: 16px;
        hyphens: auto;
    }

    .article-subheading {
        font-size: 14px;
        hyphens: auto;
    }

    .article-quote-text {
        font-size: 15px;
    }

    .article-card {
        padding: 20px 16px !important;
        border-radius: 18px;
    }

    .article-media-backdrop {
        border-radius: 18px 8px 8px 8px;
    }

    .article-media-box {
        border-radius: 16px 8px 8px 8px;
        margin-top: 8px;
        margin-left: 8px;
    }
}

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