/* Playhouse 2: a scoped presentation layer. Existing application selectors remain intact. */
:root{--ph2-bg:#111318;--ph2-card:#1b1f26;--ph2-gap:24px;--ph2-radius:12px;--ph2-accent:#a3d95b;--ph2-border:#353a44;--ph2-text:#eef1f6;--ph2-muted:#aeb7c4;--ph2-surface:#171a20;--ph2-ink:#151c10}
html[data-mm-appearance=dark]{--mm-bg:var(--ph2-bg);--mm-box:var(--ph2-surface);--mm-surface:var(--ph2-surface);--mm-card:var(--ph2-card);--mm-card-2:var(--ph2-card);--mm-text:var(--ph2-text);--mm-muted:var(--ph2-muted);--mm-accent:var(--ph2-accent);--mm-mint:#9dd8bc;--mm-border:var(--ph2-border);color-scheme:dark}
html[data-mm-appearance=light]{--ph2-bg:#edf0f5;--ph2-surface:#f8fafc;--ph2-card:#fff;--ph2-border:#d9dee8;--ph2-text:#222b3a;--ph2-muted:#526072;--ph2-accent:var(--mm-accent,#713ac8);--ph2-ink:#fff}
html body.mm-playhouse{background:var(--ph2-bg)!important;color:var(--ph2-text)}
html body.mm-playhouse .mm-site-wrap{background:var(--ph2-surface)!important;border:1px solid var(--ph2-border)!important;border-radius:var(--ph2-radius)!important;box-shadow:none!important;overflow:visible!important}
html body.mm-playhouse .mm-header{background:var(--ph2-card)!important;border-color:var(--ph2-border)!important;box-shadow:none!important;border-radius:var(--ph2-radius) var(--ph2-radius) 0 0}
html body.mm-playhouse .mm-header .mm-header-top{background:var(--ph2-card)!important;border-color:var(--ph2-border)!important;min-height:76px!important;padding:12px 24px!important;gap:12px!important}
html body.mm-playhouse .mm-header .mm-primary-nav{background:var(--ph2-card)!important;border-color:var(--ph2-border)!important;overflow:visible;position:relative;z-index:20}
html body.mm-playhouse .mm-header .mm-primary-nav .mm-fixed-menu.ph2-menu{display:flex;justify-content:center;gap:4px;flex-wrap:wrap;align-items:center;list-style:none;margin:0;padding:6px 16px}
html body.mm-playhouse .mm-header .ph2-menu>li{position:relative;margin:0;padding:0;list-style:none}
html body.mm-playhouse .mm-header .ph2-menu>li>a,html body.mm-playhouse .mm-header .ph2-menu summary{display:flex;align-items:center;gap:8px;padding:10px 15px!important;color:var(--ph2-text)!important;font-size:13px!important;font-weight:700!important;text-decoration:none;border:0!important;border-radius:8px!important;background:none!important;cursor:pointer;list-style:none;white-space:nowrap}
.ph2-menu summary::-webkit-details-marker{display:none}.ph2-menu summary span{color:var(--ph2-muted)}
html body.mm-playhouse .mm-header .ph2-menu>li>a:hover,html body.mm-playhouse .mm-header .ph2-menu summary:hover,html body.mm-playhouse .mm-header .ph2-menu details[open]>summary{background:var(--ph2-surface)!important;color:var(--ph2-accent)!important}
.ph2-menu details:not([open]) .ph2-submenu{display:none}.ph2-menu .ph2-submenu{position:absolute;top:100%;left:0;z-index:100;min-width:210px;max-width:280px;list-style:none;margin:2px 0 0;padding:6px;background:var(--ph2-card);border:1px solid var(--ph2-border);border-radius:10px;box-shadow:0 12px 30px #0003;max-height:65vh;overflow:auto}.ph2-menu li:nth-last-child(-n+2) .ph2-submenu{left:auto;right:0}.ph2-submenu li{list-style:none;margin:0;padding:0}.ph2-submenu a{display:block;padding:10px 12px;color:var(--ph2-text)!important;text-decoration:none;font-size:13px;border-radius:6px;line-height:1.4}.ph2-submenu a:hover,.ph2-submenu a:focus-visible{background:var(--ph2-surface);color:var(--ph2-accent)!important}
.ph2-mobile-logo{display:none!important}.ph2-mobile-logo img{display:block;max-width:100%;height:auto;max-height:var(--mm-mobile-logo-height,64px);object-fit:contain}
html body.mm-playhouse .ph2-home .mm-max-hero{min-height:clamp(280px,30vw,370px)!important;border:0!important;background:#22272c!important;box-shadow:none!important}
html body.mm-playhouse .ph2-home .mm-max-hero:before{background:linear-gradient(90deg,#171a20 0%,#171a20ed 27%,#171a2070 53%,transparent 82%)!important}
html body.mm-playhouse .ph2-home .mm-max-hero-content{padding:36px clamp(20px,4vw,56px)!important;background:none!important}
html body.mm-playhouse .ph2-home .mm-max-hero-content h1{font-size:clamp(32px,4.5vw,57px)!important;color:#fff!important;letter-spacing:-.045em!important}
html body.mm-playhouse .ph2-home .mm-max-hero-content h1 em{color:#a3d95b!important}html body.mm-playhouse .ph2-home .mm-max-hero-content p{color:#e3e8ee!important}
html body.mm-playhouse .ph2-home .mm-max-hero-primary{background:#a3d95b!important;color:#18210f!important;border:0!important;box-shadow:none!important}html body.mm-playhouse .ph2-home .mm-max-hero-secondary{background:#20262bdd!important;border:1px solid #727b82!important;color:#fff!important}
.ph2-welcome{padding:32px var(--ph2-gap);background:var(--ph2-card)}.ph2-welcome h1{margin:0}
html body.mm-playhouse .ph2-home .ph2-content{padding:var(--ph2-gap)!important;max-width:none!important;width:100%!important;box-sizing:border-box}
html body.mm-playhouse .ph2-sections{display:flex!important;flex-direction:column!important;gap:var(--ph2-gap)!important;margin:0!important;padding:0!important}
html body.mm-playhouse .ph2-sections>.mm-home-visual-section,html body.mm-playhouse .ph2-sections>.ph2-panel,html body.mm-playhouse .ph2-sections>.ph2-editor-content{margin:0!important;min-width:0;max-width:100%;box-sizing:border-box}
.ph2-panel{border:1px solid var(--ph2-border);border-radius:var(--ph2-radius);background:var(--ph2-card);padding:clamp(14px,2.1vw,24px);color:var(--ph2-text)}
.ph2-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px}.ph2-section-head h2{font:800 clamp(21px,2.3vw,28px)/1.2 system-ui,sans-serif!important;color:var(--ph2-text)!important;margin:4px 0 0!important;letter-spacing:-.025em}.ph2-section-head>a,.ph2-arcade-extras a{font-size:12px;font-weight:700;color:var(--ph2-accent)!important;text-decoration:none}.ph2-section-head .mm-kicker{color:var(--ph2-muted)!important;font-size:10px!important;letter-spacing:.1em}
.ph2-link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ph2-link-grid>a{display:flex;align-items:center;gap:12px;padding:14px;min-width:0;min-height:66px;box-sizing:border-box;border:1px solid var(--ph2-border);border-radius:calc(var(--ph2-radius) - 2px);background:var(--ph2-surface);color:var(--ph2-text)!important;text-decoration:none!important;line-height:1.35}.ph2-link-grid>a:hover{border-color:var(--ph2-accent)}.ph2-link-grid>a>span:nth-child(2){flex:1;min-width:0}.ph2-link-grid strong{display:block;color:var(--ph2-text)!important;font-size:14px;font-weight:750;overflow-wrap:anywhere}.ph2-link-grid small{display:block;font-size:12px;margin-top:4px;color:var(--ph2-muted)!important;line-height:1.45}.ph2-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:9px;background:var(--ph2-card);color:var(--ph2-accent)}.ph2-icon svg{width:21px;height:21px}.ph2-arrow{color:var(--ph2-muted);font-size:16px;flex:0 0 auto}.ph2-quick{grid-template-columns:repeat(4,minmax(0,1fr));padding:var(--ph2-gap) var(--ph2-gap) 0}.ph2-quick>a{background:var(--ph2-card);min-height:58px}.ph2-quick a:nth-child(2) .ph2-icon{color:#a99af3}.ph2-quick a:nth-child(3) .ph2-icon{color:#e7a15a}.ph2-quick a:nth-child(4) .ph2-icon{color:#65b9df}
.ph2-game-feature{display:flex;justify-content:space-between;align-items:center;gap:15px;border:1px solid #675a9a;border-radius:var(--ph2-radius);padding:clamp(18px,3vw,32px);margin-bottom:12px;background:linear-gradient(120deg,#29233f,#40345c);color:#fff!important;text-decoration:none!important;overflow:hidden}.ph2-game-feature>span:first-child{display:grid;gap:8px}.ph2-game-feature small{font-size:10px;color:#d6c7ff;letter-spacing:.14em;font-weight:800}.ph2-game-feature strong{font:800 clamp(23px,3vw,36px)/1.1 system-ui,sans-serif;color:#fff!important}.ph2-game-feature span span{font-size:13px;color:#e2d9f1}.ph2-game-feature b{color:#d5c6ff;font-size:13px}.ph2-game-art{display:grid;place-items:center;width:110px;height:110px;flex:0 0 110px;border-radius:24px;background:#ffffff12;color:#c8b6ff}.ph2-game-art svg{width:65px;height:65px}.ph2-arcade-extras{display:flex;gap:16px;flex-wrap:wrap;padding-top:16px}
/* Keep existing post and plugin hooks; adjust only site-owned presentation surfaces. */
html body.mm-playhouse .ph2-sections .mm-feature-story,html body.mm-playhouse .ph2-sections .mm-latest-card,html body.mm-playhouse .ph2-sections .mm-meme-feature-card,html body.mm-playhouse .mm-archive-card{border:1px solid var(--ph2-border)!important;border-radius:var(--ph2-radius)!important;background:var(--ph2-card)!important;box-shadow:none!important}
html body.mm-playhouse .ph2-sections .mm-feature-copy,html body.mm-playhouse .ph2-sections .mm-latest-copy{background:var(--ph2-card)!important;color:var(--ph2-text)!important}
html body.mm-playhouse .ph2-sections .mm-feature-title,html body.mm-playhouse .ph2-sections .mm-latest-copy strong,html body.mm-playhouse .ph2-sections .mm-latest-heading h2,html body.mm-playhouse .ph2-sections .mm-meme-zone-head h2{color:var(--ph2-text)!important}
html body.mm-playhouse .ph2-sections .mm-feature-copy p,html body.mm-playhouse .ph2-sections .mm-latest-copy time{color:var(--ph2-muted)!important}
html body.mm-playhouse .ph2-sections .mm-latest-grid{gap:12px!important}html body.mm-playhouse .ph2-sections .mm-latest-thumb{aspect-ratio:16/9!important;overflow:hidden}html body.mm-playhouse .ph2-sections .mm-latest-thumb img{width:100%;height:100%;object-fit:cover}
html body.mm-playhouse .mm-playhouse-page-banner.mm-playhouse-banner-no-art{background:var(--ph2-card)!important;border:1px solid var(--ph2-border)!important;border-radius:var(--ph2-radius)!important;box-shadow:none!important;padding:0!important;min-height:0!important}
html body.mm-playhouse .mm-playhouse-banner-no-art .mm-stage-banner-inner{display:block!important;padding:clamp(20px,3vw,32px)!important;min-height:0!important}html body.mm-playhouse .mm-playhouse-banner-no-art .mm-stage-banner-copy{padding:0!important;max-width:100%!important}
html body.mm-playhouse .mm-playhouse-banner-no-art .mm-stage-banner-signoff,html body.mm-playhouse .mm-playhouse-banner-no-art .mm-stage-banner-stripe,html body.mm-playhouse .mm-playhouse-banner-no-art .mm-stage-banner-rule{display:none!important}
html body.mm-playhouse .mm-playhouse-banner-no-art h1{color:var(--ph2-text)!important;font-size:clamp(26px,3.6vw,42px)!important}html body.mm-playhouse .mm-playhouse-banner-no-art p{color:var(--ph2-muted)!important}
html body.mm-playhouse .mm-footer{background:var(--ph2-card)!important;color:var(--ph2-muted)!important;border-top:1px solid var(--ph2-border)!important;box-shadow:none!important;border-radius:0 0 var(--ph2-radius) var(--ph2-radius)}html body.mm-playhouse .mm-footer-grid{padding:24px var(--ph2-gap)!important;gap:20px!important}html body.mm-playhouse .mm-footer a,html body.mm-playhouse .mm-footer b{color:var(--ph2-text)!important}html body.mm-playhouse .mm-footer-bottom{border-top:1px solid var(--ph2-border)!important;background:var(--ph2-surface)!important;color:var(--ph2-muted)!important;padding:12px var(--ph2-gap)!important}
.ph2-mobile-nav{display:none}.ph2-menu :focus-visible,.ph2-link-grid a:focus-visible,.ph2-mobile-nav :focus-visible{outline:2px solid var(--ph2-accent);outline-offset:2px}
@media(max-width:800px){html body.mm-playhouse .mm-header .mm-header-top{padding:10px 14px!important;min-height:68px!important}html body.mm-playhouse .mm-header .mm-primary-nav.is-open{overflow-y:auto!important;max-height:65vh!important}html body.mm-playhouse .mm-header .mm-primary-nav .ph2-menu{display:flex!important;align-items:stretch!important;flex-direction:column!important;padding:0!important;gap:2px!important}html body.mm-playhouse .mm-header .ph2-menu>li,html body.mm-playhouse .mm-header .ph2-menu>li details{width:100%}.ph2-menu .ph2-submenu{position:static;max-width:none;max-height:none;min-width:0;box-shadow:none;margin:0 0 4px 10px;padding:4px;border:0;background:var(--ph2-surface)}html body.mm-playhouse .mm-header .ph2-menu summary{justify-content:space-between;width:100%}html body.mm-playhouse .mm-header .mm-branding:has(.ph2-mobile-logo)>.custom-logo-link,html body.mm-playhouse .mm-header .mm-branding:has(.ph2-mobile-logo)>.mm-fallback-brand{display:none!important}html body.mm-playhouse .mm-header .mm-branding .ph2-mobile-logo{display:block!important;width:min(100%,280px)}.ph2-quick{grid-template-columns:repeat(2,minmax(0,1fr))}.ph2-mobile-nav{position:fixed;z-index:90;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px 4px calc(6px + env(safe-area-inset-bottom));background:var(--ph2-card);border-top:1px solid var(--ph2-border);box-shadow:0 -5px 18px #0002}.ph2-mobile-nav a,.ph2-mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:46px;background:none;border:0;color:var(--ph2-text);text-decoration:none;font:600 11px/1.2 system-ui;cursor:pointer}.ph2-mobile-nav svg{color:var(--ph2-accent);width:20px;height:20px}body.ph2-has-mobile-nav{padding-bottom:calc(65px + env(safe-area-inset-bottom))}body.ph2-has-mobile-nav .mm-appearance-switch{bottom:calc(72px + env(safe-area-inset-bottom))!important}body.ph2-has-mobile-nav:has(.mm-auth-modal:not([hidden])) .ph2-mobile-nav{display:none}}
@media(max-width:620px){html body.mm-playhouse .mm-site-wrap{border:0!important;border-radius:0!important}html body.mm-playhouse .ph2-home .mm-max-hero{display:block!important;min-height:0!important}html body.mm-playhouse .ph2-home .mm-max-hero:before{display:none!important}html body.mm-playhouse .ph2-home .mm-max-hero-media{height:clamp(170px,50vw,245px)!important}html body.mm-playhouse .ph2-home .mm-max-hero-content{width:100%!important;padding:22px 18px!important;background:#171a20!important}.ph2-quick{padding:14px 12px 0;gap:8px}html body.mm-playhouse .ph2-home .ph2-content{padding:14px 12px!important}.ph2-section-head{align-items:flex-start}.ph2-section-head>a{max-width:98px;text-align:right}.ph2-panel>.ph2-link-grid{grid-template-columns:1fr}.ph2-link-grid>a{padding:10px;gap:8px}.ph2-quick .ph2-icon{width:28px;height:28px;flex-basis:28px}.ph2-quick .ph2-arrow{display:none}.ph2-quick strong{font-size:12px}.ph2-game-art{width:58px;height:58px;flex-basis:58px;border-radius:12px}.ph2-game-art svg{width:35px;height:35px}html body.mm-playhouse .mm-footer-grid{padding:20px 15px!important;gap:15px!important}}
@media(prefers-reduced-motion:reduce){.ph2-home *,.ph2-mobile-nav *,.ph2-menu *{animation:none!important;transition:none!important}}

.ph2-mobile-nav[hidden]{display:none!important}

/* Homepage Arcade shortcut: native fragment navigation, with sticky-header clearance. */
.ph2-home #games-tools{scroll-margin-top:var(--ph2-arcade-scroll-offset,16px)}
body.mm-sticky-header .ph2-home #games-tools{scroll-margin-top:var(--ph2-arcade-scroll-offset,160px)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
/* 2.0.10: no decorative arrows on the four hero shortcuts; native blocks keep their place. */
.ph2-home .ph2-quick .ph2-arrow{display:none!important}
html body.mm-playhouse .ph2-home .ph2-sections > :not(.mm-home-visual-section):not(.ph2-panel){min-width:0;max-width:100%;box-sizing:border-box}
