(function () { // 스타일 정의 const style = document.createElement("style"); style.innerHTML = ` /* 도메인 안내 배너 스타일 */ .domain-marquee-bar { width: 100%; background: linear-gradient(90deg, #ff0066, #6600ff); color: white; font-weight: bold; padding: 10px 0; overflow: hidden; position: relative; font-size: 18px; box-shadow: 0 0 10px rgba(255, 0, 153, 0.7); } .domain-marquee-bar span { display: inline-block; padding-left: 100%; animation: scroll-left 15s linear infinite; white-space: nowrap; } @keyframes scroll-left { 0% { transform: translateX(0%); } 100% { transform: translateX(-100%); } } /* 광고 배너 스타일 */ .ad-banner-section32 { display: flex; flex-direction: column; gap: 10px; margin: 20px auto; max-width: 1280px; } .ad-banner-row32 { display: flex; justify-content: space-between; flex-wrap: wrap; } .ad-banner-item32 { width: 49%; } .ad-banner-item32 img { width: 100%; height: auto; display: block; } `; document.head.appendChild(style); // 도메인 안내 HTML const domainHTML = `
`; // 광고 배너 HTML const adHTML = ` `; // 삽입 const wrapper = document.createElement("div"); wrapper.innerHTML = domainHTML + adHTML; const scriptTag = document.currentScript || (function() { const scripts = document.getElementsByTagName('script'); return scripts[scripts.length - 1]; })(); scriptTag.parentNode.insertBefore(wrapper, scriptTag); })();