#pre04-tools{margin-top:18px;border:1px solid #dce3f0;border-radius:13px;padding:14px;background:#f8faff}#pre04-tools .pre04-buttons{display:flex;flex-wrap:wrap;gap:8px}#pre04-tools button{width:auto;border:1px solid #c9d3e9;border-radius:9px;background:white;padding:8px 11px;cursor:pointer;color:#22355c;font-weight:600}#pre04-tools .pre04-note{font-size:12px;color:#64748b;line-height:1.5}#pre04-tools button:focus-visible{outline:3px solid #4d64f5}.pre04-ad-stack{margin-top:16px;display:flex;flex-direction:column;gap:16px;align-items:center}.pre04-ad-card{width:100%;max-width:320px;margin:0 auto;overflow:hidden;border:1px solid #e0e6f1;background:#fff;border-radius:12px}.pre04-ad-label{padding:7px 10px;font:11px system-ui;color:#64748b;background:#f8fafc}.pre04-ad-card img{display:block;width:100%;height:auto}.pre04-ad-card a{display:block}.pre04-ad-empty{min-height:180px;display:grid;place-items:center;color:#8792a7;font:13px system-ui}.pre04-ad-adsense{width:100%;min-height:180px;overflow:hidden}
/* HF01: fixed-width ad stack separated from preview card */
.studio-right-column{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:16px}
.studio-right-column>.panel{width:100%;min-width:0}
.studio-right-column>.pre04-ad-stack{width:340px;max-width:100%;margin:0 auto;align-self:center;gap:16px}
.studio-right-column .pre04-ad-card{width:100%;max-width:none;margin:0;box-sizing:border-box}
.studio-right-column .pre04-ad-card img{display:block;width:100%;height:auto;object-fit:contain}
.studio-right-column .pre04-ad-adsense{width:100%;min-height:0;height:auto;overflow:hidden}
.studio-right-column .pre04-ad-adsense ins{width:100%;max-width:100%}
@media(max-width:800px){.studio-right-column>.pre04-ad-stack{width:min(340px,100%)}}
