.m-shell.m-page-home .m-zone-library > .m74-home-library {
    background: transparent;
    border: 0;
    gap: 22px !important;
}

.m-shell .m74-home-panel {
    background: #211b15;
    border: 1px solid #574227;
    border-radius: 12px;
    gap: 16px !important;
    padding: clamp(16px, 2.4vw, 30px) !important;
}

.m-shell .m75-home-catalog {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px !important;
}
.m-shell .m75-home-catalog .m-v7-topic-card {
    background: #262016;
    border-radius: var(--m75-radius);
    height: 100%;
    min-width: 0;
}
.m-shell .m75-home-catalog .m-v7-topic-card:hover,
.m-shell .m75-home-catalog .m-v7-topic-card:focus-within {
    background: #302519;
    border-color: #bb914f;
}

.m-shell .m74-redundant { display: none !important; }
.m-shell .m-v7-topic-grid .m74-db-card {
    background: linear-gradient(90deg, #1b1611 10%, #1b1611ed 40%, #1b161180 74%, #15100d4d),
                var(--m74-db-art) right center / auto 122% no-repeat, #1b1611 !important;
    min-height: 168px;
}
.m-shell .m-v7-topic-grid .m74-db-card:hover { border-color: #c79b54; }
.m-shell .m74-db-card .elementor-heading-title,
.m-shell .m74-db-card .elementor-widget-text-editor { text-shadow: 0 1px 3px #090706; }

.m74-db-classes { --m74-db-art: url('media/db-classes.webp'); }
.m74-db-skills { --m74-db-art: url('media/db-skills.webp'); }
.m74-db-equipment { --m74-db-art: url('media/db-equipment.webp'); }
.m74-db-items { --m74-db-art: url('media/db-items.webp'); }
.m74-db-maps { --m74-db-art: url('media/db-maps.webp'); }
.m74-db-boss { --m74-db-art: url('media/db-boss.webp'); }
.m74-db-dungeons { --m74-db-art: url('media/db-dungeons.webp'); }
.m74-db-systems { --m74-db-art: url('media/db-systems.webp'); }

.m-shell .m74-guide-paper { padding: 0 !important; }
.m74-guide-feed {
    background: #eee7d9;
    border: 1px solid #d4c5ad;
    border-radius: 8px;
    color: #37271a;
    padding: 8px clamp(12px, 2.2vw, 23px) 12px;
}
.m74-guide-tabs {
    background: #2b2319;
    border: 1px solid #584427;
    border-radius: var(--m75-radius, 12px);
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 5px 0 8px;
    padding: 8px;
}
body .m-shell .m74-guide-feed .m74-guide-tabs a {
    align-items: center;
    background: #3a3023;
    border: 1px solid #6c5435;
    border-radius: 7px;
    color: #fffaf0;
    display: inline-flex;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    min-height: 40px;
    padding: 7px 12px;
    text-decoration: none;
}
body .m-shell .m74-guide-feed .m74-guide-tabs a:hover {
    background: #51402a;
    border-color: #bd985c;
    color: #fffaf0;
}
body .m-shell .m74-guide-feed .m74-guide-tabs a[aria-selected="true"],
body .m-shell .m74-guide-feed .m74-guide-tabs a[aria-current="page"],
.m-shell .m74-guide-feed:not(.m74-tabs-ready)[data-m74-guide-feed] .m74-guide-tabs a:first-child {
    background: #6b4e29;
    border-color: #e5c087;
    color: #fffaf0;
    font-weight: 650;
}
.m-shell .m74-guide-feed a:focus-visible {
    outline: 2px solid #953d2c;
    outline-offset: 2px;
}
.m-shell .m74-guide-tabs a:focus-visible { outline-color: #f3cd86; }

.m74-guide-panel { scroll-margin-top: 100px; }
.m74-guide-panel[hidden] { display: none !important; }
.m74-guide-panel + .m74-guide-panel { border-top: 1px solid #cdbda1; }
.m74-tabs-ready .m74-guide-panel + .m74-guide-panel { border-top: 0; }
.m-shell .m74-guide-list { list-style: none; margin: 0; padding: 0; }
.m74-guide-row {
    align-items: center;
    border-bottom: 1px solid #d7c9b1;
    display: grid;
    gap: 12px;
    grid-template-columns: 84px minmax(0, 1fr);
    padding: 8px 0;
}
.m74-guide-thumb {
    background: #332719;
    border-radius: 5px;
    display: block;
    height: 56px;
    overflow: hidden;
}
.m74-guide-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.m74-guide-titleline {
    align-items: baseline;
    display: grid;
    gap: 6px 12px;
    grid-template-columns: minmax(0, 1fr) auto;
}
.m-shell .m74-guide-titleline h3 {
    color: #392719;
    font: 700 15px/1.4 system-ui, sans-serif;
    margin: 0;
    overflow-wrap: anywhere;
}
body .m-shell .m74-guide-feed .m74-guide-titleline a { color: #342619; }
body .m-shell .m74-guide-feed .m74-guide-titleline a:hover { color: #61432c; text-decoration: underline; }
.m74-guide-titleline time { color: #695440; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.m-shell .m74-guide-copy p {
    color: #695440;
    display: -webkit-box;
    font-size: 13px;
    line-height: 1.45;
    margin: 3px 0 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.m-shell .m74-guide-empty { color: #6d5540; margin: 12px 0 3px; }
.m-shell .m74-guide-archive { color: #8b3123; display: inline-block; font-size: 13px; font-weight: 700; margin: 9px 0 0; }
.m-shell .m74-guide-archive:hover { text-decoration: underline; }

body .m-shell.m-page-home .m-news-table .elementor-post__title::before {
    background: var(--m74-news-label, #594b3e);
    border: 1px solid transparent;
    border-radius: 4px;
    color: #fff9ef !important;
    font-weight: 750;
    min-width: 42px;
    padding: 4px 2px;
}
.m-page-home .m-news-table :is(.category-notices, .category-m-notices, .category-m-notices-ko) { --m74-news-label: #795015; }
.m-page-home .m-news-table :is(.category-game-events, .category-m-game-events, .category-m-game-events-ko, .category-events, .category-m-events, .category-m-events-ko) { --m74-news-label: #903a32; }
.m-page-home .m-news-table :is(.category-updates, .category-m-updates, .category-m-updates-ko) { --m74-news-label: #304d70; }
.m-page-home .m-news-table :is(.category-install, .category-install-android, .category-install-ios, .category-install-emulator, .category-m-install, .category-m-install-ko, .category-m-install-android, .category-m-install-ios, .category-m-install-emulator, .category-m-install-android-ko, .category-m-install-ios-ko, .category-m-install-emulator-ko) { --m74-news-label: #315b51; }
body .m-shell.m-page-home.m-lang-zh .m-news-table :is(.category-install-android, .category-install-ios, .category-install-emulator, .category-m-install-android, .category-m-install-ios, .category-m-install-emulator) .elementor-post__title::before { content: "教學"; }
body .m-shell.m-page-home.m-lang-ko .m-news-table :is(.category-install-android, .category-install-ios, .category-install-emulator, .category-m-install-android-ko, .category-m-install-ios-ko, .category-m-install-emulator-ko) .elementor-post__title::before { content: "설치"; }

@media (max-width: 680px) {
    .m74-guide-row { grid-template-columns: 60px minmax(0, 1fr); gap: 8px; }
    .m74-guide-thumb { height: 47px; }
    .m74-guide-titleline { gap: 4px 7px; }
    .m-shell .m74-guide-titleline h3 { font-size: 13px; }
    .m74-guide-titleline time { font-size: 10px; }
    body .m-shell.m-page-home .m-news-table .elementor-post__title::before { min-width: 34px; padding: 3px 2px; }
}


/* A shared frame for all M-site pages and Elementor Theme Builder content. */
.m-shell.m-content-root {
    --m75-width: 1280px;
    --m75-gutter: clamp(14px, 2.25vw, 32px);
    --m75-panel-padding: clamp(15px, 2vw, 28px);
    --m75-radius: 12px;
}
body .m-shell.m-content-root > .m-section {
    box-sizing: border-box;
    padding-inline: var(--m75-gutter) !important;
    width: 100% !important;
}
body .m-shell.m-content-root > .m-section > .m-inner {
    box-sizing: border-box;
    max-width: var(--m75-width) !important;
    width: 100% !important;
}
body .m-shell.m-content-root:not(.m-page-home) > .m-section:not(.m-mast) > .m-inner,
.m-shell.m-content-root:not(.m-page-home) :is(.m-paper, .m-v7-topic-card, .m-tile, .m-conversion, .m74-guide-feed) {
    border-radius: var(--m75-radius);
}
body .m-shell.m-content-root:not(.m-page-home) > .m-section:not(.m-mast) > .m-inner {
    padding: var(--m75-panel-padding) !important;
}
body .m-shell.m-page-home > :is(.m-zone-news, .m-zone-server, .m-zone-library, .m-zone-conversion, .m6-740008f) > .m-inner {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}
body .m-shell.m-page-home > :is(.m-zone-news, .m-zone-server, .m-zone-library, .m-zone-conversion, .m6-740008f) > .m-inner::before {
    display: none !important;
}
body .m-shell.m-page-home > .m-zone-faq > .m-inner {
    padding: var(--m75-panel-padding) !important;
}
.m-shell.m-page-home :is(.m73-news-panel, .m73-events-panel, .m-guide-quickbar, .m73-server-panel, .m74-home-panel, .m73-faq-shell, .m-conversion, .m-partner-banner) {
    border-radius: var(--m75-radius);
    box-sizing: border-box;
}
.m-shell.m-page-home .m-guide-quickbar { overflow: hidden; }
.m-shell.m-page-home :is(.m73-server-panel, .m74-home-panel) { padding: var(--m75-panel-padding) !important; }
.m75-guide-archive .navigation.pagination { padding-top: 14px; }
.m75-guide-archive .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.m-shell .m75-guide-archive .page-numbers { padding: 4px 9px; border: 1px solid #c9b89a; border-radius: 6px; }
.m-shell .m75-guide-archive .page-numbers.current { background: #45311e; color: #fff5e4; }

@media (max-width: 1000px) {
    .m-shell .m75-home-catalog.m-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .m-shell .m75-home-catalog.m-grid-4 { grid-template-columns: 1fr; }
    body .m-shell .m74-guide-feed .m74-guide-tabs a { font-size: 13px; }
}

.m-shell.m-page-archive .m-paper:has(.m75-guide-archive),
.m-shell.m-page-guides .m74-guide-paper {
    background: transparent;
    border: 0;
    padding: 0 !important;
}

body .m-shell .m76-news-paper {
    background: transparent;
    border: 0;
    padding: 0 !important;
}
.m76-news-pagination {
    align-items: center;
    color: #554131;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 10px;
    padding-top: 12px;
}
body .m-shell .m76-news-feed .m76-news-pagination a {
    background: #f4eee2;
    border: 1px solid #a7865b;
    border-radius: 6px;
    color: #4c3320;
    padding: 4px 9px;
}
body .m-shell .m76-news-feed .m76-news-pagination a:hover { background: #ead9b9; }

body .m-shell .m-single-language:has(.m76-switch-widget),
body .m-shell .m-single-language > .m76-switch-widget {
    max-width: none !important;
    min-width: 0;
    width: auto !important;
    overflow: visible;
}
.m76-languages {
    color: #fffaf0;
    position: relative;
    width: max-content;
    max-width: 100%;
    z-index: 4;
}
.m76-languages > summary,
body .m-shell .m76-languages li > a {
    align-items: center;
    color: #fffaf0;
    display: flex;
    font-size: 13px;
    font-weight: 650;
    gap: 8px;
    line-height: 1.35;
    min-height: 42px;
    text-decoration: none;
    white-space: nowrap;
}
.m76-languages > summary {
    background: #2b231a;
    border: 1px solid #765a35;
    border-radius: 7px;
    cursor: pointer;
    list-style: none;
    padding: 6px 9px;
}
.m76-languages > summary::-webkit-details-marker { display: none; }
.m76-languages > summary::after {
    border-bottom: 1.5px solid #e6c38d;
    border-right: 1.5px solid #e6c38d;
    content: "";
    height: 6px;
    margin: 0 2px 3px 3px;
    transform: rotate(45deg);
    width: 6px;
}
.m76-languages[open] > summary::after { margin: 3px 2px 0 3px; transform: rotate(225deg); }
.m76-languages > ul {
    background: #241d16;
    border: 1px solid #765a35;
    border-radius: 8px;
    box-shadow: 0 10px 24px #0f0b08a8;
    list-style: none;
    margin: 0;
    min-width: 145px;
    padding: 4px;
    position: absolute;
    right: 0;
    top: calc(100% + 5px);
}
.m76-languages--footer > ul { bottom: calc(100% + 5px); left: 0; right: auto; top: auto; }
body .m-shell .m76-languages li > a {
    border-radius: 4px;
    padding: 5px 8px;
}
body .m-shell .m76-languages li > a:hover,
body .m-shell .m76-languages li > a[aria-current="true"] { background: #493724; color: #fffaf0; }
body .m-shell .m76-languages li > a[aria-current="true"]::after {
    color: #ecc791;
    content: "✓";
    margin-left: auto;
}
.m76-languages :is(summary, a):focus-visible { outline: 2px solid #efc986; outline-offset: 2px; }
.m76-lang-icon {
    border-radius: 2px;
    flex: 0 0 18px;
    height: 12px;
    object-fit: cover;
    width: 18px;
}
.m76-lang-fallback {
    align-items: center;
    background: #70532e;
    color: #fffaf0;
    display: inline-flex;
    font-size: 9px;
    justify-content: center;
    line-height: 1;
}
body .m-shell.m-site-footer .m-footer-grid:has(.m76-footer-language) {
    display: grid !important;
    gap: 24px !important;
    grid-template-columns: minmax(0, 1.65fr) repeat(4, minmax(0, 1fr));
}
body .m-shell.m-site-footer .m-footer-grid:has(.m76-footer-language) > .e-con {
    min-width: 0;
    width: 100% !important;
}
.m-shell .m76-footer-intro p { color: #c0ab8e; font-size: 13px; line-height: 1.7; }
.m76-footer-language .m76-switch-widget { max-width: 100%; }

@media (max-width: 900px) {
    body .m-shell.m-site-footer .m-footer-grid:has(.m76-footer-language) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .m-shell.m-site-footer .m-footer-grid:has(.m76-footer-language) > .e-con:first-child { grid-column: 1 / -1; }
}
@media (max-width: 440px) {
    .m76-languages--header > summary { font-size: 12px; gap: 5px; padding-inline: 6px; }
    .m76-languages--header .m76-lang-icon { width: 16px; flex-basis: 16px; }
    .m76-languages--header > summary::after { margin-left: 1px; }
}

/* Data hub navigation and reading panels */
body .m-shell.m-page-data:has(.m77-hub-workspace) > .m-mast {
    background:
        linear-gradient(90deg, #191510 0%, #191510eb 30%, #19151065 72%, #19151052 100%),
        url("media/hero.webp") center 42% / cover no-repeat,
        #1d1813 !important;
}
body .m-shell.m-page-data:has(.m77-hub-workspace) > .m-mast > .m-inner {
    padding-block: clamp(34px, 5.5vw, 74px) !important;
}
body .m-shell.m-page-data > .m77-hub-workspace > .m77-hub-layout {
    align-items: start;
    background: transparent !important;
    border: 0;
    display: grid !important;
    gap: clamp(14px, 2.2vw, 28px) !important;
    grid-template-columns: clamp(172px, 19%, 238px) minmax(0, 1fr);
    padding: 0 !important;
}
.m-shell .m77-hub-layout::before { display: none; }
.m-shell .m77-hub-sidebar,
.m-shell .m77-hub-panels { min-width: 0; }
.m-shell .m77-hub-sidebar {
    background: #241d16;
    border: 1px solid #735636;
    border-radius: 12px;
    gap: 0 !important;
    overflow: hidden;
}
.m-shell .m77-hub-label p {
    color: #d1b99a;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .07em;
    margin: 0;
    padding: 12px 14px 10px;
}
body .m-shell .m77-hub-tablist { gap: 0 !important; }
body .m-shell .m77-hub-sidebar .m-btn .elementor-button {
    background: #251e17 !important;
    border: 0 !important;
    border-top: 1px solid #55422f !important;
    color: #fff7e6 !important;
    font-size: 14px !important;
    justify-content: flex-start;
    min-height: 54px;
    padding: 10px 14px !important;
    text-align: left;
    width: 100%;
}
body .m-shell .m77-hub-sidebar .m-btn .elementor-button:hover { background: #443321 !important; }
body .m-shell .m77-hub-sidebar .m-btn .elementor-button[aria-selected="true"] {
    background: #63452b !important;
    box-shadow: inset 3px 0 #e5bc7c;
}
.m-shell .m77-hub-sidebar .elementor-button:focus-visible {
    outline: 2px solid #f2cd8d;
    outline-offset: -4px;
}
.m-shell .m77-hub-sidebar .elementor-button-content-wrapper { align-items: center; gap: 9px; }
.m-shell .m77-hub-sidebar .elementor-button-icon { flex: 0 0 16px; font-size: 15px; }
.m-shell .m77-hub-server .elementor-button::after { content: "↗"; margin-inline-start: auto; }
.m-shell .m77-hub-panel { scroll-margin-top: 112px; }
body .m-shell .m77-hub-panel[hidden] { display: none !important; }
body .m-shell.m-page-data .m77-hub-panels > .m77-hub-panel {
    background: transparent !important;
    border: 0;
    padding: 0 !important;
}
body .m-shell.m-page-data .m77-hub-panel > .m-inner {
    background: #efe8da !important;
    border: 1px solid #cdb58f;
    border-radius: 12px;
    gap: 18px !important;
    padding: clamp(16px, 3vw, 34px) !important;
}
body .m-shell.m-page-data .m77-hub-panel > .m-inner::before { display: none; }
body .m-shell.m-page-data .m77-hub-panel .elementor-heading-title { color: #3b2b20 !important; }
body .m-shell.m-page-data .m77-hub-panel .elementor-widget-text-editor p { color: #564638 !important; }
body .m-shell.m-page-data .m77-hub-panel .m-kicker p { color: #7a532b !important; }
body .m-shell.m-page-data .m77-hub-panel .m-v7-topic-card:not(.m74-db-card) {
    background: #f8f2e7;
    border-color: #c7ae8b;
}
body .m-shell.m-page-data .m77-hub-panel .m-v7-topic-card:not(.m74-db-card):is(:hover,:focus-within) {
    background: #f4e7d3;
    border-color: #9b7145;
}
body .m-shell.m-page-data .m77-hub-panel .m-btn-plain a { color: #6e4625 !important; }
body .m-shell.m-page-data .m77-hub-panel .m-v7-chips .m-btn a { background: #e8dac4 !important; }
body .m-shell.m-page-data .m77-hub-panel .m74-db-card .elementor-heading-title,
body .m-shell.m-page-data .m77-hub-panel .m74-db-card .elementor-widget-text-editor p,
body .m-shell.m-page-data .m77-hub-panel .m74-db-card .m-btn a {
    color: #fff3df !important;
    text-shadow: 0 1px 4px #181007;
}
body .m-shell.m-page-data .m77-hub-panel .m-v7-topic-card > .m-btn a:focus-visible::after {
    outline-color: #8b592a;
}

@media (max-width: 1050px) {
    body .m-shell.m-page-data .m77-hub-panel .m-v7-topic-grid.m-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
    body .m-shell.m-page-data > .m77-hub-workspace > .m77-hub-layout { grid-template-columns: minmax(0, 1fr); }
    body .m-shell .m77-hub-tablist { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body .m-shell .m77-hub-tablist .m-btn .elementor-button { height: 100%; padding-inline: 6px !important; justify-content: center; text-align: center; }
    body .m-shell .m77-hub-tablist > .elementor-widget + .elementor-widget .elementor-button { border-left: 1px solid #55422f !important; }
    body .m-shell .m77-hub-sidebar .m-btn .elementor-button[aria-selected="true"] { box-shadow: inset 0 -3px #e5bc7c; }
    .m-shell .m77-hub-sidebar .elementor-button-content-wrapper { gap: 5px; }
    .m-shell .m77-hub-sidebar .elementor-button-icon { flex-basis: 13px; font-size: 13px; }
}
@media (max-width: 460px) {
    body .m-shell.m-page-data .m77-hub-panel .m-v7-start-grid,
    body .m-shell.m-page-data .m77-hub-panel .m-v7-guide-grid,
    body .m-shell.m-page-data .m77-hub-panel .m-v7-topic-grid.m-grid-4 { grid-template-columns: minmax(0, 1fr); }
    body .m-shell .m77-hub-tablist .m-btn .elementor-button { font-size: 12px !important; }
}

/* Event center and single-row footer switcher */
body .m-shell.m-page-events:has(.m78-events-layout) > .m-mast {
    background:
        linear-gradient(90deg, #191510 0%, #191510ed 27%, #19151075 73%, #19151060 100%),
        url("media/hero.webp") center 43% / cover no-repeat,
        #1d1813 !important;
}
body .m-shell.m-page-events:has(.m78-events-layout) > .m-mast > .m-inner {
    padding-block: clamp(38px, 6vw, 78px) !important;
}
body .m-shell.m-page-events > .m-section > .m78-events-layout {
    background: transparent !important;
    border: 0 !important;
    gap: 0 !important;
    padding: 0 !important;
}
body .m-shell.m-page-events > .m-section > .m78-events-layout::before { display: none; }
body .m-shell .m78-event-section {
    gap: clamp(14px, 2vw, 24px) !important;
    padding-block: clamp(16px, 3.3vw, 38px) !important;
}
.m-shell .m78-event-announcements { border-top: 1px solid #72513380; }
.m-shell .m78-event-feature-grid,
.m-shell .m78-event-card-grid {
    display: grid !important;
    gap: clamp(12px, 2vw, 20px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.m78-event-art-hero { --m78-event-image: url("media/hero.webp"); }
.m78-event-art-rewards { --m78-event-image: url("media/rewards.webp"); }
body .m-shell .m78-event-banner {
    background: linear-gradient(90deg, #332316 5%, #2a1e12d9 45%, #20170d54 100%),
        var(--m78-event-image) center 47% / cover no-repeat, #251c14 !important;
    border: 1px solid #927044b5;
    border-radius: 12px;
    justify-content: center;
    min-height: 175px;
    padding: clamp(16px, 2.9vw, 34px) !important;
}
body .m-shell .m78-event-banner .elementor-heading-title { color: #fae2b7 !important; font-size: clamp(19px, 2.25vw, 27px) !important; }
body .m-shell .m78-event-banner .elementor-widget-text-editor p { color: #f2ddbd !important; }
body .m-shell .m78-event-banner .elementor-button { color: #ffdc9f !important; }
body .m-shell .m78-event-card {
    background: #251e17;
    border: 1px solid #735636;
    border-radius: 12px;
    gap: 0 !important;
    overflow: hidden;
}
.m-shell .m78-event-cover {
    background: linear-gradient(0deg, #17120dea 0%, #17120d45 72%, #17120d85 100%),
        var(--m78-event-image) center 50% / cover no-repeat, #2e2118;
    justify-content: space-between;
    min-height: clamp(155px, 18vw, 235px);
    padding: clamp(14px, 2.2vw, 24px) !important;
}
body .m-shell .m78-event-body {
    background: transparent !important;
    border: 0 !important;
    flex: 1;
    padding: clamp(16px, 2.2vw, 26px) !important;
    scroll-margin-top: 115px;
}
.m-shell .m78-event-body .elementor-widget-button { margin-top: auto; }
.m-shell .m78-event-badge p {
    background: #2c2116;
    border: 1px solid #b18b51;
    border-radius: 4px;
    color: #ffe5b8;
    display: inline-block;
    font-size: 12px;
    margin: 0;
    padding: 3px 8px;
}
.m-shell .m78-event-cover-title p { color: #ffe9c6; font-size: clamp(18px, 2.2vw, 28px); font-weight: 750; margin: 0; }
.m78-event-announcements:not(.m78-events-ready) .m78-event-filters { display: none; }
.m78-event-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.m78-event-filters button {
    background: #31281e;
    border: 1px solid #765a38;
    border-radius: 7px;
    color: #fff9ee;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    min-height: 42px;
    padding: 6px 12px;
}
.m78-event-filters button:hover { background: #53402b; }
.m78-event-filters button[aria-pressed="true"] { background: #6b4e29; border-color: #e5c087; }
.m78-event-filters button:focus-visible { outline: 2px solid #efc986; outline-offset: 2px; }
body .m-shell .m78-event-card[hidden],
body .m-shell .m78-event-empty[hidden] { display: none !important; }
.m-shell .m78-event-empty { color: #e8d4b1; padding-top: 12px; }
body .m-shell.m-site-footer .m-footer-grid:has(.m78-footer-language) {
    grid-template-columns: minmax(0, 1.65fr) repeat(3, minmax(0, 1fr));
}
body .m-shell.m-site-footer .m-footer-grid > .m78-footer-language {
    grid-column: 1 / -1;
    max-width: 100%;
}
@media (max-width: 900px) {
    body .m-shell.m-site-footer .m-footer-grid:has(.m78-footer-language) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    .m-shell .m78-event-feature-grid,
    .m-shell .m78-event-card-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Shared page titles and separation from the first content section. */
body .m-shell.m-content-root > .m-section.m-mast {
    border-bottom: 1px solid #87623d8c !important;
    padding-block: 0 !important;
}
body .m-shell.m-content-root > .m-section.m-mast > .m-inner {
    justify-content: center !important;
    gap: clamp(8px, 1.15vw, 14px) !important;
    min-height: clamp(160px, 18vw, 230px);
    padding-block: clamp(24px, 3.1vw, 40px) !important;
}
body .m-shell.m-content-root > .m-mast + .m-section {
    border-top: 0 !important;
    padding-top: clamp(20px, 2.5vw, 32px) !important;
}
body .m-shell.m-page-events > .m-mast + .m-section .m78-events-layout > .m78-event-section:first-child {
    padding-top: 0 !important;
}
body .m-shell.m-site-header > .m-header-desktop > .m-brand {
    margin-inline-end: clamp(8px, 1.25vw, 19px) !important;
}

body .m-shell .m77-hub-sidebar:has(.m79-install-entry) { border-radius: 0; }
body .m-shell .m77-hub-sidebar .m-btn .elementor-button-content-wrapper { gap: 13px; }
body .m-shell .m77-hub-sidebar .m-btn .elementor-button { min-height: 56px; padding-inline: 16px !important; }
body .m-shell.m-page-data .m77-hub-panel:is(.m79-overview-panel,.m-v7-hub-start) > .m-inner {
    border-radius: 2px;
    color: #4a3526;
    gap: clamp(14px, 2vw, 22px) !important;
}
.m-shell .m79-profile { color: inherit; }
.m-shell .m79-profile-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.m-shell .m79-profile-table th, .m-shell .m79-profile-table td {
    text-align: start; vertical-align: top; border: 0;
    border-bottom: 1px solid #ae87566e; padding: 10px clamp(8px, 1.25vw, 16px);
    overflow-wrap: anywhere;
}
.m-shell .m79-profile-table th:first-child { width: 31%; }
.m-shell .m79-profile-table thead { background: #ae875624; }
.m-shell .m79-profile-table td strong { display: block; font-weight: 750; }
.m-shell .m79-profile-table td span { display: block; font-size: .91em; }
.m-shell .m79-server-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
}
.m-shell .m79-server-feature {
    border: 1px solid #a481535c;
    background: #a481530e;
    border-radius: 6px;
    padding: clamp(12px, 2vw, 20px) !important;
}
.m-shell .m79-server-feature .elementor-heading-title { font-size: clamp(17px, 1.65vw, 21px) !important; }
body .m-shell .m79-install-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px !important;
}
body .m-shell .m79-install-tabs .m79-install-tab .elementor-button {
    display: grid;
    align-content: center;
    min-height: 48px;
    height: 100%;
    width: 100%;
    white-space: normal;
    border: 1px solid #b9996c !important;
    border-radius: 4px;
    background: #e7d8bf !important;
    color: #46301d !important;
    text-align: center;
    padding: 8px 6px !important;
}
body .m-shell .m79-install-tabs .elementor-button[aria-selected="true"] {
    border-color: #654729 !important;
    background: #654729 !important;
    color: #fff6e6 !important;
}
body .m-shell .m79-install-panel {
    border: 1px solid #cfb58e;
    background: #f6eee1;
    border-radius: 5px;
    padding: clamp(12px, 2vw, 22px) !important;
    scroll-margin-top: 110px;
}
body .m-shell .m79-install-panel[hidden] { display: none !important; }
.m-shell .m79-install-steps { margin: 0; padding-inline-start: 1.55em; line-height: 1.65; }
.m-shell .m79-install-steps li + li { margin-top: 8px; }
body .m-shell .m79-install-note { border-inline-start: 3px solid #a67a47; background: #c5a57928; padding: 9px 12px; }
body .m-shell .m79-content-feed { padding: 0 !important; }
.m-shell .m79-content-feed h4 { margin: 8px 0 2px; color: #4a3526; font-size: 16px; }

body .m-shell .m78-event-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body .m-shell .m78-event-card-grid .m78-event-cover { min-height: clamp(118px, 12.5vw, 165px); }
body .m-shell .m78-event-cover-title p { font-size: clamp(16px, 1.8vw, 23px); }
body .m-shell .m78-event-body .elementor-heading-title { font-size: clamp(17px, 1.8vw, 23px) !important; }
.m79-event-art-invite { --m78-event-image: url("media/db-classes.webp"); }

body .m-shell .m79-adventure-banner, body .m-shell .m79-partnership-banner {
    background:
        linear-gradient(90deg, #231910 0%, #261a10ef 37%, #2118106b 76%, #1b150e33 100%),
        var(--m79-banner-art) right center / cover no-repeat, #251a12 !important;
    align-items: flex-start;
    justify-content: center;
    min-height: clamp(186px, 23vw, 275px);
    padding: clamp(20px, 3.4vw, 46px) !important;
}
.m-shell .m79-adventure-banner { --m79-banner-art: url("media/adventure-banner.webp"); }
.m-shell .m79-partnership-banner { --m79-banner-art: url("media/partnership-banner.webp"); }
body .m-shell .m79-partnership-banner { flex-direction: column !important; gap: 16px !important; }
body .m-shell .m79-partnership-banner .elementor-widget-text-editor p,
body .m-shell .m79-adventure-banner .elementor-widget-text-editor p { color: #f2dfbe !important; max-width: 53ch; }
@media (max-width: 960px) {
    body .m-shell .m78-event-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
    body .m-shell .m77-hub-sidebar:has(.m79-install-entry) .m77-hub-tablist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body .m-shell .m77-hub-tablist .m-btn .elementor-button { padding-inline: 8px !important; min-height: 44px; }
}
@media (max-width: 620px) {
    body .m-shell .m78-event-card-grid, body .m-shell .m79-server-cards { grid-template-columns: minmax(0, 1fr); }
    body .m-shell .m79-adventure-banner, body .m-shell .m79-partnership-banner {
        background-image: linear-gradient(90deg, #211810f7, #211810ab), var(--m79-banner-art) !important;
    }
}

/* M site typography. Brand art and icon glyphs retain their own styles. */
body .m-shell {
    --m710-font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
    font-family: var(--m710-font);
}
body .m-shell.m-lang-ko {
    --m710-font: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
}
body .m-shell :is(h1,h2,h3,h4,h5,h6,p,a,li,time,button,input,select,textarea,summary,td,th,label,
    .elementor-heading-title,.elementor-button,.elementor-button-text,.e-n-tab-title-text,.elementor-item,
    .elementor-post__excerpt,.elementor-post__meta-data,.elementor-icon-list-text):not(.m710-display-type),
body .m-shell .m-news-table .elementor-post__title::before {
    font-family: var(--m710-font) !important;
}
body .m-shell :is(.m-hero,.m78-event-cover) .m710-display-type {
    font-family: var(--m710-display-font, Georgia, serif) !important;
}

body .m-shell .m74-guide-feed .m74-guide-tabs a,
body .m-shell .m78-event-filters button {
    flex: 0 0 auto;
    min-height: 40px;
    max-width: 100%;
    padding: 6px 11px;
    justify-content: center;
    text-align: center;
}
body .m-shell .m-news-tabs .e-n-tabs-heading {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}
body .m-shell .m-news-tabs .e-n-tab-title {
    flex: 0 0 auto !important;
    width: auto !important;
    justify-content: center !important;
    min-width: 0;
    min-height: 40px;
    font-weight: 650 !important;
    padding: 6px 11px !important;
    border: 1px solid #c9b28b !important;
    border-radius: 6px !important;
    background: #f5eee1 !important;
    color: #624429 !important;
    text-align: center;
    white-space: normal;
}
body .m-shell .m-news-tabs .e-n-tab-title[aria-selected="true"] {
    border-color: #6c452a !important;
    background: #6c452a !important;
    color: #fffaf0 !important;
}
body .m-shell .m78-event-filters button[data-m78-filter="ended"] {
    background: #512821;
    color: #fff0ec;
    border-color: #a44e42;
}
body .m-shell .m78-event-filters button[data-m78-filter="ended"][aria-pressed="true"] {
    background: #883629;
    color: #fff;
    border-color: #f0a094;
}
body .m-shell .elementor-widget-button.m-btn .elementor-button,
body .m-shell.m-content-root .elementor-widget-button .elementor-button {
    padding-inline: clamp(12px, 1.3vw, 22px) !important;
    min-height: 40px;
    max-width: 100%;
    white-space: normal;
}
body .m-shell .m78-event-layout .m78-event-body .elementor-button,
body .m-shell .m78-event-card .m78-event-body .elementor-button,
body .m-shell .m78-event-banner .elementor-button {
    border: 1px solid #ab8655 !important;
    border-radius: 6px !important;
    padding: 9px clamp(14px, 1.5vw, 22px) !important;
}
body .m-shell .m74-guide-list .m74-guide-row,
body .m-shell .m-posts .elementor-post {
    padding: 12px clamp(12px, 2vw, 23px) !important;
}
body .m-shell .m74-guide-list .m74-guide-row:last-child,
body .m-shell .m-posts .elementor-post:last-child {
    border-bottom: 0;
}
body .m-shell .m74-guide-list {
    border: 1px solid #d2bfa1;
    border-radius: 9px;
}
.m-page-home .m-news-table .category-announcements { --m74-news-label: #795015; --m710-badge: "公告"; }
.m-page-home .m-news-table .category-activities { --m74-news-label: #903a32; --m710-badge: "活動"; }
.m-page-home .m-news-table :is(.category-install-news,.category-installation,.category-android-install,.category-ios-install,.category-pc-emulator) {
    --m74-news-label: #315b51; --m710-badge: "教學";
}
.m-page-home .m-news-table .tag-version-update { --m74-news-label: #304d70; --m710-badge: "更新"; }
.m-page-home.m-lang-ko .m-news-table .category-announcements { --m710-badge: "공지"; }
.m-page-home.m-lang-ko .m-news-table .category-activities { --m710-badge: "이벤트"; }
.m-page-home.m-lang-ko .m-news-table :is(.category-install-news,.category-installation,.category-android-install,.category-ios-install,.category-pc-emulator) { --m710-badge: "설치"; }
.m-page-home.m-lang-ko .m-news-table .tag-version-update { --m710-badge: "업데이트"; }
body .m-shell.m-page-home .m-news-table :is(.category-announcements,.category-activities,.category-install-news,.category-installation,.category-android-install,.category-ios-install,.category-pc-emulator,.tag-version-update) .elementor-post__title::before {
    content: var(--m710-badge);
}
@media(max-width: 500px) {
    body .m-shell .m74-guide-list .m74-guide-row,
    body .m-shell .m-posts .elementor-post { padding-inline: 10px !important; }
}

/* Single-post reading layout. */
body .m-shell.m-page-article > .m710-article-trail { padding-top: 12px !important; padding-bottom: 0 !important; }
body .m-shell.m-page-article > .m710-article-trail > .m-inner,
body .m-shell.m-page-article > .m710-article-section > .m-inner {
    background: transparent !important;
    padding-inline: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}
body .m-shell.m-page-article > .m710-article-trail > .m-inner { padding-block: 0 !important; }
body .m-shell.m-page-article > .m710-article-trail > .m-inner::before,
body .m-shell.m-page-article > .m710-article-section > .m-inner::before { display: none !important; }
body .m-shell.m-page-article > .m710-article-section { padding-top: 10px !important; }
.m710-breadcrumb {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
    font-size: 13px; line-height: 1.6; color: #d5bf9f; padding-block: 9px;
}
body .m-shell .m710-breadcrumb a { color: #ebc991; text-decoration: underline; text-underline-offset: 3px; }
body .m-shell .m710-article-grid {
    display: grid !important; align-items: start;
    grid-template-columns: minmax(0,1fr) minmax(244px,29%);
    gap: clamp(18px, 2.5vw, 32px) !important;
}
body .m-shell .m710-article-grid > :is(.m710-article-main,.m710-article-sidebar) { width: 100%; min-width: 0; }
body .m-shell .m710-article-main {
    padding: clamp(18px, 3vw, 38px) !important;
    background: #f0e9db !important;
    border: 1px solid #d2bf9e;
    border-radius: 12px;
    min-height: 0;
}
body .m-shell .m710-article-main h1.elementor-heading-title {
    color: #33241b !important;
    font-size: clamp(23px, 3.1vw, 40px) !important;
    font-weight: 750 !important;
    line-height: 1.28 !important;
    overflow-wrap: anywhere;
    text-align: center;
}
.m710-post-meta {
    display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center;
    margin: 2px 0 16px; font-size: 14px; color: #715838;
}
body .m-shell .m710-post-cover {
    display: block; width: 100%; height: auto; max-height: 580px;
    object-fit: contain; background: #2c241e; border-radius: 8px;
}
.m710-summary {
    color: #493422; margin-block: 16px 5px; padding: 15px clamp(12px, 2.1vw, 24px);
    background: #fbf3e6; border: 1px solid #dac199; border-top: 3px solid #b78538; border-radius: 8px;
}
body .m-shell .m710-summary h2 { color: #6b471e; margin: 0 0 7px; font-size: 18px; }
body .m-shell .m710-summary p { margin: 0; line-height: 1.7; }
body .m-shell .m710-article-body { overflow-wrap: anywhere; }
.m710-reading-block, .m710-tag-list {
    color: #493422; background: #f4ede1; border: 1px solid #d2bf9e;
    border-radius: 9px; padding: 12px; margin: 0 0 14px;
}
body .m-shell :is(.m710-reading-block,.m710-tag-list) h2 {
    color: #fff3dd; background: #35291d; font-size: 16px; line-height: 1.45;
    margin: 0 0 8px; padding: 9px 11px; border-inline-start: 3px solid #bb8b49; border-radius: 3px;
}
body .m-shell :is(.m710-reading-list,.m710-tag-list ul) { list-style: none; padding: 0; margin: 0; }
.m710-reading-list li + li { border-top: 1px solid #dac8ab; }
body .m-shell .m710-reading-list a {
    display: grid; grid-template-columns: 70px minmax(0,1fr); align-items: center;
    gap: 9px; padding: 8px 3px; color: #483322; font-size: 14px; line-height: 1.45;
}
body .m-shell .m710-reading-list a:hover { text-decoration: underline; }
.m710-reading-image img { width: 70px; height: 49px; object-fit: cover; border-radius: 4px; display: block; }
.m710-reading-copy { overflow-wrap: anywhere; }
.m710-reading-copy time { color: #785f42; display: block; font-size: 12px; }
body .m-shell .m710-tag-list ul { display: flex; gap: 6px; flex-wrap: wrap; }
body .m-shell .m710-tag-list a {
    display: inline-flex; padding: 4px 9px; border-radius: 30px; font-size: 13px;
    border: 1px solid #d5bd95; color: #624222; background: #fcf5e8;
}
body .m-shell .m710-tag-list a:hover { background: #ead6b7; }
.m710-article-main .m710-tag-list, .m710-article-main .m710-related { margin: 7px 0 0; }
@media (max-width: 800px) {
    body .m-shell .m710-article-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Conversion hero and contact pages */
body .m-shell .m710-registration-hero {
    display: flex !important; justify-content: center !important;
    min-height: clamp(420px, 36vw, 580px);
    background-position: center center;
}
body .m-shell .m710-registration-hero::before {
    background: linear-gradient(90deg,#17110bf5 0%,#1c140de6 26%,#1c140d35 56%,transparent 76%);
}
body .m-shell .m710-registration-hero :is(.m-hero-title,.elementor-widget-text-editor) { max-width: min(100%, 510px); }
body .m-shell .m710-registration-hero .m-hero-title .elementor-heading-title {
    font-size: clamp(39px, 4.3vw, 68px) !important;
    color: #ffe9ba !important; font-weight: 800 !important; letter-spacing: .03em;
    text-shadow: 0 2px 12px #130c08;
}
body .m-shell .m710-registration-hero .m-hero-actions { margin-block: 5px; }
body .m-shell .m710-registration-hero .m-hero-actions .elementor-widget-button:first-child .elementor-button {
    background: #e4b469 !important; color: #29170b !important;
    border: 1px solid #ffe2a1 !important; min-height: 55px;
    box-shadow: 0 8px 28px #1b0d07c7;
}
body .m-shell .m710-registration-hero .m-hero-actions .elementor-widget-button:first-child .elementor-button:hover {
    background: #f5cb89 !important;
}
body .m-shell .m710-registration-hero .m6-0000029 p { font-size: 13px; color: #e4d0ab; }

body .m-shell .m710-contact-panel {
    width: 100%; padding: clamp(20px, 3.5vw, 44px) !important;
    border: 1px solid #74563c; border-radius: 12px;
    background: linear-gradient(110deg,#372417,#201b16 78%);
    gap: 12px !important;
}
body .m-shell .m710-contact-panel p { margin: 0; max-width: 70ch; color: #e5cdb0; }
body .m-shell .m710-contact-panel h2 { margin: 0; font-size: clamp(22px, 2.6vw, 34px); }
body .m-shell .m710-contact-panel .m710-contact-pending { color: #d8b994; font-size: 14px; }
body .m-shell .m710-community-grid {
    display: grid !important; width: 100%; gap: 14px;
    grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 8px;
}
body .m-shell .m710-community-card {
    min-width: 0; padding: clamp(14px, 2.5vw, 25px); gap: 10px !important;
    border: 1px solid #7c634e; border-top: 3px solid #9584c3;
    background: #1e1b22; border-radius: 8px;
}
body .m-shell .m710-community-card.m710-telegram { border-top-color: #64a2be; background: #1a2023; }
body .m-shell .m710-partner-panel { border-inline-start: 4px solid #bd8a56; }
body .m-shell .m710-contact-button {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 8px 18px; margin-top: 3px;
    background: #cba370; color: #281b10; font-weight: 700;
    border: 1px solid #f0cd9b; border-radius: 6px; text-decoration: none;
}
body .m-shell .m710-contact-button:hover { background: #ecd0a4; color: #281b10; }
body .m-shell .m710-contact-button:focus-visible { outline: 2px solid #f5d49c; outline-offset: 3px; }
body .m-shell .m76-languages > ul { min-width: 100px; }
@media (min-width: 1025px) {
    body .m-shell .m-desktop-menu .elementor-nav-menu > li > a {
        padding-inline: clamp(6px, .8vw, 13px) !important;
        white-space: nowrap;
    }
    body .m-shell.m-site-header.m-lang-ko .m-desktop-menu .elementor-nav-menu > li > a {
        font-size: clamp(12px, 1vw, 16px) !important;
    }
}
@media (max-width: 767px) {
    body .m-shell .m710-registration-hero {
        min-height: 0; justify-content: end !important;
        background-position: 66% top !important;
        background-size: auto 66% !important;
        background-repeat: no-repeat;
        padding: clamp(180px, 55vw, 280px) 18px 30px !important;
    }
    body .m-shell .m710-registration-hero::before {
        background: linear-gradient(0deg,#17110b 2%,#17110bf7 40%,#17110b68 67%,transparent 93%);
    }
    body .m-shell .m710-registration-hero .m-hero-title .elementor-heading-title {
        font-size: clamp(30px, 8vw, 42px) !important;
    }
    body .m-shell .m710-registration-hero .m-hero-actions {
        display: flex !important; flex-wrap: wrap; width: 100% !important;
    }
    body .m-shell .m710-registration-hero .m-hero-actions > .elementor-widget-button { width: auto !important; }
    body .m-shell .m710-registration-hero .m-hero-actions .elementor-button { padding-inline: 14px !important; }
}
@media (max-width: 540px) {
    body .m-shell .m710-community-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Shared reading lists and navigation */
body .m-shell .m74-guide-feed .m74-guide-tabs {
    margin: 0 0 14px;
    padding: 8px 10px;
}
body .m-shell .m74-guide-feed .m74-guide-tabs a,
body .m-shell .m78-event-filters button,
body .m-shell .m-news-tabs .e-n-tab-title {
    min-height: 38px;
    font-size: clamp(13px, .92vw, 14px) !important;
    line-height: 1.4;
}
body .m-shell .m-news-tabs .e-n-tabs-heading {
    padding-bottom: 11px;
    margin-bottom: 9px;
}
body .m-shell .m712-home-news-list {
    width: 100%;
    padding: clamp(12px, 1.7vw, 22px);
    border: 1px solid #cdbca1;
    border-radius: 11px;
    background: #eee7da;
}
body .m-shell .m74-guide-list .m74-guide-row {
    padding: clamp(10px, 1.15vw, 15px) clamp(13px, 1.7vw, 25px) !important;
}
body .m-shell .m74-guide-list .m74-guide-titleline h3 {
    font-size: clamp(14px, 1.1vw, 16px) !important;
    line-height: 1.48;
}
body .m-shell .m74-guide-list .m74-guide-copy p {
    font-size: 13px;
    line-height: 1.55;
}
body .m-shell .m77-hub-sidebar .m-btn .elementor-button {
    min-height: 62px;
    padding-block: 13px !important;
}
@media (max-width: 780px) {
    body .m-shell .m77-hub-sidebar .m-btn .elementor-button {
        min-height: 54px;
        padding-block: 9px !important;
    }
    body .m-shell .m74-guide-feed .m74-guide-tabs { padding: 7px; gap: 5px; }
    body .m-shell .m74-guide-feed .m74-guide-tabs a { padding-inline: 8px; }
}

/* Article reading surface */
body .m-shell.m-page-article .m710-article-grid {
    grid-template-columns: minmax(0, 1fr) minmax(235px, 27%);
}
body .m-shell .m710-article-main {
    background: #f5efe4 !important;
    padding: clamp(20px, 3.4vw, 48px) !important;
}
body .m-shell .m710-article-body {
    color: #3e3229;
    line-height: 1.8;
}
body .m-shell .m710-article-body :is(h2,h3) { margin-block: 1.2em .5em; }
body .m-shell .m710-article-sidebar .m710-reading-block { padding: 13px; }
@media (max-width: 800px) {
    body .m-shell.m-page-article .m710-article-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Download and installation */
body .m-shell.m-page-download > .m712-download-hero {
    background: linear-gradient(90deg,#151311 0%,#151311da 44%,#15131142 100%),url("media/hero.webp") center 38% / cover;
    border-bottom: 1px solid #4c3d29;
}
body .m-shell.m-page-download > .m712-download-hero > .m-inner {
    min-height: clamp(210px, 25vw, 330px);
    padding-block: clamp(32px, 4.3vw, 60px) !important;
}
.m712-download-trail {
    display: flex;
    gap: 9px;
    color: #c3a37a;
    font-size: 13px;
}
body .m-shell.m-page-download > .m712-download-section > .m-inner {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 0 clamp(27px, 4vw, 52px) !important;
    box-shadow: none !important;
    gap: 15px !important;
}
body .m-shell.m-page-download > .m712-download-section > .m-inner::before { display: none !important; }
body .m-shell.m-page-download > :is(.m712-download-steps,.m712-download-faq) > .m-inner {
    border-top: 1px solid #4d3b28 !important;
    padding-top: clamp(22px, 3.4vw, 43px) !important;
}
body .m-shell .m712-platform-grid,
body .m-shell .m712-step-grid {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: clamp(13px, 2vw, 25px) !important;
}
body .m-shell .m712-platform-card {
    min-width: 0;
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    gap: 13px !important;
    background: radial-gradient(ellipse at 50% 0%, #32261c, #211b16 74%);
    border: 1px solid #715234;
    padding: clamp(17px, 2.6vw, 32px) !important;
    text-align: center;
}
body .m-shell .m712-platform-card svg { display: block; margin: 0 auto; color: #d4aa70; }
body .m-shell .m712-platform-card .elementor-heading-title { color: #edcc9c !important; font-size: clamp(21px,2.3vw,29px) !important; }
body .m-shell .m712-platform-card p { color: #cdb69a; font-size: 15px; line-height: 1.65; margin: 6px 0; }
body .m-shell .m712-platform-actions { width: 100%; margin-top: auto; padding-top: 12px; gap: 8px !important; }
.m712-platform-status { display: inline-flex; padding: 4px 10px; border: 1px solid #6d5338; color: #d7b791; font-size: 12px; }
body .m-shell .m712-platform-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    gap: 8px;
    color: #fff2df;
    background: #762e26;
    border: 1px solid #b87757;
    padding: 9px 15px;
    font-weight: 700;
    text-decoration: none;
}
body .m-shell .m712-platform-button:hover { background: #953d31; }
body .m-shell .m712-platform-ios .m712-platform-button:not(.m712-platform-unavailable) { background: #211b16; border-color: #b08958; }
body .m-shell .m712-platform-button.m712-platform-unavailable { background: #2b241d; border-color: #604d38; color: #d4b895; }
body .m-shell .m712-guide-link { display: inline-block; padding: 7px 4px; color: #e6bd86; font-size: 14px; }
body .m-shell .m712-download-notice {
    margin: 3px 0 0;
    border-inline-start: 3px solid #ad8152;
    background: #292118;
    padding: 14px 18px;
    color: #e0c6a5;
}
body .m-shell .m712-step { width: 100%; min-width: 0; border-inline-start: 1px solid #866344; padding: 6px 0 6px 18px !important; gap: 5px !important; }
body .m-shell .m712-step p { color: #c4a784; margin: 0; }
body .m-shell .m712-step h3 { font-size: 18px !important; }
body .m-shell .m712-faq details { border-bottom: 1px solid #5c472f; }
body .m-shell .m712-faq summary {
    cursor: pointer;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #eed1aa;
    list-style: none;
    padding: 10px 5px;
}
body .m-shell .m712-faq summary::-webkit-details-marker { display: none; }
body .m-shell .m712-faq summary::after { content: "+"; color: #d6a86f; }
body .m-shell .m712-faq details[open] summary::after { content: "−"; }
body .m-shell .m712-faq p { color: #cab292; padding: 0 5px 14px; margin: 0; }
@media (max-width: 780px) {
    body .m-shell .m712-platform-grid,
    body .m-shell .m712-step-grid { grid-template-columns: minmax(0,1fr); }
}

/* Shared tab controls */
body .m-shell :is(.m74-guide-tabs,.m78-event-filters,.m79-install-tabs,.m-news-tabs .e-n-tabs-heading) {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    gap: 8px !important;
    padding: 0 !important;
    margin-block: 0 16px;
    flex-wrap: wrap !important;
}
body .m-shell .m79-install-tabs {
    display: flex !important;
}
body .m-shell :is(.m74-guide-feed .m74-guide-tabs a,.m78-event-filters button,.m-news-tabs .e-n-tab-title,.m79-install-tabs > .m79-install-tab) {
    box-sizing: border-box;
    flex: 0 0 min(100%, var(--m713-tab-width, 108px)) !important;
    max-width: 100%;
    min-width: 0;
}
body .m-shell :is(.m74-guide-feed .m74-guide-tabs a,.m78-event-filters button,.m-news-tabs .e-n-tab-title,.m79-install-tabs .m79-install-tab .elementor-button) {
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 7px 10px !important;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.35;
    font-size: 13px !important;
    font-weight: 650;
    border-radius: 7px !important;
}
body .m-shell :is(.m74-guide-feed .m74-guide-tabs a,.m-news-tabs .e-n-tab-title,.m79-install-tabs .m79-install-tab .elementor-button) {
    background: transparent !important;
    border: 1px solid #b49a74 !important;
    color: #513b27 !important;
}
body .m-shell :is(.m74-guide-feed .m74-guide-tabs a,.m-news-tabs .e-n-tab-title,.m79-install-tabs .m79-install-tab .elementor-button):hover {
    background: #e3d6bf !important;
    border-color: #876340 !important;
}
body .m-shell :is(.m74-guide-feed .m74-guide-tabs a[aria-selected="true"],.m74-guide-feed .m74-guide-tabs a[aria-current="page"],
    .m74-guide-feed:not(.m74-tabs-ready)[data-m74-guide-feed] .m74-guide-tabs a:first-child,
    .m-news-tabs .e-n-tab-title[aria-selected="true"],.m79-install-tabs .elementor-button[aria-selected="true"]) {
    background: #684a2c !important;
    border-color: #684a2c !important;
    color: #fff5e7 !important;
}
body .m-shell .m78-event-filters button:not([aria-pressed="true"]):not([data-m78-filter="ended"]) {
    background: transparent;
}
body .m-shell :is(.m74-guide-feed .m74-guide-tabs a,.m-news-tabs .e-n-tab-title,.m79-install-tabs .elementor-button):focus-visible {
    outline: 2px solid #8a482d;
    outline-offset: 2px;
}
body .m-shell .m77-hub-sidebar .m77-hub-tablist .elementor-button {
    justify-content: flex-start;
    padding-inline: 18px !important;
    line-height: 1.4;
}
@media (max-width: 767px) {
    body .m-shell :is(.m74-guide-feed .m74-guide-tabs a,.m78-event-filters button,.m-news-tabs .e-n-tab-title,.m79-install-tabs .m79-install-tab .elementor-button) {
        min-height: 44px;
    }
    body .m-shell .m77-hub-sidebar .m77-hub-tablist .elementor-button {
        justify-content: center;
        padding-inline: 8px !important;
    }
    body .m-shell .m74-guide-feed:not(.m712-home-feed) .m74-guide-row {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 10px;
    }
    body .m-shell .m74-guide-feed:not(.m712-home-feed) .m74-guide-titleline {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }
}

/* Homepage news and game FAQ */
body .m-page-home .m73-news-panel {
    background: transparent;
    border: 0;
    padding: 0 !important;
}
body .m-page-home .m73-news-panel .m-news-paper {
    border: 1px solid #ccaf7f !important;
    border-radius: 14px !important;
    background: #f2ebde;
    padding: clamp(13px, 2.1vw, 25px) !important;
    gap: 0 !important;
}
body .m-page-home .m73-news-panel .m-news-more { display: none !important; }
body .m-page-home :is(.m712-home-news-list,.m712-home-feed,.m712-home-feed .m74-guide-list) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
body .m-page-home .m712-home-feed .m74-guide-list {
    border-top: 1px solid #cbb99a !important;
}
body .m-page-home .m712-home-feed .m74-guide-list .m74-guide-row {
    padding-inline: 4px !important;
}
body .m-page-home .m712-home-feed .m74-guide-archive { margin-block: 9px 0; }
body .m-page-home .m713-home-faq { scroll-margin-top: 100px; }
@media (max-width: 767px) {
    body .m-page-home .m73-news-panel .m-news-paper { padding: 13px !important; }
    body .m-page-home .m712-home-feed :is(.m74-guide-thumb,.m74-guide-copy p,.m74-guide-titleline time) { display: none !important; }
    body .m-page-home .m712-home-feed .m74-guide-list .m74-guide-row {
        display: block;
        padding: 0 !important;
    }
    body .m-page-home .m712-home-feed .m74-guide-titleline {
        display: block;
    }
    body .m-page-home .m712-home-feed .m74-guide-titleline a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 9px 3px;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    body .m-page-home .m712-home-feed .m74-guide-archive { padding-block: 9px; }
}

/* Support desk and partner programme */
body .m-shell .m713-service-mast {
    background: radial-gradient(ellipse at 80% 10%, #64452a70 0%, transparent 62%), #201a14;
    border-bottom: 1px solid #634b32;
}
body .m-shell .m713-service-mast > .m-inner {
    padding-block: clamp(30px, 5vw, 62px) !important;
    gap: 10px !important;
}
body .m-shell .m713-service-mast h1.elementor-heading-title { color: #f4dbaf !important; font-size: clamp(29px, 4.1vw, 47px) !important; }
body .m-shell .m713-service-mast .elementor-widget-text-editor { max-width: 64ch; }
body .m-shell .m713-service-section > .m-inner.m713-service-wrap {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 !important;
    gap: 16px !important;
}
body .m-shell .m713-service-wrap::before { display: none !important; }
body .m-shell :is(.m713-desk-grid,.m713-community-grid,.m713-partner-grid) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px !important;
}
body .m-shell .m713-desk-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
body .m-shell .m713-partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body .m-shell .m713-service-wrap :is(h2,h3).elementor-heading-title { color: #f0d6ac !important; }
body .m-shell .m713-service-wrap h2.elementor-heading-title { font-size: clamp(23px, 3vw, 32px) !important; }
body .m-shell .m713-service-wrap h3.elementor-heading-title { font-size: clamp(17px, 2vw, 21px) !important; }
body .m-shell .m713-service-wrap :is(.elementor-widget-text-editor,.m712-faq p) {
    color: #dfc9aa;
    line-height: 1.65;
}
body .m-shell .m713-service-wrap :is(.elementor-widget-text-editor,.m712-faq) p { margin: 0; }
body .m-shell .m713-icon .elementor-icon { color: #e2b775 !important; font-size: 23px; }
body .m-shell .m713-icon .elementor-icon-wrapper { text-align: start; }
body .m-shell :is(.m713-service-primary,.m713-service-checklist,.m713-channel-card,.m713-reward-strip,.m713-partner-cta) {
    min-width: 0;
    width: 100% !important;
    border: 1px solid #6a5033;
    border-radius: 12px;
    background: #241e17;
    padding: clamp(16px, 2.7vw, 30px) !important;
    gap: 10px !important;
}
body .m-shell .m713-service-primary,
body .m-shell .m713-partner-cta {
    background: linear-gradient(120deg, #402c1d, #271e16 75%);
    border-color: #8f6d46;
}
body .m-shell .m713-service-checklist { justify-content: center; }
body .m-shell .m713-instructions ol { padding-inline-start: 24px; margin: 0; }
body .m-shell .m713-instructions li + li { margin-block-start: 5px; }
body .m-shell .m713-instructions li::marker { color: #e2b775; font-weight: 700; }
body .m-shell .m713-service-note { color: #cfaf88 !important; font-size: 13px; }
body .m-shell .m713-reward-strip { background: #2b2218; }
body .m-shell .m713-partner-block { padding: 14px 0 18px !important; gap: 14px !important; }
body .m-shell .m713-partner-step {
    width: 100% !important;
    padding: 6px 13px !important;
    border-inline-start: 2px solid #a47d4c;
    gap: 6px !important;
}
body .m-shell .m713-partner-cta {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    gap: 16px !important;
}
body .m-shell .m713-partner-copy { min-width: 0; gap: 7px !important; }
body .m-shell .m713-partner-cta > .elementor-widget-shortcode { flex-shrink: 0; }
body .m-shell .m713-service-wrap .m710-contact-button {
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 7px;
    text-align: center;
    white-space: normal;
}
body .m-shell .m713-service-wrap .m710-contact-pending {
    display: inline-block;
    margin: 0;
    padding: 5px 9px;
    border: 1px solid #785c3d;
    border-radius: 5px;
    color: #e2c79f;
    font-size: 13px;
}
@media (max-width: 767px) {
    body .m-shell :is(.m713-desk-grid,.m713-community-grid,.m713-partner-grid) { grid-template-columns: minmax(0, 1fr); }
    body .m-shell .m713-partner-cta { flex-direction: column !important; align-items: stretch; }
    body .m-shell .m713-service-wrap .m710-contact-button { width: 100%; }
}

/*
 * 燼火天堂M｜遊戲資料中心-TW
 * 貼入這一頁的 Elementor「頁面設定 → 高級設定 → 自訂 CSS」。
 * 外層資料庫面板沿用 CSS ID database。
 * 兩個標題小工具填 ember-db-heading。
 * 上下網格容器分別填 ember-db-query、ember-db-articles。
 * 每個格子使用一個原生 Image Box（圖片框）小工具。
 */

#database .ember-db-heading .elementor-heading-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #322417;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
}

#database .ember-db-heading .elementor-heading-title::before {
  content: "";
  flex: 0 0 3px;
  height: 17px;
  border-radius: 3px;
  background: #a16e3d;
}

#database .ember-db-query + .ember-db-heading {
  padding-top: 18px;
  border-top: 1px solid #d8c6ac;
}

/* 也支援 Elementor「盒裝」容器多一層 .e-con-inner 的結構。 */
#database :is(.ember-db-query, .ember-db-articles) {
  --ember-db-columns: 3;
  --ember-db-icon: 49px;
  --ember-db-art: 34px;
  --ember-db-height: 108px;
  --ember-db-fill: #2e2319;
  --ember-db-hover: #3c2c20;
  --ember-db-border: #6d5034;
  --ember-db-hover-border: #b08b5d;
  --ember-db-tile: #493522;
  --ember-db-tile-border: #896a48;
  --ember-db-title: #fff1da;
  --ember-db-text: #e6d7c1;
}

#database .ember-db-articles {
  --ember-db-columns: 2;
  --ember-db-icon: 38px;
  --ember-db-art: 25px;
  --ember-db-height: 72px;
  --ember-db-fill: #faf5eb;
  --ember-db-hover: #f5ebda;
  --ember-db-border: #e0d0b7;
  --ember-db-hover-border: #b78b60;
  --ember-db-tile: #efe2ce;
  --ember-db-tile-border: #e9d8bf;
  --ember-db-title: #342418;
  --ember-db-text: #665440;
}

#database :is(.ember-db-query, .ember-db-articles).e-con-full,
#database :is(.ember-db-query, .ember-db-articles) > .e-con-inner {
  display: grid;
  grid-template-columns: repeat(var(--ember-db-columns), minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 0;
}

#database :is(.ember-db-query, .ember-db-articles) .elementor-widget-image-box {
  align-self: stretch;
  width: 100%;
  min-width: 0;
  margin: 0;
}

#database :is(.ember-db-query, .ember-db-articles) .elementor-widget-image-box > .elementor-widget-container {
  height: 100%;
}

#database :is(.ember-db-query, .ember-db-articles) .elementor-image-box-wrapper {
  display: grid;
  grid-template-columns: var(--ember-db-icon) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  min-height: var(--ember-db-height);
  height: 100%;
  padding: 14px;
  border: 1px solid var(--ember-db-border);
  border-radius: 10px;
  background: var(--ember-db-fill);
  text-align: start;
  transition: background-color 160ms ease, border-color 160ms ease;
}

#database .ember-db-articles .elementor-image-box-wrapper {
  padding: 11px 13px;
}

#database :is(.ember-db-query, .ember-db-articles) .elementor-image-box-wrapper:is(:hover, :focus-within) {
  border-color: var(--ember-db-hover-border);
  background-color: var(--ember-db-hover);
}

#database :is(.ember-db-query, .ember-db-articles) .elementor-image-box-img {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: var(--ember-db-icon);
  height: var(--ember-db-icon);
  margin: 0;
  border: 1px solid var(--ember-db-tile-border);
  border-radius: 9px;
  background: var(--ember-db-tile);
}

#database :is(.ember-db-query, .ember-db-articles) .elementor-image-box-img img {
  display: block;
  width: var(--ember-db-art);
  height: var(--ember-db-art);
  object-fit: contain;
}

#database :is(.ember-db-query, .ember-db-articles) .elementor-image-box-content {
  width: 100%;
  min-width: 0;
}

#database :is(.ember-db-query, .ember-db-articles) .elementor-image-box-title {
  margin: 0;
  color: var(--ember-db-title);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
}

#database :is(.ember-db-query, .ember-db-articles) .elementor-image-box-title a {
  color: inherit;
}

#database :is(.ember-db-query, .ember-db-articles) .elementor-image-box-description {
  margin: 4px 0 0;
  color: var(--ember-db-text);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

#database :is(.ember-db-query, .ember-db-articles) .elementor-image-box-wrapper a:focus-visible {
  outline: 2px solid var(--ember-db-hover-border);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  #database .ember-db-query {
    --ember-db-columns: 2;
  }
}

@media (max-width: 767px) {
  #database .ember-db-query {
    --ember-db-icon: 40px;
    --ember-db-art: 28px;
    --ember-db-height: 126px;
  }

  #database .ember-db-articles {
    --ember-db-columns: 1;
    --ember-db-height: 64px;
  }

  #database .ember-db-query .elementor-image-box-wrapper {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    align-content: start;
    gap: 8px;
    padding: 11px 10px;
  }

  #database :is(.ember-db-query, .ember-db-articles) .elementor-image-box-title {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #database :is(.ember-db-query, .ember-db-articles) .elementor-image-box-wrapper {
    transition: none;
  }
}
