/* Shell isolation and Vant native teleport sizing. Component styling stays in the source declarations above. */
.source-community{height:100%;min-height:0;color:var(--theme-text-color);font-family:"Helvetica Neue",Helvetica,Arial;--un-translate-x:0;--un-translate-y:0;--un-rotate:0;--un-scale-x:1;--un-scale-y:1;--theme-max-width:calc(var(--source-rem)*10)}
.source-community :is(button,input,textarea,select){font-family:inherit;letter-spacing:normal;outline-offset:0}
.source-community :is(h1,h2,h3,p){letter-spacing:normal}
.source-community [hidden]{display:none!important}
.source-community button{min-width:0;min-height:0}
.source-community .community-search-input{padding:0;border-radius:0;box-shadow:none}
.source-community .community-search-input:focus{outline:0}
.source-community .post-detail-back,.source-community .user-profile-back{padding:0;line-height:1;background:none;border:0;color:inherit}
.source-community .user-profile-back{color:#fff}
.source-community-gift{position:fixed;top:auto;bottom:0;left:50%;right:auto;transform:translateX(-50%);margin:0;padding:0;border:0;width:var(--theme-max-width);max-width:100vw;max-height:50vh;height:auto;background:var(--theme-nav-bg-color);border-radius:16px 16px 0 0;overflow:hidden;color:var(--theme-text-color)}
.source-community-gift::backdrop{background:var(--van-overlay-background,rgba(0,0,0,.7))}
.source-community .release-dynamic-source{position:relative;min-height:100vh}
.source-community .ql-editor{outline:0}
.source-community .van-uploader__upload{cursor:pointer}
.source-community .source-community-mine{height:100vh}

html[data-layout=source] [data-page=community-hub]>.main{padding:0!important;min-height:0;height:100dvh;overflow:hidden;flex:1}
.source-community-confirm{position:fixed;top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);padding:0;border:0;margin:0;height:auto;width:320px;max-width:calc(100vw - 32px);border-radius:var(--van-dialog-radius);background:var(--van-dialog-background);overflow:hidden}
.source-community-confirm::backdrop{background:var(--van-overlay-background)}
/* Source app preflight is 12px/1.5 at the source 37.5px baseline; native controls use normalize.css sans-serif/1.15. */
.source-community{font-size:calc(var(--source-rem)*.32);line-height:1.5}
.source-community :is(button,input,textarea,select){font-family:sans-serif;line-height:1.15}

html[data-layout=source] [data-page=community-hub]>.source-community-video-header{padding:4px 0 0;flex-shrink:0}
html[data-layout=source] [data-page=community-hub]>.main>.media-page:has(>.source-community){height:100%;padding:0;min-height:0;overflow:hidden}
.source-community .van-field__control{font:inherit;padding:0;border:0;border-radius:0;background:none}
/* Source Uno preflight supplies a solid zero-width border before utility width/color rules. */
.source-community *{border-style:solid;border-width:0;border-color:var(--un-default-border-color,#e5e7eb)}
.source-community .van-field__control{font-family:sans-serif}
.source-community-live-comment{position:fixed;top:auto;bottom:0;left:50%;right:auto;transform:translateX(-50%);margin:0;width:var(--theme-max-width);max-width:100vw;height:auto;padding:16px;border:0;border-radius:0;background:var(--van-popup-background)}
.source-community-live-comment::backdrop{background:var(--van-overlay-background)}
.source-community .post-detail-video-player>video{display:block;width:100%;max-width:100%;height:auto}
.source-community-preview{height:auto}
.source-community-preview .pswp__zoom-wrap{width:100vw;height:100vh}
.source-community-preview .pswp__item{width:100vw;height:100vh}
.source-community-preview .pswp__img{position:absolute;max-width:none;object-fit:contain}

/* Original normalize layer includes span{line-height:normal}. */
.source-community span{line-height:normal}
