/* AI복덕방 Intro V14.1.3 — DNF Bitbeat branding + mobile/Safari layout polish */
@font-face {
    font-family:'DnfBitbeatV2';
    src:url('https://cdn.df.nexon.com/img/common/font/DNFBitBitv2.otf') format('opentype');
    font-weight:400;
    font-style:normal;
    font-display:swap;
}

html,body.aire-body{max-width:100%;overflow-x:hidden}
body.aire-body{min-width:0!important;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.aire-main.aire131-main{max-width:100%;overflow-x:hidden}
.aire-main.aire131-main *{min-width:0}
.aire-header{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.aire14-cert-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.aire-logo-text,.aire-footer__logo-wrap strong{
    font-family:'DnfBitbeatV2','Apple SD Gothic Neo','Noto Sans KR',sans-serif!important;
    font-weight:400!important;
    letter-spacing:0!important;
    line-height:1!important;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}
.aire131-duksuni__grid{gap:40px!important}
.aire14-short-ticker,.aire14-shorts-showcase{max-width:100%;overflow:hidden}
.aire14-short-track{will-change:transform;-webkit-transform:translateZ(0);transform:translateZ(0)}
.aire14-short-card video,.aire141-feature-short{-webkit-transform:translateZ(0);transform:translateZ(0)}
.aire14-cert-dialog{max-width:calc(100vw - 32px);-webkit-overflow-scrolling:touch}

@media(max-width:1120px){
    body.aire-body{min-width:0!important}
    .aire131-hero__grid,.aire131-duksuni__grid,.aire131-news-grid,.aire14-cert-grid,.aire141-pricing-grid{grid-template-columns:minmax(0,1fr)!important}
    .aire131-hero__grid{gap:42px!important}
    .aire131-duksuni__grid,.aire131-news-grid,.aire14-cert-grid{gap:38px!important}
    .aire131-hero__product,.aire131-news-ui,.aire14-cert-visual,.aire141-price-card{max-width:100%;min-width:0}
    .aire131-product-stage{max-width:100%}
}

@media(max-width:820px){
    .aire-header__inner{justify-content:center!important}
    .aire-logo-wrap{justify-content:center}
    .aire131-wrap{width:calc(100% - 32px)!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important}
    .aire131-hero__copy,.aire131-head,.aire131-duksuni__copy,.aire131-news-copy,.aire14-cert-copy,.aire141-pricing-head{text-align:center}
    .aire131-head,.aire131-news-copy,.aire14-cert-copy{margin-left:auto;margin-right:auto}
    .aire131-kicker{justify-content:center}
    .aire131-actions{justify-content:center}
    .aire131-proof{justify-content:center}
    .aire131-news-copy ul{text-align:left}
    .aire131-duksuni-list{text-align:left}
    .aire14-cert-benefits{text-align:left}
    .aire14-cert-actions{justify-content:center}
    .aire131-channel-icons{justify-content:center}
    .aire131-program-bottom{text-align:center;justify-content:center}
    .aire131-cta__box{text-align:center}
    .aire131-cta__box .aire131-actions{justify-content:center}
    .aire-footer__inner{text-align:center}
    .aire-footer__logo-wrap{justify-content:center}
    .aire-footer__family{width:min(100%,360px);margin:0 auto}
}

@media(max-width:760px){
    .aire131-wrap{width:calc(100% - 28px)!important}
    .aire131-hero{padding:52px 0 64px!important}
    .aire131-hero__grid,.aire131-duksuni__grid,.aire131-news-grid,.aire14-cert-grid{gap:30px!important}
    .aire131-hero__copy h1{font-size:clamp(38px,11vw,46px)!important;line-height:1.08!important;word-break:keep-all}
    .aire131-hero__copy>p{font-size:15px!important;line-height:1.72!important;max-width:none!important;word-break:keep-all}
    .aire131-actions{display:grid!important;grid-template-columns:1fr!important;width:100%;gap:9px!important}
    .aire131-actions .aire131-btn{width:100%!important;min-width:0!important}
    .aire131-proof{gap:6px!important;margin-top:18px!important}
    .aire131-proof span{font-size:9px!important;padding:7px 9px!important}

    /* Hero product + Duksuni: center first, overlap safely second */
    .aire131-hero__product{display:flex!important;flex-direction:column!important;align-items:center!important;min-height:0!important;padding:14px 0 0!important;width:100%!important}
    .aire131-studio{width:100%!important;border-radius:22px!important}
    .aire131-windowbar{height:auto!important;min-height:50px!important;padding:10px 12px!important;gap:8px!important}
    .aire131-windowbar>strong{flex:1 1 auto!important;font-size:10px!important;white-space:normal!important;line-height:1.35!important}
    .aire131-live{flex:0 0 auto!important;font-size:7px!important;padding:5px 7px!important}
    .aire131-studio__body{grid-template-columns:minmax(0,1fr)!important;gap:14px!important;padding:18px 15px!important}
    .aire131-upload-panel{width:100%!important;min-height:0!important;padding:19px!important;text-align:center}
    .aire131-upload-stack{margin:0 auto 15px!important}
    .aire131-ai-core{padding:13px 0 5px!important}
    .aire131-output-mini{width:100%!important;min-height:155px!important;padding:20px!important;text-align:left}
    .aire131-output-mini>div{margin-top:24px!important}
    .aire131-channel-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:0 15px 16px!important;gap:7px!important}
    .aire131-channel-pill{height:49px!important}
    .aire131-studio__footer{grid-template-columns:minmax(0,1fr)!important;padding:12px 15px!important;gap:9px!important;text-align:left}
    .aire131-studio__footer>strong{text-align:left!important}
    .aire131-duksuni-layer--hero{position:relative!important;right:auto!important;bottom:auto!important;width:min(190px,56vw)!important;margin:-46px auto 0!important;align-self:center!important;transform:none!important}
    .aire131-model-copy{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;margin:-10px auto 0!important;padding:12px 14px!important;text-align:center!important;border-radius:13px!important}
    .aire131-model-copy strong{font-size:12px!important}
    .aire131-model-copy span{font-size:10px!important;line-height:1.65!important}
    .aire131-float-note{display:none!important}

    /* Main program demo */
    .aire131-product-stage{width:100%!important;max-width:100%!important;padding:8px 0 70px!important}
    .aire131-program-window{width:100%!important;border-radius:23px!important}
    .aire131-program-grid{grid-template-columns:minmax(0,1fr)!important}
    .aire131-program-grid>div{min-height:0!important;padding:22px 17px!important;border-right:0!important;border-bottom:1px solid #ededee!important;text-align:center}
    .aire131-program-grid>div:last-child{border-bottom:0!important}
    .aire131-photo-grid{width:min(100%,330px);margin-left:auto;margin-right:auto}
    .aire131-source-tags{justify-content:center}
    .aire131-program-engine ol{width:min(100%,330px);margin-left:auto;margin-right:auto}
    .aire131-program-result{text-align:left!important}
    .aire131-program-bottom{align-items:center!important;flex-direction:column!important;padding:15px!important;gap:13px!important}
    .aire131-channel-icons{justify-content:center!important}
    .aire131-duksuni-layer--point{position:relative!important;right:auto!important;bottom:auto!important;width:min(165px,48vw)!important;margin:-36px auto 0!important;transform:none!important}
    .aire14-product-punch{width:100%!important;text-align:center!important;align-items:center!important}

    /* Duksuni Shorts */
    .aire131-duksuni{padding:72px 0!important}
    .aire131-duksuni-video{width:min(100%,420px)!important;min-height:500px!important;margin:0 auto!important}
    .aire131-video-frame{position:relative!important;left:auto!important;top:auto!important;width:min(280px,76vw)!important;height:auto!important;aspect-ratio:9/16!important;margin:0 auto!important}
    .aire131-duksuni-layer--heart{left:auto!important;right:0!important;bottom:-14px!important;width:min(190px,54vw)!important}
    .aire131-duksuni__copy h2,.aire131-news-copy h2{font-size:clamp(34px,9vw,42px)!important;line-height:1.12!important;word-break:keep-all}
    .aire131-duksuni__copy>p,.aire131-news-copy>p{font-size:14px!important;line-height:1.75!important;word-break:keep-all}
    .aire131-duksuni-list{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}

    /* Shorts ticker */
    .aire14-shorts-showcase{padding:70px 0 60px!important}
    .aire14-short-ticker{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important}
    .aire14-short-card{flex-basis:155px!important;border-radius:19px!important}
    .aire14-short-track{gap:11px!important;padding-left:12px!important}
    .aire14-short-overlay{padding:45px 11px 12px!important}

    /* News */
    .aire131-news-ui{width:100%!important;padding-bottom:102px!important;border-radius:22px!important}
    .aire131-news-tabs{overflow-x:auto!important;white-space:nowrap!important;padding:13px 12px!important;-webkit-overflow-scrolling:touch;scrollbar-width:none}
    .aire131-news-tabs::-webkit-scrollbar{display:none}
    .aire131-news-card{grid-template-columns:76px minmax(0,1fr)!important;gap:11px!important;margin:0 11px 9px!important;padding:10px!important}
    .aire131-news-card>i{min-height:92px!important}
    .aire131-news-card b{font-size:11.5px!important;line-height:1.4!important}
    .aire131-news-card p{font-size:9px!important;line-height:1.5!important}
    .aire131-duksuni-layer--news{right:50%!important;bottom:-16px!important;width:125px!important;transform:translateX(50%)!important}
    .aire131-news-copy ul{margin-top:20px!important}

    /* Premium plaque */
    .aire14-cert{padding:72px 0!important}
    .aire14-cert-visual{width:min(100%,400px)!important;min-height:445px!important;margin:0 auto!important}
    .aire14-plaque-wrap{left:0!important;top:20px!important;width:min(225px,61vw)!important;border-radius:23px!important;transform:rotate(-3deg)!important}
    .aire14-cert-phone{right:0!important;bottom:25px!important;width:min(220px,60vw)!important;padding:20px 17px!important;border-radius:22px!important;transform:rotate(2deg)!important}
    .aire14-cert-phone h3{font-size:21px!important;margin:14px 0 4px!important}
    .aire14-cert-phone-top{margin-bottom:16px!important}
    .aire14-cert-duksuni{right:-2px!important;bottom:-4px!important;width:min(108px,30vw)!important}
    .aire14-cert-copy h2{font-size:clamp(33px,9vw,41px)!important;word-break:keep-all}
    .aire14-cert-copy p{font-size:14px!important;line-height:1.75!important;word-break:keep-all}
    .aire14-cert-benefits{grid-template-columns:minmax(0,1fr)!important;text-align:center!important}
    .aire14-cert-actions .aire131-btn{width:100%!important}

    /* Pricing */
    .aire141-pricing-head h2{font-size:clamp(36px,9.5vw,44px)!important;word-break:keep-all}
    .aire141-pricing-head p{font-size:14px!important;line-height:1.72!important}
    .aire141-pricing-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important;margin-top:30px!important}
    .aire141-price-card{width:100%!important;max-width:100%!important;min-height:0!important;padding:29px 22px 24px!important;border-radius:24px!important;margin:0!important;transform:none!important}
    .aire141-price-card:hover,.aire141-price-card--premium:hover{transform:none!important}
    .aire141-price-value b{font-size:43px!important}
    .aire141-price-card li{font-size:14px!important}

    /* CTA + footer */
    .aire131-cta{padding:66px 0 82px!important}
    .aire131-cta__box{min-height:0!important;padding:40px 20px 220px!important;border-radius:27px!important;overflow:hidden!important}
    .aire131-cta h2{font-size:clamp(32px,9vw,40px)!important;word-break:keep-all}
    .aire131-duksuni-layer--cta{right:50%!important;bottom:0!important;width:min(185px,53vw)!important;transform:translateX(50%)!important}
    .aire-footer{padding:30px 0 34px!important}
    .aire-footer__inner{gap:22px!important}
    .aire-footer__logo-wrap strong{font-size:22px!important}
    .aire-footer__brand p,.aire-footer__info p{font-size:12.5px!important;line-height:1.65!important;word-break:keep-all}

    /* Modal on iOS/Safari */
    .aire14-cert-modal{padding:12px!important;align-items:center!important}
    .aire14-cert-dialog{width:100%!important;max-width:100%!important;max-height:calc(100vh - 24px)!important;max-height:calc(100dvh - 24px)!important;padding:22px 16px!important;border-radius:24px!important}
    .aire14-cert-dialog-grid{grid-template-columns:minmax(0,1fr)!important;gap:22px!important}
    .aire14-cert-dialog-visual{min-height:285px!important;padding:14px!important}
    .aire14-plaque-wrap--modal{width:min(235px,72vw)!important}
    .aire14-cert-dialog-copy{text-align:center!important}
    .aire14-cert-dialog-copy h2{font-size:27px!important;word-break:keep-all}
    .aire14-cert-dialog-copy ul{text-align:left}
}

@media(max-width:480px){
    .aire131-wrap{width:calc(100% - 24px)!important}
    .aire-logo-text{font-size:21px!important}
    .aire131-windowbar .aire131-live{display:none!important}
    .aire131-channel-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
    .aire131-channel-pill b{font-size:8px!important}
    .aire131-video-frame{width:min(265px,78vw)!important}
    .aire131-duksuni-video{min-height:470px!important}
    .aire131-duksuni-layer--heart{width:min(170px,50vw)!important}
    .aire131-news-card{grid-template-columns:68px minmax(0,1fr)!important}
    .aire131-news-card>i{min-height:84px!important}
    .aire14-cert-visual{min-height:400px!important}
    .aire14-plaque-wrap{width:min(195px,58vw)!important}
    .aire14-cert-phone{width:min(195px,58vw)!important;padding:17px 14px!important}
    .aire14-cert-phone p{font-size:9px!important}
    .aire14-cert-duksuni{display:block!important;width:min(92px,27vw)!important}
    .aire141-price-value b{font-size:39px!important}
    .aire141-price-card li,.aire141-price-card li strong{font-size:13.5px!important}
}

@supports (-webkit-touch-callout:none){
    .aire131-studio,.aire131-program-window,.aire14-cert-dialog,.aire14-short-card{-webkit-transform:translateZ(0)}
    .aire14-short-card video,.aire141-feature-short{-webkit-backface-visibility:hidden;backface-visibility:hidden}
}
