/* Our Friends — an integrated, full-width footer section. */
html body.mm-playhouse .mm-footer .ph2-footer-affiliates {
    grid-column: 1 / -1;
    min-width: 0;
    margin-top: 2px;
    padding: 21px 0 3px;
    border-top: 1px solid var(--ph2-border, #353a44);
    color: var(--ph2-text, inherit);
    text-align: center;
}
html body.mm-playhouse .mm-footer .ph2-affiliate-heading {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    margin: 0 0 15px; padding: 0;
    color: var(--ph2-text, inherit);
    font-size: 17px; font-weight: 800; letter-spacing: -.015em;
    line-height: 1.3; text-transform: none;
}
html body.mm-playhouse .mm-footer .ph2-affiliate-heading svg {
    display: block; width: 20px; height: 20px; flex: 0 0 20px;
    color: var(--ph2-accent, #a3d95b);
}
html body.mm-playhouse .mm-footer .ph2-affiliate-buttons {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 10px; list-style: none; margin: 0; padding: 0;
}
html body.mm-playhouse .mm-footer .ph2-affiliate-buttons li {
    display: block; flex: 0 0 100px; margin: 0; padding: 0; list-style: none;
}
html body.mm-playhouse .mm-footer .ph2-affiliate-buttons a {
    display: grid; place-items: center; box-sizing: border-box;
    width: 100px; height: 43px; margin: 0; padding: 5px;
    border: 1px solid var(--ph2-border, #353a44); border-radius: 7px;
    background: var(--ph2-surface, #171a20); box-shadow: none;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}
html body.mm-playhouse .mm-footer .ph2-affiliate-buttons img {
    display: block; box-sizing: border-box; width: 88px; height: 31px;
    max-width: none; max-height: none; margin: 0; padding: 0;
    border: 0; border-radius: 0; background: transparent; box-shadow: none;
    object-fit: contain;
}
html body.mm-playhouse .mm-footer .ph2-affiliate-buttons a:hover {
    border-color: var(--ph2-accent, #a3d95b); transform: translateY(-2px);
}
html body.mm-playhouse .mm-footer .ph2-affiliate-buttons a:focus-visible {
    outline: 2px solid var(--ph2-accent, #a3d95b); outline-offset: 2px;
}
html body.mm-playhouse .mm-footer .ph2-affiliates-left { text-align: left; }
html body.mm-playhouse .mm-footer .ph2-affiliates-left :is(.ph2-affiliate-heading,.ph2-affiliate-buttons) { justify-content: flex-start; }
html body.mm-playhouse .mm-footer .ph2-affiliates-right { text-align: right; }
html body.mm-playhouse .mm-footer .ph2-affiliates-right :is(.ph2-affiliate-heading,.ph2-affiliate-buttons) { justify-content: flex-end; }
@media (max-width: 620px) {
    html body.mm-playhouse .mm-footer .ph2-footer-affiliates { padding-top: 18px; }
    html body.mm-playhouse .mm-footer .ph2-affiliate-buttons { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    html body.mm-playhouse .mm-footer .ph2-affiliate-buttons a { transition: none; }
    html body.mm-playhouse .mm-footer .ph2-affiliate-buttons a:hover { transform: none; }
}

html body.mm-playhouse .mm-footer .ph2-affiliate-heading span { min-width: 0; overflow-wrap: anywhere; }
