.nsam-slot { box-sizing:border-box; display:block; clear:both; width:100%; max-width:100%; min-width:0; min-height:var(--nsam-height,0px); margin:24px auto; text-align:center; }
.nsam-slot__creative { width:var(--nsam-width,100%); max-width:100%; min-height:var(--nsam-height,0px); margin-inline:auto; overflow-x:auto; overflow-y:hidden; }
.nsam-slot__creative iframe { border:0; max-width:100%; }
.nsam-slot__creative img { max-width:100%; height:auto; }
.nsam-slot--stable { height:var(--nsam-height); overflow:hidden; contain:layout style; }
.nsam-slot--stable .nsam-slot__creative { height:100%; overflow:hidden; }
.nsam-slot--header, .nsam-slot--footer { width:min(calc(100% - 40px),var(--tj-max,1400px)); }
.nsam-slot--grid-row { grid-column:1 / -1; flex-basis:100%; align-self:center; margin:12px 0; }
.nsam-slot--popunder { position:absolute; width:0; height:0; min-height:0; margin:0; overflow:visible; }
.nsam-slot--popunder .nsam-slot__creative { width:0; min-height:0; }
.nsam-detail-column { min-width:0; }
.nsam-slot--sidebar { margin-top:18px; }
@media(min-width:901px) { .tj-single__content:has(>.nsam-detail-column .nsam-slot--sidebar) { grid-template-columns:minmax(0,1fr) 320px; } }
@media(max-width:767px) { .nsam-slot { margin-block:16px; } .nsam-slot--header,.nsam-slot--footer { width:calc(100% - 24px); } }
.nsam-preview-box { display:flex; flex-direction:column; justify-content:center; gap:8px; box-sizing:border-box; width:var(--nsam-width,100%); max-width:100%; min-height:max(90px,var(--nsam-height,90px)); margin:auto; padding:20px; border:1px dashed #5fa8ff; border-radius:12px; background:#101c2c; color:#eff6ff; font:14px/1.5 system-ui,sans-serif; }
.nsam-preview-box strong { color:#85bcff; font-size:17px; }.nsam-preview-box small { color:#a9b9ce; }
.nsam-diagnostics { position:fixed; bottom:20px; left:20px; z-index:2147483646; width:350px; max-width:calc(100vw - 40px); max-height:65vh; overflow:auto; box-sizing:border-box; padding:18px; border:1px solid #344861; border-radius:14px; box-shadow:0 12px 60px #0008; background:#101722; color:#edf3ff; font:12px/1.6 system-ui,sans-serif; text-align:left; }
.nsam-diagnostics strong { color:#85bcff; }.nsam-diagnostics p { margin:8px 0; font-size:12px; }.nsam-diagnostics ul { list-style:none; padding:0; margin:12px 0; }.nsam-diagnostics li { display:flex; justify-content:space-between; gap:16px; padding:5px 0; border-bottom:1px solid #283245; }.nsam-diagnostics li span:last-child { text-align:right; color:#b9c8dd; }.nsam-diagnostics a,.nsam-diagnostics button { display:inline-block; margin:8px 12px 0 0; color:#9fcaff; background:transparent; border:0; padding:0; text-decoration:underline; font:inherit; cursor:pointer; }
.nsam-diagnostics [hidden] { display:none!important; }
