.community-banner-strip{display:none!important}
.community-header-bar{margin-top:0!important;padding-top:calc(.55rem + env(safe-area-inset-top,0px))!important}
#communityInviteBackdrop{z-index:7200}
.ci-flags{padding-top:1.2rem}
.ci-invite-row{padding:1.1rem 1.2rem 0}
.ci-invite-circle{width:3.4rem;height:3.4rem;border-radius:50%;background:transparent;border:1.5px solid rgba(255,255,255,.38);color:rgba(255,255,255,.75);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.ci-invite-circle svg{width:1.4rem;height:1.4rem}
.ci-invite-circle:active{background:rgba(255,255,255,.08)}
.ci-leave{display:block;margin:1.4rem 1.2rem 0;width:calc(100% - 2.4rem);padding:.8rem;border-radius:12px;border:1px solid rgba(248,113,113,.5);background:rgba(248,113,113,.1);color:#fca5a5;font:inherit;font-weight:600;cursor:pointer}
.bottom-nav{bottom:calc(.35rem + env(safe-area-inset-bottom,0px))!important;padding:.3rem .3rem!important}
.bottom-nav button{padding:.2rem .5rem;gap:.12rem;font-size:.58rem}
.bottom-nav button .nav-icon{width:26px;height:26px}
.bottom-nav-fab{width:2.3rem!important;height:2.3rem!important;margin-top:-.9rem!important}
.bottom-nav-fab .nav-icon{width:2.3rem!important;height:2.3rem!important}
.app-content{padding-bottom:5.4rem}
html[data-style="nebula"] .bottom-nav{height:52px!important;bottom:calc(env(safe-area-inset-bottom,0px) + 4px)!important}
html[data-style="nebula"] .bottom-nav .bottom-nav-fab{width:62px!important;height:62px!important;margin-top:-14px!important}

/* Imágenes dentro del texto de anuncios/informativas: completas, sin recortar */
.info-post-body .info-inline-img,
#panel-thread .info-post-body .attach-image.info-inline-img{width:100%;height:auto;max-height:none;aspect-ratio:auto}
.info-post-body .info-inline-img img,
#panel-thread .info-post-body .attach-image.info-inline-img img{width:100%;height:auto;max-height:none;object-fit:contain}
.info-post-body .info-inline-img:hover img{transform:none}

.terms-check{display:flex;align-items:flex-start;gap:.6rem;margin:.2rem 0 1rem;font-size:.78rem;line-height:1.45;color:var(--ash);cursor:pointer}
.terms-check input{flex:none;width:1.05rem;height:1.05rem;margin-top:.12rem;accent-color:var(--ember)}
.terms-check a{color:var(--ember);text-decoration:underline;text-underline-offset:2px}

#communityDetail .community-shell .community-fixed-top,
#communityDetail .community-shell .community-header,
#communityDetail .community-shell .community-header-bar{background:transparent!important;border-bottom:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#communityDetail .community-shell .community-header .community-header-bar{margin-top:0!important;padding-top:calc(1.15rem + env(safe-area-inset-top,0px))!important}

#communityInviteBackdrop,#communityInviteBackdrop.modal-backdrop{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:rgba(6,4,12,.86)!important}
#communityInviteBackdrop .modal{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:linear-gradient(165deg,#1d1030,#0d0817)!important;display:flex;flex-direction:column;height:min(82dvh,36rem);max-height:none;overflow:hidden;padding:1.2rem 1.2rem 0}
#communityInviteBackdrop .modal-head{flex:none}
#communityInviteBody{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:1.2rem}
#communityInviteBody .dm-card{transition:none;transform:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

html[data-style="nebula"] .app-topbar #notifBadge,.app-topbar #notifBadge{min-width:17px!important;width:auto!important;height:17px!important;padding:0 4px!important;font-size:.64rem!important;font-weight:700;line-height:17px;color:#fff!important;top:-2px!important;right:-3px!important;border-radius:999px!important;text-align:center}
.bottom-nav button[data-action="home"]{position:relative}
.bn-dot{display:none;position:absolute;top:4px;left:calc(50% + 8px);width:10px;height:10px;border-radius:50%;background:#a855f7;box-shadow:0 0 8px #a855f7;border:2px solid #0a0713;pointer-events:none}
.bottom-nav button.bn-new .bn-dot{display:block}

.native-app #settingsModal .modal-head,.native-app #adminModal .modal-head,.native-app #volunteerModal .modal-head{padding-top:calc(.9rem + max(env(safe-area-inset-top,0px),26px))!important}
.native-app #communityDetail .community-shell .community-header .community-header-bar{padding-top:calc(1.15rem + max(env(safe-area-inset-top,0px),26px))!important}

.rl-root{--rl-nav:0px}.native-app .rl-root{--rl-nav:48px}
.rl-bar{left:10px!important;right:10px!important;bottom:calc(max(env(safe-area-inset-bottom,0px),var(--rl-nav)) + 6px)!important;height:22px!important;background:linear-gradient(rgba(255,255,255,.28),rgba(255,255,255,.28)) center/100% 3px no-repeat!important;touch-action:none;cursor:pointer}
.rl-bar i{position:absolute;left:0;top:50%;height:3px!important;margin-top:-1.5px;border-radius:2px}
.rl-bar.rl-scrub i{height:6px!important;margin-top:-3px}
.rl-tip{display:none;position:absolute;left:50%;bottom:26px;transform:translateX(-50%);background:rgba(0,0,0,.72);color:#fff;font:600 12px 'Outfit',sans-serif;padding:3px 8px;border-radius:8px;white-space:nowrap}
.rl-bar.rl-scrub .rl-tip{display:block}
.rl-info{bottom:calc(max(env(safe-area-inset-bottom,0px),var(--rl-nav)) + 36px)!important}
.rl-rail{bottom:calc(max(env(safe-area-inset-bottom,0px),var(--rl-nav)) + 110px)!important}
.app-topbar{position:relative!important}

.native-app :is(#communitySettingsBackdrop,#announcementBackdrop,#volunteerBackdrop,#storeCreateBackdrop,#groupCreateBackdrop,#circleCreateBackdrop,#pollCreateBackdrop,#createCommunityBackdrop,#chatBgBackdrop,#bgPickerBackdrop,#rpCharacterBackdrop) .modal-head{padding-top:calc(.9rem + max(env(safe-area-inset-top,0px),26px))!important}
.compose-opt input[type=file]{max-width:55%;min-width:0;overflow:hidden;text-overflow:ellipsis}
.compose-opt-name{min-width:0}

.rp-char-row-new{width:100%;background:none;border:0;border-bottom:1px solid rgba(255,255,255,.06);text-align:left;cursor:pointer;color:#d8c8ff;font:inherit}
.rp-char-row-new .rp-char-row-name{color:#d8c8ff;font-weight:600}
.rp-hex-mini,.rp-hex-pick{position:relative;display:grid;place-items:center;flex:none;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:rgba(168,85,247,.6)}
.rp-hex-mini{width:2rem;height:2.2rem}
.rp-hex-mini:before,.rp-hex-pick:before{content:"";position:absolute;inset:2px;clip-path:inherit;background:#12101c}
.rp-hex-mini b,.rp-hex-pick .rp-hex-plus{position:relative;color:#d8c8ff;font-size:1.1rem;font-weight:700;line-height:1}
.rp-hex-pick{width:7rem;height:7.8rem;margin:.4rem auto 1.1rem;cursor:pointer;background-size:cover;background-position:center}
.rp-hex-pick .rp-hex-plus{font-size:2.4rem}
.rp-hex-pick.has-img:before{background:transparent}
.rp-hex-pick.has-img{background-color:rgba(168,85,247,.6)}
.rp-hex-pick.has-img .rp-hex-plus{display:none}
