/* Semua komponen sponsor memakai namespace hk-ad agar tidak bentrok dengan UI */
.hk-ad-zone{margin:14px 0 20px;clear:both}.hk-ad-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.hk-ad{position:relative;min-width:0;overflow:hidden;border-radius:12px;border:1px solid rgba(125,125,125,.25);background:#fff;color:#444;padding:19px 6px 6px;box-shadow:0 2px 12px rgba(0,0,0,.08)}
.hk-ad a{display:block;line-height:0}.hk-ad img{display:block;width:100%;height:auto;max-height:170px;object-fit:contain;aspect-ratio:728/90}
.hk-ad-label{position:absolute;top:4px;left:9px;font-size:10px;letter-spacing:.02em;color:#5b6470;line-height:1.3}
.hk-ad-close,.hk-ad-popup-close{position:absolute;z-index:2;right:4px;top:3px;width:30px;height:30px;border:0;border-radius:8px;background:#f1f3f5;color:#1f2937;font:700 23px/1 Arial,sans-serif;cursor:pointer;display:grid;place-items:center}
.hk-ad-close:hover,.hk-ad-popup-close:hover{background:#fee2e2}.hk-ad-close:focus-visible,.hk-ad-popup-close:focus-visible{outline:3px solid #dc2626;outline-offset:2px}
.hk-ad-floating{position:fixed;z-index:1000;left:50%;bottom:12px;transform:translateX(-50%);width:min(960px,calc(100vw - 28px));margin:0;pointer-events:none}
.hk-ad-floating .hk-ad-grid{pointer-events:auto}.hk-ad-floating .hk-ad{box-shadow:0 6px 22px rgba(0,0,0,.22)}.hk-ad-floating .hk-ad img{max-height:105px}
.hk-ad-popup[hidden]{display:none!important}.hk-ad-popup{position:fixed;z-index:1100;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.42);padding:18px;overflow:auto}
.hk-ad-popup-inner{position:relative;width:min(560px,100%);max-height:85vh;overflow:auto;background:#fff;border-radius:16px;padding:42px 12px 12px;box-shadow:0 16px 60px rgba(0,0,0,.25)}
.hk-ad-popup-close{right:9px;top:8px}.hk-ad-popup .hk-ad-grid{grid-template-columns:1fr}.hk-ad-popup .hk-ad img{max-height:330px;aspect-ratio:auto}
@media(max-width:650px){.hk-ad-grid{grid-template-columns:1fr;gap:8px}.hk-ad-zone{margin:10px 0 16px}.hk-ad img{max-height:135px}.hk-ad-floating{bottom:6px;width:min(350px,calc(100vw - 24px))}.hk-ad-floating .hk-ad-grid{gap:5px}.hk-ad-floating .hk-ad{padding:15px 4px 4px}.hk-ad-floating .hk-ad img{max-height:65px}.hk-ad-floating .hk-ad-close{height:25px;width:25px;font-size:20px}.hk-ad-popup-inner{padding:43px 9px 9px}}
@media(prefers-reduced-motion:reduce){.hk-ad-popup{scroll-behavior:auto}}
