/* Fixed orange palette across the site; game selection only filters content.
 * Public layout rules below remain scoped to the public shell. */
:root[data-design="mtc"],:root[data-design="mtc"].dark{--mh-site-accent:#c2410c;--mh-site-accent-text:#fff;--primary:var(--mh-site-accent);--primary-foreground:var(--mh-site-accent-text);--accent:var(--mh-site-accent);--accent-foreground:var(--mh-site-accent-text);--ring:var(--mh-site-accent);--sidebar-primary:var(--mh-site-accent);--sidebar-primary-foreground:var(--mh-site-accent-text);--sidebar-ring:var(--mh-site-accent);--world-map-stroke:#c2410c80;--world-map-hot-stroke:var(--mh-site-accent)}
:root[data-design="mtc"].dark{--mh-site-accent:#fb923c;--mh-site-accent-text:#211208}
.mh-home,html.dark .mh-home{--mh-green:var(--mh-site-accent);--mh-green-text:var(--mh-site-accent-text)}
.mh-public-view{background:var(--background);color:var(--foreground);--mh-green:var(--mh-site-accent);--mh-green-text:var(--mh-site-accent-text)}
.mh-public-view :is(a,button,input):focus-visible,.mh-public-footer a:focus-visible{outline:2px solid var(--mh-site-accent);outline-offset:4px}
.mh-public-view .mtc-model-hero{height:auto;min-height:clamp(620px,85svh,900px);isolation:isolate;color:#fff;background:#252c28}
.mh-public-view .mtc-model-hero::after{position:absolute;inset:0;content:"";background:linear-gradient(90deg,#000b,#0005 55%,#0001);z-index:1;pointer-events:none}
.mh-public-view .mtc-model-hero.mh-public-hero-empty{min-height:clamp(440px,65svh,650px);background:var(--background);color:var(--foreground);border-bottom:1px solid var(--border)}
.mh-public-view .mh-public-hero-empty::after{display:none}
.mh-public-hero-copy{position:relative;z-index:2;width:min(1280px,100%);margin:auto;padding:calc(var(--mtc-nav-height,64px) + 90px) 44px 110px}
.mh-public-eyebrow{font-size:.72rem;font-weight:700;letter-spacing:.16rem;text-transform:uppercase;margin:0 0 1rem}
.mh-public-hero-empty .mh-public-eyebrow{color:var(--mh-site-accent)}
html[data-design="mtc"] .mh-public-view .mh-public-hero-copy h1{font-size:clamp(2.5rem,5.5vw,5.4rem);font-weight:900;letter-spacing:-.04em;line-height:1.04;color:inherit;margin:0 0 1.5rem;max-width:1000px;overflow-wrap:anywhere}
.mh-public-lead{font-size:clamp(1rem,1.7vw,1.4rem);line-height:1.55;max-width:600px;margin:0}
.mh-public-hero-empty .mh-public-lead{color:var(--muted-foreground)}
.mh-public-view .mh-public-hero-note{font-size:.8rem;color:var(--muted-foreground);margin:24px 0 0}
.mh-public-view .mh-public-hero-copy .mh-home-action{margin-top:25px;background:#fff;color:#111;border-color:#fff}
.mh-public-view .mh-public-hero-empty .mh-home-action{background:var(--mh-site-accent);color:var(--mh-site-accent-text);border-color:var(--mh-site-accent)}
.mh-public-view .mtc-model-hero-controls{z-index:3;left:auto;right:36px;transform:none;border-radius:4px}
.mh-public-view .mh-public-hero-empty .mtc-model-hero-controls{display:none}
html[data-design="mtc"] header.mtc-top-header:has(+main .mh-public-hero-empty){background:color-mix(in srgb,var(--background) 70%,transparent);color:var(--foreground);--foreground:inherit;--muted-foreground:inherit;--primary:inherit;--primary-foreground:inherit;--secondary:inherit;border-bottom-color:var(--border)}
.mh-public-view .mtc-model-content{max-width:1200px;padding:60px 36px}
html[data-design="mtc"] .mh-public-view .mtc-model-content>h2{font-size:clamp(1.5rem,3.1vw,2.5rem);line-height:1.15;letter-spacing:.015em;font-weight:900;margin:0 0 20px}
.mh-public-view .mtc-section-description{color:var(--muted-foreground);font-size:1rem;line-height:1.8;max-width:750px}
.mh-public-view .mtc-model-content :is(.mtc-category-grid,.mtc-model-results){gap:28px;margin-top:28px}
html[data-design="mtc"] .mh-public-view .mtc-model-catalog :is(.mtc-category-card,.mtc-model-result){border:1px solid var(--border);border-radius:6px;box-shadow:0 2px 8px #0000000d;min-height:0}
html[data-design="mtc"] .mh-public-view .mtc-model-catalog :is(.mtc-category-card,.mtc-model-result):hover{transform:translateY(-3px);box-shadow:0 4px 16px #00000014;border-color:var(--mh-site-accent)}
.mh-public-view .mtc-model-catalog :is(.mtc-card-preview,.mtc-model-result>img,.mtc-result-empty){height:auto;aspect-ratio:16/9;min-height:0}
.mh-public-view .mtc-model-catalog :is(.mtc-category-copy,.mtc-model-result-copy){padding:25px}
html[data-design="mtc"] .mh-public-view .mtc-model-catalog :is(.mtc-category-copy h3,.mtc-model-result h2){font-size:1.15rem;letter-spacing:.12em;line-height:1.3;margin:0 0 12px;overflow-wrap:anywhere}
.mh-public-view .mtc-model-catalog :is(.mtc-category-copy p,.mtc-model-result-copy p){font-size:.86rem;line-height:1.8;color:var(--muted-foreground)}
.mh-public-view .mtc-category-copy small{display:block;margin-top:14px;color:var(--mh-site-accent);font-size:.8rem;font-weight:600}
.mh-public-view .mtc-model-content>a,.mh-public-view .mtc-model-author{color:var(--mh-site-accent);text-underline-offset:.35rem}
.mh-public-view .mtc-model-content input[type="search"]{display:block;width:min(100%,480px);min-height:48px;padding:12px 16px;border:1px solid var(--border);border-radius:4px;background:var(--card);color:var(--foreground);font-size:.9rem}
.mh-public-view .mtc-model-search{gap:12px;align-items:center;margin-block:28px}
.mh-public-view .mtc-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:30px}
.mh-public-view .mtc-pagination button{padding:12px 20px;border:1px solid var(--mh-site-accent);color:var(--mh-site-accent);font-size:.88rem;font-weight:700;cursor:pointer}
.mh-public-view .mtc-pagination button:disabled{opacity:.4;cursor:default}
.mh-public-view .mtc-creator-about{line-height:1.8;color:var(--muted-foreground)}
.mh-public-view>.max-w-5xl{max-width:1200px;padding:60px 36px}
.mh-public-view>.max-w-5xl>.relative{background:var(--secondary);border-radius:6px}
html[data-design="mtc"] .mh-public-view>.max-w-5xl h1{font-size:clamp(1.75rem,3vw,2.5rem);letter-spacing:.015em;line-height:1.15}
html[data-design="mtc"] .mh-public-view>.max-w-5xl h2{letter-spacing:.06em;line-height:1.3}
.mh-public-view>.max-w-5xl section{border-radius:6px;box-shadow:0 2px 8px #0000000d}
.mh-public-view .mtc-map-landing{--world-map-stroke:color-mix(in srgb,var(--mh-site-accent) 50%,transparent);--world-map-fill:color-mix(in srgb,var(--mh-site-accent) 6%,transparent);--world-map-hot-stroke:var(--mh-site-accent);--world-map-hot-fill:color-mix(in srgb,var(--mh-site-accent) 20%,transparent)}
html[data-design="mtc"] .mh-public-view .mtc-country-card{border-radius:6px;box-shadow:0 4px 20px #00000014;border-color:var(--border);background:var(--card);color:var(--card-foreground)}
html[data-design="mtc"] .mh-public-view .mtc-country-card h2{font-size:.9rem;font-weight:900;letter-spacing:.06em;line-height:1.3;padding-right:0}
.mh-public-view .mtc-country-card p{color:var(--muted-foreground)}
.mh-public-footer{width:100%;background:var(--background);color:var(--foreground)}
.mh-public-footer>a:not(.mh-home-footer-logo):hover{color:var(--mh-site-accent);text-decoration:underline;text-underline-offset:.35rem}
@media(max-width:700px){
 .mh-public-hero-copy{padding:calc(var(--mtc-nav-height,110px) + 65px) 22px 90px}
 html[data-design="mtc"] .mh-public-view .mh-public-hero-copy h1{font-size:clamp(2.3rem,9.7vw,3.8rem);letter-spacing:-.035em;line-height:1.08}
 .mh-public-view .mtc-model-hero{min-height:720px}
 .mh-public-view .mtc-model-hero.mh-public-hero-empty{min-height:520px}
 .mh-public-view .mtc-model-content{padding:38px 22px}
 .mh-public-view>.max-w-5xl{padding:38px 22px}
 .mh-public-view .mtc-model-content :is(.mtc-category-grid,.mtc-model-results){grid-template-columns:1fr;gap:22px}
 .mh-public-view .mtc-model-catalog :is(.mtc-category-copy,.mtc-model-result-copy){padding:22px}
 .mh-public-view .mtc-model-hero-controls{right:22px}
 .mh-public-lead{font-size:1.05rem}
 .mh-public-view .mtc-model-search{display:grid;grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.mh-public-view *{scroll-behavior:auto;transition:none!important}}
