/* v5.3: public layout isolation. These rules do not affect the player dashboard or CV. */
body.mft-public-site{display:flex;flex-direction:column;min-height:100vh;height:auto;overflow-x:clip}
body.mft-public-site>main{position:relative;display:block;float:none;clear:both;width:100%;min-width:0;height:auto;flex:1 0 auto;z-index:auto}
body.mft-public-site>.mft-header{flex:none;width:100%}
body.mft-public-site>.advertise-page,body.mft-public-site>.ad-order-page{width:min(1240px,100%);margin:0 auto;flex:1 0 auto}
#mft-site-footer.mft-site-footer{position:relative;inset:auto;float:none;clear:both;transform:none;display:block;width:100%;height:auto;min-height:0;flex:none;opacity:1;visibility:visible;overflow:visible;z-index:1;margin:0;padding:64px max(4vw,22px) 0;background:#020c12;color:#a0b4bd;border-top:1px solid #203943;isolation:isolate}
.mft-site-footer *{min-width:0;box-sizing:border-box}
.mft-site-footer .mft-footer-grid{width:min(1280px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr);gap:clamp(26px,5vw,78px);align-items:start}
.mft-site-footer .mft-footer-brand{max-width:470px}
.mft-site-footer .mft-footer-brand img{width:var(--footer-logo-width,210px);height:auto;max-width:100%;display:block;position:static;margin:0 0 16px;object-fit:contain}
.mft-site-footer .mft-footer-brand p{font-size:14px;line-height:1.8;margin:0 0 14px}
.mft-site-footer .mft-footer-tagline{font-size:12px;color:var(--lime)}
.mft-site-footer .mft-footer-links{display:flex;flex-direction:column;gap:10px;align-items:flex-start;position:static;margin:0;padding:0}
.mft-site-footer h2{margin:5px 0 12px;font-size:12px;color:#fff;letter-spacing:.12em;text-transform:uppercase;line-height:1.5}
.mft-site-footer a,.mft-site-footer button{overflow-wrap:anywhere;font-size:13px;line-height:1.7}
.mft-site-footer a:hover,.mft-site-footer button:hover{color:var(--lime)}
.mft-site-footer .mft-footer-bottom{width:min(1280px,100%);margin:46px auto 0;padding:22px 0;border-top:1px solid #1d333e;display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;font-size:11px;line-height:1.7}
.mft-site-footer .mft-footer-bottom strong{color:#e6edf0;font-weight:500}
.mft-site-footer .mft-footer-bottom a{color:var(--lime);font-size:inherit}
/* Keep all advertising content in document flow. Only an individual rotating slide is positioned. */
.advertise-page{isolation:isolate;padding:60px 30px 72px}
.advertise-page .ad-promo-intro,.advertise-page .ad-promo-details,.advertise-page .ad-form-section,.advertise-page .ad-seller{position:relative;inset:auto;float:none;clear:both;height:auto;transform:none}
.advertise-page .ad-promo-intro{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:48px;align-items:start}
.advertise-page .ad-promo-intro>*{min-width:0;position:static;inset:auto}
.advertise-page h1{font-size:clamp(36px,4.5vw,62px);line-height:1.06;overflow-wrap:anywhere;max-width:760px;margin:18px 0 24px}
.advertise-page .ad-promo-intro p{line-height:1.8;color:#bfd0d9}
.advertise-page .ad-price-card{height:auto;align-self:start;float:none}
.advertise-page .ad-promo-details{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:44px 0}
.advertise-page .ad-form-section{margin-top:40px}
.advertise-page .ad-form-section .notice{position:static;padding:20px;border-left:3px solid var(--lime);background:#0c242e;line-height:1.8}
.advertise-page .ad-form-section .notice a{display:inline-block;text-decoration:underline;margin-left:8px}
.advertise-page .ad-promo-intro h1,.advertise-page .ad-form-section h2{position:static}
/* Long side navigation remains reachable without covering content. */
.app-shell>aside{overflow-y:auto;overscroll-behavior:contain}
.form-grid label{min-width:0}
@media(max-width:780px){.mft-site-footer .mft-footer-grid{grid-template-columns:1fr 1fr;gap:32px}.mft-footer-brand{grid-column:1/-1}.mft-site-footer .mft-footer-bottom{flex-direction:column}.advertise-page .ad-promo-intro{grid-template-columns:minmax(0,1fr);gap:28px}.advertise-page .ad-promo-details{grid-template-columns:minmax(0,1fr);gap:8px}.advertise-page{padding:36px 20px 46px}.advertise-page h1{font-size:39px}.app-shell>aside{overflow:visible}}
@media(max-width:430px){#mft-site-footer.mft-site-footer{padding:40px 20px 0}.mft-site-footer .mft-footer-grid{column-gap:20px}.mft-site-footer a,.mft-site-footer button{font-size:12px}.advertise-page h1{font-size:34px}}
@media print{#mft-site-footer,.mft-header,.cookie-panel{display:none!important}}

body.mft-public-site>main.container{width:min(1180px,92%)}
