/* DressRoom_p5.fla, 480 x 800: original artwork, responsive stage geometry. */
#fashionMobile[hidden],#fashionMobile [hidden]{display:none!important}
.fashion-mobile-active .fashion-shell{display:none}
#fashionMobile{--fm-height:100dvh;--u:1px;position:relative;width:100%;max-width:calc(var(--fm-height)*.6);height:var(--fm-height);margin:auto;display:flex;flex-direction:column;overflow:hidden;background:#ffc5c5;color:#655cc3;font:14px Arial,'Malgun Gothic',sans-serif;user-select:none;box-sizing:border-box;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
#fashionMobile[data-room=style]{background:#b0b5ff}
#fashionMobile *{box-sizing:border-box}
#fashionMobile button{border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;margin:0;color:inherit;font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#fashionMobile button:focus-visible{outline:2px solid #b615b6;outline-offset:-2px}
#fashionMobile button:disabled{opacity:.3;cursor:default}
#fashionMobile button img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
#fashionMobile button:active:not(:disabled){filter:brightness(1.15)}
.fm-sr{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;pointer-events:none}
.fm-header{position:relative;flex:none;height:calc(62*var(--u));display:flex;align-items:center;padding:calc(5*var(--u));gap:calc(5*var(--u));z-index:2}
.fm-brand{width:calc(57*var(--u));flex:none}.fm-brand img{width:100%;display:block}
.fm-header nav{display:flex;flex:1;align-items:center;gap:calc(4*var(--u));min-width:0}
#fashionMobile .fm-header nav button{height:calc(43*var(--u));flex:1;filter:grayscale(1);opacity:.8}
#fashionMobile .fm-header nav button[aria-pressed=true]{flex:1.3;filter:none;opacity:1}
.fm-header>button{width:calc(48*var(--u));height:calc(48*var(--u));flex:none}
.fm-work{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:calc(58*var(--u)) minmax(0,1fr) calc(58*var(--u));gap:0}
.fm-center{position:relative;min-width:0;min-height:0;overflow:hidden;touch-action:none}
.fm-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}
.fm-closet{position:absolute;inset:0;pointer-events:none}
.fm-page{position:absolute;top:0;left:12%;right:12%;height:calc(32*var(--u));display:flex;align-items:flex-start;justify-content:center;gap:0;pointer-events:auto}
#fashionMobile .fm-page button{width:calc(25*var(--u));height:calc(30*var(--u));font-size:calc(13*var(--u));color:#ff4baf;position:relative}
#fashionMobile .fm-page button[aria-pressed=true]{color:white;background:radial-gradient(circle at 50% 50%,#ff3ca1 0 38%,transparent 40%)}
#fashionMobile .fm-page button[aria-pressed=false]{opacity:1;color:#b52273;background:radial-gradient(circle at 50% 50%,#ffb3d9 0 38%,transparent 40%)}
.fm-basket{position:relative;align-self:start;height:85%;background:url('ui/app/basket-frame.png') center/100% 100% no-repeat;display:flex;flex-direction:column;padding:calc(6*var(--u)) calc(8*var(--u)) calc(9*var(--u));z-index:2}
.fm-basket h2{display:none}
.fm-basket-list{display:flex;flex-direction:column;gap:calc(6*var(--u));flex:1;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:none;min-height:0}
#fashionMobile .fm-basket-list button,.fm-empty-slot{position:relative;flex:none;width:100%;height:calc((100% - 42*var(--u))/8);min-height:calc(51*var(--u));background:url('ui/app/basket-slot.png') center/100% 100% no-repeat;padding:calc(3*var(--u))}
.fm-basket-list button img{object-fit:contain}
.fm-basket-list button span,.fm-basket-list button small{display:none}
.fm-basket-list button.is-current{filter:drop-shadow(0 0 2px #ff178f)}
.fm-basket-list button.is-worn{opacity:.55}
#fashionMobile .fm-basket>[data-mobile=basket-up]{height:calc(19*var(--u));flex:none;margin:calc(-9*var(--u)) calc(-5*var(--u)) 0}
#fashionMobile .fm-basket>[data-mobile=basket-down]{position:absolute;left:calc(9*var(--u));bottom:calc(-12*var(--u));width:calc(40*var(--u));height:calc(29*var(--u))}
.fm-rail{position:relative;min-height:0;z-index:2;overflow-y:auto;scrollbar-width:none;touch-action:pan-y;overscroll-behavior:contain;padding:calc(9*var(--u)) calc(3*var(--u)) 0}
.fm-categories{display:flex;flex-direction:column;gap:calc(8*var(--u))}
#fashionMobile .fm-categories button{position:relative;width:100%;height:calc(80*var(--u));flex:none;overflow:hidden}
#fashionMobile .fm-categories button img{width:100%;height:100%;object-fit:fill}
#fashionMobile .fm-categories small{position:absolute;left:0;right:0;bottom:calc(13*var(--u));line-height:1;text-align:center;color:#ffef96;font-size:calc(13*var(--u));text-shadow:0 1px #f24882}
#fashionMobile .fm-categories button[aria-pressed=true]{filter:brightness(1.1) saturate(1.1)}
.fm-edit{display:flex;flex-direction:column;gap:calc(1*var(--u));padding-bottom:calc(18*var(--u))}
#fashionMobile .fm-edit button{width:100%;height:calc(47*var(--u));flex:none}
#fashionMobile .fm-edit button[aria-pressed=true]{filter:brightness(1.35);outline:1px solid white}
.fm-page-arrows{position:absolute;bottom:calc(19*var(--u));left:0;right:0;display:flex;justify-content:space-between;pointer-events:none;z-index:3}
#fashionMobile .fm-page-arrows button{width:calc(57*var(--u));height:calc(70*var(--u));pointer-events:auto}
.fm-page-arrows button:first-child img{transform:scaleX(-1)}
.fm-style-options{position:absolute;left:calc(5*var(--u));right:calc(5*var(--u));top:calc(4*var(--u));display:flex;justify-content:space-between;pointer-events:none}
#fashionMobile .fm-edit [data-mobile=lock][aria-pressed=true]{filter:none;outline:none}
#fashionMobile .fm-style-options [data-mobile=model-reveal]{position:absolute;left:50%;transform:translateX(-50%)}
.fm-style-options button{width:calc(40*var(--u));height:calc(40*var(--u));pointer-events:auto}
.fm-footer{position:relative;flex:none;height:calc(43*var(--u));display:flex;align-items:center;justify-content:space-between;z-index:3}
#fashionMobile .fm-footer>[data-mobile=menu],#fashionMobile .fm-footer>[data-mobile=tips]{position:absolute;bottom:0;width:calc(100*var(--u));height:calc(78*var(--u));left:0}
#fashionMobile .fm-footer>[data-mobile=tips]{left:auto;right:0}
.fm-title{position:absolute;left:22%;right:22%;bottom:calc(4*var(--u));font:italic calc(13*var(--u)) Georgia;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.fm-color-tools{position:absolute;left:30%;right:30%;bottom:calc(16*var(--u));display:flex;align-items:center;justify-content:center;gap:calc(16*var(--u))}
#fashionMobile .fm-color-tools button{width:calc(38*var(--u));height:calc(35*var(--u));font-size:calc(12*var(--u))}
#fashionMobile[data-room=dress] [data-mobile=palette]{display:none}
#fashionMobile[data-room=style] .fm-title{display:none}
.fm-basket-hidden .fm-work{grid-template-columns:0 minmax(0,1fr) calc(58*var(--u))}.fm-basket-hidden .fm-basket{visibility:hidden}
#fashionMobile.fm-tools-hidden .fm-work{grid-template-columns:0 minmax(0,1fr) 0}#fashionMobile.fm-tools-hidden .fm-basket,#fashionMobile.fm-tools-hidden .fm-rail{visibility:hidden}
.fm-modal{position:absolute;z-index:100;inset:0;background:#33234266;padding:14px 9px;display:flex;align-items:center;justify-content:center;touch-action:pan-y;}
.fm-modal>section{background:#fff6fb;width:100%;max-height:100%;display:flex;flex-direction:column;border:2px solid #b898e8;border-radius:18px;box-shadow:0 8px 28px #28164355;overflow:hidden;}
.fm-modal header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 12px;background:linear-gradient(90deg,#d5c4ff,#ffcce4);flex:none;}.fm-modal h2{margin:0;font-size:16px;}.fm-modal header button{width:44px;font-size:24px!important;}
.fm-modal-body{padding:14px;overflow-y:auto;overscroll-behavior:contain;user-select:text;}.fm-modal-body p{font-size:12px;}.fm-modal-body li{margin-bottom:12px;}.fm-modal-body ol{padding-left:20px;}
.fm-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;}.fm-menu-grid button{min-height:55px!important;}.fm-note{color:#76657c;font-size:11px!important;}
.fm-dialog-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:center;margin:9px 0;}.fm-dialog-actions button{padding:8px!important;}
.fm-archive{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}.fm-archive canvas{width:100%;height:auto;}.fm-tip-images{text-align:center;}.fm-tip-model{display:block;max-width:100%;max-height:55dvh;object-fit:contain;margin:auto;}.fm-tip-note{display:block;max-width:100%;max-height:170px;object-fit:contain;margin:auto;}
.fm-export{display:grid;gap:8px;justify-items:center;padding:12px;border-bottom:1px solid #dbc4ea;}.fm-export img{max-width:100%;height:220px;object-fit:contain;}.fm-export a{display:block;text-align:center;padding:11px 15px;min-height:44px;color:#6e4088;background:#eedbf7;border-radius:9px;text-decoration:none;}.fm-export button{padding:10px 16px!important;}
#fashionMobile .color-palette{transform:scale(var(--fm-palette-scale,1.25));transform-origin:0 0;z-index:110;touch-action:none;height:245px;background:#d500d5;border:2px solid #ff59f6;border-radius:8px;}
/* PC's white density strip, pink rail and ticks; keep the original flower.
   The 44px input owns the whole strip vertically, below the color spectrum.
   Rail endpoints match the native thumb centers (13px inset on each side). */
#fashionMobile .color-palette::before{content:'색상 농도 :';position:absolute;z-index:2;left:16px;right:9px;top:169px;height:44px;display:flex;align-items:center;padding-left:6px;background:#fff;color:#ff369f;font:11px/1.2 'Malgun Gothic',sans-serif;border-radius:7px;box-shadow:0 0 0 6px #d500d5;pointer-events:none;}
#fashionMobile .color-palette::after{content:'꽃을 움직이거나 눈금을 눌러 조절하세요';position:absolute;z-index:3;left:0;right:0;top:222px;text-align:center;color:white;font:10px/14px 'Malgun Gothic',sans-serif;pointer-events:none;}
#fashionMobile .color-palette input[type=range]{top:169px;height:44px;left:80px;width:112px;background:linear-gradient(#ffb1ef,#ffb1ef) center calc(50% - 5px)/calc(100% - 26px) 4px no-repeat,repeating-linear-gradient(90deg,#ff68cd 0 1px,transparent 1px 8.6px) center calc(50% + 4px)/calc(100% - 26px) 8px no-repeat;}
#fashionMobile .color-palette input[type=range]::-webkit-slider-thumb{width:26px;height:28px;margin-top:-14px;}
#fashionMobile .color-palette input[type=range]::-moz-range-thumb{width:26px;height:28px;}
#fashionMobile .color-palette .palette-alpha-value{top:182px;left:194px;width:34px;color:#222;font:14px/18px Arial,sans-serif;}
#fashionMobile .color-palette button{min-height:32px;width:32px;height:32px;right:0;top:0;background:transparent;box-shadow:none;border:0;}
#fashionMobile .palette-shade::after{content:'';position:absolute;inset:0 -7px 0 0;}
#fashionMobile .fm-modal[data-kind=exit]>section{max-width:350px;}
.fm-exit-message{text-align:center;padding:4px 0 8px;}
.fm-exit-message>img{display:block;width:72px;height:72px;margin:0 auto 10px;}
#fashionMobile .fm-exit-message p{font-size:17px;line-height:1.5;margin:6px 0 10px;color:#654c91;}
.fm-exit-message small{display:block;font:12px/1.6 'Malgun Gothic',sans-serif;color:#786887;}
#fashionMobile .fm-modal[data-kind=exit] .fm-dialog-actions button{flex:1;padding:10px!important;}
#fashionMobile .fm-modal[data-kind=exit] [data-mobile=exit-accept]{background:linear-gradient(#ffbddc,#f985c1);border-color:#ec8dbc;color:#733c69;}
#fashionMobile .fashion-confirm{position:absolute;inset:0;width:auto;height:auto;z-index:120;display:flex;align-items:center;justify-content:center;padding:12px;background:#35213f77;transform:none;pointer-events:auto;}
#fashionMobile .fashion-confirm>div{position:static;transform:none;width:100%;max-width:400px;max-height:100%;overflow:auto;padding:20px;background:#f7e8ff;border-radius:14px;}
#fashionMobile .fashion-confirm h2{font-size:19px;}#fashionMobile .fashion-confirm p{font-size:14px;white-space:pre-line;}#fashionMobile .fashion-confirm footer{display:flex;gap:14px;justify-content:flex-end;}#fashionMobile .fashion-confirm button{min-width:80px;}
#fashionMobile .toast{position:absolute;z-index:150;left:10px;right:10px;bottom:65px;top:auto;max-width:none;width:auto;transform:none;font-size:13px;white-space:normal;text-align:center;}
#fashionMobile .status-message{position:absolute;z-index:130;inset:60px 12px auto;padding:20px;background:#fff8fc;color:#714b87;font-size:14px;transform:none;}
.fm-rotate{position:absolute;z-index:160;inset:0;background:#f0dff5f5;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:23px;}.fm-rotate small{font-size:13px;margin-top:16px;}

#fashionMobile .fm-modal>section{background:#d8d9ff;border:2px solid #9792ee;border-radius:28px}
#fashionMobile .fm-modal header{background:#eeeaff;border-bottom:4px double #fff}
#fashionMobile .fm-modal button{min-height:44px;padding:6px;border-radius:12px;background:#f7f3ff;border:1px solid #aea1ee}
#fashionMobile .fashion-confirm button{background:#e8d9ff;border:1px solid #b099e5;border-radius:20px;min-height:44px}
/* The original app reserves the bottom row for four backgrounds and More. */
#fashionMobile .fm-color-tools{left:25%;right:25%;bottom:0;height:calc(40*var(--u));gap:calc(5*var(--u));justify-content:space-between}
#fashionMobile .fm-color-tools button{width:calc(38*var(--u));height:calc(38*var(--u));flex:none}
#fashionMobile[data-room=dress] .fm-color-tools{display:none}
.fm-pan-button{position:absolute;left:calc(5*var(--u));bottom:calc(45*var(--u));width:calc(48*var(--u));height:calc(54*var(--u));z-index:4}
.fm-pan-button button{width:100%;height:100%}
#fashionMobile .fm-pan-button button[aria-pressed=true]{filter:drop-shadow(0 0 3px #ff35ae)}
.fm-app-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#fashionMobile .fm-app-menu button{padding:0;border:0;background:transparent;border-radius:0;aspect-ratio:1}
#fashionMobile .fm-modal-body{padding:12px}
#fashionMobile .fm-modal h2{font-weight:normal;color:#9d78ed;text-shadow:0 1px 2px white}

#fashionMobile .fm-header nav button{filter:none;opacity:1}
#fashionMobile .fm-modal[data-kind=menu]>section{background:#d8d9ff url('ui/app/menu-frame.png') center/100% 100% no-repeat;border:0}
#fashionMobile .fm-modal[data-kind=menu] header{height:80px;background:none;border:0}
#fashionMobile .fm-modal[data-kind=menu] h2{visibility:hidden}
#fashionMobile .fm-modal header [data-mobile=modal-close]{width:44px;height:44px;min-height:44px;background:transparent url('ui/app/BtnX.png') center/contain no-repeat;color:transparent;border:0;border-radius:0;padding:0;flex:none}
#fashionMobile .fm-header nav button[aria-pressed=false]{filter:grayscale(1)}

/* itemBtn4 export contains a 3,15 offset and surplus right/bottom bounds.
   Match its visible 105x159 region to the other original category symbols. */
#fashionMobile .fm-categories [data-cat=o] img{position:absolute;left:-2.857143%;top:-9.433962%;width:135.238095%;height:115.723270%}
/* Match visible artwork, including the share export's transparent margin. */
#fashionMobile .fm-style-options button{position:relative;width:max(36px,calc(40*var(--u)));height:max(36px,calc(40*var(--u)));overflow:hidden}
#fashionMobile .fm-style-options [data-mobile=save] img{position:absolute;width:128.15534%;height:127.45098%;left:-12.62136%;top:-13.72549%;object-fit:fill}
/* Tip uses the original arrows and keeps its model and keyword in one stage. */
#fashionMobile .fm-modal[data-kind=tips]{padding:calc(10*var(--u));background:#53418466}
#fashionMobile .fm-modal[data-kind=tips]>section{height:100%;border:3px solid #fff0fa;border-radius:24px;background:linear-gradient(160deg,#e9e4ff,#b9baff 70%,#f4d4eb);box-shadow:0 0 0 2px #a690e6,0 8px 24px #53418466}
#fashionMobile .fm-modal[data-kind=tips] header{padding:2px 10px;background:linear-gradient(#fff0fa,#f8b8d8);border-bottom:3px double white}
#fashionMobile .fm-modal[data-kind=tips] h2{color:#9b558b;font-size:15px}
#fashionMobile .fm-modal[data-kind=tips] .fm-modal-body{padding:0;flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.fm-tip-stage{position:relative;flex:1;min-height:0;isolation:isolate;overflow:hidden;touch-action:none;overscroll-behavior:contain;user-select:none;-webkit-user-select:none}
.fm-tip-content{position:absolute;inset:0;transform-origin:0 0;pointer-events:none;will-change:transform}
.fm-tip-content.is-returning{transition:transform 360ms cubic-bezier(.22,.8,.25,1)}
#fashionMobile .fm-modal[data-kind=tips]{touch-action:none;overscroll-behavior:contain}
#fashionMobile .fm-tip-note[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.fm-tip-content.is-returning{transition:none}}
#fashionMobile .fm-tip-model{position:absolute;inset:7.5% 10%;width:80%;height:85%;max-height:none;max-width:none;object-fit:contain;margin:0}
#fashionMobile .fm-tip-note{position:absolute;left:15%;top:54%;width:70%;height:32%;max-height:none;max-width:none;object-fit:contain;margin:0;filter:drop-shadow(0 2px 3px #9584bd33)}
#fashionMobile .fm-tip-stage button{position:absolute;top:50%;transform:translateY(-50%);left:4px;width:clamp(34px,calc(45*var(--u)),54px);height:clamp(52px,calc(68*var(--u)),82px);padding:0;background:transparent;border:0;border-radius:0;overflow:hidden}
#fashionMobile .fm-tip-stage [data-mobile=tip-next]{left:auto;right:4px}
#fashionMobile .fm-tip-stage button img{position:absolute;width:235%;height:132.967%;left:-30%;top:-13.187%;object-fit:fill}
.fm-tip-footer{flex:none;min-height:48px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;padding:4px 6px 8px;background:linear-gradient(transparent,#fbd5e9)}
.fm-tip-count{min-width:48px;text-align:center;color:#805fba;font-size:13px}
#fashionMobile .fm-tip-footer button{padding:8px 10px;min-height:40px;font-size:12px;border:1px solid #ef7ebb;border-radius:18px;background:linear-gradient(#ffbce0,#ff359e 55%,#ed2996);color:white;text-shadow:0 1px #bd3578;box-shadow:inset 0 1px 2px white,0 2px 3px #a568ad44}
#fashionMobile .fm-tip-stage [data-mobile=tip-prev]{transform:translateY(-50%) scaleX(-1)}
/* App fullscreen: one model camera, with a floating original bottom menu. */
#fashionMobile.fm-fullscreen>.fm-header,#fashionMobile.fm-fullscreen>.fm-footer{display:none}
#fashionMobile.fm-fullscreen .fm-work{grid-template-columns:0 minmax(0,1fr) 0}
#fashionMobile.fm-fullscreen .fm-basket,#fashionMobile.fm-fullscreen .fm-rail,#fashionMobile.fm-fullscreen .fm-style-options,#fashionMobile.fm-fullscreen .fm-pan-button{display:none}
#fashionMobile.fm-fullscreen .fm-center{border:0;border-radius:0}
.fm-full-menu{position:absolute;z-index:5;bottom:env(safe-area-inset-bottom);left:calc(10*var(--u));right:calc(10*var(--u));height:calc(64*var(--u));min-height:50px;display:flex;align-items:end;justify-content:space-between;background:url('ui/app/fullscreen-bar.png') center/100% 100% no-repeat;border-radius:calc(18*var(--u)) calc(18*var(--u)) 0 0;transition:transform .3s ease,opacity .3s ease}
#fashionMobile .fm-full-menu>[data-mobile=normal],#fashionMobile .fm-full-menu>[data-mobile=save]{width:22%;height:calc(78*var(--u));min-height:55px;flex:none}
.fm-full-colors{display:flex;align-items:center;justify-content:space-between;width:54%;height:75%;gap:calc(4*var(--u))}
#fashionMobile .fm-full-colors button{flex:1;min-width:0;height:100%}
#fashionMobile .fm-full-menu>[data-mobile=full-menu-hide]{position:absolute;left:calc(50% - 22px);top:-24px;width:44px;height:44px;padding:6px}
.fm-full-menu.is-hidden{transform:translateY(calc(100% + 45px));opacity:0;pointer-events:none}
@media(prefers-reduced-motion:reduce){.fm-full-menu{transition:none}}
#fashionMobile.fm-fullscreen .fm-work{display:block}
#fashionMobile.fm-fullscreen .fm-center{width:100%;height:100%}
#fashionMobile .fm-full-menu{background:linear-gradient(110deg,#796aff,#619dff 55%,#39b7fc);border:3px solid #8e8aff;border-bottom:0;box-shadow:inset 0 2px 3px #c4baff}
#fashionMobile .fm-full-menu>[data-mobile=full-menu-hide] img{width:220%;max-width:none;height:220%;position:absolute;left:-60%;top:-60%}
/* Real menu text stays inside the original artwork at every viewport size. */
@font-face{font-family:FashionRound;src:url('fonts/NanumSquareRoundB.otf') format('opentype');font-weight:700;font-style:normal;font-display:swap}
#fashionMobile .fm-modal{font-family:FashionRound,'Malgun Gothic',sans-serif;font-weight:700}
#fashionMobile .fm-modal[data-kind=menu]>section{background:#d8d9ff;border:3px solid #f1eaff;border-radius:28px}
#fashionMobile .fm-modal[data-kind=menu] header{height:auto;min-height:58px;padding:6px 10px 6px 18px;background:linear-gradient(#f8edff,#e8ddff);border-bottom:3px double white}
#fashionMobile .fm-modal[data-kind=menu] h2{visibility:visible;font-family:FashionRound,sans-serif;font-weight:700;font-size:clamp(16px,calc(22*var(--u)),24px);line-height:1.2;color:#8261c2;text-shadow:0 1px white}
#fashionMobile .fm-app-menu{gap:10px 7px}
#fashionMobile .fm-app-menu button{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;aspect-ratio:1;min-width:0}
#fashionMobile .fm-app-menu button img{position:absolute;inset:0;width:100%;height:100%;opacity:.8}
#fashionMobile .fm-menu-label{position:relative;z-index:1;display:block;max-width:88%;padding:3px 2px;text-align:center;font-family:FashionRound,'Malgun Gothic',sans-serif;font-weight:700;font-size:clamp(12px,calc(17*var(--u)),21px);line-height:1.3;letter-spacing:-.035em;color:#514471;text-shadow:0 1px 2px white,1px 0 2px white,-1px 0 2px white;word-break:keep-all;overflow-wrap:anywhere}
#fashionMobile .fm-modal[data-kind=menu] .fm-note{font-family:'Malgun Gothic',sans-serif;font-weight:400;line-height:1.5}
.fm-model-controls{display:flex;flex-direction:column;gap:calc(2*var(--u));padding-bottom:8px}
.fm-model-controls h2{font:700 calc(12*var(--u))/1.1 Arial,sans-serif;text-align:center;margin:0 0 4px;color:#493b64;text-shadow:0 1px white}
#fashionMobile .fm-model-controls button{width:100%;height:calc(47*var(--u));min-height:36px;flex:none}
#fashionMobile #fm-talk-text{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:96px;margin:8px 0;font:16px/1.5 'Malgun Gothic',sans-serif;color:#544360;border:1px solid #b897d4;border-radius:8px;padding:10px}
#fashionMobile #fm-talk-text{background:#fff;color-scheme:light}
#fashionMobile .fm-pan-button button{position:relative;overflow:hidden}
#fashionMobile .fm-pan-button button img{position:absolute;width:240.5405%;height:118.0851%;left:-78.3784%;top:-8.5106%;object-fit:fill}
#fashionMobile .fm-model-controls button{height:calc(55*var(--u));min-height:40px}
/* Paid mobile exports: preserve PNG pixel dimensions; wide images can scroll. */
.fm-export-natural{min-width:0;max-width:100%}
.fm-export-natural h3{margin:4px 0;font-size:17px}
.fm-export-image{width:100%;min-width:0;overflow-x:auto}
.fm-export-natural .fm-export-image img{display:block;width:auto;height:auto;max-width:none;max-height:none;margin:0 auto}
.fm-export-actions{display:flex;flex-wrap:nowrap;gap:8px;justify-content:center;width:100%}
.fm-export-actions>a,.fm-export-actions>button{flex:1 1 0;min-width:0;white-space:nowrap;font-size:13px;padding:10px 6px!important}
.fm-favorites{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fm-favorites a{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px;background:#fff7;border:1px solid #baa5ff;border-radius:14px;color:#6552ab;text-decoration:none;min-width:0}.fm-favorites img{width:100%;height:180px;object-fit:contain}.fm-favorites span{font-size:13px;overflow-wrap:anywhere;text-align:center}.fm-favorites+.fm-dialog-actions{align-items:center}@media(max-width:360px){.fm-favorites{grid-template-columns:repeat(2,minmax(0,1fr))}}
