/* Scoped to shortcode; no global WordPress theme or WooCommerce overrides. */
.nmm-map{--nmm-pink:#b77178;--nmm-dark:#682e2e;--nmm-text:#3e3c3c;--nmm-muted:#897c7c;box-sizing:border-box;width:100%;max-width:1540px;margin:0 auto;padding:36px 24px 80px;color:var(--nmm-text);background:radial-gradient(ellipse 300px 220px at 2% 2%,#fff2f3 0%,transparent 85%),radial-gradient(ellipse 320px 260px at 95% 4%,#edf7f1 0%,transparent 80%),#fffdfc;font-family:'Comic Sans MS','Comic Sans',Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.1;text-align:justify}
.nmm-map *{box-sizing:border-box}
.nmm-map__header{display:flex;justify-content:center;align-items:center;padding:0 0 26px;text-align:center}
.nmm-map__logo{display:block;max-height:235px;max-width:260px;width:auto;height:auto;object-fit:contain}
.nmm-map__fallback-brand{font-family:'Coiny',Arial,sans-serif;font-size:28px;color:var(--nmm-dark);font-weight:400;margin:0}
.nmm-map__roots{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:36px;align-items:start}
.nmm-map__roots--two{grid-template-columns:minmax(0,2.12fr) minmax(0,1fr)}
.nmm-map__roots>.nmm-map__node--branch{min-width:0}
.nmm-map__node{min-width:0;text-align:center;margin:0}
.nmm-map__node--branch>.nmm-map__branch-heading{margin:0 0 22px;padding:0 0 12px;border-bottom:1px solid #efdede}
.nmm-map__branch-heading h2{margin:0;font-family:'Coiny',Arial,sans-serif;font-size:28px;line-height:1.1;font-weight:400;text-align:center;color:var(--nmm-dark)}
.nmm-map__branch-heading a{text-decoration:none}
.nmm-map__branch-heading a:hover h2,.nmm-map__branch-heading a:focus-visible h2{text-decoration:underline}
.nmm-map__branch-children{display:grid;grid-template-columns:repeat(var(--nmm-cols,2),minmax(135px,1fr));gap:16px;align-items:start;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
.nmm-map__node--series>.nmm-map__identity{padding:0 0 13px}
.nmm-map__node--episode>.nmm-map__identity{padding:2px 0}
.nmm-map__identity{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}
.nmm-map__image{display:block;width:100%;max-width:200px;height:166px;object-fit:contain;object-position:center center;margin:0 auto;border:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important}
.nmm-map__node--episode>.nmm-map__identity .nmm-map__image{max-width:143px;height:120px}
.nmm-map__link{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;width:100%;color:inherit!important;text-decoration:none!important;background:none!important;border:0!important;box-shadow:none!important}
.nmm-map__link:hover,.nmm-map__link:focus-visible{color:var(--nmm-dark)!important}
.nmm-map__link:hover .nmm-map__image,.nmm-map__link:focus-visible .nmm-map__image{transform:translateY(-3px)}
.nmm-map__link:focus-visible{outline:3px solid var(--nmm-pink);outline-offset:5px;border-radius:3px}
.nmm-map__image{transition:transform .15s ease}
.nmm-map__caption{display:block;font-family:'Madimi One','Comic Sans MS',sans-serif;font-weight:400;font-size:15px;line-height:1.2;text-align:center;color:var(--nmm-dark);overflow-wrap:anywhere;padding:2px 0 3px}
.nmm-map__node--episode .nmm-map__caption{font-family:'Comic Sans MS','Comic Sans',sans-serif;font-size:15px;color:var(--nmm-text)}
.nmm-map__soon{display:block;margin:7px auto 4px;color:var(--nmm-pink);font-size:13px;line-height:1.2;text-align:center}
.nmm-map__nested{display:flex;flex-direction:column;gap:17px;align-items:stretch;margin:16px auto 0;padding:0;min-width:0}
.nmm-map__node--episode>.nmm-map__nested,.nmm-map__node--series>.nmm-map__nested{padding-top:10px}
.nmm-map__nested>.nmm-map__node--branch{margin:8px 0 4px}
/* A series that groups branches keeps its own clickable image above a side-by-side branch grid. */
.nmm-map__node--series>.nmm-map__nested--branch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px;row-gap:22px;align-items:start;width:100%}
.nmm-map__nested--branch-grid>.nmm-map__node--branch{min-width:0;margin:0}

.nmm-map__nested>.nmm-map__node--branch>.nmm-map__branch-heading{margin-bottom:14px}
.nmm-map__nested>.nmm-map__node--branch>.nmm-map__branch-heading h2{font-family:'Madimi One','Comic Sans MS',sans-serif;font-size:22px}
.nmm-map__empty{text-align:center;font-family:'Comic Sans MS',sans-serif;color:var(--nmm-muted)}
@media(max-width:1100px){.nmm-map__roots--two{grid-template-columns:1fr;gap:50px}.nmm-map__branch-children{gap:19px}}
@media(max-width:680px){.nmm-map{padding:18px 12px 48px}.nmm-map__branch-children{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.nmm-map__logo{max-height:175px}.nmm-map__roots{gap:34px}.nmm-map__image{height:136px}.nmm-map__node--episode>.nmm-map__identity .nmm-map__image{height:100px}.nmm-map__branch-heading h2{font-size:25px}}
@media(max-width:390px){.nmm-map__branch-children{grid-template-columns:1fr}.nmm-map__image{height:150px}}
@media(max-width:800px){.nmm-map__node--series>.nmm-map__nested--branch-grid{grid-template-columns:1fr;row-gap:24px}}
@media(prefers-reduced-motion:reduce){.nmm-map__image{transition:none}}
