/* Only the classic adapter depends on legacy selectors. New templates own their view components. */
.frontend-customized { --frontend-accent: #c87ef5; --frontend-background: #98abf8; }
html:not(.h5-main-tab) .h5-first-frame__tabbar { display: none; }
.frontend-custom-background.h5-main-tab body,
.frontend-custom-background.h5-main-tab uni-page-body { background-color: var(--frontend-background) !important; }
.frontend-custom-background.h5-home uni-page .bg { background: linear-gradient(180deg, var(--frontend-background) 0, #f8f5ff 72vw, #faf8ff 100%) !important; }
.frontend-custom-background.h5-main-tab .h5-first-frame__page { background: linear-gradient(180deg, var(--frontend-background) 0, #faf8ff 100%); }
.frontend-customized .u-tabbar-item[data-frontend-active="1"] .u-tabbar-item__text { color: var(--frontend-accent) !important; }
.frontend-customized .u-tabbar-item__text { white-space: normal !important; overflow-wrap: anywhere; text-align: center; line-height: 16px !important; }
.frontend-customized uni-page .index-title { overflow-wrap: anywhere; white-space: normal; line-height: 1.35; }
.frontend-customized uni-image[data-frontend-icon="1"] > div { background-image: var(--frontend-icon) !important; background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important; }
.frontend-customized uni-image[data-frontend-icon="1"] > img { opacity: 0 !important; }
.frontend-hide-banner.h5-home uni-page .swipwrap,
.frontend-hide-banner.h5-home .h5-first-frame__banner,
.frontend-hide-ticker.h5-home uni-page .giftwrap,
.frontend-hide-ticker.h5-home .h5-first-frame__ticker,
.frontend-hide-popular.h5-home uni-page .renqiw,
.frontend-hide-popular.h5-home .h5-first-frame__avatars,
.frontend-hide-popular.h5-home .h5-first-frame__popular-title { display: none !important; }
.frontend-preview-readonly .frontend-preview-badge { position: fixed; z-index: 2147483646; top: 8px; right: 8px; max-width: calc(100% - 16px); border-radius: 18px; padding: 5px 10px; background: rgba(35,30,55,.86); color: #fff; font: 11px/16px sans-serif; pointer-events: none; }
