html:has(dialog.mpdk-subpage[open]){overflow:hidden;scrollbar-gutter:stable}
dialog.mpdk-subpage{--mpdk-gold:#d8b66e;position:fixed;inset:0;box-sizing:border-box;margin:auto;width:min(980px,94%);max-width:none;height:min(800px,87vh);height:min(800px,87dvh);max-height:none;padding:0;overflow:hidden;border:1px solid #625c51;border-radius:6px;color:#f6f4ef;background:#19191a;color-scheme:dark;font:400 1rem/1.5 "Segoe UI",Arial,sans-serif}
dialog.mpdk-subpage:not([open]),.mpdk-subpage [hidden]{display:none!important}
dialog.mpdk-subpage[open]{display:flex;flex-direction:column}
.mpdk-subpage::backdrop{background:#09090bd6}
.mpdk-subpage-bar{display:flex;flex:none;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid #514e49;background:#202021}
.mpdk-subpage-bar h2{flex:1;min-width:0;margin:0;color:inherit;font:650 1.2rem/1.25 "Segoe UI",Arial,sans-serif;letter-spacing:0;overflow-wrap:anywhere}
.mpdk-subpage button{display:grid;place-items:center;flex:none;width:44px;height:44px;margin:0;padding:0;color:#f6f4ef;background:transparent;border:1px solid #67635c;border-radius:3px;cursor:pointer}
.mpdk-subpage button:hover{color:var(--mpdk-gold);background:#302e2a}
.mpdk-subpage :focus-visible{outline:2px solid var(--mpdk-gold);outline-offset:-3px}
.mpdk-subpage svg{width:19px;height:19px}
.mpdk-subpage-stage{flex:1;min-height:0;position:relative}
.mpdk-subpage-stage iframe{display:block;width:100%;height:100%;border:0;background:#19191a}
.mpdk-subpage-stage[aria-busy=true]::before{content:"";position:absolute;z-index:1;inset:0 0 auto;height:2px;background:var(--mpdk-gold);pointer-events:none}
.mpdk-subpage-stage p{padding:16px 24px}
.mpdk-subpage-stage a{color:var(--mpdk-gold)}
.mpdk-photo-view{height:100%;display:flex;flex-direction:column}
.mpdk-photo-view>img{display:block;flex:1;min-height:0;width:100%;height:0;object-fit:contain}
.mpdk-photo-tools{display:flex;align-items:center;justify-content:center;gap:18px;padding:10px}
.mpdk-photo-tools output{min-width:6ch;text-align:center;font-variant-numeric:tabular-nums}
.mpdk-embedded :is(.mpda-bar,.mpda-crumb,.mpda-main>h1,#masthead,#colophon,.entry-header .entry-title,header.wp-block-template-part,footer.wp-block-template-part){display:none}
.mpdk-embedded .mpda-main{width:100%;box-sizing:border-box;min-height:0;max-width:none;padding:0 24px 24px}
.mpdk-embedded .mpda-main>section:first-of-type{border-top:0}
.mpdk-embedded .mpda-main section h2{margin:18px 0 14px;font-size:1.25rem}
.mpdk-embedded .mpda-main>.mpda-photos{padding-top:18px}
.mpdk-embedded .mpda-main>.mpda-text:not(:empty){padding-top:8px}
.mpdk-embedded .mpda-text>.mpde-care-stories{display:none}
@media(max-width:650px){
  dialog.mpdk-subpage{width:calc(100% - 12px);height:calc(100dvh - 24px);border-radius:4px}
  .mpdk-subpage-bar{padding:7px 9px}.mpdk-subpage-bar h2{font-size:1.02rem}
  .mpdk-embedded .mpda-main{padding-inline:12px}
}
