:root{--popup-ink:#15191d;--popup-line:#d8dde0;--popup-paper:#fff;--popup-wash:#f3f5f5}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:'Noto Sans KR',-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;color:var(--popup-ink);background:var(--popup-paper)}
button,a{font:inherit}.popup-window-body{min-height:100vh;display:flex;flex-direction:column}.popup-window-main{flex:1;min-height:0}
.popup-full-image{width:100%;height:calc(100vh - 58px);background:#0d0f10;display:grid;place-items:center}.popup-full-image img{display:block;width:100%;height:100%;object-fit:contain}
.popup-text-card{width:min(720px,calc(100% - 40px));margin:0 auto;padding:clamp(42px,8vw,88px) 0 60px}.popup-text-card h1{margin:0 0 24px;font-size:clamp(30px,4.5vw,54px);line-height:1.22;letter-spacing:-.04em}.popup-text-body{font-size:16px;line-height:1.85;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
.popup-link-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-top:30px;padding:11px 18px;background:var(--popup-ink);color:#fff;text-decoration:none}.popup-align-left{text-align:left}.popup-align-center{text-align:center}.popup-align-right{text-align:right}
.popup-window-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:8px;padding:9px 12px;border-top:1px solid var(--popup-line);background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}.popup-window-actions button{min-height:40px;border:1px solid var(--popup-line);background:#fff;padding:8px 13px;color:#4b5459;cursor:pointer}.popup-window-actions button:last-child{background:var(--popup-ink);border-color:var(--popup-ink);color:#fff}
.site-popup-layer{position:fixed;inset:0;z-index:1000;background:rgba(10,12,13,.72);display:grid;place-items:center;padding:20px}.site-popup-layer[hidden]{display:none!important}.site-popup-layer.is-image{padding:0;background:#050606}
.site-popup-card{position:relative;width:min(720px,calc(100vw - 40px));max-height:calc(100vh - 40px);overflow:auto;background:#fff;box-shadow:0 24px 90px rgba(0,0,0,.28)}.site-popup-layer.is-image .site-popup-card{width:100vw;height:100vh;max-height:none;background:#050606;box-shadow:none;display:flex;flex-direction:column}
.site-popup-media{flex:1;min-height:0}.site-popup-media img{display:block;width:100%;height:100%;max-height:calc(100vh - 58px);object-fit:contain}
.site-popup-text{padding:clamp(30px,5vw,58px)}.site-popup-text h2{margin:0 0 20px;font-size:clamp(28px,4vw,46px);line-height:1.25;letter-spacing:-.035em}.site-popup-copy{font-size:15px;line-height:1.85;word-break:keep-all;overflow-wrap:anywhere}
.site-popup-text.popup-align-left{text-align:left}.site-popup-text.popup-align-center{text-align:center}.site-popup-text.popup-align-right{text-align:right}.site-popup-actions{display:flex;justify-content:flex-end;gap:8px;padding:9px 12px;border-top:1px solid var(--popup-line);background:#fff}.site-popup-layer.is-image .site-popup-actions{background:#0e1011;border-color:#25292c}
.site-popup-actions button{min-height:40px;border:1px solid var(--popup-line);background:#fff;padding:8px 13px;color:#4b5459;cursor:pointer}.site-popup-layer.is-image .site-popup-actions button{border-color:#444a4e;background:#181b1d;color:#fff}.site-popup-close-x{position:absolute;z-index:2;right:12px;top:12px;width:42px;height:42px;border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.5);color:#fff;font-size:22px;cursor:pointer}.site-popup-layer:not(.is-image) .site-popup-close-x{border-color:var(--popup-line);background:#fff;color:#3c454a}.site-popup-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;margin-top:28px;padding:10px 17px;background:var(--popup-ink);color:#fff;text-decoration:none}
@media(max-width:640px){.site-popup-layer{padding:10px}.site-popup-card{width:100%;max-height:calc(100vh - 20px)}.site-popup-text{padding:48px 22px 30px}.site-popup-actions,.popup-window-actions{justify-content:stretch}.site-popup-actions button,.popup-window-actions button{flex:1}.popup-text-card{width:calc(100% - 32px);padding-top:46px}.popup-full-image{height:calc(100vh - 62px)}}.popup-text-card h2{margin:0 0 24px;font-size:clamp(30px,4.5vw,54px);line-height:1.22;letter-spacing:-.04em}
