/* site palette */
html:root {
    --bg: #F7F2EC;
    --surface: #FFFFFF;
    --surface-alt: #ECF6F1;
    --text: #261F14;
    --text-muted: #72695A;
    --border: #E4DFD8;
    --primary: #1F4F36;
    --primary-hover: #153524;
    --on-primary: #FFFFFF;
    --primary-text: #1F4F36;
    --accent: #CB4379;
    --on-accent: #FFFFFF;
    --accent-text: #C4366E;
    --dark-band: #10291C;
    --on-dark: #FFFFFF;
    --on-dark-muted: #E8E3DA;
    --brand-btn-bg: #FFFFFF;
    --brand-btn-text: #10291C;
    --section-alt-bg: #ECF6F1;
    --dark-band-bg: #10291C;
    --brand-band-bg: #1F4F36;
    --hero-bg: #10291C;
}

html:root {
    --bs-primary: #1F4F36;
    --bs-primary-rgb: 31, 79, 54;
    --bs-link-color: #1F4F36;
    --bs-link-color-rgb: 31, 79, 54;
    --bs-link-hover-color: #153524;
    --mdb-primary: #1F4F36;
    --mdb-primary-rgb: 31, 79, 54;
}

.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.morning-district-body {
    font-family: 'K2D', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.cy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: var(--on-accent);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 250ms ease-in-out, color 250ms ease-in-out;
}

.cy-btn:hover {
    background-color: #A82B5E;
    color: var(--on-accent);
}

.cy-btn-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--primary-text);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--primary);
    cursor: pointer;
    transition: all 250ms ease-in-out;
}

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

.cy-split-btn {
    display: inline-flex;
    align-items: stretch;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--accent);
    transition: all 250ms ease-in-out;
    cursor: pointer;
}

.cy-split-btn-start {
    background-color: var(--surface);
    color: var(--text);
    padding: 12px 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: all 250ms ease-in-out;
}

.cy-split-btn-end {
    background-color: var(--accent);
    color: var(--on-accent);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 250ms ease-in-out;
}

.cy-split-btn:hover .cy-split-btn-start {
    background-color: var(--accent);
    color: var(--on-accent);
}

.cy-split-btn:hover .cy-split-btn-end {
    background-color: var(--surface);
    color: var(--accent-text);
}

.cy-card {
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(16, 41, 28, 0.08);
    transition: transform 250ms ease-in-out, box-shadow 250ms ease-in-out;
}

.cy-card:hover {
    transform: translateY(-4px);
}

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

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

.cy-eyebrow {
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-text);
    margin-bottom: 8px;
    display: inline-block;
}

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

@media (min-width: 768px) {
    .cy-title {
        font-size: 40px;
    }
}

.cy-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    background-color: var(--surface-alt);
    color: var(--primary-text);
    border: 1px solid var(--border);
}

.cy-badge-accent {
    background-color: var(--accent);
    color: var(--on-accent);
    border: none;
}

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

.cy-section {
    padding: 48px 0;
    background-color: var(--bg);
    color: var(--text);
}

@media (min-width: 768px) {
    .cy-section {
        padding: 80px 0;
    }
}

.cy-section-alt {
    padding: 48px 0;
    background-color: var(--surface-alt);
    color: var(--text);
}

@media (min-width: 768px) {
    .cy-section-alt {
        padding: 80px 0;
    }
}

.cy-section-dark {
    padding: 48px 0;
    background-color: var(--dark-band);
    color: var(--on-dark);
}

@media (min-width: 768px) {
    .cy-section-dark {
        padding: 80px 0;
    }
}

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

.cy-section-dark .cy-eyebrow {
    color: var(--accent);
}

.cy-section-dark .cy-card {
    background-color: var(--surface);
    color: var(--text);
}

.cy-section-dark .cy-card .cy-title {
    color: var(--text);
}

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

.cy-section-brand {
    padding: 48px 0;
    background-color: var(--primary);
    color: var(--on-primary);
}

@media (min-width: 768px) {
    .cy-section-brand {
        padding: 80px 0;
    }
}

.cy-section-brand .cy-title {
    color: var(--on-primary);
}

.cy-section-brand .cy-eyebrow {
    color: var(--on-primary);
    opacity: 0.9;
}

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

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

.cy-on-dark {
    color: var(--on-dark);
}

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

.cy-on-dark .cy-title {
    color: var(--on-dark);
}

.cy-on-dark .cy-eyebrow {
    color: var(--accent);
}

.cy-on-dark a {
    color: var(--on-dark);
}

.cy-on-dark a:hover {
    color: var(--accent);
}

.cy-on-dark .cy-btn-alt {
    border-color: var(--on-dark);
    color: var(--on-dark);
}

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

.cy-on-dark .cy-card {
    background-color: var(--surface);
    color: var(--text);
}

.cy-on-dark .cy-card .cy-title {
    color: var(--text);
}

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

.cy-marquee-wrap {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background-color: var(--surface);
}

.cy-marquee-text {
    display: inline-block;
    font-size: 64px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
    animation: marqueeAnim 25s linear infinite;
}

@media (min-width: 768px) {
    .cy-marquee-text {
        font-size: 96px;
    }
}

@keyframes marqueeAnim {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== header ===== */
.md-header-root {
    width: 100%;
    position: relative;
    z-index: 1050;
    font-family: var(--font-family-base, 'K2D', sans-serif);
}

.md-header-root .md-topbar {
    background-color: var(--dark-band, #10291C);
    color: var(--on-dark-muted, #C3BEB6);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.md-header-root .md-topbar a {
    color: var(--on-dark-muted, #C3BEB6);
    text-decoration: none;
    transition: color 0.25s ease-in-out;
}

.md-header-root .md-topbar a:hover {
    color: var(--on-dark, #FFFFFF);
}

.md-header-root .md-topbar i {
    color: var(--accent, #CB4379);
    font-size: 15px;
    vertical-align: middle;
}

.md-header-root .md-status-dot {
    width: 8px;
    height: 8px;
    background-color: #2ED573;
    border-radius: 50%;
    display: inline-block;
}

.md-header-root .md-navbar {
    background-color: var(--bg, #F7F2EC);
    border-bottom: 1px solid var(--border, #E4DFD8);
    min-height: 80px;
    padding: 12px 0;
}

.md-header-root .md-brand-badge {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.md-header-root .md-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.md-header-root .md-brand-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary, #1F4F36);
    letter-spacing: -0.01em;
}

.md-header-root .navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text, #261F14);
    padding: 8px 14px;
    transition: color 0.25s ease-in-out;
}

.md-header-root .navbar-nav .nav-link:hover,
.md-header-root .navbar-nav .nav-link:focus {
    color: var(--primary, #1F4F36);
}

.md-header-root .navbar-nav .nav-link.show {
    color: var(--accent-text, #C4366E);
}

.md-header-root .md-dropdown-menu {
    background-color: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4DFD8);
    border-top: 3px solid var(--accent, #CB4379);
    border-radius: 4px;
    padding: 8px 0;
    box-shadow: 0 10px 25px rgba(16, 41, 28, 0.08);
    margin-top: 8px;
}

.md-header-root .md-dropdown-menu .dropdown-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--text, #261F14);
    padding: 10px 20px;
    transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}

.md-header-root .md-dropdown-menu .dropdown-item:hover {
    background-color: var(--surface-alt, #ECF6F1);
    color: var(--primary, #1F4F36);
}

.md-header-root .md-phone-link {
    text-decoration: none;
    color: var(--text, #261F14);
    font-weight: 700;
    font-size: 15px;
    transition: color 0.25s ease-in-out;
}

.md-header-root .md-phone-link:hover {
    color: var(--accent, #CB4379);
}

.md-header-root .md-phone-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--accent, #CB4379);
    color: var(--on-accent, #FFFFFF);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.md-header-root .md-split-btn {
    display: inline-flex;
    align-items: stretch;
    border-radius: 4px;
    border: 1px solid var(--accent, #CB4379);
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.25s ease-in-out;
}

.md-header-root .md-split-btn .md-btn-text {
    background-color: var(--surface, #FFFFFF);
    color: var(--text, #261F14);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}

.md-header-root .md-split-btn .md-btn-icon {
    background-color: var(--accent, #CB4379);
    color: var(--on-accent, #FFFFFF);
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}

.md-header-root .md-split-btn:hover .md-btn-text {
    background-color: var(--accent, #CB4379);
    color: var(--on-accent, #FFFFFF);
}

.md-header-root .md-split-btn:hover .md-btn-icon {
    background-color: var(--surface, #FFFFFF);
    color: var(--accent, #CB4379);
}

.md-header-root .md-toggler {
    border: 1px solid var(--accent, #CB4379);
    border-radius: 4px;
    padding: 8px 10px;
    background-color: var(--surface, #FFFFFF);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.md-header-root .md-toggler:focus {
    box-shadow: 0 0 0 2px rgba(203, 67, 121, 0.3);
    outline: none;
}

.md-header-root .md-toggler-bar {
    width: 22px;
    height: 2px;
    background-color: var(--accent, #CB4379);
    display: block;
    border-radius: 1px;
}

@media (max-width: 991.98px) {
    .md-header-root .navbar-collapse {
        background-color: var(--surface, #FFFFFF);
        border-top: 1px solid var(--border, #E4DFD8);
        padding: 16px 20px;
        border-radius: 0 0 6px 6px;
        box-shadow: 0 16px 24px rgba(16, 41, 28, 0.08);
        margin-top: 12px;
    }

    .md-header-root .navbar-nav {
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border, #E4DFD8);
    }

    .md-header-root .md-nav-actions {
        padding-top: 12px;
        flex-direction: column;
        align-items: flex-start !important;
        width: 100%;
    }

    .md-header-root .md-split-btn {
        width: 100%;
        justify-content: space-between;
    }

    .md-header-root .md-split-btn .md-btn-text {
        flex-grow: 1;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .md-header-root .md-brand-name {
        font-size: 18px;
    }

    .md-header-root .md-topbar {
        font-size: 12px;
        text-align: center;
    }

    .md-header-root .md-topbar-info,
    .md-header-root .md-topbar-contact {
        justify-content: center;
        width: 100%;
    }
}

/* ===== hero ===== */
.md-hero {
    background-color: var(--dark-band);
    min-height: 560px;
    padding: 60px 0
}

.min-vh-hero {
    min-height: 480px
}

.md-hero-bg {
    z-index: 0;
    opacity: .28;
    mix-blend-mode: luminosity
}

.md-hero-overlay {
    z-index: 1;
    background: linear-gradient(90deg, #10291C 0%, rgba(16, 41, 28, .88) 55%, rgba(16, 41, 28, .55) 100%)
}

.md-hero-wedge {
    width: 380px;
    height: 380px;
    background: var(--accent);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    z-index: 1;
    pointer-events: none
}

.md-hero-eyebrow {
    color: var(--accent);
    letter-spacing: .12em;
    font-weight: 800;
    font-size: 13px
}

.md-hero-title {
    color: var(--on-dark);
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere
}

.md-hero-desc {
    color: var(--on-dark-muted);
    font-size: 17px;
    line-height: 1.6;
    max-width: 580px
}

.md-hero-btn {
    background: var(--accent);
    color: var(--on-accent);
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    border: none;
    transition: background-color .25s ease-in-out
}

.md-hero-btn:hover {
    background: #A82B5E;
    color: var(--on-accent)
}

.md-hero-btn-alt {
    background: transparent;
    color: var(--on-dark);
    padding: 13px 26px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    transition: all .25s ease-in-out
}

.md-hero-btn-alt:hover {
    background: rgba(255, 255, 255, .12);
    color: var(--on-dark);
    border-color: var(--on-dark)
}

.md-feature-chip {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    padding: 8px 14px;
    border-radius: 4px
}

.md-chip-text {
    color: var(--on-dark);
    font-size: 13px;
    font-weight: 500
}

.text-accent {
    color: var(--accent)
}

.md-hero-visual {
    z-index: 2
}

.md-character-wrap {
    max-width: 420px
}

.md-character-img {
    max-height: 430px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45))
}

.md-hero-badge {
    bottom: 15px;
    left: -15px;
    background: #FFFFFF;
    border: 1px solid #E4DFD8;
    border-left: 4px solid var(--accent);
    padding: 12px 18px;
    border-radius: 4px;
    box-shadow: 0 12px 28px rgba(16, 41, 28, .18)
}

.md-badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 20px;
    flex-shrink: 0
}

.md-badge-sub {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600
}

.md-badge-title {
    font-size: 14px;
    color: var(--text);
    font-weight: 800
}

@media(max-width:991px) {
    .md-hero {
        padding: 50px 0
    }

    .md-hero-wedge {
        width: 240px;
        height: 240px
    }

    .md-hero-title {
        font-size: 32px
    }

    .md-character-img {
        max-height: 340px
    }

    .md-hero-badge {
        left: 10px;
        bottom: 10px
    }
}

@media(max-width:767px) {
    .md-hero {
        padding: 40px 0;
        min-height: auto
    }

    .md-hero-title {
        font-size: 18px !important;
        line-height: 1.3;
        hyphens: auto
    }

    .md-hero-desc {
        font-size: 14px
    }

    .md-hero-wedge {
        width: 160px;
        height: 160px
    }

    .md-character-wrap {
        max-width: 280px
    }

    .md-character-img {
        max-height: 260px
    }

    .md-hero-badge {
        position: static !important;
        margin-top: 16px;
        display: inline-block
    }

    .md-feature-chip {
        width: 100%
    }
}

/* ===== games_grid ===== */
.md-games-section .md-section-desc {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.md-games-section .md-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: all 250ms ease-in-out;
    cursor: pointer;
}

.md-games-section .md-filter-tab i {
    font-size: 18px;
    color: var(--primary-text);
}

.md-games-section .md-filter-tab:hover {
    background-color: var(--surface-alt);
    border-color: var(--primary);
    color: var(--primary-text);
}

.md-games-section .md-filter-tab.is-active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--on-primary);
}

.md-games-section .md-filter-tab.is-active i {
    color: var(--on-primary);
}

.md-games-section .md-game-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.md-games-section .md-game-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 24px rgba(16, 41, 28, 0.08);
}

.md-games-section .md-card-thumb {
    overflow: hidden;
    aspect-ratio: 3/2;
    background-color: var(--surface-alt);
}

.md-games-section .md-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 300ms ease;
}

.md-games-section .md-game-card:hover .md-card-thumb img {
    transform: scale(1.05);
}

.md-games-section .md-card-badge {
    top: 12px;
    left: 12px;
    background-color: var(--accent);
    color: var(--on-accent);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
}

.md-games-section .md-card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.md-games-section .md-card-title a {
    color: var(--text);
    transition: color 250ms ease-in-out;
}

.md-games-section .md-card-title a:hover {
    color: var(--accent-text);
}

.md-games-section .md-card-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
}

.md-games-section .md-play-btn {
    background-color: var(--primary);
    color: var(--on-primary);
    padding: 9px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: background-color 250ms ease-in-out, border-color 250ms ease-in-out;
}

.md-games-section .md-play-btn:hover {
    background-color: var(--accent);
    color: var(--on-accent);
}

@media (max-width: 767px) {
    .md-games-section .md-section-desc {
        font-size: 14px;
    }

    .md-games-section .md-filter-tab {
        font-size: 13px;
        padding: 8px 14px;
    }

    .md-games-section .md-card-title {
        font-size: 16px;
    }
}

/* ===== editors_choice ===== */
.editors-choice-section {
    padding: 60px 0;
}

@media (min-width: 992px) {
    .editors-choice-section {
        padding: 80px 0;
    }
}

.editors-header-box {
    max-width: 720px;
}

.editors-header-box .cy-eyebrow {
    color: var(--primary-text);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.editors-header-box .cy-title {
    color: var(--text);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .editors-header-box .cy-title {
        font-size: 40px;
    }
}

.editors-header-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .editors-header-desc {
        font-size: 16px;
    }
}

.editors-choice-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out, border-color 0.25s ease-in-out;
}

.editors-choice-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 24px rgba(31, 79, 54, 0.08);
}

.editors-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-alt);
}

.editors-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.editors-choice-card:hover .editors-media img {
    transform: scale(1.05);
}

.editors-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--on-accent);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.editors-card-body {
    background: var(--surface);
}

.editors-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-text);
    background: var(--surface-alt);
    padding: 2px 8px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.editors-rating {
    font-size: 12px;
    font-weight: 700;
    color: #b86200;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.editors-rating i {
    color: #f59e0b;
    font-size: 14px;
}

.editors-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.editors-title-link {
    color: var(--text);
    transition: color 0.2s ease-in-out;
}

.editors-title-link:hover {
    color: var(--accent);
}

.editors-card-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.editors-choice-card .cy-btn {
    background: var(--primary);
    color: var(--on-primary);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 4px;
    border: 1px solid var(--primary);
    transition: background-color 0.25s ease-in-out, border-color 0.25s ease-in-out, color 0.25s ease-in-out;
    display: block;
}

.editors-choice-card .cy-btn:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--on-primary);
}

/* ===== difficulty_rating ===== */
.difficulty-rating-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.difficulty-rating-section .difficulty-header {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.difficulty-rating-section .difficulty-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: 13px;
    text-transform: uppercase;
}

.difficulty-rating-section .difficulty-title {
    color: var(--on-dark);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    overflow-wrap: anywhere;
}

.difficulty-rating-section .difficulty-lead {
    color: var(--on-dark-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.difficulty-rating-section .difficulty-overview-grid {
    margin-bottom: 2.75rem;
}

.difficulty-rating-section .difficulty-tier-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 1.25rem;
    height: 100%;
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.difficulty-rating-section .difficulty-tier-box:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.difficulty-rating-section .tier-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 2px;
    color: #FFFFFF;
}

.difficulty-rating-section .badge-easy {
    background-color: #2e7d32;
}

.difficulty-rating-section .badge-medium {
    background-color: #1976d2;
}

.difficulty-rating-section .badge-hard {
    background-color: #e65100;
}

.difficulty-rating-section .badge-expert {
    background-color: var(--accent);
}

.difficulty-rating-section .tier-stars {
    color: #ffc107;
    font-size: 14px;
}

.difficulty-rating-section .tier-title {
    color: var(--on-dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    overflow-wrap: anywhere;
}

.difficulty-rating-section .tier-desc {
    color: var(--on-dark-muted);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.difficulty-rating-section .difficulty-filter-nav {
    margin-bottom: 2.5rem;
}

.difficulty-rating-section .difficulty-tab-btn {
    background: transparent;
    color: var(--on-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease-in-out;
    cursor: pointer;
}

.difficulty-rating-section .difficulty-tab-btn:hover {
    border-color: var(--accent);
    color: #FFFFFF;
    background: rgba(203, 67, 121, 0.15);
}

.difficulty-rating-section .difficulty-tab-btn.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
}

.difficulty-rating-section .difficulty-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.difficulty-rating-section .difficulty-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(16, 41, 28, 0.2);
}

.difficulty-rating-section .difficulty-card-media-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #000000;
}

.difficulty-rating-section .difficulty-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.difficulty-rating-section .difficulty-card:hover .difficulty-card-img {
    transform: scale(1.05);
}

.difficulty-rating-section .difficulty-level-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 2px;
    color: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.difficulty-rating-section .tag-easy {
    background-color: #2e7d32;
}

.difficulty-rating-section .tag-medium {
    background-color: #1976d2;
}

.difficulty-rating-section .tag-hard {
    background-color: #e65100;
}

.difficulty-rating-section .tag-expert {
    background-color: var(--accent);
}

.difficulty-rating-section .difficulty-card-content {
    padding: 1.25rem;
    flex: 1 1 auto;
}

.difficulty-rating-section .difficulty-sub-badge {
    background: var(--surface-alt);
    color: var(--primary-text);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
}

.difficulty-rating-section .difficulty-stars-row {
    font-size: 14px;
    color: #ffc107;
}

.difficulty-rating-section .difficulty-game-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.65rem;
    color: var(--text);
    overflow-wrap: anywhere;
}

.difficulty-rating-section .difficulty-name-link {
    color: var(--text);
    text-decoration: none;
    transition: color 0.25s ease;
}

.difficulty-rating-section .difficulty-name-link:hover {
    color: var(--accent-text);
}

.difficulty-rating-section .difficulty-game-text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 1rem;
    overflow-wrap: anywhere;
}

.difficulty-rating-section .difficulty-meta-plate {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 12px;
    margin-bottom: 0.25rem;
}

.difficulty-rating-section .meta-caption {
    color: var(--text-muted);
    font-weight: 500;
}

.difficulty-rating-section .meta-highlight {
    color: var(--primary);
    font-weight: 700;
}

.difficulty-rating-section .difficulty-split-btn {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--primary);
    text-decoration: none;
    transition: all 0.25s ease-in-out;
    width: 100%;
}

.difficulty-rating-section .difficulty-split-btn .split-btn-text {
    background: var(--surface);
    color: var(--text);
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
    flex-grow: 1;
    text-align: center;
    transition: all 0.25s ease-in-out;
}

.difficulty-rating-section .difficulty-split-btn .split-btn-icon {
    background: var(--accent);
    color: #FFFFFF;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.25s ease-in-out;
}

.difficulty-rating-section .difficulty-split-btn:hover .split-btn-text {
    background: var(--accent);
    color: #FFFFFF;
}

.difficulty-rating-section .difficulty-split-btn:hover .split-btn-icon {
    background: var(--surface);
    color: var(--accent);
}

@media (max-width: 767.98px) {
    .difficulty-rating-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .difficulty-rating-section .difficulty-title {
        font-size: 16px;
    }

    .difficulty-rating-section .difficulty-game-name {
        font-size: 14px;
    }

    .difficulty-rating-section .tier-title {
        font-size: 14px;
    }

    .difficulty-rating-section .difficulty-overview-grid {
        margin-bottom: 1.75rem;
    }

    .difficulty-rating-section .difficulty-filter-nav {
        gap: 6px;
    }

    .difficulty-rating-section .difficulty-tab-btn {
        padding: 6px 14px;
        font-size: 13px;
    }
}

/* ===== player_comments ===== */
.cy-comments-section {
    position: relative;
    overflow: hidden;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem
}

.cy-comments-lead {
    max-width: 680px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    overflow-wrap: anywhere
}

.cy-filter-chip {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background-color 250ms ease-in-out, color 250ms ease-in-out, border-color 250ms ease-in-out
}

.cy-filter-chip:hover {
    background: var(--surface-alt);
    color: var(--primary);
    border-color: var(--primary)
}

.cy-filter-chip.active {
    background: var(--primary);
    color: var(--on-primary);
    border-color: var(--primary)
}

.cy-comment-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(16, 41, 28, 0.04);
    transition: transform 250ms ease-in-out, box-shadow 250ms ease-in-out
}

.cy-comment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(16, 41, 28, 0.08);
    border-color: var(--accent)
}

.cy-user-avatar {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent);
    flex-shrink: 0
}

.cy-user-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    overflow-wrap: anywhere
}

.cy-user-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: block
}

.cy-badge-tip {
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    color: var(--primary-text);
    border: 1px solid var(--primary);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 2px;
    font-weight: 700
}

.cy-badge-strategy {
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent-text);
    border: 1px solid var(--accent);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 2px;
    font-weight: 700
}

.cy-comment-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text);
    overflow-wrap: anywhere
}

.cy-comment-meta {
    border-color: var(--border) !important
}

.cy-meta-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap
}

.cy-meta-item i {
    font-size: 1.05rem;
    color: var(--primary-text)
}

@media(max-width:767px) {
    .cy-comments-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem
    }

    .cy-comments-lead {
        font-size: 0.95rem
    }

    .cy-user-avatar {
        width: 46px;
        height: 46px
    }

    .cy-comment-card {
        padding: 1.25rem !important
    }
}

/* ===== tournaments_preview ===== */
.tournaments-preview-section {
    background-color: var(--primary, #1F4F36);
    color: var(--on-primary, #FFFFFF);
}

.tournaments-preview-section .cy-eyebrow {
    color: var(--accent, #CB4379);
    letter-spacing: 0.12em;
    font-weight: 800;
    font-size: 13px;
}

.tournaments-preview-section .cy-title {
    color: var(--on-primary, #FFFFFF);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
}

.tournaments-preview-section .tournaments-lead {
    color: var(--on-dark-muted, #C3BEB6);
    max-width: 680px;
    font-size: 16px;
    line-height: 1.6;
}

.tournaments-preview-section .tournament-card {
    background-color: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4DFD8);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.tournaments-preview-section .tournament-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(16, 41, 28, 0.25);
}

.tournaments-preview-section .tournament-media {
    overflow: hidden;
}

.tournaments-preview-section .tournament-media img {
    transition: transform 0.3s ease;
}

.tournaments-preview-section .tournament-card:hover .tournament-media img {
    transform: scale(1.04);
}

.tournaments-preview-section .tournament-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 2px;
    text-transform: uppercase;
    z-index: 2;
}

.tournaments-preview-section .badge-live {
    background-color: var(--accent, #CB4379);
    color: var(--on-accent, #FFFFFF);
}

.tournaments-preview-section .badge-upcoming {
    background-color: var(--primary, #1F4F36);
    color: var(--on-primary, #FFFFFF);
}

.tournaments-preview-section .badge-pending {
    background-color: var(--text-muted, #72695A);
    color: #FFFFFF;
}

.tournaments-preview-section .badge-format {
    background-color: var(--surface-alt, #ECF6F1);
    color: var(--primary-text, #1F4F36);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 2px;
}

.tournaments-preview-section .tournament-season {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted, #72695A);
}

.tournaments-preview-section .tournament-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    min-height: 48px;
}

.tournaments-preview-section .tournament-title-link {
    color: var(--text, #261F14);
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tournaments-preview-section .tournament-title-link:hover {
    color: var(--accent, #CB4379);
}

.tournaments-preview-section .tournament-meta-list {
    font-size: 13px;
}

.tournaments-preview-section .meta-label {
    color: var(--text-muted, #72695A);
    font-weight: 500;
}

.tournaments-preview-section .meta-label i {
    color: var(--primary-text, #1F4F36);
    font-size: 15px;
}

.tournaments-preview-section .meta-value {
    color: var(--text, #261F14);
    font-weight: 600;
    text-align: right;
}

.tournaments-preview-section .meta-highlight {
    color: var(--primary-text, #1F4F36);
    font-weight: 700;
}

.tournaments-preview-section .meta-accent {
    color: var(--accent, #CB4379);
    font-weight: 700;
}

.tournaments-preview-section .tournaments-footer-note {
    color: var(--on-dark-muted, #C3BEB6);
    font-size: 14px;
}

.tournaments-preview-section .history-link {
    color: #FFFFFF;
    transition: color 0.2s ease;
}

.tournaments-preview-section .history-link:hover {
    color: var(--accent, #CB4379);
}

@media (max-width: 767px) {
    .tournaments-preview-section .cy-title {
        font-size: 24px;
    }

    .tournaments-preview-section .tournaments-lead {
        font-size: 14px;
    }

    .tournaments-preview-section .tournament-name {
        min-height: auto;
        font-size: 16px;
    }
}

/* ===== leaderboard_preview ===== */
.leaderboard-preview-block .leaderboard-lead-text {
    max-width: 640px;
    color: var(--text-muted, #72695A);
    font-size: 16px;
    line-height: 1.6;
}

.leaderboard-preview-block .leaderboard-card {
    background: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4DFD8);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.25s ease-in-out, border-color 0.25s ease-in-out;
}

.leaderboard-preview-block .leaderboard-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent, #CB4379);
}

.leaderboard-preview-block .leaderboard-media-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-alt, #ECF6F1);
}

.leaderboard-preview-block .leaderboard-media-box .cy-media {
    width: 100%;
    height: 100%;
}

.leaderboard-preview-block .leaderboard-media-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.leaderboard-preview-block .leaderboard-card:hover .leaderboard-media-box img {
    transform: scale(1.04);
}

.leaderboard-preview-block .leaderboard-tag-badge {
    background-color: var(--primary, #1F4F36);
    color: var(--on-primary, #FFFFFF);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 2px;
    letter-spacing: 0.04em;
}

.leaderboard-preview-block .leaderboard-game-heading {
    margin: 0;
    line-height: 1.3;
}

.leaderboard-preview-block .leaderboard-game-title {
    color: var(--text, #261F14);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.leaderboard-preview-block .leaderboard-game-title:hover {
    color: var(--accent, #CB4379);
}

.leaderboard-preview-block .record-item {
    background: var(--bg, #F7F2EC);
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.leaderboard-preview-block .record-item.champion-item {
    background: var(--surface-alt, #ECF6F1);
    border-color: rgba(31, 79, 54, 0.2);
}

.leaderboard-preview-block .record-rank-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.leaderboard-preview-block .record-rank-icon.text-accent {
    color: var(--accent, #CB4379);
}

.leaderboard-preview-block .record-rank-second {
    color: #B28236;
}

.leaderboard-preview-block .record-rank-third {
    color: #8C8074;
}

.leaderboard-preview-block .record-player {
    font-size: 13px;
    font-weight: 700;
    color: var(--text, #261F14);
    line-height: 1.2;
}

.leaderboard-preview-block .record-date {
    font-size: 11px;
    color: var(--text-muted, #72695A);
    line-height: 1.2;
    margin-top: 2px;
}

.leaderboard-preview-block .record-points {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary, #1F4F36);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.leaderboard-preview-block .champion-item .record-points {
    color: var(--accent, #CB4379);
}

.leaderboard-preview-block .record-unit {
    display: block;
    font-size: 10px;
    color: var(--text-muted, #72695A);
    line-height: 1;
    margin-top: 2px;
}

@media (max-width: 767px) {
    .leaderboard-preview-block .cy-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .leaderboard-preview-block .leaderboard-lead-text {
        font-size: 14px;
    }

    .leaderboard-preview-block .leaderboard-card {
        margin-bottom: 8px;
    }
}

/* ===== footer ===== */
.cy-footer-block {
    background-color: var(--dark-band, #10291C);
    color: var(--on-dark-muted, #C3BEB6);
    font-family: var(--font_family_base, 'K2D', sans-serif);
    overflow: hidden;
}

.cy-footer-block .cy-footer-heading {
    color: var(--on-dark, #FFFFFF);
    letter-spacing: 0.05em;
    border-left: 3px solid var(--accent, #CB4379);
    padding-left: 10px;
}

.cy-footer-block .cy-footer-logo {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.cy-footer-block .cy-footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--on-dark-muted, #C3BEB6);
}

.cy-footer-block .cy-badge {
    background-color: var(--primary, #1F4F36);
    color: var(--on-primary, #FFFFFF);
    border: 1px solid var(--accent, #CB4379);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.cy-footer-block .cy-footer-link {
    color: var(--on-dark-muted, #C3BEB6);
    text-decoration: none;
    transition: color 0.25s ease-in-out, transform 0.2s ease-in-out;
}

.cy-footer-block .cy-footer-link:hover,
.cy-footer-block .cy-footer-link:focus {
    color: var(--accent, #CB4379);
    transform: translateX(3px);
}

.cy-footer-block .cy-footer-nav li {
    font-size: 15px;
}

.cy-footer-block .cy-footer-nav i {
    color: var(--accent, #CB4379);
    font-size: 16px;
}

.cy-footer-block .cy-contact-icon {
    color: var(--accent, #CB4379);
    flex-shrink: 0;
}

.cy-footer-block .cy-contact-text {
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.cy-footer-block .cy-footer-map {
    height: 200px;
    width: 100%;
    border: 1px solid rgba(203, 67, 121, 0.4);
    background-color: #0b1c13;
}

.cy-footer-block .cy-footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.cy-footer-block .cy-legal-links a {
    color: var(--on-dark-muted, #C3BEB6);
    text-decoration: none;
}

.cy-footer-block .cy-legal-links a:hover {
    color: var(--accent, #CB4379);
    text-decoration: underline;
}

.cy-footer-block .cy-divider-dot {
    color: rgba(255, 255, 255, 0.3);
    user-select: none;
}

@media (max-width: 767px) {
    .cy-footer-block .cy-footer-heading {
        margin-top: 10px;
    }

    .cy-footer-block .cy-footer-map {
        height: 180px;
    }

    .cy-footer-block .cy-footer-bottom {
        flex-direction: column;
    }
}

/* ===== PAGE: about ===== */
.md-about-block{padding:80px 0;background-color:var(--bg);overflow:hidden}.md-collage-container{position:relative;padding:12px}.md-dashed-path{position:absolute;top:0;left:0;right:0;bottom:0;border:2px dashed var(--border);pointer-events:none;z-index:1;border-radius:4px}.md-collage-photo{position:relative;z-index:2;overflow:hidden;border-radius:4px;border:1px solid var(--border);box-shadow:0 8px 24px rgba(31,79,54,0.06)}.md-collage-photo img{object-fit:cover;display:block}.md-photo-main{aspect-ratio:3/4;height:100%}.md-photo-sub-top{aspect-ratio:1/1}.md-photo-sub-bottom{aspect-ratio:1/1}.md-eyebrow-accent{color:var(--accent-text);font-weight:800;letter-spacing:0.12em;font-size:13px;text-transform:uppercase}.md-about-title{color:var(--text);font-size:36px;font-weight:800;line-height:1.25;hyphens:auto;overflow-wrap:anywhere}.md-about-desc{color:var(--text-muted);font-size:16px;line-height:1.65;overflow-wrap:anywhere}.md-stats-group{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:20px 0}.md-stat-item{display:flex;flex-direction:column}.md-stat-number{color:var(--primary);font-size:36px;font-weight:800;line-height:1.1}.md-stat-label{color:var(--text-muted);font-size:13px;font-weight:500;margin-top:4px}.md-feature-split{background-color:var(--surface);border:1px solid var(--border);border-radius:4px;padding:16px}.md-experience-badge{background-color:var(--accent);color:var(--on-accent);border-radius:4px;min-width:130px}.md-badge-year{font-size:24px;font-weight:800;line-height:1.1}.md-badge-text{font-size:12px;font-weight:600;opacity:0.95}.md-checklist{flex:1}.md-check-icon{color:var(--accent);font-size:20px;flex-shrink:0}.md-check-text{color:var(--text);font-size:14px;line-height:1.45}.md-author-avatar{width:56px;height:56px;border-radius:50%;object-fit:cover;border:2px solid var(--accent)}.md-author-name{color:var(--text);font-weight:700;font-size:16px;line-height:1.2}.md-author-role{color:var(--text-muted);font-size:13px}.md-split-btn{display:inline-flex;border-radius:4px;overflow:hidden;border:1px solid var(--accent);transition:all .25s ease-in-out}.md-split-text{background-color:var(--surface);color:var(--text);padding:12px 22px;font-weight:700;font-size:15px;display:flex;align-items:center;transition:background-color .25s ease,color .25s ease}.md-split-icon{background-color:var(--accent);color:var(--on-accent);padding:12px 18px;font-size:20px;display:flex;align-items:center;justify-content:center;transition:background-color .25s ease,color .25s ease}.md-split-btn:hover .md-split-text{background-color:var(--accent);color:var(--on-accent)}.md-split-btn:hover .md-split-icon{background-color:var(--surface);color:var(--accent)}.md-marquee-wrapper{background-color:var(--dark-band);white-space:nowrap;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.md-marquee-track{display:inline-block;animation:md-marquee 28s linear infinite}.md-marquee-phrase{font-size:32px;font-weight:800;letter-spacing:0.06em;color:transparent;-webkit-text-stroke:1.5px var(--accent);text-stroke:1.5px var(--accent);padding:0 12px}@keyframes md-marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}.md-pillars-section{padding:80px 0;background-color:var(--surface-alt)}.md-section-subtitle{max-width:620px;font-size:16px;line-height:1.6}.md-pillar-card{background-color:var(--surface);border:1px solid var(--border);border-radius:4px;padding:32px 24px;transition:transform .25s ease,box-shadow .25s ease}.md-pillar-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px rgba(16,41,28,0.08)}.md-pillar-icon{width:52px;height:52px;border-radius:4px;background-color:var(--primary);color:var(--on-primary);display:flex;align-items:center;justify-content:center;font-size:26px}.md-pillar-title{color:var(--text);font-size:20px;font-weight:700}.md-pillar-desc{color:var(--text-muted);font-size:15px;line-height:1.6}.md-action-btn{background-color:var(--primary);color:var(--on-primary);padding:12px 28px;border-radius:4px;font-weight:700;transition:background-color .25s ease}.md-action-btn:hover{background-color:var(--primary-hover);color:var(--on-primary)}@media (max-width:991px){.md-about-block{padding:60px 0}.md-pillars-section{padding:60px 0}.md-about-title{font-size:30px}}@media (max-width:767px){.md-about-block{padding:40px 0}.md-pillars-section{padding:40px 0}.md-about-title{font-size:16px;hyphens:auto}.md-pillar-title{font-size:14px;hyphens:auto}.md-stat-number{font-size:28px}.md-stat-label{font-size:12px}.md-marquee-phrase{font-size:22px;-webkit-text-stroke:1px var(--accent)}.md-experience-badge{min-width:100%}.md-split-btn{width:100%}.md-split-text{flex:1;justify-content:center}}

/* ===== PAGE: games-collection ===== */
.games-gallery-block {
  background-color: var(--bg);
  color: var(--text);
}

.games-gallery-block .games-gallery-header {
  border-color: var(--border) !important;
}

.games-gallery-block .games-gallery-intro {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.games-gallery-block .games-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out, border-color 0.25s ease-in-out;
}

.games-gallery-block .games-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(16, 41, 28, 0.08);
  border-color: var(--accent);
}

.games-gallery-block .games-card-poster {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background-color: var(--dark-band);
}

.games-gallery-block .games-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease-in-out;
}

.games-gallery-block .games-card:hover .games-card-img {
  transform: scale(1.05);
}

.games-gallery-block .games-card-badge {
  background-color: var(--accent);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  z-index: 2;
}

.games-gallery-block .games-card-overlay {
  background: linear-gradient(180deg, rgba(16, 41, 28, 0) 0%, rgba(16, 41, 28, 0.92) 100%);
  z-index: 1;
}

.games-gallery-block .games-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.games-gallery-block .games-card-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.games-gallery-block .games-card-title-link:hover {
  color: var(--accent);
}

.games-gallery-block .games-card-body {
  background-color: var(--surface);
}

.games-gallery-block .games-card-btn {
  display: block;
  background-color: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 4px;
  border: 1px solid var(--primary);
  transition: background-color 0.25s ease-in-out, border-color 0.25s ease-in-out, color 0.25s ease-in-out;
}

.games-gallery-block .games-card-btn:hover,
.games-gallery-block .games-card-btn:focus {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--on-primary);
}

.games-gallery-block .games-page-nav-btn,
.games-gallery-block .games-page-num-btn {
  border: 1px solid var(--border);
  background-color: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
}

.games-gallery-block .games-page-nav-btn:hover:not(:disabled),
.games-gallery-block .games-page-num-btn:hover {
  border-color: var(--primary);
  background-color: var(--surface-alt);
  color: var(--primary);
}

.games-gallery-block .games-page-num-btn.is-active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.games-gallery-block .games-page-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .games-gallery-block .games-card-title {
    font-size: 13px;
  }
  .games-gallery-block .games-card-btn {
    font-size: 13px;
    padding: 8px 10px;
  }
  .games-gallery-block .games-page-nav-btn,
  .games-gallery-block .games-page-num-btn {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    padding: 0 8px;
  }
}

/* ===== PAGE: chat ===== */
.md-chat-section { padding: 48px 0; background-color: var(--bg); }
.md-chat-sidebar { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; }
.md-sidebar-header { margin-bottom: 24px; }
.md-sidebar-title { font-size: 26px; line-height: 1.25; font-weight: 800; color: var(--text); margin-top: 8px; margin-bottom: 12px; hyphens: auto; }
.md-sidebar-desc { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin-bottom: 0; }
.md-channel-info { margin-bottom: 24px; }
.md-channel-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--surface-alt); border-left: 3px solid var(--primary); border-radius: 4px; margin-bottom: 18px; }
.md-channel-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.md-channel-name { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.md-channel-meta { display: block; font-size: 12px; color: var(--text-muted); }
.md-rules-card { background: #FFFFFF; border: 1px dashed var(--border); border-radius: 4px; padding: 16px; }
.md-rules-title { font-size: 15px; font-weight: 700; color: var(--accent); margin-bottom: 10px; display: flex; align-items: center; }
.md-rules-list { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.md-rules-list li { margin-bottom: 6px; }
.md-rules-list li:last-child { margin-bottom: 0; }
.md-chat-board { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 24px; box-shadow: 0 12px 30px rgba(16, 41, 28, 0.05); display: flex; flex-direction: column; }
.md-board-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 18px; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.md-status-indicator { width: 12px; height: 12px; border-radius: 50%; background: #28a745; box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2); flex-shrink: 0; }
.md-board-title { font-size: 20px; font-weight: 800; color: var(--text); }
.md-stream-badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; color: var(--primary-text); background: var(--surface-alt); padding: 6px 12px; border-radius: 2px; border: 1px solid var(--primary); }
.md-messages-stream { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }
.md-message-item { display: flex; gap: 16px; padding: 18px; background: var(--surface-alt); border-radius: 4px; border: 1px solid var(--border); position: relative; }
.md-message-item:hover { border-color: var(--accent); }
.md-avatar-wrap { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; overflow: hidden; border: 2px solid var(--primary); }
.md-avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.md-message-content { flex: 1; min-width: 0; }
.md-message-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.md-sender-name { font-size: 15px; font-weight: 700; color: var(--text); }
.md-badge-rank { background: var(--primary); color: var(--on-primary); font-size: 11px; padding: 2px 6px; }
.md-badge-role { background: var(--accent); color: var(--on-accent); font-size: 11px; padding: 2px 6px; }
.md-badge-champion { background: #8e44ad; color: #FFFFFF; font-size: 11px; padding: 2px 6px; }
.md-message-time { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.md-message-body { font-size: 14px; line-height: 1.6; color: var(--text); margin-bottom: 12px; overflow-wrap: anywhere; }
.md-message-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.md-mini-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-muted); background: var(--surface); padding: 3px 8px; border-radius: 2px; border: 1px solid var(--border); }
.md-chat-sim-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; background: #FFFFFF; border: 1px solid var(--border); border-radius: 4px; flex-wrap: wrap; }
.md-sim-input-box { display: flex; align-items: center; flex: 1; min-width: 240px; background: var(--surface-alt); padding: 10px 14px; border-radius: 4px; border: 1px dashed var(--border); }
.md-sim-text { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.md-sim-btn { font-size: 13px; padding: 10px 18px; white-space: nowrap; }
@media (max-width: 767px) {
  .md-chat-section { padding: 28px 0; }
  .md-sidebar-title { font-size: 16px; }
  .md-board-title { font-size: 16px; }
  .md-message-item { flex-direction: column; gap: 12px; padding: 14px; }
  .md-avatar-wrap { width: 44px; height: 44px; }
  .md-chat-board { padding: 16px; }
  .md-chat-sidebar { padding: 16px; }
  .md-chat-sim-bar { flex-direction: column; align-items: stretch; }
  .md-sim-btn { width: 100%; text-align: center; }
}

/* ===== PAGE: daily-quests ===== */
.quests-list-section { background-color: var(--bg); }
.quests-list-section .quests-info-desc { max-width: 640px; font-size: 16px; line-height: 1.6; }
.quests-list-section .quests-reset-pill { background-color: var(--surface); border: 1px solid var(--border); border-radius: 4px; font-size: 14px; color: var(--text); }
.quests-list-section .cy-icon-accent { color: var(--accent); font-size: 18px; }
.quests-list-section .quests-filter-tab { background-color: var(--surface); color: var(--text); border: 1px solid var(--border); padding: 8px 18px; border-radius: 4px; font-weight: 600; font-size: 14px; transition: all 0.25s ease-in-out; cursor: pointer; }
.quests-list-section .quests-filter-tab:hover { border-color: var(--accent); color: var(--accent); }
.quests-list-section .quests-filter-tab.active { background-color: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.quests-list-section .quest-item-card { background-color: var(--surface); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.quests-list-section .quest-item-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(16, 41, 28, 0.08); }
.quests-list-section .quest-media-box { aspect-ratio: 16/10; overflow: hidden; }
.quests-list-section .quest-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.quests-list-section .quest-badge-category { position: absolute; top: 12px; left: 12px; background-color: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 2px; }
.quests-list-section .quest-difficulty-tag { position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 2px; }
.quests-list-section .diff-easy { background-color: #2e7d32; color: #ffffff; }
.quests-list-section .diff-medium { background-color: #f57c00; color: #ffffff; }
.quests-list-section .diff-hard { background-color: var(--accent); color: var(--on-accent); }
.quests-list-section .quest-id-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.quests-list-section .quest-status-bullet { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 2px; display: inline-flex; align-items: center; }
.quests-list-section .status-waiting { background-color: var(--surface-alt); color: var(--text-muted); border: 1px solid var(--border); }
.quests-list-section .quest-card-title { font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.35; }
.quests-list-section .quest-card-text { font-size: 14px; line-height: 1.55; }
.quests-list-section .quest-progress-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.quests-list-section .quest-progress-value { font-size: 13px; font-weight: 700; color: var(--primary-text); }
.quests-list-section .quest-progress-track { height: 8px; background-color: var(--surface-alt); border-radius: 4px; overflow: hidden; border: 1px solid var(--border); }
.quests-list-section .quest-progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width 0.3s ease; }
.quests-list-section .quest-reward-title { font-size: 13px; font-weight: 600; color: var(--text); }
.quests-list-section .quest-reward-badge { font-size: 13px; font-weight: 700; color: var(--accent-text); background-color: #fdf0f4; border: 1px solid var(--accent); padding: 4px 8px; border-radius: 2px; }
.quests-list-section .quests-notice-panel { background-color: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 4px; }
.quests-list-section .quests-notice-icon { width: 44px; height: 44px; border-radius: 50%; background-color: var(--surface-alt); color: var(--primary-text); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.quests-list-section .quests-notice-heading { font-weight: 700; font-size: 15px; color: var(--text); }
.quests-list-section .quests-notice-sub { font-size: 13px; line-height: 1.5; }
.quests-list-section .quests-info-tag { font-size: 12px; font-weight: 700; color: var(--primary-text); background-color: var(--surface-alt); border: 1px solid var(--border); padding: 6px 12px; border-radius: 4px; }
@media (max-width: 767px) {
  .quests-list-section .quests-filter-wrap { gap: 6px; }
  .quests-list-section .quests-filter-tab { flex: 1 1 calc(50% - 6px); text-align: center; padding: 6px 10px; font-size: 13px; }
  .quests-list-section .quest-card-title { font-size: 16px; }
  .quests-list-section .quest-card-text { font-size: 13px; }
}

/* ===== PAGE: leaderboard ===== */
.cy-rankings-section {
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  overflow-x: hidden;
}

.cy-rankings-section .cy-rankings-section__subtitle {
  max-width: 680px;
  line-height: 1.6;
  font-size: 1rem;
}

.cy-rankings-section .cy-rankings-section__top-podium {
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.cy-rankings-section .cy-rankings-section__top-podium:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(16, 41, 28, 0.08);
}

.cy-rankings-section .cy-rankings-section__top-podium--gold {
  border-color: #d4af37;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF5 100%);
}

.cy-rankings-section .cy-rankings-section__top-podium--silver {
  border-color: #C0C0C0;
}

.cy-rankings-section .cy-rankings-section__top-podium--bronze {
  border-color: #CD7F32;
}

.cy-rankings-section .cy-rankings-section__rank-badge {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cy-rankings-section .cy-rankings-section__rank-badge--1 {
  background-color: #FEF3C7;
  color: #92400E;
}

.cy-rankings-section .cy-rankings-section__rank-badge--2 {
  background-color: #F3F4F6;
  color: #4B5563;
}

.cy-rankings-section .cy-rankings-section__rank-badge--3 {
  background-color: #FFEDD5;
  color: #9A3412;
}

.cy-rankings-section .cy-rankings-section__avatar-wrap {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 2px solid var(--border);
  border-radius: 50%;
}

.cy-rankings-section .cy-rankings-section__avatar-wrap--large {
  width: 90px;
  height: 90px;
  border-color: #d4af37;
}

.cy-rankings-section .cy-rankings-section__avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cy-rankings-section .cy-rankings-section__score-val {
  color: var(--primary);
  font-size: 1.15rem;
}

.cy-rankings-section .cy-rankings-section__score-val--highlight {
  color: var(--accent);
  font-size: 1.35rem;
}

.cy-rankings-section .cy-rankings-section__progress-track {
  height: 6px;
  background-color: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.cy-rankings-section .cy-rankings-section__progress-bar {
  height: 100%;
  background-color: var(--primary);
  border-radius: 3px;
}

.cy-rankings-section .cy-rankings-section__top-podium--gold .cy-rankings-section__progress-bar {
  background-color: var(--accent);
}

.cy-rankings-section .cy-rankings-section__table-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.cy-rankings-section .cy-rankings-section__filter-btn {
  border: 1px solid var(--border);
  background-color: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cy-rankings-section .cy-rankings-section__filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cy-rankings-section .cy-rankings-section__filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.cy-rankings-section .cy-rankings-section__table th {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  padding: 12px 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cy-rankings-section .cy-rankings-section__table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.cy-rankings-section .cy-rankings-section__table tr:hover td {
  background-color: var(--surface-alt);
}

.cy-rankings-section .cy-rankings-section__number-pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.95rem;
  background-color: var(--surface-alt);
  color: var(--text);
}

.cy-rankings-section .cy-rankings-section__number-pos--1 {
  background-color: #FEF3C7;
  color: #92400E;
}

.cy-rankings-section .cy-rankings-section__number-pos--2 {
  background-color: #F3F4F6;
  color: #4B5563;
}

.cy-rankings-section .cy-rankings-section__number-pos--3 {
  background-color: #FFEDD5;
  color: #9A3412;
}

.cy-rankings-section .cy-rankings-section__table-icon {
  font-size: 2.2rem;
  color: var(--primary);
}

.cy-rankings-section .cy-rankings-section__table-score {
  font-size: 1.05rem;
  color: var(--primary);
}

@media (max-width: 767px) {
  .cy-rankings-section .cy-rankings-section__table thead {
    display: none;
  }

  .cy-rankings-section .cy-rankings-section__table,
  .cy-rankings-section .cy-rankings-section__table tbody,
  .cy-rankings-section .cy-rankings-section__table tr,
  .cy-rankings-section .cy-rankings-section__table td {
    display: block;
    width: 100%;
  }

  .cy-rankings-section .cy-rankings-section__table tr {
    margin-bottom: 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background-color: var(--surface);
    padding: 10px;
  }

  .cy-rankings-section .cy-rankings-section__table td {
    border-bottom: 1px dashed var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px;
    text-align: right;
  }

  .cy-rankings-section .cy-rankings-section__table td:last-child {
    border-bottom: none;
  }

  .cy-rankings-section .cy-rankings-section__table td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 0.825rem;
    color: var(--text-muted);
    text-align: left;
    flex-shrink: 0;
  }
}

/* ===== PAGE: tournament-history ===== */
.cy-history-section{padding:60px 0;background-color:var(--bg);color:var(--text);font-family:var(--font-family-base)}.cy-history-lead{max-width:680px;font-size:16px;line-height:1.6;color:var(--text-muted);overflow-wrap:anywhere}.cy-filter-chip{background-color:var(--surface);border:1px solid var(--border);color:var(--text);padding:8px 18px;border-radius:4px;font-size:14px;font-weight:600;transition:all .25s ease-in-out;cursor:pointer}.cy-filter-chip:hover{border-color:var(--accent);color:var(--accent-text)}.cy-filter-chip.active{background-color:var(--primary);border-color:var(--primary);color:var(--on-primary)}.cy-history-card{background-color:var(--surface);border:1px solid var(--border);border-radius:4px;overflow:hidden;display:flex;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease}.cy-history-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px rgba(16,41,28,.08)}.cy-history-media-wrap{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background-color:var(--surface-alt)}.cy-history-thumb{width:100%;height:100%;object-fit:cover;display:block}.cy-history-status{position:absolute;top:12px;right:12px;background-color:var(--dark-band);color:var(--on-dark);padding:4px 10px;font-size:12px;font-weight:700;border-radius:2px;display:inline-flex;align-items:center}.cy-history-body{padding:22px;display:flex;flex-direction:column;flex-grow:1}.cy-history-date,.cy-history-pool{font-size:13px;font-weight:600;color:var(--text-muted);display:inline-flex;align-items:center}.cy-history-pool{color:var(--accent-text)}.cy-history-title{font-size:20px;font-weight:800;line-height:1.3;color:var(--text);margin-bottom:10px;overflow-wrap:anywhere}.cy-history-desc{font-size:14px;line-height:1.5;color:var(--text-muted);margin-bottom:18px;flex-grow:1;overflow-wrap:anywhere}.cy-podium-list{background-color:var(--surface-alt);border-radius:4px;padding:12px;display:flex;flex-direction:column;gap:8px}.cy-podium-item{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;padding:6px 8px;border-radius:3px;background-color:var(--surface)}.cy-podium-rank{display:inline-flex;align-items:center;justify-content:center;width:24px;margin-right:8px;font-weight:800}.cy-podium-gold .cy-podium-rank{color:#d49710}.cy-podium-silver .cy-podium-rank{color:#88949c}.cy-podium-bronze .cy-podium-rank{color:#ad663b}.cy-podium-name{color:var(--text);font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:140px}.cy-podium-score{color:var(--primary-text);font-weight:800}.cy-history-summary-box{background-color:var(--surface);border:1px solid var(--border);border-top:3px solid var(--accent);border-radius:4px}.cy-history-summary-title{font-size:24px;font-weight:800;color:var(--text)}.cy-history-stat-mini{padding:8px}.cy-stat-num{display:block;font-size:28px;font-weight:800;color:var(--primary);line-height:1.2}.cy-stat-lbl{display:block;font-size:12px;font-weight:600;color:var(--text-muted);line-height:1.4}@media (max-width:767px){.cy-history-section{padding:40px 0}.cy-history-summary-box .row.text-center{row-gap:16px}.cy-stat-num{font-size:22px}.cy-podium-name{max-width:105px}.cy-history-title{font-size:18px}}

/* ===== PAGE: news ===== */
.news-section { background-color: var(--bg); overflow: hidden; }
.news-section .news-section__eyebrow { color: var(--accent-text); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; display: inline-block; }
.news-section .news-section__title { color: var(--text); font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.2; word-break: break-word; }
.news-section .news-section__line { height: 2px; background: linear-gradient(90deg, var(--accent) 0%, rgba(203, 67, 121, 0.1) 100%); margin-left: 24px; }
.news-section .news-card { background-color: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 16px; transition: transform 250ms ease-in-out, box-shadow 250ms ease-in-out, border-color 250ms ease-in-out; }
.news-section .news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(16, 41, 28, 0.08); border-color: var(--accent); }
.news-section .news-card__media-link { display: block; border-radius: 4px; overflow: hidden; }
.news-section .news-card__media { width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background-color: var(--surface-alt); border-radius: 4px; }
.news-section .news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.news-section .news-card:hover .news-card__media img { transform: scale(1.04); }
.news-section .news-card__badge { background-color: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 2px; }
.news-section .news-card__meta-item { color: var(--text-muted); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.news-section .news-card__meta-item i { color: var(--primary); font-size: 15px; }
.news-section .news-card__title { font-size: clamp(16px, 1.8vw, 19px); font-weight: 700; line-height: 1.35; margin: 0; }
.news-section .news-card__title-link { color: var(--text); text-decoration: none; transition: color 250ms ease-in-out; word-break: break-word; }
.news-section .news-card__title-link:hover { color: var(--accent-text); }
.news-section .news-card__desc { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; word-break: break-word; }
.news-section .news-card__footer { border-color: var(--border) !important; }
.news-section .news-card__arrow-link { color: var(--accent-text); font-weight: 700; font-size: 14px; text-decoration: none; transition: transform 250ms ease-in-out, color 250ms ease-in-out; }
.news-section .news-card__arrow-link i { font-size: 18px; transition: transform 250ms ease-in-out; }
.news-section .news-card__arrow-link:hover { color: var(--primary-text); }
.news-section .news-card__arrow-link:hover i { transform: translateX(4px); }
@media (max-width: 767px) { .news-section .news-card { padding: 12px; } .news-section .news-section__title { font-size: 22px; } }

/* ===== PAGE: privacy ===== */
.md-privacy-section{padding:56px 0;background-color:var(--bg);color:var(--text);font-family:var(--font-family-base)}.md-privacy-nav-card{background:var(--surface);border:1px solid var(--border);border-top:3px solid var(--accent);border-radius:4px;padding:24px;position:sticky;top:100px}.md-privacy-side-title{font-size:22px;font-weight:700;color:var(--text);line-height:1.3}.md-privacy-nav-list{display:flex;flex-direction:column;gap:8px}.md-privacy-nav-item{list-style:none}.md-privacy-nav-link{display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:4px;color:var(--text);text-decoration:none;font-size:15px;font-weight:500;transition:all .25s ease-in-out;border-left:3px solid transparent}.md-privacy-nav-link i{font-size:18px;color:var(--primary)}.md-privacy-nav-link:hover{background-color:var(--surface-alt);color:var(--primary);border-left-color:var(--accent)}.md-privacy-nav-link.active{background-color:var(--surface-alt);color:var(--primary);font-weight:700;border-left-color:var(--primary)}.md-privacy-note{background-color:var(--surface-alt);padding:14px 16px;border-radius:4px;border:1px dashed var(--border)}.md-privacy-paper{background:var(--surface);border:1px solid var(--border);border-radius:4px;padding:40px;box-shadow:0 8px 24px rgba(16,41,28,.04)}.md-privacy-intro h2{font-size:32px;font-weight:800;color:var(--text);line-height:1.25}.md-privacy-num{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;background:var(--primary);color:var(--on-primary);font-size:14px;font-weight:800;border-radius:4px;flex-shrink:0}.md-privacy-subheading{font-size:20px;font-weight:700;color:var(--text);line-height:1.3}.md-privacy-box{background:var(--surface-alt);border:1px solid var(--border);border-radius:4px;padding:16px}.md-privacy-box-icon{font-size:20px;color:var(--accent)}.md-privacy-feature-list li span{color:var(--text);font-size:15px;line-height:1.6}.md-privacy-block p{line-height:1.7;font-size:15px}@media (max-width:991px){.md-privacy-nav-card{position:static;margin-bottom:24px}.md-privacy-paper{padding:24px 18px}}@media (max-width:767px){.md-privacy-intro h2{font-size:24px}.md-privacy-subheading{font-size:18px}.md-privacy-nav-link{font-size:14px;padding:8px 10px}}

/* ===== PAGE: terms ===== */
.terms-content-section { font-family: 'K2D', sans-serif; color: var(--text); }
.terms-content-section .terms-sticky-nav { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; }
.terms-content-section .terms-nav-link { display: flex; align-items: center; padding: 10px 14px; color: var(--text); text-decoration: none; border-radius: 4px; font-weight: 500; font-size: 14px; transition: all 0.25s ease-in-out; border-left: 3px solid transparent; }
.terms-content-section .terms-nav-link:hover, .terms-content-section .terms-nav-link.active { background: var(--surface-alt); color: var(--primary-text); border-left-color: var(--accent); }
.terms-content-section .terms-notice-box { background: var(--surface-alt); border-radius: 4px; border: 1px dashed var(--border); }
.terms-content-section .terms-article-wrapper { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; }
.terms-content-section .terms-intro-plate { background: var(--surface-alt); border-radius: 4px; border-left: 4px solid var(--accent); }
.terms-content-section .terms-item-title { font-size: 24px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 12px; }
.terms-content-section .terms-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 4px; background: var(--primary); color: var(--on-primary); font-size: 16px; font-weight: 800; }
.terms-content-section .terms-text { color: var(--text-muted); line-height: 1.7; font-size: 15px; margin-bottom: 1rem; }
.terms-content-section .terms-feature-list { list-style: none; padding-left: 0; margin-bottom: 1rem; }
.terms-content-section .terms-feature-list li { display: flex; align-items: flex-start; margin-bottom: 8px; color: var(--text); font-size: 15px; }
.terms-content-section .terms-feature-list li i { margin-top: 3px; font-size: 18px; }
.terms-content-section .terms-mini-card { background: var(--surface-alt); border: 1px solid var(--border); border-radius: 4px; }
.terms-content-section .text-accent { color: var(--accent) !important; }
@media (max-width: 991px) {
  .terms-content-section .terms-sticky-nav { position: static; margin-bottom: 1rem; }
}
@media (max-width: 767px) {
  .terms-content-section .terms-item-title { font-size: 18px; }
  .terms-content-section .terms-num { width: 28px; height: 28px; font-size: 14px; }
  .terms-content-section .terms-text { font-size: 14px; }
}

/* ===== PAGE: disclaimer ===== */
.md-disclaimer-wrap {
  background-color: var(--bg);
  color: var(--text);
}
.md-disclaimer-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
}
.md-disclaimer-subtext {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.md-disclaimer-nav .md-nav-item {
  padding: 10px 14px;
  border-radius: 4px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  border-left: 3px solid transparent;
}
.md-disclaimer-nav .md-nav-item i {
  font-size: 1.15rem;
  color: var(--primary);
  transition: color 0.25s ease-in-out;
}
.md-disclaimer-nav .md-nav-item:hover,
.md-disclaimer-nav .md-nav-item.active {
  background-color: var(--surface-alt);
  color: var(--primary-text);
  border-left-color: var(--accent);
}
.md-disclaimer-nav .md-nav-item:hover i,
.md-disclaimer-nav .md-nav-item.active i {
  color: var(--accent);
}
.md-divider {
  border: 0;
  border-top: 1px solid var(--border);
  opacity: 1;
}
.md-section-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 4px;
  transition: box-shadow 0.25s ease-in-out;
}
.md-section-card:hover {
  box-shadow: 0 8px 24px rgba(16, 41, 28, 0.05);
}
.md-section-card p {
  color: var(--text-muted);
  line-height: 1.7;
}
.md-section-card h2.cy-title {
  color: var(--text);
  font-weight: 700;
}
.md-notice-box {
  background-color: var(--surface-alt);
  border-left: 3px solid var(--primary);
  border-radius: 4px;
  color: var(--text);
}
.md-notice-box i {
  color: var(--primary);
}
.md-custom-list {
  list-style: none;
}
.md-custom-list li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.md-custom-list li i {
  color: var(--accent);
  font-size: 1.1rem;
}
.md-card-sub {
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.md-card-sub h3 {
  color: var(--text);
  font-weight: 600;
}
.md-card-sub h3 i {
  color: var(--accent);
}
.md-disclaimer-wrap .cy-btn {
  background: var(--primary);
  color: var(--on-primary);
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}
.md-disclaimer-wrap .cy-btn:hover {
  background: var(--primary-hover);
  color: var(--on-primary);
}
.md-disclaimer-wrap .cy-btn-alt {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.25s ease-in-out;
}
.md-disclaimer-wrap .cy-btn-alt:hover {
  background: var(--primary);
  color: var(--on-primary);
}
@media (max-width: 991px) {
  .md-disclaimer-sidebar {
    position: static !important;
  }
}
@media (max-width: 767px) {
  .md-section-card {
    padding: 1.5rem !important;
  }
  .md-custom-list li {
    font-size: 0.9rem;
  }
}

.candy-comment-card {
    background-color: #FFFFFF;
    border: 1px solid #E4DFD8;
    border-top: 3px solid #CB4379;
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(16, 41, 28, 0.05);
}

.candy-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.candy-comment-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.candy-avatar-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.candy-comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ECF6F1;
    display: block;
}

.candy-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: #1F4F36;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
}

.candy-author-name {
    font-size: 16px;
    font-weight: 700;
    color: #261F14;
    line-height: 1.3;
}

.candy-player-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #1F4F36;
    background-color: #ECF6F1;
    border: 1px solid #1F4F36;
    border-radius: 2px;
    padding: 2px 8px;
    line-height: 1.2;
}

.candy-player-badge i {
    font-size: 13px;
    color: #CB4379;
}

.candy-comment-time {
    font-size: 13px;
    color: #72695A;
    font-weight: 400;
}

.candy-rating {
    display: flex;
    gap: 2px;
    color: #CB4379;
    font-size: 16px;
}

.candy-comment-body {
    color: #261F14;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.candy-comment-body p {
    margin-bottom: 0;
}

.candy-comment-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #E4DFD8;
    padding-top: 14px;
}

.candy-action-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.candy-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #F7F2EC;
    border: 1px solid #E4DFD8;
    color: #261F14;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

.candy-action-btn i {
    font-size: 16px;
    color: #1F4F36;
}

.candy-action-btn:hover {
    background-color: #ECF6F1;
    border-color: #1F4F36;
    color: #1F4F36;
}

.candy-like-btn:hover i {
    color: #CB4379;
}

.candy-count-bubble {
    display: inline-block;
    background-color: #FFFFFF;
    border: 1px solid #E4DFD8;
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 12px;
    font-weight: 700;
    color: #1F4F36;
}

.candy-reply-btn {
    background-color: #1F4F36;
    color: #FFFFFF;
    border-color: #1F4F36;
}

.candy-reply-btn i {
    color: #FFFFFF;
}

.candy-reply-btn:hover {
    background-color: #153524;
    color: #FFFFFF;
    border-color: #153524;
}

.candy-share-btn {
    background: transparent;
    border: none;
    color: #72695A;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.25s ease-in-out;
}

.candy-share-btn:hover {
    color: #CB4379;
}

.candy-reply-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-left: 36px;
    margin-bottom: 16px;
    position: relative;
}

.candy-reply-indicator {
    color: #CB4379;
    font-size: 24px;
    line-height: 1;
    padding-top: 10px;
    flex-shrink: 0;
}

.candy-reply-inner {
    flex-grow: 1;
    background-color: #ECF6F1;
    border: 1px solid #E4DFD8;
    border-left: 3px solid #1F4F36;
    border-radius: 4px;
    padding: 18px 20px;
    box-shadow: 0 2px 10px rgba(16, 41, 28, 0.04);
}

.candy-reply-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.candy-reply-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.candy-reply-avatar-wrapper {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.candy-reply-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFFFFF;
    display: block;
}

.candy-reply-meta {
    display: flex;
    flex-direction: column;
}

.candy-reply-role-tag {
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
    background-color: #CB4379;
    border-radius: 2px;
    padding: 1px 6px;
    line-height: 1.2;
    text-transform: uppercase;
}

.candy-reply-time {
    font-size: 12px;
    color: #72695A;
    font-weight: 400;
    margin-top: 2px;
}

.candy-reply-body {
    color: #261F14;
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 14px;
}

.candy-reply-body p {
    margin-bottom: 0;
}

.candy-mention-tag {
    color: #CB4379;
    font-weight: 700;
    margin-right: 4px;
}

.candy-reply-footer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.candy-reply-like {
    background-color: #FFFFFF;
}

.candy-reply-like:hover {
    border-color: #CB4379;
    color: #CB4379;
}

.candy-reply-like:hover i {
    color: #CB4379;
}

@media (max-width: 576px) {
    .candy-reply-card {
        margin-left: 12px;
    }

    .candy-reply-inner {
        padding: 14px 14px;
    }
}


/* ===== PAGE TEMPLATE: games-collection ===== */
.md-game-detail-page {
    background-color: var(--bg, #F7F2EC);
    color: var(--text, #261F14);
    font-family: var(--font_family_base, 'K2D', sans-serif);
    overflow-x: hidden;
}

.md-game-detail-page .md-content-container {
    max-width: 1100px;
}

.md-game-detail-page .md-game-breadcrumb .breadcrumb-item a {
    color: var(--on-dark-muted, #C3BEB6);
    font-size: 14px;
}

.md-game-detail-page .md-game-breadcrumb .breadcrumb-item a:hover {
    color: var(--accent, #CB4379);
}

.md-game-detail-page .md-game-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

.md-game-detail-page .md-accent-heading-line {
    width: 60px;
    height: 3px;
    background-color: var(--accent, #CB4379);
    border-radius: 2px;
}

.md-game-detail-page .md-pulse-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #2ED573;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(46, 213, 115, 0.3);
}

.md-game-detail-page .md-game-stage-wrapper {
    background-color: #0b1c13;
    border: 2px solid var(--accent, #CB4379);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(16, 41, 28, 0.35);
}

.md-game-detail-page .md-game-control-bar {
    background-color: rgba(16, 41, 28, 0.95);
    border-bottom: 1px solid rgba(203, 67, 121, 0.3);
}

.md-game-detail-page .md-fullscreen-btn {
    background-color: var(--accent, #CB4379);
    color: #FFFFFF;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.25s ease-in-out;
}

.md-game-detail-page .md-fullscreen-btn:hover {
    background-color: #A82B5E;
    color: #FFFFFF;
}

.md-game-detail-page .md-exit-fullscreen-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 9999;
    background-color: var(--accent, #CB4379);
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.md-game-detail-page .md-exit-fullscreen-btn:hover {
    background-color: #A82B5E;
    transform: scale(1.08);
}

.md-game-detail-page .md-iframe-holder {
    width: 100%;
    height: 560px;
    position: relative;
    background-color: #000000;
}

.md-game-detail-page .md-game-iframe {
    border: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.md-game-detail-page .md-game-stage-wrapper:fullscreen,
.md-game-detail-page .md-game-stage-wrapper:-webkit-full-screen {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    border-radius: 0;
    background: #000000;
    display: flex;
    flex-direction: column;
}

.md-game-detail-page .md-game-stage-wrapper:fullscreen .md-game-control-bar,
.md-game-detail-page .md-game-stage-wrapper:-webkit-full-screen .md-game-control-bar {
    flex: 0 0 auto;
}

.md-game-detail-page .md-game-stage-wrapper:fullscreen .md-iframe-holder,
.md-game-detail-page .md-game-stage-wrapper:-webkit-full-screen .md-iframe-holder {
    flex: 1 1 auto;
    height: auto !important;
    min-height: 0;
}

.md-game-detail-page .md-game-stage-wrapper:fullscreen .md-game-iframe,
.md-game-detail-page .md-game-stage-wrapper:-webkit-full-screen .md-game-iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.md-game-detail-page .md-game-iframe:fullscreen,
.md-game-detail-page .md-game-iframe:-webkit-full-screen {
    width: 100% !important;
    height: 100% !important;
    background: #000000;
}

.md-game-detail-page .md-fact-tile {
    background-color: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4DFD8);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(16, 41, 28, 0.04);
}

.md-game-detail-page .md-fact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--surface-alt, #ECF6F1);
    color: var(--primary, #1F4F36);
    border-radius: 4px;
    flex-shrink: 0;
}

.md-game-detail-page .md-fact-label {
    font-size: 13px;
}

.md-game-detail-page .md-fact-value {
    font-size: 15px;
}

.md-game-detail-page .md-feature-box {
    background-color: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4DFD8);
    border-top: 3px solid var(--accent, #CB4379);
    border-radius: 4px;
}

.md-game-detail-page .md-feature-icon-badge {
    width: 52px;
    height: 52px;
    background-color: var(--primary, #1F4F36);
    border-radius: 4px;
}

.md-game-detail-page .md-guide-panel {
    background-color: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4DFD8);
    border-radius: 4px;
}

.md-game-detail-page .md-step-badge {
    width: 32px;
    height: 32px;
    background-color: var(--accent, #CB4379);
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.md-game-detail-page .md-image-frame {
    background-color: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4DFD8);
    border-radius: 4px;
    box-shadow: 0 6px 16px rgba(16, 41, 28, 0.06);
}

.md-game-detail-page .md-image-frame img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.md-game-detail-page .candy-comment-card,
.md-game-detail-page .candy-reply-card {
    background-color: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4DFD8);
    border-radius: 4px;
    padding: 20px;
}

.md-game-detail-page .candy-reply-card {
    margin-left: 28px;
    background-color: #FAF7F3;
    border-left: 3px solid var(--accent, #CB4379);
}

.md-game-detail-page .candy-comment-header,
.md-game-detail-page .candy-reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.md-game-detail-page .candy-comment-user,
.md-game-detail-page .candy-reply-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.md-game-detail-page .candy-avatar-wrapper,
.md-game-detail-page .candy-reply-avatar-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.md-game-detail-page .candy-comment-avatar,
.md-game-detail-page .candy-reply-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.md-game-detail-page .candy-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #2ED573;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
}

.md-game-detail-page .candy-author-name {
    font-weight: 700;
    color: var(--text, #261F14);
}

.md-game-detail-page .candy-player-badge,
.md-game-detail-page .candy-reply-role-tag {
    background-color: var(--surface-alt, #ECF6F1);
    color: var(--primary, #1F4F36);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 2px;
    font-weight: 600;
}

.md-game-detail-page .candy-comment-time,
.md-game-detail-page .candy-reply-time {
    font-size: 12px;
    color: var(--text-muted, #72695A);
}

.md-game-detail-page .candy-rating {
    color: #FFB800;
    font-size: 16px;
}

.md-game-detail-page .candy-comment-body,
.md-game-detail-page .candy-reply-body {
    color: var(--text, #261F14);
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 12px;
}

.md-game-detail-page .candy-mention-tag {
    color: var(--accent, #CB4379);
    font-weight: 600;
}

.md-game-detail-page .candy-comment-footer,
.md-game-detail-page .candy-reply-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.md-game-detail-page .candy-action-group {
    display: flex;
    gap: 8px;
}

.md-game-detail-page .candy-action-btn {
    border: 1px solid var(--border, #E4DFD8);
    background-color: transparent;
    color: var(--text-muted, #72695A);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

.md-game-detail-page .candy-action-btn:hover,
.md-game-detail-page .candy-action-btn.active {
    color: var(--accent, #CB4379);
    border-color: var(--accent, #CB4379);
    background-color: rgba(203, 67, 121, 0.05);
}

.md-game-detail-page .candy-count-bubble {
    background-color: var(--surface-alt, #ECF6F1);
    color: var(--primary, #1F4F36);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 11px;
}

.md-game-detail-page .candy-share-btn {
    border: none;
    background: transparent;
    color: var(--text-muted, #72695A);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.md-game-detail-page .candy-share-btn:hover {
    color: var(--accent, #CB4379);
}

.md-game-detail-page .md-portfolio-card {
    border: 1px solid var(--border, #E4DFD8);
    background-color: var(--surface, #FFFFFF);
}

.md-game-detail-page .md-card-thumb-frame {
    aspect-ratio: 3 / 2;
    background-color: #261F14;
}

.md-game-detail-page .md-card-thumb-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.md-game-detail-page .md-portfolio-card:hover .md-card-thumb-frame img {
    transform: scale(1.05);
}

.md-game-detail-page .md-card-caption-overlap {
    border-top: 2px solid var(--accent, #CB4379);
}

.md-game-detail-page .md-accent-link {
    color: var(--accent, #CB4379);
}

.md-game-detail-page .md-accent-link:hover {
    color: #A82B5E;
}

.md-game-detail-page .md-cta-card {
    background-color: #163625;
    border: 1px solid rgba(203, 67, 121, 0.3);
    border-radius: 6px;
}

.md-game-detail-page .md-cta-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent, #CB4379);
}

@media (max-width: 767.98px) {
    .md-game-detail-page .md-iframe-holder {
        height: 380px;
    }

    .md-game-detail-page .candy-reply-card {
        margin-left: 10px;
    }

    .md-game-detail-page .md-cta-card {
        text-align: center;
    }

    .md-game-detail-page .md-cta-card .d-flex {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== PAGE TEMPLATE: news ===== */
.md-header-root {
    width: 100%;
    position: relative;
    z-index: 1050;
    font-family: var(--font_family_base, 'K2D', sans-serif);
}

.md-header-root .md-topbar {
    background-color: var(--dark-band, #10291C);
    color: var(--on-dark-muted, #C3BEB6);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.md-header-root .md-topbar a {
    color: var(--on-dark-muted, #C3BEB6);
    text-decoration: none;
    transition: color 0.25s ease-in-out;
}

.md-header-root .md-topbar a:hover {
    color: var(--on-dark, #FFFFFF);
}

.md-header-root .md-topbar i {
    color: var(--accent, #CB4379);
    font-size: 15px;
    vertical-align: middle;
}

.md-header-root .md-status-dot {
    width: 8px;
    height: 8px;
    background-color: #2ED573;
    border-radius: 50%;
    display: inline-block;
}

.md-header-root .md-navbar {
    background-color: var(--bg, #F7F2EC);
    border-bottom: 1px solid var(--border, #E4DFD8);
    min-height: 80px;
    padding: 12px 0;
}

.md-header-root .md-brand-badge {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.md-header-root .md-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.md-header-root .md-brand-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary, #1F4F36);
    letter-spacing: -0.01em;
}

.md-header-root .navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text, #261F14);
    padding: 8px 14px;
    transition: color 0.25s ease-in-out;
}

.md-header-root .navbar-nav .nav-link:hover,
.md-header-root .navbar-nav .nav-link:focus {
    color: var(--primary, #1F4F36);
}

.md-header-root .navbar-nav .nav-link.active {
    color: var(--accent-text, #C4366E);
}

.md-header-root .md-dropdown-menu {
    background-color: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E4DFD8);
    border-top: 3px solid var(--accent, #CB4379);
    border-radius: 4px;
    padding: 8px 0;
    box-shadow: 0 10px 25px rgba(16, 41, 28, 0.08);
    margin-top: 8px;
}

.md-header-root .md-dropdown-menu .dropdown-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--text, #261F14);
    padding: 10px 20px;
    transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}

.md-header-root .md-dropdown-menu .dropdown-item:hover {
    background-color: var(--surface-alt, #ECF6F1);
    color: var(--primary, #1F4F36);
}

.md-header-root .md-phone-link {
    color: var(--text, #261F14);
    font-weight: 700;
    font-size: 15px;
}

.md-header-root .md-phone-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--accent, #CB4379);
    color: var(--on-accent, #FFFFFF);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.md-header-root .md-split-btn {
    display: inline-flex;
    align-items: stretch;
    border-radius: 4px;
    border: 1px solid var(--accent, #CB4379);
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.25s ease-in-out;
}

.md-header-root .md-split-btn .md-btn-text {
    background-color: var(--surface, #FFFFFF);
    color: var(--text, #261F14);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}

.md-header-root .md-split-btn .md-btn-icon {
    background-color: var(--accent, #CB4379);
    color: var(--on-accent, #FFFFFF);
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}

.md-header-root .md-split-btn:hover .md-btn-text {
    background-color: var(--accent, #CB4379);
    color: var(--on-accent, #FFFFFF);
}

.md-header-root .md-split-btn:hover .md-btn-icon {
    background-color: var(--surface, #FFFFFF);
    color: var(--accent, #CB4379);
}

.md-header-root .md-toggler {
    border: 1px solid var(--accent, #CB4379);
    border-radius: 4px;
    padding: 8px 10px;
    background-color: var(--surface, #FFFFFF);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.md-header-root .md-toggler:focus {
    box-shadow: 0 0 0 2px rgba(203, 67, 121, 0.3);
    outline: none;
}

.md-header-root .md-toggler-bar {
    width: 22px;
    height: 2px;
    background-color: var(--accent, #CB4379);
    display: block;
    border-radius: 1px;
}

.md-news-detail-wrapper {
    font-family: var(--font_family_base, 'K2D', sans-serif);
    color: var(--text, #261F14);
}

.md-news-detail-wrapper .md-article-hero {
    border-bottom: 2px solid var(--accent, #CB4379);
}

.md-news-detail-wrapper .md-hero-title {
    font-size: 38px;
    line-height: 1.25;
    font-weight: 800;
}

.md-news-detail-wrapper .md-hero-lead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--on-dark-muted, #C3BEB6);
}

.md-news-detail-wrapper .md-game-container {
    border: 1px solid var(--border, #E4DFD8);
    border-radius: 6px;
    overflow: hidden;
    background-color: #0d2217;
    box-shadow: 0 10px 25px rgba(16, 41, 28, 0.12);
}

.md-news-detail-wrapper .md-game-top-bar {
    background-color: var(--dark-band, #10291C);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.md-news-detail-wrapper .md-status-dot {
    width: 10px;
    height: 10px;
    background-color: #2ED573;
    border-radius: 50%;
    display: inline-block;
}

.md-news-detail-wrapper .md-fullscreen-btn {
    background-color: var(--accent, #CB4379);
    color: #FFFFFF;
    border: none;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.md-news-detail-wrapper .md-fullscreen-btn:hover {
    background-color: #a82b5e;
    color: #FFFFFF;
}

.md-news-detail-wrapper .md-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 520px;
    background-color: #08160f;
}

.md-news-detail-wrapper .md-game-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.md-news-detail-wrapper .md-exit-fullscreen-btn {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 9999;
    background-color: var(--accent, #CB4379);
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    align-items: center;
    gap: 6px;
}

.md-news-detail-wrapper .md-game-container:fullscreen,
.md-news-detail-wrapper .md-game-container:-webkit-full-screen {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0;
}

.md-news-detail-wrapper .md-game-container:fullscreen .md-iframe-wrapper,
.md-news-detail-wrapper .md-game-container:-webkit-full-screen .md-iframe-wrapper {
    height: calc(100% - 46px);
}

.md-news-detail-wrapper .md-game-container:fullscreen .md-exit-fullscreen-btn,
.md-news-detail-wrapper .md-game-container:-webkit-full-screen .md-exit-fullscreen-btn {
    display: inline-flex;
}

.md-news-detail-wrapper .md-custom-pills .nav-link {
    background-color: var(--surface, #FFFFFF);
    color: var(--text, #261F14);
    border: 1px solid var(--border, #E4DFD8);
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.25s ease-in-out;
}

.md-news-detail-wrapper .md-custom-pills .nav-link.active {
    background-color: var(--primary, #1F4F36);
    color: #FFFFFF;
    border-color: var(--primary, #1F4F36);
}

.md-news-detail-wrapper .md-custom-pills .nav-link:hover:not(.active) {
    background-color: var(--surface-alt, #ECF6F1);
    color: var(--primary, #1F4F36);
}

.md-news-detail-wrapper .md-highlight-takeaway {
    background-color: var(--surface-alt, #ECF6F1);
    border-left: 4px solid var(--accent, #CB4379);
    border-radius: 4px;
}

.md-news-detail-wrapper .md-card-thumb-frame {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.md-news-detail-wrapper .md-card-thumb-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.md-news-detail-wrapper .cy-card:hover .md-card-thumb-frame img {
    transform: scale(1.04);
}

.md-news-detail-wrapper .md-brand-action-btn {
    background-color: #FFFFFF;
    color: var(--primary, #1F4F36);
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

.md-news-detail-wrapper .md-brand-action-btn:hover {
    background-color: var(--surface-alt, #ECF6F1);
    color: var(--primary, #1F4F36);
}

.cy-footer-block {
    background-color: var(--dark-band, #10291C);
    color: var(--on-dark-muted, #C3BEB6);
    font-family: var(--font_family_base, 'K2D', sans-serif);
    overflow: hidden;
}

.cy-footer-block .cy-footer-heading {
    color: var(--on-dark, #FFFFFF);
    letter-spacing: 0.05em;
    border-left: 3px solid var(--accent, #CB4379);
    padding-left: 10px;
}

.cy-footer-block .cy-footer-logo {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.cy-footer-block .cy-footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--on-dark-muted, #C3BEB6);
}

.cy-footer-block .cy-badge {
    background-color: var(--primary, #1F4F36);
    color: var(--on-primary, #FFFFFF);
    border: 1px solid var(--accent, #CB4379);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.cy-footer-block .cy-footer-link {
    color: var(--on-dark-muted, #C3BEB6);
    text-decoration: none;
    transition: color 0.25s ease-in-out, transform 0.2s ease-in-out;
}

.cy-footer-block .cy-footer-link:hover,
.cy-footer-block .cy-footer-link:focus {
    color: var(--accent, #CB4379);
    transform: translateX(3px);
}

.cy-footer-block .cy-footer-nav li {
    font-size: 15px;
}

.cy-footer-block .cy-footer-nav i {
    color: var(--accent, #CB4379);
    font-size: 16px;
}

.cy-footer-block .cy-contact-icon {
    color: var(--accent, #CB4379);
    flex-shrink: 0;
}

.cy-footer-block .cy-contact-text {
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.cy-footer-block .cy-footer-map {
    height: 200px;
    width: 100%;
    border: 1px solid rgba(203, 67, 121, 0.4);
    background-color: #0b1c13;
}

.cy-footer-block .cy-footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.cy-footer-block .cy-legal-links a {
    color: var(--on-dark-muted, #C3BEB6);
    text-decoration: none;
}

.cy-footer-block .cy-legal-links a:hover {
    color: var(--accent, #CB4379);
    text-decoration: underline;
}

.cy-footer-block .cy-divider-dot {
    color: rgba(255, 255, 255, 0.3);
    user-select: none;
}

@media (max-width: 991.98px) {
    .md-header-root .navbar-collapse {
        background-color: var(--surface, #FFFFFF);
        border-top: 1px solid var(--border, #E4DFD8);
        padding: 16px 20px;
        border-radius: 0 0 6px 6px;
        box-shadow: 0 16px 24px rgba(16, 41, 28, 0.08);
        margin-top: 12px;
    }

    .md-header-root .navbar-nav {
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border, #E4DFD8);
    }

    .md-header-root .md-nav-actions {
        padding-top: 12px;
        flex-direction: column;
        align-items: flex-start !important;
        width: 100%;
    }

    .md-header-root .md-split-btn {
        width: 100%;
        justify-content: space-between;
    }

    .md-header-root .md-split-btn .md-btn-text {
        flex-grow: 1;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .md-news-detail-wrapper .md-hero-title {
        font-size: 26px;
    }

    .md-news-detail-wrapper .md-iframe-wrapper {
        height: 380px;
    }

    .md-news-detail-wrapper .md-custom-pills {
        flex-direction: column;
    }

    .md-news-detail-wrapper .md-custom-pills .nav-link {
        width: 100%;
        text-align: left;
    }

    .cy-footer-block .cy-footer-heading {
        margin-top: 10px;
    }

    .cy-footer-block .cy-footer-map {
        height: 180px;
    }

    .cy-footer-block .cy-footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .md-header-root .md-brand-name {
        font-size: 18px;
    }

    .md-header-root .md-topbar {
        font-size: 12px;
        text-align: center;
    }

    .md-header-root .md-topbar-info,
    .md-header-root .md-topbar-contact {
        justify-content: center;
        width: 100%;
    }
}

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

/* ===== fixes ===== */

/* prevent horizontal page scrolling (keeps position:sticky working) */
html, body.morning-district-body {
    overflow-x: clip;
}

/* header: burger menu button only in the mobile version,
   desktop shows normal inline navigation */
@media (min-width: 992px) {
    .md-header-root .md-toggler {
        display: none;
    }
}

/* hero CTA: keep button text white on hover */
.md-hero .md-hero-btn:hover,
.cy-on-dark a.md-hero-btn:hover,
.cy-on-dark a.md-hero-btn:focus {
    color: var(--on-accent, #FFFFFF);
}

/* lighter text on dark backgrounds (Bootstrap's text-light-emphasis renders too dark) */
.cy-footer-block .text-light-emphasis,
.cy-section-dark .text-light-emphasis,
.cy-on-dark .text-light-emphasis,
.md-cta-card .text-light-emphasis,
.md-game-hero-section .text-light-emphasis {
    color: var(--on-dark-muted, #E8E3DA) !important;
}

/* disclaimer nav: numbered markers instead of icons */
.md-disclaimer-nav .md-nav-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--primary, #1F4F36);
    color: var(--on-primary, #FFFFFF);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: background-color 0.25s ease-in-out;
}
.md-disclaimer-nav .md-nav-item:hover .md-nav-num,
.md-disclaimer-nav .md-nav-item.active .md-nav-num {
    background-color: var(--accent, #CB4379);
}

/* rankings table avatars */
.cy-rankings-section .cy-rankings-section__table-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--surface-alt, #ECF6F1);
    flex-shrink: 0;
    display: block;
}

/* comment form on game detail pages */
.md-comment-form-card .form-label {
    color: var(--text, #261F14);
}
.md-comment-form-card .form-control,
.md-comment-form-card .form-select {
    border: 1px solid var(--border, #E4DFD8);
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 15px;
    color: var(--text, #261F14);
    background-color: var(--surface, #FFFFFF);
}
.md-comment-form-card .form-control:focus,
.md-comment-form-card .form-select:focus {
    border-color: var(--accent, #CB4379);
    box-shadow: 0 0 0 3px rgba(203, 67, 121, 0.12);
}
.md-comment-form-card .md-comment-submit {
    border: none;
    cursor: pointer;
}
.md-comment-form-card .candy-comment-success {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background-color: var(--surface-alt, #ECF6F1);
    border: 1px solid var(--primary, #1F4F36);
    color: var(--primary, #1F4F36);
    border-radius: 4px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
}
.md-comment-form-card .candy-comment-success i {
    font-size: 20px;
    flex-shrink: 0;
}

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

.md-split-btn {
    display: inline-flex;
    align-items: stretch;
    border-radius: 4px;
    border: 1px solid var(--accent, #CB4379);
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.25s ease-in-out;
}

.md-split-btn .md-btn-text {
    background-color: var(--surface, #FFFFFF);
    color: var(--text, #261F14);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}

.md-split-btn .md-btn-icon {
    background-color: var(--accent, #CB4379);
    color: var(--on-accent, #FFFFFF);
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}

.md-split-btn:hover .md-btn-text {
    background-color: var(--accent, #CB4379);
    color: var(--on-accent, #FFFFFF);
}

.md-split-btn:hover .md-btn-icon {
    background-color: var(--surface, #FFFFFF);
    color: var(--accent, #CB4379);
}

.leaderboard-preview-block .record-score {
    flex-shrink: 0;
}
