/* =========================================================
   ROSINESS GAMES
   GLOBAL CSS
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background: #f5f1e9;
    color: #171717;
    font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}


/* =========================================================
   GLOBAL CONTAINER
   ========================================================= */

.site-container {
    width: min(1400px, calc(100% - 80px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    width: 100%;
    min-height: 94px;
    background: #0b1820;
    color: white;
    position: relative;
    z-index: 1000;
}

.header-container {
    width: min(1400px, calc(100% - 80px));
    min-height: 94px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
}

.site-logo {
    width: 145px;
    flex: 0 0 145px;
    margin-left: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 1;
}

.logo-main {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 1.5px;
}

.logo-sub {
    margin-top: 4px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 9px;
    letter-spacing: 3px;
}

.main-navigation {
    height: 94px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 2.2vw, 34px);
    min-width: 0;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.nav-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    white-space: nowrap;
    position: relative;
    color: #ffffff;
    transition: opacity 0.2s ease;
}

.nav-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    border: 0;
    padding: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.nav-chevron {
    width: 7px;
    height: 7px;
    margin: -4px 0 0 9px;
    border-right: 1px solid #c79a4c;
    border-bottom: 1px solid #c79a4c;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron,
.nav-dropdown.is-open .nav-chevron {
    transform: translateY(3px) rotate(225deg);
}

.mega-menu {
    position: absolute;
    z-index: 1200;
    top: 100%;
    left: 50%;
    width: min(780px, calc(100vw - 32px));
    padding: 30px 34px 32px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    color: #18252b;
    background: #f7f3eb;
    border-top: 3px solid #c94a3b;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu,
.nav-dropdown.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.mega-menu-column {
    min-width: 0;
}

    .mega-menu-column h3 {
        margin: 0 0 14px;
        color: #855b2d;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0.4px;
    }

    .mega-menu-column a {
        display: block;
        padding: 9px 0;
        color: #263238;
        font-size: 13px;
        line-height: 1.45;
        border-bottom: 1px solid rgba(15, 31, 39, 0.1);
        transition: color 0.18s ease, padding-left 0.18s ease;
    }

        .mega-menu-column a:hover,
        .mega-menu-column a:focus-visible {
            padding-left: 5px;
            color: #a5382d;
        }

.nav-cn {
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    white-space: nowrap;
}

.nav-en {
    margin-top: 4px;
    font-size: 7px;
    line-height: 9px;
    letter-spacing: 1.3px;
    color: #c79a4c;
    text-align: center;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 0.75;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 2px;
    background: #c94a3b;
}

.header-actions {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    position: relative;
    z-index: 1;
}

.search-button {
    width: 32px;
    height: 40px;
    flex: 0 0 32px;
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-icon {
    width: 18px;
    height: 18px;
    border: 2px solid white;
    border-radius: 50%;
    position: relative;
    display: block;
}

    .search-icon::after {
        content: "";
        position: absolute;
        width: 8px;
        height: 2px;
        background: white;
        right: -6px;
        bottom: -3px;
        transform: rotate(45deg);
    }

.contact-button {
    width: 120px;
    height: 56px;
    flex: 0 0 120px;
    background: #c94a3b;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

    .contact-button:hover {
        background: #ad3e32;
    }

.contact-cn {
    font-size: 13px;
    line-height: 17px;
    font-weight: 600;
    white-space: nowrap;
}

.contact-en {
    margin-top: 2px;
    font-size: 7px;
    letter-spacing: 1px;
    line-height: 9px;
    white-space: nowrap;
}


/* =========================================================
   FULL-WIDTH HOME HERO CAROUSEL
   ========================================================= */

.home-hero {
    width: 100%;
    background: #0b1820;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: clamp(540px, calc(100vh - 94px), 780px);
    min-height: 540px;
    overflow: hidden;
    isolation: isolate;
    background: #0b1820;
}

.home-hero-inner.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 0;
    margin: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    background: #0b1820;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

    .home-hero-inner.hero-slide.is-active {
        opacity: 1;
        visibility: visible;
        z-index: 1;
    }

.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero-inner.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 90deg, rgba(7, 18, 25, 0.86) 0%, rgba(7, 18, 25, 0.58) 42%, rgba(7, 18, 25, 0.12) 78%, rgba(7, 18, 25, 0.04) 100% );
    pointer-events: none;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, 51%);
    margin-left: max(40px, calc((100vw - 1400px) / 2));
    margin-right: auto;
    padding: 80px 32px 110px 0;
}

.hero-kicker {
    margin-bottom: 24px;
    color: #d3a052;
    font-size: 12px;
    letter-spacing: 3px;
    white-space: nowrap;
}

.hero-title {
    margin: 0;
    color: white;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(62px, 6vw, 105px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -3px;
}

    .hero-title span {
        display: block;
    }

.hero-description {
    margin-top: 32px;
    max-width: 600px;
    color: #e5e7e8;
    font-size: 17px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-button {
    min-width: 155px;
    min-height: 54px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.hero-button-primary {
    background: #c94a3b;
    color: white;
}

.hero-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: white;
}

.hero-carousel-controls {
    position: absolute;
    z-index: 4;
    right: clamp(24px, 6vw, 100px);
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-carousel-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 50%;
    background: rgba(7, 18, 25, 0.3);
    color: white;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .hero-carousel-arrow:hover {
        background: #c94a3b;
    }

.hero-carousel-dots {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.2s ease, border-radius 0.2s ease, background 0.2s ease;
}

    .hero-carousel-dot.is-active {
        width: 24px;
        border-radius: 8px;
        background: #d3a052;
    }


/* =========================================================
   COMMON SECTION
   ========================================================= */

.home-section {
    width: 100%;
    padding: 70px 0;
}

.section-inner {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 25px;
}

.section-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.1;
}

.section-subtitle {
    margin-top: 8px;
    color: #666;
    font-size: 14px;
}

.section-link {
    color: #8d2923;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}


/* =========================================================
   FEATURED GAMES
   ========================================================= */

.featured-games {
    background: #f5f1e9;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.game-card {
    min-height: 350px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: white;
    background: linear-gradient(180deg, #526b62, #111c1d);
}

    .game-card:nth-child(2) {
        background: linear-gradient(180deg, #465254, #11191b);
    }

    .game-card:nth-child(3) {
        background: linear-gradient(180deg, #514b67, #181a28);
    }

    .game-card:nth-child(4) {
        background: linear-gradient(180deg, #347a8b, #08394b);
    }

    .game-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.18), transparent 35%);
    }

.game-card-content {
    position: relative;
    z-index: 2;
}

.game-card-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.game-card-type {
    margin-top: 5px;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #d5b16c;
}

.game-card-description {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.game-card-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 10px;
    letter-spacing: 1px;
}


/* =========================================================
   TRPG / BOARD GAMES
   ========================================================= */

.game-entry-section {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.game-entry {
    min-width: 0;
    min-height: 300px;
    padding: 50px clamp(36px, 3.5vw, 72px);
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

    .game-entry:first-child {
        background: linear-gradient(120deg, #16384a 0%, #18242c 100%);
    }

    .game-entry:last-child {
        background: linear-gradient(120deg, #27606b 0%, #0f3842 100%);
    }

.game-entry-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.1;
}

.game-entry-title-cn {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: clamp(26px, 2.2vw, 34px);
    font-weight: 500;
}

.game-entry-title-en {
    color: #d3a052;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    letter-spacing: 2px;
}

.game-entry p {
    max-width: 390px;
    margin: 10px 0 24px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.game-entry-copy-en {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.entry-button {
    width: max-content;
    padding: 13px 22px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: white;
    font-size: 11px;
    letter-spacing: 1px;
}


/* =========================================================
   PUBLISHING
   ========================================================= */

.publishing-section {
    background: #f5f1e9;
}

.publishing-layout {
    min-height: 260px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    background: #f0e9dd;
}

.publishing-visual {
    background: linear-gradient(135deg, #7e6c57, #d4c5ac);
}

.publishing-content {
    padding: 45px 55px;
}

    .publishing-content h2 {
        margin: 0;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 36px;
        font-weight: 400;
    }

    .publishing-content > p {
        margin: 8px 0 28px;
        color: #6c3029;
        font-size: 14px;
    }

.publishing-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.publishing-service {
    text-align: center;
}

.publishing-service-icon {
    font-size: 26px;
    color: #7d3129;
}

.publishing-service strong {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.publishing-service span {
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: 10px;
}


/* =========================================================
   MANUFACTURING
   ========================================================= */

.manufacturing-section {
    position: relative;
    background: #f5f1e9;
    color: white;
}

    .manufacturing-section::before {
        content: "";
        position: absolute;
        z-index: 0;
        inset: 0 auto 0 50%;
        width: min(1400px, calc(100% - 80px));
        transform: translateX(-50%);
        background: linear-gradient(120deg, #0d171c, #202b2f);
        pointer-events: none;
    }

    .manufacturing-section > .section-inner {
        position: relative;
        z-index: 1;
    }

.manufacturing-header {
    margin-left: clamp(36px, 3.5vw, 72px);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 35px;
}

    .manufacturing-header h2 {
        margin: 0;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 36px;
        font-weight: 400;
    }

    .manufacturing-header p {
        margin: 8px 0 0;
        color: #b8c0c3;
    }

.manufacturing-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.manufacturing-item {
    text-align: center;
    color: white;
}

.manufacturing-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.manufacturing-item span {
    font-size: 11px;
    color: #d4d9da;
}

.manufacturing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
    margin-left: clamp(36px, 3.5vw, 72px);
    padding: 13px 24px;
    background: white;
    color: #171717;
    font-size: 11px;
    font-weight: 600;
}


/* =========================================================
   NEWS
   ========================================================= */

.news-section {
    background: #f5f1e9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.news-card {
    border: 1px solid #ddd4c8;
    background: #faf8f3;
    display: grid;
    grid-template-columns: 125px 1fr;
    min-height: 150px;
}

.news-image {
    background: linear-gradient(135deg, #687d84, #29383c);
}

.news-content {
    padding: 18px;
}

.news-category {
    color: #8e3028;
    font-size: 8px;
    letter-spacing: 1px;
    font-weight: 600;
}

.news-title {
    margin-top: 7px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.2;
}

.news-date {
    margin-top: 8px;
    color: #999;
    font-size: 9px;
}

.news-description {
    margin-top: 8px;
    color: #666;
    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   PARTNERS
   ========================================================= */

.partners-section {
    background: #f5f1e9;
    padding-top: 10px;
    padding-bottom: 65px;
}

.partners-title {
    margin: 0 0 28px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 400;
}

.partners-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #777;
}

.partner-logo {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.65;
    white-space: nowrap;
}


/* =========================================================
   NEWSLETTER
   ========================================================= */

.newsletter-section {
    background: #d9c7a9;
    color: #1b2021;
}

.newsletter-container {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.section-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #805a29;
    font-size: 9px;
    letter-spacing: 2px;
}

.newsletter-copy h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 400;
}

.newsletter-copy p {
    margin: 8px 0 0;
    color: #655d53;
    font-size: 13px;
}

.newsletter-form {
    display: flex;
    min-width: 430px;
}

    .newsletter-form input {
        flex: 1;
        height: 50px;
        border: 1px solid #b8a98f;
        border-right: 0;
        background: #f5f1e9;
        padding: 0 16px;
        outline: none;
    }

    .newsletter-form button {
        width: 110px;
        border: 0;
        background: #c94a3b;
        color: white;
        cursor: pointer;
    }


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #0b1820;
    color: white;
}

.footer-container {
    min-height: 240px;
    padding-top: 55px;
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 50px;
}

.footer-logo {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    letter-spacing: 1.5px;
}

    .footer-logo span {
        display: block;
        font-size: 9px;
        letter-spacing: 3px;
        margin-top: 3px;
    }

.footer-brand p {
    margin-top: 15px;
    color: #849097;
    font-size: 10px;
    letter-spacing: 0.5px;
}

.footer-social {
    margin-top: 25px;
    display: flex;
    gap: 14px;
    color: #b9c0c3;
    font-size: 15px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

    .footer-column h4 {
        margin: 0 0 8px;
        color: #d4a35a;
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .footer-column a {
        color: #b8c0c3;
        font-size: 11px;
    }

        .footer-column a:hover {
            color: white;
        }


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    min-height: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #718087;
    font-size: 9px;
}

    .footer-bottom a {
        color: #718087;
    }

.footer-divider {
    margin: 0 10px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */


/* -----------------------------------------
   1250px
   ----------------------------------------- */

@media (max-width: 1250px) {
    .site-container,
    .section-inner,
    .newsletter-container,
    .game-entry-section {
        width: calc(100% - 50px);
    }

    .header-container {
        width: calc(100% - 50px);
    }

    .main-navigation {
        gap: 18px;
    }

    .nav-cn {
        font-size: 12px;
        letter-spacing: 0.4px;
    }

    .nav-en {
        font-size: 6px;
        letter-spacing: 0.8px;
    }

    .header-actions {
        gap: 15px;
    }

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .manufacturing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}


/* -----------------------------------------
   1000px
   ----------------------------------------- */

@media (max-width: 1000px) {
    .header-container {
        width: calc(100% - 40px);
        min-height: 112px;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-top: 12px;
    }

    .site-logo {
        width: 145px;
        flex-basis: 145px;
        height: 48px;
        margin-left: 32px;
    }

    .main-navigation {
        order: 3;
        position: static;
        transform: none;
        width: 100%;
        height: 48px;
        justify-content: center;
        gap: clamp(18px, 2.4vw, 26px);
    }

    .header-actions {
        flex: 0 0 auto;
        height: 48px;
        gap: 14px;
    }

    .contact-button {
        width: 100px;
        height: 48px;
        flex-basis: 100px;
    }

    .game-entry {
        padding: 35px;
    }

    .publishing-layout {
        grid-template-columns: 1fr;
    }

    .publishing-visual {
        min-height: 180px;
    }

    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}


/* -----------------------------------------
   800px
   ----------------------------------------- */

@media (max-width: 800px) {
    .hero-carousel {
        height: 600px;
        min-height: 560px;
    }

    .home-hero-inner.hero-slide::after {
        background: linear-gradient( 90deg, rgba(7, 18, 25, 0.78), rgba(7, 18, 25, 0.48) );
    }

    .home-hero-content {
        width: 100%;
        margin-left: 0;
        padding: 70px 28px 105px;
    }

    .site-header {
        min-height: 0;
    }

    .header-container {
        min-height: 0;
        padding-top: 12px;
        padding-bottom: 8px;
    }

    .main-navigation {
        height: 44px;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 32px;
        scrollbar-width: none;
    }

        .main-navigation::-webkit-scrollbar {
            display: none;
        }

    .header-actions {
        justify-content: flex-end;
    }

    .home-hero-inner {
        width: 100%;
        min-height: 600px;
    }

    .home-hero-content {
        width: 100%;
        padding: 80px 40px;
    }

    .game-entry-section {
        grid-template-columns: 1fr;
    }

    .game-entry {
        min-height: 250px;
        padding: 40px 28px;
    }
}


/* -----------------------------------------
   Mega menu responsive layout
   ----------------------------------------- */

@media (max-width: 1000px) {
    .mega-menu {
        position: fixed;
        top: 120px;
        left: 15px;
        width: calc(100vw - 30px);
        max-height: calc(100vh - 140px);
        overflow-y: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        padding: 24px 22px;
        transform: translateY(10px);
    }

    .nav-dropdown:hover .mega-menu,
    .nav-dropdown:focus-within .mega-menu,
    .nav-dropdown.is-open .mega-menu {
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .mega-menu {
        grid-template-columns: 1fr;
        gap: 16px;
        top: 116px;
        max-height: calc(100vh - 130px);
    }
}


/* -----------------------------------------
   600px
   ----------------------------------------- */

@media (max-width: 600px) {
    .site-container,
    .section-inner,
    .newsletter-container,
    .game-entry-section {
        width: calc(100% - 30px);
    }

    .header-container {
        width: calc(100% - 30px);
    }

    .logo-main {
        font-size: 17px;
    }

    .logo-sub {
        font-size: 8px;
    }

    .search-button {
        display: none;
    }

    .contact-button {
        width: 90px;
        height: 46px;
    }

    .home-hero-inner {
        min-height: 600px;
    }

    .home-hero-content {
        padding: 70px 28px;
    }

    .hero-kicker {
        white-space: normal;
        font-size: 9px;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: 60px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .game-grid {
        grid-template-columns: 1fr;
    }

    .game-card {
        min-height: 300px;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .manufacturing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 10px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
}


/* Manufacturing panel responsive width */

@media (max-width: 1250px) {
    .manufacturing-section::before {
        width: calc(100% - 50px);
    }
}

@media (max-width: 600px) {
    .manufacturing-section::before {
        width: calc(100% - 30px);
    }
}
/* =========================================================
   SITE-WIDE TYPOGRAPHY SIZE ADJUSTMENT
   Append this block at the end of site.css.
   ========================================================= */

body {
    font-size: 17px;
}

/* Header and navigation */
.logo-main {
    font-size: 22px;
}

.logo-sub {
    font-size: 10px;
}

.nav-cn {
    font-size: 16px;
}

.nav-en {
    font-size: 8px;
}

.contact-cn {
    font-size: 15px;
}

.contact-en {
    font-size: 8px;
}

.mega-menu-column h3 {
    font-size: 17px;
}

.mega-menu-column a {
    font-size: 15px;
}

/* Hero carousel */
.hero-kicker {
    font-size: 14px;
}

.hero-title {
    font-size: clamp(66px, 6.2vw, 110px);
}

.hero-description {
    font-size: 18px;
}

.hero-button {
    font-size: 15px;
}

.hero-carousel-arrow {
    font-size: 28px;
}

/* Section headings and links */
.section-title {
    font-size: 37px;
}

.section-subtitle {
    font-size: 16px;
}

.section-link {
    font-size: 13px;
}

/* Featured game cards */
.game-card-title {
    font-size: 27px;
}

.game-card-type {
    font-size: 12px;
}

.game-card-description {
    font-size: 14px;
}

.game-card-link {
    font-size: 12px;
}

/* Board Games and TRPG panels */
.game-entry-title-cn {
    font-size: clamp(29px, 2.4vw, 38px);
}

.game-entry-title-en {
    font-size: 15px;
}

.game-entry p {
    font-size: 17px;
}

.game-entry-copy-en {
    font-size: 16px;
}

.entry-button {
    font-size: 13px;
}

/* Publishing */
.publishing-content h2 {
    font-size: 39px;
}

.publishing-content > p {
    font-size: 16px;
}

.publishing-service-icon {
    font-size: 28px;
}

.publishing-service strong {
    font-size: 13px;
}

.publishing-service span {
    font-size: 12px;
}

/* Manufacturing */
.manufacturing-header h2 {
    font-size: 39px;
}

.manufacturing-header p {
    font-size: 17px;
}

.manufacturing-icon {
    font-size: 20px;
}

.manufacturing-item span {
    font-size: 13px;
}

.manufacturing-button {
    font-size: 13px;
}

/* News */
.news-category {
    font-size: 10px;
}

.news-title {
    font-size: 19px;
}

.news-date {
    font-size: 11px;
}

.news-description {
    font-size: 12px;
}

/* Partners */
.partners-title {
    font-size: 30px;
}

.partner-logo {
    font-size: 20px;
}

/* Newsletter */
.section-eyebrow {
    font-size: 11px;
}

.newsletter-copy h3 {
    font-size: 33px;
}

.newsletter-copy p {
    font-size: 15px;
}

.newsletter-form input,
.newsletter-form button {
    font-size: 16px;
}

/* Footer */
.footer-logo {
    font-size: 24px;
}

    .footer-logo span {
        font-size: 10px;
    }

.footer-brand p {
    font-size: 12px;
}

.footer-social {
    font-size: 17px;
}

.footer-column h4 {
    font-size: 11px;
}

.footer-column a {
    font-size: 13px;
}

.footer-bottom {
    font-size: 11px;
}

/* Tablet and mobile adjustments */
@media (max-width: 1250px) {
    .nav-cn {
        font-size: 14px;
    }

    .nav-en {
        font-size: 8px;
    }
}

@media (max-width: 800px) {
    .nav-cn {
        font-size: 15px;
    }

    .nav-en {
        font-size: 8px;
    }

    .hero-title {
        font-size: clamp(58px, 9vw, 78px);
    }

    .hero-description {
        font-size: 17px;
    }
}

@media (max-width: 600px) {
    .logo-main {
        font-size: 19px;
    }

    .logo-sub {
        font-size: 9px;
    }

    .nav-cn {
        font-size: 14px;
    }

    .nav-en {
        font-size: 8px;
    }

    .hero-kicker {
        font-size: 11px;
    }

    .hero-title {
        font-size: 64px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .game-card-title {
        font-size: 25px;
    }

    .game-entry-title-cn {
        font-size: 29px;
    }

    .publishing-content h2,
    .manufacturing-header h2 {
        font-size: 34px;
    }

    .newsletter-copy h3 {
        font-size: 29px;
    }

    .footer-column a {
        font-size: 12px;
    }
}
/* 导航文字进一步放大 */
.nav-cn {
    font-size: 22px;
}

.nav-en {
    font-size: 14px;
}

@media (max-width: 1250px) {
    .nav-cn {
        font-size: 16px;
    }

    .nav-en {
        font-size: 9px;
    }
}

@media (max-width: 600px) {
    .nav-cn {
        font-size: 15px;
    }

    .nav-en {
        font-size: 8px;
    }
}
.nav-en {
    margin-top: 12px;
}
.contact-cn {
    font-size: 20px;
    line-height: 23px;
}

.contact-en {
    font-size: 14px;
    line-height: 16px;
}
.footer-column a {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-link-en {
    color: #849097;
    font-size: 12px;
}

.footer-social-name {
    color: #b8c0c3;
    font-size: 14px;
}
/* Partners logo carousel */
.partners-carousel {
    width: 100%;
    overflow: hidden;
}

.partners-track {
    display: flex;
    width: max-content;
    animation: partners-scroll 32s linear infinite;
}

.partners-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: clamp(48px, 6vw, 100px);
    padding-right: clamp(48px, 6vw, 100px);
}

.partners-carousel:hover .partners-track {
    animation-play-state: paused;
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners-carousel {
        overflow-x: auto;
    }

    .partners-track {
        animation: none;
    }
}
.partners-carousel {
    width: 100%;
    overflow: hidden;
}

.partners-track {
    display: flex;
    width: max-content;
    animation: partners-scroll 32s linear infinite;
}

.partners-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: clamp(48px, 6vw, 100px);
    padding-right: clamp(48px, 6vw, 100px);
}

.partners-carousel:hover .partners-track {
    animation-play-state: paused;
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
/* Partner logo assets and directory page */
.partners-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.partners-heading .partners-title { margin: 0; }

.partners-all-link {
    color: #b8c0c3;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.partners-all-link:hover { color: #fff; }

.partners-logo-card {
    display: flex;
    min-height: 150px;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .96);
}

.partners-logo-card img {
    display: block;
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.partners-page-section { padding: clamp(64px, 9vw, 120px) 24px; }

.partners-page-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.partners-page-heading {
    margin-bottom: 44px;
    text-align: center;
}

.partners-page-eyebrow {
    color: #c58b72;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
}

.partners-page-heading h1 {
    margin: 12px 0;
    font-size: clamp(30px, 5vw, 48px);
    letter-spacing: .04em;
}

.partners-page-heading p,
.partners-empty {
    color: #aeb7bb;
    line-height: 1.8;
}

.partners-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.partners-empty { text-align: center; }

@media (max-width: 600px) {
    .partners-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .partners-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .partners-logo-card {
        min-height: 120px;
        padding: 16px;
    }

    .partners-logo-card img { height: 80px; }
}

.partners-carousel .partner-logo {
    display: flex;
    width: clamp(120px, 15vw, 190px);
    height: 88px;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.partners-carousel .partner-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partners-track {
    animation-duration: 48s;
}

/* Board Games collection page */
.boardgames-hero {
    position: relative;
    display: flex;
    min-height: min(660px, 72vw);
    min-height: clamp(480px, 62vw, 680px);
    align-items: center;
    overflow: hidden;
    padding: 80px max(7vw, calc((100vw - 1280px) / 2));
    color: #fff;
    background: #171b1c;
}

.boardgames-hero-backdrop {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(15, 19, 20, .94) 0%, rgba(15, 19, 20, .72) 42%, rgba(15, 19, 20, .12) 100%), url('/images/home-hero-boardgame.png');
    background-position: center;
    background-size: cover;
}

.boardgames-hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.boardgames-eyebrow {
    display: inline-block;
    color: #c58b72;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
}

.boardgames-hero h1 {
    margin: 20px 0;
    font-size: clamp(44px, 7vw, 82px);
    font-weight: 500;
    letter-spacing: .04em;
    line-height: 1.12;
}

.boardgames-hero h1 span {
    color: #e1c5a4;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .58em;
    letter-spacing: .16em;
}

.boardgames-hero-content p {
    max-width: 440px;
    color: rgba(255, 255, 255, .8);
    font-size: 17px;
    line-height: 1.9;
}

.boardgames-hero-link,
.boardgame-card-link,
.boardgames-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.boardgames-hero-link {
    margin-top: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.boardgames-hero-caption {
    position: absolute;
    right: 6vw;
    bottom: 30px;
    color: rgba(255, 255, 255, .58);
    font-size: 10px;
    letter-spacing: .2em;
}

.boardgames-intro {
    padding: clamp(64px, 9vw, 112px) 24px;
    background: #f5f1e9;
    text-align: center;
}

.boardgames-intro-inner {
    max-width: 760px;
    margin: 0 auto;
}

.boardgames-intro h2 {
    margin: 16px 0;
    color: #202526;
    font-size: clamp(27px, 4vw, 42px);
    font-weight: 500;
}

.boardgames-intro p {
    margin: 0;
    color: #666b69;
    font-size: 15px;
    line-height: 2;
}

.boardgames-collection {
    padding: clamp(64px, 8vw, 104px) 24px;
    background: #fff;
}

.boardgames-collection-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.boardgames-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.boardgames-section-heading h2 {
    margin: 10px 0 0;
    color: #202526;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 500;
}

.boardgames-count {
    padding-bottom: 6px;
    color: #8a8e8b;
    font-size: 11px;
    letter-spacing: .16em;
}

.boardgames-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.boardgame-card {
    overflow: hidden;
    border: 1px solid #ebe8e1;
    background: #fff;
}

.boardgame-card-image {
    position: relative;
    display: block;
    height: clamp(240px, 30vw, 390px);
    overflow: hidden;
    background: #ece8df;
}

.boardgame-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.boardgame-card:hover .boardgame-card-image img { transform: scale(1.035); }

.boardgame-card-arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: #202526;
    background: #f5f1e9;
    font-size: 20px;
}

.boardgame-card-body { padding: 26px 28px 30px; }

.boardgame-card-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #9b775e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
}

.boardgame-card h3 {
    margin: 19px 0 2px;
    color: #202526;
    font-size: 27px;
    font-weight: 500;
}

.boardgame-card-english {
    color: #898d89;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 12px;
    letter-spacing: .16em;
}

.boardgame-card-body p {
    min-height: 54px;
    margin: 18px 0;
    color: #646967;
    font-size: 14px;
    line-height: 1.9;
}

.boardgame-card-meta {
    display: flex;
    gap: 18px;
    margin: -2px 0 18px;
    color: #858a87;
    font-size: 12px;
}

.boardgame-card-link {
    padding-top: 16px;
    border-top: 1px solid #ebe8e1;
    color: #272d2d;
}

.boardgames-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 58px max(7vw, calc((100vw - 1200px) / 2));
    color: #f8f5ef;
    background: #202526;
}

.boardgames-cta h2 {
    margin: 10px 0 8px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 500;
}

.boardgames-cta p {
    margin: 0;
    color: #b9bfbc;
    font-size: 14px;
    line-height: 1.8;
}

.boardgames-contact-link {
    flex: 0 0 auto;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, .35);
}

@media (max-width: 700px) {
    .boardgames-hero {
        min-height: 530px;
        padding: 68px 26px;
    }

    .boardgames-hero-backdrop {
        background-image: linear-gradient(90deg, rgba(15, 19, 20, .88), rgba(15, 19, 20, .34)), url('/images/home-hero-boardgame.png');
        background-position: 57% center;
    }

    .boardgames-intro { padding-right: 26px; padding-left: 26px; }
    .boardgames-grid { grid-template-columns: 1fr; gap: 20px; }
    .boardgame-card-image { height: 250px; }
    .boardgame-card-body { padding: 22px; }
    .boardgames-cta { align-items: flex-start; flex-direction: column; padding: 48px 26px; }
}

.boardgames-hero-backdrop {
    background-image: linear-gradient(90deg, rgba(15, 19, 20, .78) 0%, rgba(15, 19, 20, .35) 48%, rgba(15, 19, 20, .04) 100%), url('/images/board-games/bg-page-hero.jpg');
}

.boardgame-card-link a {
    color: inherit;
    text-decoration: none;
}

.boardgame-card-link a:hover { color: #9b775e; }

.boardgames-empty {
    padding: 56px 24px;
    border: 1px solid #ebe8e1;
    text-align: center;
}

.boardgames-empty h3 {
    margin: 0 0 10px;
    color: #202526;
    font-size: 24px;
    font-weight: 500;
}

.boardgames-empty p { color: #646967; }
.boardgames-empty a { color: #7b5f4b; }

.boardgame-details {
    padding: clamp(64px, 8vw, 108px) 24px;
    background: #f5f1e9;
    scroll-margin-top: 32px;
}

.boardgame-details:nth-of-type(even) { background: #fff; }

.boardgame-details-inner {
    display: grid;
    width: min(1200px, 100%);
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(36px, 7vw, 92px);
    margin: 0 auto;
}

.boardgame-details-copy h2 {
    margin: 10px 0 16px;
    color: #202526;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 500;
}

.boardgame-details-copy > p {
    color: #5f6663;
    font-size: 14px;
    line-height: 2;
}

.boardgame-details-copy .boardgame-details-summary {
    margin-bottom: 24px;
    color: #303736;
    font-size: 17px;
    font-weight: 600;
}

.boardgame-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 0;
}

.boardgame-facts div {
    min-width: 112px;
    padding: 14px 16px;
    border: 1px solid #dfdbd1;
    background: rgba(255, 255, 255, .64);
}

.boardgame-facts dt {
    margin-bottom: 6px;
    color: #858a87;
    font-size: 11px;
}

.boardgame-facts dd {
    margin: 0;
    color: #202526;
    font-size: 14px;
    font-weight: 600;
}

.boardgame-details-cover {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    background: #ebe7de;
}

.boardgame-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.boardgame-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #e5e1d8;
}

@media (max-width: 760px) {
    .boardgames-hero-backdrop {
        background-image: linear-gradient(90deg, rgba(15, 19, 20, .7), rgba(15, 19, 20, .12)), url('/images/board-games/bg-page-hero.jpg');
        background-position: center;
    }

    .boardgame-details-inner { grid-template-columns: 1fr; gap: 32px; }
    .boardgame-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Standalone Board Game detail pages and image viewer */
.boardgame-detail-hero {
    padding: clamp(56px, 8vw, 104px) 24px;
    color: #f8f5ef;
    background: #202526;
}

.boardgame-detail-hero-inner {
    display: grid;
    width: min(1200px, 100%);
    grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
    align-items: center;
    gap: clamp(36px, 7vw, 96px);
    margin: 0 auto;
}

.boardgame-detail-copy h1 {
    margin: 14px 0 16px;
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 500;
}

.boardgame-back-link {
    display: block;
    width: fit-content;
    margin-bottom: 42px;
    color: #c6cbc8;
    font-size: 13px;
    text-decoration: none;
}

.boardgame-detail-summary {
    max-width: 620px;
    color: #d0d4d1;
    font-size: 17px;
    line-height: 1.9;
}

.boardgame-detail-copy .boardgame-facts {
    margin-top: 30px;
}

.boardgame-detail-copy .boardgame-facts div {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
}

.boardgame-detail-copy .boardgame-facts dt { color: #b9bfbc; }
.boardgame-detail-copy .boardgame-facts dd { color: #fff; }

.boardgame-detail-cover-wrap {
    padding: 14px;
    background: rgba(255, 255, 255, .08);
}

.boardgame-detail-cover {
    display: block;
    width: 100%;
    max-height: 430px;
    object-fit: contain;
}

.boardgame-expansion-note {
    color: #e6c7a7;
    font-size: 13px;
}

.boardgame-related-link {
    display: inline-block;
    margin-top: 22px;
    color: #e6c7a7;
    text-decoration: none;
}

.boardgame-detail-content {
    padding: clamp(56px, 8vw, 100px) 24px;
    background: #f5f1e9;
}

.boardgame-detail-content-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.boardgame-description {
    max-width: 850px;
    margin: 0 auto 72px;
}

.boardgame-description h2,
.boardgame-gallery-heading h2 {
    margin: 10px 0 22px;
    color: #202526;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 500;
}

.boardgame-description p {
    color: #565e5b;
    font-size: 15px;
    line-height: 2;
    white-space: pre-line;
}

.boardgame-gallery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.boardgame-gallery-heading h2 { margin-bottom: 0; }
.boardgame-gallery-heading > span { color: #7d8580; font-size: 12px; }

.boardgame-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.boardgame-gallery-trigger {
    position: relative;
    display: block;
    height: clamp(220px, 30vw, 360px);
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #e2ded5;
    cursor: zoom-in;
    text-align: left;
}

.boardgame-gallery-trigger img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.boardgame-gallery-trigger:hover img,
.boardgame-gallery-trigger:focus-visible img { transform: scale(1.06); }

.boardgame-gallery-trigger > span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 8px 12px;
    color: #fff;
    background: rgba(25, 30, 30, .75);
    font-size: 12px;
    opacity: 0;
    transition: opacity .2s ease;
}

.boardgame-gallery-trigger:hover > span,
.boardgame-gallery-trigger:focus-visible > span { opacity: 1; }

.boardgame-lightbox {
    position: relative;
    width: min(92vw, 1400px);
    max-width: 92vw;
    max-height: 92vh;
    padding: 48px 18px 18px;
    border: 0;
    background: rgba(18, 22, 23, .97);
}

.boardgame-lightbox::backdrop { background: rgba(7, 9, 10, .88); }

.boardgame-lightbox img {
    display: block;
    max-width: 100%;
    max-height: calc(92vh - 70px);
    margin: 0 auto;
    object-fit: contain;
}

.boardgame-lightbox-close {
    position: absolute;
    top: 7px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
    font-size: 30px;
}

.boardgame-expansion-card {
    display: flex;
    max-width: 640px;
    align-items: center;
    gap: 22px;
    margin: 60px auto 0;
    padding: 14px;
    border: 1px solid #dfdbd1;
    color: #202526;
    background: #fff;
    text-decoration: none;
}

.boardgame-expansion-card img {
    width: 180px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.boardgame-expansion-card span { display: grid; gap: 10px; }
.boardgame-expansion-card small { color: #9b775e; letter-spacing: .1em; }

@media (max-width: 760px) {
    .boardgame-detail-hero-inner { grid-template-columns: 1fr; }
    .boardgame-back-link { margin-bottom: 30px; }
    .boardgame-detail-cover-wrap { max-width: 520px; }
    .boardgame-gallery { grid-template-columns: 1fr; }
    .boardgame-gallery-trigger { height: 280px; }
    .boardgame-gallery-heading { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .boardgame-gallery-trigger img,
    .boardgame-gallery-trigger > span { transition: none; }
}

/* Board Games typography, spacing, and unified detail page background */
.boardgames-eyebrow { font-size: 14px; }
.boardgames-intro { padding: 48px 24px 52px; }
.boardgames-intro h2 { margin: 10px 0 12px; font-size: clamp(30px, 3.6vw, 42px); }
.boardgames-intro p { font-size: 18px; line-height: 1.8; }
.boardgames-collection { padding: 64px 24px 72px; }
.boardgames-section-heading { margin-bottom: 26px; }
.boardgames-count { font-size: 14px; }
.boardgame-card-body { padding: 28px 30px 32px; }
.boardgame-card-topline { font-size: 13px; }
.boardgame-card h3 { font-size: 32px; }
.boardgame-card-english { font-size: 16px; }
.boardgame-card-body p { min-height: 0; font-size: 18px; line-height: 1.8; }
.boardgame-card-link { font-size: 18px; }

.boardgame-detail-hero,
.boardgame-detail-content { color: #202526; background: #f5f1e9; }
.boardgame-detail-hero { padding: 54px 28px 60px; }
.boardgame-detail-hero-inner { width: min(1360px, 100%); grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); gap: clamp(34px, 5vw, 72px); }
.boardgame-back-link { margin-bottom: 28px; color: #555d59; font-size: 16px; }
.boardgame-detail-english { display: block; color: #9b775e; font-family: Georgia, 'Times New Roman', serif; font-size: 21px; letter-spacing: .14em; }
.boardgame-detail-copy h1 { margin: 12px 0 20px; color: #202526; font-size: clamp(48px, 6vw, 72px); }
.boardgame-detail-summary { max-width: 700px; color: #454d49; font-size: 21px; line-height: 1.8; }
.boardgame-detail-copy .boardgame-facts { gap: 14px; }
.boardgame-detail-copy .boardgame-facts div { min-width: 132px; border-color: #d9d2c5; background: rgba(255,255,255,.56); }
.boardgame-detail-copy .boardgame-facts dt { color: #606762; font-size: 14px; }
.boardgame-detail-copy .boardgame-facts dd { color: #202526; font-size: 18px; }
.boardgame-detail-cover-wrap { padding: 6px; background: transparent; }
.boardgame-detail-cover { width: 100%; max-height: 560px; }
.boardgame-expansion-note,.boardgame-related-link { font-size: 16px; }
.boardgame-related-link { color: #7b5f4b; }
.boardgame-detail-content { padding: 48px 28px 68px; }
.boardgame-detail-content-inner { width: min(1360px, 100%); }
.boardgame-description { max-width: none; margin: 0 0 48px; }
.boardgame-description h2 { margin: 0 0 20px; font-size: 36px; }
.boardgame-description p { max-width: 1120px; margin: 0 0 18px; color: #454d49; font-size: 19px; line-height: 1.9; }
.boardgame-gallery { gap: 20px; }
.boardgame-gallery-trigger { height: clamp(280px, 34vw, 440px); }
.boardgame-gallery-trigger > span { font-size: 14px; }
.boardgame-lightbox { width: min(96vw, 1680px); max-width: 96vw; padding: 52px 20px 20px; }
.boardgame-lightbox img { max-height: calc(94vh - 74px); }
.boardgame-lightbox-close { font-size: 36px; }
.boardgame-expansion-card { max-width: 760px; margin-top: 44px; padding: 16px; font-size: 18px; }
.boardgame-expansion-card img { width: 240px; }
.boardgame-expansion-card small { font-size: 13px; }

@media (max-width: 760px) {
    .boardgames-intro { padding: 40px 24px 44px; }
    .boardgames-collection { padding: 48px 20px 56px; }
    .boardgame-card-body { padding: 22px; }
    .boardgame-card h3 { font-size: 29px; }
    .boardgame-card-body p { font-size: 17px; }
    .boardgame-detail-hero { padding: 36px 22px 44px; }
    .boardgame-detail-hero-inner { width: 100%; grid-template-columns: 1fr; gap: 24px; }
    .boardgame-back-link { margin-bottom: 24px; }
    .boardgame-detail-english { font-size: 18px; }
    .boardgame-detail-copy h1 { font-size: 48px; }
    .boardgame-detail-summary { font-size: 19px; }
    .boardgame-detail-cover-wrap { max-width: none; padding: 0; }
    .boardgame-detail-cover { max-height: 420px; }
    .boardgame-detail-content { padding: 40px 22px 52px; }
    .boardgame-description { margin-bottom: 38px; }
    .boardgame-description h2 { font-size: 30px; }
    .boardgame-description p { font-size: 18px; }
    .boardgame-gallery { grid-template-columns: 1fr; }
    .boardgame-gallery-trigger { height: 300px; }
    .boardgame-gallery-heading { display: none; }
    .boardgame-expansion-card { gap: 14px; }
    .boardgame-expansion-card img { width: 130px; }
}

.boardgame-video-section { margin: 0 0 56px; }
.boardgame-video-section h2 { margin: 0 0 22px; font-size: clamp(30px, 3vw, 42px); }
.boardgame-video-frame { width: min(100%, 1040px); aspect-ratio: 16 / 9; overflow: hidden; background: #171a19; }
.boardgame-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 760px) {
    .boardgame-video-section { margin-bottom: 40px; }
    .boardgame-video-section h2 { font-size: 30px; }
}

.boardgame-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.boardgame-related-products { margin: 0 0 56px; }
.boardgame-related-products h2 { margin: 0 0 22px; font-size: clamp(30px, 3vw, 42px); }
.boardgame-related-products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.boardgame-related-product { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 12px; color: inherit; text-decoration: none; background: rgba(255,255,255,.58); border: 1px solid rgba(32,37,38,.1); transition: transform .2s ease, box-shadow .2s ease; }
.boardgame-related-product:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(32,37,38,.1); }
.boardgame-related-product img { width: 88px; height: 72px; flex: 0 0 88px; object-fit: cover; }
.boardgame-related-product span { display: grid; gap: 5px; min-width: 0; }
.boardgame-related-product strong { font-size: 17px; }
.boardgame-related-product small { overflow: hidden; color: #757b77; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.boardgame-related-product b { margin-left: auto; color: #a7795c; font-size: 22px; }
.boardgames-pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 48px; font-size: 17px; }
.boardgames-pagination a { padding: 12px 18px; color: inherit; text-decoration: none; border: 1px solid rgba(32,37,38,.2); }
.boardgames-pagination a:hover { color: #fff; background: #252b29; }

@media (max-width: 760px) {
    .boardgame-video-grid { grid-template-columns: 1fr; gap: 16px; }
    .boardgame-related-products-grid { grid-template-columns: 1fr; }
    .boardgame-related-products { margin-bottom: 40px; }
    .boardgames-pagination { gap: 12px; margin-top: 32px; font-size: 15px; }
    .boardgames-pagination a { padding: 10px 12px; }
}

/* Navigation hover alignment and product-only dropdown lists */
.nav-link.active::after { bottom: 16px; }
.nav-link:hover::after, .nav-dropdown:hover > .nav-dropdown-toggle::after, .nav-dropdown:focus-within > .nav-dropdown-toggle::after { content: ''; position: absolute; left: 50%; bottom: 16px; width: 28px; height: 2px; background: #c94a3b; transform: translateX(-50%); }
.mega-menu { max-height: calc(100vh - 118px); overflow-y: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; }
.mega-menu > a { display: block; padding: 10px 8px; color: #263238; font-size: 16px; line-height: 1.45; border-bottom: 1px solid rgba(15, 31, 39, .1); transition: color .18s ease, background .18s ease; }
.mega-menu > a:hover, .mega-menu > a:focus-visible { color: #a5382d; background: rgba(197, 154, 76, .1); }

/* Keep game card links aligned across each row */
.boardgames-grid { align-items: stretch; }
.boardgame-card { display: flex; flex-direction: column; height: 100%; }
.boardgame-card-body { display: flex; flex: 1 1 auto; flex-direction: column; align-items: stretch; }
.boardgame-card-body p { flex: 1 1 auto; }
.boardgame-card-link { margin-top: auto; }

@media (max-width: 760px) {
    .mega-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-link.active::after, .nav-link:hover::after, .nav-dropdown:hover > .nav-dropdown-toggle::after, .nav-dropdown:focus-within > .nav-dropdown-toggle::after { bottom: 8px; }
}

/* Match related video heading to the game introduction and separate it from the gallery */
.boardgame-video-section { margin-top: clamp(64px, 8vw, 100px); }
.boardgame-description h2, .boardgame-video-section h2 { margin: 10px 0 22px; color: #202526; font-size: clamp(28px, 4vw, 38px); font-weight: 500; }
@media (max-width: 760px) {
    .boardgame-video-section { margin-top: 56px; }
    .boardgame-description h2, .boardgame-video-section h2 { font-size: 30px; }
}

.boardgame-related-products h2 { margin: 10px 0 22px; color: #202526; font-size: clamp(28px, 4vw, 38px); font-weight: 500; }
@media (max-width: 760px) { .boardgame-related-products h2 { font-size: 30px; } }

/* Make both stacked navigation labels delegate clicks to their link or dropdown button */
.nav-cn, .nav-en { pointer-events: none; }

/* Keep the centered navigation above the transparent flex area of header actions */
.main-navigation { z-index: 2; }

/* TRPG catalog and IP detail pages */
.trpg-index-hero { position: relative; display: flex; align-items: center; min-height: 520px; overflow: hidden; padding: 90px max(7vw, calc((100vw - 1400px) / 2)); color: #fff; background: #172326; }
.trpg-index-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trpg-index-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,20,23,.88), rgba(12,20,23,.52) 56%, rgba(12,20,23,.12)); }
.trpg-index-hero-copy { position: relative; z-index: 1; width: min(900px, 100%); }
.trpg-index-hero-copy h1 { margin: 16px 0 12px; font-size: clamp(48px, 7vw, 82px); font-weight: 500; }
.trpg-index-subtitle { margin: 0; font-size: clamp(21px, 2.4vw, 30px); }
.trpg-index-introduction { max-width: 780px; margin: 20px 0 0; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.85; }
.trpg-collection { padding: 76px 28px 90px; background: #f5f1e9; }
.trpg-collection-inner { width: min(1400px, 100%); margin: 0 auto; }
.trpg-collection-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.trpg-collection-heading h2 { margin: 10px 0 0; color: #202526; font-size: clamp(32px, 4vw, 46px); font-weight: 500; }
.trpg-collection-heading > span { color: #82786d; font-size: 16px; }
.trpg-ip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.trpg-ip-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #e8e1d7; }
.trpg-ip-card-image { position: relative; display: block; height: clamp(230px, 25vw, 340px); overflow: hidden; background: #e7e0d5; }
.trpg-ip-card-image > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.trpg-ip-card:hover .trpg-ip-card-image > img { transform: scale(1.035); }
.trpg-ip-card-copy { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; padding: 24px 26px 28px; }
.trpg-ip-card-label { color: #a7795c; font-size: 12px; font-weight: 700; letter-spacing: .13em; }
.trpg-ip-card h3 { margin: 12px 0 3px; color: #202526; font-size: 28px; font-weight: 500; }
.trpg-ip-card-english { color: #858983; font-family: Georgia,serif; font-size: 15px; letter-spacing: .07em; }
.trpg-ip-card-copy p { flex: 1 1 auto; margin: 16px 0 24px; color: #575f5c; font-size: 17px; line-height: 1.8; }
.trpg-ip-card-link { margin-top: auto; padding-top: 15px; color: #272d2d; border-top: 1px solid #ebe8e1; font-size: 17px; }
.trpg-ip-card-arrow { position: absolute; right: 16px; bottom: 16px; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #202526; background: #f5f1e9; font-size: 21px; }
.trpg-image-placeholder { display: flex; width: 100%; min-height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; color: #77766f; background: linear-gradient(135deg, #e7e1d8, #d7d1c7); text-align: center; }
.trpg-image-placeholder > span { font-size: 17px; letter-spacing: .08em; }
.trpg-image-placeholder small { color: #8b877f; font-size: 15px; }
.trpg-card-placeholder { position: absolute; inset: 0; }
.trpg-ip-detail-hero { padding: 58px 28px 66px; color: #f7f4ee; background: #202829; }
.trpg-ip-detail-inner { display: grid; width: min(1360px, 100%); grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr); align-items: center; gap: clamp(44px, 7vw, 100px); margin: 0 auto; }
.trpg-back-link { display: inline-block; margin-bottom: 42px; color: #d0c4b5; font-size: 16px; }
.trpg-ip-detail-english { display: block; color: #d2a276; font-family: Georgia,serif; font-size: 19px; letter-spacing: .1em; }
.trpg-ip-detail-copy h1 { margin: 12px 0 20px; font-size: clamp(48px, 6vw, 76px); font-weight: 500; }
.trpg-ip-detail-summary { max-width: 680px; margin: 0; color: #d3d5d0; font-size: 20px; line-height: 1.8; }
.trpg-ip-detail-art { height: clamp(350px, 42vw, 560px); overflow: hidden; background: #303839; }
.trpg-ip-detail-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.trpg-detail-placeholder { height: 100%; color: #c4c0b7; background: linear-gradient(135deg,#303a3b,#1a2224); }
.trpg-ip-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.trpg-purchase-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 24px; color: #1e2422; background: #ddb47a; font-size: 17px; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.trpg-purchase-button:hover { transform: translateY(-2px); background: #edc991; }
.trpg-purchase-button.is-sold-out,
.trpg-purchase-button.is-sold-out:hover { color: #6e6258; background: #e5ded3; cursor: default; transform: none; }
.trpg-more-link { color: #eee4d5; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.trpg-ip-detail-content { padding: clamp(54px, 7vw, 92px) 28px; color: #202526; background: #f5f1e9; }
.trpg-ip-detail-content-inner { width: min(1320px, 100%); margin: 0 auto; }
.trpg-rich-content { color: #48514e; font-size: 19px; line-height: 1.95; }
.trpg-rich-content h2,.trpg-rich-content h3,.trpg-rich-content h4,.trpg-rich-content h5,.trpg-rich-content h6 { margin: 46px 0 16px; color: #202526; font-weight: 500; line-height: 1.35; }
.trpg-rich-content h2 { font-size: 36px; }
.trpg-rich-content h3 { font-size: 32px; }
.trpg-rich-content h4 { font-size: 27px; }
.trpg-rich-content h5,.trpg-rich-content h6 { font-size: 23px; }
.trpg-rich-content p { margin: 0 0 24px; }
.trpg-rich-content ul,.trpg-rich-content ol { margin: 0 0 26px; padding-left: 1.5em; }
.trpg-rich-content li { margin: 0 0 8px; }
.trpg-rich-content a { color: #965c3a; text-decoration: underline; text-underline-offset: 3px; }
.trpg-content-figure { margin: 38px 0 46px; }
.trpg-content-figure img { display: block; width: 100%; max-height: 900px; object-fit: contain; background: #e8e2d9; }
.trpg-content-figure figcaption { margin-top: 10px; color: #777d77; font-size: 15px; }
.trpg-content-image-placeholder { display: flex; min-height: 240px; align-items: center; justify-content: center; flex-direction: column; gap: 9px; margin: 34px 0 42px; border: 1px dashed #bcb4a8; background: #eee9e0; }
.trpg-copy-placeholder { padding: 36px; color: #777; background: #eee9e0; text-align: center; }
.trpg-video-section { margin-top: 72px; }
.trpg-video-section h2 { margin: 0 0 24px; color: #202526; font-size: 36px; font-weight: 500; }
.trpg-video-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.trpg-video-frame { aspect-ratio: 16 / 9; overflow: hidden; background: #161b1a; }
.trpg-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Selected games and category portals */
.game-card-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-card::before { z-index: 1; background: linear-gradient(0deg, rgba(10,17,19,.95), rgba(10,17,19,.16) 74%), radial-gradient(circle at 50% 25%, rgba(255,255,255,.16), transparent 40%); pointer-events: none; }
.game-card-content { z-index: 2; }
.game-entry-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-entry::before { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(12,25,31,.9), rgba(12,25,31,.56)); pointer-events: none; }
.game-entry > :not(.game-entry-image) { position: relative; z-index: 2; }

@media (max-width: 1000px) {
    .trpg-ip-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .trpg-ip-detail-inner { grid-template-columns: minmax(0,1fr) minmax(280px,.8fr); gap: 34px; }
    .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
    .trpg-index-hero { min-height: 440px; padding: 70px 24px; }
    .trpg-index-introduction { font-size: 16px; }
    .trpg-collection { padding: 48px 20px 60px; }
    .trpg-collection-heading { align-items: flex-start; flex-direction: column; }
    .trpg-ip-grid { grid-template-columns: 1fr; gap: 20px; }
    .trpg-ip-card-image { height: 300px; }
    .trpg-ip-detail-hero { padding: 38px 22px 46px; }
    .trpg-ip-detail-inner { grid-template-columns: 1fr; gap: 30px; }
    .trpg-back-link { margin-bottom: 28px; }
    .trpg-ip-detail-copy h1 { font-size: 46px; }
    .trpg-ip-detail-summary { font-size: 18px; }
    .trpg-ip-detail-art { height: min(105vw, 460px); }
    .trpg-ip-detail-content { padding: 46px 22px 60px; }
    .trpg-rich-content { font-size: 17px; }
    .trpg-rich-content h2 { font-size: 30px; }
    .trpg-rich-content h3 { font-size: 27px; }
    .trpg-rich-content h4 { font-size: 24px; }
    .trpg-content-figure { margin: 26px 0 32px; }
    .trpg-video-grid { grid-template-columns: 1fr; }
    .game-grid { grid-template-columns: 1fr; }
    .game-entry-section { width: calc(100% - 32px); grid-template-columns: 1fr; }
}

/* User-requested click targets, TRPG detail image fit, and related products */
.game-card-full { color: #fff; text-decoration: none; }
.game-card-full:hover, .game-card-full:focus-visible { color: #fff; }
.game-card-full:focus-visible { outline: 3px solid #ddb47a; outline-offset: 3px; }
.trpg-ip-detail-art { height: auto; overflow: visible; background: transparent; }
.trpg-ip-detail-art > img { width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.trpg-detail-placeholder { min-height: 320px; }
.trpg-more-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 36px 0 0; }
.trpg-more-links .trpg-more-link { display: inline-flex; min-height: 46px; align-items: center; padding: 10px 18px; color: #202526; border: 1px solid rgba(32,37,38,.25); text-decoration: none; }
.trpg-more-links .trpg-more-link:hover { color: #fff; background: #252b29; }
.trpg-related-products { margin-top: 72px; }
.trpg-related-placeholder { display: grid !important; width: 88px; height: 72px; flex: 0 0 88px; place-items: center; color: #f5f1e9; background: #344446; font-size: 14px; letter-spacing: .1em; }
.nav-dropdown-toggle { text-decoration: none; }
/* Match the Board Games catalog: two TRPG products per desktop row */
.trpg-ip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Match TRPG detail hero to the light Board Games detail theme */
.trpg-ip-detail-hero { color: #202526; background: #f5f1e9; }
.trpg-back-link { color: #806c59; }
.trpg-ip-detail-english { color: #a7795c; }
.trpg-ip-detail-summary { color: #59615e; }
.trpg-purchase-button { color: #fff; background: #8f5f43; }
.trpg-purchase-button:hover { background: #70472f; }
span.trpg-purchase-button.is-sold-out,
span.trpg-purchase-button.is-sold-out:hover { color: #6e6258; background: #e5ded3; cursor: default; transform: none; }
.trpg-ip-detail-art { background: transparent; }
.trpg-detail-placeholder { color: #77766f; background: linear-gradient(135deg, #e7e1d8, #d7d1c7); }
/* Match TRPG collection cards to the Board Games catalog */
.trpg-collection-inner { width: min(1200px, 100%); }
.trpg-ip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.trpg-ip-card-image { height: clamp(240px, 30vw, 390px); }
.trpg-ip-card-image > img { object-fit: cover; }
.trpg-ip-card-copy { padding: 28px 30px 32px; }
.trpg-ip-card-label { font-size: 13px; }
.trpg-ip-card h3 { font-size: 32px; }
.trpg-ip-card-english { font-size: 16px; }
.trpg-ip-card-copy p { font-size: 18px; line-height: 1.8; }
.trpg-ip-card-link { font-size: 18px; }
@media (max-width: 700px) {
    .trpg-ip-grid { grid-template-columns: 1fr; gap: 20px; }
    .trpg-ip-card-image { height: 250px; }
    .trpg-ip-card-copy { padding: 22px; }
}
/* Match the TRPG catalog palette to the Board Games catalog */
.trpg-index-hero { background: #171b1c; }
.trpg-index-hero-shade { background: linear-gradient(90deg, rgba(15, 19, 20, .94) 0%, rgba(15, 19, 20, .72) 42%, rgba(15, 19, 20, .12) 100%); }
.trpg-collection { background: #fff; }
.trpg-ip-card { border-color: #ebe8e1; }
.trpg-collection-heading > span { color: #8a8e8b; }
/* Functional header search and search results */
.site-search-panel { position: absolute; z-index: 1300; top: 100%; right: max(24px, calc((100vw - 1400px) / 2)); width: min(460px, calc(100vw - 30px)); padding: 22px; color: #202526; background: #f5f1e9; border-top: 3px solid #c94a3b; box-shadow: 0 18px 40px rgba(0,0,0,.22); }
.site-search-panel[hidden] { display: none !important; }
.site-search-panel > label { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.site-search-row { display: flex; gap: 8px; }
.site-search-row input, .site-search-page-form input { min-width: 0; flex: 1 1 auto; padding: 13px 14px; color: #202526; background: #fff; border: 1px solid #d9d2c5; font: inherit; }
.site-search-row button, .site-search-page-form button { flex: 0 0 auto; padding: 0 20px; color: #fff; background: #8f5f43; border: 0; font: inherit; cursor: pointer; }
.search-button:hover .search-icon, .search-button:focus-visible .search-icon { border-color: #ddb47a; }
.search-button:hover .search-icon::after, .search-button:focus-visible .search-icon::after { background: #ddb47a; }
.search-button:focus-visible { outline: 2px solid #ddb47a; outline-offset: 3px; }
.site-search-page { min-height: 65vh; padding: clamp(54px, 8vw, 100px) 24px; background: #fff; }
.site-search-page-inner { width: min(1000px, 100%); margin: 0 auto; }
.site-search-page h1 { margin: 12px 0 26px; color: #202526; font-size: clamp(38px, 5vw, 58px); font-weight: 500; }
.site-search-page-form { display: flex; gap: 10px; }
.site-search-page-form input { padding: 16px 18px; font-size: 18px; }
.site-search-page-form button { padding: 0 28px; font-size: 17px; }
.site-search-message { margin: 24px 0; color: #666b69; font-size: 16px; }
.site-search-results { display: grid; gap: 14px; }
.site-search-result { display: flex; align-items: center; gap: 18px; padding: 14px; color: #202526; background: #f5f1e9; border: 1px solid #ebe8e1; }
.site-search-result:hover { border-color: #a7795c; }
.site-search-result > img { width: 132px; height: 88px; flex: 0 0 132px; object-fit: cover; }
.site-search-result-copy { display: grid; min-width: 0; gap: 4px; }
.site-search-result-copy small { color: #a7795c; font-size: 12px; letter-spacing: .08em; }
.site-search-result-copy strong { font-size: 21px; font-weight: 500; }
.site-search-result-english { color: #858983; font-family: Georgia, serif; font-size: 14px; }
.site-search-result-summary { overflow: hidden; color: #59615e; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.site-search-result-arrow { margin-left: auto; color: #a7795c; font-size: 23px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
@media (max-width: 600px) {
    .search-button { display: flex; }
    .site-search-panel { right: 15px; padding: 16px; }
    .site-search-result { gap: 12px; padding: 10px; }
    .site-search-result > img { width: 88px; height: 68px; flex-basis: 88px; }
    .site-search-result-copy strong { font-size: 18px; }
    .site-search-result-summary { max-width: 48vw; }
}
/* News index and article pages */
.news-page,
.news-detail-page {
    background: #f5f2ec;
    color: #252a2b;
}

.news-intro {
    padding: clamp(72px, 9vw, 132px) 24px clamp(64px, 8vw, 112px);
    text-align: center;
    background: #f5f2ec;
}

.news-eyebrow {
    margin: 0 0 18px;
    color: #bd8a72;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.news-intro h1,
.news-list-heading h2 {
    margin: 0;
    color: #252a2b;
    font-size: clamp(36px, 4.2vw, 56px);
    font-weight: 500;
    line-height: 1.2;
}

.news-intro > p:last-child {
    max-width: 760px;
    margin: 22px auto 0;
    color: #707474;
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.85;
}

.news-list-section {
    max-width: 1320px;
    margin: 0 auto;
    padding: 72px 28px 120px;
}

.news-list-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.news-list-heading .news-eyebrow {
    margin-bottom: 12px;
}

.news-list-heading h2 {
    font-size: clamp(30px, 3.4vw, 44px);
}

.news-count {
    padding-bottom: 7px;
    color: #8b8f8e;
    font-size: 14px;
    letter-spacing: .12em;
}

.news-page .news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.news-page .news-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    color: inherit;
    background: #fff;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.news-page .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(34, 39, 39, .10);
}

.news-page .news-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.55 / 1;
    background: #e7e1d8;
}

.news-page .news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.news-page .news-card:hover .news-page .news-card-image img {
    transform: scale(1.035);
}

.news-page .news-card-arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #f5f2ec;
    color: #252a2b;
    font-size: 21px;
}

.news-page .news-card-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: linear-gradient(135deg, #183746, #3d6970);
    color: #f5f2ec;
    font-family: Georgia, serif;
    font-size: 25px;
    letter-spacing: .2em;
}

.news-page .news-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px 27px 28px;
}

.news-page .news-card-meta,
.news-detail-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #a17b64;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .09em;
}

.news-page .news-card-meta time,
.news-detail-meta time {
    color: #858b89;
    font-weight: 400;
    letter-spacing: .04em;
}

.news-page .news-card h2 {
    margin: 17px 0 0;
    color: #242a2b;
    font-size: clamp(22px, 2vw, 27px);
    font-weight: 500;
    line-height: 1.45;
}

.news-page .news-card-subtitle {
    margin: 4px 0 0;
    color: #8a8f8d;
    font-family: Georgia, serif;
    font-size: 15px;
    letter-spacing: .06em;
}

.news-page .news-card-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 17px 0 25px;
    color: #667071;
    font-size: 16px;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-page .news-card-link {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #e9e5df;
    color: #293335;
    font-size: 15px;
    font-weight: 600;
}

.news-empty {
    padding: 60px 20px;
    color: #727877;
    text-align: center;
    background: #fff;
}

.news-detail-page {
    min-height: 70vh;
    padding: 42px 24px 110px;
}

.news-detail-page > article {
    max-width: 1040px;
    margin: 0 auto;
}

.news-detail-header {
    max-width: 860px;
    margin: 0 auto 38px;
}

.news-back-link {
    display: inline-block;
    margin-bottom: 46px;
    color: #687170;
    font-size: 15px;
    text-decoration: none;
}

.news-back-link:hover {
    color: #a17b64;
}

.news-detail-meta {
    justify-content: flex-start;
    margin-bottom: 18px;
}

.news-detail-header h1 {
    margin: 0;
    color: #252a2b;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 500;
    line-height: 1.35;
}

.news-detail-subtitle {
    margin: 12px 0 0;
    color: #8a8f8d;
    font-family: Georgia, serif;
    font-size: 18px;
    letter-spacing: .08em;
}

.news-detail-excerpt {
    margin: 22px 0 0;
    color: #626a69;
    font-size: 19px;
    line-height: 1.9;
}

.news-detail-cover {
    overflow: hidden;
    max-height: 620px;
    margin: 0 auto 64px;
    background: #e7e1d8;
    text-align: center;
}

.news-detail-cover img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: cover;
}

.news-detail-content {
    max-width: 800px;
    margin: 0 auto;
    color: #454d4d;
    font-size: 18px;
    line-height: 2;
}

.news-article-body p {
    margin: 0 0 22px;
}

.news-article-body h2 {
    margin: 48px 0 18px;
    color: #252a2b;
    font-size: clamp(25px, 3vw, 32px);
    font-weight: 500;
    line-height: 1.45;
}

.news-article-body figure {
    margin: 34px 0;
    text-align: center;
}

.news-article-body figure img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 760px;
    margin: 0 auto;
    object-fit: contain;
}

.news-article-body strong {
    color: #303839;
    font-weight: 700;
}

@media (max-width: 900px) {
    .news-page .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 620px) {
    .news-intro {
        padding: 68px 22px 62px;
    }

    .news-list-section {
        padding: 54px 18px 76px;
    }

    .news-list-heading {
        align-items: start;
    }

    .news-count {
        padding-top: 28px;
        font-size: 12px;
        white-space: nowrap;
    }

    .news-page .news-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .news-page .news-card-content {
        padding: 22px 20px 24px;
    }

    .news-detail-page {
        padding: 30px 18px 72px;
    }

    .news-back-link {
        margin-bottom: 34px;
    }

    .news-detail-excerpt {
        font-size: 17px;
    }

    .news-detail-cover {
        margin-bottom: 44px;
    }

    .news-detail-content {
        font-size: 17px;
        line-height: 1.9;
    }
}
/* Match Board Games catalog hero dimensions to the TRPG catalog */
.boardgames-hero {
    min-height: 520px;
    padding: 90px max(7vw, calc((100vw - 1400px) / 2));
}

@media (max-width: 700px) {
    .boardgames-hero {
        min-height: 440px;
        padding: 70px 24px;
    }
}
/* Align the Board Game description column with the gallery edges */
.boardgame-description p {
    max-width: none;
}
/* Tighten spacing between News intro and latest stories */
.news-intro {
    padding-bottom: 40px;
}

.news-list-section {
    padding-top: 42px;
}

@media (max-width: 620px) {
    .news-intro {
        padding-bottom: 30px;
    }

    .news-list-section {
        padding-top: 32px;
    }
}
/* Reduce excess space above the News page heading */
.news-intro {
    padding-top: clamp(44px, 5vw, 72px);
}

@media (max-width: 620px) {
    .news-intro {
        padding-top: 42px;
    }
}
.home-news-card {
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(33, 39, 39, .12);
}

.home-news-card .news-image {
    overflow: hidden;
}

.home-news-card .news-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-imported-figure {
    margin: 32px 0;
}

.news-imported-figure img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 54px;
}

.news-pagination a,
.news-pagination span {
    display: grid;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    place-items: center;
    border: 1px solid #ded8cf;
    color: #303839;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.news-pagination a:hover,
.news-pagination .is-current {
    border-color: #183746;
    background: #183746;
    color: #f5f2ec;
}

/* Admin content management */
.admin-body { min-height: 100vh; background: #f5f2ec; color: #252a2b; }
.admin-topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 38px; min-height: 76px; padding: 0 max(28px, calc((100vw - 1440px) / 2)); background: #10191e; color: #f5f2ec; box-shadow: 0 8px 28px rgba(12, 22, 27, .12); }
.admin-brand { color: #f5f2ec; font-family: Georgia, serif; font-size: 17px; font-weight: 700; letter-spacing: .13em; text-decoration: none; white-space: nowrap; }
.admin-brand span { margin-left: 10px; color: #c28a6c; font-family: Arial, sans-serif; font-size: 14px; font-weight: 500; letter-spacing: .06em; }
.admin-nav { display: flex; align-items: center; gap: 28px; }
.admin-nav a, .admin-top-actions > a { color: #e9e4dc; font-size: 14px; text-decoration: none; }
.admin-nav a:hover, .admin-top-actions > a:hover { color: #d3a27c; }
.admin-top-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.admin-top-actions form { margin: 0; }
.admin-top-actions button { padding: 9px 14px; border: 1px solid rgba(245, 242, 236, .38); background: transparent; color: #f5f2ec; cursor: pointer; }
.admin-main { width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 62px 0 100px; }
.admin-page-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.admin-page-heading h1, .admin-dashboard-intro h1 { margin: 5px 0 8px; font-size: clamp(32px, 4vw, 46px); font-weight: 500; letter-spacing: -.035em; }
.admin-page-heading p, .admin-dashboard-intro > p:last-child { max-width: 760px; margin: 0; color: #657074; line-height: 1.75; }
.admin-eyebrow, .admin-card-kicker { margin: 0; color: #b98266; font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.admin-dashboard-intro { max-width: 820px; margin-bottom: 34px; }
.admin-dashboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.admin-dashboard-card { display: flex; min-height: 220px; flex-direction: column; padding: 28px; border: 1px solid #e4ded5; background: #fff; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.admin-dashboard-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(34, 39, 39, .09); }
.admin-dashboard-card strong { margin-top: 22px; font-size: 25px; font-weight: 500; }
.admin-dashboard-card small { margin-top: 8px; color: #7a8587; }
.admin-dashboard-card b { margin-top: auto; padding-top: 26px; color: #9b654f; font-size: 14px; }
.admin-card { padding: 28px; border: 1px solid #e5dfd6; background: #fff; }
.admin-notice, .admin-flash { margin: 0 0 22px; padding: 15px 18px; border-left: 3px solid #bf886a; background: #eee8de; color: #4f5b5e; font-size: 14px; line-height: 1.7; }
.admin-flash { border-left-color: #517a68; background: #e7efe9; }
.admin-primary-button, .admin-secondary-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid #183746; background: #183746; color: #fff; font-size: 14px; text-decoration: none; cursor: pointer; }
.admin-secondary-button { border-color: #d6d0c7; background: transparent; color: #303839; }
.admin-primary-button:hover { background: #244c5c; color: #fff; }
.admin-secondary-button:hover { background: #f0ede8; color: #303839; }
.admin-table-wrap { overflow-x: auto; padding: 0; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th, .admin-table td { padding: 17px 20px; border-bottom: 1px solid #eee9e2; vertical-align: middle; }
.admin-table th { background: #fbfaf8; color: #788184; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.admin-table td { font-size: 14px; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td small { display: block; margin-top: 5px; color: #899194; font-size: 12px; }
.admin-product-cell { display: flex; align-items: center; gap: 13px; min-width: 230px; }
.admin-product-cell > img { width: 72px; height: 48px; object-fit: cover; background: #eee9e2; }
.admin-row-actions { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.admin-row-actions a { color: #315a69; text-decoration: none; }
.admin-row-actions form { display: inline; margin: 0; }
.admin-danger-link { padding: 0; border: 0; background: none; color: #a24c40; cursor: pointer; font: inherit; }
.admin-status { display: inline-block; padding: 5px 9px; border-radius: 2px; font-size: 12px; }
.admin-status.is-published { background: #e7efe9; color: #426b56; }
.admin-status.is-draft { background: #f1ece4; color: #7c7060; }
.admin-empty { padding: 50px 20px !important; color: #7a8587; text-align: center; }
.admin-editor-form { padding: clamp(20px, 4vw, 42px); }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.admin-form-section-title { margin: 32px 0 20px; padding-bottom: 11px; border-bottom: 1px solid #e9e4dc; font-size: 20px; font-weight: 500; }
.admin-field { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
.admin-field-wide { grid-column: 1 / -1; }
.admin-field > label { color: #384346; font-size: 14px; font-weight: 600; }
.admin-field > input:not([type=checkbox]):not([type=file]), .admin-field > select, .admin-field > textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #d9d4cc; border-radius: 0; background: #fff; color: #252a2b; font: inherit; }
.admin-field > textarea { min-height: 100px; resize: vertical; }
.admin-field > input:focus, .admin-field > select:focus, .admin-field > textarea:focus { outline: 2px solid rgba(49, 90, 105, .2); border-color: #315a69; }
.admin-field > small { color: #80898b; font-size: 12px; line-height: 1.55; }
.admin-file-input { display: block; width: 100%; padding: 12px; border: 1px dashed #cfc8bd; background: #fbfaf8; }
.admin-current-cover { display: block; max-width: min(420px, 100%); max-height: 240px; object-fit: contain; object-position: left center; background: #f2eee8; }
.admin-publish-toggle { display: flex !important; align-items: center; gap: 10px; min-height: 46px; cursor: pointer; }
.admin-publish-toggle input { width: 18px; height: 18px; accent-color: #315a69; }
.admin-validation-summary, .admin-field span[data-valmsg-for] { color: #a24c40; font-size: 13px; }
.admin-validation-summary:empty { display: none; }
.admin-form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #eee9e2; }
.admin-existing-assets { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.admin-existing-assets label { display: flex; flex-direction: column; gap: 7px; color: #727d80; font-size: 12px; }
.admin-existing-assets img { width: 140px; height: 92px; object-fit: cover; background: #eee9e2; }
.admin-existing-files { display: grid; gap: 8px; margin-top: 8px; }
.admin-existing-files label { display: flex; justify-content: space-between; gap: 15px; padding: 9px 12px; background: #f7f5f1; color: #626c6f; font-size: 13px; }
@media (max-width: 760px) {
    .admin-topbar { flex-wrap: wrap; gap: 13px 22px; padding: 14px 20px; }
    .admin-nav { order: 3; width: 100%; gap: 20px; }
    .admin-top-actions { gap: 12px; }
    .admin-main { width: min(100% - 32px, 1200px); padding: 38px 0 70px; }
    .admin-dashboard-grid { grid-template-columns: 1fr; }
    .admin-page-heading { align-items: start; flex-direction: column; }
    .admin-form-grid { grid-template-columns: 1fr; }
    .admin-field-wide { grid-column: auto; }
    .admin-card { padding: 20px; }
    .admin-editor-form { padding: 20px; }
}

.news-detail-content .news-video-embed { width: 100%; aspect-ratio: 16 / 9; margin: 36px 0; overflow: hidden; background: #171a19; }
.news-detail-content .news-video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.content-share-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; margin: 16px 12px 0 0; padding: 0 18px; border: 1px solid #b9a28d; color: #604b3c; background: transparent; font: inherit; cursor: pointer; transition: color .2s ease, background .2s ease; }
.content-share-button:hover, .content-share-button:focus-visible { color: #fff; background: #604b3c; }
.news-comments { margin-top: 64px; padding-top: 36px; border-top: 1px solid rgba(32,37,38,.16); }
.news-comments h2 { margin: 0 0 24px; font-size: clamp(28px, 3vw, 38px); font-weight: 500; }
.news-comment-form { display: grid; gap: 16px; max-width: 760px; }
.news-comment-form label { display: grid; gap: 8px; color: #59615e; }
.news-comment-form input, .news-comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #d7d0c6; color: #202526; background: #fff; font: inherit; }
.news-comment-form button { justify-self: start; padding: 12px 24px; border: 0; color: #fff; background: #a94f3d; font: inherit; cursor: pointer; }
.news-comment-form small, .news-comments-empty { color: #777; }
.news-comment-notice { color: #476a50; }
.news-comment-error { color: #a33e31; }
.news-comment-list { display: grid; gap: 18px; margin-top: 32px; }
.news-comment-list article { padding: 18px 20px; border: 1px solid rgba(32,37,38,.12); background: rgba(255,255,255,.48); }
.news-comment-list time { margin-left: 14px; color: #85827d; font-size: .9em; }
.news-comment-list p { margin: 10px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }

.trpg-ip-actions .content-share-button { min-height: 50px; margin: 0; }

.news-detail-content img { display: block; width: 100% !important; max-width: 100% !important; height: auto !important; margin: 28px auto; object-fit: contain; }
.news-detail-content figure { width: 100% !important; max-width: 100% !important; margin: 28px 0; }
.news-detail-content figure img { margin: 0 auto; }
@media (max-width: 860px) { .news-detail-content img { margin: 22px auto; } }

.news-detail-content .news-article-body figure { width: 100%; }
.news-detail-content .news-article-body figure img { width: 100% !important; max-width: 100% !important; max-height: none !important; height: auto !important; }

.news-detail-content .hypercube-image-sequence { width: 100%; margin: 32px 0; overflow: hidden; line-height: 0; }
.news-detail-content .hypercube-image-sequence img { display: block; width: 100% !important; max-width: 100% !important; height: auto !important; margin: 0 !important; vertical-align: top; }

/* Publishing and licensing landing page */
.publishing-page { color: #202526; background: #f5f1e9; }
.publishing-page-hero { padding: clamp(54px, 7vw, 92px) 28px 74px; background: #f5f1e9; }
.publishing-page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr); align-items: center; gap: clamp(44px, 7vw, 100px); width: min(1320px, 100%); margin: 0 auto; }
.publishing-page-copy { padding: 0; }
.publishing-page-eyebrow { margin: 0 0 18px; color: #b47e61; font-size: 14px; font-weight: 700; letter-spacing: .2em; }
.publishing-page-copy h1 { margin: 0; font-size: clamp(40px, 4.5vw, 58px); font-weight: 500; line-height: 1.12; letter-spacing: -.04em; }
.publishing-page-copy h1 span { color: #a94f3d; }
.publishing-page-lead { max-width: 620px; margin: 18px 0 24px; color: #626a67; font-size: 19px; line-height: 1.7; }
.publishing-page-cta { display: inline-flex; align-items: center; gap: 20px; padding: 13px 0; border-bottom: 1px solid #a94f3d; color: #744733; font-size: 16px; font-weight: 600; }
.publishing-page-cta span { font-size: 20px; }
.publishing-page-art { position: relative; height: 400px; overflow: hidden; background: #24383b; }
.publishing-page-art::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 42%, rgba(15,24,27,.62)); }
.publishing-page-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.publishing-art-caption { position: absolute; z-index: 1; right: 28px; bottom: 24px; color: #fff; font-family: Georgia,serif; font-size: 14px; letter-spacing: .18em; line-height: 1.7; text-align: right; }
.publishing-page-intro { padding: 72px 24px 48px; text-align: center; }
.publishing-page-intro h2 { margin: 0; font-size: clamp(34px, 4.2vw, 52px); font-weight: 500; line-height: 1.45; }
.publishing-page-intro > p:last-child { max-width: 780px; margin: 20px auto 0; color: #68716e; font-size: 18px; line-height: 1.9; }
.publishing-mobile-break { display: none; }
.publishing-page-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; width: min(1320px, calc(100% - 56px)); margin: 12px auto 100px; background: #ded6cb; border: 1px solid #ded6cb; }
.publishing-page-service { min-height: 300px; padding: 34px 32px; background: #fbf9f4; }
.publishing-service-number { color: #ad7c60; font-family: Georgia,serif; font-size: 18px; letter-spacing: .12em; }
.publishing-page-service h3 { margin: 34px 0 12px; font-size: 27px; font-weight: 500; }
.publishing-page-service p { min-height: 88px; margin: 0; color: #626a67; font-size: 17px; line-height: 1.85; }
.publishing-service-en { display: block; margin-top: 24px; color: #a7795c; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.publishing-page-process { padding: 76px 28px 90px; color: #f7f4ee; background: #1d2d31; }
.publishing-process-heading, .publishing-process-steps { width: min(1180px, 100%); margin: 0 auto; }
.publishing-process-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); font-weight: 500; }
.publishing-process-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 42px; margin-top: 54px; }
.publishing-process-steps article { display: flex; gap: 18px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.3); }
.publishing-process-steps article > span { color: #d0a47f; font-family: Georgia,serif; font-size: 19px; }
.publishing-process-steps h3 { margin: 0 0 10px; font-size: 21px; font-weight: 500; }
.publishing-process-steps p { margin: 0; color: #c5ceca; font-size: 16px; line-height: 1.8; }
.publishing-page-partners { padding: 88px 28px 96px; background: #f5f1e9; }
.publishing-partners-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; width: min(1320px, 100%); margin: 0 auto 34px; }
.publishing-partners-heading .publishing-page-eyebrow { margin-bottom: 10px; }
.publishing-partners-heading h2 { margin: 0; font-size: clamp(30px, 3.5vw, 42px); font-weight: 500; }
.publishing-partners-heading > a { color: #744733; font-size: 16px; font-weight: 600; white-space: nowrap; }
.publishing-partner-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; width: min(1320px, 100%); margin: 0 auto; }
.publishing-partner-logo { display: grid; min-height: 112px; place-items: center; padding: 18px; border: 1px solid #e6dfd5; background: #fffdf9; }
.publishing-partner-logo img { display: block; max-width: 100%; max-height: 62px; object-fit: contain; }
.publishing-page-bottom-cta { padding: 80px 24px 90px; color: #f8f5ef; background: #a94f3d; text-align: center; }
.publishing-page-bottom-cta .publishing-page-eyebrow { color: #f0c5a5; }
.publishing-page-bottom-cta h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); font-weight: 500; }
.publishing-page-bottom-cta > p:not(.publishing-page-eyebrow) { margin: 16px 0 28px; color: rgba(255,255,255,.84); font-size: 18px; }
.publishing-page-bottom-cta > div { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.publishing-page-bottom-cta a { display: inline-flex; min-height: 48px; align-items: center; padding: 0 20px; border: 1px solid rgba(255,255,255,.65); color: #fff; }
.publishing-page-bottom-cta a:hover { color: #7d382c; background: #fff; }
@media (max-width: 900px) {
    .publishing-page-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr); gap: 34px; }
    .publishing-page-art { height: 340px; }
    .publishing-page-services { margin-bottom: 76px; }
    .publishing-page-service { padding: 28px 22px; }
    .publishing-page-service p { min-height: 132px; }
    .publishing-process-steps { gap: 22px; }
    .publishing-partner-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 640px) {
    .publishing-page-hero { padding: 38px 20px 48px; }
    .publishing-page-hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .publishing-page-copy h1 { font-size: clamp(42px, 11vw, 56px); }
    .publishing-page-lead { margin: 18px 0 20px; font-size: 17px; }
    .publishing-page-art { height: clamp(250px, 65vw, 340px); }
    .publishing-page-intro { padding: 56px 20px 34px; }
    .publishing-page-intro h2 { font-size: 34px; }
    .publishing-mobile-break { display: initial; }
    .publishing-page-intro > p:last-child { font-size: 16px; }
    .publishing-page-services { grid-template-columns: 1fr; width: calc(100% - 40px); margin: 8px auto 58px; }
    .publishing-page-service { min-height: 0; padding: 25px 24px; }
    .publishing-page-service h3 { margin: 20px 0 8px; }
    .publishing-page-service p { min-height: 0; font-size: 16px; }
    .publishing-service-en { margin-top: 16px; }
    .publishing-page-process { padding: 58px 22px 64px; }
    .publishing-process-steps { grid-template-columns: 1fr; gap: 24px; margin-top: 34px; }
    .publishing-page-partners { padding: 62px 20px; }
    .publishing-partners-heading { align-items: start; flex-direction: column; margin-bottom: 24px; }
    .publishing-partner-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
    .publishing-partner-logo { min-height: 92px; padding: 14px; }
    .publishing-partner-logo img { max-height: 52px; }
    .publishing-page-bottom-cta { padding: 62px 20px 68px; }
}

/* Homepage business pathways for international partners */
.home-business-paths { padding: 46px 28px 54px; background: #f5f1e9; }
.home-business-inner { width: min(1320px, 100%); margin: 0 auto; }
.home-business-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.home-business-heading p { margin: 0 0 8px; color: #b47e61; font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.home-business-heading h2 { margin: 0; color: #202526; font-size: clamp(27px, 3vw, 38px); font-weight: 500; }
.home-business-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.home-business-card { position: relative; display: block; min-height: 270px; overflow: hidden; color: #fff; background: #24383b; }
.home-business-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.home-business-card:hover > img { transform: scale(1.035); }
.home-business-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(12,22,25,.84),rgba(12,22,25,.26)); }
.home-business-copy { position: absolute; inset: auto 28px 26px; display: grid; gap: 10px; }
.home-business-copy small { color: #e0b08b; font-size: 12px; font-weight: 700; letter-spacing: .15em; }
.home-business-copy strong { font-size: clamp(25px,3vw,36px); font-weight: 500; line-height: 1.28; }
.home-business-copy b { margin-top: 5px; font-size: 15px; font-weight: 500; }
.home-b2b-link { display: inline-block; margin-top: 24px; color: #744733; font-weight: 600; }

/* English-first OEM manufacturing page */
.manufacturing-page { color: #202526; background: #f5f1e9; }
.manufacturing-page-hero { padding: clamp(54px,7vw,92px) 28px 74px; }
.manufacturing-page-hero-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.95fr); align-items: center; gap: clamp(44px,7vw,100px); width: min(1320px,100%); margin: 0 auto; }
.manufacturing-page-eyebrow { margin: 0 0 18px; color: #b47e61; font-size: 13px; font-weight: 700; letter-spacing: .18em; }
.manufacturing-page-hero h1 { margin: 0; font-size: clamp(46px,6vw,74px); font-weight: 500; line-height: 1.18; letter-spacing: -.04em; }
.manufacturing-page-hero h1 span { color: #a94f3d; }
.manufacturing-page-lead { max-width: 620px; margin: 24px 0 28px; color: #626a67; font-size: 19px; line-height: 1.85; }
.manufacturing-page-button { display: inline-flex; align-items: center; gap: 20px; padding: 13px 0; border-bottom: 1px solid #a94f3d; color: #744733; font-size: 16px; font-weight: 600; }
.manufacturing-page-button span { font-size: 20px; }
.manufacturing-page-image { min-height: 400px; overflow: hidden; background: #253236; }
.manufacturing-page-image img { display: block; width: 100%; height: 100%; min-height: 400px; object-fit: cover; }
.manufacturing-page-intro { padding: 64px 24px 44px; text-align: center; }
.manufacturing-page-intro h2 { margin: 0; font-size: clamp(34px,4vw,50px); font-weight: 500; line-height: 1.35; }
.manufacturing-page-intro > p:last-child { max-width: 790px; margin: 20px auto 0; color: #68716e; font-size: 18px; line-height: 1.85; }
.manufacturing-capabilities { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; width: min(1320px,calc(100% - 56px)); margin: 12px auto 88px; border: 1px solid #ded6cb; background: #ded6cb; }
.manufacturing-capabilities article { min-height: 240px; padding: 28px 24px; background: #fbf9f4; }
.manufacturing-capabilities article > span { color: #ad7c60; font-family: Georgia,serif; font-size: 18px; }
.manufacturing-capabilities h3 { margin: 30px 0 10px; font-size: 23px; font-weight: 500; }
.manufacturing-capabilities p { margin: 0; color: #626a67; font-size: 16px; line-height: 1.8; }
.manufacturing-page-process { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding: 78px max(28px,calc((100% - 1180px)/2)) 88px; color: #f7f4ee; background: #1d2d31; }
.manufacturing-page-process .manufacturing-page-eyebrow { color: #d0a47f; }
.manufacturing-page-process h2 { margin: 0; font-size: clamp(32px,4vw,46px); font-weight: 500; line-height: 1.35; }
.manufacturing-page-process ol { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.manufacturing-page-process li { display: flex; gap: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.28); }
.manufacturing-page-process li > span { color: #d0a47f; font-family: Georgia,serif; font-size: 18px; }
.manufacturing-page-process h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; }
.manufacturing-page-process li p { margin: 0; color: #c5ceca; font-size: 16px; line-height: 1.8; }
.manufacturing-page-footer { padding: 78px 24px 86px; text-align: center; }
.manufacturing-page-footer h2 { margin: 0; font-size: clamp(33px,4vw,48px); font-weight: 500; }
.manufacturing-page-footer > p:not(.manufacturing-page-eyebrow) { color: #68716e; font-size: 17px; }
.manufacturing-page-footer > div { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.manufacturing-page-footer a { display: inline-flex; min-height: 48px; align-items: center; padding: 0 20px; border: 1px solid #a7795c; color: #744733; }
.manufacturing-page-footer a:hover { color: #fff; background: #744733; }
@media(max-width:900px) {
    .home-business-card { min-height: 240px; }
    .manufacturing-page-hero-inner { grid-template-columns: minmax(0,1fr) minmax(280px,.85fr); gap: 34px; }
    .manufacturing-page-image, .manufacturing-page-image img { min-height: 340px; }
    .manufacturing-capabilities { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .manufacturing-page-process { grid-template-columns: 1fr 1.2fr; gap: 35px; }
}
@media(max-width:640px) {
    .home-business-paths { padding: 38px 20px 42px; }
    .home-business-heading { align-items: start; flex-direction: column; gap: 0; }
    .home-business-grid { grid-template-columns: 1fr; gap: 12px; }
    .home-business-card { min-height: 220px; }
    .home-business-copy { inset: auto 20px 20px; }
    .home-business-copy strong { font-size: 28px; }
    .manufacturing-page-hero { padding: 38px 20px 48px; }
    .manufacturing-page-hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .manufacturing-page-hero h1 { font-size: clamp(42px,11vw,56px); }
    .manufacturing-page-lead { margin: 18px 0 20px; font-size: 17px; }
    .manufacturing-page-image, .manufacturing-page-image img { min-height: 250px; max-height: 340px; }
    .manufacturing-page-intro { padding: 52px 20px 34px; }
    .manufacturing-page-intro h2 { font-size: 32px; }
    .manufacturing-page-intro > p:last-child { font-size: 16px; }
    .manufacturing-capabilities { grid-template-columns: 1fr; width: calc(100% - 40px); margin: 8px auto 58px; }
    .manufacturing-capabilities article { min-height: 0; padding: 24px; }
    .manufacturing-capabilities h3 { margin: 18px 0 8px; }
    .manufacturing-page-process { grid-template-columns: 1fr; gap: 34px; padding: 58px 22px 64px; }
    .manufacturing-page-footer { padding: 60px 20px 68px; }
}

.home-business-contact { margin: 16px 0 0; color: #66706c; font-size: 14px; }
.home-business-contact a { color: #744733; font-weight: 700; }
.publishing-page-bottom-cta .publishing-inquiry-link { margin-top: 20px; border: 0; text-decoration: underline; }

/* About Rosiness Games */
.about-page { color: #202526; background: #f5f1e9; }
.about-page-hero { padding: clamp(54px,7vw,92px) 28px 72px; }
.about-page-hero-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.95fr); align-items: center; gap: clamp(42px,7vw,96px); width: min(1320px,100%); margin: 0 auto; }
.about-page-eyebrow { margin: 0 0 18px; color: #b47e61; font-size: 13px; font-weight: 700; letter-spacing: .18em; }
.about-page-hero-copy h1 { margin: 0; font-size: clamp(50px,7vw,86px); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
.about-page-hero-copy h1 span { color: #a94f3d; }
.about-page-hero-copy > p:not(.about-page-eyebrow) { margin: 22px 0 24px; color: #68716e; font-size: 20px; }
.about-page-scroll { display: inline-flex; align-items: center; gap: 20px; padding: 12px 0; border-bottom: 1px solid #a94f3d; color: #744733; font-weight: 600; }
.about-page-scroll span { font-size: 20px; }
.about-page-hero-art { position: relative; min-height: 450px; overflow: hidden; background: #24383b; }
.about-page-hero-art::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg,transparent 40%,rgba(12,21,24,.64)); }
.about-page-hero-art img { display: block; width: 100%; height: 100%; min-height: 450px; object-fit: cover; }
.about-page-hero-art > span { position: absolute; z-index: 1; right: 26px; bottom: 22px; color: #fff; font-family: Georgia,serif; font-size: 13px; letter-spacing: .17em; line-height: 1.7; text-align: right; }
.about-page-story { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(40px,9vw,140px); width: min(1120px,calc(100% - 56px)); margin: 0 auto; padding: 86px 0 104px; border-top: 1px solid #ded6cb; }
.about-founded { display: block; margin-top: 50px; color: #a94f3d; font-family: Georgia,serif; font-size: clamp(64px,8vw,96px); line-height: 1; }
.about-founded-label { display: block; margin-top: 12px; color: #78807c; font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.about-story-copy h2 { margin: 0 0 25px; font-size: clamp(34px,4.4vw,52px); font-weight: 500; line-height: 1.3; }
.about-story-copy p { margin: 0 0 18px; color: #5f6865; font-size: 18px; line-height: 1.9; }
.about-page-pillars { padding: 84px 28px 100px; background: #ebe5da; }
.about-pillars-heading, .about-pillars-grid { width: min(1320px,100%); margin: 0 auto; }
.about-pillars-heading { margin-bottom: 32px; }
.about-pillars-heading h2 { max-width: 780px; margin: 0; font-size: clamp(34px,4vw,48px); font-weight: 500; line-height: 1.35; }
.about-pillars-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.about-pillar { display: flex; min-height: 300px; flex-direction: column; padding: 28px; border: 1px solid #d7cfc2; color: #202526; background: #f8f5ef; transition: transform .2s ease, box-shadow .2s ease; }
.about-pillar:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(39,45,42,.09); }
.about-pillar > span { color: #ad7c60; font-family: Georgia,serif; font-size: 18px; }
.about-pillar h3 { margin: 30px 0 12px; font-size: 24px; font-weight: 500; }
.about-pillar p { margin: 0 0 24px; color: #626a67; font-size: 16px; line-height: 1.8; }
.about-pillar b { margin-top: auto; color: #744733; font-size: 14px; font-weight: 600; }
.about-page-mission { padding: 86px 28px 92px; color: #f8f5ef; background: #1d2d31; text-align: center; }
.about-mission-inner { width: min(850px,100%); margin: 0 auto; }
.about-page-mission .about-page-eyebrow { color: #d0a47f; }
.about-page-mission h2 { margin: 0; font-size: clamp(38px,5vw,60px); font-weight: 500; }
.about-page-mission p:not(.about-page-eyebrow) { margin: 18px auto 26px; color: #c5ceca; font-size: 19px; line-height: 1.8; }
.about-page-mission a { display: inline-flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #d0a47f; color: #f6d5b7; font-weight: 600; }
.about-page-partners { padding: 82px 28px 96px; }
.about-partners-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; width: min(1320px,100%); margin: 0 auto 30px; }
.about-partners-heading .about-page-eyebrow { margin-bottom: 10px; }
.about-partners-heading h2 { margin: 0; font-size: clamp(31px,3.6vw,44px); font-weight: 500; }
.about-partners-heading > a { color: #744733; font-weight: 600; white-space: nowrap; }
.about-partners-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; width: min(1320px,100%); margin: 0 auto; }
.about-partners-grid > div { display: grid; min-height: 104px; place-items: center; padding: 18px; border: 1px solid #e6dfd5; background: #fffdf9; }
.about-partners-grid img { display: block; max-width: 100%; max-height: 58px; object-fit: contain; }
@media(max-width:900px) {
    .about-page-hero-inner { grid-template-columns: minmax(0,1fr) minmax(280px,.85fr); gap: 30px; }
    .about-page-hero-art, .about-page-hero-art img { min-height: 360px; }
    .about-page-story { gap: 40px; }
    .about-pillars-grid { gap: 10px; }
    .about-pillar { padding: 22px; }
    .about-partners-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media(max-width:640px) {
    .about-page-hero { padding: 38px 20px 50px; }
    .about-page-hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .about-page-hero-copy h1 { font-size: clamp(47px,12vw,64px); }
    .about-page-hero-art, .about-page-hero-art img { min-height: 270px; max-height: 350px; }
    .about-page-story { grid-template-columns: 1fr; gap: 26px; width: calc(100% - 40px); padding: 58px 0 66px; }
    .about-founded { margin-top: 20px; font-size: 64px; }
    .about-story-copy h2 { font-size: 34px; }
    .about-story-copy p { font-size: 16px; }
    .about-page-pillars { padding: 58px 20px 66px; }
    .about-pillars-grid { grid-template-columns: 1fr; gap: 12px; }
    .about-pillar { min-height: 250px; padding: 24px; }
    .about-page-mission { padding: 62px 20px 68px; }
    .about-page-mission p:not(.about-page-eyebrow) { font-size: 17px; }
    .about-page-partners { padding: 62px 20px 68px; }
    .about-partners-heading { align-items: start; flex-direction: column; margin-bottom: 22px; }
    .about-partners-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .about-partners-grid > div { min-height: 90px; padding: 14px; }
}

.about-page-contact { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 22px; margin-top: 4px; padding: 0 22px; color: #fff; background: #a94f3d; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.about-page-contact:hover { transform: translateY(-2px); color: #fff; background: #843c30; }
.about-page-contact span { font-size: 19px; }

/* Home business sections use replaceable page images. */
.publishing-visual {
    position: relative;
    min-height: 260px;
    background: linear-gradient(90deg, rgba(21, 28, 27, .08), rgba(21, 28, 27, .02)), url('/images/pages/publishing/hero.png?v=20261002') center / cover no-repeat;
}
.manufacturing-section::before {
    background: linear-gradient(120deg, rgba(13, 23, 28, .88), rgba(32, 43, 47, .74)), url('/images/pages/manufacturing/hero.jpg') center / cover no-repeat;
}
@media (max-width: 1200px) {
    .publishing-visual { min-height: 220px; }
}

/* Slow the homepage partner logo marquee for easier viewing. */
.partners-track { animation-duration: 64s; }

.news-detail-content .news-video-cover { position: relative; display: grid; width: 100%; height: 100%; padding: 0; place-items: center; overflow: hidden; border: 0; background: linear-gradient(135deg, #273a45, #11191e); cursor: pointer; }
.news-detail-content .news-video-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-detail-content .news-video-play { position: relative; z-index: 1; display: grid; width: 76px; height: 54px; place-items: center; border-radius: 15px; background: #e83e3e; color: #fff; font: 700 27px/1 Arial, sans-serif; box-shadow: 0 2px 14px #0006; transition: transform .2s ease, background .2s ease; }
.news-detail-content .news-video-cover:hover .news-video-play { transform: scale(1.08); background: #d92c2c; }
.news-detail-content .news-video-cover-fallback { position: relative; z-index: 1; color: #fff; font-size: 16px; text-shadow: 0 1px 4px #000; }

.boardgame-video-frame .news-video-cover, .trpg-video-frame .news-video-cover { position: relative; display: grid; width: 100%; height: 100%; padding: 0; place-items: center; overflow: hidden; border: 0; background: linear-gradient(135deg, #273a45, #11191e); cursor: pointer; }
.boardgame-video-frame .news-video-cover img, .trpg-video-frame .news-video-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.boardgame-video-frame .news-video-play, .trpg-video-frame .news-video-play { position: relative; z-index: 1; display: grid; width: 76px; height: 54px; place-items: center; border-radius: 15px; background: #e83e3e; color: #fff; font: 700 27px/1 Arial, sans-serif; box-shadow: 0 2px 14px #0006; transition: transform .2s ease, background .2s ease; }
.boardgame-video-frame .news-video-cover:hover .news-video-play, .trpg-video-frame .news-video-cover:hover .news-video-play { transform: scale(1.08); background: #d92c2c; }
.boardgame-video-frame .news-video-cover-fallback, .trpg-video-frame .news-video-cover-fallback { position: relative; z-index: 1; color: #fff; font-size: 16px; text-shadow: 0 1px 4px #000; }

.admin-bilibili-dialog { width: min(560px, calc(100% - 32px)); max-height: min(720px, calc(100% - 32px)); padding: 0; border: 1px solid #d5cdbf; background: #f7f4ee; color: #202426; box-shadow: 0 24px 80px #10191d55; }
.admin-bilibili-dialog::backdrop { background: #10191dcc; }
.admin-bilibili-dialog-content { display: grid; gap: 18px; padding: 28px; }
.admin-bilibili-dialog-content h2 { margin: 0; font-size: 25px; }
.admin-bilibili-dialog-content label { display: grid; gap: 8px; font-weight: 600; }
.admin-bilibili-dialog-content input:not([type=file]), .admin-bilibili-dialog-content select { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #cfc8bd; background: #fff; color: #202426; font: inherit; }
.admin-bilibili-upload-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.admin-bilibili-upload-row small { color: #667176; }
.admin-bilibili-status { min-height: 1.4em; margin: 0; color: #8b4f37; }
.admin-bilibili-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }
.bilibili-cover-embed { width: min(100%, 1200px); aspect-ratio: 16 / 9; margin: 32px auto; overflow: hidden; background: #171a19; }
.news-detail-content .bilibili-cover-embed { width: 100%; margin: 36px 0; }
.bilibili-cover-button { position: relative; display: grid; width: 100%; height: 100%; padding: 0; place-items: center; overflow: hidden; border: 0; background: #171a19; cursor: pointer; }
.bilibili-cover-button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bilibili-cover-play { position: relative; z-index: 1; display: grid; width: 76px; height: 54px; place-items: center; border-radius: 15px; background: #e83e3e; color: #fff; font: 700 27px/1 Arial, sans-serif; box-shadow: 0 2px 14px #0006; transition: transform .2s ease, background .2s ease; }
.bilibili-cover-button:hover .bilibili-cover-play { transform: scale(1.08); background: #d92c2c; }
.bilibili-cover-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
