@media screen and (max-width:767px){
body[data-spm-active]{--spm-ink:#f5f5ee;--spm-soft:#bdced9;--spm-navy:#091828;--spm-panel:#162f43;--spm-line:#4e6b80;--spm-gold:#e9cd94;--spm-bar:64px;overflow-wrap:anywhere;min-width:280px}
body[data-spm-active] [data-spm-hidden="1"]{display:none!important}
body[data-spm-active] :is(.spm-bar,.spm-dialog-bar,.spm-entry,.spm-controls,.spm-all-dialog),body[data-spm-active] [data-spm-rail],body[data-spm-active] [data-spm-rail]>*{box-sizing:border-box}
body[data-spm-active]>.spm-bar,body[data-spm-active] .spm-dialog-bar{display:grid!important;grid-template-columns:64px minmax(0,1fr) 64px;align-items:center;gap:9px;min-height:64px;margin:0;padding:9px 12px;border:0;border-bottom:1px solid var(--spm-line);border-radius:0;background:#0b1b2ef5;color:var(--spm-ink);font:650 14px/1.45 system-ui,-apple-system,"Noto Sans KR",sans-serif;backdrop-filter:blur(14px);text-align:center}
body[data-spm-active]>.spm-bar{position:sticky;top:0;z-index:2147482000;width:100%}
body[data-spm-active] .spm-dialog-bar{position:sticky;top:0;z-index:20;flex:0 0 auto;width:100%;}
body[data-spm-active] :is(.spm-bar,.spm-dialog-bar)>strong{display:block;min-width:0;color:var(--spm-ink);font:inherit;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-spm-active] :is(.spm-bar,.spm-dialog-bar)>button,body[data-spm-active] .spm-controls>button{appearance:none;display:flex;align-items:center;justify-content:center;min-height:44px;margin:0;border:1px solid #668197;border-radius:11px;background:#193a50;color:#fff;padding:8px 9px;box-shadow:none;font:650 14px/1.4 system-ui,sans-serif;white-space:normal;cursor:pointer;touch-action:manipulation}
body[data-spm-active] :is(.spm-bar,.spm-dialog-bar,.spm-controls) button:focus-visible,body[data-spm-active] .spm-card:focus-visible{outline:3px solid var(--spm-gold);outline-offset:2px}
body[data-spm-active] .spm-entry{width:100%;max-width:700px;min-width:0;padding:16px 13px 22px;margin:0 auto;background:var(--spm-navy);color:var(--spm-ink);scroll-margin-top:76px}
body[data-spm-active] .spm-heading{margin:0;padding:0 3px 15px}
body[data-spm-active] .spm-heading p:first-child{margin:0 0 5px;font:750 10px/1.5 system-ui,sans-serif;letter-spacing:.15em;color:var(--spm-gold)}
body[data-spm-active] .spm-heading h1{margin:0 0 6px;font:800 25px/1.4 system-ui,sans-serif;letter-spacing:-.035em;color:var(--spm-ink)}
body[data-spm-active] .spm-heading p:last-child{font:400 13px/1.7 system-ui,sans-serif;color:var(--spm-soft);margin:0}
body[data-spm-active] :is([data-spm-rail],#sgTemplateGrid.sg-template-grid,.sgs-purpose-rail.sgs-purpose-rail,.smg-purpose-rail.smg-purpose-rail,.sfg2-methods.sfg2-methods):not([hidden]){display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;gap:12px!important;overflow-x:auto!important;overflow-y:hidden!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0 0 4px!important;scroll-snap-type:x mandatory;scroll-padding-inline:0;overscroll-behavior-x:contain;scrollbar-width:none;align-items:stretch}
body[data-spm-active] [data-spm-rail]::-webkit-scrollbar{display:none}
body[data-spm-active] :is([data-spm-rail],#sgTemplateGrid.sg-template-grid,.sgs-purpose-rail.sgs-purpose-rail,.smg-purpose-rail.smg-purpose-rail,.sfg2-methods.sfg2-methods)>:not([hidden]){flex:0 0 calc(100% - 23px)!important;min-width:0!important;max-width:none!important;scroll-snap-align:start;scroll-snap-stop:always}
body[data-spm-active] .spm-card{appearance:none;display:flex;flex-direction:column;min-width:0;overflow:hidden;padding:0!important;margin:0!important;min-height:290px;border:1px solid var(--spm-line)!important;border-radius:21px!important;background:linear-gradient(145deg,#203e51,#11283b)!important;color:var(--spm-ink)!important;text-align:start;font:inherit;box-shadow:0 10px 23px #0002;cursor:pointer;touch-action:manipulation}
body[data-spm-active] .spm-card>img{display:block;width:100%!important;height:clamp(145px,32dvh,240px)!important;object-fit:cover!important;margin:0!important;border:0!important;border-radius:0!important}
body[data-spm-active] .spm-copy{display:flex;flex-direction:column;gap:12px;flex:1;padding:16px;line-height:1.6}
body[data-spm-active] .spm-copy>strong{font:750 21px/1.5 system-ui,sans-serif;color:#fff;white-space:normal}
body[data-spm-active] .spm-copy>span{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:auto;padding:9px 12px;border:1px solid #82b0ed;border-radius:12px;background:#2a62bd;color:#fff;font:700 14px/1.5 system-ui,sans-serif}
body[data-spm-active] .spm-controls{display:grid;grid-template-columns:minmax(44px,.85fr) minmax(30px,.6fr) minmax(44px,.85fr) minmax(76px,1.2fr);align-items:center;gap:7px;max-width:100%;padding:9px 0 0;margin:0;color:var(--spm-ink);font:400 12px/1.5 system-ui,sans-serif}
body[data-spm-active] .spm-controls output{display:block;min-width:0;text-align:center;font:inherit;color:var(--spm-ink);font-variant-numeric:tabular-nums}
body[data-spm-active] .spm-controls [data-spm-auto]{font-size:12px}
body[data-spm-active] .spm-controls[hidden]{display:none!important}
body[data-spm-active] .spm-all-dialog{position:fixed;inset:0;margin:0;padding:0;border:0;border-radius:0;width:100vw;max-width:none;height:100dvh;max-height:none;overflow:auto;background:var(--spm-navy);color:var(--spm-ink)}
body[data-spm-active] .spm-all-dialog::backdrop{background:#000b}
body[data-spm-active] .spm-all-dialog>.spm-rail,body[data-spm-active] .spm-all-dialog>.spm-controls{width:calc(100% - 26px)!important;max-width:700px!important;margin:0 auto!important}
body[data-spm-active] .spm-find{display:block;padding:14px 13px;color:var(--spm-soft);font:400 12px/1.6 system-ui,sans-serif}
body[data-spm-active] .spm-find>span{display:block;margin-bottom:5px}
body[data-spm-active] .spm-find input{box-sizing:border-box;width:100%;min-height:44px;border:1px solid var(--spm-line);border-radius:11px;padding:10px 12px;background:#132b40;color:#fff;font:400 16px/1.4 system-ui,sans-serif}
body[data-spm-active] :is(input:not([type=checkbox]):not([type=radio]),textarea,select){max-width:100%;font-size:16px}
body[data-spm-active] :is(form,fieldset,.question-form,.partner-form){min-width:0}
body[data-spm-active] :is(#discoverForm,.partner-grid,.partner-layout,.sp-calculator-grid,.sp-inquiry-grid){grid-template-columns:1fr!important}
body[data-spm-active] :is(.app-view,.result-panel,.tool-panel,.my-panel,.sp-section,.sr-card,#collectionMain,main>section,#orders){scroll-margin-top:76px;min-width:0;max-width:100%}
body[data-spm-active] :is(.sr-page,.sr-shell,.sp-page,.sp-shell,.workspace-shell){max-width:100%;min-width:0}
body[data-spm-active] #sgShop .sg-workspace{top:64px!important;bottom:0!important;height:calc(100svh - 64px)!important;--sg-stage-height:calc(100svh - 64px)}
body[data-spm-active] #sgShop .sg-chooser{min-height:calc(100svh - 64px)!important}
body[data-spm-active] :is(.sgs-native-sheet,.f23-dialog,.frame-entry-dialog)[role=dialog]{top:64px!important;max-height:calc(100dvh - 64px)!important}
body[data-spm-active] dialog[data-spm-dialog="1"]{box-sizing:border-box;max-width:100vw!important;max-height:100dvh!important;overflow:auto;overscroll-behavior:contain;scroll-padding-top:70px}
body[data-spm-active] dialog[data-spm-dialog="1"]>.spm-dialog-bar{margin-bottom:10px}
body[data-spm-active] #sgGlassMenu[data-spm-dialog="1"]{display:flex!important;flex-direction:column!important;gap:0!important;height:100dvh!important;max-height:none!important;width:100vw!important;padding:0!important;border-radius:0!important}
body[data-spm-active] #sgGlassMenu .sg-menu-head{min-height:0!important;padding:0!important;margin:0!important;border:0!important}
body[data-spm-active] #sgGlassMenu .sg-menu-heading{display:none!important}
body[data-spm-active] #sgGlassMenu .sg-menu-find{padding:12px 13px!important}
body[data-spm-active] #sgGlassMenu .sg-menu-stage{display:block!important;flex:1!important;min-height:0!important;padding:0 13px 12px!important;overflow:auto!important}
body[data-spm-active] #sgGlassMenu .sg-menu-visual{height:clamp(145px,30dvh,240px)!important;aspect-ratio:auto!important}
body[data-spm-active] #sgGlassMenu .sg-menu-card{border-radius:21px!important;min-height:0!important}
body[data-spm-active] #sgGlassMenu .sg-menu-content{padding:15px!important}
body[data-spm-active] #sgGlassMenu .sg-menu-label{font-size:22px!important;line-height:1.45!important}
body[data-spm-active] #sgGlassMenu .sg-menu-footer{padding:0 13px max(10px,env(safe-area-inset-bottom))!important}
body[data-spm-active] #sgGlassMenu .sg-menu-hint{font-size:12px!important;padding:0!important}
body[data-spm-active] :is(.sgs-purpose-card,.smg-purpose-card,.sfg2-methods>article,.sg-template-card){border-radius:20px!important;overflow:hidden}
body[data-spm-active] :is(.sgs-purpose-image,.smg-purpose-image){height:clamp(155px,32dvh,250px)!important;min-height:0!important}
body[data-spm-active] :is(.sgs-purpose-image,.smg-purpose-image)>img{width:100%;height:100%;object-fit:cover}
body[data-spm-active] .s44-menu-rail>[data-s44-card]{min-width:0!important}
body[data-spm-active] :is(#spSteps,#spModels)>*{border:1px solid var(--spm-line);border-radius:19px;overflow:hidden;background:var(--spm-panel)}
body[data-spm-active] :is(#spSteps,#spModels)>*>img{width:100%;height:190px;object-fit:cover}
body[data-spm-active] .svh-steps>li{padding:17px!important;border:1px solid var(--spm-line)!important;border-radius:18px!important;background:var(--spm-panel)!important;color:var(--spm-ink)!important}
body[data-spm-active] .svh-steps>li h3{font-size:21px;line-height:1.5}
body[data-spm-active] .svh-steps>li p{font-size:15px;line-height:1.8}
body[data-spm-active] :is(.sp-calculator,.sp-contact,.partner-panel,.tool-panel,.result-panel,.my-panel){border-radius:18px;overflow-wrap:anywhere}
body[data-spm-active] :is(.order-dialog-card,.point-recharge-shell,.member-auth-shell,.art-picker-dialog-card){max-width:100%;min-width:0;max-height:none}
body[data-spm-active] :is(.order-dialog-card,.point-recharge-shell,.member-auth-shell) label{min-width:0;line-height:1.65}
body[data-spm-active] :is(.order-dialog-card,.point-recharge-shell,.member-auth-shell) :is(input,select,textarea){min-height:44px;font-size:16px}
}
@media screen and (max-width:767px) and (max-height:600px){
body[data-spm-active] .spm-entry{padding-top:10px}
body[data-spm-active] .spm-heading{padding-bottom:10px}
body[data-spm-active] .spm-heading h1{font-size:23px}
body[data-spm-active] .spm-card>img{height:clamp(135px,28dvh,175px)!important}
body[data-spm-active] .spm-card{min-height:260px}
body[data-spm-active] .spm-copy{padding:13px;gap:9px}
}
@media(prefers-reduced-motion:reduce){body[data-spm-active] [data-spm-rail]{scroll-behavior:auto!important}}

@media screen and (max-width:767px){
body[data-spm-active] #sgGlassMenu .sg-menu-track{height:auto!important;min-height:0!important}
body[data-spm-active] #sgGlassMenu .sg-menu-card{height:auto!important;max-height:none!important}
body[data-spm-active] #sgGlassMenu .sg-menu-detail{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px!important;line-height:1.6!important}
body[data-spm-active] .sg-visual-grid .sg-visual-card{display:flex;flex-direction:column;border-radius:18px!important;overflow:hidden;font-size:17px}
body[data-spm-active] .sg-visual-grid .sg-visual-thumb{width:100%;height:clamp(160px,34dvh,260px);margin:0}
body[data-spm-active] .sg-visual-grid .sg-visual-thumb img{width:100%;height:100%;object-fit:contain}
}

@media screen and (max-width:767px){
body[data-spm-active] .spm-step-photo{display:block;width:100%;height:clamp(145px,29dvh,220px);object-fit:cover;border-radius:12px;margin:0 0 13px}
body[data-spm-active] .spm-photo-note{font-size:11px!important;color:var(--spm-soft);line-height:1.7}
}

@media screen and (max-width:767px){body[data-spm-active] [data-spm-focus]{scroll-margin-top:76px}}

@media screen and (max-width:767px){
body[data-spm-active] :is(#collectionGrid,#artworkGrid,#savedArtworksList,#artGrid,#passportList)[data-spm-rail] img{width:100%!important;max-width:none!important;height:clamp(180px,40dvh,300px)!important;object-fit:contain!important}
body[data-spm-active] :is(#collectionGrid,#artworkGrid,#savedArtworksList,#artGrid,#passportList)[data-spm-rail]>*{border-radius:18px!important;overflow:hidden;white-space:normal}
body[data-spm-active] :is(#savedProjectsList,#savedInquiriesList,#orders){min-width:0;grid-template-columns:1fr!important}
}

@media screen and (max-width:767px){body[data-spm-active] #sgGlassMenu .sg-menu-fallback{display:none!important}}
