/**
 * Mahjong Time — unified layout/styling for marketing/info pages (Dark theme).
 * Scoped to body.mjt-unified-marketing. Loaded after mjt-lite-page.css.
 * Keeps deep teal surround, light text, gold accents — same personality as the rest of Lite UI.
 */

/* Default-Template: page surround (matches master / mjt-lite intent) */
body {
    background: radial-gradient(ellipse at center, #050607 0%, #0b2b2a 60%, #103f3b 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Unified routes: same dark surround as the rest of the site (no warm override) */
body.mjt-unified-marketing {
    background: radial-gradient(ellipse at center, #050607 0%, #0b2b2a 60%, #103f3b 100%) !important;
    background-attachment: fixed;
    min-height: 100vh;
}

body.mjt-unified-marketing .mjt-shell {
    max-width: 1000px !important;
}

/* --- Dark design tokens (readable on older displays) ---------------------- */
body.mjt-unified-marketing {
    --mt-max: 1000px;
    --mt-text: #e8f4f2;
    --mt-text-strong: #ffffff;
    --mt-text-muted: rgba(232, 244, 242, 0.82);
    --mt-link: #7dd3c0;
    --mt-link-hover: #f4c47a;
    --mt-gold: #f4c47a;
    --mt-gold-deep: #c9953d;
    --mt-panel: linear-gradient(165deg, #1a2e2c 0%, #243836 48%, #1a2826 100%);
    --mt-panel-elevated: linear-gradient(165deg, #1f3835 0%, #2a4542 50%, #223532 100%);
    --mt-panel-border: rgba(125, 211, 192, 0.28);
    --mt-panel-border-gold: rgba(244, 196, 122, 0.35);
    --mt-radius: 14px;
    --mt-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

/* Page column: inherit Lite readable colors (do not force gray-on-gray) */
body.mjt-unified-marketing .mjt-page {
    color: var(--mt-text) !important;
    font-size: 18px;
    line-height: 1.62;
    padding-top: 28px;
    padding-bottom: 48px;
}

body.mjt-unified-marketing .mjt-page p,
body.mjt-unified-marketing .mjt-page li,
body.mjt-unified-marketing .mjt-page td,
body.mjt-unified-marketing .mjt-page th,
body.mjt-unified-marketing .mjt-page label,
body.mjt-unified-marketing .mjt-page div {
    color: var(--mt-text) !important;
}

body.mjt-unified-marketing .mjt-page strong {
    color: var(--mt-text-strong) !important;
}

body.mjt-unified-marketing .mjt-page a {
    color: var(--mt-link) !important;
    font-weight: 700;
}

body.mjt-unified-marketing .mjt-page a:hover {
    color: var(--mt-link-hover) !important;
}

/* --- Layout primitives (.mt-*) ------------------------------------------ */
.mt-page {
    width: 100%;
}

.mt-page-container {
    width: 100%;
    max-width: var(--mt-max, 1000px);
    margin: 0 auto;
    padding-left: clamp(14px, 3vw, 28px);
    padding-right: clamp(14px, 3vw, 28px);
    box-sizing: border-box;
}

.mt-page-header {
    text-align: center;
    margin-bottom: 22px;
}

.mt-page-title,
body.mjt-unified-marketing .mjt-page .mt-page-title {
    margin: 0 auto 16px;
    padding: 0 8px 16px;
    max-width: 42rem;
    font-size: clamp(32px, 4.2vw, 38px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--mt-text-strong) !important;
    text-align: center;
    position: relative;
}

.mt-page-title::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(244, 196, 122, 0.85), var(--mt-gold-deep), rgba(244, 196, 122, 0.85));
    opacity: 0.95;
}

.mt-page-subtitle {
    margin: -6px auto 20px;
    max-width: 40rem;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--mt-text-muted) !important;
}

.mt-section {
    margin-bottom: 22px;
}

/* Dark panels / cards (same language as .dl-form-panel) */
.mt-card,
body.mjt-unified-marketing .dl-form-panel,
body.mjt-unified-marketing .dl-security,
body.mjt-unified-marketing .dl-alt-box {
    background: var(--mt-panel) !important;
    border: 1px solid var(--mt-panel-border) !important;
    border-radius: var(--mt-radius) !important;
    box-shadow: var(--mt-shadow) !important;
    color: var(--mt-text) !important;
}

.mt-card {
    padding: 22px 26px 26px;
}

.mt-card-title,
body.mjt-unified-marketing .mjt-page h2.mt-card-title,
body.mjt-unified-marketing .mjt-page h2 {
    margin: 28px 0 14px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #f4e8c0 !important;
    text-align: left;
    border-bottom: 1px solid rgba(125, 211, 192, 0.35);
    padding-bottom: 10px;
}

body.mjt-unified-marketing .mjt-page .mt-page-header + .mt-card .mt-card-title,
body.mjt-unified-marketing .mjt-page .mt-page-header ~ .mt-section:first-of-type h2 {
    margin-top: 0;
}

body.mjt-unified-marketing .mjt-page h1 {
    color: var(--mt-text-strong) !important;
}

body.mjt-unified-marketing .mjt-page .mt-page-title,
body.mjt-unified-marketing .mjt-page h1.mt-page-title {
    color: var(--mt-text-strong) !important;
}

body.mjt-unified-marketing .mjt-page h3 {
    color: #f4e8c0 !important;
}

body.mjt-unified-marketing .mt-page-container > *:not(.mt-page-header) {
    text-align: left;
}

body.mjt-unified-marketing .mt-page-header {
    text-align: center;
}

/* --- Chips / category nav ----------------------------------------------- */
body.mjt-unified-marketing .mjt-chip {
    border: 1px solid rgba(125, 211, 192, 0.35);
    background: rgba(0, 0, 0, 0.28);
    color: var(--mt-text) !important;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

body.mjt-unified-marketing .mjt-chip:hover {
    border-color: rgba(244, 196, 122, 0.65);
    color: var(--mt-link-hover) !important;
    background: rgba(0, 0, 0, 0.38);
}

body.mjt-unified-marketing .mjt-affiliate-subnav .mjt-chip[aria-current="page"] {
    background: linear-gradient(180deg, rgba(244, 196, 122, 0.22), rgba(0, 0, 0, 0.35)) !important;
    border-color: rgba(244, 196, 122, 0.55) !important;
    color: #fff6e6 !important;
}

/* --- Buttons ------------------------------------------------------------- */
.mt-button-primary,
body.mjt-unified-marketing .dl-form-panel .dl-contact-send-btn {
    display: inline-block;
    appearance: none;
    border-radius: 12px !important;
    padding: 11px 22px !important;
    min-width: 140px;
    font-size: 17px !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
    color: #f2f7fa !important;
    background: linear-gradient(180deg, rgba(78, 207, 224, 0.34), rgba(26, 95, 110, 0.32)) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.mt-button-primary:hover,
body.mjt-unified-marketing .dl-form-panel .dl-contact-send-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    border-color: rgba(210, 250, 255, 0.7) !important;
}

.mt-button-secondary,
body.mjt-unified-marketing .mjt-news-row-read a,
body.mjt-unified-marketing .mjt-pager a.read_mo {
    display: inline-block;
    padding: 7px 14px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    color: var(--mt-link) !important;
    background: rgba(0, 0, 0, 0.28) !important;
    border: 1px solid rgba(125, 211, 192, 0.35) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

body.mjt-unified-marketing .mjt-news-row-read a:hover,
body.mjt-unified-marketing .mjt-pager a.read_mo:hover {
    border-color: rgba(244, 196, 122, 0.55) !important;
    color: var(--mt-link-hover) !important;
}

body.mjt-unified-marketing .mjt-pager a.read_mo u {
    text-decoration: none !important;
}

body.mjt-unified-marketing .mjt-pager-pages a {
    display: inline-block;
    min-width: 2.1rem;
    text-align: center;
    padding: 8px 11px;
    margin: 2px;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 192, 0.28);
    background: rgba(0, 0, 0, 0.28);
    color: var(--mt-text) !important;
    font-weight: 800;
    text-decoration: none !important;
}

body.mjt-unified-marketing .mjt-pager-pages a:hover {
    border-color: rgba(244, 196, 122, 0.45);
    color: var(--mt-link-hover) !important;
}

body.mjt-unified-marketing .mjt-pager-pages a.mt-pager-num.IsCurrentPageTrue {
    background: linear-gradient(180deg, rgba(244, 196, 122, 0.28), rgba(0, 0, 0, 0.35));
    border-color: rgba(244, 196, 122, 0.55);
    color: #fff8ec !important;
}

body.mjt-unified-marketing .mjt-pager-edge {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 6px;
}

body.mjt-unified-marketing .mt-news-pager.mjt-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--mt-radius);
    border: 1px solid rgba(125, 211, 192, 0.22);
    background: rgba(0, 0, 0, 0.28);
    box-shadow: var(--mt-shadow);
}

/* --- Forms (contact): align with dl-form-panel; light inputs kept readable */
body.mjt-unified-marketing .dl-form-panel,
body.mjt-unified-marketing .dl-form-panel td,
body.mjt-unified-marketing .dl-form-panel label,
body.mjt-unified-marketing .dl-form-panel .dl-field-label {
    color: #e8f4f2 !important;
}

body.mjt-unified-marketing .dl-form-table td.dl-form-label {
    color: #f2faf8 !important;
}

body.mjt-unified-marketing .dl-form-panel .clsHint {
    color: #ffc9b8 !important;
}

.mt-contact-form .dl-form-panel {
    padding: 26px 28px 30px;
}

/* --- Tables / tournaments ------------------------------------------------ */
body.mjt-unified-marketing .mjt-tournaments .div-table-col-hdr {
    background: rgba(0, 0, 0, 0.42) !important;
    color: #f4e8c0 !important;
    border-bottom: 1px solid rgba(125, 211, 192, 0.28) !important;
}

body.mjt-unified-marketing .mjt-tournaments .div-table-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body.mjt-unified-marketing .mjt-tournaments .div-table-row:hover {
    background: rgba(125, 211, 192, 0.08) !important;
}

body.mjt-unified-marketing .mjt-tournaments .div-table-col,
body.mjt-unified-marketing .mjt-tournaments .div-table-col2 {
    color: var(--mt-text) !important;
}

body.mjt-unified-marketing .mjt-tournaments a.link_menu {
    color: var(--mt-link) !important;
}

body.mjt-unified-marketing .mjt-tournaments a.link_menu:hover {
    color: var(--mt-link-hover) !important;
}

/* --- News ---------------------------------------------------------------- */
body.mjt-unified-marketing .mjt-news-top-title {
    color: #f4e8c0 !important;
    font-weight: 800;
}

body.mjt-unified-marketing .mjt-news-article {
    background: var(--mt-panel) !important;
    border: 1px solid var(--mt-panel-border);
    border-radius: var(--mt-radius);
    padding: 22px 24px 26px;
    box-shadow: var(--mt-shadow);
    margin-bottom: 22px;
}

body.mjt-unified-marketing .mjt-news-title {
    color: #ffffff !important;
    font-size: 1.45rem;
}

body.mjt-unified-marketing .mjt-news-body,
body.mjt-unified-marketing .mjt-news-body * {
    color: var(--mt-text) !important;
}

body.mjt-unified-marketing .mjt-news-date {
    color: var(--mt-text-muted) !important;
    font-size: 0.92rem;
    font-weight: 600;
}

body.mjt-unified-marketing .mjt-news-row {
    border-bottom: none;
}

body.mjt-unified-marketing .mjt-news-row-date {
    color: var(--mt-text-muted) !important;
}

body.mjt-unified-marketing .mjt-news-row-title {
    color: var(--mt-text) !important;
}

/* --- Game Info ----------------------------------------------------------- */
body.mjt-unified-marketing .mjt-game-info-wrap .mjt-rich-text a,
body.mjt-unified-marketing .mjt-game-info-wrap .mjt-rich-text a:link {
    color: var(--mt-link) !important;
}

body.mjt-unified-marketing .mjt-nav-title {
    color: #f4e8c0 !important;
    border-bottom-color: rgba(125, 211, 192, 0.28) !important;
}

body.mjt-unified-marketing a.mjt-resource-link,
body.mjt-unified-marketing a.mjt-resource-link:link {
    color: var(--mt-link) !important;
}

body.mjt-unified-marketing a.mjt-resource-link:hover {
    color: var(--mt-link-hover) !important;
}

body.mjt-unified-marketing .mjt-accordion > summary {
    color: #f4e8c0 !important;
}

body.mjt-unified-marketing .mjt-accordion-body {
    background: rgba(0, 0, 0, 0.2) !important;
}

body.mjt-unified-marketing .mjt-rich-text blockquote {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

/* --- Affiliate resource HTML ------------------------------------------- */
body.mjt-unified-marketing .mjt-rich-text,
body.mjt-unified-marketing .mjt-rich-text td,
body.mjt-unified-marketing .mjt-rich-text p {
    color: var(--mt-text) !important;
}

/* --- Footer (match Lite shell) ------------------------------------------- */
.mt-footer-links,
body.mjt-unified-marketing td.bottom_text {
    padding-top: 8px !important;
}

body.mjt-unified-marketing td.bottom_text a,
body.mjt-unified-marketing td.bottom_text a:link,
body.mjt-unified-marketing td.bottom_text a:visited {
    color: var(--mt-link) !important;
    font-weight: 700 !important;
}

body.mjt-unified-marketing td.bottom_text a:hover {
    color: var(--mt-link-hover) !important;
}

body.mjt-unified-marketing td.bottom_text .separator {
    color: rgba(232, 244, 242, 0.45) !important;
}

body.mjt-unified-marketing td.bottom_text,
body.mjt-unified-marketing .bottom_text {
    color: rgba(232, 244, 242, 0.78) !important;
    font-size: 14px !important;
}

/* --- Wrappers ------------------------------------------------------------ */
body.mjt-unified-marketing .mjt-page .dl-wrap.mjt-news-wrap,
body.mjt-unified-marketing .mjt-page .dl-wrap.mjt-game-info-wrap,
body.mjt-unified-marketing .mjt-page .dl-wrap.mjt-tournaments,
body.mjt-unified-marketing .mjt-page .dl-wrap.mt-page {
    max-width: 1000px;
    padding-left: 0;
    padding-right: 0;
}

body.mjt-unified-marketing .mjt-page .dl-wrap {
    padding-top: 0;
}

body.mjt-unified-marketing .dl-beta,
body.mjt-unified-marketing .dl-note {
    color: var(--mt-text-muted) !important;
}

body.mjt-unified-marketing .mt-alt-contact-list li {
    border: 1px solid rgba(125, 211, 192, 0.22);
    background: rgba(0, 0, 0, 0.28);
}

body.mjt-unified-marketing .mt-alt-contact-list li strong {
    color: #f4e8c0 !important;
}

/* --- Card grids / rule pills (dark) ------------------------------------- */
.mt-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

body.mjt-unified-marketing .mt-rules-grid {
    list-style: none !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
}

body.mjt-unified-marketing .mt-rules-grid li {
    margin: 0 !important;
}

body.mjt-unified-marketing a.mt-link-pill {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    text-align: center;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    color: var(--mt-link) !important;
    background: rgba(0, 0, 0, 0.32) !important;
    border: 1px solid rgba(125, 211, 192, 0.28) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
    transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

body.mjt-unified-marketing a.mt-link-pill:hover {
    border-color: rgba(244, 196, 122, 0.55) !important;
    color: var(--mt-link-hover) !important;
}

body.mjt-unified-marketing .mt-gm-info-intro p,
body.mjt-unified-marketing .mt-gm-info-intro-card .mjt-rich-text p {
    margin: 0 0 14px;
    text-align: left !important;
}

body.mjt-unified-marketing .mt-gm-info-intro p:last-child {
    margin-bottom: 0 !important;
}

body.mjt-unified-marketing .mjt-resource-sections {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

body.mjt-unified-marketing .mjt-resource-sections .mjt-accordion {
    border: 1px solid var(--mt-panel-border);
    border-radius: var(--mt-radius);
    background: rgba(0, 0, 0, 0.22);
    box-shadow: var(--mt-shadow);
    overflow: hidden;
}

body.mjt-unified-marketing .mjt-resource-sections .mjt-accordion > summary {
    padding: 14px 18px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(26, 46, 44, 0.55) 100%);
}

body.mjt-unified-marketing .mjt-resource-sections .mjt-accordion-body {
    padding: 14px 16px 18px;
    border-top: 1px solid rgba(125, 211, 192, 0.15);
}

/* News archive rows */
body.mjt-unified-marketing .mt-news-archive {
    margin-top: 8px;
}

body.mjt-unified-marketing .mt-news-row-card {
    display: grid !important;
    grid-template-columns: 108px 1fr auto;
    gap: 14px 16px;
    align-items: center;
    padding: 14px 16px;
    margin-bottom: 12px !important;
    border: 1px solid rgba(125, 211, 192, 0.22) !important;
    border-radius: 12px !important;
    background: rgba(0, 0, 0, 0.28) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28) !important;
}

@media (max-width: 640px) {
    body.mjt-unified-marketing .mt-news-row-card {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    body.mjt-unified-marketing .mjt-news-row-read {
        justify-self: start;
    }
}

body.mjt-unified-marketing .mt-news-featured {
    margin-bottom: 24px !important;
}

.mt-pagination.mjt-pager,
body.mjt-unified-marketing .mt-pagination .mjt-pager {
    margin-top: 8px;
}

body.mjt-unified-marketing .mt-affiliate-root {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.mjt-unified-marketing .mt-affiliate-rich {
    padding: 0 !important;
}

body.mjt-unified-marketing .mt-affiliate-stack .mt-card-title {
    margin-top: 0 !important;
}

body.mjt-unified-marketing .mt-affiliate-lead {
    font-size: 1.08rem;
    line-height: 1.65;
    margin: 0 0 18px;
}

body.mjt-unified-marketing .mt-affiliate-section.mt-card {
    background: var(--mt-panel) !important;
    border: 1px solid var(--mt-panel-border) !important;
}

body.mjt-unified-marketing .mt-affiliate-section {
    margin-bottom: 18px;
    padding: 20px 22px 22px !important;
}

body.mjt-unified-marketing .mt-affiliate-benefit-grid {
    margin-top: 8px;
}

body.mjt-unified-marketing .mt-affiliate-mini {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(125, 211, 192, 0.2);
    background: rgba(0, 0, 0, 0.35);
}

body.mjt-unified-marketing .mt-affiliate-mini h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 800;
    color: #f4e8c0 !important;
}

body.mjt-unified-marketing .mt-affiliate-mini p {
    margin: 0 !important;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--mt-text) !important;
}

body.mjt-unified-marketing .mt-affiliate-cta-wrap {
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: var(--mt-radius);
    border: 1px solid var(--mt-panel-border);
    background: var(--mt-panel);
    box-shadow: var(--mt-shadow);
    text-align: center;
}

body.mjt-unified-marketing .mt-affiliate-cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 14px;
}

body.mjt-unified-marketing .mt-affiliate-cta-line {
    margin-bottom: 10px;
}

body.mjt-unified-marketing .mt-affiliate-cta-hint {
    margin: 0;
    font-size: 0.95rem;
    color: var(--mt-text-muted) !important;
}

body.mjt-unified-marketing .mt-affiliate-tabs {
    margin-bottom: 18px;
    justify-content: center;
}

body.mjt-unified-marketing .mt-about-caps-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 18px 28px;
    margin-top: 10px;
}

@media (max-width: 720px) {
    body.mjt-unified-marketing .mt-about-caps-grid {
        grid-template-columns: 1fr;
    }
}

body.mjt-unified-marketing .mt-about-col-list {
    margin: 0 !important;
    padding-left: 1.25em !important;
}

body.mjt-unified-marketing .mt-about-col-list li {
    margin: 8px 0 !important;
}

body.mjt-unified-marketing .mt-about-cta-bar {
    text-align: center;
    margin: 28px 0 8px;
}

body.mjt-unified-marketing .mt-contact-form span.clsHint.mt-val {
    font-size: 14px !important;
    font-weight: 700;
}

body.mjt-unified-marketing .mjt-tournaments .ajax__tab_header {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 8px !important;
    background: rgba(0, 0, 0, 0.35) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(125, 211, 192, 0.22) !important;
}

body.mjt-unified-marketing .mjt-tournaments .ajax__tab_inner {
    color: var(--mt-text) !important;
}

body.mjt-unified-marketing .mjt-tournaments .ajax__tab_active .ajax__tab_inner {
    font-weight: 900 !important;
    color: var(--mt-link-hover) !important;
}

body.mjt-unified-marketing .mjt-tournaments .div-table {
    border-radius: var(--mt-radius) !important;
    overflow: hidden;
    border: 1px solid rgba(125, 211, 192, 0.22) !important;
    box-shadow: var(--mt-shadow);
    background: rgba(0, 0, 0, 0.25) !important;
}

body.mjt-unified-marketing .mjt-tournaments .div-table-row:hover {
    background: rgba(125, 211, 192, 0.07) !important;
}

body.mjt-unified-marketing .mt-button-secondary + .mt-button-secondary {
    margin-left: 8px;
}

body.mjt-unified-marketing .mt-alt-contact-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

body.mjt-unified-marketing .mt-alt-contact-list li {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 10px;
    line-height: 1.55;
}

/* --- Legal / long-form (terms, privacy, affiliate legal) ------------------ */
.mt-legal-content,
body.mjt-unified-marketing .mt-legal-content {
    text-align: left !important;
    line-height: 1.65;
}

body.mjt-unified-marketing .mt-legal-content p,
body.mjt-unified-marketing .mt-legal-content li {
    margin: 0 0 12px;
}

.mt-legal-toc {
    margin: 16px 0 22px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(125, 211, 192, 0.2);
    background: rgba(0, 0, 0, 0.22);
    line-height: 1.7;
}

body.mjt-unified-marketing .mt-legal-toc a {
    color: var(--mt-link) !important;
}

body.mjt-unified-marketing .mt-legal-sections {
    margin-top: 18px;
}

body.mjt-unified-marketing .mt-legal-sections > * {
    margin-bottom: 16px;
}

.mt-dark-list {
    list-style-position: outside;
}

/* --- Site map (legacy table inside dark card) ------------------------------ */
body.mjt-unified-marketing .mt-sitemap-body {
    padding: 18px 20px 22px !important;
}

body.mjt-unified-marketing .mt-sitemap-inner,
body.mjt-unified-marketing .mt-sitemap-inner td {
    color: var(--mt-text) !important;
}

body.mjt-unified-marketing .mt-sitemap-inner a {
    color: var(--mt-link) !important;
    font-weight: 700;
}

body.mjt-unified-marketing .mt-sitemap-inner a:hover {
    color: var(--mt-link-hover) !important;
}

body.mjt-unified-marketing .mt-sitemap-inner .headers,
body.mjt-unified-marketing .mt-sitemap-inner td.headers {
    display: block;
    margin: 18px 0 8px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #f4e8c0 !important;
    text-decoration: none !important;
}

body.mjt-unified-marketing .mt-sitemap-inner .maps {
    color: var(--mt-text-muted) !important;
    font-weight: 800;
}

body.mjt-unified-marketing .mt-sitemap-inner ul {
    margin: 6px 0 12px 1.1em;
    padding: 0;
}

body.mjt-unified-marketing .mt-sitemap-inner .green_text,
body.mjt-unified-marketing .mt-sitemap-inner .link1 {
    color: var(--mt-text) !important;
}

/* --- Download apps (dark table + cards; shell stays 1000px) ---------------- */
body.mjt-unified-marketing .mt-download-lead.mt-card {
    margin-bottom: 18px;
}

body.mjt-unified-marketing .mt-download-subhead {
    margin: 22px 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #f4e8c0 !important;
}

body.mjt-unified-marketing .mt-mac-method-title {
    margin: 18px 0 8px;
    font-size: 1rem;
    font-weight: 800;
    color: #e8dcc0 !important;
}

body.mjt-unified-marketing .mt-mac-trouble {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.mjt-unified-marketing .dl-steps {
    margin: 10px 0 0;
    padding-left: 1.35em;
    line-height: 1.55;
    color: var(--mt-text) !important;
}

body.mjt-unified-marketing .dl-steps li {
    margin: 0.5em 0;
}

body.mjt-unified-marketing .dl-note--compact {
    margin-top: 8px;
    font-size: 0.92rem;
}

body.mjt-unified-marketing .dl-terminal {
    margin: 10px 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(125, 211, 192, 0.35);
    background: rgba(0, 0, 0, 0.45);
    overflow-x: auto;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #c5e8e2 !important;
}

body.mjt-unified-marketing .dl-terminal code {
    font-family: ui-monospace, Consolas, "Cascadia Mono", monospace;
    white-space: pre-wrap;
    word-break: break-all;
}

body.mjt-unified-marketing .dl-terminal--compact {
    margin-bottom: 10px;
}

body.mjt-unified-marketing .mt-download-table-wrap {
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

body.mjt-unified-marketing .dl-table {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--mt-radius);
    overflow: hidden;
    border: 1px solid var(--mt-panel-border) !important;
    background: rgba(0, 0, 0, 0.28) !important;
    box-shadow: var(--mt-shadow);
}

body.mjt-unified-marketing .dl-table th,
body.mjt-unified-marketing .dl-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: var(--mt-text) !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

body.mjt-unified-marketing .dl-table th {
    background: rgba(0, 0, 0, 0.45) !important;
    color: #f4e8c0 !important;
    font-weight: 800;
}

body.mjt-unified-marketing .dl-table tr:last-child td {
    border-bottom: none !important;
}

body.mjt-unified-marketing .dl-table td a {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    color: var(--mt-link) !important;
    background: rgba(0, 0, 0, 0.28) !important;
    border: 1px solid rgba(125, 211, 192, 0.35) !important;
}

body.mjt-unified-marketing .dl-table td a:hover {
    color: var(--mt-link-hover) !important;
    border-color: rgba(244, 196, 122, 0.55) !important;
}

body.mjt-unified-marketing .dl-table--desktop {
    table-layout: fixed;
}

body.mjt-unified-marketing .dl-table--desktop th,
body.mjt-unified-marketing .dl-table--desktop td {
    padding: 8px 6px;
    vertical-align: middle;
}

body.mjt-unified-marketing .dl-table--desktop th {
    font-size: 0.78rem;
    line-height: 1.25;
    white-space: normal;
}

body.mjt-unified-marketing .dl-table--desktop th:first-child,
body.mjt-unified-marketing .dl-table--desktop td:first-child {
    width: 24%;
    min-width: 0;
    text-align: left;
}

body.mjt-unified-marketing .dl-table--desktop th:nth-child(2),
body.mjt-unified-marketing .dl-table--desktop td:nth-child(2) {
    width: 16%;
}

body.mjt-unified-marketing .dl-table--desktop th:nth-child(3),
body.mjt-unified-marketing .dl-table--desktop td:nth-child(3),
body.mjt-unified-marketing .dl-table--desktop th:nth-child(4),
body.mjt-unified-marketing .dl-table--desktop td:nth-child(4),
body.mjt-unified-marketing .dl-table--desktop th:nth-child(5),
body.mjt-unified-marketing .dl-table--desktop td:nth-child(5) {
    width: 20%;
}

body.mjt-unified-marketing .dl-table--desktop th:not(:first-child),
body.mjt-unified-marketing .dl-table--desktop td:not(:first-child) {
    text-align: center;
}

body.mjt-unified-marketing .dl-table--desktop .mt-btn-dl-play,
body.mjt-unified-marketing .dl-table--desktop .mt-btn-dl-download {
    min-width: 0 !important;
    max-width: 100%;
    padding: 6px 8px !important;
    font-size: 12px !important;
    line-height: 1.2;
    box-sizing: border-box;
    white-space: normal;
}

body.mjt-unified-marketing .dl-table--desktop td:first-child {
    font-size: 0.88rem;
    line-height: 1.3;
}

body.mjt-unified-marketing .dl-mobile-below-table {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.mjt-unified-marketing .dl-mobile-below-table .dl-mobile-heading {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #f4e8c0;
}

body.mjt-unified-marketing .dl-mobile-below-table .dl-mobile-lead {
    margin: 0 0 12px;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--mt-text);
    opacity: 0.92;
}

body.mjt-unified-marketing .dl-store-row--compact {
    margin-top: 0;
    gap: 12px;
}

body.mjt-unified-marketing .dl-store-row--compact .dl-store-box {
    padding: 12px 14px;
}

body.mjt-unified-marketing .dl-store-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 14px;
    margin-top: 14px;
    max-width: 100%;
}

body.mjt-unified-marketing .dl-store-box {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    padding: 16px 18px;
    border-radius: var(--mt-radius);
    border: 1px solid var(--mt-panel-border);
    background: var(--mt-panel);
    box-shadow: var(--mt-shadow);
}

/* --- Download page: code signing / SmartScreen guide ---------------------- */
body.mjt-unified-marketing .mt-code-signing {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

body.mjt-unified-marketing .mt-code-signing .mt-code-signing-intro p {
    margin: 0 0 10px;
}

body.mjt-unified-marketing .mt-code-signing .mt-code-signing-intro p:last-child {
    margin-bottom: 0;
}

body.mjt-unified-marketing .mt-code-signing-windows-callout {
    margin-top: 18px;
    padding: 18px 20px 20px;
    border-radius: 14px;
    border: 2px solid rgba(0, 120, 212, 0.55);
    background: linear-gradient(165deg, rgba(0, 90, 158, 0.35), rgba(0, 0, 0, 0.42));
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.mjt-unified-marketing .mt-code-signing-platform-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
}

body.mjt-unified-marketing .mt-code-signing-platform-head--secondary {
    opacity: 0.95;
}

body.mjt-unified-marketing .mt-platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(125, 211, 192, 0.35);
    color: #b8e8ff;
    flex-shrink: 0;
}

body.mjt-unified-marketing .mt-code-signing-platform-head--secondary .mt-platform-icon {
    color: #e8f4f0;
    border-color: rgba(255, 255, 255, 0.12);
}

body.mjt-unified-marketing .mt-platform-svg {
    width: 22px;
    height: 22px;
    display: block;
}

body.mjt-unified-marketing .mt-code-signing-h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #f4e8c0 !important;
    border-bottom: none;
    padding-bottom: 0;
}

body.mjt-unified-marketing .mt-code-signing-lead {
    margin: 0 0 14px;
}

body.mjt-unified-marketing .mt-code-signing-keynote {
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(244, 196, 122, 0.55);
    background: linear-gradient(180deg, rgba(244, 196, 122, 0.18), rgba(0, 0, 0, 0.35));
    color: #fff6e6 !important;
    font-size: 1.05rem;
    line-height: 1.5;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

body.mjt-unified-marketing .mt-code-signing-miss-hint {
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: var(--mt-text-muted) !important;
}

body.mjt-unified-marketing .mt-code-signing-miss-badge {
    display: inline-block;
    margin-right: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0d1f1c !important;
    background: linear-gradient(180deg, #7dd3c0, #4a9d8c);
    vertical-align: middle;
}

body.mjt-unified-marketing .mt-code-signing-step-list {
    margin: 0 0 16px 1.2em;
    padding: 0;
    line-height: 1.55;
}

body.mjt-unified-marketing .mt-code-signing-step-list li {
    margin-bottom: 6px;
}

body.mjt-unified-marketing .mt-code-signing-step-list--compact {
    margin-bottom: 12px;
}

body.mjt-unified-marketing .mt-smartscreen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 4px;
}

body.mjt-unified-marketing .mt-smartscreen-fig {
    margin: 0;
    padding: 0;
}

body.mjt-unified-marketing .mt-smartscreen-cap {
    margin: 0 0 8px;
    font-weight: 800;
    color: #f4e8c0 !important;
    font-size: 0.98rem;
    line-height: 1.4;
}

body.mjt-unified-marketing .mt-smartscreen-step-badge {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #0a1620 !important;
    background: #7dd3c0;
    vertical-align: middle;
}

body.mjt-unified-marketing .mt-smartscreen-img-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
    background: #000;
}

body.mjt-unified-marketing .mt-smartscreen-img-wrap img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
}

body.mjt-unified-marketing .mt-code-signing-caption-note {
    margin: 14px 0 0;
    font-size: 0.88rem;
    color: var(--mt-text-muted) !important;
}

body.mjt-unified-marketing .mt-code-signing-macos {
    margin-top: 20px;
    padding: 16px 18px 18px;
    border-radius: var(--mt-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.22);
    max-width: 640px;
}

body.mjt-unified-marketing .mt-code-signing-macos p {
    margin: 0 0 10px;
}

body.mjt-unified-marketing .mt-code-signing-macos p:last-child {
    margin-bottom: 0;
}

body.mjt-unified-marketing .mt-code-signing-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(125, 211, 192, 0.22);
}

body.mjt-unified-marketing .mt-code-signing-footer a {
    color: var(--mt-link) !important;
    font-weight: 700;
}

body.mjt-unified-marketing .mt-code-signing-footer a:hover {
    color: var(--mt-link-hover) !important;
}

/* --- Shared form controls (contact + other Lite forms) ---------------------- */
body.mjt-unified-marketing .mt-form-control,
body.mjt-unified-marketing .dl-form-panel input[type="text"],
body.mjt-unified-marketing .dl-form-panel textarea {
    border-radius: 10px !important;
    border: 1px solid rgba(125, 211, 192, 0.35) !important;
    background: rgba(0, 0, 0, 0.35) !important;
    color: #f2faf8 !important;
    padding: 10px 12px !important;
    box-sizing: border-box;
}

body.mjt-unified-marketing .dl-form-panel textarea {
    min-height: 140px;
}

/* --- Game info intro: hide stray legacy blockquote chrome ---------------- */
body.mjt-unified-marketing .mt-gm-info-intro blockquote,
body.mjt-unified-marketing .mjt-rich-text.mt-gm-info-intro blockquote {
    display: none !important;
}

body.mjt-unified-marketing .mt-affiliate-faq-toc-card {
    margin-bottom: 18px;
}

body.mjt-unified-marketing .mt-affiliate-faq-answers {
    margin-top: 8px;
}

body.mjt-unified-marketing .dl-faq-toc a.faq_link {
    color: var(--mt-link) !important;
}

body.mjt-unified-marketing .dl-faq-toc a.faq_link:hover {
    color: var(--mt-link-hover) !important;
}

body.mjt-unified-marketing .home_text_red {
    color: #ffb4a8 !important;
}

/* --- Contact intro card --------------------------------------------------- */
body.mjt-unified-marketing .mt-contact-intro {
    margin-bottom: 18px;
}

body.mjt-unified-marketing .mt-contact-intro p:last-child {
    margin-bottom: 0 !important;
}

/* --- News: toolbar + featured wrapper -------------------------------------- */
body.mjt-unified-marketing .mt-news-toolbar {
    margin-bottom: 16px;
}

body.mjt-unified-marketing .mt-news-toolbar .mjt-news-top {
    margin-bottom: 0;
}

body.mjt-unified-marketing .mt-news-featured-wrap .mjt-news-article.mt-news-featured {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

body.mjt-unified-marketing .mt-news-archive-card {
    margin-top: 16px;
}

body.mjt-unified-marketing .mt-news-archive-card .mjt-news-list {
    margin-top: 0;
}

/* --- Download: distinct primary / secondary actions ----------------------- */
body.mjt-unified-marketing .mt-btn-dl-play {
    display: inline-block !important;
    padding: 8px 16px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    color: var(--mt-link) !important;
    background: rgba(0, 0, 0, 0.32) !important;
    border: 1px solid rgba(125, 211, 192, 0.4) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
    min-width: 118px;
    text-align: center;
}

body.mjt-unified-marketing .mt-btn-dl-play:hover {
    color: var(--mt-link-hover) !important;
    border-color: rgba(244, 196, 122, 0.55) !important;
}

body.mjt-unified-marketing .mt-btn-dl-download {
    display: inline-block !important;
    padding: 9px 18px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    color: #f2f7fa !important;
    background: linear-gradient(180deg, rgba(78, 207, 224, 0.38), rgba(26, 95, 110, 0.4)) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    min-width: 118px;
    text-align: center;
}

body.mjt-unified-marketing .mt-btn-dl-download:hover {
    border-color: rgba(210, 250, 255, 0.75) !important;
    color: #ffffff !important;
}

body.mjt-unified-marketing .mt-btn-dl-win {
    display: inline-block !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    color: #f2f7fa !important;
    background: linear-gradient(180deg, rgba(78, 207, 224, 0.45), rgba(26, 95, 110, 0.5)) !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    min-width: 0;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.2;
}

body.mjt-unified-marketing .mt-btn-dl-win:hover {
    border-color: rgba(210, 250, 255, 0.75) !important;
    color: #ffffff !important;
}

body.mjt-unified-marketing .mt-btn-dl-mac {
    display: inline-block !important;
    padding: 7px 10px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    color: var(--mt-link) !important;
    background: rgba(0, 0, 0, 0.28) !important;
    border: 1px solid rgba(125, 211, 192, 0.35) !important;
    min-width: 0;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.2;
}

body.mjt-unified-marketing .mt-btn-dl-mac:hover {
    color: var(--mt-link-hover) !important;
    border-color: rgba(244, 196, 122, 0.55) !important;
}

body.mjt-unified-marketing .dl-version-note {
    margin: 12px 0 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #e8dcc0 !important;
}

body.mjt-unified-marketing .dl-mac-hint {
    margin: 0 0 14px;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--mt-text-muted) !important;
}

body.mjt-unified-marketing .dl-mac-signed {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 248, 230, 0.12);
    border: 1px solid rgba(201, 144, 36, 0.35);
    color: var(--mt-text) !important;
}

body.mjt-unified-marketing .dl-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

body.mjt-unified-marketing .mt-download-section {
    margin-bottom: 20px !important;
}

body.mjt-unified-marketing .mt-download-section .mt-card-title {
    margin-top: 0;
}

body.mjt-unified-marketing .dl-support-note {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.5;
}

body.mjt-unified-marketing .mt-download-beta,
body.mjt-unified-marketing .mt-download-intro,
body.mjt-unified-marketing .mt-download-windows,
body.mjt-unified-marketing .mt-download-mac,
body.mjt-unified-marketing .mt-download-table-wrap {
    margin-bottom: 16px;
}

body.mjt-unified-marketing .mt-download-table-wrap {
    padding: 18px 16px 22px !important;
}

@media (max-width: 520px) {
    body.mjt-unified-marketing .mt-download-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.mjt-unified-marketing .dl-table--desktop {
        min-width: 28rem;
    }
}

/* --- Legal stacks (terms, affiliate terms) -------------------------------- */
body.mjt-unified-marketing .mt-legal-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.mjt-unified-marketing .mt-legal-updated,
body.mjt-unified-marketing .page-updated {
    margin: 8px 0 0;
    font-size: 0.92rem;
    color: var(--mt-text-muted) !important;
}

/* Static legal HTML: sections use .content-card (plus .mt-card) */
body.mjt-unified-marketing .mt-legal-stack > .content-card a {
    color: var(--mt-link) !important;
    font-weight: 700;
}

body.mjt-unified-marketing .mt-legal-stack > .content-card a:hover {
    color: var(--mt-link-hover) !important;
}

body.mjt-unified-marketing .mt-legal-section-card h2:first-child {
    margin-top: 0 !important;
    color: #f4e8c0 !important;
}

body.mjt-unified-marketing .mt-legal-section-card h3 {
    margin: 1.15em 0 0.45em;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f4e8c0 !important;
}

body.mjt-unified-marketing .mt-legal-section-card h3:first-of-type {
    margin-top: 0.75em;
}

body.mjt-unified-marketing .mt-terms-body a[href="#"]:empty,
body.mjt-unified-marketing .mt-legal-content a[href="#"]:empty {
    display: none !important;
}

/* --- Privacy: effective date + FAQ card ----------------------------------- */
body.mjt-unified-marketing .mt-effective-date {
    margin: 0 0 16px;
    padding: 10px 14px;
    display: inline-block;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--mt-text-strong) !important;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(125, 211, 192, 0.35);
}

body.mjt-unified-marketing .mt-effective-date-label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    color: var(--mt-text-muted) !important;
    margin-right: 8px;
}

body.mjt-unified-marketing .mt-privacy-lead .mt-privacy-lead-text,
body.mjt-unified-marketing .mt-privacy-faq-card .mt-legal-sections {
    line-height: 1.65;
}

body.mjt-unified-marketing .mt-privacy-faq-card {
    margin-top: 16px;
}

body.mjt-unified-marketing .mt-privacy-faq-card .mt-legal-toc {
    margin-top: 8px;
}

body.mjt-unified-marketing .mt-privacy-faq-card .mt-legal-sections ul {
    padding-left: 1.25em;
}

body.mjt-unified-marketing .mt-privacy-faq-card .mt-legal-sections a {
    color: var(--mt-link) !important;
}

/* --- Affiliate FAQ / terms blocks ----------------------------------------- */
body.mjt-unified-marketing .mt-affiliate-faq-lead {
    margin-bottom: 16px;
}

body.mjt-unified-marketing .mt-affiliate-faq-answers {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.mjt-unified-marketing .mt-affiliate-faq-item {
    padding: 18px 20px 20px !important;
}

body.mjt-unified-marketing .mt-affiliate-faq-item-body,
body.mjt-unified-marketing .mt-affiliate-faq-item-body * {
    color: var(--mt-text) !important;
}

body.mjt-unified-marketing .mt-affiliate-faq-item-body a {
    color: var(--mt-link) !important;
}

body.mjt-unified-marketing .mt-affiliate-faq-item-body a:hover {
    color: var(--mt-link-hover) !important;
}

body.mjt-unified-marketing .mt-affiliate-terms-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.mjt-unified-marketing .mt-affiliate-legal-block {
    padding: 18px 20px 20px !important;
}

body.mjt-unified-marketing .mt-affiliate-legal-block strong {
    color: #f4e8c0 !important;
}

/* Minimum age callout (REGISTRATION) — slightly larger than body copy */
body.mjt-unified-marketing .mt-affiliate-legal-block .mt-affiliate-age-highlight {
    font-size: 1.12em;
    line-height: inherit;
}

/* --- Site map grid --------------------------------------------------------- */
body.mjt-unified-marketing .mt-sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    align-items: start;
}

body.mjt-unified-marketing .mt-sitemap-col-wide {
    grid-column: 1 / -1;
}

body.mjt-unified-marketing .mt-sitemap-col-title {
    margin: 0 0 12px;
    font-size: 1.12rem;
    font-weight: 800;
    color: #f4e8c0 !important;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(125, 211, 192, 0.3);
}

body.mjt-unified-marketing .mt-sitemap-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.mjt-unified-marketing .mt-sitemap-links li {
    margin: 8px 0;
    line-height: 1.45;
}

body.mjt-unified-marketing .mt-sitemap-subhead {
    margin-top: 12px;
    margin-bottom: 4px;
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--mt-text-muted) !important;
    list-style: none;
}

body.mjt-unified-marketing .mt-sitemap-links a {
    color: var(--mt-link) !important;
    font-weight: 700;
}

body.mjt-unified-marketing .mt-sitemap-links a:hover {
    color: var(--mt-link-hover) !important;
}

@media (min-width: 720px) {
    body.mjt-unified-marketing .mt-sitemap-col-wide .mt-sitemap-links-columns {
        column-count: 2;
        column-gap: 32px;
    }
    body.mjt-unified-marketing .mt-sitemap-col-wide .mt-sitemap-links-columns li {
        break-inside: avoid;
    }
}

/* --- Official tournaments shell ------------------------------------------- */
body.mjt-unified-marketing .mt-tournaments-shell {
    padding: 16px 16px 20px !important;
    margin-top: 10px;
}

body.mjt-unified-marketing .mt-tournaments-shell .tour-header-row {
    margin-bottom: 8px;
}

body.mjt-unified-marketing .mt-tournaments-shell .fancy {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* --- Game Info: rules/scoring + more resources layout ---------------------- */
body.mjt-unified-marketing .mt-gm-info-rules-scoring {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 10px;
}

@media (min-width: 860px) {
    body.mjt-unified-marketing .mt-gm-info-rules-scoring {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

body.mjt-unified-marketing .mt-gm-info-large-card {
    padding: 22px 22px 26px !important;
}

body.mjt-unified-marketing .mt-gm-info-card-lead {
    margin: 0 0 16px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--mt-text-muted) !important;
}

body.mjt-unified-marketing .mt-gm-info-link-grid {
    gap: 12px !important;
}

body.mjt-unified-marketing .mt-gm-info-link-grid .mt-link-pill {
    min-height: 48px;
}

body.mjt-unified-marketing .mt-gm-info-section-heading {
    margin: 28px 0 14px;
    text-align: center;
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 800;
    color: #f4e8c0 !important;
    letter-spacing: 0.02em;
}

body.mjt-unified-marketing .mt-gm-info-more-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    body.mjt-unified-marketing .mt-gm-info-more-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    body.mjt-unified-marketing .mt-gm-info-more-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

body.mjt-unified-marketing .mt-gm-info-small-card {
    padding: 18px 18px 20px !important;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

body.mjt-unified-marketing .mt-gm-info-mini-title {
    margin: 0 0 10px;
    font-size: 1.08rem;
    font-weight: 800;
    color: #f4e8c0 !important;
    border-bottom: 1px solid rgba(125, 211, 192, 0.28);
    padding-bottom: 8px;
}

body.mjt-unified-marketing .mt-gm-info-mini-desc {
    margin: 0 0 14px;
    flex: 1 1 auto;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--mt-text-muted) !important;
}

body.mjt-unified-marketing .mt-gm-info-mini-actions {
    margin: 0;
}

body.mjt-unified-marketing .mt-gm-info-mini-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.mjt-unified-marketing .mt-gm-info-mini-links .mt-button-secondary {
    display: block !important;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

body.mjt-unified-marketing .mt-gm-info-signup-wrap {
    margin-top: 22px;
}

body.mjt-unified-marketing .mjt-game-info-wrap .mt-gm-info-links {
    margin-top: 8px;
}

body.mjt-unified-marketing .mjt-game-info-wrap .game-info-link-list {
    columns: 2;
    column-gap: 60px;
    list-style: none;
    margin: 0 0 28px;
    padding-left: 0;
}

body.mjt-unified-marketing .mjt-game-info-wrap .game-info-link-list li {
    margin-bottom: 12px;
    break-inside: avoid;
}

body.mjt-unified-marketing .mjt-game-info-wrap .game-info-link-list a {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none !important;
}

body.mjt-unified-marketing .mjt-game-info-wrap .game-info-link-list a:hover {
    text-decoration: underline !important;
}

@media (max-width: 700px) {
    body.mjt-unified-marketing .mjt-game-info-wrap .game-info-link-list {
        columns: 1;
    }
}

/* Rule/scoring content pages (no Help Center sidebar) */
body.mjt-unified-marketing .mt-rule-content-wrap .site-page-content {
    width: 100%;
    max-width: var(--mt-max, 1000px);
    margin: 0 auto;
}

body.mjt-unified-marketing .small-page-links {
    text-align: center;
    margin: 0 auto 28px auto;
    font-size: 15px;
    line-height: 1.6;
}

body.mjt-unified-marketing .small-page-links a {
    color: #6fe7d7 !important;
    text-decoration: underline !important;
    font-weight: bold !important;
}

body.mjt-unified-marketing .small-page-links span {
    color: #d7c08a !important;
    margin: 0 8px;
}

body.mjt-unified-marketing .mt-rule-content-wrap .mt-rule-prose h1 {
    display: none !important;
}

body.mjt-unified-marketing .mt-rule-content-wrap .mt-rule-prose h2 {
    margin-top: 1.25em;
}

body.mjt-unified-marketing .mjt-game-info-wrap .mt-gm-info-links .mt-card-title:first-child {
    margin-top: 0;
}

/* --- Game history / rule lore detail pages (linked from Game Info) ---------- */
body.mjt-unified-marketing .mt-rule-page .mt-rule-body,
body.mjt-unified-marketing .mt-rule-page .mt-rule-section {
    margin-bottom: 22px;
}

body.mjt-unified-marketing .mt-rule-page .mt-rule-prose {
    text-align: left;
}

/* Single-blob pages: first heading from legacy HTML reads as the page title */
body.mjt-unified-marketing .mt-rule-prose.mt-rule-single > h1:first-child,
body.mjt-unified-marketing .mt-rule-prose.mt-rule-single > h2:first-child,
body.mjt-unified-marketing .mt-rule-prose.mt-rule-single > h3:first-child,
body.mjt-unified-marketing .mt-rule-prose.mt-rule-single > font:first-child h1,
body.mjt-unified-marketing .mt-rule-prose.mt-rule-single > font:first-child h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 42rem;
    font-size: clamp(28px, 3.8vw, 36px) !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: var(--mt-text-strong) !important;
    border-bottom: none !important;
    padding-bottom: 12px !important;
}

body.mjt-unified-marketing .mt-rule-prose.mt-rule-single > h1:first-child::after,
body.mjt-unified-marketing .mt-rule-prose.mt-rule-single > h2:first-child::after,
body.mjt-unified-marketing .mt-rule-prose.mt-rule-single > h3:first-child::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(244, 196, 122, 0.85), var(--mt-gold-deep), rgba(244, 196, 122, 0.85));
    opacity: 0.95;
}

body.mjt-unified-marketing .mt-rule-prose.mt-rule-single > table:first-child,
body.mjt-unified-marketing .mt-rule-prose.mt-rule-single > div:first-child {
    text-align: left;
}

body.mjt-unified-marketing .mt-rule-prose .read_mo,
body.mjt-unified-marketing .mt-rule-prose font[color="blue"] {
    color: var(--mt-link) !important;
}

body.mjt-unified-marketing .mt-rule-prose blockquote {
    margin: 14px 0;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit !important;
}

body.mjt-unified-marketing .mt-rule-prose table {
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
}

body.mjt-unified-marketing .mt-rule-prose table td,
body.mjt-unified-marketing .mt-rule-prose table th {
    border: 1px solid rgba(125, 211, 192, 0.22);
    padding: 8px 10px;
    vertical-align: top;
}

body.mjt-unified-marketing .mt-rule-related .mt-rule-related-lead {
    margin: 0 0 14px;
    color: var(--mt-text-muted) !important;
    font-size: 0.98rem;
    line-height: 1.55;
}

body.mjt-unified-marketing .mt-rule-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.mjt-unified-marketing .mt-rule-related-list li {
    margin: 0;
}

/* Retired Help Center chrome — hide only when new .game-info-content layout is present */
.mjt-page:has(.game-info-content) .game-info-page,
.mjt-page:has(.game-info-content) .help-sidebar-nav,
.mjt-page:has(.game-info-content) .page-hero {
    display: none !important;
}

/* Help Center layout (legacy — kept for reference, hidden above) */
body.mjt-unified-marketing .mjt-page .game-info-page {
    max-width: 1040px;
    margin: 28px auto 48px;
    padding: 0 18px;
}

body.mjt-unified-marketing .mjt-page .game-info-page .help-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
}

body.mjt-unified-marketing .mjt-page .game-info-page .page-hero,
body.mjt-unified-marketing .mjt-page .game-info-page .help-sidebar,
body.mjt-unified-marketing .mjt-page .game-info-page .help-content-card {
    background: #fffaf0;
    border: 1px solid #e6c98b;
    border-radius: 14px;
    padding: 20px;
}

body.mjt-unified-marketing .mjt-page .game-info-page .help-sidebar,
body.mjt-unified-marketing .mjt-page .game-info-page .help-content-card {
    background: #ffffff;
}

body.mjt-unified-marketing .mjt-page .game-info-page .resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

body.mjt-unified-marketing .mjt-page .game-info-page .resource-card {
    background: #fffdf8;
    border: 1px solid #e3c98d;
    border-radius: 14px;
    padding: 18px;
    display: block;
    text-decoration: none;
}

@media (max-width: 860px) {
    body.mjt-unified-marketing .mjt-page .game-info-page .help-layout,
    body.mjt-unified-marketing .mjt-page .game-info-page .resource-grid {
        grid-template-columns: 1fr;
    }
}

/* Simple Help Center readability fix */
body.mjt-unified-marketing .mjt-page .game-info-page {
    color: #332313 !important;
}

body.mjt-unified-marketing .mjt-page .game-info-page .page-hero,
body.mjt-unified-marketing .mjt-page .game-info-page .help-sidebar,
body.mjt-unified-marketing .mjt-page .game-info-page .help-content-card,
body.mjt-unified-marketing .mjt-page .game-info-page .resource-card {
    color: #332313 !important;
}

/* Override global light text on all elements inside Help Center cards */
body.mjt-unified-marketing .mjt-page .game-info-page div,
body.mjt-unified-marketing .mjt-page .game-info-page p,
body.mjt-unified-marketing .mjt-page .game-info-page li,
body.mjt-unified-marketing .mjt-page .game-info-page span,
body.mjt-unified-marketing .mjt-page .game-info-page label,
body.mjt-unified-marketing .mjt-page .game-info-page td {
    color: #5a4630 !important;
}

/* Hero text */
body.mjt-unified-marketing .mjt-page .game-info-page .page-hero h1 {
    color: #2b1a08 !important;
}

body.mjt-unified-marketing .mjt-page .game-info-page .page-hero .eyebrow {
    color: #8a5a00 !important;
}

body.mjt-unified-marketing .mjt-page .game-info-page .page-hero .hero-intro {
    color: #5a4630 !important;
}

/* Main content text */
body.mjt-unified-marketing .mjt-page .game-info-page .help-content-card p,
body.mjt-unified-marketing .mjt-page .game-info-page .resource-card p {
    color: #5a4630 !important;
}

/* Headings */
body.mjt-unified-marketing .mjt-page .game-info-page .help-content-card h1,
body.mjt-unified-marketing .mjt-page .game-info-page .help-content-card h2,
body.mjt-unified-marketing .mjt-page .game-info-page .help-content-card h3,
body.mjt-unified-marketing .mjt-page .game-info-page .help-content-card .help-section-title,
body.mjt-unified-marketing .mjt-page .game-info-page .resource-card h2,
body.mjt-unified-marketing .mjt-page .game-info-page .resource-card h3 {
    color: #2b1a08 !important;
}

/* Sidebar */
body.mjt-unified-marketing .mjt-page .game-info-page .help-sidebar a,
body.mjt-unified-marketing .mjt-page .game-info-page .help-sidebar .help-nav-link {
    color: #3a2a18 !important;
}

body.mjt-unified-marketing .mjt-page .game-info-page .help-sidebar a:hover,
body.mjt-unified-marketing .mjt-page .game-info-page .help-sidebar .help-nav-link:hover {
    color: #7a4700 !important;
}

body.mjt-unified-marketing .mjt-page .game-info-page .help-sidebar .active,
body.mjt-unified-marketing .mjt-page .game-info-page .help-sidebar a.active,
body.mjt-unified-marketing .mjt-page .game-info-page .help-sidebar .help-nav-link.active {
    color: #7a4700 !important;
}

/* Sidebar section titles like RULES and SCORING */
body.mjt-unified-marketing .mjt-page .game-info-page .help-sidebar h2,
body.mjt-unified-marketing .mjt-page .game-info-page .help-sidebar h3,
body.mjt-unified-marketing .mjt-page .game-info-page .help-sidebar .nav-section-title,
body.mjt-unified-marketing .mjt-page .game-info-page .help-sidebar .section-title,
body.mjt-unified-marketing .mjt-page .game-info-page .help-sidebar .help-nav-heading {
    color: #8a5a00 !important;
}

/* Shared Game Info / Rules / Scoring / FAQ page layout */
.game-info-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 36px 20px 60px 20px;
}

.game-info-page-title {
    text-align: center;
    margin: 0 0 36px 0;
}

.game-info-page-title h1 {
    color: #ffffff;
    font-size: 42px;
    line-height: 1.2;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 0 #1b1b1b;
}

.game-info-title-underline {
    width: 72px;
    height: 4px;
    background: #d7ad55;
    border-radius: 4px;
    margin: 18px auto 0 auto;
}

.page-version {
    color: #fff0b8;
    text-align: center;
    font-size: 16px;
    margin: -20px 0 28px 0;
}

.game-info-body {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
}

.game-info-body h2 {
    color: #fff0b8;
    font-size: 28px;
    line-height: 1.3;
    margin: 32px 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(215, 173, 85, 0.45);
}

.game-info-body h3 {
    color: #fff0b8;
    font-size: 22px;
    margin: 26px 0 12px 0;
}

.game-info-body p,
.game-info-body li {
    color: #ffffff;
}

.game-info-body a {
    color: #72e7d8;
    font-weight: bold;
}

.game-info-body a:hover {
    color: #fff0b8;
}

body.mjt-unified-marketing .game-info-page-title h1 {
    color: #ffffff !important;
    text-align: center !important;
}

body.mjt-unified-marketing .game-info-page-title h1::after,
body.mjt-unified-marketing .game-info-body h2::after {
    display: none !important;
}

body.mjt-unified-marketing .game-info-body p,
body.mjt-unified-marketing .game-info-body li,
body.mjt-unified-marketing .game-info-body div {
    color: #ffffff !important;
}

body.mjt-unified-marketing .game-info-body h2 {
    color: #fff0b8 !important;
    text-align: left !important;
}

body.mjt-unified-marketing .game-info-body h3 {
    color: #fff0b8 !important;
}

body.mjt-unified-marketing .game-info-body a {
    color: #72e7d8 !important;
    font-weight: bold !important;
}

body.mjt-unified-marketing .game-info-body a:hover {
    color: #fff0b8 !important;
}

body.mjt-unified-marketing .game-info-body .mt-gm-info-intro {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(125, 211, 192, 0.28);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 28px;
}

body.mjt-unified-marketing .game-info-body .game-info-link-list {
    columns: 2;
    column-gap: 60px;
    list-style: none;
    margin: 0 0 28px;
    padding-left: 0;
}

body.mjt-unified-marketing .game-info-body .game-info-link-list li {
    margin-bottom: 12px;
    break-inside: avoid;
}

body.mjt-unified-marketing .game-info-bottom-links {
    margin-top: 36px;
    padding-top: 8px;
    border-top: 1px solid rgba(215, 173, 85, 0.25);
}

body.mjt-unified-marketing .game-info-body h1 {
    display: none !important;
}

@media (max-width: 700px) {
    .game-info-content {
        padding: 28px 16px 44px 16px;
    }

    .game-info-page-title h1 {
        font-size: 32px;
    }

    .game-info-body {
        font-size: 16px;
    }

    body.mjt-unified-marketing .game-info-body .game-info-link-list {
        columns: 1;
    }
}

/* Hide duplicate legacy h1 titles inside rule/FAQ blobs (page title is in .game-info-page-title) */
.game-info-body > h1:first-child,
.game-info-body h1:empty,
.game-info-body h2:empty {
    display: none !important;
}

body.mjt-unified-marketing .game-info-body .mt-rule-prose > h1:first-child,
body.mjt-unified-marketing .mt-rule-prose.mt-rule-single > h1:first-child {
    display: none !important;
}



