/* 모바일 3종 테마: 기본(원본), 깔끔, 블룸 */
#eh-header {position:relative!important}
#eh-header .eh-mobile-theme-switch{position:absolute;z-index:12;right:43px;top:5px;display:flex;gap:2px;align-items:center;height:28px}
#eh-header .eh-mobile-theme-switch button{appearance:none;-webkit-appearance:none;min-width:29px;height:26px;margin:0;padding:0 3px;border:1px solid #cbd9e6;border-radius:4px;background:#f7faff;color:#52687e;font:600 10px/1 'Malgun Gothic',sans-serif;text-shadow:none;box-shadow:none;cursor:pointer}
#eh-header .eh-mobile-theme-switch button[aria-pressed="true"]{background:#2871bc;color:#fff;border-color:#2871bc}
#eh-header .eh-text-brand{max-width:calc(100% - 215px)!important}
#eh-header .eh-brand-tagline,#eh-header .eh-brand-welcome{display:none!important}
#eh-header .eh-brand-name,#eh-header .eh-brand-accent{font-size:clamp(12px,3.5vw,16px)!important;letter-spacing:-1px!important}
@media (min-width:768px){#eh-header .eh-text-brand{max-width:calc(100% - 250px)!important}}
@media (max-width:359px){#eh-header .eh-mobile-theme-switch{right:40px;gap:1px}#eh-header .eh-mobile-theme-switch button{min-width:27px;padding:0 2px;font-size:9px}#eh-header .eh-text-brand{max-width:calc(100% - 205px)!important}#eh-header .eh-brand-name,#eh-header .eh-brand-accent{font-size:12px!important}}
/* 깔끔: 밝은 무채색, 원본 구조 유지 */
html[data-eh-mobile-theme="clean"] body,html[data-eh-mobile-theme="clean"] .ui-page{background:#fff!important;color:#344253!important}
html[data-eh-mobile-theme="clean"] #eh-header{background:#fff!important;border-bottom-color:#d7dfe7!important}
html[data-eh-mobile-theme="clean"] #eh-header .eh-brand-name{color:#344253!important}
html[data-eh-mobile-theme="clean"] #eh-header .eh-brand-accent{color:#607c94!important}
html[data-eh-mobile-theme="clean"] #eh-header .eh-mobile-theme-switch button[aria-pressed="true"]{background:#526e85!important;border-color:#526e85!important}
html[data-eh-mobile-theme="clean"] .ui-btn-active,html[data-eh-mobile-theme="clean"] .ui-bar-b{background:#526e85!important;border-color:#526e85!important;color:#fff!important;text-shadow:none!important}
/* 블룸: 연한 핑크·라벤더 포인트 */
html[data-eh-mobile-theme="bloom"] body,html[data-eh-mobile-theme="bloom"] .ui-page{background:#fffafd!important;color:#554357!important}
html[data-eh-mobile-theme="bloom"] #eh-header{background:#fff5fa!important;border-bottom-color:#edcddd!important}
html[data-eh-mobile-theme="bloom"] #eh-header .eh-brand-name{color:#62435b!important}
html[data-eh-mobile-theme="bloom"] #eh-header .eh-brand-accent{color:#b65d91!important}
html[data-eh-mobile-theme="bloom"] #eh-header .eh-mobile-theme-switch button{background:#fff!important;border-color:#e8cadb!important;color:#855775!important}
html[data-eh-mobile-theme="bloom"] #eh-header .eh-mobile-theme-switch button[aria-pressed="true"]{background:#b65d91!important;border-color:#b65d91!important;color:#fff!important}
html[data-eh-mobile-theme="bloom"] .ui-btn-active,html[data-eh-mobile-theme="bloom"] .ui-bar-b{background:#b65d91!important;border-color:#a84c80!important;color:#fff!important;text-shadow:none!important}
html[data-eh-mobile-theme="bloom"] #mysearch .eh-search-heading{background:linear-gradient(110deg,#fff3f9,#f3e9ff)!important;border-bottom-color:#ead0e2!important}
html[data-eh-mobile-theme="bloom"] #mysearch .eh-search-heading__title{color:#92557e!important}

/* 157: 실제 모바일 목록/메뉴/검색/본문 전체 테마. 기존 레이아웃은 보존 */
html[data-eh-mobile-theme="clean"]{--ehm-bg:#f5f7fa;--ehm-panel:#fff;--ehm-soft:#f0f4f8;--ehm-border:#d5dfe8;--ehm-strong:#526e85;--ehm-text:#344253;--ehm-muted:#65788b;--ehm-active:#e8eff5}
html[data-eh-mobile-theme="bloom"]{--ehm-bg:#fff8fc;--ehm-panel:#fffdfd;--ehm-soft:#fceef6;--ehm-border:#ebcfe0;--ehm-strong:#b65d91;--ehm-text:#62435b;--ehm-muted:#8e6981;--ehm-active:#f9e2ef}
html[data-eh-mobile-theme="clean"] body,html[data-eh-mobile-theme="bloom"] body,
html[data-eh-mobile-theme="clean"] #eh-page,html[data-eh-mobile-theme="bloom"] #eh-page,
html[data-eh-mobile-theme="clean"] .ui-page,html[data-eh-mobile-theme="bloom"] .ui-page{background:var(--ehm-bg)!important;color:var(--ehm-text)!important}
html[data-eh-mobile-theme="clean"] #eh-header,html[data-eh-mobile-theme="bloom"] #eh-header{background:var(--ehm-panel)!important;border-bottom:1px solid var(--ehm-border)!important}
html[data-eh-mobile-theme="clean"] #eh-header .eh-brand-name,html[data-eh-mobile-theme="bloom"] #eh-header .eh-brand-name{color:var(--ehm-text)!important}
html[data-eh-mobile-theme="clean"] #eh-header .eh-brand-accent,html[data-eh-mobile-theme="bloom"] #eh-header .eh-brand-accent{color:var(--ehm-strong)!important}
html[data-eh-mobile-theme="clean"] #eh-content-main,html[data-eh-mobile-theme="bloom"] #eh-content-main,
html[data-eh-mobile-theme="clean"] #eh-content-right,html[data-eh-mobile-theme="bloom"] #eh-content-right{background:var(--ehm-bg)!important;color:var(--ehm-text)!important}
html[data-eh-mobile-theme="clean"] #eh-content-right .ui-listview,html[data-eh-mobile-theme="bloom"] #eh-content-right .ui-listview,
html[data-eh-mobile-theme="clean"] #eh-content-right .info_list,html[data-eh-mobile-theme="bloom"] #eh-content-right .info_list{background:var(--ehm-panel)!important;color:var(--ehm-text)!important}
html[data-eh-mobile-theme="clean"] #eh-content-right .ui-listview > li,html[data-eh-mobile-theme="bloom"] #eh-content-right .ui-listview > li{background:var(--ehm-panel)!important;border-color:var(--ehm-border)!important}
html[data-eh-mobile-theme="clean"] #eh-content-right .ui-listview .list .ui-btn,html[data-eh-mobile-theme="bloom"] #eh-content-right .ui-listview .list .ui-btn,
html[data-eh-mobile-theme="clean"] #eh-content-right .ui-listview > li > .ui-btn,html[data-eh-mobile-theme="bloom"] #eh-content-right .ui-listview > li > .ui-btn{background:var(--ehm-panel)!important;border-color:var(--ehm-border)!important;color:var(--ehm-text)!important;text-shadow:none!important}
html[data-eh-mobile-theme="clean"] #eh-content-right .ui-listview .ui-li-divider,html[data-eh-mobile-theme="bloom"] #eh-content-right .ui-listview .ui-li-divider,
html[data-eh-mobile-theme="clean"] #eh-content-right .list-header,html[data-eh-mobile-theme="bloom"] #eh-content-right .list-header,
html[data-eh-mobile-theme="clean"] #eh-content-right .list-header-under,html[data-eh-mobile-theme="bloom"] #eh-content-right .list-header-under{background:var(--ehm-soft)!important;border-color:var(--ehm-border)!important;color:var(--ehm-text)!important;text-shadow:none!important}
html[data-eh-mobile-theme="clean"] #eh-content-right .list-header .ui-btn,html[data-eh-mobile-theme="bloom"] #eh-content-right .list-header .ui-btn,
html[data-eh-mobile-theme="clean"] #eh-content-right .list-header-under .ui-btn,html[data-eh-mobile-theme="bloom"] #eh-content-right .list-header-under .ui-btn{background:var(--ehm-soft)!important;border-color:var(--ehm-border)!important;color:var(--ehm-text)!important;text-shadow:none!important}
html[data-eh-mobile-theme="clean"] #eh-content-right .ui-btn-active,html[data-eh-mobile-theme="bloom"] #eh-content-right .ui-btn-active{background:var(--ehm-active)!important;border-color:var(--ehm-strong)!important;color:var(--ehm-strong)!important;text-shadow:none!important}
html[data-eh-mobile-theme="clean"] #eh-content-right .ui-listview .list-img,html[data-eh-mobile-theme="bloom"] #eh-content-right .ui-listview .list-img{border-color:var(--ehm-border)!important}
html[data-eh-mobile-theme="clean"] #mymenu,html[data-eh-mobile-theme="bloom"] #mymenu,
html[data-eh-mobile-theme="clean"] #mymenu .ui-panel-inner,html[data-eh-mobile-theme="bloom"] #mymenu .ui-panel-inner{background:var(--ehm-bg)!important;color:var(--ehm-text)!important}
html[data-eh-mobile-theme="clean"] #mymenu .ui-listview .ui-btn,html[data-eh-mobile-theme="bloom"] #mymenu .ui-listview .ui-btn{background:var(--ehm-panel)!important;border-color:var(--ehm-border)!important;color:var(--ehm-text)!important;text-shadow:none!important}
html[data-eh-mobile-theme="clean"] #mymenu .ui-listview > li.ui-li-divider,html[data-eh-mobile-theme="bloom"] #mymenu .ui-listview > li.ui-li-divider,
html[data-eh-mobile-theme="clean"] #mymenu .ui-listview > li.ui-li-divider > a.ui-btn,html[data-eh-mobile-theme="bloom"] #mymenu .ui-listview > li.ui-li-divider > a.ui-btn{background:var(--ehm-strong)!important;border-color:var(--ehm-strong)!important;color:#fff!important;text-shadow:none!important}
html[data-eh-mobile-theme="clean"] #mysearch,html[data-eh-mobile-theme="bloom"] #mysearch,
html[data-eh-mobile-theme="clean"] #mysearch .ui-content,html[data-eh-mobile-theme="bloom"] #mysearch .ui-content{background:var(--ehm-panel)!important;color:var(--ehm-text)!important}
html[data-eh-mobile-theme="clean"] #mysearch .eh-search-heading,html[data-eh-mobile-theme="bloom"] #mysearch .eh-search-heading{background:var(--ehm-soft)!important;border-color:var(--ehm-border)!important}
html[data-eh-mobile-theme="clean"] #mysearch .eh-search-heading__title,html[data-eh-mobile-theme="bloom"] #mysearch .eh-search-heading__title{color:var(--ehm-strong)!important}
html[data-eh-mobile-theme="clean"] #mysearch input,html[data-eh-mobile-theme="bloom"] #mysearch input,
html[data-eh-mobile-theme="clean"] #mysearch select,html[data-eh-mobile-theme="bloom"] #mysearch select{border-color:var(--ehm-border)!important;color:var(--ehm-text)!important}
html[data-eh-mobile-theme="clean"] #eh-content-right a:not(.ui-btn),html[data-eh-mobile-theme="bloom"] #eh-content-right a:not(.ui-btn){color:var(--ehm-strong)}
